MockProcessor-ad11752f.js
2 months ago
MockProcessor-ad11752f.js.map
2 months ago
add-query-args-49dcb630.js
1 year ago
add-query-args-49dcb630.js.map
1 year ago
address-7404695f.js
4 months ago
address-7404695f.js.map
4 months ago
animation-registry-b597d2f4.js
3 months ago
animation-registry-b597d2f4.js.map
3 months ago
app-globals-464bf4c9.js
2 months ago
app-globals-464bf4c9.js.map
2 months ago
consumer-b58230e6.js
2 months ago
consumer-b58230e6.js.map
2 months ago
currency-71fce0f0.js
1 year ago
currency-71fce0f0.js.map
1 year ago
error-66b4ae42.js
1 week ago
error-66b4ae42.js.map
1 week ago
fetch-5e8dc1d5.js
1 month ago
fetch-5e8dc1d5.js.map
1 month ago
floating-ui.dom.esm-7fad5c49.js
6 months ago
floating-ui.dom.esm-7fad5c49.js.map
6 months ago
form-data-0da9940f.js
1 year ago
form-data-0da9940f.js.map
1 year ago
functions-033a6a55.js
3 months ago
functions-033a6a55.js.map
3 months ago
geo-permission-8128c254.js
1 month ago
geo-permission-8128c254.js.map
1 month ago
getters-4e5fc4d4.js
1 week ago
getters-4e5fc4d4.js.map
1 week ago
getters-68a0d178.js
2 months ago
getters-68a0d178.js.map
2 months ago
getters-bc65a40b.js
2 months ago
getters-bc65a40b.js.map
2 months ago
getters-c3cd6c93.js
1 week ago
getters-c3cd6c93.js.map
1 week ago
getters-d68c08ed.js
2 months ago
getters-d68c08ed.js.map
2 months ago
google-5d965da2.js
1 week ago
google-5d965da2.js.map
1 week ago
google-8dbad1a6.js
1 week ago
google-8dbad1a6.js.map
1 week ago
google-maps-0f9b7648.js
3 months ago
google-maps-0f9b7648.js.map
3 months ago
index-7ced8198.js
2 months ago
index-7ced8198.js.map
2 months ago
index-a4a4f390.js
1 month ago
index-a4a4f390.js.map
1 month ago
index-adacfa36.js
1 year ago
index-adacfa36.js.map
1 year ago
index-be4abba1.js
2 months ago
index-be4abba1.js.map
2 months ago
index-c2d0eb49.js
1 week ago
index-c2d0eb49.js.map
1 week ago
index-c3de642f.js
2 months ago
index-c3de642f.js.map
2 months ago
index-f3933112.js
1 month ago
index-f3933112.js.map
1 month ago
index-fb76df07.js
2 years ago
index-fb76df07.js.map
2 years ago
index.cjs.js
1 week ago
index.cjs.js.map
1 month ago
inline-aa15f113.js
1 year ago
inline-aa15f113.js.map
1 year ago
lazy-2b509fa7.js
1 year ago
lazy-2b509fa7.js.map
1 year ago
library-08bc52a5.js
2 months ago
library-08bc52a5.js.map
2 months ago
loader.cjs.js
2 weeks ago
loader.cjs.js.map
1 year ago
media-43b85f3d.js
1 year ago
media-43b85f3d.js.map
1 year ago
mutations-463da571.js
1 week ago
mutations-463da571.js.map
1 week ago
mutations-627c79a0.js
1 week ago
mutations-627c79a0.js.map
1 week ago
mutations-98f05402.js
1 week ago
mutations-98f05402.js.map
1 week ago
mutations-d5d6ddf1.js
2 months ago
mutations-d5d6ddf1.js.map
2 months ago
page-align-5a2ab493.js
1 year ago
page-align-5a2ab493.js.map
1 year ago
price-da3cab3d.js
4 months ago
price-da3cab3d.js.map
4 months ago
pure-bd6f0a6e.js
1 year ago
pure-bd6f0a6e.js.map
1 year ago
quantity-aa458329.js
3 months ago
quantity-aa458329.js.map
3 months ago
razorpay-88fe8897.js
3 months ago
razorpay-88fe8897.js.map
3 months ago
remove-query-args-b57e8cd3.js
1 year ago
remove-query-args-b57e8cd3.js.map
1 year ago
sc-address_5.cjs.entry.js
2 weeks ago
sc-address_5.cjs.entry.js.map
2 weeks ago
sc-alert.cjs.entry.js
1 month ago
sc-alert.cjs.entry.js.map
1 year ago
sc-avatar_2.cjs.entry.js
1 week ago
sc-avatar_2.cjs.entry.js.map
1 month ago
sc-badge-notice.cjs.entry.js
1 month ago
sc-badge-notice.cjs.entry.js.map
1 year ago
sc-block-ui.cjs.entry.js
1 month ago
sc-block-ui.cjs.entry.js.map
5 months ago
sc-breadcrumb.cjs.entry.js
1 month ago
sc-breadcrumb.cjs.entry.js.map
1 year ago
sc-breadcrumbs.cjs.entry.js
1 month ago
sc-breadcrumbs.cjs.entry.js.map
1 year ago
sc-button-group.cjs.entry.js
1 month ago
sc-button-group.cjs.entry.js.map
1 year ago
sc-button_6.cjs.entry.js
1 month ago
sc-button_6.cjs.entry.js.map
1 month ago
sc-cancel-dialog_3.cjs.entry.js
1 month ago
sc-cancel-dialog_3.cjs.entry.js.map
1 month ago
sc-cancel-discount_4.cjs.entry.js
1 month ago
sc-cancel-discount_4.cjs.entry.js.map
2 months ago
sc-card_2.cjs.entry.js
1 month ago
sc-card_2.cjs.entry.js.map
4 months ago
sc-cart-button.cjs.entry.js
1 week ago
sc-cart-button.cjs.entry.js.map
1 year ago
sc-cart-form-submit.cjs.entry.js
2 months ago
sc-cart-form-submit.cjs.entry.js.map
1 year ago
sc-cart-form.cjs.entry.js
1 week ago
sc-cart-form.cjs.entry.js.map
1 month ago
sc-cart-header.cjs.entry.js
1 week ago
sc-cart-header.cjs.entry.js.map
1 year ago
sc-cart-icon.cjs.entry.js
1 week ago
sc-cart-icon.cjs.entry.js.map
1 year ago
sc-cart-loader.cjs.entry.js
1 week ago
sc-cart-loader.cjs.entry.js.map
1 year ago
sc-cart-session-provider_3.cjs.entry.js
1 week ago
sc-cart-session-provider_3.cjs.entry.js.map
2 months ago
sc-cart-submit.cjs.entry.js
2 months ago
sc-cart-submit.cjs.entry.js.map
1 year ago
sc-cart.cjs.entry.js
1 week ago
sc-cart.cjs.entry.js.map
2 months ago
sc-cc-logo_2.cjs.entry.js
1 month ago
sc-cc-logo_2.cjs.entry.js.map
1 month ago
sc-charges-list.cjs.entry.js
1 month ago
sc-charges-list.cjs.entry.js.map
2 months ago
sc-checkout-autofill-provider_11.cjs.entry.js
1 week ago
sc-checkout-autofill-provider_11.cjs.entry.js.map
1 month ago
sc-checkout-form-errors.cjs.entry.js
2 months ago
sc-checkout-form-errors.cjs.entry.js.map
1 year ago
sc-checkout-mollie-payment_3.cjs.entry.js
1 week ago
sc-checkout-mollie-payment_3.cjs.entry.js.map
2 months ago
sc-checkout-product-bundle-component-variants.cjs.entry.js
1 week ago
sc-checkout-product-bundle-component-variants.cjs.entry.js.map
1 month ago
sc-checkout-product-price-variant-selector.cjs.entry.js
1 week ago
sc-checkout-product-price-variant-selector.cjs.entry.js.map
4 weeks ago
sc-checkout.cjs.entry.js
1 week ago
sc-checkout.cjs.entry.js.map
1 month ago
sc-choice-container.cjs.entry.js
1 month ago
sc-choice-container.cjs.entry.js.map
1 year ago
sc-choice.cjs.entry.js
1 month ago
sc-choice.cjs.entry.js.map
1 year ago
sc-choices.cjs.entry.js
1 month ago
sc-choices.cjs.entry.js.map
1 year ago
sc-column_2.cjs.entry.js
1 month ago
sc-column_2.cjs.entry.js.map
1 month ago
sc-compact-address_18.cjs.entry.js
1 week ago
sc-compact-address_18.cjs.entry.js.map
1 month ago
sc-conditional-form.cjs.entry.js
1 week ago
sc-conditional-form.cjs.entry.js.map
2 months ago
sc-consumer.cjs.entry.js
2 months ago
sc-consumer.cjs.entry.js.map
1 year ago
sc-coupon-form.cjs.entry.js
1 week ago
sc-coupon-form.cjs.entry.js.map
5 months ago
sc-custom-order-price-input.cjs.entry.js
1 month ago
sc-custom-order-price-input.cjs.entry.js.map
2 months ago
sc-customer-details.cjs.entry.js
1 month ago
sc-customer-details.cjs.entry.js.map
7 months ago
sc-customer-edit.cjs.entry.js
1 month ago
sc-customer-edit.cjs.entry.js.map
2 months ago
sc-customer-email.cjs.entry.js
1 week ago
sc-customer-email.cjs.entry.js.map
1 month ago
sc-customer-firstname.cjs.entry.js
1 week ago
sc-customer-firstname.cjs.entry.js.map
2 months ago
sc-customer-lastname.cjs.entry.js
1 week ago
sc-customer-lastname.cjs.entry.js.map
2 months ago
sc-customer-name.cjs.entry.js
1 week ago
sc-customer-name.cjs.entry.js.map
2 months ago
sc-dashboard-customer-details.cjs.entry.js
1 month ago
sc-dashboard-customer-details.cjs.entry.js.map
2 months ago
sc-dashboard-downloads-list.cjs.entry.js
1 month ago
sc-dashboard-downloads-list.cjs.entry.js.map
2 months ago
sc-dialog.cjs.entry.js
1 month ago
sc-dialog.cjs.entry.js.map
5 months ago
sc-divider.cjs.entry.js
1 month ago
sc-divider.cjs.entry.js.map
1 year ago
sc-donation-choices.cjs.entry.js
2 months ago
sc-donation-choices.cjs.entry.js.map
1 year ago
sc-downloads-list.cjs.entry.js
1 month ago
sc-downloads-list.cjs.entry.js.map
1 month ago
sc-dropdown_3.cjs.entry.js
1 month ago
sc-dropdown_3.cjs.entry.js.map
6 months ago
sc-empty_3.cjs.entry.js
1 month ago
sc-empty_3.cjs.entry.js.map
4 months ago
sc-express-payment.cjs.entry.js
1 week ago
sc-express-payment.cjs.entry.js.map
3 months ago
sc-feature-demo-banner.cjs.entry.js
1 month ago
sc-feature-demo-banner.cjs.entry.js.map
1 year ago
sc-flex.cjs.entry.js
1 month ago
sc-flex.cjs.entry.js.map
1 year ago
sc-form-control_2.cjs.entry.js
1 month ago
sc-form-control_2.cjs.entry.js.map
2 months ago
sc-form-row.cjs.entry.js
1 month ago
sc-form-row.cjs.entry.js.map
1 year ago
sc-form.cjs.entry.js
1 month ago
sc-form.cjs.entry.js.map
1 year ago
sc-format-bytes.cjs.entry.js
2 months ago
sc-format-bytes.cjs.entry.js.map
1 year ago
sc-format-interval.cjs.entry.js
2 months ago
sc-format-interval.cjs.entry.js.map
1 year ago
sc-format-number.cjs.entry.js
2 months ago
sc-format-number.cjs.entry.js.map
1 year ago
sc-fulfillment-shipping-status-badge.cjs.entry.js
2 months ago
sc-fulfillment-shipping-status-badge.cjs.entry.js.map
4 months ago
sc-fulfillments.cjs.entry.js
1 month ago
sc-fulfillments.cjs.entry.js.map
2 months ago
sc-heading_2.cjs.entry.js
1 month ago
sc-heading_2.cjs.entry.js.map
1 year ago
sc-image-slider.cjs.entry.js
1 month ago
sc-image-slider.cjs.entry.js.map
1 month ago
sc-invoice-status-badge.cjs.entry.js
1 month ago
sc-invoice-status-badge.cjs.entry.js.map
4 months ago
sc-invoices-list.cjs.entry.js
1 month ago
sc-invoices-list.cjs.entry.js.map
2 months ago
sc-license.cjs.entry.js
1 month ago
sc-license.cjs.entry.js.map
2 months ago
sc-licenses-list.cjs.entry.js
1 month ago
sc-licenses-list.cjs.entry.js.map
1 month ago
sc-line-item-bump.cjs.entry.js
1 week ago
sc-line-item-bump.cjs.entry.js.map
1 year ago
sc-line-item-total.cjs.entry.js
1 week ago
sc-line-item-total.cjs.entry.js.map
6 months ago
sc-line-item.cjs.entry.js
1 month ago
sc-line-item.cjs.entry.js.map
1 year ago
sc-line-items-provider.cjs.entry.js
1 month ago
sc-line-items-provider.cjs.entry.js.map
1 year ago
sc-line-items.cjs.entry.js
1 week ago
sc-line-items.cjs.entry.js.map
1 month ago
sc-login-form.cjs.entry.js
1 month ago
sc-login-form.cjs.entry.js.map
2 months ago
sc-manual-payment-method_3.cjs.entry.js
1 month ago
sc-manual-payment-method_3.cjs.entry.js.map
3 months ago
sc-menu-divider.cjs.entry.js
1 month ago
sc-menu-divider.cjs.entry.js.map
1 year ago
sc-menu-label_2.cjs.entry.js
1 month ago
sc-menu-label_2.cjs.entry.js.map
1 month ago
sc-mollie-add-method.cjs.entry.js
1 month ago
sc-mollie-add-method.cjs.entry.js.map
2 months ago
sc-order-confirmation-customer.cjs.entry.js
2 months ago
sc-order-confirmation-customer.cjs.entry.js.map
1 year ago
sc-order-confirmation-details.cjs.entry.js
2 months ago
sc-order-confirmation-details.cjs.entry.js.map
11 months ago
sc-order-confirmation-line-items_2.cjs.entry.js
1 month ago
sc-order-confirmation-line-items_2.cjs.entry.js.map
1 month ago
sc-order-confirmation.cjs.entry.js
1 month ago
sc-order-confirmation.cjs.entry.js.map
2 months ago
sc-order-coupon-form.cjs.entry.js
1 week ago
sc-order-coupon-form.cjs.entry.js.map
2 months ago
sc-order-detail.cjs.entry.js
2 months ago
sc-order-detail.cjs.entry.js.map
1 year ago
sc-order-fulfillment-badge.cjs.entry.js
1 month ago
sc-order-fulfillment-badge.cjs.entry.js.map
4 months ago
sc-order-manual-instructions.cjs.entry.js
2 months ago
sc-order-manual-instructions.cjs.entry.js.map
1 year ago
sc-order-password.cjs.entry.js
2 months ago
sc-order-password.cjs.entry.js.map
1 year ago
sc-order-return-badge.cjs.entry.js
1 month ago
sc-order-return-badge.cjs.entry.js.map
4 months ago
sc-order-shipment-badge.cjs.entry.js
2 months ago
sc-order-shipment-badge.cjs.entry.js.map
4 months ago
sc-order-status-badge.cjs.entry.js
1 month ago
sc-order-status-badge.cjs.entry.js.map
4 months ago
sc-order-submit.cjs.entry.js
1 week ago
sc-order-submit.cjs.entry.js.map
2 months ago
sc-order-summary.cjs.entry.js
1 week ago
sc-order-summary.cjs.entry.js.map
1 month ago
sc-order.cjs.entry.js
1 month ago
sc-order.cjs.entry.js.map
1 month ago
sc-orders-list.cjs.entry.js
1 month ago
sc-orders-list.cjs.entry.js.map
1 month ago
sc-pagination.cjs.entry.js
2 months ago
sc-pagination.cjs.entry.js.map
1 year ago
sc-password-nag.cjs.entry.js
1 month ago
sc-password-nag.cjs.entry.js.map
2 months ago
sc-password.cjs.entry.js
1 month ago
sc-password.cjs.entry.js.map
1 month ago
sc-payment-method-choice_2.cjs.entry.js
1 month ago
sc-payment-method-choice_2.cjs.entry.js.map
1 year ago
sc-payment-method-details.cjs.entry.js
1 month ago
sc-payment-method-details.cjs.entry.js.map
1 year ago
sc-payment-methods-list.cjs.entry.js
1 month ago
sc-payment-methods-list.cjs.entry.js.map
2 months ago
sc-payment.cjs.entry.js
1 week ago
sc-payment.cjs.entry.js.map
3 months ago
sc-paypal-add-method.cjs.entry.js
1 month ago
sc-paypal-add-method.cjs.entry.js.map
2 months ago
sc-paypal-buttons_2.cjs.entry.js
1 week ago
sc-paypal-buttons_2.cjs.entry.js.map
2 months ago
sc-paystack-add-method.cjs.entry.js
1 month ago
sc-paystack-add-method.cjs.entry.js.map
2 months ago
sc-pill-option.cjs.entry.js
1 month ago
sc-pill-option.cjs.entry.js.map
1 year ago
sc-popover.cjs.entry.js
1 month ago
sc-popover.cjs.entry.js.map
6 months ago
sc-premium-tag.cjs.entry.js
1 month ago
sc-premium-tag.cjs.entry.js.map
1 year ago
sc-price-choice-container.cjs.entry.js
1 month ago
sc-price-choice-container.cjs.entry.js.map
1 month ago
sc-price-choice.cjs.entry.js
1 month ago
sc-price-choice.cjs.entry.js.map
2 months ago
sc-price-choices.cjs.entry.js
1 week ago
sc-price-choices.cjs.entry.js.map
1 year ago
sc-price-input.cjs.entry.js
1 month ago
sc-price-input.cjs.entry.js.map
1 year ago
sc-price-range_4.cjs.entry.js
1 month ago
sc-price-range_4.cjs.entry.js.map
1 year ago
sc-price.cjs.entry.js
2 months ago
sc-price.cjs.entry.js.map
11 months ago
sc-product-buy-button.cjs.entry.js
1 week ago
sc-product-buy-button.cjs.entry.js.map
2 months ago
sc-product-donation-amount-choice.cjs.entry.js
1 week ago
sc-product-donation-amount-choice.cjs.entry.js.map
2 months ago
sc-product-donation-choices.cjs.entry.js
1 week ago
sc-product-donation-choices.cjs.entry.js.map
2 months ago
sc-product-donation-custom-amount.cjs.entry.js
1 week ago
sc-product-donation-custom-amount.cjs.entry.js.map
2 months ago
sc-product-item-list.cjs.entry.js
1 week ago
sc-product-item-list.cjs.entry.js.map
2 months ago
sc-product-item.cjs.entry.js
1 month ago
sc-product-item.cjs.entry.js.map
1 year ago
sc-product-pills-variant-option.cjs.entry.js
1 week ago
sc-product-pills-variant-option.cjs.entry.js.map
1 year ago
sc-product-price-choices.cjs.entry.js
1 week ago
sc-product-price-choices.cjs.entry.js.map
1 year ago
sc-product-price-modal.cjs.entry.js
1 week ago
sc-product-price-modal.cjs.entry.js.map
2 months ago
sc-product-price.cjs.entry.js
1 week ago
sc-product-price.cjs.entry.js.map
2 months ago
sc-product-quantity.cjs.entry.js
1 week ago
sc-product-quantity.cjs.entry.js.map
1 year ago
sc-product-selected-price.cjs.entry.js
1 week ago
sc-product-selected-price.cjs.entry.js.map
2 months ago
sc-product-text.cjs.entry.js
1 week ago
sc-product-text.cjs.entry.js.map
1 year ago
sc-provider.cjs.entry.js
2 months ago
sc-provider.cjs.entry.js.map
1 year ago
sc-provisional-banner.cjs.entry.js
1 month ago
sc-provisional-banner.cjs.entry.js.map
11 months ago
sc-purchase-downloads-list.cjs.entry.js
1 month ago
sc-purchase-downloads-list.cjs.entry.js.map
1 month ago
sc-razorpay-add-method.cjs.entry.js
1 month ago
sc-razorpay-add-method.cjs.entry.js.map
2 months ago
sc-recurring-price-choice-container.cjs.entry.js
2 months ago
sc-recurring-price-choice-container.cjs.entry.js.map
1 year ago
sc-review-stars.cjs.entry.js
2 months ago
sc-review-stars.cjs.entry.js.map
5 months ago
sc-rich-text.cjs.entry.js
1 month ago
sc-rich-text.cjs.entry.js.map
1 month ago
sc-skeleton.cjs.entry.js
1 month ago
sc-skeleton.cjs.entry.js.map
1 year ago
sc-spacing.cjs.entry.js
1 month ago
sc-spacing.cjs.entry.js.map
1 year ago
sc-stripe-add-method.cjs.entry.js
1 month ago
sc-stripe-add-method.cjs.entry.js.map
2 months ago
sc-stripe-element.cjs.entry.js
1 week ago
sc-stripe-element.cjs.entry.js.map
2 months ago
sc-stripe-payment-element.cjs.entry.js
1 week ago
sc-stripe-payment-element.cjs.entry.js.map
2 months ago
sc-stripe-payment-request.cjs.entry.js
1 week ago
sc-stripe-payment-request.cjs.entry.js.map
2 months ago
sc-subscription-ad-hoc-confirm.cjs.entry.js
1 month ago
sc-subscription-ad-hoc-confirm.cjs.entry.js.map
6 months ago
sc-subscription-details_2.cjs.entry.js
1 month ago
sc-subscription-details_2.cjs.entry.js.map
1 month ago
sc-subscription-payment-method.cjs.entry.js
1 month ago
sc-subscription-payment-method.cjs.entry.js.map
2 months ago
sc-subscription-payment.cjs.entry.js
1 month ago
sc-subscription-payment.cjs.entry.js.map
2 months ago
sc-subscription-switch.cjs.entry.js
1 month ago
sc-subscription-switch.cjs.entry.js.map
2 months ago
sc-subscription-variation-confirm.cjs.entry.js
1 month ago
sc-subscription-variation-confirm.cjs.entry.js.map
1 year ago
sc-subscription.cjs.entry.js
1 month ago
sc-subscription.cjs.entry.js.map
1 month ago
sc-subscriptions-list.cjs.entry.js
1 month ago
sc-subscriptions-list.cjs.entry.js.map
2 months ago
sc-summary.cjs.entry.js
1 month ago
sc-summary.cjs.entry.js.map
1 year ago
sc-swap.cjs.entry.js
1 week ago
sc-swap.cjs.entry.js.map
2 months ago
sc-switch.cjs.entry.js
1 month ago
sc-switch.cjs.entry.js.map
7 months ago
sc-tab-group.cjs.entry.js
1 month ago
sc-tab-group.cjs.entry.js.map
1 year ago
sc-tab-panel.cjs.entry.js
1 month ago
sc-tab-panel.cjs.entry.js.map
1 year ago
sc-tab.cjs.entry.js
1 month ago
sc-tab.cjs.entry.js.map
1 year ago
sc-table-head.cjs.entry.js
1 month ago
sc-table-head.cjs.entry.js.map
1 year ago
sc-table_3.cjs.entry.js
1 month ago
sc-table_3.cjs.entry.js.map
10 months ago
sc-tag.cjs.entry.js
1 month ago
sc-tag.cjs.entry.js.map
4 months ago
sc-test-mode-info.cjs.entry.js
1 month ago
sc-test-mode-info.cjs.entry.js.map
6 months ago
sc-text.cjs.entry.js
1 month ago
sc-text.cjs.entry.js.map
1 year ago
sc-toggle.cjs.entry.js
1 month ago
sc-toggle.cjs.entry.js.map
1 year ago
sc-toggles.cjs.entry.js
1 month ago
sc-toggles.cjs.entry.js.map
1 year ago
sc-total.cjs.entry.js
1 week ago
sc-total.cjs.entry.js.map
1 year ago
sc-upcoming-invoice.cjs.entry.js
1 month ago
sc-upcoming-invoice.cjs.entry.js.map
2 months ago
sc-upgrade-required.cjs.entry.js
2 months ago
sc-upgrade-required.cjs.entry.js.map
1 year ago
sc-upsell-countdown-timer.cjs.entry.js
1 month ago
sc-upsell-countdown-timer.cjs.entry.js.map
1 year ago
sc-upsell-no-thanks-button.cjs.entry.js
1 week ago
sc-upsell-no-thanks-button.cjs.entry.js.map
2 months ago
sc-upsell-submit-button.cjs.entry.js
1 week ago
sc-upsell-submit-button.cjs.entry.js.map
2 months ago
sc-upsell-totals.cjs.entry.js
1 week ago
sc-upsell-totals.cjs.entry.js.map
2 months ago
sc-upsell.cjs.entry.js
1 week ago
sc-upsell.cjs.entry.js.map
2 months ago
sc-verification-code.cjs.entry.js
1 month ago
sc-verification-code.cjs.entry.js.map
2 months ago
sc-visually-hidden.cjs.entry.js
1 month ago
sc-visually-hidden.cjs.entry.js.map
1 year ago
sc-wordpress-password-edit.cjs.entry.js
1 month ago
sc-wordpress-password-edit.cjs.entry.js.map
2 months ago
sc-wordpress-user-edit.cjs.entry.js
1 month ago
sc-wordpress-user-edit.cjs.entry.js.map
2 months ago
sc-wordpress-user.cjs.entry.js
1 month ago
sc-wordpress-user.cjs.entry.js.map
1 year ago
store-01e8edc2.js
2 months ago
store-01e8edc2.js.map
2 months ago
store-401bdb4d.js
2 months ago
store-401bdb4d.js.map
2 months ago
store-9c215436.js
1 month ago
store-9c215436.js.map
1 month ago
surecart.cjs.js
2 weeks ago
surecart.cjs.js.map
1 year ago
tax-a4582e73.js
1 year ago
tax-a4582e73.js.map
1 year ago
universe-1db52218.js
2 months ago
universe-1db52218.js.map
2 months ago
util-a15c420c.js
2 months ago
util-a15c420c.js.map
2 months ago
utils-a9d13080.js
3 months ago
utils-a9d13080.js.map
3 months ago
verification-19455819.js
1 month ago
verification-19455819.js.map
1 month ago
watchers-08c6f04b.js
1 week ago
watchers-08c6f04b.js.map
1 week ago
watchers-517825ae.js
2 months ago
watchers-517825ae.js.map
2 months ago
watchers-a136c7bc.js
1 week ago
watchers-a136c7bc.js.map
1 week ago
watchers-b5cd03f1.js
1 week ago
watchers-b5cd03f1.js.map
1 week ago
watchers-c1bcf0a8.js
1 week ago
watchers-c1bcf0a8.js.map
1 week ago
sc-avatar_2.cjs.entry.js
320 lines
| 1 | 'use strict'; |
| 2 | |
| 3 | Object.defineProperty(exports, '__esModule', { value: true }); |
| 4 | |
| 5 | const index = require('./index-be4abba1.js'); |
| 6 | const index$2 = require('./index-7ced8198.js'); |
| 7 | const index$1 = require('./index-fb76df07.js'); |
| 8 | const store = require('./store-9c215436.js'); |
| 9 | const mutations = require('./mutations-98f05402.js'); |
| 10 | const util = require('./util-a15c420c.js'); |
| 11 | const verification = require('./verification-19455819.js'); |
| 12 | require('./add-query-args-49dcb630.js'); |
| 13 | require('./remove-query-args-b57e8cd3.js'); |
| 14 | require('./index-c3de642f.js'); |
| 15 | require('./utils-a9d13080.js'); |
| 16 | require('./google-8dbad1a6.js'); |
| 17 | require('./currency-71fce0f0.js'); |
| 18 | require('./store-01e8edc2.js'); |
| 19 | require('./price-da3cab3d.js'); |
| 20 | |
| 21 | const scAvatarCss = ":host{display:inline-block;--sc-avatar-size:3rem}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:var(--sc-avatar-size);height:var(--sc-avatar-size);background-color:var(--sc-color-gray-400);font-family:var(--sc-font-sans);font-size:calc(var(--sc-avatar-size) * 0.5);font-weight:var(--sc-font-weight-normal);color:var(--sc-color-white);user-select:none;vertical-align:middle}.avatar--circle,.avatar--circle .avatar__image{border-radius:var(--sc-border-radius-circle)}.avatar--rounded,.avatar--rounded .avatar__image{border-radius:var(--sc-border-radius-medium)}.avatar--square{border-radius:0}.avatar__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%}.avatar__initials{line-height:1;text-transform:uppercase}.avatar__image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;overflow:hidden}"; |
| 22 | const ScAvatarStyle0 = scAvatarCss; |
| 23 | |
| 24 | const ScAvatar = class { |
| 25 | constructor(hostRef) { |
| 26 | index.registerInstance(this, hostRef); |
| 27 | this.hasError = false; |
| 28 | this.image = ''; |
| 29 | this.label = ''; |
| 30 | this.initials = ''; |
| 31 | this.loading = 'eager'; |
| 32 | this.shape = 'circle'; |
| 33 | } |
| 34 | handleImageChange() { |
| 35 | // Reset the error when a new image is provided |
| 36 | this.hasError = false; |
| 37 | } |
| 38 | render() { |
| 39 | return (index.h("div", { key: 'b9d5edc2dc385d19826d08dafde22a6f777adfb6', part: "base", class: { |
| 40 | 'avatar': true, |
| 41 | 'avatar--circle': this.shape === 'circle', |
| 42 | 'avatar--rounded': this.shape === 'rounded', |
| 43 | 'avatar--square': this.shape === 'square', |
| 44 | }, role: "img", "aria-label": this.label }, this.initials ? (index.h("div", { part: "initials", class: "avatar__initials" }, this.initials)) : (index.h("div", { part: "icon", class: "avatar__icon", "aria-hidden": "true" }, index.h("slot", { name: "icon" }, index.h("sl-icon", { name: "person-fill", library: "system" })))), this.image && !this.hasError && index.h("img", { key: 'b4dd0031282277abe94eca4b2cdc54a0d6a0ea9e', part: "image", class: "avatar__image", src: this.image, loading: this.loading, alt: "", onError: () => (this.hasError = true) }))); |
| 45 | } |
| 46 | static get watchers() { return { |
| 47 | "image": ["handleImageChange"] |
| 48 | }; } |
| 49 | }; |
| 50 | ScAvatar.style = ScAvatarStyle0; |
| 51 | |
| 52 | const scCustomerLoginCss = ":host{display:flex;flex-direction:column;gap:1em}.customer-login{box-sizing:border-box;font-family:var(--sc-input-font-family);font-weight:var(--sc-input-font-weight);letter-spacing:var(--sc-input-letter-spacing);background-color:var(--sc-input-background-color);border:solid 1px var(--sc-input-border-color, var(--sc-input-border));vertical-align:middle;box-shadow:var(--sc-input-box-shadow);transition:var(--sc-input-transition, var(--sc-transition-medium)) color, var(--sc-input-transition, var(--sc-transition-medium)) border, var(--sc-input-transition, var(--sc-transition-medium)) box-shadow;border-radius:var(--sc-input-border-radius-medium);font-size:var(--sc-font-size-small);animation:open 0.5s ease-in-out}.customer-login a{color:var(--sc-color-primary-500)}.customer-code{padding:var(--sc-input-spacing-medium)}.customer-code__sent-info{display:flex;align-items:center;gap:var(--sc-spacing-small);font-size:var(--sc-font-size-small);color:var(--sc-input-help-text-color);margin-bottom:var(--sc-spacing-x-small)}.customer-code__mail-icon{font-size:1em;flex-shrink:0}.customer-code__sent-email{font-weight:var(--sc-font-weight-semibold);color:var(--sc-input-label-color)}.customer-code__change-link{margin-left:auto;white-space:nowrap;text-decoration:none;cursor:pointer;font-size:var(--sc-font-size-small)}.customer-code__change-link:hover{text-decoration:underline}.customer-code__error{color:var(--sc-color-danger-500, red);font-size:var(--sc-font-size-x-small);margin:0}.customer-code__verifying{display:flex;align-items:center;gap:var(--sc-spacing-small);color:var(--sc-input-help-text-color);font-size:var(--sc-font-size-small);margin-bottom:var(--sc-spacing-small)}.customer-code__expired{color:var(--sc-color-danger-500, red);font-size:var(--sc-font-size-x-small);margin:0 0 var(--sc-spacing-small) 0}.customer-code__expired a{color:var(--sc-color-primary-500);text-decoration:none;cursor:pointer}.customer-code__expired a:hover{text-decoration:underline}.customer-code__footer{display:flex;justify-content:space-between;align-items:center;margin-top:var(--sc-spacing-small)}.customer-code__footer-left{display:flex;align-items:center}.customer-code__footer-right{display:flex;align-items:center}.customer-code__resend-timer{color:var(--sc-input-help-text-color);font-size:var(--sc-font-size-x-small)}.customer-code__resend-link{font-size:var(--sc-font-size-x-small);text-decoration:none;cursor:pointer}.customer-code__resend-link:hover{text-decoration:underline}.customer-code__mode-link{display:flex;align-items:center;gap:var(--sc-spacing-xx-small);font-size:var(--sc-font-size-x-small);text-decoration:none;cursor:pointer}.customer-code__mode-link:hover{text-decoration:underline}.customer-password{padding:var(--sc-input-spacing-medium)}.customer-password__error{color:var(--sc-color-danger-500, red);font-size:var(--sc-font-size-x-small);margin:var(--sc-spacing-small) 0 0 0}"; |
| 53 | const ScCustomerLoginStyle0 = scCustomerLoginCss; |
| 54 | |
| 55 | const ScCustomerLogin = class { |
| 56 | constructor(hostRef) { |
| 57 | index.registerInstance(this, hostRef); |
| 58 | /** Interval timer reference for cleanup */ |
| 59 | this.cooldownInterval = null; |
| 60 | /** Focus the active view's field after the next render (set when the mode switches). */ |
| 61 | this.focusAfterRender = false; |
| 62 | this.mode = 'code'; |
| 63 | this.busy = false; |
| 64 | this.codeResending = false; |
| 65 | this.resendCooldown = 60; |
| 66 | this.error = ''; |
| 67 | this.codeError = ''; |
| 68 | this.initialMode = 'code'; |
| 69 | this.password = ''; |
| 70 | this.codeUnavailable = false; |
| 71 | } |
| 72 | formatCooldown() { |
| 73 | const minutes = Math.floor(this.resendCooldown / 60); |
| 74 | const seconds = this.resendCooldown % 60; |
| 75 | return `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`; |
| 76 | } |
| 77 | async verifyCode(code) { |
| 78 | var _a, _b; |
| 79 | // If not valid email and code, then return. |
| 80 | if (!store.state.email || !code) { |
| 81 | return; |
| 82 | } |
| 83 | try { |
| 84 | this.error = ''; |
| 85 | store.state.verificationStatus = store.VERIFYING; |
| 86 | this.busy = true; |
| 87 | index$1.speak(wp.i18n.__('Verifying code...', 'surecart'), 'assertive'); |
| 88 | const user = (await index$2.apiFetch({ |
| 89 | method: 'POST', |
| 90 | path: 'surecart/v1/verification_codes/verify', |
| 91 | data: { |
| 92 | login: store.state.email, |
| 93 | code: code, |
| 94 | }, |
| 95 | })); |
| 96 | store.state.verificationStatus = store.VERIFIED; |
| 97 | if (!(user === null || user === void 0 ? void 0 : user.verified)) { |
| 98 | throw { message: wp.i18n.__('Verification code is not valid. Please try again.', 'surecart') }; |
| 99 | } |
| 100 | // Update the nonce after login to prevent rest_cookie_invalid_nonce errors. |
| 101 | // @ts-ignore - nonceMiddleware is set in fetch.ts but not in @wordpress/api-fetch types. |
| 102 | if ((user === null || user === void 0 ? void 0 : user.nonce) && index$2.apiFetch.nonceMiddleware) { |
| 103 | // @ts-ignore |
| 104 | index$2.apiFetch.nonceMiddleware.nonce = user.nonce; |
| 105 | } |
| 106 | // Update userState and make the user as logged in user. |
| 107 | store.state.loggedIn = true; |
| 108 | store.state.name = (user === null || user === void 0 ? void 0 : user.name) || [(_a = user === null || user === void 0 ? void 0 : user.customer) === null || _a === void 0 ? void 0 : _a.first_name, (_b = user === null || user === void 0 ? void 0 : user.customer) === null || _b === void 0 ? void 0 : _b.last_name].filter(Boolean).join(' ') || ''; |
| 109 | store.state.avatarUrl = (user === null || user === void 0 ? void 0 : user.avatar_url) || ''; |
| 110 | index$1.speak(wp.i18n.__('Verification is successful. Please continue your purchase.', 'surecart'), 'assertive'); |
| 111 | } |
| 112 | catch (e) { |
| 113 | // If cooldown has elapsed, treat as expired code. |
| 114 | if (this.resendCooldown <= 0) { |
| 115 | store.state.verificationStatus = store.CODE_EXPIRED; |
| 116 | this.error = ''; |
| 117 | index$1.speak(wp.i18n.__('Code expired. Please send a new code.', 'surecart'), 'assertive'); |
| 118 | } |
| 119 | else if (util.isRateLimited(e)) { |
| 120 | this.error = wp.i18n.__('Please wait a moment and try again.', 'surecart'); |
| 121 | store.state.verificationStatus = store.UNVERIFIED; |
| 122 | index$1.speak(this.error, 'assertive'); |
| 123 | } |
| 124 | else { |
| 125 | if (e.code === 'not_found') { |
| 126 | this.error = wp.i18n.__('Incorrect code. Please try again.', 'surecart'); |
| 127 | } |
| 128 | else { |
| 129 | this.error = (e === null || e === void 0 ? void 0 : e.message) || wp.i18n.__('Incorrect code. Please try again.', 'surecart'); |
| 130 | } |
| 131 | store.state.verificationStatus = store.UNVERIFIED; |
| 132 | index$1.speak(this.error, 'assertive'); |
| 133 | } |
| 134 | } |
| 135 | finally { |
| 136 | this.busy = false; |
| 137 | } |
| 138 | } |
| 139 | async resendCode() { |
| 140 | try { |
| 141 | this.error = ''; |
| 142 | this.codeResending = true; |
| 143 | index$1.speak(wp.i18n.__('Sending code...', 'surecart'), 'assertive'); |
| 144 | const response = await index$2.apiFetch({ |
| 145 | method: 'POST', |
| 146 | path: 'surecart/v1/verification_codes', |
| 147 | data: { |
| 148 | login: store.state.email, |
| 149 | checkout_mode: mutations.state.mode, |
| 150 | }, |
| 151 | }); |
| 152 | // An in-window request resumes the existing code — don't announce a new email. |
| 153 | index$1.speak((response === null || response === void 0 ? void 0 : response.email_sent) === false ? wp.i18n.__('A code was already sent to your email.', 'surecart') : wp.i18n.__('Code sent', 'surecart'), 'assertive'); |
| 154 | store.state.verificationStatus = store.UNVERIFIED; |
| 155 | // Always anchor a fresh window (falls back to default if platform omits it). |
| 156 | store.state.resendAvailableAt = verification.resendAnchorFrom(response === null || response === void 0 ? void 0 : response.resend_available_in); |
| 157 | this.startCooldown(); |
| 158 | } |
| 159 | catch (e) { |
| 160 | console.error(e); |
| 161 | this.handleCodeSendError(e); |
| 162 | } |
| 163 | finally { |
| 164 | this.codeResending = false; |
| 165 | } |
| 166 | } |
| 167 | handleCodeSendError(error) { |
| 168 | // 429: switch to password (different endpoint, no limit conflict). |
| 169 | if (util.isRateLimited(error)) { |
| 170 | this.mode = 'password'; |
| 171 | this.codeUnavailable = true; |
| 172 | this.error = wp.i18n.__('Please sign in with your password to continue.', 'surecart'); |
| 173 | this.startCooldown(); |
| 174 | return; |
| 175 | } |
| 176 | const blockedSeconds = verification.getBlockedDuplicateSeconds(error); |
| 177 | ((error === null || error === void 0 ? void 0 : error.additional_errors) || []).forEach((e) => { |
| 178 | if ((e === null || e === void 0 ? void 0 : e.code) === 'verification_code.email.blocked_duplicate') { |
| 179 | this.error = (e === null || e === void 0 ? void 0 : e.message) || wp.i18n.__('A code was recently sent to you. Please wait before requesting another.', 'surecart'); |
| 180 | // Resume from the platform's reported backoff window (default if absent). |
| 181 | store.state.resendAvailableAt = verification.resendAnchorFrom(blockedSeconds); |
| 182 | this.startCooldown(); |
| 183 | } |
| 184 | }); |
| 185 | } |
| 186 | /** Seconds left in the cooldown, always derived from the (decaying) anchor timestamp. */ |
| 187 | remainingCooldown() { |
| 188 | return verification.secondsUntil(store.state.resendAvailableAt); |
| 189 | } |
| 190 | startCooldown() { |
| 191 | clearInterval(this.cooldownInterval); |
| 192 | // Guarantee a concrete anchor so the countdown always decays to 0 and the |
| 193 | // resend link returns — never a stuck constant. |
| 194 | if (store.state.resendAvailableAt == null) { |
| 195 | store.state.resendAvailableAt = verification.resendAnchorFrom(verification.RESEND_COOLDOWN_SECONDS); |
| 196 | } |
| 197 | this.resendCooldown = this.remainingCooldown(); |
| 198 | if (this.resendCooldown <= 0) |
| 199 | return; |
| 200 | // Recompute from the anchor each tick so the timer stays correct even if the |
| 201 | // tab was backgrounded (throttled intervals) or the page was reloaded. |
| 202 | this.cooldownInterval = setInterval(() => { |
| 203 | this.resendCooldown = this.remainingCooldown(); |
| 204 | if (this.resendCooldown <= 0) { |
| 205 | clearInterval(this.cooldownInterval); |
| 206 | this.cooldownInterval = null; |
| 207 | index$1.speak(wp.i18n.__('You can resend the code now.', 'surecart'), 'assertive'); |
| 208 | } |
| 209 | }, 1000); |
| 210 | } |
| 211 | componentWillLoad() { |
| 212 | this.mode = this.initialMode; |
| 213 | // initialMode='password' means the parent already 429'd on code-send. |
| 214 | this.codeUnavailable = this.initialMode === 'password'; |
| 215 | this.startCooldown(); |
| 216 | } |
| 217 | /** When the user switches views, focus that view's first field after it renders. */ |
| 218 | handleModeChange() { |
| 219 | this.focusAfterRender = true; |
| 220 | } |
| 221 | componentDidRender() { |
| 222 | var _a, _b, _c, _d; |
| 223 | if (!this.focusAfterRender) |
| 224 | return; |
| 225 | this.focusAfterRender = false; |
| 226 | // Wait for the freshly rendered child to be ready, then focus it. |
| 227 | if (this.mode === 'password') { |
| 228 | (_b = (_a = this.passwordInput) === null || _a === void 0 ? void 0 : _a.componentOnReady) === null || _b === void 0 ? void 0 : _b.call(_a).then(() => { var _a; return (_a = this.passwordInput) === null || _a === void 0 ? void 0 : _a.triggerFocus(); }); |
| 229 | } |
| 230 | else { |
| 231 | (_d = (_c = this.verificationCode) === null || _c === void 0 ? void 0 : _c.componentOnReady) === null || _d === void 0 ? void 0 : _d.call(_c).then(() => { var _a; return (_a = this.verificationCode) === null || _a === void 0 ? void 0 : _a.triggerFocus(); }); |
| 232 | } |
| 233 | } |
| 234 | disconnectedCallback() { |
| 235 | clearInterval(this.cooldownInterval); |
| 236 | } |
| 237 | async loginByPassword(e) { |
| 238 | e.preventDefault(); |
| 239 | try { |
| 240 | this.error = ''; |
| 241 | this.busy = true; |
| 242 | const { name, email, avatar_url, nonce } = (await index$2.apiFetch({ |
| 243 | method: 'POST', |
| 244 | path: 'surecart/v1/login', |
| 245 | data: { |
| 246 | login: store.state.email, |
| 247 | password: this.password, |
| 248 | }, |
| 249 | })); |
| 250 | // Update the nonce after login to prevent rest_cookie_invalid_nonce errors. |
| 251 | // @ts-ignore - nonceMiddleware is set in fetch.ts but not in @wordpress/api-fetch types. |
| 252 | if (nonce && index$2.apiFetch.nonceMiddleware) { |
| 253 | // @ts-ignore |
| 254 | index$2.apiFetch.nonceMiddleware.nonce = nonce; |
| 255 | } |
| 256 | store.state.loggedIn = true; |
| 257 | store.state.verificationStatus = store.VERIFIED; |
| 258 | store.state.name = name; |
| 259 | store.state.email = email; |
| 260 | store.state.avatarUrl = avatar_url || ''; |
| 261 | } |
| 262 | catch (e) { |
| 263 | this.error = util.isRateLimited(e) ? wp.i18n.__('Please wait a moment and try again.', 'surecart') : (e === null || e === void 0 ? void 0 : e.message) || wp.i18n.__('Login failed. Please try again.', 'surecart'); |
| 264 | } |
| 265 | finally { |
| 266 | this.busy = false; |
| 267 | } |
| 268 | } |
| 269 | renderSentInfo() { |
| 270 | // Don't claim a code was sent if we 429'd before it left. |
| 271 | const headline = this.codeUnavailable ? wp.i18n.__('Signing in as', 'surecart') : wp.i18n.__('Code sent to', 'surecart'); |
| 272 | const iconName = this.codeUnavailable ? 'user' : 'mail'; |
| 273 | return (index.h("div", { class: "customer-code__sent-info" }, index.h("sc-icon", { name: iconName, class: "customer-code__mail-icon", "aria-hidden": "true" }), index.h("span", null, headline, " ", index.h("strong", { class: "customer-code__sent-email" }, store.state.email)), index.h("a", { href: "#", class: "customer-code__change-link", onClick: e => { |
| 274 | e.preventDefault(); |
| 275 | store.resetUser(); |
| 276 | } }, wp.i18n.__('Change', 'surecart')))); |
| 277 | } |
| 278 | renderCodeFooter() { |
| 279 | const isExpired = store.state.verificationStatus === store.CODE_EXPIRED; |
| 280 | return (index.h("div", { class: "customer-code__footer" }, index.h("div", { class: "customer-code__footer-left" }, !isExpired && this.resendCooldown > 0 && (index.h("span", { class: "customer-code__resend-timer" }, wp.i18n.__('Resend code in', 'surecart'), " ", this.formatCooldown())), !isExpired && this.resendCooldown <= 0 && (index.h("a", { href: "#", class: "customer-code__resend-link", onClick: e => { |
| 281 | e.preventDefault(); |
| 282 | this.resendCode(); |
| 283 | } }, this.codeResending ? wp.i18n.__('Sending...', 'surecart') : wp.i18n.__('Resend Code', 'surecart')))), index.h("div", { class: "customer-code__footer-right" }, index.h("a", { href: "#", class: "customer-code__mode-link", onClick: e => { |
| 284 | e.preventDefault(); |
| 285 | this.error = ''; |
| 286 | this.mode = 'password'; |
| 287 | } }, index.h("sc-icon", { name: "lock", "aria-hidden": "true" }), wp.i18n.__('Use Password', 'surecart'))))); |
| 288 | } |
| 289 | renderPasswordView() { |
| 290 | return (index.h("div", { class: "customer-password" }, this.renderSentInfo(), index.h("sc-flex", { alignItems: "center" }, index.h("sc-input", { ref: el => (this.passwordInput = el), type: "password", style: { flex: '1' }, placeholder: wp.i18n.__('Password', 'surecart'), required: true, disabled: this.busy, onScInput: (e) => (this.password = e.target.value), onKeyDown: (e) => { |
| 291 | if (e.key === 'Enter') { |
| 292 | this.loginByPassword(e); |
| 293 | } |
| 294 | } }), index.h("sc-button", { size: "medium", type: "primary", loading: this.busy, onClick: (e) => this.loginByPassword(e) }, index.h("sc-icon", { slot: "prefix", name: "lock" }), "\u00A0", wp.i18n.__('Login', 'surecart'))), !!(this.error || this.codeError) && index.h("p", { class: "customer-password__error", role: "alert", innerHTML: this.error || this.codeError }), !this.codeUnavailable && (index.h("div", { class: "customer-code__footer" }, index.h("div", { class: "customer-code__footer-left" }), index.h("div", { class: "customer-code__footer-right" }, index.h("a", { href: "#", class: "customer-code__mode-link", onClick: e => { |
| 295 | e.preventDefault(); |
| 296 | this.error = ''; |
| 297 | this.mode = 'code'; |
| 298 | } }, index.h("sc-icon", { name: "key", "aria-hidden": "true" }), wp.i18n.__('Use Login Code', 'surecart'))))))); |
| 299 | } |
| 300 | renderCodeView() { |
| 301 | const isExpired = store.state.verificationStatus === store.CODE_EXPIRED; |
| 302 | const isVerifying = store.state.verificationStatus === store.VERIFYING; |
| 303 | return (index.h("div", { class: "customer-code" }, this.renderSentInfo(), index.h("div", null, index.h("sc-verification-code", { ref: el => (this.verificationCode = el), total: 6, loading: this.busy, onChange: ((value) => this.verifyCode(value)) })), isVerifying && (index.h("div", { class: "customer-code__verifying" }, index.h("sc-spinner", null), index.h("span", null, wp.i18n.__('Verifying...', 'surecart')))), isExpired && (index.h("p", { class: "customer-code__expired", role: "alert" }, wp.i18n.__('Code expired.', 'surecart'), ' ', index.h("a", { href: "#", onClick: e => { |
| 304 | e.preventDefault(); |
| 305 | this.resendCode(); |
| 306 | } }, wp.i18n.__('Send new code', 'surecart')))), !isExpired && (!!this.error || !!this.codeError) && index.h("p", { class: "customer-code__error", role: "alert", innerHTML: this.error || this.codeError }), this.renderCodeFooter())); |
| 307 | } |
| 308 | render() { |
| 309 | return (index.h(index.Host, { key: '6060769aa096e03774f0b4dea7a81082cf5adeaf' }, index.h("div", { key: '348c822b81d84c15b5dcba5cf080e1cd3047901a', class: "customer-login" }, this.mode === 'code' ? this.renderCodeView() : this.renderPasswordView()))); |
| 310 | } |
| 311 | static get watchers() { return { |
| 312 | "mode": ["handleModeChange"] |
| 313 | }; } |
| 314 | }; |
| 315 | ScCustomerLogin.style = ScCustomerLoginStyle0; |
| 316 | |
| 317 | exports.sc_avatar = ScAvatar; |
| 318 | exports.sc_customer_login = ScCustomerLogin; |
| 319 | |
| 320 | //# sourceMappingURL=sc-avatar_2.cjs.entry.js.map |