Repository: bigcommerce/checkout-sdk-js
Branch: master
Commit: 3444ec649c5f
Files: 3568
Total size: 19.9 MB
Directory structure:
gitextract_3_qiu2or/
├── .circleci/
│ └── config.yml
├── .editorconfig
├── .eslintignore
├── .eslintrc.json
├── .github/
│ ├── CODEOWNERS
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .metadata_rules.yml
├── .nvmrc
├── .versionrc.json
├── CHANGELOG.md
├── CONTRIBUTING.md
├── FAQS.md
├── LICENSE.md
├── README.md
├── SECURITY.md
├── commit-validation.json
├── dist/
│ ├── cjs/
│ │ ├── checkout-button.js
│ │ ├── checkout-button.js.LICENSE.txt
│ │ ├── checkout-sdk-essential.js
│ │ ├── checkout-sdk-essential.js.LICENSE.txt
│ │ ├── checkout-sdk.js
│ │ ├── checkout-sdk.js.LICENSE.txt
│ │ ├── embedded-checkout.js
│ │ ├── embedded-checkout.js.LICENSE.txt
│ │ ├── extension.js
│ │ ├── extension.js.LICENSE.txt
│ │ ├── hosted-form-v2-iframe-content.js
│ │ ├── hosted-form-v2-iframe-content.js.LICENSE.txt
│ │ ├── hosted-form-v2-iframe-host.js
│ │ ├── hosted-form-v2-iframe-host.js.LICENSE.txt
│ │ ├── hosted-form.js
│ │ ├── hosted-form.js.LICENSE.txt
│ │ ├── integrations/
│ │ │ ├── adyen.js
│ │ │ ├── affirm.js
│ │ │ ├── afterpay.js
│ │ │ ├── amazon-pay.js
│ │ │ ├── apple-pay.js
│ │ │ ├── bigcommerce-payments.js
│ │ │ ├── bluesnap-direct.js
│ │ │ ├── bolt.js
│ │ │ ├── bolt.js.LICENSE.txt
│ │ │ ├── braintree.js
│ │ │ ├── cba-mpgs.js
│ │ │ ├── checkoutcom-custom.js
│ │ │ ├── clearpay.js
│ │ │ ├── credit-card.js
│ │ │ ├── cybersource.js
│ │ │ ├── google-pay.js
│ │ │ ├── humm.js
│ │ │ ├── klarna.js
│ │ │ ├── legacy.js
│ │ │ ├── mollie.js
│ │ │ ├── moneris.js
│ │ │ ├── no-payment.js
│ │ │ ├── offline.js
│ │ │ ├── offsite.js
│ │ │ ├── paypal-commerce.js
│ │ │ ├── paypal-express.js
│ │ │ ├── paypal-pro.js
│ │ │ ├── sagepay.js
│ │ │ ├── sezzle.js
│ │ │ ├── squarev2.js
│ │ │ ├── stripe.js
│ │ │ ├── td-bank.js
│ │ │ ├── worldpayaccess.js
│ │ │ └── zip.js
│ │ └── internal-mappers.js
│ ├── esm/
│ │ ├── checkout-button.js
│ │ ├── checkout-sdk-essential.js
│ │ ├── checkout-sdk.js
│ │ ├── embedded-checkout.js
│ │ ├── extension.js
│ │ ├── hosted-form-v2-iframe-content.js
│ │ ├── hosted-form-v2-iframe-host.js
│ │ ├── hosted-form.js
│ │ ├── integrations/
│ │ │ ├── adyen.js
│ │ │ ├── affirm.js
│ │ │ ├── afterpay.js
│ │ │ ├── amazon-pay.js
│ │ │ ├── apple-pay.js
│ │ │ ├── bigcommerce-payments.js
│ │ │ ├── bluesnap-direct.js
│ │ │ ├── bolt.js
│ │ │ ├── braintree.js
│ │ │ ├── cba-mpgs.js
│ │ │ ├── checkoutcom-custom.js
│ │ │ ├── clearpay.js
│ │ │ ├── credit-card.js
│ │ │ ├── cybersource.js
│ │ │ ├── google-pay.js
│ │ │ ├── humm.js
│ │ │ ├── klarna.js
│ │ │ ├── legacy.js
│ │ │ ├── mollie.js
│ │ │ ├── moneris.js
│ │ │ ├── no-payment.js
│ │ │ ├── offline.js
│ │ │ ├── offsite.js
│ │ │ ├── paypal-commerce.js
│ │ │ ├── paypal-express.js
│ │ │ ├── paypal-pro.js
│ │ │ ├── sagepay.js
│ │ │ ├── sezzle.js
│ │ │ ├── squarev2.js
│ │ │ ├── stripe.js
│ │ │ ├── td-bank.js
│ │ │ ├── worldpayaccess.js
│ │ │ └── zip.js
│ │ └── internal-mappers.js
│ ├── hosted-form-v2-iframe-content.d.ts
│ ├── hosted-form-v2-iframe-host.d.ts
│ └── types/
│ ├── checkout-button.d.ts
│ ├── checkout-sdk.d.ts
│ ├── embedded-checkout.d.ts
│ ├── integrations/
│ │ ├── adyen.d.ts
│ │ ├── affirm.d.ts
│ │ ├── afterpay.d.ts
│ │ ├── amazon-pay.d.ts
│ │ ├── apple-pay.d.ts
│ │ ├── bigcommerce-payments.d.ts
│ │ ├── bluesnap-direct.d.ts
│ │ ├── bolt.d.ts
│ │ ├── braintree.d.ts
│ │ ├── cba-mpgs.d.ts
│ │ ├── checkoutcom-custom.d.ts
│ │ ├── clearpay.d.ts
│ │ ├── credit-card.d.ts
│ │ ├── cybersource.d.ts
│ │ ├── google-pay.d.ts
│ │ ├── humm.d.ts
│ │ ├── klarna.d.ts
│ │ ├── legacy.d.ts
│ │ ├── mollie.d.ts
│ │ ├── moneris.d.ts
│ │ ├── no-payment.d.ts
│ │ ├── offline.d.ts
│ │ ├── offsite.d.ts
│ │ ├── paypal-commerce.d.ts
│ │ ├── paypal-express.d.ts
│ │ ├── paypal-pro.d.ts
│ │ ├── sagepay.d.ts
│ │ ├── sezzle.d.ts
│ │ ├── squarev2.d.ts
│ │ ├── stripe.d.ts
│ │ ├── td-bank.d.ts
│ │ ├── worldpayaccess.d.ts
│ │ └── zip.d.ts
│ └── internal-mappers.d.ts
├── docs/
│ ├── .nojekyll
│ ├── README.md
│ ├── classes/
│ │ ├── CartChangedError.md
│ │ ├── CartConsistencyError.md
│ │ ├── CartStockPositionsChangedError.md
│ │ ├── CheckoutButtonErrorSelector.md
│ │ ├── CheckoutButtonInitializer.md
│ │ ├── CheckoutButtonStatusSelector.md
│ │ ├── CheckoutService.md
│ │ ├── CurrencyService.md
│ │ ├── DetachmentObserver.md
│ │ ├── EmbeddedCheckout.md
│ │ ├── GoogleRecaptcha.md
│ │ ├── GoogleRecaptchaScriptLoader.md
│ │ ├── HostedField.md
│ │ ├── HostedForm.md
│ │ ├── HostedFormFactory.md
│ │ ├── HostedFormOrderDataTransformer.md
│ │ ├── IframeEventListener.md
│ │ ├── IframeEventPoster.md
│ │ ├── LanguageService.md
│ │ ├── MutationObserverFactory.md
│ │ ├── PaymentHumanVerificationHandler.md
│ │ ├── RequestError.md
│ │ ├── StandardError.md
│ │ └── StoredCardHostedFormService.md
│ ├── enums/
│ │ ├── AdyenCardFields.md
│ │ ├── CheckoutButtonMethodType.md
│ │ ├── CheckoutIncludes.md
│ │ ├── EmbeddedCheckoutEventType.md
│ │ ├── ExtensionCommandType.md
│ │ ├── ExtensionEventType.md
│ │ ├── ExtensionMessageType.md
│ │ ├── ExtensionQueryType.md
│ │ ├── ExtensionRegion.md
│ │ ├── ExtensionType.md
│ │ ├── GooglePayKey.md
│ │ ├── HostedFieldEventType.md
│ │ ├── HostedFieldType.md
│ │ ├── HostedInputEventType.md
│ │ ├── IconStyle.md
│ │ ├── PaypalButtonStyleColorOption.md
│ │ ├── PaypalButtonStyleLabelOption.md
│ │ ├── PaypalButtonStyleLayoutOption.md
│ │ ├── PaypalButtonStyleShapeOption.md
│ │ ├── PaypalButtonStyleSizeOption.md
│ │ ├── RadiusUnit.md
│ │ ├── StyleButtonColor.md
│ │ ├── StyleButtonColor_2.md
│ │ ├── StyleButtonLabel.md
│ │ ├── StyleButtonLabel_2.md
│ │ ├── StyleButtonShape.md
│ │ ├── StyleButtonShape_2.md
│ │ ├── StyleButtonShape_3.md
│ │ ├── StyleButtonSize.md
│ │ └── UntrustedShippingCardVerificationType.md
│ └── interfaces/
│ ├── AchInstrument.md
│ ├── Address.md
│ ├── AddressExtraFieldValue.md
│ ├── AddressRequestBody.md
│ ├── AdyenAdditionalActionCallbacks.md
│ ├── AdyenAdditionalActionOptions.md
│ ├── AdyenBaseCardComponentOptions.md
│ ├── AdyenComponent.md
│ ├── AdyenComponentEvents.md
│ ├── AdyenComponentState.md
│ ├── AdyenCreditCardComponentOptions.md
│ ├── AdyenIdealComponentOptions.md
│ ├── AdyenPaymentMethodState.md
│ ├── AdyenPlaceholderData.md
│ ├── AdyenThreeDS2Options.md
│ ├── AdyenV2PaymentInitializeOptions.md
│ ├── AdyenV3PaymentInitializeOptions.md
│ ├── AdyenValidationState.md
│ ├── AmazonPayRemoteCheckout.md
│ ├── AmazonPayV2CustomerInitializeOptions.md
│ ├── AmazonPayV2PaymentInitializeOptions.md
│ ├── AmazonPayV2ShippingInitializeOptions.md
│ ├── ApplePayButtonInitializeOptions.md
│ ├── ApplePayCustomerInitializeOptions.md
│ ├── ApplePayPaymentInitializeOptions.md
│ ├── B2BApiSettings.md
│ ├── B2BTokenSelector.md
│ ├── BankInstrument.md
│ ├── Banner.md
│ ├── BaseAccountInstrument.md
│ ├── BaseCheckoutButtonInitializeOptions.md
│ ├── BaseCustomerInitializeOptions.md
│ ├── BaseElementOptions.md
│ ├── BaseIndividualElementOptions.md
│ ├── BaseInstrument.md
│ ├── BasePaymentInitializeOptions.md
│ ├── BigCommercePaymentsAlternativeMethodsPaymentInitializeOptions.md
│ ├── BigCommercePaymentsButtonInitializeOptions.md
│ ├── BigCommercePaymentsCreditCardsPaymentInitializeOptions.md
│ ├── BigCommercePaymentsCustomerInitializeOptions.md
│ ├── BigCommercePaymentsFastlaneCustomerInitializeOptions.md
│ ├── BigCommercePaymentsFastlanePaymentInitializeOptions.md
│ ├── BigCommercePaymentsFastlaneShippingInitializeOptions.md
│ ├── BigCommercePaymentsFieldsStyleOptions.md
│ ├── BigCommercePaymentsPayLaterButtonInitializeOptions.md
│ ├── BigCommercePaymentsPayLaterCustomerInitializeOptions.md
│ ├── BigCommercePaymentsPayLaterPaymentInitializeOptions.md
│ ├── BigCommercePaymentsPaymentInitializeOptions.md
│ ├── BigCommercePaymentsRatePayPaymentInitializeOptions.md
│ ├── BigCommercePaymentsRedirectAlternativeMethodsPaymentInitializeOptions.md
│ ├── BigCommercePaymentsVenmoButtonInitializeOptions.md
│ ├── BigCommercePaymentsVenmoCustomerInitializeOptions.md
│ ├── BigCommercePaymentsVenmoPaymentInitializeOptions.md
│ ├── BillingAddress.md
│ ├── BillingAddressRequestBody.md
│ ├── BillingAddressSelector.md
│ ├── BirthDate.md
│ ├── BirthDate_2.md
│ ├── BlockElementStyles.md
│ ├── BlueSnapDirectAPMInitializeOptions.md
│ ├── BlueSnapDirectStyleProps.md
│ ├── BlueSnapV2PaymentInitializeOptions.md
│ ├── BlueSnapV2StyleProps.md
│ ├── BodlEventsPayload.md
│ ├── BodlService.md
│ ├── BodyStyles.md
│ ├── BoletoDataPaymentMethodState.md
│ ├── BoletoState.md
│ ├── BoltButtonInitializeOptions.md
│ ├── BoltButtonStyleOptions.md
│ ├── BoltBuyNowInitializeOptions.md
│ ├── BoltCustomerInitializeOptions.md
│ ├── BoltPaymentInitializeOptions.md
│ ├── BraintreeAchInitializeOptions.md
│ ├── BraintreeAnalyticTrackerService.md
│ ├── BraintreeCreditCardPaymentInitializeOptions.md
│ ├── BraintreeFastlaneCustomerInitializeOptions.md
│ ├── BraintreeFastlanePaymentInitializeOptions.md
│ ├── BraintreeFastlaneShippingInitializeOptions.md
│ ├── BraintreeLocalMethodsPaymentInitializeOptions.md
│ ├── BraintreePaypalButtonInitializeOptions.md
│ ├── BraintreePaypalCreditButtonInitializeOptions.md
│ ├── BraintreePaypalCreditCustomerInitializeOptions.md
│ ├── BraintreePaypalCustomerInitializeOptions.md
│ ├── BrowserInfo.md
│ ├── ButtonStyles.md
│ ├── Capabilities.md
│ ├── CardCvcElementOptions.md
│ ├── CardDataPaymentMethodState.md
│ ├── CardElementOptions.md
│ ├── CardExpiryElementOptions.md
│ ├── CardInstrument.md
│ ├── CardNumberElementOptions.md
│ ├── CardPaymentMethodState.md
│ ├── CardState.md
│ ├── CardStateData.md
│ ├── CardStateErrors.md
│ ├── CardingProtectionActionData.md
│ ├── Cart.md
│ ├── CartSelector.md
│ ├── CheckableInputStyles.md
│ ├── ChecklistStyles.md
│ ├── Checkout.md
│ ├── CheckoutButtonDataState.md
│ ├── CheckoutButtonErrorsState.md
│ ├── CheckoutButtonInitializerOptions.md
│ ├── CheckoutButtonOptions.md
│ ├── CheckoutButtonSelector.md
│ ├── CheckoutButtonSelectors.md
│ ├── CheckoutButtonState.md
│ ├── CheckoutButtonStatusesState.md
│ ├── CheckoutInitialState.md
│ ├── CheckoutParams.md
│ ├── CheckoutPayment.md
│ ├── CheckoutPaymentMethodExecutedOptions.md
│ ├── CheckoutRequestBody.md
│ ├── CheckoutSelector.md
│ ├── CheckoutSelectors.md
│ ├── CheckoutServiceOptions.md
│ ├── CheckoutSettings.md
│ ├── CheckoutStoreErrorSelector.md
│ ├── CheckoutStoreSelector.md
│ ├── CheckoutStoreStatusSelector.md
│ ├── Config.md
│ ├── ConfigSelector.md
│ ├── Consignment.md
│ ├── ConsignmentAssignmentBaseRequestBodyWithAddress.md
│ ├── ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md
│ ├── ConsignmentCouponDiscount.md
│ ├── ConsignmentCreateRequestBody.md
│ ├── ConsignmentDiscountBase.md
│ ├── ConsignmentLineItem.md
│ ├── ConsignmentPickupOption.md
│ ├── ConsignmentSelector.md
│ ├── ConsignmentUpdateRequestBody.md
│ ├── ConsignmentsChangedEvent.md
│ ├── ContextConfig.md
│ ├── Coordinates.md
│ ├── Country.md
│ ├── CountrySelector.md
│ ├── Coupon.md
│ ├── CouponSelector.md
│ ├── CreditCardInstrument.md
│ ├── CreditCardPaymentInitializeOptions_2.md
│ ├── CreditCardPlaceHolder.md
│ ├── CssProperties.md
│ ├── Currency.md
│ ├── CustomError.md
│ ├── CustomItem.md
│ ├── Customer.md
│ ├── CustomerAccountRequestBody.md
│ ├── CustomerAddress.md
│ ├── CustomerCredentials.md
│ ├── CustomerGroup.md
│ ├── CustomerPasswordRequirements.md
│ ├── CustomerRequestOptions.md
│ ├── CustomerSelector.md
│ ├── CustomerStrategySelector.md
│ ├── CustomizationConfig.md
│ ├── DigitalItem.md
│ ├── Discount.md
│ ├── DisplaySettings.md
│ ├── EmbeddedCheckoutCompleteEvent.md
│ ├── EmbeddedCheckoutError.md
│ ├── EmbeddedCheckoutErrorEvent.md
│ ├── EmbeddedCheckoutFrameErrorEvent.md
│ ├── EmbeddedCheckoutFrameLoadedEvent.md
│ ├── EmbeddedCheckoutLoadedEvent.md
│ ├── EmbeddedCheckoutMessenger.md
│ ├── EmbeddedCheckoutMessengerOptions.md
│ ├── EmbeddedCheckoutOptions.md
│ ├── EmbeddedCheckoutSignedOutEvent.md
│ ├── EmbeddedCheckoutStyles.md
│ ├── EmbeddedContentOptions.md
│ ├── ErrorLogger.md
│ ├── ExecutePaymentMethodCheckoutOptions.md
│ ├── Extension.md
│ ├── ExtensionCommandMap.md
│ ├── ExtensionQueryMap.md
│ ├── ExtensionSelector.md
│ ├── ExtraField.md
│ ├── ExtraFieldConfig.md
│ ├── ExtraFields.md
│ ├── FastlaneShippingInitializeOptions.md
│ ├── Fee.md
│ ├── FlashMessage.md
│ ├── FormField.md
│ ├── FormFieldItem.md
│ ├── FormFieldOptions.md
│ ├── FormFields.md
│ ├── FormSelector.md
│ ├── GatewayOrderPayment.md
│ ├── GetConsignmentsMessage.md
│ ├── GetConsignmentsQuery.md
│ ├── GiftCertificate.md
│ ├── GiftCertificateItem.md
│ ├── GiftCertificateOrderPayment.md
│ ├── GiftCertificateSelector.md
│ ├── GooglePayButtonInitializeOptions.md
│ ├── GooglePayCustomerInitializeOptions.md
│ ├── GooglePayPaymentInitializeOptions.md
│ ├── GoogleRecaptchaWindow.md
│ ├── HostedCardFieldOptions.md
│ ├── HostedCardFieldOptionsMap.md
│ ├── HostedFieldAttachEvent.md
│ ├── HostedFieldStoredCardRequestEvent.md
│ ├── HostedFieldStylesMap.md
│ ├── HostedFieldSubmitRequestEvent.md
│ ├── HostedFieldValidateRequestEvent.md
│ ├── HostedFormErrorData.md
│ ├── HostedFormOrderData.md
│ ├── HostedInputAttachErrorEvent.md
│ ├── HostedInputAttachSuccessEvent.md
│ ├── HostedInputBinChangeEvent.md
│ ├── HostedInputBlurEvent.md
│ ├── HostedInputCardTypeChangeEvent.md
│ ├── HostedInputChangeEvent.md
│ ├── HostedInputEnterEvent.md
│ ├── HostedInputEventMap.md
│ ├── HostedInputFocusEvent.md
│ ├── HostedInputInitializeErrorData.md
│ ├── HostedInputStoredCardErrorEvent.md
│ ├── HostedInputStoredCardSucceededEvent.md
│ ├── HostedInputSubmitErrorEvent.md
│ ├── HostedInputSubmitSuccessEvent.md
│ ├── HostedInputValidateErrorData.md
│ ├── HostedInputValidateErrorDataMap.md
│ ├── HostedInputValidateEvent.md
│ ├── HostedInputValidateResults.md
│ ├── HostedInstrument.md
│ ├── HostedStoredCardFieldOptions.md
│ ├── HostedStoredCardFieldOptionsMap.md
│ ├── IbanElementOptions.md
│ ├── IdealElementOptions.md
│ ├── IdealStateData.md
│ ├── IframeEvent.md
│ ├── IframeEventPostOptions.md
│ ├── IndividualCardElementOptions.md
│ ├── InitCallbackActions.md
│ ├── InitCallbackActions_2.md
│ ├── InitiaizedQuery.md
│ ├── InitializationStrategy.md
│ ├── InlineElementStyles.md
│ ├── InputDetail.md
│ ├── InputStyles.md
│ ├── InstrumentSelector.md
│ ├── InternalAddress.md
│ ├── InternalCheckoutSelectors.md
│ ├── InternalOrderMeta.md
│ ├── InternalOrderPayment.md
│ ├── InventorySettings.md
│ ├── Item.md
│ ├── Item_2.md
│ ├── LabelStyles.md
│ ├── LanguageConfig.md
│ ├── LegacyHostedFormOptions.md
│ ├── LineItem.md
│ ├── LineItemCategory.md
│ ├── LineItemMap.md
│ ├── LineItemOption.md
│ ├── LineItemSocialData.md
│ ├── LinkStyles.md
│ ├── Locales.md
│ ├── MolliePaymentInitializeOptions.md
│ ├── MutationObeserverCreator.md
│ ├── MutationObserverWindow.md
│ ├── NonceInstrument.md
│ ├── Option.md
│ ├── Order.md
│ ├── OrderBillingAddress.md
│ ├── OrderBillingAddressSelector.md
│ ├── OrderConsignment.md
│ ├── OrderFee.md
│ ├── OrderFinalizeOptions.md
│ ├── OrderMetaState.md
│ ├── OrderPayment.md
│ ├── OrderPaymentRequestBody.md
│ ├── OrderRequestBody.md
│ ├── OrderSelector.md
│ ├── OrderShippingConsignment.md
│ ├── OrderShippingConsignmentDiscount.md
│ ├── PasswordRequirements.md
│ ├── PayPalButtonStyleOptions.md
│ ├── PayPalButtonStyleOptions_2.md
│ ├── PayPalBuyNowInitializeOptions.md
│ ├── PayPalBuyNowInitializeOptions_2.md
│ ├── PayPalCommerceAlternativeMethodsPaymentOptions.md
│ ├── PayPalCommerceAnalyticTrackerService.md
│ ├── PayPalCommerceButtonInitializeOptions.md
│ ├── PayPalCommerceCreditButtonInitializeOptions.md
│ ├── PayPalCommerceCreditCardsPaymentInitializeOptions.md
│ ├── PayPalCommerceCreditCustomerInitializeOptions.md
│ ├── PayPalCommerceCreditPaymentInitializeOptions.md
│ ├── PayPalCommerceCustomerInitializeOptions.md
│ ├── PayPalCommerceFastlaneCustomerInitializeOptions.md
│ ├── PayPalCommerceFastlanePaymentInitializeOptions.md
│ ├── PayPalCommerceFastlaneShippingInitializeOptions.md
│ ├── PayPalCommerceFieldsStyleOptions.md
│ ├── PayPalCommercePaymentInitializeOptions.md
│ ├── PayPalCommerceVenmoButtonInitializeOptions.md
│ ├── PayPalCommerceVenmoCustomerInitializeOptions.md
│ ├── PayPalCommerceVenmoPaymentInitializeOptions.md
│ ├── PayPalInstrument.md
│ ├── PaymentAdditionalAction.md
│ ├── PaymentInstrumentMeta.md
│ ├── PaymentMethod.md
│ ├── PaymentMethodConfig.md
│ ├── PaymentMethodMeta.md
│ ├── PaymentMethodSelector.md
│ ├── PaymentProviderCustomerSelector.md
│ ├── PaymentRequestOptions.md
│ ├── PaymentSelector.md
│ ├── PaymentSettings.md
│ ├── PaymentStrategySelector.md
│ ├── PaypalButtonInitializeOptions.md
│ ├── PaypalCommerceRatePay.md
│ ├── PaypalStyleOptions.md
│ ├── PhysicalItem.md
│ ├── PickupMethod.md
│ ├── PickupOptionRequestBody.md
│ ├── PickupOptionResult.md
│ ├── PickupOptionSelector.md
│ ├── Promotion.md
│ ├── Radius.md
│ ├── ReRenderShippingForm.md
│ ├── ReRenderShippingStep.md
│ ├── RecaptchaResult.md
│ ├── Region.md
│ ├── ReloadCheckoutCommand.md
│ ├── RemoteCheckoutSelector.md
│ ├── RemoteCheckoutStateData.md
│ ├── RequestOptions.md
│ ├── SearchArea.md
│ ├── SepaPlaceHolder.md
│ ├── SepaStateData.md
│ ├── SetIframeStyleCommand.md
│ ├── ShippingAddressSelector.md
│ ├── ShippingCountrySelector.md
│ ├── ShippingInitializeOptions.md
│ ├── ShippingOption.md
│ ├── ShippingRequestOptions.md
│ ├── ShippingStrategySelector.md
│ ├── ShopperConfig.md
│ ├── ShopperCurrency.md
│ ├── ShowLoadingIndicatorCommand.md
│ ├── SignInEmail.md
│ ├── SignInEmailRequestBody.md
│ ├── SignInEmailSelector.md
│ ├── SpamProtectionOptions.md
│ ├── SquareV2PaymentInitializeOptions.md
│ ├── StepStyles.md
│ ├── StepTracker.md
│ ├── StepTrackerConfig.md
│ ├── StockPosition.md
│ ├── StoreConfig.md
│ ├── StoreCreditSelector.md
│ ├── StoreCurrency.md
│ ├── StoreLinks.md
│ ├── StoreProfile.md
│ ├── StoredCardHostedFormBillingAddress.md
│ ├── StoredCardHostedFormData.md
│ ├── StoredCardHostedFormInstrumentFields.md
│ ├── StripeElementCSSProperties.md
│ ├── StripeElementClasses.md
│ ├── StripeElementStyle.md
│ ├── StripeElementStyleVariant.md
│ ├── StripeOCSPaymentInitializeOptions.md
│ ├── StripeUPECustomerInitializeOptions.md
│ ├── StripeUPEPaymentInitializeOptions.md
│ ├── StripeUPEShippingInitializeOptions.md
│ ├── StripeV3PaymentInitializeOptions.md
│ ├── StyleOptions.md
│ ├── SubInputDetail.md
│ ├── Subscriptions.md
│ ├── SubscriptionsSelector.md
│ ├── Tax.md
│ ├── TextInputStyles.md
│ ├── ThreeDSecure.md
│ ├── ThreeDSecureToken.md
│ ├── TranslationData.md
│ ├── Translations.md
│ ├── UnknownObject.md
│ ├── UserExperienceSettings.md
│ ├── VaultAccessToken.md
│ ├── VaultedInstrument.md
│ ├── WechatDataPaymentMethodState.md
│ ├── WechatState.md
│ ├── WithAdyenV2PaymentInitializeOptions.md
│ ├── WithAdyenV3PaymentInitializeOptions.md
│ ├── WithAmazonPayV2ButtonInitializeOptions.md
│ ├── WithAmazonPayV2CustomerInitializeOptions.md
│ ├── WithAmazonPayV2PaymentInitializeOptions.md
│ ├── WithApplePayButtonInitializeOptions.md
│ ├── WithApplePayCustomerInitializeOptions.md
│ ├── WithApplePayPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsAlternativeMethodsPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsButtonInitializeOptions.md
│ ├── WithBigCommercePaymentsCreditCardsPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsCustomerInitializeOptions.md
│ ├── WithBigCommercePaymentsFastlaneCustomerInitializeOptions.md
│ ├── WithBigCommercePaymentsFastlanePaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsPayLaterButtonInitializeOptions.md
│ ├── WithBigCommercePaymentsPayLaterCustomerInitializeOptions.md
│ ├── WithBigCommercePaymentsPayLaterPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsRatePayPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsRedirectAlternativeMethodsPaymentInitializeOptions.md
│ ├── WithBigCommercePaymentsVenmoButtonInitializeOptions.md
│ ├── WithBigCommercePaymentsVenmoCustomerInitializeOptions.md
│ ├── WithBigCommercePaymentsVenmoPaymentInitializeOptions.md
│ ├── WithBlueSnapDirectAPMPaymentInitializeOptions.md
│ ├── WithBlueSnapV2PaymentInitializeOptions.md
│ ├── WithBoltButtonInitializeOptions.md
│ ├── WithBoltCustomerInitializeOptions.md
│ ├── WithBoltPaymentInitializeOptions.md
│ ├── WithBraintreeAchPaymentInitializeOptions.md
│ ├── WithBraintreeCreditCardPaymentInitializeOptions.md
│ ├── WithBraintreeFastlaneCustomerInitializeOptions.md
│ ├── WithBraintreeFastlanePaymentInitializeOptions.md
│ ├── WithBraintreeLocalMethodsPaymentInitializeOptions.md
│ ├── WithBraintreePaypalButtonInitializeOptions.md
│ ├── WithBraintreePaypalCreditButtonInitializeOptions.md
│ ├── WithBraintreePaypalCreditCustomerInitializeOptions.md
│ ├── WithBraintreePaypalCustomerInitializeOptions.md
│ ├── WithBuyNowFeature.md
│ ├── WithCheckoutcomFawryInstrument.md
│ ├── WithCheckoutcomSEPAInstrument.md
│ ├── WithCreditCardPaymentInitializeOptions.md
│ ├── WithDocumentInstrument.md
│ ├── WithIdealInstrument.md
│ ├── WithMollieIssuerInstrument.md
│ ├── WithMolliePaymentInitializeOptions.md
│ ├── WithPayPalCommerceAlternativeMethodsPaymentInitializeOptions.md
│ ├── WithPayPalCommerceButtonInitializeOptions.md
│ ├── WithPayPalCommerceCreditButtonInitializeOptions.md
│ ├── WithPayPalCommerceCreditCardsPaymentInitializeOptions.md
│ ├── WithPayPalCommerceCreditCustomerInitializeOptions.md
│ ├── WithPayPalCommerceCreditPaymentInitializeOptions.md
│ ├── WithPayPalCommerceCustomerInitializeOptions.md
│ ├── WithPayPalCommerceFastlaneCustomerInitializeOptions.md
│ ├── WithPayPalCommerceFastlanePaymentInitializeOptions.md
│ ├── WithPayPalCommercePaymentInitializeOptions.md
│ ├── WithPayPalCommerceRatePayPaymentInitializeOptions.md
│ ├── WithPayPalCommerceVenmoButtonInitializeOptions.md
│ ├── WithPayPalCommerceVenmoCustomerInitializeOptions.md
│ ├── WithPayPalCommerceVenmoPaymentInitializeOptions.md
│ ├── WithPaypalExpressPaymentInitializeOptions.md
│ ├── WithSquareV2PaymentInitializeOptions.md
│ ├── WithStripeOCSPaymentInitializeOptions.md
│ ├── WithStripeUPECustomerInitializeOptions.md
│ ├── WithStripeUPEPaymentInitializeOptions.md
│ ├── WithStripeV3PaymentInitializeOptions.md
│ ├── WithWorldpayAccessPaymentInitializeOptions.md
│ ├── WorldpayAccessPaymentInitializeOptions.md
│ └── ZipCodeElementOptions.md
├── jest-setup.js
├── jest.config.js
├── jest.preset.js
├── nx.json
├── package.json
├── packages/
│ ├── .gitkeep
│ ├── adyen-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── adyenv2/
│ │ │ │ ├── adyenv2-payment-strategy.spec.ts
│ │ │ │ ├── adyenv2-payment-strategy.ts
│ │ │ │ ├── create-adyenv2-payment-strategy.spec.ts
│ │ │ │ └── create-adyenv2-payment-strategy.ts
│ │ │ ├── adyenv3/
│ │ │ │ ├── adyenv3-payment-strategy.spec.ts
│ │ │ │ ├── adyenv3-payment-strategy.ts
│ │ │ │ ├── create-adyenv3-payment-strategy.spec.ts
│ │ │ │ └── create-adyenv3-payment-strategy.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── adyen-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── adyenv2/
│ │ │ │ ├── adyenv2-initialize-options.ts
│ │ │ │ ├── adyenv2-script-loader.spec.ts
│ │ │ │ ├── adyenv2-script-loader.ts
│ │ │ │ └── adyenv2.mock.ts
│ │ │ ├── adyenv3/
│ │ │ │ ├── adyenv3-initialize-options.ts
│ │ │ │ ├── adyenv3-script-loader.spec.ts
│ │ │ │ ├── adyenv3-script-loader.ts
│ │ │ │ └── adyenv3.mock.ts
│ │ │ ├── index.ts
│ │ │ ├── types.ts
│ │ │ └── utils/
│ │ │ ├── is-account-state.spec.ts
│ │ │ ├── is-account-state.ts
│ │ │ ├── is-additional-action-error-response.spec.ts
│ │ │ ├── is-additional-action-error-response.ts
│ │ │ ├── is-boleto-state.spec.ts
│ │ │ ├── is-boleto-state.ts
│ │ │ ├── is-card-state.spec.ts
│ │ │ └── is-card-state.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── affirm-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── affirm-payment-strategy.spec.ts
│ │ │ ├── affirm-payment-strategy.ts
│ │ │ ├── affirm-script-loader.spec.ts
│ │ │ ├── affirm-script-loader.ts
│ │ │ ├── affirm.mock.ts
│ │ │ ├── affirm.ts
│ │ │ ├── affirmJs.ts
│ │ │ ├── create-affirm-payment-strategy.spec.ts
│ │ │ ├── create-affirm-payment-strategy.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── afterpay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── afterpay-payment-strategy.spec.ts
│ │ │ ├── afterpay-payment-strategy.ts
│ │ │ ├── afterpay-script-loader.spec.ts
│ │ │ ├── afterpay-script-loader.ts
│ │ │ ├── afterpay-sdk.ts
│ │ │ ├── afterpay-window.ts
│ │ │ ├── afterpay.mock.ts
│ │ │ ├── create-afterpay-payment-strategy.spec.ts
│ │ │ ├── create-afterpay-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ └── is-afterpay-window.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── amazon-pay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── amazon-pay-v2-button-options.ts
│ │ │ ├── amazon-pay-v2-button-strategy.spec.ts
│ │ │ ├── amazon-pay-v2-button-strategy.ts
│ │ │ ├── amazon-pay-v2-customer-initialize-options.ts
│ │ │ ├── amazon-pay-v2-customer-strategy.spec.ts
│ │ │ ├── amazon-pay-v2-customer-strategy.ts
│ │ │ ├── amazon-pay-v2-payment-initialize-options.ts
│ │ │ ├── amazon-pay-v2-payment-strategy.spec.ts
│ │ │ ├── amazon-pay-v2-payment-strategy.ts
│ │ │ ├── amazon-pay-v2-request-sender.spec.ts
│ │ │ ├── amazon-pay-v2-request-sender.ts
│ │ │ ├── create-amazon-pay-v2-button-strategy.spec.ts
│ │ │ ├── create-amazon-pay-v2-button-strategy.ts
│ │ │ ├── create-amazon-pay-v2-customer-strategy.spec.ts
│ │ │ ├── create-amazon-pay-v2-customer-strategy.ts
│ │ │ ├── create-amazon-pay-v2-payment-strategy.spec.ts
│ │ │ ├── create-amazon-pay-v2-payment-strategy.ts
│ │ │ ├── errors/
│ │ │ │ ├── amazon-pay-v2-config-creation-error.spec.ts
│ │ │ │ └── amazon-pay-v2-config-creation-error.ts
│ │ │ ├── index.ts
│ │ │ ├── isWithBuyNowFeatures.spec.ts
│ │ │ ├── isWithBuyNowFeatures.ts
│ │ │ └── mock/
│ │ │ ├── amazon-pay-v2-button.mock.ts
│ │ │ ├── amazon-pay-v2-config-request-sender.mock.ts
│ │ │ └── amazon-pay-v2-customer.mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── amazon-pay-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── amazon-pay-v2-payment-processor.spec.ts
│ │ │ ├── amazon-pay-v2-payment-processor.ts
│ │ │ ├── amazon-pay-v2-script-loader.spec.ts
│ │ │ ├── amazon-pay-v2-script-loader.ts
│ │ │ ├── amazon-pay-v2.ts
│ │ │ ├── create-amazon-pay-v2-payment-processor.spec.ts
│ │ │ ├── create-amazon-pay-v2-payment-processor.ts
│ │ │ ├── index.ts
│ │ │ ├── isAmazonPayAdditionalActionError.spec.ts
│ │ │ ├── isAmazonPayAdditionalActionError.ts
│ │ │ ├── isInternalCheckoutSelectors.spec.ts
│ │ │ ├── isInternalCheckoutSelectors.ts
│ │ │ └── mocks/
│ │ │ └── amazon-pay-v2.mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── analytics/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── analytics-extra-items-manager.spec.ts
│ │ │ ├── analytics-extra-items-manager.ts
│ │ │ ├── analytics-tracker-window.ts
│ │ │ ├── extra-items-data.ts
│ │ │ ├── index.ts
│ │ │ ├── is-analytics-step-tracker-window.spec.ts
│ │ │ └── is-analytics-step-tracker-window.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── apple-pay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── apple-pay-button-initialize-options.ts
│ │ │ ├── apple-pay-button-method-type.ts
│ │ │ ├── apple-pay-button-strategy.spec.ts
│ │ │ ├── apple-pay-button-strategy.ts
│ │ │ ├── apple-pay-customer-initialize-options.ts
│ │ │ ├── apple-pay-customer-strategy.spec.ts
│ │ │ ├── apple-pay-customer-strategy.ts
│ │ │ ├── apple-pay-payment-initialize-options.ts
│ │ │ ├── apple-pay-payment-strategy.spec.ts
│ │ │ ├── apple-pay-payment-strategy.ts
│ │ │ ├── apple-pay-script-loader.spec.ts
│ │ │ ├── apple-pay-script-loader.ts
│ │ │ ├── apple-pay-session-factory.spec.ts
│ │ │ ├── apple-pay-session-factory.ts
│ │ │ ├── apple-pay-window.ts
│ │ │ ├── apple-pay.ts
│ │ │ ├── create-apple-pay-button-strategy.spec.ts
│ │ │ ├── create-apple-pay-button-strategy.ts
│ │ │ ├── create-apple-pay-customer-strategy.spec.ts
│ │ │ ├── create-apple-pay-customer-strategy.ts
│ │ │ ├── create-apple-pay-payment-strategy.spec.ts
│ │ │ ├── create-apple-pay-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── is-apple-pay-sdk-window.ts
│ │ │ ├── is-apple-pay-window.ts
│ │ │ └── mocks/
│ │ │ ├── apple-pay-button.mock.ts
│ │ │ ├── apple-pay-method.mock.ts
│ │ │ ├── apple-pay-payment.mock.ts
│ │ │ └── apple-pay-wallet-button-mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── bigcommerce-payments-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bigcommerce-payments/
│ │ │ │ ├── bigcommerce-payments-button-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-button-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-button-strategy.ts
│ │ │ │ ├── bigcommerce-payments-customer-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-customer-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-customer-strategy.ts
│ │ │ │ ├── bigcommerce-payments-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-button-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-button-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-customer-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-customer-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-alternative-methods/
│ │ │ │ ├── bigcommerce-payments-alternative-methods-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-alternative-methods-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-alternative-methods-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-alternative-methods-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-alternative-methods-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-constants.ts
│ │ │ ├── bigcommerce-payments-credit-cards/
│ │ │ │ ├── bigcommerce-payments-credit-cards-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-credit-cards-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-credit-cards-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-credit-cards-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-credit-cards-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-fastlane/
│ │ │ │ ├── bigcommerce-payments-fastlane-customer-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-fastlane-customer-strategy.ts
│ │ │ │ ├── bigcommerce-payments-fastlane-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-fastlane-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-fastlane-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-fastlane-customer-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-fastlane-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-fastlane-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-integration-service.spec.ts
│ │ │ ├── bigcommerce-payments-integration-service.ts
│ │ │ ├── bigcommerce-payments-paylater/
│ │ │ │ ├── bigcommerce-payments-paylater-button-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-paylater-button-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-paylater-button-strategy.ts
│ │ │ │ ├── bigcommerce-payments-paylater-customer-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-paylater-customer-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-paylater-customer-strategy.ts
│ │ │ │ ├── bigcommerce-payments-paylater-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-paylater-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-paylater-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-paylater-button-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-paylater-button-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-paylater-customer-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-paylater-customer-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-paylater-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-paylater-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-ratepay/
│ │ │ │ ├── bigcommerce-payments-ratepay-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-ratepay-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-ratepay-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-ratepay-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-ratepay-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-redirect-alternative-methods/
│ │ │ │ ├── bigcomemrce-payments-redirect-alternative-methods-payment-initialize-options.ts
│ │ │ │ ├── bigcomemrce-payments-redirect-alternative-methods-payment-strategy.ts
│ │ │ │ ├── bigcommerce-payments-redirect-alternative-methods-payment-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-redirect-alternative-methods-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-redirect-alternative-methods-payment-strategy.ts
│ │ │ ├── bigcommerce-payments-request-sender.spec.ts
│ │ │ ├── bigcommerce-payments-request-sender.ts
│ │ │ ├── bigcommerce-payments-script-loader.spec.ts
│ │ │ ├── bigcommerce-payments-script-loader.ts
│ │ │ ├── bigcommerce-payments-types.ts
│ │ │ ├── bigcommerce-payments-venmo/
│ │ │ │ ├── bigcommerce-payments-venmo-button-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-venmo-button-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-venmo-button-strategy.ts
│ │ │ │ ├── bigcommerce-payments-venmo-customer-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-venmo-customer-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-venmo-customer-strategy.ts
│ │ │ │ ├── bigcommerce-payments-venmo-payment-initialize-options.ts
│ │ │ │ ├── bigcommerce-payments-venmo-payment-strategy.spec.ts
│ │ │ │ ├── bigcommerce-payments-venmo-payment-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-venmo-button-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-venmo-button-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-venmo-cuastomer-strategy.spec.ts
│ │ │ │ ├── create-bigcommerce-payments-venmo-customer-strategy.ts
│ │ │ │ ├── create-bigcommerce-payments-venmo-payment-strategy.spec.ts
│ │ │ │ └── create-bigcommerce-payments-venmo-payment-strategy.ts
│ │ │ ├── create-bigcommerce-payments-integration-service.spec.ts
│ │ │ ├── create-bigcommerce-payments-integration-service.ts
│ │ │ ├── index.ts
│ │ │ └── mocks/
│ │ │ ├── get-bigcommerce-payments-integration-service-mock.mock.ts
│ │ │ ├── get-bigcommerce-payments-order-details.mock.ts
│ │ │ ├── get-bigcommerce-payments-payment-method.mock.ts
│ │ │ ├── get-bigcommerce-payments-ratepay-payment-method.mock.ts
│ │ │ ├── get-billing-address-from-order-details.mock.ts
│ │ │ ├── get-paypal-sdk.mock.ts
│ │ │ ├── get-shipping-address-from-order-details.mock.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── bigcommerce-payments-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bigcommerce-payments-fastlane-utils.spec.ts
│ │ │ ├── bigcommerce-payments-fastlane-utils.ts
│ │ │ ├── bigcommerce-payments-types.ts
│ │ │ ├── create-bigcommerce-payments-fastlane-utils.spec.ts
│ │ │ ├── create-bigcommerce-payments-fastlane-utils.ts
│ │ │ ├── create-bigcommerce-payments-sdk.spec.ts
│ │ │ ├── create-bigcommerce-payments-sdk.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── get-bigcommerce-payments-payment-method.mock.ts
│ │ │ │ ├── get-paypal-fastlane-authentication-result.mock.ts
│ │ │ │ ├── get-paypal-fastlane-sdk.mock.ts
│ │ │ │ ├── get-paypal-fastlane.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── paypal-sdk-helper.spec.ts
│ │ │ ├── paypal-sdk-helper.ts
│ │ │ └── utils/
│ │ │ ├── get-fastlane-styles.spec.ts
│ │ │ ├── get-fastlane-styles.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.spec.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.ts
│ │ │ ├── index.ts
│ │ │ ├── is-bigcommerce-fastlane-request-error.spec.ts
│ │ │ ├── is-bigcommerce-fastlane-request-error.ts
│ │ │ ├── is-bigcommerce-payments-fastlane-customer.spec.ts
│ │ │ ├── is-bigcommerce-payments-fastlane-customer.ts
│ │ │ ├── is-bigcommerce-payments-provider-error.spec.ts
│ │ │ ├── is-bigcommerce-payments-provider-error.ts
│ │ │ ├── is-paypal-fastlane-customer.spec.ts
│ │ │ ├── is-paypal-fastlane-customer.ts
│ │ │ └── is-redirect-error.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── bluesnap-direct-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bluesnap-direct-apm/
│ │ │ │ ├── bluesnap-direct-apm-payment-strategy.spec.ts
│ │ │ │ ├── bluesnap-direct-apm-payment-strategy.ts
│ │ │ │ ├── create-bluesnap-direct-apm-payment-strategy.spec.ts
│ │ │ │ └── create-bluesnap-direct-apm-payment-strategy.ts
│ │ │ ├── bluesnap-direct-constants.ts
│ │ │ ├── bluesnap-direct-credit-card/
│ │ │ │ ├── bluesnap-direct-3ds.spec.ts
│ │ │ │ ├── bluesnap-direct-3ds.ts
│ │ │ │ ├── bluesnap-direct-credit-card-payment-strategy.spec.ts
│ │ │ │ ├── bluesnap-direct-credit-card-payment-strategy.ts
│ │ │ │ ├── bluesnap-direct-hosted-form.spec.ts
│ │ │ │ ├── bluesnap-direct-hosted-form.ts
│ │ │ │ ├── bluesnap-direct-hosted-input-validator.spec.ts
│ │ │ │ ├── bluesnap-direct-hosted-input-validator.ts
│ │ │ │ ├── bluesnap-direct-name-on-card-input.spec.ts
│ │ │ │ ├── bluesnap-direct-name-on-card-input.ts
│ │ │ │ ├── bluesnap-direct-script-loader.spec.ts
│ │ │ │ ├── bluesnap-direct-script-loader.ts
│ │ │ │ ├── create-bluesnap-direct-credit-card-payment-strategy.spec.ts
│ │ │ │ └── create-bluesnap-direct-credit-card-payment-strategy.ts
│ │ │ ├── bluesnapv2/
│ │ │ │ ├── bluesnapv2-payment-options.ts
│ │ │ │ ├── bluesnapv2-payment-strategy.spec.ts
│ │ │ │ ├── bluesnapv2-payment-strategy.ts
│ │ │ │ ├── bluesnapv2.ts
│ │ │ │ ├── create-bluesnapv2-payment-strategy.spec.ts
│ │ │ │ └── create-bluesnapv2-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── bluesnap-direct-method.mock.ts
│ │ │ │ ├── bluesnap-direct-sdk.mock.ts
│ │ │ │ └── credit-card-payment-initialize-options.mock.ts
│ │ │ ├── types.ts
│ │ │ └── utils/
│ │ │ ├── is-array-of-allowed-props.ts
│ │ │ ├── is-bluesnap-direct-input-validation-error-description.ts
│ │ │ ├── is-bluesnap-direct-instrument.ts
│ │ │ ├── is-bluesnap-direct-provider-data.ts
│ │ │ ├── is-hosted-card-field-options-map.ts
│ │ │ └── is-hosted-stored-card-field-options-map.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── bolt-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bolt-button-initialize-options.ts
│ │ │ ├── bolt-button-strategy.spec.ts
│ │ │ ├── bolt-button-strategy.ts
│ │ │ ├── bolt-customer-initialize-options.ts
│ │ │ ├── bolt-customer-strategy.spec.ts
│ │ │ ├── bolt-customer-strategy.ts
│ │ │ ├── bolt-error.spec.ts
│ │ │ ├── bolt-error.ts
│ │ │ ├── bolt-payment-initialize-options.ts
│ │ │ ├── bolt-payment-strategy.spec.ts
│ │ │ ├── bolt-payment-strategy.ts
│ │ │ ├── bolt-script-loader.spec.ts
│ │ │ ├── bolt-script-loader.ts
│ │ │ ├── bolt.mock.ts
│ │ │ ├── bolt.ts
│ │ │ ├── create-bolt-button-strategy.spec.ts
│ │ │ ├── create-bolt-button-strategy.ts
│ │ │ ├── create-bolt-customer-strategy.spec.ts
│ │ │ ├── create-bolt-customer-strategy.ts
│ │ │ ├── create-bolt-payment-strategy.spec.ts
│ │ │ ├── create-bolt-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── is-bolt-payment-data.spec.ts
│ │ │ └── is-bolt-payment-data.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── braintree-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── braintree-ach/
│ │ │ │ ├── braintree-ach-initialize-options.ts
│ │ │ │ ├── braintree-ach-payment-method.mock.ts
│ │ │ │ ├── braintree-ach-payment-strategy.spec.ts
│ │ │ │ ├── braintree-ach-payment-strategy.ts
│ │ │ │ ├── create-braintree-ach-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-ach-payment-strategy.ts
│ │ │ ├── braintree-credit-card/
│ │ │ │ ├── braintree-credit-card-payment-initialize-options.ts
│ │ │ │ ├── braintree-credit-card-payment-strategy.spec.ts
│ │ │ │ ├── braintree-credit-card-payment-strategy.ts
│ │ │ │ ├── create-braintree-credit-card-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-credit-card-payment-strategy.ts
│ │ │ ├── braintree-fastlane/
│ │ │ │ ├── braintree-fastlane-customer-initialize-options.ts
│ │ │ │ ├── braintree-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── braintree-fastlane-customer-strategy.ts
│ │ │ │ ├── braintree-fastlane-payment-initialize-options.ts
│ │ │ │ ├── braintree-fastlane-payment-strategy.spec.ts
│ │ │ │ ├── braintree-fastlane-payment-strategy.ts
│ │ │ │ ├── braintree-fastlane-utils.spec.ts
│ │ │ │ ├── braintree-fastlane-utils.ts
│ │ │ │ ├── create-braintree-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── create-braintree-fastlane-customer-strategy.ts
│ │ │ │ ├── create-braintree-fastlane-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-fastlane-payment-strategy.ts
│ │ │ ├── braintree-hosted-form/
│ │ │ │ ├── braintree-hosted-form.spec.ts
│ │ │ │ └── braintree-hosted-form.ts
│ │ │ ├── braintree-local-payment-methods/
│ │ │ │ ├── braintree-local-methods-payment-initialize-options.ts
│ │ │ │ ├── braintree-local-methods-payment-strategy.spec.ts
│ │ │ │ ├── braintree-local-methods-payment-strategy.ts
│ │ │ │ ├── create-braintree-local-methods-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-local-methods-payment-strategy.ts
│ │ │ ├── braintree-paypal/
│ │ │ │ ├── braintree-paypal-button-initialize-options.ts
│ │ │ │ ├── braintree-paypal-button-strategy.spec.ts
│ │ │ │ ├── braintree-paypal-button-strategy.ts
│ │ │ │ ├── braintree-paypal-customer-initialize-options.ts
│ │ │ │ ├── braintree-paypal-customer-strategy.spec.ts
│ │ │ │ ├── braintree-paypal-customer-strategy.ts
│ │ │ │ ├── braintree-paypal-payment-initialize-options.ts
│ │ │ │ ├── braintree-paypal-payment-strategy.spec.ts
│ │ │ │ ├── braintree-paypal-payment-strategy.ts
│ │ │ │ ├── create-braintree-paypal-button-strategy.spec.ts
│ │ │ │ ├── create-braintree-paypal-button-strategy.ts
│ │ │ │ ├── create-braintree-paypal-customer-strategy.spec.ts
│ │ │ │ ├── create-braintree-paypal-customer-strategy.ts
│ │ │ │ ├── create-braintree-paypal-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-paypal-payment-strategy.ts
│ │ │ ├── braintree-paypal-constants.ts
│ │ │ ├── braintree-paypal-credit/
│ │ │ │ ├── braintree-paypal-credit-button-initialize-options.ts
│ │ │ │ ├── braintree-paypal-credit-button-strategy.spec.ts
│ │ │ │ ├── braintree-paypal-credit-button-strategy.ts
│ │ │ │ ├── braintree-paypal-credit-customer-initialize-options.ts
│ │ │ │ ├── braintree-paypal-credit-customer-strategy.spec.ts
│ │ │ │ ├── braintree-paypal-credit-customer-strategy.ts
│ │ │ │ ├── create-braintree-paypal-credit-button-strategy.spec.ts
│ │ │ │ ├── create-braintree-paypal-credit-button-strategy.ts
│ │ │ │ ├── create-braintree-paypal-credit-customer-strategy.spec.ts
│ │ │ │ └── create-braintree-paypal-credit-customer-strategy.ts
│ │ │ ├── braintree-request-sender.spec.ts
│ │ │ ├── braintree-request-sender.ts
│ │ │ ├── braintree-venmo/
│ │ │ │ ├── braintree-venmo-button-strategy.spec.ts
│ │ │ │ ├── braintree-venmo-button-strategy.ts
│ │ │ │ ├── braintree-venmo-initialize-options.ts
│ │ │ │ ├── braintree-venmo-payment-strategy-initialize-options.ts
│ │ │ │ ├── braintree-venmo-payment-strategy.spec.ts
│ │ │ │ ├── braintree-venmo-payment-strategy.ts
│ │ │ │ ├── create-braintree-venmo-button-strategy.spec.ts
│ │ │ │ ├── create-braintree-venmo-button-strategy.ts
│ │ │ │ ├── create-braintree-venmo-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-venmo-payment-strategy.ts
│ │ │ ├── braintree-visa-checkout/
│ │ │ │ ├── braintree-visa-checkout-button-strategy.spec.ts
│ │ │ │ ├── braintree-visa-checkout-button-strategy.ts
│ │ │ │ ├── braintree-visa-checkout-customer-strategy.spec.ts
│ │ │ │ ├── braintree-visa-checkout-customer-strategy.ts
│ │ │ │ ├── braintree-visa-checkout-payment-options.ts
│ │ │ │ ├── braintree-visa-checkout-payment-strategy.spec.ts
│ │ │ │ ├── braintree-visa-checkout-payment-strategy.ts
│ │ │ │ ├── braintree-visa-customer-initialize-options.ts
│ │ │ │ ├── create-braintree-cisa-checkout-customer-strategy.spec.ts
│ │ │ │ ├── create-braintree-visa-checkout-button-strategy.spec.ts
│ │ │ │ ├── create-braintree-visa-checkout-button-strategy.ts
│ │ │ │ ├── create-braintree-visa-checkout-customer-strategy.ts
│ │ │ │ ├── create-braintree-visa-checkout-payment-strategy.spec.ts
│ │ │ │ └── create-braintree-visa-checkout-payment-strategy.ts
│ │ │ ├── get-valid-button-style.spec.ts
│ │ │ ├── get-valid-button-style.ts
│ │ │ ├── index.ts
│ │ │ ├── is-braintree-error.spec.ts
│ │ │ ├── is-braintree-error.ts
│ │ │ ├── is-braintree-paypal-provider-error.ts
│ │ │ ├── is-us-bank-account-instrument-like.ts
│ │ │ ├── isUnsupportedBrowserError.ts
│ │ │ ├── map-to-braintree-shipping-address-override.spec.ts
│ │ │ ├── map-to-braintree-shipping-address-override.ts
│ │ │ └── mocks/
│ │ │ ├── braintree.mock.ts
│ │ │ └── paypal.mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── braintree-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── braintree-integration-service.spec.ts
│ │ │ ├── braintree-integration-service.ts
│ │ │ ├── braintree-messages.spec.ts
│ │ │ ├── braintree-messages.ts
│ │ │ ├── braintree-script-loader.spec.ts
│ │ │ ├── braintree-script-loader.ts
│ │ │ ├── braintree-sdk-scripts-integrity.ts
│ │ │ ├── braintree-sdk-verison.ts
│ │ │ ├── braintree-sdk-version-manager.spec.ts
│ │ │ ├── braintree-sdk-version-manager.ts
│ │ │ ├── braintree-sdk.spec.ts
│ │ │ ├── braintree-sdk.ts
│ │ │ ├── braintree.ts
│ │ │ ├── create-braintree-sdk.spec.ts
│ │ │ ├── create-braintree-sdk.ts
│ │ │ ├── index.ts
│ │ │ ├── isManageableBraintreeSDKVersion.spec.ts
│ │ │ ├── isManageableBraintreeSDKVersion.ts
│ │ │ ├── load-paypal-sdk-once.spec.ts
│ │ │ ├── load-paypal-sdk-once.ts
│ │ │ ├── map-to-legacy-billing-address.spec.ts
│ │ │ ├── map-to-legacy-billing-address.ts
│ │ │ ├── map-to-legacy-shipping-address.spec.ts
│ │ │ ├── map-to-legacy-shipping-address.ts
│ │ │ ├── mocks/
│ │ │ │ ├── braintree-modules.mock.ts
│ │ │ │ ├── braintree.mock.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── paypal.mock.ts
│ │ │ │ └── visacheckout.mock.ts
│ │ │ ├── paypal.ts
│ │ │ ├── types.ts
│ │ │ ├── utils/
│ │ │ │ ├── get-fastlane-styles.spec.ts
│ │ │ │ ├── get-fastlane-styles.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── is-braintree-accelerated-checkout-customer.spec.ts
│ │ │ │ ├── is-braintree-accelerated-checkout-customer.ts
│ │ │ │ ├── is-braintree-error.spec.ts
│ │ │ │ ├── is-braintree-error.ts
│ │ │ │ ├── is-braintree-fastlane-window.spec.ts
│ │ │ │ ├── is-braintree-fastlane-window.ts
│ │ │ │ ├── is-braintree-form-fields-map.spec.ts
│ │ │ │ ├── is-braintree-form-fields-map.ts
│ │ │ │ ├── is-braintree-hosted-form-error.spec.ts
│ │ │ │ ├── is-braintree-hosted-form-error.ts
│ │ │ │ ├── is-braintree-payment-request-3d-error.spec.ts
│ │ │ │ ├── is-braintree-payment-request-3ds-error.ts
│ │ │ │ ├── is-braintree-supported-card-brand.spec.ts
│ │ │ │ ├── is-braintree-supported-card-brand.ts
│ │ │ │ ├── is-credit-card-instrument-like.spec.ts
│ │ │ │ └── is-credit-card-instrument-like.ts
│ │ │ └── visacheckout.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── cardinal-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── cardinal-client.spec.ts
│ │ │ ├── cardinal-client.ts
│ │ │ ├── cardinal-script-loader.spec.ts
│ │ │ ├── cardinal-script-loader.ts
│ │ │ ├── cardinal-three-d-secure-flow-v2.spec.ts
│ │ │ ├── cardinal-three-d-secure-flow-v2.ts
│ │ │ ├── cardinal-three-d-secure-flow.spec.ts
│ │ │ ├── cardinal-three-d-secure-flow.ts
│ │ │ ├── cardinal.mock.ts
│ │ │ ├── cardinal.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── cba-mpgs-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── cba-mpgs-payment-strategy.spec.ts
│ │ │ ├── cba-mpgs-payment-strategy.ts
│ │ │ ├── cba-mpgs-script-loader.spec.ts
│ │ │ ├── cba-mpgs-script-loader.ts
│ │ │ ├── cba-mpgs.mock.ts
│ │ │ ├── cba-mpgs.ts
│ │ │ ├── create-cba-mpgs-payment-strategy.spec.ts
│ │ │ ├── create-cba-mpgs-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ └── is-cba-mpgs-payment-method-like.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── checkoutcom-custom-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── checkoutcom-apm/
│ │ │ │ ├── checkoutcom-apm-payment-strategy.test.ts
│ │ │ │ ├── checkoutcom-apm-payment-strategy.ts
│ │ │ │ ├── create-checkoutcom-apm-payment-strategy.test.ts
│ │ │ │ └── create-checkoutcom-apm-payment-strategy.ts
│ │ │ ├── checkoutcom-credit-card-payment-strategy.ts
│ │ │ ├── checkoutcom-custom-payment-strategy.test.ts
│ │ │ ├── checkoutcom-custom-payment-strategy.ts
│ │ │ ├── checkoutcom-ideal/
│ │ │ │ ├── checkoutcom-ideal-payment-strategy.test.ts
│ │ │ │ ├── checkoutcom-ideal-payment-strategy.ts
│ │ │ │ ├── create-checkoutcom-ideal-payment-strategy.test.ts
│ │ │ │ └── create-checkoutcom-ideal-payment-strategy.ts
│ │ │ ├── checkoutcom-sepa/
│ │ │ │ ├── checkoutcom-fawry-payment-strategy.test.ts
│ │ │ │ ├── checkoutcom-fawry-payment-strategy.ts
│ │ │ │ ├── checkoutcom-sepa-payment-strategy.test.ts
│ │ │ │ ├── checkoutcom-sepa-payment-strategy.ts
│ │ │ │ ├── create-checkoutcom-fawry-payment-strategy.test.ts
│ │ │ │ ├── create-checkoutcom-fawry-payment-strategy.ts
│ │ │ │ ├── create-checkoutcom-sepa-payment-strategy.test.ts
│ │ │ │ └── create-checkoutcom-sepa-payment-strategy.ts
│ │ │ ├── checkoutcom.ts
│ │ │ ├── create-checkoutcom-credit-card-payment-strategy.ts
│ │ │ ├── create-checkoutcom-custom-credit-card-payment-strategy.test.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── clearpay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── clearpay-payment-strategy.spec.ts
│ │ │ ├── clearpay-payment-strategy.ts
│ │ │ ├── clearpay-script-loader.spec.ts
│ │ │ ├── clearpay-script-loader.ts
│ │ │ ├── clearpay-sdk.ts
│ │ │ ├── clearpay-window.ts
│ │ │ ├── clearpay.mock.ts
│ │ │ ├── create-clearpay-payment-strategy.spec.ts
│ │ │ ├── create-clearpay-payment-strategy.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── core/
│ │ ├── .eslintrc.json
│ │ ├── api-extractor/
│ │ │ ├── checkout-button.json
│ │ │ ├── checkout-sdk.json
│ │ │ ├── embedded-checkout.json
│ │ │ └── internal-mappers.json
│ │ ├── auto-export.config.json
│ │ ├── create-enum.config.json
│ │ ├── extend-interface.config.json
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── address/
│ │ │ │ ├── address.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-address.ts
│ │ │ │ ├── is-address-equal.spec.ts
│ │ │ │ ├── is-address-equal.ts
│ │ │ │ ├── is-internal-address-equal.spec.ts
│ │ │ │ ├── is-internal-address-equal.ts
│ │ │ │ ├── map-from-internal-address.spec.ts
│ │ │ │ ├── map-from-internal-address.ts
│ │ │ │ ├── map-to-internal-address.spec.ts
│ │ │ │ └── map-to-internal-address.ts
│ │ │ ├── analytics/
│ │ │ │ ├── analytics-step-tracker.spec.ts
│ │ │ │ ├── analytics-step-tracker.ts
│ │ │ │ ├── analytics-tracker-ga.spec.ts
│ │ │ │ ├── analytics-tracker-ga.ts
│ │ │ │ ├── braintree-analytic-tracker/
│ │ │ │ │ ├── braintree-analytic-tracker-service.ts
│ │ │ │ │ ├── braintree-analytic-tracker.spec.ts
│ │ │ │ │ ├── braintree-analytic-tracker.ts
│ │ │ │ │ ├── create-braintree-analytic-tracker.spec.ts
│ │ │ │ │ ├── create-braintree-analytic-tracker.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── create-step-tracker.spec.ts
│ │ │ │ ├── create-step-tracker.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── noop-step-tracker.ts
│ │ │ │ ├── paypal-commerce-analytic-tracker/
│ │ │ │ │ ├── create-paypal-commerce-analytic-tracker.spec.ts
│ │ │ │ │ ├── create-paypal-commerce-analytic-tracker.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── paypal-commerce-analytic-tracker-service.ts
│ │ │ │ │ ├── paypal-commerce-analytic-tracker.spec.ts
│ │ │ │ │ └── paypal-commerce-analytic-tracker.ts
│ │ │ │ └── step-tracker.ts
│ │ │ ├── b2b-dev-tools/
│ │ │ │ ├── b2b-dev-mode-constants.ts
│ │ │ │ ├── b2b-dev-mode.spec.ts
│ │ │ │ ├── b2b-dev-mode.ts
│ │ │ │ └── index.ts
│ │ │ ├── b2b-token/
│ │ │ │ ├── b2b-token-action-creator.spec.ts
│ │ │ │ ├── b2b-token-action-creator.ts
│ │ │ │ ├── b2b-token-actions.ts
│ │ │ │ ├── b2b-token-reducer.spec.ts
│ │ │ │ ├── b2b-token-reducer.ts
│ │ │ │ ├── b2b-token-request-sender.spec.ts
│ │ │ │ ├── b2b-token-request-sender.ts
│ │ │ │ ├── b2b-token-selector.spec.ts
│ │ │ │ ├── b2b-token-selector.ts
│ │ │ │ ├── b2b-token-state.ts
│ │ │ │ └── index.ts
│ │ │ ├── billing/
│ │ │ │ ├── billing-address-action-creator.spec.ts
│ │ │ │ ├── billing-address-action-creator.ts
│ │ │ │ ├── billing-address-actions.ts
│ │ │ │ ├── billing-address-reducer.spec.ts
│ │ │ │ ├── billing-address-reducer.ts
│ │ │ │ ├── billing-address-request-sender.spec.ts
│ │ │ │ ├── billing-address-request-sender.ts
│ │ │ │ ├── billing-address-selector.spec.ts
│ │ │ │ ├── billing-address-selector.ts
│ │ │ │ ├── billing-address-state.ts
│ │ │ │ ├── billing-address.ts
│ │ │ │ ├── billing-addresses.mock.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── unable-to-continue-as-guest-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-billing-addresses.mock.ts
│ │ │ │ ├── is-billing-address-like.spec.ts
│ │ │ │ └── is-billing-address-like.ts
│ │ │ ├── bodl/
│ │ │ │ ├── analytics-steps.ts
│ │ │ │ ├── bodl-emitter-service.ts
│ │ │ │ ├── bodl-events-service.spec.ts
│ │ │ │ ├── bodl-service.ts
│ │ │ │ ├── bodl-window.ts
│ │ │ │ ├── create-bodl-service.spec.ts
│ │ │ │ ├── create-bodl-service.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── is-bodl-enabled.ts
│ │ │ │ └── noop-bodl-service.ts
│ │ │ ├── bundles/
│ │ │ │ ├── checkout-button.ts
│ │ │ │ ├── checkout-sdk.ts
│ │ │ │ ├── embedded-checkout.ts
│ │ │ │ ├── extension.ts
│ │ │ │ ├── hosted-form.ts
│ │ │ │ └── internal-mappers.ts
│ │ │ ├── cart/
│ │ │ │ ├── buy-now-cart-request-body.ts
│ │ │ │ ├── cart-comparator.spec.ts
│ │ │ │ ├── cart-comparator.ts
│ │ │ │ ├── cart-reducer.spec.ts
│ │ │ │ ├── cart-reducer.ts
│ │ │ │ ├── cart-request-sender.spec.ts
│ │ │ │ ├── cart-request-sender.ts
│ │ │ │ ├── cart-selector.spec.ts
│ │ │ │ ├── cart-selector.ts
│ │ │ │ ├── cart-state.ts
│ │ │ │ ├── cart.ts
│ │ │ │ ├── carts.mock.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── buy-now-cart-creation-error.ts
│ │ │ │ │ ├── cart-changed-error.spec.ts
│ │ │ │ │ ├── cart-changed-error.ts
│ │ │ │ │ ├── cart-consistency-error.ts
│ │ │ │ │ ├── cart-stock-positions-changed-error.ts
│ │ │ │ │ ├── empty-cart-error.spec.ts
│ │ │ │ │ ├── empty-cart-error.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-cart.ts
│ │ │ │ ├── internal-carts.mock.ts
│ │ │ │ ├── internal-line-item.ts
│ │ │ │ ├── line-item-map.ts
│ │ │ │ ├── line-item.ts
│ │ │ │ ├── line-items.mock.ts
│ │ │ │ ├── map-gift-certificate-to-internal-line-item.ts
│ │ │ │ ├── map-to-internal-cart.spec.ts
│ │ │ │ ├── map-to-internal-cart.ts
│ │ │ │ ├── map-to-internal-line-item.ts
│ │ │ │ ├── map-to-internal-line-items.spec.ts
│ │ │ │ └── map-to-internal-line-items.ts
│ │ │ ├── checkout/
│ │ │ │ ├── checkout-action-creator.spec.ts
│ │ │ │ ├── checkout-action-creator.ts
│ │ │ │ ├── checkout-actions.ts
│ │ │ │ ├── checkout-default-includes.ts
│ │ │ │ ├── checkout-hydrate-actions.ts
│ │ │ │ ├── checkout-initial-state.ts
│ │ │ │ ├── checkout-params.ts
│ │ │ │ ├── checkout-reducer.spec.ts
│ │ │ │ ├── checkout-reducer.ts
│ │ │ │ ├── checkout-request-sender.spec.ts
│ │ │ │ ├── checkout-request-sender.ts
│ │ │ │ ├── checkout-selector.spec.ts
│ │ │ │ ├── checkout-selector.ts
│ │ │ │ ├── checkout-selectors.ts
│ │ │ │ ├── checkout-service.spec.ts
│ │ │ │ ├── checkout-service.ts
│ │ │ │ ├── checkout-state.ts
│ │ │ │ ├── checkout-store-error-selector.spec.ts
│ │ │ │ ├── checkout-store-error-selector.ts
│ │ │ │ ├── checkout-store-selector.spec.ts
│ │ │ │ ├── checkout-store-selector.ts
│ │ │ │ ├── checkout-store-state.ts
│ │ │ │ ├── checkout-store-status-selector.spec.ts
│ │ │ │ ├── checkout-store-status-selector.ts
│ │ │ │ ├── checkout-store.ts
│ │ │ │ ├── checkout-validator.spec.ts
│ │ │ │ ├── checkout-validator.ts
│ │ │ │ ├── checkout.ts
│ │ │ │ ├── checkouts.mock.ts
│ │ │ │ ├── create-action-transformer.spec.ts
│ │ │ │ ├── create-action-transformer.ts
│ │ │ │ ├── create-checkout-selectors.ts
│ │ │ │ ├── create-checkout-service-error-transformer.spec.ts
│ │ │ │ ├── create-checkout-service-error-transformer.ts
│ │ │ │ ├── create-checkout-service.spec.ts
│ │ │ │ ├── create-checkout-service.ts
│ │ │ │ ├── create-checkout-store-reducer.ts
│ │ │ │ ├── create-checkout-store.spec.ts
│ │ │ │ ├── create-checkout-store.ts
│ │ │ │ ├── create-internal-checkout-selectors.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── checkout-not-available-error.spec.ts
│ │ │ │ │ ├── checkout-not-available-error.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── internal-checkout-selectors.ts
│ │ │ ├── checkout-buttons/
│ │ │ │ ├── checkout-button-actions.ts
│ │ │ │ ├── checkout-button-error-selector.ts
│ │ │ │ ├── checkout-button-initializer-options.ts
│ │ │ │ ├── checkout-button-initializer.spec.ts
│ │ │ │ ├── checkout-button-initializer.ts
│ │ │ │ ├── checkout-button-options.ts
│ │ │ │ ├── checkout-button-reducer.spec.ts
│ │ │ │ ├── checkout-button-reducer.ts
│ │ │ │ ├── checkout-button-selector.spec.ts
│ │ │ │ ├── checkout-button-selector.ts
│ │ │ │ ├── checkout-button-selectors.ts
│ │ │ │ ├── checkout-button-state.ts
│ │ │ │ ├── checkout-button-status-selector.ts
│ │ │ │ ├── checkout-button-strategy-action-creator.spec.ts
│ │ │ │ ├── checkout-button-strategy-action-creator.ts
│ │ │ │ ├── checkout-button-strategy-registry-v2.ts
│ │ │ │ ├── checkout-buttons.mock.ts
│ │ │ │ ├── create-checkout-button-initializer.spec.ts
│ │ │ │ ├── create-checkout-button-initializer.ts
│ │ │ │ ├── create-checkout-button-registry-v2.spec.ts
│ │ │ │ ├── create-checkout-button-registry-v2.ts
│ │ │ │ ├── create-checkout-button-registry.spec.ts
│ │ │ │ ├── create-checkout-button-registry.ts
│ │ │ │ ├── create-checkout-button-selectors.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── strategies/
│ │ │ │ ├── checkout-button-method-type.ts
│ │ │ │ ├── checkout-button-strategy.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── paypal/
│ │ │ │ ├── index.ts
│ │ │ │ ├── paypal-button-options.ts
│ │ │ │ ├── paypal-button-strategy.spec.ts
│ │ │ │ ├── paypal-button-strategy.ts
│ │ │ │ └── paypal.mock.ts
│ │ │ ├── common/
│ │ │ │ ├── browser-info/
│ │ │ │ │ ├── browser-info.ts
│ │ │ │ │ ├── get-browser-info.spec.ts
│ │ │ │ │ ├── get-browser-info.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── data-store/
│ │ │ │ │ ├── action-options.ts
│ │ │ │ │ ├── cachable-action-decorator.spec.ts
│ │ │ │ │ ├── cachable-action-decorator.ts
│ │ │ │ │ ├── cache-action.spec.ts
│ │ │ │ │ ├── cache-action.ts
│ │ │ │ │ ├── create-data-store-projection.spec.ts
│ │ │ │ │ ├── create-data-store-projection.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── is-action-options.ts
│ │ │ │ ├── date-time/
│ │ │ │ │ ├── add-minutes.spec.ts
│ │ │ │ │ ├── add-minutes.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── is-future.spec.ts
│ │ │ │ │ └── is-future.ts
│ │ │ │ ├── dom/
│ │ │ │ │ ├── detachment-observer.spec.ts
│ │ │ │ │ ├── detachment-observer.ts
│ │ │ │ │ ├── errors/
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── unexpected-detachment-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── is-element-id.spec.ts
│ │ │ │ │ ├── is-element-id.ts
│ │ │ │ │ ├── mutation-observer.ts
│ │ │ │ │ ├── set-unique-element-id.spec.ts
│ │ │ │ │ └── set-unique-element-id.ts
│ │ │ │ ├── error/
│ │ │ │ │ ├── clear-error-reducer.spec.ts
│ │ │ │ │ ├── clear-error-reducer.ts
│ │ │ │ │ ├── create-request-error-factory.spec.ts
│ │ │ │ │ ├── create-request-error-factory.ts
│ │ │ │ │ ├── error-action-creator.spec.ts
│ │ │ │ │ ├── error-action-creator.ts
│ │ │ │ │ ├── error-actions.ts
│ │ │ │ │ ├── error-logger.ts
│ │ │ │ │ ├── error-message-transformer.spec.ts
│ │ │ │ │ ├── error-message-transformer.ts
│ │ │ │ │ ├── errors/
│ │ │ │ │ │ ├── custom-error.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ ├── invalid-argument-error.spec.ts
│ │ │ │ │ │ ├── invalid-argument-error.ts
│ │ │ │ │ │ ├── map-from-internal-error-response.spec.ts
│ │ │ │ │ │ ├── map-from-internal-error-response.ts
│ │ │ │ │ │ ├── map-from-payment-error-response.spec.ts
│ │ │ │ │ │ ├── map-from-payment-error-response.ts
│ │ │ │ │ │ ├── map-from-storefront-error-response.spec.ts
│ │ │ │ │ │ ├── map-from-storefront-error-response.ts
│ │ │ │ │ │ ├── missing-data-error.spec.ts
│ │ │ │ │ │ ├── missing-data-error.ts
│ │ │ │ │ │ ├── not-implemented-error.spec.ts
│ │ │ │ │ │ ├── not-implemented-error.ts
│ │ │ │ │ │ ├── not-initialized-error.spec.ts
│ │ │ │ │ │ ├── not-initialized-error.ts
│ │ │ │ │ │ ├── request-error.spec.ts
│ │ │ │ │ │ ├── request-error.ts
│ │ │ │ │ │ ├── standard-error.spec.ts
│ │ │ │ │ │ ├── standard-error.ts
│ │ │ │ │ │ ├── timeout-error.spec.ts
│ │ │ │ │ │ ├── timeout-error.ts
│ │ │ │ │ │ ├── unrecoverable-error.spec.ts
│ │ │ │ │ │ ├── unrecoverable-error.ts
│ │ │ │ │ │ ├── unsupported-browser-error.spec.ts
│ │ │ │ │ │ └── unsupported-browser-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── request-error-factory.spec.ts
│ │ │ │ │ ├── request-error-factory.ts
│ │ │ │ │ └── throw-error-action.ts
│ │ │ │ ├── http-request/
│ │ │ │ │ ├── content-type.ts
│ │ │ │ │ ├── experiment-aware-request-sender.spec.ts
│ │ │ │ │ ├── experiment-aware-request-sender.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── internal-api-headers.ts
│ │ │ │ │ ├── internal-response-body.ts
│ │ │ │ │ ├── join-includes.spec.ts
│ │ │ │ │ ├── join-includes.ts
│ │ │ │ │ ├── join-or-merge-includes.ts
│ │ │ │ │ ├── merge-includes.ts
│ │ │ │ │ ├── request-options.ts
│ │ │ │ │ ├── responses.mock.ts
│ │ │ │ │ └── sdk-version-headers.ts
│ │ │ │ ├── iframe/
│ │ │ │ │ ├── iframe-event-listener.spec.ts
│ │ │ │ │ ├── iframe-event-listener.ts
│ │ │ │ │ ├── iframe-event-poster.spec.ts
│ │ │ │ │ ├── iframe-event-poster.ts
│ │ │ │ │ ├── iframe-event.ts
│ │ │ │ │ ├── iframe-resizer.spec.ts
│ │ │ │ │ ├── iframe-resizer.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── is-iframe-event.spec.ts
│ │ │ │ │ └── is-iframe-event.ts
│ │ │ │ ├── log/
│ │ │ │ │ ├── console-logger.spec.ts
│ │ │ │ │ ├── console-logger.ts
│ │ │ │ │ ├── create-logger.ts
│ │ │ │ │ ├── get-default-logger.ts
│ │ │ │ │ ├── index.spec.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── logger.ts
│ │ │ │ │ └── noop-logger.ts
│ │ │ │ ├── registry/
│ │ │ │ │ ├── factory.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── registry.spec.ts
│ │ │ │ │ ├── registry.ts
│ │ │ │ │ ├── resolve-id-registry.spec.ts
│ │ │ │ │ └── resolve-id-registry.ts
│ │ │ │ ├── selector/
│ │ │ │ │ ├── create-selector.spec.ts
│ │ │ │ │ ├── create-selector.ts
│ │ │ │ │ ├── create-shallow-equal-selector.spec.ts
│ │ │ │ │ ├── create-shallow-equal-selector.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── selector-decorator.spec.ts
│ │ │ │ │ ├── selector-decorator.ts
│ │ │ │ │ ├── with-memoized-combiner.spec.ts
│ │ │ │ │ └── with-memoized-combiner.ts
│ │ │ │ ├── storage/
│ │ │ │ │ ├── browser-storage.spec.ts
│ │ │ │ │ ├── browser-storage.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── types/
│ │ │ │ │ ├── card-validator.d.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── omit.ts
│ │ │ │ │ ├── partial-deep.ts
│ │ │ │ │ └── webpack.d.ts
│ │ │ │ ├── url/
│ │ │ │ │ ├── append-www.spec.ts
│ │ │ │ │ ├── append-www.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── parse-url.spec.ts
│ │ │ │ │ ├── parse-url.ts
│ │ │ │ │ └── url.ts
│ │ │ │ ├── utility/
│ │ │ │ │ ├── array-replace.spec.ts
│ │ │ │ │ ├── array-replace.ts
│ │ │ │ │ ├── cache-key-maps.ts
│ │ │ │ │ ├── cache-key-resolver.spec.ts
│ │ │ │ │ ├── cache-key-resolver.ts
│ │ │ │ │ ├── clone-decorator.spec.ts
│ │ │ │ │ ├── clone-decorator.ts
│ │ │ │ │ ├── clone-result.spec.ts
│ │ │ │ │ ├── clone-result.ts
│ │ │ │ │ ├── create-freeze-proxy.spec.ts
│ │ │ │ │ ├── create-freeze-proxy.ts
│ │ │ │ │ ├── get-environment.spec.ts
│ │ │ │ │ ├── get-environment.ts
│ │ │ │ │ ├── guard.spec.ts
│ │ │ │ │ ├── guard.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── is-equal.spec.ts
│ │ │ │ │ ├── is-equal.ts
│ │ │ │ │ ├── is-plain-object.ts
│ │ │ │ │ ├── is-private.ts
│ │ │ │ │ ├── merge-or-push.spec.ts
│ │ │ │ │ ├── merge-or-push.ts
│ │ │ │ │ ├── object-flatten.spec.ts
│ │ │ │ │ ├── object-flatten.ts
│ │ │ │ │ ├── object-merge.spec.ts
│ │ │ │ │ ├── object-merge.ts
│ │ │ │ │ ├── object-set.spec.ts
│ │ │ │ │ ├── object-set.ts
│ │ │ │ │ ├── object-with-sorted-keys.spec.ts
│ │ │ │ │ ├── object-with-sorted-keys.ts
│ │ │ │ │ ├── omit-deep.spec.ts
│ │ │ │ │ ├── omit-deep.ts
│ │ │ │ │ ├── omit-private.spec.ts
│ │ │ │ │ ├── omit-private.ts
│ │ │ │ │ ├── replace.spec.ts
│ │ │ │ │ ├── replace.ts
│ │ │ │ │ ├── set-prototype-of.spec.ts
│ │ │ │ │ ├── set-prototype-of.ts
│ │ │ │ │ ├── to-single-line.spec.ts
│ │ │ │ │ └── to-single-line.ts
│ │ │ │ └── worker/
│ │ │ │ ├── WorkerEvent.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── worker-event-listener.test.ts
│ │ │ │ ├── worker-event-listener.ts
│ │ │ │ ├── worker-event-poster.spec.ts
│ │ │ │ └── worker-event-poster.ts
│ │ │ ├── config/
│ │ │ │ ├── capabilities.ts
│ │ │ │ ├── config-action-creator.spec.ts
│ │ │ │ ├── config-action-creator.ts
│ │ │ │ ├── config-actions.ts
│ │ │ │ ├── config-reducer.spec.ts
│ │ │ │ ├── config-reducer.ts
│ │ │ │ ├── config-request-sender.spec.ts
│ │ │ │ ├── config-request-sender.ts
│ │ │ │ ├── config-selector.spec.ts
│ │ │ │ ├── config-selector.ts
│ │ │ │ ├── config-state.ts
│ │ │ │ ├── config-window.ts
│ │ │ │ ├── config.ts
│ │ │ │ ├── configs.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── coupon/
│ │ │ │ ├── coupon-action-creator.spec.ts
│ │ │ │ ├── coupon-action-creator.ts
│ │ │ │ ├── coupon-actions.ts
│ │ │ │ ├── coupon-reducer.spec.ts
│ │ │ │ ├── coupon-reducer.ts
│ │ │ │ ├── coupon-request-sender.spec.ts
│ │ │ │ ├── coupon-request-sender.ts
│ │ │ │ ├── coupon-selector.spec.ts
│ │ │ │ ├── coupon-selector.ts
│ │ │ │ ├── coupon-state.ts
│ │ │ │ ├── coupon.ts
│ │ │ │ ├── coupons.mock.ts
│ │ │ │ ├── gift-certificate-action-creator.spec.ts
│ │ │ │ ├── gift-certificate-action-creator.ts
│ │ │ │ ├── gift-certificate-actions.ts
│ │ │ │ ├── gift-certificate-reducer.spec.ts
│ │ │ │ ├── gift-certificate-reducer.ts
│ │ │ │ ├── gift-certificate-request-sender.spec.ts
│ │ │ │ ├── gift-certificate-request-sender.ts
│ │ │ │ ├── gift-certificate-selector.spec.ts
│ │ │ │ ├── gift-certificate-selector.ts
│ │ │ │ ├── gift-certificate-state.ts
│ │ │ │ ├── gift-certificate.ts
│ │ │ │ ├── gift-certificates.mock.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-coupon.ts
│ │ │ │ ├── internal-coupons.mock.ts
│ │ │ │ ├── internal-gift-certificate.ts
│ │ │ │ ├── map-to-internal-coupon.spec.ts
│ │ │ │ ├── map-to-internal-coupon.ts
│ │ │ │ └── map-to-internal-gift-certificate.ts
│ │ │ ├── currency/
│ │ │ │ ├── create-currency-service.ts
│ │ │ │ ├── currency-service.ts
│ │ │ │ ├── currency.ts
│ │ │ │ └── index.ts
│ │ │ ├── customer/
│ │ │ │ ├── create-customer-strategy-registry-v2.spec.ts
│ │ │ │ ├── create-customer-strategy-registry-v2.ts
│ │ │ │ ├── create-customer-strategy-registry.ts
│ │ │ │ ├── customer-account.ts
│ │ │ │ ├── customer-action-creator.spec.ts
│ │ │ │ ├── customer-action-creator.ts
│ │ │ │ ├── customer-actions.ts
│ │ │ │ ├── customer-credentials.ts
│ │ │ │ ├── customer-reducer.spec.ts
│ │ │ │ ├── customer-reducer.ts
│ │ │ │ ├── customer-request-options.ts
│ │ │ │ ├── customer-request-sender.spec.ts
│ │ │ │ ├── customer-request-sender.ts
│ │ │ │ ├── customer-selector.spec.ts
│ │ │ │ ├── customer-selector.ts
│ │ │ │ ├── customer-state.ts
│ │ │ │ ├── customer-strategy-action-creator.spec.ts
│ │ │ │ ├── customer-strategy-action-creator.ts
│ │ │ │ ├── customer-strategy-actions.ts
│ │ │ │ ├── customer-strategy-reducer.spec.ts
│ │ │ │ ├── customer-strategy-reducer.ts
│ │ │ │ ├── customer-strategy-registry-v2.ts
│ │ │ │ ├── customer-strategy-selector.spec.ts
│ │ │ │ ├── customer-strategy-selector.ts
│ │ │ │ ├── customer-strategy-state.ts
│ │ │ │ ├── customer.ts
│ │ │ │ ├── customers.mock.ts
│ │ │ │ ├── guest-credentials.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-customer-responses.ts
│ │ │ │ ├── internal-customer.ts
│ │ │ │ ├── internal-customers.mock.ts
│ │ │ │ ├── map-to-internal-customer.spec.ts
│ │ │ │ ├── map-to-internal-customer.ts
│ │ │ │ └── strategies/
│ │ │ │ ├── customer-strategy.ts
│ │ │ │ ├── default/
│ │ │ │ │ ├── default-customer-strategy.spec.ts
│ │ │ │ │ ├── default-customer-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── index.ts
│ │ │ ├── discount/
│ │ │ │ ├── discount-notification.ts
│ │ │ │ ├── discount.ts
│ │ │ │ ├── discounts.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── embedded-checkout/
│ │ │ │ ├── embed-checkout.spec.ts
│ │ │ │ ├── embed-checkout.ts
│ │ │ │ ├── embedded-checkout-error.ts
│ │ │ │ ├── embedded-checkout-events.ts
│ │ │ │ ├── embedded-checkout-options.ts
│ │ │ │ ├── embedded-checkout-styles.ts
│ │ │ │ ├── embedded-checkout.spec.ts
│ │ │ │ ├── embedded-checkout.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── invalid-login-token-error.spec.ts
│ │ │ │ │ ├── invalid-login-token-error.ts
│ │ │ │ │ ├── not-embeddable-error.spec.ts
│ │ │ │ │ └── not-embeddable-error.ts
│ │ │ │ ├── iframe-content/
│ │ │ │ │ ├── create-embedded-checkout-messenger.spec.ts
│ │ │ │ │ ├── create-embedded-checkout-messenger.ts
│ │ │ │ │ ├── embedded-checkout-messenger-options.ts
│ │ │ │ │ ├── embedded-checkout-messenger.ts
│ │ │ │ │ ├── embedded-content-events.ts
│ │ │ │ │ ├── embedded-content-options.ts
│ │ │ │ │ ├── handle-frame-loaded-event.spec.ts
│ │ │ │ │ ├── handle-frame-loaded-event.ts
│ │ │ │ │ ├── iframe-embedded-checkout-messenger.spec.ts
│ │ │ │ │ ├── iframe-embedded-checkout-messenger.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── noop-embedded-checkout-messenger.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── resizable-iframe-creator.spec.ts
│ │ │ │ └── resizable-iframe-creator.ts
│ │ │ ├── extension/
│ │ │ │ ├── create-extension-event-broadcaster.ts
│ │ │ │ ├── create-extension-event-poster.spec.ts
│ │ │ │ ├── create-extension-event-poster.ts
│ │ │ │ ├── create-extension-web-worker.spec.ts
│ │ │ │ ├── create-extension-web-worker.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── extension-not-found-error.ts
│ │ │ │ │ ├── extension-not-loaded-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── unsupported-extension-command-error.ts
│ │ │ │ │ └── unsupported-extension-query-error.ts
│ │ │ │ ├── extension-action-creator.spec.ts
│ │ │ │ ├── extension-action-creator.ts
│ │ │ │ ├── extension-actions.ts
│ │ │ │ ├── extension-commands.ts
│ │ │ │ ├── extension-event-broadcaster.spec.ts
│ │ │ │ ├── extension-event-broadcaster.ts
│ │ │ │ ├── extension-events.ts
│ │ │ │ ├── extension-iframe.spec.ts
│ │ │ │ ├── extension-iframe.ts
│ │ │ │ ├── extension-internal-commands.ts
│ │ │ │ ├── extension-internal-events.ts
│ │ │ │ ├── extension-message.ts
│ │ │ │ ├── extension-messenger.spec.ts
│ │ │ │ ├── extension-messenger.ts
│ │ │ │ ├── extension-queries.ts
│ │ │ │ ├── extension-reducer.ts
│ │ │ │ ├── extension-reduer.spec.ts
│ │ │ │ ├── extension-request-sender.spec.ts
│ │ │ │ ├── extension-request-sender.ts
│ │ │ │ ├── extension-selector.spec.ts
│ │ │ │ ├── extension-selector.ts
│ │ │ │ ├── extension-service.spec.ts
│ │ │ │ ├── extension-service.ts
│ │ │ │ ├── extension-state.ts
│ │ │ │ ├── extension.mock.ts
│ │ │ │ ├── extension.ts
│ │ │ │ ├── iframe-resizer-setup.spec.ts
│ │ │ │ ├── iframe-resizer-setup.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── initialize-extension-service.spec.ts
│ │ │ │ ├── initialize-extension-service.ts
│ │ │ │ ├── resizable-firame-creator.spec.ts
│ │ │ │ ├── resizable-iframe-creator.ts
│ │ │ │ ├── subscribers/
│ │ │ │ │ ├── extension-change-subscriber.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── subscribe-consignments-change.spec.ts
│ │ │ │ │ └── subscribe-consignments-change.ts
│ │ │ │ ├── worker-extension-messenger.spec.ts
│ │ │ │ └── worker-extension-messenger.ts
│ │ │ ├── fee/
│ │ │ │ ├── fee.ts
│ │ │ │ └── index.ts
│ │ │ ├── form/
│ │ │ │ ├── extra-field.ts
│ │ │ │ ├── form-field.ts
│ │ │ │ ├── form-fields-action-creator.spec.ts
│ │ │ │ ├── form-fields-action-creator.ts
│ │ │ │ ├── form-fields-actions.ts
│ │ │ │ ├── form-fields-reducer.spec.ts
│ │ │ │ ├── form-fields-reducer.ts
│ │ │ │ ├── form-fields-request-sender.spec.ts
│ │ │ │ ├── form-fields-request-sender.ts
│ │ │ │ ├── form-fields-state.ts
│ │ │ │ ├── form-selector.spec.ts
│ │ │ │ ├── form-selector.ts
│ │ │ │ ├── form.mock.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── map-extra-field-to-form-field.spec.ts
│ │ │ │ └── map-extra-field-to-form-field.ts
│ │ │ ├── geography/
│ │ │ │ ├── countries.mock.ts
│ │ │ │ ├── country-action-creator.spec.ts
│ │ │ │ ├── country-action-creator.ts
│ │ │ │ ├── country-actions.ts
│ │ │ │ ├── country-reducer.spec.ts
│ │ │ │ ├── country-reducer.ts
│ │ │ │ ├── country-request-sender.spec.ts
│ │ │ │ ├── country-request-sender.ts
│ │ │ │ ├── country-responses.ts
│ │ │ │ ├── country-selector.spec.ts
│ │ │ │ ├── country-selector.ts
│ │ │ │ ├── country-state.ts
│ │ │ │ ├── country.ts
│ │ │ │ └── index.ts
│ │ │ ├── hosted-form/
│ │ │ │ ├── create-hosted-form-stored-card-service.spec.ts
│ │ │ │ ├── create-hosted-form-stored-card-service.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── invalid-hosted-form-config-error.ts
│ │ │ │ │ ├── invalid-hosted-form-error.ts
│ │ │ │ │ └── invalid-hosted-form-value-error.ts
│ │ │ │ ├── hosted-field-events.ts
│ │ │ │ ├── hosted-field-type.ts
│ │ │ │ ├── hosted-field.spec.ts
│ │ │ │ ├── hosted-field.ts
│ │ │ │ ├── hosted-form-factory.spec.ts
│ │ │ │ ├── hosted-form-factory.ts
│ │ │ │ ├── hosted-form-options.ts
│ │ │ │ ├── hosted-form-order-data-transformer.spec.ts
│ │ │ │ ├── hosted-form-order-data-transformer.ts
│ │ │ │ ├── hosted-form-order-data.mock.ts
│ │ │ │ ├── hosted-form-order-data.ts
│ │ │ │ ├── hosted-form.spec.ts
│ │ │ │ ├── hosted-form.ts
│ │ │ │ ├── iframe-content/
│ │ │ │ │ ├── card-expiry-date.ts
│ │ │ │ │ ├── card-expiry-formatter.spec.ts
│ │ │ │ │ ├── card-expiry-formatter.ts
│ │ │ │ │ ├── card-number-formatter.spec.ts
│ │ │ │ │ ├── card-number-formatter.ts
│ │ │ │ │ ├── get-hosted-input-storage.ts
│ │ │ │ │ ├── hosted-autocomplete-fieldset.spec.ts
│ │ │ │ │ ├── hosted-autocomplete-fieldset.ts
│ │ │ │ │ ├── hosted-card-expiry-input.spec.ts
│ │ │ │ │ ├── hosted-card-expiry-input.ts
│ │ │ │ │ ├── hosted-card-number-input.spec.ts
│ │ │ │ │ ├── hosted-card-number-input.ts
│ │ │ │ │ ├── hosted-input-aggregator.spec.ts
│ │ │ │ │ ├── hosted-input-aggregator.ts
│ │ │ │ │ ├── hosted-input-events.ts
│ │ │ │ │ ├── hosted-input-factory.spec.ts
│ │ │ │ │ ├── hosted-input-factory.ts
│ │ │ │ │ ├── hosted-input-initialize-error-data.ts
│ │ │ │ │ ├── hosted-input-initializer.spec.ts
│ │ │ │ │ ├── hosted-input-initializer.ts
│ │ │ │ │ ├── hosted-input-options.ts
│ │ │ │ │ ├── hosted-input-payment-handler.spec.ts
│ │ │ │ │ ├── hosted-input-payment-handler.ts
│ │ │ │ │ ├── hosted-input-storage.spec.ts
│ │ │ │ │ ├── hosted-input-storage.ts
│ │ │ │ │ ├── hosted-input-stored-card-handler.spec.ts
│ │ │ │ │ ├── hosted-input-stored-card-handler.ts
│ │ │ │ │ ├── hosted-input-styles.ts
│ │ │ │ │ ├── hosted-input-validate-error-data.ts
│ │ │ │ │ ├── hosted-input-validate-results.ts
│ │ │ │ │ ├── hosted-input-validator.spec.ts
│ │ │ │ │ ├── hosted-input-validator.ts
│ │ │ │ │ ├── hosted-input-values.ts
│ │ │ │ │ ├── hosted-input-window.ts
│ │ │ │ │ ├── hosted-input.spec.ts
│ │ │ │ │ ├── hosted-input.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── initialize-hosted-input.ts
│ │ │ │ │ ├── map-to-accessibility-label.spec.ts
│ │ │ │ │ ├── map-to-accessibility-label.ts
│ │ │ │ │ ├── map-to-autocomplete-type.spec.ts
│ │ │ │ │ ├── map-to-autocomplete-type.ts
│ │ │ │ │ └── notify-initialize-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── stored-card-hosted-form-service.spec.ts
│ │ │ │ ├── stored-card-hosted-form-service.ts
│ │ │ │ ├── stored-card-hosted-form-type.ts
│ │ │ │ └── stored-card-hosted-form.mock.ts
│ │ │ ├── index.ts
│ │ │ ├── loader-cdn.ts
│ │ │ ├── loader.ts
│ │ │ ├── locale/
│ │ │ │ ├── create-language-service.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── language-config.ts
│ │ │ │ ├── language-service.spec.ts
│ │ │ │ └── language-service.ts
│ │ │ ├── order/
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── invalid-shipping-address-error.spec.ts
│ │ │ │ │ ├── invalid-shipping-address-error.ts
│ │ │ │ │ ├── missing-shipping-method-error.spec.ts
│ │ │ │ │ ├── missing-shipping-method-error.ts
│ │ │ │ │ ├── order-finalization-not-completed-error.spec.ts
│ │ │ │ │ ├── order-finalization-not-completed-error.ts
│ │ │ │ │ ├── order-finalization-not-required-error.spec.ts
│ │ │ │ │ ├── order-finalization-not-required-error.ts
│ │ │ │ │ ├── order-tax-provider-unavailable-error.spec.ts
│ │ │ │ │ └── order-tax-provider-unavailable-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-order-request-body.ts
│ │ │ │ ├── internal-order-responses.ts
│ │ │ │ ├── internal-order.ts
│ │ │ │ ├── internal-orders.mock.ts
│ │ │ │ ├── line-items.mock.ts
│ │ │ │ ├── map-to-internal-order.spec.ts
│ │ │ │ ├── map-to-internal-order.ts
│ │ │ │ ├── order-action-creator.spec.ts
│ │ │ │ ├── order-action-creator.ts
│ │ │ │ ├── order-actions.ts
│ │ │ │ ├── order-reducer.spec.ts
│ │ │ │ ├── order-reducer.ts
│ │ │ │ ├── order-request-body.ts
│ │ │ │ ├── order-request-sender.spec.ts
│ │ │ │ ├── order-request-sender.ts
│ │ │ │ ├── order-selector.spec.ts
│ │ │ │ ├── order-selector.ts
│ │ │ │ ├── order-state.ts
│ │ │ │ ├── order.ts
│ │ │ │ └── orders.mock.ts
│ │ │ ├── order-billing-address/
│ │ │ │ ├── index.ts
│ │ │ │ ├── order-billing-address-reducer.spec.ts
│ │ │ │ ├── order-billing-address-reducer.ts
│ │ │ │ ├── order-billing-address-selector.spec.ts
│ │ │ │ ├── order-billing-address-selector.ts
│ │ │ │ ├── order-billing-address-state.ts
│ │ │ │ └── order-billing-address.mock.ts
│ │ │ ├── payment/
│ │ │ │ ├── apply-b2b-company-payment-method-filter.spec.ts
│ │ │ │ ├── apply-b2b-company-payment-method-filter.ts
│ │ │ │ ├── b2b-company-payment-method-filter-transformer.spec.ts
│ │ │ │ ├── b2b-company-payment-method-filter-transformer.ts
│ │ │ │ ├── b2b-company-payment-method-request-sender.spec.ts
│ │ │ │ ├── b2b-company-payment-method-request-sender.ts
│ │ │ │ ├── bigpay-client.d.ts
│ │ │ │ ├── create-payment-client.spec.ts
│ │ │ │ ├── create-payment-client.ts
│ │ │ │ ├── create-payment-strategy-registry-v2.spec.ts
│ │ │ │ ├── create-payment-strategy-registry-v2.ts
│ │ │ │ ├── create-payment-strategy-registry.spec.ts
│ │ │ │ ├── create-payment-strategy-registry.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── payment-argument-invalid-error.spec.ts
│ │ │ │ │ ├── payment-argument-invalid-error.ts
│ │ │ │ │ ├── payment-instrument-not-valid-error.spec.ts
│ │ │ │ │ ├── payment-instrument-not-valid-error.ts
│ │ │ │ │ ├── payment-invalid-form-error.ts
│ │ │ │ │ ├── payment-method-cancelled-error.spec.ts
│ │ │ │ │ ├── payment-method-cancelled-error.ts
│ │ │ │ │ ├── payment-method-client-unavailable-error.ts
│ │ │ │ │ ├── payment-method-declined-error.spec.ts
│ │ │ │ │ └── payment-method-declined-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── instrument/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── instrument-action-creator.spec.ts
│ │ │ │ │ ├── instrument-action-creator.ts
│ │ │ │ │ ├── instrument-actions.ts
│ │ │ │ │ ├── instrument-reducer.spec.ts
│ │ │ │ │ ├── instrument-reducer.ts
│ │ │ │ │ ├── instrument-request-sender.spec.ts
│ │ │ │ │ ├── instrument-request-sender.ts
│ │ │ │ │ ├── instrument-response-body.ts
│ │ │ │ │ ├── instrument-response-transformer.spec.ts
│ │ │ │ │ ├── instrument-response-transformer.ts
│ │ │ │ │ ├── instrument-selector.spec.ts
│ │ │ │ │ ├── instrument-selector.ts
│ │ │ │ │ ├── instrument-state.ts
│ │ │ │ │ ├── instrument.mock.ts
│ │ │ │ │ ├── instrument.ts
│ │ │ │ │ ├── map-to-bank-instrument.spec.ts
│ │ │ │ │ ├── map-to-bank-instrument.ts
│ │ │ │ │ ├── map-to-card-instrument.spec.ts
│ │ │ │ │ ├── map-to-card-instrument.ts
│ │ │ │ │ ├── map-to-paypal-instrument.spec.ts
│ │ │ │ │ ├── map-to-paypal-instrument.ts
│ │ │ │ │ └── supported-payment-instruments.ts
│ │ │ │ ├── is-credit-card-like.spec.ts
│ │ │ │ ├── is-credit-card-like.ts
│ │ │ │ ├── is-hosted-intrument-like.spec.ts
│ │ │ │ ├── is-hosted-intrument-like.ts
│ │ │ │ ├── is-nonce-like.spec.ts
│ │ │ │ ├── is-nonce-like.ts
│ │ │ │ ├── is-vaulted-instrument.spec.ts
│ │ │ │ ├── is-vaulted-instrument.ts
│ │ │ │ ├── payment-action-creator.spec.ts
│ │ │ │ ├── payment-action-creator.ts
│ │ │ │ ├── payment-actions.ts
│ │ │ │ ├── payment-additional-action.ts
│ │ │ │ ├── payment-method-action-creator.spec.ts
│ │ │ │ ├── payment-method-action-creator.ts
│ │ │ │ ├── payment-method-actions.ts
│ │ │ │ ├── payment-method-config.ts
│ │ │ │ ├── payment-method-initialization-strategy.ts
│ │ │ │ ├── payment-method-meta.ts
│ │ │ │ ├── payment-method-reducer.spec.ts
│ │ │ │ ├── payment-method-reducer.ts
│ │ │ │ ├── payment-method-request-sender.spec.ts
│ │ │ │ ├── payment-method-request-sender.ts
│ │ │ │ ├── payment-method-selector.spec.ts
│ │ │ │ ├── payment-method-selector.ts
│ │ │ │ ├── payment-method-state.ts
│ │ │ │ ├── payment-method-types.ts
│ │ │ │ ├── payment-method.ts
│ │ │ │ ├── payment-methods.mock.ts
│ │ │ │ ├── payment-reducer.spec.ts
│ │ │ │ ├── payment-reducer.ts
│ │ │ │ ├── payment-request-body.ts
│ │ │ │ ├── payment-request-options.ts
│ │ │ │ ├── payment-request-sender.spec.ts
│ │ │ │ ├── payment-request-sender.ts
│ │ │ │ ├── payment-request-transformer.spec.ts
│ │ │ │ ├── payment-request-transformer.ts
│ │ │ │ ├── payment-response-body.ts
│ │ │ │ ├── payment-response.ts
│ │ │ │ ├── payment-selector.spec.ts
│ │ │ │ ├── payment-selector.ts
│ │ │ │ ├── payment-state.ts
│ │ │ │ ├── payment-status-types.ts
│ │ │ │ ├── payment-strategy-action-creator.spec.ts
│ │ │ │ ├── payment-strategy-action-creator.ts
│ │ │ │ ├── payment-strategy-actions.ts
│ │ │ │ ├── payment-strategy-reducer.spec.ts
│ │ │ │ ├── payment-strategy-reducer.ts
│ │ │ │ ├── payment-strategy-registry-v2.ts
│ │ │ │ ├── payment-strategy-registry.spec.ts
│ │ │ │ ├── payment-strategy-registry.ts
│ │ │ │ ├── payment-strategy-selector.spec.ts
│ │ │ │ ├── payment-strategy-selector.ts
│ │ │ │ ├── payment-strategy-state.ts
│ │ │ │ ├── payment-strategy-type.ts
│ │ │ │ ├── payment-strategy-widget-action-creator.spec.ts
│ │ │ │ ├── payment-strategy-widget-action-creator.ts
│ │ │ │ ├── payment.ts
│ │ │ │ ├── payments.mock.ts
│ │ │ │ ├── ppsdk-payment-method.spec.ts
│ │ │ │ ├── ppsdk-payment-method.ts
│ │ │ │ ├── storefront-stored-card-request-sender.spec.ts
│ │ │ │ ├── storefront-stored-card-request-sender.ts
│ │ │ │ └── strategies/
│ │ │ │ ├── converge/
│ │ │ │ │ ├── converge-payment-strategy.spec.ts
│ │ │ │ │ ├── converge-payment-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── credit-card/
│ │ │ │ │ ├── credit-card-payment-strategy.spec.ts
│ │ │ │ │ ├── credit-card-payment-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── credit-card-redirect/
│ │ │ │ │ ├── credit-card-redirect-payment-strategy.spec.ts
│ │ │ │ │ ├── credit-card-redirect-payment-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── payment-strategy.ts
│ │ │ │ ├── paypal/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── paypal-script-loader.ts
│ │ │ │ │ └── paypal-sdk.ts
│ │ │ │ └── ppsdk/
│ │ │ │ ├── create-ppsdk-sub-strategy-registry.ts
│ │ │ │ ├── get-ppsdk-payment-method.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── initialization-strategies/
│ │ │ │ │ ├── card.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── none.ts
│ │ │ │ ├── ppsdk-completed-payments.spec.ts
│ │ │ │ ├── ppsdk-completed-payments.ts
│ │ │ │ ├── ppsdk-payment-resumer.spec.ts
│ │ │ │ ├── ppsdk-payment-resumer.ts
│ │ │ │ ├── ppsdk-payments-api-response.ts
│ │ │ │ ├── ppsdk-strategy.spec.ts
│ │ │ │ ├── ppsdk-strategy.ts
│ │ │ │ ├── ppsdk-sub-strategy-registry.ts
│ │ │ │ ├── ppsdk-sub-strategy-type.ts
│ │ │ │ ├── ppsdk-sub-strategy.ts
│ │ │ │ ├── step-handler/
│ │ │ │ │ ├── continue-handler/
│ │ │ │ │ │ ├── continue-handler.spec.ts
│ │ │ │ │ │ ├── continue-handler.ts
│ │ │ │ │ │ ├── human-verification/
│ │ │ │ │ │ │ ├── human-verification.ts
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── redirect/
│ │ │ │ │ │ ├── RedirectionState.spec.ts
│ │ │ │ │ │ ├── RedirectionState.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ ├── redirect.spec.ts
│ │ │ │ │ │ └── redirect.ts
│ │ │ │ │ ├── create-step-handler.ts
│ │ │ │ │ ├── error.spec.ts
│ │ │ │ │ ├── error.ts
│ │ │ │ │ ├── failure.spec.ts
│ │ │ │ │ ├── failure.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── step-handler.spec.ts
│ │ │ │ │ ├── step-handler.ts
│ │ │ │ │ ├── success.spec.ts
│ │ │ │ │ ├── success.ts
│ │ │ │ │ ├── unsupported.spec.ts
│ │ │ │ │ └── unsupported.ts
│ │ │ │ └── sub-strategies/
│ │ │ │ ├── card-sub-strategy.spec.ts
│ │ │ │ ├── card-sub-strategy.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── none-sub-strategy.spec.ts
│ │ │ │ └── none-sub-strategy.ts
│ │ │ ├── payment-integration/
│ │ │ │ ├── create-payment-integration-selectors.spec.ts
│ │ │ │ ├── create-payment-integration-selectors.ts
│ │ │ │ ├── create-payment-integration-service.spec.ts
│ │ │ │ ├── create-payment-integration-service.ts
│ │ │ │ ├── default-payment-integration-service.spec.ts
│ │ │ │ ├── default-payment-integration-service.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── payment-integration-store-projection-factory.spec.ts
│ │ │ │ ├── payment-integration-store-projection-factory.ts
│ │ │ │ ├── register-integrations.spec.ts
│ │ │ │ └── register-integrations.ts
│ │ │ ├── payment-provider-customer/
│ │ │ │ ├── index.ts
│ │ │ │ ├── payment-provider-customer-actions-creator.ts
│ │ │ │ ├── payment-provider-customer-actions.ts
│ │ │ │ ├── payment-provider-customer-reducer.ts
│ │ │ │ ├── payment-provider-customer-selector.ts
│ │ │ │ ├── payment-provider-customer-state.ts
│ │ │ │ └── payment-provider-customer.ts
│ │ │ ├── promotion/
│ │ │ │ ├── index.ts
│ │ │ │ ├── map-to-discount-notifications.ts
│ │ │ │ └── promotion.ts
│ │ │ ├── quote/
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-quote.ts
│ │ │ │ ├── internal-quotes.mock.ts
│ │ │ │ ├── map-to-internal-quote.spec.ts
│ │ │ │ └── map-to-internal-quote.ts
│ │ │ ├── remote-checkout/
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── remote-checkout-synchronization-error.spec.ts
│ │ │ │ │ └── remote-checkout-synchronization-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── methods/
│ │ │ │ │ ├── amazon-pay-remote-checkout.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── remote-checkout-action-creator.spec.ts
│ │ │ │ ├── remote-checkout-action-creator.ts
│ │ │ │ ├── remote-checkout-actions.ts
│ │ │ │ ├── remote-checkout-reducer.spec.ts
│ │ │ │ ├── remote-checkout-reducer.ts
│ │ │ │ ├── remote-checkout-request-sender.spec.ts
│ │ │ │ ├── remote-checkout-request-sender.ts
│ │ │ │ ├── remote-checkout-selector.spec.ts
│ │ │ │ ├── remote-checkout-selector.ts
│ │ │ │ ├── remote-checkout-state.ts
│ │ │ │ ├── remote-checkout.mock.ts
│ │ │ │ └── remote-checkout.ts
│ │ │ ├── shipping/
│ │ │ │ ├── ShippableItem.ts
│ │ │ │ ├── consignment-action-creator.spec.ts
│ │ │ │ ├── consignment-action-creator.ts
│ │ │ │ ├── consignment-actions.ts
│ │ │ │ ├── consignment-discount.ts
│ │ │ │ ├── consignment-reducer.spec.ts
│ │ │ │ ├── consignment-reducer.ts
│ │ │ │ ├── consignment-request-sender.spec.ts
│ │ │ │ ├── consignment-request-sender.ts
│ │ │ │ ├── consignment-selector.spec.ts
│ │ │ │ ├── consignment-selector.ts
│ │ │ │ ├── consignment-state.ts
│ │ │ │ ├── consignment.ts
│ │ │ │ ├── consignments.mock.ts
│ │ │ │ ├── create-shipping-strategy-registry.spec.ts
│ │ │ │ ├── create-shipping-strategy-registry.ts
│ │ │ │ ├── findConsignment.ts
│ │ │ │ ├── getShippableItemsCount.spec.ts
│ │ │ │ ├── getShippableLineItems.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-shipping-addresses.mock.ts
│ │ │ │ ├── internal-shipping-option.ts
│ │ │ │ ├── internal-shipping-options.mock.ts
│ │ │ │ ├── map-to-internal-shipping-option.spec.ts
│ │ │ │ ├── map-to-internal-shipping-option.ts
│ │ │ │ ├── map-to-internal-shipping-options.spec.ts
│ │ │ │ ├── map-to-internal-shipping-options.ts
│ │ │ │ ├── pickup-option-action-creator.spec.ts
│ │ │ │ ├── pickup-option-action-creator.ts
│ │ │ │ ├── pickup-option-actions.ts
│ │ │ │ ├── pickup-option-reducer.spec.ts
│ │ │ │ ├── pickup-option-reducer.ts
│ │ │ │ ├── pickup-option-request-sender.spec.ts
│ │ │ │ ├── pickup-option-request-sender.ts
│ │ │ │ ├── pickup-option-selector.spec.ts
│ │ │ │ ├── pickup-option-selector.ts
│ │ │ │ ├── pickup-option-state.ts
│ │ │ │ ├── pickup-option.mock.ts
│ │ │ │ ├── pickup-option.ts
│ │ │ │ ├── shipping-address-selector.spec.ts
│ │ │ │ ├── shipping-address-selector.ts
│ │ │ │ ├── shipping-address.ts
│ │ │ │ ├── shipping-addresses.mock.ts
│ │ │ │ ├── shipping-countries.mock.ts
│ │ │ │ ├── shipping-country-action-creator.spec.ts
│ │ │ │ ├── shipping-country-action-creator.ts
│ │ │ │ ├── shipping-country-actions.ts
│ │ │ │ ├── shipping-country-reducer.spec.ts
│ │ │ │ ├── shipping-country-reducer.ts
│ │ │ │ ├── shipping-country-request-sender.spec.ts
│ │ │ │ ├── shipping-country-request-sender.ts
│ │ │ │ ├── shipping-country-selector.spec.ts
│ │ │ │ ├── shipping-country-selector.ts
│ │ │ │ ├── shipping-country-state.ts
│ │ │ │ ├── shipping-option.ts
│ │ │ │ ├── shipping-options.mock.ts
│ │ │ │ ├── shipping-request-options.ts
│ │ │ │ ├── shipping-state.ts
│ │ │ │ ├── shipping-strategy-action-creator.spec.ts
│ │ │ │ ├── shipping-strategy-action-creator.ts
│ │ │ │ ├── shipping-strategy-actions.ts
│ │ │ │ ├── shipping-strategy-reducer.spec.ts
│ │ │ │ ├── shipping-strategy-reducer.ts
│ │ │ │ ├── shipping-strategy-selector.spec.ts
│ │ │ │ ├── shipping-strategy-selector.ts
│ │ │ │ ├── shipping-strategy-state.ts
│ │ │ │ └── strategies/
│ │ │ │ ├── amazon-pay-v2/
│ │ │ │ │ ├── amazon-pay-v2-shipping-initialize-options.ts
│ │ │ │ │ ├── amazon-pay-v2-shipping-strategy.spec.ts
│ │ │ │ │ ├── amazon-pay-v2-shipping-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── bigcommerce-payments/
│ │ │ │ │ ├── bigcommerce-payments-fastlane-shipping-initialization-options.ts
│ │ │ │ │ ├── bigcommerce-payments-fastlane-shipping-strategy.spec.ts
│ │ │ │ │ ├── bigcommerce-payments-fastlane-shipping-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── braintree/
│ │ │ │ │ ├── braintree-fastlane-shipping-initialize-options.ts
│ │ │ │ │ ├── braintree-fastlane-shipping-strategy.spec.ts
│ │ │ │ │ ├── braintree-fastlane-shipping-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── default/
│ │ │ │ │ ├── default-shipping-strategy.spec.ts
│ │ │ │ │ ├── default-shipping-strategy.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── fastlane-shipping-initialize-options.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── paypal-commerce/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── paypal-commerce-fastlane-shipping-initialization-options.ts
│ │ │ │ │ ├── paypal-commerce-fastlane-shipping-strategy.spec.ts
│ │ │ │ │ └── paypal-commerce-fastlane-shipping-strategy.ts
│ │ │ │ ├── shipping-strategy.spec.ts
│ │ │ │ ├── shipping-strategy.ts
│ │ │ │ └── stripe-upe/
│ │ │ │ ├── index.ts
│ │ │ │ ├── stripe-upe-shipping-initialize-options.ts
│ │ │ │ ├── stripe-upe-shipping-strategy.spec.ts
│ │ │ │ ├── stripe-upe-shipping-strategy.ts
│ │ │ │ └── stripe-upe-shipping.mock.ts
│ │ │ ├── signin-email/
│ │ │ │ ├── index.ts
│ │ │ │ ├── signin-email-action-creator.spec.ts
│ │ │ │ ├── signin-email-action-creator.ts
│ │ │ │ ├── signin-email-actions.ts
│ │ │ │ ├── signin-email-reducer.spec.ts
│ │ │ │ ├── signin-email-reducer.ts
│ │ │ │ ├── signin-email-request-sender.spec.ts
│ │ │ │ ├── signin-email-request-sender.ts
│ │ │ │ ├── signin-email-selector.spec.ts
│ │ │ │ ├── signin-email-selector.ts
│ │ │ │ ├── signin-email-state.ts
│ │ │ │ └── signin-email.ts
│ │ │ ├── spam-protection/
│ │ │ │ ├── create-spam-protection.spec.ts
│ │ │ │ ├── create-spam-protection.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── carding-protection-challenge-not-completed-error.spec.ts
│ │ │ │ │ ├── carding-protection-challenge-not-completed-error.ts
│ │ │ │ │ ├── carding-protection-failed-error.spec.ts
│ │ │ │ │ ├── carding-protection-failed-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── spam-protection-challenge-not-completed-error.spec.ts
│ │ │ │ │ ├── spam-protection-challenge-not-completed-error.ts
│ │ │ │ │ ├── spam-protection-failed-error.spec.ts
│ │ │ │ │ ├── spam-protection-failed-error.ts
│ │ │ │ │ ├── spam-protection-not-completed-error.spec.ts
│ │ │ │ │ ├── spam-protection-not-completed-error.ts
│ │ │ │ │ ├── spam-protection-not-loaded-error.spec.ts
│ │ │ │ │ └── spam-protection-not-loaded-error.ts
│ │ │ │ ├── google-recaptcha-script-loader.spec.ts
│ │ │ │ ├── google-recaptcha-script-loader.ts
│ │ │ │ ├── google-recaptcha.mock.ts
│ │ │ │ ├── google-recaptcha.spec.ts
│ │ │ │ ├── google-recaptcha.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── is-spam-protection-succeeded-action.ts
│ │ │ │ ├── payment-human-verification-handler.spec.ts
│ │ │ │ ├── payment-human-verification-handler.ts
│ │ │ │ ├── spam-protection-action-creator.spec.ts
│ │ │ │ ├── spam-protection-action-creator.ts
│ │ │ │ ├── spam-protection-actions.ts
│ │ │ │ ├── spam-protection-options.ts
│ │ │ │ ├── spam-protection-request-sender.spec.ts
│ │ │ │ └── spam-protection-request-sender.ts
│ │ │ ├── store-credit/
│ │ │ │ ├── index.ts
│ │ │ │ ├── store-credit-action-creator.spec.ts
│ │ │ │ ├── store-credit-action-creator.ts
│ │ │ │ ├── store-credit-actions.ts
│ │ │ │ ├── store-credit-reducer.spec.ts
│ │ │ │ ├── store-credit-reducer.ts
│ │ │ │ ├── store-credit-request-sender.spec.ts
│ │ │ │ ├── store-credit-request-sender.ts
│ │ │ │ ├── store-credit-selector.spec.ts
│ │ │ │ ├── store-credit-selector.ts
│ │ │ │ └── store-credit-state.ts
│ │ │ ├── subscription/
│ │ │ │ ├── errors/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── update-subscriptions-error.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── subscriptions-action-creator.ts
│ │ │ │ ├── subscriptions-actions.ts
│ │ │ │ ├── subscriptions-reducer.spec.ts
│ │ │ │ ├── subscriptions-reducer.ts
│ │ │ │ ├── subscriptions-request-sender.spec.ts
│ │ │ │ ├── subscriptions-request-sender.ts
│ │ │ │ ├── subscriptions-selector.spec.ts
│ │ │ │ ├── subscriptions-selector.ts
│ │ │ │ ├── subscriptions-state.ts
│ │ │ │ └── subscriptions.ts
│ │ │ └── tax/
│ │ │ ├── index.ts
│ │ │ └── tax.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.spec.json
│ │ └── typedoc.json
│ ├── credit-card-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-credit-card-payment-strategy.spec.ts
│ │ │ ├── create-credit-card-payment-strategy.ts
│ │ │ ├── credit-card-payment-initialize-options.ts
│ │ │ ├── credit-card-payment-strategy.spec.ts
│ │ │ ├── credit-card-payment-strategy.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── cybersource-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── cybersource/
│ │ │ │ ├── create-cybersource-payment-strategy.spec.ts
│ │ │ │ ├── create-cybersource-payment-strategy.ts
│ │ │ │ ├── cybersource-payment-strategy.spec.ts
│ │ │ │ └── cybersource-payment-strategy.ts
│ │ │ ├── cybersource.mock.ts
│ │ │ ├── cybersourcev2/
│ │ │ │ ├── create-cybersource-payment-strategy.spec.ts
│ │ │ │ ├── create-cybersourcev2-payment-strategy.ts
│ │ │ │ ├── cybersourcev2-payment-strategy.spec.ts
│ │ │ │ └── cybersourcev2-payment-strategy.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── external-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── external-payment-strategy.spec.ts
│ │ │ ├── external-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ └── is-additional-action.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── google-pay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── factories/
│ │ │ │ ├── button/
│ │ │ │ │ ├── create-google-pay-adyenv2-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-adyenv2-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-adyenv3-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-adyenv3-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-authorizenet-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-authorizenet-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-braintree-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-braintree-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-checkoutcom-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-checkoutcom-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-cybersource-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-cybersource-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-orbital-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-orbital-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-tdonlinemart-button-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-tdonlinemart-button-strategy.ts
│ │ │ │ │ ├── create-google-pay-worldpayaccess-button-strategy.spec.ts
│ │ │ │ │ └── create-google-pay-worldpayaccess-button-strategy.ts
│ │ │ │ ├── create-google-pay-script-loader.spec.ts
│ │ │ │ ├── create-google-pay-script-loader.ts
│ │ │ │ ├── customer/
│ │ │ │ │ ├── create-google-pay-adyenv2-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-adyenv2-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-adyenv3-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-adyenv3-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-authorizenet-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-authorizenet-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-bnz-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-bnz-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-braintree-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-braintree-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-checkoutcom-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-checkoutcom-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-cybersource-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-cybersource-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-orbital-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-orbital-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-tdonlinemart-customer-strategy.spec.ts
│ │ │ │ │ ├── create-google-pay-tdonlinemart-customer-strategy.ts
│ │ │ │ │ ├── create-google-pay-worldpayaccess-customer-strategy.spec.ts
│ │ │ │ │ └── create-google-pay-worldpayaccess-customer-strategy.ts
│ │ │ │ └── payment/
│ │ │ │ ├── create-google-pay-adyenv2-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-adyenv2-payment-strategy.ts
│ │ │ │ ├── create-google-pay-adyenv3-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-adyenv3-payment-strategy.ts
│ │ │ │ ├── create-google-pay-authorizenet-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-authorizenet-payment-strategy.ts
│ │ │ │ ├── create-google-pay-braintree-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-braintree-payment-strategy.ts
│ │ │ │ ├── create-google-pay-checkoutcom-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-checkoutcom-payment-strategy.ts
│ │ │ │ ├── create-google-pay-cybersource-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-cybersource-payment-strategy.ts
│ │ │ │ ├── create-google-pay-orbital-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-orbital-payment-strategy.ts
│ │ │ │ ├── create-google-pay-tdonlinemart-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-tdonlinemart-payment-strategy.ts
│ │ │ │ ├── create-google-pay-worldpayaccess-payment-strategy.spec.ts
│ │ │ │ └── create-google-pay-worldpayaccess-payment-strategy.ts
│ │ │ ├── gateways/
│ │ │ │ ├── google-pay-adyenv2-gateway.spec.ts
│ │ │ │ ├── google-pay-adyenv2-gateway.ts
│ │ │ │ ├── google-pay-adyenv3-gateway.spec.ts
│ │ │ │ ├── google-pay-adyenv3-gateway.ts
│ │ │ │ ├── google-pay-authorizenet-gateway.spec.ts
│ │ │ │ ├── google-pay-authorizenet-gateway.ts
│ │ │ │ ├── google-pay-braintree-gateway.spec.ts
│ │ │ │ ├── google-pay-braintree-gateway.ts
│ │ │ │ ├── google-pay-checkoutcom-gateway.spec.ts
│ │ │ │ ├── google-pay-checkoutcom-gateway.ts
│ │ │ │ ├── google-pay-cybersource-gateway.spec.ts
│ │ │ │ ├── google-pay-cybersource-gateway.ts
│ │ │ │ ├── google-pay-gateway.spec.ts
│ │ │ │ ├── google-pay-gateway.ts
│ │ │ │ ├── google-pay-orbital-gateway.spec.ts
│ │ │ │ ├── google-pay-orbital-gateway.ts
│ │ │ │ ├── google-pay-tdonlinemart-gateway.spec.ts
│ │ │ │ ├── google-pay-tdonlinemart-gateway.ts
│ │ │ │ ├── google-pay-worldpayaccess-gateway.spec.ts
│ │ │ │ └── google-pay-worldpayaccess-gateway.ts
│ │ │ ├── google-pay-bigcommerce-payments/
│ │ │ │ ├── create-google-pay-bigcommerce-payments-button-strategy.spec.ts
│ │ │ │ ├── create-google-pay-bigcommerce-payments-button-strategy.ts
│ │ │ │ ├── create-google-pay-bigcommerce-payments-customer-strategy.spec.ts
│ │ │ │ ├── create-google-pay-bigcommerce-payments-customer-strategy.ts
│ │ │ │ ├── create-google-pay-bigcommerce-payments-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-bigcommerce-payments-payment-strategy.ts
│ │ │ │ ├── google-pay-bigcommerce-payments-gateway.spec.ts
│ │ │ │ ├── google-pay-bigcommerce-payments-gateway.ts
│ │ │ │ ├── google-pay-bigcommerce-payments-payment-strategy.spec.ts
│ │ │ │ ├── google-pay-bigcommerce-payments-payment-strategy.ts
│ │ │ │ └── types.ts
│ │ │ ├── google-pay-button-initialize-option.ts
│ │ │ ├── google-pay-button-initialize-options.ts
│ │ │ ├── google-pay-button-strategy.spec.ts
│ │ │ ├── google-pay-button-strategy.ts
│ │ │ ├── google-pay-customer-initialize-options.ts
│ │ │ ├── google-pay-customer-strategy.spec.ts
│ │ │ ├── google-pay-customer-strategy.ts
│ │ │ ├── google-pay-payment-initialize-options.ts
│ │ │ ├── google-pay-payment-processor.spec.ts
│ │ │ ├── google-pay-payment-processor.ts
│ │ │ ├── google-pay-payment-strategy.spec.ts
│ │ │ ├── google-pay-payment-strategy.ts
│ │ │ ├── google-pay-paypal-commerce/
│ │ │ │ ├── create-google-pay-paypal-commerce-button-strategy.spec.ts
│ │ │ │ ├── create-google-pay-paypal-commerce-button-strategy.ts
│ │ │ │ ├── create-google-pay-paypal-commerce-customer-strategy.spec.ts
│ │ │ │ ├── create-google-pay-paypal-commerce-customer-strategy.ts
│ │ │ │ ├── create-google-pay-paypal-commerce-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-paypal-commerce-payment-strategy.ts
│ │ │ │ ├── google-pay-paypal-commerce-gateway.spec.ts
│ │ │ │ ├── google-pay-paypal-commerce-gateway.ts
│ │ │ │ ├── google-pay-paypal-commerce-payment-strategy.spec.ts
│ │ │ │ ├── google-pay-paypal-commerce-payment-strategy.ts
│ │ │ │ └── types.ts
│ │ │ ├── google-pay-script-loader.spec.ts
│ │ │ ├── google-pay-script-loader.ts
│ │ │ ├── google-pay-stripe/
│ │ │ │ ├── create-google-pay-stripe-button-strategy.spec.ts
│ │ │ │ ├── create-google-pay-stripe-button-strategy.ts
│ │ │ │ ├── create-google-pay-stripe-customer-strategy.spec.ts
│ │ │ │ ├── create-google-pay-stripe-customer-strategy.ts
│ │ │ │ ├── create-google-pay-stripe-payment-strategy.spec.ts
│ │ │ │ ├── create-google-pay-stripe-payment-strategy.ts
│ │ │ │ ├── create-google-pay-stripeupe-customer-strategy.spec.ts
│ │ │ │ ├── create-google-pay-stripeupe-customer-strategy.ts
│ │ │ │ ├── google-pay-stripe-gateway.spec.ts
│ │ │ │ ├── google-pay-stripe-gateway.ts
│ │ │ │ └── types.ts
│ │ │ ├── guards/
│ │ │ │ ├── is-google-pay-additional-action-processable.spec.ts
│ │ │ │ ├── is-google-pay-additional-action-processable.ts
│ │ │ │ ├── is-google-pay-authorizenet-initialization-data.spec.ts
│ │ │ │ ├── is-google-pay-authorizenet-initialization-data.ts
│ │ │ │ ├── is-google-pay-braintree-token-object.spec.ts
│ │ │ │ ├── is-google-pay-braintree-token-object.ts
│ │ │ │ ├── is-google-pay-card-network-key.spec.ts
│ │ │ │ ├── is-google-pay-card-network-key.ts
│ │ │ │ ├── is-google-pay-checkoutcom-initialization-data.spec.ts
│ │ │ │ ├── is-google-pay-checkoutcom-initialization-data.ts
│ │ │ │ ├── is-google-pay-error-object.spec.ts
│ │ │ │ ├── is-google-pay-error-object.ts
│ │ │ │ ├── is-google-pay-key.spec.ts
│ │ │ │ ├── is-google-pay-key.ts
│ │ │ │ ├── is-google-pay-paypal-commerce-payment-method.ts
│ │ │ │ ├── is-google-pay-stripe-initialization-data.spec.ts
│ │ │ │ ├── is-google-pay-stripe-initialization-data.ts
│ │ │ │ ├── is-google-pay-stripe-request-error.ts
│ │ │ │ ├── is-google-pay-stripe-token-object.spec.ts
│ │ │ │ ├── is-google-pay-stripe-token-object.ts
│ │ │ │ ├── is-google-pay-td-online-mart-additional-action.spec.ts
│ │ │ │ ├── is-google-pay-td-online-mart-additional-action.ts
│ │ │ │ ├── is-google-pay-threedsecure-result.spec.ts
│ │ │ │ ├── is-google-pay-threedsecure-result.ts
│ │ │ │ ├── is-google-pay-token-object.spec.ts
│ │ │ │ └── is-google-pay-token-object.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── google-pay-base-initialization-data.mock.ts
│ │ │ │ ├── google-pay-card-data-response.mock.ts
│ │ │ │ ├── google-pay-config.mock.ts
│ │ │ │ ├── google-pay-payment-method.mock.ts
│ │ │ │ ├── google-pay-payments-client.mock.ts
│ │ │ │ ├── google-pay-processor-initialize.mock.ts
│ │ │ │ ├── google-pay-threedsecure-request-error.mock.ts
│ │ │ │ └── google-pay.mock.ts
│ │ │ └── types.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── hosted-form-v2/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── api-extractor/
│ │ │ ├── hosted-form-v2-iframe-content.json
│ │ │ └── hosted-form-v2-iframe-host.json
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bundles/
│ │ │ │ ├── hosted-form-v2-iframe-content.ts
│ │ │ │ └── hosted-form-v2-iframe-host.ts
│ │ │ ├── common/
│ │ │ │ ├── dom/
│ │ │ │ │ ├── detachment-observer.spec.ts
│ │ │ │ │ ├── detachment-observer.ts
│ │ │ │ │ ├── errors/
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── unexpected-detachment-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── mutation-observer.ts
│ │ │ │ ├── errors/
│ │ │ │ │ ├── custom-error.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── invalid-argument-error.spec.ts
│ │ │ │ │ ├── invalid-argument-error.ts
│ │ │ │ │ ├── map-from-payment-error-response.spec.ts
│ │ │ │ │ ├── map-from-payment-error-response.ts
│ │ │ │ │ ├── not-initialized-error.spec.ts
│ │ │ │ │ ├── not-initialized-error.ts
│ │ │ │ │ ├── request-error.spec.ts
│ │ │ │ │ ├── request-error.ts
│ │ │ │ │ ├── standard-error.spec.ts
│ │ │ │ │ └── standard-error.ts
│ │ │ │ ├── http-request/
│ │ │ │ │ ├── content-type.ts
│ │ │ │ │ └── responses.mock.ts
│ │ │ │ ├── iframe/
│ │ │ │ │ ├── iframe-event-listener.spec.ts
│ │ │ │ │ ├── iframe-event-listener.ts
│ │ │ │ │ ├── iframe-event-poster.spec.ts
│ │ │ │ │ ├── iframe-event-poster.ts
│ │ │ │ │ ├── iframe-event.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── is-iframe-event.spec.ts
│ │ │ │ │ └── is-iframe-event.ts
│ │ │ │ ├── types/
│ │ │ │ │ ├── card-validator.d.ts
│ │ │ │ │ └── webpack.d.ts
│ │ │ │ ├── url/
│ │ │ │ │ ├── append-www.spec.ts
│ │ │ │ │ ├── append-www.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── parse-url.spec.ts
│ │ │ │ │ ├── parse-url.ts
│ │ │ │ │ └── url.ts
│ │ │ │ └── utility/
│ │ │ │ ├── bind-decorator.spec.ts
│ │ │ │ ├── bind-decorator.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── set-prototype-of.spec.ts
│ │ │ │ └── set-prototype-of.ts
│ │ │ ├── create-hosted-form-service.ts
│ │ │ ├── create-hosted-form-stored-card-service.spec.ts
│ │ │ ├── create-hosted-form-stored-card-service.ts
│ │ │ ├── errors/
│ │ │ │ ├── error-response-body.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── invalid-hosted-form-config-error.ts
│ │ │ │ ├── invalid-hosted-form-error.ts
│ │ │ │ └── invalid-hosted-form-value-error.ts
│ │ │ ├── hosted-field-events.ts
│ │ │ ├── hosted-field-type.ts
│ │ │ ├── hosted-field.spec.ts
│ │ │ ├── hosted-field.ts
│ │ │ ├── hosted-form-factory.spec.ts
│ │ │ ├── hosted-form-factory.ts
│ │ │ ├── hosted-form-manual-order-data.ts
│ │ │ ├── hosted-form-options.ts
│ │ │ ├── hosted-form-order-data-transformer.spec.ts
│ │ │ ├── hosted-form-order-data-transformer.ts
│ │ │ ├── hosted-form-order-data.mock.ts
│ │ │ ├── hosted-form-order-data.ts
│ │ │ ├── hosted-form-service.ts
│ │ │ ├── hosted-form.spec.ts
│ │ │ ├── hosted-form.ts
│ │ │ ├── hosted-input-initialize-error-data.ts
│ │ │ ├── hosted-input-validate-error-data.ts
│ │ │ ├── hosted-input-validate-results.ts
│ │ │ ├── iframe-content/
│ │ │ │ ├── card-expiry-date.ts
│ │ │ │ ├── card-expiry-formatter.spec.ts
│ │ │ │ ├── card-expiry-formatter.ts
│ │ │ │ ├── card-number-formatter.spec.ts
│ │ │ │ ├── card-number-formatter.ts
│ │ │ │ ├── get-hosted-input-storage.ts
│ │ │ │ ├── hosted-autocomplete-fieldset.spec.ts
│ │ │ │ ├── hosted-autocomplete-fieldset.ts
│ │ │ │ ├── hosted-card-expiry-input.spec.ts
│ │ │ │ ├── hosted-card-expiry-input.ts
│ │ │ │ ├── hosted-card-number-input.spec.ts
│ │ │ │ ├── hosted-card-number-input.ts
│ │ │ │ ├── hosted-input-aggregator.spec.ts
│ │ │ │ ├── hosted-input-aggregator.ts
│ │ │ │ ├── hosted-input-events.ts
│ │ │ │ ├── hosted-input-factory.spec.ts
│ │ │ │ ├── hosted-input-factory.ts
│ │ │ │ ├── hosted-input-initialize-error-data.ts
│ │ │ │ ├── hosted-input-initializer.spec.ts
│ │ │ │ ├── hosted-input-initializer.ts
│ │ │ │ ├── hosted-input-manual-order-payment-handler.spec.ts
│ │ │ │ ├── hosted-input-manual-order-payment-handler.ts
│ │ │ │ ├── hosted-input-options.ts
│ │ │ │ ├── hosted-input-storage.spec.ts
│ │ │ │ ├── hosted-input-storage.ts
│ │ │ │ ├── hosted-input-stored-card-handler.spec.ts
│ │ │ │ ├── hosted-input-stored-card-handler.ts
│ │ │ │ ├── hosted-input-styles.ts
│ │ │ │ ├── hosted-input-validate-error-data.ts
│ │ │ │ ├── hosted-input-validate-results.ts
│ │ │ │ ├── hosted-input-validator.spec.ts
│ │ │ │ ├── hosted-input-validator.ts
│ │ │ │ ├── hosted-input-values.ts
│ │ │ │ ├── hosted-input-window.ts
│ │ │ │ ├── hosted-input.spec.ts
│ │ │ │ ├── hosted-input.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── initialize-hosted-input.ts
│ │ │ │ ├── map-to-accessibility-label.spec.ts
│ │ │ │ ├── map-to-accessibility-label.ts
│ │ │ │ ├── map-to-autocomplete-type.spec.ts
│ │ │ │ ├── map-to-autocomplete-type.ts
│ │ │ │ └── notify-initialize-error.ts
│ │ │ ├── index.ts
│ │ │ ├── payment/
│ │ │ │ ├── Instrument.ts
│ │ │ │ ├── bigpay-client.d.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── manual-order-payment-request-sender.spec.ts
│ │ │ │ ├── manual-order-payment-request-sender.ts
│ │ │ │ ├── storefront-stored-card-request-sender.spec.ts
│ │ │ │ └── storefront-stored-card-request-sender.ts
│ │ │ ├── stored-card-hosted-form-service.spec.ts
│ │ │ ├── stored-card-hosted-form-service.ts
│ │ │ ├── stored-card-hosted-form-type.ts
│ │ │ ├── stored-card-hosted-form.mock.ts
│ │ │ └── utils/
│ │ │ ├── index.ts
│ │ │ └── isOfflinePaymentMethodId.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── humm-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-humm-payment-strategy.spec.ts
│ │ │ ├── create-humm-payment-strategy.ts
│ │ │ ├── humm-payment-method.mock.ts
│ │ │ ├── humm-payment-strategy.spec.ts
│ │ │ ├── humm-payment-strategy.ts
│ │ │ ├── humm.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── klarna-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── klarna/
│ │ │ │ ├── create-klarna-payment-strategy.spec.ts
│ │ │ │ ├── create-klarna-payment-strategy.ts
│ │ │ │ ├── klarna-credit.ts
│ │ │ │ ├── klarna-payment-initialize-options.ts
│ │ │ │ ├── klarna-payment-strategy.spec.ts
│ │ │ │ ├── klarna-payment-strategy.ts
│ │ │ │ ├── klarna-script-loader.spec.ts
│ │ │ │ ├── klarna-script-loader.ts
│ │ │ │ ├── klarna-window.ts
│ │ │ │ └── klarna.mock.ts
│ │ │ └── klarnav2/
│ │ │ ├── create-klarnav2-payment-strategy.spec.ts
│ │ │ ├── create-klarnav2-payment-strategy.ts
│ │ │ ├── klarna-payments.ts
│ │ │ ├── klarna-supported-countries.ts
│ │ │ ├── klarnav2-payment-initialize-options.ts
│ │ │ ├── klarnav2-payment-strategy.spec.ts
│ │ │ ├── klarnav2-payment-strategy.ts
│ │ │ ├── klarnav2-script-loader.spec.ts
│ │ │ ├── klarnav2-script-loader.ts
│ │ │ ├── klarnav2-token-updater.spec.ts
│ │ │ ├── klarnav2-token-updater.ts
│ │ │ ├── klarnav2-window.ts
│ │ │ └── klarnav2.mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── legacy-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-legacy-payment-strategy.ts
│ │ │ ├── create-legacy-payment-stratey.spec.ts
│ │ │ ├── index.ts
│ │ │ ├── legacy-payment-strategy.spec.ts
│ │ │ └── legacy-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── mollie-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-mollie-payment-strategy.spec.ts
│ │ │ ├── create-mollie-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── is-mollie-window.ts
│ │ │ ├── mollie-payment-initialize-options.ts
│ │ │ ├── mollie-payment-strategy.spec.ts
│ │ │ ├── mollie-payment-strategy.ts
│ │ │ ├── mollie-script-loader.ts
│ │ │ ├── mollie.mock.ts
│ │ │ └── mollie.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── moneris-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-moneris-payment-strategy.test.ts
│ │ │ ├── create-moneris-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── moneris-payment-initialize-options.ts
│ │ │ ├── moneris-payment-method.mock.ts
│ │ │ ├── moneris-payment-strategy.test.ts
│ │ │ ├── moneris-payment-strategy.ts
│ │ │ ├── moneris.mock.ts
│ │ │ └── moneris.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── no-payment-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-no-payment-strategy.spec.ts
│ │ │ ├── create-no-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── no-payment-data-required-strategy.spec.ts
│ │ │ └── no-payment-data-required-strategy.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── offline-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-offline-payment-strategy.spec.ts
│ │ │ ├── create-offline-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── offline-payment-strategy.spec.ts
│ │ │ └── offline-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── offsite-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-offsite-payment-strategy.spec.ts
│ │ │ ├── create-offsite-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── offsite-payment-strategy.spec.ts
│ │ │ └── offsite-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── payment-integration-api/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── address/
│ │ │ │ ├── address.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-address.ts
│ │ │ │ └── legacy-address.ts
│ │ │ ├── billing/
│ │ │ │ ├── billing-address.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── is-billing-address-like.ts
│ │ │ ├── browser/
│ │ │ │ ├── browser.ts
│ │ │ │ └── index.ts
│ │ │ ├── cart/
│ │ │ │ ├── buy-now-cart-request-body.ts
│ │ │ │ ├── cart-source.ts
│ │ │ │ ├── cart.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-line-item.ts
│ │ │ │ ├── line-item-map.ts
│ │ │ │ └── line-item.ts
│ │ │ ├── checkout/
│ │ │ │ ├── checkout.ts
│ │ │ │ └── index.ts
│ │ │ ├── checkout-buttons/
│ │ │ │ ├── checkout-button-initialize-options.ts
│ │ │ │ ├── checkout-button-strategy-factory.ts
│ │ │ │ ├── checkout-button-strategy-resolve-id.ts
│ │ │ │ ├── checkout-button-strategy.ts
│ │ │ │ ├── default-checkout-button-height.ts
│ │ │ │ └── index.ts
│ │ │ ├── common/
│ │ │ │ ├── browser-info/
│ │ │ │ │ ├── browser-info.ts
│ │ │ │ │ ├── get-browser-info.spec.ts
│ │ │ │ │ ├── get-browser-info.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── cancellable-promise/
│ │ │ │ │ ├── cancellable-promise.spec.ts
│ │ │ │ │ ├── cancellable-promise.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── http-request/
│ │ │ │ │ ├── content-type.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── internal-api-headers.ts
│ │ │ │ │ └── sdk-version-headers.ts
│ │ │ │ ├── types/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── omit.ts
│ │ │ │ │ ├── partial-deep.ts
│ │ │ │ │ └── webpack.d.ts
│ │ │ │ └── utility/
│ │ │ │ ├── amount-transformer.spec.ts
│ │ │ │ ├── amount-transformer.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── object-with-kebab-case-keys.spec.ts
│ │ │ │ └── object-with-kebab-case-keys.ts
│ │ │ ├── config/
│ │ │ │ ├── capabilities.ts
│ │ │ │ ├── config.ts
│ │ │ │ └── index.ts
│ │ │ ├── coupon/
│ │ │ │ ├── coupon.ts
│ │ │ │ ├── gift-certificate.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-coupon.ts
│ │ │ │ └── internal-gift-certificate.ts
│ │ │ ├── currency/
│ │ │ │ ├── create-currency-service.ts
│ │ │ │ ├── currency-formatter.spec.ts
│ │ │ │ ├── currency-formatter.ts
│ │ │ │ ├── currency-service.ts
│ │ │ │ ├── currency.ts
│ │ │ │ └── index.ts
│ │ │ ├── customer/
│ │ │ │ ├── customer-credentials.ts
│ │ │ │ ├── customer-request-options.ts
│ │ │ │ ├── customer-strategy-factory.ts
│ │ │ │ ├── customer-strategy-resolve-id.ts
│ │ │ │ ├── customer-strategy.ts
│ │ │ │ ├── customer.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── internal-customer.ts
│ │ │ ├── discount/
│ │ │ │ ├── discount-notification.ts
│ │ │ │ ├── discount.ts
│ │ │ │ ├── discounts.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── errors/
│ │ │ │ ├── buy-now-cart-creation-error.ts
│ │ │ │ ├── custom-error.ts
│ │ │ │ ├── error-response-body.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── invalid-argument-error.ts
│ │ │ │ ├── is-request-error.ts
│ │ │ │ ├── isThreeDSecureRequiredError.ts
│ │ │ │ ├── missing-data-error.ts
│ │ │ │ ├── not-implemented-error.ts
│ │ │ │ ├── not-initialized-error.ts
│ │ │ │ ├── order-finalization-not-completed-error.ts
│ │ │ │ ├── order-finalization-not-required-error.ts
│ │ │ │ ├── payment-argument-invalid-error.ts
│ │ │ │ ├── payment-execute-error.spec.ts
│ │ │ │ ├── payment-execute-error.ts
│ │ │ │ ├── payment-invalid-form-error.ts
│ │ │ │ ├── payment-method-cancelled-error.ts
│ │ │ │ ├── payment-method-client-unavailable-error.spec.ts
│ │ │ │ ├── payment-method-client-unavailable-error.ts
│ │ │ │ ├── payment-method-failed-error.ts
│ │ │ │ ├── payment-method-invalid-error.spec.ts
│ │ │ │ ├── payment-method-invalid-error.ts
│ │ │ │ ├── request-error.ts
│ │ │ │ ├── set-prototype-of.ts
│ │ │ │ ├── standard-error.ts
│ │ │ │ ├── timeout-error.spec.ts
│ │ │ │ └── timeout-error.ts
│ │ │ ├── fee/
│ │ │ │ ├── fee.ts
│ │ │ │ └── index.ts
│ │ │ ├── form/
│ │ │ │ ├── form-fields.ts
│ │ │ │ └── index.ts
│ │ │ ├── geography/
│ │ │ │ ├── country.ts
│ │ │ │ └── index.ts
│ │ │ ├── hosted-form/
│ │ │ │ ├── hosted-field-type.ts
│ │ │ │ ├── hosted-form-options.ts
│ │ │ │ ├── hosted-form.ts
│ │ │ │ ├── hosted-input-events.ts
│ │ │ │ ├── iframe-content.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── is-credit-card-form-fields.spec.ts
│ │ │ │ ├── is-credit-card-form-fields.ts
│ │ │ │ └── is-credit-card-vaulted-form-fields.ts
│ │ │ ├── index.ts
│ │ │ ├── is-resolvable-module.spec.ts
│ │ │ ├── is-resolvable-module.ts
│ │ │ ├── mocks/
│ │ │ │ ├── carts.mock.ts
│ │ │ │ ├── config.mock.ts
│ │ │ │ ├── coupons.mock.ts
│ │ │ │ ├── currency.mock.ts
│ │ │ │ └── line-items.mock.ts
│ │ │ ├── order/
│ │ │ │ ├── index.ts
│ │ │ │ ├── internal-order-responses.ts
│ │ │ │ ├── internal-order.ts
│ │ │ │ ├── order-actions.ts
│ │ │ │ ├── order-billing-address.ts
│ │ │ │ ├── order-request-body.ts
│ │ │ │ ├── order-state.ts
│ │ │ │ └── order.ts
│ │ │ ├── payment/
│ │ │ │ ├── index.ts
│ │ │ │ ├── initialize-offsite-payment-config.ts
│ │ │ │ ├── instrument-state.ts
│ │ │ │ ├── instrument.ts
│ │ │ │ ├── is-credit-card-instrument.spec.ts
│ │ │ │ ├── is-credit-card-instrument.ts
│ │ │ │ ├── is-hosted-intrument-like.spec.ts
│ │ │ │ ├── is-hosted-intrument-like.ts
│ │ │ │ ├── is-vaulted-instrument.spec.ts
│ │ │ │ ├── is-vaulted-instrument.ts
│ │ │ │ ├── is-with-account-creation.ts
│ │ │ │ ├── payment-actions.ts
│ │ │ │ ├── payment-additional-action.ts
│ │ │ │ ├── payment-initialize-options.ts
│ │ │ │ ├── payment-method-actions.ts
│ │ │ │ ├── payment-method-config.ts
│ │ │ │ ├── payment-method-initialization-strategy.ts
│ │ │ │ ├── payment-method-meta.ts
│ │ │ │ ├── payment-method.ts
│ │ │ │ ├── payment-request-options.ts
│ │ │ │ ├── payment-response-body.ts
│ │ │ │ ├── payment-response.ts
│ │ │ │ ├── payment-status-types.ts
│ │ │ │ ├── payment-strategy-factory.ts
│ │ │ │ ├── payment-strategy-resolve-id.ts
│ │ │ │ ├── payment-strategy.ts
│ │ │ │ ├── payment.ts
│ │ │ │ ├── storefront-payment-request-sender.spec.ts
│ │ │ │ └── storefront-payment-request-sender.ts
│ │ │ ├── payment-integration-selectors.ts
│ │ │ ├── payment-integration-service.ts
│ │ │ ├── payment-provider-customer/
│ │ │ │ ├── index.ts
│ │ │ │ └── payment-provider-customer.ts
│ │ │ ├── promotion/
│ │ │ │ ├── index.ts
│ │ │ │ └── promotion.ts
│ │ │ ├── remote-checkout/
│ │ │ │ ├── index.ts
│ │ │ │ └── remote-checkout-actions.ts
│ │ │ ├── resolvable-module.ts
│ │ │ ├── shipping/
│ │ │ │ ├── consignment.ts
│ │ │ │ ├── getLineItemsCount.spec.ts
│ │ │ │ ├── getLineItemsCount.ts
│ │ │ │ ├── getShippableItemsCount.spec.ts
│ │ │ │ ├── getShippableItemsCount.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── items-require-shipping.spec.ts
│ │ │ │ ├── items-require-shipping.ts
│ │ │ │ ├── pickup-option.ts
│ │ │ │ ├── shipping-address.ts
│ │ │ │ └── shipping-option.ts
│ │ │ ├── store-credit/
│ │ │ │ ├── index.ts
│ │ │ │ └── store-credit-actions.ts
│ │ │ ├── tax/
│ │ │ │ ├── index.ts
│ │ │ │ └── tax.ts
│ │ │ ├── to-resolvable-module.spec.ts
│ │ │ ├── to-resolvable-module.ts
│ │ │ ├── unsupported-browser-error.ts
│ │ │ └── util-types/
│ │ │ ├── guard.spec.ts
│ │ │ ├── guard.ts
│ │ │ ├── index.ts
│ │ │ ├── omit.ts
│ │ │ ├── request-options.ts
│ │ │ └── require-at-least-one.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── payment-integrations-test-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ └── test-utils/
│ │ │ ├── address.mock.ts
│ │ │ ├── billing-address.mock.ts
│ │ │ ├── buy-now-cart-request-body.mock.ts
│ │ │ ├── carts.mock.ts
│ │ │ ├── checkouts.mock.ts
│ │ │ ├── config.mock.ts
│ │ │ ├── consignment.mock.ts
│ │ │ ├── countries.mock.ts
│ │ │ ├── coupons.mock.ts
│ │ │ ├── currency.mock.ts
│ │ │ ├── customer.mock.ts
│ │ │ ├── discounts.mock.ts
│ │ │ ├── gift-certificate-state.ts
│ │ │ ├── gift-certificate.ts
│ │ │ ├── gift-certificates.mock.ts
│ │ │ ├── index.ts
│ │ │ ├── internal-orders.mock.ts
│ │ │ ├── line-items.mock.ts
│ │ │ ├── orders.mock.ts
│ │ │ ├── payment-id.mock.ts
│ │ │ ├── payment-integration-service.mock.ts
│ │ │ ├── payments.mock.ts
│ │ │ ├── responses.mock.ts
│ │ │ ├── shipping-addresses.mock.ts
│ │ │ └── shipping-option.mock.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── paypal-commerce-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-paypal-commerce-integration-service.spec.ts
│ │ │ ├── create-paypal-commerce-integration-service.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── get-billing-address-from-order-details.mock.ts
│ │ │ │ ├── get-paypal-commerce-integration-service-mock.mock.ts
│ │ │ │ ├── get-paypal-commerce-order-details.mock.ts
│ │ │ │ ├── get-paypal-commerce-payment-method.mock.ts
│ │ │ │ ├── get-paypal-commerce-ratepay-payment-method.mock.ts
│ │ │ │ ├── get-paypal-sdk.mock.ts
│ │ │ │ ├── get-shipping-address-from-order-details.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── paypal-commerce/
│ │ │ │ ├── create-paypal-commerce-button-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-button-strategy.ts
│ │ │ │ ├── create-paypal-commerce-customer-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-customer-strategy.ts
│ │ │ │ ├── create-paypal-commerce-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-button-initialize-options.ts
│ │ │ │ ├── paypal-commerce-button-strategy.spec.ts
│ │ │ │ ├── paypal-commerce-button-strategy.ts
│ │ │ │ ├── paypal-commerce-customer-initialize-options.ts
│ │ │ │ ├── paypal-commerce-customer-strategy.spec.ts
│ │ │ │ ├── paypal-commerce-customer-strategy.ts
│ │ │ │ ├── paypal-commerce-payment-initialize-options.ts
│ │ │ │ ├── paypal-commerce-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-payment-strategy.ts
│ │ │ ├── paypal-commerce-alternative-methods/
│ │ │ │ ├── create-paypal-commerce-alternative-methods-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-alternative-methods-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-alternative-methods-payment-initialize-options.ts
│ │ │ │ ├── paypal-commerce-alternative-methods-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-alternative-methods-payment-strategy.ts
│ │ │ ├── paypal-commerce-constants.ts
│ │ │ ├── paypal-commerce-credit/
│ │ │ │ ├── create-paypal-commerce-credit-button-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-credit-button-strategy.ts
│ │ │ │ ├── create-paypal-commerce-credit-customer-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-credit-customer-strategy.ts
│ │ │ │ ├── create-paypal-commerce-credit-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-credit-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-credit-button-initialize-options.ts
│ │ │ │ ├── paypal-commerce-credit-button-strategy.spec.ts
│ │ │ │ ├── paypal-commerce-credit-button-strategy.ts
│ │ │ │ ├── paypal-commerce-credit-customer-initialize-options.ts
│ │ │ │ ├── paypal-commerce-credit-customer-strategy.spec.ts
│ │ │ │ ├── paypal-commerce-credit-customer-strategy.ts
│ │ │ │ ├── paypal-commerce-credit-payment-initialize-options.ts
│ │ │ │ ├── paypal-commerce-credit-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-credit-payment-strategy.ts
│ │ │ ├── paypal-commerce-credit-card/
│ │ │ │ ├── create-paypal-commerce-credit-cards-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-credit-cards-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-credit-cards-payment-initialize-options.ts
│ │ │ │ ├── paypal-commerce-credit-cards-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-credit-cards-payment-strategy.ts
│ │ │ ├── paypal-commerce-fastlane/
│ │ │ │ ├── create-paypal-commerce-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-fastlane-customer-strategy.ts
│ │ │ │ ├── create-paypal-commerce-fastlane-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-fastlane-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-fastlane-customer-initialize-options.ts
│ │ │ │ ├── paypal-commerce-fastlane-customer-strategy.spec.ts
│ │ │ │ ├── paypal-commerce-fastlane-customer-strategy.ts
│ │ │ │ ├── paypal-commerce-fastlane-payment-initialize-options.ts
│ │ │ │ ├── paypal-commerce-fastlane-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-fastlane-payment-strategy.ts
│ │ │ ├── paypal-commerce-integration-service.spec.ts
│ │ │ ├── paypal-commerce-integration-service.ts
│ │ │ ├── paypal-commerce-ratepay/
│ │ │ │ ├── create-paypal-commerce-ratepay-payment-strategy.spec.ts
│ │ │ │ ├── create-paypal-commerce-ratepay-payment-strategy.ts
│ │ │ │ ├── paypal-commerce-ratepay-initialize-options.ts
│ │ │ │ ├── paypal-commerce-ratepay-payment-strategy.spec.ts
│ │ │ │ └── paypal-commerce-ratepay-payment-strategy.ts
│ │ │ ├── paypal-commerce-request-sender.spec.ts
│ │ │ ├── paypal-commerce-request-sender.ts
│ │ │ ├── paypal-commerce-script-loader.spec.ts
│ │ │ ├── paypal-commerce-script-loader.ts
│ │ │ ├── paypal-commerce-types.ts
│ │ │ └── paypal-commerce-venmo/
│ │ │ ├── create-paypal-commerce-venmo-button-strategy.spec.ts
│ │ │ ├── create-paypal-commerce-venmo-button-strategy.ts
│ │ │ ├── create-paypal-commerce-venmo-cuastomer-strategy.spec.ts
│ │ │ ├── create-paypal-commerce-venmo-customer-strategy.ts
│ │ │ ├── create-paypal-commerce-venmo-payment-strategy.spec.ts
│ │ │ ├── create-paypal-commerce-venmo-payment-strategy.ts
│ │ │ ├── paypal-commerce-venmo-button-initialize-options.ts
│ │ │ ├── paypal-commerce-venmo-button-strategy.spec.ts
│ │ │ ├── paypal-commerce-venmo-button-strategy.ts
│ │ │ ├── paypal-commerce-venmo-customer-initialize-options.ts
│ │ │ ├── paypal-commerce-venmo-customer-strategy.spec.ts
│ │ │ ├── paypal-commerce-venmo-customer-strategy.ts
│ │ │ ├── paypal-commerce-venmo-payment-initialize-options.ts
│ │ │ ├── paypal-commerce-venmo-payment-strategy.spec.ts
│ │ │ └── paypal-commerce-venmo-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── paypal-commerce-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-paypal-commerce-fastlane-utils.spec.ts
│ │ │ ├── create-paypal-commerce-fastlane-utils.ts
│ │ │ ├── create-paypal-commerce-sdk.spec.ts
│ │ │ ├── create-paypal-commerce-sdk.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── get-paypal-commerce-payment-method.mock.ts
│ │ │ │ ├── get-paypal-fastlane-authentication-result.mock.ts
│ │ │ │ ├── get-paypal-fastlane-sdk.mock.ts
│ │ │ │ ├── get-paypal-fastlane.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── paypal-commerce-fastlane-utils.spec.ts
│ │ │ ├── paypal-commerce-fastlane-utils.ts
│ │ │ ├── paypal-commerce-sdk.spec.ts
│ │ │ ├── paypal-commerce-sdk.ts
│ │ │ ├── paypal-commerce-types.ts
│ │ │ └── utils/
│ │ │ ├── get-fastlane-styles.spec.ts
│ │ │ ├── get-fastlane-styles.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.spec.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.ts
│ │ │ ├── index.ts
│ │ │ ├── is-paypal-commerce-accelerated-checkout-customer.spec.ts
│ │ │ ├── is-paypal-commerce-accelerated-checkout-customer.ts
│ │ │ ├── is-paypal-commerce-provider-error.spec.ts
│ │ │ ├── is-paypal-commerce-provider-error.ts
│ │ │ ├── is-paypal-fastlane-customer.spec.ts
│ │ │ ├── is-paypal-fastlane-customer.ts
│ │ │ ├── is-paypal-fastlane-request-error.spec.ts
│ │ │ ├── is-paypal-fastlane-request-error.ts
│ │ │ ├── is-redirect-action-error.spec.ts
│ │ │ └── is-redirect-action-error.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── paypal-express-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-paypal-express-button-strategy.spec.ts
│ │ │ ├── create-paypal-express-button-strategy.ts
│ │ │ ├── create-paypal-express-payment-strategy.spec.ts
│ │ │ ├── create-paypal-express-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ └── paypal-express-mock.ts
│ │ │ ├── paypal-express-button-initialize-options.ts
│ │ │ ├── paypal-express-button-strategy.spec.ts
│ │ │ ├── paypal-express-button-strategy.ts
│ │ │ ├── paypal-express-payment-initialize-options.ts
│ │ │ ├── paypal-express-payment-strategy.spec.ts
│ │ │ ├── paypal-express-payment-strategy.ts
│ │ │ ├── paypal-express-script-loader.spec.ts
│ │ │ ├── paypal-express-script-loader.ts
│ │ │ └── paypal-express-types.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── paypal-pro-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-paypal-pro-payment-strategy.spec.ts
│ │ │ ├── create-paypal-pro-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── paypal-pro-payment-strategy.spec.ts
│ │ │ └── paypal-pro-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── paypal-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-paypal-fastlane-utils.spec.ts
│ │ │ ├── create-paypal-fastlane-utils.ts
│ │ │ ├── create-paypal-integration-service.spec.ts
│ │ │ ├── create-paypal-integration-service.ts
│ │ │ ├── create-paypal-sdk-script-loader.spec.ts
│ │ │ ├── create-paypal-sdk-script-loader.ts
│ │ │ ├── index.ts
│ │ │ ├── mocks/
│ │ │ │ ├── get-billing-address-from-order-details.mock.ts
│ │ │ │ ├── get-paypal-fastlane-authentication-result.mock.ts
│ │ │ │ ├── get-paypal-fastlane-sdk.mock.ts
│ │ │ │ ├── get-paypal-fastlane.mock.ts
│ │ │ │ ├── get-paypal-integration-service-mock.mock.ts
│ │ │ │ ├── get-paypal-order-details.mock.ts
│ │ │ │ ├── get-paypal-payment-method.mock.ts
│ │ │ │ ├── get-paypal-ratepay-payment-method.mock.ts
│ │ │ │ ├── get-paypal-sdk.mock.ts
│ │ │ │ ├── get-shipping-address-from-order-details.mock.ts
│ │ │ │ └── index.ts
│ │ │ ├── paypal-button-creation-service.spec.ts
│ │ │ ├── paypal-button-creation-service.ts
│ │ │ ├── paypal-commerce-constants.ts
│ │ │ ├── paypal-fastlane-utils.spec.ts
│ │ │ ├── paypal-fastlane-utils.ts
│ │ │ ├── paypal-integration-service.spec.ts
│ │ │ ├── paypal-integration-service.ts
│ │ │ ├── paypal-request-sender.spec.ts
│ │ │ ├── paypal-request-sender.ts
│ │ │ ├── paypal-sdk-script-loader.spec.ts
│ │ │ ├── paypal-sdk-script-loader.ts
│ │ │ ├── paypal-types.ts
│ │ │ └── utils/
│ │ │ ├── get-fastlane-styles.spec.ts
│ │ │ ├── get-fastlane-styles.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.spec.ts
│ │ │ ├── get-paypal-messages-styles-from-bnpl-config.ts
│ │ │ ├── index.ts
│ │ │ ├── is-paypal-accelerated-checkout-customer.spec.ts
│ │ │ ├── is-paypal-accelerated-checkout-customer.ts
│ │ │ ├── is-paypal-fastlane-customer.spec.ts
│ │ │ ├── is-paypal-fastlane-customer.ts
│ │ │ ├── is-paypal-fastlane-request-error.spec.ts
│ │ │ ├── is-paypal-fastlane-request-error.ts
│ │ │ ├── is-paypal-provider-error.spec.ts
│ │ │ ├── is-paypal-provider-error.ts
│ │ │ ├── is-redirect-action-error.spec.ts
│ │ │ ├── is-redirect-action-error.ts
│ │ │ ├── transform-locale-to-paypal-format.spec.ts
│ │ │ └── transform-locale-to-paypal-format.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── sagepay-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-sage-pay-payment-strategy.test.ts
│ │ │ ├── create-sage-pay-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── sage-pay-payment-strategy.test.ts
│ │ │ └── sage-pay-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── sezzle-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-sezzle-payment-strategy.spec.ts
│ │ │ ├── create-sezzle-payment-strategy.ts
│ │ │ ├── index.spec.ts
│ │ │ ├── index.ts
│ │ │ ├── sezzle-payment-strategy.spec.ts
│ │ │ └── sezzle-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── squarev2-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-squarev2-payment-strategy.spec.ts
│ │ │ ├── create-squarev2-payment-strategy.ts
│ │ │ ├── enums.ts
│ │ │ ├── index.ts
│ │ │ ├── is-squarev2-window.ts
│ │ │ ├── mocks/
│ │ │ │ ├── squarev2-method.mock.ts
│ │ │ │ └── squarev2-web-payments-sdk.mock.ts
│ │ │ ├── squarev2-payment-initialize-options.ts
│ │ │ ├── squarev2-payment-processor.spec.ts
│ │ │ ├── squarev2-payment-processor.ts
│ │ │ ├── squarev2-payment-strategy.spec.ts
│ │ │ ├── squarev2-payment-strategy.ts
│ │ │ ├── squarev2-script-loader.spec.ts
│ │ │ ├── squarev2-script-loader.ts
│ │ │ └── types.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── storage/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── browser-storage.spec.ts
│ │ │ ├── browser-storage.ts
│ │ │ ├── cookie-storage.spec.ts
│ │ │ ├── cookie-storage.ts
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── stripe-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── stripe-cs/
│ │ │ │ ├── create-stripe-cs-payment-strategy.spec.ts
│ │ │ │ ├── create-stripe-cs-payment-strategy.ts
│ │ │ │ ├── stripe-cs-payment-strategy.spec.ts
│ │ │ │ └── stripe-cs-payment-strategy.ts
│ │ │ ├── stripe-ocs/
│ │ │ │ ├── constants.ts
│ │ │ │ ├── create-stripe-link-v2-button-strategy.spec.ts
│ │ │ │ ├── create-stripe-link-v2-button-strategy.ts
│ │ │ │ ├── create-stripe-link-v2-customer-strategy.spec.ts
│ │ │ │ ├── create-stripe-link-v2-customer-strategy.ts
│ │ │ │ ├── create-stripe-ocs-payment-strategy.spec.ts
│ │ │ │ ├── create-stripe-ocs-payment-strategy.ts
│ │ │ │ ├── stripe-link-v2-button-strategy.spec.ts
│ │ │ │ ├── stripe-link-v2-button-strategy.ts
│ │ │ │ ├── stripe-link-v2-customer-strategy.spec.ts
│ │ │ │ ├── stripe-link-v2-customer-strategy.ts
│ │ │ │ ├── stripe-ocs-customer-initialize-options.ts
│ │ │ │ ├── stripe-ocs-initialize-options.ts
│ │ │ │ ├── stripe-ocs-payment-strategy.spec.ts
│ │ │ │ ├── stripe-ocs-payment-strategy.ts
│ │ │ │ └── stripe-ocs.mock.ts
│ │ │ ├── stripe-upe/
│ │ │ │ ├── create-stripe-upe-customer-strategy.spec.ts
│ │ │ │ ├── create-stripe-upe-customer-strategy.ts
│ │ │ │ ├── create-stripe-upe-payment-strategy.spec.ts
│ │ │ │ ├── create-stripe-upe-payment-strategy.ts
│ │ │ │ ├── is-stripe-accelerated-checkout-customer.ts
│ │ │ │ ├── stripe-upe-customer-strategy.spec.ts
│ │ │ │ ├── stripe-upe-customer-strategy.ts
│ │ │ │ ├── stripe-upe-customer.mock.ts
│ │ │ │ ├── stripe-upe-initialize-options.ts
│ │ │ │ ├── stripe-upe-payment-strategy.spec.ts
│ │ │ │ ├── stripe-upe-payment-strategy.ts
│ │ │ │ ├── stripe-upe.mock.ts
│ │ │ │ └── stripeupe-customer-initialize-options.ts
│ │ │ └── stripev3/
│ │ │ ├── create-stripev3-payment-strategy.ts
│ │ │ ├── is-individual-card-element-options.ts
│ │ │ ├── stripev3-error.spec.ts
│ │ │ ├── stripev3-error.ts
│ │ │ ├── stripev3-initialize-options.ts
│ │ │ ├── stripev3-payment-method.mock.ts
│ │ │ ├── stripev3-payment-strategy.spec.ts
│ │ │ ├── stripev3-payment-strategy.ts
│ │ │ ├── stripev3-script-loader.spec.ts
│ │ │ ├── stripev3-script-loader.ts
│ │ │ ├── stripev3.mock.ts
│ │ │ └── stripev3.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── stripe-utils/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── format-locale.spec.ts
│ │ │ ├── format-locale.ts
│ │ │ ├── index.ts
│ │ │ ├── is-stripe-error.spec.ts
│ │ │ ├── is-stripe-error.ts
│ │ │ ├── is-stripe-payment-event.spec.ts
│ │ │ ├── is-stripe-payment-event.ts
│ │ │ ├── is-stripe-payment-method-like.ts
│ │ │ ├── stripe-initialize-options.ts
│ │ │ ├── stripe-integration-service.mock.ts
│ │ │ ├── stripe-integration-service.spec.ts
│ │ │ ├── stripe-integration-service.ts
│ │ │ ├── stripe-script-loader.spec.ts
│ │ │ ├── stripe-script-loader.ts
│ │ │ ├── stripe-supported-locales.ts
│ │ │ ├── stripe-upe/
│ │ │ │ ├── index.ts
│ │ │ │ └── stripe-upe-constants.ts
│ │ │ ├── stripe.mock.ts
│ │ │ └── stripe.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── td-bank-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-td-online-mart-payment-strategy.spec.ts
│ │ │ ├── create-td-online-mart-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── is-create-token-error.ts
│ │ │ ├── isTdOnlineMartAdditionalAction.spec.ts
│ │ │ ├── isTdOnlineMartAdditionalAction.ts
│ │ │ ├── td-online-mart-payment-strategy.spec.ts
│ │ │ ├── td-online-mart-payment-strategy.ts
│ │ │ ├── td-online-mart-script-loader.spec.ts
│ │ │ ├── td-online-mart-script-loader.ts
│ │ │ ├── td-online-mart.mock.ts
│ │ │ └── td-online-mart.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── ui/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── loading-indicator/
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ └── loading-indicator.spec.ts.snap
│ │ │ │ ├── index.ts
│ │ │ │ ├── loading-indicator-styles.ts
│ │ │ │ ├── loading-indicator.spec.ts
│ │ │ │ └── loading-indicator.ts
│ │ │ └── overlay/
│ │ │ ├── index.ts
│ │ │ ├── overlay-style.ts
│ │ │ ├── overlay.spec.ts
│ │ │ └── overlay.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── utility/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── bind-decorator/
│ │ │ │ ├── bind-decorator.spec.ts
│ │ │ │ ├── bind-decorator.ts
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ ├── is-base-instrument/
│ │ │ │ ├── is-base-instrument.spec.ts
│ │ │ │ └── is-base-instrument.ts
│ │ │ ├── is-experiment-enabled/
│ │ │ │ ├── index.ts
│ │ │ │ ├── is-experiment-enabled.spec.ts
│ │ │ │ └── is-experiment-enabled.ts
│ │ │ ├── is-opera-window/
│ │ │ │ ├── index.ts
│ │ │ │ └── is-opera-window.ts
│ │ │ ├── is-react-native-window/
│ │ │ │ ├── index.ts
│ │ │ │ └── is-react-native-window.ts
│ │ │ └── is-web-view/
│ │ │ ├── index.ts
│ │ │ ├── is-web-view.spec.ts
│ │ │ └── is-web-view.ts
│ │ ├── tsconfig.json
│ │ └── tsconfig.spec.json
│ ├── workspace-tools/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── executors.json
│ │ ├── generators.json
│ │ ├── jest.config.js
│ │ ├── package.json
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── generators/
│ │ │ │ ├── auto-export/
│ │ │ │ │ ├── __fixtures__/
│ │ │ │ │ │ ├── function-a/
│ │ │ │ │ │ │ ├── function-a.ts
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ ├── strategy-a/
│ │ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ │ └── strategy-a.ts
│ │ │ │ │ │ └── strategy-b/
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── strategy-b.ts
│ │ │ │ │ ├── __snapshots__/
│ │ │ │ │ │ └── auto-export.spec.ts.snap
│ │ │ │ │ ├── auto-export-config.ts
│ │ │ │ │ ├── auto-export.spec.ts
│ │ │ │ │ ├── auto-export.ts
│ │ │ │ │ ├── generator.ts
│ │ │ │ │ ├── is-auto-export-config.ts
│ │ │ │ │ ├── schema.d.ts
│ │ │ │ │ ├── schema.json
│ │ │ │ │ └── templates/
│ │ │ │ │ └── __outputName__
│ │ │ │ ├── create-enum/
│ │ │ │ │ ├── __fixtures__/
│ │ │ │ │ │ ├── function-a/
│ │ │ │ │ │ │ ├── function-a.ts
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ ├── type-a/
│ │ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ │ └── type-a.ts
│ │ │ │ │ │ └── type-b/
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── type-b.ts
│ │ │ │ │ ├── __snapshots__/
│ │ │ │ │ │ └── create-enum.spec.ts.snap
│ │ │ │ │ ├── create-enum-config.ts
│ │ │ │ │ ├── create-enum.spec.ts
│ │ │ │ │ ├── create-enum.ts
│ │ │ │ │ ├── generator.ts
│ │ │ │ │ ├── is-create-enum-config.ts
│ │ │ │ │ ├── schema.d.ts
│ │ │ │ │ ├── schema.json
│ │ │ │ │ └── templates/
│ │ │ │ │ └── __outputName__
│ │ │ │ └── extend-interface/
│ │ │ │ ├── __fixtures__/
│ │ │ │ │ ├── foobar-interface/
│ │ │ │ │ │ ├── foobar-interface.ts
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── interface-a/
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── interface-a.ts
│ │ │ │ │ └── interface-b/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interface-b.ts
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ └── extend-interface.spec.ts.snap
│ │ │ │ ├── extend-interface-config.ts
│ │ │ │ ├── extend-interface.spec.ts
│ │ │ │ ├── extend-interface.ts
│ │ │ │ ├── generator.ts
│ │ │ │ ├── is-extend-interface-config.ts
│ │ │ │ ├── schema.d.ts
│ │ │ │ ├── schema.json
│ │ │ │ └── templates/
│ │ │ │ └── __outputName__
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ ├── worldpayaccess-integration/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── jest.config.js
│ │ ├── project.json
│ │ ├── src/
│ │ │ ├── create-worldpayaccess-open-banking-payment-strategy.spec.ts
│ │ │ ├── create-worldpayaccess-open-banking-payment-strategy.ts
│ │ │ ├── create-worldpayaccess-payment-strategy.spec.ts
│ │ │ ├── create-worldpayaccess-payment-strategy.ts
│ │ │ ├── index.ts
│ │ │ ├── worldpayaccess-open-banking-payment-strategy.spec.ts
│ │ │ ├── worldpayaccess-open-banking-payment-strategy.ts
│ │ │ ├── worldpayaccess-payment-options.ts
│ │ │ ├── worldpayaccess-payment-strategy.spec.ts
│ │ │ └── worldpayaccess-payment-strategy.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.lib.json
│ │ └── tsconfig.spec.json
│ └── zip-integration/
│ ├── .eslintrc.json
│ ├── README.md
│ ├── jest.config.js
│ ├── project.json
│ ├── src/
│ │ ├── create-zip-payment-strategy.test.ts
│ │ ├── create-zip-payment-strategy.ts
│ │ ├── index.ts
│ │ ├── zip-payment-strategy.test.ts
│ │ └── zip-payment-strategy.ts
│ ├── tsconfig.json
│ ├── tsconfig.lib.json
│ └── tsconfig.spec.json
├── scripts/
│ ├── standard-version/
│ │ └── prebump.js
│ └── webpack/
│ ├── get-next-version.js
│ ├── index.js
│ ├── package-loader-rule.js
│ └── transform-manifest.js
├── tsconfig-jest.json
├── tsconfig.base.json
├── webpack-cdn.config.js
├── webpack-common.config.js
├── webpack.config.js
└── workspace.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .circleci/config.yml
================================================
aliases:
- &node_executor
executor:
name: node/node
node-version: "22.13.0"
version: 2.1
orbs:
ci: bigcommerce/internal@volatile
node: bigcommerce/internal-node@volatile
security: bigcommerce/internal-security@volatile
jobs:
test-packages:
<<: *node_executor
resource_class: medium+
steps:
- ci/pre-setup
- node/npm-install
- run:
name: "Run unit tests for packages"
command: npm run test:others
test-core:
<<: *node_executor
parallelism: 2
resource_class: medium+
steps:
- ci/pre-setup
- node/npm-install
- run: mkdir ~/junit
- run:
name: "Run unit tests for core package"
command: |
TEST=$(circleci tests glob "packages/core/**/*.spec.ts" | circleci tests split --split-by=timings)
npx nx run core:generate
npm test $TEST -- --runInBand
- run:
command: cp junit.xml ~/junit/
when: always
- store_test_results:
path: ~/junit
- store_artifacts:
path: ~/junit
test:
<<: *node_executor
resource_class: medium+
steps:
- ci/pre-setup
- node/npm-install
- run:
name: "Run unit tests"
command: npm run test:series -- --coverage
lint:
<<: *node_executor
resource_class: large
steps:
- ci/pre-setup
- node/npm-install
- run:
name: "Run lint"
command: npm run lint
build:
<<: *node_executor
resource_class: xlarge
steps:
- ci/pre-setup
- node/npm-install
- run:
name: "Build distribution files"
command: npm run build && npm run docs
- persist_to_workspace:
root: .
paths:
- dist
- docs
npm_release:
<<: *node_executor
resource_class: medium+
steps:
- ci/pre-setup
- node/npm-install
- run:
name: "Configure Git user"
command: |
git config user.email $GIT_USER_EMAIL
git config user.name $GIT_USER_NAME
- run:
name: "Remove old release files"
command: rm -rf dist docs
- attach_workspace:
at: .
- run:
name: "Create and tag new release"
command: npm run release:version
- run:
name: "Push commits and tag to GitHub"
command: |
git push --follow-tags origin $CIRCLE_BRANCH
- run:
name: "Publish release to NPM"
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc
npm publish
build_cdn:
<<: *node_executor
resource_class: xlarge
steps:
- ci/pre-setup
- node/npm-install
- run:
name: Build artifact for CDN deployment
command: npm run build-cdn
- persist_to_workspace:
root: ~/repo
paths:
- dist-cdn
- ci/notify-failure
workflows:
version: 2
default:
jobs:
- test-core
- test-packages
- lint
- build
# Only build and push CDN artifact when commits are merged to canonical repo
- build_cdn:
context: "GCR + Artifact Bucket Access"
filters:
branches:
ignore: /pull\/[0-9]+/
requires:
- test-core
- test-packages
- lint
- build
- ci/build-js-artifact:
context: "GCR + Artifact Bucket Access"
dist_directory: dist-cdn
prepare_dist_directory:
- attach_workspace:
at: ~/repo
requires:
- build_cdn
- ci/notify-success:
context: "GCR + Artifact Bucket Access"
requires:
- ci/build-js-artifact
- security/scan:
name: "Gitleaks secrets scan"
filters:
branches:
ignore: /pull\/[0-9]+/
context: org-global
GITLEAKS_BLOCK: "false"
# Only release to NPM registry when commits are merged to master and new version is approved
- approve_npm_release:
type: approval
filters:
branches:
only: master
requires:
- test-core
- test-packages
- lint
- build
- npm_release:
requires:
- approve_npm_release
================================================
FILE: .editorconfig
================================================
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
================================================
FILE: .eslintignore
================================================
/packages/core/src/generated/**/*.ts
/dist/*
================================================
FILE: .eslintrc.json
================================================
{
"extends": ["@bigcommerce/eslint-config"],
"parser": "@typescript-eslint/parser",
"root": true,
"plugins": ["@nx"],
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"typescript": {
"project": "./tsconfig.*?.json"
}
}
},
"parserOptions": {
"project": "./tsconfig.*?.json"
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"prettier/prettier": [
"error",
{
"tabWidth": 4
}
],
// TODO:CHECKOUT-10008 Fix lint errors after nx upgrade to 19.8.9
"jest/no-conditional-in-test": "off",
"@typescript-eslint/ban-tslint-comment": "off",
"@typescript-eslint/consistent-indexed-object-style": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-deprecated": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/no-extraneous-class": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-misused-spread": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unnecessary-template-expression": "off",
"@typescript-eslint/no-unnecessary-type-arguments": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unnecessary-type-conversion": "off",
"@typescript-eslint/no-unnecessary-type-parameters": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-useless-default-as": "off",
"@typescript-eslint/no-useless-default-assignment": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/non-nullable-type-assertion-style": "off",
"@typescript-eslint/only-throw-error": "off",
"@typescript-eslint/prefer-includes": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/prefer-regexp-exec": "off",
"@typescript-eslint/prefer-string-starts-ends-with": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": false,
"allow": [],
"depConstraints": [
{
"sourceTag": "scope:core",
"onlyDependOnLibsWithTags": ["scope:shared"]
},
{
"sourceTag": "scope:shared",
"onlyDependOnLibsWithTags": ["scope:shared"]
},
{
"sourceTag": "scope:integration",
"onlyDependOnLibsWithTags": ["scope:shared"]
}
]
}
]
}
},
{
"files": ["*.spec.ts"],
"rules": {
"@typescript-eslint/no-unsafe-assignment": "warn"
}
}
]
}
================================================
FILE: .github/CODEOWNERS
================================================
## Checkout team
* @bigcommerce/team-checkout
/packages/core @bigcommerce/team-checkout
/packages/payment-integration @bigcommerce/team-checkout
/packages/payment-integration-test-utils @bigcommerce/team-checkout
/packages/hosted-form-v2 @bigcommerce/team-checkout
## Integrations team
/packages/core/src/checkout-buttons/strategies/amazon-pay-v2 @bigcommerce/team-integrations
/packages/core/src/customer/strategies/amazon-pay-v2 @bigcommerce/team-integrations
/packages/core/src/customer/strategies/chasepay @bigcommerce/team-integrations
/packages/core/src/customer/strategies/square @bigcommerce/team-integrations
/packages/core/src/shipping/strategies/amazon-pay-v2 @bigcommerce/team-integrations
/packages/core/src/shipping/strategies/stripe-upe @bigcommerce/team-integrations
/packages/core/src/payment/strategies/adyenv2 @bigcommerce/team-integrations
/packages/core/src/payment/strategies/adyenv3 @bigcommerce/team-integrations
/packages/core/src/payment/strategies/affirm @bigcommerce/team-integrations
/packages/core/src/payment/strategies/amazon-pay-v2 @bigcommerce/team-integrations
/packages/core/src/payment/strategies/bluesnapv2 @bigcommerce/team-integrations
/packages/core/src/payment/strategies/bnz @bigcommerce/team-integrations
/packages/core/src/payment/strategies/cardinal @bigcommerce/team-integrations
/packages/core/src/payment/strategies/cba-mpgs @bigcommerce/team-integrations
/packages/core/src/payment/strategies/chasepay @bigcommerce/team-integrations
/packages/core/src/payment/strategies/checkoutcom @bigcommerce/team-integrations
/packages/core/src/payment/strategies/clearpay @bigcommerce/team-integrations
/packages/core/src/payment/strategies/converge @bigcommerce/team-integrations
/packages/core/src/payment/strategies/humm @bigcommerce/team-integrations
/packages/core/src/payment/strategies/klarna @bigcommerce/team-integrations
/packages/core/src/payment/strategies/klarnav2 @bigcommerce/team-integrations
/packages/core/src/payment/strategies/moneris @bigcommerce/team-integrations
/packages/core/src/payment/strategies/ppsdk @bigcommerce/team-integrations
/packages/core/src/payment/strategies/quadpay @bigcommerce/team-integrations
/packages/core/src/payment/strategies/square @bigcommerce/team-integrations
/packages/adyen-integration @bigcommerce/team-integrations
/packages/adyen-utils @bigcommerce/team-integrations
/packages/affirm-integration @bigcommerce/team-integrations
/packages/afterpay-integration @bigcommerce/team-integrations
/packages/amazon-pay-integration @bigcommerce/team-integrations
/packages/amazon-pay-utils @bigcommerce/team-integrations
/packages/bluesnap-direct-integration @bigcommerce/team-integrations
/packages/bolt-integration @bigcommerce/team-integrations
/packages/cardinal-integration @bigcommerce/team-integrations
/packages/checkoutcom-custom-integration @bigcommerce/team-integrations
/packages/clearpay-integration @bigcommerce/team-integrations
/packages/cybersource-integration @bigcommerce/team-integrations
/packages/mollie-integration @bigcommerce/team-integrations
/packages/sagepay-integration @bigcommerce/team-integrations
/packages/squarev2-integration @bigcommerce/team-integrations
/packages/stripe-integration @bigcommerce/team-integrations
/packages/stripe-utils @bigcommerce/team-integrations
/packages/td-bank-integration @bigcommerce/team-integrations
/packages/klarna-integration @bigcommerce/team-integrations
/packages/humm-integration @bigcommerce/team-integrations
/packages/zip-integration @bigcommerce/team-integrations
/packages/worldpayaccess-integration @bigcommerce/team-integrations
/packages/cba-mpgs-integration @bigcommerce/team-integrations
## PayPal team
/packages/core/src/analytics/braintree-analytic-tracker @bigcommerce/team-paypal
/packages/core/src/analytics/paypal-commerce-analytic-tracker @bigcommerce/team-paypal
/packages/core/src/checkout-buttons/strategies/braintree @bigcommerce/team-paypal
/packages/core/src/checkout-buttons/strategies/paypal @bigcommerce/team-paypal
/packages/core/src/customer/strategies/braintree @bigcommerce/team-paypal
/packages/core/src/shipping/strategies/braintree @bigcommerce/team-paypal
/packages/core/src/shipping/strategies/paypal-commerce @bigcommerce/team-paypal
/packages/core/src/shipping/strategies/bigcommerce-payments @bigcommerce/team-paypal
/packages/core/src/payment/strategies/braintree @bigcommerce/team-paypal
/packages/core/src/payment/strategies/paypal @bigcommerce/team-paypal
/packages/braintree-integration @bigcommerce/team-paypal
/packages/braintree-utils @bigcommerce/team-paypal
/packages/bigcommerce-payments-utils @bigcommerce/team-paypal
/packages/bigcommerce-payments-integration @bigcommerce/team-paypal
/packages/paypal-express-integration @bigcommerce/team-paypal
/packages/paypal-commerce-integration @bigcommerce/team-paypal
/packages/paypal-commerce-utils @bigcommerce/team-paypal
/packages/paypal-pro-integration @bigcommerce/team-paypal
/packages/paypal-utils @bigcommerce/team-paypal
## Shared
/packages/core/src/checkout-buttons/strategies/googlepay @bigcommerce/team-checkout @bigcommerce/team-integrations @bigcommerce/team-paypal
/packages/core/src/customer/strategies/googlepay @bigcommerce/team-checkout @bigcommerce/team-integrations @bigcommerce/team-paypal
/packages/core/src/payment/strategies/googlepay @bigcommerce/team-checkout @bigcommerce/team-integrations @bigcommerce/team-paypal
/packages/apple-pay-integration @bigcommerce/team-checkout @bigcommerce/team-integrations @bigcommerce/team-paypal
/packages/google-pay-integration @bigcommerce/team-checkout @bigcommerce/team-integrations @bigcommerce/team-paypal
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
## What/Why?
## Rollout/Rollback
## Testing
================================================
FILE: .gitignore
================================================
.DS_Store
.nx/cache
.nx/workspace-data
*.log
/webpack-stats.json
/coverage
/node_modules
/temp
/dist/tsdoc-metadata.json
/dist-server
/dist-cdn
/dist-tools
/packages/**/generated
.idea
.vscode
junit.xml
/build-analysis
================================================
FILE: .metadata_rules.yml
================================================
- '**/loader.js': {
cache_control: 'no-cache, max-age=0'
}
================================================
FILE: .nvmrc
================================================
18.17
================================================
FILE: .versionrc.json
================================================
{
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "test",
"hidden": true
}
],
"releaseCommitMessageFormat": "chore(release): {{currentTag}} [skip ci]"
}
================================================
FILE: CHANGELOG.md
================================================
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.916.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.916.0...v1.916.1) (2026-05-21)
### Bug Fixes
* **payment:** Stripe Link V2 spam protection fix ([#3257](https://github.com/bigcommerce/checkout-sdk-js/issues/3257)) ([e593a0c](https://github.com/bigcommerce/checkout-sdk-js/commit/e593a0c8c321b63cba61b4c3f3ba4009d25af686))
## [1.916.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.915.0...v1.916.0) (2026-05-21)
### Features
* **checkout:** CHECKOUT-9820 add capabilities for b2b checkout config for PO ([#3256](https://github.com/bigcommerce/checkout-sdk-js/issues/3256)) ([9270233](https://github.com/bigcommerce/checkout-sdk-js/commit/9270233d3d974edb2706a2faa504a418d0d0f396))
## [1.915.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.914.0...v1.915.0) (2026-05-21)
### Features
* **checkout:** CHECKOUT-10010 Expose order extra fields ([#3260](https://github.com/bigcommerce/checkout-sdk-js/issues/3260)) ([4cc7375](https://github.com/bigcommerce/checkout-sdk-js/commit/4cc7375a316395c5f04470eae19fdf05c8b2965f))
## [1.914.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.912.0...v1.914.0) (2026-05-21)
### Features
* **checkout:** CHECKOUT-9821 Add Loading Company Payment Methods ([#3255](https://github.com/bigcommerce/checkout-sdk-js/issues/3255)) ([ee4581a](https://github.com/bigcommerce/checkout-sdk-js/commit/ee4581a66337cbbc6bcecc7ce6a6f22d4b8b1607))
### Code Refactoring
* **checkout:** CHECKOUT-9821 Remove applyCapabilitiesOverride ([#3259](https://github.com/bigcommerce/checkout-sdk-js/issues/3259)) ([d454d31](https://github.com/bigcommerce/checkout-sdk-js/commit/d454d3111c9db73d0577c61d03a7d7e79d1c53cf))
## [1.913.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.912.0...v1.913.0) (2026-05-21)
### Features
* **checkout:** CHECKOUT-9821 Add Loading Company Payment Methods ([#3255](https://github.com/bigcommerce/checkout-sdk-js/issues/3255)) ([ee4581a](https://github.com/bigcommerce/checkout-sdk-js/commit/ee4581a66337cbbc6bcecc7ce6a6f22d4b8b1607))
## [1.912.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.911.0...v1.912.0) (2026-05-19)
### Features
* **payment:** PAYPAL-6352 implemented server side shipping callbacks logic ([#3237](https://github.com/bigcommerce/checkout-sdk-js/issues/3237)) ([0b8e392](https://github.com/bigcommerce/checkout-sdk-js/commit/0b8e3929c74febe1fc6a6010de64984dc0fe044d))
* **payment:** PAYPAL-6433 implement server side shipping callbacks logic ([#3236](https://github.com/bigcommerce/checkout-sdk-js/issues/3236)) ([e84d166](https://github.com/bigcommerce/checkout-sdk-js/commit/e84d166c271b25ebfbffe7a24671bcd1639a8c46))
## [1.911.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.910.0...v1.911.0) (2026-05-18)
### Features
* **payment:** PI-5215 [FE][Google Pay] Implement container mode in GooglePayPaymentStrategy ([#3247](https://github.com/bigcommerce/checkout-sdk-js/issues/3247)) ([81a6dbc](https://github.com/bigcommerce/checkout-sdk-js/commit/81a6dbcefe6ea584825a74fe581f2923adfd23b4))
## [1.910.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.5...v1.910.0) (2026-05-17)
### Features
* **checkout:** CHECKOUT-9821 Add B2B Dev Tool ([#3252](https://github.com/bigcommerce/checkout-sdk-js/issues/3252)) ([4dd221e](https://github.com/bigcommerce/checkout-sdk-js/commit/4dd221eccadad0a074587314d42d07a2cd936815))
### [1.909.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.4...v1.909.5) (2026-05-13)
### [1.909.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.3...v1.909.4) (2026-05-13)
### [1.909.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.2...v1.909.3) (2026-05-12)
### [1.909.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.1...v1.909.2) (2026-05-11)
### Bug Fixes
* **payment:** PAYPAL-6442 double call of loadPayPalSDK to avoid ZOID issues ([afeda21](https://github.com/bigcommerce/checkout-sdk-js/commit/afeda215deda7753ed8abbd1ba6d4ad6df54f51d))
### [1.909.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.909.0...v1.909.1) (2026-05-11)
## [1.909.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.907.0...v1.909.0) (2026-05-05)
### Features
* **payment:** PI-4985 [Worldpay Access][FE][B2B checkout] Open Banking ([#3231](https://github.com/bigcommerce/checkout-sdk-js/issues/3231)) ([901427d](https://github.com/bigcommerce/checkout-sdk-js/commit/901427d15033b3e97f60c423d5b6b8559073858b))
### Bug Fixes
* **payment:** PI-5250 [Adyen] wait for `containerId` before `mountElement` ([#3238](https://github.com/bigcommerce/checkout-sdk-js/issues/3238)) ([dfa35c9](https://github.com/bigcommerce/checkout-sdk-js/commit/dfa35c90f97d0bf3198aa86266ad22425b333d2d))
## [1.908.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.907.0...v1.908.0) (2026-05-04)
### Features
* **payment:** PI-4985 [Worldpay Access][FE][B2B checkout] Open Banking ([#3231](https://github.com/bigcommerce/checkout-sdk-js/issues/3231)) ([901427d](https://github.com/bigcommerce/checkout-sdk-js/commit/901427d15033b3e97f60c423d5b6b8559073858b))
## [1.907.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.906.0...v1.907.0) (2026-05-04)
### Features
* **payment:** PAYPAL-6436 Fixed an issue with asynchronous behavior during strategy reinitialization ([ab0662b](https://github.com/bigcommerce/checkout-sdk-js/commit/ab0662b293500cbfb679c6480faed11bc6eebd63))
## [1.906.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.905.1...v1.906.0) (2026-05-04)
### Features
* **payment:** PAYPAL-5797 Update PayPalCommerceVenmoPaymentStrategy by providing PaypalUtilsService from paypal-utils package ([576538a](https://github.com/bigcommerce/checkout-sdk-js/commit/576538a3e6ee585be61547c5a08445c1dd6e0df3))
### [1.905.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.905.0...v1.905.1) (2026-05-02)
### Bug Fixes
* **payment:** CHECKOUT-9963 Fix error related to container not found for bluesnap ([#3235](https://github.com/bigcommerce/checkout-sdk-js/issues/3235)) ([ef35c12](https://github.com/bigcommerce/checkout-sdk-js/commit/ef35c12baeb557c327715b74aa7e6cbe4f2ec8dc))
## [1.905.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.904.2...v1.905.0) (2026-04-24)
### Features
* **checkout:** CHECKOUT-9956 get client id and b2b base url from initial state ([#3229](https://github.com/bigcommerce/checkout-sdk-js/issues/3229)) ([3a66f39](https://github.com/bigcommerce/checkout-sdk-js/commit/3a66f39b01df35508d0d1df88aa88e90a36bb3bd))
### Code Refactoring
* **payment:** PAYPAL-6336 removed BCP APM SPB related code ([#3208](https://github.com/bigcommerce/checkout-sdk-js/issues/3208)) ([a173c34](https://github.com/bigcommerce/checkout-sdk-js/commit/a173c3450795b18f69086a6b87fe89450e0443dc))
### [1.904.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.904.1...v1.904.2) (2026-04-22)
### [1.904.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.904.0...v1.904.1) (2026-04-21)
## [1.904.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.903.1...v1.904.0) (2026-04-21)
### Features
* **payment:** PI-4976 [Access Worldpay] Open Banking ([c6f705a](https://github.com/bigcommerce/checkout-sdk-js/commit/c6f705a6b6c70dfa2c7c23c32aad0b0cf3869ebf))
* **payment:** PI-4976 [Access Worldpay] Open Banking ([4e2f8fe](https://github.com/bigcommerce/checkout-sdk-js/commit/4e2f8fe81f5a434f0fb08f0efdb735ba0a1cc860))
* **payment:** PI-4976 [Access Worldpay] Open Banking ([5b958fd](https://github.com/bigcommerce/checkout-sdk-js/commit/5b958fd4600e60aa08bf55aa0c58c9eb5b40fd45))
* **payment:** PI-4976 [Access Worldpay] Open Banking ([470162c](https://github.com/bigcommerce/checkout-sdk-js/commit/470162cd76df323d5b3154ba9488b9e960a10862))
* **payment:** PI-4976 [Access Worldpay] Open Banking ([e9b1f40](https://github.com/bigcommerce/checkout-sdk-js/commit/e9b1f40a1e31a3864c4292312d76fe3671bcf29d))
* **payment:** PI-4976 [Access Worldpay] Open Banking ([88507bb](https://github.com/bigcommerce/checkout-sdk-js/commit/88507bb72c090134194ca654c6ba25db271a48d2))
### [1.903.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.903.0...v1.903.1) (2026-04-21)
### Bug Fixes
* **payment:** Stripe add second payment request for Stripe declined ([#3225](https://github.com/bigcommerce/checkout-sdk-js/issues/3225)) ([eb709b3](https://github.com/bigcommerce/checkout-sdk-js/commit/eb709b32f0676ea5f8a3a277d4ed213159e1cdd5))
## [1.903.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.902.1...v1.903.0) (2026-04-21)
### Features
* **payment:** Add Stripe Adaptive Pricing support to Checkout Session strategy ([#3218](https://github.com/bigcommerce/checkout-sdk-js/issues/3218)) ([0954bae](https://github.com/bigcommerce/checkout-sdk-js/commit/0954bae4db76cd6797f1dcfe54e2aff397b3ece5))
### [1.902.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.902.0...v1.902.1) (2026-04-21)
### Bug Fixes
* **payment:** Update locale for Stripe OCS ([#3216](https://github.com/bigcommerce/checkout-sdk-js/issues/3216)) ([c6edeca](https://github.com/bigcommerce/checkout-sdk-js/commit/c6edeca8511349e394d6685dad6ad1a731c761a9))
## [1.902.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.901.0...v1.902.0) (2026-04-20)
### Features
* **payment:** PAYPAL-5046 send locale parameter in PayPal SDK call ([5198314](https://github.com/bigcommerce/checkout-sdk-js/commit/51983141df3dfe784c27e362878a4da4789dfa5a))
## [1.901.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.900.0...v1.901.0) (2026-04-20)
### Features
* **order:** BACK-392 Add order BO fields to LineItem type ([8c4d737](https://github.com/bigcommerce/checkout-sdk-js/commit/8c4d737e3a540d77670b4f2b95c4a72abe9a7242))
## [1.900.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.899.4...v1.900.0) (2026-04-17)
### Features
* **payment:** PAYPAL-6378 catch all unrecognized states to avoid placing an order with a wrong nonce value provided by default in specific 3DSecure silent fallthrough scenario ([5f0c67b](https://github.com/bigcommerce/checkout-sdk-js/commit/5f0c67b427af7f901bdeda9cbe348db26cfd13dc))
### [1.899.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.899.3...v1.899.4) (2026-04-16)
### Code Refactoring
* **checkout:** CHECKOUT-9938 Update Extra Field Types ([#3221](https://github.com/bigcommerce/checkout-sdk-js/issues/3221)) ([eecd46c](https://github.com/bigcommerce/checkout-sdk-js/commit/eecd46c974483413d2c375b77724e20804d61c17))
### [1.899.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.899.2...v1.899.3) (2026-04-16)
### [1.899.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.899.1...v1.899.2) (2026-04-15)
### [1.899.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.899.0...v1.899.1) (2026-04-15)
## [1.899.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.6...v1.899.0) (2026-04-14)
### Features
* **payment:** Google Pay direct payment in modal ([70a2fb1](https://github.com/bigcommerce/checkout-sdk-js/commit/70a2fb1983d22df1cc8cb5c1bee9465ebfe9d7c8))
### [1.898.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.5...v1.898.6) (2026-04-13)
### [1.898.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.4...v1.898.5) (2026-04-13)
### Code Refactoring
* **checkout:** CHECKOUT-9889 Refactor ExtraFieldValue Interface ([#3213](https://github.com/bigcommerce/checkout-sdk-js/issues/3213)) ([bfa855a](https://github.com/bigcommerce/checkout-sdk-js/commit/bfa855a65af1c62813f22c4373b4e332d79b558d))
### [1.898.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.3...v1.898.4) (2026-04-13)
### [1.898.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.2...v1.898.3) (2026-04-10)
### Bug Fixes
* **payment:** Stripe CS add second payment request for Stripe declined ([#3207](https://github.com/bigcommerce/checkout-sdk-js/issues/3207)) ([571cc2c](https://github.com/bigcommerce/checkout-sdk-js/commit/571cc2c66917a0a9b3d341d6195996e3af025017))
### [1.898.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.1...v1.898.2) (2026-04-09)
### [1.898.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.898.0...v1.898.1) (2026-04-09)
## [1.898.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.897.0...v1.898.0) (2026-04-07)
### Features
* **payment:** Stripe CS ACH vaultings ([#3200](https://github.com/bigcommerce/checkout-sdk-js/issues/3200)) ([a05475a](https://github.com/bigcommerce/checkout-sdk-js/commit/a05475a81bdb30a184a77e2770ed3f076d364b68))
## [1.897.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.896.0...v1.897.0) (2026-04-07)
### Features
* **payment:** PAYPAL-5794 Update PaypalCommerceRatepayPaymentStrategy by providing PaypalUtilsService from paypal-utils package ([3eeef2f](https://github.com/bigcommerce/checkout-sdk-js/commit/3eeef2f6aa4d495b127e0c1b34f3abc63376044a))
## [1.896.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.895.0...v1.896.0) (2026-04-07)
### Features
* **payment:** PAYPAL-5800 Update PayPalCommercePaymentStrategy by providing PaypalUtilsService from paypal-utils package ([d81566d](https://github.com/bigcommerce/checkout-sdk-js/commit/d81566d724df96f6a40ce7c244dcee18df81bf49))
### Code Refactoring
* **payment:** PAYPAL-6336 removed ppcp apms related code ([#3191](https://github.com/bigcommerce/checkout-sdk-js/issues/3191)) ([e3fad0a](https://github.com/bigcommerce/checkout-sdk-js/commit/e3fad0a0b402ad06e805209556034fe5c8bdf5c2))
## [1.895.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.894.1...v1.895.0) (2026-04-02)
### Features
* **payment:** PAYPAL-6342 remove PayPal buttons messages implementation ([5d13ee9](https://github.com/bigcommerce/checkout-sdk-js/commit/5d13ee95fc712e38c978bfa1abf1dec527dfe4d4))
* **payment:** PAYPAL-6343 remove braintree buttons messages implementation ([ac044d6](https://github.com/bigcommerce/checkout-sdk-js/commit/ac044d636648db4bed450b466a100875c4e9cc2b))
* **payment:** PAYPAL-6344 remove bcp buttons messages implementation ([5ba1712](https://github.com/bigcommerce/checkout-sdk-js/commit/5ba171264f7baff21ae48d635a2443a64942ea99))
### [1.894.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.894.0...v1.894.1) (2026-04-02)
## [1.894.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.893.0...v1.894.0) (2026-04-01)
### Features
* **payment:** Stripe Link v2 max shipping options length ([#3190](https://github.com/bigcommerce/checkout-sdk-js/issues/3190)) ([4f57455](https://github.com/bigcommerce/checkout-sdk-js/commit/4f57455584474b69823062b85d1b8fd059a332fb))
## [1.893.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.892.0...v1.893.0) (2026-03-31)
### Features
* **payment:** PAYPAL-6354 reseting payment provider customer state when signing in user ([938c9f9](https://github.com/bigcommerce/checkout-sdk-js/commit/938c9f997a82488c2364df9b24ee147d630e1451))
## [1.892.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.891.0...v1.892.0) (2026-03-27)
### Features
* **checkout:** CHECKOUT-9824 export isExtraFormField from sdk ([#3188](https://github.com/bigcommerce/checkout-sdk-js/issues/3188)) ([f78ac0f](https://github.com/bigcommerce/checkout-sdk-js/commit/f78ac0f61a188fd77a155c5025630b0d833cf37f))
## [1.891.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.890.0...v1.891.0) (2026-03-23)
### Features
* **payment:** PAYPAL-6014 Update PayPalCommerceButtonStrategy and PayPalCommerceCustomerStrategy using PaypalButtonCreationService and PayPalIntegrationService from paypal-utils package ([fdc65e1](https://github.com/bigcommerce/checkout-sdk-js/commit/fdc65e126ea999af3a3fa3114fff21b7814b58d7))
* **payment:** PAYPAL-6014 updates based on comments ([f290fef](https://github.com/bigcommerce/checkout-sdk-js/commit/f290fefaa571732f226a3ebf8751dc1738c50afe))
## [1.890.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.889.1...v1.890.0) (2026-03-23)
### Features
* **checkout:** CHECKOUT-9825 Introduce extraFields ([#3185](https://github.com/bigcommerce/checkout-sdk-js/issues/3185)) ([95c6879](https://github.com/bigcommerce/checkout-sdk-js/commit/95c687929f1bd8c96af923624b3164442430a340))
### [1.889.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.889.0...v1.889.1) (2026-03-22)
## [1.889.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.888.0...v1.889.0) (2026-03-20)
### Features
* **payment:** PAYPAL-5724 add bcp customer app switch ([ccb833b](https://github.com/bigcommerce/checkout-sdk-js/commit/ccb833b01824239b80a80f9e43b1b1d669f0cb51))
## [1.888.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.887.1...v1.888.0) (2026-03-19)
### Features
* **payment:** Stripe CS credit card vaulting ([#3183](https://github.com/bigcommerce/checkout-sdk-js/issues/3183)) ([052e1e8](https://github.com/bigcommerce/checkout-sdk-js/commit/052e1e83ff725c5aa08ce3699b054eb972162231))
### [1.887.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.887.0...v1.887.1) (2026-03-17)
### Bug Fixes
* **payment:** PI-5075 [Google Pay] round `totalPrice` to max 2 decimal places ([#3179](https://github.com/bigcommerce/checkout-sdk-js/issues/3179)) ([70a432f](https://github.com/bigcommerce/checkout-sdk-js/commit/70a432f0de7dcfa471f864876f00cb344304bd6f))
## [1.887.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.886.0...v1.887.0) (2026-03-16)
### Features
* **payment:** PAYPAL-6015 Update PayPalCommerceAlternativeMethodsButtonStrategy using PaypalButtonCreationService from paypal-utils package ([6542c73](https://github.com/bigcommerce/checkout-sdk-js/commit/6542c7357dc518ed05dc374c116e851862d97c18))
## [1.886.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.885.0...v1.886.0) (2026-03-12)
### Features
* **checkout:** CHECKOUT-9871 Update Capabilities Interface ([#3177](https://github.com/bigcommerce/checkout-sdk-js/issues/3177)) ([c2b9118](https://github.com/bigcommerce/checkout-sdk-js/commit/c2b9118e8079441de4006c29e4a95f29929d6bab))
## [1.885.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.884.1...v1.885.0) (2026-03-12)
### Features
* **payment:** PAYPAL-6318 Update paypal sdk namespace for BCP paypal sdk config with bigcommerce-payments naming ([#3174](https://github.com/bigcommerce/checkout-sdk-js/issues/3174)) ([2b0feb0](https://github.com/bigcommerce/checkout-sdk-js/commit/2b0feb0d1f9c0e812660c812c05bfe8afeb0b370))
### [1.884.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.884.0...v1.884.1) (2026-03-10)
## [1.884.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.883.0...v1.884.0) (2026-03-10)
### Features
* **payment:** PAYPAL-5798 Update PayPalCommerceButtonStrategy by providing PaypalUtilsService from paypal-utils package ([2ab61f9](https://github.com/bigcommerce/checkout-sdk-js/commit/2ab61f90e6a14301320adb717929ca8a5c96f4f4))
## [1.883.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.882.0...v1.883.0) (2026-03-10)
### Features
* **payment:** PI-5030 Google Pay in WebView support ([c6d31e6](https://github.com/bigcommerce/checkout-sdk-js/commit/c6d31e653a5c2b2efe8073af6427977ccd9e11f0))
## [1.882.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.881.0...v1.882.0) (2026-03-10)
### Features
* **payment:** Stripe CS update shipping and billing address from FE side ([#3170](https://github.com/bigcommerce/checkout-sdk-js/issues/3170)) ([8a69a45](https://github.com/bigcommerce/checkout-sdk-js/commit/8a69a454cf498cdfcb2cdab8153542d7a87e2467))
## [1.881.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.880.0...v1.881.0) (2026-03-10)
### Features
* **payment:** Stripe Link V2 add support checkout_session module ([#3163](https://github.com/bigcommerce/checkout-sdk-js/issues/3163)) ([6e4f80d](https://github.com/bigcommerce/checkout-sdk-js/commit/6e4f80d69dd306856547627fbab5bb21004099c1))
## [1.880.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.879.0...v1.880.0) (2026-03-09)
### Features
* **payment:** PAYPAL-5793 Update PayPalCommerceCreditPaymentStrategy by providing PaypalUtilsService from paypal-utils package ([078e464](https://github.com/bigcommerce/checkout-sdk-js/commit/078e46481db5ab7a850955bcf197c763c188a24c))
## [1.879.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.878.2...v1.879.0) (2026-03-09)
### Features
* **payment:** PAYPAL-5725 add bcp payments app switch ([f1199bd](https://github.com/bigcommerce/checkout-sdk-js/commit/f1199bd57ef10fa20fbab62df462a4fe9d870b9f))
### [1.878.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.878.1...v1.878.2) (2026-03-09)
### [1.878.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.878.0...v1.878.1) (2026-03-08)
### Bug Fixes
* **payment:** CHECKOUT-9796 Restore removal of fallback strategies from essential build ([#3165](https://github.com/bigcommerce/checkout-sdk-js/issues/3165)) ([fd316d0](https://github.com/bigcommerce/checkout-sdk-js/commit/fd316d0adf154eb0cda371ed931ac3105b9585ff))
## [1.878.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.5...v1.878.0) (2026-03-05)
### Features
* **checkout:** CHECKOUT-98034 update checkout interface to support the maximum limit fields ([#3168](https://github.com/bigcommerce/checkout-sdk-js/issues/3168)) ([63c4ddf](https://github.com/bigcommerce/checkout-sdk-js/commit/63c4ddfe577a9d0b091faa2f2730fe61352c64d0))
### [1.877.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.4...v1.877.5) (2026-03-04)
### [1.877.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.3...v1.877.4) (2026-03-04)
### [1.877.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.2...v1.877.3) (2026-03-04)
### Bug Fixes
* **payment:** CHECKOUT-9796 Pass createNoPaymentStrategy as fallback ([#3161](https://github.com/bigcommerce/checkout-sdk-js/issues/3161)) ([8bdf9dd](https://github.com/bigcommerce/checkout-sdk-js/commit/8bdf9dde6a1a6971ed009f755403f7369422632b))
### [1.877.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.1...v1.877.2) (2026-03-03)
### [1.877.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.877.0...v1.877.1) (2026-03-02)
## [1.877.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.876.0...v1.877.0) (2026-03-02)
### Features
* **payment:** PI-5028 isWebView util added ([3e11ae6](https://github.com/bigcommerce/checkout-sdk-js/commit/3e11ae6e7f3bf7805332cd6c5794c138382e4338))
## [1.876.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.875.0...v1.876.0) (2026-03-02)
### Features
* **payment:** PI-5017 [Google pay] Do not override billing address on the payment strategy ([fc4e3fe](https://github.com/bigcommerce/checkout-sdk-js/commit/fc4e3fe0a221ea45e769da9ba981ee26bb2e3200))
## [1.875.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.874.0...v1.875.0) (2026-03-02)
### Features
* **checkout:** CHECKOUT-9791 Add Capabilities Interface ([#3158](https://github.com/bigcommerce/checkout-sdk-js/issues/3158)) ([6d8c041](https://github.com/bigcommerce/checkout-sdk-js/commit/6d8c041a07315bf8a5a58896ece3f85653e7e6d1))
## [1.874.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.873.0...v1.874.0) (2026-02-24)
### Features
* **payment:** Stripe reinitialize checkout session strategy ([b97eea5](https://github.com/bigcommerce/checkout-sdk-js/commit/b97eea5b2a65ff2d2bf62f170155c26079231b56))
## [1.873.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.872.0...v1.873.0) (2026-02-23)
### Features
* **payment:** PAYPAL-6228 Updates regarding IDEAL flow when polling mechanism is disabled ([851720a](https://github.com/bigcommerce/checkout-sdk-js/commit/851720a567a59558525ed4dd29908a04b087f633))
## [1.872.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.871.0...v1.872.0) (2026-02-23)
### Features
* **checkout:** introduce new error CartStockPositionsChangedError for the order request error ([#3152](https://github.com/bigcommerce/checkout-sdk-js/issues/3152)) ([afdbb02](https://github.com/bigcommerce/checkout-sdk-js/commit/afdbb0233ee2d029c02faf7336a8ed13299f37e3))
## [1.871.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.870.0...v1.871.0) (2026-02-19)
### Features
* **checkout:** CHECKOUT-8842 Add costAfterDiscount in shipping option interface ([f0beea9](https://github.com/bigcommerce/checkout-sdk-js/commit/f0beea9067bbe866eeca9078ca415b258681aa13))
## [1.870.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.869.0...v1.870.0) (2026-02-18)
### Features
* **payment:** PAYPAL-5941 AppSwitch availability for PDP ([2c73892](https://github.com/bigcommerce/checkout-sdk-js/commit/2c738921351c37a147cc140b95817eab39f25cf5))
## [1.869.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.868.0...v1.869.0) (2026-02-17)
### Features
* **checkout:** CHECKOUT-9808 add `productAutoDiscountedSubtotal` field to order interface ([#3149](https://github.com/bigcommerce/checkout-sdk-js/issues/3149)) ([954f50b](https://github.com/bigcommerce/checkout-sdk-js/commit/954f50bd865c338a383594e1026e6d23ba13f9d7))
## [1.868.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.867.0...v1.868.0) (2026-02-17)
### Features
* **payment:** Stripe execute checkout session strategy ([c8503fb](https://github.com/bigcommerce/checkout-sdk-js/commit/c8503fbda17c22448aaf3b58cc25a23a0b45de19))
## [1.867.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.866.2...v1.867.0) (2026-02-17)
### Features
* **payment:** PAYPAL-5639 Added check if button container exists ([#3147](https://github.com/bigcommerce/checkout-sdk-js/issues/3147)) ([50b6e1b](https://github.com/bigcommerce/checkout-sdk-js/commit/50b6e1b74650a307b393a3761d6ddce32ee920d9))
### [1.866.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.866.1...v1.866.2) (2026-02-16)
### [1.866.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.866.0...v1.866.1) (2026-02-09)
### Bug Fixes
* **payment:** Stripe Link V2 recommended shipping option ([#3142](https://github.com/bigcommerce/checkout-sdk-js/issues/3142)) ([1cad952](https://github.com/bigcommerce/checkout-sdk-js/commit/1cad952cdc96e37100adfbc70bf8aef85aca35e4))
## [1.866.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.865.0...v1.866.0) (2026-02-09)
### Features
* **payment:** Stripe init Checkout Session ([#3141](https://github.com/bigcommerce/checkout-sdk-js/issues/3141)) ([a9fdbf4](https://github.com/bigcommerce/checkout-sdk-js/commit/a9fdbf4a1441759bedb0d68e44454e032b3585f2))
## [1.865.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.864.0...v1.865.0) (2026-02-06)
### Features
* **payment:** PAYPAL-5791 Update PayPalCommerceCreditButtonStrategy by providing PaypalUtilsService from paypal-utils package ([e39dee1](https://github.com/bigcommerce/checkout-sdk-js/commit/e39dee1c258c82cf1b7a776fe98e7f44b7cdbc99))
## [1.864.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.863.0...v1.864.0) (2026-02-06)
### Features
* **checkout:** add inventory settings to store config ([#3139](https://github.com/bigcommerce/checkout-sdk-js/issues/3139)) ([5774c13](https://github.com/bigcommerce/checkout-sdk-js/commit/5774c139e6a37efed95dd8fb32268ee6e3e8292c))
## [1.863.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.862.0...v1.863.0) (2026-02-05)
### Features
* **payment:** PAYPAL-5790 Update PayPalCommerceCreditCardsPaymentStrategy by providing PaypalUtilsService from paypal-utils package ([2a21b95](https://github.com/bigcommerce/checkout-sdk-js/commit/2a21b95df441145548ba361ba6ecd828a7751ac3))
## [1.862.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.861.1...v1.862.0) (2026-02-05)
### Features
* **checkout:** add stock position in includes of requests of some missing endpoints ([#3138](https://github.com/bigcommerce/checkout-sdk-js/issues/3138)) ([2b38b35](https://github.com/bigcommerce/checkout-sdk-js/commit/2b38b3587177ddbb4f8095c7eacd4fd3e43a4aa4))
### [1.861.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.861.0...v1.861.1) (2026-02-04)
## [1.861.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.860.1...v1.861.0) (2026-02-03)
### Features
* **payment:** PAYPAL-5789 Replace PayPalCommerceIntegrationService with PaypalUtilsService from paypal-utils package ([d8ca3b6](https://github.com/bigcommerce/checkout-sdk-js/commit/d8ca3b67b37363eefefcc704096615bdcb838356))
### [1.860.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.860.0...v1.860.1) (2026-02-02)
### Bug Fixes
* **checkout:** PAYPAL-6134 [Stored Cards][Braintree] - Unable to change the default saved card from the checkout ([2c8c0e8](https://github.com/bigcommerce/checkout-sdk-js/commit/2c8c0e8642323ecfdeaf1d5b0e2e652b9f78ce5d))
## [1.860.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.859.0...v1.860.0) (2026-02-02)
### Features
* **payment:** Stripe init Checkout Session ([#3132](https://github.com/bigcommerce/checkout-sdk-js/issues/3132)) ([e46bf99](https://github.com/bigcommerce/checkout-sdk-js/commit/e46bf99823ebbf74d090bc6e1a5bbbca145c46dd))
## [1.859.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.858.0...v1.859.0) (2026-02-02)
### Features
* **payment:** PAYPAL-5788 Update PayPalCommerceAlternativeMethodsButtonStrategy by providing PaypalUtilsService from paypal-utils package ([dbedc6b](https://github.com/bigcommerce/checkout-sdk-js/commit/dbedc6b32aaec7812bfdb6f7480f27b9ba041f9a))
## [1.858.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.857.0...v1.858.0) (2026-01-29)
### Features
* **payment:** add Stripe Checkout Session payment strategy ([#3131](https://github.com/bigcommerce/checkout-sdk-js/issues/3131)) ([404a25d](https://github.com/bigcommerce/checkout-sdk-js/commit/404a25d9806873f02c56754ab276d16b1dfb5670))
## [1.857.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.856.0...v1.857.0) (2026-01-29)
### Features
* **payment:** PAYPAL-6055 test removal ([69e17e4](https://github.com/bigcommerce/checkout-sdk-js/commit/69e17e421b710469a8230a50acf1b9ce0ea2d3ba))
* **payment:** PAYPAL-6055 update paypal sdk config ([8480236](https://github.com/bigcommerce/checkout-sdk-js/commit/8480236498e5cfb3daa9b7ae1c6fde66b8387c1f))
## [1.856.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.855.0...v1.856.0) (2026-01-27)
### Features
* **payment:** PAYPAL-6162 Fixed double call of loadPayPalSDK to avoid ZOID issues and button display problems ([77b25d0](https://github.com/bigcommerce/checkout-sdk-js/commit/77b25d08096cfc64b1817b15ac2637f71f7dec2b))
## [1.855.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.854.0...v1.855.0) (2026-01-26)
### Features
* **payment:** migration to new Stripe JS version ([#3126](https://github.com/bigcommerce/checkout-sdk-js/issues/3126)) ([fd6ec3a](https://github.com/bigcommerce/checkout-sdk-js/commit/fd6ec3abe5b8aac4eaf7b9501bb9869273a40a15))
## [1.854.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.853.0...v1.854.0) (2026-01-23)
### Features
* **payment:** PAYPAL-6142 3DS not required create order ([8e2b717](https://github.com/bigcommerce/checkout-sdk-js/commit/8e2b717bf582fabcb9d02078553b67c27b8f6e8d))
* **payment:** PAYPAL-6182 render logic for PayPal banner ([f835ed2](https://github.com/bigcommerce/checkout-sdk-js/commit/f835ed2bff88d31cc4347ab73c9a5ea9d7ec2474))
## [1.853.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.852.0...v1.853.0) (2026-01-21)
### Features
* **payment:** update Stripe Link method payload ([#3122](https://github.com/bigcommerce/checkout-sdk-js/issues/3122)) ([b3b6fcc](https://github.com/bigcommerce/checkout-sdk-js/commit/b3b6fccba1a002a820dd70d4a118f3820695ca47))
## [1.852.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.851.0...v1.852.0) (2026-01-21)
### Features
* **payment:** PAYPAL-6171 braintree request removal since it is no longer needed ([d7cd9a3](https://github.com/bigcommerce/checkout-sdk-js/commit/d7cd9a303ae4f6a1e60d13f7a1ebddb383d77be3))
## [1.851.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.850.4...v1.851.0) (2026-01-19)
### Features
* **checkout:** CHECKOUT-9450 Remove fallback strategies from essential build ([43e0f17](https://github.com/bigcommerce/checkout-sdk-js/commit/43e0f1760b9aa983f136e440f2c6d97ec72bf5ec))
### Bug Fixes
* **checkout:** CHECKOUT-9450 Remove more code around lazy_strategy experiment ([f7dac31](https://github.com/bigcommerce/checkout-sdk-js/commit/f7dac3166b718b953902cb730b286c2bec4ee87b))
### [1.850.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.850.3...v1.850.4) (2026-01-19)
### Bug Fixes
* **payment:** Fix Stripe Link available shipping options error ([#3120](https://github.com/bigcommerce/checkout-sdk-js/issues/3120)) ([d9f2899](https://github.com/bigcommerce/checkout-sdk-js/commit/d9f28991ab13660df57545f8984ccc1b49d5309b))
### [1.850.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.850.2...v1.850.3) (2026-01-15)
### Bug Fixes
* **payment:** Stripe OCS fix error after failed payment ([#3117](https://github.com/bigcommerce/checkout-sdk-js/issues/3117)) ([28f188a](https://github.com/bigcommerce/checkout-sdk-js/commit/28f188ad869a81bee1b76b53370a51c8f7b38e57))
### [1.850.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.850.1...v1.850.2) (2026-01-14)
### [1.850.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.850.0...v1.850.1) (2026-01-14)
### Bug Fixes
* **payment:** PI-4789 added https to afterpay script loading ([6fc186d](https://github.com/bigcommerce/checkout-sdk-js/commit/6fc186dae105baf8645f37c34426fb3aa5f9ecf8))
## [1.850.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.849.0...v1.850.0) (2026-01-12)
### Features
* **payment:** PAYPAL-6141 update failed 3DS error message ([5655809](https://github.com/bigcommerce/checkout-sdk-js/commit/5655809813a6045a780cffece419f6c192f3c272))
## [1.849.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.848.0...v1.849.0) (2026-01-07)
### Features
* **checkout:** CHECKOUT-9744 Update Order Interface ([#3112](https://github.com/bigcommerce/checkout-sdk-js/issues/3112)) ([5d0b38d](https://github.com/bigcommerce/checkout-sdk-js/commit/5d0b38d999f78e797ce5c02729f18dae307c9701))
## [1.848.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.847.0...v1.848.0) (2025-12-30)
### Features
* **payment:** PAYPAL-5948 filtered Afterpay id from the list of APMs before passing data to paypal sdk config ([df9918e](https://github.com/bigcommerce/checkout-sdk-js/commit/df9918e4a9066cef319e6092855599562fd17158))
## [1.847.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.846.0...v1.847.0) (2025-12-24)
### Features
* **checkout:** CHECKOUT-9646 Catch empty_cart on update checkout endpoint ([cb7bb03](https://github.com/bigcommerce/checkout-sdk-js/commit/cb7bb03643283c0ca6fd1453e18718265e5570f6))
* **payment:** PI-4451 migrated the experiment PI-4025.klarna_single_radio_button to FF ([3036a96](https://github.com/bigcommerce/checkout-sdk-js/commit/3036a96ce56924cbd204e91dfc82799389839248))
## [1.846.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.845.1...v1.846.0) (2025-12-18)
### Features
* **payment:** PAYPAL-6140 apple pay script loader related changes ([bec8637](https://github.com/bigcommerce/checkout-sdk-js/commit/bec8637f03d2ad7f8f8615ee164aa050e81981a4))
### [1.845.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.845.0...v1.845.1) (2025-12-17)
### Bug Fixes
* **payment:** PI-4290 google pay shipping address required fix ([bdcc61f](https://github.com/bigcommerce/checkout-sdk-js/commit/bdcc61fa34e41b0f3bddb2de359c858dc3acc393))
## [1.845.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.844.0...v1.845.0) (2025-12-16)
### Features
* **payment:** PI-4705 [Barclays] [Phase 4][FE] Remove the code ([#3099](https://github.com/bigcommerce/checkout-sdk-js/issues/3099)) ([ddc31be](https://github.com/bigcommerce/checkout-sdk-js/commit/ddc31be41ada42402fb91f40b057c70e2bb1341e))
## [1.844.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.843.0...v1.844.0) (2025-12-16)
### Features
* **payment:** PI-4519 Cybersource endpoint migration ([#3089](https://github.com/bigcommerce/checkout-sdk-js/issues/3089)) ([e9f5c77](https://github.com/bigcommerce/checkout-sdk-js/commit/e9f5c7724545690d97aa47c2198ade00732f8a43))
## [1.843.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.842.0...v1.843.0) (2025-12-16)
### Features
* **checkout:** CHECKOUT-9680 Update Checkout Interface 2 ([#3103](https://github.com/bigcommerce/checkout-sdk-js/issues/3103)) ([083efa6](https://github.com/bigcommerce/checkout-sdk-js/commit/083efa6a93e8f4bc0f4629e87227ff018a36eef5))
## [1.842.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.841.0...v1.842.0) (2025-12-15)
### Features
* **checkout:** CHECKOUT-9680 Update Checkout Interface ([#3102](https://github.com/bigcommerce/checkout-sdk-js/issues/3102)) ([371017f](https://github.com/bigcommerce/checkout-sdk-js/commit/371017f9a849ea585fa7134e55a0e2d222555d1a))
## [1.841.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.840.0...v1.841.0) (2025-12-12)
### Features
* **payment:** PAYPAL-6109 bt configuration updates ([#3100](https://github.com/bigcommerce/checkout-sdk-js/issues/3100)) ([b619213](https://github.com/bigcommerce/checkout-sdk-js/commit/b6192136bc2181259c05c6c35d7a2bcb555de430))
## [1.840.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.839.1...v1.840.0) (2025-12-12)
### Features
* **payment:** PAYPAL-6090 unified fastlane key ([bb9c478](https://github.com/bigcommerce/checkout-sdk-js/commit/bb9c478cae109a7e330530122de363e7169e59f1))
### [1.839.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.839.0...v1.839.1) (2025-12-11)
### Bug Fixes
* **checkout:** PI-4547 fix `apple-spinner` error when selecting Apple Pay ([#3082](https://github.com/bigcommerce/checkout-sdk-js/issues/3082)) ([1dbe162](https://github.com/bigcommerce/checkout-sdk-js/commit/1dbe1623e6af3ec33f0a22ee2a463b47884ad62d))
## [1.839.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.838.1...v1.839.0) (2025-12-11)
### Features
* **payment:** PI-4492 google pay deinitialize block during paying ([53676a7](https://github.com/bigcommerce/checkout-sdk-js/commit/53676a72162614e18114b377676176106953f7a6))
### [1.838.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.838.0...v1.838.1) (2025-12-11)
### Bug Fixes
* **checkout:** PI-4524 fix default instrument setup on additional action for Adyen v3 ([#3091](https://github.com/bigcommerce/checkout-sdk-js/issues/3091)) ([519e615](https://github.com/bigcommerce/checkout-sdk-js/commit/519e6150f3f5661fb4615cf3d3f13d2fabfb46f5))
## [1.838.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.837.2...v1.838.0) (2025-12-11)
### Features
* **payment:** Rollout Experiment: PI-1679.trigger_update_stripe_payment_element ([#3096](https://github.com/bigcommerce/checkout-sdk-js/issues/3096)) ([23f45cc](https://github.com/bigcommerce/checkout-sdk-js/commit/23f45ccf1d4814744a4379831972de83b63b3ac6))
### [1.837.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.837.1...v1.837.2) (2025-12-11)
### Bug Fixes
* **payment:** STRIPE-1135 pass enableLink to stripe upe ([0119e2c](https://github.com/bigcommerce/checkout-sdk-js/commit/0119e2c43ac9cc03dbb0ac3366ed6c948612704f))
### [1.837.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.837.0...v1.837.1) (2025-12-04)
### Bug Fixes
* **payment:** fix issue with Stripe OCS and store credits ([#3094](https://github.com/bigcommerce/checkout-sdk-js/issues/3094)) ([6d94631](https://github.com/bigcommerce/checkout-sdk-js/commit/6d94631ab9bd62682afc2a89498d3ad5a4e1fa7c))
## [1.837.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.836.0...v1.837.0) (2025-12-04)
### Features
* **payment:** add checkout locale to Stripe elements ([#3088](https://github.com/bigcommerce/checkout-sdk-js/issues/3088)) ([01b4fbb](https://github.com/bigcommerce/checkout-sdk-js/commit/01b4fbb1e56b6c9fbac8be280adc9a4119531984))
## [1.836.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.835.0...v1.836.0) (2025-12-02)
### Features
* **payment:** PI-3536 [FE] Deprecate Masterpass ([#3085](https://github.com/bigcommerce/checkout-sdk-js/issues/3085)) ([ff5f0ba](https://github.com/bigcommerce/checkout-sdk-js/commit/ff5f0ba458ed37ce5838777fb36a46abd0136890))
## [1.835.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.834.0...v1.835.0) (2025-12-02)
### Features
* **payment:** PAYPAL-5948 update bcp klarna to work with afterpay ([0a86d16](https://github.com/bigcommerce/checkout-sdk-js/commit/0a86d168e324f913de9833ac68e49561bb30067d))
## [1.834.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.833.0...v1.834.0) (2025-12-01)
### Features
* **payment:** PI-4555 Changed path for afterpay-async.js on Prod under experiment PI-4555.clearpay_add_https_to_prod_script ([e763d14](https://github.com/bigcommerce/checkout-sdk-js/commit/e763d143c80d1d96187121fd52617efc406b7bfb))
## [1.833.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.832.1...v1.833.0) (2025-12-01)
### Features
* **payment:** PAYPAL-6079 remove fastlane ppcp 3ds experiment ([42e8b50](https://github.com/bigcommerce/checkout-sdk-js/commit/42e8b50761e2d395cc399ae8fbdc12f2c5cd730f))
### [1.832.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.832.0...v1.832.1) (2025-11-13)
### Bug Fixes
* **payment:** PAYPAL-6056 bcp venmo method id ([bd3a8a2](https://github.com/bigcommerce/checkout-sdk-js/commit/bd3a8a201df8caa01990e75815038cbc765bb632))
## [1.832.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.831.1...v1.832.0) (2025-11-13)
### Features
* **payment:** STRIPE-1093 clean up google pay 3ds experiment ([1f45230](https://github.com/bigcommerce/checkout-sdk-js/commit/1f45230cada35f8ac701a0af4560001f99924d8c))
### [1.831.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.831.0...v1.831.1) (2025-11-13)
### Bug Fixes
* **checkout:** CHECKOUT-9450 Finalize order with integration strategies ([b6793aa](https://github.com/bigcommerce/checkout-sdk-js/commit/b6793aa1522f2bf2ff31f1460779cd37d703e978))
## [1.831.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.830.1...v1.831.0) (2025-11-12)
### Features
* **payment:** PAYPAL-6035 skips the error when the strategy has already been deinitialized during braintree hosted filed error ([#3064](https://github.com/bigcommerce/checkout-sdk-js/issues/3064)) ([17695fe](https://github.com/bigcommerce/checkout-sdk-js/commit/17695fef3bb37a0abe727b2123ac05b743a678c9))
### [1.830.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.830.0...v1.830.1) (2025-11-12)
### Bug Fixes
* **checkout:** CHECKOUT-9450 Do exact match when determining if certain strategy is already registered and warn if resolved value is different ([0ba2501](https://github.com/bigcommerce/checkout-sdk-js/commit/0ba25010befff10e1ea746764a2dab8bcd4a546f))
* **checkout:** CHECKOUT-9450 Rename variable for clarity ([8f03932](https://github.com/bigcommerce/checkout-sdk-js/commit/8f039325ffcc92964e332ee9c5c16408b308ae12))
## [1.830.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.829.3...v1.830.0) (2025-11-11)
### Features
* **payment:** PAYPAL-6033 add bcp klarna payment strategy ([eb677c9](https://github.com/bigcommerce/checkout-sdk-js/commit/eb677c91b92d9e42529f61c7a4dfbf42da42bdc4))
### Code Refactoring
* **payment:** move is redirect error to utils ([2f9c365](https://github.com/bigcommerce/checkout-sdk-js/commit/2f9c36546e61dad40fa65c8d81423e33515228a8))
### [1.829.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.829.2...v1.829.3) (2025-11-11)
### [1.829.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.829.1...v1.829.2) (2025-11-10)
### Bug Fixes
* **payment:** PI-4517 skip messages from wrong sources for the Access ([#3067](https://github.com/bigcommerce/checkout-sdk-js/issues/3067)) ([82912c9](https://github.com/bigcommerce/checkout-sdk-js/commit/82912c9da0fa153d5d50f6c823d9903fc15711af))
### [1.829.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.829.0...v1.829.1) (2025-11-10)
### Bug Fixes
* **checkout:** CHECKOUT-9450 Remove more code around lazy_strategy experiment ([1a4b406](https://github.com/bigcommerce/checkout-sdk-js/commit/1a4b4064187863d32fa4930ac40eda39563e99ef))
## [1.829.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.828.1...v1.829.0) (2025-11-09)
### Features
* **checkout:** CHECKOUT-9450 Remove fallback strategies from essential build ([bb56769](https://github.com/bigcommerce/checkout-sdk-js/commit/bb5676948a35c3fc0f4f4590d67624634a0448f1))
### [1.828.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.828.0...v1.828.1) (2025-11-07)
### Bug Fixes
* **payment:** PI-4517 skip messages from wrong sources for the Access Worldpay ([#3065](https://github.com/bigcommerce/checkout-sdk-js/issues/3065)) ([b4a9a4a](https://github.com/bigcommerce/checkout-sdk-js/commit/b4a9a4a6aebfeae3517deb228c5dbf1926fdfbca))
## [1.828.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.827.0...v1.828.0) (2025-11-06)
### Features
* **payment:** Stripe Link V2 cart page button tests ([d56d33a](https://github.com/bigcommerce/checkout-sdk-js/commit/d56d33a36ad54afa0633e122262a6eed8b6b9ad9))
## [1.827.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.826.0...v1.827.0) (2025-11-05)
### Features
* **payment:** Stripe Link V2 cart page button ([bfe3a1a](https://github.com/bigcommerce/checkout-sdk-js/commit/bfe3a1a219cefa49171cd111a3657299c9b43551))
## [1.826.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.825.0...v1.826.0) (2025-11-05)
### Features
* **payment:** PAYPAL-5768 Update PayPalCommerceAlternativeMethodsPaymentStrategy using paypal-utils package ([#3052](https://github.com/bigcommerce/checkout-sdk-js/issues/3052)) ([36398cb](https://github.com/bigcommerce/checkout-sdk-js/commit/36398cb16d93e7e2931b9fc418911faf05d3494a))
## [1.825.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.824.0...v1.825.0) (2025-11-05)
### Features
* **payment:** PAYPAL-5760 Update PayPalCommerceFastlaneCustomerStrategy using paypal-utils package ([#3049](https://github.com/bigcommerce/checkout-sdk-js/issues/3049)) ([a9af957](https://github.com/bigcommerce/checkout-sdk-js/commit/a9af957c85d480e0516e9112e163163df803c9a7))
## [1.824.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.823.0...v1.824.0) (2025-11-04)
### Features
* **payment:** PAYPAL-5723 add bcp button app switch ([c51d10e](https://github.com/bigcommerce/checkout-sdk-js/commit/c51d10e0cf1b2419c3c99e852a15a35a62bfd116))
## [1.823.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.822.0...v1.823.0) (2025-11-03)
### Features
* **payment:** customer step buttons height 40px ([ea8c358](https://github.com/bigcommerce/checkout-sdk-js/commit/ea8c358096030102c24f5b39fcab4dc14e9eda69))
* **payment:** hosted-input-validator tests fix ([8e5d189](https://github.com/bigcommerce/checkout-sdk-js/commit/8e5d1898fe5a2f0abee86044008f7a9a43d5ff9c))
## [1.822.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.821.1...v1.822.0) (2025-10-30)
### Features
* **payment:** PAYPAL-5761 Update PaypalCommerceFastlanePaymentStrategy using paypal-utils package ([#3050](https://github.com/bigcommerce/checkout-sdk-js/issues/3050)) ([4473670](https://github.com/bigcommerce/checkout-sdk-js/commit/447367027724468f527534d7047f6ae18e10579f))
### [1.821.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.821.0...v1.821.1) (2025-10-30)
### Bug Fixes
* **payment:** PAYPAL-5990 moved loading callback to the place after PayPal hosted fields initialization ([#3051](https://github.com/bigcommerce/checkout-sdk-js/issues/3051)) ([9126a70](https://github.com/bigcommerce/checkout-sdk-js/commit/9126a70e2565f38ccddbcd5d45bbd780ae8f4b06))
## [1.821.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.820.1...v1.821.0) (2025-10-29)
### Features
* **payment:** PAYPAL-5759 Update PayPalCommerceCreditCardsPaymentStrategy using paypal-utils package ([#3043](https://github.com/bigcommerce/checkout-sdk-js/issues/3043)) ([b1fe97b](https://github.com/bigcommerce/checkout-sdk-js/commit/b1fe97bf2e20a11b5b737aa61a003c5f8b450d40))
### [1.820.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.820.0...v1.820.1) (2025-10-29)
### Bug Fixes
* **payment:** check liability shift for order create ([b93d26c](https://github.com/bigcommerce/checkout-sdk-js/commit/b93d26c5a461264c74931ca38a66a9d060d0d9a9))
## [1.820.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.819.0...v1.820.0) (2025-10-29)
### Features
* **payment:** PI-4487 Research the reason of flaky Afterpay test ([#3040](https://github.com/bigcommerce/checkout-sdk-js/issues/3040)) ([f11d5d6](https://github.com/bigcommerce/checkout-sdk-js/commit/f11d5d6ef0135f7547872ebc5dfbbd1546f6775b))
## [1.819.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.818.0...v1.819.0) (2025-10-28)
### Features
* **payment:** PI-4354 Remove/move checkoutcom and checkoutcom-custom payment strategy files to the separate package ([#3038](https://github.com/bigcommerce/checkout-sdk-js/issues/3038)) ([bce0d02](https://github.com/bigcommerce/checkout-sdk-js/commit/bce0d024b0b2698b37d28ebc32a52f35e811a610))
## [1.818.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.817.0...v1.818.0) (2025-10-27)
### Features
* **payment:** PAYPAL-5995 braintree credit card options interface import ([#3044](https://github.com/bigcommerce/checkout-sdk-js/issues/3044)) ([f658e1c](https://github.com/bigcommerce/checkout-sdk-js/commit/f658e1c686443510adf958f7ad9b21bbf689c721))
## [1.817.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.816.1...v1.817.0) (2025-10-27)
### Features
* **payment:** PAYPAL-5992 add check for clientToken ([#3037](https://github.com/bigcommerce/checkout-sdk-js/issues/3037)) ([7fb416a](https://github.com/bigcommerce/checkout-sdk-js/commit/7fb416a84827c70cefdd03f9a6fe80eba2ab4bf4))
* **payment:** PAYPAL-5995 braintree removal ([#3036](https://github.com/bigcommerce/checkout-sdk-js/issues/3036)) ([515ea0b](https://github.com/bigcommerce/checkout-sdk-js/commit/515ea0b96c75dad0978051b4e855ab7c05f194cb))
### [1.816.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.816.0...v1.816.1) (2025-10-27)
## [1.816.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.815.0...v1.816.0) (2025-10-23)
### Features
* **payment:** PAYPAL-5990 added onLoadComplete call after paypal sdk loaded ([#3039](https://github.com/bigcommerce/checkout-sdk-js/issues/3039)) ([6e1b5a8](https://github.com/bigcommerce/checkout-sdk-js/commit/6e1b5a82bb40d54d178d6a4feb2b147ac0cac161))
## [1.815.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.814.0...v1.815.0) (2025-10-23)
### Features
* **payment:** PAYPAL-5984 filtered Klarna id from the list of APMs before passing data to paypal sdk config ([#3031](https://github.com/bigcommerce/checkout-sdk-js/issues/3031)) ([8c91176](https://github.com/bigcommerce/checkout-sdk-js/commit/8c91176b1678ad878ae8258aa7581d030e313c92))
## [1.814.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.813.2...v1.814.0) (2025-10-21)
### Features
* **payment:** PI-4352 Move cba-mpgs payment strategy to the separate… ([#3034](https://github.com/bigcommerce/checkout-sdk-js/issues/3034)) ([4adb3a4](https://github.com/bigcommerce/checkout-sdk-js/commit/4adb3a413fb667667fd09aeeabfb330bd6785e24))
### [1.813.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.813.1...v1.813.2) (2025-10-20)
### Code Refactoring
* **payment:** PAYPAL-2197 rename paypal-express payment initialization type ([b550975](https://github.com/bigcommerce/checkout-sdk-js/commit/b550975a25e0ee7af9cb589091c6a8691ed00f1e))
### [1.813.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.813.0...v1.813.1) (2025-10-20)
### Code Refactoring
* **payment:** PAYPAL-2197 delete paypal-express payment strategy from core ([9884c4b](https://github.com/bigcommerce/checkout-sdk-js/commit/9884c4bc7b8923b71a946594678aa686cedeb410))
## [1.813.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.812.0...v1.813.0) (2025-10-20)
### Features
* **payment:** PAYPAL-5758 update PaypalCommerceFastlaneShippingStrategy using paypal-utils package ([#3032](https://github.com/bigcommerce/checkout-sdk-js/issues/3032)) ([689b6f7](https://github.com/bigcommerce/checkout-sdk-js/commit/689b6f7533a789910821c819db5d083f9be958ca))
## [1.812.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.811.0...v1.812.0) (2025-10-17)
### Features
* **payment:** PAYPAL-2615 removed braintree visa checkout from core ([#3024](https://github.com/bigcommerce/checkout-sdk-js/issues/3024)) ([f444685](https://github.com/bigcommerce/checkout-sdk-js/commit/f444685c29c3be71c1f13dabb2f39d61b610d1a0))
## [1.811.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.810.0...v1.811.0) (2025-10-16)
### Features
* **payment:** PAYPAL-5338 remove instrument declined experiment for ppc ([04895a7](https://github.com/bigcommerce/checkout-sdk-js/commit/04895a7aef3ae93c931d61307b67f22728ebc72d))
* **payment:** PAYPAL-5339 remove instrument declined experiment for braintree ([1d65cdb](https://github.com/bigcommerce/checkout-sdk-js/commit/1d65cdb536465e3c59fe74623af1b27cf624209b))
### Code Refactoring
* **payment:** PAYPAL-2197 move payment strategy to paypal-express-integration package ([97a4e84](https://github.com/bigcommerce/checkout-sdk-js/commit/97a4e849e60afd95677c74ced4bfa8e14c9ebdcf))
## [1.810.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.809.2...v1.810.0) (2025-10-16)
### Features
* **payment:** PAYPAL-5719 added appSwitch for PPCP payment strategy ([#3023](https://github.com/bigcommerce/checkout-sdk-js/issues/3023)) ([7e599c2](https://github.com/bigcommerce/checkout-sdk-js/commit/7e599c224b90b7f8ded4c5a883ffd467f5356b7f))
### [1.809.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.809.1...v1.809.2) (2025-10-16)
### Code Refactoring
* **payment:** move BNZ and Barclays to cybersource implementation ([#3027](https://github.com/bigcommerce/checkout-sdk-js/issues/3027)) ([0a98041](https://github.com/bigcommerce/checkout-sdk-js/commit/0a98041c9ad17b28a51ac1c1bb6db5a09b2dc4b2))
### [1.809.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.809.0...v1.809.1) (2025-10-16)
## [1.809.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.808.0...v1.809.0) (2025-10-15)
### Features
* **payment:** create Stripe utils package ([#3012](https://github.com/bigcommerce/checkout-sdk-js/issues/3012)) ([e494d5e](https://github.com/bigcommerce/checkout-sdk-js/commit/e494d5e16aeb7dc7911eb4a7e68dd550fb051634))
## [1.808.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.807.0...v1.808.0) (2025-10-07)
### Features
* **core:** CHECKOUT-9513 Add option to pass initial state during initialisation ([b0d9a83](https://github.com/bigcommerce/checkout-sdk-js/commit/b0d9a837c998759a1d8da46a9972c66e8282e23b))
* **core:** CHECKOUT-9513 Pass initial state through separate method to reduce work in single microtask ([ce90ae3](https://github.com/bigcommerce/checkout-sdk-js/commit/ce90ae349f6056aee792a568dcd571d7927f1899))
* **payment:** PAYPAL-2615 moved braintree visa checkout to separate package ([#3021](https://github.com/bigcommerce/checkout-sdk-js/issues/3021)) ([1656773](https://github.com/bigcommerce/checkout-sdk-js/commit/1656773b53b9c406214896aaefe1a2839ecb7854))
## [1.807.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.806.0...v1.807.0) (2025-10-06)
### Features
* **payment:** PAYPAL-5718 added appSwitch for PPCP customer strategy ([#3017](https://github.com/bigcommerce/checkout-sdk-js/issues/3017)) ([2da0cb5](https://github.com/bigcommerce/checkout-sdk-js/commit/2da0cb5ed3e35f260d1c0d9f55d7f74cd3aba330))
## [1.806.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.805.0...v1.806.0) (2025-10-03)
### Features
* **payment:** PAYPAL-5717 Added AppSwitch for PPCP Button ([#3022](https://github.com/bigcommerce/checkout-sdk-js/issues/3022)) ([816e605](https://github.com/bigcommerce/checkout-sdk-js/commit/816e605fdd7b7855a5b1264a6245ea696cff4e44))
## [1.805.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.804.0...v1.805.0) (2025-10-01)
### Features
* **payment:** PAYPAL-0 fix validation flow pp payment strategies ([#3019](https://github.com/bigcommerce/checkout-sdk-js/issues/3019)) ([db8646f](https://github.com/bigcommerce/checkout-sdk-js/commit/db8646f4e7b44dd8e54636a90acd89d7b7420a31))
## [1.804.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.803.0...v1.804.0) (2025-10-01)
### Features
* **core:** CHECKOUT-9450 Lazy load payment strategies through essential build ([3f76e30](https://github.com/bigcommerce/checkout-sdk-js/commit/3f76e3029601bab395f2e8593d2ca9ec4f1ada72))
### Bug Fixes
* **payment:** blusnapv2 removal from the core/payments directory ([#3015](https://github.com/bigcommerce/checkout-sdk-js/issues/3015)) ([64d49e9](https://github.com/bigcommerce/checkout-sdk-js/commit/64d49e9044d25b683c194a3130777e57222194f6))
* **payment:** PAYPAL-5925 fixed 3ds PPCP FL nonce ([#3013](https://github.com/bigcommerce/checkout-sdk-js/issues/3013)) ([f889eee](https://github.com/bigcommerce/checkout-sdk-js/commit/f889eee664bf5c583e2c77963155cabad51137e6))
## [1.803.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.802.0...v1.803.0) (2025-09-29)
### Features
* **core:** CHECKOUT-9450 Export ESM modules and separate payment integration strategies from core bundle ([c88606f](https://github.com/bigcommerce/checkout-sdk-js/commit/c88606f92a53f75562bd45e9844f48bd698bb9e9))
* **payment:** Stripe OCS Link captureMethod added ([2d8ac28](https://github.com/bigcommerce/checkout-sdk-js/commit/2d8ac28ab7869b8675683fc992a91370a8d95b19))
## [1.802.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.801.0...v1.802.0) (2025-09-22)
### Features
* **payment:** PAYPAL-5348 remove paypal 3ds experiment ([b843e02](https://github.com/bigcommerce/checkout-sdk-js/commit/b843e02fac1cc1980b1fea9727fecf95e79387f0))
## [1.801.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.800.0...v1.801.0) (2025-09-19)
### Features
* **payment:** PAYPAL-5386 remove new apple pay version param ([e4e561b](https://github.com/bigcommerce/checkout-sdk-js/commit/e4e561b4886450ba4ec0d9d5a374adc96a0f11f4))
* **payment:** PAYPAL-5386 remove new apple pay version param ([9456f76](https://github.com/bigcommerce/checkout-sdk-js/commit/9456f76df3475ba09a15ead9ad9cb886338a8fe3))
## [1.800.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.799.0...v1.800.0) (2025-09-19)
### Features
* **payment:** PAYPAL-5743 paypal-button-creation-service ([#3003](https://github.com/bigcommerce/checkout-sdk-js/issues/3003)) ([ff0d0c1](https://github.com/bigcommerce/checkout-sdk-js/commit/ff0d0c1e453da69437fd7fe5c7ff700d175588ed))
## [1.799.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.798.0...v1.799.0) (2025-09-18)
### Features
* **payment:** PAYPAL-5730 fix error handling ([#3006](https://github.com/bigcommerce/checkout-sdk-js/issues/3006)) ([903646a](https://github.com/bigcommerce/checkout-sdk-js/commit/903646a230b5a55b2334e9f017d450b721335d69))
## [1.798.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.797.0...v1.798.0) (2025-09-18)
### Features
* **payment:** PAYPAL-5809 Updated Braintree SDK version ([#2994](https://github.com/bigcommerce/checkout-sdk-js/issues/2994)) ([31370db](https://github.com/bigcommerce/checkout-sdk-js/commit/31370db348e2c52e3707cb47d3f93a0e48c42864))
## [1.797.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.796.0...v1.797.0) (2025-09-18)
### Features
* **payment:** PAYPAL-5891 fixed way of getting of appswitch experiment ([#3007](https://github.com/bigcommerce/checkout-sdk-js/issues/3007)) ([1e19653](https://github.com/bigcommerce/checkout-sdk-js/commit/1e19653c207364730e7e558f5787f0d0bc96b11c))
### Bug Fixes
* **checkout:** CHECKOUT-9506 Catch empty cart error message in mutation and return it to clients ([#3005](https://github.com/bigcommerce/checkout-sdk-js/issues/3005)) ([d166eba](https://github.com/bigcommerce/checkout-sdk-js/commit/d166eba19636802c84e845a4774d9398027b623e))
## [1.796.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.795.1...v1.796.0) (2025-09-15)
### Features
* **payment:** PAYPAL-5875 covered shipping callbacks with experiment ([#3001](https://github.com/bigcommerce/checkout-sdk-js/issues/3001)) ([dfac019](https://github.com/bigcommerce/checkout-sdk-js/commit/dfac01941269e0ae020f349d12f44720bf3a8b82))
### [1.795.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.795.0...v1.795.1) (2025-09-15)
## [1.795.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.794.4...v1.795.0) (2025-09-12)
### Features
* **payment:** PAYPAL-5742 PPC/BCP service packages refactoring ([#2995](https://github.com/bigcommerce/checkout-sdk-js/issues/2995)) ([a37be69](https://github.com/bigcommerce/checkout-sdk-js/commit/a37be697e3f90a3c5e4a3558ae5650769b3f49ad))
### [1.794.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.794.3...v1.794.4) (2025-09-12)
### Code Refactoring
* **core:** CHECKOUT-9450 Upgrade webpack version to improve tree-shaking ([56f32f5](https://github.com/bigcommerce/checkout-sdk-js/commit/56f32f53c5185c7c252496e1721e5c8ed24512af))
### [1.794.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.794.1...v1.794.3) (2025-09-11)
### [1.794.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.794.1...v1.794.2) (2025-09-11)
### [1.794.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.794.0...v1.794.1) (2025-09-11)
### Bug Fixes
* **payment:** CHECKOUT-9493 Pass checkout id to hosted form ppsdk providers ([#2998](https://github.com/bigcommerce/checkout-sdk-js/issues/2998)) ([dab4e00](https://github.com/bigcommerce/checkout-sdk-js/commit/dab4e00bbb786f285a0764588ef0e68c732fe4f2))
## [1.794.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.793.1...v1.794.0) (2025-09-05)
### Features
* **payment:** PAYPAL-5806 bt cart validation fix ([#2992](https://github.com/bigcommerce/checkout-sdk-js/issues/2992)) ([d0072c1](https://github.com/bigcommerce/checkout-sdk-js/commit/d0072c1cc8fe93777ad348615fcd4ac9ec13f631))
### [1.793.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.793.0...v1.793.1) (2025-09-05)
### Bug Fixes
* **payment:** Stripe OCS fix token property in payload ([#2991](https://github.com/bigcommerce/checkout-sdk-js/issues/2991)) ([b16997b](https://github.com/bigcommerce/checkout-sdk-js/commit/b16997b13fb86d4db1db7387e14a1d6282f39af3))
## [1.793.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.792.0...v1.793.0) (2025-09-03)
### Features
* **payment:** PAYPAL-5741 combined paypal-commerce-utils and bigcommerce-payments-utils into paypal-utils ([#2990](https://github.com/bigcommerce/checkout-sdk-js/issues/2990)) ([2940929](https://github.com/bigcommerce/checkout-sdk-js/commit/294092962272a0edeae80366b31ae6ce7655df34))
## [1.792.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.791.0...v1.792.0) (2025-09-02)
### Features
* **payment:** Stripe V3 allow_redirect added ([c7cdbbc](https://github.com/bigcommerce/checkout-sdk-js/commit/c7cdbbc4ba5142b36e5270c8d085844cb7fd9fa7))
## [1.791.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.790.0...v1.791.0) (2025-09-02)
### Features
* **payment:** Stripe UPE allow_redirect added ([85289e9](https://github.com/bigcommerce/checkout-sdk-js/commit/85289e909dd48b47a03f2dda79e78a3d60ac31e5))
## [1.790.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.789.0...v1.790.0) (2025-08-29)
### Features
* **payment:** PAYPAL-5740 paypal-utils package ([#2988](https://github.com/bigcommerce/checkout-sdk-js/issues/2988)) ([3007614](https://github.com/bigcommerce/checkout-sdk-js/commit/30076143bf4056ebecf8029aa663c09e3f01d375))
## [1.789.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.6...v1.789.0) (2025-08-27)
### Features
* **payment:** PAYPAL-5660 add Braintree PayPal message render condition ([dcc08ff](https://github.com/bigcommerce/checkout-sdk-js/commit/dcc08ff83ab61a03dbdebc353956c714ca858d83))
* **payment:** PAYPAL-5660 add Braintree PayPal message render condition ([cf256f6](https://github.com/bigcommerce/checkout-sdk-js/commit/cf256f673e209e51da33fd99ed460ee8f27d6c31))
### [1.788.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.5...v1.788.6) (2025-08-26)
### [1.788.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.4...v1.788.5) (2025-08-25)
### Bug Fixes
* **payment:** PI-4266 Apple Pay fails on product pages with reCAPTCHA enabled ([#2982](https://github.com/bigcommerce/checkout-sdk-js/issues/2982)) ([668c970](https://github.com/bigcommerce/checkout-sdk-js/commit/668c970fa40be0de752ac26476a6bc2217de63f9))
### [1.788.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.3...v1.788.4) (2025-08-21)
### Code Refactoring
* **payment:** PAYPAL-5710 removed BT Venmo payment strategy from core ([#2977](https://github.com/bigcommerce/checkout-sdk-js/issues/2977)) ([7b0af01](https://github.com/bigcommerce/checkout-sdk-js/commit/7b0af011c5a5ac8074ab886b59a667a3204bc75d))
### [1.788.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.2...v1.788.3) (2025-08-20)
### Code Refactoring
* **payment:** PAYPAL-5710 Moved Braintree Venmo payment strategy to packages ([#2976](https://github.com/bigcommerce/checkout-sdk-js/issues/2976)) ([28b3bcd](https://github.com/bigcommerce/checkout-sdk-js/commit/28b3bcdb4cb14decf3021865dd93a9c9a3a3d78e))
### [1.788.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.1...v1.788.2) (2025-08-20)
### Bug Fixes
* **payment:** CHECKOUT-9448 check for checkout id before attaching to iframe ([#2980](https://github.com/bigcommerce/checkout-sdk-js/issues/2980)) ([7ed5eb7](https://github.com/bigcommerce/checkout-sdk-js/commit/7ed5eb742e2f9b0adb68d2beff8dd28d7079f970))
### [1.788.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.788.0...v1.788.1) (2025-08-20)
## [1.788.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.787.0...v1.788.0) (2025-08-14)
### Features
* **payment:** PAYPAL-5712 added support for Braintree versions loaded from third-party resources. ([#2975](https://github.com/bigcommerce/checkout-sdk-js/issues/2975)) ([9d1cafd](https://github.com/bigcommerce/checkout-sdk-js/commit/9d1cafd0c9e6399e0c0dc35f51af05114c404416))
## [1.787.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.786.0...v1.787.0) (2025-08-13)
### Features
* **customer:** CHECKOUT-9403 Pass cart id in payload to sign in and sign out for customer ([#2971](https://github.com/bigcommerce/checkout-sdk-js/issues/2971)) ([3cea9cd](https://github.com/bigcommerce/checkout-sdk-js/commit/3cea9cdbd54e5deece1405015bb595de09df8785))
## [1.786.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.785.0...v1.786.0) (2025-08-13)
### Features
* **payment:** PAYPAL-5729 provided 3ds option to avoid specific error related to 3ds request error when fastlane is enabled ([#2972](https://github.com/bigcommerce/checkout-sdk-js/issues/2972)) ([a50dbd9](https://github.com/bigcommerce/checkout-sdk-js/commit/a50dbd922ac9ab9ca193c33ba58a9d992685826b))
## [1.785.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.784.1...v1.785.0) (2025-08-12)
### Features
* **payment:** Stripe OCS add selected payment method to payments payload ([#2969](https://github.com/bigcommerce/checkout-sdk-js/issues/2969)) ([7f1d234](https://github.com/bigcommerce/checkout-sdk-js/commit/7f1d234d45718c4dfa92e84ac3a275aea774bc26))
### [1.784.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.784.0...v1.784.1) (2025-08-12)
### Code Refactoring
* **checkout:** PI-4255 deprecate CCAvenueMars ([#2967](https://github.com/bigcommerce/checkout-sdk-js/issues/2967)) ([97ad8f1](https://github.com/bigcommerce/checkout-sdk-js/commit/97ad8f127e1e74cb50ec861774e84cdc2f569aaf))
## [1.784.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.783.0...v1.784.0) (2025-08-11)
### Features
* **payment:** Stripe OCS preloader ([#2959](https://github.com/bigcommerce/checkout-sdk-js/issues/2959)) ([0ea4a96](https://github.com/bigcommerce/checkout-sdk-js/commit/0ea4a96baad51828b8ecb7f69b951f960976017d))
## [1.783.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.782.0...v1.783.0) (2025-08-11)
### Features
* **payment:** Stripe OCS ACH vaultings ([#2965](https://github.com/bigcommerce/checkout-sdk-js/issues/2965)) ([1de461c](https://github.com/bigcommerce/checkout-sdk-js/commit/1de461c8da7ffb0fdef6fda10438572ce9a75f80))
## [1.782.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.781.3...v1.782.0) (2025-08-11)
### Features
* **payment:** PAYPAL-5657 hide braintree card banner implementation ([f0afdbf](https://github.com/bigcommerce/checkout-sdk-js/commit/f0afdbf0cc528508a1fa781131686c3da15fed76))
* **payment:** PAYPAL-5657 hide braintree card banner implementation ([#2966](https://github.com/bigcommerce/checkout-sdk-js/issues/2966)) ([5ecff91](https://github.com/bigcommerce/checkout-sdk-js/commit/5ecff91929e660ff59d62f1f1ddd8d3948d38822))
### [1.781.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.781.2...v1.781.3) (2025-08-08)
### Code Refactoring
* **payment:** Removed BT Credit Card Payment Strategy from core ([#2955](https://github.com/bigcommerce/checkout-sdk-js/issues/2955)) ([b7a62b1](https://github.com/bigcommerce/checkout-sdk-js/commit/b7a62b14eeb6d9c9f451bf4cad48351a4b507e92))
### [1.781.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.781.1...v1.781.2) (2025-08-07)
### Code Refactoring
* **payment:** Moved BT Credit Card Payment Strategy ([#2944](https://github.com/bigcommerce/checkout-sdk-js/issues/2944)) ([9ea7174](https://github.com/bigcommerce/checkout-sdk-js/commit/9ea7174d66282a1aab9035345384232aee56dbc8))
### [1.781.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.781.0...v1.781.1) (2025-08-07)
### Bug Fixes
* **checkout:** Update Storefront APIs Doc URL ([#2963](https://github.com/bigcommerce/checkout-sdk-js/issues/2963)) ([9bead28](https://github.com/bigcommerce/checkout-sdk-js/commit/9bead28a24a21256653c9b8a781c0e400151fe20))
## [1.781.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.780.0...v1.781.0) (2025-08-06)
### Features
* **payment:** Remove applepay method filtering logic to show applepay method in Payment Step for third-party browsers ([#2957](https://github.com/bigcommerce/checkout-sdk-js/issues/2957)) ([07c7cb6](https://github.com/bigcommerce/checkout-sdk-js/commit/07c7cb6cb1dedfb52cd80b7ff1b3314e287ce21e))
## [1.780.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.779.0...v1.780.0) (2025-08-05)
### Features
* **payment:** Changed PaymentInstrument interface ([#2956](https://github.com/bigcommerce/checkout-sdk-js/issues/2956)) ([23722d6](https://github.com/bigcommerce/checkout-sdk-js/commit/23722d66fd88e072f88c6e6bb1ba5a8915ca339d))
## [1.779.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.6...v1.779.0) (2025-08-05)
### Features
* **payment:** updated venmo button strategy with providing loadDefaultCheckout to load store config ([#2958](https://github.com/bigcommerce/checkout-sdk-js/issues/2958)) ([54fd9d5](https://github.com/bigcommerce/checkout-sdk-js/commit/54fd9d5f7c6011becba2784eac52419e963abafd))
### [1.778.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.5...v1.778.6) (2025-08-04)
### Bug Fixes
* **payment:** Stripe Link v2 on cancel event added ([5fc2e48](https://github.com/bigcommerce/checkout-sdk-js/commit/5fc2e48472a0b92ec460c7b5df2a08647f38ab4c))
### [1.778.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.4...v1.778.5) (2025-07-31)
### Code Refactoring
* **payment:** updated Braintree Fastlane to use cookies instead of local storage ([#2953](https://github.com/bigcommerce/checkout-sdk-js/issues/2953)) ([d30a21e](https://github.com/bigcommerce/checkout-sdk-js/commit/d30a21eaf81eaa789c16d4347533c859eefc618b))
### [1.778.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.3...v1.778.4) (2025-07-30)
### Bug Fixes
* **payment:** updated getSDKVersion method in BraintreeSDKVersionManager with getStoreConfig instead of getStoreConfigOrThrow ([#2952](https://github.com/bigcommerce/checkout-sdk-js/issues/2952)) ([3e7aa25](https://github.com/bigcommerce/checkout-sdk-js/commit/3e7aa25f7d47fe2c23ba4b68196ec0081d77cba3))
### [1.778.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.2...v1.778.3) (2025-07-30)
### Bug Fixes
* **payment:** Fix threeDSVerification method assignment ([#2951](https://github.com/bigcommerce/checkout-sdk-js/issues/2951)) ([810bdeb](https://github.com/bigcommerce/checkout-sdk-js/commit/810bdeb74f646a2da476d3060103bd606d07bb75))
### [1.778.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.1...v1.778.2) (2025-07-30)
### Bug Fixes
* **payment:** Fix ppcp fl request error message ([#2950](https://github.com/bigcommerce/checkout-sdk-js/issues/2950)) ([e8f0d3d](https://github.com/bigcommerce/checkout-sdk-js/commit/e8f0d3d376d55268754e8e3679dcb51069b94804))
### [1.778.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.778.0...v1.778.1) (2025-07-30)
### Code Refactoring
* **payment:** updated BigCommercePaymentsFastlane strategies implementation to use cookies instead of local storage ([#2948](https://github.com/bigcommerce/checkout-sdk-js/issues/2948)) ([9380161](https://github.com/bigcommerce/checkout-sdk-js/commit/93801611665718d385f235a5e3b2c55104a4bdac))
## [1.778.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.777.1...v1.778.0) (2025-07-28)
### Features
* **payment:** update braintree version ([#2943](https://github.com/bigcommerce/checkout-sdk-js/issues/2943)) ([74b075c](https://github.com/bigcommerce/checkout-sdk-js/commit/74b075c164b3222634c7b36171ad56e9a8d705c4))
### [1.777.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.777.0...v1.777.1) (2025-07-28)
### Bug Fixes
* **payment:** Stripe Link v2 Klarna disable ([9b253b9](https://github.com/bigcommerce/checkout-sdk-js/commit/9b253b942860f324d40c013c7d33fb39917432da))
## [1.777.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.776.0...v1.777.0) (2025-07-28)
### Features
* **payment:** Address is not populated to Klarna modal ([#2939](https://github.com/bigcommerce/checkout-sdk-js/issues/2939)) ([8c07840](https://github.com/bigcommerce/checkout-sdk-js/commit/8c0784009c5fdacdbbb5ebf3b72fd040f94c2603))
## [1.776.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.775.0...v1.776.0) (2025-07-24)
### Features
* **payment:** Added BCP FL corresponding error for 422 payment status ([#2941](https://github.com/bigcommerce/checkout-sdk-js/issues/2941)) ([255fcfe](https://github.com/bigcommerce/checkout-sdk-js/commit/255fcfea3722bc8af5190e8cbf565e8504cfe6d9))
## [1.775.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.774.0...v1.775.0) (2025-07-24)
### Features
* **payment:** Added liability shift processing for BCP FL ([#2940](https://github.com/bigcommerce/checkout-sdk-js/issues/2940)) ([df840cc](https://github.com/bigcommerce/checkout-sdk-js/commit/df840cc2e138aad54810de27fd991870db50bf72))
## [1.774.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.773.0...v1.774.0) (2025-07-23)
### Features
* **payment:** added BraintreeSDKVersionManager ([#2932](https://github.com/bigcommerce/checkout-sdk-js/issues/2932)) ([afa2f19](https://github.com/bigcommerce/checkout-sdk-js/commit/afa2f195a74cfe266d67183a8e47060c1e033b9f))
## [1.773.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.772.0...v1.773.0) (2025-07-23)
### Features
* **payment:** Added corresponding error for 422 payment status ([#2938](https://github.com/bigcommerce/checkout-sdk-js/issues/2938)) ([31c3813](https://github.com/bigcommerce/checkout-sdk-js/commit/31c3813dcca0861a73ffb9e6e9a4559dd15427aa))
## [1.772.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.771.0...v1.772.0) (2025-07-23)
### Features
* **payment:** Create order after liability shift passed when 3ds is on ([#2936](https://github.com/bigcommerce/checkout-sdk-js/issues/2936)) ([51ddb2e](https://github.com/bigcommerce/checkout-sdk-js/commit/51ddb2ee24c603fb9cf99170a132bd6c62e14205))
### Bug Fixes
* **customer:** Fetch updated checkout after carts are merged ([#2923](https://github.com/bigcommerce/checkout-sdk-js/issues/2923)) ([b5c94c4](https://github.com/bigcommerce/checkout-sdk-js/commit/b5c94c424a52d1df62e77730aa724cc31a3c4622))
## [1.771.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.770.0...v1.771.0) (2025-07-22)
### Features
* **payment:** Enable Stripe OCS Link from control panel ([#2937](https://github.com/bigcommerce/checkout-sdk-js/issues/2937)) ([4808a58](https://github.com/bigcommerce/checkout-sdk-js/commit/4808a58ddae67908562d4da475f347bd72b9bd3b))
## [1.770.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.769.0...v1.770.0) (2025-07-21)
### Features
* **payment:** added banner additional check ([#2929](https://github.com/bigcommerce/checkout-sdk-js/issues/2929)) ([9864c00](https://github.com/bigcommerce/checkout-sdk-js/commit/9864c0045b840fcab3f416a648a0b678a1d9808b))
## [1.769.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.768.1...v1.769.0) (2025-07-21)
### Features
* **payment:** Stripe Link v2 options updated ([e7dc95d](https://github.com/bigcommerce/checkout-sdk-js/commit/e7dc95d19d8fa35e2027d28a772a520788d00f8f))
### [1.768.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.768.0...v1.768.1) (2025-07-21)
### Bug Fixes
* **payment:** updated BCP iDeal amp methods with related changes from PPCP ([#2933](https://github.com/bigcommerce/checkout-sdk-js/issues/2933)) ([7b91576](https://github.com/bigcommerce/checkout-sdk-js/commit/7b91576ed43905ccf27cf25edf6827ffc0b77068))
## [1.768.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.767.2...v1.768.0) (2025-07-21)
### Features
* **payment:** Stripe OCS add Link logic to accordion ([#2935](https://github.com/bigcommerce/checkout-sdk-js/issues/2935)) ([cc6e7e1](https://github.com/bigcommerce/checkout-sdk-js/commit/cc6e7e14db3a12819a1357e3ccea8aeca261cba8))
### [1.767.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.767.1...v1.767.2) (2025-07-17)
### Bug Fixes
* **payment:** updated provider id used for order creation in BCP Ratepay Payment strategy ([#2931](https://github.com/bigcommerce/checkout-sdk-js/issues/2931)) ([959b152](https://github.com/bigcommerce/checkout-sdk-js/commit/959b1529a8501c792174c5cc458cf8e1516533d8))
### [1.767.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.767.0...v1.767.1) (2025-07-17)
### Code Refactoring
* **payment:** updated ppcp fastlane implementation to use cookies instead of local storage ([#2930](https://github.com/bigcommerce/checkout-sdk-js/issues/2930)) ([fe6931d](https://github.com/bigcommerce/checkout-sdk-js/commit/fe6931d94062afbccc679ff7c478a9fd05bd6d10))
## [1.767.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.766.0...v1.767.0) (2025-07-16)
### Features
* **payment:** Stripe OCS add state code to stripe confirmation details ([#2928](https://github.com/bigcommerce/checkout-sdk-js/issues/2928)) ([dcf5c83](https://github.com/bigcommerce/checkout-sdk-js/commit/dcf5c8312386e8a70b63d577acf53804aea5db37))
## [1.766.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.765.0...v1.766.0) (2025-07-14)
### Features
* **payment:** Stripe OCS add status for instrument vaulting ([#2927](https://github.com/bigcommerce/checkout-sdk-js/issues/2927)) ([1a7be7c](https://github.com/bigcommerce/checkout-sdk-js/commit/1a7be7c6a4cb53cbb058274f82aecdbc6f5e13e1))
## [1.765.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.764.0...v1.765.0) (2025-07-14)
### Features
* **payment:** added bigcommerce payment related instruments to a list of supported instruments ([#2924](https://github.com/bigcommerce/checkout-sdk-js/issues/2924)) ([6739a5d](https://github.com/bigcommerce/checkout-sdk-js/commit/6739a5d3df13d0743355d2a2e86a0c70dda7c6f2))
## [1.764.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.763.0...v1.764.0) (2025-07-14)
### Features
* **payment:** hot fix (Sentry issue) ([#2926](https://github.com/bigcommerce/checkout-sdk-js/issues/2926)) ([2697017](https://github.com/bigcommerce/checkout-sdk-js/commit/26970177476ec3b17211006848a5b25e88c716dc))
## [1.763.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.762.0...v1.763.0) (2025-07-10)
### Features
* **payment:** Stripe Link v2 loading indicator added ([a90146c](https://github.com/bigcommerce/checkout-sdk-js/commit/a90146c9141b693816f52c9b3fccc897a058944b))
## [1.762.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.761.0...v1.762.0) (2025-07-10)
### Features
* **payment:** Added BCP FL 3DS ([#2922](https://github.com/bigcommerce/checkout-sdk-js/issues/2922)) ([ca4dbae](https://github.com/bigcommerce/checkout-sdk-js/commit/ca4dbaefe02983dbe4321dcbce92a6d80d133a54))
## [1.761.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.760.0...v1.761.0) (2025-07-09)
### Features
* **payment:** Stripe Link v2 onConfirm method ([5a01821](https://github.com/bigcommerce/checkout-sdk-js/commit/5a018217372d9e98ea7dc735cef3bad26afdb685))
## [1.760.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.759.1...v1.760.0) (2025-07-07)
### Features
* **payment:** added PL banner implementation to paypal-commerce-payment-strategy.ts, removed paypalLoadScript since we do not need this method due changed script loading method ([#2919](https://github.com/bigcommerce/checkout-sdk-js/issues/2919)) ([4807abf](https://github.com/bigcommerce/checkout-sdk-js/commit/4807abface6aaa37d56635261606729ac8f8b61c))
### [1.759.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.759.0...v1.759.1) (2025-07-07)
### Code Refactoring
* **payment:** cleanup unused code in BraintreeMessages class ([#2920](https://github.com/bigcommerce/checkout-sdk-js/issues/2920)) ([a37c3fb](https://github.com/bigcommerce/checkout-sdk-js/commit/a37c3fbd2a501c2d2ace49cf2c427dbe1ac710c5))
## [1.759.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.758.1...v1.759.0) (2025-07-04)
### Features
* **payment:** Stripe OCS, broadcast customer token for stored cards ([#2917](https://github.com/bigcommerce/checkout-sdk-js/issues/2917)) ([b9d0134](https://github.com/bigcommerce/checkout-sdk-js/commit/b9d0134c3689f6407cc7a0f403fe8acee29c62c7))
### [1.758.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.758.0...v1.758.1) (2025-07-03)
### Code Refactoring
* **payment:** removed no BNPL related code from BCP strategies ([#2916](https://github.com/bigcommerce/checkout-sdk-js/issues/2916)) ([13852ca](https://github.com/bigcommerce/checkout-sdk-js/commit/13852ca4553c0b599bfb99fab7c9ce78c8bae42d))
## [1.758.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.757.1...v1.758.0) (2025-07-03)
### Features
* **payment:** Stripe OCS, broadcast customer token for stored cards ([#2915](https://github.com/bigcommerce/checkout-sdk-js/issues/2915)) ([6315415](https://github.com/bigcommerce/checkout-sdk-js/commit/63154150814c62c231ef442d7c7eff10caffedbc))
### [1.757.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.757.0...v1.757.1) (2025-07-02)
### Code Refactoring
* **payment:** updated paypal commerce credit button strategy with BNPL changes after experiment rollout ([#2914](https://github.com/bigcommerce/checkout-sdk-js/issues/2914)) ([604fbef](https://github.com/bigcommerce/checkout-sdk-js/commit/604fbef2c8697e9ac56d5d4502f177ff8277c655))
## [1.757.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.756.1...v1.757.0) (2025-07-01)
### Features
* **payment:** Deprecate PROJECT-3828.add_3ds_support_on_squarev2 experiment ([#2909](https://github.com/bigcommerce/checkout-sdk-js/issues/2909)) ([510390c](https://github.com/bigcommerce/checkout-sdk-js/commit/510390ca3f60266cdfe3adfd15617a3fdee34fa6))
### [1.756.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.756.0...v1.756.1) (2025-06-30)
## [1.756.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.755.2...v1.756.0) (2025-06-30)
### Features
* **payment:** added unsupported credit card brands to braintree credit cards payment strategy ([#2910](https://github.com/bigcommerce/checkout-sdk-js/issues/2910)) ([1c86f2c](https://github.com/bigcommerce/checkout-sdk-js/commit/1c86f2c541bf6dccf5fb4d5e02840e1cb84f4514))
### [1.755.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.755.1...v1.755.2) (2025-06-30)
### Bug Fixes
* **payment:** all Moneris payments fail on iOS devices ([6709a47](https://github.com/bigcommerce/checkout-sdk-js/commit/6709a474051665521942223c873f0b04e125da8b))
### [1.755.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.755.0...v1.755.1) (2025-06-26)
### Bug Fixes
* **payment:** removed type from bigcommerce_payments_creditcardsscheckout in BigCommercePaymentsCreditCardsPaymentStrategy ([#2908](https://github.com/bigcommerce/checkout-sdk-js/issues/2908)) ([11c5ce2](https://github.com/bigcommerce/checkout-sdk-js/commit/11c5ce29858917d927d77d9e3b87b16a090d76fd))
## [1.755.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.754.0...v1.755.0) (2025-06-25)
### Features
* **payment:** add hiding logic for messaging ([#2906](https://github.com/bigcommerce/checkout-sdk-js/issues/2906)) ([4df2ab2](https://github.com/bigcommerce/checkout-sdk-js/commit/4df2ab2e50ffd17bfc3b20760c84034a27d62443))
## [1.754.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.753.0...v1.754.0) (2025-06-25)
### Features
* **payment:** Refactor code in order to use newly added skipRedirectConfirmationAlert ([#2900](https://github.com/bigcommerce/checkout-sdk-js/issues/2900)) ([602799f](https://github.com/bigcommerce/checkout-sdk-js/commit/602799fa0eb024c90d652b7deb5d95782ea76fbe))
## [1.753.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.752.0...v1.753.0) (2025-06-23)
### Features
* **payment:** fastlane success flow fix ([#2904](https://github.com/bigcommerce/checkout-sdk-js/issues/2904)) ([27ff74a](https://github.com/bigcommerce/checkout-sdk-js/commit/27ff74a91bc52179243bd6283a96ed41ee097299))
## [1.752.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.751.3...v1.752.0) (2025-06-23)
### Features
* **checkout:** introduce new command to rerender shipping step ([#2903](https://github.com/bigcommerce/checkout-sdk-js/issues/2903)) ([a4c7d9e](https://github.com/bigcommerce/checkout-sdk-js/commit/a4c7d9eecf86c23662c322cbac68ed32414adc33))
### [1.751.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.751.2...v1.751.3) (2025-06-20)
### [1.751.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.751.1...v1.751.2) (2025-06-19)
### Code Refactoring
* **payment:** renamed BigCommercePaymentsPayPal to BigCommercePayments ([#2901](https://github.com/bigcommerce/checkout-sdk-js/issues/2901)) ([69b5821](https://github.com/bigcommerce/checkout-sdk-js/commit/69b58212f59b43e911f5da414c836664295d2e72))
### [1.751.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.751.0...v1.751.1) (2025-06-18)
## [1.751.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.750.0...v1.751.0) (2025-06-18)
### Features
* **checkout:** CHECKOUT-9322 Add New Extension Region ([#2898](https://github.com/bigcommerce/checkout-sdk-js/issues/2898)) ([6ee6e54](https://github.com/bigcommerce/checkout-sdk-js/commit/6ee6e54e1b9db3e94fa754b25a671e74f214a5e0))
## [1.750.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.749.0...v1.750.0) (2025-06-17)
### Features
* **payment:** Stripe OCS Google Pay added ([10ff2bc](https://github.com/bigcommerce/checkout-sdk-js/commit/10ff2bc94ae438ce803b9fed236f64eb82f2af54))
## [1.749.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.748.0...v1.749.0) (2025-06-17)
### Features
* **payment:** redirect action handling ([b2d619d](https://github.com/bigcommerce/checkout-sdk-js/commit/b2d619d2656b2665677a89f15ba7af421237fb39))
## [1.748.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.747.1...v1.748.0) (2025-06-17)
### Features
* **payment:** Change how payment_method_category parameter is passed to Klarna ([#2890](https://github.com/bigcommerce/checkout-sdk-js/issues/2890)) ([3a8f5bf](https://github.com/bigcommerce/checkout-sdk-js/commit/3a8f5bf7151e1e032f105d01247cf9fe13540bf1))
### [1.747.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.747.0...v1.747.1) (2025-06-16)
### Code Refactoring
* **payment:** PI-3957 DigitalRiver deprecation ([#2896](https://github.com/bigcommerce/checkout-sdk-js/issues/2896)) ([b4c6493](https://github.com/bigcommerce/checkout-sdk-js/commit/b4c6493803ac1c4ffb84b981e21d94f968403303))
## [1.747.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.746.0...v1.747.0) (2025-06-16)
### Features
* **payment:** PI-3946 Remove experiment: INT-5826.amazon_relative_url[checkout-js] ([#2894](https://github.com/bigcommerce/checkout-sdk-js/issues/2894)) ([bed1793](https://github.com/bigcommerce/checkout-sdk-js/commit/bed179384fd80233372b7e93e8761432a562095b))
## [1.746.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.745.1...v1.746.0) (2025-06-12)
### Features
* **payment:** Stripe Link V2 strategy added ([bfc55b4](https://github.com/bigcommerce/checkout-sdk-js/commit/bfc55b4c274cdb2a4ce3aa1dd3d778f374d5f507))
### [1.745.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.745.0...v1.745.1) (2025-06-12)
## [1.745.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.744.1...v1.745.0) (2025-06-11)
### Features
* **payment:** updated braintree-venmo-payment-strategy with providing initialization options ([99a6e12](https://github.com/bigcommerce/checkout-sdk-js/commit/99a6e123006a1c25a00c7be75ee4dfc9c6170d89))
### [1.744.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.744.0...v1.744.1) (2025-06-10)
### Bug Fixes
* **payment:** Google Pay billing address update customFields added ([925cefa](https://github.com/bigcommerce/checkout-sdk-js/commit/925cefad0ef0a0bb6c676d23661f6ebe70f0dec1))
## [1.744.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.743.2...v1.744.0) (2025-06-10)
### Features
* **payment:** Move all Stripe OCS styling configs to checkout-js side ([2241704](https://github.com/bigcommerce/checkout-sdk-js/commit/2241704b2463ffcefce528dd3b21d64ae303a6e5))
### [1.743.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.743.1...v1.743.2) (2025-06-04)
### [1.743.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.743.0...v1.743.1) (2025-06-04)
## [1.743.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.742.0...v1.743.0) (2025-06-04)
### Features
* **checkout:** Add listening methods to worker extension messenger ([#2886](https://github.com/bigcommerce/checkout-sdk-js/issues/2886)) ([4cc883a](https://github.com/bigcommerce/checkout-sdk-js/commit/4cc883a5bdf700571945278cb147da2e7f66cc8b))
## [1.742.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.741.0...v1.742.0) (2025-06-02)
### Features
* **payment:** added canMakePayments method as additional verification of payment capability ([72f03c1](https://github.com/bigcommerce/checkout-sdk-js/commit/72f03c1efa3cf7a2dea53f78da72c483bb777b4d))
* **payment:** console.error instead of throw error ([643394e](https://github.com/bigcommerce/checkout-sdk-js/commit/643394ef7d13a9404453333b918b3f47a8f6ab74))
## [1.741.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.740.0...v1.741.0) (2025-06-02)
### Features
* **checkout:** Add worker extension messenger and worker-event-poster ([#2876](https://github.com/bigcommerce/checkout-sdk-js/issues/2876)) ([afcaeaa](https://github.com/bigcommerce/checkout-sdk-js/commit/afcaeaa9a5cbc2eeea3e9364e98408038647ee04))
## [1.740.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.739.0...v1.740.0) (2025-05-29)
### Features
* **payment:** move Stripe OCS and UPE to separate modules ([b02df3e](https://github.com/bigcommerce/checkout-sdk-js/commit/b02df3ec06eabd12f451db555035bd30513fae35))
## [1.739.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.738.0...v1.739.0) (2025-05-29)
### Features
* **checkout:** Add worker-event-listener ([#2870](https://github.com/bigcommerce/checkout-sdk-js/issues/2870)) ([0723433](https://github.com/bigcommerce/checkout-sdk-js/commit/0723433e8289edb4b0cdf737210c88e09a9bf6ae))
* **payment:** move Stripe OCS and UPE to separate modules ([00debe6](https://github.com/bigcommerce/checkout-sdk-js/commit/00debe6848abe499fa118963fd5eba4ba865eee5))
## [1.738.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.737.0...v1.738.0) (2025-05-28)
### Features
* **payment:** removed google-pay-paypal-commerce-script-loader.ts and moved logic to paypal-commerce-sdk ([6240a2f](https://github.com/bigcommerce/checkout-sdk-js/commit/6240a2f86955e2e684555a7d9c8b9d80fdfbbb18))
## [1.737.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.736.0...v1.737.0) (2025-05-28)
### Features
* **payment:** remove Sofort and Giropay enums from StripeUPE ([8c43601](https://github.com/bigcommerce/checkout-sdk-js/commit/8c436015e893b11f254d0273404b348e2fa834bc))
## [1.736.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.735.0...v1.736.0) (2025-05-27)
### Features
* **payment:** clone bigcommerce payments fastlane files ([#2879](https://github.com/bigcommerce/checkout-sdk-js/issues/2879)) ([b5d8fc4](https://github.com/bigcommerce/checkout-sdk-js/commit/b5d8fc430fc9c8be220fe7bf4b8d9241a7ebf516))
## [1.735.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.734.0...v1.735.0) (2025-05-27)
### Features
* **checkout:** create new method to register extension web worker ([#2869](https://github.com/bigcommerce/checkout-sdk-js/issues/2869)) ([0f70f55](https://github.com/bigcommerce/checkout-sdk-js/commit/0f70f55a4f035d8b029ed83d510151ba68f48e1b))
## [1.734.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.733.0...v1.734.0) (2025-05-26)
### Features
* **payment:** clone bigcommerce payments paylater methods files ([#2863](https://github.com/bigcommerce/checkout-sdk-js/issues/2863)) ([f56d714](https://github.com/bigcommerce/checkout-sdk-js/commit/f56d7149a8e1d6eb4fce59bc988ad44b374b80a4))
* **payment:** clone BigCommercePayments RatePay files ([#2866](https://github.com/bigcommerce/checkout-sdk-js/issues/2866)) ([d7a3157](https://github.com/bigcommerce/checkout-sdk-js/commit/d7a3157ffb3707fc1cba2bba82a573032bddd7f2))
* **payment:** clone BigCommercePayments Venmo files ([#2867](https://github.com/bigcommerce/checkout-sdk-js/issues/2867)) ([0ce2b68](https://github.com/bigcommerce/checkout-sdk-js/commit/0ce2b6805c85d0c0c624a26396582235a3fe5ed9))
## [1.733.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.732.3...v1.733.0) (2025-05-26)
### Features
* **payment:** clone bigcommerce payments alternative methods files ([#2862](https://github.com/bigcommerce/checkout-sdk-js/issues/2862)) ([a50ac03](https://github.com/bigcommerce/checkout-sdk-js/commit/a50ac03673ef5358318ad58e878a8d6542dfd512))
* **payment:** clone bigcommerce payments credit cards files ([#2864](https://github.com/bigcommerce/checkout-sdk-js/issues/2864)) ([1a687c1](https://github.com/bigcommerce/checkout-sdk-js/commit/1a687c1de2f180674cd17ec6ee9d1cacb8b0c5fd))
* **payment:** Stripe OCS accordion state on initialization ([c119c5c](https://github.com/bigcommerce/checkout-sdk-js/commit/c119c5cc2fb2ff0f10aa4317db066313cb3c5cf2))
### [1.732.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.732.2...v1.732.3) (2025-05-26)
### [1.732.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.732.1...v1.732.2) (2025-05-26)
### [1.732.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.732.0...v1.732.1) (2025-05-26)
### Code Refactoring
* **payment:** removed Braintree LPM fallback experiment and speed up related tests run ([#2871](https://github.com/bigcommerce/checkout-sdk-js/issues/2871)) ([9e74eb0](https://github.com/bigcommerce/checkout-sdk-js/commit/9e74eb07a8737b78ad7d5aed8232ce3e1f75603b))
## [1.732.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.731.2...v1.732.0) (2025-05-07)
### Features
* **payment:** Stripe OCS accordion element styling ([5463f92](https://github.com/bigcommerce/checkout-sdk-js/commit/5463f9256038acd95d7621f9ac2733e666d5cbe0))
### [1.731.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.731.1...v1.731.2) (2025-04-30)
### [1.731.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.731.0...v1.731.1) (2025-04-30)
### Bug Fixes
* **payment:** fixed bt fl 3ds amount ([#2851](https://github.com/bigcommerce/checkout-sdk-js/issues/2851)) ([3c0b622](https://github.com/bigcommerce/checkout-sdk-js/commit/3c0b622b355ecf835db368f0e5e9f4fd22b4d79c))
## [1.731.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.730.0...v1.731.0) (2025-04-29)
### Features
* **payment:** updated braintree venmo config ([73e1e59](https://github.com/bigcommerce/checkout-sdk-js/commit/73e1e59f709cde5e252280f57590c57ca2a4e458))
* **payment:** updates after review ([3d0ff3b](https://github.com/bigcommerce/checkout-sdk-js/commit/3d0ff3b24e3cf46bf2dbea1d7bd7cfa3293c7ed2))
## [1.730.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.729.1...v1.730.0) (2025-04-28)
### Features
* **payment:** upload Stripe client with custom options ([04e497e](https://github.com/bigcommerce/checkout-sdk-js/commit/04e497e569e17105448a949f657274d6e0f078b0))
### [1.729.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.729.0...v1.729.1) (2025-04-23)
### Code Refactoring
* **payment:** cleaned up paypal commerce tests from unused fastlane shipping callback experiment ([#2845](https://github.com/bigcommerce/checkout-sdk-js/issues/2845)) ([24a49a5](https://github.com/bigcommerce/checkout-sdk-js/commit/24a49a540a1d65722e97d66e2d070f09ecbce09b))
## [1.729.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.728.1...v1.729.0) (2025-04-23)
### Features
* **payment:** Added loadingIndicator to the google-pay-payment-strategy ([27ca8fd](https://github.com/bigcommerce/checkout-sdk-js/commit/27ca8fdb2e0664127178c81590ec8ed17863e92d))
### [1.728.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.728.0...v1.728.1) (2025-04-22)
### Bug Fixes
* **payment:** take fresh data from state on the amazonpay customer strategy initialization ([#2838](https://github.com/bigcommerce/checkout-sdk-js/issues/2838)) ([c3b74b3](https://github.com/bigcommerce/checkout-sdk-js/commit/c3b74b30234d39d1f66295785c8ad2a9fd0959a5))
## [1.728.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.727.1...v1.728.0) (2025-04-18)
### Features
* **payment:** PAYPAL-5354 fix of cannot read properties of undefined ([e745e71](https://github.com/bigcommerce/checkout-sdk-js/commit/e745e71794d7499b8ce42fe2fa1674c86bbb6bdf))
### [1.727.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.727.0...v1.727.1) (2025-04-17)
## [1.727.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.726.0...v1.727.0) (2025-04-15)
### Features
* **payment:** PI-3825 Added new link for the storefront hosted fields ([#2833](https://github.com/bigcommerce/checkout-sdk-js/issues/2833)) ([4a83ba5](https://github.com/bigcommerce/checkout-sdk-js/commit/4a83ba55b46cc01ac567e28f68a6f8df3c2a53fa))
## [1.726.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.725.0...v1.726.0) (2025-04-14)
### Features
* **payment:** PI-3669 apply multiple coupons in the Google Pay modal ([bd5322e](https://github.com/bigcommerce/checkout-sdk-js/commit/bd5322e11b34ee75f5b49d7eab9a417b05f7d3e8))
## [1.725.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.724.0...v1.725.0) (2025-04-14)
### Features
* **payment:** STRIPE-667 remove experiment for Stripe Link Spain state mapping ([c805a30](https://github.com/bigcommerce/checkout-sdk-js/commit/c805a304a12a4e89573579f754e4901d98fc9ed5))
## [1.724.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.723.0...v1.724.0) (2025-04-14)
### Features
* **payment:** PAYPAL-5258 added polling for BT Local methods ([#2822](https://github.com/bigcommerce/checkout-sdk-js/issues/2822)) ([e2276fb](https://github.com/bigcommerce/checkout-sdk-js/commit/e2276fb0c655ce4d1f9fd932730a2273017062ae))
## [1.723.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.722.0...v1.723.0) (2025-04-13)
### Features
* **checkout:** CHECKOUT-9167 Exposing logoutLink into setting interface ([89adb47](https://github.com/bigcommerce/checkout-sdk-js/commit/89adb4778bfc04f97c75d929964399fd15ef2497))
## [1.722.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.721.0...v1.722.0) (2025-04-09)
### Features
* **payment:** PAYPAL-5197 added 3ds verification for BT FL ([#2816](https://github.com/bigcommerce/checkout-sdk-js/issues/2816)) ([9d0faa6](https://github.com/bigcommerce/checkout-sdk-js/commit/9d0faa6d29388076703ebb0f9f0a0eb5fa6ebd6d))
## [1.721.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.720.0...v1.721.0) (2025-04-07)
### Features
* **payment:** PI-3539 added additionalDescription to the shipping options in Google Pay popup ([121bc21](https://github.com/bigcommerce/checkout-sdk-js/commit/121bc2176c83d35ce578fc867edbf3468cbfe6b4))
## [1.720.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.719.3...v1.720.0) (2025-04-07)
### Features
* **checkout:** CHECKOUT-8521 Introduce OrderShippingConsignmentDiscount interface ([fcec57d](https://github.com/bigcommerce/checkout-sdk-js/commit/fcec57d2f88791d0fab32cf8ec2131c2167a732d))
* **checkout:** CHECKOUT-9138 Rename shouldRedirectToStorefrontLoginPage ([3765c68](https://github.com/bigcommerce/checkout-sdk-js/commit/3765c68a79201642c45d8b5cd65625d02f5cc0a1))
### [1.719.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.719.2...v1.719.3) (2025-04-04)
### [1.719.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.719.1...v1.719.2) (2025-04-03)
### Bug Fixes
* **payment:** PAYPAL-5286 made PPCP Venmo appear on cart page ([#2820](https://github.com/bigcommerce/checkout-sdk-js/issues/2820)) ([c9f741c](https://github.com/bigcommerce/checkout-sdk-js/commit/c9f741cab659ed8099cb7539a35ad5f26e708f1d))
### [1.719.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.719.0...v1.719.1) (2025-04-03)
## [1.719.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.718.3...v1.719.0) (2025-04-01)
### Features
* **payment:** PI-2875 Google Pay promo codes handling ([0023374](https://github.com/bigcommerce/checkout-sdk-js/commit/0023374eee38317b42b55792cf1e8e2d373982f7))
### [1.718.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.718.2...v1.718.3) (2025-03-26)
### Bug Fixes
* **payment:** PAYPAL-4585 fixed updated height pdp and cart page Braintree PayPal buttons when provided height is null or undefined ([#2815](https://github.com/bigcommerce/checkout-sdk-js/issues/2815)) ([dffe8f3](https://github.com/bigcommerce/checkout-sdk-js/commit/dffe8f38d40f7e5831ec0e8cc6cfebc493e4b4e7))
### [1.718.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.718.1...v1.718.2) (2025-03-26)
### Bug Fixes
* **payment:** PAYPAL-4585 fixed updated height pdp and cart page Braintree PayPal buttons ([#2814](https://github.com/bigcommerce/checkout-sdk-js/issues/2814)) ([c886e21](https://github.com/bigcommerce/checkout-sdk-js/commit/c886e21d7ed0fe79445e99de15f4e75b2c91eb0a))
### [1.718.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.718.0...v1.718.1) (2025-03-26)
## [1.718.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.717.0...v1.718.0) (2025-03-25)
### Features
* **checkout:** CHECKOUT-8517 convert type to fixed string ([f631383](https://github.com/bigcommerce/checkout-sdk-js/commit/f63138308a0b3f3e66f2f13f1489b9621136a4df))
* **checkout:** CHECKOUT-8517 Introduce consignment discount interface ([d745c5e](https://github.com/bigcommerce/checkout-sdk-js/commit/d745c5e09ef08f945df7afc8d639100722e44167))
* **checkout:** CHECKOUT-8517 Using T for type field ([2aa4c30](https://github.com/bigcommerce/checkout-sdk-js/commit/2aa4c3047cdd52d6d7f2755681955e88137a8a96))
## [1.717.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.716.0...v1.717.0) (2025-03-20)
### Features
* **checkout:** PI-3531 Deprecate Openpay code in checkout-sdk ([2f588b6](https://github.com/bigcommerce/checkout-sdk-js/commit/2f588b64477f06374144c26899c43616e67a833c))
## [1.716.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.715.0...v1.716.0) (2025-03-19)
### Features
* **payment:** PI-3505 Added Company Name fields to the Bluesnap Direct ECP implementation ([#2807](https://github.com/bigcommerce/checkout-sdk-js/issues/2807)) ([f444a78](https://github.com/bigcommerce/checkout-sdk-js/commit/f444a7831ae4906e93f218a7bf8e5b74591e0bbf))
## [1.715.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.714.1...v1.715.0) (2025-03-17)
### Features
* **payment:** PAYPAL-5097 created Braintree Messages class and added Braintree BNPL Configurator implementation ([#2808](https://github.com/bigcommerce/checkout-sdk-js/issues/2808)) ([fadb981](https://github.com/bigcommerce/checkout-sdk-js/commit/fadb9812a1d08441aac11c4934775c8c0c4059f4))
### [1.714.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.714.0...v1.714.1) (2025-03-12)
### Code Refactoring
* **payment:** PAYPAL-5216 removed paypal messages implementation from Braintree PayPal button strategy ([#2804](https://github.com/bigcommerce/checkout-sdk-js/issues/2804)) ([50efb6c](https://github.com/bigcommerce/checkout-sdk-js/commit/50efb6cce5edaf910724be5c87d6058a5520f546))
## [1.714.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.713.2...v1.714.0) (2025-03-06)
### Features
* **payment:** PAYPAL-5213 added messages implementation to Braintree PayPal Credit button strategy ([#2801](https://github.com/bigcommerce/checkout-sdk-js/issues/2801)) ([3c7f14f](https://github.com/bigcommerce/checkout-sdk-js/commit/3c7f14fc48e6b45eb1281d826c7db60103d23d49))
### [1.713.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.713.1...v1.713.2) (2025-03-06)
### [1.713.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.713.0...v1.713.1) (2025-03-04)
### Bug Fixes
* **payment:** STRIPE-660 Disable state code mapping for Spain in Stripe Link Address component ([2c2c1fd](https://github.com/bigcommerce/checkout-sdk-js/commit/2c2c1fd50c19d7b67961df79e355f3c04e10d0f6))
## [1.713.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.712.1...v1.713.0) (2025-03-04)
### Features
* **payment:** PAYPAL-5201 updates related to clientToken checking ([821eeb4](https://github.com/bigcommerce/checkout-sdk-js/commit/821eeb4692a9cd4e582d18fdf1a4b98e423a1dd4))
### [1.712.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.712.0...v1.712.1) (2025-03-04)
### Code Refactoring
* **payment:** PAYPAL-2609 moved BraintreePayPalButtonStrategy from core to braintree-integration package ([#2791](https://github.com/bigcommerce/checkout-sdk-js/issues/2791)) ([70ff230](https://github.com/bigcommerce/checkout-sdk-js/commit/70ff230f2089a21804e6bf0b40516e2660d2b1d8))
## [1.712.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.711.1...v1.712.0) (2025-02-27)
### Features
* **payment:** PAYPAL-5187 added BT falback Url ([#2796](https://github.com/bigcommerce/checkout-sdk-js/issues/2796)) ([e466189](https://github.com/bigcommerce/checkout-sdk-js/commit/e4661899c9347e06e59fdab1798e3daee64d7449))
### [1.711.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.711.0...v1.711.1) (2025-02-19)
### Bug Fixes
* **shipping:** CHECKOUT-8999 Remove duplicate call for shipping option ([#2794](https://github.com/bigcommerce/checkout-sdk-js/issues/2794)) ([f013305](https://github.com/bigcommerce/checkout-sdk-js/commit/f013305d6f7c99a2da97f34ed256da075280091f))
## [1.711.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.710.1...v1.711.0) (2025-02-18)
### Features
* **payment:** PAYPAL-0 removed integrity attr ([7bc2190](https://github.com/bigcommerce/checkout-sdk-js/commit/7bc2190eda421cb2e92d0999cae090cea093627a))
### [1.710.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.710.0...v1.710.1) (2025-02-13)
### Code Refactoring
* **payment:** PAYPAL-2610 moved BraintreePayPalCreditButtonStrategy from core to braintree-integration package ([#2790](https://github.com/bigcommerce/checkout-sdk-js/issues/2790)) ([3e7d7b9](https://github.com/bigcommerce/checkout-sdk-js/commit/3e7d7b999098f5f153ad6a9b5133518bacde77ac))
## [1.710.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.709.0...v1.710.0) (2025-02-13)
### Features
* **payment:** PAYPAL-5113 added test coverage for braintree-utils ([#2788](https://github.com/bigcommerce/checkout-sdk-js/issues/2788)) ([b82ea4d](https://github.com/bigcommerce/checkout-sdk-js/commit/b82ea4d709c61517801cf01d5c0c665eceb2fd5c))
## [1.709.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.708.0...v1.709.0) (2025-02-11)
### Features
* **payment:** PAYPAL-5067 ID creation updates ([#2785](https://github.com/bigcommerce/checkout-sdk-js/issues/2785)) ([540182e](https://github.com/bigcommerce/checkout-sdk-js/commit/540182e43113a2812d5e5a58ab5709d48eae992e))
## [1.708.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.707.0...v1.708.0) (2025-02-10)
### Features
* **payment:** PAYPAL-5044 added tests for GP ([571e932](https://github.com/bigcommerce/checkout-sdk-js/commit/571e932099b513292618070580b19391ac1fc9a5))
## [1.707.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.706.0...v1.707.0) (2025-02-06)
### Features
* **payment:** PAYPAL-4324 added tests for GP ([57cdf95](https://github.com/bigcommerce/checkout-sdk-js/commit/57cdf95266b30df308c1d0d148a5b9f36acd0b63))
## [1.706.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.705.0...v1.706.0) (2025-02-06)
### Features
* **payment:** PI-3064 fixed AmazonPay button for disabled ph4 flag ([#2781](https://github.com/bigcommerce/checkout-sdk-js/issues/2781)) ([27995de](https://github.com/bigcommerce/checkout-sdk-js/commit/27995deed7bf6fb8195ffb076ef49bad951d4380))
## [1.705.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.704.0...v1.705.0) (2025-02-06)
### Features
* **payment:** PAYPAL-4324 added Apple Pay SDK for supporting third party browsers ([#2765](https://github.com/bigcommerce/checkout-sdk-js/issues/2765)) ([c0651b8](https://github.com/bigcommerce/checkout-sdk-js/commit/c0651b89d13ee8d47bdeebb0f99547e98020f73d))
## [1.704.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.703.0...v1.704.0) (2025-02-06)
### Features
* **payment:** PAYPAL-5041 added phone to order ([#2777](https://github.com/bigcommerce/checkout-sdk-js/issues/2777)) ([0d48a9d](https://github.com/bigcommerce/checkout-sdk-js/commit/0d48a9db6ba10b3200542a1ff79342e7ec2b9eb5))
## [1.703.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.702.0...v1.703.0) (2025-02-06)
### Features
* **payment:** PAYMENTS-10280 Add validation on hosted form card holder name to not have card number ([9fdf2cf](https://github.com/bigcommerce/checkout-sdk-js/commit/9fdf2cf2a4355a42dbab5747159b3abaaa905d02))
* **payment:** PAYMENTS-10280 Add validation on hosted form card holder name to not include valid card number ([65a05f5](https://github.com/bigcommerce/checkout-sdk-js/commit/65a05f558a22a3ed78e289a210b0b0a668dd3c0a))
## [1.702.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.701.2...v1.702.0) (2025-02-04)
### Features
* **extension:** CHECKOUT-8974 Introduce ReRenderShippingForm Command ([#2778](https://github.com/bigcommerce/checkout-sdk-js/issues/2778)) ([05e70b8](https://github.com/bigcommerce/checkout-sdk-js/commit/05e70b8d6359eec84e4383d5939cca52ade54c34))
### [1.701.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.701.1...v1.701.2) (2025-02-03)
### [1.701.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.701.0...v1.701.1) (2025-01-31)
## [1.701.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.700.2...v1.701.0) (2025-01-31)
### Features
* **extension:** CHECKOUT-8974 Introduce Extension Query ([#2769](https://github.com/bigcommerce/checkout-sdk-js/issues/2769)) ([5d67c82](https://github.com/bigcommerce/checkout-sdk-js/commit/5d67c82ab7c3dc41cddde060e9da2fd1eb769062))
### [1.700.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.700.1...v1.700.2) (2025-01-30)
### Bug Fixes
* **payment:** PAYPAL-5020 added extra check for Buttons implementation in PayPal SDK and added silent log instead of throwing an error to our customer in PPCP customer strategies ([#2774](https://github.com/bigcommerce/checkout-sdk-js/issues/2774)) ([01c5505](https://github.com/bigcommerce/checkout-sdk-js/commit/01c5505dcebd9f7fe356b1c603474b1734897414))
### [1.700.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.700.0...v1.700.1) (2025-01-29)
### Bug Fixes
* **payment:** PI-77 added Adyen es locale mapping ([#2775](https://github.com/bigcommerce/checkout-sdk-js/issues/2775)) ([3ff7bf2](https://github.com/bigcommerce/checkout-sdk-js/commit/3ff7bf2823451fad9843b037f079fd682875794a))
## [1.700.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.699.0...v1.700.0) (2025-01-29)
### Features
* **payment:** PI-3099 Remove iDEAL bank selection dropdown for Adyen ([cf35535](https://github.com/bigcommerce/checkout-sdk-js/commit/cf3553554206fb368e334119e19c2e1876f3bd08))
## [1.699.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.698.1...v1.699.0) (2025-01-29)
### Features
* **payment:** PI-3068 moved my account logic to hosted card v2 package in the checkout-sdk ([#2767](https://github.com/bigcommerce/checkout-sdk-js/issues/2767)) ([2082af7](https://github.com/bigcommerce/checkout-sdk-js/commit/2082af7e67153678155dd7b0a34b09d1dfc8d74c))
### [1.698.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.698.0...v1.698.1) (2025-01-27)
### Bug Fixes
* **payment:** PI-3102 removed error throwing on initialization for amazon-pay and google-pay customer step buttons ([#2771](https://github.com/bigcommerce/checkout-sdk-js/issues/2771)) ([3834768](https://github.com/bigcommerce/checkout-sdk-js/commit/383476879b73910d4fcc6746380f7b33bd623201))
## [1.698.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.697.0...v1.698.0) (2025-01-21)
### Features
* **extension:** CHECKOUT-8964 Introduce GetConsignment Extension Command ([#2766](https://github.com/bigcommerce/checkout-sdk-js/issues/2766)) ([ee6a333](https://github.com/bigcommerce/checkout-sdk-js/commit/ee6a333fb48af35dce48fd9bc26e811e6cd50ebc))
## [1.697.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.696.3...v1.697.0) (2025-01-20)
### Features
* **payment:** STRIPE-524 remove experiment for new stripe upe confirmation flow ([e643142](https://github.com/bigcommerce/checkout-sdk-js/commit/e643142cc4d5a87ab2572c98d9e90867ff70731d))
### [1.696.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.696.2...v1.696.3) (2025-01-16)
### Bug Fixes
* **extension:** CHECKOUT-8960 Fix Broadcast Interruption ([#2763](https://github.com/bigcommerce/checkout-sdk-js/issues/2763)) ([3e91af9](https://github.com/bigcommerce/checkout-sdk-js/commit/3e91af9a8e5290445df82969b8fbce2200875cfd))
### [1.696.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.696.1...v1.696.2) (2025-01-15)
### Bug Fixes
* **payment:** PAYPAL-4952 removed extra data attribute from paypal commerce credit banner to let paypal accept banner styles provided through paypal messages config ([#2762](https://github.com/bigcommerce/checkout-sdk-js/issues/2762)) ([292d6fb](https://github.com/bigcommerce/checkout-sdk-js/commit/292d6fb4566545ba1117ff6ef4f29bde484ff1a9))
### [1.696.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.696.0...v1.696.1) (2025-01-15)
### Bug Fixes
* **payment:** PI-3029 MissingDataError: Unable to proceed because the… ([#2761](https://github.com/bigcommerce/checkout-sdk-js/issues/2761)) ([321ddcd](https://github.com/bigcommerce/checkout-sdk-js/commit/321ddcd9b35c6e25448a7968b5b8365a2b792154))
## [1.696.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.695.2...v1.696.0) (2025-01-13)
### Features
* **payment:** PAYPAL-4995 added check for teardown call in deinitialize method ([1e16475](https://github.com/bigcommerce/checkout-sdk-js/commit/1e16475970a13dbfb40045fdf6a3bc85cdd12425))
### [1.695.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.695.1...v1.695.2) (2025-01-06)
### Code Refactoring
* **payment:** PAYPAL-4705 removed PAYPAL-3996.paypal_fastlane_shipping_update experiment ([#2759](https://github.com/bigcommerce/checkout-sdk-js/issues/2759)) ([0f344ec](https://github.com/bigcommerce/checkout-sdk-js/commit/0f344ec4fbf1aab23cd1cb1b3f3ce42b1e1ba783))
### [1.695.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.695.0...v1.695.1) (2024-12-26)
### Code Refactoring
* **payment:** PAYPAL-4705 removed PAYPAL-4387.paypal_shipping_callbacks experiment form PPCP strategies ([#2758](https://github.com/bigcommerce/checkout-sdk-js/issues/2758)) ([d726094](https://github.com/bigcommerce/checkout-sdk-js/commit/d7260945c52a5739beb21fddc611d5c7d21ab25d))
## [1.695.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.694.0...v1.695.0) (2024-12-26)
### Features
* **payment:** PAYPAL-4952 updated PayPal Commerce credit strategies with BNPL configuration implementation ([#2757](https://github.com/bigcommerce/checkout-sdk-js/issues/2757)) ([d2448b8](https://github.com/bigcommerce/checkout-sdk-js/commit/d2448b81188e671130d28bb0786d2b143fc03f05))
## [1.694.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.693.0...v1.694.0) (2024-12-23)
### Features
* **payment:** STRIPE-414 remove experiment for GPay shipping options ([d5cc1cd](https://github.com/bigcommerce/checkout-sdk-js/commit/d5cc1cd8a5be196df8dca4a8f11ffafe80ff773c))
## [1.693.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.692.0...v1.693.0) (2024-12-17)
### Features
* **payment:** CHECKOUT-8901 Add Async Payment Methods ([#2753](https://github.com/bigcommerce/checkout-sdk-js/issues/2753)) ([74b04cb](https://github.com/bigcommerce/checkout-sdk-js/commit/74b04cb6c90097331cc716d93c9d589f4bdf2bbf))
## [1.692.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.691.0...v1.692.0) (2024-12-17)
### Features
* **payment:** STRIPE-546 Google Pay use stateOrProvinceCode if city is empty ([73ae053](https://github.com/bigcommerce/checkout-sdk-js/commit/73ae05311759cfeba30b7d977509e8e4168a8ce9))
## [1.691.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.690.0...v1.691.0) (2024-12-16)
### Features
* **payment:** STRIPE-525 Stripe UPE new confirmation flow ([66c00b6](https://github.com/bigcommerce/checkout-sdk-js/commit/66c00b6f2365dbcf07bafe75f5141624464d0a91))
## [1.690.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.689.0...v1.690.0) (2024-12-16)
### Features
* **payment:** STRIPE-485 Stripe Google Pay test coverage branches increased ([f657e5c](https://github.com/bigcommerce/checkout-sdk-js/commit/f657e5cf192c7fcaa83b373b4dcf7c1652abc469))
## [1.689.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.688.0...v1.689.0) (2024-12-16)
### Features
* **payment:** STRIPE-476 Stripe Google Pay 3DS experiment added ([c7afafd](https://github.com/bigcommerce/checkout-sdk-js/commit/c7afafd7dfb38337a7660bbca9e7018cb23464ca))
## [1.688.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.687.1...v1.688.0) (2024-12-12)
### Features
* **payment:** PAYPAL-4869 Missing 'Street Name' in Delivery Address ([#2744](https://github.com/bigcommerce/checkout-sdk-js/issues/2744)) ([87f9ce2](https://github.com/bigcommerce/checkout-sdk-js/commit/87f9ce2cd11337008cb076213e53f75d375ec746))
### [1.687.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.687.0...v1.687.1) (2024-12-12)
### Bug Fixes
* **payment:** PAYPAL-0 Skip 3D Secure when GooglePay card network tokenized ([#2751](https://github.com/bigcommerce/checkout-sdk-js/issues/2751)) ([a2bcad9](https://github.com/bigcommerce/checkout-sdk-js/commit/a2bcad9d1234a811dc5de2c37565bfbec501783e))
## [1.687.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.686.0...v1.687.0) (2024-12-11)
### Features
* **payment:** PI-1546 Refactor the existing moneris payment strategy in Checkout SDK to use the new checkout payment integration JS API ([#2716](https://github.com/bigcommerce/checkout-sdk-js/issues/2716)) ([d4717b7](https://github.com/bigcommerce/checkout-sdk-js/commit/d4717b70ba967263618b8d4ba2b55ac318bc7be4))
## [1.686.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.685.0...v1.686.0) (2024-12-11)
### Features
* **payment:** PAYPAL-4884 send payment provider paymentId on payment start stage in Braintree LPMs payment strategy ([#2740](https://github.com/bigcommerce/checkout-sdk-js/issues/2740)) ([aa08491](https://github.com/bigcommerce/checkout-sdk-js/commit/aa084919ef0f825f17df14c3da1244989e363685))
## [1.685.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.684.0...v1.685.0) (2024-12-09)
### Features
* **checkout:** PI-2943 Change HostedFormOptions interface name in core ([#2741](https://github.com/bigcommerce/checkout-sdk-js/issues/2741)) ([951a25f](https://github.com/bigcommerce/checkout-sdk-js/commit/951a25fe81a8826dba8e7483cb067b6dffc0393e))
## [1.684.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.683.1...v1.684.0) (2024-12-09)
### Features
* **payment:** CHECKOUT-7859 Add Offline Payment Method ([#2743](https://github.com/bigcommerce/checkout-sdk-js/issues/2743)) ([4cbd71e](https://github.com/bigcommerce/checkout-sdk-js/commit/4cbd71e882e596bf54ad7cd65fc44c914b75433d))
### Bug Fixes
* **extension:** CHECKOUT-8869 Fix Display Issue after Page Refresh ([#2738](https://github.com/bigcommerce/checkout-sdk-js/issues/2738)) ([f617a19](https://github.com/bigcommerce/checkout-sdk-js/commit/f617a19ed55ad747584355fd8818b241cab411cc))
### [1.683.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.683.0...v1.683.1) (2024-11-13)
### Bug Fixes
* **payment:** STRIPE-509 Update Stripe element on PI update ([b728116](https://github.com/bigcommerce/checkout-sdk-js/commit/b7281169b0a98814fb140260906f750bdabde260))
## [1.683.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.682.0...v1.683.0) (2024-11-08)
### Features
* **payment:** STRIPE-496 Stripe OCS radio button size ([996cfe7](https://github.com/bigcommerce/checkout-sdk-js/commit/996cfe7e72667770d44eec1edbedca55561b0981))
## [1.682.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.681.0...v1.682.0) (2024-11-06)
### Features
* **payment:** STRIPE-476 Stripe Google Pay 3DS added ([9046b6c](https://github.com/bigcommerce/checkout-sdk-js/commit/9046b6c174fe6aac92acee70d3117a2951b92e59))
## [1.681.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.680.0...v1.681.0) (2024-11-06)
### Features
* **payment:** PAYPAL-4783 added shipping autoselect flag ([#2720](https://github.com/bigcommerce/checkout-sdk-js/issues/2720)) ([1fcc7d5](https://github.com/bigcommerce/checkout-sdk-js/commit/1fcc7d5976d03c8161b074ef5bf2f176574b1023))
## [1.680.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.679.0...v1.680.0) (2024-11-05)
### Features
* **payment:** PAYPAL-4800 added ability to skip shipping step ([#2730](https://github.com/bigcommerce/checkout-sdk-js/issues/2730)) ([783775b](https://github.com/bigcommerce/checkout-sdk-js/commit/783775b383b30fc06e7a410ef0cb8f7b9980085c))
* **payment:** STRIPE-484 Stripe OCS confirmation flow ([bb2cc0a](https://github.com/bigcommerce/checkout-sdk-js/commit/bb2cc0a3179a326fcc5f561b11ef2e5be26062ca))
## [1.679.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.678.1...v1.679.0) (2024-11-04)
### Features
* **checkout:** DATA-11983 Populate discount_amount field for BODL events ([a47ddbc](https://github.com/bigcommerce/checkout-sdk-js/commit/a47ddbcfa24cbe8ffe1cf15d66fa5bf2e9ff34b5))
### [1.678.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.678.0...v1.678.1) (2024-11-04)
## [1.678.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.677.3...v1.678.0) (2024-11-01)
### Features
* **payment:** PAYPAL-4813 added buyer country as an option to Braintree PayPal messages config ([#2728](https://github.com/bigcommerce/checkout-sdk-js/issues/2728)) ([b2134fd](https://github.com/bigcommerce/checkout-sdk-js/commit/b2134fd2c29631a378cd16633f56916af7eaaeba))
### [1.677.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.677.2...v1.677.3) (2024-11-01)
### [1.677.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.677.1...v1.677.2) (2024-11-01)
### Code Refactoring
* **checkout:** PI-2681 clenup Braintree integration packages spec errors ([#2724](https://github.com/bigcommerce/checkout-sdk-js/issues/2724)) ([8fa2611](https://github.com/bigcommerce/checkout-sdk-js/commit/8fa2611495ae63a571db5159d25d08ac14839954))
### [1.677.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.677.0...v1.677.1) (2024-10-31)
### Code Refactoring
* **checkout:** PI-2696 clenup PayPal integration packages spec errors ([#2715](https://github.com/bigcommerce/checkout-sdk-js/issues/2715)) ([1d0b815](https://github.com/bigcommerce/checkout-sdk-js/commit/1d0b8159fcf8eb10b4483b77e6b04627ff9edf43))
* **payment:** PI-2701 [checkout-sdk-js types] Clear checkout-sdk-js types errors in test files for the TD Bank related packages ([#2723](https://github.com/bigcommerce/checkout-sdk-js/issues/2723)) ([a67f637](https://github.com/bigcommerce/checkout-sdk-js/commit/a67f6373c1e0f069920183e9dcfc602fcbcabf3c))
## [1.677.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.676.0...v1.677.0) (2024-10-31)
### Features
* **payment:** PAYPAL-000 fixes passing parameters ([63c201e](https://github.com/bigcommerce/checkout-sdk-js/commit/63c201e6e0cab29319e3b3410f6906e2b39b2596))
## [1.676.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.675.2...v1.676.0) (2024-10-31)
### Features
* **payment:** STRIPE-476 Stripe Google Pay 3DS added ([1b256db](https://github.com/bigcommerce/checkout-sdk-js/commit/1b256dbd28d022c3ed0e8e27f2442bd3e8d777a0))
### [1.675.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.675.1...v1.675.2) (2024-10-30)
### Bug Fixes
* **checkout:** PI-116 use Square via v2 resolver, removed v1 resolver experiment ([#2713](https://github.com/bigcommerce/checkout-sdk-js/issues/2713)) ([0deff9a](https://github.com/bigcommerce/checkout-sdk-js/commit/0deff9a39afe187f172daafd5148fe68e5dc94a6))
### [1.675.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.675.0...v1.675.1) (2024-10-29)
## [1.675.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.674.0...v1.675.0) (2024-10-29)
### Features
* **payment:** STRIPE-461 New Stripe OCS strategy ([39d4fa2](https://github.com/bigcommerce/checkout-sdk-js/commit/39d4fa2d47408ab502daa21af338f9ab905f497d))
## [1.674.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.673.0...v1.674.0) (2024-10-28)
### Features
* **payment:** PAYPAL-4697 added onEligibilityFailure callback to paypal commerce button strategies ([#2659](https://github.com/bigcommerce/checkout-sdk-js/issues/2659)) ([2a46a1d](https://github.com/bigcommerce/checkout-sdk-js/commit/2a46a1d5006199b06a76f906cdd93d7e758bee51))
## [1.673.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.672.3...v1.673.0) (2024-10-28)
### Features
* **payment:** PAYPAL-4698 added onEligibilityFailure callback for Braintree PayPal and PayLater button strategies ([#2657](https://github.com/bigcommerce/checkout-sdk-js/issues/2657)) ([1c7a6bf](https://github.com/bigcommerce/checkout-sdk-js/commit/1c7a6bf0434d0a9e95b8d81bbb4bffcb2bf8ddaf))
### [1.672.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.672.2...v1.672.3) (2024-10-23)
### Code Refactoring
* **checkout:** PI-2688 clenup GPay integration package spec errors ([#2711](https://github.com/bigcommerce/checkout-sdk-js/issues/2711)) ([62c3832](https://github.com/bigcommerce/checkout-sdk-js/commit/62c383269c3d13ec3cce905f204cf62da1539417))
### [1.672.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.672.1...v1.672.2) (2024-10-22)
### [1.672.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.672.0...v1.672.1) (2024-10-21)
### Code Refactoring
* **checkout:** PI-2692 clenup Mollie integration package spec errors ([#2705](https://github.com/bigcommerce/checkout-sdk-js/issues/2705)) ([23dbf30](https://github.com/bigcommerce/checkout-sdk-js/commit/23dbf30ef9f8d6eec1760f60edd29c6512d607d7))
## [1.672.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.671.4...v1.672.0) (2024-10-21)
### Features
* **payment:** PAYPAL-4737 applepay button style option ([e4140ca](https://github.com/bigcommerce/checkout-sdk-js/commit/e4140cacb372ca1bb01c908f446f5851a9a33134))
* **payment:** PAYPAL-4737 test coverage ([48329bd](https://github.com/bigcommerce/checkout-sdk-js/commit/48329bd40c3a20680fb243a19247e88e72b0cc45))
### [1.671.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.671.3...v1.671.4) (2024-10-21)
### Bug Fixes
* **payment:** PI-1647 [Affirm] When returning to a cart with digital … ([#2688](https://github.com/bigcommerce/checkout-sdk-js/issues/2688)) ([0ff86fa](https://github.com/bigcommerce/checkout-sdk-js/commit/0ff86fa4e52ed925b6b78aacceac4dd08c78cdad))
### [1.671.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.671.2...v1.671.3) (2024-10-21)
### Code Refactoring
* **payment:** PI-2702 [checkout-sdk-js types] Clear checkout-sdk-js types errors in test files for the Worldpay Access related packages ([#2700](https://github.com/bigcommerce/checkout-sdk-js/issues/2700)) ([450ea93](https://github.com/bigcommerce/checkout-sdk-js/commit/450ea93e8481388c944a4c8d45e920e780619408))
### [1.671.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.671.1...v1.671.2) (2024-10-21)
### Code Refactoring
* **payment:** PI-2699 Clear checkout-sdk-js types errors in test files for the SquareV2 related packages ([#2696](https://github.com/bigcommerce/checkout-sdk-js/issues/2696)) ([963cb37](https://github.com/bigcommerce/checkout-sdk-js/commit/963cb37ffb43519826d73e378e3d49c4a86954cf))
### [1.671.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.671.0...v1.671.1) (2024-10-21)
### Bug Fixes
* **payment:** PI-2697 [checkout-sdk-js types] Clear checkout-sdk-js types errors in test files for the Sagepay related packages ([#2706](https://github.com/bigcommerce/checkout-sdk-js/issues/2706)) ([8a84290](https://github.com/bigcommerce/checkout-sdk-js/commit/8a84290998379d0a8a2fc40e6363a7e0965cc207))
## [1.671.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.670.1...v1.671.0) (2024-10-21)
### Features
* **shipping:** SHIPPING-3311 Update loadShippingCountries to allow for a default of no channel id ([#2704](https://github.com/bigcommerce/checkout-sdk-js/issues/2704)) ([2420032](https://github.com/bigcommerce/checkout-sdk-js/commit/2420032b2f4a9c83d0094a541ca16cf937867349))
### [1.670.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.670.0...v1.670.1) (2024-10-17)
### Code Refactoring
* **checkout:** PI-2691 clenup legacy integration spec error, removed no-unsafe-assignment added rule ([#2702](https://github.com/bigcommerce/checkout-sdk-js/issues/2702)) ([e81d38c](https://github.com/bigcommerce/checkout-sdk-js/commit/e81d38ce2b03d39b0b89dcac6495abd50562aa87))
## [1.670.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.669.0...v1.670.0) (2024-10-17)
### Features
* **payment:** PAYPAL-4700 fix shipping options ([87cdbee](https://github.com/bigcommerce/checkout-sdk-js/commit/87cdbee5d5db4d451d1a309bc6d05e76d703c978))
## [1.669.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.668.3...v1.669.0) (2024-10-17)
### Features
* **payment:** PI-2777 Move itemsRequireShipping method to the utils ([#2687](https://github.com/bigcommerce/checkout-sdk-js/issues/2687)) ([a5e2d08](https://github.com/bigcommerce/checkout-sdk-js/commit/a5e2d08e094dc4435b344b9fedfa2fd2114cb35b))
### [1.668.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.668.2...v1.668.3) (2024-10-16)
### Code Refactoring
* **payment:** PI-2701 [checkout-sdk-js types] Clear checkout-sdk-js types errors in test files for the TD Bank related packages ([#2698](https://github.com/bigcommerce/checkout-sdk-js/issues/2698)) ([5fa4b73](https://github.com/bigcommerce/checkout-sdk-js/commit/5fa4b73726cb446c3cf782cffb9878b5175c4b4a))
### [1.668.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.668.1...v1.668.2) (2024-10-15)
### Code Refactoring
* **checkout:** PI-2783 clenup async functions test errors ([#2693](https://github.com/bigcommerce/checkout-sdk-js/issues/2693)) ([1197d39](https://github.com/bigcommerce/checkout-sdk-js/commit/1197d39415d22e544a08cb96a5b871771987c36f))
### [1.668.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.668.0...v1.668.1) (2024-10-13)
### Bug Fixes
* **checkout:** CHECKOUT-8519 Escape single quotes used for HTML attributes before formatting to avoid problems with ICU special characters ([b906300](https://github.com/bigcommerce/checkout-sdk-js/commit/b906300a8807b446cd55c9373763ba770464aec7))
* **checkout:** CHECKOUT-8519 Return original message instead of throwing error when there are missing template variables ([a4b757c](https://github.com/bigcommerce/checkout-sdk-js/commit/a4b757c70087a54c10e310b66b8f3bf9cc816124))
## [1.668.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.667.0...v1.668.0) (2024-10-11)
### Features
* **payment:** STRIPE-473 types correction in Stripe spec files ([84e488e](https://github.com/bigcommerce/checkout-sdk-js/commit/84e488ec84c6d3e8fff34c8672afed1d3a58ed8b))
## [1.667.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.666.1...v1.667.0) (2024-10-10)
### Features
* **checkout:** CHECKOUT-8606 Make Payment Note Required ([#2694](https://github.com/bigcommerce/checkout-sdk-js/issues/2694)) ([7bacaca](https://github.com/bigcommerce/checkout-sdk-js/commit/7bacaca6fd4eec5fbd660c077b94b6fc3e29bc94))
### [1.666.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.666.0...v1.666.1) (2024-10-09)
### Code Refactoring
* **checkout:** PI-2686 fixed types in the Digital River integration package specs ([#2689](https://github.com/bigcommerce/checkout-sdk-js/issues/2689)) ([ae8a674](https://github.com/bigcommerce/checkout-sdk-js/commit/ae8a67462c30331fd2bae41f2af5ff01e3a04233))
## [1.666.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.665.0...v1.666.0) (2024-10-09)
### Features
* **checkout:** CHECKOUT-8606 Add Note HostedFiledType ([#2683](https://github.com/bigcommerce/checkout-sdk-js/issues/2683)) ([92413d2](https://github.com/bigcommerce/checkout-sdk-js/commit/92413d27bd087be89f9f1e0d3cbe90ab2a77bafc))
## [1.665.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.664.1...v1.665.0) (2024-10-08)
### Features
* **payment:** PAYPAL-4607 removed phone number related functionality ([#2672](https://github.com/bigcommerce/checkout-sdk-js/issues/2672)) ([4f43dab](https://github.com/bigcommerce/checkout-sdk-js/commit/4f43dab54561d70376ef075b584bdc54f60c13ae))
### [1.664.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.664.0...v1.664.1) (2024-10-08)
## [1.664.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.663.0...v1.664.0) (2024-10-08)
### Features
* **common:** CHECKOUT-8519 Switch messageformat library to be compatible with strict-dynamic CSP header ([fbf9c6d](https://github.com/bigcommerce/checkout-sdk-js/commit/fbf9c6da9c48c45b9d484269ea69769d363a89f1))
## [1.663.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.5...v1.663.0) (2024-10-07)
### Features
* **payment:** PAYPAL-4744 Add validation for credit-card when Fastlane is enabled to avoid redundant order creation requests ([#2673](https://github.com/bigcommerce/checkout-sdk-js/issues/2673)) ([abbd81d](https://github.com/bigcommerce/checkout-sdk-js/commit/abbd81d23d56e0c0fa8c86b48285e9373d6e76a7))
### [1.662.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.4...v1.662.5) (2024-10-07)
### Bug Fixes
* **payment:** PAYPAL-4704 fixed duplicate credit card payment ([#2670](https://github.com/bigcommerce/checkout-sdk-js/issues/2670)) ([c1eae72](https://github.com/bigcommerce/checkout-sdk-js/commit/c1eae7243e95e52c09547b32795426af0cc37190))
### [1.662.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.3...v1.662.4) (2024-10-04)
### Code Refactoring
* **checkout:** PI-2690 fixed types in the Klarna integration package specs ([#2681](https://github.com/bigcommerce/checkout-sdk-js/issues/2681)) ([1e8b4f4](https://github.com/bigcommerce/checkout-sdk-js/commit/1e8b4f421031f6778c78e5c0c5d92aa7e3500330))
### [1.662.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.2...v1.662.3) (2024-10-04)
### Code Refactoring
* **checkout:** PI-2689 fixed types in the Humm integration package specs ([#2680](https://github.com/bigcommerce/checkout-sdk-js/issues/2680)) ([0948830](https://github.com/bigcommerce/checkout-sdk-js/commit/094883068de5af6f2c8368473e67c788d6278151))
### [1.662.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.1...v1.662.2) (2024-10-04)
### Code Refactoring
* **checkout:** PI-2683 fixed types in the Checkoutcom, Clearpay, Cybersource integration packages specs ([#2679](https://github.com/bigcommerce/checkout-sdk-js/issues/2679)) ([5dafc16](https://github.com/bigcommerce/checkout-sdk-js/commit/5dafc1674b1a1cca517cd1c8b14f7c779ae9712c))
* **payment:** PI-2678 fixed Typescript errors in apple-pay-integration package ([#2677](https://github.com/bigcommerce/checkout-sdk-js/issues/2677)) ([45401f4](https://github.com/bigcommerce/checkout-sdk-js/commit/45401f46cdbc63ebf2fb7fb1dba2fc41ae4741b0))
### [1.662.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.662.0...v1.662.1) (2024-10-03)
### Code Refactoring
* **checkout:** PI-2680 fixed types in the Bolt, Cardinal integration packages specs ([#2678](https://github.com/bigcommerce/checkout-sdk-js/issues/2678)) ([91a9465](https://github.com/bigcommerce/checkout-sdk-js/commit/91a946564f3270fa2ae9fab5ea2db379416d834d))
## [1.662.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.10...v1.662.0) (2024-10-03)
### Features
* **payment:** PAYPAL-4681 updated error checking ([#2669](https://github.com/bigcommerce/checkout-sdk-js/issues/2669)) ([07b3293](https://github.com/bigcommerce/checkout-sdk-js/commit/07b329348075cdff0fd2d1f2a0d4b364e22be7fb))
### [1.661.10](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.9...v1.661.10) (2024-10-02)
### Code Refactoring
* **checkout:** PI-2676 fixed types in the Afterpay, AmazonPay, Bluesnap integration packages specs ([#2676](https://github.com/bigcommerce/checkout-sdk-js/issues/2676)) ([f58a932](https://github.com/bigcommerce/checkout-sdk-js/commit/f58a932502ff81c1d53fbc9d9470f809f5ea72ee))
### [1.661.9](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.8...v1.661.9) (2024-10-02)
### Code Refactoring
* **checkout:** PI-1588 resolve Quadpay payment method with Zip payment integration package ([#2662](https://github.com/bigcommerce/checkout-sdk-js/issues/2662)) ([cde1566](https://github.com/bigcommerce/checkout-sdk-js/commit/cde156638692d1dd90dda1cc83d784a176f0596c))
### [1.661.8](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.7...v1.661.8) (2024-10-02)
### Code Refactoring
* **checkout:** PI-000 renamed all *.tsx files to *.ts ([#2675](https://github.com/bigcommerce/checkout-sdk-js/issues/2675)) ([8510e5e](https://github.com/bigcommerce/checkout-sdk-js/commit/8510e5e104e3f809e1c48ed9b03f30bf242b4221))
### [1.661.7](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.6...v1.661.7) (2024-10-02)
### Code Refactoring
* **checkout:** PI-2674 fixed types in the Affirm integration package specs ([#2671](https://github.com/bigcommerce/checkout-sdk-js/issues/2671)) ([895df12](https://github.com/bigcommerce/checkout-sdk-js/commit/895df122c88fa63c771572856fee4561e1736886))
### [1.661.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.5...v1.661.6) (2024-10-01)
### [1.661.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.4...v1.661.5) (2024-09-30)
### Code Refactoring
* **checkout:** PI-2674 fixed types in the Adyen integration package specs ([#2667](https://github.com/bigcommerce/checkout-sdk-js/issues/2667)) ([0c88ee7](https://github.com/bigcommerce/checkout-sdk-js/commit/0c88ee7e1b55ed7b98d6719c103f02387461b74c))
### [1.661.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.3...v1.661.4) (2024-09-26)
### [1.661.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.2...v1.661.3) (2024-09-26)
### Bug Fixes
* **checkout:** CHECKOUT-8653 Move tslib back to production dep ([#2664](https://github.com/bigcommerce/checkout-sdk-js/issues/2664)) ([238125c](https://github.com/bigcommerce/checkout-sdk-js/commit/238125c6b3b2c7d5298836d96c16caecd63d2b70))
### [1.661.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.1...v1.661.2) (2024-09-25)
### [1.661.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.661.0...v1.661.1) (2024-09-24)
## [1.661.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.660.1...v1.661.0) (2024-09-24)
### Features
* **payment:** PAYPAL-4591 added 3ds check ([#2658](https://github.com/bigcommerce/checkout-sdk-js/issues/2658)) ([c72706a](https://github.com/bigcommerce/checkout-sdk-js/commit/c72706ad912608877d4d7b478a5b8071a6b55b46))
### [1.660.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.660.0...v1.660.1) (2024-09-23)
### Bug Fixes
* **checkout:** PI-2633 removed modal window that appears during the frictionless 3ds flow for Adyen ([#2655](https://github.com/bigcommerce/checkout-sdk-js/issues/2655)) ([364fa14](https://github.com/bigcommerce/checkout-sdk-js/commit/364fa1493ba16bf0650626bfc8df9eb455890ceb))
## [1.660.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.659.1...v1.660.0) (2024-09-23)
### Features
* **payment:** PAYPAL-4611 Update Braintree LPMs strategy by adding functionality for Trustly ([#2653](https://github.com/bigcommerce/checkout-sdk-js/issues/2653)) ([98077e2](https://github.com/bigcommerce/checkout-sdk-js/commit/98077e27b9248360f685061da19ba851d19e31a7))
### [1.659.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.659.0...v1.659.1) (2024-09-19)
## [1.659.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.658.1...v1.659.0) (2024-09-18)
### Features
* **payment:** PAYPAL-4591 added 3ds check ([#2654](https://github.com/bigcommerce/checkout-sdk-js/issues/2654)) ([31d0d27](https://github.com/bigcommerce/checkout-sdk-js/commit/31d0d272b8d6eb86f53b17df3d836d9030ebb789))
### [1.658.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.658.0...v1.658.1) (2024-09-17)
## [1.658.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.657.2...v1.658.0) (2024-09-17)
### Features
* **payment:** PI-2550 AmazonPay strategies from core ([a73b3f3](https://github.com/bigcommerce/checkout-sdk-js/commit/a73b3f3904b08440747c23ffae269da29f6e54aa))
### [1.657.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.657.1...v1.657.2) (2024-09-16)
### Bug Fixes
* **checkout:** PI-2623 fixed submit payment for the Digital River ([#2649](https://github.com/bigcommerce/checkout-sdk-js/issues/2649)) ([5834bda](https://github.com/bigcommerce/checkout-sdk-js/commit/5834bda8e445cc85ac7d4ff5e1fddf133d2fa666))
### [1.657.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.657.0...v1.657.1) (2024-09-16)
### Bug Fixes
* **payment:** PAYPAL-4610 Avoiding redundant order creation requests ([#2632](https://github.com/bigcommerce/checkout-sdk-js/issues/2632)) ([1336b4c](https://github.com/bigcommerce/checkout-sdk-js/commit/1336b4c4ad89c666a4171d82c8c72b9607ec735d))
## [1.657.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.656.1...v1.657.0) (2024-09-13)
### Features
* **payment:** PI-2549 Move AmazonPay button strategy ([e978cab](https://github.com/bigcommerce/checkout-sdk-js/commit/e978cab74aca4e8ca4db3362aad810771a1577b9))
### [1.656.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.656.0...v1.656.1) (2024-09-13)
### Bug Fixes
* **payment:** PAYPAL-4594 fixed mappig of fastlane styles that comes from backend ([#2645](https://github.com/bigcommerce/checkout-sdk-js/issues/2645)) ([4d487dc](https://github.com/bigcommerce/checkout-sdk-js/commit/4d487dc36d43219d794a17139d05c9126c07b078))
## [1.656.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.655.3...v1.656.0) (2024-09-13)
### Features
* **payment:** PI-2548 Move AmazonPay customer strategy ([a9ec6cc](https://github.com/bigcommerce/checkout-sdk-js/commit/a9ec6ccb0b0420912f39b7aadd34acafd3acac06))
### [1.655.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.655.2...v1.655.3) (2024-09-12)
### Bug Fixes
* **payment:** PAYPAL-4594 fixed mappig of fastlane styles that comes from backend ([#2644](https://github.com/bigcommerce/checkout-sdk-js/issues/2644)) ([1eed196](https://github.com/bigcommerce/checkout-sdk-js/commit/1eed19671f882228e2acf1020de10efcc545d7e3))
### [1.655.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.655.1...v1.655.2) (2024-09-12)
### Bug Fixes
* **payment:** PAYPAL-4649 fixed the issue with Braintree Google Pay button for Buy Now flow ([#2641](https://github.com/bigcommerce/checkout-sdk-js/issues/2641)) ([646ee26](https://github.com/bigcommerce/checkout-sdk-js/commit/646ee26740d3fc11932edf7d971ae4e7524e6276))
### [1.655.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.655.0...v1.655.1) (2024-09-11)
### Code Refactoring
* **payment:** PAYPAL-4662 removed 3.104.0 BraintreeSdk version ([#2638](https://github.com/bigcommerce/checkout-sdk-js/issues/2638)) ([85e4aa1](https://github.com/bigcommerce/checkout-sdk-js/commit/85e4aa164981c10c661741c0fba097a36241ec8d))
## [1.655.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.654.0...v1.655.0) (2024-09-10)
### Features
* **payment:** PI-2592 Make remoteCheckoutActionCreator.signOut available for integration packages ([476d0b3](https://github.com/bigcommerce/checkout-sdk-js/commit/476d0b3ad09d22e3e0b65d1e746f8ac1fd561db5))
## [1.654.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.653.0...v1.654.0) (2024-09-10)
### Features
* **payment:** PI-1617 Move AmazonPay payments strategy ([4e43119](https://github.com/bigcommerce/checkout-sdk-js/commit/4e43119d8edf399a4795966271efad1eb7ff0d0e))
## [1.653.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.652.1...v1.653.0) (2024-09-04)
### Features
* **payment:** PI-2551 make widgetInteraction action available for integration packages ([76766ed](https://github.com/bigcommerce/checkout-sdk-js/commit/76766edae50db927e3eb54a11ff18a6229cc5836))
### [1.652.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.652.0...v1.652.1) (2024-09-04)
### Code Refactoring
* **payment:** PAYPAL-4645 update Braintree Google Pay strategies to use BraintreeSdk instead of BraintreeIntegrationService ([#2636](https://github.com/bigcommerce/checkout-sdk-js/issues/2636)) ([8590d11](https://github.com/bigcommerce/checkout-sdk-js/commit/8590d11eff6309b4c267ed4b1eeb5a0404285f1f))
## [1.652.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.651.0...v1.652.0) (2024-09-04)
### Features
* **payment:** PI-2547 create AmazonPay package ([a14251f](https://github.com/bigcommerce/checkout-sdk-js/commit/a14251f2b45c0e1f97d63787a597e3b58eb67534))
## [1.651.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.650.3...v1.651.0) (2024-09-03)
### Features
* **checkout:** CHECKOUT-8587 Throw error when payment endpoint returns error/failure ([#2631](https://github.com/bigcommerce/checkout-sdk-js/issues/2631)) ([a1d2df7](https://github.com/bigcommerce/checkout-sdk-js/commit/a1d2df7f85f8d6692b8545f36ef628e24d464ac0))
### [1.650.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.650.2...v1.650.3) (2024-09-02)
### Code Refactoring
* **checkout:** PI-1585 removed ChasePay related code ([#2630](https://github.com/bigcommerce/checkout-sdk-js/issues/2630)) ([c8ded7e](https://github.com/bigcommerce/checkout-sdk-js/commit/c8ded7ed19cbb74f048964fd8fec7bcfa915ea88))
### [1.650.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.650.1...v1.650.2) (2024-09-02)
### Bug Fixes
* **payment:** STRIPE-426 fix GPay shipping for buy now flow ([820d483](https://github.com/bigcommerce/checkout-sdk-js/commit/820d4836d128f90eab1a68338d775df6888b3783))
### [1.650.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.650.0...v1.650.1) (2024-08-30)
### Code Refactoring
* **payment:** PAYPAL-4619 removed A/B testing implementation from PPCP Fastlane customer strategy ([#2629](https://github.com/bigcommerce/checkout-sdk-js/issues/2629)) ([67fa070](https://github.com/bigcommerce/checkout-sdk-js/commit/67fa070c4cb6b8f822ab601bac13e1c2adb1c81f))
## [1.650.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.649.0...v1.650.0) (2024-08-28)
### Features
* **payment:** PAYPAL-4618 updated braintree sdk version to 3.106.0 ([#2627](https://github.com/bigcommerce/checkout-sdk-js/issues/2627)) ([59b69b7](https://github.com/bigcommerce/checkout-sdk-js/commit/59b69b727288d753acf953fa86f6a195e54f69eb))
## [1.649.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.648.0...v1.649.0) (2024-08-28)
### Features
* **payment:** PI-2467 Add "submit" method to the hosted-form-v2 package ([#2598](https://github.com/bigcommerce/checkout-sdk-js/issues/2598)) ([8bad2f4](https://github.com/bigcommerce/checkout-sdk-js/commit/8bad2f4145d81f691d8ef109a269deab0010c722))
## [1.648.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.647.2...v1.648.0) (2024-08-28)
### Features
* **payment:** PI-2403 Pay by Bank integration ([8a3623d](https://github.com/bigcommerce/checkout-sdk-js/commit/8a3623d5f4e2c64861bfa88d369f71bc0602860b))
### [1.647.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.647.1...v1.647.2) (2024-08-26)
### [1.647.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.647.0...v1.647.1) (2024-08-26)
## [1.647.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.646.3...v1.647.0) (2024-08-21)
### Features
* **payment:** PAYPAL-2611 moved BT venmo button strategy inside packages ([#2601](https://github.com/bigcommerce/checkout-sdk-js/issues/2601)) ([18577f4](https://github.com/bigcommerce/checkout-sdk-js/commit/18577f4eb22b17e67a4472992918444dd70c6ad8))
### [1.646.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.646.2...v1.646.3) (2024-08-21)
### [1.646.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.646.1...v1.646.2) (2024-08-21)
### Bug Fixes
* **checkout:** CHECKOUT-8300 Fix config and form field cache by ensuring input parameters are correctly compared ([a568119](https://github.com/bigcommerce/checkout-sdk-js/commit/a568119142a529ec94360e17279b42a807a2f414))
### [1.646.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.646.0...v1.646.1) (2024-08-19)
### Code Refactoring
* **payment:** PAYPAL-4578 updated apple pay strategies with braintree sdk ([#2612](https://github.com/bigcommerce/checkout-sdk-js/issues/2612)) ([61ffec7](https://github.com/bigcommerce/checkout-sdk-js/commit/61ffec7fc99ab248d8b688c8350f6b08c2c0ec8a))
## [1.646.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.645.2...v1.646.0) (2024-08-19)
### Features
* **shipping:** SHIPPING-3183 Add support for channel_ids to the load shipping countries action ([#2579](https://github.com/bigcommerce/checkout-sdk-js/issues/2579)) ([1fcaf82](https://github.com/bigcommerce/checkout-sdk-js/commit/1fcaf82a16a4cdc029157f55b047c5c92fc38db4))
### [1.645.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.645.1...v1.645.2) (2024-08-16)
### Bug Fixes
* **payment:** PAYPAL-000 updated braintree fastlane script with valid sha hash for 3.104.0 braintree sdk version ([#2614](https://github.com/bigcommerce/checkout-sdk-js/issues/2614)) ([aac7292](https://github.com/bigcommerce/checkout-sdk-js/commit/aac7292bac9b1ca2d646f1af1b4fdf08fb559685))
### [1.645.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.645.0...v1.645.1) (2024-08-16)
### Bug Fixes
* **common:** PAYPAL-000 fixed apple pay package name in codeowners file ([#2613](https://github.com/bigcommerce/checkout-sdk-js/issues/2613)) ([6d35f6d](https://github.com/bigcommerce/checkout-sdk-js/commit/6d35f6d5fefd915bcecf305250a059e38c4f6fa9))
## [1.645.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.644.4...v1.645.0) (2024-08-15)
### Features
* **payment:** PAYPAL-4550 added force reload of paypal client to avoid initializaing with wrong intent value ([#2606](https://github.com/bigcommerce/checkout-sdk-js/issues/2606)) ([b48b119](https://github.com/bigcommerce/checkout-sdk-js/commit/b48b1199091460b8cf4221de7da60c71f549ed9c))
### [1.644.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.644.3...v1.644.4) (2024-08-14)
### Bug Fixes
* **payment:** STRIPE-422 Fix saving Stripe Link instrument ([8f2f82d](https://github.com/bigcommerce/checkout-sdk-js/commit/8f2f82d5f01e11ac0f452a20f1d046a80f8de6f1))
### [1.644.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.644.2...v1.644.3) (2024-08-14)
### [1.644.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.644.1...v1.644.2) (2024-08-14)
### Code Refactoring
* **payment:** PAYPAL-4167 removed PAYPAL-4142.disable_paypal_fastlane_one_click_experience experiment usage from ppcp fastlane customer strategy ([#2607](https://github.com/bigcommerce/checkout-sdk-js/issues/2607)) ([bc5836b](https://github.com/bigcommerce/checkout-sdk-js/commit/bc5836bbe245d7f279e467fc71c665c39728c296))
### [1.644.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.644.0...v1.644.1) (2024-08-14)
### Bug Fixes
* **payment:** STRIPE-422 Fix saving Stripe Link instrument ([93d3f7c](https://github.com/bigcommerce/checkout-sdk-js/commit/93d3f7c1408779c147d96fe2c6215b86c1ac95c3))
## [1.644.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.643.4...v1.644.0) (2024-08-13)
### Features
* **payment:** PI-2493 Add paymentHumanVerificationHandler method to Payment Integration Service ([#2596](https://github.com/bigcommerce/checkout-sdk-js/issues/2596)) ([78fe180](https://github.com/bigcommerce/checkout-sdk-js/commit/78fe180801e09f23b2b73ac486c09c97be79a1e1))
### [1.643.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.643.3...v1.643.4) (2024-08-12)
### Bug Fixes
* **payment:** STRIPE-384 added Klarna id to the Stripe gateway ([782c503](https://github.com/bigcommerce/checkout-sdk-js/commit/782c503dd3207cc4b16288515f2fd2ca5adc6e9b))
### [1.643.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.643.2...v1.643.3) (2024-08-08)
### Bug Fixes
* **payment:** STRIPE-421 payment method issue after PI change ([af6e579](https://github.com/bigcommerce/checkout-sdk-js/commit/af6e5790839b0eb0cd5aa33547ec02fad6b23e1b))
### [1.643.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.643.1...v1.643.2) (2024-08-07)
### Code Refactoring
* **payment:** PAYPAL-4533 removed ts-ignore tech debt after jest update in core/src/extension folder ([#2592](https://github.com/bigcommerce/checkout-sdk-js/issues/2592)) ([498cda8](https://github.com/bigcommerce/checkout-sdk-js/commit/498cda8fe38e8e2ec61910ec7b30c24087f5bae2))
### [1.643.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.643.0...v1.643.1) (2024-08-07)
## [1.643.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.642.2...v1.643.0) (2024-08-06)
### Features
* **payment:** PI-2428 Google Pay on TD Online Mart - check if FE is working correctly, adjust communication FE -> BE ([#2594](https://github.com/bigcommerce/checkout-sdk-js/issues/2594)) ([33128ac](https://github.com/bigcommerce/checkout-sdk-js/commit/33128ac877e2d71e30d5fc441ac3fd919cb00ca3))
### [1.642.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.642.1...v1.642.2) (2024-08-05)
### Code Refactoring
* **checkout:** PAYPAL-4527 removed almost all ts-ignore from core/src/checkout folder ([#2588](https://github.com/bigcommerce/checkout-sdk-js/issues/2588)) ([3be430f](https://github.com/bigcommerce/checkout-sdk-js/commit/3be430fecd9eef995399d8fd633ff685a737819d))
* **payment:** PAYPAL-4531 removed ts-ignore and updated tests in core/src/billing folder ([#2589](https://github.com/bigcommerce/checkout-sdk-js/issues/2589)) ([5d38f3f](https://github.com/bigcommerce/checkout-sdk-js/commit/5d38f3facb33a40de0ce51e58b7cfa13541ed12e))
* **payment:** PAYPAL-4531 removed ts-ignore and updated tests in core/src/coupon folder ([#2590](https://github.com/bigcommerce/checkout-sdk-js/issues/2590)) ([046caf5](https://github.com/bigcommerce/checkout-sdk-js/commit/046caf51703433cbf09dd5aa288d7b025ca2912c))
### [1.642.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.642.0...v1.642.1) (2024-08-05)
### Code Refactoring
* **payment:** PAYPAL-4526 removed ts-ignore and updated tests in core/src/common/iframe folder due to jest update tech debt ([#2587](https://github.com/bigcommerce/checkout-sdk-js/issues/2587)) ([73e6d49](https://github.com/bigcommerce/checkout-sdk-js/commit/73e6d49030d6d32b101b1421d6380fea6542eded))
## [1.642.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.641.1...v1.642.0) (2024-08-05)
### Features
* **payment:** PAYPAL-4524 fix of email passing ([d0207df](https://github.com/bigcommerce/checkout-sdk-js/commit/d0207df122043fb2735c159539a23b7a2012cf02))
### [1.641.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.641.0...v1.641.1) (2024-08-05)
### Code Refactoring
* **payment:** PAYPAL-4525 removed ts-ignore and updated adyen mocks to fix the issue with ts-jest ([#2585](https://github.com/bigcommerce/checkout-sdk-js/issues/2585)) ([9248f26](https://github.com/bigcommerce/checkout-sdk-js/commit/9248f2612940eabe8e713d0ed75cb759a5a74d50))
## [1.641.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.640.0...v1.641.0) (2024-08-02)
### Features
* **payment:** PAYPAL-4498 fixed region for fastlane for Thailand ([#2583](https://github.com/bigcommerce/checkout-sdk-js/issues/2583)) ([ab5964e](https://github.com/bigcommerce/checkout-sdk-js/commit/ab5964e113cefe18d99b40f3f46a5edf757f7c4b))
## [1.640.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.639.0...v1.640.0) (2024-08-02)
### Features
* **payment:** PAYPAL-4497 fixed region for fastlane for Thailand ([#2582](https://github.com/bigcommerce/checkout-sdk-js/issues/2582)) ([b9b17a4](https://github.com/bigcommerce/checkout-sdk-js/commit/b9b17a49f8df0760c55c64def243b19139d23abb))
## [1.639.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.638.0...v1.639.0) (2024-08-01)
### Features
* **payment:** PAYPAL-4519 fix shippingOption issue ([dc4ef42](https://github.com/bigcommerce/checkout-sdk-js/commit/dc4ef42d3d651c7fbf7e08072cf1b3c7cc29f411))
## [1.638.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.637.0...v1.638.0) (2024-08-01)
### Features
* **payment:** PAYPAL-000 updated hash parameters ([00363ff](https://github.com/bigcommerce/checkout-sdk-js/commit/00363ff964a9e5691b25f7e14d321726abf49b30))
## [1.637.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.636.0...v1.637.0) (2024-07-31)
### Features
* **checkout:** PI-1560 add additional arguments check ([f7e4124](https://github.com/bigcommerce/checkout-sdk-js/commit/f7e4124fd4db696b6ce3b6c723735b2e21509ce7))
* **checkout:** PI-1560 add additional information to README file ([109f71c](https://github.com/bigcommerce/checkout-sdk-js/commit/109f71c6cf409fbeadcf6de7ea07aee5bd672127))
* **checkout:** PI-1560 Refactor Digital River paymnt strategy in checkout-sdk ([a2a511a](https://github.com/bigcommerce/checkout-sdk-js/commit/a2a511a15a236f0c9a883cc7e1ad83be1ca51f8a))
* **checkout:** PI-1560 remove underscores ([1cfeb82](https://github.com/bigcommerce/checkout-sdk-js/commit/1cfeb8271fb0cf9c407e7de7604c107a51b9d8cb))
## [1.636.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.635.0...v1.636.0) (2024-07-29)
### Features
* **payment:** PAYPAL-4488 update braintree sdk version to 3.104.0 ([#2578](https://github.com/bigcommerce/checkout-sdk-js/issues/2578)) ([e239b48](https://github.com/bigcommerce/checkout-sdk-js/commit/e239b481137efcaa329e5ea47b54a21320c5c6ca))
## [1.635.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.634.0...v1.635.0) (2024-07-29)
### Features
* **payment:** STRIPE-378 GooglePay shipping options ([dfb88ff](https://github.com/bigcommerce/checkout-sdk-js/commit/dfb88ffd09d7a57daedcf00b486a4c7faa664029))
## [1.634.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.633.1...v1.634.0) (2024-07-29)
### Features
* **checkout:** PI-2290 Adyen Credit Card installments implementation ([#2572](https://github.com/bigcommerce/checkout-sdk-js/issues/2572)) ([5cc2c06](https://github.com/bigcommerce/checkout-sdk-js/commit/5cc2c06c3ba1dd9fda9bd8d88f5711a5f2e26dc4))
### [1.633.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.633.0...v1.633.1) (2024-07-29)
### Bug Fixes
* **payment:** STRIPE-329 added name to Stripe billing_details object ([f2c271c](https://github.com/bigcommerce/checkout-sdk-js/commit/f2c271c0af902b63eb9bf540a73299bcd6102c47))
## [1.633.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.632.0...v1.633.0) (2024-07-25)
### Features
* **payment:** PAYPAL-4441 updated Braintree Fastlane strategies with isFastlaneStylingEnabled flag ([#2576](https://github.com/bigcommerce/checkout-sdk-js/issues/2576)) ([12396a2](https://github.com/bigcommerce/checkout-sdk-js/commit/12396a2516612b879de23943e8e04daaa751770f))
## [1.632.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.631.1...v1.632.0) (2024-07-25)
### Features
* **payment:** PAYPAL-4440 updated ppcp fastlane strategies with fastlane flag to be able to turn on/off fastlane custom styling ([#2575](https://github.com/bigcommerce/checkout-sdk-js/issues/2575)) ([788bdaf](https://github.com/bigcommerce/checkout-sdk-js/commit/788bdaf5c16b24f246cf9b9aff4df0868f6117ed))
### [1.631.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.631.0...v1.631.1) (2024-07-17)
## [1.631.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.630.3...v1.631.0) (2024-07-16)
### Features
* **payment:** PI-2285 Add Google Pay on TD Online Mart - all other places ([#2570](https://github.com/bigcommerce/checkout-sdk-js/issues/2570)) ([be88c0d](https://github.com/bigcommerce/checkout-sdk-js/commit/be88c0dbef94825905d2654a41647b5dd1954486))
### [1.630.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.630.2...v1.630.3) (2024-07-10)
### [1.630.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.630.1...v1.630.2) (2024-07-09)
### Code Refactoring
* **checkout:** PI-2349 moved Worldpay Access payment strategy to separate package ([#2565](https://github.com/bigcommerce/checkout-sdk-js/issues/2565)) ([efa8e1e](https://github.com/bigcommerce/checkout-sdk-js/commit/efa8e1ea0a7e9ce5a869ae1e27240ab5e54b26a4))
### [1.630.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.630.0...v1.630.1) (2024-07-09)
### Bug Fixes
* **payment:** PAYPAL-4379 fixed the issue with Braintree Fastlane initialization process ([#2568](https://github.com/bigcommerce/checkout-sdk-js/issues/2568)) ([e79a549](https://github.com/bigcommerce/checkout-sdk-js/commit/e79a549e154591ef3dfd106a24a17c14cca5ba01))
## [1.630.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.629.1...v1.630.0) (2024-07-09)
### Features
* **checkout:** CHECKOUT-8281 Add 3 New Checkout Extension Regions ([#2567](https://github.com/bigcommerce/checkout-sdk-js/issues/2567)) ([07863ec](https://github.com/bigcommerce/checkout-sdk-js/commit/07863eccaa5da325c0f185ae0ade2ab263291ec3))
### [1.629.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.629.0...v1.629.1) (2024-07-09)
### Bug Fixes
* **billing:** CHECKOUT-8392 Fix issue with billing address creation ([#2566](https://github.com/bigcommerce/checkout-sdk-js/issues/2566)) ([4754e72](https://github.com/bigcommerce/checkout-sdk-js/commit/4754e7240f2db0dc1b3540753d33de194626d33c))
## [1.629.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.628.0...v1.629.0) (2024-07-08)
### Features
* **payment:** PI-2284 Add Google Pay on TD Online Mart - checkout customer step ([#2557](https://github.com/bigcommerce/checkout-sdk-js/issues/2557)) ([1fab402](https://github.com/bigcommerce/checkout-sdk-js/commit/1fab402ded4c3b2544083b49b01a0b6572746227))
## [1.628.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.627.1...v1.628.0) (2024-07-08)
### Features
* **payment:** PAYPAL-4284 reverted PPCP onShippingAddressChange and onShippingOptionChange callbacks ([#2561](https://github.com/bigcommerce/checkout-sdk-js/issues/2561)) ([d337f12](https://github.com/bigcommerce/checkout-sdk-js/commit/d337f12343ed5c32971339eea1e3feea11756de8))
### [1.627.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.627.0...v1.627.1) (2024-07-02)
## [1.627.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.626.0...v1.627.0) (2024-07-02)
### Features
* **payment:** PAYPAL-4147 added CP styles for Paypal fastlane ([#2558](https://github.com/bigcommerce/checkout-sdk-js/issues/2558)) ([e18b47d](https://github.com/bigcommerce/checkout-sdk-js/commit/e18b47d35b10aa69431cbba49dfde404ff8d3a9f))
## [1.626.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.625.0...v1.626.0) (2024-07-02)
### Features
* **payment:** PAYPAL-4148 added styles to fastlane ([#2547](https://github.com/bigcommerce/checkout-sdk-js/issues/2547)) ([2fd7a8a](https://github.com/bigcommerce/checkout-sdk-js/commit/2fd7a8a1a1def62ed488ebc7c4ee9ccfce8dd53e))
## [1.625.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.624.0...v1.625.0) (2024-07-02)
### Features
* **payment:** PAYPAL-2613 Move BraintreeVisaCheckout customer strategy to braintree-integration package ([#2555](https://github.com/bigcommerce/checkout-sdk-js/issues/2555)) ([099a3a4](https://github.com/bigcommerce/checkout-sdk-js/commit/099a3a42a5a8a62885bbb7124426da544da8948d))
## [1.624.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.623.2...v1.624.0) (2024-07-02)
### Features
* **payment:** PI-2283 Add Google Pay on TD Online Mart - checkout payment step ([#2552](https://github.com/bigcommerce/checkout-sdk-js/issues/2552)) ([5b43dae](https://github.com/bigcommerce/checkout-sdk-js/commit/5b43daebff0aad6edd0b3efe6ecdacefefc98bfc))
### [1.623.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.623.1...v1.623.2) (2024-06-27)
### Bug Fixes
* **payment:** STRIPE-385 Fix linter issue ([cad4fac](https://github.com/bigcommerce/checkout-sdk-js/commit/cad4fac3fc93f9b10510163b9fc6d70723773c24))
### [1.623.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.623.0...v1.623.1) (2024-06-27)
### Bug Fixes
* **payment:** STRIPE-385 add currencyService to payment integration service ([c5e456b](https://github.com/bigcommerce/checkout-sdk-js/commit/c5e456be38b0d743954e5b073385e912918d11fa))
* **payment:** STRIPE-385 add currencyService to payment integration service ([7454d8b](https://github.com/bigcommerce/checkout-sdk-js/commit/7454d8b678631b01a90ec8ba27336fb06b6d41c3))
## [1.623.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.622.1...v1.623.0) (2024-06-27)
### Features
* **payment:** PAYPAL-4141 added fulll name to getPaymentToken config ([#2550](https://github.com/bigcommerce/checkout-sdk-js/issues/2550)) ([cf497b2](https://github.com/bigcommerce/checkout-sdk-js/commit/cf497b2d854e877c86d1295ea76cc6a32cc9735a))
### [1.622.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.622.0...v1.622.1) (2024-06-25)
### Code Refactoring
* **payment:** PAYPAL-3600 removed braintree connect implementation for all braintree strategies ([#2546](https://github.com/bigcommerce/checkout-sdk-js/issues/2546)) ([3cdef1d](https://github.com/bigcommerce/checkout-sdk-js/commit/3cdef1d640759f86faf9b7880e3ec6218ad2140d))
## [1.622.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.621.1...v1.622.0) (2024-06-25)
### Features
* **checkout:** PAYPAL-4200 provided initial state config for store creation on createCheckoutButtonInitializer ([#2533](https://github.com/bigcommerce/checkout-sdk-js/issues/2533)) ([67ce659](https://github.com/bigcommerce/checkout-sdk-js/commit/67ce6596a3e03e1cd32443b381ee87771646c114))
### [1.621.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.621.0...v1.621.1) (2024-06-20)
### Code Refactoring
* **checkout:** PI-2169 removed all code related to the GooglePay from the core package ([#2527](https://github.com/bigcommerce/checkout-sdk-js/issues/2527)) ([ec32de8](https://github.com/bigcommerce/checkout-sdk-js/commit/ec32de80000b58fe37b4d69e1bf265af4beadc52))
## [1.621.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.620.0...v1.621.0) (2024-06-18)
### Features
* **payment:** PAYPAL-4292 corrected amount parameter ([#2545](https://github.com/bigcommerce/checkout-sdk-js/issues/2545)) ([bce6eed](https://github.com/bigcommerce/checkout-sdk-js/commit/bce6eed29114e94733b4dcd29d5d0794bb4c6275))
## [1.620.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.619.0...v1.620.0) (2024-06-17)
### Features
* **payment:** PAYPAL-4203 Braintree visa checkout button strategy ([#2538](https://github.com/bigcommerce/checkout-sdk-js/issues/2538)) ([fe84ca8](https://github.com/bigcommerce/checkout-sdk-js/commit/fe84ca86bc1a55b0892dc831220a5f23de526a8d))
### Code Refactoring
* **payment:** PI-1593 moved Clearpay to separate package ([#2541](https://github.com/bigcommerce/checkout-sdk-js/issues/2541)) ([9bffd58](https://github.com/bigcommerce/checkout-sdk-js/commit/9bffd58b9ff30a4687b0158f187f1ccae680e5a2))
## [1.619.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.5...v1.619.0) (2024-06-17)
### Features
* **payment:** PAYPAL-3273 added patch method on paypal order creation for non instant payment methods PPCP ([#2542](https://github.com/bigcommerce/checkout-sdk-js/issues/2542)) ([a7ca27f](https://github.com/bigcommerce/checkout-sdk-js/commit/a7ca27fb1f7ad26f04724ff13b64a90eb8b977f4))
### [1.618.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.4...v1.618.5) (2024-06-17)
### [1.618.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.3...v1.618.4) (2024-06-13)
### Bug Fixes
* **payment:** PI-2161 [TDOnlineMart] fix issue with vaulted card payment when mixed products in the cart ([#2540](https://github.com/bigcommerce/checkout-sdk-js/issues/2540)) ([e4404ef](https://github.com/bigcommerce/checkout-sdk-js/commit/e4404efaebbc4bb970c7ae47840319d22ac5ec41))
### [1.618.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.2...v1.618.3) (2024-06-13)
### Bug Fixes
* **payment:** PAYPAL-4308 removed braintree fastlane default styling ([#2544](https://github.com/bigcommerce/checkout-sdk-js/issues/2544)) ([8a67286](https://github.com/bigcommerce/checkout-sdk-js/commit/8a67286a6a74406662f944fd5352c4d8e6d4fef3))
### [1.618.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.1...v1.618.2) (2024-06-12)
### Bug Fixes
* **payment:** PI-831 fixed mollie ApplePay redirect ([#2543](https://github.com/bigcommerce/checkout-sdk-js/issues/2543)) ([b1e43b3](https://github.com/bigcommerce/checkout-sdk-js/commit/b1e43b3523f1d87c53ce730bf862bf049f489e79))
### [1.618.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.618.0...v1.618.1) (2024-06-10)
### Code Refactoring
* **payment:** PAYPAL-4294 removed PayPal Connect implementation from PayPal Commerce strategies ([#2537](https://github.com/bigcommerce/checkout-sdk-js/issues/2537)) ([3ecb580](https://github.com/bigcommerce/checkout-sdk-js/commit/3ecb5800938f79e6e41afb0415d0012b34e6cf23))
## [1.618.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.617.2...v1.618.0) (2024-06-06)
### Features
* **payment:** PAYPAL-4231 added onCreditCardFieldsRenderingError callback to ppcp cc payment strategy to let handle an error on UI side ([#2536](https://github.com/bigcommerce/checkout-sdk-js/issues/2536)) ([04747be](https://github.com/bigcommerce/checkout-sdk-js/commit/04747bece0afd305040cb2957d34d9e9e464d470))
### [1.617.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.617.1...v1.617.2) (2024-06-06)
### Code Refactoring
* **payment:** PAYPAL-4251 updated Braintree Fastlane strategies to run the flow only for guests ([#2535](https://github.com/bigcommerce/checkout-sdk-js/issues/2535)) ([9f28a10](https://github.com/bigcommerce/checkout-sdk-js/commit/9f28a1092f6f317bf3b163565db8f4e35b30ee2c))
### [1.617.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.617.0...v1.617.1) (2024-06-06)
### Code Refactoring
* **payment:** PAYPAL-3598 updated PPCP Fastlane strategies to trigger the flow only for Guests ([#2534](https://github.com/bigcommerce/checkout-sdk-js/issues/2534)) ([065bb3d](https://github.com/bigcommerce/checkout-sdk-js/commit/065bb3d7125162ef3c8e18da3487bc213485ea2c))
## [1.617.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.616.0...v1.617.0) (2024-06-06)
### Features
* **payment:** PI-1596 Refactor `cybersource` and `cybersourcev2` payment strategies to use Payment Integration API ([#2529](https://github.com/bigcommerce/checkout-sdk-js/issues/2529)) ([6b9a5f4](https://github.com/bigcommerce/checkout-sdk-js/commit/6b9a5f478f8f7b4f50f52b9c731d513f26b25b75))
## [1.616.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.615.0...v1.616.0) (2024-06-04)
### Features
* **payment:** PAYPAL-2518 Add challengeRequested property to 3D Secure ([#2526](https://github.com/bigcommerce/checkout-sdk-js/issues/2526)) ([293cc71](https://github.com/bigcommerce/checkout-sdk-js/commit/293cc7155cdc4df079021cc268fc6cf30fe416c1))
## [1.615.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.614.1...v1.615.0) (2024-06-04)
### Features
* **payment:** PAYPAL-4138 prefilled cardholder name ([#2530](https://github.com/bigcommerce/checkout-sdk-js/issues/2530)) ([839f27b](https://github.com/bigcommerce/checkout-sdk-js/commit/839f27b68f88750fc20753c761fdb6dda3413ed8))
### [1.614.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.614.0...v1.614.1) (2024-06-04)
### Bug Fixes
* **payment:** PI-2191 fixed hosted fields validation for the WorldpayAccess and Authorize.net test cards ([#2532](https://github.com/bigcommerce/checkout-sdk-js/issues/2532)) ([f5656f5](https://github.com/bigcommerce/checkout-sdk-js/commit/f5656f56671cacd6737c04ff34117b5eebe5995c))
## [1.614.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.613.0...v1.614.0) (2024-06-04)
### Features
* **payment:** PAYPAL-3520 Max capture amount failure ([#2485](https://github.com/bigcommerce/checkout-sdk-js/issues/2485)) ([968015a](https://github.com/bigcommerce/checkout-sdk-js/commit/968015a205af7600dee716ae259d3f5f6c0b49de))
## [1.613.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.612.1...v1.613.0) (2024-05-29)
### Features
* **payment:** PI-1578 Refactor the existing sage-pay payment strategy in Checkout SDK ([781599a](https://github.com/bigcommerce/checkout-sdk-js/commit/781599a72eebd30f72e63d4b9740a649717e2385))
### [1.612.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.612.0...v1.612.1) (2024-05-28)
## [1.612.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.611.0...v1.612.0) (2024-05-28)
### Features
* **payment:** PI-2132 Call Klarna order initialization endpoint befo… …re showing Klarna pop-up window ([#2523](https://github.com/bigcommerce/checkout-sdk-js/issues/2523)) ([18eb65c](https://github.com/bigcommerce/checkout-sdk-js/commit/18eb65c4ab6dd1ccdffee04341dd5225a1f1620c))
### Bug Fixes
* **embedded-checkout:** ISSUE-2189 Changed deprecated property of allowPaymentRequest=true to allow=payment in embedded checkout to support apple pay on Safari browser ([#2190](https://github.com/bigcommerce/checkout-sdk-js/issues/2190)) ([4cd2b8e](https://github.com/bigcommerce/checkout-sdk-js/commit/4cd2b8ef8126cec9ac9a81675cbfb6c15cbb8a71))
## [1.611.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.610.0...v1.611.0) (2024-05-28)
### Features
* **payment:** PAYPAL-2520 Add 3d secure iframe window size property ([#2521](https://github.com/bigcommerce/checkout-sdk-js/issues/2521)) ([f8df60c](https://github.com/bigcommerce/checkout-sdk-js/commit/f8df60cb31f7f20663d45a0268d96731907eb0ae))
## [1.610.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.609.0...v1.610.0) (2024-05-24)
### Features
* **payment:** PAYPAL-4173 navigate to payment step when shipping and billing is defined ([#2517](https://github.com/bigcommerce/checkout-sdk-js/issues/2517)) ([9860811](https://github.com/bigcommerce/checkout-sdk-js/commit/986081113ccddf9b9e8908326a393a1d371f615f))
## [1.609.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.608.0...v1.609.0) (2024-05-20)
### Features
* **payment:** PI-2061 Added Amazon Pay button hidden microtext feature flag ([#2509](https://github.com/bigcommerce/checkout-sdk-js/issues/2509)) ([95b97db](https://github.com/bigcommerce/checkout-sdk-js/commit/95b97db6384db15101b8cdc99c31473fda95f52e))
## [1.608.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.607.0...v1.608.0) (2024-05-20)
### Features
* **payment:** PAYPAL-4068 added BT Fastlane address shipping selector ([#2493](https://github.com/bigcommerce/checkout-sdk-js/issues/2493)) ([1b1f5d0](https://github.com/bigcommerce/checkout-sdk-js/commit/1b1f5d09e0b4681a3e6a5197c5acc3a0672ffd54))
## [1.607.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.606.0...v1.607.0) (2024-05-20)
### Features
* **payment:** PAYPAL-2624 moved paypa-pro to a separate package ([#2503](https://github.com/bigcommerce/checkout-sdk-js/issues/2503)) ([7bcce03](https://github.com/bigcommerce/checkout-sdk-js/commit/7bcce03f013e5c426a6587494fa12019461c9295))
## [1.606.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.605.0...v1.606.0) (2024-05-20)
### Features
* **payment:** PAYPAL-4142 added shipping option autoselect to PPCP Fastlane customer startegy ([#2512](https://github.com/bigcommerce/checkout-sdk-js/issues/2512)) ([b701314](https://github.com/bigcommerce/checkout-sdk-js/commit/b701314e403cd78e4993fe167a0f2d3ffeb4465b))
## [1.605.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.604.0...v1.605.0) (2024-05-20)
### Features
* **payment:** PAYPAL-4170 fixed phone number ([#2513](https://github.com/bigcommerce/checkout-sdk-js/issues/2513)) ([631e345](https://github.com/bigcommerce/checkout-sdk-js/commit/631e345eed9d34cf771eb0a91edd6f66d71099ad))
## [1.604.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.603.0...v1.604.0) (2024-05-15)
### Features
* **payment:** PAYPAL-4140 updated getPaymentToken method payload with customer fullname in PPCP Fastlane Payment strategy ([#2508](https://github.com/bigcommerce/checkout-sdk-js/issues/2508)) ([2899e3c](https://github.com/bigcommerce/checkout-sdk-js/commit/2899e3ca4fdf3790da4b45582869f0eaf56ba252))
## [1.603.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.602.0...v1.603.0) (2024-05-15)
### Features
* **payment:** PAYPAL-4051 Apple Pay throws an error in checkout due to attempting to load Braintree information ([#2469](https://github.com/bigcommerce/checkout-sdk-js/issues/2469)) ([7599f66](https://github.com/bigcommerce/checkout-sdk-js/commit/7599f66182c33b799f4c1509547b7b19155f4f38))
## [1.602.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.601.0...v1.602.0) (2024-05-15)
### Features
* **payment:** PAYPAL-4123 digital item fix ([c0afa27](https://github.com/bigcommerce/checkout-sdk-js/commit/c0afa27bfe2a4ca1a99f60c33033bc6ea9303543))
## [1.601.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.600.2...v1.601.0) (2024-05-14)
### Features
* **payment:** PAYPAL-4137 prepopulate cardholder name with customer billing info on Fastlane Card Component ([#2505](https://github.com/bigcommerce/checkout-sdk-js/issues/2505)) ([1bf6e89](https://github.com/bigcommerce/checkout-sdk-js/commit/1bf6e896157eacc1f67256814f1d1f69be41c1db))
### [1.600.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.600.1...v1.600.2) (2024-05-13)
### [1.600.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.600.0...v1.600.1) (2024-05-13)
### Code Refactoring
* **payment:** PI-1558 removed googlepay buttons from checkout button registry v1 ([#2496](https://github.com/bigcommerce/checkout-sdk-js/issues/2496)) ([5331635](https://github.com/bigcommerce/checkout-sdk-js/commit/53316357b98ba93300a7cee3c3defad263fe39ef))
## [1.600.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.599.0...v1.600.0) (2024-05-09)
### Features
* **payment:** PI-1586 Refactor the existing zip payment strategy in Checkout SDK ([c922d80](https://github.com/bigcommerce/checkout-sdk-js/commit/c922d804d5d8cc1fedc8a065238ac0f0d3501f46))
## [1.599.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.598.0...v1.599.0) (2024-05-08)
### Features
* **payment:** PI-1584 move Cardinal to separate package ([#2495](https://github.com/bigcommerce/checkout-sdk-js/issues/2495)) ([d871ee9](https://github.com/bigcommerce/checkout-sdk-js/commit/d871ee9decc1efa5339ed32361dd72d9a4f6bf4d))
## [1.598.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.597.0...v1.598.0) (2024-05-07)
### Features
* **payment:** PAYPAL-4111 update commit parameter ([400a427](https://github.com/bigcommerce/checkout-sdk-js/commit/400a4279c9d43b52a3ac5207a379debd72120a1b))
## [1.597.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.596.0...v1.597.0) (2024-05-03)
### Features
* **payment:** PAYPAL-4108 preselect billing with firstName and lastName for only digital items in cart ([#2498](https://github.com/bigcommerce/checkout-sdk-js/issues/2498)) ([014b9c0](https://github.com/bigcommerce/checkout-sdk-js/commit/014b9c0d32e8780ae285f9c8d253bd27fd8b4140))
## [1.596.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.595.0...v1.596.0) (2024-05-02)
### Features
* **payment:** PI-000 update Payment Integration API ([#2491](https://github.com/bigcommerce/checkout-sdk-js/issues/2491)) ([6437e08](https://github.com/bigcommerce/checkout-sdk-js/commit/6437e0819139f3fa862aac1a02c04eb572406904))
## [1.595.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.594.0...v1.595.0) (2024-05-02)
### Features
* **payment:** PAYPAL-4069 removed temporary import and export ([#2486](https://github.com/bigcommerce/checkout-sdk-js/issues/2486)) ([42ece43](https://github.com/bigcommerce/checkout-sdk-js/commit/42ece43391da0dd403632474d76dcf2774db47d1))
## [1.594.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.593.2...v1.594.0) (2024-05-02)
### Features
* **payment:** PAYPAL-4069 renamed braintree accelerated checkout shipping strategy files ([#2482](https://github.com/bigcommerce/checkout-sdk-js/issues/2482)) ([bb0686b](https://github.com/bigcommerce/checkout-sdk-js/commit/bb0686b755af2976e95f671513f244234c23649c))
### [1.593.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.593.1...v1.593.2) (2024-04-30)
### Code Refactoring
* **payment:** PI-1901 moved Adyen googlepay buttons strategy from core package ([#2484](https://github.com/bigcommerce/checkout-sdk-js/issues/2484)) ([7c997eb](https://github.com/bigcommerce/checkout-sdk-js/commit/7c997eb67d18de55abd8bf15b15e9dd9b84fb8f8))
### [1.593.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.593.0...v1.593.1) (2024-04-30)
### Code Refactoring
* **payment:** PI-1852 moved Adyen googlepay customer strategy from core package ([#2483](https://github.com/bigcommerce/checkout-sdk-js/issues/2483)) ([306d077](https://github.com/bigcommerce/checkout-sdk-js/commit/306d077dc4d5ac1b9d439b4bb8233fc78994776d))
## [1.593.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.592.1...v1.593.0) (2024-04-30)
### Features
* **payment:** PI-1831 [Humm] Refactor the existing `humm` payment st… ([#2433](https://github.com/bigcommerce/checkout-sdk-js/issues/2433)) ([3c52ed1](https://github.com/bigcommerce/checkout-sdk-js/commit/3c52ed1fdcf98902d986f7d98040c75724a5c64d))
### [1.592.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.592.0...v1.592.1) (2024-04-29)
### Bug Fixes
* **payment:** PAYPAL-4088 fixed the issue with Fastlane place order with paypal instrument ([#2490](https://github.com/bigcommerce/checkout-sdk-js/issues/2490)) ([355261d](https://github.com/bigcommerce/checkout-sdk-js/commit/355261da597b230ee80e718e829e99663ef183c5))
## [1.592.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.591.0...v1.592.0) (2024-04-26)
### Features
* **payment:** PAYPAL-4069 renamed braintree accelerated checkout shipping strategy files ([#2481](https://github.com/bigcommerce/checkout-sdk-js/issues/2481)) ([d96d437](https://github.com/bigcommerce/checkout-sdk-js/commit/d96d437a92a009cf429da0b8d2554979c3964540))
## [1.591.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.590.0...v1.591.0) (2024-04-25)
### Features
* **payment:** PAYPAL-4067 added paypal fastlane shipping selector implementation to paypal commerce fastlane shipping strategy ([#2479](https://github.com/bigcommerce/checkout-sdk-js/issues/2479)) ([4316554](https://github.com/bigcommerce/checkout-sdk-js/commit/4316554ebc7d4139b15ffbc4110f584a48343c73))
## [1.590.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.589.1...v1.590.0) (2024-04-25)
### Features
* **payment:** PAYPAL-4082 updated PayPalFastlaneComponent with PayPalCardComponent from paypal sdk ([#2480](https://github.com/bigcommerce/checkout-sdk-js/issues/2480)) ([810cddd](https://github.com/bigcommerce/checkout-sdk-js/commit/810cddd83be7ad97b031e083f2c24a329b645772))
### [1.589.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.589.0...v1.589.1) (2024-04-24)
### Code Refactoring
* **payment:** PAYPAL-4070 updated shipping initialize options with braintreefastlane and paypalcommercefastlane options ([#2478](https://github.com/bigcommerce/checkout-sdk-js/issues/2478)) ([b0faf44](https://github.com/bigcommerce/checkout-sdk-js/commit/b0faf449b77394d9d11ad95251151bd98d04048d))
## [1.589.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.588.0...v1.589.0) (2024-04-24)
### Features
* **payment:** PI-1581 Refactor the existing checkoutcom components ([3ddf9c4](https://github.com/bigcommerce/checkout-sdk-js/commit/3ddf9c46e448036634f3478175cdfb90a5817a30))
## [1.588.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.587.0...v1.588.0) (2024-04-23)
### Features
* **payment:** PAYPAL-3976 added credit card name field validation ([#2465](https://github.com/bigcommerce/checkout-sdk-js/issues/2465)) ([794fd0a](https://github.com/bigcommerce/checkout-sdk-js/commit/794fd0a8445738aa51f5c0fc9f1b9f7bf5505cbc))
## [1.587.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.586.0...v1.587.0) (2024-04-23)
### Features
* **payment:** PI-1606 [Afterpay] Move Afterpay payment strategy to separate package in checkout-sdk-js ([#2446](https://github.com/bigcommerce/checkout-sdk-js/issues/2446)) ([2f9111f](https://github.com/bigcommerce/checkout-sdk-js/commit/2f9111fbba9b1d4ee65892b0d34098778648ea09))
## [1.586.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.585.4...v1.586.0) (2024-04-23)
### Features
* **payment:** PI-1916 Added SRI hashes for the adyen styles and scripts ([#2470](https://github.com/bigcommerce/checkout-sdk-js/issues/2470)) ([da0f96b](https://github.com/bigcommerce/checkout-sdk-js/commit/da0f96bd1ec1a2afaf1d586e830dd475928219ba))
### [1.585.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.585.3...v1.585.4) (2024-04-23)
### Bug Fixes
* **payment:** PI-1925 get actual data for Klarna authentication request ([ad6b882](https://github.com/bigcommerce/checkout-sdk-js/commit/ad6b8820612b92b9230117b70680ff431db833f0))
### [1.585.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.585.2...v1.585.3) (2024-04-22)
### Code Refactoring
* **payment:** PI-00 bundle watch LIBRARY_VERSION fix ([#2471](https://github.com/bigcommerce/checkout-sdk-js/issues/2471)) ([edd336b](https://github.com/bigcommerce/checkout-sdk-js/commit/edd336b2b0bb895f155d4039652cd82c3f0c699e))
### [1.585.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.585.1...v1.585.2) (2024-04-22)
### Bug Fixes
* **payment:** PAYPAL-000 updated paypal fastlane integrations with FastlanePaymentComponent ([#2468](https://github.com/bigcommerce/checkout-sdk-js/issues/2468)) ([eefb3f1](https://github.com/bigcommerce/checkout-sdk-js/commit/eefb3f119c048f74c7790cf3357e08b6042f7a97))
### [1.585.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.585.0...v1.585.1) (2024-04-18)
### Code Refactoring
* **payment:** PI-650 created adyen googlepay payment strategies outside core package ([#2452](https://github.com/bigcommerce/checkout-sdk-js/issues/2452)) ([7cd82fe](https://github.com/bigcommerce/checkout-sdk-js/commit/7cd82fe4b16ac415ff1a592eee7ae811e740023d))
## [1.585.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.584.0...v1.585.0) (2024-04-17)
### Features
* **payment:** PAYPAL-4005 improved loading of Braintree modules ([#2458](https://github.com/bigcommerce/checkout-sdk-js/issues/2458)) ([8266720](https://github.com/bigcommerce/checkout-sdk-js/commit/82667209835663b8f53f4121a55485b597859ed9))
## [1.584.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.583.0...v1.584.0) (2024-04-17)
### Features
* **payment:** PAYPAL-4032 PPCP Card Fields shouldSetAsDefaultInstrument flag send ([19a108a](https://github.com/bigcommerce/checkout-sdk-js/commit/19a108abefc7617d53c9156a2695718ac995115f))
## [1.583.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.582.3...v1.583.0) (2024-04-17)
### Features
* **payment:** PAYPAL-4048 added fastlane compatible version ([#2464](https://github.com/bigcommerce/checkout-sdk-js/issues/2464)) ([6bc5c92](https://github.com/bigcommerce/checkout-sdk-js/commit/6bc5c9220d5c2668bc860fc6f5fb410d504bf7e7))
### [1.582.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.582.2...v1.582.3) (2024-04-16)
### Bug Fixes
* **checkout:** CHECKOUT-8183 set shouldSaveAddress to false for existing customer addresses while loadCheckout ([0a8ad13](https://github.com/bigcommerce/checkout-sdk-js/commit/0a8ad132949593f8b09f435e789f8e51753d22a9))
### [1.582.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.582.1...v1.582.2) (2024-04-15)
### Code Refactoring
* **payment:** PAYPAL-000 added createBraintreeSdk file ([#2461](https://github.com/bigcommerce/checkout-sdk-js/issues/2461)) ([ab55260](https://github.com/bigcommerce/checkout-sdk-js/commit/ab552608887a87c059f33add0d200a01d36e8de4))
### [1.582.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.582.0...v1.582.1) (2024-04-12)
## [1.582.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.581.0...v1.582.0) (2024-04-11)
### Features
* **payment:** PI-1606 add validateCheckout and loadPaymentMethods to Payment Integration Service ([1909612](https://github.com/bigcommerce/checkout-sdk-js/commit/1909612ce4c785205b4088e0c27a8c2f1381c890))
## [1.581.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.580.0...v1.581.0) (2024-04-11)
### Features
* **payment:** PAYPAL-3850 Update braintree scripts by passing additional integrity and crossorigin attributes to script tag ([#2455](https://github.com/bigcommerce/checkout-sdk-js/issues/2455)) ([8c744f2](https://github.com/bigcommerce/checkout-sdk-js/commit/8c744f2317fab3bc68618e05d9d4db465dee36f8))
## [1.580.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.579.0...v1.580.0) (2024-04-11)
### Features
* **payment:** PAYPAL-3997 PPCP Card fields render method is awaited ([c6a3637](https://github.com/bigcommerce/checkout-sdk-js/commit/c6a3637f88d958e79e539b71f8f360430a458084))
## [1.579.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.578.1...v1.579.0) (2024-04-10)
### Features
* **payment:** PAYPAL-4001 added a switch to turn off Fastlane for Store Members ([#2456](https://github.com/bigcommerce/checkout-sdk-js/issues/2456)) ([261d0a6](https://github.com/bigcommerce/checkout-sdk-js/commit/261d0a6ec54f0e245068ea5295fe445c44e314b8))
### [1.578.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.578.0...v1.578.1) (2024-04-10)
## [1.578.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.577.3...v1.578.0) (2024-04-10)
### Features
* **payment:** PAYPAL-3850 Removed BraintreeScriptLoader from core and transferred related code ([#2444](https://github.com/bigcommerce/checkout-sdk-js/issues/2444)) ([f665e09](https://github.com/bigcommerce/checkout-sdk-js/commit/f665e098513d798f6adf5b6f7050434780fb589b))
### [1.577.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.577.2...v1.577.3) (2024-04-10)
### Bug Fixes
* **payment:** CHECKOUT-8132 Fix issue with apple pay button clicked twice ([#2440](https://github.com/bigcommerce/checkout-sdk-js/issues/2440)) ([bb4feca](https://github.com/bigcommerce/checkout-sdk-js/commit/bb4feca1a86295bc5562ab2bdff50dbb798a17be))
### [1.577.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.577.1...v1.577.2) (2024-04-09)
### Bug Fixes
* **payment:** PAYPAL-3736 fixed PayPalCommerce Credit Card fields style issue ([#2448](https://github.com/bigcommerce/checkout-sdk-js/issues/2448)) ([9b7adc9](https://github.com/bigcommerce/checkout-sdk-js/commit/9b7adc96fdff8f4ddd5d04231536ac7eae577ccd))
* **payment:** PI-1823 Add shop path to the remote checkout request ([e940d07](https://github.com/bigcommerce/checkout-sdk-js/commit/e940d077fd80d9ff4682c7da7707068930ab3bf3))
### [1.577.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.577.0...v1.577.1) (2024-04-08)
## [1.577.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.576.1...v1.577.0) (2024-04-08)
### Features
* **payment:** INT-7698 GooglePay: Add button strategy ([#2432](https://github.com/bigcommerce/checkout-sdk-js/issues/2432)) ([598b1ee](https://github.com/bigcommerce/checkout-sdk-js/commit/598b1eed4d3a0bec2764b603f49ff91d241229fc))
### [1.576.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.576.0...v1.576.1) (2024-04-08)
### Code Refactoring
* **payment:** PI-1919 create shared adyen-utils package ([1dc2a2c](https://github.com/bigcommerce/checkout-sdk-js/commit/1dc2a2c99ba1f9e065385d381e0032634de43d28))
## [1.576.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.575.0...v1.576.0) (2024-04-04)
### Features
* **payment:** PAYPAL-3587 Update Braintree Accelerated Checkout shipping strategy to support Fastlane + Connect ([#2437](https://github.com/bigcommerce/checkout-sdk-js/issues/2437)) ([aa8e4b3](https://github.com/bigcommerce/checkout-sdk-js/commit/aa8e4b3b50c868a0ad947e2fb963d687a045d80e))
## [1.575.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.574.0...v1.575.0) (2024-04-03)
### Features
* **payment:** PAYPAL-3896 added try catch to BraintreeFastlaneCustomerStrategy initialize method ([#2443](https://github.com/bigcommerce/checkout-sdk-js/issues/2443)) ([f9eccde](https://github.com/bigcommerce/checkout-sdk-js/commit/f9eccdec761ee21d08fa83c86f4feec793c31cb1))
## [1.574.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.573.0...v1.574.0) (2024-04-03)
### Features
* **payment:** PAYPAL-3878 added try catch to PayPal Commecre Fastlane Customer Strategy initialization method ([#2441](https://github.com/bigcommerce/checkout-sdk-js/issues/2441)) ([b5af673](https://github.com/bigcommerce/checkout-sdk-js/commit/b5af6734d09689447a22a5c64a860bad7da8ecc1))
## [1.573.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.572.0...v1.573.0) (2024-04-03)
### Features
* **payment:** PAYPAL-3850 removed unnecessary code related to braintree ([#2434](https://github.com/bigcommerce/checkout-sdk-js/issues/2434)) ([a911503](https://github.com/bigcommerce/checkout-sdk-js/commit/a91150396275d20c32da69960436899c6fb1a2f9))
## [1.572.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.571.1...v1.572.0) (2024-04-02)
### Features
* **payment:** PAYPAL-000 turned required params to optional ([#2438](https://github.com/bigcommerce/checkout-sdk-js/issues/2438)) ([cdf346d](https://github.com/bigcommerce/checkout-sdk-js/commit/cdf346d7c25758ba8468d5c776519354ec8dff3d))
### [1.571.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.571.0...v1.571.1) (2024-04-02)
### Bug Fixes
* **payment:** PI-1899 additional token for instrument verification ([ea9fb69](https://github.com/bigcommerce/checkout-sdk-js/commit/ea9fb690c6e1ae7d62a98405c9080e84026eb02a))
## [1.571.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.570.1...v1.571.0) (2024-04-02)
### Features
* **payment:** PAYPAL-3463 Added Pay Later messaging to Paywall Section ([#2419](https://github.com/bigcommerce/checkout-sdk-js/issues/2419)) ([7fd07ff](https://github.com/bigcommerce/checkout-sdk-js/commit/7fd07ffbe720a4cdc1190965431421e8ce0b34f9))
### [1.570.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.570.0...v1.570.1) (2024-04-01)
### Code Refactoring
* **payment:** PI-1726 create AmazonPay utils package ([9fa9ed3](https://github.com/bigcommerce/checkout-sdk-js/commit/9fa9ed3e4573bc782585c1dea982cbab7bab46e1))
## [1.570.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.569.0...v1.570.0) (2024-03-28)
### Features
* **payment:** PAYPAL-3910 send billing address only with order creation ([f928a4d](https://github.com/bigcommerce/checkout-sdk-js/commit/f928a4d252cc6847c89c1ea6db2f6847186ca721))
## [1.569.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.568.3...v1.569.0) (2024-03-28)
### Features
* **payment:** PAYPAL-3881 added collectDeviceData flag to braintree sdk ([c4c1181](https://github.com/bigcommerce/checkout-sdk-js/commit/c4c11818d5859cf0d7bc388e472fe0e34e983fbd))
### [1.568.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.568.2...v1.568.3) (2024-03-28)
### Bug Fixes
* **payment:** PI-1841 Check fields containers before mount ([35fd8e4](https://github.com/bigcommerce/checkout-sdk-js/commit/35fd8e4dc779592efe75c1cf0e69ab284c189900))
### [1.568.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.568.1...v1.568.2) (2024-03-27)
### Code Refactoring
* **payment:** PAYPAL-000 updated braintree-ach-payment-strategy with BraintreeSdk ([#2430](https://github.com/bigcommerce/checkout-sdk-js/issues/2430)) ([6df25c6](https://github.com/bigcommerce/checkout-sdk-js/commit/6df25c6708ce579f116decfa1b56b1e2e4dcefc6))
### [1.568.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.568.0...v1.568.1) (2024-03-27)
### Bug Fixes
* **payment:** ISSUE-2398 Braintree add-cardholder-name-to-hosted-fields ([#2399](https://github.com/bigcommerce/checkout-sdk-js/issues/2399)) ([8ce7442](https://github.com/bigcommerce/checkout-sdk-js/commit/8ce7442e952f1aef5b95bebd4a82c469169dacd5))
## [1.568.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.567.0...v1.568.0) (2024-03-26)
### Features
* **payment:** PI-1501 [Klarna] [CheckoutSDK] Refactor the existing `klarna` payment strategy in Checkout SDK to use the new checkout payment integration JS API ([#2415](https://github.com/bigcommerce/checkout-sdk-js/issues/2415)) ([bb2ac1f](https://github.com/bigcommerce/checkout-sdk-js/commit/bb2ac1f7dbac7969e7d9cac61460a715853dc819))
## [1.567.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.566.0...v1.567.0) (2024-03-26)
### Features
* **payment:** PAYPAL-3588 Update Braintree Fastlane payment strategy with PP Fastlane vaulting component ([#2418](https://github.com/bigcommerce/checkout-sdk-js/issues/2418)) ([5d746ce](https://github.com/bigcommerce/checkout-sdk-js/commit/5d746ce7703b6b93581657348136a8552452b665))
## [1.566.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.565.1...v1.566.0) (2024-03-26)
### Features
* **payment:** PI-1579 Refactor bluesnapv2 payment strategy in checkout-sdk ([008da37](https://github.com/bigcommerce/checkout-sdk-js/commit/008da3748dc00306ce83abc1bdaec2452c496af1))
### [1.565.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.565.0...v1.565.1) (2024-03-25)
### Bug Fixes
* **payment:** PI-1835 add TDBant to supported instruments ([95a51f9](https://github.com/bigcommerce/checkout-sdk-js/commit/95a51f90fa977040d9178df750212efd9db59a55))
## [1.565.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.564.2...v1.565.0) (2024-03-25)
### Features
* **payment:** PAYPAL-000 added Braintree Sdk class in braintree-utils package ([#2427](https://github.com/bigcommerce/checkout-sdk-js/issues/2427)) ([13adf97](https://github.com/bigcommerce/checkout-sdk-js/commit/13adf97ef37babdd112d2c6e2d39979800cc4e2c))
### [1.564.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.564.1...v1.564.2) (2024-03-25)
### Bug Fixes
* **embedded-checkout:** ISSUE-2425 Handle www redirects on embed checkout links ([#2426](https://github.com/bigcommerce/checkout-sdk-js/issues/2426)) ([05f6dc8](https://github.com/bigcommerce/checkout-sdk-js/commit/05f6dc896f006510fa00c3c26b1540acf98150b9))
### [1.564.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.564.0...v1.564.1) (2024-03-21)
## [1.564.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.563.1...v1.564.0) (2024-03-20)
### Features
* **payment:** PAYPAL-3586 Update Braintree Accelerated Checkout payment strategy to support Fastlane + Connect ([#2410](https://github.com/bigcommerce/checkout-sdk-js/issues/2410)) ([f386d71](https://github.com/bigcommerce/checkout-sdk-js/commit/f386d71894691314e0599692427f1c0f30d225cb))
### [1.563.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.563.0...v1.563.1) (2024-03-20)
### Bug Fixes
* **payment:** PAYPAL-3838 removed hardcoded payment method id value in braintree and paypal commerce analytic trackers ([#2417](https://github.com/bigcommerce/checkout-sdk-js/issues/2417)) ([1060fb7](https://github.com/bigcommerce/checkout-sdk-js/commit/1060fb74985e61dda8fda0bb1baf00745a796c35))
## [1.563.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.562.3...v1.563.0) (2024-03-19)
### Features
* **payment:** PAYPAL-3744 updated execute tokenize method with getPaymentToken in paypal-commerce-fastlane-payment-strategy ([#2413](https://github.com/bigcommerce/checkout-sdk-js/issues/2413)) ([18a4fb8](https://github.com/bigcommerce/checkout-sdk-js/commit/18a4fb8763b90d565e6788accd51b5baccab377d))
### [1.562.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.562.2...v1.562.3) (2024-03-19)
### Bug Fixes
* **payment:** PAYPAL-3774 update paypal card selection implementation for PayPal Commerce Fastlane component ([#2416](https://github.com/bigcommerce/checkout-sdk-js/issues/2416)) ([9192531](https://github.com/bigcommerce/checkout-sdk-js/commit/9192531ee870fca33c337c9aa2391eb7331955fb))
### [1.562.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.562.1...v1.562.2) (2024-03-18)
### Bug Fixes
* **payment:** PI-1138 TD Bank vaulting options ([7247b71](https://github.com/bigcommerce/checkout-sdk-js/commit/7247b71606eff1e2dabeff0507f9bc7d14972249))
### [1.562.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.562.0...v1.562.1) (2024-03-18)
### Code Refactoring
* **payment:** PAYPAL-3603 updated braintree analytics folder name and codeowners file ([#2414](https://github.com/bigcommerce/checkout-sdk-js/issues/2414)) ([0201481](https://github.com/bigcommerce/checkout-sdk-js/commit/0201481bc8fe36a781f9064445de6b5b151a0436))
## [1.562.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.561.0...v1.562.0) (2024-03-18)
### Features
* **payment:** PAYPAL-3603 updated braintree analytic tracker with fastlane support ([#2409](https://github.com/bigcommerce/checkout-sdk-js/issues/2409)) ([3081dfb](https://github.com/bigcommerce/checkout-sdk-js/commit/3081dfb39dd64655cc355e32b92bce21e5f4cca0))
## [1.561.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.560.0...v1.561.0) (2024-03-14)
### Features
* **payment:** PAYPAL-0000 revert BT SDK ALPHA version ([#2407](https://github.com/bigcommerce/checkout-sdk-js/issues/2407)) ([5a540b4](https://github.com/bigcommerce/checkout-sdk-js/commit/5a540b4081ce12e2023f436b32313d6e538c9363))
## [1.560.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.559.0...v1.560.0) (2024-03-13)
### Features
* **payment:** PI-1753 Pass an additional Single-Use Token to bigpay ([e35624f](https://github.com/bigcommerce/checkout-sdk-js/commit/e35624f2e0a6c9231a7777a4af50befc7b4ff0ad))
## [1.559.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.558.2...v1.559.0) (2024-03-13)
### Features
* **payment:** PAYPAL-3784 added billing address data to the submit payload for PPCP credit card form action ([#2403](https://github.com/bigcommerce/checkout-sdk-js/issues/2403)) ([a8f35fa](https://github.com/bigcommerce/checkout-sdk-js/commit/a8f35facfb7ac33d98c6448137491d1dd9bed31c))
### [1.558.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.558.1...v1.558.2) (2024-03-12)
### Bug Fixes
* **payment:** PI-1287 fixed 3ds challange for WorldPay ([6049c43](https://github.com/bigcommerce/checkout-sdk-js/commit/6049c43f07f91319b9f1edf4dc491c67f836575f))
### [1.558.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.558.0...v1.558.1) (2024-03-12)
### Code Refactoring
* **payment:** PAYPAL-000 renamed BraintreePayPalAch with BraintreeAch to match naming in all places ([#2401](https://github.com/bigcommerce/checkout-sdk-js/issues/2401)) ([48c1c7f](https://github.com/bigcommerce/checkout-sdk-js/commit/48c1c7f273e71d50d8e85e7aa13a99634b02a20c))
## [1.558.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.557.3...v1.558.0) (2024-03-12)
### Features
* **payment:** PAYPAL-3597 Update Braintree Accelerated Checkout customer strategy to support Fastlane + Connect ([#2389](https://github.com/bigcommerce/checkout-sdk-js/issues/2389)) ([14bf708](https://github.com/bigcommerce/checkout-sdk-js/commit/14bf7087e8e5d0927a4bd9e69b348c6f6f02ebb7))
### [1.557.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.557.2...v1.557.3) (2024-03-11)
### Code Refactoring
* **payment:** PAYPAL-000 moved braintree paypal credit related code to separate folder ([#2400](https://github.com/bigcommerce/checkout-sdk-js/issues/2400)) ([2e62fcb](https://github.com/bigcommerce/checkout-sdk-js/commit/2e62fcb5b9fcee7131f0eafc1f46cbef180efd7e))
### [1.557.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.557.1...v1.557.2) (2024-03-11)
### Code Refactoring
* **payment:** PI-1736 move getShippableItemsCount to package ([b297d27](https://github.com/bigcommerce/checkout-sdk-js/commit/b297d27cdff2e829959f8d0034ff86ce21f95294))
### [1.557.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.557.0...v1.557.1) (2024-03-11)
### Code Refactoring
* **payment:** PAYPAL-000 removed duplications and created generic method in braintree-script-loader file ([#2395](https://github.com/bigcommerce/checkout-sdk-js/issues/2395)) ([bf10c05](https://github.com/bigcommerce/checkout-sdk-js/commit/bf10c056626c20251cd3d932607aadcfeda73d99))
## [1.557.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.556.0...v1.557.0) (2024-03-11)
### Features
* **payment:** PAYPAL-3743 updated axoEnv sandbox key to fastlaneEnv in paypal-commerce-fastlane-utils file ([#2392](https://github.com/bigcommerce/checkout-sdk-js/issues/2392)) ([79ae6df](https://github.com/bigcommerce/checkout-sdk-js/commit/79ae6dfd78a591d690efbc2c555212bc93c8d923))
## [1.556.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.555.0...v1.556.0) (2024-03-11)
### Features
* **payment:** PAYPAL-3745 updated axoEnv sandbox key to fastlaneEnv in braintree-integration-service file ([#2393](https://github.com/bigcommerce/checkout-sdk-js/issues/2393)) ([c8b66e0](https://github.com/bigcommerce/checkout-sdk-js/commit/c8b66e084eadb4eeb00075bdd93a51dfbbea07e8))
## [1.555.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.554.0...v1.555.0) (2024-03-06)
### Features
* **payment:** PI-1679 toggle Stripe terms text ([503d35f](https://github.com/bigcommerce/checkout-sdk-js/commit/503d35fa14b5a7b3171518df856eb05adf4fe513))
## [1.554.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.553.1...v1.554.0) (2024-03-05)
### Features
* **payment:** PI-1502 [KlarnaV2] [CheckoutSKD] Refactor the existing `klarnav2` payment strategy in Checkout SDK to use the new checkout payment integration JS API ([#2373](https://github.com/bigcommerce/checkout-sdk-js/issues/2373)) ([178f670](https://github.com/bigcommerce/checkout-sdk-js/commit/178f670caa700bc4abd8c83e1f437fb8e24ea3e1))
### [1.553.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.553.0...v1.553.1) (2024-03-05)
## [1.553.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.552.0...v1.553.0) (2024-03-04)
### Features
* **checkout:** PI-1655 update payment integration service to include more methods from the core package ([e0f670b](https://github.com/bigcommerce/checkout-sdk-js/commit/e0f670bd9b5c66ddce5aa2ba335abf347499c5e2))
## [1.552.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.551.0...v1.552.0) (2024-03-04)
### Features
* **payment:** PI-429 [Adyen] Improve FE validation for APMs on checkout ([c3f68f4](https://github.com/bigcommerce/checkout-sdk-js/commit/c3f68f442c1dbbe4386b151e659043db1c77e3a1))
## [1.551.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.550.0...v1.551.0) (2024-02-29)
### Features
* **payment:** PAYPAL-3585 updated braintree scriptloader to load fastlane ([#2388](https://github.com/bigcommerce/checkout-sdk-js/issues/2388)) ([be0d328](https://github.com/bigcommerce/checkout-sdk-js/commit/be0d328015ee937089b5e1ef49fa5c067a1886c7))
## [1.550.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.549.1...v1.550.0) (2024-02-29)
### Features
* **payment:** PAYPAL-3705 PPCP Card Fields payment payload updated ([526d26c](https://github.com/bigcommerce/checkout-sdk-js/commit/526d26ccf96af1176d5087319f8867eebcab094d))
### [1.549.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.549.0...v1.549.1) (2024-02-28)
### Code Refactoring
* **payment:** PAYPAL-3602 updated imports for paypal commerce analytic tracker ([#2385](https://github.com/bigcommerce/checkout-sdk-js/issues/2385)) ([e89acdf](https://github.com/bigcommerce/checkout-sdk-js/commit/e89acdfea25b4c6df71ebc7509e708a481a5b1e5))
## [1.549.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.548.0...v1.549.0) (2024-02-28)
### Features
* **payment:** PAYPAL-3602 renamed PayPalCommerceConnectTracker to PayPalCommerceAnalyticTracker + added Fastlane support ([#2384](https://github.com/bigcommerce/checkout-sdk-js/issues/2384)) ([b7054e5](https://github.com/bigcommerce/checkout-sdk-js/commit/b7054e55dd334053691902b0c7e2587ebb9ddc0d))
## [1.548.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.547.1...v1.548.0) (2024-02-27)
### Features
* **payment:** PAYPAL-3453 Support saving PPCP PayPal Account to the vault ([#2352](https://github.com/bigcommerce/checkout-sdk-js/issues/2352)) ([6508434](https://github.com/bigcommerce/checkout-sdk-js/commit/6508434fcc7c6484303db8fa0a637bdae62dce67))
* **payment:** PAYPAL-3453 supported payment instrument ([e83c052](https://github.com/bigcommerce/checkout-sdk-js/commit/e83c0522ffc9ab70493f04dcf86bf1b73ba76e5e))
### [1.547.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.547.0...v1.547.1) (2024-02-27)
### Code Refactoring
* **payment:** PAYPAL-3708 removed unused ppcp accelerated checkout code ([#2382](https://github.com/bigcommerce/checkout-sdk-js/issues/2382)) ([e8c7601](https://github.com/bigcommerce/checkout-sdk-js/commit/e8c7601399f1d7055cbcf9c6991909fde85b318d))
## [1.547.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.546.0...v1.547.0) (2024-02-26)
### Features
* **payment:** PAYPAL-3371 bump form-poster version ([f820ed0](https://github.com/bigcommerce/checkout-sdk-js/commit/f820ed0660efbfe480b4d2304fbb46ec7208f86c))
## [1.546.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.545.0...v1.546.0) (2024-02-26)
### Features
* **payment:** PAYPAL-3683 updated paypal-commerce-credit-cards-payment-strategy to support PayPal Connect and Fastlane initialization ([#2379](https://github.com/bigcommerce/checkout-sdk-js/issues/2379)) ([3a662fc](https://github.com/bigcommerce/checkout-sdk-js/commit/3a662fcf2fe1390ea5757cb6740f88666ea832be))
### Code Refactoring
* **common:** PAYPAL-000 fixed all eslint warnings ([#2380](https://github.com/bigcommerce/checkout-sdk-js/issues/2380)) ([477a19f](https://github.com/bigcommerce/checkout-sdk-js/commit/477a19f8cf731d92a4ce367d642ece4b8e203e83))
## [1.545.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.544.1...v1.545.0) (2024-02-22)
### Features
* **payment:** PAYPAL-3646 updated paypal fastlane analytic related code with modified sessionId ([#2377](https://github.com/bigcommerce/checkout-sdk-js/issues/2377)) ([214f7fa](https://github.com/bigcommerce/checkout-sdk-js/commit/214f7fa04760524bc2189268211bf2c57eb06de2))
### [1.544.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.544.0...v1.544.1) (2024-02-22)
### Code Refactoring
* **payment:** PAYPAL-3575 updated shipping regestry with paypal commerce fastlane shipping strategy instead of accelerated checkout ([#2376](https://github.com/bigcommerce/checkout-sdk-js/issues/2376)) ([ff7dd32](https://github.com/bigcommerce/checkout-sdk-js/commit/ff7dd329e866facd205aee5b8db88a822c7e5dc3))
## [1.544.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.543.1...v1.544.0) (2024-02-21)
### Features
* **payment:** PAYPAL-3575 updated paypal commerce AXO shipping strategy to support PP Connect + Fastlane ([#2370](https://github.com/bigcommerce/checkout-sdk-js/issues/2370)) ([cdf69a9](https://github.com/bigcommerce/checkout-sdk-js/commit/cdf69a9dd0c9af39ca802902bf921c0ba3500f2b))
* **payment:** PI-1648 Make an ability to use initializePayment action from core package in integration checkout-sdk packages ([#2365](https://github.com/bigcommerce/checkout-sdk-js/issues/2365)) ([e006254](https://github.com/bigcommerce/checkout-sdk-js/commit/e006254ac143114b4de976ed8dba327d0a459eb0))
### [1.543.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.543.0...v1.543.1) (2024-02-21)
## [1.543.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.542.1...v1.543.0) (2024-02-20)
### Features
* **payment:** PAYPAL-3574 updated PPCP AXO payment strategy to support Connect + Fastlane ([#2364](https://github.com/bigcommerce/checkout-sdk-js/issues/2364)) ([5745ea5](https://github.com/bigcommerce/checkout-sdk-js/commit/5745ea577ee434ef58db48782f14194ef75ecff9))
### [1.542.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.542.0...v1.542.1) (2024-02-19)
### Code Refactoring
* **payment:** PAYPAL-3647 updated PaymentInstrumentPayload interface with generic ([#2366](https://github.com/bigcommerce/checkout-sdk-js/issues/2366)) ([a08750f](https://github.com/bigcommerce/checkout-sdk-js/commit/a08750fc96fc14f4c2fa48a3dab7c06ede1012a9))
## [1.542.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.541.0...v1.542.0) (2024-02-19)
### Features
* **payment:** PAYPAL-3453 renaming, added mocks ([e565804](https://github.com/bigcommerce/checkout-sdk-js/commit/e565804cea7993f64fabfc7cbb336a19d72495ad))
## [1.541.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.540.0...v1.541.0) (2024-02-19)
### Features
* **payment:** PI-1369 Move Affirm payment strategy to package [Check… ([#2348](https://github.com/bigcommerce/checkout-sdk-js/issues/2348)) ([a04f260](https://github.com/bigcommerce/checkout-sdk-js/commit/a04f260ca4f92f46dbc05712b3344b931934d920))
## [1.540.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.539.0...v1.540.0) (2024-02-15)
### Features
* **payment:** PAYPAL-3573 updated and renamed paypal commerce axo customer strategy to support Connect and Fastlane ([#2361](https://github.com/bigcommerce/checkout-sdk-js/issues/2361)) ([e94dd05](https://github.com/bigcommerce/checkout-sdk-js/commit/e94dd05c3579750e37973fc5f6221cd2e10cec3f))
### Bug Fixes
* **payment:** PAYPAL-3573 updated PayPal to BC instrument mapper with untrustedShippingCardVerificationMode ([#2362](https://github.com/bigcommerce/checkout-sdk-js/issues/2362)) ([43e16de](https://github.com/bigcommerce/checkout-sdk-js/commit/43e16de6411b79dabdcb3cb53182bc17106b0c39))
## [1.539.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.538.0...v1.539.0) (2024-02-14)
### Features
* **payment:** PI-1355 stored sepa for bluesnap ([36d03c0](https://github.com/bigcommerce/checkout-sdk-js/commit/36d03c0bc2bfcf1da96da31383dc748f300c1caa))
## [1.538.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.537.0...v1.538.0) (2024-02-14)
### Features
* **payment:** PAYPAL-3453 added getInstruments to payment integration selectors ([51ee0d0](https://github.com/bigcommerce/checkout-sdk-js/commit/51ee0d0a8d594ff993b70156bb8f3d57b6ed6afd))
## [1.537.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.536.0...v1.537.0) (2024-02-14)
### Features
* **payment:** PAYPAL-3576 added PayPal Fastlane support for paypal-commerce-sdk in paypal-commerce-utils package ([#2359](https://github.com/bigcommerce/checkout-sdk-js/issues/2359)) ([657469c](https://github.com/bigcommerce/checkout-sdk-js/commit/657469cba668b574e611d5b32fd03abcaac79c58))
## [1.536.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.535.0...v1.536.0) (2024-02-12)
### Features
* **payment:** PI-1604 Moving AmountTransformer to shared package and updating all imports ([#2358](https://github.com/bigcommerce/checkout-sdk-js/issues/2358)) ([6e60128](https://github.com/bigcommerce/checkout-sdk-js/commit/6e6012816afa7b39fa8174a4377bca86f32d3b39))
## [1.535.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.534.0...v1.535.0) (2024-02-12)
### Features
* **payment:** PAYPAL-3405 GooglePay not working 404 (iOS devices) ([#2354](https://github.com/bigcommerce/checkout-sdk-js/issues/2354)) ([bcae4f4](https://github.com/bigcommerce/checkout-sdk-js/commit/bcae4f4657575cbd866b9a6fd60586b0da08eeec))
## [1.534.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.533.0...v1.534.0) (2024-02-08)
### Features
* **payment:** PI-1487 Update 3DS options ([99195a6](https://github.com/bigcommerce/checkout-sdk-js/commit/99195a69a7f8e08d7d0844c867b99a8acb4215bd))
## [1.533.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.532.0...v1.533.0) (2024-02-06)
### Features
* **payment:** PAYPAL-3560 updated PayPalCommerceAcceleratedCheckoutCustomerStrategy to load it with ppcp credit cards method id ([#2351](https://github.com/bigcommerce/checkout-sdk-js/issues/2351)) ([3cc87f3](https://github.com/bigcommerce/checkout-sdk-js/commit/3cc87f32d6faa4e2a99bf13cf8309ca19c355768))
## [1.532.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.531.0...v1.532.0) (2024-02-06)
### Features
* **payment:** PI-1313 stored ecp for bluesnap ([a819c1d](https://github.com/bigcommerce/checkout-sdk-js/commit/a819c1d33b82893746bf726dd7451a2803d823ec))
## [1.531.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.530.0...v1.531.0) (2024-02-01)
### Features
* **payment:** PAYPAL-3439 added restart flow for PPCP ([#2320](https://github.com/bigcommerce/checkout-sdk-js/issues/2320)) ([b0cbe91](https://github.com/bigcommerce/checkout-sdk-js/commit/b0cbe918bfa38412d75e88546818517c04f9a967))
## [1.530.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.529.0...v1.530.0) (2024-01-31)
### Features
* **payment:** PAYPAL-3419 added PayPalCommerceAcceleratedCheckout shipping strategy ([#2339](https://github.com/bigcommerce/checkout-sdk-js/issues/2339)) ([94a7ba8](https://github.com/bigcommerce/checkout-sdk-js/commit/94a7ba8ffa35abe9ab826a834364e1862c1c3e79))
## [1.529.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.528.0...v1.529.0) (2024-01-31)
### Features
* **payment:** PI-517 Move Stripe UPE customer and payment strategy t… ([#2193](https://github.com/bigcommerce/checkout-sdk-js/issues/2193)) ([7440eec](https://github.com/bigcommerce/checkout-sdk-js/commit/7440eec4575049c932e98eb83acf288553de7332))
## [1.528.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.527.0...v1.528.0) (2024-01-30)
### Features
* **payment:** PAYPAL-3497 updated PPCP AXO SDK option data-client-metadata-id with uuidv4 value ([#2344](https://github.com/bigcommerce/checkout-sdk-js/issues/2344)) ([bf04b4f](https://github.com/bigcommerce/checkout-sdk-js/commit/bf04b4fb5ef760350ae6d0ae30a2e1b4fae37609))
## [1.527.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.526.0...v1.527.0) (2024-01-30)
### Features
* **payment:** PAYPAL-3425 updated paypal commerce credit card payment strategy to load paypal connect sdk when its needed ([#2342](https://github.com/bigcommerce/checkout-sdk-js/issues/2342)) ([a5fd129](https://github.com/bigcommerce/checkout-sdk-js/commit/a5fd1291ffed862c07abce0e72c7675a57772722))
## [1.526.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.525.0...v1.526.0) (2024-01-29)
### Features
* **payment:** PI-1368 SquareV2 - fix types for payment submit payload ([b26c114](https://github.com/bigcommerce/checkout-sdk-js/commit/b26c11430dc9a22f3e86ece77781dc181cb60ca4))
* **payment:** PI-1368 SquareV2 - fix types for payment submit payload ([2e8c0cd](https://github.com/bigcommerce/checkout-sdk-js/commit/2e8c0cdbae660d7402b5d9f1b0e7e6fb7e7d968d))
## [1.525.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.524.0...v1.525.0) (2024-01-25)
### Features
* **payment:** PAYPAL-3493 updated PPCP AXO credit card component form background transparent ([#2343](https://github.com/bigcommerce/checkout-sdk-js/issues/2343)) ([daaf080](https://github.com/bigcommerce/checkout-sdk-js/commit/daaf0809eeb938edba49ee1b59b941f68c960958))
## [1.524.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.523.0...v1.524.0) (2024-01-25)
### Features
* **payment:** PAYPAL-3113 Create a class to work with cookies ([#2301](https://github.com/bigcommerce/checkout-sdk-js/issues/2301)) ([6bfd6c8](https://github.com/bigcommerce/checkout-sdk-js/commit/6bfd6c8beb28c461a9b82d3de1e4778b58854446))
## [1.523.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.522.0...v1.523.0) (2024-01-25)
### Features
* **payment:** PAYPAL-3227 PPCP Card Fields implemented ([d38dbf9](https://github.com/bigcommerce/checkout-sdk-js/commit/d38dbf9d6b3424f8b653b743a07c11cb4b94da89))
## [1.522.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.521.2...v1.522.0) (2024-01-24)
### Features
* **payment:** PI-659 added hosted form for storefront account vaulting ([e01c887](https://github.com/bigcommerce/checkout-sdk-js/commit/e01c88734d6de25997ef34402fcceb46988568c0))
* **payment:** PI-659 fixed case consistancy ([20e2496](https://github.com/bigcommerce/checkout-sdk-js/commit/20e249665388a2eb35bd2c5ecac90da31e234ff8))
* **payment:** PI-659 fixed namings and removed duplication of hosted form for stored cards, added submitStoredCard method to hosted-form ([cbaa3dd](https://github.com/bigcommerce/checkout-sdk-js/commit/cbaa3dd601ea57c0b47133747afd63001a0e5155))
* **payment:** PI-659 moved vaulting hosted fields events logic to checkout-sdk ([ce0d4d8](https://github.com/bigcommerce/checkout-sdk-js/commit/ce0d4d887c7c98d99059b6dcdb1a1106a233604d))
* **payment:** PI-659 naming fixes ([04fe8f0](https://github.com/bigcommerce/checkout-sdk-js/commit/04fe8f092d8c6b385fc39dbe52e2f17a00935301))
### [1.521.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.521.1...v1.521.2) (2024-01-24)
### Bug Fixes
* **checkout:** ISSUE-2138 Add zero width space character ([#2252](https://github.com/bigcommerce/checkout-sdk-js/issues/2252)) ([cca71c2](https://github.com/bigcommerce/checkout-sdk-js/commit/cca71c29dbcc681cb480e3d699da773eae8ffb3e))
### [1.521.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.521.0...v1.521.1) (2024-01-24)
## [1.521.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.520.0...v1.521.0) (2024-01-23)
### Features
* **payment:** PAYPAL-3424 added PayPalCommerceConnectTracker for analytics ([#2333](https://github.com/bigcommerce/checkout-sdk-js/issues/2333)) ([9cd4330](https://github.com/bigcommerce/checkout-sdk-js/commit/9cd43302c0631e9837f77eeecf93b54fb4a63929))
## [1.520.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.519.4...v1.520.0) (2024-01-23)
### Features
* **payment:** PI-1309 SquareV2 - 3ds flow for vaulted instruments ([c4dfc66](https://github.com/bigcommerce/checkout-sdk-js/commit/c4dfc66e50387c860195f07495349448107ddefd))
### [1.519.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.519.3...v1.519.4) (2024-01-23)
### Bug Fixes
* **checkout:** DATA-11638 Fix payloads for Segment events ([9684db6](https://github.com/bigcommerce/checkout-sdk-js/commit/9684db6c5bbe34382ee23fe69a5c965d86437c14))
### [1.519.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.519.2...v1.519.3) (2024-01-22)
### Bug Fixes
* **payment:** PAYPAL-3467 updated PPCP AXO implementation with last changes in PP SDK ([#2337](https://github.com/bigcommerce/checkout-sdk-js/issues/2337)) ([9b84ba7](https://github.com/bigcommerce/checkout-sdk-js/commit/9b84ba73c3b91afb54918b07545da1029fef596d))
### [1.519.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.519.1...v1.519.2) (2024-01-22)
### Bug Fixes
* **payment:** PAYPAL-000 cleanup ppcp axo implementation from generic paypal commerce script ([#2334](https://github.com/bigcommerce/checkout-sdk-js/issues/2334)) ([a750dda](https://github.com/bigcommerce/checkout-sdk-js/commit/a750dda1ac90e286e49f7e2fa11e46c47d4d8397))
* **payment:** PAYPAL-3466 fixed the issue with PaymentProviderCustomer compare type ([#2330](https://github.com/bigcommerce/checkout-sdk-js/issues/2330)) ([a08089c](https://github.com/bigcommerce/checkout-sdk-js/commit/a08089c5594e2c37f8045b6ef302dd8d990fd2c1))
### [1.519.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.519.0...v1.519.1) (2024-01-19)
## [1.519.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.518.0...v1.519.0) (2024-01-18)
### Features
* **payment:** PAYPAL-3470 Update paypal-commerce-sdk configuration to use PayLater Messages separately ([#2327](https://github.com/bigcommerce/checkout-sdk-js/issues/2327)) ([a4df4dc](https://github.com/bigcommerce/checkout-sdk-js/commit/a4df4dcc8426705b66b40521f9542e25c2df136c))
## [1.518.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.6...v1.518.0) (2024-01-18)
### Features
* **payment:** PI-429 [Adyen] Improve FE validation for APMs on checkout ([3209cfb](https://github.com/bigcommerce/checkout-sdk-js/commit/3209cfb4d4592454a0aa536ee0da18804d09405c))
### [1.517.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.5...v1.517.6) (2024-01-18)
### [1.517.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.4...v1.517.5) (2024-01-18)
### [1.517.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.3...v1.517.4) (2024-01-17)
### Code Refactoring
* **payment:** PAYPAL-3466 covered paypal connect paymentProviderCustomer checkout state object with type guards ([#2323](https://github.com/bigcommerce/checkout-sdk-js/issues/2323)) ([f0b3f87](https://github.com/bigcommerce/checkout-sdk-js/commit/f0b3f87814c0b491c9459cd90bc30a1dc99599e7))
### [1.517.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.2...v1.517.3) (2024-01-17)
### Bug Fixes
* **payment:** PAYPAL-3424 placed paypal connect to the window object to avoid unnecessary PP AXO initialisation ([#2326](https://github.com/bigcommerce/checkout-sdk-js/issues/2326)) ([949a723](https://github.com/bigcommerce/checkout-sdk-js/commit/949a7233ae298f996cca4c723dd01e40e6adb7a2))
### [1.517.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.1...v1.517.2) (2024-01-17)
### Bug Fixes
* **payment:** PAYPAL-3467 updated PPCP AXO implementation with last changes on PP SDK side ([#2325](https://github.com/bigcommerce/checkout-sdk-js/issues/2325)) ([060712e](https://github.com/bigcommerce/checkout-sdk-js/commit/060712ee33ccf92225227caf6ae41a8e4d2088d3))
### [1.517.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.517.0...v1.517.1) (2024-01-17)
### Bug Fixes
* **payment:** PAYPAL-3466 load paypalcommerce payment method in initialization method of PPCP AXO customer strategy ([#2324](https://github.com/bigcommerce/checkout-sdk-js/issues/2324)) ([2416e93](https://github.com/bigcommerce/checkout-sdk-js/commit/2416e93a5273bca5a4855c5cce16b3c73ab21755))
## [1.517.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.516.0...v1.517.0) (2024-01-16)
### Features
* **payment:** PAYPAL-3390 fixed ratepay loading indicator ([#2303](https://github.com/bigcommerce/checkout-sdk-js/issues/2303)) ([e92d790](https://github.com/bigcommerce/checkout-sdk-js/commit/e92d790f5deff96627471da6f7651614ae3fec5b))
## [1.516.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.515.0...v1.516.0) (2024-01-15)
### Features
* **payment:** PAYPAL-3416 added PayPalCommerceAcceleratedCheckout payment strategy ([#2312](https://github.com/bigcommerce/checkout-sdk-js/issues/2312)) ([66b3258](https://github.com/bigcommerce/checkout-sdk-js/commit/66b3258d10a460735c52565aa0e94c22508f6a87))
## [1.515.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.514.3...v1.515.0) (2024-01-11)
### Features
* **payment:** PAYPAL-3416 updated WithPayPalConnectInstrument interface with an optional order_id ([#2317](https://github.com/bigcommerce/checkout-sdk-js/issues/2317)) ([76bb4ef](https://github.com/bigcommerce/checkout-sdk-js/commit/76bb4ef6cd56253bfd77d80db6b94e8d0c81b2e9))
### [1.514.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.514.2...v1.514.3) (2024-01-11)
### [1.514.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.514.1...v1.514.2) (2024-01-10)
### Bug Fixes
* **payment:** PI-1328 [TD Bank][FE] TD Online Mart fields don't initialize on second and next attempts ([#2315](https://github.com/bigcommerce/checkout-sdk-js/issues/2315)) ([4fa546e](https://github.com/bigcommerce/checkout-sdk-js/commit/4fa546e01c35cd588359c7de9aaaccfe833192bc))
### [1.514.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.514.0...v1.514.1) (2024-01-10)
## [1.514.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.513.0...v1.514.0) (2024-01-10)
### Features
* **payment:** PAYPAL-3300 Added onClick and onInit options to handle validation process with mandatory terms and conditions ([#2304](https://github.com/bigcommerce/checkout-sdk-js/issues/2304)) ([c47674c](https://github.com/bigcommerce/checkout-sdk-js/commit/c47674c32ebc152e2b312a582284a0b787973172))
## [1.513.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.512.0...v1.513.0) (2024-01-10)
### Features
* **payment:** PAYPAL-2800 added style configs to Braintree payment buttons ([9b955c5](https://github.com/bigcommerce/checkout-sdk-js/commit/9b955c5dbe1852596b2b9e64d6c18ee427a30839))
## [1.512.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.511.0...v1.512.0) (2024-01-10)
### Features
* **payment:** PAYPAL-3409 added PayPalCommerceAcceleratedCheckout customer strategy ([#2306](https://github.com/bigcommerce/checkout-sdk-js/issues/2306)) ([53377c5](https://github.com/bigcommerce/checkout-sdk-js/commit/53377c556c5e53dfc88c7d57bdcdc0110c6e74b4))
## [1.511.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.510.0...v1.511.0) (2024-01-09)
### Features
* **payment:** PAYPAL-3409 updated PaymentProviderCustomer with PPCP AXO related interface ([#2308](https://github.com/bigcommerce/checkout-sdk-js/issues/2308)) ([0145080](https://github.com/bigcommerce/checkout-sdk-js/commit/0145080071c38db69b8d1dcdbc1958f1b377667e))
## [1.510.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.509.0...v1.510.0) (2024-01-09)
### Features
* **payment:** PI-851 bluesnap direct APMs refactoring ([cfdaf66](https://github.com/bigcommerce/checkout-sdk-js/commit/cfdaf663a3c70d4a2f2129c44e14d8d4f3ee74c5))
* **payment:** PI-851 blusnap direct ideal strategy creation ([f0feb99](https://github.com/bigcommerce/checkout-sdk-js/commit/f0feb99f7e5ebb2b260bbf2c726597612652353d))
* **payment:** PI-851 blusnap direct package directories reorganisation and creation of the Ideal generic instrument type ([6292ca2](https://github.com/bigcommerce/checkout-sdk-js/commit/6292ca2b20a964a6812efa56f8dee7eb777e7ce5))
## [1.509.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.508.0...v1.509.0) (2024-01-09)
### Features
* **payment:** PAYPAL-3443 added PayPal Commerce Accelerated Checkout utils class to PPCP shared package ([#2313](https://github.com/bigcommerce/checkout-sdk-js/issues/2313)) ([766ab3e](https://github.com/bigcommerce/checkout-sdk-js/commit/766ab3e27fc9138e1e16270a40f2d78d0dfac188))
## [1.508.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.507.0...v1.508.0) (2024-01-09)
### Features
* **payment:** PAYPAL-3418 created paypal-commerce-utils package ([#2309](https://github.com/bigcommerce/checkout-sdk-js/issues/2309)) ([7714936](https://github.com/bigcommerce/checkout-sdk-js/commit/7714936885c22249a8eafa1553dbb68da9426c4f))
## [1.507.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.506.0...v1.507.0) (2024-01-08)
### Features
* **payment:** PI-1318 TDBank add browser info ([4b8f3f0](https://github.com/bigcommerce/checkout-sdk-js/commit/4b8f3f0fe309db5ecf719c955d5036a13f168449))
## [1.506.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.505.2...v1.506.0) (2024-01-04)
### Features
* **payment:** PI-1144 [TD Bank][FE] Add payment strategy for credit … ([#2296](https://github.com/bigcommerce/checkout-sdk-js/issues/2296)) ([b674734](https://github.com/bigcommerce/checkout-sdk-js/commit/b67473414e803835f597f59852dcc70c6ad54ead))
* **payment:** PI-1318 TDBank add browser info ([2c19eb8](https://github.com/bigcommerce/checkout-sdk-js/commit/2c19eb8406b8705fbf514eee543b7054754d98c4))
### [1.505.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.505.1...v1.505.2) (2024-01-03)
### Bug Fixes
* **payment:** PAYPAL-000 fixed eslint warnings in paypal-commerce-integration package ([#2300](https://github.com/bigcommerce/checkout-sdk-js/issues/2300)) ([cc366ad](https://github.com/bigcommerce/checkout-sdk-js/commit/cc366ad29fc25512ee931cecfbff6621e2b60834))
### [1.505.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.505.0...v1.505.1) (2024-01-03)
### Bug Fixes
* **payment:** CHECKOUT-7901 added a condition to load PPCP payment methods only if they are not exist in the state ([#2282](https://github.com/bigcommerce/checkout-sdk-js/issues/2282)) ([aeb3722](https://github.com/bigcommerce/checkout-sdk-js/commit/aeb3722191f824a487f3ef582cca9d475a43b5ca))
## [1.505.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.504.1...v1.505.0) (2024-01-03)
### Features
* **payment:** PAYPAL-3408 updated paypal commerce sdk configuration with PayPal Connect component ([#2299](https://github.com/bigcommerce/checkout-sdk-js/issues/2299)) ([fdd0734](https://github.com/bigcommerce/checkout-sdk-js/commit/fdd0734ad52e5862b232125d8abb18a0caea45d9))
### [1.504.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.504.0...v1.504.1) (2024-01-03)
## [1.504.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.503.0...v1.504.0) (2023-12-28)
### Features
* **payment:** PI-1126 TD bank 3DS flow ([c9b6319](https://github.com/bigcommerce/checkout-sdk-js/commit/c9b631952f536dbefc43a6dd26369b3c14f48172))
## [1.503.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.502.0...v1.503.0) (2023-12-21)
### Features
* **payment:** PAYPAL-2617 Create BraintreePayPalCredit payment strategy in braintree-integration package ([#2289](https://github.com/bigcommerce/checkout-sdk-js/issues/2289)) ([7145507](https://github.com/bigcommerce/checkout-sdk-js/commit/71455077055194fb3ff4b8173bd30088067c0eff))
## [1.502.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.501.1...v1.502.0) (2023-12-21)
### Features
* **payment:** PI-1076 add 3ds support for storing cards in square v2 ([f712201](https://github.com/bigcommerce/checkout-sdk-js/commit/f712201caf20dc1f2c15384331cd6cd46d033cde))
### [1.501.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.501.0...v1.501.1) (2023-12-20)
## [1.501.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.500.0...v1.501.0) (2023-12-20)
### Features
* **payment:** PAYPAL-3382 covered braintree connect analytic with experiment ([#2292](https://github.com/bigcommerce/checkout-sdk-js/issues/2292)) ([0d7f447](https://github.com/bigcommerce/checkout-sdk-js/commit/0d7f4473137b79e3ce7a7d99044bd7ffe71903ee))
* **payment:** PI-1021 [TD Bank][FE] Vaulted instruments implementation on Checkout ([#2290](https://github.com/bigcommerce/checkout-sdk-js/issues/2290)) ([9c5430d](https://github.com/bigcommerce/checkout-sdk-js/commit/9c5430d63c632fd672510b6b140f53bd02d9c663))
## [1.500.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.499.3...v1.500.0) (2023-12-18)
### Features
* **payment:** PI-1076 add 3ds support for storing cards in square v2 ([0585261](https://github.com/bigcommerce/checkout-sdk-js/commit/058526126729854ca3fc9f3d0bb8f5046aee6cb3))
### [1.499.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.499.2...v1.499.3) (2023-12-18)
### Bug Fixes
* **payment:** PAYPAL-3660 updated Braintree AXO events trigger order ([#2291](https://github.com/bigcommerce/checkout-sdk-js/issues/2291)) ([adce33c](https://github.com/bigcommerce/checkout-sdk-js/commit/adce33c119b7b8e736020239916b4b0058dccfd5))
### [1.499.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.499.1...v1.499.2) (2023-12-14)
### Bug Fixes
* **payment:** PAYPAL-3360 fixed a mistake in codeowners file due BT analytics ([#2288](https://github.com/bigcommerce/checkout-sdk-js/issues/2288)) ([ee887e8](https://github.com/bigcommerce/checkout-sdk-js/commit/ee887e8df0a94c866b5edbb77a71f298d1518263))
* **payment:** PAYPAL-3360 fixed the issue with braintree axo customer step initialisation and fixed data for BT AXO Analytics ([#2285](https://github.com/bigcommerce/checkout-sdk-js/issues/2285)) ([286bac5](https://github.com/bigcommerce/checkout-sdk-js/commit/286bac55b5975b13b14098ee18723a5fd630f7da))
* **payment:** PAYPAL-3367 removed onCancel error throw for PP AMP payment strategy ([#2286](https://github.com/bigcommerce/checkout-sdk-js/issues/2286)) ([8772484](https://github.com/bigcommerce/checkout-sdk-js/commit/8772484f44198115af1860a7cda5d30561e18bc3))
### [1.499.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.499.0...v1.499.1) (2023-12-14)
### Bug Fixes
* **payment:** PAYPAL-3124 PPCP loading indicator keeps after submit ([653e2db](https://github.com/bigcommerce/checkout-sdk-js/commit/653e2dbdc5e066e8da1bf9aecafd53da114ace15))
## [1.499.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.498.0...v1.499.0) (2023-12-14)
### Features
* **payment:** PAYPAL-2612 Move BraintreePayPalCredit customer strategy to braintree-integration package ([#2279](https://github.com/bigcommerce/checkout-sdk-js/issues/2279)) ([c46c1e9](https://github.com/bigcommerce/checkout-sdk-js/commit/c46c1e920751c9b9f3089081bf5f408919297b35))
## [1.498.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.497.0...v1.498.0) (2023-12-13)
### Features
* **payment:** PI-1142 [TD Bank- Ph. 1a][FE] Add payment strategy for… ([#2267](https://github.com/bigcommerce/checkout-sdk-js/issues/2267)) ([99e7d6d](https://github.com/bigcommerce/checkout-sdk-js/commit/99e7d6d902c538f139cd46dd55254beecfb8683e))
## [1.497.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.496.1...v1.497.0) (2023-12-12)
### Features
* **payment:** PI-1148 Hide card holder name from hosted fields form ([4bc6cbd](https://github.com/bigcommerce/checkout-sdk-js/commit/4bc6cbd5fa5b4e26c7b963e3e5a204cb2304c7b9))
### [1.496.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.496.0...v1.496.1) (2023-12-12)
### Bug Fixes
* **payment:** PAYPAL-2936 updated PayPal Commerce shipping callbacks with onShippingChanged ([#2255](https://github.com/bigcommerce/checkout-sdk-js/issues/2255)) ([e6c4640](https://github.com/bigcommerce/checkout-sdk-js/commit/e6c46409f402dfd20dbca62605b2d43a8aa6d47f))
## [1.496.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.495.0...v1.496.0) (2023-12-12)
### Features
* **payment:** PAYPAL-2616 moved braintree-paypal-payment-strategy to braintree-integration package ([#2257](https://github.com/bigcommerce/checkout-sdk-js/issues/2257)) ([079a971](https://github.com/bigcommerce/checkout-sdk-js/commit/079a971bdf46af406988413721271b45e4f6fdfa))
## [1.495.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.494.0...v1.495.0) (2023-12-11)
### Features
* **payment:** PI-853 BluesnapDirect added Sepa fieldset ([99feb87](https://github.com/bigcommerce/checkout-sdk-js/commit/99feb87a358c425cb604a8f684a20ef7c946af13))
## [1.494.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.493.0...v1.494.0) (2023-12-11)
### Features
* **payment:** PAYPAL-3280 added inputDateFormat for date input ([6cc6ebb](https://github.com/bigcommerce/checkout-sdk-js/commit/6cc6ebb4ce161d235997f19f2a67ff4221ffc32f))
## [1.493.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.492.0...v1.493.0) (2023-12-11)
### Features
* **payment:** PAYPAL-3337 PPCP GooglePay setGatewayIdentifier added ([a18f34e](https://github.com/bigcommerce/checkout-sdk-js/commit/a18f34e37e429740ee61bdf1a32e3c8172326660))
## [1.492.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.491.0...v1.492.0) (2023-12-11)
### Features
* **payment:** PAYPAL-3281 fixed phone country code field ([#2274](https://github.com/bigcommerce/checkout-sdk-js/issues/2274)) ([f1ce652](https://github.com/bigcommerce/checkout-sdk-js/commit/f1ce65217aa38ac715963108f07fbf3eddca021b))
## [1.491.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.490.0...v1.491.0) (2023-12-08)
### Features
* **payment:** PAYPAL-3229 added BraintreeConnectTracker (analytic) ([#2276](https://github.com/bigcommerce/checkout-sdk-js/issues/2276)) ([13a87dd](https://github.com/bigcommerce/checkout-sdk-js/commit/13a87dd981f88bc71e80d894ececf3b48473b3cc))
## [1.490.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.489.0...v1.490.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added checkoutPaymentMethodExecuted callback call to BraintreeAcceleratedCheckoutCustomerStrategy ([#2273](https://github.com/bigcommerce/checkout-sdk-js/issues/2273)) ([1e9684a](https://github.com/bigcommerce/checkout-sdk-js/commit/1e9684a9db8ae7c7ee097423e1fefa7449b9ab6f))
## [1.489.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.488.0...v1.489.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added onClick callback to AmazonPay customer strategy ([#2271](https://github.com/bigcommerce/checkout-sdk-js/issues/2271)) ([2a4e0ec](https://github.com/bigcommerce/checkout-sdk-js/commit/2a4e0ec52b76cba5b5b4c0680778cfd8fff82164))
## [1.488.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.487.0...v1.488.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added onClick callback to ApplePayCustomerStrategy ([#2268](https://github.com/bigcommerce/checkout-sdk-js/issues/2268)) ([e913796](https://github.com/bigcommerce/checkout-sdk-js/commit/e9137962ecc29abd492153f0a5ce9e17724529d3))
## [1.487.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.486.0...v1.487.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added onClick callback for GooglePay customer strategies ([#2269](https://github.com/bigcommerce/checkout-sdk-js/issues/2269)) ([a1781de](https://github.com/bigcommerce/checkout-sdk-js/commit/a1781de0e70c0a65b85a9f5794df6fd1d88c8a78))
## [1.486.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.485.0...v1.486.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added onClick callback for all Braintree customer strategies ([#2270](https://github.com/bigcommerce/checkout-sdk-js/issues/2270)) ([f4f41f6](https://github.com/bigcommerce/checkout-sdk-js/commit/f4f41f6bb3076f2b7844fbccb84d662ec4a15b49))
## [1.485.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.484.0...v1.485.0) (2023-12-07)
### Features
* **payment:** PAYPAL-3229 added onClick callback for each PayPalCommerce customer strategy ([#2272](https://github.com/bigcommerce/checkout-sdk-js/issues/2272)) ([72db9a4](https://github.com/bigcommerce/checkout-sdk-js/commit/72db9a4c92f99a2e367aba0434160220286ace0c))
## [1.484.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.483.0...v1.484.0) (2023-11-30)
### Features
* **payment:** CHECKOUT-7901 Add method to load button payment method config in parallel ([#2258](https://github.com/bigcommerce/checkout-sdk-js/issues/2258)) ([cbb328a](https://github.com/bigcommerce/checkout-sdk-js/commit/cbb328a2fa3a3f259b3ed42441aa5df1e0d1bc0b))
## [1.483.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.482.0...v1.483.0) (2023-11-09)
### Features
* **payment:** PI-921 Amazon Pay Button needs to be changed to one with WITHOUT microtext ([#2225](https://github.com/bigcommerce/checkout-sdk-js/issues/2225)) ([3520e88](https://github.com/bigcommerce/checkout-sdk-js/commit/3520e887f84addeb5f048f5a467f77562b543297))
## [1.482.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.481.0...v1.482.0) (2023-11-09)
### Features
* **payment:** PAYPAL-3175 PPCP GooglePay 3DSecure ([cb1eb6a](https://github.com/bigcommerce/checkout-sdk-js/commit/cb1eb6a1ae3c261e8a54a1c9a298b104e6797d70))
## [1.481.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.480.0...v1.481.0) (2023-11-09)
### Features
* **payment:** PI-1004 Create a new package for TD Bank integration ([0e140df](https://github.com/bigcommerce/checkout-sdk-js/commit/0e140df704c22086162977bf016ab6ead78a6e71))
## [1.480.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.479.3...v1.480.0) (2023-11-08)
### Features
* **payment:** PAYPAL-2953 google-pay-paypal-commerce button implementation ([#2244](https://github.com/bigcommerce/checkout-sdk-js/issues/2244)) ([6316a83](https://github.com/bigcommerce/checkout-sdk-js/commit/6316a83b430afb8a949c18b853ee99bb506dca6b))
### [1.479.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.479.2...v1.479.3) (2023-11-07)
### Bug Fixes
* **common:** CHECKOUT-000 upgrade @braintree/browser-detection from 1.14.0 to 1.16.0 ([#2047](https://github.com/bigcommerce/checkout-sdk-js/issues/2047)) ([e60625c](https://github.com/bigcommerce/checkout-sdk-js/commit/e60625cdc644ef9dac677950ff868181ef13c3e6))
* **common:** CHECKOUT-000 upgrade core-js from 3.25.2 to 3.31.0 ([#2046](https://github.com/bigcommerce/checkout-sdk-js/issues/2046)) ([36d6b3d](https://github.com/bigcommerce/checkout-sdk-js/commit/36d6b3d6021620ecf462779dfeb5c6a78403500d))
* **common:** CHECKOUT-000 upgrade reselect from 4.1.7 to 4.1.8 ([#2048](https://github.com/bigcommerce/checkout-sdk-js/issues/2048)) ([ae07833](https://github.com/bigcommerce/checkout-sdk-js/commit/ae078335f9e8f90856f1069bea3aa76100f6e9b6))
### [1.479.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.479.1...v1.479.2) (2023-11-07)
### Bug Fixes
* **payment:** PAYPAL-3190 updated implementation to avoid trigger OTP if the shopper canceled PayPal Connect OTP window ([#2245](https://github.com/bigcommerce/checkout-sdk-js/issues/2245)) ([4eb5eb3](https://github.com/bigcommerce/checkout-sdk-js/commit/4eb5eb3f80f6454489898bb5067e5d964a5ec57a))
### [1.479.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.479.0...v1.479.1) (2023-11-06)
### Code Refactoring
* **payment:** PAYPAL-3164 updated paypal sdk script loading in a new way ([#2243](https://github.com/bigcommerce/checkout-sdk-js/issues/2243)) ([273b209](https://github.com/bigcommerce/checkout-sdk-js/commit/273b2093643ceab3b48ca15a5078ce0e46830cd3))
## [1.479.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.478.1...v1.479.0) (2023-11-02)
### Features
* **payment:** PI-846 Quickly selecting different payment methods on Payment step of Checkout sometimes results in error ([#2241](https://github.com/bigcommerce/checkout-sdk-js/issues/2241)) ([797a91b](https://github.com/bigcommerce/checkout-sdk-js/commit/797a91b1a4aaa2160565691fa31d8d9df19c12ec))
### [1.478.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.478.0...v1.478.1) (2023-11-01)
### Bug Fixes
* **payment:** PI-924 Add additional message while waiting confirmation from Stripe ([fd9be99](https://github.com/bigcommerce/checkout-sdk-js/commit/fd9be99af19079a0ff72ec2f270367e36e9a700b))
## [1.478.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.477.0...v1.478.0) (2023-10-30)
### Features
* **payment:** PAYPAL-3156 updated payment payload to be able to vault instrument for PayPalCommerce Credit Card ([#2240](https://github.com/bigcommerce/checkout-sdk-js/issues/2240)) ([f36720a](https://github.com/bigcommerce/checkout-sdk-js/commit/f36720ac525844c20667e51632700d319c016233))
## [1.477.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.476.0...v1.477.0) (2023-10-30)
### Features
* **payment:** PAYPAL-2877 Add deviceSessionId to submitPayment ([#2234](https://github.com/bigcommerce/checkout-sdk-js/issues/2234)) ([b34c920](https://github.com/bigcommerce/checkout-sdk-js/commit/b34c9200d85772acfa0ff6f5099db709f491ad5f))
* **payment:** PAYPAL-3133 inline ([5e4776e](https://github.com/bigcommerce/checkout-sdk-js/commit/5e4776ece9eb55f5ba0100ce798a26584cd09478))
## [1.476.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.475.0...v1.476.0) (2023-10-30)
### Features
* **payment:** PAYPAL-3146 stop polling mechanism when corresponding status recieved ([#2239](https://github.com/bigcommerce/checkout-sdk-js/issues/2239)) ([0b7ca82](https://github.com/bigcommerce/checkout-sdk-js/commit/0b7ca82293d5afa9ab10248ad907e799d34369b0))
## [1.475.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.474.0...v1.475.0) (2023-10-25)
### Features
* **payment:** PI-976 Stripe UPE payment payload refactoring ([41e7ed2](https://github.com/bigcommerce/checkout-sdk-js/commit/41e7ed25cf90e05b4c700363d4eb4bb4a75a88f5))
## [1.474.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.473.0...v1.474.0) (2023-10-24)
### Features
* **payment:** PAYPAL-0 hotfix ratepay date of birth field data ([#2235](https://github.com/bigcommerce/checkout-sdk-js/issues/2235)) ([6fec055](https://github.com/bigcommerce/checkout-sdk-js/commit/6fec05551c8a7b7520a3c8dfaa5321cd90b7fcbf))
## [1.473.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.472.0...v1.473.0) (2023-10-24)
### Features
* **payment:** PI-633 add vaulted instrument data to square v2 payment strategy ([20f44d5](https://github.com/bigcommerce/checkout-sdk-js/commit/20f44d5befdfa62c82fd26668486cc44bbbb3ca1))
## [1.472.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.471.1...v1.472.0) (2023-10-23)
### Features
* **payment:** PAYPAL-3080 Google Pay Braintree Button Strategy ([#2223](https://github.com/bigcommerce/checkout-sdk-js/issues/2223)) ([0a2a7f1](https://github.com/bigcommerce/checkout-sdk-js/commit/0a2a7f119da2a244d0d8f24d66f6675c0cf1ab5c))
### [1.471.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.471.0...v1.471.1) (2023-10-20)
## [1.471.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.470.1...v1.471.0) (2023-10-18)
### Features
* **payment:** PAYPAL-2930 PPCP GooglePay payment strategy ([8341aa1](https://github.com/bigcommerce/checkout-sdk-js/commit/8341aa1fda4c3be5a407be4827e0df9158d4760f))
### [1.470.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.470.0...v1.470.1) (2023-10-18)
### Bug Fixes
* **payment:** PAYPAL-3090 updated all paypal buttons on checkout page to have the same default button height ([#2226](https://github.com/bigcommerce/checkout-sdk-js/issues/2226)) ([e9c87bf](https://github.com/bigcommerce/checkout-sdk-js/commit/e9c87bf363a042b4d57ec47d788a20c17265ee29))
## [1.470.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.469.0...v1.470.0) (2023-10-18)
### Features
* **payment:** PAYPAL-3056 GP Braintree customer strategy ([5b56000](https://github.com/bigcommerce/checkout-sdk-js/commit/5b56000352d52c8a463ece8edb8c86fc2d836e79))
## [1.469.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.468.0...v1.469.0) (2023-10-16)
### Features
* **payment:** PAYPAL-00 moved ratepay strategy to separate directory ([#2215](https://github.com/bigcommerce/checkout-sdk-js/issues/2215)) ([01bf98e](https://github.com/bigcommerce/checkout-sdk-js/commit/01bf98e7aaf28d60928d5c7f3fc4b2716b8173a0))
## [1.468.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.467.0...v1.468.0) (2023-10-16)
### Features
* **payment:** PAYPAL-3099 updated BraintreeAcceleratedCheckout customer strategy to reduce customers waiting time ([#2219](https://github.com/bigcommerce/checkout-sdk-js/issues/2219)) ([7e1db5c](https://github.com/bigcommerce/checkout-sdk-js/commit/7e1db5c40db74485a005bb80d62b75521d62c0a8))
## [1.467.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.466.0...v1.467.0) (2023-10-15)
### Features
* **extension:** CHECKOUT-7733 Enhance Extension Auto-Resizing ([#2187](https://github.com/bigcommerce/checkout-sdk-js/issues/2187)) ([7637cac](https://github.com/bigcommerce/checkout-sdk-js/commit/7637cac56945f6cf2bf7fad7639e786e46a9c430))
## [1.466.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.465.1...v1.466.0) (2023-10-12)
### Features
* **payment:** PAYPAL-2507 polling mechanism removed from PPCP APM ([951f4bf](https://github.com/bigcommerce/checkout-sdk-js/commit/951f4bfaa17ab18487954c8527cddd4f36f16d65))
### [1.465.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.465.0...v1.465.1) (2023-10-12)
### Bug Fixes
* **payment:** PAYPAL-2986 trigger 3DS for Braintree when the HostedForm feature turned off ([#2217](https://github.com/bigcommerce/checkout-sdk-js/issues/2217)) ([80f10af](https://github.com/bigcommerce/checkout-sdk-js/commit/80f10af996a9982d9231ca549b2b159f98bae406))
## [1.465.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.464.1...v1.465.0) (2023-10-12)
### Features
* **payment:** PAYPAL-3098 added sessionId to local storage even for unrecognised guest users for Gary flow Braintree AXO ([#2216](https://github.com/bigcommerce/checkout-sdk-js/issues/2216)) ([958156f](https://github.com/bigcommerce/checkout-sdk-js/commit/958156f9a3a2d2221c773f99371e788e4e957c91))
### [1.464.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.464.0...v1.464.1) (2023-10-11)
## [1.464.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.463.0...v1.464.0) (2023-10-10)
### Features
* **payment:** PI-889 Add cart ID to stripe upe payment submit ([8fda6a5](https://github.com/bigcommerce/checkout-sdk-js/commit/8fda6a52ee48502912b573cb3b188d3fe684f827))
## [1.463.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.462.0...v1.463.0) (2023-10-09)
### Features
* **payment:** PAYPAL-2910 Move googlepay-braintree from core to google-pay-integration package ([#2167](https://github.com/bigcommerce/checkout-sdk-js/issues/2167)) ([9b2e779](https://github.com/bigcommerce/checkout-sdk-js/commit/9b2e77937418912e545909e76ca3543e02da1017))
## [1.462.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.461.1...v1.462.0) (2023-10-09)
### Features
* **payment:** PAYPAL-2946 added loading spinner to ratepay strategy ([#2200](https://github.com/bigcommerce/checkout-sdk-js/issues/2200)) ([5425418](https://github.com/bigcommerce/checkout-sdk-js/commit/5425418e25bbe4eaa9d6deaa6ef9044f8671e8df))
### [1.461.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.461.0...v1.461.1) (2023-10-05)
### Bug Fixes
* **payment:** PI-758 check if Stripe container exists before mount ([607261e](https://github.com/bigcommerce/checkout-sdk-js/commit/607261e65b0c9bcade88cb2f38771ad75162c6f6))
## [1.461.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.460.0...v1.461.0) (2023-10-04)
### Features
* **payment:** PAYPAL-2845 captured device info ([#2196](https://github.com/bigcommerce/checkout-sdk-js/issues/2196)) ([f33e0a0](https://github.com/bigcommerce/checkout-sdk-js/commit/f33e0a055332e1a4b9e6f22a310d3bbc1948e26d))
## [1.460.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.459.0...v1.460.0) (2023-10-03)
### Features
* **payment:** PAYPAL-2984 added an ability to change BT AXO component styling through strategy initialisation options ([#2206](https://github.com/bigcommerce/checkout-sdk-js/issues/2206)) ([07ee89b](https://github.com/bigcommerce/checkout-sdk-js/commit/07ee89bdc89ce2c4bb540d0e305db9c5c8bf933d))
## [1.459.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.458.0...v1.459.0) (2023-10-03)
### Features
* **checkout:** PI-741 updated adyen component state for the Boleto implementation ([f1642d4](https://github.com/bigcommerce/checkout-sdk-js/commit/f1642d4fe8ff551ac9b9cd3e34fde7eb41f75f69))
* **payment:** PAYPAL-2987 checkout page crashing fixed ([d4aa116](https://github.com/bigcommerce/checkout-sdk-js/commit/d4aa1168bdda03b2727f7cd3677bdd9e7b9f71d4))
## [1.458.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.457.0...v1.458.0) (2023-10-03)
### Features
* **payment:** PAYPAL-2844 captured device info ([#2186](https://github.com/bigcommerce/checkout-sdk-js/issues/2186)) ([3607300](https://github.com/bigcommerce/checkout-sdk-js/commit/360730012c65df79d93224da763ceb00860f5430))
## [1.457.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.456.0...v1.457.0) (2023-09-28)
### Features
* **payment:** PAYPAL-2926 Unable to place order via GooglePay with 3D secure ([#2203](https://github.com/bigcommerce/checkout-sdk-js/issues/2203)) ([7e2983f](https://github.com/bigcommerce/checkout-sdk-js/commit/7e2983fd52302ccf29996133c5bfd49630cf863e))
## [1.456.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.455.1...v1.456.0) (2023-09-28)
### Features
* **payment:** PI-569 [Adyen] Klarna widget update - Klarna works through redirect again ([#2199](https://github.com/bigcommerce/checkout-sdk-js/issues/2199)) ([cd514f3](https://github.com/bigcommerce/checkout-sdk-js/commit/cd514f37539dbfd0dd8e80556f8bab152783a849))
### [1.455.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.455.0...v1.455.1) (2023-09-28)
### Bug Fixes
* **payment:** PAYPAL-3061 prefill full phone number in BT AXO instead of slicing country code num ([#2204](https://github.com/bigcommerce/checkout-sdk-js/issues/2204)) ([a0fea14](https://github.com/bigcommerce/checkout-sdk-js/commit/a0fea14cbed0ac6d64991862af80879831f8b013))
## [1.455.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.454.0...v1.455.0) (2023-09-28)
### Features
* **checkout:** CHECKOUT-7141 Preparation for Jest v27 Upgrade ([#2180](https://github.com/bigcommerce/checkout-sdk-js/issues/2180)) ([3c40df3](https://github.com/bigcommerce/checkout-sdk-js/commit/3c40df398be05ea7b7b8a03ec174c984b385ef70))
## [1.454.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.453.0...v1.454.0) (2023-09-25)
### Features
* **payment:** PI-567 Amazon Pay Button needs to be changed to one with microtext ([8be47c9](https://github.com/bigcommerce/checkout-sdk-js/commit/8be47c915a3899aa2eacf961be696e750032cbcb))
## [1.453.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.452.0...v1.453.0) (2023-09-25)
### Features
* **payment:** PAYPAL-2576 added specific button styles for each PayPal buttons ([299ce3a](https://github.com/bigcommerce/checkout-sdk-js/commit/299ce3acc9513508f976184a93ccbdf72695e1e5))
## [1.452.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.451.0...v1.452.0) (2023-09-22)
### Features
* **payment:** PAYPAL-2947 added fields to mandate interface ([#2192](https://github.com/bigcommerce/checkout-sdk-js/issues/2192)) ([c1b24c9](https://github.com/bigcommerce/checkout-sdk-js/commit/c1b24c9f1dff3e113518e6b609be8892e50ef895))
## [1.451.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.5...v1.451.0) (2023-09-21)
### Features
* **payment:** PAYPAL-2979 added phone number mapping from BT AXO profileData to autofill BC shipping and billing phone number fields ([#2188](https://github.com/bigcommerce/checkout-sdk-js/issues/2188)) ([62df5e7](https://github.com/bigcommerce/checkout-sdk-js/commit/62df5e7a63c7ee752d08f0149065696c1bf9a68f))
### [1.450.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.4...v1.450.5) (2023-09-20)
### Bug Fixes
* **payment:** PAYPAL-2928 fixed the issue with braintree buttons rendering on PDP page ([#2185](https://github.com/bigcommerce/checkout-sdk-js/issues/2185)) ([e2ea829](https://github.com/bigcommerce/checkout-sdk-js/commit/e2ea829e41d057ed6e84389d8b04dbe10c06ba58))
### [1.450.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.3...v1.450.4) (2023-09-19)
### [1.450.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.2...v1.450.3) (2023-09-19)
### Bug Fixes
* **payment:** PAYPAL-1752 added validation for braintree credit card form ([#2182](https://github.com/bigcommerce/checkout-sdk-js/issues/2182)) ([7cf06d8](https://github.com/bigcommerce/checkout-sdk-js/commit/7cf06d84985806b2c51d8018bcfb6a61755df4f1))
### [1.450.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.1...v1.450.2) (2023-09-19)
### [1.450.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.450.0...v1.450.1) (2023-09-19)
### Bug Fixes
* **payment:** PAYPAL-2843 captured device info for Braintree Apple Pay ([#2165](https://github.com/bigcommerce/checkout-sdk-js/issues/2165)) ([da32bcd](https://github.com/bigcommerce/checkout-sdk-js/commit/da32bcdcbfef0b14ae36182e8a73088cb60e0760))
## [1.450.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.449.0...v1.450.0) (2023-09-18)
### Features
* **payment:** PAYPAL-2932 add PayPal billing addresses ([909270a](https://github.com/bigcommerce/checkout-sdk-js/commit/909270aeda56fc0e062035c1f3c8f4b9fd696af7))
## [1.449.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.448.0...v1.449.0) (2023-09-13)
### Features
* **payment:** PI-734 fix error message for empty card data in Mollie ([#4](https://github.com/bigcommerce/checkout-sdk-js/issues/4)) ([#2169](https://github.com/bigcommerce/checkout-sdk-js/issues/2169)) ([d179aba](https://github.com/bigcommerce/checkout-sdk-js/commit/d179aba8afa3f49ca584544a95d08335b9e6af0d))
## [1.448.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.447.0...v1.448.0) (2023-09-13)
### Features
* **payment:** PI-804 Make an ability to use deleteConsignment action from core package in integration checkout-sdk packages ([#2174](https://github.com/bigcommerce/checkout-sdk-js/issues/2174)) ([b260d2d](https://github.com/bigcommerce/checkout-sdk-js/commit/b260d2dffb9b7e4f6f82ad9497dd0876c935a215))
## [1.447.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.446.0...v1.447.0) (2023-09-13)
### Features
* **payment:** PAYPAL-2632 added polling mechanism for ratepay ([#2142](https://github.com/bigcommerce/checkout-sdk-js/issues/2142)) ([4f17790](https://github.com/bigcommerce/checkout-sdk-js/commit/4f17790ca155ceacd222b1bd3dc432fcf6796db6))
## [1.446.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.445.0...v1.446.0) (2023-09-12)
### Features
* **checkout:** PI-623 BluesnapDirect APMs via redirect ([bb2248f](https://github.com/bigcommerce/checkout-sdk-js/commit/bb2248fc9a98a25024f9aed5da3bef9d265b6074))
## [1.445.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.444.0...v1.445.0) (2023-09-12)
### Features
* **payment:** PAYPAL-2932 add PayPal billing addresses ([0c4a7c8](https://github.com/bigcommerce/checkout-sdk-js/commit/0c4a7c88a69a4ae8b34abacb1a9840d7d7f6340d))
## [1.444.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.443.0...v1.444.0) (2023-09-11)
### Features
* **payment:** PI-516 Move Stripe V3 to package ([#2089](https://github.com/bigcommerce/checkout-sdk-js/issues/2089)) ([f28e3dc](https://github.com/bigcommerce/checkout-sdk-js/commit/f28e3dca39d61db21adb7ca92ecfcca9379661a7))
## [1.443.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.442.0...v1.443.0) (2023-09-06)
### Features
* **payment:** PI-626 [Stripe] An additional call to confirm payment with Stripe is resulting in error. ([4f9075a](https://github.com/bigcommerce/checkout-sdk-js/commit/4f9075a73aa288500678e56d1859e8c6acc26e19))
## [1.442.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.441.4...v1.442.0) (2023-09-06)
### Features
* **payment:** PAYPAL-2728 create shipping strategy for Braintree AXO ([3dafa27](https://github.com/bigcommerce/checkout-sdk-js/commit/3dafa2738a58740c1a7e1922276a9493923326c3))
### [1.441.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.441.3...v1.441.4) (2023-09-06)
### Code Refactoring
* **payment:** PAYPAL-2923 covered Braintree AXO sandbox switcher with test mode condition ([#2168](https://github.com/bigcommerce/checkout-sdk-js/issues/2168)) ([bfafc5c](https://github.com/bigcommerce/checkout-sdk-js/commit/bfafc5cb0130d3451c713080960444839875c110))
### [1.441.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.441.2...v1.441.3) (2023-09-05)
### Bug Fixes
* **payment:** PAYPAL-2908 removed unnecessary 2770 experiment because we dont need it here anymore (Braintree SDK) ([#2166](https://github.com/bigcommerce/checkout-sdk-js/issues/2166)) ([f002415](https://github.com/bigcommerce/checkout-sdk-js/commit/f002415e00b60393c8a80acbf1a4e31d02984a84))
### [1.441.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.441.1...v1.441.2) (2023-09-04)
### Bug Fixes
* **checkout:** PI-747 bluesnap 3ds for stored card, billing/shipping state mapping ([f008550](https://github.com/bigcommerce/checkout-sdk-js/commit/f008550aba21a8a822c418bf82e20781d7db31f3))
### [1.441.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.441.0...v1.441.1) (2023-09-04)
## [1.441.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.440.0...v1.441.0) (2023-09-04)
### Features
* **payment:** PAYPAL-2913 provided customer device data on any place order for BT AXO ([#2159](https://github.com/bigcommerce/checkout-sdk-js/issues/2159)) ([d110fa0](https://github.com/bigcommerce/checkout-sdk-js/commit/d110fa06fd10f5f5a06e6a838e9040720fc4e36b))
* **payment:** PAYPAL-2914 updated BT AXO Credit card component style ([#2160](https://github.com/bigcommerce/checkout-sdk-js/issues/2160)) ([8f82f73](https://github.com/bigcommerce/checkout-sdk-js/commit/8f82f73381bf1f0e7fa3a3cd9ef2ac42aede9414))
## [1.440.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.439.0...v1.440.0) (2023-09-04)
### Features
* **payment:** PAYPAL-2843 captured device info for Braintree Apple Pay ([#2131](https://github.com/bigcommerce/checkout-sdk-js/issues/2131)) ([05fbd6e](https://github.com/bigcommerce/checkout-sdk-js/commit/05fbd6ef754fd163b403cc958460e7ae4ec6031e))
* **payment:** PAYPAL-2908 updated braintree sdk version ([#2158](https://github.com/bigcommerce/checkout-sdk-js/issues/2158)) ([c643eb1](https://github.com/bigcommerce/checkout-sdk-js/commit/c643eb14e5cc62f9f5a2b33ab726e28107e0442a))
### Bug Fixes
* **payment:** PAYPAL-000 fixed the issue with braintree initialization in apple pay payment strategy ([#2161](https://github.com/bigcommerce/checkout-sdk-js/issues/2161)) ([8271c76](https://github.com/bigcommerce/checkout-sdk-js/commit/8271c7642638ebec4a5370602c94f8e3b7a4a89a))
## [1.439.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.438.0...v1.439.0) (2023-09-03)
### Features
* **checkout:** CHECKOUT-7648 Add isExpressPrivacyPolicy to checkoutSettings ([#2155](https://github.com/bigcommerce/checkout-sdk-js/issues/2155)) ([c98410a](https://github.com/bigcommerce/checkout-sdk-js/commit/c98410ac719fbe41506b2b36b57dcbb2b0c39456))
## [1.438.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.437.0...v1.438.0) (2023-08-31)
### Features
* **payment:** PI-474 load bluesnap script ONLY if it wasn't loaded before ([39e2ed5](https://github.com/bigcommerce/checkout-sdk-js/commit/39e2ed577d88afc0d9e7057067ab714c746aaabb))
## [1.437.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.436.1...v1.437.0) (2023-08-29)
### Features
* **payment:** INT-5659 GooglePay: Add customer strategy ([#1994](https://github.com/bigcommerce/checkout-sdk-js/issues/1994)) ([f6eed4d](https://github.com/bigcommerce/checkout-sdk-js/commit/f6eed4d95af3b5280f90caa3d597b5092ee1dbef))
### [1.436.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.436.0...v1.436.1) (2023-08-29)
### Bug Fixes
* **payment:** PAYPAL-2881 loadPaypal asynchronous call fix ([e4f036b](https://github.com/bigcommerce/checkout-sdk-js/commit/e4f036b825a0ae09bf062e0816c0e8787f37f74e))
## [1.436.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.435.0...v1.436.0) (2023-08-29)
### Features
* **payment:** PAYPAL-2888 updated PayPal Connect LS axo value to sandbox ([#2149](https://github.com/bigcommerce/checkout-sdk-js/issues/2149)) ([a499a40](https://github.com/bigcommerce/checkout-sdk-js/commit/a499a40b127093d35d0b360bfff431c4f01b2a94))
### Bug Fixes
* **common:** PAYPAL-000 fixed the console error on npm run bundle-dts command run ([#2144](https://github.com/bigcommerce/checkout-sdk-js/issues/2144)) ([ca8cb4d](https://github.com/bigcommerce/checkout-sdk-js/commit/ca8cb4ddf7bc13c739f8cc295d16b2b9db1cdfb6))
## [1.435.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.434.0...v1.435.0) (2023-08-28)
### Features
* **checkout:** PI-520 Stripe UPE - Provide AVS results ([0ba2ecd](https://github.com/bigcommerce/checkout-sdk-js/commit/0ba2ecdf9c0bf865f21709b28e4edae29b61cd3a))
* **checkout:** PI-520 Stripe UPE - Provide AVS results ([babf9f9](https://github.com/bigcommerce/checkout-sdk-js/commit/babf9f996f06539d18b2f325e327e37a162a683e))
* **checkout:** PI-520 Stripe UPE - Provide AVS results ([4facd6f](https://github.com/bigcommerce/checkout-sdk-js/commit/4facd6f7a89074ee63dc26d35a3cb535e47621f4))
## [1.434.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.433.2...v1.434.0) (2023-08-28)
### Features
* **payment:** PI-489 move Mollie to separate package ([#2126](https://github.com/bigcommerce/checkout-sdk-js/issues/2126)) ([a345497](https://github.com/bigcommerce/checkout-sdk-js/commit/a345497a9a14444f2f8c4c2e4e55307f8fde532f))
### [1.433.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.433.1...v1.433.2) (2023-08-28)
### Bug Fixes
* **payment:** CHECKOUT-6883 Pass store credit to apple pay sheet ([#2146](https://github.com/bigcommerce/checkout-sdk-js/issues/2146)) ([dea596b](https://github.com/bigcommerce/checkout-sdk-js/commit/dea596b183207dba46c24cd80d52d3bddcdf4bda))
### [1.433.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.433.0...v1.433.1) (2023-08-25)
### Bug Fixes
* **checkout:** PI-657 fixed validation for stored bluesnap direct card verification fields ([19713a8](https://github.com/bigcommerce/checkout-sdk-js/commit/19713a8492d319078873b501ba7e428e48f0ec18))
## [1.433.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.432.0...v1.433.0) (2023-08-25)
### Features
* **payment:** PAYPAL-2851 trigger authentication flow on BT AXO payment method initialization ([#2140](https://github.com/bigcommerce/checkout-sdk-js/issues/2140)) ([a3b12a2](https://github.com/bigcommerce/checkout-sdk-js/commit/a3b12a2078df582566cec9406aa38b7735f73219))
## [1.432.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.431.0...v1.432.0) (2023-08-23)
### Features
* **payment:** INT-7676 GooglePay: Add payment strategy ([#1967](https://github.com/bigcommerce/checkout-sdk-js/issues/1967)) ([d528699](https://github.com/bigcommerce/checkout-sdk-js/commit/d5286995b1aca3948ff0673ebbedd4c233b35a3f))
## [1.431.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.430.0...v1.431.0) (2023-08-22)
### Features
* **payment:** PAYPAL-2853 added riskCorrelationId to data collector for PayPal Analytics ([#2132](https://github.com/bigcommerce/checkout-sdk-js/issues/2132)) ([4d2328f](https://github.com/bigcommerce/checkout-sdk-js/commit/4d2328ffac4b76a7fce71c2d3633739558384587))
* **payment:** PAYPAL-2873 added paypal connect vaulting formated payload interface ([#2134](https://github.com/bigcommerce/checkout-sdk-js/issues/2134)) ([b2e109c](https://github.com/bigcommerce/checkout-sdk-js/commit/b2e109c1cf5c25b0639dafe2e345bc7b294adafc))
* **payment:** PAYPAL-2873 updated payment payload for PayPal Connect vaulted instruments BT AXO ([#2135](https://github.com/bigcommerce/checkout-sdk-js/issues/2135)) ([9ee7ba9](https://github.com/bigcommerce/checkout-sdk-js/commit/9ee7ba9bb5bad91e6769426ee6f66a1eb9aa9b5a))
* **payment:** PAYPAL-2876 added session id to the local storage after customer's OTP BT AXO ([#2133](https://github.com/bigcommerce/checkout-sdk-js/issues/2133)) ([71a8e3f](https://github.com/bigcommerce/checkout-sdk-js/commit/71a8e3f3c46e1896814f722429a8fa9b76903ab5))
## [1.430.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.429.0...v1.430.0) (2023-08-21)
### Features
* **payment:** PAYPAL-2792 fixed applepay spb on PDP ([#2107](https://github.com/bigcommerce/checkout-sdk-js/issues/2107)) ([4e2470f](https://github.com/bigcommerce/checkout-sdk-js/commit/4e2470f2e039365b35f8c75213a586d8e570b46e))
## [1.429.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.428.0...v1.429.0) (2023-08-21)
### Features
* **payment:** PAYPAL-2856 added styles for PayPal Connect Credit Card component ([#2120](https://github.com/bigcommerce/checkout-sdk-js/issues/2120)) ([06db7ad](https://github.com/bigcommerce/checkout-sdk-js/commit/06db7adf275063af37be445420bcca73a914b6a1))
### Bug Fixes
* **payment:** PAYPAL-2868 clean up prev provider customer data from checkout state BT AXO ([#2130](https://github.com/bigcommerce/checkout-sdk-js/issues/2130)) ([8415323](https://github.com/bigcommerce/checkout-sdk-js/commit/84153233997bb5ae84acd0fdc49df7a7c0a4c4de))
## [1.428.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.427.0...v1.428.0) (2023-08-18)
### Features
* **payment:** PAYPAL-2842 moved braintree-integration-service and braintree-script-loader to braintree utils package ([#2121](https://github.com/bigcommerce/checkout-sdk-js/issues/2121)) ([3e8c6f1](https://github.com/bigcommerce/checkout-sdk-js/commit/3e8c6f1d46736b76a1b8c307ec0ba9a869dd47b6))
### Bug Fixes
* **extension:** CHECKOUT-7652 Propagate extension ID as context data and only trigger handler if matching extension ID ([5013d09](https://github.com/bigcommerce/checkout-sdk-js/commit/5013d09d6508910302d2e2e340fabc9093e00e9a))
### Code Refactoring
* **extension:** CHECKOUT-7652 Add namespace to extension command messages, remove duplicate commands and improve typing/naming ([c42c012](https://github.com/bigcommerce/checkout-sdk-js/commit/c42c012ecf54902b4d54524ab404372d07d4b745))
* **extension:** CHECKOUT-7652 Create separate resizable iframe creator for extension ([cc73d80](https://github.com/bigcommerce/checkout-sdk-js/commit/cc73d8003ec2188f9f51b2058d5b2ad9d8c71d70))
* **payment:** PAYPAL-2730 removed unnecessary method call in sign in BT AXO customer strategy ([#2127](https://github.com/bigcommerce/checkout-sdk-js/issues/2127)) ([c767a38](https://github.com/bigcommerce/checkout-sdk-js/commit/c767a38254e44d0aa0aee82a168bc2026d379af7))
## [1.427.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.426.1...v1.427.0) (2023-08-17)
### Features
* **payment:** PAYPAL-2854 updated braintree sdk with new alpha version ([#2119](https://github.com/bigcommerce/checkout-sdk-js/issues/2119)) ([48ee142](https://github.com/bigcommerce/checkout-sdk-js/commit/48ee14270625e911e3d0eb2cea25d3b548486ed7))
### Code Refactoring
* **payment:** PAYPAL-2852 removed implementation that stores customers data to local storage BT AXO ([#2123](https://github.com/bigcommerce/checkout-sdk-js/issues/2123)) ([f73cd25](https://github.com/bigcommerce/checkout-sdk-js/commit/f73cd25c2e0a43bd4df8abd04c5587d46ceda5db))
### [1.426.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.426.0...v1.426.1) (2023-08-16)
### Bug Fixes
* **payment:** PAYPAL-000 fixed backup payment method loading for braintree accelerated checkout strategies ([#2118](https://github.com/bigcommerce/checkout-sdk-js/issues/2118)) ([94d3297](https://github.com/bigcommerce/checkout-sdk-js/commit/94d32973d50b55116672374a5115cae0818f85ce))
## [1.426.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.425.0...v1.426.0) (2023-08-16)
### Features
* **checkout:** PI-286 added bigpayToken to the loadPaymentMethod params ([497920e](https://github.com/bigcommerce/checkout-sdk-js/commit/497920e0edcd91fe4434b15b9e09ee13dabc6de4))
* **checkout:** PI-286 bluesnapdirect 3ds for stored cards without hosted fields ([2999e44](https://github.com/bigcommerce/checkout-sdk-js/commit/2999e442ccbddb6582c4b0af3f1b8c500f39243d))
## [1.425.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.424.0...v1.425.0) (2023-08-16)
### Features
* **payment:** PAYPAL-2758 PayLater Messages ([#2076](https://github.com/bigcommerce/checkout-sdk-js/issues/2076)) ([bddff2f](https://github.com/bigcommerce/checkout-sdk-js/commit/bddff2f3914740e7584d51ebe1af6d3e908a7627))
### Code Refactoring
* **payment:** PAYPAL-2855 updated core and braintree packages with braintree sdk version from braintree-utils package ([#2117](https://github.com/bigcommerce/checkout-sdk-js/issues/2117)) ([c469cb8](https://github.com/bigcommerce/checkout-sdk-js/commit/c469cb8b288c675d92983b57029b6d983a62cc6f))
## [1.424.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.423.0...v1.424.0) (2023-08-15)
### Features
* **payment:** PAYPAL-2827 add a condition to check when to run PayPal Connect authentication flow in BT customer strategy (A/B testing coverage) ([#2108](https://github.com/bigcommerce/checkout-sdk-js/issues/2108)) ([e46bfa6](https://github.com/bigcommerce/checkout-sdk-js/commit/e46bfa69cd2a3678746cda5f6a55e43c6e1a4edf))
## [1.423.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.422.0...v1.423.0) (2023-08-14)
### Features
* **payment:** PAYPAL-2847 created braintree-utils package ([#2114](https://github.com/bigcommerce/checkout-sdk-js/issues/2114)) ([6d481b6](https://github.com/bigcommerce/checkout-sdk-js/commit/6d481b6976331792cd704b1029fe9f9ca87400db))
## [1.422.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.421.1...v1.422.0) (2023-08-14)
### Features
* **payment:** PAYPAL-2828 added shipping and billing address selected with PayPal AXO address after OTP ([#2112](https://github.com/bigcommerce/checkout-sdk-js/issues/2112)) ([2363a3e](https://github.com/bigcommerce/checkout-sdk-js/commit/2363a3efd6f8f198733585ca3319f153a95b0091))
### [1.421.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.421.0...v1.421.1) (2023-08-10)
## [1.421.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.420.0...v1.421.0) (2023-08-09)
### Features
* **payment:** PAYPAL-000 updated paypal connect address mapper to receive CustomerAddress instead of Address ([#2101](https://github.com/bigcommerce/checkout-sdk-js/issues/2101)) ([bb01b20](https://github.com/bigcommerce/checkout-sdk-js/commit/bb01b201d84abe0d6ee9d088b916bf074dab4744))
## [1.420.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.419.0...v1.420.0) (2023-08-08)
### Features
* **payment:** PAYPAL-2692 removed this.paypalSdk ([f2b56f3](https://github.com/bigcommerce/checkout-sdk-js/commit/f2b56f3c636ca3e43083945b6d24aed64aeea254))
## [1.419.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.418.1...v1.419.0) (2023-08-08)
### Features
* **payment:** PAYPAL-2737 updated Braintree AXO strategy with vaulted instruments implementation ([#2098](https://github.com/bigcommerce/checkout-sdk-js/issues/2098)) ([4b98c9e](https://github.com/bigcommerce/checkout-sdk-js/commit/4b98c9e617ca55a696d3c204915595a8019cc42e))
### [1.418.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.418.0...v1.418.1) (2023-08-08)
## [1.418.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.417.0...v1.418.0) (2023-08-07)
### Features
* **extension:** CHECKOUT-7611 Notify extension when consignment changes ([61c0626](https://github.com/bigcommerce/checkout-sdk-js/commit/61c0626a5408a8edaed6832b16c1fd6a115fe65e))
* **extension:** CHECKOUT-7611 Notify extension when shipping country changes ([cf181b2](https://github.com/bigcommerce/checkout-sdk-js/commit/cf181b2533c62b9ca6dd089e3112b29fbc058456))
### Code Refactoring
* **extension:** CHECKOUT-7611 Pass public selectors to state change subscribers ([8128e92](https://github.com/bigcommerce/checkout-sdk-js/commit/8128e927a040d62892e99c295733515a9f05368d))
* **extension:** CHECKOUT-7611 Remove shipping country change event ([d170b3a](https://github.com/bigcommerce/checkout-sdk-js/commit/d170b3a6a7cd31743e247544b837049dcf6c2cd9))
* **payment:** PAYPAL-2813 created BraintreeAcceleratedCheckoutUtils class ([#2096](https://github.com/bigcommerce/checkout-sdk-js/issues/2096)) ([b7b053b](https://github.com/bigcommerce/checkout-sdk-js/commit/b7b053bbaa0e86c1f4f5de83566c159871efe29e))
## [1.417.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.416.0...v1.417.0) (2023-08-03)
### Features
* **payment:** PAYPAL-2797 pass customers data to local storage after authentication (Braintree AXO) ([#2092](https://github.com/bigcommerce/checkout-sdk-js/issues/2092)) ([1d2f287](https://github.com/bigcommerce/checkout-sdk-js/commit/1d2f287997b3808b2ac04c36bf38c0b6447172fa))
## [1.416.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.415.1...v1.416.0) (2023-08-03)
### Features
* **payment:** PAYPAL-2804 added country to each PayPal Connect customer address to use it on client side for BT AXO ([#2094](https://github.com/bigcommerce/checkout-sdk-js/issues/2094)) ([c695c5a](https://github.com/bigcommerce/checkout-sdk-js/commit/c695c5a4ba23adf6c3571c02ac262008617cccdc))
### [1.415.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.415.0...v1.415.1) (2023-08-03)
### Code Refactoring
* **checkout:** CHECKOUT-7634 Improvements for extension ([#2085](https://github.com/bigcommerce/checkout-sdk-js/issues/2085)) ([ba44288](https://github.com/bigcommerce/checkout-sdk-js/commit/ba44288e9a0fa9c9ac8869a66c8a6b1b20866c4c))
## [1.415.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.414.0...v1.415.0) (2023-08-02)
### Features
* **payment:** PAYPAL-2803 made an ability to use getCountries method in integration packages ([#2093](https://github.com/bigcommerce/checkout-sdk-js/issues/2093)) ([ce1419f](https://github.com/bigcommerce/checkout-sdk-js/commit/ce1419fa5d380da9aca8de803374fc01508413f3))
## [1.414.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.413.0...v1.414.0) (2023-08-02)
### Features
* **payment:** PAYPAL-1545 added paypalcommerce ratepay payment strategy ([#2040](https://github.com/bigcommerce/checkout-sdk-js/issues/2040)) ([47387ac](https://github.com/bigcommerce/checkout-sdk-js/commit/47387aca1c5de298e5ef6e3e85666a87f934631c))
## [1.413.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.412.0...v1.413.0) (2023-08-02)
### Features
* **payment:** PAYPAL-000 add an ability to use getPaymentProviderCustomer method on the client side ([#2090](https://github.com/bigcommerce/checkout-sdk-js/issues/2090)) ([8be3788](https://github.com/bigcommerce/checkout-sdk-js/commit/8be3788a3ba55c0531d7b99340416f05045bbb57))
## [1.412.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.411.0...v1.412.0) (2023-08-01)
### Features
* **payment:** PAYPAL-000 created storage package ([#2086](https://github.com/bigcommerce/checkout-sdk-js/issues/2086)) ([c818675](https://github.com/bigcommerce/checkout-sdk-js/commit/c818675b5a98d438654f35195c51d2c138c9369d))
* **payment:** PAYPAL-2727 added Braintree Accelerated Checkout customer strategy ([#2078](https://github.com/bigcommerce/checkout-sdk-js/issues/2078)) ([475633a](https://github.com/bigcommerce/checkout-sdk-js/commit/475633a56cccb13a80275be735131f602c16aa36))
* **payment:** PAYPAL-2727 added Braintree Accelerated Checkout customer strategy ([#2087](https://github.com/bigcommerce/checkout-sdk-js/issues/2087)) ([913aa28](https://github.com/bigcommerce/checkout-sdk-js/commit/913aa282393187eae2d8cd73976a094f1014586f))
## [1.411.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.410.0...v1.411.0) (2023-07-31)
### Features
* **payment:** PAYPAL-2731 added PaymentProviderCustomer state ([#2075](https://github.com/bigcommerce/checkout-sdk-js/issues/2075)) ([83ae13d](https://github.com/bigcommerce/checkout-sdk-js/commit/83ae13d873730dd613edf157ac44b2784681a878))
## [1.410.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.409.0...v1.410.0) (2023-07-31)
### Features
* **payment:** PAYPAL-2725 updated braintree sdk to newest alpha version ([#2082](https://github.com/bigcommerce/checkout-sdk-js/issues/2082)) ([7e630bb](https://github.com/bigcommerce/checkout-sdk-js/commit/7e630bb7e493507001ff710a468b615b017e65f7))
* **payment:** PAYPAL-2725 updated braintree sdk to newest alpha version (core part) ([#2083](https://github.com/bigcommerce/checkout-sdk-js/issues/2083)) ([b8a9061](https://github.com/bigcommerce/checkout-sdk-js/commit/b8a9061f01cceb29884a76bdd3594d560f87bef6))
## [1.409.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.408.0...v1.409.0) (2023-07-27)
### Features
* **payment:** PI-585 Make an ability to use loadCurrentOrder action from core package in integration checkout-sdk packages ([#2077](https://github.com/bigcommerce/checkout-sdk-js/issues/2077)) ([56daa7a](https://github.com/bigcommerce/checkout-sdk-js/commit/56daa7a6d4ff02ec4d30b02da4be35fe088c8e7c))
## [1.408.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.407.0...v1.408.0) (2023-07-26)
### Features
* **checkout:** CHECKOUT-000 Update client side interfaces ([#2079](https://github.com/bigcommerce/checkout-sdk-js/issues/2079)) ([0ce1123](https://github.com/bigcommerce/checkout-sdk-js/commit/0ce11237a51a1f071177b3252491fd9b817f7206))
## [1.407.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.406.1...v1.407.0) (2023-07-25)
### Features
* **payment:** PAYPAL-2744 fixed cart amout for order for BT LPM ([#2080](https://github.com/bigcommerce/checkout-sdk-js/issues/2080)) ([ae738f3](https://github.com/bigcommerce/checkout-sdk-js/commit/ae738f3fd6afab902afdd8429c08a6fde50a9b71))
### [1.406.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.406.0...v1.406.1) (2023-07-25)
### Bug Fixes
* **payment:** PAYPAL-2634 removed redundant code, added updateShouldThrowInvalidError ([9ecf5fb](https://github.com/bigcommerce/checkout-sdk-js/commit/9ecf5fbee50c87996ec32b998c5ccc71dacb556a))
## [1.406.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.405.2...v1.406.0) (2023-07-24)
### Features
* **payment:** PAYPAL-2726 added BraintreeAcceleratedCheckout payment strategy ([#2068](https://github.com/bigcommerce/checkout-sdk-js/issues/2068)) ([0a07d3c](https://github.com/bigcommerce/checkout-sdk-js/commit/0a07d3c5867839717358043313e85b771667d57b))
### [1.405.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.405.1...v1.405.2) (2023-07-20)
### Code Refactoring
* **checkout:** CHECKOUT-7624 Update extension-related naming ([#2069](https://github.com/bigcommerce/checkout-sdk-js/issues/2069)) ([41af8df](https://github.com/bigcommerce/checkout-sdk-js/commit/41af8df893c19183ea5feb31a4afd4229803220c))
### [1.405.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.405.0...v1.405.1) (2023-07-20)
## [1.405.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.404.0...v1.405.0) (2023-07-20)
### Features
* **payment:** PAYPAL-2725 added an ability to switch braintree sdk version (core part) ([#2065](https://github.com/bigcommerce/checkout-sdk-js/issues/2065)) ([29d5451](https://github.com/bigcommerce/checkout-sdk-js/commit/29d54510ef69590bfd697b580594784ed487b5f7))
* **payment:** PAYPAL-2725 added an ability to switch braintree sdk version to alpha due to the settings in cp ([#2063](https://github.com/bigcommerce/checkout-sdk-js/issues/2063)) ([94a4ce3](https://github.com/bigcommerce/checkout-sdk-js/commit/94a4ce3093b770fdfc6a21d96b6ee2908255adc5))
## [1.404.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.403.0...v1.404.0) (2023-07-19)
### Features
* **checkout:** CHECKOUT-7595 Add client extension service ([#2056](https://github.com/bigcommerce/checkout-sdk-js/issues/2056)) ([c04106a](https://github.com/bigcommerce/checkout-sdk-js/commit/c04106afba0c341b9a76d4341cc98542d32dc7a7))
## [1.403.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.402.1...v1.403.0) (2023-07-19)
### Features
* **order:** ORDERS-5715 add OrderFee interface, add fees field to Order interface ([#2066](https://github.com/bigcommerce/checkout-sdk-js/issues/2066)) ([9b09886](https://github.com/bigcommerce/checkout-sdk-js/commit/9b0988619bca9c690f853ab9089d64c74643f885))
### [1.402.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.402.0...v1.402.1) (2023-07-17)
### Bug Fixes
* **payment:** PAYPAL-2719 fix amazon pay button ([de1cb81](https://github.com/bigcommerce/checkout-sdk-js/commit/de1cb81bd278fbb81782d4dfb32db6b1370291c8))
## [1.402.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.401.0...v1.402.0) (2023-07-17)
### Features
* **payment:** PAYPAL-2720 Fixed BT LPM cart amount ([#2058](https://github.com/bigcommerce/checkout-sdk-js/issues/2058)) ([5fb2488](https://github.com/bigcommerce/checkout-sdk-js/commit/5fb2488bf386a56d9249130051f066240ba93e4a))
## [1.401.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.400.0...v1.401.0) (2023-07-16)
### Features
* **checkout:** CHECKOUT-7538 Introduce extension messenger and command handler ([#2050](https://github.com/bigcommerce/checkout-sdk-js/issues/2050)) ([b43adec](https://github.com/bigcommerce/checkout-sdk-js/commit/b43adecf32105a6a7bf9451e4c80fd0beb77eae2))
## [1.400.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.399.2...v1.400.0) (2023-07-13)
### Features
* **payment:** PI-502 Fortis package ([8032101](https://github.com/bigcommerce/checkout-sdk-js/commit/80321015800e869b8d98d0fa95fb77580db8f25a))
### [1.399.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.399.1...v1.399.2) (2023-07-13)
### Bug Fixes
* **payment:** PAYPAL-2502 bump braintree sdk version ([33970f0](https://github.com/bigcommerce/checkout-sdk-js/commit/33970f05d41175cb163a1a18c8c5129d4e732036))
### [1.399.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.399.0...v1.399.1) (2023-07-13)
### Bug Fixes
* upgrade yup from 1.1.1 to 1.2.0 ([#2049](https://github.com/bigcommerce/checkout-sdk-js/issues/2049)) ([259d88c](https://github.com/bigcommerce/checkout-sdk-js/commit/259d88c27a1bb20bfdb7a4eb9d9836e3211ef3f4))
## [1.399.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.398.2...v1.399.0) (2023-07-10)
### Features
* **payment:** PAYPAL-2476 added TS interface for updateOrder method in PPCP request sender ([#2033](https://github.com/bigcommerce/checkout-sdk-js/issues/2033)) ([10c2e8f](https://github.com/bigcommerce/checkout-sdk-js/commit/10c2e8faeb397cee1e9cc3104f1a5cb939c38356))
### [1.398.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.398.1...v1.398.2) (2023-07-06)
### Bug Fixes
* **checkout:** PI-00 fix pending promise for bluesnapdirect APMs iframe ([9acdde7](https://github.com/bigcommerce/checkout-sdk-js/commit/9acdde7c9ce1bd11f3c81d07e87c72c7454de2eb))
### [1.398.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.398.0...v1.398.1) (2023-07-05)
## [1.398.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.397.0...v1.398.0) (2023-07-05)
### Features
* **payment:** PAYPAL-2690 added braintree ach vaulting instrument confirmation feature ([#2044](https://github.com/bigcommerce/checkout-sdk-js/issues/2044)) ([f15657d](https://github.com/bigcommerce/checkout-sdk-js/commit/f15657d0c0648f8d1749fa1f4e0d2b5e5c257074))
## [1.397.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.396.1...v1.397.0) (2023-07-04)
### Features
* **checkout:** PI-168 bluesnapdirect APMs ([9e2dd90](https://github.com/bigcommerce/checkout-sdk-js/commit/9e2dd903f05716065a9716f4378292743cbb967e))
### [1.396.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.396.0...v1.396.1) (2023-07-04)
### Bug Fixes
* **order:** DATA-11056 Populate category names for BODL purchase event ([#2042](https://github.com/bigcommerce/checkout-sdk-js/issues/2042)) ([0715960](https://github.com/bigcommerce/checkout-sdk-js/commit/0715960f6b9aa7b87886dbe0e343b3ad1aa079cd)), closes [#2032](https://github.com/bigcommerce/checkout-sdk-js/issues/2032) [#2038](https://github.com/bigcommerce/checkout-sdk-js/issues/2038)
## [1.396.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.395.4...v1.396.0) (2023-07-04)
### Features
* **checkout:** CHECKOUT-7534 Add fees field ([e19484a](https://github.com/bigcommerce/checkout-sdk-js/commit/e19484a8b7a751e5fa8bb8df065752d91367d13d))
* **checkout:** CHECKOUT-7534 removed optional ([783e498](https://github.com/bigcommerce/checkout-sdk-js/commit/783e4983e9553842988b9b3f507b9da4524e5cae))
### [1.395.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.395.3...v1.395.4) (2023-07-03)
### Bug Fixes
* **payment:** PAYPAL-2634 fixed issue when teardown is called twice ([61792c7](https://github.com/bigcommerce/checkout-sdk-js/commit/61792c7db01f983bee5beb0b7a8f87e4716832e0))
### [1.395.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.395.2...v1.395.3) (2023-06-30)
### [1.395.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.395.1...v1.395.2) (2023-06-29)
### [1.395.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.395.0...v1.395.1) (2023-06-28)
### Bug Fixes
* **order:** DATA-11056 Populate category names for BODL purchase event ([#2032](https://github.com/bigcommerce/checkout-sdk-js/issues/2032)) ([3afd61a](https://github.com/bigcommerce/checkout-sdk-js/commit/3afd61a3228760f1aa3ae84e9074a58ecd210194))
## [1.395.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.394.1...v1.395.0) (2023-06-28)
### Features
* **checkout:** CHECKOUT-7537 Render extensions ([#2028](https://github.com/bigcommerce/checkout-sdk-js/issues/2028)) ([c52e6cd](https://github.com/bigcommerce/checkout-sdk-js/commit/c52e6cdb3c0c93dc8d7a2fe51bf2680fa9b31126))
### [1.394.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.394.0...v1.394.1) (2023-06-27)
### Bug Fixes
* **payment:** PAYPAL-2502 revert braintree sdk bump version ([#2031](https://github.com/bigcommerce/checkout-sdk-js/issues/2031)) ([753aaed](https://github.com/bigcommerce/checkout-sdk-js/commit/753aaedab5f046e71eb8504d21eb0a992083e44d))
## [1.394.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.393.2...v1.394.0) (2023-06-22)
### Features
* **payment:** PI-34 [AmazonPay] Update Amazon Pay to use the latest button design ([#1997](https://github.com/bigcommerce/checkout-sdk-js/issues/1997)) ([105a353](https://github.com/bigcommerce/checkout-sdk-js/commit/105a35380792fde9f0063b232ed972e5dbb62500))
### [1.393.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.393.1...v1.393.2) (2023-06-22)
### Bug Fixes
* **payment:** PAYPAL-2634 fixed issue when teardown is called twice ([bd46bf2](https://github.com/bigcommerce/checkout-sdk-js/commit/bd46bf2417f17d0780b98859865d9a7a783560c7))
### [1.393.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.393.0...v1.393.1) (2023-06-22)
## [1.393.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.392.0...v1.393.0) (2023-06-22)
### Features
* **checkout:** CHECKOUT-7536 Load extensions ([#2020](https://github.com/bigcommerce/checkout-sdk-js/issues/2020)) ([54c93a6](https://github.com/bigcommerce/checkout-sdk-js/commit/54c93a69ec1b4bf065e21fb93eda43cdd6529177))
## [1.392.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.391.0...v1.392.0) (2023-06-21)
### Features
* **payment:** PAYPAL-2645 fixed submit button for braintree lpm ([#2022](https://github.com/bigcommerce/checkout-sdk-js/issues/2022)) ([579b34e](https://github.com/bigcommerce/checkout-sdk-js/commit/579b34e92d45cb42082624a3769c6b8c6c124cae))
## [1.391.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.390.0...v1.391.0) (2023-06-21)
### Features
* **checkout:** DATA-10908 DATA-10928 Add shipping and payment detailsprovided events for BODL ([#2019](https://github.com/bigcommerce/checkout-sdk-js/issues/2019)) ([e7040f9](https://github.com/bigcommerce/checkout-sdk-js/commit/e7040f9a5eeec564b4ab6514960c786ee6dc3749))
* **payment:** CHECKOUT-7504 Enable recaptcha for apple pay ([#2011](https://github.com/bigcommerce/checkout-sdk-js/issues/2011)) ([5c2cc35](https://github.com/bigcommerce/checkout-sdk-js/commit/5c2cc352ee7eb49b904080836ad0a9838ef24dd2))
### Bug Fixes
* **checkout:** DATA-10908 Fix failing bodl unit tests ([#2024](https://github.com/bigcommerce/checkout-sdk-js/issues/2024)) ([4ace117](https://github.com/bigcommerce/checkout-sdk-js/commit/4ace117bb7946609bf67ea18ad80e18800efdb41))
## [1.390.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.389.0...v1.390.0) (2023-06-20)
### Features
* **payment:** PI-120 Autofilling of holderName to be configurable ([a6ae531](https://github.com/bigcommerce/checkout-sdk-js/commit/a6ae5315d003d748b539371af19835a38c56e3ef))
## [1.389.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.388.2...v1.389.0) (2023-06-20)
### Features
* **payment:** PAYPAL-2502 bump Braintree sdk version ([8ee7c0f](https://github.com/bigcommerce/checkout-sdk-js/commit/8ee7c0fbd18f9f367a56d8d32332259a3c1a94ef))
### [1.388.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.388.1...v1.388.2) (2023-06-14)
### Bug Fixes
* **checkout:** PI-294 adyen v3 stored card pay fix, after adding klarna pay widget ([58c7936](https://github.com/bigcommerce/checkout-sdk-js/commit/58c79366059947f5aa9dcb52bdcf3b24f3fb1364))
### [1.388.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.388.0...v1.388.1) (2023-06-14)
### Bug Fixes
* **payment:** PAYPAL-2602 changed getting the billing address ([2bf81ed](https://github.com/bigcommerce/checkout-sdk-js/commit/2bf81ed5cff0f2aacb4f65039bbfc3b0b15bfe1f))
* **payment:** PAYPAL-2618 updated payment payload ([46e375b](https://github.com/bigcommerce/checkout-sdk-js/commit/46e375b02e034d805774a85d92cd78f3ddf1247a))
## [1.388.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.387.0...v1.388.0) (2023-06-13)
### Features
* **checkout:** PI-42 bluesnap direct credit card vaulting ([8c4de76](https://github.com/bigcommerce/checkout-sdk-js/commit/8c4de76df61dcc0e72365629ae5dbad15ce24031))
## [1.387.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.386.1...v1.387.0) (2023-06-13)
### Features
* **payment:** PAYPAL-2449 fixed preloader ([#2015](https://github.com/bigcommerce/checkout-sdk-js/issues/2015)) ([8b1d202](https://github.com/bigcommerce/checkout-sdk-js/commit/8b1d202b9753728ad9dd5de5e82ddb6b735aac20))
### [1.386.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.386.0...v1.386.1) (2023-06-12)
### Bug Fixes
* **payment:** INT-7650 retrieve payment intent if an error is caught at the time of confirming the payment ([c0bd053](https://github.com/bigcommerce/checkout-sdk-js/commit/c0bd0538a5ec22d6a46b64149700caa6b89acb21))
## [1.386.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.385.0...v1.386.0) (2023-06-07)
### Features
* **payment:** PAYPAL-2451 ACH vaulting ([#1990](https://github.com/bigcommerce/checkout-sdk-js/issues/1990)) ([7dc4660](https://github.com/bigcommerce/checkout-sdk-js/commit/7dc4660f77b71dd22221c5fc5d427920b488e3ad))
## [1.385.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.384.1...v1.385.0) (2023-06-07)
### Features
* **payment:** PI-88 [Adyen] Klarna widget update ([898c88e](https://github.com/bigcommerce/checkout-sdk-js/commit/898c88ecc3e84faead6102c22e8c41515fb3bb7b))
### [1.384.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.384.0...v1.384.1) (2023-06-07)
## [1.384.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.383.2...v1.384.0) (2023-06-07)
### Features
* **payment:** PAYPAL-2449 added braintree-local-methods payment startegy ([#2006](https://github.com/bigcommerce/checkout-sdk-js/issues/2006)) ([4f67f0b](https://github.com/bigcommerce/checkout-sdk-js/commit/4f67f0bbea9956cbd04660ea8a33f83223235c02))
### [1.383.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.383.1...v1.383.2) (2023-06-06)
### Bug Fixes
* **payment:** CHECKOUT-7498 Update registry key as a combination ([#2005](https://github.com/bigcommerce/checkout-sdk-js/issues/2005)) ([b4d203e](https://github.com/bigcommerce/checkout-sdk-js/commit/b4d203e704c4dac4e91bdd5c7989c42a32319eaa))
### [1.383.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.383.0...v1.383.1) (2023-06-02)
### Bug Fixes
* **payment:** PAYPAL-2575 fixed the issue with PayPalCommerceVenmo button eligibility ([#2007](https://github.com/bigcommerce/checkout-sdk-js/issues/2007)) ([9c135ea](https://github.com/bigcommerce/checkout-sdk-js/commit/9c135eae74882ab61fa4ab1882bde6e9937f1da8))
## [1.383.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.382.1...v1.383.0) (2023-06-02)
### Features
* **payment:** PAYPAL-2560 internalLabel ([ef99560](https://github.com/bigcommerce/checkout-sdk-js/commit/ef99560b92775783b3a2379c28f71a4c232fce43))
### Bug Fixes
* **payment:** PAYPAL-2552 removed unnecessary code ([a733414](https://github.com/bigcommerce/checkout-sdk-js/commit/a733414b4c3df998b9af303d95166e58d21c2522))
### [1.382.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.382.0...v1.382.1) (2023-05-31)
### Bug Fixes
* **payment:** PAYPAL-2451 renaming ([57a1c60](https://github.com/bigcommerce/checkout-sdk-js/commit/57a1c603da722e5a0f99d7d7e3e6a25908ced566))
## [1.382.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.381.4...v1.382.0) (2023-05-29)
### Features
* **payment:** PAYPAL-2451 fixed an instrument ([10ae303](https://github.com/bigcommerce/checkout-sdk-js/commit/10ae30323f3efc5e946e5ca8c1164fa6c2e6e355))
### [1.381.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.381.3...v1.381.4) (2023-05-24)
### Bug Fixes
* **checkout:** PI-101 3ds2 redirect flow for the adyen v3 ([6615f3a](https://github.com/bigcommerce/checkout-sdk-js/commit/6615f3ac539521f624418db77a98c64e8489fbe8))
### [1.381.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.381.2...v1.381.3) (2023-05-22)
### Bug Fixes
* **payment:** PAYPAL-2451 braintree ach instrument ([7ba679e](https://github.com/bigcommerce/checkout-sdk-js/commit/7ba679ea18c4a05f5899b0bc8518ec6c03855854))
### [1.381.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.381.1...v1.381.2) (2023-05-22)
### Bug Fixes
* **payment:** PAYPAL-0000 fixed the issue with PPCP APMs interfaces generation by updating names of the interfaces ([#1985](https://github.com/bigcommerce/checkout-sdk-js/issues/1985)) ([17854d4](https://github.com/bigcommerce/checkout-sdk-js/commit/17854d47200282eecfdf64fc891578841e658fec))
### [1.381.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.381.0...v1.381.1) (2023-05-18)
### Bug Fixes
* **payment:** BOLT-577 Bolt initialization error on customer step ([0be07d0](https://github.com/bigcommerce/checkout-sdk-js/commit/0be07d0eda509d15199fad5aa1a30f13e5f6361d))
## [1.381.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.380.1...v1.381.0) (2023-05-16)
### Features
* **payment:** INT-7573 Create Access Worldpay GooglePay strategy ([#1966](https://github.com/bigcommerce/checkout-sdk-js/issues/1966)) ([e5134f4](https://github.com/bigcommerce/checkout-sdk-js/commit/e5134f48df85706fa7c7e56f6297c23d803356ef))
### Bug Fixes
* **payment:** BOLT-577 Bolt initialization error on customer step ([404bde5](https://github.com/bigcommerce/checkout-sdk-js/commit/404bde535861fd7d4d6945591e2b07208194d182))
### Code Refactoring
* **payment:** PAYPAL-2414 added PayPalCommerceIntegrationService method creation ([#1970](https://github.com/bigcommerce/checkout-sdk-js/issues/1970)) ([2130c3e](https://github.com/bigcommerce/checkout-sdk-js/commit/2130c3e474210c4b580a8ea808d38bea55348cec))
### [1.380.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.380.0...v1.380.1) (2023-05-12)
### Bug Fixes
* **payment:** PAYPAL-2370 updated incoming parameters for ACH ([#1973](https://github.com/bigcommerce/checkout-sdk-js/issues/1973)) ([74d17be](https://github.com/bigcommerce/checkout-sdk-js/commit/74d17be3cb24e197a5d1aeedb19add98041ccc19))
## [1.380.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.379.0...v1.380.0) (2023-05-11)
### Features
* **payment:** INT-7516 SquareV2: Throw a `PaymentExecuteError` if tokenization fails ([#1971](https://github.com/bigcommerce/checkout-sdk-js/issues/1971)) ([663f8b7](https://github.com/bigcommerce/checkout-sdk-js/commit/663f8b7bad8d9b7497af5e38853fee44960154e5))
## [1.379.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.378.0...v1.379.0) (2023-05-08)
### Features
* **payment:** PAYPAL-1713 braintree ach strategy ([#1891](https://github.com/bigcommerce/checkout-sdk-js/issues/1891)) ([9f262be](https://github.com/bigcommerce/checkout-sdk-js/commit/9f262bef7290709c6f522465ab7bca54f9bfe2c8))
## [1.378.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.377.0...v1.378.0) (2023-05-08)
### Features
* **payment:** BOLT-484 Add styling for Bolt Button on PDP ([7837d94](https://github.com/bigcommerce/checkout-sdk-js/commit/7837d9435dac0c7e0d4d075b7fb0b67477f3027f))
* **payment:** BOLT-484 Add styling for Bolt Button on PDP ([6ead002](https://github.com/bigcommerce/checkout-sdk-js/commit/6ead002167a27552502ca3001df5437ab6222542))
## [1.377.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.376.1...v1.377.0) (2023-05-02)
### Features
* **payment:** INT-7173 BlueSnapDirect: Create payment strategy for ACH/ECP ([756a4c6](https://github.com/bigcommerce/checkout-sdk-js/commit/756a4c6956aac9586e82a0a3bb7c07930c35e44b))
* **payment:** PAYPAL-2013 added enable-funding to properly display paylater button ([#1958](https://github.com/bigcommerce/checkout-sdk-js/issues/1958)) ([ad4d9ee](https://github.com/bigcommerce/checkout-sdk-js/commit/ad4d9ee939bfa72068b9e018435fecfa6a940d56))
### Bug Fixes
* **payment:** INT-7173 BlueSnapDirect: Revert [#1917](https://github.com/bigcommerce/checkout-sdk-js/issues/1917) ([b9dd694](https://github.com/bigcommerce/checkout-sdk-js/commit/b9dd6947e899d5a5d563279795450f6969750bb9))
### [1.376.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.376.0...v1.376.1) (2023-04-27)
### Bug Fixes
* **payment:** PAYPAL-2036 added shippingAddressEditable option to Braintree payment configuration ([#1962](https://github.com/bigcommerce/checkout-sdk-js/issues/1962)) ([98c189a](https://github.com/bigcommerce/checkout-sdk-js/commit/98c189a05d1802dd02a75e6751f92bda1a644d57))
## [1.376.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.375.0...v1.376.0) (2023-04-26)
### Features
* **payment:** BOLT-458 Move Bolt customer strategy to new Bolt package ([f8508d9](https://github.com/bigcommerce/checkout-sdk-js/commit/f8508d9366714d1b1bc7078335f78d1b4254b0fe))
## [1.375.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.8...v1.375.0) (2023-04-26)
### Features
* **payment:** INT-7557 BlueSnapDirect: Implement 3DS 2 ([#1925](https://github.com/bigcommerce/checkout-sdk-js/issues/1925)) ([6574134](https://github.com/bigcommerce/checkout-sdk-js/commit/6574134019c07124191633adf469859f987a521e))
### [1.374.8](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.7...v1.374.8) (2023-04-25)
### Code Refactoring
* **payment:** PAYPAL-1895 removed paypal commerce code from core package ([#1960](https://github.com/bigcommerce/checkout-sdk-js/issues/1960)) ([87cfdc4](https://github.com/bigcommerce/checkout-sdk-js/commit/87cfdc4754be9e52fdf06afc7257e3601c3cf664))
### [1.374.7](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.6...v1.374.7) (2023-04-25)
### Code Refactoring
* **payment:** PAYPAL-2365 added PayPalCommerceVenmo payment strategy to paypal-commerce-integration package ([#1955](https://github.com/bigcommerce/checkout-sdk-js/issues/1955)) ([abf339a](https://github.com/bigcommerce/checkout-sdk-js/commit/abf339a619b137a4e34e32f1e164bde9d05c48d1))
### [1.374.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.5...v1.374.6) (2023-04-24)
### Code Refactoring
* **payment:** PAYPAL-000 updated PayPalCommercePaymentInitializeOptions.md file due to last changes ([#1954](https://github.com/bigcommerce/checkout-sdk-js/issues/1954)) ([d0a59bf](https://github.com/bigcommerce/checkout-sdk-js/commit/d0a59bf99e6a2395543e4bc0d20f74cb72383f29))
### [1.374.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.4...v1.374.5) (2023-04-24)
### Code Refactoring
* **payment:** PAYPAL-2366 added PayPalCommerceCredit payment strategy to paypal-commerce-integration package ([#1953](https://github.com/bigcommerce/checkout-sdk-js/issues/1953)) ([7729bd8](https://github.com/bigcommerce/checkout-sdk-js/commit/7729bd8aa9ea655a16f6e9b3e9195c434e3bc301))
### [1.374.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.3...v1.374.4) (2023-04-24)
### Code Refactoring
* **payment:** PAYPAL-2367 added PayPalCommercePaymentStrategy to paypal-commerce-integration package ([#1947](https://github.com/bigcommerce/checkout-sdk-js/issues/1947)) ([50644be](https://github.com/bigcommerce/checkout-sdk-js/commit/50644beb0a8b115dfb543528a747ce6e93de389b))
### [1.374.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.2...v1.374.3) (2023-04-24)
### Code Refactoring
* **payment:** PAYPAL-1894 added PayPalCommerceAlternativeMethodsPaymentStrategy to paypal-commerce-integration package ([#1941](https://github.com/bigcommerce/checkout-sdk-js/issues/1941)) ([b242527](https://github.com/bigcommerce/checkout-sdk-js/commit/b2425270818cc011e53868b5b4f331f931888e7a))
### [1.374.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.1...v1.374.2) (2023-04-18)
### Bug Fixes
* **common:** CHECKOUT-7381 Update resolver mechanism ([#1946](https://github.com/bigcommerce/checkout-sdk-js/issues/1946)) ([3e65f82](https://github.com/bigcommerce/checkout-sdk-js/commit/3e65f824585ee50d8298d079a6898c5b39c12419))
### [1.374.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.374.0...v1.374.1) (2023-04-14)
### Code Refactoring
* **payment:** PAYPAL-0000 added export for getBillingAddress method in payment-integration-test-utils ([#1949](https://github.com/bigcommerce/checkout-sdk-js/issues/1949)) ([5d3c189](https://github.com/bigcommerce/checkout-sdk-js/commit/5d3c1893c4d12b1644e75ac2ba1a828ce7daaac2))
## [1.374.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.373.0...v1.374.0) (2023-04-13)
### Features
* **payment:** PAYPAL-2050 fixed google pay button for safari and mozilla ([#1928](https://github.com/bigcommerce/checkout-sdk-js/issues/1928)) ([94ea76e](https://github.com/bigcommerce/checkout-sdk-js/commit/94ea76e9abcfd04e29aa31e7004018830177155d))
## [1.373.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.372.0...v1.373.0) (2023-04-13)
### Features
* **checkout:** ADYEN-775 update of intialization interface for Adyenv3 ([aff778f](https://github.com/bigcommerce/checkout-sdk-js/commit/aff778fa6afc3ea99ac7247470c71906b71dc5c1))
## [1.372.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.5...v1.372.0) (2023-04-13)
### Features
* **payment:** PAYPAL-2195 added buttonClassName ([#1943](https://github.com/bigcommerce/checkout-sdk-js/issues/1943)) ([f04c277](https://github.com/bigcommerce/checkout-sdk-js/commit/f04c277b29d21968313232edce2631d438cb319c))
### [1.371.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.4...v1.371.5) (2023-04-11)
### Code Refactoring
* **payment:** PAYPAL-000 added billing address mock to payment-integrations-test-utils package ([#1945](https://github.com/bigcommerce/checkout-sdk-js/issues/1945)) ([734b348](https://github.com/bigcommerce/checkout-sdk-js/commit/734b34846bb434737e8a11eadc294b39b562a71d))
* **payment:** PAYPAL-000 added timeout error to payment-integration-api package ([#1942](https://github.com/bigcommerce/checkout-sdk-js/issues/1942)) ([6c2f1dd](https://github.com/bigcommerce/checkout-sdk-js/commit/6c2f1ddd9f946e61e65b4c80c139d071e7ba9188))
### [1.371.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.3...v1.371.4) (2023-04-04)
### [1.371.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.2...v1.371.3) (2023-04-04)
### [1.371.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.1...v1.371.2) (2023-03-30)
### Code Refactoring
* **payment:** PAYPAL-000 added paypal commerce integration service mock to simplify test files ([#1926](https://github.com/bigcommerce/checkout-sdk-js/issues/1926)) ([b9265af](https://github.com/bigcommerce/checkout-sdk-js/commit/b9265af8e6b2efd16c8b8022fba63c09cb54eeeb))
### [1.371.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.371.0...v1.371.1) (2023-03-28)
### Code Refactoring
* **payment:** PAYPAL-2078 removed PayPalCommerceInlineCheckoutButtonStrategy ([#1922](https://github.com/bigcommerce/checkout-sdk-js/issues/1922)) ([7d586db](https://github.com/bigcommerce/checkout-sdk-js/commit/7d586db8f65cba45419cb7c29350084fc3963a15))
## [1.371.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.370.0...v1.371.0) (2023-03-27)
### Features
* **payment:** PAYPAL-2004 added ability to change style for amazonpay button ([#1914](https://github.com/bigcommerce/checkout-sdk-js/issues/1914)) ([3019104](https://github.com/bigcommerce/checkout-sdk-js/commit/30191047cbc9719664680a375ce026123ab18328))
## [1.370.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.369.2...v1.370.0) (2023-03-27)
### Features
* **payment:** BOLT-483 Create Bolt button strategy ([ace611f](https://github.com/bigcommerce/checkout-sdk-js/commit/ace611fb0370b555d4a8deb428f1309bd8120cbb))
### [1.369.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.369.1...v1.369.2) (2023-03-23)
### Code Refactoring
* **payment:** PAYPAL-000 removed useless utils method from paypal-commerce-integration package ([#1911](https://github.com/bigcommerce/checkout-sdk-js/issues/1911)) ([7159071](https://github.com/bigcommerce/checkout-sdk-js/commit/7159071fc3d998a21ceae25970c7136a9ac86f59))
* **payment:** PAYPAL-1893 removed PayPalCommerceCreditCards related code from core package ([#1910](https://github.com/bigcommerce/checkout-sdk-js/issues/1910)) ([a3fb70e](https://github.com/bigcommerce/checkout-sdk-js/commit/a3fb70e11dec18b498c7239b0d64003effae4601))
### [1.369.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.369.0...v1.369.1) (2023-03-23)
### Code Refactoring
* **payment:** PAYPAL-1893 added PayPalCommerceCreditCardsPaymentStrategy to paypal-commerce-integration package ([#1887](https://github.com/bigcommerce/checkout-sdk-js/issues/1887)) ([329676f](https://github.com/bigcommerce/checkout-sdk-js/commit/329676f996de5b3784f8fce5a70386319878a37b))
## [1.369.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.368.0...v1.369.0) (2023-03-22)
### Features
* **payment:** PAYPAL-000 added isCreditCardFormFields typeguard instead of isStoredCreditCardFormFields ([#1909](https://github.com/bigcommerce/checkout-sdk-js/issues/1909)) ([d30187d](https://github.com/bigcommerce/checkout-sdk-js/commit/d30187d2deb3eb9dc5c62386751a956035e57308))
## [1.368.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.367.2...v1.368.0) (2023-03-21)
### Features
* **checkout:** CHECKOUT-7250 Add floatingLabelEnabled UXsetting ([#1912](https://github.com/bigcommerce/checkout-sdk-js/issues/1912)) ([120253b](https://github.com/bigcommerce/checkout-sdk-js/commit/120253ba17f4fda5b95f12d8334f8ced25878a5d))
### [1.367.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.367.1...v1.367.2) (2023-03-21)
### Bug Fixes
* **payment:** INT-7044 BlueSnapDirect: Change identifier for credit card ([#1917](https://github.com/bigcommerce/checkout-sdk-js/issues/1917)) ([214928f](https://github.com/bigcommerce/checkout-sdk-js/commit/214928f846012000ab6bc11e425ab17d6807d2bf))
### [1.367.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.367.0...v1.367.1) (2023-03-21)
### Bug Fixes
* **payment:** ADYEN-733 fix ideal validation issue for adyenv2/v3 ([6458a84](https://github.com/bigcommerce/checkout-sdk-js/commit/6458a840ce66aa4574576b6d3a34400af714ddfc))
## [1.367.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.366.0...v1.367.0) (2023-03-20)
### Features
* **payment:** PAYPAL-2006 Created paypal-express-integration Checkout sdk package ([#1882](https://github.com/bigcommerce/checkout-sdk-js/issues/1882)) ([e850965](https://github.com/bigcommerce/checkout-sdk-js/commit/e8509657f7e61f46c7eedd9db3aca50c0c10e6ba))
## [1.366.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.365.1...v1.366.0) (2023-03-20)
### Features
* **payment:** PAYPAL-1906 Create braintree checkout-sdk package ([0d523df](https://github.com/bigcommerce/checkout-sdk-js/commit/0d523df55949cf666b400ef0d54fbfca69de1cef))
### [1.365.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.365.0...v1.365.1) (2023-03-20)
### Code Refactoring
* **payment:** BOLT-000 add generic type for getPaymentMethod ([e9b03e2](https://github.com/bigcommerce/checkout-sdk-js/commit/e9b03e2af6bf13b3901f10c7b93f1e1a01d0c405))
## [1.365.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.364.2...v1.365.0) (2023-03-20)
### Features
* **payment:** INT-7044 BlueSnapDirect: Add payment strategy for credit card ([#1811](https://github.com/bigcommerce/checkout-sdk-js/issues/1811)) ([90fbd9f](https://github.com/bigcommerce/checkout-sdk-js/commit/90fbd9fb2ead83ddf592ad91540dac62f56c8d5c))
### [1.364.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.364.1...v1.364.2) (2023-03-15)
### Bug Fixes
* **payment:** CHECKOUT-000 Fix exported type ([#1904](https://github.com/bigcommerce/checkout-sdk-js/issues/1904)) ([05e6ff1](https://github.com/bigcommerce/checkout-sdk-js/commit/05e6ff1b8679e0e2e122d77e7b32e304963082ca))
### [1.364.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.364.0...v1.364.1) (2023-03-15)
### Bug Fixes
* **payment:** CHECKOUT-000 Expose hosted form error to exported typings ([#1903](https://github.com/bigcommerce/checkout-sdk-js/issues/1903)) ([4c691c6](https://github.com/bigcommerce/checkout-sdk-js/commit/4c691c6e7fee04390912e8a2fda2782479707a1b))
## [1.364.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.363.0...v1.364.0) (2023-03-14)
### Features
* **payment:** PAYPAL-000 added isStoredCreditCardFormFields typeguard to payment-integration-api package ([#1894](https://github.com/bigcommerce/checkout-sdk-js/issues/1894)) ([7f4bb36](https://github.com/bigcommerce/checkout-sdk-js/commit/7f4bb36e9ff53a681c9dacbf02903ce9916f03d0))
* **payment:** PAYPAL-000 added objectWithKebabKeys utility function to payment-integration-api package ([#1893](https://github.com/bigcommerce/checkout-sdk-js/issues/1893)) ([1b76f0b](https://github.com/bigcommerce/checkout-sdk-js/commit/1b76f0bfe8fe4c2055d26cdf78b5029b6bec0083))
* **payment:** PAYPAL-1962 fixed paypal venmo button ([#1899](https://github.com/bigcommerce/checkout-sdk-js/issues/1899)) ([c9f2886](https://github.com/bigcommerce/checkout-sdk-js/commit/c9f28861e01631b73f5bab6ef7d30754ae22df5c))
## [1.363.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.362.0...v1.363.0) (2023-03-13)
### Features
* **payment:** BOLT-409 Create Bolt package in checkout-sdk-js ([ceead0b](https://github.com/bigcommerce/checkout-sdk-js/commit/ceead0b8df66c84f132c109514cf209e9e13f8fd))
## [1.362.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.361.1...v1.362.0) (2023-03-10)
### Features
* **payment:** PAYPAL-000 added HostedForm exports to payment-integration-api index file ([#1892](https://github.com/bigcommerce/checkout-sdk-js/issues/1892)) ([aa1ca1d](https://github.com/bigcommerce/checkout-sdk-js/commit/aa1ca1da41c7ef972745ee6ad019b74b0d2ea0aa))
### [1.361.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.361.0...v1.361.1) (2023-03-09)
### Bug Fixes
* **payment:** INT-7463 Fixed problem with cards vaulted with 3ds in the hosted form flow ([7a82aeb](https://github.com/bigcommerce/checkout-sdk-js/commit/7a82aebda22b3d8776b4d121cf48fbd90da1d465))
## [1.361.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.360.0...v1.361.0) (2023-03-07)
### Features
* **checkout:** CHECKOUT-7313 Introduce wallet button support selectors ([#1886](https://github.com/bigcommerce/checkout-sdk-js/issues/1886)) ([086298c](https://github.com/bigcommerce/checkout-sdk-js/commit/086298c345280bca532d3f1ec8258bb8a9c1792f))
## [1.360.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.359.0...v1.360.0) (2023-03-06)
### Features
* **payment:** PAYMENTS-8527 expose interface for real time host form filed validation for braintree ([44f8012](https://github.com/bigcommerce/checkout-sdk-js/commit/44f8012afd85a81e0066aad3c9898724a867439e))
### Code Refactoring
* **common:** PAYMENTS-8527 add braintree error data interface based on pr comment ([5950a8f](https://github.com/bigcommerce/checkout-sdk-js/commit/5950a8ffe30d0af7d1d89185122c486a8ee0afff))
## [1.359.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.358.1...v1.359.0) (2023-02-28)
### Features
* **payment:** PAYPAL-1985 added loadDefaultCheckout onCanclel to avoid potential errors ([#1873](https://github.com/bigcommerce/checkout-sdk-js/issues/1873)) ([3902e74](https://github.com/bigcommerce/checkout-sdk-js/commit/3902e74f8f1db6df5309cb4e3523eea7f6a521d5))
### [1.358.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.358.0...v1.358.1) (2023-02-27)
### Bug Fixes
* **shipping:** STRIPE-202 Split name input into First and Last name ([#1675](https://github.com/bigcommerce/checkout-sdk-js/issues/1675)) ([1b920a1](https://github.com/bigcommerce/checkout-sdk-js/commit/1b920a18cc816ccca318611e7e968a5281664560))
## [1.358.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.357.1...v1.358.0) (2023-02-27)
### Features
* **payment:** INT-6312 klarnav2 increase code coverage ([0ce8c7f](https://github.com/bigcommerce/checkout-sdk-js/commit/0ce8c7fa99ae14a51e28d81be2588da57b163e58))
### Code Refactoring
* **checkout:** CHECKOUT-7304 Change PayPal wallet buttons height ([#1878](https://github.com/bigcommerce/checkout-sdk-js/issues/1878)) ([4089b00](https://github.com/bigcommerce/checkout-sdk-js/commit/4089b0088bb34d452866febc9f2d91f5a3a9bd8e))
### [1.357.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.357.0...v1.357.1) (2023-02-23)
### Bug Fixes
* **payment:** PAYPAL-1991 fixed GooglePay for adyenV2 and adyenV3 ([#1863](https://github.com/bigcommerce/checkout-sdk-js/issues/1863)) ([c89471d](https://github.com/bigcommerce/checkout-sdk-js/commit/c89471d858ae2e4025913a83689bc28e76141df8))
* **payment:** PAYPAL-1992 fixed GooglePay for BNZ ([#1864](https://github.com/bigcommerce/checkout-sdk-js/issues/1864)) ([f6d87f3](https://github.com/bigcommerce/checkout-sdk-js/commit/f6d87f3b86ee244720a51ef01d3a7f700c373bf4))
* **payment:** PAYPAL-1995 fixed GooglePay for Authorize Net ([afdfb09](https://github.com/bigcommerce/checkout-sdk-js/commit/afdfb09aa40c3df91ace416b6f292f2bc1d73ad1))
* **payment:** PAYPAL-1996 fixed GooglePay for CheckoutCom ([f978dfb](https://github.com/bigcommerce/checkout-sdk-js/commit/f978dfba00c519cbcf7660e384f910ad16c1b11e))
## [1.357.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.356.0...v1.357.0) (2023-02-23)
### Features
* **payment:** BOLT-469 move AnalyticsTrackerWindow to analytics package ([3cccf14](https://github.com/bigcommerce/checkout-sdk-js/commit/3cccf14eaa451c34bd328c2753a30120566f27ed))
* **payment:** BOLT-469 move AnalyticsTrackerWindow to analytics package ([cba87f8](https://github.com/bigcommerce/checkout-sdk-js/commit/cba87f808fbc605d4c4b97ea32ea7b957876546b))
## [1.356.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.355.0...v1.356.0) (2023-02-23)
### Features
* **payment:** PAYPAL-1999 make Stripe Google Pay compatible with BuyNow cart ([#1870](https://github.com/bigcommerce/checkout-sdk-js/issues/1870)) ([043bc85](https://github.com/bigcommerce/checkout-sdk-js/commit/043bc85d9ab635f19ec430cd34ac5f2173a0bb43))
## [1.355.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.354.0...v1.355.0) (2023-02-23)
### Features
* **payment:** PAYPAL-1998 make Orbital Google Pay compatible with Buy Now cart ([#1867](https://github.com/bigcommerce/checkout-sdk-js/issues/1867)) ([f66b3cd](https://github.com/bigcommerce/checkout-sdk-js/commit/f66b3cd6bb76b0f4f8d6ec963f5e7325d254cd16))
## [1.354.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.353.1...v1.354.0) (2023-02-23)
### Features
* **payment:** PAYPAL-1997 make CyberSourceV2 Google Pay compatible with Buy Now cart ([#1862](https://github.com/bigcommerce/checkout-sdk-js/issues/1862)) ([b4e33e9](https://github.com/bigcommerce/checkout-sdk-js/commit/b4e33e966b1b260e5f68bed23df2ee0c03ff36a4))
### [1.353.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.353.0...v1.353.1) (2023-02-23)
### Bug Fixes
* **payment:** PAYPAL-1993 make StripeUPE Google Pay compatible with Buy Now cart ([#1869](https://github.com/bigcommerce/checkout-sdk-js/issues/1869)) ([bc55b0a](https://github.com/bigcommerce/checkout-sdk-js/commit/bc55b0ab8389041567c3aad605873667f25437a5))
## [1.353.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.352.0...v1.353.0) (2023-02-22)
### Features
* **payment:** BOLT-470 move LegacyAddress to payment-integration-package package ([d1677dc](https://github.com/bigcommerce/checkout-sdk-js/commit/d1677dce5d548fd876a2d507e58f35da8a07daaf))
* **payment:** BOLT-470 move LegacyAddress to payment-integration-package package ([f92f5fe](https://github.com/bigcommerce/checkout-sdk-js/commit/f92f5fe3a697e91e2ba6fab56c0b4b7ea90743e3))
## [1.352.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.351.0...v1.352.0) (2023-02-21)
### Features
* **payment:** BOLT-465 move AnalyticsExtraItemsManager to payment-integration-api package ([65450ad](https://github.com/bigcommerce/checkout-sdk-js/commit/65450ad814979e791a1761d94652f92d96c010d1))
## [1.351.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.350.1...v1.351.0) (2023-02-20)
### Features
* **payment:** PAYMENTS-8493 add untrusted shipping address card verification mode to card instrument ([1990998](https://github.com/bigcommerce/checkout-sdk-js/commit/199099807c49640fa6ab5cf6f90cd8ae0a92530e))
### [1.350.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.350.0...v1.350.1) (2023-02-20)
### Code Refactoring
* **payment:** PAYPAL-1971 removed initializesOnCheckout page property from PayPalCommerce initialize button options ([#1859](https://github.com/bigcommerce/checkout-sdk-js/issues/1859)) ([bdcf195](https://github.com/bigcommerce/checkout-sdk-js/commit/bdcf1952d194b261447e46cfbcf09b1b824c615f))
* **payment:** PAYPAL-1983 removed layout and tagline styles property from PayPalCommerceButtons config ([#1858](https://github.com/bigcommerce/checkout-sdk-js/issues/1858)) ([5a1a2fd](https://github.com/bigcommerce/checkout-sdk-js/commit/5a1a2fdb5515e5a8dc1c34015b04e5c36dc72d48))
## [1.350.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.349.0...v1.350.0) (2023-02-20)
### Features
* **payment:** BOLT-463 add applyStoreCredit to PaymentIntegrationService ([52ece0e](https://github.com/bigcommerce/checkout-sdk-js/commit/52ece0e42ad669af2667cd467d59bb77e1e79962))
## [1.349.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.6...v1.349.0) (2023-02-20)
### Features
* **payment:** BOLT-462 move PaymentMethodInvalidError to paymant-integration-api package ([cde7a55](https://github.com/bigcommerce/checkout-sdk-js/commit/cde7a55c171149504e71d0c8177308cf9b7d446a))
### [1.348.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.5...v1.348.6) (2023-02-17)
### Code Refactoring
* **payment:** PAYPAL-1979 updated PayPalCommerceCreditButtonStrategy with PayPalCommerceIntegrationService ([#1856](https://github.com/bigcommerce/checkout-sdk-js/issues/1856)) ([694d2c2](https://github.com/bigcommerce/checkout-sdk-js/commit/694d2c214f99a65b4f0a41dcb24c31736d90b2f8))
### [1.348.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.4...v1.348.5) (2023-02-17)
### Code Refactoring
* **payment:** PAYPAL-1980 updated PayPalCommerceCreditCustomer strategy with PayPalCommerceIntegrationService ([#1855](https://github.com/bigcommerce/checkout-sdk-js/issues/1855)) ([35fccff](https://github.com/bigcommerce/checkout-sdk-js/commit/35fccff3e4567278013f9648cdafcdf98e861695))
### [1.348.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.3...v1.348.4) (2023-02-16)
### Bug Fixes
* **checkout:** ADYEN-588 update payment data request on wallet button click googlepay ([7e1b0af](https://github.com/bigcommerce/checkout-sdk-js/commit/7e1b0af92e448b9d439a15fc1c0a1b3a759f41b8))
### Code Refactoring
* **payment:** PAYPAL-1981 updated PayPalCommerceVenmoButtonStrategy with PayPalCommerceIntegrationService ([#1851](https://github.com/bigcommerce/checkout-sdk-js/issues/1851)) ([af741dc](https://github.com/bigcommerce/checkout-sdk-js/commit/af741dc3b87b06b952b93f3a1ec551527088d675))
### [1.348.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.2...v1.348.3) (2023-02-16)
### Code Refactoring
* **payment:** PAYPAL-1982 updated PayPalCommerceVenmoCustomerStrategy with PayPalCommerceIntegrationService ([#1850](https://github.com/bigcommerce/checkout-sdk-js/issues/1850)) ([27797cb](https://github.com/bigcommerce/checkout-sdk-js/commit/27797cb9fa994f648754f4f0b1cb40e6197274dd))
### [1.348.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.1...v1.348.2) (2023-02-16)
### Code Refactoring
* **payment:** PAYPAL-1978 updated PayPalCommerceAlternativeMethodsButtonStrategy with PayPalCommerceIntegrationService ([#1849](https://github.com/bigcommerce/checkout-sdk-js/issues/1849)) ([48aaa1d](https://github.com/bigcommerce/checkout-sdk-js/commit/48aaa1df4cdae9e2a0cf9be45a9aa84c57fc10d6))
### [1.348.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.348.0...v1.348.1) (2023-02-16)
### Code Refactoring
* **payment:** PAYPAL-1973 updated PayPalCommerceCustomerStrategy with PayPalCommerceIntegrationService ([#1845](https://github.com/bigcommerce/checkout-sdk-js/issues/1845)) ([13d526b](https://github.com/bigcommerce/checkout-sdk-js/commit/13d526b82450ba7e089c024fd5f5cedf471d55b0))
## [1.348.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.347.0...v1.348.0) (2023-02-15)
### Features
* **payment:** BOLT-459 move ErrorResponseBody to paymant-integration-api package ([de7fbd7](https://github.com/bigcommerce/checkout-sdk-js/commit/de7fbd71e9df0d6cfa02fe1c7e41dd3f3010abbc))
## [1.347.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.346.0...v1.347.0) (2023-02-15)
### Features
* **payment:** PAYPAL-1919 added PayPalCommerceCommon class with utils methods inside for paypal-commerce-integration package ([#1838](https://github.com/bigcommerce/checkout-sdk-js/issues/1838)) ([964b0c3](https://github.com/bigcommerce/checkout-sdk-js/commit/964b0c37b2fa2af13e0b1b6b1273012e37f665b3))
### Code Refactoring
* **payment:** PAYPAL-1919 replaced PayPalCommerceCommon name with PayPalCommerceIntegrationService ([#1842](https://github.com/bigcommerce/checkout-sdk-js/issues/1842)) ([b9e5a0f](https://github.com/bigcommerce/checkout-sdk-js/commit/b9e5a0f6a5f6a370dff42e0e1ffdb0791805941a))
## [1.346.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.345.1...v1.346.0) (2023-02-14)
### Features
* **payment:** STRIPE-200 add stripe phone field ([#1681](https://github.com/bigcommerce/checkout-sdk-js/issues/1681)) ([eabb2f3](https://github.com/bigcommerce/checkout-sdk-js/commit/eabb2f3faa02be36dc9beac5f4df3ee6bbedbca2))
### [1.345.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.345.0...v1.345.1) (2023-02-13)
### Code Refactoring
* **checkout:** CHECKOUT-0000 Remove ApplePay button style ([#1836](https://github.com/bigcommerce/checkout-sdk-js/issues/1836)) ([185b35a](https://github.com/bigcommerce/checkout-sdk-js/commit/185b35a9d8a92d40a40affac9796cb572be50f65))
## [1.345.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.344.0...v1.345.0) (2023-02-13)
### Features
* **payment:** PAYPAL-1837 Create paypalcommercecredit customer button strategy ([db2d919](https://github.com/bigcommerce/checkout-sdk-js/commit/db2d919fec2b73505bb797db9951a13522ee4f1b))
## [1.344.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.343.0...v1.344.0) (2023-02-13)
### Features
* **payment:** PAYPAL-1838 Create paypalcommercevenmo customer button strategy ([f170b1c](https://github.com/bigcommerce/checkout-sdk-js/commit/f170b1c7d5aefd318ef82b5e63b6cfde4bb29ebd))
* **payment:** PAYPAL-1838 Create paypalcommercevenmo customer button strategy ([7c7eec7](https://github.com/bigcommerce/checkout-sdk-js/commit/7c7eec75576ce419e2f594b1d2a4366d4dce44b0))
## [1.343.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.342.0...v1.343.0) (2023-02-10)
### Features
* **checkout:** CHECKOUT-7231 Add getUserExperienceSettings selector ([#1834](https://github.com/bigcommerce/checkout-sdk-js/issues/1834)) ([c204427](https://github.com/bigcommerce/checkout-sdk-js/commit/c204427487409b4cb0848da7b228d2749bed6fd5))
## [1.342.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.341.0...v1.342.0) (2023-02-09)
### Features
* **payment:** INT-7044 BlueSnapDirect: Pass options to `loadPaymentMethod` ([#1810](https://github.com/bigcommerce/checkout-sdk-js/issues/1810)) ([4bf09ff](https://github.com/bigcommerce/checkout-sdk-js/commit/4bf09ffa34003283678fc4e80d27648976547e67))
## [1.341.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.340.0...v1.341.0) (2023-02-09)
### Features
* **payment:** PAYPAL-1634 added ability for applepay spb to work with buyNowCart on PDP ([#1809](https://github.com/bigcommerce/checkout-sdk-js/issues/1809)) ([0490606](https://github.com/bigcommerce/checkout-sdk-js/commit/049060659cb6bcf380177343697420b85767abf6))
## [1.340.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.339.0...v1.340.0) (2023-02-09)
### Features
* **checkout:** CHECKOUT-7231 Update checkoutUserExperienceSettings ([#1831](https://github.com/bigcommerce/checkout-sdk-js/issues/1831)) ([24d6f87](https://github.com/bigcommerce/checkout-sdk-js/commit/24d6f87a6bfe64eaefbf7384eb5009dc71399b5c))
## [1.339.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.338.0...v1.339.0) (2023-02-09)
### Features
* **checkout:** CHECKOUT-7231 Add checkoutUXSettings to interface ([#1825](https://github.com/bigcommerce/checkout-sdk-js/issues/1825)) ([5191b61](https://github.com/bigcommerce/checkout-sdk-js/commit/5191b61d7aa8d0e8dbe10f28fa190c39f5a3a5cd))
## [1.338.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.337.0...v1.338.0) (2023-02-08)
### Features
* **payment:** PAYPAL-1930 added intent param to Braintree sdk and to the paypal order creation config ([#1826](https://github.com/bigcommerce/checkout-sdk-js/issues/1826)) ([5166212](https://github.com/bigcommerce/checkout-sdk-js/commit/51662123f0fc567aff9dcfabcdadfc41bde2eb42))
## [1.337.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.336.2...v1.337.0) (2023-02-07)
### Features
* **payment:** PAYPAL-1959 provided buyer-country to the paypal sdk config for dev mode ([#1823](https://github.com/bigcommerce/checkout-sdk-js/issues/1823)) ([556089d](https://github.com/bigcommerce/checkout-sdk-js/commit/556089dd9c1b4e64a10709cbdf511b853615fd49))
* **payment:** PAYPAL-1959 provided buyer-country to the paypal sdk config for dev mode ([#1823](https://github.com/bigcommerce/checkout-sdk-js/issues/1823)) ([c74a729](https://github.com/bigcommerce/checkout-sdk-js/commit/c74a7294b4d9d79af700f9294d80dbd2bde94f04))
### [1.336.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.336.1...v1.336.2) (2023-02-07)
### Bug Fixes
* **payment:** PAYPAL-1926 added extra shipping option selection if there is no recommended options available ([#1822](https://github.com/bigcommerce/checkout-sdk-js/issues/1822)) ([aa90493](https://github.com/bigcommerce/checkout-sdk-js/commit/aa904939d07c3247d5fd9923abb47e5aff6ff96d))
### [1.336.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.336.0...v1.336.1) (2023-02-07)
### Code Refactoring
* **payment:** PAYPAL-1921 removed unnecessary PayPalCommerceAlternativeMethods v2 transformation in payment request transformer file ([#1821](https://github.com/bigcommerce/checkout-sdk-js/issues/1821)) ([9c5caf6](https://github.com/bigcommerce/checkout-sdk-js/commit/9c5caf6b9de821397ba1ea900462ff0bbd467a12))
## [1.336.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.335.2...v1.336.0) (2023-02-06)
### Features
* **payment:** PAYPAL-1888 added PayPalCommerceButtonStrategy to paypal-commerce-integration package ([#1801](https://github.com/bigcommerce/checkout-sdk-js/issues/1801)) ([08d8555](https://github.com/bigcommerce/checkout-sdk-js/commit/08d855529eaae5290935aaad7df3a025a6af4d3d))
* **payment:** PAYPAL-1892 added PayPalCommerceAlternativeMethodsButtonStrategy to paypal-commerce-integration ([#1817](https://github.com/bigcommerce/checkout-sdk-js/issues/1817)) ([4c4b51b](https://github.com/bigcommerce/checkout-sdk-js/commit/4c4b51b152d22e9965777eb882d6af8a4a03b28f))
### Bug Fixes
* **payment:** PAYPAL-000 updated paypal commerce tests to fix some issues with CI build in other pr ([#1820](https://github.com/bigcommerce/checkout-sdk-js/issues/1820)) ([8074a16](https://github.com/bigcommerce/checkout-sdk-js/commit/8074a165abbc46d7ddb5d6f385f992139861959d))
### Code Refactoring
* **payment:** PAYPAL-000 removed paypal commerce checkout button strategies from core package ([#1818](https://github.com/bigcommerce/checkout-sdk-js/issues/1818)) ([615766e](https://github.com/bigcommerce/checkout-sdk-js/commit/615766e1c104e65ec35d19e00dbc068b60aa9bdf))
* **payment:** PAYPAL-1889 added PayPalCommerceCreditButtonStrategy to paypal-commerce-integration package ([#1815](https://github.com/bigcommerce/checkout-sdk-js/issues/1815)) ([8855fe4](https://github.com/bigcommerce/checkout-sdk-js/commit/8855fe4bbe8529352eb32620351dce5d72e4aaf3))
* **payment:** PAYPAL-1891 added PayPalCommerceVenmoButtonStrategy to paypal commerce integration package ([#1813](https://github.com/bigcommerce/checkout-sdk-js/issues/1813)) ([a805af7](https://github.com/bigcommerce/checkout-sdk-js/commit/a805af7940d84bc26b878d6ad20af91bea492b54))
### [1.335.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.335.1...v1.335.2) (2023-02-02)
### [1.335.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.335.0...v1.335.1) (2023-02-02)
### Bug Fixes
* **payment:** STRIPE-287 Fixed error when using vaulted card L2/L3 field appear as null on dashboard ([#1779](https://github.com/bigcommerce/checkout-sdk-js/issues/1779)) ([be221e5](https://github.com/bigcommerce/checkout-sdk-js/commit/be221e58e0ad17f9651008e47f41d4ead31fed45))
## [1.335.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.334.0...v1.335.0) (2023-02-01)
### Features
* **payment:** PAYPAL-1913 Create braintreevenmo payment strategy ([d8a57e3](https://github.com/bigcommerce/checkout-sdk-js/commit/d8a57e310167013a80ce3a25c89f25907a09cd53))
* **payment:** PAYPAL-1913 fix build issue with error import ([#1814](https://github.com/bigcommerce/checkout-sdk-js/issues/1814)) ([77f5d0a](https://github.com/bigcommerce/checkout-sdk-js/commit/77f5d0ae0a49ff4cee7b587dfa780ffb7bf63912))
## [1.334.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.333.1...v1.334.0) (2023-02-01)
### Features
* **payment:** STRIPE-289 Loading Submit button after card loads ([#1763](https://github.com/bigcommerce/checkout-sdk-js/issues/1763)) ([3053eed](https://github.com/bigcommerce/checkout-sdk-js/commit/3053eed02804e2b113f13c007ca4ec34dab3186d))
### [1.333.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.333.0...v1.333.1) (2023-02-01)
### Bug Fixes
* **checkout:** CHECKOUT-0000 Add skip-nx-cache build command ([#1812](https://github.com/bigcommerce/checkout-sdk-js/issues/1812)) ([c4ae24e](https://github.com/bigcommerce/checkout-sdk-js/commit/c4ae24eb6a3b70e7d4ca8a4b494fb664282cb12b))
## [1.333.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.332.2...v1.333.0) (2023-01-31)
### Features
* **payment:** PAYPAL-1935 move CancellablePromise to integration package ([6bab047](https://github.com/bigcommerce/checkout-sdk-js/commit/6bab0477a545bcafcc75647b429dc7de5b645705))
### [1.332.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.332.1...v1.332.2) (2023-01-31)
### Bug Fixes
* **payment:** PAYMENTS-8239 addresses feedback ([8e816a6](https://github.com/bigcommerce/checkout-sdk-js/commit/8e816a69716c4a3457e641a9e6d60e58b73f9429))
* **payment:** PAYMENTS-8239 sorts recommended option first for applepay ([814564b](https://github.com/bigcommerce/checkout-sdk-js/commit/814564bc497781a519e687b07d30f9c59658e47c))
### [1.332.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.332.0...v1.332.1) (2023-01-30)
### Bug Fixes
* **payment:** PAYPAL-1929 added PayPalButtonStyleOptions interface to the docs files ([#1802](https://github.com/bigcommerce/checkout-sdk-js/issues/1802)) ([fa15dd8](https://github.com/bigcommerce/checkout-sdk-js/commit/fa15dd806b0746921e4089e78ae86a07a9e35e4a))
## [1.332.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.331.0...v1.332.0) (2023-01-30)
### Features
* **payment:** PAYPAL-1934 move PaymentMethodFailedError to integration package ([a9d1546](https://github.com/bigcommerce/checkout-sdk-js/commit/a9d15463989a98f211ddec6c37e47721afe983fb))
## [1.331.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.330.1...v1.331.0) (2023-01-30)
### Features
* **payment:** PAYPAL-000 added an ability to loadCheckout by provided id in payments-integration-api ([#1803](https://github.com/bigcommerce/checkout-sdk-js/issues/1803)) ([a0e3e02](https://github.com/bigcommerce/checkout-sdk-js/commit/a0e3e02c454e92e06002ba9bf8f43aef28a723d6))
* **payment:** PAYPAL-000 added an ability to use BuyNowCartCreationError from payment-integration-api ([#1804](https://github.com/bigcommerce/checkout-sdk-js/issues/1804)) ([0c7edca](https://github.com/bigcommerce/checkout-sdk-js/commit/0c7edca2a83ad462d185830928efe3f3003ccf7c))
### Bug Fixes
* **payment:** PAYPAL-000 updated amazon pay specs with CartSource to fix the issue with failed build ([#1806](https://github.com/bigcommerce/checkout-sdk-js/issues/1806)) ([7fa0ccd](https://github.com/bigcommerce/checkout-sdk-js/commit/7fa0ccd8aa3c9fcc04e27a37bd6cd660e3def123))
* **payment:** PAYPAL-1635 Buy Now feature for amazon pay ([562ab38](https://github.com/bigcommerce/checkout-sdk-js/commit/562ab380046cec191067d5c68e8f2dde221aab5c))
* **payment:** PAYPAL-1635 fix after review ([34cc8ee](https://github.com/bigcommerce/checkout-sdk-js/commit/34cc8eebfe25e2df5505c7e941550e29342ed826))
* **payment:** PAYPAL-1635 update after review ([4696290](https://github.com/bigcommerce/checkout-sdk-js/commit/469629041125b5b200e87576ad655c2cce7cafb4))
* **payment:** PAYPAL-1635 update after review ([0ce178e](https://github.com/bigcommerce/checkout-sdk-js/commit/0ce178e6a6d3d443e9781a7f2932e23c50f6430a))
* **payment:** PAYPAL-1635 update after review ([e16ec75](https://github.com/bigcommerce/checkout-sdk-js/commit/e16ec75b31e19eff21bae8b700b8c729e1e84ee8))
* **payment:** PAYPAL-1635 update after review ([651bc1f](https://github.com/bigcommerce/checkout-sdk-js/commit/651bc1fafbf5de7ed2445012b175ac4ac6edaa56))
* **payment:** PAYPAL-1763 fixed an issue when we could not proceed checkout after trying to place order with an empty CVV for stored card ([4aea399](https://github.com/bigcommerce/checkout-sdk-js/commit/4aea399b9e483e3862f339da17d1561ac7764341))
* **payment:** PAYPAL-1929 renamed several PayPal Commerce interfaces to fix the issue with doc files ([#1799](https://github.com/bigcommerce/checkout-sdk-js/issues/1799)) ([05df1e4](https://github.com/bigcommerce/checkout-sdk-js/commit/05df1e4437189b57f6dd05e46fcb6f6eb35d1dec))
### [1.330.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.330.0...v1.330.1) (2023-01-27)
### Bug Fixes
* **payment:** PAYPAL-1923 fixed the issue with wrong paypal sdk configuration ([#1794](https://github.com/bigcommerce/checkout-sdk-js/issues/1794)) ([dec683d](https://github.com/bigcommerce/checkout-sdk-js/commit/dec683d258c7cf4d0e562815eb114dfe440ec19d))
## [1.330.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.329.0...v1.330.0) (2023-01-25)
### Features
* **payment:** PAYPAL-1882 sending PPC APM V2 gateway instead of PPC APM ([#1782](https://github.com/bigcommerce/checkout-sdk-js/issues/1782)) ([27393bc](https://github.com/bigcommerce/checkout-sdk-js/commit/27393bc09f9a2ae8d4de27fcd7cab15288d8141f))
* **payment:** PAYPAL-1898 added CartRequestSender to payment integration api package ([#1791](https://github.com/bigcommerce/checkout-sdk-js/issues/1791)) ([84c146c](https://github.com/bigcommerce/checkout-sdk-js/commit/84c146cb993bdb2ec07f095a591f40ab100a94a0))
### Code Refactoring
* **payment:** PAYPAL-1918 moved LoadingIndicator from core to ui package ([#1784](https://github.com/bigcommerce/checkout-sdk-js/issues/1784)) ([926265c](https://github.com/bigcommerce/checkout-sdk-js/commit/926265ca604682d461c9b8d283ffbd50c3bacb20))
## [1.329.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.328.0...v1.329.0) (2023-01-25)
### Features
* **payment:** PAYPAL-1840 Create braintreepaypalcredit customer button strategy ([97bcb1b](https://github.com/bigcommerce/checkout-sdk-js/commit/97bcb1b22b84d613d2dec129f4720e8a3e99294e))
### Bug Fixes
* **checkout:** ADYEN-502 hide wrong placeholder text for the vaulted validation fields ([1c93745](https://github.com/bigcommerce/checkout-sdk-js/commit/1c93745a068e38bab3b882c65d88cfe1315ff1e3))
## [1.328.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.327.0...v1.328.0) (2023-01-25)
### Features
* **payment:** STRIPE-216 delete consignments to recover auto-step flow when reloads page for stripe link ([#1731](https://github.com/bigcommerce/checkout-sdk-js/issues/1731)) ([1e56b66](https://github.com/bigcommerce/checkout-sdk-js/commit/1e56b6627a20fb1078ffd7c2cf67b480ad4782bb))
## [1.327.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.326.4...v1.327.0) (2023-01-24)
### Features
* **payment:** STRIPE-194 keep Shipping Address Information If Shopper Logs Out Of Link ([#1760](https://github.com/bigcommerce/checkout-sdk-js/issues/1760)) ([9a661a3](https://github.com/bigcommerce/checkout-sdk-js/commit/9a661a3b3f6abbbe716f6f9227c9e6e68aad65df))
### [1.326.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.326.3...v1.326.4) (2023-01-23)
### Code Refactoring
* **payment:** PAYPAL-1917 removed PayPalCommerceInlineCheckoutButtonStrategy from core package ([#1783](https://github.com/bigcommerce/checkout-sdk-js/issues/1783)) ([0921359](https://github.com/bigcommerce/checkout-sdk-js/commit/0921359bd2a1f9df68476a077baea0ea0c7ba8f1))
### [1.326.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.326.2...v1.326.3) (2023-01-20)
### Bug Fixes
* **payment:** CHECKOUT-000 Fix issue with offsite payment completion ([#1786](https://github.com/bigcommerce/checkout-sdk-js/issues/1786)) ([c1d5b79](https://github.com/bigcommerce/checkout-sdk-js/commit/c1d5b79efd17da26c553ad515f5d9ab78ee152a8))
### [1.326.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.326.1...v1.326.2) (2023-01-19)
### Code Refactoring
* **payment:** INT-6964 AmazonPayV1: Remove all related files ([f24e5f8](https://github.com/bigcommerce/checkout-sdk-js/commit/f24e5f8b8911eb26476aaa681e04695f6f13ea87))
* **payment:** INT-6964 Rename `AMAZONPAYV2` to `AMAZONPAY` ([4eb2688](https://github.com/bigcommerce/checkout-sdk-js/commit/4eb2688d1c7b6c2b9c44be45ed2121942898276f))
### [1.326.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.326.0...v1.326.1) (2023-01-19)
### Bug Fixes
* **billing:** CHECKOUT-7214 Merge billing address as compared to replace ([#1774](https://github.com/bigcommerce/checkout-sdk-js/issues/1774)) ([5cde3c3](https://github.com/bigcommerce/checkout-sdk-js/commit/5cde3c3c557b0a6591992b3443f02ebb8fef0ea2))
## [1.326.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.325.0...v1.326.0) (2023-01-19)
### Features
* **payment:** PAYPAL-1890 added PayPalCommerceInlineButton strategy to paypal-commerce integration package ([#1776](https://github.com/bigcommerce/checkout-sdk-js/issues/1776)) ([a4eca90](https://github.com/bigcommerce/checkout-sdk-js/commit/a4eca909e77cf2b0fb55b3d9bf11590bce40ba23))
## [1.325.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.324.3...v1.325.0) (2023-01-18)
### Features
* **payment:** PAYPAL-1908 Make an ability to use Overlay from core package in integration checkout-sdk packages ([fcd5e0a](https://github.com/bigcommerce/checkout-sdk-js/commit/fcd5e0a883a6f236501627b254e71e2aa5b8ee0e))
### [1.324.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.324.2...v1.324.3) (2023-01-18)
### Bug Fixes
* **payment:** PAYPAL-000 updated kyiv-payments-team codeowners data ([#1778](https://github.com/bigcommerce/checkout-sdk-js/issues/1778)) ([060cc64](https://github.com/bigcommerce/checkout-sdk-js/commit/060cc641d01bc8b32d0346416c52b0e2d8c431c6))
### [1.324.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.324.1...v1.324.2) (2023-01-17)
### Bug Fixes
* **payment:** INT-7103 SquareV2: Assume that `postalCode` is valid unless it changes ([#1765](https://github.com/bigcommerce/checkout-sdk-js/issues/1765)) ([8526331](https://github.com/bigcommerce/checkout-sdk-js/commit/85263312ac4eb9dfb4d45aef19ed6f0b47e7b7e5))
### [1.324.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.324.0...v1.324.1) (2023-01-16)
### Bug Fixes
* **checkout:** ADYEN-688 fixed 3ds2 redirect for vaulted cards ([ea27e60](https://github.com/bigcommerce/checkout-sdk-js/commit/ea27e607783b805f6b049ac596defa15cec6a38c))
## [1.324.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.323.1...v1.324.0) (2023-01-16)
### Features
* **payment:** PAYPAL-1839 Create braintreepaypal customer button strategy ([afe6c27](https://github.com/bigcommerce/checkout-sdk-js/commit/afe6c278e5e356db0e2812bac1b1853ec64f72f4))
### [1.323.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.323.0...v1.323.1) (2023-01-12)
## [1.323.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.322.0...v1.323.0) (2023-01-12)
### Features
* **payment:** PAYPAL-1633 added Buy Now feature for googlepaybraintree ([875acac](https://github.com/bigcommerce/checkout-sdk-js/commit/875acac29cf4518fccdaf815371f26727d55ff24))
### Bug Fixes
* **payment:** PAYPAL-1633 additional parameter ([51218e0](https://github.com/bigcommerce/checkout-sdk-js/commit/51218e066e0ae57b72c289d4c80d3a1238d04ea9))
* **payment:** PAYPAL-1633 update after review ([d13800a](https://github.com/bigcommerce/checkout-sdk-js/commit/d13800a2cb62eead6f595da1cd8fe29669afc0c5))
* **payment:** PAYPAL-1635 fix after review ([d849dd0](https://github.com/bigcommerce/checkout-sdk-js/commit/d849dd00acf9e7a9e107fdc19c88ae30406397c1))
* **payment:** PAYPAL-1635 fix after review ([827a149](https://github.com/bigcommerce/checkout-sdk-js/commit/827a149ecf8ad0a8a8ab47d83f96e911e938a01b))
* **payment:** PAYPAL-1635 lint ([64a49ba](https://github.com/bigcommerce/checkout-sdk-js/commit/64a49baa61fcc5714f76daafe9e25d79133537c2))
### Code Refactoring
* **payment:** PAYPAL-1633 fix after review ([b5ab80f](https://github.com/bigcommerce/checkout-sdk-js/commit/b5ab80fbc807136ef84212f2a49e89fce3421dc6))
* **payment:** PAYPAL-1633 fix after review ([9430894](https://github.com/bigcommerce/checkout-sdk-js/commit/9430894212c6125f09cbc1ee095191172fc2f03a))
## [1.322.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.321.0...v1.322.0) (2023-01-11)
### Features
* **payment:** PAYPAL-1864 created paypal commerce package ([#1751](https://github.com/bigcommerce/checkout-sdk-js/issues/1751)) ([9ba7826](https://github.com/bigcommerce/checkout-sdk-js/commit/9ba7826f19110e09c0be847dfb67a8f16229e48d))
## [1.321.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.320.1...v1.321.0) (2023-01-10)
### Features
* **payment:** BOLT-437 Modify analytics event for Bolt suggestion on customer step ([e1a2e9e](https://github.com/bigcommerce/checkout-sdk-js/commit/e1a2e9efa89bb706f4e29ee275b7d04bda93d103))
### [1.320.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.320.0...v1.320.1) (2023-01-10)
### Bug Fixes
* **payment:** BOLT-362 fix Bolt track.js error in console ([ccf5144](https://github.com/bigcommerce/checkout-sdk-js/commit/ccf5144f817a476349a020976f6d1f5f44a802d6))
## [1.320.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.319.1...v1.320.0) (2023-01-10)
### Features
* **payment:** PAYMENTS-8378 Send multiple addresses to trusted_shipping_address endpoint in case of multi-shipping ([#1745](https://github.com/bigcommerce/checkout-sdk-js/issues/1745)) ([902016b](https://github.com/bigcommerce/checkout-sdk-js/commit/902016b98423f22dc91648ca71baa8a9caf71b9d))
* **payment:** PAYMENTS-8378 Update bigpay-client-js version to 5.21.0 ([#1764](https://github.com/bigcommerce/checkout-sdk-js/issues/1764)) ([410f40d](https://github.com/bigcommerce/checkout-sdk-js/commit/410f40d6af6f3b8c1ab18bef43f2402fd81d5a7f))
### [1.319.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.319.0...v1.319.1) (2023-01-09)
## [1.319.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.318.0...v1.319.0) (2023-01-08)
### Features
* **checkout:** CHECKOUT-7148 Throw `CartConsistencyError` when server detects inconsistent projection data ([654be3e](https://github.com/bigcommerce/checkout-sdk-js/commit/654be3e89efc6f02ebaa8ea27e20093fe79d397c))
## [1.318.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.317.1...v1.318.0) (2023-01-04)
### Features
* **payment:** INT-6729 add Klarna support for Czech Republic ([375c759](https://github.com/bigcommerce/checkout-sdk-js/commit/375c75900d6b232a60b2550087a11c16bdfadbc3))
### [1.317.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.317.0...v1.317.1) (2023-01-04)
## [1.317.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.316.4...v1.317.0) (2023-01-03)
### Features
* **payment:** PAYPAL-1808 passing vaulting data to order creation request for PayPal Commerce CC ([#1734](https://github.com/bigcommerce/checkout-sdk-js/issues/1734)) ([a1c1c1f](https://github.com/bigcommerce/checkout-sdk-js/commit/a1c1c1fbe14372f4043a59040437f6b90309b288))
### Bug Fixes
* **payment:** PAYPAL-000 fixed the issue with checkout-sdk build after last pr merge ([#1753](https://github.com/bigcommerce/checkout-sdk-js/issues/1753)) ([fe61144](https://github.com/bigcommerce/checkout-sdk-js/commit/fe6114464f5f4b07059197dc3ff4723b52b80171))
### [1.316.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.316.3...v1.316.4) (2023-01-03)
### Bug Fixes
* **common:** CHECKOUT-000 Upgrade @types/lodash from 4.14.184 to 4.14.185 ([#1640](https://github.com/bigcommerce/checkout-sdk-js/issues/1640)) ([e97127f](https://github.com/bigcommerce/checkout-sdk-js/commit/e97127f9faa4d6264225d8fc5a3285339bc1893b))
* **common:** CHECKOUT-000 upgrade core-js from 3.25.0 to 3.25.2 ([#1639](https://github.com/bigcommerce/checkout-sdk-js/issues/1639)) ([6fdf3bb](https://github.com/bigcommerce/checkout-sdk-js/commit/6fdf3bb99c64393fded63f5de18e46bf48a7f6d5))
* **common:** CHECKOUT-000 upgrade reselect from 4.1.6 to 4.1.7 ([#1709](https://github.com/bigcommerce/checkout-sdk-js/issues/1709)) ([b30ffbc](https://github.com/bigcommerce/checkout-sdk-js/commit/b30ffbcf46459a537648d9a72ca55111172f8263))
### [1.316.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.316.2...v1.316.3) (2023-01-02)
### [1.316.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.316.1...v1.316.2) (2022-12-30)
### Bug Fixes
* **payment:** STRIPE-281 Fixed error when making purchases with only digital products ([#1747](https://github.com/bigcommerce/checkout-sdk-js/issues/1747)) ([d9cfce4](https://github.com/bigcommerce/checkout-sdk-js/commit/d9cfce4064903cae7dd4d8066e92bc4148a49ab3))
### [1.316.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.316.0...v1.316.1) (2022-12-29)
### Bug Fixes
* **payment:** CHECKOUT-000 Fix offsite payment strategy ([#1749](https://github.com/bigcommerce/checkout-sdk-js/issues/1749)) ([00c380a](https://github.com/bigcommerce/checkout-sdk-js/commit/00c380acbe4692ef499b1f6b1a70b0fa08405266))
## [1.316.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.315.0...v1.316.0) (2022-12-27)
### Features
* **payment:** PAYPAL-1836 added PayPalCommerceCustomer strategy ([#1730](https://github.com/bigcommerce/checkout-sdk-js/issues/1730)) ([4692299](https://github.com/bigcommerce/checkout-sdk-js/commit/469229953a4fd70c3a4fbaba9a47174c1f7a8ca4))
## [1.315.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.314.2...v1.315.0) (2022-12-22)
### Features
* **payment:** INT-6957 Sezzle - Use window.location.replace to redirect ([#1696](https://github.com/bigcommerce/checkout-sdk-js/issues/1696)) ([ef7962c](https://github.com/bigcommerce/checkout-sdk-js/commit/ef7962c3b51118813a96808390bac54048c02d7d))
### [1.314.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.314.1...v1.314.2) (2022-12-21)
### [1.314.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.314.0...v1.314.1) (2022-12-21)
### Bug Fixes
* **payment:** BOLT-268 Bolt payment fields with store credits ([8a38daf](https://github.com/bigcommerce/checkout-sdk-js/commit/8a38daf56c2dac805a6ae2e5801877272828e1df))
## [1.314.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.313.2...v1.314.0) (2022-12-21)
### Features
* **checkout:** CHECKOUT-0000 Enforce RegistryV2 for SquareV2 ([#1737](https://github.com/bigcommerce/checkout-sdk-js/issues/1737)) ([9af5b64](https://github.com/bigcommerce/checkout-sdk-js/commit/9af5b64a7271fddc772afd61bfd524abcf864922))
### [1.313.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.313.1...v1.313.2) (2022-12-20)
### [1.313.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.313.0...v1.313.1) (2022-12-19)
## [1.313.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.312.1...v1.313.0) (2022-12-18)
### Features
* **payment:** STRIPE-178 Loading Submit button after card loads ([c983b92](https://github.com/bigcommerce/checkout-sdk-js/commit/c983b921cb6a41221fbb74180cb7c6a4db11986f))
### [1.312.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.312.0...v1.312.1) (2022-12-16)
### Bug Fixes
* **checkout:** CHECKOUT-6406 Fix payload for offline payment method ([#1735](https://github.com/bigcommerce/checkout-sdk-js/issues/1735)) ([9465d7d](https://github.com/bigcommerce/checkout-sdk-js/commit/9465d7d9f532c65d50d15f7e42839be70befebb1))
* **payment:** ADYEN-629 added adyen credit card es translation fix ([85e9cbf](https://github.com/bigcommerce/checkout-sdk-js/commit/85e9cbfa52d90a9a711519daf6cd1e608c8582b8))
## [1.312.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.311.2...v1.312.0) (2022-12-15)
### Features
* **payment:** BOLT-408 Add BODL event for customer suggestion init ([fecf8c9](https://github.com/bigcommerce/checkout-sdk-js/commit/fecf8c9155e2ce691407713b32b30f364b4fea90))
### [1.311.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.311.1...v1.311.2) (2022-12-14)
### [1.311.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.311.0...v1.311.1) (2022-12-14)
## [1.311.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.310.3...v1.311.0) (2022-12-14)
### Features
* **payment:** STRIPE-165 V3 Initialize payment for vaulted cards ([#1641](https://github.com/bigcommerce/checkout-sdk-js/issues/1641)) ([1c07aad](https://github.com/bigcommerce/checkout-sdk-js/commit/1c07aadfd41ae21b265db9ee2fda400cbcb16c06))
### [1.310.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.310.2...v1.310.3) (2022-12-13)
### Code Refactoring
* **checkout:** CHECKOUT-6406 Refactor offline payment method ([#1724](https://github.com/bigcommerce/checkout-sdk-js/issues/1724)) ([18fa217](https://github.com/bigcommerce/checkout-sdk-js/commit/18fa2176b800e648b1ba26ed424b4ced8d964a52))
### [1.310.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.310.1...v1.310.2) (2022-12-13)
### Code Refactoring
* **checkout:** CHECKOUT-6394 Refactor credit card payment method ([#1710](https://github.com/bigcommerce/checkout-sdk-js/issues/1710)) ([7eb83cd](https://github.com/bigcommerce/checkout-sdk-js/commit/7eb83cd6db9bcd2280c92f6609902e0aa95e9e18))
### [1.310.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.310.0...v1.310.1) (2022-12-09)
## [1.310.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.6...v1.310.0) (2022-12-09)
### Features
* **payment:** INT-6727 add Klarna support for greece ([#1688](https://github.com/bigcommerce/checkout-sdk-js/issues/1688)) ([7a039ba](https://github.com/bigcommerce/checkout-sdk-js/commit/7a039ba34671492f1633ca6fc9ebed12ab142ceb))
### Bug Fixes
* **payment:** INT-6928 [Mollie] No Ability To Use A Different Card To Pay ([#1702](https://github.com/bigcommerce/checkout-sdk-js/issues/1702)) ([5555568](https://github.com/bigcommerce/checkout-sdk-js/commit/555556811a82c728f691c90a303342a388cb0858))
### [1.309.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.5...v1.309.6) (2022-12-08)
### [1.309.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.4...v1.309.5) (2022-12-07)
### Code Refactoring
* **checkout:** CHECKOUT-6405 Refactor no payment data required method ([#1717](https://github.com/bigcommerce/checkout-sdk-js/issues/1717)) ([5e627c6](https://github.com/bigcommerce/checkout-sdk-js/commit/5e627c64f77da6480b3bc0aaca702740ea58327c))
### [1.309.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.3...v1.309.4) (2022-12-07)
### Code Refactoring
* **checkout:** CHECKOUT-7107 hosted-form clean-up ([#1713](https://github.com/bigcommerce/checkout-sdk-js/issues/1713)) ([5c19c4e](https://github.com/bigcommerce/checkout-sdk-js/commit/5c19c4ea319e5a84eea42f9f81883d91b20f5770))
### [1.309.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.2...v1.309.3) (2022-12-06)
### [1.309.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.1...v1.309.2) (2022-12-05)
### Bug Fixes
* **payment:** STRIPE-160 Fixed no order created for successful Stripe payment ([#1690](https://github.com/bigcommerce/checkout-sdk-js/issues/1690)) ([0d74194](https://github.com/bigcommerce/checkout-sdk-js/commit/0d74194ae55715767ced60fa4c1749ab3426e8ee))
### [1.309.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.309.0...v1.309.1) (2022-11-28)
### Code Refactoring
* **checkout:** CHECKOUT-7107 Refactor `hosted-form` ([#1707](https://github.com/bigcommerce/checkout-sdk-js/issues/1707)) ([d28eb54](https://github.com/bigcommerce/checkout-sdk-js/commit/d28eb543ce84c0f379454bdb0fdc14be0ad16b22))
## [1.309.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.308.4...v1.309.0) (2022-11-28)
### Features
* **payment:** INT-6716 SquareV2: Add payment strategy ([#1642](https://github.com/bigcommerce/checkout-sdk-js/issues/1642)) ([6af5062](https://github.com/bigcommerce/checkout-sdk-js/commit/6af5062c53392e825e937b4fccc4bc47e9b72cda))
### [1.308.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.308.3...v1.308.4) (2022-11-24)
### [1.308.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.308.2...v1.308.3) (2022-11-24)
### Bug Fixes
* **payment:** STRIPE-167 Adding Postal Code to stripe card element if not obtained in billing ([c5558cd](https://github.com/bigcommerce/checkout-sdk-js/commit/c5558cd75dc221752823d2cc39e95dbc36cb9e66))
* **payment:** STRIPE-167 update documentation links for stripeupe ([b25fb3c](https://github.com/bigcommerce/checkout-sdk-js/commit/b25fb3c6b87a1ab8ea056daa637dad0f78b9977f))
### [1.308.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.308.1...v1.308.2) (2022-11-22)
### Code Refactoring
* **checkout:** CHECKOUT-6397 Refactor external payment method ([#1697](https://github.com/bigcommerce/checkout-sdk-js/issues/1697)) ([5cc2346](https://github.com/bigcommerce/checkout-sdk-js/commit/5cc23465b741a5b8cc3c9666033d49597009a99f))
### [1.308.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.308.0...v1.308.1) (2022-11-22)
## [1.308.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.307.1...v1.308.0) (2022-11-14)
### Features
* **payment:** PAYPAL-1723 added skip checkout functionality to PDP paypalcredit ([#1678](https://github.com/bigcommerce/checkout-sdk-js/issues/1678)) ([d2bb5ac](https://github.com/bigcommerce/checkout-sdk-js/commit/d2bb5acccf19a670d28ad9ab52a228e1a8d42070))
### [1.307.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.307.0...v1.307.1) (2022-11-10)
## [1.307.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.306.0...v1.307.0) (2022-11-10)
### Features
* **payment:** INT-6443 Hide payPal onDigital River behind an experiment ([2ad1c42](https://github.com/bigcommerce/checkout-sdk-js/commit/2ad1c42d330a58e9b4b0e25c3f8b614ab26ba8d3))
* **payment:** INT-6443 reviewed change by Animesh ([3f0292b](https://github.com/bigcommerce/checkout-sdk-js/commit/3f0292b055abef210c7eefb4e3248468b9f7c148))
* **payment:** INT-6443 reviewed change by Peng Zhou ([c756ee3](https://github.com/bigcommerce/checkout-sdk-js/commit/c756ee3ae10e9b872c431d0b5b5984b6968fe61c))
### Bug Fixes
* **payment:** STRIPE-167 Adding Postal Code to stripe card elemnt if not obtained in billing ([d3f6aa8](https://github.com/bigcommerce/checkout-sdk-js/commit/d3f6aa8309fc5a5f6c31f622e789203d234e2e94))
## [1.306.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.305.1...v1.306.0) (2022-11-09)
### Features
* **payment:** PAYPAL-1723 added skip checkout functionality to PDP paypalcommerce ([#1667](https://github.com/bigcommerce/checkout-sdk-js/issues/1667)) ([0fe4ae2](https://github.com/bigcommerce/checkout-sdk-js/commit/0fe4ae2a29bdcf5f06dd7f09dae661c119f2af44))
### [1.305.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.305.0...v1.305.1) (2022-11-08)
### Code Refactoring
* **payment:** PAYPAL-1773 removed unnecessary business logic from PayPalCommerceInlineCheckoutButton strategy ([#1672](https://github.com/bigcommerce/checkout-sdk-js/issues/1672)) ([66597b0](https://github.com/bigcommerce/checkout-sdk-js/commit/66597b01d7487c5e3d2c7fbeaf70bf4050249f31))
## [1.305.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.304.0...v1.305.0) (2022-11-08)
### Features
* **payment:** BOLT-386 Add BODL analytics tracking events ([4cf875c](https://github.com/bigcommerce/checkout-sdk-js/commit/4cf875cd629136293dea5245416593bedcedf047))
## [1.304.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.303.0...v1.304.0) (2022-11-07)
### Features
* **checkout:** STRF-10153 Data Layer Updates - Field Additions and Changes ([#1670](https://github.com/bigcommerce/checkout-sdk-js/issues/1670)) ([8184573](https://github.com/bigcommerce/checkout-sdk-js/commit/81845738236a49c41e959f57b5626c35bd6707a1))
### Code Refactoring
* **payment:** PAYPAL-1756 removed 'Fake' data implementation from paypal commerce button strategy ([#1659](https://github.com/bigcommerce/checkout-sdk-js/issues/1659)) ([b2f3795](https://github.com/bigcommerce/checkout-sdk-js/commit/b2f37955a7be937608a56e51e3f56ce3ae2d31c9))
* **payment:** PAYPAL-1757 removed 'Fake' data implementation from paypal commerce credit button strategy ([#1674](https://github.com/bigcommerce/checkout-sdk-js/issues/1674)) ([27a68c1](https://github.com/bigcommerce/checkout-sdk-js/commit/27a68c1a47da3e92d4bc4b8fa802bd8f725bf931))
## [1.303.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.302.0...v1.303.0) (2022-11-07)
### Features
* **checkout:** ADYEN-585 moved Adyen from core to the separate package ([bc6d639](https://github.com/bigcommerce/checkout-sdk-js/commit/bc6d639a2b52e52cc689f5ce50abdc0a48bac36d))
## [1.302.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.301.1...v1.302.0) (2022-11-07)
### Features
* **payment:** STRIPE-183 persisting stripe components when reloads the page ([#1649](https://github.com/bigcommerce/checkout-sdk-js/issues/1649)) ([289b5bd](https://github.com/bigcommerce/checkout-sdk-js/commit/289b5bda6ddb0caaa586d2e21efcbf30e14e0d4d))
### [1.301.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.301.0...v1.301.1) (2022-11-04)
### Bug Fixes
* **payment:** INT-6890 AmazonPayV2: Change `isReadyToPay` logic ([#1669](https://github.com/bigcommerce/checkout-sdk-js/issues/1669)) ([632f598](https://github.com/bigcommerce/checkout-sdk-js/commit/632f598f3c6d7692c0f6046c0c820debf6246883))
## [1.301.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.300.1...v1.301.0) (2022-11-03)
### Features
* **payment:** INT-5953 Force to use Payment Strategy V1 when Mollie and Apple pay ([#1671](https://github.com/bigcommerce/checkout-sdk-js/issues/1671)) ([1d6d4ee](https://github.com/bigcommerce/checkout-sdk-js/commit/1d6d4ee1e0e3423d33d2e714aeccee381153b72e))
### [1.300.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.300.0...v1.300.1) (2022-11-03)
### Bug Fixes
* **payment:** INT-6848 AmazonPayV2: Render the button in a container created programmatically ([#1655](https://github.com/bigcommerce/checkout-sdk-js/issues/1655)) ([ce21d9f](https://github.com/bigcommerce/checkout-sdk-js/commit/ce21d9f6e58215ebe15237666958cf297e421b19))
## [1.300.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.299.1...v1.300.0) (2022-11-02)
### Features
* **payment:** INT-6675 [Digital River] Comment resolved ([da798ad](https://github.com/bigcommerce/checkout-sdk-js/commit/da798ad262bacb4e8f0a1e8e75d493af1aeb1ace))
* **payment:** INT-6675 [Digital River] improve function ([7a00933](https://github.com/bigcommerce/checkout-sdk-js/commit/7a009333f590023216617513d45e58c84d4615b0))
* **payment:** INT-6675 [Digital River] Small fix ([6a6f675](https://github.com/bigcommerce/checkout-sdk-js/commit/6a6f675de0f99c227a9335e0aa6d940b3dc22715))
* **payment:** INT-6675 [Digital River] unit testing ([f84f108](https://github.com/bigcommerce/checkout-sdk-js/commit/f84f1089390c14f11aad5a463e957a7faa3b3af7))
* **payment:** INT-6675 [Digital River] Update billingAddress from paypal response ([3d9269c](https://github.com/bigcommerce/checkout-sdk-js/commit/3d9269c1a3c25fa054a95a46a8665ce96f4156b1))
* **payment:** PAYPAL-1737 added currencyCode param to loadPaymentMethod request ([#1665](https://github.com/bigcommerce/checkout-sdk-js/issues/1665)) ([d5763b6](https://github.com/bigcommerce/checkout-sdk-js/commit/d5763b6413fea3c331f8a1df3d4112e8d99fd3e0))
### Bug Fixes
* **payment:** PAYPAL-1758 added condition to submit payment in onComplete method for auth&capture transaction only for PayPalInlineCheckoutButton ([#1664](https://github.com/bigcommerce/checkout-sdk-js/issues/1664)) ([8746fdb](https://github.com/bigcommerce/checkout-sdk-js/commit/8746fdbd67da049154a8c5d223901a6604bb18b3))
### [1.299.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.299.0...v1.299.1) (2022-10-27)
### Bug Fixes
* **payment:** INT-6772 Worldpay supported in firefox ([#1647](https://github.com/bigcommerce/checkout-sdk-js/issues/1647)) ([4fdad98](https://github.com/bigcommerce/checkout-sdk-js/commit/4fdad98f7381f58314b69ceb5338c8c1ca9bd7c3))
## [1.299.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.3...v1.299.0) (2022-10-25)
### Features
* **payment:** PAYPAL-1629 BraintreeVenmo on PDP ([085e98a](https://github.com/bigcommerce/checkout-sdk-js/commit/085e98a51f59fef6443b0a810b90e1eb913a9b99))
* **payment:** PAYPAL-1629 BraintreeVenmo on PDP ([94f14dd](https://github.com/bigcommerce/checkout-sdk-js/commit/94f14ddf843e87ed1027c1e566ee8f9c733db529))
* **payment:** PAYPAL-1630 BraintreePayPal on PDP ([b9f024d](https://github.com/bigcommerce/checkout-sdk-js/commit/b9f024d8b3943210f28820d2924980a10ea4f7e5))
### [1.298.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.2...v1.298.3) (2022-10-25)
### Code Refactoring
* **payment:** PAYPAL-1742 removed Fake data implementation due to BE changes ([#1653](https://github.com/bigcommerce/checkout-sdk-js/issues/1653)) ([a07ddbd](https://github.com/bigcommerce/checkout-sdk-js/commit/a07ddbd5a48bbe34ae854fac7c64443113f8667c))
### [1.298.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.1...v1.298.2) (2022-10-20)
### Bug Fixes
* **payment:** PAYPAL-1725 fixed the issue with passing fake data as customer address from last session in PayPalCommerceInlineCheckoutButtonStrategy ([#1648](https://github.com/bigcommerce/checkout-sdk-js/issues/1648)) ([f27cd84](https://github.com/bigcommerce/checkout-sdk-js/commit/f27cd848f1fd3bad3132dcf7963728c4c6b4d741))
* **payment:** PAYPAL-1730 fixed the issue with passing onComplete method for non hosted paypal flows ([#1645](https://github.com/bigcommerce/checkout-sdk-js/issues/1645)) ([b8b695f](https://github.com/bigcommerce/checkout-sdk-js/commit/b8b695f0958397788df138128473b664dbc15011))
### [1.298.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.298.0...v1.298.1) (2022-10-20)
### Bug Fixes
* **payment:** INT-6539 GooglePay: Pass `hostname` as param when loading googlepay ([#1611](https://github.com/bigcommerce/checkout-sdk-js/issues/1611)) ([328fd82](https://github.com/bigcommerce/checkout-sdk-js/commit/328fd826fb5a04e41c4e9a67b288a36529182755))
## [1.298.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.297.0...v1.298.0) (2022-10-18)
### Features
* **payment:** STRIPE-99 Add flag to validate unmount ([ad8c627](https://github.com/bigcommerce/checkout-sdk-js/commit/ad8c6274f26260936f52389b484bd0c88745966c))
* **payment:** STRIPE-99 Add flag to validate unmount ([8981bea](https://github.com/bigcommerce/checkout-sdk-js/commit/8981bea6091b200961787a99cc156a3343538489))
* **payment:** STRIPE-99 Add Stripe UPE fix ([4b4ed77](https://github.com/bigcommerce/checkout-sdk-js/commit/4b4ed77f747ebe5d081f5fd5cffaae0c1b93f8a2))
* **payment:** STRIPE-99 Fix flag for validation ([419c37c](https://github.com/bigcommerce/checkout-sdk-js/commit/419c37c268b1501697071dec9b8aaa345932ba1a))
* **payment:** STRIPE-99 Fix name of variables ([127412d](https://github.com/bigcommerce/checkout-sdk-js/commit/127412dffaf2e2b1b4a4c84acdf5a43e25ab5be5))
### Bug Fixes
* **payment:** INT-6478 SquareV2 - Fail Gracefully when payment provider unavailable ([bc136cc](https://github.com/bigcommerce/checkout-sdk-js/commit/bc136ccfcbcdbc2ce361055e7991d0c66d7697e3))
## [1.297.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.2...v1.297.0) (2022-10-17)
### Features
* **payment:** PAYPAL-1606 Added Shipping options for paypal and updated paypal callbacks ([#1607](https://github.com/bigcommerce/checkout-sdk-js/issues/1607)) ([4520f94](https://github.com/bigcommerce/checkout-sdk-js/commit/4520f94b282cc2c4a1d0066e485a8ca3955621e9))
* **payment:** PAYPAL-1607 added shipping Options for paypal credit and updated paypal callbacks ([#1610](https://github.com/bigcommerce/checkout-sdk-js/issues/1610)) ([6a03314](https://github.com/bigcommerce/checkout-sdk-js/commit/6a03314c48b00a9a7c89b10834112d6ceb6cb0de))
### [1.296.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.1...v1.296.2) (2022-10-13)
### [1.296.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.296.0...v1.296.1) (2022-10-13)
### Bug Fixes
* **common:** CHECKOUT-000 upgrade @types/lodash from 4.14.182 to 4.14.184 ([#1592](https://github.com/bigcommerce/checkout-sdk-js/issues/1592)) ([8873f50](https://github.com/bigcommerce/checkout-sdk-js/commit/8873f5065ce07b322711488de827e243da7fad21))
* **common:** CHECKOUT-000 upgrade core-js from 3.24.1 to 3.25.0 ([#1601](https://github.com/bigcommerce/checkout-sdk-js/issues/1601)) ([ed31162](https://github.com/bigcommerce/checkout-sdk-js/commit/ed31162c981d52ea518ba0e0ac2fe4f498bde4ad))
## [1.296.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.295.0...v1.296.0) (2022-10-05)
### Features
* **payment:** INT-6092 AmazonPayV2: Add an additional payment button… ([#1605](https://github.com/bigcommerce/checkout-sdk-js/issues/1605)) ([a4c24cd](https://github.com/bigcommerce/checkout-sdk-js/commit/a4c24cd2542604dbee615fbbd8cfa9a1bd0505e3))
## [1.295.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.294.0...v1.295.0) (2022-10-05)
### Features
* **payment:** PAYPAL-1627 added Buy Now implementation for PayPalCommerceVenmo button streategy ([#1622](https://github.com/bigcommerce/checkout-sdk-js/issues/1622)) ([876a240](https://github.com/bigcommerce/checkout-sdk-js/commit/876a2406464e1de28dd61b837a51a5928f217a97))
* **payment:** PAYPAL-1628 added Buy Now implementation for PayPalCommerce alternative methods button strategy ([#1624](https://github.com/bigcommerce/checkout-sdk-js/issues/1624)) ([bb6b242](https://github.com/bigcommerce/checkout-sdk-js/commit/bb6b2429287b1f1fc5c9ad02893a6c6a307aedfc))
## [1.294.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.293.0...v1.294.0) (2022-10-04)
### Features
* **payment:** PAYPAL-1626 made PayPalCommerceCredit competible with Buy Now ([#1620](https://github.com/bigcommerce/checkout-sdk-js/issues/1620)) ([1b523f4](https://github.com/bigcommerce/checkout-sdk-js/commit/1b523f429e589f5de49126053d24e3bc351cf2c3))
## [1.293.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.292.1...v1.293.0) (2022-10-03)
### Features
* **payment:** INT-6297 BNZ Googlepay ([#1598](https://github.com/bigcommerce/checkout-sdk-js/issues/1598)) ([066e9da](https://github.com/bigcommerce/checkout-sdk-js/commit/066e9da58531be9ae65d07ce53b39a07ec28a051))
### [1.292.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.292.0...v1.292.1) (2022-09-30)
### Code Refactoring
* **checkout:** STRF-10042 Incapsulate BODL event names into public methods ([#1625](https://github.com/bigcommerce/checkout-sdk-js/issues/1625)) ([93bfa5c](https://github.com/bigcommerce/checkout-sdk-js/commit/93bfa5c411bd20b014559fe6d1014c029f738048))
## [1.292.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.291.1...v1.292.0) (2022-09-29)
### Features
* **payment:** STRIPE-25 Stripe Link State ([#1616](https://github.com/bigcommerce/checkout-sdk-js/issues/1616)) ([ebefc2a](https://github.com/bigcommerce/checkout-sdk-js/commit/ebefc2a2aa8ef5715ef60b370eb83c6cc7f4da4b))
### [1.291.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.291.0...v1.291.1) (2022-09-29)
### Bug Fixes
* **payment:** CHECKOUT-000 Update get params to get registeries ([#1623](https://github.com/bigcommerce/checkout-sdk-js/issues/1623)) ([f626b5d](https://github.com/bigcommerce/checkout-sdk-js/commit/f626b5d7fd935aac13309a425bd748723dd82f12))
## [1.291.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.290.0...v1.291.0) (2022-09-29)
### Features
* **payment:** PAYPAL-1690 added default height value for PayPal buttons if height is not provided ([#1621](https://github.com/bigcommerce/checkout-sdk-js/issues/1621)) ([ffd363e](https://github.com/bigcommerce/checkout-sdk-js/commit/ffd363ea900c7fce93477ff73d6e600d235346f3))
## [1.290.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.289.0...v1.290.0) (2022-09-27)
### Features
* **payment:** BOLT-282 fixed analytics feature for Bolt Checkout ([fdc975e](https://github.com/bigcommerce/checkout-sdk-js/commit/fdc975efc5042fa09762055548a624e7dd908020))
## [1.289.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.288.1...v1.289.0) (2022-09-27)
### Features
* **payment:** PAYPAL-1625 added Buy Now implementation for PayPalCommerceButtonStrategy ([#1604](https://github.com/bigcommerce/checkout-sdk-js/issues/1604)) ([02bb2db](https://github.com/bigcommerce/checkout-sdk-js/commit/02bb2db89fb74decfed2c47f57da9c703b046686))
### [1.288.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.288.0...v1.288.1) (2022-09-26)
### Bug Fixes
* **payment:** STRIPE-131 Added a catch in case an exception occurs when confirming the payment using 3DS2 ([#1586](https://github.com/bigcommerce/checkout-sdk-js/issues/1586)) ([f046e7d](https://github.com/bigcommerce/checkout-sdk-js/commit/f046e7d3d482d10d5161afd13b219cf3556c442f))
## [1.288.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.287.1...v1.288.0) (2022-09-26)
### Features
* **payment:** INT-6554 Worldpay Access - Increase code coverage ([#1588](https://github.com/bigcommerce/checkout-sdk-js/issues/1588)) ([643734d](https://github.com/bigcommerce/checkout-sdk-js/commit/643734de5ecf0ebe3faee29b53f04c19f685827e))
### [1.287.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.287.0...v1.287.1) (2022-09-21)
### Bug Fixes
* **payment:** ADYEN-545 bumped adyen-web version ([a2e1a19](https://github.com/bigcommerce/checkout-sdk-js/commit/a2e1a19a2109793717e51e138e9d32a155f4895e))
## [1.287.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.286.0...v1.287.0) (2022-09-20)
### Features
* **payment:** PAYPAL-1673 updated 'experience' button option in PayPalCommerceInlineCheckoutButtonStrategy ([#1606](https://github.com/bigcommerce/checkout-sdk-js/issues/1606)) ([85c7384](https://github.com/bigcommerce/checkout-sdk-js/commit/85c73848d8427aad02fbf4197c75eda7968760b3))
## [1.286.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.285.2...v1.286.0) (2022-09-20)
### Features
* **checkout:** CHECKOUT-6860 Use numeric keypad ([#1595](https://github.com/bigcommerce/checkout-sdk-js/issues/1595)) ([4a96115](https://github.com/bigcommerce/checkout-sdk-js/commit/4a96115e42a35c5b096249f4c76b34417a0798e3))
### [1.285.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.285.1...v1.285.2) (2022-09-15)
### Code Refactoring
* **payment:** PAYPAL-1541 remove unnecessaru paypal commerce button strategy code ([#1599](https://github.com/bigcommerce/checkout-sdk-js/issues/1599)) ([a6dab41](https://github.com/bigcommerce/checkout-sdk-js/commit/a6dab41b1bbe2444c723e4c744521cf69ccc0f49))
### [1.285.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.285.0...v1.285.1) (2022-09-15)
### Bug Fixes
* **payment:** STRIPE-106 Added a catch in case an exception occurs when confirming the payment using 3DS2 ([#1576](https://github.com/bigcommerce/checkout-sdk-js/issues/1576)) ([c60f7af](https://github.com/bigcommerce/checkout-sdk-js/commit/c60f7affc6f7506d785178051c1fa294f1b6b153))
## [1.285.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.284.2...v1.285.0) (2022-09-15)
### Features
* **payment:** INT-5494 Worldpayaccess - Support vaulting ([#1584](https://github.com/bigcommerce/checkout-sdk-js/issues/1584)) ([c441bd8](https://github.com/bigcommerce/checkout-sdk-js/commit/c441bd8967f5becf33c3bf5faa956470c8f44e9c))
### [1.284.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.284.1...v1.284.2) (2022-09-13)
### Bug Fixes
* **payment:** ADYEN-540 fixed adyen 3ds2 challenge on googlepay ([3b2bec4](https://github.com/bigcommerce/checkout-sdk-js/commit/3b2bec451615fbaecdeab92ea6f1381b02707c78))
### [1.284.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.284.0...v1.284.1) (2022-09-12)
### Code Refactoring
* **payment:** PAYPAL-1538 switched PayPalCommerce common button strategy with V2 and removed old implementation ([#1570](https://github.com/bigcommerce/checkout-sdk-js/issues/1570)) ([2b033fd](https://github.com/bigcommerce/checkout-sdk-js/commit/2b033fdd4b95c913824e9d4a2df682814fb2a759))
## [1.284.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.283.1...v1.284.0) (2022-09-09)
### Features
* **checkout:** STRF-9858 Bodl Service: Checkout Begin and Order Purchased ([#1587](https://github.com/bigcommerce/checkout-sdk-js/issues/1587)) ([1e7e054](https://github.com/bigcommerce/checkout-sdk-js/commit/1e7e0546d2f24e7f1fb37a0fd42b84d59f40cf57))
### [1.283.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.283.0...v1.283.1) (2022-09-08)
### Bug Fixes
* **common:** CHECKOUT-000 Remove token strings from test files ([#1589](https://github.com/bigcommerce/checkout-sdk-js/issues/1589)) ([164bbaa](https://github.com/bigcommerce/checkout-sdk-js/commit/164bbaa961ca306a3c59719fc986d747a8b0334a))
## [1.283.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.282.0...v1.283.0) (2022-09-08)
### Features
* **payment:** PAYPAL-1474 added PayPalCommerceInlineCheckoutButtonStrategy ([#1494](https://github.com/bigcommerce/checkout-sdk-js/issues/1494)) ([d5003d3](https://github.com/bigcommerce/checkout-sdk-js/commit/d5003d36a3b6103b65979e1eaec2171ea55eb227))
## [1.282.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.281.2...v1.282.0) (2022-09-07)
### Features
* **payment:** INT-6310 added bank of new zealand strategy ([#1530](https://github.com/bigcommerce/checkout-sdk-js/issues/1530)) ([c696a22](https://github.com/bigcommerce/checkout-sdk-js/commit/c696a22411e8443526a7a3d144a039a775ec6989))
### [1.281.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.281.1...v1.281.2) (2022-09-07)
### [1.281.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.281.0...v1.281.1) (2022-09-05)
### Bug Fixes
* **payment:** INT-6328 Bluesnap open a new tab insted of using iframe to complete order ([#1578](https://github.com/bigcommerce/checkout-sdk-js/issues/1578)) ([701d09b](https://github.com/bigcommerce/checkout-sdk-js/commit/701d09bdf388128aab900160f26f69df74085305))
## [1.281.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.4...v1.281.0) (2022-09-05)
### Features
* **payment:** INT-6407 AmazonPayV2: Add the new `estimatedOrderAmount` parameter ([#1555](https://github.com/bigcommerce/checkout-sdk-js/issues/1555)) ([8defc3b](https://github.com/bigcommerce/checkout-sdk-js/commit/8defc3bcf099a3caac9ebb26a97716a6f2a73e07))
### Bug Fixes
* **payment:** INT-6115 Payment with hosted credit card ([#1583](https://github.com/bigcommerce/checkout-sdk-js/issues/1583)) ([a491acf](https://github.com/bigcommerce/checkout-sdk-js/commit/a491acf699e86fd52e1ee45e4125e463c002e451))
### [1.280.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.3...v1.280.4) (2022-08-30)
### Bug Fixes
* **payment:** STRIPE-130 Stripe UPE making postal code not always required to make purchase ([#1565](https://github.com/bigcommerce/checkout-sdk-js/issues/1565)) ([6e0bb16](https://github.com/bigcommerce/checkout-sdk-js/commit/6e0bb1676647600da55b776b832d1bb3626f4079))
### [1.280.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.2...v1.280.3) (2022-08-26)
### Bug Fixes
* **common:** CHECKOUT-000 upgrade @braintree/browser-detection from 1.12.1 to 1.14.0 ([#1571](https://github.com/bigcommerce/checkout-sdk-js/issues/1571)) ([108c44d](https://github.com/bigcommerce/checkout-sdk-js/commit/108c44da2e66c792c46b88b37f88acd1e96746ac))
* **common:** CHECKOUT-000 upgrade core-js from 3.23.4 to 3.24.0 ([#1572](https://github.com/bigcommerce/checkout-sdk-js/issues/1572)) ([c820f3d](https://github.com/bigcommerce/checkout-sdk-js/commit/c820f3dfb8681e5950d3542fb1d7225160e35ddf))
* **common:** CHECKOUT-000 upgrade local-storage-fallback from 4.1.1 to 4.1.2 ([#1574](https://github.com/bigcommerce/checkout-sdk-js/issues/1574)) ([24b72c5](https://github.com/bigcommerce/checkout-sdk-js/commit/24b72c5f7409b2bd7ce8c8a94cf4f3f2389f9b3b))
* **common:** CHECKOUT-000 upgrade reselect from 4.1.5 to 4.1.6 ([#1573](https://github.com/bigcommerce/checkout-sdk-js/issues/1573)) ([c7c49e8](https://github.com/bigcommerce/checkout-sdk-js/commit/c7c49e8cb3ab88f7b5736bb5e084b0efffd90f5b))
* **payment:** PAYPAL-1639 fixed paypal commerce zoid issue ([#1577](https://github.com/bigcommerce/checkout-sdk-js/issues/1577)) ([2e993d3](https://github.com/bigcommerce/checkout-sdk-js/commit/2e993d3158c038cf07bb1a1b0969588d67b3a640))
### [1.280.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.1...v1.280.2) (2022-08-24)
### Bug Fixes
* **payment:** INT-6392 [Mollie] Klarna shopper are able to place orders with digital items through klarna pay later and slice it when them are added via coupon ([#1558](https://github.com/bigcommerce/checkout-sdk-js/issues/1558)) ([5cb129c](https://github.com/bigcommerce/checkout-sdk-js/commit/5cb129c76fe58a572659da96d32ac37ed5a62e1f))
### [1.280.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.280.0...v1.280.1) (2022-08-22)
### Bug Fixes
* **payment:** PAYPAL-0000 updated paypal button rendering implementation in PayPalCommerceCreditButtonStrategy ([#1575](https://github.com/bigcommerce/checkout-sdk-js/issues/1575)) ([dee1b67](https://github.com/bigcommerce/checkout-sdk-js/commit/dee1b67f2a0005fdd8d61a5978ab5b6de57f7e44))
## [1.280.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.279.3...v1.280.0) (2022-08-18)
### Features
* **payment:** PAYPAL-1386 added PayPalCommerceCredit checkout button strategy ([#1557](https://github.com/bigcommerce/checkout-sdk-js/issues/1557)) ([14275b6](https://github.com/bigcommerce/checkout-sdk-js/commit/14275b662cf9a30b588dd17b1ab0366f43accba6))
* **payment:** PAYPAL-1537 added PayPalCommerceV2ButtonStrategy ([#1562](https://github.com/bigcommerce/checkout-sdk-js/issues/1562)) ([69914e4](https://github.com/bigcommerce/checkout-sdk-js/commit/69914e489c315bf435c41d55ccfbbb8b4dc70c0b))
### [1.279.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.279.2...v1.279.3) (2022-08-18)
### Bug Fixes
* **common:** CHECKOUT-000 upgrade @bigcommerce/script-loader from 2.2.1 to 2.2.2 ([#1546](https://github.com/bigcommerce/checkout-sdk-js/issues/1546)) ([7b45285](https://github.com/bigcommerce/checkout-sdk-js/commit/7b45285b96de690bee7cd5e143df7a051a94a888))
* **common:** CHECKOUT-000 upgrade @braintree/browser-detection from 1.11.0 to 1.12.1 ([#1543](https://github.com/bigcommerce/checkout-sdk-js/issues/1543)) ([cefcb92](https://github.com/bigcommerce/checkout-sdk-js/commit/cefcb92a7c19c708f1f824d0a172dd7569ee8a48))
* **common:** CHECKOUT-000 upgrade @types/iframe-resizer from 3.5.6 to 3.5.9 ([#1544](https://github.com/bigcommerce/checkout-sdk-js/issues/1544)) ([fdaef89](https://github.com/bigcommerce/checkout-sdk-js/commit/fdaef89e875935690480d85ad832f4888e8d4174))
* **common:** CHECKOUT-000 upgrade core-js from 3.20.1 to 3.23.4 ([#1542](https://github.com/bigcommerce/checkout-sdk-js/issues/1542)) ([6082419](https://github.com/bigcommerce/checkout-sdk-js/commit/6082419fcfb1665323794163371aa27c58f1bc9d))
* **common:** CHECKOUT-000 upgrade query-string from 7.0.1 to 7.1.1 ([#1545](https://github.com/bigcommerce/checkout-sdk-js/issues/1545)) ([7a1fa61](https://github.com/bigcommerce/checkout-sdk-js/commit/7a1fa616712e3ca9429e4cc69dcda004817ba026))
### [1.279.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.279.1...v1.279.2) (2022-08-16)
### Code Refactoring
* **payment:** PAYPAL-1611 removed PAYPAL-1149.braintree-new-card-below-totals-banner-placement experiment ([#1564](https://github.com/bigcommerce/checkout-sdk-js/issues/1564)) ([52ca958](https://github.com/bigcommerce/checkout-sdk-js/commit/52ca9583bd641fc1ad8b25b9b864f4ca8d8bdd19))
### [1.279.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.279.0...v1.279.1) (2022-08-16)
### Bug Fixes
* **payment:** STRIPE-53 Give more information on payment authentication with 3ds failure error message ([#1488](https://github.com/bigcommerce/checkout-sdk-js/issues/1488)) ([80d6f4a](https://github.com/bigcommerce/checkout-sdk-js/commit/80d6f4acd9ed6a39f0190fe608d36ffe01fb683c))
## [1.279.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.278.1...v1.279.0) (2022-08-16)
### Features
* **payment:** INT-6342 fix klarna issue adding klarna v1 payment_method ([#1522](https://github.com/bigcommerce/checkout-sdk-js/issues/1522)) ([b2097c9](https://github.com/bigcommerce/checkout-sdk-js/commit/b2097c9402d3f13fea5ff52039035a49967ca46a))
### [1.278.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.278.0...v1.278.1) (2022-08-13)
## [1.278.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.277.0...v1.278.0) (2022-08-12)
### Features
* **payment:** INT-6115 Worldpay - Allow to pay ([a185678](https://github.com/bigcommerce/checkout-sdk-js/commit/a185678c830f5f07ba1271e03c063abd237db30c))
* **payment:** INT-6115 Worldpay - animesh1987 | Comments ([f453fef](https://github.com/bigcommerce/checkout-sdk-js/commit/f453fef0611358eb49c985e444959059439c2cfd))
## [1.277.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.276.2...v1.277.0) (2022-08-12)
### Features
* **checkout-button:** INT-6023 Resize VCO button for Discover cards ([#1489](https://github.com/bigcommerce/checkout-sdk-js/issues/1489)) ([24e78e6](https://github.com/bigcommerce/checkout-sdk-js/commit/24e78e6d40944037611aaf7fe83b6059da574c8b))
### [1.276.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.276.1...v1.276.2) (2022-08-12)
### Bug Fixes
* **payment:** INT-5854 [Mollie] Klarna is not available if cart contains digital products ([#1510](https://github.com/bigcommerce/checkout-sdk-js/issues/1510)) ([9077b3e](https://github.com/bigcommerce/checkout-sdk-js/commit/9077b3e05d4eda9e01ae7f855a07e3caee90ee1e))
### [1.276.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.276.0...v1.276.1) (2022-08-10)
## [1.276.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.275.1...v1.276.0) (2022-08-10)
### Features
* **checkout:** STRF-9829 Add hidePriceFromGuests to StoreConfig interface ([#1521](https://github.com/bigcommerce/checkout-sdk-js/issues/1521)) ([b31963b](https://github.com/bigcommerce/checkout-sdk-js/commit/b31963bdeaa8cadca8acec9113417b188989203c))
### Bug Fixes
* **order:** CHECKOUT-000 update order consignments interface ([#1552](https://github.com/bigcommerce/checkout-sdk-js/issues/1552)) ([4644e37](https://github.com/bigcommerce/checkout-sdk-js/commit/4644e3784f6be26a476ddd0850c713382421cb1e))
### [1.275.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.275.0...v1.275.1) (2022-08-09)
## [1.275.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.274.0...v1.275.0) (2022-08-09)
### Features
* **payment:** INT-6128 AmazonPayV2: Introduce the new API V2 config ([#1502](https://github.com/bigcommerce/checkout-sdk-js/issues/1502)) ([11bbe8b](https://github.com/bigcommerce/checkout-sdk-js/commit/11bbe8b4ec82d063cc13d9fdf3d8f59c282b7109))
## [1.274.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.273.0...v1.274.0) (2022-08-08)
### Features
* **checkout:** CHECKOUT-6781 Point to interfaces extracted from integration packages ([d12f024](https://github.com/bigcommerce/checkout-sdk-js/commit/d12f024a3dc53db847900f8e3d87d8c4b88ee031))
### Bug Fixes
* **payment:** STRIPE-51 set a stored card as default during checkout ([#1498](https://github.com/bigcommerce/checkout-sdk-js/issues/1498)) ([d929a2d](https://github.com/bigcommerce/checkout-sdk-js/commit/d929a2d20cd424a4a88430a8571b7ab5e3dfff3d))
## [1.273.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.272.3...v1.273.0) (2022-08-03)
### Features
* **payment:** ADYEN-539 added vaulting card validation ([32d846b](https://github.com/bigcommerce/checkout-sdk-js/commit/32d846b684e9e240900f6dbf05dc6e1c2f2d5f5a))
### [1.272.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.272.2...v1.272.3) (2022-08-03)
### Bug Fixes
* **common:** CHECKOUT-0000 upgrade @babel/polyfill from 7.4.4 to 7.12.1 ([#1516](https://github.com/bigcommerce/checkout-sdk-js/issues/1516)) ([e3eb94b](https://github.com/bigcommerce/checkout-sdk-js/commit/e3eb94b8163e669fc92e48a750f01a8ac0212094))
* **common:** CHECKOUT-0000 upgrade @bigcommerce/request-sender from 1.0.3 to 1.2.1 ([#1533](https://github.com/bigcommerce/checkout-sdk-js/issues/1533)) ([59aeeeb](https://github.com/bigcommerce/checkout-sdk-js/commit/59aeeebbbf4552479dbfbef58feb96349d3fe771))
* **common:** CHECKOUT-0000 upgrade @types/lodash from 4.14.178 to 4.14.182 ([#1531](https://github.com/bigcommerce/checkout-sdk-js/issues/1531)) ([23e09e6](https://github.com/bigcommerce/checkout-sdk-js/commit/23e09e63280e25cfc38a82d5ab58305a90175ad6))
* **common:** CHECKOUT-0000 upgrade iframe-resizer from 3.6.2 to 3.6.6 ([#1532](https://github.com/bigcommerce/checkout-sdk-js/issues/1532)) ([2935623](https://github.com/bigcommerce/checkout-sdk-js/commit/29356236ae5be2b8a38a086bdae9caef8104a416))
### [1.272.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.272.1...v1.272.2) (2022-08-03)
### Bug Fixes
* **common:** CHECKOUT-0000 upgrade rxjs from 6.5.3 to 6.6.7 ([#1515](https://github.com/bigcommerce/checkout-sdk-js/issues/1515)) ([4969178](https://github.com/bigcommerce/checkout-sdk-js/commit/4969178f89c597c710aaf1a4a1f55d693700c95e))
### [1.272.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.272.0...v1.272.1) (2022-08-02)
### Bug Fixes
* **payment:** PAYMENTS-8045 Fix form fields parameter name for PPSDK redirect ([003ab9e](https://github.com/bigcommerce/checkout-sdk-js/commit/003ab9e145c99234666e5a3c48f2f1e69e7777bd))
## [1.272.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.271.3...v1.272.0) (2022-08-02)
### Features
* **checkout:** CHECKOUT-6781 Generate new enum from existing enums ([779f3f5](https://github.com/bigcommerce/checkout-sdk-js/commit/779f3f5f891b55a05b0d3550f456cde1aa075098))
### Code Refactoring
* **payment:** CHECKOUT-6781 Remove unnecessary exports ([40990c2](https://github.com/bigcommerce/checkout-sdk-js/commit/40990c205559327155dfec4ca9d6aa0e72005587))
### [1.271.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.271.2...v1.271.3) (2022-07-28)
### [1.271.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.271.1...v1.271.2) (2022-07-28)
### Bug Fixes
* **checkout:** CHECKOUT-6781 Revert type exports ([#1526](https://github.com/bigcommerce/checkout-sdk-js/issues/1526)) ([6ea0c76](https://github.com/bigcommerce/checkout-sdk-js/commit/6ea0c7663ed4cf821d7a56963d522fef4facbd05))
### [1.271.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.271.0...v1.271.1) (2022-07-28)
### Bug Fixes
* **checkout:** CHECKOUT-6781 Add missing exports ([3e9bec0](https://github.com/bigcommerce/checkout-sdk-js/commit/3e9bec04acc8819b7dade69e176f6b0f5fb2b1e2))
* **checkout:** CHECKOUT-6781 Fix incorrect file path ([3718554](https://github.com/bigcommerce/checkout-sdk-js/commit/37185542ff8b04002ad29c14c2f0477f17cad0e1))
* **checkout:** CHECKOUT-6781 Fix member pattern for button strategies ([fcc22bc](https://github.com/bigcommerce/checkout-sdk-js/commit/fcc22bc1534bbcb54ffdb0fccc19b91a3ae519db))
### Code Refactoring
* **common:** CHECKOUT-6781 Remove redundant logs ([0fc2cf5](https://github.com/bigcommerce/checkout-sdk-js/commit/0fc2cf5807496accc23970ebebf53a4a131a9f12))
## [1.271.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.270.0...v1.271.0) (2022-07-26)
### Features
* **checkout:** CHECKOUT-6780 Use Nx plugin to generate source files so that payment integration packages can be automatically registered ([9c8298a](https://github.com/bigcommerce/checkout-sdk-js/commit/9c8298abce327f6a78725370aca8a552bf59c0d9))
## [1.270.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.269.0...v1.270.0) (2022-07-20)
### Features
* **checkout:** CHECKOUT-6780 Add Nx plugin for generating source files ([3ed6e31](https://github.com/bigcommerce/checkout-sdk-js/commit/3ed6e31b598ffbb55fbb881f4b6d63ff2b77998f))
## [1.269.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.268.0...v1.269.0) (2022-07-20)
### Features
* **checkout:** CHECKOUT-6277 add eslint config to nx ([40d317d](https://github.com/bigcommerce/checkout-sdk-js/commit/40d317dbceb6829d29c44e01a7e0c2dbb73453cc))
### Code Refactoring
* **payment:** PAYPAL-1567 removed unnecessary method and class variable in PayPalCommerceVenmoButtonStrategy ([#1509](https://github.com/bigcommerce/checkout-sdk-js/issues/1509)) ([e50dee7](https://github.com/bigcommerce/checkout-sdk-js/commit/e50dee76eb1b1fc4b779f72f3f342e77271fa5a7))
## [1.268.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.267.0...v1.268.0) (2022-07-19)
### Features
* **payment:** PAYPAL-1532 added PayPalCommerceAlternativeMethods checkout button strategy ([#1505](https://github.com/bigcommerce/checkout-sdk-js/issues/1505)) ([edf237f](https://github.com/bigcommerce/checkout-sdk-js/commit/edf237f23533b7ff8cb192e5860a987f63bc92b9))
## [1.267.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.2...v1.267.0) (2022-07-18)
### Features
* **payment:** BOLT-255 remove experiment for last four digits type ([a8da3d7](https://github.com/bigcommerce/checkout-sdk-js/commit/a8da3d78855032498ac5892801dfb2e1aee3f50a))
### [1.266.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.1...v1.266.2) (2022-07-15)
### Bug Fixes
* **payment:** PAYPAL-0000 removed paypal commerce apms visibility on cart ([#1504](https://github.com/bigcommerce/checkout-sdk-js/issues/1504)) ([3cd204e](https://github.com/bigcommerce/checkout-sdk-js/commit/3cd204e1879d917f352c331d7b7e5649aa545ce6))
### [1.266.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.266.0...v1.266.1) (2022-07-13)
### Bug Fixes
* **payment:** PAYPAL-0000 fixed an issue with enable funding store configuration ([#1500](https://github.com/bigcommerce/checkout-sdk-js/issues/1500)) ([85281e1](https://github.com/bigcommerce/checkout-sdk-js/commit/85281e1b54c9f1aa7dfc9a1afd1184894ea25fa3))
## [1.266.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.265.0...v1.266.0) (2022-07-13)
### Features
* **payment:** PAYPAL-1549 added script options configuration method for PayPalCommerce ([#1496](https://github.com/bigcommerce/checkout-sdk-js/issues/1496)) ([c59a76e](https://github.com/bigcommerce/checkout-sdk-js/commit/c59a76e3cf56fbb84d8563b84991390cab671479))
## [1.265.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.264.2...v1.265.0) (2022-07-11)
### Features
* **payment:** INT-6276 Dispatch the thunk action to retrieve the payment method ([290e2fc](https://github.com/bigcommerce/checkout-sdk-js/commit/290e2fcaeef4a8beb5a937c30fb0c219fbee235a))
### [1.264.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.264.1...v1.264.2) (2022-07-11)
### [1.264.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.264.0...v1.264.1) (2022-07-06)
## [1.264.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.263.0...v1.264.0) (2022-07-05)
### Features
* **payment:** INT-3926 StripeV3: Google Pay: Add BOPIS support ([#1483](https://github.com/bigcommerce/checkout-sdk-js/issues/1483)) ([ccde9b2](https://github.com/bigcommerce/checkout-sdk-js/commit/ccde9b27d86fa83c9bc8db59be695d386d4c545c))
## [1.263.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.4...v1.263.0) (2022-07-05)
### Features
* **payment:** PAYPAL-1383 added PayPalCommerce Venmo button strategy ([#1485](https://github.com/bigcommerce/checkout-sdk-js/issues/1485)) ([6fb289f](https://github.com/bigcommerce/checkout-sdk-js/commit/6fb289fa252b5a21cdc0958dfa88a1121e200775))
### [1.262.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.3...v1.262.4) (2022-07-05)
### [1.262.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.2...v1.262.3) (2022-07-01)
### [1.262.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.1...v1.262.2) (2022-06-30)
### Code Refactoring
* **payment:** PAYPAL-1534 removed Braintree v2 button strategies names ([#1484](https://github.com/bigcommerce/checkout-sdk-js/issues/1484)) ([5533d96](https://github.com/bigcommerce/checkout-sdk-js/commit/5533d96002a119a5eaff92872b2cc9b21e38e6db))
### [1.262.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.262.0...v1.262.1) (2022-06-30)
### Bug Fixes
* **payment:** CHECKOUT-6790 Fix phone number with apple pay ([#1481](https://github.com/bigcommerce/checkout-sdk-js/issues/1481)) ([3ca3720](https://github.com/bigcommerce/checkout-sdk-js/commit/3ca3720d7fbc8cdbeedb61538b9fe81214a99955))
## [1.262.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.261.0...v1.262.0) (2022-06-30)
### Features
* **checkout:** CHECKOUT-6722 pass cart Id to SF/payments API endpoint ([91a6872](https://github.com/bigcommerce/checkout-sdk-js/commit/91a68729fbdd316755284ec542742d0505e0743a))
## [1.261.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.260.0...v1.261.0) (2022-06-28)
### Features
* **payment:** INT-3925 StripeV3: BOPIS ([#1423](https://github.com/bigcommerce/checkout-sdk-js/issues/1423)) ([1c5fbf0](https://github.com/bigcommerce/checkout-sdk-js/commit/1c5fbf02f042125b64a839e4f32730ad4b16b8e0))
## [1.260.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.259.0...v1.260.0) (2022-06-27)
### Features
* **payment:** PAYPAL-1505 removed BraintreePayPalV1Button strategy ([#1475](https://github.com/bigcommerce/checkout-sdk-js/issues/1475)) ([23978e0](https://github.com/bigcommerce/checkout-sdk-js/commit/23978e04a4d57c4761cc2f88391e45128aba4a0b))
### Code Refactoring
* **payment:** PAYPAL-1530 removed Progressive Onboarding feature from PayPalCommerce ([#1478](https://github.com/bigcommerce/checkout-sdk-js/issues/1478)) ([5ece6a8](https://github.com/bigcommerce/checkout-sdk-js/commit/5ece6a8afa8ab7c951a3b30e251acb1589f08253))
## [1.259.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.258.1...v1.259.0) (2022-06-21)
### Features
* **checkout:** CHECKOUT-6765 Update checkout SDK to pass checkout Id to checkout settings api as query string ([c25f293](https://github.com/bigcommerce/checkout-sdk-js/commit/c25f2932aa6c3b1bfff59e6a99560773fdbd82c3))
### [1.258.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.258.0...v1.258.1) (2022-06-20)
## [1.258.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.257.0...v1.258.0) (2022-06-20)
### Features
* **payment:** STRIPE-9 [Stripe UPE] Add support for Klarna ([ca706a5](https://github.com/bigcommerce/checkout-sdk-js/commit/ca706a5e040f309d1f10ca0295a52e76e30587e9))
## [1.257.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.256.0...v1.257.0) (2022-06-19)
### Features
* **checkout:** CHECKOUT-6722 pass cart Id to SF/payments API endpoint ([5f48c75](https://github.com/bigcommerce/checkout-sdk-js/commit/5f48c752a35b27ada9e4730f02d5b15ce27735d2))
## [1.256.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.255.0...v1.256.0) (2022-06-17)
### Features
* **payment:** PAYPAL-1508 removed authentication insight check to make an ability to force trigger 3ds check on Braintree ([#1473](https://github.com/bigcommerce/checkout-sdk-js/issues/1473)) ([6c73d6c](https://github.com/bigcommerce/checkout-sdk-js/commit/6c73d6c2cdffbfd34d6a68bf0be6cff87c7f33ad))
## [1.255.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.254.0...v1.255.0) (2022-06-16)
### Features
* **payment:** PAYPAL-1487 Add paypalcommercevenmo module ([3165559](https://github.com/bigcommerce/checkout-sdk-js/commit/3165559e139962a0cd07dfd212ca822aa64abd31))
## [1.254.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.253.1...v1.254.0) (2022-06-16)
### Features
* **payment:** PAYMENTS-7524 Bump bigpay-client-js version to 5.18.0 to add human verification-related payload ([6e210c2](https://github.com/bigcommerce/checkout-sdk-js/commit/6e210c2577b2ba1123d67cd93c239495c7742dd5))
* **payment:** PAYMENTS-7524 Change StepHandler and ContinueHandler callback parameters to be an object of multiple callbacks ([38267d8](https://github.com/bigcommerce/checkout-sdk-js/commit/38267d8a9a6b159b96bc7e0e481e6ce3ffd25151))
* **payment:** PAYMENTS-7524 Human verification for PPSDK payment methods ([153c6c6](https://github.com/bigcommerce/checkout-sdk-js/commit/153c6c65e45eb8251010837a5b47ed73f0a1942b))
### [1.253.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.253.0...v1.253.1) (2022-06-14)
### Code Refactoring
* **common:** CHECKOUT-6752 Refactor payment strategies to pass method as params ([4aa2e53](https://github.com/bigcommerce/checkout-sdk-js/commit/4aa2e53deaa969999d15de9eed9693b8e1a03d18))
## [1.253.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.252.0...v1.253.0) (2022-06-14)
### Features
* **payment:** PAYPAL-1381 added braintreevenmo checkout button strategy ([#1463](https://github.com/bigcommerce/checkout-sdk-js/issues/1463)) ([659bb0d](https://github.com/bigcommerce/checkout-sdk-js/commit/659bb0d367f0cb7509da196344a9a28d0e28e0a1))
## [1.252.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.251.0...v1.252.0) (2022-06-14)
### Features
* **payment:** PAYPAL-1382 added braintreepaypal checkout button strategy ([#1465](https://github.com/bigcommerce/checkout-sdk-js/issues/1465)) ([b2446ac](https://github.com/bigcommerce/checkout-sdk-js/commit/b2446ac68c4496c6a8935a1c284a7e747b00d13f))
## [1.251.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.250.0...v1.251.0) (2022-06-14)
### Features
* **payment:** PAYPAL-1382 added _removeElement method instead of _hideElement in BraintreePayPalCreditButtonStrategy ([a9a5e8e](https://github.com/bigcommerce/checkout-sdk-js/commit/a9a5e8e71593cd668c0261e0e86f8309ac2c8fb2))
* **payment:** PAYPAL-1382 added braintreepaypalcredit checkout button strategy ([82aa29e](https://github.com/bigcommerce/checkout-sdk-js/commit/82aa29e016c493602e7ef6144c66d663e9b966b6))
* **payment:** PAYPAL-1382 cleared some code in BraintreePayPalCreditButtonStrategy ([33edc69](https://github.com/bigcommerce/checkout-sdk-js/commit/33edc6913baeb247ab6f396047e91326ae1f6334))
* **payment:** PAYPAL-1382 updated checkout button method mapper ([b165152](https://github.com/bigcommerce/checkout-sdk-js/commit/b165152f173942b37f4875426e104095fdc64294))
### Bug Fixes
* **payment:** PAYPAL-1382 fixed an issue with braintreepaypalcreditv2 naming ([e061d19](https://github.com/bigcommerce/checkout-sdk-js/commit/e061d196fb975c8893272fdfda91de87e11dcd91))
## [1.250.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.249.0...v1.250.0) (2022-06-08)
### Features
* **payment:** PAYPAL-1368 added checking required fields ([aa706e7](https://github.com/bigcommerce/checkout-sdk-js/commit/aa706e7d468ad5bc8e354e59e60d863c662d87d5))
## [1.249.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.248.2...v1.249.0) (2022-06-06)
### Features
* **payment:** PAYPAL-0000 updated braintree paypal checkout button strategy to prepare strategies separation ([5d68a3d](https://github.com/bigcommerce/checkout-sdk-js/commit/5d68a3d2b30bb7b6ddaa363e42da30655fef6f6b))
### [1.248.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.248.1...v1.248.2) (2022-06-03)
### Bug Fixes
* **payment:** INT-6055 Stripe UPE mount fields properly if previously selected ([34df8a6](https://github.com/bigcommerce/checkout-sdk-js/commit/34df8a6b0b224d694d4e717273c6d1dd82ac90b3))
### [1.248.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.248.0...v1.248.1) (2022-06-01)
## [1.248.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.247.1...v1.248.0) (2022-05-31)
### Features
* **checkout:** CHECKOUT-6703 post cartid for order creation API endpoint ([2f9bd11](https://github.com/bigcommerce/checkout-sdk-js/commit/2f9bd11cd66174dba481e5d8ede8f3757083c321))
### [1.247.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.247.0...v1.247.1) (2022-05-30)
### Bug Fixes
* **payment:** INT-5826 AmazonPayV2: Provide a relative URL for `createCheckoutSession.url` ([d3d6951](https://github.com/bigcommerce/checkout-sdk-js/commit/d3d69518cb7a10d1e4ebb3e4fb3a3dd96e1108d6))
## [1.247.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.5...v1.247.0) (2022-05-30)
### Features
* **payment:** PAYPAL-1466 fixed currency issue ([#1457](https://github.com/bigcommerce/checkout-sdk-js/issues/1457)) ([8146537](https://github.com/bigcommerce/checkout-sdk-js/commit/814653783547daf2fe7ec460b3e042eb1dfef930))
### [1.246.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.4...v1.246.5) (2022-05-25)
### Bug Fixes
* **checkout:** ADYEN-480 adyen vaulting fix ([bdc90f1](https://github.com/bigcommerce/checkout-sdk-js/commit/bdc90f1c2f08939b65caa5da0b973082b04c5afb))
### [1.246.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.3...v1.246.4) (2022-05-25)
### Bug Fixes
* **payment:** INT-5949 stripe UPE Don't hide the state field ([#1431](https://github.com/bigcommerce/checkout-sdk-js/issues/1431)) ([3194435](https://github.com/bigcommerce/checkout-sdk-js/commit/31944355a188a83e3ad2a37e3f67bf761d737bc6))
### [1.246.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.2...v1.246.3) (2022-05-25)
### Bug Fixes
* **checkout:** IINT-5126 [MPGS] Add delay between calls for 3ds ([#1428](https://github.com/bigcommerce/checkout-sdk-js/issues/1428)) ([fa86745](https://github.com/bigcommerce/checkout-sdk-js/commit/fa86745d52168f440e513dc320e5623de6b4c75b))
### [1.246.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.1...v1.246.2) (2022-05-23)
### [1.246.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.246.0...v1.246.1) (2022-05-19)
## [1.246.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.245.1...v1.246.0) (2022-05-19)
### Features
* **payment:** PAYPAL-1465 added extra check for braintree 3DS verification ([538616f](https://github.com/bigcommerce/checkout-sdk-js/commit/538616f8d96219961b8e0a313bb1d4a904a11be7))
### [1.245.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.245.0...v1.245.1) (2022-05-19)
### Bug Fixes
* **payment:** INT-5481 Worldpay - Add worldpay initialize options ([82ae296](https://github.com/bigcommerce/checkout-sdk-js/commit/82ae2965f38784e111683795013d58d6b68d476d))
## [1.245.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.244.2...v1.245.0) (2022-05-18)
### Features
* **payment:** PAYPAL-1409 added OXXO APM to paypalcommerce ([1a5ef86](https://github.com/bigcommerce/checkout-sdk-js/commit/1a5ef86926a14b41b2684753016141a0471ca9c3))
* **payment:** PAYPAL-1420 add new creating flow for paypal oxxo ([fbf3f45](https://github.com/bigcommerce/checkout-sdk-js/commit/fbf3f45903afb5b9eafa4dbd7cdefa777a38fdad))
* **payment:** PAYPAL-1420 changes after code review ([a9cc582](https://github.com/bigcommerce/checkout-sdk-js/commit/a9cc5825c1be3be2d42101a1ea87c188ad9bcf5d))
### [1.244.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.244.1...v1.244.2) (2022-05-17)
### [1.244.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.244.0...v1.244.1) (2022-05-16)
## [1.244.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.243.0...v1.244.0) (2022-05-13)
### Features
* **checkout:** INT-5963 Check for feature flag when loading threeDS Script ([#1435](https://github.com/bigcommerce/checkout-sdk-js/issues/1435)) ([eeca0e4](https://github.com/bigcommerce/checkout-sdk-js/commit/eeca0e44937a1242e84c4897a48f8259767f4c09))
## [1.243.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.242.2...v1.243.0) (2022-05-05)
### Features
* **payment:** INT-5754 Stripe UPE update payment intent ([8c7fc8e](https://github.com/bigcommerce/checkout-sdk-js/commit/8c7fc8ee9a1f386cf19473c1f906b190e3f29192))
### [1.242.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.242.1...v1.242.2) (2022-05-02)
### Bug Fixes
* **checkout:** CHECKOUT-6631 Sentry issue bugfix ([#1425](https://github.com/bigcommerce/checkout-sdk-js/issues/1425)) ([fe43048](https://github.com/bigcommerce/checkout-sdk-js/commit/fe4304877ca73e96a1d6d6cda92dd480f6730917))
### [1.242.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.242.0...v1.242.1) (2022-05-02)
## [1.242.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.241.0...v1.242.0) (2022-04-28)
### Features
* **payment:** PAYPAL-1177 added implementation for checking 3DS regulation and handle 3DS required error from backend ([3e3513e](https://github.com/bigcommerce/checkout-sdk-js/commit/3e3513e013909ef87ea91eafc5e1ac399a0986e1))
## [1.241.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.5...v1.241.0) (2022-04-28)
### Features
* **checkout:** INT-5273 Non-Default Shipping Method Selection On Cart Page Is Not Persisted to Apple Pay ([cded620](https://github.com/bigcommerce/checkout-sdk-js/commit/cded620bee137dcb4947d134494429901983cab0))
### [1.240.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.4...v1.240.5) (2022-04-27)
### Bug Fixes
* **checkout:** ADYEN-431 AdyenV3 component state fix ([4300c75](https://github.com/bigcommerce/checkout-sdk-js/commit/4300c75b6b29ddcd89f017d7b4111c46664f26ee))
### [1.240.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.3...v1.240.4) (2022-04-27)
### Bug Fixes
* **common:** CHECKOUT-6591 Update node version requirement to >=14.18 ([a24bc1c](https://github.com/bigcommerce/checkout-sdk-js/commit/a24bc1c39c65a4d90f5c091f25a0920f61d5199f))
### [1.240.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.2...v1.240.3) (2022-04-26)
### Bug Fixes
* **common:** CHECKOUT-6268 Update asset path ([#1417](https://github.com/bigcommerce/checkout-sdk-js/issues/1417)) ([8aad60f](https://github.com/bigcommerce/checkout-sdk-js/commit/8aad60ff2fffa02d9caa1c20660ffe0718d901aa))
### [1.240.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.1...v1.240.2) (2022-04-26)
### Bug Fixes
* **common:** CHECKOUT-6268 Check in array while loading config ([#1415](https://github.com/bigcommerce/checkout-sdk-js/issues/1415)) ([3ba71c6](https://github.com/bigcommerce/checkout-sdk-js/commit/3ba71c65e408c9f138b24fa20c5fca9b9e161133))
### [1.240.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.240.0...v1.240.1) (2022-04-21)
### Bug Fixes
* **payment:** INT-5821 Stripe UPE Error on redirect payments with hidden fields ([#1397](https://github.com/bigcommerce/checkout-sdk-js/issues/1397)) ([f568e6c](https://github.com/bigcommerce/checkout-sdk-js/commit/f568e6c0c8d6d8525e3a1cc6c38f0757ed1c105d))
## [1.240.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.239.0...v1.240.0) (2022-04-19)
### Features
* **payment:** INT-5573 Add shopper locale to Mollie strategy ([#1399](https://github.com/bigcommerce/checkout-sdk-js/issues/1399)) ([a6c1e32](https://github.com/bigcommerce/checkout-sdk-js/commit/a6c1e320988602a0ee1a1ae5617e04f6ff32a741))
## [1.239.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.238.2...v1.239.0) (2022-04-18)
### Features
* **payment:** PAYMENTS-7707 Bump bigpay-client for PPSDK payment endpoint ([2714d24](https://github.com/bigcommerce/checkout-sdk-js/commit/2714d24430f48f3224d7f1b5d32dfd0feefe7292))
* **payment:** PAYMENTS-7707 Create PPSDK credit card payment substrategy ([775e17c](https://github.com/bigcommerce/checkout-sdk-js/commit/775e17c1b5a2241f12b6128ba8eacb0b0cf1764f))
* **payment:** PAYMENTS-7707 Update hosted forms to handle PPSDK credit card payment responses ([2db757f](https://github.com/bigcommerce/checkout-sdk-js/commit/2db757fcc599d731cb68605a3248dc114c2495eb))
### [1.238.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.238.1...v1.238.2) (2022-04-14)
### [1.238.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.238.0...v1.238.1) (2022-04-14)
### Bug Fixes
* **shipping:** CHECKOUT-6422 Use union type for consignment assignment interface ([#1405](https://github.com/bigcommerce/checkout-sdk-js/issues/1405)) ([0647e6f](https://github.com/bigcommerce/checkout-sdk-js/commit/0647e6fb8c8a46ff5cb932ec148419d011cef952))
## [1.238.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.237.3...v1.238.0) (2022-04-14)
### Features
* **payment:** INT-5060 Stripe UPE Look and Feel map theme styles to stripe appearance API ([2fd15b0](https://github.com/bigcommerce/checkout-sdk-js/commit/2fd15b0f217502a0773cec0c02a871a6459a9f45))
### [1.237.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.237.2...v1.237.3) (2022-04-13)
### Bug Fixes
* **checkout:** CHECKOUT-6563 Apple Pay in Cart does not load config ([#1402](https://github.com/bigcommerce/checkout-sdk-js/issues/1402)) ([dc66e45](https://github.com/bigcommerce/checkout-sdk-js/commit/dc66e45096b193d57f4e54a8d263dc210de4988e))
### [1.237.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.237.1...v1.237.2) (2022-04-11)
### Bug Fixes
* **payment:** CHECKOUT-6071 Add apple pay style container class ([#1400](https://github.com/bigcommerce/checkout-sdk-js/issues/1400)) ([f643abf](https://github.com/bigcommerce/checkout-sdk-js/commit/f643abf528aaeb33a320b1ab43b95858f9f9fe9b))
### [1.237.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.237.0...v1.237.1) (2022-04-07)
### Bug Fixes
* **payment:** BOLT-203 Incorrect type of last 4 card number digit ([24fb188](https://github.com/bigcommerce/checkout-sdk-js/commit/24fb188278732be703c347eb74cda65a4653cd9c))
## [1.237.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.236.0...v1.237.0) (2022-04-07)
### Features
* **payment:** CHECKOUT-6264 Add payment integration service ([0618c41](https://github.com/bigcommerce/checkout-sdk-js/commit/0618c417c1d283963ae39a6a44fd098ffe26e399))
* **shipping:** CHECKOUT-6422 Add address property to consignment interface ([#1386](https://github.com/bigcommerce/checkout-sdk-js/issues/1386)) ([1bbab84](https://github.com/bigcommerce/checkout-sdk-js/commit/1bbab8487f149811f8843857958cbcdb291aad4f))
## [1.236.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.235.1...v1.236.0) (2022-04-07)
### Features
* **checkout:** INT-5126 [MPGS] Add MPGS to vaulting supported providers ([9c5cbd8](https://github.com/bigcommerce/checkout-sdk-js/commit/9c5cbd85b505ac12f65754ec9919225d23d24fc6))
* **checkout:** INT-5126 [MPGS] Add 3DS support to MPGS ([d7a8545](https://github.com/bigcommerce/checkout-sdk-js/commit/d7a85458db6bbe20071c9f51c0307bf6df84147c))
* **checkout:** INT-5126 [MPGS] Add retry limit for AuthenticatePayer ([63704a0](https://github.com/bigcommerce/checkout-sdk-js/commit/63704a0b4f841f2683174d6b63c6e512bba5fe0e))
* **checkout:** INT-5126 [MPGS] Add Unit Tests and small refactor ([2fca208](https://github.com/bigcommerce/checkout-sdk-js/commit/2fca208a2901104c3297bb0c7d38f43889574e78))
* **checkout:** INT-5126 [MPGS] Minor Styling Changes ([fcf5382](https://github.com/bigcommerce/checkout-sdk-js/commit/fcf5382fe1a7ca478fd1c624c3ad60ddb4673f5b))
* **payment:** INT-5498 add detach function to deinitialize ([c4067c7](https://github.com/bigcommerce/checkout-sdk-js/commit/c4067c745a44f9612fca4cf7170be154eb0afa59))
### [1.235.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.235.0...v1.235.1) (2022-04-06)
### Bug Fixes
* **checkout:** ADYEN-454 AdyenV2 initialize interface fix ([cf8f135](https://github.com/bigcommerce/checkout-sdk-js/commit/cf8f1355164c58aef28bcee670e1ac9b4239c8f6))
## [1.235.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.234.0...v1.235.0) (2022-04-04)
### Features
* **payment:** INT-5057 STRIPE UPE use vaulted card ([c78e600](https://github.com/bigcommerce/checkout-sdk-js/commit/c78e6007b709603f57a432a483cf0ad2fd01419f))
### Bug Fixes
* **checkout:** INT-5543 [CKO] Add token format support ([b4e0289](https://github.com/bigcommerce/checkout-sdk-js/commit/b4e02899d45fe5291dd8bb716c30e5ef4eeac67c))
* **checkout:** INT-5543 [CKO] Implement interface for processors ([059f7ec](https://github.com/bigcommerce/checkout-sdk-js/commit/059f7ecdfc489c5ed34432cf07b408fcf31e5b26))
* **checkout:** INT-5543 [CKO] Minor style changes ([1716cf5](https://github.com/bigcommerce/checkout-sdk-js/commit/1716cf5cb69665b645ede8eda2d48cbe6af4c3d0))
* **checkout:** INT-5543 [CKO] Solve conflicts and change window replace ([4490aef](https://github.com/bigcommerce/checkout-sdk-js/commit/4490aef7d6786ce2efd1227c4e00dd43f1c915a9))
* **checkout:** INT-5543 [CKO] Update to 3ds on Googlepay ([7b073a9](https://github.com/bigcommerce/checkout-sdk-js/commit/7b073a99f6383718a9062d435dc3aaa74e3aaf57))
## [1.234.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.233.0...v1.234.0) (2022-03-30)
### Features
* **checkout:** ADYEN-399 AdyenV3 googlepay ([e347d8a](https://github.com/bigcommerce/checkout-sdk-js/commit/e347d8ad8df7c844ab57366ce28d65b76aae6299))
## [1.233.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.232.2...v1.233.0) (2022-03-30)
### Features
* **payment:** INT-5572 Stripe UPE Hide Fields ([833c940](https://github.com/bigcommerce/checkout-sdk-js/commit/833c940a01d8bfbb8c404b32ffcf27cc5180c686))
* **payment:** INT-5572 Stripe UPE string constants ([66e06c4](https://github.com/bigcommerce/checkout-sdk-js/commit/66e06c41aa4d0f8dc901b58f113beabfcaf7ef09))
### Bug Fixes
* **payment:** INT-5175 fixing redirect in googlepay using embedded checkout on customer section ([42c3bc6](https://github.com/bigcommerce/checkout-sdk-js/commit/42c3bc65f4130bc4a7f9cc21311c7abe7c3acbc4))
### [1.232.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.232.1...v1.232.2) (2022-03-29)
### Bug Fixes
* **shipping:** CHECKOUT-0000 Throw error if no shipping options present ([#1389](https://github.com/bigcommerce/checkout-sdk-js/issues/1389)) ([670ea28](https://github.com/bigcommerce/checkout-sdk-js/commit/670ea28d6fcfc6d4a26d045967551268704f5b7c))
### [1.232.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.232.0...v1.232.1) (2022-03-28)
## [1.232.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.231.0...v1.232.0) (2022-03-24)
### Features
* **payment:** INT-5033 - INT-5053 [Stripe UPE] Add support for Giropay and Alipay ([#1361](https://github.com/bigcommerce/checkout-sdk-js/issues/1361)) ([2ed11b9](https://github.com/bigcommerce/checkout-sdk-js/commit/2ed11b9c99ae9276a8b8e0b054a2be7335a7897e))
## [1.231.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.230.0...v1.231.0) (2022-03-23)
### Features
* **payment:** INT-5042 [Stripe UPE] Add support for Bancontact & iDeal ([#1356](https://github.com/bigcommerce/checkout-sdk-js/issues/1356)) ([3495d00](https://github.com/bigcommerce/checkout-sdk-js/commit/3495d00d7b9b534ea3869cda58a58bbd84b4787e))
### Bug Fixes
* **payment:** INT-5723 fix customers with saved credit cards unable to check out with 3ds ([#1371](https://github.com/bigcommerce/checkout-sdk-js/issues/1371)) ([4f3fe50](https://github.com/bigcommerce/checkout-sdk-js/commit/4f3fe50ce0df58aeedd6a54f0414925bc24877d8))
## [1.230.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.229.0...v1.230.0) (2022-03-23)
### Features
* **payment:** INT-5040 Add GrabPay to StripeUPE ([#1350](https://github.com/bigcommerce/checkout-sdk-js/issues/1350)) ([dd41821](https://github.com/bigcommerce/checkout-sdk-js/commit/dd418217d2e233ea81ce1890c62549be8bc8fc6d))
## [1.229.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.228.0...v1.229.0) (2022-03-23)
### Features
* **payment:** INT-5061 Stripe UPE localization ([#1357](https://github.com/bigcommerce/checkout-sdk-js/issues/1357)) ([35b8341](https://github.com/bigcommerce/checkout-sdk-js/commit/35b83410b980ed6d2a4a09704f99d5c632b25cb9))
## [1.228.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.227.4...v1.228.0) (2022-03-22)
### Features
* **payment:** INT-5034 StripeUPE Add support for EPS ([#1348](https://github.com/bigcommerce/checkout-sdk-js/issues/1348)) ([ce342d9](https://github.com/bigcommerce/checkout-sdk-js/commit/ce342d94cef53d37d4e5b8b6ac137974dfc52ddb))
### [1.227.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.227.3...v1.227.4) (2022-03-22)
### Bug Fixes
* **payment:** INT-5619 fix deinitialize to remove dom elements on mollie strategy ([#1369](https://github.com/bigcommerce/checkout-sdk-js/issues/1369)) ([8e863db](https://github.com/bigcommerce/checkout-sdk-js/commit/8e863db49f272abfc2f8b13f8626861482c82d47))
### [1.227.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.227.2...v1.227.3) (2022-03-21)
### Bug Fixes
* **shipping:** CHECKOUT-6003 Fix issues found in testing pickup options implementation ([#1366](https://github.com/bigcommerce/checkout-sdk-js/issues/1366)) ([d5cfd22](https://github.com/bigcommerce/checkout-sdk-js/commit/d5cfd229b15a7548c916668a552a44a4fca3d137))
### [1.227.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.227.1...v1.227.2) (2022-03-20)
### Bug Fixes
* **checkout:** CHECKOUT-6125 Safari and Firefox focus loss bugfix ([#1373](https://github.com/bigcommerce/checkout-sdk-js/issues/1373)) ([e8f8f43](https://github.com/bigcommerce/checkout-sdk-js/commit/e8f8f438602e5efb5fae712495f2124a75b017da))
### [1.227.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.227.0...v1.227.1) (2022-03-16)
### Bug Fixes
* **payment:** INT-5645 Openpay: Change `OpyError` message ([f1e734f](https://github.com/bigcommerce/checkout-sdk-js/commit/f1e734f92e69c7c5a7c146d40a04a15a73a51e73))
## [1.227.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.226.0...v1.227.0) (2022-03-10)
### Features
* **checkout:** ADYEN-378 AdyenV3 module creation ([de64268](https://github.com/bigcommerce/checkout-sdk-js/commit/de64268aa1a21dc655161ab52088dbc6ce54b332))
## [1.226.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.225.0...v1.226.0) (2022-03-10)
### Features
* **payment:** INT-4970 Stored Credit Cards - vaulting enabled ([1fcda16](https://github.com/bigcommerce/checkout-sdk-js/commit/1fcda1644967f346c93bf59c51af2e3a22004b80))
## [1.225.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.224.0...v1.225.0) (2022-03-03)
### Features
* **payment:** INT-4970 bump bigpay-client for Opayo stored cards ([3619ab2](https://github.com/bigcommerce/checkout-sdk-js/commit/3619ab21e76ff0bee5b2cd2fc2e7ee0ba1b56491))
## [1.224.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.223.1...v1.224.0) (2022-02-28)
### Features
* **shipping:** CHECKOUT-6003 Add radius unit type and update interface ([#1354](https://github.com/bigcommerce/checkout-sdk-js/issues/1354)) ([d67049a](https://github.com/bigcommerce/checkout-sdk-js/commit/d67049a6bfc37e9483b36a23154ed0ab9edf01eb))
### [1.223.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.223.0...v1.223.1) (2022-02-28)
## [1.223.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.222.0...v1.223.0) (2022-02-24)
### Features
* **payment:** INT-5090 Stripe UPE add handler for redirect methods ([693ab4e](https://github.com/bigcommerce/checkout-sdk-js/commit/693ab4e357f9e885b3b1cd21970a4e5010457c13))
* **payment:** INT-5090 Stripe UPE SOFORT support ([4236bc1](https://github.com/bigcommerce/checkout-sdk-js/commit/4236bc1458fb74ec650bc24d9c065cd472df6aa5))
* **payment:** INT-5156 Klarna add support for poland, portugal, ireland ([#1351](https://github.com/bigcommerce/checkout-sdk-js/issues/1351)) ([1045e27](https://github.com/bigcommerce/checkout-sdk-js/commit/1045e271fc40f95982fa9172576bc35448fce219))
## [1.222.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.221.0...v1.222.0) (2022-02-21)
### Features
* **payment:** PAYPAL-1151 braintree venmo spb integration ([#1346](https://github.com/bigcommerce/checkout-sdk-js/issues/1346)) ([dbca991](https://github.com/bigcommerce/checkout-sdk-js/commit/dbca9919143260ae7a9626b124604b3412cdac23))
## [1.221.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.220.0...v1.221.0) (2022-02-18)
### Features
* **payment:** INT-5467 Stripe UPE GooglePay ([a821b71](https://github.com/bigcommerce/checkout-sdk-js/commit/a821b718ef3bc15a3e5703e9aa6b1012bcc98df4))
* **payment:** INT-5467 Stripe UPE GooglePay Checkout button and customer strategy ([a8ea005](https://github.com/bigcommerce/checkout-sdk-js/commit/a8ea005bd0f0632679cc4f499886d59cbd4e8256))
* **payment:** INT-5467 Stripe UPE GooglePay PR feedback ([6eed391](https://github.com/bigcommerce/checkout-sdk-js/commit/6eed3918247a0c0683c232c34040ae91257b4907))
## [1.220.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.219.0...v1.220.0) (2022-02-17)
### Features
* **shipping:** CHECKOUT-6003 Add method to fetch available shipping options ([#1337](https://github.com/bigcommerce/checkout-sdk-js/issues/1337)) ([2405886](https://github.com/bigcommerce/checkout-sdk-js/commit/2405886003e928596e43b91d1f51a43875984a10))
## [1.219.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.218.0...v1.219.0) (2022-02-17)
### Features
* **payment:** PAYPAL-1282 New style object for PayPal APMs ([#1330](https://github.com/bigcommerce/checkout-sdk-js/issues/1330)) ([89ecb3f](https://github.com/bigcommerce/checkout-sdk-js/commit/89ecb3f86019be9ddeadfa5b0e9d256fc4a88418))
## [1.218.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.217.0...v1.218.0) (2022-02-17)
### Features
* **payment:** INT-5384 Openpay: Add the learn more button widget ([6990849](https://github.com/bigcommerce/checkout-sdk-js/commit/69908496e5692611b12a60dae0b43b45591a4dc7))
## [1.217.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.216.0...v1.217.0) (2022-02-14)
### Features
* **payment:** INT-4282 removing masterpass logic for square ([8118522](https://github.com/bigcommerce/checkout-sdk-js/commit/8118522d5dd008d38a3f5f58468fe59c3b0bc8d0))
## [1.216.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.215.1...v1.216.0) (2022-02-10)
### Features
* **order:** INT-4776 Create a new field for the mandate reference ID ([#1220](https://github.com/bigcommerce/checkout-sdk-js/issues/1220)) ([e9005f5](https://github.com/bigcommerce/checkout-sdk-js/commit/e9005f56af5adb37322f19325e527f3b7b9e1500))
### [1.215.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.215.0...v1.215.1) (2022-02-10)
## [1.215.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.214.1...v1.215.0) (2022-02-08)
### Features
* **checkout:** CHECKOUT-6071 Update Apple Pay in Cart ([#1334](https://github.com/bigcommerce/checkout-sdk-js/issues/1334)) ([1dd8b0f](https://github.com/bigcommerce/checkout-sdk-js/commit/1dd8b0fc6e30459b1644a2a5f5e6bc323508a00e))
### [1.214.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.214.0...v1.214.1) (2022-02-07)
### Bug Fixes
* **common:** CHECKOUT-0000 upgrade core-js from 3.1.2 to 3.20.1 ([#1323](https://github.com/bigcommerce/checkout-sdk-js/issues/1323)) ([4d1e4cd](https://github.com/bigcommerce/checkout-sdk-js/commit/4d1e4cde447e9046876e2c04acbc34fa96d84268))
* **common:** CHECKOUT-0000 upgrade @types/lodash from 4.14.139 to 4.14.178 ([#1324](https://github.com/bigcommerce/checkout-sdk-js/issues/1324)) ([78a3b65](https://github.com/bigcommerce/checkout-sdk-js/commit/78a3b652b3801dd9ffd0589db6f1d0f78ad00fb6))
* **common:** CHECKOUT-0000 upgrade reselect from 4.0.0 to 4.1.5 ([#1327](https://github.com/bigcommerce/checkout-sdk-js/issues/1327)) ([c6df17f](https://github.com/bigcommerce/checkout-sdk-js/commit/c6df17fa06d8136263f021ee406a7be7df1536f8))
## [1.214.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.213.1...v1.214.0) (2022-02-04)
### Features
* **payment:** INT-4969 add browser_info for Opayo ([b85353f](https://github.com/bigcommerce/checkout-sdk-js/commit/b85353fa4e84ef9ec1be66f10915b162958352da))
* **payment:** INT-4969 add SagePayPayload type ([647e87f](https://github.com/bigcommerce/checkout-sdk-js/commit/647e87f3852ee778a8dd6bded84dbab68b3d5b88))
* **payment:** INT-4969 add SagePayPayload type ([046e28d](https://github.com/bigcommerce/checkout-sdk-js/commit/046e28da021a1322c7f04c9fc63c2aeec746980c))
* **payment:** INT-4969 add Unit Tests ([ddfa5a7](https://github.com/bigcommerce/checkout-sdk-js/commit/ddfa5a75958c99aa443fbfb5b1f56d43af52621a))
* **payment:** INT-4969 remove SagePayPayload type ([c93499c](https://github.com/bigcommerce/checkout-sdk-js/commit/c93499cb858f6ba1116e3ac53a2fefbe046ad8d4))
### [1.213.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.213.0...v1.213.1) (2022-02-03)
### Bug Fixes
* **payment:** CHECKOUT-6070 Update style of apple pay customer step button ([#1341](https://github.com/bigcommerce/checkout-sdk-js/issues/1341)) ([d4a3fd4](https://github.com/bigcommerce/checkout-sdk-js/commit/d4a3fd4a6569e8039c1b9bb1f71ba27a6ca71624))
## [1.213.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.212.0...v1.213.0) (2022-02-03)
### Features
* **payment:** INT-4969 Bump bigpay-client dependency to add browser info for Opayo ([972e1bf](https://github.com/bigcommerce/checkout-sdk-js/commit/972e1bf4d267717a6323531b103e08a6c2791422))
### Bug Fixes
* **checkout:** INT-5409 Change error message when payment data is unavailable ([94cfe42](https://github.com/bigcommerce/checkout-sdk-js/commit/94cfe423d03ea9e454e15a2ffcc5a4abc3e08b61))
## [1.212.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.211.0...v1.212.0) (2022-02-02)
### Features
* **shipping:** CHECKOUT-6004 Add pickup options to consignment interfaces ([#1332](https://github.com/bigcommerce/checkout-sdk-js/issues/1332)) ([d201e5d](https://github.com/bigcommerce/checkout-sdk-js/commit/d201e5dc2ef3c1612097ee4a60182aa92ae695d0))
## [1.211.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.210.0...v1.211.0) (2022-01-20)
### Features
* **payments:** CHECKOUT-6070 Add apple pay customer strategy ([#1307](https://github.com/bigcommerce/checkout-sdk-js/issues/1307)) ([e0dcd53](https://github.com/bigcommerce/checkout-sdk-js/commit/e0dcd539d74d336364051e926673d2736324e49c))
## [1.210.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.209.0...v1.210.0) (2022-01-20)
### Features
* **payment:** INT-5150 Delete experiment StripeV3 enable_reuse_payment_intent experiment ([678291b](https://github.com/bigcommerce/checkout-sdk-js/commit/678291b2e78982fb9e65b35bd7b8080d6b3f6645))
### Bug Fixes
* **payment:** INT-5402 Afterpay - Change the SDK URL to the newest one ([5f826da](https://github.com/bigcommerce/checkout-sdk-js/commit/5f826da38b7c900c518e8b00351ba8cdb212d70f))
## [1.209.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.208.0...v1.209.0) (2022-01-18)
### Features
* **payment:** BOLT-135 multi-field component ([c234df0](https://github.com/bigcommerce/checkout-sdk-js/commit/c234df09b3e4623c4783f14953332955722de7ee))
## [1.208.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.207.0...v1.208.0) (2022-01-17)
### Features
* **payment:** PAYPAL-1208 renamed paypal Fields to PaymentFields ([#1313](https://github.com/bigcommerce/checkout-sdk-js/issues/1313)) ([bdf01d1](https://github.com/bigcommerce/checkout-sdk-js/commit/bdf01d1622d54d990df8c1c91b0fcd9cd2106404))
## [1.207.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.206.2...v1.207.0) (2022-01-17)
### Features
* **payment:** INT-5031 Stripe: Stripe UPE boilerplate ([#1295](https://github.com/bigcommerce/checkout-sdk-js/issues/1295)) ([f039e8b](https://github.com/bigcommerce/checkout-sdk-js/commit/f039e8b937dcb838006b51fde0ce9e49750b186b))
### [1.206.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.206.1...v1.206.2) (2022-01-11)
### Bug Fixes
* **payment:** ADYEN-373 fix iDEAL payment ([efa76e8](https://github.com/bigcommerce/checkout-sdk-js/commit/efa76e8ba2adf88face5e3e4e4d1d1ebbc1c8764))
### [1.206.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.206.0...v1.206.1) (2022-01-04)
### Bug Fixes
* **payment:** ADYEN-296 Card fields validation ([40b26f1](https://github.com/bigcommerce/checkout-sdk-js/commit/40b26f168b77adff3e11504733b9d4da722bf69a))
## [1.206.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.205.1...v1.206.0) (2021-12-21)
### Features
* **checkout:** CHECKOUT-6248 Throw Custom Error When Tax Service Unavailable ([#1306](https://github.com/bigcommerce/checkout-sdk-js/issues/1306)) ([1e2455e](https://github.com/bigcommerce/checkout-sdk-js/commit/1e2455eb5fe91d876e99c458320e75158017bcdb))
### [1.205.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.205.0...v1.205.1) (2021-12-19)
### Bug Fixes
* **payment:** INT-5166 CKO mapping for vaulted instrument ([fc02041](https://github.com/bigcommerce/checkout-sdk-js/commit/fc02041c785330cc02bba611cc42ef9673c12486))
## [1.205.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.204.0...v1.205.0) (2021-12-16)
### Features
* **payment:** INT-4893 Add translations for errors from execute step ([afa9698](https://github.com/bigcommerce/checkout-sdk-js/commit/afa9698afe63fdd6b09e7cb97abc6a37ae4ed8e1))
* **payment:** INT-4893 Retrieve initialization data from Humm ([b78a57d](https://github.com/bigcommerce/checkout-sdk-js/commit/b78a57d7e26963f5bb252f42e09b09bdf1e26ec4))
## [1.204.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.203.0...v1.204.0) (2021-12-13)
### Features
* **payment:** BOLT-109 added extra check for transaction reference what comes from Bolt ([fccb9e7](https://github.com/bigcommerce/checkout-sdk-js/commit/fccb9e79e7ffc87c8323fe67721a4fe5e5a35cbd))
## [1.203.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.202.0...v1.203.0) (2021-12-08)
### Features
* **payment:** BOLT-100 add error codes for Bolt fields ([cf9b5ec](https://github.com/bigcommerce/checkout-sdk-js/commit/cf9b5ec8e5a4103e1493b6267c407cc67c0b1285))
* **payment:** BOLT-100 add error mesages for Bolt fields ([1090565](https://github.com/bigcommerce/checkout-sdk-js/commit/109056578c7943f4922b472cd761b0073c850060))
## [1.202.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.201.2...v1.202.0) (2021-12-06)
### Features
* **payment:** INT-5000 Throw error when payment method isn't available ([#1286](https://github.com/bigcommerce/checkout-sdk-js/issues/1286)) ([893f1fc](https://github.com/bigcommerce/checkout-sdk-js/commit/893f1fca9e86a257be23b3803fdec91f291d884c))
### [1.201.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.201.1...v1.201.2) (2021-12-03)
### Bug Fixes
* **checkout:** ADYEN-320 reset adyen component state on deinitialize ([e484781](https://github.com/bigcommerce/checkout-sdk-js/commit/e484781f8b1b5951e1d7fa7231f8e9177533aa1a))
### [1.201.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.201.0...v1.201.1) (2021-12-02)
### Bug Fixes
* **payment:** CHECKOUT-6066 Remove 0 space characters ([#1300](https://github.com/bigcommerce/checkout-sdk-js/issues/1300)) ([83d7cc9](https://github.com/bigcommerce/checkout-sdk-js/commit/83d7cc9fae26dce7d515fbf66c2ef1f1a428587a))
## [1.201.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.200.0...v1.201.0) (2021-12-02)
### Features
* **payment:** INT-4897 Humm - Add Humm strategy as external payment ([#1266](https://github.com/bigcommerce/checkout-sdk-js/issues/1266)) ([e13dc61](https://github.com/bigcommerce/checkout-sdk-js/commit/e13dc614ad61e3e54a41013d78363e288cc7cea8))
## [1.200.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.199.1...v1.200.0) (2021-12-01)
### Features
* **payment:** CHECKOUT-6066 Add apple pay payment strategy ([#1297](https://github.com/bigcommerce/checkout-sdk-js/issues/1297)) ([d0558cc](https://github.com/bigcommerce/checkout-sdk-js/commit/d0558cc4f26623ffb4c68f05470d3360c1b44852))
### [1.199.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.199.0...v1.199.1) (2021-11-30)
## [1.199.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.198.0...v1.199.0) (2021-11-11)
### Features
* **payment:** INT-4909 Quadpay: Homologate with Zip's strategy ([#1279](https://github.com/bigcommerce/checkout-sdk-js/issues/1279)) ([a605b5d](https://github.com/bigcommerce/checkout-sdk-js/commit/a605b5d34b7cd9124c36da3ff600474e8ed4856e))
## [1.198.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.197.0...v1.198.0) (2021-11-11)
### Features
* **payment:** INT-4909 Zip: Delete experiment INT-3824.zip_force_redirect_flow ([#1267](https://github.com/bigcommerce/checkout-sdk-js/issues/1267)) ([e70805e](https://github.com/bigcommerce/checkout-sdk-js/commit/e70805e8ba6174d70f9934f79b801eb3722f6aa9))
## [1.197.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.196.1...v1.197.0) (2021-11-09)
### Features
* **payment:** INT-4646 Add Openpay payment strategy ([#1237](https://github.com/bigcommerce/checkout-sdk-js/issues/1237)) ([087976d](https://github.com/bigcommerce/checkout-sdk-js/commit/087976def11dc3d0c161b72e0b378972102a4c69))
### [1.196.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.196.0...v1.196.1) (2021-11-04)
### Bug Fixes
* **payment:** PAYMENTS-7408 suppress repeated thrown errors when resuming a PPSDK payment ([#1281](https://github.com/bigcommerce/checkout-sdk-js/issues/1281)) ([74caf9d](https://github.com/bigcommerce/checkout-sdk-js/commit/74caf9dedc2ee26612105ff2ff591c4a93625726))
## [1.196.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.195.0...v1.196.0) (2021-11-04)
### Features
* **payment:** CHECKOUT-6067 Filter applepay based on browser ([#1282](https://github.com/bigcommerce/checkout-sdk-js/issues/1282)) ([062d810](https://github.com/bigcommerce/checkout-sdk-js/commit/062d810f90593c64d1b5a3c849a6fbb401dc8dd2))
## [1.195.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.194.1...v1.195.0) (2021-11-01)
### Features
* **payment:** INT-4917 Add logo property to PaymentMethodConfig interface ([#1272](https://github.com/bigcommerce/checkout-sdk-js/issues/1272)) ([1f0a2a5](https://github.com/bigcommerce/checkout-sdk-js/commit/1f0a2a54c423b2b2148b1312281e0430478c0567))
### [1.194.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.194.0...v1.194.1) (2021-10-24)
### Bug Fixes
* **payment:** PAYMENTS-7390 use location.assign in PPSDK redirects to maintain correct browser history ([#1278](https://github.com/bigcommerce/checkout-sdk-js/issues/1278)) ([145b6d2](https://github.com/bigcommerce/checkout-sdk-js/commit/145b6d2ad8b10b0a2e0d464bfc552dfa3b455991))
## [1.194.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.193.0...v1.194.0) (2021-10-21)
### Features
* **payment:** BOLT-78 changed background color of mounted Bolt payment field ([90f5443](https://github.com/bigcommerce/checkout-sdk-js/commit/90f54433f31b22a3cd158c5990f426c203ada3da))
## [1.193.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.192.1...v1.193.0) (2021-10-21)
### Features
* **payment:** PAYPAL-1123 rounded amount on braintree ([#1271](https://github.com/bigcommerce/checkout-sdk-js/issues/1271)) ([d04c732](https://github.com/bigcommerce/checkout-sdk-js/commit/d04c732ea10d3f6356c312b4c5957d40ff9906b5))
### [1.192.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.192.0...v1.192.1) (2021-10-13)
### Bug Fixes
* **payment:** PAYPAL-1180 fixed paylater region issue ([#1269](https://github.com/bigcommerce/checkout-sdk-js/issues/1269)) ([6a8f6df](https://github.com/bigcommerce/checkout-sdk-js/commit/6a8f6df8652053cfe5d67f723872a8fee64cfe0a))
## [1.192.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.191.0...v1.192.0) (2021-10-12)
### Features
* **payment:** BOLT-73 send orderId during payment creation for Bolt Full Ckeckout ([c35d325](https://github.com/bigcommerce/checkout-sdk-js/commit/c35d32554993a763fcd9258fa37de374d5057f43))
## [1.191.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.190.2...v1.191.0) (2021-10-12)
### Features
* **payment:** INT-4891 Add support to remount compliance section for Digital River ([d9858de](https://github.com/bigcommerce/checkout-sdk-js/commit/d9858de64c8b6d309f70352eb2ee3f87209d1566))
### [1.190.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.190.1...v1.190.2) (2021-10-11)
### Bug Fixes
* **payment:** INT-4885 Fixed "select a different card" button on googlepay ([f514618](https://github.com/bigcommerce/checkout-sdk-js/commit/f51461890431ab36138c4e1fbf4772e7eb14de60))
### [1.190.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.190.0...v1.190.1) (2021-10-10)
## [1.190.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.189.0...v1.190.0) (2021-10-08)
### Features
* **payment:** INT-4593 handle squareForm errors ([f9baee6](https://github.com/bigcommerce/checkout-sdk-js/commit/f9baee6fd59584708a421983393ce969c7974b92))
## [1.189.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.188.1...v1.189.0) (2021-10-06)
### Features
* **payment:** INT-4231 deleting spinner functionality in amazonpay ([#1219](https://github.com/bigcommerce/checkout-sdk-js/issues/1219)) ([30cc04e](https://github.com/bigcommerce/checkout-sdk-js/commit/30cc04ecdd65150a2b6ce41270614cadba49f8ea))
### [1.188.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.188.0...v1.188.1) (2021-10-05)
### Bug Fixes
* **payment:** ADYEN-253 disabled showing error modal on Adyen GooglePay 3ds ([f504dff](https://github.com/bigcommerce/checkout-sdk-js/commit/f504dff130a748cae1c3400c5c67fed7d1ae023f))
## [1.188.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.187.1...v1.188.0) (2021-10-05)
### Features
* **payment:** PAYMENTS-7269 allow PPSDK payment methods to finalise in progress payments ([#1252](https://github.com/bigcommerce/checkout-sdk-js/issues/1252)) ([e6d02cc](https://github.com/bigcommerce/checkout-sdk-js/commit/e6d02ccc2b590763a8761237638c25166f3cf35f))
* **payment:** PAYMENTS-7269 allow PPSDK payment methods to finalise in progress payments ([#1261](https://github.com/bigcommerce/checkout-sdk-js/issues/1261)) ([5d43fcc](https://github.com/bigcommerce/checkout-sdk-js/commit/5d43fcc1ba73d990c2a413f67adecf23cac4c7a2))
### [1.187.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.187.0...v1.187.1) (2021-10-01)
## [1.187.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.186.1...v1.187.0) (2021-09-30)
### Features
* **payment:** PAYMENTS-7270 skip PPSDK finalization when order is marked complete ([#1256](https://github.com/bigcommerce/checkout-sdk-js/issues/1256)) ([67c1a90](https://github.com/bigcommerce/checkout-sdk-js/commit/67c1a905447ce4283bbb1c38a27dab19ee7a30f4))
### [1.186.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.186.0...v1.186.1) (2021-09-30)
### Bug Fixes
* **checkout:** ADYEN-260 fixed googlepay updates billing info, removed update of customer email ([53222a7](https://github.com/bigcommerce/checkout-sdk-js/commit/53222a7a10789bcc6ffdcb685be753a71c1ee92e))
## [1.186.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.185.2...v1.186.0) (2021-09-30)
### Features
* **payment:** PAYPAL-1103 added paylater messaging for braintree on cart ([#1245](https://github.com/bigcommerce/checkout-sdk-js/issues/1245)) ([08b418a](https://github.com/bigcommerce/checkout-sdk-js/commit/08b418acec6d00feb34811f2c425a3bc1e7eb2e9))
### [1.185.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.185.1...v1.185.2) (2021-09-29)
### [1.185.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.185.0...v1.185.1) (2021-09-29)
### Bug Fixes
* **payment:** INT-4087 Add a flag to enable or disable the send back the client token ([2389370](https://github.com/bigcommerce/checkout-sdk-js/commit/238937068ad16526e6f58cf92b0b9497e2e1bd0f))
* **payment:** INT-4087 Catch stripe exception to process 3ds when payment intent is updated on the banckend and confirm it ([5651c70](https://github.com/bigcommerce/checkout-sdk-js/commit/5651c70c85f753e600092412ee2aa409fe26d4cb))
* **payment:** INT-4489 cko add supported method 'card' ([22f51fd](https://github.com/bigcommerce/checkout-sdk-js/commit/22f51fd32624d36ef0c6af3a2afdade00bdd8cb4))
## [1.185.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.184.0...v1.185.0) (2021-09-29)
### Features
* **payment:** PAYPAL-972 added 3ds check for googlepaybraintree ([#1240](https://github.com/bigcommerce/checkout-sdk-js/issues/1240)) ([deaf0c5](https://github.com/bigcommerce/checkout-sdk-js/commit/deaf0c5749545e204fb8ca4e51e21df766defce4))
### Bug Fixes
* **payment:** INT-4698 doing post to checkout after completing visa checkout payment information ([#1232](https://github.com/bigcommerce/checkout-sdk-js/issues/1232)) ([9e524af](https://github.com/bigcommerce/checkout-sdk-js/commit/9e524af55a3b9511d688a3892dee409aef150baa))
## [1.184.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.183.2...v1.184.0) (2021-09-27)
### Features
* **payment:** INT-4170 Do not use as keyword ([c749820](https://github.com/bigcommerce/checkout-sdk-js/commit/c749820a905852130ff0e5e325201f0f7dfdcf73))
* **payment:** INT-4170 Mount hostedfields for TSV on StripeV3 ([fb635ea](https://github.com/bigcommerce/checkout-sdk-js/commit/fb635ea320a10f8979441cb93cdd87e15589e2a8))
### [1.183.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.183.1...v1.183.2) (2021-09-24)
### [1.183.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.183.0...v1.183.1) (2021-09-22)
### Bug Fixes
* **checkout:** ADYEN-260 fixed googlepay updates billing info, removed update of customer email ([efb29b4](https://github.com/bigcommerce/checkout-sdk-js/commit/efb29b449a308a3224ab252f38ed43c3b070fa3f))
## [1.183.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.182.1...v1.183.0) (2021-09-21)
### Features
* **checkout:** CHECKOUT-5777 Send SDK version as a header for all SDK API requests ([#1242](https://github.com/bigcommerce/checkout-sdk-js/issues/1242)) ([1372f33](https://github.com/bigcommerce/checkout-sdk-js/commit/1372f3392cc2789221db6688c8aa866cc6771f80))
### Bug Fixes
* **payment:** INT-4674 forgetting checkout instead of signing out when using google pay ([#1215](https://github.com/bigcommerce/checkout-sdk-js/issues/1215)) ([c74b4ba](https://github.com/bigcommerce/checkout-sdk-js/commit/c74b4ba874b6965afda3341c3a9f7683b36d1562))
### [1.182.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.182.0...v1.182.1) (2021-09-15)
### Bug Fixes
* **checkout:** INT-4798 Fix Moneris Hosted Field Validation ([8f81ff5](https://github.com/bigcommerce/checkout-sdk-js/commit/8f81ff5844a451f6feae08f9896c3ea98b24ccdf))
* **checkout:** INT-4798 Use Lodash utils to validate fields ([be50ef2](https://github.com/bigcommerce/checkout-sdk-js/commit/be50ef25f9a74df18a9f73f05846c50f57878fdd))
* **payment:** INT-4802 Moneris validate response before resolve ([#1228](https://github.com/bigcommerce/checkout-sdk-js/issues/1228)) ([f643b4a](https://github.com/bigcommerce/checkout-sdk-js/commit/f643b4a3abe46b60c8732ad9b7968f213cc9e9c3))
## [1.182.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.181.1...v1.182.0) (2021-09-14)
### Features
* **payment:** BOLT-24 added account creation flag for Bolt Embedded One Click execution ([b23ae4a](https://github.com/bigcommerce/checkout-sdk-js/commit/b23ae4a4e126be2058a70317e5dc40600a7725ce))
### Bug Fixes
* **payment:** INT-4810 Forget checkout provider and reload payment methods - Clearpay ([#1234](https://github.com/bigcommerce/checkout-sdk-js/issues/1234)) ([d8e982e](https://github.com/bigcommerce/checkout-sdk-js/commit/d8e982e005183822b0e11148f0393f7a9d3eb144))
### [1.181.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.181.0...v1.181.1) (2021-09-13)
## [1.181.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.180.1...v1.181.0) (2021-09-08)
### Features
* **payment:** PAYPAL-954 Update Braintree web SDK version ([#1231](https://github.com/bigcommerce/checkout-sdk-js/issues/1231)) ([041828d](https://github.com/bigcommerce/checkout-sdk-js/commit/041828dd147023ea7665bc4e843c4fb9ff55e30e))
### [1.180.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.180.0...v1.180.1) (2021-09-08)
### Bug Fixes
* **payment:** INT-4705 [Clearpay] display correct error message when amount is out of limits ([3b5ba0b](https://github.com/bigcommerce/checkout-sdk-js/commit/3b5ba0bcd17cbf9f28f148e414a49b5a0e086c68))
* **payment:** PAYMENTS-7252 pass methodIds on to PPSDK endpoint without transformation ([#1233](https://github.com/bigcommerce/checkout-sdk-js/issues/1233)) ([c0b0d3a](https://github.com/bigcommerce/checkout-sdk-js/commit/c0b0d3ac877264e4d2a98890a849b3026b21e877))
## [1.180.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.179.1...v1.180.0) (2021-09-02)
### Features
* **payment:** BOLT-23 embedded Bolt payment method ([8632cce](https://github.com/bigcommerce/checkout-sdk-js/commit/8632ccea1833dca7e64518562433ac64d089c32a))
### [1.179.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.179.0...v1.179.1) (2021-09-01)
### Bug Fixes
* **checkout:** ADYEN-231 fixed adyen checkout form localization ([9f03081](https://github.com/bigcommerce/checkout-sdk-js/commit/9f03081580907046dd204c19f39c041905d2b54a))
## [1.179.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.178.0...v1.179.0) (2021-08-31)
### Features
* **payment:** BOLT-49 removed unnecessary payment data nonce check for Bolt Full Checkout ([d825f8b](https://github.com/bigcommerce/checkout-sdk-js/commit/d825f8b61d8376bbb97337b8799e40ac9061af16))
## [1.178.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.177.1...v1.178.0) (2021-08-30)
### Features
* **checkout:** PAYPAL-1111 Added APM check to paypalcommerce button integration ([204e6a3](https://github.com/bigcommerce/checkout-sdk-js/commit/204e6a318c381ef4e6936f1f73ef56f956c02296))
* **checkout:** PAYPAL-1111 added SEPA APM integration to paypal commerce ([630d6ed](https://github.com/bigcommerce/checkout-sdk-js/commit/630d6ed84f4c542192f580836dbfd3ae43eb7815))
### [1.177.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.177.0...v1.177.1) (2021-08-30)
### Bug Fixes
* **payment:** PAYMENTS-7221 add AUTHORIZATION and remove X-XSRF-TOKEN headers for PPSDK requests ([#1221](https://github.com/bigcommerce/checkout-sdk-js/issues/1221)) ([491150a](https://github.com/bigcommerce/checkout-sdk-js/commit/491150ae4800647292c0b093f202dbda07ebd69d))
## [1.177.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.176.0...v1.177.0) (2021-08-30)
### Features
* **payment:** INT-4141 Improve css look and feel ([52c546f](https://github.com/bigcommerce/checkout-sdk-js/commit/52c546f9a215d3c501c152acdd8ef134b9317157))
## [1.176.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.6...v1.176.0) (2021-08-27)
### Features
* **payment:** BOLT-19 added Bolt Embedded One Click Checkout implementation and add generic executePaymentProviderCheckout to customer strategy ([b43e620](https://github.com/bigcommerce/checkout-sdk-js/commit/b43e620af00563ff5bbdc03d8f051f38e9bb42a7))
### [1.175.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.5...v1.175.6) (2021-08-26)
### Bug Fixes
* **checkout:** JIRA-5757 Fix Sign Out Button Not Working on Checkout … ([b6aaaf3](https://github.com/bigcommerce/checkout-sdk-js/commit/b6aaaf3058d8778d627f071fdb873f476160c1dc))
* **checkout:** JIRA-5757 Fix Sign Out Button Not Working on Checkout … ([aa44412](https://github.com/bigcommerce/checkout-sdk-js/commit/aa444126b284661a85d940aa1d858ceed3063586))
* **checkout:** JIRA-5757 Fix Sign Out Button Not Working on Checkout … ([6e4c14a](https://github.com/bigcommerce/checkout-sdk-js/commit/6e4c14a504b4c520fc24773f4f4d322f26129ebe))
### [1.175.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.4...v1.175.5) (2021-08-25)
### Bug Fixes
* **payment:** INT-4594 [Afterpay] display correct error message when amount is out of limit ([434985c](https://github.com/bigcommerce/checkout-sdk-js/commit/434985c0e65a1eb6847a7d5d2179b4c88097f355))
### [1.175.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.3...v1.175.4) (2021-08-23)
### Bug Fixes
* **payment:** BOLT-47 fixed an issue of throwing payment method error on initialization for Bolt Full Checkout flow ([32ae1e1](https://github.com/bigcommerce/checkout-sdk-js/commit/32ae1e1e1a014ef8da5fe6e3cc7db70200181f3f))
### [1.175.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.2...v1.175.3) (2021-08-23)
### Bug Fixes
* **payment:** PAYMENTS-7214 fix PPSDK initialisation strategy casing ([#1211](https://github.com/bigcommerce/checkout-sdk-js/issues/1211)) ([c9944ff](https://github.com/bigcommerce/checkout-sdk-js/commit/c9944ff2e1e68aadb33079938236e270e58ba1f8))
### [1.175.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.1...v1.175.2) (2021-08-19)
### Bug Fixes
* **payment:** INT-4672 Forget checkout provider and reload payment methods - Afterpay ([de40a43](https://github.com/bigcommerce/checkout-sdk-js/commit/de40a43c3eb8f22bbcad27781da879c219aa7eab))
### [1.175.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.175.0...v1.175.1) (2021-08-17)
### Bug Fixes
* **payment:** PAYMENTS-7215 disable withCredentials on PPSDK xhr requests to BigPay ([#1212](https://github.com/bigcommerce/checkout-sdk-js/issues/1212)) ([e7ab9fd](https://github.com/bigcommerce/checkout-sdk-js/commit/e7ab9fd117f740f5800cbea51723f953515f8b81))
## [1.175.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.174.0...v1.175.0) (2021-08-17)
### Features
* **payment:** CHECKOUT-5906 Payment step "Name on Card" of checkout requires label for screen readers ([72b98d0](https://github.com/bigcommerce/checkout-sdk-js/commit/72b98d05dc165911f593e11e51ecf47688e38406))
* **payment:** INT-4456 Add CA/FR to klarna countries list ([e3e66a5](https://github.com/bigcommerce/checkout-sdk-js/commit/e3e66a5bd68f6ccaeb089242812b010810f7683a))
## [1.174.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.173.0...v1.174.0) (2021-08-16)
### Features
* **checkout:** PAYPAL-1100 added paylater to enable-funding field on paypalcommerce checkout and buttons ([f021b81](https://github.com/bigcommerce/checkout-sdk-js/commit/f021b81befdc459db5963b3b1689e6bf4da86dfd))
### Bug Fixes
* **checkout:** DATA-7883 Fix Segment + GAEE issue ([0e490ef](https://github.com/bigcommerce/checkout-sdk-js/commit/0e490efe6326785bde5261772063510201b63e90))
## [1.173.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.172.0...v1.173.0) (2021-08-12)
### Features
* **payment:** INT-4592 Added 3DS handler to SquareV2 ([a47016a](https://github.com/bigcommerce/checkout-sdk-js/commit/a47016a9dacba4eb93699d5c2e2e223160db265a))
* **payment:** INT-4686 remove disabledPaymentMethod interface for DR ([2738bb9](https://github.com/bigcommerce/checkout-sdk-js/commit/2738bb9bef86e8ba5d1218f9232b70d2099e26f9))
### Bug Fixes
* **payment:** INT-4222 Add tests for type guard ([7a3a8e2](https://github.com/bigcommerce/checkout-sdk-js/commit/7a3a8e274a942ffa53fbde6beb9ae73be5ec8ffd))
* **payment:** INT-4222 Code and test cleanup ([39452e9](https://github.com/bigcommerce/checkout-sdk-js/commit/39452e916844d276bea4a7f5677806449c688c2b))
* **payment:** INT-4222 Test Cleanup ([1c29d3d](https://github.com/bigcommerce/checkout-sdk-js/commit/1c29d3ddc406d65c0a5e5553366207a72aeba580))
* **payment:** INT-4222 Use default interface to avoid build errors ([5b73379](https://github.com/bigcommerce/checkout-sdk-js/commit/5b733794a0c8738436839db704ab3c38b5d3e103))
## [1.172.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.171.0...v1.172.0) (2021-08-09)
### Features
* **payment:** BOLT-30 added some changes to bolt checkout execute method logic ([f08ecfa](https://github.com/bigcommerce/checkout-sdk-js/commit/f08ecfa8cef7127c2498363bce8a3048f69921de))
## [1.171.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.170.0...v1.171.0) (2021-08-05)
### Features
* **payment:** INT-3946 added locale from browser on masterpass SRC ([b9a335d](https://github.com/bigcommerce/checkout-sdk-js/commit/b9a335d582b72f268d2d9082c6a52ebf1bbabeb8))
### Bug Fixes
* **payment:** INT-3946 missing semicolon ([60afc6e](https://github.com/bigcommerce/checkout-sdk-js/commit/60afc6e401bc4129eab1fe764926485c1e9c7821))
* **payment:** INT-3946 PR requested changes ([c805d55](https://github.com/bigcommerce/checkout-sdk-js/commit/c805d55707df4df3cafcf65292b11e78b4476de4))
* **payment:** INT-3946 removed unused variables ([f8f5f68](https://github.com/bigcommerce/checkout-sdk-js/commit/f8f5f68c7e4f2c1ccd5de360bd1d84bd00a7bc67))
* **payment:** INT-3946 using supported locales on masterpass SRC ([b719bf8](https://github.com/bigcommerce/checkout-sdk-js/commit/b719bf8818f68e7cbdaaf085e4b3f7da063363b7))
* **payment:** INT-3946 using supported locales on masterpass SRC ([6eaf14f](https://github.com/bigcommerce/checkout-sdk-js/commit/6eaf14f0f5b888c2da4cf1b3b037f028878938b2))
* **payment:** INT-3946 using supported locales on masterpass SRC ([1b30227](https://github.com/bigcommerce/checkout-sdk-js/commit/1b302276571de56126de80a087c62edf890777af))
## [1.170.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.169.3...v1.170.0) (2021-08-04)
### Features
* **payment:** INT-4584 - Refactor Quadpay uri data for redirect ([ac11929](https://github.com/bigcommerce/checkout-sdk-js/commit/ac1192971fd468066b401719f447e31e879302a7))
* **payment:** INT-4585 - Refactor Zip uri data for redirect ([323372b](https://github.com/bigcommerce/checkout-sdk-js/commit/323372b8d712d80c9b6a649ac7add048ebdc4899))
### Bug Fixes
* **payment:** INT-4438 update SDK documentation for Digital River ([fa094fc](https://github.com/bigcommerce/checkout-sdk-js/commit/fa094fc3b4ab82d47f2ce901de337b05c472aa6d))
* **payment:** INT-4480 Throws stripe error when user closes the auth modal on Stripe V3 ([6577e8a](https://github.com/bigcommerce/checkout-sdk-js/commit/6577e8a769b7bec8f5bb82793ba35fabc8fe29ed))
### [1.169.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.169.2...v1.169.3) (2021-08-02)
### Bug Fixes
* **payment:** INT-4481 Success pay without the last name in the credit/debit card ([ab95b9e](https://github.com/bigcommerce/checkout-sdk-js/commit/ab95b9e693d57c3306bd8d5609f3037186a93490))
### [1.169.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.169.1...v1.169.2) (2021-07-30)
### Bug Fixes
* **payment:** INT-4685 Orbital initializer added properly ([4546591](https://github.com/bigcommerce/checkout-sdk-js/commit/4546591f010a6f7577b3f7e7b85fa06b4a90a78a))
### [1.169.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.169.0...v1.169.1) (2021-07-29)
## [1.169.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.168.1...v1.169.0) (2021-07-29)
### Features
* **payment:** INT-4222 Add vaulting compatibility to Moneris ([dc318d7](https://github.com/bigcommerce/checkout-sdk-js/commit/dc318d72a2faa708066c59f07f9c23c98b01b94c))
### [1.168.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.168.0...v1.168.1) (2021-07-27)
### Bug Fixes
* **payment:** INT-4598 handle vaulting Enable checkbox ([cee0198](https://github.com/bigcommerce/checkout-sdk-js/commit/cee01981b80a6d4ae1b84586b860d0168b83ace6))
* **payment:** INT-4661 [Afterpay] get countryCode by shopperCurrency ([ca41447](https://github.com/bigcommerce/checkout-sdk-js/commit/ca41447c42bd4d199b9ae8908e6ad9a2345cf8ac))
## [1.168.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.167.0...v1.168.0) (2021-07-23)
### Features
* **checkout:** PAYPAL-1057 added Venmo APM to paypal commerce ([e55f4d5](https://github.com/bigcommerce/checkout-sdk-js/commit/e55f4d5ee0511b4bde005aaa970498467d29beaa))
## [1.167.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.166.0...v1.167.0) (2021-07-22)
### Features
* **payment:** PAYPAL-1090 added size property for paypalexpress button ([#1191](https://github.com/bigcommerce/checkout-sdk-js/issues/1191)) ([99daccf](https://github.com/bigcommerce/checkout-sdk-js/commit/99daccf6468ef65a063d151b97b465f61d45158e))
## [1.166.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.165.0...v1.166.0) (2021-07-22)
### Features
* **payment:** PAYMENTS-7169 add resume payment ability to PPSDK strategy ([#1188](https://github.com/bigcommerce/checkout-sdk-js/issues/1188)) ([c874e0f](https://github.com/bigcommerce/checkout-sdk-js/commit/c874e0fbbd09503629c3c555c232cd3da08e6141))
## [1.165.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.164.1...v1.165.0) (2021-07-18)
### Features
* **payment:** INT-4141 Make iframe border and background transparent ([4600855](https://github.com/bigcommerce/checkout-sdk-js/commit/46008559fef1bf6b3e9e88b9e71711102fa50bac))
* **payment:** INT-4141 Update test ([c26f39a](https://github.com/bigcommerce/checkout-sdk-js/commit/c26f39a6a42ad2770c373075b8b7e57b35fa9e59))
* **payment:** INT-4141 Use border: none instead border: transparent ([7a65022](https://github.com/bigcommerce/checkout-sdk-js/commit/7a650228cfcf5d7ca22230674c84b4b937af78fc))
### [1.164.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.164.0...v1.164.1) (2021-07-13)
### Bug Fixes
* **payment:** INT-4087 Send the client token back to update the payment intent related for StripeV3 ([#1164](https://github.com/bigcommerce/checkout-sdk-js/issues/1164)) ([97417ab](https://github.com/bigcommerce/checkout-sdk-js/commit/97417ab13d00930158351e9480e404c9e187e623))
## [1.164.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.163.0...v1.164.0) (2021-07-12)
### Features
* **payment:** PAYPAL-1026 fixed braintree button height ([#1169](https://github.com/bigcommerce/checkout-sdk-js/issues/1169)) ([67aa575](https://github.com/bigcommerce/checkout-sdk-js/commit/67aa575b20d0e17d0305fa41ca4d51cccd2e67e0))
## [1.163.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.162.1...v1.163.0) (2021-07-12)
### Features
* **payment:** PAYMENTS-6811 map failure codes to RequestError error codes ([#1173](https://github.com/bigcommerce/checkout-sdk-js/issues/1173)) ([597ba5d](https://github.com/bigcommerce/checkout-sdk-js/commit/597ba5deebc0528586d591c2c2741d9534d98348))
* **payment:** PAYMENTS-6814 add NonePaymentProcessor test ([#1176](https://github.com/bigcommerce/checkout-sdk-js/issues/1176)) ([8dc9e6f](https://github.com/bigcommerce/checkout-sdk-js/commit/8dc9e6f00a3b45fab2ef28cddff4d0bf89474c6e))
### [1.162.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.162.0...v1.162.1) (2021-07-08)
### Bug Fixes
* **payment:** INT-4448 Braintree cardTypeChange event ([0ca0018](https://github.com/bigcommerce/checkout-sdk-js/commit/0ca0018f3e6125539c7397c7ccc742d3ab034285))
## [1.162.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.161.0...v1.162.0) (2021-07-06)
### Features
* **payment:** PAYMENTS-6805 add core stepHandler to PPSDK strategy ([#1162](https://github.com/bigcommerce/checkout-sdk-js/issues/1162)) ([4ffed6f](https://github.com/bigcommerce/checkout-sdk-js/commit/4ffed6f2a468e255de2ac363176d6dc24d729d13))
## [1.161.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.160.0...v1.161.0) (2021-07-05)
### Features
* **payment:** INT-4309 Adding additional action to Digital River ([b046460](https://github.com/bigcommerce/checkout-sdk-js/commit/b046460e16d851612a00c7c6f471cad492d2ea13))
* **payment:** INT-4423 Set labels to Moneris iframe creation process ([208500c](https://github.com/bigcommerce/checkout-sdk-js/commit/208500c181a930f120073e13ae762c7ea0fca912))
### Bug Fixes
* **payment:** INT-4309 Addresing Ignacio feedback ([93197d6](https://github.com/bigcommerce/checkout-sdk-js/commit/93197d63cf7d4a4a03dfc62ba3b8e3aeb74fa772))
* **payment:** INT-4309 Addresing Ignacio feedback ([e9e5adb](https://github.com/bigcommerce/checkout-sdk-js/commit/e9e5adb975ee9a5906e60ecd3db08818ff14c4ad))
* **payment:** INT-4309 Addresing Ignacio feedback 2 ([4fff2a2](https://github.com/bigcommerce/checkout-sdk-js/commit/4fff2a210877765dfd3d427ef0314169b5c3657c))
* **payment:** INT-4309 Updating Digital River unit tests ([72ad20a](https://github.com/bigcommerce/checkout-sdk-js/commit/72ad20a0900883a8f8d733ea33d9a1cf1d844287))
## [1.160.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.159.0...v1.160.0) (2021-06-30)
### Features
* **payment:** INT-4342 added google pay on orbital ([6ef0eaa](https://github.com/bigcommerce/checkout-sdk-js/commit/6ef0eaac0e400fb42009ef6bebaa53b7d6dcdf84))
## [1.159.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.158.1...v1.159.0) (2021-06-30)
### Features
* **common:** CHECKOUT-5892 Specify locale for default and fallback translations ([306bcb7](https://github.com/bigcommerce/checkout-sdk-js/commit/306bcb70ae4c24f17887c065d6d18bf700d00c2a))
### [1.158.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.158.0...v1.158.1) (2021-06-23)
### Bug Fixes
* **common:** CHECKOUT-5873 Fix path to copy previous releases from ([d5a16ed](https://github.com/bigcommerce/checkout-sdk-js/commit/d5a16ed422aa2f6a266075fd1bf5cfee2e0ea43a))
## [1.158.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.157.1...v1.158.0) (2021-06-23)
### Features
* **common:** CHECKOUT-5873 Deploy compiled assets to GCS ([f87db6b](https://github.com/bigcommerce/checkout-sdk-js/commit/f87db6bb8e7549bf12a49fde3ac18e05093921b9))
### [1.157.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.157.0...v1.157.1) (2021-06-22)
### Bug Fixes
* **payment:** INT-4266 Renew the nonce for Google Payment when the payment fails. ([c7b54bf](https://github.com/bigcommerce/checkout-sdk-js/commit/c7b54bfa74809f734d6b8a4513e0b74bfe2d819a))
## [1.157.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.156.0...v1.157.0) (2021-06-22)
### Features
* **payment:** PAYMENTS-6807 extend PPSDK payment strategy ([#1150](https://github.com/bigcommerce/checkout-sdk-js/issues/1150)) ([5d3298a](https://github.com/bigcommerce/checkout-sdk-js/commit/5d3298aaccb0883d2f896b15570b985176c78b46))
## [1.156.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.155.1...v1.156.0) (2021-06-08)
### Features
* **payment:** INT-4170 added hosted fields on Mollie verification field ([b487651](https://github.com/bigcommerce/checkout-sdk-js/commit/b487651d29984dbfcf022525d438a72191a8641c))
### [1.155.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.155.0...v1.155.1) (2021-06-02)
### Bug Fixes
* **checkout:** PAYPAL-1055 change expected methodId from przelewy24 to p24 ([7405a6e](https://github.com/bigcommerce/checkout-sdk-js/commit/7405a6eea40b90780cb50c27c20227ea51692269))
* **checkout:** PAYPAL-1055 removed buyer-country property from paypal commerce initialization ([bf2ff1a](https://github.com/bigcommerce/checkout-sdk-js/commit/bf2ff1ad874e7e79bb84ac1fbe395db045354f42))
## [1.155.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.154.0...v1.155.0) (2021-06-01)
### Features
* **payment:** PAYPAL-863 Braintree: PayPal JS SDK Smart Buttons ([#1074](https://github.com/bigcommerce/checkout-sdk-js/issues/1074)) ([e32555a](https://github.com/bigcommerce/checkout-sdk-js/commit/e32555a902679f45b11332f7df8a62efec550d61))
## [1.154.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.153.0...v1.154.0) (2021-06-01)
### Features
* **payment:** INT-4205 Add Moneris strategy ([fff5070](https://github.com/bigcommerce/checkout-sdk-js/commit/fff5070ed3062b1a1d1a4f8c6f25b786ad76d987))
* **payment:** INT-4205 Cleanup Strategy and add additional tests ([73e7357](https://github.com/bigcommerce/checkout-sdk-js/commit/73e7357fd1fcf8790e7b2edeb6317d6ee631475f))
## [1.153.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.152.0...v1.153.0) (2021-05-31)
### Features
* **payment:** INT-4242 Add Quadpay payment strategy ([95fc8c1](https://github.com/bigcommerce/checkout-sdk-js/commit/95fc8c105be374c8f97e30d343e9e7fe552e82a1))
* **payment:** INT-4242 Create StorefrontPaymentRequestSender ([626e618](https://github.com/bigcommerce/checkout-sdk-js/commit/626e618a614ee9503188b42c21d77b45c7eabcaf))
### Code Refactoring
* **payment:** INT-4242 Quadpay code cleanup ([19d9480](https://github.com/bigcommerce/checkout-sdk-js/commit/19d9480dd105f9203206251ce3ef5ada65a7877e))
## [1.152.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.151.0...v1.152.0) (2021-05-27)
### Features
* **payment:** INT-4310 resolving mexico review ([f4ce08b](https://github.com/bigcommerce/checkout-sdk-js/commit/f4ce08b5ffe9033d31d85f0d903878f971a192da))
* **payment:** INT-4310 Update DR strategy to support vaulted instruments ([964130d](https://github.com/bigcommerce/checkout-sdk-js/commit/964130d945ac2c3ef411c8ab4951e52b8fef40f7))
## [1.151.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.150.0...v1.151.0) (2021-05-24)
### Features
* **payment:** INT-4197 added test ([453974f](https://github.com/bigcommerce/checkout-sdk-js/commit/453974f555a90e21d7ab67dd5f021386a2e12821))
* **payment:** INT-4197 added type and color parameters on googlepay checkout button ([34a5cec](https://github.com/bigcommerce/checkout-sdk-js/commit/34a5cec2bf4a90940a3bc5d31b29f9657e126e4c))
## [1.150.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.149.0...v1.150.0) (2021-05-20)
### Features
* **checkout:** PAYPAL-1024 make APM work regardless of shopper geolocation ([73cad65](https://github.com/bigcommerce/checkout-sdk-js/commit/73cad654ec91e93a7eb48720e6c329330a1d6e10))
## [1.149.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.148.0...v1.149.0) (2021-05-18)
### Features
* **payment:** PAYMENTS-6813 extend Payment Method type to cover PPSDK variants ([#1139](https://github.com/bigcommerce/checkout-sdk-js/issues/1139)) ([0be6fcf](https://github.com/bigcommerce/checkout-sdk-js/commit/0be6fcf897f0190baa4373366d906135e81088d0))
## [1.148.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.147.1...v1.148.0) (2021-05-17)
### Features
* **payment:** PAYPAL-976 Paypal APM fields intagration was added ([b5266cf](https://github.com/bigcommerce/checkout-sdk-js/commit/b5266cf073a1f896d8a4844ad5607eb1799d2579))
### [1.147.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.147.0...v1.147.1) (2021-05-17)
### Bug Fixes
* **checkout:** INT-3941 Updated remote-checkout path on button initialization ([226232f](https://github.com/bigcommerce/checkout-sdk-js/commit/226232f9f0f3c5e47da31c4da17419d434eb74da))
## [1.147.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.146.0...v1.147.0) (2021-05-13)
### Features
* **payment:** INT-4071 Clearpay - Create custom strategy ([ff7ea13](https://github.com/bigcommerce/checkout-sdk-js/commit/ff7ea134df8703a5e8fc011554902314a5fcb8a8))
* **payment:** INT-4071 Clearpay - rename function that validate the countrycode ([e44941f](https://github.com/bigcommerce/checkout-sdk-js/commit/e44941f60a471bb7cdd49407aee761354b4feafb))
* **payment:** INT-4071 validate countryCode in billingAddress ([3f7993d](https://github.com/bigcommerce/checkout-sdk-js/commit/3f7993d0efe33e2b31e28a67d810c45646d7b8dc))
* **payment:** INT-4071 wip ([4520461](https://github.com/bigcommerce/checkout-sdk-js/commit/4520461aecf269ba6cf497f2423dd3ba48eedb9a))
* **payment:** INT-4237 Add issuer for Mollie APMs ([21bfded](https://github.com/bigcommerce/checkout-sdk-js/commit/21bfded889dba0afb22396d439910116934cebe4))
## [1.146.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.145.0...v1.146.0) (2021-05-10)
### Features
* **payment:** PAYMENTS-6806 add dummy PPSDK strategy ([#1128](https://github.com/bigcommerce/checkout-sdk-js/issues/1128)) ([547a1c3](https://github.com/bigcommerce/checkout-sdk-js/commit/547a1c3d263479499b8b42b9a8858dd28903c3a3))
## [1.145.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.144.1...v1.145.0) (2021-05-05)
### Features
* **payment:** INT-4258 StripeV3: Improve error handling ([48da4f4](https://github.com/bigcommerce/checkout-sdk-js/commit/48da4f4b51cd9d34c9f7cefa04de2ddde02bf714))
### [1.144.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.144.0...v1.144.1) (2021-04-29)
### Bug Fixes
* **payment:** INT-4266 Googlepay - fixing where nonce value is going to be reloaded ([399b670](https://github.com/bigcommerce/checkout-sdk-js/commit/399b670709893f69ae2d3f10e57b3aee6346feab))
## [1.144.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.143.0...v1.144.0) (2021-04-29)
### Features
* **payment:** INT-4150 changing zip strategy flow ([fd2354a](https://github.com/bigcommerce/checkout-sdk-js/commit/fd2354ad5d9c2a8ebe3a7a87bf12723644bec248))
### Bug Fixes
* **payment:** PAYPAL-983 Improve the Checkout SDK documentation around PayPal Commerce ([613c456](https://github.com/bigcommerce/checkout-sdk-js/commit/613c4566dd787c58d4b4f649027f5b6cddf03a91))
## [1.143.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.142.0...v1.143.0) (2021-04-22)
### Features
* **payment:** PAYPAL-982 Pass BN code into the banners script ([8a71bfb](https://github.com/bigcommerce/checkout-sdk-js/commit/8a71bfba5a54bc91ed3501a34705fc1778ca4e91))
## [1.142.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.141.0...v1.142.0) (2021-04-22)
### Features
* **payment:** INT-3702 added vaulted cc ([cdf639c](https://github.com/bigcommerce/checkout-sdk-js/commit/cdf639c658ff489b03eef03d137266486e0cc50d))
* **payment:** INT-3702 fix containerId ([7d6bc75](https://github.com/bigcommerce/checkout-sdk-js/commit/7d6bc754f93516357a5f3a6d03051f1a28638033))
### Bug Fixes
* **payment:** INT-4063 Avoid holding inventory if a payment intent confirmation fails for StripeV3 ([e291784](https://github.com/bigcommerce/checkout-sdk-js/commit/e291784ab81c98001e865e1e07836bf927ff6a45))
## [1.141.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.140.0...v1.141.0) (2021-04-15)
### Features
* **cart:** CHECKOUT-5747 Add cart changed error meta ([7addf66](https://github.com/bigcommerce/checkout-sdk-js/commit/7addf660dd7e82046a60b121c7a7a8e10b1d7a17))
## [1.140.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.139.1...v1.140.0) (2021-04-14)
### Features
* **payment:** INT-2503 Add strategy for checkout.com with Fawry ([878ebd7](https://github.com/bigcommerce/checkout-sdk-js/commit/878ebd70c588e5920414d2637c1db09f202d7146))
### Bug Fixes
* **payment:** INT-3611 Refresh the state in Googlepay and Braintree refactor ([a33dc55](https://github.com/bigcommerce/checkout-sdk-js/commit/a33dc5539861f809eff2763a2d89cbb5d56192e9))
### [1.139.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.139.0...v1.139.1) (2021-04-14)
## [1.139.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.138.0...v1.139.0) (2021-04-13)
### Features
* **payment:** INT-3702 added vaulted cc ([8f6f2a1](https://github.com/bigcommerce/checkout-sdk-js/commit/8f6f2a1cef716386de329c5d052d570b43019ff6))
## [1.138.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.137.3...v1.138.0) (2021-04-13)
### Features
* **payment:** INT-4021 Add strategy for iDeal APM ([752796b](https://github.com/bigcommerce/checkout-sdk-js/commit/752796bb109acadd118d94f51d04a3cc8cd1deb5))
* **payment:** INT-4021 Test Cleanup ([61dfc25](https://github.com/bigcommerce/checkout-sdk-js/commit/61dfc257e6dbfb4b66661890403a96097a5f0f30))
* **payment:** INT-4117 Support reload DR widget ([beb388a](https://github.com/bigcommerce/checkout-sdk-js/commit/beb388a233d64ee3532cf28ec4e33bd44095837f))
* **payment:** INT-4117 Support reload DR widget + capsula changes ([bcfd2eb](https://github.com/bigcommerce/checkout-sdk-js/commit/bcfd2eb2b4a48220aafa1ffb3e1ef55f5b3e32d8))
### [1.137.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.137.2...v1.137.3) (2021-04-12)
### Bug Fixes
* **payment:** PAYPAL-970 add unit test for click handler on paypal checkout ([503e60b](https://github.com/bigcommerce/checkout-sdk-js/commit/503e60be649fd0757f729477c2e07fa2c831db44))
* **payment:** PAYPAL-970 added loader test ([113d2f2](https://github.com/bigcommerce/checkout-sdk-js/commit/113d2f2821c94e27914ea4af4be64c7cd11e7a7b))
* **payment:** PAYPAL-970 don't show loading indicator if checkout form hasn't passed validation ([c571f90](https://github.com/bigcommerce/checkout-sdk-js/commit/c571f9009e2e9804da6d3f67ef11040e35938caf))
* **payment:** PAYPAL-970 fix linter error ([75b914f](https://github.com/bigcommerce/checkout-sdk-js/commit/75b914fb7eebaabd36fb33ff7f3f04a9d9ba6e4b))
* **payment:** PAYPAL-970 small fixes after code review ([083e2c5](https://github.com/bigcommerce/checkout-sdk-js/commit/083e2c5419c5d2ec13e5e85aa6329e71720c01f2))
### [1.137.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.137.1...v1.137.2) (2021-04-08)
### Bug Fixes
* **payment:** INT-3408 added masterpass SRC experiment ([933609a](https://github.com/bigcommerce/checkout-sdk-js/commit/933609ae27a938bfb3b9e3e976f5f9014d650731))
* **payment:** INT-3408 refactor script loader ([f064474](https://github.com/bigcommerce/checkout-sdk-js/commit/f064474710c2dfc09f4a075a5f060874f31e843b))
### [1.137.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.137.0...v1.137.1) (2021-04-08)
### Bug Fixes
* **payment:** CHECKOUT-5740 Post to and receive messages from www subdomain ([2e80137](https://github.com/bigcommerce/checkout-sdk-js/commit/2e801378f0c1b845e1b77f3394ec0d0f72a475d8))
## [1.137.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.136.2...v1.137.0) (2021-04-05)
### Features
* **payment:** INT-3931 Add strategy for checkout.com with SEPA ([5538a3b](https://github.com/bigcommerce/checkout-sdk-js/commit/5538a3b80f13ff653142bcd598553195168834b1))
### [1.136.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.136.1...v1.136.2) (2021-04-05)
### Bug Fixes
* **payment:** PAYPAL-965 Check that there are no inventory underselling or overselling issues in PayPal Commerce ([a0f4952](https://github.com/bigcommerce/checkout-sdk-js/commit/a0f49522c39d9d615904eac3a65174b3a64f9dc6))
### [1.136.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.136.0...v1.136.1) (2021-03-31)
### Bug Fixes
* **checkout:** INT-3571 Google Pay [StripeV3] - Billing address is missing ([df60da3](https://github.com/bigcommerce/checkout-sdk-js/commit/df60da31414942acb3d8f81941d7327898c4d442))
## [1.136.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.135.0...v1.136.0) (2021-03-28)
### Features
* **payment:** INT-3905 creating execute for digital river and credit card ([2937cdd](https://github.com/bigcommerce/checkout-sdk-js/commit/2937cddde9a12ca4f6c1daecd6ade5047680ee6b))
## [1.135.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.134.2...v1.135.0) (2021-03-22)
### Features
* **payment:** INT-3947 Suppress PayPal and Klarna ([5fd75a0](https://github.com/bigcommerce/checkout-sdk-js/commit/5fd75a054169b12f677831b98a444a7fa8cb5165))
### [1.134.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.134.1...v1.134.2) (2021-03-21)
### Bug Fixes
* **payment:** PAYMENTS-6642 Make Paypal overlay modal/new window aware ([#1088](https://github.com/bigcommerce/checkout-sdk-js/issues/1088)) ([326c961](https://github.com/bigcommerce/checkout-sdk-js/commit/326c9611b0a80c9c49d4278f4a240e23f7c18bdb))
### [1.134.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.134.0...v1.134.1) (2021-03-16)
### Bug Fixes
* **checkout:** INT-2546 Add ideal to document supported apms ([9c69506](https://github.com/bigcommerce/checkout-sdk-js/commit/9c695064612a01a7ce66d1a47a09c6b0e884715e))
## [1.134.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.133.0...v1.134.0) (2021-03-14)
### Features
* **payment:** INT-3840 creating digital river strategy ([6062bbf](https://github.com/bigcommerce/checkout-sdk-js/commit/6062bbf9d78c6c9c9f5cadb8f0c6a619c8af6827))
* **payment:** INT-3896 [Zip] it returns the nonce value when it's a referred payment ([d123551](https://github.com/bigcommerce/checkout-sdk-js/commit/d12355120b5ebef56de44dcb16c5c45f3a1dbcbc))
## [1.133.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.132.0...v1.133.0) (2021-03-10)
### Features
* **checkout:** INT-3700 Load Bolt Scripts from different environments ([980e9be](https://github.com/bigcommerce/checkout-sdk-js/commit/980e9be9bd9d983dbb8a77ede24b1e6e09d8f5c7))
## [1.132.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.131.0...v1.132.0) (2021-03-02)
### Features
* **checkout:** INT-3675 Add Bolt's tracking script to checkout ([f6faa1a](https://github.com/bigcommerce/checkout-sdk-js/commit/f6faa1a8c7914a751e01c0d3ab8a0c1987bb573a))
* **payment:** INT-3408 migrate masterpass to SRC ([7f30282](https://github.com/bigcommerce/checkout-sdk-js/commit/7f3028278516b5433767d0e89b8313f54c0053f8))
* **payment:** INT-3610 added Mollie Checkout ([d8f3df6](https://github.com/bigcommerce/checkout-sdk-js/commit/d8f3df6981770b2ae469d53d71005f86d58cc151))
## [1.131.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.130.1...v1.131.0) (2021-02-22)
### Features
* **payment:** PAYPAL-876 added preloader for APM when polling mechanism is running ([2d613b8](https://github.com/bigcommerce/checkout-sdk-js/commit/2d613b86e7b195c95ef7e1c0a607a58d11269eb9))
### [1.130.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.130.0...v1.130.1) (2021-02-18)
### Bug Fixes
* **checkout:** INT-3665 3D Secure is declining the transaction in Braintree without any reason in some stores ([4d5528e](https://github.com/bigcommerce/checkout-sdk-js/commit/4d5528e0b7fdd3a141898b02d2ae2345af3ac624))
* **common:** CHECKOUT-5612 Add isAccountCreationEnabled prop to StoreConfig ([74cc00e](https://github.com/bigcommerce/checkout-sdk-js/commit/74cc00e301185aed9acf7b0f42141f0dea035a20))
## [1.130.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.129.1...v1.130.0) (2021-02-15)
### Features
* **payment:** PAYPAL-876 stop polling mechanism when error occurs ([79119b2](https://github.com/bigcommerce/checkout-sdk-js/commit/79119b23c791d1f6dda5046691576f032148ea0a))
### Bug Fixes
* **payment:** INT-3611 Refresh the state in Braintree ([351bfe3](https://github.com/bigcommerce/checkout-sdk-js/commit/351bfe3fa11d7c945ab5593a27f4d33c0d2727d9))
### [1.129.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.129.0...v1.129.1) (2021-02-11)
### Bug Fixes
* **payment:** CHECKOUT-5324 Upgrade BigPay client version ([3aa965b](https://github.com/bigcommerce/checkout-sdk-js/commit/3aa965b4258be2a7995d6a2655939ce98d8549f7))
## [1.129.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.128.0...v1.129.0) (2021-02-10)
### Features
* **payment:** INT-3418 Added googlepay on cybersourcev2 ([8964140](https://github.com/bigcommerce/checkout-sdk-js/commit/8964140870d19babdd286870337995d356b14db0))
## [1.128.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.127.0...v1.128.0) (2021-02-09)
### Features
* **payment:** INT-3659 Add payment method flow to Stripe v3 ([7b4b388](https://github.com/bigcommerce/checkout-sdk-js/commit/7b4b38892bfccf59fb54a7151530c1a447fa532a))
## [1.127.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.126.0...v1.127.0) (2021-02-09)
### Features
* **payment:** PAYPAL-876 fixed paypalcommerce initialization endpoint ([b8fa0f2](https://github.com/bigcommerce/checkout-sdk-js/commit/b8fa0f202f68a75d78e6d24479f55a3b29fce59f))
## [1.126.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.125.0...v1.126.0) (2021-02-09)
### Features
* **checkout:** INT-2544 Create strategy For redirect flow on checkout.com apms ([31022c7](https://github.com/bigcommerce/checkout-sdk-js/commit/31022c7aca2f6b3ccff0b51695e1c03aac00d415))
* **payment:** INT-3831 enable vaulting on cybersource v2 ([7ba0849](https://github.com/bigcommerce/checkout-sdk-js/commit/7ba0849a186fdc9eb6cf029fa7594b37ac9544dd))
* **shopper:** CHECKOUT-4726 Allow creating customer address ([1546208](https://github.com/bigcommerce/checkout-sdk-js/commit/1546208336baa1b20f07417ab758e085299f452b))
## [1.125.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.124.1...v1.125.0) (2021-02-03)
### Features
* **payment:** PAYPAL-876 implemented polling mechanism ([29a08c4](https://github.com/bigcommerce/checkout-sdk-js/commit/29a08c4527d4e39332a58198feb54914886f3908))
* **payment:** PAYPAL-876 implemented polling mechanism on front end ([aca1d29](https://github.com/bigcommerce/checkout-sdk-js/commit/aca1d29a6eadd906c12d16038e66ce55931ff81e))
* **payment:** PAYPAL-876 implemented polling mechanism on front end ([30aca53](https://github.com/bigcommerce/checkout-sdk-js/commit/30aca53e184b5aeb0c8d94fdd15c6c7fbe9ccdb5))
* **payment:** PAYPAL-876 temp ([5bed143](https://github.com/bigcommerce/checkout-sdk-js/commit/5bed143c118e9ecd9a19b80fb40d53d7d2674801))
* **payment:** PAYPAL-883 fixed conflicts ([15fa4d5](https://github.com/bigcommerce/checkout-sdk-js/commit/15fa4d58d7c37d884526f987a69cbd7ebecc8a7b))
### [1.124.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.124.0...v1.124.1) (2021-02-01)
### Bug Fixes
* **payment:** CHECKOUT-5324 Set nonce in memory instead of local storage ([0515427](https://github.com/bigcommerce/checkout-sdk-js/commit/05154279c82293c04f246ffacdaf760ca6de449b))
## [1.124.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.123.0...v1.124.0) (2021-01-28)
### Features
* **payment:** INT-3537 Add CYBS One Platform Payment Strategy ([3bab19d](https://github.com/bigcommerce/checkout-sdk-js/commit/3bab19d478c66f114a5c02d8d499b1fabd7bed62))
### Bug Fixes
* **payment:** INT-3655 Avoid passing null nonce token to StripeV3 ([1ac7b18](https://github.com/bigcommerce/checkout-sdk-js/commit/1ac7b181b0e8bc4aed7e631b94838a86f1e15513))
* **payment:** INT-3743 Add Mada cards validation ([0e08640](https://github.com/bigcommerce/checkout-sdk-js/commit/0e08640c8af3dd5df8807e608939b6c2d5ce81c3))
## [1.123.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.122.0...v1.123.0) (2021-01-19)
### Features
* **payment:** ADYEN-8 add adyen methods to list of available methods ([b4bbeda](https://github.com/bigcommerce/checkout-sdk-js/commit/b4bbeda9c460a1c69db4e19a359227d7fb1c7576))
## [1.122.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.121.1...v1.122.0) (2021-01-18)
### Features
* **order:** CHECKOUT-2322 Add gift wrapping total ([6078f2d](https://github.com/bigcommerce/checkout-sdk-js/commit/6078f2d41a6db22d52a6b58ae0066ed9ef87efcf))
### [1.121.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.121.0...v1.121.1) (2021-01-13)
### Bug Fixes
* **payment:** INT-3717 Unformat cardNumber before notifying a bin number change ([c16324c](https://github.com/bigcommerce/checkout-sdk-js/commit/c16324cc9432cd0ec114c8778ebfc1fc5fdd6d1e))
## [1.121.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.120.0...v1.121.0) (2020-12-29)
### Features
* **payment:** PAYPAL-787 added condition ([af075d3](https://github.com/bigcommerce/checkout-sdk-js/commit/af075d3fe2576e5b604fcfb3446ba5baa2a54574))
## [1.120.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.119.0...v1.120.0) (2020-12-24)
### Features
* **payments:** PAYPAL-830 Add mechanism for testing of the APMs for different countries ([73d5f71](https://github.com/bigcommerce/checkout-sdk-js/commit/73d5f71f5748c487a28bc9035a0c119026489b7a))
## [1.119.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.118.2...v1.119.0) (2020-12-22)
### Features
* **shopper:** CHECKOUT-5418 Add support for recaptcha for customer account creation ([a92f310](https://github.com/bigcommerce/checkout-sdk-js/commit/a92f310b815fac76349cd9ba942544794482665a))
### [1.118.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.118.1...v1.118.2) (2020-12-18)
### Bug Fixes
* **checkout:** PAYPAL-767 Core review - remove excessive Promise.resolve ([f850faa](https://github.com/bigcommerce/checkout-sdk-js/commit/f850faa9f3b8a9fe72931ecad0291e004db4832a))
* **checkout:** PAYPAL-767 Fix device data collection for Braintree stored credit cards ([8aca92d](https://github.com/bigcommerce/checkout-sdk-js/commit/8aca92d045122f5605370f26207f80acfa50c0b6))
* **payment:** INT-2816 fix unit test for googlepay-adyenv2-payment ([2bc4ef7](https://github.com/bigcommerce/checkout-sdk-js/commit/2bc4ef707edc755b920273ec10891f2df15982d7))
### [1.118.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.118.0...v1.118.1) (2020-12-16)
### Bug Fixes
* **order:** CHECKOUT-4941 Load form fields when loading order ([6639da0](https://github.com/bigcommerce/checkout-sdk-js/commit/6639da0b8d38a2738597a2b20057ba81ed67367f))
## [1.118.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.117.0...v1.118.0) (2020-12-15)
### Features
* **payment:** PAYPAL-848 Add messages to script ([5c75f24](https://github.com/bigcommerce/checkout-sdk-js/commit/5c75f24d892c1234852780151cd8a7c492cab0c0))
* **shopper:** CHECKOUT-4941 Add Customer Creation functionality ([6a3c5e8](https://github.com/bigcommerce/checkout-sdk-js/commit/6a3c5e864a54b1e637826ad300af2a427ea4bab0))
## [1.117.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.116.0...v1.117.0) (2020-12-13)
### Features
* **forms:** CHECKOUT-4941 Expose customer account fields ([d9ce3db](https://github.com/bigcommerce/checkout-sdk-js/commit/d9ce3db953144b77afa5d0a59ecdc521d6b27f9f))
* **payment:** INT-2816 Added 3DS to googlepay adyenv2 ([519d036](https://github.com/bigcommerce/checkout-sdk-js/commit/519d036377435e7059be04166a4c4769bdbf86aa))
* **payment:** INT-3538 Replaced borwser language instead locale variable on Adyenv2 ([b11b877](https://github.com/bigcommerce/checkout-sdk-js/commit/b11b877c42ec4241d5024de543fb480415c519bd))
* **payment:** PAYPAL-868 fixed ([d83e9ff](https://github.com/bigcommerce/checkout-sdk-js/commit/d83e9ff891707ff340be9aa295f88577542bba0b))
* **payment:** PAYPAL-868 fixed ([28a8b53](https://github.com/bigcommerce/checkout-sdk-js/commit/28a8b53e1b9ae44b0983e098babdcc2b185e5ac6))
* **payment:** PAYPAL-868 fixed ([ccabf10](https://github.com/bigcommerce/checkout-sdk-js/commit/ccabf10d0a91da58699977bce509a9c28b5e7a13))
* **payment:** PAYPAL-868 fixed ([862cfc9](https://github.com/bigcommerce/checkout-sdk-js/commit/862cfc958dd8f59d48636a19d6932f70e5ed64c7))
* **payment:** PAYPAL-868 fixed ([0533c8c](https://github.com/bigcommerce/checkout-sdk-js/commit/0533c8ce8d651b6fbadf0cdb37fe10c0e4615c76))
* **payment:** PAYPAL-868 fixed ([0110b94](https://github.com/bigcommerce/checkout-sdk-js/commit/0110b94c95d792403d4c2423298b4e20ecf8083b))
### Bug Fixes
* **common:** CHECKOUT-4571 Remove alpha tags from stable functionality ([b8c1667](https://github.com/bigcommerce/checkout-sdk-js/commit/b8c16672075596af00519ca3901482a922cedbc3))
* **payment:** INT-2816 fix unit test for googlepay-adyenv2-payment-processor ([46da807](https://github.com/bigcommerce/checkout-sdk-js/commit/46da8074b29b295dcf9516b151e004e4b0579f9d))
## [1.116.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.115.0...v1.116.0) (2020-12-01)
### Features
* **payment:** INT-3237 Allows reinitialize the cardinal script ([38a2d23](https://github.com/bigcommerce/checkout-sdk-js/commit/38a2d2372aca4ff1cf3071a309af74c597390f55))
## [1.115.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.114.0...v1.115.0) (2020-11-13)
### Features
* **payment:** PAYPAL-839 Move method_id in execute ([9f8a35a](https://github.com/bigcommerce/checkout-sdk-js/commit/9f8a35a3d959bb4df2c4d12480b67edd035b79b3))
## [1.114.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.113.0...v1.114.0) (2020-11-13)
### Features
* **payment:** PAYPAL-837 Submit cardholder name to PayPal ([b0d0a61](https://github.com/bigcommerce/checkout-sdk-js/commit/b0d0a6133e1986fdcfca4d9cc5b77f3412d8360e))
## [1.113.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.112.0...v1.113.0) (2020-11-12)
### Features
* **payment:** INT-3438 Integrate Barclays strategy ([c53119d](https://github.com/bigcommerce/checkout-sdk-js/commit/c53119d6dc7501f25f601b0ab3ad8f1dcc9439a2))
* **payment:** PAYPAL-800 PPCP: Pay-in-3 ([a4003ae](https://github.com/bigcommerce/checkout-sdk-js/commit/a4003aee8b35723040562c31c3afd52989848937))
* **payment:** PAYPAL-800 PPCP: Pay-in-3 ([7b931d8](https://github.com/bigcommerce/checkout-sdk-js/commit/7b931d8d7621a749c722075541a275080279115b))
## [1.112.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.111.0...v1.112.0) (2020-11-09)
### Features
* **payment:** PAYPAL-702 Add alternative payment methods ([#1005](https://github.com/bigcommerce/checkout-sdk-js/issues/1005)) ([ea04c2d](https://github.com/bigcommerce/checkout-sdk-js/commit/ea04c2debc1a51f07242caa25b3af1ca72742dba))
## [1.111.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.110.1...v1.111.0) (2020-11-05)
### Features
* **payment:** PAYPAL-759 Add docs for initialize PPCP ([#1008](https://github.com/bigcommerce/checkout-sdk-js/issues/1008)) ([492858d](https://github.com/bigcommerce/checkout-sdk-js/commit/492858d7e7a9ea108860127834493bd742caa4f5))
### [1.110.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.110.0...v1.110.1) (2020-11-05)
### Bug Fixes
* **payment:** INT-3311 klarna can checkout with coupons ([375a2c3](https://github.com/bigcommerce/checkout-sdk-js/commit/375a2c3946aae0d415812913785eb663a75a256d))
## [1.110.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.109.0...v1.110.0) (2020-11-03)
### Features
* **checkout:** INT-3174 Added title as attribute of flashMessage ([73cbe48](https://github.com/bigcommerce/checkout-sdk-js/commit/73cbe487e86645348df49b265e4487c430d82053))
## [1.109.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.108.0...v1.109.0) (2020-10-22)
### Features
* **payment:** PAYPAL-746 Change style for sbp on checkout ([6b3c4a0](https://github.com/bigcommerce/checkout-sdk-js/commit/6b3c4a0edef7a5c057e78893362a4641ed4290e8))
## [1.108.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.107.1...v1.108.0) (2020-10-20)
### Features
* **payment:** PAYPAL-702 Bump bigpay client ([f812f43](https://github.com/bigcommerce/checkout-sdk-js/commit/f812f43fcc49a15617e10f55c7f76ad915f51516))
### [1.107.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.107.0...v1.107.1) (2020-10-19)
### Bug Fixes
* **payment:** PAYPAL-766 Validate cc before submit order ([#1003](https://github.com/bigcommerce/checkout-sdk-js/issues/1003)) ([0c3edb3](https://github.com/bigcommerce/checkout-sdk-js/commit/0c3edb36b370eaf16827d373583cea11f1af43ca))
## [1.107.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.106.1...v1.107.0) (2020-10-14)
### Features
* **payment:** INT-3061 renamed mandate field to mandateUrl on order interface ([1e4099c](https://github.com/bigcommerce/checkout-sdk-js/commit/1e4099c9df3751ee5009a7cd121bac4e17bc9401))
### [1.106.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.106.0...v1.106.1) (2020-10-12)
### Bug Fixes
* **order:** CHECKOUT-4639 Send discounted price when tracking analytics ([cea959f](https://github.com/bigcommerce/checkout-sdk-js/commit/cea959f8d15fa5afc2a327f0dee1441adff80234))
## [1.106.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.105.0...v1.106.0) (2020-10-09)
### Features
* **payment:** PAYPAL-706 Add validate before using spb ([3c02031](https://github.com/bigcommerce/checkout-sdk-js/commit/3c020315d5148b9048626d444fcbe9031fd4a42c))
## [1.105.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.104.2...v1.105.0) (2020-10-08)
### Features
* **payment:** PAYPAL-734 Change credit to paylater ([#994](https://github.com/bigcommerce/checkout-sdk-js/issues/994)) ([7a64bc1](https://github.com/bigcommerce/checkout-sdk-js/commit/7a64bc1733b7926535f72e2a6339da9ed5233e21))
### Bug Fixes
* **checkout:** DATA-6891 missing transactions ([51a0740](https://github.com/bigcommerce/checkout-sdk-js/commit/51a07403b403df05cc3b0b2fcc6dd56372146ef7))
### [1.104.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.104.1...v1.104.2) (2020-10-07)
### Bug Fixes
* **payment:** PAYPAL-202 fix validation ([a5aa5fb](https://github.com/bigcommerce/checkout-sdk-js/commit/a5aa5fb1e46b57fd9591f62506bd3ec876697cf0))
### [1.104.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.104.0...v1.104.1) (2020-10-02)
### Bug Fixes
* **payment:** PAYPAL-726 Switch payment methods ([4305cfd](https://github.com/bigcommerce/checkout-sdk-js/commit/4305cfd14a30abc381d2617a10fe47c78a89932e))
## [1.104.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.103.0...v1.104.0) (2020-09-30)
### Features
* **payment:** PAYPAL-675 Upgrade to 3DS v2 Braintree ([f1417cf](https://github.com/bigcommerce/checkout-sdk-js/commit/f1417cfaf0af27c7a32cac13bdfa725cbfa1fbf7))
* **payment:** PAYPAL-675 Upgrade to 3DS v2 Braintree ([58b187d](https://github.com/bigcommerce/checkout-sdk-js/commit/58b187d9ae393c63b9408986c850dbe12eabb9d5))
## [1.103.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.102.0...v1.103.0) (2020-09-30)
### Features
* **payment:** PAYPAL-553 3ds for PayPal ([#988](https://github.com/bigcommerce/checkout-sdk-js/issues/988)) ([a9d9fa8](https://github.com/bigcommerce/checkout-sdk-js/commit/a9d9fa86820c2df6ffb5192b9c4ac4f0a34588ca))
## [1.102.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.101.0...v1.102.0) (2020-09-28)
### Features
* **payment:** INT-3086 Support mounting individual card fields on StripeV3 ([2fc46a8](https://github.com/bigcommerce/checkout-sdk-js/commit/2fc46a8e9196b4f1f096f5b35672454662b05a97))
## [1.101.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.100.0...v1.101.0) (2020-09-22)
### Features
* **payment:** PAYPAL-705 add messaging for PayPal banners ([d35ea9b](https://github.com/bigcommerce/checkout-sdk-js/commit/d35ea9be7a8eb7517811f266ae57825e84c81310))
* **payment:** PAYPAL-705 enable banners along with credit + tests ([8f110af](https://github.com/bigcommerce/checkout-sdk-js/commit/8f110af6a1624778741bdf4e317be7d20c6a5376))
## [1.100.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.99.3...v1.100.0) (2020-09-18)
### Features
* **checkout:** INT-2779 Add vaulting support for Orbital ([a58c700](https://github.com/bigcommerce/checkout-sdk-js/commit/a58c700fc79abaf1da821e0cb58fb977f728e4ea))
* **payment:** PAYPAL-654 Add callback and disable submit button ([1f2fc79](https://github.com/bigcommerce/checkout-sdk-js/commit/1f2fc7999f75f143b39c2c4abf316bb3d45ca150))
* **payment:** PAYPAL-654 Add hidePaymentButton instead EmbeddedSubmitButton ([b57cd2b](https://github.com/bigcommerce/checkout-sdk-js/commit/b57cd2b2ed28169f4c642c96d0688202597e8a17))
* **payment:** PAYPAL-654 Changes for PR ([aad6632](https://github.com/bigcommerce/checkout-sdk-js/commit/aad6632c9ad5717be136aa8801526c45f380db19))
* **payment:** PAYPAL-654 Changes for PR ([c31a459](https://github.com/bigcommerce/checkout-sdk-js/commit/c31a459c7f789e4bf2f8d8dbae7028cfe2bf523f))
* **payment:** PAYPAL-654 Remove EmbeddedSubmitButton ([71f9937](https://github.com/bigcommerce/checkout-sdk-js/commit/71f99374dfcdbe1c665ec86fab133eabfaf77929))
* **payment:** PAYPAL-654 Rename hidePaymentButton to onRenderButton ([71d34d2](https://github.com/bigcommerce/checkout-sdk-js/commit/71d34d2a5ad1ab5b15770d907487904ff4918112))
* **payment:** PAYPAL-654 Spb checkout ([8f7b9a7](https://github.com/bigcommerce/checkout-sdk-js/commit/8f7b9a74ee923ae69d1debbc7b0bcdafe29dda9a))
* **payment:** PAYPAL-654 Take out paypal script to processor ([87a0902](https://github.com/bigcommerce/checkout-sdk-js/commit/87a09026518ab3f2a88fdef25e980beff5bfbf97))
* **payment:** PAYPAL-654 Tests ([f348dfc](https://github.com/bigcommerce/checkout-sdk-js/commit/f348dfc07e50d05ccadac2b1659fdbb578e3a187))
### [1.99.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.99.2...v1.99.3) (2020-09-17)
### Bug Fixes
* **payment:** CHECKOUT-5135 Reset Braintree hosted form initialisation state ([fe606c0](https://github.com/bigcommerce/checkout-sdk-js/commit/fe606c05cf0a1f67030efc4911eb474914f45f6e))
### [1.99.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.99.1...v1.99.2) (2020-09-15)
### Bug Fixes
* **payment:** CHECKOUT-5135 Fix onValidate callback not getting called with correct error type and not getting called when tokenize returns validation error ([307c44d](https://github.com/bigcommerce/checkout-sdk-js/commit/307c44daaf32e437988ce4569ed58377bccb7860))
### [1.99.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.99.0...v1.99.1) (2020-09-15)
## [1.99.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.98.0...v1.99.0) (2020-09-10)
### Features
* **payment:** INT-3061 added mandate field on order interface ([c8c542b](https://github.com/bigcommerce/checkout-sdk-js/commit/c8c542b0e9f486905b4a2fe99ae12287b107aad4))
## [1.98.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.97.1...v1.98.0) (2020-09-08)
### Features
* **checkout:** INT-3112 Merge Bolt strategies ([25e0c7d](https://github.com/bigcommerce/checkout-sdk-js/commit/25e0c7db01ef4f97766177046838c232057a4ddf))
* **payment:** INT-3027 Implementing client key ([e95bf66](https://github.com/bigcommerce/checkout-sdk-js/commit/e95bf66fe6ac5e42a85030268dd5b8a5094ecd9f))
### [1.97.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.97.0...v1.97.1) (2020-09-07)
## [1.97.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.96.0...v1.97.0) (2020-09-04)
### Features
* **payment:** INT-3027 Implementing client key ([77e6807](https://github.com/bigcommerce/checkout-sdk-js/commit/77e68077537207b1fe62d1913707c82c530896fa))
* **payment:** PAYPAL-202 Add tests ([c92dfe7](https://github.com/bigcommerce/checkout-sdk-js/commit/c92dfe790e62ddb38ead68e53eafe05a707584a9))
* **payment:** PAYPAL-202 Changes for PR ([144b0bb](https://github.com/bigcommerce/checkout-sdk-js/commit/144b0bb143f4ed95694a244408d390b89ef93d11))
* **payment:** PAYPAL-202 Hosted Credit Card ([04c740f](https://github.com/bigcommerce/checkout-sdk-js/commit/04c740fa12b55e89a7ee54f0775928a3f5ec5779))
* **payment:** PAYPAL-202 take clientToken from appropriate params ([4d8a5ed](https://github.com/bigcommerce/checkout-sdk-js/commit/4d8a5ed1f1b4d0b2c94f4bcf368b6bf1326a1565))
## [1.96.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.95.0...v1.96.0) (2020-09-02)
### Features
* **payment:** INT-3032 Add ES/EUR support to Klarna ([0b942ed](https://github.com/bigcommerce/checkout-sdk-js/commit/0b942ed983974c705eeeb4a638dfe5c3ed1c6674))
## [1.95.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.94.0...v1.95.0) (2020-08-31)
### Features
* **payment:** PAYMENTS-5513 add setAsDefaultInstrument to the nonce mapping white list ([#964](https://github.com/bigcommerce/checkout-sdk-js/issues/964)) ([2eaab8f](https://github.com/bigcommerce/checkout-sdk-js/commit/2eaab8f89226daa8864a824da763f8cbd492bef5))
## [1.94.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.93.2...v1.94.0) (2020-08-30)
### Features
* **payment:** INT-3084 Autopopulate card holder name ([3df5395](https://github.com/bigcommerce/checkout-sdk-js/commit/3df539532a0eef13c6622a6b224de883611f8574))
### [1.93.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.93.1...v1.93.2) (2020-08-26)
### Performance Improvements
* **payment:** INT-2926 Avoid unnecessary calls to payments/amazonpay and checkout-settings ([6e90e80](https://github.com/bigcommerce/checkout-sdk-js/commit/6e90e80120224e434c8c332faf64a5f90517564e))
### [1.93.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.93.0...v1.93.1) (2020-08-21)
### Bug Fixes
* **payment:** CHECKOUT-5115 CHECKOUT-5116 CHECKOUT-5117 Set correct type for card number verification field ([cb708cd](https://github.com/bigcommerce/checkout-sdk-js/commit/cb708cdd8c19f3aea333540150cee19362931594))
## [1.93.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.92.1...v1.93.0) (2020-08-21)
### Features
* **checkout:** INT-2992 Make store credit usable with bolt ([07d5cdd](https://github.com/bigcommerce/checkout-sdk-js/commit/07d5cdd5aedc8f4f9c652734d57cb62fc203a258))
### Bug Fixes
* **checkout:** INT-3041 Fix GooglePay updating shipping address when not needed ([28736af](https://github.com/bigcommerce/checkout-sdk-js/commit/28736afd978ee65a38db04e44953de4b94f9d412))
### [1.92.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.92.0...v1.92.1) (2020-08-18)
### Code Refactoring
* **payment:** INT-2995 Avoid setting up Affirm.js from string code ([b8b8f92](https://github.com/bigcommerce/checkout-sdk-js/commit/b8b8f92497379d646c8d6ce2a1d8147f3b2112d4))
## [1.92.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.91.1...v1.92.0) (2020-08-18)
### Features
* **payment:** PAYPAL-652 Add PPCP to SDK documentation ([83276b9](https://github.com/bigcommerce/checkout-sdk-js/commit/83276b916d829539ac5c3a5cb3770ca0ef218226))
### [1.91.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.91.0...v1.91.1) (2020-08-18)
### Bug Fixes
* **payment:** INT-2043 Apply store credit on StripeV3 ([ac41ff9](https://github.com/bigcommerce/checkout-sdk-js/commit/ac41ff9515e70306c574e93b788435eec7a45d6d))
## [1.91.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.90.2...v1.91.0) (2020-08-17)
### Features
* **payment:** INT-3016 remove phone number parameter in request if field is empty in Stripev3 ([c0220de](https://github.com/bigcommerce/checkout-sdk-js/commit/c0220de393161fba75350531236d2aefab04040d))
### [1.90.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.90.1...v1.90.2) (2020-08-14)
### Bug Fixes
* **payment:** INT-3010 Fix Zip store credit implementation ([37ffccf](https://github.com/bigcommerce/checkout-sdk-js/commit/37ffccf9ec63f3a85338d7d4b10a5fcdc08199fd))
### [1.90.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.90.0...v1.90.1) (2020-08-13)
### Code Refactoring
* **checkout:** CHECKOUT-4947 Remove unused key from settings object ([232a2cc](https://github.com/bigcommerce/checkout-sdk-js/commit/232a2cca5866861628e2af6ccba156d8a50ccdcc))
* **payment:** INT-2922 Upgrade Adyen Component Library ([50e5dd7](https://github.com/bigcommerce/checkout-sdk-js/commit/50e5dd75fd86c8c923a20969417bbfd079be1651))
## [1.90.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.89.0...v1.90.0) (2020-08-12)
### Features
* **payment:** PAYPAL-202 bump bigpay-client to 5.12 ([e1cebb6](https://github.com/bigcommerce/checkout-sdk-js/commit/e1cebb649b90eda7726c897e0a6949f50222463f))
## [1.89.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.88.0...v1.89.0) (2020-08-10)
### Features
* **payment:** INT-2907 Avoid returns duplicate vaulted instruments ([663194e](https://github.com/bigcommerce/checkout-sdk-js/commit/663194e0e427d07e43aaf226c57098b76d59f701))
### Bug Fixes
* **payment:** INT-2907 Fix linter in instrument selector ([2d455f0](https://github.com/bigcommerce/checkout-sdk-js/commit/2d455f07b8d1f7f6d92d5daa2a241d777bf51d6d))
## [1.88.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.87.0...v1.88.0) (2020-08-07)
### Features
* **payment:** CHECKOUT-4947 Modify Braintree credit card strategy to use hosted form service when feature is enabled ([3847aeb](https://github.com/bigcommerce/checkout-sdk-js/commit/3847aebcd62ddab7334bf4bb4b7ef0efb8a1a7f3))
## [1.87.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.86.0...v1.87.0) (2020-08-06)
### Features
* **payment:** CHECKOUT-4947 Inspect payment method object to determine whether hosted payment form is enabled for payment method ([5c49812](https://github.com/bigcommerce/checkout-sdk-js/commit/5c4981205f6469986c4e7f39b533d3c1ec8297a8))
### Bug Fixes
* **payment:** CHECKOUT-5089 Catch "permission denied" error when attempting to gather adjacent hosted inputs to support IE11 ([dc0f334](https://github.com/bigcommerce/checkout-sdk-js/commit/dc0f33484cad5193c3debab7cdb460736f41bfe1))
## [1.86.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.85.0...v1.86.0) (2020-07-30)
### Features
* **checkout:** INT-2919 Add Unit Test ([1de848f](https://github.com/bigcommerce/checkout-sdk-js/commit/1de848f14f98d0ff9bdb3b68e814e927f028c732))
* **checkout:** INT-2919 Add Unit test to script loader ([dddd1d1](https://github.com/bigcommerce/checkout-sdk-js/commit/dddd1d119a45e7babf665299a7631fcafd0864ad))
* **checkout:** INT-2919 Create an strategy in order to use Bolt in Bigcommerce checkout ([f25c662](https://github.com/bigcommerce/checkout-sdk-js/commit/f25c662ef860f084133fddb13ae24767f659e54c))
* **checkout:** INT-2919 Minor corrections ([4e1160d](https://github.com/bigcommerce/checkout-sdk-js/commit/4e1160db27a588e9bcae3925d4a78717b3419f05))
* **checkout:** INT-2919 move changes to another strategy ([d09c299](https://github.com/bigcommerce/checkout-sdk-js/commit/d09c299d822ecf309b1722bfd9e46e46747a3db4))
* **checkout:** INT-2919 Several fixes to mocks and indentation ([2570226](https://github.com/bigcommerce/checkout-sdk-js/commit/2570226f30e756ddd01e862a77556c183a84dc5d))
## [1.85.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.84.0...v1.85.0) (2020-07-29)
### Features
* **payment:** CHECKOUT-4947 Add Braintree hosted form service as abstraction layer for interacting with Braintree API ([a764cd0](https://github.com/bigcommerce/checkout-sdk-js/commit/a764cd09da18fb0d07809337238f13a35786c0f4))
* **payment:** CHECKOUT-4947 Add methods for loading and initializing Braintree hosted fields module ([fc87ee9](https://github.com/bigcommerce/checkout-sdk-js/commit/fc87ee96621483d8395d2d2e59234d6b5340cb72))
* **payment:** INT-2653 Accept payments through StripeV3 using Alipay ([997bd1d](https://github.com/bigcommerce/checkout-sdk-js/commit/997bd1d3838c6bb8c2a13e056aee2648ce6ec30b))
* **payment:** INT-2801 Prepopulate ACH Billing Info ([84f1524](https://github.com/bigcommerce/checkout-sdk-js/commit/84f152494e779e47eea8f7f43122220b4571c824))
* **payment:** PAYMENTS-5513 add setAsDefaultInstrument feature during vaulting or vaulted payments ([#893](https://github.com/bigcommerce/checkout-sdk-js/issues/893)) ([055b7ee](https://github.com/bigcommerce/checkout-sdk-js/commit/055b7eea7be09ff09220bdcb599aec4e94f86cf8))
## [1.84.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.83.0...v1.84.0) (2020-07-22)
### Features
* **payment:** INT-2532 Accept payments through StripeV3 using iDEAL & SEPA ([3fcb1cc](https://github.com/bigcommerce/checkout-sdk-js/commit/3fcb1cc61e78a7e298ee6c0014132b72a4b8581f))
## [1.83.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.82.4...v1.83.0) (2020-07-22)
### Features
* **payment:** PAYPAL-539 Add validate params in script loader ([1bac153](https://github.com/bigcommerce/checkout-sdk-js/commit/1bac1535e865feba3ec80dae0aa6d3f026a55ed9))
* **payment:** PAYPAL-539 MerchantId does not required for progressive onboarding ([ec88cf7](https://github.com/bigcommerce/checkout-sdk-js/commit/ec88cf76e3cd0245fc062355297ec457e5e1d7c1))
### [1.82.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.82.3...v1.82.4) (2020-07-16)
### Bug Fixes
* **checkout:** CHECKOUT-5006 added displayDateFormat type ([75e190e](https://github.com/bigcommerce/checkout-sdk-js/commit/75e190e13de10d76165b7e20c3a916a2c34285e4))
### [1.82.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.82.2...v1.82.3) (2020-07-16)
### Bug Fixes
* **payment:** PAYMENTS-5575 fix paypal and bank instrument clash ([#918](https://github.com/bigcommerce/checkout-sdk-js/issues/918)) ([3908ed1](https://github.com/bigcommerce/checkout-sdk-js/commit/3908ed145d6d62ea2a357e6d0a64bc53991c3cde))
### [1.82.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.82.1...v1.82.2) (2020-07-14)
### Bug Fixes
* **payment:** CHECKOUT-5025 Fix Elavon Converge strategy so that it can utilise hosted payment form ([c2b21a9](https://github.com/bigcommerce/checkout-sdk-js/commit/c2b21a90d174c253d179412561ba2b96a67d0eb5))
* **payment:** CHECKOUT-5029 Return error if hosted field iframe is removed during asynchronous call ([35f91df](https://github.com/bigcommerce/checkout-sdk-js/commit/35f91df566a47f081150bc9db2236da0c26c525e))
* **shipping:** INT-2832 Handle custom fields for AmazonPayV2 ([a27d244](https://github.com/bigcommerce/checkout-sdk-js/commit/a27d24466ec69e1d9182028480c7dc39bf2953ac))
### [1.82.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.82.0...v1.82.1) (2020-07-10)
## [1.82.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.81.0...v1.82.0) (2020-07-07)
### Features
* **common:** BC-897 Upgrade typescript ([08cc2f8](https://github.com/bigcommerce/checkout-sdk-js/commit/08cc2f8))
* **payment:** PAYPAL-539 MerchantId does not required for progressive onboarding ([816658d](https://github.com/bigcommerce/checkout-sdk-js/commit/816658d))
## [1.81.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.80.2...v1.81.0) (2020-07-03)
### Features
* **payment:** PAYPAL-508 Mark up flow additional params ([a0cf703](https://github.com/bigcommerce/checkout-sdk-js/commit/a0cf703))
### [1.80.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.80.1...v1.80.2) (2020-07-03)
### Bug Fixes
* **payment:** CHECKOUT-4995 Pass additional action data to hosted forms ([59abc4f](https://github.com/bigcommerce/checkout-sdk-js/commit/59abc4f))
### [1.80.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.80.0...v1.80.1) (2020-07-02)
### Bug Fixes
* **payment:** CHECKOUT-4973 Initialise hosted payment field within its iframe ([db5610e](https://github.com/bigcommerce/checkout-sdk-js/commit/db5610e))
## [1.80.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.79.0...v1.80.0) (2020-07-01)
### Features
* **payment:** INT-2748 Adding Sezzle strategy ([327ecb5](https://github.com/bigcommerce/checkout-sdk-js/commit/327ecb5))
## [1.79.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.78.1...v1.79.0) (2020-06-25)
### Features
* **checkout:** INT-2274 Add vaulting support for Checkout.com ([89b4608](https://github.com/bigcommerce/checkout-sdk-js/commit/89b4608))
* **payment:** INT-2279 Create a strategy for credit cards with redirect and add support to Checkout.com ([#809](https://github.com/bigcommerce/checkout-sdk-js/issues/809)) ([0f42b13](https://github.com/bigcommerce/checkout-sdk-js/commit/0f42b13))
* **payment:** INT-2280 Added GooglePay for Checkout.com ([894d863](https://github.com/bigcommerce/checkout-sdk-js/commit/894d863))
### [1.78.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.78.0...v1.78.1) (2020-06-24)
## [1.78.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.77.3...v1.78.0) (2020-06-23)
### Features
* **payment:** INT-2113 Checkout button and customer strategy ([908a04d](https://github.com/bigcommerce/checkout-sdk-js/commit/908a04d))
* **payment:** INT-2119 adding payment and shipping strategies ([c0e9cf3](https://github.com/bigcommerce/checkout-sdk-js/commit/c0e9cf3))
* **payment:** INT-2119 Create WidgetInteraction action for Shipping Strategy ([ee6757d](https://github.com/bigcommerce/checkout-sdk-js/commit/ee6757d))
### [1.77.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.77.2...v1.77.3) (2020-06-16)
### Bug Fixes
* **payment:** PAYPAL-453 Submit device data to Braintree/Kount ([6506716](https://github.com/bigcommerce/checkout-sdk-js/commit/6506716))
### [1.77.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.77.1...v1.77.2) (2020-06-15)
### Bug Fixes
* **payment:** INT-2759 Do not mount GiroPay component while initializing payment strategy ([7bc9e54](https://github.com/bigcommerce/checkout-sdk-js/commit/7bc9e54))
### [1.77.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.77.0...v1.77.1) (2020-06-11)
### Code Refactoring
* **payment:** INT-2614 renaming values for iban/accountnumber ([a8955dd](https://github.com/bigcommerce/checkout-sdk-js/commit/a8955dd))
## [1.77.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.76.2...v1.77.0) (2020-06-11)
### Bug Fixes
* **common:** INT-2308 Align button Tell me more at checkout section ([a6010bc](https://github.com/bigcommerce/checkout-sdk-js/commit/a6010bc))
### Features
* **common:** ORDERS-3323 Ensure coupon codes are upper case. ([269c236](https://github.com/bigcommerce/checkout-sdk-js/commit/269c236))
* **payment:** INT-2722 Upgrade Adyen component library ([b10d0c7](https://github.com/bigcommerce/checkout-sdk-js/commit/b10d0c7))
* **payment:** PAYPAL-483 Pass merchant ID on PayPal button for PPCP ([20f1756](https://github.com/bigcommerce/checkout-sdk-js/commit/20f1756))
### [1.76.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.76.1...v1.76.2) (2020-06-04)
### Bug Fixes
* **payment:** INT-2726 Revert Fix redirect to home on safari ([03fe0f4](https://github.com/bigcommerce/checkout-sdk-js/commit/03fe0f4))
### [1.76.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.76.0...v1.76.1) (2020-06-02)
## [1.76.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.75.0...v1.76.0) (2020-06-01)
### Features
* **checkout:** INT-2001 Reload widget when apply store credit checkbox state changes ([a133618](https://github.com/bigcommerce/checkout-sdk-js/commit/a133618))
* **payment:** INT-2629 Relate stripeConnectedAccount while initilializing GooglePay ([a62dc1d](https://github.com/bigcommerce/checkout-sdk-js/commit/a62dc1d))
## [1.75.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.74.0...v1.75.0) (2020-05-28)
### Bug Fixes
* **payment:** INT-2674 Fix redirect to home on safari ([661f503](https://github.com/bigcommerce/checkout-sdk-js/commit/661f503))
### Features
* **payment:** INT-2668 Increase code coverage for adyenv2 payment strategy ([a327e59](https://github.com/bigcommerce/checkout-sdk-js/commit/a327e59))
* **payment:** PAYMENTS-5443 Update docs to include human verification at payment step ([b50b04e](https://github.com/bigcommerce/checkout-sdk-js/commit/b50b04e))
## [1.74.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.73.0...v1.74.0) (2020-05-28)
### Features
* **payment:** INT-2541 Add Laybuy strategy ([#837](https://github.com/bigcommerce/checkout-sdk-js/issues/837)) ([7e3f936](https://github.com/bigcommerce/checkout-sdk-js/commit/7e3f936))
## [1.73.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.72.2...v1.73.0) (2020-05-28)
### Features
* **checkout:** CHECKOUT-4754 Send a header to indicate the version of the SDK used to place an order ([3efccbb](https://github.com/bigcommerce/checkout-sdk-js/commit/3efccbb))
* **checkout:** CHECKOUT-4754 Send an additional header to provide information about the checkout variant that is used to pay for an order ([e1224e2](https://github.com/bigcommerce/checkout-sdk-js/commit/e1224e2))
### [1.72.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.72.1...v1.72.2) (2020-05-26)
### Bug Fixes
* **payment:** INT-2691 Remove integrity & crossorigin attributes ([fb007e9](https://github.com/bigcommerce/checkout-sdk-js/commit/fb007e9))
* **payment:** INT-2691 Remove integrity & crossorigin attributes ([db6ccf9](https://github.com/bigcommerce/checkout-sdk-js/commit/db6ccf9))
### [1.72.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.72.0...v1.72.1) (2020-05-26)
### Bug Fixes
* **payment:** INT-2690 Expose AdyenV2 as a valid GooglePay gateway ([97d32e3](https://github.com/bigcommerce/checkout-sdk-js/commit/97d32e3))
## [1.72.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.71.0...v1.72.0) (2020-05-25)
### Features
* **common:** CHECKOUT-4760 Expose shouldSaveAddress attribute ([1f6ff20](https://github.com/bigcommerce/checkout-sdk-js/commit/1f6ff20))
## [1.71.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.70.1...v1.71.0) (2020-05-25)
### Bug Fixes
* **payment:** PAYMENTS-5425 add missing paymentHumanVerificationHandler dep of BoltPaymentStrategy ([#885](https://github.com/bigcommerce/checkout-sdk-js/issues/885)) ([a7618a6](https://github.com/bigcommerce/checkout-sdk-js/commit/a7618a6))
### Features
* **payment:** PAYMENTS-5425 Implement the UX for Carding remediation solution ([#875](https://github.com/bigcommerce/checkout-sdk-js/issues/875)) ([cbaa2d3](https://github.com/bigcommerce/checkout-sdk-js/commit/cbaa2d3))
### [1.70.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.70.0...v1.70.1) (2020-05-22)
### Code Refactoring
* **payment:** INT-2684 Upgrade Adyen Component Library ([a872a4c](https://github.com/bigcommerce/checkout-sdk-js/commit/a872a4c))
## [1.70.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.69.2...v1.70.0) (2020-05-22)
### Bug Fixes
* **payment:** CHECKOUT-4904 Pass Store Credit properly to amazon pay ([6900644](https://github.com/bigcommerce/checkout-sdk-js/commit/6900644))
### Features
* **checkout:** INT-2577 Create a strategy for Bolt ([484eab8](https://github.com/bigcommerce/checkout-sdk-js/commit/484eab8))
* **payment:** INT-2613 remove receipt_email in stripe-strategy ([9c10454](https://github.com/bigcommerce/checkout-sdk-js/commit/9c10454))
### [1.69.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.69.1...v1.69.2) (2020-05-20)
### Bug Fixes
* **shopper:** CHECKOUT-4897 Add redirect_to to SignInEmail ([b020bfa](https://github.com/bigcommerce/checkout-sdk-js/commit/b020bfa))
### [1.69.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.69.0...v1.69.1) (2020-05-19)
### Bug Fixes
* **shopper:** CHECKOUT-4742 Update customer object when continuing as guest ([c83c50f](https://github.com/bigcommerce/checkout-sdk-js/commit/c83c50f))
## [1.69.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.68.0...v1.69.0) (2020-05-15)
### Features
* **payment:** INT-2612 Pay with vaulted SEPA accounts ([a97533f](https://github.com/bigcommerce/checkout-sdk-js/commit/a97533f))
## [1.68.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.67.1...v1.68.0) (2020-05-14)
### Features
* **payment:** PAYPAL-365 choses paypalcredit method on the checkout ([cfae602](https://github.com/bigcommerce/checkout-sdk-js/commit/cfae602))
### [1.67.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.67.0...v1.67.1) (2020-05-14)
### Bug Fixes
* **payment:** PAYPAL-406 Checkout order after approval issue ([438bf2b](https://github.com/bigcommerce/checkout-sdk-js/commit/438bf2b))
## [1.67.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.66.0...v1.67.0) (2020-05-14)
### Features
* **checkout:** INT-2497 Add elavon to supported instruments whitelist ([b145268](https://github.com/bigcommerce/checkout-sdk-js/commit/b145268))
* **payment:** INT-2437 Add support for GooglePay on Adyen ([4853677](https://github.com/bigcommerce/checkout-sdk-js/commit/4853677))
## [1.66.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.65.0...v1.66.0) (2020-05-12)
### Code Refactoring
* **payment:** INT-2611 Update the klarna session before load the widget ([4905de5](https://github.com/bigcommerce/checkout-sdk-js/commit/4905de5))
### Features
* **common:** CHECKOUT-4879 Expose flash messages ([f9c71e5](https://github.com/bigcommerce/checkout-sdk-js/commit/f9c71e5))
## [1.65.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.64.0...v1.65.0) (2020-05-06)
### Features
* **payment:** PAYPAL-293 Bump bigpay-client version to 5.6.0 ([b58a229](https://github.com/bigcommerce/checkout-sdk-js/commit/b58a229))
## [1.64.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.63.1...v1.64.0) (2020-05-05)
### Features
* **payment:** PAYPAL-293 Implement paypalcommercecredit provider ([ceaaa69](https://github.com/bigcommerce/checkout-sdk-js/commit/ceaaa69))
### [1.63.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.63.0...v1.63.1) (2020-05-04)
### Bug Fixes
* **spam-protection:** CHECKOUT-4852 Make sure spam protection execution status is accurate ([be0221d](https://github.com/bigcommerce/checkout-sdk-js/commit/be0221d))
* **spam-protection:** CHECKOUT-4852 Rethrow spam protection cancellation error ([0294b2b](https://github.com/bigcommerce/checkout-sdk-js/commit/0294b2b))
## [1.63.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.62.0...v1.63.0) (2020-04-29)
### Features
* **payment:** PAYPAL-19 Paypal Commerce ([2ab3bed](https://github.com/bigcommerce/checkout-sdk-js/commit/2ab3bed))
## [1.62.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.61.0...v1.62.0) (2020-04-29)
### Features
* **payment:** INT-2428 Modified filter to accept AccountInstruments ([7eab61b](https://github.com/bigcommerce/checkout-sdk-js/commit/7eab61b))
## [1.61.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.60.1...v1.61.0) (2020-04-23)
### Bug Fixes
* **payment:** CHECKOUT-4842 Trigger event when "enter" key is pressed in one of hosted payment fields ([a9f9e86](https://github.com/bigcommerce/checkout-sdk-js/commit/a9f9e86))
### Features
* **shopper:** CHECKOUT-4799 Add Sign-in Email support ([bbea61e](https://github.com/bigcommerce/checkout-sdk-js/commit/bbea61e))
### [1.60.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.60.0...v1.60.1) (2020-04-22)
### Bug Fixes
* **checkout:** CHECKOUT-4774 Handle no hosted fields to be rendered scenario ([84acf19](https://github.com/bigcommerce/checkout-sdk-js/commit/84acf19))
## [1.60.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.59.0...v1.60.0) (2020-04-16)
### Bug Fixes
* **embedded-checkout:** CHECKOUT-4789 Export createEmbeddedCheckoutMessenger function in embedded-checkout bundle ([d2f9f8c](https://github.com/bigcommerce/checkout-sdk-js/commit/d2f9f8c))
### Features
* **payment:** INT-2410 Add stripe account as configuration ([aa39dc0](https://github.com/bigcommerce/checkout-sdk-js/commit/aa39dc0))
## [1.59.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.58.0...v1.59.0) (2020-04-03)
### Bug Fixes
* **payment:** PAYMENTS-5178 Add hasDefaultStoredInstrument property to PaymentMethodConfig to fix default stored instruments feature ([b2f559b](https://github.com/bigcommerce/checkout-sdk-js/commit/b2f559b))
### Features
* **payment:** INT-2452 Add billing and shipping for klarna ([d264abf](https://github.com/bigcommerce/checkout-sdk-js/commit/d264abf))
## [1.58.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.57.0...v1.58.0) (2020-04-02)
### Bug Fixes
* **common:** CHECKOUT-4789 Apply polyfills to external dependencies for targeted environments ([864fd31](https://github.com/bigcommerce/checkout-sdk-js/commit/864fd31))
* **payment:** INT-2431 Adds expiration date for Bancontact payments ([7249375](https://github.com/bigcommerce/checkout-sdk-js/commit/7249375))
### Features
* **checkout:** INT-2001 Enable support for Store Credit on both versions of Klarna ([b05f46a](https://github.com/bigcommerce/checkout-sdk-js/commit/b05f46a))
## [1.57.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.56.2...v1.57.0) (2020-03-26)
### Features
* **payment:** INT-1710 Add support for ACH & Vipps on Adyen ([76a51ca](https://github.com/bigcommerce/checkout-sdk-js/commit/76a51ca))
### [1.56.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.56.1...v1.56.2) (2020-03-19)
### Bug Fixes
* **payment:** INT-2427 Use ExpiryDate while paying with a vaulted Bancontact card rather than CVV ([1c67049](https://github.com/bigcommerce/checkout-sdk-js/commit/1c67049))
### [1.56.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.56.0...v1.56.1) (2020-03-17)
### Bug Fixes
* **payment:** INT-2418 Use SecurityNumber to validate safeguard ([e9cadb4](https://github.com/bigcommerce/checkout-sdk-js/commit/e9cadb4))
## [1.56.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.55.2...v1.56.0) (2020-03-15)
### Features
* **payment:** INT-1104 Add GooglePay on Auth.net ([98d8090](https://github.com/bigcommerce/checkout-sdk-js/commit/98d8090))
### [1.55.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.55.1...v1.55.2) (2020-03-14)
### [1.55.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.55.0...v1.55.1) (2020-03-13)
### Code Refactoring
* **payment:** INT-2350 Style the object syntax in the test so it can easily be read ([46990e2](https://github.com/bigcommerce/checkout-sdk-js/commit/46990e2))
* **payment:** INT-2350 Use createFromAction for every payment method ([d1a62e9](https://github.com/bigcommerce/checkout-sdk-js/commit/d1a62e9))
## [1.55.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.54.0...v1.55.0) (2020-03-04)
### Bug Fixes
* **shipping:** CHECKOUT-4416 Include custom items IDs when calling CheckoutService#updateShippingAddress ([6ee47c5](https://github.com/bigcommerce/checkout-sdk-js/commit/6ee47c5))
* **shopper:** CHECKOUT-4640 Fix state when consent is provided ([d9bf7f5](https://github.com/bigcommerce/checkout-sdk-js/commit/d9bf7f5))
### Features
* **checkout:** INT-1434 Creating klarnav2 strategy to support multi-option ([c8e4667](https://github.com/bigcommerce/checkout-sdk-js/commit/c8e4667))
## [1.54.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.53.1...v1.54.0) (2020-02-24)
### Features
* **payment:** INT-2062 Support iDEAL & Giropay APM's through AdyenV2 gateway ([1334714](https://github.com/bigcommerce/checkout-sdk-js/commit/1334714))
### [1.53.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.53.0...v1.53.1) (2020-02-24)
### Bug Fixes
* **shopper:** CHECKOUT-4640 Add support for marketing emails consent ([04714a1](https://github.com/bigcommerce/checkout-sdk-js/commit/04714a1))
## [1.53.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.52.1...v1.53.0) (2020-02-21)
### Features
* **payments:** INT-1997 Integrate BlueSnap V2 strategy ([#732](https://github.com/bigcommerce/checkout-sdk-js/issues/732)) ([d2cc31c](https://github.com/bigcommerce/checkout-sdk-js/commit/d2cc31c))
### [1.52.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.52.0...v1.52.1) (2020-02-12)
### Bug Fixes
* **common:** CHECKOUT-4669 Convert buffer to string before comparing with package version ([0f8f411](https://github.com/bigcommerce/checkout-sdk-js/commit/0f8f411))
## [1.52.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.51.1...v1.52.0) (2020-02-11)
### Bug Fixes
* **checkout:** CHECKOUT-4245 handle custom fields for amazon pay ([d7c7273](https://github.com/bigcommerce/checkout-sdk-js/commit/d7c7273))
### Features
* **payment:** CHECKOUT-4669 Create version-specific loader file and reference it in hosted payment form ([4d00281](https://github.com/bigcommerce/checkout-sdk-js/commit/4d00281))
### [1.51.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.51.0...v1.51.1) (2020-02-10)
### Bug Fixes
* **payment:** CHECKOUT-4655 Make Cardinal 3DS work with hosted payment form ([199f19c](https://github.com/bigcommerce/checkout-sdk-js/commit/199f19c))
## [1.51.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.50.2...v1.51.0) (2020-02-09)
### Features
* **payment:** INT-2286 Use credit_card as payment method instead of card ([11c2ad1](https://github.com/bigcommerce/checkout-sdk-js/commit/11c2ad1))
### [1.50.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.50.1...v1.50.2) (2020-02-03)
### Bug Fixes
* **payment:** CHECKOUT-4655 Fix SagePay form post target value ([8f6c7c1](https://github.com/bigcommerce/checkout-sdk-js/commit/8f6c7c1))
### [1.50.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.50.0...v1.50.1) (2020-02-03)
### Bug Fixes
* **payment:** CHECKOUT-4655 Add support for additional card types when validating hosted payment form ([1253191](https://github.com/bigcommerce/checkout-sdk-js/commit/1253191))
* **payment:** CHECKOUT-4655 Rethrow payment request error when paying with hosted payment form ([05ce3fc](https://github.com/bigcommerce/checkout-sdk-js/commit/05ce3fc))
* **payment:** CHECKOUT-4655 Use hosted payment form when paying with SagePay ([08a151e](https://github.com/bigcommerce/checkout-sdk-js/commit/08a151e))
## [1.50.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.49.0...v1.50.0) (2020-02-02)
### Features
* **payment:** INT-1990 Add browser info as part of payload to Adyen V2 ([0a91d66](https://github.com/bigcommerce/checkout-sdk-js/commit/0a91d66))
## [1.49.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.48.0...v1.49.0) (2020-01-23)
### Bug Fixes
* **payment:** CHECKOUT-4205 Reload checkout page if for some reason form expires after initial page load ([444a006](https://github.com/bigcommerce/checkout-sdk-js/commit/444a006))
* **payment:** CHECKOUT-4627 Load fonts required for hosted fields ([5261968](https://github.com/bigcommerce/checkout-sdk-js/commit/5261968))
* **shipping:** CHECKOUT-3818 Update coupon state when shipping option is updated ([e0a9786](https://github.com/bigcommerce/checkout-sdk-js/commit/e0a9786))
### Code Refactoring
* **common:** CHECKOUT-4203 Allow synthetic default imports ([f446753](https://github.com/bigcommerce/checkout-sdk-js/commit/f446753))
* **common:** CHECKOUT-4203 Move iframe event listener and poster to `common` module and add ability to wait for feedback when posting messages ([6d571ce](https://github.com/bigcommerce/checkout-sdk-js/commit/6d571ce))
* **payment:** CHECKOUT-4203 Remove duplicate code ([df03c1b](https://github.com/bigcommerce/checkout-sdk-js/commit/df03c1b))
### Features
* **payment:** CHECKOUT-4203 Add card number and expiry inputs ([8403202](https://github.com/bigcommerce/checkout-sdk-js/commit/8403202))
* **payment:** CHECKOUT-4203 Add factory for creating hosted payment form ([a8b35f5](https://github.com/bigcommerce/checkout-sdk-js/commit/a8b35f5))
* **payment:** CHECKOUT-4203 Add functions for creating hosted inputs ([e42046a](https://github.com/bigcommerce/checkout-sdk-js/commit/e42046a))
* **payment:** CHECKOUT-4203 Add text input element responsible for accepting user input inside iframe ([b460e97](https://github.com/bigcommerce/checkout-sdk-js/commit/b460e97))
* **payment:** CHECKOUT-4203 Export hosted input initializer as separate file ([74b2676](https://github.com/bigcommerce/checkout-sdk-js/commit/74b2676))
* **payment:** CHECKOUT-4203 Submit card details via hosted fields for stored instrument verification ([58cf2d8](https://github.com/bigcommerce/checkout-sdk-js/commit/58cf2d8))
* **payment:** CHECKOUT-4203 Use hosted payment form for credit card payment if feature is enabled ([a0512a1](https://github.com/bigcommerce/checkout-sdk-js/commit/a0512a1))
* **payment:** CHECKOUT-4204 Format credit card field values ([69e717a](https://github.com/bigcommerce/checkout-sdk-js/commit/69e717a))
* **payment:** CHECKOUT-4205 Improve the way validation errors are returned to the caller ([d3701d8](https://github.com/bigcommerce/checkout-sdk-js/commit/d3701d8))
* **payment:** CHECKOUT-4627 Add hosted form to loader ([f0fe47a](https://github.com/bigcommerce/checkout-sdk-js/commit/f0fe47a))
## [1.48.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.47.4...v1.48.0) (2020-01-21)
### Features
* **common:** CHECKOUT-4187 Build distribution files for static server ([e84da54](https://github.com/bigcommerce/checkout-sdk-js/commit/e84da54))
### [1.47.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.47.3...v1.47.4) (2020-01-20)
### Bug Fixes
* **payment:** INT-2140 Unpatch mapToCardInstrument ([dcc5a04](https://github.com/bigcommerce/checkout-sdk-js/commit/dcc5a04))
* **payment:** PAYMENTS-4997 After deleting a PP account from checkout, all accounts with same email are deleted but not removed from available vaulted accounts list unless page is refreshed ([6cc92e0](https://github.com/bigcommerce/checkout-sdk-js/commit/6cc92e0))
### [1.47.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.47.2...v1.47.3) (2020-01-09)
### Bug Fixes
* **payment:** PAYMENTS-5037 Bump bigpay-client version to 5.4.1 ([af98270](https://github.com/bigcommerce/checkout-sdk-js/commit/af98270))
### [1.47.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.47.1...v1.47.2) (2020-01-08)
### Bug Fixes
* **payment:** PAYMENTS-5037 Add Item Unit Price to Line Item object in order payment payload ([1919da1](https://github.com/bigcommerce/checkout-sdk-js/commit/1919da1))
### [1.47.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.47.0...v1.47.1) (2020-01-07)
### Bug Fixes
* **spam-protection:** CHECKOUT-4560 Fix spam protection not working for braintree in non-chrome browsers ([4c2c8ac](https://github.com/bigcommerce/checkout-sdk-js/commit/4c2c8ac))
## [1.47.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.46.2...v1.47.0) (2019-12-30)
### Features
* **payment:** INT-2181 Utilize Adyen Custom Card Components in TSV ([ceebc4d](https://github.com/bigcommerce/checkout-sdk-js/commit/ceebc4d))
### [1.46.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.46.1...v1.46.2) (2019-12-18)
### Bug Fixes
* **payment:** INT-2195 Fix barclaycard supported instrument mapping ([a37e8d7](https://github.com/bigcommerce/checkout-sdk-js/commit/a37e8d7))
### [1.46.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.46.0...v1.46.1) (2019-12-16)
### Bug Fixes
* **billing:** CHECKOUT-4421 Return billing address if it is partially complete ([dd99533](https://github.com/bigcommerce/checkout-sdk-js/commit/dd99533))
## [1.46.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.45.1...v1.46.0) (2019-12-11)
### Features
* **billing:** CHECKOUT-4421 Preselect billing country when no billing address has been set ([1583373](https://github.com/bigcommerce/checkout-sdk-js/commit/1583373))
* **checkout:** INT-1780 Add supported intruments ([8eadd11](https://github.com/bigcommerce/checkout-sdk-js/commit/8eadd11))
* **checkout:** INT-1780 Enable card vaulting for barclaycard ([ee87641](https://github.com/bigcommerce/checkout-sdk-js/commit/ee87641))
* **checkout:** INT-1780 Remove provider specific strategy ([a2d0cbb](https://github.com/bigcommerce/checkout-sdk-js/commit/a2d0cbb))
* **checkout:** INT-1780 Remove unnecessary decosntruction ([6cfbcc2](https://github.com/bigcommerce/checkout-sdk-js/commit/6cfbcc2))
* **checkout:** INT-1780 Remove unused import ([209909e](https://github.com/bigcommerce/checkout-sdk-js/commit/209909e))
* **checkout:** INT-1780 Remove unused interface ([1f7507f](https://github.com/bigcommerce/checkout-sdk-js/commit/1f7507f))
* **checkout:** INT-1780 Send only one param ([2579c84](https://github.com/bigcommerce/checkout-sdk-js/commit/2579c84))
* **checkout:** INT-1780 Send params separately ([c77d4cc](https://github.com/bigcommerce/checkout-sdk-js/commit/c77d4cc))
* **checkout:** INT-1780 Use offsite to pay with instrument ([04315ee](https://github.com/bigcommerce/checkout-sdk-js/commit/04315ee))
* **common:** CHECKOUT-4571 Add StepTracker service ([f4b1dd4](https://github.com/bigcommerce/checkout-sdk-js/commit/f4b1dd4))
### [1.45.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.45.0...v1.45.1) (2019-11-27)
## [1.45.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.44.1...v1.45.0) (2019-11-25)
### Bug Fixes
* **checkout:** CHECKOUT-4513 Add extendedComparisonPrice from API ([a3f56d9](https://github.com/bigcommerce/checkout-sdk-js/commit/a3f56d9))
* **payment:** PAYMENTS-4971 Remove extra keys from Braintree PayPal Tokenize call ([33ef094](https://github.com/bigcommerce/checkout-sdk-js/commit/33ef094))
### Features
* **payment:** INT-1902 Update payment method id and instrument selector to support gateway ([7709c45](https://github.com/bigcommerce/checkout-sdk-js/commit/7709c45))
### [1.44.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.44.0...v1.44.1) (2019-11-25)
### Bug Fixes
* **payment:** PAYMENTS-4971 Remove extra keys from Braintree PayPal Tokenize call ([90755fb](https://github.com/bigcommerce/checkout-sdk-js/commit/90755fb))
## [1.44.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.43.0...v1.44.0) (2019-11-12)
### Features
* **payment:** INT-1902 Support vaulting with instrument_type ([6f77be9](https://github.com/bigcommerce/checkout-sdk-js/commit/6f77be9))
## [1.43.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.42.0...v1.43.0) (2019-11-05)
### Features
* **checkout:** CHECKOUT-4465 Make state/province optional for certain countries based on requireState flag ([d177113](https://github.com/bigcommerce/checkout-sdk-js/commit/d177113))
* **common:** PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout ([dee37aa](https://github.com/bigcommerce/checkout-sdk-js/commit/dee37aa))
* **common:** PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout ([99d4142](https://github.com/bigcommerce/checkout-sdk-js/commit/99d4142))
* **payment:** PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout ([8044df2](https://github.com/bigcommerce/checkout-sdk-js/commit/8044df2))
## [1.42.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.41.0...v1.42.0) (2019-11-04)
### Bug Fixes
* **payment:** INT-1928 map sku in internal line item ([fcb32dd](https://github.com/bigcommerce/checkout-sdk-js/commit/fcb32dd))
* **payment:** PAYMENTS-4704 Send shipping address when checking out using Braintree PayPal ([b047cfe](https://github.com/bigcommerce/checkout-sdk-js/commit/b047cfe))
### Features
* **checkout:** INT-1916 Make barclaycard compatible with offsite strategy ([cdf578b](https://github.com/bigcommerce/checkout-sdk-js/commit/cdf578b))
## [1.41.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.40.0...v1.41.0) (2019-10-28)
### Bug Fixes
* **payment:** PAYMENTS-4616 Add braintree.paypal as a supported instrument ([e532a19](https://github.com/bigcommerce/checkout-sdk-js/commit/e532a19))
### Features
* **shipping:** CHECKOUT-4509 Optional param to include shippings options when updating shipping address ([132075c](https://github.com/bigcommerce/checkout-sdk-js/commit/132075c))
## [1.40.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.39.0...v1.40.0) (2019-10-27)
### Code Refactoring
* **payment:** PAYMENTS-4616 Use an object for paypal configuration ([b743c39](https://github.com/bigcommerce/checkout-sdk-js/commit/b743c39))
* **payment:** PAYMENTS-4616 Use paypal_account for sending paypal information to bigpay ([cd1abbe](https://github.com/bigcommerce/checkout-sdk-js/commit/cd1abbe))
### Features
* **payment:** PAYMENTS-4616 Add support for paying with a vaulted paypal account ([4f98f39](https://github.com/bigcommerce/checkout-sdk-js/commit/4f98f39))
* **payment:** PAYMENTS-4616 Add support for vaulting Paypal Accounts ([6b578ea](https://github.com/bigcommerce/checkout-sdk-js/commit/6b578ea))
## [1.39.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.38.1...v1.39.0) (2019-10-27)
### Bug Fixes
* **checkout:** CHECKOUT-3365 Update cart and checkout state when shipping options are loaded ([05c80bf](https://github.com/bigcommerce/checkout-sdk-js/commit/05c80bf))
* **payment:** PAYMENTS-4759 Make Instrument types backward compatible ([f700b45](https://github.com/bigcommerce/checkout-sdk-js/commit/f700b45))
### Features
* **payment:** PAYMENTS-4759 Add support for filtering instruments ([5dfa155](https://github.com/bigcommerce/checkout-sdk-js/commit/5dfa155))
* **payment:** PAYMENTS-4759 Support for account Instruments ([9fc0e73](https://github.com/bigcommerce/checkout-sdk-js/commit/9fc0e73))
### [1.38.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.38.0...v1.38.1) (2019-10-15)
### Bug Fixes
* **common:** PAYMENTS-4802 Fix ArrayReplace default comparison ([c4f2b19](https://github.com/bigcommerce/checkout-sdk-js/commit/c4f2b19))
* **shipping:** SHIPPING-1384 Extend shipping option interface ([a6a850a](https://github.com/bigcommerce/checkout-sdk-js/commit/a6a850a))
### Code Refactoring
* **common:** CHECKOUT-4455 Upgrade `script-loader` version ([dc5b3e5](https://github.com/bigcommerce/checkout-sdk-js/commit/dc5b3e5))
* **common:** CHECKOUT-4485 Fix inconsistency in import statements by using `eslint-plugin-import` plugin ([71980ef](https://github.com/bigcommerce/checkout-sdk-js/commit/71980ef))
* **common:** CHECKOUT-4485 Use ESLint to enforce use of newline in import statements ([3da456b](https://github.com/bigcommerce/checkout-sdk-js/commit/3da456b))
## [1.38.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.37.2...v1.38.0) (2019-10-08)
### Bug Fixes
* **order:** CHECKOUT-4450 Handle recaptcha challenge not finish loading on slow connection ([62c3f73](https://github.com/bigcommerce/checkout-sdk-js/commit/62c3f73))
### Features
* **payment:** INT-1901 Use modal to handle 3DS for Adyen ([038836f](https://github.com/bigcommerce/checkout-sdk-js/commit/038836f))
### [1.37.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.37.1...v1.37.2) (2019-10-03)
### Bug Fixes
* **order:** CHECKOUT-4450 Fix recaptcha iframe not found for german language ([94cd8a7](https://github.com/bigcommerce/checkout-sdk-js/commit/94cd8a7))
### [1.37.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.37.0...v1.37.1) (2019-10-02)
### Bug Fixes
* **embedded-checkout:** CHECKOUT-4462 Only retry again if sufficient time has passed ([b7567ad](https://github.com/bigcommerce/checkout-sdk-js/commit/b7567ad))
* **embedded-checkout:** CHECKOUT-4462 Only trigger event handler if type matches ([b5263c5](https://github.com/bigcommerce/checkout-sdk-js/commit/b5263c5))
## [1.37.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.36.0...v1.37.0) (2019-09-25)
### Features
* **payment:** ISSUE-640 Add shippingAddress initial param for Braintree PayPal ([09326b5](https://github.com/bigcommerce/checkout-sdk-js/commit/09326b5))
## [1.36.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.35.2...v1.36.0) (2019-09-25)
### Features
* **common:** CHECKOUT-4403 Upgrade to latest Typescript ([65c0468](https://github.com/bigcommerce/checkout-sdk-js/commit/65c0468))
* **payment:** INT-1759 Using same order reference ID when an error occurs ([1a25fb8](https://github.com/bigcommerce/checkout-sdk-js/commit/1a25fb8))
## [1.35.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.35.1...v1.35.2) (2019-09-18)
### Bug Fixes
* **shopper:** CHECKOUT-4415 Check if `customerGroup` is defined before accessing it ([bbd43ee](https://github.com/bigcommerce/checkout-sdk-js/commit/bbd43ee))
## [1.35.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.35.0...v1.35.1) (2019-09-17)
### Bug Fixes
* **common:** 681 Use Lodash find ([a1ea70b](https://github.com/bigcommerce/checkout-sdk-js/commit/a1ea70b))
* **embedded-checkout:** CHECKOUT-4427 Fix IE11 not returning origin of URL ([7d772bb](https://github.com/bigcommerce/checkout-sdk-js/commit/7d772bb))
* **embedded-checkout:** CHECKOUT-4427 Provide index position when inserting CSS rule for IE11 ([7cfddc7](https://github.com/bigcommerce/checkout-sdk-js/commit/7cfddc7))
* **payment:** CHECKOUT-4418 Upgrade bigpay-client version ([48d65f1](https://github.com/bigcommerce/checkout-sdk-js/commit/48d65f1))
* **payment:** INT-1759 Emit error action when strategy throws error ([cc3084c](https://github.com/bigcommerce/checkout-sdk-js/commit/cc3084c))
* **shopper:** CHECKOUT-4415 Add Customer Group to Customer object in payments payload ([8fad4ea](https://github.com/bigcommerce/checkout-sdk-js/commit/8fad4ea))
# [1.35.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.34.3...v1.35.0) (2019-09-12)
### Bug Fixes
* **cart:** CHECKOUT-4315 Add comparisonPrice attribute ([9f4a2c4](https://github.com/bigcommerce/checkout-sdk-js/commit/9f4a2c4))
* **order:** CHECKOUT-4393 Fix could not resubmit order after failed attempt ([9127318](https://github.com/bigcommerce/checkout-sdk-js/commit/9127318))
### Features
* **payment:** CHECKOUT-4263 Support for applying/removing store credit ([fc59792](https://github.com/bigcommerce/checkout-sdk-js/commit/fc59792))
* **payment:** INT-1783 AdyenV2 payment strategy with 3DS2 / 3DS1 flow support ([1551703](https://github.com/bigcommerce/checkout-sdk-js/commit/1551703))
## [1.34.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.34.2...v1.34.3) (2019-09-04)
### Bug Fixes
* **embedded-checkout:** CHECKOUT-4388 Mark index file of Embedded Checkout as file with side effects ([d3c528b](https://github.com/bigcommerce/checkout-sdk-js/commit/d3c528b))
## [1.34.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.34.1...v1.34.2) (2019-08-29)
### Bug Fixes
* **common:** CHECKOUT-4367 Set error name for StandardError ([59728eb](https://github.com/bigcommerce/checkout-sdk-js/commit/59728eb))
* **common:** CHECKOUT-4367 Stop throwing generic `StandardError` type ([857c04b](https://github.com/bigcommerce/checkout-sdk-js/commit/857c04b))
## [1.34.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.34.0...v1.34.1) (2019-08-28)
### Bug Fixes
* **payment:** INT-1829 Remove error validation if no code action is present ([b7e07c7](https://github.com/bigcommerce/checkout-sdk-js/commit/b7e07c7))
* **payment:** INT-1836 Update strategy to support 3ds with vaulting ([44e8ac6](https://github.com/bigcommerce/checkout-sdk-js/commit/44e8ac6))
### Performance Improvements
* **common:** CHECKOUT-4272 Only set up event listeners for iframe resizer when it is in use ([58e0a1e](https://github.com/bigcommerce/checkout-sdk-js/commit/58e0a1e))
# [1.34.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.33.0...v1.34.0) (2019-08-14)
### Features
* **payment:** INT-1608 Modify Paypal Payments Pro strategy for 3DS ([6e0d6f0](https://github.com/bigcommerce/checkout-sdk-js/commit/6e0d6f0))
# [1.33.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.32.1...v1.33.0) (2019-08-13)
### Features
* **payment:** INT-1811 Fix enrolled card Issue ([f2e1ab0](https://github.com/bigcommerce/checkout-sdk-js/commit/f2e1ab0))
## [1.32.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.32.0...v1.32.1) (2019-08-12)
### Bug Fixes
* **common:** CHECKOUT-4321 Fix getters not returning previous cloned objects that are nested inside another even when they are unchanged. ([277a8fe](https://github.com/bigcommerce/checkout-sdk-js/commit/277a8fe))
# [1.32.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.31.1...v1.32.0) (2019-08-08)
### Features
* **payment:** INT-1736 Add Reference Id value in the jwt to initialize cardinal and update logic to handle the new Cardinal's Payload ([dc8abe1](https://github.com/bigcommerce/checkout-sdk-js/commit/dc8abe1))
## [1.31.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.31.0...v1.31.1) (2019-08-07)
### Bug Fixes
* **common:** CHECKOUT-4272 Fix immutable array replacer as it returns original array instead of merged array ([e02f62b](https://github.com/bigcommerce/checkout-sdk-js/commit/e02f62b))
* **common:** CHECKOUT-4272 Fix unsubscribe function not able to unsubscribe ([537e6d6](https://github.com/bigcommerce/checkout-sdk-js/commit/537e6d6))
* **common:** CHECKOUT-4272 Use another data store as projection instead of plain observable so you can still notify subscribers when subscription filters are applied ([397ab34](https://github.com/bigcommerce/checkout-sdk-js/commit/397ab34))
### Performance Improvements
* **checkout:** CHECKOUT-4272 Add function for creating checkout selectors factory ([f7b3ba5](https://github.com/bigcommerce/checkout-sdk-js/commit/f7b3ba5))
* **checkout:** CHECKOUT-4272 Refactor checkout selector to return new getters only when there are changes to relevant data ([cf77c05](https://github.com/bigcommerce/checkout-sdk-js/commit/cf77c05))
* **checkout:** CHECKOUT-4272 Refactor checkout store data selector to return new getters only when there are changes to relevant data ([7a4d7b7](https://github.com/bigcommerce/checkout-sdk-js/commit/7a4d7b7))
* **checkout:** CHECKOUT-4272 Refactor checkout store error selector to return new getters only when there are changes to relevant data ([9dccc3d](https://github.com/bigcommerce/checkout-sdk-js/commit/9dccc3d))
* **checkout:** CHECKOUT-4272 Refactor checkout store status selector to return new getters only when there are changes to relevant data ([4b0391d](https://github.com/bigcommerce/checkout-sdk-js/commit/4b0391d))
* **checkout:** CHECKOUT-4272 Refactor remote checkout selector to return new getters only when there are changes to relevant data ([db65c75](https://github.com/bigcommerce/checkout-sdk-js/commit/db65c75))
* **checkout:** CHECKOUT-4272 Update checkout reducer to transform state only when necessary ([ed5f6a8](https://github.com/bigcommerce/checkout-sdk-js/commit/ed5f6a8))
* **checkout:** CHECKOUT-4272 Update remote checkout reducer to transform state only when necessary ([76c6a61](https://github.com/bigcommerce/checkout-sdk-js/commit/76c6a61))
* **checkout-button:** CHECKOUT-4272 Refactor checkout button selector to return new getters only when there are changes to relevant data ([6b939af](https://github.com/bigcommerce/checkout-sdk-js/commit/6b939af))
* **checkout-button:** CHECKOUT-4272 Update checkout button reducer to transform state only when necessary ([eacc9a1](https://github.com/bigcommerce/checkout-sdk-js/commit/eacc9a1))
* **common:** CHECKOUT-4272 Add function that can clone return value of function if it is different from previous call ([2b4f7e2](https://github.com/bigcommerce/checkout-sdk-js/commit/2b4f7e2))
* **common:** CHECKOUT-4272 Refactor config selector to return new getters only when there are changes to relevant data ([f055ab0](https://github.com/bigcommerce/checkout-sdk-js/commit/f055ab0))
* **common:** CHECKOUT-4272 Refactor country selector to return new getters only when there are changes to relevant data ([83d9ca3](https://github.com/bigcommerce/checkout-sdk-js/commit/83d9ca3))
* **common:** CHECKOUT-4272 Refactor form selector to return new getters only when there are changes to relevant data ([7489058](https://github.com/bigcommerce/checkout-sdk-js/commit/7489058))
* **common:** CHECKOUT-4272 Update config reducer to transform state only when necessary ([74805a6](https://github.com/bigcommerce/checkout-sdk-js/commit/74805a6))
* **common:** CHECKOUT-4272 Update country reducer to transform state only when necessary ([2bdae4c](https://github.com/bigcommerce/checkout-sdk-js/commit/2bdae4c))
* **payment:** CHECKOUT-4272 Refactor instrument selector to return new getters only when there are changes to relevant data ([655d298](https://github.com/bigcommerce/checkout-sdk-js/commit/655d298))
* **payment:** CHECKOUT-4272 Refactor payment method selector to return new getters only when there are changes to relevant data ([f5bddc4](https://github.com/bigcommerce/checkout-sdk-js/commit/f5bddc4))
* **payment:** CHECKOUT-4272 Refactor payment selector to return new getters only when there are changes to relevant data ([c35b0a1](https://github.com/bigcommerce/checkout-sdk-js/commit/c35b0a1))
* **payment:** CHECKOUT-4272 Refactor payment strategy selector to return new getters only when there are changes to relevant data ([1c419e7](https://github.com/bigcommerce/checkout-sdk-js/commit/1c419e7))
* **payment:** CHECKOUT-4272 Update instrument reducer to transform state only when necessary ([6543213](https://github.com/bigcommerce/checkout-sdk-js/commit/6543213))
* **payment:** CHECKOUT-4272 Update payment method reducer to transform state only when necessary ([a6dbba9](https://github.com/bigcommerce/checkout-sdk-js/commit/a6dbba9))
* **payment:** CHECKOUT-4272 Update payment strategy reducer to transform state only when necessary ([dfda886](https://github.com/bigcommerce/checkout-sdk-js/commit/dfda886))
* **shipping:** CHECKOUT-4272 Refactor consignment selector to return new getters only when there are changes to relevant data ([87ad888](https://github.com/bigcommerce/checkout-sdk-js/commit/87ad888))
* **shipping:** CHECKOUT-4272 Refactor shipping address selector to return new getters only when there are changes to relevant data ([c18b8de](https://github.com/bigcommerce/checkout-sdk-js/commit/c18b8de))
* **shipping:** CHECKOUT-4272 Refactor shipping country selector to return new getters only when there are changes to relevant data ([698ee10](https://github.com/bigcommerce/checkout-sdk-js/commit/698ee10))
* **shipping:** CHECKOUT-4272 Refactor shipping strategy selector to return new getters only when there are changes to relevant data ([974972f](https://github.com/bigcommerce/checkout-sdk-js/commit/974972f))
* **shipping:** CHECKOUT-4272 Update consignment reducer to transform state only when necessary ([511311b](https://github.com/bigcommerce/checkout-sdk-js/commit/511311b))
* **shipping:** CHECKOUT-4272 Update shipping country reducer to transform state only when necessary ([4319777](https://github.com/bigcommerce/checkout-sdk-js/commit/4319777))
* **shipping:** CHECKOUT-4272 Update shipping strategy reducer to transform state only when necessary ([a032432](https://github.com/bigcommerce/checkout-sdk-js/commit/a032432))
* **shopper:** CHECKOUT-4272 Refactor customer selector to return new getters only when there are changes to relevant data ([f27f763](https://github.com/bigcommerce/checkout-sdk-js/commit/f27f763))
* **shopper:** CHECKOUT-4272 Refactor customer strategy selector to return new getters only when there are changes to relevant data ([80a24e3](https://github.com/bigcommerce/checkout-sdk-js/commit/80a24e3))
* **shopper:** CHECKOUT-4272 Update customer reducer to transform state only when necessary ([87e0b56](https://github.com/bigcommerce/checkout-sdk-js/commit/87e0b56))
* **shopper:** CHECKOUT-4272 Update customer strategy reducer to transform state only when necessary ([8b86d8a](https://github.com/bigcommerce/checkout-sdk-js/commit/8b86d8a))
# [1.31.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.30.0...v1.31.0) (2019-08-04)
### Bug Fixes
* **payment:** CHECKOUT-4273 Fix PayPal Express modal does not load when recaptcha is enabled ([b4f2054](https://github.com/bigcommerce/checkout-sdk-js/commit/b4f2054))
### Features
* **payment:** INT-1768 Payment Intent creation refactor ([ba07314](https://github.com/bigcommerce/checkout-sdk-js/commit/ba07314))
### Performance Improvements
* **billing:** CHECKOUT-4272 Refactor billing selector to return new getters only when there are changes to relevant data ([fe78e6d](https://github.com/bigcommerce/checkout-sdk-js/commit/fe78e6d))
* **billing:** CHECKOUT-4272 Update billing reducer to transform state only when necessary ([8d49c5a](https://github.com/bigcommerce/checkout-sdk-js/commit/8d49c5a))
* **cart:** CHECKOUT-4272 Refactor cart selector to return new getters only when there are changes to relevant data ([5bb0b94](https://github.com/bigcommerce/checkout-sdk-js/commit/5bb0b94))
* **cart:** CHECKOUT-4272 Update cart reducer to transform state only when necessary ([1e9d658](https://github.com/bigcommerce/checkout-sdk-js/commit/1e9d658))
* **checkout:** CHECKOUT-4272 Add function for creating internal checkout selectors factory ([722a09a](https://github.com/bigcommerce/checkout-sdk-js/commit/722a09a))
* **checkout:** CHECKOUT-4272 Refactor coupon selector to return new getters only when there are changes to relevant data ([39b69fc](https://github.com/bigcommerce/checkout-sdk-js/commit/39b69fc))
* **checkout:** CHECKOUT-4272 Refactor gift certificate selector to return new getters only when there are changes to relevant data ([2d53e4d](https://github.com/bigcommerce/checkout-sdk-js/commit/2d53e4d))
* **checkout:** CHECKOUT-4272 Update coupon reducer to transform state only when necessary ([daaa59a](https://github.com/bigcommerce/checkout-sdk-js/commit/daaa59a))
* **checkout:** CHECKOUT-4272 Update gift certificate reducer to transform state only when necessary ([ef9d7c2](https://github.com/bigcommerce/checkout-sdk-js/commit/ef9d7c2))
* **common:** CHECKOUT-4272 Add shallow equal selector creator for creating selectors that does shallow comparison instead of strict comparison ([7a313e1](https://github.com/bigcommerce/checkout-sdk-js/commit/7a313e1))
* **common:** CHECKOUT-4272 Add size limit to cache key resolver ([d6dd84b](https://github.com/bigcommerce/checkout-sdk-js/commit/d6dd84b))
* **common:** CHECKOUT-4272 Add utility functions for transforming data in reducers ([d3a1505](https://github.com/bigcommerce/checkout-sdk-js/commit/d3a1505))
* **common:** CHECKOUT-4272 Avoid doing another round of transformation for subscription filters ([d4fb957](https://github.com/bigcommerce/checkout-sdk-js/commit/d4fb957))
* **order:** CHECKOUT-4272 Refactor order selector to return new getters only when there are changes to relevant data ([6e20543](https://github.com/bigcommerce/checkout-sdk-js/commit/6e20543))
* **order:** CHECKOUT-4272 Update order reducer to transform state only when necessary ([d79afec](https://github.com/bigcommerce/checkout-sdk-js/commit/d79afec))
# [1.30.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.29.0...v1.30.0) (2019-07-29)
### Features
* **payment:** INT-1650 Adding IIN field to vaulted instrument strategy ([19ae743](https://github.com/bigcommerce/checkout-sdk-js/commit/19ae743))
# [1.29.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.28.0...v1.29.0) (2019-07-25)
### Features
* **common:** CHECKOUT-4272 Bind methods to object instances to allow destructing ([8acd3f9](https://github.com/bigcommerce/checkout-sdk-js/commit/8acd3f9))
* **payment:** INT-1577 Support Stored Credit Card (vaulting) for Stripe V3 ([9bc1657](https://github.com/bigcommerce/checkout-sdk-js/commit/9bc1657))
# [1.28.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.27.4...v1.28.0) (2019-07-22)
### Features
* **checkout:** INT-1586 Support Amazon Pay 3DS flow ([#616](https://github.com/bigcommerce/checkout-sdk-js/pull/616))
## [1.27.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.27.3...v1.27.4) (2019-07-19)
### Bug Fixes
* **common:** CHECKOUT-4201 Make FormField type easier to consume ([92eaa12](https://github.com/bigcommerce/checkout-sdk-js/commit/92eaa12))
## [1.27.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.27.2...v1.27.3) (2019-07-17)
### Bug Fixes
* **common:** CHECKOUT-4201 Match SDK types with API payloads ([be3a59e](https://github.com/bigcommerce/checkout-sdk-js/commit/be3a59e))
## [1.27.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.27.1...v1.27.2) (2019-07-16)
### Bug Fixes
* **common:** CHECKOUT-4254 Make sure changes to the public object don't affect the internal copies ([4447212](https://github.com/bigcommerce/checkout-sdk-js/commit/4447212))
## [1.27.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.27.0...v1.27.1) (2019-07-10)
### Bug Fixes
* **common:** CHECKOUT-4165 Add names to custom error objects ([c1505d1](https://github.com/bigcommerce/checkout-sdk-js/commit/c1505d1))
# [1.27.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.26.0...v1.27.0) (2019-07-08)
### Features
* **order:** CHECKOUT-2530 Add support for invisible recaptcha ([ee9aca5](https://github.com/bigcommerce/checkout-sdk-js/commit/ee9aca5))
# [1.26.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.25.2...v1.26.0) (2019-07-04)
### Features
* **payment:** INT-1479 Create CyberSource strategy ([54dc4f3](https://github.com/bigcommerce/checkout-sdk-js/commit/54dc4f3))
## [1.25.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.25.1...v1.25.2) (2019-06-26)
### Bug Fixes
* **payment:** CHECKOUT-3954 Use the redirect method instead of display when initialising AfterPay ([665e9f2](https://github.com/bigcommerce/checkout-sdk-js/commit/665e9f2))
* **payment:** CHECKOUT-4209 Throw `OrderFinalizationNotRequiredError` if payment method is no longer available for shopper ([fb2386d](https://github.com/bigcommerce/checkout-sdk-js/commit/fb2386d))
## [1.25.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.25.0...v1.25.1) (2019-06-21)
### Bug Fixes
* **shipping:** CHECKOUT-4160 Return new object in reducer ([bac88c1](https://github.com/bigcommerce/checkout-sdk-js/commit/bac88c1))
# [1.25.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.23.0...v1.25.0) (2019-06-20)
### Features
* **checkout:** CHECKOUT-3670 adding parentId to LineItem interface ([dfa639e](https://github.com/bigcommerce/checkout-sdk-js/commit/dfa639e))
* **payment:** INT-1450 Add support for Stripe V3 + 3DS using Payment Intents ([#570](https://github.com/bigcommerce/checkout-sdk-js/issues/570)) ([cc9b242](https://github.com/bigcommerce/checkout-sdk-js/commit/cc9b242))
# [1.24.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.23.1...v1.24.0) (2019-06-19)
### Features
* **payment:** INT-1450 Add support for Stripe V3 + 3DS using Payment Intents ([#570](https://github.com/bigcommerce/checkout-sdk-js/issues/570)) ([cc9b242](https://github.com/bigcommerce/checkout-sdk-js/commit/cc9b242))
## [1.23.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.23.0...v1.23.1) (2019-06-12)
# [1.23.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.22.0...v1.23.0) (2019-06-11)
### Features
* **checkout:** INT-1503 Add categories to items for Affirm strategy ([3387459](https://github.com/bigcommerce/checkout-sdk-js/commit/3387459))
# [1.22.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.21.0...v1.22.0) (2019-06-05)
### Bug Fixes
* **payment:** INT-1573 [Klarna feedback] Checkout load error ([1c3b5d8](https://github.com/bigcommerce/checkout-sdk-js/commit/1c3b5d8))
* **payment:** PAYMENTS-4228 implement separate session with currency and default to store currency if shopper currency is non-transactional ([bacafee](https://github.com/bigcommerce/checkout-sdk-js/commit/bacafee))
* **payment:** PAYMENTS-4228 removing unused cases of currency code and allowing code to be optional ([6cf0785](https://github.com/bigcommerce/checkout-sdk-js/commit/6cf0785))
### Features
* **checkout:** INT-1520 Pass useStoreCredit flag when initialize payment ([979c59e](https://github.com/bigcommerce/checkout-sdk-js/commit/979c59e))
* **order:** CHECKOUT-2530 Add spam protection for order creation ([69efabc](https://github.com/bigcommerce/checkout-sdk-js/commit/69efabc))
* **payment:** INT-1247 Checkout using Zip, Registration referred ([f9a1da4](https://github.com/bigcommerce/checkout-sdk-js/commit/f9a1da4))
* **payment:** INT-1540 Zip Feedback, declined Handler ([d140b85](https://github.com/bigcommerce/checkout-sdk-js/commit/d140b85))
* **payment:** INT-1562 Add billing and shipping data in auth instead of load call ([967cb12](https://github.com/bigcommerce/checkout-sdk-js/commit/967cb12))
* **payment:** PAYMENTS-4228 include currency code in vaulted instrument functionality ([2438db5](https://github.com/bigcommerce/checkout-sdk-js/commit/2438db5))
# [1.21.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.20.2...v1.21.0) (2019-05-23)
### Bug Fixes
* **checkout-button:** CHECKOUT-4137 Include Babel polyfills to UMD bundles so they work in older browsers ([fa5604a](https://github.com/bigcommerce/checkout-sdk-js/commit/fa5604a))
* **common:** CHECKOUT-4137 Bump data-store version to fix issue with object freeze ([3f0245d](https://github.com/bigcommerce/checkout-sdk-js/commit/3f0245d))
* **common:** INT-1500 Fix integer conversion rounding error ([aa3b18b](https://github.com/bigcommerce/checkout-sdk-js/commit/aa3b18b))
* **payment:** INT-1500 Pass all amounts in cents for Affirm and add platform metadata information ([2c5622b](https://github.com/bigcommerce/checkout-sdk-js/commit/2c5622b))
### Features
* **checkout:** INT-1552 Sending klarna the phone number ([804652f](https://github.com/bigcommerce/checkout-sdk-js/commit/804652f))
* **payment:** INT-1464 Port Elavon ng-checkout only implementation to checkout-sdk-js + ng-checkout ([b7ebba5](https://github.com/bigcommerce/checkout-sdk-js/commit/b7ebba5))
## [1.20.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.20.1...v1.20.2) (2019-05-08)
### Bug Fixes
* **common:** CHECKOUT-4062 Fix broken dep ([d8937d6](https://github.com/bigcommerce/checkout-sdk-js/commit/d8937d6))
## [1.20.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.20.0...v1.20.1) (2019-05-07)
### Bug Fixes
* **payment:** CHECKOUT-4062 Expose missing payment errors ([e8b4987](https://github.com/bigcommerce/checkout-sdk-js/commit/e8b4987))
# [1.20.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.19.0...v1.20.0) (2019-04-27)
### Features
* **payment:** INT-1398 Add shipping and billing address before Klarna authorization ([577601e](https://github.com/bigcommerce/checkout-sdk-js/commit/577601e))
# [1.19.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.12...v1.19.0) (2019-04-11)
### Features
* **checkout:** INT-1245 Checkout Using Zip ([c13ba54](https://github.com/bigcommerce/checkout-sdk-js/commit/c13ba54))
* **payment:** INT-1293 integrate affirm strategy ([858ad16](https://github.com/bigcommerce/checkout-sdk-js/commit/858ad16))
## [1.18.12](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.11...v1.18.12) (2019-04-04)
### Bug Fixes
* **payment:** INT-1412 Fix masterpass submitPayment payload to allow analytics tracking ([04ec083](https://github.com/bigcommerce/checkout-sdk-js/commit/04ec083))
## [1.18.11](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.10...v1.18.11) (2019-04-01)
### Bug Fixes
* **common:** CHECKOUT-1289 Fix config and checkout types ([135a239](https://github.com/bigcommerce/checkout-sdk-js/commit/135a239))
* **payment:** PAYMENTS-1253 Pass order amount to Braintree client when going through 3DS flow ([07909fe](https://github.com/bigcommerce/checkout-sdk-js/commit/07909fe))
* **payment:** PAYMENTS-1253 Pass store credit amount to PayPal ([112cda9](https://github.com/bigcommerce/checkout-sdk-js/commit/112cda9))
* **payment:** PAYMENTS-1253 Show overlay when Braintree PayPal modal is open ([9756fdb](https://github.com/bigcommerce/checkout-sdk-js/commit/9756fdb))
* **payment:** PAYMENTS-1253 Throw cancellation error when shopper closes PayPal popup ([6859fd6](https://github.com/bigcommerce/checkout-sdk-js/commit/6859fd6))
## [1.18.10](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.9...v1.18.10) (2019-03-28)
### Bug Fixes
* **cart:** CHECKOUT-4012 Use `productId` and `variantId` to sort items in cart ([4e2ab5b](https://github.com/bigcommerce/checkout-sdk-js/commit/4e2ab5b))
## [1.18.9](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.8...v1.18.9) (2019-03-25)
### Bug Fixes
* **cart:** CHECKOUT-3844 Ignore order of line items when comparing cart content ([51e4c6e](https://github.com/bigcommerce/checkout-sdk-js/commit/51e4c6e))
* **payment:** CHECKOUT-3844 Don't throw error if no payment data is passed for offsite payment methods ([b0615cb](https://github.com/bigcommerce/checkout-sdk-js/commit/b0615cb))
## [1.18.8](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.7...v1.18.8) (2019-03-18)
### Bug Fixes
* **payment:** INT-1360 Bump BigPay client. ([ea7849d](https://github.com/bigcommerce/checkout-sdk-js/commit/ea7849d))
## [1.18.7](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.6...v1.18.7) (2019-03-11)
### Bug Fixes
* **common:** CHECKOUT-3967 Round properly when using CurrencyService ([14439bc](https://github.com/bigcommerce/checkout-sdk-js/commit/14439bc))
## [1.18.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.5...v1.18.6) (2019-03-07)
### Bug Fixes
* **payment:** CHECKOUT-3852 Expose proper error type for Coupon/Gift Certificates ([2dd5713](https://github.com/bigcommerce/checkout-sdk-js/commit/2dd5713))
## [1.18.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.4...v1.18.5) (2019-03-06)
### Bug Fixes
* **embedded-checkout:** CHECKOUT-3941 Post `frame_error` without target origin so that parent window can receive it in case the error is due to issue with current cart ([3354334](https://github.com/bigcommerce/checkout-sdk-js/commit/3354334))
* **embedded-checkout:** CHECKOUT-3941 Redirect user to allow third party cookie to be set ([b7137f6](https://github.com/bigcommerce/checkout-sdk-js/commit/b7137f6))
## [1.18.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.3...v1.18.4) (2019-02-26)
### Bug Fixes
* **payment:** PAYMENTS-4034 catch error when nonce return 400, squarev2 ([8211bb7](https://github.com/bigcommerce/checkout-sdk-js/commit/8211bb7))
## [1.18.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.2...v1.18.3) (2019-02-21)
### Bug Fixes
* **checkout-button:** PAYMENTS-3071 Use the specified endpoint for paypal payment creation ([cffc8be](https://github.com/bigcommerce/checkout-sdk-js/commit/cffc8be))
## [1.18.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.1...v1.18.2) (2019-02-15)
### Bug Fixes
* **payment:** CHECKOUT-3843 `ccNumber` and `ccCvv` should be string instead of number ([625aff9](https://github.com/bigcommerce/checkout-sdk-js/commit/625aff9))
## [1.18.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.18.0...v1.18.1) (2019-02-15)
### Bug Fixes
* **checkout:** CHECKOUT-3843 Add missing `isTrustedShippingAddressEnabled` field ([b102359](https://github.com/bigcommerce/checkout-sdk-js/commit/b102359))
* **payment:** CHECKOUT-3843 Add missing `ccCustomerCode` field ([72d24c0](https://github.com/bigcommerce/checkout-sdk-js/commit/72d24c0))
# [1.18.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.17.3...v1.18.0) (2019-02-05)
### Bug Fixes
* **order:** CHECKOUT-3850 make customItems optional ([bc79317](https://github.com/bigcommerce/checkout-sdk-js/commit/bc79317))
* **payment:** CHECKOUT-3843 Add missing properties to `PaymentMethodConfig` ([f0e96d7](https://github.com/bigcommerce/checkout-sdk-js/commit/f0e96d7))
* **payment:** CHECKOUT-3843 Fix type definition for `VaultedInstrument` ([7f81d37](https://github.com/bigcommerce/checkout-sdk-js/commit/7f81d37))
### Features
* **common:** CHECKOUT-3914 Add isAnalyticsEnabled to checkout settings ([7b597c1](https://github.com/bigcommerce/checkout-sdk-js/commit/7b597c1))
## [1.17.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.17.2...v1.17.3) (2019-01-30)
### Bug Fixes
* **shipping:** CHECKOUT-3890 Rehydrate shipping options after applying coupon ([6d7609a](https://github.com/bigcommerce/checkout-sdk-js/commit/6d7609a))
## [1.17.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.17.1...v1.17.2) (2019-01-22)
### Bug Fixes
* **payment:** CHECKOUT-3842 Add missing field in `PaymentMethodConfig` interface ([e08a813](https://github.com/bigcommerce/checkout-sdk-js/commit/e08a813))
* **payment:** CHECKOUT-3842 Remove `ccType` from order submission payload ([a3832ef](https://github.com/bigcommerce/checkout-sdk-js/commit/a3832ef))
* **payment:** INT-1079 Transaction rbits are no longer being sent to WePay in the /checkout/create call ([836f4d6](https://github.com/bigcommerce/checkout-sdk-js/commit/836f4d6))
* **payment:** INT-1079 Update unit testing and mocks ([f8b74ee](https://github.com/bigcommerce/checkout-sdk-js/commit/f8b74ee))
## [1.17.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.17.0...v1.17.1) (2019-01-14)
### Bug Fixes
* **billing:** CHECKOUT-3790 Return correct type for billing addresses ([e4818db](https://github.com/bigcommerce/checkout-sdk-js/commit/e4818db))
# [1.17.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.16.1...v1.17.0) (2019-01-10)
### Features
* **checkout:** CHECKOUT-3798 Add loginLink to the configuration endpoint type definition ([a4c9e33](https://github.com/bigcommerce/checkout-sdk-js/commit/a4c9e33))
* **common:** CHECKOUT-3790 Add ability to clear error state ([6429e56](https://github.com/bigcommerce/checkout-sdk-js/commit/6429e56))
* **common:** CHECKOUT-3798 Throw CheckoutNotAvailable if the response is in the 400 range ([c2d296e](https://github.com/bigcommerce/checkout-sdk-js/commit/c2d296e))
## [1.16.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.16.0...v1.16.1) (2018-12-17)
### Bug Fixes
* **checkout-button:** CHECKOUT-3804 Set unique container ID if not provided by client ([4ce80d8](https://github.com/bigcommerce/checkout-sdk-js/commit/4ce80d8))
* **common:** CHECKOUT-3790 Add missing properties to `StoreLinks` object ([dfacf03](https://github.com/bigcommerce/checkout-sdk-js/commit/dfacf03))
# [1.16.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.15.1...v1.16.0) (2018-12-11)
### Bug Fixes
* **common:** CHECKOUT-3787 Generate TS definition files for submodules ([b6ff269](https://github.com/bigcommerce/checkout-sdk-js/commit/b6ff269))
* **payment:** CHECKOUT-3797 Surface transaction_declined error message ([0530ada](https://github.com/bigcommerce/checkout-sdk-js/commit/0530ada))
### Features
* **payment:** INT-1051 Masterpass callback url post launch ([5f42772](https://github.com/bigcommerce/checkout-sdk-js/commit/5f42772))
* **payment:** INT-1138 Fix shipping address bug in google pay ([a0924c4](https://github.com/bigcommerce/checkout-sdk-js/commit/a0924c4))
## [1.15.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.15.0...v1.15.1) (2018-12-05)
### Bug Fixes
* **common:** CHECKOUT-3135 Upgrade Rx to version 6 to bring in various performance improvements and bug fixes ([56132a9](https://github.com/bigcommerce/checkout-sdk-js/commit/56132a9))
* **common:** CHECKOUT-3768 Surface the error details for RequestErrors ([58361e1](https://github.com/bigcommerce/checkout-sdk-js/commit/58361e1))
# [1.15.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.14.0...v1.15.0) (2018-11-29)
### Bug Fixes
* **checkout-button:** CHECKOUT-3747 Post form data to host URL ([c7f12e6](https://github.com/bigcommerce/checkout-sdk-js/commit/c7f12e6))
* **checkout-button:** PAYMENTS-3071 Use the specified host for the paypal payment creation endpoint ([9d2590d](https://github.com/bigcommerce/checkout-sdk-js/commit/9d2590d))
* **common:** CHECKOUT-3462 Bump `[@bigcommerce](https://github.com/bigcommerce)/data-store` version ([e3ac1c2](https://github.com/bigcommerce/checkout-sdk-js/commit/e3ac1c2))
* **common:** CHECKOUT-3777 Upgrade dependencies that may have potential security vulnerabilities ([5faf8e5](https://github.com/bigcommerce/checkout-sdk-js/commit/5faf8e5))
* **embedded-checkout:** CHECKOUT-3481 Allow cross-origin iframe to invoke payment request API ([ed18528](https://github.com/bigcommerce/checkout-sdk-js/commit/ed18528))
* **payment:** INT-1080 Round totalPrice to 2 decimals ([44e5cbb](https://github.com/bigcommerce/checkout-sdk-js/commit/44e5cbb))
* **payment:** INT-1119 Modify approach in Checkout Button Strategies to consume unique ids ([1a5e955](https://github.com/bigcommerce/checkout-sdk-js/commit/1a5e955))
### Features
* **checkout:** INT-1073 Populate shipping info from Masterpass on Stripe ([9a3c561](https://github.com/bigcommerce/checkout-sdk-js/commit/9a3c561))
* **common:** CHECKOUT-2934 Return unified RequestError object ([cae7d23](https://github.com/bigcommerce/checkout-sdk-js/commit/cae7d23))
* **common:** CHECKOUT-3462 Add `cacheAction` decorator for caching asynchronous actions ([f2927fc](https://github.com/bigcommerce/checkout-sdk-js/commit/f2927fc))
* **embedded-checkout:** CHECKOUT-3677 Notify parent frame when customer signs out ([278be01](https://github.com/bigcommerce/checkout-sdk-js/commit/278be01))
* **embedded-checkout:** CHECKOUT-3703 Notify client if unable to sign in shopper using token ([f87f2d6](https://github.com/bigcommerce/checkout-sdk-js/commit/f87f2d6))
* **embedded-checkout:** CHECKOUT-3706 Switch to different height calculation method if `contentId` is provided. ([6fbc88e](https://github.com/bigcommerce/checkout-sdk-js/commit/6fbc88e))
* **payment:** CHECKOUT-3481 Opt into redirect flow for PayPal Express ([3406112](https://github.com/bigcommerce/checkout-sdk-js/commit/3406112))
* **payment:** INT-1092 Update map variables of Braintree in GooglePay ([a38edee](https://github.com/bigcommerce/checkout-sdk-js/commit/a38edee))
* **payment:** PAYMENTS-3663 enable default instrument property ([9a14c2c](https://github.com/bigcommerce/checkout-sdk-js/commit/9a14c2c))
### Performance Improvements
* **checkout-button:** CHECKOUT-3462 Allow checkout buttons with different container ID to initialize in parallel ([4be6a94](https://github.com/bigcommerce/checkout-sdk-js/commit/4be6a94))
* **common:** CHECKOUT-3462 Apply `cacheAction` decorator to certain actions ([3920168](https://github.com/bigcommerce/checkout-sdk-js/commit/3920168))
# [1.14.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.13.0...v1.14.0) (2018-11-04)
### Features
* **checkout-button:** INT-856 Add checkout button to support GooglePay provided by Stripe ([32f241c](https://github.com/bigcommerce/checkout-sdk-js/commit/32f241c))
# [1.13.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.12.0...v1.13.0) (2018-11-02)
### Features
* **payment:** PAYMENTS-3071 Support the Paypal checkout button strategy for smart buttons ([6f4d31d](https://github.com/bigcommerce/checkout-sdk-js/commit/6f4d31d))
# [1.12.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.11.0...v1.12.0) (2018-11-01)
### Features
* **checkout:** CP-4020 Added Product Category to cart & checkout process. ([6ed6799](https://github.com/bigcommerce/checkout-sdk-js/commit/6ed6799))
# [1.11.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.10.1...v1.11.0) (2018-10-31)
### Bug Fixes
* **embedded-checkout:** CHECKOUT-3695 Ignore trailing slash and other irrelevant information when comparing event origin ([#448](https://github.com/bigcommerce/checkout-sdk-js/issues/448)) ([c9b80b3](https://github.com/bigcommerce/checkout-sdk-js/commit/c9b80b3))
### Features
* **checkout-button:** INT-836 Add checkout button to support GooglePay provided by Braintree ([95e3732](https://github.com/bigcommerce/checkout-sdk-js/commit/95e3732))
* **checkout-button:** PAYMENTS-3073 Support credit buttons by implementing funding sources ([5dff675](https://github.com/bigcommerce/checkout-sdk-js/commit/5dff675))
## [1.10.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.10.0...v1.10.1) (2018-10-25)
### Bug Fixes
* **common:** CHECKOUT-3688 Prevent Lodash from leaking to global scope ([#444](https://github.com/bigcommerce/checkout-sdk-js/issues/444)) ([ac5238b](https://github.com/bigcommerce/checkout-sdk-js/commit/ac5238b))
# [1.10.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.9.0...v1.10.0) (2018-10-25)
### Features
* **checkout:** INT-951 Implement Masterpass button in cart and quick cart ([724eff5](https://github.com/bigcommerce/checkout-sdk-js/commit/724eff5))
### Bug Fixes
* **checkout-button:** CHECKOUT-3584 Allow rendering checkout buttons more than once (#443) ([8c479c8](https://github.com/bigcommerce/checkout-sdk-js/commit/8c479c87cb06e9c8919bcc8b0b930d3a2c00fa2d)).
:warning: **Important:** Includes breaking changes in checkout buttons options (alpha stage).
# [1.9.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.8.0...v1.9.0) (2018-10-23)
### Bug Fixes
* **common:** CHECKOUT-1739 Fix mocks linting issues ([990a2c6](https://github.com/bigcommerce/checkout-sdk-js/commit/990a2c6))
### Features
* **cart:** CHECKOUT-1739 Add custom items types to cart type ([7821329](https://github.com/bigcommerce/checkout-sdk-js/commit/7821329))
* **embedded-checkout:** CHECKOUT-3475 Add ability to embed checkout form as iframe ([#441](https://github.com/bigcommerce/checkout-sdk-js/issues/441)) ([0215fe9](https://github.com/bigcommerce/checkout-sdk-js/commit/0215fe9))
# [1.8.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.7.0...v1.8.0) (2018-10-19)
### Features
* **cart:** CP-4013 Add `brand` property to `LineItem` interface ([#409](https://github.com/bigcommerce/checkout-sdk-js/issues/409)) ([fd43113](https://github.com/bigcommerce/checkout-sdk-js/commit/fd43113))
* **payment:** INT-774 Add stripe strategy ([b7af881](https://github.com/bigcommerce/checkout-sdk-js/commit/b7af881))
* **payment:** INT-835 Add Google Pay + Braintree support ([201f0ae](https://github.com/bigcommerce/checkout-sdk-js/commit/201f0ae))
* **shipping:** CHECKOUT-3589 Allow unassigning items from consignments ([445d5af](https://github.com/bigcommerce/checkout-sdk-js/commit/445d5af))
# [1.7.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.6.1...v1.7.0) (2018-09-28)
### Features
* **checkout:** INT-775 Implement Masterpass button in customer section ([898381c](https://github.com/bigcommerce/checkout-sdk-js/commit/898381c))
* **order:** CHECKOUT-3563 Add External Source param when creating order ([41d76a0](https://github.com/bigcommerce/checkout-sdk-js/commit/41d76a0))
* **payment:** INT-616 Add Chase Pay wallet support ([e40a457](https://github.com/bigcommerce/checkout-sdk-js/commit/e40a457))
* **payment:** INT-685 Correctly set up CCAvenue MARS return URL ([7a563c3](https://github.com/bigcommerce/checkout-sdk-js/commit/7a563c3))
## [1.6.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.6.0...v1.6.1) (2018-09-26)
### Bug Fixes
* **common:** CHECKOUT-3529 Fix createCurrencyService type ([7f4b828](https://github.com/bigcommerce/checkout-sdk-js/commit/7f4b828))
# [1.6.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.5.0...v1.6.0) (2018-09-25)
### Bug Fixes
* **payment:** INT-751 Show Masterpass button in payments section into square form ([35f0aae](https://github.com/bigcommerce/checkout-sdk-js/commit/35f0aae))
### Features
* **common:** CHECKOUT-3529 Add currency utilities ([67ee82f](https://github.com/bigcommerce/checkout-sdk-js/commit/67ee82f))
# [1.5.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.4.0...v1.5.0) (2018-09-24)
### Bug Fixes
* **cart:** CP-3982 Add missing `productId` property to `LineItem` interface ([#405](https://github.com/bigcommerce/checkout-sdk-js/issues/405)) ([4fbca67](https://github.com/bigcommerce/checkout-sdk-js/commit/4fbca67))
* **payment:** PAYMENTS-3288 Leave deviceData as it is in dataCollector ([26863b4](https://github.com/bigcommerce/checkout-sdk-js/commit/26863b4))
### Features
* **checkout-button:** PAYMENTS-3071 Support more features of paypal checkout buttons ([67a7cba](https://github.com/bigcommerce/checkout-sdk-js/commit/67a7cba))
* **common:** CHECKOUT-3239 Add isCouponCodeCollapsed checkout setting ([e51c01e](https://github.com/bigcommerce/checkout-sdk-js/commit/e51c01e))
# [1.4.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.3.0...v1.4.0) (2018-09-10)
### Bug Fixes
* **billing:** CHECKOUT-3492 Update CheckoutService#updateBillingAddress signature ([3a190cb](https://github.com/bigcommerce/checkout-sdk-js/commit/3a190cb))
* **checkout:** CHECKOUT-3011 Make sure host config is passed along for `CheckoutService` ([c5612c5](https://github.com/bigcommerce/checkout-sdk-js/commit/c5612c5))
* **checkout-button:** CHECKOUT-3011 Make sure host config is passed along for `CheckoutButtonInitializer` ([b95784b](https://github.com/bigcommerce/checkout-sdk-js/commit/b95784b))
* **order:** CHECKOUT-3437 Include options in line items ([7b04cd8](https://github.com/bigcommerce/checkout-sdk-js/commit/7b04cd8))
* **payment:** CHECKOUT-3516 Trigger `onReady` callback after order reference is passed to BC ([8d441a7](https://github.com/bigcommerce/checkout-sdk-js/commit/8d441a7))
### Features
* **billing:** CHECKOUT-3492 Add error/status selectors for CheckoutService#continueAsGuest ([b537d14](https://github.com/bigcommerce/checkout-sdk-js/commit/b537d14))
* **billing:** CHECKOUT-3492 Do not overwrite billing info when continuing as guest ([d42b2de](https://github.com/bigcommerce/checkout-sdk-js/commit/d42b2de))
* **billing:** CHECKOUT-3492 Track error/status independently for CheckoutService#continueAsGuest ([d271781](https://github.com/bigcommerce/checkout-sdk-js/commit/d271781))
# [1.3.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.2.0...v1.3.0) (2018-09-04)
### Features
* **checkout-button:** CHECKOUT-3011 Add `CheckoutButtonInitializer` for initializing third party checkout buttons ([#374](https://github.com/bigcommerce/checkout-sdk-js/issues/374)) ([4a27a6c](https://github.com/bigcommerce/checkout-sdk-js/commit/4a27a6c))
* **shipping:** CHECKOUT-3461 Add ConsignmentSelector#getUnassignedItems method ([ba2dae8](https://github.com/bigcommerce/checkout-sdk-js/commit/ba2dae8))
# [1.2.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.1.1...v1.2.0) (2018-09-03)
### Features
* **cart:** CHECKOUT-3493 Add `addedByPromotion` property to line items ([88bf435](https://github.com/bigcommerce/checkout-sdk-js/commit/88bf435))
## [1.1.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.1.0...v1.1.1) (2018-08-28)
### Bug Fixes
* **checkout:** CHECKOUT-3449 Return correct status flags for actions that trigger other sub-actions ([23bfd24](https://github.com/bigcommerce/checkout-sdk-js/commit/23bfd24))
* **common:** CHECKOUT-3462 Update dependencies to remove Node requirement ([ed60802](https://github.com/bigcommerce/checkout-sdk-js/commit/ed60802))
* **order:** CHECKOUT-3449 Use correct order ID when reloading current order after order creation ([6d39e16](https://github.com/bigcommerce/checkout-sdk-js/commit/6d39e16))
* **payment:** CHECKOUT-3398 Check payment method payload ([ea621bf](https://github.com/bigcommerce/checkout-sdk-js/commit/ea621bf))
# [1.1.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v1.0.0...v1.1.0) (2018-08-20)
### Bug Fixes
* **payment:** CHECKOUT-3401 Load order payments using checkout.orderId ([1bf885d](https://github.com/bigcommerce/checkout-sdk-js/commit/1bf885d))
* **payment:** CHECKOUT-3401 Stop loading current order before executing payment strategy ([093016d](https://github.com/bigcommerce/checkout-sdk-js/commit/093016d))
### Features
* **shipping:** CHECKOUT-3393 Add address comparator and rename previous to isInternalAddressEqual ([26b396c](https://github.com/bigcommerce/checkout-sdk-js/commit/26b396c))
* **shipping:** CHECKOUT-3393 Add consignment deletion status/error check in store selector ([9ce4774](https://github.com/bigcommerce/checkout-sdk-js/commit/9ce4774))
* **shipping:** CHECKOUT-3393 Add convenience methods to assign items to addresses/consignments ([f4e0469](https://github.com/bigcommerce/checkout-sdk-js/commit/f4e0469))
* **shipping:** CHECKOUT-3393 Add getConsignmentById in ConsignmentSelector ([16fbdeb](https://github.com/bigcommerce/checkout-sdk-js/commit/16fbdeb))
* **shipping:** CHECKOUT-3393 Provide CheckoutService#deleteConsignment method ([b3d401e](https://github.com/bigcommerce/checkout-sdk-js/commit/b3d401e))
* **shipping:** CHECKOUT-3393 Provide error/status selectors for CheckoutService#deleteConsignment ([66615b0](https://github.com/bigcommerce/checkout-sdk-js/commit/66615b0))
# [1.0.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.8...v1.0.0) (2018-08-08)
## [0.28.8](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.7...v0.28.8) (2018-08-07)
### Bug Fixes
* **shipping:** CHECKOUT-3399 Use geo-ip only for the public shippingAddress selector ([178f145](https://github.com/bigcommerce/checkout-sdk-js/commit/178f145))
## [0.28.7](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.6...v0.28.7) (2018-08-07)
## [0.28.6](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.5...v0.28.6) (2018-07-31)
### Bug Fixes
* **order:** CHECKOUT-3390 Fix customer message getting overridden when submitting order ([60f10b5](https://github.com/bigcommerce/checkout-sdk-js/commit/60f10b5))
* **payment:** CHECKOUT-3380 Check payload is an object when loading payment methods ([f4ad1cd](https://github.com/bigcommerce/checkout-sdk-js/commit/f4ad1cd))
## [0.28.5](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.4...v0.28.5) (2018-07-30)
### Bug Fixes
* **payment:** PAYMENTS-3251 Load Klarna widget only once ([85cbcce](https://github.com/bigcommerce/checkout-sdk-js/commit/85cbcce))
## [0.28.4](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.3...v0.28.4) (2018-07-26)
### Bug Fixes
* **common:** PAYMENTS-3251 Check that argument is a valid string in toSingleLine utility ([c87484e](https://github.com/bigcommerce/checkout-sdk-js/commit/c87484e))
* **payment:** PAYMENTS-3251 Throw proper errors when Klarna authorization fails ([bf16895](https://github.com/bigcommerce/checkout-sdk-js/commit/bf16895))
### Features
* **checkout:** CHECKOUT-3371 Provide status/error checks for CheckoutService#updateCheckout ([fe2e07f](https://github.com/bigcommerce/checkout-sdk-js/commit/fe2e07f))
### Performance Improvements
* **common:** CHECKOUT-3009 Improve file bundle size ([9e0f458](https://github.com/bigcommerce/checkout-sdk-js/commit/9e0f458))
## [0.28.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.2...v0.28.3) (2018-07-24)
### Bug Fixes
* **shipping:** CHECKOUT-3243 Fix checkout data not getting retained after updating shipping option ([850b108](https://github.com/bigcommerce/checkout-sdk-js/commit/850b108))
## [0.28.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.1...v0.28.2) (2018-07-24)
### Bug Fixes
* **payment:** CHECKOUT-3370 Fix Afterpay not able to finalize order after redirection ([6e0f03c](https://github.com/bigcommerce/checkout-sdk-js/commit/6e0f03c))
## [0.28.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.28.0...v0.28.1) (2018-07-23)
### Features
* **shipping:** CHECKOUT-3243 Add createConsignments to ConsignmentActionCreator ([f9c1258](https://github.com/bigcommerce/checkout-sdk-js/commit/f9c1258))
* **shipping:** CHECKOUT-3243 Add multi-shipping methods in CheckoutService ([62c0dc3](https://github.com/bigcommerce/checkout-sdk-js/commit/62c0dc3))
* **shipping:** CHECKOUT-3243 Add updateConsignment to ConsignmentActionCreator ([a9da7c0](https://github.com/bigcommerce/checkout-sdk-js/commit/a9da7c0))
* **shipping:** CHECKOUT-3243 Support tracking loading and error states per consignment ([12c55da](https://github.com/bigcommerce/checkout-sdk-js/commit/12c55da))
# [0.28.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.27.2...v0.28.0) (2018-07-19)
### Bug Fixes
* **billing:** CHECKOUT-3359 Keep the email when creating a billingAddress if it was set ([672586f](https://github.com/bigcommerce/checkout-sdk-js/commit/672586f))
* **cart:** CHECKOUT-3356 Only compare important cart attributes ([07fe7be](https://github.com/bigcommerce/checkout-sdk-js/commit/07fe7be))
### Code Refactoring
* **checkout:** CHECKOUT-3331 Remove `checkout` property from `CheckoutSelectors` ([00c188f](https://github.com/bigcommerce/checkout-sdk-js/commit/00c188f))
* **payment:** CHECKOUT-3331 Mark `CheckoutService#loadPaymentMethod` as internal ([9a6ecfa](https://github.com/bigcommerce/checkout-sdk-js/commit/9a6ecfa))
* **shopper:** CHECKOUT-3331 Remove `signInGuest` from `CheckoutService` ([64f1969](https://github.com/bigcommerce/checkout-sdk-js/commit/64f1969))
### Features
* **payment:** INT-690 Remove all VCO references from Chase Pay code ([9cf3cda](https://github.com/bigcommerce/checkout-sdk-js/commit/9cf3cda))
### BREAKING CHANGES
* **payment:** `loadPaymentMethod` has been deprecated for some time.
However, due to legacy reasons, this method is still in use by Optimized
Checkout. To further discourage people from using it, we now mark it as
`internal` and remove it from the documentation. We will completely
remove it once it is no longer used by Optimized Checkout.
* **shopper:** `signInGuest` has been from `CheckoutService`. Call
`continueAsGuest` instead.
* **checkout:** `checkout` property has been removed from
`CheckoutSelector`. Use `data` property instead.
## [0.27.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.27.1...v0.27.2) (2018-07-11)
### Features
* **checkout:** CHECKOUT-3332 Make id optional for CheckoutService#loadCheckout ([22a1b98](https://github.com/bigcommerce/checkout-sdk-js/commit/22a1b98))
## [0.27.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.27.0...v0.27.1) (2018-07-10)
### Bug Fixes
* **common:** CHECKOUT-3334 Prevent order data from overwriting checkout data when retrieving payment information ([0bf5be2](https://github.com/bigcommerce/checkout-sdk-js/commit/0bf5be2))
* **payment:** CHECKOUT-3320 Clean order store after a new order is created ([ea2e632](https://github.com/bigcommerce/checkout-sdk-js/commit/ea2e632))
* **payment:** CHECKOUT-3329 Do not submit the order until PayPal tokenization finishes ([ebfc837](https://github.com/bigcommerce/checkout-sdk-js/commit/ebfc837))
* **payment:** PAYMENTS-3064 Braintree's DataCollector actually returns device_session_id and fraud_merchant_id as JSON but we just want the device_session_id ([b8f2c30](https://github.com/bigcommerce/checkout-sdk-js/commit/b8f2c30))
* **shopper:** CHECKOUT-3329 BillingAddressReducer shouldn't overwrite customer's email address ([1ddb485](https://github.com/bigcommerce/checkout-sdk-js/commit/1ddb485))
# [0.27.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.26.1...v0.27.0) (2018-07-04)
### Bug Fixes
* **common:** CHECKOUT-2960 Fix TS compilation issue ([ff3fc8a](https://github.com/bigcommerce/checkout-sdk-js/commit/ff3fc8a))
* **order:** CHECKOUT-3314 Map fields for digital items ([a289dc8](https://github.com/bigcommerce/checkout-sdk-js/commit/a289dc8))
* **payment:** CHECKOUT-3311 Send token and callbackUrl to bigpay ([a5f2df1](https://github.com/bigcommerce/checkout-sdk-js/commit/a5f2df1))
* **payment:** CHECKOUT-3319 Append returnUrl for Adyen ([3158c9b](https://github.com/bigcommerce/checkout-sdk-js/commit/3158c9b))
* **shipping:** CHECKOUT-3276 Create specific action for loading shipping options ([33cd64a](https://github.com/bigcommerce/checkout-sdk-js/commit/33cd64a))
* **shopper:** CHECKOUT-3319 Use customer information from billing address ([11f5039](https://github.com/bigcommerce/checkout-sdk-js/commit/11f5039))
### Code Refactoring
* **cart:** CHECKOUT-3053 Return `Cart` object in different schema ([1b65671](https://github.com/bigcommerce/checkout-sdk-js/commit/1b65671))
* **checkout:** CHECKOUT-3054 Return `Coupon` and `GiftCertificate` objects in different schema ([69a8431](https://github.com/bigcommerce/checkout-sdk-js/commit/69a8431))
* **checkout:** CHECKOUT-3282 Remove `loadConfig` method ([2426e19](https://github.com/bigcommerce/checkout-sdk-js/commit/2426e19))
* **order:** CHECKOUT-3056 Return `Order` object in different schema ([a316188](https://github.com/bigcommerce/checkout-sdk-js/commit/a316188))
* **payment:** CHECKOUT-3205 Transform snakecase payloads to camel ([d7a3876](https://github.com/bigcommerce/checkout-sdk-js/commit/d7a3876))
### Features
* **checkout:** CHECKOUT-3312 Provide updateCheckout method ([c9dd542](https://github.com/bigcommerce/checkout-sdk-js/commit/c9dd542))
* **common:** CHECKOUT-327 Export CacheKeyResolver ([18519d6](https://github.com/bigcommerce/checkout-sdk-js/commit/18519d6))
* **common:** CHECKOUT-3274 Remove quote mapper ([82de622](https://github.com/bigcommerce/checkout-sdk-js/commit/82de622))
* **common:** CHECKOUT-3275 Remove Address mapper ([93bfed6](https://github.com/bigcommerce/checkout-sdk-js/commit/93bfed6))
* **shipping:** CHECKOUT-3276 Expose consignments via checkoutStoreSelector ([6950ce9](https://github.com/bigcommerce/checkout-sdk-js/commit/6950ce9))
* **shopper:** CHECKOUT-3277 Remove cart dependency from customer mapper ([a5797d4](https://github.com/bigcommerce/checkout-sdk-js/commit/a5797d4))
### BREAKING CHANGES
* **payment:** Instrument interfaces now respond with camel case
object properties
* **checkout:** `loadConfig` method has been removed. Configuration
data is now automatically loaded when you call `loadCheckout` or
`loadOrder`.
* **checkout:** `getCoupons` and `getGiftCertificate` method now returns `Coupons` and `GiftCertificate` objects with different properties respectively.
* **cart:** `getCart` method now returns `Cart` object with different properties.
* **order:** `getOrder` method now returns `Order` object with different properties.
It also returns `undefined` until the order is created.
* **quote:** `getQuote` method has been removed.
* **shipping:** `getShippingAddress` method now returns `Address` object with different properties.
* **shipping:** `getShippingOptions` method now returns `ShippingOption[]` array with different properties.
* **shipping:** `getSelectedShippingOption` method now returns `ShippingOption` object with different properties.
* **billing:** `getBillingAddress` method now returns `Address` object with different properties.
* **customer:** `getCustomer` method now returns `Customer` object with different properties.
## [0.26.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.26.0...v0.26.1) (2018-06-27)
### Bug Fixes
* **common:** CHECKOUT-3299 Filter keys recursively when comparing objects ([68da93e](https://github.com/bigcommerce/checkout-sdk-js/commit/68da93e))
# [0.26.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.25.0...v0.26.0) (2018-06-27)
### Bug Fixes
* **billing:** CHECKOUT-3052 Fall back in billing email when not provided ([d2893ca](https://github.com/bigcommerce/checkout-sdk-js/commit/d2893ca))
* **common:** CHECKOUT-3170 Remove engine requirement for consumers ([9d2adbc](https://github.com/bigcommerce/checkout-sdk-js/commit/9d2adbc))
* **common:** CHECKOUT-3299 Fix performance of object comparison ([1a69d2f](https://github.com/bigcommerce/checkout-sdk-js/commit/1a69d2f))
* **order:** CHECKOUT-3056 Store billing address state when order loads ([44f40a9](https://github.com/bigcommerce/checkout-sdk-js/commit/44f40a9))
* **payment:** CHECKOUT-3054 Update gift certificate state when relevant actions are dispatched ([412990d](https://github.com/bigcommerce/checkout-sdk-js/commit/412990d))
* **payment:** CHECKOUT-3054 Use remaining balance from API ([a2989d4](https://github.com/bigcommerce/checkout-sdk-js/commit/a2989d4))
* **shipping:** CHECKOUT-3052 Pass consignment id to address mapper ([56de8e3](https://github.com/bigcommerce/checkout-sdk-js/commit/56de8e3))
* **shipping:** CHECKOUT-3052 Return Quote based on external checkout object ([0f5bab7](https://github.com/bigcommerce/checkout-sdk-js/commit/0f5bab7))
* **shipping:** CHECKOUT-3183 Return shipping address in quote using shipping selector ([988fcd1](https://github.com/bigcommerce/checkout-sdk-js/commit/988fcd1))
* **shipping:** CHECKOUT-3253 Change consigment schema to store selected shipping option object ([08d4a7e](https://github.com/bigcommerce/checkout-sdk-js/commit/08d4a7e))
* **shipping:** CHECKOUT-3253 Return selected shipping option as available shipping options ([9bc034f](https://github.com/bigcommerce/checkout-sdk-js/commit/9bc034f))
* **shipping:** CHECKOUT-3253 Update shipping option schema ([566e251](https://github.com/bigcommerce/checkout-sdk-js/commit/566e251))
* **shipping:** CHECKOUT-3280 Use POST/PUT to update consignments so we retain shippingOptions ([6aebfc5](https://github.com/bigcommerce/checkout-sdk-js/commit/6aebfc5))
### Features
* **checkout:** CHECKOUT-3053 Access data getters via `data` property ([aba3115](https://github.com/bigcommerce/checkout-sdk-js/commit/aba3115))
* **checkout:** INT-475 Chase Pay button to display on Customer section UCO page ([672d132](https://github.com/bigcommerce/checkout-sdk-js/commit/672d132))
* **checkout:** INT-660 Update checkout SDK to accept merchantRequestid ([9abc234](https://github.com/bigcommerce/checkout-sdk-js/commit/9abc234))
* **common:** CHECKOUT-3284 Throw better error when required data is missing ([#302](https://github.com/bigcommerce/checkout-sdk-js/issues/302)) ([3ddfd37](https://github.com/bigcommerce/checkout-sdk-js/commit/3ddfd37))
* **payment:** INT-594 Send ChasePay CheckoutData needed for WePay ([4433ac4](https://github.com/bigcommerce/checkout-sdk-js/commit/4433ac4))
* **shopper:** CHECKOUT-3278 Read from customer selector in checkout selector ([e7678d8](https://github.com/bigcommerce/checkout-sdk-js/commit/e7678d8))
# [0.25.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.24.1...v0.25.0) (2018-06-08)
### Bug Fixes
* **cart:** CHECKOUT-3044 Fix subtotal mapping ([6349ece](https://github.com/bigcommerce/checkout-sdk-js/commit/6349ece))
* **cart:** CHECKOUT-3044 Map subTotal value properly ([4f17be8](https://github.com/bigcommerce/checkout-sdk-js/commit/4f17be8))
* **checkout:** CHECKOUT-2932 Fix line items mapping for cart ([0dbc837](https://github.com/bigcommerce/checkout-sdk-js/commit/0dbc837))
* **checkout:** CHECKOUT-3186 Use store credit from customer ([778f70b](https://github.com/bigcommerce/checkout-sdk-js/commit/778f70b))
* **checkout:** CHECKOUT-3188 Rename coupon description to displayName ([6249a2e](https://github.com/bigcommerce/checkout-sdk-js/commit/6249a2e))
* **common:** CHECKOUT-3044 Fix mappings for cart verification ([18b2adb](https://github.com/bigcommerce/checkout-sdk-js/commit/18b2adb))
* **common:** CHECKOUT-3044 Request all includes in other request senders ([b12fead](https://github.com/bigcommerce/checkout-sdk-js/commit/b12fead))
* **common:** CHECKOUT-3051 Include API version in request header ([cb48799](https://github.com/bigcommerce/checkout-sdk-js/commit/cb48799))
* **common:** CHECKOUT-3182 Fix address mapper after API changes ([4934748](https://github.com/bigcommerce/checkout-sdk-js/commit/4934748))
* **payment:** CHECKOUT-3199 Add prefix to payment step when mapping to internal order ([5895fea](https://github.com/bigcommerce/checkout-sdk-js/commit/5895fea))
* **payment:** CHECKOUT-3214 Fix PayPal Express cart and checkout flow. ([a4c9669](https://github.com/bigcommerce/checkout-sdk-js/commit/a4c9669))
### Code Refactoring
* **checkout:** CHECKOUT-2954 Load checkout using storefront API ([256a0fa](https://github.com/bigcommerce/checkout-sdk-js/commit/256a0fa))
* **checkout:** CHECKOUT-3050 Load checkout using checkout id ([5dda2e5](https://github.com/bigcommerce/checkout-sdk-js/commit/5dda2e5))
### Features
* **checkout:** CHECKOUT-2930 Apply Coupons and Gift Certificates via public API ([35ba607](https://github.com/bigcommerce/checkout-sdk-js/commit/35ba607))
* **checkout:** CHECKOUT-3048 Remove fallback API call to quote endpoint ([0c9a066](https://github.com/bigcommerce/checkout-sdk-js/commit/0c9a066))
* **checkout:** CHECKOUT-3169 Verify cart using Storefront API checkout endpoint ([8b143ef](https://github.com/bigcommerce/checkout-sdk-js/commit/8b143ef))
* **order:** CHECKOUT-3047 Include payments by default in OrderRequestSender ([b056ed6](https://github.com/bigcommerce/checkout-sdk-js/commit/b056ed6))
* **order:** CHECKOUT-3047 Remove order backfill ([d5f5cc8](https://github.com/bigcommerce/checkout-sdk-js/commit/d5f5cc8))
* **shipping:** CHECKOUT-2928 Update billing address using Storefront API ([41d3513](https://github.com/bigcommerce/checkout-sdk-js/commit/41d3513))
* **shipping:** CHECKOUT-2929 Use consigments endpoint to update shipping option ([da0823c](https://github.com/bigcommerce/checkout-sdk-js/commit/da0823c))
* **shipping:** CHECKOUT-2929 Use consignments endpoint to update shipping address. ([c8f46ea](https://github.com/bigcommerce/checkout-sdk-js/commit/c8f46ea))
* **shipping:** CHECKOUT-3183 Default to geoCountry when quote has no shipping address ([b5c18da](https://github.com/bigcommerce/checkout-sdk-js/commit/b5c18da))
* **shopper:** CHECKOUT-3110 Provide convenience method to update guest customer email using storefront API ([89d8348](https://github.com/bigcommerce/checkout-sdk-js/commit/89d8348))
### BREAKING CHANGES
* **checkout:** You now need to pass in an ID in order to load
checkout. i.e.: `checkoutService.loadCheckout(id);`
* **checkout:** `CheckoutClient#loadCheckout` now returns storefront
API response.
## [0.24.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.24.0...v0.24.1) (2018-06-06)
### Bug Fixes
* **common:** CHECKOUT-3072 Use prepare instead of preinstall in package.json ([a549ca3](https://github.com/bigcommerce/checkout-sdk-js/commit/a549ca3))
# [0.24.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.23.1...v0.24.0) (2018-06-06)
### Features
* **common:** CHECKOUT-3072 Update address keys to match new API schema ([0ecc7ca](https://github.com/bigcommerce/checkout-sdk-js/commit/0ecc7ca))
## [0.23.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.23.0...v0.23.1) (2018-05-31)
# [0.23.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.22.0...v0.23.0) (2018-05-28)
### Bug Fixes
* **common:** CHECKOUT-3191 Update dependencies to fix issue with sourcemaps ([4f6ae44](https://github.com/bigcommerce/checkout-sdk-js/commit/4f6ae44))
### Features
* **payment:** INT-275 Add Cryptogram like a new payment instrument ([811a69a](https://github.com/bigcommerce/checkout-sdk-js/commit/811a69a))
* **payment:** PAYMENTS-2744 Updating Afterpay to support US and NZ customers. ([8f134e8](https://github.com/bigcommerce/checkout-sdk-js/commit/8f134e8))
# [0.22.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.21.1...v0.22.0) (2018-05-22)
### Bug Fixes
* **common:** PAYMENTS-2672 Update `package-lock.json` ([b774111](https://github.com/bigcommerce/checkout-sdk-js/commit/b774111))
* **payment:** CHECKOUT-2941 Afterpay token no longer needs to be passed in manually ([b7ecf70](https://github.com/bigcommerce/checkout-sdk-js/commit/b7ecf70))
* **payment:** CHECKOUT-3031 Export VisaCheckoutEventMap ([b1ae134](https://github.com/bigcommerce/checkout-sdk-js/commit/b1ae134))
* **payment:** PAYMENT-2672 Pass accessToken with all instrument payloads ([af3a264](https://github.com/bigcommerce/checkout-sdk-js/commit/af3a264))
### Code Refactoring
* **checkout:** CHECKOUT-3060 Stop exporting `CheckoutService` and `LanguageService` ([215e85f](https://github.com/bigcommerce/checkout-sdk-js/commit/215e85f))
* **checkout:** CHECKOUT-3142 Remove `CheckoutClient` from public exports ([912a1f3](https://github.com/bigcommerce/checkout-sdk-js/commit/912a1f3))
* **order:** CHECKOUT-3060 Change order submission parameters ([5aecc72](https://github.com/bigcommerce/checkout-sdk-js/commit/5aecc72))
* **order:** CHECKOUT-3142 Remove `finalizeOrder` method ([170a639](https://github.com/bigcommerce/checkout-sdk-js/commit/170a639))
* **payment:** CHECKOUT-3060 Update method names to be consistent ([fd7682c](https://github.com/bigcommerce/checkout-sdk-js/commit/fd7682c))
### Features
* **common:** CHECKOUT-2957 Prevent the use of the SDK in non https pages ([7c2bb21](https://github.com/bigcommerce/checkout-sdk-js/commit/7c2bb21))
* **payment:** CHECKOUT-3031 Add Braintree & VisaCheckout types for VisaCheckout ([01ffa12](https://github.com/bigcommerce/checkout-sdk-js/commit/01ffa12))
* **payment:** CHECKOUT-3031 Add BraintreeVisaCheckout to BraintreeSDKCreator ([09ac772](https://github.com/bigcommerce/checkout-sdk-js/commit/09ac772))
* **payment:** CHECKOUT-3031 Add BraintreeVisaCheckoutPaymentProcessor ([4a5e1f4](https://github.com/bigcommerce/checkout-sdk-js/commit/4a5e1f4))
* **payment:** CHECKOUT-3031 Add BraintreeVisaCheckoutPaymentStrategy ([8da4a29](https://github.com/bigcommerce/checkout-sdk-js/commit/8da4a29))
* **payment:** CHECKOUT-3031 Add script loader for BraintreeVisaCheckout ([1b5a2a2](https://github.com/bigcommerce/checkout-sdk-js/commit/1b5a2a2))
* **payment:** CHECKOUT-3031 Add script loader for VisaCheckoutSDK ([53993e3](https://github.com/bigcommerce/checkout-sdk-js/commit/53993e3))
* **payment:** CHECKOUT-3031 Create WidgetInteraction action for Payment Strategy ([6151dd7](https://github.com/bigcommerce/checkout-sdk-js/commit/6151dd7))
* **payment:** PAYMENT-2672 Introduce loadInstrumentsByAddress ([3ec227e](https://github.com/bigcommerce/checkout-sdk-js/commit/3ec227e))
* **shopper:** CHECKOUT-3031 Add BraintreeVisaCheckoutCustomerStrategy ([9a90cca](https://github.com/bigcommerce/checkout-sdk-js/commit/9a90cca))
* **shopper:** CHECKOUT-3031 Create WidgetInteraction action for Customer Strategy ([ab0b61b](https://github.com/bigcommerce/checkout-sdk-js/commit/ab0b61b))
### BREAKING CHANGES
* **checkout:** You can no longer directly call the constructors of
`CheckoutService` and `LanguageService`. Use `createCheckoutService` and
`createLanguageService` factory functions instead.
* **order:** To specify a payment method when submitting an order,
you have to provide `methodId` and `gatewayId` instead of `name` and
`gateway` fields.
* **payment:** `getInitializePaymentMethod` and
`isInitializingPaymentMethod` have now been renamed to
`getInitializePayment` and `isInitializingPayment` respectively.
* **order:** `CheckoutService#finalizeOrder` method has been
removed.
* **checkout:** `CheckoutClient` is no longer exported for public use.
## [0.21.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.21.0...v0.21.1) (2018-05-09)
### Bug Fixes
* **checkout:** CHECKOUT-3124 Return same state object unless it is different ([95a3fd4](https://github.com/bigcommerce/checkout-sdk-js/commit/95a3fd4))
# [0.21.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.20.1...v0.21.0) (2018-05-09)
### Code Refactoring
* **checkout:** CHECKOUT-3124 Remove `getCheckoutMeta` method ([9cf454e](https://github.com/bigcommerce/checkout-sdk-js/commit/9cf454e))
* **checkout:** CHECKOUT-3124 Remove `verifyCart` method ([53182ec](https://github.com/bigcommerce/checkout-sdk-js/commit/53182ec))
### BREAKING CHANGES
* **checkout:** `CheckoutService#verifyCart` method has been removed.
Now the cart always gets verified before order submission.
* **checkout:** `CheckoutSelector#getCheckoutMeta` has been removed.
The data exposed by this method was intended for internal use only.
## [0.20.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.20.0...v0.20.1) (2018-05-08)
### Bug Fixes
* **payment:** CHECKOUT-3138 Fix Braintree Paypal cart flow initialization ([75eb86a](https://github.com/bigcommerce/checkout-sdk-js/commit/75eb86a))
# [0.20.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.19.2...v0.20.0) (2018-05-07)
### Features
* **common:** CHECKOUT-3075 Remove legacy config mapper ([1762da2](https://github.com/bigcommerce/checkout-sdk-js/commit/1762da2))
### BREAKING CHANGES
* **common:** Now getConfig() returns a different structure.
## [0.19.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.19.1...v0.19.2) (2018-05-03)
### Bug Fixes
* **common:** CHECKOUT-3035 Amend config endpoint URL and header ([dd5105a](https://github.com/bigcommerce/checkout-sdk-js/commit/dd5105a))
* **payment:** CHECKOUT-3035 Inject store to PaymentStrategyRegistry so it can lazy load payment configuration ([a13afb5](https://github.com/bigcommerce/checkout-sdk-js/commit/a13afb5))
## [0.19.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.19.0...v0.19.1) (2018-05-02)
### Features
* **common:** CHECKOUT-3035 Use checkout setings public endpoint ([85ce289](https://github.com/bigcommerce/checkout-sdk-js/commit/85ce289))
# [0.19.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.18.0...v0.19.0) (2018-05-01)
### Bug Fixes
* **payment:** CHECKOUT-2926 Send Square payment data ([476588f](https://github.com/bigcommerce/checkout-sdk-js/commit/476588f))
* **payment:** PAYMENTS-2122 Ensure instrument Id is accessed via the meta object ([76aaa89](https://github.com/bigcommerce/checkout-sdk-js/commit/76aaa89))
### Code Refactoring
* **payment:** CHECKOUT-2951 Define method-specific options for payment initialization. ([80e3c72](https://github.com/bigcommerce/checkout-sdk-js/commit/80e3c72))
* **payment:** CHECKOUT-2951 Pass methodId and gatewayId as options ([fda9e1c](https://github.com/bigcommerce/checkout-sdk-js/commit/fda9e1c))
* **payment:** CHECKOUT-2951 Rename initializePayment and deinitializePayment methods ([d9626cd](https://github.com/bigcommerce/checkout-sdk-js/commit/d9626cd))
* **payment:** CHECKOUT-2951 Update Braintree initialization options ([0b46130](https://github.com/bigcommerce/checkout-sdk-js/commit/0b46130))
* **payment:** CHECKOUT-2951 Update Klarna initialization options ([802fa61](https://github.com/bigcommerce/checkout-sdk-js/commit/802fa61))
* **payment:** CHECKOUT-2951 Update Square payment initialization params ([29c3855](https://github.com/bigcommerce/checkout-sdk-js/commit/29c3855))
* **shipping:** CHECKOUT-2951 Define method-specific options for shipping initialization. ([1ab385d](https://github.com/bigcommerce/checkout-sdk-js/commit/1ab385d))
* **shopper:** CHECKOUT-2951 Define method-specific options for customer initialization. ([2ac93df](https://github.com/bigcommerce/checkout-sdk-js/commit/2ac93df))
### BREAKING CHANGES
* **payment:** `loadCallback` for Klarna Payment has been renamed to
`onLoad`.
* **payment:** `modalHanlder` for Braintree initialization has been
renamed to `threeDSecure`.
* **payment:** Update initialize options for Square payment.
`widgetConfig` key is no longer required. It is now flattened with
`SquarePaymentInitializeOptions`.
* **payment:** Rename `initializePaymentMethod` to
`initializePayment`, and `deinitializePaymentMethod` to
`deinitializePayment`.
* **payment:** Pass `methodId` and `gatewayId` as an object rather
than individual parameters when calling `initializePaymentMethod` and
`deinitializePaymentMethod`.
* **payment:** Method-specific options need to be passed in under a
key named after the method when calling `initializePaymentMethod`.
* **shipping:** Method-specific options need to be passed in under a
key named after the method when calling `initializeShipping`.
* **shopper:** Method-specific options need to be passed in under a
key named after the method when calling `initalizeCustomer`.
# [0.18.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.17.2...v0.18.0) (2018-04-12)
### Features
* **common:** CHECKOUT-3035 Initialize config using API ([013cf59](https://github.com/bigcommerce/checkout-sdk-js/commit/013cf59))
### BREAKING CHANGES
* **common:** You now need to initialize CheckoutService calling
loadConfig() method instead of passing a config object..
## [0.17.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.17.1...v0.17.2) (2018-04-10)
## [0.17.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.17.0...v0.17.1) (2018-04-10)
### Bug Fixes
* **payment:** CHECKOUT-2926 Register Square Payment Strategy ([bd3d19a](https://github.com/bigcommerce/checkout-sdk-js/commit/bd3d19a))
# [0.17.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.16.0...v0.17.0) (2018-04-10)
### Bug Fixes
* **payment:** CHECKOUT-2905 Fix redirect issue with AfterPay in Firefox ([b70bdae](https://github.com/bigcommerce/checkout-sdk-js/commit/b70bdae))
### Features
* **payment:** CHECKOUT-2926 Register Square Payment Strategy ([f698908](https://github.com/bigcommerce/checkout-sdk-js/commit/f698908))
# [0.16.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.15.1...v0.16.0) (2018-04-06)
### Features
* **checkout:** INT-251 Add WePay strategy ([d98627d](https://github.com/bigcommerce/checkout-sdk-js/commit/d98627d))
* **payment:** CHECKOUT-3030 Braintree PayPal & PayPal Credit ([b79191f](https://github.com/bigcommerce/checkout-sdk-js/commit/b79191f))
## [0.15.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.15.0...v0.15.1) (2018-04-03)
### Bug Fixes
* **checkout:** CHECKOUT-3007 Remove unexpected injections ([f08f02e](https://github.com/bigcommerce/checkout-sdk-js/commit/f08f02e))
* **payment:** CHECKOUT-2905 Hold execution to avoid unwanted redirect ([1753b21](https://github.com/bigcommerce/checkout-sdk-js/commit/1753b21))
* **payment:** CHECKOUT-2926 Unregister Square v2 ([0917ca7](https://github.com/bigcommerce/checkout-sdk-js/commit/0917ca7))
* **payment:** CHECKOUT-3007 Fix issue where shoppers cannot submit offsite payment ([c344e9b](https://github.com/bigcommerce/checkout-sdk-js/commit/c344e9b))
# [0.15.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.14.0...v0.15.0) (2018-03-29)
### Bug Fixes
* **checkout:** CHECKOUT-2992 Only return new instance if different ([60b25b0](https://github.com/bigcommerce/checkout-sdk-js/commit/60b25b0))
* **checkout:** CHECKOUT-2992 Update cached value if newly computed value is different ([1f40301](https://github.com/bigcommerce/checkout-sdk-js/commit/1f40301))
* **payment:** CHECKOUT-2926 Fix order submission payload for Square ([15cd3df](https://github.com/bigcommerce/checkout-sdk-js/commit/15cd3df))
* **payment:** CHECKOUT-3007 Use `PaymentStrategyActionCreator` to fix getter not returning initialization and execution status correctly ([6b8a9a8](https://github.com/bigcommerce/checkout-sdk-js/commit/6b8a9a8))
* **shipping:** CHECKOUT-3027 Track strategy execution while synchronizing checkout address for Amazon AddressBook widget ([e16cfdc](https://github.com/bigcommerce/checkout-sdk-js/commit/e16cfdc))
* **shipping:** CHECKOUT-3027 Use `ShippingStrategyAction` to fix getter not returning initialization and execution status correctly ([6444bf4](https://github.com/bigcommerce/checkout-sdk-js/commit/6444bf4))
* **shopper:** CHECKOUT-3028 Use `CustomerStrategyActionCreator` to fix getter not returning initialization and execution status correctly ([5aa9bb4](https://github.com/bigcommerce/checkout-sdk-js/commit/5aa9bb4))
### Features
* **checkout:** CHECKOUT-2951 Add ability to destruct getters ([abc7021](https://github.com/bigcommerce/checkout-sdk-js/commit/abc7021))
# [0.14.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.13.0...v0.14.0) (2018-03-29)
### Features
* **payment:** CHECKOUT-2644 Braintree Credit Card Strategy ([b21eea6](https://github.com/bigcommerce/checkout-sdk-js/commit/b21eea6))
* **payment:** CHECKOUT-2644 Braintree Mocks ([c8454db](https://github.com/bigcommerce/checkout-sdk-js/commit/c8454db))
* **payment:** CHECKOUT-2644 Braintree Payment Processor ([ddf4b5f](https://github.com/bigcommerce/checkout-sdk-js/commit/ddf4b5f))
* **payment:** CHECKOUT-2644 Braintree Script Loader ([c6c00c3](https://github.com/bigcommerce/checkout-sdk-js/commit/c6c00c3))
* **payment:** CHECKOUT-2644 Braintree SDK Creator ([f040850](https://github.com/bigcommerce/checkout-sdk-js/commit/f040850))
* **payment:** CHECKOUT-2644 Braintree Type Definition ([26ea828](https://github.com/bigcommerce/checkout-sdk-js/commit/26ea828))
* **payment:** CHECKOUT-2644 Type guard methods for CreditCard, TokenizedCreditCard & VaultedIntrument ([47c298b](https://github.com/bigcommerce/checkout-sdk-js/commit/47c298b))
# [0.13.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.12.1...v0.13.0) (2018-03-27)
### Features
* **shipping:** CHECKOUT-2964 Allow making phone number required ([e82ebf9](https://github.com/bigcommerce/checkout-sdk-js/commit/e82ebf9))
## [0.12.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.12.0...v0.12.1) (2018-03-26)
### Bug Fixes
* **payment:** CHECKOUT-3032 NoPaymentDataRequiredPaymentStrategy is not properly exported ([1495484](https://github.com/bigcommerce/checkout-sdk-js/commit/1495484))
# [0.12.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.11.1...v0.12.0) (2018-03-26)
### Features
* **payment:** CHECKOUT-3032 Create a no payment strategy ([83145b3](https://github.com/bigcommerce/checkout-sdk-js/commit/83145b3))
## [0.11.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.11.0...v0.11.1) (2018-03-26)
### Chores
* **common:** CHECKOUT-2959 Update location of updated dependencies. ([2846e9a](https://github.com/bigcommerce/checkout-sdk-js/commit/2846e9aad286ee87f31842c9ffaaada4be5686fa))
# [0.11.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.10.3...v0.11.0) (2018-03-20)
### Bug Fixes
* **payments:** CHECKOUT-2926 Do not cache failure when loading scripts ([43d33bb](https://github.com/bigcommerce/checkout-sdk-js/commit/43d33bb))
### Features
* **payments:** CHECKOUT-2926 Add Square V2 payment strategy ([81126fa](https://github.com/bigcommerce/checkout-sdk-js/commit/81126fa))
## [0.10.3](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.10.2...v0.10.3) (2018-03-19)
### Bug Fixes
* **PAYMENTS:** PAYMENTS-2590 Release bigpay-client ([aa3b6c3](https://github.com/bigcommerce/checkout-sdk-js/commit/aa3b6c3))
## [0.10.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.10.1...v0.10.2) (2018-03-15)
### Bug Fixes
* **payment:** CHECKOUT-3012 Always override `onAmazonLoginReady` and `onAmazonPaymentReady`. ([71b9805](https://github.com/bigcommerce/checkout-sdk-js/commit/71b9805))
## [0.10.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.10.0...v0.10.1) (2018-03-14)
### Bug Fixes
* **common:** CHECKOUT-2954 Bump [@bigcommerce](https://github.com/bigcommerce)/data-store to include various fixes ([88bacb5](https://github.com/bigcommerce/checkout-sdk-js/commit/88bacb5))
* **payment:** CHECKOUT-2955 `isInitializingPaymentMethod` should return true while waiting for initialization to complete ([a26884f](https://github.com/bigcommerce/checkout-sdk-js/commit/a26884f))
# [0.10.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.9.0...v0.10.0) (2018-03-06)
### Bug Fixes
* **payment:** CHECKOUT-2902 Submit order comments when paying with Afterpay ([5e5b5f2](https://github.com/bigcommerce/checkout-sdk-js/commit/5e5b5f2))
### Features
* **payments:** CHECKOUT-2646 Add support for Klarna payments ([47ee384](https://github.com/bigcommerce/checkout-sdk-js/commit/47ee384))
# [0.9.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.8.0...v0.9.0) (2018-02-26)
### Bug Fixes
* **payment:** CHECKOUT-2274 Fix AmazonPay EU and UK script path ([235fec3](https://github.com/bigcommerce/checkout-sdk-js/commit/235fec3))
* **payment:** CHECKOUT-2274 Forward store credit selection to AmazonPay ([090fbb3](https://github.com/bigcommerce/checkout-sdk-js/commit/090fbb3))
* **payment:** CHECKOUT-2274 Make sure AmazonPay AddressBook is initialized before Wallet ([22d4a49](https://github.com/bigcommerce/checkout-sdk-js/commit/22d4a49))
* **payment:** CHECKOUT-2274 Pass order reference id to wallet ([4744769](https://github.com/bigcommerce/checkout-sdk-js/commit/4744769))
* **payment:** CHECKOUT-2274 Remove duplicate callback ([290c593](https://github.com/bigcommerce/checkout-sdk-js/commit/290c593))
* **payment:** CHECKOUT-2274 Resolve promise before executing callback ([cc18120](https://github.com/bigcommerce/checkout-sdk-js/commit/cc18120))
* **payment:** CHECKOUT-2274 Retrieve new Amazon order reference if none is provided ([18dabff](https://github.com/bigcommerce/checkout-sdk-js/commit/18dabff))
* **payment:** CHECKOUT-2274 Return billing initialization status ([daadf84](https://github.com/bigcommerce/checkout-sdk-js/commit/daadf84))
* **payment:** CHECKOUT-2274 Throw error if unable to find wallet container ([c5a40ab](https://github.com/bigcommerce/checkout-sdk-js/commit/c5a40ab))
* **payment:** CHECKOUT-2274 Verify cart before submitting order with AmazonPay ([0cc90dd](https://github.com/bigcommerce/checkout-sdk-js/commit/0cc90dd))
* **shipping:** CHECKOUT-2274 Return AmazonPay address book initialization error ([a9d77a8](https://github.com/bigcommerce/checkout-sdk-js/commit/a9d77a8))
* **shipping:** CHECKOUT-2274 Throw error if unable to find address book container ([5419a92](https://github.com/bigcommerce/checkout-sdk-js/commit/5419a92))
* **shipping:** CHECKOUT-2274 Throw error if unable to synchronize data after selecting shipping / billing address using AmazonPay widgets ([ad25fc0](https://github.com/bigcommerce/checkout-sdk-js/commit/ad25fc0))
### Features
* **customer:** CHECKOUT-2274 Register AmazonPayCustomerRegistry ([14bf20b](https://github.com/bigcommerce/checkout-sdk-js/commit/14bf20b))
* **payment:** CHECKOUT-2274 Register AmazonPayPaymentStrategy ([e6d5b1e](https://github.com/bigcommerce/checkout-sdk-js/commit/e6d5b1e))
* **shipping:** CHECKOUT-2274 Register AmazonPayShippingStrategy ([67fc81a](https://github.com/bigcommerce/checkout-sdk-js/commit/67fc81a))
### Performance Improvements
* **payment:** CHECKOUT-2274 Initialize remote payment just before order submission ([a564429](https://github.com/bigcommerce/checkout-sdk-js/commit/a564429))
# [0.8.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.7.0...v0.8.0) (2018-02-23)
### Bug Fixes
* **payment:** CHECKOUT-2647 Send storeCredit flag and verify cart ([b480ff8](https://github.com/bigcommerce/checkout-sdk-js/commit/b480ff8))
* **shopper:** CHECKOUT-2274 Fix `isSigningOut` status getter for `AmazonPay` ([ccd11ec](https://github.com/bigcommerce/checkout-sdk-js/commit/ccd11ec))
* **shopper:** CHECKOUT-2274 Use POST instead of GET for tracking remote checkout authorization event ([67bcc20](https://github.com/bigcommerce/checkout-sdk-js/commit/67bcc20))
### Features
* **billing:** CHECKOUT-2274 Add billing initialization status and error getter ([2fdee2a](https://github.com/bigcommerce/checkout-sdk-js/commit/2fdee2a))
* **forms:** CHECKOUT-2752 Add subdivision array to Countries mock ([b2bbb41](https://github.com/bigcommerce/checkout-sdk-js/commit/b2bbb41))
* **forms:** CHECKOUT-2752 Enrich getShipping/BillingAddressFields to include information about countries/states/postCode/phone ([91aa682](https://github.com/bigcommerce/checkout-sdk-js/commit/91aa682))
* **payment:** CHECKOUT-2274 Add payment initialization status and error getter ([3b71d97](https://github.com/bigcommerce/checkout-sdk-js/commit/3b71d97))
* **shipping:** CHECKOUT-2274 Add shipping initialization status and error getter ([c78ecc1](https://github.com/bigcommerce/checkout-sdk-js/commit/c78ecc1))
* **shopper:** CHECKOUT-2274 Add customer initialization status and error getter ([4abc7cc](https://github.com/bigcommerce/checkout-sdk-js/commit/4abc7cc))
# [0.7.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.6.2...v0.7.0) (2018-02-15)
### Bug Fixes
* **checkout:** CHECKOUT-2274 Properly handle `/remote-checkout` responses ([f487a4c](https://github.com/bigcommerce/checkout-sdk-js/commit/f487a4c))
* **payment:** CHECKOUT-2274 Fix AmazonPay widget script path ([df7ed1e](https://github.com/bigcommerce/checkout-sdk-js/commit/df7ed1e))
* **payment:** CHECKOUT-2274 Fix AmazonPay widgets namespace ([4bd92cd](https://github.com/bigcommerce/checkout-sdk-js/commit/4bd92cd))
* **payment:** CHECKOUT-2274 Fix payment registry injection ([8d6c64d](https://github.com/bigcommerce/checkout-sdk-js/commit/8d6c64d))
* **payment:** CHECKOUT-2274 Only create Amazon wallet when ready ([235e8e8](https://github.com/bigcommerce/checkout-sdk-js/commit/235e8e8))
* **payment:** CHECKOUT-2274 Refresh AmazonPay wallet ([59a6bba](https://github.com/bigcommerce/checkout-sdk-js/commit/59a6bba))
* **shipping:** CHECKOUT-2274 Properly handle shipping data from `/remote-checkout` endpoint ([31d1bc6](https://github.com/bigcommerce/checkout-sdk-js/commit/31d1bc6))
### Features
* **common:** CHECKOUT-2416 Add Config Action Creator ([d90feea](https://github.com/bigcommerce/checkout-sdk-js/commit/d90feea))
* **common:** CHECKOUT-2416 Add Config Request Sender ([aa541df](https://github.com/bigcommerce/checkout-sdk-js/commit/aa541df))
* **common:** CHECKOUT-2416 Complete Config Reducer ([e37f8cd](https://github.com/bigcommerce/checkout-sdk-js/commit/e37f8cd))
* **common:** CHECKOUT-2416 Complete Config Selector ([b20374c](https://github.com/bigcommerce/checkout-sdk-js/commit/b20374c))
* **common:** CHECKOUT-2417 Load Config as part of loadCheckout ([5c2dc05](https://github.com/bigcommerce/checkout-sdk-js/commit/5c2dc05))
* **forms:** CHECKOUT-2417 Add Form Selector ([2c0507d](https://github.com/bigcommerce/checkout-sdk-js/commit/2c0507d))
* **forms:** CHECKOUT-2417 Add Load Shipping/Billing Address Fields ([005c465](https://github.com/bigcommerce/checkout-sdk-js/commit/005c465))
* **forms:** CHECKOUT-2417 Countries always contain the subdivision array ([51390fc](https://github.com/bigcommerce/checkout-sdk-js/commit/51390fc))
* **shipping:** CHECKOUT-2274 Add method for initializing shipping address and shipping option provider ([8dc1b6e](https://github.com/bigcommerce/checkout-sdk-js/commit/8dc1b6e))
## [0.6.2](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.6.1...v0.6.2) (2018-02-02)
### Bug Fixes
* **payment:** CHECKOUT-2875 Return `OrderFinalizationNotRequiredError` if not required to finalize when using SagePay or Offsite payment method ([f3a0caf](https://github.com/bigcommerce/checkout-sdk-js/commit/f3a0caf))
## [0.6.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.6.0...v0.6.1) (2018-01-29)
### Bug Fixes
* **common:** CHECKOUT-2844 Fix `Object.setPrototypeOf` not available in some browsers ([1966428](https://github.com/bigcommerce/checkout-sdk-js/commit/1966428))
* **common:** CHECKOUT-2851 Use Lodash instead of `Object.assign` to support older browsers ([70f0126](https://github.com/bigcommerce/checkout-sdk-js/commit/70f0126))
# [0.6.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.5.1...v0.6.0) (2018-01-24)
### Bug Fixes
* **common:** CHECKOUT-2749 Fix `TimeoutError` not inheriting members of `RequestError` ([d7d19dd](https://github.com/bigcommerce/checkout-sdk-js/commit/d7d19dd))
* **payment:** CHECKOUT-2842 Don't need to check for missing data when constructing payload for payment service ([3784295](https://github.com/bigcommerce/checkout-sdk-js/commit/3784295))
* **payment:** PAYMENTS-2314 Remove hard coded VAT token ([0628095](https://github.com/bigcommerce/checkout-sdk-js/commit/0628095))
### Features
* **payment:** PAYMETNS-2314 Authorise payment with instrument ([2b91c85](https://github.com/bigcommerce/checkout-sdk-js/commit/2b91c85))
## [0.5.1](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.5.0...v0.5.1) (2018-01-18)
### Bug Fixes
* **common:** CHECKOUT-2749 Fix error message concatenation ([3f75f29](https://github.com/bigcommerce/checkout-sdk-js/commit/3f75f29))
* **payment:** CHECKOUT-2749 Fix SagePay 3DS payment flow ([9d47f31](https://github.com/bigcommerce/checkout-sdk-js/commit/9d47f31))
* **payment:** CHECKOUT-2813 Ensure payment strategies are initialized with corresponding method data ([01d692c](https://github.com/bigcommerce/checkout-sdk-js/commit/01d692c))
# [0.5.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.4.0...v0.5.0) (2018-01-15)
### Bug Fixes
* **checkout:** CHECKOUT-2749 Throw error if required data is missing ([8a91844](https://github.com/bigcommerce/checkout-sdk-js/commit/8a91844))
### Code Refactoring
* **common:** CHECKOUT-2749 Do not set initial state unless relevant action is triggered ([ddd817b](https://github.com/bigcommerce/checkout-sdk-js/commit/ddd817b))
* **common:** CHECKOUT-2749 Reject with error instead of state ([cfb99c4](https://github.com/bigcommerce/checkout-sdk-js/commit/cfb99c4))
### Features
* **cart:** CHECKOUT-2749 Add specialized error types related to cart ([779d3fe](https://github.com/bigcommerce/checkout-sdk-js/commit/779d3fe))
* **common:** CHECKOUT-2749 Add `TimeoutError` ([9cd5d27](https://github.com/bigcommerce/checkout-sdk-js/commit/9cd5d27))
* **common:** CHECKOUT-2749 Add common custom error types ([bae946a](https://github.com/bigcommerce/checkout-sdk-js/commit/bae946a))
* **common:** CHECKOUT-2749 Transform payload of all failed actions as `Error` instance ([fc00a37](https://github.com/bigcommerce/checkout-sdk-js/commit/fc00a37))
* **order:** CHECKOUT-2749 Add specialized error types related to order ([43fc520](https://github.com/bigcommerce/checkout-sdk-js/commit/43fc520))
* **payment:** CHECKOUT-2749 Add specialized error types related to payment ([91db667](https://github.com/bigcommerce/checkout-sdk-js/commit/91db667))
### BREAKING CHANGES
* **cart:** Return `CartChangedError` when we detect a change in
the cart content of the shopper. Previously we return a simulated server
response, which contains fields such as `body` and `title`. Now it only
contains `message` and `type`. Also, the value of `type` property has
changed to "cart_changed" instead of "changed_cart".
* **common:** Previously, we return an empty object if we try to
retrieve a piece of data that hasn't been fetched remotely. Now, it
returns `undefined` instead.
* **common:** Return with a rejected promise with the thrown error instead of the current state so that clients can inspect the error directly.
# [0.4.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.3.0...v0.4.0) (2018-01-08)
### Bug Fixes
* **checkout:** CHECKOUT-2784 Memoize `getCheckoutMeta` ([871a697](https://github.com/bigcommerce/checkout-sdk-js/commit/871a697))
* **common:** CHECKOUT-2419 Ensure selectors return frozen objects unless configured otherwise ([4d59b24](https://github.com/bigcommerce/checkout-sdk-js/commit/4d59b24))
* **order:** CHECKOUT-2784 Memoize `getOrderMeta` ([31bb709](https://github.com/bigcommerce/checkout-sdk-js/commit/31bb709))
* **payment:** PAYMENTS-1983 Increment PATCH version of bigpay-client ([793faf5](https://github.com/bigcommerce/checkout-sdk-js/commit/793faf5))
### Features
* **common:** CHECKOUT-2419 Warn if mutating state ([6c7bd40](https://github.com/bigcommerce/checkout-sdk-js/commit/6c7bd40))
* **common:** CHECKOUT-2784 Add `CacheFactory` ([bfcdc7a](https://github.com/bigcommerce/checkout-sdk-js/commit/bfcdc7a))
### BREAKING CHANGES
* **common:** You now get an error if you try to mutate the any object returned by `CheckoutService` unless you set `shouldWarnMutation` to false.
# [0.3.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.2.0...v0.3.0) (2018-01-03)
### Bug Fixes
* **common:** CHECKOUT-2419 Only trigger subscribers if values have changed ([343446a](https://github.com/bigcommerce/checkout-sdk-js/commit/343446a))
* **payment:** CHECKOUT-2789 Add `PaypalProPaymentStrategy` to handle special conditions for Paypal Payments Pro US ([8312877](https://github.com/bigcommerce/checkout-sdk-js/commit/8312877))
### Features
* **payment:** PAYMENTS-2203 Add the ability to delete an instrument ([9a5b8ec](https://github.com/bigcommerce/checkout-sdk-js/commit/9a5b8ec))
* **payment:** PAYMENTS-2203 Add the ability to get instruments ([1a4f179](https://github.com/bigcommerce/checkout-sdk-js/commit/1a4f179))
* **payment:** PAYMENTS-2203 Add the ability to vault an instrument ([8eda640](https://github.com/bigcommerce/checkout-sdk-js/commit/8eda640))
# [0.2.0](https://github.com/bigcommerce/checkout-sdk-js/compare/v0.1.0...v0.2.0) (2017-12-21)
### Bug Fixes
* **payment:** PAYMENTS-2275 Skip payment submission if payment is already acknowledged or finalized ([f8ea5d2](https://github.com/bigcommerce/checkout-sdk-js/commit/f8ea5d2))
### Code Refactoring
* **checkout:** CHECKOUT-2756 Rename getLoadQuoteError to getLoadCheckoutError ([dc8cd04](https://github.com/bigcommerce/checkout-sdk-js/commit/dc8cd04))
* **checkout:** CHECKOUT-2756 Rename isLoadingQuote to isLoadingCheckout ([76920f7](https://github.com/bigcommerce/checkout-sdk-js/commit/76920f7))
* **payment:** PAYMENTS-2275 Change method name from isPaymentRequired to isPaymentDataRequired ([ca44355](https://github.com/bigcommerce/checkout-sdk-js/commit/ca44355))
### Features
* **payment:** PAYMENTS-2275 Add isPaymentDataSubmitted method to check if payment is already submitted for current order ([7f9fc5d](https://github.com/bigcommerce/checkout-sdk-js/commit/7f9fc5d))
### BREAKING CHANGES
* **payment:** The new method name should be less ambigious as it is intended to check whether a shopper is required to enter payment details
* **checkout:** To correspond with the loadCheckout method
* **checkout:** To correspond with the loadCheckout method
# 0.1.0 (2017-12-19)
### Features
* **checkout:** CHECKOUT-2098 Add CheckoutService and CheckoutClient ([30aa099](https://github.com/bigcommerce/checkout-sdk-js/commit/30aa099))
================================================
FILE: CONTRIBUTING.md
================================================
# Contribution Guide
## Table of contents
- [Project overview](#project-overview)
- [Structure](#structure)
- [Dependencies](#dependencies)
- [State management](#state-management)
- [Actions](#actions)
- [Reducers](#reducers)
- [Selectors](#selectors)
- [Strategies](#strategies)
- [Errors](#errors)
- [Tests](#tests)
- [Submit changes](#submit-changes)
- [Coding guideline](#coding-guideline)
- [Commit guideline](#commit-guideline)
- [Developer commands](#developer-commands)
- [System requirement](#system-requirement)
- [Submit issues](#submit-issues)
- [Release version](#release-version)
## Project overview
### Structure
The entry point of the library is `src/index`, which exposes all the public modules that can be imported by an external consumer. Internal modules are not exported, therefore you cannot import them externally and can only be used internally. We have a special compilation step that puts the restriction in place. Our intention is to hide internal implementation details from the external consumers. This way we can refactor the code with confidence in the future. We will not accept any pull requests that expose internal details.
Internal modules are usually grouped by their respective domain areas, i.e.: `cart`, `checkout`, `order` etc... Modules that are not domain specific are placed in `common` folder. The folder might also contain modules that you intend to extract out into separate repositories later on. For example, `common/utility` folder contains a set of helper functions that work with generic data types and are not specific to a domain area. The grouping is designed specifically to help us navigate the project directory and locate files quickly.
Every top level module should have an `index` file that re-exports all functions and classes that can be imported in a different module. It allows us to better control the internal visibility of submodules, and allows us to import them succinctly. i.e.:
```ts
// order/index.ts
export { default as Order } from './order';
export { default as OrderActionCreator } from './order-action-creator';
```
```ts
// checkout/index.ts
import { Order, OrderActionCreator } from '../order';
```
### Dependencies
Always inject dependencies if they create side effects (i.e.: making a network call) so they can be mocked out easily. Also, consider injecting dependencies if you want to decouple the objects so that they depend on interfaces rather than concrete implementations. You can inject dependencies via constructor or method parameters. For classes that are difficult to construct, you might choose to write a factory function to simplify the construction process. i.e.:
```ts
// checkout/create-checkout-service.ts
export default function createCheckoutService(): CheckoutService {
const requestSender = createRequestSender();
return new CheckoutService(
createCheckoutStore(),
new CheckoutActionCreator(new CheckoutRequestSender(requestSender)),
new ConfigActionCreator(new ConfigRequestSender(requestSender)),
// Other dependencies
);
}
```
### State management
We retain the current state in memory because we want to provide synchronous access to it once it is loaded from the remote server. Internally, we use the data to perform certain actions. For example, certain payment integrations require additional information to function. We can provide these information behind the scene without having to ask the consumer of the library to provide. Furthermore, with access to the current state, we can watch for any changes and notifies the consumer to perform corresponding changes.
#### Actions
All asynchronous operations are implemented as observable actions. An action represents the intent of a user, for example, submitting an order. It is observable, meaning you can subscribe to it and get notified when there are events of interest. When actions are dispatched, they are placed in a queue and get executed sequentially. If there are actions that are independent from each other, they can be dispatched in separate queues and be executed concurrently. The emitted values get processed by a set of transformation functions, called the reducers, before they get retained in a central location - the [data store](https://github.com/bigcommerce/data-store-js).
There are several benefits with this approach.
* The sequential execution queue minimises the likelihood of encountering race conditions. If asynchronous calls are not coordinated, their completion callbacks might not be called in the same order as when they are executed.
* The portable nature of actions means that they can be passed around like regular objects. They are not executed until they are dispatched. This means you can easily compose various actions in order to carry out more complicated tasks.
* There is a clear separation between the actions that get executed and the data that gets retained. The separation of read and write operations simplifies the management of a complex data tree.
* All changes are subscribable in a central location. This is particularly important for a library designed for UI development, as you often need to present the latest changes to the user.
There are three types of actions:
1. **Basic actions** - They are plain objects for carrying data. They have the following properties.
* `type`: The identifier of the action.
* `payload`: The primary data to be transferred.
* `meta`: The secondary data to be transferred.
* `error`: A flag indicating if the action represents a failure.
2. **Observable actions** - They encapsulate asynchronous operations. They emit basic actions whenever there are events of interest. Once they are created, they are inactive until they are dispatched.
3. **Thunk actions** - They are functions responsible for creating observable actions that depend on the current state. Inside the function, you have access to the data store, which you can use to retrieve the current state and create further actions.
When actions are dispatched, they can be intercepted and transformed before they reach the reducers. For example, we have a transformer, `RequestErrorTransformer`, that intercepts all error actions and appends additional meta information to them.
#### Reducers
The root reducer is responsible for transforming the entire state tree. It is formed by combining multiple smaller reducers, i.e.: `cartReducer`, `consignmentReducer` etc... This approach allows us to break down the large state tree into smaller, more manageable chunks. Every reducer has the following signature.
```ts
export default function cartReducer(state: CartState, action: CartAction): CartState {}
```
A reducer is a pure function, meaning it does not create side effects or mutates the original state object. If there is a relevant action, it returns a new state object for the data store to retain. Typically, a sub-reducer has the following properties.
* `data`: The primary data to retain.
* `meta`: The secondary data to retain.
* `statuses`: Flags indicating if certain actions are in progress.
* `errors`: Errors if certain actions have failed.
Not only do we retain the result of an action, we also keep track of its statuses and possible errors. This way, the UI can subscribe to these changes and reflect them in the view.
#### Selectors
You can access the state of the data store synchronously via selectors. Selectors are objects responsible for retrieving or deriving data from multiple sources. They act as access points to the underlying state tree. They only return new objects if the return values are different to the previous values. This is so that UI can determine whether to re-render by doing a simple equality check against the new values. Their returned values are immutable. In fact, they are frozen in development mode unless specified otherwise. We want to discourage external consumers from directly mutating the internal state of the library, which can lead to unexpected behaviours.
When actions are dispatched, they get processed by reducers and eventually reach to the data store and be retained. Reducers are responsible for controlling what and where the information should be retained. When there is a change in the state, all subscribers get notified and receive the latest state.
### Strategies
Different payment methods might have unique integration requirements. They are encapsulated as payment strategies. `PaymentStrategyRegistry` is responsible for registering and retrieving these strategies. i.e.:
```ts
const registry = new PaymentStrategyRegistry();
registry.register('creditcard', () =>
new CreditCardPaymentStrategy()
);
```
Some of the payment methods have additional capabilities, such as providing shipping and customer information. They are encapsulated as shipping and customer strategies respectively. This pattern allows us to execute a different procedure based on the integration requirement of a payment method in runtime.
### Errors
Specific error objects get thrown when there are identifiable issues. For example, if an error occurred because the required data is missing, you will get a `MissingDataError`. You can catch and inspect `type` property to decide how to handle them. When in development mode, error objects also include additional error messages to help developers debug issues. We do not append debug messages in production because we want to avoid surfacing developer-facing messages to the end-users.
### Tests
We recommend you to mock out the collaborators of your test subject if they are external dependencies, produce non-repeatable results or induce any kind of side effects. In the test, you verify whether or not certain collaborators are interacted with in the expected manner. The downside to this style of testing is that your tests tend to couple with implementation details, therefore might need to be updated if the implementation changes. In certain cases, it might be more useful to write tests that verify the actual result of using the test subject instead.
We use [Jest](https://github.com/facebook/jest) as our test runner. It is a powerful tool that has many magical features, i.e.: snapshot testing and automatic mocking. However, sometimes, overusing or misusing these features might make your tests less manageable. For example, if you use a snapshot to test whether the return value of a function matches your expectation, you forgo the opportunity to communicate the actual expected value in your test body. Therefore, our recommendation is to use these features sparingly at your own discretion.
## Submit changes
To submit changes as a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/), first you have to fork the repository. Then you have to create a branch and commit your changes to it. Finally, you can submit a pull request from that branch against the master branch of the canonical repository. The master branch should always be stable, meaning it should be in a functional state. If there is a feature that requires multiple PRs to complete and might put the master branch in an unstable state, you should commit to a feature branch instead.
Your code should follow our [coding guideline](#coding-guideline). Your commit messages also need to follow our [guideline](#commit-guideline). All changes must have some unit test coverage and should never lower the overall coverage of the project. Every PR gets verified automatically on Travis. Before they can be merged to the master branch, they must be reviewed and approved by one of the project maintainers. You can ask people to review your PR by requesting individual members or pinging the entire team using `@bigcommerce/checkout` handle.
### Coding guideline
We have enabled a set of [linting rules](https://github.com/bigcommerce/tslint-config) to help us maintain the stylistic consistency of our code. Visit [TSLint](https://palantir.github.io/tslint/rules/) for more information about the enabled rules. It is important to enforce these rules automatically because contributions from different people might vary in style. Nonetheless, there might be a few issues that cannot be caught programmatically because there are no existing rules. Usually these errors will be caught during the code review process. We usually use :tropical_drink: or :beer: in those comments, to indicate that they are stylistic issues only.
### Commit guideline
You should keep your commit messages clear and concise. More importantly, the commits themselves should have a clear focus. Otherwise, it can be difficult for us to examine the commit history if we ever need to investigate for the source of a bug.
We follow a specific format when writing commit messages. The format has annotations that allow us to generate the changelog automatically. i.e.:
```
fix(order): JIRA-1234 Fix order submission method not sending required payment details
```
Since community contributors do not have access to JIRA, they can use a Github issue number instead. For more information about the format, visit [@bigcommerce/validate-commits](https://github.com/bigcommerce/validate-commits). We recommend you to double check your commit messages before submitting your PR, making sure they do not have any mistakes.
### Developer commands
We have a list of commands that contributors can use while developing.
* `npm run test` - Run all the tests at once.
* `npm run test:watch` - Run the tests in watch mode. Press `w` for more options.
* `npm run test:coverage` - Run the tests and generate a coverage report.
* `npm run lint` - Lint the source code.
* `npm run docs` - Updates the documentation.
* `npm run release` - Release a new version to npm. This command does the following: it runs all the tests, compiles the code, creates a new tag, updates the changelog and documentation, and finally pushes the latest changes to Github and publishes the bundle to NPM.
### System requirement
Please ensure you have the following software installed.
* NodeJS `>=6`
* NPM `>=6`
## Submit issues
Create a Github issue if you find a bug in the source code or if you want to request a new feature. The maintainers of the project will review and triage the issue accordingly. If we decide to take on a task, we will raise a corresponding JIRA ticket to help us track the issue internally.
Please do not raise a Github issue if you just need general support or advice on how to use the library. Instead, submit your questions on StackOverflow. We actively watch that space and will answer your questions when possible.
## Release version
Everytime a PR is merged to the master branch, CircleCI will trigger a build automatically. However, it won't create a new Git release until it is approved by a person with write access to the repository. If you have write access, you can approve a release job by going to [CircleCI](https://circleci.com/gh/bigcommerce/workflows/checkout-sdk-js/tree/master) and look for the job you wish to approve. You can also navigate directly to the release job by clicking on the yellow dot next to the merged commit.
We follow semantic versioning convention when making releases. This means breaking changes can only be introduced in a major version. When we release a new version, we use a tool to automatically determine the version number based on the commit messages made since the last release. This way we can minimise the likelihood of making a mistake. If there is a special reason to override the version, you can do so by running the release command manually and using the `--release-as` flag to specify the version you want.
================================================
FILE: FAQS.md
================================================
# FAQs
- [Can I use both the Checkout SDK and BigCommerce APIs?](#can-i-use-both-the-checkout-sdk-and-bigcommerce-apis-)
- [Does the order of the actions matter?](#does-the-order-of-the-actions-matter-)
## Can I use both the Checkout SDK and BigCommerce APIs?
Concurrent requests can have unexpected results due to possible race conditions. When multiple actions are triggered by the Checkout SDK, they are enqueued so they run sequentially. If you are planning to interact with other BigCommerce APIs directly, make sure they are not concurrent.
## Does the order of the actions matter?
The order of the actions can have side effects. For example if the shipping method has already been selected, a few actions can clear out the selection, like modifying the cart or applying certain coupon codes.
================================================
FILE: LICENSE.md
================================================
(The MIT License)
Copyright (C) 2018-Present BigCommerce Inc.
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================
FILE: README.md
================================================
# @bigcommerce/checkout-sdk
Checkout JS SDK provides you with the tools you need to build your own checkout solution for a BigCommerce store.
The SDK has a convenient application interface for starting and completing a checkout flow. Behind the interface, it handles all the necessary interactions with our Storefront APIs and other payment SDKs. So you can focus on creating a checkout experience that is unique to your business.
## Table of contents
- [Features](#features)
- [Getting started](#getting-started)
- [Installation](#installation)
- [Using NPM package](#using-npm-package)
- [Using CDN URL](#using-cdn-url)
- [Requirements](#requirements)
- [Browser support](#browser-support)
- [Framework](#framework)
- [CORS](#cors)
- [Usage](#usage)
- [Initialize instance](#initialize-instance)
- [Load checkout](#load-checkout)
- [Sign in customer](#sign-in-customer)
- [Passwordless Sign-in](#passwordless-sign-in)
- [Continue as guest](#continue-as-guest)
- [Set shipping details](#set-shipping-details)
- [Set shipping address](#set-shipping-address)
- [Set shipping option](#set-shipping-option)
- [Set billing details](#set-billing-details)
- [Apply coupon or gift certificate](#apply-coupon-or-gift-certificate)
- [Execute spam protection check](#execute-spam-protection-check)
- [Submit payment and order](#submit-payment-and-order)
- [Load payment methods](#load-payment-methods)
- [Initialize payment method](#initialize-payment-method)
- [Submit order](#submit-order)
- [Finalize order](#finalize-order)
- [Load order](#load-order)
- [Subscribe to changes](#subscribe-to-changes)
- [Cancel requests](#cancel-requests)
- [FAQs](FAQS.md)
- [API reference](#api-reference)
- [See also](#see-also)
- [Notes](#notes)
- [Contribution](#contribution)
- [License](#license)
## Features
The [Checkout JS SDK](https://developer.bigcommerce.com/api-docs/cart-and-checkout/checkout-sdk) is a client-side JavaScript library for our [Storefront Checkout API](https://developer.bigcommerce.com/api-reference/cart-checkout/storefront-checkout-api). It provides all the methods that are required to complete a checkout process, for example:
* Sign in a customer and begin the checkout process
* Set shipping, billing and other required information
* Pay for the order and complete the checkout process
The library also provides integrations with all the payment methods supported by [Optimized One Page Checkout](https://support.bigcommerce.com/articles/Public/Optimized-Single-Page-Checkout), such as:
* PayPal Express
* Braintree
* Square
* Amazon
* Klarna
* AfterPay
Using this library in conjunction with your favorite UI framework, it is possible to build a bespoke checkout UI for a store, that can be augmented with additional features. With Bigcommerce's Open Checkout, we provide **Checkout JS** as our [reference implementation](https://github.com/bigcommerce/checkout-js) of a checkout written in React to get you started.
## Getting started
The Checkout JS SDK is the easiest way to build a bespoke checkout into your store’s theme. We have created the following tutorials to help you get started.
* [Open Checkout Quick Start](https://developer.bigcommerce.com/stencil-docs/customizing-checkout/open-checkout-quick-start) - In this quick start tutorial, we’ll configure our development environment and make a code change to a fork of BigCommerce’s Open Checkout.
* [Installing Custom Checkouts](https://developer.bigcommerce.com/stencil-docs/customizing-checkout/installing-custom-checkouts) - This article will outline how to package a custom checkout file, and install a custom checkout via the control panel.
## Installation
### Using NPM package
You can install this library using [npm](https://www.npmjs.com/get-npm).
```sh
npm install --save @bigcommerce/checkout-sdk
```
### Using CDN URL
You can also use this library by referencing a CDN URL.
```
https://checkout-sdk.bigcommerce.com/v1/loader.js
```
The main benefit of using the script URL above is that your application can automatically receive backward compatible updates and bug fixes from us, without having to manually perform an upgrade.
Once the above script is loaded, `checkoutKitLoader` instance will be available in the `window` and you can use it to load the module that you need for your application. i.e.:
```js
const module = await checkoutKitLoader.load('checkout-sdk');
const service = module.createCheckoutService();
```
Currently, there are three modules available for public use:
* **checkout-sdk**: This is the main module that contains all the public exports of the package.
* **checkout-button**: This sub-module can be used to initialize checkout buttons in the storefront once a cart is created (i.e.: cart page).
* **embedded-checkout**: This sub-module can be used to embed our Optimized One-Page Checkout in non-native storefronts (i.e.: Wordpress).
Please refer to the usage guide below for more information on each of them.
## Requirements
### Browser support
We release the library in ES5 so you don't have to do additional transpilation in order to use it. However, you do require the [Promise polyfill](https://github.com/stefanpenner/es6-promise) if you need to support older browsers, such as IE11.
On the other hand, the CDN version already contains the necessary polyfill for it to work in IE11.
### Framework
The library is framework agnostic. In other words, you can use it with any UI framework or library you want.
### CORS
As our Storefront Web APIs currently don't support CORS, you will not be able to use the library outside of a BigCommerce store.
## Usage
Below is a guide on how to use this library.
### Initialize instance
First, you have to create a `CheckoutService` instance.
```js
import { createCheckoutService } from '@bigcommerce/checkout-sdk';
const service = createCheckoutService();
```
#### Load checkout
Once you have the instance, you should load the current checkout and present the information to the customer.
```js
const checkoutId = '0cfd6c06-57c3-4e29-8d7a-de55cc8a9052';
const state = await service.loadCheckout(checkoutId);
console.log(state.data.getCheckout());
```
The checkout object contains various information about the checkout process, such as the cart, the grand total etc... Once the data is loaded, you can retrieve it by calling the getters provided by the state object.
```js
console.log(state.data.getCart());
console.log(state.data.getBillingAddress());
console.log(state.data.getShippingAddress());
```
In addition, you can also access the store's checkout configuration. The configuration object contains information about various settings related to checkout, such as the default currency of the store etc...
```js
console.log(state.data.getConfig());
```
### Sign in customer
Before you can collect other checkout information from the customer, you should first ask them to sign in. Once they are signed in, the checkout state will be populated with their personal details, such as their addresses.
```js
const state = await service.signInCustomer({ email: 'foo@bar.com', password: 'password123' });
console.log(state.data.getCustomer());
```
Alternatively, you can ask the customer to continue as a guest. Note that in this scenario, the email is stored
as part of the billing address, but is also accessible via the cart object.
```js
const state = await service.continueAsGuest({ email: 'foo@bar.com' });
console.log(state.data.getCart().email);
console.log(state.data.getBillingAddress().email);
```
#### Passwordless Sign-in
Customers could sign in using a single-use link sent to their email address. Once they click on the link, they will be redirected back to the store as a signed-in user.
Learn more about it at [CheckoutService#sendSignInEmail](docs/classes/CheckoutService.md#sendSignInEmail)
### Continue as guest
If your checkout settings allow it, your customers could continue the checkout as guests (without signing in).
```js
const state = await service.continueAsGuest({ email: 'foo@bar.com' });
console.log(state.data.getBillingAddress());
console.log(state.data.getCustomer());
```
Learn more about it at [CheckoutService#continueAsGuest](docs/classes/CheckoutService.md#continueasguest)
### Set shipping details
#### Set shipping address
To set a shipping destination for the checkout, you should ask the customer to provide an address. To do that, you need to render a set of form fields for collecting their details. The set of fields also includes all the custom fields configured by the merchant.
```js
const fields = state.data.getShippingAddressFields();
fields.forEach(field => {
console.log(field);
});
```
To set the shipping address, you can collate all the address fields and construct a request payload.
```js
const address = {
firstName: 'Test',
lastName: 'Tester',
address1: '12345 Testing Way',
city: 'Some City',
stateOrProvinceCode: 'CA',
postalCode: '95555',
countryCode: 'US',
phone: '555-555-5555',
email: 'test.tester@test.com'
};
const state = await service.updateShippingAddress(address);
console.log(state.data.getShippingAddress());
console.log(state.data.getShippingOptions());
```
#### Set shipping option
Once the address is provided, you can get a list of shipping options available for the address and the cost for each option.
Then, you can ask the customer to select a shipping option from the list.
```js
const address = state.data.getShippingAddress();
const options = state.data.getShippingOptions();
const state = await service.selectShippingOption(options[address.id].id);
console.log(state.data.getSelectedShippingOption());
```
### Set billing details
In order to complete the checkout process, you also need to collect a billing address from the customer.
```js
const state = await service.updateBillingAddress(address);
console.log(state.data.getBillingAddress());
```
### Apply coupon or gift certificate
You may also want to accept any coupon code or gift certificate provided by the customer.
```js
const state = await service.applyCoupon('COUPON');
console.log(state.data.getOrder().coupon);
```
```js
const state = await service.applyGiftCertificate('GIFT');
console.log(state.data.getOrder().giftCertificate);
```
You can also allow the customer to remove any coupon code or gift certificate previously applied.
```js
await service.removeCoupon('COUPON');
await service.removeGiftCertificate('GIFT');
```
### Execute spam protection check
You can also enable bot protection to prevent bots and other types of automated abuse from creating orders. Note that enabling this feature increases checkout friction, which may affect conversions. As such, we recommend leaving this feature out if your store is not encountering bots.
```js
await service.executeSpamCheck();
```
Learn more about it at [CheckoutService#executeSpamCheck](docs/classes/CheckoutService.md#executespamcheck).
### Submit payment and order
#### Load payment methods
Before you can place the order, you need to collect payment details from the customer. In order to do that, you must first load and present a list of available payment methods to the customer.
```js
const state = await service.loadPaymentMethods();
console.log(state.data.getPaymentMethods());
```
#### Initialize payment method
After that, you should initialize the payment method so they are ready to accept payment details.
```js
await service.initializePayment({ methodId: 'braintree' });
```
Some payment methods require you to provide additional initialization options. For example, Amazon requires a container ID in order to initialize their payment widget. Otherwise, they will not work properly.
```js
await service.initializePayment({
methodId: 'amazon',
amazon: {
container: 'walletWidget',
},
});
```
#### Submit order
And then, you can ask the customer to provide payment details required by their chosen payment method. If the method is executed successfully, you will create an order and thereby complete the checkout process.
We may require human verification to be completed before payment can be processed, which will be handled during this step.
```js
const payment = {
methodId: 'braintree',
paymentData: {
ccExpiry: { month: 10, year: 20 },
ccName: 'BigCommerce',
ccNumber: '4111111111111111',
ccType: 'visa',
ccCvv: 123,
},
};
const state = await service.submitOrder({ payment });
console.log(state.getOrder());
window.location.assign('/order-confirmation');
```
If the submission is successful, you should redirect the customer to the order confirmation page.
#### Finalize order
Also, for some payment methods, the customer may be asked to enter their payment details on an external website.
For these methods, you must finalize the order when the customer is redirected back to the checkout page in order to
complete the checkout flow. This should be done in the background before you present any checkout information to the customer.
```js
await service.loadCheckout();
try {
await service.finalizeOrderIfNeeded();
window.location.assign('/order-confirmation');
} catch (error) {
if (error.type !== 'order_finalization_not_required') {
throw error;
}
}
// Render the checkout view
```
Similarly, if the order finalization is successful, you should redirect the customer to the order confirmation page.
### Load order
Once the order is created, you can make a call to retrieve it. This should be done on the order confirmation page so that you can present the final order to the customer.
```js
const orderId = 123;
const state = await service.loadOrder(orderId);
console.log(state.data.getOrder());
```
### Subscribe to changes
Your UI should react to changes to the checkout state. When there is a change, you should present the latest information to the customer. You can do that by subscribing to the checkout state.
The subscriber gets triggered every time there is a change in the state. If the change affects your view, you should re-render it in order to reflect the latest update. The subscriber provides a state object which you can use to get specific checkout information. It also provides meta information such as loading statuses, error details etc...
```js
service.subscribe(state => {
// Return the current checkout
console.log(state.data.getCheckout());
// Return an error object if unable to load checkout
console.log(state.errors.getLoadCheckoutError());
// Return `true` if in the process of loading checkout
console.log(state.statuses.isLoadingCheckout());
});
```
If you are only interested in certain parts of the state, you can filter out irrelevant changes by providing a filter function to the subscriber.
```js
const filter = state => state.data.getCart();
service.subscribe(state => {
console.log(state.data.getCart())
}, filter);
```
You can retrieve the same state object outside of a subscriber if there is a need for it.
```js
const state = service.getState();
console.log(state);
```
### Cancel requests
If you need to cancel a request before it is complete, you can provide a `Timeout` object when making the request. An example use case might be to implement a UI that updates the shipping address whenever there is a change - so you want to abort any pending requests and only take the latest one.
```js
import { createTimeout } from '@bigcommerce/checkout-js-sdk';
const address = { countryCode: 'US' };
const timeout = createTimeout();
service.updateShippingAddress(address, { timeout });
timeout.complete(); // Aborts the update
```
## API reference
We provide an extensive [API reference](docs/README.md).
The functions provided by the SDK are:
* [createCheckoutService](docs/README.md#createcheckoutservice)
* [createCheckoutButtonInitializer](docs/README.md#createcheckoutbuttoninitializer)
* [createEmbeddedCheckoutMessenger](docs/README.md#createembeddedcheckoutmessenger)
* [createLanguageService](docs/README.md#createlanguageservice)
* [createCurrencyService](docs/README.md#createcurrencyservice)
* [createStepTracker](docs/README.md#createsteptracker)
* [embedCheckout](docs/README.md#embedcheckout)
## See also
* [Checkout JS](https://github.com/bigcommerce/checkout-js) - This is our reference implementation of a checkout built using the Checkout JS SDK.
* [Storefront APIs](https://developer.bigcommerce.com/docs/storefront/cart-checkout/guide/rest-storefront) - The documentation for Storefront Checkout & Cart Web APIs.
## Notes
* If you are using this library on the checkout page of a Stencil theme, you must have [Optimized One Page Checkout](https://support.bigcommerce.com/articles/Public/Optimized-Single-Page-Checkout/) enabled. Otherwise, you will not be able to preview your changes.
* You should only use this library on a HTTPS page unless you are developing locally.
* In order to keep up to date on the latest changes, please subscribe to this repository by clicking on the [watch](https://github.com/bigcommerce/checkout-sdk-js/subscription) button.
## Contribution
We actively maintain and add new features to the library in order to support our official checkout (Optimized Checkout). But we also accept contributions from the community.
If you want to contribute, please refer to the [contribution guide](CONTRIBUTING.md).
## License
MIT
================================================
FILE: SECURITY.md
================================================
# Reporting security issues
BigCommerce is dedicated to the responsible disclosure of security vulnerabilities.
If you have found a security vulnerability in an active open-source repository created and owned by BigCommerce, please report it to our [public bug bounty program](https://bugcrowd.com/bigcommerce). If you would prefer to submit via email, please send your report to [security@bigcommerce.com](mailto:security@bigcommerce.com).
We ask that you **do not** open a public GitHub issue to report security concerns.
_Note: Only submissions to our bounty program on BugCrowd will be eligible for bounties. Bounty eligibility and amounts are determined according to the program guidelines._
_Note: Bugs in 3rd-party modules and/or dependencies should be reported to the owners/maintainers or those modules and/or dependencies, BigCommerce has no control or authority over third party content._
Thank you in advance for collaborating with us to help protect us and our customers.
================================================
FILE: commit-validation.json
================================================
{
"scopes": [
"billing",
"cart",
"checkout",
"checkout-button",
"common",
"embedded-checkout",
"forms",
"order",
"payment",
"shipping",
"shopper",
"spam-protection",
"extension"
]
}
================================================
FILE: dist/cjs/checkout-button.js
================================================
/*! For license information please see checkout-button.js.LICENSE.txt */
(()=>{var e={3825(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(4475)),i=u(n(8015)),o=u(n(8615)),a=u(n(9504)),s=u(n(4351)),c=u(n(3072));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}function l(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:o.APPLICATION_JSON;return e&&(0,a.includes)(t,o.APPLICATION_JSON)?JSON.stringify(e):e}},{key:"fromResponse",value:function(e){var t=this.parseResponseHeaders(e.getAllResponseHeaders()),n=e.getResponseHeader("Content-Type"),r=e.status,i=e.statusText,s="response"in e?e.response:e.responseText;return s&&(0,a.includes)(n,o.APPLICATION_JSON)&&(s=JSON.parse(s)),{data:s,headers:t,status:r,statusText:i}}},{key:"parseResponseHeaders",value:function(e){return(e?e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/):[]).reduce(function(e,t){var n=t.split(":"),r=(n.shift()||"").trim();return r?(0,i.default)({},e,function(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.toLowerCase(),n.join(":").trim())):e},{})}}],[{key:"create",value:function(){return new e}}])}()},5101(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},n(e)}function r(e,t){for(var n=0;n=200&&e.status<300}}])&&l(t.prototype,n),u&&l(t,u),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,u}()},6207(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!Array.isArray(e)&&"string"!=typeof e)&&-1!==e.indexOf(t)}},5916(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"includes",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"isNil",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"omitEmptyStringAndNil",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"omitNil",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"omitProperty",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"toNumber",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"toSnakeCase",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"toString",{enumerable:!0,get:function(){return l.default}});var r=p(n(6207)),i=p(n(848)),o=p(n(216)),a=p(n(1144)),s=p(n(2433)),c=p(n(2265)),u=p(n(3897)),d=p(n(987)),l=p(n(6645));function p(e){return e&&e.__esModule?e:{default:e}}},7914(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return""===e}},223(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)||(0,i.default)(e)};var r=o(n(7914)),i=o(n(848));function o(e){return e&&e.__esModule?e:{default:e}}},848(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e}},216(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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"===n(e)&&!Array.isArray(e)}},1144(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,r.default)};var r=o(n(223)),i=o(n(2265));function o(e){return e&&e.__esModule?e:{default:e}}},2433(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,r.default)};var r=o(n(848)),i=o(n(2265));function o(e){return e&&e.__esModule?e:{default:e}}},2265(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e)?Object.keys(e).reduce(function(n,r){var i=e[r];return t(i)||(n[r]=i),n},{}):e};var r,i=(r=n(216))&&r.__esModule?r:{default:r}},3897(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return parseFloat(e)||0}},987(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"!=typeof e?e:e.replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()}},6645(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?e:"number"!=typeof e||Number.isNaN(e)?"":e.toString()}},2742(e,t,n){"use strict";t.U=function(e){return i.default.create(e)};var r,i=(r=n(3825))&&r.__esModule?r:{default:r}},9504(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(7542)),i=a(n(3373)),o=a(n(2815));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function c(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{}).authToken;return(0,r.omitNil)({Authorization:e})},t.mapToInstrumentPayload=function(){var e,t,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=a.providerName,c=a.defaultInstrument,u=(0,r.omitNil)({name:s});return(0,r.omitNil)({provider:u,credit_card:(e=a,t=e.creditCard,n=void 0===t?{}:t,o=(0,r.omitNil)(n.threeDSecure),(0,r.omitNil)({cardholder_name:n.cardholderName,number:n.number,month:n.month,year:n.year,verification_code:n.verificationCode,issue_month:n.issueMonth,issue_year:n.issueYear,issue_number:n.issueNumber,track_data:n.trackData,is_manual_entry:n.isManualEntry,icc_data:n.iccData,fallback_reason:n.fallbackReason,is_contactless:n.isContactless,encrypted_pin_cryptogram:n.encryptedPinCryptogram,encrypted_pin_ksn:n.encryptedPinKsn,three_d_secure:o})),billing_address:i(a.billingAddress),default_instrument:c})},t.mapToTrustedShippingAddressPayload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e.shippingAddress)?(0,r.omitNil)({shipping_addresses:e.shippingAddress.map(function(e){return i(e)})}):(0,r.omitNil)({shipping_address:i(e.shippingAddress)})};var r=n(5916);function i(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(e=n.provinceCode,t=n.province,(0,r.omitNil)({code:e,name:t}));return(0,r.omitNil)({address_line_1:n.addressLine1,address_line_2:n.addressLine2,city:n.city,company:n.company,country_code:n.countryCode,email:n.email,first_name:n.firstName,last_name:n.lastName,phone:n.phone,postal_code:n.postCode,state:i})}},1953(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9440),i=n(540);t.default=function(e,t){var n=(t||{}).equalityCheck,o=void 0===n?i:n;return function(t,n){return Object.keys(e).reduce(function(i,a){var s,c=e[a],u=t?t[a]:void 0,d=c(u,n);return o(u,d)&&i?i:r.assign({},i,((s={})[a]=d,s))},t||{})}}},3050(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1635),i=n(9440),o=n(540);t.default=function(){for(var e=[],t=0;t0&&(s=s.pipe(a.distinctUntilChanged(function(e,n){return o.every(function(r){return t._options.equalityCheck(r(e),r(n))})}))),i&&!1===i.initial&&(s=s.pipe(a.skip(1)));var c=[s.subscribe(e),this._notification$.subscribe(e)];return function(){return c.forEach(function(e){return e.unsubscribe()})}},e.prototype._transformStates=function(e,t){try{var n=!1===this._options.shouldWarnMutation?this._reducer(e.state,t):c.default(this._reducer(e.state,t),{equalityCheck:this._options.equalityCheck,previousValue:e.state});return{state:n,transformedState:this._options.stateTransformer(n)}}catch(n){return this._getDispatchError(t.meta&&t.meta.queueId).next(n),{state:e.state,transformedState:e.transformedState}}},e.prototype._dispatchAction=function(e){return this._dispatchObservableAction(e.error?o.throwError(e):o.of(e))},e.prototype._dispatchObservableAction=function(e,t){var n=this;return void 0===t&&(t={}),new Promise(function(r,s){var c=n._getDispatchError(t.queueId),u=n._options.actionTransformer(o.from(e).pipe(a.map(function(e){return t.queueId?i.merge({},e,{meta:{queueId:t.queueId}}):e})));n._getDispatcher(t.queueId).next(o.from(u).pipe(a.map(function(e,t){return 0===t&&c.pipe(a.first()).subscribe(s),e.error&&s(e.payload),e}),a.catchError(function(e){return s(e instanceof Error?e:e.payload),o.of(e)}),a.tap({complete:function(){r(n.getState())}})))})},e.prototype._dispatchThunkAction=function(e,t){var n=this;return void 0===t&&(t={}),this._dispatchObservableAction(o.defer(function(){return e(n)}),t)},e.prototype._getDispatcher=function(e){return void 0===e&&(e="default"),this._dispatchers[e]||(this._dispatchers[e]=new o.Subject,this._dispatchQueue$.next(this._dispatchers[e])),this._dispatchers[e]},e.prototype._getDispatchError=function(e){return void 0===e&&(e="default"),this._errors[e]||(this._errors[e]=new o.Subject),this._errors[e]},e}();t.default=p},8820(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9440),i=n(540);t.default=function e(t,n){try{var o=n||{},a=o.equalityCheck,s=void 0===a?i:a,c=o.previousValue,u=void 0===c?null:c;return s(t,u)&&Object.isFrozen(u)?u:Object.isFrozen(t)||!Array.isArray(t)&&!r.isPlainObject(t)?t:Array.isArray(t)?Object.freeze(t.map(function(t,n){return e(t,{equalityCheck:s,previousValue:Array.isArray(u)?u[n]:void 0})})):Object.freeze(Object.getOwnPropertyNames(t).reduce(function(n,r){return n[r]=e(t[r],{equalityCheck:s,previousValue:u&&u.hasOwnProperty(r)?u[r]:void 0}),n},{}))}catch(e){if(e instanceof TypeError)return t;throw e}}},9526(e,t,n){"use strict";n(76).default;var r=n(1953);t.HY=r.default;var i=n(3050);t.om=i.default;var o=n(7963);t.VP=o.default;var a=n(7821);t.iN=a.default;var s=n(6142);t.fQ=s.default;var c=n(8820);t.ol=c.default},6019(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e.subscribe||"function"==typeof e.then}},1429(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},1058(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},9165(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new r.default;return new i.default(t,e)};var r=n(9828),i=n(5470)},9828(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.build=function(e,t,n){var r=this,i=document.createElement("form");return i.style.display="none",i.setAttribute("action",e),i.setAttribute("method","POST"),i.setAttribute("target",n||"_top"),Object.keys(t).forEach(function(e){var n=t[e];i.appendChild(r._createInput(n,e))}),i},e.prototype._createInput=function(e,t){var n=document.createElement("input");return n.setAttribute("name",t),n.setAttribute("type","hidden"),n.setAttribute("value",e),n},e}();t.default=n},5470(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9783),i=function(){function e(e,t){this._formBuilder=e,this._options=t}return e.prototype.postForm=function(e,t,n,r){var i=this._formBuilder.build(this._prependHost(e),t,r);window.addEventListener("unload",function e(){window.removeEventListener("unload",e),n&&n()}),document.body.appendChild(i),i.submit()},e.prototype._prependHost=function(e){return this._options&&this._options.host&&!(0,r.isAbsoluteUrl)(e)?(0,r.joinPaths)(this._options.host,e):e},e}();t.default=i},8686(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormPoster=t.createFormPoster=void 0;var r=n(9165);Object.defineProperty(t,"createFormPoster",{enumerable:!0,get:function(){return r.default}});var i=n(5470);Object.defineProperty(t,"FormPoster",{enumerable:!0,get:function(){return i.default}})},9783(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsoluteUrl=function(e){return/^https?:\/\//.test(e)},t.joinPaths=function(e,t){return"".concat((n=e,n.replace(/\/$/,"")),"/").concat(function(e){return e.replace(/^\//,"")}(t));var n}},2356(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTerminalCacheKeyMap=function(e){return e.hasOwnProperty("cacheKey")},t.isRootCacheKeyMap=function(e){return e.hasOwnProperty("parentMap")}},3909(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1635),i=n(9440),o=r.__importDefault(n(540)),a=n(2356),s=function(){function e(e){this._lastId=0,this._map={maps:[]},this._usedMaps=[],this._options=r.__assign({isEqual:o.default,maxSize:0,onExpire:i.noop},e)}return e.prototype.getKey=function(){for(var e=[],t=0;ti});var r=n(5889),i=function(){function e(){this._cache={}}return e.prototype.read=function(e,t){var n=this.getKey(e,t.params);return this._cache[n]||null},e.prototype.write=function(e,t,n){var r=this.getKey(e,t.params);this._cache[r]=n},e.prototype.getKey=function(e,t){return void 0===t&&(t={}),0===Object.keys(t).length?e:"".concat(e,"?").concat(r.stringify(t))},e}()},321(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(168),i=n(1675),o=n(5861),a=n(4670);function s(e){return new a.A(new o.A,new i.A,r,e)}},6889(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2024);function i(e){return new r.A(e)}},4043(e,t,n){"use strict";n.r(t),n.d(t,{RequestSender:()=>o.A,Timeout:()=>a.A,createRequestSender:()=>r.A,createTimeout:()=>i.A});var r=n(321),i=n(6889),o=n(4670),a=n(2024)},4843(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}n.d(t,{A:()=>r})},1675(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1635),i=n(710),o=/application\/(\w+\+)?json/,a=/application\/x-www-form-urlencoded/;const s=function(){function e(){}return e.prototype.toRequestBody=function(e){var t=e.headers?this._getHeader(e.headers,"Content-Type"):"";if(e.body){if(o.test(t))return JSON.stringify(e.body);if(a.test(t))return(0,i.A)(e.body)}return e.body},e.prototype.toResponse=function(e){var t=this._parseResponseHeaders(e.getAllResponseHeaders());return{body:this._parseResponseBody("response"in e?e.response:e.responseText,t),headers:t,status:e.status,statusText:e.statusText}},e.prototype._parseResponseBody=function(e,t){var n=this._getHeader(t,"Content-Type");return e&&o.test(n)?JSON.parse(e):e},e.prototype._parseResponseHeaders=function(e){return(e?e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/):[]).reduce(function(e,t){var n,i=t.split(":"),o=(i.shift()||"").trim();return o?(0,r.__assign)((0,r.__assign)({},e),((n={})[o.toLowerCase()]=i.join(":").trim(),n)):e},{})},e.prototype._getHeader=function(e,t){return e&&t&&(e[t]||e[t.toLowerCase()])||""},e}()},5861(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(5889);const i=function(){function e(){}return e.prototype.createRequest=function(e,t){var n=new XMLHttpRequest;return this._configureRequest(n,e,t),n},e.prototype._configureRequest=function(e,t,n){void 0===n&&(n={}),e.open(n.method||"GET",this._formatUrl(t,n.params,n.encodeParams),!0),n.headers&&this._configureRequestHeaders(e,n.headers),"boolean"==typeof n.credentials&&(e.withCredentials=n.credentials),"number"==typeof n.timeout&&(e.timeout=n.timeout)},e.prototype._configureRequestHeaders=function(e,t){Object.keys(t).filter(function(e){return null!==t[e]}).forEach(function(n){e.setRequestHeader(n,t[n])})},e.prototype._formatUrl=function(e,t,n){return void 0===n&&(n=!0),t&&0!==Object.keys(t).length?"".concat(e,"?").concat(r.stringify(t,{encode:n})):e},e}()},4670(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(1635),i=n(35),o=n.n(i),a=n(4325),s=n(4843),c=n(2024);const u=function(){function e(e,t,n,r){void 0===r&&(r={}),this._requestFactory=e,this._payloadTransformer=t,this._cookie=n,this._options=r,this._cache=this._options.cache||new a.g}return e.prototype.sendRequest=function(e,t){var n=this,r=this._mergeDefaultOptions(e,t),i=this._getCachedRequest(e,r);if(i)return Promise.resolve(i);var o=this._requestFactory.createRequest(this._prependHost(e),r);return new Promise(function(t,i){var a=function(){var a=n._payloadTransformer.toResponse(o);a.status>=200&&a.status<300?(n._cacheRequest(e,r,a),t(a)):i(a)};o.onload=a,o.onerror=a,o.onabort=a,o.ontimeout=a,r.timeout instanceof c.A&&(r.timeout.onComplete(function(){return o.abort()}),r.timeout.start()),(0,s.A)(r.timeout)&&r.timeout.then(function(){return o.abort()}),o.send(n._payloadTransformer.toRequestBody(r))})},e.prototype.get=function(e,t){return this.sendRequest(e,(0,r.__assign)((0,r.__assign)({},t),{method:"GET"}))},e.prototype.post=function(e,t){return this.sendRequest(e,(0,r.__assign)((0,r.__assign)({},t),{method:"POST"}))},e.prototype.put=function(e,t){return this.sendRequest(e,(0,r.__assign)((0,r.__assign)({},t),{method:"PUT"}))},e.prototype.patch=function(e,t){return this.sendRequest(e,(0,r.__assign)((0,r.__assign)({},t),{method:"PATCH"}))},e.prototype.delete=function(e,t){return this.sendRequest(e,(0,r.__assign)((0,r.__assign)({},t),{method:"DELETE"}))},e.prototype._mergeDefaultOptions=function(e,t){var n={credentials:!0,encodeParams:!0,headers:{Accept:"application/json, text/plain, */*"},method:"GET"},r=this._cookie.get("XSRF-TOKEN");return r&&n.headers&&!this._isAssetRequest(e,t)&&this._isLocalRequest(e)&&(n.headers["X-XSRF-TOKEN"]=r),t&&t.body&&n.headers&&(n.headers["Content-Type"]="application/json"),o()({},n,t)},e.prototype._prependHost=function(e){return!this._options.host||/^https?:\/\//.test(e)?e:"".concat(this._options.host.replace(/\/$/,""),"/").concat(e.replace(/^\//,""))},e.prototype._shouldCacheRequest=function(e){return"GET"===(e.method||"GET").toUpperCase()&&Boolean(e.cache)},e.prototype._getCachedRequest=function(e,t){return this._shouldCacheRequest(t)?this._cache.read(e,t):null},e.prototype._cacheRequest=function(e,t,n){this._shouldCacheRequest(t)&&this._cache.write(e,t,n)},e.prototype._isAssetRequest=function(e,t){return(!t||!t.method||"GET"===t.method.toUpperCase())&&/\.(png|gif|jpe?g|css|js|json|svg|html?)$/.test(e.split("?")[0])},e.prototype._isLocalRequest=function(e){return!!e.match(new RegExp("^(https?:)?//"+window.location.hostname))||!e.match(new RegExp("^(https?:)?//"))},e}()},2024(e,t,n){"use strict";n.d(t,{A:()=>r});const r=function(){function e(e){var t=this;this._delay=e,this._promise=new Promise(function(e){t._resolve=e})}return e.prototype.onComplete=function(e){this._promise.then(e)},e.prototype.complete=function(){this._resolve(),void 0!==this._timeoutToken&&clearTimeout(this._timeoutToken)},e.prototype.start=function(){var e=this;void 0!==this._delay&&(this._timeoutToken=setTimeout(function(){return e.complete()},this._delay))},e}()},710(e,t,n){"use strict";function r(e){return"object"!=typeof e||null===e?e:Object.keys(e).filter(function(t){return void 0!==e[t]}).map(function(t){var n=e[t];return"string"==typeof n?"".concat(t,"=").concat(encodeURIComponent(n)):"".concat(t,"=").concat(encodeURIComponent(JSON.stringify(n)||""))}).join("&")}n.d(t,{A:()=>r})},5889(e,t,n){"use strict";const r=n(803),i=n(1915),o=n(1657),a=n(3814);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function l(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function f(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===n?n:u(n,e);r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e},Object.create(null))}t.extract=p,t.parse=f,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[c(t,e),"=",c(r,e)].join("")]:[[n,c(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:f(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=l(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let s=t.stringify(a,n);s&&(s=`?${s}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${c(e.fragmentIdentifier,n)}`),`${r}${s}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:i,query:o,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},5477(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.canSupportRel=function(e){var t=document.createElement("link");return!!(t.relList&&t.relList.supports&&t.relList.supports(e))},e}();t.default=n},471(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new o.default(new i.default,(0,r.createRequestSender)())};var r=n(4043),i=n(5477),o=n(4886)},9722(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new o.default(new i.default,(0,r.createRequestSender)())};var r=n(4043),i=n(5477),o=n(7995)},5895(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||(r=(0,i.default)()),r};var r,i=n(471)},282(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||(r=(0,i.default)()),r};var r,i=n(9722)},315(e,t,n){"use strict";t.vQ=t.Hb=t.B2=void 0;var r=n(4886);Object.defineProperty(t,"B2",{enumerable:!0,get:function(){return r.default}});var i=n(471);Object.defineProperty(t,"Hb",{enumerable:!0,get:function(){return i.default}});var o=n(5895);Object.defineProperty(t,"vQ",{enumerable:!0,get:function(){return o.default}});n(7995),n(9722),n(282)},4886(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._browserSupport=e,this._requestSender=t,this._scripts={},this._preloadedScripts={}}return e.prototype.loadScript=function(e,t){var n=this;return this._scripts[e]||(this._scripts[e]=new Promise(function(r,i){var o=document.createElement("script"),a=t||{},s=a.async,c=void 0!==s&&s,u=a.attributes,d=void 0===u?{}:u;Object.keys(d).forEach(function(e){o.setAttribute(e,d[e])}),o.onload=function(){return r()},o.onreadystatechange=function(){return r()},o.onerror=function(t){delete n._scripts[e],i(t)},o.async=c,o.src=e,document.body.appendChild(o)})),this._scripts[e]},e.prototype.loadScripts=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.loadScript(e,t)})).then(function(){})},e.prototype.preloadScript=function(e,t){var n=this;return this._preloadedScripts[e]||(this._preloadedScripts[e]=new Promise(function(r,i){var o=(t||{}).prefetch,a=void 0!==o&&o?"prefetch":"preload";if(n._browserSupport.canSupportRel(a)){var s=document.createElement("link");s.as="script",s.rel=a,s.href=e,s.onload=function(){r()},s.onerror=function(){delete n._preloadedScripts[e],i()},document.head.appendChild(s)}else n._requestSender.get(e,{credentials:!1,headers:{Accept:"application/javascript"}}).then(function(){return r()}).catch(i)})),this._preloadedScripts[e]},e.prototype.preloadScripts=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.preloadScript(e,t)})).then(function(){})},e}();t.default=n},7995(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._browserSupport=e,this._requestSender=t,this._stylesheets={},this._preloadedStylesheets={}}return e.prototype.loadStylesheet=function(e,t){var n=this;return this._stylesheets[e]||(this._stylesheets[e]=new Promise(function(r,i){var o=document.createElement("link"),a=t||{},s=a.prepend,c=void 0!==s&&s,u=a.attributes,d=void 0===u?{}:u;Object.keys(d).forEach(function(e){o.setAttribute(e,d[e])}),o.onload=function(){return r()},o.onerror=function(t){delete n._stylesheets[e],i(t)},o.rel="stylesheet",o.href=e,c&&document.head.children[0]?document.head.insertBefore(o,document.head.children[0]):document.head.appendChild(o)})),this._stylesheets[e]},e.prototype.loadStylesheets=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.loadStylesheet(e,t)})).then(function(){})},e.prototype.preloadStylesheet=function(e,t){var n=this;return this._preloadedStylesheets[e]||(this._preloadedStylesheets[e]=new Promise(function(r,i){var o=(t||{}).prefetch,a=void 0!==o&&o,s=a?"prefetch":"preload";if(n._browserSupport.canSupportRel(s)){var c=document.createElement("link");c.as="style",c.rel=a?"prefetch":"preload",c.href=e,c.onload=function(){r()},c.onerror=function(t){delete n._preloadedStylesheets[e],i(t)},document.head.appendChild(c)}else n._requestSender.get(e,{credentials:!1,headers:{Accept:"text/css"}}).then(function(){return r()}).catch(i)})),this._preloadedStylesheets[e]},e.prototype.preloadStylesheets=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.preloadStylesheet(e,t)})).then(function(){})},e}();t.default=n},6472(e,t,n){"use strict";t.Jt=void 0,n(8914),n(9690),n(3255),n(523),n(7571),n(2100),n(3302),n(1045),n(5160),n(9356),n(9225),n(72),n(236),n(3069),n(441),n(7520),n(3686),n(648),n(1439),n(4651),n(9014),n(3761),n(9060),n(5886);var r=n(9262);t.Jt=r,n(8990)},5886(e,t,n){"use strict";var r=n(8914),i=n(9690),o=n(72);e.exports=function(){return r()||i()||o()}},8914(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/Android/i.test(e)}},9690(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/CrOS/i.test(e)}},3255(e,t,n){"use strict";var r=n(5160),i=n(3761),o=n(523),a=n(9014),s=n(9060);e.exports=function(e){return!(-1===(e=e||window.navigator.userAgent).indexOf("Chrome")&&-1===e.indexOf("CriOS")||r(e)||i(e)||o(e)||a(e)||s(e))}},523(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("DuckDuckGo/")}},5160(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Edge/")||-1!==e.indexOf("Edg/")}},9356(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/Firefox/i.test(e)}},7571(e,t,n){"use strict";var r=n(1045);e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE")||r(e)}},3302(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 10")}},1045(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Trident/7")}},2100(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 9")}},236(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/FxiOS/i.test(e)}},3069(e,t,n){"use strict";var r=n(72);e.exports=function(e){return e=e||window.navigator.userAgent,r(e)&&function(e){return/\bGSA\b/.test(e)}(e)}},441(e,t,n){"use strict";var r=n(72),i=n(236),o=/webkit/i;e.exports=function(e){return e=e||window.navigator.userAgent,r(e)&&function(e){return o.test(e)}(e)&&!function(e){return e.indexOf("CriOS")>-1}(e)&&!i(e)&&!function(e){return e.indexOf("FBAN")>-1}(e)}},7520(e,t,n){"use strict";var r=n(3686);e.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,r(e)&&!t}},3686(e,t,n){"use strict";var r=n(72),i=n(3069);e.exports=function(e){return e=e||window.navigator.userAgent,!!r(e)&&(!!i(e)||/.+AppleWebKit(?!.*Safari)/i.test(e))}},648(e,t,n){"use strict";var r=n(3686);e.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,r(e)&&t}},72(e,t,n){"use strict";var r=n(1439);e.exports=function(e,t,n){void 0===t&&(t=!0),e=e||window.navigator.userAgent;var i=/iPhone|iPod|iPad/i.test(e);return t?i||r(e,n):i}},1439(e){"use strict";e.exports=function(e,t){return e=e||window.navigator.userAgent,t=t||window.document,/Mac|iPad/i.test(e)&&"ontouchend"in t}},4651(e,t,n){"use strict";var r=n(236),i=n(9356);e.exports=function(e){return e=e||window.navigator.userAgent,r(e)||/iPhone|iPod|iPad|Mobile|Tablet/i.test(e)&&i(e)}},9014(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("OPR/")||-1!==e.indexOf("Opera/")||-1!==e.indexOf("OPT/")}},9225(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/^Mozilla\/5\.0.*Safari\//.test(e)&&!/(iPhone|iPad|iPod|Android|SM-)/i.test(e)&&!/Chrome|CriOS|FxiOS|OPiOS|mercury/i.test(e)}},3761(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/SamsungBrowser/i.test(e)}},9060(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Silk/")}},8990(e,t,n){"use strict";var r=n(3255);e.exports=function(e){return e=e||window.navigator.userAgent,!!window.PaymentRequest&&(!r(e)||function(e){var t=e.match(/Chrome\/(\d+)\./);return!!t&&parseInt(t[1],10)>=61}(e))}},9262(e,t,n){"use strict";var r=n(8914),i=n(236),o=n(3686),a=n(3255),s=n(3761),c=n(523);function u(e){return(e=e||window.navigator.userAgent).indexOf("Opera Mini")>-1}e.exports=function(e){return e=e||window.navigator.userAgent,!(o(e)||i(e)||function(e){return e=e||window.navigator.userAgent,!!r(e)&&/Version\/[\d.]+/i.test(e)&&!u(e)&&!c(e)}(e)||u(e)||function(e){var t=(e=e||window.navigator.userAgent).match(/CriOS\/(\d+)\./);return!!t&&parseInt(t[1],10)<48}(e)||function(e){return!a(e)&&!s(e)&&/samsung/i.test(e)}(e))}},2437(e,t,n){"use strict";e.exports={number:n(36),expirationDate:n(1644),expirationMonth:n(188),expirationYear:n(7209),cvv:n(3221),postalCode:n(583),creditCardType:n(2921)}},36(e,t,n){"use strict";var r=n(1653),i=n(2921);function o(e,t,n){return{card:e,isPotentiallyValid:t,isValid:n}}e.exports=function(e,t){var n,a,s,c,u;if(t=t||{},"number"==typeof e&&(e=String(e)),"string"!=typeof e)return o(null,!1,!1);if(e=e.replace(/\-|\s/g,""),!/^\d*$/.test(e))return o(null,!1,!1);if(0===(n=i(e)).length)return o(null,!1,!1);if(1!==n.length)return o(null,!0,!1);if(a=n[0],t.maxLength&&e.length>t.maxLength)return o(a,!1,!1);for(s=a.type===i.types.UNIONPAY&&!0!==t.luhnValidateUnionPay||r(e),u=Math.max.apply(null,a.lengths),t.maxLength&&(u=Math.min(t.maxLength,u)),c=0;cfunction(e){for(var t=3,n=0;nt?e[n]:t;return t}(n)?t(!1,!1):t(!0,!0):t(!1,!1)}},1644(e,t,n){"use strict";var r=n(9376),i=n(188),o=n(7209);function a(e,t,n,r){return{isValid:e,isPotentiallyValid:t,month:n,year:r}}e.exports=function(e,t){var n,s,c,u;if("string"==typeof e)e=e.replace(/^(\d\d) (\d\d(\d\d)?)$/,"$1/$2"),n=r(e);else{if(null===e||"object"!=typeof e)return a(!1,!1,null,null);n={month:String(e.month),year:String(e.year)}}if(s=i(n.month),c=o(n.year,t),s.isValid){if(c.isCurrentYear)return a(u=s.isValidForThisYear,u,n.month,n.year);if(c.isValid)return a(!0,!0,n.month,n.year)}return s.isPotentiallyValid&&c.isPotentiallyValid?a(!1,!0,null,null):a(!1,!1,null,null)}},188(e){"use strict";function t(e,t,n){return{isValid:e,isPotentiallyValid:t,isValidForThisYear:n||!1}}e.exports=function(e){var n,r,i=(new Date).getMonth()+1;return"string"!=typeof e?t(!1,!1):""===e.replace(/\s/g,"")||"0"===e?t(!1,!0):/^\d*$/.test(e)?(n=parseInt(e,10),isNaN(e)?t(!1,!1):t(r=n>0&&n<13,r,r&&n>=i)):t(!1,!1)}},7209(e){"use strict";function t(e,t,n){return{isValid:e,isPotentiallyValid:t,isCurrentYear:n||!1}}e.exports=function(e,n){var r,i,o,a,s;return n=n||19,"string"!=typeof e?t(!1,!1):""===e.replace(/\s/g,"")?t(!1,!0):/^\d*$/.test(e)?(i=e.length)<2?t(!1,!0):(r=(new Date).getFullYear(),3===i?t(!1,e.slice(0,2)===String(r).slice(0,2)):i>4?t(!1,!1):(e=parseInt(e,10),o=Number(String(r).substr(2,2)),2===i?(s=o===e,a=e>=o&&e<=o+n):4===i&&(s=r===e,a=e>=r&&e<=r+n),t(a,a,s))):t(!1,!1)}},2278(e){"use strict";e.exports=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},1653(e){"use strict";e.exports=function(e){for(var t,n=0,r=!1,i=e.length-1;i>=0;)t=parseInt(e.charAt(i),10),r&&(t*=2)>9&&(t=t%10+1),r=!r,n+=t,i--;return n%10==0}},9376(e,t,n){"use strict";var r=n(7209),i=n(2278);e.exports=function(e){var t,n,o,a,s;return/^\d{4}-\d{1,2}$/.test(e)?e=e.split("-").reverse():/\//.test(e)?e=e.split(/\s*\/\s*/g):/\s/.test(e)&&(e=e.split(/ +/g)),i(e)?{month:e[0]||"",year:e.slice(1).join()}:(o=e,n=0===(s=Number(o[0]))?2:s>1||1===s&&Number(o[1])>2?1:1===s?(a=o.substr(1),r(a).isPotentiallyValid?1:2):5===o.length?1:o.length>5?2:1,{month:t=e.substr(0,n),year:e.substr(t.length)})}},583(e){"use strict";function t(e,t){return{isValid:e,isPotentiallyValid:t}}e.exports=function(e,n){var r;return r=(n=n||{}).minLength||3,"string"!=typeof e?t(!1,!1):e.length=s&&(c.matchStrength=s),n.push(c);break}}},2931(e){"use strict";e.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},7695(e){"use strict";e.exports=function(e){return e?JSON.parse(JSON.stringify(e)):null}},4461(e){"use strict";e.exports=function(e){if(function(e){var t=e.filter(function(e){return e.matchStrength}).length;return t>0&&t===e.length}(e))return e.reduce(function(e,t){return e?e.matchStrength=t&&o<=n}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},1915(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r-1},w.prototype.set=function(e,t){var n=this.__data__,r=I(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new S,map:new(_||w),string:new S}},C.prototype.delete=function(e){return E(this,e).delete(e)},C.prototype.get=function(e){return E(this,e).get(e)},C.prototype.has=function(e){return E(this,e).has(e)},C.prototype.set=function(e,t){return E(this,e).set(e,t),this},O.Cache=C,e.exports=O},35(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[o]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d[a]=d["[object Map]"]=d["[object Number]"]=d[s]=d["[object RegExp]"]=d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;var l,p,h,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,y="object"==typeof self&&self&&self.Object===Object&&self,m=f||y||Function("return this")(),g=t&&!t.nodeType&&t,v=g&&e&&!e.nodeType&&e,_=v&&v.exports===g,b=_&&f.process,S=function(){try{return v&&v.require&&v.require("util").types||b&&b.binding&&b.binding("util")}catch(e){}}(),w=S&&S.isTypedArray,C=Array.prototype,I=Function.prototype,E=Object.prototype,P=m["__core-js_shared__"],O=I.toString,A=E.hasOwnProperty,T=(l=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",k=E.toString,R=O.call(Object),M=RegExp("^"+O.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=_?m.Buffer:void 0,N=m.Symbol,D=m.Uint8Array,j=(x&&x.allocUnsafe,p=Object.getPrototypeOf,h=Object,function(e){return p(h(e))}),L=Object.create,z=E.propertyIsEnumerable,F=C.splice,B=N?N.toStringTag:void 0,U=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=x?x.isBuffer:void 0,V=Math.max,G=Date.now,H=se(m,"Map"),Y=se(Object,"create"),W=function(){function e(){}return function(t){if(!_e(t))return{};if(L)return L(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},K.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Z.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(H||K),string:new $}},Z.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},Z.prototype.get=function(e){return ae(this,e).get(e)},Z.prototype.has=function(e){return ae(this,e).has(e)},Z.prototype.set=function(e,t){var n=ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new K,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof K){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Z(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=A.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch(e){}var i=k.call(e);return r&&(t?e[B]=n:delete e[B]),i}(e):function(e){return k.call(e)}(e)}function re(e){return be(e)&&ne(e)==o}function ie(e,t,n,r,i){e!==t&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}}(t,function(o,a){if(i||(i=new J),_e(o))!function(e,t,n,r,i,o,a){var c=de(e,n),u=de(t,n),d=a.get(u);if(d)Q(e,n,d);else{var l,p,h,f,y,m=o?o(c,u,n+"",e,t,a):void 0,g=void 0===m;if(g){var v=fe(u),_=!v&&me(u),b=!v&&!_&&Se(u);m=u,v||_||b?fe(c)?m=c:be(y=c)&&ye(y)?m=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(oe);function pe(e,t){return e===t||e!=e&&t!=t}var he=re(function(){return arguments}())?re:function(e){return be(e)&&A.call(e,"callee")&&!z.call(e,"callee")},fe=Array.isArray;function ye(e){return null!=e&&ve(e.length)&&!ge(e)}var me=q||function(){return!1};function ge(e){if(!_e(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function _e(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function be(e){return null!=e&&"object"==typeof e}var Se=w?function(e){return function(t){return e(t)}}(w):function(e){return be(e)&&ve(e.length)&&!!d[ne(e)]};function we(e){return ye(e)?function(e,t){var n=fe(e),r=!n&&he(e),i=!n&&!r&&me(e),o=!n&&!r&&!i&&Se(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Ce.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!_e(n))return!1;var r=typeof t;return!!("number"==r?ye(n)&&ce(t,n.length):"string"==r&&t in n)&&pe(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n"']/g,Y=RegExp(G.source),W=RegExp(H.source),$=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/[\\^$.*+?()[\]{}|]/g,te=RegExp(ee.source),ne=/^\s+/,re=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,le=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,fe=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,be="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+be+"]",Ae="["+Pe+"]",Te="["+Se+"]",ke="\\d+",Re="["+we+"]",Me="["+Ce+"]",xe="[^"+be+Pe+ke+we+Ce+Ie+"]",Ne="\\ud83c[\\udffb-\\udfff]",De="[^"+be+"]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ie+"]",Fe="\\u200d",Be="(?:"+Me+"|"+xe+")",Ue="(?:"+ze+"|"+xe+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Te+"|"+Ne+")?",He="["+Ee+"]?",Ye=He+Ge+"(?:"+Fe+"(?:"+[De,je,Le].join("|")+")"+He+Ge+")*",We="(?:"+[Re,je,Le].join("|")+")"+Ye,$e="(?:"+[De+Te+"?",Te,je,Le,Oe].join("|")+")",Ke=RegExp("['’]","g"),Ze=RegExp(Te,"g"),Je=RegExp(Ne+"(?="+Ne+")|"+$e+Ye,"g"),Qe=RegExp([ze+"?"+Me+"+"+qe+"(?="+[Ae,ze,"$"].join("|")+")",Ue+"+"+Ve+"(?="+[Ae,ze+Be,"$"].join("|")+")",ze+"?"+Be+"+"+qe,ze+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ke,We].join("|"),"g"),Xe=RegExp("["+Fe+be+Se+Ee+"]"),et=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,rt={};rt[M]=rt[x]=rt[N]=rt[D]=rt[j]=rt[L]=rt[z]=rt[F]=rt[B]=!0,rt[f]=rt[y]=rt[k]=rt[m]=rt[R]=rt[g]=rt[v]=rt[_]=rt[S]=rt[w]=rt[C]=rt[E]=rt[P]=rt[O]=rt[T]=!1;var it={};it[f]=it[y]=it[k]=it[R]=it[m]=it[g]=it[M]=it[x]=it[N]=it[D]=it[j]=it[S]=it[w]=it[C]=it[E]=it[P]=it[O]=it[A]=it[L]=it[z]=it[F]=it[B]=!0,it[v]=it[_]=it[T]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,st=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ut="object"==typeof self&&self&&self.Object===Object&&self,dt=ct||ut||Function("return this")(),lt=t&&!t.nodeType&&t,pt=lt&&e&&!e.nodeType&&e,ht=pt&&pt.exports===lt,ft=ht&&ct.process,yt=function(){try{return pt&&pt.require&&pt.require("util").types||ft&&ft.binding&&ft.binding("util")}catch(e){}}(),mt=yt&&yt.isArrayBuffer,gt=yt&&yt.isDate,vt=yt&&yt.isMap,_t=yt&&yt.isRegExp,bt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function wt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function Tt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function Qt(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var Xt=Vt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),en=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function tn(e){return"\\"+ot[e]}function nn(e){return Xe.test(e)}function rn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function on(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"}),hn=function e(t){var n,re=(t=null==t?dt:hn.defaults(dt.Object(),t,hn.pick(dt,tt))).Array,be=t.Date,Se=t.Error,we=t.Function,Ce=t.Math,Ie=t.Object,Ee=t.RegExp,Pe=t.String,Oe=t.TypeError,Ae=re.prototype,Te=we.prototype,ke=Ie.prototype,Re=t["__core-js_shared__"],Me=Te.toString,xe=ke.hasOwnProperty,Ne=0,De=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=ke.toString,Le=Me.call(Ie),ze=dt._,Fe=Ee("^"+Me.call(xe).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=ht?t.Buffer:r,Ue=t.Symbol,qe=t.Uint8Array,Ve=Be?Be.allocUnsafe:r,Ge=on(Ie.getPrototypeOf,Ie),He=Ie.create,Ye=ke.propertyIsEnumerable,We=Ae.splice,$e=Ue?Ue.isConcatSpreadable:r,Je=Ue?Ue.iterator:r,Xe=Ue?Ue.toStringTag:r,ot=function(){try{var e=co(Ie,"defineProperty");return e({},"",{}),e}catch(e){}}(),ct=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,ut=be&&be.now!==dt.Date.now&&be.now,lt=t.setTimeout!==dt.setTimeout&&t.setTimeout,pt=Ce.ceil,ft=Ce.floor,yt=Ie.getOwnPropertySymbols,Dt=Be?Be.isBuffer:r,Vt=t.isFinite,fn=Ae.join,yn=on(Ie.keys,Ie),mn=Ce.max,gn=Ce.min,vn=be.now,_n=t.parseInt,bn=Ce.random,Sn=Ae.reverse,wn=co(t,"DataView"),Cn=co(t,"Map"),In=co(t,"Promise"),En=co(t,"Set"),Pn=co(t,"WeakMap"),On=co(Ie,"create"),An=Pn&&new Pn,Tn={},kn=Lo(wn),Rn=Lo(Cn),Mn=Lo(In),xn=Lo(En),Nn=Lo(Pn),Dn=Ue?Ue.prototype:r,jn=Dn?Dn.valueOf:r,Ln=Dn?Dn.toString:r;function zn(e){if(es(e)&&!Va(e)&&!(e instanceof qn)){if(e instanceof Un)return e;if(xe.call(e,"__wrapped__"))return zo(e)}return new Un(e)}var Fn=function(){function e(){}return function(t){if(!Xa(t))return{};if(He)return He(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ar(e,t,n,i,o,a){var s,c=1&t,u=2&t,d=4&t;if(n&&(s=o?n(e,i,o,a):n(e)),s!==r)return s;if(!Xa(e))return e;var l=Va(e);if(l){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return Pi(e,s)}else{var p=po(e),h=p==_||p==b;if(Wa(e))return bi(e,c);if(p==C||p==f||h&&!o){if(s=u||h?{}:fo(e),!c)return u?function(e,t){return Oi(e,lo(e),t)}(e,function(e,t){return e&&Oi(t,Rs(t),e)}(s,e)):function(e,t){return Oi(e,uo(e),t)}(e,nr(s,e))}else{if(!it[p])return o?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case k:return Si(e);case m:case g:return new i(+e);case R:return function(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case x:case N:case D:case j:case L:case z:case F:case B:return wi(e,n);case S:return new i;case w:case O:return new i(e);case E:return function(e){var t=new e.constructor(e.source,le.exec(e));return t.lastIndex=e.lastIndex,t}(e);case P:return new i;case A:return r=e,jn?Ie(jn.call(r)):{}}}(e,p,c)}}a||(a=new Wn);var y=a.get(e);if(y)return y;a.set(e,s),os(e)?e.forEach(function(r){s.add(ar(r,t,n,r,e,a))}):ts(e)&&e.forEach(function(r,i){s.set(i,ar(r,t,n,i,e,a))});var v=l?r:(d?u?to:eo:u?Rs:ks)(e);return It(v||e,function(r,i){v&&(r=e[i=r]),Xn(s,i,ar(r,t,n,i,e,a))}),s}function sr(e,t,n){var i=n.length;if(null==e)return!i;for(e=Ie(e);i--;){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s))return!1}return!0}function cr(e,t,n){if("function"!=typeof e)throw new Oe(i);return Ao(function(){e.apply(r,n)},t)}function ur(e,t,n,r){var i=-1,o=At,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=kt(t,$t(n))),r?(o=Tt,a=!1):t.length>=200&&(o=Zt,a=!1,t=new Yn(t));e:for(;++i-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Hn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Cn||Gn),string:new Vn}},Hn.prototype.delete=function(e){var t=ao(this,e).delete(e);return this.size-=t?1:0,t},Hn.prototype.get=function(e){return ao(this,e).get(e)},Hn.prototype.has=function(e){return ao(this,e).has(e)},Hn.prototype.set=function(e,t){var n=ao(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,o),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Hn(r)}return n.set(e,t),this.size=n.size,this};var dr=ki(vr),lr=ki(_r,!0);function pr(e,t){var n=!0;return dr(e,function(e,r,i){return n=!!t(e,r,i)}),n}function hr(e,t,n){for(var i=-1,o=e.length;++i0&&n(s)?t>1?yr(s,t-1,n,r,i):Rt(i,s):r||(i[i.length]=s)}return i}var mr=Ri(),gr=Ri(!0);function vr(e,t){return e&&mr(e,t,ks)}function _r(e,t){return e&&gr(e,t,ks)}function br(e,t){return Ot(t,function(t){return Za(e[t])})}function Sr(e,t){for(var n=0,i=(t=mi(t,e)).length;null!=e&&nt}function Er(e,t){return null!=e&&xe.call(e,t)}function Pr(e,t){return null!=e&&t in Ie(e)}function Or(e,t,n){for(var i=n?Tt:At,o=e[0].length,a=e.length,s=a,c=re(a),u=1/0,d=[];s--;){var l=e[s];s&&t&&(l=kt(l,$t(t))),u=gn(l.length,u),c[s]=!n&&(t||o>=120&&l.length>=120)?new Yn(s&&l):r}l=e[0];var p=-1,h=c[0];e:for(;++p=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)});t--;)e[t]=e[t].value;return e}(i)}function qr(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&We.call(s,c,1),We.call(e,c,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;mo(i)?We.call(e,i,1):ci(e,i)}}return e}function Hr(e,t){return e+ft(bn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Wr(e,t){return To(Io(e,t,nc),e+"")}function $r(e){return Kn(Fs(e))}function Kr(e,t){var n=Fs(e);return Mo(n,or(t,0,n.length))}function Zr(e,t,n,i){if(!Xa(e))return e;for(var o=-1,a=(t=mi(t,e)).length,s=a-1,c=e;null!=c&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=re(i);++r>>1,a=e[o];null!==a&&!ss(a)&&(n?a<=t:a=200){var u=t?null:Yi(e);if(u)return sn(u);a=!1,i=Zt,c=new Yn}else c=t?[]:s;e:for(;++r=i?e:ei(e,t,n)}var _i=ct||function(e){return dt.clearTimeout(e)};function bi(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Si(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function wi(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ci(e,t){if(e!==t){var n=e!==r,i=null===e,o=e==e,a=ss(e),s=t!==r,c=null===t,u=t==t,d=ss(t);if(!c&&!d&&!a&&e>t||a&&s&&u&&!c&&!d||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!d&&e1?n[o-1]:r,s=o>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(o--,a):r,s&&go(n[0],n[1],s)&&(a=o<3?r:a,o=1),t=Ie(t);++i-1?o[a?t[s]:s]:r}}function ji(e){return Xi(function(t){var n=t.length,o=n,a=Un.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Oe(i);if(a&&!c&&"wrapper"==ro(s))var c=new Un([],!0)}for(o=c?o:n;++o1&&_.reverse(),p&&dc))return!1;var d=a.get(e),l=a.get(t);if(d&&l)return d==t&&l==e;var p=-1,h=!0,f=2&n?new Yn:r;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(h,function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(ae):[]}(r),n)))}function Ro(e){var t=0,n=0;return function(){var i=vn(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Mo(e,t){var n=-1,i=e.length,o=i-1;for(t=t===r?i:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,ia(e,n)});function la(e){var t=zn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var ha=Xi(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&i instanceof qn&&mo(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[o],thisArg:r}),new Un(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(r),e})):this.thru(o)}),fa=Ai(function(e,t,n){xe.call(e,n)?++e[n]:rr(e,n,1)}),ya=Di(qo),ma=Di(Vo);function ga(e,t){return(Va(e)?It:dr)(e,oo(t,3))}function va(e,t){return(Va(e)?Et:lr)(e,oo(t,3))}var _a=Ai(function(e,t,n){xe.call(e,n)?e[n].push(t):rr(e,n,[t])}),ba=Wr(function(e,t,n){var r=-1,i="function"==typeof t,o=Ha(e)?re(e.length):[];return dr(e,function(e){o[++r]=i?wt(t,e,n):Ar(e,t,n)}),o}),Sa=Ai(function(e,t,n){rr(e,n,t)});function wa(e,t){return(Va(e)?kt:jr)(e,oo(t,3))}var Ca=Ai(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Ia=Wr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&go(e,t[0],t[1])?t=[]:n>2&&go(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,yr(t,1),[])}),Ea=ut||function(){return dt.Date.now()};function Pa(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,$i(e,c,r,r,r,r,t)}function Oa(e,t){var n;if("function"!=typeof t)throw new Oe(i);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Aa=Wr(function(e,t,n){var r=1;if(n.length){var i=an(n,io(Aa));r|=s}return $i(e,r,t,n,i)}),Ta=Wr(function(e,t,n){var r=3;if(n.length){var i=an(n,io(Ta));r|=s}return $i(t,r,e,n,i)});function ka(e,t,n){var o,a,s,c,u,d,l=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Oe(i);function y(t){var n=o,i=a;return o=a=r,l=t,c=e.apply(i,n)}function m(e){var n=e-d;return d===r||n>=t||n<0||h&&e-l>=s}function g(){var e=Ea();if(m(e))return v(e);u=Ao(g,function(e){var n=t-(e-d);return h?gn(n,s-(e-l)):n}(e))}function v(e){return u=r,f&&o?y(e):(o=a=r,c)}function _(){var e=Ea(),n=m(e);if(o=arguments,a=this,d=e,n){if(u===r)return function(e){return l=e,u=Ao(g,t),p?y(e):c}(d);if(h)return _i(u),u=Ao(g,t),y(d)}return u===r&&(u=Ao(g,t)),c}return t=ys(t)||0,Xa(n)&&(p=!!n.leading,s=(h="maxWait"in n)?mn(ys(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),_.cancel=function(){u!==r&&_i(u),l=0,o=d=a=u=r},_.flush=function(){return u===r?c:v(Ea())},_}var Ra=Wr(function(e,t){return cr(e,1,t)}),Ma=Wr(function(e,t,n){return cr(e,ys(t)||0,n)});function xa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(xa.Cache||Hn),n}function Na(e){if("function"!=typeof e)throw new Oe(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}xa.Cache=Hn;var Da=gi(function(e,t){var n=(t=1==t.length&&Va(t[0])?kt(t[0],$t(oo())):kt(yr(t,1),$t(oo()))).length;return Wr(function(r){for(var i=-1,o=gn(r.length,n);++i=t}),qa=Tr(function(){return arguments}())?Tr:function(e){return es(e)&&xe.call(e,"callee")&&!Ye.call(e,"callee")},Va=re.isArray,Ga=mt?$t(mt):function(e){return es(e)&&Cr(e)==k};function Ha(e){return null!=e&&Qa(e.length)&&!Za(e)}function Ya(e){return es(e)&&Ha(e)}var Wa=Dt||yc,$a=gt?$t(gt):function(e){return es(e)&&Cr(e)==g};function Ka(e){if(!es(e))return!1;var t=Cr(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Za(e){if(!Xa(e))return!1;var t=Cr(e);return t==_||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==hs(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function Xa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=vt?$t(vt):function(e){return es(e)&&po(e)==S};function ns(e){return"number"==typeof e||es(e)&&Cr(e)==w}function rs(e){if(!es(e)||Cr(e)!=C)return!1;var t=Ge(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Le}var is=_t?$t(_t):function(e){return es(e)&&Cr(e)==E},os=bt?$t(bt):function(e){return es(e)&&po(e)==P};function as(e){return"string"==typeof e||!Va(e)&&es(e)&&Cr(e)==O}function ss(e){return"symbol"==typeof e||es(e)&&Cr(e)==A}var cs=St?$t(St):function(e){return es(e)&&Qa(e.length)&&!!rt[Cr(e)]},us=Vi(Dr),ds=Vi(function(e,t){return e<=t});function ls(e){if(!e)return[];if(Ha(e))return as(e)?dn(e):Pi(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=po(e);return(t==S?rn:t==P?sn:Fs)(e)}function ps(e){return e?(e=ys(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hs(e){var t=ps(e),n=t%1;return t==t?n?t-n:t:0}function fs(e){return e?or(hs(e),0,p):0}function ys(e){if("number"==typeof e)return e;if(ss(e))return l;if(Xa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wt(e);var n=he.test(e);return n||ye.test(e)?st(e.slice(2),n?2:8):pe.test(e)?l:+e}function ms(e){return Oi(e,Rs(e))}function gs(e){return null==e?"":ai(e)}var vs=Ti(function(e,t){if(So(t)||Ha(t))Oi(t,ks(t),e);else for(var n in t)xe.call(t,n)&&Xn(e,n,t[n])}),_s=Ti(function(e,t){Oi(t,Rs(t),e)}),bs=Ti(function(e,t,n,r){Oi(t,Rs(t),e,r)}),Ss=Ti(function(e,t,n,r){Oi(t,ks(t),e,r)}),ws=Xi(ir),Cs=Wr(function(e,t){e=Ie(e);var n=-1,i=t.length,o=i>2?t[2]:r;for(o&&go(t[0],t[1],o)&&(i=1);++n1),t}),Oi(e,to(e),n),r&&(n=ar(n,7,Ji));for(var i=t.length;i--;)ci(n,t[i]);return n}),Ds=Xi(function(e,t){return null==e?{}:function(e,t){return qr(e,t,function(t,n){return Ps(e,n)})}(e,t)});function js(e,t){if(null==e)return{};var n=kt(to(e),function(e){return[e]});return t=oo(t),qr(e,n,function(e,n){return t(e,n[0])})}var Ls=Wi(ks),zs=Wi(Rs);function Fs(e){return null==e?[]:Kt(e,ks(e))}var Bs=xi(function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)});function Us(e){return Ks(gs(e).toLowerCase())}function qs(e){return(e=gs(e))&&e.replace(ge,Xt).replace(Ze,"")}var Vs=xi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Gs=xi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Hs=Mi("toLowerCase"),Ys=xi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ws=xi(function(e,t,n){return e+(n?" ":"")+Ks(t)}),$s=xi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ks=Mi("toUpperCase");function Zs(e,t,n){return e=gs(e),(t=n?r:t)===r?function(e){return et.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(se)||[]}(e):e.match(t)||[]}var Js=Wr(function(e,t){try{return wt(e,r,t)}catch(e){return Ka(e)?e:new Se(e)}}),Qs=Xi(function(e,t){return It(t,function(t){t=jo(t),rr(e,t,Aa(e[t],e))}),e});function Xs(e){return function(){return e}}var ec=ji(),tc=ji(!0);function nc(e){return e}function rc(e){return xr("function"==typeof e?e:ar(e,1))}var ic=Wr(function(e,t){return function(n){return Ar(n,e,t)}}),oc=Wr(function(e,t){return function(n){return Ar(e,n,t)}});function ac(e,t,n){var r=ks(t),i=br(t,r);null!=n||Xa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=br(t,ks(t)));var o=!(Xa(n)&&"chain"in n&&!n.chain),a=Za(e);return It(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Pi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})}),e}function sc(){}var cc=Bi(kt),uc=Bi(Pt),dc=Bi(Nt);function lc(e){return vo(e)?qt(jo(e)):function(e){return function(t){return Sr(t,e)}}(e)}var pc=qi(),hc=qi(!0);function fc(){return[]}function yc(){return!1}var mc,gc=Fi(function(e,t){return e+t},0),vc=Hi("ceil"),_c=Fi(function(e,t){return e/t},1),bc=Hi("floor"),Sc=Fi(function(e,t){return e*t},1),wc=Hi("round"),Cc=Fi(function(e,t){return e-t},0);return zn.after=function(e,t){if("function"!=typeof t)throw new Oe(i);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Pa,zn.assign=vs,zn.assignIn=_s,zn.assignInWith=bs,zn.assignWith=Ss,zn.at=ws,zn.before=Oa,zn.bind=Aa,zn.bindAll=Qs,zn.bindKey=Ta,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},zn.chain=la,zn.chunk=function(e,t,n){t=(n?go(e,t,n):t===r)?1:mn(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=re(pt(i/t));oo?0:o+n),(i=i===r||i>o?o:hs(i))<0&&(i+=o),i=n>i?0:fs(i);n>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=ai(t))&&nn(e)?vi(dn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Oe(i);return t=null==t?0:mn(hs(t),0),Wr(function(n){var r=n[t],i=vi(n,0,t);return r&&Rt(i,r),wt(e,this,i)})},zn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===r?1:hs(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?ei(e,(t=i-(t=n||t===r?1:hs(t)))<0?0:t,i):[]},zn.takeRightWhile=function(e,t){return e&&e.length?di(e,oo(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?di(e,oo(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Oe(i);return Xa(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ka(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=pa,zn.toArray=ls,zn.toPairs=Ls,zn.toPairsIn=zs,zn.toPath=function(e){return Va(e)?kt(e,jo):ss(e)?[e]:Pi(Do(gs(e)))},zn.toPlainObject=ms,zn.transform=function(e,t,n){var r=Va(e),i=r||Wa(e)||cs(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Xa(e)&&Za(o)?Fn(Ge(e)):{}}return(i?It:vr)(e,function(e,r,i){return t(n,e,r,i)}),n},zn.unary=function(e){return Pa(e,1)},zn.union=ea,zn.unionBy=ta,zn.unionWith=na,zn.uniq=function(e){return e&&e.length?si(e):[]},zn.uniqBy=function(e,t){return e&&e.length?si(e,oo(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?si(e,r,t):[]},zn.unset=function(e,t){return null==e||ci(e,t)},zn.unzip=ra,zn.unzipWith=ia,zn.update=function(e,t,n){return null==e?e:ui(e,t,yi(n))},zn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:ui(e,t,yi(n),i)},zn.values=Fs,zn.valuesIn=function(e){return null==e?[]:Kt(e,Rs(e))},zn.without=oa,zn.words=Zs,zn.wrap=function(e,t){return ja(yi(t),e)},zn.xor=aa,zn.xorBy=sa,zn.xorWith=ca,zn.zip=ua,zn.zipObject=function(e,t){return hi(e||[],t||[],Xn)},zn.zipObjectDeep=function(e,t){return hi(e||[],t||[],Zr)},zn.zipWith=da,zn.entries=Ls,zn.entriesIn=zs,zn.extend=_s,zn.extendWith=bs,ac(zn,zn),zn.add=gc,zn.attempt=Js,zn.camelCase=Bs,zn.capitalize=Us,zn.ceil=vc,zn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))==n?n:0),t!==r&&(t=(t=ys(t))==t?t:0),or(ys(e),t,n)},zn.clone=function(e){return ar(e,4)},zn.cloneDeep=function(e){return ar(e,5)},zn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:r)},zn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:r)},zn.conformsTo=function(e,t){return null==t||sr(e,t,ks(t))},zn.deburr=qs,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_c,zn.endsWith=function(e,t,n){e=gs(e),t=ai(t);var i=e.length,o=n=n===r?i:or(hs(n),0,i);return(n-=t.length)>=0&&e.slice(n,o)==t},zn.eq=Fa,zn.escape=function(e){return(e=gs(e))&&W.test(e)?e.replace(H,en):e},zn.escapeRegExp=function(e){return(e=gs(e))&&te.test(e)?e.replace(ee,"\\$&"):e},zn.every=function(e,t,n){var i=Va(e)?Pt:pr;return n&&go(e,t,n)&&(t=r),i(e,oo(t,3))},zn.find=ya,zn.findIndex=qo,zn.findKey=function(e,t){return jt(e,oo(t,3),vr)},zn.findLast=ma,zn.findLastIndex=Vo,zn.findLastKey=function(e,t){return jt(e,oo(t,3),_r)},zn.floor=bc,zn.forEach=ga,zn.forEachRight=va,zn.forIn=function(e,t){return null==e?e:mr(e,oo(t,3),Rs)},zn.forInRight=function(e,t){return null==e?e:gr(e,oo(t,3),Rs)},zn.forOwn=function(e,t){return e&&vr(e,oo(t,3))},zn.forOwnRight=function(e,t){return e&&_r(e,oo(t,3))},zn.get=Es,zn.gt=Ba,zn.gte=Ua,zn.has=function(e,t){return null!=e&&ho(e,t,Er)},zn.hasIn=Ps,zn.head=Ho,zn.identity=nc,zn.includes=function(e,t,n,r){e=Ha(e)?e:Fs(e),n=n&&!r?hs(n):0;var i=e.length;return n<0&&(n=mn(i+n,0)),as(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&zt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:hs(n);return i<0&&(i=mn(r+i,0)),zt(e,t,i)},zn.inRange=function(e,t,n){return t=ps(t),n===r?(n=t,t=0):n=ps(n),function(e,t,n){return e>=gn(t,n)&&e=-9007199254740991&&e<=d},zn.isSet=os,zn.isString=as,zn.isSymbol=ss,zn.isTypedArray=cs,zn.isUndefined=function(e){return e===r},zn.isWeakMap=function(e){return es(e)&&po(e)==T},zn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==Cr(e)},zn.join=function(e,t){return null==e?"":fn.call(e,t)},zn.kebabCase=Vs,zn.last=Ko,zn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=hs(n))<0?mn(i+o,0):gn(o,i-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Lt(e,Bt,o,!0)},zn.lowerCase=Gs,zn.lowerFirst=Hs,zn.lt=us,zn.lte=ds,zn.max=function(e){return e&&e.length?hr(e,nc,Ir):r},zn.maxBy=function(e,t){return e&&e.length?hr(e,oo(t,2),Ir):r},zn.mean=function(e){return Ut(e,nc)},zn.meanBy=function(e,t){return Ut(e,oo(t,2))},zn.min=function(e){return e&&e.length?hr(e,nc,Dr):r},zn.minBy=function(e,t){return e&&e.length?hr(e,oo(t,2),Dr):r},zn.stubArray=fc,zn.stubFalse=yc,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=Sc,zn.nth=function(e,t){return e&&e.length?Br(e,hs(t)):r},zn.noConflict=function(){return dt._===this&&(dt._=ze),this},zn.noop=sc,zn.now=Ea,zn.pad=function(e,t,n){e=gs(e);var r=(t=hs(t))?un(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(ft(i),n)+e+Ui(pt(i),n)},zn.padEnd=function(e,t,n){e=gs(e);var r=(t=hs(t))?un(e):0;return t&&rt){var i=e;e=t,t=i}if(n||e%1||t%1){var o=bn();return gn(e+o*(t-e+at("1e-"+((o+"").length-1))),t)}return Hr(e,t)},zn.reduce=function(e,t,n){var r=Va(e)?Mt:Gt,i=arguments.length<3;return r(e,oo(t,4),n,i,dr)},zn.reduceRight=function(e,t,n){var r=Va(e)?xt:Gt,i=arguments.length<3;return r(e,oo(t,4),n,i,lr)},zn.repeat=function(e,t,n){return t=(n?go(e,t,n):t===r)?1:hs(t),Yr(gs(e),t)},zn.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var i=-1,o=(t=mi(t,e)).length;for(o||(o=1,e=r);++id)return[];var n=p,r=gn(e,p);t=oo(t),e-=p;for(var i=Yt(r,t);++n=a)return e;var c=n-un(i);if(c<1)return i;var u=s?vi(s,0,c).join(""):e.slice(0,c);if(o===r)return u+i;if(s&&(c+=u.length-c),is(o)){if(e.slice(c).search(o)){var d,l=u;for(o.global||(o=Ee(o.source,gs(le.exec(o))+"g")),o.lastIndex=0;d=o.exec(l);)var p=d.index;u=u.slice(0,p===r?c:p)}}else if(e.indexOf(ai(o),c)!=c){var h=u.lastIndexOf(o);h>-1&&(u=u.slice(0,h))}return u+i},zn.unescape=function(e){return(e=gs(e))&&Y.test(e)?e.replace(G,pn):e},zn.uniqueId=function(e){var t=++Ne;return gs(e)+t},zn.upperCase=$s,zn.upperFirst=Ks,zn.each=ga,zn.eachRight=va,zn.first=Ho,ac(zn,(mc={},vr(zn,function(e,t){xe.call(zn.prototype,t)||(mc[t]=e)}),mc),{chain:!1}),zn.VERSION="4.18.1",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){zn[e].placeholder=zn}),It(["drop","take"],function(e,t){qn.prototype[e]=function(n){n=n===r?1:mn(hs(n),0);var i=this.__filtered__&&!t?new qn(this):this.clone();return i.__filtered__?i.__takeCount__=gn(n,i.__takeCount__):i.__views__.push({size:gn(n,p),type:e+(i.__dir__<0?"Right":"")}),i},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),It(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),It(["head","last"],function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}}),It(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}}),qn.prototype.compact=function(){return this.filter(nc)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Wr(function(e,t){return"function"==typeof e?new qn(this):this.map(function(n){return Ar(n,e,t)})}),qn.prototype.reject=function(e){return this.filter(Na(oo(e)))},qn.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=hs(t))<0?n.dropRight(-t):n.take(t-e)),n)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(p)},vr(qn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=zn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof qn,u=s[0],d=c||Va(t),l=function(e){var t=o.apply(zn,Rt([e],s));return i&&p?t[0]:t};d&&n&&"function"==typeof u&&1!=u.length&&(c=d=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,y=c&&!h;if(!a&&d){t=y?t:new qn(this);var m=e.apply(t,s);return m.__actions__.push({func:pa,args:[l],thisArg:r}),new Un(m,p)}return f&&y?e.apply(this,s):(m=this.thru(l),f?i?m.value()[0]:m.value():m)})}),It(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Va(i)?i:[],e)}return this[n](function(n){return t.apply(Va(n)?n:[],e)})}}),vr(qn.prototype,function(e,t){var n=zn[t];if(n){var r=n.name+"";xe.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}}),Tn[Li(r,2).name]=[{name:"wrapper",func:r}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Pi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pi(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var i=zo(n);i.__index__=0,i.__values__=r,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[Xo],thisArg:r}),new Un(t,this.__chain__)}return this.thru(Xo)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return li(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Je&&(zn.prototype[Je]=function(){return this}),zn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(dt._=hn,define(function(){return hn})):pt?((pt.exports=hn)._=hn,lt._=hn):dt._=hn}.call(this)},4475(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;cNumber(e)-Number(t)).map(t=>e[t]):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function y(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&d(n,e).includes(e.arrayFormatSeparator);n=o?d(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map(t=>d(t,e)):null===n?n:d(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?d(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>d(t,e));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:d(a,t),n(d(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=f(n[e],t);else r[e]=f(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=l(n):e[t]=n,e},Object.create(null))}t.extract=h,t.parse=y,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",i,"]"].join("")]:[...n,[u(t,e),"[",u(i,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[u(n,e),t,u(i,e)].join("")]:[[r,u(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{const i=e[n];return void 0===i?"":null===i?u(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":i.reduce(r(n),[]).join("&"):u(n,t)+"="+u(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:y(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:d(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let c=t.stringify(a,n);c&&(c=`?${c}`);let d=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(d=`#${n[s]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${d}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},7554(e,t,n){"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:()=>R.k,AsyncSubject:()=>d.h,BehaviorSubject:()=>c.t,ConnectableObservable:()=>i.G,EMPTY:()=>Z.w,EmptyError:()=>M.G,GroupedObservable:()=>o.k,NEVER:()=>le,Notification:()=>P.E,NotificationKind:()=>P.I,ObjectUnsubscribedError:()=>x.P,Observable:()=>r.c,ReplaySubject:()=>u.m,Scheduler:()=>C._,Subject:()=>s.B7,Subscriber:()=>E.v,Subscription:()=>I.y,TimeoutError:()=>D.M,UnsubscriptionError:()=>N.Z,VirtualAction:()=>w,VirtualTimeScheduler:()=>S,animationFrame:()=>b,animationFrameScheduler:()=>_,asap:()=>l.I,asapScheduler:()=>l.$,async:()=>p.b,asyncScheduler:()=>p.E,bindCallback:()=>B,bindNodeCallback:()=>V,combineLatest:()=>W.zV,concat:()=>$.x,config:()=>Te.$,defer:()=>K.v,empty:()=>Z.I,forkJoin:()=>X,from:()=>Q.H,fromEvent:()=>te.R,fromEventPattern:()=>re,generate:()=>ie,identity:()=>T.D,iif:()=>ae,interval:()=>ce,isObservable:()=>k,merge:()=>de.h,never:()=>pe,noop:()=>A.l,observable:()=>a.s,of:()=>he.of,onErrorResumeNext:()=>fe,pairs:()=>ye,partition:()=>be,pipe:()=>O.F,queue:()=>h.g,queueScheduler:()=>h.T,race:()=>Se.O4,range:()=>we,scheduled:()=>Ae.c,throwError:()=>Ie.$,timer:()=>Ee.O,using:()=>Pe,zip:()=>Oe.yU});var r=n(9386),i=n(9762),o=n(2331),a=n(9067),s=n(9023),c=n(2361),u=n(8358),d=n(1403),l=n(7734),p=n(5573),h=n(4126),f=n(5779),y=n(1897),m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return f.C6(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)},t}(y.R),g=n(8044),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f.C6(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++rt.index?1:-1:e.delay>t.delay?1:-1},t}(y.R),C=n(6182),I=n(9290),E=n(3409),P=n(2796),O=n(990),A=n(906),T=n(8604);function k(e){return!!e&&(e instanceof r.c||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var R=n(2413),M=n(963),x=n(6306),N=n(9368),D=n(5),j=n(2035),L=n(2724),z=n(2733),F=n(3017);function B(e,t,n){if(t){if(!(0,F.m)(t))return function(){for(var r=[],i=0;i=t){r.complete();break}if(r.next(o++),r.closed)break}})}function Ce(e){var t=e.start,n=e.index,r=e.count,i=e.subscriber;n>=r?i.complete():(i.next(t),i.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ie=n(4203),Ee=n(5520);function Pe(e,t){return new r.c(function(n){var r,i;try{r=e()}catch(e){return void n.error(e)}try{i=t(r)}catch(e){return void n.error(e)}var o=(i?(0,Q.H)(i):Z.w).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}})}var Oe=n(5778),Ae=n(2132),Te=n(6369)},1403(e,t,n){"use strict";n.d(t,{h:()=>a});var r=n(5779),i=n(9023),o=n(9290),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return r.C6(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),o.y.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),o.y.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(i.B7)},2361(e,t,n){"use strict";n.d(t,{t:()=>a});var r=n(5779),i=n(9023),o=n(6306),a=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return r.C6(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.P;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.B7)},2796(e,t,n){"use strict";n.d(t,{E:()=>s,I:()=>r});var r,i=n(6780),o=n(4128),a=n(4203);r||(r={});var s=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return(0,o.of)(this.value);case"E":return(0,a.$)(this.error);case"C":return(0,i.I)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},9386(e,t,n){"use strict";n.d(t,{c:()=>c});var r=n(2724),i=n(9297),o=n(9067),a=n(990),s=n(6369),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=(0,i.u)(e,t,n);if(r?o.add(r.call(o,this.source)):o.add(this.source||s.$.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.$.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.$.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),(0,r.H)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=u(t))(function(t,r){var i;i=n.subscribe(function(t){try{e(t)}catch(e){r(e),i&&i.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;to});var r=n(6369),i=n(3762),o={closed:!0,next:function(e){},error:function(e){if(r.$.useDeprecatedSynchronousErrorHandling)throw e;(0,i.T)(e)},complete:function(){}}},5422(e,t,n){"use strict";n.d(t,{E:()=>i});var r=n(5779),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.C6(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n(3409).v)},8358(e,t,n){"use strict";n.d(t,{m:()=>d});var r=n(5779),i=n(9023),o=n(4126),a=n(9290),s=n(3724),c=n(6306),u=n(9970),d=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.C6(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new l(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.P;if(this.isStopped||this.hasError?t=a.y.EMPTY:(this.observers.push(e),t=new u.Y(this,e)),i&&e.add(e=new s.YZ(e,i)),n)for(var d=0;dt&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r},t}(i.B7),l=function(){return function(e,t){this.time=e,this.value=t}}()},6182(e,t,n){"use strict";n.d(t,{_:()=>r});var r=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}()},9023(e,t,n){"use strict";n.d(t,{B7:()=>l,PJ:()=>d});var r=n(5779),i=n(9386),o=n(3409),a=n(9290),s=n(6306),c=n(9970),u=n(6014),d=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.C6(t,e),t}(o.v),l=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.C6(t,e),t.prototype[u.D]=function(){return new d(this)},t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.P;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;ii});var r=n(5779),i=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return r.C6(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(n(9290).y)},3409(e,t,n){"use strict";n.d(t,{v:()=>d});var r=n(5779),i=n(3278),o=n(8805),a=n(9290),s=n(6014),c=n(6369),u=n(3762),d=function(e){function t(n,r,i){var a=e.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o.I;break;case 1:if(!n){a.destination=o.I;break}if("object"==typeof n){n instanceof t?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new l(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new l(a,n,r,i)}return a}return r.C6(t,e),t.prototype[s.D]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.y),l=function(e){function t(t,n,r,a){var s,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return(0,i.T)(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==o.I&&(u=Object.create(n),(0,i.T)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=s,c._error=r,c._complete=a,c}return r.C6(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.$.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=c.$.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):(0,u.T)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;(0,u.T)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};c.$.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),c.$.useDeprecatedSynchronousErrorHandling)throw e;(0,u.T)(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!c.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return c.$.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):((0,u.T)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(d)},9290(e,t,n){"use strict";n.d(t,{y:()=>s});var r=n(2733),i=n(9273),o=n(3278),a=n(9368),s=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this,s=n._parentOrParents,u=n._ctorUnsubscribe,d=n._unsubscribe,l=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,s instanceof e)s.remove(this);else if(null!==s)for(var p=0;pi});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack,r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},9559(e,t,n){"use strict";n.d(t,{gn:()=>c,tS:()=>u,zA:()=>s});var r=n(5779),i=n(3409),o=n(9386),a=n(1109),s=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return r.C6(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(i.v),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.C6(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(i.v);function u(e,t){if(!t.closed){if(e instanceof o.c)return e.subscribe(t);var n;try{n=(0,a.i)(e)(t)}catch(e){t.error(e)}return n}}},9762(e,t,n){"use strict";n.d(t,{G:()=>c,f:()=>u});var r=n(5779),i=n(9023),o=n(9386),a=n(9290),s=n(1709),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.C6(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.y).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.y.EMPTY)),e},t.prototype.refCount=function(){return(0,s.B)()(this)},t}(o.c),u=function(){var e=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.C6(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.PJ)},3483(e,t,n){"use strict";n.d(t,{ZS:()=>l,zV:()=>d});var r=n(5779),i=n(3017),o=n(2733),a=n(5422),s=n(7408),c=n(2564),u={};function d(){for(var e=[],t=0;to});var r=n(4128),i=n(8930);function o(){for(var e=[],t=0;ta});var r=n(9386),i=n(8241),o=n(6780);function a(e){return new r.c(function(t){var n;try{n=e()}catch(e){return void t.error(e)}return(n?(0,i.H)(n):(0,o.I)()).subscribe(t)})}},6780(e,t,n){"use strict";n.d(t,{I:()=>o,w:()=>i});var r=n(9386),i=new r.c(function(e){return e.complete()});function o(e){return e?function(e){return new r.c(function(t){return e.schedule(function(){return t.complete()})})}(e):i}},8241(e,t,n){"use strict";n.d(t,{H:()=>a});var r=n(9386),i=n(1109),o=n(2132);function a(e,t){return t?(0,o.c)(e,t):e instanceof r.c?e:new r.c((0,i.i)(e))}},2564(e,t,n){"use strict";n.d(t,{c:()=>a});var r=n(9386),i=n(5168),o=n(941);function a(e,t){return t?(0,o.V)(e,t):new r.c((0,i.v)(e))}},1381(e,t,n){"use strict";n.d(t,{R:()=>s});var r=n(9386),i=n(2733),o=n(3278),a=n(2035);function s(e,t,n,u){return(0,o.T)(n)&&(u=n,n=void 0),u?s(e,t,n).pipe((0,a.T)(function(e){return(0,i.c)(e)?u.apply(void 0,e):u(e)})):new r.c(function(r){c(e,t,function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)},r,n)})}function c(e,t,n,r,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,i),o=function(){return a.removeEventListener(t,n,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(t,n),o=function(){return u.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,l=e.length;ds});var r=n(9386),i=n(3017),o=n(9050),a=n(2564);function s(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof c&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof r.c?e[0]:(0,o.U)(n)((0,a.c)(e,s))}},4128(e,t,n){"use strict";n.d(t,{of:()=>a});var r=n(3017),i=n(2564),o=n(941);function a(){for(var e=[],t=0;tc});var r=n(5779),i=n(2733),o=n(2564),a=n(5422),s=n(7408);function c(){for(var e=[],t=0;ti});var r=n(9386);function i(e,t){return t?new r.c(function(n){return t.schedule(o,0,{error:e,subscriber:n})}):new r.c(function(t){return t.error(e)})}function o(e){var t=e.error;e.subscriber.error(t)}},5520(e,t,n){"use strict";n.d(t,{O:()=>s});var r=n(9386),i=n(5573),o=n(899),a=n(3017);function s(e,t,n){void 0===e&&(e=0);var s=-1;return(0,o.k)(t)?s=Number(t)<1?1:Number(t):(0,a.m)(t)&&(n=t),(0,a.m)(n)||(n=i.b),new r.c(function(t){var r=(0,o.k)(e)?e:+e-n.now();return n.schedule(c,r,{index:0,period:s,subscriber:t})})}function c(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},5778(e,t,n){"use strict";n.d(t,{ee:()=>d,yU:()=>u});var r=n(5779),i=n(2564),o=n(2733),a=n(3409),s=n(3840),c=n(9559);function u(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),f=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.C6(t,e),t.prototype[s.lJ]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return(0,c.tS)(this.observable,new c.zA(this))},t}(c.gn)},9586(e,t,n){"use strict";n.d(t,{W:()=>o});var r=n(5779),i=n(9559);function o(e){return function(t){var n=new a(e),r=t.lift(n);return n.caught=r}}var a=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return r.C6(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var r=new i.zA(this);this.add(r);var o=(0,i.tS)(n,r);o!==r&&this.add(o)}},t}(i.gn)},8930(e,t,n){"use strict";n.d(t,{K:()=>i});var r=n(9050);function i(){return(0,r.U)(1)}},3158(e,t,n){"use strict";n.d(t,{c:()=>c});var r=n(5779),i=n(5573),o=n(1454),a=n(3409),s=n(2796);function c(e,t){void 0===t&&(t=i.b);var n=(0,o.$)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new u(n,t))}}var u=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.delay,this.scheduler))},e}(),d=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.C6(t,e),t.dispatch=function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new l(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(s.E.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(s.E.createComplete()),this.unsubscribe()},t}(a.v),l=function(){return function(e,t){this.time=e,this.notification=t}}()},8669(e,t,n){"use strict";n.d(t,{F:()=>o});var r=n(5779),i=n(3409);function o(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.C6(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(e){return this.destination.error(e)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))},t}(i.v)},6275(e,t,n){"use strict";n.d(t,{p:()=>o});var r=n(5779),i=n(3409);function o(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.C6(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(i.v)},2331(e,t,n){"use strict";n.d(t,{$:()=>c,k:()=>p});var r=n(5779),i=n(3409),o=n(9290),a=n(9386),s=n(9023);function c(e,t,n,r){return function(i){return i.lift(new u(e,t,n,r))}}var u=function(){function e(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),d=function(e){function t(t,n,r,i,o){var a=e.call(this,t)||this;return a.keySelector=n,a.elementSelector=r,a.durationSelector=i,a.subjectSelector=o,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return r.C6(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(e){this.error(e)}else r=e;if(!i){i=this.subjectSelector?this.subjectSelector():new s.B7,n.set(t,i);var o=new p(t,i,this);if(this.destination.next(o),this.durationSelector){var a=void 0;try{a=this.durationSelector(new p(t,i))}catch(e){return void this.error(e)}this.add(a.subscribe(new l(t,i,this)))}}i.closed||i.next(r)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach(function(t,n){t.error(e)}),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach(function(e,t){e.complete()}),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(i.v),l=function(e){function t(t,n,r){var i=e.call(this,n)||this;return i.key=t,i.group=n,i.parent=r,i}return r.C6(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(i.v),p=function(e){function t(t,n,r){var i=e.call(this)||this;return i.key=t,i.groupSubject=n,i.refCountSubscription=r,i}return r.C6(t,e),t.prototype._subscribe=function(e){var t=new o.y,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new h(n)),t.add(r.subscribe(e)),t},t}(a.c),h=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return r.C6(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(o.y)},2035(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(5779),i=n(3409);function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.C6(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(i.v)},9050(e,t,n){"use strict";n.d(t,{U:()=>o});var r=n(6083),i=n(8604);function o(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),(0,r.ZZ)(i.D,e)}},6083(e,t,n){"use strict";n.d(t,{ZZ:()=>s,qI:()=>d});var r=n(5779),i=n(2035),o=n(8241),a=n(9559);function s(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(s(function(n,r){return(0,o.H)(e(n,r)).pipe((0,i.T)(function(e,i){return t(n,e,r,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new c(e,n))})}var c=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))},e}(),u=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.C6(t,e),t.prototype._next=function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(a.gn),d=s},3724(e,t,n){"use strict";n.d(t,{QE:()=>a,YZ:()=>c});var r=n(5779),i=n(3409),o=n(2796);function a(e,t){return void 0===t&&(t=0),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))},e}(),c=function(e){function t(t,n,r){void 0===r&&(r=0);var i=e.call(this,t)||this;return i.scheduler=n,i.delay=r,i}return r.C6(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new u(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(o.E.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(o.E.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(o.E.createComplete()),this.unsubscribe()},t}(i.v),u=function(){return function(e,t){this.notification=e,this.destination=t}}()},1709(e,t,n){"use strict";n.d(t,{B:()=>o});var r=n(5779),i=n(3409);function o(){return function(e){return e.lift(new a(e))}}var a=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new s(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.C6(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(i.v)},2551(e,t,n){"use strict";n.d(t,{l:()=>a});var r=n(5779),i=n(9023),o=n(9559);function a(e){return function(t){return t.lift(new s(e,t))}}var s=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.notifier,this.source))},e}(),c=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.notifier=n,i.source=r,i}return r.C6(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,r=this.retries,a=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new i.B7;try{r=(0,this.notifier)(n)}catch(t){return e.prototype.error.call(this,t)}a=(0,o.tS)(r,new o.zA(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=a,n.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},t.prototype.notifyNext=function(){var e=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=e,this.source.subscribe(this)},t}(o.gn)},2161(e,t,n){"use strict";n.d(t,{t:()=>i});var r=n(8358);function i(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,o=void 0===i?Number.POSITIVE_INFINITY:i,a=e.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,c=e.refCount,u=e.scheduler,d=0,l=!1,p=!1;return function(e){var i;d++,!t||l?(l=!1,t=new r.m(o,s,u),i=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){p=!0,n=void 0,t.complete()}}),p&&(n=void 0)):i=t.subscribe(this),this.add(function(){d--,i.unsubscribe(),i=void 0,n&&!p&&c&&0===d&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}},9835(e,t,n){"use strict";n.d(t,{n:()=>s});var r=n(5779),i=n(2035),o=n(8241),a=n(9559);function s(e,t){return"function"==typeof t?function(n){return n.pipe(s(function(n,r){return(0,o.H)(e(n,r)).pipe((0,i.T)(function(e,i){return t(n,e,r,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project))},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.C6(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new a.zA(this),r=this.destination;r.add(n),this.innerSubscription=(0,a.tS)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(a.gn)},1698(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(5779),i=n(3409),o=n(2413),a=n(6780);function s(e){return function(t){return 0===e?(0,a.I)():t.lift(new c(e))}}var c=function(){function e(e){if(this.total=e,this.total<0)throw new o.k}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.C6(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(i.v)},941(e,t,n){"use strict";n.d(t,{V:()=>o});var r=n(9386),i=n(9290);function o(e,t){return new r.c(function(n){var r=new i.y,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},2148(e,t,n){"use strict";n.d(t,{S:()=>a});var r=n(9386),i=n(9290),o=n(3840);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.c(function(n){var r,a=new i.y;return a.add(function(){r&&"function"==typeof r.return&&r.return()}),a.add(t.schedule(function(){r=e[o.lJ](),a.add(t.schedule(function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}}))})),a})}},9475(e,t,n){"use strict";n.d(t,{x:()=>a});var r=n(9386),i=n(9290),o=n(9067);function a(e,t){return new r.c(function(n){var r=new i.y;return r.add(t.schedule(function(){var i=e[o.s]();r.add(i.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}},4545(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(9386),i=n(9290);function o(e,t){return new r.c(function(n){var r=new i.y;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r})}},2132(e,t,n){"use strict";n.d(t,{c:()=>l});var r=n(9475),i=n(4545),o=n(941),a=n(2148),s=n(9184),c=n(689),u=n(1738),d=n(2068);function l(e,t){if(null!=e){if((0,s.l)(e))return(0,r.x)(e,t);if((0,c.y)(e))return(0,i.P)(e,t);if((0,u.X)(e))return(0,o.V)(e,t);if((0,d.x)(e)||"string"==typeof e)return(0,a.S)(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},1897(e,t,n){"use strict";n.d(t,{R:()=>i});var r=n(5779),i=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return r.C6(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){return e.call(this)||this}return r.C6(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(9290).y))},8044(e,t,n){"use strict";n.d(t,{q:()=>o});var r=n(5779),i=n(6182),o=function(e){function t(n,r){void 0===r&&(r=i._.now);var o=e.call(this,n,function(){return t.delegate&&t.delegate!==o?t.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.C6(t,e),t.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,i):e.prototype.schedule.call(this,n,r,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i._)},7734(e,t,n){"use strict";n.d(t,{I:()=>l,$:()=>d});var r=n(5779),i=1,o=function(){return Promise.resolve()}(),a={};function s(e){return e in a&&(delete a[e],!0)}var c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.C6(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=(c=t.flush.bind(t,null),u=i++,a[u]=!0,o.then(function(){return s(u)&&c()}),u)));var c,u},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(s(n),t.scheduled=void 0)},t}(n(1897).R),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.C6(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++ri,b:()=>o});var r=n(1897),i=new(n(8044).q)(r.R),o=i},4126(e,t,n){"use strict";n.d(t,{g:()=>s,T:()=>a});var r=n(5779),i=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.C6(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(n(1897).R),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.C6(t,e),t}(n(8044).q),a=new o(i),s=a},3840(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,{lJ:()=>i});var i=r()},9067(e,t,n){"use strict";n.d(t,{s:()=>r});var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},6014(e,t,n){"use strict";n.d(t,{D:()=>r});var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},2413(e,t,n){"use strict";n.d(t,{k:()=>r});var r=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},963(e,t,n){"use strict";n.d(t,{G:()=>r});var r=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},6306(e,t,n){"use strict";n.d(t,{P:()=>r});var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},5(e,t,n){"use strict";n.d(t,{M:()=>r});var r=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}()},9368(e,t,n){"use strict";n.d(t,{Z:()=>r});var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},2724(e,t,n){"use strict";n.d(t,{H:()=>i});var r=n(3409);function i(e){for(;e;){var t=e,n=t.closed,i=t.destination,o=t.isStopped;if(n||o)return!1;e=i&&i instanceof r.v?i:null}return!0}},3762(e,t,n){"use strict";function r(e){setTimeout(function(){throw e},0)}n.d(t,{T:()=>r})},8604(e,t,n){"use strict";function r(e){return e}n.d(t,{D:()=>r})},2733(e,t,n){"use strict";n.d(t,{c:()=>r});var r=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},1738(e,t,n){"use strict";n.d(t,{X:()=>r});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},1454(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(+e)}n.d(t,{$:()=>r})},3278(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},9184(e,t,n){"use strict";n.d(t,{l:()=>i});var r=n(9067);function i(e){return e&&"function"==typeof e[r.s]}},2068(e,t,n){"use strict";n.d(t,{x:()=>i});var r=n(3840);function i(e){return e&&"function"==typeof e[r.lJ]}},899(e,t,n){"use strict";n.d(t,{k:()=>i});var r=n(2733);function i(e){return!(0,r.c)(e)&&e-parseFloat(e)+1>=0}},9273(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{G:()=>r})},689(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{y:()=>r})},3017(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,{m:()=>r})},906(e,t,n){"use strict";function r(){}n.d(t,{l:()=>r})},8153(e,t,n){"use strict";function r(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}n.d(t,{A:()=>r})},990(e,t,n){"use strict";n.d(t,{F:()=>i,m:()=>o});var r=n(8604);function i(){for(var e=[],t=0;tp});var r=n(5168),i=n(7688),o=n(3683),a=n(2376),s=n(1738),c=n(689),u=n(9273),d=n(3840),l=n(9067),p=function(e){if(e&&"function"==typeof e[l.s])return(0,a.X)(e);if((0,s.X)(e))return(0,r.v)(e);if((0,c.y)(e))return(0,i.F)(e);if(e&&"function"==typeof e[d.lJ])return(0,o.S)(e);var t=(0,u.G)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},5168(e,t,n){"use strict";n.d(t,{v:()=>r});var r=function(e){return function(t){for(var n=0,r=e.length;ni});var r=n(3840),i=function(e){return function(t){for(var n=e[r.lJ]();;){var i=void 0;try{i=n.next()}catch(e){return t.error(e),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}}},2376(e,t,n){"use strict";n.d(t,{X:()=>i});var r=n(9067),i=function(e){return function(t){var n=e[r.s]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}}},7688(e,t,n){"use strict";n.d(t,{F:()=>i});var r=n(3762),i=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.T),t}}},7408(e,t,n){"use strict";n.d(t,{F:()=>s});var r=n(5779),i=function(e){function t(t,n,r){var i=e.call(this)||this;return i.parent=t,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.C6(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n(3409).v),o=n(1109),a=n(9386);function s(e,t,n,r,s){if(void 0===s&&(s=new i(e,n,r)),!s.closed)return t instanceof a.c?t.subscribe(s):(0,o.i)(t)(s)}},9297(e,t,n){"use strict";n.d(t,{u:()=>a});var r=n(3409),i=n(6014),o=n(8805);function a(e,t,n){if(e){if(e instanceof r.v)return e;if(e[i.D])return e[i.D]()}return e||t||n?new r.v(e,t,n):new r.v(o.I)}},473(e,t,n){"use strict";n.r(t),n.d(t,{audit:()=>o,auditTime:()=>d,buffer:()=>l,bufferCount:()=>y,bufferTime:()=>b,bufferToggle:()=>k,bufferWhen:()=>x,catchError:()=>j.W,combineAll:()=>z,combineLatest:()=>U,concat:()=>V,concatAll:()=>G.K,concatMap:()=>Y,concatMapTo:()=>W,count:()=>$,debounce:()=>J,debounceTime:()=>ee,defaultIfEmpty:()=>ie,delay:()=>se.c,delayWhen:()=>ue,dematerialize:()=>fe,distinct:()=>ge,distinctUntilChanged:()=>be.F,distinctUntilKeyChanged:()=>Se,elementAt:()=>ke,endWith:()=>Me,every:()=>xe,exhaust:()=>je,exhaustMap:()=>Be,expand:()=>Ve,filter:()=>Ce.p,finalize:()=>Ye,find:()=>Ke,findIndex:()=>Qe,first:()=>et,flatMap:()=>H.qI,groupBy:()=>tt.$,ignoreElements:()=>nt,isEmpty:()=>ot,last:()=>pt,map:()=>Fe.T,mapTo:()=>ht,materialize:()=>gt,max:()=>Et,merge:()=>Ot,mergeAll:()=>At.U,mergeMap:()=>H.ZZ,mergeMapTo:()=>Tt,mergeScan:()=>kt,min:()=>xt,multicast:()=>Dt,observeOn:()=>Lt.QE,onErrorResumeNext:()=>zt,pairwise:()=>Ut,partition:()=>Ht,pluck:()=>Yt,publish:()=>$t,publishBehavior:()=>Zt,publishLast:()=>Qt,publishReplay:()=>en,race:()=>nn,reduce:()=>It,refCount:()=>fn.B,repeat:()=>rn,repeatWhen:()=>sn,retry:()=>dn,retryWhen:()=>hn.l,sample:()=>yn,sampleTime:()=>vn,scan:()=>bt,sequenceEqual:()=>wn,share:()=>On,shareReplay:()=>An.t,single:()=>Tn,skip:()=>Mn,skipLast:()=>Dn,skipUntil:()=>zn,skipWhile:()=>Un,startWith:()=>Gn,subscribeOn:()=>$n,switchAll:()=>Jn,switchMap:()=>Zn.n,switchMapTo:()=>Qn,take:()=>Te.s,takeLast:()=>ut,takeUntil:()=>Xn,takeWhile:()=>nr,tap:()=>sr,throttle:()=>lr,throttleTime:()=>fr,throwIfEmpty:()=>Ee,timeInterval:()=>_r,timeout:()=>Or,timeoutWith:()=>Cr,timestamp:()=>Ar,toArray:()=>Rr,window:()=>Mr,windowCount:()=>Dr,windowTime:()=>zr,windowToggle:()=>Hr,windowWhen:()=>$r,withLatestFrom:()=>Jr,zip:()=>ti,zipAll:()=>ni});var r=n(5779),i=n(9559);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.durationSelector))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.C6(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(e){return this.destination.error(e)}var n=(0,i.tS)(t,new i.zA(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},t.prototype.clearThrottle=function(){var e=this,t=e.value,n=e.hasValue,r=e.throttled;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),n&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))},t.prototype.notifyNext=function(){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(i.gn),c=n(5573),u=n(5520);function d(e,t){return void 0===t&&(t=c.b),o(function(){return(0,u.O)(e,t)})}function l(e){return function(t){return t.lift(new p(e))}}var p=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.closingNotifier))},e}(),h=function(e){function t(t,n){var r=e.call(this,t)||this;return r.buffer=[],r.add((0,i.tS)(n,new i.zA(r))),r}return r.C6(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(){var e=this.buffer;this.buffer=[],this.destination.next(e)},t}(i.gn),f=n(3409);function y(e,t){return void 0===t&&(t=null),function(n){return n.lift(new m(e,t))}}var m=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?v:g}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),g=function(e){function t(t,n){var r=e.call(this,t)||this;return r.bufferSize=n,r.buffer=[],r}return r.C6(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(f.v),v=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.C6(t,e),t.prototype._next=function(e){var t=this,n=t.bufferSize,r=t.startBufferEvery,i=t.buffers,o=t.count;this.count++,o%r===0&&i.push([]);for(var a=i.length;a--;){var s=i[a];s.push(e),s.length===n&&(i.splice(a,1),this.destination.next(s))}},t.prototype._complete=function(){for(var t=this.buffers,n=this.destination;t.length>0;){var r=t.shift();r.length>0&&n.next(r)}e.prototype._complete.call(this)},t}(f.v),_=n(3017);function b(e){var t=arguments.length,n=c.b;(0,_.m)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var r=null;t>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return t>=3&&(i=arguments[2]),function(t){return t.lift(new S(e,r,i,n))}}var S=function(){function e(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new C(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),w=function(){return function(){this.buffer=[]}}(),C=function(e){function t(t,n,r,i,o){var a=e.call(this,t)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=r,a.maxBufferSize=i,a.scheduler=o,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==r||r<0,a.timespanOnly){var c={subscriber:a,context:s,bufferTimeSpan:n};a.add(s.closeAction=o.schedule(I,n,c))}else{var u={subscriber:a,context:s},d={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:a,scheduler:o};a.add(s.closeAction=o.schedule(P,n,u)),a.add(o.schedule(E,r,d))}return a}return r.C6(t,e),t.prototype._next=function(e){for(var t,n=this.contexts,r=n.length,i=0;i0;){var r=t.shift();n.next(r.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(I,n,r))}},t.prototype.openContext=function(){var e=new w;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(f.v);function I(e){var t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function E(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,r=e.subscriber,i=e.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(P,n,{subscriber:r,context:o})),this.schedule(e,t))}function P(e){var t=e.subscriber,n=e.context;t.closeContext(n)}var O=n(9290),A=n(7408),T=n(5422);function k(e,t){return function(n){return n.lift(new R(e,t))}}var R=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new M(e,this.openings,this.closingSelector))},e}(),M=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.closingSelector=r,i.contexts=[],i.add((0,A.F)(i,n)),i}return r.C6(t,e),t.prototype._next=function(e){for(var t=this.contexts,n=t.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var n=t.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var n=e.buffer,r=e.subscription;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(r),r.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,n=new O.y,r={buffer:[],subscription:n};t.push(r);var i=(0,A.F)(this,e,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},t}(T.E);function x(e){return function(t){return t.lift(new N(e))}}var N=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new D(e,this.closingSelector))},e}(),D=function(e){function t(t,n){var r=e.call(this,t)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.C6(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},t.prototype.notifyNext=function(){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{t=(0,this.closingSelector)()}catch(e){return this.error(e)}e=new O.y,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add((0,i.tS)(t,new i.zA(this))),this.subscribing=!1},t}(i.gn),j=n(9586),L=n(3483);function z(e){return function(t){return t.lift(new L.ZS(e))}}var F=n(2733),B=n(8241);function U(){for(var e=[],t=0;t=2;return function(r){return r.pipe((0,Ce.p)(function(t,n){return n===e}),(0,Te.s)(1),n?ie(t):Ee(function(){return new we.k}))}}var Re=n(4128);function Me(){for(var e=[],t=0;t0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(i.gn);function Ye(e){return function(t){return t.lift(new We(e))}}var We=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new $e(e,this.callback))},e}(),$e=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new O.y(n)),r}return r.C6(t,e),t}(f.v);function Ke(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Ze(e,n,!1,t))}}var Ze=function(){function e(e,t,n,r){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=r}return e.prototype.call=function(e,t){return t.subscribe(new Je(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),Je=function(e){function t(t,n,r,i,o){var a=e.call(this,t)||this;return a.predicate=n,a.source=r,a.yieldIndex=i,a.thisArg=o,a.index=0,a}return r.C6(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},t.prototype._next=function(e){var t=this.predicate,n=this.thisArg,r=this.index++;try{t.call(n||this,e,r,this.source)&&this.notifyComplete(this.yieldIndex?r:e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(f.v);function Qe(e,t){return function(n){return n.lift(new Ze(e,n,!0,t))}}var Xe=n(8604);function et(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?(0,Ce.p)(function(t,n){return e(t,n,r)}):Xe.D,(0,Te.s)(1),n?ie(t):Ee(function(){return new Ie.G}))}}var tt=n(2331);function nt(){return function(e){return e.lift(new rt)}}var rt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new it(e))},e}(),it=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.C6(t,e),t.prototype._next=function(e){},t}(f.v);function ot(){return function(e){return e.lift(new at)}}var at=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new st(e))},e}(),st=function(e){function t(t){return e.call(this,t)||this}return r.C6(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(f.v),ct=n(6780);function ut(e){return function(t){return 0===e?(0,ct.I)():t.lift(new dt(e))}}var dt=function(){function e(e){if(this.total=e,this.total<0)throw new we.k}return e.prototype.call=function(e,t){return t.subscribe(new lt(e,this.total))},e}(),lt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.C6(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(e?(0,Ce.p)(function(t,n){return e(t,n,r)}):Xe.D,ut(1),n?ie(t):Ee(function(){return new Ie.G}))}}function ht(e){return function(t){return t.lift(new ft(e))}}var ft=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new yt(e,this.value))},e}(),yt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return r.C6(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(f.v),mt=n(2796);function gt(){return function(e){return e.lift(new vt)}}var vt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new _t(e))},e}(),_t=function(e){function t(t){return e.call(this,t)||this}return r.C6(t,e),t.prototype._next=function(e){this.destination.next(mt.E.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(mt.E.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(mt.E.createComplete()),e.complete()},t}(f.v);function bt(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new St(e,t,n))}}var St=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new wt(e,this.accumulator,this.seed,this.hasSeed))},e}(),wt=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.C6(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(f.v),Ct=n(990);function It(e,t){return arguments.length>=2?function(n){return(0,Ct.F)(bt(e,t),ut(1),ie(t))(n)}:function(t){return(0,Ct.F)(bt(function(t,n,r){return e(t,n,r+1)}),ut(1))(t)}}function Et(e){return It("function"==typeof e?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t})}var Pt=n(3837);function Ot(){for(var e=[],t=0;t0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(i.gn);function xt(e){return It("function"==typeof e?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(f.v);function sn(e){return function(t){return t.lift(new cn(e))}}var cn=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new un(e,this.notifier,t))},e}(),un=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.C6(t,e),t.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},t.prototype._unsubscribeAndRecycle=function(){var t=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=t,this},t.prototype.subscribeToRetries=function(){var t;this.notifications=new Wt.B7;try{t=(0,this.notifier)(this.notifications)}catch(t){return e.prototype.complete.call(this)}this.retries=t,this.retriesSubscription=(0,i.tS)(t,new i.zA(this))},t}(i.gn);function dn(e){return void 0===e&&(e=-1),function(t){return t.lift(new ln(e,t))}}var ln=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new pn(e,this.count,this.source))},e}(),pn=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.count=n,i.source=r,i}return r.C6(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return e.prototype.error.call(this,t);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(f.v),hn=n(2551),fn=n(1709);function yn(e){return function(t){return t.lift(new mn(e))}}var mn=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new gn(e),r=t.subscribe(n);return r.add((0,i.tS)(this.notifier,new i.zA(n))),r},e}(),gn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasValue=!1,t}return r.C6(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(i.gn);function vn(e,t){return void 0===t&&(t=c.b),function(n){return n.lift(new _n(e,t))}}var _n=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new bn(e,this.period,this.scheduler))},e}(),bn=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(Sn,n,{subscriber:i,period:n})),i}return r.C6(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(f.v);function Sn(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}function wn(e,t){return function(n){return n.lift(new Cn(e,t))}}var Cn=function(){function e(e,t){this.compareTo=e,this.comparator=t}return e.prototype.call=function(e,t){return t.subscribe(new In(e,this.compareTo,this.comparator))},e}(),In=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new En(t,i))),i}return r.C6(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},t.prototype.checkValues=function(){for(var e=this,t=e._a,n=e._b,r=e.comparator;t.length>0&&n.length>0;){var i=t.shift(),o=n.shift(),a=!1;try{a=r?r(i,o):i===o}catch(e){this.destination.error(e)}a||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t}(f.v),En=function(e){function t(t,n){var r=e.call(this,t)||this;return r.parent=n,r}return r.C6(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},t}(f.v);function Pn(){return new Wt.B7}function On(){return function(e){return(0,fn.B)()(Dt(Pn)(e))}}var An=n(2161);function Tn(e){return function(t){return t.lift(new kn(e,t))}}var kn=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new Rn(e,this.predicate,this.source))},e}(),Rn=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.C6(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new Ie.G)},t}(f.v);function Mn(e){return function(t){return t.lift(new xn(e))}}var xn=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new Nn(e,this.total))},e}(),Nn=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.C6(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(f.v);function Dn(e){return function(t){return t.lift(new jn(e))}}var jn=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new we.k}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new f.v(e)):t.subscribe(new Ln(e,this._skipCount))},e}(),Ln=function(e){function t(t,n){var r=e.call(this,t)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.C6(t,e),t.prototype._next=function(e){var t=this._skipCount,n=this._count++;if(n0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a=0&&s%t===0&&!this.closed&&i.shift().complete(),++this.count%t===0&&!this.closed){var c=new Wt.B7;i.push(c),n.next(c)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(f.v);function zr(e){var t=c.b,n=null,r=Number.POSITIVE_INFINITY;return(0,_.m)(arguments[3])&&(t=arguments[3]),(0,_.m)(arguments[2])?t=arguments[2]:(0,Yn.k)(arguments[2])&&(r=Number(arguments[2])),(0,_.m)(arguments[1])?t=arguments[1]:(0,Yn.k)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new Fr(e,n,r,t))}}var Fr=function(){function e(e,t,n,r){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new Ur(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),Br=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._numberOfNextedValues=0,t}return r.C6(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(Wt.B7),Ur=function(e){function t(t,n,r,i,o){var a=e.call(this,t)||this;a.destination=t,a.windowTimeSpan=n,a.windowCreationInterval=r,a.maxWindowSize=i,a.scheduler=o,a.windows=[];var s=a.openWindow();if(null!==r&&r>=0){var c={subscriber:a,window:s,context:null},u={windowTimeSpan:n,windowCreationInterval:r,subscriber:a,scheduler:o};a.add(o.schedule(Gr,n,c)),a.add(o.schedule(Vr,r,u))}else{var d={subscriber:a,window:s,windowTimeSpan:n};a.add(o.schedule(qr,n,d))}return a}return r.C6(t,e),t.prototype._next=function(e){for(var t=this.windows,n=t.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new Br;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(f.v);function qr(e){var t=e.subscriber,n=e.windowTimeSpan,r=e.window;r&&t.closeWindow(r),e.window=t.openWindow(),this.schedule(e,n)}function Vr(e){var t=e.windowTimeSpan,n=e.subscriber,r=e.scheduler,i=e.windowCreationInterval,o=n.openWindow(),a=this,s={action:a,subscription:null},c={subscriber:n,window:o,context:s};s.subscription=r.schedule(Gr,t,c),a.add(s.subscription),a.schedule(e,i)}function Gr(e){var t=e.subscriber,n=e.window,r=e.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),t.closeWindow(n)}function Hr(e,t){return function(n){return n.lift(new Yr(e,t))}}var Yr=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Wr(e,this.openings,this.closingSelector))},e}(),Wr=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=(0,A.F)(i,n,n)),i}return r.C6(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,r=0;r0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(T.E),ei=n(5778);function ti(){for(var e=[],t=0;ti});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}},540(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},803(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>E,__asyncGenerator:()=>I,__asyncValues:()=>P,__await:()=>C,__awaiter:()=>f,__classPrivateFieldGet:()=>M,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>x,__createBinding:()=>m,__decorate:()=>s,__disposeResources:()=>L,__esDecorate:()=>u,__exportStar:()=>g,__extends:()=>i,__generator:()=>y,__importDefault:()=>R,__importStar:()=>k,__makeTemplateObject:()=>O,__metadata:()=>h,__param:()=>c,__propKey:()=>l,__read:()=>_,__rest:()=>a,__rewriteRelativeImportExtension:()=>z,__runInitializers:()=>d,__setFunctionName:()=>p,__spread:()=>b,__spreadArray:()=>w,__spreadArrays:()=>S,__values:()=>v,default:()=>F});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",d=!t&&e?r.static?e:e.prototype:null,l=t||(d?Object.getOwnPropertyDescriptor(d,r.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var y in r)f[y]="access"===y?{}:r[y];for(var y in r.access)f.access[y]=r.access[y];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var m=(0,n[h])("accessor"===c?{get:l.get,set:l.set}:l[u],f);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(s=a(m.get))&&(l.get=s),(s=a(m.set))&&(l.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===c?i.unshift(s):l[u]=s)}d&&Object.defineProperty(d,r.name,l),p=!0}function d(e,t,n){for(var r=arguments.length>2,i=0;i0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function b(){for(var e=[],t=0;t1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=i[e](t)).value instanceof C?Promise.resolve(n.value.v).then(c,u):d(o[0][2],n)}catch(e){d(o[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function d(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:i?i(t):t}:i}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var A=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},T=function(e){return T=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},T(e)};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=T(e),r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};(()=>{"use strict";n.r(r),n.d(r,{createCheckoutButtonInitializer:()=>pl,createTimeout:()=>t.createTimeout});var e={};n.r(e),n.d(e,{createAmazonPayV2ButtonStrategy:()=>xr,createApplePayButtonStrategy:()=>li,createBigCommercePaymentsButtonStrategy:()=>Ti,createBigCommercePaymentsPayLaterButtonStrategy:()=>Mi,createBigCommercePaymentsVenmoButtonStrategy:()=>Di,createBoltButtonStrategy:()=>Gi,createBraintreePaypalButtonStrategy:()=>lo,createBraintreePaypalCreditButtonStrategy:()=>fo,createBraintreeVenmoButtonStrategy:()=>Co,createBraintreeVisaCheckoutButtonStrategy:()=>go,createGooglePayAdyenV2ButtonStrategy:()=>pa,createGooglePayAdyenV3ButtonStrategy:()=>ha,createGooglePayAuthorizeDotNetButtonStrategy:()=>ya,createGooglePayBigCommercePaymentsButtonStrategy:()=>la,createGooglePayBraintreeButtonStrategy:()=>Qo,createGooglePayCheckoutComButtonStrategy:()=>ba,createGooglePayCybersourceButtonStrategy:()=>wa,createGooglePayOrbitalButtonStrategy:()=>Ia,createGooglePayPayPalCommerceButtonStrategy:()=>aa,createGooglePayStripeButtonStrategy:()=>Va,createGooglePayTdOnlineMartButtonStrategy:()=>Ka,createGooglePayWorldpayAccessButtonStrategy:()=>Ha,createLinkV2ButtonStrategy:()=>nc,createPayPalCommerceButtonStrategy:()=>ms,createPayPalCommerceCreditButtonStrategy:()=>_s,createPayPalCommerceVenmoButtonStrategy:()=>Ds,createPaypalExpressButtonStrategy:()=>Hs});var t=n(4043),i=n(8686),o=n(9526);class a extends Error{constructor(e){var t;super(e||"An unexpected error has occurred."),this.name="StandardError",this.type="standard",t=new.target.prototype,Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,new.target):this.stack=new Error(this.message).stack}}const s={body:{},headers:{},status:0};class c extends a{constructor(e,{message:t,errors:n}={}){const{body:r,headers:i,status:o}=e||s;super(t||"An unexpected error has occurred."),this.name="RequestError",this.type="request",this.body=r,this.headers=i,this.status=o,this.errors=n||[]}}class u extends c{constructor(e){super(e,{message:"There is a problem processing your payment. Please try again later."}),this.name="PaymentMethodInvalidError",this.type="payment_method_invalid"}}class d extends Error{constructor(e){var t;super(e||"An unexpected error has occurred."),this.name="StandardError",this.type="standard",t=new.target.prototype,Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,new.target):this.stack=new Error(this.message).stack}}const l={body:{},headers:{},status:0};class p extends d{constructor(e,{message:t,errors:n}={}){const{body:r,headers:i,status:o}=e||l;super(t||"An unexpected error has occurred."),this.name="RequestError",this.type="request",this.body=r,this.headers=i,this.status=o,this.errors=n||[]}}class h extends p{constructor(e,t){super(e,{message:t||"An unexpected error has occurred. The checkout process cannot continue as a result."}),this.name="UnrecoverableError",this.type="unrecoverable"}}var f=n(9440);function y(e){return e.reduce((e,t)=>t?[...e,t]:e,[]).join(" ")}function m(e,t){const{body:n}=e,{errors:r=[]}=n;return new p(e,{message:g(r)||t,errors:r})}function g(e){if(Array.isArray(e))return e.reduce((e,t)=>t&&t.message?[...e,t.message]:e,[]).join(" ")}class v extends p{constructor(e){super(e,{message:"The request has timed out or aborted."}),this.name="TimeoutError",this.type="timeout"}}class _{constructor(){this._factoryMethods={},this.register("default",(e,t)=>new p(e,{message:t})),this.register("internal",(e,t)=>function(e,t){const{body:n}=e,{errors:r=[]}=n;return new p(e,{message:y(r)||n.detail||n.title||t,errors:r.length?r.map(e=>({code:n.type,message:e})):[{code:n.type,message:n.detail||n.title}]})}(e,t)),this.register("storefront",(e,t)=>function(e,t){const{body:n}=e;return new p(e,{message:t||n.detail||n.title,errors:[{code:n.code||n.type,message:n.detail||n.title}]})}(e,t)),this.register("payment",(e,t)=>m(e,t)),this.register("timeout",e=>new v(e))}register(e,t){this._factoryMethods[e]=t}createError(e,t){return(this._factoryMethods[this._getType(e)]||this._factoryMethods.default)(e,t)}_getType(e){if(0===e.status)return"timeout";if(this._isStorefrontErrorResponseBody(e.body))return"storefront";if(this._isInternalErrorResponseBody(e.body)){const t=(0,f.last)(e.body.type.split("/"));return t&&this._factoryMethods[t]?t:"internal"}const t=(0,f.last)(e.body&&e.body.errors);return t&&t.code&&this._factoryMethods[t.code]?t.code:"payment"}_isStorefrontErrorResponseBody(e){const t=e;return!this._isInternalErrorResponseBody(e)&&"string"==typeof t.title&&"string"==typeof t.type&&"number"==typeof t.status&&"string"==typeof t.detail}_isInternalErrorResponseBody(e){const t=e;return"object"==typeof t.errors&&"string"==typeof t.title&&"string"==typeof t.type&&"number"==typeof t.status}}var b,S,w=n(8241),C=n(9586);function I(e,t){return Array.isArray(e)?e.map(e=>I(e,t)):(0,f.isPlainObject)(e)?(0,f.transform)((0,f.omitBy)(e,t),(e,n,r)=>{e[r]=I(n,t)},{}):e}function E(e,t){return function(e){return e.type===b.ClearError}(t)?I(e,e=>e===t.payload):e}function P(e,t,n){return e===t||(e&&t&&"object"==typeof e&&"object"==typeof t?Array.isArray(e)&&Array.isArray(t)?function(e,t,n){if(e.length!==t.length)return!1;for(let r=0,i=e.length;rvoid 0!==e.id&&e.id===t.id}=r||{};if(!t)return n;if(!n||t===n)return t;let o=0,a=0;const s=(e,t,n)=>(o+=e===t?1:0,a+=e===n?1:0,e),c=n.map((n,r)=>{const o=t&&t[r];return V(o)&&V(n)?i(o,n)?s(H(o,n),o,n):s(L(o,n),o,n):(0,f.isArray)(o)&&(0,f.isArray)(n)?s(e(o,n),o,n):s(L(o,n),o,n)});return o===n.length&&t&&t.length===n.length?t:a===n.length?n:c},H=function e(t,n){return t?n&&t!==n?Object.keys(n).reduce((t,r)=>{const i=t[r],o=n[r];return V(i)&&V(o)?O(t,r,e(i,o)):(0,f.isArray)(i)&&(0,f.isArray)(o)?O(t,r,G(i,o)):O(t,r,o)},t):t:n};var Y,W,$;!function(e){e.ApplyCouponRequested="APPLY_COUPON_REQUESTED",e.ApplyCouponSucceeded="APPLY_COUPON_SUCCEEDED",e.ApplyCouponFailed="APPLY_COUPON_FAILED",e.RemoveCouponRequested="REMOVE_COUPON_REQUESTED",e.RemoveCouponSucceeded="REMOVE_COUPON_SUCCEEDED",e.RemoveCouponFailed="REMOVE_COUPON_FAILED"}(Y||(Y={})),function(e){e.ApplyGiftCertificateRequested="APPLY_GIFT_CERTIFICATE_REQUESTED",e.ApplyGiftCertificateSucceeded="APPLY_GIFT_CERTIFICATE_SUCCEEDED",e.ApplyGiftCertificateFailed="APPLY_GIFT_CERTIFICATE_FAILED",e.RemoveGiftCertificateRequested="REMOVE_GIFT_CERTIFICATE_REQUESTED",e.RemoveGiftCertificateSucceeded="REMOVE_GIFT_CERTIFICATE_SUCCEEDED",e.RemoveGiftCertificateFailed="REMOVE_GIFT_CERTIFICATE_FAILED"}(W||(W={})),function(e){e.CreateConsignmentsRequested="CREATE_CONSIGNMENTS_REQUESTED",e.CreateConsignmentsSucceeded="CREATE_CONSIGNMENTS_SUCCEEDED",e.CreateConsignmentsFailed="CREATE_CONSIGNMENTS_FAILED",e.UpdateConsignmentRequested="UPDATE_CONSIGNMENT_REQUESTED",e.UpdateConsignmentSucceeded="UPDATE_CONSIGNMENT_SUCCEEDED",e.UpdateConsignmentFailed="UPDATE_CONSIGNMENT_FAILED",e.DeleteConsignmentRequested="DELETE_CONSIGNMENT_REQUESTED",e.DeleteConsignmentSucceeded="DELETE_CONSIGNMENT_SUCCEEDED",e.DeleteConsignmentFailed="DELETE_CONSIGNMENT_FAILED",e.UpdateShippingOptionRequested="UPDATE_SHIPPING_OPTION_REQUESTED",e.UpdateShippingOptionSucceeded="UPDATE_SHIPPING_OPTION_SUCCEEDED",e.UpdateShippingOptionFailed="UPDATE_SHIPPING_OPTION_FAILED",e.LoadShippingOptionsRequested="LOAD_SHIPPING_OPTIONS_REQUESTED",e.LoadShippingOptionsSucceeded="LOAD_SHIPPING_OPTIONS_SUCCEEDED",e.LoadShippingOptionsFailed="LOAD_SHIPPING_OPTIONS_FAILED"}($||($={}));const K={errors:{},statuses:{}};function Z(e=K,t){return(0,o.HY)({data:J,errors:(0,o.om)(X,E),statuses:Q})(e,t)}function J(e,t){var n,r;switch(t.type){case j.UpdateBillingAddressSucceeded:case x.LoadCheckoutSucceeded:case $.CreateConsignmentsSucceeded:case $.DeleteConsignmentSucceeded:case $.UpdateConsignmentSucceeded:case $.UpdateShippingOptionSucceeded:case $.LoadShippingOptionsSucceeded:case Y.ApplyCouponSucceeded:case Y.RemoveCouponSucceeded:case W.ApplyGiftCertificateSucceeded:case W.RemoveGiftCertificateSucceeded:return H(e,t.payload&&t.payload.cart);case N.HydrateInitialState:return H(e,null===(r=null===(n=t.payload)||void 0===n?void 0:n.checkout)||void 0===r?void 0:r.cart);default:return e}}function Q(e=K.statuses,t){switch(t.type){case x.LoadCheckoutRequested:return O(e,"isLoading",!0);case x.LoadCheckoutFailed:case x.LoadCheckoutSucceeded:return O(e,"isLoading",!1);default:return e}}function X(e=K.errors,t){switch(t.type){case x.LoadCheckoutRequested:case x.LoadCheckoutSucceeded:return O(e,"loadError",void 0);case x.LoadCheckoutFailed:return O(e,"loadError",t.payload);default:return e}}var ee;!function(e){e.InitializeButtonFailed="INITIALIZE_BUTTON_FAILED",e.InitializeButtonRequested="INITIALIZE_BUTTON_REQUESTED",e.InitializeButtonSucceeded="INITIALIZE_BUTTON_SUCCEEDED",e.DeinitializeButtonFailed="DEINITIALIZE_BUTTON_FAILED",e.DeinitializeButtonRequested="DEINITIALIZE_BUTTON_REQUESTED",e.DeinitializeButtonSucceeded="DEINITIALIZE_BUTTON_SUCCEEDED"}(ee||(ee={}));const te={data:{},errors:{},statuses:{}},ne={initializedContainers:{}},re={},ie={};function oe(e=te,t){return t.meta&&t.meta.methodId?(0,o.HY)({data:(0,o.HY)({[t.meta.methodId]:ae}),errors:(0,o.HY)({[t.meta.methodId]:se}),statuses:(0,o.HY)({[t.meta.methodId]:ce})})(e,t):e}function ae(e=ne,t){switch(t.type){case ee.InitializeButtonSucceeded:return t.meta&&t.meta.containerId?H(e,{initializedContainers:{[t.meta.containerId]:!0}}):e;case ee.DeinitializeButtonSucceeded:return O(e,"initializedContainers",{})}return e}function se(e=re,t){switch(t.type){case ee.InitializeButtonRequested:case ee.InitializeButtonSucceeded:return O(e,"initializeError",void 0);case ee.InitializeButtonFailed:return O(e,"initializeError",t.payload);case ee.DeinitializeButtonRequested:case ee.DeinitializeButtonSucceeded:return O(e,"deinitializeError",void 0);case ee.DeinitializeButtonFailed:return O(e,"deinitializeError",t.payload);default:return e}}function ce(e=ie,t){switch(t.type){case ee.InitializeButtonRequested:return O(e,"isInitializing",!0);case ee.InitializeButtonFailed:case ee.InitializeButtonSucceeded:return O(e,"isInitializing",!1);case ee.DeinitializeButtonRequested:return O(e,"isDeinitializing",!0);case ee.DeinitializeButtonFailed:case ee.DeinitializeButtonSucceeded:return O(e,"isDeinitializing",!1);default:return e}}var ue;!function(e){e.LoadConfigRequested="LOAD_CONFIG_REQUESTED",e.LoadConfigSucceeded="LOAD_CONFIG_SUCCEEDED",e.LoadConfigFailed="LOAD_CONFIG_FAILED"}(ue||(ue={}));const de={meta:{},errors:{},statuses:{}};function le(e=de,t){return(0,o.HY)({data:pe,errors:(0,o.om)(he,E),statuses:fe})(e,t)}function pe(e,t){var n,r;switch(t.type){case ue.LoadConfigSucceeded:return H(e,t.payload);case N.HydrateInitialState:{const i=H(e,null===(n=t.payload)||void 0===n?void 0:n.config);return i&&(null===(r=t.payload)||void 0===r?void 0:r.b2bApiSettings)?Object.assign(Object.assign({},i),{storeConfig:Object.assign(Object.assign({},i.storeConfig),{b2bApiSettings:t.payload.b2bApiSettings})}):i}default:return e}}function he(e=de.errors,t){switch(t.type){case ue.LoadConfigSucceeded:return O(e,"loadError",void 0);case ue.LoadConfigFailed:return O(e,"loadError",t.payload);default:return e}}function fe(e=de.statuses,t){switch(t.type){case ue.LoadConfigRequested:return O(e,"isLoading",!0);case ue.LoadConfigSucceeded:case ue.LoadConfigFailed:return O(e,"isLoading",!1);default:return e}}var ye;!function(e){e.LoadOrderRequested="LOAD_ORDER_REQUESTED",e.LoadOrderSucceeded="LOAD_ORDER_SUCCEEDED",e.LoadOrderFailed="LOAD_ORDER_FAILED",e.LoadOrderPaymentsRequested="LOAD_ORDER_PAYMENTS_REQUESTED",e.LoadOrderPaymentsSucceeded="LOAD_ORDER_PAYMENTS_SUCCEEDED",e.LoadOrderPaymentsFailed="LOAD_ORDER_PAYMENTS_FAILED",e.SubmitOrderRequested="SUBMIT_ORDER_REQUESTED",e.SubmitOrderSucceeded="SUBMIT_ORDER_SUCCEEDED",e.SubmitOrderFailed="SUBMIT_ORDER_FAILED",e.FinalizeOrderRequested="FINALIZE_ORDER_REQUESTED",e.FinalizeOrderSucceeded="FINALIZE_ORDER_SUCCEEDED",e.FinalizeOrderFailed="FINALIZE_ORDER_FAILED"}(ye||(ye={}));const me={errors:{},statuses:{}};function ge(e=me,t){return(0,o.HY)({data:ve,errors:(0,o.om)(_e,E),statuses:be})(e,t)}function ve(e,t){var n,r;switch(t.type){case x.LoadCheckoutSucceeded:case Y.ApplyCouponSucceeded:case $.UpdateShippingOptionSucceeded:case Y.RemoveCouponSucceeded:case ye.LoadOrderSucceeded:return G(e,t.payload&&t.payload.coupons);case N.HydrateInitialState:return G(e,null===(r=null===(n=t.payload)||void 0===n?void 0:n.checkout)||void 0===r?void 0:r.coupons);default:return e}}function _e(e={},t){switch(t.type){case Y.ApplyCouponRequested:case Y.ApplyCouponSucceeded:return O(e,"applyCouponError",void 0);case Y.ApplyCouponFailed:return O(e,"applyCouponError",t.payload);case Y.RemoveCouponRequested:case Y.RemoveCouponSucceeded:return O(e,"removeCouponError",void 0);case Y.RemoveCouponFailed:return O(e,"removeCouponError",t.payload);default:return e}}function be(e={},t){switch(t.type){case Y.ApplyCouponRequested:return O(e,"isApplyingCoupon",!0);case Y.ApplyCouponSucceeded:case Y.ApplyCouponFailed:return O(e,"isApplyingCoupon",!1);case Y.RemoveCouponRequested:return O(e,"isRemovingCoupon",!0);case Y.RemoveCouponSucceeded:case Y.RemoveCouponFailed:return O(e,"isRemovingCoupon",!1);default:return e}}const Se={errors:{},statuses:{}};function we(e=Se,t){return(0,o.HY)({data:Ce,errors:(0,o.om)(Ie,E),statuses:Ee})(e,t)}function Ce(e,t){var n,r;switch(t.type){case x.LoadCheckoutSucceeded:case $.CreateConsignmentsSucceeded:case $.UpdateConsignmentSucceeded:case $.DeleteConsignmentSucceeded:case $.UpdateShippingOptionSucceeded:case Y.ApplyCouponSucceeded:case Y.RemoveCouponSucceeded:case W.ApplyGiftCertificateSucceeded:case W.RemoveGiftCertificateSucceeded:return G(e,t.payload&&t.payload.giftCertificates);case N.HydrateInitialState:return G(e,null===(r=null===(n=t.payload)||void 0===n?void 0:n.checkout)||void 0===r?void 0:r.giftCertificates);default:return e}}function Ie(e=Se.errors,t){switch(t.type){case W.ApplyGiftCertificateRequested:case W.ApplyGiftCertificateSucceeded:return O(e,"applyGiftCertificateError",void 0);case W.ApplyGiftCertificateFailed:return O(e,"applyGiftCertificateError",t.payload);case W.RemoveGiftCertificateRequested:case W.RemoveGiftCertificateSucceeded:return O(e,"removeGiftCertificateError",void 0);case W.RemoveGiftCertificateFailed:return O(e,"removeGiftCertificateError",t.payload);default:return e}}function Ee(e=Se.statuses,t){switch(t.type){case W.ApplyGiftCertificateRequested:return O(e,"isApplyingGiftCertificate",!0);case W.ApplyGiftCertificateSucceeded:case W.ApplyGiftCertificateFailed:return O(e,"isApplyingGiftCertificate",!1);case W.RemoveGiftCertificateRequested:return O(e,"isRemovingGiftCertificate",!0);case W.RemoveGiftCertificateSucceeded:case W.RemoveGiftCertificateFailed:return O(e,"isRemovingGiftCertificate",!1);default:return e}}var Pe;!function(e){e.SignInCustomerRequested="SIGN_IN_CUSTOMER_REQUESTED",e.SignInCustomerSucceeded="SIGN_IN_CUSTOMER_SUCCEEDED",e.SignInCustomerFailed="SIGN_IN_CUSTOMER_FAILED",e.SignOutCustomerRequested="SIGN_OUT_CUSTOMER_REQUESTED",e.SignOutCustomerSucceeded="SIGN_OUT_CUSTOMER_SUCCEEDED",e.SignOutCustomerFailed="SIGN_OUT_CUSTOMER_FAILED",e.CreateCustomerRequested="CREATE_CUSTOMER_REQUESTED",e.CreateCustomerSucceeded="CREATE_CUSTOMER_SUCCEEDED",e.CreateCustomerFailed="CREATE_CUSTOMER_FAILED",e.CreateCustomerAddressRequested="CREATE_CUSTOMER_ADDRESS_REQUESTED",e.CreateCustomerAddressSucceeded="CREATE_CUSTOMER_ADDRESS_SUCCEEDED",e.CreateCustomerAddressFailed="CREATE_CUSTOMER_ADDRESS_FAILED",e.StripeLinkAuthenticated="STRIPE_LINK_AUTHENTICATED"}(Pe||(Pe={}));const Oe={errors:{},statuses:{}};function Ae(e=Oe,t){return(0,o.HY)({data:Te,errors:(0,o.om)(ke,E),statuses:Re})(e,t)}function Te(e,t){var n,r;switch(t.type){case j.ContinueAsGuestSucceeded:case x.LoadCheckoutSucceeded:return H(e,t.payload&&t.payload.customer);case Pe.CreateCustomerAddressSucceeded:return H(e,t.payload);case N.HydrateInitialState:return H(e,null===(r=null===(n=t.payload)||void 0===n?void 0:n.checkout)||void 0===r?void 0:r.customer);default:return e}}function ke(e=Oe.errors,t){switch(t.type){case Pe.CreateCustomerRequested:case Pe.CreateCustomerSucceeded:return O(e,"createError",void 0);case Pe.CreateCustomerFailed:return O(e,"createError",t.payload);case Pe.CreateCustomerAddressRequested:case Pe.CreateCustomerAddressSucceeded:return O(e,"createAddressError",void 0);case Pe.CreateCustomerAddressFailed:return O(e,"createAddressError",t.payload);default:return e}}function Re(e=Oe.statuses,t){switch(t.type){case Pe.CreateCustomerRequested:return O(e,"isCreating",!0);case Pe.CreateCustomerFailed:case Pe.CreateCustomerSucceeded:return O(e,"isCreating",!1);case Pe.CreateCustomerAddressRequested:return O(e,"isCreatingAddress",!0);case Pe.CreateCustomerAddressFailed:case Pe.CreateCustomerAddressSucceeded:return O(e,"isCreatingAddress",!1);default:return e}}var Me;!function(e){e.SignInFailed="CUSTOMER_STRATEGY_SIGN_IN_FAILED",e.SignInRequested="CUSTOMER_STRATEGY_SIGN_IN_REQUESTED",e.SignInSucceeded="CUSTOMER_STRATEGY_SIGN_IN_SUCCEEDED",e.SignOutFailed="CUSTOMER_STRATEGY_SIGN_OUT_FAILED",e.SignOutRequested="CUSTOMER_STRATEGY_SIGN_OUT_REQUESTED",e.SignOutSucceeded="CUSTOMER_STRATEGY_SIGN_OUT_SUCCEEDED",e.ExecutePaymentMethodCheckoutFailed="CUSTOMER_STRATEGY_EXECUTE_PAYMENT_METHOD_CHECKOUT_FAILED",e.ExecutePaymentMethodCheckoutRequested="CUSTOMER_STRATEGY_EXECUTE_PAYMENT_METHOD_CHECKOUT_REQUESTED",e.ExecutePaymentMethodCheckoutSucceeded="CUSTOMER_STRATEGY_EXECUTE_PAYMENT_METHOD_CHECKOUT_SUCCEEDED",e.InitializeFailed="CUSTOMER_STRATEGY_INITIALIZE_FAILED",e.InitializeRequested="CUSTOMER_STRATEGY_INITIALIZE_REQUESTED",e.InitializeSucceeded="CUSTOMER_STRATEGY_INITIALIZE_SUCCEEDED",e.DeinitializeFailed="CUSTOMER_STRATEGY_DEINITIALIZE_FAILED",e.DeinitializeRequested="CUSTOMER_STRATEGY_DEINITIALIZE_REQUESTED",e.DeinitializeSucceeded="CUSTOMER_STRATEGY_DEINITIALIZE_SUCCEEDED",e.WidgetInteractionStarted="CUSTOMER_STRATEGY_WIDGET_INTERACTION_STARTED",e.WidgetInteractionFinished="CUSTOMER_STRATEGY_WIDGET_INTERACTION_FINISHED",e.WidgetInteractionFailed="CUSTOMER_STRATEGY_WIDGET_INTERACTION_FAILED"}(Me||(Me={}));const xe={data:{},errors:{},statuses:{}};function Ne(e=xe,t){return(0,o.HY)({data:De,errors:(0,o.om)(je,E),statuses:Le})(e,t)}function De(e=xe.data,t){switch(t.type){case Me.InitializeSucceeded:return H(e,{[t.meta&&t.meta.methodId]:{isInitialized:!0}});case Me.DeinitializeSucceeded:return H(e,{[t.meta&&t.meta.methodId]:{isInitialized:!1}})}return e}function je(e=xe.errors,t){switch(t.type){case Me.InitializeRequested:case Me.InitializeSucceeded:return H(e,{initializeErrors:Object.assign({},e.initializeErrors),initializeMethodId:e.initializeMethodId?e.initializeMethodId:void 0});case Me.InitializeFailed:return H(e,{initializeErrors:Object.assign(Object.assign({},e.initializeErrors),{[t.meta&&t.meta.methodId]:t.payload}),initializeMethodId:t.meta&&t.meta.methodId});case Me.DeinitializeRequested:case Me.DeinitializeSucceeded:return H(e,{deinitializeError:void 0,deinitializeMethodId:void 0});case Me.DeinitializeFailed:return H(e,{deinitializeError:t.payload,deinitializeMethodId:t.meta&&t.meta.methodId});case Me.SignInRequested:case Me.SignInSucceeded:return H(e,{signInError:void 0,signInMethodId:void 0});case Me.SignInFailed:return H(e,{signInError:t.payload,signInMethodId:t.meta&&t.meta.methodId});case Me.SignOutRequested:case Me.SignOutSucceeded:return H(e,{signOutError:void 0,signOutMethodId:void 0});case Me.SignOutFailed:return H(e,{signOutError:t.payload,signOutMethodId:t.meta&&t.meta.methodId});case Me.ExecutePaymentMethodCheckoutRequested:case Me.ExecutePaymentMethodCheckoutSucceeded:return H(e,{executePaymentMethodCheckoutError:void 0,executePaymentMethodCheckoutMethodId:void 0});case Me.ExecutePaymentMethodCheckoutFailed:return H(e,{executePaymentMethodCheckoutError:t.payload,executePaymentMethodCheckoutMethodId:t.meta&&t.meta.methodId});case Me.WidgetInteractionStarted:case Me.WidgetInteractionFinished:return H(e,{widgetInteractionError:void 0,widgetInteractionMethodId:void 0});case Me.WidgetInteractionFailed:return H(e,{widgetInteractionError:t.payload,widgetInteractionMethodId:t.meta.methodId});default:return e}}function Le(e=xe.statuses,t){switch(t.type){case Me.InitializeRequested:return H(e,{isInitializing:!0,initializeMethodId:t.meta&&t.meta.methodId});case Me.InitializeFailed:case Me.InitializeSucceeded:return H(e,{isInitializing:!1,initializeMethodId:void 0});case Me.DeinitializeRequested:return H(e,{isDeinitializing:!0,deinitializeMethodId:t.meta&&t.meta.methodId});case Me.DeinitializeFailed:case Me.DeinitializeSucceeded:return H(e,{isDeinitializing:!1,deinitializeMethodId:void 0});case Me.SignInRequested:return H(e,{isSigningIn:!0,signInMethodId:t.meta&&t.meta.methodId});case Me.SignInFailed:case Me.SignInSucceeded:return H(e,{isSigningIn:!1,signInMethodId:void 0});case Me.SignOutRequested:return H(e,{isSigningOut:!0,signOutMethodId:t.meta&&t.meta.methodId});case Me.SignOutFailed:case Me.SignOutSucceeded:return H(e,{isSigningOut:!1,signOutMethodId:void 0});case Me.ExecutePaymentMethodCheckoutRequested:return H(e,{isExecutingPaymentMethodCheckout:!0,executePaymentMethodCheckoutMethodId:t.meta&&t.meta.methodId});case Me.ExecutePaymentMethodCheckoutFailed:case Me.ExecutePaymentMethodCheckoutSucceeded:return H(e,{isExecutingPaymentMethodCheckout:!1,executePaymentMethodCheckoutMethodId:void 0});case Me.WidgetInteractionStarted:return H(e,{isWidgetInteracting:!0,widgetInteractionMethodId:t.meta.methodId});case Me.WidgetInteractionFinished:case Me.WidgetInteractionFailed:return H(e,{isWidgetInteracting:!1,widgetInteractionMethodId:void 0});default:return e}}var ze;!function(e){e.LoadExtensionsRequested="LOAD_EXTENSIONS_REQUESTED",e.LoadExtensionsSucceeded="LOAD_EXTENSIONS_SUCCEEDED",e.LoadExtensionsFailed="LOAD_EXTENSIONS_FAILED",e.RenderExtensionRequested="RENDER_EXTENSION_REQUESTED",e.RenderExtensionSucceeded="RENDER_EXTENSION_SUCCEEDED",e.RenderExtensionFailed="RENDER_EXTENSION_FAILED"}(ze||(ze={}));const Fe={errors:{},statuses:{}};function Be(e=Fe,t){return(0,o.HY)({data:Ue,errors:(0,o.om)(qe,E),statuses:Ve})(e,t)}function Ue(e,t){var n;return t.type===ze.LoadExtensionsSucceeded?G(e,t.payload):t.type===N.HydrateInitialState?G(e,null===(n=t.payload)||void 0===n?void 0:n.extensions):e}function qe(e=Fe.errors,t){switch(t.type){case ze.LoadExtensionsRequested:case ze.LoadExtensionsSucceeded:return O(e,"loadError",void 0);case ze.RenderExtensionRequested:case ze.RenderExtensionSucceeded:return O(e,"renderError",void 0);case ze.LoadExtensionsFailed:return O(e,"loadError",t.payload);case ze.RenderExtensionFailed:return O(e,"renderError",t.payload);default:return e}}function Ve(e=Fe.statuses,t){switch(t.type){case ze.LoadExtensionsRequested:return O(e,"isLoading",!0);case ze.LoadExtensionsSucceeded:case ze.LoadExtensionsFailed:return O(e,"isLoading",!1);default:return e}}var Ge;!function(e){e.LoadFormFieldsRequested="LOAD_FORM_FIELDS_REQUESTED",e.LoadFormFieldsSucceeded="LOAD_FORM_FIELDS_SUCCEEDED",e.LoadFormFieldsFailed="LOAD_FORM_FIELDS_FAILED"}(Ge||(Ge={}));const He={errors:{},statuses:{}};function Ye(e=He,t){return(0,o.HY)({data:We,extraFields:$e,errors:(0,o.om)(Ke,E),statuses:Ze})(e,t)}function We(e,t){var n;switch(t.type){case Ge.LoadFormFieldsSucceeded:return H(e,t.payload);case N.HydrateInitialState:return H(e,null===(n=t.payload)||void 0===n?void 0:n.formFields);default:return e}}function $e(e,t){var n,r;return t.type===N.HydrateInitialState&&null!==(r=null===(n=t.payload)||void 0===n?void 0:n.extraFields)&&void 0!==r?r:e}function Ke(e=He.errors,t){switch(t.type){case Ge.LoadFormFieldsSucceeded:return O(e,"loadError",void 0);case Ge.LoadFormFieldsFailed:return O(e,"loadError",t.payload);default:return e}}function Ze(e=He.statuses,t){switch(t.type){case Ge.LoadFormFieldsRequested:return O(e,"isLoading",!0);case Ge.LoadFormFieldsSucceeded:case Ge.LoadFormFieldsFailed:return O(e,"isLoading",!1);default:return e}}var Je;!function(e){e.LoadCountriesRequested="LOAD_COUNTRIES_REQUESTED",e.LoadCountriesSucceeded="LOAD_COUNTRIES_SUCCEEDED",e.LoadCountriesFailed="LOAD_COUNTRIES_FAILED"}(Je||(Je={}));const Qe={errors:{},statuses:{}};function Xe(e=Qe,t){return(0,o.HY)({data:et,errors:(0,o.om)(tt,E),statuses:nt})(e,t)}function et(e,t){return t.type===Je.LoadCountriesSucceeded?G(e,t.payload):e}function tt(e=Qe.errors,t){switch(t.type){case Je.LoadCountriesRequested:case Je.LoadCountriesSucceeded:return O(e,"loadError",void 0);case Je.LoadCountriesFailed:return O(e,"loadError",t.payload);default:return e}}function nt(e=Qe.statuses,t){switch(t.type){case Je.LoadCountriesRequested:return O(e,"isLoading",!0);case Je.LoadCountriesSucceeded:case Je.LoadCountriesFailed:return O(e,"isLoading",!1);default:return e}}const rt={errors:{},meta:{},statuses:{}};function it(e=rt,t){return(0,o.HY)({data:ot,errors:(0,o.om)(st,E),meta:at,statuses:ct})(e,t)}function ot(e,t){switch(t.type){case ye.LoadOrderSucceeded:case ye.LoadOrderPaymentsSucceeded:return H(e,(0,f.omit)(t.payload,["billingAddress","coupons"]));default:return e}}function at(e,t){switch(t.type){case ye.FinalizeOrderSucceeded:case ye.SubmitOrderSucceeded:return H(e,Object.assign(Object.assign({},t.meta),{callbackUrl:t.payload&&t.payload.order.callbackUrl,orderToken:t.payload&&t.payload.order.token,payment:t.payload&&t.payload.order&&t.payload.order.payment}));default:return e}}function st(e=rt.errors,t){switch(t.type){case ye.LoadOrderRequested:case ye.LoadOrderSucceeded:case ye.LoadOrderPaymentsSucceeded:case ye.LoadOrderPaymentsRequested:return O(e,"loadError",void 0);case ye.LoadOrderFailed:case ye.LoadOrderPaymentsFailed:return O(e,"loadError",t.payload);default:return e}}function ct(e=rt.statuses,t){switch(t.type){case ye.LoadOrderRequested:case ye.LoadOrderPaymentsRequested:return O(e,"isLoading",!0);case ye.LoadOrderSucceeded:case ye.LoadOrderFailed:case ye.LoadOrderPaymentsSucceeded:case ye.LoadOrderPaymentsFailed:return O(e,"isLoading",!1);default:return e}}const ut={};function dt(e=ut,t){return(0,o.HY)({data:lt})(e,t)}function lt(e,t){switch(t.type){case ye.LoadOrderPaymentsSucceeded:case ye.LoadOrderSucceeded:return L(e,t.payload&&t.payload.billingAddress);default:return e}}var pt,ht;function ft(e={},t){return(0,o.HY)({data:yt})(e,t)}function yt(e,t){return t.type===pt.SubmitPaymentSucceeded?t.payload:e}!function(e){e.SubmitPaymentRequested="SUBMIT_PAYMENT_REQUESTED",e.SubmitPaymentSucceeded="SUBMIT_PAYMENT_SUCCEEDED",e.SubmitPaymentFailed="SUBMIT_PAYMENT_FAILED",e.InitializeOffsitePaymentRequested="INITIALIZE_OFFSITE_PAYMENT_REQUESTED",e.InitializeOffsitePaymentSucceeded="INITIALIZE_OFFSITE_PAYMENT_SUCCEEDED",e.InitializeOffsitePaymentFailed="INITIALIZE_OFFSITE_PAYMENT_FAILED"}(pt||(pt={})),function(e){e.LoadPaymentMethodRequested="LOAD_PAYMENT_METHOD_REQUESTED",e.LoadPaymentMethodSucceeded="LOAD_PAYMENT_METHOD_SUCCEEDED",e.LoadPaymentMethodFailed="LOAD_PAYMENT_METHOD_FAILED",e.LoadPaymentMethodsRequested="LOAD_PAYMENT_METHODS_REQUESTED",e.LoadPaymentMethodsSucceeded="LOAD_PAYMENT_METHODS_SUCCEEDED",e.LoadPaymentMethodsFailed="LOAD_PAYMENT_METHODS_FAILED"}(ht||(ht={}));const mt={errors:{},statuses:{}};function gt(e=mt,t){return(0,o.HY)({data:vt,errors:(0,o.om)(bt,E),meta:_t,statuses:St})(e,t)}function vt(e,t){switch(t.type){case ht.LoadPaymentMethodSucceeded:return function(e,t,n){if(!t)return e;const r=(0,f.pick)(t,"id"),i="object"==typeof n?(0,f.pickBy)(n):n||r,o=(0,f.findIndex)(e,i),a=[...e];if(-1===o)a.push(t);else{const n=e[o];a[o]=V(n)&&V(t)?H(n,t):t}return a}(e||[],t.payload,t.payload&&{id:t.payload.id,gateway:t.payload.gateway});case ht.LoadPaymentMethodsSucceeded:return G(e,t.payload,{matchObject:(e,t)=>e.id===t.id&&e.gateway===t.gateway});default:return e}}function _t(e,t){return t.type===ht.LoadPaymentMethodsSucceeded?H(e,t.meta):e}function bt(e=mt.errors,t){switch(t.type){case ht.LoadPaymentMethodsRequested:case ht.LoadPaymentMethodsSucceeded:return O(e,"loadError",void 0);case ht.LoadPaymentMethodsFailed:return O(e,"loadError",t.payload);case ht.LoadPaymentMethodRequested:case ht.LoadPaymentMethodSucceeded:return H(e,{loadMethodId:void 0,loadMethodError:void 0});case ht.LoadPaymentMethodFailed:return H(e,{loadMethodId:t.meta.methodId,loadMethodError:t.payload});default:return e}}function St(e=mt.statuses,t){switch(t.type){case ht.LoadPaymentMethodsRequested:return O(e,"isLoading",!0);case ht.LoadPaymentMethodsSucceeded:case ht.LoadPaymentMethodsFailed:return O(e,"isLoading",!1);case ht.LoadPaymentMethodRequested:return H(e,{isLoadingMethod:!0,loadMethodId:t.meta.methodId});case ht.LoadPaymentMethodSucceeded:case ht.LoadPaymentMethodFailed:return H(e,{isLoadingMethod:!1,loadMethodId:void 0});default:return e}}var wt;!function(e){e.ExecuteFailed="PAYMENT_STRATEGY_EXECUTE_FAILED",e.ExecuteRequested="PAYMENT_STRATEGY_EXECUTE_REQUESTED",e.ExecuteSucceeded="PAYMENT_STRATEGY_EXECUTE_SUCCEEDED",e.FinalizeFailed="PAYMENT_STRATEGY_FINALIZE_FAILED",e.FinalizeRequested="PAYMENT_STRATEGY_FINALIZE_REQUESTED",e.FinalizeSucceeded="PAYMENT_STRATEGY_FINALIZE_SUCCEEDED",e.InitializeFailed="PAYMENT_STRATEGY_INITIALIZE_FAILED",e.InitializeRequested="PAYMENT_STRATEGY_INITIALIZE_REQUESTED",e.InitializeSucceeded="PAYMENT_STRATEGY_INITIALIZE_SUCCEEDED",e.DeinitializeFailed="PAYMENT_STRATEGY_DEINITIALIZE_FAILED",e.DeinitializeRequested="PAYMENT_STRATEGY_DEINITIALIZE_REQUESTED",e.DeinitializeSucceeded="PAYMENT_STRATEGY_DEINITIALIZE_SUCCEEDED",e.WidgetInteractionStarted="PAYMENT_STRATEGY_WIDGET_INTERACTION_STARTED",e.WidgetInteractionFinished="PAYMENT_STRATEGY_WIDGET_INTERACTION_FINISHED",e.WidgetInteractionFailed="PAYMENT_STRATEGY_WIDGET_INTERACTION_FAILED"}(wt||(wt={}));const Ct={data:{},errors:{},statuses:{}};function It(e=Ct,t){return(0,o.HY)({data:Et,errors:(0,o.om)(Pt,E),statuses:Ot})(e,t)}function Et(e=Ct.data,t){switch(t.type){case wt.InitializeSucceeded:if(t.meta){const{methodId:n,gatewayId:r}=t.meta,i=r?`${n}.${r}`:n;return H(e,{[i]:{isInitialized:!0}})}break;case wt.DeinitializeSucceeded:if(t.meta){const{methodId:n,gatewayId:r}=t.meta,i=r?`${n}.${r}`:n;return H(e,{[i]:{isInitialized:!1}})}}return e}function Pt(e=Ct.errors,t){switch(t.type){case wt.InitializeRequested:case wt.InitializeSucceeded:return H(e,{initializeError:void 0,initializeMethodId:void 0});case wt.InitializeFailed:{let n=t.meta&&t.meta.methodId;if(t.meta){const{methodId:e,gatewayId:r}=t.meta;n=r?`${e}.${r}`:e}return H(e,{initializeError:t.payload,initializeMethodId:n})}case wt.DeinitializeRequested:case wt.DeinitializeSucceeded:return H(e,{deinitializeError:void 0,deinitializeMethodId:void 0});case wt.DeinitializeFailed:{let n=t.meta&&t.meta.methodId;if(t.meta){const{methodId:e,gatewayId:r}=t.meta;n=r?`${e}.${r}`:e}return H(e,{deinitializeError:t.payload,deinitializeMethodId:n})}case wt.ExecuteRequested:case wt.ExecuteSucceeded:return H(e,{executeError:void 0,executeMethodId:void 0});case wt.ExecuteFailed:return H(e,{executeError:t.payload,executeMethodId:t.meta&&t.meta.methodId});case wt.FinalizeRequested:case wt.FinalizeSucceeded:return H(e,{finalizeError:void 0,finalizeMethodId:void 0});case wt.FinalizeFailed:return H(e,{finalizeError:t.payload,finalizeMethodId:t.meta&&t.meta.methodId});case wt.WidgetInteractionStarted:case wt.WidgetInteractionFinished:return H(e,{widgetInteractionError:void 0,widgetInteractionMethodId:void 0});case wt.WidgetInteractionFailed:return H(e,{widgetInteractionError:t.payload,widgetInteractionMethodId:t.meta.methodId});default:return e}}function Ot(e=Ct.statuses,t){switch(t.type){case wt.InitializeRequested:{let n=t.meta&&t.meta.methodId;if(t.meta){const{methodId:e,gatewayId:r}=t.meta;n=r?`${e}.${r}`:e}return H(e,{isInitializing:!0,initializeMethodId:n})}case wt.InitializeFailed:case wt.InitializeSucceeded:return H(e,{isInitializing:!1,initializeMethodId:void 0});case wt.DeinitializeRequested:{let n=t.meta&&t.meta.methodId;if(t.meta){const{methodId:e,gatewayId:r}=t.meta;n=r?`${e}.${r}`:e}return H(e,{isDeinitializing:!0,deinitializeMethodId:n})}case wt.DeinitializeFailed:case wt.DeinitializeSucceeded:return H(e,{isDeinitializing:!1,deinitializeMethodId:void 0});case wt.ExecuteRequested:return H(e,{isExecuting:!0,executeMethodId:t.meta&&t.meta.methodId});case wt.ExecuteFailed:case wt.ExecuteSucceeded:return H(e,{isExecuting:!1,executeMethodId:void 0});case wt.FinalizeRequested:return H(e,{isFinalizing:!0,finalizeMethodId:t.meta&&t.meta.methodId});case wt.FinalizeFailed:case wt.FinalizeSucceeded:return H(e,{isFinalizing:!1,finalizeMethodId:void 0});case wt.WidgetInteractionStarted:return H(e,{isWidgetInteracting:!0,widgetInteractionMethodId:t.meta.methodId});case wt.WidgetInteractionFinished:case wt.WidgetInteractionFailed:return H(e,{isWidgetInteracting:!1,widgetInteractionMethodId:void 0});default:return e}}var At;!function(e){e.UpdatePaymentProviderCustomer="UPDATE_PAYMENT_PROVIDER_CUSTOMER"}(At||(At={}));const Tt={data:{}};function kt(e=Tt,t){return(0,o.HY)({data:Rt})(e,t)}function Rt(e=Tt.data,t){return t.type===At.UpdatePaymentProviderCustomer?H(e,t.payload):e}var Mt;!function(e){e.LoadInstrumentsRequested="LOAD_INSTRUMENTS_REQUESTED",e.LoadInstrumentsSucceeded="LOAD_INSTRUMENTS_SUCCEEDED",e.LoadInstrumentsFailed="LOAD_INSTRUMENTS_FAILED",e.DeleteInstrumentRequested="DELETE_INSTRUMENT_REQUESTED",e.DeleteInstrumentSucceeded="DELETE_INSTRUMENT_SUCCEEDED",e.DeleteInstrumentFailed="DELETE_INSTRUMENT_FAILED"}(Mt||(Mt={}));const xt={data:[],errors:{},statuses:{}};function Nt(e=xt,t){return(0,o.HY)({data:Dt,errors:(0,o.om)(Lt,E),meta:jt,statuses:zt})(e,t)}function Dt(e=xt.data,t){return t.type===Mt.LoadInstrumentsSucceeded?G(e,t.payload&&t.payload.vaultedInstruments||[]):e}function jt(e,t){switch(t.type){case Mt.LoadInstrumentsSucceeded:case Mt.DeleteInstrumentSucceeded:return H(e,t.meta);default:return e}}function Lt(e=xt.errors,t){switch(t.type){case Mt.LoadInstrumentsRequested:case Mt.LoadInstrumentsSucceeded:return O(e,"loadError",void 0);case Mt.DeleteInstrumentRequested:case Mt.DeleteInstrumentSucceeded:return H(e,{deleteError:void 0,failedInstrument:void 0});case Mt.LoadInstrumentsFailed:return O(e,"loadError",t.payload);case Mt.DeleteInstrumentFailed:return H(e,{deleteError:t.payload,failedInstrument:t.meta.instrumentId});default:return e}}function zt(e=xt.statuses,t){switch(t.type){case Mt.LoadInstrumentsRequested:return O(e,"isLoading",!0);case Mt.DeleteInstrumentRequested:return H(e,{isDeleting:!0,deletingInstrument:t.meta.instrumentId});case Mt.LoadInstrumentsSucceeded:case Mt.LoadInstrumentsFailed:return O(e,"isLoading",!1);case Mt.DeleteInstrumentSucceeded:case Mt.DeleteInstrumentFailed:return H(e,{isDeleting:!1,deletingInstrument:void 0});default:return e}}var Ft;!function(e){e.ForgetCheckoutRemoteCustomerRequested="FORGET_CHECKOUT_REMOTE_CUSTOMER_REQUESTED",e.ForgetCheckoutRemoteCustomerSucceeded="FORGET_CHECKOUT_REMOTE_CUSTOMER_SUCCEEDED",e.ForgetCheckoutRemoteCustomerFailed="FORGET_CHECKOUT_REMOTE_CUSTOMER_FAILED",e.InitializeRemoteBillingRequested="INITIALIZE_REMOTE_BILLING_REQUESTED",e.InitializeRemoteBillingSucceeded="INITIALIZE_REMOTE_BILLING_SUCCEEDED",e.InitializeRemoteBillingFailed="INITIALIZE_REMOTE_BILLING_FAILED",e.InitializeRemoteShippingRequested="INITIALIZE_REMOTE_SHIPPING_REQUESTED",e.InitializeRemoteShippingSucceeded="INITIALIZE_REMOTE_SHIPPING_SUCCEEDED",e.InitializeRemoteShippingFailed="INITIALIZE_REMOTE_SHIPPING_FAILED",e.InitializeRemotePaymentRequested="INITIALIZE_REMOTE_PAYMENT_REQUESTED",e.InitializeRemotePaymentSucceeded="INITIALIZE_REMOTE_PAYMENT_SUCCEEDED",e.InitializeRemotePaymentFailed="INITIALIZE_REMOTE_PAYMENT_FAILED",e.LoadRemoteSettingsRequested="LOAD_REMOTE_SETTINGS_REQUESTED",e.LoadRemoteSettingsSucceeded="LOAD_REMOTE_SETTINGS_SUCCEEDED",e.LoadRemoteSettingsFailed="LOAD_REMOTE_SETTINGS_FAILED",e.SignOutRemoteCustomerRequested="SIGN_OUT_REMOTE_CUSTOMER_REQUESTED",e.SignOutRemoteCustomerSucceeded="SIGN_OUT_REMOTE_CUSTOMER_SUCCEEDED",e.SignOutRemoteCustomerFailed="SIGN_OUT_REMOTE_CUSTOMER_FAILED",e.UpdateRemoteCheckout="UPDATE_REMOTE_CHECKOUT"}(Ft||(Ft={}));const Bt={data:{}};function Ut(e=Bt,t){return t.meta&&t.meta.methodId?(0,o.HY)({data:(0,o.HY)({[t.meta.methodId]:qt})})(e,t):e}function qt(e,t){switch(t.type){case Ft.InitializeRemoteBillingSucceeded:return O(e,"billing",t.payload&&t.payload.billing);case Ft.InitializeRemoteShippingSucceeded:return O(e,"shipping",t.payload&&t.payload.shipping);case Ft.LoadRemoteSettingsSucceeded:return O(e,"settings",t.payload);case Ft.UpdateRemoteCheckout:return H(e,t.payload);default:return e}}const Vt={errors:{updateShippingOptionError:{},updateError:{},deleteError:{}},statuses:{isUpdating:{},isUpdatingShippingOption:{},isDeleting:{}}};function Gt(e=Vt,t){return(0,o.HY)({data:Ht,errors:(0,o.om)(Yt,E),statuses:Wt})(e,t)}function Ht(e,t){var n,r;switch(t.type){case x.LoadCheckoutSucceeded:case $.LoadShippingOptionsSucceeded:case $.CreateConsignmentsSucceeded:case $.UpdateConsignmentSucceeded:case $.DeleteConsignmentSucceeded:case $.UpdateShippingOptionSucceeded:case Y.ApplyCouponSucceeded:case Y.RemoveCouponSucceeded:return G(e,t.payload&&t.payload.consignments);case Pe.SignOutCustomerSucceeded:return G(e,[]);case N.HydrateInitialState:return G(e,null===(r=null===(n=t.payload)||void 0===n?void 0:n.checkout)||void 0===r?void 0:r.consignments);default:return e}}function Yt(e=Vt.errors,t){switch(t.type){case x.LoadCheckoutRequested:case x.LoadCheckoutSucceeded:case $.LoadShippingOptionsSucceeded:case $.LoadShippingOptionsRequested:return O(e,"loadError",void 0);case x.LoadCheckoutFailed:case $.LoadShippingOptionsFailed:return O(e,"loadError",t.payload);case $.CreateConsignmentsRequested:case $.CreateConsignmentsSucceeded:return O(e,"createError",void 0);case $.CreateConsignmentsFailed:return O(e,"createError",t.payload);case $.UpdateConsignmentSucceeded:case $.UpdateConsignmentRequested:return t.meta?H(e,{updateError:{[t.meta.id]:void 0}}):e;case $.UpdateConsignmentFailed:return t.meta?H(e,{updateError:{[t.meta.id]:t.payload}}):e;case $.DeleteConsignmentSucceeded:case $.DeleteConsignmentRequested:return t.meta?H(e,{deleteError:{[t.meta.id]:void 0}}):e;case $.DeleteConsignmentFailed:return t.meta?H(e,{deleteError:{[t.meta.id]:t.payload}}):e;case $.UpdateShippingOptionRequested:case $.UpdateShippingOptionSucceeded:return t.meta?H(e,{updateShippingOptionError:{[t.meta.id]:void 0}}):e;case $.UpdateShippingOptionFailed:return t.meta?H(e,{updateShippingOptionError:{[t.meta.id]:t.payload}}):e;default:return e}}function Wt(e=Vt.statuses,t){switch(t.type){case x.LoadCheckoutRequested:return O(e,"isLoading",!0);case $.LoadShippingOptionsRequested:return O(e,"isLoadingShippingOptions",!0);case x.LoadCheckoutSucceeded:case x.LoadCheckoutFailed:return O(e,"isLoading",!1);case $.LoadShippingOptionsSucceeded:case $.LoadShippingOptionsFailed:return O(e,"isLoadingShippingOptions",!1);case $.CreateConsignmentsRequested:return O(e,"isCreating",!0);case $.CreateConsignmentsSucceeded:case $.CreateConsignmentsFailed:return O(e,"isCreating",!1);case $.UpdateConsignmentRequested:return t.meta?H(e,{isUpdating:{[t.meta.id]:!0}}):e;case $.UpdateConsignmentSucceeded:case $.UpdateConsignmentFailed:return t.meta?H(e,{isUpdating:{[t.meta.id]:!1}}):e;case $.DeleteConsignmentRequested:return t.meta?H(e,{isDeleting:{[t.meta.id]:!0}}):e;case $.DeleteConsignmentSucceeded:case $.DeleteConsignmentFailed:return t.meta?H(e,{isDeleting:{[t.meta.id]:!1}}):e;case $.UpdateShippingOptionRequested:return t.meta?H(e,{isUpdatingShippingOption:{[t.meta.id]:!0}}):e;case $.UpdateShippingOptionSucceeded:case $.UpdateShippingOptionFailed:return t.meta?H(e,{isUpdatingShippingOption:{[t.meta.id]:!1}}):e;default:return e}}function $t(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r],o=t?`${t}.${r}`:r;"object"==typeof i?Object.assign(n,$t(i,o)):n[o]=i}),n}function Kt(e){return Object.keys(e).sort().reduce((t,n)=>Object.assign(Object.assign({},t),{[n]:e[n]}),{})}var Zt;!function(e){e.LoadPickupOptionsRequested="LOAD_PICKUP_OPTIONS_REQUESTED",e.LoadPickupOptionsSucceeded="LOAD_PICKUP_OPTIONS_SUCCEEDED",e.LoadPickupOptionsFailed="LOAD_PICKUP_OPTIONS_FAILED"}(Zt||(Zt={}));const Jt={errors:{},statuses:{}};function Qt(e=Jt,t){return(0,o.HY)({data:Xt,errors:(0,o.om)(en,E),statuses:tn})(e,t)}function Xt(e,t){if(t.type!==Zt.LoadPickupOptionsSucceeded)return e;if(t.meta){const n=Kt($t({consignmentId:t.meta.consignmentId,searchArea:t.meta.searchArea}));return O(e,btoa(`${JSON.stringify(n)}`),t.payload)}}function en(e=Jt.errors,t){switch(t.type){case Zt.LoadPickupOptionsRequested:case Zt.LoadPickupOptionsSucceeded:return O(e,"loadError",void 0);case Zt.LoadPickupOptionsFailed:return O(e,"loadError",t.payload);default:return e}}function tn(e=Jt.statuses,t){switch(t.type){case Zt.LoadPickupOptionsRequested:return O(e,"isLoading",!0);case Zt.LoadPickupOptionsSucceeded:case Zt.LoadPickupOptionsFailed:return O(e,"isLoading",!1);default:return e}}var nn;!function(e){e.LoadShippingCountriesRequested="LOAD_SHIPPING_COUNTRIES_REQUESTED",e.LoadShippingCountriesSucceeded="LOAD_SHIPPING_COUNTRIES_SUCCEEDED",e.LoadShippingCountriesFailed="LOAD_SHIPPING_COUNTRIES_FAILED"}(nn||(nn={}));const rn={errors:{},statuses:{}};function on(e=rn,t){return(0,o.HY)({data:an,errors:(0,o.om)(sn,E),statuses:cn})(e,t)}function an(e,t){return t.type===nn.LoadShippingCountriesSucceeded?G(e,t.payload):e}function sn(e=rn.errors,t){switch(t.type){case nn.LoadShippingCountriesRequested:case nn.LoadShippingCountriesSucceeded:return O(e,"loadError",void 0);case nn.LoadShippingCountriesFailed:return O(e,"loadError",t.payload);default:return e}}function cn(e=rn.statuses,t){switch(t.type){case nn.LoadShippingCountriesRequested:return O(e,"isLoading",!0);case nn.LoadShippingCountriesSucceeded:case nn.LoadShippingCountriesFailed:return O(e,"isLoading",!1);default:return e}}var un;!function(e){e.UpdateAddressFailed="SHIPPING_STRATEGY_UPDATE_ADDRESS_FAILED",e.UpdateAddressRequested="SHIPPING_STRATEGY_UPDATE_ADDRESS_REQUESTED",e.UpdateAddressSucceeded="SHIPPING_STRATEGY_UPDATE_ADDRESS_SUCCEEDED",e.SelectOptionFailed="SHIPPING_STRATEGY_SELECT_OPTION_FAILED",e.SelectOptionRequested="SHIPPING_STRATEGY_SELECT_OPTION_REQUESTED",e.SelectOptionSucceeded="SHIPPING_STRATEGY_SELECT_OPTION_SUCCEEDED",e.InitializeFailed="SHIPPING_STRATEGY_INITIALIZE_FAILED",e.InitializeRequested="SHIPPING_STRATEGY_INITIALIZE_REQUESTED",e.InitializeSucceeded="SHIPPING_STRATEGY_INITIALIZE_SUCCEEDED",e.DeinitializeFailed="SHIPPING_STRATEGY_DEINITIALIZE_FAILED",e.DeinitializeRequested="SHIPPING_STRATEGY_DEINITIALIZE_REQUESTED",e.DeinitializeSucceeded="SHIPPING_STRATEGY_DEINITIALIZE_SUCCEEDED",e.WidgetInteractionStarted="SHIPPING_STRATEGY_WIDGET_INTERACTION_STARTED",e.WidgetInteractionFinished="SHIPPING_STRATEGY_WIDGET_INTERACTION_FINISHED",e.WidgetInteractionFailed="SHIPPING_STRATEGY_WIDGET_INTERACTION_FAILED"}(un||(un={}));const dn={data:{},errors:{},statuses:{}};function ln(e=dn,t){return(0,o.HY)({data:pn,errors:(0,o.om)(hn,E),statuses:fn})(e,t)}function pn(e=dn.data,t){switch(t.type){case un.InitializeSucceeded:return H(e,{[t.meta&&t.meta.methodId]:{isInitialized:!0}});case un.DeinitializeSucceeded:return H(e,{[t.meta&&t.meta.methodId]:{isInitialized:!1}})}return e}function hn(e=dn.errors,t){switch(t.type){case un.InitializeRequested:case un.InitializeSucceeded:return H(e,{initializeError:void 0,initializeMethodId:void 0});case un.InitializeFailed:return H(e,{initializeError:t.payload,initializeMethodId:t.meta&&t.meta.methodId});case un.DeinitializeRequested:case un.DeinitializeSucceeded:return H(e,{deinitializeError:void 0,deinitializeMethodId:void 0});case un.DeinitializeFailed:return H(e,{deinitializeError:t.payload,deinitializeMethodId:t.meta&&t.meta.methodId});case un.UpdateAddressRequested:case un.UpdateAddressSucceeded:return H(e,{updateAddressError:void 0,updateAddressMethodId:void 0});case un.UpdateAddressFailed:return H(e,{updateAddressError:t.payload,updateAddressMethodId:t.meta&&t.meta.methodId});case un.SelectOptionRequested:case un.SelectOptionSucceeded:return H(e,{selectOptionError:void 0,selectOptionMethodId:void 0});case un.SelectOptionFailed:return H(e,{selectOptionError:t.payload,selectOptionMethodId:t.meta&&t.meta.methodId});case un.WidgetInteractionStarted:case un.WidgetInteractionFinished:return H(e,{widgetInteractionError:void 0,widgetInteractionMethodId:void 0});case un.WidgetInteractionFailed:return H(e,{widgetInteractionError:t.payload,widgetInteractionMethodId:t.meta&&t.meta.methodId});default:return e}}function fn(e=dn.statuses,t){switch(t.type){case un.InitializeRequested:return H(e,{isInitializing:!0,initializeMethodId:t.meta&&t.meta.methodId});case un.InitializeFailed:case un.InitializeSucceeded:return H(e,{isInitializing:!1,initializeMethodId:void 0});case un.DeinitializeRequested:return H(e,{isDeinitializing:!0,deinitializeMethodId:t.meta&&t.meta.methodId});case un.DeinitializeFailed:case un.DeinitializeSucceeded:return H(e,{isDeinitializing:!1,deinitializeMethodId:void 0});case un.UpdateAddressRequested:return H(e,{isUpdatingAddress:!0,updateAddressMethodId:t.meta&&t.meta.methodId});case un.UpdateAddressFailed:case un.UpdateAddressSucceeded:return H(e,{isUpdatingAddress:!1,updateAddressMethodId:void 0});case un.SelectOptionRequested:return H(e,{isSelectingOption:!0,selectOptionMethodId:t.meta&&t.meta.methodId});case un.SelectOptionFailed:case un.SelectOptionSucceeded:return H(e,{isSelectingOption:!1,selectOptionMethodId:void 0});case un.WidgetInteractionStarted:return H(e,{isWidgetInteracting:!0,widgetInteractionMethodId:t.meta&&t.meta.methodId});case un.WidgetInteractionFinished:case un.WidgetInteractionFailed:return H(e,{isWidgetInteracting:!1,widgetInteractionMethodId:void 0});default:return e}}var yn;!function(e){e.SendSignInEmailRequested="SEND_SIGNIN_EMAIL_REQUESTED",e.SendSignInEmailSucceeded="SEND_SIGNIN_EMAIL_SUCCEEDED",e.SendSignInEmailFailed="SEND_SIGNIN_EMAIL_FAILED"}(yn||(yn={}));const mn={errors:{},statuses:{}};function gn(e=mn,t){return(0,o.HY)({data:vn,errors:(0,o.om)(_n,E),statuses:bn})(e,t)}function vn(e,t){return t.type===yn.SendSignInEmailSucceeded?H(e,t.payload):e}function _n(e=mn.errors,t){switch(t.type){case yn.SendSignInEmailRequested:case yn.SendSignInEmailSucceeded:return O(e,"sendError",void 0);case yn.SendSignInEmailFailed:return O(e,"sendError",t.payload);default:return e}}function bn(e=mn.statuses,t){switch(t.type){case yn.SendSignInEmailRequested:return O(e,"isSending",!0);case yn.SendSignInEmailFailed:case yn.SendSignInEmailSucceeded:return O(e,"isSending",!1);default:return e}}var Sn;!function(e){e.ApplyStoreCreditRequested="APPLY_STORE_CREDIT_REQUESTED",e.ApplyStoreCreditSucceeded="APPLY_STORE_CREDIT_SUCCEEDED",e.ApplyStoreCreditFailed="APPLY_STORE_CREDIT_FAILED"}(Sn||(Sn={}));const wn={errors:{},statuses:{}};function Cn(e=wn,t){return(0,o.HY)({errors:(0,o.om)(In,E),statuses:En})(e,t)}function In(e=wn.errors,t){switch(t.type){case Sn.ApplyStoreCreditRequested:case Sn.ApplyStoreCreditSucceeded:return O(e,"applyError",void 0);case Sn.ApplyStoreCreditFailed:return O(e,"applyError",t.payload);default:return e}}function En(e=wn.statuses,t){switch(t.type){case Sn.ApplyStoreCreditRequested:return O(e,"isApplying",!0);case Sn.ApplyStoreCreditSucceeded:case Sn.ApplyStoreCreditFailed:return O(e,"isApplying",!1);default:return e}}const Pn={errors:{},statuses:{}};function On(e=Pn,t){return(0,o.HY)({errors:(0,o.om)(An,E),statuses:Tn})(e,t)}function An(e=Pn.errors,t){switch(t.type){case D.UpdateSubscriptionsRequested:case D.UpdateSubscriptionsSucceeded:return O(e,"updateError",void 0);case D.UpdateSubscriptionsFailed:return O(e,"updateError",t.payload);default:return e}}function Tn(e=Pn.statuses,t){switch(t.type){case D.UpdateSubscriptionsRequested:return O(e,"isUpdating",!0);case D.UpdateSubscriptionsFailed:case D.UpdateSubscriptionsSucceeded:return O(e,"isUpdating",!1);default:return e}}var kn;!function(e){e.InitializeFailed="SPAM_PROTECTION_INITIALIZE_FAILED",e.InitializeSucceeded="SPAM_PROTECTION_INITIALIZE_SUCCEEDED",e.InitializeRequested="SPAM_PROTECTION_INITIALIZE_REQUESTED",e.VerifyCheckoutRequested="SPAM_PROTECTION_CHECKOUT_VERIFY_REQUESTED",e.VerifyCheckoutSucceeded="SPAM_PROTECTION_CHECKOUT_VERIFY_SUCCEEDED",e.VerifyCheckoutFailed="SPAM_PROTECTION_CHECKOUT_VERIFY_FAILED",e.ExecuteRequested="SPAM_PROTECTION_EXECUTE_REQUESTED",e.ExecuteSucceeded="SPAM_PROTECTION_EXECUTE_SUCCEEDED",e.ExecuteFailed="SPAM_PROTECTION_EXECUTE_FAILED"}(kn||(kn={}));const Rn={errors:{},statuses:{}};function Mn(e=Rn,t){return(0,o.HY)({data:xn,errors:(0,o.om)(Nn,E),statuses:Dn})(e,t)}function xn(e,t){var n;switch(t.type){case x.LoadCheckoutSucceeded:case x.UpdateCheckoutSucceeded:case Sn.ApplyStoreCreditSucceeded:case j.UpdateBillingAddressSucceeded:case Y.ApplyCouponSucceeded:case Y.RemoveCouponSucceeded:case $.CreateConsignmentsSucceeded:case $.UpdateConsignmentSucceeded:case $.DeleteConsignmentSucceeded:case $.UpdateShippingOptionSucceeded:case $.LoadShippingOptionsSucceeded:case W.ApplyGiftCertificateSucceeded:case W.RemoveGiftCertificateSucceeded:case kn.VerifyCheckoutSucceeded:return H(e,(0,f.omit)(t.payload,["billingAddress","cart","consignments","customer","coupons","giftCertificates"]));case ye.SubmitOrderSucceeded:return O(e,"orderId",t.payload&&t.payload.order.orderId);case N.HydrateInitialState:return H(e,(0,f.omit)(null===(n=t.payload)||void 0===n?void 0:n.checkout,["billingAddress","cart","consignments","customer","coupons","giftCertificates"]));default:return e}}function Nn(e=Rn.errors,t){switch(t.type){case x.LoadCheckoutRequested:case x.LoadCheckoutSucceeded:return O(e,"loadError",void 0);case x.LoadCheckoutFailed:return O(e,"loadError",t.payload);case x.UpdateCheckoutRequested:case x.UpdateCheckoutSucceeded:return O(e,"updateError",void 0);case x.UpdateCheckoutFailed:return O(e,"updateError",t.payload);default:return e}}function Dn(e=Rn.statuses,t){switch(t.type){case x.LoadCheckoutRequested:return O(e,"isLoading",!0);case x.LoadCheckoutFailed:case x.LoadCheckoutSucceeded:return O(e,"isLoading",!1);case x.UpdateCheckoutRequested:return O(e,"isUpdating",!0);case x.UpdateCheckoutFailed:case x.UpdateCheckoutSucceeded:return O(e,"isUpdating",!1);case kn.ExecuteRequested:return O(e,"isExecutingSpamCheck",!0);case kn.ExecuteFailed:case kn.ExecuteSucceeded:return O(e,"isExecutingSpamCheck",!1);default:return e}}var jn=n(4218),Ln="NOT_FOUND",zn=function(e,t){return e===t};function Fn(e,t){var n,r,i="object"==typeof t?t:{equalityCheck:t},o=i.equalityCheck,a=void 0===o?zn:o,s=i.maxSize,c=void 0===s?1:s,u=i.resultEqualityCheck,d=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i-1){var i=n[r];return r>0&&(n.splice(r,1),n.unshift(i)),i.value}return Ln}return{get:r,put:function(t,i){r(t)===Ln&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(c,d);function p(){var t=l.get(arguments);if(t===Ln){if(t=e.apply(null,arguments),u){var n=l.getEntries().find(function(e){return u(e.value,t)});n&&(t=n.value)}l.put(arguments,t)}return t}return p.clearCache=function(){return l.clear()},p}function Bn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const t=e.pop();return qn(...e,(...e)=>{const n=t(...e);return"function"==typeof n?(0,jn.Bj)(n):n})});var qn,Vn;!function(e){e[e.MissingBillingAddress=0]="MissingBillingAddress",e[e.MissingCart=1]="MissingCart",e[e.MissingCheckout=2]="MissingCheckout",e[e.MissingConsignments=3]="MissingConsignments",e[e.MissingCustomer=4]="MissingCustomer",e[e.MissingCheckoutConfig=5]="MissingCheckoutConfig",e[e.MissingOrder=6]="MissingOrder",e[e.MissingOrderConfig=7]="MissingOrderConfig",e[e.MissingOrderId=8]="MissingOrderId",e[e.MissingPayment=9]="MissingPayment",e[e.MissingPaymentId=10]="MissingPaymentId",e[e.MissingPaymentInstrument=11]="MissingPaymentInstrument",e[e.MissingPaymentMethod=12]="MissingPaymentMethod",e[e.MissingPaymentProviderCustomer=13]="MissingPaymentProviderCustomer",e[e.MissingPaymentRedirectUrl=14]="MissingPaymentRedirectUrl",e[e.MissingPaymentStatus=15]="MissingPaymentStatus",e[e.MissingPaymentToken=16]="MissingPaymentToken",e[e.MissingShippingAddress=17]="MissingShippingAddress"}(Vn||(Vn={}));class Gn extends d{constructor(e){super(function(e){switch(e){case Vn.MissingBillingAddress:return"Unable to proceed because billing address data is unavailable.";case Vn.MissingCart:return"Unable to proceed because cart data is unavailable.";case Vn.MissingConsignments:return"Unable to proceed because consignments data is unavailable.";case Vn.MissingCheckout:return"Unable to proceed because checkout data is unavailable.";case Vn.MissingCustomer:return"Unable to proceed because customer data is unavailable.";case Vn.MissingCheckoutConfig:case Vn.MissingOrderConfig:return"Unable to proceed because configuration data is unavailable.";case Vn.MissingOrder:return"Unable to proceed because order data is unavailable.";case Vn.MissingOrderId:return"Unable to proceed because order ID is unavailable or not generated yet.";case Vn.MissingPayment:return"Unable to proceed because payment data is unavailable.";case Vn.MissingPaymentToken:return"Unable to proceed because the token required to submit a payment is missing.";case Vn.MissingPaymentMethod:return"Unable to proceed because payment method data is unavailable or not properly configured.";case Vn.MissingPaymentProviderCustomer:return"Unable to proceed because payment provider customer is unavailable.";case Vn.MissingShippingAddress:return"Unable to proceed because shipping address data is unavailable.";default:return"Unable to proceed because the required data is unavailable."}}(e)),this.subtype=e,this.name="MissingDataError",this.type="missing_data"}}function Hn(e,t){if(null==e)throw t?t():new Error("An unexpected error has occurred.");return e}function Yn(e){return function(e){const t=Object.create(e);return function(e,t){let n=Object.getPrototypeOf(e);for(;n;)t(n),n=Object.getPrototypeOf(n)}(e,n=>{Object.getOwnPropertyNames(n).forEach(n=>{"constructor"!==n&&"function"==typeof t[n]&&"_"!==n.charAt(0)&&(t[n]=((e,t)=>(...n)=>(0,o.ol)(e[t].call(e,...n)))(e,n))})}),t}(e)}const Wn="b2bExtraField_";function $n(e){var t;const{fieldType:n,type:r}=function(e){switch(e){case"multiline_text":return{fieldType:"multiline",type:"string"};case"number":return{fieldType:"text",type:"integer"};case"dropdown":return{fieldType:"dropdown",type:"array"};default:return{fieldType:"text",type:"string"}}}(e.type);let i;return e.config.numberOfRows&&(i={rows:e.config.numberOfRows}),(null===(t=e.config.options)||void 0===t?void 0:t.length)&&(i=Object.assign(Object.assign({},i),{items:e.config.options.map(e=>({value:e,label:e}))})),{id:`${Wn}${e.id}`,name:`${Wn}${e.id}`,custom:!1,label:e.name,hidden:!e.visibleToStorefront,required:e.isRequired,default:null!=e.config.defaultValue?String(e.config.defaultValue):void 0,fieldType:n,type:r,maxLength:e.config.maxLength,max:e.config.maxValue,options:i}}const Kn="PAYMENT_TYPE_HOSTED",Zn="ACKNOWLEDGE",Jn="FINALIZE",Qn={"mollie.credit_card":{provider:"mollie",method:"credit_card"},"adyenv2.scheme":{provider:"adyenv2",method:"scheme"},"adyenv3.scheme":{provider:"adyenv3",method:"scheme"},"adyenv2.bcmc":{provider:"adyenv2",method:"bcmc"},"adyenv2.ideal":{provider:"adyenv2",method:"ideal"},"adyenv2.sepadirectdebit":{provider:"adyenv2",method:"sepadirectdebit"},"adyenv2.directEbanking":{provider:"adyenv2",method:"directEbanking"},"adyenv2.giropay":{provider:"adyenv2",method:"giropay"},braintree:{provider:"braintree",method:"credit_card"},braintreepaypal:{provider:"braintree",method:"paypal"},braintreeach:{provider:"braintree",method:"ach"},authorizenet:{provider:"authorizenet",method:"credit_card"},elavon:{provider:"elavon",method:"credit_card"},checkoutcom:{provider:"checkoutcom",method:"credit_card"},"checkoutcom.credit_card":{provider:"checkoutcom",method:"credit_card"},"checkoutcom.card":{provider:"checkoutcom",method:"card"},sagepay:{provider:"sagepay",method:"credit_card"},stripe:{provider:"stripe",method:"credit_card"},"stripev3.card":{provider:"stripev3",method:"card"},"stripeupe.card":{provider:"stripeupe",method:"card"},cybersource:{provider:"cybersource",method:"credit_card"},cybersourcev2:{provider:"cybersourcev2",method:"credit_card"},bnz:{provider:"bnz",method:"credit_card"},converge:{provider:"converge",method:"credit_card"},bluesnapv2:{provider:"bluesnapv2",method:"credit_card"},"bluesnapdirect.credit_card":{provider:"bluesnapdirect",method:"credit_card"},"bluesnapdirect.ecp":{provider:"bluesnapdirect",method:"ecp"},"bluesnapdirect.sepa_direct_debit":{provider:"bluesnapdirect",method:"sepa_direct_debit"},orbital:{provider:"orbital",method:"credit_card"},paymetric:{provider:"paymetric",method:"credit_card"},bolt:{provider:"bolt",method:"credit_card"},"barclaycard.credit_card":{provider:"barclaycard",method:"credit_card"},moneris:{provider:"moneris",method:"credit_card"},cba_mpgs:{provider:"cba_mpgs",method:"credit_card"},worldpayaccess:{provider:"worldpayaccess",method:"credit_card"},"worldpayaccess.credit_card":{provider:"worldpayaccess",method:"credit_card"},squarev2:{provider:"squarev2",method:"credit_card"},paypalcommercecreditcards:{provider:"paypalcommerce",method:"credit_card"},paypalcommerce:{provider:"paypalcommerce",method:"paypal"},bigcommerce_payments_creditcards:{provider:"bigcommerce_payments",method:"credit_card"},bigcommerce_payments:{provider:"bigcommerce_payments",method:"paypal"},tdonlinemart:{provider:"tdonlinemart",method:"credit_card"}};function Xn(e){return(0,f.pickBy)({firstName:e.firstName,lastName:e.lastName,company:e.company,address1:e.address1,address2:e.address2,city:e.city,stateOrProvince:e.stateOrProvince,countryCode:e.countryCode,postalCode:e.postalCode,phone:e.phone,customFields:e.customFields},f.identity)}const er={errors:{},statuses:{}};function tr(){const e=function(){const e=Un(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.token},e=>()=>e),t=Un(e=>e.errors.loadError,e=>()=>e),n=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((r=A)=>({getToken:e(r),getLoadError:t(r),isLoading:n(r)}))}(),t=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingBillingAddress))),n=Un(e=>e.errors.updateError,e=>()=>e),r=Un(e=>e.errors.continueAsGuestError,e=>()=>e),i=Un(e=>e.errors.loadError,e=>()=>e),o=Un(e=>!!e.statuses.isUpdating,e=>()=>e),a=Un(e=>!!e.statuses.isContinuingAsGuest,e=>()=>e),s=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((c=z)=>({getBillingAddress:e(c),getBillingAddressOrThrow:t(c),getUpdateError:n(c),getContinueAsGuestError:r(c),getLoadError:i(c),isUpdating:o(c),isContinuingAsGuest:a(c),isLoading:s(c)}))}(),n=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingCart))),n=Un(e=>e.errors.loadError,e=>()=>e),r=Un(e=>!!e.statuses.isLoading,e=>()=>e),i=Un(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.locale},e=>()=>e);return(0,jn.B4)((o=K)=>({getCart:e(o),getCartOrThrow:t(o),getLoadError:n(o),isLoading:r(o),getLocale:i(o)}))}(),r=function(){const e=Un(e=>e,e=>()=>e),t=Un(e=>e.statuses,e=>(0,jn.Bj)(t=>{if(t){const n=e[t];return!0===(n&&n.isInitializing)}return(0,f.some)(e,{isInitializing:!0})})),n=Un(e=>e.data,e=>(0,jn.Bj)((t,n)=>{const r=e[t];return!!r&&(n?!0===r.initializedContainers[n]:(0,f.some)(r.initializedContainers,e=>!0===e))})),r=Un(e=>e.statuses,e=>(0,jn.Bj)(t=>{if(t){const n=e[t];return!0===(n&&n.isDeinitializing)}return(0,f.some)(e,{isDeinitializing:!0})})),i=Un(e=>e.errors,e=>(0,jn.Bj)(t=>{const n=t?e[t]:(0,f.find)((0,f.values)(e),e=>!(!e||!e.initializeError));return n&&n.initializeError})),o=Un(e=>e.errors,e=>(0,jn.Bj)(t=>{const n=t?e[t]:(0,f.find)((0,f.values)(e),e=>!(!e||!e.deinitializeError));return n&&n.deinitializeError}));return(0,jn.B4)((a=te)=>({getState:e(a),isInitializing:t(a),isInitialized:n(a),isDeinitializing:r(a),getInitializeError:i(a),getDeinitializeError:o(a)}))}(),i=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.data,e=>t=>{if(!e)return;const{flashMessages:n}=e.context;return n?void 0!==t?n.filter(({type:e})=>t===e):n:void 0}),n=Un(e=>e.data,(e,{formState:t})=>t&&t.data,(e,t={customerAccount:[],shippingAddress:[],billingAddress:[]})=>()=>e?Object.assign(Object.assign({},e.storeConfig),{formFields:t}):void 0),r=Un(n,e=>()=>Hn(e(),()=>new Gn(Vn.MissingCheckoutConfig))),i=Un(e=>e.data&&e.data.context,e=>()=>e),o=Un(e=>e.meta&&e.meta.externalSource,e=>()=>e),a=Un(e=>{var t;return null===(t=e.meta)||void 0===t?void 0:t.host},e=>()=>e),s=Un(e=>{var t;return null===(t=e.meta)||void 0===t?void 0:t.locale},e=>()=>e),c=Un(e=>e.meta&&e.meta.variantIdentificationToken,e=>()=>e),u=Un(e=>e.errors.loadError,e=>()=>e),d=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((l=de,p)=>({getConfig:e(l),getFlashMessages:t(l),getStoreConfig:n(l,{formState:p}),getStoreConfigOrThrow:r(l,{formState:p}),getContextConfig:i(l),getExternalSource:o(l),getHost:a(l),getLocale:s(l),getVariantIdentificationToken:c(l),getLoadError:u(l),isLoading:d(l)}))}(),o=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.errors.loadError,e=>()=>e),n=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((r=Qe)=>({getCountries:e(r),getLoadError:t(r),isLoading:n(r)}))}(),a=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.errors.removeCouponError,e=>()=>e),n=Un(e=>e.errors.applyCouponError,e=>()=>e),r=Un(e=>!!e.statuses.isApplyingCoupon,e=>()=>e),i=Un(e=>!!e.statuses.isRemovingCoupon,e=>()=>e);return(0,jn.B4)((o=me)=>({getCoupons:e(o),getRemoveError:t(o),getApplyError:n(o),isApplying:r(o),isRemoving:i(o)}))}(),s=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingCustomer))),n=Un(e=>e.errors.createError,e=>()=>e),r=Un(e=>!!e.statuses.isCreating,e=>()=>e),i=Un(e=>e.errors.createAddressError,e=>()=>e),o=Un(e=>!!e.statuses.isCreatingAddress,e=>()=>e);return(0,jn.B4)((a=Oe)=>({getCustomer:e(a),getCustomerOrThrow:t(a),getCreateAccountError:n(a),isCreatingCustomerAccount:r(a),getCreateAddressError:i(a),isCreatingCustomerAddress:o(a)}))}(),c=function(){const e=Un(e=>e.errors.signInMethodId,e=>e.errors.signInError,(e,t)=>n=>{if(!n||e===n)return t}),t=Un(e=>e.errors.signOutMethodId,e=>e.errors.signOutError,(e,t)=>n=>{if(!n||e===n)return t}),n=Un(e=>e.errors.executePaymentMethodCheckoutMethodId,e=>e.errors.executePaymentMethodCheckoutError,(e,t)=>n=>{if(!n||e===n)return t}),r=Un(e=>e.errors.initializeMethodId,e=>e.errors.initializeErrors,(e,t)=>n=>{if(e&&t)return n?t[n]:t[e]}),i=Un(e=>e.errors.widgetInteractionMethodId,e=>e.errors.widgetInteractionError,(e,t)=>n=>{if(!n||e===n)return t}),o=Un(e=>e.statuses.signInMethodId,e=>e.statuses.isSigningIn,(e,t)=>n=>!(n&&e!==n||!t)),a=Un(e=>e.statuses.signOutMethodId,e=>e.statuses.isSigningOut,(e,t)=>n=>!(n&&e!==n||!t)),s=Un(e=>e.statuses.executePaymentMethodCheckoutMethodId,e=>e.statuses.isExecutingPaymentMethodCheckout,(e,t)=>n=>!(n&&e!==n||!t)),c=Un(e=>e.statuses.initializeMethodId,e=>e.statuses.isInitializing,(e,t)=>n=>!(n&&e!==n||!t)),u=Un(e=>e.data,e=>t=>!(!e[t]||!e[t].isInitialized)),d=Un(e=>e.statuses.widgetInteractionMethodId,e=>e.statuses.isWidgetInteracting,(e,t)=>n=>!(n&&e!==n||!t));return(0,jn.B4)((l=xe)=>({getSignInError:e(l),getSignOutError:t(l),getExecutePaymentMethodCheckoutError:n(l),getInitializeError:r(l),getWidgetInteractionError:i(l),isSigningIn:o(l),isSigningOut:a(l),isExecutingPaymentMethodCheckout:s(l),isInitializing:c(l),isInitialized:u(l),isWidgetInteracting:d(l)}))}(),u=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.errors.removeGiftCertificateError,e=>()=>e),n=Un(e=>e.errors.applyGiftCertificateError,e=>()=>e),r=Un(e=>!!e.statuses.isApplyingGiftCertificate,e=>()=>e),i=Un(e=>!!e.statuses.isRemovingGiftCertificate,e=>()=>e);return(0,jn.B4)((o=Se)=>({getGiftCertificates:e(o),getRemoveError:t(o),getApplyError:n(o),isApplying:r(o),isRemoving:i(o)}))}(),d=function(){const e=Un(e=>e.data,e=>t=>{if(!e)return;const n=t.gateway?`${t.gateway}.${t.id}`:t.id,r=Qn[n];return r?(0,f.filter)(e,r):[]}),t=Un(e=>e.data,(e=[])=>t=>{const n=(0,f.values)(Qn);return e.find(e=>e.bigpayToken===t&&"card"===e.type&&n.some(t=>(0,f.isMatch)(e,t)))}),n=Un(t,e=>t=>Hn(e(t),()=>new Gn(Vn.MissingPaymentInstrument))),r=Un(e=>e.data,e=>()=>{if(e)return(0,f.flatMap)(Qn,t=>(0,f.filter)(e,e=>(0,f.isMatch)(e,t)))}),i=Un(e=>e.meta,e=>()=>e),o=Un(e=>e.errors.loadError,e=>()=>e),a=Un(e=>e.errors.failedInstrument,e=>e.errors.deleteError,(e,t)=>n=>{if(!n||e===n)return t}),s=Un(e=>e.statuses.isLoading,e=>()=>!!e),c=Un(e=>e.statuses.deletingInstrument,e=>e.statuses.isDeleting,(e,t)=>n=>!(n&&e!==n||!t));return(0,jn.B4)((u=xt)=>({getCardInstrument:t(u),getCardInstrumentOrThrow:n(u),getInstruments:r(u),getInstrumentsByPaymentMethod:e(u),getInstrumentsMeta:i(u),getLoadError:o(u),getDeleteError:a(u),isLoading:s(u),isDeleting:c(u)}))}(),l=function(){const e=Un(e=>e.data,e=>(t=[],n)=>{const r=(0,f.find)(t,{code:n});return(e?e.shippingAddress:[]).map(e=>s(e,t,r))}),t=Un(e=>e.data,e=>(t=[],n)=>{const r=(0,f.find)(t,{code:n});return(e?e.billingAddress:[]).map(e=>s(e,t,r))}),n=Un(e=>e.data,e=>()=>e?e.customerAccount:[]),r=Un(e=>e.extraFields,e=>()=>e&&e.address.length?e.address.map($n):[]),i=Un(e=>e.extraFields,e=>()=>e&&e.order.length?e.order.map($n):[]),o=Un(e=>e.errors.loadError,e=>()=>e),a=Un(e=>!!e.statuses.isLoading,e=>()=>e);function s(e,t,n){return"countryCode"===e.name?function(e,t=[],n){if(!t.length)return e;const{code:r=""}=n||{},i=t.map(({code:e,name:t})=>({value:e,label:t}));return Object.assign(Object.assign({},e),{options:{items:i},default:r,type:"array",fieldType:"dropdown",itemtype:"string"})}(e,t,n):"stateOrProvince"===e.name?function(e,t){const{subdivisions:n=[],requiresState:r}=t||{};if(!n.length)return Object.assign(Object.assign({},e),{required:r??!1});const i=n.map(({code:e,name:t})=>({value:e,label:t}));return Object.assign(Object.assign({},e),{name:"stateOrProvinceCode",options:{items:i},required:r??!0,type:"array",fieldType:"dropdown",itemtype:"string"})}(e,n):"postalCode"===e.name?function(e,t){const{hasPostalCodes:n=[]}=t||{};return void 0===n?e:Object.assign(Object.assign({},e),{required:Boolean(n)})}(e,n):e}return(0,jn.B4)((s=He)=>({getShippingAddressFields:e(s),getBillingAddressFields:t(s),getCustomerAccountFields:n(s),getAddressExtraFields:r(s),getOrderExtraFields:i(s),getLoadError:o(s),isLoading:a(s)}))}(),p=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.meta,e=>()=>e),n=Un(e=>e.data,e=>(t,n)=>n?(0,f.find)(e,{id:t,gateway:n}):(0,f.find)(e,{id:t})),r=Un(n,e=>(t,n)=>Hn(e(t,n),()=>new Gn(Vn.MissingPaymentMethod))),i=Un(e=>e.errors.loadError,e=>()=>e),o=Un(e=>e.errors.loadMethodId,e=>e.errors.loadMethodError,(e,t)=>n=>{if(!n||e===n)return t}),a=Un(e=>e.statuses.isLoading,e=>()=>!!e),s=Un(e=>e.statuses.loadMethodId,e=>e.statuses.isLoadingMethod,(e,t)=>n=>!(n&&e!==n||!t));return(0,jn.B4)((c=mt)=>({getPaymentMethods:e(c),getPaymentMethodsMeta:t(c),getPaymentMethod:n(c),getPaymentMethodOrThrow:r(c),getLoadError:i(c),getLoadMethodError:o(c),isLoading:a(c),isLoadingMethod:s(c)}))}(),h=function(){const e=Un(e=>e.errors.initializeMethodId,e=>e.errors.initializeError,(e,t)=>n=>{if(!n||e===n)return t}),t=Un(e=>e.errors.executeMethodId,e=>e.errors.executeError,(e,t)=>n=>{if(!n||e===n)return t}),n=Un(e=>e.errors.finalizeMethodId,e=>e.errors.finalizeError,(e,t)=>n=>{if(!n||e===n)return t}),r=Un(e=>e.errors.widgetInteractionMethodId,e=>e.errors.widgetInteractionError,(e,t)=>n=>{if(!n||e===n)return t}),i=Un(e=>e.statuses.initializeMethodId,e=>e.statuses.isInitializing,(e,t)=>n=>!(n&&e!==n||!t)),o=Un(e=>e.data,e=>t=>{const n=t.gatewayId?`${t.methodId}.${t.gatewayId}`:t.methodId;return!(!e[n]||!e[n].isInitialized)}),a=Un(e=>e.statuses.executeMethodId,e=>e.statuses.isExecuting,(e,t)=>n=>!(n&&e!==n||!t)),s=Un(e=>e.statuses.finalizeMethodId,e=>e.statuses.isFinalizing,(e,t)=>n=>!(n&&e!==n||!t)),c=Un(e=>e.statuses.widgetInteractionMethodId,e=>e.statuses.isWidgetInteracting,(e,t)=>n=>!(n&&e!==n||!t));return(0,jn.B4)((u=Ct)=>({getInitializeError:e(u),getExecuteError:t(u),getFinalizeError:n(u),getWidgetInteractingError:r(u),isInitializing:i(u),isInitialized:o(u),isExecuting:a(u),isFinalizing:s(u),isWidgetInteracting:c(u)}))}(),y=function(){const e=Un(e=>e.data,e=>(t,n)=>{if(!e)return;const r=Kt($t({consignmentId:t,searchArea:n})),i=btoa(`${JSON.stringify(r)}`);return e[i]}),t=Un(e=>e.errors.loadError,e=>()=>e),n=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((r=Jt)=>({getPickupOptions:e(r),getLoadError:t(r),isLoading:n(r)}))}(),m=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingPaymentProviderCustomer)));return(0,jn.B4)((n=Tt)=>({getPaymentProviderCustomer:e(n),getPaymentProviderCustomerOrThrow:t(n)}))}(),g=function(){const e=Un(e=>e.data,e=>t=>e[t]);return(0,jn.B4)((t=Bt)=>({getCheckout:e(t)}))}(),v=function(){const e=Un(e=>e.data,e=>()=>{const t=null==e?void 0:e.find(e=>!e.selectedPickupOption);return null==t?void 0:t.shippingAddress}),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingShippingAddress))),n=Un(e=>e.data,e=>()=>{const t=null==e?void 0:e.filter(e=>!e.selectedPickupOption);return t?t.map(e=>e.shippingAddress):[]}),r=Un(n,e=>()=>Hn(e(),()=>new Gn(Vn.MissingShippingAddress)));return(0,jn.B4)((i=Vt)=>({getShippingAddress:e(i),getShippingAddressOrThrow:t(i),getShippingAddresses:n(i),getShippingAddressesOrThrow:r(i)}))}(),_=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.errors.loadError,e=>()=>e),n=Un(e=>e.statuses.isLoading,e=>()=>!!e);return(0,jn.B4)((r=rn)=>({getShippingCountries:e(r),getLoadError:t(r),isLoading:n(r)}))}(),b=function(){const e=Un(e=>e.errors.updateAddressMethodId,e=>e.errors.updateAddressError,(e,t)=>n=>{if(!n||e===n)return t}),t=Un(e=>e.errors.selectOptionMethodId,e=>e.errors.selectOptionError,(e,t)=>n=>{if(!n||e===n)return t}),n=Un(e=>e.errors.initializeMethodId,e=>e.errors.initializeError,(e,t)=>n=>{if(!n||e===n)return t}),r=Un(e=>e.errors.widgetInteractionMethodId,e=>e.errors.widgetInteractionError,(e,t)=>n=>{if(!n||e===n)return t}),i=Un(e=>e.statuses.updateAddressMethodId,e=>e.statuses.isUpdatingAddress,(e,t)=>n=>!(n&&e!==n||!t)),o=Un(e=>e.statuses.selectOptionMethodId,e=>e.statuses.isSelectingOption,(e,t)=>n=>!(n&&e!==n||!t)),a=Un(e=>e.statuses.initializeMethodId,e=>e.statuses.isInitializing,(e,t)=>n=>!(n&&e!==n||!t)),s=Un(e=>e.data,e=>t=>!(!e[t]||!e[t].isInitialized)),c=Un(e=>e.statuses.widgetInteractionMethodId,e=>e.statuses.isWidgetInteracting,(e,t)=>n=>!(n&&e!==n||!t));return(0,jn.B4)((u=dn)=>({getUpdateAddressError:e(u),getSelectOptionError:t(u),getInitializeError:n(u),getWidgetInteractionError:r(u),isUpdatingAddress:i(u),isSelectingOption:o(u),isInitializing:a(u),isInitialized:s(u),isWidgetInteracting:c(u)}))}(),S=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingConsignments))),n=Un(e=>e.data,e=>t=>{if(e&&e.length)return(0,f.find)(e,{id:t})}),r=Un(e=>e.data,e=>t=>{if(e&&e.length)return(0,f.find)(e,e=>{return n=e.shippingAddress,r=t,(0,f.isEqual)(Xn(n),Xn(r));var n,r})}),i=Un(e=>e.data,e=>()=>{if(e&&e.length)return e[0].selectedShippingOption}),o=Un(e=>e.errors.loadError,e=>()=>e),a=Un(e=>e.errors.createError,e=>()=>e),s=Un(e=>e.errors.loadShippingOptionsError,e=>()=>e),c=Un(e,(e,{cart:t})=>t.getCart,(e,t)=>()=>{const n=t();if(!n)return[];const r=(e()||[]).reduce((e,t)=>e.concat(t.lineItemIds),[]);return(n.lineItems.physicalItems||[]).filter(e=>r.indexOf(e.id)<0)}),u=Un(e=>e.errors.updateError,e=>t=>t?e[t]:(0,f.find)(e)),d=Un(e=>e.errors.deleteError,e=>t=>t?e[t]:(0,f.find)(e)),l=Un(r,u,a,(e,t,n)=>r=>{const i=e(r);return i?t(i.id):n()}),p=Un(e=>e.errors.updateShippingOptionError,e=>t=>t?e[t]:(0,f.find)(e)),h=Un(e=>e.statuses.isLoading,e=>()=>!0===e),y=Un(e=>e.statuses.isLoadingShippingOptions,e=>()=>!0===e),m=Un(e=>e.statuses.isCreating,e=>()=>!0===e),g=Un(e=>e.statuses.isUpdating,e=>t=>t?!0===e[t]:!0===(0,f.find)(e)),v=Un(e=>e.statuses.isDeleting,e=>t=>t?!0===e[t]:!0===(0,f.find)(e)),_=Un(r,g,m,(e,t,n)=>r=>{const i=e(r);return i?t(i.id):n()}),b=Un(e=>e.statuses.isUpdatingShippingOption,e=>t=>t?!0===e[t]:!0===(0,f.find)(e));return(0,jn.B4)((f=Vt,S)=>({getConsignments:e(f),getConsignmentsOrThrow:t(f),getConsignmentById:n(f),getConsignmentByAddress:r(f),getShippingOption:i(f),getLoadError:o(f),getCreateError:a(f),getLoadShippingOptionsError:s(f),getUnassignedItems:c(f,{cart:S}),getUpdateError:u(f),getDeleteError:d(f),getItemAssignmentError:l(f),getUpdateShippingOptionError:p(f),isLoading:h(f),isLoadingShippingOptions:y(f),isCreating:m(f),isUpdating:g(f),isDeleting:v(f),isAssigningItems:_(f),isUpdatingShippingOption:b(f)}))}(),w=function(){const e=Un(e=>e.data,(e,{billingAddress:t})=>t.getBillingAddress,(e,{cart:t})=>t.getCart,(e,{customer:t})=>t.getCustomer,(e,{consignments:t})=>t.getConsignments,(e,{coupons:t})=>t.getCoupons,(e,{giftCertificates:t})=>t.getGiftCertificates,(e,t,n,r,i,o,a)=>()=>{const s=t(),c=n(),u=r(),d=i()||[],l=o()||[],p=a()||[];if(e&&c&&u)return Object.assign(Object.assign({},e),{billingAddress:s,cart:c,customer:u,consignments:d,coupons:l,giftCertificates:p})}),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingCheckout))),n=Un(e,e=>t=>{const n=e();if(!n)return;const r=n.grandTotal||0,i=n.customer.storeCredit||0;return t?Math.max(r-i,0):n.outstandingBalance}),r=Un(e=>e.errors.loadError,e=>()=>e),i=Un(e=>e.errors.updateError,e=>()=>e),o=Un(e=>e.statuses.isExecutingSpamCheck,e=>()=>!0===e),a=Un(e=>e.statuses.isLoading,e=>()=>!0===e),s=Un(e=>e.statuses.isUpdating,e=>()=>!0===e);return(0,jn.B4)((c=Rn,u,d,l,p,h,f)=>({getCheckout:e(c,{billingAddress:u,cart:d,consignments:l,coupons:p,customer:h,giftCertificates:f}),getCheckoutOrThrow:t(c,{billingAddress:u,cart:d,consignments:l,coupons:p,customer:h,giftCertificates:f}),getOutstandingBalance:n(c,{billingAddress:u,cart:d,consignments:l,coupons:p,customer:h,giftCertificates:f}),getLoadError:r(c),getUpdateError:i(c),isExecutingSpamCheck:o(c),isLoading:a(c),isUpdating:s(c)}))}(),C=function(){const e=Un(e=>e.data,(e,{billingAddress:t})=>t.getOrderBillingAddress(),(e,{coupons:t})=>t.getCoupons(),(e,t,n=[])=>()=>{if(e&&t)return Object.assign(Object.assign({},e),{billingAddress:t,coupons:n})}),t=Un(e,e=>()=>Hn(e(),()=>new Gn(Vn.MissingOrder))),n=Un(e=>e.meta,e=>()=>e),r=Un(e=>e.errors.loadError,e=>()=>e),i=Un(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.payments},(e=[])=>t=>{const n=e.find(({providerId:e})=>e===t);return null==n?void 0:n.paymentId}),o=Un(e=>!!e.statuses.isLoading,e=>()=>e);return(0,jn.B4)((a=rt,s,c)=>({getOrder:e(a,{billingAddress:s,coupons:c}),getOrderOrThrow:t(a,{billingAddress:s,coupons:c}),getOrderMeta:n(a),getLoadError:r(a),getPaymentId:i(a),isLoading:o(a)}))}(),I=function(){const e=Un(e=>e.data,e=>()=>e);return(0,jn.B4)((t=ut)=>({getOrderBillingAddress:e(t)}))}(),E=function(){const e=Un(({order:e})=>e.getOrderMeta,e=>()=>{const t=e();return t&&t.payment}),t=Un(({order:e})=>e.getOrder,e=>()=>{const t=e();return(0,f.find)(t&&t.payments,({providerId:e})=>"giftcertificate"!==e&&"storecredit"!==e)}),n=Un(({checkout:e})=>e.getCheckout,e=>()=>{const t=e();return(0,f.find)(t&&t.payments,({providerType:e})=>e===Kn)}),r=Un(e,n,t,(e,t,n)=>()=>{const r=e();if(r&&r.id)return{providerId:r.id,gatewayId:r.gateway};const i=t()||n();return i&&i.providerId?{providerId:i.providerId,gatewayId:i.gatewayId}:void 0}),i=Un(r,e=>()=>Hn(e(),()=>new Gn(Vn.MissingPaymentId))),o=Un(e,n,t,(e,t,n)=>()=>{const r=e();if(r&&r.status)return r.status.replace("PAYMENT_STATUS_","");const i=t()||n();return i?i.detail.step:void 0}),a=Un(o,e=>()=>Hn(e(),()=>new Gn(Vn.MissingPaymentStatus))),s=Un(({order:e})=>e.getOrderMeta,e=>()=>{const t=e();return t&&t.token}),c=Un(s,e=>()=>Hn(e(),()=>new Gn(Vn.MissingPaymentToken))),u=Un(e,e=>()=>{const t=e();return t&&t.redirectUrl}),d=Un(u,e=>()=>Hn(e(),()=>new Gn(Vn.MissingPaymentRedirectUrl))),l=Un(({checkout:e})=>e.getOutstandingBalance,e=>(t=!1)=>{const n=e(t);return!!n&&n>0}),p=Un(o,e=>t=>!(!t||!t.nonce)||e()===Zn||e()===Jn);return(0,jn.B4)((e,t)=>({getPaymentId:r({checkout:e,order:t}),getPaymentIdOrThrow:i({checkout:e,order:t}),getPaymentStatus:o({checkout:e,order:t}),getPaymentStatusOrThrow:a({checkout:e,order:t}),getPaymentToken:s({checkout:e,order:t}),getPaymentTokenOrThrow:c({checkout:e,order:t}),getPaymentRedirectUrl:u({checkout:e,order:t}),getPaymentRedirectUrlOrThrow:d({checkout:e,order:t}),isPaymentDataRequired:l({checkout:e,order:t}),isPaymentDataSubmitted:p({checkout:e,order:t})}))}(),P=function(){const e=Un(e=>e.errors.applyError,e=>()=>e),t=Un(e=>!!e.statuses.isApplying,e=>()=>e);return(0,jn.B4)((n=er)=>({getApplyError:e(n),isApplying:t(n)}))}(),O=function(){const e=Un(e=>e.errors.updateError,e=>()=>e),t=Un(e=>!!e.statuses.isUpdating,e=>()=>e);return(0,jn.B4)((n=Pn)=>({getUpdateError:e(n),isUpdating:t(n)}))}(),T=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.errors.sendError,e=>()=>e),n=Un(e=>!!e.statuses.isSending,e=>()=>e);return(0,jn.B4)((r=mn)=>({getEmail:e(r),getSendError:t(r),isSending:n(r)}))}(),k=function(){const e=Un(e=>e.data,e=>()=>e),t=Un(e=>e.data,e=>t=>null==e?void 0:e.find(e=>e.region===t)),n=Un(e=>e.errors.loadError,e=>()=>e),r=Un(e=>e.statuses.isLoading,e=>()=>!!e);return(0,jn.B4)((i=Fe)=>({getExtensions:e(i),getExtensionByRegion:t(i),getLoadError:n(i),isLoading:r(i)}))}();return(f,A={})=>{const R=e(f.b2bToken),M=t(f.billingAddress),x=n(f.cart),N=r(f.checkoutButton),D=o(f.countries),j=a(f.coupons),L=s(f.customer),z=c(f.customerStrategies),F=k(f.extensions),B=l(f.formFields),U=u(f.giftCertificates),q=d(f.instruments),V=I(f.orderBillingAddress),G=p(f.paymentMethods),H=m(f.paymentProviderCustomer),Y=h(f.paymentStrategies),W=y(f.pickupOptions),$=g(f.remoteCheckout),K=v(f.consignments),Z=_(f.shippingCountries),J=b(f.shippingStrategies),Q=O(f.subscriptions),X=P(f.storeCredit),ee=T(f.signInEmail),te=S(f.consignments,x),ne=w(f.checkout,M,x,te,j,L,U),re=C(f.order,V,j),ie=E(ne,re),oe={b2bToken:R,billingAddress:M,cart:x,checkout:ne,checkoutButton:N,config:i(f.config,f.formFields),consignments:te,countries:D,coupons:j,customer:L,customerStrategies:z,extensions:F,form:B,giftCertificates:U,instruments:q,order:re,orderBillingAddress:V,payment:ie,paymentMethods:G,paymentProviderCustomer:H,paymentStrategies:Y,pickupOptions:W,remoteCheckout:$,shippingAddress:K,shippingCountries:Z,shippingStrategies:J,signInEmail:ee,subscriptions:Q,storeCredit:X};return A.shouldWarnMutation?function(e){return Object.keys(e).reduce((t,n)=>(t[n]=Yn(e[n]),t),{})}(oe):oe}}function nr(e={},t){const n=(a=function(){const e=new _;return["catalog_only","empty_cart","invalid_order_id","invalid_order_token","missing_order_token","missing_provider_token","missing_shipping_method","order_completion_error","order_could_not_be_finalized_error","order_create_failed","provider_fatal_error","provider_setup_error","stock_too_low"].forEach(t=>{e.register(t,(e,t)=>new h(e,t))}),e.register("invalid_payment_provider",e=>new u(e)),e.register("payment_config_not_found",e=>new u(e)),e}(),e=>(0,w.H)(e).pipe((0,C.W)(e=>{if(e instanceof Error||e.payload instanceof Error)throw e;if((t=e.payload)&&"object"==typeof t&&["body","headers","status","statusText"].every(e=>Object.prototype.hasOwnProperty.call(t,e))){const t=e.payload.body&&e.payload.body.detail;throw Object.assign(Object.assign({},e),{payload:a.createError(e.payload,t)})}var t;throw e}))),r=tr(),i=(0,o.HY)({b2bToken:T,billingAddress:F,cart:Z,checkout:Mn,checkoutButton:oe,config:le,consignments:Gt,countries:Xe,coupons:ge,customer:Ae,customerStrategies:Ne,extensions:Be,formFields:Ye,giftCertificates:we,instruments:Nt,orderBillingAddress:dt,order:it,payment:ft,paymentMethods:gt,paymentStrategies:It,pickupOptions:Qt,paymentProviderCustomer:kt,remoteCheckout:Ut,shippingCountries:on,shippingStrategies:ln,signInEmail:gn,subscriptions:On,storeCredit:Cn});var a;return(0,o.iN)(i,e,Object.assign({actionTransformer:n,stateTransformer:e=>r(e)},t))}var rr,ir,or=n(315);!function(e){e[e.MissingBillingAddress=0]="MissingBillingAddress",e[e.MissingCart=1]="MissingCart",e[e.MissingCheckout=2]="MissingCheckout",e[e.MissingConsignments=3]="MissingConsignments",e[e.MissingCustomer=4]="MissingCustomer",e[e.MissingCheckoutConfig=5]="MissingCheckoutConfig",e[e.MissingOrder=6]="MissingOrder",e[e.MissingOrderConfig=7]="MissingOrderConfig",e[e.MissingOrderId=8]="MissingOrderId",e[e.MissingPayment=9]="MissingPayment",e[e.MissingPaymentId=10]="MissingPaymentId",e[e.MissingPaymentInstrument=11]="MissingPaymentInstrument",e[e.MissingPaymentMethod=12]="MissingPaymentMethod",e[e.MissingPaymentRedirectUrl=13]="MissingPaymentRedirectUrl",e[e.MissingPaymentStatus=14]="MissingPaymentStatus",e[e.MissingPaymentToken=15]="MissingPaymentToken",e[e.MissingShippingAddress=16]="MissingShippingAddress"}(rr||(rr={}));class ar extends a{constructor(e){super(function(e){switch(e){case rr.MissingBillingAddress:return"Unable to proceed because billing address data is unavailable.";case rr.MissingCart:return"Unable to proceed because cart data is unavailable.";case rr.MissingConsignments:return"Unable to proceed because consignments data is unavailable.";case rr.MissingCheckout:return"Unable to proceed because checkout data is unavailable.";case rr.MissingCustomer:return"Unable to proceed because customer data is unavailable.";case rr.MissingCheckoutConfig:case rr.MissingOrderConfig:return"Unable to proceed because configuration data is unavailable.";case rr.MissingOrder:return"Unable to proceed because order data is unavailable.";case rr.MissingOrderId:return"Unable to proceed because order ID is unavailable or not generated yet.";case rr.MissingPayment:return"Unable to proceed because payment data is unavailable.";case rr.MissingPaymentToken:return"Unable to proceed because the token required to submit a payment is missing.";case rr.MissingPaymentMethod:return"Unable to proceed because payment method data is unavailable or not properly configured.";case rr.MissingShippingAddress:return"Unable to proceed because shipping address data is unavailable.";default:return"Unable to proceed because the required data is unavailable."}}(e)),this.subtype=e,this.name="MissingDataError",this.type="missing_data"}}function sr(e){return t=e.lineItems.physicalItems.filter(e=>!e.addedByPromotion),(0,f.reduce)(t,(e,t)=>e+t.quantity,0);var t}function cr(e,t){if(null==e)throw t?t():new Error("An unexpected error has occurred.");return e}!function(e){e[e.CheckoutButtonNotInitialized=0]="CheckoutButtonNotInitialized",e[e.CustomerNotInitialized=1]="CustomerNotInitialized",e[e.PaymentNotInitialized=2]="PaymentNotInitialized",e[e.ShippingNotInitialized=3]="ShippingNotInitialized",e[e.SpamProtectionNotInitialized=4]="SpamProtectionNotInitialized"}(ir||(ir={}));class ur extends a{constructor(e){super(function(e){switch(e){case ir.CustomerNotInitialized:return"Unable to proceed because the customer step of checkout has not been initialized.";case ir.PaymentNotInitialized:return"Unable to proceed because the payment step of checkout has not been initialized.";case ir.ShippingNotInitialized:return"Unable to proceed because the shipping step of checkout has not been initialized.";case ir.SpamProtectionNotInitialized:return"Unable to proceed because the checkout spam protection has not been initialized.";default:return"Unable to proceed because the required component has not been initialized."}}(e)),this.subtype=e,this.name="NotInitializedError",this.type="not_initialized"}}const dr={de:"eu",jp:"fe",uk:"eu",us:"na"};var lr,pr,hr,fr,yr,mr;!function(e){e.en_US="en_US",e.en_GB="en_GB",e.de_DE="de_DE",e.fr_FR="fr_FR",e.it_IT="it_IT",e.es_ES="es_ES",e.ja_JP="ja_JP"}(lr||(lr={})),function(e){e.Home="Home",e.Product="Product",e.Cart="Cart",e.Checkout="Checkout",e.Other="Other"}(pr||(pr={})),function(e){e.USD="USD",e.EUR="EUR",e.GBP="GBP",e.JPY="JPY"}(hr||(hr={})),function(e){e.PayAndShip="PayAndShip",e.PayOnly="PayOnly"}(fr||(fr={})),function(e){e.Gold="Gold",e.LightGray="LightGray",e.DarkGray="DarkGray"}(yr||(yr={})),function(e){e.C0001="C0001"}(mr||(mr={}));var gr=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class vr{constructor(e){this.amazonPayV2ScriptLoader=e}initialize(e){return gr(this,void 0,void 0,function*(){this.amazonPayV2SDK=yield this.amazonPayV2ScriptLoader.load(e),this.buttonParentContainer=this.buttonParentContainer||this.createAmazonPayButtonParentContainer()})}deinitialize(){var e;return this.amazonPayV2Button=void 0,null===(e=this.buttonParentContainer)||void 0===e||e.remove(),this.buttonParentContainer=void 0,this.amazonPayV2SDK=void 0,Promise.resolve()}bindButton(e,t,n){this.getAmazonPayV2SDK().Pay.bindChangeAction(`#${e}`,{amazonCheckoutSessionId:t,changeAction:n})}createButton(e,t){this.amazonPayV2Button=this.getAmazonPayV2SDK().Pay.renderButton(`#${e}`,t)}prepareCheckout(e){const t=this.prepareRequestConfig(e);this.getAmazonPayV2Button().onClick(()=>{this.getAmazonPayV2Button().initCheckout(t)})}prepareCheckoutWithCreationRequestConfig(e){this.getAmazonPayV2Button().onClick(()=>gr(this,void 0,void 0,function*(){const t=yield e();if(t){const e=this.prepareRequestConfig(t.createCheckoutSessionConfig,t.estimatedOrderAmount,t.productType);this.getAmazonPayV2Button().initCheckout(e)}}))}signout(){return gr(this,void 0,void 0,function*(){return this.amazonPayV2SDK&&this.amazonPayV2SDK.Pay.signout(),Promise.resolve()})}renderAmazonPayButton({buttonColor:e,checkoutState:t,containerId:n,decoupleCheckoutInitiation:r=!1,methodId:i,options:o,placement:a,isButtonMicroTextDisabled:s=!1}){const c=document.querySelector(`#${n}`);if(!c)return;const{id:u}=c.appendChild(this.getButtonParentContainer());o&&s&&(o.design=mr.C0001);const d=null!=o?o:this.getAmazonPayV2ButtonOptions(t,i,a,r,e);return this.createButton(u,d),this.getButtonParentContainer()}updateBuyNowFlowFlag(e){this.isBuyNowFlow=Boolean(e)}isPh4Enabled(e,t){const n=!!e["PROJECT-3483.amazon_pay_ph4"],r=!!e["INT-6885.amazon_pay_ph4_us_only"];return n&&r?"US"===t:n}prepareRequestConfig(e,t,n){const{publicKeyId:r}=e,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);inew ur(ir.PaymentNotInitialized))}getCheckoutState(e){return"object"==typeof(t=e)&&null!==t&&"cart"in t&&"checkout"in t&&"config"in t&&"paymentMethods"in t?{getCart:e.cart.getCart,getCheckout:e.checkout.getCheckout,getStoreConfigOrThrow:e.config.getStoreConfigOrThrow,getPaymentMethodOrThrow:t=>e.paymentMethods.getPaymentMethodOrThrow(t)}:e;var t}}class _r extends a{constructor(e){super(e||"Unable to proceed because the client library of a payment method is not loaded or ready to be used."),this.name="PaymentMethodClientUnavailableError",this.type="payment_method_client_unavailable"}}class br{constructor(e,t=window){this.scriptLoader=e,this.windowWithAmazonPay=t}load(e){return t=this,n=void 0,i=function*(){const{initializationData:t}=e,n=(null==t?void 0:t.region)||"us",r=dr[n];if(yield this.scriptLoader.loadScript(`https://static-${r}.payments-amazon.com/checkout.js`),!this.windowWithAmazonPay.amazon)throw new _r;return this.windowWithAmazonPay.amazon},new((r=void 0)||(r=Promise))(function(e,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(a,s)}c((i=i.apply(t,n||[])).next())});var t,n,r,i}}function Sr(e,t){return Object.assign(e,{resolveIds:t})}class wr extends a{constructor(e){super(e||"Invalid arguments have been provided."),this.name="InvalidArgumentError",this.type="invalid_argument"}}class Cr extends a{constructor(e){super(e||"An unexpected error has occurred during buy now cart creation process. Please try again later."),this.name="BuyNowCartCreationError",this.type="buy_now_cart_creation_error"}}class Ir extends a{constructor(e){super(e||"An unexpected error has occurred during config creation process. Please try again later."),this.name="AmazonPayV2ConfigCreationError",this.type="amazon_pay_v2_config_creation_error"}}function Er(e){return e instanceof Object&&"buyNowInitializeOptions"in e}var Pr=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Or{constructor(e,t,n){this.paymentIntegrationService=e,this.amazonPayV2PaymentProcessor=t,this.amazonPayV2ConfigRequestSender=n}initialize(e){var t;return Pr(this,void 0,void 0,function*(){const{methodId:n,containerId:r,amazonpay:i}=e,{buttonColor:o}=i||{};if(!n||!r)throw new wr('Unable to proceed because "methodId" or "containerId" argument is not provided.');const{getPaymentMethodOrThrow:a}=this.paymentIntegrationService.getState(),s=a(n),{initializationData:c}=s;yield this.amazonPayV2PaymentProcessor.initialize(s),i||(yield this.paymentIntegrationService.loadDefaultCheckout());const u=Er(i)?void 0:i;Er(i)&&"function"==typeof(null===(t=i.buyNowInitializeOptions)||void 0===t?void 0:t.getBuyNowCartRequestBody)&&(this._buyNowInitializeOptions=i.buyNowInitializeOptions,this.amazonPayV2PaymentProcessor.updateBuyNowFlowFlag(!0)),this.amazonPayV2PaymentProcessor.renderAmazonPayButton({checkoutState:this.paymentIntegrationService.getState(),containerId:r,methodId:n,options:u,placement:pr.Cart,buttonColor:o,isButtonMicroTextDisabled:null==c?void 0:c.isButtonMicroTextDisabled}),this._buyNowInitializeOptions&&this.amazonPayV2PaymentProcessor.prepareCheckoutWithCreationRequestConfig(this._getCheckoutCreationRequestConfig.bind(this))})}deinitialize(){return this.amazonPayV2PaymentProcessor.deinitialize()}_createBuyNowCartOrThrow(){var e,t;return Pr(this,void 0,void 0,function*(){const n=null===(t=null===(e=this._buyNowInitializeOptions)||void 0===e?void 0:e.getBuyNowCartRequestBody)||void 0===t?void 0:t.call(e);if(!n)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(n)}catch(e){throw new Cr}})}_createCheckoutConfig(e){return Pr(this,void 0,void 0,function*(){try{const t=(yield this.amazonPayV2ConfigRequestSender.createCheckoutConfig(e)).body,{payload:n,public_key:r}=t,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{const n=(0,t.createRequestSender)(),r=new Mr(n),i=new vr(new br((0,or.vQ)()));return new Or(e,i,r)},[{id:"amazonpay"}]);function Nr(e,t,n=!0){var r;return null!==(r=e[t])&&void 0!==r?r:n}const Dr="3.128.0",jr="3.123.2",Lr="3.106.0";class zr{constructor(e){this.paymentIntegrationService=e,this.braintreeWindow=window}getSDKVersion(){const e=this.paymentIntegrationService.getState().getStoreConfig(),t=(null==e?void 0:e.checkoutSettings.features)||{};return this.getPreloadedSDKVersion()||(Nr(t,"PAYPAL-5809.braintree_hosted_fields_fix_version")?Dr:Nr(t,"PAYPAL-5636.update_braintree_sdk_version")?jr:Lr)}getPreloadedSDKVersion(){const e=this.braintreeWindow.braintree;if(e){const t=(0,f.find)(Object.values(e),e=>!!e.VERSION);return null==t?void 0:t.VERSION}}}class Fr extends a{constructor(e){super(e||"Unsupported browser error"),this.name="UnsupportedBrowserError",this.type="unsupported_browser"}}var Br,Ur,qr,Vr,Gr,Hr,Yr;function Wr(e){return Boolean("object"==typeof e&&null!==e&&("type"in e||"message"in e||"code"in e))}!function(e){e.ESTIMATED="ESTIMATED",e.FINAL="FINAL",e.NOT_CURRENTLY_KNOWN="NOT_CURRENTLY_KNOWN"}(Br||(Br={})),function(e){e.Completed="COMPLETED",e.Pending="PENDING",e.Failed="FAILED"}(Ur||(Ur={})),function(e){e.TRUSTLY="trustly"}(qr||(qr={})),function(e){e.SUCCEEDED="succeeded",e.FAILED="failed",e.CANCELED="cancelled",e.UNRECOGNIZED="unrecognized"}(Vr||(Vr={})),function(e){e.Customer="CUSTOMER",e.Merchant="MERCHANT",e.Network="NETWORK",e.Internal="INTERNAL",e.Unknown="UNKNOWN"}(Gr||(Gr={})),function(e){e.KountNotEnabled="DATA_COLLECTOR_KOUNT_NOT_ENABLED"}(Hr||(Hr={})),function(e){e.Visa="visa",e.Mastercard="mastercard",e.AmericanExpress="american-express",e.DinersClub="diners-club",e.Discover="discover",e.Jcb="jcb",e.UnionPay="union-pay",e.Maestro="maestro",e.Elo="elo",e.Mir="mir",e.Hiper="hiper",e.Hipercard="hipercard"}(Yr||(Yr={}));var $r,Kr,Zr,Jr=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Qr{constructor(e){this.braintreeScriptLoader=e}initialize(e){this.setClientToken(e)}deinitialize(){return Jr(this,void 0,void 0,function*(){yield this.teardownModule(this.dataCollector),this.dataCollector=void 0})}getClient(){return Jr(this,void 0,void 0,function*(){if(!this.client){const e=this.getClientTokenOrThrow(),t=yield this.braintreeScriptLoader.loadClient();this.client=yield t.create({authorization:e})}return this.client})}getDataCollectorOrThrow(e){return Jr(this,void 0,void 0,function*(){const t={deviceData:void 0,teardown:()=>Promise.resolve()};if(!this.dataCollector)try{const t=yield this.getClient(),n=yield this.braintreeScriptLoader.loadDataCollector(),r=Object.assign({client:t,kount:!0},e);this.dataCollector=yield n.create(r)}catch(e){if(Wr(e)&&e.code===Hr.KountNotEnabled)return t;throw e}return this.dataCollector})}getBraintreeGooglePayment(){return Jr(this,void 0,void 0,function*(){if(!this.googlePayment){const[e,t]=yield Promise.all([this.getClient(),this.braintreeScriptLoader.loadGooglePayment()]);this.googlePayment=yield t.create({client:e})}return this.googlePayment})}getBraintreeThreeDS(){return Jr(this,void 0,void 0,function*(){if(!this.threeDS){const[e,t]=yield Promise.all([this.getClient(),this.braintreeScriptLoader.load3DS()]);this.threeDS=yield t.create({client:e,version:2})}return this.threeDS})}getBraintreeLocalPayment(e){return Jr(this,void 0,void 0,function*(){if(!this.braintreeLocalPayment){const[t,n]=yield Promise.all([this.getClient(),this.braintreeScriptLoader.loadLocalPayment()]);this.braintreeLocalPayment=yield new Promise((r,i)=>{n.create({client:t,merchantAccountId:e},(e,t)=>{e&&i(e),r(t)})})}return this.braintreeLocalPayment})}getUsBankAccount(){return Jr(this,void 0,void 0,function*(){if(!this.usBankAccount){const e=yield this.getClient(),t=yield this.braintreeScriptLoader.loadUsBankAccount();this.usBankAccount=yield t.create({client:e})}return this.usBankAccount})}getBraintreeVisaCheckout(){return this.visaCheckout||(this.visaCheckout=Promise.all([this.getClient(),this.braintreeScriptLoader.loadVisaCheckout()]).then(([e,t])=>t.create({client:e}))),this.visaCheckout}getVisaCheckoutSdk(e){return Jr(this,void 0,void 0,function*(){return this.visaCheckoutSDK||(this.visaCheckoutSDK=yield this.braintreeScriptLoader.loadVisaCheckoutSdk(e)),this.visaCheckoutSDK})}getVenmoCheckoutOrThrow(){return Jr(this,void 0,void 0,function*(){if(!this.braintreeVenmo){const e=yield this.getClient(),t=yield this.braintreeScriptLoader.loadVenmoCheckout(),n={client:e,allowDesktop:!0,paymentMethodUsage:"multi_use"},r=yield t.create(n);if(!r.isBrowserSupported())throw new Fr;this.braintreeVenmo=r}return this.braintreeVenmo})}setClientToken(e){this.clientToken=e}getClientTokenOrThrow(){if(!this.clientToken)throw new ur(ir.PaymentNotInitialized);return this.clientToken}teardownModule(e){return e?e.teardown():Promise.resolve()}}!function(e){e.Sandbox="sandbox",e.Production="production"}($r||($r={})),function(e){e.Client="client",e.DataCollector="dataCollector",e.Fastlane="fastlane",e.GooglePayment="googlePayment",e.HostedFields="hostedFields",e.LocalPayment="localPayment",e.Paypal="paypal",e.PaypalCheckout="paypalCheckout",e.ThreeDSecure="threeDSecure",e.UsBankAccount="usBankAccount",e.Venmo="venmo",e.VisaCheckout="visaCheckout"}(Kr||(Kr={})),function(e){e.CardCode="cardCode",e.CardCodeVerification="cardCodeVerification",e.CardExpiry="cardExpiry",e.CardName="cardName",e.CardNumber="cardNumber",e.CardNumberVerification="cardNumberVerification"}(Zr||(Zr={}));const Xr={[Lr]:{[Kr.Client]:"sha384-26BXDNnJI23JYRyFBj4xe4sVNrUSSiSSu11kxVXNM/vEPONm4LuL00w6ZaTgQewt",[Kr.PaypalCheckout]:"sha384-B+vzbZwnQtzWBthpkT4TXKUibO65tyeK7eCxSvpblgprTep2+IAXB2Cxxjrn710O",[Kr.Paypal]:"sha384-uyAGL1/3+XJAHnGoNy4eCoXdzJ4f7Ilzp+6w9PNnEjs6DCCz9WMyJjMN1gzc78U+",[Kr.LocalPayment]:"sha384-LIvOEMkIVEwVuYBdVOQc1AC5YbGGlwyfUheS0ACK218D2STuVYQlZ4FyEPowAEfT",[Kr.DataCollector]:"sha384-1bo9JDz+Kscthc085cCKWur8CLwUoBpoNyxsDi7932mCl0zFq3A5mv+FQLw9GHpV",[Kr.UsBankAccount]:"sha384-xmHBVaU+w74V+OebD3AaPONFxHUGMf+QRs8G/JxVPXNNP7MDa2jL0ICWHIe2tTfJ",[Kr.GooglePayment]:"sha384-WKDJl8mqoP82qZpMGH6AbZxnvXnSW8ILV4M64CyMLiugGMwu7LyP89wjCkHqsiBe",[Kr.ThreeDSecure]:"sha384-VQUlpGHzsGvs5XeiGFip7EXRsvoHWEXDVmgCacfbyieZI9mdBOqq3NSoyo28OCOB",[Kr.VisaCheckout]:"sha384-yx7mADfzTN0T43Q6rlH49LIg1EJ0iUZgBp/EczX9LXsUGkySgxrD+nWHQRBkyfoT",[Kr.Venmo]:"sha384-QX4rPjoj1ZDhuG0aSyKs56lEKDqTMTcjYxUHY1SzO5VZDsqIE2NTkqot7KNSCyov",[Kr.HostedFields]:"sha384-VvYBACfSu0Cr/J32uKmxG7AXcNOJE1AzIIL3kbikyS7YKp5fz5Is+NzNP/lyauNy",[Kr.Fastlane]:"sha384-9oGsZMRZwpGtDEDYa/dFt76dECqj1xAni9gIKgc3KfMIiRnR73nEeeUDLiBzxhFa"},[jr]:{[Kr.Client]:"sha384-o+nbQGcwNNxIBeXeu3+XmbSq+Cg8R3EN3N0l5hXCgMMU2RGY0t1z0LroSEIAbfAO",[Kr.PaypalCheckout]:"sha384-WrfbWPBS4mH86GAoycPSgiH8hQ8KH7A67C93Hjhunv/xhNk2YpBn3wbFA4Fhg9U/",[Kr.Paypal]:"sha384-VF389nvvrRUgDsTXMxTYORDtVegB9IQa3Cxr//DyJnLYnz8/X8VCzEvck2c+Megt",[Kr.LocalPayment]:"sha384-tZKx2rEQbfmZpoPSY5VPmJEhaq4X75dLvwHMs3VE9U+C8lPyw+hWTIL1+GPvWCIH",[Kr.DataCollector]:"sha384-E6k3wOpP7syCDDwaRDLF06942Y00NkbwJvWi2OQXwwKzGwG5fd3E7RFUvCCecfvO",[Kr.UsBankAccount]:"sha384-258FON8LZGG0W9Qaz4Jij83pZHu30YnKjJA7gNulLBh6CclkucgF+tHDQuYFRYfW",[Kr.GooglePayment]:"sha384-taJ2p/0+n0VH328POAoBiuEbL3tnHUTE9S42hK1V+Txs3X+QYjZOyKW35JgHRFfO",[Kr.ThreeDSecure]:"sha384-+NSZH4Zj3sO5bdWvPKhU5N16QDxeueTVTnUVeleeESkhLSaz4Ob1hh/5myecc9Ym",[Kr.VisaCheckout]:"sha384-66DiBjghxk1OmBj8aksN8gbQ+CwoQcx1vPfiXUN08g1iQVM+BwewF0p7toM3i7SS",[Kr.Venmo]:"sha384-B5UwY42kE4RoLoWbQ7YpqosUlUad2/DlGWiw0HhoZbSPk30CQAaSA10ohyLDTkDU",[Kr.HostedFields]:"sha384-Aw9EesSaUeWxe36PqEHiOyOyOq8M6CIb1gw7/yHNVPRzGtFXXcd2OQ8qXrIlOj2P",[Kr.Fastlane]:"sha384-rhBL1hpZ71JqG+2TsT0Dih47mbjx8cjJCpeZjk9tw3df1gFMKfCTmMyZunhr7H4Y"},[Dr]:{[Kr.Client]:"sha384-0WNxksIpRP+fYZiIdr12g6DBUQfLDzYCQJZtR/C8KkcwSGhPHfcFp3tTaGcMyFTq",[Kr.PaypalCheckout]:"sha384-lWM1jk4BOxoDNV6Kop7tVNvQgINlmEVz0c/OwM+HNHK3QC8xqwd54Ovrt2QRDTjh",[Kr.Paypal]:"sha384-fXUmVxC2EMZBDXZ7eTHSTL/LFBrHej/MSXT/vTBXvra4lzgLNGvREAp+x0GYObuH",[Kr.LocalPayment]:"sha384-pha1xGuGSkmZH5x9aqHvRaO4xLea7rmQ/79PFj9zxNzxuFcOWZg7gOP7FibygOEC",[Kr.DataCollector]:"sha384-Q6PI2F9eekWbAxhroybl+aEcvqhdowN/EQlGwBUyJOzPFn9982u9xl6SU6XfGKzc",[Kr.UsBankAccount]:"sha384-W3RLQSKJL1tQ3+Y7mP6tmkamtZ8bV4Yw/XxL9Jj5JtXHraD8loMF8hAIG5m2zK7F",[Kr.GooglePayment]:"sha384-TITQMsFWA3elDNGP2mWz2oKBo4qjt+TlqzovcaPoeBiAh/wPBi6nae50ADdgU1/i",[Kr.ThreeDSecure]:"sha384-YiycYN89ZlL/Evcaq4y1ajW1mhd7JYfZBDuOwHtIn4/Jnm20GL+/XCM+zYAwWD8D",[Kr.VisaCheckout]:"sha384-/OdaTv9qrkKzjObtUe6yzfDhHozFW/+uXlrSl736sOZRJpjGQETvpYXqMFFg69xv",[Kr.Venmo]:"sha384-dA+ojdW9vbJS4JavcXyOs9d5uZHJg5dNtYupoPSH2zsXIiYDVS5amLb/u8qmQ6oz",[Kr.HostedFields]:"sha384-31ZkS58+iaWsW06ftW52zzVZFp43WPd7pNYRiddYynSNg6Oh7WGbSFGorAUH6T1z",[Kr.Fastlane]:"sha384-jlbrwNvL3HvLAUCtLSmrnQ2GH1udCUrRS/bVmReAS5fuIVvcW8Pko/Gkg82tlgtr"}};var ei,ti=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ni{constructor(e,t,n){this.scriptLoader=e,this.braintreeHostWindow=t,this.braintreeSDKVersionManager=n}loadClient(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.Client,"client.min.js")})}loadFastlane(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.Fastlane,"fastlane.min.js")})}loadPaypalCheckout(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.PaypalCheckout,"paypal-checkout.min.js")})}loadPaypal(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.Paypal,"paypal.min.js")})}loadLocalPayment(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.LocalPayment,"local-payment.min.js")})}loadDataCollector(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.DataCollector,"data-collector.min.js")})}loadUsBankAccount(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.UsBankAccount,"us-bank-account.min.js")})}loadGooglePayment(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.GooglePayment,"google-payment.min.js")})}load3DS(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.ThreeDSecure,"three-d-secure.min.js")})}loadVisaCheckout(){return this.loadBraintreeModuleOrThrow(Kr.VisaCheckout,"visa-checkout.min.js")}loadVenmoCheckout(){return this.loadBraintreeModuleOrThrow(Kr.Venmo,"venmo.min.js")}loadHostedFields(){return ti(this,void 0,void 0,function*(){return this.loadBraintreeModuleOrThrow(Kr.HostedFields,"hosted-fields.min.js")})}loadVisaCheckoutSdk(e){return ti(this,void 0,void 0,function*(){if(this.braintreeHostWindow.V)return this.braintreeHostWindow.V;const t=e?"sha384-0eu1s1GtqzXlL9DtLgmwzC5WWlEH/ADRM0n38cVQkvtT+W/gey96rcb1LwuUOPDm":"sha384-1f1csvP3ZFxg4dILH1GaY4LHlZ0oX7Rk83rxmLlwbnIi4TM0NYzXoev1VoEiVDS6";return this.scriptLoader.loadScript(`//${e?"sandbox-":""}assets.secure.checkout.visa.com/checkout-widget/resources/js/integration/v1/sdk.js`,{async:!0,attributes:{integrity:t,crossorigin:"anonymous"}}).then(()=>{if(!this.braintreeHostWindow.V)throw new _r;return this.braintreeHostWindow.V})})}loadBraintreeModuleOrThrow(e,t){return ti(this,void 0,void 0,function*(){let n=this.getBraintreeModule(e);if(n)return n;const r=this.braintreeSDKVersionManager.getSDKVersion(),i=`//js.braintreegateway.com/web/${r}/js/${t}`,o=r in Xr?this.getIntegrityValuesByModuleName(e,r):void 0;if(yield this.scriptLoader.loadScript(i,o?{async:!0,attributes:{integrity:o,crossorigin:"anonymous"}}:void 0),n=this.getBraintreeModule(e),!n)throw new _r;return n})}getBraintreeModule(e){var t;return null===(t=this.braintreeHostWindow.braintree)||void 0===t?void 0:t[e]}getIntegrityValuesByModuleName(e,t){const n=Xr[t][e];if(!n)throw new Error("Unexpected fileName value");return n}}class ri extends a{constructor(e){super(e||"Payment process was cancelled."),this.name="PaymentMethodCancelledError",this.type="payment_cancelled"}}!function(e){e.BRAINTREE="braintree",e.BRAINTREE_FASTLANE="braintreeacceleratedcheckout"}(ei||(ei={}));var ii,oi,ai=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};!function(e){e.Subtotal="Subtotal",e.Shipping="Shipping"}(ii||(ii={})),function(e){e.Black="black",e.White="white",e.WhiteBorder="white-border"}(oi||(oi={}));class si{constructor(e,t,n,r,i){this._requestSender=e,this._paymentIntegrationService=t,this._sessionFactory=n,this._braintreeSdk=r,this._applePayScriptLoader=i,this._onAuthorizeCallback=f.noop,this._subTotalLabel=ii.Subtotal,this._shippingLabel=ii.Shipping}initialize(e){var t,n;return ai(this,void 0,void 0,function*(){const{methodId:r,containerId:i,applepay:o}=e;if(!r||!o)throw new ar(rr.MissingPaymentMethod);yield this._applePayScriptLoader.loadSdk();const{onPaymentAuthorize:a,buyNowInitializeOptions:s,requiresShipping:c}=o;this._requiresShipping=c,this._buyNowInitializeOptions=s,this._onAuthorizeCallback=a,s||(yield this._paymentIntegrationService.loadDefaultCheckout()),yield this._paymentIntegrationService.loadPaymentMethod(r);const u=this._paymentIntegrationService.getState();return this._paymentMethod=u.getPaymentMethodOrThrow(r),u.getCart()&&(yield this._paymentIntegrationService.verifyCheckoutSpamProtection()),(null===(t=this._paymentMethod.initializationData)||void 0===t?void 0:t.gateway)===ei.BRAINTREE&&this._paymentMethod.clientToken&&this._braintreeSdk.initialize(this._paymentMethod.clientToken),this._applePayButton=this._createButton(i,null===(n=this._paymentMethod.initializationData)||void 0===n?void 0:n.styleOption),this._applePayButton.addEventListener("click",this._handleWalletButtonClick.bind(this)),Promise.resolve()})}deinitialize(){return Promise.resolve()}_createButton(e,t){const n=document.getElementById(e);if(!n)throw new wr("Unable to create wallet button without valid container ID.");const r=this._createApplePayButtonElement(t);return n.appendChild(r),r}_createApplePayButtonElement(e){const t=document.createElement("apple-pay-button");return t.setAttribute("buttonstyle",(e=>{switch(e){case oi.White:return"white";case oi.WhiteBorder:return"white-outline";case oi.Black:default:return"black"}})(e)),t.setAttribute("type","plain"),t.setAttribute("style","--apple-pay-button-width: 100%; --apple-pay-button-height: 40px; --apple-pay-button-border-radius: 4px;"),t}_handleWalletButtonClick(e){var t;return ai(this,void 0,void 0,function*(){if(e.preventDefault(),!this._paymentMethod||!this._paymentMethod.initializationData)throw new ar(rr.MissingPaymentMethod);if(this._buyNowInitializeOptions&&"function"==typeof this._buyNowInitializeOptions.getBuyNowCartRequestBody){const{countryCode:e,currencyCode:n,merchantCapabilities:r,supportedNetworks:i,storeName:o}=this._paymentMethod.initializationData,a=this._getRequestWithEmptyTotal(e,n,i,r);this._requiresShipping&&(null===(t=a.requiredShippingContactFields)||void 0===t||t.push("postalAddress"));const s=this._sessionFactory.create(a);this._handleApplePayEvents(s,this._paymentMethod,o),s.begin()}else{const e=this._paymentIntegrationService.getState(),t=e.getCartOrThrow(),n=e.getStoreConfigOrThrow(),r=e.getCheckoutOrThrow(),i=this._getBaseRequest(t,r,n,this._paymentMethod),o=this._sessionFactory.create(i);this._handleApplePayEvents(o,this._paymentMethod,n.storeProfile.storeName),o.begin()}})}_getRequestWithEmptyTotal(e,t,n,r){return{countryCode:e,currencyCode:t,supportedNetworks:n,merchantCapabilities:r,total:{label:"",amount:"0",type:"pending"},requiredBillingContactFields:["postalAddress"],requiredShippingContactFields:["email","phone"]}}_getBaseRequest(e,t,n,r){var i;const{storeProfile:{storeCountryCode:o,storeName:a}}=n,{currency:{code:s,decimalPlaces:c}}=e,{initializationData:{merchantCapabilities:u,supportedNetworks:d}}=r,l=e.lineItems.physicalItems.length>0,p={requiredBillingContactFields:["postalAddress"],requiredShippingContactFields:["email","phone"],countryCode:o,currencyCode:s,merchantCapabilities:u,supportedNetworks:d,lineItems:[],total:l?{label:a,amount:`${t.grandTotal.toFixed(c)}`,type:"pending"}:{label:a,amount:`${t.grandTotal.toFixed(c)}`,type:"final"}};if(l)null===(i=p.requiredShippingContactFields)||void 0===i||i.push("postalAddress");else{const e=[{label:this._subTotalLabel,amount:`${t.subtotal.toFixed(c)}`}];t.taxes.forEach(t=>e.push({label:t.name,amount:`${t.amount.toFixed(c)}`})),p.lineItems=e}return p}_handleApplePayEvents(e,t,n){e.onvalidatemerchant=n=>ai(this,void 0,void 0,function*(){try{const{body:r}=yield this._onValidateMerchant(t,n);e.completeMerchantValidation(r)}catch(e){throw new Error("Merchant validation failed")}}),this._buyNowInitializeOptions&&!this._requiresShipping&&(e.onpaymentmethodselected=()=>ai(this,void 0,void 0,function*(){yield this._createBuyNowCart(),this._handlePaymentMethodSelected(e)})),e.onshippingcontactselected=t=>ai(this,void 0,void 0,function*(){this._buyNowInitializeOptions&&this._requiresShipping&&(yield this._createBuyNowCart()),yield this._handleShippingContactSelected(e,n,t)}),e.onshippingmethodselected=t=>ai(this,void 0,void 0,function*(){yield this._handleShippingMethodSelected(e,n,t)}),e.oncancel=()=>ai(this,void 0,void 0,function*(){try{const e=`/remote-checkout/${t.id}/signout`;return yield this._requestSender.get(e),yield this._paymentIntegrationService.loadCheckout()}catch(e){throw new ri}}),e.onpaymentauthorized=n=>ai(this,void 0,void 0,function*(){return this._onPaymentAuthorized(n,e,t)})}_createBuyNowCart(){var e,t;return ai(this,void 0,void 0,function*(){try{const n=null===(t=null===(e=this._buyNowInitializeOptions)||void 0===e?void 0:e.getBuyNowCartRequestBody)||void 0===t?void 0:t.call(e);if(!n)throw new ar(rr.MissingCart);const r=yield this._paymentIntegrationService.createBuyNowCart(n);yield this._paymentIntegrationService.loadCheckout(r.id);const i=this._paymentIntegrationService.getState(),{shouldExecuteSpamCheck:o}=i.getCheckoutOrThrow();o&&(yield this._paymentIntegrationService.verifyCheckoutSpamProtection())}catch(e){throw new Cr}})}_handlePaymentMethodSelected(e){const t=this._paymentIntegrationService.getState(),n=t.getCartOrThrow(),r=t.getStoreConfigOrThrow(),i=t.getCheckoutOrThrow();if(!this._paymentMethod||!this._paymentMethod.initializationData)throw new ar(rr.MissingPaymentMethod);const o=this._getBaseRequest(n,i,r,this._paymentMethod);delete o.total.type,e.completePaymentMethodSelection({newTotal:o.total,newLineItems:o.lineItems})}_handleShippingContactSelected(e,t,n){var r;return ai(this,void 0,void 0,function*(){const i=this._transformContactToAddress(n.shippingContact);try{yield this._paymentIntegrationService.updateShippingAddress(i)}catch(t){throw e.abort(),new Error("Shipping address update failed")}let o=this._paymentIntegrationService.getState();const{currency:{decimalPlaces:a}}=o.getCartOrThrow();let s=o.getCheckoutOrThrow();const c=null===(r=s.consignments[0].selectedShippingOption)||void 0===r?void 0:r.id,u=s.consignments[0].availableShippingOptions,d=null==u?void 0:u.find(({id:e})=>e===c),l=null==u?void 0:u.filter(e=>e.id!==c),p=d?[{label:d.description,amount:`${d.cost.toFixed(a)}`,detail:d.additionalDescription,identifier:d.id}]:[];if(l&&[...l.filter(e=>e.isRecommended),...l.filter(e=>!e.isRecommended)].forEach(e=>p.push({label:e.description,amount:`${e.cost.toFixed(a)}`,detail:e.additionalDescription,identifier:e.id})),!(u instanceof Array))throw new Error("Shipping options not available.");if(0===u.length)return void e.completeShippingContactSelection(ApplePaySession.STATUS_INVALID_SHIPPING_POSTAL_ADDRESS,[],{type:"pending",label:t,amount:`${s.grandTotal.toFixed(a)}`},[]);const h=u.find(e=>e.isRecommended),f=h?h.id:u[0].id,y=d?d.id:f;try{yield this._updateShippingOption(y)}catch(e){throw new Error("Shipping options update failed")}o=this._paymentIntegrationService.getState(),s=o.getCheckoutOrThrow(),e.completeShippingContactSelection({newShippingMethods:p,newTotal:{type:"final",label:t,amount:`${s.grandTotal.toFixed(a)}`},newLineItems:this._getUpdatedLineItems(s,a)})})}_handleShippingMethodSelected(e,t,n){return ai(this,void 0,void 0,function*(){const{shippingMethod:{identifier:r}}=n;try{yield this._updateShippingOption(r)}catch(t){throw e.abort(),new Error("Shipping option selection update failed.")}const i=this._paymentIntegrationService.getState(),{currency:{decimalPlaces:o}}=i.getCartOrThrow(),a=i.getCheckoutOrThrow();e.completeShippingMethodSelection({newTotal:{type:"final",label:t,amount:`${a.grandTotal.toFixed(o)}`},newLineItems:this._getUpdatedLineItems(a,o)})})}_getUpdatedLineItems(e,t){const n=[{label:this._subTotalLabel,amount:`${e.subtotal.toFixed(t)}`}];return e.taxes.forEach(e=>n.push({label:e.name,amount:`${e.amount.toFixed(t)}`})),n.push({label:this._shippingLabel,amount:`${e.shippingCostTotal.toFixed(t)}`}),n}_updateShippingOption(e){return ai(this,void 0,void 0,function*(){return this._paymentIntegrationService.selectShippingOption(e)})}_onValidateMerchant(e,t){return ai(this,void 0,void 0,function*(){const n=[`validationUrl=${t.validationURL}`,`merchantIdentifier=${e.initializationData.merchantId}`,`displayName=${e.initializationData.storeName}`,`domainName=${window.location.hostname}`].join("&");return this._requestSender.post(`${e.initializationData.paymentsUrl}/api/public/v1/payments/applepay/validate_merchant`,{credentials:!1,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","X-XSRF-TOKEN":null},body:n})})}_onPaymentAuthorized(e,t,n){var r;return ai(this,void 0,void 0,function*(){const{token:i,billingContact:o,shippingContact:a}=e.payment,s=this._paymentIntegrationService.getState().getCartOrThrow().lineItems.physicalItems.length>0;let c;(null===(r=n.initializationData)||void 0===r?void 0:r.gateway)===ei.BRAINTREE&&(c=yield this._getBraintreeDeviceData());const u={methodId:n.id,paymentData:{deviceSessionId:c,formattedPayload:{apple_pay_token:{payment_data:i.paymentData,payment_method:i.paymentMethod,transaction_id:i.transactionIdentifier}}}},d=this._transformContactToAddress(o),l=this._transformContactToAddress(a),p=null==a?void 0:a.emailAddress,h=(null==a?void 0:a.phoneNumber)||"";try{return yield this._paymentIntegrationService.updateBillingAddress(Object.assign(Object.assign({},d),{email:p,phone:h})),s&&(yield this._paymentIntegrationService.updateShippingAddress(l)),yield this._paymentIntegrationService.submitOrder({useStoreCredit:!1}),yield this._paymentIntegrationService.submitPayment(u),t.completePayment(ApplePaySession.STATUS_SUCCESS),this._onAuthorizeCallback()}catch(e){throw t.completePayment(ApplePaySession.STATUS_FAILURE),new Error("Payment cannot complete")}})}_transformContactToAddress(e){return{firstName:(null==e?void 0:e.givenName)||"",lastName:(null==e?void 0:e.familyName)||"",city:(null==e?void 0:e.locality)||"",company:"",address1:(null==e?void 0:e.addressLines)&&e.addressLines[0]||"",address2:(null==e?void 0:e.addressLines)&&e.addressLines[1]||"",postalCode:(null==e?void 0:e.postalCode)||"",countryCode:(null==e?void 0:e.countryCode)||"",phone:(null==e?void 0:e.phoneNumber)||"",stateOrProvince:(null==e?void 0:e.administrativeArea)||"",stateOrProvinceCode:(null==e?void 0:e.administrativeArea)||"",customFields:[]}}_getBraintreeDeviceData(){return ai(this,void 0,void 0,function*(){try{const{deviceData:e}=yield this._braintreeSdk.getDataCollectorOrThrow();return e}catch(e){}})}}function ci(e){if(!function(e){return"ApplePaySession"in e}(e))throw new Error("Apple pay is not supported")}class ui{create(e){return ci(window),new ApplePaySession(1,e)}}class di{constructor(e){this.scriptLoader=e,this.sdkVersion="1.latest"}loadSdk(){return e=this,t=void 0,r=function*(){(function(e){return"ApplePaySDK"in e})(window)||(yield this.scriptLoader.loadScript(`https://applepay.cdn-apple.com/jsapi/${this.sdkVersion}/apple-pay-sdk.js`),ci(window))},new((n=void 0)||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())});var e,t,n,r}}const li=Sr(e=>{const{getHost:n}=e.getState(),r=new zr(e);return new si((0,t.createRequestSender)({host:n()}),e,new ui,new Qr(new ni((0,or.vQ)(),window,r)),new di(new or.B2))},[{id:"applepay"}]);var pi,hi,fi,yi,mi,gi,vi,_i;!function(e){e.BuyNow="BUY_NOW"}(pi||(pi={})),function(e){e.Possible="POSSIBLE",e.No="NO",e.Unknown="UNKNOWN",e.Yes="YES"}(hi||(hi={})),function(e){e.AUTHORIZE="authorize",e.CAPTURE="capture"}(fi||(fi={})),function(e){e.paypal="paypal",e.checkout="checkout",e.buynow="buynow",e.pay="pay",e.installment="installment"}(yi||(yi={})),function(e){e.gold="gold",e.blue="blue",e.silver="silver",e.black="black",e.white="white"}(mi||(mi={})),function(e){e.pill="pill",e.rect="rect"}(gi||(gi={})),function(e){e.OXXO="oxxo"}(vi||(vi={})),function(e){e.Approved="APPROVED",e.Created="CREATED",e.PayerActionRequired="PAYER_ACTION_REQUIRED",e.PollingStop="POLLING_STOP",e.PollingError="POLLING_ERROR"}(_i||(_i={}));var bi=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Si{constructor(e,t,n,r){this.formPoster=e,this.paymentIntegrationService=t,this.bigCommercePaymentsRequestSender=n,this.bigCommercePaymentsScriptLoader=r}loadPayPalSdk(e,t,n,r){return bi(this,void 0,void 0,function*(){const i=this.paymentIntegrationService.getState(),o=t||i.getCartOrThrow().currency.code,a=i.getPaymentMethodOrThrow(e);return this.paypalSdk=yield this.bigCommercePaymentsScriptLoader.getPayPalSDK(a,o,n,r),this.paypalSdk})}getPayPalSdkOrThrow(){if(!this.paypalSdk)throw new _r;return this.paypalSdk}createBuyNowCartOrThrow(e){return bi(this,void 0,void 0,function*(){const t=e.getBuyNowCartRequestBody();if(!t)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(t)}catch(e){throw new Cr}})}createOrder(e,t){return bi(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r}=yield this.bigCommercePaymentsRequestSender.createOrder(e,Object.assign({cartId:n},t));return r})}createOrderCardFields(e,t){return bi(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r,setupToken:i}=yield this.bigCommercePaymentsRequestSender.createOrder(e,Object.assign({cartId:n},t));return Object.assign({orderId:r},i?{setupToken:i}:{})})}updateOrder(e){return bi(this,void 0,void 0,function*(){const t=this.paymentIntegrationService.getState(),n=t.getCartOrThrow();let r;e||(r=t.getConsignmentsOrThrow()[0]);try{yield this.bigCommercePaymentsRequestSender.updateOrder({availableShippingOptions:e?[]:null==r?void 0:r.availableShippingOptions,cartId:n.id,selectedShippingOption:e?null:null==r?void 0:r.selectedShippingOption})}catch(e){throw new c}})}getOrderStatus(e,t){return bi(this,void 0,void 0,function*(){try{const{status:n}=yield this.bigCommercePaymentsRequestSender.getOrderStatus(e,t);return n}catch(e){throw new c}})}tokenizePayment(e,t){const n=this.paymentIntegrationService.getState().getCartOrThrow();if(!t)throw new ar(rr.MissingOrderId);return this.formPoster.postForm("/checkout.php",Object.assign({payment_type:"paypal",action:"set_external_checkout",provider:e,order_id:t},n.source===pi.BuyNow&&{cart_id:n.id}))}submitPayment(e,t,n){return bi(this,void 0,void 0,function*(){const r={formattedPayload:{vault_payment_instrument:null,set_as_default_stored_instrument:null,device_info:null,method_id:e,paypal_account:{order_id:t}}};yield this.paymentIntegrationService.submitPayment(Object.assign({methodId:e,paymentData:r},n?{gatewayId:n}:{}))})}getShippingOptionOrThrow(e){const t=this.paymentIntegrationService.getState().getConsignmentsOrThrow()[0],n=t.availableShippingOptions||[],r=n.find(e=>e.isRecommended),i=(e?n.find(t=>t.id===e):n.find(e=>{var n;return e.id===(null===(n=t.selectedShippingOption)||void 0===n?void 0:n.id)}))||r||n[0];if(!i)throw new Error("Your order can't be shipped to this address");return i}getAddress(e){return{firstName:(null==e?void 0:e.firstName)||"",lastName:(null==e?void 0:e.lastName)||"",email:(null==e?void 0:e.email)||"",phone:(null==e?void 0:e.phone)||"",company:"",address1:(null==e?void 0:e.address1)||"",address2:(null==e?void 0:e.address2)||"",city:(null==e?void 0:e.city)||"",countryCode:(null==e?void 0:e.countryCode)||"",postalCode:(null==e?void 0:e.postalCode)||"",stateOrProvince:"",stateOrProvinceCode:(null==e?void 0:e.stateOrProvinceCode)||"",customFields:[]}}getBillingAddressFromOrderDetails({payer:e}){var t,n;return this.getAddress({firstName:e.name.given_name,lastName:e.name.surname,email:e.email_address,address1:e.address.address_line_1,address2:e.address.address_line_2,city:e.address.admin_area_2,countryCode:e.address.country_code,postalCode:e.address.postal_code,stateOrProvinceCode:e.address.admin_area_1,phone:null===(n=null===(t=e.phone)||void 0===t?void 0:t.phone_number)||void 0===n?void 0:n.national_number})}getShippingAddressFromOrderDetails(e){const{payer:t,purchase_units:n}=e,{address:r,name:{full_name:i}}=n[0].shipping,[o,...a]=i.split(" ");return this.getAddress({firstName:o,lastName:a.join(" "),email:t.email_address,address1:r.address_line_1,address2:r.address_line_2,city:r.admin_area_2,countryCode:r.country_code,postalCode:r.postal_code,stateOrProvinceCode:r.admin_area_1})}getValidButtonStyle(e){const{color:t,height:n,label:r,shape:i}=e||{},o={color:t&&mi[t]?t:void 0,height:this.getValidHeight(n),label:r&&yi[r]?r:void 0,shape:i&&gi[i]?i:void 0};return(0,f.omitBy)(o,f.isNil)}getValidHeight(e){return e&&"number"==typeof e?e>55?55:e<25?25:e:40}removeElement(e){const t=e&&document.getElementById(e);t&&(t.style.display="none")}}var wi=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ci{constructor(e){this.requestSender=e}createOrder(e,t){return wi(this,void 0,void 0,function*(){const n=`/api/storefront/payment/${e}`,r=t,i=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.post(n,{headers:i,body:r})).body})}updateOrder(e){return wi(this,void 0,void 0,function*(){const t=e,n=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.put("/api/storefront/initialization/bigcommerce_payments",{headers:n,body:t})).body})}getOrderStatus(e="bigcommerce_payments",t){return wi(this,void 0,void 0,function*(){const n=`/api/storefront/initialization/${e}`,r=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.get(n,Object.assign({headers:r},t))).body})}}var Ii=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ei{constructor(e){this.scriptLoader=e,this.window=window}getPayPalSDK(e,t,n,r){return Ii(this,void 0,void 0,function*(){const i=this.getPayPalSdkScriptConfigOrThrow(e,t,n);return this.loadPayPalSDK(i,r)})}loadPayPalSDK(e,t=!1){return Ii(this,void 0,void 0,function*(){if(!this.window.bigCommercePaymentsPayPalSDK||t){const t=this.transformConfig(e.options),n=this.transformConfig(e.attributes),r=`https://www.paypal.com/sdk/js?${new URLSearchParams(t).toString()}`;yield this.scriptLoader.loadScript(r,{async:!0,attributes:n})}if(!this.window.bigCommercePaymentsPayPalSDK)throw new _r;return this.window.bigCommercePaymentsPayPalSDK})}getPayPalSdkScriptConfigOrThrow(e,t,n=!0){const{id:r,clientToken:i,initializationData:o}=e;if(!(null==o?void 0:o.clientId))throw new ar(rr.MissingPaymentMethod);const{intent:a,clientId:s,merchantId:c,buyerCountry:u,attributionId:d,isVenmoEnabled:l,isHostedCheckoutEnabled:p,isPayPalCreditAvailable:h,isDeveloperModeApplicable:f,availableAlternativePaymentMethods:y=[],enabledAlternativePaymentMethods:m=[],isGooglePayEnabled:g}=o,v=p||n,_="bigcommerce_payments_creditcards"===r,b=_?["card"]:[],S=_?[]:["card"],w=h?["credit","paylater"]:[],C=h?[]:["credit","paylater"],I=l?["venmo"]:[],E=l?[]:["venmo"],P=y.filter(e=>!m.includes(e)),O=g?["googlepay"]:[],A=n?["card-fields"]:[],T=this.filterFundingOptions([...S,...C,...E,...P]),k=this.filterFundingOptions([...b,...w,...I,...m]);return{options:Object.assign({"client-id":s,"merchant-id":c,"enable-funding":k.length>0?k:void 0,"disable-funding":T.length>0?T:void 0,commit:v,components:["buttons","hosted-fields","payment-fields","legal",...O,...A],currency:t,intent:a},f&&{"buyer-country":u}),attributes:{"data-partner-attribution-id":d,"data-client-token":i,"data-namespace":"bigCommercePaymentsPayPalSDK"}}}filterFundingOptions(e){const t=["klarna","afterpay"];return e?e.filter(e=>!t.includes(e)):[]}transformConfig(e){let t={};return Object.keys(e).forEach(n=>{const r=e[n];null==r||""===r||Array.isArray(r)&&0===r.length||(t=Object.assign(Object.assign({},t),{[n]:Array.isArray(r)?r.join(","):r}))}),t}}const Pi=e=>{const{getHost:n}=e.getState();return new Si((0,i.createFormPoster)(),e,new Ci((0,t.createRequestSender)({host:n()})),new Ei((0,or.vQ)()))};var Oi=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ai{constructor(e,t){this.paymentIntegrationService=e,this.bigCommercePaymentsIntegrationService=t}initialize(e){var t;return Oi(this,void 0,void 0,function*(){const{bigcommerce_payments:n,containerId:r,methodId:i}=e,o=Boolean(null==n?void 0:n.buyNowInitializeOptions);if(!i)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!r)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.bigcommerce_payments" argument is not provided.');if(o&&!n.currencyCode)throw new wr('Unable to initialize payment because "options.bigcommerce_payments.currencyCode" argument is not provided.');if(o&&"function"!=typeof(null===(t=n.buyNowInitializeOptions)||void 0===t?void 0:t.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.bigcommerce_payments.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');o||(yield this.paymentIntegrationService.loadDefaultCheckout());const a=o?n.currencyCode:this.paymentIntegrationService.getState().getCartOrThrow().currency.code;yield this.bigCommercePaymentsIntegrationService.loadPayPalSdk(i,a,!1),this.renderButton(r,i,n)})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onComplete:o,onEligibilityFailure:a}=n,s=this.bigCommercePaymentsIntegrationService.getPayPalSdkOrThrow(),c=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(t),{isHostedCheckoutEnabled:u,isServerSideShippingCallbacksEnabled:d}=c.initializationData||{},l={createOrder:()=>this.bigCommercePaymentsIntegrationService.createOrder("bigcommerce_payments"),onApprove:({orderID:e})=>this.bigCommercePaymentsIntegrationService.tokenizePayment(t,e)},p={onClick:()=>this.handleClick(r),onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},h=Object.assign(Object.assign({},!d&&{onShippingAddressChange:e=>this.onShippingAddressChange(e),onShippingOptionsChange:e=>this.onShippingOptionsChange(e)}),{onApprove:(e,n)=>this.onHostedCheckoutApprove(e,n,t,o,d)}),f=Object.assign(Object.assign(Object.assign({fundingSource:s.FUNDING.PAYPAL,style:this.bigCommercePaymentsIntegrationService.getValidButtonStyle(i)},l),r&&p),u&&h),y=s.Buttons(f);y.isEligible()?y.render(`#${e}`):a&&"function"==typeof a?a():this.bigCommercePaymentsIntegrationService.removeElement(e)}handleClick(e){return Oi(this,void 0,void 0,function*(){if(e){const t=yield this.bigCommercePaymentsIntegrationService.createBuyNowCartOrThrow(e);yield this.paymentIntegrationService.loadCheckout(t.id)}})}onHostedCheckoutApprove(e,t,n,r,i){return Oi(this,void 0,void 0,function*(){if(!e.orderID)throw new ar(rr.MissingOrderId);const o=this.paymentIntegrationService.getState().getCartOrThrow();try{const a=o.lineItems.physicalItems.length>0;if(!i){const e=yield t.order.get(),n=this.bigCommercePaymentsIntegrationService.getBillingAddressFromOrderDetails(e);if(yield this.paymentIntegrationService.updateBillingAddress(n),a){const t=this.bigCommercePaymentsIntegrationService.getShippingAddressFromOrderDetails(e);yield this.paymentIntegrationService.updateShippingAddress(t)}}return a&&(yield this.bigCommercePaymentsIntegrationService.updateOrder(i)),i&&(yield this.paymentIntegrationService.loadCheckout()),yield this.paymentIntegrationService.submitOrder({},{params:{methodId:n}}),yield this.bigCommercePaymentsIntegrationService.submitPayment(n,e.orderID),r&&"function"==typeof r&&r(),!0}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingAddressChange(e){return Oi(this,void 0,void 0,function*(){const t=this.bigCommercePaymentsIntegrationService.getAddress({city:e.shippingAddress.city,countryCode:e.shippingAddress.countryCode,postalCode:e.shippingAddress.postalCode,stateOrProvinceCode:e.shippingAddress.state});try{yield this.paymentIntegrationService.updateBillingAddress(t),yield this.paymentIntegrationService.updateShippingAddress(t);const e=this.bigCommercePaymentsIntegrationService.getShippingOptionOrThrow();yield this.paymentIntegrationService.selectShippingOption(e.id),yield this.bigCommercePaymentsIntegrationService.updateOrder()}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingOptionsChange(e){return Oi(this,void 0,void 0,function*(){const t=this.bigCommercePaymentsIntegrationService.getShippingOptionOrThrow(e.selectedShippingOption.id);try{yield this.paymentIntegrationService.selectShippingOption(t.id),yield this.bigCommercePaymentsIntegrationService.updateOrder()}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}}const Ti=Sr(e=>new Ai(e,Pi(e)),[{id:"bigcommerce_payments"}]);var ki=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ri{constructor(e,t){this.paymentIntegrationService=e,this.bigCommercePaymentsIntegrationService=t}initialize(e){return ki(this,void 0,void 0,function*(){const{bigcommerce_payments_paylater:t,containerId:n,methodId:r}=e,{buyNowInitializeOptions:i,currencyCode:o}=t||{},a=!!i;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.bigcommerce_payments_paylater" argument is not provided.');if(a&&!o)throw new wr('Unable to initialize payment because "options.bigcommerce_payments_paylater.currencyCode" argument is not provided.');if(a&&"function"!=typeof(null==i?void 0:i.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.bigcommerce_payments_paylater.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');a||(yield this.paymentIntegrationService.loadDefaultCheckout());const s=this.paymentIntegrationService.getState(),c=a?o:s.getCartOrThrow().currency.code;yield this.bigCommercePaymentsIntegrationService.loadPayPalSdk(r,c,!1),this.renderButton(n,r,t)})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onComplete:o,onEligibilityFailure:a}=n,s=this.bigCommercePaymentsIntegrationService.getPayPalSdkOrThrow(),c=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(t),{isHostedCheckoutEnabled:u}=c.initializationData||{},d={createOrder:()=>this.bigCommercePaymentsIntegrationService.createOrder("bigcommerce_payments_paylater"),onApprove:({orderID:e})=>this.bigCommercePaymentsIntegrationService.tokenizePayment(t,e)},l={onClick:()=>this.handleClick(r),onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},p={onShippingAddressChange:e=>this.onShippingAddressChange(e),onShippingOptionsChange:e=>this.onShippingOptionsChange(e),onApprove:(e,n)=>this.onHostedCheckoutApprove(e,n,t,o)},h=[s.FUNDING.PAYLATER,s.FUNDING.CREDIT];let f=!1;h.forEach(t=>{if(!f){const n=Object.assign(Object.assign(Object.assign({fundingSource:t,style:this.bigCommercePaymentsIntegrationService.getValidButtonStyle(i)},d),r&&l),u&&p),o=s.Buttons(n);o.isEligible()?(o.render(`#${e}`),f=!0):a&&"function"==typeof a&&a()}}),f||this.bigCommercePaymentsIntegrationService.removeElement(e)}handleClick(e){return ki(this,void 0,void 0,function*(){if(e){const t=yield this.bigCommercePaymentsIntegrationService.createBuyNowCartOrThrow(e);yield this.paymentIntegrationService.loadCheckout(t.id)}})}onHostedCheckoutApprove(e,t,n,r){return ki(this,void 0,void 0,function*(){if(!e.orderID)throw new ar(rr.MissingOrderId);const i=this.paymentIntegrationService.getState().getCartOrThrow(),o=yield t.order.get();try{const t=this.bigCommercePaymentsIntegrationService.getBillingAddressFromOrderDetails(o);if(yield this.paymentIntegrationService.updateBillingAddress(t),i.lineItems.physicalItems.length>0){const e=this.bigCommercePaymentsIntegrationService.getShippingAddressFromOrderDetails(o);yield this.paymentIntegrationService.updateShippingAddress(e),yield this.bigCommercePaymentsIntegrationService.updateOrder()}return yield this.paymentIntegrationService.submitOrder({},{params:{methodId:n}}),yield this.bigCommercePaymentsIntegrationService.submitPayment(n,e.orderID),r&&"function"==typeof r&&r(),!0}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingAddressChange(e){return ki(this,void 0,void 0,function*(){const t=this.bigCommercePaymentsIntegrationService.getAddress({city:e.shippingAddress.city,countryCode:e.shippingAddress.countryCode,postalCode:e.shippingAddress.postalCode,stateOrProvinceCode:e.shippingAddress.state});try{yield this.paymentIntegrationService.updateBillingAddress(t),yield this.paymentIntegrationService.updateShippingAddress(t);const e=this.bigCommercePaymentsIntegrationService.getShippingOptionOrThrow();yield this.paymentIntegrationService.selectShippingOption(e.id),yield this.bigCommercePaymentsIntegrationService.updateOrder()}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingOptionsChange(e){return ki(this,void 0,void 0,function*(){const t=this.bigCommercePaymentsIntegrationService.getShippingOptionOrThrow(e.selectedShippingOption.id);try{yield this.paymentIntegrationService.selectShippingOption(t.id),yield this.bigCommercePaymentsIntegrationService.updateOrder()}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}}const Mi=Sr(e=>new Ri(e,Pi(e)),[{id:"bigcommerce_payments_paylater"}]);var xi=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ni{constructor(e,t){this.paymentIntegrationService=e,this.bigCommercePaymentsIntegrationService=t}initialize(e){return xi(this,void 0,void 0,function*(){const{bigcommerce_payments_venmo:t,containerId:n,methodId:r}=e,{buyNowInitializeOptions:i,currencyCode:o}=t||{},a=!!i;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.bigcommerce_payments_venmo" argument is not provided.');if(a&&!o)throw new wr('Unable to initialize payment because "options.bigcommerce_payments_venmo.currencyCode" argument is not provided.');if(a&&"function"!=typeof(null==i?void 0:i.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.bigcommerce_payments_venmo.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');a||(yield this.paymentIntegrationService.loadDefaultCheckout());const s=a?o:this.paymentIntegrationService.getState().getCartOrThrow().currency.code;yield this.bigCommercePaymentsIntegrationService.loadPayPalSdk(r,s,!1),this.renderButton(n,r,t)})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onEligibilityFailure:o}=n,a=this.bigCommercePaymentsIntegrationService.getPayPalSdkOrThrow(),s=a.FUNDING.VENMO,c={createOrder:()=>this.bigCommercePaymentsIntegrationService.createOrder("bigcommerce_payments_venmo"),onApprove:({orderID:e})=>this.bigCommercePaymentsIntegrationService.tokenizePayment(t,e)},u={onClick:()=>this.handleClick(r),onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},d=Object.assign(Object.assign({fundingSource:s,style:this.getValidVenmoButtonStyles(i)},c),r&&u),l=a.Buttons(d);l.isEligible()?l.render(`#${e}`):o&&"function"==typeof o?o():this.bigCommercePaymentsIntegrationService.removeElement(e)}getValidVenmoButtonStyles(e){const t=this.bigCommercePaymentsIntegrationService.getValidButtonStyle(e);return t.color===mi.gold?Object.assign(Object.assign({},t),{color:void 0}):t}handleClick(e){return xi(this,void 0,void 0,function*(){if(e){const t=yield this.bigCommercePaymentsIntegrationService.createBuyNowCartOrThrow(e);yield this.paymentIntegrationService.loadCheckout(t.id)}})}}const Di=Sr(e=>new Ni(e,Pi(e)),[{id:"bigcommerce_payments_venmo"}]);var ji,Li,zi,Fi=n(2586);class Bi extends a{constructor(e){super(e||"Not implemented."),this.name="NotImplementedError",this.type="not_implemented"}}!function(e){e.SandboxMode="bolt_sandbox",e.StagingMode="bolt_staging",e.DevelopmentMode="bolt_development"}(ji||(ji={})),function(e){e.Small="small",e.Medium="medium",e.Large="large"}(Li||(Li={})),function(e){e.Pill="pill",e.Rect="rect"}(zi||(zi={}));class Ui{constructor(e,t,n=window){this.paymentIntegrationService=e,this.boltScriptLoader=t,this.boltHostWindow=n}initialize(e){return t=this,n=void 0,i=function*(){const{bolt:t,containerId:n,methodId:r}=e,{buyNowInitializeOptions:i,style:o}=t||{};if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.bolt" argument is not provided.');if(!Boolean(i))throw new Bi("Only buy now flow is implemented for Bolt button");if(!(null==i?void 0:i.storefrontApiToken)||"string"!=typeof i.storefrontApiToken)throw new wr('Unable to initialize payment because "options.storefrontApiToken" argument is not provided.');const a=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(r),{initializationData:s,config:c}=a,{publishableKey:u,developerConfig:d}=s||{};yield this.boltScriptLoader.loadBoltClient(u,c.testMode,d,"BigCommerce",i.storefrontApiToken),this.renderButton(n,a,o)},new((r=void 0)||(r=Promise))(function(e,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(a,s)}c((i=i.apply(t,n||[])).next())});var t,n,r,i}deinitialize(){return Promise.resolve()}renderButton(e,t,n){var r;"function"==typeof(null===(r=this.boltHostWindow.BoltConnect)||void 0===r?void 0:r.setupProductPageCheckout)&&(this.addButtonContainer(e,t,n),this.boltHostWindow.BoltConnect.setupProductPageCheckout())}addButtonContainer(e,t,n){const r=document.getElementById(e);if(!r)return;const i=document.createElement("div"),o=document.createElement("object");i.setAttribute("id","product-page-checkout-wrapper"),i.setAttribute("class","bolt-button-wrapper"),i.setAttribute("style","display:none"),i.setAttribute("data-tid","product-page-checkout-wrapper"),o.setAttribute("data",this.getBoltObjectData(t,n)),o.setAttribute("class","bolt-product-checkout-button"),i.append(o),r.innerHTML="",r.append(i)}getBoltObjectData(e,t){const{initializationData:n,config:r}=e,{publishableKey:i,developerConfig:o}=n||{},a=this.boltScriptLoader.getDomainURL(!!r.testMode,o),s=this.getButtonHeight(null==t?void 0:t.size),c=this.getButtonBorderRadius(null==t?void 0:t.shape,s);return(0,Fi.stringifyUrl)({url:`https://${a}/v1/checkout_button`,query:{publishable_key:i,variant:"ppc",height:s,border_radius:c}})}getButtonHeight(e){if(e)switch(e){case Li.Small:return 25;case Li.Large:return 45;case Li.Medium:default:return 40}}getButtonBorderRadius(e,t){if(e)switch(e){case zi.Pill:return t?Math.round(t/2):void 0;case zi.Rect:default:return 4}}}var qi=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Vi{constructor(e,t=window){this.scriptLoader=e,this.boltHostWindow=t}loadBoltClient(e,t,n,r,i){return qi(this,void 0,void 0,function*(){if(this.boltHostWindow.BoltCheckout)return this.boltHostWindow.BoltCheckout;if(!e)throw new wr('Unable to initialize payment because "publishableKey" argument is not provided.');if(yield this.scriptLoader.loadScript(`//${this.getDomainURL(!!t,n)}/connect-bigcommerce.js`,this.getScriptOptions("bolt-connect",e,r,i)),yield this.scriptLoader.loadScript(`//${this.getDomainURL(!!t,n)}/track.js`,this.getScriptOptions("bolt-track",e)),!this.boltHostWindow.BoltCheckout)throw new _r;return this.boltHostWindow.BoltCheckout})}loadBoltEmbedded(e,t,n){return qi(this,void 0,void 0,function*(){if(yield this.scriptLoader.loadScript(`//${this.getDomainURL(!!t,n)}/embed.js`,{async:!0,attributes:{id:"bolt-embedded"}}),!this.boltHostWindow.Bolt)throw new _r;return this.boltHostWindow.Bolt(e)})}getDomainURL(e,t){if(!e)return"connect.bolt.com";if(t)switch(t.developerMode){case ji.StagingMode:return"connect-staging.bolt.com";case ji.DevelopmentMode:return`connect.${t.developerDomain}`}return"connect-sandbox.bolt.com"}getScriptOptions(e,t,n,r){return{async:!0,attributes:Object.assign(Object.assign({id:e,"data-publishable-key":t},n&&{"data-shopping-cart-id":n}),r&&{"data-storefront-api-token":r})}}}const Gi=Sr(e=>new Ui(e,new Vi((0,or.vQ)())),[{id:"bolt"}]);var Hi=n(6472);class Yi extends wr{constructor(e){let t="Unable to submit payment for the order because the payload is invalid.";e&&(t=`${t} Make sure the following fields are provided correctly: ${e.join(", ")}.`),super(t),this.name="PaymentArgumentInvalidError"}}class Wi extends a{constructor(e,t){super(t||"Unable to proceed because the payment form contains invalid data."),this.details=e,this.name="PaymentInvalidFormError",this.type="payment_invalid_form"}}class $i{constructor(e){const t=new Promise((e,t)=>{this.cancel=t});this.promise=Promise.race([e,t])}}let Ki=null;const Zi=["buttons","messages"];var Ji,Qi,Xi,eo,to,no;!function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(Ji||(Ji={})),function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.RESPONSIVE="responsive"}(Qi||(Qi={})),function(e){e.GOLD="gold",e.BLUE="blue",e.SIlVER="silver",e.BLACK="black",e.WHITE="white"}(Xi||(Xi={})),function(e){e.CHECKOUT="checkout",e.PAY="pay",e.BUYNOW="buynow",e.PAYPAL="paypal",e.CREDIT="credit"}(eo||(eo={})),function(e){e.PILL="pill",e.RECT="rect"}(to||(to={})),function(e){e.CART="cart",e.HOME="homepage",e.PAYMENT="payment",e.PRODUCT="product"}(no||(no={}));var ro=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class io{constructor(e,t,n){this.braintreeScriptLoader=e,this.braintreeHostWindow=t,this.overlay=n,this.dataCollectors={}}initialize(e,t){this.clientToken=e,this.threeDSecureOptions=t}getBraintreeFastlane(e,t,n){return ro(this,void 0,void 0,function*(){if(t&&(window.localStorage.setItem("axoEnv","sandbox"),window.localStorage.setItem("fastlaneEnv","sandbox")),!this.braintreeHostWindow.braintreeFastlane){const t=this.getClientTokenOrThrow(),r=yield this.getClient(),i=yield this.getSessionId(e),o=yield this.braintreeScriptLoader.loadFastlane(),a={root:{backgroundColorPrimary:"transparent"}};this.braintreeHostWindow.braintreeFastlane=yield o.create({authorization:t,client:r,deviceData:i,styles:n||a})}return this.braintreeHostWindow.braintreeFastlane})}getClient(){return ro(this,void 0,void 0,function*(){if(!this.client){const e=this.getClientTokenOrThrow(),t=yield this.braintreeScriptLoader.loadClient();this.client=t.create({authorization:e})}return this.client})}getPaypal(){return this.braintreePaypal||(this.braintreePaypal=Promise.all([this.getClient(),this.braintreeScriptLoader.loadPaypal()]).then(([e,t])=>t.create({client:e}))),this.braintreePaypal}paypal(e){var{shouldSaveInstrument:t}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{var i;return r&&(null===(i=this.overlay)||void 0===i||i.show({onClick:()=>e.focusWindow()})),e.tokenize(Object.assign({enableShippingAddress:!0,flow:t?"vault":"checkout",useraction:"commit"},n))}).then(e=>{var t;return null===(t=this.overlay)||void 0===t||t.remove(),e}).catch(e=>{var t;throw null===(t=this.overlay)||void 0===t||t.remove(),e})}getPaypalCheckout(e,t,n){return ro(this,void 0,void 0,function*(){const r=yield this.getClient(),i=yield this.braintreeScriptLoader.loadPaypalCheckout(),o={client:r};return this.paypalCheckout=yield i.create(o,(r,i)=>{var o;if(r)return n(r);const a=Object.assign(Object.assign({currency:e.currency},e.isCreditEnabled&&{"enable-funding":"paylater"}),{components:Zi.toString(),intent:e.intent,commit:null===(o=e.commit)||void 0===o||o});this.braintreeHostWindow.paypal?t(i):function(e,t){return Ki||(Ki=new Promise((n,r)=>{e.loadPayPalSDK(t,t=>{t?(Ki=null,r(t)):n(e)})})),Ki}(i,a).then(()=>t(i))}),this.paypalCheckout})}getDataCollector(e){return ro(this,void 0,void 0,function*(){const t=(null==e?void 0:e.paypal)?"paypal":"default";let n=this.dataCollectors[t];if(!n){try{const t=yield this.getClient(),r=yield this.braintreeScriptLoader.loadDataCollector(),i=Object.assign({client:t,kount:!0},e);n=yield r.create(i)}catch(e){if(!Wr(e)||"DATA_COLLECTOR_KOUNT_NOT_ENABLED"!==e.code)throw e;n={deviceData:void 0,teardown:()=>Promise.resolve()}}this.dataCollectors[t]=n}return n})}getBraintreeEnv(e=!1){return e?$r.Sandbox:$r.Production}mapToBraintreeShippingAddressOverride(e){return{recipientName:`${e.firstName} ${e.lastName}`,line1:e.address1,line2:e.address2,city:e.city,state:e.stateOrProvinceCode,postalCode:e.postalCode,countryCode:e.countryCode,phone:e.phone}}mapToLegacyShippingAddress(e){const{email:t,phone:n,shippingAddress:r}=e,i=(null==r?void 0:r.recipientName)||"",[o,a]=i.split(" ");return{email:t,first_name:o||"",last_name:a||"",phone_number:n,address_line_1:null==r?void 0:r.line1,address_line_2:null==r?void 0:r.line2,city:null==r?void 0:r.city,state:null==r?void 0:r.state,country_code:null==r?void 0:r.countryCode,postal_code:null==r?void 0:r.postalCode}}mapToLegacyBillingAddress(e){const{billingAddress:t,email:n,firstName:r,lastName:i,phone:o,shippingAddress:a}=e,s=t||a;return{email:n,first_name:r,last_name:i,phone_number:o,address_line_1:null==s?void 0:s.line1,address_line_2:null==s?void 0:s.line2,city:null==s?void 0:s.city,state:null==s?void 0:s.state,country_code:null==s?void 0:s.countryCode,postal_code:null==s?void 0:s.postalCode}}removeElement(e){const t=e&&document.getElementById(e);t&&t.remove()}getSessionId(e){return ro(this,void 0,void 0,function*(){const{deviceData:t}=yield this.getDataCollector({riskCorrelationId:e});return t})}teardown(){return ro(this,void 0,void 0,function*(){yield this.teardownModule(this.dataCollectors.default),yield this.teardownModule(this.dataCollectors.paypal),this.dataCollectors={},yield this.teardownModule(this.paypalCheckout),this.paypalCheckout=void 0})}get3DS(){return ro(this,void 0,void 0,function*(){return this.threeDS||(this.threeDS=Promise.all([this.getClient(),this.braintreeScriptLoader.load3DS()]).then(([e,t])=>t.create({client:e,version:2}))),this.threeDS})}getVenmoCheckout(e){return ro(this,void 0,void 0,function*(){if(!this.venmoCheckout){const t=yield this.getClient(),n=yield this.braintreeScriptLoader.loadVenmoCheckout(),r=Object.assign({client:t,allowDesktop:!0,paymentMethodUsage:"multi_use"},e||{});this.venmoCheckout=yield new Promise((e,t)=>{n.create(r,(n,r)=>n?t(n):r.isBrowserSupported()?void e(r):t(new Fr))})}return this.venmoCheckout})}verifyCard(e,t,n){return ro(this,void 0,void 0,function*(){const r=yield this.tokenizeCard(e,t);return this.challenge3DSVerification(r,n)})}tokenizeCard(e,t){return ro(this,void 0,void 0,function*(){const{paymentData:n}=e;if(!function(e){if("object"!=typeof e||null===e)return!1;const t=e;return"object"==typeof t.ccExpiry&&null!==t.ccExpiry&&"string"==typeof t.ccNumber&&"string"==typeof t.ccName}(n))throw new Yi(["payment.paymentData"]);const r=this.getErrorsRequiredFields(n);if(!(0,f.isEmpty)(r))throw new Wi(r);const i=this.mapToCreditCard(n,t),o=yield this.getClient(),{creditCards:a}=yield o.request(i);return{nonce:a[0].nonce,bin:a[0].details.bin}})}challenge3DSVerification(e,t){return ro(this,void 0,void 0,function*(){const n=yield this.get3DS();return this.present3DSChallenge(n,t,e)})}teardownModule(e){return e?e.teardown():Promise.resolve()}getClientTokenOrThrow(){if(!this.clientToken)throw new ur(ir.PaymentNotInitialized);return this.clientToken}getErrorsRequiredFields(e){const{ccNumber:t,ccExpiry:n}=e,r={};return t||(r.ccNumber=[{message:"Credit card number is required",type:"required"}]),n||(r.ccExpiry=[{message:"Expiration date is required",type:"required"}]),r}mapToCreditCard(e,t){return{data:{creditCard:{cardholderName:e.ccName,number:e.ccNumber,cvv:e.ccCvv,expirationDate:`${e.ccExpiry.month}/${e.ccExpiry.year}`,options:{validate:!1},billingAddress:t&&{countryCodeAlpha2:t.countryCode,locality:t.city,countryName:t.country,postalCode:t.postalCode,streetAddress:t.address2?`${t.address1} ${t.address2}`:t.address1}}},endpoint:"payment_methods/credit_cards",method:"post"}}present3DSChallenge(e,t,n){const{nonce:r,bin:i}=n;if(!this.threeDSecureOptions||!r)throw new ur(ir.PaymentNotInitialized);const{addFrame:o,removeFrame:a,challengeRequested:s=!0,additionalInformation:c}=this.threeDSecureOptions,u=()=>ro(this,void 0,void 0,function*(){const t=yield e.cancelVerifyCard();return l.cancel(new ri),t}),d=t.toFixed(2),l=new $i(e.verifyCard({addFrame:(e,t)=>{o&&o(e,t,u)},amount:Number(d),bin:i,challengeRequested:s,nonce:r,removeFrame:a,onLookupComplete:(e,t)=>{t()},collectDeviceData:!0,additionalInformation:c}));return l.promise}}function oo(e){const{color:t,fundingicons:n,height:r=40,layout:i,shape:o,size:a,tagline:s}=e||{},c={color:t,fundingicons:n,height:ao(r),layout:i,shape:o||"rect",size:a,tagline:s};return(0,f.omitBy)(c,f.isNil)}function ao(e){const t=Number(e);return!t||Number.isNaN(t)?40:t>55?55:t<25?25:t}function so(e){return{recipientName:`${e.firstName} ${e.lastName}`,line1:e.address1,line2:e.address2,city:e.city,state:e.stateOrProvinceCode,postalCode:e.postalCode,countryCode:e.countryCode,phone:e.phone}}var co=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class uo{constructor(e,t,n,r){this.paymentIntegrationService=e,this.formPoster=t,this.braintreeIntegrationService=n,this.braintreeHostWindow=r}initialize(e){return co(this,void 0,void 0,function*(){const{braintreepaypal:t,containerId:n,methodId:r}=e;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.braintreepaypal" argument is not provided.');let i,o=this.paymentIntegrationService.getState();if(t.buyNowInitializeOptions){if(!t.currencyCode)throw new wr('Unable to initialize payment because "options.braintreepaypalcredit.currencyCode" argument is not provided.');i=t.currencyCode}else yield this.paymentIntegrationService.loadDefaultCheckout(),o=this.paymentIntegrationService.getState(),i=o.getCartOrThrow().currency.code;const a=o.getPaymentMethodOrThrow(r),{clientToken:s,config:c,initializationData:u}=a;if(!s||!u)throw new ar(rr.MissingPaymentMethod);const d={currency:i,intent:u.intent,isCreditEnabled:u.isCreditEnabled,commit:!1};this.braintreeIntegrationService.initialize(s),yield this.braintreeIntegrationService.getPaypalCheckout(d,e=>{this.renderPayPalButton(e,t,n,r,!!c.testMode)},e=>this.handleError(e,n,t.onError))})}deinitialize(){return co(this,void 0,void 0,function*(){yield this.braintreeIntegrationService.teardown()})}renderPayPalButton(e,t,n,r,i){const{style:o,shouldProcessPayment:a,onAuthorizeError:s,onEligibilityFailure:c}=t,{paypal:u}=this.braintreeHostWindow;if(u){const d=u.Buttons({env:i?"sandbox":"production",fundingSource:u.FUNDING.PAYPAL,style:oo(o),createOrder:()=>this.setupPayment(e,t,r),onApprove:t=>this.tokenizePayment(t,e,r,a,s)});d.isEligible()?d.render(`#${n}`):c&&"function"==typeof c&&c()}else this.braintreeIntegrationService.removeElement(n)}setupPayment(e,t,n){var r;return co(this,void 0,void 0,function*(){const{onPaymentError:i,shippingAddress:o,buyNowInitializeOptions:s}=t;try{const i="function"==typeof(null==s?void 0:s.getBuyNowCartRequestBody)?yield this.createBuyNowCart(s.getBuyNowCartRequestBody()):void 0;this.buyNowCartId=null==i?void 0:i.id;const a=this.paymentIntegrationService.getState(),c=a.getCustomer(),u=a.getPaymentMethodOrThrow(n),d=i?i.cartAmount:a.getCartOrThrow().cartAmount,l=i?t.currencyCode:a.getCartOrThrow().currency.code,p=o||(null==c?void 0:c.addresses[0]),h=p?so(p):void 0;return yield e.createPayment({flow:"checkout",enableShippingAddress:!0,shippingAddressEditable:!1,shippingAddressOverride:h,amount:d,currency:l,offerCredit:!1,intent:null===(r=u.initializationData)||void 0===r?void 0:r.intent})}catch(e){throw i&&(Wr(e)||e instanceof a)&&i(e),e}})}tokenizePayment(e,t,n,r,i){return co(this,void 0,void 0,function*(){try{const{deviceData:i}=yield this.braintreeIntegrationService.getDataCollector({paypal:!0}),o=yield t.tokenizePayment(e),{details:a,nonce:s}=o,c=this.braintreeIntegrationService.mapToLegacyBillingAddress(a),u=this.braintreeIntegrationService.mapToLegacyShippingAddress(a);return this.formPoster.postForm("/checkout.php",Object.assign({payment_type:"paypal",provider:n,action:r?"process_payment":"set_external_checkout",nonce:s,device_data:i,billing_address:JSON.stringify(c),shipping_address:JSON.stringify(u)},this.buyNowCartId&&{cart_id:this.buyNowCartId})),o}catch(e){throw i&&(Wr(e)||e instanceof a)&&i(e),e}})}createBuyNowCart(e){return co(this,void 0,void 0,function*(){if(!e)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(e)}catch(e){throw new Cr}})}handleError(e,t,n){if(this.braintreeIntegrationService.removeElement(t),!n||!Wr(e))throw e;n(e)}}const lo=Sr(e=>{const t=window,n=new zr(e),r=new io(new ni((0,or.vQ)(),t,n),t);return new uo(e,(0,i.createFormPoster)(),r,t)},[{id:"braintreepaypal"}]);var po=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ho{constructor(e,t,n,r){this.paymentIntegrationService=e,this.formPoster=t,this.braintreeIntegrationService=n,this.braintreeHostWindow=r}initialize(e){return po(this,void 0,void 0,function*(){const{braintreepaypalcredit:t,containerId:n,methodId:r}=e;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.braintreepaypalcredit" argument is not provided.');let i,o=this.paymentIntegrationService.getState();if(t.buyNowInitializeOptions){if(!t.currencyCode)throw new wr('Unable to initialize payment because "options.braintreepaypalcredit.currencyCode" argument is not provided.');i=t.currencyCode}else yield this.paymentIntegrationService.loadDefaultCheckout(),o=this.paymentIntegrationService.getState(),i=o.getCartOrThrow().currency.code;const a=o.getPaymentMethodOrThrow(r),{clientToken:s,config:c,initializationData:u}=a;if(!s||!u)throw new ar(rr.MissingPaymentMethod);const d={currency:i,intent:u.intent,isCreditEnabled:u.isCreditEnabled,commit:!1};this.braintreeIntegrationService.initialize(s),yield this.braintreeIntegrationService.getPaypalCheckout(d,e=>{this.renderPayPalButton(e,t,n,r,!!c.testMode)},e=>this.handleError(e,n,t.onError))})}deinitialize(){return po(this,void 0,void 0,function*(){yield this.braintreeIntegrationService.teardown()})}renderPayPalButton(e,t,n,r,i){const{style:o,shouldProcessPayment:a,onAuthorizeError:s,onEligibilityFailure:c}=t,{paypal:u}=this.braintreeHostWindow;let d=!1;u&&[u.FUNDING.PAYLATER,u.FUNDING.CREDIT].forEach(l=>{const p=l===u.FUNDING.CREDIT?Object.assign({label:eo.CREDIT},oo(o)):oo(o);if(!d){const o=u.Buttons({env:i?"sandbox":"production",fundingSource:l,style:p,createOrder:()=>this.setupPayment(e,t,r),onApprove:t=>this.tokenizePayment(t,e,r,a,s)});o.isEligible()?(o.render(`#${n}`),d=!0):u.FUNDING.CREDIT&&c&&"function"==typeof c&&c()}}),u&&d||this.braintreeIntegrationService.removeElement(n)}setupPayment(e,t,n){var r;return po(this,void 0,void 0,function*(){const{onPaymentError:i,shippingAddress:o,buyNowInitializeOptions:s}=t;try{const i="function"==typeof(null==s?void 0:s.getBuyNowCartRequestBody)?yield this.createBuyNowCart(s.getBuyNowCartRequestBody()):void 0;this.buyNowCartId=null==i?void 0:i.id;const a=this.paymentIntegrationService.getState(),c=a.getCustomer(),u=a.getPaymentMethodOrThrow(n),d=i?i.cartAmount:a.getCartOrThrow().cartAmount,l=i?t.currencyCode:a.getCartOrThrow().currency.code,p=o||(null==c?void 0:c.addresses[0]),h=p?so(p):void 0;return yield e.createPayment({flow:"checkout",enableShippingAddress:!0,shippingAddressEditable:!1,shippingAddressOverride:h,amount:d,currency:l,offerCredit:!0,intent:null===(r=u.initializationData)||void 0===r?void 0:r.intent})}catch(e){throw i&&(Wr(e)||e instanceof a)&&i(e),e}})}tokenizePayment(e,t,n,r,i){return po(this,void 0,void 0,function*(){try{const{deviceData:i}=yield this.braintreeIntegrationService.getDataCollector({paypal:!0}),o=yield t.tokenizePayment(e),{details:a,nonce:s}=o,c=this.braintreeIntegrationService.mapToLegacyBillingAddress(a),u=this.braintreeIntegrationService.mapToLegacyShippingAddress(a);return this.formPoster.postForm("/checkout.php",Object.assign({payment_type:"paypal",provider:n,action:r?"process_payment":"set_external_checkout",nonce:s,device_data:i,billing_address:JSON.stringify(c),shipping_address:JSON.stringify(u)},this.buyNowCartId&&{cart_id:this.buyNowCartId})),o}catch(e){throw i&&(Wr(e)||e instanceof a)&&i(e),e}})}createBuyNowCart(e){return po(this,void 0,void 0,function*(){if(!e)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(e)}catch(e){throw new Cr}})}handleError(e,t,n){if(this.braintreeIntegrationService.removeElement(t),!n||!Wr(e))throw e;n(e)}}const fo=Sr(e=>{const t=window,n=new zr(e),r=new io(new ni((0,or.vQ)(),t,n),t);return new ho(e,(0,i.createFormPoster)(),r,t)},[{id:"braintreepaypalcredit"}]);var yo=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class mo{constructor(e,t,n){this.paymentIntegrationService=e,this.formPoster=t,this.braintreeSdk=n}initialize(e){return yo(this,void 0,void 0,function*(){const{containerId:t,methodId:n}=e;if(!n)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');yield this.paymentIntegrationService.loadPaymentMethod(n);const r=this.paymentIntegrationService.getState(),{clientToken:i,initializationData:o,config:a}=r.getPaymentMethodOrThrow(n);if(!i||!o)throw new ar(rr.MissingPaymentMethod);this.braintreeSdk.initialize(i);const s=yield this.braintreeSdk.getBraintreeVisaCheckout(),{currency:{code:c},cartAmount:u}=r.getCartOrThrow(),d=yield this.braintreeSdk.getVisaCheckoutSdk(a.testMode),l=s.createInitOptions({paymentRequest:{currencyCode:c,subtotal:String(u)},settings:{shipping:{collectShipping:!0}}});this.createSignInButton(t),yield d.init(l),d.on("payment.success",e=>yo(this,void 0,void 0,function*(){yield this.paymentSuccess(s,e)}))})}deinitialize(){return Promise.resolve()}paymentSuccess(e,t){return yo(this,void 0,void 0,function*(){return Promise.all([e.tokenize(t),this.braintreeSdk.getDataCollectorOrThrow()]).then(([e,t])=>{const n=this.paymentIntegrationService.getState(),r=n.getShippingAddress(),i=n.getBillingAddress(),{shippingAddress:o=this.toVisaCheckoutAddress(r),billingAddress:a=this.toVisaCheckoutAddress(i)}=e;return this.postForm(Object.assign(Object.assign({},e),{shippingAddress:o,billingAddress:a}),t)})})}postForm(e,t){const{userData:n,billingAddress:r,shippingAddress:i,details:o}=e,{userEmail:a}=n,{deviceData:s}=t;return this.formPoster.postForm("/checkout.php",{payment_type:e.type,nonce:e.nonce,provider:"braintreevisacheckout",action:"set_external_checkout",device_data:s,card_information:JSON.stringify({type:o.cardType,number:o.lastTwo}),billing_address:JSON.stringify(this.getAddress(a,r)),shipping_address:JSON.stringify(this.getAddress(a,i))})}toVisaCheckoutAddress(e){return e?{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phone,streetAddress:e.address1,extendedAddress:e.address2,locality:e.city,region:e.stateOrProvinceCode,countryCode:e.countryCode,postalCode:e.postalCode}:{}}getAddress(e,t={}){return{email:e,first_name:t.firstName,last_name:t.lastName,phone_number:t.phoneNumber,address_line_1:t.streetAddress,address_line_2:t.extendedAddress,city:t.locality,state:t.region,country_code:t.countryCode,postal_code:t.postalCode}}createSignInButton(e){const t=document.querySelector(`#${e}`);if(!t)throw new Error("Need a container to place the button");return this.insertVisaCheckoutButton(t)}insertVisaCheckoutButton(e){const t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="column",t.style.alignItems="flex-end",t.innerHTML='\n
\n Tell Me More',e.appendChild(t),t}}const go=Sr(e=>{const t=window,n=new zr(e),r=new Qr(new ni((0,or.vQ)(),t,n));return new mo(e,(0,i.createFormPoster)(),r)},[{id:"braintreevisacheckout"}]);function vo(e){const{billingAddress:t,email:n,firstName:r,lastName:i,phone:o,shippingAddress:a}=e,s=t||a;return{email:n,first_name:r,last_name:i,phone_number:o,address_line_1:null==s?void 0:s.line1,address_line_2:null==s?void 0:s.line2,city:null==s?void 0:s.city,state:null==s?void 0:s.state,country_code:null==s?void 0:s.countryCode,postal_code:null==s?void 0:s.postalCode}}function _o(e){const{email:t,phone:n,shippingAddress:r}=e,i=(null==r?void 0:r.recipientName)||"",[o,a]=i.split(" ");return{email:t,first_name:o||"",last_name:a||"",phone_number:n,address_line_1:null==r?void 0:r.line1,address_line_2:null==r?void 0:r.line2,city:null==r?void 0:r.city,state:null==r?void 0:r.state,country_code:null==r?void 0:r.countryCode,postal_code:null==r?void 0:r.postalCode}}var bo=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};const So=e=>{const{color:t,height:n}=e;return{backgroundColor:(r=t||"",r===Xi.WHITE?"#FFFFFF":"#3D95CE"),backgroundPosition:"50% 50%",backgroundSize:"80px auto",backgroundImage:`url("/app/assets/img/payment-providers/venmo-logo-${t===Xi.WHITE?Xi.BLUE:Xi.WHITE}.svg")`,backgroundRepeat:"no-repeat",borderRadius:"4px",cursor:"pointer",transition:"0.2s ease",minHeight:`${n||40}px`,minWidth:"150px",height:"100%",width:"100%",border:t===Xi.WHITE?"1px solid black":"none"};var r};class wo{constructor(e,t,n){this.paymentIntegrationService=e,this.formPoster=t,this.braintreeSdk=n,this.onError=f.noop}initialize(e){return bo(this,void 0,void 0,function*(){const{braintreevenmo:t,containerId:n,methodId:r}=e;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');const i=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(r),{clientToken:o,initializationData:a}=i,{paymentButtonStyles:s}=a,{cartButtonStyles:c}=s||{},u=(null==t?void 0:t.style)||c;if(!o||!a)throw new ar(rr.MissingPaymentMethod);if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');yield this.paymentIntegrationService.loadDefaultCheckout(),this.onError=(null==t?void 0:t.onError)||this.handleError,this.braintreeSdk.initialize(o);try{const e=yield this.braintreeSdk.getVenmoCheckoutOrThrow();this.renderVenmoButton(e,n,null==t?void 0:t.buyNowInitializeOptions,u)}catch(e){(function(e){return"object"==typeof e&&null!==e&&"name"in e&&"BraintreeError"===e.name}(e)||function(e){return e instanceof Fr}(e))&&this.handleInitializationVenmoError(e,n)}})}deinitialize(){return bo(this,void 0,void 0,function*(){return yield this.braintreeSdk.deinitialize(),Promise.resolve()})}handleError(e){throw new Error(e.message)}createBuyNowCart(e){return bo(this,void 0,void 0,function*(){if("function"==typeof(null==e?void 0:e.getBuyNowCartRequestBody)){const t=null==e?void 0:e.getBuyNowCartRequestBody();if(!t)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(t)}catch(e){throw new Cr}}})}handleInitializationVenmoError(e,t){return this.removeVenmoContainer(t),this.onError(e)}removeVenmoContainer(e){const t=document.getElementById(e);t&&t.remove()}renderVenmoButton(e,t,n,r){const i=document.getElementById(t),{color:o}=r||{};if(!i)throw new wr("Unable to create wallet button without valid container ID.");i.setAttribute("aria-label","Venmo"),Object.assign(i.style,So(r||{})),i.addEventListener("click",()=>bo(this,void 0,void 0,function*(){i.setAttribute("disabled","true");const t=yield this.createBuyNowCart(n);e.tokenize&&e.tokenize((e,n)=>bo(this,void 0,void 0,function*(){i.removeAttribute("disabled"),e&&this.onError(e),yield this.handlePostForm(n,null==t?void 0:t.id)}))})),o===Xi.BLUE&&(i.addEventListener("mouseenter",()=>{i.style.backgroundColor="#0a7fc2"}),i.addEventListener("mouseleave",()=>{i.style.backgroundColor=So(r||{}).backgroundColor}))}handlePostForm(e,t){return bo(this,void 0,void 0,function*(){const{deviceData:n}=yield this.braintreeSdk.getDataCollectorOrThrow(),{nonce:r,details:i}=e;this.formPoster.postForm("/checkout.php",Object.assign({nonce:r,provider:"braintreevenmo",payment_type:"paypal",device_data:n,action:"set_external_checkout",billing_address:JSON.stringify(vo(i)),shipping_address:JSON.stringify(_o(i))},t&&{cart_id:t}))})}}const Co=Sr(e=>{const t=window,n=(0,or.vQ)(),r=new zr(e),o=new ni(n,t,r),a=new Qr(o);return new wo(e,(0,i.createFormPoster)(),a)},[{id:"braintreevenmo"}]);var Io;!function(e){e.ADYEN_V2="googlepayadyenv2",e.ADYEN_V3="googlepayadyenv3",e.AUTHORIZE_NET="googlepayauthorizenet",e.BNZ="googlepaybnz",e.BRAINTREE="googlepaybraintree",e.PAYPAL_COMMERCE="googlepaypaypalcommerce",e.BIGCOMMERCE_PAYMENTS="googlepay_bigcommerce_payments",e.CHECKOUT_COM="googlepaycheckoutcom",e.CYBERSOURCE_V2="googlepaycybersourcev2",e.ORBITAL="googlepayorbital",e.STRIPE="googlepaystripe",e.STRIPE_UPE="googlepaystripeupe",e.STRIPE_OCS="googlepaystripeocs",e.WORLDPAY_ACCESS="googlepayworldpayaccess",e.TD_ONLINE_MART="googlepaytdonlinemart"}(Io||(Io={}));const Eo=function(e,t,n){return t&&n?Po(0,t,n):function(e){const t=class extends e{};return Object.getOwnPropertyNames(e.prototype).forEach(n=>{const r=Object.getOwnPropertyDescriptor(e.prototype,n);r&&"constructor"!==n&&Object.defineProperty(t.prototype,n,Po(e.prototype,n,r))}),t}(e)};function Po(e,t,n){if("function"!=typeof n.value)return n;let r=n.value;return{get(){const e=r.bind(this);return Object.defineProperty(this,t,Object.assign(Object.assign({},n),{value:e})),e},set(e){r=e}}}class Oo{constructor(e){if(!e)throw new Error("Currency settings missing");const{decimalPlaces:t,symbolLocation:n,symbol:r,thousandsSeparator:i,decimalSeparator:o}=e;if("string"!=typeof n||"string"!=typeof r||"string"!=typeof i||"string"!=typeof o||"string"!=typeof t)throw new wr("Invalid currency settings provided");this._decimalPlaces=parseInt(t,10),this._symbolLocation=n,this._symbol=r,this._thousandsSeparator=i,this._decimalSeparator=o}format(e){if("number"!=typeof e)throw new wr("Invalid amount provided");const t=this._formatNumber(e),n=this._formatCurrency(t);return e<0?`-${n}`:n}_formatNumber(e){const t=Math.abs(e),[n,r=""]=this._toFixed(t,this._decimalPlaces).split("."),i=n.replace(/\B(?=(\d{3})+(?!\d))/g,this._thousandsSeparator);return this._decimalPlaces<1?i:[i,r].join(this._decimalSeparator)}_formatCurrency(e){return"left"===this._symbolLocation.toLowerCase()?`${this._symbol}${e}`:`${e}${this._symbol}`}_toFixed(e,t){return(+`${Math.round(+`${e}e${t}`)}e${-t}`).toFixed(t)}}let Ao=class{constructor(e){this._storeConfig=e,this._customerFormatter=new Oo(this._storeConfig.shopperCurrency),this._storeFormatter=new Oo(this._storeConfig.currency)}toCustomerCurrency(e){const t=this._storeConfig.shopperCurrency.exchangeRate;return this._customerFormatter.format(e*t)}toStoreCurrency(e){return this._storeFormatter.format(e)}};Ao=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([Eo],Ao);const To=Ao;function ko(){if("undefined"==typeof window)return!1;if(function(e){return"ReactNativeWebView"in e}(window))return!0;const e=navigator.userAgent||navigator.vendor||(function(e){return"opera"in e}(window)?window.opera:""),t=/android.+; wv/i.test(e),n=/iPhone|iPod|iPad/i.test(e)&&/AppleWebKit/i.test(e)&&!/Safari/i.test(e);return t||n}var Ro,Mo,xo,No,Do,jo,Lo,zo,Fo;function Bo(e){return e in jo}!function(e){e.AUTHORIZE="authorize",e.CAPTURE="capture"}(Ro||(Ro={})),function(e){e.paypal="paypal",e.checkout="checkout",e.buynow="buynow",e.pay="pay",e.installment="installment"}(Mo||(Mo={})),function(e){e.gold="gold",e.blue="blue",e.silver="silver",e.black="black",e.white="white"}(xo||(xo={})),function(e){e.pill="pill",e.rect="rect"}(No||(No={})),function(e){e.ESTIMATED="ESTIMATED",e.FINAL="FINAL",e.NOT_CURRENTLY_KNOWN="NOT_CURRENTLY_KNOWN"}(Do||(Do={})),function(e){e.AMEX="AMEX",e.DISCOVER="DISCOVER",e.INTERAC="INTERAC",e.JCB="JCB",e.MC="MASTERCARD",e.VISA="VISA"}(jo||(jo={})),function(e){e.OFFER="OFFER",e.PAYMENT_AUTHORIZATION="PAYMENT_AUTHORIZATION",e.SHIPPING_ADDRESS="SHIPPING_ADDRESS",e.SHIPPING_OPTION="SHIPPING_OPTION"}(Lo||(Lo={})),function(e){e.OFFER_INVALID="OFFER_INVALID",e.PAYMENT_DATA_INVALID="PAYMENT_DATA_INVALID",e.SHIPPING_ADDRESS_INVALID="SHIPPING_ADDRESS_INVALID",e.SHIPPING_ADDRESS_UNSERVICEABLE="SHIPPING_ADDRESS_UNSERVICEABLE",e.SHIPPING_OPTION_INVALID="SHIPPING_OPTION_INVALID",e.OTHER_ERROR="OTHER_ERROR"}(zo||(zo={})),function(e){e.INITIALIZE="INITIALIZE",e.SHIPPING_OPTION="SHIPPING_OPTION",e.SHIPPING_ADDRESS="SHIPPING_ADDRESS",e.OFFER="OFFER"}(Fo||(Fo={}));var Uo=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class qo{constructor(e,t){this._gatewayIdentifier=e,this._paymentIntegrationService=t,this._isBuyNowFlow=!1,this._shouldRequestShipping=!0,this._isWebViewExperimentOn=null}mapToShippingAddressRequestBody({shippingAddress:e}){if(!e)return;const{company:t="",phone:n=""}=this._paymentIntegrationService.getState().getShippingAddress()||{};return this._mapToAddressRequestBody(e,t,n)}mapToBillingAddressRequestBody(e){const{billingAddress:t}=e.paymentMethodData.info;if(!t)return;const{company:n="",phone:r="",email:i,customFields:o=[]}=this._paymentIntegrationService.getState().getBillingAddress()||{};return Object.assign(Object.assign({},this._mapToAddressRequestBody(t,n,r,o)),{email:i||e.email})}mapToExternalCheckoutData(e){var t;const{paymentMethodData:{tokenizationData:{token:n},info:{cardNetwork:r,cardDetails:i}}}=e;if(!n)throw new ar(rr.MissingPaymentToken);return Promise.resolve(Object.assign({nonce:n,card_information:{type:r,number:i}},this._isBuyNowFlow&&{cart_id:null===(t=this._paymentIntegrationService.getState().getCart())||void 0===t?void 0:t.id}))}getRequiredData(){var e;return Uo(this,void 0,void 0,function*(){const t={emailRequired:!0};if(!this._isShippingAddressRequired())return t;const n=yield this._paymentIntegrationService.loadShippingCountries(),r=null===(e=n.getShippingCountries())||void 0===e?void 0:e.map(e=>e.code);return Object.assign(Object.assign({},t),{shippingAddressRequired:!0,shippingAddressParameters:Object.assign({phoneNumberRequired:!0},r&&{allowedCountryCodes:r}),shippingOptionRequired:!0})})}getCallbackIntents(){return this._isShippingAddressRequired()?[Lo.OFFER,Lo.SHIPPING_ADDRESS,Lo.SHIPPING_OPTION]:[Lo.OFFER]}getCallbackTriggers(){return{availableTriggers:[Fo.INITIALIZE,Fo.SHIPPING_ADDRESS,Fo.SHIPPING_OPTION,Fo.OFFER],initializationTrigger:[Fo.INITIALIZE],addressChangeTriggers:[Fo.INITIALIZE,Fo.SHIPPING_ADDRESS],shippingOptionsChangeTriggers:[Fo.SHIPPING_OPTION],offerChangeTriggers:[Fo.OFFER]}}getNonce(e){var t;const n=null===(t=this._paymentIntegrationService.getState().getPaymentMethodOrThrow(e).initializationData)||void 0===t?void 0:t.nonce;if(!n)throw new ar(rr.MissingPaymentToken);return Promise.resolve(n)}extraPaymentData(){return Promise.resolve(void 0)}getMerchantInfo(){const{googleMerchantName:e,googleMerchantId:t,platformToken:n}=this.getGooglePayInitializationData();return{merchantName:e,merchantId:t,authJwt:n}}getTransactionInfo(){let e;const{getCartOrThrow:t}=this._paymentIntegrationService.getState();e=this._isBuyNowFlow?this._getCurrencyCodeOrThrow():t().currency.code;const n=this.getGooglePayInitializationData().storeCountry;if(this.isWebViewWithRestrictions()){const t=this.getTotalPrice();return Object.assign(Object.assign({},n&&{countryCode:n}),{currencyCode:e,totalPrice:t,totalPriceStatus:Do.ESTIMATED})}return Object.assign(Object.assign({},n&&{countryCode:n}),{currencyCode:e,totalPriceStatus:Do.ESTIMATED,totalPrice:"0"})}isWebViewWithRestrictions(){return null!==this._isWebViewExperimentOn?this._isWebViewExperimentOn&&ko():ko()}setIsWebViewExperimentOn(e){this._isWebViewExperimentOn=e}getPaymentGatewayParameters(){const e=this.getGooglePayInitializationData().gatewayMerchantId;if(!e)throw new wr("Unable to proceed, gatewayMerchantId is missing.");return{gateway:this._gatewayIdentifier,gatewayMerchantId:e}}getCardParameters(){return{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:this.getPaymentMethod().supportedCards.filter(Bo).map(e=>jo[e]),billingAddressRequired:!0,billingAddressParameters:{format:"FULL",phoneNumberRequired:!0}}}initialize(e,t,n){return this._getPaymentMethodFn=e,this._isBuyNowFlow=Boolean(t),this._currencyCode=n,this._isBuyNowFlow&&this._getCurrencyCodeOrThrow(),Promise.resolve()}handleShippingAddressChange(e){var t,n,r,i;return Uo(this,void 0,void 0,function*(){e&&(e.name=e.name||"",e.address1=e.address1||"");const o=this.mapToShippingAddressRequestBody({shippingAddress:e});o&&(yield this._paymentIntegrationService.updateShippingAddress(o));const a=this._paymentIntegrationService.getState(),s=a.getConsignments();if(!(null==s?void 0:s[0]))return;const c=s[0],u=a.getStoreConfigOrThrow();this._currencyService||(this._currencyService=new To(u));const d=(c.availableShippingOptions||[]).map(this._getGooglePayShippingOption.bind(this)),l=null===(t=c.availableShippingOptions)||void 0===t?void 0:t.find(e=>e.isRecommended);if(d.length){const e=(null===(n=c.selectedShippingOption)||void 0===n?void 0:n.id)||(null==l?void 0:l.id)||(null===(r=d[0])||void 0===r?void 0:r.id);return!(null===(i=c.selectedShippingOption)||void 0===i?void 0:i.id)&&d[0]&&(yield this.handleShippingOptionChange((null==l?void 0:l.id)||d[0].id)),{defaultSelectedOptionId:e,shippingOptions:d}}})}handleShippingOptionChange(e){return Uo(this,void 0,void 0,function*(){if("shipping_option_unselected"!==e)return this._paymentIntegrationService.selectShippingOption(e)})}getTotalPrice(){const{getCheckoutOrThrow:e,getCartOrThrow:t,getStoreConfigOrThrow:n}=this._paymentIntegrationService.getState(),{decimalPlaces:r}=t().currency,i=Nr(n().checkoutSettings.features,"PI-5075.google_pay_round_total_price_to_max_2_decimal_places")?Math.min(r,2):r;return(0,f.round)(e().outstandingBalance,i).toFixed(i)}handleCoupons(e){return Uo(this,void 0,void 0,function*(){const{redemptionCodes:t=[]}=e,{offers:n}=this.getAppliedCoupons()||{};let r;return yield t.reduce((e,t)=>Uo(this,void 0,void 0,function*(){if(yield e,(n||[]).some(({redemptionCode:e})=>e===t))return;const i=yield this.applyCoupon(t);i&&(r=i)}),Promise.resolve()),yield(n||[]).reduce((e,n)=>Uo(this,void 0,void 0,function*(){yield e,t.includes(n.redemptionCode)||(yield this._paymentIntegrationService.removeCoupon(n.redemptionCode))}),Promise.resolve()),{newOfferInfo:this.getAppliedCoupons(),error:r}})}getAppliedCoupons(){const e=this._paymentIntegrationService.getState(),{coupons:t}=e.getCheckout()||{};return{offers:(t||[]).map(e=>{const{displayName:t,code:n}=e;return{redemptionCode:n,description:t}})}}applyCoupon(e){return Uo(this,void 0,void 0,function*(){let t;try{yield this._paymentIntegrationService.applyCoupon(e)}catch(e){return e instanceof Error&&(t={reason:zo.OFFER_INVALID,message:e.message,intent:Fo.OFFER}),t}})}setShouldRequestShipping(e){this._shouldRequestShipping=e}getGooglePayInitializationData(){return cr(this.getPaymentMethod().initializationData,()=>new wr("Missing initialization data."))}getPaymentMethod(){return cr(this._getPaymentMethodFn,()=>new ur(ir.PaymentNotInitialized))()}getGatewayIdentifier(){return this._gatewayIdentifier}setGatewayIdentifier(e){this._gatewayIdentifier=e||this.getGatewayIdentifier()}_isShippingAddressRequired(){const{getCartOrThrow:e,getStoreConfigOrThrow:t,getShippingAddress:n}=this._paymentIntegrationService.getState(),r=t();let i;return i=Nr(r.checkoutSettings.features,"PI-4290.google_pay_require_shipping_address")?this._shouldRequestShipping:void 0===n(),i&&(o=e(),a=r,!!o&&(!!o.lineItems.physicalItems.some(e=>e.isShippingRequired)||!(!a||!o.lineItems.customItems)&&o.lineItems.customItems.length>0));var o,a}_mapToAddressRequestBody(e,t,n,r){const{name:i,address1:o,address2:a,address3:s,locality:c,administrativeArea:u,countryCode:d,postalCode:l,phoneNumber:p}=e,[h,f]=this._getFirstAndLastName(i);return{firstName:h,lastName:f,company:t,address1:o,address2:`${a} ${s}`.trim(),city:c||u,stateOrProvince:u,stateOrProvinceCode:u,countryCode:d,postalCode:l,phone:p||n,customFields:r||[]}}_getFirstAndLastName(e){const t=e.split(" ");return 1===t.length?[e,""]:[t.slice(0,-1).join(" "),t[t.length-1]]}_getCurrencyCodeOrThrow(){return cr(this._currencyCode,()=>new wr('Unable to initialize payment because "options.currencyCode" argument is not provided.'))}_getGooglePayShippingOption({id:e,cost:t,description:n,additionalDescription:r}){var i;return{id:e,label:`${(null===(i=this._currencyService)||void 0===i?void 0:i.toCustomerCurrency(t))||t} ${n}`,description:r}}}var Vo=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Go extends qo{constructor(e,t){super("braintree",e),this._braintreeSdk=t,this._methodId=Io.BRAINTREE,this._service=e}initialize(e,t,n){const r=Object.create(null,{initialize:{get:()=>super.initialize},getPaymentMethod:{get:()=>super.getPaymentMethod}});return Vo(this,void 0,void 0,function*(){yield r.initialize.call(this,e,t,n);let i=r.getPaymentMethod.call(this);if(i.clientToken||(i=(yield this._service.loadPaymentMethod(this._methodId)).getPaymentMethodOrThrow(this._methodId)),!i.clientToken||!i.initializationData)throw new ar(rr.MissingPaymentMethod);return this._braintreeSdk.initialize(i.clientToken),this._braintreeGooglePayment=yield this._braintreeSdk.getBraintreeGooglePayment(),Promise.resolve()})}getNonce(e){const t=Object.create(null,{getNonce:{get:()=>super.getNonce},getPaymentMethod:{get:()=>super.getPaymentMethod}});var n;return Vo(this,void 0,void 0,function*(){const r=yield t.getNonce.call(this,e),{clientToken:i,initializationData:o}=t.getPaymentMethod.call(this);if(!i||!o||!(null===(n=o.card_information)||void 0===n?void 0:n.bin))throw new ar(rr.MissingPaymentMethod);const{isThreeDSecureEnabled:a,card_information:{bin:s,isNetworkTokenized:c}}=o;if(a&&!c){const e=yield this._braintreeSdk.getBraintreeThreeDS(),{orderAmount:t}=this._service.getState().getOrderOrThrow();return(yield this._braintreePresent3DSChallenge(e,t,r,s)).nonce}return r})}extraPaymentData(){return Vo(this,void 0,void 0,function*(){return{deviceSessionId:yield this._getBraintreeDeviceData()}})}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return Vo(this,void 0,void 0,function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);let r;try{r=JSON.parse(n.nonce)}catch(e){throw new wr("Unable to parse response from Google Pay.")}return function(e){if(!function(e){return"object"==typeof e&&null!==e&&"androidPayCards"in e}(e))throw new ar(rr.MissingPaymentToken)}(r),n.nonce=r.androidPayCards[0].nonce,n.card_information.bin=r.androidPayCards[0].details.bin,n.card_information.isNetworkTokenized=r.androidPayCards[0].details.isNetworkTokenized,n})}getCardParameters(){return super.getCardParameters()}getPaymentGatewayParameters(){const e=Object.create(null,{getMerchantInfo:{get:()=>super.getMerchantInfo},getTransactionInfo:{get:()=>super.getTransactionInfo},getRequiredData:{get:()=>super.getRequiredData}});return Vo(this,void 0,void 0,function*(){return this.getBraintreeGooglePayment().createPaymentDataRequest(Object.assign({merchantInfo:e.getMerchantInfo.call(this),transactionInfo:e.getTransactionInfo.call(this),cardRequirements:{billingAddressRequired:!0,billingAddressFormat:"FULL"}},yield e.getRequiredData.call(this))).paymentMethodTokenizationParameters.parameters})}getBraintreeGooglePayment(){if(!this._braintreeGooglePayment)throw new ar(rr.MissingPaymentMethod);return this._braintreeGooglePayment}_getBraintreeDeviceData(){return Vo(this,void 0,void 0,function*(){const{deviceData:e}=yield this._braintreeSdk.getDataCollectorOrThrow();return e})}_braintreePresent3DSChallenge(e,t,n,r){return new $i(e.verifyCard({amount:t,bin:r,nonce:n,onLookupComplete:(e,t)=>{t()}})).promise}}class Ho extends a{constructor(e){super(e||"Unable to proceed because the client library of a payment method has thrown an unexpected error."),this.name="PaymentMethodFailedError",this.type="payment_method_client_invalid"}}var Yo=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Wo{constructor(e,t){this._paymentIntegrationService=e,this._googlePayPaymentProcessor=t}initialize(e){var t,n,r;return Yo(this,void 0,void 0,function*(){if(!e.methodId||(i=e.methodId,!Object.values(Io).includes(i)))throw new wr('Unable to proceed because "methodId" is not a valid key.');var i;if(this._methodId=e.methodId,!e.containerId)throw new wr('Unable to proceed because "containerId" is not a valid key.');const o=e[this._getMethodOrThrow()];if(!o)throw new wr("Unable to proceed without valid options.");const{buyNowInitializeOptions:a,currencyCode:s,buttonColor:c,buttonType:u,onError:d}=o;let l,p=this._paymentIntegrationService.getState();try{l=p.getPaymentMethodOrThrow(this._getMethodOrThrow())}catch(e){p=yield this._paymentIntegrationService.loadPaymentMethod(this._getMethodOrThrow()),l=p.getPaymentMethodOrThrow(this._getMethodOrThrow())}if(this._countryCode=null===(t=l.initializationData)||void 0===t?void 0:t.storeCountry,this._googlePayPaymentProcessor.setIsWebViewExperimentOn(!!(null===(n=l.initializationData)||void 0===n?void 0:n.isWebViewExperimentOn)),a){if(!s)throw new wr('Unable to initialize payment because "options.currencyCode" argument is not provided.');this._currencyCode=s,this._buyNowInitializeOptions=a,yield this._googlePayPaymentProcessor.initialize(()=>l,this._getGooglePayClientOptions(),!!a,s)}else yield this._paymentIntegrationService.loadDefaultCheckout(),yield this._googlePayPaymentProcessor.initialize(()=>l,this._getGooglePayClientOptions());this._paymentButton=null!==(r=this._paymentButton)&&void 0!==r?r:this._googlePayPaymentProcessor.addPaymentButton(e.containerId,{buttonColor:null!=c?c:"default",buttonType:null!=u?u:"plain",onClick:this._handleClick(d)})})}deinitialize(){var e;return null===(e=this._paymentButton)||void 0===e||e.remove(),this._paymentButton=void 0,this._methodId=void 0,Promise.resolve()}_handleClick(e){return t=>Yo(this,void 0,void 0,function*(){t.preventDefault();try{this._buyNowInitializeOptions?yield this._createBuyNowCartOrThrow(this._buyNowInitializeOptions):yield this._paymentIntegrationService.loadDefaultCheckout(),yield this._googlePayPaymentProcessor.initializeWidget(),yield this._interactWithPaymentSheet()}catch(t){let n=t;if(function(e){return"object"==typeof e&&null!==e&&"statusCode"in e}(t)){if("CANCELED"===t.statusCode)throw new ri;n=new Ho(JSON.stringify(t))}throw null==e||e(new Ho("An error occurred while requesting your Google Pay payment details.")),n}})}_interactWithPaymentSheet(){var e;return Yo(this,void 0,void 0,function*(){const t=yield this._googlePayPaymentProcessor.showPaymentSheet(),n=this._googlePayPaymentProcessor.mapToBillingAddressRequestBody(t),r=this._googlePayPaymentProcessor.mapToShippingAddressRequestBody(t),i="/embedded-checkout"===window.location.pathname?this._paymentIntegrationService.getState().getStoreConfigOrThrow().links.siteLink:void 0;n&&(yield this._paymentIntegrationService.updateBillingAddress(n)),r&&!(null===(e=this._buyNowCart)||void 0===e?void 0:e.lineItems.digitalItems.length)&&(yield this._paymentIntegrationService.updateShippingAddress(r)),yield this._googlePayPaymentProcessor.setExternalCheckoutForm(this._getMethodOrThrow(),t,i)})}_getGooglePayClientOptions(){return this._googlePayPaymentProcessor.isWebViewWithRestrictions()?{}:{paymentDataCallbacks:{onPaymentDataChanged:({callbackTrigger:e,shippingAddress:t,shippingOptionData:n,offerData:r})=>Yo(this,void 0,void 0,function*(){const{availableTriggers:i,addressChangeTriggers:o,shippingOptionsChangeTriggers:a,offerChangeTriggers:s}=this._googlePayPaymentProcessor.getCallbackTriggers();if(!i.includes(e))return;const c=o.includes(e)?yield this._googlePayPaymentProcessor.handleShippingAddressChange(t):void 0;a.includes(e)&&(yield this._googlePayPaymentProcessor.handleShippingOptionChange(n.id));const{newOfferInfo:u,error:d}=s.includes(e)?yield this._googlePayPaymentProcessor.handleCoupons(r):{},l=d;return this._buyNowInitializeOptions?this._getBuyNowTransactionInfo(c,u,l):this._getTransactionInfo(c,u,l)})}}}_createBuyNowCartOrThrow(e){return Yo(this,void 0,void 0,function*(){if("function"==typeof(null==e?void 0:e.getBuyNowCartRequestBody)){const t=e.getBuyNowCartRequestBody();try{this._buyNowCart=yield this._paymentIntegrationService.createBuyNowCart(t),yield this._paymentIntegrationService.loadCheckout(this._buyNowCart.id)}catch(e){if("string"==typeof e)throw new Cr(e);throw e}}})}_getBuyNowTransactionInfo(e,t,n){if(!this._buyNowCart)return;const{cartAmount:r}=this._buyNowCart,i=this._googlePayPaymentProcessor.getTotalPrice();return Object.assign(Object.assign(Object.assign({newTransactionInfo:Object.assign(Object.assign({},this._countryCode&&{countryCode:this._countryCode}),{currencyCode:this._getCurrencyCodeOrThrow(),totalPrice:i||String(r),totalPriceStatus:Do.FINAL})},e&&{newShippingOptionParameters:e}),t&&{newOfferInfo:t}),n&&{error:n})}_getTransactionInfo(e,t,n){return Yo(this,void 0,void 0,function*(){yield this._paymentIntegrationService.loadCheckout();const r=this._googlePayPaymentProcessor.getTotalPrice(),{code:i}=this._paymentIntegrationService.getState().getCartOrThrow().currency;return Object.assign(Object.assign(Object.assign({newTransactionInfo:Object.assign(Object.assign({},this._countryCode&&{countryCode:this._countryCode}),{currencyCode:i,totalPriceStatus:Do.FINAL,totalPrice:r})},e&&{newShippingOptionParameters:e}),t&&{newOfferInfo:t}),n&&{error:n})})}_getMethodOrThrow(){return cr(this._methodId,()=>new ur(ir.PaymentNotInitialized))}_getCurrencyCodeOrThrow(){return cr(this._currencyCode,()=>new wr('Unable to initialize payment because "options.currencyCode" argument is not provided.'))}}var $o=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ko{constructor(e,t,n,r){this._scriptLoader=e,this._gateway=t,this._requestSender=n,this._formPoster=r,this._baseRequest={apiVersion:2,apiVersionMinor:0}}initialize(e,t,n,r){return $o(this,void 0,void 0,function*(){this._paymentsClient=yield this._scriptLoader.getGooglePaymentsClient(e().config.testMode,t),yield this._gateway.initialize(e,n,r),this._buildButtonPayloads()})}initializeWidget(){return $o(this,void 0,void 0,function*(){yield this._buildWidgetPayloads(),yield this._determineReadinessToPay(),this._prefetchGooglePaymentData()})}getNonce(e){return this._gateway.getNonce(e)}extraPaymentData(){return $o(this,void 0,void 0,function*(){return this._gateway.extraPaymentData()})}addPaymentButton(e,t){const n=document.querySelector(`#${e}`);if(!n)return;const r=this._getPaymentsClient().createButton(Object.assign(Object.assign({},t),{allowedPaymentMethods:[this._getBaseCardPaymentMethod()]}));return n.appendChild(r)}showPaymentSheet(){return $o(this,void 0,void 0,function*(){const e=this._getPaymentDataRequest();return this._getPaymentsClient().loadPaymentData(e)})}setExternalCheckoutXhr(e,t){return $o(this,void 0,void 0,function*(){return this._setExternalCheckout(e,t)})}setExternalCheckoutForm(e,t,n){return $o(this,void 0,void 0,function*(){return this._setExternalCheckout(e,t,!0,n)})}mapToBillingAddressRequestBody(e){return this._gateway.mapToBillingAddressRequestBody(e)}mapToShippingAddressRequestBody(e){return this._gateway.mapToShippingAddressRequestBody(e)}processAdditionalAction(e,t){return"processAdditionalAction"in this._gateway?this._gateway.processAdditionalAction(e,t):Promise.reject(e)}signOut(e){return $o(this,void 0,void 0,function*(){yield this._requestSender.get(`/remote-checkout/${e}/signout`)})}getCallbackTriggers(){return this._gateway.getCallbackTriggers()}setShouldRequestShipping(e){return this._gateway.setShouldRequestShipping(e)}handleShippingAddressChange(e){return $o(this,void 0,void 0,function*(){return this._gateway.handleShippingAddressChange(e)})}handleShippingOptionChange(e){return $o(this,void 0,void 0,function*(){yield this._gateway.handleShippingOptionChange(e)})}handleCoupons(e){return $o(this,void 0,void 0,function*(){return this._gateway.handleCoupons(e)})}getTotalPrice(){return this._gateway.getTotalPrice()}_setExternalCheckout(e,t,n=!1,r){return $o(this,void 0,void 0,function*(){const i="/checkout.php",o=Object.assign({action:"set_external_checkout",provider:e},yield this._gateway.mapToExternalCheckoutData(t));if(n)return new Promise(e=>{this._formPoster.postForm(r?`${r}/checkout`:i,Object.assign(Object.assign({},o),{card_information:JSON.stringify(o.card_information)}),e)});yield this._requestSender.post(i,{headers:Object.assign({Accept:"text/html","Content-Type":"application/x-www-form-urlencoded"},Rr),body:o})})}isWebViewWithRestrictions(){return this._gateway.isWebViewWithRestrictions()}setIsWebViewExperimentOn(e){return this._gateway.setIsWebViewExperimentOn(e)}_prefetchGooglePaymentData(){const e=this._getPaymentDataRequest();e.transactionInfo=this._gateway.getTransactionInfo(),this._getPaymentsClient().prefetchPaymentData(e)}_determineReadinessToPay(){return $o(this,void 0,void 0,function*(){try{const{result:e}=yield this._getPaymentsClient().isReadyToPay(this._getIsReadyToPayRequest());if(!1===e)throw new Ho("Google Pay is not supported by the current device and browser, please try another payment method.")}catch(e){if(e instanceof Ho)throw e;throw new Ho}})}_buildButtonPayloads(){this._baseCardPaymentMethod={type:"CARD",parameters:this._gateway.getCardParameters()}}_buildWidgetPayloads(){return $o(this,void 0,void 0,function*(){const e=this._getBaseCardPaymentMethod();this._cardPaymentMethod=Object.assign(Object.assign({},e),{tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:yield this._gateway.getPaymentGatewayParameters()}});const t=this._gateway.isWebViewWithRestrictions()?{shippingOptionRequired:!1}:{callbackIntents:this._gateway.getCallbackIntents(),offerInfo:this._gateway.getAppliedCoupons()};this._paymentDataRequest=Object.assign(Object.assign(Object.assign(Object.assign({},this._baseRequest),{allowedPaymentMethods:[this._cardPaymentMethod],transactionInfo:this._gateway.getTransactionInfo(),merchantInfo:this._gateway.getMerchantInfo()}),yield this._gateway.getRequiredData()),t),this._isReadyToPayRequest=Object.assign(Object.assign({},this._baseRequest),{allowedPaymentMethods:[e]})})}_getBaseCardPaymentMethod(){return this._getOrThrow(this._baseCardPaymentMethod)}_getPaymentDataRequest(){return this._getOrThrow(this._paymentDataRequest)}_getIsReadyToPayRequest(){return this._getOrThrow(this._isReadyToPayRequest)}_getPaymentsClient(){return this._getOrThrow(this._paymentsClient)}_getOrThrow(e){return cr(e,()=>new ur(ir.PaymentNotInitialized))}}class Zo{constructor(e){this._scriptLoader=e,this._window=window}getGooglePaymentsClient(e=!1,t){return n=this,r=void 0,o=function*(){if(yield this._scriptLoader.loadScript("https://pay.google.com/gp/p/js/pay.js"),!this._window.google)throw new _r;return void 0===this._paymentsClient&&(this._paymentsClient=new this._window.google.payments.api.PaymentsClient(Object.assign({environment:e?"TEST":"PRODUCTION"},null!=t?t:{}))),this._paymentsClient},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}}function Jo(){return new Zo((0,or.vQ)())}const Qo=Sr(e=>{const n=(0,t.createRequestSender)(),r=window,o=new zr(e),a=new Qr(new ni((0,or.vQ)(),r,o));return new Wo(e,new Ko(Jo(),new Go(e,a),n,(0,i.createFormPoster)()))},[{id:"googlepaybraintree"}]),Xo=["ar_BH","ar_DZ","ar_EG","ar_JO","ar_KW","ar_MA","ar_OM","ar_QA","ar_SA","ar_TN","ar_YE","ar_AE","bg_BG","cs_CZ","da_DK","da_FO","da_GL","de_AT","de_CH","de_DE","de_LU","el_GR","en_AD","en_AE","en_AG","en_AI","en_AL","en_AM","en_AN","en_AO","en_AT","en_AU","en_AW","en_AZ","en_BB","en_BE","en_BH","en_BJ","en_BM","en_BN","en_BS","en_BT","en_BW","en_BY","en_BZ","en_C2","en_CA","en_CD","en_CG","en_CH","en_CI","en_CK","en_CL","en_CM","en_CN","en_CO","en_CR","en_CV","en_CY","en_CZ","en_DE","en_DJ","en_DK","en_DM","en_DO","en_DZ","en_EC","en_EE","en_EG","en_ER","en_ES","en_ET","en_FI","en_FJ","en_FK","en_FM","en_FO","en_FR","en_GA","en_GB","en_GD","en_GE","en_GF","en_GI","en_GL","en_GM","en_GN","en_GP","en_GR","en_GT","en_GW","en_GY","en_HK","en_HN","en_HR","en_HU","en_ID","en_IE","en_IL","en_IN","en_IS","en_IT","en_JM","en_JO","en_JP","en_KE","en_KG","en_KH","en_KI","en_KM","en_KN","en_KR","en_KW","en_KY","en_KZ","en_LA","en_LC","en_LI","en_LK","en_LS","en_LT","en_LU","en_LV","en_MA","en_MC","en_MD","en_ME","en_MG","en_MH","en_MK","en_ML","en_MN","en_MQ","en_MR","en_MS","en_MT","en_MU","en_MV","en_MW","en_MY","en_MZ","en_NA","en_NC","en_NE","en_NF","en_NG","en_NI","en_NL","en_NO","en_NP","en_NR","en_NU","en_NZ","en_OM","en_PA","en_PE","en_PF","en_PG","en_PH","en_PL","en_PM","en_PN","en_PT","en_PW","en_PY","en_QA","en_RE","en_RO","en_RS","en_RU","en_RW","en_SA","en_SB","en_SC","en_SE","en_SG","en_SH","en_SI","en_SJ","en_SK","en_SL","en_SM","en_SN","en_SO","en_SR","en_ST","en_SV","en_SZ","en_TC","en_TD","en_TG","en_TH","en_TJ","en_TM","en_TN","en_TO","en_TR","en_TT","en_TV","en_TW","en_TZ","en_UA","en_UG","en_US","en_UY","en_VA","en_VC","en_VE","en_VG","en_VN","en_VU","en_WF","en_WS","en_YE","en_YT","en_ZA","en_ZM","en_ZW","es_AD","es_AI","es_AO","es_AR","es_AW","es_BB","es_BJ","es_BM","es_BO","es_BS","es_BZ","es_CD","es_CG","es_CK","es_CL","es_CO","es_CR","es_CV","es_DJ","es_DM","es_DO","es_DZ","es_EC","es_EG","es_ER","es_ES","es_ET","es_FJ","es_FK","es_FO","es_GA","es_GD","es_GE","es_GI","es_GL","es_GM","es_GN","es_GT","es_GW","es_GY","es_HN","es_IE","es_JM","es_JO","es_KE","es_KG","es_KI","es_KM","es_KN","es_KW","es_KY","es_KZ","es_LC","es_LI","es_LS","es_LU","es_MA","es_MG","es_MH","es_ML","es_MR","es_MS","es_MU","es_MW","es_MX","es_MZ","es_NA","es_NC","es_NE","es_NF","es_NI","es_NR","es_NU","es_NZ","es_OM","es_PA","es_PE","es_PF","es_PG","es_PM","es_PN","es_PW","es_PY","es_QA","es_RS","es_RW","es_SA","es_SB","es_SC","es_SH","es_SJ","es_SL","es_SM","es_SN","es_SO","es_SR","es_ST","es_SV","es_SZ","es_TC","es_TD","es_TG","es_TJ","es_TM","es_TN","es_TT","es_TV","es_UA","es_UG","es_US","es_UY","es_VA","es_VC","es_VE","es_VG","es_VU","es_WF","es_YE","es_ZM","et_EE","fi_FI","fr_AD","fr_AE","fr_AI","fr_AM","fr_AO","fr_AW","fr_AZ","fr_BB","fr_BE","fr_BF","fr_BI","fr_BJ","fr_BM","fr_BS","fr_BZ","fr_CA","fr_CD","fr_CG","fr_CH","fr_CI","fr_CK","fr_CM","fr_CV","fr_DJ","fr_DM","fr_DO","fr_DZ","fr_EC","fr_ER","fr_ET","fr_FJ","fr_FK","fr_FO","fr_FR","fr_GA","fr_GD","fr_GE","fr_GF","fr_GI","fr_GL","fr_GM","fr_GN","fr_GP","fr_GT","fr_GW","fr_GY","fr_HN","fr_IE","fr_JM","fr_JO","fr_KE","fr_KG","fr_KI","fr_KM","fr_KN","fr_KW","fr_KY","fr_KZ","fr_LC","fr_LI","fr_LS","fr_LU","fr_MA","fr_MC","fr_MG","fr_MH","fr_ML","fr_MQ","fr_MR","fr_MS","fr_MU","fr_MW","fr_MZ","fr_NA","fr_NC","fr_NE","fr_NF","fr_NI","fr_NR","fr_NU","fr_NZ","fr_OM","fr_PA","fr_PE","fr_PF","fr_PG","fr_PM","fr_PN","fr_PW","fr_QA","fr_RE","fr_RS","fr_RW","fr_SA","fr_SB","fr_SC","fr_SH","fr_SJ","fr_SL","fr_SM","fr_SN","fr_SO","fr_SR","fr_ST","fr_SV","fr_SZ","fr_TC","fr_TD","fr_TG","fr_TJ","fr_TM","fr_TN","fr_TT","fr_TV","fr_UA","fr_UG","fr_US","fr_UY","fr_VA","fr_VC","fr_VE","fr_VG","fr_VU","fr_WF","fr_YE","fr_YT","fr_ZA","fr_ZM","he_IL","hu_HU","id_ID","it_IT","ja_JP","ko_KR","lv_LV","lt_LT","ms_BN","ms_MY","nl_BE","nl_NL","pl_PL","pt_BR","pt_PT","ro_RO","ru_EE","ru_LT","ru_LV","ru_RU","ru_UA","si_LK","sk_SK","sl_SI","sq_AL","sv_SE","tl_PH","th_TH","tr_TR","vi_VN","zh_C2","zh_CN","zh_HK","zh_TW","zh_AD","zh_AE","zh_AI","zh_AO","zh_AW","zh_BB","zh_BH","zh_BJ","zh_BM","zh_BS","zh_BZ","zh_CD","zh_CG","zh_CK","zh_CL","zh_CO","zh_CV","zh_DJ","zh_DM","zh_DO","zh_DZ","zh_EC","zh_EG","zh_ER","zh_ET","zh_FJ","zh_FK","zh_FO","zh_GA","zh_GD","zh_GE","zh_GI","zh_GL","zh_GM","zh_GN","zh_GT","zh_GW","zh_GY","zh_HN","zh_IE","zh_JM","zh_JO","zh_KE","zh_KG","zh_KI","zh_KM","zh_KN","zh_KW","zh_KY","zh_KZ","zh_LC","zh_LI","zh_LS","zh_LT","zh_LU","zh_MA","zh_MG","zh_MH","zh_ML","zh_MR","zh_MS","zh_MU","zh_MW","zh_MZ","zh_NA","zh_NC","zh_NE","zh_NF","zh_NI","zh_NR","zh_NU","zh_NZ","zh_OM","zh_PA","zh_PE","zh_PF","zh_PG","zh_PM","zh_PN","zh_PW","zh_QA","zh_RS","zh_RW","zh_SA","zh_SB","zh_SC","zh_SH","zh_SJ","zh_SL","zh_SM","zh_SN","zh_SO","zh_SR","zh_ST","zh_SV","zh_SZ","zh_TC","zh_TD","zh_TG","zh_TJ","zh_TM","zh_TN","zh_TT","zh_TV","zh_UA","zh_UG","zh_US","zh_UY","zh_VA","zh_VC","zh_VE","zh_VG","zh_VU","zh_WF","zh_YE","zh_ZA","zh_ZM"];function ea(e){if(!e)return;let t;if(e.includes("-")){const[n,r]=e.split("-");t=`${n}_${r.toUpperCase()}`}else t=`${e}_${e.toUpperCase()}`;return Xo.includes(t)?t:void 0}var ta=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class na{constructor(e){this.scriptLoader=e,this.window=window}getPayPalFastlaneSdk(e,t,n,r){return ta(this,void 0,void 0,function*(){if(!this.window.paypalFastlaneSdk){const i=this.getPayPalFastlaneSdkConfiguration(e,t,n,r);if(yield this.loadPayPalSdk(i),!this.window.paypalFastlaneSdk)throw new _r}return this.window.paypalFastlaneSdk})}getPayPalGooglePaySdk(e,t,n,r,i){return ta(this,void 0,void 0,function*(){if(!this.window.paypalGooglePay||i){const i=this.getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n,r);yield this.loadPayPalSdk(i)}if(!this.window.paypalGooglePay)throw new _r;return this.window.paypalGooglePay})}getPayPalApmsSdk(e,t,n){return ta(this,void 0,void 0,function*(){if(!this.window.paypalApms){const r=this.getPayPalApmSdkConfiguration(e,t,n);if(yield this.loadPayPalSdk(r),!this.window.paypalApms)throw new _r}return this.window.paypalApms})}getPayPalMessages(e,t,n){return ta(this,void 0,void 0,function*(){if(!this.window.paypalMessages){const r=this.getPayPalSdkMessagesConfiguration(e,t,n);yield this.loadPayPalSdk(r)}if(!this.window.paypalMessages)throw new _r;return this.window.paypalMessages})}loadPayPalSdk({options:e,attributes:t}){return ta(this,void 0,void 0,function*(){const n=this.transformConfig(e),r=this.transformConfig(t),i=`https://www.paypal.com/sdk/js?${new URLSearchParams(n).toString()}`;yield this.scriptLoader.loadScript(i,{async:!0,attributes:r})})}getPayPalFastlaneSdkConfiguration(e,t,n,r){const{clientToken:i,initializationData:o}=e;if(!o||!o.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:a,clientId:s,merchantId:c,attributionId:u}=o,d=ea(r);return{options:Object.assign({"client-id":s,"merchant-id":c,commit:!0,components:["fastlane","buttons","payment-fields","hosted-fields","three-domain-secure"],currency:t,intent:a},d&&{locale:d}),attributes:{"data-client-metadata-id":n.replace(/-/g,""),"data-namespace":"paypalFastlaneSdk","data-partner-attribution-id":u,"data-sdk-client-token":i}}}getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n,r=!0){const{clientToken:i,initializationData:o}=e;if(!o||!o.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:a,clientId:s,merchantId:c,buyerCountry:u,attributionId:d,isHostedCheckoutEnabled:l,isDeveloperModeApplicable:p}=o,h=l||r,f=ea(n);return{options:Object.assign(Object.assign({"client-id":s,"merchant-id":c,commit:h,components:["googlepay"],currency:t,intent:a},p&&{"buyer-country":u}),f&&{locale:f}),attributes:{"data-partner-attribution-id":d,"data-client-token":i,"data-namespace":"paypalGooglePay"}}}getPayPalApmSdkConfiguration(e,t,n){const{initializationData:r}=e;if(!r||!r.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:i,clientId:o,merchantId:a,buyerCountry:s,attributionId:c,isDeveloperModeApplicable:u,availableAlternativePaymentMethods:d=[],enabledAlternativePaymentMethods:l=[]}=r,p=l,h=d.filter(e=>!l.includes(e)),f=ea(n);return{options:Object.assign(Object.assign({"client-id":o,"merchant-id":a,"enable-funding":p.length>0?p:void 0,"disable-funding":h.length>0?h:void 0,commit:!0,components:["buttons","payment-fields"],currency:t,intent:i},u&&{"buyer-country":s}),f&&{locale:f}),attributes:{"data-partner-attribution-id":c,"data-namespace":"paypalApms"}}}getPayPalSdkMessagesConfiguration(e,t,n){const{initializationData:r}=e;if(!r||!r.clientId)throw new ar(rr.MissingPaymentMethod);const{clientId:i,merchantId:o,attributionId:a,isDeveloperModeApplicable:s,buyerCountry:c}=r,u=ea(n);return{options:Object.assign(Object.assign({"client-id":i,"merchant-id":o,components:["messages"],currency:t},s&&{"buyer-country":c}),u&&{locale:u}),attributes:{"data-namespace":"paypalMessages","data-partner-attribution-id":a}}}transformConfig(e){let t={};return Object.keys(e).forEach(n=>{const r=e[n];null==r||""===r||Array.isArray(r)&&0===r.length||(t=Object.assign(Object.assign({},t),{[n]:Array.isArray(r)?r.join(","):r}))}),t}}function ra(e){if(!function(e){return!!e.initializationData&&"attributionId"in e.initializationData&&"isVenmoEnabled"in e.initializationData&&"isGooglePayEnabled"in e.initializationData&&"isPayPalCreditAvailable"in e.initializationData}(e))throw new ar(rr.MissingPaymentMethod)}var ia=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class oa extends qo{constructor(e,t){super("paypalsb",e),this.payPalCommerceSdk=t,this.service=e}initialize(e,t,n){const r=Object.create(null,{initialize:{get:()=>super.initialize},getPaymentMethod:{get:()=>super.getPaymentMethod}});var i,o,a,s,c;return ia(this,void 0,void 0,function*(){const u=this.service.getState(),d=null!==(o=null===(i=u.getStoreConfig())||void 0===i?void 0:i.currency.code)&&void 0!==o?o:n;if(!d)throw new ar(rr.MissingPaymentMethod);yield r.initialize.call(this,e,t,d);const l=r.getPaymentMethod.call(this);if(!l.initializationData)throw new ar(rr.MissingPaymentMethod);ra(l);const p=yield this.payPalCommerceSdk.getPayPalGooglePaySdk(l,d,u.getLocale());this.googlepayConfig=yield p.Googlepay().config();const{allowedPaymentMethods:h}=this.googlepayConfig;this.setGatewayIdentifier(null===(c=null===(s=null===(a=h[0])||void 0===a?void 0:a.tokenizationSpecification)||void 0===s?void 0:s.parameters)||void 0===c?void 0:c.gateway)})}getPaymentGatewayParameters(){if(this.googlepayConfig){const{allowedPaymentMethods:e}=this.googlepayConfig,{gatewayMerchantId:t}=e[0].tokenizationSpecification.parameters;return{gateway:this.getGatewayIdentifier(),gatewayMerchantId:t}}return{gateway:this.getGatewayIdentifier()}}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return ia(this,void 0,void 0,function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n})}}const aa=Sr(e=>new Wo(e,new Ko(Jo(),new oa(e,new na((0,or.vQ)())),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepaypaypalcommerce"}]);var sa=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ca{constructor(e){this.scriptLoader=e,this.window=window}getPayPalFastlaneSdk(e,t,n){return sa(this,void 0,void 0,function*(){if(!this.window.bigCommercePaymentsFastlaneSdk){const r=this.getPayPalFastlaneSdkConfiguration(e,t,n);if(yield this.loadPayPalSdk(r),!this.window.bigCommercePaymentsFastlaneSdk)throw new _r}return this.window.bigCommercePaymentsFastlaneSdk})}getPayPalGooglePaySdk(e,t,n,r){return sa(this,void 0,void 0,function*(){if(!this.window.bigCommercePaymentsGooglePay||r){const r=this.getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n);yield this.loadPayPalSdk(r)}if(!this.window.bigCommercePaymentsGooglePay)throw new _r;return this.window.bigCommercePaymentsGooglePay})}getPayPalApmsSdk(e,t){return sa(this,void 0,void 0,function*(){if(!this.window.bigCommercePaymentsApms){const n=this.getPayPalApmSdkConfiguration(e,t);if(yield this.loadPayPalSdk(n),!this.window.bigCommercePaymentsApms)throw new _r}return this.window.bigCommercePaymentsApms})}getPayPalMessages(e,t){return sa(this,void 0,void 0,function*(){if(!this.window.bigCommercePaymentsMessages){const n=this.getPayPalSdkMessagesConfiguration(e,t);yield this.loadPayPalSdk(n)}if(!this.window.bigCommercePaymentsMessages)throw new _r;return this.window.bigCommercePaymentsMessages})}loadPayPalSdk({options:e,attributes:t}){return sa(this,void 0,void 0,function*(){const n=this.transformConfig(e),r=this.transformConfig(t),i=`https://www.paypal.com/sdk/js?${new URLSearchParams(n).toString()}`;yield this.scriptLoader.loadScript(i,{async:!0,attributes:r})})}getPayPalFastlaneSdkConfiguration(e,t,n){const{clientToken:r,initializationData:i}=e;if(!i||!i.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:o,clientId:a,merchantId:s,attributionId:c}=i;return{options:{"client-id":a,"merchant-id":s,commit:!0,components:["fastlane","three-domain-secure"],currency:t,intent:o},attributes:{"data-client-metadata-id":n.replace(/-/g,""),"data-namespace":"bigCommercePaymentsFastlaneSdk","data-partner-attribution-id":c,"data-sdk-client-token":r}}}getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n=!0){const{clientToken:r,initializationData:i}=e;if(!i||!i.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:o,clientId:a,merchantId:s,buyerCountry:c,attributionId:u,isHostedCheckoutEnabled:d,isDeveloperModeApplicable:l}=i,p=d||n;return{options:Object.assign({"client-id":a,"merchant-id":s,commit:p,components:["googlepay"],currency:t,intent:o},l&&{"buyer-country":c}),attributes:{"data-partner-attribution-id":u,"data-client-token":r,"data-namespace":"bigCommercePaymentsGooglePay"}}}getPayPalApmSdkConfiguration(e,t){const{initializationData:n}=e;if(!n||!n.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:r,clientId:i,merchantId:o,buyerCountry:a,attributionId:s,isDeveloperModeApplicable:c,availableAlternativePaymentMethods:u=[],enabledAlternativePaymentMethods:d=[]}=n,l=this.filterFundingOptions(d),p=this.filterFundingOptions(u.filter(e=>!d.includes(e)));return{options:Object.assign({"client-id":i,"merchant-id":o,"enable-funding":l.length>0?l:void 0,"disable-funding":p.length>0?p:void 0,commit:!0,components:["buttons","payment-fields"],currency:t,intent:r},c&&{"buyer-country":a}),attributes:{"data-partner-attribution-id":s,"data-namespace":"bigCommercePaymentsApms"}}}getPayPalSdkMessagesConfiguration(e,t){const{initializationData:n}=e;if(!n||!n.clientId)throw new ar(rr.MissingPaymentMethod);const{clientId:r,merchantId:i,attributionId:o,isDeveloperModeApplicable:a,buyerCountry:s}=n;return{options:Object.assign({"client-id":r,"merchant-id":i,components:["messages"],currency:t},a&&{"buyer-country":s}),attributes:{"data-namespace":"bigCommercePaymentsMessages","data-partner-attribution-id":o}}}filterFundingOptions(e){const t=["klarna","afterpay"];return e?e.filter(e=>!t.includes(e)):[]}transformConfig(e){let t={};return Object.keys(e).forEach(n=>{const r=e[n];null==r||""===r||Array.isArray(r)&&0===r.length||(t=Object.assign(Object.assign({},t),{[n]:Array.isArray(r)?r.join(","):r}))}),t}}var ua=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class da extends qo{constructor(e,t){super("googlepay_bigcommerce_payments",e),this.payPalSdkHelper=t,this.service=e}initialize(e,t,n){const r=Object.create(null,{initialize:{get:()=>super.initialize},getPaymentMethod:{get:()=>super.getPaymentMethod}});var i,o,a,s,c;return ua(this,void 0,void 0,function*(){const u=null!==(o=null===(i=this.service.getState().getStoreConfig())||void 0===i?void 0:i.currency.code)&&void 0!==o?o:n;if(!u)throw new ar(rr.MissingPaymentMethod);yield r.initialize.call(this,e,t,u);const d=r.getPaymentMethod.call(this);if(!d.initializationData)throw new ar(rr.MissingPaymentMethod);ra(d);const l=yield this.payPalSdkHelper.getPayPalGooglePaySdk(d,u);this.googlepayConfig=yield l.Googlepay().config();const{allowedPaymentMethods:p}=this.googlepayConfig;this.setGatewayIdentifier(null===(c=null===(s=null===(a=p[0])||void 0===a?void 0:a.tokenizationSpecification)||void 0===s?void 0:s.parameters)||void 0===c?void 0:c.gateway)})}getPaymentGatewayParameters(){if(this.googlepayConfig){const{allowedPaymentMethods:e}=this.googlepayConfig,{gatewayMerchantId:t}=e[0].tokenizationSpecification.parameters;return{gateway:this.getGatewayIdentifier(),gatewayMerchantId:t}}return{gateway:this.getGatewayIdentifier()}}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return ua(this,void 0,void 0,function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n})}}const la=Sr(e=>new Wo(e,new Ko(Jo(),new da(e,new ca((0,or.vQ)())),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepay_bigcommerce_payments"}]),pa=Sr(e=>{const n=(0,t.createRequestSender)();return new Wo(e,new Ko(Jo(),new qo("adyen",e),n,(0,i.createFormPoster)()))},[{id:"googlepayadyenv2"}]),ha=Sr(e=>{const n=(0,t.createRequestSender)();return new Wo(e,new Ko(Jo(),new qo("adyen",e),n,(0,i.createFormPoster)()))},[{id:"googlepayadyenv3"}]);class fa extends qo{constructor(e){super("authorizenet",e)}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return n=this,r=void 0,o=function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}getPaymentGatewayParameters(){const e=this.getGooglePayInitializationData();return function(e){if(!function(e){return"paymentGatewayId"in e}(e))throw new ar(rr.MissingPaymentMethod)}(e),{gateway:this.getGatewayIdentifier(),gatewayMerchantId:e.paymentGatewayId}}}const ya=Sr(e=>new Wo(e,new Ko(Jo(),new fa(e),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepayauthorizenet"}]),ma=e=>"object"==typeof e&&null!==e&&"body"in e;function ga(e){if(!function(e){return"checkoutcomkey"in e}(e))throw new ar(rr.MissingPaymentMethod)}var va=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class _a extends qo{constructor(e,t){super("checkoutltd",e),this._requestSender=t}processAdditionalAction(e){return new Promise((t,n)=>{if(ma(e)&&function(e){var t;if("object"!=typeof e||null===e)return!1;const n=e;return"string"==typeof(null===(t=n.three_ds_result)||void 0===t?void 0:t.acs_url)&&"string"==typeof n.three_ds_result.code}(e.body)&&"three_d_secure_required"===e.body.three_ds_result.code)return window.location.assign(e.body.three_ds_result.acs_url);n(e)})}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return va(this,void 0,void 0,function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);let r;try{r=JSON.parse(n.nonce)}catch(e){throw new wr("Unable to parse response from Google Pay.")}return function(e){if(!function(e){return"object"==typeof e&&null!==e&&"protocolVersion"in e&&"signature"in e&&"signedMessage"in e}(e))throw new ar(rr.MissingPaymentToken)}(r),n.nonce=yield this._tokenize(r),n})}getPaymentGatewayParameters(){const e=this.getGooglePayInitializationData();return ga(e),{gateway:this.getGatewayIdentifier(),gatewayMerchantId:e.checkoutcomkey}}_tokenize(e){return va(this,void 0,void 0,function*(){const t=this.getPaymentMethod().config.testMode?"https://api.sandbox.checkout.com/tokens":"https://api.checkout.com/tokens",n=this.getGooglePayInitializationData();ga(n);const{body:r}=yield this._requestSender.post(t,{credentials:!1,body:{type:"googlepay",token_data:e},headers:{Authorization:n.checkoutcomkey,"Content-Type":kr.Json,"X-XSRF-TOKEN":null}});return r.token})}}const ba=Sr(e=>{const n=(0,t.createRequestSender)();return new Wo(e,new Ko(Jo(),new _a(e,n),n,(0,i.createFormPoster)()))},[{id:"googlepaycheckoutcom"}]);class Sa extends qo{constructor(e){super("cybersource",e)}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return n=this,r=void 0,o=function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}}const wa=Sr(e=>new Wo(e,new Ko(Jo(),new Sa(e),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepaycybersourcev2"},{id:"googlepaybnz"}]);class Ca extends qo{constructor(e){super("chase",e)}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return n=this,r=void 0,o=function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}}const Ia=Sr(e=>new Wo(e,new Ko(Jo(),new Ca(e),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepayorbital"}]);var Ea,Pa,Oa,Aa,Ta,ka,Ra,Ma,xa,Na,Da,ja;!function(e){e.SHIPPING="shipping",e.BILLING="billing"}(Ea||(Ea={})),function(e){e.SPLIT="split",e.FULL="full",e.ORGANIZATION="organization"}(Pa||(Pa={})),function(e){e.Open="open",e.Expired="expired",e.Complete="complete"}(Oa||(Oa={})),function(e){e.Paid="paid",e.UnPaid="unpaid",e.NoPaymentRequired="no_payment_required"}(Aa||(Aa={})),function(e){e.SUCCESS="success",e.ERROR="error"}(Ta||(Ta={})),function(e){e.CreditCard="card",e.ACH="us_bank_account",e.Link="link",e.EPS="eps",e.GRABPAY="grabpay",e.BANCONTACT="bancontact",e.IDEAL="ideal",e.ALIPAY="alipay",e.KLARNA="klarna",e.OCS="optimized_checkout",e.CHECKOUT_SESSION="checkout_session"}(ka||(ka={})),function(e){e.NEVER="never",e.AUTO="auto",e.ALWAYS="always",e.PAYMENT="payment",e.IF_REQUIRED="if_required"}(Ra||(Ra={})),function(e){e.V3="v3",e.ACACIA="acacia",e.BASIL="basil",e.CLOVER="clover"}(Ma||(Ma={})),function(e){e.PAYMENT="payment",e.AUTHENTICATION="linkAuthentication",e.SHIPPING="address",e.EXPRESS_CHECKOUT="expressCheckout"}(xa||(xa={})),function(e){e.REQUIRES_PAYMENT_METHOD="requires_payment_method",e.REQUIRES_CONFIRMATION="requires_confirmation",e.REQUIRES_ACTION="requires_action",e.PROCESSING="processing",e.SUCCEEDED="succeeded",e.CANCELED="canceled"}(Na||(Na={})),function(e){e.CLICK="click",e.CHANGE="change",e.READY="ready",e.SHIPPING_ADDRESS_CHANGE="shippingaddresschange",e.SHIPPING_RATE_CHANGE="shippingratechange",e.CONFIRM="confirm",e.CANCEL="cancel",e.LOADER_START="loaderstart"}(Da||(Da={})),function(e){e.ON_SESSION="on_session",e.OFF_SESSION="off_session"}(ja||(ja={}));var La=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class za{constructor(e,t=window){this.scriptLoader=e,this.stripeWindow=t}getStripeClient(e,t,n,r,i){return La(this,void 0,void 0,function*(){if(this.stripeWindow.bcStripeClient)return this.stripeWindow.bcStripeClient;const o=yield this.load(n),{stripePublishableKey:a,stripeConnectedAccount:s}=e,c=o(a,Object.assign(Object.assign(Object.assign(Object.assign({},s?{stripeAccount:s}:{}),t?{locale:t}:{}),r?{betas:r}:{}),i?{apiVersion:i}:{}));return Object.assign(this.stripeWindow,{bcStripeClient:c}),c})}getElements(e,t){return La(this,void 0,void 0,function*(){let n=this.stripeWindow.bcStripeElements;return n?yield this.updateStripeElements(t):(n=e.elements(t),Object.assign(this.stripeWindow,{bcStripeElements:n})),n})}updateStripeElements(e){return La(this,void 0,void 0,function*(){const t=this.stripeWindow.bcStripeElements;t&&(t.update(e),yield t.fetchUpdates())})}getStripeCheckout(e,t){return La(this,void 0,void 0,function*(){let n=yield this.getStoredStripeCheckout(t);return n||(n=yield e.initCheckout(t),Object.assign(this.stripeWindow,{bcStripeCheckout:n})),n})}load(e){return La(this,void 0,void 0,function*(){if(!this.stripeWindow.Stripe&&(yield this.scriptLoader.loadScript(this.getScriptUrl(e)),!this.stripeWindow.Stripe))throw new _r;return this.stripeWindow.Stripe})}getScriptUrl(e){return e&&e!==Ma.V3?`https://js.stripe.com/${e}/stripe.js`:"https://js.stripe.com/v3/"}getStoredStripeCheckout(e){return La(this,void 0,void 0,function*(){const t=this.stripeWindow.bcStripeCheckout;if(t)try{const{actions:n,error:r}=yield t.loadActions();if(r||!n)return void this.logErrorToConsole(r);const i=yield n.getSession(),o=e.clientSecret.split("_secret_")[0];if(i.id===o)return t}catch(e){return void this.logErrorToConsole(e)}})}logErrorToConsole(e){e?console.error(e):console.error("No stripe checkout actions available on loadActions().")}}const Fa=["payment_element_beta_2","alipay_pm_beta_1","link_default_integration_beta_1","shipping_address_element_beta_1","address_element_beta_1"];function Ba(e){if(!function(e){return"stripeConnectedAccount"in e&&"stripePublishableKey"in e&&"stripeVersion"in e}(e))throw new ar(rr.MissingPaymentMethod)}var Ua=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class qa extends qo{constructor(e,t){super("stripe",e),this.paymentIntegrationService=e,this.scriptLoader=t}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return Ua(this,void 0,void 0,function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);let r;try{r=JSON.parse(n.nonce)}catch(e){throw new wr("Unable to parse response from Google Pay.")}return function(e){if(!function(e){return"object"==typeof e&&null!==e&&"id"in e}(e))throw new ar(rr.MissingPaymentToken)}(r),n.nonce=r.id,n})}getPaymentGatewayParameters(){const e=this.getGooglePayInitializationData();Ba(e);const{stripeVersion:t,stripePublishableKey:n,stripeConnectedAccount:r}=e;return{gateway:this.getGatewayIdentifier(),"stripe:version":t,"stripe:publishableKey":`${n}/${r}`}}processAdditionalAction(e,t){var n;return Ua(this,void 0,void 0,function*(){if(!t)throw new Yi(["payment"]);if(!ma(e)||("object"!=typeof(r=e.body)||null===r||!("three_ds_result"in r)||!("errors"in r)))throw e;var r;if((0,f.some)(e.body.errors,{code:"three_d_secure_required"})){const r=this.getGooglePayInitializationData();Ba(r),this.stripeUPEClient=yield this.loadStripeJs(r,t);const i=e.body.three_ds_result.token;let o,a=!1;try{o=yield this.stripeUPEClient.confirmCardPayment(i)}catch(e){try{o=yield this.stripeUPEClient.retrievePaymentIntent(i)}catch(e){a=!0}}if(null==o?void 0:o.error){if(this._throwDisplayableStripeError(o.error),this._isCancellationError(o.error))throw new ri;throw new Ho}if(!(null==o?void 0:o.paymentIntent)&&!a)throw new c;return this.paymentIntegrationService.submitPayment({methodId:t,paymentData:{nonce:(null===(n=null==o?void 0:o.paymentIntent)||void 0===n?void 0:n.id)||i}})}throw e})}loadStripeJs(e,t){return Ua(this,void 0,void 0,function*(){if(this.stripeUPEClient)return this.stripeUPEClient;const n=this.paymentIntegrationService.getState().getCartLocale();return"googlepaystripeocs"===t&&e.useNewStripeJsVersion?this.scriptLoader.getStripeClient(e,n,Ma.CLOVER):this.scriptLoader.getStripeClient(e,n,Ma.V3,Fa,"2020-03-02;alipay_beta=v1;link_beta=v1")})}_isCancellationError(e){var t,n;return e&&-1!==(null===(n=null===(t=e.payment_intent.last_payment_error)||void 0===t?void 0:t.message)||void 0===n?void 0:n.indexOf("canceled"))}_throwDisplayableStripeError(e){if((0,f.includes)(["card_error","invalid_request_error","validation_error"],e.type))throw new Error(e.message)}}const Va=Sr(e=>new Wo(e,new Ko(Jo(),new qa(e,new za((0,or.vQ)())),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepaystripe"},{id:"googlepaystripeupe"},{id:"googlepaystripeocs"}]);class Ga extends qo{constructor(e){super("worldpay",e)}mapToExternalCheckoutData(e){const t=Object.create(null,{mapToExternalCheckoutData:{get:()=>super.mapToExternalCheckoutData}});return n=this,r=void 0,o=function*(){const n=yield t.mapToExternalCheckoutData.call(this,e);return n.nonce=btoa(n.nonce),n},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}}const Ha=Sr(e=>new Wo(e,new Ko(Jo(),new Ga(e),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepayworldpayaccess"}]);function Ya(){const{navigator:e}=window;let t;return t=e.language?e.language:e.userLanguage,{color_depth:window.screen.colorDepth||24,java_enabled:"function"==typeof e.javaEnabled&&e.javaEnabled(),language:t,screen_height:window.screen.height,screen_width:window.screen.width,time_zone_offset:(new Date).getTimezoneOffset().toString()}}var Wa=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class $a extends qo{constructor(e,t){super("worldlinena",e),this.formPoster=t}extraPaymentData(){return Wa(this,void 0,void 0,function*(){return Promise.resolve({browser_info:Ya()})})}processAdditionalAction(e){return Wa(this,void 0,void 0,function*(){if(!function(e){return ma(e)&&(t=e.body,(0,f.isObject)(t)&&"object"==typeof t&&"errors"in t&&"three_ds_result"in t&&(0,f.isArray)(t.errors)&&(0,f.some)(t.errors,{code:"three_d_secure_required"}));var t}(e))throw e;const{three_ds_result:t}=e.body,{acs_url:n,payer_auth_request:r,merchant_data:i}=t||{};if(!n||!r||!i)throw new Yi(["formUrl","threeDSSessionData","creq"]);return new Promise(e=>{this.formPoster.postForm(n,{threeDSSessionData:r,creq:i},e,"_top")})})}}const Ka=Sr(e=>new Wo(e,new Ko(Jo(),new $a(e,(0,i.createFormPoster)()),(0,t.createRequestSender)(),(0,i.createFormPoster)())),[{id:"googlepaytdonlinemart"}]);var Za,Ja,Qa,Xa,es,ts,ns,rs,is,os,as=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ss{constructor(e){this.scriptLoader=e,this.window=window}getPayPalSDK(e,t,n,r,i){return as(this,void 0,void 0,function*(){if(!this.window.paypal||i){const i=this.getPayPalSdkScriptConfigOrThrow(e,t,n,r);if(yield this.loadPayPalSdk(i),!this.window.paypal)throw new _r}return this.window.paypal})}getPayPalFastlaneSdk(e,t,n,r){return as(this,void 0,void 0,function*(){if(!this.window.paypalFastlaneSdk){const i=this.getPayPalFastlaneSdkConfiguration(e,t,n,r);if(yield this.loadPayPalSdk(i),!this.window.paypalFastlaneSdk)throw new _r}return this.window.paypalFastlaneSdk})}getPayPalGooglePaySdk(e,t,n,r,i){return as(this,void 0,void 0,function*(){if(!this.window.paypalGooglePay||i){const i=this.getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n,r);yield this.loadPayPalSdk(i)}if(!this.window.paypalGooglePay)throw new _r;return this.window.paypalGooglePay})}getPayPalApmsSdk(e,t,n){return as(this,void 0,void 0,function*(){if(!this.window.paypalApms){const r=this.getPayPalApmSdkConfiguration(e,t,n);if(yield this.loadPayPalSdk(r),!this.window.paypalApms)throw new _r}return this.window.paypalApms})}getPayPalMessages(e,t,n){return as(this,void 0,void 0,function*(){if(!this.window.paypalMessages){const r=this.getPayPalSdkMessagesConfiguration(e,t,n);yield this.loadPayPalSdk(r)}if(!this.window.paypalMessages)throw new _r;return this.window.paypalMessages})}loadPayPalSdk({options:e,attributes:t}){return as(this,void 0,void 0,function*(){const n=this.transformConfig(e),r=this.transformConfig(t),i=`https://www.paypal.com/sdk/js?${new URLSearchParams(n).toString()}`;yield this.scriptLoader.loadScript(i,{async:!0,attributes:r})})}getPayPalSdkScriptConfigOrThrow(e,t,n,r=!0){const{id:i,clientToken:o,initializationData:a}=e;if(!a||!a.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:s,clientId:c,merchantId:u,buyerCountry:d,attributionId:l,isVenmoEnabled:p,isHostedCheckoutEnabled:h,isPayPalCreditAvailable:f,isDeveloperModeApplicable:y,availableAlternativePaymentMethods:m=[],enabledAlternativePaymentMethods:g=[],isGooglePayEnabled:v}=a,_=h||r,b="paypalcommercecreditcards"===i||"bigcommerce_payments_creditcards"===i,S=b?["card"]:[],w=f?["credit","paylater"]:[],C=p?["venmo"]:[],I=v?["googlepay"]:[],E=r?["card-fields"]:[],P=[...b?[]:["card"],...f?[]:["credit","paylater"],...p?[]:["venmo"],...m.filter(e=>!g.includes(e))],O=[...S,...w,...C,...g],A=ea(n);return{options:Object.assign(Object.assign({"client-id":c,"merchant-id":u,"enable-funding":O.length>0?O:void 0,"disable-funding":P.length>0?P:void 0,commit:_,components:["buttons","hosted-fields","payment-fields","legal",...I,...E],currency:t,intent:s},y&&{"buyer-country":d}),A&&{locale:A}),attributes:{"data-partner-attribution-id":l,"data-client-token":o}}}getPayPalFastlaneSdkConfiguration(e,t,n,r){const{clientToken:i,initializationData:o}=e;if(!o||!o.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:a,clientId:s,merchantId:c,attributionId:u}=o,d=ea(r);return{options:Object.assign(Object.assign({"client-id":s,"merchant-id":c,commit:!0,components:["fastlane","buttons","payment-fields","hosted-fields","three-domain-secure"],currency:t},d&&{locale:d}),{intent:a}),attributes:{"data-client-metadata-id":n.replace(/-/g,""),"data-namespace":"paypalFastlaneSdk","data-partner-attribution-id":u,"data-sdk-client-token":i}}}getPayPalGooglePaySdkScriptConfigOrThrow(e,t,n,r=!0){const{clientToken:i,initializationData:o}=e;if(!o||!o.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:a,clientId:s,merchantId:c,buyerCountry:u,attributionId:d,isHostedCheckoutEnabled:l,isDeveloperModeApplicable:p}=o,h=l||r,f=ea(n);return{options:Object.assign(Object.assign({"client-id":s,"merchant-id":c,commit:h,components:["googlepay"],currency:t,intent:a},p&&{"buyer-country":u}),f&&{locale:f}),attributes:{"data-partner-attribution-id":d,"data-client-token":i,"data-namespace":"paypalGooglePay"}}}getPayPalApmSdkConfiguration(e,t,n){const{initializationData:r}=e;if(!r||!r.clientId)throw new ar(rr.MissingPaymentMethod);const{intent:i,clientId:o,merchantId:a,buyerCountry:s,attributionId:c,isDeveloperModeApplicable:u,availableAlternativePaymentMethods:d=[],enabledAlternativePaymentMethods:l=[]}=r,p=l,h=d.filter(e=>!l.includes(e)),f=ea(n);return{options:Object.assign(Object.assign({"client-id":o,"merchant-id":a,"enable-funding":p.length>0?p:void 0,"disable-funding":h.length>0?h:void 0,commit:!0,components:["buttons","payment-fields"],currency:t,intent:i},u&&{"buyer-country":s}),f&&{locale:f}),attributes:{"data-partner-attribution-id":c,"data-namespace":"paypalApms"}}}getPayPalSdkMessagesConfiguration(e,t,n){const{initializationData:r}=e;if(!r||!r.clientId)throw new ar(rr.MissingPaymentMethod);const{clientId:i,merchantId:o,attributionId:a,isDeveloperModeApplicable:s,buyerCountry:c}=r,u=ea(n);return{options:Object.assign(Object.assign({"client-id":i,"merchant-id":o,components:["messages"],currency:t},s&&{"buyer-country":c}),u&&{locale:u}),attributes:{"data-namespace":"paypalMessages","data-partner-attribution-id":a}}}transformConfig(e){let t={};return Object.keys(e).forEach(n=>{const r=e[n];null==r||""===r||Array.isArray(r)&&0===r.length||(t=Object.assign(Object.assign({},t),{[n]:Array.isArray(r)?r.join(","):r}))}),t}}!function(e){e.AUTHORIZE="authorize",e.CAPTURE="capture"}(Za||(Za={})),function(e){e.Always="SCA_ALWAYS"}(Ja||(Ja={})),function(e){e.Succeeded="succeeded",e.Cancelled="cancelled",e.Errored="errored"}(Qa||(Qa={})),function(e){e.Possible="POSSIBLE",e.No="NO",e.Unknown="UNKNOWN",e.Yes="YES"}(Xa||(Xa={})),function(e){e.paypal="paypal",e.checkout="checkout",e.buynow="buynow",e.pay="pay",e.installment="installment"}(es||(es={})),function(e){e.gold="gold",e.blue="blue",e.silver="silver",e.black="black",e.white="white"}(ts||(ts={})),function(e){e.pill="pill",e.rect="rect"}(ns||(ns={})),function(e){e.SUCCEEDED="succeeded",e.FAILED="failed",e.CANCELED="canceled",e.UNRECOGNIZED="unrecognized"}(rs||(rs={})),function(e){e.OXXO="oxxo"}(is||(is={})),function(e){e.Approved="APPROVED",e.Created="CREATED",e.PayerActionRequired="PAYER_ACTION_REQUIRED",e.PollingStop="POLLING_STOP",e.PollingError="POLLING_ERROR"}(os||(os={}));var cs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class us{constructor(e,t,n,r){this.formPoster=e,this.paymentIntegrationService=t,this.paypalRequestSender=n,this.paypalSdkLoader=r}loadPayPalSdk(e,t,n,r){return cs(this,void 0,void 0,function*(){const i=this.paymentIntegrationService.getState(),o=t||i.getCartOrThrow().currency.code,a=i.getPaymentMethodOrThrow(e),s=i.getLocale();return this.paypalSdk=yield this.paypalSdkLoader.getPayPalSDK(a,o,s,n,r),this.paypalSdk})}getPayPalSdkOrThrow(){if(!this.paypalSdk)throw new _r;return this.paypalSdk}createBuyNowCartOrThrow(e){return cs(this,void 0,void 0,function*(){const t=e.getBuyNowCartRequestBody();if(!t)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(t)}catch(e){throw new Cr}})}createOrder(e,t){return cs(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r}=yield this.paypalRequestSender.createOrder(e,Object.assign({cartId:n},t));return r})}createOrderCardFields(e,t){return cs(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r,setupToken:i}=yield this.paypalRequestSender.createOrder(e,Object.assign({cartId:n},t));return Object.assign({orderId:r},i?{setupToken:i}:{})})}updateOrder(e,t,n,r){return cs(this,void 0,void 0,function*(){const i=this.paymentIntegrationService.getState(),o=i.getCartOrThrow();let a;r||(a=i.getConsignmentsOrThrow()[0]);try{yield this.paypalRequestSender.updateOrder(e,Object.assign(Object.assign({availableShippingOptions:r?[]:null==a?void 0:a.availableShippingOptions,cartId:o.id,selectedShippingOption:r?null:null==a?void 0:a.selectedShippingOption},t?{methodId:t}:{}),n?{orderId:n}:{}))}catch(e){throw new c}})}getOrderStatus(e,t){return cs(this,void 0,void 0,function*(){try{const{status:n}=yield this.paypalRequestSender.getOrderStatus(e,t);return n}catch(e){throw new c}})}tokenizePayment(e,t){const n=this.paymentIntegrationService.getState().getCartOrThrow();if(!t)throw new ar(rr.MissingOrderId);return this.formPoster.postForm("/checkout.php",Object.assign({payment_type:"paypal",action:"set_external_checkout",provider:e,order_id:t},n.source===pi.BuyNow&&{cart_id:n.id}))}submitPayment(e,t,n){return cs(this,void 0,void 0,function*(){const r={formattedPayload:{vault_payment_instrument:null,set_as_default_stored_instrument:null,device_info:null,method_id:e,paypal_account:{order_id:t}}};yield this.paymentIntegrationService.submitPayment(Object.assign({methodId:e,paymentData:r},n?{gatewayId:n}:{}))})}getShippingOptionOrThrow(e){const t=this.paymentIntegrationService.getState().getConsignmentsOrThrow()[0],n=t.availableShippingOptions||[],r=n.find(e=>e.isRecommended),i=(e?n.find(t=>t.id===e):n.find(e=>{if(t.selectedShippingOption){const n=t.selectedShippingOption.id;return e.id===n}return!1}))||r||n[0];if(!i)throw new Error("Your order can't be shipped to this address");return i}getAddress(e){return{firstName:(null==e?void 0:e.firstName)||"",lastName:(null==e?void 0:e.lastName)||"",email:(null==e?void 0:e.email)||"",phone:(null==e?void 0:e.phone)||"",company:"",address1:(null==e?void 0:e.address1)||"",address2:(null==e?void 0:e.address2)||"",city:(null==e?void 0:e.city)||"",countryCode:(null==e?void 0:e.countryCode)||"",postalCode:(null==e?void 0:e.postalCode)||"",stateOrProvince:"",stateOrProvinceCode:(null==e?void 0:e.stateOrProvinceCode)||"",customFields:[]}}getBillingAddressFromOrderDetails({payer:e}){var t,n;return this.getAddress({firstName:e.name.given_name,lastName:e.name.surname,email:e.email_address,address1:e.address.address_line_1,address2:e.address.address_line_2,city:e.address.admin_area_2,countryCode:e.address.country_code,postalCode:e.address.postal_code,stateOrProvinceCode:e.address.admin_area_1,phone:null===(n=null===(t=e.phone)||void 0===t?void 0:t.phone_number)||void 0===n?void 0:n.national_number})}getShippingAddressFromOrderDetails(e){const{payer:t,purchase_units:n}=e,{address:r,name:{full_name:i}}=n[0].shipping,[o,...a]=i.split(" ");return this.getAddress({firstName:o,lastName:a.join(" "),email:t.email_address,address1:r.address_line_1,address2:r.address_line_2,city:r.admin_area_2,countryCode:r.country_code,postalCode:r.postal_code,stateOrProvinceCode:r.admin_area_1})}getValidButtonStyle(e={}){const{color:t,height:n,label:r,shape:i}=e,o={color:t&&ts[t]?t:void 0,height:this.getValidHeight(n),label:r&&es[r]?r:void 0,shape:i&&ns[i]?i:void 0};return(0,f.omitBy)(o,f.isNil)}getValidHeight(e){return e&&"number"==typeof e?e>55?55:e<25?25:e:40}removeElement(e){const t=e&&document.getElementById(e);t&&(t.style.display="none")}}var ds=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ls{constructor(e){this.requestSender=e}createOrder(e,t){return ds(this,void 0,void 0,function*(){const n=`/api/storefront/payment/${e}`,r=t,i=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.post(n,{headers:i,body:r})).body})}updateOrder(e,t){return ds(this,void 0,void 0,function*(){const n=`/api/storefront/initialization/${e}`,r=t,i=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.put(n,{headers:i,body:r})).body})}getOrderStatus(e,t){return ds(this,void 0,void 0,function*(){const n=`/api/storefront/initialization/${e}`,r=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.get(n,Object.assign({headers:r},t))).body})}}const ps=e=>{const{getHost:n}=e.getState();return new us((0,i.createFormPoster)(),e,new ls((0,t.createRequestSender)({host:n()})),new ss((0,or.vQ)()))};var hs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};const fs=class{constructor(e,t){this.paymentIntegrationService=e,this.paypalIntegrationService=t}createPayPalButton(e,t,n,r){const{style:i,fundingSource:o,isHostedCheckoutEnabled:a,isServerSideShippingCallbacksEnabled:s,onClick:c,onCancel:u,onPaymentComplete:d,onError:l}=n;this.onError=l;const p=this.paypalIntegrationService.getPayPalSdkOrThrow();if(!Object.values(p.FUNDING).includes(o))throw new wr('Unable to initialize PayPal button because "fundingSource" argument is not valid funding source.');const h=Object.assign(Object.assign({},!s&&{onShippingAddressChange:t=>this.onShippingAddressChange(t,e),onShippingOptionsChange:t=>this.onShippingOptionsChange(t,e)}),{onApprove:(n,r)=>this.onHostedCheckoutApprove(n,r,t,e,d,s)});return p.Buttons(Object.assign(Object.assign(Object.assign({fundingSource:o,style:this.paypalIntegrationService.getValidButtonStyle(i),createOrder:()=>hs(this,void 0,void 0,function*(){if(r){const e=yield this.paypalIntegrationService.createBuyNowCartOrThrow(r);yield this.paymentIntegrationService.loadCheckout(e.id)}return this.paypalIntegrationService.createOrder(e)}),onApprove:({orderID:e})=>this.paypalIntegrationService.tokenizePayment(t,e)},c?{onClick:c}:{}),u?{onCancel:u}:{}),a&&h))}onHostedCheckoutApprove(e,t,n,r,i,o){return hs(this,void 0,void 0,function*(){if(!e.orderID)throw new ar(rr.MissingOrderId);const a=this.paymentIntegrationService.getState().getCartOrThrow();try{const s=a.lineItems.physicalItems.length>0;if(!o){const e=yield t.order.get(),n=this.paypalIntegrationService.getBillingAddressFromOrderDetails(e);if(yield this.paymentIntegrationService.updateBillingAddress(n),s){const t=this.paypalIntegrationService.getShippingAddressFromOrderDetails(e);yield this.paymentIntegrationService.updateShippingAddress(t)}}s&&(yield this.paypalIntegrationService.updateOrder(r,void 0,void 0,o)),o&&(yield this.paymentIntegrationService.loadCheckout()),yield this.paymentIntegrationService.submitOrder({},{params:{methodId:n}}),yield this.paypalIntegrationService.submitPayment(n,e.orderID),i&&"function"==typeof i&&i()}catch(e){this.handleError(e)}})}onShippingAddressChange(e,t){return hs(this,void 0,void 0,function*(){const n=this.paypalIntegrationService.getAddress({city:e.shippingAddress.city,countryCode:e.shippingAddress.countryCode,postalCode:e.shippingAddress.postalCode,stateOrProvinceCode:e.shippingAddress.state});try{yield this.paymentIntegrationService.updateBillingAddress(n),yield this.paymentIntegrationService.updateShippingAddress(n);const e=this.paypalIntegrationService.getShippingOptionOrThrow();yield this.paymentIntegrationService.selectShippingOption(e.id),yield this.paypalIntegrationService.updateOrder(t)}catch(e){this.handleError(e)}})}onShippingOptionsChange(e,t){return hs(this,void 0,void 0,function*(){const n=this.paypalIntegrationService.getShippingOptionOrThrow(e.selectedShippingOption.id);try{yield this.paymentIntegrationService.selectShippingOption(n.id),yield this.paypalIntegrationService.updateOrder(t)}catch(e){this.handleError(e)}})}handleError(e){if("function"!=typeof this.onError)throw e;this.onError(e)}};class ys{constructor(e,t,n){this.paymentIntegrationService=e,this.paypalIntegrationService=t,this.paypalButtonCreationService=n}initialize(e){var t,n,r,i,o;return n=this,r=void 0,o=function*(){const{paypalcommerce:n,containerId:r,methodId:i}=e,o=Boolean(null==n?void 0:n.buyNowInitializeOptions);if(!i)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!r)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.paypalcommerce" argument is not provided.');if(o&&!n.currencyCode)throw new wr('Unable to initialize payment because "options.paypalcommerce.currencyCode" argument is not provided.');if(o&&"function"!=typeof(null===(t=n.buyNowInitializeOptions)||void 0===t?void 0:t.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.paypalcommerce.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');o||(yield this.paymentIntegrationService.loadDefaultCheckout());const a=o?n.currencyCode:this.paymentIntegrationService.getState().getCartOrThrow().currency.code;yield this.paypalIntegrationService.loadPayPalSdk(i,a,!1),this.renderButton(r,i,n)},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onComplete:o,onEligibilityFailure:a}=n,s=this.paypalIntegrationService.getPayPalSdkOrThrow(),c=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(t),{isHostedCheckoutEnabled:u,isServerSideShippingCallbacksEnabled:d}=c.initializationData||{},l={onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},p=Object.assign(Object.assign({fundingSource:s.FUNDING.PAYPAL,style:this.paypalIntegrationService.getValidButtonStyle(i),isServerSideShippingCallbacksEnabled:d,isHostedCheckoutEnabled:u},r&&l),u&&o&&{onPaymentComplete:()=>o()}),h=this.paypalButtonCreationService.createPayPalButton("paypalcommerce",t,p,r);h.isEligible()?h.render(`#${e}`):a&&"function"==typeof a?a():this.paypalIntegrationService.removeElement(e)}}const ms=Sr(e=>{const t=ps(e),n=new fs(e,t);return new ys(e,t,n)},[{id:"paypalcommerce"}]);var gs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class vs{constructor(e,t){this.paymentIntegrationService=e,this.paypalIntegrationService=t}initialize(e){return gs(this,void 0,void 0,function*(){const{paypalcommercecredit:t,containerId:n,methodId:r}=e,{buyNowInitializeOptions:i,currencyCode:o}=t||{},a=!!i;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.paypalcommercecredit" argument is not provided.');if(a&&!o)throw new wr('Unable to initialize payment because "options.paypalcommercecredit.currencyCode" argument is not provided.');if(a&&"function"!=typeof(null==i?void 0:i.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.paypalcommercecredit.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');a||(yield this.paymentIntegrationService.loadDefaultCheckout());const s=this.paymentIntegrationService.getState(),c=a?o:s.getCartOrThrow().currency.code;yield this.paypalIntegrationService.loadPayPalSdk(r,c,!1),this.renderButton(n,r,t)})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onComplete:o,onEligibilityFailure:a}=n,s=this.paypalIntegrationService.getPayPalSdkOrThrow(),c=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(t),{isHostedCheckoutEnabled:u,isServerSideShippingCallbacksEnabled:d}=c.initializationData||{},l={createOrder:()=>this.paypalIntegrationService.createOrder("paypalcommercecredit"),onApprove:({orderID:e})=>this.paypalIntegrationService.tokenizePayment(t,e)},p={onClick:()=>this.handleClick(r),onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},h=Object.assign(Object.assign({},!d&&{onShippingAddressChange:e=>this.onShippingAddressChange(e),onShippingOptionsChange:e=>this.onShippingOptionsChange(e)}),{onApprove:(e,n)=>this.onHostedCheckoutApprove(e,n,t,o,d)}),f=[s.FUNDING.PAYLATER,s.FUNDING.CREDIT];let y=!1;f.forEach(t=>{if(!y){const n=Object.assign(Object.assign(Object.assign({fundingSource:t,style:this.paypalIntegrationService.getValidButtonStyle(i)},l),r&&p),u&&h),o=s.Buttons(n);o.isEligible()?(o.render(`#${e}`),y=!0):a&&"function"==typeof a&&a()}}),y||this.paypalIntegrationService.removeElement(e)}handleClick(e){return gs(this,void 0,void 0,function*(){if(e){const t=yield this.paypalIntegrationService.createBuyNowCartOrThrow(e);yield this.paymentIntegrationService.loadCheckout(t.id)}})}onHostedCheckoutApprove(e,t,n,r,i){return gs(this,void 0,void 0,function*(){if(!e.orderID)throw new ar(rr.MissingOrderId);const o=this.paymentIntegrationService.getState().getCartOrThrow();try{const a=o.lineItems.physicalItems.length>0;if(!i){const e=yield t.order.get(),n=this.paypalIntegrationService.getBillingAddressFromOrderDetails(e);if(yield this.paymentIntegrationService.updateBillingAddress(n),a){const t=this.paypalIntegrationService.getShippingAddressFromOrderDetails(e);yield this.paymentIntegrationService.updateShippingAddress(t)}}return a&&(yield this.paypalIntegrationService.updateOrder("paypalcommerce",void 0,void 0,i)),i&&(yield this.paymentIntegrationService.loadCheckout()),yield this.paymentIntegrationService.submitOrder({},{params:{methodId:n}}),yield this.paypalIntegrationService.submitPayment(n,e.orderID),r&&"function"==typeof r&&r(),!0}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingAddressChange(e){return gs(this,void 0,void 0,function*(){const t=this.paypalIntegrationService.getAddress({city:e.shippingAddress.city,countryCode:e.shippingAddress.countryCode,postalCode:e.shippingAddress.postalCode,stateOrProvinceCode:e.shippingAddress.state});try{yield this.paymentIntegrationService.updateBillingAddress(t),yield this.paymentIntegrationService.updateShippingAddress(t);const e=this.paypalIntegrationService.getShippingOptionOrThrow();yield this.paymentIntegrationService.selectShippingOption(e.id),yield this.paypalIntegrationService.updateOrder("paypalcommerce")}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}onShippingOptionsChange(e){return gs(this,void 0,void 0,function*(){const t=this.paypalIntegrationService.getShippingOptionOrThrow(e.selectedShippingOption.id);try{yield this.paymentIntegrationService.selectShippingOption(t.id),yield this.paypalIntegrationService.updateOrder("paypalcommerce")}catch(e){if("string"==typeof e)throw new Error(e);throw e}})}}const _s=Sr(e=>new vs(e,ps(e)),[{id:"paypalcommercecredit"}]);var bs,Ss,ws,Cs,Is,Es,Ps;!function(e){e.Possible="POSSIBLE",e.No="NO",e.Unknown="UNKNOWN",e.Yes="YES"}(bs||(bs={})),function(e){e.AUTHORIZE="authorize",e.CAPTURE="capture"}(Ss||(Ss={})),function(e){e.paypal="paypal",e.checkout="checkout",e.buynow="buynow",e.pay="pay",e.installment="installment"}(ws||(ws={})),function(e){e.gold="gold",e.blue="blue",e.silver="silver",e.black="black",e.white="white"}(Cs||(Cs={})),function(e){e.pill="pill",e.rect="rect"}(Is||(Is={})),function(e){e.OXXO="oxxo",e.IDEAL="ideal"}(Es||(Es={})),function(e){e.Approved="APPROVED",e.Created="CREATED",e.PayerActionRequired="PAYER_ACTION_REQUIRED",e.PollingStop="POLLING_STOP",e.PollingError="POLLING_ERROR"}(Ps||(Ps={}));var Os=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class As{constructor(e,t,n,r){this.formPoster=e,this.paymentIntegrationService=t,this.paypalCommerceRequestSender=n,this.paypalCommerceScriptLoader=r}loadPayPalSdk(e,t,n,r){return Os(this,void 0,void 0,function*(){const i=this.paymentIntegrationService.getState(),o=t||i.getCartOrThrow().currency.code,a=i.getPaymentMethodOrThrow(e);return this.paypalSdk=yield this.paypalCommerceScriptLoader.getPayPalSDK(a,o,i.getLocale(),n,r),this.paypalSdk})}getPayPalSdkOrThrow(){if(!this.paypalSdk)throw new _r;return this.paypalSdk}createBuyNowCartOrThrow(e){return Os(this,void 0,void 0,function*(){const t=e.getBuyNowCartRequestBody();if(!t)throw new ar(rr.MissingCart);try{return yield this.paymentIntegrationService.createBuyNowCart(t)}catch(e){throw new Cr}})}createOrder(e,t){return Os(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r}=yield this.paypalCommerceRequestSender.createOrder(e,Object.assign({cartId:n},t));return r})}createOrderCardFields(e,t){return Os(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState().getCartOrThrow().id,{orderId:r,setupToken:i}=yield this.paypalCommerceRequestSender.createOrder(e,Object.assign({cartId:n},t));return Object.assign({orderId:r},i?{setupToken:i}:{})})}updateOrder(e){return Os(this,void 0,void 0,function*(){const t=this.paymentIntegrationService.getState(),n=t.getCartOrThrow(),r=t.getConsignmentsOrThrow()[0];try{yield this.paypalCommerceRequestSender.updateOrder({availableShippingOptions:e?[]:r.availableShippingOptions,cartId:n.id,selectedShippingOption:e?null:r.selectedShippingOption})}catch(e){throw new c}})}getOrderStatus(e,t){return Os(this,void 0,void 0,function*(){try{const{status:n}=yield this.paypalCommerceRequestSender.getOrderStatus(e,t);return n}catch(e){throw new c}})}tokenizePayment(e,t){const n=this.paymentIntegrationService.getState().getCartOrThrow();if(!t)throw new ar(rr.MissingOrderId);return this.formPoster.postForm("/checkout.php",Object.assign({payment_type:"paypal",action:"set_external_checkout",provider:e,order_id:t},n.source===pi.BuyNow&&{cart_id:n.id}))}submitPayment(e,t,n){return Os(this,void 0,void 0,function*(){const r={formattedPayload:{vault_payment_instrument:null,set_as_default_stored_instrument:null,device_info:null,method_id:e,paypal_account:{order_id:t}}};yield this.paymentIntegrationService.submitPayment(Object.assign({methodId:e,paymentData:r},n?{gatewayId:n}:{}))})}getShippingOptionOrThrow(e){const t=this.paymentIntegrationService.getState().getConsignmentsOrThrow()[0],n=t.availableShippingOptions||[],r=n.find(e=>e.isRecommended),i=(e?n.find(t=>t.id===e):n.find(e=>{var n;return e.id===(null===(n=t.selectedShippingOption)||void 0===n?void 0:n.id)}))||r||n[0];if(!i)throw new Error("Your order can't be shipped to this address");return i}getAddress(e){return{firstName:(null==e?void 0:e.firstName)||"",lastName:(null==e?void 0:e.lastName)||"",email:(null==e?void 0:e.email)||"",phone:(null==e?void 0:e.phone)||"",company:"",address1:(null==e?void 0:e.address1)||"",address2:(null==e?void 0:e.address2)||"",city:(null==e?void 0:e.city)||"",countryCode:(null==e?void 0:e.countryCode)||"",postalCode:(null==e?void 0:e.postalCode)||"",stateOrProvince:"",stateOrProvinceCode:(null==e?void 0:e.stateOrProvinceCode)||"",customFields:[]}}getBillingAddressFromOrderDetails({payer:e}){var t,n;return this.getAddress({firstName:e.name.given_name,lastName:e.name.surname,email:e.email_address,address1:e.address.address_line_1,address2:e.address.address_line_2,city:e.address.admin_area_2,countryCode:e.address.country_code,postalCode:e.address.postal_code,stateOrProvinceCode:e.address.admin_area_1,phone:null===(n=null===(t=e.phone)||void 0===t?void 0:t.phone_number)||void 0===n?void 0:n.national_number})}getShippingAddressFromOrderDetails(e){const{payer:t,purchase_units:n}=e,{address:r,name:{full_name:i}}=n[0].shipping,[o,...a]=i.split(" ");return this.getAddress({firstName:o,lastName:a.join(" "),email:t.email_address,address1:r.address_line_1,address2:r.address_line_2,city:r.admin_area_2,countryCode:r.country_code,postalCode:r.postal_code,stateOrProvinceCode:r.admin_area_1})}getValidButtonStyle(e){const{color:t,height:n,label:r,shape:i}=e||{},o={color:t&&Cs[t]?t:void 0,height:this.getValidHeight(n),label:r&&ws[r]?r:void 0,shape:i&&Is[i]?i:void 0};return(0,f.omitBy)(o,f.isNil)}getValidHeight(e){return e&&"number"==typeof e?e>55?55:e<25?25:e:40}removeElement(e){const t=e&&document.getElementById(e);t&&(t.style.display="none")}}var Ts=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ks{constructor(e){this.requestSender=e}createOrder(e,t){return Ts(this,void 0,void 0,function*(){const n=`/api/storefront/payment/${e}`,r=t,i=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.post(n,{headers:i,body:r})).body})}updateOrder(e){return Ts(this,void 0,void 0,function*(){const t=e,n=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.put("/api/storefront/initialization/paypalcommerce",{headers:n,body:t})).body})}getOrderStatus(e="paypalcommerce",t){return Ts(this,void 0,void 0,function*(){const n=`/api/storefront/initialization/${e}`,r=Object.assign({"X-API-INTERNAL":Ar,"Content-Type":kr.Json},Rr);return(yield this.requestSender.get(n,Object.assign({headers:r},t))).body})}}var Rs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ms{constructor(e){this.scriptLoader=e,this.window=window}getPayPalSDK(e,t,n,r,i){return Rs(this,void 0,void 0,function*(){const o=this.getPayPalSdkScriptConfigOrThrow(e,t,n,r);return this.loadPayPalSDK(o,i)})}loadPayPalSDK(e,t=!1){return Rs(this,void 0,void 0,function*(){if(!this.window.paypal||t){const t=this.transformConfig(e.options),n=this.transformConfig(e.attributes),r=`https://www.paypal.com/sdk/js?${new URLSearchParams(t).toString()}`;yield this.scriptLoader.loadScript(r,{async:!0,attributes:n})}if(!this.window.paypal)throw new _r;return this.window.paypal})}getPayPalSdkScriptConfigOrThrow(e,t,n,r=!0){const{id:i,clientToken:o,initializationData:a}=e;if(!(null==a?void 0:a.clientId))throw new ar(rr.MissingPaymentMethod);const{intent:s,clientId:c,merchantId:u,buyerCountry:d,attributionId:l,isVenmoEnabled:p,isHostedCheckoutEnabled:h,isPayPalCreditAvailable:f,isDeveloperModeApplicable:y,availableAlternativePaymentMethods:m=[],enabledAlternativePaymentMethods:g=[],isGooglePayEnabled:v}=a,_=h||r,b="paypalcommercecreditcards"===i,S=b?["card"]:[],w=f?["credit","paylater"]:[],C=p?["venmo"]:[],I=v?["googlepay"]:[],E=r?["card-fields"]:[],P=[...b?[]:["card"],...f?[]:["credit","paylater"],...p?[]:["venmo"],...m.filter(e=>!g.includes(e))],O=[...S,...w,...C,...g],A=ea(n);return{options:Object.assign(Object.assign({"client-id":c,"merchant-id":u,"enable-funding":O.length>0?O:void 0,"disable-funding":P.length>0?P:void 0,commit:_,components:["buttons","hosted-fields","payment-fields","legal",...I,...E],currency:t,intent:s},y&&{"buyer-country":d}),A&&{locale:A}),attributes:{"data-partner-attribution-id":l,"data-client-token":o}}}transformConfig(e){let t={};return Object.keys(e).forEach(n=>{const r=e[n];null==r||""===r||Array.isArray(r)&&0===r.length||(t=Object.assign(Object.assign({},t),{[n]:Array.isArray(r)?r.join(","):r}))}),t}}var xs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ns{constructor(e,t){this.paymentIntegrationService=e,this.paypalCommerceIntegrationService=t}initialize(e){return xs(this,void 0,void 0,function*(){const{paypalcommercevenmo:t,containerId:n,methodId:r}=e,{buyNowInitializeOptions:i,currencyCode:o}=t||{},a=!!i;if(!r)throw new wr('Unable to initialize payment because "options.methodId" argument is not provided.');if(!n)throw new wr('Unable to initialize payment because "options.containerId" argument is not provided.');if(!t)throw new wr('Unable to initialize payment because "options.paypalcommercevenmo" argument is not provided.');if(a&&!o)throw new wr('Unable to initialize payment because "options.paypalcommercevenmo.currencyCode" argument is not provided.');if(a&&"function"!=typeof(null==i?void 0:i.getBuyNowCartRequestBody))throw new wr('Unable to initialize payment because "options.paypalcommercevenmo.buyNowInitializeOptions.getBuyNowCartRequestBody" argument is not provided or it is not a function.');a||(yield this.paymentIntegrationService.loadDefaultCheckout());const s=a?o:this.paymentIntegrationService.getState().getCartOrThrow().currency.code;yield this.paypalCommerceIntegrationService.loadPayPalSdk(r,s,!1),this.renderButton(n,r,t)})}deinitialize(){return Promise.resolve()}renderButton(e,t,n){const{buyNowInitializeOptions:r,style:i,onEligibilityFailure:o}=n,a=this.paypalCommerceIntegrationService.getPayPalSdkOrThrow(),s=a.FUNDING.VENMO,c={createOrder:()=>this.paypalCommerceIntegrationService.createOrder("paypalcommercevenmo"),onApprove:({orderID:e})=>this.paypalCommerceIntegrationService.tokenizePayment(t,e)},u={onClick:()=>this.handleClick(r),onCancel:()=>this.paymentIntegrationService.loadDefaultCheckout()},d=Object.assign(Object.assign({fundingSource:s,style:this.getValidVenmoButtonStyles(i)},c),r&&u),l=a.Buttons(d);l.isEligible()?l.render(`#${e}`):o&&"function"==typeof o?o():this.paypalCommerceIntegrationService.removeElement(e)}getValidVenmoButtonStyles(e){const t=this.paypalCommerceIntegrationService.getValidButtonStyle(e);return t.color===Cs.gold?Object.assign(Object.assign({},t),{color:void 0}):t}handleClick(e){return xs(this,void 0,void 0,function*(){if(e){const t=yield this.paypalCommerceIntegrationService.createBuyNowCartOrThrow(e);yield this.paymentIntegrationService.loadCheckout(t.id)}})}}const Ds=Sr(e=>new Ns(e,(e=>{const{getHost:n}=e.getState();return new As((0,i.createFormPoster)(),e,new ks((0,t.createRequestSender)({host:n()})),new Ms((0,or.vQ)()))})(e)),[{id:"paypalcommercevenmo"}]);var js,Ls,zs,Fs,Bs,Us;!function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(js||(js={})),function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.RESPONSIVE="responsive"}(Ls||(Ls={})),function(e){e.GOLD="gold",e.BLUE="blue",e.SIlVER="silver",e.BLACK="black"}(zs||(zs={})),function(e){e.CHECKOUT="checkout",e.PAY="pay",e.BUYNOW="buynow",e.PAYPAL="paypal",e.CREDIT="credit"}(Fs||(Fs={})),function(e){e.PILL="pill",e.RECT="rect"}(Bs||(Bs={})),function(e){e.ACKNOWLEDGE="ACKNOWLEDGE",e.FINALIZE="FINALIZE",e.INITIALIZE="INITIALIZE"}(Us||(Us={}));var qs=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Vs{constructor(e,t,n){this.paymentIntegrationService=e,this.paypalExpressScriptLoader=t,this.formPoster=n}initialize(e){return qs(this,void 0,void 0,function*(){const t=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(e.methodId);if(!e.paypal)throw new wr;if(!t.config.merchantId)throw new ar(rr.MissingPaymentMethod);const n=yield this.paypalExpressScriptLoader.loadPaypalSDK(t.config.merchantId);this.renderButton(e,n)})}deinitialize(){return Promise.resolve()}renderButton(e,t){const{containerId:n,methodId:r,paypal:i}=e,{allowCredit:o,clientId:a,onPaymentError:s,shouldProcessPayment:c,style:u}=i,d=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(e.methodId);if(!d.config.merchantId)throw new ar(rr.MissingPaymentMethod);const l=d.config.merchantId,p=d.config.testMode?"sandbox":"production",h={[p]:a},f=t.FUNDING.CREDIT||"credit",y=o?[f]:[],m=o?[]:[f];return t.Button.render({env:p,client:h,commit:c,funding:{allowed:y,disallowed:m},style:this.getStyle(u),payment:(e,t)=>this.setupPayment(l,t,s),onAuthorize:(e,t)=>this.tokenizePayment(e,r,t,c)},n)}getStyle(e){const{color:t,fundingicons:n,label:r,layout:i,shape:o,size:a,tagline:s}=e||{};return{color:t,fundingicons:n,label:r,layout:i,shape:o||Bs.RECT,size:"small"===a?Ls.RESPONSIVE:a,tagline:s}}setupPayment(e,t,n){return qs(this,void 0,void 0,function*(){if(!t)throw new ur(ir.CheckoutButtonNotInitialized);try{const n=yield this.paymentIntegrationService.loadDefaultCheckout(),{id:r}=n.getCartOrThrow(),i=n.getHost()||"";return(yield t.request.post(`${i}/api/storefront/payment/paypalexpress`,{merchantId:e,cartId:r},{headers:Object.assign({"X-API-INTERNAL":Ar},Rr)})).id}catch(e){throw n&&e instanceof a&&n(e),e}})}tokenizePayment(e,t,n,r){return qs(this,void 0,void 0,function*(){if(!n)throw new ur(ir.CheckoutButtonNotInitialized);if(!e.paymentID||!e.payerID)throw new ar(rr.MissingPayment);const i=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(t),o=yield n.payment.get(e.paymentID);return this.formPoster.postForm("/checkout.php",{payment_type:"paypal",provider:i.id,action:r?"process_payment":"set_external_checkout",paymentId:e.paymentID,payerId:e.payerID,payerInfo:JSON.stringify(o.payer.payer_info)})})}}class Gs{constructor(e){this.scriptLoader=e,this.window=window}loadPaypalSDK(e=""){return t=this,n=void 0,i=function*(){const t=Object.assign({async:!0,attributes:{"data-merchant-id":e}},e&&{attributes:{"data-merchant-id":e}});if(yield this.scriptLoader.loadScript("//www.paypalobjects.com/api/checkout.min.js",t),!this.window.paypal)throw new _r;return this.window.paypal},new((r=void 0)||(r=Promise))(function(e,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(a,s)}c((i=i.apply(t,n||[])).next())});var t,n,r,i}}const Hs=Sr(e=>new Vs(e,new Gs((0,or.vQ)()),(0,i.createFormPoster)()),[{id:"paypalexpress"}]);var Ys=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Ws{constructor(e,t){this.paymentIntegrationService=e,this.scriptLoader=t,this.isMounted=!1}deinitialize(){var e;null===(e=this.checkoutEventsUnsubscribe)||void 0===e||e.call(this),this.isMounted=!1}initCheckoutEventsSubscription(e,t,n,r){this.checkoutEventsUnsubscribe=this.paymentIntegrationService.subscribe(()=>Ys(this,void 0,void 0,function*(){var i;const o=null==r?void 0:r.getElement(xa.PAYMENT);if(o){try{yield this.updateStripePaymentIntent(e,t)}catch(e){return this.isMounted&&(o.unmount(),this.isMounted=!1),void(e instanceof Error&&(null===(i=n.onError)||void 0===i||i.call(n,e)))}this.isMounted||(yield null==r?void 0:r.fetchUpdates(),this.mountElement(o,n.containerId))}}),e=>{var t;return null===(t=e.getCheckout())||void 0===t?void 0:t.outstandingBalance},e=>{var t;return null===(t=e.getCheckout())||void 0===t?void 0:t.coupons})}mountElement(e,t){document.getElementById(t)&&(e.mount(`#${t}`),this.isMounted=!0)}mapAppearanceVariables(e){return{colorPrimary:e.fieldInnerShadow,colorBackground:e.fieldBackground,colorText:e.labelText,colorDanger:e.fieldErrorText,colorTextSecondary:e.labelText,colorTextPlaceholder:e.fieldPlaceholderText,colorIcon:e.fieldPlaceholderText}}mapInputAppearanceRules(e){return{borderColor:e.fieldBorder,color:e.fieldText,boxShadow:e.fieldInnerShadow}}throwStripeError(e){if("object"==typeof(t=e)&&null!==t&&"type"in t&&(this.throwDisplayableStripeError(e),this.isCancellationError(e)))throw new ri;var t;throw new Ho}throwDisplayableStripeError(e){if((0,f.includes)(["card_error","invalid_request_error","validation_error"],e.type))throw new Error(e.message)}isCancellationError(e){var t;const n=null===(t=null==e?void 0:e.payment_intent.last_payment_error)||void 0===t?void 0:t.message;return!!n&&-1!==n.indexOf("canceled")}throwPaymentConfirmationProceedMessage(){throw new Ho("We've received your order and are processing your payment. Once the payment is verified, your order will be completed. We will send you an email when it's completed. Please note, this process may take a few minutes depending on the processing times of your chosen method.")}isPaymentCompleted(e,t){return Ys(this,void 0,void 0,function*(){const n=this.paymentIntegrationService.getState(),r=n.getPaymentMethodOrThrow(e),{features:i}=n.getStoreConfigOrThrow().checkoutSettings;if(!r.clientToken||!t||!i["PI-626.Block_unnecessary_payment_confirmation_for_StripeUPE"])return!1;const{paymentIntent:o}=yield t.retrievePaymentIntent(r.clientToken);return(null==o?void 0:o.status)===Na.SUCCEEDED})}mapStripePaymentData(e,t,n=!1){const r=this.paymentIntegrationService.getState().getBillingAddress(),{firstName:i="",lastName:o="",email:a=""}=r||{},s=this.mapStripeAddress(r);if(!e)throw new ur(ir.PaymentNotInitialized);if(!(a&&s&&s.city&&s.country&&i&&o))throw new ar(rr.MissingBillingAddress);return{elements:e,redirect:Ra.IF_REQUIRED,confirmParams:Object.assign({payment_method_data:Object.assign(Object.assign({},n?{allow_redisplay:"always"}:{}),{billing_details:{email:a,address:s,name:this.getShopperFullName(r)}})},t&&{return_url:t})}}isAdditionalActionError(e){return(0,f.some)(e,{code:"additional_action_required"})}isRedirectAction(e){const{type:t,data:{redirect_url:n}}=e;return"redirect_to_url"===t&&!!n}isOnPageAdditionalAction(e){const{type:t,data:{token:n}}=e;return"additional_action_requires_payment_method"===t&&!!n}updateStripePaymentIntent(e,t){return Ys(this,void 0,void 0,function*(){const n=yield this.paymentIntegrationService.loadPaymentMethod(e,{params:{method:t}}),{clientToken:r}=n.getPaymentMethodOrThrow(t);r&&this.scriptLoader.updateStripeElements({clientSecret:r})})}getStripeJsVersion(e){return e.useNewStripeJsVersion?Ma.CLOVER:Ma.V3}mapStripeAddress(e){if(e){const{city:t,address1:n,address2:r,countryCode:i,postalCode:o,stateOrProvinceCode:a}=e;return Object.assign({city:t,country:i,postal_code:o,line1:n,line2:r},a?{state:a}:{})}throw new ar(rr.MissingBillingAddress)}getShopperFullName(e){const{firstName:t="",lastName:n=""}=e||{};return`${t} ${n}`.trim()}verifyCheckoutSpamProtection(){return Ys(this,void 0,void 0,function*(){const{shouldExecuteSpamCheck:e}=this.paymentIntegrationService.getState().getCheckoutOrThrow();e&&(yield this.paymentIntegrationService.verifyCheckoutSpamProtection())})}}const $s={size:70,color:"#d9d9d9",backgroundColor:"#ffffff"},Ks={position:"fixed","background-color":"rgba(0, 0, 0, 0.4)","z-index":"1000"},Zs="embedded-checkout-loading-indicator-rotation";class Js{constructor(e){this.styles=Object.assign(Object.assign({},$s),e&&e.styles),this.containerStyles=Object.assign({},e&&e.containerStyles),this.defineAnimation(),this.container=this.buildContainer(),this.indicator=this.buildIndicator(),this.container.appendChild(this.indicator)}show(e){if(e){const t=document.getElementById(e);if(!t)throw new Error("Unable to attach the loading indicator because the parent ID is not valid.");t.appendChild(this.container)}this.container.style.visibility="visible",this.container.style.opacity="1"}hide(){const e=()=>{this.container.style.visibility="hidden",this.container.removeEventListener("transitionend",e)};this.container.addEventListener("transitionend",e),this.container.style.opacity="0"}buildContainer(){const e=document.createElement("div");return e.style.display="block",e.style.bottom="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.position="absolute",e.style.right="0",e.style.top="0",e.style.transition="all 250ms ease-out",e.style.opacity="0",this.setStyleAttribute(e,this.containerStyles),e}buildIndicator(){const e=document.createElement("div");return e.style.display="block",e.style.width=`${this.styles.size}px`,e.style.height=`${this.styles.size}px`,e.style.borderRadius=`${this.styles.size}px`,e.style.border="solid 1px",e.style.borderColor=`${this.styles.backgroundColor} ${this.styles.backgroundColor} ${this.styles.color} ${this.styles.color}`,e.style.margin="0 auto",e.style.position="absolute",e.style.left="0",e.style.right="0",e.style.top="50%",e.style.transform="translateY(-50%) rotate(0deg)",e.style.transformStyle="preserve-3d",e.style.animation=`${Zs} 500ms infinite cubic-bezier(0.69, 0.31, 0.56, 0.83)`,e}setStyleAttribute(e,t){Object.keys(t).forEach(n=>{e.style.setProperty(n,t[n])})}defineAnimation(){var e;if(document.getElementById(Zs))return;const t=document.createElement("style");t.id=Zs,null===(e=document.head)||void 0===e||e.appendChild(t),t.sheet instanceof CSSStyleSheet&&t.sheet.insertRule(`\n @keyframes ${Zs} {\n 0% { transform: translateY(-50%) rotate(0deg); }\n 100% { transform: translateY(-50%) rotate(360deg); }\n }\n `,0)}}class Qs{constructor(e){this._decimalPlaces=e}toInteger(e){return Math.round(e*Math.pow(10,this._decimalPlaces))}}const Xs=["AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CV","CW","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MK","ML","MM","MN","MO","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW","ZZ"];var ec=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class tc{constructor(e,t,n,r){this.paymentIntegrationService=e,this.scriptLoader=t,this.stripeIntegrationService=n,this.loadingIndicator=r}initialize(e){return ec(this,void 0,void 0,function*(){const{stripeocs:t,containerId:n}=e||{};if(!t||!n)throw new ur(ir.PaymentNotInitialized);const{gatewayId:r}=t;if(!r)throw new ar(rr.MissingPaymentMethod);const i=this._getMethodId(r),o=yield this.paymentIntegrationService.loadPaymentMethod(r,{params:{method:i}}),a=o.getPaymentMethodOrThrow(i,r),{loadingContainerId:s,buttonHeight:c,onComplete:u}=t;if(this._loadingIndicatorContainer=s,this._onComplete=u,!function(e){return"object"==typeof e&&null!==e&&"initializationData"in e&&void 0!==e.initializationData&&null!==e.initializationData&&"object"==typeof e.initializationData&&"stripePublishableKey"in e.initializationData&&"stripeConnectedAccount"in e.initializationData&&"shopperLanguage"in e.initializationData&&void 0!==e.initializationData.stripePublishableKey&&void 0!==e.initializationData.stripeConnectedAccount&&void 0!==e.initializationData.shopperLanguage}(a))throw new ar(rr.MissingPaymentMethod);const{initializationData:d}=a,{captureMethod:l}=d,p=this.stripeIntegrationService.getStripeJsVersion(d);this._captureMethod=l,this._stripeClient=yield this.scriptLoader.getStripeClient(d,o.getCartLocale(),p),yield this.paymentIntegrationService.loadDefaultCheckout(),yield this._mountExpressCheckoutElement(n,this._stripeClient,c),this._initializeEvents(i)})}signIn(){return Promise.resolve()}signOut(){return Promise.resolve()}executePaymentMethodCheckout(){return Promise.resolve()}deinitialize(){return Promise.resolve()}_mountExpressCheckoutElement(e,t,n=40){return ec(this,void 0,void 0,function*(){const r=this._shouldRequireShippingAddress(),i=Object.assign(Object.assign(Object.assign({shippingAddressRequired:r},r?{allowedShippingCountries:yield this._getAvailableCountries()}:{}),r?{shippingRates:[{id:"_",amount:0,displayName:"Pending rates"}]}:{}),{billingAddressRequired:!0,emailRequired:!0,phoneNumberRequired:!0,paymentMethods:{link:Ra.AUTO,applePay:Ra.NEVER,googlePay:Ra.NEVER,amazonPay:Ra.NEVER,paypal:Ra.NEVER,klarna:Ra.NEVER},buttonHeight:n}),{cartAmount:o=1}=this.paymentIntegrationService.getState().getCart()||{},a=Object.assign({mode:"payment",amount:this._toCents(o),currency:this._getCurrency()},this._captureMethod?{captureMethod:this._captureMethod}:{});this._stripeElements=t.elements(a),this._linkV2Element=this._stripeElements.create(xa.EXPRESS_CHECKOUT,i),this._linkV2Element.mount(`#${e}`)})}_initializeEvents(e){this._linkV2Element&&(this._shouldRequireShippingAddress()&&(this._linkV2Element.on(Da.SHIPPING_ADDRESS_CHANGE,e=>ec(this,void 0,void 0,function*(){return this._onShippingAddressChange(e)})),this._linkV2Element.on(Da.SHIPPING_RATE_CHANGE,e=>ec(this,void 0,void 0,function*(){return this._onShippingRateChange(e)}))),this._linkV2Element.on(Da.CONFIRM,t=>ec(this,void 0,void 0,function*(){return this._onConfirm(t,e)})),this._linkV2Element.on(Da.CANCEL,this._onCancel))}_onShippingAddressChange(e){return ec(this,void 0,void 0,function*(){if(!("address"in e))return;const t=e.address,n={firstName:"",lastName:"",phone:"",company:"",address1:"",address2:"",city:(null==t?void 0:t.city)||"",countryCode:(null==t?void 0:t.country)||"",postalCode:(null==t?void 0:t.postal_code)||"",stateOrProvince:(null==t?void 0:t.state)||"",stateOrProvinceCode:(null==t?void 0:t.state)||"",customFields:[]};yield this.paymentIntegrationService.updateShippingAddress(n);const r=yield this._getAvailableShippingOptions();yield this._updateDisplayedPrice(),(null==r?void 0:r.length)?e.resolve({shippingRates:r}):e.reject()})}_onCancel(){throw new ri}_onShippingRateChange(e){return ec(this,void 0,void 0,function*(){if("shippingRate"in e){const{shippingRate:t}=e;yield this._handleShippingOptionChange(null==t?void 0:t.id),yield this._updateDisplayedPrice(),e.resolve({})}})}_onConfirm(e,t){return ec(this,void 0,void 0,function*(){if("billingDetails"in e&&"shippingAddress"in e&&this._stripeClient&&this._stripeElements){yield this.stripeIntegrationService.verifyCheckoutSpamProtection(),yield this._updateShippingAndBillingAddress(e),yield this.paymentIntegrationService.submitOrder();const n=this._getPaymentPayload(t);try{yield this.paymentIntegrationService.submitPayment(n)}catch(e){yield this._processAdditionalAction(e,t)}}return Promise.resolve()})}_updateShippingAndBillingAddress(e){var t,n,r,i,o,a,s,c;return ec(this,void 0,void 0,function*(){const u=this._shouldRequireShippingAddress(),d=(null===(n=null===(t=e.shippingAddress)||void 0===t?void 0:t.name)||void 0===n?void 0:n.split(" ")[0])||(null===(i=null===(r=e.billingDetails)||void 0===r?void 0:r.name)||void 0===i?void 0:i.split(" ")[0])||"",l=(null===(a=null===(o=e.shippingAddress)||void 0===o?void 0:o.name)||void 0===a?void 0:a.split(" ")[1])||(null===(c=null===(s=e.billingDetails)||void 0===s?void 0:s.name)||void 0===c?void 0:c.split(" ")[1])||"";if(u){const t=this._mapShippingAddress(e.shippingAddress,e.billingDetails,d,l);yield this.paymentIntegrationService.updateShippingAddress(t)}const p=this._mapBillingAddress(e.shippingAddress,e.billingDetails,d,l);yield this.paymentIntegrationService.updateBillingAddress(p)})}_mapShippingAddress(e,t,n,r){var i,o,a,s,c,u,d;return{firstName:n,lastName:r,phone:(null==t?void 0:t.phone)||"",company:"",address1:(null===(i=null==e?void 0:e.address)||void 0===i?void 0:i.line1)||"",address2:(null===(o=null==e?void 0:e.address)||void 0===o?void 0:o.line2)||"",city:(null===(a=null==e?void 0:e.address)||void 0===a?void 0:a.city)||"",countryCode:(null===(s=null==e?void 0:e.address)||void 0===s?void 0:s.country)||"",postalCode:(null===(c=null==e?void 0:e.address)||void 0===c?void 0:c.postal_code)||"",stateOrProvince:(null===(u=null==e?void 0:e.address)||void 0===u?void 0:u.state)||"",stateOrProvinceCode:(null===(d=null==e?void 0:e.address)||void 0===d?void 0:d.state)||"",customFields:[]}}_mapBillingAddress(e,t,n,r){var i,o,a,s,c,u;return{email:(null==t?void 0:t.email)||"",firstName:n,lastName:r,phone:(null==t?void 0:t.phone)||"",company:"",address1:(null===(i=null==t?void 0:t.address)||void 0===i?void 0:i.line1)||"",address2:"",city:(null===(o=null==t?void 0:t.address)||void 0===o?void 0:o.city)||"",countryCode:(null===(a=null==t?void 0:t.address)||void 0===a?void 0:a.country)||"",postalCode:(null===(s=null==t?void 0:t.address)||void 0===s?void 0:s.postal_code)||"",stateOrProvince:(null===(c=null==t?void 0:t.address)||void 0===c?void 0:c.state)||"",stateOrProvinceCode:(null===(u=null==e?void 0:e.address)||void 0===u?void 0:u.state)||"",customFields:[]}}_processAdditionalAction(e,t){return ec(this,void 0,void 0,function*(){if(!ma(e)||!this.stripeIntegrationService.isAdditionalActionError(e.body.errors))throw e;if(!this._stripeClient||!this._stripeElements)throw new ur(ir.PaymentNotInitialized);const{data:n}=e.body.additional_action_required,{token:r}=n,{paymentIntent:i}=yield this._confirmStripePaymentOrThrow(n,t),o=this._getPaymentPayload(t,(null==i?void 0:i.id)||r);try{this._toggleLoadingIndicator(!0),yield this.paymentIntegrationService.submitPayment(o),yield this._completeCheckoutFlow()}catch(e){this.stripeIntegrationService.throwPaymentConfirmationProceedMessage()}finally{this._toggleLoadingIndicator(!1)}})}_confirmStripePaymentOrThrow(e,t){var n,r,i;return ec(this,void 0,void 0,function*(){const{token:o,redirect_url:a}=e,s=this.stripeIntegrationService.mapStripePaymentData(this._stripeElements,a);let c;try{const e=(yield this.stripeIntegrationService.isPaymentCompleted(t,this._stripeClient))?yield null===(i=this._stripeClient)||void 0===i?void 0:i.retrievePaymentIntent(o||""):yield null===(n=this._stripeClient)||void 0===n?void 0:n.confirmPayment({elements:s.elements,clientSecret:o,redirect:Ra.IF_REQUIRED,confirmParams:{return_url:null===(r=s.confirmParams)||void 0===r?void 0:r.return_url}});if(c=null==e?void 0:e.error,c||!(null==e?void 0:e.paymentIntent))throw new Ho;return e}catch(e){return this.stripeIntegrationService.throwStripeError(c)}})}_completeCheckoutFlow(){return ec(this,void 0,void 0,function*(){return"function"==typeof this._onComplete?this._onComplete():(window.location.replace("/checkout/order-confirmation"),Promise.resolve())})}_getPaymentPayload(e,t){var n;const r=(null===(n=this.paymentIntegrationService.getState().getCart())||void 0===n?void 0:n.id)||"";return{methodId:e,paymentData:{formattedPayload:Object.assign(Object.assign({cart_id:r},t?{credit_card_token:{token:t}}:{}),{confirm:!1,method:ka.Link})}}}_shouldRequireShippingAddress(){const{getCart:e}=this.paymentIntegrationService.getState(),{lineItems:t}=e()||{};return!!(null==t?void 0:t.physicalItems.length)}_updateDisplayedPrice(){return ec(this,void 0,void 0,function*(){this._stripeElements&&this._stripeElements.update({currency:this._getCurrency(),mode:"payment",amount:yield this._getTotalPrice()})})}_getCurrency(){var e;if(!this._currencyCode){const t=null===(e=this.paymentIntegrationService.getState().getCart())||void 0===e?void 0:e.currency;t&&(this._currencyCode=t.code.toLowerCase())}return this._currencyCode}_getTotalPrice(){var e;return ec(this,void 0,void 0,function*(){yield this.paymentIntegrationService.loadCheckout();const{getCheckoutOrThrow:t,getCart:n}=this.paymentIntegrationService.getState(),{decimalPlaces:r}=(null===(e=n())||void 0===e?void 0:e.currency)||{},i=(0,f.round)(t().outstandingBalance,r).toFixed(r);return this._toCents(+i)})}_getAvailableCountries(){var e;return ec(this,void 0,void 0,function*(){const t=yield this.paymentIntegrationService.loadShippingCountries();return((null===(e=t.getShippingCountries())||void 0===e?void 0:e.map(e=>e.code))||[]).filter(e=>Xs.includes(e))})}_getAvailableShippingOptions(){var e,t,n;return ec(this,void 0,void 0,function*(){const r=this.paymentIntegrationService.getState().getConsignments();if(!(null==r?void 0:r[0]))return;const i=r[0],o=(i.availableShippingOptions||[]).map(this._getStripeShippingOption.bind(this)),a=null===(e=i.availableShippingOptions)||void 0===e?void 0:e.find(e=>e.isRecommended),s=null===(t=i.selectedShippingOption)||void 0===t?void 0:t.id,c=null==a?void 0:a.id;return s?o.sort(e=>e.id===s?-1:0):c?(o.sort(e=>e.id===c?-1:0),yield this._handleShippingOptionChange(c)):yield this._handleShippingOptionChange(null===(n=o[0])||void 0===n?void 0:n.id),o.slice(0,9)})}_getStripeShippingOption({id:e,cost:t,description:n}){return{id:e,displayName:n,amount:this._toCents(t)}}_handleShippingOptionChange(e){return ec(this,void 0,void 0,function*(){if(e&&"shipping_option_unselected"!==e)return this.paymentIntegrationService.selectShippingOption(e)})}_getAmountTransformer(){if(this._amountTransformer)return this._amountTransformer;const{getCart:e}=this.paymentIntegrationService.getState(),{currency:t}=e()||{};return t?new Qs(t.decimalPlaces):void 0}_toCents(e){const t=Math.round(100*e),n=this._getAmountTransformer();return n?n.toInteger(e):t}_toggleLoadingIndicator(e){e&&this._loadingIndicatorContainer?this.loadingIndicator.show(this._loadingIndicatorContainer):this.loadingIndicator.hide()}_getMethodId(e){const{initializationData:{checkoutSessionEnabled:t}={}}=this.paymentIntegrationService.getState().getPaymentMethodOrThrow(e);return t?ka.CHECKOUT_SESSION:ka.OCS}}const nc=Sr(e=>{const t=new za((0,or.vQ)()),n=new Js({containerStyles:Ks});return new tc(e,t,new Ws(e,t),n)},[{id:"stripeocs"}]);var rc=n(9386),ic=n(2161);function oc(e,t,n){const r=new WeakMap;function i(e){return(...n)=>{const i=n[n.length-1],{useCache:o}=(a=i)&&"boolean"==typeof a.useCache?i:{useCache:!1};var a;if(!o)return e.call(this,...n);const s=r.get(this)||{};var c;return r.get(this)||r.set(this,s),s[t]||(s[t]=(c=e,(0,jn.Bj)(function(...e){const t=c.call(this,...e);return t instanceof rc.c?(0,w.H)(t).pipe((0,ic.t)()):"function"==typeof t?(0,jn.Bj)(e=>(0,w.H)(t(e)).pipe((0,ic.t)()),{isEqual:f.isEqual}):t},{isEqual:f.isEqual}))),s[t].call(this,...n)}}return{get(){if("function"!=typeof n.value)throw new Error("Decorator should be used in functions");const e=i.call(this,n.value);return Object.defineProperty(this,t,Object.assign(Object.assign({},n),{value:e})),e}}}function ac(e,t,n,r){var i,o,a,s,c,u,d,l;return c=this,u=void 0,l=function*(){const c=t.customer.getCustomer(),u=t.b2bToken.getToken(),d=(l=null!==(a=null===(o=null===(i=t.config.getStoreConfig())||void 0===i?void 0:i.b2bApiSettings)||void 0===o?void 0:o.baseUrl)&&void 0!==a?a:"",function(){if("undefined"==typeof window||!window.location)return!1;try{return!!new URLSearchParams(window.location.search).has("enableB2bDevMode")&&(console.log("B2B Dev Mode Enabled"),!0)}catch(e){return!1}}()?"https://api-b2b.bigcommerce.com":l);var l;const p=null===(s=t.cart.getCart())||void 0===s?void 0:s.companyId;if(!c||c.isGuest||!u||!d||!p)throw new Gn(Vn.MissingCheckoutConfig);const{body:h}=yield n.getB2BCompanyPaymentMethods(p,u,d,r);return function(e,t){const n=new Set(t.data.filter(e=>"1"===e.isEnabled).map(e=>e.code));return e.filter(e=>n.has(e.id))}(e,h)},new((d=void 0)||(d=Promise))(function(e,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function r(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):(i=t.value,i instanceof d?i:new d(function(e){e(i)})).then(n,r)}i((l=l.apply(c,u||[])).next())})}var sc=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};const cc=e=>!!e;class uc{constructor(e,t){this._requestSender=e,this._b2bCompanyPaymentMethodRequestSender=t}loadPaymentMethodsById(e,t){return n=>new rc.c(r=>{var i;const a=null===(i=n.getState().cart.getCart())||void 0===i?void 0:i.id,s=a?Object.assign(Object.assign({},null==t?void 0:t.params),{cartId:a}):Object.assign({},null==t?void 0:t.params);r.next((0,o.VP)(ht.LoadPaymentMethodsRequested)),Promise.all(e.map(e=>sc(this,void 0,void 0,function*(){try{return(yield this._requestSender.loadPaymentMethod(e,Object.assign(Object.assign({},t),{params:s}))).body}catch(e){return}}))).then(e=>{const t=e.filter(cc);r.next((0,o.VP)(ht.LoadPaymentMethodsSucceeded,t)),r.complete()}).catch(e=>{r.next((0,o.VP)(ht.LoadPaymentMethodsFailed,e)),r.complete()})})}loadPaymentMethods(e){return t=>rc.c.create(n=>{const r=t.getState(),i=r.cart.getCartOrThrow();n.next((0,o.VP)(ht.LoadPaymentMethodsRequested)),this._requestSender.loadPaymentMethods(Object.assign(Object.assign({},e),{params:Object.assign(Object.assign({},null==e?void 0:e.params),{cartId:i.id})})).then(t=>sc(this,void 0,void 0,function*(){var i,a,s,c;const u={deviceSessionId:t.headers["x-device-session-id"],sessionHash:t.headers["x-session-hash"]};let d=t.body;null!==(c=null===(s=null===(a=null===(i=r.config.getStoreConfig())||void 0===i?void 0:i.checkoutSettings.capabilities)||void 0===a?void 0:a.payment)||void 0===s?void 0:s.b2bPaymentMethodFilter)&&void 0!==c&&c&&(d=yield ac(d,r,this._b2bCompanyPaymentMethodRequestSender,e)),n.next((0,o.VP)(ht.LoadPaymentMethodsSucceeded,d,u)),n.complete()})).catch(e=>{n.error((0,o.fQ)(ht.LoadPaymentMethodsFailed,e))})})}loadPaymentMethod(e,t){return n=>rc.c.create(r=>{var i;const a=null===(i=n.getState().cart.getCart())||void 0===i?void 0:i.id,s=a?Object.assign(Object.assign({},null==t?void 0:t.params),{cartId:a}):Object.assign({},null==t?void 0:t.params);r.next((0,o.VP)(ht.LoadPaymentMethodRequested,void 0,{methodId:e})),this._requestSender.loadPaymentMethod(e,Object.assign(Object.assign({},t),{params:s})).then(t=>{r.next((0,o.VP)(ht.LoadPaymentMethodSucceeded,t.body,{methodId:e})),r.complete()}).catch(t=>{r.error((0,o.fQ)(ht.LoadPaymentMethodFailed,t,{methodId:e}))})})}}var dc;(function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)})([oc],uc.prototype,"loadPaymentMethod",null),function(e){e.Json="application/json",e.JsonV1="application/vnd.bc.v1+json"}(dc||(dc={}));const lc=dc,pc="This API endpoint is for internal use only and may change in the future",hc={"X-Checkout-SDK-Version":"1.916.1"};class fc{constructor(e){this._requestSender=e}loadPaymentMethods({timeout:e,params:t}={}){return this._requestSender.get("/api/storefront/payments",{timeout:e,headers:Object.assign({Accept:lc.JsonV1,"X-API-INTERNAL":pc},hc),params:t})}loadPaymentMethod(e,{timeout:t,params:n}={}){const r=`/api/storefront/payments/${e}`;return this._requestSender.get(r,{timeout:t,headers:Object.assign({Accept:lc.JsonV1,"X-API-INTERNAL":pc},hc),params:n})}}class yc{constructor(e){this._requestSender=e}getB2BCompanyPaymentMethods(e,t,n,r){return i=this,o=void 0,s=function*(){return this._requestSender.get(`${n}/api/v2/companies/${e}/payments`,{timeout:null==r?void 0:r.timeout,credentials:!1,headers:{authToken:t,Authorization:`Bearer ${t}`}})},new((a=void 0)||(a=Promise))(function(e,t){function n(e){try{c(s.next(e))}catch(e){t(e)}}function r(e){try{c(s.throw(e))}catch(e){t(e)}}function c(t){var i;t.done?e(t.value):(i=t.value,i instanceof a?i:new a(function(e){e(i)})).then(n,r)}c((s=s.apply(i,o||[])).next())});var i,o,a,s}}var mc=n(3837),gc=n(9301),vc=n(4128),_c=n(277),bc=n(6780),Sc=n(4203);function wc(e,t,n){return(r=t)&&r.type&&r.error?(0,gc.x)((0,vc.of)(t),(0,Sc.$)((0,o.fQ)(e,t.payload,n))):(0,Sc.$)((0,o.fQ)(e,t,n));var r}class Cc extends d{constructor(e){super(e||"Unable to continue as a guest because the customer is already signed in."),this.name="UnableToContinueAsGuestError",this.type="unable_to_continue_as_guest"}}class Ic{constructor(e,t){this._requestSender=e,this._subscriptionActionCreator=t}continueAsGuest(e,t){return n=>{const r=n.getState(),i=r.checkout.getCheckout();if(!i)throw new Gn(Vn.MissingCheckout);const a=r.customer.getCustomer();if(a&&!a.isGuest)throw new Cc;const s=r.billingAddress.getBillingAddress();let c;if(s){const{country:t}=s,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{return e=this,n=void 0,a=function*(){const{body:e}=yield this._createOrUpdateBillingAddress(i.id,c,u,t);return(0,o.VP)(j.ContinueAsGuestSucceeded,e)},new((r=void 0)||(r=Promise))(function(t,i){function o(e){try{c(a.next(e))}catch(e){i(e)}}function s(e){try{c(a.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r(function(e){e(n)})).then(o,s)}c((a=a.apply(e,n||[])).next())});var e,n,r,a})).pipe((0,C.W)(e=>wc(j.ContinueAsGuestFailed,e))),this._updateCustomerConsent(e,t))}}updateAddress(e,t){return n=>rc.c.create(r=>{const i=n.getState(),a=i.checkout.getCheckout();if(!a)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)(j.UpdateBillingAddressRequested));const s=i.billingAddress.getBillingAddress(),c=!(0,f.isEmpty)(s),u=Object.assign(Object.assign({},e),{email:void 0===e.email&&s?s.email:e.email});s&&s.id&&(u.id=s.id),this._createOrUpdateBillingAddress(a.id,u,c,t).then(({body:e})=>{r.next((0,o.VP)(j.UpdateBillingAddressSucceeded,e)),r.complete()}).catch(e=>{r.error((0,o.fQ)(j.UpdateBillingAddressFailed,e))})})}_updateCustomerConsent({email:e,acceptsAbandonedCartEmails:t,acceptsMarketingNewsletter:n},r){return null==t&&null==n?(0,bc.I)():this._subscriptionActionCreator.updateSubscriptions({email:e,acceptsMarketingNewsletter:n||!1,acceptsAbandonedCartEmails:t||!1},r)}_createOrUpdateBillingAddress(e,t,n,r){return n?this._requestSender.updateAddress(e,t,r):this._requestSender.createAddress(e,t,r)}}class Ec extends d{constructor(e){super(e||"Your checkout could not be processed because your cart is empty. Please add items to your cart and try again."),this.name="EmptyCartError",this.type="empty_cart"}}const Pc={include:["cart.lineItems.physicalItems.options","cart.lineItems.physicalItems.stockPosition","cart.lineItems.digitalItems.options","cart.lineItems.digitalItems.stockPosition","customer","promotions.banners"].join(",")};class Oc{constructor(e){this._requestSender=e}createAddress(e,t,{timeout:n}={}){const r=`/api/storefront/checkouts/${e}/billing-address`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post(r,{body:t,params:Pc,headers:i,timeout:n}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}updateAddress(e,t,{timeout:n}={}){const{id:r}=t,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{if("empty_cart"===e.body.type)throw new Ec;throw e})}}class Ac{constructor(e){this._requestSender=e}createBuyNowCart(e,{timeout:t}={}){const n=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post("/api/storefront/carts",{body:e,headers:n,timeout:t})}}class Tc{constructor(e,t,n){this._checkoutRequestSender=e,this._configActionCreator=t,this._formFieldsActionCreator=n}loadCheckout(e,t){return()=>(0,gc.x)((0,vc.of)((0,o.VP)(x.LoadCheckoutRequested)),(0,mc.h)(this._configActionCreator.loadConfig({useCache:!0,timeout:null==t?void 0:t.timeout,params:{checkoutId:e}}),this._formFieldsActionCreator.loadFormFields({useCache:!0,timeout:null==t?void 0:t.timeout})),(0,_c.v)(()=>this._checkoutRequestSender.loadCheckout(e,t).then(({body:e})=>(0,o.VP)(x.LoadCheckoutSucceeded,this._transformCustomerAddresses(e))))).pipe((0,C.W)(e=>wc(x.LoadCheckoutFailed,e)))}loadDefaultCheckout(e){return t=>(0,gc.x)((0,vc.of)((0,o.VP)(x.LoadCheckoutRequested)),(0,mc.h)(this._configActionCreator.loadConfig({useCache:!0,timeout:null==e?void 0:e.timeout}),this._formFieldsActionCreator.loadFormFields({useCache:!0,timeout:null==e?void 0:e.timeout})),(0,_c.v)(()=>{return n=this,r=void 0,a=function*(){const n=t.getState().config.getContextConfig();if(!n||!n.checkoutId)throw new Gn(Vn.MissingCheckoutConfig);const{body:r}=yield this._checkoutRequestSender.loadCheckout(n.checkoutId,e);return(0,o.VP)(x.LoadCheckoutSucceeded,this._transformCustomerAddresses(r))},new((i=void 0)||(i=Promise))(function(e,t){function o(e){try{c(a.next(e))}catch(e){t(e)}}function s(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(o,s)}c((a=a.apply(n,r||[])).next())});var n,r,i,a})).pipe((0,C.W)(e=>wc(x.LoadCheckoutFailed,e)))}updateCheckout(e,t){return n=>new rc.c(r=>{const i=n.getState().checkout.getCheckout();if(!i)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)(x.UpdateCheckoutRequested)),this._checkoutRequestSender.updateCheckout(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)(x.UpdateCheckoutSucceeded,e)),r.complete()}).catch(e=>{r.error((0,o.fQ)(x.UpdateCheckoutFailed,e))})})}loadCurrentCheckout(e){return t=>{const n=t.getState().checkout.getCheckout();if(!n)throw new Gn(Vn.MissingCheckout);return this.loadCheckout(n.id,e)(t)}}hydrateInitialState(e){return{type:N.HydrateInitialState,payload:e}}_transformCustomerAddresses(e){return Object.assign(Object.assign({},e),{customer:Object.assign(Object.assign({},e.customer),{addresses:e.customer.addresses.map(e=>Object.assign(Object.assign({},e),{shouldSaveAddress:!1}))})})}}function kc(e){return(0,f.uniq)(e).join(",")}function Rc(e,t=[]){return Array.isArray(t)?kc([...e,...t]):function(e,t){const n=(0,f.keys)((0,f.pickBy)(t,e=>!e)),r=(0,f.keys)((0,f.filter)(t));return kc([...(0,f.difference)(e,n),...r])}(e,t)}const Mc=["cart.lineItems.physicalItems.options","cart.lineItems.physicalItems.stockPosition","cart.lineItems.digitalItems.options","cart.lineItems.digitalItems.stockPosition","customer","customer.customerGroup","payments","promotions.banners"];class xc extends p{constructor(e){super(e,{message:e.body.title}),this.name="CheckoutNotAvailableError",this.type="checkout_not_available"}}class Nc{constructor(e){this._requestSender=e}loadCheckout(e,{params:{include:t}={},timeout:n}={}){const r=`/api/storefront/checkout/${e}`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.get(r,{params:{include:Rc(Mc,t)},headers:i,timeout:n}).catch(e=>{if(e.status>=400&&e.status<500)throw new xc(e);throw e})}updateCheckout(e,t,{params:{include:n}={},timeout:r}={}){const i=`/api/storefront/checkout/${e}`,o=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.put(i,{params:{include:Rc(Mc,n)},body:t,headers:o,timeout:r}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}}class Dc{isEqual(e,t){return(0,f.isEqual)(this._normalize(e),this._normalize(t))}_normalize(e){return{cartAmount:e.cartAmount,currency:e.currency,id:e.id,lineItems:{digitalItems:e.lineItems.digitalItems.slice().sort((e,t)=>`${e.productId}${e.variantId}`.localeCompare(`${t.productId}${t.variantId}`)).map(e=>({extendedSalePrice:e.extendedSalePrice,productId:e.productId,quantity:e.quantity,variantId:e.variantId})),giftCertificates:e.lineItems.giftCertificates.slice().sort((e,t)=>`${e.id}`.localeCompare(`${t.id}`)).map(e=>({amount:e.amount,recipient:e.recipient})),physicalItems:e.lineItems.physicalItems.slice().sort((e,t)=>`${e.productId}${e.variantId}`.localeCompare(`${t.productId}${t.variantId}`)).map(e=>({extendedSalePrice:e.extendedSalePrice,productId:e.productId,quantity:e.quantity,variantId:e.variantId,giftWrapping:e.giftWrapping}))}}}}class jc extends d{constructor(e,t){super("An update to your shopping cart has been detected and your available shipping costs have been updated."),this.name="CartChangedError",this.type="cart_changed",this.data={previous:e,updated:t}}}class Lc{constructor(e){this._checkoutRequestSender=e}validate(e,t){if(!e)throw new Gn(Vn.MissingCheckout);return this._checkoutRequestSender.loadCheckout(e.id,t).then(t=>{const n=new Dc;if(!(e.outstandingBalance===t.body.outstandingBalance&&this._compareCoupons(e.coupons,t.body.coupons)&&this._compareGiftCertificates(e.giftCertificates,t.body.giftCertificates)&&n.isEqual(e.cart,t.body.cart)))throw new jc(this._getComparableCheckout(e),this._getComparableCheckout(t.body))})}_compareCoupons(e,t){return(0,f.isEqual)((0,f.map)(e,"code"),(0,f.map)(t,"code"))}_compareGiftCertificates(e,t){return(0,f.isEqual)((0,f.map)(e,"code"),(0,f.map)(t,"code"))}_getComparableCheckout(e){const{cart:t,coupons:n,giftCertificates:r,outstandingBalance:i}=e;return{cart:{cartAmount:t.cartAmount,currency:t.currency,lineItems:t.lineItems},coupons:n,giftCertificates:r,outstandingBalance:i}}}var zc;class Fc{constructor(e){this._configRequestSender=e}loadConfig(e){return rc.c.create(t=>{t.next((0,o.VP)(ue.LoadConfigRequested)),this._configRequestSender.loadConfig(e).then(e=>{t.next((0,o.VP)(ue.LoadConfigSucceeded,e.body)),t.complete()}).catch(e=>{t.error((0,o.fQ)(ue.LoadConfigFailed,e))})})}}!function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([oc],Fc.prototype,"loadConfig",null);class Bc{constructor(e){this._requestSender=e}loadConfig({timeout:e,params:t}={}){return this._requestSender.get("/api/storefront/checkout-settings",{timeout:e,headers:Object.assign({Accept:lc.JsonV1,"X-API-INTERNAL":pc},hc),params:t}).catch(e=>{if(e.status>=400&&e.status<500)throw new xc(e);throw e})}}class Uc{constructor(e){this._couponRequestSender=e}applyCoupon(e,t){return n=>rc.c.create(r=>{const i=n.getState().checkout.getCheckout();if(!i)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)(Y.ApplyCouponRequested)),this._couponRequestSender.applyCoupon(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)(Y.ApplyCouponSucceeded,e)),r.complete()}).catch(e=>{r.error((0,o.fQ)(Y.ApplyCouponFailed,e))})})}removeCoupon(e,t){return n=>rc.c.create(r=>{const i=n.getState().checkout.getCheckout();if(!i)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)(Y.RemoveCouponRequested)),this._couponRequestSender.removeCoupon(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)(Y.RemoveCouponSucceeded,e)),r.complete()}).catch(e=>{r.error((0,o.fQ)(Y.RemoveCouponFailed,e))})})}}!function(e){e.AvailableShippingOptions="consignments.availableShippingOptions",e.PhysicalItemsCategoryNames="cart.lineItems.physicalItems.categoryNames",e.DigitalItemsCategoryNames="cart.lineItems.digitalItems.categoryNames"}(zc||(zc={}));class qc{constructor(e){this._requestSender=e}applyCoupon(e,t,{timeout:n}={}){const r=`/api/storefront/checkouts/${e}/coupons`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post(r,{headers:i,timeout:n,params:{include:kc([...Mc,zc.AvailableShippingOptions])},body:{couponCode:t}}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}removeCoupon(e,t,{timeout:n}={}){const r=`/api/storefront/checkouts/${e}/coupons/${t}`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.delete(r,{headers:i,timeout:n,params:{include:kc([...Mc,zc.AvailableShippingOptions])}}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}}var Vc=n(9835);function Gc(e){const t=e;return"object"==typeof t&&"object"==typeof t.payload&&"string"==typeof t.payload.token}class Hc{constructor(e,t,n){this._customerRequestSender=e,this._checkoutActionCreator=t,this._spamProtectionActionCreator=n}createCustomer(e,t){return n=>{const r=n.getState().config.getStoreConfigOrThrow(),{isStorefrontSpamProtectionEnabled:i}=r.checkoutSettings,a=r=>(0,w.H)(this._customerRequestSender.createAccount(Object.assign(Object.assign({},e),{token:r}),t)).pipe((0,Vc.n)(()=>(0,gc.x)(this._checkoutActionCreator.loadCurrentCheckout(t)(n),(0,vc.of)((0,o.VP)(Pe.CreateCustomerSucceeded)))));return(0,gc.x)((0,vc.of)((0,o.VP)(Pe.CreateCustomerRequested)),i?(0,w.H)(this._spamProtectionActionCreator.execute()(n)).pipe((0,Vc.n)(e=>{var t;return Gc(e)?(0,gc.x)((0,vc.of)(e),a(null===(t=e.payload)||void 0===t?void 0:t.token)):(0,vc.of)(e)})):a()).pipe((0,C.W)(e=>wc(Pe.CreateCustomerFailed,e)))}}createAddress(e,t){return(0,gc.x)((0,vc.of)((0,o.VP)(Pe.CreateCustomerAddressRequested)),(0,_c.v)(()=>{return n=this,r=void 0,a=function*(){const{body:n}=yield this._customerRequestSender.createAddress(e,t);return(0,o.VP)(Pe.CreateCustomerAddressSucceeded,n)},new((i=void 0)||(i=Promise))(function(e,t){function o(e){try{c(a.next(e))}catch(e){t(e)}}function s(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(o,s)}c((a=a.apply(n,r||[])).next())});var n,r,i,a})).pipe((0,C.W)(e=>wc(Pe.CreateCustomerAddressFailed,e)))}signInCustomer(e,t){return n=>{const r=n.getState().checkout.getCheckoutOrThrow(),i=r.cart.source===pi.BuyNow?r.id:void 0;return(0,gc.x)((0,vc.of)((0,o.VP)(Pe.SignInCustomerRequested)),(0,w.H)(this._customerRequestSender.signInCustomer(Object.assign(Object.assign({},e),{cartId:i}),t)).pipe((0,Vc.n)(({body:e})=>e.data.persistentCartRetrievalInformation?(0,gc.x)(this._checkoutActionCreator.loadCheckout(e.data.persistentCartRetrievalInformation.id,t)(n),(0,vc.of)((0,o.VP)(Pe.SignInCustomerSucceeded,e.data))):(0,gc.x)(this._checkoutActionCreator.loadCurrentCheckout(t)(n),(0,vc.of)((0,o.VP)(Pe.SignInCustomerSucceeded,e.data)))))).pipe((0,C.W)(e=>wc(Pe.SignInCustomerFailed,e)))}}signOutCustomer(e){return t=>{const n=t.getState().checkout.getCheckoutOrThrow(),r=n.cart.source===pi.BuyNow?n.id:void 0;return(0,gc.x)((0,vc.of)((0,o.VP)(Pe.SignOutCustomerRequested)),(0,w.H)(this._customerRequestSender.signOutCustomer(e,r)).pipe((0,Vc.n)(({body:n})=>(0,gc.x)(this._checkoutActionCreator.loadCurrentCheckout(e)(t),(0,vc.of)((0,o.VP)(Pe.SignOutCustomerSucceeded,n.data)))))).pipe((0,C.W)(e=>wc(Pe.SignOutCustomerFailed,e)))}}}class Yc{constructor(e){this._requestSender=e}createAccount(e,{timeout:t}={}){return this._requestSender.post("/api/storefront/customer",{timeout:t,headers:hc,body:e})}createAddress(e,{timeout:t}={}){return this._requestSender.post("/api/storefront/customer-address",{timeout:t,headers:hc,body:e})}signInCustomer(e,{timeout:t}={}){return this._requestSender.post("/internalapi/v1/checkout/customer",{timeout:t,headers:hc,body:e})}signOutCustomer({timeout:e}={},t){return this._requestSender.delete("/internalapi/v1/checkout/customer",Object.assign({timeout:e,headers:hc},t&&{body:{cartId:t}}))}}class Wc{constructor(e){this._formFieldsRequestSender=e}loadFormFields(e){return(0,gc.x)((0,vc.of)((0,o.VP)(Ge.LoadFormFieldsRequested)),(0,_c.v)(()=>{return t=this,n=void 0,i=function*(){const{body:t}=yield this._formFieldsRequestSender.loadFields(e);return(0,o.VP)(Ge.LoadFormFieldsSucceeded,t)},new((r=void 0)||(r=Promise))(function(e,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(a,s)}c((i=i.apply(t,n||[])).next())});var t,n,r,i})).pipe((0,C.W)(e=>wc(Ge.LoadFormFieldsFailed,e)))}}!function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([oc],Wc.prototype,"loadFormFields",null);class $c{constructor(e){this._requestSender=e}loadFields({timeout:e}={}){return this._requestSender.get("/api/storefront/form-fields",{timeout:e,headers:Object.assign({Accept:lc.JsonV1,"X-API-INTERNAL":pc},hc)})}}class Kc extends d{constructor(e){super(e||"Unable to proceed because the required element is unexpectedly detached from the page."),this.name="UnexpectedDetachmentError",this.type="unexpected_detachment"}}class Zc{constructor(e){this._mutationObserver=e}ensurePresence(e,t){return n=this,r=void 0,o=function*(){const n=new $i(t),r=this._mutationObserver.create(t=>{t.forEach(t=>{0!==Array.from(t.removedNodes).filter(t=>e.some(e=>t===e||t.contains(e))).length&&n.cancel(new Kc)})});r.observe(document.body,{childList:!0,subtree:!0});try{const e=yield n.promise;return r.disconnect(),e}catch(e){throw r.disconnect(),e}},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}}class Jc{constructor(e=window){this._window=e}create(e){return new this._window.MutationObserver(e)}}var Qc=n(1381),Xc=n(6275),eu=n(2035),tu=n(1698);class nu extends d{constructor(e){super(e||"Invalid arguments have been provided."),this.name="InvalidArgumentError",this.type="invalid_argument"}}function ru(e){if(!/^(https?:)?\/\//.test(e))throw new nu("The provided URL must be absolute.");const t=document.createElement("a");t.href=e;const n=t.port&&-1!==e.indexOf(`${t.hostname}:${t.port}`)?t.port:"";return{hash:t.hash,hostname:t.hostname,href:t.href,origin:`${t.protocol}//${t.hostname}${n?`:${n}`:""}`,pathname:t.pathname,port:n,protocol:t.protocol,search:t.search}}function iu(e,t){return e.type===t}class ou{constructor(e,t,n){this._targetWindow=t,this._context=n,this._targetOrigin="*"===e?"*":ru(e).origin}post(e,t){const n=this._targetWindow;if(window===n)return;if(!n)throw new Error("Unable to post message because target window is not set.");const r=t&&(0,Qc.R)(window,"message").pipe((0,Xc.p)(e=>e.origin===this._targetOrigin&&iu(e.data,e.data.type)&&-1!==[t.successType,t.errorType].indexOf(e.data.type)),(0,eu.T)(e=>{if(t.errorType===e.data.type)throw e.data;return e.data}),(0,tu.s)(1)).toPromise();return n.postMessage(Object.assign(Object.assign({},e),{context:this._context}),this._targetOrigin),r}setTarget(e){this._targetWindow=e}setContext(e){this._context=e}}class au{constructor(e){var t;this._sourceOrigins=[ru(e).origin,(t=ru(e),ru(0===t.hostname.indexOf("www")?t.href:t.href.replace(t.hostname,`www.${t.hostname}`))).origin],this._isListening=!1,this._listeners={}}listen(){this._isListening||(this._isListening=!0,window.addEventListener("message",this._handleMessage))}stopListen(){this._isListening&&(this._isListening=!1,window.removeEventListener("message",this._handleMessage))}addListener(e,t){let n=this._listeners[e];n||(this._listeners[e]=n=[]),-1===n.indexOf(t)&&n.push(t)}removeListener(e,t){const n=this._listeners[e];if(!n)return;const r=n.indexOf(t);r>=0&&n.splice(r,1)}trigger(e,t){const n=this._listeners[e.type];n&&n.forEach(n=>t?n(e,t):n(e))}_handleMessage(e){if(-1===this._sourceOrigins.indexOf(e.origin)||!iu(e.data,e.data.type))return;const t=e.data,{context:n}=t,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([Eo],au.prototype,"_handleMessage",null);class su extends d{constructor(){super("You haven't complete our spam protection challenge. Please try again."),this.name="SpamProtectionChallengeNotCompletedError",this.type="spam_protection_challenge_not_completed"}}class cu extends d{constructor(){super("Please complete our human verification challenge and try again."),this.name="CardingProtectionChallengeNotCompletedError",this.type="carding_protection_challenge_not_completed"}}class uu extends d{constructor(){super("We were not able to verify that you are not a robot. Please try again."),this.name="CardingProtectionFailedError",this.type="carding_protection_failed"}}var du=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class lu{constructor(e){this._googleRecaptcha=e}handle(e,t){return du(this,void 0,void 0,function*(){return"string"==typeof e?this.handleWithRecaptchaSitekey(e,t):this.handleWithPaymentHumanVerificationRequestError(e)})}handleWithPaymentHumanVerificationRequestError(e){return du(this,void 0,void 0,function*(){if(!this._isPaymentHumanVerificationRequest(e))throw e;return yield this._initialize(e.body.additional_action_required.data.key),this._performRecaptcha()})}handleWithRecaptchaSitekey(e,t){return du(this,void 0,void 0,function*(){if("recaptcha_v2"!==e)throw Error("Human verification method is not supported.");if(!t)throw Error("Recaptcha site key is missing.");return yield this._initialize(t),this._performRecaptcha()})}_performRecaptcha(){return this._googleRecaptcha.execute().pipe((0,tu.s)(1)).pipe((0,Vc.n)(({error:e,token:t})=>du(this,void 0,void 0,function*(){if(e instanceof su)throw new cu;if(e||!t)throw new uu;return{type:"recaptcha_v2_verification",data:{human_verification_token:t}}}))).toPromise()}_initialize(e){const t="cardingProtectionContainer";let n=document.getElementById(t);return n&&n.parentNode&&n.parentNode.removeChild(n),n=document.createElement("div"),n.setAttribute("id",t),document.body.appendChild(n),this._googleRecaptcha.load(t,e)}_isPaymentHumanVerificationRequest(e){const{additional_action_required:t,status:n}=e.body||{};return"additional_action_required"===n&&t&&"recaptcha_v2_verification"===t.type}}var pu,hu,fu,yu=n(9023),mu=n(2551),gu=n(3158);!function(e){e[e.CheckoutButtonNotInitialized=0]="CheckoutButtonNotInitialized",e[e.CustomerNotInitialized=1]="CustomerNotInitialized",e[e.PaymentNotInitialized=2]="PaymentNotInitialized",e[e.ShippingNotInitialized=3]="ShippingNotInitialized",e[e.SpamProtectionNotInitialized=4]="SpamProtectionNotInitialized"}(pu||(pu={}));class vu extends d{constructor(e){super(function(e){switch(e){case pu.CustomerNotInitialized:return"Unable to proceed because the customer step of checkout has not been initialized.";case pu.PaymentNotInitialized:return"Unable to proceed because the payment step of checkout has not been initialized.";case pu.ShippingNotInitialized:return"Unable to proceed because the shipping step of checkout has not been initialized.";case pu.SpamProtectionNotInitialized:return"Unable to proceed because the checkout spam protection has not been initialized.";default:return"Unable to proceed because the required component has not been initialized."}}(e)),this.subtype=e,this.name="NotInitializedError",this.type="not_initialized"}}class _u extends d{constructor(){super("We were not able to complete your spam protection verification. Please try again."),this.name="SpamProtectionFailedError",this.type="spam_protection_failed"}}class bu extends d{constructor(){super("Spam protection is not loaded. Please try again."),this.name="SpamProtectionNotLoadedError",this.type="spam_protection_failed"}}class Su{constructor(e,t){this.googleRecaptchaScriptLoader=e,this.mutationObserverFactory=t,this._memoized=(0,jn.Bj)((e,t,n)=>{const r=new yu.B7;if(!n)throw new Error;return this._widgetId=e.render(n.id,{sitekey:t,size:"invisible",callback:()=>{r.next({token:e.getResponse(this._widgetId)}),e.reset(this._widgetId)},"error-callback":()=>{r.next({error:new _u})}}),r},{isEqual:(e,t)=>e===t})}load(e,t){return this.googleRecaptchaScriptLoader.load().then(n=>{n&&(this._event$=this._memoized(n,t,document.getElementById(e)),this._recaptcha=n)}).catch(e=>{throw e})}reset(e){var t;const n=document.getElementById(e);null==n||n.remove(),null===(t=this._recaptcha)||void 0===t||t.reset(this._widgetId)}execute(){return(0,_c.v)(()=>{const e=this._event$,t=this._recaptcha;if(!e||!t)throw new vu(pu.SpamProtectionNotInitialized);return(0,_c.v)(()=>{const e=document.querySelector('iframe[src*="bframe"]');return e?(0,vc.of)(e):(0,Sc.$)(new bu)}).pipe((0,mu.l)(e=>e.pipe((0,gu.c)(250),(0,Vc.n)((e,t)=>t<28?(0,vc.of)(e):(0,Sc.$)(e)))),(0,Vc.n)(n=>(this._watchRecaptchaChallengeWindow(e,n),t.execute(this._widgetId),e)),(0,C.W)(e=>(0,vc.of)({error:e})))})}_watchRecaptchaChallengeWindow(e,t){const n=t.parentElement;if(!n)throw new bu;const r=n.parentElement;if(!r)throw new bu;this.mutationObserverFactory.create(()=>{"hidden"===r.style.visibility&&e.next({error:new su})}).observe(r,{attributes:!0,attributeFilter:["style"]})}}class wu{constructor(e,t=window){this._scriptLoader=e,this._window=t}load(){return this._loadPromise||(this._loadPromise=this._loadScript()),this._loadPromise}_loadScript(){const e="initRecaptcha",t=[`onload=${e}`,"render=explicit"].join("&");return new Promise((n,r)=>{this._window[e]=()=>n(this._window.grecaptcha),this._scriptLoader.loadScript(`//www.google.com/recaptcha/api.js?${t}`).catch(e=>{this._loadPromise=void 0,r(e)})})}}function Cu(e){return new Su(new wu(e),new Jc)}class Iu extends d{constructor(e){super(e||"Unable to proceed due to invalid configuration provided for the hosted payment form."),this.name="InvalidHostedFormConfigError",this.type="invalid_hosted_form_config"}}class Eu extends d{constructor(e){super(e||"Unable to proceed due to an unknown error with the hosted payment form."),this.name="InvalidHostedFormError",this.type="invalid_hosted_form"}}class Pu extends d{constructor(e){super(["Unable to proceed due to invalid user input values",...(0,f.flatMap)((0,f.values)(e),e=>(0,f.map)(e,({message:e})=>e))].join(". ")),this.errors=e,this.name="InvalidHostedFormValueError",this.type="invalid_hosted_form_value"}}!function(e){e.AttachRequested="HOSTED_FIELD:ATTACH_REQUESTED",e.SubmitRequested="HOSTED_FIELD:SUBMITTED_REQUESTED",e.ValidateRequested="HOSTED_FIELD:VALIDATE_REQUESTED",e.StoredCardRequested="HOSTED_FIELD:STORED_CARD_REQUESTED"}(hu||(hu={})),function(e){e.AttachSucceeded="HOSTED_INPUT:ATTACH_SUCCEEDED",e.AttachFailed="HOSTED_INPUT:ATTACH_FAILED",e.BinChanged="HOSTED_INPUT:BIN_CHANGED",e.Blurred="HOSTED_INPUT:BLURRED",e.Changed="HOSTED_INPUT:CHANGED",e.CardTypeChanged="HOSTED_INPUT:CARD_TYPE_CHANGED",e.Entered="HOSTED_INPUT:ENTERED",e.Focused="HOSTED_INPUT:FOCUSED",e.SubmitSucceeded="HOSTED_INPUT:SUBMIT_SUCCEEDED",e.SubmitFailed="HOSTED_INPUT:SUBMIT_FAILED",e.Validated="HOSTED_INPUT:VALIDATED",e.StoredCardSucceeded="HOSTED_INPUT:STORED_CARD_SUCCEEDED",e.StoredCardFailed="HOSTED_INPUT:STORED_CARD_FAILED"}(fu||(fu={}));var Ou=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Au{constructor(e,t,n,r,i,o,a,s,c,u){this._type=e,this._containerId=t,this._placeholder=n,this._accessibilityLabel=r,this._styles=i,this._eventPoster=o,this._eventListener=a,this._detachmentObserver=s,this._checkoutId=c,this._cardInstrument=u,this._iframe=document.createElement("iframe");const d=this._checkoutId?`/checkout/payment/hosted-field?version=1.916.1&checkoutId=${this._checkoutId}`:"/checkout/payment/hosted-field?version=1.916.1";this._iframe.src=d,this._iframe.style.border="none",this._iframe.style.height="100%",this._iframe.style.overflow="hidden",this._iframe.style.width="100%"}getType(){return this._type}attach(){return Ou(this,void 0,void 0,function*(){const e=document.getElementById(this._containerId);if(!e)throw new Iu("Unable to proceed because the provided container ID is not valid.");e.appendChild(this._iframe),this._eventListener.listen();const t=(0,Qc.R)(this._iframe,"load").pipe((0,Vc.n)(({target:e})=>Ou(this,void 0,void 0,function*(){const t=e&&e.contentWindow;if(!t)throw new Error("The content window of the iframe cannot be accessed.");this._eventPoster.setTarget(t),yield this._eventPoster.post({type:hu.AttachRequested,payload:{accessibilityLabel:this._accessibilityLabel,cardInstrument:this._cardInstrument,fontUrls:this._getFontUrls(),placeholder:this._placeholder,styles:this._styles,origin:document.location.origin,type:this._type}},{successType:fu.AttachSucceeded,errorType:fu.AttachFailed})})),(0,tu.s)(1)).toPromise();yield this._detachmentObserver.ensurePresence([this._iframe],t)})}detach(){this._iframe.parentElement&&(this._iframe.parentElement.removeChild(this._iframe),this._eventListener.stopListen())}submitForm(e,t){return Ou(this,void 0,void 0,function*(){try{const n=this._eventPoster.post({type:hu.SubmitRequested,payload:{fields:e,data:t}},{successType:fu.SubmitSucceeded,errorType:fu.SubmitFailed});return yield this._detachmentObserver.ensurePresence([this._iframe],n)}catch(e){if(this._isSubmitErrorEvent(e)){if("hosted_form_error"===e.payload.error.code)throw new Eu(e.payload.error.message);if(e.payload.response)throw m(e.payload.response);throw new Error(e.payload.error.message)}throw e}})}submitStoredCardForm(e,t){return Ou(this,void 0,void 0,function*(){const n=this._eventPoster.post({type:hu.StoredCardRequested,payload:{fields:e,data:t}},{successType:fu.StoredCardSucceeded,errorType:fu.StoredCardFailed});return this._detachmentObserver.ensurePresence([this._iframe],n)})}validateForm(){return Ou(this,void 0,void 0,function*(){const e=this._eventPoster.post({type:hu.ValidateRequested},{successType:fu.Validated}),{payload:t}=yield this._detachmentObserver.ensurePresence([this._iframe],e);if(!t.isValid)throw new Pu(t.errors)})}_getFontUrls(){const e="fonts.googleapis.com",t=document.querySelectorAll(`link[href*='${e}'][rel='stylesheet']`);return Array.prototype.slice.call(t).filter(t=>ru(t.href).hostname===e).filter(e=>(0,f.values)(this._styles).map(e=>e&&e.fontFamily).filter(e=>"string"==typeof e).some(t=>t.split(/,\s/).some(t=>-1!==e.href.indexOf(t.replace(" ","+"))))).map(e=>e.href)}_isSubmitErrorEvent(e){return e.type===fu.SubmitFailed}}var Tu=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class ku{constructor(e,t,n,r,i){this._fields=e,this._eventListener=t,this._payloadTransformer=n,this._eventCallbacks=r,this._paymentHumanVerificationHandler=i,this._handleEnter=({payload:e})=>Tu(this,void 0,void 0,function*(){try{yield this.validate()}catch(e){if(e instanceof Error&&"InvalidHostedFormValueError"!==e.name)throw e}const{onEnter:t=f.noop}=this._eventCallbacks;t(e)});const{onBlur:o=f.noop,onCardTypeChange:a=f.noop,onFocus:s=f.noop,onValidate:c=f.noop}=this._eventCallbacks;this._eventListener.addListener(fu.Blurred,({payload:e})=>o(e)),this._eventListener.addListener(fu.CardTypeChanged,({payload:e})=>a(e)),this._eventListener.addListener(fu.Focused,({payload:e})=>s(e)),this._eventListener.addListener(fu.Validated,({payload:e})=>c(e)),this._eventListener.addListener(fu.Entered,this._handleEnter),this._eventListener.addListener(fu.CardTypeChanged,({payload:e})=>this._cardType=e.cardType),this._eventListener.addListener(fu.BinChanged,({payload:e})=>this._bin=e.bin)}getBin(){return this._bin}getCardType(){return this._cardType}attach(){return Tu(this,void 0,void 0,function*(){this._eventListener.listen();const e=this._getFirstField(),t=(0,f.without)(this._fields,e);yield e.attach(),yield Promise.all(t.map(e=>e.attach()))})}detach(){this._eventListener.stopListen(),this._fields.forEach(e=>{e.detach()})}submit(e,t){return Tu(this,void 0,void 0,function*(){try{return yield this._getFirstField().submitForm(this._fields.map(e=>e.getType()),this._payloadTransformer.transform(e,t))}catch(t){const n=yield this._paymentHumanVerificationHandler.handle(t);return yield this._getFirstField().submitForm(this._fields.map(e=>e.getType()),this._payloadTransformer.transform(e,n))}})}submitStoredCard(e){return Tu(this,void 0,void 0,function*(){return this._getFirstField().submitStoredCardForm(e.fields,e.data)})}validate(){return Tu(this,void 0,void 0,function*(){return this._getFirstField().validateForm()})}_getFirstField(){const e=this._fields[0];if(!e)throw new Iu("Unable to proceed because the payment form has no field defined.");return e}}function Ru(e){return Boolean(e.instrumentId)}class Mu{constructor(e){this._store=e}transform(e,t){const n=this._store.getState(),r=n.checkout.getCheckout(),i=n.config.getConfig(),o=n.instruments.getInstrumentsMeta(),a=n.order.getOrder(),s=n.order.getOrderMeta(),c=(0,f.omit)(e.paymentData,"ccExpiry","ccName","ccNumber","ccCvv");let u=n.paymentMethods.getPaymentMethod(e.methodId,e.gatewayId);"worldpayaccess"===(null==u?void 0:u.gateway)&&"credit_card"===(null==u?void 0:u.id)&&(u=Object.assign(Object.assign({},u),{id:"worldpayaccess",method:"credit-card"}));const d=n.paymentMethods.getPaymentMethodsMeta(),l=o&&c&&Ru(c)?`${n.payment.getPaymentToken()}, ${o.vaultAccessToken}`:n.payment.getPaymentToken();if(!l)throw new Gn(Vn.MissingPaymentToken);return{additionalAction:t,authToken:l,checkout:r,config:i,order:a,orderMeta:s,payment:c,paymentMethod:u,paymentMethodMeta:d}}}class xu{constructor(e){this._store=e}create(e,t,n){const r=Object.keys(t.fields).reduce((r,i)=>{const o=t.fields[i];return o?[...r,new Au(i,o.containerId,o.placeholder||"",o.accessibilityLabel||"",t.styles||{},new ou(e),new au(e),new Zc(new Jc),n,"instrumentId"in o?this._getCardInstrument(o.instrumentId):void 0)]:r},[]);return new ku(r,new au(e),new Mu(this._store),(0,f.pick)(t,"onBlur","onEnter","onFocus","onCardTypeChange","onValidate"),new lu(Cu((0,or.Hb)())))}_getCardInstrument(e){const{instruments:{getCardInstrument:t}}=this._store.getState(),n=t(e);if(!n)throw new Gn(Vn.MissingPaymentInstrument);return n}}class Nu extends d{constructor(){super("You haven't complete our spam check. Please try again."),this.name="SpamProtectionNotCompletedError",this.type="spam_protection_not_completed"}}class Du{constructor(e,t){this._orderRequestSender=e,this._checkoutValidator=t}loadOrder(e,t){return new rc.c(n=>{n.next((0,o.VP)(ye.LoadOrderRequested)),this._orderRequestSender.loadOrder(e,t).then(e=>{n.next((0,o.VP)(ye.LoadOrderSucceeded,e.body)),n.complete()}).catch(e=>{n.error((0,o.fQ)(ye.LoadOrderFailed,e))})})}loadOrderPayments(e,t){return new rc.c(n=>{n.next((0,o.VP)(ye.LoadOrderPaymentsRequested)),this._orderRequestSender.loadOrder(e,t).then(e=>{n.next((0,o.VP)(ye.LoadOrderPaymentsSucceeded,e.body)),n.complete()}).catch(e=>{n.error((0,o.fQ)(ye.LoadOrderPaymentsFailed,e))})})}loadCurrentOrder(e){return t=>(0,_c.v)(()=>{const n=this._getCurrentOrderId(t.getState());if(!n)throw new Gn(Vn.MissingOrderId);return this.loadOrder(n,e)})}submitOrder(e,t){return n=>(0,gc.x)((0,vc.of)((0,o.VP)(ye.SubmitOrderRequested)),(0,_c.v)(()=>{const r=n.getState(),i=r.config.getExternalSource(),a=r.config.getVariantIdentificationToken(),s=r.checkout.getCheckout();if(!s)throw new Gn(Vn.MissingCheckout);if(s.shouldExecuteSpamCheck)throw new Nu;return(0,w.H)(this._checkoutValidator.validate(s,t).then(()=>this._orderRequestSender.submitOrder(this._mapToOrderRequestBody(null!=e?e:{},s.id,s.customerMessage,i),Object.assign(Object.assign({},t),{headers:{checkoutVariant:a}})))).pipe((0,Vc.n)(e=>(0,gc.x)(this.loadOrder(e.body.data.order.orderId,t),(0,vc.of)((0,o.VP)(ye.SubmitOrderSucceeded,e.body.data,Object.assign(Object.assign({},e.body.meta),{token:e.headers.token}))))))}).pipe((0,C.W)(e=>wc(ye.SubmitOrderFailed,e))))}finalizeOrder(e,t){return(0,gc.x)((0,vc.of)((0,o.VP)(ye.FinalizeOrderRequested)),(0,w.H)(this._orderRequestSender.finalizeOrder(e,t)).pipe((0,Vc.n)(n=>(0,gc.x)(this.loadOrder(e,t),(0,vc.of)((0,o.VP)(ye.FinalizeOrderSucceeded,n.body.data)))))).pipe((0,C.W)(e=>wc(ye.FinalizeOrderFailed,e)))}_getCurrentOrderId(e){const t=e.order.getOrder(),n=e.checkout.getCheckout();return t&&t.orderId||n&&n.orderId}_mapToOrderRequestBody(e,t,n,r){const{payment:i}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{var t,n;if("tax_provider_unavailable"===e.body.type)throw new zu;if("cart_has_changed"===e.body.type)throw new ju;if("cart_stock_positions_changed"===e.body.type){const r=null!==(n=null===(t=e.body.errors)||void 0===t?void 0:t.changedItemIds)&&void 0!==n?n:[];throw new Lu(r)}if("missing_shipping_method"===e.body.type)throw new Fu(e.body.detail);if("invalid_shipping_address"===e.body.type)throw new Bu(e.body.detail);if("empty_cart"===e.body.type)throw new Ec;throw e})}finalizeOrder(e,{timeout:t}={}){const n=`/internalapi/v1/checkout/order/${e}`;return this._requestSender.post(n,{timeout:t,headers:hc})}}class qu{constructor(e,t,n,r){this._paymentRequestSender=e,this._orderActionCreator=t,this._paymentRequestTransformer=n,this._paymentHumanVerificationHandler=r,this.initializeOffsitePayment=({methodId:e,gatewayId:t,instrumentId:n,target:r,promise:i,shouldSaveInstrument:a,shouldSetAsDefaultInstrument:s})=>c=>{let u;n?u={formattedPayload:{bigpay_token:n}}:a&&(u={formattedPayload:{vault_payment_instrument:a,set_as_default_stored_instrument:s||null}});const d=this._paymentRequestTransformer.transform({gatewayId:t,methodId:e,paymentData:u},c.getState());return(0,gc.x)((0,vc.of)((0,o.VP)(pt.InitializeOffsitePaymentRequested)),Promise.race([this._paymentRequestSender.initializeOffsitePayment(d,r),i].filter(Boolean)).then(()=>(0,o.VP)(pt.InitializeOffsitePaymentSucceeded))).pipe((0,C.W)(e=>wc(pt.InitializeOffsitePaymentFailed,e)))}}submitPayment(e){return t=>(0,gc.x)((0,vc.of)((0,o.VP)(pt.SubmitPaymentRequested)),(0,_c.v)(()=>{return n=this,r=void 0,o=function*(){try{return yield this._paymentRequestSender.submitPayment(this._paymentRequestTransformer.transform(e,t.getState()))}catch(n){const r=yield this._paymentHumanVerificationHandler.handle(n);return yield this._paymentRequestSender.submitPayment(this._paymentRequestTransformer.transform(Object.assign(Object.assign({},e),{additionalAction:r}),t.getState()))}},new((i=void 0)||(i=Promise))(function(e,t){function a(e){try{c(o.next(e))}catch(e){t(e)}}function s(e){try{c(o.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(a,s)}c((o=o.apply(n,r||[])).next())});var n,r,i,o}).pipe((0,Vc.n)(({body:e})=>(0,gc.x)(this._orderActionCreator.loadCurrentOrder()(t),(0,vc.of)((0,o.VP)(pt.SubmitPaymentSucceeded,e)))))).pipe((0,C.W)(e=>wc(pt.SubmitPaymentFailed,e)))}}class Vu{constructor(e){this._client=e}submitPayment(e){return new Promise((t,n)=>{this._client.submitPayment(e,(e,r)=>{e?n(this._transformResponse(e)):t(this._transformResponse(r))})})}initializeOffsitePayment(e,t){return new Promise(()=>{this._client.initializeOffsitePayment(e,null,t)})}_transformResponse(e){return{headers:e.headers,body:e.data,status:e.status,statusText:e.statusText}}}var Gu=n(2742);function Hu(e,t){let n;return function(e){return void 0!==e.id}(e)?n=e.id:t&&t.length&&(n=t[0].id),{id:n,firstName:e.firstName,lastName:e.lastName,company:e.company,addressLine1:e.address1,addressLine2:e.address2,city:e.city,province:e.stateOrProvince,provinceCode:e.stateOrProvinceCode,postCode:e.postalCode,country:e.country,countryCode:e.countryCode,phone:e.phone,customFields:e.customFields}}const Yu=["per_item_discount","percentage_discount","per_total_discount","shipping_discount","free_shipping"];function Wu(e){return{code:e.code,discount:e.displayName,discountType:Yu.indexOf(e.couponType)}}function $u(e){return{code:e.code,discountedAmount:e.used,remainingBalance:e.remaining,giftCertificate:{balance:e.balance,code:e.code,purchaseDate:e.purchaseDate}}}function Ku(e){const t=[];return(e||[]).forEach(e=>{(e.banners||[]).forEach(e=>{t.push({placeholders:[],discountType:null,message:"",messageHtml:e.text})})}),t}function Zu(e,t,n="id"){return Object.keys(e).reduce((r,i)=>[...r,...e[i].map(e=>"giftCertificates"===i?function(e,t){const n=new Qs(t);return{id:e.id,imageUrl:"",name:e.name,amount:e.amount,amountAfterDiscount:e.amount,discount:0,integerAmount:n.toInteger(e.amount),integerAmountAfterDiscount:n.toInteger(e.amount),integerUnitPrice:n.toInteger(e.amount),integerUnitPriceAfterDiscount:n.toInteger(e.amount),integerDiscount:0,quantity:1,sender:e.sender,recipient:e.recipient,type:"ItemGiftCertificateEntity",attributes:[],variantId:null}}(e,t):function(e,t,n,r="id"){const i=new Qs(n);return{id:e[r],imageUrl:e.imageUrl,amount:e.extendedListPrice,amountAfterDiscount:e.extendedSalePrice,discount:e.discountAmount,integerAmount:i.toInteger(e.extendedListPrice),integerAmountAfterDiscount:i.toInteger(e.extendedSalePrice),integerDiscount:i.toInteger(e.discountAmount),integerUnitPrice:i.toInteger(e.listPrice),integerUnitPriceAfterDiscount:i.toInteger(e.salePrice),downloadsPageUrl:e.downloadPageUrl,name:e.name,quantity:e.quantity,brand:e.brand,sku:e.sku,categoryNames:e.categoryNames,variantId:e.variantId,productId:e.productId,attributes:(e.options||[]).map(e=>({name:e.name,value:e.value})),addedByPromotion:e.addedByPromotion,type:t}}(e,function(e){switch(e){case"physicalItems":return"ItemPhysicalEntity";case"digitalItems":return"ItemDigitalEntity";case"giftCertificates":return"ItemGiftCertificateEntity";default:return""}}(i),t,n))],[])}function Ju(e){const t=e.cart.currency.decimalPlaces,n=new Qs(t);return{id:e.cart.id,items:Zu(e.cart.lineItems,t),currency:e.cart.currency.code,coupon:{discountedAmount:(0,f.reduce)(e.cart.coupons,(e,t)=>e+t.discountedAmount,0),coupons:e.cart.coupons.map(Wu)},discount:{amount:e.cart.discountAmount,integerAmount:n.toInteger(e.cart.discountAmount)},discountNotifications:Ku(e.promotions),giftCertificate:{totalDiscountedAmount:(0,f.reduce)(e.giftCertificates,(e,t)=>e+t.used,0),appliedGiftCertificates:(0,f.keyBy)(e.giftCertificates.map($u),"code")},shipping:{amount:e.shippingCostTotal,integerAmount:n.toInteger(e.shippingCostTotal),amountBeforeDiscount:e.shippingCostBeforeDiscount,integerAmountBeforeDiscount:n.toInteger(e.shippingCostBeforeDiscount),required:(0,f.some)(e.cart.lineItems.physicalItems,e=>e.isShippingRequired)},subtotal:{amount:e.subtotal,integerAmount:n.toInteger(e.subtotal)},storeCredit:{amount:e.customer?e.customer.storeCredit:0},taxSubtotal:{amount:e.taxTotal,integerAmount:n.toInteger(e.taxTotal)},taxes:e.taxes,taxTotal:{amount:e.taxTotal,integerAmount:n.toInteger(e.taxTotal)},handling:{amount:e.handlingCostTotal,integerAmount:n.toInteger(e.handlingCostTotal)},grandTotal:{amount:e.grandTotal,integerAmount:n.toInteger(e.grandTotal)}}}var Qu;!function(e){e.APPLEPAY="applepay",e.AMAZON_PAY_V2="amazonpay",e.BRAINTREE_PAYPAL="braintreepaypal",e.BRAINTREE_VENMO="braintreevenmo",e.BRAINTREE_PAYPAL_CREDIT="braintreepaypalcredit",e.GOOGLEPAY_ADYENV2="googlepayadyenv2",e.GOOGLEPAY_ADYENV3="googlepayadyenv3",e.GOOGLEPAY_AUTHORIZENET="googlepayauthorizenet",e.GOOGLEPAY_BNZ="googlepaybnz",e.GOOGLEPAY_BRAINTREE="googlepaybraintree",e.GOOGLEPAY_CHECKOUTCOM="googlepaycheckoutcom",e.GOOGLEPAY_CYBERSOURCEV2="googlepaycybersourcev2",e.GOOGLEPAY_ORBITAL="googlepayorbital",e.GOOGLEPAY_STRIPE="googlepaystripe",e.GOOGLEPAY_STRIPEUPE="googlepaystripeupe",e.GOOGLEPAY_WORLDPAYACCESS="googlepayworldpayaccess",e.PAYPALEXPRESS="paypalexpress"}(Qu||(Qu={}));const Xu=Qu;function ed(e,t){const n=e.firstName||t.firstName||"",r=e.lastName||t.lastName||"";return{addresses:(e.addresses||[]).map(e=>Hu(e)),customerId:e.id,isGuest:e.isGuest,storeCredit:e.storeCredit,email:e.email||t.email||"",firstName:n,lastName:r,name:e.fullName||[n,r].join(" "),customerGroupName:e.customerGroup&&e.customerGroup.name}}class td{format(e){const[t="",n=""]=e.split(new RegExp("\\s*/\\s*")),r=t.slice(0,2),i=4===n.length?n.slice(-2):n?n.slice(0,2):t.slice(2);return e.length<2?t:e.length>3&&!i?r:`${r} / ${i}`}toObject(e){const[t="",n=""]=e.split(new RegExp("\\s*/\\s*"));return/^\d+$/.test(t)&&/^\d+$/.test(n)?{month:1===t.length?`0${t}`:t.slice(0,2),year:2===n.length?`20${n}`:n.slice(0,4)}:{month:"",year:""}}}var nd=n(2437);class rd{format(e){const{card:t}=(0,nd.number)(e);if(!t)return e;const n=(0,f.max)((0,nd.creditCardType)(e).map(e=>(0,f.max)(e.lengths))),r=this.unformat(e).slice(0,n);return t.gaps.filter(e=>r.length>e).reduce((e,t,n)=>[e.slice(0,t+n),e.slice(t+n)].join(" "),r)}unformat(e){const{card:t}=(0,nd.number)(e);return t?e.replace(new RegExp(" ","g"),""):e}}function id(e,t={}){const n=e.currency.decimalPlaces,r=new Qs(n);return{id:e.orderId,items:Zu(e.lineItems,e.currency.decimalPlaces,"productId"),orderId:e.orderId,currency:e.currency.code,customerCanBeCreated:e.customerCanBeCreated,payment:sd(e.payments,t.payment),subtotal:{amount:e.baseAmount,integerAmount:r.toInteger(e.baseAmount)},coupon:{discountedAmount:(0,f.reduce)(e.coupons,(e,t)=>e+t.discountedAmount,0),coupons:e.coupons.map(Wu)},discount:{amount:e.discountAmount,integerAmount:r.toInteger(e.discountAmount)},token:t.orderToken,callbackUrl:t.callbackUrl,discountNotifications:[],giftCertificate:ad(e.payments),socialData:ud(e),status:e.status,hasDigitalItems:e.hasDigitalItems,isDownloadable:e.isDownloadable,isComplete:e.isComplete,shipping:{amount:e.shippingCostTotal,integerAmount:r.toInteger(e.shippingCostTotal),amountBeforeDiscount:e.shippingCostBeforeDiscount,integerAmountBeforeDiscount:r.toInteger(e.shippingCostBeforeDiscount)},storeCredit:{amount:od(e.payments)},taxes:e.taxes,taxTotal:{amount:e.taxTotal,integerAmount:r.toInteger(e.taxTotal)},handling:{amount:e.handlingCostTotal,integerAmount:r.toInteger(e.handlingCostTotal)},grandTotal:{amount:e.orderAmount,integerAmount:e.orderAmountAsInteger}}}function od(e){const t=(0,f.find)(e,{providerId:"storecredit"});return t?t.amount:0}function ad(e){const t=(0,f.filter)(e,{providerId:"giftcertificate"});return{totalDiscountedAmount:(0,f.reduce)(t,(e,t)=>t.amount+e,0),appliedGiftCertificates:(0,f.keyBy)(t.map(e=>({code:e.detail.code,discountedAmount:e.amount,remainingBalance:e.detail.remaining,giftCertificate:{balance:e.amount+e.detail.remaining,code:e.detail.code,purchaseDate:""}})),"code")}}function sd(e,t={}){const n=(0,f.find)(e,cd);return n?{id:n.providerId,status:(r=n.detail.step,`PAYMENT_STATUS_${r}`),helpText:n.detail.instructions,returnUrl:t.returnUrl}:{};var r}function cd(e){return"giftcertificate"!==e.providerId&&"storecredit"!==e.providerId}function ud(e){const t={};return[...e.lineItems.physicalItems,...e.lineItems.digitalItems].forEach(e=>{var n;t[e.id]=(n=e,["fb","tw","gp"].reduce((e,t)=>{const r=n.socialMedia&&(0,f.find)(n.socialMedia,e=>e.code===t);return r?(e[t]={name:n.name,description:n.name,image:n.imageUrl,url:r.link,shareText:r.text,sharingLink:r.link,channelName:r.channel,channelCode:r.code},e):e},{}))}),t}function dd(e,t){return{description:e.description,module:e.type,price:e.cost,id:e.id,selected:t,isRecommended:e.isRecommended,imageUrl:e.imageUrl,transitTime:e.transitTime}}class ld{constructor(){this._cardExpiryFormatter=new td,this._cardNumberFormatter=new rd}transform(e,t){const n=t.billingAddress.getBillingAddress(),r=t.checkout.getCheckout(),i=t.customer.getCustomer(),o=t.order.getOrder(),a=t.paymentMethods.getPaymentMethod(e.methodId,e.gatewayId),s=this._mapShippingAddress(t,a),c=t.consignments.getConsignments(),u=t.consignments.getShippingOption(),d=t.config.getStoreConfig(),l=t.config.getContextConfig(),p=t.instruments.getInstrumentsMeta(),h=t.paymentMethods.getPaymentMethodsMeta(),y=t.order.getOrderMeta(),m=i&&n&&ed(i,n),g=p&&e.paymentData&&(Ru(e.paymentData)||function(e){const t=e.formattedPayload;return!!t&&("string"==typeof t.bigpay_token||Boolean(t.bigpay_token&&t.bigpay_token.token))}(e.paymentData))?`${t.payment.getPaymentToken()}, ${p.vaultAccessToken}`:t.payment.getPaymentToken();if(!g)throw new Gn(Vn.MissingPaymentToken);return{additionalAction:e.additionalAction,authToken:g,customer:m,billingAddress:n&&Hu(n),shippingAddress:s&&Hu(s,c),shippingOption:u&&dd(u,!0),cart:r&&Ju(r),order:o&&id(o,y),orderMeta:y,payment:e.paymentData,paymentMethod:a&&this._transformPaymentMethod(a),quoteMeta:{request:Object.assign(Object.assign({},h),{geoCountryCode:l&&l.geoCountryCode})},source:"bigcommerce-checkout-js-sdk",store:(0,f.pick)(d&&d.storeProfile,["storeHash","storeId","storeLanguage","storeName"])}}transformWithHostedFormData(e,t,n){const{additionalAction:r,authToken:i,checkout:o,config:a,order:s,orderMeta:c,payment:u={},paymentMethod:d,paymentMethodMeta:l}=t,p=o&&o.consignments[0],h=p&&p.shippingAddress,y=p&&p.selectedShippingOption;return{additionalAction:r,authToken:i,paymentMethod:d&&this._transformPaymentMethod(d),customer:s&&s.billingAddress&&o&&ed(o.customer,s.billingAddress),billingAddress:s&&s.billingAddress&&Hu(s.billingAddress),shippingAddress:h&&o&&Hu(h,o.consignments),shippingOption:y&&dd(y,!0),cart:o&&Ju(o),order:s&&id(s,c),orderMeta:c,payment:this._transformHostedInputValues(e,u,n),quoteMeta:{request:Object.assign(Object.assign({},l),{geoCountryCode:a&&a.context.geoCountryCode})},source:"bigcommerce-checkout-js-sdk",store:a&&(0,f.pick)(a.storeConfig.storeProfile,["storeHash","storeId","storeLanguage","storeName"])}}_transformPaymentMethod(e){if("multi-option"===e.method&&!e.gateway)return Object.assign(Object.assign({},e),{gateway:e.id});if(e.initializationData&&e.initializationData.gateway)return Object.assign(Object.assign({},e),{id:e.initializationData.gateway});if("worldpayaccess"===e.gateway){if("credit_card"===e.id)return Object.assign(Object.assign({},e),{id:"worldpayaccess",method:"credit-card"});if("open_banking"===e.id)return Object.assign(Object.assign({},e),{id:"worldpayaccess",method:"open_banking"})}return e.id===Xu.BRAINTREE_VENMO?Object.assign(Object.assign({},e),{id:Xu.BRAINTREE_PAYPAL}):e}_transformHostedInputValues(e,t,n){return"instrumentId"in t?Object.assign(Object.assign({},t),{ccCvv:e.cardCodeVerification,ccNumber:e.cardNumberVerification&&this._cardNumberFormatter.unformat(e.cardNumberVerification),hostedFormNonce:n}):Object.assign(Object.assign({},t),{ccCvv:e.cardCode,ccExpiry:this._cardExpiryFormatter.toObject(e.cardExpiry||""),ccName:e.cardName||"",ccNumber:this._cardNumberFormatter.unformat(e.cardNumber||""),hostedFormNonce:n})}_mapShippingAddress(e,t){var n,r,i,o;if(t){const a=null===(r=null===(n=t.initializationData)||void 0===n?void 0:n.bopis)||void 0===r?void 0:r.enabled,s=null===(o=null===(i=t.initializationData)||void 0===i?void 0:i.bopis)||void 0===o?void 0:o.requiredAddress,c=e.consignments.getConsignments(),u=null==c?void 0:c.every(e=>e.selectedPickupOption);if(a&&u&&"none"===s)return}return e.shippingAddress.getShippingAddress()}}class pd{updatePaymentProviderCustomer(e){return(0,vc.of)((0,o.VP)(At.UpdatePaymentProviderCustomer,e))}}class hd{widgetInteraction(e,t){const n={methodId:t&&t.methodId};return(0,gc.x)((0,vc.of)((0,o.VP)(wt.WidgetInteractionStarted,void 0,n)),(0,_c.v)(()=>e().then(()=>(0,o.VP)(wt.WidgetInteractionFinished,void 0,n)))).pipe((0,C.W)(e=>wc(wt.WidgetInteractionFailed,e,n)))}}class fd{constructor(e,t){this._remoteCheckoutRequestSender=e,this._checkoutActionCreator=t}initializeBilling(e,t,n){return rc.c.create(r=>{r.next((0,o.VP)(Ft.InitializeRemoteBillingRequested,void 0,{methodId:e})),this._remoteCheckoutRequestSender.initializeBilling(e,t,n).then(({body:t={}})=>{r.next((0,o.VP)(Ft.InitializeRemoteBillingSucceeded,t,{methodId:e})),r.complete()}).catch(t=>{r.error((0,o.fQ)(Ft.InitializeRemoteBillingFailed,t,{methodId:e}))})})}initializeShipping(e,t,n){return rc.c.create(r=>{r.next((0,o.VP)(Ft.InitializeRemoteShippingRequested,void 0,{methodId:e})),this._remoteCheckoutRequestSender.initializeShipping(e,t,n).then(({body:t={}})=>{r.next((0,o.VP)(Ft.InitializeRemoteShippingSucceeded,t,{methodId:e})),r.complete()}).catch(t=>{r.error((0,o.fQ)(Ft.InitializeRemoteShippingFailed,t,{methodId:e}))})})}initializePayment(e,t,n){return rc.c.create(r=>{r.next((0,o.VP)(Ft.InitializeRemotePaymentRequested,void 0,{methodId:e})),this._remoteCheckoutRequestSender.initializePayment(e,t,n).then(({body:t={}})=>{r.next((0,o.VP)(Ft.InitializeRemotePaymentSucceeded,t,{methodId:e})),r.complete()}).catch(t=>{r.error((0,o.fQ)(Ft.InitializeRemotePaymentFailed,t,{methodId:e}))})})}loadSettings(e,t){return rc.c.create(n=>{n.next((0,o.VP)(Ft.LoadRemoteSettingsRequested,void 0,{methodId:e})),this._remoteCheckoutRequestSender.loadSettings(e,t).then(({body:t})=>{n.next((0,o.VP)(Ft.LoadRemoteSettingsSucceeded,t,{methodId:e})),n.complete()}).catch(t=>{n.error((0,o.fQ)(Ft.LoadRemoteSettingsFailed,t,{methodId:e}))})})}signOut(e,t){return rc.c.create(n=>{n.next((0,o.VP)(Ft.SignOutRemoteCustomerRequested,void 0,{methodId:e})),this._remoteCheckoutRequestSender.signOut(e,t).then(()=>{n.next((0,o.VP)(Ft.SignOutRemoteCustomerSucceeded,void 0,{methodId:e})),n.complete()}).catch(t=>{n.error((0,o.fQ)(Ft.SignOutRemoteCustomerFailed,t,{methodId:e}))})})}forgetCheckout(e,t){return(0,gc.x)((0,vc.of)((0,o.VP)(Ft.ForgetCheckoutRemoteCustomerRequested,void 0,{methodId:e})),(0,_c.v)(()=>{return n=this,r=void 0,a=function*(){return yield this._remoteCheckoutRequestSender.forgetCheckout(t),yield this._checkoutActionCreator.loadCurrentCheckout(),(0,o.VP)(Ft.ForgetCheckoutRemoteCustomerSucceeded,void 0,{methodId:e})},new((i=void 0)||(i=Promise))(function(e,t){function o(e){try{c(a.next(e))}catch(e){t(e)}}function s(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(o,s)}c((a=a.apply(n,r||[])).next())});var n,r,i,a})).pipe((0,C.W)(t=>wc(Ft.ForgetCheckoutRemoteCustomerFailed,t,{methodId:e})))}updateCheckout(e,t){return(0,o.VP)(Ft.UpdateRemoteCheckout,t,{methodId:e})}}class yd{constructor(e){this._requestSender=e}initializeBilling(e,t,{timeout:n}={}){const r=`/remote-checkout/${e}/billing`;return this._requestSender.get(r,{params:t,timeout:n,headers:hc})}initializeShipping(e,t,{timeout:n}={}){const r=`/remote-checkout/${e}/shipping`;return this._requestSender.get(r,{params:t,timeout:n,headers:hc})}initializePayment(e,t,{timeout:n}={}){const r=`/remote-checkout/${e}/payment`;return this._requestSender.get(r,{params:t,timeout:n,headers:hc})}loadSettings(e,{timeout:t}={}){const n=`/remote-checkout/${e}/settings`;return this._requestSender.get(n,{timeout:t,headers:hc})}signOut(e,{timeout:t}={}){const n=`/remote-checkout/${e}/signout`;return this._requestSender.get(n,{timeout:t,headers:hc})}generateToken({timeout:e}={}){return this._requestSender.get("/remote-checkout-token",{timeout:e,headers:hc})}trackAuthorizationEvent({timeout:e}={}){return this._requestSender.post("/remote-checkout/events/shopper-checkout-service-provider-authorization-requested",{timeout:e,headers:hc})}forgetCheckout({timeout:e}={}){return this._requestSender.post("/remote-checkout/forget-checkout",{timeout:e,headers:hc})}}class md{constructor(e,t){this._consignmentRequestSender=e,this._checkoutRequestSender=t}unassignItemsByAddress(e,t){return n=>{const r=n.getState();if(!r.checkout.getCheckout())throw new Gn(Vn.MissingCheckout);const i=this._consignmentHasAddress(e)?e.address:e.shippingAddress,o=r.consignments.getConsignmentByAddress(i);if(!o)throw new nu("No consignment found for the specified address");const a=this._removeLineItems(e.lineItems,o,r.cart.getCart());return a.length?this.updateConsignment({id:o.id,address:i,lineItems:a},t)(n):this.deleteConsignment(o.id,t)(n)}}assignItemsByAddress(e,t){return n=>{const r=n.getState(),i=this._consignmentHasAddress(e)?e.address:e.shippingAddress,o=r.consignments.getConsignmentByAddress(i);return this._createOrUpdateConsignment({id:o&&o.id,address:i,lineItems:this._addLineItems(e.lineItems,o,r.cart.getCart())},t)(n)}}selectShippingOption(e,t){return n=>rc.c.create(r=>{const i=n.getState(),a=i.checkout.getCheckout(),s=i.consignments.getConsignments();if(!a)throw new Gn(Vn.MissingCheckout);if(!s||!s.length)throw new Gn(Vn.MissingConsignments);const c={id:s[0].id,shippingOptionId:e},u={id:s[0].id};r.next((0,o.VP)($.UpdateShippingOptionRequested,void 0,u)),this._consignmentRequestSender.updateConsignment(a.id,c,t).then(({body:e})=>{r.next((0,o.VP)($.UpdateShippingOptionSucceeded,e,u)),r.complete()}).catch(e=>{r.error((0,o.fQ)($.UpdateShippingOptionFailed,e,u))})})}loadShippingOptions(e){return t=>rc.c.create(n=>{const r=t.getState().checkout.getCheckout();if(!r)throw new Gn(Vn.MissingCheckout);n.next((0,o.VP)($.LoadShippingOptionsRequested)),this._checkoutRequestSender.loadCheckout(r.id,Object.assign(Object.assign({},e),{params:{include:[zc.AvailableShippingOptions]}})).then(({body:e})=>{n.next((0,o.VP)($.LoadShippingOptionsSucceeded,e)),n.complete()}).catch(e=>{n.error((0,o.fQ)($.LoadShippingOptionsFailed,e))})})}updateAddress(e,t){return n=>{const r=this._getUpdateAddressRequestBody(e,n),i=n.getState().consignments.getConsignments();return i&&i.length&&(r.id=i[0].id),this._createOrUpdateConsignment(r,t)(n)}}createConsignments(e,t){return n=>rc.c.create(r=>{const i=n.getState().checkout.getCheckout();if(!i||!i.id)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)($.CreateConsignmentsRequested)),this._consignmentRequestSender.createConsignments(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)($.CreateConsignmentsSucceeded,e)),r.complete()}).catch(e=>{r.error((0,o.fQ)($.CreateConsignmentsFailed,e))})})}updateConsignment(e,t){return n=>rc.c.create(r=>{const i=n.getState().checkout.getCheckout();if(!i||!i.id)throw new Gn(Vn.MissingCheckout);const a={id:e.id};r.next((0,o.VP)($.UpdateConsignmentRequested,void 0,a)),this._consignmentRequestSender.updateConsignment(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)($.UpdateConsignmentSucceeded,e,a)),r.complete()}).catch(e=>{r.error((0,o.fQ)($.UpdateConsignmentFailed,e,a))})})}deleteConsignment(e,t){return n=>rc.c.create(r=>{const i=n.getState().checkout.getCheckout(),a={id:e};if(!i||!i.id)throw new Gn(Vn.MissingCheckout);r.next((0,o.VP)($.DeleteConsignmentRequested,void 0,a)),this._consignmentRequestSender.deleteConsignment(i.id,e,t).then(({body:e})=>{r.next((0,o.VP)($.DeleteConsignmentSucceeded,e,a)),r.complete()}).catch(e=>{r.error((0,o.fQ)($.DeleteConsignmentFailed,e,a))})})}updateShippingOption(e,t){return n=>rc.c.create(r=>{var i;const a=n.getState().checkout.getCheckout(),s=n.getState().consignments.getConsignmentById(e.id);if((null===(i=null==s?void 0:s.selectedShippingOption)||void 0===i?void 0:i.id)===e.shippingOptionId)return void r.complete();if(!a||!a.id)throw new Gn(Vn.MissingCheckout);const c={id:e.id};r.next((0,o.VP)($.UpdateShippingOptionRequested,void 0,c)),this._consignmentRequestSender.updateConsignment(a.id,e,t).then(({body:e})=>{r.next((0,o.VP)($.UpdateShippingOptionSucceeded,e,c)),r.complete()}).catch(e=>{r.error((0,o.fQ)($.UpdateShippingOptionFailed,e,c))})})}_createOrUpdateConsignment(e,t){return n=>{const r=n.getState().checkout.getCheckout();if(!r||!r.id)throw new Gn(Vn.MissingCheckout);return this._isUpdateConsignmentRequest(e)?this.updateConsignment(e,t)(n):this.createConsignments([e],t)(n)}}_getUpdateAddressRequestBody(e,t){const n=t.getState().cart.getCart();if(!n)throw new Gn(Vn.MissingCart);const{physicalItems:r,customItems:i=[]}=n.lineItems;return{address:e,lineItems:[...r,...i].map(e=>({itemId:e.id,quantity:e.quantity}))}}_removeLineItems(e,t,n){if(!n)throw new Gn(Vn.MissingCart);return this._hydrateLineItems(t.lineItemIds,n).map(t=>{const n=(0,f.find)(e,e=>e.itemId===t.itemId);return Object.assign(Object.assign({},t),{quantity:n?t.quantity-n.quantity:t.quantity})}).filter(e=>e.quantity>0)}_addLineItems(e,t,n){if(!t)return e;if(!n)throw new Gn(Vn.MissingCart);return e.concat(this._hydrateLineItems(t.lineItemIds,n)).filter(e=>e.quantity>0)}_hydrateLineItems(e,t){return e.map(e=>{const n=(0,f.find)(t.lineItems.physicalItems,t=>t.id===e);return{itemId:e,quantity:n?n.quantity:0}})}_isUpdateConsignmentRequest(e){return!!e.id}_consignmentHasAddress(e){return"object"==typeof e&&"address"in e}}const gd=["consignments.availableShippingOptions","cart.lineItems.physicalItems.options","cart.lineItems.physicalItems.stockPosition","cart.lineItems.digitalItems.options","cart.lineItems.digitalItems.stockPosition","customer","promotions.banners"];class vd{constructor(e){this._requestSender=e}createConsignments(e,t,{timeout:n,params:{include:r}={}}={}){const i=`/api/storefront/checkouts/${e}/consignments`,o=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post(i,{body:t,params:{include:Rc(gd,r)},headers:o,timeout:n}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}updateConsignment(e,t,{timeout:n,params:{include:r}={}}={}){const{id:i}=t,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{if("empty_cart"===e.body.type)throw new Ec;throw e})}deleteConsignment(e,t,{timeout:n}={}){const r=`/api/storefront/checkouts/${e}/consignments/${t}`,i=Object.assign({Accept:lc.JsonV1},hc),o=kc(gd);return this._requestSender.delete(r,{params:{include:o},headers:i,timeout:n}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}}class _d{constructor(e,t){this._shippingCountryRequestSender=e,this._store=t}loadCountries(e){const{checkout:t}=this._store.getState(),n=t.getCheckout(),r=n?n.channelId:null;return rc.c.create(t=>{t.next((0,o.VP)(nn.LoadShippingCountriesRequested)),this._shippingCountryRequestSender.loadCountries(r,e).then(e=>{t.next((0,o.VP)(nn.LoadShippingCountriesSucceeded,e.body.data)),t.complete()}).catch(e=>{t.error((0,o.fQ)(nn.LoadShippingCountriesFailed,e))})})}}class bd{constructor(e,t){this._requestSender=e,this._config=t}loadCountries(e,{timeout:t}={}){const n="/internalapi/v1/shipping/countries"+(e?`?channel_id=${e}`:""),r=Object.assign({"Accept-Language":this._config.locale},hc);return this._requestSender.get(n,{headers:r,timeout:t})}}var Sd=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class wd{constructor(e,t){this._googleRecaptcha=e,this._requestSender=t}initialize(e){return t=>(0,gc.x)((0,vc.of)((0,o.VP)(kn.InitializeRequested,void 0)),(0,_c.v)(()=>Sd(this,void 0,void 0,function*(){const n=e?e.containerId:"spamProtectionContainer";if(document.getElementById(n)&&this._googleRecaptcha.reset(n),!e&&!document.getElementById(n)){const e=document.createElement("div");e.setAttribute("id",n),document.body.appendChild(e)}const r=t.getState().config.getStoreConfigOrThrow().checkoutSettings.googleRecaptchaSitekey;return yield this._googleRecaptcha.load(n,r),(0,o.VP)(kn.InitializeSucceeded)}))).pipe((0,C.W)(e=>wc(kn.InitializeFailed,e)))}verifyCheckoutSpamProtection(){return e=>(0,_c.v)(()=>{const t=e.getState().checkout.getCheckout();if(!t)throw new Gn(Vn.MissingCheckout);return(0,gc.x)((0,vc.of)((0,o.VP)(kn.VerifyCheckoutRequested)),(0,w.H)(this.execute()(e)).pipe((0,Vc.n)(e=>Gc(e)&&e.payload?(0,w.H)(this._requestSender.validate(t.id,e.payload.token)).pipe((0,Vc.n)(({body:t})=>(0,gc.x)((0,vc.of)(e),(0,vc.of)((0,o.VP)(kn.VerifyCheckoutSucceeded,t))))):(0,vc.of)(e)))).pipe((0,C.W)(e=>wc(kn.VerifyCheckoutFailed,e)))})}execute(){return e=>(0,gc.x)((0,vc.of)((0,o.VP)(kn.ExecuteRequested)),this.initialize()(e),this._googleRecaptcha.execute().pipe((0,tu.s)(1)).pipe((0,Vc.n)(({error:e,token:t})=>Sd(this,void 0,void 0,function*(){if(e instanceof su)throw e;if(e||!t)throw new _u;return(0,o.VP)(kn.ExecuteSucceeded,{token:t})})))).pipe((0,C.W)(e=>wc(kn.ExecuteFailed,e)))}}class Cd{constructor(e){this._requestSender=e}validate(e,t,{timeout:n}={}){const r=`/api/storefront/checkouts/${e}/spam-protection`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post(r,{body:{token:t},headers:i,timeout:n}).catch(e=>{if("empty_cart"===e.body.type)throw new Ec;throw e})}}class Id{constructor(e){this._storeCreditRequestSender=e}applyStoreCredit(e,t){return n=>(0,gc.x)((0,vc.of)((0,o.VP)(Sn.ApplyStoreCreditRequested)),(0,_c.v)(()=>{return r=this,i=void 0,s=function*(){var r;const i=n.getState().checkout.getCheckout();if(!i)throw new Gn(Vn.MissingCheckout);const{id:a}=i,s=null!==(r=null==t?void 0:t.version)&&void 0!==r?r:i.version,{body:c}=yield e?this._storeCreditRequestSender.applyStoreCredit(a,Object.assign(Object.assign({},t),{version:s})):this._storeCreditRequestSender.removeStoreCredit(a,Object.assign(Object.assign({},t),{version:s}));return(0,o.VP)(Sn.ApplyStoreCreditSucceeded,c)},new((a=void 0)||(a=Promise))(function(e,t){function n(e){try{c(s.next(e))}catch(e){t(e)}}function o(e){try{c(s.throw(e))}catch(e){t(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof a?r:new a(function(e){e(r)})).then(n,o)}c((s=s.apply(r,i||[])).next())});var r,i,a,s})).pipe((0,C.W)(e=>wc(Sn.ApplyStoreCreditFailed,e)))}}class Ed{constructor(e){this._requestSender=e}applyStoreCredit(e,{timeout:t,version:n}={}){const r=`/api/storefront/checkouts/${e}/store-credit`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post(r,{headers:i,timeout:t,params:{include:kc(Mc)},body:{version:n}})}removeStoreCredit(e,{timeout:t,version:n}={}){const r=`/api/storefront/checkouts/${e}/store-credit`,i=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.delete(r,{headers:i,timeout:t,params:{include:kc(Mc)},body:{version:n}})}}class Pd extends p{constructor(e){super(e),this.name="UpdateSubscriptionsError",this.type="update_subscriptions"}}class Od{constructor(e){this._subscriptionsRequestSender=e}updateSubscriptions(e,t){return(0,gc.x)((0,vc.of)((0,o.VP)(D.UpdateSubscriptionsRequested)),(0,_c.v)(()=>{return n=this,r=void 0,a=function*(){const{body:n}=yield this._subscriptionsRequestSender.updateSubscriptions(e,t);return(0,o.VP)(D.UpdateSubscriptionsSucceeded,n)},new((i=void 0)||(i=Promise))(function(e,t){function o(e){try{c(a.next(e))}catch(e){t(e)}}function s(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(e){e(n)})).then(o,s)}c((a=a.apply(n,r||[])).next())});var n,r,i,a})).pipe((0,C.W)(e=>wc(D.UpdateSubscriptionsFailed,new Pd(e))))}}class Ad{constructor(e){this._requestSender=e}updateSubscriptions(e,{timeout:t}={}){const n=Object.assign({Accept:lc.JsonV1},hc);return this._requestSender.post("/api/storefront/subscriptions",{body:e,headers:n,timeout:t})}}const Td=(0,f.memoize)(e=>Array.isArray(e)?e.map(e=>kd(e)):V(e)?Object.keys(e).reduce((t,n)=>Object.assign(Object.assign({},t),{[n]:kd(e[n])}),{}):e);Td.cache=new WeakMap;const kd=e=>"object"==typeof e&&null!==e?Td(e):e;function Rd(e){return(...t)=>kd(e(...t))}function Md({billingAddress:{getBillingAddress:e,getBillingAddressOrThrow:t},cart:{getCart:n,getCartOrThrow:r,getLocale:i},checkout:{getCheckout:o,getCheckoutOrThrow:a,getOutstandingBalance:s},config:{getContextConfig:c,getHost:u,getLocale:d,getStoreConfig:l,getStoreConfigOrThrow:p,getConfig:h},consignments:{getConsignments:f,getConsignmentsOrThrow:y},countries:{getCountries:m},customer:{getCustomer:g,getCustomerOrThrow:v},instruments:{getCardInstrument:_,getCardInstrumentOrThrow:b,getInstruments:S,getInstrumentsMeta:w},order:{getOrder:C,getOrderOrThrow:I,getOrderMeta:E},payment:{getPaymentToken:P,getPaymentTokenOrThrow:O,getPaymentId:A,getPaymentIdOrThrow:T,getPaymentStatus:k,getPaymentStatusOrThrow:R,getPaymentRedirectUrl:M,getPaymentRedirectUrlOrThrow:x,isPaymentDataRequired:N},paymentMethods:{getPaymentMethod:D,getPaymentMethodOrThrow:j,getPaymentMethodsMeta:L},paymentProviderCustomer:{getPaymentProviderCustomer:z,getPaymentProviderCustomerOrThrow:F},paymentStrategies:{isInitialized:B},shippingAddress:{getShippingAddress:U,getShippingAddressOrThrow:q,getShippingAddresses:V,getShippingAddressesOrThrow:G},shippingCountries:{getShippingCountries:H}}){return{getHost:Rd(u),getLocale:Rd(d),getCartLocale:Rd(i),getBillingAddress:Rd(e),getBillingAddressOrThrow:Rd(t),getCart:Rd(n),getCartOrThrow:Rd(r),getCheckout:Rd(o),getCheckoutOrThrow:Rd(a),getCountries:Rd(m),getStoreConfig:Rd(l),getStoreConfigOrThrow:Rd(p),getConfig:Rd(h),getConsignments:Rd(f),getConsignmentsOrThrow:Rd(y),getContextConfig:Rd(c),getCustomer:Rd(g),getCustomerOrThrow:Rd(v),getCardInstrument:Rd(_),getInstruments:Rd(S),getCardInstrumentOrThrow:Rd(b),getOrder:Rd(C),getOrderOrThrow:Rd(I),getOrderMeta:Rd(E),getInstrumentsMeta:Rd(w),getPaymentToken:P,getPaymentTokenOrThrow:O,getPaymentId:A,getPaymentIdOrThrow:T,getPaymentStatus:k,getPaymentStatusOrThrow:R,getPaymentRedirectUrl:M,getPaymentRedirectUrlOrThrow:x,getPaymentMethod:Rd(D),getPaymentMethodOrThrow:Rd(j),getPaymentMethodsMeta:Rd(L),getPaymentProviderCustomer:Rd(z),getPaymentProviderCustomerOrThrow:Rd(F),getShippingAddress:Rd(U),getShippingAddressOrThrow:Rd(q),getShippingAddresses:Rd(V),getShippingAddressesOrThrow:Rd(G),getShippingCountries:Rd(H),getOutstandingBalance:Rd(s),isPaymentDataRequired:N,isPaymentMethodInitialized:B}}var xd,Nd=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})};class Dd{constructor(e,t,n,r,i,o,a,s,c,u,d,l,p,h,f,y,m,g,v,_){this._store=e,this._storeProjectionFactory=t,this._checkoutActionCreator=n,this._checkoutValidator=r,this._hostedFormFactory=i,this._orderActionCreator=o,this._billingAddressActionCreator=a,this._consignmentActionCreator=s,this._paymentMethodActionCreator=c,this._paymentActionCreator=u,this._paymentHumanVerificationHandler=d,this._customerActionCreator=l,this._cartRequestSender=p,this._storeCreditActionCreator=h,this._couponActionCreator=f,this._spamProtectionActionCreator=y,this._paymentProviderCustomerActionCreator=m,this._shippingCountryActionCreator=g,this._remoteCheckoutActionCreator=v,this._paymentStrategyWidgetActionCreator=_,this._storeProjection=this._storeProjectionFactory.create(this._store)}createHostedForm(e,t){const n=this._storeProjection.getState().getCheckoutOrThrow().id;return this._hostedFormFactory.create(e,t,n)}subscribe(e,...t){return this._storeProjection.subscribe(e,...t)}getState(){return this._storeProjection.getState()}initializeOffsitePayment(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentActionCreator.initializeOffsitePayment(e)),this._storeProjection.getState()})}loadCheckout(e){return Nd(this,void 0,void 0,function*(){return e?yield this._store.dispatch(this._checkoutActionCreator.loadCheckout(e)):yield this._store.dispatch(this._checkoutActionCreator.loadCurrentCheckout()),this._storeProjection.getState()})}loadDefaultCheckout(){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._checkoutActionCreator.loadDefaultCheckout()),this._storeProjection.getState()})}loadPaymentMethod(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentMethodActionCreator.loadPaymentMethod(e,t)),this._storeProjection.getState()})}loadPaymentMethods(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentMethodActionCreator.loadPaymentMethods(e)),this._storeProjection.getState()})}submitOrder(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._orderActionCreator.submitOrder(e,t)),this._storeProjection.getState()})}submitPayment(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentActionCreator.submitPayment(e)),this._storeProjection.getState()})}finalizeOrder(e){return Nd(this,void 0,void 0,function*(){const{order:{getOrderOrThrow:t}}=this._store.getState();return yield this._store.dispatch(this._orderActionCreator.finalizeOrder(t().orderId,e)),this._storeProjection.getState()})}updateBillingAddress(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._billingAddressActionCreator.updateAddress(e)),this._storeProjection.getState()})}updateShippingAddress(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._consignmentActionCreator.updateAddress(e)),this._storeProjection.getState()})}selectShippingOption(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._consignmentActionCreator.selectShippingOption(e,t)),this._storeProjection.getState()})}signInCustomer(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._customerActionCreator.signInCustomer(e,t)),this._storeProjection.getState()})}signOutCustomer(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._customerActionCreator.signOutCustomer(e)),this._storeProjection.getState()})}createBuyNowCart(e,t){return Nd(this,void 0,void 0,function*(){const{body:n}=yield this._cartRequestSender.createBuyNowCart(e,t);return n})}applyStoreCredit(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._storeCreditActionCreator.applyStoreCredit(e,t)),this._storeProjection.getState()})}applyCoupon(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._couponActionCreator.applyCoupon(e,t)),this._storeProjection.getState()})}removeCoupon(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._couponActionCreator.removeCoupon(e,t)),this._storeProjection.getState()})}verifyCheckoutSpamProtection(){return Nd(this,void 0,void 0,function*(){const{checkout:e}=this._store.getState(),{shouldExecuteSpamCheck:t}=e.getCheckoutOrThrow();return t&&(yield this._store.dispatch(this._spamProtectionActionCreator.verifyCheckoutSpamProtection())),this._storeProjection.getState()})}loadCurrentOrder(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._orderActionCreator.loadCurrentOrder(e)),this._storeProjection.getState()})}updatePaymentProviderCustomer(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentProviderCustomerActionCreator.updatePaymentProviderCustomer(e)),this._storeProjection.getState()})}loadShippingCountries(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._shippingCountryActionCreator.loadCountries(e)),this._storeProjection.getState()})}deleteConsignment(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._consignmentActionCreator.deleteConsignment(e,t)),this._storeProjection.getState()})}initializePayment(e,t,n){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._remoteCheckoutActionCreator.initializePayment(e,t,n)),this._storeProjection.getState()})}forgetCheckout(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._remoteCheckoutActionCreator.forgetCheckout(e,t)),this._storeProjection.getState()})}remoteCheckoutSignOut(e,t){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._remoteCheckoutActionCreator.signOut(e,t)),this._storeProjection.getState()})}validateCheckout(e,t){return Nd(this,void 0,void 0,function*(){yield this._checkoutValidator.validate(e,t)})}handlePaymentHumanVerification(e,t){return Nd(this,void 0,void 0,function*(){return"string"==typeof e?this._paymentHumanVerificationHandler.handle(e,null!=t?t:""):this._paymentHumanVerificationHandler.handle(e)})}widgetInteraction(e){return Nd(this,void 0,void 0,function*(){return yield this._store.dispatch(this._paymentStrategyWidgetActionCreator.widgetInteraction(e),{queueId:"widgetInteraction"}),this._storeProjection.getState()})}}!function(e){e.Synchronize="SYNCHRONIZE"}(xd||(xd={}));class jd{constructor(e){this._transformSelectors=e}create(e){return function(e,t){const n=(0,o.iN)((e,t)=>t.type===xd.Synchronize?t.payload:e,e.getState(),{stateTransformer:t});return e.subscribe(e=>{n.dispatch((0,o.VP)(xd.Synchronize,e))},{initial:!1}),n}(e,this._transformSelectors)}}const Ld=e=>{const t=(0,f.uniqueId)(e);return document.getElementById(t)?Ld(e):t};var zd=n(540),Fd=n.n(zd);function Bd(e){return Object.prototype.hasOwnProperty.call(e,"cacheKey")}class Ud{constructor(e){this._lastId=0,this._map={maps:[]},this._usedMaps=[],this._options=Object.assign({maxSize:0,isEqual:Fd(),onExpire:f.noop},e)}getKey(...e){const t=this._resolveMap(...e),{index:n,parentMap:r}=t;let{map:i}=t;return i&&i.cacheKey?i.usedCount++:i=this._generateMap(r,e.slice(n)),this._removeLeastUsedMap(i),i.cacheKey}getUsedCount(...e){const{map:t}=this._resolveMap(...e);return t?t.usedCount:0}_resolveMap(...e){let t=0,n=this._map;for(;n.maps.length;){let r=!1;for(let i=0;i{const r=Object.getOwnPropertyDescriptor(e.prototype,n);r&&"constructor"!==n&&Object.defineProperty(t.prototype,n,function(e,t,n){if("function"!=typeof n.value)return n;let r=new Ud,i=n.value,o=(0,jn.Bj)(i);return Eo(e,t,{get(){const e=(...e)=>{const t=o.call(this,...e);if(1===r.getUsedCount(...e))return t;const n=i.call(this,...e);return P(n,t,{keyFilter:e=>!function(e){return 0===`${e}`.indexOf("$$")||0===`${e}`.indexOf("_")}(e)})?t:(o.cache.set(r.getKey(...e),n),n)};return Object.defineProperty(this,t,Object.assign(Object.assign({},n),{value:e})),e},set(e){r=new Ud,i=e,o=(0,jn.Bj)(i)}})}(e.prototype,n,r))}),t}let Vd=class{constructor(e){this._checkoutButton=e.checkoutButton}getInitializeButtonError(e){return this._checkoutButton.getInitializeError(e)}getDeinitializeButtonError(e){return this._checkoutButton.getDeinitializeError(e)}};Vd=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([qd],Vd);const Gd=Vd;let Hd=class{constructor(e){this._checkoutButton=e.checkoutButton}isInitializingButton(e){return this._checkoutButton.isInitializing(e)}isDeinitializingButton(e){return this._checkoutButton.isDeinitializing(e)}};Hd=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([qd],Hd);const Yd=Hd;function Wd(e){return{errors:new Gd(e),statuses:new Yd(e)}}let $d=class{constructor(e,t){this._store=e,this._buttonStrategyActionCreator=t,this._state=Wd(this._store.getState()),this._store.subscribe(e=>{this._state=Wd(e)})}getState(){return this._state}subscribe(e,...t){return this._store.subscribe(()=>e(this.getState()),e=>e.checkoutButton.getState(),...t.map(e=>t=>e(Wd(t))))}initializeButton(e){const t=(n=e.containerId,/^\w[\w\-\:\.]*$/.test(n)?[e.containerId]:function(e,t){const n=document.querySelectorAll(e);if(!n.length)throw new nu(`Unable to find any element with the specified selector: ${e}`);return Array.prototype.slice.call(n).map(e=>(e.id||(e.id=Ld(t)),e.id))}(e.containerId,`${e.methodId}-container`));var n;return Promise.all(t.map(t=>{const n=this._buttonStrategyActionCreator.initialize(Object.assign(Object.assign({},e),{containerId:t})),r=`checkoutButtonStrategy:${e.methodId}:${t}`;return this._store.dispatch(n,{queueId:r})})).then(()=>this.getState())}deinitializeButton(e){const t=this._buttonStrategyActionCreator.deinitialize(e),n=`checkoutButtonStrategy:${e.methodId}`;return this._store.dispatch(t,{queueId:n}).then(()=>this.getState())}};$d=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([Eo],$d);const Kd=$d;class Zd{constructor(e,t,n){this._registry=e,this._registryV2=t,this._paymentMethodActionCreator=n}initialize(e){return t=>{const n={methodId:e.methodId,containerId:e.containerId};if(t.getState().checkoutButton.isInitialized(e.methodId,e.containerId))return(0,bc.I)();const r=e.currencyCode?{params:{currencyCode:e.currencyCode}}:{},i=Object.assign(Object.assign({},r),{timeout:e.timeout,useCache:!0});return(0,gc.x)((0,vc.of)((0,o.VP)(ee.InitializeButtonRequested,void 0,n)),this._paymentMethodActionCreator.loadPaymentMethod(e.methodId,i)(t),(0,_c.v)(()=>this._getStrategy(e.methodId).initialize(e).then(()=>(0,o.VP)(ee.InitializeButtonSucceeded,void 0,n)))).pipe((0,C.W)(e=>wc(ee.InitializeButtonFailed,e,n)))}}deinitialize(e){return t=>{const n={methodId:e.methodId};return t.getState().checkoutButton.isInitialized(e.methodId)?(0,gc.x)((0,vc.of)((0,o.VP)(ee.DeinitializeButtonRequested,void 0,n)),(0,_c.v)(()=>this._getStrategy(e.methodId).deinitialize().then(()=>(0,o.VP)(ee.DeinitializeButtonSucceeded,void 0,n)))).pipe((0,C.W)(e=>wc(ee.DeinitializeButtonFailed,e,n))):(0,bc.I)()}}_getStrategy(e){let t;try{t=this._registryV2.get({id:e})}catch(n){t=this._registry.get(e)}return t}}class Jd{constructor(e){var t,n,r;this._factories={},this._instances={},this._defaultToken=null!==(t=null==e?void 0:e.defaultToken)&&void 0!==t?t:"default",this._useFallback=null===(n=null==e?void 0:e.useFallback)||void 0===n||n,this._tokenResolver=null!==(r=null==e?void 0:e.tokenResolver)&&void 0!==r?r:e=>e}get(e,t){try{return this._getInstance(e||this._defaultToken,t||e||this._defaultToken)}catch(e){if(!this._useFallback)throw e;return this._getInstance(this._defaultToken,t||this._defaultToken)}}getFactory(e,t){const n=this._tokenResolver(e,Object.keys(this._factories),t);return n?this._factories[n]:void 0}register(e,t){if(this._hasFactory(e))throw new nu(`'${e}' is already registered.`);this._factories[e]=t}_hasFactory(e){return!!this._factories[e]}_hasInstance(e){return!!this._instances[e]}_getInstance(e,t){if(!this._hasInstance(t)){const n=this.getFactory(e);if(!n)throw new nu(`'${e}' is not registered.`);this._instances[t]=n()}return this._instances[t]}}class Qd extends d{constructor(e){super(e||"Unable to proceed because the client library of a payment method is not loaded or ready to be used."),this.name="PaymentMethodClientUnavailableError",this.type="payment_method_client_unavailable"}}var Xd,el,tl,nl,rl;class il{constructor(e){this._scriptLoader=e,this._window=window}loadPaypal(e=""){return t=this,n=void 0,i=function*(){const t="//www.paypalobjects.com/api/checkout.min.js",n={async:!0,attributes:{"data-merchant-id":e}};if(e?yield this._scriptLoader.loadScript(t,n):yield this._scriptLoader.loadScript(t),!this._window.paypal)throw new Qd;return this._window.paypal},new((r=void 0)||(r=Promise))(function(e,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(a,s)}c((i=i.apply(t,n||[])).next())});var t,n,r,i}}!function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(Xd||(Xd={})),function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.RESPONSIVE="responsive"}(el||(el={})),function(e){e.GOLD="gold",e.BLUE="blue",e.SIlVER="silver",e.BLACK="black",e.WHITE="white"}(tl||(tl={})),function(e){e.CHECKOUT="checkout",e.PAY="pay",e.BUYNOW="buynow",e.PAYPAL="paypal",e.CREDIT="credit"}(nl||(nl={})),function(e){e.PILL="pill",e.RECT="rect"}(rl||(rl={}));class ol{constructor(e,t,n,r,i=""){this._store=e,this._checkoutActionCreator=t,this._paypalScriptLoader=n,this._formPoster=r,this._host=i}initialize(e){const t=e.paypal,n=this._store.getState(),r=this._paymentMethod=n.paymentMethods.getPaymentMethod(e.methodId);if(!t)throw new nu;if(!r)throw new Gn(Vn.MissingPaymentMethod);return this._paypalScriptLoader.loadPaypal(r.config.merchantId).then(n=>{var i,o;if(!r||!r.config.merchantId)throw new Gn(Vn.MissingPaymentMethod);const a=r.config.merchantId,s=r.config.testMode?"sandbox":"production",c={[s]:t.clientId},u=n.FUNDING.CREDIT||"credit",d=t.allowCredit?[u]:[],l=t.allowCredit?[]:[u];return n.Button.render({env:s,client:c,commit:t.shouldProcessPayment,funding:{allowed:d,disallowed:l},style:Object.assign(Object.assign({shape:rl.RECT},(0,f.pick)(t.style,"layout","color","label","shape","tagline","fundingicons")),{size:"paypalexpress"===r.id&&"small"===(null===(i=t.style)||void 0===i?void 0:i.size)?el.RESPONSIVE:null===(o=t.style)||void 0===o?void 0:o.size}),payment:(e,n)=>this._setupPayment(a,n,t.onPaymentError),onAuthorize:(e,n)=>this._tokenizePayment(e,n,t.shouldProcessPayment,t.onAuthorizeError)},e.containerId)})}deinitialize(){return this._paymentMethod=void 0,Promise.resolve()}_setupPayment(e,t,n){if(!t)throw new vu(pu.CheckoutButtonNotInitialized);return this._store.dispatch(this._checkoutActionCreator.loadDefaultCheckout()).then(n=>{const r=n.cart.getCart(),i=r?r.id:"";return t.request.post(`${this._host}/api/storefront/payment/paypalexpress`,{merchantId:e,cartId:i},{headers:Object.assign({"X-API-INTERNAL":pc},hc)})}).then(e=>e.id).catch(e=>{throw n&&n(e),e})}_tokenizePayment(e,t,n,r){if(!this._paymentMethod)throw new vu(pu.CheckoutButtonNotInitialized);if(!t)throw new vu(pu.CheckoutButtonNotInitialized);if(!e.paymentID||!e.payerID)throw new Gn(Vn.MissingPayment);const i=this._paymentMethod.id;return t.payment.get(e.paymentID).then(t=>{this._formPoster.postForm("/checkout.php",{payment_type:"paypal",provider:i,action:n?"process_payment":"set_external_checkout",paymentId:e.paymentID,payerId:e.payerID,payerInfo:JSON.stringify(t.payer.payer_info)})})}}function al(e){return e&&"resolveIds"in e}function sl(){try{return"production"}catch(e){return"development"}}class cl{constructor(e){this._console=e}log(...e){this._logToConsole("log",...e)}info(...e){this._logToConsole("info",...e)}warn(...e){this._logToConsole("warn",...e)}error(...e){this._logToConsole("error",...e)}debug(...e){this._logToConsole("debug",...e)}_logToConsole(e,...t){this._console&&this._console[e]&&this._console[e].call(this._console,...t)}}class ul{log(){}info(){}warn(){}error(){}debug(){}}const dl=function(e=!0){return e?new cl(console):new ul}("test"!==sl());class ll{constructor(e=!1){this._useFallback=e,this._registry=new Jd({tokenResolver:this._resolveToken.bind(this),defaultToken:this._encodeToken({default:!0}),useFallback:this._useFallback})}get(e){return this._registry.get(this._encodeToken(e))}getFactory(e,t){try{return this._registry.getFactory(this._encodeToken(e),t)}catch(e){return}}getUseFallback(){return this._useFallback}register(e,t){this._registry.register(this._encodeToken(e),t)}_encodeToken(e){return btoa(JSON.stringify(e))}_decodeToken(e){return JSON.parse(atob(e))}_resolveToken(e,t,n){var r;const i=this._decodeToken(e),o=[];t.forEach(e=>{const t=this._decodeToken(e),n={token:e,matches:0,default:!1,totalKeys:Object.keys(t).length};for(const[e,r]of Object.entries(t)){if(e in i&&i[e]!==r){n.matches=0;break}e in i&&i[e]===r&&n.matches++,"default"===e&&!0===r&&(n.default=!0)}o.push(n)});const a=o.sort((e,t)=>t.matches-e.matches).filter(e=>e.matches>0);a.length>1&&a[0].matches===a[1].matches&&"development"===sl()&&dl.warn("The provided query matches at least two strategies with the same specificity. This warning can be resolved by making their resolve ID more specific.");const s=Object.keys(i).length;if(n){const e=a.find(e=>e.matches===s&&e.matches===e.totalKeys);if(!e)throw new Error(`Unable to resolve to a registered token with the provided token for ${JSON.stringify(i)} with exact match.`);return e.token}const c=a[0];if(c&&c.token)return c.token;if(this._useFallback){const e=null===(r=o.find(e=>e.default))||void 0===r?void 0:r.token;if(e)return e}throw new Error(`Unable to resolve to a registered token with the provided token for ${JSON.stringify(i)}.`)}}function pl(n){const{host:r}=null!=n?n:{},o=nr({config:{meta:{host:null==n?void 0:n.host,locale:null==n?void 0:n.locale},errors:{},statuses:{}}}),a=(0,t.createRequestSender)({host:r}),s=(0,i.createFormPoster)({host:r}),c=function(e,t){const n=new ll;for(const[,r]of Object.entries(t))if(al(r))for(const t of r.resolveIds)n.register(t,()=>r(e));return n}(function(e,n){const{config:{getHost:r,getLocale:i}}=e.getState();n||(n=(0,t.createRequestSender)({host:r()}));const o=new jd(Md),a=new Tc(new Nc(n),new Fc(new Bc(n)),new Wc(new $c(n))),s=new Lc(new Nc(n)),c=new xu(e),u=new Du(new Uu(n),new Lc(new Nc(n))),d=new Ic(new Oc(n),new Od(new Ad(n))),l=new md(new vd(n),new Nc(n)),p=new uc(new fc(n),new yc(n)),h=new qu(new Vu(function(e){const t=(0,Gu.U)();return e.subscribe(e=>{const n=e.config.getStoreConfig();n&&t.setHost(n.paymentSettings.bigpayBaseUrl)},e=>e.config.getStoreConfig()),t}(e)),u,new ld,new lu(Cu((0,or.Hb)()))),f=new lu(Cu((0,or.Hb)())),y=new Hc(new Yc(n),a,new wd(Cu((0,or.Hb)()),new Cd(n))),m=new Id(new Ed(n)),g=new Uc(new qc(n)),v=Cu((0,or.Hb)()),_=new Cd(n),b=new wd(v,_),S=new Ac(n),w=new pd,C=new _d(new bd(n,{locale:i()}),e),I=new fd(new yd(n),a),E=new hd;return new Dd(e,o,a,s,c,u,d,l,p,h,f,y,S,m,g,b,w,C,I,E)}(o),e);return new Kd(o,new Zd(function(e,t,n,r){const i=new Jd,o=(0,or.vQ)(),a=new Nc(t),s=new Tc(a,new Fc(new Bc(t)),new Wc(new $c(t)));return i.register(Xu.PAYPALEXPRESS,()=>new ol(e,s,new il(o),n,r)),i}(o,a,s,r),c,new uc(new fc(a),new yc(a))))}})(),module.exports=r})();
//# sourceMappingURL=checkout-button.js.map
================================================
FILE: dist/cjs/checkout-button.js.LICENSE.txt
================================================
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
================================================
FILE: dist/cjs/checkout-sdk-essential.js
================================================
/*! For license information please see checkout-sdk-essential.js.LICENSE.txt */
(()=>{var e={3825(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(4475)),i=u(n(8015)),o=u(n(8615)),s=u(n(9504)),a=u(n(4351)),c=u(n(3072));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}function l(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:o.APPLICATION_JSON;return e&&(0,s.includes)(t,o.APPLICATION_JSON)?JSON.stringify(e):e}},{key:"fromResponse",value:function(e){var t=this.parseResponseHeaders(e.getAllResponseHeaders()),n=e.getResponseHeader("Content-Type"),r=e.status,i=e.statusText,a="response"in e?e.response:e.responseText;return a&&(0,s.includes)(n,o.APPLICATION_JSON)&&(a=JSON.parse(a)),{data:a,headers:t,status:r,statusText:i}}},{key:"parseResponseHeaders",value:function(e){return(e?e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/):[]).reduce(function(e,t){var n=t.split(":"),r=(n.shift()||"").trim();return r?(0,i.default)({},e,function(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r.toLowerCase(),n.join(":").trim())):e},{})}}],[{key:"create",value:function(){return new e}}])}()},5101(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},n(e)}function r(e,t){for(var n=0;n=200&&e.status<300}}])&&l(t.prototype,n),u&&l(t,u),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,u}()},6207(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!Array.isArray(e)&&"string"!=typeof e)&&-1!==e.indexOf(t)}},5916(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"includes",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"isNil",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"omitEmptyStringAndNil",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"omitNil",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"omitProperty",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"toNumber",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"toSnakeCase",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"toString",{enumerable:!0,get:function(){return l.default}});var r=h(n(6207)),i=h(n(848)),o=h(n(216)),s=h(n(1144)),a=h(n(2433)),c=h(n(2265)),u=h(n(3897)),d=h(n(987)),l=h(n(6645));function h(e){return e&&e.__esModule?e:{default:e}}},7914(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return""===e}},223(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)||(0,i.default)(e)};var r=o(n(7914)),i=o(n(848));function o(e){return e&&e.__esModule?e:{default:e}}},848(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e}},216(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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"===n(e)&&!Array.isArray(e)}},1144(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,r.default)};var r=o(n(223)),i=o(n(2265));function o(e){return e&&e.__esModule?e:{default:e}}},2433(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,r.default)};var r=o(n(848)),i=o(n(2265));function o(e){return e&&e.__esModule?e:{default:e}}},2265(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e)?Object.keys(e).reduce(function(n,r){var i=e[r];return t(i)||(n[r]=i),n},{}):e};var r,i=(r=n(216))&&r.__esModule?r:{default:r}},3897(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return parseFloat(e)||0}},987(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"!=typeof e?e:e.replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()}},6645(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?e:"number"!=typeof e||Number.isNaN(e)?"":e.toString()}},2742(e,t,n){"use strict";t.U=function(e){return i.default.create(e)};var r,i=(r=n(3825))&&r.__esModule?r:{default:r}},9504(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(7542)),i=s(n(3373)),o=s(n(2815));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function c(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{}).authToken;return(0,r.omitNil)({Authorization:e})},t.mapToInstrumentPayload=function(){var e,t,n,o,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=s.providerName,c=s.defaultInstrument,u=(0,r.omitNil)({name:a});return(0,r.omitNil)({provider:u,credit_card:(e=s,t=e.creditCard,n=void 0===t?{}:t,o=(0,r.omitNil)(n.threeDSecure),(0,r.omitNil)({cardholder_name:n.cardholderName,number:n.number,month:n.month,year:n.year,verification_code:n.verificationCode,issue_month:n.issueMonth,issue_year:n.issueYear,issue_number:n.issueNumber,track_data:n.trackData,is_manual_entry:n.isManualEntry,icc_data:n.iccData,fallback_reason:n.fallbackReason,is_contactless:n.isContactless,encrypted_pin_cryptogram:n.encryptedPinCryptogram,encrypted_pin_ksn:n.encryptedPinKsn,three_d_secure:o})),billing_address:i(s.billingAddress),default_instrument:c})},t.mapToTrustedShippingAddressPayload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e.shippingAddress)?(0,r.omitNil)({shipping_addresses:e.shippingAddress.map(function(e){return i(e)})}):(0,r.omitNil)({shipping_address:i(e.shippingAddress)})};var r=n(5916);function i(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(e=n.provinceCode,t=n.province,(0,r.omitNil)({code:e,name:t}));return(0,r.omitNil)({address_line_1:n.addressLine1,address_line_2:n.addressLine2,city:n.city,company:n.company,country_code:n.countryCode,email:n.email,first_name:n.firstName,last_name:n.lastName,phone:n.phone,postal_code:n.postCode,state:i})}},1953(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9440),i=n(540);t.default=function(e,t){var n=(t||{}).equalityCheck,o=void 0===n?i:n;return function(t,n){return Object.keys(e).reduce(function(i,s){var a,c=e[s],u=t?t[s]:void 0,d=c(u,n);return o(u,d)&&i?i:r.assign({},i,((a={})[s]=d,a))},t||{})}}},3050(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1635),i=n(9440),o=n(540);t.default=function(){for(var e=[],t=0;t0&&(a=a.pipe(s.distinctUntilChanged(function(e,n){return o.every(function(r){return t._options.equalityCheck(r(e),r(n))})}))),i&&!1===i.initial&&(a=a.pipe(s.skip(1)));var c=[a.subscribe(e),this._notification$.subscribe(e)];return function(){return c.forEach(function(e){return e.unsubscribe()})}},e.prototype._transformStates=function(e,t){try{var n=!1===this._options.shouldWarnMutation?this._reducer(e.state,t):c.default(this._reducer(e.state,t),{equalityCheck:this._options.equalityCheck,previousValue:e.state});return{state:n,transformedState:this._options.stateTransformer(n)}}catch(n){return this._getDispatchError(t.meta&&t.meta.queueId).next(n),{state:e.state,transformedState:e.transformedState}}},e.prototype._dispatchAction=function(e){return this._dispatchObservableAction(e.error?o.throwError(e):o.of(e))},e.prototype._dispatchObservableAction=function(e,t){var n=this;return void 0===t&&(t={}),new Promise(function(r,a){var c=n._getDispatchError(t.queueId),u=n._options.actionTransformer(o.from(e).pipe(s.map(function(e){return t.queueId?i.merge({},e,{meta:{queueId:t.queueId}}):e})));n._getDispatcher(t.queueId).next(o.from(u).pipe(s.map(function(e,t){return 0===t&&c.pipe(s.first()).subscribe(a),e.error&&a(e.payload),e}),s.catchError(function(e){return a(e instanceof Error?e:e.payload),o.of(e)}),s.tap({complete:function(){r(n.getState())}})))})},e.prototype._dispatchThunkAction=function(e,t){var n=this;return void 0===t&&(t={}),this._dispatchObservableAction(o.defer(function(){return e(n)}),t)},e.prototype._getDispatcher=function(e){return void 0===e&&(e="default"),this._dispatchers[e]||(this._dispatchers[e]=new o.Subject,this._dispatchQueue$.next(this._dispatchers[e])),this._dispatchers[e]},e.prototype._getDispatchError=function(e){return void 0===e&&(e="default"),this._errors[e]||(this._errors[e]=new o.Subject),this._errors[e]},e}();t.default=h},8820(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9440),i=n(540);t.default=function e(t,n){try{var o=n||{},s=o.equalityCheck,a=void 0===s?i:s,c=o.previousValue,u=void 0===c?null:c;return a(t,u)&&Object.isFrozen(u)?u:Object.isFrozen(t)||!Array.isArray(t)&&!r.isPlainObject(t)?t:Array.isArray(t)?Object.freeze(t.map(function(t,n){return e(t,{equalityCheck:a,previousValue:Array.isArray(u)?u[n]:void 0})})):Object.freeze(Object.getOwnPropertyNames(t).reduce(function(n,r){return n[r]=e(t[r],{equalityCheck:a,previousValue:u&&u.hasOwnProperty(r)?u[r]:void 0}),n},{}))}catch(e){if(e instanceof TypeError)return t;throw e}}},9526(e,t,n){"use strict";n(76).default;var r=n(1953);t.HY=r.default;var i=n(3050);t.om=i.default;var o=n(7963);t.VP=o.default;var s=n(7821);t.iN=s.default;var a=n(6142);t.fQ=a.default;var c=n(8820);t.ol=c.default},6019(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e.subscribe||"function"==typeof e.then}},1429(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},1058(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},9165(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new r.default;return new i.default(t,e)};var r=n(9828),i=n(5470)},9828(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.build=function(e,t,n){var r=this,i=document.createElement("form");return i.style.display="none",i.setAttribute("action",e),i.setAttribute("method","POST"),i.setAttribute("target",n||"_top"),Object.keys(t).forEach(function(e){var n=t[e];i.appendChild(r._createInput(n,e))}),i},e.prototype._createInput=function(e,t){var n=document.createElement("input");return n.setAttribute("name",t),n.setAttribute("type","hidden"),n.setAttribute("value",e),n},e}();t.default=n},5470(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9783),i=function(){function e(e,t){this._formBuilder=e,this._options=t}return e.prototype.postForm=function(e,t,n,r){var i=this._formBuilder.build(this._prependHost(e),t,r);window.addEventListener("unload",function e(){window.removeEventListener("unload",e),n&&n()}),document.body.appendChild(i),i.submit()},e.prototype._prependHost=function(e){return this._options&&this._options.host&&!(0,r.isAbsoluteUrl)(e)?(0,r.joinPaths)(this._options.host,e):e},e}();t.default=i},8686(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormPoster=t.createFormPoster=void 0;var r=n(9165);Object.defineProperty(t,"createFormPoster",{enumerable:!0,get:function(){return r.default}});var i=n(5470);Object.defineProperty(t,"FormPoster",{enumerable:!0,get:function(){return i.default}})},9783(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsoluteUrl=function(e){return/^https?:\/\//.test(e)},t.joinPaths=function(e,t){return"".concat((n=e,n.replace(/\/$/,"")),"/").concat(function(e){return e.replace(/^\//,"")}(t));var n}},2356(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTerminalCacheKeyMap=function(e){return e.hasOwnProperty("cacheKey")},t.isRootCacheKeyMap=function(e){return e.hasOwnProperty("parentMap")}},3909(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1635),i=n(9440),o=r.__importDefault(n(540)),s=n(2356),a=function(){function e(e){this._lastId=0,this._map={maps:[]},this._usedMaps=[],this._options=r.__assign({isEqual:o.default,maxSize:0,onExpire:i.noop},e)}return e.prototype.getKey=function(){for(var e=[],t=0;tf,Timeout:()=>p,createRequestSender:()=>m,createTimeout:()=>y});var r=n(168),i=n(1635),o=/application\/(\w+\+)?json/,s=/application\/x-www-form-urlencoded/;const a=function(){function e(){}return e.prototype.toRequestBody=function(e){var t,n=e.headers?this._getHeader(e.headers,"Content-Type"):"";if(e.body){if(o.test(n))return JSON.stringify(e.body);if(s.test(n))return"object"!=typeof(t=e.body)||null===t?t:Object.keys(t).filter(function(e){return void 0!==t[e]}).map(function(e){var n=t[e];return"string"==typeof n?"".concat(e,"=").concat(encodeURIComponent(n)):"".concat(e,"=").concat(encodeURIComponent(JSON.stringify(n)||""))}).join("&")}return e.body},e.prototype.toResponse=function(e){var t=this._parseResponseHeaders(e.getAllResponseHeaders());return{body:this._parseResponseBody("response"in e?e.response:e.responseText,t),headers:t,status:e.status,statusText:e.statusText}},e.prototype._parseResponseBody=function(e,t){var n=this._getHeader(t,"Content-Type");return e&&o.test(n)?JSON.parse(e):e},e.prototype._parseResponseHeaders=function(e){return(e?e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/):[]).reduce(function(e,t){var n,r=t.split(":"),o=(r.shift()||"").trim();return o?(0,i.__assign)((0,i.__assign)({},e),((n={})[o.toLowerCase()]=r.join(":").trim(),n)):e},{})},e.prototype._getHeader=function(e,t){return e&&t&&(e[t]||e[t.toLowerCase()])||""},e}();var c=n(5889);const u=function(){function e(){}return e.prototype.createRequest=function(e,t){var n=new XMLHttpRequest;return this._configureRequest(n,e,t),n},e.prototype._configureRequest=function(e,t,n){void 0===n&&(n={}),e.open(n.method||"GET",this._formatUrl(t,n.params,n.encodeParams),!0),n.headers&&this._configureRequestHeaders(e,n.headers),"boolean"==typeof n.credentials&&(e.withCredentials=n.credentials),"number"==typeof n.timeout&&(e.timeout=n.timeout)},e.prototype._configureRequestHeaders=function(e,t){Object.keys(t).filter(function(e){return null!==t[e]}).forEach(function(n){e.setRequestHeader(n,t[n])})},e.prototype._formatUrl=function(e,t,n){return void 0===n&&(n=!0),t&&0!==Object.keys(t).length?"".concat(e,"?").concat(c.stringify(t,{encode:n})):e},e}();var d=n(35),l=n.n(d),h=function(){function e(){this._cache={}}return e.prototype.read=function(e,t){var n=this.getKey(e,t.params);return this._cache[n]||null},e.prototype.write=function(e,t,n){var r=this.getKey(e,t.params);this._cache[r]=n},e.prototype.getKey=function(e,t){return void 0===t&&(t={}),0===Object.keys(t).length?e:"".concat(e,"?").concat(c.stringify(t))},e}();const p=function(){function e(e){var t=this;this._delay=e,this._promise=new Promise(function(e){t._resolve=e})}return e.prototype.onComplete=function(e){this._promise.then(e)},e.prototype.complete=function(){this._resolve(),void 0!==this._timeoutToken&&clearTimeout(this._timeoutToken)},e.prototype.start=function(){var e=this;void 0!==this._delay&&(this._timeoutToken=setTimeout(function(){return e.complete()},this._delay))},e}(),f=function(){function e(e,t,n,r){void 0===r&&(r={}),this._requestFactory=e,this._payloadTransformer=t,this._cookie=n,this._options=r,this._cache=this._options.cache||new h}return e.prototype.sendRequest=function(e,t){var n=this,r=this._mergeDefaultOptions(e,t),i=this._getCachedRequest(e,r);if(i)return Promise.resolve(i);var o=this._requestFactory.createRequest(this._prependHost(e),r);return new Promise(function(t,i){var s,a=function(){var s=n._payloadTransformer.toResponse(o);s.status>=200&&s.status<300?(n._cacheRequest(e,r,s),t(s)):i(s)};o.onload=a,o.onerror=a,o.onabort=a,o.ontimeout=a,r.timeout instanceof p&&(r.timeout.onComplete(function(){return o.abort()}),r.timeout.start()),!(s=r.timeout)||"object"!=typeof s&&"function"!=typeof s||"function"!=typeof s.then||r.timeout.then(function(){return o.abort()}),o.send(n._payloadTransformer.toRequestBody(r))})},e.prototype.get=function(e,t){return this.sendRequest(e,(0,i.__assign)((0,i.__assign)({},t),{method:"GET"}))},e.prototype.post=function(e,t){return this.sendRequest(e,(0,i.__assign)((0,i.__assign)({},t),{method:"POST"}))},e.prototype.put=function(e,t){return this.sendRequest(e,(0,i.__assign)((0,i.__assign)({},t),{method:"PUT"}))},e.prototype.patch=function(e,t){return this.sendRequest(e,(0,i.__assign)((0,i.__assign)({},t),{method:"PATCH"}))},e.prototype.delete=function(e,t){return this.sendRequest(e,(0,i.__assign)((0,i.__assign)({},t),{method:"DELETE"}))},e.prototype._mergeDefaultOptions=function(e,t){var n={credentials:!0,encodeParams:!0,headers:{Accept:"application/json, text/plain, */*"},method:"GET"},r=this._cookie.get("XSRF-TOKEN");return r&&n.headers&&!this._isAssetRequest(e,t)&&this._isLocalRequest(e)&&(n.headers["X-XSRF-TOKEN"]=r),t&&t.body&&n.headers&&(n.headers["Content-Type"]="application/json"),l()({},n,t)},e.prototype._prependHost=function(e){return!this._options.host||/^https?:\/\//.test(e)?e:"".concat(this._options.host.replace(/\/$/,""),"/").concat(e.replace(/^\//,""))},e.prototype._shouldCacheRequest=function(e){return"GET"===(e.method||"GET").toUpperCase()&&Boolean(e.cache)},e.prototype._getCachedRequest=function(e,t){return this._shouldCacheRequest(t)?this._cache.read(e,t):null},e.prototype._cacheRequest=function(e,t,n){this._shouldCacheRequest(t)&&this._cache.write(e,t,n)},e.prototype._isAssetRequest=function(e,t){return(!t||!t.method||"GET"===t.method.toUpperCase())&&/\.(png|gif|jpe?g|css|js|json|svg|html?)$/.test(e.split("?")[0])},e.prototype._isLocalRequest=function(e){return!!e.match(new RegExp("^(https?:)?//"+window.location.hostname))||!e.match(new RegExp("^(https?:)?//"))},e}();function m(e){return new f(new u,new a,r,e)}function y(e){return new p(e)}},5889(e,t,n){"use strict";const r=n(803),i=n(1915),o=n(1657),s=n(3814);function a(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function l(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function f(e,t){a((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const s=i||o?n.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===n?n:u(n,e);r[t]=s};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,s]=o(t.decode?i.replace(/\+/g," "):i,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:u(s,t),n(u(e,t),s,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=p(n[e],t);else r[e]=p(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e},Object.create(null))}t.extract=h,t.parse=f,t.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[c(t,e),"=",c(r,e)].join("")]:[[n,c(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:f(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=l(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),s=Object.assign(o,e.query);let a=t.stringify(s,n);a&&(a=`?${a}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${c(e.fragmentIdentifier,n)}`),`${r}${a}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:i,query:o,fragmentIdentifier:a}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:s(o,n),fragmentIdentifier:a},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},5477(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.canSupportRel=function(e){var t=document.createElement("link");return!!(t.relList&&t.relList.supports&&t.relList.supports(e))},e}();t.default=n},471(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new o.default(new i.default,(0,r.createRequestSender)())};var r=n(1077),i=n(5477),o=n(4886)},9722(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new o.default(new i.default,(0,r.createRequestSender)())};var r=n(1077),i=n(5477),o=n(7995)},5895(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||(r=(0,i.default)()),r};var r,i=n(471)},282(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||(r=(0,i.default)()),r};var r,i=n(9722)},315(e,t,n){"use strict";t.vQ=t.Hb=void 0;n(4886);var r=n(471);Object.defineProperty(t,"Hb",{enumerable:!0,get:function(){return r.default}});var i=n(5895);Object.defineProperty(t,"vQ",{enumerable:!0,get:function(){return i.default}});n(7995),n(9722),n(282)},4886(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._browserSupport=e,this._requestSender=t,this._scripts={},this._preloadedScripts={}}return e.prototype.loadScript=function(e,t){var n=this;return this._scripts[e]||(this._scripts[e]=new Promise(function(r,i){var o=document.createElement("script"),s=t||{},a=s.async,c=void 0!==a&&a,u=s.attributes,d=void 0===u?{}:u;Object.keys(d).forEach(function(e){o.setAttribute(e,d[e])}),o.onload=function(){return r()},o.onreadystatechange=function(){return r()},o.onerror=function(t){delete n._scripts[e],i(t)},o.async=c,o.src=e,document.body.appendChild(o)})),this._scripts[e]},e.prototype.loadScripts=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.loadScript(e,t)})).then(function(){})},e.prototype.preloadScript=function(e,t){var n=this;return this._preloadedScripts[e]||(this._preloadedScripts[e]=new Promise(function(r,i){var o=(t||{}).prefetch,s=void 0!==o&&o?"prefetch":"preload";if(n._browserSupport.canSupportRel(s)){var a=document.createElement("link");a.as="script",a.rel=s,a.href=e,a.onload=function(){r()},a.onerror=function(){delete n._preloadedScripts[e],i()},document.head.appendChild(a)}else n._requestSender.get(e,{credentials:!1,headers:{Accept:"application/javascript"}}).then(function(){return r()}).catch(i)})),this._preloadedScripts[e]},e.prototype.preloadScripts=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.preloadScript(e,t)})).then(function(){})},e}();t.default=n},7995(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._browserSupport=e,this._requestSender=t,this._stylesheets={},this._preloadedStylesheets={}}return e.prototype.loadStylesheet=function(e,t){var n=this;return this._stylesheets[e]||(this._stylesheets[e]=new Promise(function(r,i){var o=document.createElement("link"),s=t||{},a=s.prepend,c=void 0!==a&&a,u=s.attributes,d=void 0===u?{}:u;Object.keys(d).forEach(function(e){o.setAttribute(e,d[e])}),o.onload=function(){return r()},o.onerror=function(t){delete n._stylesheets[e],i(t)},o.rel="stylesheet",o.href=e,c&&document.head.children[0]?document.head.insertBefore(o,document.head.children[0]):document.head.appendChild(o)})),this._stylesheets[e]},e.prototype.loadStylesheets=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.loadStylesheet(e,t)})).then(function(){})},e.prototype.preloadStylesheet=function(e,t){var n=this;return this._preloadedStylesheets[e]||(this._preloadedStylesheets[e]=new Promise(function(r,i){var o=(t||{}).prefetch,s=void 0!==o&&o,a=s?"prefetch":"preload";if(n._browserSupport.canSupportRel(a)){var c=document.createElement("link");c.as="style",c.rel=s?"prefetch":"preload",c.href=e,c.onload=function(){r()},c.onerror=function(t){delete n._preloadedStylesheets[e],i(t)},document.head.appendChild(c)}else n._requestSender.get(e,{credentials:!1,headers:{Accept:"text/css"}}).then(function(){return r()}).catch(i)})),this._preloadedStylesheets[e]},e.prototype.preloadStylesheets=function(e,t){var n=this;return Promise.all(e.map(function(e){return n.preloadStylesheet(e,t)})).then(function(){})},e}();t.default=n},6472(e,t,n){"use strict";t.Jt=void 0,n(8914),n(9690),n(3255),n(523),n(7571),n(2100),n(3302),n(1045),n(5160),n(9356),n(9225),n(72),n(236),n(3069),n(441),n(7520),n(3686),n(648),n(1439),n(4651),n(9014),n(3761),n(9060),n(5886);var r=n(9262);t.Jt=r,n(8990)},5886(e,t,n){"use strict";var r=n(8914),i=n(9690),o=n(72);e.exports=function(){return r()||i()||o()}},8914(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/Android/i.test(e)}},9690(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/CrOS/i.test(e)}},3255(e,t,n){"use strict";var r=n(5160),i=n(3761),o=n(523),s=n(9014),a=n(9060);e.exports=function(e){return!(-1===(e=e||window.navigator.userAgent).indexOf("Chrome")&&-1===e.indexOf("CriOS")||r(e)||i(e)||o(e)||s(e)||a(e))}},523(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("DuckDuckGo/")}},5160(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Edge/")||-1!==e.indexOf("Edg/")}},9356(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/Firefox/i.test(e)}},7571(e,t,n){"use strict";var r=n(1045);e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE")||r(e)}},3302(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 10")}},1045(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Trident/7")}},2100(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 9")}},236(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/FxiOS/i.test(e)}},3069(e,t,n){"use strict";var r=n(72);e.exports=function(e){return e=e||window.navigator.userAgent,r(e)&&function(e){return/\bGSA\b/.test(e)}(e)}},441(e,t,n){"use strict";var r=n(72),i=n(236),o=/webkit/i;e.exports=function(e){return e=e||window.navigator.userAgent,r(e)&&function(e){return o.test(e)}(e)&&!function(e){return e.indexOf("CriOS")>-1}(e)&&!i(e)&&!function(e){return e.indexOf("FBAN")>-1}(e)}},7520(e,t,n){"use strict";var r=n(3686);e.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,r(e)&&!t}},3686(e,t,n){"use strict";var r=n(72),i=n(3069);e.exports=function(e){return e=e||window.navigator.userAgent,!!r(e)&&(!!i(e)||/.+AppleWebKit(?!.*Safari)/i.test(e))}},648(e,t,n){"use strict";var r=n(3686);e.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,r(e)&&t}},72(e,t,n){"use strict";var r=n(1439);e.exports=function(e,t,n){void 0===t&&(t=!0),e=e||window.navigator.userAgent;var i=/iPhone|iPod|iPad/i.test(e);return t?i||r(e,n):i}},1439(e){"use strict";e.exports=function(e,t){return e=e||window.navigator.userAgent,t=t||window.document,/Mac|iPad/i.test(e)&&"ontouchend"in t}},4651(e,t,n){"use strict";var r=n(236),i=n(9356);e.exports=function(e){return e=e||window.navigator.userAgent,r(e)||/iPhone|iPod|iPad|Mobile|Tablet/i.test(e)&&i(e)}},9014(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("OPR/")||-1!==e.indexOf("Opera/")||-1!==e.indexOf("OPT/")}},9225(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/^Mozilla\/5\.0.*Safari\//.test(e)&&!/(iPhone|iPad|iPod|Android|SM-)/i.test(e)&&!/Chrome|CriOS|FxiOS|OPiOS|mercury/i.test(e)}},3761(e){"use strict";e.exports=function(e){return e=e||window.navigator.userAgent,/SamsungBrowser/i.test(e)}},9060(e){"use strict";e.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Silk/")}},8990(e,t,n){"use strict";var r=n(3255);e.exports=function(e){return e=e||window.navigator.userAgent,!!window.PaymentRequest&&(!r(e)||function(e){var t=e.match(/Chrome\/(\d+)\./);return!!t&&parseInt(t[1],10)>=61}(e))}},9262(e,t,n){"use strict";var r=n(8914),i=n(236),o=n(3686),s=n(3255),a=n(3761),c=n(523);function u(e){return(e=e||window.navigator.userAgent).indexOf("Opera Mini")>-1}e.exports=function(e){return e=e||window.navigator.userAgent,!(o(e)||i(e)||function(e){return e=e||window.navigator.userAgent,!!r(e)&&/Version\/[\d.]+/i.test(e)&&!u(e)&&!c(e)}(e)||u(e)||function(e){var t=(e=e||window.navigator.userAgent).match(/CriOS\/(\d+)\./);return!!t&&parseInt(t[1],10)<48}(e)||function(e){return!s(e)&&!a(e)&&/samsung/i.test(e)}(e))}},2437(e,t,n){"use strict";e.exports={number:n(36),expirationDate:n(1644),expirationMonth:n(188),expirationYear:n(7209),cvv:n(3221),postalCode:n(583),creditCardType:n(2921)}},36(e,t,n){"use strict";var r=n(1653),i=n(2921);function o(e,t,n){return{card:e,isPotentiallyValid:t,isValid:n}}e.exports=function(e,t){var n,s,a,c,u;if(t=t||{},"number"==typeof e&&(e=String(e)),"string"!=typeof e)return o(null,!1,!1);if(e=e.replace(/\-|\s/g,""),!/^\d*$/.test(e))return o(null,!1,!1);if(0===(n=i(e)).length)return o(null,!1,!1);if(1!==n.length)return o(null,!0,!1);if(s=n[0],t.maxLength&&e.length>t.maxLength)return o(s,!1,!1);for(a=s.type===i.types.UNIONPAY&&!0!==t.luhnValidateUnionPay||r(e),u=Math.max.apply(null,s.lengths),t.maxLength&&(u=Math.min(t.maxLength,u)),c=0;cfunction(e){for(var t=3,n=0;nt?e[n]:t;return t}(n)?t(!1,!1):t(!0,!0):t(!1,!1)}},1644(e,t,n){"use strict";var r=n(9376),i=n(188),o=n(7209);function s(e,t,n,r){return{isValid:e,isPotentiallyValid:t,month:n,year:r}}e.exports=function(e,t){var n,a,c,u;if("string"==typeof e)e=e.replace(/^(\d\d) (\d\d(\d\d)?)$/,"$1/$2"),n=r(e);else{if(null===e||"object"!=typeof e)return s(!1,!1,null,null);n={month:String(e.month),year:String(e.year)}}if(a=i(n.month),c=o(n.year,t),a.isValid){if(c.isCurrentYear)return s(u=a.isValidForThisYear,u,n.month,n.year);if(c.isValid)return s(!0,!0,n.month,n.year)}return a.isPotentiallyValid&&c.isPotentiallyValid?s(!1,!0,null,null):s(!1,!1,null,null)}},188(e){"use strict";function t(e,t,n){return{isValid:e,isPotentiallyValid:t,isValidForThisYear:n||!1}}e.exports=function(e){var n,r,i=(new Date).getMonth()+1;return"string"!=typeof e?t(!1,!1):""===e.replace(/\s/g,"")||"0"===e?t(!1,!0):/^\d*$/.test(e)?(n=parseInt(e,10),isNaN(e)?t(!1,!1):t(r=n>0&&n<13,r,r&&n>=i)):t(!1,!1)}},7209(e){"use strict";function t(e,t,n){return{isValid:e,isPotentiallyValid:t,isCurrentYear:n||!1}}e.exports=function(e,n){var r,i,o,s,a;return n=n||19,"string"!=typeof e?t(!1,!1):""===e.replace(/\s/g,"")?t(!1,!0):/^\d*$/.test(e)?(i=e.length)<2?t(!1,!0):(r=(new Date).getFullYear(),3===i?t(!1,e.slice(0,2)===String(r).slice(0,2)):i>4?t(!1,!1):(e=parseInt(e,10),o=Number(String(r).substr(2,2)),2===i?(a=o===e,s=e>=o&&e<=o+n):4===i&&(a=r===e,s=e>=r&&e<=r+n),t(s,s,a))):t(!1,!1)}},2278(e){"use strict";e.exports=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},1653(e){"use strict";e.exports=function(e){for(var t,n=0,r=!1,i=e.length-1;i>=0;)t=parseInt(e.charAt(i),10),r&&(t*=2)>9&&(t=t%10+1),r=!r,n+=t,i--;return n%10==0}},9376(e,t,n){"use strict";var r=n(7209),i=n(2278);e.exports=function(e){var t,n,o,s,a;return/^\d{4}-\d{1,2}$/.test(e)?e=e.split("-").reverse():/\//.test(e)?e=e.split(/\s*\/\s*/g):/\s/.test(e)&&(e=e.split(/ +/g)),i(e)?{month:e[0]||"",year:e.slice(1).join()}:(o=e,n=0===(a=Number(o[0]))?2:a>1||1===a&&Number(o[1])>2?1:1===a?(s=o.substr(1),r(s).isPotentiallyValid?1:2):5===o.length?1:o.length>5?2:1,{month:t=e.substr(0,n),year:e.substr(t.length)})}},583(e){"use strict";function t(e,t){return{isValid:e,isPotentiallyValid:t}}e.exports=function(e,n){var r;return r=(n=n||{}).minLength||3,"string"!=typeof e?t(!1,!1):e.lengthh){s=e.lastIndexOf(";",a-1)+1;continue}var p=c(e,s,a),f=u(e,a,p),m=e.slice(p,f);if(!r.call(n,m)){var y=c(e,a+1,h),g=u(e,h,y);34===e.charCodeAt(y)&&34===e.charCodeAt(g-1)&&(y++,g--);var _=e.slice(y,g);n[m]=l(_,o)}s=h+1}while(sn;){var r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return n}function d(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function l(e,t){try{return t(e)}catch(t){return e}}},2921(e,t,n){"use strict";var r,i=n(2931),o=n(7695),s=n(4461),a=n(6520),c=n(9545),u={},d={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},l=[d.VISA,d.MASTERCARD,d.AMERICAN_EXPRESS,d.DINERS_CLUB,d.DISCOVER,d.JCB,d.UNIONPAY,d.MAESTRO,d.ELO,d.MIR,d.HIPER,d.HIPERCARD];function h(e){return u[e]||i[e]}function p(e,t){var n=r.indexOf(e);if(!t&&-1===n)throw new Error('"'+e+'" is not a supported card type.');return n}function f(e){var t,n=[];return a(e)?0===e.length?r.map(function(e){return o(h(e))}):(r.forEach(function(t){var r=h(t);c(e,r,n)}),(t=s(n))?[t]:n):[]}r=o(l),f.getTypeInfo=function(e){return o(h(e))},f.removeCard=function(e){var t=p(e);r.splice(t,1)},f.addCard=function(e){var t=p(e.type,!0);u[e.type]=e,-1===t&&r.push(e.type)},f.updateCard=function(e,t){var n,r=u[e]||i[e];if(!r)throw new Error('"'+e+'" is not a recognized type. Use `addCard` instead.');if(t.type&&r.type!==t.type)throw new Error("Cannot overwrite type parameter.");n=o(r,!0),Object.keys(n).forEach(function(e){t[e]&&(n[e]=t[e])}),u[n.type]=n},f.changeOrder=function(e,t){var n=p(e);r.splice(n,1),r.splice(t,0,e)},f.resetModifications=function(){r=o(l),u={}},f.types=d,e.exports=f},9545(e,t,n){"use strict";var r=n(7695),i=n(6744);e.exports=function(e,t,n){var o,s,a,c;for(o=0;o=a&&(c.matchStrength=a),n.push(c);break}}},2931(e){"use strict";e.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},7695(e){"use strict";e.exports=function(e){return e?JSON.parse(JSON.stringify(e)):null}},4461(e){"use strict";e.exports=function(e){if(function(e){var t=e.filter(function(e){return e.matchStrength}).length;return t>0&&t===e.length}(e))return e.reduce(function(e,t){return e?e.matchStrength=t&&o<=n}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},1915(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;rx?(W&&(clearTimeout(W),W=null),$=e,Y=H.apply(V,G),W||(V=G=null)):W||(W=setTimeout(K,t)),Y});te(window,"message",Ae),te(window,"readystatechange",Te),Te()}function ee(){}function te(e,t,n,r){"addEventListener"in window?e.addEventListener(t,n,!!z&&(r||{})):"attachEvent"in window&&e.attachEvent("on"+t,n)}function ne(e,t,n){"removeEventListener"in window?e.removeEventListener(t,n,!1):"detachEvent"in window&&e.detachEvent("on"+t,n)}function re(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ie(e){return S+"["+E+"] "+e}function oe(e){b&&"object"==typeof window.console&&console.log(ie(e))}function se(e){"object"==typeof window.console&&console.warn(ie(e))}function ae(){var e,s;!function(){function e(e){return"true"===e}var s=y.substr(13).split(":");E=s[0],i=t!==s[1]?Number(s[1]):i,c=t!==s[2]?e(s[2]):c,b=t!==s[3]?e(s[3]):b,_=t!==s[4]?Number(s[4]):_,n=t!==s[6]?e(s[6]):n,o=s[7],f=t!==s[8]?s[8]:f,r=s[9],a=s[10],A=t!==s[11]?Number(s[11]):A,g.enable=t!==s[12]&&e(s[12]),w=t!==s[13]?s[13]:w,N=t!==s[14]?s[14]:N}(),oe("Initialising iFrame ("+location.href+")"),function(){function e(e,t){return"function"==typeof e&&(oe("Setup custom "+t+"CalcMethod"),U[t]=e,e="custom"),e}var t;"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(t=window.iFrameResizer,oe("Reading data from page: "+JSON.stringify(t)),D="messageCallback"in t?t.messageCallback:D,j="readyCallback"in t?t.readyCallback:j,P="targetOrigin"in t?t.targetOrigin:P,f="heightCalculationMethod"in t?t.heightCalculationMethod:f,N="widthCalculationMethod"in t?t.widthCalculationMethod:N,f=e(f,"height"),N=e(N,"width")),oe("TargetOrigin for parent set to: "+P)}(),t===o&&(o=i+"px"),ce("margin",(-1!==(s=o).indexOf("-")&&(se("Negative CSS value ignored for margin"),s=""),s)),ce("background",r),ce("padding",a),(e=document.createElement("div")).style.clear="both",e.style.display="block",document.body.appendChild(e),he(),pe(),document.documentElement.style.height="",document.body.style.height="",oe('HTML & body height set to "auto"'),oe("Enable public methods"),L.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,fe()):!1===e&&!0===n&&(n=!1,me()),n},close:function(){Pe(0,0,"close"),oe("Disable outgoing messages"),I=!1,oe("Remove event listener: Message"),ne(window,"message",Ae),!0===n&&me()},getId:function(){return E},getPageInfo:function(e){"function"==typeof e?(F=e,Pe(0,0,"pageInfo")):(F=function(){},Pe(0,0,"pageInfoStop"))},moveToAnchor:function(e){g.findTarget(e)},reset:function(){Oe("parentIFrame.reset")},scrollTo:function(e,t){Pe(t,e,"scrollTo")},scrollToOffset:function(e,t){Pe(t,e,"scrollToOffset")},sendMessage:function(e,t){Pe(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){f=e,he()},setWidthCalculationMethod:function(e){N=e,pe()},setTargetOrigin:function(e){oe("Set targetOrigin: "+e),P=e},size:function(e,t){Ce("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},fe(),g=function(){function e(e){var n=e.getBoundingClientRect(),r={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function n(n){var r=n.split("#")[1]||n,i=decodeURIComponent(r),o=document.getElementById(i)||document.getElementsByName(i)[0];t!==o?function(t){var n=e(t);oe("Moving to in page link (#"+r+") at x: "+n.x+" y: "+n.y),Pe(n.y,n.x,"scrollToOffset")}(o):(oe("In page link (#"+r+") not found in iFrame, so sending to parent"),Pe(0,0,"inPageLink","#"+r))}function r(){""!==location.hash&&"#"!==location.hash&&n(location.href)}return g.enable?Array.prototype.forEach&&document.querySelectorAll?(oe("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(e){"#"!==e.getAttribute("href")&&te(e,"click",function(e){e.preventDefault(),n(this.getAttribute("href"))})}),te(window,"hashchange",r),setTimeout(r,d)):se("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):oe("In page linking not enabled"),{findTarget:n}}(),Ce("init","Init message from host page"),j()}function ce(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,oe("Body "+e+' set to "'+n+'"'))}function ue(e){var t={add:function(t){function n(){Ce(e.eventName,e.eventType)}B[t]=n,te(window,t,n,{passive:!0})},remove:function(e){var t=B[e];delete B[e],ne(window,e,t)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),oe(re(e.method)+" event listener: "+e.eventType)}function de(e){ue({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ue({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ue({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ue({method:e,eventType:"Input",eventName:"input"}),ue({method:e,eventType:"Mouse Up",eventName:"mouseup"}),ue({method:e,eventType:"Mouse Down",eventName:"mousedown"}),ue({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),ue({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),ue({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),ue({method:e,eventType:"Touch Start",eventName:"touchstart"}),ue({method:e,eventType:"Touch End",eventName:"touchend"}),ue({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),ue({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ue({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ue({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===w&&ue({method:e,eventType:"IFrame Resized",eventName:"resize"})}function le(e,t,n,r){return t!==e&&(e in n||(se(e+" is not a valid option for "+r+"CalculationMethod."),e=t),oe(r+' calculation method set to "'+e+'"')),e}function he(){f=le(f,p,Z,"height")}function pe(){N=le(N,M,J,"width")}function fe(){var e;!0===n?(de("add"),e=0>_,window.MutationObserver||window.WebKitMutationObserver?e?ye():s=function(){function e(e){function t(e){!1===e.complete&&(oe("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",o,!1),a.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function n(e){oe("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",o,!1),function(e){a.splice(a.indexOf(e),1)}(e)}function r(e,r,i){n(e.target),Ce(r,i+": "+e.target.src,t,t)}function i(e){r(e,"imageLoad","Image loaded")}function o(e){r(e,"imageLoadFailed","Image load failed")}function s(t){Ce("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}var a=[],c=window.MutationObserver||window.WebKitMutationObserver,u=function(){var e=document.querySelector("body");return u=new c(s),oe("Create body MutationObserver"),u.observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),u}();return{disconnect:function(){"disconnect"in u&&(oe("Disconnect body MutationObserver"),u.disconnect(),a.forEach(n))}}}():(oe("MutationObserver not supported in this browser!"),ye())):oe("Auto Resize disabled")}function me(){de("remove"),null!==s&&s.disconnect(),clearInterval(v)}function ye(){0!==_&&(oe("setInterval: "+_+"ms"),v=setInterval(function(){Ce("interval","setInterval: "+_)},Math.abs(_)))}function ge(e,t){var n=0;return t=t||document.body,n="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0:function(e){if(/^\d+(px)?$/i.test(e))return parseInt(e,10);var n=t.style.left,r=t.runtimeStyle.left;return t.runtimeStyle.left=t.currentStyle.left,t.style.left=e||0,e=t.style.pixelLeft,t.style.left=n,t.runtimeStyle.left=r,e}(t.currentStyle[e]),parseInt(n,10)}function _e(e,t){for(var n=t.length,r=0,i=0,o=re(e),s=Q(),a=0;ai&&(i=r);return s=Q()-s,oe("Parsed "+n+" HTML elements"),oe("Element position calculated in "+s+"ms"),function(e){e>x/2&&oe("Event throttle increased to "+(x=2*e)+"ms")}(s),i}function ve(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function be(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(se("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),_e(e,n)}function Se(){return document.querySelectorAll("body *")}function Ee(e,n,r,i){var o,s;!function(){function e(e,t){return!(Math.abs(e-t)<=A)}return o=t!==r?r:Z[f](),s=t!==i?i:J[N](),e(h,o)||c&&e(R,s)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(f in C||c&&N in C)?Oe(n):e in{interval:1}||oe("No change in size detected"):(we(),Pe(h=o,R=s,e))}function Ce(e,t,n,r){T&&e in u?oe("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||oe("Trigger event: "+t),"init"===e?Ee(e,t,n,r):X(e,t,n,r))}function we(){T||(T=!0,oe("Trigger event lock on")),clearTimeout(k),k=setTimeout(function(){T=!1,oe("Trigger event lock off"),oe("--")},d)}function Ie(e){h=Z[f](),R=J[N](),Pe(h,R,e)}function Oe(e){var t=f;f=p,oe("Reset trigger event: "+e),we(),Ie("reset"),f=t}function Pe(e,n,r,i,o){var s;!0===I&&(t===o?o=P:oe("Message targetOrigin: "+o),oe("Sending message to host page ("+(s=E+":"+e+":"+n+":"+r+(t!==i?":"+i:""))+")"),O.postMessage(S+s,o))}function Ae(t){var n,r={init:function(){y=t.data,O=t.source,ae(),l=!1,setTimeout(function(){m=!1},d)},reset:function(){m?oe("Page reset ignored by init"):(oe("Page size reset by host page"),Ie("resetPage"))},resize:function(){Ce("resizeParent","Parent window requested size check")},moveToAnchor:function(){g.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=o();oe("PageInfoFromParent called from parent: "+e),F(JSON.parse(e)),oe(" --")},message:function(){var e=o();oe("MessageCallback called from parent: "+e),D(JSON.parse(e)),oe(" --")}};function i(){return t.data.split("]")[1].split(":")[0]}function o(){return t.data.substr(t.data.indexOf(":")+1)}function s(){return t.data.split(":")[2]in{true:1,false:1}}S===(""+t.data).substr(0,13)&&(!1===l?(n=i())in r?r[n]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||s()||se("Unexpected message ("+t.data+")"):s()?r.init():oe('Ignored message of type "'+i()+'". Received before initialization.'))}function Te(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7521(e){!function(t){"use strict";if("undefined"!=typeof window){var n,r=0,i=!1,o=!1,s="[iFrameSizer]",a=null,c=window.requestAnimationFrame,u={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},d={},l=null,h={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){b("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},p={};window.jQuery&&((n=window.jQuery).fn?n.fn.iFrameResize||(n.fn.iFrameResize=function(e){return this.filter("iframe").each(function(t,n){N(n,e)}).end()}):v("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof define&&define.amd?define([],U):"object"==typeof e.exports&&(e.exports=U()),window.iFrameResize=window.iFrameResize||U()}function f(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function m(e,t,n){"addEventListener"in window?e.addEventListener(t,n,!1):"attachEvent"in window&&e.attachEvent("on"+t,n)}function y(e,t,n){"removeEventListener"in window?e.removeEventListener(t,n,!1):"detachEvent"in window&&e.detachEvent("on"+t,n)}function g(e){return d[e]?d[e].log:i}function _(e,t){S("log",e,t,g(e))}function v(e,t){S("info",e,t,g(e))}function b(e,t){S("warn",e,t,!0)}function S(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](function(e){return s+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}(t),n)}function E(e){function t(){n("Height"),n("Width"),x(function(){k(E),P(w),l("resizedCallback",E)},E,"init")}function n(e){var t=Number(d[w]["max"+e]),n=Number(d[w]["min"+e]),r=e.toLowerCase(),i=Number(E[r]);_(w,"Checking "+r+" is in range "+n+"-"+t),it&&(i=t,_(w,"Set "+r+" to max value")),E[r]=""+i}function r(e){return S.substr(S.indexOf(":")+7+e)}function i(e,t){var n,r;n=function(){var n,r;R("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=E.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),e,t)},p[r=t]||(p[r]=setTimeout(function(){p[r]=null,n()},32))}function o(e){var t=e.getBoundingClientRect();return O(w),{x:Math.floor(Number(t.left)+Number(a.x)),y:Math.floor(Number(t.top)+Number(a.y))}}function c(e){var t=e?o(E.iframe):{x:0,y:0},n={x:Number(E.width)+t.x,y:Number(E.height)+t.y};_(w,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):b(w,"Unable to scroll to requested position, window.parentIFrame not found"):(a=n,u(),_(w,"--"))}function u(){!1!==l("scrollCallback",a)?P(w):A()}function l(e,t){return C(w,e,t)}var h,f,g,S=e.data,E={},w=null;"[iFrameResizerChild]Ready"===S?function(){for(var e in d)R("iFrame requested init",M(e),document.getElementById(e),e)}():s===(""+S).substr(0,13)&&S.substr(13).split(":")[0]in d?(g=S.substr(13).split(":"),E={iframe:d[g[0]]&&d[g[0]].iframe,id:g[0],height:g[1],width:g[2],type:g[3]},w=E.id,d[w]&&(d[w].loaded=!0),(f=E.type in{true:1,false:1,undefined:1})&&_(w,"Ignoring init message from meta parent page"),!f&&function(e){var t=!0;return d[e]||(t=!1,b(E.type+" No settings for "+e+". Message was: "+S)),t}(w)&&(_(w,"Received: "+S),h=!0,null===E.iframe&&(b(w,"IFrame ("+E.id+") not found"),h=!1),h&&function(){var t,n=e.origin,r=d[w]&&d[w].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(_(w,"Checking connection is from allowed list of origins: "+r);ed[a]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(d[a]&&d[a].bodyMargin)&&"0"!==(d[a]&&d[a].bodyMargin)||(d[a].bodyMarginV1=d[a].bodyMargin,d[a].bodyMargin=d[a].bodyMargin+"px"),o=M(a),(s=f())&&function(t){e.parentNode&&new t(function(t){t.forEach(function(t){Array.prototype.slice.call(t.removedNodes).forEach(function(t){t===e&&I(e)})})}).observe(e.parentNode,{childList:!0})}(s),m(e,"load",function(){var n,r;R("iFrame.onload",o,e,t,!0),n=d[a]&&d[a].firstRun,r=d[a]&&d[a].heightCalculationMethod in u,!n&&r&&T({iframe:e,height:0,width:0,type:"init"})}),R("init",o,e,t,!0),Function.prototype.bind&&d[a]&&(d[a].iframe.iFrameResizer={close:I.bind(null,d[a].iframe),removeListeners:w.bind(null,d[a].iframe),resize:R.bind(null,"Window resize","resize",d[a].iframe),moveToAnchor:function(e){R("Move to anchor","moveToAnchor:"+e,d[a].iframe,a)},sendMessage:function(e){R("Send Message","message:"+(e=JSON.stringify(e)),d[a].iframe,a)}}))}function L(e,t){null===l&&(l=setTimeout(function(){l=null,e()},t))}function D(e){_("window","Trigger event: "+e),L(function(){F("Window "+e,"resize")},16)}function j(){"hidden"!==document.visibilityState&&(_("document","Trigger event: Visiblity change"),L(function(){F("Tab Visable","resize")},16))}function F(e,t){function n(e){return d[e]&&"parent"===d[e].resizeFrom&&d[e].autoResize&&!d[e].firstRun}for(var r in d)n(r)&&R(e,t,document.getElementById(r),r)}function U(){function e(e,t){t&&(function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected