WooCommerce Stripe Payment Gateway - Version 6.0.0

Version Description

  • 2022-01-05 =
  • Fix - Fixed capitalization for payment method names: iDEAL, giropay, and Sofort.
  • Add - Text to explain how to enable webhooks when manually entering your API keys in the new Stripe settings.
  • Tweak - Redirect to the settings tab after an account is connected
  • Tweak - Prompt message when navigating out Stripe settings with unsaved changes
  • Tweak - Show toast when payment methods list is updated with new payment methods.
  • Fix - JS error on checkout when Boleto method was not active
  • Fix - Fixed bug that show "Use new payment method" on pay order page when there were no saved card was.
  • Tweak - Autocomplete for account keys and webhooks fields were disabled.
  • Fix - The settings page is not reloaded when the user enters invalid account keys.

See changelog for all versions.

Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Stripe Payment Gateway
Version 6.0.0
Comparing to
See all releases

Code changes from version 5.9.0 to 6.0.0

assets/js/stripe.js CHANGED
@@ -267,6 +267,10 @@ jQuery( function( $ ) {
267
 
268
  //Mask CPF/CNPJ field when using Boleto
269
  $( document ).on( 'change', '.wc_payment_methods', function () {
 
 
 
 
270
  var TaxIdMaskBehavior = function ( val ) {
271
  return val.replace( /\D/g, '' ).length >= 12 ? '00.000.000/0000-00' : '000.000.000-009999';
272
  },
@@ -325,7 +329,7 @@ jQuery( function( $ ) {
325
  },
326
 
327
  /**
328
- * Check if Stripe Giropay is being used.
329
  *
330
  * @return {boolean}
331
  */
@@ -334,7 +338,7 @@ jQuery( function( $ ) {
334
  },
335
 
336
  /**
337
- * Check if Stripe iDeal is being used.
338
  *
339
  * @return {boolean}
340
  */
@@ -343,7 +347,7 @@ jQuery( function( $ ) {
343
  },
344
 
345
  /**
346
- * Check if Stripe SOFORT is being used.
347
  *
348
  * @return {boolean}
349
  */
267
 
268
  //Mask CPF/CNPJ field when using Boleto
269
  $( document ).on( 'change', '.wc_payment_methods', function () {
270
+ if ( ! $( '#stripe_boleto_tax_id' ).length ) {
271
+ return;
272
+ }
273
+
274
  var TaxIdMaskBehavior = function ( val ) {
275
  return val.replace( /\D/g, '' ).length >= 12 ? '00.000.000/0000-00' : '000.000.000-009999';
276
  },
329
  },
330
 
331
  /**
332
+ * Check if Stripe giropay is being used.
333
  *
334
  * @return {boolean}
335
  */
338
  },
339
 
340
  /**
341
+ * Check if Stripe iDEAL is being used.
342
  *
343
  * @return {boolean}
344
  */
347
  },
348
 
349
  /**
350
+ * Check if Stripe Sofort is being used.
351
  *
352
  * @return {boolean}
353
  */
assets/js/stripe.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(i){"use strict";try{var n=Stripe(wc_stripe_params.key,{locale:wc_stripe_params.stripe_locale||"auto"})}catch(e){return void console.log(e)}var t,o,s,e=Object.keys(wc_stripe_params.elements_options).length?wc_stripe_params.elements_options:{},r=Object.keys(wc_stripe_params.sepa_elements_options).length?wc_stripe_params.sepa_elements_options:{},a=n.elements(e),c=a.create("iban",r),m={getAjaxURL:function(e){return wc_stripe_params.ajaxurl.toString().replace("%%endpoint%%","wc_stripe_"+e)},unmountElements:function(){"yes"===wc_stripe_params.inline_cc_form?t.unmount("#stripe-card-element"):(t.unmount("#stripe-card-element"),o.unmount("#stripe-exp-element"),s.unmount("#stripe-cvc-element"))},mountElements:function(){i("#stripe-card-element").length&&("yes"!==wc_stripe_params.inline_cc_form?(t.mount("#stripe-card-element"),o.mount("#stripe-exp-element"),s.mount("#stripe-cvc-element")):t.mount("#stripe-card-element"))},createElements:function(){var e={base:{iconColor:"#666EE8",color:"#31325F",fontSize:"15px","::placeholder":{color:"#CFD7E0"}}},r={focus:"focused",empty:"empty",invalid:"invalid"},e=wc_stripe_params.elements_styling||e,r=wc_stripe_params.elements_classes||r;"yes"===wc_stripe_params.inline_cc_form?(t=a.create("card",{style:e,hidePostalCode:!0})).addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)}):(t=a.create("cardNumber",{style:e,classes:r}),o=a.create("cardExpiry",{style:e,classes:r}),s=a.create("cardCvc",{style:e,classes:r}),t.addEventListener("change",function(e){m.onCCFormChange(),m.updateCardBrand(e.brand),e.error&&i(document.body).trigger("stripeError",e)}),o.addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)}),s.addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)})),"yes"===wc_stripe_params.is_checkout?i(document.body).on("updated_checkout",function(){i("#stripe-card-element").children().length||(t&&m.unmountElements(),m.mountElements(),i("#stripe-iban-element").length&&c.mount("#stripe-iban-element"))}):(i("form#add_payment_method").length||i("form#order_review").length)&&(m.mountElements(),i("#stripe-iban-element").length&&c.mount("#stripe-iban-element"))},updateCardBrand:function(e){var r={visa:"stripe-visa-brand",mastercard:"stripe-mastercard-brand",amex:"stripe-amex-brand",discover:"stripe-discover-brand",diners:"stripe-diners-brand",jcb:"stripe-jcb-brand",unknown:"stripe-credit-card-brand"},t=i(".stripe-card-brand"),e=e in r?r[e]:"stripe-credit-card-brand";i.each(r,function(e,r){t.removeClass(r)}),t.addClass(e)},init:function(){"yes"!==wc_stripe_params.is_change_payment_page&&"yes"!==wc_stripe_params.is_pay_for_order_page||i(document.body).trigger("wc-credit-card-form-init"),i("form.woocommerce-checkout").length&&(this.form=i("form.woocommerce-checkout")),i("form.woocommerce-checkout").on("checkout_place_order_stripe checkout_place_order_stripe_bancontact checkout_place_order_stripe_sofort checkout_place_order_stripe_giropay checkout_place_order_stripe_ideal checkout_place_order_stripe_alipay checkout_place_order_stripe_sepa checkout_place_order_stripe_boleto checkout_place_order_stripe_oxxo",this.onSubmit),i("form#order_review").length&&(this.form=i("form#order_review")),i("form#order_review, form#add_payment_method").on("submit",this.onSubmit),i("form#add_payment_method").length&&(this.form=i("form#add_payment_method")),i("form.woocommerce-checkout").on("change",this.reset),i(document).on("stripeError",this.onError).on("checkout_error",this.reset),c.on("change",this.onSepaError),(i("#early_renewal_modal_submit[data-payment-method]").length?i("#early_renewal_modal_submit[data-payment-method=stripe]"):i("#early_renewal_modal_submit")).on("click",this.onEarlyRenewalSubmit),m.createElements(),window.addEventListener("hashchange",m.onHashChange),m.maybeConfirmIntent(),i(document).on("change",".wc_payment_methods",function(){function n(e){return 12<=e.replace(/\D/g,"").length?"00.000.000/0000-00":"000.000.000-009999"}var e={onKeyPress:function(e,r,t,o){t.mask(n.apply({},arguments),o)}};i("#stripe_boleto_tax_id").mask(n,e)})},isStripeChosen:function(){return i("#payment_method_stripe, #payment_method_stripe_bancontact, #payment_method_stripe_sofort, #payment_method_stripe_giropay, #payment_method_stripe_ideal, #payment_method_stripe_alipay, #payment_method_stripe_sepa, #payment_method_stripe_eps, #payment_method_stripe_multibanco, #payment_method_stripe_boleto, #payment_method_stripe_oxxo").is(":checked")||i("#payment_method_stripe").is(":checked")&&"new"===i('input[name="wc-stripe-payment-token"]:checked').val()||i("#payment_method_stripe_sepa").is(":checked")&&"new"===i('input[name="wc-stripe-payment-token"]:checked').val()},isStripeSaveCardChosen:function(){return i("#payment_method_stripe").is(":checked")&&i('input[name="wc-stripe-payment-token"]').is(":checked")&&"new"!==i('input[name="wc-stripe-payment-token"]:checked').val()||i("#payment_method_stripe_sepa").is(":checked")&&i('input[name="wc-stripe_sepa-payment-token"]').is(":checked")&&"new"!==i('input[name="wc-stripe_sepa-payment-token"]:checked').val()},isStripeCardChosen:function(){return i("#payment_method_stripe").is(":checked")},isBancontactChosen:function(){return i("#payment_method_stripe_bancontact").is(":checked")},isGiropayChosen:function(){return i("#payment_method_stripe_giropay").is(":checked")},isIdealChosen:function(){return i("#payment_method_stripe_ideal").is(":checked")},isSofortChosen:function(){return i("#payment_method_stripe_sofort").is(":checked")},isAlipayChosen:function(){return i("#payment_method_stripe_alipay").is(":checked")},isSepaChosen:function(){return i("#payment_method_stripe_sepa").is(":checked")},isP24Chosen:function(){return i("#payment_method_stripe_p24").is(":checked")},isEpsChosen:function(){return i("#payment_method_stripe_eps").is(":checked")},isMultibancoChosen:function(){return i("#payment_method_stripe_multibanco").is(":checked")},isBoletoChosen:function(){return i("#payment_method_stripe_boleto").is(":checked")},isOxxoChosen:function(){return i("#payment_method_stripe_oxxo").is(":checked")},hasSource:function(){return 0<i("input.stripe-source").length},isMobile:function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},block:function(){m.isMobile()||m.form.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){m.form&&m.form.unblock()},getSelectedPaymentElement:function(){return i('.payment_methods input[name="payment_method"]:checked')},getOwnerDetails:function(){var e=i("#billing_first_name").length?i("#billing_first_name").val():wc_stripe_params.billing_first_name,r=i("#billing_last_name").length?i("#billing_last_name").val():wc_stripe_params.billing_last_name,t={name:"",address:{},email:"",phone:""};return t.name=e,t.name=e&&r?e+" "+r:i("#stripe-payment-data").data("full-name"),t.email=i("#billing_email").val(),t.phone=i("#billing_phone").val(),(void 0===t.phone||t.phone.length<=0)&&delete t.phone,(void 0===t.email||t.email.length<=0)&&(i("#stripe-payment-data").data("email").length?t.email=i("#stripe-payment-data").data("email"):delete t.email),(void 0===t.name||t.name.length<=0)&&delete t.name,t.address.line1=i("#billing_address_1").val()||wc_stripe_params.billing_address_1,t.address.line2=i("#billing_address_2").val()||wc_stripe_params.billing_address_2,t.address.state=i("#billing_state").val()||wc_stripe_params.billing_state,t.address.city=i("#billing_city").val()||wc_stripe_params.billing_city,t.address.postal_code=i("#billing_postcode").val()||wc_stripe_params.billing_postcode,t.address.country=i("#billing_country").val()||wc_stripe_params.billing_country,{owner:t}},createSource:function(){var e=m.getOwnerDetails();return m.isSepaChosen()?(e.currency=i("#stripe-sepa_debit-payment-data").data("currency"),e.mandate={notification_method:wc_stripe_params.sepa_mandate_notification},e.type="sepa_debit",n.createSource(c,e).then(m.sourceResponse)):n.createSource(t,e).then(m.sourceResponse)},sourceResponse:function(e){e.error?i(document.body).trigger("stripeError",e):(m.reset(),m.form.append(i('<input type="hidden" />').addClass("stripe-source").attr("name","stripe_source").val(e.source.id)),i("form#add_payment_method").length||i("#wc-stripe-change-payment-method").length?m.sourceSetup(e):m.form.trigger("submit"))},sourceSetup:function(r){var e={error:{type:"api_connection_error"}};i.post({url:m.getAjaxURL("create_setup_intent"),dataType:"json",data:{stripe_source_id:r.source.id,nonce:wc_stripe_params.add_card_nonce},error:function(){i(document.body).trigger("stripeError",e)}}).done(function(e){return"success"===e.status?(i("form#add_payment_method").length&&i(m.form).off("submit",m.form.onSubmit),void m.form.trigger("submit")):void("requires_action"===e.status?n.confirmCardSetup(e.client_secret,{payment_method:r.source.id}).then(function(e){e.error?i(document.body).trigger("stripeError",e):(i("form#add_payment_method").length&&i(m.form).off("submit",m.form.onSubmit),m.form.trigger("submit"))}).catch(function(e){console.log(e),i(document.body).trigger("stripeError",{error:e})}):i(document.body).trigger("stripeError",e))})},onSubmit:function(){if(!m.isStripeChosen())return!0;if(m.isStripeSaveCardChosen()||m.hasSource())return!0;if(m.isBancontactChosen()||m.isGiropayChosen()||m.isIdealChosen()||m.isAlipayChosen()||m.isSofortChosen()||m.isP24Chosen()||m.isEpsChosen()||m.isMultibancoChosen())return!0;if(m.block(),m.isBoletoChosen()){if(!i("#stripe_boleto_tax_id").val())return m.submitError(wc_stripe_params.cpf_cnpj_required_msg),m.unblock(),!1;m.handleBoleto()}else m.isOxxoChosen()?m.handleOxxo():m.createSource();return!1},handleBoleto:function(){m.executeCheckout("boleto",function(r){n.confirmBoletoPayment(r.client_secret,r.confirm_payment_data).then(function(e){m.handleConfirmResponse(r,e)})})},executeCheckout:function(e,r){const t=m.form.serializeArray().reduce((e,r)=>(e[r.name]=r.value,e),{});"order_review"===m.form.attr("id")?(t._ajax_nonce=wc_stripe_params.updatePaymentIntentNonce,t.order_id=wc_stripe_params.orderId,i.ajax({url:m.getAjaxURL(e+"_update_payment_intent"),type:"POST",data:t,success:function(e){if("success"!==e.result)return m.submitError(e.messages),void m.unblock();r(e)}})):i.ajax({url:wc_stripe_params.checkout_url,type:"POST",data:t,success:function(e){if("success"!==e.result)return m.submitError(e.messages,!0),void m.unblock();r(e)}})},handleConfirmResponse:function(e,r){r.error?i(document.body).trigger("stripeError",r):-1===e.redirect.indexOf("https://")||-1===e.redirect.indexOf("http://")?window.location=e.redirect:window.location=decodeURI(e.redirect)},handleOxxo:function(){m.executeCheckout("oxxo",function(r){n.confirmOxxoPayment(r.client_secret,r.confirm_payment_data).then(function(e){m.handleConfirmResponse(r,e)})})},onCCFormChange:function(){m.reset()},reset:function(){i(".wc-stripe-error, .stripe-source").remove()},onSepaError:function(e){var r=m.getSelectedPaymentElement().parents("li").eq(0).find(".stripe-source-errors");e.error?(console.log(e.error.message),i(r).html('<ul class="woocommerce_error woocommerce-error wc-stripe-error"><li /></ul>'),i(r).find("li").text(e.error.message)):i(r).html("")},onError:function(e,r){var t=r.error.message,o=m.getSelectedPaymentElement().closest("li"),n=o.find(".woocommerce-SavedPaymentMethods-tokenInput");o=i("body").hasClass("woocommerce-stripe-prb-clicked")?(i("body").removeClass("woocommerce-stripe-prb-clicked"),i("div.woocommerce-notices-wrapper").first()):n.length?(n=n.filter(":checked")).closest(".woocommerce-SavedPaymentMethods-new").length?i("#wc-stripe-cc-form .stripe-source-errors"):n.closest("li").find(".stripe-source-errors"):o.find(".stripe-source-errors"),m.isSepaChosen()&&"invalid_owner_name"===r.error.code&&wc_stripe_params.hasOwnProperty(r.error.code)?m.submitError(wc_stripe_params[r.error.code]):("email_invalid"===r.error.code?t=wc_stripe_params.email_invalid:"invalid_request_error"!==r.error.type&&"api_connection_error"!==r.error.type&&"api_error"!==r.error.type&&"authentication_error"!==r.error.type&&"rate_limit_error"!==r.error.type||(t=wc_stripe_params.invalid_request_error),wc_stripe_params.hasOwnProperty(r.error.code)&&(t=wc_stripe_params[r.error.code]),m.reset(),i(".woocommerce-NoticeGroup-checkout").remove(),console.log(r.error.message),i(o).html('<ul class="woocommerce_error woocommerce-error wc-stripe-error"><li /></ul>'),i(o).find("li").text(t),i(".wc-stripe-error").length&&i("html, body").animate({scrollTop:i(".wc-stripe-error").offset().top-200},200),m.unblock(),i.unblockUI())},submitError:function(e,r=!1){r||((r=i('<div><ul class="woocommerce-error"><li /></ul></div>')).find("li").text(e),e=r.html()),i(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),m.form.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+e+"</div>"),m.form.removeClass("processing").unblock(),m.form.find(".input-text, select, input:checkbox").trigger("blur");e="";i("#add_payment_method").length&&(e=i("#add_payment_method")),i("#order_review").length&&(e=i("#order_review")),(e=i("form.checkout").length?i("form.checkout"):e).length&&i("html, body").animate({scrollTop:e.offset().top-100},500),i(document.body).trigger("checkout_error"),m.unblock()},onHashChange:function(){var e,r,t=window.location.hash.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);!t||t.length<4||(e=t[1],r=t[2],t=decodeURIComponent(t[3]),window.location.hash="",m.openIntentModal(r,t,!1,"si"===e))},maybeConfirmIntent:function(){var e,r;i("#stripe-intent-id").length&&i("#stripe-intent-return").length&&(e=i("#stripe-intent-id").val(),r=i("#stripe-intent-return").val(),m.openIntentModal(e,r,!0,!1))},openIntentModal:function(e,r,t,o){n[o?"handleCardSetup":"handleCardPayment"](e).then(function(e){if(e.error)throw e.error;e=e[o?"setupIntent":"paymentIntent"];"requires_capture"!==e.status&&"succeeded"!==e.status||(window.location=r)}).catch(function(e){t?window.location=r:(i(document.body).trigger("stripeError",{error:e}),m.form&&m.form.removeClass("processing"),i.get(r+"&is_ajax"))})},onEarlyRenewalSubmit:function(e){return e.preventDefault(),i.ajax({url:i("#early_renewal_modal_submit").attr("href"),method:"get",success:function(e){e=JSON.parse(e);e.stripe_sca_required?m.openIntentModal(e.intent_secret,e.redirect_url,!0,!1):window.location=e.redirect_url}}),!1}};m.init()});
1
+ jQuery(function(i){"use strict";try{var n=Stripe(wc_stripe_params.key,{locale:wc_stripe_params.stripe_locale||"auto"})}catch(e){return void console.log(e)}var t,o,s,e=Object.keys(wc_stripe_params.elements_options).length?wc_stripe_params.elements_options:{},r=Object.keys(wc_stripe_params.sepa_elements_options).length?wc_stripe_params.sepa_elements_options:{},a=n.elements(e),c=a.create("iban",r),m={getAjaxURL:function(e){return wc_stripe_params.ajaxurl.toString().replace("%%endpoint%%","wc_stripe_"+e)},unmountElements:function(){"yes"===wc_stripe_params.inline_cc_form?t.unmount("#stripe-card-element"):(t.unmount("#stripe-card-element"),o.unmount("#stripe-exp-element"),s.unmount("#stripe-cvc-element"))},mountElements:function(){i("#stripe-card-element").length&&("yes"!==wc_stripe_params.inline_cc_form?(t.mount("#stripe-card-element"),o.mount("#stripe-exp-element"),s.mount("#stripe-cvc-element")):t.mount("#stripe-card-element"))},createElements:function(){var e={base:{iconColor:"#666EE8",color:"#31325F",fontSize:"15px","::placeholder":{color:"#CFD7E0"}}},r={focus:"focused",empty:"empty",invalid:"invalid"},e=wc_stripe_params.elements_styling||e,r=wc_stripe_params.elements_classes||r;"yes"===wc_stripe_params.inline_cc_form?(t=a.create("card",{style:e,hidePostalCode:!0})).addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)}):(t=a.create("cardNumber",{style:e,classes:r}),o=a.create("cardExpiry",{style:e,classes:r}),s=a.create("cardCvc",{style:e,classes:r}),t.addEventListener("change",function(e){m.onCCFormChange(),m.updateCardBrand(e.brand),e.error&&i(document.body).trigger("stripeError",e)}),o.addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)}),s.addEventListener("change",function(e){m.onCCFormChange(),e.error&&i(document.body).trigger("stripeError",e)})),"yes"===wc_stripe_params.is_checkout?i(document.body).on("updated_checkout",function(){i("#stripe-card-element").children().length||(t&&m.unmountElements(),m.mountElements(),i("#stripe-iban-element").length&&c.mount("#stripe-iban-element"))}):(i("form#add_payment_method").length||i("form#order_review").length)&&(m.mountElements(),i("#stripe-iban-element").length&&c.mount("#stripe-iban-element"))},updateCardBrand:function(e){var r={visa:"stripe-visa-brand",mastercard:"stripe-mastercard-brand",amex:"stripe-amex-brand",discover:"stripe-discover-brand",diners:"stripe-diners-brand",jcb:"stripe-jcb-brand",unknown:"stripe-credit-card-brand"},t=i(".stripe-card-brand"),e=e in r?r[e]:"stripe-credit-card-brand";i.each(r,function(e,r){t.removeClass(r)}),t.addClass(e)},init:function(){"yes"!==wc_stripe_params.is_change_payment_page&&"yes"!==wc_stripe_params.is_pay_for_order_page||i(document.body).trigger("wc-credit-card-form-init"),i("form.woocommerce-checkout").length&&(this.form=i("form.woocommerce-checkout")),i("form.woocommerce-checkout").on("checkout_place_order_stripe checkout_place_order_stripe_bancontact checkout_place_order_stripe_sofort checkout_place_order_stripe_giropay checkout_place_order_stripe_ideal checkout_place_order_stripe_alipay checkout_place_order_stripe_sepa checkout_place_order_stripe_boleto checkout_place_order_stripe_oxxo",this.onSubmit),i("form#order_review").length&&(this.form=i("form#order_review")),i("form#order_review, form#add_payment_method").on("submit",this.onSubmit),i("form#add_payment_method").length&&(this.form=i("form#add_payment_method")),i("form.woocommerce-checkout").on("change",this.reset),i(document).on("stripeError",this.onError).on("checkout_error",this.reset),c.on("change",this.onSepaError),(i("#early_renewal_modal_submit[data-payment-method]").length?i("#early_renewal_modal_submit[data-payment-method=stripe]"):i("#early_renewal_modal_submit")).on("click",this.onEarlyRenewalSubmit),m.createElements(),window.addEventListener("hashchange",m.onHashChange),m.maybeConfirmIntent(),i(document).on("change",".wc_payment_methods",function(){var n,e;i("#stripe_boleto_tax_id").length&&(n=function(e){return 12<=e.replace(/\D/g,"").length?"00.000.000/0000-00":"000.000.000-009999"},e={onKeyPress:function(e,r,t,o){t.mask(n.apply({},arguments),o)}},i("#stripe_boleto_tax_id").mask(n,e))})},isStripeChosen:function(){return i("#payment_method_stripe, #payment_method_stripe_bancontact, #payment_method_stripe_sofort, #payment_method_stripe_giropay, #payment_method_stripe_ideal, #payment_method_stripe_alipay, #payment_method_stripe_sepa, #payment_method_stripe_eps, #payment_method_stripe_multibanco, #payment_method_stripe_boleto, #payment_method_stripe_oxxo").is(":checked")||i("#payment_method_stripe").is(":checked")&&"new"===i('input[name="wc-stripe-payment-token"]:checked').val()||i("#payment_method_stripe_sepa").is(":checked")&&"new"===i('input[name="wc-stripe-payment-token"]:checked').val()},isStripeSaveCardChosen:function(){return i("#payment_method_stripe").is(":checked")&&i('input[name="wc-stripe-payment-token"]').is(":checked")&&"new"!==i('input[name="wc-stripe-payment-token"]:checked').val()||i("#payment_method_stripe_sepa").is(":checked")&&i('input[name="wc-stripe_sepa-payment-token"]').is(":checked")&&"new"!==i('input[name="wc-stripe_sepa-payment-token"]:checked').val()},isStripeCardChosen:function(){return i("#payment_method_stripe").is(":checked")},isBancontactChosen:function(){return i("#payment_method_stripe_bancontact").is(":checked")},isGiropayChosen:function(){return i("#payment_method_stripe_giropay").is(":checked")},isIdealChosen:function(){return i("#payment_method_stripe_ideal").is(":checked")},isSofortChosen:function(){return i("#payment_method_stripe_sofort").is(":checked")},isAlipayChosen:function(){return i("#payment_method_stripe_alipay").is(":checked")},isSepaChosen:function(){return i("#payment_method_stripe_sepa").is(":checked")},isP24Chosen:function(){return i("#payment_method_stripe_p24").is(":checked")},isEpsChosen:function(){return i("#payment_method_stripe_eps").is(":checked")},isMultibancoChosen:function(){return i("#payment_method_stripe_multibanco").is(":checked")},isBoletoChosen:function(){return i("#payment_method_stripe_boleto").is(":checked")},isOxxoChosen:function(){return i("#payment_method_stripe_oxxo").is(":checked")},hasSource:function(){return 0<i("input.stripe-source").length},isMobile:function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},block:function(){m.isMobile()||m.form.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){m.form&&m.form.unblock()},getSelectedPaymentElement:function(){return i('.payment_methods input[name="payment_method"]:checked')},getOwnerDetails:function(){var e=i("#billing_first_name").length?i("#billing_first_name").val():wc_stripe_params.billing_first_name,r=i("#billing_last_name").length?i("#billing_last_name").val():wc_stripe_params.billing_last_name,t={name:"",address:{},email:"",phone:""};return t.name=e,t.name=e&&r?e+" "+r:i("#stripe-payment-data").data("full-name"),t.email=i("#billing_email").val(),t.phone=i("#billing_phone").val(),(void 0===t.phone||t.phone.length<=0)&&delete t.phone,(void 0===t.email||t.email.length<=0)&&(i("#stripe-payment-data").data("email").length?t.email=i("#stripe-payment-data").data("email"):delete t.email),(void 0===t.name||t.name.length<=0)&&delete t.name,t.address.line1=i("#billing_address_1").val()||wc_stripe_params.billing_address_1,t.address.line2=i("#billing_address_2").val()||wc_stripe_params.billing_address_2,t.address.state=i("#billing_state").val()||wc_stripe_params.billing_state,t.address.city=i("#billing_city").val()||wc_stripe_params.billing_city,t.address.postal_code=i("#billing_postcode").val()||wc_stripe_params.billing_postcode,t.address.country=i("#billing_country").val()||wc_stripe_params.billing_country,{owner:t}},createSource:function(){var e=m.getOwnerDetails();return m.isSepaChosen()?(e.currency=i("#stripe-sepa_debit-payment-data").data("currency"),e.mandate={notification_method:wc_stripe_params.sepa_mandate_notification},e.type="sepa_debit",n.createSource(c,e).then(m.sourceResponse)):n.createSource(t,e).then(m.sourceResponse)},sourceResponse:function(e){e.error?i(document.body).trigger("stripeError",e):(m.reset(),m.form.append(i('<input type="hidden" />').addClass("stripe-source").attr("name","stripe_source").val(e.source.id)),i("form#add_payment_method").length||i("#wc-stripe-change-payment-method").length?m.sourceSetup(e):m.form.trigger("submit"))},sourceSetup:function(r){var e={error:{type:"api_connection_error"}};i.post({url:m.getAjaxURL("create_setup_intent"),dataType:"json",data:{stripe_source_id:r.source.id,nonce:wc_stripe_params.add_card_nonce},error:function(){i(document.body).trigger("stripeError",e)}}).done(function(e){return"success"===e.status?(i("form#add_payment_method").length&&i(m.form).off("submit",m.form.onSubmit),void m.form.trigger("submit")):void("requires_action"===e.status?n.confirmCardSetup(e.client_secret,{payment_method:r.source.id}).then(function(e){e.error?i(document.body).trigger("stripeError",e):(i("form#add_payment_method").length&&i(m.form).off("submit",m.form.onSubmit),m.form.trigger("submit"))}).catch(function(e){console.log(e),i(document.body).trigger("stripeError",{error:e})}):i(document.body).trigger("stripeError",e))})},onSubmit:function(){if(!m.isStripeChosen())return!0;if(m.isStripeSaveCardChosen()||m.hasSource())return!0;if(m.isBancontactChosen()||m.isGiropayChosen()||m.isIdealChosen()||m.isAlipayChosen()||m.isSofortChosen()||m.isP24Chosen()||m.isEpsChosen()||m.isMultibancoChosen())return!0;if(m.block(),m.isBoletoChosen()){if(!i("#stripe_boleto_tax_id").val())return m.submitError(wc_stripe_params.cpf_cnpj_required_msg),m.unblock(),!1;m.handleBoleto()}else m.isOxxoChosen()?m.handleOxxo():m.createSource();return!1},handleBoleto:function(){m.executeCheckout("boleto",function(r){n.confirmBoletoPayment(r.client_secret,r.confirm_payment_data).then(function(e){m.handleConfirmResponse(r,e)})})},executeCheckout:function(e,r){const t=m.form.serializeArray().reduce((e,r)=>(e[r.name]=r.value,e),{});"order_review"===m.form.attr("id")?(t._ajax_nonce=wc_stripe_params.updatePaymentIntentNonce,t.order_id=wc_stripe_params.orderId,i.ajax({url:m.getAjaxURL(e+"_update_payment_intent"),type:"POST",data:t,success:function(e){if("success"!==e.result)return m.submitError(e.messages),void m.unblock();r(e)}})):i.ajax({url:wc_stripe_params.checkout_url,type:"POST",data:t,success:function(e){if("success"!==e.result)return m.submitError(e.messages,!0),void m.unblock();r(e)}})},handleConfirmResponse:function(e,r){r.error?i(document.body).trigger("stripeError",r):-1===e.redirect.indexOf("https://")||-1===e.redirect.indexOf("http://")?window.location=e.redirect:window.location=decodeURI(e.redirect)},handleOxxo:function(){m.executeCheckout("oxxo",function(r){n.confirmOxxoPayment(r.client_secret,r.confirm_payment_data).then(function(e){m.handleConfirmResponse(r,e)})})},onCCFormChange:function(){m.reset()},reset:function(){i(".wc-stripe-error, .stripe-source").remove()},onSepaError:function(e){var r=m.getSelectedPaymentElement().parents("li").eq(0).find(".stripe-source-errors");e.error?(console.log(e.error.message),i(r).html('<ul class="woocommerce_error woocommerce-error wc-stripe-error"><li /></ul>'),i(r).find("li").text(e.error.message)):i(r).html("")},onError:function(e,r){var t=r.error.message,o=m.getSelectedPaymentElement().closest("li"),n=o.find(".woocommerce-SavedPaymentMethods-tokenInput");o=i("body").hasClass("woocommerce-stripe-prb-clicked")?(i("body").removeClass("woocommerce-stripe-prb-clicked"),i("div.woocommerce-notices-wrapper").first()):n.length?(n=n.filter(":checked")).closest(".woocommerce-SavedPaymentMethods-new").length?i("#wc-stripe-cc-form .stripe-source-errors"):n.closest("li").find(".stripe-source-errors"):o.find(".stripe-source-errors"),m.isSepaChosen()&&"invalid_owner_name"===r.error.code&&wc_stripe_params.hasOwnProperty(r.error.code)?m.submitError(wc_stripe_params[r.error.code]):("email_invalid"===r.error.code?t=wc_stripe_params.email_invalid:"invalid_request_error"!==r.error.type&&"api_connection_error"!==r.error.type&&"api_error"!==r.error.type&&"authentication_error"!==r.error.type&&"rate_limit_error"!==r.error.type||(t=wc_stripe_params.invalid_request_error),wc_stripe_params.hasOwnProperty(r.error.code)&&(t=wc_stripe_params[r.error.code]),m.reset(),i(".woocommerce-NoticeGroup-checkout").remove(),console.log(r.error.message),i(o).html('<ul class="woocommerce_error woocommerce-error wc-stripe-error"><li /></ul>'),i(o).find("li").text(t),i(".wc-stripe-error").length&&i("html, body").animate({scrollTop:i(".wc-stripe-error").offset().top-200},200),m.unblock(),i.unblockUI())},submitError:function(e,r=!1){r||((r=i('<div><ul class="woocommerce-error"><li /></ul></div>')).find("li").text(e),e=r.html()),i(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),m.form.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+e+"</div>"),m.form.removeClass("processing").unblock(),m.form.find(".input-text, select, input:checkbox").trigger("blur");e="";i("#add_payment_method").length&&(e=i("#add_payment_method")),i("#order_review").length&&(e=i("#order_review")),(e=i("form.checkout").length?i("form.checkout"):e).length&&i("html, body").animate({scrollTop:e.offset().top-100},500),i(document.body).trigger("checkout_error"),m.unblock()},onHashChange:function(){var e,r,t=window.location.hash.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);!t||t.length<4||(e=t[1],r=t[2],t=decodeURIComponent(t[3]),window.location.hash="",m.openIntentModal(r,t,!1,"si"===e))},maybeConfirmIntent:function(){var e,r;i("#stripe-intent-id").length&&i("#stripe-intent-return").length&&(e=i("#stripe-intent-id").val(),r=i("#stripe-intent-return").val(),m.openIntentModal(e,r,!0,!1))},openIntentModal:function(e,r,t,o){n[o?"handleCardSetup":"handleCardPayment"](e).then(function(e){if(e.error)throw e.error;e=e[o?"setupIntent":"paymentIntent"];"requires_capture"!==e.status&&"succeeded"!==e.status||(window.location=r)}).catch(function(e){t?window.location=r:(i(document.body).trigger("stripeError",{error:e}),m.form&&m.form.removeClass("processing"),i.get(r+"&is_ajax"))})},onEarlyRenewalSubmit:function(e){return e.preventDefault(),i.ajax({url:i("#early_renewal_modal_submit").attr("href"),method:"get",success:function(e){e=JSON.parse(e);e.stripe_sca_required?m.openIntentModal(e.intent_secret,e.redirect_url,!0,!1):window.location=e.redirect_url}}),!1}};m.init()});
build/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('jquery', 'react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '050923d77fd9ba7faa48ce702e542622');
1
+ <?php return array('dependencies' => array('jquery', 'react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '99ab9aed050bf46dd847d526f7d859e5');
build/index.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=278)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return a}));var r=n(117);const o=()=>{const e=Object(r.getSetting)("stripe_data",null);if(!e)throw new Error("Stripe initialization data is not available");return e},i=(e,t)=>{var n,r;const i={total:t.order_data.total,currency:t.order_data.currency,country:t.order_data.country_code,requestPayerName:!0,requestPayerEmail:!0,requestPayerPhone:null===(n=o())||void 0===n||null===(r=n.checkout)||void 0===r?void 0:r.needs_payer_phone,requestShipping:!!t.shipping_required,displayItems:t.order_data.displayItems};return"PR"===i.country&&(i.country="US"),e.paymentRequest(i)},c=(e,t)=>{const n={total:t.order_data.total,currency:t.order_data.currency,displayItems:t.order_data.displayItems};e.update(n)},a=()=>{var e;const t=null===(e=o())||void 0===e?void 0:e.key;if(!t)throw new Error("There is no api key available for stripe. Make sure it is available on the wc.stripe_data.stripe.key property.");return t}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(106))},function(e,t,n){var r=n(9),o=n(75),i=n(18),c=n(76),a=n(72),s=n(108),u=o("wks"),l=r.Symbol,p=s?l:l&&l.withoutSetter||c;e.exports=function(e){return i(u,e)&&(a||"string"==typeof u[e])||(a&&i(l,e)?u[e]=l[e]:u[e]=p("Symbol."+e)),u[e]}},,function(e,t,n){"use strict";var r=n(9),o=n(74).f,i=n(81),c=n(27),a=n(41),s=n(20),u=n(18),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,d,v,m,y,h,g=e.target,b=e.global,_=e.stat,w=e.proto,E=b?r:_?r[g]:(r[g]||{}).prototype,O=b?c:c[g]||(c[g]={}),j=O.prototype;for(f in t)n=!i(b?f:g+(_?".":"#")+f,e.forced)&&E&&u(E,f),v=O[f],n&&(m=e.noTargetGet?(h=o(E,f))&&h.value:E[f]),d=n&&m?m:t[f],n&&typeof v==typeof d||(y=e.bind&&n?a(d,r):e.wrap&&n?l(d):w&&"function"==typeof d?a(Function.call,d):d,(e.sham||d&&d.sham||v&&v.sham)&&s(y,"sham",!0),O[f]=y,w&&(u(c,p=g+"Prototype")||s(c,p,{}),c[p][f]=d,e.real&&j&&!j[f]&&s(j,f,d)))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,n){e.exports=n(109)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));const r={INVALID_EMAIL:"email_invalid",INVALID_REQUEST:"invalid_request_error",API_CONNECTION:"api_connection_error",API_ERROR:"api_error",AUTHENTICATION_ERROR:"authentication_error",RATE_LIMIT_ERROR:"rate_limit_error",CARD_ERROR:"card_error",VALIDATION_ERROR:"validation_error"},o={INVALID_NUMBER:"invalid_number",INVALID_EXPIRY_MONTH:"invalid_expiry_month",INVALID_EXPIRY_YEAR:"invalid_expiry_year",INVALID_CVC:"invalid_cvc",INCORRECT_NUMBER:"incorrect_number",INCOMPLETE_NUMBER:"incomplete_number",INCOMPLETE_CVC:"incomplete_cvc",INCOMPLETE_EXPIRY:"incomplete_expiry",EXPIRED_CARD:"expired_card",INCORRECT_CVC:"incorrect_cvc",INCORRECT_ZIP:"incorrect_zip",INVALID_EXPIRY_YEAR_PAST:"invalid_expiry_year_past",CARD_DECLINED:"card_declined",MISSING:"missing",PROCESSING_ERROR:"processing_error"}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},,function(e,t,n){var r=n(24),o=n(39),i=n(33);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},,function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(){}function i(){}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,i.resetWarningCache=o;var c=function(e,t){return function(e){e.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}()}(t={exports:{}}),t.exports}(),a=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!a(t)||!a(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o="[object Object]"===Object.prototype.toString.call(t);if(o!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!o&&!r)return!1;var i=Object.keys(t),c=Object.keys(n);if(i.length!==c.length)return!1;for(var s={},u=0;u<i.length;u+=1)s[i[u]]=!0;for(var l=0;l<c.length;l+=1)s[c[l]]=!0;var p=Object.keys(s);if(p.length!==i.length)return!1;var f=t,d=n;return p.every((function(t){return e(f[t],d[t])}))},u=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},l=function(e){if(null===e||a(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=t.createContext(null);p.displayName="ElementsContext";var f=function(e){var n,o,i=e.stripe,c=e.options,f=e.children,d=t.useRef(!1),v=t.useRef(!0),m=t.useMemo((function(){return function(e){if(function(e){return a(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(l)};var t=l(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}}(i)}),[i]),y=(n=t.useState((function(){return{stripe:null,elements:null}})),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}}(n,o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=y[0],g=y[1],b=u(i),_=u(c);return null!==b&&(b!==i&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(c,_)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),d.current||("sync"===m.tag&&(d.current=!0,g({stripe:m.stripe,elements:m.stripe.elements(c)})),"async"===m.tag&&(d.current=!0,m.stripePromise.then((function(e){e&&v.current&&g({stripe:e,elements:e.elements(c)})})))),t.useEffect((function(){return function(){v.current=!1}}),[]),t.useEffect((function(){var e=h.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),t.createElement(p.Provider,{value:h},f)};f.propTypes={stripe:c.any,options:c.object};var d=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(p),e)},v=function(e){return(0,e.children)(d("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var m=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return a(e)?(e.paymentRequest,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["paymentRequest"])):{}},h=function(){},g=function(e,n){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){d("mounts <".concat(o,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,c=n.options,a=void 0===c?{}:c,u=n.onBlur,l=void 0===u?h:u,p=n.onFocus,f=void 0===p?h:p,v=n.onReady,g=void 0===v?h:v,b=n.onChange,_=void 0===b?h:b,w=n.onEscape,E=void 0===w?h:w,O=n.onClick,j=void 0===O?h:O,x=d("mounts <".concat(o,">")).elements,C=t.useRef(null),S=t.useRef(null),R=m(g),T=m(l),I=m(f),A=m(j),P=m(_),k=m(E);t.useLayoutEffect((function(){if(null==C.current&&x&&null!=S.current){var t=x.create(e,a);C.current=t,t.mount(S.current),t.on("ready",(function(){return R(t)})),t.on("change",P),t.on("blur",T),t.on("focus",I),t.on("escape",k),t.on("click",A)}}));var N=t.useRef(a);return t.useEffect((function(){N.current&&N.current.paymentRequest!==a.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(a);0===Object.keys(e).length||s(e,y(N.current))||C.current&&(C.current.update(e),N.current=a)}),[a]),t.useLayoutEffect((function(){return function(){C.current&&C.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:S})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=o,i.__elementType=e,i},b="undefined"==typeof window,_=g("auBankAccount",b),w=g("card",b),E=g("cardNumber",b),O=g("cardExpiry",b),j=g("cardCvc",b),x=g("fpxBank",b),C=g("iban",b),S=g("idealBank",b),R=g("p24Bank",b),T=g("epsBank",b),I=g("payment",b),A=g("paymentRequestButton",b),P=g("afterpayClearpayMessage",b);e.AfterpayClearpayMessageElement=P,e.AuBankAccountElement=_,e.CardCvcElement=j,e.CardElement=w,e.CardExpiryElement=O,e.CardNumberElement=E,e.Elements=f,e.ElementsConsumer=v,e.EpsBankElement=T,e.FpxBankElement=x,e.IbanElement=C,e.IdealBankElement=S,e.P24BankElement=R,e.PaymentElement=I,e.PaymentRequestButtonElement=A,e.useElements=function(){return d("calls useElements()").elements},e.useStripe=function(){return d("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2))},function(e,t,n){var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,,function(e,t){e.exports={}},function(e,t,n){var r=n(27);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return v}));var r=n(15),o=n.n(r),i=n(56),c=n.n(i),a=n(133),s=n.n(a),u=n(104),l=n.n(u),p=n(1),f=n(16);const d=()=>{if(!wc_stripe_upe_params)throw new Error("Stripe initialization data is not available");return wc_stripe_upe_params},v=(e,t="")=>{switch(e){case f.b.INVALID_EMAIL:return Object(p.__)("Invalid email address, please correct and try again.","woocommerce-gateway-stripe");case(e=>{var t;return o()(t=[f.b.INVALID_REQUEST,f.b.API_CONNECTION,f.b.API_ERROR,f.b.AUTHENTICATION_ERROR,f.b.RATE_LIMIT_ERROR]).call(t,e)})(e):return Object(p.__)("Unable to process this payment, please try again or use alternative method.","woocommerce-gateway-stripe");case f.b.CARD_ERROR:return(e=>({[f.a.INVALID_NUMBER]:Object(p.__)("The card number is not a valid credit card number.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_MONTH]:Object(p.__)("The card expiration month is invalid.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_YEAR]:Object(p.__)("The card expiration year is invalid.","woocommerce-gateway-stripe"),[f.a.INVALID_CVC]:Object(p.__)("The card security code is invalid.","woocommerce-gateway-stripe"),[f.a.INCORRECT_NUMBER]:Object(p.__)("The card number is incorrect.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_NUMBER]:Object(p.__)("The card number is incomplete.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_CVC]:Object(p.__)("The card security code is incomplete.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_EXPIRY]:Object(p.__)("The card expiration date is incomplete.","woocommerce-gateway-stripe"),[f.a.EXPIRED_CARD]:Object(p.__)("The card has expired.","woocommerce-gateway-stripe"),[f.a.INCORRECT_CVC]:Object(p.__)("The card security code is incorrect.","woocommerce-gateway-stripe"),[f.a.INCORRECT_ZIP]:Object(p.__)("The card zip code failed validation.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_YEAR_PAST]:Object(p.__)("The card expiration year is in the past","woocommerce-gateway-stripe"),[f.a.CARD_DECLINED]:Object(p.__)("The card was declined.","woocommerce-gateway-stripe"),[f.a.MISSING]:Object(p.__)("There is no card on a customer that is being charged.","woocommerce-gateway-stripe"),[f.a.PROCESSING_ERROR]:Object(p.__)("An error occurred while processing the card.","woocommerce-gateway-stripe")}[e]||null))(t);case f.b.VALIDATION_ERROR:return""}return null},m=(e="always")=>{var t,n;const r=null===(t=d())||void 0===t?void 0:t.paymentMethodsConfig,o=c()(n=s()(r)).call(n,e=>r[e].isReusable);return l()(o).call(o,(t,n)=>(t[n]=e,t),{})}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(27),o=n(9),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t){e.exports=window.jQuery},function(e,t,n){var r=n(53),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(24),o=n(69),i=n(21),c=n(48),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(i(e),t=c(t,!0),i(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(30),o=n(9);e.exports="process"==r(o.process)},,function(e,t,n){var r,o,i=n(9),c=n(59),a=i.process,s=a&&a.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},,function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(20);e.exports=function(e,t,n,o){o&&o.enumerable?e[t]=n:r(e,t,n)}},,,function(e,t,n){var r=n(13),o=n(30),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(9),o=n(107),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},,function(e,t,n){e.exports=n(174)},,function(e,t,n){var r=n(9),o=n(17),i=r.document,c=o(i)&&o(i.createElement);e.exports=function(e){return c?i.createElement(e):{}}},function(e,t,n){var r=n(34);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(67),o=n(39).f,i=n(20),c=n(18),a=n(139),s=n(10)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;c(l,s)||o(l,s,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},,function(e,t,n){e.exports=n(156)},function(e,t,n){var r=n(75),o=n(76),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(38),o=n(40),i=n(89),c=function(e){return function(t,n,c){var a,s=r(t),u=o(s.length),l=i(c,u);if(e&&n!=n){for(;u>l;)if((a=s[l++])!=a)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},function(e,t){e.exports={}},function(e,t,n){var r=n(67),o=n(30),i=n(10)("toStringTag"),c="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:c?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(10)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r,o,i,c=n(142),a=n(9),s=n(17),u=n(20),l=n(18),p=n(54),f=n(63),d=n(65),v=a.WeakMap;if(c){var m=p.state||(p.state=new v),y=m.get,h=m.has,g=m.set;r=function(e,t){return t.facade=e,g.call(m,e,t),t},o=function(e){return y.call(m,e)||{}},i=function(e){return h.call(m,e)}}else{var b=f("state");d[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(24),o=n(13),i=n(58);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(18),o=n(43),i=n(63),c=n(136),a=i("IE_PROTO"),s=Object.prototype;e.exports=c?Object.getPrototypeOf:function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(21),o=n(122),i=n(40),c=n(41),a=n(97),s=n(123),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,p,f,d,v,m,y,h=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=c(t,h,1+g+_),E=function(e){return l&&s(l),new u(!0,e)},O=function(e){return g?(r(e),_?w(e[0],e[1],E):w(e[0],e[1])):_?w(e,E):w(e)};if(b)l=e;else{if("function"!=typeof(p=a(e)))throw TypeError("Target is not iterable");if(o(p)){for(f=0,d=i(e.length);d>f;f++)if((v=O(e[f]))&&v instanceof u)return v;return new u(!1)}l=p.call(e)}for(m=l.next;!(y=m.call(l)).done;){try{v=O(y.value)}catch(e){throw s(l),e}if("object"==typeof v&&v&&v instanceof u)return v}return new u(!1)}},function(e,t,n){var r=n(44),o=n(46),i=n(13);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},function(e,t,n){"use strict";var r=n(32),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(24),o=n(87),i=n(33),c=n(38),a=n(48),s=n(18),u=n(69),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=c(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(35),o=n(54);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports=function(){}},function(e,t,n){e.exports=n(170)},,,function(e,t,n){var r=n(13),o=/#|\.prototype\./,i=function(e,t){var n=a[c(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},c=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(138),o=n(90);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(13),o=n(10),i=n(46),c=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[c]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},,,,function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r,o=n(21),i=n(121),c=n(90),a=n(65),s=n(96),u=n(58),l=n(63)("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=r?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[l]=e):n=d(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(49),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r,o,i,c=n(13),a=n(70),s=n(20),u=n(18),l=n(10),p=n(35),f=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0);var v=null==r||c((function(){var e={};return r[f].call(e)!==e}));v&&(r={}),p&&!v||u(r,f)||s(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},,function(e,t,n){e.exports=n(201)},function(e,t,n){var r=n(21),o=n(137);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(34);e.exports=r("document","documentElement")},function(e,t,n){var r=n(66),o=n(36),i=n(10)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(54),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){"use strict";var r=n(12),o=n(131),i=n(70),c=n(95),a=n(60),s=n(20),u=n(50),l=n(10),p=n(35),f=n(36),d=n(92),v=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,y=l("iterator"),h=function(){return this};e.exports=function(e,t,n,l,d,g,b){o(n,t,l);var _,w,E,O=function(e){if(e===d&&R)return R;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",x=!1,C=e.prototype,S=C[y]||C["@@iterator"]||d&&C[d],R=!m&&S||O(d),T="Array"==t&&C.entries||S;if(T&&(_=i(T.call(new e)),v!==Object.prototype&&_.next&&(p||i(_)===v||(c?c(_,v):"function"!=typeof _[y]&&s(_,y,h)),a(_,j,!0,!0),p&&(f[j]=h))),"values"==d&&S&&"values"!==S.name&&(x=!0,R=function(){return S.call(this)}),p&&!b||C[y]===R||s(C,y,R),f[t]=R,d)if(w={values:O("values"),keys:g?R:O("keys"),entries:O("entries")},b)for(E in w)(m||x||!(E in C))&&u(C,E,w[E]);else r({target:t,proto:!0,forced:m||x},w);return w}},function(e,t,n){var r=n(41),o=n(53),i=n(43),c=n(40),a=n(143),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,p=6==e,f=7==e,d=5==e||p;return function(v,m,y,h){for(var g,b,_=i(v),w=o(_),E=r(m,y,3),O=c(w.length),j=0,x=h||a,C=t?x(v,O):n||f?x(v,0):void 0;O>j;j++)if((d||j in w)&&(b=E(g=w[j],j,_),e))if(t)C[j]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return j;case 2:s.call(C,g)}else switch(e){case 4:return!1;case 7:s.call(C,g)}return p?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){var r=n(30);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(115);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(10)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){e.exports=n(181)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="stripe"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(9),o=n(20);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(72);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(110);e.exports=r},function(e,t,n){var r=n(111),o=n(113),i=Array.prototype,c=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?r:"string"==typeof e||e===c||e instanceof String&&t===c.includes?o:t}},function(e,t,n){n(112);var r=n(28);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(12),o=n(64).includes,i=n(77);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){n(114);var r=n(28);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(12),o=n(102),i=n(31);r({target:"String",proto:!0,forced:!n(103)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(17),o=n(30),i=n(10)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t){e.exports=window.wc.wcSettings},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(62),o=n.n(r),i=n(134),c=n(7);const a=()=>new o.a(e=>{try{var t,n;const r=null!==(t=null===(n=Object(c.c)())||void 0===n?void 0:n.stripe_locale)&&void 0!==t?t:"auto";e(Object(i.a)(Object(c.b)(),{locale:r}))}catch(t){e({error:t})}})},function(e,t,n){var r=n(24),o=n(39),i=n(21),c=n(82);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=c(t),a=r.length,s=0;a>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){var r=n(10),o=n(36),i=r("iterator"),c=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||c[i]===e)}},function(e,t,n){var r=n(21);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){var r=n(9);e.exports=r.Promise},function(e,t,n){var r=n(21),o=n(32),i=n(10)("species");e.exports=function(e,t){var n,c=r(e).constructor;return void 0===c||null==(n=r(c)[i])?t:o(n)}},function(e,t,n){var r,o,i,c=n(9),a=n(13),s=n(41),u=n(96),l=n(58),p=n(127),f=n(44),d=c.location,v=c.setImmediate,m=c.clearImmediate,y=c.process,h=c.MessageChannel,g=c.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},E=function(e){return function(){w(e)}},O=function(e){w(e.data)},j=function(e){c.postMessage(e+"",d.protocol+"//"+d.host)};v&&m||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},f?r=function(e){y.nextTick(E(e))}:g&&g.now?r=function(e){g.now(E(e))}:h&&!p?(i=(o=new h).port2,o.port1.onmessage=O,r=s(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&d&&"file:"!==d.protocol&&!a(j)?(r=j,c.addEventListener("message",O,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:v,clear:m}},function(e,t,n){var r=n(59);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(21),o=n(17),i=n(73);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(130).charAt,o=n(68),i=n(99),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(e){c(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=a(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(49),o=n(31),i=function(e){return function(t,n){var i,c,a=String(o(t)),s=r(n),u=a.length;return s<0||s>=u?e?"":void 0:(i=a.charCodeAt(s))<55296||i>56319||s+1===u||(c=a.charCodeAt(s+1))<56320||c>57343?e?a.charAt(s):i:e?a.slice(s,s+2):c-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(92).IteratorPrototype,o=n(88),i=n(33),c=n(60),a=n(36),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),c(e,u,!1,!0),a[u]=s,e}},function(e,t,n){"use strict";var r=n(13);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){e.exports=n(178)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",c=null,a=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:t})}(r,n),r},s=Promise.resolve().then((function(){return e=null,null!==c?c:c=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(i),window.Stripe)t(window.Stripe);else try{var c=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var n=e[t];if(o.test(n.src))return n}return null}();c&&e?console.warn(i):c||(c=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(t);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n}(e)),c.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),c.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}));var e})),u=!1;s.catch((function(e){u||console.warn(e)}));var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];u=!0;var r=Date.now();return s.then((function(e){return a(e,t,r)}))}},,function(e,t,n){var r=n(13);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(18),o=n(38),i=n(64).indexOf,c=n(65);e.exports=function(e,t){var n,a=o(e),s=0,u=[];for(n in a)!r(c,n)&&r(a,n)&&u.push(n);for(;t.length>s;)r(a,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){"use strict";var r=n(67),o=n(66);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(10)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(9),o=n(98),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(17),o=n(101),i=n(10)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var r=n(48),o=n(39),i=n(33);e.exports=function(e,t,n){var c=r(t);c in e?o.f(e,c,i(0,n)):e[c]=n}},,,,function(e,t){e.exports=window.wc.wcBlocksRegistry},,,function(e,t,n){var r=n(50);e.exports=function(e,t,n){for(var o in t)n&&n.unsafe&&e[o]?e[o]=t[o]:r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(38),o=n(77),i=n(36),c=n(68),a=n(99),s=c.set,u=c.getterFor("Array Iterator");e.exports=a(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(31),o="["+n(116)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(c,"")),n}};e.exports={start:a(1),end:a(2),trim:a(3)}},,,function(e,t,n){var r=n(157);e.exports=r},function(e,t,n){n(158),n(159),n(160),n(165),n(166),n(167),n(129),n(168);var r=n(27);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(12),o=n(70),i=n(95),c=n(88),a=n(20),s=n(33),u=n(71),l=function(e,t){var n=this;if(!(n instanceof l))return new l(e,t);i&&(n=i(new Error(void 0),o(n))),void 0!==t&&a(n,"message",String(t));var r=[];return u(e,r.push,{that:r}),a(n,"errors",r),n};l.prototype=c(Error.prototype,{constructor:s(5,l),message:s(5,""),name:s(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(e,t){},function(e,t,n){"use strict";var r,o,i,c,a=n(12),s=n(35),u=n(9),l=n(34),p=n(124),f=n(50),d=n(151),v=n(60),m=n(161),y=n(17),h=n(32),g=n(140),b=n(98),_=n(71),w=n(141),E=n(125),O=n(126).set,j=n(162),x=n(128),C=n(164),S=n(73),R=n(91),T=n(68),I=n(81),A=n(10),P=n(44),k=n(46),N=A("species"),L="Promise",M=T.get,D=T.set,V=T.getterFor(L),B=p,q=u.TypeError,F=u.document,U=u.process,Y=l("fetch"),H=S.f,W=H,G=!!(F&&F.createEvent&&u.dispatchEvent),$="function"==typeof PromiseRejectionEvent,z=I(L,(function(){if(b(B)===String(B)){if(66===k)return!0;if(!P&&!$)return!0}if(s&&!B.prototype.finally)return!0;if(k>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),X=z||!w((function(e){B.all(e).catch((function(){}))})),Z=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;j((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var c,a,s,u=n[i++],l=o?u.ok:u.fail,p=u.resolve,f=u.reject,d=u.domain;try{l?(o||(2===e.rejection&&te(e),e.rejection=1),!0===l?c=r:(d&&d.enter(),c=l(r),d&&(d.exit(),s=!0)),c===u.promise?f(q("Promise-chain cycle")):(a=Z(c))?a.call(c,p,f):p(c)):f(r)}catch(e){d&&!s&&d.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&J(e)}))}},K=function(e,t,n){var r,o;G?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!$&&(o=u["on"+e])?o(r):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},J=function(e){O.call(u,(function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=R((function(){P?U.emit("unhandledRejection",r,n):K("unhandledrejection",n,r)})),e.rejection=P||ee(e)?2:1,t.error))throw t.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){O.call(u,(function(){var t=e.facade;P?U.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Q(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw q("Promise can't be resolved itself");var r=Z(t);r?j((function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,Q(e,!1))}catch(t){re({done:!1},t,e)}}};z&&(B=function(e){g(this,B,L),h(e),r.call(this);var t=M(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){D(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(e,t){var n=V(this),r=H(E(this,B));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=P?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},S.f=H=function(e){return e===B||e===i?new o(e):W(e)},s||"function"!=typeof p||(c=p.prototype.then,f(p.prototype,"then",(function(e,t){var n=this;return new B((function(e,t){c.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Y&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(B,Y.apply(u,arguments))}}))),a({global:!0,wrap:!0,forced:z},{Promise:B}),v(B,L,!1,!0),m(L),i=l(L),a({target:L,stat:!0,forced:z},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),a({target:L,stat:!0,forced:s||z},{resolve:function(e){return x(s&&this===i?B:this,e)}}),a({target:L,stat:!0,forced:X},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,i=R((function(){var n=h(t.resolve),i=[],c=0,a=1;_(e,(function(e){var s=c++,u=!1;i.push(void 0),a++,n.call(t,e).then((function(e){u||(u=!0,i[s]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=R((function(){var o=h(t.resolve);_(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){"use strict";var r=n(34),o=n(39),i=n(10),c=n(24),a=i("species");e.exports=function(e){var t=r(e),n=o.f;c&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r,o,i,c,a,s,u,l,p=n(9),f=n(74).f,d=n(126).set,v=n(127),m=n(163),y=n(44),h=p.MutationObserver||p.WebKitMutationObserver,g=p.document,b=p.process,_=p.Promise,w=f(p,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?c():i=void 0,e}}i=void 0,e&&e.enter()},v||y||m||!h||!g?_&&_.resolve?(u=_.resolve(void 0),l=u.then,c=function(){l.call(u,r)}):c=y?function(){b.nextTick(r)}:function(){d.call(p,r)}:(a=!0,s=g.createTextNode(""),new h(r).observe(s,{characterData:!0}),c=function(){s.data=a=!a})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,c()),i=t}},function(e,t,n){var r=n(59);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(9);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(12),o=n(32),i=n(73),c=n(91),a=n(71);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,u=c((function(){var n=o(t.resolve),i=[],c=0,s=1;a(e,(function(e){var o=c++,a=!1;i.push(void 0),s++,n.call(t,e).then((function(e){a||(a=!0,i[o]={status:"fulfilled",value:e},--s||r(i))}),(function(e){a||(a=!0,i[o]={status:"rejected",reason:e},--s||r(i))}))})),--s||r(i)}));return u.error&&s(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(12),o=n(32),i=n(34),c=n(73),a=n(91),s=n(71);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=c.f(t),r=n.resolve,u=n.reject,l=a((function(){var n=o(t.resolve),c=[],a=0,l=1,p=!1;s(e,(function(e){var o=a++,s=!1;c.push(void 0),l++,n.call(t,e).then((function(e){s||p||(p=!0,r(e))}),(function(e){s||p||(s=!0,c[o]=e,--l||u(new(i("AggregateError"))(c,"No one promise resolved")))}))})),--l||u(new(i("AggregateError"))(c,"No one promise resolved"))}));return l.error&&u(l.value),n.promise}})},function(e,t,n){"use strict";var r=n(12),o=n(35),i=n(124),c=n(13),a=n(34),s=n(125),u=n(128),l=n(50);r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){n(152);var r=n(169),o=n(9),i=n(66),c=n(20),a=n(36),s=n(10)("toStringTag");for(var u in r){var l=o[u],p=l&&l.prototype;p&&i(p)!==s&&c(p,s,u),a[u]=a.Array}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(171);e.exports=r},function(e,t,n){var r=n(172),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?r:t}},function(e,t,n){n(173);var r=n(28);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(12),o=n(100).map;r({target:"Array",proto:!0,forced:!n(83)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(175);e.exports=r},function(e,t,n){var r=n(176),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||e instanceof Array&&t===o.filter?r:t}},function(e,t,n){n(177);var r=n(28);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(12),o=n(100).filter;r({target:"Array",proto:!0,forced:!n(83)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(179);e.exports=r},function(e,t,n){n(180);var r=n(27);e.exports=r.Object.keys},function(e,t,n){var r=n(12),o=n(43),i=n(82);r({target:"Object",stat:!0,forced:n(13)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(182);e.exports=r},function(e,t,n){var r=n(183),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?r:t}},function(e,t,n){n(184);var r=n(28);e.exports=r("Array").reduce},function(e,t,n){"use strict";var r=n(12),o=n(185).left,i=n(132),c=n(46),a=n(44);r({target:"Array",proto:!0,forced:!i("reduce")||!a&&c>79&&c<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(32),o=n(43),i=n(53),c=n(40),a=function(e){return function(t,n,a,s){r(n);var u=o(t),l=i(u),p=c(u.length),f=e?p-1:0,d=e?-1:1;if(a<2)for(;;){if(f in l){s=l[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in l&&(s=n(s,l[f],f,u));return s}};e.exports={left:a(!1),right:a(!0)}},,,,function(e,t,n){e.exports=n(197)},,,,,function(e,t,n){"use strict";var r=n(0),o=n(189),i=n.n(o),c=n(117),a=n(23),s=n(15),u=n.n(s),l=n(7);const p=({onButtonClicked:e})=>{var t,n;const{theme:o="dark",locale:i="en",height:c="44"}=null===(t=Object(l.c)())||void 0===t?void 0:t.button,a=["short","long"],{branded_type:s}=null===(n=Object(l.c)())||void 0===n?void 0:n.button,p=u()(a).call(a,s)?s:"long",f=((e,t,n)=>{const o="long"===e?`https://www.gstatic.com/instantbuy/svg/${t}/${n}.svg`:`https://www.gstatic.com/instantbuy/svg/${t}_gpay.svg`,[i,c]=Object(r.useState)(o);return Object(r.useEffect)(()=>{const e=document.createElement("img");e.addEventListener("error",()=>{c(`https://www.gstatic.com/instantbuy/svg/${t}/en.svg`)}),e.src=i},[i,t]),i})(p,"dark"===o?"dark":"light",i);return Object(r.createElement)("button",{type:"button",id:"wc-stripe-branded-button","aria-label":"Google Pay",className:`gpay-button ${o} ${p}`,style:{backgroundImage:`url(${f})`,height:c+"px"},onClick:e})};var f=n(1);const d=({onButtonClicked:e})=>{var t;const{theme:n="dark",height:o="44",customLabel:i=Object(f.__)("Buy now","woocommerce-gateway-stripe")}=null===(t=Object(l.c)())||void 0===t?void 0:t.button;return Object(r.createElement)("button",{type:"button",id:"wc-stripe-custom-button",className:`button ${n} is-active`,style:{height:o+"px"},onClick:e},i)};var v=n(37),m=n.n(v),y=n(94),h=n.n(y);const g=e=>({country:e.country,state:e.region,postcode:e.postalCode,city:e.city,address:void 0===e.addressLine[0]?"":e.addressLine[0],address_2:void 0===e.addressLine[1]?"":e.addressLine[1]}),b=(e,t="wc_stripe_")=>{var n,r,o;return null===(n=Object(l.c)())||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",t+e)},_=()=>{var e,t;const n={security:null===(e=Object(l.c)())||void 0===e||null===(t=e.nonce)||void 0===t?void 0:t.payment};return m.a.ajax({type:"POST",data:n,url:b("get_cart_details")})},w=e=>{const{shippingOption:t}=e;(e=>{var t,n,r;const o={security:null===(t=Object(l.c)())||void 0===t||null===(n=t.nonce)||void 0===n?void 0:n.update_shipping,shipping_method:[e.id],is_product_page:null===(r=Object(l.c)())||void 0===r?void 0:r.is_product_page};return m.a.ajax({type:"POST",data:o,url:b("update_shipping_method")})})(t).then(t=>{"success"===t.result&&e.updateWith({status:"success",total:t.total,displayItems:t.displayItems}),"fail"===t.result&&e.updateWith({status:"fail"})})},E=(e,t,n,o)=>{Object(r.useEffect)(()=>{const r=null==t?void 0:t.on("source",((e,t,n)=>r=>{var o,i,c,a,s,u;"yes"===(null===(o=Object(l.c)())||void 0===o||null===(i=o.stripe)||void 0===i?void 0:i.allow_prepaid_card)||"prepaid"!==(null==r||null===(c=r.source)||void 0===c||null===(a=c.card)||void 0===a?void 0:a.funding)?((e,t)=>{const n=((e,t)=>{var n,r,o,i,c,a,s,u,p,f,d,v,m,y,g,b,_,w,E,O;const{source:j}=e,x=null==j||null===(n=j.owner)||void 0===n?void 0:n.email,C=null==j||null===(r=j.owner)||void 0===r?void 0:r.phone,S=null==j||null===(o=j.owner)||void 0===o?void 0:o.address,R=null==j||null===(i=j.owner)||void 0===i?void 0:i.name,T=null==e?void 0:e.shippingAddress,I={_wpnonce:null===(c=Object(l.c)())||void 0===c||null===(a=c.nonce)||void 0===a?void 0:a.checkout,billing_first_name:null!==(s=null==R||null===(u=R.split(" "))||void 0===u||null===(p=h()(u).call(u,0,1))||void 0===p?void 0:p.join(" "))&&void 0!==s?s:"",billing_last_name:null!==(f=null==R||null===(d=R.split(" "))||void 0===d||null===(v=h()(d).call(d,1))||void 0===v?void 0:v.join(" "))&&void 0!==f?f:"",billing_company:"",billing_email:null!=x?x:null==e?void 0:e.payerEmail,billing_phone:null!=C?C:null==e||null===(m=e.payerPhone)||void 0===m?void 0:m.replace("/[() -]/g",""),billing_country:null!==(y=null==S?void 0:S.country)&&void 0!==y?y:"",billing_address_1:null!==(g=null==S?void 0:S.line1)&&void 0!==g?g:"",billing_address_2:null!==(b=null==S?void 0:S.line2)&&void 0!==b?b:"",billing_city:null!==(_=null==S?void 0:S.city)&&void 0!==_?_:"",billing_state:null!==(w=null==S?void 0:S.state)&&void 0!==w?w:"",billing_postcode:null!==(E=null==S?void 0:S.postal_code)&&void 0!==E?E:"",shipping_first_name:"",shipping_last_name:"",shipping_company:"",shipping_country:"",shipping_address_1:"",shipping_address_2:"",shipping_city:"",shipping_state:"",shipping_postcode:"",shipping_method:[null==e||null===(O=e.shippingOption)||void 0===O?void 0:O.id],order_comments:"",payment_method:"stripe",ship_to_different_address:1,terms:1,stripe_source:j.id,payment_request_type:t};var A,P,k,N,L,M,D,V,B,q;return T&&(I.shipping_first_name=null==T||null===(A=T.recipient)||void 0===A||null===(P=A.split(" "))||void 0===P||null===(k=h()(P).call(P,0,1))||void 0===k?void 0:k.join(" "),I.shipping_last_name=null==T||null===(N=T.recipient)||void 0===N||null===(L=N.split(" "))||void 0===L||null===(M=h()(L).call(L,1))||void 0===M?void 0:M.join(" "),I.shipping_company=null==T?void 0:T.organization,I.shipping_country=null==T?void 0:T.country,I.shipping_address_1=null!==(D=null==T||null===(V=T.addressLine)||void 0===V?void 0:V[0])&&void 0!==D?D:"",I.shipping_address_2=null!==(B=null==T||null===(q=T.addressLine)||void 0===q?void 0:q[1])&&void 0!==B?B:"",I.shipping_city=null==T?void 0:T.city,I.shipping_state=null==T?void 0:T.region,I.shipping_postcode=null==T?void 0:T.postalCode),I})(e,t);return m.a.ajax({type:"POST",data:n,dataType:"json",url:b("create_order")})})(r,t).then(((e,t,n)=>r=>{if("success"===r.result){t.complete("success");const o=(e=>{const t=e.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(t&&!(t.length<4))return{type:t[1],clientSecret:t[2],redirectUrl:decodeURIComponent(t[3])}})(r.redirect);if(!o||o.length<4)return void(window.location=r.redirect);const{type:i,clientSecret:c,redirectUrl:a}=o;((e,t,n)=>"si"===t?e.handleCardSetup(n):e.handleCardPayment(n))(e,i,c).then(((e,t)=>n=>{if(n.error)throw n.error;const r=((e,t)=>"si"===t?e.setupIntent:e.paymentIntent)(n,t);((e=>"requires_capture"===e.status)(r)||(e=>"succeeded"===e.status)(r))&&(window.location=e)})(a,i)).catch(e=>{n(e.message),m.a.get(a+"&is_ajax")})}else{var o,i;t.complete("fail");const e=document.createElement("div");e.innerHTML=r.messages;const c=null!==(o=null==e||null===(i=e.firstChild)||void 0===i?void 0:i.textContent)&&void 0!==o?o:"";n(c)}})(e,r,n)):n(null===(s=Object(l.c)())||void 0===s||null===(u=s.i18n)||void 0===u?void 0:u.no_prepaid_card)})(e,n,o));return()=>{null==r||r.removeEventListener("source")}},[e,t,n,o])},O=({billing:e,shippingData:t,onClick:n,onClose:o,setExpressPaymentError:i})=>{var c,s,u,f,v,y,h;const O=Object(a.useStripe)(),{needsShipping:j}=t,[x,C,S]=((e,t,n)=>{const[o,i]=Object(r.useState)(null),[c,a]=Object(r.useState)(null),[s,u]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{e&&(async()=>{const t=await _(),n=Object(l.a)(e,t),r=await n.canMakePayment();r?(i(n),a(()=>r.applePay?"apple_pay":r.googlePay?"google_pay":"payment_request_api")):i(null)})()},[e,t]),Object(r.useEffect)(()=>{o&&(async()=>{u(!0);const e=await _();Object(l.d)(o,e),u(!1)})()},[o,n.cartTotal,n.cartTotalItems,n.currency.code]),[o,c,s]})(O,j,e);((e,t)=>{Object(r.useEffect)(()=>{const n=null==e?void 0:e.on("shippingaddresschange",(e=>t=>{const{shippingAddress:n}=t;((e,t)=>{var n,r,o;const i={security:null===(n=Object(l.c)())||void 0===n||null===(r=n.nonce)||void 0===r?void 0:r.shipping,payment_request_type:t,is_product_page:null===(o=Object(l.c)())||void 0===o?void 0:o.is_product_page,...g(e)};return m.a.ajax({type:"POST",data:i,url:b("get_shipping_options")})})(n,e).then(e=>{t.updateWith({status:e.result,shippingOptions:e.shipping_options,total:e.total,displayItems:e.displayItems})})})(t));return()=>{null==n||n.removeEventListener("shippingaddresschange")}},[e,t])})(x,C),((e,t)=>{Object(r.useEffect)(()=>{const t=null==e?void 0:e.on("shippingoptionchange",w);return()=>{null==t||t.removeEventListener("shippingoptionchange")}},[e,t])})(x,C),E(O,x,C,i);const R=((e,t,n)=>Object(r.useCallback)((r,o)=>{var i;if(null!==(i=Object(l.c)())&&void 0!==i&&i.login_confirmation)return r.preventDefault(),void(e=>{var t,n,r;if(null===(t=Object(l.c)())||void 0===t||!t.login_confirmation)return;let o=null===(n=Object(l.c)())||void 0===n||null===(r=n.login_confirmation)||void 0===r?void 0:r.message;var i,c;"payment_request_api"!==e&&(o=o.replace(/\*\*.*?\*\*/,"apple_pay"===e?"Apple Pay":"Google Pay")),o=o.replace(/\*\*/g,""),confirm(o)&&(window.location.href=null===(i=Object(l.c)())||void 0===i||null===(c=i.login_confirmation)||void 0===c?void 0:c.redirect_url)})(e);t(""),n(),o&&o.show()},[e,t,n]))(C,i,n);((e,t)=>{Object(r.useEffect)(()=>{const n=null==e?void 0:e.on("cancel",t);return()=>{null==n||n.removeEventListener("cancel")}},[e,t])})(x,o);const{type:T="default",theme:I="dark",height:A="48"}=null===(c=Object(l.c)())||void 0===c?void 0:c.button,P={paymentRequestButton:{type:T,theme:I,height:A+"px"}},k=null===(s=Object(l.c)())||void 0===s||null===(u=s.button)||void 0===u?void 0:u.is_branded,N=null===(f=Object(l.c)())||void 0===f||null===(v=f.button)||void 0===v?void 0:v.branded_type,L=null===(y=Object(l.c)())||void 0===y||null===(h=y.button)||void 0===h?void 0:h.is_custom;return x?L?Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(d,{className:S?"wc-block-components-loading-mask__children":"",onButtonClicked:e=>{R(e,x)}})):k&&(()=>{const e=window.navigator.userAgent.toLowerCase(),t=/chrome/.test(e)&&!/edge|edg|opr|brave\//.test(e)&&"Google Inc."===window.navigator.vendor,n=t&&window.navigator.brave;return t&&!n})()?Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(p,{className:S?"wc-block-components-loading-mask__children":"",onButtonClicked:e=>{R(e,x)}})):(k&&(P.paymentRequestButton.type="long"===N?"buy":"default"),Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(a.PaymentRequestButtonElement,{className:S?"wc-block-components-loading-mask__children":"",onClick:R,options:{style:P,paymentRequest:x}}))):null};var j,x,C=n(120);const S=Object(C.a)(),R={name:"payment_request",content:Object(r.createElement)(e=>{const{stripe:t}=e;return Object(r.createElement)(a.Elements,{stripe:t},Object(r.createElement)(O,e))},{stripe:S}),edit:Object(r.createElement)(()=>Object(r.createElement)("img",{src:"data:image/svg+xml,%3Csvg width='264' height='48' viewBox='0 0 264 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='264' height='48' rx='3' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.114 16.6407C125.682 15.93 126.067 14.9756 125.966 14C125.135 14.0415 124.121 14.549 123.533 15.2602C123.006 15.8693 122.539 16.8641 122.661 17.7983C123.594 17.8797 124.526 17.3317 125.114 16.6407Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.955 17.982C124.601 17.9011 123.448 18.7518 122.801 18.7518C122.154 18.7518 121.163 18.0224 120.092 18.0421C118.696 18.0629 117.402 18.8524 116.694 20.1079C115.238 22.6196 116.31 26.3453 117.726 28.3909C118.414 29.4028 119.242 30.5174 120.334 30.4769C121.366 30.4365 121.77 29.8087 123.024 29.8087C124.277 29.8087 124.641 30.4769 125.733 30.4567C126.865 30.4365 127.573 29.4443 128.261 28.4313C129.049 27.2779 129.373 26.1639 129.393 26.1027C129.373 26.0825 127.209 25.2515 127.189 22.7606C127.169 20.6751 128.888 19.6834 128.969 19.6217C127.998 18.1847 126.481 18.0224 125.955 17.982Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M136.131 23.1804H138.834C140.886 23.1804 142.053 22.0752 142.053 20.1592C142.053 18.2432 140.886 17.1478 138.845 17.1478H136.131V23.1804ZM139.466 15.1582C142.411 15.1582 144.461 17.1903 144.461 20.1483C144.461 23.1172 142.369 25.1596 139.392 25.1596H136.131V30.3498H133.775V15.1582H139.466Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.198 26.224V25.3712L149.579 25.5397C148.106 25.6341 147.339 26.182 147.339 27.14C147.339 28.0664 148.138 28.6667 149.39 28.6667C150.988 28.6667 152.198 27.6449 152.198 26.224ZM145.046 27.2032C145.046 25.2551 146.529 24.1395 149.263 23.971L152.198 23.7922V22.9498C152.198 21.7181 151.388 21.0442 149.947 21.0442C148.758 21.0442 147.896 21.6548 147.717 22.5916H145.592C145.656 20.6232 147.507 19.1914 150.01 19.1914C152.703 19.1914 154.459 20.602 154.459 22.7917V30.351H152.282V28.5298H152.229C151.609 29.719 150.241 30.4666 148.758 30.4666C146.571 30.4666 145.046 29.1612 145.046 27.2032Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M156.461 34.4145V32.5934C156.608 32.6141 156.965 32.6354 157.155 32.6354C158.196 32.6354 158.785 32.1932 159.142 31.0564L159.353 30.3824L155.366 19.3281H157.827L160.604 28.298H160.657L163.434 19.3281H165.832L161.698 30.9402C160.752 33.6038 159.668 34.4778 157.376 34.4778C157.197 34.4778 156.618 34.4565 156.461 34.4145Z' fill='white'/%3E%3C/svg%3E%0A",alt:""}),null),canMakePayment:e=>{var t,n,r;return!(null===(t=null===(n=Object(l.c)())||void 0===n?void 0:n.isAdmin)||void 0===t||!t)||!(null===(r=Object(l.c)())||void 0===r||!r.shouldShowPaymentRequestButton)&&Object(C.a)().then(t=>{var n,r,o,a,s;const u={order_data:{total:{label:"Total",amount:i()(null!==(n=null==e||null===(r=e.cartTotals)||void 0===r?void 0:r.total_price)&&void 0!==n?n:0,10),pending:!0},currency:null==e||null===(o=e.cartTotals)||void 0===o||null===(a=o.currency_code)||void 0===a?void 0:a.toLowerCase(),country_code:null===(s=Object(c.getSetting)("baseLocation",{}))||void 0===s?void 0:s.country,displayItems:[]},shipping_required:!1};return Object(l.a)(t,u).canMakePayment()})},paymentMethodId:"stripe",supports:{features:null!==(j=null===(x=Object(l.c)())||void 0===x?void 0:x.supports)&&void 0!==j?j:[]}};t.a=R},,,function(e,t,n){var r=n(198);e.exports=r},function(e,t,n){n(199);var r=n(27);e.exports=r.parseInt},function(e,t,n){var r=n(12),o=n(200);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(9),o=n(153).trim,i=n(116),c=r.parseInt,a=/^[+-]?0[Xx]/,s=8!==c(i+"08")||22!==c(i+"0x16");e.exports=s?function(e,t){var n=o(String(e));return c(n,t>>>0||(a.test(n)?16:10))}:c},function(e,t,n){var r=n(202);e.exports=r},function(e,t,n){var r=n(203),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||e instanceof Array&&t===o.slice?r:t}},function(e,t,n){n(204);var r=n(28);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(12),o=n(17),i=n(101),c=n(89),a=n(40),s=n(38),u=n(144),l=n(10),p=n(83)("slice"),f=l("species"),d=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,l,p=s(this),m=a(p.length),y=c(e,m),h=c(void 0===t?m:t,m);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(p,y,h);for(r=new(void 0===n?Array:n)(v(h-y,0)),l=0;y<h;y++,l++)y in p&&u(r,l,p[y]);return r.length=l,r}})},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(238)},,,,,,,,function(e,t,n){var r=n(239);e.exports=r},function(e,t,n){n(240);var r=n(27);e.exports=r.Object.entries},function(e,t,n){var r=n(12),o=n(241).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(24),o=n(82),i=n(38),c=n(87).f,a=function(e){return function(t){for(var n,a=i(t),s=o(a),u=s.length,l=0,p=[];u>l;)n=s[l++],r&&!c.call(a,n)||p.push(e?[n,a[n]]:a[n]);return p}};e.exports={entries:a(!0),values:a(!1)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(148),o=n(8),i=n.n(o),c=n(0),a=n(62),s=n.n(a),u=n(1),l=n(23);const p=(e,t,n,r)=>{Object(c.useEffect)(()=>{const o=t(async({processingResponse:t})=>{const o=t.paymentDetails||{},i=await(({stripe:e,paymentDetails:t,errorContext:n,errorType:r,successType:o})=>{const i={type:o};if(!t.setup_intent_secret&&!t.payment_intent_secret)return!0;const c=!!t.setup_intent_secret,a=t.verification_endpoint,s=c?t.setup_intent_secret:t.payment_intent_secret;return e[c?"confirmCardSetup":"confirmCardPayment"](s).then((function(e){if(e.error)throw e.error;const t=e[c?"setupIntent":"paymentIntent"];return"requires_capture"!==t.status&&"succeeded"!==t.status||(i.redirectUrl=a),i})).catch((function(e){return i.type=r,i.message=e.message,i.retry=!0,i.messageContext=n,window.fetch(a+"&is_ajax"),i}))})({stripe:e,paymentDetails:o,errorContext:r.noticeContexts.PAYMENTS,errorType:r.responseTypes.ERROR,successType:r.responseTypes.SUCCESS});return i.type===r.responseTypes.ERROR&&i.retry&&n(""),i});return()=>o()},[t,r.noticeContexts.PAYMENTS,r.responseTypes.ERROR,r.responseTypes.SUCCESS,n,e])},f=()=>{},d=({eventRegistration:e,emitResponse:t})=>{const n=Object(l.useStripe)(),{onCheckoutAfterProcessingWithSuccess:r}=e;return p(n,r,f,t),null};var v=n(78),m=n.n(v),y=n(230),h=n.n(y),g=n(29),b=n(16),_=n(105),w=n(7);const E={style:{base:{iconColor:"#666EE8",color:"#31325F",fontSize:((e,t,n)=>{let r={};if("object"==typeof document&&"function"==typeof document.querySelector&&"function"==typeof window.getComputedStyle){const e=document.querySelector(".wc-block-checkout");e&&(r=window.getComputedStyle(e))}return r.fontSize||"16px"})(),lineHeight:1.375,"::placeholder":{color:"#fff"}}},classes:{focus:"focused",empty:"empty",invalid:"has-error"}},O=e=>{const[t,n]=Object(c.useState)(!1),[r,o]=Object(c.useState)({...E,...e}),[i,a]=Object(c.useState)("");return Object(c.useEffect)(()=>{const e=t?"#CFD7E0":"#fff";o(n=>{const r=void 0!==n.showIcon?{showIcon:t}:{};return{...n,style:{...n.style,base:{...n.style.base,"::placeholder":{color:e}}},...r}})},[t]),{options:r,onActive:Object(c.useCallback)(e=>{n(!e||(e=>!e))},[n]),error:i,setError:a}},j=({inputErrorComponent:e,onChange:t})=>{const[n,r]=Object(c.useState)(!0),{options:o,onActive:i,error:a,setError:s}=O({hidePostalCode:!0});return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"wc-block-gateway-container wc-inline-card-element"},Object(c.createElement)(l.CardElement,{id:"wc-stripe-inline-card-element",className:"wc-block-gateway-input",options:o,onBlur:()=>i(n),onFocus:()=>i(n),onChange:e=>{e.error?s(e.error.message):s(""),r(e.empty),t(e)}}),Object(c.createElement)("label",{htmlFor:"wc-stripe-inline-card-element"},Object(u.__)("Credit Card Information","woocommerce-gateway-stripe"))),Object(c.createElement)(e,{errorMessage:a}))},x=({onChange:e,inputErrorComponent:t})=>{const[n,r]=Object(c.useState)({cardNumber:!0,cardExpiry:!0,cardCvc:!0}),{options:o,onActive:i,error:a,setError:s}=O({showIcon:!1}),{options:p,onActive:f,error:d,setError:v}=O(),{options:m,onActive:y,error:h,setError:g}=O(),b=(t,o)=>i=>{i.error?t(i.error.message):t(""),r({...n,[o]:i.empty}),e(i)};return Object(c.createElement)("div",{className:"wc-block-card-elements"},Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-number-element"},Object(c.createElement)(l.CardNumberElement,{onChange:b(s,"cardNumber"),options:o,className:"wc-block-gateway-input",id:"wc-stripe-card-number-element",onFocus:()=>i(n.cardNumber),onBlur:()=>i(n.cardNumber)}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-number-element"},Object(u.__)("Card Number","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:a})),Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-expiry-element"},Object(c.createElement)(l.CardExpiryElement,{onChange:b(v,"cardExpiry"),options:p,className:"wc-block-gateway-input",onFocus:()=>f(n.cardExpiry),onBlur:()=>f(n.cardExpiry),id:"wc-stripe-card-expiry-element"}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-expiry-element"},Object(u.__)("Expiry Date","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:d})),Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-cvc-element"},Object(c.createElement)(l.CardCvcElement,{onChange:b(g,"cardCvc"),options:m,className:"wc-block-gateway-input",onFocus:()=>y(n.cardCvc),onBlur:()=>y(n.cardCvc),id:"wc-stripe-card-code-element"}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-code-element"},Object(u.__)("CVV/CVC","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:h})))},C=()=>{var e,t,n;return m()(e=h()(null!==(t=null===(n=Object(w.c)())||void 0===n?void 0:n.icons)&&void 0!==t?t:{})).call(e,([e,{src:t,alt:n}])=>({id:e,src:t,alt:n}))},S=({billing:e,eventRegistration:t,emitResponse:n,components:r})=>{var o;const{ValidationInputError:i,PaymentMethodIcons:a}=r,[s,u]=Object(c.useState)(""),f=Object(l.useStripe)(),d=((e,t,n,r,o,i)=>{const[a,s]=Object(c.useState)(""),u=Object(c.useCallback)(e=>{var t;const n=e.error.type,r=e.error.code||"",o=null!==(t=Object(g.a)(n,r))&&void 0!==t?t:e.error.message;return s(o),o},[]),{onCheckoutAfterProcessingWithSuccess:f,onPaymentProcessing:d,onCheckoutAfterProcessingWithError:v}=e;return p(i,f,r,o),((e,t,n,r,o,i,a,s)=>{const u=Object(l.useElements)();Object(c.useEffect)(()=>{const c=s(async()=>{try{var c,s;const p=r.billingData;if(t)return{type:o.responseTypes.ERROR,message:t};if(""!==i)return{type:o.responseTypes.SUCCESS,meta:{paymentMethodData:{paymentMethod:_.a,paymentRequestType:"cc",stripe_source:i},billingData:p}};const f={address:{line1:p.address_1,line2:p.address_2,city:p.city,state:p.state,postal_code:p.postcode,country:p.country}};p.phone&&(f.phone=p.phone),p.email&&(f.email=p.email),(p.first_name||p.last_name)&&(f.name=`${p.first_name} ${p.last_name}`);const d=await(async e=>{var t;const r="yes"===(null===(t=Object(w.c)())||void 0===t?void 0:t.inline_cc_form)?l.CardElement:l.CardNumberElement;return await n.createSource(null==u?void 0:u.getElement(r),{type:"card",owner:e})})(f);if(d.error)return{type:o.responseTypes.ERROR,message:e(d)};if(!d.source||!d.source.id)throw new Error(Object(g.a)(b.b.API_ERROR));return a(d.source.id),{type:o.responseTypes.SUCCESS,meta:{paymentMethodData:{stripe_source:d.source.id,billing_email:f.email,billing_first_name:null!==(c=null==p?void 0:p.first_name)&&void 0!==c?c:"",billing_last_name:null!==(s=null==p?void 0:p.last_name)&&void 0!==s?s:"",paymentMethod:_.a,paymentRequestType:"cc"},billingData:p}}}catch(e){return{type:o.responseTypes.ERROR,message:e}}});return()=>{c()}},[s,r.billingData,n,i,a,e,t,o.noticeContexts.PAYMENTS,o.responseTypes.ERROR,o.responseTypes.SUCCESS,u])})(u,a,i,t,o,n,r,d),Object(c.useEffect)(()=>{const e=v(({processingResponse:e})=>{var t;return null==e||null===(t=e.paymentDetails)||void 0===t||!t.errorMessage||{type:o.responseTypes.ERROR,message:e.paymentDetails.errorMessage,messageContext:o.noticeContexts.PAYMENTS}});return()=>{e()}},[v,o.noticeContexts.PAYMENTS,o.responseTypes.ERROR]),u})(t,e,s,u,n,f),v=e=>{e.error&&d(e),u("")},m=C(),y="yes"===(null===(o=Object(w.c)())||void 0===o?void 0:o.inline_cc_form)?Object(c.createElement)(j,{onChange:v,inputErrorComponent:i}):Object(c.createElement)(x,{onChange:v,inputErrorComponent:i});return Object(c.createElement)(c.Fragment,null,y,a&&m.length&&Object(c.createElement)(a,{icons:m,align:"left"}))},R=e=>{const{stripe:t}=e;return Object(c.createElement)(l.Elements,{stripe:t},Object(c.createElement)(S,e))};var T,I,A,P,k,N,L=n(120);const M=Object(L.a)(),D=({RenderedComponent:e,...t})=>{const[n,r]=Object(c.useState)("");return Object(c.useEffect)(()=>{s.a.resolve(M).then(({error:e})=>{e&&r(e.message)})},[r]),Object(c.useEffect)(()=>{if(n)throw new Error(n)},[n]),Object(c.createElement)(e,i()({stripe:M},t))},V=C();var B={name:_.a,label:Object(c.createElement)(e=>{var t,n;const{PaymentMethodLabel:r}=e.components,o=null!==(t=null===(n=Object(w.c)())||void 0===n?void 0:n.title)&&void 0!==t?t:Object(u.__)("Credit / Debit Card","woocommerce-gateway-stripe");return Object(c.createElement)(r,{text:o})},null),content:Object(c.createElement)(D,{RenderedComponent:R}),edit:Object(c.createElement)(D,{RenderedComponent:R}),savedTokenComponent:Object(c.createElement)(D,{RenderedComponent:({stripe:e,...t})=>Object(c.createElement)(l.Elements,{stripe:e},Object(c.createElement)(d,t))}),icons:V,canMakePayment:()=>M,ariaLabel:Object(u.__)("Stripe Credit Card payment method","woocommerce-gateway-stripe"),supports:{showSavedCards:null!==(T=null===(I=Object(w.c)())||void 0===I?void 0:I.showSavedCards)&&void 0!==T&&T,showSaveOption:null!==(A=null===(P=Object(w.c)())||void 0===P?void 0:P.showSaveOption)&&void 0!==A&&A,features:null!==(k=null===(N=Object(w.c)())||void 0===N?void 0:N.supports)&&void 0!==k?k:[]}},q=n(194);Object(r.registerPaymentMethod)(B),Object(r.registerExpressPaymentMethod)(q.a)}]);
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.i18n},,,,,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return a}));var r=n(133);const o=()=>{const e=Object(r.getSetting)("stripe_data",null);if(!e)throw new Error("Stripe initialization data is not available");return e},i=(e,t)=>{var n,r;const i={total:t.order_data.total,currency:t.order_data.currency,country:t.order_data.country_code,requestPayerName:!0,requestPayerEmail:!0,requestPayerPhone:null===(n=o())||void 0===n||null===(r=n.checkout)||void 0===r?void 0:r.needs_payer_phone,requestShipping:!!t.shipping_required,displayItems:t.order_data.displayItems};return"PR"===i.country&&(i.country="US"),e.paymentRequest(i)},c=(e,t)=>{const n={total:t.order_data.total,currency:t.order_data.currency,displayItems:t.order_data.displayItems};e.update(n)},a=()=>{var e;const t=null===(e=o())||void 0===e?void 0:e.key;if(!t)throw new Error("There is no api key available for stripe. Make sure it is available on the wc.stripe_data.stripe.key property.");return t}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(99))},function(e,t,n){var r=n(9),o=n(76),i=n(19),c=n(77),a=n(67),s=n(103),u=o("wks"),l=r.Symbol,p=s?l:l&&l.withoutSetter||c;e.exports=function(e){return i(u,e)&&(a||"string"==typeof u[e])||(a&&i(l,e)?u[e]=l[e]:u[e]=p("Symbol."+e)),u[e]}},function(e,t,n){"use strict";var r=n(9),o=n(74).f,i=n(83),c=n(24),a=n(39),s=n(20),u=n(19),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,p,f,d,v,m,y,h,g=e.target,b=e.global,_=e.stat,w=e.proto,E=b?r:_?r[g]:(r[g]||{}).prototype,O=b?c:c[g]||(c[g]={}),j=O.prototype;for(f in t)n=!i(b?f:g+(_?".":"#")+f,e.forced)&&E&&u(E,f),v=O[f],n&&(m=e.noTargetGet?(h=o(E,f))&&h.value:E[f]),d=n&&m?m:t[f],n&&typeof v==typeof d||(y=e.bind&&n?a(d,r):e.wrap&&n?l(d):w&&"function"==typeof d?a(Function.call,d):d,(e.sham||d&&d.sham||v&&v.sham)&&s(y,"sham",!0),O[f]=y,w&&(u(c,p=g+"Prototype")||s(c,p,{}),c[p][f]=d,e.real&&j&&!j[f]&&s(j,f,d)))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},,,function(e,t,n){e.exports=n(106)},,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));const r={INVALID_EMAIL:"email_invalid",INVALID_REQUEST:"invalid_request_error",API_CONNECTION:"api_connection_error",API_ERROR:"api_error",AUTHENTICATION_ERROR:"authentication_error",RATE_LIMIT_ERROR:"rate_limit_error",CARD_ERROR:"card_error",VALIDATION_ERROR:"validation_error"},o={INVALID_NUMBER:"invalid_number",INVALID_EXPIRY_MONTH:"invalid_expiry_month",INVALID_EXPIRY_YEAR:"invalid_expiry_year",INVALID_CVC:"invalid_cvc",INCORRECT_NUMBER:"incorrect_number",INCOMPLETE_NUMBER:"incomplete_number",INCOMPLETE_CVC:"incomplete_cvc",INCOMPLETE_EXPIRY:"incomplete_expiry",EXPIRED_CARD:"expired_card",INCORRECT_CVC:"incorrect_cvc",INCORRECT_ZIP:"incorrect_zip",INVALID_EXPIRY_YEAR_PAST:"invalid_expiry_year_past",CARD_DECLINED:"card_declined",MISSING:"missing",PROCESSING_ERROR:"processing_error"}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(21),o=n(38),i=n(34);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(12);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},,function(e,t){e.exports={}},function(e,t,n){var r=n(24);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(){}function i(){}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,i.resetWarningCache=o;var c=function(e,t){return function(e){e.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}()}(t={exports:{}}),t.exports}(),a=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!a(t)||!a(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o="[object Object]"===Object.prototype.toString.call(t);if(o!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!o&&!r)return!1;var i=Object.keys(t),c=Object.keys(n);if(i.length!==c.length)return!1;for(var s={},u=0;u<i.length;u+=1)s[i[u]]=!0;for(var l=0;l<c.length;l+=1)s[c[l]]=!0;var p=Object.keys(s);if(p.length!==i.length)return!1;var f=t,d=n;return p.every((function(t){return e(f[t],d[t])}))},u=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},l=function(e){if(null===e||a(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=t.createContext(null);p.displayName="ElementsContext";var f=function(e){var n,o,i=e.stripe,c=e.options,f=e.children,d=t.useRef(!1),v=t.useRef(!0),m=t.useMemo((function(){return function(e){if(function(e){return a(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(l)};var t=l(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}}(i)}),[i]),y=(n=t.useState((function(){return{stripe:null,elements:null}})),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}}(n,o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=y[0],g=y[1],b=u(i),_=u(c);return null!==b&&(b!==i&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(c,_)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),d.current||("sync"===m.tag&&(d.current=!0,g({stripe:m.stripe,elements:m.stripe.elements(c)})),"async"===m.tag&&(d.current=!0,m.stripePromise.then((function(e){e&&v.current&&g({stripe:e,elements:e.elements(c)})})))),t.useEffect((function(){return function(){v.current=!1}}),[]),t.useEffect((function(){var e=h.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),t.createElement(p.Provider,{value:h},f)};f.propTypes={stripe:c.any,options:c.object};var d=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(p),e)},v=function(e){return(0,e.children)(d("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var m=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return a(e)?(e.paymentRequest,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["paymentRequest"])):{}},h=function(){},g=function(e,n){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){d("mounts <".concat(o,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,c=n.options,a=void 0===c?{}:c,u=n.onBlur,l=void 0===u?h:u,p=n.onFocus,f=void 0===p?h:p,v=n.onReady,g=void 0===v?h:v,b=n.onChange,_=void 0===b?h:b,w=n.onEscape,E=void 0===w?h:w,O=n.onClick,j=void 0===O?h:O,x=d("mounts <".concat(o,">")).elements,C=t.useRef(null),S=t.useRef(null),R=m(g),T=m(l),I=m(f),A=m(j),P=m(_),k=m(E);t.useLayoutEffect((function(){if(null==C.current&&x&&null!=S.current){var t=x.create(e,a);C.current=t,t.mount(S.current),t.on("ready",(function(){return R(t)})),t.on("change",P),t.on("blur",T),t.on("focus",I),t.on("escape",k),t.on("click",A)}}));var N=t.useRef(a);return t.useEffect((function(){N.current&&N.current.paymentRequest!==a.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(a);0===Object.keys(e).length||s(e,y(N.current))||C.current&&(C.current.update(e),N.current=a)}),[a]),t.useLayoutEffect((function(){return function(){C.current&&C.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:S})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=o,i.__elementType=e,i},b="undefined"==typeof window,_=g("auBankAccount",b),w=g("card",b),E=g("cardNumber",b),O=g("cardExpiry",b),j=g("cardCvc",b),x=g("fpxBank",b),C=g("iban",b),S=g("idealBank",b),R=g("p24Bank",b),T=g("epsBank",b),I=g("payment",b),A=g("paymentRequestButton",b),P=g("afterpayClearpayMessage",b);e.AfterpayClearpayMessageElement=P,e.AuBankAccountElement=_,e.CardCvcElement=j,e.CardElement=w,e.CardExpiryElement=O,e.CardNumberElement=E,e.Elements=f,e.ElementsConsumer=v,e.EpsBankElement=T,e.FpxBankElement=x,e.IbanElement=C,e.IdealBankElement=S,e.P24BankElement=R,e.PaymentElement=I,e.PaymentRequestButtonElement=A,e.useElements=function(){return d("calls useElements()").elements},e.useStripe=function(){return d("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1))},,,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(48),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return v}));var r=n(15),o=n.n(r),i=n(44),c=n.n(i),a=n(149),s=n.n(a),u=n(63),l=n.n(u),p=n(2),f=n(18);const d=()=>{if(!wc_stripe_upe_params)throw new Error("Stripe initialization data is not available");return wc_stripe_upe_params},v=(e,t="")=>{switch(e){case f.b.INVALID_EMAIL:return Object(p.__)("Invalid email address, please correct and try again.","woocommerce-gateway-stripe");case(e=>{var t;return o()(t=[f.b.INVALID_REQUEST,f.b.API_CONNECTION,f.b.API_ERROR,f.b.AUTHENTICATION_ERROR,f.b.RATE_LIMIT_ERROR]).call(t,e)})(e):return Object(p.__)("Unable to process this payment, please try again or use alternative method.","woocommerce-gateway-stripe");case f.b.CARD_ERROR:return(e=>({[f.a.INVALID_NUMBER]:Object(p.__)("The card number is not a valid credit card number.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_MONTH]:Object(p.__)("The card expiration month is invalid.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_YEAR]:Object(p.__)("The card expiration year is invalid.","woocommerce-gateway-stripe"),[f.a.INVALID_CVC]:Object(p.__)("The card security code is invalid.","woocommerce-gateway-stripe"),[f.a.INCORRECT_NUMBER]:Object(p.__)("The card number is incorrect.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_NUMBER]:Object(p.__)("The card number is incomplete.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_CVC]:Object(p.__)("The card security code is incomplete.","woocommerce-gateway-stripe"),[f.a.INCOMPLETE_EXPIRY]:Object(p.__)("The card expiration date is incomplete.","woocommerce-gateway-stripe"),[f.a.EXPIRED_CARD]:Object(p.__)("The card has expired.","woocommerce-gateway-stripe"),[f.a.INCORRECT_CVC]:Object(p.__)("The card security code is incorrect.","woocommerce-gateway-stripe"),[f.a.INCORRECT_ZIP]:Object(p.__)("The card zip code failed validation.","woocommerce-gateway-stripe"),[f.a.INVALID_EXPIRY_YEAR_PAST]:Object(p.__)("The card expiration year is in the past","woocommerce-gateway-stripe"),[f.a.CARD_DECLINED]:Object(p.__)("The card was declined.","woocommerce-gateway-stripe"),[f.a.MISSING]:Object(p.__)("There is no card on a customer that is being charged.","woocommerce-gateway-stripe"),[f.a.PROCESSING_ERROR]:Object(p.__)("An error occurred while processing the card.","woocommerce-gateway-stripe")}[e]||null))(t);case f.b.VALIDATION_ERROR:return""}return null},m=(e="always")=>{var t,n;const r=null===(t=d())||void 0===t?void 0:t.paymentMethodsConfig,o=c()(n=s()(r)).call(n,e=>r[e].isReusable);return l()(o).call(o,(t,n)=>(t[n]=e,t),{})}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(50),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(24),o=n(9),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=!0},function(e,t,n){var r=n(21),o=n(65),i=n(22),c=n(49),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(i(e),t=c(t,!0),i(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(29),o=n(9);e.exports="process"==r(o.process)},function(e,t,n){var r,o,i=n(9),c=n(60),a=i.process,s=a&&a.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t){e.exports={}},function(e,t,n){e.exports=n(123)},function(e,t){e.exports=window.jQuery},,,function(e,t,n){var r=n(12),o=n(29),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},,,function(e,t,n){e.exports=n(158)},,,function(e,t,n){var r=n(9),o=n(100),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(30),o=n(35),i=n(90),c=function(e){return function(t,n,c){var a,s=r(t),u=o(s.length),l=i(c,u);if(e&&n!=n){for(;u>l;)if((a=s[l++])!=a)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},function(e,t){e.exports={}},function(e,t,n){var r=n(9),o=n(17),i=r.document,c=o(i)&&o(i.createElement);e.exports=function(e){return c?i.createElement(e):{}}},function(e,t,n){var r=n(36);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(20);e.exports=function(e,t,n,o){o&&o.enumerable?e[t]=n:r(e,t,n)}},,function(e,t,n){e.exports=n(127)},,function(e,t,n){var r=n(21),o=n(12),i=n(59);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(102),o=n(78);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(41),o=n(42),i=n(12);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},,,function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(80),o=n(38).f,i=n(20),c=n(19),a=n(154),s=n(10)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;c(l,s)||o(l,s,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},function(e,t,n){var r=n(12),o=n(10),i=n(42),c=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[c]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){e.exports=n(177)},function(e,t,n){var r=n(21),o=n(70),i=n(34),c=n(30),a=n(49),s=n(19),u=n(65),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=c(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(76),o=n(77),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(37),o=n(56);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(80),o=n(29),i=n(10)("toStringTag"),c="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:c?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(10)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r,o,i,c=n(157),a=n(9),s=n(17),u=n(20),l=n(19),p=n(56),f=n(75),d=n(58),v=a.WeakMap;if(c){var m=p.state||(p.state=new v),y=m.get,h=m.has,g=m.set;r=function(e,t){return t.facade=e,g.call(m,e,t),t},o=function(e){return y.call(m,e)||{}},i=function(e){return h.call(m,e)}}else{var b=f("state");d[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(12),o=/#|\.prototype\./,i=function(e,t){var n=a[c(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},c=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(19),o=n(40),i=n(75),c=n(152),a=i("IE_PROTO"),s=Object.prototype;e.exports=c?Object.getPrototypeOf:function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(22),o=n(139),i=n(35),c=n(39),a=n(118),s=n(140),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,p,f,d,v,m,y,h=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=c(t,h,1+g+_),E=function(e){return l&&s(l),new u(!0,e)},O=function(e){return g?(r(e),_?w(e[0],e[1],E):w(e[0],e[1])):_?w(e,E):w(e)};if(b)l=e;else{if("function"!=typeof(p=a(e)))throw TypeError("Target is not iterable");if(o(p)){for(f=0,d=i(e.length);d>f;f++)if((v=O(e[f]))&&v instanceof u)return v;return new u(!1)}l=p.call(e)}for(m=l.next;!(y=m.call(l)).done;){try{v=O(y.value)}catch(e){throw s(l),e}if("object"==typeof v&&v&&v instanceof u)return v}return new u(!1)}},function(e,t,n){"use strict";var r=n(32),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(39),o=n(48),i=n(40),c=n(35),a=n(122),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,p=6==e,f=7==e,d=5==e||p;return function(v,m,y,h){for(var g,b,_=i(v),w=o(_),E=r(m,y,3),O=c(w.length),j=0,x=h||a,C=t?x(v,O):n||f?x(v,0):void 0;O>j;j++)if((d||j in w)&&(b=E(g=w[j],j,_),e))if(t)C[j]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return j;case 2:s.call(C,g)}else switch(e){case 4:return!1;case 7:s.call(C,g)}return p?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},,,function(e,t,n){var r=n(50),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},,function(e,t,n){var r=n(29);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(112);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(10)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(12);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(9),o=n(20);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r,o=n(22),i=n(138),c=n(78),a=n(58),s=n(117),u=n(59),l=n(75)("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=r?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[l]=e):n=d(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(19),o=n(30),i=n(57).indexOf,c=n(58);e.exports=function(e,t){var n,a=o(e),s=0,u=[];for(n in a)!r(c,n)&&r(a,n)&&u.push(n);for(;t.length>s;)r(a,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(67);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r,o,i,c=n(12),a=n(84),s=n(20),u=n(19),l=n(10),p=n(37),f=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0);var v=null==r||c((function(){var e={};return r[f].call(e)!==e}));v&&(r={}),p&&!v||u(r,f)||s(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(107);e.exports=r},function(e,t,n){var r=n(108),o=n(110),i=Array.prototype,c=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?r:"string"==typeof e||e===c||e instanceof String&&t===c.includes?o:t}},function(e,t,n){n(109);var r=n(25);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(11),o=n(57).includes,i=n(82);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){n(111);var r=n(25);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(11),o=n(93),i=n(31);r({target:"String",proto:!0,forced:!n(94)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(17),o=n(29),i=n(10)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){e.exports=n(162)},,function(e,t,n){e.exports=n(208)},function(e,t,n){var r=n(22),o=n(153);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(36);e.exports=r("document","documentElement")},function(e,t,n){var r=n(79),o=n(43),i=n(10)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(56),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){"use strict";var r=n(11),o=n(148),i=n(84),c=n(116),a=n(71),s=n(20),u=n(61),l=n(10),p=n(37),f=n(43),d=n(105),v=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,y=l("iterator"),h=function(){return this};e.exports=function(e,t,n,l,d,g,b){o(n,t,l);var _,w,E,O=function(e){if(e===d&&R)return R;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",x=!1,C=e.prototype,S=C[y]||C["@@iterator"]||d&&C[d],R=!m&&S||O(d),T="Array"==t&&C.entries||S;if(T&&(_=i(T.call(new e)),v!==Object.prototype&&_.next&&(p||i(_)===v||(c?c(_,v):"function"!=typeof _[y]&&s(_,y,h)),a(_,j,!0,!0),p&&(f[j]=h))),"values"==d&&S&&"values"!==S.name&&(x=!0,R=function(){return S.call(this)}),p&&!b||C[y]===R||s(C,y,R),f[t]=R,d)if(w={values:O("values"),keys:g?R:O("keys"),entries:O("entries")},b)for(E in w)(m||x||!(E in C))&&u(C,E,w[E]);else r({target:t,proto:!0,forced:m||x},w);return w}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r="stripe"},function(e,t,n){var r=n(17),o=n(92),i=n(10)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(124);e.exports=r},function(e,t,n){var r=n(125),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||e instanceof Array&&t===o.filter?r:t}},function(e,t,n){n(126);var r=n(25);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(11),o=n(87).filter;r({target:"Array",proto:!0,forced:!n(72)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(128);e.exports=r},function(e,t,n){var r=n(129),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?r:t}},function(e,t,n){n(130);var r=n(25);e.exports=r("Array").reduce},function(e,t,n){"use strict";var r=n(11),o=n(131).left,i=n(95),c=n(42),a=n(41);r({target:"Array",proto:!0,forced:!i("reduce")||!a&&c>79&&c<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(32),o=n(40),i=n(48),c=n(35),a=function(e){return function(t,n,a,s){r(n);var u=o(t),l=i(u),p=c(u.length),f=e?p-1:0,d=e?-1:1;if(a<2)for(;;){if(f in l){s=l[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in l&&(s=n(s,l[f],f,u));return s}};e.exports={left:a(!1),right:a(!0)}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t){e.exports=window.wc.wcSettings},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(73),o=n.n(r),i=n(150),c=n(8);const a=()=>new o.a(e=>{try{var t,n;const r=null!==(t=null===(n=Object(c.c)())||void 0===n?void 0:n.stripe_locale)&&void 0!==t?t:"auto";e(Object(i.a)(Object(c.b)(),{locale:r}))}catch(t){e({error:t})}})},,,function(e,t,n){var r=n(21),o=n(38),i=n(22),c=n(66);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=c(t),a=r.length,s=0;a>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){var r=n(10),o=n(43),i=r("iterator"),c=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||c[i]===e)}},function(e,t,n){var r=n(22);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){var r=n(9);e.exports=r.Promise},function(e,t,n){var r=n(22),o=n(32),i=n(10)("species");e.exports=function(e,t){var n,c=r(e).constructor;return void 0===c||null==(n=r(c)[i])?t:o(n)}},function(e,t,n){var r,o,i,c=n(9),a=n(12),s=n(39),u=n(117),l=n(59),p=n(144),f=n(41),d=c.location,v=c.setImmediate,m=c.clearImmediate,y=c.process,h=c.MessageChannel,g=c.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},E=function(e){return function(){w(e)}},O=function(e){w(e.data)},j=function(e){c.postMessage(e+"",d.protocol+"//"+d.host)};v&&m||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},f?r=function(e){y.nextTick(E(e))}:g&&g.now?r=function(e){g.now(E(e))}:h&&!p?(i=(o=new h).port2,o.port1.onmessage=O,r=s(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&d&&"file:"!==d.protocol&&!a(j)?(r=j,c.addEventListener("message",O,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:v,clear:m}},function(e,t,n){var r=n(60);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(22),o=n(17),i=n(86);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(147).charAt,o=n(81),i=n(120),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(e){c(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=a(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(50),o=n(31),i=function(e){return function(t,n){var i,c,a=String(o(t)),s=r(n),u=a.length;return s<0||s>=u?e?"":void 0:(i=a.charCodeAt(s))<55296||i>56319||s+1===u||(c=a.charCodeAt(s+1))<56320||c>57343?e?a.charAt(s):i:e?a.slice(s,s+2):c-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(105).IteratorPrototype,o=n(101),i=n(34),c=n(71),a=n(43),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),c(e,u,!1,!0),a[u]=s,e}},function(e,t,n){e.exports=n(191)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",c=null,a=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:t})}(r,n),r},s=Promise.resolve().then((function(){return e=null,null!==c?c:c=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(i),window.Stripe)t(window.Stripe);else try{var c=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var n=e[t];if(o.test(n.src))return n}return null}();c&&e?console.warn(i):c||(c=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(t);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n}(e)),c.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),c.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}));var e})),u=!1;s.catch((function(e){u||console.warn(e)}));var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];u=!0;var r=Date.now();return s.then((function(e){return a(e,t,r)}))}},,function(e,t,n){var r=n(12);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(80),o=n(79);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(10)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(9),o=n(119),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(159);e.exports=r},function(e,t,n){var r=n(160),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?r:t}},function(e,t,n){n(161);var r=n(25);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(11),o=n(87).map;r({target:"Array",proto:!0,forced:!n(72)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(163);e.exports=r},function(e,t,n){n(164);var r=n(24);e.exports=r.Object.entries},function(e,t,n){var r=n(11),o=n(165).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(21),o=n(66),i=n(30),c=n(70).f,a=function(e){return function(t){for(var n,a=i(t),s=o(a),u=s.length,l=0,p=[];u>l;)n=s[l++],r&&!c.call(a,n)||p.push(e?[n,a[n]]:a[n]);return p}};e.exports={entries:a(!0),values:a(!1)}},function(e,t,n){"use strict";var r=n(49),o=n(38),i=n(34);e.exports=function(e,t,n){var c=r(t);c in e?o.f(e,c,i(0,n)):e[c]=n}},,,,function(e,t){e.exports=window.wc.wcBlocksRegistry},,function(e,t,n){var r=n(61);e.exports=function(e,t,n){for(var o in t)n&&n.unsafe&&e[o]?e[o]=t[o]:r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(30),o=n(82),i=n(43),c=n(81),a=n(120),s=c.set,u=c.getterFor("Array Iterator");e.exports=a(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(31),o="["+n(132)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(c,"")),n}};e.exports={start:a(1),end:a(2),trim:a(3)}},,,function(e,t,n){var r=n(178);e.exports=r},function(e,t,n){n(179),n(180),n(181),n(186),n(187),n(188),n(146),n(189);var r=n(24);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(11),o=n(84),i=n(116),c=n(101),a=n(20),s=n(34),u=n(85),l=function(e,t){var n=this;if(!(n instanceof l))return new l(e,t);i&&(n=i(new Error(void 0),o(n))),void 0!==t&&a(n,"message",String(t));var r=[];return u(e,r.push,{that:r}),a(n,"errors",r),n};l.prototype=c(Error.prototype,{constructor:s(5,l),message:s(5,""),name:s(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(e,t){},function(e,t,n){"use strict";var r,o,i,c,a=n(11),s=n(37),u=n(9),l=n(36),p=n(141),f=n(61),d=n(172),v=n(71),m=n(182),y=n(17),h=n(32),g=n(155),b=n(119),_=n(85),w=n(156),E=n(142),O=n(143).set,j=n(183),x=n(145),C=n(185),S=n(86),R=n(104),T=n(81),I=n(83),A=n(10),P=n(41),k=n(42),N=A("species"),L="Promise",M=T.get,D=T.set,V=T.getterFor(L),B=p,q=u.TypeError,F=u.document,U=u.process,Y=l("fetch"),H=S.f,W=H,G=!!(F&&F.createEvent&&u.dispatchEvent),$="function"==typeof PromiseRejectionEvent,z=I(L,(function(){if(b(B)===String(B)){if(66===k)return!0;if(!P&&!$)return!0}if(s&&!B.prototype.finally)return!0;if(k>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),X=z||!w((function(e){B.all(e).catch((function(){}))})),Z=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;j((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var c,a,s,u=n[i++],l=o?u.ok:u.fail,p=u.resolve,f=u.reject,d=u.domain;try{l?(o||(2===e.rejection&&te(e),e.rejection=1),!0===l?c=r:(d&&d.enter(),c=l(r),d&&(d.exit(),s=!0)),c===u.promise?f(q("Promise-chain cycle")):(a=Z(c))?a.call(c,p,f):p(c)):f(r)}catch(e){d&&!s&&d.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&J(e)}))}},K=function(e,t,n){var r,o;G?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!$&&(o=u["on"+e])?o(r):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},J=function(e){O.call(u,(function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=R((function(){P?U.emit("unhandledRejection",r,n):K("unhandledrejection",n,r)})),e.rejection=P||ee(e)?2:1,t.error))throw t.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){O.call(u,(function(){var t=e.facade;P?U.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Q(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw q("Promise can't be resolved itself");var r=Z(t);r?j((function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,Q(e,!1))}catch(t){re({done:!1},t,e)}}};z&&(B=function(e){g(this,B,L),h(e),r.call(this);var t=M(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){D(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(e,t){var n=V(this),r=H(E(this,B));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=P?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},S.f=H=function(e){return e===B||e===i?new o(e):W(e)},s||"function"!=typeof p||(c=p.prototype.then,f(p.prototype,"then",(function(e,t){var n=this;return new B((function(e,t){c.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Y&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(B,Y.apply(u,arguments))}}))),a({global:!0,wrap:!0,forced:z},{Promise:B}),v(B,L,!1,!0),m(L),i=l(L),a({target:L,stat:!0,forced:z},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),a({target:L,stat:!0,forced:s||z},{resolve:function(e){return x(s&&this===i?B:this,e)}}),a({target:L,stat:!0,forced:X},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,i=R((function(){var n=h(t.resolve),i=[],c=0,a=1;_(e,(function(e){var s=c++,u=!1;i.push(void 0),a++,n.call(t,e).then((function(e){u||(u=!0,i[s]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=R((function(){var o=h(t.resolve);_(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){"use strict";var r=n(36),o=n(38),i=n(10),c=n(21),a=i("species");e.exports=function(e){var t=r(e),n=o.f;c&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r,o,i,c,a,s,u,l,p=n(9),f=n(74).f,d=n(143).set,v=n(144),m=n(184),y=n(41),h=p.MutationObserver||p.WebKitMutationObserver,g=p.document,b=p.process,_=p.Promise,w=f(p,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?c():i=void 0,e}}i=void 0,e&&e.enter()},v||y||m||!h||!g?_&&_.resolve?(u=_.resolve(void 0),l=u.then,c=function(){l.call(u,r)}):c=y?function(){b.nextTick(r)}:function(){d.call(p,r)}:(a=!0,s=g.createTextNode(""),new h(r).observe(s,{characterData:!0}),c=function(){s.data=a=!a})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,c()),i=t}},function(e,t,n){var r=n(60);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(9);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(11),o=n(32),i=n(86),c=n(104),a=n(85);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,u=c((function(){var n=o(t.resolve),i=[],c=0,s=1;a(e,(function(e){var o=c++,a=!1;i.push(void 0),s++,n.call(t,e).then((function(e){a||(a=!0,i[o]={status:"fulfilled",value:e},--s||r(i))}),(function(e){a||(a=!0,i[o]={status:"rejected",reason:e},--s||r(i))}))})),--s||r(i)}));return u.error&&s(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(32),i=n(36),c=n(86),a=n(104),s=n(85);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=c.f(t),r=n.resolve,u=n.reject,l=a((function(){var n=o(t.resolve),c=[],a=0,l=1,p=!1;s(e,(function(e){var o=a++,s=!1;c.push(void 0),l++,n.call(t,e).then((function(e){s||p||(p=!0,r(e))}),(function(e){s||p||(s=!0,c[o]=e,--l||u(new(i("AggregateError"))(c,"No one promise resolved")))}))})),--l||u(new(i("AggregateError"))(c,"No one promise resolved"))}));return l.error&&u(l.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(37),i=n(141),c=n(12),a=n(36),s=n(142),u=n(145),l=n(61);r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){n(173);var r=n(190),o=n(9),i=n(79),c=n(20),a=n(43),s=n(10)("toStringTag");for(var u in r){var l=o[u],p=l&&l.prototype;p&&i(p)!==s&&c(p,s,u),a[u]=a.Array}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(192);e.exports=r},function(e,t,n){n(193);var r=n(24);e.exports=r.Object.keys},function(e,t,n){var r=n(11),o=n(40),i=n(66);r({target:"Object",stat:!0,forced:n(12)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},,,,function(e,t,n){e.exports=n(204)},,,,,function(e,t,n){"use strict";var r=n(0),o=n(197),i=n.n(o),c=n(133),a=n(26),s=n(15),u=n.n(s),l=n(8);const p=({onButtonClicked:e})=>{var t,n;const{theme:o="dark",locale:i="en",height:c="44"}=null===(t=Object(l.c)())||void 0===t?void 0:t.button,a=["short","long"],{branded_type:s}=null===(n=Object(l.c)())||void 0===n?void 0:n.button,p=u()(a).call(a,s)?s:"long",f=((e,t,n)=>{const o="long"===e?`https://www.gstatic.com/instantbuy/svg/${t}/${n}.svg`:`https://www.gstatic.com/instantbuy/svg/${t}_gpay.svg`,[i,c]=Object(r.useState)(o);return Object(r.useEffect)(()=>{const e=document.createElement("img");e.addEventListener("error",()=>{c(`https://www.gstatic.com/instantbuy/svg/${t}/en.svg`)}),e.src=i},[i,t]),i})(p,"dark"===o?"dark":"light",i);return Object(r.createElement)("button",{type:"button",id:"wc-stripe-branded-button","aria-label":"Google Pay",className:`gpay-button ${o} ${p}`,style:{backgroundImage:`url(${f})`,height:c+"px"},onClick:e})};var f=n(2);const d=({onButtonClicked:e})=>{var t;const{theme:n="dark",height:o="44",customLabel:i=Object(f.__)("Buy now","woocommerce-gateway-stripe")}=null===(t=Object(l.c)())||void 0===t?void 0:t.button;return Object(r.createElement)("button",{type:"button",id:"wc-stripe-custom-button",className:`button ${n} is-active`,style:{height:o+"px"},onClick:e},i)};var v=n(45),m=n.n(v),y=n(115),h=n.n(y);const g=e=>({country:e.country,state:e.region,postcode:e.postalCode,city:e.city,address:void 0===e.addressLine[0]?"":e.addressLine[0],address_2:void 0===e.addressLine[1]?"":e.addressLine[1]}),b=(e,t="wc_stripe_")=>{var n,r,o;return null===(n=Object(l.c)())||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",t+e)},_=()=>{var e,t;const n={security:null===(e=Object(l.c)())||void 0===e||null===(t=e.nonce)||void 0===t?void 0:t.payment};return m.a.ajax({type:"POST",data:n,url:b("get_cart_details")})},w=e=>{const{shippingOption:t}=e;(e=>{var t,n,r;const o={security:null===(t=Object(l.c)())||void 0===t||null===(n=t.nonce)||void 0===n?void 0:n.update_shipping,shipping_method:[e.id],is_product_page:null===(r=Object(l.c)())||void 0===r?void 0:r.is_product_page};return m.a.ajax({type:"POST",data:o,url:b("update_shipping_method")})})(t).then(t=>{"success"===t.result&&e.updateWith({status:"success",total:t.total,displayItems:t.displayItems}),"fail"===t.result&&e.updateWith({status:"fail"})})},E=(e,t,n,o)=>{Object(r.useEffect)(()=>{const r=null==t?void 0:t.on("source",((e,t,n)=>r=>{var o,i,c,a,s,u;"yes"===(null===(o=Object(l.c)())||void 0===o||null===(i=o.stripe)||void 0===i?void 0:i.allow_prepaid_card)||"prepaid"!==(null==r||null===(c=r.source)||void 0===c||null===(a=c.card)||void 0===a?void 0:a.funding)?((e,t)=>{const n=((e,t)=>{var n,r,o,i,c,a,s,u,p,f,d,v,m,y,g,b,_,w,E,O;const{source:j}=e,x=null==j||null===(n=j.owner)||void 0===n?void 0:n.email,C=null==j||null===(r=j.owner)||void 0===r?void 0:r.phone,S=null==j||null===(o=j.owner)||void 0===o?void 0:o.address,R=null==j||null===(i=j.owner)||void 0===i?void 0:i.name,T=null==e?void 0:e.shippingAddress,I={_wpnonce:null===(c=Object(l.c)())||void 0===c||null===(a=c.nonce)||void 0===a?void 0:a.checkout,billing_first_name:null!==(s=null==R||null===(u=R.split(" "))||void 0===u||null===(p=h()(u).call(u,0,1))||void 0===p?void 0:p.join(" "))&&void 0!==s?s:"",billing_last_name:null!==(f=null==R||null===(d=R.split(" "))||void 0===d||null===(v=h()(d).call(d,1))||void 0===v?void 0:v.join(" "))&&void 0!==f?f:"",billing_company:"",billing_email:null!=x?x:null==e?void 0:e.payerEmail,billing_phone:null!=C?C:null==e||null===(m=e.payerPhone)||void 0===m?void 0:m.replace("/[() -]/g",""),billing_country:null!==(y=null==S?void 0:S.country)&&void 0!==y?y:"",billing_address_1:null!==(g=null==S?void 0:S.line1)&&void 0!==g?g:"",billing_address_2:null!==(b=null==S?void 0:S.line2)&&void 0!==b?b:"",billing_city:null!==(_=null==S?void 0:S.city)&&void 0!==_?_:"",billing_state:null!==(w=null==S?void 0:S.state)&&void 0!==w?w:"",billing_postcode:null!==(E=null==S?void 0:S.postal_code)&&void 0!==E?E:"",shipping_first_name:"",shipping_last_name:"",shipping_company:"",shipping_country:"",shipping_address_1:"",shipping_address_2:"",shipping_city:"",shipping_state:"",shipping_postcode:"",shipping_method:[null==e||null===(O=e.shippingOption)||void 0===O?void 0:O.id],order_comments:"",payment_method:"stripe",ship_to_different_address:1,terms:1,stripe_source:j.id,payment_request_type:t};var A,P,k,N,L,M,D,V,B,q;return T&&(I.shipping_first_name=null==T||null===(A=T.recipient)||void 0===A||null===(P=A.split(" "))||void 0===P||null===(k=h()(P).call(P,0,1))||void 0===k?void 0:k.join(" "),I.shipping_last_name=null==T||null===(N=T.recipient)||void 0===N||null===(L=N.split(" "))||void 0===L||null===(M=h()(L).call(L,1))||void 0===M?void 0:M.join(" "),I.shipping_company=null==T?void 0:T.organization,I.shipping_country=null==T?void 0:T.country,I.shipping_address_1=null!==(D=null==T||null===(V=T.addressLine)||void 0===V?void 0:V[0])&&void 0!==D?D:"",I.shipping_address_2=null!==(B=null==T||null===(q=T.addressLine)||void 0===q?void 0:q[1])&&void 0!==B?B:"",I.shipping_city=null==T?void 0:T.city,I.shipping_state=null==T?void 0:T.region,I.shipping_postcode=null==T?void 0:T.postalCode),I})(e,t);return m.a.ajax({type:"POST",data:n,dataType:"json",url:b("create_order")})})(r,t).then(((e,t,n)=>r=>{if("success"===r.result){t.complete("success");const o=(e=>{const t=e.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(t&&!(t.length<4))return{type:t[1],clientSecret:t[2],redirectUrl:decodeURIComponent(t[3])}})(r.redirect);if(!o||o.length<4)return void(window.location=r.redirect);const{type:i,clientSecret:c,redirectUrl:a}=o;((e,t,n)=>"si"===t?e.handleCardSetup(n):e.handleCardPayment(n))(e,i,c).then(((e,t)=>n=>{if(n.error)throw n.error;const r=((e,t)=>"si"===t?e.setupIntent:e.paymentIntent)(n,t);((e=>"requires_capture"===e.status)(r)||(e=>"succeeded"===e.status)(r))&&(window.location=e)})(a,i)).catch(e=>{n(e.message),m.a.get(a+"&is_ajax")})}else{var o,i;t.complete("fail");const e=document.createElement("div");e.innerHTML=r.messages;const c=null!==(o=null==e||null===(i=e.firstChild)||void 0===i?void 0:i.textContent)&&void 0!==o?o:"";n(c)}})(e,r,n)):n(null===(s=Object(l.c)())||void 0===s||null===(u=s.i18n)||void 0===u?void 0:u.no_prepaid_card)})(e,n,o));return()=>{null==r||r.removeEventListener("source")}},[e,t,n,o])},O=({billing:e,shippingData:t,onClick:n,onClose:o,setExpressPaymentError:i})=>{var c,s,u,f,v,y,h;const O=Object(a.useStripe)(),{needsShipping:j}=t,[x,C,S]=((e,t,n)=>{const[o,i]=Object(r.useState)(null),[c,a]=Object(r.useState)(null),[s,u]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{e&&(async()=>{const t=await _(),n=Object(l.a)(e,t),r=await n.canMakePayment();r?(i(n),a(()=>r.applePay?"apple_pay":r.googlePay?"google_pay":"payment_request_api")):i(null)})()},[e,t]),Object(r.useEffect)(()=>{o&&(async()=>{u(!0);const e=await _();Object(l.d)(o,e),u(!1)})()},[o,n.cartTotal,n.cartTotalItems,n.currency.code]),[o,c,s]})(O,j,e);((e,t)=>{Object(r.useEffect)(()=>{const n=null==e?void 0:e.on("shippingaddresschange",(e=>t=>{const{shippingAddress:n}=t;((e,t)=>{var n,r,o;const i={security:null===(n=Object(l.c)())||void 0===n||null===(r=n.nonce)||void 0===r?void 0:r.shipping,payment_request_type:t,is_product_page:null===(o=Object(l.c)())||void 0===o?void 0:o.is_product_page,...g(e)};return m.a.ajax({type:"POST",data:i,url:b("get_shipping_options")})})(n,e).then(e=>{t.updateWith({status:e.result,shippingOptions:e.shipping_options,total:e.total,displayItems:e.displayItems})})})(t));return()=>{null==n||n.removeEventListener("shippingaddresschange")}},[e,t])})(x,C),((e,t)=>{Object(r.useEffect)(()=>{const t=null==e?void 0:e.on("shippingoptionchange",w);return()=>{null==t||t.removeEventListener("shippingoptionchange")}},[e,t])})(x,C),E(O,x,C,i);const R=((e,t,n)=>Object(r.useCallback)((r,o)=>{var i;if(null!==(i=Object(l.c)())&&void 0!==i&&i.login_confirmation)return r.preventDefault(),void(e=>{var t,n,r;if(null===(t=Object(l.c)())||void 0===t||!t.login_confirmation)return;let o=null===(n=Object(l.c)())||void 0===n||null===(r=n.login_confirmation)||void 0===r?void 0:r.message;var i,c;"payment_request_api"!==e&&(o=o.replace(/\*\*.*?\*\*/,"apple_pay"===e?"Apple Pay":"Google Pay")),o=o.replace(/\*\*/g,""),confirm(o)&&(window.location.href=null===(i=Object(l.c)())||void 0===i||null===(c=i.login_confirmation)||void 0===c?void 0:c.redirect_url)})(e);t(""),n(),o&&o.show()},[e,t,n]))(C,i,n);((e,t)=>{Object(r.useEffect)(()=>{const n=null==e?void 0:e.on("cancel",t);return()=>{null==n||n.removeEventListener("cancel")}},[e,t])})(x,o);const{type:T="default",theme:I="dark",height:A="48"}=null===(c=Object(l.c)())||void 0===c?void 0:c.button,P={paymentRequestButton:{type:T,theme:I,height:A+"px"}},k=null===(s=Object(l.c)())||void 0===s||null===(u=s.button)||void 0===u?void 0:u.is_branded,N=null===(f=Object(l.c)())||void 0===f||null===(v=f.button)||void 0===v?void 0:v.branded_type,L=null===(y=Object(l.c)())||void 0===y||null===(h=y.button)||void 0===h?void 0:h.is_custom;return x?L?Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(d,{className:S?"wc-block-components-loading-mask__children":"",onButtonClicked:e=>{R(e,x)}})):k&&(()=>{const e=window.navigator.userAgent.toLowerCase(),t=/chrome/.test(e)&&!/edge|edg|opr|brave\//.test(e)&&"Google Inc."===window.navigator.vendor,n=t&&window.navigator.brave;return t&&!n})()?Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(p,{className:S?"wc-block-components-loading-mask__children":"",onButtonClicked:e=>{R(e,x)}})):(k&&(P.paymentRequestButton.type="long"===N?"buy":"default"),Object(r.createElement)("div",{className:S?"wc-block-components-loading-mask":""},Object(r.createElement)(a.PaymentRequestButtonElement,{className:S?"wc-block-components-loading-mask__children":"",onClick:R,options:{style:P,paymentRequest:x}}))):null};var j,x,C=n(135);const S=Object(C.a)(),R={name:"payment_request",content:Object(r.createElement)(e=>{const{stripe:t}=e;return Object(r.createElement)(a.Elements,{stripe:t},Object(r.createElement)(O,e))},{stripe:S}),edit:Object(r.createElement)(()=>Object(r.createElement)("img",{src:"data:image/svg+xml,%3Csvg width='264' height='48' viewBox='0 0 264 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='264' height='48' rx='3' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.114 16.6407C125.682 15.93 126.067 14.9756 125.966 14C125.135 14.0415 124.121 14.549 123.533 15.2602C123.006 15.8693 122.539 16.8641 122.661 17.7983C123.594 17.8797 124.526 17.3317 125.114 16.6407Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.955 17.982C124.601 17.9011 123.448 18.7518 122.801 18.7518C122.154 18.7518 121.163 18.0224 120.092 18.0421C118.696 18.0629 117.402 18.8524 116.694 20.1079C115.238 22.6196 116.31 26.3453 117.726 28.3909C118.414 29.4028 119.242 30.5174 120.334 30.4769C121.366 30.4365 121.77 29.8087 123.024 29.8087C124.277 29.8087 124.641 30.4769 125.733 30.4567C126.865 30.4365 127.573 29.4443 128.261 28.4313C129.049 27.2779 129.373 26.1639 129.393 26.1027C129.373 26.0825 127.209 25.2515 127.189 22.7606C127.169 20.6751 128.888 19.6834 128.969 19.6217C127.998 18.1847 126.481 18.0224 125.955 17.982Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M136.131 23.1804H138.834C140.886 23.1804 142.053 22.0752 142.053 20.1592C142.053 18.2432 140.886 17.1478 138.845 17.1478H136.131V23.1804ZM139.466 15.1582C142.411 15.1582 144.461 17.1903 144.461 20.1483C144.461 23.1172 142.369 25.1596 139.392 25.1596H136.131V30.3498H133.775V15.1582H139.466Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.198 26.224V25.3712L149.579 25.5397C148.106 25.6341 147.339 26.182 147.339 27.14C147.339 28.0664 148.138 28.6667 149.39 28.6667C150.988 28.6667 152.198 27.6449 152.198 26.224ZM145.046 27.2032C145.046 25.2551 146.529 24.1395 149.263 23.971L152.198 23.7922V22.9498C152.198 21.7181 151.388 21.0442 149.947 21.0442C148.758 21.0442 147.896 21.6548 147.717 22.5916H145.592C145.656 20.6232 147.507 19.1914 150.01 19.1914C152.703 19.1914 154.459 20.602 154.459 22.7917V30.351H152.282V28.5298H152.229C151.609 29.719 150.241 30.4666 148.758 30.4666C146.571 30.4666 145.046 29.1612 145.046 27.2032Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M156.461 34.4145V32.5934C156.608 32.6141 156.965 32.6354 157.155 32.6354C158.196 32.6354 158.785 32.1932 159.142 31.0564L159.353 30.3824L155.366 19.3281H157.827L160.604 28.298H160.657L163.434 19.3281H165.832L161.698 30.9402C160.752 33.6038 159.668 34.4778 157.376 34.4778C157.197 34.4778 156.618 34.4565 156.461 34.4145Z' fill='white'/%3E%3C/svg%3E%0A",alt:""}),null),canMakePayment:e=>{var t,n,r;return!(null===(t=null===(n=Object(l.c)())||void 0===n?void 0:n.isAdmin)||void 0===t||!t)||!(null===(r=Object(l.c)())||void 0===r||!r.shouldShowPaymentRequestButton)&&Object(C.a)().then(t=>{var n,r,o,a,s;const u={order_data:{total:{label:"Total",amount:i()(null!==(n=null==e||null===(r=e.cartTotals)||void 0===r?void 0:r.total_price)&&void 0!==n?n:0,10),pending:!0},currency:null==e||null===(o=e.cartTotals)||void 0===o||null===(a=o.currency_code)||void 0===a?void 0:a.toLowerCase(),country_code:null===(s=Object(c.getSetting)("baseLocation",{}))||void 0===s?void 0:s.country,displayItems:[]},shipping_required:!1};return Object(l.a)(t,u).canMakePayment()})},paymentMethodId:"stripe",supports:{features:null!==(j=null===(x=Object(l.c)())||void 0===x?void 0:x.supports)&&void 0!==j?j:[]}};t.a=R},,function(e,t,n){var r=n(205);e.exports=r},function(e,t,n){n(206);var r=n(24);e.exports=r.parseInt},function(e,t,n){var r=n(11),o=n(207);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(9),o=n(174).trim,i=n(132),c=r.parseInt,a=/^[+-]?0[Xx]/,s=8!==c(i+"08")||22!==c(i+"0x16");e.exports=s?function(e,t){var n=o(String(e));return c(n,t>>>0||(a.test(n)?16:10))}:c},function(e,t,n){var r=n(209);e.exports=r},function(e,t,n){var r=n(210),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||e instanceof Array&&t===o.slice?r:t}},function(e,t,n){n(211);var r=n(25);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(11),o=n(17),i=n(92),c=n(90),a=n(35),s=n(30),u=n(166),l=n(10),p=n(72)("slice"),f=l("species"),d=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,l,p=s(this),m=a(p.length),y=c(e,m),h=c(void 0===t?m:t,m);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(p,y,h);for(r=new(void 0===n?Array:n)(v(h-y,0)),l=0;y<h;y++,l++)y in p&&u(r,l,p[y]);return r.length=l,r}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(170),o=n(7),i=n.n(o),c=n(0),a=n(73),s=n.n(a),u=n(2),l=n(26);const p=(e,t,n,r)=>{Object(c.useEffect)(()=>{const o=t(async({processingResponse:t})=>{const o=t.paymentDetails||{},i=await(({stripe:e,paymentDetails:t,errorContext:n,errorType:r,successType:o})=>{const i={type:o};if(!t.setup_intent_secret&&!t.payment_intent_secret)return!0;const c=!!t.setup_intent_secret,a=t.verification_endpoint,s=c?t.setup_intent_secret:t.payment_intent_secret;return e[c?"confirmCardSetup":"confirmCardPayment"](s).then((function(e){if(e.error)throw e.error;const t=e[c?"setupIntent":"paymentIntent"];return"requires_capture"!==t.status&&"succeeded"!==t.status||(i.redirectUrl=a),i})).catch((function(e){return i.type=r,i.message=e.message,i.retry=!0,i.messageContext=n,window.fetch(a+"&is_ajax"),i}))})({stripe:e,paymentDetails:o,errorContext:r.noticeContexts.PAYMENTS,errorType:r.responseTypes.ERROR,successType:r.responseTypes.SUCCESS});return i.type===r.responseTypes.ERROR&&i.retry&&n(""),i});return()=>o()},[t,r.noticeContexts.PAYMENTS,r.responseTypes.ERROR,r.responseTypes.SUCCESS,n,e])},f=()=>{},d=({eventRegistration:e,emitResponse:t})=>{const n=Object(l.useStripe)(),{onCheckoutAfterProcessingWithSuccess:r}=e;return p(n,r,f,t),null};var v=n(53),m=n.n(v),y=n(113),h=n.n(y),g=n(33),b=n(18),_=n(121),w=n(8);const E={style:{base:{iconColor:"#666EE8",color:"#31325F",fontSize:((e,t,n)=>{let r={};if("object"==typeof document&&"function"==typeof document.querySelector&&"function"==typeof window.getComputedStyle){const e=document.querySelector(".wc-block-checkout");e&&(r=window.getComputedStyle(e))}return r.fontSize||"16px"})(),lineHeight:1.375,"::placeholder":{color:"#fff"}}},classes:{focus:"focused",empty:"empty",invalid:"has-error"}},O=e=>{const[t,n]=Object(c.useState)(!1),[r,o]=Object(c.useState)({...E,...e}),[i,a]=Object(c.useState)("");return Object(c.useEffect)(()=>{const e=t?"#CFD7E0":"#fff";o(n=>{const r=void 0!==n.showIcon?{showIcon:t}:{};return{...n,style:{...n.style,base:{...n.style.base,"::placeholder":{color:e}}},...r}})},[t]),{options:r,onActive:Object(c.useCallback)(e=>{n(!e||(e=>!e))},[n]),error:i,setError:a}},j=({inputErrorComponent:e,onChange:t})=>{const[n,r]=Object(c.useState)(!0),{options:o,onActive:i,error:a,setError:s}=O({hidePostalCode:!0});return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"wc-block-gateway-container wc-inline-card-element"},Object(c.createElement)(l.CardElement,{id:"wc-stripe-inline-card-element",className:"wc-block-gateway-input",options:o,onBlur:()=>i(n),onFocus:()=>i(n),onChange:e=>{e.error?s(e.error.message):s(""),r(e.empty),t(e)}}),Object(c.createElement)("label",{htmlFor:"wc-stripe-inline-card-element"},Object(u.__)("Credit Card Information","woocommerce-gateway-stripe"))),Object(c.createElement)(e,{errorMessage:a}))},x=({onChange:e,inputErrorComponent:t})=>{const[n,r]=Object(c.useState)({cardNumber:!0,cardExpiry:!0,cardCvc:!0}),{options:o,onActive:i,error:a,setError:s}=O({showIcon:!1}),{options:p,onActive:f,error:d,setError:v}=O(),{options:m,onActive:y,error:h,setError:g}=O(),b=(t,o)=>i=>{i.error?t(i.error.message):t(""),r({...n,[o]:i.empty}),e(i)};return Object(c.createElement)("div",{className:"wc-block-card-elements"},Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-number-element"},Object(c.createElement)(l.CardNumberElement,{onChange:b(s,"cardNumber"),options:o,className:"wc-block-gateway-input",id:"wc-stripe-card-number-element",onFocus:()=>i(n.cardNumber),onBlur:()=>i(n.cardNumber)}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-number-element"},Object(u.__)("Card Number","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:a})),Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-expiry-element"},Object(c.createElement)(l.CardExpiryElement,{onChange:b(v,"cardExpiry"),options:p,className:"wc-block-gateway-input",onFocus:()=>f(n.cardExpiry),onBlur:()=>f(n.cardExpiry),id:"wc-stripe-card-expiry-element"}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-expiry-element"},Object(u.__)("Expiry Date","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:d})),Object(c.createElement)("div",{className:"wc-block-gateway-container wc-card-cvc-element"},Object(c.createElement)(l.CardCvcElement,{onChange:b(g,"cardCvc"),options:m,className:"wc-block-gateway-input",onFocus:()=>y(n.cardCvc),onBlur:()=>y(n.cardCvc),id:"wc-stripe-card-code-element"}),Object(c.createElement)("label",{htmlFor:"wc-stripe-card-code-element"},Object(u.__)("CVV/CVC","woocommerce-gateway-stripe")),Object(c.createElement)(t,{errorMessage:h})))},C=()=>{var e,t,n;return m()(e=h()(null!==(t=null===(n=Object(w.c)())||void 0===n?void 0:n.icons)&&void 0!==t?t:{})).call(e,([e,{src:t,alt:n}])=>({id:e,src:t,alt:n}))},S=({billing:e,eventRegistration:t,emitResponse:n,components:r})=>{var o;const{ValidationInputError:i,PaymentMethodIcons:a}=r,[s,u]=Object(c.useState)(""),f=Object(l.useStripe)(),d=((e,t,n,r,o,i)=>{const[a,s]=Object(c.useState)(""),u=Object(c.useCallback)(e=>{var t;const n=e.error.type,r=e.error.code||"",o=null!==(t=Object(g.a)(n,r))&&void 0!==t?t:e.error.message;return s(o),o},[]),{onCheckoutAfterProcessingWithSuccess:f,onPaymentProcessing:d,onCheckoutAfterProcessingWithError:v}=e;return p(i,f,r,o),((e,t,n,r,o,i,a,s)=>{const u=Object(l.useElements)();Object(c.useEffect)(()=>{const c=s(async()=>{try{var c,s;const p=r.billingData;if(t)return{type:o.responseTypes.ERROR,message:t};if(""!==i)return{type:o.responseTypes.SUCCESS,meta:{paymentMethodData:{paymentMethod:_.a,paymentRequestType:"cc",stripe_source:i},billingData:p}};const f={address:{line1:p.address_1,line2:p.address_2,city:p.city,state:p.state,postal_code:p.postcode,country:p.country}};p.phone&&(f.phone=p.phone),p.email&&(f.email=p.email),(p.first_name||p.last_name)&&(f.name=`${p.first_name} ${p.last_name}`);const d=await(async e=>{var t;const r="yes"===(null===(t=Object(w.c)())||void 0===t?void 0:t.inline_cc_form)?l.CardElement:l.CardNumberElement;return await n.createSource(null==u?void 0:u.getElement(r),{type:"card",owner:e})})(f);if(d.error)return{type:o.responseTypes.ERROR,message:e(d)};if(!d.source||!d.source.id)throw new Error(Object(g.a)(b.b.API_ERROR));return a(d.source.id),{type:o.responseTypes.SUCCESS,meta:{paymentMethodData:{stripe_source:d.source.id,billing_email:f.email,billing_first_name:null!==(c=null==p?void 0:p.first_name)&&void 0!==c?c:"",billing_last_name:null!==(s=null==p?void 0:p.last_name)&&void 0!==s?s:"",paymentMethod:_.a,paymentRequestType:"cc"},billingData:p}}}catch(e){return{type:o.responseTypes.ERROR,message:e}}});return()=>{c()}},[s,r.billingData,n,i,a,e,t,o.noticeContexts.PAYMENTS,o.responseTypes.ERROR,o.responseTypes.SUCCESS,u])})(u,a,i,t,o,n,r,d),Object(c.useEffect)(()=>{const e=v(({processingResponse:e})=>{var t;return null==e||null===(t=e.paymentDetails)||void 0===t||!t.errorMessage||{type:o.responseTypes.ERROR,message:e.paymentDetails.errorMessage,messageContext:o.noticeContexts.PAYMENTS}});return()=>{e()}},[v,o.noticeContexts.PAYMENTS,o.responseTypes.ERROR]),u})(t,e,s,u,n,f),v=e=>{e.error&&d(e),u("")},m=C(),y="yes"===(null===(o=Object(w.c)())||void 0===o?void 0:o.inline_cc_form)?Object(c.createElement)(j,{onChange:v,inputErrorComponent:i}):Object(c.createElement)(x,{onChange:v,inputErrorComponent:i});return Object(c.createElement)(c.Fragment,null,y,a&&m.length&&Object(c.createElement)(a,{icons:m,align:"left"}))},R=e=>{const{stripe:t}=e;return Object(c.createElement)(l.Elements,{stripe:t},Object(c.createElement)(S,e))};var T,I,A,P,k,N,L=n(135);const M=Object(L.a)(),D=({RenderedComponent:e,...t})=>{const[n,r]=Object(c.useState)("");return Object(c.useEffect)(()=>{s.a.resolve(M).then(({error:e})=>{e&&r(e.message)})},[r]),Object(c.useEffect)(()=>{if(n)throw new Error(n)},[n]),Object(c.createElement)(e,i()({stripe:M},t))},V=C();var B={name:_.a,label:Object(c.createElement)(e=>{var t,n;const{PaymentMethodLabel:r}=e.components,o=null!==(t=null===(n=Object(w.c)())||void 0===n?void 0:n.title)&&void 0!==t?t:Object(u.__)("Credit / Debit Card","woocommerce-gateway-stripe");return Object(c.createElement)(r,{text:o})},null),content:Object(c.createElement)(D,{RenderedComponent:R}),edit:Object(c.createElement)(D,{RenderedComponent:R}),savedTokenComponent:Object(c.createElement)(D,{RenderedComponent:({stripe:e,...t})=>Object(c.createElement)(l.Elements,{stripe:e},Object(c.createElement)(d,t))}),icons:V,canMakePayment:()=>M,ariaLabel:Object(u.__)("Stripe Credit Card payment method","woocommerce-gateway-stripe"),supports:{showSavedCards:null!==(T=null===(I=Object(w.c)())||void 0===I?void 0:I.showSavedCards)&&void 0!==T&&T,showSaveOption:null!==(A=null===(P=Object(w.c)())||void 0===P?void 0:P.showSaveOption)&&void 0!==A&&A,features:null!==(k=null===(N=Object(w.c)())||void 0===N?void 0:N.supports)&&void 0!==k?k:[]}},q=n(202);Object(r.registerPaymentMethod)(B),Object(r.registerExpressPaymentMethod)(q.a)}]);
build/old_settings_upe_toggle.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '59a20ab0797e27a9a8e0a4149ac44cac');
1
+ <?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '9edbcc05ecde48d431338d379198685e');
build/old_settings_upe_toggle.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=242)}({1:function(e,t){e.exports=window.wp.i18n},145:function(e,t){e.exports=window.wp.domReady},190:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(145),o=n.n(r);const c={recordEvent:()=>null};function i(e,t){o()(()=>{window.wcTracks&&window.wcTracks.isEnabled&&(window.wc&&window.wc.tracks&&window.wc.tracks.recordEvent&&"function"==typeof window.wc.tracks.recordEvent?window.wc.tracks:window.wcTracks&&window.wcTracks.recordEvent?window.wcTracks:c).recordEvent(e,t)})}},242:function(e,t,n){"use strict";n.r(t);var r=n(3),o=n(1),c=n(145),i=n.n(c),a=n(190);i()(()=>{if(!wc_stripe_old_settings_param)return;const{was_upe_enabled:e,is_upe_enabled:t}=wc_stripe_old_settings_param;if("1"!==t&&Object(r.dispatch)("core/notices").createSuccessNotice(Object(o.__)("🤔 What made you disable the new payments experience?","woocommerce-gateway-stripe"),{actions:[{label:Object(o.__)("Share feedback (1 min)","woocommerce-gateway-stripe"),url:"https://woocommerce.survey.fm/woocommerce-stripe-upe-opt-out-survey"}]}),e!==t){const e=t?"wcstripe_upe_enabled":"wcstripe_upe_disabled";Object(a.a)(e)}})},3:function(e,t){e.exports=window.wp.data}});
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=244)}({167:function(e,t){e.exports=window.wp.domReady},198:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(167),o=n.n(r);const c={recordEvent:()=>null};function i(e,t){o()(()=>{window.wcTracks&&window.wcTracks.isEnabled&&(window.wc&&window.wc.tracks&&window.wc.tracks.recordEvent&&"function"==typeof window.wc.tracks.recordEvent?window.wc.tracks:window.wcTracks&&window.wcTracks.recordEvent?window.wcTracks:c).recordEvent(e,t)})}},2:function(e,t){e.exports=window.wp.i18n},244:function(e,t,n){"use strict";n.r(t);var r=n(3),o=n(2),c=n(167),i=n.n(c),a=n(198);i()(()=>{if(!wc_stripe_old_settings_param)return;const{was_upe_enabled:e,is_upe_enabled:t}=wc_stripe_old_settings_param;if("1"!==t&&Object(r.dispatch)("core/notices").createSuccessNotice(Object(o.__)("🤔 What made you disable the new payments experience?","woocommerce-gateway-stripe"),{actions:[{label:Object(o.__)("Share feedback (1 min)","woocommerce-gateway-stripe"),url:"https://woocommerce.survey.fm/woocommerce-stripe-upe-opt-out-survey"}]}),e!==t){const e=t?"wcstripe_upe_enabled":"wcstripe_upe_disabled";Object(a.a)(e)}})},3:function(e,t){e.exports=window.wp.data}});
build/payment_gateways.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '34c7c3d4c791055cbc6969d7123a7bb6');
1
+ <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'f798fe52983f44e9399addd226f94c54');
build/payment_gateways.js CHANGED
@@ -1 +1,3 @@
1
- !function(M){var t={};function e(u){if(t[u])return t[u].exports;var j=t[u]={i:u,l:!1,exports:{}};return M[u].call(j.exports,j,j.exports,e),j.l=!0,j.exports}e.m=M,e.c=t,e.d=function(M,t,u){e.o(M,t)||Object.defineProperty(M,t,{enumerable:!0,get:u})},e.r=function(M){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(M,"__esModule",{value:!0})},e.t=function(M,t){if(1&t&&(M=e(M)),8&t)return M;if(4&t&&"object"==typeof M&&M&&M.__esModule)return M;var u=Object.create(null);if(e.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:M}),2&t&&"string"!=typeof M)for(var j in M)e.d(u,j,function(t){return M[t]}.bind(null,j));return u},e.n=function(M){var t=M&&M.__esModule?function(){return M.default}:function(){return M};return e.d(t,"a",t),t},e.o=function(M,t){return Object.prototype.hasOwnProperty.call(M,t)},e.p="",e(e.s=282)}([function(M,t){M.exports=window.wp.element},function(M,t){M.exports=window.wp.i18n},function(M,t){M.exports=window.React},function(M,t){M.exports=window.wp.data},function(M,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return j}));const u="/wc/v3/wc_stripe",j="wc/stripe"},function(M,t){M.exports=window.wp.components},function(M,t,e){"use strict";function u(){return(u=Object.assign||function(M){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(M[u]=e[u])}return M}).apply(this,arguments)}var j=e(2),n=function(M){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=M(e)),t[e]}},i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,r=n((function(M){return i.test(M)||111===M.charCodeAt(0)&&110===M.charCodeAt(1)&&M.charCodeAt(2)<91})),L=function(){function M(M){var t=this;this._insertTag=function(M){var e;e=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(M,e),t.tags.push(M)},this.isSpeedy=void 0===M.speedy||M.speedy,this.tags=[],this.ctr=0,this.nonce=M.nonce,this.key=M.key,this.container=M.container,this.prepend=M.prepend,this.before=null}var t=M.prototype;return t.hydrate=function(M){M.forEach(this._insertTag)},t.insert=function(M){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(M){var t=document.createElement("style");return t.setAttribute("data-emotion",M.key),void 0!==M.nonce&&t.setAttribute("nonce",M.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(M){if(M.sheet)return M.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===M)return document.styleSheets[t]}(t);try{e.insertRule(M,e.cssRules.length)}catch(M){}}else t.appendChild(document.createTextNode(M));this.ctr++},t.flush=function(){this.tags.forEach((function(M){return M.parentNode.removeChild(M)})),this.tags=[],this.ctr=0},M}(),c="-ms-",o="-moz-",a="-webkit-",N="comm",y="rule",s="decl",D=Math.abs,g=String.fromCharCode;function A(M){return M.trim()}function S(M,t,e){return M.replace(t,e)}function I(M,t){return M.indexOf(t)}function T(M,t){return 0|M.charCodeAt(t)}function z(M,t,e){return M.slice(t,e)}function w(M){return M.length}function l(M){return M.length}function x(M,t){return t.push(M),M}var E=1,d=1,O=0,p=0,C=0,m="";function f(M,t,e,u,j,n,i){return{value:M,root:t,parent:e,type:u,props:j,children:n,line:E,column:d,length:i,return:""}}function Y(M,t,e){return f(M,t.root,t.parent,e,t.props,t.children,0)}function b(){return C=p>0?T(m,--p):0,d--,10===C&&(d=1,E--),C}function h(){return C=p<O?T(m,p++):0,d++,10===C&&(d=1,E++),C}function k(){return T(m,p)}function U(){return p}function v(M,t){return z(m,M,t)}function Q(M){switch(M){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(M){return E=d=1,O=w(m=M),p=0,[]}function G(M){return m="",M}function Z(M){return A(v(p-1,function M(t){for(;h();)switch(C){case t:return p;case 34:case 39:return M(34===t||39===t?t:C);case 40:41===t&&M(t);break;case 92:h()}return p}(91===M?M+2:40===M?M+1:M)))}function P(M){for(;(C=k())&&C<33;)h();return Q(M)>2||Q(C)>3?"":" "}function R(M,t){for(;--t&&h()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return v(M,U()+(t<6&&32==k()&&32==h()))}function W(M,t){for(;h()&&M+C!==57&&(M+C!==84||47!==k()););return"/*"+v(t,p-1)+"*"+g(47===M?M:h())}function V(M){for(;!Q(k());)h();return v(M,p)}function B(M,t,e,u,j,n,i,r,L,c,o){for(var a=j-1,N=0===j?n:[""],s=l(N),g=0,I=0,T=0;g<u;++g)for(var w=0,x=z(M,a+1,a=D(I=i[g])),E=M;w<s;++w)(E=A(I>0?N[w]+" "+x:S(x,/&\f/g,N[w])))&&(L[T++]=E);return f(M,t,e,0===j?y:r,L,c,o)}function J(M,t,e){return f(M,t,e,N,g(C),z(M,2,-2),0)}function F(M,t,e,u){return f(M,t,e,s,z(M,0,u),z(M,u+1,-1),u)}function H(M,t){for(var e="",u=l(M),j=0;j<u;j++)e+=t(M[j],j,M,t)||"";return e}function X(M,t,e,u){switch(M.type){case"@import":case s:return M.return=M.return||M.value;case N:return"";case y:M.value=M.props.join(",")}return w(e=H(M.children,u))?M.return=M.value+"{"+e+"}":""}function $(M){return function(t){t.root||(t=t.return)&&M(t)}}var K=new WeakMap,q=function(M){if("rule"===M.type&&M.parent&&M.length){for(var t=M.value,e=M.parent,u=M.column===e.column&&M.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==M.props.length||58===t.charCodeAt(0)||K.get(e))&&!u){K.set(M,!0);for(var j=[],n=function(M,t){return G(function(M,t){var e=-1,u=44;do{switch(Q(u)){case 0:38===u&&12===k()&&(t[e]=1),M[e]+=V(p-1);break;case 2:M[e]+=Z(u);break;case 4:if(44===u){M[++e]=58===k()?"&\f":"",t[e]=M[e].length;break}default:M[e]+=g(u)}}while(u=h());return M}(_(M),t))}(t,j),i=e.props,r=0,L=0;r<n.length;r++)for(var c=0;c<i.length;c++,L++)M.props[L]=j[r]?n[r].replace(/&\f/g,i[c]):i[c]+" "+n[r]}}},MM=function(M){if("decl"===M.type){var t=M.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(M.return="",M.value="")}},tM=[function(M,t,e,u){if(!M.return)switch(M.type){case s:M.return=function M(t,e){switch(function(M,t){return(((t<<2^T(M,0))<<2^T(M,1))<<2^T(M,2))<<2^T(M,3)}(t,e)){case 5103:return a+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a+t+o+t+c+t+t;case 6828:case 4268:return a+t+c+t+t;case 6165:return a+t+c+"flex-"+t+t;case 5187:return a+t+S(t,/(\w+).+(:[^]+)/,a+"box-$1$2"+c+"flex-$1$2")+t;case 5443:return a+t+c+"flex-item-"+S(t,/flex-|-self/,"")+t;case 4675:return a+t+c+"flex-line-pack"+S(t,/align-content|flex-|-self/,"")+t;case 5548:return a+t+c+S(t,"shrink","negative")+t;case 5292:return a+t+c+S(t,"basis","preferred-size")+t;case 6060:return a+"box-"+S(t,"-grow","")+a+t+c+S(t,"grow","positive")+t;case 4554:return a+S(t,/([^-])(transform)/g,"$1"+a+"$2")+t;case 6187:return S(S(S(t,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),t,"")+t;case 5495:case 3959:return S(t,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return S(S(t,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+t+t;case 4095:case 3583:case 4068:case 2532:return S(t,/(.+)-inline(.+)/,a+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(t)-1-e>6)switch(T(t,e+1)){case 109:if(45!==T(t,e+4))break;case 102:return S(t,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==T(t,e+3)?"$3":"$2-$3"))+t;case 115:return~I(t,"stretch")?M(S(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==T(t,e+1))break;case 6444:switch(T(t,w(t)-3-(~I(t,"!important")&&10))){case 107:return S(t,":",":"+a)+t;case 101:return S(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===T(t,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+c+"$2box$3")+t}break;case 5936:switch(T(t,e+11)){case 114:return a+t+c+S(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a+t+c+S(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a+t+c+S(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a+t+c+t+t}return t}(M.value,M.length);break;case"@keyframes":return H([Y(S(M.value,"@","@"+a),M,"")],u);case y:if(M.length)return function(M,t){return M.map(t).join("")}(M.props,(function(t){switch(function(M,t){return(M=/(::plac\w+|:read-\w+)/.exec(M))?M[0]:M}(t)){case":read-only":case":read-write":return H([Y(S(t,/:(read-\w+)/,":-moz-$1"),M,"")],u);case"::placeholder":return H([Y(S(t,/:(plac\w+)/,":"+a+"input-$1"),M,""),Y(S(t,/:(plac\w+)/,":-moz-$1"),M,""),Y(S(t,/:(plac\w+)/,c+"input-$1"),M,"")],u)}return""}))}}],eM=function(M){var t=M.key;if("css"===t){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(M){-1!==M.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(M),M.setAttribute("data-s",""))}))}var u,j,n=M.stylisPlugins||tM,i={},r=[];u=M.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(M){for(var t=M.getAttribute("data-emotion").split(" "),e=1;e<t.length;e++)i[t[e]]=!0;r.push(M)}));var c,o=[q,MM],a=[X,$((function(M){c.insert(M)}))],N=function(M){var t=l(M);return function(e,u,j,n){for(var i="",r=0;r<t;r++)i+=M[r](e,u,j,n)||"";return i}}(o.concat(n,a));j=function(M,t,e,u){c=e,H(function(M){return G(function M(t,e,u,j,n,i,r,L,c){for(var o=0,a=0,N=r,y=0,s=0,D=0,A=1,I=1,T=1,z=0,l="",E=n,d=i,O=j,p=l;I;)switch(D=z,z=h()){case 34:case 39:case 91:case 40:p+=Z(z);break;case 9:case 10:case 13:case 32:p+=P(D);break;case 92:p+=R(U()-1,7);continue;case 47:switch(k()){case 42:case 47:x(J(W(h(),U()),e,u),c);break;default:p+="/"}break;case 123*A:L[o++]=w(p)*T;case 125*A:case 59:case 0:switch(z){case 0:case 125:I=0;case 59+a:s>0&&w(p)-N&&x(s>32?F(p+";",j,u,N-1):F(S(p," ","")+";",j,u,N-2),c);break;case 59:p+=";";default:if(x(O=B(p,e,u,o,a,n,L,l,E=[],d=[],N),i),123===z)if(0===a)M(p,e,O,O,E,i,N,L,d);else switch(y){case 100:case 109:case 115:M(t,O,O,j&&x(B(t,O,O,0,0,n,L,l,n,E=[],N),d),n,d,N,L,j?E:d);break;default:M(p,O,O,O,[""],d,N,L,d)}}o=a=s=0,A=T=1,l=p="",N=r;break;case 58:N=1+w(p),s=D;default:if(A<1)if(123==z)--A;else if(125==z&&0==A++&&125==b())continue;switch(p+=g(z),z*A){case 38:T=a>0?1:(p+="\f",-1);break;case 44:L[o++]=(w(p)-1)*T,T=1;break;case 64:45===k()&&(p+=Z(h())),y=k(),a=w(l=p+=V(U())),z++;break;case 45:45===D&&2==w(p)&&(A=0)}}return i}("",null,null,null,[""],M=_(M),0,[0],M))}(M?M+"{"+t.styles+"}":t.styles),N),u&&(y.inserted[t.name]=!0)};var y={key:t,sheet:new L({key:t,container:u,nonce:M.nonce,speedy:M.speedy,prepend:M.prepend}),nonce:M.nonce,inserted:i,registered:{},insert:j};return y.sheet.hydrate(r),y};function uM(M,t,e){var u="";return e.split(" ").forEach((function(e){void 0!==M[e]?t.push(M[e]+";"):u+=e+" "})),u}e(135);var jM=function(M,t,e){var u=M.key+"-"+t.name;if(!1===e&&void 0===M.registered[u]&&(M.registered[u]=t.styles),void 0===M.inserted[t.name]){var j=t;do{M.insert(t===j?"."+u:"",j,M.sheet,!0),j=j.next}while(void 0!==j)}},nM=function(M){for(var t,e=0,u=0,j=M.length;j>=4;++u,j-=4)t=1540483477*(65535&(t=255&M.charCodeAt(u)|(255&M.charCodeAt(++u))<<8|(255&M.charCodeAt(++u))<<16|(255&M.charCodeAt(++u))<<24))+(59797*(t>>>16)<<16),e=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(j){case 3:e^=(255&M.charCodeAt(u+2))<<16;case 2:e^=(255&M.charCodeAt(u+1))<<8;case 1:e=1540483477*(65535&(e^=255&M.charCodeAt(u)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)},iM={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},rM=/[A-Z]|^ms/g,LM=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cM=function(M){return 45===M.charCodeAt(1)},oM=function(M){return null!=M&&"boolean"!=typeof M},aM=n((function(M){return cM(M)?M:M.replace(rM,"-$&").toLowerCase()})),NM=function(M,t){switch(M){case"animation":case"animationName":if("string"==typeof t)return t.replace(LM,(function(M,t,e){return sM={name:t,styles:e,next:sM},t}))}return 1===iM[M]||cM(M)||"number"!=typeof t||0===t?t:t+"px"};function yM(M,t,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return sM={name:e.name,styles:e.styles,next:sM},e.name;if(void 0!==e.styles){var u=e.next;if(void 0!==u)for(;void 0!==u;)sM={name:u.name,styles:u.styles,next:sM},u=u.next;return e.styles+";"}return function(M,t,e){var u="";if(Array.isArray(e))for(var j=0;j<e.length;j++)u+=yM(M,t,e[j])+";";else for(var n in e){var i=e[n];if("object"!=typeof i)null!=t&&void 0!==t[i]?u+=n+"{"+t[i]+"}":oM(i)&&(u+=aM(n)+":"+NM(n,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var r=yM(M,t,i);switch(n){case"animation":case"animationName":u+=aM(n)+":"+r+";";break;default:u+=n+"{"+r+"}"}}else for(var L=0;L<i.length;L++)oM(i[L])&&(u+=aM(n)+":"+NM(n,i[L])+";")}return u}(M,t,e);case"function":if(void 0!==M){var j=sM,n=e(M);return sM=j,yM(M,t,n)}}if(null==t)return e;var i=t[e];return void 0!==i?i:e}var sM,DM=/label:\s*([^\s;\n{]+)\s*(;|$)/g,gM=function(M,t,e){if(1===M.length&&"object"==typeof M[0]&&null!==M[0]&&void 0!==M[0].styles)return M[0];var u=!0,j="";sM=void 0;var n=M[0];null==n||void 0===n.raw?(u=!1,j+=yM(e,t,n)):j+=n[0];for(var i=1;i<M.length;i++)j+=yM(e,t,M[i]),u&&(j+=n[i]);DM.lastIndex=0;for(var r,L="";null!==(r=DM.exec(j));)L+="-"+r[1];return{name:nM(j)+L,styles:j,next:sM}},AM=(Object.prototype.hasOwnProperty,Object(j.createContext)("undefined"!=typeof HTMLElement?eM({key:"css"}):null));AM.Provider;var SM=function(M){return Object(j.forwardRef)((function(t,e){var u=Object(j.useContext)(AM);return M(t,u,e)}))},IM=Object(j.createContext)({}),TM=r,zM=function(M){return"theme"!==M},wM=function(M){return"string"==typeof M&&M.charCodeAt(0)>96?TM:zM},lM=function(M,t,e){var u;if(t){var j=t.shouldForwardProp;u=M.__emotion_forwardProp&&j?function(t){return M.__emotion_forwardProp(t)&&j(t)}:j}return"function"!=typeof u&&e&&(u=M.__emotion_forwardProp),u};t.a=function M(t,e){var n,i,r=t.__emotion_real===t,L=r&&t.__emotion_base||t;void 0!==e&&(n=e.label,i=e.target);var c=lM(t,e,r),o=c||wM(L),a=!o("as");return function(){var N=arguments,y=r&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&y.push("label:"+n+";"),null==N[0]||void 0===N[0].raw)y.push.apply(y,N);else{y.push(N[0][0]);for(var s=N.length,D=1;D<s;D++)y.push(N[D],N[0][D])}var g=SM((function(M,t,e){var u=a&&M.as||L,n="",r=[],N=M;if(null==M.theme){for(var s in N={},M)N[s]=M[s];N.theme=Object(j.useContext)(IM)}"string"==typeof M.className?n=uM(t.registered,r,M.className):null!=M.className&&(n=M.className+" ");var D=gM(y.concat(r),t.registered,N);jM(t,D,"string"==typeof u),n+=t.key+"-"+D.name,void 0!==i&&(n+=" "+i);var g=a&&void 0===c?wM(u):o,A={};for(var S in M)a&&"as"===S||g(S)&&(A[S]=M[S]);return A.className=n,A.ref=e,Object(j.createElement)(u,A)}));return g.displayName=void 0!==n?n:"Styled("+("string"==typeof L?L:L.displayName||L.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=L,g.__emotion_styles=y,g.__emotion_forwardProp=c,Object.defineProperty(g,"toString",{value:function(){return"."+i}}),g.withComponent=function(t,j){return M(t,u({},e,j,{shouldForwardProp:lM(g,j,!0)})).apply(void 0,y)},g}}},,function(M,t){function e(){return M.exports=e=Object.assign||function(M){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(M[u]=e[u])}return M},M.exports.default=M.exports,M.exports.__esModule=!0,e.apply(this,arguments)}M.exports=e,M.exports.default=M.exports,M.exports.__esModule=!0},function(M,t,e){(function(t){var e=function(M){return M&&M.Math==Math&&M};M.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,e(106))},function(M,t,e){var u=e(9),j=e(75),n=e(18),i=e(76),r=e(72),L=e(108),c=j("wks"),o=u.Symbol,a=L?o:o&&o.withoutSetter||i;M.exports=function(M){return n(c,M)&&(r||"string"==typeof c[M])||(r&&n(o,M)?c[M]=o[M]:c[M]=a("Symbol."+M)),c[M]}},function(M,t,e){"use strict";e.d(t,"s",(function(){return p})),e.d(t,"d",(function(){return C})),e.d(t,"o",(function(){return m})),e.d(t,"l",(function(){return f})),e.d(t,"n",(function(){return Y})),e.d(t,"m",(function(){return b})),e.d(t,"p",(function(){return h})),e.d(t,"h",(function(){return k})),e.d(t,"v",(function(){return U})),e.d(t,"w",(function(){return v})),e.d(t,"c",(function(){return Q})),e.d(t,"u",(function(){return _})),e.d(t,"q",(function(){return G})),e.d(t,"j",(function(){return Z})),e.d(t,"r",(function(){return P})),e.d(t,"a",(function(){return R})),e.d(t,"g",(function(){return W})),e.d(t,"t",(function(){return V})),e.d(t,"b",(function(){return B})),e.d(t,"i",(function(){return J})),e.d(t,"e",(function(){return F})),e.d(t,"f",(function(){return H})),e.d(t,"k",(function(){return aM.b}));var u={};e.r(u),e.d(u,"getSettings",(function(){return D})),e.d(u,"isSavingSettings",(function(){return g})),e.d(u,"getSavingError",(function(){return A}));var j={};e.r(j),e.d(j,"updateSettingsValues",(function(){return I})),e.d(j,"updateSettings",(function(){return T})),e.d(j,"updateIsSavingSettings",(function(){return z})),e.d(j,"saveSettings",(function(){return w}));var n={};e.r(n),e.d(n,"getSettings",(function(){return l}));var i={};e.r(i),e.d(i,"getPaymentGateway",(function(){return tM})),e.d(i,"isSavingPaymentGateway",(function(){return eM})),e.d(i,"getPaymentGatewaySavingError",(function(){return uM}));var r={};e.r(r),e.d(r,"updatePaymentGatewayValues",(function(){return nM})),e.d(r,"updatePaymentGateway",(function(){return iM})),e.d(r,"updateIsSavingPaymentGateway",(function(){return rM})),e.d(r,"savePaymentGateway",(function(){return LM}));var L={};e.r(L),e.d(L,"getPaymentGateway",(function(){return oM}));var c=e(4),o=e(3),a=e(14);const N={isSaving:!1,savingError:null,data:{}};const y={},s=M=>M&&M.settings||y,D=M=>s(M).data||y,g=M=>s(M).isSaving||!1,A=M=>s(M).savingError;var S=e(1);function I(M){return{type:"SET_SETTINGS_VALUES",payload:M}}function T(M){return{type:"SET_SETTINGS",data:M}}function z(M,t){return{type:"SET_IS_SAVING_SETTINGS",isSaving:M,error:t}}function*w(){let M=null;try{const t=Object(o.select)(c.b).getSettings();yield z(!0,null),yield Object(a.apiFetch)({path:c.a+"/settings",method:"post",data:t}),yield Object(o.dispatch)(c.b).invalidateResolutionForStoreSelector("getAccountData"),yield Object(o.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(t){M=t,yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield z(!1,M)}return null===M}function*l(){const M=c.a+"/settings";try{const t=yield Object(a.apiFetch)({path:M});yield T(t)}catch(M){yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving settings.","woocommerce-gateway-stripe"))}}var x=e(2);const E=[],d=(M,t=!1)=>()=>Object(o.useSelect)(e=>{const{getSettings:u}=e(c.b);return u()[M]||t},[M,t]),O=(M,t=!1)=>()=>{const{updateSettingsValues:e}=Object(o.useDispatch)(c.b);return[d(M,t)(),Object(x.useCallback)(t=>e({[M]:t}),[e])]},p=()=>{const{saveSettings:M}=Object(o.useDispatch)(c.b);return{settings:Object(o.useSelect)(M=>{const{getSettings:t}=M(c.b);return t()},[]),isLoading:Object(o.useSelect)(M=>{const{hasFinishedResolution:t,isResolving:e}=M(c.b);return e("getSettings")||!t("getSettings")},[]),isSaving:Object(o.useSelect)(M=>{const{isSavingSettings:t}=M(c.b);return t()},[]),saveSettings:M}},C=O("enabled_payment_method_ids",E),m=O("is_payment_request_enabled"),f=O("payment_request_button_size",""),Y=O("payment_request_button_type",""),b=O("payment_request_button_theme",""),h=O("payment_request_button_locations",E),k=O("is_stripe_enabled"),U=O("title",""),v=O("title_upe",""),Q=O("description",""),_=O("is_test_mode_enabled"),G=O("is_saved_cards_enabled"),Z=O("is_manual_capture_enabled"),P=O("is_separate_card_form_enabled"),R=O("statement_descriptor",""),W=O("is_short_statement_descriptor_enabled"),V=O("short_statement_descriptor",""),B=O("is_debug_log_enabled"),J=O("is_upe_enabled"),F=d("available_payment_method_ids",E),H=()=>Object(o.useSelect)(M=>{const{getSavingError:t}=M(c.b);return t()},[]);var X=e(22),$=e(26);const K={isSaving:!1,savingError:null,data:{}};const q={},MM=M=>M&&M.paymentGateway||q,tM=M=>MM(M).data||q,eM=M=>MM(M).isSaving||!1,uM=M=>MM(M).savingError;var jM=e(25);function nM(M){return{type:"SET_PAYMENT_GATEWAY_VALUES",payload:M}}function iM(M){return{type:"SET_PAYMENT_GATEWAY",data:M}}function rM(M,t){return{type:"SET_IS_SAVING_PAYMENT_GATEWAY",isSaving:M,error:t}}function*LM(){let M=null;const{section:t}=Object(jM.getQuery)();try{const e=Object(o.select)(c.b).getPaymentGateway();yield rM(!0,null),yield Object(a.apiFetch)({path:`${c.a}/payment-gateway/${t}`,method:"post",data:e}),yield Object(o.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(t){M=t,yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield rM(!1,M)}return null===M}const{section:cM}=Object(jM.getQuery)();function*oM(){const M=`${c.a}/payment-gateway/${cM}`;try{const t=yield Object(a.apiFetch)({path:M});yield iM(t)}catch(M){yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving payment gateway settings.","woocommerce-gateway-stripe"))}}var aM=e(51);Object(o.registerStore)(c.b,{reducer:Object(o.combineReducers)({settings:(M=N,{type:t,...e})=>{switch(t){case"SET_SETTINGS":return{...M,data:e.data};case"SET_SETTINGS_VALUES":return{...M,savingError:null,data:{...M.data,...e.payload}};case"SET_IS_SAVING_SETTINGS":return{...M,isSaving:e.isSaving,savingError:e.error}}return M},account:X.b,accountKeys:$.b,paymentGateway:(M=K,{type:t,...e})=>{switch(t){case"SET_PAYMENT_GATEWAY":return{...M,data:e.data};case"SET_PAYMENT_GATEWAY_VALUES":return{...M,savingError:null,data:{...M.data,...e.payload}};case"SET_IS_SAVING_PAYMENT_GATEWAY":return{...M,isSaving:e.isSaving,savingError:e.error}}return M}}),actions:{...j,...X.a,...$.a,...r},controls:a.controls,selectors:{...u,...X.d,...$.d,...i},resolvers:{...n,...X.c,...$.c,...L}}),c.b},function(M,t,e){"use strict";var u=e(9),j=e(74).f,n=e(81),i=e(27),r=e(41),L=e(20),c=e(18),o=function(M){var t=function(t,e,u){if(this instanceof M){switch(arguments.length){case 0:return new M;case 1:return new M(t);case 2:return new M(t,e)}return new M(t,e,u)}return M.apply(this,arguments)};return t.prototype=M.prototype,t};M.exports=function(M,t){var e,a,N,y,s,D,g,A,S=M.target,I=M.global,T=M.stat,z=M.proto,w=I?u:T?u[S]:(u[S]||{}).prototype,l=I?i:i[S]||(i[S]={}),x=l.prototype;for(N in t)e=!n(I?N:S+(T?".":"#")+N,M.forced)&&w&&c(w,N),s=l[N],e&&(D=M.noTargetGet?(A=j(w,N))&&A.value:w[N]),y=e&&D?D:t[N],e&&typeof s==typeof y||(g=M.bind&&e?r(y,u):M.wrap&&e?o(y):z&&"function"==typeof y?r(Function.call,y):y,(M.sham||y&&y.sham||s&&s.sham)&&L(g,"sham",!0),l[N]=g,z&&(c(i,a=S+"Prototype")||L(i,a,{}),i[a][N]=y,M.real&&x&&!x[N]&&L(x,N,y)))}},function(M,t){M.exports=function(M){try{return!!M()}catch(M){return!0}}},function(M,t){M.exports=window.wp.dataControls},function(M,t,e){M.exports=e(109)},,function(M,t){M.exports=function(M){return"object"==typeof M?null!==M:"function"==typeof M}},function(M,t){var e={}.hasOwnProperty;M.exports=function(M,t){return e.call(M,t)}},function(M,t,e){"use strict";var u=e(8),j=e.n(u),n=e(6),i=e(0),r=(e(2),e(119));const L={small:{name:"1r962iv",styles:"padding:4px"},medium:{name:"14si2be",styles:"padding:7px"}},c=Object(n.a)(r.a,{target:"erwkboy0"})("background:white;border-color:#ddd;border-radius:5px;overflow:hidden;",({size:M})=>L[M]||"",";");t.a=({size:M="small",...t})=>Object(i.createElement)(c,j()({},t,{size:M}))},function(M,t,e){var u=e(24),j=e(39),n=e(33);M.exports=u?function(M,t,e){return j.f(M,t,n(1,e))}:function(M,t,e){return M[t]=e,M}},function(M,t,e){var u=e(17);M.exports=function(M){if(!u(M))throw TypeError(String(M)+" is not an object");return M}},function(M,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"d",(function(){return u})),e.d(t,"a",(function(){return j})),e.d(t,"c",(function(){return n})),e.d(t,"e",(function(){return T.a})),e.d(t,"f",(function(){return T.b}));var u={};e.r(u),e.d(u,"getAccountData",(function(){return o})),e.d(u,"isRefreshingAccount",(function(){return a}));var j={};e.r(j),e.d(j,"updateAccount",(function(){return g})),e.d(j,"updateIsRefreshingAccount",(function(){return A})),e.d(j,"refreshAccount",(function(){return S}));var n={};e.r(n),e.d(n,"getAccountData",(function(){return I}));const i={isRefreshing:!1,data:{}};var r=(M=i,{type:t,...e})=>{switch(t){case"SET_ACCOUNT":return{...M,data:e.payload};case"SET_IS_REFRESHING":return{...M,isRefreshing:e.isRefreshing}}return M};const L={},c=M=>M&&M.account||L,o=M=>c(M).data||L,a=M=>c(M).isRefreshing||!1;var N=e(3),y=e(1),s=e(14),D=e(4);function g(M){return{type:"SET_ACCOUNT",payload:M}}function A(M){return{type:"SET_IS_REFRESHING",isRefreshing:M}}function*S(){try{yield A(!0);const M=yield Object(s.apiFetch)({method:"post",path:D.a+"/account/refresh"});yield g(M)}catch(M){yield Object(N.dispatch)("core/notices").createErrorNotice(Object(y.__)("Error updating account data.","woocommerce-gateway-stripe"))}finally{yield A(!1)}}function*I(){const M=D.a+"/account";try{const t=yield Object(s.apiFetch)({path:M});yield g(t)}catch(M){yield Object(N.dispatch)("core/notices").createErrorNotice(Object(y.__)("Error retrieving account data.","woocommerce-gateway-stripe"))}}var T=e(61)},,function(M,t,e){var u=e(13);M.exports=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(M,t){M.exports=window.wc.navigation},function(M,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"d",(function(){return u})),e.d(t,"a",(function(){return j})),e.d(t,"c",(function(){return n})),e.d(t,"e",(function(){return w.a})),e.d(t,"f",(function(){return w.b})),e.d(t,"g",(function(){return w.c})),e.d(t,"k",(function(){return w.g})),e.d(t,"h",(function(){return w.d})),e.d(t,"i",(function(){return w.e})),e.d(t,"j",(function(){return w.f}));var u={};e.r(u),e.d(u,"getAccountKeys",(function(){return o})),e.d(u,"isSavingAccountKeys",(function(){return a})),e.d(u,"getAccountKeysSavingError",(function(){return N}));var j={};e.r(j),e.d(j,"updateAccountKeysValues",(function(){return A})),e.d(j,"updateAccountKeys",(function(){return S})),e.d(j,"updateIsSavingAccountKeys",(function(){return I})),e.d(j,"saveAccountKeys",(function(){return T}));var n={};e.r(n),e.d(n,"getAccountKeys",(function(){return z}));const i={isSaving:!1,savingError:null,data:{}};var r=(M=i,{type:t,...e})=>{switch(t){case"SET_ACCOUNT_KEYS":return{...M,data:e.payload};case"SET_ACCOUNT_KEYS_VALUES":return{...M,savingError:null,data:{...M.data,...e.payload}};case"SET_IS_SAVING_ACCOUNT_KEYS":return{...M,isSaving:e.isSaving,savingError:e.error}}return M};const L={},c=M=>M&&M.accountKeys||L,o=M=>c(M).data||L,a=M=>c(M).isSaving||!1,N=M=>c(M).savingError;var y=e(3),s=e(1),D=e(14),g=e(4);function A(M){return{type:"SET_ACCOUNT_KEYS_VALUES",payload:M}}function S(M){return{type:"SET_ACCOUNT_KEYS",payload:M}}function I(M,t){return{type:"SET_IS_SAVING_ACCOUNT_KEYS",isSaving:M,error:t}}function*T(M){const t=!M.publishable_key&&!M.test_publishable_key;let e=null;try{yield I(!0,null),yield Object(D.apiFetch)({path:g.a+"/account_keys",method:"post",data:M}),yield Object(y.dispatch)(g.b).invalidateResolutionForStoreSelector("getAccountData"),yield A(M),yield Object(y.dispatch)("core/notices").createSuccessNotice(t?Object(s.__)("Account disconnected.","woocommerce-gateway-stripe"):Object(s.__)("Account keys saved.","woocommerce-gateway-stripe"))}catch(M){e=M,yield Object(y.dispatch)("core/notices").createErrorNotice(t?Object(s.__)("Error disconnecting account.","woocommerce-gateway-stripe"):Object(s.__)("Error saving account keys.","woocommerce-gateway-stripe"))}finally{yield I(!1,e)}return null===e}function*z(){const M=g.a+"/account_keys";try{const t=yield Object(D.apiFetch)({path:M});yield S(t)}catch(M){yield Object(y.dispatch)("core/notices").createErrorNotice(Object(s.__)("Error retrieving account keys.","woocommerce-gateway-stripe"))}}var w=e(55)},function(M,t){M.exports={}},function(M,t,e){var u=e(27);M.exports=function(M){return u[M+"Prototype"]}},,function(M,t){var e={}.toString;M.exports=function(M){return e.call(M).slice(8,-1)}},function(M,t){M.exports=function(M){if(null==M)throw TypeError("Can't call method on "+M);return M}},function(M,t){M.exports=function(M){if("function"!=typeof M)throw TypeError(String(M)+" is not a function");return M}},function(M,t){M.exports=function(M,t){return{enumerable:!(1&M),configurable:!(2&M),writable:!(4&M),value:t}}},function(M,t,e){var u=e(27),j=e(9),n=function(M){return"function"==typeof M?M:void 0};M.exports=function(M,t){return arguments.length<2?n(u[M])||n(j[M]):u[M]&&u[M][t]||j[M]&&j[M][t]}},function(M,t){M.exports=!0},,,function(M,t,e){var u=e(53),j=e(31);M.exports=function(M){return u(j(M))}},function(M,t,e){var u=e(24),j=e(69),n=e(21),i=e(48),r=Object.defineProperty;t.f=u?r:function(M,t,e){if(n(M),t=i(t,!0),n(e),j)try{return r(M,t,e)}catch(M){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(M[t]=e.value),M}},function(M,t,e){var u=e(49),j=Math.min;M.exports=function(M){return M>0?j(u(M),9007199254740991):0}},function(M,t,e){var u=e(32);M.exports=function(M,t,e){if(u(M),void 0===t)return M;switch(e){case 0:return function(){return M.call(t)};case 1:return function(e){return M.call(t,e)};case 2:return function(e,u){return M.call(t,e,u)};case 3:return function(e,u,j){return M.call(t,e,u,j)}}return function(){return M.apply(t,arguments)}}},,function(M,t,e){var u=e(31);M.exports=function(M){return Object(u(M))}},function(M,t,e){var u=e(30),j=e(9);M.exports="process"==u(j.process)},,function(M,t,e){var u,j,n=e(9),i=e(59),r=n.process,L=r&&r.versions,c=L&&L.v8;c?j=(u=c.split("."))[0]+u[1]:i&&(!(u=i.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=i.match(/Chrome\/(\d+)/))&&(j=u[1]),M.exports=j&&+j},function(M,t){M.exports=window.wp.primitives},function(M,t,e){var u=e(17);M.exports=function(M,t){if(!u(M))return M;var e,j;if(t&&"function"==typeof(e=M.toString)&&!u(j=e.call(M)))return j;if("function"==typeof(e=M.valueOf)&&!u(j=e.call(M)))return j;if(!t&&"function"==typeof(e=M.toString)&&!u(j=e.call(M)))return j;throw TypeError("Can't convert object to primitive value")}},function(M,t){var e=Math.ceil,u=Math.floor;M.exports=function(M){return isNaN(M=+M)?0:(M>0?u:e)(M)}},,function(M,t,e){"use strict";e.d(t,"b",(function(){return L})),e.d(t,"a",(function(){return o})),e.d(t,"d",(function(){return a})),e.d(t,"c",(function(){return N}));var u=e(3),j=e(2),n=e(25),i=e(4);const r=(M,t=!1)=>()=>{const{updatePaymentGatewayValues:e}=Object(u.useDispatch)(i.b);return[((M,t=!1)=>()=>Object(u.useSelect)(e=>{const{getPaymentGateway:u}=e(i.b);return u()[M]||t},[M,t]))(M,t)(),Object(j.useCallback)(t=>e({[M]:t}),[e])]},L=()=>{const{savePaymentGateway:M}=Object(u.useDispatch)(i.b);return{paymentGateway:Object(u.useSelect)(M=>{const{getPaymentGateway:t}=M(i.b);return t()},[]),isLoading:Object(u.useSelect)(M=>{const{hasFinishedResolution:t,isResolving:e}=M(i.b);return e("getPaymentGateway")||!t("getPaymentGateway")},[]),isSaving:Object(u.useSelect)(M=>{const{isSavingPaymentGateway:t}=M(i.b);return t()},[]),savePaymentGateway:M}},c=M=>M.replace("%s",()=>{const{section:M}=Object(n.getQuery)();return M}),o=r(c("is_%s_enabled")),a=r(c("%s_name"),""),N=r(c("%s_description"),"")},,function(M,t,e){var u=e(13),j=e(30),n="".split;M.exports=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(M){return"String"==j(M)?n.call(M,""):Object(M)}:Object},function(M,t,e){var u=e(9),j=e(107),n=u["__core-js_shared__"]||j("__core-js_shared__",{});M.exports=n},function(M,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return L})),e.d(t,"c",(function(){return c})),e.d(t,"g",(function(){return o})),e.d(t,"d",(function(){return a})),e.d(t,"e",(function(){return N})),e.d(t,"f",(function(){return y}));var u=e(3),j=e(2),n=e(4);const i=()=>{const{saveAccountKeys:M,updateAccountKeys:t}=Object(u.useDispatch)(n.b);return{accountKeys:Object(u.useSelect)(M=>{const{getAccountKeys:t}=M(n.b);return t()},[]),isLoading:Object(u.useSelect)(M=>{const{hasFinishedResolution:t,isResolving:e}=M(n.b);return e("getAccountKeys")||!t("getAccountKeys")},[]),isSaving:Object(u.useSelect)(M=>{const{isSavingAccountKeys:t}=M(n.b);return t()},[]),updateAccountKeys:t,saveAccountKeys:M}},r=M=>()=>{const{updateAccountKeysValues:t}=Object(u.useDispatch)(n.b);return[Object(u.useSelect)(t=>{const{getAccountKeys:e}=t(n.b);return e()[M]||""}),Object(j.useCallback)(e=>t({[M]:e}),[t])]},L=r("publishable_key"),c=r("secret_key"),o=r("webhook_secret"),a=r("test_publishable_key"),N=r("test_secret_key"),y=r("test_webhook_secret")},,function(M,t,e){var u;!function(){"use strict";var e={}.hasOwnProperty;function j(){for(var M=[],t=0;t<arguments.length;t++){var u=arguments[t];if(u){var n=typeof u;if("string"===n||"number"===n)M.push(u);else if(Array.isArray(u)){if(u.length){var i=j.apply(null,u);i&&M.push(i)}}else if("object"===n)if(u.toString===Object.prototype.toString)for(var r in u)e.call(u,r)&&u[r]&&M.push(r);else M.push(u.toString())}}return M.join(" ")}M.exports?(j.default=j,M.exports=j):void 0===(u=function(){return j}.apply(t,[]))||(M.exports=u)}()},function(M,t,e){var u=e(9),j=e(17),n=u.document,i=j(n)&&j(n.createElement);M.exports=function(M){return i?n.createElement(M):{}}},function(M,t,e){var u=e(34);M.exports=u("navigator","userAgent")||""},,function(M,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return r}));var u=e(3),j=e(4);const n={},i=()=>{const{refreshAccount:M}=Object(u.useDispatch)(j.b);return{data:Object(u.useSelect)(M=>{const{getAccountData:t}=M(j.b);return t()},[]),isLoading:Object(u.useSelect)(M=>{const{hasFinishedResolution:t,isResolving:e}=M(j.b);return e("getAccountData")||!t("getAccountData")},[]),isRefreshing:Object(u.useSelect)(M=>{const{isRefreshingAccount:t}=M(j.b);return t()},[]),refreshAccount:M}},r=()=>Object(u.useSelect)(M=>{var t,e;const{getAccountData:u}=M(j.b);return null!==(t=null===(e=u().account)||void 0===e?void 0:e.capabilities)&&void 0!==t?t:n},[])},,,function(M,t,e){var u=e(38),j=e(40),n=e(89),i=function(M){return function(t,e,i){var r,L=u(t),c=j(L.length),o=n(i,c);if(M&&e!=e){for(;c>o;)if((r=L[o++])!=r)return!0}else for(;c>o;o++)if((M||o in L)&&L[o]===e)return M||o||0;return!M&&-1}};M.exports={includes:i(!0),indexOf:i(!1)}},,,,,function(M,t,e){var u=e(24),j=e(13),n=e(58);M.exports=!u&&!j((function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))},,,function(M,t,e){var u=e(44),j=e(46),n=e(13);M.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!Symbol.sham&&(u?38===j:j>37&&j<41)}))},,function(M,t,e){var u=e(24),j=e(87),n=e(33),i=e(38),r=e(48),L=e(18),c=e(69),o=Object.getOwnPropertyDescriptor;t.f=u?o:function(M,t){if(M=i(M),t=r(t,!0),c)try{return o(M,t)}catch(M){}if(L(M,t))return n(!j.f.call(M,t),M[t])}},function(M,t,e){var u=e(35),j=e(54);(M.exports=function(M,t){return j[M]||(j[M]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(M,t){var e=0,u=Math.random();M.exports=function(M){return"Symbol("+String(void 0===M?"":M)+")_"+(++e+u).toString(36)}},function(M,t){M.exports=function(){}},function(M,t,e){M.exports=e(170)},function(M,t,e){"use strict";var u=e(8),j=e.n(u),n=e(0),i=(e(2),e(5)),r=e(57),L=e.n(r),c=e(47);e(222),t.a=({children:M,actions:t,className:e,...u})=>Object(n.createElement)(i.Modal,j()({className:L()("wcstripe-confirmation-modal",e)},u),M,Object(n.createElement)(c.HorizontalRule,{className:"wcstripe-confirmation-modal__separator"}),Object(n.createElement)("div",{className:"wcstripe-confirmation-modal__footer"},t))},function(M,t,e){"use strict";var u=e(1),j=e(8),n=e.n(j),i=e(0),r=(e(2),e(119)),L=e(19),c=e(6);const o=Object(c.a)(L.a,{target:"eiah4a80"})({name:"46wb8n",styles:"background:#ef809f"});const a=Object(c.a)(L.a,{target:"eh46vsm0"})({name:"1f1f6j2",styles:"background:#10298e"});const N=Object(c.a)(L.a,{target:"e5z54380"})({name:"1fde9eo",styles:"padding-top:0;padding-bottom:0"});const y=Object(c.a)(L.a,{target:"es0e2230"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});const s=Object(c.a)(L.a,{target:"eu8ju410"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});t.a={card:{id:"card",label:Object(u.__)("Credit card / debit card","woocommerce-gateway-stripe"),description:Object(u.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(r.a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjYgNDIiIGZpbGw9Im5vbmUiIHhtbG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IGlkPSJhIiB4MT0iNDIuMjA3IiB5MT0iMTguNjA1IiB4Mj0iMzYuMDYzIiB5Mj0iMzkuNDE4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzIyMkU3MiIvPjxzdG9wIG9mZnNldD0iLjU5MiIgc3RvcC1jb2xvcj0iIzQwQ0JGRiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNDQjc5MiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPgo="})),currencies:[],capability:"card_payments",allows_manual_capture:!0},giropay:{id:"giropay",label:Object(u.__)("giropay","woocommerce-gateway-stripe"),description:Object(u.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(L.a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS45NjUgMi42YTIuNCAyLjQgMCAwMTIuNC0yLjRoMTkuNzE0YTIuNCAyLjQgMCAwMTIuNCAyLjR2MTAuOGEyLjQgMi40IDAgMDEtMi40IDIuNEgzLjM2NWEyLjQgMi40IDAgMDEtMi40LTIuNFYyLjZ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMy4wOCAxLjRIMy4zNjRhMS4yIDEuMiAwIDAwLTEuMiAxLjJ2MTAuOGExLjIgMS4yIDAgMDAxLjIgMS4yaDE5LjcxNGExLjIgMS4yIDAgMDAxLjItMS4yVjIuNmExLjIgMS4yIDAgMDAtMS4yLTEuMnpNMy4zNjQuMmEyLjQgMi40IDAgMDAtMi40IDIuNHYxMC44YTIuNCAyLjQgMCAwMDIuNCAyLj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xNi0uMi0yLjQ5Ni0uNTM5TDQuMjY3IDEyLjZhOS42NSA5LjY1IDAgMDAyLjgyMy40MTRjMi45OCAwIDQuNDU1LS44NjYgNC40NTUtMy41NXYtNS43N3pNNS45OTYgNi45MDRjMC0uODkuNDk3LTEuNjMgMS40NDctMS42MyAxLjE0OSAwIDEuNjMxLjgxNSAxLjYzMSAxLjU0MyAwIDEuMDA0LS43MjMgMS42OC0xLjYzIDEuNjgtLjc2NyAwLTEuNDQ4LS41NzctMS40NDgtMS41OTN6IiBmaWxsPSIjRDgyMzJBIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"giropay_payments"},sepa_debit:{id:"sepa_debit",label:Object(u.__)("Direct debit payment","woocommerce-gateway-stripe"),description:Object(u.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMuMjk1IDIuMzk3di0uMDEzbC40MDEtLjg1QTMuNTg0IDMuNTg0IDAgMDAxMS4wOC40MDJhMy42IDMuNiAwIDAwLTMuMzMgMi4yMzZINi45OWwtLjU0MiAxLjA3aDEuMDQ1YTMuOTU0IDMuOTU0IDAgMDAtLjAxNS4yOTRjMCAuMTA3LjAwNy4yMTIuMDE2LjMxN0g2Ljk5bC0uNDc0IDEuMDU3aDEuMjM1QTMuNTk5IDMuNTk5IDAgMDAxMS4wOCA3LjZjLjgzNiAwIDEuNjA1LS4yODkgMi4yMTYtLjc2OHYtMS4zNmEyLjUzNyAyLjUzNyAwIDAxLTQuMTI4LS4wOTdoMi42NzdsLjUwMS0xLjA1N0g4Ljc1OGEyLjQ3NSAyLjQ3NSAwIDAxLS4wNC0uMzgzYzAtLjA1LjAwNy0uMDk5LjAxNC0uMTQ3bC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LjIxN0guMTg1di4yN1MuMTMgNi42NS43IDcuMDdjLjQ5Mi4zNjMgMS4wMTkuNDU4IDEuNzYyLjQ3OHYuMDFoLjhzLjcuMDMxIDEuMjcyLS4wMzh2LjAwMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4K"})),currencies:["EUR"],capability:"sepa_debit_payments"},sofort:{id:"sofort",label:Object(u.__)("Sofort","woocommerce-gateway-stripe"),description:Object(u.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(o,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuOTk5IDExLjA1NWEuNzUuNzUgMCAwMS4wMTEgMS4wNjJsLS4wNTYuMDYxYS43NS43NSAwIDAxLTEuMDYyLjAxMmwtMS42NzYtMS42NkMuNzUyIDEwLjA2Ni42OSA5LjQ5Ni45OCA5LjE5NGwuMDU2LS4wNjFhLjY4NS42ODUgMCAwMS45MS0uMDYyYy4xMy4xLjMyLjA3OC40MjYtLjA1YS4zMDguMzA4IDAgMDAtLjA1LS40MjVBMS4yOTMgMS4yOTMgMCAwMC42IDguNzA4bC0uMDU2LjA2MWMtLjU0Mi41Ni0uNDM2IDEuNTA0LjI0IDIuMThsMS42ODMgMS42NzdjLjU0Mi41MiAxLjM5Ny41MDggMS45MjItLjAyOGwuMDYyLS4wNjJhMS4zNjEgMS4zNjEgMCAwMC0uMDI4LTEuOTExLjI5NS4yOTUgMCAwMC0uNDI1LjAwNS4yOS4yOSAwIDAwMCAuNDI1ek0yLjk5MyAyLjA1MmwuNjg3IDUuNjQ0YS4yOTkuMjk5IDAgMDAuMzM2LjI2My4yOTkuMjk5IDAgMDAuMjYyLS4zMzVsLS42ODctNS42NjctLjAwNi0uMDM0Yy0uM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4LS4wMjItLjE1Ny0uMDMzYTIuMTY2IDIuMTY2IDAgMDAtLjgwNC4wMDVjLS40Ny4xMDYtLjgyNy40MDMtLjk3OC45MTctLjI5MS45NjcuMDE2IDEuNzI3IDEuNDggMi4xMjNsLjg0NS4xOTZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"sofort_payments"},eps:{id:"eps",label:Object(u.__)("EPS","woocommerce-gateway-stripe"),description:Object(u.__)("EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(L.a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE5Ljc3IDcuNzU0aC0yLjAwOGEuNDAyLjQwMiAwIDAgMS0uNDA1LS40YzAtLjIyMy4xODItLjQyLjQwNS0uNDJoMy4wNThWNS40MjZoLTMuMDU4Yy0xLjA2NyAwLTEuOTM1Ljg3LTEuOTM1IDEuOTM1IDAgMS4wNjQuODY4IDEuOTM0IDEuOTM1IDEuOTM0aDEuOTgxYy4yMjQgMCAuNDA1LjE3Ny40MDUuNCAwIC4yMjMtLjE4MS4zODctLjQwNS4zODdoLTQuMjQ4Yy0uMzYuNjg4LS43MTEgMS4yNzktMS40MjMgMS41NzRoNS42OThjMS4wNS0uMDE1IDEuOTA4LS45MDMgMS45MDgtMS45NThhMS45NSAxLjk1IDAgMCAwLTEuOTA4LTEuOTQ0WiIgZmlsbD0iIzcxNzA2RiIvPjxwYXRoIGQ9Ik0xMi4wNzIgNS40MjZjLTEuNzAyIDAtMy4wODggMS4zOTUtMy4wODggMy4xMDhWMTVoMS41NHYtMy4zNDRoMS41NDVjMS43MDIgMCAzLjA4My0xLjQxMyAzLjA4My0zLjEyNyAwLTEuNzE0LTEuMzc4LTMuMTA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xNzUtLjE4M1YyLjU2WiIgZmlsbD0iI0M4MDM2RiIvPjwvc3ZnPgo="})),currencies:["EUR"],capability:"eps_payments"},bancontact:{id:"bancontact",label:Object(u.__)("Bancontact","woocommerce-gateway-stripe"),description:Object(u.__)("Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(L.a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDIgMjYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM3LjM2NyA0LjU0NkgyNC4zOUwyMy4wNjQgNi4wNGwtNC4yODEgNC44MjgtMS4zMjggMS40OTNINC42NDZsMS4yOTQtMS41MS42MTQtLjcxMyAxLjI5NC0xLjUxaC01Ljg5Qy44NzkgOC42MjggMCA5LjU0MSAwIDEwLjYzNnY0LjI0OGMwIDEuMTExLjg4IDIuMDA3IDEuOTU4IDIuMDA3SDI0LjU1N2MxLjA3OSAwIDIuNTU2LS42OCAzLjI2OS0xLjQ5M2wzLjQxOC0zLjg4MyA2LjEyMy02Ljk2OVoiIGZpbGw9IiMwMDRFOTEiLz48cGF0aCBkPSJNMzkuOTc0LjAxN2MxLjA3OCAwIDEuOTU4LjkxMiAxLjk1OCAyLjAwN3Y0LjI0OGMwIDEuMTEyLS44OCAyLjAwOC0xLjk1OCAyLjAwOGgtNS44OTFsMS4zMTEtMS40OTQuNjQ3LS43NDYgMS4zMTEtMS40OTRIMjQuMzc3bC02LjkyIDcuNzk5SDQuNTY1bDkuMjQyLTEwLjQ1My4zNDgtLjM5OUMxNC44ODYuNjggMTYuMzYzIDAgMTcuNDQyIDBoMjIuNTMzdi4wMTdaIiBmaWxsPSIjRkQwIi8+PHBhdGggZD0iTTQxLjkzIDI1Ljc4NHYtLjYxNGMwLS4wODMtLjA1LS4xMzItLjE2Ni0uMTMyaC0uMzk4Yy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M0OCAwIC42OC0uMDMzLjk3OS0uMDgzLjI5OC0uMDUuNTgtLjE1Ljc5Ni0uMjgyLjIzMi0uMTMzLjM5OC0uMzE1LjU0OC0uNTQ4LjEzMi0uMjMyLjE5OS0uNTMuMTk5LS44Nzl2LS4xMTZaIiBmaWxsPSIjMDA0RTkxIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"bancontact_payments"},ideal:{id:"ideal",label:Object(u.__)("iDEAL","woocommerce-gateway-stripe"),description:Object(u.__)("iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(L.a,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzQgMzAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMCAyLjE3NnYyNC45OThjMCAxLjE5Ny45OCAyLjE3NiAyLjE3NiAyLjE3NmgxNC45MzZjMTEuMjkyIDAgMTYuMTg3LTYuMzIgMTYuMTg3LTE0LjcwOEMzMy4yOTkgNi4zIDI4LjQwNCAwIDE3LjExMiAwSDIuMTc2Qy45NzkgMCAwIC45OCAwIDIuMTc2WiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik05Ljk5NyA2LjEzNXYxOC40NzJoOC4wNGM3LjI5OSAwIDEwLjQ2NS00LjEyMyAxMC40NjUtOS45NTQgMC01LjU4LTMuMTY2LTkuOTEtMTAuNDY2LTkuOTFIMTEuMzljLS43NzMgMC0xLjM5My42My0xLjM5MyAxLjM5MloiIGZpbGw9IiNDMDYiLz48cGF0aCBkPSJNMTcuMTEyIDI3LjM2SDQuMTIzYTIuMDkgMi4wOSAwIDAgMS0yLjA4OS0yLjA5VjQuMDlhMi4wOSAyLjA5IDAgMCAxIDIuMDg5LTIuMDg4aDEyLjk4OWMxMi4zM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M4M3YuODE2aC0zLjM1VjEyLjE1aDMuMjk1di4wMTFaTTIyLjA5NCAxMi4xNjJsMS42NTQgNC40MTdoLTEuMDEybC0uMzM3LS45OGgtMS42NTRsLS4zNDguOThoLS45NzlsMS42NjQtNC40MTdoMS4wMTJabS4wNTQgMi43MDktLjU1NC0xLjYyMWgtLjAxMWwtLjU3NyAxLjYyaDEuMTQyWk0yNS4zMjUgMTIuMTYydjMuNmgyLjE1NHYuODE3aC0zLjEyMnYtNC40MTdoLjk2OFoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNNi4zNjQgMTYuNDA1YTIuMDM0IDIuMDM0IDAgMSAwIDAtNC4wNjkgMi4wMzQgMi4wMzQgMCAwIDAgMCA0LjA2OVpNNy44OTggMjQuNjA3YTMuMDc2IDMuMDc2IDAgMCAxLTMuMDc5LTMuMDc4di0yLjQwNWMwLS44NDguNjg1LTEuNTQ0IDEuNTQ1LTEuNTQ0Ljg0OCAwIDEuNTQ1LjY4NSAxLjU0NSAxLjU0NHY1LjQ4M2gtLjAxMVoiIGZpbGw9IiMwMDAiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDMzLjI5OXYyOS4zNUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPgo="})),currencies:["EUR"],capability:"ideal_payments"},p24:{id:"p24",label:Object(u.__)("Przelewy24","woocommerce-gateway-stripe"),description:Object(u.__)("Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(N,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSI0MCI+PHBhdGggZD0ibTExLjMwNyAyMS4zNTggNC4zMTctLjAwNS0uMTU3Ljk4OS0zLjYxMSAzLjQ3IDMuM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tLjM1LS41NjktLjcyMi0uOTUyLTEuMTA4LS4xNDEtLjEzOS0uNjk5LS41NzgtMS4xMTgtLjg1My0xLjA3MS0uNy0xLjY3LS45Ny0yLjc4My0xLjQ3OGwtOC40MTMgMy4yNjd6IiBmaWxsPSIjQjNCMkIxIi8+PHBhdGggZD0iTTkuODY2IDIxLjM1M2MtLjQ1NiAwLS44ODYuMTgtMS4yNTMuMzgzbC4wNjMtLjM4M0g3LjQ3bC0uOTY2IDUuNDkxaDEuMjA5bC41MzUtMy4wNDFjLjExLS42MTcuNTY5LTEuMzggMS40NjMtMS4zOGwuNjI0LS4wMDQuMTg4LTEuMDY2aC0uNjU3eiIgZmlsbD0iI0QxMzIzOSIvPjwvc3ZnPgo="})),currencies:["EUR","PLN"],capability:"p24_payments"},boleto:{id:"boleto",label:Object(u.__)("Boleto","woocommerce-gateway-stripe"),description:Object(u.__)("Boleto is an official payment method in Brazil. Customers receive a voucher that can be paid at authorized agencies or banks, ATMs, or online bank portals.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(y,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDBoMXYyMEgwVjBabTIgMGgzdjIwSDJWMFptNSAwSDZ2MjBoMVYwWm05IDBoMXYyMGgtMVYwWm00IDBoLTF2MjBoMVYwWk04IDBoMXYyMEg4VjBabTE5IDBoLTF2MjBoMVYwWm03IDBoLTF2MjBoMVYwWm0zIDBoMXYyMGgtMVYwWm0zIDBoLTF2MjBoMVYwWm0xIDBoM3YyMGgtM1YwWm02IDBoMXYyMGgtMVYwWm0tMSAwaC0xdjIwaDFWMFpNMjkgMGgzdjIwaC0zVjBabS01IDBoLTN2MjBoM1YwWk0xNCAwaDF2MjBoLTFWMFptLTEgMGgtM3YyMGgzVjBaIiBmaWxsPSIjMDAwIi8+PC9zdmc+"})),currencies:["BRL"],capability:"boleto_payments"},oxxo:{id:"oxxo",label:Object(u.__)("OXXO","woocommerce-gateway-stripe"),description:Object(u.__)("OXXO is a Mexican chain of convenience stores that allows customers to pay bills and online purchases in-store with cash.","woocommerce-gateway-stripe"),Icon:M=>Object(i.createElement)(s,n()({},M,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMi45MjZDMCAxLjM0MyAxLjI3MS4wNTkgMi44NC4wNTloNDEuNjczYzEuNTY4IDAgMi44NCAxLjI4NCAyLjg0IDIuODY3djE4LjEzM2MwIDEuNTgyLTEuMjcyIDIuODY1LTIuODQgMi44NjVIMi44NEMxLjI3MSAyMy45MjQgMCAyMi42NDEgMCAyMS4wNlYyLjkyNloiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNLjAzMyAyLjYzNkMuMDMzIDEuMTgxIDEuMjAzIDAgMi42NDUgMEg0NC43NWMxLjQ0MiAwIDIuNjExIDEuMTggMi42MTEgMi42MzZ2LjA4NEguMDMzdi0uMDg0Wk00Ny4zNiAyMS4yOTh2LjA2NmMwIDEuNDU1LTEuMTY5IDIuNjM2LTIuNjExIDIuNjM2SDIuNjQ1QzEuMjAzIDI0IC4wMzMgMjIuODIuMDMzIDIxLjM2NHYtLjA2Nkg0Ny4zNloiIGZpbGw9IiNGQkIxMTAiLz48cGF0aCBkPSJNMzIuNzg3IDExLjk3MmMwIDMuNjg1IDIuOTYgNi42NzIgNi42MTIgNi42NzIgMy42NSAwIDYuNjEyLTIuOTg3IDYuNjEyLTYuNjcyIDAtMy42ODYtMi45NjEtNi42NzMtNi42MTItNi42NzMtMy42NTIgMC02LjYxMiAyLjk4Ny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Mi4yMDcgMS43NzEtMy45OTUgMy45NTctMy45OTUgMi4xODUgMCAzLjk1OCAxLjc4OCAzLjk1OCAzLjk5NSAwIDIuMjA2LTEuNzczIDMuOTk0LTMuOTU4IDMuOTk0LTIuMTg2IDAtMy45NTgtMS43ODgtMy45NTgtMy45OTRaIiBmaWxsPSIjRTcwMDIwIi8+PC9zdmc+"})),currencies:["MXN"],capability:"oxxo_payments"},alipay:{id:"alipay",label:Object(u.__)("Alipay","woocommerce-gateway-stripe"),description:Object(u.__)("Alipay is a popular wallet in China, operated by Ant Financial Services Group, a financial services provider affiliated with Alibaba.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["AUD","CAD","CNY","EUR","GBP","HKD","JPY","MYR","NZD","USD"],capability:void 0},multibanco:{id:"multibanco",label:Object(u.__)("Multibanco","woocommerce-gateway-stripe"),description:Object(u.__)("Multibanco is an interbank network that links the ATMs of all major banks in Portugal, allowing customers to pay through either their ATM or online banking environment.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["EUR"],capability:void 0}}},function(M,t,e){var u=e(13),j=/#|\.prototype\./,n=function(M,t){var e=r[i(M)];return e==c||e!=L&&("function"==typeof t?u(t):!!t)},i=n.normalize=function(M){return String(M).replace(j,".").toLowerCase()},r=n.data={},L=n.NATIVE="N",c=n.POLYFILL="P";M.exports=n},,function(M,t,e){var u=e(13),j=e(10),n=e(46),i=j("species");M.exports=function(M){return n>=51||!u((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[M](Boolean).foo}))}},function(M,t){M.exports=window.ReactDOM},,,function(M,t,e){"use strict";var u={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,n=j&&!u.call({1:2},1);t.f=n?function(M){var t=j(this,M);return!!t&&t.enumerable}:u},,function(M,t,e){var u=e(49),j=Math.max,n=Math.min;M.exports=function(M,t){var e=u(M);return e<0?j(e+t,0):n(e,t)}},,,,,,,,,,,function(M,t,e){var u=e(41),j=e(53),n=e(43),i=e(40),r=e(143),L=[].push,c=function(M){var t=1==M,e=2==M,c=3==M,o=4==M,a=6==M,N=7==M,y=5==M||a;return function(s,D,g,A){for(var S,I,T=n(s),z=j(T),w=u(D,g,3),l=i(z.length),x=0,E=A||r,d=t?E(s,l):e||N?E(s,0):void 0;l>x;x++)if((y||x in z)&&(I=w(S=z[x],x,T),M))if(t)d[x]=I;else if(I)switch(M){case 3:return!0;case 5:return S;case 6:return x;case 2:L.call(d,S)}else switch(M){case 4:return!1;case 7:L.call(d,S)}return a?-1:c||o?o:d}};M.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(M,t,e){var u=e(30);M.exports=Array.isArray||function(M){return"Array"==u(M)}},function(M,t,e){var u=e(115);M.exports=function(M){if(u(M))throw TypeError("The method doesn't accept regular expressions");return M}},function(M,t,e){var u=e(10)("match");M.exports=function(M){var t=/./;try{"/./"[M](t)}catch(e){try{return t[u]=!1,"/./"[M](t)}catch(M){}}return!1}},,,function(M,t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(M){"object"==typeof window&&(e=window)}M.exports=e},function(M,t,e){var u=e(9),j=e(20);M.exports=function(M,t){try{j(u,M,t)}catch(e){u[M]=t}return t}},function(M,t,e){var u=e(72);M.exports=u&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(M,t,e){var u=e(110);M.exports=u},function(M,t,e){var u=e(111),j=e(113),n=Array.prototype,i=String.prototype;M.exports=function(M){var t=M.includes;return M===n||M instanceof Array&&t===n.includes?u:"string"==typeof M||M===i||M instanceof String&&t===i.includes?j:t}},function(M,t,e){e(112);var u=e(28);M.exports=u("Array").includes},function(M,t,e){"use strict";var u=e(12),j=e(64).includes,n=e(77);u({target:"Array",proto:!0},{includes:function(M){return j(this,M,arguments.length>1?arguments[1]:void 0)}}),n("includes")},function(M,t,e){e(114);var u=e(28);M.exports=u("String").includes},function(M,t,e){"use strict";var u=e(12),j=e(102),n=e(31);u({target:"String",proto:!0,forced:!e(103)("includes")},{includes:function(M){return!!~String(n(this)).indexOf(j(M),arguments.length>1?arguments[1]:void 0)}})},function(M,t,e){var u=e(17),j=e(30),n=e(10)("match");M.exports=function(M){var t;return u(M)&&(void 0!==(t=M[n])?!!t:"RegExp"==j(M))}},,,function(M,t,e){"use strict";var u=e(6),j=e(0),n=(e(2),e(224)),i=e(225);const r=Object(u.a)(n.a,{target:"e1c44dwr1"})({name:"1mcx43l",styles:"fill:#d94f4f;margin-right:4px"}),L=Object(u.a)("span",{target:"e1c44dwr0"})({name:"8irbms",styles:"display:inline-flex;align-items:center"});t.a=({title:M})=>Object(j.createElement)(L,null,Object(j.createElement)(r,{icon:i.a}),M)},function(M,t,e){"use strict";var u=e(8),j=e.n(u),n=e(6),i=e(0);e(2);const r={small:{name:"1agzdcq",styles:"height:24px;width:37px"},medium:{name:"aemqcy",styles:"height:40px;width:65px"}},L=Object(n.a)("span",{target:"e575mz50"})(({size:M})=>r[M]||""," box-sizing:border-box;display:inline-flex;justify-content:center;border:1px solid transparent;img{max-width:100%;}");t.a=({src:M,children:t,alt:e,size:u="small",...n})=>Object(i.createElement)(L,j()({},n,{size:u}),M?Object(i.createElement)("img",{src:M,alt:e}):t)},,,,,,,,,,,,,,,,function(M,t,e){"use strict";var u=e(187),j={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function L(M){return u.isMemo(M)?i:r[M.$$typeof]||j}r[u.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[u.Memo]=i;var c=Object.defineProperty,o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,N=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,s=Object.prototype;M.exports=function M(t,e,u){if("string"!=typeof e){if(s){var j=y(e);j&&j!==s&&M(t,j,u)}var i=o(e);a&&(i=i.concat(a(e)));for(var r=L(t),D=L(e),g=0;g<i.length;++g){var A=i[g];if(!(n[A]||u&&u[A]||D&&D[A]||r&&r[A])){var S=N(e,A);try{c(t,A,S)}catch(M){}}}}return t}},,,,,,,,function(M,t,e){var u=e(17),j=e(101),n=e(10)("species");M.exports=function(M,t){var e;return j(M)&&("function"!=typeof(e=M.constructor)||e!==Array&&!j(e.prototype)?u(e)&&null===(e=e[n])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===t?0:t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(M,t,e){var u=e(171);M.exports=u},function(M,t,e){var u=e(172),j=Array.prototype;M.exports=function(M){var t=M.map;return M===j||M instanceof Array&&t===j.map?u:t}},function(M,t,e){e(173);var u=e(28);M.exports=u("Array").map},function(M,t,e){"use strict";var u=e(12),j=e(100).map;u({target:"Array",proto:!0,forced:!e(83)("map")},{map:function(M){return j(this,M,arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,function(M,t,e){"use strict";M.exports=e(188)},function(M,t,e){"use strict";var u="function"==typeof Symbol&&Symbol.for,j=u?Symbol.for("react.element"):60103,n=u?Symbol.for("react.portal"):60106,i=u?Symbol.for("react.fragment"):60107,r=u?Symbol.for("react.strict_mode"):60108,L=u?Symbol.for("react.profiler"):60114,c=u?Symbol.for("react.provider"):60109,o=u?Symbol.for("react.context"):60110,a=u?Symbol.for("react.async_mode"):60111,N=u?Symbol.for("react.concurrent_mode"):60111,y=u?Symbol.for("react.forward_ref"):60112,s=u?Symbol.for("react.suspense"):60113,D=u?Symbol.for("react.suspense_list"):60120,g=u?Symbol.for("react.memo"):60115,A=u?Symbol.for("react.lazy"):60116,S=u?Symbol.for("react.block"):60121,I=u?Symbol.for("react.fundamental"):60117,T=u?Symbol.for("react.responder"):60118,z=u?Symbol.for("react.scope"):60119;function w(M){if("object"==typeof M&&null!==M){var t=M.$$typeof;switch(t){case j:switch(M=M.type){case a:case N:case i:case L:case r:case s:return M;default:switch(M=M&&M.$$typeof){case o:case y:case A:case g:case c:return M;default:return t}}case n:return t}}}function l(M){return w(M)===N}t.AsyncMode=a,t.ConcurrentMode=N,t.ContextConsumer=o,t.ContextProvider=c,t.Element=j,t.ForwardRef=y,t.Fragment=i,t.Lazy=A,t.Memo=g,t.Portal=n,t.Profiler=L,t.StrictMode=r,t.Suspense=s,t.isAsyncMode=function(M){return l(M)||w(M)===a},t.isConcurrentMode=l,t.isContextConsumer=function(M){return w(M)===o},t.isContextProvider=function(M){return w(M)===c},t.isElement=function(M){return"object"==typeof M&&null!==M&&M.$$typeof===j},t.isForwardRef=function(M){return w(M)===y},t.isFragment=function(M){return w(M)===i},t.isLazy=function(M){return w(M)===A},t.isMemo=function(M){return w(M)===g},t.isPortal=function(M){return w(M)===n},t.isProfiler=function(M){return w(M)===L},t.isStrictMode=function(M){return w(M)===r},t.isSuspense=function(M){return w(M)===s},t.isValidElementType=function(M){return"string"==typeof M||"function"==typeof M||M===i||M===N||M===L||M===r||M===s||M===D||"object"==typeof M&&null!==M&&(M.$$typeof===A||M.$$typeof===g||M.$$typeof===c||M.$$typeof===o||M.$$typeof===y||M.$$typeof===I||M.$$typeof===T||M.$$typeof===z||M.$$typeof===S)},t.typeOf=w},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(M,t,e){},,function(M,t,e){"use strict";var u=e(0);t.a=function({icon:M,size:t=24,...e}){return Object(u.cloneElement)(M,{width:t,height:t,...e})}},function(M,t,e){"use strict";var u=e(0),j=e(47);const n=Object(u.createElement)(j.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(j.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(M,t,e){},function(M,t,e){},,,,,,function(M,t,e){"use strict";e.r(t);var u=e(0),j=e(2),n=e(84),i=e.n(n),r=e(15),L=e.n(r),c=e(78),o=e.n(c),a=e(1),N=e(5),y=e(11),s=e(80);e(275);var D=({name:M,showName:t})=>{const e=s.a[M];if(!e)return Object(u.createElement)(u.Fragment,null);const{label:j,Icon:n}=e;return Object(u.createElement)("span",{className:"woocommerce-gateway-stripe__payment-method-icon"},Object(u.createElement)(n,{className:"woocommerce-gateway-stripe__payment-method-icon__icon"}),t&&Object(u.createElement)("span",{className:"woocommerce-gateway-stripe__payment-method-icon__label"},j))},g=e(79),A=(e(276),e(118)),S=({onClose:M,onConfirm:t})=>{const[e]=Object(y.d)(),[j]=Object(y.o)(),n=0===e.length&&j?Object(a.__)("Are you sure you want to disable Stripe? Without it, your customers will no longer be able to pay using the express checkouts.","woocommerce-gateway-stripe"):Object(a.__)("Are you sure you want to disable Stripe? Without it, your customers will no longer be able to pay using the payment methods below as well as express checkouts.","woocommerce-gateway-stripe");return Object(u.createElement)(g.a,{title:Object(u.createElement)(A.a,{title:Object(a.__)("Disable Stripe","woocommerce-gateway-stripe")}),className:"disable-confirmation-modal",onRequestClose:M,actions:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(N.Button,{onClick:t,isPrimary:!0,isDestructive:!0},"Disable"),Object(u.createElement)(N.Button,{onClick:M,isSecondary:!0},"Cancel"))},Object(u.createElement)("p",null,n),e.length>0&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",null,Object(a.__)("Payment methods that need Stripe:","woocommerce-gateway-stripe")),Object(u.createElement)("ul",{className:"disable-confirmation-modal__payment-methods-list"},o()(e).call(e,M=>Object(u.createElement)("li",{key:M},Object(u.createElement)(D,{name:M,showName:!0}))))))};const I=document.getElementById("wc-stripe-payment-gateways-container");I&&i.a.render(Object(u.createElement)(()=>{Object(y.s)();const[M,t]=Object(j.useState)(!1),e=Object(j.useRef)(!1),n=Object(j.useCallback)(()=>{t(!1),e.current=!0,jQuery('tr[data-gateway_id="stripe"] .wc-payment-gateway-method-toggle-enabled').trigger("click")},[t]),i=Object(j.useCallback)(()=>{t(!1)},[t]);return Object(j.useEffect)(()=>{const M=(M,u,j)=>{var n;!0!==e.current?woocommerce_admin.ajax_url===j.url&&L()(n=j.data).call(n,"action=woocommerce_toggle_gateway_enabled")&&-1!==j.data.search(/gateway_id=stripe(&|$)/)&&1!==jQuery('tr[data-gateway_id="stripe"] .woocommerce-input-toggle--disabled').length&&(u.abort(),jQuery('tr[data-gateway_id="stripe"] .woocommerce-input-toggle--loading').removeClass("woocommerce-input-toggle--loading"),t(!0)):e.current=!1};return jQuery(document).on("ajaxSend",M),()=>{jQuery(document).off("ajaxSend",M)}},[]),M?Object(u.createElement)(S,{onClose:i,onConfirm:n}):null},null),I)}]);
 
 
1
+ !function(t){var M={};function e(u){if(M[u])return M[u].exports;var n=M[u]={i:u,l:!1,exports:{}};return t[u].call(n.exports,n,n.exports,e),n.l=!0,n.exports}e.m=t,e.c=M,e.d=function(t,M,u){e.o(t,M)||Object.defineProperty(t,M,{enumerable:!0,get:u})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,M){if(1&M&&(t=e(t)),8&M)return t;if(4&M&&"object"==typeof t&&t&&t.__esModule)return t;var u=Object.create(null);if(e.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:t}),2&M&&"string"!=typeof t)for(var n in t)e.d(u,n,function(M){return t[M]}.bind(null,n));return u},e.n=function(t){var M=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(M,"a",M),M},e.o=function(t,M){return Object.prototype.hasOwnProperty.call(t,M)},e.p="",e(e.s=284)}([function(t,M){t.exports=window.wp.element},function(t,M){t.exports=window.React},function(t,M){t.exports=window.wp.i18n},function(t,M){t.exports=window.wp.data},function(t,M,e){"use strict";e.d(M,"a",(function(){return u})),e.d(M,"b",(function(){return n}));const u="/wc/v3/wc_stripe",n="wc/stripe"},function(t,M,e){"use strict";function u(){return(u=Object.assign||function(t){for(var M=1;M<arguments.length;M++){var e=arguments[M];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(t[u]=e[u])}return t}).apply(this,arguments)}var n=e(1),r=function(t){var M=Object.create(null);return function(e){return void 0===M[e]&&(M[e]=t(e)),M[e]}},i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,j=r((function(t){return i.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),c=function(){function t(t){var M=this;this._insertTag=function(t){var e;e=0===M.tags.length?M.prepend?M.container.firstChild:M.before:M.tags[M.tags.length-1].nextSibling,M.container.insertBefore(t,e),M.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.before=null}var M=t.prototype;return M.hydrate=function(t){t.forEach(this._insertTag)},M.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var M=document.createElement("style");return M.setAttribute("data-emotion",t.key),void 0!==t.nonce&&M.setAttribute("nonce",t.nonce),M.appendChild(document.createTextNode("")),M.setAttribute("data-s",""),M}(this));var M=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(t){if(t.sheet)return t.sheet;for(var M=0;M<document.styleSheets.length;M++)if(document.styleSheets[M].ownerNode===t)return document.styleSheets[M]}(M);try{e.insertRule(t,e.cssRules.length)}catch(t){}}else M.appendChild(document.createTextNode(t));this.ctr++},M.flush=function(){this.tags.forEach((function(t){return t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),L="-ms-",o="-moz-",a="-webkit-",N="comm",y="rule",s="decl",g=Math.abs,D=String.fromCharCode;function A(t){return t.trim()}function S(t,M,e){return t.replace(M,e)}function I(t,M){return t.indexOf(M)}function T(t,M){return 0|t.charCodeAt(M)}function z(t,M,e){return t.slice(M,e)}function w(t){return t.length}function l(t){return t.length}function x(t,M){return M.push(t),t}var E=1,d=1,O=0,p=0,f=0,C="";function m(t,M,e,u,n,r,i){return{value:t,root:M,parent:e,type:u,props:n,children:r,line:E,column:d,length:i,return:""}}function Y(t,M,e){return m(t,M.root,M.parent,e,M.props,M.children,0)}function b(){return f=p>0?T(C,--p):0,d--,10===f&&(d=1,E--),f}function h(){return f=p<O?T(C,p++):0,d++,10===f&&(d=1,E++),f}function v(){return T(C,p)}function k(){return p}function U(t,M){return z(C,t,M)}function Q(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(t){return E=d=1,O=w(C=t),p=0,[]}function G(t){return C="",t}function Z(t){return A(U(p-1,function t(M){for(;h();)switch(f){case M:return p;case 34:case 39:return t(34===M||39===M?M:f);case 40:41===M&&t(M);break;case 92:h()}return p}(91===t?t+2:40===t?t+1:t)))}function P(t){for(;(f=v())&&f<33;)h();return Q(t)>2||Q(f)>3?"":" "}function R(t,M){for(;--M&&h()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return U(t,k()+(M<6&&32==v()&&32==h()))}function W(t,M){for(;h()&&t+f!==57&&(t+f!==84||47!==v()););return"/*"+U(M,p-1)+"*"+D(47===t?t:h())}function V(t){for(;!Q(v());)h();return U(t,p)}function B(t,M,e,u,n,r,i,j,c,L,o){for(var a=n-1,N=0===n?r:[""],s=l(N),D=0,I=0,T=0;D<u;++D)for(var w=0,x=z(t,a+1,a=g(I=i[D])),E=t;w<s;++w)(E=A(I>0?N[w]+" "+x:S(x,/&\f/g,N[w])))&&(c[T++]=E);return m(t,M,e,0===n?y:j,c,L,o)}function F(t,M,e){return m(t,M,e,N,D(f),z(t,2,-2),0)}function J(t,M,e,u){return m(t,M,e,s,z(t,0,u),z(t,u+1,-1),u)}function H(t,M){for(var e="",u=l(t),n=0;n<u;n++)e+=M(t[n],n,t,M)||"";return e}function X(t,M,e,u){switch(t.type){case"@import":case s:return t.return=t.return||t.value;case N:return"";case y:t.value=t.props.join(",")}return w(e=H(t.children,u))?t.return=t.value+"{"+e+"}":""}function $(t){return function(M){M.root||(M=M.return)&&t(M)}}var K=new WeakMap,q=function(t){if("rule"===t.type&&t.parent&&t.length){for(var M=t.value,e=t.parent,u=t.column===e.column&&t.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==t.props.length||58===M.charCodeAt(0)||K.get(e))&&!u){K.set(t,!0);for(var n=[],r=function(t,M){return G(function(t,M){var e=-1,u=44;do{switch(Q(u)){case 0:38===u&&12===v()&&(M[e]=1),t[e]+=V(p-1);break;case 2:t[e]+=Z(u);break;case 4:if(44===u){t[++e]=58===v()?"&\f":"",M[e]=t[e].length;break}default:t[e]+=D(u)}}while(u=h());return t}(_(t),M))}(M,n),i=e.props,j=0,c=0;j<r.length;j++)for(var L=0;L<i.length;L++,c++)t.props[c]=n[j]?r[j].replace(/&\f/g,i[L]):i[L]+" "+r[j]}}},tt=function(t){if("decl"===t.type){var M=t.value;108===M.charCodeAt(0)&&98===M.charCodeAt(2)&&(t.return="",t.value="")}},Mt=[function(t,M,e,u){if(!t.return)switch(t.type){case s:t.return=function t(M,e){switch(function(t,M){return(((M<<2^T(t,0))<<2^T(t,1))<<2^T(t,2))<<2^T(t,3)}(M,e)){case 5103:return a+"print-"+M+M;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+M+M;case 5349:case 4246:case 4810:case 6968:case 2756:return a+M+o+M+L+M+M;case 6828:case 4268:return a+M+L+M+M;case 6165:return a+M+L+"flex-"+M+M;case 5187:return a+M+S(M,/(\w+).+(:[^]+)/,a+"box-$1$2"+L+"flex-$1$2")+M;case 5443:return a+M+L+"flex-item-"+S(M,/flex-|-self/,"")+M;case 4675:return a+M+L+"flex-line-pack"+S(M,/align-content|flex-|-self/,"")+M;case 5548:return a+M+L+S(M,"shrink","negative")+M;case 5292:return a+M+L+S(M,"basis","preferred-size")+M;case 6060:return a+"box-"+S(M,"-grow","")+a+M+L+S(M,"grow","positive")+M;case 4554:return a+S(M,/([^-])(transform)/g,"$1"+a+"$2")+M;case 6187:return S(S(S(M,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),M,"")+M;case 5495:case 3959:return S(M,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return S(S(M,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+L+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+M+M;case 4095:case 3583:case 4068:case 2532:return S(M,/(.+)-inline(.+)/,a+"$1$2")+M;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(M)-1-e>6)switch(T(M,e+1)){case 109:if(45!==T(M,e+4))break;case 102:return S(M,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==T(M,e+3)?"$3":"$2-$3"))+M;case 115:return~I(M,"stretch")?t(S(M,"stretch","fill-available"),e)+M:M}break;case 4949:if(115!==T(M,e+1))break;case 6444:switch(T(M,w(M)-3-(~I(M,"!important")&&10))){case 107:return S(M,":",":"+a)+M;case 101:return S(M,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===T(M,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+L+"$2box$3")+M}break;case 5936:switch(T(M,e+11)){case 114:return a+M+L+S(M,/[svh]\w+-[tblr]{2}/,"tb")+M;case 108:return a+M+L+S(M,/[svh]\w+-[tblr]{2}/,"tb-rl")+M;case 45:return a+M+L+S(M,/[svh]\w+-[tblr]{2}/,"lr")+M}return a+M+L+M+M}return M}(t.value,t.length);break;case"@keyframes":return H([Y(S(t.value,"@","@"+a),t,"")],u);case y:if(t.length)return function(t,M){return t.map(M).join("")}(t.props,(function(M){switch(function(t,M){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(M)){case":read-only":case":read-write":return H([Y(S(M,/:(read-\w+)/,":-moz-$1"),t,"")],u);case"::placeholder":return H([Y(S(M,/:(plac\w+)/,":"+a+"input-$1"),t,""),Y(S(M,/:(plac\w+)/,":-moz-$1"),t,""),Y(S(M,/:(plac\w+)/,L+"input-$1"),t,"")],u)}return""}))}}],et=function(t){var M=t.key;if("css"===M){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var u,n,r=t.stylisPlugins||Mt,i={},j=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+M+' "]'),(function(t){for(var M=t.getAttribute("data-emotion").split(" "),e=1;e<M.length;e++)i[M[e]]=!0;j.push(t)}));var L,o=[q,tt],a=[X,$((function(t){L.insert(t)}))],N=function(t){var M=l(t);return function(e,u,n,r){for(var i="",j=0;j<M;j++)i+=t[j](e,u,n,r)||"";return i}}(o.concat(r,a));n=function(t,M,e,u){L=e,H(function(t){return G(function t(M,e,u,n,r,i,j,c,L){for(var o=0,a=0,N=j,y=0,s=0,g=0,A=1,I=1,T=1,z=0,l="",E=r,d=i,O=n,p=l;I;)switch(g=z,z=h()){case 34:case 39:case 91:case 40:p+=Z(z);break;case 9:case 10:case 13:case 32:p+=P(g);break;case 92:p+=R(k()-1,7);continue;case 47:switch(v()){case 42:case 47:x(F(W(h(),k()),e,u),L);break;default:p+="/"}break;case 123*A:c[o++]=w(p)*T;case 125*A:case 59:case 0:switch(z){case 0:case 125:I=0;case 59+a:s>0&&w(p)-N&&x(s>32?J(p+";",n,u,N-1):J(S(p," ","")+";",n,u,N-2),L);break;case 59:p+=";";default:if(x(O=B(p,e,u,o,a,r,c,l,E=[],d=[],N),i),123===z)if(0===a)t(p,e,O,O,E,i,N,c,d);else switch(y){case 100:case 109:case 115:t(M,O,O,n&&x(B(M,O,O,0,0,r,c,l,r,E=[],N),d),r,d,N,c,n?E:d);break;default:t(p,O,O,O,[""],d,N,c,d)}}o=a=s=0,A=T=1,l=p="",N=j;break;case 58:N=1+w(p),s=g;default:if(A<1)if(123==z)--A;else if(125==z&&0==A++&&125==b())continue;switch(p+=D(z),z*A){case 38:T=a>0?1:(p+="\f",-1);break;case 44:c[o++]=(w(p)-1)*T,T=1;break;case 64:45===v()&&(p+=Z(h())),y=v(),a=w(l=p+=V(k())),z++;break;case 45:45===g&&2==w(p)&&(A=0)}}return i}("",null,null,null,[""],t=_(t),0,[0],t))}(t?t+"{"+M.styles+"}":M.styles),N),u&&(y.inserted[M.name]=!0)};var y={key:M,sheet:new c({key:M,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend}),nonce:t.nonce,inserted:i,registered:{},insert:n};return y.sheet.hydrate(j),y};function ut(t,M,e){var u="";return e.split(" ").forEach((function(e){void 0!==t[e]?M.push(t[e]+";"):u+=e+" "})),u}e(151);var nt=function(t,M,e){var u=t.key+"-"+M.name;if(!1===e&&void 0===t.registered[u]&&(t.registered[u]=M.styles),void 0===t.inserted[M.name]){var n=M;do{t.insert(M===n?"."+u:"",n,t.sheet,!0),n=n.next}while(void 0!==n)}},rt=function(t){for(var M,e=0,u=0,n=t.length;n>=4;++u,n-=4)M=1540483477*(65535&(M=255&t.charCodeAt(u)|(255&t.charCodeAt(++u))<<8|(255&t.charCodeAt(++u))<<16|(255&t.charCodeAt(++u))<<24))+(59797*(M>>>16)<<16),e=1540483477*(65535&(M^=M>>>24))+(59797*(M>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(n){case 3:e^=(255&t.charCodeAt(u+2))<<16;case 2:e^=(255&t.charCodeAt(u+1))<<8;case 1:e=1540483477*(65535&(e^=255&t.charCodeAt(u)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)},it={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jt=/[A-Z]|^ms/g,ct=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lt=function(t){return 45===t.charCodeAt(1)},ot=function(t){return null!=t&&"boolean"!=typeof t},at=r((function(t){return Lt(t)?t:t.replace(jt,"-$&").toLowerCase()})),Nt=function(t,M){switch(t){case"animation":case"animationName":if("string"==typeof M)return M.replace(ct,(function(t,M,e){return st={name:M,styles:e,next:st},M}))}return 1===it[t]||Lt(t)||"number"!=typeof M||0===M?M:M+"px"};function yt(t,M,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return st={name:e.name,styles:e.styles,next:st},e.name;if(void 0!==e.styles){var u=e.next;if(void 0!==u)for(;void 0!==u;)st={name:u.name,styles:u.styles,next:st},u=u.next;return e.styles+";"}return function(t,M,e){var u="";if(Array.isArray(e))for(var n=0;n<e.length;n++)u+=yt(t,M,e[n])+";";else for(var r in e){var i=e[r];if("object"!=typeof i)null!=M&&void 0!==M[i]?u+=r+"{"+M[i]+"}":ot(i)&&(u+=at(r)+":"+Nt(r,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=M&&void 0!==M[i[0]]){var j=yt(t,M,i);switch(r){case"animation":case"animationName":u+=at(r)+":"+j+";";break;default:u+=r+"{"+j+"}"}}else for(var c=0;c<i.length;c++)ot(i[c])&&(u+=at(r)+":"+Nt(r,i[c])+";")}return u}(t,M,e);case"function":if(void 0!==t){var n=st,r=e(t);return st=n,yt(t,M,r)}}if(null==M)return e;var i=M[e];return void 0!==i?i:e}var st,gt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Dt=function(t,M,e){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var u=!0,n="";st=void 0;var r=t[0];null==r||void 0===r.raw?(u=!1,n+=yt(e,M,r)):n+=r[0];for(var i=1;i<t.length;i++)n+=yt(e,M,t[i]),u&&(n+=r[i]);gt.lastIndex=0;for(var j,c="";null!==(j=gt.exec(n));)c+="-"+j[1];return{name:rt(n)+c,styles:n,next:st}},At=(Object.prototype.hasOwnProperty,Object(n.createContext)("undefined"!=typeof HTMLElement?et({key:"css"}):null));At.Provider;var St=function(t){return Object(n.forwardRef)((function(M,e){var u=Object(n.useContext)(At);return t(M,u,e)}))},It=Object(n.createContext)({}),Tt=j,zt=function(t){return"theme"!==t},wt=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?Tt:zt},lt=function(t,M,e){var u;if(M){var n=M.shouldForwardProp;u=t.__emotion_forwardProp&&n?function(M){return t.__emotion_forwardProp(M)&&n(M)}:n}return"function"!=typeof u&&e&&(u=t.__emotion_forwardProp),u};M.a=function t(M,e){var r,i,j=M.__emotion_real===M,c=j&&M.__emotion_base||M;void 0!==e&&(r=e.label,i=e.target);var L=lt(M,e,j),o=L||wt(c),a=!o("as");return function(){var N=arguments,y=j&&void 0!==M.__emotion_styles?M.__emotion_styles.slice(0):[];if(void 0!==r&&y.push("label:"+r+";"),null==N[0]||void 0===N[0].raw)y.push.apply(y,N);else{y.push(N[0][0]);for(var s=N.length,g=1;g<s;g++)y.push(N[g],N[0][g])}var D=St((function(t,M,e){var u=a&&t.as||c,r="",j=[],N=t;if(null==t.theme){for(var s in N={},t)N[s]=t[s];N.theme=Object(n.useContext)(It)}"string"==typeof t.className?r=ut(M.registered,j,t.className):null!=t.className&&(r=t.className+" ");var g=Dt(y.concat(j),M.registered,N);nt(M,g,"string"==typeof u),r+=M.key+"-"+g.name,void 0!==i&&(r+=" "+i);var D=a&&void 0===L?wt(u):o,A={};for(var S in t)a&&"as"===S||D(S)&&(A[S]=t[S]);return A.className=r,A.ref=e,Object(n.createElement)(u,A)}));return D.displayName=void 0!==r?r:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",D.defaultProps=M.defaultProps,D.__emotion_real=D,D.__emotion_base=c,D.__emotion_styles=y,D.__emotion_forwardProp=L,Object.defineProperty(D,"toString",{value:function(){return"."+i}}),D.withComponent=function(M,n){return t(M,u({},e,n,{shouldForwardProp:lt(D,n,!0)})).apply(void 0,y)},D}}},function(t,M){t.exports=window.wp.components},function(t,M){function e(){return t.exports=e=Object.assign||function(t){for(var M=1;M<arguments.length;M++){var e=arguments[M];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(t[u]=e[u])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},,function(t,M,e){(function(M){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof M&&M)||function(){return this}()||Function("return this")()}).call(this,e(99))},function(t,M,e){var u=e(9),n=e(76),r=e(19),i=e(77),j=e(67),c=e(103),L=n("wks"),o=u.Symbol,a=c?o:o&&o.withoutSetter||i;t.exports=function(t){return r(L,t)&&(j||"string"==typeof L[t])||(j&&r(o,t)?L[t]=o[t]:L[t]=a("Symbol."+t)),L[t]}},function(t,M,e){"use strict";var u=e(9),n=e(74).f,r=e(83),i=e(24),j=e(39),c=e(20),L=e(19),o=function(t){var M=function(M,e,u){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(M);case 2:return new t(M,e)}return new t(M,e,u)}return t.apply(this,arguments)};return M.prototype=t.prototype,M};t.exports=function(t,M){var e,a,N,y,s,g,D,A,S=t.target,I=t.global,T=t.stat,z=t.proto,w=I?u:T?u[S]:(u[S]||{}).prototype,l=I?i:i[S]||(i[S]={}),x=l.prototype;for(N in M)e=!r(I?N:S+(T?".":"#")+N,t.forced)&&w&&L(w,N),s=l[N],e&&(g=t.noTargetGet?(A=n(w,N))&&A.value:w[N]),y=e&&g?g:M[N],e&&typeof s==typeof y||(D=t.bind&&e?j(y,u):t.wrap&&e?o(y):z&&"function"==typeof y?j(Function.call,y):y,(t.sham||y&&y.sham||s&&s.sham)&&c(D,"sham",!0),l[N]=D,z&&(L(i,a=S+"Prototype")||c(i,a,{}),i[a][N]=y,t.real&&x&&!x[N]&&c(x,N,y)))}},function(t,M){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,M,e){"use strict";e.d(M,"s",(function(){return p})),e.d(M,"d",(function(){return f})),e.d(M,"o",(function(){return C})),e.d(M,"l",(function(){return m})),e.d(M,"n",(function(){return Y})),e.d(M,"m",(function(){return b})),e.d(M,"p",(function(){return h})),e.d(M,"h",(function(){return v})),e.d(M,"v",(function(){return k})),e.d(M,"w",(function(){return U})),e.d(M,"c",(function(){return Q})),e.d(M,"u",(function(){return _})),e.d(M,"q",(function(){return G})),e.d(M,"j",(function(){return Z})),e.d(M,"r",(function(){return P})),e.d(M,"a",(function(){return R})),e.d(M,"g",(function(){return W})),e.d(M,"t",(function(){return V})),e.d(M,"b",(function(){return B})),e.d(M,"i",(function(){return F})),e.d(M,"e",(function(){return J})),e.d(M,"f",(function(){return H})),e.d(M,"k",(function(){return at.b}));var u={};e.r(u),e.d(u,"getSettings",(function(){return g})),e.d(u,"isSavingSettings",(function(){return D})),e.d(u,"getSavingError",(function(){return A}));var n={};e.r(n),e.d(n,"updateSettingsValues",(function(){return I})),e.d(n,"updateSettings",(function(){return T})),e.d(n,"updateIsSavingSettings",(function(){return z})),e.d(n,"saveSettings",(function(){return w}));var r={};e.r(r),e.d(r,"getSettings",(function(){return l}));var i={};e.r(i),e.d(i,"getPaymentGateway",(function(){return Mt})),e.d(i,"isSavingPaymentGateway",(function(){return et})),e.d(i,"getPaymentGatewaySavingError",(function(){return ut}));var j={};e.r(j),e.d(j,"updatePaymentGatewayValues",(function(){return rt})),e.d(j,"updatePaymentGateway",(function(){return it})),e.d(j,"updateIsSavingPaymentGateway",(function(){return jt})),e.d(j,"savePaymentGateway",(function(){return ct}));var c={};e.r(c),e.d(c,"getPaymentGateway",(function(){return ot}));var L=e(4),o=e(3),a=e(16);const N={isSaving:!1,savingError:null,data:{}};const y={},s=t=>t&&t.settings||y,g=t=>s(t).data||y,D=t=>s(t).isSaving||!1,A=t=>s(t).savingError;var S=e(2);function I(t){return{type:"SET_SETTINGS_VALUES",payload:t}}function T(t){return{type:"SET_SETTINGS",data:t}}function z(t,M){return{type:"SET_IS_SAVING_SETTINGS",isSaving:t,error:M}}function*w(){let t=null;try{const M=Object(o.select)(L.b).getSettings();yield z(!0,null),yield Object(a.apiFetch)({path:L.a+"/settings",method:"post",data:M}),yield Object(o.dispatch)(L.b).invalidateResolutionForStoreSelector("getAccountData"),yield Object(o.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(M){t=M,yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield z(!1,t)}return null===t}function*l(){const t=L.a+"/settings";try{const M=yield Object(a.apiFetch)({path:t});yield T(M)}catch(t){yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving settings.","woocommerce-gateway-stripe"))}}var x=e(1);const E=[],d=(t,M=!1)=>()=>Object(o.useSelect)(e=>{const{getSettings:u}=e(L.b);return u()[t]||M},[t,M]),O=(t,M=!1)=>()=>{const{updateSettingsValues:e}=Object(o.useDispatch)(L.b);return[d(t,M)(),Object(x.useCallback)(M=>e({[t]:M}),[e])]},p=()=>{const{saveSettings:t}=Object(o.useDispatch)(L.b);return{settings:Object(o.useSelect)(t=>{const{getSettings:M}=t(L.b);return M()},[]),isLoading:Object(o.useSelect)(t=>{const{hasFinishedResolution:M,isResolving:e}=t(L.b);return e("getSettings")||!M("getSettings")},[]),isSaving:Object(o.useSelect)(t=>{const{isSavingSettings:M}=t(L.b);return M()},[]),saveSettings:t}},f=O("enabled_payment_method_ids",E),C=O("is_payment_request_enabled"),m=O("payment_request_button_size",""),Y=O("payment_request_button_type",""),b=O("payment_request_button_theme",""),h=O("payment_request_button_locations",E),v=O("is_stripe_enabled"),k=O("title",""),U=O("title_upe",""),Q=O("description",""),_=O("is_test_mode_enabled"),G=O("is_saved_cards_enabled"),Z=O("is_manual_capture_enabled"),P=O("is_separate_card_form_enabled"),R=O("statement_descriptor",""),W=O("is_short_statement_descriptor_enabled"),V=O("short_statement_descriptor",""),B=O("is_debug_log_enabled"),F=O("is_upe_enabled"),J=d("available_payment_method_ids",E),H=()=>Object(o.useSelect)(t=>{const{getSavingError:M}=t(L.b);return M()},[]);var X=e(23),$=e(28);const K={isSaving:!1,savingError:null,data:{}};const q={},tt=t=>t&&t.paymentGateway||q,Mt=t=>tt(t).data||q,et=t=>tt(t).isSaving||!1,ut=t=>tt(t).savingError;var nt=e(27);function rt(t){return{type:"SET_PAYMENT_GATEWAY_VALUES",payload:t}}function it(t){return{type:"SET_PAYMENT_GATEWAY",data:t}}function jt(t,M){return{type:"SET_IS_SAVING_PAYMENT_GATEWAY",isSaving:t,error:M}}function*ct(){let t=null;const{section:M}=Object(nt.getQuery)();try{const e=Object(o.select)(L.b).getPaymentGateway();yield jt(!0,null),yield Object(a.apiFetch)({path:`${L.a}/payment-gateway/${M}`,method:"post",data:e}),yield Object(o.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(M){t=M,yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield jt(!1,t)}return null===t}const{section:Lt}=Object(nt.getQuery)();function*ot(){const t=`${L.a}/payment-gateway/${Lt}`;try{const M=yield Object(a.apiFetch)({path:t});yield it(M)}catch(t){yield Object(o.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving payment gateway settings.","woocommerce-gateway-stripe"))}}var at=e(62);Object(o.registerStore)(L.b,{reducer:Object(o.combineReducers)({settings:(t=N,{type:M,...e})=>{switch(M){case"SET_SETTINGS":return{...t,data:e.data};case"SET_SETTINGS_VALUES":return{...t,savingError:null,data:{...t.data,...e.payload}};case"SET_IS_SAVING_SETTINGS":return{...t,isSaving:e.isSaving,savingError:e.error}}return t},account:X.b,accountKeys:$.b,paymentGateway:(t=K,{type:M,...e})=>{switch(M){case"SET_PAYMENT_GATEWAY":return{...t,data:e.data};case"SET_PAYMENT_GATEWAY_VALUES":return{...t,savingError:null,data:{...t.data,...e.payload}};case"SET_IS_SAVING_PAYMENT_GATEWAY":return{...t,isSaving:e.isSaving,savingError:e.error}}return t}}),actions:{...n,...X.a,...$.a,...j},controls:a.controls,selectors:{...u,...X.d,...$.d,...i},resolvers:{...r,...X.c,...$.c,...c}}),L.b},function(t,M,e){"use strict";var u=e(7),n=e.n(u),r=e(5),i=e(0),j=(e(1),e(89));const c={small:{name:"1r962iv",styles:"padding:4px"},medium:{name:"14si2be",styles:"padding:7px"}},L=Object(r.a)(j.a,{target:"erwkboy0"})("background:white;border-color:#ddd;border-radius:5px;overflow:hidden;",({size:t})=>c[t]||"",";");M.a=({size:t="small",...M})=>Object(i.createElement)(L,n()({},M,{size:t}))},function(t,M,e){t.exports=e(106)},function(t,M){t.exports=window.wp.dataControls},function(t,M){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},,function(t,M){var e={}.hasOwnProperty;t.exports=function(t,M){return e.call(t,M)}},function(t,M,e){var u=e(21),n=e(38),r=e(34);t.exports=u?function(t,M,e){return n.f(t,M,r(1,e))}:function(t,M,e){return t[M]=e,t}},function(t,M,e){var u=e(12);t.exports=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,M,e){var u=e(17);t.exports=function(t){if(!u(t))throw TypeError(String(t)+" is not an object");return t}},function(t,M,e){"use strict";e.d(M,"b",(function(){return j})),e.d(M,"d",(function(){return u})),e.d(M,"a",(function(){return S})),e.d(M,"c",(function(){return n})),e.d(M,"e",(function(){return x.a})),e.d(M,"f",(function(){return x.b}));var u={};e.r(u),e.d(u,"getAccountData",(function(){return s})),e.d(u,"getAccountCapabilities",(function(){return g})),e.d(u,"getAccountCapabilitiesByStatus",(function(){return D})),e.d(u,"isRefreshingAccount",(function(){return A}));var n={};e.r(n),e.d(n,"getAccountData",(function(){return l}));var r=e(54);const i={isRefreshing:!1,data:{}};var j=(t=i,{type:M,...e})=>{switch(M){case r.a.SET_ACCOUNT:return{...t,data:e.payload};case r.a.SET_IS_REFRESHING:return{...t,isRefreshing:e.isRefreshing}}return t},c=e(63),L=e.n(c),o=e(113),a=e.n(o);const N={},y=t=>t&&t.account||N,s=t=>y(t).data||N,g=t=>{var M,e;return null!==(M=null===(e=s(t).account)||void 0===e?void 0:e.capabilities)&&void 0!==M?M:N},D=(t,M)=>{var e;const u=g(t);return L()(e=a()(u)).call(e,(t,[e,u])=>(u===M&&t.push(e),t),[])},A=t=>y(t).isRefreshing||!1;var S=e(52),I=e(3),T=e(2),z=e(16),w=e(4);function*l(){const t=w.a+"/account";try{const M=yield Object(z.apiFetch)({path:t});yield Object(S.updateAccount)(M)}catch(t){yield Object(I.dispatch)("core/notices").createErrorNotice(Object(T.__)("Error retrieving account data.","woocommerce-gateway-stripe"))}}var x=e(88)},function(t,M){t.exports={}},function(t,M,e){var u=e(24);t.exports=function(t){return u[t+"Prototype"]}},,function(t,M){t.exports=window.wc.navigation},function(t,M,e){"use strict";e.d(M,"b",(function(){return j})),e.d(M,"d",(function(){return u})),e.d(M,"a",(function(){return n})),e.d(M,"c",(function(){return r})),e.d(M,"e",(function(){return l.a})),e.d(M,"f",(function(){return l.b})),e.d(M,"g",(function(){return l.c})),e.d(M,"k",(function(){return l.g})),e.d(M,"h",(function(){return l.d})),e.d(M,"i",(function(){return l.e})),e.d(M,"j",(function(){return l.f}));var u={};e.r(u),e.d(u,"getAccountKeys",(function(){return o})),e.d(u,"isSavingAccountKeys",(function(){return a})),e.d(u,"getAccountKeysSavingError",(function(){return N}));var n={};e.r(n),e.d(n,"updateAccountKeysValues",(function(){return S})),e.d(n,"updateAccountKeys",(function(){return I})),e.d(n,"updateIsSavingAccountKeys",(function(){return T})),e.d(n,"saveAccountKeys",(function(){return z}));var r={};e.r(r),e.d(r,"getAccountKeys",(function(){return w}));const i={isSaving:!1,savingError:null,data:{}};var j=(t=i,{type:M,...e})=>{switch(M){case"SET_ACCOUNT_KEYS":return{...t,data:e.payload};case"SET_ACCOUNT_KEYS_VALUES":return{...t,savingError:null,data:{...t.data,...e.payload}};case"SET_IS_SAVING_ACCOUNT_KEYS":return{...t,isSaving:e.isSaving,savingError:e.error}}return t};const c={},L=t=>t&&t.accountKeys||c,o=t=>L(t).data||c,a=t=>L(t).isSaving||!1,N=t=>L(t).savingError;var y=e(3),s=e(2),g=e(16),D=e(4),A=e(52);function S(t){return{type:"SET_ACCOUNT_KEYS_VALUES",payload:t}}function I(t){return{type:"SET_ACCOUNT_KEYS",payload:t}}function T(t,M){return{type:"SET_IS_SAVING_ACCOUNT_KEYS",isSaving:t,error:M}}function*z(t){const M=!t.publishable_key&&!t.test_publishable_key;let e=null;try{yield T(!0,null);const u=yield Object(g.apiFetch)({path:D.a+"/account_keys",method:"post",data:t});if(null==u||!u.id)throw"Account not Found";yield Object(A.refreshAccount)(),yield S(t),yield Object(y.dispatch)("core/notices").createSuccessNotice(M?Object(s.__)("Account disconnected.","woocommerce-gateway-stripe"):Object(s.__)("Account keys saved.","woocommerce-gateway-stripe"))}catch(t){e=t,yield Object(y.dispatch)("core/notices").createErrorNotice(M?Object(s.__)("Error disconnecting account.","woocommerce-gateway-stripe"):Object(s.__)("Error saving account keys.","woocommerce-gateway-stripe"))}finally{yield T(!1,e)}return null===e}function*w(){const t=D.a+"/account_keys";try{const M=yield Object(g.apiFetch)({path:t});yield I(M)}catch(t){yield Object(y.dispatch)("core/notices").createErrorNotice(Object(s.__)("Error retrieving account keys.","woocommerce-gateway-stripe"))}}var l=e(68)},function(t,M){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,M,e){var u=e(48),n=e(31);t.exports=function(t){return u(n(t))}},function(t,M){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,M){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},,function(t,M){t.exports=function(t,M){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:M}}},function(t,M,e){var u=e(50),n=Math.min;t.exports=function(t){return t>0?n(u(t),9007199254740991):0}},function(t,M,e){var u=e(24),n=e(9),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,M){return arguments.length<2?r(u[t])||r(n[t]):u[t]&&u[t][M]||n[t]&&n[t][M]}},function(t,M){t.exports=!0},function(t,M,e){var u=e(21),n=e(65),r=e(22),i=e(49),j=Object.defineProperty;M.f=u?j:function(t,M,e){if(r(t),M=i(M,!0),r(e),n)try{return j(t,M,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[M]=e.value),t}},function(t,M,e){var u=e(32);t.exports=function(t,M,e){if(u(t),void 0===M)return t;switch(e){case 0:return function(){return t.call(M)};case 1:return function(e){return t.call(M,e)};case 2:return function(e,u){return t.call(M,e,u)};case 3:return function(e,u,n){return t.call(M,e,u,n)}}return function(){return t.apply(M,arguments)}}},function(t,M,e){var u=e(31);t.exports=function(t){return Object(u(t))}},function(t,M,e){var u=e(29),n=e(9);t.exports="process"==u(n.process)},function(t,M,e){var u,n,r=e(9),i=e(60),j=r.process,c=j&&j.versions,L=c&&c.v8;L?n=(u=L.split("."))[0]+u[1]:i&&(!(u=i.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=i.match(/Chrome\/(\d+)/))&&(n=u[1]),t.exports=n&&+n},,function(t,M,e){t.exports=e(123)},,,function(t,M,e){"use strict";var u=e(2),n=e(7),r=e.n(n),i=e(0),j=(e(1),e(89)),c=e(14),L=e(5);const o=Object(L.a)(c.a,{target:"eiah4a80"})({name:"46wb8n",styles:"background:#ef809f"});const a=Object(L.a)(c.a,{target:"eh46vsm0"})({name:"1f1f6j2",styles:"background:#10298e"});const N=Object(L.a)(c.a,{target:"e5z54380"})({name:"1fde9eo",styles:"padding-top:0;padding-bottom:0"});const y=Object(L.a)(c.a,{target:"es0e2230"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});const s=Object(L.a)(c.a,{target:"eu8ju410"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});M.a={card:{id:"card",label:Object(u.__)("Credit card / debit card","woocommerce-gateway-stripe"),description:Object(u.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(j.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjYgNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM2IDNhMiAyIDAgMCAxIDItMmgyNC42NmEyIDIgMCAwIDEgMiAydjE0YTIgMiAwIDAgMS0yIDJIMzhhMiAyIDAgMCAxLTItMlYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZC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RiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNDQjc5MiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPgo="})),currencies:[],capability:"card_payments",allows_manual_capture:!0},giropay:{id:"giropay",label:Object(u.__)("giropay","woocommerce-gateway-stripe"),description:Object(u.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS45NjUgMi42YTIuNCAyLjQgMCAwMTIuNC0yLjRoMTkuNzE0YTIuNCAyLjQgMCAwMTIuNCAyLjR2MTAuOGEyLjQgMi40IDAgMDEtMi40IDIuNEgzLjM2NWEyLjQgMi40IDAgMDEtMi40LTIuNFYyLjZ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMy4wOCAxLjRIMy4zNjRhMS4yIDEuMiAwIDAwLTEuMiAxLjJ2MTAuOGExLjIgMS4yIDAgMDAxLjIgMS4yaDE5LjcxNGExLjIgMS4yIDAgMDAxLjItMS4yVjIuNmExLjIgMS4yIDAgMDAtMS4yLTEuMnpNMy4zNjQuMmEyLjQgMi40IDAgMDAtMi40IDIuNHYxMC44YTIuNCAyLjQgMCAwMDIuNCAyLjRoMTkuNzE0YTIuNCAyLjQgMCAwMDIuNC0yLjRWMi42YTIuNCAyLjQgMCAwMC0yLjQtMi40SDMuMzY1eiIgZmlsbD0iIzBGMzM2NSIvPjxwYXRoIGQ9Ik0xMy4yMjMuMmg4LjI1N2E0IDQgMCAwMTQgNHY3LjZhNCA0IDAgMDEtNCA0aC04LjI1N1YuMnoiIGZpbGw9IiMwRj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DA0LS43MjMgMS42OC0xLjYzIDEuNjgtLjc2NyAwLTEuNDQ4LS41NzctMS40NDgtMS41OTN6IiBmaWxsPSIjRDgyMzJBIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"giropay_payments"},sepa_debit:{id:"sepa_debit",label:Object(u.__)("Direct debit payment","woocommerce-gateway-stripe"),description:Object(u.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMuMjk1IDIuMzk3di0uMDEzbC40MDEtLjg1QTMuNTg0IDMuNTg0IDAgMDAxMS4wOC40MDJhMy42IDMuNiAwIDAwLTMuMzMgMi4yMzZINi45OWwtLjU0MiAxLjA3aDEuMDQ1YTMuOTU0IDMuOTU0IDAgMDAtLjAxNS4yOTRjMCAuMTA3LjAwNy4yMTIuMDE2LjMxN0g2Ljk5bC0uNDc0IDEuMDU3aDEuMjM1QTMuNTk5IDMuNTk5IDAgMDAxMS4wOCA3LjZjLjgzNiAwIDEuNjA1LS4yODkgMi4yMTYtLjc2OHYtMS4zNmEyLjUzNyAyLjUzNyAwIDAxLTQuMTI4LS4wOTdoMi42NzdsLjUwMS0xLjA1N0g4Ljc1OGEyLjQ3NSAyLjQ3NSAwIDAxLS4wNC0uMzgzYzAtLjA1LjAwNy0uMDk5LjAxNC0uMTQ3bC4wMS0uMDhoMy44NzRsLjU0My0xLjA3MUg5LjA4NWEyLjU0IDIuNTQgMCAwMTIuMTg1LTEuMjU0IDIuNTQgMi41NCAwIDAxMi4wMjUgMS4wMTR6IiBmaWxsPSIjRkZCRTAwIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNC4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ocommerce-gateway-stripe"),description:Object(u.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(o,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuOTk5IDExLjA1NWEuNzUuNzUgMCAwMS4wMTEgMS4wNjJsLS4wNTYuMDYxYS43NS43NSAwIDAxLTEuMDYyLjAxMmwtMS42NzYtMS42NkMuNzUyIDEwLjA2Ni42OSA5LjQ5Ni45OCA5LjE5NGwuMDU2LS4wNjFhLjY4NS42ODUgMCAwMS45MS0uMDYyYy4xMy4xLjMyLjA3OC40MjYtLjA1YS4zMDguMzA4IDAgMDAtLjA1LS40MjVBMS4yOTMgMS4yOTMgMCAwMC42IDguNzA4bC0uMDU2LjA2MWMtLjU0Mi41Ni0uNDM2IDEuNTA0LjI0IDIuMThsMS42ODMgMS42NzdjLjU0Mi41MiAxLjM5Ny41MDggMS45MjItLjAyOGwuMDYyLS4wNjJhMS4zNjEgMS4zNjEgMCAwMC0uMDI4LTEuOTExLjI5NS4yOTUgMCAwMC0uNDI1LjAwNS4yOS4yOSAwIDAwMCAuNDI1ek0yLjk5MyAyLjA1MmwuNjg3IDUuNjQ0YS4yOTkuMjk5IDAgMDAuMzM2LjI2My4yOTkuMjk5IDAgMDAuMjYyLS4zMzVsLS42ODctNS42NjctLjAwNi0uMDM0Yy0uMTE3LS40Ny4xNzQtLjk5NS41NjUtMS4wNzhhLjgzNi44MzYgMCAwMS42MzEuMTE3Ljg0Ljg0IDAgMDEuMzU4LjUzbDEuMTk2IDUuMTA5YS4zMDEuMzAxIDAgMTAuNTg3LS4xNEw1LjczMiAxLjM3QTEuNDM2IDEuNDM2IDAgMDA0LjAyNy4yNTJjLS43MzguMTU3LTEuMjE4IDEu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:"eps",label:Object(u.__)("EPS","woocommerce-gateway-stripe"),description:Object(u.__)("EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE5Ljc3IDcuNzU0aC0yLjAwOGEuNDAyLjQwMiAwIDAgMS0uNDA1LS40YzAtLjIyMy4xODItLjQyLjQwNS0uNDJoMy4wNThWNS40MjZoLTMuMDU4Yy0xLjA2NyAwLTEuOTM1Ljg3LTEuOTM1IDEuOTM1IDAgMS4wNjQuODY4IDEuOTM0IDEuOTM1IDEuOTM0aDEuOTgxYy4yMjQgMCAuNDA1LjE3Ny40MDUuNCAwIC4yMjMtLjE4MS4zODctLjQwNS4zODdoLTQuMjQ4Yy0uMzYuNjg4LS43MTEgMS4yNzktMS40MjMgMS41NzRoNS42OThjMS4wNS0uMDE1IDEuOTA4LS45MDMgMS45MDgtMS45NThhMS45NSAxLjk1IDAgMCAwLTEuOTA4LTEuOTQ0WiIgZmlsbD0iIzcxNzA2RiIvPjxwYXRoIGQ9Ik0xMi4wNzIgNS40MjZjLTEuNzAyIDAtMy4wODggMS4zOTUtMy4wODggMy4xMDhWMTVoMS41NHYtMy4zNDRoMS41NDVjMS43MDIgMCAzLjA4My0xLjQxMyAzLjA4My0zLjEyNyAwLTEuNzE0LTEuMzc4LTMuMTAzLTMuMDgtMy4xMDNabTAgNC42NTZoLTEuNTQ3VjguNTI5YzAtLjg2OC42OS0xLjU3NCAxLjU0Ny0xLjU3NHMxLjU1My43MDYgMS41NTMgMS41NzRjMCAuODY4LS42OTYgMS41NTMtMS41NTMgMS41NTNaIiBmaWxsPSIjNzE3MDZGIi8+PHBhdGggZD0iTTQuMTA1IDExLjY1NmMtMS40NTcgMC0yLjY4Mi0xLjAzOS0zLjAxMy0yLjM5NSAwIDAtLjA5Ni0uNDQ4LS4wOTYtLjc0NCAwLS4yOTUuMDktLjc0OC4wOS0uNzQ4YTMuMTA5IDMuMTA5IDAgMCAxIDYuMTI3Ljc0di43NTNIMi42NjhjLjI2OC41MjUuODExLjgyIDEuNDM3LjgyaDQuMDg2bC4wMDYtNC40MzdjMC0uNjYxLS41NDEtMS4yMDItMS4yMDMtMS4yMDJIMS4yMDNDLjU0IDQuNDQzIDAgNC45NjcgMCA1LjYyOXY1Ljc5MWMwIC42NjIuNTQxIDEuMjIgMS4yMDMgMS4yMmg1Ljc5MWMuNTk0IDAgMS4wODktLjQyNyAxLjE4NS0uOTg0SDQuMTA1WiIgZmlsbD0iI0M4MDM2RiIvPjxwYXRoIGQ9Ik00LjA5OCA2Ljg4Yy0uNjIzIDAtMS4xNjYuMzgyLTEuNDM1Ljg3NGgyLjg3Yy0uMjY5LS40OTItLjgxMS0uODc0LTEuNDM1LS44NzRaTTYuNzIxIDIuNTZDNi43MjEgMS4xNDUgNS41NDcgMCA0LjA5OCAwIDIuNjczIDAgMS41MTQgMS4xMDggMS40NzYgMi40OXYuNzg3YzAgLjA5MS4wNzQuMTgyLjE2OS4xODJoLjk2NWMuMDk0IDAgLjE3Ny0uMDkuMTc3LS4xODNWMi41NmMwLS43MDYuNTg4LTEuMjggMS4zMTEtMS4yOC43MjQgMCAxLjMxMi41NzQgMS4zMTIgMS4yOHYuNzE3YzAgLjA5Mi4wNzYuMTgzLjE3LjE4M2guOTY2Yy4wOTQgMCAuMTc1LS4wOS4xNzUtLjE4M1YyLjU2WiIgZmlsbD0iI0M4MDM2RiIvPjwvc3ZnPgo="})),currencies:["EUR"],capability:"eps_payments"},bancontact:{id:"bancontact",label:Object(u.__)("Bancontact","woocommerce-gateway-stripe"),description:Object(u.__)("Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r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ments"},ideal:{id:"ideal",label:Object(u.__)("iDEAL","woocommerce-gateway-stripe"),description:Object(u.__)("iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzQgMzAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMCAyLjE3NnYyNC45OThjMCAxLjE5Ny45OCAyLjE3NiAyLjE3NiAyLjE3NmgxNC45MzZjMTEuMjkyIDAgMTYuMTg3LTYuMzIgMTYuMTg3LTE0LjcwOEMzMy4yOTkgNi4zIDI4LjQwNCAwIDE3LjExMiAwSDIuMTc2Qy45NzkgMCAwIC45OCAwIDIuMTc2WiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik05Ljk5NyA2LjEzNXYxOC40NzJoOC4wNGM3LjI5OSAwIDEwLjQ2NS00LjEyMyAxMC40NjUtOS45NTQgMC01LjU4LTMuMTY2LTkuOTEtMTAuNDY2LTkuOTFIMTEuMzljLS43NzMgMC0xLjM5My42My0xLjM5MyAxLjM5MloiIGZpbGw9IiNDMDYiLz48cGF0aCBkPSJNMTcuMTEyIDI3LjM2SDQuMTIzYTIuMDkgMi4wOSAwIDAgMS0yLjA4OS0yLjA5VjQuMDlhMi4wOSAyLjA5IDAgMCAxIDIuMDg5LTIuMDg4aDEyLjk4OWMxMi4zMjUgMCAxNC4xNjQgNy45MyAxNC4xNjQgMTIuNjUxIDAgOC4xOTItNS4wMzcgMTIuNzA2LTE0LjE2NCAxMi43MDZaTTQuMTIzIDIuNjk3Yy0uNzcyIDAtMS4zOTIuNjItMS4zOTIgMS4zOTJ2MjEuMThjMCAuNzczLjYyIDEuMzkzIDEuMzkyIDEuMzkzaDEyLjk4OWM4LjY4IDAg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NS4zMjUgMTIuMTYydjMuNmgyLjE1NHYuODE3aC0zLjEyMnYtNC40MTdoLjk2OFoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNNi4zNjQgMTYuNDA1YTIuMDM0IDIuMDM0IDAgMSAwIDAtNC4wNjkgMi4wMzQgMi4wMzQgMCAwIDAgMCA0LjA2OVpNNy44OTggMjQuNjA3YTMuMDc2IDMuMDc2IDAgMCAxLTMuMDc5LTMuMDc4di0yLjQwNWMwLS44NDguNjg1LTEuNTQ0IDEuNTQ1LTEuNTQ0Ljg0OCAwIDEuNTQ1LjY4NSAxLjU0NSAxLjU0NHY1LjQ4M2gtLjAxMVoiIGZpbGw9IiMwMDAiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDMzLjI5OXYyOS4zNUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPgo="})),currencies:["EUR"],capability:"ideal_payments"},p24:{id:"p24",label:Object(u.__)("Przelewy24","woocommerce-gateway-stripe"),description:Object(u.__)("Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(N,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSI0MCI+PHBhdGggZD0ibTExLjMwNyAyMS4zNTggNC4zMTctLjAwNS0uMTU3Ljk4OS0zLjYxMSAzLjQ3IDMuMDMtLjAwNi0uMTc2IDEuMDY2LTQuNDYzLjAwMy4xODctMS4xMDMgMy40NjItMy4zMzZoLTIuNzYzbC4xNzQtMS4wNzhNNi41ODQgMTkuNjY3YTEuMDggMS4wOCAwIDAgMC0uMzc5LS4yNCAyLjczNCAyLjczNCAwIDAgMC0uNTAyLS4xMzUgNC4yMjMgNC4yMjMgMCAwIDAtLjU3NC0u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S4yNTMuMzgzbC4wNjMtLjM4M0g3LjQ3bC0uOTY2IDUuNDkxaDEuMjA5bC41MzUtMy4wNDFjLjExLS42MTcuNTY5LTEuMzggMS40NjMtMS4zOGwuNjI0LS4wMDQuMTg4LTEuMDY2aC0uNjU3eiIgZmlsbD0iI0QxMzIzOSIvPjwvc3ZnPgo="})),currencies:["EUR","PLN"],capability:"p24_payments"},boleto:{id:"boleto",label:Object(u.__)("Boleto","woocommerce-gateway-stripe"),description:Object(u.__)("Boleto is an official payment method in Brazil. Customers receive a voucher that can be paid at authorized agencies or banks, ATMs, or online bank portals.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(y,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDBoMXYyMEgwVjBabTIgMGgzdjIwSDJWMFptNSAwSDZ2MjBoMVYwWm05IDBoMXYyMGgtMVYwWm00IDBoLTF2MjBoMVYwWk04IDBoMXYyMEg4VjBabTE5IDBoLTF2MjBoMVYwWm03IDBoLTF2MjBoMVYwWm0zIDBoMXYyMGgtMVYwWm0zIDBoLTF2MjBoMVYwWm0xIDBoM3YyMGgtM1YwWm02IDBoMXYyMGgtMVYwWm0tMSAwaC0xdjIwaDFWMFpNMjkgMGgzdjIwaC0zVjBabS01IDBoLTN2MjBoM1YwWk0xNCAwaDF2MjBoLTFWMFptLTEgMGgtM3YyMGgzVjBaIiBmaWxsPSIjMDAwIi8+PC9zdmc+"})),currencies:["BRL"],capability:"boleto_payments"},oxxo:{id:"oxxo",label:Object(u.__)("OXXO","woocommerce-gateway-stripe"),description:Object(u.__)("OXXO is a Mexican chain of convenience stores that allows customers to pay bills and online purchases in-store with cash.","woocommerce-gateway-strip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ability:"oxxo_payments"},alipay:{id:"alipay",label:Object(u.__)("Alipay","woocommerce-gateway-stripe"),description:Object(u.__)("Alipay is a popular wallet in China, operated by Ant Financial Services Group, a financial services provider affiliated with Alibaba.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["AUD","CAD","CNY","EUR","GBP","HKD","JPY","MYR","NZD","USD"],capability:void 0},multibanco:{id:"multibanco",label:Object(u.__)("Multibanco","woocommerce-gateway-stripe"),description:Object(u.__)("Multibanco is an interbank network that links the ATMs of all major banks in Portugal, allowing customers to pay through either their ATM or online banking environment.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["EUR"],capability:void 0}}},function(t,M,e){var u=e(12),n=e(29),r="".split;t.exports=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==n(t)?r.call(t,""):Object(t)}:Object},function(t,M,e){var u=e(17);t.exports=function(t,M){if(!u(t))return t;var e,n;if(M&&"function"==typeof(e=t.toString)&&!u(n=e.call(t)))return n;if("function"==typeof(e=t.valueOf)&&!u(n=e.call(t)))return n;if(!M&&"function"==typeof(e=t.toString)&&!u(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,M){var e=Math.ceil,u=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?u:e)(t)}},,function(t,M,e){"use strict";e.r(M),e.d(M,"updateAccount",(function(){return g})),e.d(M,"updateIsRefreshingAccount",(function(){return D})),e.d(M,"refreshAccount",(function(){return A}));var u=e(44),n=e.n(u),r=e(15),i=e.n(r),j=e(53),c=e.n(j),L=e(3),o=e(2),a=e(16),N=e(4),y=e(47),s=e(54);function g(t){return{type:s.a.SET_ACCOUNT,payload:t}}function D(t){return{type:s.a.SET_IS_REFRESHING,isRefreshing:t}}function*A(){try{yield D(!0);const t=Object(L.select)(N.b).getAccountCapabilitiesByStatus("active"),M=yield Object(a.apiFetch)({method:"post",path:N.a+"/account/refresh"});yield g(M);const e=Object(L.select)(N.b).getAccountCapabilitiesByStatus("active"),u=n()(e).call(e,M=>!i()(t).call(t,M)&&void 0!==y.a[M.replace("_payments","")]);u.length&&(yield Object(L.dispatch)("core/notices").createSuccessNotice(Object(o.sprintf)(
2
+ /* translators: %s: one or more payment method names separated by commas (e.g.: giropay, EPS, Sofort, etc). */
3
+ Object(o.__)("You can now accept payments with %s.","woocommerce-gateway-stripe"),c()(u).call(u,t=>y.a[t.replace("_payments","")].label).join(", ")),{icon:"🚀"}))}catch(t){yield Object(L.dispatch)("core/notices").createErrorNotice(Object(o.__)("Error updating account data.","woocommerce-gateway-stripe"))}finally{yield D(!1)}}},function(t,M,e){t.exports=e(158)},function(t,M,e){"use strict";M.a={SET_ACCOUNT:"SET_ACCOUNT",SET_IS_REFRESHING:"SET_IS_REFRESHING"}},function(t,M){t.exports=window.wp.primitives},function(t,M,e){var u=e(9),n=e(100),r=u["__core-js_shared__"]||n("__core-js_shared__",{});t.exports=r},function(t,M,e){var u=e(30),n=e(35),r=e(90),i=function(t){return function(M,e,i){var j,c=u(M),L=n(c.length),o=r(i,L);if(t&&e!=e){for(;L>o;)if((j=c[o++])!=j)return!0}else for(;L>o;o++)if((t||o in c)&&c[o]===e)return t||o||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},function(t,M){t.exports={}},function(t,M,e){var u=e(9),n=e(17),r=u.document,i=n(r)&&n(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,M,e){var u=e(36);t.exports=u("navigator","userAgent")||""},,function(t,M,e){"use strict";e.d(M,"b",(function(){return c})),e.d(M,"a",(function(){return o})),e.d(M,"d",(function(){return a})),e.d(M,"c",(function(){return N}));var u=e(3),n=e(1),r=e(27),i=e(4);const j=(t,M=!1)=>()=>{const{updatePaymentGatewayValues:e}=Object(u.useDispatch)(i.b);return[((t,M=!1)=>()=>Object(u.useSelect)(e=>{const{getPaymentGateway:u}=e(i.b);return u()[t]||M},[t,M]))(t,M)(),Object(n.useCallback)(M=>e({[t]:M}),[e])]},c=()=>{const{savePaymentGateway:t}=Object(u.useDispatch)(i.b);return{paymentGateway:Object(u.useSelect)(t=>{const{getPaymentGateway:M}=t(i.b);return M()},[]),isLoading:Object(u.useSelect)(t=>{const{hasFinishedResolution:M,isResolving:e}=t(i.b);return e("getPaymentGateway")||!M("getPaymentGateway")},[]),isSaving:Object(u.useSelect)(t=>{const{isSavingPaymentGateway:M}=t(i.b);return M()},[]),savePaymentGateway:t}},L=t=>t.replace("%s",()=>{const{section:t}=Object(r.getQuery)();return t}),o=j(L("is_%s_enabled")),a=j(L("%s_name"),""),N=j(L("%s_description"),"")},function(t,M,e){t.exports=e(127)},,function(t,M,e){var u=e(21),n=e(12),r=e(59);t.exports=!u&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},function(t,M,e){var u=e(102),n=e(78);t.exports=Object.keys||function(t){return u(t,n)}},function(t,M,e){var u=e(41),n=e(42),r=e(12);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!Symbol.sham&&(u?38===n:n>37&&n<41)}))},function(t,M,e){"use strict";e.d(M,"a",(function(){return i})),e.d(M,"b",(function(){return c})),e.d(M,"c",(function(){return L})),e.d(M,"g",(function(){return o})),e.d(M,"d",(function(){return a})),e.d(M,"e",(function(){return N})),e.d(M,"f",(function(){return y}));var u=e(3),n=e(1),r=e(4);const i=()=>{const{saveAccountKeys:t,updateAccountKeys:M}=Object(u.useDispatch)(r.b);return{accountKeys:Object(u.useSelect)(t=>{const{getAccountKeys:M}=t(r.b);return M()},[]),isLoading:Object(u.useSelect)(t=>{const{hasFinishedResolution:M,isResolving:e}=t(r.b);return e("getAccountKeys")||!M("getAccountKeys")},[]),isSaving:Object(u.useSelect)(t=>{const{isSavingAccountKeys:M}=t(r.b);return M()},[]),updateAccountKeys:M,saveAccountKeys:t}},j=t=>()=>{const{updateAccountKeysValues:M}=Object(u.useDispatch)(r.b);return[Object(u.useSelect)(M=>{const{getAccountKeys:e}=M(r.b);return e()[t]||""}),Object(n.useCallback)(e=>M({[t]:e}),[M])]},c=j("publishable_key"),L=j("secret_key"),o=j("webhook_secret"),a=j("test_publishable_key"),N=j("test_secret_key"),y=j("test_webhook_secret")},function(t,M,e){var u;!function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t=[],M=0;M<arguments.length;M++){var u=arguments[M];if(u){var r=typeof u;if("string"===r||"number"===r)t.push(u);else if(Array.isArray(u)){if(u.length){var i=n.apply(null,u);i&&t.push(i)}}else if("object"===r)if(u.toString===Object.prototype.toString)for(var j in u)e.call(u,j)&&u[j]&&t.push(j);else t.push(u.toString())}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(u=function(){return n}.apply(M,[]))||(t.exports=u)}()},function(t,M,e){"use strict";var u={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!u.call({1:2},1);M.f=r?function(t){var M=n(this,t);return!!M&&M.enumerable}:u},,function(t,M,e){var u=e(12),n=e(10),r=e(42),i=n("species");t.exports=function(t){return r>=51||!u((function(){var M=[];return(M.constructor={})[i]=function(){return{foo:1}},1!==M[t](Boolean).foo}))}},,function(t,M,e){var u=e(21),n=e(70),r=e(34),i=e(30),j=e(49),c=e(19),L=e(65),o=Object.getOwnPropertyDescriptor;M.f=u?o:function(t,M){if(t=i(t),M=j(M,!0),L)try{return o(t,M)}catch(t){}if(c(t,M))return r(!n.f.call(t,M),t[M])}},,function(t,M,e){var u=e(37),n=e(56);(t.exports=function(t,M){return n[t]||(n[t]=void 0!==M?M:{})})("versions",[]).push({version:"3.9.1",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,M){var e=0,u=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+u).toString(36)}},function(t,M){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,,,function(t,M){t.exports=function(){}},function(t,M,e){var u=e(12),n=/#|\.prototype\./,r=function(t,M){var e=j[i(t)];return e==L||e!=c&&("function"==typeof M?u(M):!!M)},i=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},j=r.data={},c=r.NATIVE="N",L=r.POLYFILL="P";t.exports=r},,,,function(t,M,e){var u=e(39),n=e(48),r=e(40),i=e(35),j=e(122),c=[].push,L=function(t){var M=1==t,e=2==t,L=3==t,o=4==t,a=6==t,N=7==t,y=5==t||a;return function(s,g,D,A){for(var S,I,T=r(s),z=n(T),w=u(g,D,3),l=i(z.length),x=0,E=A||j,d=M?E(s,l):e||N?E(s,0):void 0;l>x;x++)if((y||x in z)&&(I=w(S=z[x],x,T),t))if(M)d[x]=I;else if(I)switch(t){case 3:return!0;case 5:return S;case 6:return x;case 2:c.call(d,S)}else switch(t){case 4:return!1;case 7:c.call(d,S)}return a?-1:L||o?o:d}};t.exports={forEach:L(0),map:L(1),filter:L(2),some:L(3),every:L(4),find:L(5),findIndex:L(6),filterOut:L(7)}},function(t,M,e){"use strict";e.d(M,"a",(function(){return i})),e.d(M,"b",(function(){return j}));var u=e(3),n=e(4);const r={},i=()=>{const{refreshAccount:t}=Object(u.useDispatch)(n.b);return{data:Object(u.useSelect)(t=>{const{getAccountData:M}=t(n.b);return M()},[]),isLoading:Object(u.useSelect)(t=>{const{hasFinishedResolution:M,isResolving:e}=t(n.b);return e("getAccountData")||!M("getAccountData")},[]),isRefreshing:Object(u.useSelect)(t=>{const{isRefreshingAccount:M}=t(n.b);return M()},[]),refreshAccount:t}},j=()=>Object(u.useSelect)(t=>{var M,e;const{getAccountData:u}=t(n.b);return null!==(M=null===(e=u().account)||void 0===e?void 0:e.capabilities)&&void 0!==M?M:r},[])},function(t,M,e){"use strict";var u=e(7),n=e.n(u),r=e(5),i=e(0);e(1);const j={small:{name:"1agzdcq",styles:"height:24px;width:37px"},medium:{name:"aemqcy",styles:"height:40px;width:65px"}},c=Object(r.a)("span",{target:"e575mz50"})(({size:t})=>j[t]||""," box-sizing:border-box;display:inline-flex;justify-content:center;border:1px solid transparent;img{max-width:100%;}");M.a=({src:t,children:M,alt:e,size:u="small",...r})=>Object(i.createElement)(c,n()({},r,{size:u}),t?Object(i.createElement)("img",{src:t,alt:e}):M)},function(t,M,e){var u=e(50),n=Math.max,r=Math.min;t.exports=function(t,M){var e=u(t);return e<0?n(e+M,0):r(e,M)}},function(t,M,e){"use strict";var u=e(7),n=e.n(u),r=e(0),i=(e(1),e(6)),j=e(69),c=e.n(j),L=e(55);e(229),M.a=({children:t,actions:M,className:e,...u})=>Object(r.createElement)(i.Modal,n()({className:c()("wcstripe-confirmation-modal",e)},u),t,Object(r.createElement)(L.HorizontalRule,{className:"wcstripe-confirmation-modal__separator"}),Object(r.createElement)("div",{className:"wcstripe-confirmation-modal__footer"},M))},function(t,M,e){var u=e(29);t.exports=Array.isArray||function(t){return"Array"==u(t)}},function(t,M,e){var u=e(112);t.exports=function(t){if(u(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,M,e){var u=e(10)("match");t.exports=function(t){var M=/./;try{"/./"[t](M)}catch(e){try{return M[u]=!1,"/./"[t](M)}catch(t){}}return!1}},function(t,M,e){"use strict";var u=e(12);t.exports=function(t,M){var e=[][t];return!!e&&u((function(){e.call(null,M||function(){throw 1},1)}))}},function(t,M){t.exports=window.ReactDOM},,,function(t,M){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,M,e){var u=e(9),n=e(20);t.exports=function(t,M){try{n(u,t,M)}catch(e){u[t]=M}return M}},,function(t,M,e){var u=e(19),n=e(30),r=e(57).indexOf,i=e(58);t.exports=function(t,M){var e,j=n(t),c=0,L=[];for(e in j)!u(i,e)&&u(j,e)&&L.push(e);for(;M.length>c;)u(j,e=M[c++])&&(~r(L,e)||L.push(e));return L}},function(t,M,e){var u=e(67);t.exports=u&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},,,function(t,M,e){var u=e(107);t.exports=u},function(t,M,e){var u=e(108),n=e(110),r=Array.prototype,i=String.prototype;t.exports=function(t){var M=t.includes;return t===r||t instanceof Array&&M===r.includes?u:"string"==typeof t||t===i||t instanceof String&&M===i.includes?n:M}},function(t,M,e){e(109);var u=e(25);t.exports=u("Array").includes},function(t,M,e){"use strict";var u=e(11),n=e(57).includes,r=e(82);u({target:"Array",proto:!0},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")},function(t,M,e){e(111);var u=e(25);t.exports=u("String").includes},function(t,M,e){"use strict";var u=e(11),n=e(93),r=e(31);u({target:"String",proto:!0,forced:!e(94)("includes")},{includes:function(t){return!!~String(r(this)).indexOf(n(t),arguments.length>1?arguments[1]:void 0)}})},function(t,M,e){var u=e(17),n=e(29),r=e(10)("match");t.exports=function(t){var M;return u(t)&&(void 0!==(M=t[r])?!!M:"RegExp"==n(t))}},function(t,M,e){t.exports=e(162)},,,,,,,,,function(t,M,e){var u=e(17),n=e(92),r=e(10)("species");t.exports=function(t,M){var e;return n(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!n(e.prototype)?u(e)&&null===(e=e[r])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===M?0:M)}},function(t,M,e){var u=e(124);t.exports=u},function(t,M,e){var u=e(125),n=Array.prototype;t.exports=function(t){var M=t.filter;return t===n||t instanceof Array&&M===n.filter?u:M}},function(t,M,e){e(126);var u=e(25);t.exports=u("Array").filter},function(t,M,e){"use strict";var u=e(11),n=e(87).filter;u({target:"Array",proto:!0,forced:!e(72)("filter")},{filter:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,M,e){var u=e(128);t.exports=u},function(t,M,e){var u=e(129),n=Array.prototype;t.exports=function(t){var M=t.reduce;return t===n||t instanceof Array&&M===n.reduce?u:M}},function(t,M,e){e(130);var u=e(25);t.exports=u("Array").reduce},function(t,M,e){"use strict";var u=e(11),n=e(131).left,r=e(95),i=e(42),j=e(41);u({target:"Array",proto:!0,forced:!r("reduce")||!j&&i>79&&i<83},{reduce:function(t){return n(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,M,e){var u=e(32),n=e(40),r=e(48),i=e(35),j=function(t){return function(M,e,j,c){u(e);var L=n(M),o=r(L),a=i(L.length),N=t?a-1:0,y=t?-1:1;if(j<2)for(;;){if(N in o){c=o[N],N+=y;break}if(N+=y,t?N<0:a<=N)throw TypeError("Reduce of empty array with no initial value")}for(;t?N>=0:a>N;N+=y)N in o&&(c=e(c,o[N],N,L));return c}};t.exports={left:j(!1),right:j(!0)}},,,function(t,M,e){"use strict";var u=e(5),n=e(0),r=(e(1),e(231)),i=e(232);const j=Object(u.a)(r.a,{target:"e1c44dwr1"})({name:"1mcx43l",styles:"fill:#d94f4f;margin-right:4px"}),c=Object(u.a)("span",{target:"e1c44dwr0"})({name:"8irbms",styles:"display:inline-flex;align-items:center"});M.a=({title:t})=>Object(n.createElement)(c,null,Object(n.createElement)(j,{icon:i.a}),t)},,,,,,,,,,,,,,,,,function(t,M,e){"use strict";var u=e(195),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},j={};function c(t){return u.isMemo(t)?i:j[t.$$typeof]||n}j[u.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},j[u.Memo]=i;var L=Object.defineProperty,o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,N=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,s=Object.prototype;t.exports=function t(M,e,u){if("string"!=typeof e){if(s){var n=y(e);n&&n!==s&&t(M,n,u)}var i=o(e);a&&(i=i.concat(a(e)));for(var j=c(M),g=c(e),D=0;D<i.length;++D){var A=i[D];if(!(r[A]||u&&u[A]||g&&g[A]||j&&j[A])){var S=N(e,A);try{L(M,A,S)}catch(t){}}}}return M}},,,,,,,function(t,M,e){var u=e(159);t.exports=u},function(t,M,e){var u=e(160),n=Array.prototype;t.exports=function(t){var M=t.map;return t===n||t instanceof Array&&M===n.map?u:M}},function(t,M,e){e(161);var u=e(25);t.exports=u("Array").map},function(t,M,e){"use strict";var u=e(11),n=e(87).map;u({target:"Array",proto:!0,forced:!e(72)("map")},{map:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,M,e){var u=e(163);t.exports=u},function(t,M,e){e(164);var u=e(24);t.exports=u.Object.entries},function(t,M,e){var u=e(11),n=e(165).entries;u({target:"Object",stat:!0},{entries:function(t){return n(t)}})},function(t,M,e){var u=e(21),n=e(66),r=e(30),i=e(70).f,j=function(t){return function(M){for(var e,j=r(M),c=n(j),L=c.length,o=0,a=[];L>o;)e=c[o++],u&&!i.call(j,e)||a.push(t?[e,j[e]]:j[e]);return a}};t.exports={entries:j(!0),values:j(!1)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,M,e){"use strict";t.exports=e(196)},function(t,M,e){"use strict";var u="function"==typeof Symbol&&Symbol.for,n=u?Symbol.for("react.element"):60103,r=u?Symbol.for("react.portal"):60106,i=u?Symbol.for("react.fragment"):60107,j=u?Symbol.for("react.strict_mode"):60108,c=u?Symbol.for("react.profiler"):60114,L=u?Symbol.for("react.provider"):60109,o=u?Symbol.for("react.context"):60110,a=u?Symbol.for("react.async_mode"):60111,N=u?Symbol.for("react.concurrent_mode"):60111,y=u?Symbol.for("react.forward_ref"):60112,s=u?Symbol.for("react.suspense"):60113,g=u?Symbol.for("react.suspense_list"):60120,D=u?Symbol.for("react.memo"):60115,A=u?Symbol.for("react.lazy"):60116,S=u?Symbol.for("react.block"):60121,I=u?Symbol.for("react.fundamental"):60117,T=u?Symbol.for("react.responder"):60118,z=u?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var M=t.$$typeof;switch(M){case n:switch(t=t.type){case a:case N:case i:case c:case j:case s:return t;default:switch(t=t&&t.$$typeof){case o:case y:case A:case D:case L:return t;default:return M}}case r:return M}}}function l(t){return w(t)===N}M.AsyncMode=a,M.ConcurrentMode=N,M.ContextConsumer=o,M.ContextProvider=L,M.Element=n,M.ForwardRef=y,M.Fragment=i,M.Lazy=A,M.Memo=D,M.Portal=r,M.Profiler=c,M.StrictMode=j,M.Suspense=s,M.isAsyncMode=function(t){return l(t)||w(t)===a},M.isConcurrentMode=l,M.isContextConsumer=function(t){return w(t)===o},M.isContextProvider=function(t){return w(t)===L},M.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},M.isForwardRef=function(t){return w(t)===y},M.isFragment=function(t){return w(t)===i},M.isLazy=function(t){return w(t)===A},M.isMemo=function(t){return w(t)===D},M.isPortal=function(t){return w(t)===r},M.isProfiler=function(t){return w(t)===c},M.isStrictMode=function(t){return w(t)===j},M.isSuspense=function(t){return w(t)===s},M.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===N||t===c||t===j||t===s||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===A||t.$$typeof===D||t.$$typeof===L||t.$$typeof===o||t.$$typeof===y||t.$$typeof===I||t.$$typeof===T||t.$$typeof===z||t.$$typeof===S)},M.typeOf=w},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,M,e){},,function(t,M,e){"use strict";var u=e(0);M.a=function({icon:t,size:M=24,...e}){return Object(u.cloneElement)(t,{width:M,height:M,...e})}},function(t,M,e){"use strict";var u=e(0),n=e(55);const r=Object(u.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(n.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));M.a=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,M,e){},function(t,M,e){},,,,,,function(t,M,e){"use strict";e.r(M);var u=e(0),n=e(1),r=e(96),i=e.n(r),j=e(15),c=e.n(j),L=e(53),o=e.n(L),a=e(2),N=e(6),y=e(13),s=e(47);e(277);var g=({name:t,showName:M})=>{const e=s.a[t];if(!e)return Object(u.createElement)(u.Fragment,null);const{label:n,Icon:r}=e;return Object(u.createElement)("span",{className:"woocommerce-gateway-stripe__payment-method-icon"},Object(u.createElement)(r,{className:"woocommerce-gateway-stripe__payment-method-icon__icon"}),M&&Object(u.createElement)("span",{className:"woocommerce-gateway-stripe__payment-method-icon__label"},n))},D=e(91),A=(e(278),e(134)),S=({onClose:t,onConfirm:M})=>{const[e]=Object(y.d)(),[n]=Object(y.o)(),r=0===e.length&&n?Object(a.__)("Are you sure you want to disable Stripe? Without it, your customers will no longer be able to pay using the express checkouts.","woocommerce-gateway-stripe"):Object(a.__)("Are you sure you want to disable Stripe? Without it, your customers will no longer be able to pay using the payment methods below as well as express checkouts.","woocommerce-gateway-stripe");return Object(u.createElement)(D.a,{title:Object(u.createElement)(A.a,{title:Object(a.__)("Disable Stripe","woocommerce-gateway-stripe")}),className:"disable-confirmation-modal",onRequestClose:t,actions:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(N.Button,{onClick:M,isPrimary:!0,isDestructive:!0},"Disable"),Object(u.createElement)(N.Button,{onClick:t,isSecondary:!0},"Cancel"))},Object(u.createElement)("p",null,r),e.length>0&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",null,Object(a.__)("Payment methods that need Stripe:","woocommerce-gateway-stripe")),Object(u.createElement)("ul",{className:"disable-confirmation-modal__payment-methods-list"},o()(e).call(e,t=>Object(u.createElement)("li",{key:t},Object(u.createElement)(g,{name:t,showName:!0}))))))};const I=document.getElementById("wc-stripe-payment-gateways-container");I&&i.a.render(Object(u.createElement)(()=>{Object(y.s)();const[t,M]=Object(n.useState)(!1),e=Object(n.useRef)(!1),r=Object(n.useCallback)(()=>{M(!1),e.current=!0,jQuery('tr[data-gateway_id="stripe"] .wc-payment-gateway-method-toggle-enabled').trigger("click")},[M]),i=Object(n.useCallback)(()=>{M(!1)},[M]);return Object(n.useEffect)(()=>{const t=(t,u,n)=>{var r;!0!==e.current?woocommerce_admin.ajax_url===n.url&&c()(r=n.data).call(r,"action=woocommerce_toggle_gateway_enabled")&&-1!==n.data.search(/gateway_id=stripe(&|$)/)&&1!==jQuery('tr[data-gateway_id="stripe"] .woocommerce-input-toggle--disabled').length&&(u.abort(),jQuery('tr[data-gateway_id="stripe"] .woocommerce-input-toggle--loading').removeClass("woocommerce-input-toggle--loading"),M(!0)):e.current=!1};return jQuery(document).on("ajaxSend",t),()=>{jQuery(document).off("ajaxSend",t)}},[]),t?Object(u.createElement)(S,{onClose:i,onConfirm:r}):null},null),I)}]);
build/payment_requests_settings.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '6da05e800b74db047795f05c7fc02573');
1
+ <?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '059cc198efcb09db1c77995734effd3c');
build/payment_requests_settings.js CHANGED
@@ -1,3 +1,5 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t,n){"use strict";n.d(t,"s",(function(){return A})),n.d(t,"d",(function(){return P})),n.d(t,"o",(function(){return C})),n.d(t,"l",(function(){return T})),n.d(t,"n",(function(){return R})),n.d(t,"m",(function(){return N})),n.d(t,"p",(function(){return $})),n.d(t,"h",(function(){return I})),n.d(t,"v",(function(){return G})),n.d(t,"w",(function(){return M})),n.d(t,"c",(function(){return L})),n.d(t,"u",(function(){return F})),n.d(t,"q",(function(){return D})),n.d(t,"j",(function(){return q})),n.d(t,"r",(function(){return z})),n.d(t,"a",(function(){return U})),n.d(t,"g",(function(){return B})),n.d(t,"t",(function(){return V})),n.d(t,"b",(function(){return K})),n.d(t,"i",(function(){return W})),n.d(t,"e",(function(){return Y})),n.d(t,"f",(function(){return H})),n.d(t,"k",(function(){return pe.b}));var r={};n.r(r),n.d(r,"getSettings",(function(){return y})),n.d(r,"isSavingSettings",(function(){return g})),n.d(r,"getSavingError",(function(){return h}));var o={};n.r(o),n.d(o,"updateSettingsValues",(function(){return v})),n.d(o,"updateSettings",(function(){return w})),n.d(o,"updateIsSavingSettings",(function(){return _})),n.d(o,"saveSettings",(function(){return S}));var a={};n.r(a),n.d(a,"getSettings",(function(){return O}));var c={};n.r(c),n.d(c,"getPaymentGateway",(function(){return te})),n.d(c,"isSavingPaymentGateway",(function(){return ne})),n.d(c,"getPaymentGatewaySavingError",(function(){return re}));var i={};n.r(i),n.d(i,"updatePaymentGatewayValues",(function(){return ae})),n.d(i,"updatePaymentGateway",(function(){return ce})),n.d(i,"updateIsSavingPaymentGateway",(function(){return ie})),n.d(i,"savePaymentGateway",(function(){return se}));var s={};n.r(s),n.d(s,"getPaymentGateway",(function(){return le}));var u=n(4),l=n(3),p=n(14);const f={isSaving:!1,savingError:null,data:{}};const d={},m=e=>e&&e.settings||d,y=e=>m(e).data||d,g=e=>m(e).isSaving||!1,h=e=>m(e).savingError;var b=n(1);function v(e){return{type:"SET_SETTINGS_VALUES",payload:e}}function w(e){return{type:"SET_SETTINGS",data:e}}function _(e,t){return{type:"SET_IS_SAVING_SETTINGS",isSaving:e,error:t}}function*S(){let e=null;try{const t=Object(l.select)(u.b).getSettings();yield _(!0,null),yield Object(p.apiFetch)({path:u.a+"/settings",method:"post",data:t}),yield Object(l.dispatch)(u.b).invalidateResolutionForStoreSelector("getAccountData"),yield Object(l.dispatch)("core/notices").createSuccessNotice(Object(b.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(t){e=t,yield Object(l.dispatch)("core/notices").createErrorNotice(Object(b.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield _(!1,e)}return null===e}function*O(){const e=u.a+"/settings";try{const t=yield Object(p.apiFetch)({path:e});yield w(t)}catch(e){yield Object(l.dispatch)("core/notices").createErrorNotice(Object(b.__)("Error retrieving settings.","woocommerce-gateway-stripe"))}}var j=n(2);const E=[],x=(e,t=!1)=>()=>Object(l.useSelect)(n=>{const{getSettings:r}=n(u.b);return r()[e]||t},[e,t]),k=(e,t=!1)=>()=>{const{updateSettingsValues:n}=Object(l.useDispatch)(u.b);return[x(e,t)(),Object(j.useCallback)(t=>n({[e]:t}),[n])]},A=()=>{const{saveSettings:e}=Object(l.useDispatch)(u.b);return{settings:Object(l.useSelect)(e=>{const{getSettings:t}=e(u.b);return t()},[]),isLoading:Object(l.useSelect)(e=>{const{hasFinishedResolution:t,isResolving:n}=e(u.b);return n("getSettings")||!t("getSettings")},[]),isSaving:Object(l.useSelect)(e=>{const{isSavingSettings:t}=e(u.b);return t()},[]),saveSettings:e}},P=k("enabled_payment_method_ids",E),C=k("is_payment_request_enabled"),T=k("payment_request_button_size",""),R=k("payment_request_button_type",""),N=k("payment_request_button_theme",""),$=k("payment_request_button_locations",E),I=k("is_stripe_enabled"),G=k("title",""),M=k("title_upe",""),L=k("description",""),F=k("is_test_mode_enabled"),D=k("is_saved_cards_enabled"),q=k("is_manual_capture_enabled"),z=k("is_separate_card_form_enabled"),U=k("statement_descriptor",""),B=k("is_short_statement_descriptor_enabled"),V=k("short_statement_descriptor",""),K=k("is_debug_log_enabled"),W=k("is_upe_enabled"),Y=x("available_payment_method_ids",E),H=()=>Object(l.useSelect)(e=>{const{getSavingError:t}=e(u.b);return t()},[]);var X=n(22),Q=n(26);const Z={isSaving:!1,savingError:null,data:{}};const J={},ee=e=>e&&e.paymentGateway||J,te=e=>ee(e).data||J,ne=e=>ee(e).isSaving||!1,re=e=>ee(e).savingError;var oe=n(25);function ae(e){return{type:"SET_PAYMENT_GATEWAY_VALUES",payload:e}}function ce(e){return{type:"SET_PAYMENT_GATEWAY",data:e}}function ie(e,t){return{type:"SET_IS_SAVING_PAYMENT_GATEWAY",isSaving:e,error:t}}function*se(){let e=null;const{section:t}=Object(oe.getQuery)();try{const n=Object(l.select)(u.b).getPaymentGateway();yield ie(!0,null),yield Object(p.apiFetch)({path:`${u.a}/payment-gateway/${t}`,method:"post",data:n}),yield Object(l.dispatch)("core/notices").createSuccessNotice(Object(b.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(t){e=t,yield Object(l.dispatch)("core/notices").createErrorNotice(Object(b.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield ie(!1,e)}return null===e}const{section:ue}=Object(oe.getQuery)();function*le(){const e=`${u.a}/payment-gateway/${ue}`;try{const t=yield Object(p.apiFetch)({path:e});yield ce(t)}catch(e){yield Object(l.dispatch)("core/notices").createErrorNotice(Object(b.__)("Error retrieving payment gateway settings.","woocommerce-gateway-stripe"))}}var pe=n(51);Object(l.registerStore)(u.b,{reducer:Object(l.combineReducers)({settings:(e=f,{type:t,...n})=>{switch(t){case"SET_SETTINGS":return{...e,data:n.data};case"SET_SETTINGS_VALUES":return{...e,savingError:null,data:{...e.data,...n.payload}};case"SET_IS_SAVING_SETTINGS":return{...e,isSaving:n.isSaving,savingError:n.error}}return e},account:X.b,accountKeys:Q.b,paymentGateway:(e=Z,{type:t,...n})=>{switch(t){case"SET_PAYMENT_GATEWAY":return{...e,data:n.data};case"SET_PAYMENT_GATEWAY_VALUES":return{...e,savingError:null,data:{...e.data,...n.payload}};case"SET_IS_SAVING_PAYMENT_GATEWAY":return{...e,isSaving:n.isSaving,savingError:n.error}}return e}}),actions:{...o,...X.a,...Q.a,...i},controls:p.controls,selectors:{...r,...X.d,...Q.d,...c},resolvers:{...a,...X.c,...Q.c,...s}}),u.b},134:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",c=null,i=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:t})}(r,n),r},s=Promise.resolve().then((function(){return e=null,null!==c?c:c=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(a),window.Stripe)t(window.Stripe);else try{var c=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var n=e[t];if(o.test(n.src))return n}return null}();c&&e?console.warn(a):c||(c=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(t);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n}(e)),c.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),c.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}));var e})),u=!1;s.catch((function(e){u||console.warn(e)}));var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];u=!0;var r=Date.now();return s.then((function(e){return i(e,t,r)}))}},135:function(e,t,n){"use strict";var r=n(187),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function s(e){return r.isMemo(e)?c:i[e.$$typeof]||o}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=c;var u=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var c=l(n);p&&(c=c.concat(p(n)));for(var i=s(t),y=s(n),g=0;g<c.length;++g){var h=c[g];if(!(a[h]||r&&r[h]||y&&y[h]||i&&i[h])){var b=f(n,h);try{u(t,h,b)}catch(e){}}}}return t}},14:function(e,t){e.exports=window.wp.dataControls},146:function(e,t,n){"use strict";var r=n(6);const o=Object(r.a)("div",{target:"elkpq0t0"})({name:"1wclzz7",styles:"margin:24px auto 0;max-width:1032px;display:flex;flex-flow:column;@media ( min-width: 960px ){padding:0 56px;}"});t.a=o},154:function(e,t,n){"use strict";var r=n(0),o=(n(2),n(93)),a=n(61),c=n(55);t.a=({children:e,numLines:t,keepContent:n=!1})=>{const{isLoading:i}=Object(a.a)(),{isLoading:s}=Object(c.a)();let u=s||i;return n&&(u=!1),Object(r.createElement)(o.a,{isLoading:u,numLines:t},e)}},186:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},187:function(e,t,n){"use strict";e.exports=n(188)},188:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,c=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case p:case f:case c:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case h:case g:case u:return e;default:return t}}case a:return t}}}function O(e){return S(e)===f}t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=d,t.Fragment=c,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return O(e)||S(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return S(e)===d},t.isFragment=function(e){return S(e)===c},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===a},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===i},t.isSuspense=function(e){return S(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===c||e===f||e===s||e===i||e===m||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===w||e.$$typeof===_||e.$$typeof===b)},t.typeOf=S},191:function(e,t,n){"use strict";var r=n(6),o=n(0),a=n(1),c=(n(2),n(5)),i=n(45),s=n(11);const u=Object(r.a)(i.a,{target:"e1prus4h0"})({name:"2qga7i",styles:"text-align:right"});t.a=()=>{const{saveSettings:e,isSaving:t,isLoading:n}=Object(s.s)();return Object(o.createElement)(u,null,Object(o.createElement)(c.Button,{isPrimary:!0,isBusy:t,disabled:t||n,onClick:e},Object(a.__)("Save changes","woocommerce-gateway-stripe")))}},2:function(e,t){e.exports=window.React},205:function(e,t,n){"use strict";var r=n(2),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(186),c=n(206),i=n(207),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var f,d,m=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function h(e,t,n){var o,c,i=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?b(f,i,n,a.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,c=s+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=r.cloneElement(o,{key:c},void 0!==o.props?o.props.children:void 0)),i.push(f))}function b(e,t,n,r,a){var i="";null!=n&&(i=p(n)+"/");var l=g.getPooled(t,i,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var i,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(a,t,""===n?"."+u(t,0):n),1;var p=0,f=""===n?".":n+":";if(Array.isArray(t))for(var d=0;d<t.length;d++)p+=e(i=t[d],f+u(i,d),r,a);else{var m=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var y,g=m.call(t),h=0;!(y=g.next()).done;)p+=e(i=y.value,f+u(i,h++),r,a);else if("object"===l){var b=""+t;c(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(t).join(", ")+"}":b,"")}}return p}(e,"",t,n)}(e,h,l),g.release(l)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},f=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(d=g).instancePool=[],d.getPooled=f||m,d.poolSize||(d.poolSize=10),d.release=function(e){c(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;c(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)b(e[n],t,n,a.thatReturnsArgument);return t}},206:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,c,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,c,i],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},207:function(e,t,n){"use strict";var r=n(186);e.exports=r},208:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},209:function(e,t,n){},210:function(e,t,n){},22:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return w.a})),n.d(t,"f",(function(){return w.b}));var r={};n.r(r),n.d(r,"getAccountData",(function(){return l})),n.d(r,"isRefreshingAccount",(function(){return p}));var o={};n.r(o),n.d(o,"updateAccount",(function(){return g})),n.d(o,"updateIsRefreshingAccount",(function(){return h})),n.d(o,"refreshAccount",(function(){return b}));var a={};n.r(a),n.d(a,"getAccountData",(function(){return v}));const c={isRefreshing:!1,data:{}};var i=(e=c,{type:t,...n})=>{switch(t){case"SET_ACCOUNT":return{...e,data:n.payload};case"SET_IS_REFRESHING":return{...e,isRefreshing:n.isRefreshing}}return e};const s={},u=e=>e&&e.account||s,l=e=>u(e).data||s,p=e=>u(e).isRefreshing||!1;var f=n(3),d=n(1),m=n(14),y=n(4);function g(e){return{type:"SET_ACCOUNT",payload:e}}function h(e){return{type:"SET_IS_REFRESHING",isRefreshing:e}}function*b(){try{yield h(!0);const e=yield Object(m.apiFetch)({method:"post",path:y.a+"/account/refresh"});yield g(e)}catch(e){yield Object(f.dispatch)("core/notices").createErrorNotice(Object(d.__)("Error updating account data.","woocommerce-gateway-stripe"))}finally{yield h(!1)}}function*v(){const e=y.a+"/account";try{const t=yield Object(m.apiFetch)({path:e});yield g(t)}catch(e){yield Object(f.dispatch)("core/notices").createErrorNotice(Object(d.__)("Error retrieving account data.","woocommerce-gateway-stripe"))}}var w=n(61)},23:function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(){}function a(){}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,a.resetWarningCache=o;var c=function(e,t){return function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}()}(t={exports:{}}),t.exports}(),i=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!i(t)||!i(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o="[object Object]"===Object.prototype.toString.call(t);if(o!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!o&&!r)return!1;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var s={},u=0;u<a.length;u+=1)s[a[u]]=!0;for(var l=0;l<c.length;l+=1)s[c[l]]=!0;var p=Object.keys(s);if(p.length!==a.length)return!1;var f=t,d=n;return p.every((function(t){return e(f[t],d[t])}))},u=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},l=function(e){if(null===e||i(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=t.createContext(null);p.displayName="ElementsContext";var f=function(e){var n,o,a=e.stripe,c=e.options,f=e.children,d=t.useRef(!1),m=t.useRef(!0),y=t.useMemo((function(){return function(e){if(function(e){return i(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(l)};var t=l(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}}(a)}),[a]),g=(n=t.useState((function(){return{stripe:null,elements:null}})),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(_n=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}}(n,o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=g[0],b=g[1],v=u(a),w=u(c);return null!==v&&(v!==a&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(c,w)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),d.current||("sync"===y.tag&&(d.current=!0,b({stripe:y.stripe,elements:y.stripe.elements(c)})),"async"===y.tag&&(d.current=!0,y.stripePromise.then((function(e){e&&m.current&&b({stripe:e,elements:e.elements(c)})})))),t.useEffect((function(){return function(){m.current=!1}}),[]),t.useEffect((function(){var e=h.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),t.createElement(p.Provider,{value:h},f)};f.propTypes={stripe:c.any,options:c.object};var d=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(p),e)},m=function(e){return(0,e.children)(d("mounts <ElementsConsumer>"))};m.propTypes={children:c.func.isRequired};var y=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},g=function(e){return i(e)?(e.paymentRequest,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["paymentRequest"])):{}},h=function(){},b=function(e,n){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),a=n?function(e){d("mounts <".concat(o,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,a=n.className,c=n.options,i=void 0===c?{}:c,u=n.onBlur,l=void 0===u?h:u,p=n.onFocus,f=void 0===p?h:p,m=n.onReady,b=void 0===m?h:m,v=n.onChange,w=void 0===v?h:v,_=n.onEscape,S=void 0===_?h:_,O=n.onClick,j=void 0===O?h:O,E=d("mounts <".concat(o,">")).elements,x=t.useRef(null),k=t.useRef(null),A=y(b),P=y(l),C=y(f),T=y(j),R=y(w),N=y(S);t.useLayoutEffect((function(){if(null==x.current&&E&&null!=k.current){var t=E.create(e,i);x.current=t,t.mount(k.current),t.on("ready",(function(){return A(t)})),t.on("change",R),t.on("blur",P),t.on("focus",C),t.on("escape",N),t.on("click",T)}}));var $=t.useRef(i);return t.useEffect((function(){$.current&&$.current.paymentRequest!==i.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=g(i);0===Object.keys(e).length||s(e,g($.current))||x.current&&(x.current.update(e),$.current=i)}),[i]),t.useLayoutEffect((function(){return function(){x.current&&x.current.destroy()}}),[]),t.createElement("div",{id:r,className:a,ref:k})};return a.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},a.displayName=o,a.__elementType=e,a},v="undefined"==typeof window,w=b("auBankAccount",v),_=b("card",v),S=b("cardNumber",v),O=b("cardExpiry",v),j=b("cardCvc",v),E=b("fpxBank",v),x=b("iban",v),k=b("idealBank",v),A=b("p24Bank",v),P=b("epsBank",v),C=b("payment",v),T=b("paymentRequestButton",v),R=b("afterpayClearpayMessage",v);e.AfterpayClearpayMessageElement=R,e.AuBankAccountElement=w,e.CardCvcElement=j,e.CardElement=_,e.CardExpiryElement=O,e.CardNumberElement=S,e.Elements=f,e.ElementsConsumer=m,e.EpsBankElement=P,e.FpxBankElement=E,e.IbanElement=x,e.IdealBankElement=k,e.P24BankElement=A,e.PaymentElement=C,e.PaymentRequestButtonElement=T,e.useElements=function(){return d("calls useElements()").elements},e.useStripe=function(){return d("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2))},243:function(e,t,n){},25:function(e,t){e.exports=window.wc.navigation},26:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return S.a})),n.d(t,"f",(function(){return S.b})),n.d(t,"g",(function(){return S.c})),n.d(t,"k",(function(){return S.g})),n.d(t,"h",(function(){return S.d})),n.d(t,"i",(function(){return S.e})),n.d(t,"j",(function(){return S.f}));var r={};n.r(r),n.d(r,"getAccountKeys",(function(){return l})),n.d(r,"isSavingAccountKeys",(function(){return p})),n.d(r,"getAccountKeysSavingError",(function(){return f}));var o={};n.r(o),n.d(o,"updateAccountKeysValues",(function(){return h})),n.d(o,"updateAccountKeys",(function(){return b})),n.d(o,"updateIsSavingAccountKeys",(function(){return v})),n.d(o,"saveAccountKeys",(function(){return w}));var a={};n.r(a),n.d(a,"getAccountKeys",(function(){return _}));const c={isSaving:!1,savingError:null,data:{}};var i=(e=c,{type:t,...n})=>{switch(t){case"SET_ACCOUNT_KEYS":return{...e,data:n.payload};case"SET_ACCOUNT_KEYS_VALUES":return{...e,savingError:null,data:{...e.data,...n.payload}};case"SET_IS_SAVING_ACCOUNT_KEYS":return{...e,isSaving:n.isSaving,savingError:n.error}}return e};const s={},u=e=>e&&e.accountKeys||s,l=e=>u(e).data||s,p=e=>u(e).isSaving||!1,f=e=>u(e).savingError;var d=n(3),m=n(1),y=n(14),g=n(4);function h(e){return{type:"SET_ACCOUNT_KEYS_VALUES",payload:e}}function b(e){return{type:"SET_ACCOUNT_KEYS",payload:e}}function v(e,t){return{type:"SET_IS_SAVING_ACCOUNT_KEYS",isSaving:e,error:t}}function*w(e){const t=!e.publishable_key&&!e.test_publishable_key;let n=null;try{yield v(!0,null),yield Object(y.apiFetch)({path:g.a+"/account_keys",method:"post",data:e}),yield Object(d.dispatch)(g.b).invalidateResolutionForStoreSelector("getAccountData"),yield h(e),yield Object(d.dispatch)("core/notices").createSuccessNotice(t?Object(m.__)("Account disconnected.","woocommerce-gateway-stripe"):Object(m.__)("Account keys saved.","woocommerce-gateway-stripe"))}catch(e){n=e,yield Object(d.dispatch)("core/notices").createErrorNotice(t?Object(m.__)("Error disconnecting account.","woocommerce-gateway-stripe"):Object(m.__)("Error saving account keys.","woocommerce-gateway-stripe"))}finally{yield v(!1,n)}return null===n}function*_(){const e=g.a+"/account_keys";try{const t=yield Object(y.apiFetch)({path:e});yield b(t)}catch(e){yield Object(d.dispatch)("core/notices").createErrorNotice(Object(m.__)("Error retrieving account keys.","woocommerce-gateway-stripe"))}}var S=n(55)},280:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(84),c=n.n(a),i=n(1),s=n(5),u=n(42),l=n.n(u),p=n(23),f=n(134),d=n(85),m=n(11);const y=()=>{let e="Google Chrome",t="Google Pay";return(()=>{const e=window.navigator.userAgent.toLowerCase(),t=/chrome/.test(e)&&!/edge|edg|opr|brave\//.test(e)&&"Google Inc."===window.navigator.vendor,n=t&&window.navigator.brave;return t&&!n})()&&(e="Safari",t="Apple Pay"),Object(r.createElement)("p",{className:"payment-method-settings__preview-help-text"},Object(i.sprintf)(
 
 
2
  /* translators: %1: Payment method name %2: Browser name. */
3
- Object(i.__)("To preview the %1$s button, view this page in the %2$s browser.","woocommerce-gateway-stripe"),t,e))},g={default:40,medium:48,large:56};var h=()=>{const e=Object(p.useStripe)(),[t,n]=Object(o.useState)(),[a,c]=Object(o.useState)(!0),[s]=Object(m.n)(),[u]=Object(m.l)(),[l]=Object(m.m)();return Object(o.useEffect)(()=>{if(!e)return void c(!1);c(!0);const t=e.paymentRequest({country:"US",currency:"usd",total:{label:Object(i.__)("Total","woocommerce-gateway-stripe"),amount:99},requestPayerName:!0,requestPayerEmail:!0});t.canMakePayment().then(e=>{e&&n(t),c(!1)})},[e,n,c]),a?null:t?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"payment-method-settings__preview"},Object(r.createElement)(p.PaymentRequestButtonElement,{key:`${s}-${l}-${u}`,onClick:e=>{e.preventDefault()},options:{paymentRequest:t,style:{paymentRequestButton:{type:s,theme:l,height:(g[u]||g.default)+"px"}}}})),Object(r.createElement)(y,null)):Object(r.createElement)(d.a,{status:"info",isDismissible:!1},Object(i.__)("To preview the buttons, ensure your device is configured to accept Apple Pay or Google Pay, and view this page using the Safari or Chrome browsers.","woocommerce-gateway-stripe"))},b=n(52),v=n(154),w=n(61),_=n(55);const S=e=>l()({mixedString:e,components:{helpText:Object(r.createElement)("span",{className:"payment-method-settings__option-muted-text"})}}),O=[{label:S(Object(i.__)("Default {{helpText}}(40 px){{/helpText}}","woocommerce-gateway-stripe")),value:"default"},{label:S(Object(i.__)("Medium {{helpText}}(48 px){{/helpText}}","woocommerce-gateway-stripe")),value:"medium"},{label:S(Object(i.__)("Large {{helpText}}(56 px){{/helpText}}","woocommerce-gateway-stripe")),value:"large"}],j=[{label:Object(i.__)("Only icon","woocommerce-gateway-stripe"),value:"default"},{label:Object(i.__)("Buy","woocommerce-gateway-stripe"),value:"buy"},{label:Object(i.__)("Donate","woocommerce-gateway-stripe"),value:"donate"},{label:Object(i.__)("Book","woocommerce-gateway-stripe"),value:"book"}],E=e=>l()({mixedString:e,components:{br:Object(r.createElement)("br",null),helpText:Object(r.createElement)("span",{className:"payment-method-settings__option-help-text"})}}),x=[{label:E(Object(i.__)("Dark {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with high contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"dark"},{label:E(Object(i.__)("Light {{br/}}{{helpText}}Recommended for dark or colored backgrounds with high contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"light"},{label:E(Object(i.__)("Outline {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with insufficient contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"light-outline"}];var k=()=>{var e,t;const[n,a]=Object(m.n)(),[c,u]=Object(m.l)(),[l,d]=Object(m.m)(),y=null===(e=Object(w.a)().data)||void 0===e||null===(t=e.account)||void 0===t?void 0:t.id,[g]=Object(_.b)(),[S]=Object(_.d)(),E=Object(o.useMemo)(()=>Object(f.a)(g||S||"pk_test_123",{stripeAccount:y||"0001",locale:"en"}),[S,g,y]);return Object(r.createElement)(s.Card,null,Object(r.createElement)(b.a,null,Object(r.createElement)("h4",null,Object(i.__)("Call to action","woocommerce-gateway-stripe")),Object(r.createElement)(s.RadioControl,{className:"payment-method-settings__cta-selection",label:Object(i.__)("Call to action","woocommerce-gateway-stripe"),help:Object(i.__)("Select a button label that fits best with the flow of purchase or payment experience on your store.","woocommerce-gateway-stripe"),selected:n,options:j,onChange:a}),Object(r.createElement)("h4",null,Object(i.__)("Appearance","woocommerce-gateway-stripe")),Object(r.createElement)(s.RadioControl,{help:Object(i.__)("Note that larger buttons are more suitable for mobile use.","woocommerce-gateway-stripe"),label:Object(i.__)("Size","woocommerce-gateway-stripe"),selected:c,options:O,onChange:u}),Object(r.createElement)(s.RadioControl,{label:Object(i.__)("Theme","woocommerce-gateway-stripe"),selected:l,options:x,onChange:d}),Object(r.createElement)("p",null,Object(i.__)("Preview","woocommerce-gateway-stripe")),Object(r.createElement)(v.a,{numLines:7},Object(r.createElement)(p.Elements,{stripe:E},Object(r.createElement)(h,null)))))},A=n(45),P=n(146),C=n(86),T=n(191);n(243);const R=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h2",null,Object(i.__)("Google Pay / Apple Pay","woocommerce-gateway-stripe")),Object(r.createElement)("p",null,Object(i.__)("Decide how buttons for digital wallets Apple Pay and Google Pay are displayed in your store. Depending on their web browser and their wallet configurations, your customers will see either Apple Pay or Google Pay, but not both.","woocommerce-gateway-stripe")),Object(r.createElement)("p",null,Object(r.createElement)(s.ExternalLink,{href:"https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/introduction/"},Object(i.__)("View Apple Pay Guidelines","woocommerce-gateway-stripe"))),Object(r.createElement)("p",null,Object(r.createElement)(s.ExternalLink,{href:"https://developers.google.com/pay/api/web/guides/brand-guidelines"},Object(i.__)("View Google Pay Guidelines","woocommerce-gateway-stripe"))));const N=document.getElementById("wc-stripe-payment-request-settings-container");N&&c.a.render(Object(r.createElement)(()=>Object(r.createElement)(P.a,null,Object(r.createElement)(A.a,{Description:R},Object(r.createElement)(C.a,{numLines:30},Object(r.createElement)(k,null))),Object(r.createElement)(T.a,null)),null),N)},3:function(e,t){e.exports=window.wp.data},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));const r="/wc/v3/wc_stripe",o="wc/stripe"},42:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=i(n(2)),a=i(n(205)),c=i(n(208));function i(e){return e&&e.__esModule?e:{default:e}}var s=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,c.default)(t);try{return function e(t,n){var c,i,u,l,p,f,d,m,y=[],g={};for(f=0;f<t.length;f++)if("string"!==(p=t[f]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){c=n[p.value],u=f;break}y.push(n[p.value])}else y.push(p.value);return c&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),d=e(t.slice(u+1,l),n),i=o.default.cloneElement(c,{},d),y.push(i),l<t.length-1&&(m=e(t.slice(l+1),n),y=y.concat(m))),1===y.length?y[0]:(y.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,a.default)(g))}(u,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},45:function(e,t,n){"use strict";var r=n(6),o=n(0);n(2);const a=Object(r.a)("div",{target:"et1p4me2"})({name:"q70wzv",styles:"display:flex;flex-flow:column;margin-bottom:24px;&:last-child{margin-bottom:0;}@media ( min-width: 800px ){flex-flow:row;}"}),c=Object(r.a)("div",{target:"et1p4me1"})({name:"1p8kjge",styles:"flex:0 1 auto;margin-bottom:24px;@media ( min-width: 800px ){flex:0 0 25%;margin:0 32px 0 0;}h2{font-size:16px;line-height:24px;}p{font-size:13px;line-height:17.89px;margin:12px 0;}>:last-child{margin-bottom:0;}"}),i=Object(r.a)("div",{target:"et1p4me0"})({name:"mkkf9p",styles:"flex:1 1 auto"});t.a=({Description:e=(()=>null),children:t,...n})=>Object(o.createElement)(a,n,Object(o.createElement)(c,null,Object(o.createElement)(e,null)),Object(o.createElement)(i,null,t))},5:function(e,t){e.exports=window.wp.components},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return f}));var r=n(3),o=n(2),a=n(25),c=n(4);const i=(e,t=!1)=>()=>{const{updatePaymentGatewayValues:n}=Object(r.useDispatch)(c.b);return[((e,t=!1)=>()=>Object(r.useSelect)(n=>{const{getPaymentGateway:r}=n(c.b);return r()[e]||t},[e,t]))(e,t)(),Object(o.useCallback)(t=>n({[e]:t}),[n])]},s=()=>{const{savePaymentGateway:e}=Object(r.useDispatch)(c.b);return{paymentGateway:Object(r.useSelect)(e=>{const{getPaymentGateway:t}=e(c.b);return t()},[]),isLoading:Object(r.useSelect)(e=>{const{hasFinishedResolution:t,isResolving:n}=e(c.b);return n("getPaymentGateway")||!t("getPaymentGateway")},[]),isSaving:Object(r.useSelect)(e=>{const{isSavingPaymentGateway:t}=e(c.b);return t()},[]),savePaymentGateway:e}},u=e=>e.replace("%s",()=>{const{section:e}=Object(a.getQuery)();return e}),l=i(u("is_%s_enabled")),p=i(u("%s_name"),""),f=i(u("%s_description"),"")},52:function(e,t,n){"use strict";var r=n(6),o=n(5);t.a=Object(r.a)(o.CardBody,{target:"eezfi080"})({name:"hqx46f",styles:"&.is-size-medium.is-size-medium{padding:24px;}h4{margin-top:0;margin-bottom:1em;}>*{margin-top:0;margin-bottom:1em;&:last-child{margin-bottom:0;>:last-child{margin-bottom:0;}}}input,select{margin:0;}ul>li:last-child{margin-bottom:0;.components-base-control__field{margin-bottom:0;}}.components-radio-control__option{margin-bottom:8px;}.components-base-control__help{margin-top:unset;}"})},55:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"g",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return d}));var r=n(3),o=n(2),a=n(4);const c=()=>{const{saveAccountKeys:e,updateAccountKeys:t}=Object(r.useDispatch)(a.b);return{accountKeys:Object(r.useSelect)(e=>{const{getAccountKeys:t}=e(a.b);return t()},[]),isLoading:Object(r.useSelect)(e=>{const{hasFinishedResolution:t,isResolving:n}=e(a.b);return n("getAccountKeys")||!t("getAccountKeys")},[]),isSaving:Object(r.useSelect)(e=>{const{isSavingAccountKeys:t}=e(a.b);return t()},[]),updateAccountKeys:t,saveAccountKeys:e}},i=e=>()=>{const{updateAccountKeysValues:t}=Object(r.useDispatch)(a.b);return[Object(r.useSelect)(t=>{const{getAccountKeys:n}=t(a.b);return n()[e]||""}),Object(o.useCallback)(n=>t({[e]:n}),[t])]},s=i("publishable_key"),u=i("secret_key"),l=i("webhook_secret"),p=i("test_publishable_key"),f=i("test_secret_key"),d=i("test_webhook_secret")},57:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var c=o.apply(null,r);c&&e.push(c)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var i in r)n.call(r,i)&&r[i]&&e.push(i);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},6:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=n(2),a=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=a((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),u="-ms-",l="-moz-",p="-webkit-",f="comm",d="rule",m="decl",y=Math.abs,g=String.fromCharCode;function h(e){return e.trim()}function b(e,t,n){return e.replace(t,n)}function v(e,t){return e.indexOf(t)}function w(e,t){return 0|e.charCodeAt(t)}function _(e,t,n){return e.slice(t,n)}function S(e){return e.length}function O(e){return e.length}function j(e,t){return t.push(e),e}var E=1,x=1,k=0,A=0,P=0,C="";function T(e,t,n,r,o,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:E,column:x,length:c,return:""}}function R(e,t,n){return T(e,t.root,t.parent,n,t.props,t.children,0)}function N(){return P=A>0?w(C,--A):0,x--,10===P&&(x=1,E--),P}function $(){return P=A<k?w(C,A++):0,x++,10===P&&(x=1,E++),P}function I(){return w(C,A)}function G(){return A}function M(e,t){return _(C,e,t)}function L(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){return E=x=1,k=S(C=e),A=0,[]}function D(e){return C="",e}function q(e){return h(M(A-1,function e(t){for(;$();)switch(P){case t:return A;case 34:case 39:return e(34===t||39===t?t:P);case 40:41===t&&e(t);break;case 92:$()}return A}(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(P=I())&&P<33;)$();return L(e)>2||L(P)>3?"":" "}function U(e,t){for(;--t&&$()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return M(e,G()+(t<6&&32==I()&&32==$()))}function B(e,t){for(;$()&&e+P!==57&&(e+P!==84||47!==I()););return"/*"+M(t,A-1)+"*"+g(47===e?e:$())}function V(e){for(;!L(I());)$();return M(e,A)}function K(e,t,n,r,o,a,c,i,s,u,l){for(var p=o-1,f=0===o?a:[""],m=O(f),g=0,v=0,w=0;g<r;++g)for(var S=0,j=_(e,p+1,p=y(v=c[g])),E=e;S<m;++S)(E=h(v>0?f[S]+" "+j:b(j,/&\f/g,f[S])))&&(s[w++]=E);return T(e,t,n,0===o?d:i,s,u,l)}function W(e,t,n){return T(e,t,n,f,g(P),_(e,2,-2),0)}function Y(e,t,n,r){return T(e,t,n,m,_(e,0,r),_(e,r+1,-1),r)}function H(e,t){for(var n="",r=O(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function X(e,t,n,r){switch(e.type){case"@import":case m:return e.return=e.return||e.value;case f:return"";case d:e.value=e.props.join(",")}return S(n=H(e.children,r))?e.return=e.value+"{"+n+"}":""}function Q(e){return function(t){t.root||(t=t.return)&&e(t)}}var Z=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(n))&&!r){Z.set(e,!0);for(var o=[],a=function(e,t){return D(function(e,t){var n=-1,r=44;do{switch(L(r)){case 0:38===r&&12===I()&&(t[n]=1),e[n]+=V(A-1);break;case 2:e[n]+=q(r);break;case 4:if(44===r){e[++n]=58===I()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=g(r)}}while(r=$());return e}(F(e),t))}(t,o),c=n.props,i=0,s=0;i<a.length;i++)for(var u=0;u<c.length;u++,s++)e.props[s]=o[i]?a[i].replace(/&\f/g,c[u]):c[u]+" "+a[i]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},te=[function(e,t,n,r){if(!e.return)switch(e.type){case m:e.return=function e(t,n){switch(function(e,t){return(((t<<2^w(e,0))<<2^w(e,1))<<2^w(e,2))<<2^w(e,3)}(t,n)){case 5103:return p+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return p+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return p+t+l+t+u+t+t;case 6828:case 4268:return p+t+u+t+t;case 6165:return p+t+u+"flex-"+t+t;case 5187:return p+t+b(t,/(\w+).+(:[^]+)/,p+"box-$1$2"+u+"flex-$1$2")+t;case 5443:return p+t+u+"flex-item-"+b(t,/flex-|-self/,"")+t;case 4675:return p+t+u+"flex-line-pack"+b(t,/align-content|flex-|-self/,"")+t;case 5548:return p+t+u+b(t,"shrink","negative")+t;case 5292:return p+t+u+b(t,"basis","preferred-size")+t;case 6060:return p+"box-"+b(t,"-grow","")+p+t+u+b(t,"grow","positive")+t;case 4554:return p+b(t,/([^-])(transform)/g,"$1"+p+"$2")+t;case 6187:return b(b(b(t,/(zoom-|grab)/,p+"$1"),/(image-set)/,p+"$1"),t,"")+t;case 5495:case 3959:return b(t,/(image-set\([^]*)/,p+"$1$`$1");case 4968:return b(b(t,/(.+:)(flex-)?(.*)/,p+"box-pack:$3"+u+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+p+t+t;case 4095:case 3583:case 4068:case 2532:return b(t,/(.+)-inline(.+)/,p+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(S(t)-1-n>6)switch(w(t,n+1)){case 109:if(45!==w(t,n+4))break;case 102:return b(t,/(.+:)(.+)-([^]+)/,"$1"+p+"$2-$3$1"+l+(108==w(t,n+3)?"$3":"$2-$3"))+t;case 115:return~v(t,"stretch")?e(b(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==w(t,n+1))break;case 6444:switch(w(t,S(t)-3-(~v(t,"!important")&&10))){case 107:return b(t,":",":"+p)+t;case 101:return b(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+p+(45===w(t,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+u+"$2box$3")+t}break;case 5936:switch(w(t,n+11)){case 114:return p+t+u+b(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return p+t+u+b(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return p+t+u+b(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return p+t+u+t+t}return t}(e.value,e.length);break;case"@keyframes":return H([R(b(e.value,"@","@"+p),e,"")],r);case d:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return H([R(b(t,/:(read-\w+)/,":-moz-$1"),e,"")],r);case"::placeholder":return H([R(b(t,/:(plac\w+)/,":"+p+"input-$1"),e,""),R(b(t,/:(plac\w+)/,":-moz-$1"),e,""),R(b(t,/:(plac\w+)/,u+"input-$1"),e,"")],r)}return""}))}}],ne=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||te,c={},i=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)c[t[n]]=!0;i.push(e)}));var u,l=[J,ee],p=[X,Q((function(e){u.insert(e)}))],f=function(e){var t=O(e);return function(n,r,o,a){for(var c="",i=0;i<t;i++)c+=e[i](n,r,o,a)||"";return c}}(l.concat(a,p));o=function(e,t,n,r){u=n,H(function(e){return D(function e(t,n,r,o,a,c,i,s,u){for(var l=0,p=0,f=i,d=0,m=0,y=0,h=1,v=1,w=1,_=0,O="",E=a,x=c,k=o,A=O;v;)switch(y=_,_=$()){case 34:case 39:case 91:case 40:A+=q(_);break;case 9:case 10:case 13:case 32:A+=z(y);break;case 92:A+=U(G()-1,7);continue;case 47:switch(I()){case 42:case 47:j(W(B($(),G()),n,r),u);break;default:A+="/"}break;case 123*h:s[l++]=S(A)*w;case 125*h:case 59:case 0:switch(_){case 0:case 125:v=0;case 59+p:m>0&&S(A)-f&&j(m>32?Y(A+";",o,r,f-1):Y(b(A," ","")+";",o,r,f-2),u);break;case 59:A+=";";default:if(j(k=K(A,n,r,l,p,a,s,O,E=[],x=[],f),c),123===_)if(0===p)e(A,n,k,k,E,c,f,s,x);else switch(d){case 100:case 109:case 115:e(t,k,k,o&&j(K(t,k,k,0,0,a,s,O,a,E=[],f),x),a,x,f,s,o?E:x);break;default:e(A,k,k,k,[""],x,f,s,x)}}l=p=m=0,h=w=1,O=A="",f=i;break;case 58:f=1+S(A),m=y;default:if(h<1)if(123==_)--h;else if(125==_&&0==h++&&125==N())continue;switch(A+=g(_),_*h){case 38:w=p>0?1:(A+="\f",-1);break;case 44:s[l++]=(S(A)-1)*w,w=1;break;case 64:45===I()&&(A+=q($())),d=I(),p=S(O=A+=V(G())),_++;break;case 45:45===y&&2==S(A)&&(h=0)}}return c}("",null,null,null,[""],e=F(e),0,[0],e))}(e?e+"{"+t.styles+"}":t.styles),f),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new s({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:c,registered:{},insert:o};return d.sheet.hydrate(i),d};function re(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n(135);var oe=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},ae=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},ce={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ie=/[A-Z]|^ms/g,se=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ue=function(e){return 45===e.charCodeAt(1)},le=function(e){return null!=e&&"boolean"!=typeof e},pe=a((function(e){return ue(e)?e:e.replace(ie,"-$&").toLowerCase()})),fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(se,(function(e,t,n){return me={name:t,styles:n,next:me},t}))}return 1===ce[e]||ue(e)||"number"!=typeof t||0===t?t:t+"px"};function de(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return me={name:n.name,styles:n.styles,next:me},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)me={name:r.name,styles:r.styles,next:me},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=de(e,t,n[o])+";";else for(var a in n){var c=n[a];if("object"!=typeof c)null!=t&&void 0!==t[c]?r+=a+"{"+t[c]+"}":le(c)&&(r+=pe(a)+":"+fe(a,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=t&&void 0!==t[c[0]]){var i=de(e,t,c);switch(a){case"animation":case"animationName":r+=pe(a)+":"+i+";";break;default:r+=a+"{"+i+"}"}}else for(var s=0;s<c.length;s++)le(c[s])&&(r+=pe(a)+":"+fe(a,c[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=me,a=n(e);return me=o,de(e,t,a)}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var me,ye=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ge=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";me=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=de(n,t,a)):o+=a[0];for(var c=1;c<e.length;c++)o+=de(n,t,e[c]),r&&(o+=a[c]);ye.lastIndex=0;for(var i,s="";null!==(i=ye.exec(o));)s+="-"+i[1];return{name:ae(o)+s,styles:o,next:me}},he=(Object.prototype.hasOwnProperty,Object(o.createContext)("undefined"!=typeof HTMLElement?ne({key:"css"}):null));he.Provider;var be=function(e){return Object(o.forwardRef)((function(t,n){var r=Object(o.useContext)(he);return e(t,r,n)}))},ve=Object(o.createContext)({}),we=i,_e=function(e){return"theme"!==e},Se=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?we:_e},Oe=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r};t.a=function e(t,n){var a,c,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(a=n.label,c=n.target);var u=Oe(t,n,i),l=u||Se(s),p=!l("as");return function(){var f=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&d.push("label:"+a+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{d.push(f[0][0]);for(var m=f.length,y=1;y<m;y++)d.push(f[y],f[0][y])}var g=be((function(e,t,n){var r=p&&e.as||s,a="",i=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=Object(o.useContext)(ve)}"string"==typeof e.className?a=re(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var y=ge(d.concat(i),t.registered,f);oe(t,y,"string"==typeof r),a+=t.key+"-"+y.name,void 0!==c&&(a+=" "+c);var g=p&&void 0===u?Se(r):l,h={};for(var b in e)p&&"as"===b||g(b)&&(h[b]=e[b]);return h.className=a,h.ref=n,Object(o.createElement)(r,h)}));return g.displayName=void 0!==a?a:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=d,g.__emotion_forwardProp=u,Object.defineProperty(g,"toString",{value:function(){return"."+c}}),g.withComponent=function(t,o){return e(t,r({},n,o,{shouldForwardProp:Oe(g,o,!0)})).apply(void 0,d)},g}}},61:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return i}));var r=n(3),o=n(4);const a={},c=()=>{const{refreshAccount:e}=Object(r.useDispatch)(o.b);return{data:Object(r.useSelect)(e=>{const{getAccountData:t}=e(o.b);return t()},[]),isLoading:Object(r.useSelect)(e=>{const{hasFinishedResolution:t,isResolving:n}=e(o.b);return n("getAccountData")||!t("getAccountData")},[]),isRefreshing:Object(r.useSelect)(e=>{const{isRefreshingAccount:t}=e(o.b);return t()},[]),refreshAccount:e}},i=()=>Object(r.useSelect)(e=>{var t,n;const{getAccountData:r}=e(o.b);return null!==(t=null===(n=r().account)||void 0===n?void 0:n.capabilities)&&void 0!==t?t:a},[])},8:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},84:function(e,t){e.exports=window.ReactDOM},85:function(e,t,n){"use strict";var r=n(8),o=n.n(r),a=n(0),c=(n(2),n(5)),i=n(57),s=n.n(i);n(209),t.a=({className:e,...t})=>Object(a.createElement)(c.Notice,o()({className:s()("wcstripe-inline-notice",e)},t))},86:function(e,t,n){"use strict";var r=n(0),o=(n(2),n(11)),a=n(93);t.a=({children:e,numLines:t})=>{const{isLoading:n}=Object(o.s)();return Object(r.createElement)(a.a,{isLoading:n,numLines:t},e)}},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(8),o=n.n(r),a=n(0);n(210);const c=({isLoading:e,display:t,placeholder:n,value:r,children:o})=>e?Object(a.createElement)("span",{className:t?"is-loadable-placeholder is-"+t:"is-loadable-placeholder","aria-busy":"true"},void 0===n?o||r:n):o||r||null,i=({numLines:e=1,...t})=>{const n=Object(a.createElement)("p",{style:{lineHeight:e}},"Block placeholder");return Object(a.createElement)(c,o()({},t,{placeholder:n,display:"block"}))}}});
1
+ !function(t){var e={};function M(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,M),u.l=!0,u.exports}M.m=t,M.c=e,M.d=function(t,e,n){M.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},M.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},M.t=function(t,e){if(1&e&&(t=M(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(M.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)M.d(n,u,function(e){return t[e]}.bind(null,u));return n},M.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return M.d(e,"a",e),e},M.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},M.p="",M(M.s=282)}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.React},function(t,e){t.exports=window.wp.i18n},function(t,e){t.exports=window.wp.data},function(t,e,M){"use strict";M.d(e,"a",(function(){return n})),M.d(e,"b",(function(){return u}));const n="/wc/v3/wc_stripe",u="wc/stripe"},function(t,e,M){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var M=arguments[e];for(var n in M)Object.prototype.hasOwnProperty.call(M,n)&&(t[n]=M[n])}return t}).apply(this,arguments)}var u=M(1),r=function(t){var e=Object.create(null);return function(M){return void 0===e[M]&&(e[M]=t(M)),e[M]}},i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=r((function(t){return i.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),c=function(){function t(t){var e=this;this._insertTag=function(t){var M;M=0===e.tags.length?e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,M),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var M=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{M.insertRule(t,M.cssRules.length)}catch(t){}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),a="-ms-",j="-moz-",L="-webkit-",s="comm",N="rule",y="decl",g=Math.abs,l=String.fromCharCode;function D(t){return t.trim()}function A(t,e,M){return t.replace(e,M)}function S(t,e){return t.indexOf(e)}function I(t,e){return 0|t.charCodeAt(e)}function T(t,e,M){return t.slice(e,M)}function w(t){return t.length}function p(t){return t.length}function z(t,e){return e.push(t),t}var d=1,x=1,E=0,f=0,m=0,O="";function C(t,e,M,n,u,r,i){return{value:t,root:e,parent:M,type:n,props:u,children:r,line:d,column:x,length:i,return:""}}function b(t,e,M){return C(t,e.root,e.parent,M,e.props,e.children,0)}function h(){return m=f>0?I(O,--f):0,x--,10===m&&(x=1,d--),m}function Y(){return m=f<E?I(O,f++):0,x++,10===m&&(x=1,d++),m}function v(){return I(O,f)}function k(){return f}function U(t,e){return T(O,t,e)}function Q(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(t){return d=x=1,E=w(O=t),f=0,[]}function G(t){return O="",t}function P(t){return D(U(f-1,function t(e){for(;Y();)switch(m){case e:return f;case 34:case 39:return t(34===e||39===e?e:m);case 40:41===e&&t(e);break;case 92:Y()}return f}(91===t?t+2:40===t?t+1:t)))}function Z(t){for(;(m=v())&&m<33;)Y();return Q(t)>2||Q(m)>3?"":" "}function R(t,e){for(;--e&&Y()&&!(m<48||m>102||m>57&&m<65||m>70&&m<97););return U(t,k()+(e<6&&32==v()&&32==Y()))}function W(t,e){for(;Y()&&t+m!==57&&(t+m!==84||47!==v()););return"/*"+U(e,f-1)+"*"+l(47===t?t:Y())}function B(t){for(;!Q(v());)Y();return U(t,f)}function V(t,e,M,n,u,r,i,o,c,a,j){for(var L=u-1,s=0===u?r:[""],y=p(s),l=0,S=0,I=0;l<n;++l)for(var w=0,z=T(t,L+1,L=g(S=i[l])),d=t;w<y;++w)(d=D(S>0?s[w]+" "+z:A(z,/&\f/g,s[w])))&&(c[I++]=d);return C(t,e,M,0===u?N:o,c,a,j)}function F(t,e,M){return C(t,e,M,s,l(m),T(t,2,-2),0)}function J(t,e,M,n){return C(t,e,M,y,T(t,0,n),T(t,n+1,-1),n)}function H(t,e){for(var M="",n=p(t),u=0;u<n;u++)M+=e(t[u],u,t,e)||"";return M}function X(t,e,M,n){switch(t.type){case"@import":case y:return t.return=t.return||t.value;case s:return"";case N:t.value=t.props.join(",")}return w(M=H(t.children,n))?t.return=t.value+"{"+M+"}":""}function $(t){return function(e){e.root||(e=e.return)&&t(e)}}var q=new WeakMap,K=function(t){if("rule"===t.type&&t.parent&&t.length){for(var e=t.value,M=t.parent,n=t.column===M.column&&t.line===M.line;"rule"!==M.type;)if(!(M=M.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||q.get(M))&&!n){q.set(t,!0);for(var u=[],r=function(t,e){return G(function(t,e){var M=-1,n=44;do{switch(Q(n)){case 0:38===n&&12===v()&&(e[M]=1),t[M]+=B(f-1);break;case 2:t[M]+=P(n);break;case 4:if(44===n){t[++M]=58===v()?"&\f":"",e[M]=t[M].length;break}default:t[M]+=l(n)}}while(n=Y());return t}(_(t),e))}(e,u),i=M.props,o=0,c=0;o<r.length;o++)for(var a=0;a<i.length;a++,c++)t.props[c]=u[o]?r[o].replace(/&\f/g,i[a]):i[a]+" "+r[o]}}},tt=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},et=[function(t,e,M,n){if(!t.return)switch(t.type){case y:t.return=function t(e,M){switch(function(t,e){return(((e<<2^I(t,0))<<2^I(t,1))<<2^I(t,2))<<2^I(t,3)}(e,M)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+j+e+a+e+e;case 6828:case 4268:return L+e+a+e+e;case 6165:return L+e+a+"flex-"+e+e;case 5187:return L+e+A(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return L+e+a+"flex-item-"+A(e,/flex-|-self/,"")+e;case 4675:return L+e+a+"flex-line-pack"+A(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+a+A(e,"shrink","negative")+e;case 5292:return L+e+a+A(e,"basis","preferred-size")+e;case 6060:return L+"box-"+A(e,"-grow","")+L+e+a+A(e,"grow","positive")+e;case 4554:return L+A(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(e)-1-M>6)switch(I(e,M+1)){case 109:if(45!==I(e,M+4))break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+j+(108==I(e,M+3)?"$3":"$2-$3"))+e;case 115:return~S(e,"stretch")?t(A(e,"stretch","fill-available"),M)+e:e}break;case 4949:if(115!==I(e,M+1))break;case 6444:switch(I(e,w(e)-3-(~S(e,"!important")&&10))){case 107:return A(e,":",":"+L)+e;case 101:return A(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(45===I(e,14)?"inline-":"")+"box$3$1"+L+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(I(e,M+11)){case 114:return L+e+a+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+a+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+a+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+a+e+e}return e}(t.value,t.length);break;case"@keyframes":return H([b(A(t.value,"@","@"+L),t,"")],n);case N:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(e)){case":read-only":case":read-write":return H([b(A(e,/:(read-\w+)/,":-moz-$1"),t,"")],n);case"::placeholder":return H([b(A(e,/:(plac\w+)/,":"+L+"input-$1"),t,""),b(A(e,/:(plac\w+)/,":-moz-$1"),t,""),b(A(e,/:(plac\w+)/,a+"input-$1"),t,"")],n)}return""}))}}],Mt=function(t){var e=t.key;if("css"===e){var M=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(M,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var n,u,r=t.stylisPlugins||et,i={},o=[];n=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),M=1;M<e.length;M++)i[e[M]]=!0;o.push(t)}));var a,j=[K,tt],L=[X,$((function(t){a.insert(t)}))],s=function(t){var e=p(t);return function(M,n,u,r){for(var i="",o=0;o<e;o++)i+=t[o](M,n,u,r)||"";return i}}(j.concat(r,L));u=function(t,e,M,n){a=M,H(function(t){return G(function t(e,M,n,u,r,i,o,c,a){for(var j=0,L=0,s=o,N=0,y=0,g=0,D=1,S=1,I=1,T=0,p="",d=r,x=i,E=u,f=p;S;)switch(g=T,T=Y()){case 34:case 39:case 91:case 40:f+=P(T);break;case 9:case 10:case 13:case 32:f+=Z(g);break;case 92:f+=R(k()-1,7);continue;case 47:switch(v()){case 42:case 47:z(F(W(Y(),k()),M,n),a);break;default:f+="/"}break;case 123*D:c[j++]=w(f)*I;case 125*D:case 59:case 0:switch(T){case 0:case 125:S=0;case 59+L:y>0&&w(f)-s&&z(y>32?J(f+";",u,n,s-1):J(A(f," ","")+";",u,n,s-2),a);break;case 59:f+=";";default:if(z(E=V(f,M,n,j,L,r,c,p,d=[],x=[],s),i),123===T)if(0===L)t(f,M,E,E,d,i,s,c,x);else switch(N){case 100:case 109:case 115:t(e,E,E,u&&z(V(e,E,E,0,0,r,c,p,r,d=[],s),x),r,x,s,c,u?d:x);break;default:t(f,E,E,E,[""],x,s,c,x)}}j=L=y=0,D=I=1,p=f="",s=o;break;case 58:s=1+w(f),y=g;default:if(D<1)if(123==T)--D;else if(125==T&&0==D++&&125==h())continue;switch(f+=l(T),T*D){case 38:I=L>0?1:(f+="\f",-1);break;case 44:c[j++]=(w(f)-1)*I,I=1;break;case 64:45===v()&&(f+=P(Y())),N=v(),L=w(p=f+=B(k())),T++;break;case 45:45===g&&2==w(f)&&(D=0)}}return i}("",null,null,null,[""],t=_(t),0,[0],t))}(t?t+"{"+e.styles+"}":e.styles),s),n&&(N.inserted[e.name]=!0)};var N={key:e,sheet:new c({key:e,container:n,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend}),nonce:t.nonce,inserted:i,registered:{},insert:u};return N.sheet.hydrate(o),N};function nt(t,e,M){var n="";return M.split(" ").forEach((function(M){void 0!==t[M]?e.push(t[M]+";"):n+=M+" "})),n}M(151);var ut=function(t,e,M){var n=t.key+"-"+e.name;if(!1===M&&void 0===t.registered[n]&&(t.registered[n]=e.styles),void 0===t.inserted[e.name]){var u=e;do{t.insert(e===u?"."+n:"",u,t.sheet,!0),u=u.next}while(void 0!==u)}},rt=function(t){for(var e,M=0,n=0,u=t.length;u>=4;++n,u-=4)e=1540483477*(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+(59797*(e>>>16)<<16),M=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&M)+(59797*(M>>>16)<<16);switch(u){case 3:M^=(255&t.charCodeAt(n+2))<<16;case 2:M^=(255&t.charCodeAt(n+1))<<8;case 1:M=1540483477*(65535&(M^=255&t.charCodeAt(n)))+(59797*(M>>>16)<<16)}return(((M=1540483477*(65535&(M^=M>>>13))+(59797*(M>>>16)<<16))^M>>>15)>>>0).toString(36)},it={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ot=/[A-Z]|^ms/g,ct=/_EMO_([^_]+?)_([^]*?)_EMO_/g,at=function(t){return 45===t.charCodeAt(1)},jt=function(t){return null!=t&&"boolean"!=typeof t},Lt=r((function(t){return at(t)?t:t.replace(ot,"-$&").toLowerCase()})),st=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(ct,(function(t,e,M){return yt={name:e,styles:M,next:yt},e}))}return 1===it[t]||at(t)||"number"!=typeof e||0===e?e:e+"px"};function Nt(t,e,M){if(null==M)return"";if(void 0!==M.__emotion_styles)return M;switch(typeof M){case"boolean":return"";case"object":if(1===M.anim)return yt={name:M.name,styles:M.styles,next:yt},M.name;if(void 0!==M.styles){var n=M.next;if(void 0!==n)for(;void 0!==n;)yt={name:n.name,styles:n.styles,next:yt},n=n.next;return M.styles+";"}return function(t,e,M){var n="";if(Array.isArray(M))for(var u=0;u<M.length;u++)n+=Nt(t,e,M[u])+";";else for(var r in M){var i=M[r];if("object"!=typeof i)null!=e&&void 0!==e[i]?n+=r+"{"+e[i]+"}":jt(i)&&(n+=Lt(r)+":"+st(r,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=e&&void 0!==e[i[0]]){var o=Nt(t,e,i);switch(r){case"animation":case"animationName":n+=Lt(r)+":"+o+";";break;default:n+=r+"{"+o+"}"}}else for(var c=0;c<i.length;c++)jt(i[c])&&(n+=Lt(r)+":"+st(r,i[c])+";")}return n}(t,e,M);case"function":if(void 0!==t){var u=yt,r=M(t);return yt=u,Nt(t,e,r)}}if(null==e)return M;var i=e[M];return void 0!==i?i:M}var yt,gt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,lt=function(t,e,M){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var n=!0,u="";yt=void 0;var r=t[0];null==r||void 0===r.raw?(n=!1,u+=Nt(M,e,r)):u+=r[0];for(var i=1;i<t.length;i++)u+=Nt(M,e,t[i]),n&&(u+=r[i]);gt.lastIndex=0;for(var o,c="";null!==(o=gt.exec(u));)c+="-"+o[1];return{name:rt(u)+c,styles:u,next:yt}},Dt=(Object.prototype.hasOwnProperty,Object(u.createContext)("undefined"!=typeof HTMLElement?Mt({key:"css"}):null));Dt.Provider;var At=function(t){return Object(u.forwardRef)((function(e,M){var n=Object(u.useContext)(Dt);return t(e,n,M)}))},St=Object(u.createContext)({}),It=o,Tt=function(t){return"theme"!==t},wt=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?It:Tt},pt=function(t,e,M){var n;if(e){var u=e.shouldForwardProp;n=t.__emotion_forwardProp&&u?function(e){return t.__emotion_forwardProp(e)&&u(e)}:u}return"function"!=typeof n&&M&&(n=t.__emotion_forwardProp),n};e.a=function t(e,M){var r,i,o=e.__emotion_real===e,c=o&&e.__emotion_base||e;void 0!==M&&(r=M.label,i=M.target);var a=pt(e,M,o),j=a||wt(c),L=!j("as");return function(){var s=arguments,N=o&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&N.push("label:"+r+";"),null==s[0]||void 0===s[0].raw)N.push.apply(N,s);else{N.push(s[0][0]);for(var y=s.length,g=1;g<y;g++)N.push(s[g],s[0][g])}var l=At((function(t,e,M){var n=L&&t.as||c,r="",o=[],s=t;if(null==t.theme){for(var y in s={},t)s[y]=t[y];s.theme=Object(u.useContext)(St)}"string"==typeof t.className?r=nt(e.registered,o,t.className):null!=t.className&&(r=t.className+" ");var g=lt(N.concat(o),e.registered,s);ut(e,g,"string"==typeof n),r+=e.key+"-"+g.name,void 0!==i&&(r+=" "+i);var l=L&&void 0===a?wt(n):j,D={};for(var A in t)L&&"as"===A||l(A)&&(D[A]=t[A]);return D.className=r,D.ref=M,Object(u.createElement)(n,D)}));return l.displayName=void 0!==r?r:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",l.defaultProps=e.defaultProps,l.__emotion_real=l,l.__emotion_base=c,l.__emotion_styles=N,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+i}}),l.withComponent=function(e,u){return t(e,n({},M,u,{shouldForwardProp:pt(l,u,!0)})).apply(void 0,N)},l}}},function(t,e){t.exports=window.wp.components},function(t,e){function M(){return t.exports=M=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var M=arguments[e];for(var n in M)Object.prototype.hasOwnProperty.call(M,n)&&(t[n]=M[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,M.apply(this,arguments)}t.exports=M,t.exports.default=t.exports,t.exports.__esModule=!0},,function(t,e,M){(function(e){var M=function(t){return t&&t.Math==Math&&t};t.exports=M("object"==typeof globalThis&&globalThis)||M("object"==typeof window&&window)||M("object"==typeof self&&self)||M("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,M(99))},function(t,e,M){var n=M(9),u=M(76),r=M(19),i=M(77),o=M(67),c=M(103),a=u("wks"),j=n.Symbol,L=c?j:j&&j.withoutSetter||i;t.exports=function(t){return r(a,t)&&(o||"string"==typeof a[t])||(o&&r(j,t)?a[t]=j[t]:a[t]=L("Symbol."+t)),a[t]}},function(t,e,M){"use strict";var n=M(9),u=M(74).f,r=M(83),i=M(24),o=M(39),c=M(20),a=M(19),j=function(t){var e=function(e,M,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,M)}return new t(e,M,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var M,L,s,N,y,g,l,D,A=t.target,S=t.global,I=t.stat,T=t.proto,w=S?n:I?n[A]:(n[A]||{}).prototype,p=S?i:i[A]||(i[A]={}),z=p.prototype;for(s in e)M=!r(S?s:A+(I?".":"#")+s,t.forced)&&w&&a(w,s),y=p[s],M&&(g=t.noTargetGet?(D=u(w,s))&&D.value:w[s]),N=M&&g?g:e[s],M&&typeof y==typeof N||(l=t.bind&&M?o(N,n):t.wrap&&M?j(N):T&&"function"==typeof N?o(Function.call,N):N,(t.sham||N&&N.sham||y&&y.sham)&&c(l,"sham",!0),p[s]=l,T&&(a(i,L=A+"Prototype")||c(i,L,{}),i[L][s]=N,t.real&&z&&!z[s]&&c(z,s,N)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,M){"use strict";M.d(e,"s",(function(){return f})),M.d(e,"d",(function(){return m})),M.d(e,"o",(function(){return O})),M.d(e,"l",(function(){return C})),M.d(e,"n",(function(){return b})),M.d(e,"m",(function(){return h})),M.d(e,"p",(function(){return Y})),M.d(e,"h",(function(){return v})),M.d(e,"v",(function(){return k})),M.d(e,"w",(function(){return U})),M.d(e,"c",(function(){return Q})),M.d(e,"u",(function(){return _})),M.d(e,"q",(function(){return G})),M.d(e,"j",(function(){return P})),M.d(e,"r",(function(){return Z})),M.d(e,"a",(function(){return R})),M.d(e,"g",(function(){return W})),M.d(e,"t",(function(){return B})),M.d(e,"b",(function(){return V})),M.d(e,"i",(function(){return F})),M.d(e,"e",(function(){return J})),M.d(e,"f",(function(){return H})),M.d(e,"k",(function(){return Lt.b}));var n={};M.r(n),M.d(n,"getSettings",(function(){return g})),M.d(n,"isSavingSettings",(function(){return l})),M.d(n,"getSavingError",(function(){return D}));var u={};M.r(u),M.d(u,"updateSettingsValues",(function(){return S})),M.d(u,"updateSettings",(function(){return I})),M.d(u,"updateIsSavingSettings",(function(){return T})),M.d(u,"saveSettings",(function(){return w}));var r={};M.r(r),M.d(r,"getSettings",(function(){return p}));var i={};M.r(i),M.d(i,"getPaymentGateway",(function(){return et})),M.d(i,"isSavingPaymentGateway",(function(){return Mt})),M.d(i,"getPaymentGatewaySavingError",(function(){return nt}));var o={};M.r(o),M.d(o,"updatePaymentGatewayValues",(function(){return rt})),M.d(o,"updatePaymentGateway",(function(){return it})),M.d(o,"updateIsSavingPaymentGateway",(function(){return ot})),M.d(o,"savePaymentGateway",(function(){return ct}));var c={};M.r(c),M.d(c,"getPaymentGateway",(function(){return jt}));var a=M(4),j=M(3),L=M(16);const s={isSaving:!1,savingError:null,data:{}};const N={},y=t=>t&&t.settings||N,g=t=>y(t).data||N,l=t=>y(t).isSaving||!1,D=t=>y(t).savingError;var A=M(2);function S(t){return{type:"SET_SETTINGS_VALUES",payload:t}}function I(t){return{type:"SET_SETTINGS",data:t}}function T(t,e){return{type:"SET_IS_SAVING_SETTINGS",isSaving:t,error:e}}function*w(){let t=null;try{const e=Object(j.select)(a.b).getSettings();yield T(!0,null),yield Object(L.apiFetch)({path:a.a+"/settings",method:"post",data:e}),yield Object(j.dispatch)(a.b).invalidateResolutionForStoreSelector("getAccountData"),yield Object(j.dispatch)("core/notices").createSuccessNotice(Object(A.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(e){t=e,yield Object(j.dispatch)("core/notices").createErrorNotice(Object(A.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield T(!1,t)}return null===t}function*p(){const t=a.a+"/settings";try{const e=yield Object(L.apiFetch)({path:t});yield I(e)}catch(t){yield Object(j.dispatch)("core/notices").createErrorNotice(Object(A.__)("Error retrieving settings.","woocommerce-gateway-stripe"))}}var z=M(1);const d=[],x=(t,e=!1)=>()=>Object(j.useSelect)(M=>{const{getSettings:n}=M(a.b);return n()[t]||e},[t,e]),E=(t,e=!1)=>()=>{const{updateSettingsValues:M}=Object(j.useDispatch)(a.b);return[x(t,e)(),Object(z.useCallback)(e=>M({[t]:e}),[M])]},f=()=>{const{saveSettings:t}=Object(j.useDispatch)(a.b);return{settings:Object(j.useSelect)(t=>{const{getSettings:e}=t(a.b);return e()},[]),isLoading:Object(j.useSelect)(t=>{const{hasFinishedResolution:e,isResolving:M}=t(a.b);return M("getSettings")||!e("getSettings")},[]),isSaving:Object(j.useSelect)(t=>{const{isSavingSettings:e}=t(a.b);return e()},[]),saveSettings:t}},m=E("enabled_payment_method_ids",d),O=E("is_payment_request_enabled"),C=E("payment_request_button_size",""),b=E("payment_request_button_type",""),h=E("payment_request_button_theme",""),Y=E("payment_request_button_locations",d),v=E("is_stripe_enabled"),k=E("title",""),U=E("title_upe",""),Q=E("description",""),_=E("is_test_mode_enabled"),G=E("is_saved_cards_enabled"),P=E("is_manual_capture_enabled"),Z=E("is_separate_card_form_enabled"),R=E("statement_descriptor",""),W=E("is_short_statement_descriptor_enabled"),B=E("short_statement_descriptor",""),V=E("is_debug_log_enabled"),F=E("is_upe_enabled"),J=x("available_payment_method_ids",d),H=()=>Object(j.useSelect)(t=>{const{getSavingError:e}=t(a.b);return e()},[]);var X=M(23),$=M(28);const q={isSaving:!1,savingError:null,data:{}};const K={},tt=t=>t&&t.paymentGateway||K,et=t=>tt(t).data||K,Mt=t=>tt(t).isSaving||!1,nt=t=>tt(t).savingError;var ut=M(27);function rt(t){return{type:"SET_PAYMENT_GATEWAY_VALUES",payload:t}}function it(t){return{type:"SET_PAYMENT_GATEWAY",data:t}}function ot(t,e){return{type:"SET_IS_SAVING_PAYMENT_GATEWAY",isSaving:t,error:e}}function*ct(){let t=null;const{section:e}=Object(ut.getQuery)();try{const M=Object(j.select)(a.b).getPaymentGateway();yield ot(!0,null),yield Object(L.apiFetch)({path:`${a.a}/payment-gateway/${e}`,method:"post",data:M}),yield Object(j.dispatch)("core/notices").createSuccessNotice(Object(A.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(e){t=e,yield Object(j.dispatch)("core/notices").createErrorNotice(Object(A.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield ot(!1,t)}return null===t}const{section:at}=Object(ut.getQuery)();function*jt(){const t=`${a.a}/payment-gateway/${at}`;try{const e=yield Object(L.apiFetch)({path:t});yield it(e)}catch(t){yield Object(j.dispatch)("core/notices").createErrorNotice(Object(A.__)("Error retrieving payment gateway settings.","woocommerce-gateway-stripe"))}}var Lt=M(62);Object(j.registerStore)(a.b,{reducer:Object(j.combineReducers)({settings:(t=s,{type:e,...M})=>{switch(e){case"SET_SETTINGS":return{...t,data:M.data};case"SET_SETTINGS_VALUES":return{...t,savingError:null,data:{...t.data,...M.payload}};case"SET_IS_SAVING_SETTINGS":return{...t,isSaving:M.isSaving,savingError:M.error}}return t},account:X.b,accountKeys:$.b,paymentGateway:(t=q,{type:e,...M})=>{switch(e){case"SET_PAYMENT_GATEWAY":return{...t,data:M.data};case"SET_PAYMENT_GATEWAY_VALUES":return{...t,savingError:null,data:{...t.data,...M.payload}};case"SET_IS_SAVING_PAYMENT_GATEWAY":return{...t,isSaving:M.isSaving,savingError:M.error}}return t}}),actions:{...u,...X.a,...$.a,...o},controls:L.controls,selectors:{...n,...X.d,...$.d,...i},resolvers:{...r,...X.c,...$.c,...c}}),a.b},function(t,e,M){"use strict";var n=M(7),u=M.n(n),r=M(5),i=M(0),o=(M(1),M(89));const c={small:{name:"1r962iv",styles:"padding:4px"},medium:{name:"14si2be",styles:"padding:7px"}},a=Object(r.a)(o.a,{target:"erwkboy0"})("background:white;border-color:#ddd;border-radius:5px;overflow:hidden;",({size:t})=>c[t]||"",";");e.a=({size:t="small",...e})=>Object(i.createElement)(a,u()({},e,{size:t}))},function(t,e,M){t.exports=M(106)},function(t,e){t.exports=window.wp.dataControls},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},,function(t,e){var M={}.hasOwnProperty;t.exports=function(t,e){return M.call(t,e)}},function(t,e,M){var n=M(21),u=M(38),r=M(34);t.exports=n?function(t,e,M){return u.f(t,e,r(1,M))}:function(t,e,M){return t[e]=M,t}},function(t,e,M){var n=M(12);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,M){var n=M(17);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,M){"use strict";M.d(e,"b",(function(){return o})),M.d(e,"d",(function(){return n})),M.d(e,"a",(function(){return A})),M.d(e,"c",(function(){return u})),M.d(e,"e",(function(){return z.a})),M.d(e,"f",(function(){return z.b}));var n={};M.r(n),M.d(n,"getAccountData",(function(){return y})),M.d(n,"getAccountCapabilities",(function(){return g})),M.d(n,"getAccountCapabilitiesByStatus",(function(){return l})),M.d(n,"isRefreshingAccount",(function(){return D}));var u={};M.r(u),M.d(u,"getAccountData",(function(){return p}));var r=M(54);const i={isRefreshing:!1,data:{}};var o=(t=i,{type:e,...M})=>{switch(e){case r.a.SET_ACCOUNT:return{...t,data:M.payload};case r.a.SET_IS_REFRESHING:return{...t,isRefreshing:M.isRefreshing}}return t},c=M(63),a=M.n(c),j=M(113),L=M.n(j);const s={},N=t=>t&&t.account||s,y=t=>N(t).data||s,g=t=>{var e,M;return null!==(e=null===(M=y(t).account)||void 0===M?void 0:M.capabilities)&&void 0!==e?e:s},l=(t,e)=>{var M;const n=g(t);return a()(M=L()(n)).call(M,(t,[M,n])=>(n===e&&t.push(M),t),[])},D=t=>N(t).isRefreshing||!1;var A=M(52),S=M(3),I=M(2),T=M(16),w=M(4);function*p(){const t=w.a+"/account";try{const e=yield Object(T.apiFetch)({path:t});yield Object(A.updateAccount)(e)}catch(t){yield Object(S.dispatch)("core/notices").createErrorNotice(Object(I.__)("Error retrieving account data.","woocommerce-gateway-stripe"))}}var z=M(88)},function(t,e){t.exports={}},function(t,e,M){var n=M(24);t.exports=function(t){return n[t+"Prototype"]}},function(t,e,M){!function(t,e){"use strict";function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var M=0,n=new Array(e);M<e;M++)n[M]=t[M];return n}function u(){}function r(){}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,r.resetWarningCache=u;var i=function(t,e){return function(t){t.exports=function(){function t(t,e,M,n,u,r){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function e(){return t}t.isRequired=t;var M={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:r,resetWarningCache:u};return M.PropTypes=M,M}()}(e={exports:{}}),e.exports}(),o=function(t){return null!==t&&"object"===M(t)},c=function t(e,M){if(!o(e)||!o(M))return e===M;var n=Array.isArray(e);if(n!==Array.isArray(M))return!1;var u="[object Object]"===Object.prototype.toString.call(e);if(u!==("[object Object]"===Object.prototype.toString.call(M)))return!1;if(!u&&!n)return!1;var r=Object.keys(e),i=Object.keys(M);if(r.length!==i.length)return!1;for(var c={},a=0;a<r.length;a+=1)c[r[a]]=!0;for(var j=0;j<i.length;j+=1)c[i[j]]=!0;var L=Object.keys(c);if(L.length!==r.length)return!1;var s=e,N=M;return L.every((function(e){return t(s[e],N[e])}))},a=function(t){var M=e.useRef(t);return e.useEffect((function(){M.current=t}),[t]),M.current},j=function(t){if(null===t||o(e=t)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return t;var e;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},L=e.createContext(null);L.displayName="ElementsContext";var s=function(t){var M,u,r=t.stripe,i=t.options,s=t.children,N=e.useRef(!1),y=e.useRef(!0),g=e.useMemo((function(){return function(t){if(function(t){return o(t)&&"function"==typeof t.then}(t))return{tag:"async",stripePromise:Promise.resolve(t).then(j)};var e=j(t);return null===e?{tag:"empty"}:{tag:"sync",stripe:e}}(r)}),[r]),l=(M=e.useState((function(){return{stripe:null,elements:null}})),u=2,function(t){if(Array.isArray(t))return t}(M)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var M=[],_n=!0,n=!1,u=void 0;try{for(var r,i=t[Symbol.iterator]();!(_n=(r=i.next()).done)&&(M.push(r.value),!e||M.length!==e);_n=!0);}catch(t){n=!0,u=t}finally{try{_n||null==i.return||i.return()}finally{if(n)throw u}}return M}}(M,u)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var M=Object.prototype.toString.call(t).slice(8,-1);return"Object"===M&&t.constructor&&(M=t.constructor.name),"Map"===M||"Set"===M?Array.from(t):"Arguments"===M||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M)?n(t,e):void 0}}(M,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=l[0],A=l[1],S=a(r),I=a(i);return null!==S&&(S!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),c(i,I)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),N.current||("sync"===g.tag&&(N.current=!0,A({stripe:g.stripe,elements:g.stripe.elements(i)})),"async"===g.tag&&(N.current=!0,g.stripePromise.then((function(t){t&&y.current&&A({stripe:t,elements:t.elements(i)})})))),e.useEffect((function(){return function(){y.current=!1}}),[]),e.useEffect((function(){var t=D.stripe;t&&t._registerWrapper&&t.registerAppInfo&&(t._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),t.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[D.stripe]),e.createElement(L.Provider,{value:D},s)};s.propTypes={stripe:i.any,options:i.object};var N=function(t){return function(t,e){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(e," in an <Elements> provider."));return t}(e.useContext(L),t)},y=function(t){return(0,t.children)(N("mounts <ElementsConsumer>"))};y.propTypes={children:i.func.isRequired};var g=function(t){var M=e.useRef(t);return e.useEffect((function(){M.current=t}),[t]),function(){M.current&&M.current.apply(M,arguments)}},l=function(t){return o(t)?(t.paymentRequest,function(t,e){if(null==t)return{};var M,n,u=function(t,e){if(null==t)return{};var M,n,u={},r=Object.keys(t);for(n=0;n<r.length;n++)M=r[n],e.indexOf(M)>=0||(u[M]=t[M]);return u}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(n=0;n<r.length;n++)M=r[n],e.indexOf(M)>=0||Object.prototype.propertyIsEnumerable.call(t,M)&&(u[M]=t[M])}return u}(t,["paymentRequest"])):{}},D=function(){},A=function(t,M){var n,u="".concat((n=t).charAt(0).toUpperCase()+n.slice(1),"Element"),r=M?function(t){N("mounts <".concat(u,">"));var M=t.id,n=t.className;return e.createElement("div",{id:M,className:n})}:function(M){var n=M.id,r=M.className,i=M.options,o=void 0===i?{}:i,a=M.onBlur,j=void 0===a?D:a,L=M.onFocus,s=void 0===L?D:L,y=M.onReady,A=void 0===y?D:y,S=M.onChange,I=void 0===S?D:S,T=M.onEscape,w=void 0===T?D:T,p=M.onClick,z=void 0===p?D:p,d=N("mounts <".concat(u,">")).elements,x=e.useRef(null),E=e.useRef(null),f=g(A),m=g(j),O=g(s),C=g(z),b=g(I),h=g(w);e.useLayoutEffect((function(){if(null==x.current&&d&&null!=E.current){var e=d.create(t,o);x.current=e,e.mount(E.current),e.on("ready",(function(){return f(e)})),e.on("change",b),e.on("blur",m),e.on("focus",O),e.on("escape",h),e.on("click",C)}}));var Y=e.useRef(o);return e.useEffect((function(){Y.current&&Y.current.paymentRequest!==o.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var t=l(o);0===Object.keys(t).length||c(t,l(Y.current))||x.current&&(x.current.update(t),Y.current=o)}),[o]),e.useLayoutEffect((function(){return function(){x.current&&x.current.destroy()}}),[]),e.createElement("div",{id:n,className:r,ref:E})};return r.propTypes={id:i.string,className:i.string,onChange:i.func,onBlur:i.func,onFocus:i.func,onReady:i.func,onClick:i.func,options:i.object},r.displayName=u,r.__elementType=t,r},S="undefined"==typeof window,I=A("auBankAccount",S),T=A("card",S),w=A("cardNumber",S),p=A("cardExpiry",S),z=A("cardCvc",S),d=A("fpxBank",S),x=A("iban",S),E=A("idealBank",S),f=A("p24Bank",S),m=A("epsBank",S),O=A("payment",S),C=A("paymentRequestButton",S),b=A("afterpayClearpayMessage",S);t.AfterpayClearpayMessageElement=b,t.AuBankAccountElement=I,t.CardCvcElement=z,t.CardElement=T,t.CardExpiryElement=p,t.CardNumberElement=w,t.Elements=s,t.ElementsConsumer=y,t.EpsBankElement=m,t.FpxBankElement=d,t.IbanElement=x,t.IdealBankElement=E,t.P24BankElement=f,t.PaymentElement=O,t.PaymentRequestButtonElement=C,t.useElements=function(){return N("calls useElements()").elements},t.useStripe=function(){return N("calls useStripe()").stripe},Object.defineProperty(t,"__esModule",{value:!0})}(e,M(1))},function(t,e){t.exports=window.wc.navigation},function(t,e,M){"use strict";M.d(e,"b",(function(){return o})),M.d(e,"d",(function(){return n})),M.d(e,"a",(function(){return u})),M.d(e,"c",(function(){return r})),M.d(e,"e",(function(){return p.a})),M.d(e,"f",(function(){return p.b})),M.d(e,"g",(function(){return p.c})),M.d(e,"k",(function(){return p.g})),M.d(e,"h",(function(){return p.d})),M.d(e,"i",(function(){return p.e})),M.d(e,"j",(function(){return p.f}));var n={};M.r(n),M.d(n,"getAccountKeys",(function(){return j})),M.d(n,"isSavingAccountKeys",(function(){return L})),M.d(n,"getAccountKeysSavingError",(function(){return s}));var u={};M.r(u),M.d(u,"updateAccountKeysValues",(function(){return A})),M.d(u,"updateAccountKeys",(function(){return S})),M.d(u,"updateIsSavingAccountKeys",(function(){return I})),M.d(u,"saveAccountKeys",(function(){return T}));var r={};M.r(r),M.d(r,"getAccountKeys",(function(){return w}));const i={isSaving:!1,savingError:null,data:{}};var o=(t=i,{type:e,...M})=>{switch(e){case"SET_ACCOUNT_KEYS":return{...t,data:M.payload};case"SET_ACCOUNT_KEYS_VALUES":return{...t,savingError:null,data:{...t.data,...M.payload}};case"SET_IS_SAVING_ACCOUNT_KEYS":return{...t,isSaving:M.isSaving,savingError:M.error}}return t};const c={},a=t=>t&&t.accountKeys||c,j=t=>a(t).data||c,L=t=>a(t).isSaving||!1,s=t=>a(t).savingError;var N=M(3),y=M(2),g=M(16),l=M(4),D=M(52);function A(t){return{type:"SET_ACCOUNT_KEYS_VALUES",payload:t}}function S(t){return{type:"SET_ACCOUNT_KEYS",payload:t}}function I(t,e){return{type:"SET_IS_SAVING_ACCOUNT_KEYS",isSaving:t,error:e}}function*T(t){const e=!t.publishable_key&&!t.test_publishable_key;let M=null;try{yield I(!0,null);const n=yield Object(g.apiFetch)({path:l.a+"/account_keys",method:"post",data:t});if(null==n||!n.id)throw"Account not Found";yield Object(D.refreshAccount)(),yield A(t),yield Object(N.dispatch)("core/notices").createSuccessNotice(e?Object(y.__)("Account disconnected.","woocommerce-gateway-stripe"):Object(y.__)("Account keys saved.","woocommerce-gateway-stripe"))}catch(t){M=t,yield Object(N.dispatch)("core/notices").createErrorNotice(e?Object(y.__)("Error disconnecting account.","woocommerce-gateway-stripe"):Object(y.__)("Error saving account keys.","woocommerce-gateway-stripe"))}finally{yield I(!1,M)}return null===M}function*w(){const t=l.a+"/account_keys";try{const e=yield Object(g.apiFetch)({path:t});yield S(e)}catch(t){yield Object(N.dispatch)("core/notices").createErrorNotice(Object(y.__)("Error retrieving account keys.","woocommerce-gateway-stripe"))}}var p=M(68)},function(t,e){var M={}.toString;t.exports=function(t){return M.call(t).slice(8,-1)}},function(t,e,M){var n=M(48),u=M(31);t.exports=function(t){return n(u(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},,function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,M){var n=M(50),u=Math.min;t.exports=function(t){return t>0?u(n(t),9007199254740991):0}},function(t,e,M){var n=M(24),u=M(9),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(n[t])||r(u[t]):n[t]&&n[t][e]||u[t]&&u[t][e]}},function(t,e){t.exports=!0},function(t,e,M){var n=M(21),u=M(65),r=M(22),i=M(49),o=Object.defineProperty;e.f=n?o:function(t,e,M){if(r(t),e=i(e,!0),r(M),u)try{return o(t,e,M)}catch(t){}if("get"in M||"set"in M)throw TypeError("Accessors not supported");return"value"in M&&(t[e]=M.value),t}},function(t,e,M){var n=M(32);t.exports=function(t,e,M){if(n(t),void 0===e)return t;switch(M){case 0:return function(){return t.call(e)};case 1:return function(M){return t.call(e,M)};case 2:return function(M,n){return t.call(e,M,n)};case 3:return function(M,n,u){return t.call(e,M,n,u)}}return function(){return t.apply(e,arguments)}}},function(t,e,M){var n=M(31);t.exports=function(t){return Object(n(t))}},function(t,e,M){var n=M(29),u=M(9);t.exports="process"==n(u.process)},function(t,e,M){var n,u,r=M(9),i=M(60),o=r.process,c=o&&o.versions,a=c&&c.v8;a?u=(n=a.split("."))[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(u=n[1]),t.exports=u&&+u},,function(t,e,M){t.exports=M(123)},,function(t,e,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=o(M(1)),r=o(M(212)),i=o(M(215));function o(t){return t&&t.__esModule?t:{default:t}}var c=void 0;e.default=function(t){var e=t.mixedString,M=t.components,o=t.throwErrors;if(c=e,!M)return e;if("object"!==(void 0===M?"undefined":n(M))){if(o)throw new Error("Interpolation Error: unable to process `"+e+"` because components is not an object");return e}var a=(0,i.default)(e);try{return function t(e,M){var i,o,a,j,L,s,N,y,g=[],l={};for(s=0;s<e.length;s++)if("string"!==(L=e[s]).type){if(!M.hasOwnProperty(L.value)||void 0===M[L.value])throw new Error("Invalid interpolation, missing component node: `"+L.value+"`");if("object"!==n(M[L.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+L.value+"`","\n> "+c);if("componentClose"===L.type)throw new Error("Missing opening component token: `"+L.value+"`");if("componentOpen"===L.type){i=M[L.value],a=s;break}g.push(M[L.value])}else g.push(L.value);return i&&(j=function(t,e){var M,n,u=e[t],r=0;for(n=t+1;n<e.length;n++)if((M=e[n]).value===u.value){if("componentOpen"===M.type){r++;continue}if("componentClose"===M.type){if(0===r)return n;r--}}throw new Error("Missing closing component token `"+u.value+"`")}(a,e),N=t(e.slice(a+1,j),M),o=u.default.cloneElement(i,{},N),g.push(o),j<e.length-1&&(y=t(e.slice(j+1),M),g=g.concat(y))),1===g.length?g[0]:(g.forEach((function(t,e){t&&(l["interpolation-child-"+e]=t)})),(0,r.default)(l))}(a,M)}catch(t){if(o)throw new Error("Interpolation Error: unable to process `"+e+"` because of error `"+t.message+"`");return e}}},function(t,e,M){"use strict";var n=M(2),u=M(7),r=M.n(u),i=M(0),o=(M(1),M(89)),c=M(14),a=M(5);const j=Object(a.a)(c.a,{target:"eiah4a80"})({name:"46wb8n",styles:"background:#ef809f"});const L=Object(a.a)(c.a,{target:"eh46vsm0"})({name:"1f1f6j2",styles:"background:#10298e"});const s=Object(a.a)(c.a,{target:"e5z54380"})({name:"1fde9eo",styles:"padding-top:0;padding-bottom:0"});const N=Object(a.a)(c.a,{target:"es0e2230"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});const y=Object(a.a)(c.a,{target:"eu8ju410"})({name:"1kr8da6",styles:"padding-top:4px;padding-bottom:4px"});e.a={card:{id:"card",label:Object(n.__)("Credit card / debit card","woocommerce-gateway-stripe"),description:Object(n.__)("Let your customers pay with major credit and debit cards without leaving your store.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(o.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjYgNDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM2IDNhMiAyIDAgMCAxIDItMmgyNC42NmEyIDIgMCAwIDEgMiAydjE0YTIgMiAwIDAgMS0yIDJIMzhhMiAyIDAgMCAxLTItMlYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMzggMGgyNC42NmEzIDMgMCAwIDEgMyAzdjE0YTMgMyAwIDAgMS0zIDNIMzhhMyAzIDAgMCAxLTMtM1YzYTMgMyAwIDAgMSAzLTN6bTAgMWEyIDIgMCAwIDAtMiAydjE0YTIgMiAwIDAgMCAyIDJoMjQuNjZhMiAyIDAgMCAwIDItMlYzYTIgMiAwIDAgMC0yLTJIMzh6IiBmaWxsPSIjREREIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02MC4wNTUgMTMuMDQ4di0uMjExaC0uMDU0bC0uMDY0LjE0NS0uMDYzLS4xNDVoLS4wNTV2LjIxaC4wMzl2LS4xNTh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zMjMuMDYtLjA4OC4wNTUtLjEyLjEzNi0uMTIuMjQyYS4yNTcuMjU3IDAgMCAwIC4xNzUuMjUuOTMuOTMgMCAwIDAgLjMxNC4wMzlsLjQzNC4wMTFjLjQzNy4wMS43MzguMDg2LjkyLjI3em0zLjE5Ny0uODk5aC0xLjQ2OGMtLjE0NyAwLS4yNDQuMDA2LS4zMjYuMDYtLjA4NS4wNTUtLjExOC4xMzYtLjExOC4yNDNhLjI1My4yNTMgMCAwIDAgLjE3Ni4yNS45MzEuOTMxIDAgMCAwIC4zMS4wMzhsLjQzNy4wMTFjLjQ0MS4wMTEuNzM1LjA4Ny45MTUuMjcuMDMyLjAyNi4wNTIuMDU1LjA3NC4wODR2LS45NTZ6IiBmaWxsPSIjZmZmIi8+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4MT0iNDIuMjA3IiB5MT0iMTguNjA1IiB4Mj0iMzYuMDYzIiB5Mj0iMzkuNDE4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzIyMkU3MiIvPjxzdG9wIG9mZnNldD0iLjU5MiIgc3RvcC1jb2xvcj0iIzQwQ0JGRiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNDQjc5MiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPgo="})),currencies:[],capability:"card_payments",allows_manual_capture:!0},giropay:{id:"giropay",label:Object(n.__)("giropay","woocommerce-gateway-stripe"),description:Object(n.__)("Expand your business with giropay — Germany’s second most popular payment system.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS45NjUgMi42YTIuNCAyLjQgMCAwMTIu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LS45NzguNjI1LTEuNzA2IDEuNTYyLTEuNzA2Ljk5MiAwIDEuNTQ2Ljc1MiAxLjU0NiAxLjYxOHoiIGZpbGw9IiNGRkZGRkUiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTExLjU0NSAzLjY5M0g5LjIzMnYxLjE4aC0uMDI4YTIuOTYgMi45NiAwIDAwLTIuNTExLTEuMzNjLTIuMjk4IDAtMy4zMzQgMS40NTUtMy4zMzQgMy40IDAgMS45MzIgMS4yNjMgMy4yODYgMy4yOTIgMy4yODYgMS4wMjEgMCAxLjg3Mi0uMzUgMi40ODItMS4xMTdoLjAyOHYuMzUyYzAgMS4yOC0uNzk0IDEuODk0LTIuMjcgMS44OTQtMS4wNjMgMC0xLjcxNi0uMi0yLjQ5Ni0uNTM5TDQuMjY3IDEyLjZhOS42NSA5LjY1IDAgMDAyLjgyMy40MTRjMi45OCAwIDQuNDU1LS44NjYgNC40NTUtMy41NXYtNS43N3pNNS45OTYgNi45MDRjMC0uODkuNDk3LTEuNjMgMS40NDctMS42MyAxLjE0OSAwIDEuNjMxLjgxNSAxLjYzMSAxLjU0MyAwIDEuMDA0LS43MjMgMS42OC0xLjYzIDEuNjgtLjc2NyAwLTEuNDQ4LS41NzctMS40NDgtMS41OTN6IiBmaWxsPSIjRDgyMzJBIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"giropay_payments"},sepa_debit:{id:"sepa_debit",label:Object(n.__)("Direct debit payment","woocommerce-gateway-stripe"),description:Object(n.__)("Reach 500 million customers and over 20 million businesses across the European Union.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(L,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMuMjk1IDIuMzk3di0uMDE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Ljk5Mi42MjIgMWMtLjU4OS42NTMtLjQ4IDEuOTIxLS4yNiAyLjY4LjE3My42MDUuODguODEzIDEuMjE1Ljg3OWwuMDAyLjAwMS4wMDIuMDAyLjEwNS4wMTUuMDE4LjAwMy4wMTQuMDAyLjAxNC4wMDIuMDEzLjAwMi4wMTEuMDAxYy40NTUuMDU1IDEuNTEyLjEzIDEuOTguMTZ2LjAwNWwuMDI2LS4wMDIuMTg3LjAxMi4wMTQuMDAxYy4xNzcuMDMzLjM5Ni4xMzYuMzk3LjQ2NHYuMDM3Yy4wMDIuMzc2LjAwMy40NzMtLjA0LjUzNWEuMTguMTggMCAwMC0uMDY4LjA2NWMtLjA4NC4xNDItLjM4OS4xOC0uNjEuMTloLTEuMThjLS41MDEtLjA2OC0uNDg4LS42MS0uNDg4LS42MXYtLjIxN0guMTg1di4yN1MuMTMgNi42NS43IDcuMDdjLjQ5Mi4zNjMgMS4wMTkuNDU4IDEuNzYyLjQ3OHYuMDFoLjhzLjcuMDMxIDEuMjcyLS4wMzh2LjAwMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4K"})),currencies:["EUR"],capability:"sepa_debit_payments"},sofort:{id:"sofort",label:Object(n.__)("Sofort","woocommerce-gateway-stripe"),description:Object(n.__)("Accept secure bank transfers from Austria, Belgium, Germany, Italy, Netherlands, and Spain.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(j,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuOTk5IDExLjA1NWEuNzUuNzUgMCAwMS4wMTEgMS4wNjJsLS4wNTYuMDYxYS43NS43NSAwIDAxLTEuMDYyLjAxMmwtMS42NzYtMS42NkMuNzUyIDEwLjA2Ni42OSA5LjQ5Ni45OCA5LjE5NGwuMDU2LS4wNjFhLjY4NS42ODUgMCAw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uMjUyLS42OTktMS4wNS0xLjM3LjA4OS0uMjkuMjYyLS40NDEuNTM2LS41MDIuMTc5LS4wNC4zNzQtLjAzNC41NjQgMCAuMDU2LjAxLjA5NS4wMTYuMTEyLjAyMkw5LjggOS4xMmwuMDY3LjAyM2EuNTY4LjU2OCAwIDAxLjE3OS4xMjhjLjIzNS4yNTIuMzY5LjcyNy4zMDIgMS41MS0uMjMgMi43MzgtMS41MDQgNC40MzctNC41MzMgNC40MDlhLjMuMyAwIDAwLS4wMDUuNTk4YzMuMzk4LjAyOCA0Ljg4NC0xLjk0NSA1LjEzNi00Ljk2My4wNzgtLjkzOS0uMDk1LTEuNTgyLS40NTktMS45NjctLjItLjIxMy0uNDEzLS4zMTMtLjU3NS0uMzM2bC0zLjQ4Mi0uODFjLS4wMjItLjAwNi0uMDc4LS4wMjItLjE1Ny0uMDMzYTIuMTY2IDIuMTY2IDAgMDAtLjgwNC4wMDVjLS40Ny4xMDYtLjgyNy40MDMtLjk3OC45MTctLjI5MS45NjcuMDE2IDEuNzI3IDEuNDggMi4xMjNsLjg0NS4xOTZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"sofort_payments"},eps:{id:"eps",label:Object(n.__)("EPS","woocommerce-gateway-stripe"),description:Object(n.__)("EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE5Ljc3IDcuNzU0aC0yLjAwOGEuNDAyLjQwMiAwIDAgMS0uNDA1LS40YzAtLjIyMy4xODItLjQyLjQwNS0uNDJoMy4wNThWNS40MjZoLTMuMDU4Yy0xLjA2NyAwLTEuOTM1Ljg3LTEuOTM1IDEuOTM1IDAgM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IvPjxwYXRoIGQ9Ik00LjA5OCA2Ljg4Yy0uNjIzIDAtMS4xNjYuMzgyLTEuNDM1Ljg3NGgyLjg3Yy0uMjY5LS40OTItLjgxMS0uODc0LTEuNDM1LS44NzRaTTYuNzIxIDIuNTZDNi43MjEgMS4xNDUgNS41NDcgMCA0LjA5OCAwIDIuNjczIDAgMS41MTQgMS4xMDggMS40NzYgMi40OXYuNzg3YzAgLjA5MS4wNzQuMTgyLjE2OS4xODJoLjk2NWMuMDk0IDAgLjE3Ny0uMDkuMTc3LS4xODNWMi41NmMwLS43MDYuNTg4LTEuMjggMS4zMTEtMS4yOC43MjQgMCAxLjMxMi41NzQgMS4zMTIgMS4yOHYuNzE3YzAgLjA5Mi4wNzYuMTgzLjE3LjE4M2guOTY2Yy4wOTQgMCAuMTc1LS4wOS4xNzUtLjE4M1YyLjU2WiIgZmlsbD0iI0M4MDM2RiIvPjwvc3ZnPgo="})),currencies:["EUR"],capability:"eps_payments"},bancontact:{id:"bancontact",label:Object(n.__)("Bancontact","woocommerce-gateway-stripe"),description:Object(n.__)("Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDIgMjYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM3LjM2NyA0LjU0NkgyNC4zOUwyMy4wNjQgNi4wNGwtNC4yODEgNC44MjgtMS4zMjggMS40OTNINC42NDZsMS4yOTQtMS41MS42MTQtLjcxMyAxLjI5NC0xLjUxaC01Ljg5Qy44NzkgOC42MjggMCA5LjU0MSAwIDEwLjYzNnY0LjI0OGMwIDEuMTExLjg4IDIuMDA3IDEuOTU4IDIuMDA3SDI0LjU1N2MxLjA3OSAwIDIuNTU2LS42OCAzLjI2OS0xLjQ5M2wzLjQxOC0zLjg4M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0uNTE0Yy0uMjE2LS4xMzMtLjQ4Mi0uMjE2LS43OTctLjI4MmE2LjQ1NiA2LjQ1NiAwIDAgMC0xLjAyOS0uMDgzSDEuNDZjLS4xMzMgMC0uMjY1LjAxNy0uMzk4LjAxN3MtLjI0OS4wMTYtLjM2NS4wMzNjLS4xMTYuMDE3LS4yLjAxNy0uMjY2LjAzMy0uMTQ5LjAzMy0uMjY1LjA2Ni0uMzMxLjE1LS4wNjcuMDY2LS4xLjE5OC0uMS4zODF2NC44NDVjMCAuMTgzLjAzMy4yOTkuMS4zODIuMDY2LjA2Ni4xODIuMTE2LjMzMS4xNS4wODMuMDE2LjE4My4wMzIuMjgyLjAzMi4xMTcuMDE3LjIzMy4wMTcuMzY2LjAzNC4xMzIgMCAuMjY1LjAxNi4zOTguMDE2aC40MTVjLjM0OCAwIC42OC0uMDMzLjk3OS0uMDgzLjI5OC0uMDUuNTgtLjE1Ljc5Ni0uMjgyLjIzMi0uMTMzLjM5OC0uMzE1LjU0OC0uNTQ4LjEzMi0uMjMyLjE5OS0uNTMuMTk5LS44Nzl2LS4xMTZaIiBmaWxsPSIjMDA0RTkxIi8+PC9zdmc+Cg=="})),currencies:["EUR"],capability:"bancontact_payments"},ideal:{id:"ideal",label:Object(n.__)("iDEAL","woocommerce-gateway-stripe"),description:Object(n.__)("iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(c.a,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzQgMzAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMCAyLjE3NnYyNC45OThjMCAxLjE5Ny45OCAyLjE3NiAyLjE3NiAyLjE3NmgxNC45MzZjMTEuMjkyIDAgMTYuMTg3LTYuMzIgMTYuMTg3LTE0L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aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDMzLjI5OXYyOS4zNUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPgo="})),currencies:["EUR"],capability:"ideal_payments"},p24:{id:"p24",label:Object(n.__)("Przelewy24","woocommerce-gateway-stripe"),description:Object(n.__)("Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(s,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSI0MCI+PHBhdGggZD0ibTExLjMwNyAyMS4zNTggNC4zMTctLjAwNS0uMTU3Ljk4OS0zLjYxMSAzLjQ3IDMuMDMtLjAwNi0uMTc2IDEuMDY2LTQuNDYzLjAwMy4xODctMS4xMDMgMy40NjItMy4zMzZoLTIuNzYzbC4xNzQtMS4wNzhNNi41ODQgMTkuNjY3YTEuMDggMS4wOCAwIDAgMC0uMzc5LS4yNCAyLjczNCAyLjczNCAwIDAgMC0uNTAyLS4xMzUgNC4yMjMgNC4yMjMgMCAwIDAtLjU3NC0uMDYxYy0uMTM4LS4wMDYtLjIyNi0uMDA2LS4yMjYtLjAwNkgxLjYwOWwtMS4yNTggNy42NWgxLjE3NmwuNDYzLTIuODMzIDIuMjguMDFzLjg5LjAzNyAxLjUxOS0uM2MuNjI5LS4zMzUuNzk3LTEuMS43OTctMS4xcy4wNy0uMjgzLjEyNy0uNjI3YTQwLjcxOCA0MC43MTggMCAwIDAgLjE4My0xLjI1cy4wMTYtLjA3OC4wMTYtLjJhMS4zNzQgMS4zNzQgMCAwIDAtLjE1NC0uNjcgMS4wOTggMS4wOTggMCAwIDAtLjE3NC0uMjM4em0tLjkwNiAxLjM1YzAgLjAxNC0uMTA1LjYyNy0uMjQzIDEuMzU1LS4wNTIuMjc4LS4yNjUuNDI4LS41MDguNDgtLjQwM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LjY1M3MyLjA3Ni0uNTU1IDMuOTc1LS45MWMxLjkwMi0uMzU2IDQuNDIyLS41MjYgNC40MjItLjUyNmwtLjgzMyAyLjU1M3MtMi4yMTctLjMwNi00LjI5OC0uMDJjLTEuNjIuMTk1LTIuOTczLjU1Ni0yLjk3My41NTZ6TTMyLjAwNyAxMy45NjdsMS40MDItMi44MzZzMy4wNzMtLjA2MiA1LjcyMy4zNTJjMi42NS40MTEgNS4wNzMgMS4wNDUgNS4wMiAxLjA3M2wtNi43MTggMy41MzZzLTEuNTctMS0zLjUyLTEuNjE0Yy0xLjEwNC0uMzI4LTEuOTA3LS41MTEtMS45MDctLjUxMXpNMzguNjM4IDE2Ljg2MWwxLjQ3NiAxLjEyOGgxMi4xMzhzLS4wMjUtLjM5NS0uMzQ4LS45NTZjLS4yMDEtLjM1LS41NjktLjcyMi0uOTUyLTEuMTA4LS4xNDEtLjEzOS0uNjk5LS41NzgtMS4xMTgtLjg1My0xLjA3MS0uNy0xLjY3LS45Ny0yLjc4My0xLjQ3OGwtOC40MTMgMy4yNjd6IiBmaWxsPSIjQjNCMkIxIi8+PHBhdGggZD0iTTkuODY2IDIxLjM1M2MtLjQ1NiAwLS44ODYuMTgtMS4yNTMuMzgzbC4wNjMtLjM4M0g3LjQ3bC0uOTY2IDUuNDkxaDEuMjA5bC41MzUtMy4wNDFjLjExLS42MTcuNTY5LTEuMzggMS40NjMtMS4zOGwuNjI0LS4wMDQuMTg4LTEuMDY2aC0uNjU3eiIgZmlsbD0iI0QxMzIzOSIvPjwvc3ZnPgo="})),currencies:["EUR","PLN"],capability:"p24_payments"},boleto:{id:"boleto",label:Object(n.__)("Boleto","woocommerce-gateway-stripe"),description:Object(n.__)("Boleto is an official payment method in Brazil. Customers receive a voucher that can be paid at authorized agencies or banks, ATMs, or online bank portals.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(N,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDBoMXYyMEgwVjBabTIgMGgzdjIwSDJWMFptNSAwSDZ2MjBoMVYwWm05IDBoMXYyMGgtMVYwWm00IDBoLTF2MjBoMVYwWk04IDBoMXYyMEg4VjBabTE5IDBoLTF2MjBoMVYwWm03IDBoLTF2MjBoMVYwWm0zIDBoMXYyMGgtMVYwWm0zIDBoLTF2MjBoMVYwWm0xIDBoM3YyMGgtM1YwWm02IDBoMXYyMGgtMVYwWm0tMSAwaC0xdjIwaDFWMFpNMjkgMGgzdjIwaC0zVjBabS01IDBoLTN2MjBoM1YwWk0xNCAwaDF2MjBoLTFWMFptLTEgMGgtM3YyMGgzVjBaIiBmaWxsPSIjMDAwIi8+PC9zdmc+"})),currencies:["BRL"],capability:"boleto_payments"},oxxo:{id:"oxxo",label:Object(n.__)("OXXO","woocommerce-gateway-stripe"),description:Object(n.__)("OXXO is a Mexican chain of convenience stores that allows customers to pay bills and online purchases in-store with cash.","woocommerce-gateway-stripe"),Icon:t=>Object(i.createElement)(y,r()({},t,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMi45MjZDMCAxLjM0MyAxLjI3MS4wNTkgMi44NC4wNTloNDEuNjczYzEuNTY4IDAgMi44NCAxLjI4NCAyLjg0IDIuODY3djE4LjEzM2MwIDEuNTgyLTEuMjcyIDIuODY1LTIuODQgMi44NjVIMi44NEMxLjI3MSAyMy45MjQgMCAyMi42NDEgMCAyMS4wNlYyLjkyNloiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNLjAzMyAyLjYzNkMuMDMzIDE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0xLjYxMyAyLjE2NiAxLjQxMSAxLjgxMi0zLjM4MSA0LjM1M2MtMS4wNzIgMS4zODEuOTggMy4wMDUgMi4wNTIgMS42MjNsMi45ODktMy44NDcgMy4wMzcgMy44OTljMS4wNzQgMS4zNzggMy4xMjMtLjI1IDIuMDQ4LTEuNjI4bC0zLjQzMi00LjQwMiAzLjcxNC00Ljc4YzEuMjEyLTEuNTYzIDIuNDIyLTMuMDA1IDQuNjQtMy4zMmg5Ljg2djE2LjA1MVptLTExLjkyLTguMDYzYzAtMi4yMDcgMS43NzMtMy45OTUgMy45NTktMy45OTVzMy45NTcgMS43ODggMy45NTcgMy45OTVjMCAyLjIwNi0xLjc3MSAzLjk5NC0zLjk1NyAzLjk5NHMtMy45NTgtMS43ODgtMy45NTgtMy45OTRabS0zMS41MiAwYzAtMi4yMDcgMS43NzEtMy45OTUgMy45NTctMy45OTUgMi4xODUgMCAzLjk1OCAxLjc4OCAzLjk1OCAzLjk5NSAwIDIuMjA2LTEuNzczIDMuOTk0LTMuOTU4IDMuOTk0LTIuMTg2IDAtMy45NTgtMS43ODgtMy45NTgtMy45OTRaIiBmaWxsPSIjRTcwMDIwIi8+PC9zdmc+"})),currencies:["MXN"],capability:"oxxo_payments"},alipay:{id:"alipay",label:Object(n.__)("Alipay","woocommerce-gateway-stripe"),description:Object(n.__)("Alipay is a popular wallet in China, operated by Ant Financial Services Group, a financial services provider affiliated with Alibaba.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["AUD","CAD","CNY","EUR","GBP","HKD","JPY","MYR","NZD","USD"],capability:void 0},multibanco:{id:"multibanco",label:Object(n.__)("Multibanco","woocommerce-gateway-stripe"),description:Object(n.__)("Multibanco is an interbank network that links the ATMs of all major banks in Portugal, allowing customers to pay through either their ATM or online banking environment.","woocommerce-gateway-stripe"),Icon:()=>null,currencies:["EUR"],capability:void 0}}},function(t,e,M){var n=M(12),u=M(29),r="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?r.call(t,""):Object(t)}:Object},function(t,e,M){var n=M(17);t.exports=function(t,e){if(!n(t))return t;var M,u;if(e&&"function"==typeof(M=t.toString)&&!n(u=M.call(t)))return u;if("function"==typeof(M=t.valueOf)&&!n(u=M.call(t)))return u;if(!e&&"function"==typeof(M=t.toString)&&!n(u=M.call(t)))return u;throw TypeError("Can't convert object to primitive value")}},function(t,e){var M=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:M)(t)}},function(t,e,M){"use strict";var n=M(5),u=M(0);M(1);const r=Object(n.a)("div",{target:"et1p4me2"})({name:"q70wzv",styles:"display:flex;flex-flow:column;margin-bottom:24px;&:last-child{margin-bottom:0;}@media ( min-width: 800px ){flex-flow:row;}"}),i=Object(n.a)("div",{target:"et1p4me1"})({name:"1p8kjge",styles:"flex:0 1 auto;margin-bottom:24px;@media ( min-width: 800px ){flex:0 0 25%;margin:0 32px 0 0;}h2{font-size:16px;line-height:24px;}p{font-size:13px;line-height:17.89px;margin:12px 0;}>:last-child{margin-bottom:0;}"}),o=Object(n.a)("div",{target:"et1p4me0"})({name:"mkkf9p",styles:"flex:1 1 auto"});e.a=({Description:t=(()=>null),children:e,...M})=>Object(u.createElement)(r,M,Object(u.createElement)(i,null,Object(u.createElement)(t,null)),Object(u.createElement)(o,null,e))},function(t,e,M){"use strict";M.r(e),M.d(e,"updateAccount",(function(){return g})),M.d(e,"updateIsRefreshingAccount",(function(){return l})),M.d(e,"refreshAccount",(function(){return D}));var n=M(44),u=M.n(n),r=M(15),i=M.n(r),o=M(53),c=M.n(o),a=M(3),j=M(2),L=M(16),s=M(4),N=M(47),y=M(54);function g(t){return{type:y.a.SET_ACCOUNT,payload:t}}function l(t){return{type:y.a.SET_IS_REFRESHING,isRefreshing:t}}function*D(){try{yield l(!0);const t=Object(a.select)(s.b).getAccountCapabilitiesByStatus("active"),e=yield Object(L.apiFetch)({method:"post",path:s.a+"/account/refresh"});yield g(e);const M=Object(a.select)(s.b).getAccountCapabilitiesByStatus("active"),n=u()(M).call(M,e=>!i()(t).call(t,e)&&void 0!==N.a[e.replace("_payments","")]);n.length&&(yield Object(a.dispatch)("core/notices").createSuccessNotice(Object(j.sprintf)(
2
+ /* translators: %s: one or more payment method names separated by commas (e.g.: giropay, EPS, Sofort, etc). */
3
+ Object(j.__)("You can now accept payments with %s.","woocommerce-gateway-stripe"),c()(n).call(n,t=>N.a[t.replace("_payments","")].label).join(", ")),{icon:"🚀"}))}catch(t){yield Object(a.dispatch)("core/notices").createErrorNotice(Object(j.__)("Error updating account data.","woocommerce-gateway-stripe"))}finally{yield l(!1)}}},function(t,e,M){t.exports=M(158)},function(t,e,M){"use strict";e.a={SET_ACCOUNT:"SET_ACCOUNT",SET_IS_REFRESHING:"SET_IS_REFRESHING"}},,function(t,e,M){var n=M(9),u=M(100),r=n["__core-js_shared__"]||u("__core-js_shared__",{});t.exports=r},function(t,e,M){var n=M(30),u=M(35),r=M(90),i=function(t){return function(e,M,i){var o,c=n(e),a=u(c.length),j=r(i,a);if(t&&M!=M){for(;a>j;)if((o=c[j++])!=o)return!0}else for(;a>j;j++)if((t||j in c)&&c[j]===M)return t||j||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},function(t,e){t.exports={}},function(t,e,M){var n=M(9),u=M(17),r=n.document,i=u(r)&&u(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,e,M){var n=M(36);t.exports=n("navigator","userAgent")||""},,function(t,e,M){"use strict";M.d(e,"b",(function(){return c})),M.d(e,"a",(function(){return j})),M.d(e,"d",(function(){return L})),M.d(e,"c",(function(){return s}));var n=M(3),u=M(1),r=M(27),i=M(4);const o=(t,e=!1)=>()=>{const{updatePaymentGatewayValues:M}=Object(n.useDispatch)(i.b);return[((t,e=!1)=>()=>Object(n.useSelect)(M=>{const{getPaymentGateway:n}=M(i.b);return n()[t]||e},[t,e]))(t,e)(),Object(u.useCallback)(e=>M({[t]:e}),[M])]},c=()=>{const{savePaymentGateway:t}=Object(n.useDispatch)(i.b);return{paymentGateway:Object(n.useSelect)(t=>{const{getPaymentGateway:e}=t(i.b);return e()},[]),isLoading:Object(n.useSelect)(t=>{const{hasFinishedResolution:e,isResolving:M}=t(i.b);return M("getPaymentGateway")||!e("getPaymentGateway")},[]),isSaving:Object(n.useSelect)(t=>{const{isSavingPaymentGateway:e}=t(i.b);return e()},[]),savePaymentGateway:t}},a=t=>t.replace("%s",()=>{const{section:t}=Object(r.getQuery)();return t}),j=o(a("is_%s_enabled")),L=o(a("%s_name"),""),s=o(a("%s_description"),"")},function(t,e,M){t.exports=M(127)},function(t,e,M){"use strict";var n=M(5),u=M(6);e.a=Object(n.a)(u.CardBody,{target:"eezfi080"})({name:"hqx46f",styles:"&.is-size-medium.is-size-medium{padding:24px;}h4{margin-top:0;margin-bottom:1em;}>*{margin-top:0;margin-bottom:1em;&:last-child{margin-bottom:0;>:last-child{margin-bottom:0;}}}input,select{margin:0;}ul>li:last-child{margin-bottom:0;.components-base-control__field{margin-bottom:0;}}.components-radio-control__option{margin-bottom:8px;}.components-base-control__help{margin-top:unset;}"})},function(t,e,M){var n=M(21),u=M(12),r=M(59);t.exports=!n&&!u((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},function(t,e,M){var n=M(102),u=M(78);t.exports=Object.keys||function(t){return n(t,u)}},function(t,e,M){var n=M(41),u=M(42),r=M(12);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!Symbol.sham&&(n?38===u:u>37&&u<41)}))},function(t,e,M){"use strict";M.d(e,"a",(function(){return i})),M.d(e,"b",(function(){return c})),M.d(e,"c",(function(){return a})),M.d(e,"g",(function(){return j})),M.d(e,"d",(function(){return L})),M.d(e,"e",(function(){return s})),M.d(e,"f",(function(){return N}));var n=M(3),u=M(1),r=M(4);const i=()=>{const{saveAccountKeys:t,updateAccountKeys:e}=Object(n.useDispatch)(r.b);return{accountKeys:Object(n.useSelect)(t=>{const{getAccountKeys:e}=t(r.b);return e()},[]),isLoading:Object(n.useSelect)(t=>{const{hasFinishedResolution:e,isResolving:M}=t(r.b);return M("getAccountKeys")||!e("getAccountKeys")},[]),isSaving:Object(n.useSelect)(t=>{const{isSavingAccountKeys:e}=t(r.b);return e()},[]),updateAccountKeys:e,saveAccountKeys:t}},o=t=>()=>{const{updateAccountKeysValues:e}=Object(n.useDispatch)(r.b);return[Object(n.useSelect)(e=>{const{getAccountKeys:M}=e(r.b);return M()[t]||""}),Object(u.useCallback)(M=>e({[t]:M}),[e])]},c=o("publishable_key"),a=o("secret_key"),j=o("webhook_secret"),L=o("test_publishable_key"),s=o("test_secret_key"),N=o("test_webhook_secret")},function(t,e,M){var n;!function(){"use strict";var M={}.hasOwnProperty;function u(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var r=typeof n;if("string"===r||"number"===r)t.push(n);else if(Array.isArray(n)){if(n.length){var i=u.apply(null,n);i&&t.push(i)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var o in n)M.call(n,o)&&n[o]&&t.push(o);else t.push(n.toString())}}return t.join(" ")}t.exports?(u.default=u,t.exports=u):void 0===(n=function(){return u}.apply(e,[]))||(t.exports=n)}()},function(t,e,M){"use strict";var n={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,r=u&&!n.call({1:2},1);e.f=r?function(t){var e=u(this,t);return!!e&&e.enumerable}:n},,function(t,e,M){var n=M(12),u=M(10),r=M(42),i=u("species");t.exports=function(t){return r>=51||!n((function(){var e=[];return(e.constructor={})[i]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},,function(t,e,M){var n=M(21),u=M(70),r=M(34),i=M(30),o=M(49),c=M(19),a=M(65),j=Object.getOwnPropertyDescriptor;e.f=n?j:function(t,e){if(t=i(t),e=o(e,!0),a)try{return j(t,e)}catch(t){}if(c(t,e))return r(!u.f.call(t,e),t[e])}},,function(t,e,M){var n=M(37),u=M(56);(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var M=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++M+n).toString(36)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},,,,function(t,e){t.exports=function(){}},function(t,e,M){var n=M(12),u=/#|\.prototype\./,r=function(t,e){var M=o[i(t)];return M==a||M!=c&&("function"==typeof e?n(e):!!e)},i=r.normalize=function(t){return String(t).replace(u,".").toLowerCase()},o=r.data={},c=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},,,,function(t,e,M){var n=M(39),u=M(48),r=M(40),i=M(35),o=M(122),c=[].push,a=function(t){var e=1==t,M=2==t,a=3==t,j=4==t,L=6==t,s=7==t,N=5==t||L;return function(y,g,l,D){for(var A,S,I=r(y),T=u(I),w=n(g,l,3),p=i(T.length),z=0,d=D||o,x=e?d(y,p):M||s?d(y,0):void 0;p>z;z++)if((N||z in T)&&(S=w(A=T[z],z,I),t))if(e)x[z]=S;else if(S)switch(t){case 3:return!0;case 5:return A;case 6:return z;case 2:c.call(x,A)}else switch(t){case 4:return!1;case 7:c.call(x,A)}return L?-1:a||j?j:x}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterOut:a(7)}},function(t,e,M){"use strict";M.d(e,"a",(function(){return i})),M.d(e,"b",(function(){return o}));var n=M(3),u=M(4);const r={},i=()=>{const{refreshAccount:t}=Object(n.useDispatch)(u.b);return{data:Object(n.useSelect)(t=>{const{getAccountData:e}=t(u.b);return e()},[]),isLoading:Object(n.useSelect)(t=>{const{hasFinishedResolution:e,isResolving:M}=t(u.b);return M("getAccountData")||!e("getAccountData")},[]),isRefreshing:Object(n.useSelect)(t=>{const{isRefreshingAccount:e}=t(u.b);return e()},[]),refreshAccount:t}},o=()=>Object(n.useSelect)(t=>{var e,M;const{getAccountData:n}=t(u.b);return null!==(e=null===(M=n().account)||void 0===M?void 0:M.capabilities)&&void 0!==e?e:r},[])},function(t,e,M){"use strict";var n=M(7),u=M.n(n),r=M(5),i=M(0);M(1);const o={small:{name:"1agzdcq",styles:"height:24px;width:37px"},medium:{name:"aemqcy",styles:"height:40px;width:65px"}},c=Object(r.a)("span",{target:"e575mz50"})(({size:t})=>o[t]||""," box-sizing:border-box;display:inline-flex;justify-content:center;border:1px solid transparent;img{max-width:100%;}");e.a=({src:t,children:e,alt:M,size:n="small",...r})=>Object(i.createElement)(c,u()({},r,{size:n}),t?Object(i.createElement)("img",{src:t,alt:M}):e)},function(t,e,M){var n=M(50),u=Math.max,r=Math.min;t.exports=function(t,e){var M=n(t);return M<0?u(M+e,0):r(M,e)}},,function(t,e,M){var n=M(29);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,M){var n=M(112);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,M){var n=M(10)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(M){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,M){"use strict";var n=M(12);t.exports=function(t,e){var M=[][t];return!!M&&n((function(){M.call(null,e||function(){throw 1},1)}))}},function(t,e){t.exports=window.ReactDOM},function(t,e,M){"use strict";var n=M(7),u=M.n(n),r=M(0),i=(M(1),M(6)),o=M(69),c=M.n(o);M(216),e.a=({className:t,...e})=>Object(r.createElement)(i.Notice,u()({className:c()("wcstripe-inline-notice",t)},e))},function(t,e,M){"use strict";var n=M(0),u=(M(1),M(13)),r=M(114);e.a=({children:t,numLines:e})=>{const{isLoading:M}=Object(u.s)();return Object(n.createElement)(r.a,{isLoading:M,numLines:e},t)}},function(t,e){var M;M=function(){return this}();try{M=M||new Function("return this")()}catch(t){"object"==typeof window&&(M=window)}t.exports=M},function(t,e,M){var n=M(9),u=M(20);t.exports=function(t,e){try{u(n,t,e)}catch(M){n[t]=e}return e}},,function(t,e,M){var n=M(19),u=M(30),r=M(57).indexOf,i=M(58);t.exports=function(t,e){var M,o=u(t),c=0,a=[];for(M in o)!n(i,M)&&n(o,M)&&a.push(M);for(;e.length>c;)n(o,M=e[c++])&&(~r(a,M)||a.push(M));return a}},function(t,e,M){var n=M(67);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},,,function(t,e,M){var n=M(107);t.exports=n},function(t,e,M){var n=M(108),u=M(110),r=Array.prototype,i=String.prototype;t.exports=function(t){var e=t.includes;return t===r||t instanceof Array&&e===r.includes?n:"string"==typeof t||t===i||t instanceof String&&e===i.includes?u:e}},function(t,e,M){M(109);var n=M(25);t.exports=n("Array").includes},function(t,e,M){"use strict";var n=M(11),u=M(57).includes,r=M(82);n({target:"Array",proto:!0},{includes:function(t){return u(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")},function(t,e,M){M(111);var n=M(25);t.exports=n("String").includes},function(t,e,M){"use strict";var n=M(11),u=M(93),r=M(31);n({target:"String",proto:!0,forced:!M(94)("includes")},{includes:function(t){return!!~String(r(this)).indexOf(u(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,M){var n=M(17),u=M(29),r=M(10)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==u(t))}},function(t,e,M){t.exports=M(162)},function(t,e,M){"use strict";M.d(e,"a",(function(){return o}));var n=M(7),u=M.n(n),r=M(0);M(217);const i=({isLoading:t,display:e,placeholder:M,value:n,children:u})=>t?Object(r.createElement)("span",{className:e?"is-loadable-placeholder is-"+e:"is-loadable-placeholder","aria-busy":"true"},void 0===M?u||n:M):u||n||null,o=({numLines:t=1,...e})=>{const M=Object(r.createElement)("p",{style:{lineHeight:t}},"Block placeholder");return Object(r.createElement)(i,u()({},e,{placeholder:M,display:"block"}))}},,,,,,,,function(t,e,M){var n=M(17),u=M(92),r=M(10)("species");t.exports=function(t,e){var M;return u(t)&&("function"!=typeof(M=t.constructor)||M!==Array&&!u(M.prototype)?n(M)&&null===(M=M[r])&&(M=void 0):M=void 0),new(void 0===M?Array:M)(0===e?0:e)}},function(t,e,M){var n=M(124);t.exports=n},function(t,e,M){var n=M(125),u=Array.prototype;t.exports=function(t){var e=t.filter;return t===u||t instanceof Array&&e===u.filter?n:e}},function(t,e,M){M(126);var n=M(25);t.exports=n("Array").filter},function(t,e,M){"use strict";var n=M(11),u=M(87).filter;n({target:"Array",proto:!0,forced:!M(72)("filter")},{filter:function(t){return u(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,M){var n=M(128);t.exports=n},function(t,e,M){var n=M(129),u=Array.prototype;t.exports=function(t){var e=t.reduce;return t===u||t instanceof Array&&e===u.reduce?n:e}},function(t,e,M){M(130);var n=M(25);t.exports=n("Array").reduce},function(t,e,M){"use strict";var n=M(11),u=M(131).left,r=M(95),i=M(42),o=M(41);n({target:"Array",proto:!0,forced:!r("reduce")||!o&&i>79&&i<83},{reduce:function(t){return u(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,M){var n=M(32),u=M(40),r=M(48),i=M(35),o=function(t){return function(e,M,o,c){n(M);var a=u(e),j=r(a),L=i(a.length),s=t?L-1:0,N=t?-1:1;if(o<2)for(;;){if(s in j){c=j[s],s+=N;break}if(s+=N,t?s<0:L<=s)throw TypeError("Reduce of empty array with no initial value")}for(;t?s>=0:L>s;s+=N)s in j&&(c=M(c,j[s],s,a));return c}};t.exports={left:o(!1),right:o(!0)}},,,,,,,,,,,,,,,,,,,function(t,e,M){"use strict";M.d(e,"a",(function(){return j}));var n="https://js.stripe.com/v3",u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,r="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",i=null,o=function(t,e,M){if(null===t)return null;var n=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:e})}(n,M),n},c=Promise.resolve().then((function(){return t=null,null!==i?i:i=new Promise((function(e,M){if("undefined"!=typeof window)if(window.Stripe&&t&&console.warn(r),window.Stripe)e(window.Stripe);else try{var i=function(){for(var t=document.querySelectorAll('script[src^="'.concat(n,'"]')),e=0;e<t.length;e++){var M=t[e];if(u.test(M.src))return M}return null}();i&&t?console.warn(r):i||(i=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",M=document.createElement("script");M.src="".concat(n).concat(e);var u=document.head||document.body;if(!u)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return u.appendChild(M),M}(t)),i.addEventListener("load",(function(){window.Stripe?e(window.Stripe):M(new Error("Stripe.js not available"))})),i.addEventListener("error",(function(){M(new Error("Failed to load Stripe.js"))}))}catch(t){return void M(t)}else e(null)}));var t})),a=!1;c.catch((function(t){a||console.warn(t)}));var j=function(){for(var t=arguments.length,e=new Array(t),M=0;M<t;M++)e[M]=arguments[M];a=!0;var n=Date.now();return c.then((function(t){return o(t,e,n)}))}},function(t,e,M){"use strict";var n=M(195),u={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function c(t){return n.isMemo(t)?i:o[t.$$typeof]||u}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=i;var a=Object.defineProperty,j=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,N=Object.getPrototypeOf,y=Object.prototype;t.exports=function t(e,M,n){if("string"!=typeof M){if(y){var u=N(M);u&&u!==y&&t(e,u,n)}var i=j(M);L&&(i=i.concat(L(M)));for(var o=c(e),g=c(M),l=0;l<i.length;++l){var D=i[l];if(!(r[D]||n&&n[D]||g&&g[D]||o&&o[D])){var A=s(M,D);try{a(e,D,A)}catch(t){}}}}return e}},,,,,,,function(t,e,M){var n=M(159);t.exports=n},function(t,e,M){var n=M(160),u=Array.prototype;t.exports=function(t){var e=t.map;return t===u||t instanceof Array&&e===u.map?n:e}},function(t,e,M){M(161);var n=M(25);t.exports=n("Array").map},function(t,e,M){"use strict";var n=M(11),u=M(87).map;n({target:"Array",proto:!0,forced:!M(72)("map")},{map:function(t){return u(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,M){var n=M(163);t.exports=n},function(t,e,M){M(164);var n=M(24);t.exports=n.Object.entries},function(t,e,M){var n=M(11),u=M(165).entries;n({target:"Object",stat:!0},{entries:function(t){return u(t)}})},function(t,e,M){var n=M(21),u=M(66),r=M(30),i=M(70).f,o=function(t){return function(e){for(var M,o=r(e),c=u(o),a=c.length,j=0,L=[];a>j;)M=c[j++],n&&!i.call(o,M)||L.push(t?[M,o[M]]:o[M]);return L}};t.exports={entries:o(!0),values:o(!1)}},,,function(t,e,M){"use strict";var n=M(5);const u=Object(n.a)("div",{target:"elkpq0t0"})({name:"1wclzz7",styles:"margin:24px auto 0;max-width:1032px;display:flex;flex-flow:column;@media ( min-width: 960px ){padding:0 56px;}"});e.a=u},,,,,,,function(t,e,M){"use strict";var n=M(0),u=(M(1),M(114)),r=M(88),i=M(68);e.a=({children:t,numLines:e,keepContent:M=!1})=>{const{isLoading:o}=Object(r.a)(),{isLoading:c}=Object(i.a)();let a=c||o;return M&&(a=!1),Object(n.createElement)(u.a,{isLoading:a,numLines:e},t)}},,,,,,,,,,,,,,,,,,,function(t,e,M){"use strict";function n(t){return function(){return t}}var u=function(){};u.thatReturns=n,u.thatReturnsFalse=n(!1),u.thatReturnsTrue=n(!0),u.thatReturnsNull=n(null),u.thatReturnsThis=function(){return this},u.thatReturnsArgument=function(t){return t},t.exports=u},function(t,e,M){"use strict";t.exports=M(196)},function(t,e,M){"use strict";var n="function"==typeof Symbol&&Symbol.for,u=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,j=n?Symbol.for("react.context"):60110,L=n?Symbol.for("react.async_mode"):60111,s=n?Symbol.for("react.concurrent_mode"):60111,N=n?Symbol.for("react.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,l=n?Symbol.for("react.memo"):60115,D=n?Symbol.for("react.lazy"):60116,A=n?Symbol.for("react.block"):60121,S=n?Symbol.for("react.fundamental"):60117,I=n?Symbol.for("react.responder"):60118,T=n?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case u:switch(t=t.type){case L:case s:case i:case c:case o:case y:return t;default:switch(t=t&&t.$$typeof){case j:case N:case D:case l:case a:return t;default:return e}}case r:return e}}}function p(t){return w(t)===s}e.AsyncMode=L,e.ConcurrentMode=s,e.ContextConsumer=j,e.ContextProvider=a,e.Element=u,e.ForwardRef=N,e.Fragment=i,e.Lazy=D,e.Memo=l,e.Portal=r,e.Profiler=c,e.StrictMode=o,e.Suspense=y,e.isAsyncMode=function(t){return p(t)||w(t)===L},e.isConcurrentMode=p,e.isContextConsumer=function(t){return w(t)===j},e.isContextProvider=function(t){return w(t)===a},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},e.isForwardRef=function(t){return w(t)===N},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===D},e.isMemo=function(t){return w(t)===l},e.isPortal=function(t){return w(t)===r},e.isProfiler=function(t){return w(t)===c},e.isStrictMode=function(t){return w(t)===o},e.isSuspense=function(t){return w(t)===y},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===s||t===c||t===o||t===y||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===D||t.$$typeof===l||t.$$typeof===a||t.$$typeof===j||t.$$typeof===N||t.$$typeof===S||t.$$typeof===I||t.$$typeof===T||t.$$typeof===A)},e.typeOf=w},,,function(t,e,M){"use strict";var n=M(5),u=M(0),r=M(2),i=(M(1),M(6)),o=M(51),c=M(13);const a=Object(n.a)(o.a,{target:"e1prus4h0"})({name:"2qga7i",styles:"text-align:right"});e.a=({onSettingsSave:t})=>{const{saveSettings:e,isSaving:M,isLoading:n}=Object(c.s)();return Object(u.createElement)(a,null,Object(u.createElement)(i.Button,{isPrimary:!0,isBusy:M,disabled:M||n,onClick:async()=>{await e(),t()}},Object(r.__)("Save changes","woocommerce-gateway-stripe")))}},,,,,,,,,,,,,function(t,e,M){"use strict";var n=M(1),u="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=M(194),i=M(213),o=M(214),c="function"==typeof Symbol&&Symbol.iterator;function a(t,e){return t&&"object"==typeof t&&null!=t.key?(M=t.key,n={"=":"=0",":":"=2"},"$"+(""+M).replace(/[=:]/g,(function(t){return n[t]}))):e.toString(36);var M,n}var j=/\/+/g;function L(t){return(""+t).replace(j,"$&/")}var s,N,y=g,g=function(t){if(this.instancePool.length){var e=this.instancePool.pop();return this.call(e,t),e}return new this(t)};function l(t,e,M,n){this.result=t,this.keyPrefix=e,this.func=M,this.context=n,this.count=0}function D(t,e,M){var u,i,o=t.result,c=t.keyPrefix,a=t.func,j=t.context,s=a.call(j,e,t.count++);Array.isArray(s)?A(s,o,M,r.thatReturnsArgument):null!=s&&(n.isValidElement(s)&&(u=s,i=c+(!s.key||e&&e.key===s.key?"":L(s.key)+"/")+M,s=n.cloneElement(u,{key:i},void 0!==u.props?u.props.children:void 0)),o.push(s))}function A(t,e,M,n,r){var o="";null!=M&&(o=L(M)+"/");var j=l.getPooled(e,o,n,r);!function(t,e,M){null==t||function t(e,M,n,r){var o,j=typeof e;if("undefined"!==j&&"boolean"!==j||(e=null),null===e||"string"===j||"number"===j||"object"===j&&e.$$typeof===u)return n(r,e,""===M?"."+a(e,0):M),1;var L=0,s=""===M?".":M+":";if(Array.isArray(e))for(var N=0;N<e.length;N++)L+=t(o=e[N],s+a(o,N),n,r);else{var y=function(t){var e=t&&(c&&t[c]||t["@@iterator"]);if("function"==typeof e)return e}(e);if(y)for(var g,l=y.call(e),D=0;!(g=l.next()).done;)L+=t(o=g.value,s+a(o,D++),n,r);else if("object"===j){var A=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===A?"object with keys {"+Object.keys(e).join(", ")+"}":A,"")}}return L}(t,"",e,M)}(t,D,j),l.release(j)}l.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},s=function(t,e,M,n){if(this.instancePool.length){var u=this.instancePool.pop();return this.call(u,t,e,M,n),u}return new this(t,e,M,n)},(N=l).instancePool=[],N.getPooled=s||y,N.poolSize||(N.poolSize=10),N.release=function(t){i(t instanceof this,"Trying to release an instance into a pool of a different type."),t.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(t)},t.exports=function(t){if("object"!=typeof t||!t||Array.isArray(t))return o(!1,"React.addons.createFragment only accepts a single object. Got: %s",t),t;if(n.isValidElement(t))return o(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),t;i(1!==t.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var e=[];for(var M in t)A(t[M],e,M,r.thatReturnsArgument);return e}},function(t,e,M){"use strict";t.exports=function(t,e,M,n,u,r,i,o){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[M,n,u,r,i,o],j=0;(c=new Error(e.replace(/%s/g,(function(){return a[j++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,M){"use strict";var n=M(194);t.exports=n},function(t,e,M){"use strict";function n(t){return t.match(/^\{\{\//)?{type:"componentClose",value:t.replace(/\W/g,"")}:t.match(/\/\}\}$/)?{type:"componentSelfClosing",value:t.replace(/\W/g,"")}:t.match(/^\{\{/)?{type:"componentOpen",value:t.replace(/\W/g,"")}:{type:"string",value:t}}t.exports=function(t){return t.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}},function(t,e,M){},function(t,e,M){},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,M){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,M){"use strict";M.r(e);var n=M(0),u=M(1),r=M(96),i=M.n(r),o=M(2),c=M(6),a=M(46),j=M.n(a),L=M(26),s=M(150),N=M(97),y=M(13);const g=()=>{let t="Google Chrome",e="Google Pay";return(()=>{const t=window.navigator.userAgent.toLowerCase(),e=/chrome/.test(t)&&!/edge|edg|opr|brave\//.test(t)&&"Google Inc."===window.navigator.vendor,M=e&&window.navigator.brave;return e&&!M})()&&(t="Safari",e="Apple Pay"),Object(n.createElement)("p",{className:"payment-method-settings__preview-help-text"},Object(o.sprintf)(
4
  /* translators: %1: Payment method name %2: Browser name. */
5
+ Object(o.__)("To preview the %1$s button, view this page in the %2$s browser.","woocommerce-gateway-stripe"),e,t))},l={default:40,medium:48,large:56};var D=()=>{const t=Object(L.useStripe)(),[e,M]=Object(u.useState)(),[r,i]=Object(u.useState)(!0),[c]=Object(y.n)(),[a]=Object(y.l)(),[j]=Object(y.m)();return Object(u.useEffect)(()=>{if(!t)return void i(!1);i(!0);const e=t.paymentRequest({country:"US",currency:"usd",total:{label:Object(o.__)("Total","woocommerce-gateway-stripe"),amount:99},requestPayerName:!0,requestPayerEmail:!0});e.canMakePayment().then(t=>{t&&M(e),i(!1)})},[t,M,i]),r?null:e?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"payment-method-settings__preview"},Object(n.createElement)(L.PaymentRequestButtonElement,{key:`${c}-${j}-${a}`,onClick:t=>{t.preventDefault()},options:{paymentRequest:e,style:{paymentRequestButton:{type:c,theme:j,height:(l[a]||l.default)+"px"}}}})),Object(n.createElement)(g,null)):Object(n.createElement)(N.a,{status:"info",isDismissible:!1},Object(o.__)("To preview the buttons, ensure your device is configured to accept Apple Pay or Google Pay, and view this page using the Safari or Chrome browsers.","woocommerce-gateway-stripe"))},A=M(64),S=M(175),I=M(88),T=M(68);const w=t=>j()({mixedString:t,components:{helpText:Object(n.createElement)("span",{className:"payment-method-settings__option-muted-text"})}}),p=[{label:w(Object(o.__)("Default {{helpText}}(40 px){{/helpText}}","woocommerce-gateway-stripe")),value:"default"},{label:w(Object(o.__)("Medium {{helpText}}(48 px){{/helpText}}","woocommerce-gateway-stripe")),value:"medium"},{label:w(Object(o.__)("Large {{helpText}}(56 px){{/helpText}}","woocommerce-gateway-stripe")),value:"large"}],z=[{label:Object(o.__)("Only icon","woocommerce-gateway-stripe"),value:"default"},{label:Object(o.__)("Buy","woocommerce-gateway-stripe"),value:"buy"},{label:Object(o.__)("Donate","woocommerce-gateway-stripe"),value:"donate"},{label:Object(o.__)("Book","woocommerce-gateway-stripe"),value:"book"}],d=t=>j()({mixedString:t,components:{br:Object(n.createElement)("br",null),helpText:Object(n.createElement)("span",{className:"payment-method-settings__option-help-text"})}}),x=[{label:d(Object(o.__)("Dark {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with high contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"dark"},{label:d(Object(o.__)("Light {{br/}}{{helpText}}Recommended for dark or colored backgrounds with high contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"light"},{label:d(Object(o.__)("Outline {{br/}}{{helpText}}Recommended for white or light-colored backgrounds with insufficient contrast.{{/helpText}}","woocommerce-gateway-stripe")),value:"light-outline"}];var E=()=>{var t,e;const[M,r]=Object(y.n)(),[i,a]=Object(y.l)(),[j,N]=Object(y.m)(),g=null===(t=Object(I.a)().data)||void 0===t||null===(e=t.account)||void 0===e?void 0:e.id,[l]=Object(T.b)(),[w]=Object(T.d)(),d=Object(u.useMemo)(()=>Object(s.a)(l||w||"pk_test_123",{stripeAccount:g||"0001",locale:"en"}),[w,l,g]);return Object(n.createElement)(c.Card,null,Object(n.createElement)(A.a,null,Object(n.createElement)("h4",null,Object(o.__)("Call to action","woocommerce-gateway-stripe")),Object(n.createElement)(c.RadioControl,{className:"payment-method-settings__cta-selection",label:Object(o.__)("Call to action","woocommerce-gateway-stripe"),help:Object(o.__)("Select a button label that fits best with the flow of purchase or payment experience on your store.","woocommerce-gateway-stripe"),selected:M,options:z,onChange:r}),Object(n.createElement)("h4",null,Object(o.__)("Appearance","woocommerce-gateway-stripe")),Object(n.createElement)(c.RadioControl,{help:Object(o.__)("Note that larger buttons are more suitable for mobile use.","woocommerce-gateway-stripe"),label:Object(o.__)("Size","woocommerce-gateway-stripe"),selected:i,options:p,onChange:a}),Object(n.createElement)(c.RadioControl,{label:Object(o.__)("Theme","woocommerce-gateway-stripe"),selected:j,options:x,onChange:N}),Object(n.createElement)("p",null,Object(o.__)("Preview","woocommerce-gateway-stripe")),Object(n.createElement)(S.a,{numLines:7},Object(n.createElement)(L.Elements,{stripe:d},Object(n.createElement)(D,null)))))},f=M(51),m=M(168),O=M(98),C=M(199);M(245);const b=()=>Object(n.createElement)(n.Fragment,null,Object(n.createElement)("h2",null,Object(o.__)("Google Pay / Apple Pay","woocommerce-gateway-stripe")),Object(n.createElement)("p",null,Object(o.__)("Decide how buttons for digital wallets Apple Pay and Google Pay are displayed in your store. Depending on their web browser and their wallet configurations, your customers will see either Apple Pay or Google Pay, but not both.","woocommerce-gateway-stripe")),Object(n.createElement)("p",null,Object(n.createElement)(c.ExternalLink,{href:"https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/introduction/"},Object(o.__)("View Apple Pay Guidelines","woocommerce-gateway-stripe"))),Object(n.createElement)("p",null,Object(n.createElement)(c.ExternalLink,{href:"https://developers.google.com/pay/api/web/guides/brand-guidelines"},Object(o.__)("View Google Pay Guidelines","woocommerce-gateway-stripe"))));const h=document.getElementById("wc-stripe-payment-request-settings-container");h&&i.a.render(Object(n.createElement)(()=>Object(n.createElement)(m.a,null,Object(n.createElement)(f.a,{Description:b},Object(n.createElement)(O.a,{numLines:30},Object(n.createElement)(E,null))),Object(n.createElement)(C.a,null)),null),h)}]);
build/upe_blocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('jquery', 'react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '4801677a29a555e445ece217822bec32');
1
+ <?php return array('dependencies' => array('jquery', 'react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '131c757cb684cc1f9424635588361575');
build/upe_blocks.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=279)}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.wp.i18n},function(t,e){t.exports=window.React},,,,,function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return a}));var r=n(117);const o=()=>{const t=Object(r.getSetting)("stripe_data",null);if(!t)throw new Error("Stripe initialization data is not available");return t},i=(t,e)=>{var n,r;const i={total:e.order_data.total,currency:e.order_data.currency,country:e.order_data.country_code,requestPayerName:!0,requestPayerEmail:!0,requestPayerPhone:null===(n=o())||void 0===n||null===(r=n.checkout)||void 0===r?void 0:r.needs_payer_phone,requestShipping:!!e.shipping_required,displayItems:e.order_data.displayItems};return"PR"===i.country&&(i.country="US"),t.paymentRequest(i)},c=(t,e)=>{const n={total:e.order_data.total,currency:e.order_data.currency,displayItems:e.order_data.displayItems};t.update(n)},a=()=>{var t;const e=null===(t=o())||void 0===t?void 0:t.key;if(!e)throw new Error("There is no api key available for stripe. Make sure it is available on the wc.stripe_data.stripe.key property.");return e}},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(106))},function(t,e,n){var r=n(9),o=n(75),i=n(18),c=n(76),a=n(72),u=n(108),s=o("wks"),l=r.Symbol,p=u?l:l&&l.withoutSetter||c;t.exports=function(t){return i(s,t)&&(a||"string"==typeof s[t])||(a&&i(l,t)?s[t]=l[t]:s[t]=p("Symbol."+t)),s[t]}},,function(t,e,n){"use strict";var r=n(9),o=n(74).f,i=n(81),c=n(27),a=n(41),u=n(20),s=n(18),l=function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,p,f,d,v,y,m,h,g=t.target,b=t.global,_=t.stat,w=t.proto,j=b?r:_?r[g]:(r[g]||{}).prototype,x=b?c:c[g]||(c[g]={}),O=x.prototype;for(f in e)n=!i(b?f:g+(_?".":"#")+f,t.forced)&&j&&s(j,f),v=x[f],n&&(y=t.noTargetGet?(h=o(j,f))&&h.value:j[f]),d=n&&y?y:e[f],n&&typeof v==typeof d||(m=t.bind&&n?a(d,r):t.wrap&&n?l(d):w&&"function"==typeof d?a(Function.call,d):d,(t.sham||d&&d.sham||v&&v.sham)&&u(m,"sham",!0),x[f]=m,w&&(s(c,p=g+"Prototype")||u(c,p,{}),c[p][f]=d,t.real&&O&&!O[f]&&u(O,f,d)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,function(t,e,n){t.exports=n(109)},,function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},,function(t,e,n){var r=n(24),o=n(39),i=n(33);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(17);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},,function(t,e,n){!function(t,e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(){}function i(){}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,i.resetWarningCache=o;var c=function(t,e){return function(t){t.exports=function(){function t(t,e,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}()}(e={exports:{}}),e.exports}(),a=function(t){return null!==t&&"object"===n(t)},u=function t(e,n){if(!a(e)||!a(n))return e===n;var r=Array.isArray(e);if(r!==Array.isArray(n))return!1;var o="[object Object]"===Object.prototype.toString.call(e);if(o!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!o&&!r)return!1;var i=Object.keys(e),c=Object.keys(n);if(i.length!==c.length)return!1;for(var u={},s=0;s<i.length;s+=1)u[i[s]]=!0;for(var l=0;l<c.length;l+=1)u[c[l]]=!0;var p=Object.keys(u);if(p.length!==i.length)return!1;var f=e,d=n;return p.every((function(e){return t(f[e],d[e])}))},s=function(t){var n=e.useRef(t);return e.useEffect((function(){n.current=t}),[t]),n.current},l=function(t){if(null===t||a(e=t)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return t;var e;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=e.createContext(null);p.displayName="ElementsContext";var f=function(t){var n,o,i=t.stripe,c=t.options,f=t.children,d=e.useRef(!1),v=e.useRef(!0),y=e.useMemo((function(){return function(t){if(function(t){return a(t)&&"function"==typeof t.then}(t))return{tag:"async",stripePromise:Promise.resolve(t).then(l)};var e=l(t);return null===e?{tag:"empty"}:{tag:"sync",stripe:e}}(i)}),[i]),m=(n=e.useState((function(){return{stripe:null,elements:null}})),o=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=t[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!e||n.length!==e);_n=!0);}catch(t){r=!0,o=t}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}}(n,o)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=m[0],g=m[1],b=s(i),_=s(c);return null!==b&&(b!==i&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),u(c,_)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),d.current||("sync"===y.tag&&(d.current=!0,g({stripe:y.stripe,elements:y.stripe.elements(c)})),"async"===y.tag&&(d.current=!0,y.stripePromise.then((function(t){t&&v.current&&g({stripe:t,elements:t.elements(c)})})))),e.useEffect((function(){return function(){v.current=!1}}),[]),e.useEffect((function(){var t=h.stripe;t&&t._registerWrapper&&t.registerAppInfo&&(t._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),t.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),e.createElement(p.Provider,{value:h},f)};f.propTypes={stripe:c.any,options:c.object};var d=function(t){return function(t,e){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(e," in an <Elements> provider."));return t}(e.useContext(p),t)},v=function(t){return(0,t.children)(d("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var y=function(t){var n=e.useRef(t);return e.useEffect((function(){n.current=t}),[t]),function(){n.current&&n.current.apply(n,arguments)}},m=function(t){return a(t)?(t.paymentRequest,function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["paymentRequest"])):{}},h=function(){},g=function(t,n){var r,o="".concat((r=t).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(t){d("mounts <".concat(o,">"));var n=t.id,r=t.className;return e.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,c=n.options,a=void 0===c?{}:c,s=n.onBlur,l=void 0===s?h:s,p=n.onFocus,f=void 0===p?h:p,v=n.onReady,g=void 0===v?h:v,b=n.onChange,_=void 0===b?h:b,w=n.onEscape,j=void 0===w?h:w,x=n.onClick,O=void 0===x?h:x,E=d("mounts <".concat(o,">")).elements,S=e.useRef(null),C=e.useRef(null),P=y(g),A=y(l),k=y(f),T=y(O),I=y(_),M=y(j);e.useLayoutEffect((function(){if(null==S.current&&E&&null!=C.current){var e=E.create(t,a);S.current=e,e.mount(C.current),e.on("ready",(function(){return P(e)})),e.on("change",I),e.on("blur",A),e.on("focus",k),e.on("escape",M),e.on("click",T)}}));var L=e.useRef(a);return e.useEffect((function(){L.current&&L.current.paymentRequest!==a.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var t=m(a);0===Object.keys(t).length||u(t,m(L.current))||S.current&&(S.current.update(t),L.current=a)}),[a]),e.useLayoutEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),e.createElement("div",{id:r,className:i,ref:C})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=o,i.__elementType=t,i},b="undefined"==typeof window,_=g("auBankAccount",b),w=g("card",b),j=g("cardNumber",b),x=g("cardExpiry",b),O=g("cardCvc",b),E=g("fpxBank",b),S=g("iban",b),C=g("idealBank",b),P=g("p24Bank",b),A=g("epsBank",b),k=g("payment",b),T=g("paymentRequestButton",b),I=g("afterpayClearpayMessage",b);t.AfterpayClearpayMessageElement=I,t.AuBankAccountElement=_,t.CardCvcElement=O,t.CardElement=w,t.CardExpiryElement=x,t.CardNumberElement=j,t.Elements=f,t.ElementsConsumer=v,t.EpsBankElement=A,t.FpxBankElement=E,t.IbanElement=S,t.IdealBankElement=C,t.P24BankElement=P,t.PaymentElement=k,t.PaymentRequestButtonElement=T,t.useElements=function(){return d("calls useElements()").elements},t.useStripe=function(){return d("calls useStripe()").stripe},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(2))},function(t,e,n){var r=n(13);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,,function(t,e){t.exports={}},function(t,e,n){var r=n(27);t.exports=function(t){return r[t+"Prototype"]}},,function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(27),o=n(9),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=!0},function(t,e){t.exports={}},function(t,e){t.exports=window.jQuery},function(t,e,n){var r=n(53),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(24),o=n(69),i=n(21),c=n(48),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(49),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(32);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},,function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(30),o=n(9);t.exports="process"==r(o.process)},,function(t,e,n){var r,o,i=n(9),c=n(59),a=i.process,u=a&&a.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},,function(t,e,n){var r=n(17);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(20);t.exports=function(t,e,n,o){o&&o.enumerable?t[e]=n:r(t,e,n)}},,,function(t,e,n){var r=n(13),o=n(30),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(9),o=n(107),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},,,,function(t,e,n){var r=n(9),o=n(17),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(34);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(67),o=n(39).f,i=n(20),c=n(18),a=n(139),u=n(10)("toStringTag");t.exports=function(t,e,n,s){if(t){var l=n?t:t.prototype;c(l,u)||o(l,u,{configurable:!0,value:e}),s&&!r&&i(l,"toString",a)}}},,function(t,e,n){t.exports=n(156)},function(t,e,n){var r=n(75),o=n(76),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(38),o=n(40),i=n(89),c=function(t){return function(e,n,c){var a,u=r(e),s=o(u.length),l=i(c,s);if(t&&n!=n){for(;s>l;)if((a=u[l++])!=a)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e){t.exports={}},function(t,e,n){var r=n(67),o=n(30),i=n(10)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r={};r[n(10)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r,o,i,c=n(142),a=n(9),u=n(17),s=n(20),l=n(18),p=n(54),f=n(63),d=n(65),v=a.WeakMap;if(c){var y=p.state||(p.state=new v),m=y.get,h=y.has,g=y.set;r=function(t,e){return e.facade=t,g.call(y,t,e),e},o=function(t){return m.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=f("state");d[b]=!0,r=function(t,e){return e.facade=t,s(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(24),o=n(13),i=n(58);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(18),o=n(43),i=n(63),c=n(136),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(21),o=n(122),i=n(40),c=n(41),a=n(97),u=n(123),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,f,d,v,y,m,h=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=c(e,h,1+g+_),j=function(t){return l&&u(l),new s(!0,t)},x=function(t){return g?(r(t),_?w(t[0],t[1],j):w(t[0],t[1])):_?w(t,j):w(t)};if(b)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(f=0,d=i(t.length);d>f;f++)if((v=x(t[f]))&&v instanceof s)return v;return new s(!1)}l=p.call(t)}for(y=l.next;!(m=y.call(l)).done;){try{v=x(m.value)}catch(t){throw u(l),t}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},function(t,e,n){var r=n(44),o=n(46),i=n(13);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},function(t,e,n){"use strict";var r=n(32),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(24),o=n(87),i=n(33),c=n(38),a=n(48),u=n(18),s=n(69),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=a(e,!0),s)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(35),o=n(54);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports=function(){}},,,,function(t,e,n){var r=n(13),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(138),o=n(90);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(13),o=n(10),i=n(46),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},,,,function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r,o=n(21),i=n(121),c=n(90),a=n(65),u=n(96),s=n(58),l=n(63)("IE_PROTO"),p=function(){},f=function(t){return"<script>"+t+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=r?function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(49),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r,o,i,c=n(13),a=n(70),u=n(20),s=n(18),l=n(10),p=n(35),f=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0);var v=null==r||c((function(){var t={};return r[f].call(t)!==t}));v&&(r={}),p&&!v||s(r,f)||u(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},,function(t,e,n){t.exports=n(201)},function(t,e,n){var r=n(21),o=n(137);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(34);t.exports=r("document","documentElement")},function(t,e,n){var r=n(66),o=n(36),i=n(10)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(54),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e,n){"use strict";var r=n(12),o=n(131),i=n(70),c=n(95),a=n(60),u=n(20),s=n(50),l=n(10),p=n(35),f=n(36),d=n(92),v=d.IteratorPrototype,y=d.BUGGY_SAFARI_ITERATORS,m=l("iterator"),h=function(){return this};t.exports=function(t,e,n,l,d,g,b){o(n,e,l);var _,w,j,x=function(t){if(t===d&&P)return P;if(!y&&t in S)return S[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",E=!1,S=t.prototype,C=S[m]||S["@@iterator"]||d&&S[d],P=!y&&C||x(d),A="Array"==e&&S.entries||C;if(A&&(_=i(A.call(new t)),v!==Object.prototype&&_.next&&(p||i(_)===v||(c?c(_,v):"function"!=typeof _[m]&&u(_,m,h)),a(_,O,!0,!0),p&&(f[O]=h))),"values"==d&&C&&"values"!==C.name&&(E=!0,P=function(){return C.call(this)}),p&&!b||S[m]===P||u(S,m,P),f[e]=P,d)if(w={values:x("values"),keys:g?P:x("keys"),entries:x("entries")},b)for(j in w)(y||E||!(j in S))&&s(S,j,w[j]);else r({target:e,proto:!0,forced:y||E},w);return w}},,function(t,e,n){var r=n(30);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(115);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(10)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="stripe"},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(9),o=n(20);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(72);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(110);t.exports=r},function(t,e,n){var r=n(111),o=n(113),i=Array.prototype,c=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?r:"string"==typeof t||t===c||t instanceof String&&e===c.includes?o:e}},function(t,e,n){n(112);var r=n(28);t.exports=r("Array").includes},function(t,e,n){"use strict";var r=n(12),o=n(64).includes,i=n(77);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){n(114);var r=n(28);t.exports=r("String").includes},function(t,e,n){"use strict";var r=n(12),o=n(102),i=n(31);r({target:"String",proto:!0,forced:!n(103)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(17),o=n(30),i=n(10)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e){t.exports=window.wc.wcSettings},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(62),o=n.n(r),i=n(134),c=n(7);const a=()=>new o.a(t=>{try{var e,n;const r=null!==(e=null===(n=Object(c.c)())||void 0===n?void 0:n.stripe_locale)&&void 0!==e?e:"auto";t(Object(i.a)(Object(c.b)(),{locale:r}))}catch(e){t({error:e})}})},function(t,e,n){var r=n(24),o=n(39),i=n(21),c=n(82);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=r.length,u=0;a>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r=n(10),o=n(36),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(21);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},function(t,e,n){var r=n(9);t.exports=r.Promise},function(t,e,n){var r=n(21),o=n(32),i=n(10)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r,o,i,c=n(9),a=n(13),u=n(41),s=n(96),l=n(58),p=n(127),f=n(44),d=c.location,v=c.setImmediate,y=c.clearImmediate,m=c.process,h=c.MessageChannel,g=c.Dispatch,b=0,_={},w=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},j=function(t){return function(){w(t)}},x=function(t){w(t.data)},O=function(t){c.postMessage(t+"",d.protocol+"//"+d.host)};v&&y||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},y=function(t){delete _[t]},f?r=function(t){m.nextTick(j(t))}:g&&g.now?r=function(t){g.now(j(t))}:h&&!p?(i=(o=new h).port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&d&&"file:"!==d.protocol&&!a(O)?(r=O,c.addEventListener("message",x,!1)):r="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(j(t),0)}),t.exports={set:v,clear:y}},function(t,e,n){var r=n(59);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r=n(21),o=n(17),i=n(73);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(130).charAt,o=n(68),i=n(99),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(49),o=n(31),i=function(t){return function(e,n){var i,c,a=String(o(e)),u=r(n),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(92).IteratorPrototype,o=n(88),i=n(33),c=n(60),a=n(36),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,s,!1,!0),a[s]=u,t}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",c=null,a=function(t,e,n){if(null===t)return null;var r=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:e})}(r,n),r},u=Promise.resolve().then((function(){return t=null,null!==c?c:c=new Promise((function(e,n){if("undefined"!=typeof window)if(window.Stripe&&t&&console.warn(i),window.Stripe)e(window.Stripe);else try{var c=function(){for(var t=document.querySelectorAll('script[src^="'.concat(r,'"]')),e=0;e<t.length;e++){var n=t[e];if(o.test(n.src))return n}return null}();c&&t?console.warn(i):c||(c=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(e);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n}(t)),c.addEventListener("load",(function(){window.Stripe?e(window.Stripe):n(new Error("Stripe.js not available"))})),c.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(t){return void n(t)}else e(null)}));var t})),s=!1;u.catch((function(t){s||console.warn(t)}));var l=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];s=!0;var r=Date.now();return u.then((function(t){return a(t,e,r)}))}},,function(t,e,n){var r=n(13);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(17);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(18),o=n(38),i=n(64).indexOf,c=n(65);t.exports=function(t,e){var n,a=o(t),u=0,s=[];for(n in a)!r(c,n)&&r(a,n)&&s.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){"use strict";var r=n(67),o=n(66);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(10)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(9),o=n(98),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,function(t,e,n){"use strict";var r=n(48),o=n(39),i=n(33);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},,,function(t,e,n){t.exports=n(216)},function(t,e){t.exports=window.wc.wcBlocksRegistry},,,function(t,e,n){var r=n(50);t.exports=function(t,e,n){for(var o in e)n&&n.unsafe&&t[o]?t[o]=e[o]:r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(38),o=n(77),i=n(36),c=n(68),a=n(99),u=c.set,s=c.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(31),o="["+n(116)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},,,function(t,e,n){var r=n(157);t.exports=r},function(t,e,n){n(158),n(159),n(160),n(165),n(166),n(167),n(129),n(168);var r=n(27);t.exports=r.Promise},function(t,e,n){"use strict";var r=n(12),o=n(70),i=n(95),c=n(88),a=n(20),u=n(33),s=n(71),l=function(t,e){var n=this;if(!(n instanceof l))return new l(t,e);i&&(n=i(new Error(void 0),o(n))),void 0!==e&&a(n,"message",String(e));var r=[];return s(t,r.push,{that:r}),a(n,"errors",r),n};l.prototype=c(Error.prototype,{constructor:u(5,l),message:u(5,""),name:u(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(t,e){},function(t,e,n){"use strict";var r,o,i,c,a=n(12),u=n(35),s=n(9),l=n(34),p=n(124),f=n(50),d=n(151),v=n(60),y=n(161),m=n(17),h=n(32),g=n(140),b=n(98),_=n(71),w=n(141),j=n(125),x=n(126).set,O=n(162),E=n(128),S=n(164),C=n(73),P=n(91),A=n(68),k=n(81),T=n(10),I=n(44),M=n(46),L=T("species"),R="Promise",N=A.get,q=A.set,F=A.getterFor(R),B=p,U=s.TypeError,D=s.document,H=s.process,W=l("fetch"),V=C.f,$=V,G=!!(D&&D.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,z=k(R,(function(){if(b(B)===String(B)){if(66===M)return!0;if(!I&&!Y)return!0}if(u&&!B.prototype.finally)return!0;if(M>=51&&/native code/.test(B))return!1;var t=B.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[L]=e,!(t.then((function(){}))instanceof e)})),Z=z||!w((function(t){B.all(t).catch((function(){}))})),X=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},K=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,a,u,s=n[i++],l=o?s.ok:s.fail,p=s.resolve,f=s.reject,d=s.domain;try{l?(o||(2===t.rejection&&et(t),t.rejection=1),!0===l?c=r:(d&&d.enter(),c=l(r),d&&(d.exit(),u=!0)),c===s.promise?f(U("Promise-chain cycle")):(a=X(c))?a.call(c,p,f):p(c)):f(r)}catch(t){d&&!u&&d.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&J(t)}))}},Q=function(t,e,n){var r,o;G?((r=D.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(o=s["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},J=function(t){x.call(s,(function(){var e,n=t.facade,r=t.value;if(tt(t)&&(e=P((function(){I?H.emit("unhandledRejection",r,n):Q("unhandledrejection",n,r)})),t.rejection=I||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){x.call(s,(function(){var e=t.facade;I?H.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},nt=function(t,e,n){return function(r){t(e,r,n)}},rt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,K(t,!0))},ot=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw U("Promise can't be resolved itself");var r=X(e);r?O((function(){var n={done:!1};try{r.call(e,nt(ot,n,t),nt(rt,n,t))}catch(e){rt(n,e,t)}})):(t.value=e,t.state=1,K(t,!1))}catch(e){rt({done:!1},e,t)}}};z&&(B=function(t){g(this,B,R),h(t),r.call(this);var e=N(this);try{t(nt(ot,e),nt(rt,e))}catch(t){rt(e,t)}},(r=function(t){q(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(t,e){var n=F(this),r=V(j(this,B));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=nt(ot,e),this.reject=nt(rt,e)},C.f=V=function(t){return t===B||t===i?new o(t):$(t)},u||"function"!=typeof p||(c=p.prototype.then,f(p.prototype,"then",(function(t,e){var n=this;return new B((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(B,W.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:z},{Promise:B}),v(B,R,!1,!0),y(R),i=l(R),a({target:R,stat:!0,forced:z},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:R,stat:!0,forced:u||z},{resolve:function(t){return E(u&&this===i?B:this,t)}}),a({target:R,stat:!0,forced:Z},{all:function(t){var e=this,n=V(e),r=n.resolve,o=n.reject,i=P((function(){var n=h(e.resolve),i=[],c=0,a=1;_(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=V(e),r=n.reject,o=P((function(){var o=h(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){"use strict";var r=n(34),o=n(39),i=n(10),c=n(24),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r,o,i,c,a,u,s,l,p=n(9),f=n(74).f,d=n(126).set,v=n(127),y=n(163),m=n(44),h=p.MutationObserver||p.WebKitMutationObserver,g=p.document,b=p.process,_=p.Promise,w=f(p,"queueMicrotask"),j=w&&w.value;j||(r=function(){var t,e;for(m&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},v||m||y||!h||!g?_&&_.resolve?(s=_.resolve(void 0),l=s.then,c=function(){l.call(s,r)}):c=m?function(){b.nextTick(r)}:function(){d.call(p,r)}:(a=!0,u=g.createTextNode(""),new h(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=j||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(59);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(9);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e,n){"use strict";var r=n(12),o=n(32),i=n(73),c=n(91),a=n(71);r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=i.f(e),r=n.resolve,u=n.reject,s=c((function(){var n=o(e.resolve),i=[],c=0,u=1;a(t,(function(t){var o=c++,a=!1;i.push(void 0),u++,n.call(e,t).then((function(t){a||(a=!0,i[o]={status:"fulfilled",value:t},--u||r(i))}),(function(t){a||(a=!0,i[o]={status:"rejected",reason:t},--u||r(i))}))})),--u||r(i)}));return s.error&&u(s.value),n.promise}})},function(t,e,n){"use strict";var r=n(12),o=n(32),i=n(34),c=n(73),a=n(91),u=n(71);r({target:"Promise",stat:!0},{any:function(t){var e=this,n=c.f(e),r=n.resolve,s=n.reject,l=a((function(){var n=o(e.resolve),c=[],a=0,l=1,p=!1;u(t,(function(t){var o=a++,u=!1;c.push(void 0),l++,n.call(e,t).then((function(t){u||p||(p=!0,r(t))}),(function(t){u||p||(u=!0,c[o]=t,--l||s(new(i("AggregateError"))(c,"No one promise resolved")))}))})),--l||s(new(i("AggregateError"))(c,"No one promise resolved"))}));return l.error&&s(l.value),n.promise}})},function(t,e,n){"use strict";var r=n(12),o=n(35),i=n(124),c=n(13),a=n(34),u=n(125),s=n(128),l=n(50);r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",a("Promise").prototype.finally)},function(t,e,n){n(152);var r=n(169),o=n(9),i=n(66),c=n(20),a=n(36),u=n(10)("toStringTag");for(var s in r){var l=o[s],p=l&&l.prototype;p&&i(p)!==u&&c(p,u,s),a[s]=a.Array}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports=n(197)},,,function(t,e,n){t.exports=n(211)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(62),o=n.n(r),i=n(15),c=n.n(i),a=n(147),u=n.n(a),s=n(1);class l{constructor(t,e){this.stripe=null,this.options=t,this.request=e}getAjaxUrl(t,e="wc_stripe_"){var n,r,o;return null===(n=this.options)||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)}getFriendlyErrorMessage(t){switch(t.statusText){case"timeout":return Object(s.__)("A timeout occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe");case"abort":return Object(s.__)("The connection to the server was aborted. Please try again.","woocommerce-gateway-stripe");case"error":default:return Object(s.__)("An error occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe")}}getStripe(){const{key:t,locale:e,isUPEEnabled:n}=this.options;return this.stripe||(this.stripe=n?new Stripe(t,{betas:["payment_element_beta_1"],locale:e}):new Stripe(t,{locale:e})),this.stripe}loadStripe(){return new o.a(t=>{try{t(this.getStripe())}catch(e){t({error:e})}})}initSetupIntent(){var t;return this.request(this.getAjaxUrl("init_setup_intent"),{_ajax_nonce:null===(t=this.options)||void 0===t?void 0:t.createSetupIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}createIntent(t){var e;return this.request(this.getAjaxUrl("create_payment_intent"),{stripe_order_id:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.createPaymentIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateIntent(t,e,n,r){var o;if(!c()(t).call(t,"seti_"))return this.request(this.getAjaxUrl("update_payment_intent"),{stripe_order_id:e,wc_payment_intent_id:t,save_payment_method:n,selected_upe_payment_type:r,_ajax_nonce:null===(o=this.options)||void 0===o?void 0:o.updatePaymentIntentNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}confirmIntent(t,e){const n=t.match(/#wc-stripe-confirm-(pi|si):(.+):(.+):(.+)$/);if(!n)return!0;const r="si"===n[1];let o=n[2];const i=n[3],c=n[4],a=u()(t).call(t,"order-pay"),s=a>-1,l=s&&t.substring(a).match(/\d+/);return l&&(o=l[0]),{request:(r?this.getStripe().confirmCardSetup(i):this.getStripe(!0).confirmCardPayment(i)).then(t=>{const n=t.paymentIntent&&t.paymentIntent.id||t.setupIntent&&t.setupIntent.id||t.error&&t.error.payment_intent&&t.error.payment_intent.id||t.error.setup_intent&&t.error.setup_intent.id;return[this.request(this.getAjaxUrl("update_order_status"),{order_id:o,intent_id:n,payment_method_id:e||null,_ajax_nonce:c}),t.error]}).then(([t,e])=>{if(e)throw e;return t.then(t=>{if(!t.success)throw t.data.error;return t.data.return_url})}),isOrderPage:s}}saveUPEAppearance(t){var e;return this.request(this.getAjaxUrl("save_upe_appearance"),{appearance:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.saveUPEAppearanceNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}processCheckout(t,e){return this.request(this.getAjaxUrl("checkout",""),{...e,wc_payment_intent_id:t}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateFailedOrder(t,e){var n;this.request(this.getAjaxUrl("update_failed_order"),{intent_id:t,order_id:e,_ajax_nonce:null===(n=this.options)||void 0===n?void 0:n.updateFailedOrderNonce}).catch(()=>{})}}},function(t,e,n){"use strict";var r=n(0),o=n(189),i=n.n(o),c=n(117),a=n(23),u=n(15),s=n.n(u),l=n(7);const p=({onButtonClicked:t})=>{var e,n;const{theme:o="dark",locale:i="en",height:c="44"}=null===(e=Object(l.c)())||void 0===e?void 0:e.button,a=["short","long"],{branded_type:u}=null===(n=Object(l.c)())||void 0===n?void 0:n.button,p=s()(a).call(a,u)?u:"long",f=((t,e,n)=>{const o="long"===t?`https://www.gstatic.com/instantbuy/svg/${e}/${n}.svg`:`https://www.gstatic.com/instantbuy/svg/${e}_gpay.svg`,[i,c]=Object(r.useState)(o);return Object(r.useEffect)(()=>{const t=document.createElement("img");t.addEventListener("error",()=>{c(`https://www.gstatic.com/instantbuy/svg/${e}/en.svg`)}),t.src=i},[i,e]),i})(p,"dark"===o?"dark":"light",i);return Object(r.createElement)("button",{type:"button",id:"wc-stripe-branded-button","aria-label":"Google Pay",className:`gpay-button ${o} ${p}`,style:{backgroundImage:`url(${f})`,height:c+"px"},onClick:t})};var f=n(1);const d=({onButtonClicked:t})=>{var e;const{theme:n="dark",height:o="44",customLabel:i=Object(f.__)("Buy now","woocommerce-gateway-stripe")}=null===(e=Object(l.c)())||void 0===e?void 0:e.button;return Object(r.createElement)("button",{type:"button",id:"wc-stripe-custom-button",className:`button ${n} is-active`,style:{height:o+"px"},onClick:t},i)};var v=n(37),y=n.n(v),m=n(94),h=n.n(m);const g=t=>({country:t.country,state:t.region,postcode:t.postalCode,city:t.city,address:void 0===t.addressLine[0]?"":t.addressLine[0],address_2:void 0===t.addressLine[1]?"":t.addressLine[1]}),b=(t,e="wc_stripe_")=>{var n,r,o;return null===(n=Object(l.c)())||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)},_=()=>{var t,e;const n={security:null===(t=Object(l.c)())||void 0===t||null===(e=t.nonce)||void 0===e?void 0:e.payment};return y.a.ajax({type:"POST",data:n,url:b("get_cart_details")})},w=t=>{const{shippingOption:e}=t;(t=>{var e,n,r;const o={security:null===(e=Object(l.c)())||void 0===e||null===(n=e.nonce)||void 0===n?void 0:n.update_shipping,shipping_method:[t.id],is_product_page:null===(r=Object(l.c)())||void 0===r?void 0:r.is_product_page};return y.a.ajax({type:"POST",data:o,url:b("update_shipping_method")})})(e).then(e=>{"success"===e.result&&t.updateWith({status:"success",total:e.total,displayItems:e.displayItems}),"fail"===e.result&&t.updateWith({status:"fail"})})},j=(t,e,n,o)=>{Object(r.useEffect)(()=>{const r=null==e?void 0:e.on("source",((t,e,n)=>r=>{var o,i,c,a,u,s;"yes"===(null===(o=Object(l.c)())||void 0===o||null===(i=o.stripe)||void 0===i?void 0:i.allow_prepaid_card)||"prepaid"!==(null==r||null===(c=r.source)||void 0===c||null===(a=c.card)||void 0===a?void 0:a.funding)?((t,e)=>{const n=((t,e)=>{var n,r,o,i,c,a,u,s,p,f,d,v,y,m,g,b,_,w,j,x;const{source:O}=t,E=null==O||null===(n=O.owner)||void 0===n?void 0:n.email,S=null==O||null===(r=O.owner)||void 0===r?void 0:r.phone,C=null==O||null===(o=O.owner)||void 0===o?void 0:o.address,P=null==O||null===(i=O.owner)||void 0===i?void 0:i.name,A=null==t?void 0:t.shippingAddress,k={_wpnonce:null===(c=Object(l.c)())||void 0===c||null===(a=c.nonce)||void 0===a?void 0:a.checkout,billing_first_name:null!==(u=null==P||null===(s=P.split(" "))||void 0===s||null===(p=h()(s).call(s,0,1))||void 0===p?void 0:p.join(" "))&&void 0!==u?u:"",billing_last_name:null!==(f=null==P||null===(d=P.split(" "))||void 0===d||null===(v=h()(d).call(d,1))||void 0===v?void 0:v.join(" "))&&void 0!==f?f:"",billing_company:"",billing_email:null!=E?E:null==t?void 0:t.payerEmail,billing_phone:null!=S?S:null==t||null===(y=t.payerPhone)||void 0===y?void 0:y.replace("/[() -]/g",""),billing_country:null!==(m=null==C?void 0:C.country)&&void 0!==m?m:"",billing_address_1:null!==(g=null==C?void 0:C.line1)&&void 0!==g?g:"",billing_address_2:null!==(b=null==C?void 0:C.line2)&&void 0!==b?b:"",billing_city:null!==(_=null==C?void 0:C.city)&&void 0!==_?_:"",billing_state:null!==(w=null==C?void 0:C.state)&&void 0!==w?w:"",billing_postcode:null!==(j=null==C?void 0:C.postal_code)&&void 0!==j?j:"",shipping_first_name:"",shipping_last_name:"",shipping_company:"",shipping_country:"",shipping_address_1:"",shipping_address_2:"",shipping_city:"",shipping_state:"",shipping_postcode:"",shipping_method:[null==t||null===(x=t.shippingOption)||void 0===x?void 0:x.id],order_comments:"",payment_method:"stripe",ship_to_different_address:1,terms:1,stripe_source:O.id,payment_request_type:e};var T,I,M,L,R,N,q,F,B,U;return A&&(k.shipping_first_name=null==A||null===(T=A.recipient)||void 0===T||null===(I=T.split(" "))||void 0===I||null===(M=h()(I).call(I,0,1))||void 0===M?void 0:M.join(" "),k.shipping_last_name=null==A||null===(L=A.recipient)||void 0===L||null===(R=L.split(" "))||void 0===R||null===(N=h()(R).call(R,1))||void 0===N?void 0:N.join(" "),k.shipping_company=null==A?void 0:A.organization,k.shipping_country=null==A?void 0:A.country,k.shipping_address_1=null!==(q=null==A||null===(F=A.addressLine)||void 0===F?void 0:F[0])&&void 0!==q?q:"",k.shipping_address_2=null!==(B=null==A||null===(U=A.addressLine)||void 0===U?void 0:U[1])&&void 0!==B?B:"",k.shipping_city=null==A?void 0:A.city,k.shipping_state=null==A?void 0:A.region,k.shipping_postcode=null==A?void 0:A.postalCode),k})(t,e);return y.a.ajax({type:"POST",data:n,dataType:"json",url:b("create_order")})})(r,e).then(((t,e,n)=>r=>{if("success"===r.result){e.complete("success");const o=(t=>{const e=t.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(e&&!(e.length<4))return{type:e[1],clientSecret:e[2],redirectUrl:decodeURIComponent(e[3])}})(r.redirect);if(!o||o.length<4)return void(window.location=r.redirect);const{type:i,clientSecret:c,redirectUrl:a}=o;((t,e,n)=>"si"===e?t.handleCardSetup(n):t.handleCardPayment(n))(t,i,c).then(((t,e)=>n=>{if(n.error)throw n.error;const r=((t,e)=>"si"===e?t.setupIntent:t.paymentIntent)(n,e);((t=>"requires_capture"===t.status)(r)||(t=>"succeeded"===t.status)(r))&&(window.location=t)})(a,i)).catch(t=>{n(t.message),y.a.get(a+"&is_ajax")})}else{var o,i;e.complete("fail");const t=document.createElement("div");t.innerHTML=r.messages;const c=null!==(o=null==t||null===(i=t.firstChild)||void 0===i?void 0:i.textContent)&&void 0!==o?o:"";n(c)}})(t,r,n)):n(null===(u=Object(l.c)())||void 0===u||null===(s=u.i18n)||void 0===s?void 0:s.no_prepaid_card)})(t,n,o));return()=>{null==r||r.removeEventListener("source")}},[t,e,n,o])},x=({billing:t,shippingData:e,onClick:n,onClose:o,setExpressPaymentError:i})=>{var c,u,s,f,v,m,h;const x=Object(a.useStripe)(),{needsShipping:O}=e,[E,S,C]=((t,e,n)=>{const[o,i]=Object(r.useState)(null),[c,a]=Object(r.useState)(null),[u,s]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{t&&(async()=>{const e=await _(),n=Object(l.a)(t,e),r=await n.canMakePayment();r?(i(n),a(()=>r.applePay?"apple_pay":r.googlePay?"google_pay":"payment_request_api")):i(null)})()},[t,e]),Object(r.useEffect)(()=>{o&&(async()=>{s(!0);const t=await _();Object(l.d)(o,t),s(!1)})()},[o,n.cartTotal,n.cartTotalItems,n.currency.code]),[o,c,u]})(x,O,t);((t,e)=>{Object(r.useEffect)(()=>{const n=null==t?void 0:t.on("shippingaddresschange",(t=>e=>{const{shippingAddress:n}=e;((t,e)=>{var n,r,o;const i={security:null===(n=Object(l.c)())||void 0===n||null===(r=n.nonce)||void 0===r?void 0:r.shipping,payment_request_type:e,is_product_page:null===(o=Object(l.c)())||void 0===o?void 0:o.is_product_page,...g(t)};return y.a.ajax({type:"POST",data:i,url:b("get_shipping_options")})})(n,t).then(t=>{e.updateWith({status:t.result,shippingOptions:t.shipping_options,total:t.total,displayItems:t.displayItems})})})(e));return()=>{null==n||n.removeEventListener("shippingaddresschange")}},[t,e])})(E,S),((t,e)=>{Object(r.useEffect)(()=>{const e=null==t?void 0:t.on("shippingoptionchange",w);return()=>{null==e||e.removeEventListener("shippingoptionchange")}},[t,e])})(E,S),j(x,E,S,i);const P=((t,e,n)=>Object(r.useCallback)((r,o)=>{var i;if(null!==(i=Object(l.c)())&&void 0!==i&&i.login_confirmation)return r.preventDefault(),void(t=>{var e,n,r;if(null===(e=Object(l.c)())||void 0===e||!e.login_confirmation)return;let o=null===(n=Object(l.c)())||void 0===n||null===(r=n.login_confirmation)||void 0===r?void 0:r.message;var i,c;"payment_request_api"!==t&&(o=o.replace(/\*\*.*?\*\*/,"apple_pay"===t?"Apple Pay":"Google Pay")),o=o.replace(/\*\*/g,""),confirm(o)&&(window.location.href=null===(i=Object(l.c)())||void 0===i||null===(c=i.login_confirmation)||void 0===c?void 0:c.redirect_url)})(t);e(""),n(),o&&o.show()},[t,e,n]))(S,i,n);((t,e)=>{Object(r.useEffect)(()=>{const n=null==t?void 0:t.on("cancel",e);return()=>{null==n||n.removeEventListener("cancel")}},[t,e])})(E,o);const{type:A="default",theme:k="dark",height:T="48"}=null===(c=Object(l.c)())||void 0===c?void 0:c.button,I={paymentRequestButton:{type:A,theme:k,height:T+"px"}},M=null===(u=Object(l.c)())||void 0===u||null===(s=u.button)||void 0===s?void 0:s.is_branded,L=null===(f=Object(l.c)())||void 0===f||null===(v=f.button)||void 0===v?void 0:v.branded_type,R=null===(m=Object(l.c)())||void 0===m||null===(h=m.button)||void 0===h?void 0:h.is_custom;return E?R?Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(d,{className:C?"wc-block-components-loading-mask__children":"",onButtonClicked:t=>{P(t,E)}})):M&&(()=>{const t=window.navigator.userAgent.toLowerCase(),e=/chrome/.test(t)&&!/edge|edg|opr|brave\//.test(t)&&"Google Inc."===window.navigator.vendor,n=e&&window.navigator.brave;return e&&!n})()?Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(p,{className:C?"wc-block-components-loading-mask__children":"",onButtonClicked:t=>{P(t,E)}})):(M&&(I.paymentRequestButton.type="long"===L?"buy":"default"),Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(a.PaymentRequestButtonElement,{className:C?"wc-block-components-loading-mask__children":"",onClick:P,options:{style:I,paymentRequest:E}}))):null};var O,E,S=n(120);const C=Object(S.a)(),P={name:"payment_request",content:Object(r.createElement)(t=>{const{stripe:e}=t;return Object(r.createElement)(a.Elements,{stripe:e},Object(r.createElement)(x,t))},{stripe:C}),edit:Object(r.createElement)(()=>Object(r.createElement)("img",{src:"data:image/svg+xml,%3Csvg width='264' height='48' viewBox='0 0 264 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='264' height='48' rx='3' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.114 16.6407C125.682 15.93 126.067 14.9756 125.966 14C125.135 14.0415 124.121 14.549 123.533 15.2602C123.006 15.8693 122.539 16.8641 122.661 17.7983C123.594 17.8797 124.526 17.3317 125.114 16.6407Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.955 17.982C124.601 17.9011 123.448 18.7518 122.801 18.7518C122.154 18.7518 121.163 18.0224 120.092 18.0421C118.696 18.0629 117.402 18.8524 116.694 20.1079C115.238 22.6196 116.31 26.3453 117.726 28.3909C118.414 29.4028 119.242 30.5174 120.334 30.4769C121.366 30.4365 121.77 29.8087 123.024 29.8087C124.277 29.8087 124.641 30.4769 125.733 30.4567C126.865 30.4365 127.573 29.4443 128.261 28.4313C129.049 27.2779 129.373 26.1639 129.393 26.1027C129.373 26.0825 127.209 25.2515 127.189 22.7606C127.169 20.6751 128.888 19.6834 128.969 19.6217C127.998 18.1847 126.481 18.0224 125.955 17.982Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M136.131 23.1804H138.834C140.886 23.1804 142.053 22.0752 142.053 20.1592C142.053 18.2432 140.886 17.1478 138.845 17.1478H136.131V23.1804ZM139.466 15.1582C142.411 15.1582 144.461 17.1903 144.461 20.1483C144.461 23.1172 142.369 25.1596 139.392 25.1596H136.131V30.3498H133.775V15.1582H139.466Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.198 26.224V25.3712L149.579 25.5397C148.106 25.6341 147.339 26.182 147.339 27.14C147.339 28.0664 148.138 28.6667 149.39 28.6667C150.988 28.6667 152.198 27.6449 152.198 26.224ZM145.046 27.2032C145.046 25.2551 146.529 24.1395 149.263 23.971L152.198 23.7922V22.9498C152.198 21.7181 151.388 21.0442 149.947 21.0442C148.758 21.0442 147.896 21.6548 147.717 22.5916H145.592C145.656 20.6232 147.507 19.1914 150.01 19.1914C152.703 19.1914 154.459 20.602 154.459 22.7917V30.351H152.282V28.5298H152.229C151.609 29.719 150.241 30.4666 148.758 30.4666C146.571 30.4666 145.046 29.1612 145.046 27.2032Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M156.461 34.4145V32.5934C156.608 32.6141 156.965 32.6354 157.155 32.6354C158.196 32.6354 158.785 32.1932 159.142 31.0564L159.353 30.3824L155.366 19.3281H157.827L160.604 28.298H160.657L163.434 19.3281H165.832L161.698 30.9402C160.752 33.6038 159.668 34.4778 157.376 34.4778C157.197 34.4778 156.618 34.4565 156.461 34.4145Z' fill='white'/%3E%3C/svg%3E%0A",alt:""}),null),canMakePayment:t=>{var e,n,r;return!(null===(e=null===(n=Object(l.c)())||void 0===n?void 0:n.isAdmin)||void 0===e||!e)||!(null===(r=Object(l.c)())||void 0===r||!r.shouldShowPaymentRequestButton)&&Object(S.a)().then(e=>{var n,r,o,a,u;const s={order_data:{total:{label:"Total",amount:i()(null!==(n=null==t||null===(r=t.cartTotals)||void 0===r?void 0:r.total_price)&&void 0!==n?n:0,10),pending:!0},currency:null==t||null===(o=t.cartTotals)||void 0===o||null===(a=o.currency_code)||void 0===a?void 0:a.toLowerCase(),country_code:null===(u=Object(c.getSetting)("baseLocation",{}))||void 0===u?void 0:u.country,displayItems:[]},shipping_required:!1};return Object(l.a)(e,s).canMakePayment()})},paymentMethodId:"stripe",supports:{features:null!==(O=null===(E=Object(l.c)())||void 0===E?void 0:E.supports)&&void 0!==O?O:[]}};e.a=P},,,function(t,e,n){var r=n(198);t.exports=r},function(t,e,n){n(199);var r=n(27);t.exports=r.parseInt},function(t,e,n){var r=n(12),o=n(200);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,e,n){var r=n(9),o=n(153).trim,i=n(116),c=r.parseInt,a=/^[+-]?0[Xx]/,u=8!==c(i+"08")||22!==c(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return c(n,e>>>0||(a.test(n)?16:10))}:c},function(t,e,n){var r=n(202);t.exports=r},function(t,e,n){var r=n(203),o=Array.prototype;t.exports=function(t){var e=t.slice;return t===o||t instanceof Array&&e===o.slice?r:e}},function(t,e,n){n(204);var r=n(28);t.exports=r("Array").slice},function(t,e,n){"use strict";var r=n(12),o=n(17),i=n(101),c=n(89),a=n(40),u=n(38),s=n(144),l=n(10),p=n(83)("slice"),f=l("species"),d=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,l,p=u(this),y=a(p.length),m=c(t,y),h=c(void 0===e?y:e,y);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(p,m,h);for(r=new(void 0===n?Array:n)(v(h-m,0)),l=0;m<h;m++,l++)m in p&&s(r,l,p[m]);return r.length=l,r}})},,,,,,,function(t,e,n){var r=n(212);t.exports=r},function(t,e,n){var r=n(213),o=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===o||t instanceof String&&e===o.trim?r:e}},function(t,e,n){n(214);var r=n(28);t.exports=r("String").trim},function(t,e,n){"use strict";var r=n(12),o=n(153).trim;r({target:"String",proto:!0,forced:n(215)("trim")},{trim:function(){return o(this)}})},function(t,e,n){var r=n(13),o=n(116);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},function(t,e,n){var r=n(217);t.exports=r},function(t,e,n){var r=n(218),o=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===o||t instanceof Array&&e===o.indexOf?r:e}},function(t,e,n){n(219);var r=n(28);t.exports=r("Array").indexOf},function(t,e,n){"use strict";var r=n(12),o=n(64).indexOf,i=n(132),c=[].indexOf,a=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:a||!u},{indexOf:function(t){return a?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(148),o=n(8),i=n.n(o),c=n(0),a=n(62),u=n.n(a),s=n(1),l=n(15),p=n.n(l),f=n(23),d=n(192),v=n.n(d),y=n(7),m=n(105);const h=({api:t,activePaymentMethod:e,billing:{billingData:n},elements:r,emitResponse:o,eventRegistration:{onPaymentProcessing:i,onCheckoutAfterProcessingWithSuccess:a},shouldSavePayment:u,stripe:l})=>{var d,h;const[g,b]=Object(c.useState)(null),[_,w]=Object(c.useState)(null),[j,x]=Object(c.useState)(""),[O,E]=Object(c.useState)(!1),[S,C]=Object(c.useState)(!1),[P,A]=Object(c.useState)(null),k=null===(d=Object(y.c)())||void 0===d?void 0:d.paymentMethodsConfig;Object(c.useEffect)(()=>{_||O||(E(!0),async function(){try{var e,n;const r=(null===(e=Object(y.c)())||void 0===e?void 0:e.isPaymentNeeded)?await t.createIntent(null===(n=Object(y.c)())||void 0===n?void 0:n.orderId):await t.initSetupIntent();w(r.id),b(r.client_secret)}catch(t){var r;A(null!==(r=null==t?void 0:t.message)&&void 0!==r?r:Object(s.__)("There was an error loading the payment gateway","woocommerce-gateway-stripe"))}}())},[_,O,t,P]),Object(c.useEffect)(()=>i(()=>{if("stripe"===e)return S?P?{type:"error",message:P}:u&&!k[j].isReusable?{type:"error",message:Object(s.__)("This payment method can not be saved for future use.","woocommerce-gateway-stripe")}:{type:"success",meta:{paymentMethodData:{paymentMethod:m.a,wc_payment_intent_id:_,wc_stripe_selected_upe_payment_type:j}}}:{type:"error",message:Object(s.__)("Your payment information is incomplete.","woocommerce-gateway-stripe")}}),[e,S,u,j]),Object(c.useEffect)(()=>a(({orderId:e,processingResponse:{paymentDetails:i}})=>async function(){await t.updateIntent(_,e,u?"yes":"no",j);const c=r.getElement(f.PaymentElement);return(async(t,e,n,r,o,i)=>{var c;const a=v()(c=`${o.first_name} ${o.last_name}`).call(c);try{const i={return_url:e,payment_method_data:{billing_details:{name:a,email:null==o?void 0:o.email,phone:null==o?void 0:o.phone,address:{country:null==o?void 0:o.country,postal_code:null==o?void 0:o.postcode,state:null==o?void 0:o.state,city:null==o?void 0:o.city,line1:null==o?void 0:o.address_1,line2:null==o?void 0:o.address_2}}}};if(n){const{error:e}=await t.getStripe().confirmPayment({element:r,confirmParams:i});if(e)throw e}else{const{error:e}=await t.getStripe().confirmSetup({element:r,confirmParams:i});if(e)throw e}}catch(t){return{type:"error",message:t.message,messageContext:i.noticeContexts.PAYMENTS}}})(t,i.redirect_url,i.payment_needed,c,n,o)}()),[t,r,_,j,n,u,l]);const T=Object(y.c)().enabledBillingFields,I={clientSecret:g,business:{name:null===(h=Object(y.c)())||void 0===h?void 0:h.accountDescriptor},fields:{billingDetails:{name:p()(T).call(T,"billing_first_name")||p()(T).call(T,"billing_last_name")?"never":"auto",email:p()(T).call(T,"billing_email")?"never":"auto",phone:p()(T).call(T,"billing_phone")?"never":"auto",address:{country:p()(T).call(T,"billing_country")?"never":"auto",line1:p()(T).call(T,"billing_address_1")?"never":"auto",line2:p()(T).call(T,"billing_address_2")?"never":"auto",city:p()(T).call(T,"billing_city")?"never":"auto",state:p()(T).call(T,"billing_state")?"never":"auto",postalCode:p()(T).call(T,"billing_postcode")?"never":"auto"}}}};return g?Object(c.createElement)("div",{className:"wc-block-gateway-container"},Object(c.createElement)(f.PaymentElement,{options:I,onChange:t=>{C(t.complete),x(t.value.type)}})):P?Object(c.createElement)("div",{className:"woocommerce-error"},Object(c.createElement)("div",{className:"components-notice__content"},P)):null},g=({api:t,...e})=>Object(c.createElement)(f.Elements,{stripe:t.getStripe()},Object(c.createElement)(f.ElementsConsumer,null,({stripe:n,elements:r})=>Object(c.createElement)(h,i()({api:t,elements:r,stripe:n},e))));var b,_,w,j,x,O;const E=new(n(193).a)(Object(y.c)(),async(t,e)=>{const n=new FormData;for(const t in e)n.append(t,e[t]);const r=await fetch(t,{method:"POST",body:n});return await r.json()}),S=({RenderedComponent:t,...e})=>{const[n,r]=Object(c.useState)(""),o=E.getStripe();return Object(c.useEffect)(()=>{u.a.resolve(o).then(({error:t})=>{t&&r(t.message)})},[r,o]),Object(c.useEffect)(()=>{if(n)throw new Error(n)},[n]),Object(c.createElement)(t,i()({stripe:o},e))};var C={name:m.a,label:Object(c.createElement)(t=>{var e,n;const{PaymentMethodLabel:r}=t.components,o=null!==(e=null===(n=Object(y.c)())||void 0===n?void 0:n.title)&&void 0!==e?e:Object(s.__)("Credit / Debit Card","woocommerce-gateway-stripe");return Object(c.createElement)(r,{text:o})},null),content:Object(c.createElement)(S,{RenderedComponent:g,api:E}),edit:Object(c.createElement)(S,{RenderedComponent:g,api:E}),savedTokenComponent:Object(c.createElement)(S,{RenderedComponent:({api:t,stripe:e,elements:n,eventRegistration:{onCheckoutAfterProcessingWithSuccess:r},emitResponse:o})=>(((t,e,n,r,o,i)=>{Object(c.useEffect)(()=>r(({processingResponse:{paymentDetails:e}})=>async function(t,e,n,r){const{redirect:o,payment_method:i}=e;try{const e=t.confirmIntent(o,null);if(!0===e)return{type:"success",redirectUrl:o};const{request:n}=e;return{type:"success",redirectUrl:await n}}catch(t){return{type:"error",message:t.message,messageContext:n.noticeContexts.PAYMENTS}}}(t,e,o)),[n,e,t,!1])})(t,e,n,r,o),Object(c.createElement)(c.Fragment,null)),api:E}),canMakePayment:()=>!!E.getStripe(),ariaLabel:Object(s.__)("Stripe Credit Card payment method","woocommerce-gateway-stripe"),supports:{showSavedCards:null!==(b=null===(_=Object(y.c)())||void 0===_?void 0:_.showSavedCards)&&void 0!==b&&b,showSaveOption:null!==(w=null===(j=Object(y.c)())||void 0===j?void 0:j.showSaveOption)&&void 0!==w&&w,features:null!==(x=null===(O=Object(y.c)())||void 0===O?void 0:O.supports)&&void 0!==x?x:[]}},P=n(194);Object(r.registerPaymentMethod)(C),Object(r.registerExpressPaymentMethod)(P.a)}]);
1
+ !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=281)}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.React},function(t,e){t.exports=window.wp.i18n},,,,,function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return a}));var r=n(133);const o=()=>{const t=Object(r.getSetting)("stripe_data",null);if(!t)throw new Error("Stripe initialization data is not available");return t},i=(t,e)=>{var n,r;const i={total:e.order_data.total,currency:e.order_data.currency,country:e.order_data.country_code,requestPayerName:!0,requestPayerEmail:!0,requestPayerPhone:null===(n=o())||void 0===n||null===(r=n.checkout)||void 0===r?void 0:r.needs_payer_phone,requestShipping:!!e.shipping_required,displayItems:e.order_data.displayItems};return"PR"===i.country&&(i.country="US"),t.paymentRequest(i)},c=(t,e)=>{const n={total:e.order_data.total,currency:e.order_data.currency,displayItems:e.order_data.displayItems};t.update(n)},a=()=>{var t;const e=null===(t=o())||void 0===t?void 0:t.key;if(!e)throw new Error("There is no api key available for stripe. Make sure it is available on the wc.stripe_data.stripe.key property.");return e}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(99))},function(t,e,n){var r=n(9),o=n(76),i=n(19),c=n(77),a=n(67),u=n(103),s=o("wks"),l=r.Symbol,p=u?l:l&&l.withoutSetter||c;t.exports=function(t){return i(s,t)&&(a||"string"==typeof s[t])||(a&&i(l,t)?s[t]=l[t]:s[t]=p("Symbol."+t)),s[t]}},function(t,e,n){"use strict";var r=n(9),o=n(74).f,i=n(83),c=n(24),a=n(39),u=n(20),s=n(19),l=function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,p,f,d,v,y,m,h,g=t.target,b=t.global,_=t.stat,w=t.proto,j=b?r:_?r[g]:(r[g]||{}).prototype,x=b?c:c[g]||(c[g]={}),O=x.prototype;for(f in e)n=!i(b?f:g+(_?".":"#")+f,t.forced)&&j&&s(j,f),v=x[f],n&&(y=t.noTargetGet?(h=o(j,f))&&h.value:j[f]),d=n&&y?y:e[f],n&&typeof v==typeof d||(m=t.bind&&n?a(d,r):t.wrap&&n?l(d):w&&"function"==typeof d?a(Function.call,d):d,(t.sham||d&&d.sham||v&&v.sham)&&u(m,"sham",!0),x[f]=m,w&&(s(c,p=g+"Prototype")||u(c,p,{}),c[p][f]=d,t.real&&O&&!O[f]&&u(O,f,d)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,function(t,e,n){t.exports=n(106)},,function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},,function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(21),o=n(38),i=n(34);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(17);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},,function(t,e){t.exports={}},function(t,e,n){var r=n(24);t.exports=function(t){return r[t+"Prototype"]}},function(t,e,n){!function(t,e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(){}function i(){}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,i.resetWarningCache=o;var c=function(t,e){return function(t){t.exports=function(){function t(t,e,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}()}(e={exports:{}}),e.exports}(),a=function(t){return null!==t&&"object"===n(t)},u=function t(e,n){if(!a(e)||!a(n))return e===n;var r=Array.isArray(e);if(r!==Array.isArray(n))return!1;var o="[object Object]"===Object.prototype.toString.call(e);if(o!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!o&&!r)return!1;var i=Object.keys(e),c=Object.keys(n);if(i.length!==c.length)return!1;for(var u={},s=0;s<i.length;s+=1)u[i[s]]=!0;for(var l=0;l<c.length;l+=1)u[c[l]]=!0;var p=Object.keys(u);if(p.length!==i.length)return!1;var f=e,d=n;return p.every((function(e){return t(f[e],d[e])}))},s=function(t){var n=e.useRef(t);return e.useEffect((function(){n.current=t}),[t]),n.current},l=function(t){if(null===t||a(e=t)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return t;var e;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=e.createContext(null);p.displayName="ElementsContext";var f=function(t){var n,o,i=t.stripe,c=t.options,f=t.children,d=e.useRef(!1),v=e.useRef(!0),y=e.useMemo((function(){return function(t){if(function(t){return a(t)&&"function"==typeof t.then}(t))return{tag:"async",stripePromise:Promise.resolve(t).then(l)};var e=l(t);return null===e?{tag:"empty"}:{tag:"sync",stripe:e}}(i)}),[i]),m=(n=e.useState((function(){return{stripe:null,elements:null}})),o=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=t[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!e||n.length!==e);_n=!0);}catch(t){r=!0,o=t}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}}(n,o)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=m[0],g=m[1],b=s(i),_=s(c);return null!==b&&(b!==i&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),u(c,_)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),d.current||("sync"===y.tag&&(d.current=!0,g({stripe:y.stripe,elements:y.stripe.elements(c)})),"async"===y.tag&&(d.current=!0,y.stripePromise.then((function(t){t&&v.current&&g({stripe:t,elements:t.elements(c)})})))),e.useEffect((function(){return function(){v.current=!1}}),[]),e.useEffect((function(){var t=h.stripe;t&&t._registerWrapper&&t.registerAppInfo&&(t._registerWrapper({name:"react-stripe-js",version:"1.4.1"}),t.registerAppInfo({name:"react-stripe-js",version:"1.4.1",url:"https://stripe.com/docs/stripe-js/react"}))}),[h.stripe]),e.createElement(p.Provider,{value:h},f)};f.propTypes={stripe:c.any,options:c.object};var d=function(t){return function(t,e){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(e," in an <Elements> provider."));return t}(e.useContext(p),t)},v=function(t){return(0,t.children)(d("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var y=function(t){var n=e.useRef(t);return e.useEffect((function(){n.current=t}),[t]),function(){n.current&&n.current.apply(n,arguments)}},m=function(t){return a(t)?(t.paymentRequest,function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["paymentRequest"])):{}},h=function(){},g=function(t,n){var r,o="".concat((r=t).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(t){d("mounts <".concat(o,">"));var n=t.id,r=t.className;return e.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,c=n.options,a=void 0===c?{}:c,s=n.onBlur,l=void 0===s?h:s,p=n.onFocus,f=void 0===p?h:p,v=n.onReady,g=void 0===v?h:v,b=n.onChange,_=void 0===b?h:b,w=n.onEscape,j=void 0===w?h:w,x=n.onClick,O=void 0===x?h:x,E=d("mounts <".concat(o,">")).elements,S=e.useRef(null),C=e.useRef(null),P=y(g),A=y(l),k=y(f),T=y(O),I=y(_),M=y(j);e.useLayoutEffect((function(){if(null==S.current&&E&&null!=C.current){var e=E.create(t,a);S.current=e,e.mount(C.current),e.on("ready",(function(){return P(e)})),e.on("change",I),e.on("blur",A),e.on("focus",k),e.on("escape",M),e.on("click",T)}}));var L=e.useRef(a);return e.useEffect((function(){L.current&&L.current.paymentRequest!==a.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var t=m(a);0===Object.keys(t).length||u(t,m(L.current))||S.current&&(S.current.update(t),L.current=a)}),[a]),e.useLayoutEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),e.createElement("div",{id:r,className:i,ref:C})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=o,i.__elementType=t,i},b="undefined"==typeof window,_=g("auBankAccount",b),w=g("card",b),j=g("cardNumber",b),x=g("cardExpiry",b),O=g("cardCvc",b),E=g("fpxBank",b),S=g("iban",b),C=g("idealBank",b),P=g("p24Bank",b),A=g("epsBank",b),k=g("payment",b),T=g("paymentRequestButton",b),I=g("afterpayClearpayMessage",b);t.AfterpayClearpayMessageElement=I,t.AuBankAccountElement=_,t.CardCvcElement=O,t.CardElement=w,t.CardExpiryElement=x,t.CardNumberElement=j,t.Elements=f,t.ElementsConsumer=v,t.EpsBankElement=A,t.FpxBankElement=E,t.IbanElement=S,t.IdealBankElement=C,t.P24BankElement=P,t.PaymentElement=k,t.PaymentRequestButtonElement=T,t.useElements=function(){return d("calls useElements()").elements},t.useStripe=function(){return d("calls useStripe()").stripe},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(1))},,,function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(48),o=n(31);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},,function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(50),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(24),o=n(9),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=!0},function(t,e,n){var r=n(21),o=n(65),i=n(22),c=n(49),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(32);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(29),o=n(9);t.exports="process"==r(o.process)},function(t,e,n){var r,o,i=n(9),c=n(60),a=i.process,u=a&&a.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e){t.exports={}},,function(t,e){t.exports=window.jQuery},,,function(t,e,n){var r=n(12),o=n(29),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(17);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},,,,,,function(t,e,n){var r=n(9),o=n(100),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(30),o=n(35),i=n(90),c=function(t){return function(e,n,c){var a,u=r(e),s=o(u.length),l=i(c,s);if(t&&n!=n){for(;s>l;)if((a=u[l++])!=a)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e){t.exports={}},function(t,e,n){var r=n(9),o=n(17),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(36);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(20);t.exports=function(t,e,n,o){o&&o.enumerable?t[e]=n:r(t,e,n)}},,,,function(t,e,n){var r=n(21),o=n(12),i=n(59);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(102),o=n(78);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(41),o=n(42),i=n(12);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},,,function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(80),o=n(38).f,i=n(20),c=n(19),a=n(154),u=n(10)("toStringTag");t.exports=function(t,e,n,s){if(t){var l=n?t:t.prototype;c(l,u)||o(l,u,{configurable:!0,value:e}),s&&!r&&i(l,"toString",a)}}},function(t,e,n){var r=n(12),o=n(10),i=n(42),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){t.exports=n(177)},function(t,e,n){var r=n(21),o=n(70),i=n(34),c=n(30),a=n(49),u=n(19),s=n(65),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=a(e,!0),s)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(76),o=n(77),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(37),o=n(56);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(80),o=n(29),i=n(10)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r={};r[n(10)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r,o,i,c=n(157),a=n(9),u=n(17),s=n(20),l=n(19),p=n(56),f=n(75),d=n(58),v=a.WeakMap;if(c){var y=p.state||(p.state=new v),m=y.get,h=y.has,g=y.set;r=function(t,e){return e.facade=t,g.call(y,t,e),e},o=function(t){return m.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=f("state");d[b]=!0,r=function(t,e){return e.facade=t,s(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(12),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(19),o=n(40),i=n(75),c=n(152),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(22),o=n(139),i=n(35),c=n(39),a=n(118),u=n(140),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,f,d,v,y,m,h=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=c(e,h,1+g+_),j=function(t){return l&&u(l),new s(!0,t)},x=function(t){return g?(r(t),_?w(t[0],t[1],j):w(t[0],t[1])):_?w(t,j):w(t)};if(b)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(f=0,d=i(t.length);d>f;f++)if((v=x(t[f]))&&v instanceof s)return v;return new s(!1)}l=p.call(t)}for(y=l.next;!(m=y.call(l)).done;){try{v=x(m.value)}catch(t){throw u(l),t}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},function(t,e,n){"use strict";var r=n(32),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},,,,function(t,e,n){var r=n(50),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},,function(t,e,n){var r=n(29);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(112);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(10)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r=n(12);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},,,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(9),o=n(20);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r,o=n(22),i=n(138),c=n(78),a=n(58),u=n(117),s=n(59),l=n(75)("IE_PROTO"),p=function(){},f=function(t){return"<script>"+t+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=r?function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};a[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(19),o=n(30),i=n(57).indexOf,c=n(58);t.exports=function(t,e){var n,a=o(t),u=0,s=[];for(n in a)!r(c,n)&&r(a,n)&&s.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(67);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r,o,i,c=n(12),a=n(84),u=n(20),s=n(19),l=n(10),p=n(37),f=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0);var v=null==r||c((function(){var t={};return r[f].call(t)!==t}));v&&(r={}),p&&!v||s(r,f)||u(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(t,e,n){var r=n(107);t.exports=r},function(t,e,n){var r=n(108),o=n(110),i=Array.prototype,c=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?r:"string"==typeof t||t===c||t instanceof String&&e===c.includes?o:e}},function(t,e,n){n(109);var r=n(25);t.exports=r("Array").includes},function(t,e,n){"use strict";var r=n(11),o=n(57).includes,i=n(82);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){n(111);var r=n(25);t.exports=r("String").includes},function(t,e,n){"use strict";var r=n(11),o=n(93),i=n(31);r({target:"String",proto:!0,forced:!n(94)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(17),o=n(29),i=n(10)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},,,function(t,e,n){t.exports=n(208)},function(t,e,n){var r=n(22),o=n(153);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(36);t.exports=r("document","documentElement")},function(t,e,n){var r=n(79),o=n(43),i=n(10)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(56),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e,n){"use strict";var r=n(11),o=n(148),i=n(84),c=n(116),a=n(71),u=n(20),s=n(61),l=n(10),p=n(37),f=n(43),d=n(105),v=d.IteratorPrototype,y=d.BUGGY_SAFARI_ITERATORS,m=l("iterator"),h=function(){return this};t.exports=function(t,e,n,l,d,g,b){o(n,e,l);var _,w,j,x=function(t){if(t===d&&P)return P;if(!y&&t in S)return S[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",E=!1,S=t.prototype,C=S[m]||S["@@iterator"]||d&&S[d],P=!y&&C||x(d),A="Array"==e&&S.entries||C;if(A&&(_=i(A.call(new t)),v!==Object.prototype&&_.next&&(p||i(_)===v||(c?c(_,v):"function"!=typeof _[m]&&u(_,m,h)),a(_,O,!0,!0),p&&(f[O]=h))),"values"==d&&C&&"values"!==C.name&&(E=!0,P=function(){return C.call(this)}),p&&!b||S[m]===P||u(S,m,P),f[e]=P,d)if(w={values:x("values"),keys:g?P:x("keys"),entries:x("entries")},b)for(j in w)(y||E||!(j in S))&&s(S,j,w[j]);else r({target:e,proto:!0,forced:y||E},w);return w}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="stripe"},,,,,,,,,,,function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e){t.exports=window.wc.wcSettings},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(73),o=n.n(r),i=n(150),c=n(8);const a=()=>new o.a(t=>{try{var e,n;const r=null!==(e=null===(n=Object(c.c)())||void 0===n?void 0:n.stripe_locale)&&void 0!==e?e:"auto";t(Object(i.a)(Object(c.b)(),{locale:r}))}catch(e){t({error:e})}})},,,function(t,e,n){var r=n(21),o=n(38),i=n(22),c=n(66);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),a=r.length,u=0;a>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r=n(10),o=n(43),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(22);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},function(t,e,n){var r=n(9);t.exports=r.Promise},function(t,e,n){var r=n(22),o=n(32),i=n(10)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r,o,i,c=n(9),a=n(12),u=n(39),s=n(117),l=n(59),p=n(144),f=n(41),d=c.location,v=c.setImmediate,y=c.clearImmediate,m=c.process,h=c.MessageChannel,g=c.Dispatch,b=0,_={},w=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},j=function(t){return function(){w(t)}},x=function(t){w(t.data)},O=function(t){c.postMessage(t+"",d.protocol+"//"+d.host)};v&&y||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},y=function(t){delete _[t]},f?r=function(t){m.nextTick(j(t))}:g&&g.now?r=function(t){g.now(j(t))}:h&&!p?(i=(o=new h).port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&d&&"file:"!==d.protocol&&!a(O)?(r=O,c.addEventListener("message",x,!1)):r="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(j(t),0)}),t.exports={set:v,clear:y}},function(t,e,n){var r=n(60);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r=n(22),o=n(17),i=n(86);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(147).charAt,o=n(81),i=n(120),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(50),o=n(31),i=function(t){return function(e,n){var i,c,a=String(o(e)),u=r(n),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(105).IteratorPrototype,o=n(101),i=n(34),c=n(71),a=n(43),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,s,!1,!0),a[s]=u,t}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",c=null,a=function(t,e,n){if(null===t)return null;var r=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"1.15.1",startTime:e})}(r,n),r},u=Promise.resolve().then((function(){return t=null,null!==c?c:c=new Promise((function(e,n){if("undefined"!=typeof window)if(window.Stripe&&t&&console.warn(i),window.Stripe)e(window.Stripe);else try{var c=function(){for(var t=document.querySelectorAll('script[src^="'.concat(r,'"]')),e=0;e<t.length;e++){var n=t[e];if(o.test(n.src))return n}return null}();c&&t?console.warn(i):c||(c=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(e);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n}(t)),c.addEventListener("load",(function(){window.Stripe?e(window.Stripe):n(new Error("Stripe.js not available"))})),c.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(t){return void n(t)}else e(null)}));var t})),s=!1;u.catch((function(t){s||console.warn(t)}));var l=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];s=!0;var r=Date.now();return u.then((function(t){return a(t,e,r)}))}},,function(t,e,n){var r=n(12);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(17);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(80),o=n(79);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(10)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(9),o=n(119),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,,,,,,,,function(t,e,n){"use strict";var r=n(49),o=n(38),i=n(34);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},,,function(t,e,n){t.exports=n(223)},function(t,e){t.exports=window.wc.wcBlocksRegistry},,function(t,e,n){var r=n(61);t.exports=function(t,e,n){for(var o in e)n&&n.unsafe&&t[o]?t[o]=e[o]:r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(30),o=n(82),i=n(43),c=n(81),a=n(120),u=c.set,s=c.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(31),o="["+n(132)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},,,function(t,e,n){var r=n(178);t.exports=r},function(t,e,n){n(179),n(180),n(181),n(186),n(187),n(188),n(146),n(189);var r=n(24);t.exports=r.Promise},function(t,e,n){"use strict";var r=n(11),o=n(84),i=n(116),c=n(101),a=n(20),u=n(34),s=n(85),l=function(t,e){var n=this;if(!(n instanceof l))return new l(t,e);i&&(n=i(new Error(void 0),o(n))),void 0!==e&&a(n,"message",String(e));var r=[];return s(t,r.push,{that:r}),a(n,"errors",r),n};l.prototype=c(Error.prototype,{constructor:u(5,l),message:u(5,""),name:u(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(t,e){},function(t,e,n){"use strict";var r,o,i,c,a=n(11),u=n(37),s=n(9),l=n(36),p=n(141),f=n(61),d=n(172),v=n(71),y=n(182),m=n(17),h=n(32),g=n(155),b=n(119),_=n(85),w=n(156),j=n(142),x=n(143).set,O=n(183),E=n(145),S=n(185),C=n(86),P=n(104),A=n(81),k=n(83),T=n(10),I=n(41),M=n(42),L=T("species"),R="Promise",N=A.get,q=A.set,F=A.getterFor(R),B=p,U=s.TypeError,D=s.document,H=s.process,W=l("fetch"),V=C.f,$=V,G=!!(D&&D.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,z=k(R,(function(){if(b(B)===String(B)){if(66===M)return!0;if(!I&&!Y)return!0}if(u&&!B.prototype.finally)return!0;if(M>=51&&/native code/.test(B))return!1;var t=B.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[L]=e,!(t.then((function(){}))instanceof e)})),Z=z||!w((function(t){B.all(t).catch((function(){}))})),X=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},K=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,a,u,s=n[i++],l=o?s.ok:s.fail,p=s.resolve,f=s.reject,d=s.domain;try{l?(o||(2===t.rejection&&et(t),t.rejection=1),!0===l?c=r:(d&&d.enter(),c=l(r),d&&(d.exit(),u=!0)),c===s.promise?f(U("Promise-chain cycle")):(a=X(c))?a.call(c,p,f):p(c)):f(r)}catch(t){d&&!u&&d.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&J(t)}))}},Q=function(t,e,n){var r,o;G?((r=D.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(o=s["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},J=function(t){x.call(s,(function(){var e,n=t.facade,r=t.value;if(tt(t)&&(e=P((function(){I?H.emit("unhandledRejection",r,n):Q("unhandledrejection",n,r)})),t.rejection=I||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){x.call(s,(function(){var e=t.facade;I?H.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},nt=function(t,e,n){return function(r){t(e,r,n)}},rt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,K(t,!0))},ot=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw U("Promise can't be resolved itself");var r=X(e);r?O((function(){var n={done:!1};try{r.call(e,nt(ot,n,t),nt(rt,n,t))}catch(e){rt(n,e,t)}})):(t.value=e,t.state=1,K(t,!1))}catch(e){rt({done:!1},e,t)}}};z&&(B=function(t){g(this,B,R),h(t),r.call(this);var e=N(this);try{t(nt(ot,e),nt(rt,e))}catch(t){rt(e,t)}},(r=function(t){q(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(t,e){var n=F(this),r=V(j(this,B));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=nt(ot,e),this.reject=nt(rt,e)},C.f=V=function(t){return t===B||t===i?new o(t):$(t)},u||"function"!=typeof p||(c=p.prototype.then,f(p.prototype,"then",(function(t,e){var n=this;return new B((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(B,W.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:z},{Promise:B}),v(B,R,!1,!0),y(R),i=l(R),a({target:R,stat:!0,forced:z},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:R,stat:!0,forced:u||z},{resolve:function(t){return E(u&&this===i?B:this,t)}}),a({target:R,stat:!0,forced:Z},{all:function(t){var e=this,n=V(e),r=n.resolve,o=n.reject,i=P((function(){var n=h(e.resolve),i=[],c=0,a=1;_(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=V(e),r=n.reject,o=P((function(){var o=h(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){"use strict";var r=n(36),o=n(38),i=n(10),c=n(21),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r,o,i,c,a,u,s,l,p=n(9),f=n(74).f,d=n(143).set,v=n(144),y=n(184),m=n(41),h=p.MutationObserver||p.WebKitMutationObserver,g=p.document,b=p.process,_=p.Promise,w=f(p,"queueMicrotask"),j=w&&w.value;j||(r=function(){var t,e;for(m&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},v||m||y||!h||!g?_&&_.resolve?(s=_.resolve(void 0),l=s.then,c=function(){l.call(s,r)}):c=m?function(){b.nextTick(r)}:function(){d.call(p,r)}:(a=!0,u=g.createTextNode(""),new h(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=j||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(60);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(9);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e,n){"use strict";var r=n(11),o=n(32),i=n(86),c=n(104),a=n(85);r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=i.f(e),r=n.resolve,u=n.reject,s=c((function(){var n=o(e.resolve),i=[],c=0,u=1;a(t,(function(t){var o=c++,a=!1;i.push(void 0),u++,n.call(e,t).then((function(t){a||(a=!0,i[o]={status:"fulfilled",value:t},--u||r(i))}),(function(t){a||(a=!0,i[o]={status:"rejected",reason:t},--u||r(i))}))})),--u||r(i)}));return s.error&&u(s.value),n.promise}})},function(t,e,n){"use strict";var r=n(11),o=n(32),i=n(36),c=n(86),a=n(104),u=n(85);r({target:"Promise",stat:!0},{any:function(t){var e=this,n=c.f(e),r=n.resolve,s=n.reject,l=a((function(){var n=o(e.resolve),c=[],a=0,l=1,p=!1;u(t,(function(t){var o=a++,u=!1;c.push(void 0),l++,n.call(e,t).then((function(t){u||p||(p=!0,r(t))}),(function(t){u||p||(u=!0,c[o]=t,--l||s(new(i("AggregateError"))(c,"No one promise resolved")))}))})),--l||s(new(i("AggregateError"))(c,"No one promise resolved"))}));return l.error&&s(l.value),n.promise}})},function(t,e,n){"use strict";var r=n(11),o=n(37),i=n(141),c=n(12),a=n(36),u=n(142),s=n(145),l=n(61);r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",a("Promise").prototype.finally)},function(t,e,n){n(173);var r=n(190),o=n(9),i=n(79),c=n(20),a=n(43),u=n(10)("toStringTag");for(var s in r){var l=o[s],p=l&&l.prototype;p&&i(p)!==u&&c(p,u,s),a[s]=a.Array}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},,,,,,,function(t,e,n){t.exports=n(204)},,,function(t,e,n){t.exports=n(218)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(73),o=n.n(r),i=n(15),c=n.n(i),a=n(169),u=n.n(a),s=n(2);class l{constructor(t,e){this.stripe=null,this.options=t,this.request=e}getAjaxUrl(t,e="wc_stripe_"){var n,r,o;return null===(n=this.options)||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)}getFriendlyErrorMessage(t){switch(t.statusText){case"timeout":return Object(s.__)("A timeout occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe");case"abort":return Object(s.__)("The connection to the server was aborted. Please try again.","woocommerce-gateway-stripe");case"error":default:return Object(s.__)("An error occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe")}}getStripe(){const{key:t,locale:e,isUPEEnabled:n}=this.options;return this.stripe||(this.stripe=n?new Stripe(t,{betas:["payment_element_beta_1"],locale:e}):new Stripe(t,{locale:e})),this.stripe}loadStripe(){return new o.a(t=>{try{t(this.getStripe())}catch(e){t({error:e})}})}initSetupIntent(){var t;return this.request(this.getAjaxUrl("init_setup_intent"),{_ajax_nonce:null===(t=this.options)||void 0===t?void 0:t.createSetupIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}createIntent(t){var e;return this.request(this.getAjaxUrl("create_payment_intent"),{stripe_order_id:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.createPaymentIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateIntent(t,e,n,r){var o;if(!c()(t).call(t,"seti_"))return this.request(this.getAjaxUrl("update_payment_intent"),{stripe_order_id:e,wc_payment_intent_id:t,save_payment_method:n,selected_upe_payment_type:r,_ajax_nonce:null===(o=this.options)||void 0===o?void 0:o.updatePaymentIntentNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}confirmIntent(t,e){const n=t.match(/#wc-stripe-confirm-(pi|si):(.+):(.+):(.+)$/);if(!n)return!0;const r="si"===n[1];let o=n[2];const i=n[3],c=n[4],a=u()(t).call(t,"order-pay"),s=a>-1,l=s&&t.substring(a).match(/\d+/);return l&&(o=l[0]),{request:(r?this.getStripe().confirmCardSetup(i):this.getStripe(!0).confirmCardPayment(i)).then(t=>{const n=t.paymentIntent&&t.paymentIntent.id||t.setupIntent&&t.setupIntent.id||t.error&&t.error.payment_intent&&t.error.payment_intent.id||t.error.setup_intent&&t.error.setup_intent.id;return[this.request(this.getAjaxUrl("update_order_status"),{order_id:o,intent_id:n,payment_method_id:e||null,_ajax_nonce:c}),t.error]}).then(([t,e])=>{if(e)throw e;return t.then(t=>{if(!t.success)throw t.data.error;return t.data.return_url})}),isOrderPage:s}}saveUPEAppearance(t){var e;return this.request(this.getAjaxUrl("save_upe_appearance"),{appearance:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.saveUPEAppearanceNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}processCheckout(t,e){return this.request(this.getAjaxUrl("checkout",""),{...e,wc_payment_intent_id:t}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateFailedOrder(t,e){var n;this.request(this.getAjaxUrl("update_failed_order"),{intent_id:t,order_id:e,_ajax_nonce:null===(n=this.options)||void 0===n?void 0:n.updateFailedOrderNonce}).catch(()=>{})}}},function(t,e,n){"use strict";var r=n(0),o=n(197),i=n.n(o),c=n(133),a=n(26),u=n(15),s=n.n(u),l=n(8);const p=({onButtonClicked:t})=>{var e,n;const{theme:o="dark",locale:i="en",height:c="44"}=null===(e=Object(l.c)())||void 0===e?void 0:e.button,a=["short","long"],{branded_type:u}=null===(n=Object(l.c)())||void 0===n?void 0:n.button,p=s()(a).call(a,u)?u:"long",f=((t,e,n)=>{const o="long"===t?`https://www.gstatic.com/instantbuy/svg/${e}/${n}.svg`:`https://www.gstatic.com/instantbuy/svg/${e}_gpay.svg`,[i,c]=Object(r.useState)(o);return Object(r.useEffect)(()=>{const t=document.createElement("img");t.addEventListener("error",()=>{c(`https://www.gstatic.com/instantbuy/svg/${e}/en.svg`)}),t.src=i},[i,e]),i})(p,"dark"===o?"dark":"light",i);return Object(r.createElement)("button",{type:"button",id:"wc-stripe-branded-button","aria-label":"Google Pay",className:`gpay-button ${o} ${p}`,style:{backgroundImage:`url(${f})`,height:c+"px"},onClick:t})};var f=n(2);const d=({onButtonClicked:t})=>{var e;const{theme:n="dark",height:o="44",customLabel:i=Object(f.__)("Buy now","woocommerce-gateway-stripe")}=null===(e=Object(l.c)())||void 0===e?void 0:e.button;return Object(r.createElement)("button",{type:"button",id:"wc-stripe-custom-button",className:`button ${n} is-active`,style:{height:o+"px"},onClick:t},i)};var v=n(45),y=n.n(v),m=n(115),h=n.n(m);const g=t=>({country:t.country,state:t.region,postcode:t.postalCode,city:t.city,address:void 0===t.addressLine[0]?"":t.addressLine[0],address_2:void 0===t.addressLine[1]?"":t.addressLine[1]}),b=(t,e="wc_stripe_")=>{var n,r,o;return null===(n=Object(l.c)())||void 0===n||null===(r=n.ajax_url)||void 0===r||null===(o=r.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)},_=()=>{var t,e;const n={security:null===(t=Object(l.c)())||void 0===t||null===(e=t.nonce)||void 0===e?void 0:e.payment};return y.a.ajax({type:"POST",data:n,url:b("get_cart_details")})},w=t=>{const{shippingOption:e}=t;(t=>{var e,n,r;const o={security:null===(e=Object(l.c)())||void 0===e||null===(n=e.nonce)||void 0===n?void 0:n.update_shipping,shipping_method:[t.id],is_product_page:null===(r=Object(l.c)())||void 0===r?void 0:r.is_product_page};return y.a.ajax({type:"POST",data:o,url:b("update_shipping_method")})})(e).then(e=>{"success"===e.result&&t.updateWith({status:"success",total:e.total,displayItems:e.displayItems}),"fail"===e.result&&t.updateWith({status:"fail"})})},j=(t,e,n,o)=>{Object(r.useEffect)(()=>{const r=null==e?void 0:e.on("source",((t,e,n)=>r=>{var o,i,c,a,u,s;"yes"===(null===(o=Object(l.c)())||void 0===o||null===(i=o.stripe)||void 0===i?void 0:i.allow_prepaid_card)||"prepaid"!==(null==r||null===(c=r.source)||void 0===c||null===(a=c.card)||void 0===a?void 0:a.funding)?((t,e)=>{const n=((t,e)=>{var n,r,o,i,c,a,u,s,p,f,d,v,y,m,g,b,_,w,j,x;const{source:O}=t,E=null==O||null===(n=O.owner)||void 0===n?void 0:n.email,S=null==O||null===(r=O.owner)||void 0===r?void 0:r.phone,C=null==O||null===(o=O.owner)||void 0===o?void 0:o.address,P=null==O||null===(i=O.owner)||void 0===i?void 0:i.name,A=null==t?void 0:t.shippingAddress,k={_wpnonce:null===(c=Object(l.c)())||void 0===c||null===(a=c.nonce)||void 0===a?void 0:a.checkout,billing_first_name:null!==(u=null==P||null===(s=P.split(" "))||void 0===s||null===(p=h()(s).call(s,0,1))||void 0===p?void 0:p.join(" "))&&void 0!==u?u:"",billing_last_name:null!==(f=null==P||null===(d=P.split(" "))||void 0===d||null===(v=h()(d).call(d,1))||void 0===v?void 0:v.join(" "))&&void 0!==f?f:"",billing_company:"",billing_email:null!=E?E:null==t?void 0:t.payerEmail,billing_phone:null!=S?S:null==t||null===(y=t.payerPhone)||void 0===y?void 0:y.replace("/[() -]/g",""),billing_country:null!==(m=null==C?void 0:C.country)&&void 0!==m?m:"",billing_address_1:null!==(g=null==C?void 0:C.line1)&&void 0!==g?g:"",billing_address_2:null!==(b=null==C?void 0:C.line2)&&void 0!==b?b:"",billing_city:null!==(_=null==C?void 0:C.city)&&void 0!==_?_:"",billing_state:null!==(w=null==C?void 0:C.state)&&void 0!==w?w:"",billing_postcode:null!==(j=null==C?void 0:C.postal_code)&&void 0!==j?j:"",shipping_first_name:"",shipping_last_name:"",shipping_company:"",shipping_country:"",shipping_address_1:"",shipping_address_2:"",shipping_city:"",shipping_state:"",shipping_postcode:"",shipping_method:[null==t||null===(x=t.shippingOption)||void 0===x?void 0:x.id],order_comments:"",payment_method:"stripe",ship_to_different_address:1,terms:1,stripe_source:O.id,payment_request_type:e};var T,I,M,L,R,N,q,F,B,U;return A&&(k.shipping_first_name=null==A||null===(T=A.recipient)||void 0===T||null===(I=T.split(" "))||void 0===I||null===(M=h()(I).call(I,0,1))||void 0===M?void 0:M.join(" "),k.shipping_last_name=null==A||null===(L=A.recipient)||void 0===L||null===(R=L.split(" "))||void 0===R||null===(N=h()(R).call(R,1))||void 0===N?void 0:N.join(" "),k.shipping_company=null==A?void 0:A.organization,k.shipping_country=null==A?void 0:A.country,k.shipping_address_1=null!==(q=null==A||null===(F=A.addressLine)||void 0===F?void 0:F[0])&&void 0!==q?q:"",k.shipping_address_2=null!==(B=null==A||null===(U=A.addressLine)||void 0===U?void 0:U[1])&&void 0!==B?B:"",k.shipping_city=null==A?void 0:A.city,k.shipping_state=null==A?void 0:A.region,k.shipping_postcode=null==A?void 0:A.postalCode),k})(t,e);return y.a.ajax({type:"POST",data:n,dataType:"json",url:b("create_order")})})(r,e).then(((t,e,n)=>r=>{if("success"===r.result){e.complete("success");const o=(t=>{const e=t.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(e&&!(e.length<4))return{type:e[1],clientSecret:e[2],redirectUrl:decodeURIComponent(e[3])}})(r.redirect);if(!o||o.length<4)return void(window.location=r.redirect);const{type:i,clientSecret:c,redirectUrl:a}=o;((t,e,n)=>"si"===e?t.handleCardSetup(n):t.handleCardPayment(n))(t,i,c).then(((t,e)=>n=>{if(n.error)throw n.error;const r=((t,e)=>"si"===e?t.setupIntent:t.paymentIntent)(n,e);((t=>"requires_capture"===t.status)(r)||(t=>"succeeded"===t.status)(r))&&(window.location=t)})(a,i)).catch(t=>{n(t.message),y.a.get(a+"&is_ajax")})}else{var o,i;e.complete("fail");const t=document.createElement("div");t.innerHTML=r.messages;const c=null!==(o=null==t||null===(i=t.firstChild)||void 0===i?void 0:i.textContent)&&void 0!==o?o:"";n(c)}})(t,r,n)):n(null===(u=Object(l.c)())||void 0===u||null===(s=u.i18n)||void 0===s?void 0:s.no_prepaid_card)})(t,n,o));return()=>{null==r||r.removeEventListener("source")}},[t,e,n,o])},x=({billing:t,shippingData:e,onClick:n,onClose:o,setExpressPaymentError:i})=>{var c,u,s,f,v,m,h;const x=Object(a.useStripe)(),{needsShipping:O}=e,[E,S,C]=((t,e,n)=>{const[o,i]=Object(r.useState)(null),[c,a]=Object(r.useState)(null),[u,s]=Object(r.useState)(!1);return Object(r.useEffect)(()=>{t&&(async()=>{const e=await _(),n=Object(l.a)(t,e),r=await n.canMakePayment();r?(i(n),a(()=>r.applePay?"apple_pay":r.googlePay?"google_pay":"payment_request_api")):i(null)})()},[t,e]),Object(r.useEffect)(()=>{o&&(async()=>{s(!0);const t=await _();Object(l.d)(o,t),s(!1)})()},[o,n.cartTotal,n.cartTotalItems,n.currency.code]),[o,c,u]})(x,O,t);((t,e)=>{Object(r.useEffect)(()=>{const n=null==t?void 0:t.on("shippingaddresschange",(t=>e=>{const{shippingAddress:n}=e;((t,e)=>{var n,r,o;const i={security:null===(n=Object(l.c)())||void 0===n||null===(r=n.nonce)||void 0===r?void 0:r.shipping,payment_request_type:e,is_product_page:null===(o=Object(l.c)())||void 0===o?void 0:o.is_product_page,...g(t)};return y.a.ajax({type:"POST",data:i,url:b("get_shipping_options")})})(n,t).then(t=>{e.updateWith({status:t.result,shippingOptions:t.shipping_options,total:t.total,displayItems:t.displayItems})})})(e));return()=>{null==n||n.removeEventListener("shippingaddresschange")}},[t,e])})(E,S),((t,e)=>{Object(r.useEffect)(()=>{const e=null==t?void 0:t.on("shippingoptionchange",w);return()=>{null==e||e.removeEventListener("shippingoptionchange")}},[t,e])})(E,S),j(x,E,S,i);const P=((t,e,n)=>Object(r.useCallback)((r,o)=>{var i;if(null!==(i=Object(l.c)())&&void 0!==i&&i.login_confirmation)return r.preventDefault(),void(t=>{var e,n,r;if(null===(e=Object(l.c)())||void 0===e||!e.login_confirmation)return;let o=null===(n=Object(l.c)())||void 0===n||null===(r=n.login_confirmation)||void 0===r?void 0:r.message;var i,c;"payment_request_api"!==t&&(o=o.replace(/\*\*.*?\*\*/,"apple_pay"===t?"Apple Pay":"Google Pay")),o=o.replace(/\*\*/g,""),confirm(o)&&(window.location.href=null===(i=Object(l.c)())||void 0===i||null===(c=i.login_confirmation)||void 0===c?void 0:c.redirect_url)})(t);e(""),n(),o&&o.show()},[t,e,n]))(S,i,n);((t,e)=>{Object(r.useEffect)(()=>{const n=null==t?void 0:t.on("cancel",e);return()=>{null==n||n.removeEventListener("cancel")}},[t,e])})(E,o);const{type:A="default",theme:k="dark",height:T="48"}=null===(c=Object(l.c)())||void 0===c?void 0:c.button,I={paymentRequestButton:{type:A,theme:k,height:T+"px"}},M=null===(u=Object(l.c)())||void 0===u||null===(s=u.button)||void 0===s?void 0:s.is_branded,L=null===(f=Object(l.c)())||void 0===f||null===(v=f.button)||void 0===v?void 0:v.branded_type,R=null===(m=Object(l.c)())||void 0===m||null===(h=m.button)||void 0===h?void 0:h.is_custom;return E?R?Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(d,{className:C?"wc-block-components-loading-mask__children":"",onButtonClicked:t=>{P(t,E)}})):M&&(()=>{const t=window.navigator.userAgent.toLowerCase(),e=/chrome/.test(t)&&!/edge|edg|opr|brave\//.test(t)&&"Google Inc."===window.navigator.vendor,n=e&&window.navigator.brave;return e&&!n})()?Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(p,{className:C?"wc-block-components-loading-mask__children":"",onButtonClicked:t=>{P(t,E)}})):(M&&(I.paymentRequestButton.type="long"===L?"buy":"default"),Object(r.createElement)("div",{className:C?"wc-block-components-loading-mask":""},Object(r.createElement)(a.PaymentRequestButtonElement,{className:C?"wc-block-components-loading-mask__children":"",onClick:P,options:{style:I,paymentRequest:E}}))):null};var O,E,S=n(135);const C=Object(S.a)(),P={name:"payment_request",content:Object(r.createElement)(t=>{const{stripe:e}=t;return Object(r.createElement)(a.Elements,{stripe:e},Object(r.createElement)(x,t))},{stripe:C}),edit:Object(r.createElement)(()=>Object(r.createElement)("img",{src:"data:image/svg+xml,%3Csvg width='264' height='48' viewBox='0 0 264 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='264' height='48' rx='3' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.114 16.6407C125.682 15.93 126.067 14.9756 125.966 14C125.135 14.0415 124.121 14.549 123.533 15.2602C123.006 15.8693 122.539 16.8641 122.661 17.7983C123.594 17.8797 124.526 17.3317 125.114 16.6407Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M125.955 17.982C124.601 17.9011 123.448 18.7518 122.801 18.7518C122.154 18.7518 121.163 18.0224 120.092 18.0421C118.696 18.0629 117.402 18.8524 116.694 20.1079C115.238 22.6196 116.31 26.3453 117.726 28.3909C118.414 29.4028 119.242 30.5174 120.334 30.4769C121.366 30.4365 121.77 29.8087 123.024 29.8087C124.277 29.8087 124.641 30.4769 125.733 30.4567C126.865 30.4365 127.573 29.4443 128.261 28.4313C129.049 27.2779 129.373 26.1639 129.393 26.1027C129.373 26.0825 127.209 25.2515 127.189 22.7606C127.169 20.6751 128.888 19.6834 128.969 19.6217C127.998 18.1847 126.481 18.0224 125.955 17.982Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M136.131 23.1804H138.834C140.886 23.1804 142.053 22.0752 142.053 20.1592C142.053 18.2432 140.886 17.1478 138.845 17.1478H136.131V23.1804ZM139.466 15.1582C142.411 15.1582 144.461 17.1903 144.461 20.1483C144.461 23.1172 142.369 25.1596 139.392 25.1596H136.131V30.3498H133.775V15.1582H139.466Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.198 26.224V25.3712L149.579 25.5397C148.106 25.6341 147.339 26.182 147.339 27.14C147.339 28.0664 148.138 28.6667 149.39 28.6667C150.988 28.6667 152.198 27.6449 152.198 26.224ZM145.046 27.2032C145.046 25.2551 146.529 24.1395 149.263 23.971L152.198 23.7922V22.9498C152.198 21.7181 151.388 21.0442 149.947 21.0442C148.758 21.0442 147.896 21.6548 147.717 22.5916H145.592C145.656 20.6232 147.507 19.1914 150.01 19.1914C152.703 19.1914 154.459 20.602 154.459 22.7917V30.351H152.282V28.5298H152.229C151.609 29.719 150.241 30.4666 148.758 30.4666C146.571 30.4666 145.046 29.1612 145.046 27.2032Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M156.461 34.4145V32.5934C156.608 32.6141 156.965 32.6354 157.155 32.6354C158.196 32.6354 158.785 32.1932 159.142 31.0564L159.353 30.3824L155.366 19.3281H157.827L160.604 28.298H160.657L163.434 19.3281H165.832L161.698 30.9402C160.752 33.6038 159.668 34.4778 157.376 34.4778C157.197 34.4778 156.618 34.4565 156.461 34.4145Z' fill='white'/%3E%3C/svg%3E%0A",alt:""}),null),canMakePayment:t=>{var e,n,r;return!(null===(e=null===(n=Object(l.c)())||void 0===n?void 0:n.isAdmin)||void 0===e||!e)||!(null===(r=Object(l.c)())||void 0===r||!r.shouldShowPaymentRequestButton)&&Object(S.a)().then(e=>{var n,r,o,a,u;const s={order_data:{total:{label:"Total",amount:i()(null!==(n=null==t||null===(r=t.cartTotals)||void 0===r?void 0:r.total_price)&&void 0!==n?n:0,10),pending:!0},currency:null==t||null===(o=t.cartTotals)||void 0===o||null===(a=o.currency_code)||void 0===a?void 0:a.toLowerCase(),country_code:null===(u=Object(c.getSetting)("baseLocation",{}))||void 0===u?void 0:u.country,displayItems:[]},shipping_required:!1};return Object(l.a)(e,s).canMakePayment()})},paymentMethodId:"stripe",supports:{features:null!==(O=null===(E=Object(l.c)())||void 0===E?void 0:E.supports)&&void 0!==O?O:[]}};e.a=P},,function(t,e,n){var r=n(205);t.exports=r},function(t,e,n){n(206);var r=n(24);t.exports=r.parseInt},function(t,e,n){var r=n(11),o=n(207);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,e,n){var r=n(9),o=n(174).trim,i=n(132),c=r.parseInt,a=/^[+-]?0[Xx]/,u=8!==c(i+"08")||22!==c(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return c(n,e>>>0||(a.test(n)?16:10))}:c},function(t,e,n){var r=n(209);t.exports=r},function(t,e,n){var r=n(210),o=Array.prototype;t.exports=function(t){var e=t.slice;return t===o||t instanceof Array&&e===o.slice?r:e}},function(t,e,n){n(211);var r=n(25);t.exports=r("Array").slice},function(t,e,n){"use strict";var r=n(11),o=n(17),i=n(92),c=n(90),a=n(35),u=n(30),s=n(166),l=n(10),p=n(72)("slice"),f=l("species"),d=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,l,p=u(this),y=a(p.length),m=c(t,y),h=c(void 0===e?y:e,y);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(p,m,h);for(r=new(void 0===n?Array:n)(v(h-m,0)),l=0;m<h;m++,l++)m in p&&s(r,l,p[m]);return r.length=l,r}})},,,,,,,function(t,e,n){var r=n(219);t.exports=r},function(t,e,n){var r=n(220),o=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===o||t instanceof String&&e===o.trim?r:e}},function(t,e,n){n(221);var r=n(25);t.exports=r("String").trim},function(t,e,n){"use strict";var r=n(11),o=n(174).trim;r({target:"String",proto:!0,forced:n(222)("trim")},{trim:function(){return o(this)}})},function(t,e,n){var r=n(12),o=n(132);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},function(t,e,n){var r=n(224);t.exports=r},function(t,e,n){var r=n(225),o=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===o||t instanceof Array&&e===o.indexOf?r:e}},function(t,e,n){n(226);var r=n(25);t.exports=r("Array").indexOf},function(t,e,n){"use strict";var r=n(11),o=n(57).indexOf,i=n(95),c=[].indexOf,a=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:a||!u},{indexOf:function(t){return a?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(170),o=n(7),i=n.n(o),c=n(0),a=n(73),u=n.n(a),s=n(2),l=n(15),p=n.n(l),f=n(26),d=n(200),v=n.n(d),y=n(8),m=n(121);const h=({api:t,activePaymentMethod:e,billing:{billingData:n},elements:r,emitResponse:o,eventRegistration:{onPaymentProcessing:i,onCheckoutAfterProcessingWithSuccess:a},shouldSavePayment:u,stripe:l})=>{var d,h;const[g,b]=Object(c.useState)(null),[_,w]=Object(c.useState)(null),[j,x]=Object(c.useState)(""),[O,E]=Object(c.useState)(!1),[S,C]=Object(c.useState)(!1),[P,A]=Object(c.useState)(null),k=null===(d=Object(y.c)())||void 0===d?void 0:d.paymentMethodsConfig;Object(c.useEffect)(()=>{_||O||(E(!0),async function(){try{var e,n;const r=(null===(e=Object(y.c)())||void 0===e?void 0:e.isPaymentNeeded)?await t.createIntent(null===(n=Object(y.c)())||void 0===n?void 0:n.orderId):await t.initSetupIntent();w(r.id),b(r.client_secret)}catch(t){var r;A(null!==(r=null==t?void 0:t.message)&&void 0!==r?r:Object(s.__)("There was an error loading the payment gateway","woocommerce-gateway-stripe"))}}())},[_,O,t,P]),Object(c.useEffect)(()=>i(()=>{if("stripe"===e)return S?P?{type:"error",message:P}:u&&!k[j].isReusable?{type:"error",message:Object(s.__)("This payment method can not be saved for future use.","woocommerce-gateway-stripe")}:{type:"success",meta:{paymentMethodData:{paymentMethod:m.a,wc_payment_intent_id:_,wc_stripe_selected_upe_payment_type:j}}}:{type:"error",message:Object(s.__)("Your payment information is incomplete.","woocommerce-gateway-stripe")}}),[e,S,u,j]),Object(c.useEffect)(()=>a(({orderId:e,processingResponse:{paymentDetails:i}})=>async function(){await t.updateIntent(_,e,u?"yes":"no",j);const c=r.getElement(f.PaymentElement);return(async(t,e,n,r,o,i)=>{var c;const a=v()(c=`${o.first_name} ${o.last_name}`).call(c);try{const i={return_url:e,payment_method_data:{billing_details:{name:a,email:null==o?void 0:o.email,phone:null==o?void 0:o.phone,address:{country:null==o?void 0:o.country,postal_code:null==o?void 0:o.postcode,state:null==o?void 0:o.state,city:null==o?void 0:o.city,line1:null==o?void 0:o.address_1,line2:null==o?void 0:o.address_2}}}};if(n){const{error:e}=await t.getStripe().confirmPayment({element:r,confirmParams:i});if(e)throw e}else{const{error:e}=await t.getStripe().confirmSetup({element:r,confirmParams:i});if(e)throw e}}catch(t){return{type:"error",message:t.message,messageContext:i.noticeContexts.PAYMENTS}}})(t,i.redirect_url,i.payment_needed,c,n,o)}()),[t,r,_,j,n,u,l]);const T=Object(y.c)().enabledBillingFields,I={clientSecret:g,business:{name:null===(h=Object(y.c)())||void 0===h?void 0:h.accountDescriptor},fields:{billingDetails:{name:p()(T).call(T,"billing_first_name")||p()(T).call(T,"billing_last_name")?"never":"auto",email:p()(T).call(T,"billing_email")?"never":"auto",phone:p()(T).call(T,"billing_phone")?"never":"auto",address:{country:p()(T).call(T,"billing_country")?"never":"auto",line1:p()(T).call(T,"billing_address_1")?"never":"auto",line2:p()(T).call(T,"billing_address_2")?"never":"auto",city:p()(T).call(T,"billing_city")?"never":"auto",state:p()(T).call(T,"billing_state")?"never":"auto",postalCode:p()(T).call(T,"billing_postcode")?"never":"auto"}}}};return g?Object(c.createElement)("div",{className:"wc-block-gateway-container"},Object(c.createElement)(f.PaymentElement,{options:I,onChange:t=>{C(t.complete),x(t.value.type)}})):P?Object(c.createElement)("div",{className:"woocommerce-error"},Object(c.createElement)("div",{className:"components-notice__content"},P)):null},g=({api:t,...e})=>Object(c.createElement)(f.Elements,{stripe:t.getStripe()},Object(c.createElement)(f.ElementsConsumer,null,({stripe:n,elements:r})=>Object(c.createElement)(h,i()({api:t,elements:r,stripe:n},e))));var b,_,w,j,x,O;const E=new(n(201).a)(Object(y.c)(),async(t,e)=>{const n=new FormData;for(const t in e)n.append(t,e[t]);const r=await fetch(t,{method:"POST",body:n});return await r.json()}),S=({RenderedComponent:t,...e})=>{const[n,r]=Object(c.useState)(""),o=E.getStripe();return Object(c.useEffect)(()=>{u.a.resolve(o).then(({error:t})=>{t&&r(t.message)})},[r,o]),Object(c.useEffect)(()=>{if(n)throw new Error(n)},[n]),Object(c.createElement)(t,i()({stripe:o},e))};var C={name:m.a,label:Object(c.createElement)(t=>{var e,n;const{PaymentMethodLabel:r}=t.components,o=null!==(e=null===(n=Object(y.c)())||void 0===n?void 0:n.title)&&void 0!==e?e:Object(s.__)("Credit / Debit Card","woocommerce-gateway-stripe");return Object(c.createElement)(r,{text:o})},null),content:Object(c.createElement)(S,{RenderedComponent:g,api:E}),edit:Object(c.createElement)(S,{RenderedComponent:g,api:E}),savedTokenComponent:Object(c.createElement)(S,{RenderedComponent:({api:t,stripe:e,elements:n,eventRegistration:{onCheckoutAfterProcessingWithSuccess:r},emitResponse:o})=>(((t,e,n,r,o,i)=>{Object(c.useEffect)(()=>r(({processingResponse:{paymentDetails:e}})=>async function(t,e,n,r){const{redirect:o,payment_method:i}=e;try{const e=t.confirmIntent(o,null);if(!0===e)return{type:"success",redirectUrl:o};const{request:n}=e;return{type:"success",redirectUrl:await n}}catch(t){return{type:"error",message:t.message,messageContext:n.noticeContexts.PAYMENTS}}}(t,e,o)),[n,e,t,!1])})(t,e,n,r,o),Object(c.createElement)(c.Fragment,null)),api:E}),canMakePayment:()=>!!E.getStripe(),ariaLabel:Object(s.__)("Stripe Credit Card payment method","woocommerce-gateway-stripe"),supports:{showSavedCards:null!==(b=null===(_=Object(y.c)())||void 0===_?void 0:_.showSavedCards)&&void 0!==b&&b,showSaveOption:null!==(w=null===(j=Object(y.c)())||void 0===j?void 0:j.showSaveOption)&&void 0!==w&&w,features:null!==(x=null===(O=Object(y.c)())||void 0===O?void 0:O.supports)&&void 0!==x?x:[]}},P=n(202);Object(r.registerPaymentMethod)(C),Object(r.registerExpressPaymentMethod)(P.a)}]);
build/upe_classic.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('jquery', 'wp-i18n', 'wp-polyfill'), 'version' => '98a2eb39ed80ad59cb9408ebddc42422');
1
+ <?php return array('dependencies' => array('jquery', 'wp-i18n', 'wp-polyfill'), 'version' => 'ea3f4d834d7f7642d7b462775ee1e079');
build/upe_classic.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=281)}([,function(t,e){t.exports=window.wp.i18n},,,,,,,,function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(106))},function(t,e,r){var n=r(9),o=r(75),i=r(18),a=r(76),c=r(72),s=r(108),u=o("wks"),l=n.Symbol,f=s?l:l&&l.withoutSetter||a;t.exports=function(t){return i(u,t)&&(c||"string"==typeof u[t])||(c&&i(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},,function(t,e,r){"use strict";var n=r(9),o=r(74).f,i=r(81),a=r(27),c=r(41),s=r(20),u=r(18),l=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,f,h,p,d,v,g,m,b=t.target,y=t.global,_=t.stat,w=t.proto,x=y?n:_?n[b]:(n[b]||{}).prototype,S=y?a:a[b]||(a[b]={}),A=S.prototype;for(h in e)r=!i(y?h:b+(_?".":"#")+h,t.forced)&&x&&u(x,h),d=S[h],r&&(v=t.noTargetGet?(m=o(x,h))&&m.value:x[h]),p=r&&v?v:e[h],r&&typeof d==typeof p||(g=t.bind&&r?c(p,n):t.wrap&&r?l(p):w&&"function"==typeof p?c(Function.call,p):p,(t.sham||p&&p.sham||d&&d.sham)&&s(g,"sham",!0),S[h]=g,w&&(u(a,f=b+"Prototype")||s(a,f,{}),a[f][h]=p,t.real&&A&&!A[h]&&s(A,h,p)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,function(t,e,r){t.exports=r(109)},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o}));const n={INVALID_EMAIL:"email_invalid",INVALID_REQUEST:"invalid_request_error",API_CONNECTION:"api_connection_error",API_ERROR:"api_error",AUTHENTICATION_ERROR:"authentication_error",RATE_LIMIT_ERROR:"rate_limit_error",CARD_ERROR:"card_error",VALIDATION_ERROR:"validation_error"},o={INVALID_NUMBER:"invalid_number",INVALID_EXPIRY_MONTH:"invalid_expiry_month",INVALID_EXPIRY_YEAR:"invalid_expiry_year",INVALID_CVC:"invalid_cvc",INCORRECT_NUMBER:"incorrect_number",INCOMPLETE_NUMBER:"incomplete_number",INCOMPLETE_CVC:"incomplete_cvc",INCOMPLETE_EXPIRY:"incomplete_expiry",EXPIRED_CARD:"expired_card",INCORRECT_CVC:"incorrect_cvc",INCORRECT_ZIP:"incorrect_zip",INVALID_EXPIRY_YEAR_PAST:"invalid_expiry_year_past",CARD_DECLINED:"card_declined",MISSING:"missing",PROCESSING_ERROR:"processing_error"}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},,function(t,e,r){var n=r(24),o=r(39),i=r(33);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(17);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},,,function(t,e,r){var n=r(13);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,,function(t,e){t.exports={}},function(t,e,r){var n=r(27);t.exports=function(t){return n[t+"Prototype"]}},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return d}));var n=r(15),o=r.n(n),i=r(56),a=r.n(i),c=r(133),s=r.n(c),u=r(104),l=r.n(u),f=r(1),h=r(16);const p=()=>{if(!wc_stripe_upe_params)throw new Error("Stripe initialization data is not available");return wc_stripe_upe_params},d=(t,e="")=>{switch(t){case h.b.INVALID_EMAIL:return Object(f.__)("Invalid email address, please correct and try again.","woocommerce-gateway-stripe");case(t=>{var e;return o()(e=[h.b.INVALID_REQUEST,h.b.API_CONNECTION,h.b.API_ERROR,h.b.AUTHENTICATION_ERROR,h.b.RATE_LIMIT_ERROR]).call(e,t)})(t):return Object(f.__)("Unable to process this payment, please try again or use alternative method.","woocommerce-gateway-stripe");case h.b.CARD_ERROR:return(t=>({[h.a.INVALID_NUMBER]:Object(f.__)("The card number is not a valid credit card number.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_MONTH]:Object(f.__)("The card expiration month is invalid.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_YEAR]:Object(f.__)("The card expiration year is invalid.","woocommerce-gateway-stripe"),[h.a.INVALID_CVC]:Object(f.__)("The card security code is invalid.","woocommerce-gateway-stripe"),[h.a.INCORRECT_NUMBER]:Object(f.__)("The card number is incorrect.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_NUMBER]:Object(f.__)("The card number is incomplete.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_CVC]:Object(f.__)("The card security code is incomplete.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_EXPIRY]:Object(f.__)("The card expiration date is incomplete.","woocommerce-gateway-stripe"),[h.a.EXPIRED_CARD]:Object(f.__)("The card has expired.","woocommerce-gateway-stripe"),[h.a.INCORRECT_CVC]:Object(f.__)("The card security code is incorrect.","woocommerce-gateway-stripe"),[h.a.INCORRECT_ZIP]:Object(f.__)("The card zip code failed validation.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_YEAR_PAST]:Object(f.__)("The card expiration year is in the past","woocommerce-gateway-stripe"),[h.a.CARD_DECLINED]:Object(f.__)("The card was declined.","woocommerce-gateway-stripe"),[h.a.MISSING]:Object(f.__)("There is no card on a customer that is being charged.","woocommerce-gateway-stripe"),[h.a.PROCESSING_ERROR]:Object(f.__)("An error occurred while processing the card.","woocommerce-gateway-stripe")}[t]||null))(e);case h.b.VALIDATION_ERROR:return""}return null},v=(t="always")=>{var e,r;const n=null===(e=p())||void 0===e?void 0:e.paymentMethodsConfig,o=a()(r=s()(n)).call(r,t=>n[t].isReusable);return l()(o).call(o,(e,r)=>(e[r]=t,e),{})}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(27),o=r(9),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=!0},function(t,e){t.exports={}},function(t,e){t.exports=window.jQuery},function(t,e,r){var n=r(53),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(24),o=r(69),i=r(21),a=r(48),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(49),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(32);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},,function(t,e,r){var n=r(31);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(30),o=r(9);t.exports="process"==n(o.process)},,function(t,e,r){var n,o,i=r(9),a=r(59),c=i.process,s=c&&c.versions,u=s&&s.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},,function(t,e,r){var n=r(17);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(20);t.exports=function(t,e,r,o){o&&o.enumerable?t[e]=r:n(t,e,r)}},,,function(t,e,r){var n=r(13),o=r(30),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(9),o=r(107),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},,function(t,e,r){t.exports=r(174)},,function(t,e,r){var n=r(9),o=r(17),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(34);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(67),o=r(39).f,i=r(20),a=r(18),c=r(139),s=r(10)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;a(l,s)||o(l,s,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c)}}},,function(t,e,r){t.exports=r(156)},function(t,e,r){var n=r(75),o=r(76),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(38),o=r(40),i=r(89),a=function(t){return function(e,r,a){var c,s=n(e),u=o(s.length),l=i(a,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){t.exports={}},function(t,e,r){var n=r(67),o=r(30),i=r(10)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n={};n[r(10)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n,o,i,a=r(142),c=r(9),s=r(17),u=r(20),l=r(18),f=r(54),h=r(63),p=r(65),d=c.WeakMap;if(a){var v=f.state||(f.state=new d),g=v.get,m=v.has,b=v.set;n=function(t,e){return e.facade=t,b.call(v,t,e),e},o=function(t){return g.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var y=h("state");p[y]=!0,n=function(t,e){return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(24),o=r(13),i=r(58);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(18),o=r(43),i=r(63),a=r(136),c=i("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,r){var n=r(21),o=r(122),i=r(40),a=r(41),c=r(97),s=r(123),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,f,h,p,d,v,g,m=r&&r.that,b=!(!r||!r.AS_ENTRIES),y=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),w=a(e,m,1+b+_),x=function(t){return l&&s(l),new u(!0,t)},S=function(t){return b?(n(t),_?w(t[0],t[1],x):w(t[0],t[1])):_?w(t,x):w(t)};if(y)l=t;else{if("function"!=typeof(f=c(t)))throw TypeError("Target is not iterable");if(o(f)){for(h=0,p=i(t.length);p>h;h++)if((d=S(t[h]))&&d instanceof u)return d;return new u(!1)}l=f.call(t)}for(v=l.next;!(g=v.call(l)).done;){try{d=S(g.value)}catch(t){throw s(l),t}if("object"==typeof d&&d&&d instanceof u)return d}return new u(!1)}},function(t,e,r){var n=r(44),o=r(46),i=r(13);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},function(t,e,r){"use strict";var n=r(32),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},function(t,e,r){var n=r(24),o=r(87),i=r(33),a=r(38),c=r(48),s=r(18),u=r(69),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(35),o=r(54);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports=function(){}},,,,function(t,e,r){var n=r(13),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==u||r!=s&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(138),o=r(90);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(13),o=r(10),i=r(46),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},,,,function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n,o=r(21),i=r(121),a=r(90),c=r(65),s=r(96),u=r(58),l=r(63)("IE_PROTO"),f=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=u("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete p.prototype[a[r]];return p()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=o(t),r=new f,f.prototype=null,r[l]=t):r=p(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(49),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,r){"use strict";var n,o,i,a=r(13),c=r(70),s=r(20),u=r(18),l=r(10),f=r(35),h=l("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):p=!0);var d=null==n||a((function(){var t={};return n[h].call(t)!==t}));d&&(n={}),f&&!d||u(n,h)||s(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},,,function(t,e,r){var n=r(21),o=r(137);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){var n=r(34);t.exports=n("document","documentElement")},function(t,e,r){var n=r(66),o=r(36),i=r(10)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(54),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){"use strict";var n=r(12),o=r(131),i=r(70),a=r(95),c=r(60),s=r(20),u=r(50),l=r(10),f=r(35),h=r(36),p=r(92),d=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m=function(){return this};t.exports=function(t,e,r,l,p,b,y){o(r,e,l);var _,w,x,S=function(t){if(t===p&&k)return k;if(!v&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",R=!1,I=t.prototype,O=I[g]||I["@@iterator"]||p&&I[p],k=!v&&O||S(p),E="Array"==e&&I.entries||O;if(E&&(_=i(E.call(new t)),d!==Object.prototype&&_.next&&(f||i(_)===d||(a?a(_,d):"function"!=typeof _[g]&&s(_,g,m)),c(_,A,!0,!0),f&&(h[A]=m))),"values"==p&&O&&"values"!==O.name&&(R=!0,k=function(){return O.call(this)}),f&&!y||I[g]===k||s(I,g,k),h[e]=k,p)if(w={values:S("values"),keys:b?k:S("keys"),entries:S("entries")},y)for(x in w)(v||R||!(x in I))&&u(I,x,w[x]);else n({target:e,proto:!0,forced:v||R},w);return w}},function(t,e,r){var n=r(41),o=r(53),i=r(43),a=r(40),c=r(143),s=[].push,u=function(t){var e=1==t,r=2==t,u=3==t,l=4==t,f=6==t,h=7==t,p=5==t||f;return function(d,v,g,m){for(var b,y,_=i(d),w=o(_),x=n(v,g,3),S=a(w.length),A=0,R=m||c,I=e?R(d,S):r||h?R(d,0):void 0;S>A;A++)if((p||A in w)&&(y=x(b=w[A],A,_),t))if(e)I[A]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return A;case 2:s.call(I,b)}else switch(t){case 4:return!1;case 7:s.call(I,b)}return f?-1:u||l?l:I}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(t,e,r){var n=r(30);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(115);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,r){var n=r(10)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,r){t.exports=r(181)},,function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(9),o=r(20);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(72);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(110);t.exports=n},function(t,e,r){var n=r(111),o=r(113),i=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?n:"string"==typeof t||t===a||t instanceof String&&e===a.includes?o:e}},function(t,e,r){r(112);var n=r(28);t.exports=n("Array").includes},function(t,e,r){"use strict";var n=r(12),o=r(64).includes,i=r(77);n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){r(114);var n=r(28);t.exports=n("String").includes},function(t,e,r){"use strict";var n=r(12),o=r(102),i=r(31);n({target:"String",proto:!0,forced:!r(103)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(17),o=r(30),i=r(10)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},,,,,function(t,e,r){var n=r(24),o=r(39),i=r(21),a=r(82);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,s=0;c>s;)o.f(t,r=n[s++],e[r]);return t}},function(t,e,r){var n=r(10),o=r(36),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,r){var n=r(21);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},function(t,e,r){var n=r(9);t.exports=n.Promise},function(t,e,r){var n=r(21),o=r(32),i=r(10)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n,o,i,a=r(9),c=r(13),s=r(41),u=r(96),l=r(58),f=r(127),h=r(44),p=a.location,d=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,b=a.Dispatch,y=0,_={},w=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},x=function(t){return function(){w(t)}},S=function(t){w(t.data)},A=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};d&&v||(d=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return _[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(y),y},v=function(t){delete _[t]},h?n=function(t){g.nextTick(x(t))}:b&&b.now?n=function(t){b.now(x(t))}:m&&!f?(i=(o=new m).port2,o.port1.onmessage=S,n=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!c(A)?(n=A,a.addEventListener("message",S,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:d,clear:v}},function(t,e,r){var n=r(59);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){var n=r(21),o=r(17),i=r(73);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){"use strict";var n=r(130).charAt,o=r(68),i=r(99),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(49),o=r(31),i=function(t){return function(e,r){var i,a,c=String(o(e)),s=n(r),u=c.length;return s<0||s>=u?t?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):i:t?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){"use strict";var n=r(92).IteratorPrototype,o=r(88),i=r(33),a=r(60),c=r(36),s=function(){return this};t.exports=function(t,e,r){var u=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,u,!1,!0),c[u]=s,t}},function(t,e,r){"use strict";var n=r(13);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){t.exports=r(178)},,,function(t,e,r){var n=r(13);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(17);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(18),o=r(38),i=r(64).indexOf,a=r(65);t.exports=function(t,e){var r,c=o(t),s=0,u=[];for(r in c)!n(a,r)&&n(c,r)&&u.push(r);for(;e.length>s;)n(c,r=e[s++])&&(~i(u,r)||u.push(r));return u}},function(t,e,r){"use strict";var n=r(67),o=r(66);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(10)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){var n=r(9),o=r(98),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(17),o=r(101),i=r(10)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){"use strict";var n=r(48),o=r(39),i=r(33);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},,,function(t,e,r){t.exports=r(216)},,,,function(t,e,r){var n=r(50);t.exports=function(t,e,r){for(var o in e)r&&r.unsafe&&t[o]?t[o]=e[o]:n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(38),o=r(77),i=r(36),a=r(68),c=r(99),s=a.set,u=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){s(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){var n=r(31),o="["+r(116)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},,function(t,e,r){var n;!function(o){var i=/^\s+/,a=/\s+$/,c=0,s=o.round,u=o.min,l=o.max,f=o.random;function h(t,e){if(e=e||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,e);var r=function(t){var e,r,n,c={r:0,g:0,b:0},s=1,f=null,h=null,p=null,d=!1,v=!1;return"string"==typeof t&&(t=function(t){t=t.replace(i,"").replace(a,"").toLowerCase();var e,r=!1;if(j[t])t=j[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=V.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=V.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=V.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=V.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=V.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=V.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=V.hex8.exec(t))?{r:U(e[1]),g:U(e[2]),b:U(e[3]),a:q(e[4]),format:r?"name":"hex8"}:(e=V.hex6.exec(t))?{r:U(e[1]),g:U(e[2]),b:U(e[3]),format:r?"name":"hex"}:(e=V.hex4.exec(t))?{r:U(e[1]+""+e[1]),g:U(e[2]+""+e[2]),b:U(e[3]+""+e[3]),a:q(e[4]+""+e[4]),format:r?"name":"hex8"}:!!(e=V.hex3.exec(t))&&{r:U(e[1]+""+e[1]),g:U(e[2]+""+e[2]),b:U(e[3]+""+e[3]),format:r?"name":"hex"}}(t)),"object"==typeof t&&(W(t.r)&&W(t.g)&&W(t.b)?(e=t.r,r=t.g,n=t.b,c={r:255*L(e,255),g:255*L(r,255),b:255*L(n,255)},d=!0,v="%"===String(t.r).substr(-1)?"prgb":"rgb"):W(t.h)&&W(t.s)&&W(t.v)?(f=M(t.s),h=M(t.v),c=function(t,e,r){t=6*L(t,360),e=L(e,100),r=L(r,100);var n=o.floor(t),i=t-n,a=r*(1-e),c=r*(1-i*e),s=r*(1-(1-i)*e),u=n%6;return{r:255*[r,c,a,a,s,r][u],g:255*[s,r,r,c,a,a][u],b:255*[a,a,s,r,r,c][u]}}(t.h,f,h),d=!0,v="hsv"):W(t.h)&&W(t.s)&&W(t.l)&&(f=M(t.s),p=M(t.l),c=function(t,e,r){var n,o,i;function a(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=L(t,360),e=L(e,100),r=L(r,100),0===e)n=o=i=r;else{var c=r<.5?r*(1+e):r+e-r*e,s=2*r-c;n=a(s,c,t+1/3),o=a(s,c,t),i=a(s,c,t-1/3)}return{r:255*n,g:255*o,b:255*i}}(t.h,f,p),d=!0,v="hsl"),t.hasOwnProperty("a")&&(s=t.a)),s=C(s),{ok:d,format:t.format||v,r:u(255,l(c.r,0)),g:u(255,l(c.g,0)),b:u(255,l(c.b,0)),a:s}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=s(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=r.ok,this._tc_id=c++}function p(t,e,r){t=L(t,255),e=L(e,255),r=L(r,255);var n,o,i=l(t,e,r),a=u(t,e,r),c=(i+a)/2;if(i==a)n=o=0;else{var s=i-a;switch(o=c>.5?s/(2-i-a):s/(i+a),i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,l:c}}function d(t,e,r){t=L(t,255),e=L(e,255),r=L(r,255);var n,o,i=l(t,e,r),a=u(t,e,r),c=i,s=i-a;if(o=0===i?0:s/i,i==a)n=0;else{switch(i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,v:c}}function v(t,e,r,n){var o=[N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(t,e,r,n){return[N(F(n)),N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16))].join("")}function m(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.s-=e/100,r.s=P(r.s),h(r)}function b(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.s+=e/100,r.s=P(r.s),h(r)}function y(t){return h(t).desaturate(100)}function _(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.l+=e/100,r.l=P(r.l),h(r)}function w(t,e){e=0===e?0:e||10;var r=h(t).toRgb();return r.r=l(0,u(255,r.r-s(-e/100*255))),r.g=l(0,u(255,r.g-s(-e/100*255))),r.b=l(0,u(255,r.b-s(-e/100*255))),h(r)}function x(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.l-=e/100,r.l=P(r.l),h(r)}function S(t,e){var r=h(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,h(r)}function A(t){var e=h(t).toHsl();return e.h=(e.h+180)%360,h(e)}function R(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+120)%360,s:e.s,l:e.l}),h({h:(r+240)%360,s:e.s,l:e.l})]}function I(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+90)%360,s:e.s,l:e.l}),h({h:(r+180)%360,s:e.s,l:e.l}),h({h:(r+270)%360,s:e.s,l:e.l})]}function O(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+72)%360,s:e.s,l:e.l}),h({h:(r+216)%360,s:e.s,l:e.l})]}function k(t,e,r){e=e||6,r=r||30;var n=h(t).toHsl(),o=360/r,i=[h(t)];for(n.h=(n.h-(o*e>>1)+720)%360;--e;)n.h=(n.h+o)%360,i.push(h(n));return i}function E(t,e){e=e||6;for(var r=h(t).toHsv(),n=r.h,o=r.s,i=r.v,a=[],c=1/e;e--;)a.push(h({h:n,s:o,v:i})),i=(i+c)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=C(t),this._roundA=s(100*this._a)/100,this},toHsv:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=d(this._r,this._g,this._b),e=s(360*t.h),r=s(100*t.s),n=s(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=p(this._r,this._g,this._b),e=s(360*t.h),r=s(100*t.s),n=s(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return v(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,o){var i=[N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16)),N(F(n))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*L(this._r,255))+"%",g:s(100*L(this._g,255))+"%",b:s(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*L(this._r,255))+"%, "+s(100*L(this._g,255))+"%, "+s(100*L(this._b,255))+"%)":"rgba("+s(100*L(this._r,255))+"%, "+s(100*L(this._g,255))+"%, "+s(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+g(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var o=h(t);r="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(R,arguments)},tetrad:function(){return this._applyCombination(I,arguments)}},h.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:M(t[n]));t=r}return h(t,e)},h.equals=function(t,e){return!(!t||!e)&&h(t).toRgbString()==h(e).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,e,r){r=0===r?0:r||50;var n=h(t).toRgb(),o=h(e).toRgb(),i=r/100;return h({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},h.readability=function(t,e){var r=h(t),n=h(e);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},h.isReadable=function(t,e,r){var n,o,i,a,c,s=h.readability(t,e);switch(o=!1,(i=r,"AA"!==(a=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(c=(i.size||"small").toLowerCase())&&"large"!==c&&(c="small"),n={level:a,size:c}).level+n.size){case"AAsmall":case"AAAlarge":o=s>=4.5;break;case"AAlarge":o=s>=3;break;case"AAAsmall":o=s>=7}return o},h.mostReadable=function(t,e,r){var n,o,i,a,c=null,s=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var u=0;u<e.length;u++)(n=h.readability(t,e[u]))>s&&(s=n,c=h(e[u]));return h.isReadable(t,c,{level:i,size:a})||!o?c:(r.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],r))};var j=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=h.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(j);function C(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function L(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=u(e,l(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),o.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function P(t){return u(1,l(0,t))}function U(t){return parseInt(t,16)}function N(t){return 1==t.length?"0"+t:""+t}function M(t){return t<=1&&(t=100*t+"%"),t}function F(t){return o.round(255*parseFloat(t)).toString(16)}function q(t){return U(t)/255}var B,D,H,V=(D="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",H="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(t){return!!V.CSS_UNIT.exec(t)}t.exports?t.exports=h:void 0===(n=function(){return h}.call(e,r,e,t))||(t.exports=n)}(Math)},function(t,e,r){var n=r(157);t.exports=n},function(t,e,r){r(158),r(159),r(160),r(165),r(166),r(167),r(129),r(168);var n=r(27);t.exports=n.Promise},function(t,e,r){"use strict";var n=r(12),o=r(70),i=r(95),a=r(88),c=r(20),s=r(33),u=r(71),l=function(t,e){var r=this;if(!(r instanceof l))return new l(t,e);i&&(r=i(new Error(void 0),o(r))),void 0!==e&&c(r,"message",String(e));var n=[];return u(t,n.push,{that:n}),c(r,"errors",n),r};l.prototype=a(Error.prototype,{constructor:s(5,l),message:s(5,""),name:s(5,"AggregateError")}),n({global:!0},{AggregateError:l})},function(t,e){},function(t,e,r){"use strict";var n,o,i,a,c=r(12),s=r(35),u=r(9),l=r(34),f=r(124),h=r(50),p=r(151),d=r(60),v=r(161),g=r(17),m=r(32),b=r(140),y=r(98),_=r(71),w=r(141),x=r(125),S=r(126).set,A=r(162),R=r(128),I=r(164),O=r(73),k=r(91),E=r(68),j=r(81),T=r(10),C=r(44),L=r(46),P=T("species"),U="Promise",N=E.get,M=E.set,F=E.getterFor(U),q=f,B=u.TypeError,D=u.document,H=u.process,V=l("fetch"),W=O.f,z=W,G=!!(D&&D.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,$=j(U,(function(){if(y(q)===String(q)){if(66===L)return!0;if(!C&&!Y)return!0}if(s&&!q.prototype.finally)return!0;if(L>=51&&/native code/.test(q))return!1;var t=q.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[P]=e,!(t.then((function(){}))instanceof e)})),X=$||!w((function(t){q.all(t).catch((function(){}))})),Z=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Q=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;A((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,c,s,u=r[i++],l=o?u.ok:u.fail,f=u.resolve,h=u.reject,p=u.domain;try{l?(o||(2===t.rejection&&et(t),t.rejection=1),!0===l?a=n:(p&&p.enter(),a=l(n),p&&(p.exit(),s=!0)),a===u.promise?h(B("Promise-chain cycle")):(c=Z(a))?c.call(a,f,h):f(a)):h(n)}catch(t){p&&!s&&p.exit(),h(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&K(t)}))}},J=function(t,e,r){var n,o;G?((n=D.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!Y&&(o=u["on"+t])?o(n):"unhandledrejection"===t&&I("Unhandled promise rejection",r)},K=function(t){S.call(u,(function(){var e,r=t.facade,n=t.value;if(tt(t)&&(e=k((function(){C?H.emit("unhandledRejection",n,r):J("unhandledrejection",r,n)})),t.rejection=C||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){S.call(u,(function(){var e=t.facade;C?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},rt=function(t,e,r){return function(n){t(e,n,r)}},nt=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Q(t,!0))},ot=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw B("Promise can't be resolved itself");var n=Z(e);n?A((function(){var r={done:!1};try{n.call(e,rt(ot,r,t),rt(nt,r,t))}catch(e){nt(r,e,t)}})):(t.value=e,t.state=1,Q(t,!1))}catch(e){nt({done:!1},e,t)}}};$&&(q=function(t){b(this,q,U),m(t),n.call(this);var e=N(this);try{t(rt(ot,e),rt(nt,e))}catch(t){nt(e,t)}},(n=function(t){M(this,{type:U,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(q.prototype,{then:function(t,e){var r=F(this),n=W(x(this,q));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?H.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Q(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,e),this.reject=rt(nt,e)},O.f=W=function(t){return t===q||t===i?new o(t):z(t)},s||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(t,e){var r=this;return new q((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return R(q,V.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:$},{Promise:q}),d(q,U,!1,!0),v(U),i=l(U),c({target:U,stat:!0,forced:$},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),c({target:U,stat:!0,forced:s||$},{resolve:function(t){return R(s&&this===i?q:this,t)}}),c({target:U,stat:!0,forced:X},{all:function(t){var e=this,r=W(e),n=r.resolve,o=r.reject,i=k((function(){var r=m(e.resolve),i=[],a=0,c=1;_(t,(function(t){var s=a++,u=!1;i.push(void 0),c++,r.call(e,t).then((function(t){u||(u=!0,i[s]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=W(e),n=r.reject,o=k((function(){var o=m(e.resolve);_(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){"use strict";var n=r(34),o=r(39),i=r(10),a=r(24),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n,o,i,a,c,s,u,l,f=r(9),h=r(74).f,p=r(126).set,d=r(127),v=r(163),g=r(44),m=f.MutationObserver||f.WebKitMutationObserver,b=f.document,y=f.process,_=f.Promise,w=h(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(g&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},d||g||v||!m||!b?_&&_.resolve?(u=_.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=g?function(){y.nextTick(n)}:function(){p.call(f,n)}:(c=!0,s=b.createTextNode(""),new m(n).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),t.exports=x||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,r){var n=r(59);t.exports=/web0s(?!.*chrome)/i.test(n)},function(t,e,r){var n=r(9);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},function(t,e,r){"use strict";var n=r(12),o=r(32),i=r(73),a=r(91),c=r(71);n({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=i.f(e),n=r.resolve,s=r.reject,u=a((function(){var r=o(e.resolve),i=[],a=0,s=1;c(t,(function(t){var o=a++,c=!1;i.push(void 0),s++,r.call(e,t).then((function(t){c||(c=!0,i[o]={status:"fulfilled",value:t},--s||n(i))}),(function(t){c||(c=!0,i[o]={status:"rejected",reason:t},--s||n(i))}))})),--s||n(i)}));return u.error&&s(u.value),r.promise}})},function(t,e,r){"use strict";var n=r(12),o=r(32),i=r(34),a=r(73),c=r(91),s=r(71);n({target:"Promise",stat:!0},{any:function(t){var e=this,r=a.f(e),n=r.resolve,u=r.reject,l=c((function(){var r=o(e.resolve),a=[],c=0,l=1,f=!1;s(t,(function(t){var o=c++,s=!1;a.push(void 0),l++,r.call(e,t).then((function(t){s||f||(f=!0,n(t))}),(function(t){s||f||(s=!0,a[o]=t,--l||u(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--l||u(new(i("AggregateError"))(a,"No one promise resolved"))}));return l.error&&u(l.value),r.promise}})},function(t,e,r){"use strict";var n=r(12),o=r(35),i=r(124),a=r(13),c=r(34),s=r(125),u=r(128),l=r(50);n({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,c("Promise")),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",c("Promise").prototype.finally)},function(t,e,r){r(152);var n=r(169),o=r(9),i=r(66),a=r(20),c=r(36),s=r(10)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==s&&a(f,s,u),c[u]=c.Array}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},,,,,function(t,e,r){var n=r(175);t.exports=n},function(t,e,r){var n=r(176),o=Array.prototype;t.exports=function(t){var e=t.filter;return t===o||t instanceof Array&&e===o.filter?n:e}},function(t,e,r){r(177);var n=r(28);t.exports=n("Array").filter},function(t,e,r){"use strict";var n=r(12),o=r(100).filter;n({target:"Array",proto:!0,forced:!r(83)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(179);t.exports=n},function(t,e,r){r(180);var n=r(27);t.exports=n.Object.keys},function(t,e,r){var n=r(12),o=r(43),i=r(82);n({target:"Object",stat:!0,forced:r(13)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,r){var n=r(182);t.exports=n},function(t,e,r){var n=r(183),o=Array.prototype;t.exports=function(t){var e=t.reduce;return t===o||t instanceof Array&&e===o.reduce?n:e}},function(t,e,r){r(184);var n=r(28);t.exports=n("Array").reduce},function(t,e,r){"use strict";var n=r(12),o=r(185).left,i=r(132),a=r(46),c=r(44);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(32),o=r(43),i=r(53),a=r(40),c=function(t){return function(e,r,c,s){n(r);var u=o(e),l=i(u),f=a(u.length),h=t?f-1:0,p=t?-1:1;if(c<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,t?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=p)h in l&&(s=r(s,l[h],h,u));return s}};t.exports={left:c(!1),right:c(!0)}},,,,,,,function(t,e,r){t.exports=r(211)},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(62),o=r.n(n),i=r(15),a=r.n(i),c=r(147),s=r.n(c),u=r(1);class l{constructor(t,e){this.stripe=null,this.options=t,this.request=e}getAjaxUrl(t,e="wc_stripe_"){var r,n,o;return null===(r=this.options)||void 0===r||null===(n=r.ajax_url)||void 0===n||null===(o=n.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)}getFriendlyErrorMessage(t){switch(t.statusText){case"timeout":return Object(u.__)("A timeout occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe");case"abort":return Object(u.__)("The connection to the server was aborted. Please try again.","woocommerce-gateway-stripe");case"error":default:return Object(u.__)("An error occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe")}}getStripe(){const{key:t,locale:e,isUPEEnabled:r}=this.options;return this.stripe||(this.stripe=r?new Stripe(t,{betas:["payment_element_beta_1"],locale:e}):new Stripe(t,{locale:e})),this.stripe}loadStripe(){return new o.a(t=>{try{t(this.getStripe())}catch(e){t({error:e})}})}initSetupIntent(){var t;return this.request(this.getAjaxUrl("init_setup_intent"),{_ajax_nonce:null===(t=this.options)||void 0===t?void 0:t.createSetupIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}createIntent(t){var e;return this.request(this.getAjaxUrl("create_payment_intent"),{stripe_order_id:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.createPaymentIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateIntent(t,e,r,n){var o;if(!a()(t).call(t,"seti_"))return this.request(this.getAjaxUrl("update_payment_intent"),{stripe_order_id:e,wc_payment_intent_id:t,save_payment_method:r,selected_upe_payment_type:n,_ajax_nonce:null===(o=this.options)||void 0===o?void 0:o.updatePaymentIntentNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}confirmIntent(t,e){const r=t.match(/#wc-stripe-confirm-(pi|si):(.+):(.+):(.+)$/);if(!r)return!0;const n="si"===r[1];let o=r[2];const i=r[3],a=r[4],c=s()(t).call(t,"order-pay"),u=c>-1,l=u&&t.substring(c).match(/\d+/);return l&&(o=l[0]),{request:(n?this.getStripe().confirmCardSetup(i):this.getStripe(!0).confirmCardPayment(i)).then(t=>{const r=t.paymentIntent&&t.paymentIntent.id||t.setupIntent&&t.setupIntent.id||t.error&&t.error.payment_intent&&t.error.payment_intent.id||t.error.setup_intent&&t.error.setup_intent.id;return[this.request(this.getAjaxUrl("update_order_status"),{order_id:o,intent_id:r,payment_method_id:e||null,_ajax_nonce:a}),t.error]}).then(([t,e])=>{if(e)throw e;return t.then(t=>{if(!t.success)throw t.data.error;return t.data.return_url})}),isOrderPage:u}}saveUPEAppearance(t){var e;return this.request(this.getAjaxUrl("save_upe_appearance"),{appearance:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.saveUPEAppearanceNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}processCheckout(t,e){return this.request(this.getAjaxUrl("checkout",""),{...e,wc_payment_intent_id:t}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateFailedOrder(t,e){var r;this.request(this.getAjaxUrl("update_failed_order"),{intent_id:t,order_id:e,_ajax_nonce:null===(r=this.options)||void 0===r?void 0:r.updateFailedOrderNonce}).catch(()=>{})}}},,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(212);t.exports=n},function(t,e,r){var n=r(213),o=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===o||t instanceof String&&e===o.trim?n:e}},function(t,e,r){r(214);var n=r(28);t.exports=n("String").trim},function(t,e,r){"use strict";var n=r(12),o=r(153).trim;n({target:"String",proto:!0,forced:r(215)("trim")},{trim:function(){return o(this)}})},function(t,e,r){var n=r(13),o=r(116);t.exports=function(t){return n((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},function(t,e,r){var n=r(217);t.exports=n},function(t,e,r){var n=r(218),o=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===o||t instanceof Array&&e===o.indexOf?n:e}},function(t,e,r){r(219);var n=r(28);t.exports=n("Array").indexOf},function(t,e,r){"use strict";var n=r(12),o=r(64).indexOf,i=r(132),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,s=i("indexOf");n({target:"Array",proto:!0,forced:c||!s},{indexOf:function(t){return c?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(41),o=r(43),i=r(221),a=r(122),c=r(40),s=r(144),u=r(97);t.exports=function(t){var e,r,l,f,h,p,d=o(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,b=void 0!==m,y=u(d),_=0;if(b&&(m=n(m,g>2?arguments[2]:void 0,2)),null==y||v==Array&&a(y))for(r=new v(e=c(d.length));e>_;_++)p=b?m(d[_],_):d[_],s(r,_,p);else for(h=(f=y.call(d)).next,r=new v;!(l=h.call(f)).done;_++)p=b?i(f,m,[l.value,_],!0):l.value,s(r,_,p);return r.length=_,r}},function(t,e,r){var n=r(21),o=r(123);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){throw o(t),e}}},,function(t,e,r){t.exports=r(248)},,,,function(t,e,r){var n=r(13),o=r(10),i=r(35),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(t,e,r){"use strict";var n=r(24),o=r(13),i=r(82),a=r(255),c=r(87),s=r(43),u=r(53),l=Object.assign,f=Object.defineProperty;t.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[r]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var r=s(t),o=arguments.length,l=1,f=a.f,h=c.f;o>l;)for(var p,d=u(arguments[l++]),v=f?i(d).concat(f(d)):i(d),g=v.length,m=0;g>m;)p=v[m++],n&&!h.call(d,p)||(r[p]=d[p]);return r}:l},function(t,e,r){"use strict";r(152);var n=r(12),o=r(34),i=r(227),a=r(50),c=r(151),s=r(60),u=r(131),l=r(68),f=r(140),h=r(18),p=r(41),d=r(66),v=r(21),g=r(17),m=r(88),b=r(33),y=r(257),_=r(97),w=r(10),x=o("fetch"),S=o("Headers"),A=w("iterator"),R=l.set,I=l.getterFor("URLSearchParams"),O=l.getterFor("URLSearchParamsIterator"),k=/\+/g,E=Array(4),j=function(t){return E[t-1]||(E[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},T=function(t){try{return decodeURIComponent(t)}catch(e){return t}},C=function(t){var e=t.replace(k," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(j(r--),T);return e}},L=/[!'()~]|%20/g,P={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},U=function(t){return P[t]},N=function(t){return encodeURIComponent(t).replace(L,U)},M=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:C(n.shift()),value:C(n.join("="))}))},F=function(t){this.entries.length=0,M(this.entries,t)},q=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=u((function(t,e){R(this,{type:"URLSearchParamsIterator",iterator:y(I(t).entries),kind:e})}),"Iterator",(function(){var t=O(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),D=function(){f(this,D,"URLSearchParams");var t,e,r,n,o,i,a,c,s,u=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(R(l,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==u)if(g(u))if("function"==typeof(t=_(u)))for(r=(e=t.call(u)).next;!(n=r.call(e)).done;){if((a=(i=(o=y(v(n.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(s in u)h(u,s)&&p.push({key:s,value:u[s]+""});else M(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},H=D.prototype;c(H,{append:function(t,e){q(arguments.length,2);var r=I(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){q(arguments.length,1);for(var e=I(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){q(arguments.length,1);for(var r,n=I(this),o=n.entries,i=!1,a=t+"",c=e+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=c));i||o.push({key:a,value:c}),n.updateURL()},sort:function(){var t,e,r,n=I(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=I(this).entries,n=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(H,A,H.entries),a(H,"toString",(function(){for(var t,e=I(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),s(D,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:D}),i||"function"!=typeof x||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(g(e=arguments[1])&&(r=e.body,"URLSearchParams"===d(r)&&((n=e.headers?new S(e.headers):new S).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:b(0,String(r)),headers:b(0,n)}))),o.push(e)),x.apply(this,o)}}),t.exports={URLSearchParams:D,getState:I}},,function(t,e,r){t.exports=r(244)},function(t,e,r){t.exports=r(252)},function(t,e,r){t.exports=r(259)},,,,,,,,,,,function(t,e,r){var n=r(245);t.exports=n},function(t,e,r){var n=r(246),o=Array.prototype;t.exports=function(t){var e=t.find;return t===o||t instanceof Array&&e===o.find?n:e}},function(t,e,r){r(247);var n=r(28);t.exports=n("Array").find},function(t,e,r){"use strict";var n=r(12),o=r(100).find,i=r(77),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,e,r){var n=r(249);t.exports=n},function(t,e,r){var n=r(250),o=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===o||t instanceof String&&e===o.startsWith?n:e}},function(t,e,r){r(251);var n=r(28);t.exports=n("String").startsWith},function(t,e,r){"use strict";var n,o=r(12),i=r(74).f,a=r(40),c=r(102),s=r(31),u=r(103),l=r(35),f="".startsWith,h=Math.min,p=u("startsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(n=i(String.prototype,"startsWith"),n&&!n.writable)||p)},{startsWith:function(t){var e=String(s(this));c(t);var r=a(h(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return f?f.call(e,n,r):e.slice(r,r+n.length)===n}})},function(t,e,r){var n=r(253);t.exports=n},function(t,e,r){r(254),r(258),r(229);var n=r(27);t.exports=n.URL},function(t,e,r){"use strict";r(129);var n,o=r(12),i=r(24),a=r(227),c=r(9),s=r(121),u=r(50),l=r(140),f=r(18),h=r(228),p=r(220),d=r(130).codeAt,v=r(256),g=r(60),m=r(229),b=r(68),y=c.URL,_=m.URLSearchParams,w=m.getState,x=b.set,S=b.getterFor("URL"),A=Math.floor,R=Math.pow,I=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,k=/\d/,E=/^(0x|0X)/,j=/^[0-7]+$/,T=/^\d+$/,C=/^[\dA-Fa-f]+$/,L=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,P=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\t\u000A\u000D]/g,M=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=q(e.slice(1,-1))))return"Invalid host";t.host=r}else if(Y(t)){if(e=v(e),L.test(e))return"Invalid host";if(null===(r=F(e)))return"Invalid host";t.host=r}else{if(P.test(e))return"Invalid host";for(r="",n=p(e),o=0;o<n.length;o++)r+=z(n[o],D);t.host=r}},F=function(t){var e,r,n,o,i,a,c,s=t.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=E.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?T:8==i?j:C).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=R(256,5-e))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*R(256,3-n);return c},q=function(t){var e,r,n,o,i,a,c,s=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,h=function(){return t.charAt(f)};if(":"==h()){if(":"!=t.charAt(1))return;f+=2,l=++u}for(;h();){if(8==u)return;if(":"!=h()){for(e=r=0;r<4&&C.test(h());)e=16*e+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;f++}if(!k.test(h()))return;for(;k.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[u]=256*s[u]+o,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;s[u++]=e}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)c=s[u],s[u--]=s[l+a-1],s[l+--a]=c;else if(8!=u)return;return s},B=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=A(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},D={},H=h({},D,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},H,{"#":1,"?":1,"{":1,"}":1}),W=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(t,e){var r=d(t,0);return r>32&&r<127&&!f(e,t)?t:encodeURIComponent(t)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return f(G,t.scheme)},$=function(t){return""!=t.username||""!=t.password},X=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Z=function(t,e){var r;return 2==t.length&&I.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},Q=function(t){var e;return t.length>1&&Z(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},J=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&Z(e[0],!0)||e.pop()},K=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},at={},ct={},st={},ut={},lt={},ft={},ht={},pt={},dt={},vt={},gt={},mt={},bt={},yt={},_t={},wt=function(t,e,r,o){var i,a,c,s,u,l=r||tt,h=0,d="",v=!1,g=!1,m=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(U,"")),e=e.replace(N,""),i=p(e);h<=i.length;){switch(a=i[h],l){case tt:if(!a||!I.test(a)){if(r)return"Invalid scheme";l=rt;continue}d+=a.toLowerCase(),l=et;break;case et:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))d+=a.toLowerCase();else{if(":"!=a){if(r)return"Invalid scheme";d="",l=rt,h=0;continue}if(r&&(Y(t)!=f(G,d)||"file"==d&&($(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=d,r)return void(Y(t)&&G[t.scheme]==t.port&&(t.port=null));d="","file"==t.scheme?l=pt:Y(t)&&o&&o.scheme==t.scheme?l=nt:Y(t)?l=ct:"/"==i[h+1]?(l=ot,h++):(t.cannotBeABaseURL=!0,t.path.push(""),l=bt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,l=_t;break}l="file"==o.scheme?pt:it;continue;case nt:if("/"!=a||"/"!=i[h+1]){l=it;continue}l=st,h++;break;case ot:if("/"==a){l=ut;break}l=mt;continue;case it:if(t.scheme=o.scheme,a==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&Y(t))l=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",l=yt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),l=mt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=_t}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,l=mt;continue}l=ut}else l=st;break;case ct:if(l=st,"/"!=a||"/"!=d.charAt(h+1))continue;h++;break;case st:if("/"!=a&&"\\"!=a){l=ut;continue}break;case ut:if("@"==a){v&&(d="%40"+d),v=!0,c=p(d);for(var b=0;b<c.length;b++){var y=c[b];if(":"!=y||m){var _=z(y,W);m?t.password+=_:t.username+=_}else m=!0}d=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(v&&""==d)return"Invalid authority";h-=p(d).length+1,d="",l=lt}else d+=a;break;case lt:case ft:if(r&&"file"==t.scheme){l=vt;continue}if(":"!=a||g){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==d)return"Invalid host";if(r&&""==d&&($(t)||null!==t.port))return;if(s=M(t,d))return s;if(d="",l=gt,r)return;continue}"["==a?g=!0:"]"==a&&(g=!1),d+=a}else{if(""==d)return"Invalid host";if(s=M(t,d))return s;if(d="",l=ht,r==ft)return}break;case ht:if(!k.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return"Invalid port";t.port=Y(t)&&w===G[t.scheme]?null:w,d=""}if(r)return;l=gt;continue}return"Invalid port"}d+=a;break;case pt:if(t.scheme="file","/"==a||"\\"==a)l=dt;else{if(!o||"file"!=o.scheme){l=mt;continue}if(a==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",l=yt;else{if("#"!=a){Q(i.slice(h).join(""))||(t.host=o.host,t.path=o.path.slice(),J(t)),l=mt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=_t}}break;case dt:if("/"==a||"\\"==a){l=vt;break}o&&"file"==o.scheme&&!Q(i.slice(h).join(""))&&(Z(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),l=mt;continue;case vt:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&Z(d))l=mt;else if(""==d){if(t.host="",r)return;l=gt}else{if(s=M(t,d))return s;if("localhost"==t.host&&(t.host=""),r)return;d="",l=gt}continue}d+=a;break;case gt:if(Y(t)){if(l=mt,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(l=mt,"/"!=a))continue}else t.fragment="",l=_t;else t.query="",l=yt;break;case mt:if(a==n||"/"==a||"\\"==a&&Y(t)||!r&&("?"==a||"#"==a)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(J(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):K(d)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Z(d)&&(t.host&&(t.host=""),d=d.charAt(0)+":"),t.path.push(d)),d="","file"==t.scheme&&(a==n||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=yt):"#"==a&&(t.fragment="",l=_t)}else d+=z(a,V);break;case bt:"?"==a?(t.query="",l=yt):"#"==a?(t.fragment="",l=_t):a!=n&&(t.path[0]+=z(a,D));break;case yt:r||"#"!=a?a!=n&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":z(a,D)):(t.fragment="",l=_t);break;case _t:a!=n&&(t.fragment+=z(a,H))}h++}},xt=function(t){var e,r,n=l(this,xt,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),c=x(n,{type:"URL"});if(void 0!==o)if(o instanceof xt)e=S(o);else if(r=wt(e={},String(o)))throw TypeError(r);if(r=wt(c,a,null,e))throw TypeError(r);var s=c.searchParams=new _,u=w(s);u.updateSearchParams(c.query),u.updateURL=function(){c.query=String(s)||null},i||(n.href=At.call(n),n.origin=Rt.call(n),n.protocol=It.call(n),n.username=Ot.call(n),n.password=kt.call(n),n.host=Et.call(n),n.hostname=jt.call(n),n.port=Tt.call(n),n.pathname=Ct.call(n),n.search=Lt.call(n),n.searchParams=Pt.call(n),n.hash=Ut.call(n))},St=xt.prototype,At=function(){var t=S(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,c=t.query,s=t.fragment,u=e+":";return null!==o?(u+="//",$(t)&&(u+=r+(n?":"+n:"")+"@"),u+=B(o),null!==i&&(u+=":"+i)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(u+="?"+c),null!==s&&(u+="#"+s),u},Rt=function(){var t=S(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+B(t.host)+(null!==r?":"+r:""):"null"},It=function(){return S(this).scheme+":"},Ot=function(){return S(this).username},kt=function(){return S(this).password},Et=function(){var t=S(this),e=t.host,r=t.port;return null===e?"":null===r?B(e):B(e)+":"+r},jt=function(){var t=S(this).host;return null===t?"":B(t)},Tt=function(){var t=S(this).port;return null===t?"":String(t)},Ct=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Lt=function(){var t=S(this).query;return t?"?"+t:""},Pt=function(){return S(this).searchParams},Ut=function(){var t=S(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&s(St,{href:Nt(At,(function(t){var e=S(this),r=String(t),n=wt(e,r);if(n)throw TypeError(n);w(e.searchParams).updateSearchParams(e.query)})),origin:Nt(Rt),protocol:Nt(It,(function(t){var e=S(this);wt(e,String(t)+":",tt)})),username:Nt(Ot,(function(t){var e=S(this),r=p(String(t));if(!X(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=z(r[n],W)}})),password:Nt(kt,(function(t){var e=S(this),r=p(String(t));if(!X(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=z(r[n],W)}})),host:Nt(Et,(function(t){var e=S(this);e.cannotBeABaseURL||wt(e,String(t),lt)})),hostname:Nt(jt,(function(t){var e=S(this);e.cannotBeABaseURL||wt(e,String(t),ft)})),port:Nt(Tt,(function(t){var e=S(this);X(e)||(""==(t=String(t))?e.port=null:wt(e,t,ht))})),pathname:Nt(Ct,(function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],wt(e,t+"",gt))})),search:Nt(Lt,(function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",wt(e,t,yt)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Pt),hash:Nt(Ut,(function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",wt(e,t,_t)):e.fragment=null}))}),u(St,"toJSON",(function(){return At.call(this)}),{enumerable:!0}),u(St,"toString",(function(){return At.call(this)}),{enumerable:!0}),y){var Mt=y.createObjectURL,Ft=y.revokeObjectURL;Mt&&u(xt,"createObjectURL",(function(t){return Mt.apply(y,arguments)})),Ft&&u(xt,"revokeObjectURL",(function(t){return Ft.apply(y,arguments)}))}g(xt,"URL"),o({global:!0,forced:!a,sham:!i},{URL:xt})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,s=function(t){return t+22+75*(t<26)},u=function(t,e,r){var n=0;for(t=r?a(t/700):t>>1,t+=a(t/e);t>455;n+=36)t=a(t/35);return a(n+36*t/(t+38))},l=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,l=128,f=0,h=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(c(r));var p=n.length,d=p;for(p&&n.push("-");d<o;){var v=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=l&&r<v&&(v=r);var g=d+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,e=0;e<t.length;e++){if((r=t[e])<l&&++f>2147483647)throw RangeError(i);if(r==l){for(var m=f,b=36;;b+=36){var y=b<=h?1:b>=h+26?26:b-h;if(m<y)break;var _=m-y,w=36-y;n.push(c(s(y+_%w))),m=a(_/w)}n.push(c(s(m))),h=u(f,g,d==p),f=0,++d}}++f,++l}return n.join("")};t.exports=function(t){var e,r,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)r=a[e],i.push(n.test(r)?"xn--"+l(r):r);return i.join(".")}},function(t,e,r){var n=r(21),o=r(97);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e){},function(t,e,r){var n=r(260);t.exports=n},function(t,e,r){r(261);var n=r(27);t.exports=n.Object.assign},function(t,e,r){var n=r(12),o=r(228);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){},,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e);var n=r(62),o=r.n(n),i=r(15),a=r.n(i),c=r(231),s=r.n(c),u=r(192),l=r.n(u),f=r(104),h=r.n(f),p=r(223),d=r.n(p),v=r(37),g=r.n(v),m=r(193),b=r(29),y=r(232),_=r.n(y),w=r(147),x=r.n(w);const S=["color","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"],A=["fontFamily","fontSize","lineHeight","letterSpacing","fontWeight","fontVariation","textDecoration","textShadow","textTransform","-webkit-font-smoothing","-moz-osx-font-smoothing","transition"],R=["border","borderTop","borderRight","borderBottom","borderLeft","borderRadius","borderWidth","borderColor","borderStyle","borderTopWidth","borderTopColor","borderTopStyle","borderRightWidth","borderRightColor","borderRightStyle","borderBottomWidth","borderBottomColor","borderBottomStyle","borderLeftWidth","borderLeftColor","borderLeftStyle","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","outline","outlineOffset","backgroundColor","boxShadow"],I={".Label":[...S,...A],".Input":[...S,...A,...R],".Error":[...S,...A,...R],".Tab":[...S,...A,...R],".TabIcon":[...S],".TabLabel":[...S,...A]},O={".Label":I[".Label"],".Input":[...I[".Input"],"outlineColor","outlineWidth","outlineStyle"],".Error":I[".Error"],".Tab":["borderStyle","borderBottomStyle","borderTopStyle","borderRightStyle","borderLeftStyle","borderColor","borderBottomColor","borderTopColor","borderRightColor","borderLeftColor","borderWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderLeftWidth","backgroundColor","color","fontFamily"],".Tab--selected":["borderStyle","borderStyle","borderBottomStyle","borderTopStyle","borderRightStyle","borderLeftStyle","borderWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderLeftWidth","backgroundColor","color"],".TabIcon":I[".TabIcon"],".TabIcon--selected":["color"],".TabLabel":I[".TabLabel"]};var k=r(233),E=r.n(k),j=r(155),T=r.n(j);const C=t=>{if(!t.backgroundColor||!t.color)return t;const e=((t,e)=>{const r={backgroundColor:t,color:e},n=T()(t),o=T()(e);if(!n.isValid()||!o.isValid())return{backgroundColor:"",color:""};const i=n.getBrightness()>50?T()(n).darken(7):T()(n).lighten(7),a=T.a.mostReadable(i,[o],{includeFallbackColors:!0});return r.backgroundColor=i.toRgbString(),r.color=a.toRgbString(),r})(t.backgroundColor,t.color),r=E()({},t);return r.backgroundColor=e.backgroundColor,r.color=e.color,r},L=(t,e)=>{if(!document.querySelector(t))return{};const r=O[e],n=document.querySelector(t),o=window.getComputedStyle(n),i={};for(let t=0;t<o.length;t++){const e=o[t].replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}));a()(r).call(r,e)&&(i[e]=o.getPropertyValue(o[t]))}if(".Input"===e){const t=((t,e="solid",r)=>t&&r?[t,e,r].join(" "):"")(i.outlineWidth,i.outlineStyle,i.outlineColor);""!==t&&(i.outline=t),delete i.outlineWidth,delete i.outlineColor,delete i.outlineStyle}return i},P=()=>{const t=[],e=document.styleSheets,r=["fonts.googleapis.com","fonts.gstatic.com","fast.fonts.com","use.typekit.net"];for(let n=0;n<e.length;n++){if(!e[n].href)continue;const o=new _.a(e[n].href);-1!==x()(r).call(r,o.hostname)&&t.push({cssSrc:e[n].href})}return t};r(262),g()((function(t){var e,r,n,i,c,u;const f=null===(e=Object(b.b)())||void 0===e?void 0:e.key,p=null===(r=Object(b.b)())||void 0===r?void 0:r.isUPEEnabled,v=null===(n=Object(b.b)())||void 0===n?void 0:n.paymentMethodsConfig,y=null===(i=Object(b.b)())||void 0===i?void 0:i.enabledBillingFields;if(!f)return;const _=new m.a(Object(b.b)(),(t,e)=>new o.a((r,n)=>{g.a.post(t,e).then(r).fail(n)})),w={getHiddenContainer(){const t=document.createElement("div");return t.setAttribute("id","wc-stripe-hidden-div"),t.style.border=0,t.style.clip="rect(0 0 0 0)",t.style.height="1px",t.style.margin="-1px",t.style.overflow="hidden",t.style.padding="0",t.style.position="absolute",t.style.width="1px",t},getHiddenInvalidRow(){const t=document.createElement("p");return t.classList.add("form-row","woocommerce-invalid","woocommerce-invalid-required-field"),t},appendHiddenClone(t,e,r){const n=g()(e).clone().prop("id",r);return t.appendChild(n.get(0)),n},init(){if(!t(" #billing_first_name").length)return;const e=this.getHiddenContainer();t(e).insertAfter("#billing_first_name"),this.appendHiddenClone(e,"#billing_first_name","wc-stripe-hidden-input"),t("#wc-stripe-hidden-input").trigger("focus");const r=this.getHiddenInvalidRow();this.appendHiddenClone(r,"#billing_first_name","wc-stripe-hidden-invalid-input"),e.appendChild(r),t("#wc-stripe-hidden-input").css("transition","none")},cleanup(){t("#wc-stripe-hidden-div").remove()}},x=_.getStripe().elements({fonts:P()}),S=null!==(c=null===(u=Object(b.b)())||void 0===u?void 0:u.sepaElementsOptions)&&void 0!==c?c:{},A=x.create("iban",S);let R=null,I=null,O=!1;const k={name:a()(y).call(y,"billing_first_name")||a()(y).call(y,"billing_last_name")?"never":"auto",email:a()(y).call(y,"billing_email")?"never":"auto",phone:a()(y).call(y,"billing_phone")?"never":"auto",address:{country:a()(y).call(y,"billing_country")?"never":"auto",line1:a()(y).call(y,"billing_address_1")?"never":"auto",line2:a()(y).call(y,"billing_address_2")?"never":"auto",city:a()(y).call(y,"billing_city")?"never":"auto",state:a()(y).call(y,"billing_state")?"never":"auto",postalCode:a()(y).call(y,"billing_postcode")?"never":"auto"}},E=t=>{t.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},j=t=>{t.removeClass("processing").unblock()},T=()=>t("#stripe-iban-element").length&&!t("#stripe-iban-element").children().length,U=e=>{var r;"string"==typeof e||e instanceof String||(e=e.code&&Object(b.b)()[e.code]?Object(b.b)()[e.code]:e.message);let n="";n=a()(e).call(e,"woocommerce-error")?e:'<ul class="woocommerce-error" role="alert"><li>'+e+"</li></ul>";const o=t(".woocommerce-notices-wrapper").first();o.length&&(t(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),o.prepend(n),s()(r=t("form.checkout")).call(r,".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices(o),t(document.body).trigger("checkout_error"))},N=function(e=!1){var r,n;if(E(t("#wc-stripe-upe-form")),R)return R.unmount(),void R.mount("#wc-stripe-upe-element");const o=null===(r=Object(b.b)())||void 0===r?void 0:r.isOrderPay,i=null===(n=Object(b.b)())||void 0===n?void 0:n.isCheckout;let a;var c;o&&(a=null===(c=Object(b.b)())||void 0===c?void 0:c.orderId),(e?_.initSetupIntent():_.createIntent(a)).then(e=>{var r,n;if(R||I)return R.unmount(),void R.mount("#wc-stripe-upe-element");const{client_secret:a,id:c}=e;I=c;let s=null===(r=Object(b.b)())||void 0===r?void 0:r.upeAppeareance;s||(w.init(),s=(()=>{const t=L("#billing_first_name",".Input"),e=L("#wc-stripe-hidden-input",".Input"),r=L("#wc-stripe-hidden-invalid-input",".Input"),n=L(".woocommerce-checkout .form-row label",".Label"),o=L("#billing_first_name",".Tab"),i=L(".woocommerce-checkout .place-order .button.alt",".Tab--selected"),a=C(o),c=C(i);return{rules:{".Input":t,".Input:focus":e,".Input--invalid":r,".Label":n,".Tab":o,".Tab:hover":a,".Tab--selected":i,".Tab--selected:hover":c,".TabIcon:hover":{color:a.color},".TabIcon--selected":{color:i.color},".TabIcon--selected:hover":{color:c.color}}}})(),w.cleanup(),_.saveUPEAppearance(s));const u={clientSecret:a,appearance:s,business:{name:null===(n=Object(b.b)())||void 0===n?void 0:n.accountDescriptor}};i&&!o&&(u.fields={billingDetails:k}),R=x.create("payment",u),R.mount("#wc-stripe-upe-element"),R.on("ready",()=>{j(t("#wc-stripe-upe-form"))}),R.on("change",e=>{const r=e.value.type;var n;((e=!0)=>{e?t(".woocommerce-SavedPaymentMethods-saveNew").show():(t(".woocommerce-SavedPaymentMethods-saveNew").hide(),t("input#wc-stripe-new-payment-method").prop("checked",!1),t("input#wc-stripe-new-payment-method").trigger("change"))})(v[r].isReusable),n=r,t("#wc_stripe_selected_upe_payment_type").val(n),O=e.complete})}).catch(e=>{j(t("#wc-stripe-upe-form")),U(e.message),t(".payment_box.payment_method_woocommerce_payments").html("<div>An error was encountered when preparing the payment form. Please try again later.</div>")})};if(t(document.body).on("updated_checkout",()=>{if(t("#wc-stripe-upe-element").length&&!t("#wc-stripe-upe-element").children().length&&p){var e,r;const t=!(null===(e=null===(r=Object(b.b)())||void 0===r?void 0:r.isPaymentNeeded)||void 0===e||e);N(t)}T()&&A.mount("#stripe-iban-element")}),t("form#add_payment_method").length||t("form#order_review").length){if(t("#wc-stripe-upe-element").length&&!t("#wc-stripe-upe-element").children().length&&p&&!R){var M,F;const e=null===(M=Object(b.b)())||void 0===M?void 0:M.isChangingPayment,r=t("form#add_payment_method").length||e;if(e&&null!==(F=Object(b.b)())&&void 0!==F&&F.newTokenFormId){var q;const e=null===(q=Object(b.b)())||void 0===q?void 0:q.newTokenFormId;t(e).prop("selected",!0).trigger("click"),t("form#order_review").submit()}N(r)}T()&&A.mount("#stripe-iban-element")}const B=async t=>{if(!R)return U("Your payment information is incomplete."),!1;if(!O){const{error:e}=await _.getStripe().confirmPayment({element:R,confirmParams:{return_url:"#"}});return t.removeClass("processing").unblock(),U(e.message),!1}return!0},D=async t=>{if(await B(t)){E(t);try{var e;const t=null===(e=Object(b.b)())||void 0===e?void 0:e.addPaymentReturnURL,{error:r}=await _.getStripe().confirmSetup({element:R,confirmParams:{return_url:t}});if(r)throw r}catch(e){t.removeClass("processing").unblock(),U(e.message)}}},H=()=>{const e=t("#wc-stripe-payment-method").val(),r=t("#wc-stripe-new-payment-method").is(":checked"),n=_.confirmIntent(window.location.href,r?e:null);if(!0===n)return;const{request:o,isOrderPage:i}=n;i&&(E(t("#order_review")),t("#payment").hide(500)),history.replaceState("",document.title,window.location.pathname+window.location.search),o.then(t=>{window.location=t}).catch(e=>{t("form.checkout").removeClass("processing").unblock(),t("#order_review").removeClass("processing").unblock(),t("#payment").show(500);let r=e.message;var n;e instanceof Error&&(r=null===(n=Object(b.b)())||void 0===n?void 0:n.genericErrorMessage),U(r)})};function V(){return t("#wc-stripe-payment-token-new").length&&!t("#wc-stripe-payment-token-new").is(":checked")}t("form.checkout").on("checkout_place_order_stripe",(function(){if(!V()&&p&&I)return(async t=>{var e;if(!await B(t))return;E(t);const r=h()(e=t.serializeArray()).call(e,(t,e)=>(t[e.name]=e.value,t),{});try{const t=await _.processCheckout(I,r),e=t.redirect_url,i={element:R,confirmParams:{return_url:e,payment_method_data:{billing_details:(n=r,{name:l()(o=`${n.billing_first_name} ${n.billing_last_name}`).call(o)||"-",email:n.billing_email||"-",phone:n.billing_phone||"-",address:{country:n.billing_country||"-",line1:n.billing_address_1||"-",line2:n.billing_address_2||"-",city:n.billing_city||"-",state:n.billing_state||"-",postal_code:n.billing_postcode||"-"}})}}};let a;if(t.payment_needed?({error:a}=await _.getStripe().confirmPayment(i)):({error:a}=await _.getStripe().confirmSetup(i)),a){const e=r.wc_stripe_selected_upe_payment_type;throw"boleto"!==e&&"oxxo"!==e&&await _.updateFailedOrder(I,t.order_id),a}}catch(e){t.removeClass("processing").unblock(),U(e)}var n,o})(t(this)),!1})),t("form#add_payment_method").on("submit",(function(){if(!t("#wc-stripe-setup-intent").val()&&p&&I)return D(t(this)),!1})),t("#order_review").on("submit",()=>{var e;if(!V())return null!==(e=Object(b.b)())&&void 0!==e&&e.isChangingPayment?(D(t("#order_review")),!1):((async e=>{if(await B(t("#order_review"))){E(e);try{var r,n;const e=t("#wc-stripe-new-payment-method").is(":checked")?"yes":"no",o=(null===(r=Object(b.b)())||void 0===r?void 0:r.orderReturnURL)+"&save_payment_method="+e,i=null===(n=Object(b.b)())||void 0===n?void 0:n.orderId;await _.updateIntent(I,i,e,t("#wc_stripe_selected_upe_payment_type").val());const{error:a}=await _.getStripe().confirmPayment({element:R,confirmParams:{return_url:o}});if(a){const e=t("#wc_stripe_selected_upe_payment_type").val();throw"boleto"!==e&&"oxxo"!==e&&await _.updateFailedOrder(I,i),a}}catch(t){e.removeClass("processing").unblock(),U(t.message)}}})(t("#order_review")),!1)}),t(document).on("change","#wc-stripe-new-payment-method",()=>{const e=t("#wc-stripe-new-payment-method").is(":checked")?"always":"never";p&&R&&R.update({terms:Object(b.c)(e)})}),H(),t(window).on("hashchange",()=>{var t,e;d()(t=window.location.hash).call(t,"#wc-stripe-confirm-")?H():d()(e=window.location.hash).call(e,"#confirm-")&&((t,e)=>{const r=window.location.hash.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(!r||r.length<4)return;const n=r[1],o=r[2],i=decodeURIComponent(r[3]);history.replaceState("",document.title,window.location.pathname+window.location.search),t.getStripe()["si"===n?"handleCardSetup":"handleCardPayment"](o).then((function(t){if(t.error)throw t.error;const e=t["si"===n?"setupIntent":"paymentIntent"];"requires_capture"!==e.status&&"succeeded"!==e.status||(window.location=i)})).catch((function(t){g()("form.checkout").removeClass("processing").unblock(),g()("#order_review").removeClass("processing").unblock(),g()("#payment").show(500);let r=t.message;var n;t instanceof Error&&(r=null===(n=Object(b.b)())||void 0===n?void 0:n.genericErrorMessage),e(r),g.a.get(i+"&is_ajax")}))})(_,U)})}))}]);
1
+ !function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=283)}([,,function(t,e){t.exports=window.wp.i18n},,,,,,,function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(99))},function(t,e,r){var n=r(9),o=r(76),i=r(19),a=r(77),c=r(67),s=r(103),u=o("wks"),l=n.Symbol,f=s?l:l&&l.withoutSetter||a;t.exports=function(t){return i(u,t)&&(c||"string"==typeof u[t])||(c&&i(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},function(t,e,r){"use strict";var n=r(9),o=r(74).f,i=r(83),a=r(24),c=r(39),s=r(20),u=r(19),l=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,f,h,p,d,v,g,m,b=t.target,y=t.global,_=t.stat,w=t.proto,x=y?n:_?n[b]:(n[b]||{}).prototype,S=y?a:a[b]||(a[b]={}),A=S.prototype;for(h in e)r=!i(y?h:b+(_?".":"#")+h,t.forced)&&x&&u(x,h),d=S[h],r&&(v=t.noTargetGet?(m=o(x,h))&&m.value:x[h]),p=r&&v?v:e[h],r&&typeof d==typeof p||(g=t.bind&&r?c(p,n):t.wrap&&r?l(p):w&&"function"==typeof p?c(Function.call,p):p,(t.sham||p&&p.sham||d&&d.sham)&&s(g,"sham",!0),S[h]=g,w&&(u(a,f=b+"Prototype")||s(a,f,{}),a[f][h]=p,t.real&&A&&!A[h]&&s(A,h,p)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,function(t,e,r){t.exports=r(106)},,function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o}));const n={INVALID_EMAIL:"email_invalid",INVALID_REQUEST:"invalid_request_error",API_CONNECTION:"api_connection_error",API_ERROR:"api_error",AUTHENTICATION_ERROR:"authentication_error",RATE_LIMIT_ERROR:"rate_limit_error",CARD_ERROR:"card_error",VALIDATION_ERROR:"validation_error"},o={INVALID_NUMBER:"invalid_number",INVALID_EXPIRY_MONTH:"invalid_expiry_month",INVALID_EXPIRY_YEAR:"invalid_expiry_year",INVALID_CVC:"invalid_cvc",INCORRECT_NUMBER:"incorrect_number",INCOMPLETE_NUMBER:"incomplete_number",INCOMPLETE_CVC:"incomplete_cvc",INCOMPLETE_EXPIRY:"incomplete_expiry",EXPIRED_CARD:"expired_card",INCORRECT_CVC:"incorrect_cvc",INCORRECT_ZIP:"incorrect_zip",INVALID_EXPIRY_YEAR_PAST:"invalid_expiry_year_past",CARD_DECLINED:"card_declined",MISSING:"missing",PROCESSING_ERROR:"processing_error"}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(21),o=r(38),i=r(34);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(12);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(17);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},,function(t,e){t.exports={}},function(t,e,r){var n=r(24);t.exports=function(t){return n[t+"Prototype"]}},,,,function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(48),o=r(31);t.exports=function(t){return n(o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return d}));var n=r(15),o=r.n(n),i=r(44),a=r.n(i),c=r(149),s=r.n(c),u=r(63),l=r.n(u),f=r(2),h=r(18);const p=()=>{if(!wc_stripe_upe_params)throw new Error("Stripe initialization data is not available");return wc_stripe_upe_params},d=(t,e="")=>{switch(t){case h.b.INVALID_EMAIL:return Object(f.__)("Invalid email address, please correct and try again.","woocommerce-gateway-stripe");case(t=>{var e;return o()(e=[h.b.INVALID_REQUEST,h.b.API_CONNECTION,h.b.API_ERROR,h.b.AUTHENTICATION_ERROR,h.b.RATE_LIMIT_ERROR]).call(e,t)})(t):return Object(f.__)("Unable to process this payment, please try again or use alternative method.","woocommerce-gateway-stripe");case h.b.CARD_ERROR:return(t=>({[h.a.INVALID_NUMBER]:Object(f.__)("The card number is not a valid credit card number.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_MONTH]:Object(f.__)("The card expiration month is invalid.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_YEAR]:Object(f.__)("The card expiration year is invalid.","woocommerce-gateway-stripe"),[h.a.INVALID_CVC]:Object(f.__)("The card security code is invalid.","woocommerce-gateway-stripe"),[h.a.INCORRECT_NUMBER]:Object(f.__)("The card number is incorrect.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_NUMBER]:Object(f.__)("The card number is incomplete.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_CVC]:Object(f.__)("The card security code is incomplete.","woocommerce-gateway-stripe"),[h.a.INCOMPLETE_EXPIRY]:Object(f.__)("The card expiration date is incomplete.","woocommerce-gateway-stripe"),[h.a.EXPIRED_CARD]:Object(f.__)("The card has expired.","woocommerce-gateway-stripe"),[h.a.INCORRECT_CVC]:Object(f.__)("The card security code is incorrect.","woocommerce-gateway-stripe"),[h.a.INCORRECT_ZIP]:Object(f.__)("The card zip code failed validation.","woocommerce-gateway-stripe"),[h.a.INVALID_EXPIRY_YEAR_PAST]:Object(f.__)("The card expiration year is in the past","woocommerce-gateway-stripe"),[h.a.CARD_DECLINED]:Object(f.__)("The card was declined.","woocommerce-gateway-stripe"),[h.a.MISSING]:Object(f.__)("There is no card on a customer that is being charged.","woocommerce-gateway-stripe"),[h.a.PROCESSING_ERROR]:Object(f.__)("An error occurred while processing the card.","woocommerce-gateway-stripe")}[t]||null))(e);case h.b.VALIDATION_ERROR:return""}return null},v=(t="always")=>{var e,r;const n=null===(e=p())||void 0===e?void 0:e.paymentMethodsConfig,o=a()(r=s()(n)).call(r,t=>n[t].isReusable);return l()(o).call(o,(e,r)=>(e[r]=t,e),{})}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(50),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(24),o=r(9),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=!0},function(t,e,r){var n=r(21),o=r(65),i=r(22),a=r(49),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(32);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(31);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(29),o=r(9);t.exports="process"==n(o.process)},function(t,e,r){var n,o,i=r(9),a=r(60),c=i.process,s=c&&c.versions,u=s&&s.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e){t.exports={}},function(t,e,r){t.exports=r(123)},function(t,e){t.exports=window.jQuery},,,function(t,e,r){var n=r(12),o=r(29),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(17);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},,,,,,function(t,e,r){var n=r(9),o=r(100),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(30),o=r(35),i=r(90),a=function(t){return function(e,r,a){var c,s=n(e),u=o(s.length),l=i(a,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){t.exports={}},function(t,e,r){var n=r(9),o=r(17),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(36);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(20);t.exports=function(t,e,r,o){o&&o.enumerable?t[e]=r:n(t,e,r)}},,function(t,e,r){t.exports=r(127)},,function(t,e,r){var n=r(21),o=r(12),i=r(59);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(102),o=r(78);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(41),o=r(42),i=r(12);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},,,function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(80),o=r(38).f,i=r(20),a=r(19),c=r(154),s=r(10)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;a(l,s)||o(l,s,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c)}}},function(t,e,r){var n=r(12),o=r(10),i=r(42),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){t.exports=r(177)},function(t,e,r){var n=r(21),o=r(70),i=r(34),a=r(30),c=r(49),s=r(19),u=r(65),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(76),o=r(77),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(37),o=r(56);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n=r(80),o=r(29),i=r(10)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n={};n[r(10)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n,o,i,a=r(157),c=r(9),s=r(17),u=r(20),l=r(19),f=r(56),h=r(75),p=r(58),d=c.WeakMap;if(a){var v=f.state||(f.state=new d),g=v.get,m=v.has,b=v.set;n=function(t,e){return e.facade=t,b.call(v,t,e),e},o=function(t){return g.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var y=h("state");p[y]=!0,n=function(t,e){return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e){t.exports=function(){}},function(t,e,r){var n=r(12),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==u||r!=s&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(19),o=r(40),i=r(75),a=r(152),c=i("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,r){var n=r(22),o=r(139),i=r(35),a=r(39),c=r(118),s=r(140),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,f,h,p,d,v,g,m=r&&r.that,b=!(!r||!r.AS_ENTRIES),y=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),w=a(e,m,1+b+_),x=function(t){return l&&s(l),new u(!0,t)},S=function(t){return b?(n(t),_?w(t[0],t[1],x):w(t[0],t[1])):_?w(t,x):w(t)};if(y)l=t;else{if("function"!=typeof(f=c(t)))throw TypeError("Target is not iterable");if(o(f)){for(h=0,p=i(t.length);p>h;h++)if((d=S(t[h]))&&d instanceof u)return d;return new u(!1)}l=f.call(t)}for(v=l.next;!(g=v.call(l)).done;){try{d=S(g.value)}catch(t){throw s(l),t}if("object"==typeof d&&d&&d instanceof u)return d}return new u(!1)}},function(t,e,r){"use strict";var n=r(32),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},function(t,e,r){var n=r(39),o=r(48),i=r(40),a=r(35),c=r(122),s=[].push,u=function(t){var e=1==t,r=2==t,u=3==t,l=4==t,f=6==t,h=7==t,p=5==t||f;return function(d,v,g,m){for(var b,y,_=i(d),w=o(_),x=n(v,g,3),S=a(w.length),A=0,R=m||c,I=e?R(d,S):r||h?R(d,0):void 0;S>A;A++)if((p||A in w)&&(y=x(b=w[A],A,_),t))if(e)I[A]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return A;case 2:s.call(I,b)}else switch(t){case 4:return!1;case 7:s.call(I,b)}return f?-1:u||l?l:I}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},,,function(t,e,r){var n=r(50),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},,function(t,e,r){var n=r(29);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(112);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,r){var n=r(10)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,r){"use strict";var n=r(12);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},,,,function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(9),o=r(20);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n,o=r(22),i=r(138),a=r(78),c=r(58),s=r(117),u=r(59),l=r(75)("IE_PROTO"),f=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=u("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete p.prototype[a[r]];return p()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=o(t),r=new f,f.prototype=null,r[l]=t):r=p(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(19),o=r(30),i=r(57).indexOf,a=r(58);t.exports=function(t,e){var r,c=o(t),s=0,u=[];for(r in c)!n(a,r)&&n(c,r)&&u.push(r);for(;e.length>s;)n(c,r=e[s++])&&(~i(u,r)||u.push(r));return u}},function(t,e,r){var n=r(67);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,r){"use strict";var n,o,i,a=r(12),c=r(84),s=r(20),u=r(19),l=r(10),f=r(37),h=l("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):p=!0);var d=null==n||a((function(){var t={};return n[h].call(t)!==t}));d&&(n={}),f&&!d||u(n,h)||s(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},function(t,e,r){var n=r(107);t.exports=n},function(t,e,r){var n=r(108),o=r(110),i=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===i||t instanceof Array&&e===i.includes?n:"string"==typeof t||t===a||t instanceof String&&e===a.includes?o:e}},function(t,e,r){r(109);var n=r(25);t.exports=n("Array").includes},function(t,e,r){"use strict";var n=r(11),o=r(57).includes,i=r(82);n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){r(111);var n=r(25);t.exports=n("String").includes},function(t,e,r){"use strict";var n=r(11),o=r(93),i=r(31);n({target:"String",proto:!0,forced:!r(94)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(17),o=r(29),i=r(10)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},,,,function(t,e,r){var n=r(22),o=r(153);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){var n=r(36);t.exports=n("document","documentElement")},function(t,e,r){var n=r(79),o=r(43),i=r(10)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(56),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){"use strict";var n=r(11),o=r(148),i=r(84),a=r(116),c=r(71),s=r(20),u=r(61),l=r(10),f=r(37),h=r(43),p=r(105),d=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m=function(){return this};t.exports=function(t,e,r,l,p,b,y){o(r,e,l);var _,w,x,S=function(t){if(t===p&&k)return k;if(!v&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",R=!1,I=t.prototype,O=I[g]||I["@@iterator"]||p&&I[p],k=!v&&O||S(p),E="Array"==e&&I.entries||O;if(E&&(_=i(E.call(new t)),d!==Object.prototype&&_.next&&(f||i(_)===d||(a?a(_,d):"function"!=typeof _[g]&&s(_,g,m)),c(_,A,!0,!0),f&&(h[A]=m))),"values"==p&&O&&"values"!==O.name&&(R=!0,k=function(){return O.call(this)}),f&&!y||I[g]===k||s(I,g,k),h[e]=k,p)if(w={values:S("values"),keys:b?k:S("keys"),entries:S("entries")},y)for(x in w)(v||R||!(x in I))&&u(I,x,w[x]);else n({target:e,proto:!0,forced:v||R},w);return w}},,function(t,e,r){var n=r(17),o=r(92),i=r(10)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(124);t.exports=n},function(t,e,r){var n=r(125),o=Array.prototype;t.exports=function(t){var e=t.filter;return t===o||t instanceof Array&&e===o.filter?n:e}},function(t,e,r){r(126);var n=r(25);t.exports=n("Array").filter},function(t,e,r){"use strict";var n=r(11),o=r(87).filter;n({target:"Array",proto:!0,forced:!r(72)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(128);t.exports=n},function(t,e,r){var n=r(129),o=Array.prototype;t.exports=function(t){var e=t.reduce;return t===o||t instanceof Array&&e===o.reduce?n:e}},function(t,e,r){r(130);var n=r(25);t.exports=n("Array").reduce},function(t,e,r){"use strict";var n=r(11),o=r(131).left,i=r(95),a=r(42),c=r(41);n({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(32),o=r(40),i=r(48),a=r(35),c=function(t){return function(e,r,c,s){n(r);var u=o(e),l=i(u),f=a(u.length),h=t?f-1:0,p=t?-1:1;if(c<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,t?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=p)h in l&&(s=r(s,l[h],h,u));return s}};t.exports={left:c(!1),right:c(!0)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},,,,,,function(t,e,r){var n=r(21),o=r(38),i=r(22),a=r(66);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,s=0;c>s;)o.f(t,r=n[s++],e[r]);return t}},function(t,e,r){var n=r(10),o=r(43),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,r){var n=r(22);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},function(t,e,r){var n=r(9);t.exports=n.Promise},function(t,e,r){var n=r(22),o=r(32),i=r(10)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n,o,i,a=r(9),c=r(12),s=r(39),u=r(117),l=r(59),f=r(144),h=r(41),p=a.location,d=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,b=a.Dispatch,y=0,_={},w=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},x=function(t){return function(){w(t)}},S=function(t){w(t.data)},A=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};d&&v||(d=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return _[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(y),y},v=function(t){delete _[t]},h?n=function(t){g.nextTick(x(t))}:b&&b.now?n=function(t){b.now(x(t))}:m&&!f?(i=(o=new m).port2,o.port1.onmessage=S,n=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!c(A)?(n=A,a.addEventListener("message",S,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:d,clear:v}},function(t,e,r){var n=r(60);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){var n=r(22),o=r(17),i=r(86);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){"use strict";var n=r(147).charAt,o=r(81),i=r(120),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(50),o=r(31),i=function(t){return function(e,r){var i,a,c=String(o(e)),s=n(r),u=c.length;return s<0||s>=u?t?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):i:t?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){"use strict";var n=r(105).IteratorPrototype,o=r(101),i=r(34),a=r(71),c=r(43),s=function(){return this};t.exports=function(t,e,r){var u=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,u,!1,!0),c[u]=s,t}},function(t,e,r){t.exports=r(191)},,,function(t,e,r){var n=r(12);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(17);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){"use strict";var n=r(80),o=r(79);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(10)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){var n=r(9),o=r(119),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},,,,,,,,,function(t,e,r){"use strict";var n=r(49),o=r(38),i=r(34);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},,,function(t,e,r){t.exports=r(223)},,,function(t,e,r){var n=r(61);t.exports=function(t,e,r){for(var o in e)r&&r.unsafe&&t[o]?t[o]=e[o]:n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(30),o=r(82),i=r(43),a=r(81),c=r(120),s=a.set,u=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){s(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){var n=r(31),o="["+r(132)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},,function(t,e,r){var n;!function(o){var i=/^\s+/,a=/\s+$/,c=0,s=o.round,u=o.min,l=o.max,f=o.random;function h(t,e){if(e=e||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,e);var r=function(t){var e,r,n,c={r:0,g:0,b:0},s=1,f=null,h=null,p=null,d=!1,v=!1;return"string"==typeof t&&(t=function(t){t=t.replace(i,"").replace(a,"").toLowerCase();var e,r=!1;if(j[t])t=j[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=V.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=V.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=V.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=V.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=V.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=V.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=V.hex8.exec(t))?{r:U(e[1]),g:U(e[2]),b:U(e[3]),a:q(e[4]),format:r?"name":"hex8"}:(e=V.hex6.exec(t))?{r:U(e[1]),g:U(e[2]),b:U(e[3]),format:r?"name":"hex"}:(e=V.hex4.exec(t))?{r:U(e[1]+""+e[1]),g:U(e[2]+""+e[2]),b:U(e[3]+""+e[3]),a:q(e[4]+""+e[4]),format:r?"name":"hex8"}:!!(e=V.hex3.exec(t))&&{r:U(e[1]+""+e[1]),g:U(e[2]+""+e[2]),b:U(e[3]+""+e[3]),format:r?"name":"hex"}}(t)),"object"==typeof t&&(W(t.r)&&W(t.g)&&W(t.b)?(e=t.r,r=t.g,n=t.b,c={r:255*L(e,255),g:255*L(r,255),b:255*L(n,255)},d=!0,v="%"===String(t.r).substr(-1)?"prgb":"rgb"):W(t.h)&&W(t.s)&&W(t.v)?(f=M(t.s),h=M(t.v),c=function(t,e,r){t=6*L(t,360),e=L(e,100),r=L(r,100);var n=o.floor(t),i=t-n,a=r*(1-e),c=r*(1-i*e),s=r*(1-(1-i)*e),u=n%6;return{r:255*[r,c,a,a,s,r][u],g:255*[s,r,r,c,a,a][u],b:255*[a,a,s,r,r,c][u]}}(t.h,f,h),d=!0,v="hsv"):W(t.h)&&W(t.s)&&W(t.l)&&(f=M(t.s),p=M(t.l),c=function(t,e,r){var n,o,i;function a(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=L(t,360),e=L(e,100),r=L(r,100),0===e)n=o=i=r;else{var c=r<.5?r*(1+e):r+e-r*e,s=2*r-c;n=a(s,c,t+1/3),o=a(s,c,t),i=a(s,c,t-1/3)}return{r:255*n,g:255*o,b:255*i}}(t.h,f,p),d=!0,v="hsl"),t.hasOwnProperty("a")&&(s=t.a)),s=C(s),{ok:d,format:t.format||v,r:u(255,l(c.r,0)),g:u(255,l(c.g,0)),b:u(255,l(c.b,0)),a:s}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=s(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=r.ok,this._tc_id=c++}function p(t,e,r){t=L(t,255),e=L(e,255),r=L(r,255);var n,o,i=l(t,e,r),a=u(t,e,r),c=(i+a)/2;if(i==a)n=o=0;else{var s=i-a;switch(o=c>.5?s/(2-i-a):s/(i+a),i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,l:c}}function d(t,e,r){t=L(t,255),e=L(e,255),r=L(r,255);var n,o,i=l(t,e,r),a=u(t,e,r),c=i,s=i-a;if(o=0===i?0:s/i,i==a)n=0;else{switch(i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,v:c}}function v(t,e,r,n){var o=[N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(t,e,r,n){return[N(F(n)),N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16))].join("")}function m(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.s-=e/100,r.s=P(r.s),h(r)}function b(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.s+=e/100,r.s=P(r.s),h(r)}function y(t){return h(t).desaturate(100)}function _(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.l+=e/100,r.l=P(r.l),h(r)}function w(t,e){e=0===e?0:e||10;var r=h(t).toRgb();return r.r=l(0,u(255,r.r-s(-e/100*255))),r.g=l(0,u(255,r.g-s(-e/100*255))),r.b=l(0,u(255,r.b-s(-e/100*255))),h(r)}function x(t,e){e=0===e?0:e||10;var r=h(t).toHsl();return r.l-=e/100,r.l=P(r.l),h(r)}function S(t,e){var r=h(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,h(r)}function A(t){var e=h(t).toHsl();return e.h=(e.h+180)%360,h(e)}function R(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+120)%360,s:e.s,l:e.l}),h({h:(r+240)%360,s:e.s,l:e.l})]}function I(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+90)%360,s:e.s,l:e.l}),h({h:(r+180)%360,s:e.s,l:e.l}),h({h:(r+270)%360,s:e.s,l:e.l})]}function O(t){var e=h(t).toHsl(),r=e.h;return[h(t),h({h:(r+72)%360,s:e.s,l:e.l}),h({h:(r+216)%360,s:e.s,l:e.l})]}function k(t,e,r){e=e||6,r=r||30;var n=h(t).toHsl(),o=360/r,i=[h(t)];for(n.h=(n.h-(o*e>>1)+720)%360;--e;)n.h=(n.h+o)%360,i.push(h(n));return i}function E(t,e){e=e||6;for(var r=h(t).toHsv(),n=r.h,o=r.s,i=r.v,a=[],c=1/e;e--;)a.push(h({h:n,s:o,v:i})),i=(i+c)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=C(t),this._roundA=s(100*this._a)/100,this},toHsv:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=d(this._r,this._g,this._b),e=s(360*t.h),r=s(100*t.s),n=s(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=p(this._r,this._g,this._b),e=s(360*t.h),r=s(100*t.s),n=s(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return v(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,o){var i=[N(s(t).toString(16)),N(s(e).toString(16)),N(s(r).toString(16)),N(F(n))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*L(this._r,255))+"%",g:s(100*L(this._g,255))+"%",b:s(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*L(this._r,255))+"%, "+s(100*L(this._g,255))+"%, "+s(100*L(this._b,255))+"%)":"rgba("+s(100*L(this._r,255))+"%, "+s(100*L(this._g,255))+"%, "+s(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+g(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var o=h(t);r="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(R,arguments)},tetrad:function(){return this._applyCombination(I,arguments)}},h.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:M(t[n]));t=r}return h(t,e)},h.equals=function(t,e){return!(!t||!e)&&h(t).toRgbString()==h(e).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,e,r){r=0===r?0:r||50;var n=h(t).toRgb(),o=h(e).toRgb(),i=r/100;return h({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},h.readability=function(t,e){var r=h(t),n=h(e);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},h.isReadable=function(t,e,r){var n,o,i,a,c,s=h.readability(t,e);switch(o=!1,(i=r,"AA"!==(a=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(c=(i.size||"small").toLowerCase())&&"large"!==c&&(c="small"),n={level:a,size:c}).level+n.size){case"AAsmall":case"AAAlarge":o=s>=4.5;break;case"AAlarge":o=s>=3;break;case"AAAsmall":o=s>=7}return o},h.mostReadable=function(t,e,r){var n,o,i,a,c=null,s=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var u=0;u<e.length;u++)(n=h.readability(t,e[u]))>s&&(s=n,c=h(e[u]));return h.isReadable(t,c,{level:i,size:a})||!o?c:(r.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],r))};var j=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=h.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(j);function C(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function L(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=u(e,l(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),o.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function P(t){return u(1,l(0,t))}function U(t){return parseInt(t,16)}function N(t){return 1==t.length?"0"+t:""+t}function M(t){return t<=1&&(t=100*t+"%"),t}function F(t){return o.round(255*parseFloat(t)).toString(16)}function q(t){return U(t)/255}var B,D,H,V=(D="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",H="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(t){return!!V.CSS_UNIT.exec(t)}t.exports?t.exports=h:void 0===(n=function(){return h}.call(e,r,e,t))||(t.exports=n)}(Math)},function(t,e,r){var n=r(178);t.exports=n},function(t,e,r){r(179),r(180),r(181),r(186),r(187),r(188),r(146),r(189);var n=r(24);t.exports=n.Promise},function(t,e,r){"use strict";var n=r(11),o=r(84),i=r(116),a=r(101),c=r(20),s=r(34),u=r(85),l=function(t,e){var r=this;if(!(r instanceof l))return new l(t,e);i&&(r=i(new Error(void 0),o(r))),void 0!==e&&c(r,"message",String(e));var n=[];return u(t,n.push,{that:n}),c(r,"errors",n),r};l.prototype=a(Error.prototype,{constructor:s(5,l),message:s(5,""),name:s(5,"AggregateError")}),n({global:!0},{AggregateError:l})},function(t,e){},function(t,e,r){"use strict";var n,o,i,a,c=r(11),s=r(37),u=r(9),l=r(36),f=r(141),h=r(61),p=r(172),d=r(71),v=r(182),g=r(17),m=r(32),b=r(155),y=r(119),_=r(85),w=r(156),x=r(142),S=r(143).set,A=r(183),R=r(145),I=r(185),O=r(86),k=r(104),E=r(81),j=r(83),T=r(10),C=r(41),L=r(42),P=T("species"),U="Promise",N=E.get,M=E.set,F=E.getterFor(U),q=f,B=u.TypeError,D=u.document,H=u.process,V=l("fetch"),W=O.f,z=W,G=!!(D&&D.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,$=j(U,(function(){if(y(q)===String(q)){if(66===L)return!0;if(!C&&!Y)return!0}if(s&&!q.prototype.finally)return!0;if(L>=51&&/native code/.test(q))return!1;var t=q.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[P]=e,!(t.then((function(){}))instanceof e)})),X=$||!w((function(t){q.all(t).catch((function(){}))})),Z=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Q=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;A((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,c,s,u=r[i++],l=o?u.ok:u.fail,f=u.resolve,h=u.reject,p=u.domain;try{l?(o||(2===t.rejection&&et(t),t.rejection=1),!0===l?a=n:(p&&p.enter(),a=l(n),p&&(p.exit(),s=!0)),a===u.promise?h(B("Promise-chain cycle")):(c=Z(a))?c.call(a,f,h):f(a)):h(n)}catch(t){p&&!s&&p.exit(),h(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&K(t)}))}},J=function(t,e,r){var n,o;G?((n=D.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!Y&&(o=u["on"+t])?o(n):"unhandledrejection"===t&&I("Unhandled promise rejection",r)},K=function(t){S.call(u,(function(){var e,r=t.facade,n=t.value;if(tt(t)&&(e=k((function(){C?H.emit("unhandledRejection",n,r):J("unhandledrejection",r,n)})),t.rejection=C||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){S.call(u,(function(){var e=t.facade;C?H.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},rt=function(t,e,r){return function(n){t(e,n,r)}},nt=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Q(t,!0))},ot=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw B("Promise can't be resolved itself");var n=Z(e);n?A((function(){var r={done:!1};try{n.call(e,rt(ot,r,t),rt(nt,r,t))}catch(e){nt(r,e,t)}})):(t.value=e,t.state=1,Q(t,!1))}catch(e){nt({done:!1},e,t)}}};$&&(q=function(t){b(this,q,U),m(t),n.call(this);var e=N(this);try{t(rt(ot,e),rt(nt,e))}catch(t){nt(e,t)}},(n=function(t){M(this,{type:U,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(q.prototype,{then:function(t,e){var r=F(this),n=W(x(this,q));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?H.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Q(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,e),this.reject=rt(nt,e)},O.f=W=function(t){return t===q||t===i?new o(t):z(t)},s||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(t,e){var r=this;return new q((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return R(q,V.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:$},{Promise:q}),d(q,U,!1,!0),v(U),i=l(U),c({target:U,stat:!0,forced:$},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),c({target:U,stat:!0,forced:s||$},{resolve:function(t){return R(s&&this===i?q:this,t)}}),c({target:U,stat:!0,forced:X},{all:function(t){var e=this,r=W(e),n=r.resolve,o=r.reject,i=k((function(){var r=m(e.resolve),i=[],a=0,c=1;_(t,(function(t){var s=a++,u=!1;i.push(void 0),c++,r.call(e,t).then((function(t){u||(u=!0,i[s]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=W(e),n=r.reject,o=k((function(){var o=m(e.resolve);_(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){"use strict";var n=r(36),o=r(38),i=r(10),a=r(21),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n,o,i,a,c,s,u,l,f=r(9),h=r(74).f,p=r(143).set,d=r(144),v=r(184),g=r(41),m=f.MutationObserver||f.WebKitMutationObserver,b=f.document,y=f.process,_=f.Promise,w=h(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(g&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},d||g||v||!m||!b?_&&_.resolve?(u=_.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=g?function(){y.nextTick(n)}:function(){p.call(f,n)}:(c=!0,s=b.createTextNode(""),new m(n).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),t.exports=x||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,r){var n=r(60);t.exports=/web0s(?!.*chrome)/i.test(n)},function(t,e,r){var n=r(9);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},function(t,e,r){"use strict";var n=r(11),o=r(32),i=r(86),a=r(104),c=r(85);n({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=i.f(e),n=r.resolve,s=r.reject,u=a((function(){var r=o(e.resolve),i=[],a=0,s=1;c(t,(function(t){var o=a++,c=!1;i.push(void 0),s++,r.call(e,t).then((function(t){c||(c=!0,i[o]={status:"fulfilled",value:t},--s||n(i))}),(function(t){c||(c=!0,i[o]={status:"rejected",reason:t},--s||n(i))}))})),--s||n(i)}));return u.error&&s(u.value),r.promise}})},function(t,e,r){"use strict";var n=r(11),o=r(32),i=r(36),a=r(86),c=r(104),s=r(85);n({target:"Promise",stat:!0},{any:function(t){var e=this,r=a.f(e),n=r.resolve,u=r.reject,l=c((function(){var r=o(e.resolve),a=[],c=0,l=1,f=!1;s(t,(function(t){var o=c++,s=!1;a.push(void 0),l++,r.call(e,t).then((function(t){s||f||(f=!0,n(t))}),(function(t){s||f||(s=!0,a[o]=t,--l||u(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--l||u(new(i("AggregateError"))(a,"No one promise resolved"))}));return l.error&&u(l.value),r.promise}})},function(t,e,r){"use strict";var n=r(11),o=r(37),i=r(141),a=r(12),c=r(36),s=r(142),u=r(145),l=r(61);n({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,c("Promise")),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",c("Promise").prototype.finally)},function(t,e,r){r(173);var n=r(190),o=r(9),i=r(79),a=r(20),c=r(43),s=r(10)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==s&&a(f,s,u),c[u]=c.Array}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(192);t.exports=n},function(t,e,r){r(193);var n=r(24);t.exports=n.Object.keys},function(t,e,r){var n=r(11),o=r(40),i=r(66);n({target:"Object",stat:!0,forced:r(12)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},,,,,,,function(t,e,r){t.exports=r(218)},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(73),o=r.n(n),i=r(15),a=r.n(i),c=r(169),s=r.n(c),u=r(2);class l{constructor(t,e){this.stripe=null,this.options=t,this.request=e}getAjaxUrl(t,e="wc_stripe_"){var r,n,o;return null===(r=this.options)||void 0===r||null===(n=r.ajax_url)||void 0===n||null===(o=n.toString())||void 0===o?void 0:o.replace("%%endpoint%%",e+t)}getFriendlyErrorMessage(t){switch(t.statusText){case"timeout":return Object(u.__)("A timeout occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe");case"abort":return Object(u.__)("The connection to the server was aborted. Please try again.","woocommerce-gateway-stripe");case"error":default:return Object(u.__)("An error occurred while connecting to the server. Please try again.","woocommerce-gateway-stripe")}}getStripe(){const{key:t,locale:e,isUPEEnabled:r}=this.options;return this.stripe||(this.stripe=r?new Stripe(t,{betas:["payment_element_beta_1"],locale:e}):new Stripe(t,{locale:e})),this.stripe}loadStripe(){return new o.a(t=>{try{t(this.getStripe())}catch(e){t({error:e})}})}initSetupIntent(){var t;return this.request(this.getAjaxUrl("init_setup_intent"),{_ajax_nonce:null===(t=this.options)||void 0===t?void 0:t.createSetupIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}createIntent(t){var e;return this.request(this.getAjaxUrl("create_payment_intent"),{stripe_order_id:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.createPaymentIntentNonce}).then(t=>{if(!t.success)throw t.data.error;return t.data}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateIntent(t,e,r,n){var o;if(!a()(t).call(t,"seti_"))return this.request(this.getAjaxUrl("update_payment_intent"),{stripe_order_id:e,wc_payment_intent_id:t,save_payment_method:r,selected_upe_payment_type:n,_ajax_nonce:null===(o=this.options)||void 0===o?void 0:o.updatePaymentIntentNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}confirmIntent(t,e){const r=t.match(/#wc-stripe-confirm-(pi|si):(.+):(.+):(.+)$/);if(!r)return!0;const n="si"===r[1];let o=r[2];const i=r[3],a=r[4],c=s()(t).call(t,"order-pay"),u=c>-1,l=u&&t.substring(c).match(/\d+/);return l&&(o=l[0]),{request:(n?this.getStripe().confirmCardSetup(i):this.getStripe(!0).confirmCardPayment(i)).then(t=>{const r=t.paymentIntent&&t.paymentIntent.id||t.setupIntent&&t.setupIntent.id||t.error&&t.error.payment_intent&&t.error.payment_intent.id||t.error.setup_intent&&t.error.setup_intent.id;return[this.request(this.getAjaxUrl("update_order_status"),{order_id:o,intent_id:r,payment_method_id:e||null,_ajax_nonce:a}),t.error]}).then(([t,e])=>{if(e)throw e;return t.then(t=>{if(!t.success)throw t.data.error;return t.data.return_url})}),isOrderPage:u}}saveUPEAppearance(t){var e;return this.request(this.getAjaxUrl("save_upe_appearance"),{appearance:t,_ajax_nonce:null===(e=this.options)||void 0===e?void 0:e.saveUPEAppearanceNonce}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}processCheckout(t,e){return this.request(this.getAjaxUrl("checkout",""),{...e,wc_payment_intent_id:t}).then(t=>{if("failure"===t.result)throw new Error(t.messages);return t}).catch(t=>{throw t.message?t:new Error(this.getFriendlyErrorMessage(t.statusText))})}updateFailedOrder(t,e){var r;this.request(this.getAjaxUrl("update_failed_order"),{intent_id:t,order_id:e,_ajax_nonce:null===(r=this.options)||void 0===r?void 0:r.updateFailedOrderNonce}).catch(()=>{})}}},,,,,,,,,,,,,,,,,function(t,e,r){var n=r(219);t.exports=n},function(t,e,r){var n=r(220),o=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===o||t instanceof String&&e===o.trim?n:e}},function(t,e,r){r(221);var n=r(25);t.exports=n("String").trim},function(t,e,r){"use strict";var n=r(11),o=r(174).trim;n({target:"String",proto:!0,forced:r(222)("trim")},{trim:function(){return o(this)}})},function(t,e,r){var n=r(12),o=r(132);t.exports=function(t){return n((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},function(t,e,r){var n=r(224);t.exports=n},function(t,e,r){var n=r(225),o=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===o||t instanceof Array&&e===o.indexOf?n:e}},function(t,e,r){r(226);var n=r(25);t.exports=n("Array").indexOf},function(t,e,r){"use strict";var n=r(11),o=r(57).indexOf,i=r(95),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,s=i("indexOf");n({target:"Array",proto:!0,forced:c||!s},{indexOf:function(t){return c?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(39),o=r(40),i=r(228),a=r(139),c=r(35),s=r(166),u=r(118);t.exports=function(t){var e,r,l,f,h,p,d=o(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,b=void 0!==m,y=u(d),_=0;if(b&&(m=n(m,g>2?arguments[2]:void 0,2)),null==y||v==Array&&a(y))for(r=new v(e=c(d.length));e>_;_++)p=b?m(d[_],_):d[_],s(r,_,p);else for(h=(f=y.call(d)).next,r=new v;!(l=h.call(f)).done;_++)p=b?i(f,m,[l.value,_],!0):l.value,s(r,_,p);return r.length=_,r}},function(t,e,r){var n=r(22),o=r(140);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){throw o(t),e}}},,function(t,e,r){t.exports=r(250)},,,,function(t,e,r){var n=r(12),o=r(10),i=r(37),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(t,e,r){"use strict";var n=r(21),o=r(12),i=r(66),a=r(257),c=r(70),s=r(40),u=r(48),l=Object.assign,f=Object.defineProperty;t.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[r]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var r=s(t),o=arguments.length,l=1,f=a.f,h=c.f;o>l;)for(var p,d=u(arguments[l++]),v=f?i(d).concat(f(d)):i(d),g=v.length,m=0;g>m;)p=v[m++],n&&!h.call(d,p)||(r[p]=d[p]);return r}:l},function(t,e,r){"use strict";r(173);var n=r(11),o=r(36),i=r(234),a=r(61),c=r(172),s=r(71),u=r(148),l=r(81),f=r(155),h=r(19),p=r(39),d=r(79),v=r(22),g=r(17),m=r(101),b=r(34),y=r(259),_=r(118),w=r(10),x=o("fetch"),S=o("Headers"),A=w("iterator"),R=l.set,I=l.getterFor("URLSearchParams"),O=l.getterFor("URLSearchParamsIterator"),k=/\+/g,E=Array(4),j=function(t){return E[t-1]||(E[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},T=function(t){try{return decodeURIComponent(t)}catch(e){return t}},C=function(t){var e=t.replace(k," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(j(r--),T);return e}},L=/[!'()~]|%20/g,P={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},U=function(t){return P[t]},N=function(t){return encodeURIComponent(t).replace(L,U)},M=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:C(n.shift()),value:C(n.join("="))}))},F=function(t){this.entries.length=0,M(this.entries,t)},q=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=u((function(t,e){R(this,{type:"URLSearchParamsIterator",iterator:y(I(t).entries),kind:e})}),"Iterator",(function(){var t=O(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),D=function(){f(this,D,"URLSearchParams");var t,e,r,n,o,i,a,c,s,u=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(R(l,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==u)if(g(u))if("function"==typeof(t=_(u)))for(r=(e=t.call(u)).next;!(n=r.call(e)).done;){if((a=(i=(o=y(v(n.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(s in u)h(u,s)&&p.push({key:s,value:u[s]+""});else M(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},H=D.prototype;c(H,{append:function(t,e){q(arguments.length,2);var r=I(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){q(arguments.length,1);for(var e=I(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){q(arguments.length,1);for(var e=I(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){q(arguments.length,1);for(var r,n=I(this),o=n.entries,i=!1,a=t+"",c=e+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=c));i||o.push({key:a,value:c}),n.updateURL()},sort:function(){var t,e,r,n=I(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=I(this).entries,n=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(H,A,H.entries),a(H,"toString",(function(){for(var t,e=I(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),s(D,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:D}),i||"function"!=typeof x||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(g(e=arguments[1])&&(r=e.body,"URLSearchParams"===d(r)&&((n=e.headers?new S(e.headers):new S).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:b(0,String(r)),headers:b(0,n)}))),o.push(e)),x.apply(this,o)}}),t.exports={URLSearchParams:D,getState:I}},function(t,e,r){t.exports=r(246)},function(t,e,r){t.exports=r(254)},function(t,e,r){t.exports=r(261)},,,,,,,function(t,e,r){var n=r(247);t.exports=n},function(t,e,r){var n=r(248),o=Array.prototype;t.exports=function(t){var e=t.find;return t===o||t instanceof Array&&e===o.find?n:e}},function(t,e,r){r(249);var n=r(25);t.exports=n("Array").find},function(t,e,r){"use strict";var n=r(11),o=r(87).find,i=r(82),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,e,r){var n=r(251);t.exports=n},function(t,e,r){var n=r(252),o=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===o||t instanceof String&&e===o.startsWith?n:e}},function(t,e,r){r(253);var n=r(25);t.exports=n("String").startsWith},function(t,e,r){"use strict";var n,o=r(11),i=r(74).f,a=r(35),c=r(93),s=r(31),u=r(94),l=r(37),f="".startsWith,h=Math.min,p=u("startsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(n=i(String.prototype,"startsWith"),n&&!n.writable)||p)},{startsWith:function(t){var e=String(s(this));c(t);var r=a(h(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return f?f.call(e,n,r):e.slice(r,r+n.length)===n}})},function(t,e,r){var n=r(255);t.exports=n},function(t,e,r){r(256),r(260),r(236);var n=r(24);t.exports=n.URL},function(t,e,r){"use strict";r(146);var n,o=r(11),i=r(21),a=r(234),c=r(9),s=r(138),u=r(61),l=r(155),f=r(19),h=r(235),p=r(227),d=r(147).codeAt,v=r(258),g=r(71),m=r(236),b=r(81),y=c.URL,_=m.URLSearchParams,w=m.getState,x=b.set,S=b.getterFor("URL"),A=Math.floor,R=Math.pow,I=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,k=/\d/,E=/^(0x|0X)/,j=/^[0-7]+$/,T=/^\d+$/,C=/^[\dA-Fa-f]+$/,L=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,P=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\t\u000A\u000D]/g,M=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=q(e.slice(1,-1))))return"Invalid host";t.host=r}else if(Y(t)){if(e=v(e),L.test(e))return"Invalid host";if(null===(r=F(e)))return"Invalid host";t.host=r}else{if(P.test(e))return"Invalid host";for(r="",n=p(e),o=0;o<n.length;o++)r+=z(n[o],D);t.host=r}},F=function(t){var e,r,n,o,i,a,c,s=t.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=E.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?T:8==i?j:C).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=R(256,5-e))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*R(256,3-n);return c},q=function(t){var e,r,n,o,i,a,c,s=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,h=function(){return t.charAt(f)};if(":"==h()){if(":"!=t.charAt(1))return;f+=2,l=++u}for(;h();){if(8==u)return;if(":"!=h()){for(e=r=0;r<4&&C.test(h());)e=16*e+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;f++}if(!k.test(h()))return;for(;k.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[u]=256*s[u]+o,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;s[u++]=e}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)c=s[u],s[u--]=s[l+a-1],s[l+--a]=c;else if(8!=u)return;return s},B=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=A(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},D={},H=h({},D,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},H,{"#":1,"?":1,"{":1,"}":1}),W=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(t,e){var r=d(t,0);return r>32&&r<127&&!f(e,t)?t:encodeURIComponent(t)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return f(G,t.scheme)},$=function(t){return""!=t.username||""!=t.password},X=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Z=function(t,e){var r;return 2==t.length&&I.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},Q=function(t){var e;return t.length>1&&Z(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},J=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&Z(e[0],!0)||e.pop()},K=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},at={},ct={},st={},ut={},lt={},ft={},ht={},pt={},dt={},vt={},gt={},mt={},bt={},yt={},_t={},wt=function(t,e,r,o){var i,a,c,s,u,l=r||tt,h=0,d="",v=!1,g=!1,m=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(U,"")),e=e.replace(N,""),i=p(e);h<=i.length;){switch(a=i[h],l){case tt:if(!a||!I.test(a)){if(r)return"Invalid scheme";l=rt;continue}d+=a.toLowerCase(),l=et;break;case et:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))d+=a.toLowerCase();else{if(":"!=a){if(r)return"Invalid scheme";d="",l=rt,h=0;continue}if(r&&(Y(t)!=f(G,d)||"file"==d&&($(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=d,r)return void(Y(t)&&G[t.scheme]==t.port&&(t.port=null));d="","file"==t.scheme?l=pt:Y(t)&&o&&o.scheme==t.scheme?l=nt:Y(t)?l=ct:"/"==i[h+1]?(l=ot,h++):(t.cannotBeABaseURL=!0,t.path.push(""),l=bt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,l=_t;break}l="file"==o.scheme?pt:it;continue;case nt:if("/"!=a||"/"!=i[h+1]){l=it;continue}l=st,h++;break;case ot:if("/"==a){l=ut;break}l=mt;continue;case it:if(t.scheme=o.scheme,a==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&Y(t))l=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",l=yt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),l=mt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=_t}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,l=mt;continue}l=ut}else l=st;break;case ct:if(l=st,"/"!=a||"/"!=d.charAt(h+1))continue;h++;break;case st:if("/"!=a&&"\\"!=a){l=ut;continue}break;case ut:if("@"==a){v&&(d="%40"+d),v=!0,c=p(d);for(var b=0;b<c.length;b++){var y=c[b];if(":"!=y||m){var _=z(y,W);m?t.password+=_:t.username+=_}else m=!0}d=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(v&&""==d)return"Invalid authority";h-=p(d).length+1,d="",l=lt}else d+=a;break;case lt:case ft:if(r&&"file"==t.scheme){l=vt;continue}if(":"!=a||g){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==d)return"Invalid host";if(r&&""==d&&($(t)||null!==t.port))return;if(s=M(t,d))return s;if(d="",l=gt,r)return;continue}"["==a?g=!0:"]"==a&&(g=!1),d+=a}else{if(""==d)return"Invalid host";if(s=M(t,d))return s;if(d="",l=ht,r==ft)return}break;case ht:if(!k.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return"Invalid port";t.port=Y(t)&&w===G[t.scheme]?null:w,d=""}if(r)return;l=gt;continue}return"Invalid port"}d+=a;break;case pt:if(t.scheme="file","/"==a||"\\"==a)l=dt;else{if(!o||"file"!=o.scheme){l=mt;continue}if(a==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",l=yt;else{if("#"!=a){Q(i.slice(h).join(""))||(t.host=o.host,t.path=o.path.slice(),J(t)),l=mt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=_t}}break;case dt:if("/"==a||"\\"==a){l=vt;break}o&&"file"==o.scheme&&!Q(i.slice(h).join(""))&&(Z(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),l=mt;continue;case vt:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&Z(d))l=mt;else if(""==d){if(t.host="",r)return;l=gt}else{if(s=M(t,d))return s;if("localhost"==t.host&&(t.host=""),r)return;d="",l=gt}continue}d+=a;break;case gt:if(Y(t)){if(l=mt,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(l=mt,"/"!=a))continue}else t.fragment="",l=_t;else t.query="",l=yt;break;case mt:if(a==n||"/"==a||"\\"==a&&Y(t)||!r&&("?"==a||"#"==a)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(J(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):K(d)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Z(d)&&(t.host&&(t.host=""),d=d.charAt(0)+":"),t.path.push(d)),d="","file"==t.scheme&&(a==n||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=yt):"#"==a&&(t.fragment="",l=_t)}else d+=z(a,V);break;case bt:"?"==a?(t.query="",l=yt):"#"==a?(t.fragment="",l=_t):a!=n&&(t.path[0]+=z(a,D));break;case yt:r||"#"!=a?a!=n&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":z(a,D)):(t.fragment="",l=_t);break;case _t:a!=n&&(t.fragment+=z(a,H))}h++}},xt=function(t){var e,r,n=l(this,xt,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),c=x(n,{type:"URL"});if(void 0!==o)if(o instanceof xt)e=S(o);else if(r=wt(e={},String(o)))throw TypeError(r);if(r=wt(c,a,null,e))throw TypeError(r);var s=c.searchParams=new _,u=w(s);u.updateSearchParams(c.query),u.updateURL=function(){c.query=String(s)||null},i||(n.href=At.call(n),n.origin=Rt.call(n),n.protocol=It.call(n),n.username=Ot.call(n),n.password=kt.call(n),n.host=Et.call(n),n.hostname=jt.call(n),n.port=Tt.call(n),n.pathname=Ct.call(n),n.search=Lt.call(n),n.searchParams=Pt.call(n),n.hash=Ut.call(n))},St=xt.prototype,At=function(){var t=S(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,c=t.query,s=t.fragment,u=e+":";return null!==o?(u+="//",$(t)&&(u+=r+(n?":"+n:"")+"@"),u+=B(o),null!==i&&(u+=":"+i)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(u+="?"+c),null!==s&&(u+="#"+s),u},Rt=function(){var t=S(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+B(t.host)+(null!==r?":"+r:""):"null"},It=function(){return S(this).scheme+":"},Ot=function(){return S(this).username},kt=function(){return S(this).password},Et=function(){var t=S(this),e=t.host,r=t.port;return null===e?"":null===r?B(e):B(e)+":"+r},jt=function(){var t=S(this).host;return null===t?"":B(t)},Tt=function(){var t=S(this).port;return null===t?"":String(t)},Ct=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Lt=function(){var t=S(this).query;return t?"?"+t:""},Pt=function(){return S(this).searchParams},Ut=function(){var t=S(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&s(St,{href:Nt(At,(function(t){var e=S(this),r=String(t),n=wt(e,r);if(n)throw TypeError(n);w(e.searchParams).updateSearchParams(e.query)})),origin:Nt(Rt),protocol:Nt(It,(function(t){var e=S(this);wt(e,String(t)+":",tt)})),username:Nt(Ot,(function(t){var e=S(this),r=p(String(t));if(!X(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=z(r[n],W)}})),password:Nt(kt,(function(t){var e=S(this),r=p(String(t));if(!X(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=z(r[n],W)}})),host:Nt(Et,(function(t){var e=S(this);e.cannotBeABaseURL||wt(e,String(t),lt)})),hostname:Nt(jt,(function(t){var e=S(this);e.cannotBeABaseURL||wt(e,String(t),ft)})),port:Nt(Tt,(function(t){var e=S(this);X(e)||(""==(t=String(t))?e.port=null:wt(e,t,ht))})),pathname:Nt(Ct,(function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],wt(e,t+"",gt))})),search:Nt(Lt,(function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",wt(e,t,yt)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Pt),hash:Nt(Ut,(function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",wt(e,t,_t)):e.fragment=null}))}),u(St,"toJSON",(function(){return At.call(this)}),{enumerable:!0}),u(St,"toString",(function(){return At.call(this)}),{enumerable:!0}),y){var Mt=y.createObjectURL,Ft=y.revokeObjectURL;Mt&&u(xt,"createObjectURL",(function(t){return Mt.apply(y,arguments)})),Ft&&u(xt,"revokeObjectURL",(function(t){return Ft.apply(y,arguments)}))}g(xt,"URL"),o({global:!0,forced:!a,sham:!i},{URL:xt})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,s=function(t){return t+22+75*(t<26)},u=function(t,e,r){var n=0;for(t=r?a(t/700):t>>1,t+=a(t/e);t>455;n+=36)t=a(t/35);return a(n+36*t/(t+38))},l=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,l=128,f=0,h=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(c(r));var p=n.length,d=p;for(p&&n.push("-");d<o;){var v=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=l&&r<v&&(v=r);var g=d+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,e=0;e<t.length;e++){if((r=t[e])<l&&++f>2147483647)throw RangeError(i);if(r==l){for(var m=f,b=36;;b+=36){var y=b<=h?1:b>=h+26?26:b-h;if(m<y)break;var _=m-y,w=36-y;n.push(c(s(y+_%w))),m=a(_/w)}n.push(c(s(m))),h=u(f,g,d==p),f=0,++d}}++f,++l}return n.join("")};t.exports=function(t){var e,r,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)r=a[e],i.push(n.test(r)?"xn--"+l(r):r);return i.join(".")}},function(t,e,r){var n=r(22),o=r(118);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e){},function(t,e,r){var n=r(262);t.exports=n},function(t,e,r){r(263);var n=r(24);t.exports=n.Object.assign},function(t,e,r){var n=r(11),o=r(235);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){},,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.r(e);var n=r(73),o=r.n(n),i=r(15),a=r.n(i),c=r(237),s=r.n(c),u=r(200),l=r.n(u),f=r(63),h=r.n(f),p=r(230),d=r.n(p),v=r(45),g=r.n(v),m=r(201),b=r(33),y=r(238),_=r.n(y),w=r(169),x=r.n(w);const S=["color","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"],A=["fontFamily","fontSize","lineHeight","letterSpacing","fontWeight","fontVariation","textDecoration","textShadow","textTransform","-webkit-font-smoothing","-moz-osx-font-smoothing","transition"],R=["border","borderTop","borderRight","borderBottom","borderLeft","borderRadius","borderWidth","borderColor","borderStyle","borderTopWidth","borderTopColor","borderTopStyle","borderRightWidth","borderRightColor","borderRightStyle","borderBottomWidth","borderBottomColor","borderBottomStyle","borderLeftWidth","borderLeftColor","borderLeftStyle","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","outline","outlineOffset","backgroundColor","boxShadow"],I={".Label":[...S,...A],".Input":[...S,...A,...R],".Error":[...S,...A,...R],".Tab":[...S,...A,...R],".TabIcon":[...S],".TabLabel":[...S,...A]},O={".Label":I[".Label"],".Input":[...I[".Input"],"outlineColor","outlineWidth","outlineStyle"],".Error":I[".Error"],".Tab":["borderStyle","borderBottomStyle","borderTopStyle","borderRightStyle","borderLeftStyle","borderColor","borderBottomColor","borderTopColor","borderRightColor","borderLeftColor","borderWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderLeftWidth","backgroundColor","color","fontFamily"],".Tab--selected":["borderStyle","borderStyle","borderBottomStyle","borderTopStyle","borderRightStyle","borderLeftStyle","borderWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderLeftWidth","backgroundColor","color"],".TabIcon":I[".TabIcon"],".TabIcon--selected":["color"],".TabLabel":I[".TabLabel"]};var k=r(239),E=r.n(k),j=r(176),T=r.n(j);const C=t=>{if(!t.backgroundColor||!t.color)return t;const e=((t,e)=>{const r={backgroundColor:t,color:e},n=T()(t),o=T()(e);if(!n.isValid()||!o.isValid())return{backgroundColor:"",color:""};const i=n.getBrightness()>50?T()(n).darken(7):T()(n).lighten(7),a=T.a.mostReadable(i,[o],{includeFallbackColors:!0});return r.backgroundColor=i.toRgbString(),r.color=a.toRgbString(),r})(t.backgroundColor,t.color),r=E()({},t);return r.backgroundColor=e.backgroundColor,r.color=e.color,r},L=(t,e)=>{if(!document.querySelector(t))return{};const r=O[e],n=document.querySelector(t),o=window.getComputedStyle(n),i={};for(let t=0;t<o.length;t++){const e=o[t].replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}));a()(r).call(r,e)&&(i[e]=o.getPropertyValue(o[t]))}if(".Input"===e){const t=((t,e="solid",r)=>t&&r?[t,e,r].join(" "):"")(i.outlineWidth,i.outlineStyle,i.outlineColor);""!==t&&(i.outline=t),delete i.outlineWidth,delete i.outlineColor,delete i.outlineStyle}return i},P=()=>{const t=[],e=document.styleSheets,r=["fonts.googleapis.com","fonts.gstatic.com","fast.fonts.com","use.typekit.net"];for(let n=0;n<e.length;n++){if(!e[n].href)continue;const o=new _.a(e[n].href);-1!==x()(r).call(r,o.hostname)&&t.push({cssSrc:e[n].href})}return t};r(264),g()((function(t){var e,r,n,i,c,u;const f=null===(e=Object(b.b)())||void 0===e?void 0:e.key,p=null===(r=Object(b.b)())||void 0===r?void 0:r.isUPEEnabled,v=null===(n=Object(b.b)())||void 0===n?void 0:n.paymentMethodsConfig,y=null===(i=Object(b.b)())||void 0===i?void 0:i.enabledBillingFields;if(!f)return;const _=new m.a(Object(b.b)(),(t,e)=>new o.a((r,n)=>{g.a.post(t,e).then(r).fail(n)})),w={getHiddenContainer(){const t=document.createElement("div");return t.setAttribute("id","wc-stripe-hidden-div"),t.style.border=0,t.style.clip="rect(0 0 0 0)",t.style.height="1px",t.style.margin="-1px",t.style.overflow="hidden",t.style.padding="0",t.style.position="absolute",t.style.width="1px",t},getHiddenInvalidRow(){const t=document.createElement("p");return t.classList.add("form-row","woocommerce-invalid","woocommerce-invalid-required-field"),t},appendHiddenClone(t,e,r){const n=g()(e).clone().prop("id",r);return t.appendChild(n.get(0)),n},init(){if(!t(" #billing_first_name").length)return;const e=this.getHiddenContainer();t(e).insertAfter("#billing_first_name"),this.appendHiddenClone(e,"#billing_first_name","wc-stripe-hidden-input"),t("#wc-stripe-hidden-input").trigger("focus");const r=this.getHiddenInvalidRow();this.appendHiddenClone(r,"#billing_first_name","wc-stripe-hidden-invalid-input"),e.appendChild(r),t("#wc-stripe-hidden-input").css("transition","none")},cleanup(){t("#wc-stripe-hidden-div").remove()}},x=_.getStripe().elements({fonts:P()}),S=null!==(c=null===(u=Object(b.b)())||void 0===u?void 0:u.sepaElementsOptions)&&void 0!==c?c:{},A=x.create("iban",S);let R=null,I=null,O=!1;const k={name:a()(y).call(y,"billing_first_name")||a()(y).call(y,"billing_last_name")?"never":"auto",email:a()(y).call(y,"billing_email")?"never":"auto",phone:a()(y).call(y,"billing_phone")?"never":"auto",address:{country:a()(y).call(y,"billing_country")?"never":"auto",line1:a()(y).call(y,"billing_address_1")?"never":"auto",line2:a()(y).call(y,"billing_address_2")?"never":"auto",city:a()(y).call(y,"billing_city")?"never":"auto",state:a()(y).call(y,"billing_state")?"never":"auto",postalCode:a()(y).call(y,"billing_postcode")?"never":"auto"}},E=t=>{t.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},j=t=>{t.removeClass("processing").unblock()},T=()=>t("#stripe-iban-element").length&&!t("#stripe-iban-element").children().length,U=e=>{var r;"string"==typeof e||e instanceof String||(e=e.code&&Object(b.b)()[e.code]?Object(b.b)()[e.code]:e.message);let n="";n=a()(e).call(e,"woocommerce-error")?e:'<ul class="woocommerce-error" role="alert"><li>'+e+"</li></ul>";const o=t(".woocommerce-notices-wrapper").first();o.length&&(t(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),o.prepend(n),s()(r=t("form.checkout")).call(r,".input-text, select, input:checkbox").trigger("validate").blur(),t.scroll_to_notices(o),t(document.body).trigger("checkout_error"))},N=function(e=!1){var r,n;if(E(t("#wc-stripe-upe-form")),R)return R.unmount(),void R.mount("#wc-stripe-upe-element");const o=null===(r=Object(b.b)())||void 0===r?void 0:r.isOrderPay,i=null===(n=Object(b.b)())||void 0===n?void 0:n.isCheckout;let a;var c;o&&(a=null===(c=Object(b.b)())||void 0===c?void 0:c.orderId),(e?_.initSetupIntent():_.createIntent(a)).then(e=>{var r,n;if(R||I)return R.unmount(),void R.mount("#wc-stripe-upe-element");const{client_secret:a,id:c}=e;I=c;let s=null===(r=Object(b.b)())||void 0===r?void 0:r.upeAppeareance;s||(w.init(),s=(()=>{const t=L("#billing_first_name",".Input"),e=L("#wc-stripe-hidden-input",".Input"),r=L("#wc-stripe-hidden-invalid-input",".Input"),n=L(".woocommerce-checkout .form-row label",".Label"),o=L("#billing_first_name",".Tab"),i=L(".woocommerce-checkout .place-order .button.alt",".Tab--selected"),a=C(o),c=C(i);return{rules:{".Input":t,".Input:focus":e,".Input--invalid":r,".Label":n,".Tab":o,".Tab:hover":a,".Tab--selected":i,".Tab--selected:hover":c,".TabIcon:hover":{color:a.color},".TabIcon--selected":{color:i.color},".TabIcon--selected:hover":{color:c.color}}}})(),w.cleanup(),_.saveUPEAppearance(s));const u={clientSecret:a,appearance:s,business:{name:null===(n=Object(b.b)())||void 0===n?void 0:n.accountDescriptor}};i&&!o&&(u.fields={billingDetails:k}),R=x.create("payment",u),R.mount("#wc-stripe-upe-element"),R.on("ready",()=>{j(t("#wc-stripe-upe-form"))}),R.on("change",e=>{const r=e.value.type;var n;((e=!0)=>{e?t(".woocommerce-SavedPaymentMethods-saveNew").show():(t(".woocommerce-SavedPaymentMethods-saveNew").hide(),t("input#wc-stripe-new-payment-method").prop("checked",!1),t("input#wc-stripe-new-payment-method").trigger("change"))})(v[r].isReusable),n=r,t("#wc_stripe_selected_upe_payment_type").val(n),O=e.complete}),t(document.body).trigger("wc-credit-card-form-init")}).catch(e=>{j(t("#wc-stripe-upe-form")),U(e.message),t(".payment_box.payment_method_woocommerce_payments").html("<div>An error was encountered when preparing the payment form. Please try again later.</div>")})};if(t(document.body).on("updated_checkout",()=>{if(t("#wc-stripe-upe-element").length&&!t("#wc-stripe-upe-element").children().length&&p){var e,r;const t=!(null===(e=null===(r=Object(b.b)())||void 0===r?void 0:r.isPaymentNeeded)||void 0===e||e);N(t)}T()&&A.mount("#stripe-iban-element")}),t("form#add_payment_method").length||t("form#order_review").length){if(t("#wc-stripe-upe-element").length&&!t("#wc-stripe-upe-element").children().length&&p&&!R){var M,F;const e=null===(M=Object(b.b)())||void 0===M?void 0:M.isChangingPayment,r=t("form#add_payment_method").length||e;if(e&&null!==(F=Object(b.b)())&&void 0!==F&&F.newTokenFormId){var q;const e=null===(q=Object(b.b)())||void 0===q?void 0:q.newTokenFormId;t(e).prop("selected",!0).trigger("click"),t("form#order_review").submit()}N(r)}T()&&A.mount("#stripe-iban-element")}const B=async t=>{if(!R)return U("Your payment information is incomplete."),!1;if(!O){const{error:e}=await _.getStripe().confirmPayment({element:R,confirmParams:{return_url:"#"}});return t.removeClass("processing").unblock(),U(e.message),!1}return!0},D=async t=>{if(await B(t)){E(t);try{var e;const t=null===(e=Object(b.b)())||void 0===e?void 0:e.addPaymentReturnURL,{error:r}=await _.getStripe().confirmSetup({element:R,confirmParams:{return_url:t}});if(r)throw r}catch(e){t.removeClass("processing").unblock(),U(e.message)}}},H=()=>{const e=t("#wc-stripe-payment-method").val(),r=t("#wc-stripe-new-payment-method").is(":checked"),n=_.confirmIntent(window.location.href,r?e:null);if(!0===n)return;const{request:o,isOrderPage:i}=n;i&&(E(t("#order_review")),t("#payment").hide(500)),history.replaceState("",document.title,window.location.pathname+window.location.search),o.then(t=>{window.location=t}).catch(e=>{t("form.checkout").removeClass("processing").unblock(),t("#order_review").removeClass("processing").unblock(),t("#payment").show(500);let r=e.message;var n;e instanceof Error&&(r=null===(n=Object(b.b)())||void 0===n?void 0:n.genericErrorMessage),U(r)})};function V(){return t("#wc-stripe-payment-token-new").length&&!t("#wc-stripe-payment-token-new").is(":checked")}t("form.checkout").on("checkout_place_order_stripe",(function(){if(!V()&&p&&I)return(async t=>{var e;if(!await B(t))return;E(t);const r=h()(e=t.serializeArray()).call(e,(t,e)=>(t[e.name]=e.value,t),{});try{const t=await _.processCheckout(I,r),e=t.redirect_url,i={element:R,confirmParams:{return_url:e,payment_method_data:{billing_details:(n=r,{name:l()(o=`${n.billing_first_name} ${n.billing_last_name}`).call(o)||"-",email:n.billing_email||"-",phone:n.billing_phone||"-",address:{country:n.billing_country||"-",line1:n.billing_address_1||"-",line2:n.billing_address_2||"-",city:n.billing_city||"-",state:n.billing_state||"-",postal_code:n.billing_postcode||"-"}})}}};let a;if(t.payment_needed?({error:a}=await _.getStripe().confirmPayment(i)):({error:a}=await _.getStripe().confirmSetup(i)),a){const e=r.wc_stripe_selected_upe_payment_type;throw"boleto"!==e&&"oxxo"!==e&&await _.updateFailedOrder(I,t.order_id),a}}catch(e){t.removeClass("processing").unblock(),U(e)}var n,o})(t(this)),!1})),t("form#add_payment_method").on("submit",(function(){if(!t("#wc-stripe-setup-intent").val()&&p&&I)return D(t(this)),!1})),t("#order_review").on("submit",()=>{var e;if(!V())return null!==(e=Object(b.b)())&&void 0!==e&&e.isChangingPayment?(D(t("#order_review")),!1):((async e=>{if(await B(t("#order_review"))){E(e);try{var r,n;const e=t("#wc-stripe-new-payment-method").is(":checked")?"yes":"no",o=(null===(r=Object(b.b)())||void 0===r?void 0:r.orderReturnURL)+"&save_payment_method="+e,i=null===(n=Object(b.b)())||void 0===n?void 0:n.orderId;await _.updateIntent(I,i,e,t("#wc_stripe_selected_upe_payment_type").val());const{error:a}=await _.getStripe().confirmPayment({element:R,confirmParams:{return_url:o}});if(a){const e=t("#wc_stripe_selected_upe_payment_type").val();throw"boleto"!==e&&"oxxo"!==e&&await _.updateFailedOrder(I,i),a}}catch(t){e.removeClass("processing").unblock(),U(t.message)}}})(t("#order_review")),!1)}),t(document).on("change","#wc-stripe-new-payment-method",()=>{const e=t("#wc-stripe-new-payment-method").is(":checked")?"always":"never";p&&R&&R.update({terms:Object(b.c)(e)})}),H(),t(window).on("hashchange",()=>{var t,e;d()(t=window.location.hash).call(t,"#wc-stripe-confirm-")?H():d()(e=window.location.hash).call(e,"#confirm-")&&((t,e)=>{const r=window.location.hash.match(/^#?confirm-(pi|si)-([^:]+):(.+)$/);if(!r||r.length<4)return;const n=r[1],o=r[2],i=decodeURIComponent(r[3]);history.replaceState("",document.title,window.location.pathname+window.location.search),t.getStripe()["si"===n?"handleCardSetup":"handleCardPayment"](o).then((function(t){if(t.error)throw t.error;const e=t["si"===n?"setupIntent":"paymentIntent"];"requires_capture"!==e.status&&"succeeded"!==e.status||(window.location=i)})).catch((function(t){g()("form.checkout").removeClass("processing").unblock(),g()("#order_review").removeClass("processing").unblock(),g()("#payment").show(500);let r=t.message;var n;t instanceof Error&&(r=null===(n=Object(b.b)())||void 0===n?void 0:n.genericErrorMessage),e(r),g.a.get(i+"&is_ajax")}))})(_,U)})}))}]);
build/upe_settings.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'ff2bac7016025bfae3467ca95a118085');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '382dff51e05f8c8a359f0daf0c20bfce');
build/upe_settings.js CHANGED
@@ -1,21 +1,23 @@
1
- !function(V){var N={};function U(Z){if(N[Z])return N[Z].exports;var l=N[Z]={i:Z,l:!1,exports:{}};return V[Z].call(l.exports,l,l.exports,U),l.l=!0,l.exports}U.m=V,U.c=N,U.d=function(V,N,Z){U.o(V,N)||Object.defineProperty(V,N,{enumerable:!0,get:Z})},U.r=function(V){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(V,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(V,"__esModule",{value:!0})},U.t=function(V,N){if(1&N&&(V=U(V)),8&N)return V;if(4&N&&"object"==typeof V&&V&&V.__esModule)return V;var Z=Object.create(null);if(U.r(Z),Object.defineProperty(Z,"default",{enumerable:!0,value:V}),2&N&&"string"!=typeof V)for(var l in V)U.d(Z,l,function(N){return V[N]}.bind(null,l));return Z},U.n=function(V){var N=V&&V.__esModule?function(){return V.default}:function(){return V};return U.d(N,"a",N),N},U.o=function(V,N){return Object.prototype.hasOwnProperty.call(V,N)},U.p="",U(U.s=277)}([function(V,N){V.exports=window.wp.element},function(V,N){V.exports=window.wp.i18n},function(V,N){V.exports=window.React},function(V,N){V.exports=window.wp.data},function(V,N,U){"use strict";U.d(N,"a",(function(){return Z})),U.d(N,"b",(function(){return l}));const Z="/wc/v3/wc_stripe",l="wc/stripe"},function(V,N){V.exports=window.wp.components},function(V,N,U){"use strict";function Z(){return(Z=Object.assign||function(V){for(var N=1;N<arguments.length;N++){var U=arguments[N];for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&(V[Z]=U[Z])}return V}).apply(this,arguments)}var l=U(2),d=function(V){var N=Object.create(null);return function(U){return void 0===N[U]&&(N[U]=V(U)),N[U]}},R=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,T=d((function(V){return R.test(V)||111===V.charCodeAt(0)&&110===V.charCodeAt(1)&&V.charCodeAt(2)<91})),M=function(){function V(V){var N=this;this._insertTag=function(V){var U;U=0===N.tags.length?N.prepend?N.container.firstChild:N.before:N.tags[N.tags.length-1].nextSibling,N.container.insertBefore(V,U),N.tags.push(V)},this.isSpeedy=void 0===V.speedy||V.speedy,this.tags=[],this.ctr=0,this.nonce=V.nonce,this.key=V.key,this.container=V.container,this.prepend=V.prepend,this.before=null}var N=V.prototype;return N.hydrate=function(V){V.forEach(this._insertTag)},N.insert=function(V){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(V){var N=document.createElement("style");return N.setAttribute("data-emotion",V.key),void 0!==V.nonce&&N.setAttribute("nonce",V.nonce),N.appendChild(document.createTextNode("")),N.setAttribute("data-s",""),N}(this));var N=this.tags[this.tags.length-1];if(this.isSpeedy){var U=function(V){if(V.sheet)return V.sheet;for(var N=0;N<document.styleSheets.length;N++)if(document.styleSheets[N].ownerNode===V)return document.styleSheets[N]}(N);try{U.insertRule(V,U.cssRules.length)}catch(V){}}else N.appendChild(document.createTextNode(V));this.ctr++},N.flush=function(){this.tags.forEach((function(V){return V.parentNode.removeChild(V)})),this.tags=[],this.ctr=0},V}(),e="-ms-",t="-moz-",W="-webkit-",c="comm",a="rule",F="decl",n=Math.abs,m=String.fromCharCode;function E(V){return V.trim()}function S(V,N,U){return V.replace(N,U)}function k(V,N){return V.indexOf(N)}function h(V,N){return 0|V.charCodeAt(N)}function Y(V,N,U){return V.slice(N,U)}function j(V){return V.length}function z(V){return V.length}function Q(V,N){return N.push(V),V}var p=1,J=1,b=0,G=0,r=0,D="";function O(V,N,U,Z,l,d,R){return{value:V,root:N,parent:U,type:Z,props:l,children:d,line:p,column:J,length:R,return:""}}function o(V,N,U){return O(V,N.root,N.parent,U,N.props,N.children,0)}function x(){return r=G>0?h(D,--G):0,J--,10===r&&(J=1,p--),r}function i(){return r=G<b?h(D,G++):0,J++,10===r&&(J=1,p++),r}function y(){return h(D,G)}function H(){return G}function X(V,N){return Y(D,V,N)}function B(V){switch(V){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function L(V){return p=J=1,b=j(D=V),G=0,[]}function w(V){return D="",V}function u(V){return E(X(G-1,function V(N){for(;i();)switch(r){case N:return G;case 34:case 39:return V(34===N||39===N?N:r);case 40:41===N&&V(N);break;case 92:i()}return G}(91===V?V+2:40===V?V+1:V)))}function s(V){for(;(r=y())&&r<33;)i();return B(V)>2||B(r)>3?"":" "}function I(V,N){for(;--N&&i()&&!(r<48||r>102||r>57&&r<65||r>70&&r<97););return X(V,H()+(N<6&&32==y()&&32==i()))}function v(V,N){for(;i()&&V+r!==57&&(V+r!==84||47!==y()););return"/*"+X(N,G-1)+"*"+m(47===V?V:i())}function g(V){for(;!B(y());)i();return X(V,G)}function K(V,N,U,Z,l,d,R,T,M,e,t){for(var W=l-1,c=0===l?d:[""],F=z(c),m=0,k=0,h=0;m<Z;++m)for(var j=0,Q=Y(V,W+1,W=n(k=R[m])),p=V;j<F;++j)(p=E(k>0?c[j]+" "+Q:S(Q,/&\f/g,c[j])))&&(M[h++]=p);return O(V,N,U,0===l?a:T,M,e,t)}function C(V,N,U){return O(V,N,U,c,m(r),Y(V,2,-2),0)}function A(V,N,U,Z){return O(V,N,U,F,Y(V,0,Z),Y(V,Z+1,-1),Z)}function P(V,N){for(var U="",Z=z(V),l=0;l<Z;l++)U+=N(V[l],l,V,N)||"";return U}function q(V,N,U,Z){switch(V.type){case"@import":case F:return V.return=V.return||V.value;case c:return"";case a:V.value=V.props.join(",")}return j(U=P(V.children,Z))?V.return=V.value+"{"+U+"}":""}function f(V){return function(N){N.root||(N=N.return)&&V(N)}}var _=new WeakMap,$=function(V){if("rule"===V.type&&V.parent&&V.length){for(var N=V.value,U=V.parent,Z=V.column===U.column&&V.line===U.line;"rule"!==U.type;)if(!(U=U.parent))return;if((1!==V.props.length||58===N.charCodeAt(0)||_.get(U))&&!Z){_.set(V,!0);for(var l=[],d=function(V,N){return w(function(V,N){var U=-1,Z=44;do{switch(B(Z)){case 0:38===Z&&12===y()&&(N[U]=1),V[U]+=g(G-1);break;case 2:V[U]+=u(Z);break;case 4:if(44===Z){V[++U]=58===y()?"&\f":"",N[U]=V[U].length;break}default:V[U]+=m(Z)}}while(Z=i());return V}(L(V),N))}(N,l),R=U.props,T=0,M=0;T<d.length;T++)for(var e=0;e<R.length;e++,M++)V.props[M]=l[T]?d[T].replace(/&\f/g,R[e]):R[e]+" "+d[T]}}},VV=function(V){if("decl"===V.type){var N=V.value;108===N.charCodeAt(0)&&98===N.charCodeAt(2)&&(V.return="",V.value="")}},NV=[function(V,N,U,Z){if(!V.return)switch(V.type){case F:V.return=function V(N,U){switch(function(V,N){return(((N<<2^h(V,0))<<2^h(V,1))<<2^h(V,2))<<2^h(V,3)}(N,U)){case 5103:return W+"print-"+N+N;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+N+N;case 5349:case 4246:case 4810:case 6968:case 2756:return W+N+t+N+e+N+N;case 6828:case 4268:return W+N+e+N+N;case 6165:return W+N+e+"flex-"+N+N;case 5187:return W+N+S(N,/(\w+).+(:[^]+)/,W+"box-$1$2"+e+"flex-$1$2")+N;case 5443:return W+N+e+"flex-item-"+S(N,/flex-|-self/,"")+N;case 4675:return W+N+e+"flex-line-pack"+S(N,/align-content|flex-|-self/,"")+N;case 5548:return W+N+e+S(N,"shrink","negative")+N;case 5292:return W+N+e+S(N,"basis","preferred-size")+N;case 6060:return W+"box-"+S(N,"-grow","")+W+N+e+S(N,"grow","positive")+N;case 4554:return W+S(N,/([^-])(transform)/g,"$1"+W+"$2")+N;case 6187:return S(S(S(N,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),N,"")+N;case 5495:case 3959:return S(N,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return S(S(N,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+N+N;case 4095:case 3583:case 4068:case 2532:return S(N,/(.+)-inline(.+)/,W+"$1$2")+N;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(N)-1-U>6)switch(h(N,U+1)){case 109:if(45!==h(N,U+4))break;case 102:return S(N,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+t+(108==h(N,U+3)?"$3":"$2-$3"))+N;case 115:return~k(N,"stretch")?V(S(N,"stretch","fill-available"),U)+N:N}break;case 4949:if(115!==h(N,U+1))break;case 6444:switch(h(N,j(N)-3-(~k(N,"!important")&&10))){case 107:return S(N,":",":"+W)+N;case 101:return S(N,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===h(N,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+e+"$2box$3")+N}break;case 5936:switch(h(N,U+11)){case 114:return W+N+e+S(N,/[svh]\w+-[tblr]{2}/,"tb")+N;case 108:return W+N+e+S(N,/[svh]\w+-[tblr]{2}/,"tb-rl")+N;case 45:return W+N+e+S(N,/[svh]\w+-[tblr]{2}/,"lr")+N}return W+N+e+N+N}return N}(V.value,V.length);break;case"@keyframes":return P([o(S(V.value,"@","@"+W),V,"")],Z);case a:if(V.length)return function(V,N){return V.map(N).join("")}(V.props,(function(N){switch(function(V,N){return(V=/(::plac\w+|:read-\w+)/.exec(V))?V[0]:V}(N)){case":read-only":case":read-write":return P([o(S(N,/:(read-\w+)/,":-moz-$1"),V,"")],Z);case"::placeholder":return P([o(S(N,/:(plac\w+)/,":"+W+"input-$1"),V,""),o(S(N,/:(plac\w+)/,":-moz-$1"),V,""),o(S(N,/:(plac\w+)/,e+"input-$1"),V,"")],Z)}return""}))}}],UV=function(V){var N=V.key;if("css"===N){var U=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(U,(function(V){-1!==V.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(V),V.setAttribute("data-s",""))}))}var Z,l,d=V.stylisPlugins||NV,R={},T=[];Z=V.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+N+' "]'),(function(V){for(var N=V.getAttribute("data-emotion").split(" "),U=1;U<N.length;U++)R[N[U]]=!0;T.push(V)}));var e,t=[$,VV],W=[q,f((function(V){e.insert(V)}))],c=function(V){var N=z(V);return function(U,Z,l,d){for(var R="",T=0;T<N;T++)R+=V[T](U,Z,l,d)||"";return R}}(t.concat(d,W));l=function(V,N,U,Z){e=U,P(function(V){return w(function V(N,U,Z,l,d,R,T,M,e){for(var t=0,W=0,c=T,a=0,F=0,n=0,E=1,k=1,h=1,Y=0,z="",p=d,J=R,b=l,G=z;k;)switch(n=Y,Y=i()){case 34:case 39:case 91:case 40:G+=u(Y);break;case 9:case 10:case 13:case 32:G+=s(n);break;case 92:G+=I(H()-1,7);continue;case 47:switch(y()){case 42:case 47:Q(C(v(i(),H()),U,Z),e);break;default:G+="/"}break;case 123*E:M[t++]=j(G)*h;case 125*E:case 59:case 0:switch(Y){case 0:case 125:k=0;case 59+W:F>0&&j(G)-c&&Q(F>32?A(G+";",l,Z,c-1):A(S(G," ","")+";",l,Z,c-2),e);break;case 59:G+=";";default:if(Q(b=K(G,U,Z,t,W,d,M,z,p=[],J=[],c),R),123===Y)if(0===W)V(G,U,b,b,p,R,c,M,J);else switch(a){case 100:case 109:case 115:V(N,b,b,l&&Q(K(N,b,b,0,0,d,M,z,d,p=[],c),J),d,J,c,M,l?p:J);break;default:V(G,b,b,b,[""],J,c,M,J)}}t=W=F=0,E=h=1,z=G="",c=T;break;case 58:c=1+j(G),F=n;default:if(E<1)if(123==Y)--E;else if(125==Y&&0==E++&&125==x())continue;switch(G+=m(Y),Y*E){case 38:h=W>0?1:(G+="\f",-1);break;case 44:M[t++]=(j(G)-1)*h,h=1;break;case 64:45===y()&&(G+=u(i())),a=y(),W=j(z=G+=g(H())),Y++;break;case 45:45===n&&2==j(G)&&(E=0)}}return R}("",null,null,null,[""],V=L(V),0,[0],V))}(V?V+"{"+N.styles+"}":N.styles),c),Z&&(a.inserted[N.name]=!0)};var a={key:N,sheet:new M({key:N,container:Z,nonce:V.nonce,speedy:V.speedy,prepend:V.prepend}),nonce:V.nonce,inserted:R,registered:{},insert:l};return a.sheet.hydrate(T),a};function ZV(V,N,U){var Z="";return U.split(" ").forEach((function(U){void 0!==V[U]?N.push(V[U]+";"):Z+=U+" "})),Z}U(135);var lV=function(V,N,U){var Z=V.key+"-"+N.name;if(!1===U&&void 0===V.registered[Z]&&(V.registered[Z]=N.styles),void 0===V.inserted[N.name]){var l=N;do{V.insert(N===l?"."+Z:"",l,V.sheet,!0),l=l.next}while(void 0!==l)}},dV=function(V){for(var N,U=0,Z=0,l=V.length;l>=4;++Z,l-=4)N=1540483477*(65535&(N=255&V.charCodeAt(Z)|(255&V.charCodeAt(++Z))<<8|(255&V.charCodeAt(++Z))<<16|(255&V.charCodeAt(++Z))<<24))+(59797*(N>>>16)<<16),U=1540483477*(65535&(N^=N>>>24))+(59797*(N>>>16)<<16)^1540483477*(65535&U)+(59797*(U>>>16)<<16);switch(l){case 3:U^=(255&V.charCodeAt(Z+2))<<16;case 2:U^=(255&V.charCodeAt(Z+1))<<8;case 1:U=1540483477*(65535&(U^=255&V.charCodeAt(Z)))+(59797*(U>>>16)<<16)}return(((U=1540483477*(65535&(U^=U>>>13))+(59797*(U>>>16)<<16))^U>>>15)>>>0).toString(36)},RV={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},TV=/[A-Z]|^ms/g,MV=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eV=function(V){return 45===V.charCodeAt(1)},tV=function(V){return null!=V&&"boolean"!=typeof V},WV=d((function(V){return eV(V)?V:V.replace(TV,"-$&").toLowerCase()})),cV=function(V,N){switch(V){case"animation":case"animationName":if("string"==typeof N)return N.replace(MV,(function(V,N,U){return FV={name:N,styles:U,next:FV},N}))}return 1===RV[V]||eV(V)||"number"!=typeof N||0===N?N:N+"px"};function aV(V,N,U){if(null==U)return"";if(void 0!==U.__emotion_styles)return U;switch(typeof U){case"boolean":return"";case"object":if(1===U.anim)return FV={name:U.name,styles:U.styles,next:FV},U.name;if(void 0!==U.styles){var Z=U.next;if(void 0!==Z)for(;void 0!==Z;)FV={name:Z.name,styles:Z.styles,next:FV},Z=Z.next;return U.styles+";"}return function(V,N,U){var Z="";if(Array.isArray(U))for(var l=0;l<U.length;l++)Z+=aV(V,N,U[l])+";";else for(var d in U){var R=U[d];if("object"!=typeof R)null!=N&&void 0!==N[R]?Z+=d+"{"+N[R]+"}":tV(R)&&(Z+=WV(d)+":"+cV(d,R)+";");else if(!Array.isArray(R)||"string"!=typeof R[0]||null!=N&&void 0!==N[R[0]]){var T=aV(V,N,R);switch(d){case"animation":case"animationName":Z+=WV(d)+":"+T+";";break;default:Z+=d+"{"+T+"}"}}else for(var M=0;M<R.length;M++)tV(R[M])&&(Z+=WV(d)+":"+cV(d,R[M])+";")}return Z}(V,N,U);case"function":if(void 0!==V){var l=FV,d=U(V);return FV=l,aV(V,N,d)}}if(null==N)return U;var R=N[U];return void 0!==R?R:U}var FV,nV=/label:\s*([^\s;\n{]+)\s*(;|$)/g,mV=function(V,N,U){if(1===V.length&&"object"==typeof V[0]&&null!==V[0]&&void 0!==V[0].styles)return V[0];var Z=!0,l="";FV=void 0;var d=V[0];null==d||void 0===d.raw?(Z=!1,l+=aV(U,N,d)):l+=d[0];for(var R=1;R<V.length;R++)l+=aV(U,N,V[R]),Z&&(l+=d[R]);nV.lastIndex=0;for(var T,M="";null!==(T=nV.exec(l));)M+="-"+T[1];return{name:dV(l)+M,styles:l,next:FV}},EV=(Object.prototype.hasOwnProperty,Object(l.createContext)("undefined"!=typeof HTMLElement?UV({key:"css"}):null));EV.Provider;var SV=function(V){return Object(l.forwardRef)((function(N,U){var Z=Object(l.useContext)(EV);return V(N,Z,U)}))},kV=Object(l.createContext)({}),hV=T,YV=function(V){return"theme"!==V},jV=function(V){return"string"==typeof V&&V.charCodeAt(0)>96?hV:YV},zV=function(V,N,U){var Z;if(N){var l=N.shouldForwardProp;Z=V.__emotion_forwardProp&&l?function(N){return V.__emotion_forwardProp(N)&&l(N)}:l}return"function"!=typeof Z&&U&&(Z=V.__emotion_forwardProp),Z};N.a=function V(N,U){var d,R,T=N.__emotion_real===N,M=T&&N.__emotion_base||N;void 0!==U&&(d=U.label,R=U.target);var e=zV(N,U,T),t=e||jV(M),W=!t("as");return function(){var c=arguments,a=T&&void 0!==N.__emotion_styles?N.__emotion_styles.slice(0):[];if(void 0!==d&&a.push("label:"+d+";"),null==c[0]||void 0===c[0].raw)a.push.apply(a,c);else{a.push(c[0][0]);for(var F=c.length,n=1;n<F;n++)a.push(c[n],c[0][n])}var m=SV((function(V,N,U){var Z=W&&V.as||M,d="",T=[],c=V;if(null==V.theme){for(var F in c={},V)c[F]=V[F];c.theme=Object(l.useContext)(kV)}"string"==typeof V.className?d=ZV(N.registered,T,V.className):null!=V.className&&(d=V.className+" ");var n=mV(a.concat(T),N.registered,c);lV(N,n,"string"==typeof Z),d+=N.key+"-"+n.name,void 0!==R&&(d+=" "+R);var m=W&&void 0===e?jV(Z):t,E={};for(var S in V)W&&"as"===S||m(S)&&(E[S]=V[S]);return E.className=d,E.ref=U,Object(l.createElement)(Z,E)}));return m.displayName=void 0!==d?d:"Styled("+("string"==typeof M?M:M.displayName||M.name||"Component")+")",m.defaultProps=N.defaultProps,m.__emotion_real=m,m.__emotion_base=M,m.__emotion_styles=a,m.__emotion_forwardProp=e,Object.defineProperty(m,"toString",{value:function(){return"."+R}}),m.withComponent=function(N,l){return V(N,Z({},U,l,{shouldForwardProp:zV(m,l,!0)})).apply(void 0,a)},m}}},,function(V,N){function U(){return V.exports=U=Object.assign||function(V){for(var N=1;N<arguments.length;N++){var U=arguments[N];for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&(V[Z]=U[Z])}return V},V.exports.default=V.exports,V.exports.__esModule=!0,U.apply(this,arguments)}V.exports=U,V.exports.default=V.exports,V.exports.__esModule=!0},function(V,N,U){(function(N){var U=function(V){return V&&V.Math==Math&&V};V.exports=U("object"==typeof globalThis&&globalThis)||U("object"==typeof window&&window)||U("object"==typeof self&&self)||U("object"==typeof N&&N)||function(){return this}()||Function("return this")()}).call(this,U(106))},function(V,N,U){var Z=U(9),l=U(75),d=U(18),R=U(76),T=U(72),M=U(108),e=l("wks"),t=Z.Symbol,W=M?t:t&&t.withoutSetter||R;V.exports=function(V){return d(e,V)&&(T||"string"==typeof e[V])||(T&&d(t,V)?e[V]=t[V]:e[V]=W("Symbol."+V)),e[V]}},function(V,N,U){"use strict";U.d(N,"s",(function(){return G})),U.d(N,"d",(function(){return r})),U.d(N,"o",(function(){return D})),U.d(N,"l",(function(){return O})),U.d(N,"n",(function(){return o})),U.d(N,"m",(function(){return x})),U.d(N,"p",(function(){return i})),U.d(N,"h",(function(){return y})),U.d(N,"v",(function(){return H})),U.d(N,"w",(function(){return X})),U.d(N,"c",(function(){return B})),U.d(N,"u",(function(){return L})),U.d(N,"q",(function(){return w})),U.d(N,"j",(function(){return u})),U.d(N,"r",(function(){return s})),U.d(N,"a",(function(){return I})),U.d(N,"g",(function(){return v})),U.d(N,"t",(function(){return g})),U.d(N,"b",(function(){return K})),U.d(N,"i",(function(){return C})),U.d(N,"e",(function(){return A})),U.d(N,"f",(function(){return P})),U.d(N,"k",(function(){return WV.b}));var Z={};U.r(Z),U.d(Z,"getSettings",(function(){return n})),U.d(Z,"isSavingSettings",(function(){return m})),U.d(Z,"getSavingError",(function(){return E}));var l={};U.r(l),U.d(l,"updateSettingsValues",(function(){return k})),U.d(l,"updateSettings",(function(){return h})),U.d(l,"updateIsSavingSettings",(function(){return Y})),U.d(l,"saveSettings",(function(){return j}));var d={};U.r(d),U.d(d,"getSettings",(function(){return z}));var R={};U.r(R),U.d(R,"getPaymentGateway",(function(){return NV})),U.d(R,"isSavingPaymentGateway",(function(){return UV})),U.d(R,"getPaymentGatewaySavingError",(function(){return ZV}));var T={};U.r(T),U.d(T,"updatePaymentGatewayValues",(function(){return dV})),U.d(T,"updatePaymentGateway",(function(){return RV})),U.d(T,"updateIsSavingPaymentGateway",(function(){return TV})),U.d(T,"savePaymentGateway",(function(){return MV}));var M={};U.r(M),U.d(M,"getPaymentGateway",(function(){return tV}));var e=U(4),t=U(3),W=U(14);const c={isSaving:!1,savingError:null,data:{}};const a={},F=V=>V&&V.settings||a,n=V=>F(V).data||a,m=V=>F(V).isSaving||!1,E=V=>F(V).savingError;var S=U(1);function k(V){return{type:"SET_SETTINGS_VALUES",payload:V}}function h(V){return{type:"SET_SETTINGS",data:V}}function Y(V,N){return{type:"SET_IS_SAVING_SETTINGS",isSaving:V,error:N}}function*j(){let V=null;try{const N=Object(t.select)(e.b).getSettings();yield Y(!0,null),yield Object(W.apiFetch)({path:e.a+"/settings",method:"post",data:N}),yield Object(t.dispatch)(e.b).invalidateResolutionForStoreSelector("getAccountData"),yield Object(t.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(N){V=N,yield Object(t.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield Y(!1,V)}return null===V}function*z(){const V=e.a+"/settings";try{const N=yield Object(W.apiFetch)({path:V});yield h(N)}catch(V){yield Object(t.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving settings.","woocommerce-gateway-stripe"))}}var Q=U(2);const p=[],J=(V,N=!1)=>()=>Object(t.useSelect)(U=>{const{getSettings:Z}=U(e.b);return Z()[V]||N},[V,N]),b=(V,N=!1)=>()=>{const{updateSettingsValues:U}=Object(t.useDispatch)(e.b);return[J(V,N)(),Object(Q.useCallback)(N=>U({[V]:N}),[U])]},G=()=>{const{saveSettings:V}=Object(t.useDispatch)(e.b);return{settings:Object(t.useSelect)(V=>{const{getSettings:N}=V(e.b);return N()},[]),isLoading:Object(t.useSelect)(V=>{const{hasFinishedResolution:N,isResolving:U}=V(e.b);return U("getSettings")||!N("getSettings")},[]),isSaving:Object(t.useSelect)(V=>{const{isSavingSettings:N}=V(e.b);return N()},[]),saveSettings:V}},r=b("enabled_payment_method_ids",p),D=b("is_payment_request_enabled"),O=b("payment_request_button_size",""),o=b("payment_request_button_type",""),x=b("payment_request_button_theme",""),i=b("payment_request_button_locations",p),y=b("is_stripe_enabled"),H=b("title",""),X=b("title_upe",""),B=b("description",""),L=b("is_test_mode_enabled"),w=b("is_saved_cards_enabled"),u=b("is_manual_capture_enabled"),s=b("is_separate_card_form_enabled"),I=b("statement_descriptor",""),v=b("is_short_statement_descriptor_enabled"),g=b("short_statement_descriptor",""),K=b("is_debug_log_enabled"),C=b("is_upe_enabled"),A=J("available_payment_method_ids",p),P=()=>Object(t.useSelect)(V=>{const{getSavingError:N}=V(e.b);return N()},[]);var q=U(22),f=U(26);const _={isSaving:!1,savingError:null,data:{}};const $={},VV=V=>V&&V.paymentGateway||$,NV=V=>VV(V).data||$,UV=V=>VV(V).isSaving||!1,ZV=V=>VV(V).savingError;var lV=U(25);function dV(V){return{type:"SET_PAYMENT_GATEWAY_VALUES",payload:V}}function RV(V){return{type:"SET_PAYMENT_GATEWAY",data:V}}function TV(V,N){return{type:"SET_IS_SAVING_PAYMENT_GATEWAY",isSaving:V,error:N}}function*MV(){let V=null;const{section:N}=Object(lV.getQuery)();try{const U=Object(t.select)(e.b).getPaymentGateway();yield TV(!0,null),yield Object(W.apiFetch)({path:`${e.a}/payment-gateway/${N}`,method:"post",data:U}),yield Object(t.dispatch)("core/notices").createSuccessNotice(Object(S.__)("Settings saved.","woocommerce-gateway-stripe"))}catch(N){V=N,yield Object(t.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error saving settings.","woocommerce-gateway-stripe"))}finally{yield TV(!1,V)}return null===V}const{section:eV}=Object(lV.getQuery)();function*tV(){const V=`${e.a}/payment-gateway/${eV}`;try{const N=yield Object(W.apiFetch)({path:V});yield RV(N)}catch(V){yield Object(t.dispatch)("core/notices").createErrorNotice(Object(S.__)("Error retrieving payment gateway settings.","woocommerce-gateway-stripe"))}}var WV=U(51);Object(t.registerStore)(e.b,{reducer:Object(t.combineReducers)({settings:(V=c,{type:N,...U})=>{switch(N){case"SET_SETTINGS":return{...V,data:U.data};case"SET_SETTINGS_VALUES":return{...V,savingError:null,data:{...V.data,...U.payload}};case"SET_IS_SAVING_SETTINGS":return{...V,isSaving:U.isSaving,savingError:U.error}}return V},account:q.b,accountKeys:f.b,paymentGateway:(V=_,{type:N,...U})=>{switch(N){case"SET_PAYMENT_GATEWAY":return{...V,data:U.data};case"SET_PAYMENT_GATEWAY_VALUES":return{...V,savingError:null,data:{...V.data,...U.payload}};case"SET_IS_SAVING_PAYMENT_GATEWAY":return{...V,isSaving:U.isSaving,savingError:U.error}}return V}}),actions:{...l,...q.a,...f.a,...T},controls:W.controls,selectors:{...Z,...q.d,...f.d,...R},resolvers:{...d,...q.c,...f.c,...M}}),e.b},function(V,N,U){"use strict";var Z=U(9),l=U(74).f,d=U(81),R=U(27),T=U(41),M=U(20),e=U(18),t=function(V){var N=function(N,U,Z){if(this instanceof V){switch(arguments.length){case 0:return new V;case 1:return new V(N);case 2:return new V(N,U)}return new V(N,U,Z)}return V.apply(this,arguments)};return N.prototype=V.prototype,N};V.exports=function(V,N){var U,W,c,a,F,n,m,E,S=V.target,k=V.global,h=V.stat,Y=V.proto,j=k?Z:h?Z[S]:(Z[S]||{}).prototype,z=k?R:R[S]||(R[S]={}),Q=z.prototype;for(c in N)U=!d(k?c:S+(h?".":"#")+c,V.forced)&&j&&e(j,c),F=z[c],U&&(n=V.noTargetGet?(E=l(j,c))&&E.value:j[c]),a=U&&n?n:N[c],U&&typeof F==typeof a||(m=V.bind&&U?T(a,Z):V.wrap&&U?t(a):Y&&"function"==typeof a?T(Function.call,a):a,(V.sham||a&&a.sham||F&&F.sham)&&M(m,"sham",!0),z[c]=m,Y&&(e(R,W=S+"Prototype")||M(R,W,{}),R[W][c]=a,V.real&&Q&&!Q[c]&&M(Q,c,a)))}},function(V,N){V.exports=function(V){try{return!!V()}catch(V){return!0}}},function(V,N){V.exports=window.wp.dataControls},function(V,N,U){V.exports=U(109)},,function(V,N){V.exports=function(V){return"object"==typeof V?null!==V:"function"==typeof V}},function(V,N){var U={}.hasOwnProperty;V.exports=function(V,N){return U.call(V,N)}},function(V,N,U){"use strict";var Z=U(8),l=U.n(Z),d=U(6),R=U(0),T=(U(2),U(119));const M={small:{name:"1r962iv",styles:"padding:4px"},medium:{name:"14si2be",styles:"padding:7px"}},e=Object(d.a)(T.a,{target:"erwkboy0"})("background:white;border-color:#ddd;border-radius:5px;overflow:hidden;",({size:V})=>M[V]||"",";");N.a=({size:V="small",...N})=>Object(R.createElement)(e,l()({},N,{size:V}))},function(V,N,U){var Z=U(24),l=U(39),d=U(33);V.exports=Z?function(V,N,U){return l.f(V,N,d(1,U))}:function(V,N,U){return V[N]=U,V}},function(V,N,U){var Z=U(17);V.exports=function(V){if(!Z(V))throw TypeError(String(V)+" is not an object");return V}},function(V,N,U){"use strict";U.d(N,"b",(function(){return T})),U.d(N,"d",(function(){return Z})),U.d(N,"a",(function(){return l})),U.d(N,"c",(function(){return d})),U.d(N,"e",(function(){return h.a})),U.d(N,"f",(function(){return h.b}));var Z={};U.r(Z),U.d(Z,"getAccountData",(function(){return t})),U.d(Z,"isRefreshingAccount",(function(){return W}));var l={};U.r(l),U.d(l,"updateAccount",(function(){return m})),U.d(l,"updateIsRefreshingAccount",(function(){return E})),U.d(l,"refreshAccount",(function(){return S}));var d={};U.r(d),U.d(d,"getAccountData",(function(){return k}));const R={isRefreshing:!1,data:{}};var T=(V=R,{type:N,...U})=>{switch(N){case"SET_ACCOUNT":return{...V,data:U.payload};case"SET_IS_REFRESHING":return{...V,isRefreshing:U.isRefreshing}}return V};const M={},e=V=>V&&V.account||M,t=V=>e(V).data||M,W=V=>e(V).isRefreshing||!1;var c=U(3),a=U(1),F=U(14),n=U(4);function m(V){return{type:"SET_ACCOUNT",payload:V}}function E(V){return{type:"SET_IS_REFRESHING",isRefreshing:V}}function*S(){try{yield E(!0);const V=yield Object(F.apiFetch)({method:"post",path:n.a+"/account/refresh"});yield m(V)}catch(V){yield Object(c.dispatch)("core/notices").createErrorNotice(Object(a.__)("Error updating account data.","woocommerce-gateway-stripe"))}finally{yield E(!1)}}function*k(){const V=n.a+"/account";try{const N=yield Object(F.apiFetch)({path:V});yield m(N)}catch(V){yield Object(c.dispatch)("core/notices").createErrorNotice(Object(a.__)("Error retrieving account data.","woocommerce-gateway-stripe"))}}var h=U(61)},,function(V,N,U){var Z=U(13);V.exports=!Z((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(V,N){V.exports=window.wc.navigation},function(V,N,U){"use strict";U.d(N,"b",(function(){return T})),U.d(N,"d",(function(){return Z})),U.d(N,"a",(function(){return l})),U.d(N,"c",(function(){return d})),U.d(N,"e",(function(){return j.a})),U.d(N,"f",(function(){return j.b})),U.d(N,"g",(function(){return j.c})),U.d(N,"k",(function(){return j.g})),U.d(N,"h",(function(){return j.d})),U.d(N,"i",(function(){return j.e})),U.d(N,"j",(function(){return j.f}));var Z={};U.r(Z),U.d(Z,"getAccountKeys",(function(){return t})),U.d(Z,"isSavingAccountKeys",