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oBz+B,EAAEijC,EAAiBjD,IAAYiD,EAAgBjD,IACrEiD,EAAgBjD,GAAS,KAE1BiD,EAAgBjD,GAAW,EAE5B,OAAOvB,EAAoBU,EAAEv7E,EAC9B,EAEI8/E,EAAqBC,KAAK,4BAA8BA,KAAK,6BAA+B,GAChGD,EAAmB70D,QAAQy0D,EAAqB5B,KAAK,KAAM,IAC3DgC,EAAmBzqF,KAAOqqF,EAAqB5B,KAAK,KAAMgC,EAAmBzqF,KAAKyoF,KAAKgC,G,ICpFvF,IAAIE,EAAsBnF,EAAoBU,OAAEh0F,EAAW,CAAC,MAAM,WAAa,OAAOszF,EAAoB,KAAO,IACjHmF,EAAsBnF,EAAoBU,EAAEyE,E","sources":["webpack://boost-seller/./src/App.vue?fbf5","webpack://boost-seller/./src/layouts/Layout.vue?89df","webpack://boost-seller/./src/layouts/DefaultLayout.vue?4c9e","webpack://boost-seller/./src/common/HeaderComponent.vue?02ca","webpack://boost-seller/./src/store/types.ts","webpack://boost-seller/./src/firebaseRequest.ts","webpack://boost-seller/./src/settings.ts","webpack://boost-seller/./enums/roleTypes.ts","webpack://boost-seller/./src/store/auth.ts","webpack://boost-seller/./enums/shippingStatus.ts","webpack://boost-seller/./models/sellerOrder.ts","webpack://boost-seller/./src/helpers.ts","webpack://boost-seller/./src/common/BannerComponent/BannerMessages.ts","webpack://boost-seller/./enums/featureTypes.ts","webpack://boost-seller/./src/store/accounts.ts","webpack://boost-seller/./enums/tagType.ts","webpack://boost-seller/./src/store/global.ts","webpack://boost-seller/./src/store/product.ts","webpack://boost-seller/./src/store/orders.ts","webpack://boost-seller/./src/store/audience.ts","webpack://boost-seller/./src/store/purchases.ts","webpack://boost-seller/./src/store/marketplace.ts","webpack://boost-seller/./src/store/index.ts","webpack://boost-seller/./src/common/AppSearch.vue?b8c7","webpack://boost-seller/./src/common/AppSearch.vue?d97a","webpack://boost-seller/./src/common/AppSearch.vue","webpack://boost-seller/./src/common/controls/BoostLogo.vue?64d1","webpack://boost-seller/./src/common/controls/BoostLogo.vue?fff6","webpack://boost-seller/./src/common/controls/BoostLogo.vue","webpack://boost-seller/./src/common/HeaderComponent.vue?ee85","webpack://boost-seller/./src/common/HeaderComponent.vue","webpack://boost-seller/./src/common/BannerComponent/BannerComponent.vue?72b2","webpack://boost-seller/./src/common/BannerComponent/BannerComponent.vue?af3a","webpack://boost-seller/./src/common/BannerComponent/BannerComponent.vue","webpack://boost-seller/./src/common/SideBar.vue?be9e","webpack://boost-seller/./src/common/FeatureSelector.vue?972d","webpack://boost-seller/./src/common/FeatureSelector.vue?c298","webpack://boost-seller/./src/common/FeatureSelector.vue","webpack://boost-seller/./src/common/SideBar.vue?0315","webpack://boost-seller/./src/common/SideBar.vue","webpack://boost-seller/./src/layouts/DefaultLayout.vue?e21d","webpack://boost-seller/./src/layouts/DefaultLayout.vue","webpack://boost-seller/./src/layouts/SingleLayout.vue?1af8","webpack://boost-seller/./src/common/FooterComponent.vue?380f","webpack://boost-seller/./src/common/FooterComponent.vue?9d12","webpack://boost-seller/./src/common/FooterComponent.vue","webpack://boost-seller/./src/layouts/SingleLayout.vue?ae69","webpack://boost-seller/./src/layouts/SingleLayout.vue","webpack://boost-seller/./src/layouts/CheckoutLayout.vue?0b26","webpack://boost-seller/./src/common/CheckoutHeaderComponent.vue?cbf6","webpack://boost-seller/./src/common/CheckoutHeaderComponent.vue?d0a9","webpack://boost-seller/./src/common/CheckoutHeaderComponent.vue","webpack://boost-seller/./src/layouts/CheckoutLayout.vue?e9bb","webpack://boost-seller/./src/layouts/CheckoutLayout.vue","webpack://boost-seller/./src/layouts/OpenLayout.vue?4c50","webpack://boost-seller/./src/layouts/OpenLayout.vue?b497","webpack://boost-seller/./src/layouts/OpenLayout.vue","webpack://boost-seller/./src/layouts/OpenDetailLayout.vue?0096","webpack://boost-seller/./src/layouts/OpenDetailLayout.vue?4f95","webpack://boost-seller/./src/layouts/OpenDetailLayout.vue","webpack://boost-seller/./src/layouts/MarketplaceLayout.vue?6507","webpack://boost-seller/./src/marketplace/components/MarketplaceHeaderComponent.vue?9522","webpack://boost-seller/./src/marketplace/components/MarketplaceHeaderComponent.vue?1c26","webpack://boost-seller/./src/marketplace/components/MarketplaceHeaderComponent.vue","webpack://boost-seller/./src/layouts/MarketplaceLayout.vue?ec31","webpack://boost-seller/./src/layouts/MarketplaceLayout.vue","webpack://boost-seller/./src/layouts/Layout.vue?643d","webpack://boost-seller/./src/layouts/Layout.vue","webpack://boost-seller/./src/App.vue?847a","webpack://boost-seller/./src/App.vue","webpack://boost-seller/./src/seller/SellerBase.vue?a3fb","webpack://boost-seller/./src/seller/SellerBase.vue?4083","webpack://boost-seller/./src/seller/SellerBase.vue","webpack://boost-seller/./src/seller/registration/SellerRegistration.vue?e3a2","webpack://boost-seller/./src/seller/registration/SellerCreateAccount.vue?7b0e","webpack://boost-seller/./src/common/controls/BoostButton.vue?9111","webpack://boost-seller/./src/common/controls/BoostButton.vue?2c33","webpack://boost-seller/./src/common/controls/BoostButton.vue","webpack://boost-seller/./src/seller/registration/SellerCreateAccount.vue?1d8b","webpack://boost-seller/./src/seller/registration/SellerCreateAccount.vue","webpack://boost-seller/./src/seller/registration/SellerRegistrationDetails.vue?ab57","webpack://boost-seller/./src/common/Stepper.vue?145b","webpack://boost-seller/./src/common/Stepper.vue?2db1","webpack://boost-seller/./src/common/Stepper.vue","webpack://boost-seller/./src/seller/registration/SellerRegistrationDetails.vue?69a8","webpack://boost-seller/./src/seller/registration/SellerRegistrationDetails.vue","webpack://boost-seller/./src/seller/registration/SellerRegistration.vue?d0c3","webpack://boost-seller/./src/seller/registration/SellerRegistration.vue","webpack://boost-seller/./src/seller/SellerDashboard.vue?ab1f","webpack://boost-seller/./src/seller/SellerDashboard.vue?aaa5","webpack://boost-seller/./src/seller/SellerDashboard.vue","webpack://boost-seller/./src/seller/settings/SellerSettings.vue?ffb0","webpack://boost-seller/./dataService/cloudinary.ts","webpack://boost-seller/./src/seller/settings/SellerSettingsAccount.vue?98ae","webpack://boost-seller/./src/seller/settings/SellerSettingsInterfaces.ts","webpack://boost-seller/./src/seller/settings/ManageUsers.vue?a32e","webpack://boost-seller/./src/common/PopupComponent/PopupMessages.ts","webpack://boost-seller/./src/common/PopupComponent/PopupComponent.vue?89dd","webpack://boost-seller/./src/common/PopupComponent/PopupComponent.vue?0f86","webpack://boost-seller/./src/common/PopupComponent/PopupComponent.vue","webpack://boost-seller/./src/seller/settings/ManageUsers.vue?7685","webpack://boost-seller/./src/seller/settings/ManageUsers.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsCustom.vue?37ac","webpack://boost-seller/./src/common/controls/BoostIcon.vue?2b3d","webpack://boost-seller/./src/common/controls/BoostIcon.vue?5949","webpack://boost-seller/./src/common/controls/BoostIcon.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsCustom.vue?9ecf","webpack://boost-seller/./src/seller/settings/SellerSettingsCustom.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsIntegrations.vue?0895","webpack://boost-seller/./src/seller/settings/SellerSettingsIntegrations.vue?5d70","webpack://boost-seller/./src/seller/settings/SellerSettingsIntegrations.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsPaymentPlans.vue?4194","webpack://boost-seller/./src/seller/settings/SellerSettingsPaymentPlans.vue?3097","webpack://boost-seller/./src/seller/settings/SellerSettingsPaymentPlans.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsAccount.vue?f54a","webpack://boost-seller/./src/seller/settings/SellerSettingsAccount.vue","webpack://boost-seller/./src/seller/settings/SellerSettings.vue?576c","webpack://boost-seller/./src/seller/settings/SellerSettings.vue","webpack://boost-seller/./src/seller/orders/Orders.vue?3c1f","webpack://boost-seller/./src/seller/orders/OrdersList.vue?c2b8","webpack://boost-seller/./src/seller/orders/OrdersListView.vue?602f","webpack://boost-seller/./src/seller/orders/OrdersListView.vue?25df","webpack://boost-seller/./src/seller/orders/OrdersListView.vue","webpack://boost-seller/./src/seller/orders/OrdersList.vue?563f","webpack://boost-seller/./src/seller/orders/OrdersList.vue","webpack://boost-seller/./src/seller/orders/Orders.vue?3844","webpack://boost-seller/./src/seller/orders/Orders.vue","webpack://boost-seller/./src/seller/transactions/Transactions.vue?bcb2","webpack://boost-seller/./src/seller/transactions/TransactionsList.vue?bb08","webpack://boost-seller/./enums/transactionStatus.ts","webpack://boost-seller/./src/seller/transactions/TransactionsListView.vue?a456","webpack://boost-seller/./src/seller/transactions/TransactionsListView.vue?01b1","webpack://boost-seller/./src/seller/transactions/TransactionsListView.vue","webpack://boost-seller/./src/seller/transactions/TransactionsList.vue?8cf7","webpack://boost-seller/./src/seller/transactions/TransactionsList.vue","webpack://boost-seller/./src/seller/transactions/Transactions.vue?3c31","webpack://boost-seller/./src/seller/transactions/Transactions.vue","webpack://boost-seller/./src/seller/ResetPassword.vue?5ab7","webpack://boost-seller/./src/seller/ResetPassword.vue?2cdb","webpack://boost-seller/./src/seller/ResetPassword.vue","webpack://boost-seller/./src/seller/transactions/TransactionDetail.vue?3d95","webpack://boost-seller/./src/seller/transactions/TransactionDetail.vue?247f","webpack://boost-seller/./src/seller/transactions/TransactionDetail.vue","webpack://boost-seller/./src/seller/products/ProductDetail.vue?1e3d","webpack://boost-seller/./models/firebase/product.ts","webpack://boost-seller/./src/seller/products/ProductDetail.vue?db33","webpack://boost-seller/./src/seller/products/ProductDetail.vue","webpack://boost-seller/./src/seller/products/Products.vue?288b","webpack://boost-seller/./src/seller/products/ProductList.vue?cefa","webpack://boost-seller/./src/constants.ts","webpack://boost-seller/./src/common/DownloadTagsPopupComponent.vue?47b4","webpack://boost-seller/./src/common/DownloadTagsPopupComponent.vue?66d7","webpack://boost-seller/./src/common/DownloadTagsPopupComponent.vue","webpack://boost-seller/./src/seller/products/ProductList.vue?387e","webpack://boost-seller/./src/seller/products/ProductList.vue","webpack://boost-seller/./src/seller/products/ProductsMenuControls.vue?3bc0","webpack://boost-seller/./src/seller/products/ProductsMenuControls.vue?3e1c","webpack://boost-seller/./src/seller/products/ProductsMenuControls.vue","webpack://boost-seller/./src/seller/products/Products.vue?f5f8","webpack://boost-seller/./src/seller/products/Products.vue","webpack://boost-seller/./src/pre-registration/PreRegistration.vue?db43","webpack://boost-seller/./src/pre-registration/PreRegEntry.vue?1ba5","webpack://boost-seller/./src/common/MetaPixelScript.vue?575a","webpack://boost-seller/./src/common/MetaPixelScript.vue","webpack://boost-seller/./src/pre-registration/PreRegEntry.vue?c5eb","webpack://boost-seller/./src/pre-registration/PreRegEntry.vue","webpack://boost-seller/./src/pre-registration/PreRegAccount.vue?41d3","webpack://boost-seller/./src/pre-registration/PreRegAccount.vue?ec2b","webpack://boost-seller/./src/pre-registration/PreRegAccount.vue","webpack://boost-seller/./src/pre-registration/PreRegShipping.vue?d9e5","webpack://boost-seller/./src/pre-registration/PreRegShipping.vue?f128","webpack://boost-seller/./src/pre-registration/PreRegShipping.vue","webpack://boost-seller/./src/pre-registration/PreRegCard.vue?9dab","webpack://boost-seller/./src/pre-registration/PreRegCard.vue?a9a8","webpack://boost-seller/./src/pre-registration/PreRegCard.vue","webpack://boost-seller/./src/pre-registration/PreRegComplete.vue?48f9","webpack://boost-seller/./src/common/PageNotFoundComponent.vue?d04a","webpack://boost-seller/./src/common/PageNotFoundComponent.vue?84dc","webpack://boost-seller/./src/common/PageNotFoundComponent.vue","webpack://boost-seller/./src/pre-registration/PreRegComplete.vue?e84b","webpack://boost-seller/./src/pre-registration/PreRegComplete.vue","webpack://boost-seller/./src/pre-registration/PreRegistration.vue?7faf","webpack://boost-seller/./src/pre-registration/PreRegistration.vue","webpack://boost-seller/./src/seller/audience/Audience.vue?4beb","webpack://boost-seller/./src/seller/audience/Audience.vue?1fb8","webpack://boost-seller/./src/seller/audience/Audience.vue","webpack://boost-seller/./src/seller/audience/AudienceList.vue?ba0a","webpack://boost-seller/./enums/audienceTypes.ts","webpack://boost-seller/./src/seller/audience/AudienceMenuControls.vue?8ca6","webpack://boost-seller/./src/seller/audience/AudienceMenuControls.vue?336f","webpack://boost-seller/./src/seller/audience/AudienceMenuControls.vue","webpack://boost-seller/./src/seller/audience/AudienceList.vue?e564","webpack://boost-seller/./src/seller/audience/AudienceList.vue","webpack://boost-seller/./src/seller/audience/AudienceMember.vue?6e30","webpack://boost-seller/./src/seller/audience/AudienceMember.vue?5ed4","webpack://boost-seller/./src/seller/audience/AudienceMember.vue","webpack://boost-seller/./src/seller/audience/AudienceAffiliateMember.vue?2aeb","webpack://boost-seller/./src/seller/audience/AudienceAffiliateMember.vue?0fcd","webpack://boost-seller/./src/seller/audience/AudienceAffiliateMember.vue","webpack://boost-seller/./src/seller/integrations/Integrations.vue?1068","webpack://boost-seller/./src/seller/integrations/Integrations.vue?7474","webpack://boost-seller/./src/seller/integrations/Integrations.vue","webpack://boost-seller/./src/seller/integrations/IntegrationsList.vue?2e69","webpack://boost-seller/./src/seller/integrations/IntegrationsList.vue?ec19","webpack://boost-seller/./src/seller/integrations/IntegrationsList.vue","webpack://boost-seller/./src/seller/integrations/AppsList.vue?b81d","webpack://boost-seller/./src/seller/integrations/AppsList.vue?bc65","webpack://boost-seller/./src/seller/integrations/AppsList.vue","webpack://boost-seller/./src/seller/integrations/SaveForLater.vue?a367","webpack://boost-seller/./src/seller/integrations/SaveForLater.vue?06e1","webpack://boost-seller/./src/seller/integrations/SaveForLater.vue","webpack://boost-seller/./src/seller/customizations/Customizations.vue?cbbe","webpack://boost-seller/./src/seller/customizations/Customizations.vue?37e0","webpack://boost-seller/./src/seller/customizations/Customizations.vue","webpack://boost-seller/./src/seller/customizations/CustomizationSummary.vue?ccf7","webpack://boost-seller/./src/seller/customizations/CustomizationSummary.vue?e236","webpack://boost-seller/./src/seller/customizations/CustomizationSummary.vue","webpack://boost-seller/./src/seller/products/ProductsParent.vue?c51c","webpack://boost-seller/./src/seller/products/ProductsParent.vue?03b8","webpack://boost-seller/./src/seller/products/ProductsParent.vue","webpack://boost-seller/./src/seller/products/TipEdit.vue?22ec","webpack://boost-seller/./src/common/PopupComponent/ConfirmComponent.vue?c697","webpack://boost-seller/./src/common/PopupComponent/ConfirmComponent.vue?fcef","webpack://boost-seller/./src/common/PopupComponent/ConfirmComponent.vue","webpack://boost-seller/./src/seller/products/TipEdit.vue?6b12","webpack://boost-seller/./src/seller/products/TipEdit.vue","webpack://boost-seller/./src/seller/products/ProductEdit.vue?c719","webpack://boost-seller/./src/seller/products/ProductEditAttributions.vue?28b5","webpack://boost-seller/./src/seller/products/ProductEditAttributions.vue?2236","webpack://boost-seller/./src/seller/products/ProductEditAttributions.vue","webpack://boost-seller/./src/seller/products/ProductEditVariations.vue?9bfa","webpack://boost-seller/./src/seller/products/ProductEditVariations.vue?6fc0","webpack://boost-seller/./src/seller/products/ProductEditVariations.vue","webpack://boost-seller/./src/seller/products/ProductEdit.vue?c01e","webpack://boost-seller/./src/seller/products/ProductEdit.vue","webpack://boost-seller/./src/seller/products/ProductEdit-Shopify.vue?bac9","webpack://boost-seller/./src/seller/products/ProductEdit-Shopify.vue?b4ea","webpack://boost-seller/./src/seller/products/ProductEdit-Shopify.vue","webpack://boost-seller/./src/seller/SellerUserInvitation.vue?c964","webpack://boost-seller/./src/seller/SellerUserInvitation.vue?8ef6","webpack://boost-seller/./src/seller/SellerUserInvitation.vue","webpack://boost-seller/./src/seller/SellerTransferOwnership.vue?f412","webpack://boost-seller/./src/seller/SellerTransferOwnership.vue?31c2","webpack://boost-seller/./src/seller/SellerTransferOwnership.vue","webpack://boost-seller/./src/seller/attribution/AttributionList.vue?f4d2","webpack://boost-seller/./src/seller/attribution/AttributionList.vue?e400","webpack://boost-seller/./src/seller/attribution/AttributionList.vue","webpack://boost-seller/./src/seller/analytics/AnalyticsList.vue?e977","webpack://boost-seller/./src/seller/analytics/GeneralAnalytics.vue?a85f","webpack://boost-seller/./src/seller/analytics/GeneralAnalytics.vue?2445","webpack://boost-seller/./src/seller/analytics/GeneralAnalytics.vue","webpack://boost-seller/./src/seller/analytics/LaterAnalytics.vue?090e","webpack://boost-seller/./src/seller/analytics/LaterAnalytics.vue?e612","webpack://boost-seller/./src/seller/analytics/LaterAnalytics.vue","webpack://boost-seller/./src/seller/analytics/ShareAnalytics.vue?c1dd","webpack://boost-seller/./src/seller/analytics/ShareAnalytics.vue?7867","webpack://boost-seller/./src/seller/analytics/ShareAnalytics.vue","webpack://boost-seller/./src/seller/analytics/AnalyticsList.vue?a38c","webpack://boost-seller/./src/seller/analytics/AnalyticsList.vue","webpack://boost-seller/./src/seller/orders/OrdersParent.vue?7ee0","webpack://boost-seller/./src/seller/orders/OrdersParent.vue?28f7","webpack://boost-seller/./src/seller/orders/OrdersParent.vue","webpack://boost-seller/./src/seller/tags/TagsComponent.vue?cffe","webpack://boost-seller/./src/common/BoostTagCard.vue?2e9e","webpack://boost-seller/./src/common/BoostTagCard.vue?d2c6","webpack://boost-seller/./src/common/BoostTagCard.vue","webpack://boost-seller/./src/seller/tags/TagsComponent.vue?deb4","webpack://boost-seller/./src/seller/tags/TagsComponent.vue","webpack://boost-seller/./enums/shopifyImportStatus.ts","webpack://boost-seller/./src/seller/products/ShopifyImportProducts.vue?aa72","webpack://boost-seller/./src/common/controls/SearchBar.vue?efc9","webpack://boost-seller/./src/common/controls/SearchBar.vue?d653","webpack://boost-seller/./src/common/controls/SearchBar.vue","webpack://boost-seller/./src/seller/products/ShopifyImportProducts.vue?6a12","webpack://boost-seller/./src/seller/products/ShopifyImportProducts.vue","webpack://boost-seller/./src/seller/settings/SellerSettingsShopify.vue?ae23","webpack://boost-seller/./src/seller/settings/SellerSettingsShopify.vue?bf01","webpack://boost-seller/./src/seller/settings/SellerSettingsShopify.vue","webpack://boost-seller/./src/seller/sellerRoutes.ts","webpack://boost-seller/./src/buyer/BuyerBase.vue?ee4a","webpack://boost-seller/./src/buyer/BuyerBase.vue?011a","webpack://boost-seller/./src/buyer/BuyerBase.vue","webpack://boost-seller/./src/buyer/registration/BuyerRegistration.vue?5da9","webpack://boost-seller/./src/buyer/registration/BuyerCreateAccount.vue?c71a","webpack://boost-seller/./src/buyer/registration/BuyerCreateAccount.vue?8ee6","webpack://boost-seller/./src/buyer/registration/BuyerCreateAccount.vue","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationShipping.vue?605e","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationShipping.vue?e826","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationShipping.vue","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationCard.vue?b2e8","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationCard.vue?5c40","webpack://boost-seller/./src/buyer/registration/BuyerRegistrationCard.vue","webpack://boost-seller/./src/buyer/registration/BuyerRegistration.vue?882c","webpack://boost-seller/./src/buyer/registration/BuyerRegistration.vue","webpack://boost-seller/./src/buyer/BuyerProductOrders.vue?33d1","webpack://boost-seller/./src/buyer/BuyerProductOrders.vue?1fdc","webpack://boost-seller/./src/buyer/BuyerProductOrders.vue","webpack://boost-seller/./src/buyer/settings/BuyerSettings.vue?453b","webpack://boost-seller/./src/buyer/settings/BuyerAccount.vue?09f0","webpack://boost-seller/./src/buyer/settings/BuyerAccount.vue?8bc7","webpack://boost-seller/./src/buyer/settings/BuyerAccount.vue","webpack://boost-seller/./src/buyer/settings/BuyerPayment.vue?eb6f","webpack://boost-seller/./src/common/info/StripeCreditCardDetailsComponent.vue?0584","webpack://boost-seller/./src/common/info/StripeCreditCardDetailsComponent.vue?5af7","webpack://boost-seller/./src/common/info/StripeCreditCardDetailsComponent.vue","webpack://boost-seller/./src/buyer/settings/BuyerPayment.vue?6e24","webpack://boost-seller/./src/buyer/settings/BuyerPayment.vue","webpack://boost-seller/./src/buyer/settings/BuyerShipping.vue?088e","webpack://boost-seller/./src/common/info/AddressDetailComponent.vue?5822","webpack://boost-seller/./src/common/info/AddressDetailComponent.vue?035e","webpack://boost-seller/./src/common/info/AddressDetailComponent.vue","webpack://boost-seller/./src/buyer/settings/BuyerShipping.vue?2123","webpack://boost-seller/./src/buyer/settings/BuyerShipping.vue","webpack://boost-seller/./src/buyer/settings/BuyerStripe.vue?8e00","webpack://boost-seller/./src/buyer/settings/BuyerStripe.vue?1df9","webpack://boost-seller/./src/buyer/settings/BuyerStripe.vue","webpack://boost-seller/./src/buyer/settings/BuyerSettings.vue?d458","webpack://boost-seller/./src/buyer/settings/BuyerSettings.vue","webpack://boost-seller/./src/buyer/checkout/BuyerCheckout.vue?4c84","webpack://boost-seller/./src/analytics.ts","webpack://boost-seller/./src/buyer/checkout/BuyerCheckoutProductPrice.vue?1095","webpack://boost-seller/./src/buyer/checkout/BuyerCheckoutProductPrice.vue?f08f","webpack://boost-seller/./src/buyer/checkout/BuyerCheckoutProductPrice.vue","webpack://boost-seller/./src/buyer/checkout/BuyerCheckout.vue?41f9","webpack://boost-seller/./src/buyer/checkout/BuyerCheckout.vue","webpack://boost-seller/./src/buyer/settings/BuyerUpdateNumberComponent.vue?347d","webpack://boost-seller/./src/buyer/settings/BuyerUpdateNumberComponent.vue?b027","webpack://boost-seller/./src/buyer/settings/BuyerUpdateNumberComponent.vue","webpack://boost-seller/./src/buyer/settings/BuyerCardInformationComponent.vue?f358","webpack://boost-seller/./src/common/BoostSectionHeader.vue?ec3c","webpack://boost-seller/./src/common/BoostSectionHeader.vue?1614","webpack://boost-seller/./src/common/BoostSectionHeader.vue","webpack://boost-seller/./src/buyer/settings/BuyerCardInformationComponent.vue?7c1e","webpack://boost-seller/./src/buyer/settings/BuyerCardInformationComponent.vue","webpack://boost-seller/./src/buyer/settings/BuyerShippingAddressComponent.vue?59d9","webpack://boost-seller/./src/buyer/settings/BuyerShippingAddressComponent.vue?6948","webpack://boost-seller/./src/buyer/settings/BuyerShippingAddressComponent.vue","webpack://boost-seller/./src/buyer/checkout/InstantCheckout.vue?0009","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProduct.vue?4ef0","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProductImage.vue?50b9","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProductImage.vue?fa16","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProductImage.vue","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailDivider.vue?9843","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailDivider.vue?0314","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailDivider.vue","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProduct.vue?4043","webpack://boost-seller/./src/buyer/checkout/InstantCheckoutProduct.vue","webpack://boost-seller/./src/buyer/checkout/CheckoutPriceSummary.vue?0593","webpack://boost-seller/./src/buyer/checkout/CheckoutPriceSummary.vue?1d26","webpack://boost-seller/./src/buyer/checkout/CheckoutPriceSummary.vue","webpack://boost-seller/./src/buyer/checkout/UnavailableProductComponent.vue?5cbd","webpack://boost-seller/./src/buyer/checkout/UnavailableProductComponent.vue?e362","webpack://boost-seller/./src/buyer/checkout/UnavailableProductComponent.vue","webpack://boost-seller/./src/common/info/StripeCreditCardSummaryComponent.vue?a80c","webpack://boost-seller/./src/common/info/StripeCreditCardSummaryComponent.vue?a9a6","webpack://boost-seller/./src/common/info/StripeCreditCardSummaryComponent.vue","webpack://boost-seller/./src/common/info/AddressSummaryComponent.vue?76d9","webpack://boost-seller/./src/common/info/AddressSummaryComponent.vue?fd5a","webpack://boost-seller/./src/common/info/AddressSummaryComponent.vue","webpack://boost-seller/./src/buyer/checkout/UpdatePaymentOptions.vue?bae3","webpack://boost-seller/./src/buyer/checkout/AddPaymentOption.vue?a74d","webpack://boost-seller/./src/buyer/checkout/BaseCheckoutStep.vue?5d2c","webpack://boost-seller/./src/buyer/checkout/BaseCheckoutStep.vue?a238","webpack://boost-seller/./src/buyer/checkout/BaseCheckoutStep.vue","webpack://boost-seller/./src/buyer/checkout/AddPaymentOption.vue?5e02","webpack://boost-seller/./src/buyer/checkout/AddPaymentOption.vue","webpack://boost-seller/./src/common/controls/TagsToggle.vue?6948","webpack://boost-seller/./src/common/controls/TagsToggle.vue?0070","webpack://boost-seller/./src/common/controls/TagsToggle.vue","webpack://boost-seller/./src/buyer/checkout/UpdatePaymentOptions.vue?3c03","webpack://boost-seller/./src/buyer/checkout/UpdatePaymentOptions.vue","webpack://boost-seller/./src/buyer/checkout/UpdateShippingOptions.vue?02eb","webpack://boost-seller/./src/buyer/checkout/AddShippingOption.vue?cd2c","webpack://boost-seller/./src/buyer/checkout/AddShippingOption.vue?d29a","webpack://boost-seller/./src/buyer/checkout/AddShippingOption.vue","webpack://boost-seller/./src/buyer/checkout/UpdateShippingOptions.vue?b545","webpack://boost-seller/./src/buyer/checkout/UpdateShippingOptions.vue","webpack://boost-seller/./src/buyer/checkout/AffiliateOnCheckout.vue?100f","webpack://boost-seller/./src/buyer/checkout/AffiliateOnCheckout.vue?7e8d","webpack://boost-seller/./src/buyer/checkout/AffiliateOnCheckout.vue","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailHeader.vue?e11f","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailHeader.vue?85a7","webpack://boost-seller/./src/buyer/checkout/CheckoutDetailHeader.vue","webpack://boost-seller/./src/buyer/checkout/InstantCheckout.vue?bc88","webpack://boost-seller/./src/buyer/checkout/InstantCheckout.vue","webpack://boost-seller/./src/buyer/checkout/ProductCheckout.vue?efa1","webpack://boost-seller/./src/buyer/checkout/ProductCheckout.vue","webpack://boost-seller/./src/buyer/BuyerOrderDetail.vue?d1ad","webpack://boost-seller/./src/buyer/BuyerOrderDetail.vue?66fa","webpack://boost-seller/./src/buyer/BuyerOrderDetail.vue","webpack://boost-seller/./src/buyer/affiliate/AffiliateSignup.vue?ed2e","webpack://boost-seller/./src/buyer/affiliate/AffiliateSignup.vue?f7c6","webpack://boost-seller/./src/buyer/affiliate/AffiliateSignup.vue","webpack://boost-seller/./src/buyer/BuyerDashboard.vue?16b5","webpack://boost-seller/./src/buyer/BuyerDashboard.vue?b8b0","webpack://boost-seller/./src/buyer/BuyerDashboard.vue","webpack://boost-seller/./src/buyer/BuyerTags.vue?cf95","webpack://boost-seller/./src/common/BoostBrandCard.vue?6a21","webpack://boost-seller/./src/common/BoostBrandCard.vue?290e","webpack://boost-seller/./src/common/BoostBrandCard.vue","webpack://boost-seller/./src/buyer/BuyerTags.vue?d18c","webpack://boost-seller/./src/buyer/BuyerTags.vue","webpack://boost-seller/./src/buyer/BuyerInsights.vue?2025","webpack://boost-seller/./src/buyer/BuyerInsights.vue?e1cd","webpack://boost-seller/./src/buyer/BuyerInsights.vue","webpack://boost-seller/./src/buyer/BuyerEarnings.vue?5048","webpack://boost-seller/./src/buyer/BuyerEarnings.vue?9cf3","webpack://boost-seller/./src/buyer/BuyerEarnings.vue","webpack://boost-seller/./src/buyer/BuyerBrandTags.vue?18af","webpack://boost-seller/./src/buyer/BuyerBrandTags.vue?447b","webpack://boost-seller/./src/buyer/BuyerBrandTags.vue","webpack://boost-seller/./src/buyer/buyerRoutes.ts","webpack://boost-seller/./src/login/Login.vue?5635","webpack://boost-seller/./src/login/LoginBuyer.vue?129e","webpack://boost-seller/./src/login/LoginBuyer.vue?3ce0","webpack://boost-seller/./src/login/LoginBuyer.vue","webpack://boost-seller/./src/login/LoginSeller.vue?fec1","webpack://boost-seller/./src/login/LoginSeller.vue?4b76","webpack://boost-seller/./src/login/LoginSeller.vue","webpack://boost-seller/./src/login/Login.vue?7961","webpack://boost-seller/./src/login/Login.vue","webpack://boost-seller/./src/login/ForgotPassword.vue?17d4","webpack://boost-seller/./src/login/ForgotPassword.vue?bd0c","webpack://boost-seller/./src/login/ForgotPassword.vue","webpack://boost-seller/./src/login/EmailVerified.vue?08b9","webpack://boost-seller/./src/login/EmailVerified.vue?bfa1","webpack://boost-seller/./src/login/EmailVerified.vue","webpack://boost-seller/./src/common/UserActions.vue?9ebb","webpack://boost-seller/./src/common/UserActions.vue?c120","webpack://boost-seller/./src/common/UserActions.vue","webpack://boost-seller/./src/marketplace/pages/MarketplaceHome.vue?a3b3","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchResultsComponent.vue?55a4","webpack://boost-seller/./src/marketplace/components/ProductsGrid.vue?1716","webpack://boost-seller/./src/marketplace/components/ProductsGrid.vue?4e19","webpack://boost-seller/./src/marketplace/components/ProductsGrid.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchResultsComponent.vue?383a","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchResultsComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceFeaturedProductsComponent.vue?2493","webpack://boost-seller/./src/marketplace/components/MarketplaceFeaturedProductsComponent.vue?f3c8","webpack://boost-seller/./src/marketplace/components/MarketplaceFeaturedProductsComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchComponent.vue?3e89","webpack://boost-seller/./src/marketplace/components/SearchIcon.vue?c56f","webpack://boost-seller/./src/marketplace/components/SearchIcon.vue?dd49","webpack://boost-seller/./src/marketplace/components/SearchIcon.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchComponent.vue?6160","webpack://boost-seller/./src/marketplace/components/MarketplaceSearchComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceDrawerComponent.vue?3085","webpack://boost-seller/./src/marketplace/components/MarketplaceRegisterComponent.vue?a9f8","webpack://boost-seller/./src/marketplace/components/MarketplaceRegisterComponent.vue?27bb","webpack://boost-seller/./src/marketplace/components/MarketplaceRegisterComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceCreateCheckoutComponent.vue?03e6","webpack://boost-seller/./src/marketplace/components/MarketplaceCreateCheckoutComponent.vue?75dd","webpack://boost-seller/./src/marketplace/components/MarketplaceCreateCheckoutComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceProductDetails.vue?2255","webpack://boost-seller/./src/marketplace/components/MarketplaceProductDetails.vue?2eca","webpack://boost-seller/./src/marketplace/components/MarketplaceProductDetails.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceCheckoutReadyComponent.vue?70b1","webpack://boost-seller/./src/marketplace/components/MarketplaceCheckoutReadyComponent.vue?7da5","webpack://boost-seller/./src/marketplace/components/MarketplaceCheckoutReadyComponent.vue","webpack://boost-seller/./src/marketplace/components/MarketplaceDrawerComponent.vue?30bd","webpack://boost-seller/./src/marketplace/components/MarketplaceDrawerComponent.vue","webpack://boost-seller/./src/common/controls/BoostLoader.vue?ac64","webpack://boost-seller/./src/common/controls/BoostLoader.vue?878a","webpack://boost-seller/./src/common/controls/BoostLoader.vue","webpack://boost-seller/./src/marketplace/pages/MarketplaceHome.vue?09f2","webpack://boost-seller/./src/marketplace/pages/MarketplaceHome.vue","webpack://boost-seller/./src/user_store/Policy.vue?4ffb","webpack://boost-seller/./src/user_store/Policy.vue?6986","webpack://boost-seller/./src/user_store/Policy.vue","webpack://boost-seller/./src/admin/AccountsComponent.vue?3de2","webpack://boost-seller/./src/admin/AccountsMenuControlsComponent.vue?3a44","webpack://boost-seller/./src/admin/AccountsMenuControlsComponent.vue?da0a","webpack://boost-seller/./src/admin/AccountsMenuControlsComponent.vue","webpack://boost-seller/./src/admin/AccountsComponent.vue?d65e","webpack://boost-seller/./src/admin/AccountsComponent.vue","webpack://boost-seller/./src/admin/AdminStats.vue?ab09","webpack://boost-seller/./src/admin/AdminStats.vue?e36d","webpack://boost-seller/./src/admin/AdminStats.vue","webpack://boost-seller/./src/sample.vue?b3d4","webpack://boost-seller/./src/sample.vue?788d","webpack://boost-seller/./src/sample.vue","webpack://boost-seller/./src/router.ts","webpack://boost-seller/./src/common/controls/BoostInput.vue?ffa6","webpack://boost-seller/./src/common/controls/BoostInput.vue?dc20","webpack://boost-seller/./src/common/controls/BoostInput.vue","webpack://boost-seller/./src/common/controls/BoostSelect/BoostSelect.vue?01d4","webpack://boost-seller/./src/common/controls/BoostSelect/BoostSelect.vue?f906","webpack://boost-seller/./src/common/controls/BoostSelect/BoostSelect.vue","webpack://boost-seller/./src/common/controls/BoostTextarea.vue?9268","webpack://boost-seller/./src/common/controls/BoostTextarea.vue?d709","webpack://boost-seller/./src/common/controls/BoostTextarea.vue","webpack://boost-seller/./src/common/controls/BoostKeywords.vue?fffc","webpack://boost-seller/./src/common/controls/BoostKeywords.vue?f907","webpack://boost-seller/./src/common/controls/BoostKeywords.vue","webpack://boost-seller/./src/common/controls/BoostTable/BoostTable.vue?58df","webpack://boost-seller/./src/common/controls/BoostTable/BoostTable.vue?bdd9","webpack://boost-seller/./src/common/controls/BoostTable/BoostTable.vue","webpack://boost-seller/./src/common/controls/BoostStripeCard.vue?75df","webpack://boost-seller/./src/common/controls/BoostStripeCard.vue?6bfc","webpack://boost-seller/./src/common/controls/BoostStripeCard.vue","webpack://boost-seller/./src/common/controls/BoostWalletPay.vue?01ca","webpack://boost-seller/./src/common/controls/BoostWalletPay.vue?40a7","webpack://boost-seller/./src/common/controls/BoostWalletPay.vue","webpack://boost-seller/./src/common/controls/BoostControlFooter.vue?c115","webpack://boost-seller/./src/common/controls/BoostControlFooter.vue?c5df","webpack://boost-seller/./src/common/controls/BoostControlFooter.vue","webpack://boost-seller/./src/common/controls/BoostImageUpload.vue?71ab","webpack://boost-seller/./src/common/controls/BoostImageUpload.vue?6ae1","webpack://boost-seller/./src/common/controls/BoostImageUpload.vue","webpack://boost-seller/./src/common/controls/BoostViewOnlyImage.vue?b142","webpack://boost-seller/./src/common/controls/BoostViewOnlyImage.vue?e59c","webpack://boost-seller/./src/common/controls/BoostViewOnlyImage.vue","webpack://boost-seller/./src/common/controls/BoostPagination.vue?1ba1","webpack://boost-seller/./src/common/controls/BoostPagination.vue?325a","webpack://boost-seller/./src/common/controls/BoostPagination.vue","webpack://boost-seller/./src/common/controls/BoostToggle.vue?ca3d","webpack://boost-seller/./src/common/controls/BoostToggle.vue?8f31","webpack://boost-seller/./src/common/controls/BoostToggle.vue","webpack://boost-seller/./src/common/BoostCard.vue?49ac","webpack://boost-seller/./src/common/BoostCard.vue?ecb2","webpack://boost-seller/./src/common/BoostCard.vue","webpack://boost-seller/./src/common/BoostStepCard.vue?28a5","webpack://boost-seller/./src/common/BoostStepCard.vue?af32","webpack://boost-seller/./src/common/BoostStepCard.vue","webpack://boost-seller/./src/common/BoostInfoCard.vue?c75e","webpack://boost-seller/./src/common/BoostInfoCard.vue?bcae","webpack://boost-seller/./src/common/BoostInfoCard.vue","webpack://boost-seller/./src/common/controls/BoostStatePicker.vue?27c5","webpack://boost-seller/./src/common/controls/BoostStatePicker.vue?e605","webpack://boost-seller/./src/common/controls/BoostStatePicker.vue","webpack://boost-seller/./src/common/controls/TagsTextField.vue?46bf","webpack://boost-seller/./src/common/controls/TagsTextField.vue?dfb8","webpack://boost-seller/./src/common/controls/TagsTextField.vue","webpack://boost-seller/./src/common/controls/TagsPill.vue?8dac","webpack://boost-seller/./src/common/controls/TagsPill.vue?8c5d","webpack://boost-seller/./src/common/controls/TagsPill.vue","webpack://boost-seller/./src/common/ToastComponent.vue?73e1","webpack://boost-seller/./src/common/ToastComponent.vue?0236","webpack://boost-seller/./src/common/ToastComponent.vue","webpack://boost-seller/./src/common/controls/BoostContextMenu.vue?8627","webpack://boost-seller/./src/common/controls/BoostContextMenu.vue?4e1b","webpack://boost-seller/./src/common/controls/BoostContextMenu.vue","webpack://boost-seller/./src/common/index.ts","webpack://boost-seller/./src/validationConfig.ts","webpack://boost-seller/./src/main.ts","webpack://boost-seller/./src/firebaseInit.ts","webpack://boost-seller/./src/assets/ sync ^\\.\\/.*\\.svg$","webpack://boost-seller/webpack/bootstrap","webpack://boost-seller/webpack/runtime/amd options","webpack://boost-seller/webpack/runtime/chunk loaded","webpack://boost-seller/webpack/runtime/compat get default export","webpack://boost-seller/webpack/runtime/define property getters","webpack://boost-seller/webpack/runtime/ensure chunk","webpack://boost-seller/webpack/runtime/get javascript chunk filename","webpack://boost-seller/webpack/runtime/get mini-css chunk filename","webpack://boost-seller/webpack/runtime/global","webpack://boost-seller/webpack/runtime/hasOwnProperty shorthand","webpack://boost-seller/webpack/runtime/load script","webpack://boost-seller/webpack/runtime/make namespace object","webpack://boost-seller/webpack/runtime/publicPath","webpack://boost-seller/webpack/runtime/css loading","webpack://boost-seller/webpack/runtime/jsonp chunk loading","webpack://boost-seller/webpack/startup"],"sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"section\", { id: \"context-menu\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_Layout = _resolveComponent(\"Layout\")!\n const _component_BoostLoader = _resolveComponent(\"BoostLoader\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_Layout, {\n class: _normalizeClass(_ctx.currentRouteName)\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_view)\n ]),\n _: 1\n }, 8, [\"class\"]),\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_BoostLoader, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _hoisted_1\n ], 64))\n}","import { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.layout), null, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-63c44e83\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"topSection\" }\nconst _hoisted_2 = { class: \"flex\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"subheader\",\n class: \"subheader-portal\"\n}, null, -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"content content-container align--center no-pad\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"bottom-tray\",\n class: \"bottom-portal\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BannerComponent = _resolveComponent(\"BannerComponent\")!\n const _component_HeaderComponent = _resolveComponent(\"HeaderComponent\")!\n const _component_SideBar = _resolveComponent(\"SideBar\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BannerComponent),\n _createVNode(_component_HeaderComponent)\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_SideBar),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"main-wrapper\", {\n 'main-wrapper--with-banner': _ctx.isBannerShowing\n }])\n }, [\n _hoisted_3,\n (_ctx.isMounted && !_ctx.isMobileNavOpen)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _hoisted_5\n ]))\n}","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"header header--single\"\n}\nconst _hoisted_2 = { class: \"mob-12 header__wrapper content flex flex--row flex--no-wrap justify--between align--center\" }\nconst _hoisted_3 = { href: \"/\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"header__brand\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"header-back-menu\",\n class: \"header__back flex align--center\"\n}, null, -1)\nconst _hoisted_7 = { class: \"flex justify--end align--center no-pad\" }\nconst _hoisted_8 = { class: \"header__nav-secondary-wrapper\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"header__nav header__nav--secondary\"\n}\nconst _hoisted_10 = { class: \"header__nav-menu\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"header__nav-item-anchor\",\n href: \"https://support.tagscommerce.com/hc/en-us\"\n}, \"Help\", -1)\nconst _hoisted_12 = [\n _hoisted_11\n]\nconst _hoisted_13 = {\n key: 0,\n id: \"powered-by-boost\",\n class: \"header__powered-by\"\n}\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"action-buttons\",\n class: \"margin-right-5\"\n}, null, -1)\nconst _hoisted_15 = { class: \"header__logo-wrapper\" }\nconst _hoisted_16 = { class: \"header__logo\" }\nconst _hoisted_17 = { href: \"/\" }\nconst _hoisted_18 = [\"src\"]\nconst _hoisted_19 = { class: \"mob-12 header__wrapper content flex justify--between align--center\" }\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"header-title\",\n class: \"header__title hidden-desktop\"\n}, null, -1)\nconst _hoisted_21 = {\n key: 1,\n class: \"flex--grow header__search padding-left-5\"\n}\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"div\", null, null, -1)\nconst _hoisted_23 = {\n key: 2,\n id: \"powered-by-boost\"\n}\nconst _hoisted_24 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://tagscommerce.com\",\n target: \"_blank\"\n}, \"Tags\", -1)\nconst _hoisted_25 = {\n key: 3,\n class: \"t-3 mob-6 d-3 flex justify--end align--center header__nav-secondary-wrapper\"\n}\nconst _hoisted_26 = { class: \"header__nav header__nav--secondary\" }\nconst _hoisted_27 = { class: \"header__nav-menu\" }\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"header__nav-item-anchor\",\n href: \"https://support.tagscommerce.com/hc/en-us\"\n}, \"Help\", -1)\nconst _hoisted_29 = [\n _hoisted_28\n]\nconst _hoisted_30 = {\n key: 0,\n class: \"header__nav-item\"\n}\nconst _hoisted_31 = {\n key: 1,\n class: \"header__nav-item\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_boost_logo = _resolveComponent(\"boost-logo\")!\n const _component_app_search = _resolveComponent(\"app-search\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_ctx.singleMode)\n ? (_openBlock(), _createElementBlock(\"header\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.showLogo)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"header__logo-wrapper flex flex-row\", {\n 'header__logo-wrapper--branded': _ctx.hasBrandLogo\n }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"header__logo\", {\n 'header__logo--branded': _ctx.hasBrandLogo\n }])\n }, [\n _createElementVNode(\"a\", _hoisted_3, [\n (_ctx.hasBrandLogo)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"logo-image\",\n src: _ctx.logoImage,\n alt: \"Logo image\"\n }, null, 8, _hoisted_4))\n : (_openBlock(), _createBlock(_component_boost_logo, { key: 1 }))\n ])\n ], 2),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.getBrandName), 1)\n ], 2))\n : _createCommentVNode(\"\", true),\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.showHelp)\n ? (_openBlock(), _createElementBlock(\"nav\", _hoisted_9, [\n _createElementVNode(\"ul\", _hoisted_10, [\n _createElementVNode(\"li\", {\n class: \"header__nav-item\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.isOpen = false))\n }, _hoisted_12)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.isBranded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, \" Powered by Tags \"))\n : _createCommentVNode(\"\", true),\n _hoisted_14\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"header\", {\n key: 1,\n class: _normalizeClass([\"header\", {\n 'header--open': _ctx.isOpen,\n 'header--search': _ctx.hasSearchResults,\n 'header--checkout': _ctx.getBrandName\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"a\", _hoisted_17, [\n _createElementVNode(\"img\", {\n class: \"logo-image\",\n src: _ctx.logoImage,\n alt: \"Logo image\"\n }, null, 8, _hoisted_18)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n (!_ctx.isBranded && _ctx.showLogin)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n id: \"nav-menu-button\",\n class: _normalizeClass([\"nav-menu-closed\", { 'nav-menu-open': _ctx.isOpen }]),\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.toggleNavMenu && _ctx.toggleNavMenu(...args)))\n }, null, 2))\n : _createCommentVNode(\"\", true),\n (_ctx.isBuyerLoggedIn || _ctx.isSellerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _createVNode(_component_app_search, { onSearch: _ctx.handleSearch }, null, 8, [\"onSearch\"])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_22,\n (_ctx.isBranded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createTextVNode(\" Powered by \"),\n _hoisted_24\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_25, [\n _createElementVNode(\"nav\", _hoisted_26, [\n _createElementVNode(\"ul\", _hoisted_27, [\n (_ctx.isSuperAdmin)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 0,\n class: \"header__nav-item\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/accounts\",\n exact: \"\",\n class: \"header__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Accounts \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isSuperAdmin)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 1,\n class: \"header__nav-item\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/adminstats\",\n exact: \"\",\n class: \"header__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Analytics \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showHelp)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 2,\n class: \"header__nav-item\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.isOpen = false))\n }, _hoisted_29))\n : _createCommentVNode(\"\", true),\n (_ctx.showLogin)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 3 }, [\n (_ctx.isBuyerLoggedIn || _ctx.isSellerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_30, [\n _createElementVNode(\"a\", {\n class: \"header__nav-item-anchor\",\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.logout && _ctx.logout(...args)))\n }, \"Log out\")\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isBuyerLoggedIn && !_ctx.isSellerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_31, [\n _createVNode(_component_router_link, {\n to: \"/login\",\n class: \"header__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Log In \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n ])\n ], 2))\n}","import { User } from 'firebase/auth';\nimport { RoleType } from '@/enums/roleTypes';\nimport { BannerMessage } from '@/common/BannerComponent/BannerMessages';\nimport { TagDetail } from '@/models/tag';\nimport { TagType } from '@/enums/tagType';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport { FeatureType } from '@/enums/featureTypes';\nimport { AccountObject } from '@/models/accountObject';\nimport {\n MarketplaceProduct,\n MarketplaceSearchResults\n} from '@/models/marketplaceProduct';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\n\nexport interface RoleAccount {\n accountId: string;\n // TODO: we need to role types\n role: RoleType;\n}\n\nexport interface AccountsState {\n accounts: AccountObject[];\n currentAccount: AccountObject | null;\n selectedFeatureTypeId: FeatureType | string;\n}\n\nexport enum UserRegistration {\n BUYER = 1,\n SELLER = 2\n}\n\nexport interface AuthState {\n currentUser: User | null;\n currentBuyer: Buyer | null;\n isBuyerLoggedIn: boolean;\n isSellerLoggedIn: boolean;\n isSuperAdmin: boolean;\n isImpersonating: boolean;\n\n /**\n * Only Sellers and Admins have roleAccounts\n */\n roleAccounts: RoleAccount[];\n loginOrRegistrationType: UserRegistration;\n}\n\nexport interface MarketplaceState {\n isSearchOpen: boolean;\n searchResults: MarketplaceSearchResults | undefined;\n selectedProductToSell: MarketplaceProduct | undefined;\n allBrands: AffiliateBrand[];\n featuredProducts: MarketplaceProduct[];\n taggedProducts: { [key: string]: string };\n}\n\nexport interface RootState {\n auth: AuthState;\n accounts: AccountsState;\n}\n\nexport interface ProductState {\n currentProduct: TagDetail | null;\n currentFilter: TagType | 'All';\n productIds: string[];\n}\n\nexport interface PurchasesState {\n transactionIds: string[];\n}\n\nexport interface OrderState {\n orderedIds: string[];\n buyerName?: string;\n}\n\nexport interface AudienceState {\n audienceIds: string[];\n}\n\nexport interface BannerState {\n fade: boolean;\n text: string;\n textAlign: 'left' | 'center' | 'right';\n variant: string;\n visible: boolean | number;\n}\n\nexport interface BrandInformation {\n brandName: string;\n logoUrl: string;\n orderEmail: string;\n metaPixel?: string;\n customColor?: string;\n guidelines?: string[];\n}\n\nexport interface GlobalState {\n brandInformation: BrandInformation | null;\n isLoading: boolean;\n loadingMessage: string;\n bannerMessage: BannerMessage | null;\n mobileNavOpen: boolean;\n hasContextualButton: boolean;\n searchText: string | null;\n customColor: string | null;\n showHelp: boolean;\n showLogo: boolean;\n}\n\nexport enum Permissions {\n Dashboard,\n Tags, // Also Products\n Orders,\n Transactions,\n Audience,\n Attribution,\n Settings,\n TransferOwnership,\n Analytics,\n Apps\n}\n","import settings from './settings';\nimport { getAuth, signInAnonymously, User } from 'firebase/auth';\n\nexport const FirebaseRequestTypes = {\n CHECK_SELLER_EMAIL: 'checkSellerEmail',\n CHECK_SELLER_HASHTAG: 'checkSellerHashtag',\n CREATE_SELLER_ACCOUNT: 'createSellerAccount',\n GET_SELLER_INFO: 'getSellerInfo',\n REQUEST_CONFIRMATION_CODE: 'requestConfirmationCode',\n UPDATE_BUYER_INFO: 'updateBuyerInfo',\n VALIDATE_CONFIRMATION_CODE: 'validateConfirmationCode',\n VERIFY_BUYER_EMAIL: 'verifyEmail',\n RESEND_BUYER_VERIFICATION_EMAIL: 'resendBuyerVerificationEmail',\n GET_BUYER_PAYMENT_OPTIONS: 'fetchPayments',\n GET_BUYER_INFO: 'getBuyer',\n SAVE_BUYER: 'saveBuyer',\n REMOVE_BUYER_PAYMENT_OPTION: 'removePayment',\n UPDATE_BUYER_PAYMENT_OPTION: 'updatePayment',\n UPDATE_BUYER_SHIPPING_ADDRESS: 'updateShippingAddress',\n REMOVE_BUYER_SHIPPING_ADDRESS: 'removeShippingAddress',\n GET_SELLER_STATS: 'sellerStats',\n BUYER_UPDATE_DEFAULT_CARD: 'updateDefaultCard',\n GET_CHECKOUT: 'getCheckoutInfo',\n BEGIN_INSTANT_CHECKOUT: 'beginInstantCheckout',\n GET_INSTANT_CHECKOUT: 'getInstantCheckout',\n BUY_INSTANT_CHECKOUT: 'buyInstantCheckout',\n GET_PRODUCT_TAXES: 'getProductTaxes',\n GET_PRODUCT_INFO: 'getProductInfo',\n PROCESS_CHECKOUT: 'expressCheckout',\n SET_TRANSACTION_FULFILLMENT: 'setTransactionFulfillment',\n REFUND_PURCHASE: 'refundPurchase',\n SAVE_TRACKING: 'saveTracking',\n GET_ADMIN_ACCOUNTS: 'getAccounts',\n GET_ACCOUNT_DATA: 'getAccount',\n UPDATE_SELLER_ACCOUNT: 'updateSellerAccount',\n CONNECT_STRIPE: 'connectStripe',\n DISCONNECT_STRIPE: 'disconnectStripe',\n GET_SUBSCRIPTION_PORTAL_STRIPE: 'getSubscriptionPortal',\n COMPLETE_SUBSCRIPTION_PORTAL_STRIPE: 'completeSubscriptionPortal',\n DISABLE_SELLER_ACCOUNT: 'disableAccount',\n GET_ADMIN_STATS: 'getBoostStats',\n GET_BUYER_PURCHASES: 'getBuyerPurchases',\n GET_BUYER_PURCHASE: 'getBuyerPurchase',\n GET_SELLER_ORDERS: 'getSellerOrders',\n GET_SELLER_ORDER_BY_ID: 'getSellerOrderById',\n GET_SELLER_TRANSACTIONS: 'getSellerTransactions',\n GET_SELLER_ATTRIBUTION_LIST: 'getAttributionList',\n INITIATE_ADD_NEW_PAYMENT: 'initiateAddNewPayment',\n TEMP_CREATE_PAYMENT_INTENT: 'tempCreatePaymentIntent',\n GET_TAG_VARIATIONS: 'getTagVariations',\n UPDATE_TAG_VARIATIONS: 'updateTagVariations',\n GET_SELLER_PRODUCTS: 'getSellerProducts',\n GET_SELLER_TAGS: 'getSellerTags',\n GET_SELLER_TAG: 'getSellerTag',\n CREATE_PAYMENT_INTENT: 'createPaymentIntent',\n COMPLETE_PRE_REGISTRATION: 'completePreRegistration',\n COMPLETE_AFFILIATE_SIGNUP: 'completeAffiliateSignup',\n COMPLETE_AFFILIATE_SIGNUP_FOR_PRODUCT: 'completeAffiliateSignupForProduct',\n CONNECT_AFFILIATE_PAYOUT: 'connectAffiliatePayout',\n GET_AFFILIATE_BRANDS: 'getAffiliateBrands',\n GET_AFFILIATE_BRAND: 'getAffiliateBrand',\n GET_AFFILIATE_EARNINGS: 'getAffiliateEarnings',\n AFFILIATE_WITHDRAW_AMOUNT: 'withdrawAffiliateEarnings',\n REMOVE_AFFILIATE_BRAND: 'removeAffiliateBrand',\n REMOVE_AFFILIATE_BRAND_TAG: 'removeAffiliateBrandTag',\n DISCONNECT_AFFILIATE_PAYOUT: 'disconnectAffiliatePayout',\n UPDATE_BRAND_AFFILIATE: 'updateBrandAffiliate',\n GET_AFFILIATE_STATS: 'getAffiliateStats',\n GET_AFFILIATE_ANALYTICS: 'getAnalyticsForAffiliate',\n GET_AFFILIATE_DETAILS: 'getDetailsForAffiliate',\n GET_AUDIENCE: 'getAudience',\n GET_BUYER_FOR_ACCOUNT: 'getBuyerForAccount',\n SAVE_TIP: 'saveTip',\n SAVE_TAG: 'saveTag',\n SAVE_ATTRIBUTIONS: 'updateProductAttributions',\n GLOBAL_SEARCH: 'search',\n CONNECT_ECOMMERCE: 'connectEcommerce',\n GET_ECOMMERCE_CONFIG: 'getEcommerceConfig',\n UPDATE_ECOMMERCE_APPS: 'updateEcommerceApps',\n GET_ECOMMERCE_PRODUCTS: 'getECommerceProducts',\n GET_ECOMMERCE_SHIPPING_RATES: 'getEcommerceShippingRates',\n CREATE_ECOMMERCE_TAGS: 'tagECommerceProducts',\n SYNC_ECOMMERCE_PRODUCTS: 'syncECommerceProducts',\n GENERATE_PRODUCT_LINKS: 'generateInstantCheckoutLink',\n GET_SELLER_USERS: 'getSellerAccountUsers',\n ADD_SELLER_USER_INVITE: 'inviteSellerAccountUser',\n VALIDATE_SELLER_INVITE: 'validateAccountUserInvitation',\n ACCEPT_SELLER_USER_INVITE: 'acceptInvitation',\n REMOVE_SELLER_USER: 'removeAccountUser',\n REQUEST_TRANSFER_OWNERSHIP: 'requestOwnerTransfer',\n ACCEPT_TRANSFER_OWNERSHIP: 'acceptOwnerTransfer',\n CHANGE_SELLER_USER_ROLE: 'changeSellerUserAccountRole',\n CHECK_USER_EMAIL_EXISTS: 'checkIfEmailUserExists',\n GET_SELLER_ANALYTICS: 'getAnalyticsByAccountId',\n GET_LATER_ANALYTICS: 'getLaterAnalyticsByAccountId',\n GET_SHARE_ANALYTICS: 'getShareAnalyticsByAccountId',\n GET_LOGGED_IN_USER_ROLE: 'getLoggedInUserRole'\n};\n\nexport enum ProductReplyCodes {\n HASHTAG_NOT_FOUND = 'HASHTAG_NOT_FOUND',\n INACTIVE = 'INACTIVE',\n NO_INVENTORY = 'NO_INVENTORY',\n SKU_NOT_FOUND = 'SKU_NOT_FOUND',\n PURCHASE_OWN_TAG = 'PURCHASE_OWN_TAG'\n}\n\nexport enum Context {\n LOGIN_EMAIL = 'LOGIN_EMAIL',\n LOGIN_MOBILE = 'LOGIN_MOBILE_NUMBER',\n SIGNUP_MOBILE_NUMBER = 'SIGNUP_MOBILE_NUMBER',\n SIGNUP_VIA_SMS = 'SIGNUP_VIA_SMS',\n UPDATE_MOBILE_NUMBER = 'UPDATE_MOBILE_NUMBER'\n}\n\nexport enum APIResponseCode {\n INVALID_PHONE_NUMBER = 'INVALID_PHONE_NUMBER',\n PHONE_NUMBER_ALREADY_IN_USE = 'PHONE_NUMBER_ALREADY_IN_USE'\n}\n\nexport enum APIResponseStatus {\n OK = 'ok',\n ERROR = 'error'\n}\n\nexport interface APIResponse {\n status: APIResponseStatus.OK | APIResponseStatus.ERROR;\n code: string;\n data?: T;\n}\n\nexport class FirebaseRequest {\n public static async requestFile(\n type: string,\n data: unknown\n ): Promise {\n const user = getAuth().currentUser;\n if (!user) {\n throw Error();\n }\n\n const accessToken = await user.getIdToken(true).then((idToken: string) => {\n return idToken;\n });\n\n const dataWithId =\n typeof data === 'object'\n ? {\n uid: user.uid,\n ...data\n }\n : data;\n\n const body = JSON.stringify(dataWithId);\n const headers = {\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n 'Authorization': 'Bearer ' + accessToken\n };\n\n const response = await fetch(\n `${settings.FIREBASE_CLOUD_FUNCTIONS_URL}/${type}`,\n {\n method: 'POST',\n body,\n headers\n }\n );\n\n return response;\n }\n\n public static async createRequest(\n type: string,\n data: unknown\n ): Promise> {\n let user = getAuth().currentUser;\n let isAnonymous = false;\n\n if (!user) {\n // for list of available properties\n // https://firebase.google.com/docs/reference/js/firebase.User\n // NOTE: when signed-in anonymously, check userObj.user\n isAnonymous = true;\n const cred = await signInAnonymously(getAuth());\n user = cred.user;\n }\n\n const results = await this.userAction(type, data, user).then(\n async (response) => {\n // is anonymous user, so sign right back out\n if (isAnonymous) {\n await getAuth().signOut();\n }\n\n return response;\n }\n );\n\n return results;\n }\n\n private static async userAction(\n type: string,\n data: unknown,\n user: User\n ): Promise> {\n const accessToken = await user.getIdToken(true).then((idToken: string) => {\n return idToken;\n });\n\n const dataWithId =\n typeof data === 'object'\n ? {\n uid: user.uid,\n ...data\n }\n : data;\n\n const body = JSON.stringify(dataWithId);\n const headers = {\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n 'Authorization': 'Bearer ' + accessToken\n };\n\n try {\n const response = await fetch(\n `${settings.FIREBASE_CLOUD_FUNCTIONS_URL}/${type}`,\n {\n method: 'POST',\n body,\n headers\n }\n );\n\n return response.json() as unknown as APIResponse;\n } catch (error) {\n return {\n status: APIResponseStatus.ERROR,\n code: String(error)\n } as APIResponse;\n }\n }\n}\n","// NOTE: Copy this file to `settings.ts` and fill in all of the relevant keys\nconst settings = {\n NODE_ENV: 'production',\n FIREBASE_API_KEY: 'AIzaSyDWjEpWmEx4Q1dRc92MnLq_Y2tixH4fcuY',\n FIREBASE_URL: 'https://boost-production.firebaseio.com',\n FIREBASE_CLOUD_FUNCTIONS_URL: 'https://us-central1-boost-production.cloudfunctions.net',\n STRIPE_APP_ID: 'ca_7uq3moADysFgmST434AsHD6mGy9g9H5z',\n STRIPE_PUBLISHABLE_KEY: 'pk_live_tRimdMVpSqSCxvrSLE8vy05a',\n AMPLITUDE_KEY: '8d68bde32bc3a6000beaf964e340c9ce'\n};\n\nexport default settings;\n","/* Role types.\n *\n * @export\n * @enum RoleType\n */\nexport enum RoleType {\n Owner = 'owner',\n Admin = 'admin',\n SellerAdmin = 'sellerAdmin',\n Staff = 'staff',\n Agency = 'agency'\n}\n","import {\n getAuth,\n User,\n signInWithEmailAndPassword,\n sendPasswordResetEmail,\n EmailAuthProvider,\n updateEmail,\n reauthenticateWithCredential\n} from 'firebase/auth';\nimport { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { AuthState, RoleAccount, RootState, UserRegistration } from './types';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { Role } from '@/models/role';\nimport { RoleType } from '@/../enums/roleTypes';\nimport { AccountObject } from '@/../models/accountObject';\n\nconst authState: AuthState = {\n currentUser: null,\n currentBuyer: null,\n isBuyerLoggedIn: false,\n isSellerLoggedIn: false,\n isSuperAdmin: false,\n isImpersonating: false,\n roleAccounts: [],\n loginOrRegistrationType: UserRegistration.BUYER\n};\n\nconst authActions: ActionTree = {\n // seller sign in\n signIn: async (\n { commit },\n payload: { email: string; password: string }\n ): Promise => {\n try {\n const authData = await signInWithEmailAndPassword(\n getAuth(),\n payload.email,\n payload.password\n );\n\n if (!(authData && authData.user && authData.user.uid)) {\n return false;\n }\n\n commit('setCurrentUser', authData.user);\n\n try {\n const getRoleResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_LOGGED_IN_USER_ROLE,\n {}\n );\n if (getRoleResponse.data) {\n const role = getRoleResponse.data;\n commit('setSuperAdmin', !!role.admin);\n\n const roleAccounts: RoleAccount[] = [];\n if (role.accounts) {\n for (const key of Object.keys(role.accounts)) {\n roleAccounts.push({\n accountId: key,\n role: role.accounts[key]\n });\n }\n }\n\n // If the account is a basic account, only owner can log in\n if (!role.admin) {\n // Non-admin users should only have one account\n const firstAccount = roleAccounts[0];\n if (firstAccount.role !== RoleType.Owner) {\n // Get the account to check the plan type\n const accountResult =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n {\n accountId: firstAccount.accountId\n }\n );\n if (\n !accountResult.data?.currentPlan ||\n accountResult.data.currentPlan === 'Basic'\n ) {\n await getAuth().signOut();\n commit('setCurrentUser', null);\n commit('setRoleAccounts', []);\n return false;\n }\n }\n }\n\n commit('setRoleAccounts', roleAccounts);\n }\n } catch (error) {\n // It's possible that a user doesn't have a role.\n // In that case the RoleService throws.\n commit('setSuperAdmin', false);\n }\n\n return true;\n } catch (ex) {\n console.log('Login exception: ', ex);\n return false;\n }\n },\n // seller forgot password\n forgotPassword: async (\n { commit },\n payload: { email: string }\n ): Promise => {\n let isPassResetEmailSend = false;\n\n await sendPasswordResetEmail(getAuth(), payload.email)\n .then(() => {\n isPassResetEmailSend = true;\n })\n .catch(() => {\n isPassResetEmailSend = false;\n });\n\n commit('setCurrentUser', getAuth().currentUser);\n return isPassResetEmailSend;\n },\n updateSellerEmail: async (\n { commit },\n payload: { newEmail: string; password: string }\n ): Promise => {\n // TODO Firebase will throw a 400 if the user hasn't logged in recently, so need to checkout for this\n // state and determine whether we need to call reauthenticateWithCredential first\n let emailUpdated = false;\n const user = getAuth().currentUser;\n if (user) {\n // Re-authenticate the user first\n const cred = EmailAuthProvider.credential(\n user.email || '',\n payload.password\n );\n await reauthenticateWithCredential(user, cred)\n .then(() => {\n emailUpdated = true;\n })\n .catch((error) => {\n console.log(error);\n emailUpdated = false;\n });\n // Now that the user has been re-authenticated then the email can be updated\n if (emailUpdated) {\n await updateEmail(user, payload.newEmail)\n .then(() => {\n emailUpdated = true;\n })\n .catch((error) => {\n console.log(error);\n emailUpdated = false;\n });\n }\n }\n\n commit('setCurrentUser', user);\n return emailUpdated;\n },\n reAuthenticate: async (\n { commit },\n payload: { password: string }\n ): Promise => {\n const user = getAuth().currentUser;\n let results = false;\n if (user) {\n try {\n // Re-authenticate the user first\n const cred = EmailAuthProvider.credential(\n user.email || '',\n payload.password\n );\n await reauthenticateWithCredential(user, cred)\n .then(() => {\n results = true;\n commit('setCurrentUser', user);\n })\n .catch((error) => {\n console.log('FB Reauthentication error', error);\n });\n } catch (ex) {\n console.log('Reathentication error', ex);\n }\n }\n return results;\n },\n // seller sign out\n signOut: async ({ commit }): Promise => {\n await getAuth().signOut();\n commit('setCurrentUser', null);\n commit('setSuperAdmin', false);\n commit('setRoleAccounts', []);\n\n return true;\n },\n refreshCurrentBuyer: async ({ commit, getters }): Promise => {\n if (!getters['isBuyerLoggedIn']) {\n return false;\n }\n\n try {\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (buyerResponse.status !== APIResponseStatus.OK) {\n return false;\n }\n\n if (buyerResponse.data) {\n commit('setCurrentBuyer', buyerResponse.data);\n }\n } catch (error) {\n console.log('auth/refreshCurrentBuyer ERROR: ', error);\n return false;\n }\n\n return true;\n },\n updateAffiliateUsername: ({ state }, payload: string): void => {\n if (state.currentBuyer) {\n state.currentBuyer.affiliateUsername = payload;\n }\n }\n};\n\nconst authGetters: GetterTree = {\n isBuyerLoggedIn: (state: AuthState): boolean => {\n const hasAccounts = state.roleAccounts.length > 0;\n return !hasAccounts && state.currentUser && state.currentUser.uid\n ? true\n : false;\n },\n isSellerLoggedIn: (state: AuthState): boolean => {\n const hasAccounts = state.roleAccounts.length > 0;\n return hasAccounts && state.currentUser && state.currentUser.uid\n ? true\n : false;\n },\n isSuperAdmin: (state: AuthState): boolean => {\n return state.currentUser && state.currentUser.uid && state.isSuperAdmin\n ? true\n : false;\n },\n isImpersonating: (state: AuthState): boolean => {\n return state.isImpersonating;\n },\n roleAccounts: (state: AuthState): RoleAccount[] => {\n return state.roleAccounts;\n },\n loginOrRegistrationType: (state: AuthState): number => {\n return state.loginOrRegistrationType;\n },\n getCurrentUser: (state: AuthState): User | null => {\n return state.currentUser || null;\n },\n getCurrentBuyer: (state: AuthState): Buyer | null => {\n if (state.currentBuyer && !state.currentBuyer.imageUrl) {\n state.currentBuyer.imageUrl = '/img/default-image-large.png';\n }\n return state.currentBuyer;\n }\n};\n\nconst authMutations: MutationTree = {\n setCurrentUser: (state: AuthState, payload: User) => {\n state.currentUser = payload;\n },\n setCurrentBuyer: (state: AuthState, payload: Buyer) => {\n state.currentBuyer = payload;\n },\n setSuperAdmin: (state: AuthState, payload: boolean) => {\n state.isSuperAdmin = payload;\n },\n setRoleAccounts: (state: AuthState, payload: RoleAccount[]) => {\n state.roleAccounts = payload;\n },\n setLoginOrRegistrationType: (state: AuthState, payload: number) => {\n state.loginOrRegistrationType = payload;\n },\n setImpersonating: (state: AuthState, payload: boolean) => {\n state.isImpersonating = payload;\n },\n setBuyerVerificationAttempted: (state: AuthState, payload: boolean) => {\n if (state.currentBuyer) {\n state.currentBuyer.hasAttemptedVerification = payload;\n }\n }\n};\n\nexport const auth = {\n actions: authActions,\n getters: authGetters,\n mutations: authMutations,\n state: authState,\n namespaced: true\n};\n","export enum ShippingStatus {\n pending = 'PENDING',\n fulfilled = 'FULFILLED',\n refunded = 'REFUNDED',\n failed = 'FAILED'\n}\n","import { Charges } from './charges';\nimport { TagType } from '@/enums/tagType';\n\nexport enum ProductSource {\n Boost = 'Boost',\n Shopify = 'Shopify'\n}\n\nexport interface SellerOrder {\n accountId: string;\n transactionId: string;\n userTransactionId: string;\n userId: string | null;\n productId: string;\n attributionId?: string;\n created: string;\n fulfilled: boolean;\n refunded: boolean;\n status: OrderStatus;\n provider: string;\n productHashtag: string;\n productImageUrl: string;\n productDescription: string;\n productTitle: string;\n productOptions: KeyValue[];\n productPrice: string;\n productWeight: string;\n sku: string;\n userEmail: string;\n userMobileNumber: string;\n shippedToFirstName: string;\n shippedToLastName: string;\n shippedToAddress1: string;\n shippedToAddress2: string;\n shippedToCity: string;\n shippedToState: string;\n shippedToPostalCode: string;\n userCarrier: string;\n userTrackingNo: string;\n charges: Charges;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n stripeDetails: any;\n type: TagType;\n productSource: ProductSource;\n}\n\nexport interface KeyValue {\n key: string;\n value: string;\n}\n\nexport enum OrderStatus {\n pending,\n fulfilled,\n refunded,\n failed\n}\n","import { ShippingStatus } from '@/../enums/shippingStatus';\nimport { OrderStatus } from '@/../models/sellerOrder';\nimport { RoleType } from '@/../enums/roleTypes';\nimport { Permissions, RootState } from '@/store/types';\nimport { Store } from 'vuex';\nimport {\n Buyer,\n PaymentOption,\n ShippingAddress\n} from './buyer/settings/BuyerSettingsInterfaces';\nimport { AccountPlan } from '@/models/accountObject';\n\nconst rolePermissions = new Map();\nrolePermissions.set(RoleType.Owner, [\n Permissions.Attribution,\n Permissions.Audience,\n Permissions.Dashboard,\n Permissions.Orders,\n Permissions.Transactions,\n Permissions.Settings,\n Permissions.Tags,\n Permissions.TransferOwnership,\n Permissions.Analytics,\n Permissions.Apps\n]);\nrolePermissions.set(RoleType.SellerAdmin, [\n Permissions.Attribution,\n Permissions.Audience,\n Permissions.Dashboard,\n Permissions.Orders,\n Permissions.Transactions,\n Permissions.Settings,\n Permissions.Tags,\n Permissions.Analytics,\n Permissions.Apps\n]);\nrolePermissions.set(RoleType.Staff, [\n Permissions.Attribution,\n Permissions.Audience,\n Permissions.Dashboard,\n Permissions.Orders,\n Permissions.Transactions,\n Permissions.Tags,\n Permissions.Analytics\n]);\nrolePermissions.set(RoleType.Agency, [\n Permissions.Attribution,\n Permissions.Audience,\n Permissions.Dashboard,\n Permissions.Orders,\n Permissions.Transactions,\n Permissions.Tags,\n Permissions.Analytics,\n Permissions.Apps\n]);\n\nexport default {\n // always return https version of url\n getSecureUrl(url: string): string {\n if (url === undefined || url === '') {\n return '';\n }\n\n return url.startsWith('https') || url.startsWith('/')\n ? url\n : 'https' + url.substring(4);\n },\n\n getExpirationYears(): Array<{ name: number; value: number }> {\n const currentYear = new Date().getFullYear();\n const optionLimit = 10;\n const years = [];\n\n for (let i = currentYear; i < currentYear + optionLimit; i++) {\n years.push({ name: i, value: i });\n }\n\n return years;\n },\n\n getExpirationMonths(): Array<{ name: string; value: number }> {\n const months = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December'\n ];\n const options = [];\n\n for (let i = 0; i < months.length; i++) {\n options.push({ name: months[i], value: i + 1 });\n }\n\n return options;\n },\n\n isNumeric(str: string): boolean {\n if (typeof str !== 'string') {\n return false; // we only process strings!\n }\n // use type coercion to parse the _entirety_ of the string (`parseFloat` alone does not do this) and ensure strings of whitespace fail\n return !isNaN(Number(str)) && !isNaN(parseFloat(str));\n },\n\n // ensure a phone number always has the 1 country code prefix\n // NOTE: We only support US numbers\n prefixPhoneNumber(phoneNumber: string): string {\n return `${phoneNumber.charAt(0) === '1' ? '' : '1'}${phoneNumber}`;\n },\n\n getShippingStatusLabel(status: ShippingStatus): string {\n const statusMessages = {\n [ShippingStatus.pending]: 'Awaiting',\n [ShippingStatus.fulfilled]: 'Shipped',\n [ShippingStatus.refunded]: 'Refunded',\n [ShippingStatus.failed]: 'Failed'\n };\n return statusMessages[status];\n },\n\n getOrderStatusLabel(status: OrderStatus): string {\n const statusMessages = {\n [OrderStatus.pending]: 'Pending',\n [OrderStatus.fulfilled]: 'Fulfilled',\n [OrderStatus.refunded]: 'Refunded',\n [OrderStatus.failed]: 'Failed'\n };\n return statusMessages[status];\n },\n\n getTransactionStatusLabel(status: OrderStatus): string {\n const statusMessages = {\n [OrderStatus.pending]: 'Received',\n [OrderStatus.fulfilled]: 'Received',\n [OrderStatus.refunded]: 'Refunded',\n [OrderStatus.failed]: 'Failed'\n };\n return statusMessages[status];\n },\n\n processDate(date: number): string {\n const convertedDate = new Date(date);\n return convertedDate.toLocaleString('en-US', {\n day: 'numeric',\n month: 'numeric',\n year: 'numeric'\n });\n },\n\n currencyFormatter(price: number | string): string {\n if (typeof price === 'string') {\n // Since the string is numeric that means it isn't the number of pennies and so multiply x 100\n if (this.isNumeric(price)) {\n price = +price * 100;\n } else {\n // This is a non-numeric string so just display whatever it is\n return price.includes('$') ? price.toString() : `$${price}`;\n }\n }\n // This should be a number that represents number of pennies so format accordingly as $x.xx\n price = +price || 0;\n const num = (price / 100).toLocaleString('en-US', {\n style: 'currency',\n currency: 'USD',\n minimumFractionDigits: 2\n });\n return num;\n },\n\n validTag(\n inputTag: string,\n defineWords: { [index: string]: string }\n ): boolean {\n let isValid = true;\n for (const key of Object.keys(defineWords)) {\n const obj = defineWords[key];\n if (inputTag.toLowerCase().indexOf(obj.toString()) > -1) {\n isValid = false;\n }\n }\n return isValid;\n },\n\n formatHashTag(hashTag: string): string {\n return hashTag ? '$' + hashTag.replace(/^#|\\$/, '').toUpperCase() : '';\n },\n\n getTemporaryId(): string {\n return `new-${Math.floor(Math.random() * 1000)}`;\n },\n\n isMobile(): boolean {\n return screen.width <= 1024;\n },\n\n isIOS(): boolean {\n return (\n [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(navigator.platform) ||\n // iPad on iOS 13 detection\n navigator.userAgent.includes('Mac')\n );\n },\n\n deepCopy(source: T): T {\n return JSON.parse(JSON.stringify(source));\n },\n\n getPermissionsForRole(role: RoleType): Permissions[] {\n return rolePermissions.get(role) || [];\n },\n\n userHasPermission(permission: Permissions, store: Store): boolean {\n const isSuperAdmin = store.getters['auth/isSuperAdmin'] as boolean;\n const usersPermissions =\n store.getters['accounts/currentAccountPermissions'];\n return usersPermissions?.includes(permission) || isSuperAdmin;\n },\n\n currentPlanHasAccess(\n minimumPlan: AccountPlan,\n currentPlan: string | undefined\n ): boolean {\n if (minimumPlan === 'Basic') {\n return true;\n }\n\n // A 'currentPlan' of undefined is the same as 'basic'.\n // So, we can return false if 'currentPlan' is undefined or null.\n if (!currentPlan) {\n return false;\n }\n\n // If the minimumPlan required is 'plus', then any plan that is higher\n // than that should also have access.\n if (minimumPlan === 'Plus') {\n return ['plus', 'pro', 'enterprise'].includes(currentPlan.toLowerCase());\n }\n\n // If the minimumPlan required is 'pro', then any plan that is higher\n // than that should also have access.\n if (minimumPlan === 'Pro') {\n return ['pro', 'enterprise'].includes(currentPlan.toLowerCase());\n }\n\n if (minimumPlan === 'Enterprise') {\n return 'enterprise' === currentPlan.toLowerCase();\n }\n\n // If there is some unaccounted plan, return false.\n // We want to explicitly define access/permissions.\n return false;\n },\n\n /**\n * Gets the default PaymentOption for the Buyer. If there is no default,\n * then the first element in the PaymentOptions list is returned.\n * Otherwise, if no paymentOptions are available, returns undefined.\n * @param buyer {Buyer} The buyer.\n */\n getDefaultPaymentOption(buyer: Buyer): PaymentOption | undefined {\n const defaultPaymentOption = buyer.paymentOptions.find(\n (sa) => sa.isDefault\n );\n if (defaultPaymentOption) {\n return defaultPaymentOption;\n }\n\n return buyer.paymentOptions?.length > 0\n ? buyer.paymentOptions[0]\n : undefined;\n },\n\n /**\n * Gets the default ShippingAddress for the Buyer. If there is no default,\n * then the first element in the ShippingAddresses list is returned.\n * Otherwise, if no ShippingAddresses are available, returns undefined.\n * @param buyer {Buyer} The buyer.\n */\n getDefaultShippingAddress(buyer: Buyer): ShippingAddress | undefined {\n const defaultShippingAddress = buyer.shippingAddresses.find(\n (sa) => sa.isDefault\n );\n if (defaultShippingAddress) {\n return defaultShippingAddress;\n }\n\n return buyer.shippingAddresses?.length > 0\n ? buyer.shippingAddresses[0]\n : undefined;\n }\n};\n\nexport class PredicateBuilder {\n constructor(public predicate: (x: T) => boolean) {}\n\n and(predicate: (x: T) => boolean): (x: T) => boolean {\n const priorCondition = this.predicate;\n this.predicate = (x: T) => {\n return priorCondition(x) && predicate(x);\n };\n return this.predicate;\n }\n}\n","/**\n * Banner Enums\n * Prefix the const with the area that it will be used within i.e 'BUYER_'\n */\nexport enum BannerMessageStrings {\n CHANGES_UPDATED = 'Your changes have been saved!',\n MISSING_FIELDS = 'Some fields are missing! Take a look before continuing.',\n INVALID_PHONE_NUMBER = \"Oops, that doesn't look good. Enter a valid number to continue.\",\n PHONE_NUMBER_IN_USE = 'This phone number is already in use.',\n GENERIC_ERROR_MESSAGE = 'Hmm. Something seems to be wrong. Please refresh this page.',\n GENERIC_SUCCESS = 'Success!',\n GENERIC_COPIED_CLIPBOARD = 'Copied to the clipboard',\n GENERIC_SIZE_EXCEEDED = 'Max size exceeded. Please try again with a smaller file.',\n GENERIC_INVALID_FILE = 'Invalid file uploaded. Please try again with a recommended file type.',\n INVALID_PHONE_NUMBER_SIGNUP = 'Please enter a valid U.S phone number to sign up.',\n\n BUYER_AGE_RESTRICTION = 'You are below the age of 21. Some products may be restricted.',\n BUYER_CARD_NOT_SUPPORTED = \"That card isn't support on Tags. Please add another payment method.\",\n BUYER_CARD_REMOVED = 'You have removed a card from your account.',\n BUYER_CODE_EXPIRED = 'That code has expired. We might need to resend the code.',\n BUYER_FINISHED_SETUP = \"Great, that was easy! You're all set up.\",\n BUYER_FORM_ERROR = 'There seems to be an issue with some information. Try again?',\n BUYER_INCORRECT_PHONE_NUMBER = \"That's not your mobile number. Enter your correct number to deactivate.\",\n BUYER_INVALID_CODE = 'That code is incorrect. Try again?',\n BUYER_LOGIN_INVALID_PHONE_NUMBER = 'Please enter a valid U.S phone number.',\n BUYER_NEW_CARD_ADDED = \"You've added a new card to your account!\",\n BUYER_NEW_TRACKING_INFO = \"You've received some new tracking information, take a look!\",\n BUYER_NO_PURCHASES = \"You haven't purchased anything yet. Come back when you have!\",\n BUYER_ONLY_US_SHIPPING_ALLOWED = 'We currently only support US shipping at this time - Read more.',\n BUYER_REMOVE_DEFAULT_ADDRESS_NOT_ALLOWED = 'You cannot remove default address.',\n BUYER_REMOVE_DEFAULT_PAYMENT_NOT_ALLOWED = 'You cannot remove default payment method.',\n BUYER_EMAIL_LOGIN_ERROR = 'There seems to be a problem with your email or password. Try again?',\n BUYER_PHONE_NUMBER_LOGIN_ERROR = \"We don't recognize that number. Try again?\",\n BUYER_PURCHASE_ERROR = 'Hmm, something went wrong. Please check if your information is correct.',\n BUYER_PURCHASE_INVALID_ADDRESS = 'Please enter a valid U.S shipping address.',\n BUYER_RECEIPT_ERROR = 'Hmm. Something seems to be wrong. Refresh this page.',\n BUYER_REENTERED_PHONE_NUMBER = \"That's the same number as before. Enter a new number or leave as it is.\",\n BUYER_REGISTRATION_INVALID_ADDRESS = \"Something doesn't feel right. Is that a real US address? Try again.\",\n BUYER_SENDING_CONFIRMATION_CODE = 'Awesome! We are sending you a confirmation code.',\n BUYER_SENDING_LOGIN_CODE = \"Awesome. We're sending you a login code!\",\n BUYER_SETTINGS_INVALID_ADDRESS = \"We don't recognize that address. Try again?\",\n BUYER_SETTINGS_INVALID_PHONE_NUMBER = 'That number feels wrong. Try again.',\n BUYER_TOO_MANY_CARDS_ADDED = \"You can't add any more cards to this account. Remove some to add more.\",\n BUYER_SETTINGS_EMAIL_INVALID = \"That email doesn't look right. Try again?\",\n BUYER_SETTINGS_IMAGE_UPLOADED = 'Your Avatar has been uploaded.',\n BUYER_NO_INVENTORY = 'Sorry, this product is out of stock.',\n BUYUER_PURCHASE_OWN_TAG = 'Sorry, you cannot buy products using your own Tags!',\n BUYER_PRODUCT_NOT_FOUND = 'Sorry, we cannot find the product that you are looking for.',\n BUYER_PRODUCT_INACTIVE = 'Sorry, this product is currently unavailable.',\n BUYER_ACCOUNT_UNVERIFIED = 'Click here to verify your account and get the most out of Tags!',\n BUYER_BANNER_CONNECT_STRIPE = 'Connect Stripe to withdraw your earnings!',\n BUYER_RESEND_VERIFICATION_EMAIL_SUCCESS = 'Done! Check your email address for verification instructions.',\n BUYER_AFFILIATE_WITHDRAW_SUCCESS = 'Your withdrawal has been initiated. It can take up to 1-3 business days for the money to arrive in your account.',\n\n SELLER_ACCOUNT_DISABLED = 'Your account has been disabled.',\n SELLER_BRAND_IMAGE_UPLOADED = 'Your brand image was uploaded successfully',\n SELLER_CARD_NOT_SUPPORTED = 'We currently only accept Visa, Mastercard, Amex & Discover. Try again?',\n SELLER_CARD_UPDATED = 'Your card has been successfully updated!',\n SELLER_EMAIL_ALREADY_IN_USE = 'The email address is already in use.',\n SELLER_EMAIL_LOGIN_ERROR = 'There seems to be a problem with your email or password. Try again?',\n SELLER_ERROR_CREATING_ACCOUNT = 'There was an error while creating your account. Please try again.',\n SELLER_ERROR_RESERVING_TAG = 'There was an error while reserving your tag. Please try again.',\n SELLER_INCORRECT_TAG = \"That's not your tag! Enter your tag to deactivate.\",\n SELLER_INVALID_CARD = 'You must have a valid card registered to your account.',\n SELLER_INVALID_EMAIL = \"That email doesn't look right. Try again?\",\n SELLER_INVALID_TAG = 'The tag can only consist of letters. Try again?',\n SELLER_INVALID_ZIP_CODE = \"That zip code doesn't look right. Try again?\",\n SELLER_NEW_PRODUCTS_WAITING = \"You have new products waiting to be viewed & sorted. Great, that was easy! You're all set \",\n SELLER_NO_TAG_ENTERED = \"You haven't added a tag yet. Register a tag to continue.\",\n SELLER_PASSWORD_EMAIL_SENT = 'Password reset email sent, check your inbox.',\n SELLER_PASSWORDS_DO_NOT_MATCH = \"The passwords don't match, that's awkward. Try again?\",\n SELLER_PRODUCT_ADDED_SIMILAR_OPTION = \"You've already added a similar option\",\n SELLER_PRODUCT_ALREADY_ADDED_OPTION_VERSION = \"You've already entered that {0}. Enter a new one.\",\n SELLER_PRODUCT_INVALID_OPTION = 'Options should only contain letters.',\n SELLER_PRODUCT_IMAGE_UPLOADED = 'Image uploaded successfully!',\n SELLER_PRODUCT_OPTION_REMOVED = 'You have removed the {0} option.',\n SELLER_PRODUCT_READY_TO_PUBLISH = 'Your product is ready to publish!',\n SELLER_PRODUCT_STOCK_LEVEL_ALERT = 'There are a few alerts regarding stock level',\n SELLER_RECENT_NEW_PRODUCT = \"You've recently added a new product!\",\n SELLER_SETTINGS_INVALID_ADDRESS = \"That address that doesn't look familiar. Try again?\",\n SELLER_STRIPE_ACCOUNT_ERROR = \"We're sorry but there was an error while connecting to Stripe. Please try again later.\\n\\nError: {0}\",\n SELLER_STRIPE_NOT_CONNECTED = 'In order for your products to start selling please connect your Stripe account within your account settings.',\n SELLER_STRIPE_ACCOUNT_RECONNECTED = 'Your Stripe account has been reconnected successfully!',\n SELLER_TAG_AVAILABLE = 'Awesome! That tags available!',\n SELLER_TAG_UNAVAILABLE = 'Darn, that tag has already gone! Try again.',\n SELLER_SETTINGS_STRIPE_NOT_CONNECTED = 'Your account is not active. To enable your account please Connect Stripe.',\n SELLER_SETTINGS_STRIPE_CONNECTED = 'Your Stripe account is connected and your account is now enabled!',\n SELLER_NEED_CONNECT_STRIPE = 'Connect Stripe first to start using Tags!',\n SELLER_SETTINGS_PLAN_UPGRADE = 'Congratulations! Your account has been upgraded to the Plus plan.',\n SELLER_PLAN_PAYMENT_FAILED = 'We were not able to process your recent payment for the Plus plan.',\n\n SHOPIFY_ERROR_SYNCING = 'Error syncing products',\n SHOPIFY_TEST_CONNECT_SUCCESS = 'The connection looks good! Please proceed to Connect.',\n SHOPIFY_CONNECTED = 'Shopify is now connected! Head over to the Products page to import your inventory.',\n SHOPIFY_ERROR = 'An error occurred communicating with Shopify',\n SHOPIFY_TAGS_ADDED = 'Shopify products added to Tags and a new filter has been added!',\n\n STRIPE_NOT_LOADED = 'The credit card service is not work. Refresh and try again.',\n STRIPE_DISCONNECTED = 'Stripe has been disconnected from your account.'\n}\n\nexport enum BannerType {\n info = 'info',\n error = 'error',\n success = 'success',\n stripeWarning = 'stripe-warning',\n buyerVerification = 'buyer-verification',\n paymentFailed = 'payment-failed'\n}\n\nexport interface BannerMessage {\n text: BannerMessageStrings;\n type?: BannerType;\n}\n","export enum FeatureType {\n Kiosk = 'Kiosk',\n Shopify = 'Shopify'\n}\n","import { ActionTree, Commit, GetterTree, MutationTree } from 'vuex';\nimport { AccountObject } from '../../models/accountObject';\nimport { AccountsState, RootState, RoleAccount, Permissions } from './types';\nimport { store } from './index';\nimport Helpers from '@/helpers';\nimport { RoleType } from '@/enums/roleTypes';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n Buyer,\n ShippingAddress\n} from '@/buyer/settings/BuyerSettingsInterfaces';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { FeatureType } from '@/../enums/featureTypes';\nimport { StripeCardElement, Stripe } from '@stripe/stripe-js';\n\nconst accountsState: AccountsState = {\n accounts: [],\n currentAccount: null,\n selectedFeatureTypeId: ''\n};\n\n// Helper functions to set global banner messages\nfunction setErrorBannerMessage(commit: Commit, text: string) {\n commit(\n 'global/setBannerStatus',\n {\n text,\n type: BannerType.error\n },\n { root: true }\n );\n}\n\nconst accountsActions: ActionTree = {\n loadAccounts: async ({ commit }): Promise => {\n try {\n const roleAccounts = store.getters['auth/roleAccounts'];\n const userAccounts: AccountObject[] = [];\n\n const isSuperAdmin = store.getters['auth/isSuperAdmin'];\n if (isSuperAdmin) {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ADMIN_ACCOUNTS,\n {}\n );\n const accountsList = result.data || [];\n if (accountsList) {\n for (const a of accountsList) {\n userAccounts.push(a);\n }\n }\n } else {\n for (const ra of roleAccounts) {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n {\n accountId: ra.accountId\n }\n );\n if (result.data) {\n userAccounts.push(result.data);\n }\n }\n }\n\n commit('setAccounts', userAccounts);\n\n const currentAccount = store.getters['accounts/currentAccount'];\n // default the current account to the first userAccount\n if (currentAccount) {\n commit(\n 'setCurrentAccount',\n userAccounts.find((x) => x.accountId === currentAccount.accountId)\n );\n } else {\n commit('setCurrentAccount', userAccounts[0]);\n }\n\n return true;\n } catch (ex) {\n console.log('Login exception: ', ex);\n return false;\n }\n },\n addShippingAddress: async (\n { commit },\n shippingAddress: ShippingAddress\n ): Promise => {\n commit('global/setBannerStatus', null, { root: true });\n\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_BUYER_SHIPPING_ADDRESS,\n { shippingAddress }\n );\n if (response?.status !== APIResponseStatus.OK) {\n commit(\n 'global/setBannerStatus',\n {\n text: BannerMessageStrings.BUYER_SETTINGS_INVALID_ADDRESS,\n type: BannerType.error\n },\n { root: true }\n );\n return false;\n }\n\n return true;\n },\n addPaymentOption: async (\n { commit, dispatch, rootGetters },\n payload: {\n stripeCardElement: StripeCardElement;\n stripe: Stripe;\n setAsDefault: boolean;\n }\n ): Promise => {\n try {\n const { stripeCardElement, stripe, setAsDefault } = payload;\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.INITIATE_ADD_NEW_PAYMENT,\n {}\n );\n\n if (\n !stripeCardElement ||\n !stripe ||\n results.status !== APIResponseStatus.OK\n ) {\n setErrorBannerMessage(commit, BannerMessageStrings.STRIPE_NOT_LOADED);\n return false;\n }\n\n let originalDefaultPaymentId;\n const currentBuyer = rootGetters['auth/getCurrentBuyer'] as Buyer;\n if (!setAsDefault) {\n originalDefaultPaymentId = currentBuyer.paymentOptions.length\n ? currentBuyer.paymentOptions.find((po) => po.isDefault)?.id\n : '';\n }\n\n const clientSecret = results.data as string;\n const { error, setupIntent } = await stripe.confirmCardSetup(\n clientSecret,\n {\n payment_method: {\n card: stripeCardElement as StripeCardElement\n }\n }\n );\n\n if (error) {\n console.log('Unhandled error', error);\n setErrorBannerMessage(\n commit,\n BannerMessageStrings.GENERIC_ERROR_MESSAGE\n );\n return false;\n }\n\n if (!setupIntent) {\n setErrorBannerMessage(\n commit,\n BannerMessageStrings.GENERIC_ERROR_MESSAGE\n );\n return false;\n }\n\n // We always need to set a defaultCard. Either the newly added card or the previous default.\n // This is because it seems like adding a new card sometimes sets it as the default, even if\n // there is already a default card. There doesn't seem to be a way to control that behavior\n // when adding a card. So we need to make sure we set a default every time.\n await dispatch('setPaymentOptionAsDefault', {\n paymentMethodId: setAsDefault\n ? setupIntent.payment_method\n : originalDefaultPaymentId\n });\n } catch (error) {\n console.log('Unhandled error', error);\n setErrorBannerMessage(commit, BannerMessageStrings.GENERIC_ERROR_MESSAGE);\n return false;\n }\n\n return true;\n },\n setPaymentOptionAsDefault: async (\n { commit },\n payload: { paymentMethodId: string }\n ): Promise => {\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.BUYER_UPDATE_DEFAULT_CARD,\n { cardId: payload.paymentMethodId }\n );\n\n if (response.status === APIResponseStatus.OK) {\n commit(\n 'global/setLoading',\n {\n isLoading: true,\n message: 'Retrieving payment options..'\n },\n { root: true }\n );\n commit('global/setLoading', false, { root: true });\n return true;\n } else {\n commit(\n 'global/setBannerStatus',\n {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n },\n { root: true }\n );\n }\n\n return false;\n }\n};\n\nconst accountsGetters: GetterTree = {\n currentAccount(state): AccountObject | null {\n return state.currentAccount;\n },\n currentAccountRole(state): string {\n const roleAccounts = store.getters['auth/roleAccounts'] as RoleAccount[];\n return roleAccounts.find(\n (x) => x.accountId === state.currentAccount?.accountId\n )?.role as string;\n },\n currentAccountPermissions(): Permissions[] {\n const role = store.getters['accounts/currentAccountRole'] as RoleType;\n return Helpers.getPermissionsForRole(role);\n },\n selectedFeatureTypeId(state): FeatureType {\n if (!state.selectedFeatureTypeId) {\n state.selectedFeatureTypeId = localStorage.getItem(\n 'selected-feature-id'\n ) as FeatureType;\n }\n if (\n !state.currentAccount?.currentPlan ||\n state.currentAccount?.currentPlan === 'Basic'\n ) {\n state.selectedFeatureTypeId = FeatureType.Kiosk;\n }\n return (state.selectedFeatureTypeId as FeatureType) || FeatureType.Kiosk;\n }\n};\n\nconst accountsMutations: MutationTree = {\n setAccounts: (state: AccountsState, payload: AccountObject[]) => {\n state.accounts = payload;\n },\n setCurrentAccount: (state: AccountsState, payload: AccountObject) => {\n state.currentAccount = payload;\n },\n setSelectedFeatureType: (state: AccountsState, payload: FeatureType) => {\n // Using local storage to save the user's selection for future uses\n state.selectedFeatureTypeId = payload;\n localStorage.setItem('selected-feature-id', payload);\n }\n};\n\nexport const accounts = {\n actions: accountsActions,\n getters: accountsGetters,\n mutations: accountsMutations,\n state: accountsState,\n namespaced: true\n};\n","/**\n * Product types.\n */\nexport enum TagType {\n PRODUCT = 'Product',\n TIP = 'Tip'\n}\n","import { GetterTree, MutationTree } from 'vuex';\nimport { BrandInformation, GlobalState, RootState } from './types';\nimport { BannerMessage } from '@/common/BannerComponent/BannerMessages';\n\nconst globalState: GlobalState = {\n brandInformation: null as BrandInformation | null,\n isLoading: false,\n loadingMessage: '',\n bannerMessage: null as BannerMessage | null,\n mobileNavOpen: false,\n hasContextualButton: false,\n searchText: null,\n customColor: null,\n showHelp: false,\n showLogo: true\n};\n\nconst globalGetters: GetterTree = {\n isBranded: (state: GlobalState): boolean => {\n return state.brandInformation !== null;\n },\n getBrandGuidelines: (state: GlobalState): string[] => {\n return state.brandInformation?.guidelines ?? [];\n },\n getBrandName: (state: GlobalState): string => {\n if (state.brandInformation) {\n return state.brandInformation.brandName;\n }\n return '';\n },\n getBrandLogo: (state: GlobalState): string => {\n if (state.brandInformation) {\n return state.brandInformation.logoUrl;\n }\n return '';\n },\n isLoading: (state: GlobalState): boolean => {\n return state.isLoading;\n },\n getLoadingMessage: (state: GlobalState): string => {\n return state.loadingMessage;\n },\n getBannerStatus: (state: GlobalState): BannerMessage | null => {\n return state.bannerMessage;\n },\n isMobileNavOpen: (state: GlobalState): boolean => {\n return state.mobileNavOpen;\n },\n hasContextualButton: (state: GlobalState): boolean => {\n return state.hasContextualButton;\n },\n getSearchText: (state: GlobalState): string | null => {\n return state.searchText;\n },\n getCustomColor: (state: GlobalState): string => {\n return state.customColor ? state.customColor : 'default';\n },\n getShowHelp: (state: GlobalState): boolean => {\n return state.showHelp;\n },\n getShowLogo: (state: GlobalState): boolean => {\n return state.showLogo;\n }\n};\n\nconst globalMutations: MutationTree = {\n setBrandInformation: (state: GlobalState, payload: BrandInformation) => {\n state.brandInformation = payload;\n state.customColor = payload?.customColor || 'default';\n },\n setLoading: (\n state: GlobalState,\n payload: boolean | { isLoading: boolean; message: string }\n ) => {\n if (typeof payload === 'object') {\n state.loadingMessage = payload.message || '';\n state.isLoading = payload.isLoading;\n }\n if (typeof payload === 'boolean') {\n state.isLoading = payload;\n state.loadingMessage = '';\n }\n },\n setBannerStatus: (state: GlobalState, payload: BannerMessage | null) => {\n state.bannerMessage = payload;\n },\n setMobileNavOpen: (state: GlobalState, payload: boolean) => {\n state.mobileNavOpen = payload;\n },\n setContextualButton: (state: GlobalState, payload: boolean) => {\n state.hasContextualButton = payload;\n },\n setSearchText: (state: GlobalState, payload: string | null) => {\n state.searchText = payload;\n },\n setCustomColor: (state: GlobalState, payload: string | null) => {\n state.customColor = payload;\n },\n setShowHelp: (state: GlobalState, payload: boolean) => {\n state.showHelp = payload;\n },\n setShowLogo: (state: GlobalState, payload: boolean) => {\n state.showLogo = payload;\n }\n};\n\nexport const global = {\n getters: globalGetters,\n state: globalState,\n mutations: globalMutations,\n namespaced: true\n};\n","import { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { ProductState, RootState } from './types';\nimport { TagDetail, TagSku, TagVariant } from '@/models/tag';\nimport { TagType } from '@/../enums/tagType';\nimport { Attribution } from '@/models/firebase/product';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\n\nconst productState: ProductState = {\n currentProduct: null,\n currentFilter: TagType.PRODUCT,\n productIds: []\n};\n\nconst productActions: ActionTree = {\n async setupCurrentProduct(\n context,\n payload: { accountId: string; productId: string }\n ) {\n let currentProduct: TagDetail | undefined;\n\n if (payload.productId && payload.accountId) {\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_TAG,\n {\n accountId: payload.accountId,\n productId: payload.productId\n }\n );\n if (responseData.status === APIResponseStatus.OK) {\n currentProduct = responseData.data;\n }\n }\n context.commit('setCurrentProduct', currentProduct);\n },\n async saveCurrentProductToDb(context) {\n if (\n context.state.currentProduct &&\n context.state.currentProduct.accountId\n ) {\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.SAVE_TAG,\n {\n product: context.state.currentProduct\n }\n );\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n context.state.currentProduct = responseData.data;\n } else {\n //TODO: Show error message!!\n }\n }\n },\n getNext(context, currentId: string): string | null {\n const index = context.state.productIds.findIndex((x) => x === currentId);\n return index >= context.state.productIds.length - 1\n ? null\n : context.state.productIds[index + 1];\n },\n getPrevious(context, currentId: string): string | null {\n const index = context.state.productIds.findIndex((x) => x === currentId);\n return index <= 0 ? null : context.state.productIds[index - 1];\n },\n getCurrentIndex(context, currentId: string): number {\n const index = context.state.productIds.findIndex((x) => x === currentId);\n return index;\n }\n};\n\nconst productMutations: MutationTree = {\n setCurrentProduct: (state: ProductState, payload: TagDetail) => {\n state.currentProduct = payload;\n },\n setCurrentFilter: (state: ProductState, payload: TagType) => {\n state.currentFilter = payload;\n },\n setCurrentProductAttributions: (\n state: ProductState,\n payload: Attribution[]\n ) => {\n if (state.currentProduct) {\n state.currentProduct.attributions = payload;\n }\n },\n setCurrentProductVariants: (\n state: ProductState,\n payload: { variants: TagVariant[]; skus: TagSku[] }\n ) => {\n if (state.currentProduct) {\n state.currentProduct.variants = payload.variants;\n state.currentProduct.skus = payload.skus;\n }\n },\n setProductIds: (state: ProductState, payload: string[]) => {\n state.productIds = payload;\n }\n};\n\nconst productGetters: GetterTree = {\n currentProduct(state): TagDetail | null {\n return state.currentProduct;\n },\n currentFilter(state): TagType | 'All' {\n return state.currentFilter;\n },\n getProductListLength(state): number {\n return state.productIds.length;\n }\n};\n\nexport const product = {\n actions: productActions,\n mutations: productMutations,\n state: productState,\n getters: productGetters,\n namespaced: true\n};\n","import { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { OrderState, RootState } from './types';\n\nconst orderState: OrderState = {\n orderedIds: [],\n buyerName: ''\n};\n\nconst orderMutations: MutationTree = {\n setOrderedIds: (state: OrderState, payload: string[]) => {\n state.orderedIds = payload;\n },\n setBuyerName: (state: OrderState, payload: string) => {\n state.buyerName = payload;\n }\n};\n\nconst orderActions: ActionTree = {\n getNext(context, currentId: string): string | null {\n const index = context.state.orderedIds.findIndex((x) => x === currentId);\n return index >= context.state.orderedIds.length - 1\n ? null\n : context.state.orderedIds[index + 1];\n },\n getPrevious(context, currentId: string): string | null {\n const index = context.state.orderedIds.findIndex((x) => x === currentId);\n return index <= 0 ? null : context.state.orderedIds[index - 1];\n },\n getCurrentIndex(context, currentId: string): number {\n const index = context.state.orderedIds.findIndex((x) => x === currentId);\n return index;\n }\n};\n\nconst orderGetters: GetterTree = {\n currentBuyerName(state): string | undefined {\n return state.buyerName;\n },\n getOrderListLength(state): number {\n return state.orderedIds.length;\n }\n};\n\nexport const orders = {\n mutations: orderMutations,\n state: orderState,\n actions: orderActions,\n getters: orderGetters,\n namespaced: true\n};\n","import { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { AudienceState, RootState } from './types';\n\nconst audienceState: AudienceState = {\n audienceIds: []\n};\n\nconst audienceMutations: MutationTree = {\n setAudienceIds: (state: AudienceState, payload: string[]) => {\n state.audienceIds = payload;\n }\n};\n\nconst audienceActions: ActionTree = {\n getNext(context, currentId: string): string | null {\n const index = context.state.audienceIds.findIndex((x) => x === currentId);\n return index >= context.state.audienceIds.length - 1\n ? null\n : context.state.audienceIds[index + 1];\n },\n getPrevious(context, currentId: string): string | null {\n const index = context.state.audienceIds.findIndex((x) => x === currentId);\n return index <= 0 ? null : context.state.audienceIds[index - 1];\n },\n getCurrentIndex(context, currentId: string): number {\n const index = context.state.audienceIds.findIndex((x) => x === currentId);\n return index;\n }\n};\n\nconst audienceGetters: GetterTree = {\n getAudienceListLength(state): number {\n return state.audienceIds.length;\n }\n};\n\nexport const audience = {\n mutations: audienceMutations,\n state: audienceState,\n actions: audienceActions,\n getters: audienceGetters,\n namespaced: true\n};\n","import { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { PurchasesState, RootState } from './types';\n\nconst purchasesState: PurchasesState = {\n transactionIds: []\n};\n\nconst purchasesMutations: MutationTree = {\n setPurchasesIds: (state: PurchasesState, payload: string[]) => {\n state.transactionIds = payload;\n }\n};\n\nconst purchasesActions: ActionTree = {\n getNext(context, currentId: string): string | null {\n const index = context.state.transactionIds.findIndex(\n (x) => x === currentId\n );\n return index >= context.state.transactionIds.length - 1\n ? null\n : context.state.transactionIds[index + 1];\n },\n getPrevious(context, currentId: string): string | null {\n const index = context.state.transactionIds.findIndex(\n (x) => x === currentId\n );\n return index <= 0 ? null : context.state.transactionIds[index - 1];\n },\n getCurrentIndex(context, currentId: string): number {\n const index = context.state.transactionIds.findIndex(\n (x) => x === currentId\n );\n return index;\n }\n};\n\nconst purchasesGetters: GetterTree = {\n getPurchasesListLength(state): number {\n return state.transactionIds.length;\n }\n};\n\nexport const purchases = {\n mutations: purchasesMutations,\n state: purchasesState,\n actions: purchasesActions,\n getters: purchasesGetters,\n namespaced: true\n};\n","import { GetterTree, MutationTree, ActionTree } from 'vuex';\nimport settings from '@/settings';\nimport { MarketplaceState, RootState } from './types';\nimport {\n MarketplaceProduct,\n MarketplaceSearchResults\n} from '@/models/marketplaceProduct';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\n\nconst marketplaceState: MarketplaceState = {\n isSearchOpen: false,\n searchResults: undefined,\n selectedProductToSell: undefined,\n taggedProducts: {},\n featuredProducts: [],\n allBrands: []\n};\n\nconst marketplaceGetters: GetterTree = {\n isSearchOpen: (state: MarketplaceState): boolean => {\n return state.isSearchOpen;\n },\n getSearchResults: (\n state: MarketplaceState\n ): MarketplaceSearchResults | undefined => {\n return state.searchResults;\n },\n getTaggedProducts: (state: MarketplaceState) => {\n return state.taggedProducts;\n },\n getAllBrands: (state: MarketplaceState) => {\n return state.allBrands;\n },\n getSelectedProductToSell: (\n state: MarketplaceState\n ): MarketplaceProduct | undefined => {\n return state.selectedProductToSell;\n },\n getFeaturedProducts: (\n state: MarketplaceState\n ): MarketplaceProduct[] | undefined => {\n return state.featuredProducts;\n }\n};\n\nconst marketplaceMutations: MutationTree = {\n setIsSearchOpen: (state: MarketplaceState, payload: boolean) => {\n state.isSearchOpen = payload;\n },\n setSearchResults: (\n state: MarketplaceState,\n payload: MarketplaceSearchResults | undefined\n ) => {\n state.searchResults = payload;\n },\n setSelectedProductToSell: (\n state: MarketplaceState,\n payload: MarketplaceProduct | undefined\n ) => {\n state.selectedProductToSell = payload;\n },\n setAllBrands: (state: MarketplaceState, payload: AffiliateBrand[]) => {\n state.allBrands = payload;\n },\n setFeaturedProducts: (\n state: MarketplaceState,\n payload: MarketplaceProduct[]\n ) => {\n state.featuredProducts = payload;\n },\n setTaggedProducts: (\n state: MarketplaceState,\n payload: { [key: string]: string }\n ) => {\n state.taggedProducts = payload;\n }\n};\n\nconst marketplaceActions: ActionTree = {\n performSearch: async ({ commit }, searchTerm: string): Promise => {\n const products = await fetch(\n `${settings.FIREBASE_CLOUD_FUNCTIONS_URL}/api/products/search?search=${searchTerm}`,\n {\n method: 'GET',\n headers: {\n 'content-type': 'application/json'\n }\n }\n );\n\n const results = await products.json();\n commit('setSearchResults', {\n products: results.products,\n query: searchTerm\n });\n },\n getFeaturedProducts: async ({ commit }): Promise => {\n const products = await fetch(\n `${settings.FIREBASE_CLOUD_FUNCTIONS_URL}/api/products/featured`,\n {\n method: 'GET',\n headers: {\n 'content-type': 'application/json'\n }\n }\n );\n\n const results = await products.json();\n commit('setFeaturedProducts', results.products as MarketplaceProduct[]);\n },\n\n loadAllBrands: async ({ commit, rootGetters, dispatch }): Promise => {\n const currentBuyer = rootGetters['auth/getCurrentBuyer'] as Buyer;\n\n // Kick off getting the featured products.\n dispatch('getFeaturedProducts');\n\n const products = await fetch(\n `${settings.FIREBASE_CLOUD_FUNCTIONS_URL}/api/brands${\n currentBuyer !== null ? '/' + currentBuyer.userId : ''\n }`,\n {\n method: 'GET',\n headers: {\n 'content-type': 'application/json'\n }\n }\n );\n\n const results = await products.json();\n commit('setAllBrands', results.brands);\n commit('setTaggedProducts', results.taggedProducts);\n },\n addTaggedProduct: (\n { commit, state },\n payload: { productId: string; productTag: string }\n ): void => {\n commit('setTaggedProducts', {\n ...state.taggedProducts,\n [payload.productId]: payload.productTag\n });\n }\n};\n\nexport const marketplace = {\n getters: marketplaceGetters,\n state: marketplaceState,\n mutations: marketplaceMutations,\n actions: marketplaceActions,\n namespaced: true\n};\n","import { createStore } from 'vuex';\nimport { auth } from './auth';\nimport { accounts } from './accounts';\nimport { global } from './global';\nimport { product } from './product';\nimport { orders } from './orders';\nimport { audience } from './audience';\nimport { purchases } from './purchases';\nimport { marketplace } from './marketplace';\n\nexport const store = createStore({\n modules: {\n auth,\n accounts,\n global,\n product,\n orders,\n audience,\n purchases,\n marketplace\n }\n});\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withKeys as _withKeys, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '../assets/search-icon.svg'\nimport _imports_1 from '../assets/arrow-right.svg'\n\n\nconst _hoisted_1 = { class: \"search flex flex--no-wrap flex--full-width justify--center align--center\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"search__icon\",\n src: _imports_0,\n alt: \"Search icon\"\n}, null, -1)\nconst _hoisted_3 = {\n key: 0,\n class: \"search__category\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"search__category\"\n}\nconst _hoisted_5 = {\n key: 0,\n class: \"search-results\"\n}\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = { class: \"title\" }\nconst _hoisted_8 = { class: \"go\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"search__category\"\n}\nconst _hoisted_10 = {\n key: 1,\n src: _imports_1,\n alt: \"Right arrow icon\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n (_ctx.currentCategory)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.currentCategory) + \":\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.userId && _ctx.userName)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(_ctx.userName), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.searchText,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchText) = $event)),\n class: \"search__input\",\n \"input-id\": \"search-input\",\n placeholder: \"Search\",\n autocomplete: \"new-password\",\n \"hide-label\": true,\n \"ignore-global-style\": true,\n onKeyup: [\n _withKeys(_ctx.onDeleteKey, [\"delete\"]),\n _withKeys(_ctx.onEscapeKey, [\"esc\"]),\n _withKeys(_ctx.onEnterKey, [\"enter\"]),\n _ctx.onAnyKey\n ]\n }, null, 8, [\"modelValue\", \"onKeyup\"])\n ]),\n (_ctx.hasResults)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.results, (result) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: result.id,\n onClick: ($event: any) => (_ctx.onSelection(result))\n }, [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(result.title), 1),\n _createElementVNode(\"span\", _hoisted_8, [\n (result.category)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(result.category), 1))\n : _createCommentVNode(\"\", true),\n (result.id)\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_10))\n : _createCommentVNode(\"\", true)\n ])\n ], 8, _hoisted_6))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { computed, defineComponent, ref, watch } from 'vue';\nimport { RouteLocationNormalizedLoaded, useRoute } from 'vue-router';\nimport { mapGetters, mapMutations, useStore } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from './BannerComponent/BannerMessages';\n\ninterface SearchResult {\n category: string;\n title: string;\n route: string;\n metaData: string;\n id: string;\n}\n\nenum SearchCategory {\n Tags = 'Tags',\n Products = 'Products',\n Orders = 'Orders',\n Audience = 'Audience',\n Customizations = 'Customizations',\n Transactions = 'Transactions',\n Attributions = 'Attributions'\n}\n\nconst MIN_CHAR = 3;\n\nexport default defineComponent({\n name: 'AppSearch',\n emits: ['search'],\n setup() {\n const store = useStore();\n const searchText = ref('');\n const results = ref([] as SearchResult[]);\n const hasResults = computed(() => results.value.length > 0);\n const currentCategory = ref('');\n const clearCategory = ref(false);\n\n const currentRoute = useRoute();\n const checkRoute = (rt: RouteLocationNormalizedLoaded) => {\n if (\n rt.name === 'seller-products' ||\n rt.name === 'seller-product-detail'\n ) {\n currentCategory.value = SearchCategory.Products;\n } else if (rt.name === 'seller-orders' || rt.name === 'seller-order') {\n currentCategory.value = SearchCategory.Orders;\n } else if (rt.name === 'audience' || rt.name === 'audience-member') {\n currentCategory.value = SearchCategory.Audience;\n } else if (rt.name === 'seller-transactions') {\n currentCategory.value = SearchCategory.Transactions;\n } else if (rt.name === 'seller-attributions') {\n currentCategory.value = SearchCategory.Attributions;\n } else if (rt.name === 'seller-tags') {\n currentCategory.value = SearchCategory.Tags;\n } else {\n currentCategory.value = '';\n }\n results.value = [];\n searchText.value = '';\n };\n checkRoute(currentRoute);\n\n watch(currentRoute, (rt) => {\n checkRoute(rt);\n });\n\n const userId = computed(() => !!currentRoute.query.userId);\n const userName = computed(() => store.getters['orders/currentBuyerName']);\n\n return {\n userId,\n userName,\n clearCategory,\n currentCategory,\n searchText,\n hasResults,\n results\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n methods: {\n ...mapMutations('global', [\n 'setSearchText',\n 'setLoading',\n 'setBannerStatus'\n ]),\n ...mapMutations('orders', ['setBuyerName']),\n onSelection(result: SearchResult) {\n this.results = [];\n this.searchText = '';\n this.currentCategory = result.category;\n if (result.category === SearchCategory.Tags) {\n this.$router.push({\n name: 'seller-tags',\n params: { tagId: result.id }\n });\n }\n if (result.category === SearchCategory.Products) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId: result.id }\n });\n }\n if (result.category === SearchCategory.Orders) {\n this.$router.push({\n name: 'seller-order',\n params: { orderId: result.id }\n });\n }\n if (result.category === SearchCategory.Transactions) {\n this.$router.push({\n name: 'seller-transactions',\n params: { transactionId: result.id }\n });\n }\n if (result.category === SearchCategory.Audience) {\n this.$router.push({\n name: 'audience-member',\n params: { memberId: result.id }\n });\n }\n },\n onAnyKey() {\n if (\n this.searchText.endsWith(':') &&\n Object.keys(SearchCategory).some(\n (x) =>\n x.toLocaleLowerCase() ===\n this.searchText.slice(0, -1).toLocaleLowerCase()\n )\n ) {\n const category = this.searchText.slice(0, -1).toLocaleLowerCase();\n this.searchText = '';\n this.currentCategory =\n category[0].toLocaleUpperCase() + category.slice(1);\n }\n },\n onDeleteKey() {\n if (\n this.currentCategory === SearchCategory.Orders &&\n this.userId &&\n !this.searchText &&\n this.clearCategory\n ) {\n // Orders with a User Id must be handled specially\n this.$router.push({\n name: 'seller-orders'\n });\n return;\n }\n // Clear out the category if the user has deleted all characters entered, and then hit delete again\n if (!this.searchText && this.currentCategory) {\n if (this.clearCategory) {\n this.currentCategory = '';\n this.clearCategory = false;\n this.results = [];\n } else {\n this.clearCategory = true;\n }\n }\n },\n onEscapeKey() {\n this.searchText = '';\n this.results = [];\n this.clearCategory = false;\n },\n async onEnterKey() {\n await this.search(this.searchText);\n },\n async search(searchText: string) {\n if (searchText.length >= MIN_CHAR) {\n if (this.currentCategory === '') {\n // Call Search API\n this.setLoading(true);\n const requestParams = {\n accountId: this.currentAccount.accountId,\n searchText: searchText,\n category: this.currentCategory,\n productSource: this.productSource\n };\n\n try {\n const responseData = await FirebaseRequest.createRequest<\n SearchResult[]\n >(FirebaseRequestTypes.GLOBAL_SEARCH, requestParams);\n this.setLoading(false);\n if (responseData.status === APIResponseStatus.OK) {\n if (responseData.data?.length) {\n this.results = responseData.data;\n } else {\n this.results = [\n {\n category: '',\n title: 'No matching results found',\n route: '',\n metaData: '',\n id: ''\n }\n ];\n }\n this.$emit('search', true);\n }\n } catch (err) {\n console.log(err);\n this.setLoading(false);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } else {\n // Filter category list\n this.setSearchText(searchText);\n }\n } else {\n this.results = [];\n if (this.currentCategory) {\n this.setSearchText(searchText);\n }\n this.$emit('search', false);\n }\n this.clearCategory = false;\n }\n }\n});\n","import { render } from \"./AppSearch.vue?vue&type=template&id=c5fd5a36&ts=true\"\nimport script from \"./AppSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./AppSearch.vue?vue&type=script&lang=ts\"\n\nimport \"./AppSearch.vue?vue&type=style&index=0&id=c5fd5a36&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3ba16524\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20H33.3333V0H10ZM10.4513 13.7597C12.5276 13.7597 14.2107 12.0766 14.2107 10.0003C14.2107 7.92409 12.5276 6.24095 10.4513 6.24095C8.37504 6.24095 6.6919 7.92409 6.6919 10.0003C6.6919 12.0766 8.37504 13.7597 10.4513 13.7597Z\"\n}, null, -1))\nconst _hoisted_2 = [\n _hoisted_1\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"svg\", {\n class: _normalizeClass([\"boost-logo\", _ctx.logoClass]),\n viewBox: \"0 0 34 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, _hoisted_2, 2))\n}","\nimport { defineComponent } from 'vue';\nimport { store } from '@/store';\n\nconst BoostLogo = defineComponent({\n name: 'BoostLogo',\n computed: {\n logoClass(): string {\n const customValue = store.getters['global/getCustomColor'] as string;\n return ('custom__' + customValue || 'default') + '__logo';\n }\n }\n});\n\nexport default BoostLogo;\n","import { render } from \"./BoostLogo.vue?vue&type=template&id=3ba16524&scoped=true&ts=true\"\nimport script from \"./BoostLogo.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostLogo.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostLogo.vue?vue&type=style&index=0&id=3ba16524&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3ba16524\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { store } from '@/store';\nimport { auth } from '@/store/auth';\nimport { mapGetters, mapMutations } from 'vuex';\nimport AppSearch from './AppSearch.vue';\nimport BoostLogo from '@/common/controls/BoostLogo.vue';\n\nexport default defineComponent({\n components: {\n AppSearch,\n BoostLogo\n },\n props: {\n singleMode: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n isOpen: false,\n hasSearchResults: false\n };\n },\n computed: {\n ...mapGetters({\n isBranded: 'global/isBranded',\n getBrandName: 'global/getBrandName',\n getBrandLogo: 'global/getBrandLogo',\n isSuperAdmin: 'auth/isSuperAdmin',\n isImpersonating: 'auth/isImpersonating',\n currentAccount: 'accounts/currentAccount',\n hasContextualButton: 'global/hasContextualButton'\n }),\n showLogo(): boolean {\n return (\n this.isBranded || (!this.isSellerLoggedIn && !this.isBuyerLoggedIn)\n );\n },\n isBuyerLoggedIn(): boolean {\n return store.getters['auth/isBuyerLoggedIn'];\n },\n isSellerLoggedIn(): boolean {\n return store.getters['auth/isSellerLoggedIn'];\n },\n showSellerNav(): boolean {\n if (this.isSuperAdmin) {\n return this.isImpersonating;\n } else {\n return this.isSellerLoggedIn;\n }\n },\n loginOrRegistrationType(): number {\n return auth.state.loginOrRegistrationType;\n },\n isCurrentPageExternalStore(): boolean {\n return this.$route.name === 'Store';\n },\n currentRouteName(): string {\n return (this.$route.name as string) || '';\n },\n currentRoutePath(): string {\n return this.$route.path || '';\n },\n hasBrandLogo(): boolean {\n return !!this.getBrandLogo;\n },\n logoImage(): string {\n return this.isBranded\n ? this.getBrandLogo\n : require('../assets/boost-logo-sm.svg');\n },\n showHelp(): boolean {\n return (this.$route.meta?.showHelp as boolean) || false;\n },\n showLogin(): boolean {\n if (this.isBuyerLoggedIn) {\n return true;\n } else {\n return this.currentRoutePath !== 'pre-registration';\n }\n },\n isTagsActive(): boolean {\n return (\n this.currentRoutePath.includes('tags') ||\n this.currentRoutePath.includes('tips') ||\n this.currentRouteName === 'seller-product-create' ||\n this.currentRouteName === 'seller-tip-create'\n );\n }\n },\n watch: {\n $route() {\n this.setMobileNavOpen(false);\n this.isOpen = false;\n this.hasSearchResults = false;\n }\n },\n methods: {\n ...mapMutations({\n setMobileNavOpen: 'global/setMobileNavOpen'\n }),\n toggleNavMenu() {\n this.isOpen = !this.isOpen;\n this.setMobileNavOpen(this.isOpen);\n },\n logout() {\n this.$store.dispatch('auth/signOut').then((success: boolean) => {\n if (success) {\n window.location.href = '/login';\n }\n });\n },\n handleSearch(val: boolean) {\n this.hasSearchResults = val;\n }\n }\n});\n","import { render } from \"./HeaderComponent.vue?vue&type=template&id=5c612d13&ts=true\"\nimport script from \"./HeaderComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./HeaderComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./HeaderComponent.vue?vue&type=style&index=0&id=5c612d13&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-43139460\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"banner-component__content\" }\nconst _hoisted_2 = { class: \"banner-component__message\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"24\",\n height: \"24\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M13.8012 4.19887C13.536 3.93371 13.1061 3.93371 12.8409 4.19887L8.99998 8.03981L5.1591 4.19893C4.89394 3.93377 4.46403 3.93377 4.19887 4.19893C3.93371 4.46409 3.93371 4.894 4.19887 5.15916L8.03975 9.00004L4.19888 12.8409C3.93372 13.1061 3.93372 13.536 4.19888 13.8011C4.46404 14.0663 4.89395 14.0663 5.15911 13.8011L8.99998 9.96027L12.8409 13.8012C13.1061 14.0664 13.536 14.0664 13.8011 13.8012C14.0663 13.536 14.0663 13.1061 13.8011 12.841L9.96021 9.00004L13.8012 5.1591C14.0663 4.89394 14.0663 4.46403 13.8012 4.19887Z\",\n fill: \"white\"\n })\n], -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.message)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n id: \"banner-inner-message\",\n class: _normalizeClass([\"banner-component\", _ctx.classObject]),\n onAnimationend: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.dismissBanner && _ctx.dismissBanner(...args)))\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.message), 1),\n (_ctx.type === 'info' || _ctx.type === 'error' || _ctx.type === 'success')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"banner-component__close-button\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.dismissBanner && _ctx.dismissBanner(...args)))\n }, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (_ctx.type === 'buyer-verification')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"banner-component__settings-button\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.resendBuyerVerification && _ctx.resendBuyerVerification(...args)))\n }, \" Verify my account \"))\n : _createCommentVNode(\"\", true),\n (_ctx.type === 'stripe-warning')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: \"banner-component__settings-button\",\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.gotoSettings && _ctx.gotoSettings(...args)))\n }, \" Connect Stripe \"))\n : _createCommentVNode(\"\", true),\n (_ctx.type === 'payment-failed')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n class: \"banner-component__settings-button\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.updateFailedPayment && _ctx.updateFailedPayment(...args)))\n }, \" Update Payment Details \"))\n : _createCommentVNode(\"\", true)\n ])\n ], 34))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from 'vue';\nimport {\n BannerType,\n BannerMessageStrings\n} from '@/common/BannerComponent/BannerMessages';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { store } from '@/store';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\n\nexport default defineComponent({\n name: 'BannerComponent',\n emits: ['update:message'],\n computed: {\n ...mapGetters({\n getBannerStatus: 'global/getBannerStatus',\n currentAccount: 'accounts/currentAccount',\n isBuyerLoggedIn: 'auth/isBuyerLoggedIn'\n }),\n message(): BannerMessageStrings | null {\n return this.getBannerStatus?.text;\n },\n type(): BannerType {\n return this.getBannerStatus?.type || BannerType.info;\n },\n classObject() {\n const results: { [k: string]: boolean } = {\n 'banner-component--info': this.type === BannerType.info,\n 'banner-component--error':\n this.type === BannerType.error ||\n this.type === BannerType.buyerVerification ||\n this.type === BannerType.paymentFailed,\n 'banner-component--stripe--warning':\n this.type === BannerType.stripeWarning\n };\n const isSellerLoggedIn = store.getters['auth/isSellerLoggedIn'];\n if (this.type === 'success') {\n const customColor = store.getters['global/getCustomColor'] as string;\n if (customColor != 'default' && !isSellerLoggedIn) {\n results['custom__' + customColor] = true;\n results['banner-component--animate'] = true;\n } else {\n results['banner-component--success'] = true;\n }\n }\n\n return results;\n }\n },\n methods: {\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus',\n setBuyerVerificationAttempted: 'auth/setBuyerVerificationAttempted',\n setLoading: 'global/setLoading'\n }),\n dismissBanner(): void {\n this.setBannerStatus(null);\n },\n gotoSettings(): void {\n this.$router.push({\n name: this.isBuyerLoggedIn ? 'buyer-settings' : 'seller-settings',\n query: { menu: 'stripe' }\n });\n },\n async updateFailedPayment() {\n this.setLoading(true);\n const stripeResult = await FirebaseRequest.createRequest<{\n portalUrl: string;\n }>(FirebaseRequestTypes.GET_SUBSCRIPTION_PORTAL_STRIPE, {\n accountId: this.currentAccount.accountId,\n plan: 'Plus'\n });\n\n if (\n stripeResult.status === APIResponseStatus.OK &&\n stripeResult.data?.portalUrl\n ) {\n this.setBannerStatus(null);\n window.location.assign(stripeResult.data?.portalUrl);\n } else {\n this.setLoading(false);\n }\n },\n resendBuyerVerification(): void {\n // Optimistic UI: let's assume that this request will succeed.\n // So let's dismiss the banner, fire off the request, set the\n // success message. If needed, we can update the UI with an\n // error message.\n this.setBannerStatus(null);\n\n // \"hasAttemptedVerification\" will be set to true when the\n // RESEND_BUYER_VERIFICATION_EMAIL request is sent to the server.\n // But to not have to refresh the currentBuyer with a separate request\n // to GET_BUYER, we set this to true locally. The next time we refresh\n // the currentBuyer, \"hasAttemptedVerification\" will be true.\n this.setBuyerVerificationAttempted(true);\n\n FirebaseRequest.createRequest(\n FirebaseRequestTypes.RESEND_BUYER_VERIFICATION_EMAIL,\n {}\n ).then((res) => {\n if (res.status === APIResponseStatus.ERROR) {\n // TODO: we can set an error banner message if needed.\n }\n });\n\n // Immediately display the success message.\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_RESEND_VERIFICATION_EMAIL_SUCCESS,\n type: BannerType.info\n });\n }\n }\n});\n","import { render } from \"./BannerComponent.vue?vue&type=template&id=43139460&scoped=true&ts=true\"\nimport script from \"./BannerComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./BannerComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./BannerComponent.vue?vue&type=style&index=0&id=43139460&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-43139460\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, normalizeStyle as _normalizeStyle, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ccc693f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 1 }\nconst _hoisted_2 = {\n key: 2,\n class: \"sidebar__nav\"\n}\nconst _hoisted_3 = { class: \"sidebar__nav-menu\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M6.5 14.8332V9.83321C6.5 8.91274 5.75381 8.16655 4.83333 8.16655H3.16667C2.24619 8.16655 1.5 8.91274 1.5 9.83321V14.8332C1.5 15.7537 2.24619 16.4999 3.16667 16.4999H4.83333C5.75381 16.4999 6.5 15.7537 6.5 14.8332ZM6.5 14.8332V6.49988C6.5 5.5794 7.24619 4.83321 8.16667 4.83321H9.83334C10.7538 4.83321 11.5 5.5794 11.5 6.49988V14.8332M6.5 14.8332C6.5 15.7537 7.24619 16.4999 8.16667 16.4999H9.83334C10.7538 16.4999 11.5 15.7537 11.5 14.8332M11.5 14.8332V3.16655C11.5 2.24607 12.2462 1.49988 13.1667 1.49988H14.8333C15.7538 1.49988 16.5 2.24607 16.5 3.16655V14.8332C16.5 15.7537 15.7538 16.4999 14.8333 16.4999H13.1667C12.2462 16.4999 11.5 15.7537 11.5 14.8332Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M4.83333 4.83333H4.84167M4.83333 1.5H9C9.42656 1.49999 9.85306 1.66271 10.1785 1.98816L16.0119 7.82149C16.6628 8.47237 16.6628 9.52764 16.0119 10.1785L10.1785 16.0118C9.52764 16.6627 8.47236 16.6627 7.82149 16.0118L1.98816 10.1785C1.66272 9.85308 1.5 9.42654 1.5 9V4.83333C1.5 2.99238 2.99238 1.5 4.83333 1.5Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M13.3333 9.16661V5.83327C13.3333 3.99232 11.8409 2.49994 9.99992 2.49994C8.15897 2.49994 6.66659 3.99232 6.66659 5.83327V9.16661M4.16659 7.49994H15.8333L16.6666 17.4999H3.33325L4.16659 7.49994Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon sidebar__nav-item-icon--fill\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", { d: \"M16.6668 17.5002L16.2942 18.2456C16.5525 18.3748 16.8593 18.361 17.1049 18.2091C17.3506 18.0573 17.5002 17.7891 17.5002 17.5002H16.6668ZM3.3335 17.5002H2.50016C2.50016 17.7891 2.64971 18.0573 2.89539 18.2091C3.14107 18.361 3.44785 18.3748 3.70617 18.2456L3.3335 17.5002ZM10.0002 17.5002L9.62749 18.2456C9.86209 18.3629 10.1382 18.3629 10.3728 18.2456L10.0002 17.5002ZM6.66683 15.8336L7.03951 15.0882C6.8049 14.9709 6.52876 14.9709 6.29415 15.0882L6.66683 15.8336ZM13.3335 15.8336L13.7062 15.0882C13.4716 14.9709 13.1954 14.9709 12.9608 15.0882L13.3335 15.8336ZM13.3335 11.3333C13.7937 11.3333 14.1668 10.9602 14.1668 10.5C14.1668 10.0398 13.7937 9.66667 13.3335 9.66667V11.3333ZM6.66683 9.66667C6.20659 9.66667 5.8335 10.0398 5.8335 10.5C5.8335 10.9602 6.20659 11.3333 6.66683 11.3333V9.66667ZM13.3335 7.83333C13.7938 7.83333 14.1669 7.46024 14.1669 7C14.1669 6.53976 13.7938 6.16667 13.3335 6.16667V7.83333ZM6.66687 6.16667C6.20663 6.16667 5.83354 6.53976 5.83354 7C5.83354 7.46024 6.20663 7.83333 6.66687 7.83333V6.16667ZM5.00016 3.33358H15.0002V1.66691H5.00016V3.33358ZM15.8335 4.16691V17.5002H17.5002V4.16691H15.8335ZM4.16683 17.5002V4.16691H2.50016V17.5002H4.16683ZM10.3728 16.7549L7.03951 15.0882L6.29415 16.5789L9.62749 18.2456L10.3728 16.7549ZM6.29415 15.0882L2.96082 16.7549L3.70617 18.2456L7.03951 16.5789L6.29415 15.0882ZM17.0395 16.7549L13.7062 15.0882L12.9608 16.5789L16.2942 18.2456L17.0395 16.7549ZM12.9608 15.0882L9.62749 16.7549L10.3728 18.2456L13.7062 16.5789L12.9608 15.0882ZM15.0002 3.33358C15.4604 3.33358 15.8335 3.70667 15.8335 4.16691H17.5002C17.5002 2.7862 16.3809 1.66691 15.0002 1.66691V3.33358ZM5.00016 1.66691C3.61945 1.66691 2.50016 2.7862 2.50016 4.16691H4.16683C4.16683 3.70667 4.53993 3.33358 5.00016 3.33358V1.66691ZM13.3335 9.66667H6.66683V11.3333H13.3335V9.66667ZM13.3335 6.16667H6.66687V7.83333H13.3335V6.16667Z\" })\n], -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M4.26753 14.8365C5.96056 13.8795 7.9165 13.3333 10 13.3333C12.0835 13.3333 14.0395 13.8795 15.7325 14.8365M12.5 8.33334C12.5 9.71405 11.3807 10.8333 10 10.8333C8.61929 10.8333 7.5 9.71405 7.5 8.33334C7.5 6.95262 8.61929 5.83333 10 5.83333C11.3807 5.83333 12.5 6.95262 12.5 8.33334ZM17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85787 17.5 2.5 14.1421 2.5 10C2.5 5.85787 5.85787 2.5 10 2.5C14.1421 2.5 17.5 5.85787 17.5 10Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M12.714 12.8807C11.9865 13.6083 10.5189 15.0758 9.41342 16.1813C8.63237 16.9624 7.36757 16.9623 6.58652 16.1813C5.50091 15.0957 4.06044 13.6552 3.28594 12.8807C0.682439 10.2772 0.682439 6.05612 3.28594 3.45262C5.88943 0.849126 10.1105 0.849126 12.714 3.45262C15.3175 6.05612 15.3175 10.2772 12.714 12.8807Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M10.5 8.16667C10.5 9.54738 9.38069 10.6667 7.99998 10.6667C6.61927 10.6667 5.49998 9.54738 5.49998 8.16667C5.49998 6.78596 6.61927 5.66667 7.99998 5.66667C9.38069 5.66667 10.5 6.78596 10.5 8.16667Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M8.16667 1.54578C4.41671 1.96031 1.5 5.13954 1.5 9C1.5 13.1421 4.85787 16.5 9 16.5C12.8605 16.5 16.0397 13.5833 16.4542 9.83334H8.16667V1.54578Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M16.0732 6.5H11.5V1.92692C13.631 2.68011 15.3199 4.36904 16.0732 6.5Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M2.5 8.33366H17.5M5.83333 12.5003H6.66667M10 12.5003H10.8333M5 15.8337H15C16.3807 15.8337 17.5 14.7144 17.5 13.3337V6.66699C17.5 5.28628 16.3807 4.16699 15 4.16699H5C3.61929 4.16699 2.5 5.28628 2.5 6.66699V13.3337C2.5 14.7144 3.61929 15.8337 5 15.8337Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M14.1667 11.6667V16.6667M11.6667 14.1667H16.6667M5.00004 8.33333H6.66671C7.58718 8.33333 8.33338 7.58714 8.33338 6.66666V5C8.33338 4.07952 7.58718 3.33333 6.66671 3.33333H5.00004C4.07957 3.33333 3.33337 4.07952 3.33337 5V6.66666C3.33337 7.58714 4.07957 8.33333 5.00004 8.33333ZM13.3334 8.33333H15C15.9205 8.33333 16.6667 7.58714 16.6667 6.66666V5C16.6667 4.07952 15.9205 3.33333 15 3.33333H13.3334C12.4129 3.33333 11.6667 4.07952 11.6667 5V6.66666C11.6667 7.58714 12.4129 8.33333 13.3334 8.33333ZM5.00004 16.6667H6.66671C7.58718 16.6667 8.33338 15.9205 8.33338 15V13.3333C8.33338 12.4129 7.58718 11.6667 6.66671 11.6667H5.00004C4.07957 11.6667 3.33337 12.4129 3.33337 13.3333V15C3.33337 15.9205 4.07957 16.6667 5.00004 16.6667Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_13 = {\n key: 3,\n class: \"sidebar__nav sidebar__nav__buyer\"\n}\nconst _hoisted_14 = { class: \"sidebar__nav-menu\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M6.5 14.8332V9.83321C6.5 8.91274 5.75381 8.16655 4.83333 8.16655H3.16667C2.24619 8.16655 1.5 8.91274 1.5 9.83321V14.8332C1.5 15.7537 2.24619 16.4999 3.16667 16.4999H4.83333C5.75381 16.4999 6.5 15.7537 6.5 14.8332ZM6.5 14.8332V6.49988C6.5 5.5794 7.24619 4.83321 8.16667 4.83321H9.83334C10.7538 4.83321 11.5 5.5794 11.5 6.49988V14.8332M6.5 14.8332C6.5 15.7537 7.24619 16.4999 8.16667 16.4999H9.83334C10.7538 16.4999 11.5 15.7537 11.5 14.8332M11.5 14.8332V3.16655C11.5 2.24607 12.2462 1.49988 13.1667 1.49988H14.8333C15.7538 1.49988 16.5 2.24607 16.5 3.16655V14.8332C16.5 15.7537 15.7538 16.4999 14.8333 16.4999H13.1667C12.2462 16.4999 11.5 15.7537 11.5 14.8332Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M4.83333 4.83333H4.84167M4.83333 1.5H9C9.42656 1.49999 9.85306 1.66271 10.1785 1.98816L16.0119 7.82149C16.6628 8.47237 16.6628 9.52764 16.0119 10.1785L10.1785 16.0118C9.52764 16.6627 8.47236 16.6627 7.82149 16.0118L1.98816 10.1785C1.66272 9.85308 1.5 9.42654 1.5 9V4.83333C1.5 2.99238 2.99238 1.5 4.83333 1.5Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M8.16667 1.54578C4.41671 1.96031 1.5 5.13954 1.5 9C1.5 13.1421 4.85787 16.5 9 16.5C12.8605 16.5 16.0397 13.5833 16.4542 9.83334H8.16667V1.54578Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M16.0732 6.5H11.5V1.92692C13.631 2.68011 15.3199 4.36904 16.0732 6.5Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon sidebar__nav-item-icon--fill\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", { d: \"M16.6668 17.5002L16.2942 18.2456C16.5525 18.3748 16.8593 18.361 17.1049 18.2091C17.3506 18.0573 17.5002 17.7891 17.5002 17.5002H16.6668ZM3.3335 17.5002H2.50016C2.50016 17.7891 2.64971 18.0573 2.89539 18.2091C3.14107 18.361 3.44785 18.3748 3.70617 18.2456L3.3335 17.5002ZM10.0002 17.5002L9.62749 18.2456C9.86209 18.3629 10.1382 18.3629 10.3728 18.2456L10.0002 17.5002ZM6.66683 15.8336L7.03951 15.0882C6.8049 14.9709 6.52876 14.9709 6.29415 15.0882L6.66683 15.8336ZM13.3335 15.8336L13.7062 15.0882C13.4716 14.9709 13.1954 14.9709 12.9608 15.0882L13.3335 15.8336ZM13.3335 11.3333C13.7937 11.3333 14.1668 10.9602 14.1668 10.5C14.1668 10.0398 13.7937 9.66667 13.3335 9.66667V11.3333ZM6.66683 9.66667C6.20659 9.66667 5.8335 10.0398 5.8335 10.5C5.8335 10.9602 6.20659 11.3333 6.66683 11.3333V9.66667ZM13.3335 7.83333C13.7938 7.83333 14.1669 7.46024 14.1669 7C14.1669 6.53976 13.7938 6.16667 13.3335 6.16667V7.83333ZM6.66687 6.16667C6.20663 6.16667 5.83354 6.53976 5.83354 7C5.83354 7.46024 6.20663 7.83333 6.66687 7.83333V6.16667ZM5.00016 3.33358H15.0002V1.66691H5.00016V3.33358ZM15.8335 4.16691V17.5002H17.5002V4.16691H15.8335ZM4.16683 17.5002V4.16691H2.50016V17.5002H4.16683ZM10.3728 16.7549L7.03951 15.0882L6.29415 16.5789L9.62749 18.2456L10.3728 16.7549ZM6.29415 15.0882L2.96082 16.7549L3.70617 18.2456L7.03951 16.5789L6.29415 15.0882ZM17.0395 16.7549L13.7062 15.0882L12.9608 16.5789L16.2942 18.2456L17.0395 16.7549ZM12.9608 15.0882L9.62749 16.7549L10.3728 18.2456L13.7062 16.5789L12.9608 15.0882ZM15.0002 3.33358C15.4604 3.33358 15.8335 3.70667 15.8335 4.16691H17.5002C17.5002 2.7862 16.3809 1.66691 15.0002 1.66691V3.33358ZM5.00016 1.66691C3.61945 1.66691 2.50016 2.7862 2.50016 4.16691H4.16683C4.16683 3.70667 4.53993 3.33358 5.00016 3.33358V1.66691ZM13.3335 9.66667H6.66683V11.3333H13.3335V9.66667ZM13.3335 6.16667H6.66687V7.83333H13.3335V6.16667Z\" })\n], -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"sidebar__nav-item-icon\",\n width: \"18\",\n height: \"18\",\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M13.3333 9.16661V5.83327C13.3333 3.99232 11.8409 2.49994 9.99992 2.49994C8.15897 2.49994 6.66659 3.99232 6.66659 5.83327V9.16661M4.16659 7.49994H15.8333L16.6666 17.4999H3.33325L4.16659 7.49994Z\",\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1))\nconst _hoisted_20 = {\n key: 0,\n class: \"sidebar__profile-name\"\n}\nconst _hoisted_21 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_FeatureSelector = _resolveComponent(\"FeatureSelector\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _directive_requires = _resolveDirective(\"requires\")!\n\n return (_openBlock(), _createElementBlock(\"aside\", {\n class: _normalizeClass([\"sidebar\", {\n 'sidebar--open': _ctx.isMobileNavOpen,\n 'sidebar--with-banner': _ctx.isBannerShowing,\n 'sidebar__buyer': _ctx.isBuyerLoggedIn\n }])\n }, [\n (_ctx.isSellerLoggedIn)\n ? (_openBlock(), _createBlock(_component_FeatureSelector, {\n key: 0,\n class: \"sidebar__feature-selector\",\n onFeatureChange: _ctx.handleFeatureChange\n }, null, 8, [\"onFeatureChange\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.showSellerNav && !_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : _createCommentVNode(\"\", true),\n (_ctx.showSellerNav)\n ? (_openBlock(), _createElementBlock(\"nav\", _hoisted_2, [\n _createElementVNode(\"ul\", _hoisted_3, [\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/dashboard\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createTextVNode(\" Dashboard \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Dashboard]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/tags/\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _createTextVNode(\" Tags \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Tags]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/products/\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createTextVNode(\" Products \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Tags]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/orders\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createTextVNode(\" Orders \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Orders]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/audience\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createTextVNode(\" Audience \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Audience]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/attributions\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_9,\n _createTextVNode(\" Attributions \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Attribution]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/analytics\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_10,\n _createTextVNode(\" Analytics \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Analytics]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/transactions\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _createTextVNode(\" Transactions \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Transactions]\n ]),\n (_ctx.selectedFeatureTypeId === 'Shopify')\n ? _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n key: 0,\n class: \"sidebar__nav-item\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/store/integrations/\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_12,\n _createTextVNode(\" Apps \")\n ]),\n _: 1\n })\n ])), [\n [_directive_requires, _ctx.Permissions.Apps]\n ])\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"nav\", _hoisted_13, [\n _createElementVNode(\"ul\", _hoisted_14, [\n (_ctx.isAnAffiliate)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 0,\n class: \"sidebar__nav-item\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/user/dashboard\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_15,\n _createTextVNode(\" Dashboard \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAnAffiliate)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 1,\n class: \"sidebar__nav-item\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/user/tags\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_16,\n _createTextVNode(\" Tags \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAnAffiliate)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 2,\n class: \"sidebar__nav-item\",\n onClick: _cache[11] || (_cache[11] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/user/insights\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_17,\n _createTextVNode(\" Insights \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAnAffiliate)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 3,\n class: \"sidebar__nav-item\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/user/withdraw\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_18,\n _createTextVNode(\" Withdraw \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", {\n class: \"sidebar__nav-item\",\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.isOpen = false))\n }, [\n _createVNode(_component_router_link, {\n to: \"/user/purchases\",\n exact: \"\",\n class: \"sidebar__nav-item-anchor\"\n }, {\n default: _withCtx(() => [\n _hoisted_19,\n _createTextVNode(\" My Purchases \")\n ]),\n _: 1\n })\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n style: {\"margin-top\":\"auto\"},\n class: _normalizeClass({\n 'sidebar--links': _ctx.isMobileNavOpen\n })\n }, [\n _createVNode(_component_router_link, {\n to: _ctx.accountRoutePath,\n class: \"sidebar__profile\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: \"sidebar__profile-logo\",\n style: _normalizeStyle({\n background: 'url(' + _ctx.logoImage + ') no-repeat center'\n })\n }, null, 4),\n ((_ctx.currentAccount || _ctx.currentBuyer) && _ctx.showSettingsArrow)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, \"Settings\"))\n : _createCommentVNode(\"\", true),\n (_ctx.showSettingsArrow)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"sidebar__profile-chevron\",\n src: require('../assets/chevron-right.svg'),\n alt: \"Right arrow\"\n }, null, 8, _hoisted_21))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"to\"]),\n (_ctx.isMobileNavOpen)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n \"button-style\": \"optional\",\n label: \"Help Center\",\n class: \"sidebar__profile__help\",\n onClick: _ctx.help\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isMobileNavOpen)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n \"button-style\": \"link\",\n label: \"Logout\",\n class: \"w-100 margin-top-4 text-xs sm:text-sm\",\n onClick: _ctx.logout\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-54d47f59\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"feature-selector bottom-border\" }\nconst _hoisted_2 = { class: \"feature-selector__header\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = [\"src\", \"alt\"]\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = {\n key: 1,\n class: \"feature-selector__row\"\n}\nconst _hoisted_9 = { class: \"flex flex-nowrap items-center\" }\nconst _hoisted_10 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: _ctx.selectedOptionImageUrl,\n alt: \"Active product icon indicator\",\n class: \"feature-selector__left-image\"\n }, null, 8, _hoisted_3),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.selectedFeatureType), 1),\n (!_ctx.showUpgradeOption)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: \n _ctx.isExpanded\n ? require('../assets/chevron-up.svg')\n : require('../assets/chevron-down.svg')\n ,\n class: \"feature-selector__right-image\",\n alt: \"Expand or close\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.isExpanded = !_ctx.isExpanded))\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.isExpanded)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.featureOptions.filter((x) => x.connected), (feature, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"feature-selector__row\",\n onClick: ($event: any) => (_ctx.selectFeature(feature))\n }, [\n _createElementVNode(\"img\", {\n src: feature.imageUrl,\n alt: feature.featureType + ' icon indicator',\n class: \"feature-selector__left-image\"\n }, null, 8, _hoisted_6),\n _createElementVNode(\"span\", null, _toDisplayString(feature.featureType), 1),\n (_ctx.selectedFeatureType === feature.featureType)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: require('../assets/green-check.svg'),\n alt: \"Active selection icon indicator\",\n class: \"feature-selector__right-image\"\n }, null, 8, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_5))\n }), 128))\n : _createCommentVNode(\"\", true),\n (\n (_ctx.isExpanded && !_ctx.currentAccount.isShopifyConnected && _ctx.allowConnect) ||\n (_ctx.showUpgradeOption && _ctx.allowConnect)\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_BoostButton, {\n type: \"button\",\n \"button-style\": \"none\",\n onClick: _ctx.connectShopify\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"img\", {\n src: require('../assets/add-simple.svg'),\n class: \"feature-selector__left-image\",\n alt: \"Add icon indicator\"\n }, null, 8, _hoisted_10),\n _createTextVNode(\" Connect store \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { FeatureType } from '@/../enums/featureTypes';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { AccountObject } from '@/models/accountObject';\nimport { store } from '@/store';\nimport Helpers from '@/helpers';\nimport { Permissions } from '@/store/types';\n\nexport interface FeatureOption {\n featureType: FeatureType;\n imageUrl: string;\n connected: boolean;\n}\n\nconst FeatureSelector = defineComponent({\n name: 'FeatureSelector',\n emits: ['feature-change'],\n data() {\n return {\n unsub: undefined as unknown as () => void,\n FeatureType,\n featureOptions: [\n {\n featureType: FeatureType.Kiosk,\n imageUrl: require('../assets/kiosk.svg'),\n connected: true\n },\n {\n featureType: FeatureType.Shopify,\n imageUrl: require('../assets/shopify.svg'),\n connected: (\n this.$store.getters['accounts/currentAccount'] as AccountObject\n )?.isShopifyConnected\n }\n ] as FeatureOption[],\n isExpanded: false,\n // Added this data property to correct issue with reactivity not working with selectedFeatureTypeId changes in the store\n selectedFeatureType: FeatureType.Kiosk\n };\n },\n computed: {\n ...mapGetters({\n selectedFeatureTypeId: 'accounts/selectedFeatureTypeId'\n }),\n currentAccount(): AccountObject {\n return this.$store.getters['accounts/currentAccount'] as AccountObject;\n },\n selectedOptionImageUrl(): string {\n return (\n this.featureOptions.find(\n (x) => x.featureType === this.selectedFeatureType\n )?.imageUrl || ''\n );\n },\n showUpgradeOption(): boolean {\n return (\n this.currentAccount.currentPlan === 'Basic' ||\n !this.currentAccount.currentPlan\n );\n },\n allowConnect(): boolean {\n return Helpers.userHasPermission(Permissions.Settings, store);\n }\n },\n created() {\n this.selectedFeatureType = this.selectedFeatureTypeId;\n // it is possible for setSelectedFeatureType to be changed via the store\n // this is being done when Shopify is connected\n // mutation, so listen for that change and update this component as required\n this.unsub = this.$store.subscribe((mutation, state) => {\n if (mutation.type === 'accounts/setSelectedFeatureType') {\n if (state.accounts.selectedFeatureTypeId !== this.selectedFeatureType) {\n this.selectedFeatureType = state.accounts\n .selectedFeatureTypeId as FeatureType;\n const shopifyFeature = this.featureOptions.find(\n (x) => x.featureType === FeatureType.Shopify\n );\n if (shopifyFeature) {\n shopifyFeature.connected =\n this.currentAccount.isShopifyConnected || false;\n }\n this.$emit('feature-change', this.selectedFeatureType);\n }\n }\n });\n },\n beforeUnmount() {\n this.unsub();\n },\n methods: {\n ...mapMutations({\n setSelectedFeatureType: 'accounts/setSelectedFeatureType'\n }),\n selectFeature(selection: FeatureOption) {\n console.log(selection);\n this.setSelectedFeatureType(selection.featureType);\n this.selectedFeatureType = selection.featureType;\n this.isExpanded = false;\n this.$router.push({ name: 'seller-home' });\n this.$emit('feature-change', selection.featureType);\n },\n connectShopify() {\n if (this.showUpgradeOption) {\n this.$router.push({\n name: 'seller-settings',\n query: { tab: 'integrations' }\n });\n } else {\n this.$router.push({ name: 'shopify-integration' });\n }\n }\n }\n});\n\nexport default FeatureSelector;\n","import { render } from \"./FeatureSelector.vue?vue&type=template&id=54d47f59&scoped=true&ts=true\"\nimport script from \"./FeatureSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./FeatureSelector.vue?vue&type=script&lang=ts\"\n\nimport \"./FeatureSelector.vue?vue&type=style&index=0&id=54d47f59&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-54d47f59\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\nimport { store } from '@/store';\nimport { auth } from '@/store/auth';\nimport Helpers from '@/helpers';\nimport { Permissions } from '@/store/types';\nimport FeatureSelector from '@/common/FeatureSelector.vue';\n\nexport default defineComponent({\n name: 'SideBar',\n components: {\n FeatureSelector\n },\n data() {\n return {\n Permissions,\n isOpen: false as boolean,\n selectedFeatureTypeId: store.getters[\n 'accounts/selectedFeatureTypeId'\n ] as string\n };\n },\n computed: {\n ...mapGetters({\n isBranded: 'global/isBranded',\n getBrandName: 'global/getBrandName',\n getBrandLogo: 'global/getBrandLogo',\n isSuperAdmin: 'auth/isSuperAdmin',\n isImpersonating: 'auth/isImpersonating',\n currentUser: 'auth/getCurrentUser',\n currentBuyer: 'auth/getCurrentBuyer',\n currentAccount: 'accounts/currentAccount',\n isMobileNavOpen: 'global/isMobileNavOpen',\n getBannerStatus: 'global/getBannerStatus'\n }),\n isBuyerLoggedIn(): boolean {\n return store.getters['auth/isBuyerLoggedIn'];\n },\n isAnAffiliate(): boolean {\n return !!this.currentBuyer?.affiliateUsername;\n },\n isSellerLoggedIn(): boolean {\n return store.getters['auth/isSellerLoggedIn'];\n },\n showSellerNav(): boolean {\n if (this.isSuperAdmin) {\n return this.isImpersonating;\n } else {\n return this.isSellerLoggedIn;\n }\n },\n loginOrRegistrationType(): number {\n return auth.state.loginOrRegistrationType;\n },\n isCurrentPageExternalStore(): boolean {\n return this.$route.name === 'Store';\n },\n currentRouteName(): string {\n return (this.$route.name as string) || '';\n },\n currentRoutePath(): string {\n return this.$route.path || '';\n },\n hasBrandLogo(): boolean {\n return !this.getBrandLogo === ('' as unknown as boolean);\n },\n logoImage(): string {\n return (\n this.currentAccount?.logoUrl ||\n this.currentBuyer?.imageUrl ||\n '@/assets/default-product.jpg'\n );\n },\n showHelp(): boolean {\n if (this.isBuyerLoggedIn) {\n return true;\n } else {\n return this.currentRoutePath !== 'pre-registration';\n }\n },\n showLogin(): boolean {\n if (this.isBuyerLoggedIn) {\n return true;\n } else {\n return this.currentRoutePath !== 'pre-registration';\n }\n },\n isTagsActive(): boolean {\n return (\n this.currentRoutePath.includes('tags') ||\n this.currentRoutePath.includes('tips') ||\n this.currentRouteName === 'seller-product-create' ||\n this.currentRouteName === 'seller-tip-create'\n );\n },\n accountRoutePath(): string {\n if (this.isBuyerLoggedIn) {\n return '/user/settings';\n } else {\n return Helpers.userHasPermission(Permissions.Settings, store)\n ? '/store/settings'\n : '';\n }\n },\n isBannerShowing(): boolean {\n return !!this.getBannerStatus?.text;\n },\n showSettingsArrow(): boolean {\n return (\n this.isBuyerLoggedIn ||\n Helpers.userHasPermission(Permissions.Settings, store)\n );\n }\n },\n methods: {\n help() {\n window.open('https://support.tagscommerce.com/hc/en-us', '_blank');\n },\n logout() {\n this.$store.dispatch('auth/signOut').then((success: boolean) => {\n if (success) {\n window.location.href = '/login';\n }\n });\n },\n handleFeatureChange(featureId: string) {\n this.selectedFeatureTypeId = featureId;\n }\n }\n});\n","import { render } from \"./SideBar.vue?vue&type=template&id=5ccc693f&scoped=true&ts=true\"\nimport script from \"./SideBar.vue?vue&type=script&lang=ts\"\nexport * from \"./SideBar.vue?vue&type=script&lang=ts\"\n\nimport \"./SideBar.vue?vue&type=style&index=0&id=5ccc693f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ccc693f\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport HeaderComponent from '@/common/HeaderComponent.vue';\nimport BannerComponent from '@/common/BannerComponent/BannerComponent.vue';\nimport SideBar from '@/common/SideBar.vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n HeaderComponent,\n BannerComponent,\n SideBar\n },\n data() {\n return {\n isMounted: false\n };\n },\n computed: {\n ...mapGetters({\n isMobileNavOpen: 'global/isMobileNavOpen',\n getBannerStatus: 'global/getBannerStatus'\n }),\n isBannerShowing(): boolean {\n return !!this.getBannerStatus?.text;\n }\n },\n mounted() {\n this.isMounted = true;\n }\n});\n","import { render } from \"./DefaultLayout.vue?vue&type=template&id=63c44e83&scoped=true&ts=true\"\nimport script from \"./DefaultLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./DefaultLayout.vue?vue&type=style&index=0&id=63c44e83&lang=scss&scoped=true\"\nimport \"./DefaultLayout.vue?vue&type=style&index=1&id=63c44e83&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-63c44e83\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-85eb7b56\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"topSection\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"subheader\",\n class: \"subheader-portal\"\n}, null, -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { id: \"stepper-indicator\" }, null, -1))\nconst _hoisted_4 = { class: \"main-wrapper\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"content-container align--center\"\n}\nconst _hoisted_6 = {\n key: 0,\n class: \"back-to-top content flex justify--center padding-top-3 padding-bottom-10\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"bottom-tray\",\n class: \"bottom-portal\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BannerComponent = _resolveComponent(\"BannerComponent\")!\n const _component_HeaderComponent = _resolveComponent(\"HeaderComponent\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_FooterComponent = _resolveComponent(\"FooterComponent\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BannerComponent),\n _createVNode(_component_HeaderComponent, {\n \"single-mode\": true,\n class: \"header--full\"\n }),\n _hoisted_2,\n _hoisted_3\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.isMounted)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.showBackToTop)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n class: \"text-xs sm:text-sm\",\n label: \"Back to top\",\n \"button-style\": \"link\",\n onClick: _ctx.scrollToTop\n }, null, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_7,\n (_ctx.showFooter)\n ? (_openBlock(), _createBlock(_component_FooterComponent, {\n key: 1,\n class: \"footer--full\"\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"footer\"\n}\nconst _hoisted_2 = { class: \"footer__content content container--footer\" }\nconst _hoisted_3 = { class: \"footer__nav\" }\nconst _hoisted_4 = { class: \"footer__nav-item\" }\nconst _hoisted_5 = { class: \"footer__nav-item\" }\nconst _hoisted_6 = { class: \"footer__registration\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (!_ctx.isBranded)\n ? (_openBlock(), _createElementBlock(\"footer\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"ul\", _hoisted_3, [\n _createElementVNode(\"li\", _hoisted_4, [\n _createVNode(_component_router_link, { to: \"/privacy-policy\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Privacy\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", _hoisted_5, [\n _createVNode(_component_router_link, { to: \"/seller-terms\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Terms of Use\")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"p\", null, \" © \" + _toDisplayString(_ctx.year.getFullYear()) + \" Tags Commerce Inc. All rights reserved. \", 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\n\nconst FooterComponent = defineComponent({\n data() {\n return {\n year: new Date()\n };\n },\n computed: {\n ...mapGetters({ isBranded: 'global/isBranded' })\n }\n});\nexport default FooterComponent;\n","import { render } from \"./FooterComponent.vue?vue&type=template&id=2087c0ee&ts=true\"\nimport script from \"./FooterComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./FooterComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./FooterComponent.vue?vue&type=style&index=0&id=2087c0ee&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport HeaderComponent from '@/common/HeaderComponent.vue';\nimport FooterComponent from '@/common/FooterComponent.vue';\nimport BannerComponent from '@/common/BannerComponent/BannerComponent.vue';\n\nexport default defineComponent({\n name: 'SingleLayout',\n components: {\n HeaderComponent,\n FooterComponent,\n BannerComponent\n },\n data() {\n return {\n isMounted: false,\n showFooter: false\n };\n },\n computed: {\n showBackToTop(): boolean {\n if (typeof this.$route.meta.showBackToTop === 'boolean') {\n return this.$route.meta.showBackToTop;\n }\n return true;\n }\n },\n watch: {\n $route(to) {\n if (to.meta.showFooter) {\n this.showFooter = true;\n } else {\n this.showFooter = false;\n }\n }\n },\n mounted() {\n this.isMounted = true;\n if (this.$route.meta.showFooter) {\n this.showFooter = true;\n } else {\n this.showFooter = false;\n }\n },\n methods: {\n scrollToTop() {\n window.scroll({\n top: 0,\n behavior: 'smooth'\n });\n }\n }\n});\n","import { render } from \"./SingleLayout.vue?vue&type=template&id=85eb7b56&scoped=true&ts=true\"\nimport script from \"./SingleLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./SingleLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./SingleLayout.vue?vue&type=style&index=0&id=85eb7b56&lang=scss\"\nimport \"./SingleLayout.vue?vue&type=style&index=1&id=85eb7b56&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-85eb7b56\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-36220f8c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-col flex-nowrap md:flex-row overflow-scroll h-screen\" }\nconst _hoisted_2 = { class: \"w-full\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"checkoutProduct2ColumnImage\",\n class: \"hidden h-full w-full items-center justify-center md:flex\"\n}, null, -1))\nconst _hoisted_4 = { class: \"w-full min-w-full max-w-full overflow-scroll border-l-none px-5 sm:px-10 md:border-l md:border-l-gray-200 md:min-w-[578px] md:max-w-[578px]\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden md:block bg-white w-full h-[112px] fixed top-0 z-10 -mx-5 sm:-mx-10\" }, null, -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"min-h-[206px] max-h-[236px] pt-[140px] flex flex-nowrap flex-col justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { id: \"checkoutDetailHeaderDiv\" }),\n /*#__PURE__*/_createElementVNode(\"hr\", { class: \"w-full my-0 -mx-5 px-5 sm:-mx-10 sm:px-10 mt-10\" })\n], -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TagsToast = _resolveComponent(\"TagsToast\")!\n const _component_CheckoutHeaderComponent = _resolveComponent(\"CheckoutHeaderComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_TagsToast),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_CheckoutHeaderComponent),\n _hoisted_3\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n (_ctx.isMounted)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1f598059\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkout-header h-[72px] sm:h-[112px] w-full flex flex-row relative md:absolute md:top-0 md:left-0 items-center bg-white justify-between py-2 px-5 border-b border-b-gray-200 sm:px-10 md:bg-transparent md:border-none\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"flex flex-row flex-1 gap-3 h-full items-center z-[inherit]\"\n}\nconst _hoisted_3 = { class: \"bg-cover whitespace-nowrap overflow-hidden\" }\nconst _hoisted_4 = { href: \"/\" }\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = { class: \"overflow-hidden text-ellipsis whitespace-nowrap font-normal text-sm flex-1\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"header-back-menu\",\n class: \"header__back flex items-center z-[inherit]\"\n}, null, -1))\nconst _hoisted_8 = { class: \"flex items-center justify-end px-0 z-[inherit]\" }\nconst _hoisted_9 = {\n id: \"checkoutHeaderTeleportContainer\",\n ref: \"checkoutHeaderTeleportContainer\",\n class: \"checkout-header__powered-by\"\n}\nconst _hoisted_10 = {\n key: 0,\n class: \"grow-0 shrink-0 justify-self-end\"\n}\nconst _hoisted_11 = {\n key: 1,\n id: \"powered-by-boost\",\n class: \"grow-0 shrink-0 justify-self-end\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"header\", _hoisted_1, [\n (_ctx.showLogo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"a\", _hoisted_4, [\n _createElementVNode(\"img\", {\n class: \"w-8 h-8 rounded-full\",\n src: _ctx.logoImage,\n alt: \"Logo image\"\n }, null, 8, _hoisted_5)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.getBrandName || 'TAGS'), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, null, 512),\n (_ctx.showPoweredBySection && _ctx.showHelp)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"a\", {\n class: _normalizeClass(['custom__' + _ctx.customColor + '__link', \"font-medium\"]),\n href: \"https://support.tagscommerce.com/hc/en-us\",\n target: \"_blank\"\n }, \" Help \", 2)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showPoweredBySection && !_ctx.showHelp)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createTextVNode(\" Powered by \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass(['custom__' + _ctx.customColor + '__link', \"font-medium\"]),\n href: \"https://tagscommerce.com\",\n target: \"_blank\"\n }, \" Tags \", 2)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { store } from '@/store';\nimport { defineComponent, Ref, ref } from 'vue';\nimport { mapGetters } from 'vuex';\n\nlet observer: MutationObserver;\n\nexport default defineComponent({\n data() {\n return {\n isMounted: false,\n showPoweredBySection: true,\n teleportContainerRef: ref(\n null\n ) as Ref\n };\n },\n computed: {\n ...mapGetters({\n getBrandName: 'global/getBrandName',\n getBrandLogo: 'global/getBrandLogo'\n }),\n hasBrandLogo(): boolean {\n return !!this.getBrandLogo;\n },\n logoImage(): string {\n return this.getBrandLogo || require('../assets/default-product.jpg');\n },\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n },\n showHelp(): boolean {\n return store.getters['global/getShowHelp'] as boolean;\n },\n showLogo(): boolean {\n return store.getters['global/getShowLogo'] as boolean;\n },\n isTeleportContainerEmpty(): boolean {\n if (!this.isMounted) {\n return true;\n }\n\n return this.teleportContainerRef?.children.length === 0;\n }\n },\n beforeUnmount() {\n observer.disconnect();\n },\n mounted() {\n // This checkout header has a \"Powered by Tags\" or \"Help\" section\n // at the top right. But sometimes, a page needs to override the\n // content of that section. So, we use a teleport. BUT Vue seems to\n // have a hard time with reactivity when it comes to a Div's children.\n // We want to show the default section if the teleport container div\n // has NO children; and then hide the default section if the teleport\n // container div HAS children.\n // We use a MutationObserver (not addEventListener) in order to do this.\n this.teleportContainerRef = this.$refs\n .checkoutHeaderTeleportContainer as HTMLDivElement;\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n observer = new MutationObserver((mutationList, _) => {\n for (const mutation of mutationList) {\n if (mutation.type === 'childList') {\n this.showPoweredBySection =\n this.teleportContainerRef?.children.length === 0;\n }\n }\n });\n\n observer.observe(this.teleportContainerRef, { childList: true });\n }\n});\n","import { render } from \"./CheckoutHeaderComponent.vue?vue&type=template&id=1f598059&scoped=true&ts=true\"\nimport script from \"./CheckoutHeaderComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckoutHeaderComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./CheckoutHeaderComponent.vue?vue&type=style&index=0&id=1f598059&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1f598059\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport CheckoutHeaderComponent from '@/common/CheckoutHeaderComponent.vue';\n\nexport default defineComponent({\n name: 'SingleLayout',\n components: {\n CheckoutHeaderComponent\n },\n data() {\n return {\n isMounted: false\n };\n },\n mounted() {\n this.isMounted = true;\n }\n});\n","import { render } from \"./CheckoutLayout.vue?vue&type=template&id=36220f8c&scoped=true&ts=true\"\nimport script from \"./CheckoutLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckoutLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./CheckoutLayout.vue?vue&type=style&index=0&id=36220f8c&lang=scss\"\nimport \"./CheckoutLayout.vue?vue&type=style&index=1&id=36220f8c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-36220f8c\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e53acf48\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"topSection\" }\nconst _hoisted_2 = { class: \"flex\" }\nconst _hoisted_3 = {\n key: 0,\n id: \"subheader\",\n class: \"subheader-portal\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"content-container-open align--center no-pad\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"bottom-tray\",\n class: \"bottom-portal\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BannerComponent = _resolveComponent(\"BannerComponent\")!\n const _component_HeaderComponent = _resolveComponent(\"HeaderComponent\")!\n const _component_SideBar = _resolveComponent(\"SideBar\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BannerComponent),\n _createVNode(_component_HeaderComponent)\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_SideBar),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"main-wrapper\", {\n 'main-wrapper--with-banner': _ctx.isBannerShowing\n }])\n }, [\n (_ctx.showSubHeader)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_3))\n : _createCommentVNode(\"\", true),\n (_ctx.isMounted && !_ctx.isMobileNavOpen)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _hoisted_5\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport HeaderComponent from '@/common/HeaderComponent.vue';\nimport BannerComponent from '@/common/BannerComponent/BannerComponent.vue';\nimport SideBar from '@/common/SideBar.vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n HeaderComponent,\n BannerComponent,\n SideBar\n },\n data() {\n return {\n isMounted: false\n };\n },\n computed: {\n ...mapGetters({\n isMobileNavOpen: 'global/isMobileNavOpen',\n getBannerStatus: 'global/getBannerStatus'\n }),\n isBannerShowing(): boolean {\n return !!this.getBannerStatus?.text;\n },\n showSubHeader(): boolean {\n return this.$route.meta.showSubHeader as boolean;\n }\n },\n mounted() {\n this.isMounted = true;\n }\n});\n","import { render } from \"./OpenLayout.vue?vue&type=template&id=e53acf48&scoped=true&ts=true\"\nimport script from \"./OpenLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./OpenLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./OpenLayout.vue?vue&type=style&index=0&id=e53acf48&lang=scss&scoped=true\"\nimport \"./OpenLayout.vue?vue&type=style&index=1&id=e53acf48&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e53acf48\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../assets/boost-logo-sm.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2ce40ed8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"topSection\" }\nconst _hoisted_2 = { class: \"mob-12 header__wrapper content flex justify--between flex--no-wrap align--center\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"header__logo-wrapper\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"header__logo\" }, [\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"logo-image\",\n alt: \"Logo image\"\n })\n ])\n ])\n], -1))\nconst _hoisted_4 = { class: \"flex flex--row flex--full-width\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"header-title\",\n class: \"header__title hidden-desktop\"\n}, null, -1))\nconst _hoisted_6 = { class: \"back-menu-section\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"header-back-menu\",\n class: \"header__back flex align--center\"\n}, null, -1))\nconst _hoisted_8 = { class: \"flex justify--end align--center no-pad\" }\nconst _hoisted_9 = { class: \"header__nav-secondary-wrapper\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"header__nav header__nav--secondary\"\n}\nconst _hoisted_11 = { class: \"header__nav-menu\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"header__nav-item-anchor\",\n href: \"https://support.tagscommerce.com/hc/en-us\"\n}, \"Help\", -1))\nconst _hoisted_13 = [\n _hoisted_12\n]\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"action-buttons\",\n class: \"margin-right-5\"\n}, null, -1))\nconst _hoisted_15 = { class: \"flex\" }\nconst _hoisted_16 = {\n key: 0,\n id: \"subheader\",\n class: \"subheader-portal\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"content-container-open align--center no-pad\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", {\n id: \"bottom-tray\",\n class: \"bottom-portal\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BannerComponent = _resolveComponent(\"BannerComponent\")!\n const _component_SideBar = _resolveComponent(\"SideBar\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BannerComponent),\n _createElementVNode(\"header\", {\n class: _normalizeClass([\"header\", { 'header--open': _ctx.isOpen }])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", {\n id: \"nav-menu-button\",\n class: _normalizeClass([\"nav-menu-closed\", { 'nav-menu-open': _ctx.isOpen }]),\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.toggleNavMenu && _ctx.toggleNavMenu(...args)))\n }, null, 2),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n (_ctx.showHelp)\n ? (_openBlock(), _createElementBlock(\"nav\", _hoisted_10, [\n _createElementVNode(\"ul\", _hoisted_11, [\n _createElementVNode(\"li\", {\n class: \"header__nav-item\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.isOpen = false))\n }, _hoisted_13)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_14\n ])\n ])\n ])\n ])\n ], 2)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_SideBar),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"main-wrapper\", {\n 'main-wrapper--with-banner': _ctx.isBannerShowing\n }])\n }, [\n (_ctx.showSubHeader)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_16))\n : _createCommentVNode(\"\", true),\n (_ctx.isMounted && !_ctx.isMobileNavOpen)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_17, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _hoisted_18\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport BannerComponent from '@/common/BannerComponent/BannerComponent.vue';\nimport SideBar from '@/common/SideBar.vue';\nimport { mapGetters, mapMutations } from 'vuex';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n BannerComponent,\n SideBar\n },\n data() {\n return {\n isMounted: false,\n isOpen: false\n };\n },\n computed: {\n ...mapGetters({\n isMobileNavOpen: 'global/isMobileNavOpen',\n getBannerStatus: 'global/getBannerStatus'\n }),\n isBannerShowing(): boolean {\n return !!this.getBannerStatus?.text;\n },\n showHelp(): boolean {\n return (this.$route.meta?.showHelp as boolean) || false;\n },\n showSubHeader(): boolean {\n return (this.$route.meta.showSubHeader as boolean) || false;\n }\n },\n mounted() {\n this.isMounted = true;\n },\n methods: {\n ...mapMutations({\n setMobileNavOpen: 'global/setMobileNavOpen'\n }),\n toggleNavMenu() {\n this.isOpen = !this.isOpen;\n this.setMobileNavOpen(this.isOpen);\n }\n }\n});\n","import { render } from \"./OpenDetailLayout.vue?vue&type=template&id=2ce40ed8&scoped=true&ts=true\"\nimport script from \"./OpenDetailLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./OpenDetailLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./OpenDetailLayout.vue?vue&type=style&index=0&id=2ce40ed8&lang=scss&scoped=true\"\nimport \"./OpenDetailLayout.vue?vue&type=style&index=1&id=2ce40ed8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2ce40ed8\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"h-18 fixed w-full z-[100]\" }\nconst _hoisted_2 = { class: \"checkout-main-wrapper\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"pt-18 checkout-container px-5 mt-[72px]\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TagsToast = _resolveComponent(\"TagsToast\")!\n const _component_MarketplaceHeaderComponent = _resolveComponent(\"MarketplaceHeaderComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_TagsToast),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_MarketplaceHeaderComponent)\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.isMounted)\n ? (_openBlock(), _createElementBlock(\"main\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, withModifiers as _withModifiers, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"z-20 bg-white flex flex-nowrap items-center justify-between px-5 py-4 border-b border-gray-200\" }\nconst _hoisted_2 = { class: \"flex gap-[18px]\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"mx-0.5\",\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M14.375 5.625L5.625 14.375\",\n stroke: \"#252324\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.625 5.625L14.375 14.375\",\n stroke: \"#252324\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_4,\n _hoisted_5\n]\nconst _hoisted_7 = {\n key: 1,\n class: \"block sm:hidden text-[--primary-color]\",\n width: \"24\",\n height: \"24\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.95837 6.79167H18.0417\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.95837 17.2083H18.0417\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.95837 12H18.0417\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_11 = [\n _hoisted_8,\n _hoisted_9,\n _hoisted_10\n]\nconst _hoisted_12 = /*#__PURE__*/_createStaticVNode(\"\", 1)\nconst _hoisted_13 = { class: \"flex gap-6 items-center\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n class: \"text-gray-900\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M16.0418 16.0417L12.9168 12.9167M3.9585 9.16667C3.9585 6.29018 6.29035 3.95833 9.16683 3.95833C12.0433 3.95833 14.3752 6.29018 14.3752 9.16667C14.3752 12.0431 12.0433 14.375 9.16683 14.375C6.29035 14.375 3.9585 12.0431 3.9585 9.16667Z\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n], -1)\nconst _hoisted_15 = [\n _hoisted_14\n]\nconst _hoisted_16 = [\"href\"]\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://calendly.com/tagsinc\",\n class: \"flex items-center h-10 px-5 rounded-full bg-gray-900 text-white hover:bg-black hover:text-white hover:shadow-sm focus:outline focus:outline-offset-2 focus:outline-gray-900\"\n}, \" Connect Store \", -1)\nconst _hoisted_18 = { class: \"z-20 bg-white px-6 pt-[73px] w-[335px] h-full flex flex-col gap-4 text-lg\" }\nconst _hoisted_19 = [\"href\"]\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 top-[73px] -z-10 bg-gray-500 bg-opacity-25 transition-opacity backdrop-blur-sm\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"nav\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n class: \"block sm:hidden\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.toggleMobileMenu && _ctx.toggleMobileMenu(...args)))\n }, [\n (_ctx.isMobileMenuOpen)\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_3, _hoisted_6))\n : (_openBlock(), _createElementBlock(\"svg\", _hoisted_7, _hoisted_11))\n ]),\n _hoisted_12\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n class: \"relative rounded-[4px] p-1 hover:bg-gray-200\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onSearchButtonClicked && _ctx.onSearchButtonClicked(...args)))\n }, _hoisted_15),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.links, (link) => {\n return (_openBlock(), _createElementBlock(\"a\", {\n key: link.label + link.url,\n href: link.url,\n class: \"hidden sm:block text-center text-gray-700 font-normal font-[Inter] leading-tight hover:text-black\"\n }, _toDisplayString(link.label), 9, _hoisted_16))\n }), 128)),\n _hoisted_17\n ])\n ]),\n (_ctx.isMobileMenuOpen)\n ? (_openBlock(), _createElementBlock(\"aside\", {\n key: 0,\n class: \"block sm:hidden h-[calc(100vh-73px)] z-20\",\n onClick: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (_ctx.isMobileMenuOpen = !_ctx.isMobileMenuOpen), [\"self\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_18, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.links, (link) => {\n return (_openBlock(), _createElementBlock(\"a\", {\n key: 'mobile-' + link.label + link.url,\n href: link.url,\n class: \"text-gray-700 text-2xl font-light hover:text-black\"\n }, _toDisplayString(link.label), 9, _hoisted_19))\n }), 128))\n ]),\n _hoisted_20\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { mapMutations } from 'vuex';\n\nexport default defineComponent({\n name: 'MarketplaceHeaderComponent',\n data() {\n return {\n isMounted: false,\n isMobileMenuOpen: false,\n links: [\n { label: 'Creators', url: 'https://support.tagscommerce.com/creators' },\n { label: 'Brands', url: 'https://support.tagscommerce.com/brands' },\n { label: 'Dashboard', url: '/' },\n { label: 'Contact', url: 'mailto:hello@tagscommerce.com' }\n ]\n };\n },\n mounted() {\n this.isMounted = true;\n },\n methods: {\n ...mapMutations('marketplace', ['setIsSearchOpen']),\n ...mapMutations('auth', ['getCurrentBuyer']),\n toggleMobileMenu() {\n this.isMobileMenuOpen = !this.isMobileMenuOpen;\n },\n onSearchButtonClicked() {\n this.isMobileMenuOpen = false;\n this.setIsSearchOpen(true);\n }\n }\n});\n","import { render } from \"./MarketplaceHeaderComponent.vue?vue&type=template&id=3f53b148&ts=true\"\nimport script from \"./MarketplaceHeaderComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceHeaderComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport MarketplaceHeaderComponent from '@/marketplace/components/MarketplaceHeaderComponent.vue';\n\nexport default defineComponent({\n name: 'MarketplaceLayout',\n components: {\n MarketplaceHeaderComponent\n },\n data() {\n return {\n isMounted: false\n };\n },\n mounted() {\n this.isMounted = true;\n }\n});\n","import { render } from \"./MarketplaceLayout.vue?vue&type=template&id=481b5078&ts=true\"\nimport script from \"./MarketplaceLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceLayout.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport DefaultLayout from '@/layouts/DefaultLayout.vue';\nimport SingleLayout from '@/layouts/SingleLayout.vue';\nimport CheckoutLayout from '@/layouts/CheckoutLayout.vue';\nimport OpenLayout from '@/layouts/OpenLayout.vue';\nimport OpenDetailLayout from '@/layouts/OpenDetailLayout.vue';\nimport MarketplaceLayout from '@/layouts/MarketplaceLayout.vue';\n\nexport default defineComponent({\n name: 'LayoutSelector',\n components: {\n DefaultLayout,\n SingleLayout,\n CheckoutLayout,\n OpenLayout,\n OpenDetailLayout,\n MarketplaceLayout\n },\n data() {\n return {\n layout: 'DefaultLayout'\n };\n },\n watch: {\n $route(to) {\n if (to.meta.layout !== undefined) {\n this.layout = to.meta.layout;\n } else {\n this.layout = 'DefaultLayout';\n }\n }\n }\n});\n","import { render } from \"./Layout.vue?vue&type=template&id=499507a7&ts=true\"\nimport script from \"./Layout.vue?vue&type=script&lang=ts\"\nexport * from \"./Layout.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport Layout from '@/layouts/Layout.vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n name: 'AppRoot',\n components: {\n Layout\n },\n computed: {\n ...mapGetters({\n isLoading: 'global/isLoading',\n isSuperAdmin: 'auth/isSuperAdmin'\n }),\n currentRouteName(): string {\n return this.$route.name ? (this.$route.name as string).toLowerCase() : '';\n }\n }\n});\n","import { render } from \"./App.vue?vue&type=template&id=16cf0068&ts=true\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=16cf0068&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createBlock(_component_router_view))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'SellerBase'\n});\n","import { render } from \"./SellerBase.vue?vue&type=template&id=d1ea7642&ts=true\"\nimport script from \"./SellerBase.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerBase.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SellerCreateAccount = _resolveComponent(\"SellerCreateAccount\")!\n const _component_SellerRegistrationDetails = _resolveComponent(\"SellerRegistrationDetails\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_ctx.currentState === _ctx.registrationState.CREATE_ACCOUNT)\n ? (_openBlock(), _createBlock(_component_SellerCreateAccount, {\n key: 0,\n \"is-loading\": _ctx.isLoading,\n onReserveTag: _ctx.reserveTag\n }, null, 8, [\"is-loading\", \"onReserveTag\"]))\n : (_openBlock(), _createBlock(_component_SellerRegistrationDetails, {\n key: 1,\n \"hashtag-prefix\": _ctx.userInfo.hashtagPrefix,\n \"is-loading\": _ctx.isLoading,\n onCancelRegistration: _ctx.cancelRegistration,\n onCreateAccount: _ctx.createAccount\n }, null, 8, [\"hashtag-prefix\", \"is-loading\", \"onCancelRegistration\", \"onCreateAccount\"]))\n ]))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-28e5b5c6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex\" }\nconst _hoisted_2 = { class: \"d-6 t-6 mob-12 center align--center justify--center flex flex--column\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"Create your Account\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Let's make this really easy. Sign up for Tags and start selling anywhere. \", -1))\nconst _hoisted_6 = { class: \"text-legal text-light margin-top-8\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6 d-6 mob-12 flex justify--center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n style: {\"max-width\":\"100%\",\"max-height\":\"100%\"},\n src: \"/img/sign-up-image.png\"\n })\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.reserveTag)), [\"prevent\"])\n }, [\n _hoisted_4,\n _hoisted_5,\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.hashtagPrefix,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.userInfo.hashtagPrefix) = $event)),\n placeholder: \"Enter Tag\",\n \"input-id\": \"tag-input\",\n rules: \"required|alpha|max:15|min:4|profanity|sms\",\n attributes: \"no-required-indicator\",\n \"full-width\": \"\",\n \"custom-error\": _ctx.errors\n }, null, 8, [\"modelValue\", \"custom-error\"]),\n _createVNode(_component_BoostButton, {\n label: \"Create\",\n class: \"mobile-100\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.reserveButtonState,\n disabled: !meta.valid,\n type: \"submit\"\n }, null, 8, [\"loading-state\", \"disabled\"]),\n _createElementVNode(\"p\", _hoisted_6, [\n _createTextVNode(\" By proceeding you agree to our \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n class: \"text-black\",\n label: \"Terms of Use\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$router.push('/seller-terms')))\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n class: \"text-black\",\n label: \"Privacy Policy\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$router.push('/privacy-policy')))\n }),\n _createTextVNode(\" and to receive automated text alerts that may be marketing in nature from Tags via Tags Commerce Inc. \")\n ])\n ], 40, _hoisted_3)\n ]),\n _: 1\n })\n ]),\n _hoisted_7\n ]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8cd31090\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"type\", \"disabled\"]\nconst _hoisted_2 = {\n key: 0,\n class: \"boost-button__loading\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", { class: \"spinner__svg\" }, [\n /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"9\",\n cy: \"9\",\n r: \"8\"\n })\n], -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = { class: \"boost-button__loading-label\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"boost-button__loading\"\n}\nconst _hoisted_7 = { class: \"ignore-global-style boost-button__label\" }\nconst _hoisted_8 = {\n key: 2,\n class: \"ignore-global-style boost-button__label\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\"h-10 rounded-full focus:outline focus:outline-offset-2 focus:outline-gray-900 disabled:cursor-not-allowed\", {\n 'px-5 text-xs sm:text-sm bg-gray-900 text-white hover:bg-black hover:shadow-sm disabled:bg-gray-600':\n _ctx.buttonStyle === 'primary',\n 'px-5 text-xs sm:text-sm btn-form pill': _ctx.buttonStyle === 'pill',\n 'px-5 text-xs sm:text-sm border border-gray-300 bg-white text-gray-900 hover:border-black hover:text-black hover:shadow-md':\n _ctx.buttonStyle === 'optional',\n 'h-auto px-0 rounded-sm underline hover:text-[--primary--hover-color] disabled:text-gray-600':\n _ctx.buttonStyle === 'link',\n 'boost-button--none': _ctx.buttonStyle === 'none',\n 'btn-black': _ctx.buttonStyle === 'black', // not used\n 'btn-badge': _ctx.buttonStyle === 'badge', // not used\n 'btn-form': _ctx.buttonStyle === 'form', // not used\n 'boost-button--disabled': _ctx.innerLoadingState === _ctx.ButtonLoadingState.loading\n }]),\n type: _ctx.type,\n disabled: _ctx.isDisabled,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.handleClick && _ctx.handleClick(...args)))\n }, [\n (_ctx.innerLoadingState === _ctx.ButtonLoadingState.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"spinner\", {\n 'spinner--white': _ctx.whiteSpinner,\n 'spinner--mithril': _ctx.mithrilSpinner\n }])\n }, _hoisted_4, 2),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.loadingLabel), 1)\n ]))\n : (_ctx.innerLoadingState === _ctx.ButtonLoadingState.complete)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.completeLabel), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.label), 1)\n ], true)\n ]))\n ], 10, _hoisted_1))\n}","\nimport { defineComponent } from 'vue';\n\nexport type ButtonStyle =\n | 'primary'\n | 'submit' // only used by BoostControlFooter, which is not currently used anywhere\n | 'form' // not currently used\n | 'pill'\n | 'optional'\n | 'link'\n | 'black' // not currently used\n | 'badge' // not currently used\n | 'none';\n\nexport enum ButtonLoadingState {\n initial = 'initial',\n loading = 'loading',\n complete = 'complete'\n}\n\nexport default defineComponent({\n name: 'BoostButton',\n props: {\n label: {\n type: String\n },\n buttonStyle: {\n type: String as () => ButtonStyle,\n default: 'primary'\n },\n loadingState: {\n type: String as () => ButtonLoadingState,\n default: ButtonLoadingState.initial\n },\n loadingLabel: {\n type: String,\n default: 'Thinking'\n },\n completeLabel: {\n type: String,\n default: 'Done'\n },\n preventLoadingReset: {\n type: Boolean,\n default: false\n },\n completeStateResetTime: {\n type: Number,\n default: 3000\n },\n type: {\n type: String as () => 'button' | 'submit',\n default: 'button'\n },\n whiteSpinner: {\n type: Boolean,\n default: true\n },\n mithrilSpinner: {\n type: Boolean,\n default: false\n },\n isDisabled: {\n type: Boolean,\n default: false\n }\n },\n emits: ['click'],\n data() {\n return {\n ButtonLoadingState,\n innerLoadingState: ButtonLoadingState.initial as ButtonLoadingState\n };\n },\n watch: {\n loadingState(val: ButtonLoadingState) {\n this.processLoadingState(val);\n }\n },\n mounted() {\n this.processLoadingState(this.loadingState);\n },\n methods: {\n handleClick() {\n // Disable further button clicks while loading in progress\n if (this.innerLoadingState !== ButtonLoadingState.loading) {\n this.$emit('click');\n }\n },\n onLoadingComplete() {\n setTimeout(() => {\n this.innerLoadingState = ButtonLoadingState.initial;\n }, this.completeStateResetTime);\n },\n processLoadingState(val: ButtonLoadingState) {\n if (val === ButtonLoadingState.complete && !this.preventLoadingReset) {\n this.innerLoadingState = this.loadingState;\n this.onLoadingComplete();\n } else {\n this.innerLoadingState = this.loadingState;\n }\n }\n }\n});\n","import { render } from \"./BoostButton.vue?vue&type=template&id=8cd31090&scoped=true&ts=true\"\nimport script from \"./BoostButton.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostButton.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostButton.vue?vue&type=style&index=0&id=8cd31090&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8cd31090\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport { BannerMessageStrings } from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'SellerCreateAccount',\n props: {\n isLoading: {\n type: Boolean,\n default: false\n }\n },\n emits: ['reserveTag'],\n data() {\n return {\n userInfo: {\n hashtagPrefix: ''\n },\n reserveButtonState: ButtonLoadingState.initial,\n errors: [] as string[]\n };\n },\n watch: {\n isLoading() {\n this.processLoading();\n }\n },\n mounted() {\n this.processLoading();\n },\n methods: {\n async reserveTag() {\n this.errors = [];\n this.reserveButtonState = ButtonLoadingState.loading;\n const tag = this.userInfo.hashtagPrefix;\n const hashtagGenerateResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CHECK_SELLER_HASHTAG,\n { hashtagPrefix: tag }\n );\n\n this.reserveButtonState = ButtonLoadingState.initial;\n if (hashtagGenerateResponse.code === 'SELLER_DOES_EXIST') {\n this.errors.push(BannerMessageStrings.SELLER_TAG_UNAVAILABLE);\n } else {\n this.$emit('reserveTag', this.userInfo);\n }\n },\n processLoading() {\n if (this.isLoading) {\n this.reserveButtonState = ButtonLoadingState.loading;\n } else {\n this.reserveButtonState = ButtonLoadingState.initial;\n }\n }\n }\n});\n","import { render } from \"./SellerCreateAccount.vue?vue&type=template&id=28e5b5c6&scoped=true&ts=true\"\nimport script from \"./SellerCreateAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerCreateAccount.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerCreateAccount.vue?vue&type=style&index=0&id=28e5b5c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28e5b5c6\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-558f90b7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"t-12 align--center flex flex--column\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"t-6 flex--wrap no-pad grid-row--medium\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"Create account\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Create an account to start selling with Tags.\", -1))\nconst _hoisted_6 = { class: \"flex input-set\" }\nconst _hoisted_7 = {\n key: 1,\n class: \"t-6 flex--wrap no-pad grid-row--medium\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"grid-row--medium\" }, \"Customer service\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Please provide your customer service details. This information will be provided to your customers on their receipts. \", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Stepper = _resolveComponent(\"Stepper\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#stepper-indicator\" }, [\n _createVNode(_component_Stepper, {\n steps: 2,\n \"current-step\": _ctx.currentStep\n }, null, 8, [\"current-step\"])\n ])),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.createAccount)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.currentStep === 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.hashtagPrefix,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.hashtagPrefix) = $event)),\n label: \"Tag\",\n \"input-id\": \"hashtag-prefix-input\",\n disabled: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.firstName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.userInfo.firstName) = $event)),\n label: \"First name\",\n placeholder: \"First name\",\n \"input-id\": \"first-name-input\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n autocomplete: \"given-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.userInfo.lastName) = $event)),\n label: \"Last name\",\n placeholder: \"Last name\",\n \"input-id\": \"last-name-input\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n autocomplete: \"family-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.userInfo.email) = $event)),\n label: \"Email address\",\n placeholder: \"Email address\",\n \"input-id\": \"email-input\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n autocomplete: \"email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.password,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.userInfo.password) = $event)),\n type: \"password\",\n label: \"Password\",\n placeholder: \"Password\",\n \"input-id\": \"password-input\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n autocomplete: \"new-password\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.confirmPassword,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.confirmPassword) = $event)),\n type: \"password\",\n label: \"Confirm password\",\n placeholder: \"Password\",\n \"input-id\": \"confirm-password-input\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n autocomplete: \"new-password\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n label: \"Next\",\n \"button-style\": \"primary\",\n class: \"w-100\",\n type: \"button\",\n \"loading-state\": _ctx.completeButtonState,\n disabled: !meta.valid || _ctx.confirmPassword !== _ctx.userInfo.password,\n onClick: _ctx.checkSellerEmail\n }, null, 8, [\"loading-state\", \"disabled\", \"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", null, [\n _hoisted_8,\n _hoisted_9,\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.company.email,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.userInfo.company.email) = $event)),\n label: \"Support email\",\n placeholder: \"Email address\",\n \"input-id\": \"company-email-input\",\n rules: \"required\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.company.phone,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.userInfo.company.phone) = $event)),\n label: \"Support phone number\",\n placeholder: \"Phone number\",\n \"input-id\": \"company-phone-input\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.company.postalCode,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.userInfo.company.postalCode) = $event)),\n label: \"Company zip\",\n placeholder: \"Zip code\",\n \"input-id\": \"company-zip-input\",\n rules: \"required\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostButton, {\n label: \"Complete Registration\",\n \"button-style\": \"primary\",\n class: \"w-100\",\n \"loading-state\": _ctx.completeButtonState,\n type: \"submit\",\n disabled: !meta.valid || _ctx.confirmPassword !== _ctx.userInfo.password\n }, null, 8, [\"loading-state\", \"disabled\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n })\n ])\n ], 64))\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0da9871b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"stepper\" }\nconst _hoisted_2 = { class: \"stepper__steps\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.steps, (step, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: index,\n class: \"stepper__step\"\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"stepper__step-block\", _ctx.getCustomColorClass(step)]),\n style: _normalizeStyle(step > _ctx.currentStep ? 'background-color: #CBCEDB' : '')\n }, null, 6)\n ]))\n }), 128))\n ])\n ]))\n}","\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'CommonStepper',\n props: {\n steps: {\n type: Number,\n default: 3\n },\n currentStep: {\n type: Number,\n default: 1\n }\n },\n methods: {\n getCustomColorClass(step: number): string {\n const customValue =\n (store.getters['global/getCustomColor'] as string) || 'default';\n return step < this.currentStep + 1 ? 'custom__' + customValue : '';\n }\n }\n});\n","import { render } from \"./Stepper.vue?vue&type=template&id=0da9871b&scoped=true&ts=true\"\nimport script from \"./Stepper.vue?vue&type=script&lang=ts\"\nexport * from \"./Stepper.vue?vue&type=script&lang=ts\"\n\nimport \"./Stepper.vue?vue&type=style&index=0&id=0da9871b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0da9871b\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport Stepper from '@/common/Stepper.vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport { mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'SellerRegistrationDetails',\n components: {\n Stepper\n },\n props: {\n hashtagPrefix: {\n type: String,\n default: '',\n required: true\n },\n isLoading: {\n type: Boolean,\n default: false\n }\n },\n emits: ['cancelRegistration', 'createAccount'],\n data() {\n return {\n userInfo: {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n company: {\n email: '',\n phone: '',\n postalCode: ''\n }\n },\n confirmPassword: '',\n currentStep: 1,\n completeButtonState: ButtonLoadingState.initial\n };\n },\n watch: {\n isLoading() {\n this.processLoading();\n }\n },\n mounted() {\n this.processLoading();\n },\n methods: {\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus'\n }),\n cancelRegistration() {\n this.$emit('cancelRegistration');\n },\n async checkSellerEmail() {\n try {\n this.completeButtonState = ButtonLoadingState.loading;\n const emailValidationPayload = {\n email: this.userInfo.email\n };\n const emailValidationResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CHECK_SELLER_EMAIL,\n emailValidationPayload\n );\n if (\n !emailValidationResponse ||\n emailValidationResponse.code === 'SELLER_EMAIL_DOES_EXIST'\n ) {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_EMAIL_ALREADY_IN_USE,\n type: BannerType.error\n });\n this.completeButtonState = ButtonLoadingState.complete;\n return;\n }\n this.setBannerStatus({ text: '', type: BannerType.success });\n this.currentStep = 2;\n } catch (ex) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.completeButtonState = ButtonLoadingState.complete;\n },\n createAccount() {\n this.$emit('createAccount', this.userInfo);\n },\n processLoading() {\n if (this.isLoading) {\n this.completeButtonState = ButtonLoadingState.loading;\n } else {\n this.completeButtonState = ButtonLoadingState.initial;\n }\n }\n }\n});\n","import { render } from \"./SellerRegistrationDetails.vue?vue&type=template&id=558f90b7&scoped=true&ts=true\"\nimport script from \"./SellerRegistrationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerRegistrationDetails.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerRegistrationDetails.vue?vue&type=style&index=0&id=558f90b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-558f90b7\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport { store } from '@/store';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport SellerCreateAccount from '@/seller/registration/SellerCreateAccount.vue';\nimport SellerRegistrationDetails from '@/seller/registration/SellerRegistrationDetails.vue';\nimport helpers from '@/helpers';\nimport { UserRegistration } from '@/store/types';\nimport { getAuth, signInWithCustomToken } from 'firebase/auth';\nimport { mapMutations } from 'vuex';\n\nexport default defineComponent({\n name: 'SellerRegistration',\n components: {\n SellerCreateAccount,\n SellerRegistrationDetails\n },\n data() {\n return {\n registrationState: {\n CREATE_ACCOUNT: 1,\n DETAILS: 2\n },\n currentState: 1,\n userInfo: {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n hashtagPrefix: '',\n company: {\n email: '',\n phone: '',\n postalCode: ''\n }\n },\n isLoading: false\n };\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n setRegistrationType(state: number) {\n this.currentState = state;\n },\n cancelRegistration() {\n this.setRegistrationType(this.registrationState.CREATE_ACCOUNT);\n },\n async reserveTag(tag: string) {\n this.isLoading = true;\n Object.assign(this.userInfo, tag);\n\n try {\n const hashtagGenerateResponse = await FirebaseRequest.createRequest<{\n hashtagPrefix: string;\n }>(FirebaseRequestTypes.CHECK_SELLER_HASHTAG, {\n hashtagPrefix: this.userInfo.hashtagPrefix\n });\n\n if (hashtagGenerateResponse) {\n if (hashtagGenerateResponse.code === 'SELLER_DOES_EXIST') {\n this.isLoading = false;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_TAG_UNAVAILABLE,\n type: BannerType.error\n });\n return;\n }\n\n this.userInfo.hashtagPrefix = helpers.formatHashTag(\n hashtagGenerateResponse.data?.hashtagPrefix || ''\n );\n } else {\n this.isLoading = false;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_ERROR_RESERVING_TAG,\n type: BannerType.error\n });\n }\n this.isLoading = false;\n this.setRegistrationType(this.registrationState.DETAILS);\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n // eslint-disable-next-line @typescript-eslint/ban-types\n async createAccount(info: object) {\n this.isLoading = true;\n this.setLoading({ isLoading: true, message: 'Registration complete!' });\n Object.assign(this.userInfo, info);\n\n try {\n const createAccountPayload = {\n companyName: this.userInfo.hashtagPrefix,\n prefix: this.userInfo.hashtagPrefix,\n companyInfo: this.userInfo.company,\n userInfo: this.userInfo\n };\n const createResponse = await FirebaseRequest.createRequest<{\n err: { code: string; message: string };\n token: string;\n accountId: string;\n }>(FirebaseRequestTypes.CREATE_SELLER_ACCOUNT, createAccountPayload);\n\n if (!createResponse) {\n this.isLoading = false;\n this.setLoading({ isLoading: false });\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_ERROR_CREATING_ACCOUNT,\n type: BannerType.error\n });\n return;\n }\n\n if (createResponse.code === 'INVALID_REQUEST') {\n this.isLoading = false;\n this.setLoading({ isLoading: false });\n // email address is improperly formatted\n if (createResponse.data?.err.code === 'auth/invalid-email') {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_INVALID_EMAIL,\n type: BannerType.error\n });\n return;\n }\n\n if (createResponse.data?.err.code === 'auth/email-already-exists') {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_EMAIL_ALREADY_IN_USE,\n type: BannerType.error\n });\n return;\n }\n\n store.commit('global/setBannerStatus', {\n text: createResponse.data?.err.message,\n type: BannerType.error\n });\n return;\n }\n\n // Ex)\n // {\"status\":\"ok\",\n // \"code\":\"SELLER_CREATED\",\n // \"data\":{\n // \"accountId\":\"-XXXXX\",\n // \"uid\":\"1234567asdf\",\n // \"token\":\"XYZ\"\n // }\n // }\n\n // account is created, so sign in\n this.setLoading({\n isLoading: true,\n message: 'Heading to your dashboard...'\n });\n await new Promise((resolve) => setTimeout(resolve, 2000));\n await signInWithCustomToken(\n getAuth(),\n createResponse.data?.token || ''\n );\n const currentUser = await getAuth().currentUser;\n store.commit(\n 'auth/setLoginOrRegistrationType',\n UserRegistration.SELLER\n );\n store.commit('auth/setCurrentUser', currentUser);\n // Must set the role account as well as this gets loaded from the store for the account\n store.commit('auth/setRoleAccounts', [\n { accountId: createResponse.data?.accountId, role: 'owner' }\n ]);\n\n await this.$store.dispatch('accounts/loadAccounts').then(() => {\n console.log('registration dispatch loading complete');\n });\n\n // direct to account dashboard\n this.setLoading({ isLoading: false });\n await this.$router.push({ path: '/store' });\n } catch (ex) {\n this.isLoading = false;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n }\n }\n});\n","import { render } from \"./SellerRegistration.vue?vue&type=template&id=0eec075a&ts=true\"\nimport script from \"./SellerRegistration.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerRegistration.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, resolveDirective as _resolveDirective, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a07d6f66\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Dashboard\", -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"divider\" }, \"|\")\n], -1))\nconst _hoisted_3 = { id: \"dashboard\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Follow the steps below to get your account set up and start selling with Tags in minutes. \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" For more help, go to our \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us\" }, \"Help Center\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"t-12 flex flex--wrap no-pad bottom-border\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/products/shopify/import\" }, \"Add products\"),\n /*#__PURE__*/_createTextVNode(\" to generate your Tags and start selling anywhere. \")\n], -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Update accent colors for your checkouts, track sales with a pixel, and more in \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/settings\" }, \"Customizations\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\" Use our powerful \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/integrations/\" }, \"app library\"),\n /*#__PURE__*/_createTextVNode(\" to distribute Tags and elevate your conversions. \")\n], -1))\nconst _hoisted_11 = {\n key: 1,\n class: \"t-12 flex flex--wrap no-pad bottom-border\"\n}\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Add your brand logo, return policy and customer service information in \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/settings\" }, \"Settings\"),\n /*#__PURE__*/_createTextVNode(\".\")\n], -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Start accepting transactions in a few simple steps by \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/settings\" }, \"connecting your Stripe account\"),\n /*#__PURE__*/_createTextVNode(\" .\")\n], -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/settings\" }, \"Add team members\"),\n /*#__PURE__*/_createTextVNode(\" to manage your seller account and keep it up to date. \")\n], -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Update accent colors for your checkouts, track sales with a pixel, and more in \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/settings\" }, \"Customizations\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/products/create\" }, \"Add products\"),\n /*#__PURE__*/_createTextVNode(\" to generate your Tags and start selling anywhere. \")\n], -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/tags\" }, \"Download\"),\n /*#__PURE__*/_createTextVNode(\" your QR, Link or SMS Tags and convert more customers online and in-person. \")\n], -1))\nconst _hoisted_18 = { class: \"t-12 flex flex--wrap no-pad bottom-border\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\" Discover how \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \" https://support.tagscommerce.com/hc/en-us/articles/8993839370775-Distributing-tags\" }, \"instant checkout Tags \"),\n /*#__PURE__*/_createTextVNode(\" can help you monetize on any medium. \")\n], -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\" Learn how to \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us/articles/5520363239191-Using-attribution\" }, \"use attributions \"),\n /*#__PURE__*/_createTextVNode(\" to track and optimize your marketing campaigns. \")\n], -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\" Read \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://staging.tagscommerce.com/case-studies\" }, \"success stories \"),\n /*#__PURE__*/_createTextVNode(\" from sellers who've transformed their business with Tags. \")\n], -1))\nconst _hoisted_22 = { key: 1 }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" View your current and past revenue performance. Click refresh to get the latest data. \", -1))\nconst _hoisted_24 = { class: \"t-12 flex flex--wrap no-pad bottom-border\" }\nconst _hoisted_25 = { class: \"stat-counts\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostStepCard = _resolveComponent(\"BoostStepCard\")!\n const _directive_requires = _resolveDirective(\"requires\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Getting Started\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'get-started'\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.selectedMenu = 'get-started'))\n }, null, 8, [\"class\"])\n ]),\n _hoisted_2,\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Overview\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'overview'\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.selectedMenu = 'overview'))\n }, null, 8, [\"class\"])\n ])\n ])\n ])),\n _withDirectives((_openBlock(), _createElementBlock(\"section\", _hoisted_3, [\n (_ctx.selectedMenu === 'get-started')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Getting started\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _hoisted_6\n ]),\n _: 1\n }),\n (_ctx.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"1\",\n title: \"Import Products\",\n \"image-url\": \"/img/import-product.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"2\",\n title: \"Customize your Checkout\",\n \"image-url\": \"/img/customize.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"3\",\n title: \"Configure Apps\",\n \"image-url\": \"/img/configure-apps.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"1\",\n title: \"Set up your account\",\n \"image-url\": \"/img/account-setup.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"2\",\n title: \"Connect Stripe\",\n \"image-url\": \"/img/connect-stripe.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"3\",\n title: \"Invite Users\",\n \"image-url\": \"/img/invite-users.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"4\",\n title: \"Customize your Checkout\",\n \"image-url\": \"/img/customize.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"5\",\n title: \"Add Products\",\n \"image-url\": \"/img/import-product.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"6\",\n title: \"Sell Anywhere\",\n \"image-url\": \"/img/sell-anywhere.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n })\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Best Practices\",\n message: \"Learn how to turn the world into your store and monetize anywhere with Tags.\",\n \"is-compact\": true\n }),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"1\",\n title: \"Distributing Tags\",\n \"image-url\": \"/img/distributing-tags.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_19\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"2\",\n title: \"Using Attribution\",\n \"image-url\": \"/img/using-attribution.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"3\",\n title: \"Case Studies\",\n \"image-url\": \"/img/case-studies.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'overview')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Overview\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_23,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.statRefreshButtonState,\n \"complete-label\": \"Done\",\n onClick: _ctx.getStats\n }, null, 8, [\"loading-state\", \"onClick\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_24, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.stats, (stat, index) => {\n return (_openBlock(), _createBlock(_component_BoostStepCard, {\n key: index + '-stat-card',\n class: \"t-4 border-right top-border\",\n title: _ctx.getPrice(stat.amount),\n number: stat.title,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_25, _toDisplayString(stat.sales) + \" Sales\", 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"number\"]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])), [\n [_directive_requires, _ctx.Permissions.Dashboard]\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { Stat } from '../../models/stat';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport Helpers from '@/helpers';\nimport { mapGetters } from 'vuex';\nimport { Permissions } from '../store/types';\n\nconst SellerDashboard = defineComponent({\n data() {\n return {\n Permissions,\n selectedMenu: 'overview',\n stats: [\n {\n title: 'Today',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 24 Hours',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 7 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 30 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 90 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Lifetime',\n amount: 0,\n sales: 0\n }\n ],\n statRefreshButtonState: ButtonLoadingState.initial\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n // Must do this as a separate computed as it doesn't fire the watch when it is done with mapGetters() above\n // Also sometimes the store.state.accounts.selectedFeatureTypeId is blank, so the check the getter which\n // may not be blank\n productSource(): string {\n return (\n this.$store.state.accounts.selectedFeatureTypeId ||\n (this.$store.getters['accounts/selectedFeatureTypeId'] as string)\n );\n }\n },\n watch: {\n currentAccount(newValue) {\n if (newValue != null) {\n this.getStats();\n }\n },\n productSource() {\n this.getStats();\n }\n },\n mounted() {\n if (this.currentAccount == null) {\n return;\n }\n\n if (!this.currentAccount.isStripeConnected) {\n this.selectedMenu = 'get-started';\n }\n\n this.getStats();\n },\n methods: {\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n async getStats() {\n this.statRefreshButtonState = ButtonLoadingState.loading;\n const accountId = this.currentAccount?.accountId;\n\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_STATS,\n { accountId, productSource: this.productSource }\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n const st = responseData.data as Stat;\n this.stats[0].amount = st.today\n ? parseFloat(st.today.amount.toFixed(2))\n : 0;\n this.stats[0].sales = st.today?.orders ?? 0;\n\n this.stats[1].amount = st.yesterday\n ? parseFloat(st.yesterday.amount.toFixed(2))\n : 0;\n this.stats[1].sales = st.yesterday?.orders ?? 0;\n\n this.stats[2].amount = st.week\n ? parseFloat(st.week.amount.toFixed(2))\n : 0;\n this.stats[2].sales = st.week?.orders ?? 0;\n\n this.stats[3].amount = st.month\n ? parseFloat(st.month.amount.toFixed(2))\n : 0;\n this.stats[3].sales = st.month?.orders ?? 0;\n\n this.stats[4].amount = st.quarter\n ? parseFloat(st.quarter.amount.toFixed(2))\n : 0;\n this.stats[4].sales = st.quarter?.orders ?? 0;\n\n this.stats[5].amount = st.totals\n ? parseFloat(st.totals.amount.toFixed(2))\n : 0;\n this.stats[5].sales = st.totals?.orders ?? 0;\n }\n this.statRefreshButtonState = ButtonLoadingState.complete;\n }\n }\n});\n\nexport default SellerDashboard;\n","import { render } from \"./SellerDashboard.vue?vue&type=template&id=a07d6f66&scoped=true&ts=true\"\nimport script from \"./SellerDashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerDashboard.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerDashboard.vue?vue&type=style&index=0&id=a07d6f66&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a07d6f66\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SellerSettingsAccount = _resolveComponent(\"SellerSettingsAccount\")!\n\n return (_openBlock(), _createBlock(_component_SellerSettingsAccount, {\n \"save-button-loading-state\": _ctx.saveButtonLoadingState,\n \"onUpdate:save-button-loading-state\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.saveButtonLoadingState) = $event)),\n \"disconnect-stripe-button-loading-state\": \n _ctx.disconnectStripeButtonLoadingState\n ,\n \"onUpdate:disconnect-stripe-button-loading-state\": _cache[1] || (_cache[1] = ($event: any) => ((\n _ctx.disconnectStripeButtonLoadingState\n ) = $event)),\n \"account-settings\": _ctx.accountSettings,\n \"shipping-settings\": _ctx.shippingSettings,\n \"custom-settings\": _ctx.customSettings,\n onUpdateSellerSettings: _ctx.updateSellerSettings,\n onCancelUpdateSellerSettings: _ctx.cancelUpdateSellerSettings,\n onConnectToStripe: _ctx.connectToStripe,\n onDisconnectFromStripe: _ctx.disconnectFromStripe,\n onChangePassword: _ctx.changePassword\n }, null, 8, [\"save-button-loading-state\", \"disconnect-stripe-button-loading-state\", \"account-settings\", \"shipping-settings\", \"custom-settings\", \"onUpdateSellerSettings\", \"onCancelUpdateSellerSettings\", \"onConnectToStripe\", \"onDisconnectFromStripe\", \"onChangePassword\"]))\n}","/**\n * This can be passed a byte array, like from a `File`, and a dataUrl as a `string`.\n *\n * Returns a URL.\n */\nexport async function uploadImage(image: string | File): Promise {\n const cloudName = 'dgwzk3bjd';\n const formData = new FormData();\n formData.append('file', image);\n formData.append('upload_preset', 'product-images');\n\n const url = 'https://api.cloudinary.com/v1_1/' + cloudName + '/image/upload';\n return fetch(url, {\n method: 'POST',\n body: formData\n })\n .then((res) => res.json())\n .then((res) => {\n return res.secure_url;\n });\n}\n","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, withModifiers as _withModifiers, vShow as _vShow, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-26843d7e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Settings\", -1))\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"no-pad\" }, \" Please click on Connect Stripe to enable your account. Stripe is free and what we use to send your funds quickly and securely. \", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"no-pad margin-bottom-10\" }, [\n /*#__PURE__*/_createTextVNode(\" Your Stripe account is connected. To connect to a different account or to disconnect Stripe, please click below. \"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \" Disconnecting Stripe will set all of your products inactive. \")\n], -1))\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { class: \"t-12 flex--full-width no-pad standard-margins\" }\nconst _hoisted_10 = { class: \"flex input-set\" }\nconst _hoisted_11 = { class: \"flex input-set\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"refund-policy-is-link\" }, \"  Enter custom Returns Policy\", -1))\nconst _hoisted_13 = { class: \"flex input-set\" }\nconst _hoisted_14 = { class: \"flex input-set\" }\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = { key: 3 }\nconst _hoisted_17 = { key: 4 }\nconst _hoisted_18 = { key: 5 }\nconst _hoisted_19 = { class: \"modal-window\" }\nconst _hoisted_20 = { class: \"flex justify--end\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-window__overlay\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostImageUpload = _resolveComponent(\"BoostImageUpload\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostTextarea = _resolveComponent(\"BoostTextarea\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_ManageUsers = _resolveComponent(\"ManageUsers\")!\n const _component_SellerSettingsCustom = _resolveComponent(\"SellerSettingsCustom\")!\n const _component_SellerSettingsIntegrations = _resolveComponent(\"SellerSettingsIntegrations\")!\n const _component_SellerSettingsPaymentPlans = _resolveComponent(\"SellerSettingsPaymentPlans\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"cancel\"\n }, null, 8, _hoisted_2)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _hoisted_3\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.currentPlanMenuItems, (menuItem) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: menuItem.id\n }, [\n _createVNode(_component_BoostButton, {\n label: menuItem.label,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === menuItem.id\n }),\n onClick: ($event: any) => (_ctx.navigateToTab(menuItem.id))\n }, null, 8, [\"label\", \"class\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n _createVNode(_component_validation_observer, {\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.commitChanges)), [\"prevent\"])\n }, [\n (_ctx.selectedMenu === 'stripe')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (!_ctx.accountSettings.isConnectedToStripe)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n class: \"w-100 bottom-border\",\n title: \"Stripe\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createVNode(_component_BoostButton, {\n label: \"Connect Stripe\",\n type: \"button\",\n class: \"btn-active\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('connectToStripe')))\n })\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 1,\n class: \"w-100 bottom-border\",\n title: \"Stripe\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createVNode(_component_BoostButton, {\n label: \"Disconnect Stripe\",\n type: \"button\",\n class: \"btn-optional\",\n \"loading-label\": \"Disconnecting\",\n \"loading-state\": _ctx.disconnectStripeButtonLoadingState,\n \"white-spinner\": false,\n \"mithril-spinner\": true,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('disconnectFromStripe')))\n }, null, 8, [\"loading-state\"])\n ]),\n _: 1\n }))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'account')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Account\",\n \"is-compact\": false\n }),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostImageUpload, {\n \"image-url\": _ctx.accountSettings.logoUrl,\n \"onUpdate:image-url\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.accountSettings.logoUrl) = $event)),\n label: \"Brand Logo\",\n \"write-on-preview\": true,\n onImageFilePreviewed: _cache[3] || (_cache[3] = ($event: any) => (_ctx.logoUploaded($event)))\n }, null, 8, [\"image-url\"])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n title: \"General\",\n \"is-compact\": true,\n \"has-content\": true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.companyName,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.accountSettings.companyName) = $event)),\n label: \"Brand Name\",\n placeholder: \"eg. Adidas Inc, Kush Kats, Red Butler\",\n rules: \"required\",\n \"input-id\": \"companyName\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.hashTagPrefix,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.accountSettings.hashTagPrefix) = $event)),\n label: \"Tag\",\n \"input-id\": \"boost-tag\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.accountHolderFirstName,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.accountSettings.accountHolderFirstName) = $event)),\n label: \"First Name\",\n \"input-id\": \"account-holder-firstname\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.accountHolderLastName,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.accountSettings.accountHolderLastName) = $event)),\n label: \"Last Name\",\n \"input-id\": \"account-holder-lastname\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.email,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.accountSettings.email) = $event)),\n label: \"Account Email\",\n \"input-id\": \"account-holder-email\",\n class: \"margin-bottom-2\",\n disabled: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostButton, {\n label: \"Update Email\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => {\n _ctx.showPasswordModal = true;\n _ctx.scrollToTop();\n })\n }),\n _createVNode(_component_BoostButton, {\n label: \"Update password\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (\n _ctx.$emit('changePassword', {\n type: _ctx.settingType,\n data: _ctx.accountSettings\n })\n ))\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Customer Service\",\n \"is-compact\": true,\n \"has-content\": true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.companyEmail,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.accountSettings.companyEmail) = $event)),\n label: \"Email address\",\n rules: \"required|email\",\n \"input-id\": \"company-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.companyNumber,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.accountSettings.companyNumber) = $event)),\n label: \"Phone\",\n \"input-id\": \"company-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.accountSettings.companyZipCode,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.accountSettings.companyZipCode) = $event)),\n label: \"Company Zip\",\n rules: \"required\",\n \"input-id\": \"company-zip\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.refundPolicyIsLink)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 0,\n modelValue: _ctx.accountSettings.refundPolicy,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.accountSettings.refundPolicy) = $event)),\n label: \"Returns Policy\",\n \"input-id\": \"company-returns-policy\",\n placeholder: \"https://my-returns-policy.com\"\n }, null, 8, [\"modelValue\"]))\n : (_openBlock(), _createBlock(_component_BoostTextarea, {\n key: 1,\n modelValue: _ctx.accountSettings.refundPolicy,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.accountSettings.refundPolicy) = $event)),\n label: \"Returns Policy\",\n description: \"Please paste or enter your returns policy here. \",\n \"input-id\": \"refund-policy\",\n placeholder: \"Write something here...\"\n }, null, 8, [\"modelValue\"])),\n _withDirectives(_createElementVNode(\"input\", {\n id: \"refund-policy-is-link\",\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((_ctx.refundPolicyIsLink) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.refundPolicyIsLink]\n ]),\n _hoisted_12\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Address\",\n \"is-compact\": true,\n \"has-content\": true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingSettings.companyAddress1,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((_ctx.shippingSettings.companyAddress1) = $event)),\n label: \"Address Line 1\",\n \"input-id\": \"company-address-line-1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingSettings.companyAddress2,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((_ctx.shippingSettings.companyAddress2) = $event)),\n label: \"Address Line 2\",\n \"input-id\": \"company-address-line-2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingSettings.companyCity,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((_ctx.shippingSettings.companyCity) = $event)),\n label: \"City\",\n \"input-id\": \"company-address-city\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.shippingSettings.companyState,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((_ctx.shippingSettings.companyState) = $event)),\n label: \"State\",\n \"input-id\": \"company-address-state\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingSettings.companyZipCode,\n \"onUpdate:modelValue\": _cache[21] || (_cache[21] = ($event: any) => ((_ctx.shippingSettings.companyZipCode) = $event)),\n label: \"Zip\",\n \"input-id\": \"company-address-zip\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingSettings.companyCountry,\n \"onUpdate:modelValue\": _cache[22] || (_cache[22] = ($event: any) => ((_ctx.shippingSettings.companyCountry) = $event)),\n label: \"Country\",\n \"input-id\": \"company-address-country\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'users')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createVNode(_component_ManageUsers)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'custom')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createVNode(_component_SellerSettingsCustom, { \"custom-settings\": _ctx.customSettings }, null, 8, [\"custom-settings\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'integrations')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createVNode(_component_SellerSettingsIntegrations)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'paymentPlans')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createVNode(_component_SellerSettingsPaymentPlans, {\n onPlanUpgraded: _cache[23] || (_cache[23] = ($event: any) => (_ctx.selectedMenu = 'integrations'))\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: \n !meta.valid ||\n _ctx.selectedMenu === 'users' ||\n _ctx.selectedMenu === 'paymentPlans'\n ,\n \"loading-state\": _ctx.saveButtonLoadingState,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"loading-state\", \"onClick\"])\n ]))\n ], 40, _hoisted_4)\n ]),\n _: 1\n }),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newEmail,\n \"onUpdate:modelValue\": _cache[24] || (_cache[24] = ($event: any) => ((_ctx.newEmail) = $event)),\n rules: \"required|email\",\n label: \"New Account Email\",\n placeholder: \"Email Address\",\n \"input-id\": \"account-holder-email-change\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.password,\n \"onUpdate:modelValue\": _cache[25] || (_cache[25] = ($event: any) => ((_ctx.password) = $event)),\n type: 'password',\n rules: \"required\",\n label: \"Current Password\",\n placeholder: \"Password\",\n \"input-id\": \"seller-password\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_BoostButton, {\n class: \"margin-right-2 btn-form\",\n \"button-style\": \"primary\",\n label: \"Send Email\",\n disabled: !_ctx.newEmail || !_ctx.password,\n onClick: _ctx.changeEmail\n }, null, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Cancel\",\n onClick: _cache[26] || (_cache[26] = ($event: any) => (_ctx.showPasswordModal = false))\n })\n ])\n ]),\n _hoisted_21\n ], 512), [\n [_vShow, _ctx.showPasswordModal]\n ])\n ], 64))\n}","export interface SellerBusinessSettings {\n companyName: string;\n email: string;\n companyEmail: string;\n companyNumber?: string;\n companyZipCode: string;\n refundPolicy: string;\n hashTagPrefix: string;\n logoUrl: string;\n isConnectedToStripe: boolean;\n accountHolderLastName?: string;\n accountHolderFirstName?: string;\n}\n\nexport interface SellerBillingSettings {\n cardNumber: string;\n cardExpirationMonth: string;\n cardExpirationYear: string;\n cardSecurityCode: string;\n cardZipCode: string;\n}\n\nexport interface SellerShippingSettings {\n companyName: string;\n companyAddress1: string;\n companyAddress2: string;\n companyCity: string;\n companyState: string;\n companyZipCode: string;\n companyCountry: string;\n}\n\nexport interface SellerCustomSettings {\n metaPixel?: string;\n customColor?: string;\n}\n\nexport enum SettingsType {\n BUSINESS = 'business',\n SHIPPING = 'shipping'\n}\n\nexport interface AllSellerSettings {\n type: SettingsType;\n data: {\n accountSettings: SellerBusinessSettings;\n shippingSettings: SellerShippingSettings;\n };\n}\n","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, normalizeClass as _normalizeClass, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '../../assets/person.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Add, remove, transfer ownership, or adjust user roles that manage your Tags account. \", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us/articles/6734979065879-Adding-users\" }, \" Learn more about role permissions \", -1)\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"audience member icon\"\n}, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 2 }\nconst _hoisted_8 = {\n key: 1,\n class: \"capital\"\n}\nconst _hoisted_9 = { key: 3 }\nconst _hoisted_10 = { key: 4 }\nconst _hoisted_11 = {\n key: 5,\n class: \"flex justify--end\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Users\",\n \"is-compact\": false,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_BoostTable, {\n ref: \"boostUserTable\",\n rows: _ctx.usersList,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"hide-footer\": true,\n \"has-context-menu\": true,\n \"has-tray\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'imageUrl')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'userName')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(data.row.lastName\n ? `${data.row.lastName}, ${data.row.firstName}`\n : 'Pending'), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'userRole')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n (data.row.role !== 'owner' && data.row.status !== 'invite sent')\n ? (_openBlock(), _createBlock(_component_BoostSelect, {\n key: 0,\n modelValue: data.row.role,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.role) = $event),\n \"input-id\": `select-user-role_${data.row.index}`,\n options: _ctx.roles,\n onInput: ($event: any) => (_ctx.handleRoleChange(data.row))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\", \"options\", \"onInput\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(data.row.role), 1))\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'email')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(data.row.email), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill capital\", {\n 'pill-pending': data.row.status === 'invite sent',\n 'pill-positive': data.row.status === 'active',\n 'pill-failed': data.row.status === 'denied',\n 'pill-prereg': data.row.status === 'transferred'\n }])\n }, _toDisplayString(data.row.status), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n \"action-tray\": _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Add User\",\n type: \"button\",\n disabled: !_ctx.isUnderMaxUsers,\n onClick: _ctx.handleAddUser\n }, null, 8, [\"disabled\", \"onClick\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.usersList?.length) + \" user(s)\", 1)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"]),\n (_ctx.showAddUser)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 0,\n message: _ctx.addUserPopup.message,\n title: _ctx.addUserPopup.title\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addUserEmail,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.addUserEmail) = $event)),\n label: \"Email Address\",\n rules: \"required|email\",\n \"input-id\": \"add-user-email\",\n \"custom-error\": _ctx.addUserErrorMessage\n }, null, 8, [\"modelValue\", \"custom-error\"]),\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.selectedRole,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.selectedRole) = $event)),\n label: \"Role\",\n rules: \"required\",\n \"input-id\": \"select-user-role\",\n options: _ctx.roles\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Add User\",\n type: \"button\",\n disabled: !_ctx.canAddUser,\n onClick: _ctx.addUserEventHandler\n }, null, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showAddUser = false))\n })\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showTransferOwner)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 1,\n message: _ctx.transferPopup.message,\n title: _ctx.transferPopup.title,\n button1: _ctx.transferPopup.button1,\n button2: _ctx.transferPopup.button2,\n onButton2Event: _cache[4] || (_cache[4] = ($event: any) => {\n _ctx.showTransferOwner = false;\n _ctx.ownerPassword = '';\n }),\n onButton1Event: _ctx.transferOwnership\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.ownerPassword,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.ownerPassword) = $event)),\n label: \"Your password\",\n type: \"password\",\n rules: \"required\",\n \"input-id\": \"transfer-owner-password\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"message\", \"title\", \"button1\", \"button2\", \"onButton1Event\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","/**\n * Popup Messages\n */\n\nexport enum PopupMessageTitles {\n GENERAL_ALERT = 'Woah!',\n GENERAL_ALERT_2 = 'Hmm...',\n GENERAL_ALERT_3 = 'Stop there!',\n GENERAL_CONFIRMATION = 'Are you absolutely sure?',\n\n DELETE_CONFIRMATION = 'Are you sure?',\n SAVE_CONFIRMATION = 'Save Changes?',\n OPTION_REMOVAL = 'Option removal',\n UNSAVED_CHANGES = 'Changes are not saved!',\n\n ADD_USER = 'Add User',\n TRANSFER_OWNER = 'Transfer Ownership',\n\n DOWNLOAD_TAGS = 'Download Tags',\n\n EXPORT = 'Export',\n EDIT_AFFILIATE_COMMISSION = 'Edit Commission',\n AFFILIATE_SUSPEND = 'Suspend Advocate',\n AFFILIATE_REINSTATE = 'Reinstate Advocate',\n\n LATER_APP = 'Later App',\n SHARE_APP = 'Share App',\n GUIDELINES_APP = 'Edit Guidelines',\n MARKETPLACE_APP = 'Enable Marketplace'\n}\n\nexport enum PopupMessageStrings {\n CANCEL_REGISTRATION_PROCESS = 'You want to leave so soon? You haven’t completed your registration!',\n\n BUYER_CANCEL_UPDATE_ACCOUNT_SETTINGS = 'Stop right there, soldier! You haven’t finished updating your settings.',\n\n SELLER_CANCEL_SAVE_CHANGES = 'You have unsaved changes. If you leave before saving, your changes will be lost.',\n SELLER_DEACTIVATE_ACCOUNT = 'Are you sure you want to deactivate your account? You will lose your tag and your account.',\n SELLER_PRODUCT_MISSING_QUANTITY = 'There doesn’t seem to be a quantity set, is that on purpose?\\n' +\n 'We’ll automatically set it to 0 if you don’t specify.',\n SELLER_DELETE_PRODUCT = 'By deleting this product, you delete the entire product. Is that what you wanted?',\n SELLER_OPTION_REMOVAL = 'By removing this option, you remove it from all\\n' +\n 'other products on this list.',\n SELLER_DELETE_PRODUCT_VERSION = 'Would you like to delete this specific version?\\n' +\n 'You can’t go back once you do.',\n CANCEL_IMAGE_REMOVAL = 'Do you really want to remove this image?',\n ADD_USER = 'Enter the users email address and assign them a role to send an account invitation.',\n UNSAVED_CHANGES = 'You are navigating away from this page and have unsaved changes.',\n\n EXPORT_ANALYTICS = 'Press \"Export\" to download your analytics breakdown in a .CSV file.',\n EDIT_AFFILIATE_COMMISSION = 'Apply your global commission or set a custom percentage to be earned by the advocate.',\n SUSPEND_AFFILIATE = 'Suspending advocates will deactivate their tags and prevent them from generating any new tags associated with your brand.',\n REINSTATE_AFFILIATE = 'Reinstating advocates will restore all of their tags and allow them to generate new tags associated with your brand.',\n\n EDIT_LATER_APP = 'Capture top of funnel data by letting your customers save products directly from the product page.',\n EDIT_SHARE_APP = 'Convert your customers into advocates by allowing them to generate tags on the product page.',\n EDIT_GUIDELINES_APP = 'These will show when someone creates their own checkout for your product.',\n EDIT_MARKETPLACE_APP = 'Allow sellers to discover your products in our Marketplace.'\n}\n\nexport enum PopupMessageButtonCaptions {\n OK_YES = 'Yes',\n OK_YES_2 = 'Okay, sweet!',\n OK_YES_3 = 'I want to go.',\n OK_YES_4 = 'Yeah I meant to!',\n OK_YES_5 = 'Save them!',\n OK_YES_6 = 'Yes, that’s what I want.',\n OK_YES_7 = 'Yeah that’s cool.',\n OK_YES_8 = 'Yeah, let’s go!',\n OK_YES_9 = 'Remove image',\n OK_YES_10 = 'Save & Proceed',\n OK_YES_11 = 'Add User',\n OK_YES_12 = 'Transfer',\n OK_DISCARD = 'Discard Changes & Continue',\n\n CANCEL_NO = 'Cancel',\n CANCEL_NO_2 = 'I want to stay!',\n CANCEL_NO_3 = 'I’ll go fix that.',\n CANCEL_NO_4 = 'Keep image',\n CANCEL_NO_5 = 'I want to keep it.',\n CANCEL_NO_6 = 'I’ve changed my mind!',\n CANCEL_NO_7 = 'Go Back',\n\n DISCARD_CHANGES = 'Discard Changes and Continue',\n\n EXPORT = 'Export'\n}\n\nexport interface PopupMessageButton {\n caption: PopupMessageButtonCaptions;\n primary?: boolean;\n buttonClass?: string;\n event?: string;\n // eslint-disable-next-line @typescript-eslint/ban-types\n payload?: {};\n}\n\nexport interface PopupMessage {\n title: PopupMessageTitles | string;\n message: PopupMessageStrings | string;\n button1?: PopupMessageButton;\n button2?: PopupMessageButton;\n}\n","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDirective as _resolveDirective, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderSlot as _renderSlot, normalizeClass as _normalizeClass, withModifiers as _withModifiers } from \"vue\"\n\nconst _hoisted_1 = { class: \"popup-component\" }\nconst _hoisted_2 = { class: \"popup-component__wrapper\" }\nconst _hoisted_3 = { class: \"popup-component__inner\" }\nconst _hoisted_4 = { class: \"popup-component__controls-container\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = {\n key: 1,\n class: \"popup-component__message\"\n}\nconst _hoisted_7 = {\n key: 2,\n class: \"popup-component__buttons\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.title?.length)\n ? (_openBlock(), _createElementBlock(\"h1\", _hoisted_5, _toDisplayString(_ctx.title), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.message?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _withDirectives(_createElementVNode(\"p\", null, null, 512), [\n [_directive_sanitized, _ctx.message]\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\"),\n (_ctx.button1 || _ctx.button2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (_ctx.button1)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: _normalizeClass([\"btn popup-component__button\", {\n 'btn-active': _ctx.button1?.primary,\n 'btn-optional': _ctx.button1?.primary === false,\n 'btn-destructive': _ctx.button1?.buttonClass === 'destructive'\n }]),\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('button1-event')))\n }, _toDisplayString(_ctx.button1.caption), 3))\n : _createCommentVNode(\"\", true),\n (_ctx.button2)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n class: _normalizeClass([\"btn popup-component__button\", _ctx.button2?.primary ? 'btn-active' : 'btn-optional']),\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('button2-event')))\n }, _toDisplayString(_ctx.button2?.caption), 3))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"popup-component__overlay\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('cancel-modal'))),\n onWheel: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"])),\n onTouchmove: _cache[4] || (_cache[4] = _withModifiers(() => {}, [\"prevent\"])),\n onScroll: _cache[5] || (_cache[5] = _withModifiers(() => {}, [\"prevent\"]))\n }, null, 32)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n PopupMessageButton,\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\n\nexport default defineComponent({\n name: 'PopupComponent',\n props: {\n title: {\n type: String as () => PopupMessageTitles\n },\n message: {\n type: String as () => PopupMessageStrings\n },\n button1: {\n type: Object as () => PopupMessageButton\n },\n button2: {\n type: Object as () => PopupMessageButton,\n required: false\n }\n },\n emits: ['cancel-modal', 'button1-event', 'button2-event']\n});\n","import { render } from \"./PopupComponent.vue?vue&type=template&id=794f0a60&ts=true\"\nimport script from \"./PopupComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./PopupComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./PopupComponent.vue?vue&type=style&index=0&id=794f0a60&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport {\n PopupMessage,\n PopupMessageButtonCaptions,\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport { RoleType } from '@/../enums/roleTypes';\nimport helpers from '@/helpers';\nimport { Permissions } from '@/store/types';\nimport { AccountObject } from '@/models/accountObject';\n\ninterface AccountUser {\n userId: string;\n firstName: string;\n lastName: string;\n role: string;\n email: string;\n status: string;\n imageUrl: string;\n}\n\nconst ManageUsers = defineComponent({\n name: 'ManageUsers',\n components: {\n PopupComponent\n },\n data() {\n return {\n showAddUser: false,\n showTransferOwner: false,\n ownerPassword: '',\n transferTo: {} as AccountUser,\n transferPopup: {} as PopupMessage,\n addUserPopup: {} as PopupMessage,\n addUserEmail: '',\n addUserErrorMessage: [] as string[],\n selectedRole: '',\n roles: [\n { name: 'Admin', value: RoleType.SellerAdmin },\n { name: 'Staff', value: RoleType.Staff },\n { name: 'Agency', value: RoleType.Agency }\n ],\n usersList: [] as AccountUser[],\n columns: [\n {\n id: 'imageUrl',\n label: ''\n },\n {\n id: 'userName',\n label: 'Name'\n },\n {\n id: 'userRole',\n label: 'Role'\n },\n {\n id: 'email',\n label: 'Email'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu',\n label: ''\n }\n ] as ColumnItem[],\n menuItems: [\n {\n label: 'Copy Email',\n onClick: async (entity) => {\n await this.copyEmail(entity);\n }\n },\n {\n label: 'Resend Invitation',\n onClick: async (entity) => {\n await this.resendInvite(entity);\n },\n isHidden: (entity) => {\n return entity.status !== 'invite sent';\n }\n },\n {\n label: 'Remove User',\n onClick: async (entity) => {\n const results = confirm(\n `Are you sure you want to remove this user? ${entity.email}`\n );\n if (results) {\n await this.removeUser(entity);\n }\n },\n isDisabled: (entity) => {\n return entity.role === RoleType.Owner;\n }\n },\n {\n label: 'Transfer Ownership',\n onClick: (entity) => {\n this.handleTransferOwnership(entity);\n },\n isDisabled: (entity) => {\n return (\n entity.status !== 'active' || entity.role !== RoleType.SellerAdmin\n );\n },\n isHidden: () => {\n return !helpers.userHasPermission(\n Permissions.TransferOwnership,\n this.$store\n );\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n canAddUser(): boolean {\n return !!this.addUserEmail && !!this.selectedRole && this.isUnderMaxUsers;\n },\n isUnderMaxUsers(): boolean {\n const maxCount =\n (this.currentAccount as AccountObject).currentPlan === 'Plus' ? 3 : 0;\n return this.usersList.length < maxCount;\n }\n },\n async mounted() {\n if (!this.currentAccount) {\n return;\n }\n await this.loadData();\n },\n methods: {\n ...mapMutations('global', [\n 'setBannerStatus',\n 'setBrandInformation',\n 'setLoading'\n ]),\n ...mapActions('auth', ['reAuthenticate']),\n getProfile(user: AccountUser) {\n return user.imageUrl || require('../../assets/default-product.jpg');\n },\n async handleRoleChange(e: AccountUser) {\n this.setLoading(true);\n const results = await FirebaseRequest.createRequest<{ error: string }>(\n FirebaseRequestTypes.CHANGE_SELLER_USER_ROLE,\n {\n accountId: this.currentAccount.accountId,\n email: e.email,\n role: e.role\n }\n );\n if (results.status !== APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n async copyEmail(user: AccountUser) {\n await navigator.clipboard.writeText(user.email);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n handleTransferOwnership(user: AccountUser) {\n if (user?.email) {\n this.transferPopup = {\n title: PopupMessageTitles.TRANSFER_OWNER,\n message: `Transfer ownership to an Admin on your account. Please check the name before transferring.

You are transferring ownership to: ${user.firstName} ${user.lastName}`,\n button1: {\n caption: PopupMessageButtonCaptions.OK_YES_12,\n primary: true,\n event: ''\n },\n button2: {\n caption: PopupMessageButtonCaptions.CANCEL_NO\n }\n };\n this.transferTo = user;\n this.showTransferOwner = true;\n }\n },\n async transferOwnership() {\n // Must validate the password provided\n const authorized = await this.reAuthenticate({\n password: this.ownerPassword\n });\n if (!authorized) {\n this.showTransferOwner = false;\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_EMAIL_LOGIN_ERROR,\n type: BannerType.error\n });\n return;\n }\n this.setLoading(true);\n const results = await FirebaseRequest.createRequest<{ error: string }>(\n FirebaseRequestTypes.REQUEST_TRANSFER_OWNERSHIP,\n {\n accountId: this.currentAccount.accountId,\n transferToEmail: this.transferTo.email\n }\n );\n this.showTransferOwner = false;\n if (results.status === APIResponseStatus.ERROR) {\n this.setBannerStatus({\n text:\n results.data?.error || BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.setLoading(false);\n } else {\n await this.loadData();\n }\n },\n async removeUser(user: AccountUser) {\n this.setLoading(true);\n const results = await FirebaseRequest.createRequest<{ error: string }>(\n FirebaseRequestTypes.REMOVE_SELLER_USER,\n {\n accountId: this.currentAccount.accountId,\n userId: user.userId,\n email: user.email\n }\n );\n\n if (results.status === APIResponseStatus.ERROR) {\n this.setBannerStatus({\n text:\n results.data?.error || BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.setLoading(false);\n } else {\n await this.loadData();\n }\n },\n async loadData() {\n this.setLoading(true);\n this.usersList = [];\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_USERS,\n {\n accountId: this.currentAccount.accountId\n }\n );\n let index = 0;\n const roleIndex = Object.keys(RoleType).map((x) => x.toLocaleLowerCase());\n if (results.data?.map) {\n this.usersList =\n results.data\n ?.sort(\n (a, b) =>\n roleIndex.indexOf(a.role.toLocaleLowerCase()) -\n roleIndex.indexOf(b.role.toLocaleLowerCase())\n )\n ?.map((x) => ({ ...x, index: ++index })) || [];\n }\n this.setLoading(false);\n },\n handleAddUser() {\n this.addUserErrorMessage = [];\n this.showAddUser = true;\n this.addUserPopup = {\n title: PopupMessageTitles.ADD_USER,\n message: PopupMessageStrings.ADD_USER\n };\n },\n async resendInvite(accountUser: AccountUser) {\n this.selectedRole = accountUser.role;\n this.addUserEmail = accountUser.email;\n await this.addUserEventHandler();\n },\n async addUserEventHandler() {\n if (this.selectedRole && this.addUserEmail) {\n this.setLoading(true);\n // Validate the email and role\n await this.checkIfEmailInUse(this.addUserEmail);\n if (!this.addUserErrorMessage.length) {\n // Call the API to create the invitation\n const results = await FirebaseRequest.createRequest<{\n error: string;\n }>(FirebaseRequestTypes.ADD_SELLER_USER_INVITE, {\n accountId: this.currentAccount.accountId,\n role: this.selectedRole,\n email: this.addUserEmail\n });\n\n this.selectedRole = '';\n this.addUserEmail = '';\n if (results.status === APIResponseStatus.ERROR) {\n this.setBannerStatus({\n text:\n results.data?.error ||\n BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.showAddUser = false;\n } else {\n this.showAddUser = false;\n await this.loadData();\n }\n }\n this.setLoading(false);\n }\n },\n async checkIfEmailInUse(email: string) {\n const results = await FirebaseRequest.createRequest<{ exists: boolean }>(\n FirebaseRequestTypes.CHECK_USER_EMAIL_EXISTS,\n {\n accountId: this.currentAccount.accountId,\n email\n }\n );\n if (results?.data?.exists) {\n this.addUserErrorMessage = ['User already exists. Please add another.'];\n } else {\n this.addUserErrorMessage = [];\n }\n }\n }\n});\n\nexport default ManageUsers;\n","import { render } from \"./ManageUsers.vue?vue&type=template&id=550a0d4f&ts=true\"\nimport script from \"./ManageUsers.vue?vue&type=script&lang=ts\"\nexport * from \"./ManageUsers.vue?vue&type=script&lang=ts\"\n\nimport \"./ManageUsers.vue?vue&type=style&index=0&id=550a0d4f&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light margin-top-0\" }, \" By default, the checkout button will be branded to Tags. Text color cannot be customized for accessibility purposes. \", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light\" }, \" Save your changes to update the preview. \", -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"custom_preview\",\n class: \"boost-select__label\"\n}, \"Preview\", -1)\nconst _hoisted_4 = { class: \"flex align--center justify--center\" }\nconst _hoisted_5 = { class: \"w-100 flex justify--center\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light margin-top-0\" }, \" By default, the Pixel will track URLs visited, domains visited, and the devices your visitors use. \", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" You can learn more about Meta Pixels \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.facebook.com/business/learn/facebook-ads-pixel\",\n target: \"_blank\"\n }, \"here\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_boost_icon = _resolveComponent(\"boost-icon\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Customizations\",\n \"is-compact\": false,\n message: \"Personalize your sales experience with custom checkout colors, pixel tracking and broadcast.\"\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"top-border\",\n title: \"Brand Checkout\",\n \"is-compact\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.customSettings.customColor,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.customSettings.customColor) = $event)),\n label: \"Color\",\n class: \"margin-bottom-3\",\n \"hide-label\": false,\n options: _ctx.colorOptions,\n \"input-id\": \"custom-color-select\",\n onChange: _ctx.changeColor\n }, null, 8, [\"modelValue\", \"options\", \"onChange\"]),\n _hoisted_1,\n _hoisted_2,\n _hoisted_3,\n _createVNode(_component_BoostButton, {\n id: \"custom_preview\",\n class: _normalizeClass([\"w-100\", 'custom__' + _ctx.customSettings.customColor]),\n type: \"button\",\n \"button-style\": \"custom\",\n \"white-spinner\": false,\n \"loading-state\": _ctx.completeButtonState,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.testClick()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_boost_icon),\n _createTextVNode(\" Pay $20.00 \")\n ])\n ]),\n _: 1\n }, 8, [\"class\", \"loading-state\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostButton, {\n class: _normalizeClass([\"margin-top-2 text-xs sm:text-sm\", 'custom__' + _ctx.customSettings.customColor + '__link']),\n type: \"button\",\n \"button-style\": \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return Policy\")\n ]),\n _: 1\n }, 8, [\"class\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"top-border\",\n title: \"Tracking\",\n \"is-compact\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.customSettings.metaPixel,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.customSettings.metaPixel) = $event)),\n label: \"Meta Pixel\",\n placeholder: \"ID 1234567891234567\",\n \"input-id\": \"meta-pixel\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_6,\n _hoisted_7\n ]),\n _: 1\n })\n ], 64))\n}","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20H33.3333V0H10ZM10.4513 13.7597C12.5276 13.7597 14.2107 12.0766 14.2107 10.0003C14.2107 7.92409 12.5276 6.24095 10.4513 6.24095C8.37504 6.24095 6.6919 7.92409 6.6919 10.0003C6.6919 12.0766 8.37504 13.7597 10.4513 13.7597Z\"\n}, null, -1)\nconst _hoisted_2 = [\n _hoisted_1\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"svg\", {\n class: _normalizeClass([\"boost-icon\", _ctx.iconClass]),\n viewBox: \"0 0 34 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n style: _normalizeStyle(_ctx.disabled ? 'fill: #171722 !important' : '')\n }, _hoisted_2, 6))\n}","\nimport { defineComponent } from 'vue';\nimport { store } from '@/store';\n\nconst BoostIcon = defineComponent({\n name: 'BoostIcon',\n props: {\n disabled: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n iconClass(): string {\n const customValue = store.getters['global/getCustomColor'] as string;\n return 'custom__' + customValue || 'default';\n }\n }\n});\n\nexport default BoostIcon;\n","import { render } from \"./BoostIcon.vue?vue&type=template&id=4346c68c&ts=true\"\nimport script from \"./BoostIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostIcon.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostIcon.vue?vue&type=style&index=0&id=4346c68c&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport BoostIcon from '@/common/controls/BoostIcon.vue';\nimport { mapMutations } from 'vuex';\nimport { store } from '@/store';\nimport { Account } from '@/models/account';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nconst SellerSettingsCustom = defineComponent({\n name: 'SellerSettingsCustom',\n components: {\n 'boost-icon': BoostIcon\n },\n props: {\n customSettings: {\n type: Object,\n required: true\n }\n },\n data() {\n return {\n completeButtonState: ButtonLoadingState.initial as ButtonLoadingState,\n // These values must match the class names in _customColors.scss\n colorOptions: [\n { name: 'Default', value: 'default' },\n { name: 'Orange', value: 'orange' },\n { name: 'Tomato', value: 'tomato' },\n { name: 'Red', value: 'red' },\n { name: 'Crimson', value: 'crimson' },\n { name: 'Pink', value: 'pink' },\n { name: 'Plum', value: 'plum' },\n { name: 'Purple', value: 'purple' },\n { name: 'Violet', value: 'violet' },\n { name: 'Indigo', value: 'indigo' },\n { name: 'Blue', value: 'blue' },\n { name: 'Cyan', value: 'cyan' },\n { name: 'Teal', value: 'teal' },\n { name: 'Green', value: 'green' },\n { name: 'Grass', value: 'grass' },\n { name: 'Brown', value: 'brown' },\n { name: 'Yellow', value: 'yellow' },\n { name: 'Light Orange', value: 'light-orange' },\n { name: 'Tan', value: 'tan' },\n { name: 'Black', value: 'black' }\n ]\n };\n },\n created() {\n const account = store.getters['accounts/currentAccount'] as Account;\n store.commit('global/setCustomColor', account.customColor);\n },\n methods: {\n ...mapMutations('global', ['setCustomColor']),\n changeColor(ev: Event) {\n const input = ev.target as HTMLInputElement;\n this.setCustomColor(input.value);\n },\n testClick() {\n this.completeButtonState = ButtonLoadingState.loading;\n setTimeout(() => {\n this.completeButtonState = ButtonLoadingState.complete;\n }, 3000);\n }\n }\n});\n\nexport default SellerSettingsCustom;\n","import { render } from \"./SellerSettingsCustom.vue?vue&type=template&id=1091548a&ts=true\"\nimport script from \"./SellerSettingsCustom.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettingsCustom.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerSettingsCustom.vue?vue&type=style&index=0&id=1091548a&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-79a54722\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex--full-width top-border\" }\nconst _hoisted_2 = { class: \"flex flex--full-width standard-margins padding-top-5 padding-bottom-5 align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"section\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"title\" }, \"Shopify\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light message\" }, \" Millions of the world's most successful brands trust Shopify to sell, ship and process payments anywhere. \")\n], -1))\nconst _hoisted_5 = { class: \"flex flex--full-width top-border\" }\nconst _hoisted_6 = { class: \"flex flex--full-width standard-margins padding-top-5 padding-bottom-5 align--center\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"image\",\n src: \"/img/bigcommerce.svg\",\n alt: \"Big Commerce logo\"\n}, null, -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"section\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"title\" }, \"BigCommerce\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light message\" }, \" BigCommerce empowers merchants to build, innovate and grow their businesses online at every stage of growth. \")\n], -1))\nconst _hoisted_9 = { class: \"flex flex--full-width top-border\" }\nconst _hoisted_10 = { class: \"flex flex--full-width standard-margins padding-top-5 padding-bottom-5 align--center\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"image\",\n src: \"/img/magento.svg\",\n alt: \"Magento logo\"\n}, null, -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"section\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"title\" }, \"Magento\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light message\" }, \" Magento provides future-proof technology with a commerce platform that's endlessly flexible, extensible, and scalable. \")\n], -1))\nconst _hoisted_13 = { class: \"flex flex--full-width top-border bottom-border\" }\nconst _hoisted_14 = { class: \"flex flex--full-width standard-margins padding-top-5 padding-bottom-5 align--center\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"image\",\n src: \"/img/woocommerce.svg\",\n alt: \"Woo Commerce logo\"\n}, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"section\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"title\" }, \"WooCommerce\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light message\" }, \" WooCommerce is a customizable, open-source eCommerce platform built on WordPress. \")\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Integrations\",\n \"is-compact\": false,\n message: \"Connect third-party platforms to import your product inventory and distribute your commerce with Tags.\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n class: \"image\",\n src: require('@/assets/shopify-logo.svg'),\n alt: \"Shopify logo\"\n }, null, 8, _hoisted_3),\n _hoisted_4,\n _createVNode(_component_BoostButton, {\n style: {\"margin-left\":\"auto\"},\n type: \"button\",\n \"button-style\": \"primary\",\n label: _ctx.shopifyButtonLabel,\n onClick: _ctx.connectShopify\n }, null, 8, [\"label\", \"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _hoisted_8,\n _createVNode(_component_BoostButton, {\n style: {\"margin-left\":\"auto\"},\n type: \"button\",\n \"button-style\": \"primary\",\n label: \"Coming Soon\",\n disabled: \"\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _hoisted_12,\n _createVNode(_component_BoostButton, {\n style: {\"margin-left\":\"auto\"},\n type: \"button\",\n \"button-style\": \"primary\",\n label: \"Coming Soon\",\n disabled: \"\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _hoisted_16,\n _createVNode(_component_BoostButton, {\n style: {\"margin-left\":\"auto\"},\n type: \"button\",\n \"button-style\": \"primary\",\n label: \"Coming Soon\",\n disabled: \"\"\n })\n ])\n ])\n ], 64))\n}","\nimport { AccountObject } from '@/models/accountObject';\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'SellerSettingsIntegrations',\n computed: {\n currentAccount() {\n return this.$store.getters['accounts/currentAccount'] as AccountObject;\n },\n showUpgradeOption(): boolean {\n return (\n this.currentAccount.currentPlan === 'Basic' ||\n !this.currentAccount.currentPlan\n );\n },\n shopifyButtonLabel(): string {\n return this.showUpgradeOption\n ? 'Upgrade'\n : this.currentAccount.isShopifyConnected\n ? 'Manage'\n : 'Connect';\n }\n },\n methods: {\n async connectShopify() {\n if (this.showUpgradeOption) {\n this.$router.replace({\n name: 'seller-settings',\n query: { tab: 'paymentPlans' }\n });\n } else {\n await this.$router.push({ name: 'shopify-integration' });\n }\n }\n }\n});\n","import { render } from \"./SellerSettingsIntegrations.vue?vue&type=template&id=79a54722&scoped=true&ts=true\"\nimport script from \"./SellerSettingsIntegrations.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettingsIntegrations.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerSettingsIntegrations.vue?vue&type=style&index=0&id=79a54722&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-79a54722\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4a0a8120\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_2 = { class: \"w-100 flex t-12 no-pad desktop-top-border\" }\nconst _hoisted_3 = { class: \"plan-container\" }\nconst _hoisted_4 = { class: \"plan-label plan-label__plus\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-name\" }, \"Plus\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"plan-list plan-list__plus\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\"Everything from \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Basic\")\n ]),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Integrations\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Later App\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Customizations\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Up to 3 Users\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"3% + merchant fee\")\n], -1))\nconst _hoisted_7 = { class: \"plan-action\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"strong\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-container\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"plan-label\" }, \" \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-name\" }, \"Pro\"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"plan-list plan-list__pro\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\"Everything from \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Plus\")\n ]),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Advocates\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Share App\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Dropshop\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Up to 8 Users\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"2% + merchant fee\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-action\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"strong\" }, \" \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n \"data-tf-popup\": \"EHHeyz3P\",\n \"data-tf-auto-close\": \"\",\n \"data-tf-iframe-props\": \"title=Contact Us\",\n \"data-tf-medium\": \"snippet\",\n style: {\"color\":\"#0655f5\",\"text-decoration\":\"none\",\"font-size\":\"14px\",\"cursor\":\"pointer\"}\n }, \"Request Beta Access\")\n ])\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-container\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"plan-label\" }, \" \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-name\" }, \"Enterprise\"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"plan-list plan-list__enterprise\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\"Everything from \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Plus & Pro\")\n ]),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Marketplace\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Embed App\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"API\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Dedicated Support\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Unlimited Users\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"1% + merchant fee\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"plan-action\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"strong\" }, \" \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n \"data-tf-popup\": \"EHHeyz3P\",\n \"data-tf-auto-close\": \"\",\n \"data-tf-iframe-props\": \"title=Contact Us\",\n \"data-tf-medium\": \"snippet\",\n style: {\"color\":\"#0655f5\",\"text-decoration\":\"none\",\"font-size\":\"14px\",\"cursor\":\"pointer\"}\n }, \"Request Beta Access\")\n ])\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInfoCard = _resolveComponent(\"BoostInfoCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Plans & Billing\",\n \"is-compact\": false\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BoostCard, {\n class: \"t-6 border-right\",\n title: \"Current Plan\",\n message: _ctx.currentAccount.currentPlan || 'Basic'\n }, null, 8, [\"message\"]),\n _createVNode(_component_BoostCard, {\n class: \"t-6 border-right\",\n title: \"Users on account\",\n message: `${_ctx.currentAccount.usersCount || 1}`\n }, null, 8, [\"message\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostInfoCard, { class: \"t-4 mob-12 border-right bottom-border\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.currentAccount.currentPlan === 'Plus' ? 'Active' : 'Most Popular'), 1),\n _hoisted_5,\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.currentAccount.currentPlan !== 'Plus')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \" $49 per month \"))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n type: \"button\",\n \"button-style\": \n _ctx.currentAccount.currentPlan === 'Plus' ? 'optional' : 'primary'\n ,\n label: \n _ctx.currentAccount.currentPlan === 'Plus'\n ? 'Manage Plan'\n : 'Upgrade Plan'\n ,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.selectPlan('Plus')))\n }, null, 8, [\"button-style\", \"label\"])\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostInfoCard, { class: \"t-4 mob-12 border-right bottom-border\" }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_BoostInfoCard, { class: \"t-4 mob-12 border-right bottom-border\" }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n })\n ])\n ], 64))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\n\nconst SellerSettingsPaymentPlans = defineComponent({\n name: 'SellerSettingsShopify',\n emits: ['plan-upgraded'],\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n async mounted() {\n const typeFormScript = document.createElement('script');\n typeFormScript.setAttribute(\n 'src',\n 'https://embed.typeform.com/next/embed.js'\n );\n document.head.appendChild(typeFormScript);\n const sessionId = this.$route.query.session_id as string;\n if (sessionId) {\n // Call API to handle stripe session id being passed back from stripe\n this.setLoading(true);\n const stripeResult = await FirebaseRequest.createRequest<{\n plan: string;\n }>(FirebaseRequestTypes.COMPLETE_SUBSCRIPTION_PORTAL_STRIPE, {\n accountId: this.currentAccount.accountId,\n sessionId\n });\n this.setLoading(false);\n if (\n stripeResult.status === APIResponseStatus.OK &&\n stripeResult.data?.plan\n ) {\n this.currentAccount.currentPlan = stripeResult.data.plan;\n //Clear the subscription id from the query string\n const query = Object.assign({}, this.$route.query);\n delete query.session_id;\n await this.$router.replace({ query });\n this.$store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_SETTINGS_PLAN_UPGRADE,\n type: BannerType.success\n });\n this.$emit('plan-upgraded');\n }\n }\n },\n methods: {\n ...mapMutations({\n setLoading: 'global/setLoading',\n setBannerStatus: 'global/setBannerStatus'\n }),\n async selectPlan(plan: string) {\n this.setLoading(true);\n const stripeResult = await FirebaseRequest.createRequest<{\n portalUrl: string;\n }>(FirebaseRequestTypes.GET_SUBSCRIPTION_PORTAL_STRIPE, {\n accountId: this.currentAccount.accountId,\n plan\n });\n\n if (\n stripeResult.status === APIResponseStatus.OK &&\n stripeResult.data?.portalUrl\n ) {\n window.location.assign(stripeResult.data?.portalUrl);\n } else {\n this.setLoading(false);\n }\n }\n }\n});\n\nexport default SellerSettingsPaymentPlans;\n","import { render } from \"./SellerSettingsPaymentPlans.vue?vue&type=template&id=4a0a8120&scoped=true&ts=true\"\nimport script from \"./SellerSettingsPaymentPlans.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettingsPaymentPlans.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerSettingsPaymentPlans.vue?vue&type=style&index=0&id=4a0a8120&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4a0a8120\"]])\n\nexport default __exports__","\nimport { defineComponent, PropType } from 'vue';\nimport { SettingsType } from '@/seller/settings/SellerSettingsInterfaces';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { ImageFilePreviewedEvent } from '@/common/controls/BoostImageUpload.vue';\nimport { mapMutations } from 'vuex';\nimport ManageUsers from './ManageUsers.vue';\nimport SellerSettingsCustom from '@/seller/settings/SellerSettingsCustom.vue';\nimport SellerSettingsIntegrations from './SellerSettingsIntegrations.vue';\nimport SellerSettingsPaymentPlans from './SellerSettingsPaymentPlans.vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport {\n SellerBusinessSettings,\n SellerCustomSettings,\n SellerShippingSettings\n} from '@/seller/settings/SellerSettingsInterfaces';\nimport Helpers from '@/helpers';\nimport { AccountObject, AccountPlan } from '@/models/accountObject';\n\ninterface MenuItems {\n id: string;\n label: string;\n plan: AccountPlan;\n}\n\nexport default defineComponent({\n name: 'SellerSettingsAccount',\n components: {\n ManageUsers,\n SellerSettingsCustom,\n SellerSettingsIntegrations,\n SellerSettingsPaymentPlans\n },\n props: {\n accountSettings: {\n type: Object as PropType,\n required: true\n },\n customSettings: {\n type: Object as PropType,\n required: true\n },\n shippingSettings: {\n type: Object as PropType,\n required: true\n },\n saveButtonLoadingState: {\n type: String,\n required: true\n },\n disconnectStripeButtonLoadingState: {\n type: String,\n required: true\n }\n },\n emits: [\n 'cancelUpdateSellerSettings',\n 'updateSellerSettings',\n 'disconnectFromStripe',\n 'connectToStripe',\n 'changePassword'\n ],\n data() {\n return {\n newEmail: '',\n brandTag: '',\n settingType: SettingsType.BUSINESS,\n password: '',\n showPasswordModal: false,\n logoChanged: false,\n selectedMenu: 'account',\n refundPolicyIsLink: true,\n menuItems: [\n {\n label: 'Account',\n id: 'account',\n plan: 'Basic'\n },\n {\n label: 'Users',\n id: 'users',\n plan: 'Plus'\n },\n {\n label: 'Customizations',\n id: 'custom',\n plan: 'Plus'\n },\n {\n label: 'Stripe',\n id: 'stripe',\n plan: 'Basic'\n },\n {\n label: 'Plans & Billing',\n id: 'paymentPlans',\n plan: 'Basic'\n },\n {\n label: 'Integrations',\n id: 'integrations',\n plan: 'Basic'\n }\n ] as MenuItems[]\n };\n },\n computed: {\n canDeactivateAccount(): boolean {\n return this.brandTag === this.accountSettings.hashTagPrefix;\n },\n currentAccount() {\n return this.$store.getters['accounts/currentAccount'] as AccountObject;\n },\n currentPlanMenuItems() {\n return this.menuItems.filter((menuItem) =>\n Helpers.currentPlanHasAccess(\n menuItem.plan,\n this.currentAccount.currentPlan\n )\n );\n }\n },\n watch: {\n '$route.query.tab': function (newTabName) {\n this.selectTabById(newTabName);\n }\n },\n mounted() {\n if (this.$route.query.tab) {\n this.selectTabById(this.$route.query.tab as string);\n }\n },\n methods: {\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus'\n }),\n logoUploaded(event: ImageFilePreviewedEvent) {\n this.accountSettings.logoUrl = event.data;\n this.logoChanged = true;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_BRAND_IMAGE_UPLOADED,\n type: BannerType.success\n });\n },\n cancelSellerSettings() {\n this.$emit('cancelUpdateSellerSettings');\n },\n commitChanges() {\n this.logoChanged = false;\n this.$emit('updateSellerSettings', {\n type: this.settingType,\n data: {\n accountSettings: this.accountSettings,\n shippingSettings: this.shippingSettings\n }\n });\n },\n async changeEmail() {\n const currentAccount = this.$store.state.accounts.currentAccount;\n if (currentAccount) {\n await this.$store\n .dispatch('auth/updateSellerEmail', {\n newEmail: this.newEmail,\n oldEmail: currentAccount?.email,\n password: this.password\n })\n .then(async (success: boolean) => {\n if (success) {\n // Update the account firebase table with the new email\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_SELLER_ACCOUNT,\n {\n accountId: currentAccount.accountId,\n updateEmailOnly: true,\n email: this.newEmail\n }\n );\n\n // Update the store account email\n currentAccount.email = this.newEmail;\n\n this.accountSettings.email = this.newEmail;\n this.newEmail = '';\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_PASSWORD_EMAIL_SENT,\n type: BannerType.info\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_INVALID_EMAIL,\n type: BannerType.error\n });\n }\n });\n }\n this.showPasswordModal = false;\n },\n goBack() {\n this.$router.push({\n name: 'seller-home'\n });\n },\n scrollToTop() {\n window.scroll({\n top: 0,\n behavior: 'smooth'\n });\n },\n selectTabById(tabId: string): void {\n if (!tabId) return;\n\n const foundTab = this.menuItems.find((m) => m.id === tabId);\n if (foundTab) {\n this.selectedMenu = foundTab.id;\n return;\n }\n\n // as a fallback, if an invalid tab name is given, go to first tab.\n this.selectedMenu = this.menuItems[0].id;\n },\n navigateToTab(tabId: string) {\n this.$router.replace({\n name: 'seller-settings',\n query: { tab: tabId }\n });\n }\n }\n});\n","import { render } from \"./SellerSettingsAccount.vue?vue&type=template&id=26843d7e&scoped=true&ts=true\"\nimport script from \"./SellerSettingsAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettingsAccount.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerSettingsAccount.vue?vue&type=style&index=0&id=26843d7e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-26843d7e\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport settings from '@/settings';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { PartialAccount } from '@/models/account';\nimport { store } from '@/store';\nimport { auth } from '@/store/auth';\nimport { uploadImage } from '@/../dataService/cloudinary';\nimport {\n AllSellerSettings,\n SellerBusinessSettings,\n SellerCustomSettings,\n SellerShippingSettings\n} from '@/seller/settings/SellerSettingsInterfaces';\nimport SellerSettingsAccount from './SellerSettingsAccount.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport Helpers from '@/helpers';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { mapMutations } from 'vuex';\nimport { AccountObject } from '@/models/accountObject';\n\nexport default defineComponent({\n components: {\n SellerSettingsAccount\n },\n data() {\n return {\n saveButtonLoadingState: ButtonLoadingState.initial,\n disconnectStripeButtonLoadingState: ButtonLoadingState.initial,\n settingsCurrentTab: 0,\n\n accountSettings: {\n companyName: '',\n companyEmail: '',\n companyNumber: '',\n companyZipCode: '',\n refundPolicy: '',\n hashTagPrefix: '',\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n logoUrl: require('../../assets/default-product.jpg') as string,\n isConnectedToStripe: false,\n accountHolderLastName: '',\n accountHolderFirstName: ''\n } as SellerBusinessSettings,\n shippingSettings: {\n companyName: '',\n companyAddress1: '',\n companyAddress2: '',\n companyCity: '',\n companyState: '',\n companyZipCode: '',\n companyCountry: 'United States'\n } as SellerShippingSettings,\n customSettings: {} as SellerCustomSettings\n };\n },\n compatConfig: { WATCH_ARRAY: false },\n computed: {\n account(): AccountObject {\n // eslint-disable-next-line\n // @ts-ignore\n const account: AccountObject = this.$store.state.accounts.currentAccount;\n if (!account.logoUrl) {\n account.logoUrl = require('../../assets/default-product.jpg');\n }\n return account;\n },\n isSuperAdmin(): boolean {\n return auth.state.isSuperAdmin;\n }\n },\n\n watch: {\n account(newValue) {\n if (newValue !== null) {\n this.initializeData();\n }\n }\n },\n\n async created() {\n if (this.account) {\n this.initializeData();\n if (\n this.$route.query.callback &&\n this.$route.query.callback === 'stripe_callback'\n ) {\n await this.handleStripeCallback();\n }\n }\n },\n\n methods: {\n ...mapMutations('accounts', ['setCurrentAccount']),\n ...mapMutations('auth', ['setImpersonating']),\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus'\n }),\n setCurrentTab(currentTab: number) {\n this.settingsCurrentTab = currentTab;\n },\n initializeData() {\n this.accountSettings.logoUrl = this.account.logoUrl || '';\n this.accountSettings.email = this.account.email;\n this.accountSettings.companyEmail = this.account.orderEmail || '';\n this.accountSettings.companyNumber = this.account.phone || '';\n this.accountSettings.companyZipCode = this.account.postalCode || '';\n this.accountSettings.companyName = this.account.name;\n this.accountSettings.refundPolicy = this.account.refundPolicy || '';\n this.accountSettings.hashTagPrefix = Helpers.formatHashTag(\n this.account.hashtagPrefix\n );\n this.accountSettings.isConnectedToStripe = this.account.isStripeConnected;\n this.accountSettings.accountHolderFirstName = this.account.firstName;\n this.accountSettings.accountHolderLastName = this.account.lastName;\n\n if (this.account.shippingAddress) {\n this.shippingSettings.companyName = this.account.name;\n this.shippingSettings.companyAddress1 =\n this.account.shippingAddress.address1 || '';\n this.shippingSettings.companyAddress2 =\n this.account.shippingAddress.address2 || '';\n this.shippingSettings.companyCity =\n this.account.shippingAddress.city || '';\n this.shippingSettings.companyState =\n this.account.shippingAddress.state || '';\n this.shippingSettings.companyZipCode =\n this.account.shippingAddress.postalCode || '';\n this.shippingSettings.companyCountry =\n this.account.shippingAddress.country || 'United States';\n }\n\n this.customSettings.metaPixel = this.account.metaPixel || '';\n this.customSettings.customColor = this.account.customColor || '';\n },\n async disableAccount() {\n const r = confirm('Are you sure you wish to disable your account?');\n if (r !== true) {\n return;\n }\n\n const accountId =\n this.$store.state.accounts.currentAccount?.accountId || '';\n try {\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.DISABLE_SELLER_ACCOUNT,\n {\n accountId\n }\n );\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_ACCOUNT_DISABLED,\n type: BannerType.info\n });\n\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n { accountId }\n );\n store.commit('accounts/setCurrentAccount', result.data);\n } catch {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n async cancelUpdateSellerSettings() {\n await this.$router.push({ name: 'seller-home' });\n },\n async updateSellerSettings(sellerSettings: AllSellerSettings) {\n // TODO: This needs to be changed to a function call instead of direct db access\n this.saveButtonLoadingState = ButtonLoadingState.loading;\n\n this.accountSettings = sellerSettings.data.accountSettings;\n this.shippingSettings = sellerSettings.data.shippingSettings;\n\n const accountId =\n this.$store.state.accounts.currentAccount?.accountId || '';\n if (\n this.accountSettings.logoUrl != null &&\n /^data:image\\/.*?;base64,/.test(this.accountSettings.logoUrl)\n ) {\n // We have to write this image to the database and replace it with the URL\n this.accountSettings.logoUrl = await uploadImage(\n this.accountSettings.logoUrl\n );\n }\n\n // TODO: remove unnecessary fields from model\n const tempAccount = {\n accountId,\n name: this.accountSettings.companyName,\n hashtagPrefix: this.account.hashtagPrefix,\n phone: this.accountSettings.companyNumber,\n orderEmail: this.accountSettings.companyEmail,\n postalCode: this.accountSettings.companyZipCode,\n shippingAddress: {\n firstName: this.shippingSettings.companyName,\n address1: this.shippingSettings.companyAddress1,\n address2: this.shippingSettings.companyAddress2,\n city: this.shippingSettings.companyCity,\n state: this.shippingSettings.companyState,\n postalCode: this.shippingSettings.companyZipCode,\n country: this.shippingSettings.companyCountry\n },\n refundPolicy: this.accountSettings.refundPolicy,\n logoUrl: this.accountSettings.logoUrl,\n accountHolderLastName: this.accountSettings.accountHolderLastName,\n accountHolderFirstName: this.accountSettings.accountHolderFirstName,\n metaPixel: this.customSettings.metaPixel,\n customColor: this.customSettings.customColor\n } as PartialAccount;\n\n const updateResult = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_SELLER_ACCOUNT,\n { accountUpdate: tempAccount, accountId }\n );\n if (updateResult.status === APIResponseStatus.OK) {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n { accountId }\n );\n store.commit('accounts/setCurrentAccount', result.data);\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.saveButtonLoadingState = ButtonLoadingState.complete;\n },\n connectToStripe() {\n const accountId =\n this.$store.state.accounts.currentAccount?.accountId || '';\n const stripeAppId = settings.STRIPE_APP_ID;\n const callBackURL =\n location.origin + '/store/settings?callback=stripe_callback';\n window.location.href = `https://connect.stripe.com/oauth/authorize?response_type=code&client_id=${stripeAppId}&scope=read_write&state=${accountId}&redirect_uri=${callBackURL}`;\n },\n async disconnectFromStripe() {\n this.disconnectStripeButtonLoadingState = ButtonLoadingState.loading;\n const accountId =\n this.$store.state.accounts.currentAccount?.accountId || '';\n const stripeResult = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.DISCONNECT_STRIPE,\n { accountId }\n );\n\n if (stripeResult.status === APIResponseStatus.OK) {\n // Reload the account with the removed stripe credentials\n await this.$store.dispatch('accounts/loadAccounts').then(() => {\n const account = this.$store.state.accounts.currentAccount;\n if (account) {\n this.$nextTick(() => {\n this.accountSettings.isConnectedToStripe = false;\n account.stripeCredentials = '';\n });\n }\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_SETTINGS_STRIPE_NOT_CONNECTED,\n type: BannerType.stripeWarning\n });\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR,\n type: BannerType.error\n });\n }\n this.disconnectStripeButtonLoadingState = ButtonLoadingState.complete;\n },\n changePassword() {\n this.$store\n .dispatch('auth/forgotPassword', {\n email: this.$store.state.accounts.currentAccount?.email\n })\n .then((success: boolean) => {\n if (success) {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_PASSWORD_EMAIL_SENT,\n type: BannerType.info\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n });\n },\n\n async handleStripeCallback() {\n try {\n if (this.isSuperAdmin && this.$route.query.state) {\n const accountId = this.$route.query.state as string;\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n { accountId }\n );\n this.setCurrentAccount(result.data);\n this.setImpersonating(true);\n }\n const code = this.$route.query.code;\n const accountId = this.$store.state.accounts.currentAccount?.accountId;\n store.commit('global/setLoading', true);\n const stripeResult = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CONNECT_STRIPE,\n { accountId, code }\n );\n\n if (stripeResult.status === APIResponseStatus.OK) {\n // Reload the account with the updated stripe credentials\n await this.$store.dispatch('accounts/loadAccounts').then(() => {\n this.$nextTick(\n () => (this.accountSettings.isConnectedToStripe = true)\n );\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_RECONNECTED,\n type: BannerType.success\n });\n // remove stripe callback params from query string\n this.$router.replace({ query: {} });\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR,\n type: BannerType.error\n });\n }\n } catch (ex) {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR + ex,\n type: BannerType.error\n });\n }\n store.commit('global/setLoading', false);\n }\n }\n});\n","import { render } from \"./SellerSettings.vue?vue&type=template&id=35f3ef60&ts=true\"\nimport script from \"./SellerSettings.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettings.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-85ceb33c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_2 = { class: \"flex flex--row flex--full-width justify--end no-pad standard-margins\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Orders\", -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"flex t-6 d-3 no-pad\"\n}\nconst _hoisted_5 = { class: \"flex--grow no-pad mobile-margin\" }\nconst _hoisted_6 = { class: \"t-12 flex--full-width no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_OrdersList = _resolveComponent(\"OrdersList\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filterOptions, (filter, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createVNode(_component_BoostButton, {\n label: filter.name,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.searchObject.filterValue === filter.value\n }),\n onClick: ($event: any) => (_ctx.searchObject.filterValue = filter.value)\n }, null, 8, [\"label\", \"class\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: _ctx.searchObject.filterValue + ' Orders',\n message: \"View incoming orders, send tracking information or issue refunds to customers.\"\n }, null, 8, [\"title\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_3\n ])),\n (_ctx.transactionCount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.searchObject.sortBy,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchObject.sortBy) = $event)),\n options: _ctx.sortOptions,\n value: _ctx.searchObject.sortBy,\n \"input-id\": \"select-sort-option\"\n }, null, 8, [\"modelValue\", \"options\", \"value\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_OrdersList, {\n ref: \"ordersList\",\n \"filtered-count\": _ctx.transactionCount,\n \"onUpdate:filtered-count\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.transactionCount) = $event)),\n \"search-input\": _ctx.searchObject\n }, null, 8, [\"filtered-count\", \"search-input\"])\n ])\n ])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/no-results.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3f9f0fbc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"t-12 no-pad flex--full-width\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1))\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://support.tagscommerce.com/hc/en-us/articles/360045807974-Managing-Orders\",\n target: \"_blank\"\n}, \"Learn more -->\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_OrdersListView = _resolveComponent(\"OrdersListView\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle({\n display: _ctx.tableFilteredTransactionData?.length ? 'unset' : 'none'\n }),\n class: \"t-12 no-pad\"\n }, [\n _createVNode(_component_OrdersListView, { transactions: _ctx.tableFilteredTransactionData }, null, 8, [\"transactions\"])\n ], 4),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\n display: _ctx.tableFilteredTransactionData?.length ? 'none' : 'block'\n }, {\"margin\":\"auto\"}]),\n class: \"t-6\"\n }, [\n _hoisted_2,\n _hoisted_3,\n (_ctx.type === 'Tip')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, \" A list of all of your payments and their statuses will appear here. You can easily filter payments, process refunds and more. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_5, \" Orders for your products or services will appear here. You can change the status of order, notify customers and export the data. Visit our help section to learn more. \")),\n _hoisted_6\n ], 4)\n ]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport _imports_0 from '../../assets/receipt.svg'\n\n\nconst _hoisted_1 = { class: \"t-12 no-pad\" }\nconst _hoisted_2 = { class: \"flex--full-width\" }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"receipt icon\"\n}, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 2 }\nconst _hoisted_8 = { key: 3 }\nconst _hoisted_9 = { key: 4 }\nconst _hoisted_10 = { key: 5 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostTable, {\n rows: _ctx.transactions,\n columns: _ctx.columns,\n \"click-id\": \"transactionId\",\n onAction: _ctx.viewOrder\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'orderNo')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(data.row.userTransactionId), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'customer')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(data.row.shippedToFirstName) + \" \" + _toDisplayString(data.row.shippedToLastName), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'amount')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.formatCurrency(data.row.charges?.total || 0)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'date')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(_ctx.processDate(data.row.created)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill\", {\n 'pill-pending': data.row.status === _ctx.OrderStatus.pending,\n 'pill-positive': data.row.status === _ctx.OrderStatus.fulfilled,\n 'pill-failed': data.row.status === _ctx.OrderStatus.refunded,\n 'pill-negative': data.row.status === _ctx.OrderStatus.failed\n }])\n }, _toDisplayString(_ctx.getShippingStatusLabel(data.row.status)), 3)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { OrderStatus, SellerOrder } from '@/../models/sellerOrder';\nimport { TagType } from '@/../enums/tagType';\nimport { mapGetters } from 'vuex';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\n\nexport default defineComponent({\n name: 'OrdersListView',\n components: {},\n props: {\n transactions: {\n type: Array as () => SellerOrder[],\n required: true\n },\n limit: {\n type: Number,\n required: false\n }\n },\n data() {\n return {\n TagType,\n OrderStatus,\n columns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'orderNo',\n label: 'Order No'\n },\n {\n id: 'customer',\n label: 'Customer'\n },\n {\n id: 'amount',\n label: 'Amount'\n },\n {\n id: 'date',\n label: 'Date'\n },\n {\n id: 'badges',\n label: 'Status'\n }\n ] as ColumnItem[]\n };\n },\n\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n async mounted() {\n if (!this.currentAccount) {\n return;\n }\n },\n\n methods: {\n viewOrder(orderId: string) {\n this.$router.push({ path: `/store/orders/${orderId}` });\n },\n processDate(date: number) {\n return Helpers.processDate(date);\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n },\n getShippingStatusLabel(status: OrderStatus) {\n return Helpers.getOrderStatusLabel(status);\n }\n }\n});\n","import { render } from \"./OrdersListView.vue?vue&type=template&id=1223d6e0&ts=true\"\nimport script from \"./OrdersListView.vue?vue&type=script&lang=ts\"\nexport * from \"./OrdersListView.vue?vue&type=script&lang=ts\"\n\nimport \"./OrdersListView.vue?vue&type=style&index=0&id=1223d6e0&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '../../firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport Helpers from '@/helpers';\nimport { SellerOrder } from '@/models/sellerOrder';\nimport { Charges } from '@/models/charges';\nimport { mapGetters, mapMutations } from 'vuex';\nimport OrdersListView from './OrdersListView.vue';\nimport { TagType } from '@/../enums/tagType';\nimport { store } from '@/store';\n\nexport interface OrderSearch {\n searchValue: string;\n filterValue: string;\n sortBy: string;\n}\n\nexport default defineComponent({\n name: 'OrdersList',\n components: {\n OrdersListView\n },\n props: {\n limit: {\n type: Number,\n required: false\n },\n filteredCount: {\n type: Number\n },\n searchInput: {\n type: Object as () => OrderSearch,\n required: true\n },\n type: {\n type: String,\n required: false\n }\n },\n emits: ['update:filteredCount'],\n data() {\n return {\n tableTransactionData: [] as SellerOrder[],\n loadingExport: ButtonLoadingState.initial\n };\n },\n\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n }),\n tableFilteredTransactionData(): SellerOrder[] {\n const t = this.tableTransactionData\n .filter(this.filterTransactionList)\n .sort(this.sortTransactionList) as SellerOrder[];\n this.setOrderedIds(t.map((x) => x.transactionId));\n this.$emit('update:filteredCount', t.length);\n return t;\n }\n },\n async mounted() {\n if (!this.currentAccount) {\n return;\n }\n await this.getTransactions();\n this.$watch(() => this.$route.params, this.getTransactions);\n },\n\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('orders', ['setOrderedIds']),\n\n viewOrder(orderId: string) {\n this.$router.push({ path: `/store/orders/${orderId}` });\n },\n processDate(date: number) {\n return Helpers.processDate(date);\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n\n async exportOrdersToCSV() {\n this.loadingExport = ButtonLoadingState.loading;\n // Shopify CSV format\n let csv =\n 'Name,Email,Financial Status,Fulfillment Status,Currency,Buyer Accepts Marketing,Cancel Reason,Cancelled At,Closed At,Tags,Note,' +\n 'Phone,Referring Site,Processed At,Source name,Total weight,Total Tax,' +\n 'Shipping Company,Shipping Name,Shipping Phone,Shipping First Name,Shipping Last Name,Shipping Address1,Shipping Address2,Shipping City,Shipping Province,Shipping Province Code,Shipping Zip,Shipping Country,Shipping Country Code,' +\n 'Billing Company,Billing Name,Billing Phone,Billing First Name,Billing Last Name,Billing Address1,Billing Address2,Billing City,Billing Province,Billing Province Code,Billing Zip,Billing Country,Billing Country Code,' +\n 'Lineitem name,Lineitem variant id,Lineitem quantity,Lineitem price,Lineitem variant title,Lineitem compare at price,Lineitem sku,Lineitem requires shipping,Lineitem taxable,Lineitem fulfillment status,' +\n 'Taxes Included,Tax 1 Title,Tax 1 Price,Tax 1 Rate,Tax 2 Title,Tax 2 Price,Tax 2 Rate,Tax 3 Title,Tax 3 Price,Tax 3 Rate,' +\n 'Transaction Amount, Transaction Kind, Transaction Status,Transaction Processed At, Transaction Gateway,Transaction Location Id,Transaction Source Name,' +\n 'Shipping Line Code,Shipping Line Price,Shipping Line Source,Shipping Line Title,Shipping Line Carrier Identifier,Shipping Line Requested Fulfillment Service Id,Shipping Tax 1 Title,Shipping Tax 1 Rate,Shipping Tax 1 Price,' +\n 'Discount Code,Discount Amount,Discount Type,Metafield Namespace,Metafield Key,Metafield Value,Metafield Value Type\\n';\n\n const tableData = this.tableFilteredTransactionData;\n\n if (tableData) {\n document.body.style.cursor = 'wait';\n try {\n // construct the CSV data\n tableData.forEach((t: SellerOrder) => {\n csv +=\n `${t.userTransactionId},${t.userEmail},paid,${\n t.fulfilled ? 'fulfilled' : ''\n },${t.stripeDetails ? t.stripeDetails.currency : ''},,,,,,,` +\n `,,${t.created},,\"${t.productWeight}\",${\n t.charges ? t.charges.tax : 0\n },` +\n `\"${t.userCarrier}\",,,\"${t.shippedToFirstName}\",\"${t.shippedToLastName}\",\"${t.shippedToAddress1}\",\"\",\"${t.shippedToCity}\",\"${t.shippedToState}\",,${t.shippedToPostalCode},USA,,` +\n `,,,,,,,,,,${\n t.stripeDetails &&\n t.stripeDetails.billing_details &&\n t.stripeDetails.billing_details.address &&\n t.stripeDetails.billing_details.address.postal_code\n ? t.stripeDetails.billing_details.address.postal_code\n : ''\n },,,` +\n `\"${t.productHashtag}\",,1,${t.charges ? t.charges.price : 0},,,\"${\n t.sku\n }\",,,${t.fulfilled ? 'fulfilled' : ''},` +\n ',,,,,,,,,,' +\n `${t.charges ? t.charges.total : 0},sale,${\n t.stripeDetails ? t.stripeDetails.status : ''\n },${t.stripeDetails ? t.stripeDetails.created : ''},,,,` +\n `,${t.charges ? t.charges.shipping : 0},,,${\n t.userCarrier ? t.userCarrier : ''\n },${t.userTrackingNo ? t.userTrackingNo : ''},,,,` +\n ',,,,,,' +\n '\\n';\n });\n\n const filename = `${this.currentAccount.name} - Orders.csv`;\n const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n\n link.setAttribute('href', url);\n link.setAttribute('download', filename);\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n } catch (e) {\n // tslint:disable-next-line:no-console\n console.log(e);\n\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.loadingExport = ButtonLoadingState.complete;\n }\n\n document.body.style.cursor = 'default';\n },\n\n async getTransactions() {\n this.setLoading(true);\n const query = this.$route.query;\n const params = {\n accountId: this.currentAccount.accountId,\n productSource: this.productSource,\n userId: query.userId // If no query.userId, this property will be undefined\n };\n\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_ORDERS,\n params\n );\n if (results.status === APIResponseStatus.OK) {\n this.tableTransactionData =\n (this.type as TagType) === TagType.TIP\n ? (results.data || []).filter((x) => x.type === TagType.TIP)\n : results.data || [];\n if (this.limit) {\n this.tableTransactionData = this.tableTransactionData.slice(\n 0,\n this.limit\n );\n }\n }\n\n // this.tableFilteredTransactionData = this.tableTransactionData;\n // this.filterTransactionList();\n this.setLoading(false);\n },\n\n sortTransactionList(a: SellerOrder, b: SellerOrder): number {\n const getTime = (d?: string) => {\n return d != null ? new Date(d).getTime() : 0;\n };\n const getAmount = (c?: Charges) => {\n return c != null && c.total ? c.total : 0;\n };\n\n let results = 0;\n\n if (this.searchInput.sortBy) {\n if (a && b) {\n switch (this.searchInput.sortBy) {\n case 'NameAsc':\n results = a.productTitle.localeCompare(b.productTitle);\n break;\n case 'NameDesc':\n results = b.productTitle.localeCompare(a.productTitle);\n break;\n case 'Amount':\n results = getAmount(b.charges) - getAmount(a.charges);\n break;\n case 'AmountAsc':\n results = getAmount(a.charges) - getAmount(b.charges);\n break;\n case 'Date':\n results = getTime(b.created) - getTime(a.created);\n break;\n case 'DateAsc':\n results = getTime(a.created) - getTime(b.created);\n break;\n default:\n results = 1;\n }\n }\n }\n return results;\n },\n\n filterTransactionList(sellerOrder: SellerOrder) {\n let filterResults = true;\n\n if (this.type === TagType.TIP) {\n switch (this.searchInput.filterValue) {\n case 'Received':\n filterResults =\n !sellerOrder.refunded && sellerOrder.type === TagType.TIP;\n break;\n case 'Refunded':\n filterResults =\n !!sellerOrder.refunded && sellerOrder.type === TagType.TIP;\n break;\n default:\n filterResults = sellerOrder.type === TagType.TIP;\n }\n } else {\n switch (this.searchInput.filterValue) {\n case 'Fulfilled':\n filterResults = this.filterTransactionsByFulfilled(sellerOrder);\n break;\n case 'Refunded':\n filterResults = this.filterTransactionsByRefunds(sellerOrder);\n break;\n case 'Pending':\n filterResults = this.filterTransactionByWaiting(sellerOrder);\n break;\n default:\n filterResults = true; // All\n }\n }\n\n if (this.searchInput.searchValue) {\n filterResults =\n filterResults && this.filterTransactionsBySearchValue(sellerOrder);\n }\n return filterResults;\n },\n\n filterTransactionsByFulfilled(transaction: SellerOrder): boolean {\n // return true if transaction has been fulfilled, false otherwise\n return !!transaction.fulfilled && transaction.type === TagType.PRODUCT;\n },\n\n filterTransactionsByRefunds(transaction: SellerOrder): boolean {\n // return true if transaction has been refunded, false otherwise\n return !!transaction.refunded && transaction.type === TagType.PRODUCT;\n },\n\n filterTransactionsByTips(transaction: SellerOrder): boolean {\n // return true if transaction has been refunded, false otherwise\n return transaction.type === TagType.TIP;\n },\n\n filterTransactionByWaiting(transaction: SellerOrder): boolean {\n // return false if transaction has benn fulfilled or refunded, true otherwise\n return (\n !transaction.refunded &&\n !transaction.fulfilled &&\n transaction.type === TagType.PRODUCT\n );\n },\n\n filterTransactionsBySearchValue(transaction: SellerOrder) {\n const searchValue = this.searchInput.searchValue.toLocaleLowerCase();\n const productTitle = transaction.productTitle?.toLocaleLowerCase() || '';\n const firstName = transaction.shippedToFirstName\n ? transaction.shippedToFirstName.toLowerCase()\n : '';\n const lastName = transaction.shippedToLastName\n ? transaction.shippedToLastName.toLowerCase()\n : '';\n const via = transaction.provider\n ? transaction.provider.toLowerCase()\n : '';\n const date = transaction.created\n ? new Date(transaction.created).toLocaleDateString()\n : '';\n const hashtag = transaction.productHashtag\n ? transaction.productHashtag.toLowerCase()\n : '';\n const userTransactionId = transaction.userTransactionId\n ? transaction.userTransactionId\n : '';\n const amount = transaction.charges\n ? Helpers.currencyFormatter(transaction.charges.price)\n : '';\n\n if (searchValue.length > 0) {\n const searchComponents = searchValue.split(' ');\n let value;\n\n for (value of searchComponents) {\n if (\n !firstName.includes(value) &&\n !lastName.includes(value) &&\n !date.includes(value) &&\n !hashtag.includes(value) &&\n !productTitle.includes(value) &&\n !userTransactionId.includes(value) &&\n !via.includes(value) &&\n !amount.includes(value)\n ) {\n return false;\n }\n }\n }\n return true;\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n }\n }\n});\n","import { render } from \"./OrdersList.vue?vue&type=template&id=3f9f0fbc&scoped=true&ts=true\"\nimport script from \"./OrdersList.vue?vue&type=script&lang=ts\"\nexport * from \"./OrdersList.vue?vue&type=script&lang=ts\"\n\nimport \"./OrdersList.vue?vue&type=style&index=0&id=3f9f0fbc&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3f9f0fbc\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { OrderSearch } from './OrdersList.vue';\nimport OrdersList from './OrdersList.vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n name: 'OrdersRoot',\n components: {\n OrdersList\n },\n data() {\n return {\n searchObject: {\n filterValue: 'All',\n sortBy: 'Date',\n searchValue: ''\n } as OrderSearch,\n transactionCount: 0,\n filterOptions: [\n { name: 'All', value: 'All' },\n { name: 'Pending', value: 'Pending' },\n { name: 'Fulfilled', value: 'Fulfilled' },\n { name: 'Refunded', value: 'Refunded' }\n ],\n sortOptions: [\n { name: 'Most Recent', value: 'Date' },\n { name: 'Least Recent', value: 'DateAsc' },\n { name: 'Sales Highest', value: 'Amount' },\n { name: 'Sales Lowest', value: 'AmountAsc' },\n { name: 'Name', value: 'Name' }\n ]\n };\n },\n computed: {\n ...mapGetters({\n getSearchText: 'global/getSearchText'\n })\n },\n watch: {\n getSearchText(val) {\n this.searchObject.searchValue = val;\n }\n },\n methods: {\n async exportOrdersToCSV() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await (this.$refs.transactionsList as any).exportOrdersToCSV();\n }\n }\n});\n","import { render } from \"./Orders.vue?vue&type=template&id=85ceb33c&scoped=true&ts=true\"\nimport script from \"./Orders.vue?vue&type=script&lang=ts\"\nexport * from \"./Orders.vue?vue&type=script&lang=ts\"\n\nimport \"./Orders.vue?vue&type=style&index=0&id=85ceb33c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-85ceb33c\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1ce15f60\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_2 = { class: \"flex flex--row flex--full-width justify--end no-pad standard-margins\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Transactions\", -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"flex t-6 d-3 no-pad\"\n}\nconst _hoisted_5 = { class: \"mob-9 flex--grow no-pad mobile-margin\" }\nconst _hoisted_6 = { class: \"t-12 flex no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_TransactionsList = _resolveComponent(\"TransactionsList\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filterOptions, (filter, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createVNode(_component_BoostButton, {\n label: filter.name,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.searchObject.filterValue === filter.value\n }),\n onClick: ($event: any) => (_ctx.searchObject.filterValue = filter.value)\n }, null, 8, [\"label\", \"class\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: _ctx.searchObject.filterValue + ' Transactions',\n message: \"View your history and see the related order and customer for each transaction.\"\n }, null, 8, [\"title\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_3\n ])),\n (_ctx.transactionCount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.searchObject.sortBy,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchObject.sortBy) = $event)),\n options: _ctx.sortOptions,\n value: _ctx.searchObject.sortBy,\n \"input-id\": \"select-sort-option\"\n }, null, 8, [\"modelValue\", \"options\", \"value\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_TransactionsList, {\n ref: \"transactionsList\",\n \"filtered-count\": _ctx.transactionCount,\n \"onUpdate:filtered-count\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.transactionCount) = $event)),\n \"search-input\": _ctx.searchObject\n }, null, 8, [\"filtered-count\", \"search-input\"])\n ])\n ])\n ]))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/no-results.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e3b0c926\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"t-12 no-pad flex--full-width\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" A list of all of your transactions and their statuses will appear here. You can easily filter transactions, process refunds and more. \", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://support.tagscommerce.com/hc/en-us/articles/360049324753-Managing-Transactions\",\n target: \"_blank\"\n}, \"Learn more -->\", -1))\nconst _hoisted_6 = [\n _hoisted_2,\n _hoisted_3,\n _hoisted_4,\n _hoisted_5\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TransactionsListView = _resolveComponent(\"TransactionsListView\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle({\n display: _ctx.tableFilteredTransactionData?.length ? 'unset' : 'none'\n }),\n class: \"t-12 no-pad\"\n }, [\n _createVNode(_component_TransactionsListView, { transactions: _ctx.tableFilteredTransactionData }, null, 8, [\"transactions\"])\n ], 4),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\n display: _ctx.tableFilteredTransactionData?.length ? 'none' : 'block'\n }, {\"margin\":\"auto\"}]),\n class: \"t-6\"\n }, _hoisted_6, 4)\n ]))\n}","/**\n * Transaction status\n */\nexport enum TransactionStatus {\n received = 'Received',\n refunded = 'Refunded',\n failed = 'Failed'\n}\n","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport _imports_0 from '../../assets/transaction.svg'\nimport _imports_1 from '../../assets/credit-arrow.svg'\nimport _imports_2 from '../../assets/debit-arrow.svg'\n\n\nconst _hoisted_1 = { class: \"t-12 no-pad\" }\nconst _hoisted_2 = { class: \"flex--full-width\" }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"transaction icon\"\n}, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = {\n key: 0,\n src: _imports_1,\n alt: \"Credit arrow icon\"\n}\nconst _hoisted_8 = {\n key: 1,\n src: _imports_2,\n alt: \"Debit arrow icon\"\n}\nconst _hoisted_9 = { key: 2 }\nconst _hoisted_10 = { key: 3 }\nconst _hoisted_11 = { key: 4 }\nconst _hoisted_12 = { key: 5 }\nconst _hoisted_13 = { key: 6 }\nconst _hoisted_14 = { key: 7 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostTable, {\n id: \"transactions-table\",\n rows: _ctx.computedTransactions,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"fixed-columns\": false\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'direction')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n (_ctx.isCredit(data.row))\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_7))\n : (_openBlock(), _createElementBlock(\"img\", _hoisted_8))\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(`${data.row.shippedTo?.firstName} ${data.row.shippedTo?.lastName}`), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'date')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.processDate(data.row.created)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'card')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \" **** \" + _toDisplayString(data.row.stripeDetails?.last4), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'total')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString(_ctx.formatCurrency(data.row.charges?.total || 0)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'tax')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(_ctx.formatCurrency(Math.abs(data.row.charges?.tax || 0))), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'net')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(_ctx.formatCurrency(_ctx.calculateNet(data.row))), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { OrderStatus } from '@/../models/sellerOrder';\nimport { Transaction } from '@/../models/transaction';\nimport { TagType } from '@/../enums/tagType';\nimport { TransactionStatus } from '@/../enums/transactionStatus';\nimport { mapGetters } from 'vuex';\nimport {\n ColumnItem,\n RowItem\n} from '@/common/controls/BoostTable/Table.interface';\n\nexport default defineComponent({\n name: 'TransactionsListView',\n components: {},\n props: {\n transactions: {\n type: Array as () => Transaction[],\n required: true\n },\n limit: {\n type: Number,\n required: false\n }\n },\n data() {\n return {\n TagType,\n OrderStatus,\n columns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'direction',\n label: ''\n },\n {\n id: 'name',\n label: 'Name'\n },\n {\n id: 'date',\n label: 'Date'\n },\n {\n id: 'card',\n label: 'Card'\n },\n {\n id: 'total',\n label: 'Total'\n },\n {\n id: 'tax',\n label: 'Tax'\n },\n {\n id: 'net',\n label: 'Net'\n }\n ] as ColumnItem[]\n };\n },\n\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n computedTransactions(): RowItem[] {\n return this.transactions as unknown as RowItem[];\n }\n },\n async mounted() {\n if (!this.currentAccount) {\n return;\n }\n },\n\n methods: {\n processDate(date: number) {\n return Helpers.processDate(date);\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n },\n getStatusLabel(transaction: Transaction) {\n const status = TransactionStatus.received;\n if (transaction.refunded) {\n return TransactionStatus.refunded;\n }\n if (!transaction.stripeDetails || transaction.state.includes('failed')) {\n return TransactionStatus.failed;\n }\n return status;\n },\n calculateNet(transaction: Transaction) {\n let net = transaction.charges?.total || 0;\n if (transaction.refunded || !transaction.stripeDetails) {\n net = transaction.refundDetails\n ? net - transaction.refundDetails.amount\n : 0;\n } else {\n if (transaction.charges?.tax) {\n net -= transaction.charges?.tax;\n }\n }\n\n return net;\n },\n isCredit(transaction: Transaction): boolean {\n return !transaction.refunded;\n }\n }\n});\n","import { render } from \"./TransactionsListView.vue?vue&type=template&id=55c78dd2&ts=true\"\nimport script from \"./TransactionsListView.vue?vue&type=script&lang=ts\"\nexport * from \"./TransactionsListView.vue?vue&type=script&lang=ts\"\n\nimport \"./TransactionsListView.vue?vue&type=style&index=0&id=55c78dd2&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '../../firebaseRequest';\nimport Helpers from '@/helpers';\nimport { Charges } from '@/models/charges';\nimport { mapGetters, mapMutations } from 'vuex';\nimport TransactionsListView from './TransactionsListView.vue';\nimport { Transaction } from '@/models/transaction';\n\nexport interface TransactionSearch {\n filterValue: string;\n sortBy: string;\n searchValue: string;\n}\n\nexport default defineComponent({\n components: {\n TransactionsListView\n },\n props: {\n limit: {\n type: Number,\n required: false\n },\n filteredCount: {\n type: Number\n },\n searchInput: {\n type: Object as () => TransactionSearch,\n required: true\n },\n type: {\n type: String,\n required: false\n }\n },\n emits: ['update:filteredCount'],\n data() {\n return {\n tableTransactionData: [] as Transaction[]\n };\n },\n\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n }),\n tableFilteredTransactionData(): Transaction[] {\n const results = this.tableTransactionData\n .filter(this.filterTransactionList)\n .sort(this.sortTransactionList) as Transaction[];\n this.$emit('update:filteredCount', results.length);\n return results;\n }\n },\n\n async mounted() {\n if (!this.currentAccount) {\n return;\n }\n await this.getTransactions();\n },\n\n methods: {\n ...mapMutations('global', ['setLoading']),\n viewOrder(orderId: string) {\n this.$router.push({ path: `/store/orders/${orderId}` });\n },\n processDate(date: number) {\n return Helpers.processDate(date);\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n async getTransactions() {\n this.setLoading(true);\n const query = this.$route.params;\n const params = {\n accountId: this.currentAccount.accountId,\n transactionId: query.transactionId, // This will be undefined in no transactionId\n productSource: this.productSource\n };\n\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_TRANSACTIONS,\n params\n );\n\n if (results.status === APIResponseStatus.OK) {\n this.tableTransactionData = results.data || [];\n if (this.limit) {\n this.tableTransactionData = this.tableTransactionData.slice(\n 0,\n this.limit\n );\n }\n }\n\n this.$emit(\n 'update:filteredCount',\n this.tableFilteredTransactionData.length\n );\n\n this.setLoading(false);\n },\n sortTransactionList(a: Transaction, b: Transaction): number {\n const getAmount = (c?: Charges) => {\n return c != null && c.total ? c.total : 0;\n };\n\n let results = 0;\n\n if (this.searchInput.sortBy) {\n if (a && b) {\n switch (this.searchInput.sortBy) {\n case 'NameAsc':\n results = (a.shippedTo?.lastName || '').localeCompare(\n b.shippedTo?.lastName || ''\n );\n break;\n case 'NameDesc':\n results = (b.shippedTo?.lastName || '').localeCompare(\n a.shippedTo?.lastName || ''\n );\n break;\n case 'Amount':\n results = getAmount(b.charges) - getAmount(a.charges);\n break;\n case 'AmountAsc':\n results = getAmount(a.charges) - getAmount(b.charges);\n break;\n case 'Date':\n results = b.created - a.created;\n break;\n case 'DateAsc':\n results = a.created - b.created;\n break;\n default:\n results = 1;\n }\n }\n }\n return results;\n },\n filterTransactionList(sellerOrder: Transaction) {\n let filterResults = true;\n\n const isRefunded = !!sellerOrder.refunded;\n const isFailed = sellerOrder.state.includes('failed');\n\n switch (this.searchInput.filterValue) {\n case 'Received':\n filterResults =\n (sellerOrder.stripeDetails?.status?.includes('succeeded') &&\n !isRefunded &&\n !isFailed) ||\n false;\n break;\n case 'Refunded':\n filterResults = isRefunded;\n break;\n case 'Failed':\n filterResults = isFailed;\n break;\n default:\n filterResults;\n }\n\n if (this.searchInput.searchValue) {\n filterResults =\n filterResults && this.filterTransactionsBySearchValue(sellerOrder);\n }\n return filterResults;\n },\n\n filterTransactionsBySearchValue(transaction: Transaction) {\n const searchValue = this.searchInput.searchValue.toLocaleLowerCase();\n const productTitle = transaction.productTitle?.toLocaleLowerCase() || '';\n const firstName = transaction.shippedTo?.firstName\n ? transaction.shippedTo?.firstName.toLowerCase()\n : '';\n const lastName = transaction.shippedTo?.lastName\n ? transaction.shippedTo?.lastName.toLowerCase()\n : '';\n const date = transaction.created\n ? new Date(transaction.created).toLocaleDateString()\n : '';\n const hashtag = transaction.productHashtag\n ? transaction.productHashtag.toLowerCase()\n : '';\n const userTransactionId = transaction.userTransactionId\n ? transaction.userTransactionId\n : '';\n const amount = transaction.charges\n ? Helpers.currencyFormatter(transaction.charges.price)\n : '';\n // For some reason, transaction.stripeDetails doesn't specify last4 as a\n // property. But it is used in the TransactionsListView component and it\n // does seem to exist. Cast as unknown as any to get around this limitation\n // for now.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const last4 = (transaction.stripeDetails as unknown as any)?.last4 ?? '';\n\n if (searchValue.length > 0) {\n const searchComponents = searchValue.split(' ');\n let value;\n\n for (value of searchComponents) {\n if (\n !firstName.includes(value) &&\n !lastName.includes(value) &&\n !date.includes(value) &&\n !hashtag.includes(value) &&\n !productTitle.includes(value) &&\n !userTransactionId.includes(value) &&\n !amount.includes(value) &&\n !last4.includes(value)\n ) {\n return false;\n }\n }\n }\n return true;\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n }\n }\n});\n","import { render } from \"./TransactionsList.vue?vue&type=template&id=e3b0c926&scoped=true&ts=true\"\nimport script from \"./TransactionsList.vue?vue&type=script&lang=ts\"\nexport * from \"./TransactionsList.vue?vue&type=script&lang=ts\"\n\nimport \"./TransactionsList.vue?vue&type=style&index=0&id=e3b0c926&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e3b0c926\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { TransactionSearch } from './TransactionsList.vue';\nimport TransactionsList from './TransactionsList.vue';\nimport { mapGetters } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\n\nexport default defineComponent({\n name: 'TransactionsRoot',\n components: {\n TransactionsList\n },\n data() {\n return {\n TagType,\n searchObject: {\n filterValue: 'All',\n sortBy: 'Date',\n searchValue: ''\n } as TransactionSearch,\n transactionCount: 0,\n filterOptions: [\n { name: 'All', value: 'All' },\n { name: 'Received', value: 'Received' },\n { name: 'Refunded', value: 'Refunded' },\n { name: 'Failed', value: 'Failed' }\n ],\n sortOptions: [\n { name: 'Most Recent', value: 'Date' },\n { name: 'Least Recent', value: 'DateAsc' },\n { name: 'Highest to Lowest', value: 'Amount' },\n { name: 'Lowest to Highest', value: 'AmountAsc' },\n { name: 'Name: A-Z', value: 'NameAsc' },\n { name: 'Name: Z-A', value: 'NameDesc' }\n ]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n getSearchText: 'global/getSearchText'\n })\n },\n watch: {\n getSearchText(val) {\n this.searchObject.searchValue = val as string;\n }\n },\n methods: {}\n});\n","import { render } from \"./Transactions.vue?vue&type=template&id=1ce15f60&scoped=true&ts=true\"\nimport script from \"./Transactions.vue?vue&type=script&lang=ts\"\nexport * from \"./Transactions.vue?vue&type=script&lang=ts\"\n\nimport \"./Transactions.vue?vue&type=style&index=0&id=1ce15f60&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1ce15f60\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex--wrap\" }\nconst _hoisted_2 = { class: \"flex justify--between t-12 flex--wrap no-pad grid-row--large\" }\nconst _hoisted_3 = { class: \"t-12 d-6 dm-5\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Create a new password\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Your new password must be different from your previous used passwords. \", -1)\nconst _hoisted_7 = [\"onSubmit\"]\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Password changed\", -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Your password has been updated. You can now head back and log in to your account using your new password. \", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (!_ctx.hasChangedPassword)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.resetPassword)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newPassword,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.newPassword) = $event)),\n \"input-id\": \"newPassword\",\n label: \"New Password\",\n placeholder: \"New Password\",\n attributes: \"no-required-indicator\",\n rules: \"required\",\n type: \"password\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.confirmPassword,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.confirmPassword) = $event)),\n \"input-id\": \"confirmPassword\",\n label: \"Confirm Password\",\n placeholder: \"Confirm Password\",\n attributes: \"no-required-indicator\",\n rules: \"required\",\n type: \"password\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n label: \"Change Password\",\n class: _normalizeClass(meta.valid ? 'btn-active' : 'btn-inactive'),\n disabled: !meta.valid,\n type: \"submit\"\n }, null, 8, [\"class\", \"disabled\"])\n ], 40, _hoisted_7)\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _hoisted_10,\n (_ctx.currentAccount)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: \"/store/settings\",\n class: \"btn btn-active\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Back to Settings \")\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_router_link, {\n key: 1,\n to: \"/login\",\n class: \"btn btn-active\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Back to Log In \")\n ]),\n _: 1\n }))\n ]))\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { getAuth } from '@firebase/auth';\nimport { confirmPasswordReset, verifyPasswordResetCode } from 'firebase/auth';\nimport { mapGetters } from 'vuex';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'ResetPassword',\n data() {\n return {\n newPassword: '',\n confirmPassword: '',\n hasChangedPassword: false\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n methods: {\n resetPassword() {\n if (this.newPassword !== this.confirmPassword) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_PASSWORDS_DO_NOT_MATCH,\n type: BannerType.error\n });\n return;\n }\n const actionCode = this.$route.query.actionCode as string;\n const auth = getAuth();\n\n // Verify the password reset code is valid.\n verifyPasswordResetCode(auth, actionCode)\n .then(() => {\n const newPassword = this.newPassword;\n\n // Save the new password\n confirmPasswordReset(auth, actionCode, newPassword)\n .then(() => {\n this.hasChangedPassword = true;\n })\n .catch((error) => {\n console.log(error);\n // 'An error during confirmation. The reset code may have expired, or the password is too weak. Please reset your password again.';\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n // Error occurred during confirmation. The code might have expired or the\n // password is too weak.\n });\n })\n .catch((error) => {\n console.log(error);\n // 'Invalid or expired code. Please reset your password again.';\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n // Invalid or expired action code. Ask user to try to reset the password\n // again.\n });\n }\n }\n});\n","import { render } from \"./ResetPassword.vue?vue&type=template&id=7716b8c0&ts=true\"\nimport script from \"./ResetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ResetPassword.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7d1112d4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"single\" }\nconst _hoisted_2 = { class: \"flex align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"note\"\n}\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Shopify orders must be fulfilled within the Shopify Dashboard.\", -1))\nconst _hoisted_7 = {\n key: 1,\n class: \"flex justify--center flex--wrap standard-top-margin\"\n}\nconst _hoisted_8 = { class: \"w-100 standard-margins margin-bottom-10\" }\nconst _hoisted_9 = { class: \"strong\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"pill pill-pending\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"pill pill-positive\"\n}\nconst _hoisted_12 = {\n key: 2,\n class: \"pill pill-negative\"\n}\nconst _hoisted_13 = {\n key: 3,\n class: \"pill pill-failed\"\n}\nconst _hoisted_14 = {\n key: 4,\n class: \"pill pill-positive\"\n}\nconst _hoisted_15 = { class: \"t-12 margin-bottom-13 no-pad standard-margins\" }\nconst _hoisted_16 = { class: \"input-set\" }\nconst _hoisted_17 = { class: \"t-12 flex no-pad margin-top-4\" }\nconst _hoisted_18 = { class: \"t-6 no-pad\" }\nconst _hoisted_19 = { class: \"datalist\" }\nconst _hoisted_20 = { class: \"datalist__row\" }\nconst _hoisted_21 = { class: \"datalist__row\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Price\", -1))\nconst _hoisted_23 = { class: \"datalist__row\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Shipping\", -1))\nconst _hoisted_25 = { class: \"datalist__row\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tax\", -1))\nconst _hoisted_27 = { class: \"datalist__row\" }\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Total\", -1))\nconst _hoisted_29 = { class: \"t-6 no-pad\" }\nconst _hoisted_30 = { class: \"datalist\" }\nconst _hoisted_31 = { class: \"datalist__row\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tag\", -1))\nconst _hoisted_33 = { class: \"datalist__row\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Method\", -1))\nconst _hoisted_35 = { class: \"datalist__row\" }\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Order No.\", -1))\nconst _hoisted_37 = { class: \"datalist__row\" }\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Transaction ID\", -1))\nconst _hoisted_39 = { class: \"datalist__row\" }\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Order Date\", -1))\nconst _hoisted_41 = { class: \"t-12 flex no-pad margin-top-4\" }\nconst _hoisted_42 = { class: \"t-6 no-pad\" }\nconst _hoisted_43 = { class: \"datalist\" }\nconst _hoisted_44 = { class: \"datalist__row\" }\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Name\", -1))\nconst _hoisted_46 = [\"title\"]\nconst _hoisted_47 = { key: 1 }\nconst _hoisted_48 = { class: \"datalist__row\" }\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Email\", -1))\nconst _hoisted_50 = [\"title\", \"href\"]\nconst _hoisted_51 = { class: \"datalist__row\" }\nconst _hoisted_52 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Phone\", -1))\nconst _hoisted_53 = [\"title\", \"href\"]\nconst _hoisted_54 = { class: \"datalist__row\" }\nconst _hoisted_55 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Payment\", -1))\nconst _hoisted_56 = { class: \"t-6 no-pad\" }\nconst _hoisted_57 = { class: \"datalist\" }\nconst _hoisted_58 = { class: \"datalist__row\" }\nconst _hoisted_59 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Delivering to\", -1))\nconst _hoisted_60 = { class: \"text-capitalize\" }\nconst _hoisted_61 = {\n key: 0,\n class: \"text-capitalize\"\n}\nconst _hoisted_62 = { class: \"text-capitalize\" }\nconst _hoisted_63 = { class: \"text-uppercase\" }\nconst _hoisted_64 = { class: \"t-6 no-pad margin-top-4\" }\nconst _hoisted_65 = {\n style: {\"height\":\"96px\"},\n class: \"w-100 flex justify--end align--center\"\n}\nconst _hoisted_66 = { class: \"margin-right-4\" }\nconst _hoisted_67 = { class: \"text-bold\" }\nconst _hoisted_68 = { class: \"text-bold\" }\nconst _hoisted_69 = {\n style: {\"width\":\"60px\"},\n class: \"flex justify--between\"\n}\nconst _hoisted_70 = [\"disabled\"]\nconst _hoisted_71 = [\"src\"]\nconst _hoisted_72 = [\"disabled\"]\nconst _hoisted_73 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('../../assets/chevron-left.svg'),\n alt: \"back\"\n }, null, 8, _hoisted_3),\n _createTextVNode(\" Back to Orders \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (_ctx.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: require('../../assets/shopify.svg'),\n alt: \"Shopify logo\",\n title: \"Shopify Product\"\n }, null, 8, _hoisted_5),\n _hoisted_6\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.order)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", _hoisted_9, \"Order # \" + _toDisplayString(_ctx.order.userTransactionId), 1),\n (_ctx.order.status === 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, \"Pending\"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === 1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \" Fulfilled \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === 2)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, \" Refunded \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === 3)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, \"Failed\"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.userTrackingNo)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, \" Tracking Sent \"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n (\n _ctx.order?.type === _ctx.TagType.PRODUCT && _ctx.productSource !== 'Shopify'\n )\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: _ctx.order?.fulfilled ? 'Fulfilled' : 'Mark As Fulfilled',\n \"loading-state\": _ctx.loadingMarkFulfilled,\n \"complete-label\": \"Fulfilled\",\n \"button-style\": \"primary\",\n disabled: _ctx.order && (_ctx.order.fulfilled || _ctx.order.status === 3),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.setFulfillTransaction(_ctx.order, true)))\n }, null, 8, [\"label\", \"loading-state\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n label: \"Refund Item\",\n \"button-style\": \"optional\",\n \"loading-state\": _ctx.loadingRefund,\n \"white-spinner\": false,\n \"complete-label\": \"Done\",\n disabled: _ctx.order?.refunded,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.refundTransaction(_ctx.order.accountId, _ctx.order.transactionId)))\n }, null, 8, [\"loading-state\", \"disabled\"])\n ])\n ]),\n _createVNode(_component_BoostCard, {\n class: \"t-12 no-pad top-border\",\n message: _ctx.order.productTitle,\n \"sub-message\": _ctx.formatCurrency(_ctx.order.charges.total),\n \"image-url\": _ctx.order.productImageUrl,\n \"has-expander\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"dl\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.order?.type === _ctx.TagType.PRODUCT ? 'Product' : 'Payment') + \" Name \", 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.productTitle), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.order.productOptions, (opt) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: opt.key,\n class: \"datalist__row\"\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(opt.key), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(opt.value), 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.order.charges ? _ctx.order.charges.price : 0)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _hoisted_24,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.order.charges ? _ctx.order.charges.shipping : 0)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.order.charges ? _ctx.order.charges.tax : 0)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.order.charges ? _ctx.order.charges.total : 0)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"dl\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _hoisted_32,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.productHashtag) + \" \" + _toDisplayString(_ctx.order.attributionId), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _hoisted_34,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.provider), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n _hoisted_36,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.userTransactionId), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _hoisted_38,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.transactionId), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_39, [\n _hoisted_40,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.processDate(_ctx.order.created)), 1)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"sub-message\", \"image-url\"]),\n _createVNode(_component_BoostSectionHeader, {\n class: _normalizeClass([\"w-100 top-border\", { 'bottom-border': _ctx.productSource === 'Shopify' }]),\n title: \"Customer\",\n \"is-compact\": true,\n \"is-full-width\": \"\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"dl\", _hoisted_43, [\n _createElementVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createElementVNode(\"dd\", {\n title: `${_ctx.order.shippedToFirstName} ${_ctx.order.shippedToLastName}`\n }, [\n (_ctx.order.userId)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: `/store/audience/${_ctx.order.userId}`\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.order.shippedToFirstName) + \" \" + _toDisplayString(_ctx.order.shippedToLastName), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_47, _toDisplayString(_ctx.order.shippedToFirstName) + \" \" + _toDisplayString(_ctx.order.shippedToLastName) + \" (user deleted) \", 1))\n ], 8, _hoisted_46)\n ]),\n _createElementVNode(\"div\", _hoisted_48, [\n _hoisted_49,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.order.userEmail,\n href: `mailto:${_ctx.order.userEmail}`\n }, _toDisplayString(_ctx.order.userEmail), 9, _hoisted_50)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_51, [\n _hoisted_52,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.order.userMobileNumber,\n href: `tel:${_ctx.order.userMobileNumber}`\n }, _toDisplayString(_ctx.order.userMobileNumber), 9, _hoisted_53)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_54, [\n _hoisted_55,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"span\", null, \"Card ending in \" + _toDisplayString(_ctx.order.stripeDetails?.last4), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_56, [\n _createElementVNode(\"dl\", _hoisted_57, [\n _createElementVNode(\"div\", _hoisted_58, [\n _hoisted_59,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"p\", _hoisted_60, _toDisplayString(_ctx.order.shippedToAddress1), 1),\n (_ctx.order.shippedToAddress2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_61, _toDisplayString(_ctx.order.shippedToAddress2), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_62, _toDisplayString(_ctx.order.shippedToCity), 1),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"span\", _hoisted_63, _toDisplayString(_ctx.order.shippedToState) + \",\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.order.shippedToPostalCode), 1)\n ])\n ])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"class\"]),\n (_ctx.productSource !== 'Shopify')\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n class: \"w-100 top-border bottom-border\",\n title: \"Tracking\",\n \"is-compact\": \"\",\n \"is-full-width\": \"\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_64, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userCarrier,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.userCarrier) = $event)),\n label: \"Courier\",\n placeholder: \"UPS, USPS, FedEx, etc.\",\n \"input-id\": 'courier-for-tracking-',\n class: \"margin-bottom-1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userTrackingNo,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.userTrackingNo) = $event)),\n label: \"Tracking ID\",\n placeholder: \"e.g. 310385906212015\",\n \"input-id\": 'tracking-number-'\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Update Tracking\",\n \"loading-state\": _ctx.loadingSendTracking,\n \"complete-label\": \"Success\",\n disabled: !(_ctx.userCarrier && _ctx.userTrackingNo),\n class: \"btn-form\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.saveTrackingInformation()))\n }, null, 8, [\"loading-state\", \"disabled\"])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createElementVNode(\"div\", _hoisted_65, [\n _createElementVNode(\"div\", _hoisted_66, [\n _createTextVNode(\" Order \"),\n _createElementVNode(\"span\", _hoisted_67, _toDisplayString(_ctx.index), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"span\", _hoisted_68, _toDisplayString(_ctx.orderListLength), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_69, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.previousId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.previous()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"Previous arrow\"\n }, null, 8, _hoisted_71)\n ])\n ], 8, _hoisted_70),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.nextId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.next()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-right.svg'),\n alt: \"Next arrow\"\n }, null, 8, _hoisted_73)\n ])\n ], 8, _hoisted_72)\n ])\n ])\n ]))\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { ProductSource, SellerOrder } from '@/../models/sellerOrder';\nimport Helpers from '@/helpers';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'TransactionDetail',\n beforeRouteEnter(to, from, next) {\n next((vm) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (vm as any).returnTo = from.name;\n });\n },\n data() {\n return {\n TagType,\n ProductSource,\n order: null as null | SellerOrder,\n userTrackingNo: '',\n userCarrier: '',\n returnTo: 'seller-orders',\n nextId: '',\n previousId: '',\n index: 1,\n loadingMarkFulfilled: ButtonLoadingState.initial,\n loadingRefund: ButtonLoadingState.initial,\n loadingSendTracking: ButtonLoadingState.initial,\n loadingExport: ButtonLoadingState.initial,\n trackingInfo: {\n sellerName: '',\n accountId: '',\n productName: '',\n transactionId: '',\n trackingNo: '',\n carrier: '',\n mobileNumber: '',\n sendMessage: false\n }\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n orderListLength: 'orders/getOrderListLength',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n mounted() {\n const orderId = this.$route.params.orderId as string;\n this.getOrder(orderId);\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapActions('orders', ['getNext', 'getPrevious', 'getCurrentIndex']),\n\n async getOrder(orderId: string) {\n this.setLoading(true);\n try {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_ORDER_BY_ID,\n {\n accountId: this.currentAccount.accountId,\n transactionId: orderId\n }\n );\n if (result.status === 'ok') {\n if (result.data?.userTrackingNo) {\n this.userTrackingNo = result.data.userTrackingNo;\n } else {\n this.userTrackingNo = '';\n }\n if (result.data?.userCarrier) {\n this.userCarrier = result.data.userCarrier;\n } else {\n this.userCarrier = '';\n }\n\n this.order = result.data as SellerOrder;\n\n this.index = (await this.getCurrentIndex(orderId)) + 1;\n this.nextId = await this.getNext(orderId);\n this.previousId = await this.getPrevious(orderId);\n\n this.setLoading(false);\n } else {\n //\n }\n\n // this.loadingMarkFulfilled = ButtonLoadingState.complete;\n } catch (err) {\n console.log(err);\n this.setLoading(false);\n // this.loadingMarkFulfilled = ButtonLoadingState.complete;\n }\n },\n processDate(date: string) {\n return Helpers.processDate(new Date(date).getTime());\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n\n async setFulfillTransaction(rowData: SellerOrder, fulfilled: boolean) {\n if (!this.order) {\n return;\n }\n this.loadingMarkFulfilled = ButtonLoadingState.loading;\n\n try {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.SET_TRANSACTION_FULFILLMENT,\n {\n accountId: rowData.accountId,\n transactionId: rowData.transactionId,\n fulfilled\n }\n );\n if (result.status === 'ok') {\n // TODO: update status pill\n this.order.fulfilled = fulfilled;\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n\n this.loadingMarkFulfilled = ButtonLoadingState.complete;\n } catch (err) {\n console.log(err);\n this.loadingMarkFulfilled = ButtonLoadingState.complete;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n\n async refundTransaction(accountId: string, transactionId: string) {\n this.loadingRefund = ButtonLoadingState.loading;\n try {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REFUND_PURCHASE,\n { accountId, transactionId }\n );\n // TODO: Change the cloud function to return the standard result object\n if (result.status === APIResponseStatus.ERROR) {\n // TODO: update status pill\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n if (this.order) {\n this.order.refunded = true;\n }\n this.loadingRefund = ButtonLoadingState.complete;\n } catch {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.loadingRefund = ButtonLoadingState.complete;\n }\n },\n\n async saveTrackingInformation() {\n if (!this.order) {\n return;\n }\n const trackingNo = this.userTrackingNo;\n const carrier = this.userCarrier;\n const accountId = this.currentAccount.accountId;\n const sellerName = this.currentAccount.name;\n const productName = this.order.productHashtag;\n const mobileNumber = this.order.userMobileNumber;\n\n this.trackingInfo = {\n sellerName,\n accountId,\n productName,\n transactionId: this.order.transactionId,\n trackingNo,\n carrier,\n mobileNumber,\n sendMessage: true\n };\n\n this.loadingSendTracking = ButtonLoadingState.loading;\n try {\n this.trackingInfo.sellerName = this.currentAccount.name;\n this.trackingInfo.accountId = this.currentAccount.accountId;\n\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.SAVE_TRACKING,\n this.trackingInfo\n );\n if (result.status === 'ok') {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } catch (err) {\n console.log(err);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.loadingSendTracking = ButtonLoadingState.complete;\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n },\n goBack() {\n this.$router.push({ name: this.returnTo });\n },\n async previous() {\n if (this.previousId) {\n await this.$router.push({ path: `/store/orders/${this.previousId}` });\n this.getOrder(this.previousId);\n }\n },\n async next() {\n if (this.nextId) {\n await this.$router.push({ path: `/store/orders/${this.nextId}` });\n this.getOrder(this.nextId);\n }\n }\n }\n});\n","import { render } from \"./TransactionDetail.vue?vue&type=template&id=7d1112d4&scoped=true&ts=true\"\nimport script from \"./TransactionDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./TransactionDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./TransactionDetail.vue?vue&type=style&index=0&id=7d1112d4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7d1112d4\"]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, Fragment as _Fragment, createStaticVNode as _createStaticVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-160ebc62\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = { class: \"flex align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"flex justify--center flex--wrap standard-top-margin\"\n}\nconst _hoisted_5 = { class: \"t-12 flex--full-width no-pad standard-margins\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"pill pill-positive\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"pill pill-pending\"\n}\nconst _hoisted_8 = { class: \"t-12 margin-bottom-12 no-pad standard-margins\" }\nconst _hoisted_9 = { class: \"flex button-list\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us\" }, \"Help Center\", -1))\nconst _hoisted_11 = { class: \"t-12 no-pad standard-bottom-margin standard-margins\" }\nconst _hoisted_12 = { class: \"section-header__title-compact margin-bottom-0 margin-top-14\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"t-12 flex no-pad standard-margins\"\n}\nconst _hoisted_14 = { class: \"t-6 no-pad\" }\nconst _hoisted_15 = { class: \"datalist\" }\nconst _hoisted_16 = { class: \"datalist__row\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tag\", -1))\nconst _hoisted_18 = { class: \"datalist__row\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Price\", -1))\nconst _hoisted_20 = { class: \"datalist__row\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Quantity\", -1))\nconst _hoisted_22 = { class: \"datalist__row\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Variations\", -1))\nconst _hoisted_24 = { class: \"datalist__row\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Options\", -1))\nconst _hoisted_26 = { class: \"datalist__row\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Shipping\", -1))\nconst _hoisted_28 = { class: \"t-6 no-pad\" }\nconst _hoisted_29 = { class: \"datalist\" }\nconst _hoisted_30 = { class: \"datalist__row\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Sold\", -1))\nconst _hoisted_32 = { class: \"datalist__row\" }\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Saved for Later\", -1))\nconst _hoisted_34 = { class: \"datalist__row\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Revenue\", -1))\nconst _hoisted_36 = { class: \"datalist__row\" }\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Most popular\", -1))\nconst _hoisted_38 = { class: \"datalist__row\" }\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Least popular\", -1))\nconst _hoisted_40 = {\n key: 1,\n class: \"t-12 flex no-pad standard-margins\"\n}\nconst _hoisted_41 = { class: \"t-6 no-pad\" }\nconst _hoisted_42 = { class: \"datalist\" }\nconst _hoisted_43 = { class: \"datalist__row\" }\nconst _hoisted_44 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tag\", -1))\nconst _hoisted_45 = { class: \"datalist__row\" }\nconst _hoisted_46 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Status\", -1))\nconst _hoisted_47 = { class: \"datalist__row\" }\nconst _hoisted_48 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Amounts\", -1))\nconst _hoisted_49 = { class: \"datalist__row\" }\nconst _hoisted_50 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Message\", -1))\nconst _hoisted_51 = { class: \"datalist__row\" }\nconst _hoisted_52 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Link\", -1))\nconst _hoisted_53 = [\"href\"]\nconst _hoisted_54 = { class: \"t-12 no-pad bottom-border\" }\nconst _hoisted_55 = { class: \"datalist standard-margins margin-bottom-11 margin-top-3\" }\nconst _hoisted_56 = { class: \"datalist__row\" }\nconst _hoisted_57 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Description\", -1))\nconst _hoisted_58 = { class: \"datalist__wrap-text\" }\nconst _hoisted_59 = /*#__PURE__*/_createStaticVNode(\"
Attribution

Create unique Tags to track the sources of your revenue, off and online. Visit our Help Center for help on Attribution.

\", 2)\nconst _hoisted_61 = {\n key: 0,\n class: \"t-12 flex no-pad\"\n}\nconst _hoisted_62 = { key: 0 }\nconst _hoisted_63 = [\"src\"]\nconst _hoisted_64 = { key: 1 }\nconst _hoisted_65 = { key: 2 }\nconst _hoisted_66 = { key: 3 }\nconst _hoisted_67 = { key: 4 }\nconst _hoisted_68 = { key: 5 }\nconst _hoisted_69 = { key: 6 }\nconst _hoisted_70 = {\n key: 7,\n class: \"flex justify--end\"\n}\nconst _hoisted_71 = {\n style: {\"height\":\"96px\"},\n class: \"w-100 flex justify--end align--center\"\n}\nconst _hoisted_72 = { class: \"margin-right-4\" }\nconst _hoisted_73 = { class: \"text-bold\" }\nconst _hoisted_74 = { class: \"text-bold\" }\nconst _hoisted_75 = { class: \"flex justify--between\" }\nconst _hoisted_76 = [\"disabled\"]\nconst _hoisted_77 = [\"src\"]\nconst _hoisted_78 = [\"disabled\"]\nconst _hoisted_79 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostViewOnlyImage = _resolveComponent(\"BoostViewOnlyImage\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _createTextVNode(\"Product Details\")\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"back\"\n }, null, 8, _hoisted_3),\n _createTextVNode(\" Back to Products \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Edit\",\n \"button-style\": \"optional\",\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.editProduct\n }, null, 8, [\"onClick\"])\n ])),\n (_ctx.product)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostViewOnlyImage, {\n title: _ctx.product.title,\n \"image-url\": _ctx.product.imageUrl,\n \"type-image-url\": _ctx.productTypeImageUrl\n }, {\n pills: _withCtx(() => [\n (!_ctx.product.disabled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \"Active\"))\n : _createCommentVNode(\"\", true),\n (_ctx.product.disabled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"Inactive\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"image-url\", \"type-image-url\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostButton, {\n label: \"Download All\",\n \"button-style\": \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.downloadQR(false)))\n }),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Download QR\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.downloadQR(true)))\n }),\n _createVNode(_component_BoostButton, {\n label: \"Copy URL\",\n \"button-style\": \"optional\",\n onClick: _ctx.copyUrl\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n label: \"Copy SMS\",\n \"button-style\": \"optional\",\n onClick: _ctx.copySMS\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 top-border bottom-border\",\n title: \"What to do next\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Share this product with the world using Tags — Buy Now checkouts that allow you to sell anywhere with QR, Link or SMS by instructing your audience to text the Tag to 81000. Visit our \"),\n _hoisted_10,\n _createTextVNode(\" to learn how best to sell with Tags. \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(_ctx.product.type === _ctx.TagType.PRODUCT ? 'Product details' : 'Item details'), 1)\n ]),\n (_ctx.product.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"dl\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getHashtag(_ctx.product.hashtag)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getAllAvailableStock()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getTotalSkus()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getOptions()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getShippingText()), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"dl\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.product.quantitySold), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _hoisted_33,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.product.savedForLaterCount), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatPrice(_ctx.product.totalSales)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n _hoisted_37,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.product.mostPopular || 'n/a'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_38, [\n _hoisted_39,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.product.leastPopular || 'n/a'), 1)\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_40, [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"dl\", _hoisted_42, [\n _createElementVNode(\"div\", _hoisted_43, [\n _hoisted_44,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getHashtag(_ctx.currentDigital?.hashtag || '')), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _hoisted_46,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.currentDigital?.disabled ? 'Inactive' : 'Active'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_47, [\n _hoisted_48,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getAmounts()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_49, [\n _hoisted_50,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.currentDigital?.message), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_51, [\n _hoisted_52,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n target: \"_blank\",\n href: _ctx.currentDigital?.messageUrl\n }, _toDisplayString(_ctx.currentDigital?.messageUrl), 9, _hoisted_53)\n ])\n ])\n ])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_54, [\n _createElementVNode(\"dl\", _hoisted_55, [\n _createElementVNode(\"div\", _hoisted_56, [\n _hoisted_57,\n _createElementVNode(\"dd\", _hoisted_58, _toDisplayString(_ctx.product.description), 1)\n ])\n ])\n ]),\n (_ctx.attributions?.length)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n _hoisted_59,\n (_ctx.attributions?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_61, [\n _createVNode(_component_BoostTable, {\n \"hide-footer\": true,\n \"hide-arrow\": true,\n rows: _ctx.attributions,\n columns: _ctx.columns,\n \"image-first\": true,\n \"has-context-menu\": \"\",\n \"hide-overflow\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'icon')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_62, [\n _createElementVNode(\"img\", {\n src: require('../../assets/flag.svg'),\n alt: \"Attribution icon\"\n }, null, 8, _hoisted_63)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_64, _toDisplayString(data.row.name), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'attributionType')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_65, _toDisplayString(_ctx.getAttributionType(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'sold')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_66, _toDisplayString(data.row.sold), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_67, _toDisplayString(_ctx.formatPrice(data.row.revenue)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'conversion')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_68, _toDisplayString(data.row.conversion) + \"% \", 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_69, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill\", {\n 'pill-positive': data.row.status === _ctx.AttributionStatus.Active,\n 'pill-pending': data.row.status === _ctx.AttributionStatus.Inactive\n }])\n }, _toDisplayString(_ctx.AttributionStatus[data.row.status]), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_70, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createElementVNode(\"div\", _hoisted_71, [\n _createElementVNode(\"div\", _hoisted_72, [\n _createTextVNode(\" Product \"),\n _createElementVNode(\"span\", _hoisted_73, _toDisplayString(_ctx.index), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"span\", _hoisted_74, _toDisplayString(_ctx.productListLength), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_75, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.previousId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.previous()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"Previous arrow\"\n }, null, 8, _hoisted_77)\n ])\n ], 8, _hoisted_76),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.nextId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.next()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-right.svg'),\n alt: \"Next arrow\"\n }, null, 8, _hoisted_79)\n ])\n ], 8, _hoisted_78)\n ])\n ])\n ]))\n ], 64))\n}","import { CommerceType } from '../../enums/commerceTypes';\nimport { TagType } from '@/enums/tagType';\n\n/**\n * FB Product model.\n *\n * @export\n * @interface FBProduct\n */\nexport interface FBProduct {\n chargeTax?: boolean;\n commerce: CommerceType;\n description: string;\n disabled?: boolean;\n hashtag: string;\n imageUrl?: string;\n keywords?: string[];\n parcel?: Parcel;\n price: string;\n sauceyProductId?: string;\n shippingCharge?: number;\n shopifyProductId: string;\n shopifyVariantId?: number;\n skipShipping?: boolean;\n skus?: { [skuId: string]: Sku };\n title: string;\n type: TagType;\n variants?: { [variantId: string]: Variant };\n message?: string;\n messageUrl?: string;\n attributions?: Attribution[];\n}\n\nexport interface Sku {\n description: string;\n sku: string;\n imageUrl?: string;\n options?: Array<{\n key: string;\n value: string;\n }>;\n price: string;\n quantity: number | 'UNLIMITED';\n}\n\nexport interface Variant {\n name: string;\n options: string[];\n order: number;\n}\n\nexport interface Parcel {\n height: number;\n length: number;\n weight: number;\n width: number;\n}\n\nexport enum AttributionType {\n Account,\n Advertisement,\n Audio,\n Influencer,\n Magazine,\n Newspaper,\n Packaging,\n Print,\n Podcast\n}\n\nexport enum AttributionStatus {\n Active,\n Inactive\n}\nexport interface Attribution {\n name: string;\n type: AttributionType;\n status: AttributionStatus;\n identifier: string;\n}\n","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport { TagDetail, TipTag } from '@/models/tag';\nimport { mapGetters, mapMutations, mapActions } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport {\n Attribution,\n AttributionType,\n AttributionStatus\n} from '@/../models/firebase/product';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\n\nexport default defineComponent({\n name: 'ProductDetail',\n\n data() {\n return {\n TagType,\n AttributionStatus,\n ProductSource,\n previousId: '',\n nextId: '',\n index: 1,\n columns: [\n {\n id: 'icon',\n label: ''\n },\n {\n id: 'name',\n label: 'Name/Location'\n },\n {\n id: 'attributionType',\n label: 'Type'\n },\n {\n id: 'sold',\n label: 'Sold'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'conversion',\n label: 'Conversion'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu',\n label: ''\n }\n ] as ColumnItem[],\n menuItems: [\n {\n label: 'Download QR',\n onClick: (row) => {\n this.downloadAttributionQR(row);\n }\n },\n {\n label: 'Copy Link',\n onClick: (row) => {\n this.getAttributionLink(row);\n }\n },\n {\n label: 'Copy SMS',\n onClick: (row) => {\n this.copyAttributionSMS(row);\n }\n }\n ] as ContextMenuItem[]\n };\n },\n\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n currentProduct: 'product/currentProduct',\n productListLength: 'product/getProductListLength'\n }),\n product(): TagDetail {\n return this.currentProduct as TagDetail;\n },\n currentDigital(): TipTag | null {\n return this.currentProduct as TipTag | null;\n },\n attributions(): Attribution[] {\n return this.product?.attributions || [];\n },\n productTypeImageUrl(): string {\n if (this.product) {\n if (this.product.shopifyShareEarn && this.product.shopifySaveForLater) {\n return require('@/assets/multi-app-icon.svg');\n }\n if (this.product.shopifySaveForLater) {\n return require('@/assets/later_icon.svg');\n }\n if (this.product.shopifyShareEarn) {\n return require('@/assets/share-icon.svg');\n }\n }\n\n return '';\n }\n },\n\n async created() {\n await this.loadDetails(this.$route.params.productId as string);\n },\n\n mounted() {\n if (!this.$route.params.productId) {\n return;\n }\n },\n\n methods: {\n ...mapActions('product', [\n 'setupCurrentProduct',\n 'getNext',\n 'getPrevious',\n 'getCurrentIndex'\n ]),\n ...mapMutations('global', [\n 'setLoading',\n 'setBannerStatus',\n 'setContextualButton'\n ]),\n async loadDetails(productId: string) {\n this.setLoading({ isLoading: true, message: 'Loading product details' });\n const payload = {\n productId: productId,\n accountId: this.currentAccount.accountId\n };\n this.index = (await this.getCurrentIndex(productId)) + 1;\n await this.setupCurrentProduct(payload);\n this.setContextualButton(true);\n this.nextId = await this.getNext(payload.productId);\n this.previousId = await this.getPrevious(payload.productId);\n this.setLoading(false);\n },\n async previous() {\n if (this.previousId) {\n await this.$router.push({ path: `/store/products/${this.previousId}` });\n this.loadDetails(this.previousId);\n }\n },\n async next() {\n if (this.nextId) {\n await this.$router.push({ path: `/store/products/${this.nextId}` });\n this.loadDetails(this.nextId);\n }\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n },\n getShippingText(): string {\n let results = '';\n if (this.product.productSource !== 'Boost') {\n results = 'Calculated at Checkout';\n } else {\n const amount =\n this.formatPrice((this.product.shippingCharge || 0) * 100) || 'Free';\n results = amount === '$0.00' ? 'Free' : amount;\n }\n return results;\n },\n formatPrice(amount: number | undefined): string | undefined {\n if (amount === undefined) {\n return undefined;\n }\n return Helpers.currencyFormatter(amount);\n },\n getOptions(): string {\n if (!this.product?.variants) {\n // If we don't have any SKUs, we have no tags to sell (and probably a data corruption)\n return 'none';\n }\n\n return this.product.variants.map((v) => v.label).join(', ') || 'none';\n },\n getAmounts(): string {\n return this.currentDigital?.amounts\n ? this.currentDigital.amounts\n .map((x) => Helpers.currencyFormatter(x))\n .join(', ')\n : '';\n },\n getAllAvailableStock(): number {\n if (!this.product?.skus) {\n // If we don't have any SKUs, we have no tags to sell (and probably a data corruption)\n return 0;\n }\n\n const stockCount = Object.entries(this.product.skus).reduce(\n (quantity, [, sku]) => {\n if (sku.quantity.toString() === 'UNLIMITED') {\n return 999;\n } else {\n // quantity is sometimes delivered as a string and sometimes as a number, so just call toString()\n if (sku.quantity) {\n const skuQuantity = parseInt(sku.quantity.toString(), 10);\n return quantity + skuQuantity;\n }\n return quantity;\n }\n },\n 0\n );\n\n return stockCount;\n },\n getPrice() {\n if (this.product?.skus && this.product?.variants?.length) {\n const skus = Object.entries(this.product.skus);\n if (skus?.length) {\n const prices = [] as number[];\n skus.forEach((sku) => {\n prices.push(+sku[1].price);\n });\n\n const min = Helpers.currencyFormatter(Math.min(...prices).toString());\n const max = Helpers.currencyFormatter(Math.max(...prices).toString());\n\n if (min !== max) {\n return `${min} - ${max}`;\n } else {\n return `${min}`;\n }\n }\n }\n\n const price = this.product?.price || 0;\n return Helpers.currencyFormatter(price);\n },\n getTotalSkus(): number {\n if (!this.product?.skus) {\n // If we don't have any SKUs, we have no tags to sell (and probably a data corruption)\n return 0;\n }\n return this.product.skus.length;\n },\n async downloadQR(singleFile?: boolean) {\n this.setLoading(true);\n\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: this.product?.productId,\n accountId: this.product?.accountId,\n singleFile\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${this.product.title.substring(0, 50).replace(/[^a-z0-9]/gi, '-')}.${\n singleFile ? 'png' : 'zip'\n }`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n\n this.setLoading(false);\n },\n async copySMS() {\n await navigator.clipboard.writeText(\n Helpers.formatHashTag(this.product?.hashtag)\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n async copyUrl() {\n await navigator.clipboard.writeText(\n `${window.location.origin}/buy/${this.product?.hashtag}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n goBack() {\n this.$router.push({\n name: 'seller-products'\n });\n },\n editProduct() {\n const productId = this.product?.productId;\n if (this.product?.type === TagType.TIP) {\n this.$router.push({ name: 'seller-tip-edit', params: { productId } });\n } else {\n const routeName =\n this.product?.productSource === 'Shopify'\n ? 'seller-product-edit-shopify'\n : 'seller-product-edit';\n this.$router.push({ name: routeName, params: { productId } });\n }\n },\n getAttributionType(attribution: Attribution): string {\n return AttributionType[attribution.type];\n },\n getAttributionTag(attribution: Attribution): string {\n return (\n this.getHashtag(this.product?.hashtag || '') + attribution.identifier\n );\n },\n async downloadAttributionQR(attribution: Attribution) {\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: this.product?.productId,\n accountId: this.product?.accountId,\n attributionIdentifier: attribution.identifier\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${this.product?.hashtag}${attribution.identifier}.png`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n },\n async getAttributionLink(attribution: Attribution) {\n await navigator.clipboard.writeText(\n `${window.location.origin}/buy/${this.getHashtag(\n this.product?.hashtag\n )}/${attribution.identifier}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n async copyAttributionSMS(attribution: Attribution) {\n await navigator.clipboard.writeText(\n `${this.product?.hashtag}${attribution.identifier}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n }\n }\n});\n","import { render } from \"./ProductDetail.vue?vue&type=template&id=160ebc62&scoped=true&ts=true\"\nimport script from \"./ProductDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductDetail.vue?vue&type=style&index=0&id=160ebc62&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-160ebc62\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Products\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Add new products, view or edit existing items, and download your checkout Tags. \", -1)\nconst _hoisted_3 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_4 = { class: \"flex flex--row flex--full-width no-pad standard-margins justify--end\" }\nconst _hoisted_5 = { class: \"t-4 no-pad\" }\nconst _hoisted_6 = { class: \"flex--full-width\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_ProductsMenuControls = _resolveComponent(\"ProductsMenuControls\")!\n const _component_ProductList = _resolveComponent(\"ProductList\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: _ctx.currentFilter === _ctx.TagType.TIP ? 'Digital' : 'Products',\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_BoostButton, {\n label: _ctx.productSource === 'Kiosk' ? 'Add New' : 'Import from Shopify',\n type: \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.handleAddNewTag()))\n }, null, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_ProductsMenuControls, {\n \"filtered-count\": _ctx.tagCount,\n onAddNewTag: _ctx.handleAddNewTag,\n onFilterTagList: _ctx.handleFilter\n }, null, 8, [\"filtered-count\", \"onAddNewTag\", \"onFilterTagList\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_ProductList, {\n display: _ctx.display,\n \"tag-filter\": _ctx.tagFilter\n }, null, 8, [\"display\", \"tag-filter\"])\n ])\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '../../assets/no-results.svg'\n\n\nconst _hoisted_1 = { class: \"t-12 no-pad flex--full-width\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"t-12 no-pad\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"product-list-image\"\n}\nconst _hoisted_4 = { class: \"product-list-image__container flex flex--no-wrap\" }\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"rounded-image rounded-image--small\"\n}\nconst _hoisted_8 = [\"src\", \"onClick\"]\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = { key: 2 }\nconst _hoisted_12 = { key: 3 }\nconst _hoisted_13 = { key: 4 }\nconst _hoisted_14 = { key: 5 }\nconst _hoisted_15 = { key: 6 }\nconst _hoisted_16 = { key: 7 }\nconst _hoisted_17 = { key: 8 }\nconst _hoisted_18 = { key: 9 }\nconst _hoisted_19 = {\n key: 10,\n class: \"flex justify--end\"\n}\nconst _hoisted_20 = {\n key: 1,\n class: \"t-6\",\n style: {\"margin\":\"auto\"}\n}\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1)\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1)\nconst _hoisted_23 = { key: 0 }\nconst _hoisted_24 = { key: 1 }\nconst _hoisted_25 = {\n key: 2,\n href: \"https://support.tagscommerce.com/hc/en-us/articles/5479031226647-Importing-products\",\n target: \"_blank\"\n}\nconst _hoisted_26 = {\n key: 3,\n href: \"https://support.tagscommerce.com/hc/en-us/categories/360002454374-Seller-Experience\",\n target: \"_blank\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_DownloadTagsPopupComponent = _resolveComponent(\"DownloadTagsPopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.filteredTags?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_BoostTable, {\n rows: _ctx.filteredTags,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"click-id\": \"productId\",\n \"has-context-menu\": \"\",\n onAction: _ctx.editTag\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (data.row.imageUrl)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"rounded-image rounded-image--small\",\n onClick: ($event: any) => (_ctx.editTag(data.row.productId))\n }, [\n _createElementVNode(\"img\", {\n src: data.row.imageUrl,\n alt: \"image\"\n }, null, 8, _hoisted_6)\n ], 8, _hoisted_5))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n src: require('@/assets/default-product.jpg'),\n alt: \"Default product image\",\n onClick: ($event: any) => (_ctx.editTag(data.row.productId))\n }, null, 8, _hoisted_8)\n ])),\n (data.row.shopifySaveForLater || data.row.shopifyShareEarn)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 2,\n class: \"product-list-image__container-overlay\",\n src: _ctx.getTypeImage(data.row),\n alt: \"App indicator icon\"\n }, null, 8, _hoisted_9))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(data.row.title), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'price')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.getPrice(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'amounts')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString(_ctx.getPrice(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'sold')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(data.row.quantitySold), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'payments')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(data.row.quantitySold), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString(_ctx.formatPrice(data.row.totalSales)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'quantity')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.getAllAvailableStock(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'saved')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, _toDisplayString(data.row.savedForLaterCount), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill margin-right-5\", {\n 'pill-positive': !data.row.disabled,\n 'pill-pending': data.row.disabled\n }])\n }, _toDisplayString(_ctx.decodeStatus(data.row)), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_19, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _hoisted_21,\n _hoisted_22,\n (_ctx.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_23, \" Click \\\"Import from Shopify\\\" to automatically import existing products from your online store. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_24, \" Click “Add New” to create your first product or visit the Integrations page to automatically import existing products from your store. \")),\n (_ctx.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"a\", _hoisted_25, \"Learn more -->\"))\n : (_openBlock(), _createElementBlock(\"a\", _hoisted_26, \"Learn more -->\"))\n ]))\n ]),\n (_ctx.showDownloadTags)\n ? (_openBlock(), _createBlock(_component_DownloadTagsPopupComponent, {\n key: 0,\n \"selected-row\": _ctx.selectedRow,\n onVisibleChange: _ctx.handlePopupVisibleChange\n }, null, 8, [\"selected-row\", \"onVisibleChange\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","const DisplayType = {\n LIST: 'list',\n GRID: 'grid'\n};\n\nconst ProductFilterType = {\n ACTIVE: 'active',\n INACTIVE: 'inactive',\n LOWSTOCK: 'lowstock',\n ALL: 'all'\n};\n\nconst TipFilterType = {\n ACTIVE: 'active',\n INACTIVE: 'inactive',\n ALL: 'all'\n};\n\nconst TagSortOptions = {\n MOSTRECENT: 1,\n LEASTRECENT: 2,\n HIGHESTSALES: 3,\n LOWESTSALES: 4\n};\n\nconst AccountFilterType = {\n ACTIVE: 'active',\n INACTIVE: 'inactive',\n DISCONNECTED: 'disconnected',\n CANCELED: 'canceled',\n ALL: 'all'\n};\n\nconst AccountSortOption = {\n NAMEASC: 'Name a to z',\n NAMEDESC: 'Name z to a',\n SALESASC: 'Sales 0 to 9',\n SALESDESC: 'Sales 9 to 0',\n CREATEDDESC: 'Latest account created'\n};\n\nconst Profanity = {\n BASTARD: 'bastard',\n FUCK: 'fuck',\n HELP: 'help',\n ANAL: 'anal',\n ANUS: 'anus',\n ARSE: 'arse',\n ASS: 'ass',\n ASSSHOLE: 'assshole',\n BITCH: 'bitch',\n BLOODYHELL: 'bloody hell',\n BOONG: 'boong',\n COCK: 'cock',\n COCKFUCKER: 'cockfucker',\n COCKSUCK: 'cocksuck',\n COCKSUCKER: 'cocksucker',\n COON: 'coon',\n COONNASS: 'coonnass',\n CRAP: 'crap',\n CUNT: 'cunt',\n CYBERFUCK: 'cyberfuck',\n DAMN: 'damn',\n DARN: 'darn',\n DICK: 'dick',\n DIRTY: 'dirty',\n DOUCHE: 'douche',\n DUMMY: 'dummy',\n ERECT: 'erect',\n ERECTION: 'erection',\n EROTIC: 'erotic',\n ESCORT: 'escort',\n FAG: 'fag',\n FAGGOT: 'faggot',\n FUCKOFF: 'Fuck off',\n FUCKYOU: 'fuck you',\n FUCKASS: 'fuckass',\n FUCKHOLE: 'fuckhole',\n GODDAMN: 'god damn',\n GOOK: 'gook',\n HARDCORE: 'hardcore',\n HOMOEROTIC: 'homoerotic',\n HORE: 'hore',\n LESBIAN: 'lesbian',\n LESBIANS: 'lesbians',\n MOTHER_FUCKER: 'mother fucker',\n MOTHERFUCK: 'motherfuck',\n MOTHERFUCKER: 'motherfucker',\n NEGRO: 'negro',\n NIGGER: 'nigger',\n ORGASIM: 'orgasim',\n ORGASM: 'orgasm',\n PENIS: 'penis',\n PENISFUCKER: 'penisfucker',\n PISS: 'piss',\n PISSOFF: 'piss off',\n PORN: 'porn',\n PORNO: 'porno',\n PORNOGRAPHY: 'pornography',\n PUSSY: 'pussy',\n RETARD: 'retard',\n SADIST: 'sadist',\n SEX: 'sex',\n SEXY: 'sexy',\n SHIT: 'shit',\n SLUT: 'slut',\n SONOFABITCH: 'son of a bitch',\n SUCK: 'suck',\n TITS: 'tits',\n VIAGRA: 'viagra',\n WHORE: 'whore',\n XXX: 'xxx',\n DELETED: 'deleted',\n EXPIRED: 'expired'\n};\n\nconst SmsSensitiveWords = {\n HELP: 'help',\n SMS: 'sms',\n MMS: 'mms',\n CALL: 'call'\n};\n\nexport {\n DisplayType,\n ProductFilterType,\n TipFilterType,\n AccountFilterType,\n AccountSortOption,\n Profanity,\n SmsSensitiveWords,\n TagSortOptions\n};\n","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, createVNode as _createVNode, withCtx as _withCtx } from \"vue\"\nimport _imports_0 from '../assets/shopify.svg'\n\n\nconst _hoisted_1 = { class: \"margin-bottom-10\" }\nconst _hoisted_2 = { class: \"rounded-image--large\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"product-type-image\" }\nconst _hoisted_5 = {\n key: 0,\n src: _imports_0,\n alt: \"Shopify product indicator\",\n title: \"Shopify Product\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"h3\", { class: \"margin-top-6 margin-bottom-1\" }, \"Download Tags\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Download your Tags together or individually, including Attribution. To download Attribution Tags on their own you can do so in Product Details. \", -1)\nconst _hoisted_8 = {\n key: 1,\n class: \"text-legal text-light margin-top-1\"\n}\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"p\", null, \"Includes Attribution. Downloaded as ZIP.\", -1)\nconst _hoisted_10 = [\n _hoisted_9\n]\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-legal text-light margin-top-1\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" To activate our SMS checkout, instruct your audience to text the Tag we provide you to 81000. \")\n], -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n\n return (_ctx.selectedRow)\n ? (_openBlock(), _createBlock(_component_PopupComponent, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: \n _ctx.selectedRow.imageUrl || require('../assets/default-product.jpg')\n ,\n alt: \"image\"\n }, null, 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.selectedRow.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_5))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _hoisted_6,\n _hoisted_7,\n (!_ctx.hideDownloadAll)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n class: \"w-100\",\n label: \"Download All\",\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.downloadQR()))\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.hideDownloadAll)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, _hoisted_10))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Download QR\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.downloadQR(true)))\n }),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Copy Link\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.copyUrl\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Copy SMS\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.copySMS\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n class: \"w-100\",\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('visible-change', false)))\n }),\n _hoisted_11\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from 'vue';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport { mapMutations } from 'vuex';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from './BannerComponent/BannerMessages';\nimport Helpers from '@/helpers';\n\nexport interface DownloadTagItem {\n title: string;\n productId: string;\n accountId: string;\n hashtag: string;\n productSource: string;\n imageUrl: string;\n accountAffiliateId?: string;\n}\nexport default defineComponent({\n name: 'ProductList',\n components: {\n PopupComponent\n },\n props: {\n selectedRow: {\n type: Object as () => DownloadTagItem\n },\n hideDownloadAll: {\n type: Boolean,\n default: false\n }\n },\n emits: ['visible-change'],\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async downloadQR(singleFile?: boolean) {\n if (this.selectedRow) {\n this.setLoading(true);\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: this.selectedRow.productId,\n accountId: this.selectedRow.accountId,\n singleFile,\n accountAffiliateId: this.selectedRow.accountAffiliateId\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${this.selectedRow.title\n .substring(0, 50)\n .replace(/[^a-z0-9]/gi, '-')}.${singleFile ? 'png' : 'zip'}`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n this.$emit('visible-change', false);\n this.setLoading(false);\n }\n },\n async copyUrl() {\n await navigator.clipboard.writeText(\n `${window.location.origin}/buy/${this.selectedRow?.hashtag}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n this.$emit('visible-change', false);\n },\n async copySMS() {\n if (this.selectedRow) {\n await navigator.clipboard.writeText(\n Helpers.formatHashTag(this.selectedRow?.hashtag)\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n this.$emit('visible-change', false);\n }\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n }\n }\n});\n","import { render } from \"./DownloadTagsPopupComponent.vue?vue&type=template&id=35833526&ts=true\"\nimport script from \"./DownloadTagsPopupComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./DownloadTagsPopupComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { TagSortOptions } from '@/constants';\nimport Helpers from '@/helpers';\nimport { Tag, TagDetail, TipTag } from '@/models/tag';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { FilterProductListEvent } from '@/enums/productTypes';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport DownloadTagsPopupComponent, {\n DownloadTagItem\n} from '@/common/DownloadTagsPopupComponent.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'ProductList',\n components: {\n DownloadTagsPopupComponent\n },\n props: {\n tagFilter: {\n type: Object as () => FilterProductListEvent\n },\n display: {\n type: String,\n required: true\n }\n },\n emits: ['update:filteredCount'],\n data() {\n return {\n showDownloadTags: false,\n selectedRow: {} as DownloadTagItem,\n TagType,\n tagSortBy: TagSortOptions.MOSTRECENT,\n tagSearchValue: '',\n tags: [] as Tag[],\n filteredTags: [] as Tag[],\n menuItems: [\n {\n label: 'View',\n onClick: (row) => {\n const productId = row.productId as string;\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n }\n },\n {\n label: 'Edit',\n onClick: (row) => {\n const productId = row.productId as string;\n if (row?.type === TagType.TIP) {\n this.$router.push({\n name: 'seller-tip-edit',\n params: { productId }\n });\n } else {\n const routeName =\n row?.productSource === 'Shopify'\n ? 'seller-product-edit-shopify'\n : 'seller-product-edit';\n this.$router.push({ name: routeName, params: { productId } });\n }\n }\n },\n {\n label: 'Download Tags',\n onClick: (row) => {\n this.downloadEventHandler(row);\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n currentFilter: 'product/currentFilter',\n productSource: 'accounts/selectedFeatureTypeId'\n }),\n columns(): ColumnItem[] {\n const step1 = [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'name',\n label: 'Name'\n }\n ] as ColumnItem[];\n\n if (this.currentFilter === TagType.TIP) {\n const digitalColumns = [\n {\n id: 'amounts',\n label: 'Amounts'\n },\n {\n id: 'payments',\n label: 'Payments'\n },\n {\n id: 'saved',\n label: 'Saved'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu',\n label: ''\n }\n ];\n step1.push(...digitalColumns);\n } else {\n const productColumns = [\n {\n id: 'price',\n label: 'Price'\n },\n {\n id: 'sold',\n label: 'Sold'\n },\n {\n id: 'saved',\n label: 'Saved'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'quantity',\n label: 'Quantity'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu',\n label: ''\n }\n ];\n step1.push(...productColumns);\n }\n\n //Remove the saved column if not shopify\n if (this.productSource !== 'Shopify') {\n step1.splice(\n step1.findIndex((x) => x.id === 'saved'),\n 1\n );\n }\n\n return step1;\n }\n },\n watch: {\n // When the app boots, the currentAccount may not be set\n async currentAccount(newValue) {\n if (newValue != null) {\n await this.getTags();\n }\n },\n tagFilter(searchObject) {\n this.handleFiltering(searchObject);\n }\n },\n async mounted() {\n if (this.currentAccount == null) {\n return;\n }\n // Need to clear the current product selection\n this.setCurrentProduct(null);\n // await this.getTags();\n },\n methods: {\n ...mapMutations('product', ['setCurrentProduct', 'setProductIds']),\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n handlePopupVisibleChange(show: boolean) {\n this.showDownloadTags = show;\n },\n downloadEventHandler(tag: Tag) {\n this.selectedRow = tag as DownloadTagItem;\n this.showDownloadTags = true;\n },\n async downloadQR(tag: Tag, singleFile?: boolean) {\n this.setLoading(true);\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: tag.productId,\n accountId: tag.accountId,\n singleFile\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${tag.title.substring(0, 50).replace(/[^a-z0-9]/gi, '-')}.${\n singleFile ? 'png' : 'zip'\n }`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n this.showDownloadTags = false;\n this.setLoading(false);\n },\n async copyUrl() {\n await navigator.clipboard.writeText(\n `${window.location.origin}/buy/${this.selectedRow?.hashtag}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n this.showDownloadTags = false;\n },\n async copySMS() {\n await navigator.clipboard.writeText(\n Helpers.formatHashTag(this.selectedRow?.hashtag)\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n this.showDownloadTags = false;\n },\n decodeStatus(tag: Tag): string {\n return tag.disabled ? 'Inactive' : 'Active';\n },\n editTag(productId: string) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n },\n getAllAvailableStock(tag: Tag): number {\n if (!tag.skus) {\n // If we don't have any SKUs, we have no tags to sell (and probably a data corruption)\n return 0;\n }\n\n return tag.skus.map((x) => +x.quantity).reduce((a, b) => a + b, 0);\n },\n getTypeImage(tag: Tag): string {\n if (tag.shopifyShareEarn && tag.shopifySaveForLater) {\n return require('@/assets/multi-app-icon.svg');\n }\n if (tag.shopifySaveForLater) {\n return require('@/assets/later_icon.svg');\n }\n if (tag.shopifyShareEarn) {\n return require('@/assets/share-icon.svg');\n }\n return '';\n },\n getPrice(tag: Tag) {\n if (tag.type === TagType.TIP) {\n const prices = (tag as never as TipTag).amounts.map((x) => +x);\n\n const min = Math.min(...prices);\n const max = Math.max(...prices);\n\n if (min !== max) {\n return `${Helpers.currencyFormatter(\n min\n )} - ${Helpers.currencyFormatter(max)}`;\n } else {\n return `${Helpers.currencyFormatter(min)}`;\n }\n } else {\n if (tag?.skus && (tag as TagDetail)?.variants?.length) {\n const skus = Object.entries(tag.skus);\n if (skus.length > 0) {\n const prices = [] as number[];\n skus.forEach((sku) => {\n prices.push(+sku[1].price);\n });\n const min = Helpers.currencyFormatter(\n Math.min(...prices).toString()\n );\n const max = Helpers.currencyFormatter(\n Math.max(...prices).toString()\n );\n if (min !== max) {\n return `${min} - ${max}`;\n } else {\n return `${min}`;\n }\n }\n }\n\n const price = tag?.price || 0;\n return Helpers.currencyFormatter(price);\n }\n },\n formatPrice(amount: number): string {\n return Helpers.currencyFormatter(amount);\n },\n async handleFiltering(searchObject: FilterProductListEvent) {\n this.tagSortBy = searchObject.tagSortOption || 1;\n\n if (searchObject.searchValue != null) {\n this.tagSearchValue = searchObject.searchValue\n .toLowerCase()\n .replace(/ +/g, ' ');\n }\n\n await this.getTags();\n\n this.filteredTags = this.tags\n .filter((t) => {\n return this.tagSearchValue.split(' ').some((value: string) => {\n value = value.toLocaleLowerCase();\n return (\n (t.hashtag || '').toLocaleLowerCase().includes(value) ||\n (t.title || '').toLocaleLowerCase().includes(value) ||\n (t.description || '').toLocaleLowerCase().includes(value)\n );\n });\n })\n .sort(this.sortTags);\n this.setProductIds(this.filteredTags.map((x) => x.productId));\n this.$emit('update:filteredCount', this.filteredTags.length);\n },\n async getTags() {\n this.setLoading(true);\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_PRODUCTS,\n {\n accountId: this.currentAccount?.accountId,\n tagType: this.currentFilter,\n productSource: this.tagFilter?.productSource\n }\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n this.tags = (responseData.data as Tag[]).sort(this.sortTags);\n this.filteredTags = this.tags;\n }\n this.setLoading(false);\n },\n sortTags(a: Tag, b: Tag): number {\n let results = 0;\n switch (this.tagSortBy) {\n case TagSortOptions.LEASTRECENT: {\n const hashTagNoA = a.hashtag.replace(/\\D/g, '') || '0';\n const hashTagNoB = b.hashtag.replace(/\\D/g, '') || '0';\n results = +hashTagNoA - +hashTagNoB;\n break;\n }\n case TagSortOptions.HIGHESTSALES:\n results = b.totalSales - a.totalSales;\n break;\n case TagSortOptions.LOWESTSALES:\n results = a.totalSales - b.totalSales;\n break;\n case TagSortOptions.MOSTRECENT: // Most recent will have the highest tag as well\n default: {\n // Get just the number portion out of the tag to use for sorting, use 0 if no numbers in the tag\n const hashTagNoA = a.hashtag.replace(/\\D/g, '') || '0';\n const hashTagNoB = b.hashtag.replace(/\\D/g, '') || '0';\n results = +hashTagNoB - +hashTagNoA;\n }\n }\n\n return results;\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n }\n }\n});\n","import { render } from \"./ProductList.vue?vue&type=template&id=dc12789a&ts=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductList.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductList.vue?vue&type=style&index=0&id=dc12789a&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7d344f4f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"tags-menu-controls-container\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filterOptions, (f, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createVNode(_component_BoostButton, {\n label: f.name,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.filter === f.value\n }),\n disabled: f.disabled,\n onClick: ($event: any) => {\n _ctx.setFilter(f.value);\n _ctx.setTagFilter();\n }\n }, null, 8, [\"label\", \"class\", \"disabled\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n (_ctx.filteredCount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.sort,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.sort) = $event)),\n options: _ctx.sortOptions,\n \"input-id\": \"select-sort-option\",\n onInput: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setTagFilter()))\n }, null, 8, [\"modelValue\", \"options\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { TagSortOptions } from '@/constants';\nimport { FilterProductListEvent } from '@/../enums/productTypes';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n props: {\n filteredCount: {\n type: Number\n }\n },\n emits: ['addNewTag', 'filterTagList'],\n data() {\n return {\n sort: TagSortOptions.MOSTRECENT,\n sortOptions: [\n { name: 'Most Recent', value: TagSortOptions.MOSTRECENT },\n { name: 'Least Recent', value: TagSortOptions.LEASTRECENT },\n { name: 'Highest Sales', value: TagSortOptions.HIGHESTSALES },\n { name: 'Lowest Sales', value: TagSortOptions.LOWESTSALES }\n ],\n searchString: ''\n };\n },\n computed: {\n ...mapGetters({\n getSearchText: 'global/getSearchText',\n filter: 'product/currentFilter',\n productSource: 'accounts/selectedFeatureTypeId'\n }),\n filterOptions(): { name: string; value: string; disabled: boolean }[] {\n if (this.productSource === 'Kiosk') {\n return [\n { name: 'Products', value: TagType.PRODUCT, disabled: false },\n { name: 'Digital', value: TagType.TIP, disabled: false },\n { name: 'Subscriptions', value: 'Subscriptions', disabled: true }\n ];\n }\n const options = [\n { name: 'Products', value: TagType.PRODUCT, disabled: false },\n { name: 'Subscriptions', value: 'Subscriptions', disabled: true }\n ];\n return options;\n }\n },\n watch: {\n getSearchText(val: string) {\n this.searchString = val;\n this.setTagFilter();\n }\n },\n created() {\n const productSource = this.$route.query.productSource?.toString();\n if (productSource) {\n this.productSource = productSource;\n if (productSource === ProductSource.Shopify) {\n // Show banner message\n this.setBannerStatus({\n text: BannerMessageStrings.SHOPIFY_TAGS_ADDED,\n type: BannerType.info\n });\n }\n }\n this.viewTags();\n },\n methods: {\n ...mapMutations({\n setFilter: 'product/setCurrentFilter',\n setBannerStatus: 'global/setBannerStatus'\n }),\n setTagFilter() {\n this.viewTags();\n },\n viewTags() {\n this.setFilter(this.filter as TagType);\n const filterProductListEventArgs: FilterProductListEvent = {\n filterType: this.filter,\n searchValue: this.searchString,\n tagSortOption: this.sort,\n productSource: this.productSource\n };\n this.$emit('filterTagList', filterProductListEventArgs);\n }\n }\n});\n","import { render } from \"./ProductsMenuControls.vue?vue&type=template&id=7d344f4f&scoped=true&ts=true\"\nimport script from \"./ProductsMenuControls.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsMenuControls.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductsMenuControls.vue?vue&type=style&index=0&id=7d344f4f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7d344f4f\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport ProductList from './ProductList.vue';\nimport ProductsMenuControls from './ProductsMenuControls.vue';\nimport { DisplayType } from '@/constants';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { FilterProductListEvent } from '@/enums/productTypes';\nimport { TagType } from '@/../enums/tagType';\n\nexport default defineComponent({\n name: 'ProductsRoot',\n components: {\n ProductList,\n ProductsMenuControls\n },\n data() {\n return {\n TagType,\n display: DisplayType.GRID,\n tagFilter: {\n filterType: (this.currentFilter || TagType.PRODUCT).toString(),\n searchValue: undefined,\n tagSortOption: undefined,\n productSource: 'all'\n } as FilterProductListEvent,\n tagCount: 0\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n currentFilter: 'product/currentFilter',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n mounted() {\n if (!this.currentAccount) {\n return;\n }\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n handleAddNewTag() {\n // Set the current product to undefined to clear out any existing product information left behind\n this.$store.commit('product/setCurrentProduct', undefined);\n if (this.productSource === 'Kiosk') {\n if (this.currentFilter === TagType.TIP) {\n this.$router.push({ name: 'seller-tip-create' });\n } else {\n this.$router.push({ name: 'seller-product-create' });\n }\n } else {\n this.$router.push({ name: 'seller-product-import-shopify' });\n }\n },\n handleFilter(filter: FilterProductListEvent) {\n this.tagFilter = filter;\n }\n }\n});\n","import { render } from \"./Products.vue?vue&type=template&id=4286944e&ts=true\"\nimport script from \"./Products.vue?vue&type=script&lang=ts\"\nexport * from \"./Products.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, vShow as _vShow, withDirectives as _withDirectives, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"pre-registration flex flex--wrap flex--column align--center no-pad margin-top-10\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"t-4\"\n}\nconst _hoisted_5 = { class: \"pre-registration__error-message\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Stepper = _resolveComponent(\"Stepper\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_PreRegEntry = _resolveComponent(\"PreRegEntry\")!\n const _component_PreRegAccount = _resolveComponent(\"PreRegAccount\")!\n const _component_PreRegShipping = _resolveComponent(\"PreRegShipping\")!\n const _component_PreRegCard = _resolveComponent(\"PreRegCard\")!\n const _component_PreRegComplete = _resolveComponent(\"PreRegComplete\")!\n const _component_PageNotFoundComponent = _resolveComponent(\"PageNotFoundComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#stepper-indicator\" }, [\n (_ctx.currentStep > 1 && _ctx.currentStep < 5)\n ? (_openBlock(), _createBlock(_component_Stepper, {\n key: 0,\n steps: 3,\n \"current-step\": _ctx.currentStep - 1\n }, null, 8, [\"current-step\"]))\n : _createCommentVNode(\"\", true)\n ])),\n (_ctx.currentStep > 2 && _ctx.currentStep < 5)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 0,\n to: \"#header-back-menu\"\n }, [\n _createVNode(_component_BoostButton, {\n key: \"account_back\",\n \"button-style\": \"none\",\n onClick: _ctx.previousStep\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../assets/arrow-left.svg'),\n alt: \"Back arrow\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" \" + _toDisplayString(_ctx.currentStep === 3 ? 'Create account' : 'Shipping'), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.errorMessage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(_ctx.errorMessage), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.sellerAccount)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (_ctx.sellerAccount && _ctx.currentStep === 1)\n ? (_openBlock(), _createBlock(_component_PreRegEntry, {\n key: 0,\n \"mobile-number\": _ctx.mobileNumber,\n \"onUpdate:mobile-number\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.mobileNumber) = $event)),\n seller: _ctx.sellerAccount,\n status: _ctx.status,\n onError: _ctx.handleError,\n onNext: _ctx.captureNumber\n }, null, 8, [\"mobile-number\", \"seller\", \"status\", \"onError\", \"onNext\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_PreRegAccount, {\n account: _ctx.account,\n \"onUpdate:account\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.account) = $event)),\n status: _ctx.status,\n onError: _ctx.handleError,\n onNext: _ctx.nextStep\n }, null, 8, [\"account\", \"status\", \"onError\", \"onNext\"]), [\n [_vShow, _ctx.currentStep === 2]\n ]),\n _withDirectives(_createVNode(_component_PreRegShipping, {\n shipping: _ctx.shipping,\n \"onUpdate:shipping\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.shipping) = $event)),\n status: _ctx.status,\n seller: _ctx.sellerAccount,\n loading: _ctx.getCodeState,\n onError: _ctx.handleError,\n onNext: _ctx.createSetupIntent,\n onBack: _ctx.previousStep\n }, null, 8, [\"shipping\", \"status\", \"seller\", \"loading\", \"onError\", \"onNext\", \"onBack\"]), [\n [_vShow, _ctx.currentStep === 3]\n ]),\n (_ctx.currentStep === 4 && _ctx.stripe)\n ? (_openBlock(), _createBlock(_component_PreRegCard, {\n key: 1,\n stripe: _ctx.stripe,\n status: _ctx.status,\n loading: _ctx.getCodeState,\n seller: _ctx.sellerAccount,\n onError: _ctx.handleError,\n onNext: _ctx.captureCard,\n onBack: _ctx.previousStep\n }, null, 8, [\"stripe\", \"status\", \"loading\", \"seller\", \"onError\", \"onNext\", \"onBack\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_PreRegComplete, {\n seller: _ctx.sellerAccount,\n \"pre-reg-info\": _ctx.preRegistrationUserInfo,\n \"mobile-number\": _ctx.mobileNumber,\n status: _ctx.status\n }, null, 8, [\"seller\", \"pre-reg-info\", \"mobile-number\", \"status\"]), [\n [_vShow, _ctx.sellerAccount && _ctx.currentStep === 5]\n ])\n ], 64))\n : (_openBlock(), _createBlock(_component_PageNotFoundComponent, { key: 2 }))\n ])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, createElementBlock as _createElementBlock, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '../assets/flag-usa.svg'\n\n\nconst _hoisted_1 = { class: \"prereg-entry no-pad\" }\nconst _hoisted_2 = { class: \"flex flex--full-width flex--column\" }\nconst _hoisted_3 = { class: \"prereg-entry__image\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"prereg-entry__content\" }\nconst _hoisted_6 = { class: \"prereg-entry__title\" }\nconst _hoisted_7 = { class: \"prereg-entry__form\" }\nconst _hoisted_8 = [\"onSubmit\"]\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_10 = {\n key: 0,\n class: \"prereg-entry__form\"\n}\nconst _hoisted_11 = [\"onSubmit\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_MetaPixelScript = _resolveComponent(\"MetaPixelScript\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.seller?.metaPixel)\n ? (_openBlock(), _createBlock(_component_MetaPixelScript, {\n key: 0,\n is: _ctx.script,\n \"pixel-id\": _ctx.seller.metaPixel\n }, null, 8, [\"is\", \"pixel-id\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: \n _ctx.seller?.logoUrl\n ? _ctx.seller.logoUrl\n : require('../assets/default-brand.jpg')\n ,\n alt: \"\"\n }, null, 8, _hoisted_4)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"h2\", _hoisted_6, _toDisplayString(_ctx.seller?.name), 1),\n _createElementVNode(\"p\", null, \" Enter your number to pre-register for \" + _toDisplayString(_ctx.seller?.name) + \". Get first access to drops and easily buy what you love using Tags' Instant Checkout. \", 1),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.requestConfirmationCode)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.internalMobileNumber,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.internalMobileNumber) = $event)),\n label: \"Mobile number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n class: \"margin-bottom-2\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: \"next\",\n \"loading-state\": _ctx.getCodeState,\n label: \"Get Code\",\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"width-100 btn-form\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"]))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_8)\n ]),\n _: 1\n })\n ]),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.checkConfirmationCode)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.confirmationCode,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n label: \"Confirmation Code\",\n placeholder: \"Confirmation Code\",\n rules: \"required\",\n class: \"margin-bottom-2\",\n \"input-id\": \"confirmationCode\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"#\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.requestConfirmationCode && _ctx.requestConfirmationCode(...args)))\n }, \"Resend Code\", 2)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n key: \"confirm\",\n \"loading-state\": _ctx.getCodeState,\n label: \"Confirm\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"width-100 btn-form\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"])\n ], 40, _hoisted_11)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ], 64))\n}","\nimport { h, defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'MetaPixelScript',\n functional: true,\n props: {\n pixelId: {\n type: String,\n default: ''\n }\n },\n render() {\n return h('script', {\n pixelId: this.pixelId,\n src: '/js/meta-pixel-script.js'\n });\n }\n});\n","import script from \"./MetaPixelScript.vue?vue&type=script&lang=ts\"\nexport * from \"./MetaPixelScript.vue?vue&type=script&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport {\n PreRegStatus,\n SellerAccount\n} from '@/pre-registration/PreRegistration.vue';\nimport Helpers from '@/helpers';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport MetaPixelScript from '@/common/MetaPixelScript.vue';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'PreRegEntry',\n components: {\n MetaPixelScript\n },\n props: {\n seller: {\n type: Object as () => SellerAccount\n },\n mobileNumber: {\n type: String\n },\n status: {\n type: String as () => PreRegStatus\n }\n },\n emits: ['update:mobileNumber', 'next', 'error'],\n data() {\n return {\n internalMobileNumber: '',\n hasSentConfirmationCode: false,\n confirmationCode: '',\n userTypeContext: '',\n getCodeState: ButtonLoadingState.initial,\n loginContext: {\n LOGIN_EMAIL: 'LOGIN_EMAIL',\n LOGIN_MOBILE_NUMBER: 'LOGIN_MOBILE_NUMBER',\n SIGNUP_MOBILE_NUMBER: 'SIGNUP_MOBILE_NUMBER',\n PREREGISTER_USER: 'PREREGISTER_USER',\n PREREGISTER_EXISTING_USER: 'PREREGISTER_EXISTING_USER'\n }\n };\n },\n computed: {\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n }\n },\n methods: {\n async requestConfirmationCode() {\n try {\n this.$emit('update:mobileNumber', this.internalMobileNumber);\n this.getCodeState = ButtonLoadingState.loading;\n const payload = {\n number: Helpers.prefixPhoneNumber(this.internalMobileNumber),\n context: this.loginContext.PREREGISTER_USER\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n this.getCodeState = ButtonLoadingState.complete;\n this.userTypeContext = confirmationCodeResponse.code;\n this.hasSentConfirmationCode = true;\n\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_SENDING_CONFIRMATION_CODE,\n type: BannerType.success\n });\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n this.hasSentConfirmationCode = false;\n }\n },\n\n async checkConfirmationCode() {\n if (!this.mobileNumber) {\n return;\n }\n // Check if phone number exists\n // 1. call existing code validation api\n // 2. if existing, call new api to register the relationship\n // 3. if new customer, proceed to next step to collect info\n this.getCodeState = ButtonLoadingState.loading;\n\n const context = this.loginContext.PREREGISTER_USER;\n\n const payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n code: this.confirmationCode,\n context\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n if (confirmationCodeResponse.code === 'OK') {\n this.$emit('next', this.internalMobileNumber, this.userTypeContext);\n\n if (this.userTypeContext !== 'PREREGISTER_EXISTING_USER') {\n this.getCodeState = ButtonLoadingState.complete;\n }\n } else {\n this.$emit('error', confirmationCodeResponse.code);\n this.getCodeState = ButtonLoadingState.complete;\n }\n }\n }\n }\n});\n","import { render } from \"./PreRegEntry.vue?vue&type=template&id=6ff7cdab&ts=true\"\nimport script from \"./PreRegEntry.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegEntry.vue?vue&type=script&lang=ts\"\n\nimport \"./PreRegEntry.vue?vue&type=style&index=0&id=6ff7cdab&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"prereg-entry no-pad\" }\nconst _hoisted_2 = { class: \"prereg-entry__content\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"prereg-entry__title\" }, \"Create account\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", null, \" You're in! Please provide your contact details to create your account. \", -1)\nconst _hoisted_5 = { class: \"prereg-entry__form\" }\nconst _hoisted_6 = [\"onSubmit\"]\nconst _hoisted_7 = { class: \"t-12 no-pad\" }\nconst _hoisted_8 = { class: \"t-12 no-pad\" }\nconst _hoisted_9 = { class: \"flex input-set\" }\nconst _hoisted_10 = { class: \"flex flex--column\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.saveAccountSetup)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.account.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.account.firstName) = $event)),\n label: \"First name\",\n rules: \"required\",\n \"input-id\": \"first_name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.account.lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.account.lastName) = $event)),\n label: \"Last name\",\n rules: \"required\",\n \"input-id\": \"last_name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.account.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.account.email) = $event)),\n label: \"Email address\",\n rules: \"required|email\",\n \"input-id\": \"email\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostButton, {\n key: \"account_continue\",\n label: \"Continue\",\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"w-100 btn-form\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"disabled\", \"class\"])\n ])\n ])\n ], 40, _hoisted_6)\n ]),\n _: 1\n }, 512)\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n PreRegAccount,\n PreRegStatus\n} from '@/pre-registration/PreRegistration.vue';\nimport { store } from '@/store';\nexport default defineComponent({\n name: 'PreRegAccount',\n props: {\n account: {\n type: Object as () => PreRegAccount,\n required: true\n },\n status: {\n type: String as () => PreRegStatus\n }\n },\n emits: ['update:account', 'next'],\n data() {\n return {};\n },\n computed: {\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n }\n },\n methods: {\n saveAccountSetup() {\n this.$emit('update:account', this.account);\n this.$emit('next');\n }\n }\n});\n","import { render } from \"./PreRegAccount.vue?vue&type=template&id=7b7fe0d8&ts=true\"\nimport script from \"./PreRegAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegAccount.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"prereg-entry no-pad\" }\nconst _hoisted_2 = { class: \"prereg-entry__content\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"prereg-entry__title\" }, \"Shipping\", -1)\nconst _hoisted_4 = { class: \"prereg-entry__form\" }\nconst _hoisted_5 = [\"onSubmit\"]\nconst _hoisted_6 = { class: \"t-12 no-pad\" }\nconst _hoisted_7 = { class: \"t-12 no-pad\" }\nconst _hoisted_8 = { class: \"flex input-set\" }\nconst _hoisted_9 = { class: \"flex input-set\" }\nconst _hoisted_10 = { class: \"flex flex--column\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", null, \" Where should \" + _toDisplayString(_ctx.seller?.name) + \" send your purchases to? Don't worry, you can change your shipping address later if you need to. \", 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.saveShipping)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address1,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.shipping.address1) = $event)),\n label: \"Address Line 1\",\n rules: \"required\",\n \"input-id\": \"address1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address2,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.shipping.address2) = $event)),\n label: \"Address Line 2\",\n \"input-id\": \"address2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.city,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.shipping.city) = $event)),\n label: \"City\",\n rules: \"required\",\n \"input-id\": \"city\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.shipping.state,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.shipping.state) = $event)),\n label: \"State\",\n rules: \"required\",\n \"input-id\": \"state\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.postalCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.shipping.postalCode) = $event)),\n label: \"Zip\",\n rules: \"required\",\n \"input-id\": \"zip\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.country,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.shipping.country) = $event)),\n label: \"Country\",\n disabled: \"\",\n rules: \"required\",\n \"input-id\": \"country\"\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostButton, {\n key: \"account_continue\",\n label: \"Continue\",\n \"loading-state\": _ctx.loading,\n \"button-style\": \"custom\",\n class: _normalizeClass([\"w-100 btn-form\", 'custom__' + _ctx.customColor]),\n disabled: !meta.valid,\n type: \"submit\"\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"])\n ])\n ])\n ], 40, _hoisted_5)\n ]),\n _: 1\n }, 512)\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n PreRegShipping,\n PreRegStatus,\n SellerAccount\n} from '@/pre-registration/PreRegistration.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { store } from '@/store';\nexport default defineComponent({\n name: 'PreRegShipping',\n props: {\n shipping: {\n type: Object as () => PreRegShipping,\n required: true\n },\n status: {\n type: String as () => PreRegStatus\n },\n loading: {\n type: String as () => ButtonLoadingState\n },\n seller: {\n type: Object as () => SellerAccount\n }\n },\n emits: ['update:shipping', 'next', 'back'],\n data() {\n return {\n getCodeState: ButtonLoadingState.initial\n };\n },\n computed: {\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n }\n },\n methods: {\n saveShipping() {\n this.$emit('update:shipping', this.shipping);\n this.$emit('next');\n },\n back() {\n this.$emit('back');\n }\n }\n});\n","import { render } from \"./PreRegShipping.vue?vue&type=template&id=d57937d0&ts=true\"\nimport script from \"./PreRegShipping.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegShipping.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"prereg-entry no-pad\" }\nconst _hoisted_2 = { class: \"prereg-entry__content\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"prereg-entry__title\" }, \"Card\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" Final step! Enter your card details so we can add them to your account. \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"You will not be charged\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1)\nconst _hoisted_5 = { class: \"flex flex--wrap\" }\nconst _hoisted_6 = { class: \"flex--full-width\" }\nconst _hoisted_7 = { class: \"t-12 no-pad\" }\nconst _hoisted_8 = { class: \"t-12 no-pad\" }\nconst _hoisted_9 = { class: \"text-legal\" }\nconst _hoisted_10 = { class: \"flex flex--column\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostStripeCard, {\n stripe: _ctx.stripe,\n label: \"Card details\",\n onCard: _ctx.collectCard\n }, null, 8, [\"stripe\", \"onCard\"])\n ]),\n _createElementVNode(\"p\", _hoisted_9, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"agree-to-terms\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.agreeToTerms) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.agreeToTerms]\n ]),\n _createTextVNode(\"  I agree to the \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/seller-terms\",\n target: \"_blank\"\n }, \"Terms of Use\", 2),\n _createTextVNode(\" & \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/privacy-policy\",\n target: \"_blank\"\n }, \"Privacy Policy\", 2),\n _createTextVNode(\". \")\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostButton, {\n key: \"account_continue\",\n label: \"Continue\",\n \"loading-state\": _ctx.loading,\n \"button-style\": \"custom\",\n disabled: !_ctx.complete || !_ctx.agreeToTerms,\n class: _normalizeClass(['custom__' + _ctx.customColor, \"width-100 btn-form\"]),\n onClick: _ctx.saveCard\n }, null, 8, [\"loading-state\", \"disabled\", \"class\", \"onClick\"])\n ])\n ])\n ])\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { Stripe, StripeCardElement } from '@stripe/stripe-js';\nimport {\n PreRegStatus,\n SellerAccount\n} from '@/pre-registration/PreRegistration.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'PreRegCard',\n props: {\n stripe: {\n type: Object as () => Stripe,\n required: true\n },\n status: {\n type: String as () => PreRegStatus\n },\n loading: {\n type: String as () => ButtonLoadingState\n },\n seller: {\n type: Object as () => SellerAccount\n }\n },\n emits: ['next', 'back'],\n data() {\n return {\n stripeCardElement: null as null | StripeCardElement,\n stripeClientSecret: '',\n cardError: '' as string | undefined,\n complete: false,\n agreeToTerms: false\n };\n },\n computed: {\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n }\n },\n methods: {\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.cardError = '';\n this.complete = true;\n },\n saveCard() {\n this.$emit('next', this.stripeCardElement);\n },\n back() {\n this.$emit('back');\n }\n }\n});\n","import { render } from \"./PreRegCard.vue?vue&type=template&id=889383d2&ts=true\"\nimport script from \"./PreRegCard.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegCard.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"prereg-entry no-pad\" }\nconst _hoisted_2 = { class: \"flex flex--full-width flex--column\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"prereg-entry__content\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"prereg-entry__title\" }, \"You're registered!\", -1)\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { class: \"prereg-entry__summary\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Account\", -1)\nconst _hoisted_8 = { class: \"prereg-entry__summary\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Shipping\", -1)\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { class: \"prereg-entry__summary\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Card\", -1)\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"p\", null, \" We noticed there was an error when establishing your account that we couldn't fix. To get in contact with support, please click the button below. \", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_PageNotFoundComponent = _resolveComponent(\"PageNotFoundComponent\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.preRegInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" Now, wherever you see \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"https://support.tagscommerce.com/hc/en-us/categories/360002454434-Buyer-Experience\",\n target: \"_blank\"\n }, \" Tags\", 2),\n _createTextVNode(\", you can scan or text to 81000 to complete the purchase in seconds. \")\n ]),\n (_ctx.preRegInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"div\", null, _toDisplayString(`${_ctx.preRegInfo?.firstName} ${_ctx.preRegInfo?.lastName}`), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.preRegInfo.mobileNumber), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.preRegInfo.email), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.preRegInfo?.shippingAddress?.address1), 1),\n (_ctx.preRegInfo?.shippingAddress?.address2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, _toDisplayString(_ctx.preRegInfo.shippingAddress.address2), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.preRegInfo?.shippingAddress?.city) + \", \" + _toDisplayString(_ctx.preRegInfo?.shippingAddress?.state) + \" \" + _toDisplayString(_ctx.preRegInfo?.shippingAddress?.postalCode), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", null, \"Card ending in \" + _toDisplayString(_ctx.preRegInfo.last4), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n key: \"confirm\",\n class: _normalizeClass([\"w-100 margin-top-4\", 'custom__' + _ctx.customColor]),\n label: \"View my account\",\n \"button-style\": \"custom\",\n onClick: _ctx.handleNextAction\n }, null, 8, [\"class\", \"onClick\"])\n ]))\n : (_openBlock(), _createBlock(_component_PageNotFoundComponent, {\n key: 1,\n \"route-path\": \"https://support.tagscommerce.com/hc/en-us/requests/new\",\n \"external-route\": \"\",\n title: \"There was a problem\",\n \"button-label\": \"Contact support\"\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }))\n ])\n ]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container--small text-align--center\" }\nconst _hoisted_2 = { class: \"grid-row--medium\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"p\", null, \" We’ve come up empty! The page you’re looking for has either been removed or has changed location. Let’s get you back to somewhere more familiar. \", -1)\nconst _hoisted_4 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.title), 1),\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _hoisted_3\n ]),\n (_ctx.externalRoute)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"btn btn-active flex justify--center flex--full-width\",\n href: _ctx.routePath\n }, _toDisplayString(_ctx.buttonLabel), 9, _hoisted_4))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n class: \"btn btn-active flex--full-width\",\n onClick: _ctx.goHome\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.buttonLabel), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'PageNotFoundComponent',\n props: {\n routePath: {\n type: String,\n default: '/'\n },\n externalRoute: {\n type: Boolean,\n default: false\n },\n title: {\n type: String,\n default: '404'\n },\n buttonLabel: {\n type: String,\n default: 'Back to Home'\n }\n },\n methods: {\n goHome() {\n this.$router.push({ path: this.routePath });\n }\n }\n});\n","import { render } from \"./PageNotFoundComponent.vue?vue&type=template&id=09818be8&ts=true\"\nimport script from \"./PageNotFoundComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./PageNotFoundComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport {\n PreRegStatus,\n SellerAccount\n} from '@/pre-registration/PreRegistration.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { PreRegistrationUserInfo } from '@/models/audienceMember';\nimport PageNotFoundComponent from '@/common/PageNotFoundComponent.vue';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'PreRegComplete',\n components: { PageNotFoundComponent },\n props: {\n seller: {\n type: Object as () => SellerAccount\n },\n preRegInfo: {\n type: Object as () => PreRegistrationUserInfo,\n required: true\n },\n mobileNumber: {\n type: String\n },\n status: {\n type: String as () => PreRegStatus\n }\n },\n data() {\n return {\n hasSentConfirmationCode: false,\n confirmationCode: '',\n getCodeState: ButtonLoadingState.initial,\n loginContext: {\n LOGIN_EMAIL: 'LOGIN_EMAIL',\n LOGIN_MOBILE_NUMBER: 'LOGIN_MOBILE_NUMBER',\n PREREGISTER_USER: 'PREREGISTER_USER'\n }\n };\n },\n computed: {\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n }\n },\n methods: {\n handleNextAction() {\n this.$router.push({\n name: 'Login',\n query: { type: 1 }\n });\n }\n }\n});\n","import { render } from \"./PreRegComplete.vue?vue&type=template&id=3b0a05f8&ts=true\"\nimport script from \"./PreRegComplete.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegComplete.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport PreRegEntry from '@/pre-registration/PreRegEntry.vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport PreRegAccount from '@/pre-registration/PreRegAccount.vue';\nimport PreRegShipping from '@/pre-registration/PreRegShipping.vue';\nimport Stepper from '@/common/Stepper.vue';\nimport PreRegCard from '@/pre-registration/PreRegCard.vue';\nimport { loadStripe, Stripe, StripeCardElement } from '@stripe/stripe-js';\nimport settings from '@/settings';\nimport PreRegComplete from '@/pre-registration/PreRegComplete.vue';\nimport Helpers from '@/helpers';\nimport { PreRegistrationUserInfo } from '@/models/audienceMember';\nimport { Address } from '@/models/mailingAddress';\nimport { mapMutations } from 'vuex';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport PageNotFoundComponent from '@/common/PageNotFoundComponent.vue';\nimport { store } from '@/store';\nimport { BrandInformation } from '@/store/types';\n\nexport interface SellerAccount {\n accountId: string;\n name: string;\n phone: string;\n refundPolicy: string;\n slug: string;\n logoUrl: string;\n hashtagPrefix: string;\n email: string;\n metaPixel?: string;\n customColor?: string;\n globalCommission?: number;\n shopifyStore?: string;\n plan?: string;\n enableShareEarn?: boolean;\n enableSaveForLater?: boolean;\n enableMarketplace?: boolean;\n widgetAutomaticPlacement?: boolean;\n}\n\n// eslint-disable-next-line no-redeclare\nexport interface PreRegAccount {\n firstName: string;\n lastName: string;\n email: string;\n}\n\n// eslint-disable-next-line no-redeclare\nexport interface PreRegShipping {\n address1?: string;\n address2?: string;\n city: string;\n state: string;\n postalCode: string;\n country: string;\n}\n\nexport enum PreRegStatus {\n MOBILE_NEEDS_VALIDATION = 'MOBILE_NEEDS_VALIDATION',\n MOBILE_VALIDATED = 'MOBILE_VALIDATED',\n SETUP_INTENT_CREATED = 'SETUP_INTENT_CREATED',\n CARD_CAPTURED = 'CARD_CAPTURED',\n REGISTERED = 'REGISTERED'\n}\n\nexport default defineComponent({\n name: 'PreRegistration',\n components: {\n PreRegEntry,\n PreRegAccount,\n PreRegShipping,\n PreRegCard,\n PreRegComplete,\n Stepper,\n PageNotFoundComponent\n },\n data() {\n return {\n PreRegStatus,\n userTypeContext: '',\n status: PreRegStatus.MOBILE_NEEDS_VALIDATION as PreRegStatus,\n getCodeState: ButtonLoadingState.initial,\n currentStep: 1,\n totalSteps: 5,\n sellerId: '',\n imageUrl: '',\n mobileNumber: '',\n account: {\n firstName: '',\n lastName: '',\n email: ''\n } as PreRegAccount,\n shipping: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States'\n } as PreRegShipping,\n stripeCardElement: null as null | StripeCardElement,\n stripe: null as null | Stripe,\n stripeClientSecret: '',\n errorMessage: '' as string | undefined,\n sellerAccount: null as null | SellerAccount,\n preRegistrationUserInfo: {} as PreRegistrationUserInfo\n };\n },\n async mounted() {\n if (this.$route.params.sellerId) {\n this.sellerId = this.$route.params.sellerId as string;\n this.setLoading(true);\n await this.getSellerAccount();\n await this.initializeStripe();\n this.setLoading(false);\n }\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setShowLogo', 'setShowHelp']),\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n async getSellerAccount() {\n const payload = {\n slug: this.sellerId\n };\n\n const sellerAccount = await FirebaseRequest.createRequest<{\n seller: SellerAccount;\n }>(FirebaseRequestTypes.GET_SELLER_INFO, payload);\n\n if (sellerAccount) {\n this.sellerAccount = sellerAccount.data?.seller as SellerAccount;\n console.log('🔥 ', this.sellerAccount);\n store.commit('global/setCustomColor', this.sellerAccount.customColor);\n store.commit('global/setBrandInformation', {\n brandName: this.sellerAccount.name,\n logoUrl: this.sellerAccount.logoUrl,\n metaPixel: this.sellerAccount.metaPixel,\n customColor: this.sellerAccount.customColor\n } as BrandInformation);\n }\n },\n\n async captureNumber(mobileNumber: string, context: string) {\n this.mobileNumber = mobileNumber;\n this.userTypeContext = context;\n // do something based on context\n // returning user or new user\n this.status = PreRegStatus.MOBILE_VALIDATED;\n\n if (this.userTypeContext === 'PREREGISTER_EXISTING_USER') {\n await this.completePreRegistration();\n } else {\n this.nextStep();\n }\n },\n\n async createSetupIntent() {\n if (this.status === PreRegStatus.MOBILE_VALIDATED) {\n try {\n this.getCodeState = ButtonLoadingState.loading;\n const payload = {\n mobileNumber: Helpers.prefixPhoneNumber(this.mobileNumber)\n };\n\n const setupIntent = await FirebaseRequest.createRequest<{\n clientSecret: string;\n }>(FirebaseRequestTypes.CREATE_PAYMENT_INTENT, payload);\n\n if (setupIntent) {\n this.stripeClientSecret = setupIntent.data?.clientSecret || '';\n this.status = PreRegStatus.SETUP_INTENT_CREATED;\n }\n } catch (err) {\n console.error('Error: ', err);\n this.errorMessage = err as string;\n }\n }\n\n this.getCodeState = ButtonLoadingState.complete;\n this.nextStep();\n },\n\n captureCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.confirmSetupIntent();\n },\n\n confirmSetupIntent() {\n if (this.status !== PreRegStatus.SETUP_INTENT_CREATED) {\n this.nextStep();\n } else {\n if (this.stripe && this.stripeCardElement) {\n this.getCodeState = ButtonLoadingState.loading;\n // 1. setup intent capture\n this.stripe\n .confirmCardSetup(this.stripeClientSecret, {\n // eslint-disable-next-line\n payment_method: {\n card: this.stripeCardElement\n }\n })\n // eslint-disable-next-line\n // @ts-ignore\n .then((result) => {\n if (result.error) {\n console.error(result);\n // Inform the customer that there was an error\n this.errorMessage = result.error.message;\n } else {\n this.status = PreRegStatus.CARD_CAPTURED;\n this.completePreRegistration();\n }\n });\n }\n }\n },\n\n async completePreRegistration() {\n if (this.status === PreRegStatus.CARD_CAPTURED && this.sellerAccount) {\n try {\n const shippingAddress: Address = this.shipping;\n const isNewUser = true;\n const slug = this.sellerAccount.slug;\n\n const payload: PreRegistrationUserInfo = {\n shippingAddress,\n email: this.account.email,\n firstName: this.account.firstName,\n lastName: this.account.lastName,\n mobileNumber: Helpers.prefixPhoneNumber(this.mobileNumber),\n slug,\n isNewUser\n };\n\n const registrationResult =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_PRE_REGISTRATION,\n payload\n );\n\n if (registrationResult) {\n this.preRegistrationUserInfo =\n registrationResult.data as PreRegistrationUserInfo;\n this.status = PreRegStatus.REGISTERED;\n this.getCodeState = ButtonLoadingState.complete;\n this.nextStep();\n }\n } catch (err) {\n console.error('Error: ', err);\n this.errorMessage = err as string;\n }\n } else if (\n this.status === PreRegStatus.MOBILE_VALIDATED &&\n this.userTypeContext === 'PREREGISTER_EXISTING_USER' &&\n this.sellerAccount\n ) {\n const payload: PreRegistrationUserInfo = {\n mobileNumber: Helpers.prefixPhoneNumber(this.mobileNumber),\n slug: this.sellerAccount.slug,\n isNewUser: false\n };\n\n const registrationResult =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_PRE_REGISTRATION,\n payload\n );\n\n if (registrationResult) {\n this.preRegistrationUserInfo =\n registrationResult.data as PreRegistrationUserInfo;\n this.status = PreRegStatus.REGISTERED;\n this.currentStep = 5;\n }\n }\n },\n\n handleErrorMessage(err: string) {\n this.errorMessage = err;\n },\n\n handleError() {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n },\n nextStep() {\n if (this.currentStep < this.totalSteps) {\n this.currentStep++;\n }\n this.showHideLogoAndHelp();\n },\n previousStep() {\n if (this.currentStep > 1) {\n this.currentStep--;\n }\n this.showHideLogoAndHelp();\n },\n showHideLogoAndHelp() {\n if (this.currentStep === 3 || this.currentStep === 4) {\n this.setShowHelp(true);\n this.setShowLogo(false);\n } else {\n this.setShowHelp(false);\n this.setShowLogo(true);\n }\n }\n }\n});\n","import { render } from \"./PreRegistration.vue?vue&type=template&id=03067a9f&ts=true\"\nimport script from \"./PreRegistration.vue?vue&type=script&lang=ts\"\nexport * from \"./PreRegistration.vue?vue&type=script&lang=ts\"\n\nimport \"./PreRegistration.vue?vue&type=style&index=0&id=03067a9f&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_router_view)\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _createTextVNode(\"Audience\")\n ]))\n ], 64))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'AudienceRoot'\n});\n","import { render } from \"./Audience.vue?vue&type=template&id=45c513dc&scoped=true&ts=true\"\nimport script from \"./Audience.vue?vue&type=script&lang=ts\"\nexport * from \"./Audience.vue?vue&type=script&lang=ts\"\n\nimport \"./Audience.vue?vue&type=style&index=0&id=45c513dc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-45c513dc\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, normalizeStyle as _normalizeStyle, createTextVNode as _createTextVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/person.svg'\nimport _imports_1 from '../../assets/no-results.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4e193e40\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"t-12 no-pad\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"audience member icon\"\n}, null, -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 2 }\nconst _hoisted_7 = { key: 3 }\nconst _hoisted_8 = { key: 4 }\nconst _hoisted_9 = { key: 5 }\nconst _hoisted_10 = {\n key: 6,\n class: \"flex justify--end\"\n}\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"audience member icon\"\n}, null, -1))\nconst _hoisted_13 = [\n _hoisted_12\n]\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = { key: 3 }\nconst _hoisted_17 = { key: 4 }\nconst _hoisted_18 = { key: 5 }\nconst _hoisted_19 = { key: 6 }\nconst _hoisted_20 = {\n key: 7,\n class: \"flex justify--end\"\n}\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1))\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1))\nconst _hoisted_23 = { key: 0 }\nconst _hoisted_24 = { key: 1 }\nconst _hoisted_25 = {\n key: 2,\n href: \"https://support.tagscommerce.com/hc/en-us/articles/8985431540887-Managing-customers\",\n target: \"_blank\"\n}\nconst _hoisted_26 = {\n key: 3,\n href: \"https://support.tagscommerce.com/hc/en-us/articles/8985845782423\",\n target: \"_blank\"\n}\nconst _hoisted_27 = {\n novalidate: \"\",\n class: \"w-100\"\n}\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-light margin-bottom-5\" }, \" Your global commission amount has been set for this Advocate. Un-toggle to apply a custom %. \", -1))\nconst _hoisted_29 = {\n key: 1,\n class: \"margin-bottom-5\"\n}\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { href: \"mailto:support@tagscommerce.com\" }, \"Contact us\", -1))\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-light\" }, \" to set custom commission above 50%.\", -1))\nconst _hoisted_32 = [\n _hoisted_30,\n _hoisted_31\n]\nconst _hoisted_33 = { class: \"w-100 flex flex--gap top-border padding-top-5\" }\nconst _hoisted_34 = {\n class: \"w-100 flex margin-top-10\",\n style: {\"gap\":\"8px\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AudienceMenuControls = _resolveComponent(\"AudienceMenuControls\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_AudienceMenuControls, {\n \"filtered-count\": _ctx.filteredAudience?.length,\n onFilterAudienceList: _ctx.handleFilterSort\n }, null, 8, [\"filtered-count\", \"onFilterAudienceList\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle({\n display: _ctx.filteredAudience?.length ? 'unset' : 'none'\n }),\n class: \"flex--full-width\"\n }, [\n (_ctx.typeSelection === _ctx.AudienceType.Customers)\n ? (_openBlock(), _createBlock(_component_BoostTable, {\n key: 0,\n rows: _ctx.filteredAudience,\n columns: _ctx.columns,\n \"has-context-menu\": true,\n \"hide-arrow\": true,\n \"click-id\": \"userId\",\n onAction: _ctx.viewCustomer\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(`${data.row.firstName} ${data.row.lastName}`), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'email')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(data.row.email), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'phone')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(data.row.mobileNumber), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.formatCurrency(data.row.totalRevenue)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill margin-right-5\", {\n 'pill-prereg': data.row.totalOrders === 1,\n 'pill-positive': _ctx.isActive(data.row),\n 'pill-pending': _ctx.isInactive(data.row),\n 'pill-tracking': data.row.totalOrders === 0\n }])\n }, _toDisplayString(_ctx.decodeStatus(data.row)), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"]))\n : (_openBlock(), _createBlock(_component_BoostTable, {\n key: 1,\n rows: _ctx.filteredAudience,\n columns: _ctx.affiliateColumns,\n \"has-context-menu\": true,\n \"hide-arrow\": true,\n \"click-id\": \"affiliateId\",\n onAction: _ctx.viewAffiliate\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _hoisted_13))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(_ctx.formatAudienceName(data.row.firstName, data.row.lastName)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'products')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString(data.row.affiliateProducts), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.formatCurrency(data.row.affiliateRevenue)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'earnings')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, _toDisplayString(_ctx.formatCurrency(data.row.affiliateEarnings)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'commission')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString(data.row.affiliateCommission || _ctx.currentAccount.globalCommission) + \"% \", 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'status')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_19, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill text-capitalize\", {\n 'pill-positive': data.row.affiliateStatus === 'active',\n 'pill-pending': data.row.affiliateStatus === 'suspended'\n }])\n }, _toDisplayString(data.row.affiliateStatus), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.affiliateMenu,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"]))\n ], 4)\n ]),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\n display: _ctx.filteredAudience?.length ? 'none' : 'block'\n }, {\"margin\":\"auto\"}]),\n class: \"t-6\"\n }, [\n _hoisted_21,\n _hoisted_22,\n (_ctx.typeSelection === _ctx.AudienceType.Customers)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_23, \" No customers just yet! Your audience is composed of people that have placed orders, or that have pre-registered for your upcoming drops. Learn more by visiting help. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_24, [\n _createTextVNode(\" You currently have no advocates. Share the registration link above or connect the \"),\n _createVNode(_component_router_link, {\n to: \"/store/integrations\",\n exact: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Share App\")\n ]),\n _: 1\n }),\n _createTextVNode(\" to get started. \")\n ])),\n (_ctx.typeSelection === _ctx.AudienceType.Customers)\n ? (_openBlock(), _createElementBlock(\"a\", _hoisted_25, \"Learn more --> \"))\n : (_openBlock(), _createElementBlock(\"a\", _hoisted_26, \"Learn about advocates --> \"))\n ], 4),\n (_ctx.showCommission && _ctx.selectedAffiliate)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 0,\n message: _ctx.PopupMessageStrings.EDIT_AFFILIATE_COMMISSION,\n title: _ctx.PopupMessageTitles.EDIT_AFFILIATE_COMMISSION\n }, {\n default: _withCtx(() => [\n _createVNode(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap no-pad\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"form\", _hoisted_27, [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.useGlobalCommission,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.useGlobalCommission) = $event)),\n \"input-id\": \"use-global-commission-toggle\",\n label: \"Global Commission\",\n class: \"margin-top-5 margin-bottom-5\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_28,\n (!_ctx.useGlobalCommission)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 0,\n modelValue: _ctx.selectedAffiliate.affiliateCommission,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.selectedAffiliate.affiliateCommission) = $event)),\n label: \"Custom (%)\",\n \"input-id\": \"affiliate-custom-commission\",\n rules: \"max_value:50\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.useGlobalCommission)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, _hoisted_32))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_33, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancelPopup\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Save\",\n type: \"button\",\n disabled: !meta.valid,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.saveAffiliateEventHandler(false)))\n }, null, 8, [\"disabled\"])\n ])\n ])\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showAffiliateStatus)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 1,\n message: \n _ctx.selectedAffiliate?.affiliateStatus === 'active'\n ? _ctx.PopupMessageStrings.SUSPEND_AFFILIATE\n : _ctx.PopupMessageStrings.REINSTATE_AFFILIATE\n ,\n title: \n _ctx.selectedAffiliate?.affiliateStatus === 'active'\n ? _ctx.PopupMessageTitles.AFFILIATE_SUSPEND\n : _ctx.PopupMessageTitles.AFFILIATE_REINSTATE\n \n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_34, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancelPopup\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \n _ctx.selectedAffiliate?.affiliateStatus === 'active'\n ? 'Suspend'\n : 'Reinstate'\n ,\n type: \"button\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.saveAffiliateEventHandler(true)))\n }, null, 8, [\"label\"])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","export enum AudienceSortOptions {\n MostRecent = 1,\n MostOrders = 2,\n LeastOrders = 3,\n HighestRevenue = 4,\n LowestRevenue = 5,\n HighestRefunds = 6,\n LeastRefunds = 7,\n AlphaAscending = 8,\n AlphaDescending = 9\n}\n\nexport enum AudienceFilterOptions {\n All = '1',\n Active = '2',\n NewCustomer = '3',\n PreRegistered = '4',\n HighRefunds = '5',\n Inactive = '6',\n Suspended = '7'\n}\n\nexport enum AudienceType {\n Customers = 'Customers',\n Advocates = 'Advocates'\n}\n\nexport interface FilterAudienceEvent {\n filterOption: AudienceFilterOptions;\n sortOption: AudienceSortOptions;\n searchValue?: string;\n typeSelection: AudienceType;\n}\n","import { resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/copy.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ca14514e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { class: \"margin-bottom-2\" }\nconst _hoisted_4 = { class: \"copy-url text-light\" }\nconst _hoisted_5 = { class: \"text-legal text-light\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://support.tagscommerce.com/hc/en-us/articles/8985844344983\",\n target: \"_blank\"\n}, \"What is this? \", -1))\nconst _hoisted_7 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_8 = { class: \"flex flex--row flex--full-width justify--end no-pad standard-margins\" }\nconst _hoisted_9 = { class: \"flex flex--gap t-6 d-3 no-pad\" }\nconst _hoisted_10 = { class: \"flex--grow no-pad mobile-margin\" }\nconst _hoisted_11 = { class: \"flex--grow no-pad mobile-margin\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Customers\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedTab === 'Customers'\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.selectAudienceType(_ctx.AudienceType.Customers)))\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Advocates\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedTab === 'Advocates'\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.selectAudienceType(_ctx.AudienceType.Advocates)))\n }, null, 8, [\"class\"])\n ])\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: _ctx.selectedTab,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n (_ctx.selectedTab === 'Customers')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, \" View customer information, including shipping information, orders and activity status. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_2, \" View the full list of your advocates, manage their status and commission %. \")),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.selectedTab === 'Customers' ? 'Pre-' : 'Advocates ') + \"registration link \", 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.registrationUrl), 1),\n _createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"copy url\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.copyPreRegUrl()))\n })\n ])\n ]),\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.filter,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.filter) = $event)),\n options: _ctx.filterOptions,\n \"input-id\": \"select-filter-option\",\n onInput: _ctx.setFilter\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.sort,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.sort) = $event)),\n options: _ctx.sortOptions,\n \"input-id\": \"select-sort-option\",\n onInput: _ctx.setFilter\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"])\n ])\n ])\n ])\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { SearchActionEvent } from '@/common/controls/SearchBar.vue';\nimport {\n AudienceFilterOptions,\n AudienceSortOptions,\n AudienceType,\n FilterAudienceEvent\n} from '@/../enums/audienceTypes';\nimport { mapGetters } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n props: {\n filteredCount: {\n type: Number\n }\n },\n emits: ['filterAudienceList'],\n data() {\n return {\n AudienceType,\n selectedTab: AudienceType.Customers,\n searchString: ('' as string) || undefined,\n filter: AudienceFilterOptions.All,\n filterOptions: [\n { name: 'All', value: AudienceFilterOptions.All },\n { name: 'New', value: AudienceFilterOptions.NewCustomer },\n { name: 'Active', value: AudienceFilterOptions.Active },\n { name: 'Inactive', value: AudienceFilterOptions.Inactive },\n { name: 'Registered', value: AudienceFilterOptions.PreRegistered }\n ],\n sort: AudienceSortOptions.MostRecent,\n sortOptions: [\n { name: 'Most Recent', value: AudienceSortOptions.MostRecent },\n { name: 'Most Orders', value: AudienceSortOptions.MostOrders },\n { name: 'Least Orders', value: AudienceSortOptions.LeastOrders },\n { name: 'Highest Revenue', value: AudienceSortOptions.HighestRevenue },\n { name: 'Lowest Revenue', value: AudienceSortOptions.LowestRevenue },\n { name: 'Highest Refunds', value: AudienceSortOptions.HighestRefunds },\n { name: 'Least Refunds', value: AudienceSortOptions.LeastRefunds },\n { name: 'A - Z', value: AudienceSortOptions.AlphaAscending },\n { name: 'Z - A', value: AudienceSortOptions.AlphaDescending }\n ]\n };\n },\n computed: {\n ...mapGetters({\n getSearchText: 'global/getSearchText',\n currentAccount: 'accounts/currentAccount'\n }),\n filterText(): string {\n const selection =\n this.filterOptions.find((x) => x.value == this.filter) ||\n this.filterOptions[0];\n return (\n selection.name +\n (this.filter === AudienceFilterOptions.All ? ' Audience' : '')\n );\n },\n registrationUrl(): string {\n const slug = this.currentAccount.hashtagPrefix.replace(/\\W/g, '');\n return `${window.location.origin}/registration/${\n this.selectedTab === 'Customers' ? '' : 'advocate/'\n }${slug}`;\n }\n },\n watch: {\n getSearchText(val: string) {\n this.searchString = val;\n this.setFilter();\n },\n selectedTab(val: AudienceType) {\n if (val === 'Advocates') {\n this.filterOptions = [\n { name: 'All', value: AudienceFilterOptions.All },\n { name: 'Active', value: AudienceFilterOptions.Active },\n { name: 'Suspended', value: AudienceFilterOptions.Suspended }\n ];\n\n this.sortOptions = [\n { name: 'Most Recent', value: AudienceSortOptions.MostRecent },\n {\n name: 'Highest Revenue',\n value: AudienceSortOptions.HighestRevenue\n },\n { name: 'Lowest Revenue', value: AudienceSortOptions.LowestRevenue },\n { name: 'A - Z', value: AudienceSortOptions.AlphaAscending },\n { name: 'Z - A', value: AudienceSortOptions.AlphaDescending }\n ];\n } else {\n this.filterOptions = [\n { name: 'All', value: AudienceFilterOptions.All },\n { name: 'New', value: AudienceFilterOptions.NewCustomer },\n { name: 'Active', value: AudienceFilterOptions.Active },\n { name: 'Inactive', value: AudienceFilterOptions.Inactive },\n { name: 'Registered', value: AudienceFilterOptions.PreRegistered }\n ];\n\n this.sortOptions = [\n { name: 'Most Recent', value: AudienceSortOptions.MostRecent },\n { name: 'Most Orders', value: AudienceSortOptions.MostOrders },\n { name: 'Least Orders', value: AudienceSortOptions.LeastOrders },\n {\n name: 'Highest Revenue',\n value: AudienceSortOptions.HighestRevenue\n },\n { name: 'Lowest Revenue', value: AudienceSortOptions.LowestRevenue },\n {\n name: 'Highest Refunds',\n value: AudienceSortOptions.HighestRefunds\n },\n { name: 'Least Refunds', value: AudienceSortOptions.LeastRefunds },\n { name: 'A - Z', value: AudienceSortOptions.AlphaAscending },\n { name: 'Z - A', value: AudienceSortOptions.AlphaDescending }\n ];\n }\n }\n },\n methods: {\n setFilter() {\n this.viewAudience({\n filterType: this.filter.toString(),\n sortOption: this.sort,\n searchValue: this.searchString\n });\n },\n viewAudience(data: SearchActionEvent) {\n this.filter = data.filterType as AudienceFilterOptions;\n this.searchString = data.searchValue;\n const filterAudienceEventArgs: FilterAudienceEvent = {\n filterOption: this.filter,\n searchValue: data.searchValue,\n sortOption: data.sortOption || AudienceSortOptions.MostRecent,\n typeSelection: this.selectedTab\n };\n this.$emit('filterAudienceList', filterAudienceEventArgs);\n },\n selectAudienceType(selectedType: AudienceType) {\n this.selectedTab = selectedType;\n this.setFilter();\n },\n async copyPreRegUrl() {\n await navigator.clipboard.writeText(this.registrationUrl);\n this.$store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n }\n }\n});\n","import { render } from \"./AudienceMenuControls.vue?vue&type=template&id=ca14514e&scoped=true&ts=true\"\nimport script from \"./AudienceMenuControls.vue?vue&type=script&lang=ts\"\nexport * from \"./AudienceMenuControls.vue?vue&type=script&lang=ts\"\n\nimport \"./AudienceMenuControls.vue?vue&type=style&index=0&id=ca14514e&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca14514e\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { AudienceMember } from '@/models/audienceMember';\nimport Helpers from '@/helpers';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport AudienceMenuControls from '@/seller/audience/AudienceMenuControls.vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport {\n AudienceSortOptions,\n AudienceFilterOptions,\n FilterAudienceEvent,\n AudienceType\n} from '@/../enums/audienceTypes';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport {\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\n\nexport default defineComponent({\n name: 'AudienceList',\n components: {\n AudienceMenuControls,\n PopupComponent\n },\n data() {\n return {\n PopupMessageStrings,\n PopupMessageTitles,\n AudienceType,\n typeSelection: AudienceType.Customers,\n selectedAffiliate: undefined as AudienceMember | undefined,\n useGlobalCommission: false,\n showAffiliateStatus: false,\n showCommission: false,\n audience: [] as AudienceMember[],\n filteredAudience: [] as AudienceMember[],\n affiliateColumns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'name',\n label: 'Name'\n },\n {\n id: 'products',\n label: 'Products'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'earnings',\n label: 'Earnings'\n },\n {\n id: 'commission',\n label: 'Commission (%)'\n },\n {\n id: 'status',\n label: 'Status'\n },\n {\n id: 'menu'\n }\n ] as ColumnItem[],\n columns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'name',\n label: 'Name'\n },\n {\n id: 'email',\n label: 'Email'\n },\n {\n id: 'phone',\n label: 'Phone'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu'\n }\n ] as ColumnItem[],\n menuItems: [\n {\n label: 'View Customer',\n onClick: (row) => {\n this.viewCustomer(row);\n }\n },\n {\n label: 'Copy Email',\n onClick: (row) => {\n this.copyEmail(row);\n }\n },\n {\n label: 'Copy Phone',\n onClick: (row) => {\n this.copyPhone(row);\n }\n }\n ] as ContextMenuItem[],\n affiliateMenu: [\n {\n label: 'View Advocate',\n onClick: (row) => {\n this.viewAffiliate(row);\n }\n },\n {\n label: 'Edit Commission',\n onClick: (row) => {\n this.showEditCommission(row);\n }\n },\n {\n label: 'Suspend Advocate',\n onClick: (row) => {\n this.showEditAffiliateStatus(row);\n },\n isHidden: (row) => {\n return (\n (row as unknown as AudienceMember).affiliateStatus === 'suspended'\n );\n }\n },\n {\n label: 'Reinstate Advocate',\n onClick: (row) => {\n this.showEditAffiliateStatus(row);\n },\n isHidden: (row) => {\n return (\n (row as unknown as AudienceMember).affiliateStatus === 'active'\n );\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n mounted() {\n if (this.currentAccount === null) {\n return;\n }\n this.getAudience();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n ...mapMutations('audience', ['setAudienceIds']),\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n formatAudienceName(\n firstName: string | undefined,\n lastName: string | undefined\n ) {\n const fullName = [firstName, lastName].join(' ').trim();\n return fullName !== '' ? fullName : 'N/A';\n },\n async getAudience() {\n this.setLoading(true);\n const payload = {\n accountId: this.currentAccount.accountId,\n audienceType: this.typeSelection\n };\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AUDIENCE,\n payload\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n this.audience = responseData.data as AudienceMember[];\n await this.handleFilterSort({\n filterOption: AudienceFilterOptions.All,\n sortOption: AudienceSortOptions.MostRecent,\n typeSelection: this.typeSelection\n });\n\n this.setLoading(false);\n }\n },\n isActive(member: AudienceMember): boolean {\n if (this.typeSelection === AudienceType.Advocates) {\n return member.affiliateStatus === 'active';\n }\n return member.totalOrders > 1 && !this.isInactive(member);\n },\n decodeStatus(member: AudienceMember): string {\n if (this.isActive(member)) {\n return 'Active';\n } else if (this.isInactive(member)) {\n return 'Inactive';\n } else if (member.totalOrders === 1) {\n return 'New';\n } else if (member.totalOrders === 0) {\n return 'Registered';\n } else {\n return '';\n }\n },\n isInactive(member: AudienceMember): boolean {\n if (this.typeSelection === AudienceType.Advocates) {\n return member.affiliateStatus === 'active' && !member.affiliateEarnings;\n }\n const sixtyDaysPast = new Date().getTime() - 60 * 24 * 60 * 60 * 1000;\n if (member.lastTransaction) {\n return (\n member.totalOrders > 1 &&\n new Date(member.lastTransaction).getTime() < sixtyDaysPast\n );\n }\n return false;\n },\n sortAdvocates(\n sortOption: AudienceSortOptions,\n a: AudienceMember,\n b: AudienceMember\n ) {\n if (sortOption === AudienceSortOptions.HighestRevenue) {\n return (b?.affiliateRevenue ?? 0) - (a?.affiliateRevenue ?? 0);\n }\n\n if (sortOption === AudienceSortOptions.LowestRevenue) {\n return (a?.affiliateRevenue ?? 0) - (b?.affiliateRevenue ?? 0);\n }\n\n const aFullName = [a.firstName, a.lastName].join(' ').trim();\n const bFullName = [b.firstName, b.lastName].join(' ').trim();\n if (sortOption === AudienceSortOptions.AlphaAscending) {\n return aFullName.localeCompare(bFullName);\n }\n\n if (sortOption === AudienceSortOptions.AlphaDescending) {\n return bFullName.localeCompare(aFullName);\n }\n\n return b.joinedOn - a.joinedOn;\n },\n async handleFilterSort(options: FilterAudienceEvent) {\n // If the type has changed need to reload the audience\n if (this.typeSelection !== options.typeSelection) {\n this.typeSelection = options.typeSelection;\n await this.getAudience();\n }\n this.filteredAudience = this.audience\n .filter((x: AudienceMember) => {\n let results = true;\n if (options.searchValue) {\n if (x.shippingAddress) {\n results =\n (x.lastName || '')\n .toLocaleLowerCase()\n .includes(options.searchValue.toLocaleLowerCase()) ||\n x.userId\n .toLocaleLowerCase()\n .includes(options.searchValue.toLocaleLowerCase()) ||\n (x.firstName || '')\n .toLocaleLowerCase()\n .includes(options.searchValue.toLocaleLowerCase());\n }\n }\n switch (options.filterOption) {\n case AudienceFilterOptions.Active:\n results = results && this.isActive(x);\n break;\n case AudienceFilterOptions.Inactive:\n results = results && this.isInactive(x);\n break;\n case AudienceFilterOptions.NewCustomer:\n results = results && x.totalOrders === 1;\n break;\n case AudienceFilterOptions.PreRegistered:\n results = results && x.totalOrders === 0;\n break;\n case AudienceFilterOptions.HighRefunds:\n results = results && x.totalRefundAmount > x.totalRevenue;\n break;\n case AudienceFilterOptions.Suspended:\n results = results && x.affiliateStatus === 'suspended';\n break;\n default:\n break;\n }\n return results;\n })\n .sort((a: AudienceMember, b: AudienceMember) => {\n if (options.typeSelection === AudienceType.Advocates) {\n return this.sortAdvocates(options.sortOption, a, b);\n }\n\n let sortResult = 0;\n const aFullName = [a.firstName, a.lastName].join(' ').trim();\n const bFullName = [b.firstName, b.lastName].join(' ').trim();\n switch (options.sortOption) {\n case AudienceSortOptions.AlphaAscending:\n if (aFullName && bFullName) {\n sortResult = aFullName.localeCompare(bFullName);\n }\n break;\n case AudienceSortOptions.AlphaDescending:\n if (aFullName && bFullName) {\n sortResult = bFullName.localeCompare(aFullName);\n }\n break;\n case AudienceSortOptions.MostOrders:\n sortResult = b.totalOrders - a.totalOrders;\n break;\n case AudienceSortOptions.LeastOrders:\n sortResult = a.totalOrders - b.totalOrders;\n break;\n case AudienceSortOptions.HighestRevenue:\n sortResult = b.totalRevenue - a.totalRevenue;\n break;\n case AudienceSortOptions.LowestRevenue:\n sortResult = a.totalRevenue - b.totalRevenue;\n break;\n case AudienceSortOptions.HighestRefunds:\n sortResult = b.totalRefundAmount - a.totalRefundAmount;\n break;\n case AudienceSortOptions.LeastRefunds:\n sortResult = a.totalRefundAmount - b.totalRefundAmount;\n break;\n default:\n sortResult = b.joinedOn - a.joinedOn;\n }\n return sortResult;\n });\n this.setAudienceIds(\n this.filteredAudience.map((x) =>\n options.typeSelection === AudienceType.Advocates\n ? x.affiliateId\n : x.userId\n )\n );\n },\n viewCustomer(member: AudienceMember | string) {\n let memberId = '';\n if (typeof member === 'string') {\n memberId = member;\n } else {\n memberId = (member as AudienceMember).userId;\n }\n this.$router.push({\n name: 'audience-member',\n params: { memberId }\n });\n },\n viewAffiliate(member: AudienceMember | string) {\n let memberId = '';\n if (typeof member === 'string') {\n memberId = member;\n } else {\n memberId = (member as AudienceMember).affiliateId as string;\n }\n this.$router.push({\n name: 'audience-advocate-member',\n params: { memberId }\n });\n },\n async copyEmail(member: AudienceMember) {\n await navigator.clipboard.writeText(member.email || 'unknown email');\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n async copyPhone(member: AudienceMember) {\n await navigator.clipboard.writeText(\n member.mobileNumber || 'unknown phone'\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n showEditCommission(member: AudienceMember) {\n this.showCommission = true;\n this.useGlobalCommission = !member.affiliateCommission;\n this.selectedAffiliate = member;\n },\n showEditAffiliateStatus(member: AudienceMember) {\n this.showAffiliateStatus = true;\n this.selectedAffiliate = member;\n },\n cancelPopup() {\n this.showAffiliateStatus = false;\n this.showCommission = false;\n this.selectedAffiliate = undefined;\n this.useGlobalCommission = false;\n },\n async saveAffiliateEventHandler(changeStatus: boolean) {\n if (this.selectedAffiliate) {\n this.setLoading(true);\n\n const payload = {\n userId: this.selectedAffiliate.userId,\n accountId: this.currentAccount.accountId,\n useGlobal: this.useGlobalCommission,\n statusChange: undefined as string | undefined,\n commission: undefined as number | undefined\n };\n if (changeStatus) {\n payload.statusChange =\n this.selectedAffiliate.affiliateStatus === 'active'\n ? 'suspended'\n : 'active';\n this.selectedAffiliate.affiliateStatus = payload.statusChange;\n } else {\n payload.commission = this.selectedAffiliate.affiliateCommission;\n }\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_BRAND_AFFILIATE,\n payload\n );\n this.showAffiliateStatus = false;\n this.showCommission = false;\n this.selectedAffiliate = undefined;\n this.useGlobalCommission = false;\n await this.getAudience();\n }\n }\n }\n});\n","import { render } from \"./AudienceList.vue?vue&type=template&id=4e193e40&scoped=true&ts=true\"\nimport script from \"./AudienceList.vue?vue&type=script&lang=ts\"\nexport * from \"./AudienceList.vue?vue&type=script&lang=ts\"\n\nimport \"./AudienceList.vue?vue&type=style&index=0&id=4e193e40&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4e193e40\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a6a984a8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"flex justify--center flex--wrap\"\n}\nconst _hoisted_4 = { class: \"member-name standard-margins\" }\nconst _hoisted_5 = { class: \"strong\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"pill pill-positive\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"pill pill-prereg\"\n}\nconst _hoisted_8 = {\n key: 2,\n class: \"pill pill-tracking\"\n}\nconst _hoisted_9 = {\n key: 3,\n class: \"pill pill-pending\"\n}\nconst _hoisted_10 = { class: \"t-12 flex no-pad margin-top-4\" }\nconst _hoisted_11 = { class: \"t-6 no-pad\" }\nconst _hoisted_12 = { class: \"datalist\" }\nconst _hoisted_13 = { class: \"datalist__row\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Orders\", -1))\nconst _hoisted_15 = { class: \"datalist__row\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Saved for Later\", -1))\nconst _hoisted_17 = { class: \"datalist__row\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Revenue\", -1))\nconst _hoisted_19 = { class: \"datalist__row\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Refunds\", -1))\nconst _hoisted_21 = {\n key: 0,\n class: \"datalist__row\"\n}\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Last purchase\", -1))\nconst _hoisted_23 = { class: \"datalist__row\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Registered\", -1))\nconst _hoisted_25 = { class: \"t-6 no-pad\" }\nconst _hoisted_26 = { class: \"datalist\" }\nconst _hoisted_27 = { class: \"datalist__row\" }\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Name\", -1))\nconst _hoisted_29 = [\"title\"]\nconst _hoisted_30 = { class: \"datalist__row\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Email\", -1))\nconst _hoisted_32 = [\"title\", \"href\"]\nconst _hoisted_33 = { class: \"datalist__row\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Phone\", -1))\nconst _hoisted_35 = [\"title\", \"href\"]\nconst _hoisted_36 = { class: \"datalist__row\" }\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Customer ID\", -1))\nconst _hoisted_38 = { class: \"t-12 no-pad margin-top-4\" }\nconst _hoisted_39 = { class: \"datalist margin-top-4\" }\nconst _hoisted_40 = { class: \"datalist__row\" }\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Address\", -1))\nconst _hoisted_42 = { class: \"text-capitalize\" }\nconst _hoisted_43 = {\n key: 0,\n class: \"text-capitalize\"\n}\nconst _hoisted_44 = { class: \"text-capitalize\" }\nconst _hoisted_45 = { class: \"text-uppercase\" }\nconst _hoisted_46 = {\n style: {\"height\":\"96px\"},\n class: \"w-100 flex justify--end align--center\"\n}\nconst _hoisted_47 = { class: \"margin-right-4\" }\nconst _hoisted_48 = { class: \"text-bold\" }\nconst _hoisted_49 = { class: \"text-bold\" }\nconst _hoisted_50 = {\n style: {\"width\":\"60px\"},\n class: \"flex justify--between\"\n}\nconst _hoisted_51 = [\"disabled\"]\nconst _hoisted_52 = [\"src\"]\nconst _hoisted_53 = [\"disabled\"]\nconst _hoisted_54 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"back\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Back to Audience \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (_ctx.member)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(`${_ctx.member.firstName} ${_ctx.member.lastName}`), 1),\n (_ctx.isActive(_ctx.member))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \"Active\"))\n : _createCommentVNode(\"\", true),\n (_ctx.member.totalOrders === 1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"New\"))\n : _createCommentVNode(\"\", true),\n (_ctx.member.totalOrders === 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, \" Registered \"))\n : _createCommentVNode(\"\", true),\n (_ctx.isInactive(_ctx.member))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, \"Inactive\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 top-border\",\n title: \"General\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"dl\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.member.orders.length || 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.member.savedForLater || 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.member.totalRevenue)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.member.totalRefundAmount)), 1)\n ]),\n (_ctx.member.orders.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.member.orders[_ctx.member.orders.length - 1].productTitle), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_23, [\n _hoisted_24,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.processDate(_ctx.member.joinedOn)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"dl\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n _createElementVNode(\"dd\", {\n title: `${_ctx.member.firstName} ${_ctx.member.lastName}`\n }, _toDisplayString(_ctx.member.firstName) + \" \" + _toDisplayString(_ctx.member.lastName), 9, _hoisted_29)\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.member.email,\n href: `mailto:${_ctx.member.email}`\n }, _toDisplayString(_ctx.member.email), 9, _hoisted_32)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _hoisted_34,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.member.mobileNumber,\n href: `tel:${_ctx.member.mobileNumber}`\n }, _toDisplayString(_ctx.member.mobileNumber), 9, _hoisted_35)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n _hoisted_37,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.memberId), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_38, [\n _createVNode(_component_BoostButton, {\n label: \"View all orders\",\n \"button-style\": \"optional\",\n onClick: _ctx.viewOrders\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 top-border bottom-border\",\n title: \"Shipping\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"dl\", _hoisted_39, [\n _createElementVNode(\"div\", _hoisted_40, [\n _hoisted_41,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"p\", _hoisted_42, _toDisplayString(_ctx.member.shippingAddress?.address1), 1),\n (_ctx.member.shippingAddress?.address2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_43, _toDisplayString(_ctx.member.shippingAddress?.address2), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_44, _toDisplayString(_ctx.member.shippingAddress?.city), 1),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"span\", _hoisted_45, _toDisplayString(_ctx.member.shippingAddress?.state) + \",\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.member.shippingAddress?.postalCode), 1)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createElementVNode(\"div\", _hoisted_46, [\n _createElementVNode(\"div\", _hoisted_47, [\n _createTextVNode(\" Audience \"),\n _createElementVNode(\"span\", _hoisted_48, _toDisplayString(_ctx.index), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"span\", _hoisted_49, _toDisplayString(_ctx.audienceListLength), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_50, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.previousId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.previous()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"Previous arrow\"\n }, null, 8, _hoisted_52)\n ])\n ], 8, _hoisted_51),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.nextId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.next()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-right.svg'),\n alt: \"Next arrow\"\n }, null, 8, _hoisted_54)\n ])\n ], 8, _hoisted_53)\n ])\n ])\n ]))\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { AudienceMember } from '@/models/audienceMember';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport Helpers from '@/helpers';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { SellerOrder } from '@/models/sellerOrder';\nimport { Charges } from '@/models/charges';\n\nexport default defineComponent({\n name: 'AudienceMember',\n emits: ['update:filteredCount'],\n data() {\n return {\n memberId: '',\n nextId: '',\n previousId: '',\n index: 1,\n member: null as null | AudienceMember,\n filter: 'All',\n sortBy: 'Date',\n searchString: '',\n transactionCount: 0,\n filteredOrders: [] as SellerOrder[],\n filterOptions: [\n { name: 'All', value: 'All' },\n { name: 'New Orders', value: 'New Orders' },\n { name: 'Fulfilled', value: 'Fulfilled' },\n { name: 'Refunds', value: 'Refunds' }\n ],\n sortOptions: [\n { name: 'Most Recent', value: 'Date' },\n { name: 'Least Recent', value: 'DateAsc' },\n { name: 'Sales Highest', value: 'Amount' },\n { name: 'Sales Lowest', value: 'AmountAsc' },\n { name: 'Tag', value: 'Name' }\n ]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n audienceListLength: 'audience/getAudienceListLength'\n })\n },\n mounted() {\n if (this.$route.params.memberId) {\n this.memberId = this.$route.params.memberId as string;\n }\n this.getAudience();\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('orders', ['setBuyerName']),\n ...mapActions('audience', ['getNext', 'getPrevious', 'getCurrentIndex']),\n async getAudience() {\n this.setLoading(true);\n const payload = {\n accountId: this.currentAccount.accountId,\n userId: this.memberId\n };\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_FOR_ACCOUNT,\n payload\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n this.member = responseData.data as AudienceMember;\n\n this.index = (await this.getCurrentIndex(this.memberId)) + 1;\n this.nextId = await this.getNext(this.memberId);\n this.previousId = await this.getPrevious(this.memberId);\n\n this.setLoading(false);\n } else {\n this.setLoading(false);\n this.$router.push({\n name: 'PageNotFound'\n });\n }\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n processDate(date: number | string) {\n return Helpers.processDate(new Date(date).getTime());\n },\n isActive(member: AudienceMember): boolean {\n return member.totalOrders > 1 && !this.isInactive(member);\n },\n isInactive(member: AudienceMember): boolean {\n const sixtyDaysPast = new Date().getTime() - 60 * 24 * 60 * 60 * 1000;\n if (member.lastTransaction) {\n return (\n member.totalOrders > 1 &&\n new Date(member.lastTransaction).getTime() < sixtyDaysPast\n );\n }\n return false;\n },\n setFilter() {\n const getTime = (d?: string) => {\n return d != null ? new Date(d).getTime() : 0;\n };\n const getAmount = (c?: Charges) => {\n return c != null && c.total ? c.total : 0;\n };\n if (this.member) {\n switch (this.filter) {\n case 'Fulfilled':\n this.filteredOrders = this.member.orders.filter(\n this.filterTransactionsByFulfilled\n );\n break;\n case 'Refunds':\n this.filteredOrders = this.member.orders.filter(\n this.filterTransactionsByRefunds\n );\n break;\n case 'New Orders':\n this.filteredOrders = this.member.orders.filter(\n this.filterTransactionByWaiting\n );\n break;\n default:\n this.filteredOrders = this.member.orders;\n break;\n }\n\n if (this.searchString) {\n this.filteredOrders = this.filteredOrders.filter(\n this.filterTransactionsBySearchValue\n );\n }\n\n if (this.sortBy) {\n this.filteredOrders = this.filteredOrders.sort(\n (a: SellerOrder, b: SellerOrder) => {\n let results = 0;\n if (a && b) {\n switch (this.sortBy) {\n case 'Name':\n results = a.productHashtag.localeCompare(b.productHashtag);\n break;\n case 'Amount':\n results = getAmount(b.charges) - getAmount(a.charges);\n break;\n case 'AmountAsc':\n results = getAmount(a.charges) - getAmount(b.charges);\n break;\n case 'Date':\n results = getTime(b.created) - getTime(a.created);\n break;\n case 'DateAsc':\n results = getTime(a.created) - getTime(b.created);\n break;\n default:\n results = 1;\n }\n }\n return results;\n }\n );\n }\n }\n\n this.$emit('update:filteredCount', this.filteredOrders.length);\n },\n\n filterTransactionsByFulfilled(transaction: SellerOrder): boolean {\n // return true if transaction has been fulfilled, false otherwise\n return !!transaction.fulfilled;\n },\n\n filterTransactionsByRefunds(transaction: SellerOrder): boolean {\n // return true if transaction has been refunded, false otherwise\n return !!transaction.refunded;\n },\n\n filterTransactionByWaiting(transaction: SellerOrder): boolean {\n // return false if transaction has benn fulfilled or refunded, true otherwise\n return !transaction.refunded && !transaction.fulfilled;\n },\n\n filterTransactionsBySearchValue(transaction: SellerOrder) {\n const searchValue = this.searchString;\n const firstName = transaction.shippedToFirstName\n ? transaction.shippedToFirstName.toLowerCase()\n : '';\n const lastName = transaction.shippedToLastName\n ? transaction.shippedToLastName.toLowerCase()\n : '';\n const via = transaction.provider\n ? transaction.provider.toLowerCase()\n : '';\n const date = transaction.created\n ? new Date(transaction.created).toLocaleDateString()\n : '';\n const hashtag = transaction.productHashtag\n ? transaction.productHashtag.toLowerCase()\n : '';\n const userTransactionId = transaction.transactionId\n ? transaction.transactionId\n : '';\n const amount = transaction.charges\n ? Helpers.currencyFormatter(transaction.charges.price)\n : '';\n\n if (searchValue.length > 0) {\n const searchComponents = searchValue.split(' ');\n let value;\n\n for (value of searchComponents) {\n if (\n !firstName.includes(value) &&\n !lastName.includes(value) &&\n !date.includes(value) &&\n !hashtag.includes(value) &&\n !userTransactionId.includes(value) &&\n !via.includes(value) &&\n !amount.includes(value)\n ) {\n return false;\n }\n }\n }\n return true;\n },\n viewOrders() {\n this.setBuyerName(`${this.member?.lastName}, ${this.member?.firstName}`);\n this.$router.push({\n name: 'seller-orders',\n query: {\n userId: this.memberId\n }\n });\n },\n goBack() {\n this.$router.push({\n name: 'audience'\n });\n },\n async previous() {\n if (this.previousId) {\n await this.$router.push({ path: `/store/audience/${this.previousId}` });\n this.memberId = this.previousId;\n this.getAudience();\n }\n },\n async next() {\n if (this.nextId) {\n await this.$router.push({ path: `/store/audience/${this.nextId}` });\n this.memberId = this.nextId;\n this.getAudience();\n }\n }\n }\n});\n","import { render } from \"./AudienceMember.vue?vue&type=template&id=a6a984a8&scoped=true&ts=true\"\nimport script from \"./AudienceMember.vue?vue&type=script&lang=ts\"\nexport * from \"./AudienceMember.vue?vue&type=script&lang=ts\"\n\nimport \"./AudienceMember.vue?vue&type=style&index=0&id=a6a984a8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6a984a8\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c14fa81\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"flex justify--center flex--wrap\"\n}\nconst _hoisted_4 = { class: \"member-name standard-margins\" }\nconst _hoisted_5 = { class: \"strong\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"pill pill-pending\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"pill pill-positive\"\n}\nconst _hoisted_8 = { class: \"t-12 flex no-pad margin-top-4\" }\nconst _hoisted_9 = { class: \"t-6 no-pad\" }\nconst _hoisted_10 = { class: \"datalist\" }\nconst _hoisted_11 = { class: \"datalist__row\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Products\", -1))\nconst _hoisted_13 = { class: \"datalist__row\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Total Sales\", -1))\nconst _hoisted_15 = { class: \"datalist__row\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Revenue\", -1))\nconst _hoisted_17 = { class: \"datalist__row\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Earnings\", -1))\nconst _hoisted_19 = { class: \"datalist__row\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Commission (%)\", -1))\nconst _hoisted_21 = { class: \"datalist__row\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Conversion Rate\", -1))\nconst _hoisted_23 = { class: \"t-6 no-pad\" }\nconst _hoisted_24 = { class: \"datalist\" }\nconst _hoisted_25 = { class: \"datalist__row\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Name\", -1))\nconst _hoisted_27 = [\"title\"]\nconst _hoisted_28 = { class: \"datalist__row\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Email\", -1))\nconst _hoisted_30 = { key: 0 }\nconst _hoisted_31 = [\"title\", \"href\"]\nconst _hoisted_32 = { key: 1 }\nconst _hoisted_33 = { class: \"datalist__row\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Phone\", -1))\nconst _hoisted_35 = [\"title\", \"href\"]\nconst _hoisted_36 = { class: \"datalist__row\" }\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Signup Date\", -1))\nconst _hoisted_38 = {\n style: {\"height\":\"96px\"},\n class: \"w-100 flex justify--end align--center\"\n}\nconst _hoisted_39 = { class: \"margin-right-4\" }\nconst _hoisted_40 = { class: \"text-bold\" }\nconst _hoisted_41 = { class: \"text-bold\" }\nconst _hoisted_42 = {\n style: {\"width\":\"60px\"},\n class: \"flex justify--between\"\n}\nconst _hoisted_43 = [\"disabled\"]\nconst _hoisted_44 = [\"src\"]\nconst _hoisted_45 = [\"disabled\"]\nconst _hoisted_46 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"back\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Back to Audience \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (_ctx.affiliateDetails)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.affiliateDetails.name), 1),\n (_ctx.affiliateDetails.status === 'suspendend')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \"Inactive\"))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"Active\"))\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 top-border\",\n title: \"General\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"dl\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.affiliateDetails.tagCount), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.affiliateDetails.salesCount ?? 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.affiliateDetails.revenue)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatCurrency(_ctx.affiliateDetails.earnings)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.affiliateDetails.commission ??\n _ctx.currentAccount.globalCommission ??\n 0) + \"% \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.affiliateDetails.conversionRate) + \"%\", 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"dl\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"dd\", {\n title: _ctx.affiliateDetails.name\n }, _toDisplayString(_ctx.affiliateDetails.name), 9, _hoisted_27)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"dd\", null, [\n (_ctx.affiliateDetails.email)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_30, [\n _createElementVNode(\"a\", {\n title: _ctx.affiliateDetails.email,\n href: `mailto:${_ctx.affiliateDetails.email}`\n }, _toDisplayString(_ctx.affiliateDetails.email), 9, _hoisted_31)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_32, \"-\"))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _hoisted_34,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.affiliateDetails.phone,\n href: `tel:${_ctx.affiliateDetails.phone}`\n }, _toDisplayString(_ctx.affiliateDetails.phone), 9, _hoisted_35)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n _hoisted_37,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.processDate(_ctx.affiliateDetails.signup)), 1)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _createTextVNode(\" Advocate \"),\n _createElementVNode(\"span\", _hoisted_40, _toDisplayString(_ctx.index), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"span\", _hoisted_41, _toDisplayString(_ctx.audienceListLength), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.previousId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.previous()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-left.svg'),\n alt: \"Previous arrow\"\n }, null, 8, _hoisted_44)\n ])\n ], 8, _hoisted_43),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.nextId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.next()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../../assets/chevron-right.svg'),\n alt: \"Next arrow\"\n }, null, 8, _hoisted_46)\n ])\n ], 8, _hoisted_45)\n ])\n ])\n ]))\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { AudienceMember } from '@/models/audienceMember';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport Helpers from '@/helpers';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\n\ninterface AffiliateDetails {\n name: string;\n email: string;\n phone: string;\n signup: number;\n status: string;\n tagCount: number;\n salesCount: number;\n revenue: number;\n earnings: number;\n conversionRate: number;\n commission?: number;\n}\n\nexport default defineComponent({\n name: 'AudienceAffiliateMember',\n emits: ['update:filteredCount'],\n data() {\n return {\n memberId: '',\n nextId: '',\n previousId: '',\n index: 1,\n member: null as null | AudienceMember,\n affiliateDetails: undefined as unknown as AffiliateDetails\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n audienceListLength: 'audience/getAudienceListLength'\n })\n },\n mounted() {\n if (this.$route.params.memberId) {\n this.memberId = this.$route.params.memberId as string;\n }\n this.getAudience();\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('orders', ['setBuyerName']),\n ...mapActions('audience', ['getNext', 'getPrevious', 'getCurrentIndex']),\n async getAudience() {\n this.setLoading(true);\n const payload = {\n accountId: this.currentAccount.accountId,\n affiliateId: this.memberId\n };\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_DETAILS,\n payload\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n this.member = responseData.data as AudienceMember;\n this.affiliateDetails = responseData.data as AffiliateDetails;\n\n this.index = (await this.getCurrentIndex(this.memberId)) + 1;\n this.nextId = await this.getNext(this.memberId);\n this.previousId = await this.getPrevious(this.memberId);\n\n this.setLoading(false);\n } else {\n this.setLoading(false);\n this.$router.push({\n name: 'PageNotFound'\n });\n }\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n processDate(date: number | string) {\n return Helpers.processDate(new Date(date).getTime());\n },\n goBack() {\n this.$router.push({\n name: 'audience'\n });\n },\n async previous() {\n if (this.previousId) {\n await this.$router.push({\n name: 'audience-advocate-member',\n params: {\n memberId: this.previousId\n }\n });\n this.memberId = this.previousId;\n this.getAudience();\n }\n },\n async next() {\n if (this.nextId) {\n await this.$router.push({\n name: 'audience-advocate-member',\n params: {\n memberId: this.nextId\n }\n });\n this.memberId = this.nextId;\n this.getAudience();\n }\n }\n }\n});\n","import { render } from \"./AudienceAffiliateMember.vue?vue&type=template&id=6c14fa81&scoped=true&ts=true\"\nimport script from \"./AudienceAffiliateMember.vue?vue&type=script&lang=ts\"\nexport * from \"./AudienceAffiliateMember.vue?vue&type=script&lang=ts\"\n\nimport \"./AudienceAffiliateMember.vue?vue&type=style&index=0&id=6c14fa81&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6c14fa81\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createBlock(_component_router_view))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'IntegrationsRoot'\n});\n","import { render } from \"./Integrations.vue?vue&type=template&id=9cc2e46c&scoped=true&ts=true\"\nimport script from \"./Integrations.vue?vue&type=script&lang=ts\"\nexport * from \"./Integrations.vue?vue&type=script&lang=ts\"\n\nimport \"./Integrations.vue?vue&type=style&index=0&id=9cc2e46c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9cc2e46c\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4d263da2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Integrations\", -1))\nconst _hoisted_2 = { class: \"hidden-mobile margin-top-10\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"integration-section flex container flex--wrap margin-top-10\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"flex--full-width flex flex--row no-pad\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-5 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Commerce\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Integrate your online store and sell with Tags.\")\n], -1))\nconst _hoisted_6 = { class: \"t-7 flex align--top integration-section__button\" }\nconst _hoisted_7 = { class: \"flex--full-width flex flex--row no-pad\" }\nconst _hoisted_8 = { class: \"integration-section__card t-6\" }\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Shopify\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.shopify.com/\",\n target: \"_blank\",\n class: \"margin-0\"\n}, \" https://www.shopify.com \", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Millions of the world's most successful brands trust Shopify to sell, ship and process payments anywhere. \", -1))\nconst _hoisted_13 = { class: \"integration-section__card t-6\" }\nconst _hoisted_14 = [\"src\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"BigCommerce\", -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.bigcommerce.com/\",\n target: \"_blank\",\n class: \"margin-0\"\n}, \" https://www.bigcommerce.com \", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" BigCommerce empowers merchants to build, innovate and grow their businesses online at every stage of growth. \", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { disabled: \"\" }, \"Coming Soon\", -1))\nconst _hoisted_19 = {\n key: 1,\n class: \"integration-section flex container justify--between flex--wrap\"\n}\nconst _hoisted_20 = {\n key: 0,\n class: \"flex--full-width flex flex--row no-pad\"\n}\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-5 mob-12 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Shipping\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Integrate shipping platforms to fulfill orders.\")\n], -1))\nconst _hoisted_22 = { class: \"t-7 mob-12 flex align--top integration-section__button\" }\nconst _hoisted_23 = { class: \"flex--full-width flex flex--row no-pad\" }\nconst _hoisted_24 = { class: \"integration-section__card t-6\" }\nconst _hoisted_25 = [\"src\"]\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"FedEx\", -1))\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.fedex.com/\",\n target: \"_blank\",\n class: \"margin-0\"\n}, \" https://www.fedex.com \", -1))\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Ship, manage, track, and deliver with FedEx.\", -1))\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { disabled: \"\" }, \"Coming Soon\", -1))\nconst _hoisted_30 = { class: \"integration-section__card t-6\" }\nconst _hoisted_31 = [\"src\"]\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Shippo\", -1))\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.shippo.com/\",\n target: \"_blank\",\n class: \"margin-0\"\n}, \" https://www.shippo.com \", -1))\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Everything you need for professional shipping in one place. Shippo is the best multi-carrier shipping software for e-commerce businesses. \", -1))\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { disabled: \"\" }, \"Coming Soon\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.menuOptions, (m) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: m }, [\n _createVNode(_component_BoostButton, {\n label: m,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === m\n }),\n onClick: ($event: any) => (_ctx.selectedMenu = m)\n }, null, 8, [\"label\", \"class\", \"onClick\"])\n ]))\n }), 128)),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Custom\",\n class: \"pill pill-inactive\",\n disabled: \"\"\n })\n ])\n ])\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.selectedMenu) + \" \" + _toDisplayString(_ctx.selectedMenu === 'All' ? 'Integrations' : ''), 1),\n (_ctx.selectedMenu === 'All' || _ctx.selectedMenu === 'Commerce')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_ctx.selectedMenu === 'All')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n label: \"See all\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.selectedMenu = 'Commerce'))\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"img\", {\n src: '../img/shopify.png',\n alt: \"Shopify logo\"\n }, null, 8, _hoisted_9),\n _hoisted_10,\n _hoisted_11,\n _hoisted_12,\n _createVNode(_component_BoostButton, {\n label: _ctx.isConnectedToShopify ? 'Manage' : 'Connect',\n \"button-style\": \"primary\",\n type: \"button\",\n class: \"margin-right-2\",\n onClick: _ctx.goToShopify\n }, null, 8, [\"label\", \"onClick\"]),\n (_ctx.isConnectedToShopify)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Sync\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _ctx.syncShopify\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"img\", {\n src: '../img/bigcommerce.png',\n alt: \"Big Commerce logo\"\n }, null, 8, _hoisted_14),\n _hoisted_15,\n _hoisted_16,\n _hoisted_17,\n _hoisted_18\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'All' || _ctx.selectedMenu === 'Shipping')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n (_ctx.selectedMenu === 'All')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_BoostButton, {\n label: \"See all\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.selectedMenu = 'Shipping'))\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"img\", {\n src: '../img/fedex.png',\n alt: \"Federal Express logo\"\n }, null, 8, _hoisted_25),\n _hoisted_26,\n _hoisted_27,\n _hoisted_28,\n _hoisted_29\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"img\", {\n src: '../img/shippo.png',\n alt: \"Shippo logo\"\n }, null, 8, _hoisted_31),\n _hoisted_32,\n _hoisted_33,\n _hoisted_34,\n _hoisted_35\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\n\nexport default defineComponent({\n data() {\n return {\n selectedMenu: 'All',\n menuOptions: ['All', 'Commerce', 'Shipping'],\n isConnectedToShopify: false\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n async mounted() {\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.GET_ECOMMERCE_CONFIG, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (\n responseData.status === APIResponseStatus.OK &&\n responseData.data?.configData?.configuration\n ) {\n this.isConnectedToShopify = true;\n }\n },\n methods: {\n ...mapMutations('global', [\n 'setLoading',\n 'setBannerStatus',\n 'setContextualButton'\n ]),\n goToShopify() {\n this.$router.push({ name: 'shopify-integration' });\n },\n async syncShopify() {\n this.setLoading({ isLoading: true, message: 'Connecting to Shopify...' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading({ isLoading: true, message: 'Syncing products...' });\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.SYNC_ECOMMERCE_PRODUCTS, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (responseData.status === APIResponseStatus.OK) {\n this.setLoading({ isLoading: true, message: 'Finished' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading(false);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_SUCCESS,\n type: BannerType.success\n });\n } else {\n this.setLoading({ isLoading: true, message: 'Something went wrong' });\n this.setLoading(false);\n this.setBannerStatus({\n text: BannerMessageStrings.SHOPIFY_ERROR_SYNCING,\n type: BannerType.error\n });\n }\n }\n }\n});\n","import { render } from \"./IntegrationsList.vue?vue&type=template&id=4d263da2&scoped=true&ts=true\"\nimport script from \"./IntegrationsList.vue?vue&type=script&lang=ts\"\nexport * from \"./IntegrationsList.vue?vue&type=script&lang=ts\"\n\nimport \"./IntegrationsList.vue?vue&type=style&index=0&id=4d263da2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4d263da2\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/widget-example.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-721f2e08\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"item-list\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Capture top of funnel data\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Convert from SMS inboxes\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Re-market products to potential customers\")\n], -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" The Later app allows potential customers to save product checkouts into their SMS inbox without signing up for an account. \", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"item-list item-list__share\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Onboard advocates from your product pages\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Enable users to instantly generate tags\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Increase revenue through omnichannel sales\")\n], -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" The Share app lets anyone instantly generate tags from your product pages and earn commissions on sales. \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Allow sellers to discover your products in our Marketplace.\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter your tagger guidelines below to inform people selling your products how they should represent the brand. \", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Place our widget on your product pages and toggle what apps you'd like to appear. \", -1))\nconst _hoisted_9 = {\n class: \"w-100 flex margin-top-10 margin-bottom-10\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1))\nconst _hoisted_11 = {\n class: \"w-100 flex margin-top-10\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_12 = {\n class: \"w-100 flex margin-bottom-5\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"apply-to-all-affiliates\",\n style: {\"margin-bottom\":\"0\"}\n}, \" Apply global commission to all advocates. \", -1))\nconst _hoisted_14 = {\n key: 0,\n class: \"text-light\"\n}\nconst _hoisted_15 = {\n class: \"w-100 flex margin-top-10\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_16 = { key: 0 }\nconst _hoisted_17 = {\n class: \"w-100 flex margin-bottom-5\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"add-all-products\",\n style: {\"margin-bottom\":\"0\"}\n}, \" Add all products to Marketplace. \", -1))\nconst _hoisted_19 = {\n key: 0,\n class: \"text-light\"\n}\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { href: \"/store/products/\" }, \"Products page\", -1))\nconst _hoisted_21 = {\n class: \"w-100 flex margin-top-10\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_22 = {\n class: \"w-100 flex margin-top-10\",\n style: {\"gap\":\"8px\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Apps\",\n \"is-compact\": false,\n message: \"Capture customers, onboard advocates and distribute checkouts using our powerful app suite.\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BoostCard, {\n class: \"t-6 border-right top-border\",\n title: \"Save for Later\",\n message: _ctx.laterEnabled ? 'Active' : 'Inactive',\n \"has-expander\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n class: \"margin-bottom-10\",\n label: \"Manage\",\n \"button-style\": \"optional\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.editLaterSettings = true))\n }),\n _hoisted_2,\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"message\"]),\n _createVNode(_component_BoostCard, {\n class: \"t-6 border-right top-border\",\n title: \"Share & Earn\",\n message: _ctx.shareEnabled ? 'Active' : 'Inactive',\n \"has-expander\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n class: \"margin-bottom-10\",\n label: \"Manage\",\n \"button-style\": \"optional\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.editShareSettings = true))\n }),\n _hoisted_4,\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"message\"])\n ]),\n (_ctx.shareEnabled)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n class: \"top-border\",\n title: \"Marketplace\",\n \"is-compact\": false,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.marketplaceEnabled,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.marketplaceEnabled) = $event)),\n \"input-id\": \"marketplace-app-toggle\",\n label: 'Enable Marketplace for your products',\n class: \"-mb-4\",\n onChange: _cache[3] || (_cache[3] = ($event: any) => (_ctx.openMarketplacePopup = true))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.shareEnabled)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 1,\n class: \"top-border\",\n title: \"Guidelines\",\n \"is-compact\": false,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createVNode(_component_BoostButton, {\n class: \"mb-0\",\n label: (_ctx.hasGuidelines ? 'Edit' : 'Add') + ' Guidelines',\n \"button-style\": \"primary\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.editGuidelines = true))\n }, null, 8, [\"label\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 top-border\",\n title: \"Add Widget\",\n \"is-compact\": false,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.automaticWidget,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.automaticWidget) = $event)),\n \"input-id\": \"automatic-placement-toggle\",\n label: 'Automatic Widget Placement',\n class: \"margin-top-10 margin-bottom-10\",\n onChange: _ctx.saveAutomaticPlacement\n }, null, 8, [\"modelValue\", \"onChange\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostButton, {\n label: \"Copy Code\",\n \"button-style\": \"primary\",\n onClick: _ctx.copyCode\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n label: \"How-To Guide\",\n \"button-style\": \"optional\",\n onClick: _ctx.onOpenHowTo\n }, null, 8, [\"onClick\"])\n ]),\n _hoisted_10\n ]),\n _: 1\n }),\n (_ctx.editLaterSettings)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 2,\n message: _ctx.PopupMessageStrings.EDIT_LATER_APP,\n title: _ctx.PopupMessageTitles.LATER_APP\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.laterEnabled,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.laterEnabled) = $event)),\n \"input-id\": \"later-app-toggle\",\n label: 'Add Later App to the widget',\n class: \"margin-top-10 margin-bottom-10\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancel\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Save\",\n type: \"button\",\n \"button-style\": \"primary\",\n onClick: _ctx.saveLater\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.editShareSettings)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 3,\n message: _ctx.PopupMessageStrings.EDIT_SHARE_APP,\n title: _ctx.PopupMessageTitles.SHARE_APP\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.shareEnabled,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.shareEnabled) = $event)),\n \"input-id\": \"share-app-toggle\",\n label: 'Add Share App to the widget',\n class: \"margin-top-10 margin-bottom-10\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.globalCommission,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.globalCommission) = $event)),\n label: \"Global Commission (%)\",\n \"input-id\": \"global-commission\",\n rules: \"max_value:50\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_12, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"apply-to-all-affiliates\",\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.applyToAllAffiliates) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.applyToAllAffiliates]\n ]),\n _hoisted_13\n ]),\n (_ctx.applyToAllAffiliates)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_14, \" Advocates with custom commission will also be affected by this change. \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancel\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Save\",\n type: \"button\",\n \"button-style\": \"primary\",\n onClick: _ctx.saveShare\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.openMarketplacePopup)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 4,\n message: _ctx.PopupMessageStrings.EDIT_MARKETPLACE_APP,\n title: _ctx.PopupMessageTitles.MARKETPLACE_APP\n }, {\n default: _withCtx(() => [\n (_ctx.marketplaceEnabled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"add-all-products\",\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.addAllProductsToMarketplace) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.addAllProductsToMarketplace]\n ]),\n _hoisted_18\n ]),\n (_ctx.addAllProductsToMarketplace)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_19, [\n _createTextVNode(\" By selecting this option, all of your products will be added to the Tags Marketplace. If you would rather manually select which products you want to add to the Marketplace, uncheck this option and instead, edit the specific products you want to add to the Marketplace via the \"),\n _hoisted_20,\n _createTextVNode(\". \")\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancel\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Save\",\n type: \"button\",\n \"button-style\": \"primary\",\n onClick: _ctx.saveMarketplace\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.editGuidelines)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 5,\n message: _ctx.PopupMessageStrings.EDIT_GUIDELINES_APP,\n title: _ctx.PopupMessageTitles.GUIDELINES_APP\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.guidelines.one,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.guidelines.one) = $event)),\n label: \"Guideline 1\",\n rules: \"min:3|max:50\",\n placeholder: \"Enter a guideline\",\n \"input-id\": \"guideline-one\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.guidelines.two,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.guidelines.two) = $event)),\n label: \"Guideline 2\",\n rules: \"min:3|max:50\",\n placeholder: \"Enter a guideline\",\n \"input-id\": \"guideline-two\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.guidelines.three,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.guidelines.three) = $event)),\n label: \"Guideline 3\",\n rules: \"min:3|max:50\",\n placeholder: \"Enter a guideline\",\n \"input-id\": \"guideline-three\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.guidelines.four,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.guidelines.four) = $event)),\n label: \"Guideline 4\",\n rules: \"min:3|max:50\",\n placeholder: \"Enter a guideline\",\n \"input-id\": \"guideline-four\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.guidelines.five,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.guidelines.five) = $event)),\n label: \"Guideline 5\",\n rules: \"min:3|max:50\",\n placeholder: \"Enter a guideline\",\n \"input-id\": \"guideline-five\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _ctx.cancel\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Save\",\n type: \"button\",\n \"button-style\": \"primary\",\n disabled: !_ctx.haveGuidelinesChanged,\n onClick: _ctx.saveGuidelines\n }, null, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"message\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport {\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\nimport {\n FirebaseRequest,\n FirebaseRequestTypes,\n APIResponseStatus\n} from '@/firebaseRequest';\n\nimport { mapGetters, mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { AccountObject } from '@/../models/accountObject';\n\ninterface AppUpdates {\n applyToAllAffiliates?: boolean;\n globalCommission?: number;\n enableShareEarn?: boolean;\n enableSaveForLater?: boolean;\n enableMarketplace?: boolean;\n widgetAutomaticPlacement?: boolean;\n guidelines?: string[];\n}\n\nexport default defineComponent({\n name: 'AppsList',\n components: {\n PopupComponent\n },\n data() {\n return {\n PopupMessageStrings,\n PopupMessageTitles,\n editLaterSettings: false,\n editShareSettings: false,\n editGuidelines: false,\n openMarketplacePopup: false,\n applyToAllAffiliates: false,\n addAllProductsToMarketplace: true,\n shareEnabled: true,\n laterEnabled: true,\n marketplaceEnabled: true,\n automaticWidget: true,\n globalCommission: 0,\n guidelines: {\n one: '',\n two: '',\n three: '',\n four: '',\n five: ''\n }\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n hasGuidelines() {\n return this.currentAccount.guidelines?.length > 0;\n },\n haveGuidelinesChanged() {\n return (\n (this.currentAccount.guidelines ?? []).join('') !==\n Object.values(this.guidelines).join('')\n );\n }\n },\n mounted() {\n this.cancel();\n },\n methods: {\n ...mapMutations('global', ['setBannerStatus', 'setLoading']),\n cancel() {\n const account = this.currentAccount as AccountObject;\n this.shareEnabled = account.enableShareEarn || false;\n this.laterEnabled = account.enableSaveForLater || false;\n this.marketplaceEnabled = account.enableMarketplace || false;\n this.automaticWidget = account.widgetAutomaticPlacement || false;\n this.globalCommission = account.globalCommission || 0;\n this.editLaterSettings = false;\n this.editShareSettings = false;\n this.editGuidelines = false;\n this.openMarketplacePopup = false;\n\n // Currently, we only support a max of 5 guidelines.\n if (account.guidelines?.length) {\n // Accessing an index without an element will return undefined, which is not a problem.\n this.guidelines.one = account.guidelines[0];\n this.guidelines.two = account.guidelines[1];\n this.guidelines.three = account.guidelines[2];\n this.guidelines.four = account.guidelines[3];\n this.guidelines.five = account.guidelines[4];\n }\n },\n async save(updates: AppUpdates): Promise {\n const responseData = await FirebaseRequest.createRequest<{\n connectionResults: {\n isSuccessful: boolean;\n message: string;\n };\n }>(FirebaseRequestTypes.UPDATE_ECOMMERCE_APPS, {\n accountId: this.currentAccount?.accountId,\n updates\n });\n if (responseData.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n return true;\n } else {\n this.setBannerStatus({\n text:\n responseData?.data?.connectionResults?.message ||\n BannerMessageStrings.SHOPIFY_ERROR,\n type: BannerType.error\n });\n }\n return false;\n },\n async saveAutomaticPlacement() {\n const updates = {\n widgetAutomaticPlacement: this.automaticWidget\n };\n if (await this.save(updates)) {\n this.currentAccount.widgetAutomaticPlacement = this.automaticWidget;\n }\n },\n async saveShare() {\n this.setLoading(true);\n const updates = {\n globalCommission: this.globalCommission,\n enableShareEarn: this.shareEnabled,\n applyToAllAffiliates: this.applyToAllAffiliates\n };\n if (await this.save(updates)) {\n this.currentAccount.globalCommission = this.globalCommission;\n this.currentAccount.enableShareEarn = this.shareEnabled;\n }\n this.applyToAllAffiliates = false;\n this.setLoading(false);\n this.editShareSettings = false;\n },\n async saveLater() {\n this.setLoading(true);\n const updates = {\n enableSaveForLater: this.laterEnabled\n };\n if (await this.save(updates)) {\n this.currentAccount.enableSaveForLater = this.laterEnabled;\n }\n this.setLoading(false);\n this.editLaterSettings = false;\n },\n async saveGuidelines() {\n this.setLoading(true);\n const guidelineList = Object.values(this.guidelines).filter((x) =>\n Boolean(x)\n );\n const updates = {\n guidelines: guidelineList\n };\n if (await this.save(updates)) {\n this.currentAccount.guidelines = guidelineList;\n }\n this.setLoading(false);\n this.editGuidelines = false;\n },\n async saveMarketplace() {\n this.setLoading(true);\n const updates = {\n enableMarketplace: this.marketplaceEnabled,\n addAllProductsToMarketplace: this.addAllProductsToMarketplace\n };\n if (await this.save(updates)) {\n this.currentAccount.enableMarketplace = this.marketplaceEnabled;\n }\n this.setLoading(false);\n this.openMarketplacePopup = false;\n },\n async copyCode() {\n await navigator.clipboard.writeText(\n '
'\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n onOpenHowTo() {\n window.open(\n 'https://support.tagscommerce.com/hc/en-us/articles/8343081242903-Activating-Save-for-Later',\n '_blank'\n );\n }\n }\n});\n","import { render } from \"./AppsList.vue?vue&type=template&id=721f2e08&scoped=true&ts=true\"\nimport script from \"./AppsList.vue?vue&type=script&lang=ts\"\nexport * from \"./AppsList.vue?vue&type=script&lang=ts\"\n\nimport \"./AppsList.vue?vue&type=style&index=0&id=721f2e08&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-721f2e08\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, withCtx as _withCtx, createTextVNode as _createTextVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/chevron-left.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4aa1fcda\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"text-light\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"margin-top-10 margin-bottom-10\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Top of funnel capture\", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Customers receive a text message with a product image and link to buy instantly with a single tap. \", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"guide__list\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Capture top of funnel data and contact information\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Store and re-market your audience to prospective sellers\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Click to buy that is attributed with up to 68% conversion\")\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"margin-2\",\n src: _imports_0,\n alt: \"Arrow left, to go back\"\n }),\n /*#__PURE__*/_createTextVNode(\" Back to Apps \")\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Later\",\n \"is-compact\": false,\n message: \"Capture top of funnel purchase intent and own your audience. Manage your Later app below.\"\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"top-border\",\n title: \"Manage\",\n \"is-compact\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.shopifyConfig?.isSaveForLaterAutomatic)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, \" This widget is currently set to Automatic Placement. If you wish to manually place the widget to your desire location, then toggle on. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_3, \" This widget is currently set to Manual Placement. To add the widget to your desired location, copy the code using the button below. \"))\n ]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.shopifyConfig.isSaveForLaterAutomatic,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.shopifyConfig.isSaveForLaterAutomatic) = $event)),\n \"input-id\": \"automatic-placement-toggle\",\n label: 'Automatic Widget Placement',\n class: \"margin-top-10 margin-bottom-10\"\n }, null, 8, [\"modelValue\"]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-bottom-0\",\n type: \"button\",\n \"loading-state\": _ctx.saveButtonState,\n onClick: _ctx.save\n }, null, 8, [\"loading-state\", \"onClick\"])\n ])),\n (!_ctx.shopifyConfig?.isSaveForLaterAutomatic)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_BoostButton, {\n label: \"Copy Code\",\n class: \"margin-right-2\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.copyCode()))\n }),\n _createVNode(_component_BoostButton, {\n label: \"How-To Guide\",\n \"button-style\": \"optional\",\n onClick: _ctx.onOpenHowTo\n }, null, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"img\", {\n class: \"guide__image\",\n src: require('../../assets/save-for-later.png')\n }, null, 8, _hoisted_6)\n ]),\n _hoisted_7,\n _hoisted_8,\n _hoisted_9\n ]),\n _: 1\n }),\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.$router.back\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n ], 64))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { ConnectShopify } from '@/../models/connectShopify';\n\nconst SaveForLater = defineComponent({\n name: 'SaveForLater',\n emits: ['updateSaveForLaterAutomatic', 'connectToShopify', 'setSelectedMenu'],\n data() {\n return {\n saveButtonState: ButtonLoadingState.initial,\n shopifyConfig: {} as ConnectShopify\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n async mounted() {\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.GET_ECOMMERCE_CONFIG, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (\n responseData.status === APIResponseStatus.OK &&\n responseData.data?.configData?.configuration\n ) {\n this.shopifyConfig = JSON.parse(\n responseData.data?.configData?.configuration\n ) as ConnectShopify;\n }\n },\n methods: {\n ...mapMutations('global', ['setBannerStatus']),\n scrollToTop() {\n window.scroll({\n top: 0,\n behavior: 'smooth'\n });\n },\n async copyCode() {\n await navigator.clipboard.writeText(\n '
'\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n async save() {\n this.saveButtonState = ButtonLoadingState.loading;\n const responseData = await FirebaseRequest.createRequest<{\n connectionResults: {\n isSuccessful: boolean;\n message: string;\n };\n }>(FirebaseRequestTypes.UPDATE_ECOMMERCE_APPS, {\n accountId: this.currentAccount?.accountId,\n isSaveForLaterAutomatic: this.shopifyConfig.isSaveForLaterAutomatic\n });\n if (responseData.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n } else {\n this.setBannerStatus({\n text:\n responseData?.data?.connectionResults?.message ||\n BannerMessageStrings.SHOPIFY_ERROR,\n type: BannerType.error\n });\n }\n this.saveButtonState = ButtonLoadingState.complete;\n },\n onOpenHowTo() {\n window.open(\n 'https://support.tagscommerce.com/hc/en-us/articles/8343081242903-Activating-Save-for-Later',\n '_blank'\n );\n }\n }\n});\nexport default SaveForLater;\n","import { render } from \"./SaveForLater.vue?vue&type=template&id=4aa1fcda&scoped=true&ts=true\"\nimport script from \"./SaveForLater.vue?vue&type=script&lang=ts\"\nexport * from \"./SaveForLater.vue?vue&type=script&lang=ts\"\n\nimport \"./SaveForLater.vue?vue&type=style&index=0&id=4aa1fcda&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4aa1fcda\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c93353e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_view)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'CustomizationsRoot'\n});\n","import { render } from \"./Customizations.vue?vue&type=template&id=5c93353e&scoped=true&ts=true\"\nimport script from \"./Customizations.vue?vue&type=script&lang=ts\"\nexport * from \"./Customizations.vue?vue&type=script&lang=ts\"\n\nimport \"./Customizations.vue?vue&type=style&index=0&id=5c93353e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c93353e\"]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-480a0466\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"hidden-mobile\" }, \"All Customizations\", -1))\nconst _hoisted_2 = { class: \"customization-section flex container justify--between flex--wrap\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex--full-width flex flex--row no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-5 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Custom Messaging\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Bibendum fermentum lacus. \")\n ])\n], -1))\nconst _hoisted_4 = { class: \"flex--full-width flex flex--row no-pad margin-top-4\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-8 no-pad flex container justify--between align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Welcome SMS\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Hey, welcome to Tags! 👋 Tags let's you shop in seconds...\")\n], -1))\nconst _hoisted_6 = { class: \"t-4 flex align--top justify--end\" }\nconst _hoisted_7 = { class: \"customization-section flex container justify--between flex--wrap\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex--full-width flex flex--row no-pad margin-top-4\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-8 no-pad flex container justify--between align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Tag Shortcuts\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Bibendum fermentum lacus. \")\n ])\n], -1))\nconst _hoisted_9 = { class: \"flex--full-width flex flex--row no-pad margin-top-4 customization-section__shortcut\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-8 no-pad flex container justify--between align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, \"Main Tag\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\"Currently pointing to \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Registration Link\")\n ])\n], -1))\nconst _hoisted_11 = { class: \"t-4 flex align--top justify--end align--center\" }\nconst _hoisted_12 = {\n class: \"flex--full-width flex flex--row no-pad margin-top-4 customization-section__shortcut\",\n disabled: \"\"\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-8 no-pad flex container justify--between align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, \"Inactive Tag\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\"Currently pointing to \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Nothing\")\n ])\n], -1))\nconst _hoisted_14 = { class: \"t-4 flex align--top justify--end align--center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _createTextVNode(\"All Customizations\")\n ])),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n \"button-style\": \"optional\",\n type: \"button\"\n })\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n \"button-style\": \"optional\",\n type: \"button\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n \"button-style\": \"optional\",\n type: \"button\"\n })\n ])\n ])\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'CustomizationSummary'\n});\n","import { render } from \"./CustomizationSummary.vue?vue&type=template&id=480a0466&scoped=true&ts=true\"\nimport script from \"./CustomizationSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomizationSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./CustomizationSummary.vue?vue&type=style&index=0&id=480a0466&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-480a0466\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_router_view)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'ProductsParent'\n});\n","import { render } from \"./ProductsParent.vue?vue&type=template&id=317a4d6a&ts=true\"\nimport script from \"./ProductsParent.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsParent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-808fb5fa\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"tip-edit\"\n}\nconst _hoisted_4 = { class: \"flex flex--wrap no-pad\" }\nconst _hoisted_5 = { class: \"t-12 no-pad bottom-border padding-bottom-10 margin-top-10\" }\nconst _hoisted_6 = { class: \"t-6 no-pad\" }\nconst _hoisted_7 = { class: \"t-6 no-pad\" }\nconst _hoisted_8 = { class: \"t-6 no-pad\" }\nconst _hoisted_9 = { class: \"t-6 no-pad\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" This message and link will appear after someone pays for your item. Customize it to create stronger relationships with your community. \")\n], -1))\nconst _hoisted_11 = { class: \"t-6 no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostImageUpload = _resolveComponent(\"BoostImageUpload\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostTextarea = _resolveComponent(\"BoostTextarea\")!\n const _component_BoostKeywords = _resolveComponent(\"BoostKeywords\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"Go back arrow\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Back to Product \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (_ctx.tip)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostImageUpload, {\n \"image-url\": _ctx.tip.imageUrl,\n label: \"Image\",\n class: \"standard-margins\",\n onImageFilePreviewed: _cache[0] || (_cache[0] = ($event: any) => (_ctx.tip.imageUrl = $event.data))\n }, null, 8, [\"image-url\"])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Item Details\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.tipEnabled,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.tipEnabled) = $event)),\n \"input-id\": \"product-ready\",\n label: \"Ready to accept digital payments\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.tip.chargeTax,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.tip.chargeTax) = $event)),\n \"input-id\": \"charge-tax-toggle\",\n label: \"Apply tax to item(s)\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.tip.title,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.tip.title) = $event)),\n label: \"Name\",\n rules: \"required\",\n type: \"text\",\n placeholder: \"Eg. New Song, My Book, Video Release\",\n \"input-id\": \"tip-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostTextarea, {\n modelValue: _ctx.tip.description,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.tip.description) = $event)),\n label: \"Description\",\n rules: \"max:500\",\n placeholder: \"The clearer and shorter the better\",\n \"input-id\": \"tag-description\",\n rows: 4\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostKeywords, {\n modelValue: _ctx.amounts,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.amounts) = $event)),\n placeholder: \"Enter one or more amounts to be paid\",\n label: \"Amounts\",\n \"input-id\": \"amounts-input\",\n \"max-count\": 5,\n type: \"currency\",\n \"custom-error\": _ctx.amountErrorString,\n \"minimum-value\": 1\n }, null, 8, [\"modelValue\", \"custom-error\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Custom Message\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostTextarea, {\n modelValue: _ctx.tip.message,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.tip.message) = $event)),\n label: \"Message\",\n rules: \"max:120\",\n placeholder: \"Add a thank you or promotional message...\",\n \"input-id\": \"tag-message\",\n rows: 4\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.tip.messageUrl,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.tip.messageUrl) = $event)),\n label: \"Link\",\n placeholder: \"Add link...\",\n \"input-id\": \"tag-message-url\"\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n })\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n \"loading-state\": _ctx.saveButtonState,\n disabled: _ctx.isSaveDisabled,\n onClick: _ctx.commitChanges\n }, null, 8, [\"loading-state\", \"disabled\", \"onClick\"])\n ]))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, null, 512)\n ], 64))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bcf209cc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"confirm-component\"\n}\nconst _hoisted_2 = { class: \"confirm-component__wrapper\" }\nconst _hoisted_3 = { class: \"confirm-component__inner\" }\nconst _hoisted_4 = { class: \"confirm-component__controls-container\" }\nconst _hoisted_5 = { class: \"confirm-component__title\" }\nconst _hoisted_6 = { style: {\"margin-top\":\"0\"} }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = {\n key: 0,\n class: \"confirm-component__message\"\n}\nconst _hoisted_9 = { class: \"confirm-component__buttons\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_ctx.isVisible)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"h2\", _hoisted_6, _toDisplayString(_ctx.title), 1),\n _createVNode(_component_BoostButton, {\n type: \"button\",\n \"button-style\": \"none\",\n onClick: _ctx._cancel\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"\"\n }, null, 8, _hoisted_7)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n (_ctx.message?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _withDirectives(_createElementVNode(\"p\", null, null, 512), [\n [_directive_sanitized, _ctx.message]\n ]),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_9, [\n (_ctx.showCancelButton)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Cancel\",\n class: \"w-50\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _ctx._cancel\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n label: _ctx.confirmText,\n class: _normalizeClass({ 'w-100': !_ctx.showCancelButton, 'w-50': _ctx.showCancelButton }),\n \"button-style\": _ctx.showCancelButton ? 'primary' : 'optional',\n type: \"button\",\n onClick: _ctx._confirm\n }, null, 8, [\"label\", \"class\", \"button-style\", \"onClick\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"confirm-component__overlay\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx._cancel && _ctx._cancel(...args))),\n onWheel: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"prevent\"])),\n onTouchmove: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"])),\n onScroll: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, null, 32)\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'ConfirmComponent',\n\n data: () => ({\n isVisible: false,\n title: '',\n message: '',\n confirmText: '',\n showCancelButton: false,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n resolvePromise: (data: boolean) => {\n return;\n }\n }),\n\n methods: {\n async show(\n title: string,\n message: string,\n confirmText: string,\n showCancel = false\n ): Promise {\n this.title = title;\n this.message = message;\n this.confirmText = confirmText;\n this.showCancelButton = showCancel;\n\n // Once we set our config, we tell the popup modal to open\n this.open();\n // Return promise so the caller can get results\n return new Promise((resolve) => {\n this.resolvePromise = resolve;\n });\n },\n\n open() {\n this.isVisible = true;\n },\n\n close() {\n this.isVisible = false;\n },\n\n _confirm() {\n this.close();\n this.resolvePromise(true);\n },\n\n _cancel() {\n this.close();\n this.resolvePromise(false);\n }\n }\n});\n","import { render } from \"./ConfirmComponent.vue?vue&type=template&id=bcf209cc&scoped=true&ts=true\"\nimport script from \"./ConfirmComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./ConfirmComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./ConfirmComponent.vue?vue&type=style&index=0&id=bcf209cc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-bcf209cc\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { uploadImage } from '@/../dataService/cloudinary';\nimport { SelectOption } from '@/common/controls/BoostSelect/Select.interface';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport Helpers from '@/helpers';\nimport { TagType } from '@/../enums/tagType';\nimport { TipTag } from '@/../models/tag';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapMutations } from 'vuex';\nimport { Keyword } from '@/common/controls/BoostKeywords.vue';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\nimport {\n PopupMessageTitles,\n PopupMessageStrings,\n PopupMessageButtonCaptions\n} from '@/common/PopupComponent/PopupMessages';\nimport { AccountObject } from '@/models/accountObject';\n\nexport default defineComponent({\n name: 'TipEdit',\n components: {\n ConfirmComponent\n },\n async beforeRouteLeave() {\n if (this.originalValue === JSON.stringify(this.tip)) {\n return true;\n } else {\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmed = await confirmation.show(\n PopupMessageTitles.UNSAVED_CHANGES,\n PopupMessageStrings.UNSAVED_CHANGES,\n PopupMessageButtonCaptions.DISCARD_CHANGES\n );\n\n return confirmed;\n }\n },\n data() {\n return {\n originalValue: '',\n tipEnabled: false,\n yesNoOptions: [\n { value: true, name: 'Yes' },\n { value: false, name: 'No' }\n ] as SelectOption[],\n amounts: [] as Keyword[],\n amountError: [] as string[],\n publishButtonState: ButtonLoadingState.initial,\n saveButtonState: ButtonLoadingState.initial,\n tip: null as null | TipTag\n };\n },\n computed: {\n productId(): string {\n if (this.$route.params.productId) {\n return this.$route.params.productId as string;\n }\n return '';\n },\n currentAccount(): AccountObject | null {\n if (\n this.$store.state.accounts &&\n this.$store.state.accounts.currentAccount\n ) {\n return this.$store.state.accounts.currentAccount;\n }\n return null;\n },\n saveLabel(): string {\n // TODO: see if this can be simplified once the save flow is clearer\n const isEditing = !!this.tip;\n if (isEditing && !this.tip?.disabled) {\n return 'Done';\n } else {\n return 'Save';\n }\n },\n amountErrorString(): string {\n return this.amountError?.length ? this.amountError.join(', ') : '';\n },\n isSaveDisabled(): boolean {\n return (\n this.tip?.title.length === 0 ||\n this.amounts.length === 0 ||\n this.amounts.length > 5\n );\n }\n },\n watch: {\n tipEnabled(newValue) {\n if (newValue != null) {\n if (this.tip) {\n this.tip.disabled = !newValue;\n }\n }\n },\n amounts: {\n deep: true,\n handler(newValue) {\n if (this.tip && newValue) {\n this.tip.amounts = newValue.map(\n (amount: Keyword) => +amount.label.toString().replace('$', '')\n );\n }\n }\n }\n },\n async mounted() {\n if (!this.$route.params.productId) {\n if (this.currentAccount) {\n this.tip = {\n imageUrl: require('../../assets/default-product.jpg'),\n amounts: [],\n accountId: this.currentAccount?.accountId,\n productId: '',\n hashtag: '',\n title: '',\n description: '',\n productSource: ProductSource.Boost,\n type: TagType.TIP,\n totalSales: 0,\n quantitySold: 0,\n savedForLaterCount: 0,\n isFeatured: false,\n attributions: [],\n chargeTax: false,\n disabled: true\n };\n }\n this.initializeForm();\n return;\n }\n\n this.setLoading(true);\n await this.getTip();\n this.initializeForm();\n },\n\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('product', ['setCurrentProduct']),\n\n isInvalid(invalid: boolean): boolean {\n // If form invalid then is invalid\n if (invalid) {\n return invalid;\n }\n // default\n return false;\n },\n async getTip() {\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_TAG,\n {\n accountId: this.currentAccount?.accountId,\n productId: this.productId\n }\n );\n if (responseData.status === APIResponseStatus.OK) {\n this.tip = responseData.data as TipTag;\n\n this.setLoading(false);\n }\n },\n initializeForm() {\n if (!this.tip) {\n return;\n }\n const tip: TipTag = this.tip;\n\n // penny amounts -> dollars -> strings\n const amounts = tip.amounts.map((amount: number, index) => {\n return {\n id: index,\n label: amount,\n isLocked: false\n } as Keyword;\n });\n this.tipEnabled = !this.tip.disabled;\n this.amounts = amounts || [];\n this.originalValue = JSON.stringify(this.tip);\n },\n\n async commitChanges() {\n if (!this.tip) {\n return;\n }\n\n this.saveButtonState = ButtonLoadingState.loading;\n if (\n this.tip.imageUrl &&\n /^data:image\\/.*?;base64,/.test(this.tip.imageUrl)\n ) {\n // We have to write this image to the database and replace it with the URL\n this.tip.imageUrl = await uploadImage(this.tip.imageUrl);\n }\n\n // convert to pennies\n const amounts = this.amounts.map(\n (amount: Keyword) => +amount.label.toString().replace('$', '')\n );\n\n const tipData = {\n accountId: this.currentAccount?.accountId,\n productId: '',\n totalSales: 0,\n quantitySold: 0,\n description: this.tip.description || '',\n title: this.tip.title,\n message: this.tip.message,\n messageUrl: this.tip.messageUrl,\n hashtag: this.tip ? this.tip.hashtag : '',\n type: TagType.TIP,\n disabled: this.tip.disabled,\n chargeTax: this.tip.chargeTax,\n imageUrl: this.tip.imageUrl,\n amounts,\n isFeatured: this.tip.isFeatured\n } as TipTag;\n\n // update or create the product\n if (this.tip) {\n // update all product data\n tipData.productId = this.tip.productId;\n }\n\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.SAVE_TIP,\n {\n tip: tipData\n }\n );\n this.saveButtonState = ButtonLoadingState.complete;\n if (responseData.status === APIResponseStatus.OK) {\n this.tip = responseData.data as TipTag;\n this.setCurrentProduct(this.tip);\n this.originalValue = JSON.stringify(this.tip);\n }\n this.goBack();\n },\n\n goBack() {\n const productId = this.tip?.productId;\n if (productId) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n } else {\n this.$router.push({ name: 'seller-products' });\n }\n },\n\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n }\n }\n});\n","import { render } from \"./TipEdit.vue?vue&type=template&id=808fb5fa&scoped=true&ts=true\"\nimport script from \"./TipEdit.vue?vue&type=script&lang=ts\"\nexport * from \"./TipEdit.vue?vue&type=script&lang=ts\"\n\nimport \"./TipEdit.vue?vue&type=style&index=0&id=808fb5fa&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-808fb5fa\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d74bb7a6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"tag-edit\"\n}\nconst _hoisted_2 = { class: \"flex align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n novalidate: \"\",\n class: \"flex--full-width no-pad\"\n}\nconst _hoisted_5 = { class: \"t-12 no-pad bottom-border padding-bottom-4 margin-top-10\" }\nconst _hoisted_6 = { class: \"t-12 d-6 dm-6 no-pad margin-top-10\" }\nconst _hoisted_7 = { class: \"t-6 no-pad\" }\nconst _hoisted_8 = { class: \"t-6 no-pad\" }\nconst _hoisted_9 = { class: \"t-12 d-6 dm-6 no-pad\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"t-12 d-6 dm-6 margin-bottom-8 no-pad\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Variation\", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Click Add Variations if your product comes in different sizes, colors or materials. \", -1))\nconst _hoisted_13 = { class: \"t-12 d-6 dm-6 no-pad\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Attribution\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Create versions of Tags for your products to track sales across marketing channels. \", -1))\nconst _hoisted_16 = { class: \"t-12 d-6 dm-6 no-pad\" }\nconst _hoisted_17 = { class: \"t-12 d-6 dm-6 no-pad\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"Dimensions\", -1))\nconst _hoisted_19 = { class: \"flex input-set\" }\nconst _hoisted_20 = { class: \"flex input-set\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostImageUpload = _resolveComponent(\"BoostImageUpload\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostTextarea = _resolveComponent(\"BoostTextarea\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n const _component_ProductEditAttributions = _resolveComponent(\"ProductEditAttributions\")!\n const _component_ProductEditVariations = _resolveComponent(\"ProductEditVariations\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.product && _ctx.productEditState === _ctx.ProductEditStatus.EditProduct)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"Go back arrow\"\n }, null, 8, _hoisted_3),\n _createTextVNode(\" Back to Product \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n _createVNode(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap no-pad\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"form\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostImageUpload, {\n \"image-url\": _ctx.product.imageUrl,\n \"onUpdate:image-url\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.product.imageUrl) = $event)),\n class: \"standard-margins\",\n \"write-on-preview\": true,\n label: \"Product image\",\n onImageFilePreviewed: _cache[1] || (_cache[1] = ($event: any) => (_ctx.product.imageUrl = $event.data))\n }, null, 8, [\"image-url\"])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Product Information\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.readyToSell,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.readyToSell) = $event)),\n disabled: _ctx.notConnectedToStripe,\n \"input-id\": \"disabled-toggle\",\n label: \n 'This product is available and ready to sell' +\n (_ctx.notConnectedToStripe ? ' (Stripe connection required)' : '')\n \n }, null, 8, [\"modelValue\", \"disabled\", \"label\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.enableMarketplace,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.product.enableMarketplace) = $event)),\n \"input-id\": \"enable-marketplace-toggle\",\n label: \"Enable Marketplace\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.hasVariations,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.hasVariations) = $event)),\n \"input-id\": \"has-variations-toggle\",\n label: \"This product has variations like sizes or colors\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.chargeTax,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.product.chargeTax) = $event)),\n \"input-id\": \"charge-tax-toggle\",\n label: \"Apply tax to product(s)\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.title,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.product.title) = $event)),\n label: \"Product name\",\n rules: \"required\",\n type: \"text\",\n placeholder: \"Name or title\",\n \"input-id\": \"tip-name\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_7, [\n (!_ctx.hasVariations)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 0,\n modelValue: _ctx.product.price,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.product.price) = $event)),\n label: \"Price\",\n rules: \"required|money\",\n placeholder: \"$10.00\",\n \"input-id\": \"tag-price\",\n class: \"t-6 no-pad margin-right-2\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (!_ctx.hasVariations)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 0,\n modelValue: _ctx.noVariantionsQuantity,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.noVariantionsQuantity) = $event)),\n label: \"Quantity\",\n rules: \"min_value:0|required\",\n type: \"number\",\n placeholder: \"999\",\n \"input-id\": \"tag-quantity\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostTextarea, {\n modelValue: _ctx.product.description,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.product.description) = $event)),\n label: \"Product description\",\n rules: \"max:500|required\",\n placeholder: \"The clearer and shorter the better\",\n \"input-id\": \"tag-description\",\n rows: 4\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Data\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n (_ctx.hasVariations)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _hoisted_11,\n _hoisted_12,\n _createVNode(_component_BoostButton, {\n label: \n _ctx.product.variants?.length ? 'Edit Variations' : 'Add Variations'\n ,\n \"button-style\": _ctx.product.variants?.length ? 'optional' : 'primary',\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.editVariations\n }, null, 8, [\"label\", \"button-style\", \"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _hoisted_15,\n _createVNode(_component_BoostButton, {\n label: \n _ctx.product.attributions?.length\n ? 'Edit Attribution'\n : 'Add Attribution'\n ,\n \"button-style\": \n _ctx.product.attributions?.length ? 'optional' : 'primary'\n ,\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.editAttribution\n }, null, 8, [\"label\", \"button-style\", \"onClick\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Shipping\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.shippingCharge,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.product.shippingCharge) = $event)),\n label: \"Price\",\n rules: \"required\",\n placeholder: \"$10.00\",\n \"input-id\": \"tag-shipping-charge\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.parcel.width,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.product.parcel.width) = $event)),\n label: \"Width (in)\",\n type: \"text\",\n \"input-id\": \"tag-width\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.parcel.height,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.product.parcel.height) = $event)),\n label: \"Height (in)\",\n type: \"text\",\n \"input-id\": \"tag-height\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.parcel.length,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.product.parcel.length) = $event)),\n label: \"Length (in)\",\n type: \"text\",\n \"input-id\": \"tag-length\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.product.parcel.weight,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.product.parcel.weight) = $event)),\n label: \"Weight (kg)\",\n type: \"text\",\n \"input-id\": \"tag-weight\"\n }, null, 8, [\"modelValue\"])\n ])\n ])\n ]),\n _: 1\n }),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: !meta.valid || !_ctx.canSave,\n \"loading-state\": _ctx.saveButtonState,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"loading-state\", \"onClick\"])\n ]))\n ])\n ]),\n _: 1\n }, 512)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.productEditState === _ctx.ProductEditStatus.AddEditAttribution)\n ? (_openBlock(), _createBlock(_component_ProductEditAttributions, {\n key: 1,\n product: _ctx.product,\n onBackNavigationRequested: _cache[15] || (_cache[15] = ($event: any) => (\n _ctx.productEditState = _ctx.ProductEditStatus.EditProduct\n )),\n onSaveAttributions: _ctx.handleSaveAttributions\n }, null, 8, [\"product\", \"onSaveAttributions\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.productEditState === _ctx.ProductEditStatus.AddEditVariations)\n ? (_openBlock(), _createBlock(_component_ProductEditVariations, {\n key: 2,\n product: _ctx.product,\n onBackNavigationRequested: _cache[16] || (_cache[16] = ($event: any) => (\n _ctx.productEditState = _ctx.ProductEditStatus.EditProduct\n )),\n onSaveVariations: _ctx.handleSaveVariations\n }, null, 8, [\"product\", \"onSaveVariations\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, null, 512)\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-left-2\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-inactive\" }, \"Product /\"),\n /*#__PURE__*/_createElementVNode(\"span\", null, \" Attribution\")\n], -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"no-pad flex flex--full-width standard-margins\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6 margin-top-10 margin-bottom-5 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Attribution\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Create unique Tags to track the sources of your revenue, off and online. Be sure to visit our help section for best practices and tips! \")\n ])\n], -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 no-pad\" }, \" \", -1)\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { key: 2 }\nconst _hoisted_9 = { key: 3 }\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = { class: \"t-12\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/arrow-left.svg'),\n alt: \"Go back arrow\"\n }, null, 8, _hoisted_2)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _hoisted_3\n ])),\n _hoisted_4,\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createVNode(_component_BoostTable, {\n rows: _ctx.attributions,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"hide-footer\": true,\n \"image-first\": false,\n \"has-context-menu\": true,\n \"fixed-columns\": true,\n \"has-tray\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: data.row.name,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.name) = $event),\n \"input-id\": 'attribution-name-' + data.row.identifier,\n type: \"text\",\n placeholder: \"GQ, @SarahSmith, Google Ads\",\n \"hide-label\": true,\n rules: \"required\",\n class: \"wide-input\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'attributionType')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n _createVNode(_component_BoostSelect, {\n modelValue: data.row.type,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.type) = $event),\n attributes: \"no-required-indicator\",\n options: _ctx.getOptions(_ctx.AttributionType),\n \"input-id\": 'select-attribution-type-' + data.row.identifier,\n rules: \"required\",\n class: \"wide-input\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'status')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, [\n _createVNode(_component_BoostSelect, {\n modelValue: data.row.status,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.status) = $event),\n attributes: \"no-required-indicator\",\n options: _ctx.getOptions(_ctx.AttributionStatus),\n \"input-id\": 'select-attribution-status-' + data.row.identifier,\n rules: \"required\",\n class: \"wide-input\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'action')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, [\n _createVNode(_component_BoostButton, {\n id: 'delete-button' + data.row.identifier,\n \"button-style\": \"none\",\n onClick: ($event: any) => (_ctx.deleteAttribution(data.row))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: require('../../assets/trash.svg'),\n alt: \"delete\"\n }, null, 8, _hoisted_10)\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n \"action-tray\": _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Add Attribution\",\n \"button-style\": \"primary\",\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.addAttribution\n }, null, 8, [\"onClick\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.attributions?.length) + \" Attribution(s)\", 1)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Done\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: _ctx.disableDone,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"onClick\"])\n ]))\n ])\n ])\n ], 64))\n}","\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport {\n Attribution,\n AttributionType,\n AttributionStatus\n} from '@/../models/firebase/product';\nimport { defineComponent, PropType } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { SelectOption } from '@/common/controls/BoostSelect/Select.interface';\nimport { TagDetail } from '@/models/tag';\nimport helpers from '@/helpers';\n\nexport default defineComponent({\n name: 'ProductEditAttributions',\n props: {\n product: {\n type: Object as PropType,\n required: true\n }\n },\n emits: {\n backNavigationRequested() {\n return true;\n },\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n saveAttributions(payload: Attribution[]) {\n return true;\n }\n },\n data() {\n return {\n AttributionType,\n AttributionStatus,\n attributions: [] as Attribution[],\n columns: [\n {\n id: 'name',\n label: 'Name/Location'\n },\n {\n id: 'attributionType',\n label: 'Type'\n },\n {\n id: 'status',\n label: 'Status'\n },\n {\n id: 'action',\n lable: ''\n }\n ] as ColumnItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n disableDone(): boolean {\n return (\n !!this.attributions?.length &&\n this.attributions.some((x) => !x.name?.length)\n );\n }\n },\n created() {\n if (!this.product) {\n this.$router.push({\n name: 'seller-products'\n });\n return;\n }\n // Get a copy of the current attributions to start, these should be abandoned if navigate back\n // or saved back to the store when the user clicks the save button\n if (this.product?.attributions?.length) {\n (this.product.attributions as Attribution[]).forEach((x) => {\n this.attributions.push({ ...x });\n });\n }\n },\n methods: {\n ...mapMutations('product', ['setCurrentProductAttributions']),\n getOptions(enumType: unknown): Array {\n if (enumType && typeof enumType === 'object') {\n return Object.values(enumType)\n .filter((x) => typeof x === 'string')\n .map((x) => ({ name: x, value: parseInt((enumType as never)[x]) }));\n }\n return [];\n },\n addAttribution() {\n this.attributions.push({\n name: '',\n type: AttributionType.Advertisement,\n status: AttributionStatus.Active,\n identifier: helpers.getTemporaryId()\n });\n },\n deleteAttribution(attribution: Attribution) {\n const index = this.attributions.indexOf(attribution);\n this.attributions.splice(index, 1);\n },\n goBack() {\n this.$emit('backNavigationRequested');\n },\n async commitChanges() {\n this.$emit('saveAttributions', this.attributions);\n }\n }\n});\n","import { render } from \"./ProductEditAttributions.vue?vue&type=template&id=ef4b52e0&ts=true\"\nimport script from \"./ProductEditAttributions.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductEditAttributions.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductEditAttributions.vue?vue&type=style&index=0&id=ef4b52e0&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, Teleport as _Teleport, createBlock as _createBlock, toDisplayString as _toDisplayString, Fragment as _Fragment, renderList as _renderList, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3b5cbef8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"margin-left-2\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-inactive\" }, \"Product / \", -1))\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { class: \"flex\" }\nconst _hoisted_9 = { class: \"t-6 margin-bottom-10 margin-top-10\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Variations\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Add options to your product like sizes and colors by clicking “Options” below. Then, you can assign different prices and quantities for each item on this page. \", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Products List\")\n], -1))\nconst _hoisted_13 = { key: 0 }\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = { key: 3 }\nconst _hoisted_17 = { key: 4 }\nconst _hoisted_18 = { key: 5 }\nconst _hoisted_19 = [\"src\"]\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { class: \"t-6 center margin-bottom-10 margin-top-10\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Options\", -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter the name for your Option, like Colors. Then, enter the variants for that option one at a time and click the \\\"+\\\" sign, like Green, Blue, Yellow. \", -1))\nconst _hoisted_24 = { class: \"t-12 center flex\" }\nconst _hoisted_25 = { class: \"t-12 center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostImageUpload = _resolveComponent(\"BoostImageUpload\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_BoostKeywords = _resolveComponent(\"BoostKeywords\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/arrow-left.svg'),\n alt: \"Go back arrow\"\n }, null, 8, _hoisted_2)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"span\", {\n class: _normalizeClass({ 'text-inactive': _ctx.showOptions })\n }, [\n _createTextVNode(\"Variations\"),\n (_ctx.showOptions)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, \" / \"))\n : _createCommentVNode(\"\", true)\n ], 2),\n (_ctx.showOptions)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \"Options\"))\n : _createCommentVNode(\"\", true)\n ])\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Done\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: _ctx.disableDone,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"onClick\"])\n ])),\n (!_ctx.showOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _hoisted_11,\n _createVNode(_component_BoostButton, {\n label: _ctx.hasOptions ? 'Edit Options' : 'Options',\n \"button-style\": _ctx.hasOptions ? 'optional' : 'primary',\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showOptions = true))\n }, null, 8, [\"label\", \"button-style\"])\n ])\n ]),\n (_ctx.hasOptions)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_12,\n _createVNode(_component_BoostTable, {\n rows: _ctx.skuList,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"hide-footer\": true,\n \"has-context-menu\": \"\",\n \"has-tray\": \"\",\n \"hide-overflow\": false\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, [\n (_openBlock(), _createBlock(_component_BoostImageUpload, {\n key: data.row.id,\n \"image-url\": data.row.imageUrl,\n \"onUpdate:image-url\": ($event: any) => ((data.row.imageUrl) = $event),\n \"write-on-preview\": true,\n mode: \"mini\",\n onImageFilePreviewed: ($event: any) => (data.row.imageUrl = $event.data)\n }, null, 8, [\"image-url\", \"onUpdate:image-url\", \"onImageFilePreviewed\"]))\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'sku')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, [\n _createVNode(_component_BoostInput, {\n modelValue: data.row.sku,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.sku) = $event),\n \"input-id\": 'product-sku-sku-' + data.row.id,\n type: \"text\",\n placeholder: \"SKU identifier...\",\n rules: \"required\",\n \"hide-label\": true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'quantity')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, [\n _createVNode(_component_BoostInput, {\n modelValue: data.row.quantity,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.quantity) = $event),\n \"input-id\": 'product-sku-quantity-' + data.row.id,\n type: \"number\",\n rules: \"min_value:0|required\",\n \"hide-label\": true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'price')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, [\n _createVNode(_component_BoostInput, {\n modelValue: data.row.price,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.price) = $event),\n \"input-id\": 'product-sku-price-' + data.row.id,\n rules: \"required|money\",\n \"hide-label\": true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\"])\n ]))\n : (\n _ctx.variantList.some(\n (item) =>\n (item.name || item.label?.toLocaleLowerCase()) ===\n data.column.id\n )\n )\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createVNode(_component_BoostSelect, {\n modelValue: data.row[data.column.id],\n \"onUpdate:modelValue\": ($event: any) => ((data.row[data.column.id]) = $event),\n options: _ctx.skuVariantSelectOptions(data.column.id),\n \"input-id\": `${data.column.id}-${data.row.id}`,\n rules: \"required\",\n \"hide-label\": true,\n class: \"edit-variations__select\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"input-id\"])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'actions')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createVNode(_component_BoostButton, {\n id: 'delete-button' + data.row.identifier,\n \"button-style\": \"none\",\n onClick: ($event: any) => (_ctx.removeSku(data.row))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: require('../../assets/trash.svg'),\n alt: \"delete\"\n }, null, 8, _hoisted_19)\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n \"action-tray\": _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Add Variation\",\n \"button-style\": \"primary\",\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.addSku\n }, null, 8, [\"onClick\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.skuList.length) + \" Variations\", 1)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _hoisted_23,\n _createVNode(_component_BoostButton, {\n label: \"Add Option\",\n \"button-style\": \"primary\",\n type: \"button\",\n disabled: _ctx.tempVariantList?.length > 2,\n onClick: _ctx.addVariant\n }, null, 8, [\"disabled\", \"onClick\"])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.tempVariantList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.id,\n class: \"t-6 center no-pad\"\n }, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_BoostInput, {\n modelValue: item.label,\n \"onUpdate:modelValue\": ($event: any) => ((item.label) = $event),\n \"input-id\": 'product-option-name' + item.id,\n type: \"text\",\n placeholder: \"Eg. Colors or Sizes\",\n label: \"Name\",\n rules: \"required\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n class: \"text-xs sm:text-sm\",\n label: \"Remove\",\n \"button-style\": \"link\",\n type: \"button\",\n onClick: ($event: any) => (_ctx.removeVariant(item, index))\n }, null, 8, [\"onClick\"])\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\"])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_BoostKeywords, {\n modelValue: item.options,\n \"onUpdate:modelValue\": ($event: any) => ((item.options) = $event),\n label: \"Options\",\n placeholder: \"Eg. Small, Medium, Large\",\n \"input-id\": `keywords-input-${index}`,\n \"max-count\": 20,\n \"mute-changes\": \"\",\n onKeywordAdded: ($event: any) => (_ctx.addVariantOption($event, index)),\n onKeywordRemoved: ($event: any) => (_ctx.removeVariantOption($event, index))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"input-id\", \"onKeywordAdded\", \"onKeywordRemoved\"])\n ])\n ]))\n }), 128))\n ]))\n ], 64))\n}","\nimport { defineComponent, PropType } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { TagDetail, TagSku, TagVariant } from '@/../models/tag';\nimport { Keyword } from '@/common/controls/BoostKeywords.vue';\nimport helpers from '@/helpers';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\n\nexport default defineComponent({\n name: 'ProductEditVariations',\n props: {\n product: {\n type: Object as PropType,\n required: true\n }\n },\n emits: {\n backNavigationRequested() {\n return true;\n },\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n saveVariations(payload: { variants: TagVariant[]; skus: TagSku[] }) {\n return true;\n }\n },\n data() {\n return {\n showOptions: false,\n skuList: [] as TagSku[],\n variantList: [] as TagVariant[],\n tempVariantList: [] as TagVariant[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n columns(): ColumnItem[] {\n const step1 = [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'sku',\n label: 'SKU'\n },\n {\n id: 'quantity',\n label: 'Quantity'\n },\n {\n id: 'price',\n label: 'Price'\n }\n ] as ColumnItem[];\n\n this.variantList.forEach((variant) => {\n step1.push({\n id: variant.name || variant.label?.toLocaleLowerCase(),\n label: variant.label\n });\n });\n\n step1.push({\n id: 'actions',\n label: ''\n });\n\n return step1;\n },\n hasOptions(): boolean {\n return this.variantList.length > 0;\n },\n variantsAsKeywords(): Keyword[] {\n const variants = [] as Keyword[];\n this.variantList.forEach((variant: TagVariant, index: number) => {\n variants.push({\n id: index,\n label: variant.label,\n isLocked: variant.isLocked\n });\n });\n return variants;\n },\n disableDone(): boolean {\n if (this.showOptions) {\n return this.tempVariantList.some((x) => !x.label || !x.options.length);\n }\n //Need to add check that all options have a value specified on every sku\n const hasBlankSkuOptions = (s: TagSku): boolean => {\n let results = false;\n this.variantList.forEach((v) => {\n const name = v.name || v.label?.toLocaleLowerCase();\n if (!s[name]) {\n results = true;\n }\n });\n return results;\n };\n const results =\n this.variantList.some((x) => !x.label || !x.options.length) ||\n this.skuList.length === 0 ||\n this.skuList.some(\n (x) =>\n !x.sku ||\n !x.quantity ||\n !x.price ||\n parseFloat(x.price) < 1.0 ||\n !parseFloat(x.price) ||\n hasBlankSkuOptions(x)\n );\n return results;\n }\n },\n created() {\n if (!this.product) {\n this.$router.push({\n name: 'seller-products'\n });\n return;\n }\n // Get a copy of the current variants and skus to start, these should be abandoned if navigate back\n // or saved back to the store when the user clicks the save button\n\n if (this.product.variants?.length) {\n this.product.variants.forEach((x) => {\n this.variantList.push({ ...x });\n // this.tempVariantList.push({ ...x });\n this.tempVariantList = helpers.deepCopy(this.variantList);\n });\n }\n if (this.product.skus?.length) {\n this.product.skus.forEach((x) => {\n this.skuList.push({ ...x });\n });\n }\n },\n methods: {\n ...mapMutations('product', ['setCurrentProductVariants']),\n goBack() {\n if (this.showOptions) {\n this.showOptions = false;\n this.tempVariantList = helpers.deepCopy(this.variantList);\n return;\n }\n\n this.$emit('backNavigationRequested');\n },\n commitChanges() {\n if (!this.showOptions) {\n this.$emit('saveVariations', {\n variants: this.variantList,\n skus: this.skuList\n });\n this.showOptions = false;\n return;\n }\n\n //Commit the changes to the store for potential final save later to the DB\n // Find any variants that were removed or variant options that are used on the skus\n for (let key = 0; key < this.variantList.length; key++) {\n const originalVariant = this.variantList[key];\n const tempV = this.tempVariantList.find(\n (x) =>\n x.label.toString().toLocaleLowerCase() ===\n originalVariant.label.toString().toLocaleLowerCase()\n );\n if (tempV) {\n // This variant exists still so check if all of the options are still in existence\n for (let index = 0; index < originalVariant.options.length; index++) {\n const opt = originalVariant.options[index];\n if (\n !tempV.options.some(\n (t) =>\n t.label.toString().toLocaleLowerCase() ===\n opt.label.toString().toLocaleLowerCase()\n )\n ) {\n // Then remove those properties from the skus\n const name = originalVariant.label.toString().toLocaleLowerCase();\n const value = opt.label.toString().toLocaleLowerCase();\n this.skuList\n .filter((s) => s[name] === value)\n .forEach((s) => delete s[name]);\n }\n }\n }\n }\n\n this.variantList = [];\n this.tempVariantList.forEach((x) => this.variantList.push({ ...x }));\n\n this.showOptions = false;\n this.tempVariantList = helpers.deepCopy(this.variantList);\n },\n\n // These methods are for managing the skus\n getOptions(sku: TagSku): { key: TagVariant; value: number | string }[] {\n if (!this.variantList.length) {\n return [];\n }\n // Build an array from the variant options and set the values from the provided sku\n return this.variantList.map((x) => {\n const option = { key: x, value: sku[x.name] };\n return option;\n });\n },\n skuVariantSelectOptions(id: string) {\n let variant = this.variantList.find((x) => x.name === id);\n if (!variant) {\n variant = this.variantList.find(\n (x) => x.label?.toLocaleLowerCase() === id\n );\n }\n\n // Build the select options array for the\n const options = variant?.options\n ? variant.options.map((opt) => {\n return {\n name: opt.label,\n value: opt.name\n ? opt.name\n : opt.label.toString().toLocaleLowerCase()\n };\n })\n : [];\n\n // Add a default empty value\n options.push({\n name: '-',\n value: ''\n });\n\n return options;\n },\n addSku() {\n const sku: TagSku = {\n id: '',\n imageUrl: this.skuList.length\n ? this.skuList[this.skuList.length - 1].imageUrl || ''\n : this.product.imageUrl || '',\n sku: '000' + this.skuList.length,\n price: this.skuList.length\n ? this.skuList[0].price || '0.00'\n : this.product.price,\n quantity: 999\n };\n\n if (this.variantList.length > 0) {\n this.variantList.forEach((variant: TagVariant) => {\n const name = variant.name || variant.label?.toLocaleLowerCase();\n sku[name] = '';\n });\n }\n\n this.skuList.push(sku);\n },\n removeSku(sku: TagSku) {\n const index = this.skuList.indexOf(sku);\n this.skuList.splice(index, 1);\n },\n // The following methods are for managing the variant options\n addVariant() {\n // Save the option values\n const order = this.tempVariantList.length + 1;\n\n // Add this variant to the options array\n this.tempVariantList.push({\n id: helpers.getTemporaryId(),\n name: '',\n label: '',\n order,\n isLocked: false,\n options: []\n });\n },\n addVariantOption(keyword: Keyword, key: number) {\n const order = this.tempVariantList[key].options.length + 1;\n\n const variantOption = {\n id: helpers.getTemporaryId(),\n name: keyword.label.toString().toLocaleLowerCase(),\n label: keyword.label.toString(),\n order,\n isLocked: false\n };\n\n this.tempVariantList[key].options.push(variantOption);\n\n // Lock the parent variant\n this.tempVariantList[key].isLocked = true;\n },\n removeVariantOption(index: number, key: number) {\n this.tempVariantList[key].options.splice(index, 1);\n },\n removeVariant(variant: TagVariant, index: number) {\n // Remove Variant key/value from each sku\n this.tempVariantList.splice(index, 1);\n }\n }\n});\n","import { render } from \"./ProductEditVariations.vue?vue&type=template&id=3b5cbef8&scoped=true&ts=true\"\nimport script from \"./ProductEditVariations.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductEditVariations.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductEditVariations.vue?vue&type=style&index=0&id=3b5cbef8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3b5cbef8\"]])\n\nexport default __exports__","\nimport { TagType } from '@/../enums/tagType';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport { TagDetail, TagSku, TagVariant } from '@/../models/tag';\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapActions, mapMutations } from 'vuex';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\nimport {\n PopupMessageTitles,\n PopupMessageStrings,\n PopupMessageButtonCaptions\n} from '@/common/PopupComponent/PopupMessages';\nimport ProductEditAttributions from '@/seller/products/ProductEditAttributions.vue';\nimport ProductEditVariations from '@/seller/products/ProductEditVariations.vue';\nimport { Attribution } from '@/models/firebase/product';\nimport { AccountObject } from '@/models/accountObject';\n\nenum ProductEditStatus {\n EditProduct,\n AddEditVariations,\n AddEditAttribution\n}\n\nexport default defineComponent({\n name: 'ProductEdit',\n components: {\n ConfirmComponent,\n ProductEditAttributions,\n ProductEditVariations\n },\n async beforeRouteLeave() {\n if (this.originalValue === JSON.stringify(this.product)) {\n return true;\n } else {\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmed = await confirmation.show(\n PopupMessageTitles.UNSAVED_CHANGES,\n PopupMessageStrings.UNSAVED_CHANGES,\n PopupMessageButtonCaptions.DISCARD_CHANGES\n );\n\n return confirmed;\n }\n },\n data() {\n return {\n ProductEditStatus,\n originalValue: '',\n hasVariations: false,\n noVariantionsQuantity: 0,\n saveButtonState: ButtonLoadingState.initial,\n productEditState: ProductEditStatus.EditProduct\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n product: 'product/currentProduct'\n }),\n notConnectedToStripe(): boolean {\n return !(this.currentAccount as AccountObject).isStripeConnected;\n },\n readyToSell: {\n set(val: boolean) {\n this.product.disabled = !val;\n },\n get(): boolean {\n return !this.product.disabled;\n }\n },\n canSave(): boolean {\n let results = true;\n if (this.hasVariations) {\n results = this.product.variants?.length > 0;\n } else {\n const tag = this.product as TagDetail;\n results = tag?.price\n ? parseFloat(tag?.price.toString().replace('$', '')) > 0.99\n : false;\n }\n return results;\n }\n },\n watch: {\n noVariantionsQuantity(newValue: number) {\n if (!this.product.skus.length) {\n const tagSku: TagSku = {\n id: '',\n imageUrl: this.product.imageUrl,\n sku: '00000',\n price: this.product.price,\n quantity: newValue\n };\n this.product.skus = [tagSku];\n } else {\n this.product.skus[0].quantity = newValue;\n }\n }\n },\n created() {\n this.originalValue = JSON.stringify(this.product);\n },\n async mounted() {\n this.setLoading({ isLoading: true, message: 'Loading product details' });\n\n if (!this.$route.params.productId && !this.product) {\n const newProduct: TagDetail = {\n accountId: this.currentAccount?.accountId,\n imageUrl: require('../../assets/default-product.jpg'),\n productId: '',\n hashtag: '',\n title: '',\n productSource: ProductSource.Boost,\n type: TagType.PRODUCT,\n totalSales: 0,\n quantitySold: 0,\n enableMarketplace: true,\n savedForLaterCount: 0,\n isFeatured: false,\n attributions: [],\n chargeTax: false,\n hideProduct: false,\n variants: [],\n description: '',\n skus: [],\n keywords: [],\n price: '',\n shippingCharge: 0,\n disabled: true,\n parcel: {\n weight: 0,\n height: 0,\n length: 0,\n width: 0\n }\n };\n store.commit('product/setCurrentProduct', newProduct);\n } else if (this.$route.params.productId && !this.product) {\n const payload = {\n productId: this.$route.params.productId,\n accountId: this.currentAccount.accountId\n };\n\n await this.setupCurrentProduct(payload);\n }\n\n this.hasVariations = this.product?.variants?.length > 0;\n if (!this.hasVariations && this.product?.skus?.length) {\n this.noVariantionsQuantity = this.product.skus[0].quantity;\n }\n\n this.setLoading(false);\n },\n methods: {\n ...mapActions('product', ['saveCurrentProductToDb', 'setupCurrentProduct']),\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('product', [\n 'setCurrentProductAttributions',\n 'setCurrentProductVariants'\n ]),\n async commitChanges() {\n this.saveButtonState = ButtonLoadingState.loading;\n //Have to deal with No variations product and setup the sku with the quantity\n if (!this.hasVariations) {\n if (!this.product.skus?.length) {\n const tagSku: TagSku = {\n id: '',\n imageUrl: this.product.imageUrl,\n sku: '00000',\n price: this.product.price,\n quantity: this.noVariantionsQuantity\n };\n this.product.skus = [tagSku];\n } else {\n this.product.skus[0].quantity = this.noVariantionsQuantity;\n this.product.skus[0].sku = '00000';\n this.product.skus[0].price = this.product.price;\n this.product.skus[0].imageUrl = this.product.imageUrl;\n this.product.skus.length = 1;\n this.product.variants = [];\n }\n }\n\n await this.saveCurrentProductToDb();\n this.saveButtonState = ButtonLoadingState.complete;\n this.originalValue = JSON.stringify(this.product);\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId: this.product.productId }\n });\n },\n goBack() {\n //TODO: Need to make sure that the changes are abandonded and the current product is reloaded\n const productId = this.product?.productId;\n if (productId) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n } else {\n this.$router.push({ name: 'seller-products' });\n }\n },\n editAttribution() {\n this.productEditState = ProductEditStatus.AddEditAttribution;\n },\n editVariations() {\n this.productEditState = ProductEditStatus.AddEditVariations;\n },\n handleSaveAttributions(attributions: Attribution[]) {\n this.setCurrentProductAttributions(attributions);\n this.productEditState = ProductEditStatus.EditProduct;\n },\n handleSaveVariations({\n variants,\n skus\n }: {\n variants: TagVariant[];\n skus: TagSku[];\n }) {\n this.setCurrentProductVariants({\n variants,\n skus\n });\n this.hasVariations = this.product?.variants?.length > 0;\n this.productEditState = ProductEditStatus.EditProduct;\n }\n }\n});\n","import { render } from \"./ProductEdit.vue?vue&type=template&id=d74bb7a6&scoped=true&ts=true\"\nimport script from \"./ProductEdit.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductEdit.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductEdit.vue?vue&type=style&index=0&id=d74bb7a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d74bb7a6\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapActions, mapMutations } from 'vuex';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n Attribution,\n AttributionType,\n AttributionStatus\n} from '@/../models/firebase/product';\nimport Helpers from '@/helpers';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\nimport {\n PopupMessageTitles,\n PopupMessageStrings,\n PopupMessageButtonCaptions\n} from '@/common/PopupComponent/PopupMessages';\nimport ProductEditAttributions from '@/seller/products/ProductEditAttributions.vue';\nimport { AccountObject } from '@/models/accountObject';\n\nenum ProductEditStatus {\n EditProduct,\n AddEditAttribution\n}\n\nexport default defineComponent({\n name: 'ProductEditShopify',\n components: {\n ConfirmComponent,\n ProductEditAttributions\n },\n async beforeRouteLeave() {\n if (this.originalValue === JSON.stringify(this.product)) {\n return true;\n } else {\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmed = await confirmation.show(\n PopupMessageTitles.UNSAVED_CHANGES,\n PopupMessageStrings.UNSAVED_CHANGES,\n PopupMessageButtonCaptions.DISCARD_CHANGES\n );\n\n return confirmed;\n }\n },\n data() {\n return {\n ProductEditStatus,\n productEditState: ProductEditStatus.EditProduct,\n originalValue: '',\n AttributionStatus,\n hasVariations: false,\n noVariantionsQuantity: 0,\n saveButtonState: ButtonLoadingState.initial,\n columns: [\n {\n id: 'icon',\n label: ''\n },\n {\n id: 'name',\n label: 'Name/Location'\n },\n {\n id: 'attributionType',\n label: 'Type'\n },\n {\n id: 'sold',\n label: 'Sold'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'conversion',\n label: 'Conversion'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu',\n label: ''\n }\n ] as ColumnItem[],\n menuItems: [\n {\n label: 'Download QR',\n onClick: (row) => {\n this.downloadAttributionQR(row);\n }\n },\n {\n label: 'Copy Link',\n onClick: (row) => {\n this.getAttributionLink(row);\n }\n },\n {\n label: 'Copy SMS',\n onClick: (row) => {\n this.copyAttributionSMS(row);\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n product: 'product/currentProduct'\n }),\n notConnectedToStripe(): boolean {\n return !(this.currentAccount as AccountObject).isStripeConnected;\n },\n readyToSell: {\n set(val: boolean) {\n this.product.disabled = !val;\n },\n get(): boolean {\n return !this.product.disabled;\n }\n },\n productTypeImageUrl(): string {\n if (this.product) {\n if (this.product.shopifyShareEarn && this.product.shopifySaveForLater) {\n return require('@/assets/multi-app-icon.svg');\n }\n if (this.product.shopifySaveForLater) {\n return require('@/assets/later_icon.svg');\n }\n if (this.product.shopifyShareEarn) {\n return require('@/assets/share-icon.svg');\n }\n }\n\n return '';\n }\n },\n created() {\n this.originalValue = JSON.stringify(this.product);\n },\n async mounted() {\n if (this.$route.params.productId && !this.product) {\n const payload = {\n productId: this.$route.params.productId,\n accountId: this.currentAccount.accountId\n };\n\n this.setLoading({ isLoading: true, message: 'Loading product details' });\n await this.setupCurrentProduct(payload);\n this.setLoading(false);\n }\n },\n methods: {\n ...mapActions('product', ['saveCurrentProductToDb', 'setupCurrentProduct']),\n ...mapMutations('global', ['setBannerStatus', 'setLoading']),\n ...mapMutations('product', ['setCurrentProductAttributions']),\n async commitChanges() {\n this.saveButtonState = ButtonLoadingState.loading;\n await this.saveCurrentProductToDb();\n\n this.saveButtonState = ButtonLoadingState.complete;\n this.originalValue = JSON.stringify(this.product);\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId: this.product.productId }\n });\n },\n goBack() {\n //TODO: Need to make sure that the changes are abandonded and the current product is reloaded\n const productId = this.product?.productId;\n if (productId) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n } else {\n this.$router.push({ name: 'seller-products' });\n }\n },\n editAttribution() {\n this.productEditState = ProductEditStatus.AddEditAttribution;\n },\n getAttributionTag(attribution: Attribution): string {\n return (\n Helpers.formatHashTag(this.product?.hashtag || '') +\n attribution.identifier\n );\n },\n getAttributionType(attribution: Attribution): string {\n return AttributionType[attribution.type];\n },\n async downloadAttributionQR(attribution: Attribution) {\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: this.product?.productId,\n accountId: this.product?.accountId,\n attributionIdentifier: attribution.identifier\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${this.product?.hashtag}${attribution.identifier}.png`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n },\n async getAttributionLink(attribution: Attribution) {\n await navigator.clipboard.writeText(\n `${window.location.origin}/buy/${Helpers.formatHashTag(\n this.product?.hashtag\n )}/${attribution.identifier}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n async copyAttributionSMS(attribution: Attribution) {\n await navigator.clipboard.writeText(\n `${this.product?.hashtag}${attribution.identifier}`\n );\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_COPIED_CLIPBOARD,\n type: BannerType.success\n });\n },\n handleSaveAttributions(attributions: Attribution[]) {\n this.setCurrentProductAttributions(attributions);\n this.productEditState = ProductEditStatus.EditProduct;\n }\n }\n});\n","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1b52d254\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"flex align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"margin-left-2\" }, \"Back to Product\", -1))\nconst _hoisted_5 = { class: \"t-12 nopad flex shoppify-info flex-wrap\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" To edit other details for this product, please visit your Shopify dashboard. \", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us/articles/5475743760023-Connecting-Shopify\" }, \"Learn more\", -1))\nconst _hoisted_9 = { novalidate: \"\" }\nconst _hoisted_10 = { class: \"t-12 no-pad bottom-border padding-bottom-4\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"pill pill-positive\"\n}\nconst _hoisted_12 = {\n key: 1,\n class: \"pill pill-pending\"\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Create versions of Tags for your products to track sales across marketing channels. \", -1))\nconst _hoisted_14 = { key: 0 }\nconst _hoisted_15 = [\"src\"]\nconst _hoisted_16 = { key: 1 }\nconst _hoisted_17 = { key: 2 }\nconst _hoisted_18 = { key: 3 }\nconst _hoisted_19 = { key: 4 }\nconst _hoisted_20 = { key: 5 }\nconst _hoisted_21 = { key: 6 }\nconst _hoisted_22 = {\n key: 7,\n class: \"flex justify--end\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostViewOnlyImage = _resolveComponent(\"BoostViewOnlyImage\")!\n const _component_BoostToggle = _resolveComponent(\"BoostToggle\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n const _component_ProductEditAttributions = _resolveComponent(\"ProductEditAttributions\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.productEditState === _ctx.ProductEditStatus.EditProduct)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"Go back arrow\"\n }, null, 8, _hoisted_3)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _hoisted_4\n ])),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n src: require('../../assets/shopify.svg'),\n alt: \"Shopify logo\",\n title: \"Shopify Product\"\n }, null, 8, _hoisted_6),\n _hoisted_7\n ]),\n _hoisted_8\n ]),\n (_ctx.product)\n ? (_openBlock(), _createBlock(_component_validation_observer, {\n key: 0,\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap no-pad\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"form\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostViewOnlyImage, {\n title: _ctx.product.title,\n \"image-url\": _ctx.product.imageUrl,\n \"type-image-url\": _ctx.productTypeImageUrl,\n class: \"standard-margins\"\n }, {\n pills: _withCtx(() => [\n (!_ctx.product.disabled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \"Active\"))\n : _createCommentVNode(\"\", true),\n (_ctx.product.disabled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, \"Inactive\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"image-url\", \"type-image-url\"])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100 bottom-border\",\n title: \"Product Information\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.readyToSell,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.readyToSell) = $event)),\n disabled: _ctx.notConnectedToStripe,\n \"input-id\": \"disabled-toggle\",\n label: \n 'This product is available and ready to sell' +\n (_ctx.notConnectedToStripe ? ' (Stripe connection required)' : '')\n \n }, null, 8, [\"modelValue\", \"disabled\", \"label\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.chargeTax,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.product.chargeTax) = $event)),\n \"input-id\": \"charge-tax-toggle\",\n label: \"Apply tax to this product(s)\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.enableMarketplace,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.product.enableMarketplace) = $event)),\n \"input-id\": \"enable-marketplace-toggle\",\n label: \"Enable Marketplace\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.shopifySaveForLater,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.product.shopifySaveForLater) = $event)),\n disabled: _ctx.notConnectedToStripe,\n \"input-id\": \"shopify-save-for-later-toggle\",\n label: \n 'Enable Later App' +\n (_ctx.notConnectedToStripe ? ' (Stripe connection required)' : '')\n \n }, null, 8, [\"modelValue\", \"disabled\", \"label\"]),\n _createVNode(_component_BoostToggle, {\n modelValue: _ctx.product.shopifyShareEarn,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.product.shopifyShareEarn) = $event)),\n disabled: _ctx.notConnectedToStripe,\n \"input-id\": \"shopify-share-earn-toggle\",\n label: \n 'Enable Share App' +\n (_ctx.notConnectedToStripe ? ' (Stripe connection required)' : '')\n \n }, null, 8, [\"modelValue\", \"disabled\", \"label\"])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n class: \"w-100\",\n title: \"Attribution\",\n \"is-compact\": true,\n \"is-full-width\": true,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_13,\n _createVNode(_component_BoostButton, {\n label: \n _ctx.product.attributions?.length\n ? 'Edit Attribution'\n : 'Add Attribution'\n ,\n \"button-style\": \n _ctx.product.attributions?.length ? 'optional' : 'primary'\n ,\n class: \"margin-bottom-0\",\n type: \"button\",\n onClick: _ctx.editAttribution\n }, null, 8, [\"label\", \"button-style\", \"onClick\"])\n ]),\n _: 1\n }),\n (_ctx.product?.attributions?.length)\n ? (_openBlock(), _createBlock(_component_BoostTable, {\n key: 0,\n \"hide-footer\": true,\n \"hide-arrow\": true,\n rows: _ctx.product.attributions,\n columns: _ctx.columns,\n \"image-first\": true,\n \"has-context-menu\": \"\",\n \"hide-overflow\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'icon')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, [\n _createElementVNode(\"img\", {\n src: require('../../assets/flag.svg'),\n alt: \"Attribution icon\"\n }, null, 8, _hoisted_15)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(data.row.name), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'attributionType')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, _toDisplayString(_ctx.getAttributionType(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'sold')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString(data.row.sold), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_19, _toDisplayString(data.row.revenue), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'conversion')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(data.row.conversion), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill\", {\n 'pill-positive': data.row.status === _ctx.AttributionStatus.Active,\n 'pill-pending': data.row.status === _ctx.AttributionStatus.Inactive\n }])\n }, _toDisplayString(_ctx.AttributionStatus[data.row.status]), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_22, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.saveButtonState,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"loading-state\", \"onClick\"])\n ]))\n ])\n ]),\n _: 1\n }, 512))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.productEditState === _ctx.ProductEditStatus.AddEditAttribution)\n ? (_openBlock(), _createBlock(_component_ProductEditAttributions, {\n key: 1,\n product: _ctx.product,\n onBackNavigationRequested: _cache[5] || (_cache[5] = ($event: any) => (\n _ctx.productEditState = _ctx.ProductEditStatus.EditProduct\n )),\n onSaveAttributions: _ctx.handleSaveAttributions\n }, null, 8, [\"product\", \"onSaveAttributions\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, null, 512)\n ], 64))\n}","import { render } from \"./ProductEdit-Shopify.vue?vue&type=template&id=1b52d254&scoped=true&ts=true\"\nimport script from \"./ProductEdit-Shopify.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductEdit-Shopify.vue?vue&type=script&lang=ts\"\n\nimport \"./ProductEdit-Shopify.vue?vue&type=style&index=0&id=1b52d254&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1b52d254\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-920144c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-wrap justify--center\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 1,\n class: \"t-6 no-pad\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Create an account\")\n], -1))\nconst _hoisted_5 = { class: \"t-12\" }\nconst _hoisted_6 = { class: \"t-12\" }\nconst _hoisted_7 = [\"onSubmit\"]\nconst _hoisted_8 = { class: \"flex input-set\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.$route.name === 'deny-invitation')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, \"Denied!!!!\"))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.sellerName) + \" has added you to their account. To log in to the account you will need to set a password. \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_validation_observer, { tag: \"div\" }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.completeRegistration)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newUser.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.newUser.firstName) = $event)),\n rules: \"required\",\n label: \"First name\",\n \"input-id\": \"user-first-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newUser.lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.newUser.lastName) = $event)),\n rules: \"required\",\n label: \"Last name\",\n \"input-id\": \"user-last-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newUser.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.newUser.email) = $event)),\n label: \"Email address\",\n rules: \"required\",\n disabled: true,\n \"input-id\": \"user-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newUser.password,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.newUser.password) = $event)),\n rules: \"required\",\n label: \"Password\",\n type: \"password\",\n \"input-id\": \"user-password\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.newUser.passwordConfirm,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.newUser.passwordConfirm) = $event)),\n rules: \"required\",\n label: \"Confirm Password\",\n type: \"password\",\n \"input-id\": \"user-password-confirm\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n label: \"Complete Registration\",\n class: \"w-100\",\n \"button-style\": \"primary\",\n type: \"submit\",\n disabled: \n !meta.valid || _ctx.newUser.password != _ctx.newUser.passwordConfirm\n \n }, null, 8, [\"disabled\"])\n ], 40, _hoisted_7)\n ]),\n _: 1\n })\n ])\n ]))\n ]))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\n\nexport default defineComponent({\n name: 'SellerUserInvitation',\n data() {\n return {\n sellerName: '',\n accountId: '',\n code: '',\n newUser: {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n passwordConfirm: ''\n }\n };\n },\n computed: {\n ...mapGetters({\n getBrandName: 'global/getBrandName',\n isBuyerLoggedIn: 'auth/isBuyerLoggedIn',\n isSellerLoggedIn: 'auth/isSellerLoggedIn'\n })\n },\n async mounted() {\n // If the user is logged in, log them out automatically\n if (this.isBuyerLoggedIn || this.isSellerLoggedIn) {\n await this.$store.dispatch('auth/signOut');\n }\n this.setLoading(true);\n this.setBrandInformation({\n brandName: '',\n logoUrl: require('../assets/boost-logo-sm.svg')\n });\n this.accountId = this.$route.query.a as string;\n this.code = this.$route.query.b as string;\n const email = (this.$route.query.c as string) || '';\n this.newUser.email = atob(email);\n const results = await FirebaseRequest.createRequest<{\n seller: { name: string };\n }>(FirebaseRequestTypes.VALIDATE_SELLER_INVITE, {\n accountId: this.accountId,\n email: email,\n code: this.code\n });\n this.sellerName = results.data?.seller.name || '';\n this.setLoading(false);\n if (this.$route.name === 'deny-invitation') {\n await this.denyInvitation();\n }\n },\n methods: {\n ...mapMutations('global', [\n 'setBannerStatus',\n 'setBrandInformation',\n 'setLoading'\n ]),\n async completeRegistration() {\n this.setLoading(true);\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.ACCEPT_SELLER_USER_INVITE,\n {\n accountId: this.accountId,\n email: this.newUser.email,\n code: this.code,\n lastName: this.newUser.lastName,\n firstName: this.newUser.firstName,\n password: this.newUser.password,\n command: 'accept'\n }\n );\n if (results.status === APIResponseStatus.OK) {\n // Go to login page\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.info\n });\n this.setBrandInformation(null);\n await this.$router.push({ path: '/login' });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n async denyInvitation() {\n this.setLoading(true);\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.ACCEPT_SELLER_USER_INVITE,\n {\n accountId: this.accountId,\n email: this.newUser.email,\n code: this.code,\n lastName: '',\n firstName: '',\n password: '',\n command: 'deny'\n }\n );\n this.setBrandInformation(null);\n this.setLoading(false);\n await this.$router.push({ path: '/login' });\n }\n }\n});\n","import { render } from \"./SellerUserInvitation.vue?vue&type=template&id=920144c4&scoped=true&ts=true\"\nimport script from \"./SellerUserInvitation.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerUserInvitation.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerUserInvitation.vue?vue&type=style&index=0&id=920144c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-920144c4\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3f68883e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-wrap justify--center\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 1,\n class: \"t-6 no-pad\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.$route.name === 'deny-transfer')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, \"Denied!!!\"))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, \"Accepted!!!\"))\n ]))\n}","\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport { defineComponent } from 'vue';\nimport { mapMutations } from 'vuex';\n\nexport default defineComponent({\n name: 'SellerTransferOwnership',\n async mounted() {\n this.setLoading(true);\n this.setBrandInformation({\n brandName: '',\n logoUrl: require('../assets/boost-logo-sm.svg')\n });\n const accountId = this.$route.query.a as string;\n const code = this.$route.query.b as string;\n const email = (this.$route.query.c as string) || '';\n const decodedEmail = atob(email);\n if (\n this.$route.name === 'accept-transfer' &&\n accountId &&\n code &&\n decodedEmail\n ) {\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.ACCEPT_TRANSFER_OWNERSHIP,\n {\n accountId,\n email: decodedEmail,\n code,\n command: 'accept'\n }\n );\n }\n if (\n this.$route.name === 'deny-transfer' &&\n accountId &&\n code &&\n decodedEmail\n ) {\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.ACCEPT_TRANSFER_OWNERSHIP,\n {\n accountId,\n email: decodedEmail,\n code,\n command: 'deny'\n }\n );\n }\n\n this.setLoading(false);\n await this.$router.push({ path: '/login' });\n },\n methods: {\n ...mapMutations('global', [\n 'setBannerStatus',\n 'setBrandInformation',\n 'setLoading'\n ])\n }\n});\n","import { render } from \"./SellerTransferOwnership.vue?vue&type=template&id=3f68883e&scoped=true&ts=true\"\nimport script from \"./SellerTransferOwnership.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerTransferOwnership.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerTransferOwnership.vue?vue&type=style&index=0&id=3f68883e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3f68883e\"]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/flag.svg'\nimport _imports_1 from '../../assets/no-results.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-65741cd6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_2 = { class: \"flex flex--row flex--full-width no-pad standard-margins justify--end\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"t-6 no-pad\"\n}\nconst _hoisted_4 = { class: \"audience-menu-controls-container\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"t-12 no-pad\"\n}\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"attribution icon\"\n}, null, -1))\nconst _hoisted_8 = [\n _hoisted_7\n]\nconst _hoisted_9 = { key: 1 }\nconst _hoisted_10 = { key: 2 }\nconst _hoisted_11 = { key: 3 }\nconst _hoisted_12 = { key: 4 }\nconst _hoisted_13 = { key: 5 }\nconst _hoisted_14 = { key: 6 }\nconst _hoisted_15 = {\n key: 7,\n class: \"flex justify--end\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"t-6\",\n style: {\"margin\":\"auto\"}\n}\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" You'll be able to track and manage your attributions on this page. To learn how to attribute tags, visit our help section. \", -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://support.tagscommerce.com/hc/en-us/articles/5478445584023-Attributing-Tags\",\n target: \"_blank\"\n}, \"Learn more -->\", -1))\nconst _hoisted_21 = [\n _hoisted_17,\n _hoisted_18,\n _hoisted_19,\n _hoisted_20\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_DownloadTagsPopupComponent = _resolveComponent(\"DownloadTagsPopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _createTextVNode(\"Attributions\")\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filterOptions, (opt, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createVNode(_component_BoostButton, {\n label: opt.name,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.filter === opt.value\n }),\n onClick: ($event: any) => (_ctx.filter = opt.value)\n }, null, 8, [\"label\", \"class\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Attributions\",\n message: \"See how your attributions are performing in real-time and optimize campaigns on the go.\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.filteredData?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.secondFilter,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.secondFilter) = $event)),\n options: _ctx.filter2Options,\n \"input-id\": \"select-filter-option\"\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.sort,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.sort) = $event)),\n options: _ctx.sortOptions,\n \"input-id\": \"select-sort-option\"\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.filteredData?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_BoostTable, {\n rows: _ctx.filteredData,\n columns: _ctx.columns,\n \"hide-arrow\": \"\",\n \"has-context-menu\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _hoisted_8))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'name')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(data.row.name), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'type')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.decodeType(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'tag')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(data.row.hashtag), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'sold')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString(data.row.sold), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'revenue')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(_ctx.formatCurrency(data.row.revenue)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'conversion')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(data.row.conversion) + \"% \", 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: data.row\n }, null, 8, [\"menu\", \"entity\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_16, _hoisted_21)),\n (_ctx.showDownloadTags)\n ? (_openBlock(), _createBlock(_component_DownloadTagsPopupComponent, {\n key: 2,\n \"selected-row\": _ctx.selectedRow,\n onVisibleChange: _ctx.handlePopupVisibleChange\n }, null, 8, [\"selected-row\", \"onVisibleChange\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { mapGetters, mapMutations } from 'vuex';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n AttributionStatus,\n AttributionType\n} from '@/../models/firebase/product';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport DownloadTagsPopupComponent, {\n DownloadTagItem\n} from '@/common/DownloadTagsPopupComponent.vue';\n\ninterface AttributionItem {\n identifier: string;\n name: string;\n showDetails: boolean;\n status: AttributionStatus;\n type: AttributionType;\n sold: number;\n revenue: number;\n conversion: number;\n disabled: boolean;\n hashtag: string;\n imageUrl: string;\n productSource: string;\n productId: string;\n accountId: string;\n}\n\nexport default defineComponent({\n name: 'AttributionList',\n components: {\n DownloadTagsPopupComponent\n },\n data() {\n return {\n showDownloadTags: false,\n AttributionStatus,\n allData: [] as AttributionItem[],\n selectedRow: {} as DownloadTagItem,\n filterOptions: [\n { name: 'All', value: 'all' },\n { name: 'Active', value: 'Active' },\n { name: 'Inactive', value: 'Inactive' }\n ],\n filter: 'all',\n filter2Options: [\n { name: 'All', value: 'all' },\n { name: 'Account', value: 'Account' },\n { name: 'Advertisement', value: 'Advertisement' },\n { name: 'Influencer', value: 'Influencer' },\n { name: 'Print', value: 'Print' },\n { name: 'Packaging', value: 'Packaging' },\n { name: 'Podcast', value: 'Podcast' }\n ],\n secondFilter: 'all',\n sort: '',\n sortOptions: [\n { name: 'By Tag', value: 'tag' },\n { name: 'By Amount Sold', value: 'sold' },\n { name: 'By Revenue', value: 'revenue' },\n { name: 'By Conversion Rate', value: 'conversion' },\n { name: 'By Alphabetical Order', value: 'name' },\n { name: 'By Recently Added', value: 'new' }\n ],\n columns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'name',\n label: 'Name'\n },\n {\n id: 'type',\n label: 'Type'\n },\n {\n id: 'tag',\n label: 'Tag'\n },\n {\n id: 'sold',\n label: 'Sold'\n },\n {\n id: 'revenue',\n label: 'Revenue'\n },\n {\n id: 'conversion',\n label: 'Conversion'\n },\n {\n id: 'menu',\n label: ''\n }\n ] as ColumnItem[],\n menuItems: [\n {\n label: 'View Product',\n onClick: (row) => {\n const productId = row.productId as string;\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n }\n },\n {\n label: 'View Orders',\n onClick: (row) => {\n const hashtag = row.hashtag as string;\n this.$router.push({\n name: 'seller-orders',\n params: { hashtag }\n });\n }\n },\n {\n label: 'Download Tags',\n onClick: (row) => {\n this.downloadEventHandler(row);\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n getSearchText: 'global/getSearchText',\n productSource: 'accounts/selectedFeatureTypeId'\n }),\n filteredData(): AttributionItem[] {\n return this.allData\n .filter((x) => x.productSource === this.productSource)\n .filter(\n (x) =>\n this.filter === 'all' ||\n x.status ===\n AttributionStatus[this.filter as keyof typeof AttributionStatus]\n )\n .filter(\n (x) =>\n this.secondFilter === 'all' ||\n x.type ===\n AttributionType[this.secondFilter as keyof typeof AttributionType]\n )\n .filter(\n (x) =>\n !this.getSearchText ||\n x.hashtag\n .toLocaleLowerCase()\n .includes(this.getSearchText.toLocaleLowerCase()) ||\n x.name\n .toLocaleLowerCase()\n .includes(this.getSearchText.toLocaleLowerCase())\n )\n .sort((a: AttributionItem, b: AttributionItem) => {\n let sortResult = 0;\n if (!this.sort) return sortResult;\n switch (this.sort) {\n case 'tag':\n sortResult = a.hashtag.localeCompare(b.hashtag);\n break;\n case 'sold':\n sortResult = b.sold - a.sold;\n break;\n case 'name':\n sortResult = a.name.localeCompare(b.name);\n break;\n case 'revenue':\n sortResult = b.revenue - a.revenue;\n break;\n case 'conversion':\n sortResult = b.conversion - a.conversion;\n break;\n default:\n break;\n }\n return sortResult;\n });\n }\n },\n async mounted() {\n if (this.currentAccount === null) {\n return;\n }\n await this.getData();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n handlePopupVisibleChange(show: boolean) {\n this.showDownloadTags = show;\n },\n downloadEventHandler(tag: DownloadTagItem) {\n this.selectedRow = tag;\n this.showDownloadTags = true;\n },\n decodeStatus(row: AttributionItem): string {\n return row.status === AttributionStatus.Inactive ? 'Inactive' : 'Active';\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n decodeType(row: AttributionItem): string {\n let results = '';\n switch (row.type) {\n case AttributionType.Account:\n results = 'Account';\n break;\n case AttributionType.Advertisement:\n results = 'Advertisement';\n break;\n case AttributionType.Audio:\n results = 'Audio';\n break;\n case AttributionType.Influencer:\n results = 'Influencer';\n break;\n case AttributionType.Magazine:\n results = 'Magazine';\n break;\n case AttributionType.Newspaper:\n results = 'Newspaper';\n break;\n case AttributionType.Packaging:\n results = 'Packaging';\n break;\n case AttributionType.Print:\n results = 'Print';\n break;\n case AttributionType.Podcast:\n results = 'Podcast';\n break;\n default:\n break;\n }\n return results;\n },\n async getData() {\n this.setLoading(true);\n try {\n const payload = { accountId: this.currentAccount.accountId };\n const responseData = await FirebaseRequest.createRequest<\n AttributionItem[]\n >(FirebaseRequestTypes.GET_SELLER_ATTRIBUTION_LIST, payload);\n\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n this.allData = responseData.data;\n }\n } catch (err) {\n console.error(err);\n }\n this.setLoading(false);\n }\n }\n});\n","import { render } from \"./AttributionList.vue?vue&type=template&id=65741cd6&scoped=true&ts=true\"\nimport script from \"./AttributionList.vue?vue&type=script&lang=ts\"\nexport * from \"./AttributionList.vue?vue&type=script&lang=ts\"\n\nimport \"./AttributionList.vue?vue&type=style&index=0&id=65741cd6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-65741cd6\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2e807f7c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"divider\" }, \"|\", -1))\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_GeneralAnalytics = _resolveComponent(\"GeneralAnalytics\")!\n const _component_LaterAnalytics = _resolveComponent(\"LaterAnalytics\")!\n const _component_ShareAnalytics = _resolveComponent(\"ShareAnalytics\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.primaryTabs, (tab) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: tab.name\n }, [\n _createVNode(_component_BoostButton, {\n label: tab.name,\n \"button-style\": \"pill\",\n class: _normalizeClass([\"pill\", _ctx.selectedTab === tab.name ? 'pill-blue' : 'pill-white']),\n disabled: tab.disabled,\n onClick: ($event: any) => (_ctx.selectedTab = tab.name)\n }, null, 8, [\"label\", \"class\", \"disabled\", \"onClick\"])\n ]))\n }), 128)),\n (_ctx.secondaryTabs.length > 0)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_1, _hoisted_3))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.secondaryTabs, (tab) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: tab.name\n }, [\n _createVNode(_component_BoostButton, {\n label: tab.name,\n \"button-style\": \"pill\",\n class: _normalizeClass([\"pill\", _ctx.selectedTab === tab.name ? 'pill-blue' : 'pill-white']),\n disabled: tab.disabled,\n onClick: ($event: any) => (_ctx.selectedTab = tab.name)\n }, null, 8, [\"label\", \"class\", \"disabled\", \"onClick\"])\n ]))\n }), 128))\n ])\n ])),\n (_ctx.selectedTab === 'General')\n ? (_openBlock(), _createBlock(_component_GeneralAnalytics, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedTab === 'Later')\n ? (_openBlock(), _createBlock(_component_LaterAnalytics, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedTab === 'Share')\n ? (_openBlock(), _createBlock(_component_ShareAnalytics, { key: 2 }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9c159832\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-bottom-6\" }, \" View the detailed breakdown of how your Tags are performing in real-time. \", -1))\nconst _hoisted_2 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_3 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_4 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"flex flex--wrap no-pad top-border bottom-border\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Analytics\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n type: \"button\",\n class: \"btn-form\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.refresh()))\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cards, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-stat',\n class: \"t-3 border-right\",\n title: card.title,\n message: card.message?.toString()\n }, null, 8, [\"title\", \"message\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsOne, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsTwo, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n (_ctx.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsThree, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters, mapMutations } from 'vuex';\nimport helpers from '@/helpers';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\ninterface AnalyticData {\n tagCount: number;\n grossRevenue: number;\n audienceCount: number;\n conversionRate: number;\n checkouts: {\n mostPopular: string;\n percents: { name: string; value: string }[];\n };\n sessions: {\n total: string;\n counts: { name: string; value: string }[];\n };\n average: {\n average: number;\n details: { name: string; value: string }[];\n };\n returningCustomers: {\n rate: string;\n details: { name: string; value: string }[];\n };\n savedForLater: {\n total: string;\n counts: { name: string; value: string }[];\n };\n}\n\nexport default defineComponent({\n name: 'GeneralAnalytics',\n data() {\n return {\n cards: [\n {\n title: 'Gross Revenue',\n message: '$0.00'\n },\n {\n title: 'Conversion',\n message: '0.00%'\n },\n {\n title: 'Tags',\n message: '0'\n },\n {\n title: 'Audience',\n message: '0'\n }\n ],\n detailedCardsOne: [\n {\n title: 'Most Popular Checkout Method',\n message: '',\n summary:\n 'Showing breakdown of the various checkout methods in (%). The order is defined by highest to lowest.',\n details: [\n { name: 'Link to Checkout', value: '0%' },\n { name: 'QR to Checkout', value: '0%' },\n { name: 'SMS to Checkout', value: '0%' }\n ]\n },\n {\n title: 'Total Checkout Sessions',\n message: '0',\n summary:\n 'Showing breakdown of Total Sessions by stage reached at the checkout page.',\n details: [\n { name: 'Successful', value: '0' },\n { name: 'Unfinished', value: '0' }\n ]\n }\n ],\n detailedCardsTwo: [\n {\n title: 'Returning Customer Rate',\n message: '0%',\n summary:\n 'Showing % breakdown of returning customers by number of products purchased.',\n details: [\n { name: '5+ Purchases', value: '0%' },\n { name: '2+ Purchases', value: '0%' },\n { name: 'Single Purchase', value: '0%' }\n ]\n },\n {\n title: 'Average Order Value',\n message: '$0',\n summary:\n 'Showing breakdown of Average Order Value from highest to lowest purchase amount.',\n details: [\n { name: 'Highest Purchase Amount', value: '$0' },\n { name: 'Lowest Purchase Amount', value: '$0' }\n ]\n }\n ],\n detailedCardsThree: [\n {\n title: 'Saved for Later',\n message: '0',\n summary:\n 'Showing breakdown of existing and new customers that have saved a product to purchase later using the Shopify Integration.',\n details: [\n { name: 'Existing Customers', value: '0' },\n { name: 'New Customers', value: '0' }\n ]\n }\n ]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n async mounted() {\n await this.refresh();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async refresh() {\n this.setLoading(true);\n try {\n const payload = {\n accountId: this.currentAccount.accountId,\n productSource: this.productSource\n };\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_ANALYTICS,\n payload\n );\n\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n this.cards[0].message = helpers.currencyFormatter(\n responseData.data.grossRevenue\n );\n this.cards[1].message =\n responseData.data.conversionRate.toLocaleString() + '%';\n this.cards[2].message = responseData.data.tagCount.toLocaleString();\n this.cards[3].message =\n responseData.data.audienceCount.toLocaleString();\n\n this.detailedCardsOne[0].details =\n responseData.data.checkouts.percents;\n this.detailedCardsOne[0].message =\n responseData.data.checkouts.mostPopular;\n\n this.detailedCardsOne[1].details = responseData.data.sessions.counts;\n this.detailedCardsOne[1].message =\n responseData.data.sessions.total.toString();\n\n this.detailedCardsTwo[0].details =\n responseData.data.returningCustomers.details;\n this.detailedCardsTwo[0].message =\n responseData.data.returningCustomers.rate;\n\n this.detailedCardsTwo[1].details = responseData.data.average.details;\n this.detailedCardsTwo[1].message = helpers.currencyFormatter(\n responseData.data.average.average\n );\n\n this.detailedCardsThree[0].details =\n responseData.data.savedForLater.counts;\n this.detailedCardsThree[0].message =\n responseData.data.savedForLater.total;\n }\n } catch (err) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n console.error(err);\n }\n this.setLoading(false);\n }\n }\n});\n","import { render } from \"./GeneralAnalytics.vue?vue&type=template&id=9c159832&scoped=true&ts=true\"\nimport script from \"./GeneralAnalytics.vue?vue&type=script&lang=ts\"\nexport * from \"./GeneralAnalytics.vue?vue&type=script&lang=ts\"\n\nimport \"./GeneralAnalytics.vue?vue&type=style&index=0&id=9c159832&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9c159832\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-43246fd5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-bottom-6\" }, \" View information on how the Later app performs on your product pages in real-time. \", -1))\nconst _hoisted_2 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_3 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" Exporting data: \"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Product, Date, Phone Number, Customer Status\")\n ])\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Later Analytics\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n type: \"button\",\n class: \"margin-right-2\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.refresh()))\n }),\n _createVNode(_component_BoostButton, {\n label: \"Export\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showExportDialog()))\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cards, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-stat',\n class: \"t-3 border-right\",\n title: card.title,\n message: card.message?.toString()\n }, null, 8, [\"title\", \"message\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsOne, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 512)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters, mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n PopupMessageButtonCaptions,\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\n\ninterface ReportData {\n productName: string;\n productTag: string;\n mobileNumber: string;\n date: number;\n status: number;\n}\n\ninterface LaterAnalyticsData {\n purchased: number;\n conversion: number;\n engagements: number;\n totalLaterProducts: number;\n saved: {\n name: string;\n value: number;\n }[];\n popularProducts: {\n name: string;\n tag: string;\n count: number;\n }[];\n reportData: ReportData[];\n}\n\nexport default defineComponent({\n name: 'LaterAnalytics',\n components: {\n ConfirmComponent\n },\n data() {\n return {\n cards: [\n {\n title: 'Purchases',\n message: '0'\n },\n {\n title: 'Conversion',\n message: '0%'\n },\n {\n title: 'Engagement',\n message: '0'\n },\n {\n title: 'Product Pages',\n message: '0'\n }\n ],\n detailedCardsOne: [\n {\n title: 'Saved',\n message: '',\n summary:\n 'Showing daily breakdown of Saved Products to purchase later using the Later App.',\n details: [] as { name: string; value: string }[]\n },\n {\n title: 'Most Popular Product',\n message: 'N/A',\n summary:\n 'Showing breakdown of most popular products that have been saved using the Later App.',\n details: [] as { name: string; value: string }[]\n }\n ],\n reportData: [] as ReportData[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n async mounted() {\n await this.refresh();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async refresh() {\n this.setLoading(true);\n try {\n const payload = {\n accountId: this.currentAccount.accountId,\n productSource: this.productSource\n };\n const responseData =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_LATER_ANALYTICS,\n payload\n );\n\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n const {\n purchased,\n conversion,\n engagements,\n totalLaterProducts,\n saved,\n popularProducts,\n reportData\n } = responseData.data;\n this.cards[0].message = purchased.toString();\n this.cards[1].message = `${conversion.toLocaleString()}%`;\n this.cards[2].message = engagements.toLocaleString();\n this.cards[3].message = totalLaterProducts.toLocaleString();\n\n this.detailedCardsOne[0].details = saved.map((s) => ({\n name: s.name,\n value: s.value.toLocaleString()\n }));\n this.detailedCardsOne[0].message =\n saved[saved.length - 1].value.toLocaleString();\n\n if (popularProducts.length) {\n this.detailedCardsOne[1].details = popularProducts.map((p) => ({\n name: `${p.name} (${p.tag})`,\n value: p.count.toLocaleString()\n }));\n this.detailedCardsOne[1].message = popularProducts[0].name;\n }\n\n this.reportData = reportData;\n }\n } catch (err) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n console.error(err);\n }\n this.setLoading(false);\n },\n async showExportDialog() {\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmDiscard = await confirmation.show(\n PopupMessageTitles.EXPORT,\n PopupMessageStrings.EXPORT_ANALYTICS,\n PopupMessageButtonCaptions.EXPORT,\n true\n );\n if (confirmDiscard) {\n this.createAndDownloadCsvFile();\n }\n },\n createAndDownloadCsvFile() {\n const headers = `Product,Tag,Mobile,Status,Date`;\n const rows = this.reportData.map((row) => {\n const date = new Date(row.date);\n return `${row.productName},${row.productTag},${\n row.mobileNumber ?? ''\n },${row.status},${date.toLocaleDateString()}`;\n });\n\n const csv = [headers, ...rows].join('\\n');\n\n const filename = `Tags-Shopify-Later-Analytics-${Date.now()}.csv`;\n const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n\n link.setAttribute('href', url);\n link.setAttribute('download', filename);\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n});\n","import { render } from \"./LaterAnalytics.vue?vue&type=template&id=43246fd5&scoped=true&ts=true\"\nimport script from \"./LaterAnalytics.vue?vue&type=script&lang=ts\"\nexport * from \"./LaterAnalytics.vue?vue&type=script&lang=ts\"\n\nimport \"./LaterAnalytics.vue?vue&type=style&index=0&id=43246fd5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-43246fd5\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42804fa0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-bottom-6\" }, \" View information on how the Share app performs on your product pages in real-time. \", -1))\nconst _hoisted_2 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_3 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_4 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" Exporting data: \"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \" Advocate Name, Email, Sales, Commission %, Revenue Generated, Amount Earned \")\n ])\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Share Analytics\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n type: \"button\",\n class: \"margin-right-2\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.refresh()))\n }),\n _createVNode(_component_BoostButton, {\n label: \"Export\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showExportDialog()))\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cards, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-stat',\n class: \"t-4 border-right\",\n title: card.title,\n message: card.message?.toString()\n }, null, 8, [\"title\", \"message\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsOne, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsTwo, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }, 512)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters, mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n PopupMessageButtonCaptions,\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\n\ninterface ReportData {\n affiliateName: string;\n email: string;\n sales: number;\n commission: number;\n revenueGenerated: number;\n amountEarned: number;\n}\n\ninterface ShareAnalyticsData {\n affiliateCount: number;\n salesCount: number;\n productPagesCount: number;\n revenueGenerated: {\n total: string;\n list: {\n name: string;\n value: string;\n }[];\n };\n totalPayout: {\n total: string;\n list: {\n name: string;\n value: string;\n }[];\n };\n bestAffiliate: {\n best: string;\n topList: {\n name: string;\n value: string;\n }[];\n };\n bestProduct: {\n best: string;\n topList: {\n name: string;\n value: string;\n }[];\n };\n reportData: ReportData[];\n}\n\nexport default defineComponent({\n name: 'ShareAnalytics',\n components: {\n ConfirmComponent\n },\n data() {\n return {\n cards: [\n {\n title: 'Advocates',\n message: '0'\n },\n {\n title: 'Sales',\n message: '0'\n },\n {\n title: 'Product Pages',\n message: '0'\n }\n ],\n detailedCardsOne: [\n {\n title: 'Revenue Generated',\n message: '$0.00',\n summary:\n 'Showing daily breakdown of sales from Tags generated using the Share App.',\n details: [] as { name: string; value: string }[]\n },\n {\n title: 'Total Payout',\n message: '$0.00',\n summary:\n 'Total payout amount made to advocates. Edit Global and Custom commissions by going to their respective pages.',\n details: [] as { name: string; value: string }[]\n }\n ],\n detailedCardsTwo: [\n {\n title: 'Best Performing Advocates',\n message: '',\n summary: 'Showing breakdown of advocate performance by sales.',\n details: [] as { name: string; value: string }[]\n },\n {\n title: 'Most Shared Product',\n message: '',\n summary: 'Showing breakdown of most shared products by sales.',\n details: [] as { name: string; value: string }[]\n }\n ],\n reportData: [] as ReportData[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n })\n },\n async mounted() {\n await this.refresh();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async refresh() {\n this.setLoading(true);\n try {\n const payload = {\n accountId: this.currentAccount.accountId\n };\n const responseData =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SHARE_ANALYTICS,\n payload\n );\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n const {\n affiliateCount,\n salesCount,\n productPagesCount,\n revenueGenerated,\n totalPayout,\n bestAffiliate,\n bestProduct,\n reportData\n } = responseData.data;\n this.cards[0].message = affiliateCount.toString();\n this.cards[1].message = salesCount.toString();\n this.cards[2].message = productPagesCount.toString();\n\n this.detailedCardsOne[0].message = revenueGenerated.total;\n this.detailedCardsOne[0].details = revenueGenerated.list.map((s) => ({\n name: s.name,\n value: s.value.toLocaleString()\n }));\n\n this.detailedCardsOne[1].message = totalPayout.total;\n this.detailedCardsOne[1].details = totalPayout.list.map((s) => ({\n name: s.name,\n value: s.value.toLocaleString()\n }));\n\n this.detailedCardsTwo[0].message = bestAffiliate.best;\n this.detailedCardsTwo[0].details = bestAffiliate.topList.map((s) => ({\n name: s.name,\n value: s.value.toLocaleString()\n }));\n\n this.detailedCardsTwo[1].message = bestProduct.best;\n this.detailedCardsTwo[1].details = bestProduct.topList.map((s) => ({\n name: s.name,\n value: s.value.toLocaleString()\n }));\n\n this.reportData = reportData;\n }\n } catch (err) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n console.error(err);\n }\n this.setLoading(false);\n },\n async showExportDialog() {\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmDiscard = await confirmation.show(\n PopupMessageTitles.EXPORT,\n PopupMessageStrings.EXPORT_ANALYTICS,\n PopupMessageButtonCaptions.EXPORT,\n true\n );\n if (confirmDiscard) {\n this.createAndDownloadCsvFile();\n }\n },\n createAndDownloadCsvFile() {\n const headers = `Advocate Name,Email,Sales,Commission,Revenue Generated,Amount Earned`;\n const rows = this.reportData.map((row) => {\n return `${row.affiliateName},${row.email},${row.sales},${row.commission},${row.revenueGenerated},${row.amountEarned}`;\n });\n\n const csv = [headers, ...rows].join('\\n');\n\n const filename = `Tags-Shopify-Share-Analytics-${Date.now()}.csv`;\n const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n\n link.setAttribute('href', url);\n link.setAttribute('download', filename);\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n});\n","import { render } from \"./ShareAnalytics.vue?vue&type=template&id=42804fa0&scoped=true&ts=true\"\nimport script from \"./ShareAnalytics.vue?vue&type=script&lang=ts\"\nexport * from \"./ShareAnalytics.vue?vue&type=script&lang=ts\"\n\nimport \"./ShareAnalytics.vue?vue&type=style&index=0&id=42804fa0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42804fa0\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport GeneralAnalytics from './GeneralAnalytics.vue';\nimport LaterAnalytics from './LaterAnalytics.vue';\nimport ShareAnalytics from './ShareAnalytics.vue';\nimport Helpers from '@/helpers';\n\ntype AnalyticsTabName = 'General' | 'Later' | 'Share' | 'Embed';\ninterface AnalyticsTab {\n name: AnalyticsTabName;\n disabled: boolean;\n}\n\nexport default defineComponent({\n name: 'AnalyticsList',\n components: { GeneralAnalytics, LaterAnalytics, ShareAnalytics },\n data() {\n return {\n selectedTab: 'General' as AnalyticsTabName,\n primaryTabs: [\n {\n name: 'General',\n disabled: false\n }\n ] as AnalyticsTab[],\n secondaryTabs: [] as AnalyticsTab[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n productSource: 'accounts/selectedFeatureTypeId'\n })\n },\n async mounted() {\n if (this.productSource !== 'Shopify') {\n return;\n }\n const hasAccess = Helpers.currentPlanHasAccess(\n 'Plus',\n this.currentAccount.currentPlan\n );\n this.secondaryTabs.push(\n {\n name: 'Later',\n disabled: !hasAccess\n },\n {\n name: 'Share',\n disabled: !hasAccess\n },\n {\n name: 'Embed',\n disabled: true\n }\n );\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus'])\n }\n});\n","import { render } from \"./AnalyticsList.vue?vue&type=template&id=2e807f7c&scoped=true&ts=true\"\nimport script from \"./AnalyticsList.vue?vue&type=script&lang=ts\"\nexport * from \"./AnalyticsList.vue?vue&type=script&lang=ts\"\n\nimport \"./AnalyticsList.vue?vue&type=style&index=0&id=2e807f7c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2e807f7c\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_router_view)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'OrdersParent'\n});\n","import { render } from \"./OrdersParent.vue?vue&type=template&id=2bc3412c&ts=true\"\nimport script from \"./OrdersParent.vue?vue&type=script&lang=ts\"\nexport * from \"./OrdersParent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, withCtx as _withCtx, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle } from \"vue\"\nimport _imports_0 from '../../assets/no-results.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Products\", -1)\nconst _hoisted_2 = {\n key: 0,\n class: \"t-12 flex flex--wrap justify-between no-pad top-border\"\n}\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", null, \" This page will show all checkouts generated for your products. Start adding products to fill it up! \", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostTagCard = _resolveComponent(\"BoostTagCard\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_DownloadTagsPopupComponent = _resolveComponent(\"DownloadTagsPopupComponent\")!\n const _component_BoostPagination = _resolveComponent(\"BoostPagination\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Tags\",\n message: \"Download instant checkout coordinates for your products. Only active products are shown on this page.\"\n }),\n (_ctx.innerRows?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.innerRows, (tag) => {\n return (_openBlock(), _createBlock(_component_BoostTagCard, {\n key: tag.productId,\n avatar: tag.imageUrl || require('@/assets/default-product.jpg'),\n title: tag.title,\n price: _ctx.getPrice(tag),\n \"product-id\": tag.productId,\n class: \"t-6 border-right bottom-border padding-4\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n style: {\"margin-left\":\"auto\"},\n class: \"padding-4\",\n \"button-style\": \"none\",\n type: \"button\",\n onClick: ($event: any) => (_ctx.openDownloadPopup(tag))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: require('../../assets/download.svg')\n }, null, 8, _hoisted_3)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1032, [\"avatar\", \"title\", \"price\", \"product-id\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\n display: _ctx.innerRows?.length ? 'none' : 'block'\n }, {\"margin\":\"auto\"}]),\n class: \"t-6 margin-top-15\"\n }, [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _createVNode(_component_router_link, {\n to: \"/store/products\",\n exact: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Add products\")\n ]),\n _: 1\n })\n ], 4),\n (_ctx.showDownloadTags)\n ? (_openBlock(), _createBlock(_component_DownloadTagsPopupComponent, {\n key: 1,\n \"selected-row\": _ctx.selectedTag,\n onVisibleChange: _ctx.handlePopupVisibleChange\n }, null, 8, [\"selected-row\", \"onVisibleChange\"]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createVNode(_component_BoostPagination, {\n items: _ctx.filteredTags,\n \"per-page\": 24,\n class: \"tag-cards__pagination\",\n onItems: _ctx.handleItems\n }, null, 8, [\"items\", \"onItems\"])\n ]))\n ], 64))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f6bd6a60\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-tag-card flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"boost-tag-card__content\" }\nconst _hoisted_4 = { class: \"text-light\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: \"rounded-image rounded-image--medium cursor-hand boost-tag-card__avatar\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showProduct(_ctx.productId)))\n }, [\n _createElementVNode(\"img\", {\n src: _ctx.avatar,\n alt: \"image\"\n }, null, 8, _hoisted_2)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.price), 1)\n ]),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n _renderSlot(_ctx.$slots, \"action\", {}, undefined, true)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostTagCard',\n props: {\n avatar: {\n type: String,\n default: ''\n },\n title: {\n type: String,\n default: ''\n },\n price: {\n type: String,\n default: ''\n },\n productId: {\n type: String,\n default: ''\n }\n },\n methods: {\n showProduct(productId: string) {\n this.$router.push({\n name: 'seller-product-detail',\n params: { productId }\n });\n }\n }\n});\n","import { render } from \"./BoostTagCard.vue?vue&type=template&id=f6bd6a60&scoped=true&ts=true\"\nimport script from \"./BoostTagCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostTagCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostTagCard.vue?vue&type=style&index=0&id=f6bd6a60&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f6bd6a60\"]])\n\nexport default __exports__","\nimport {\n FirebaseRequest,\n FirebaseRequestTypes,\n APIResponseStatus\n} from '@/firebaseRequest';\nimport { Tag, TagDetail, TipTag } from '@/models/tag';\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport BoostTagCard from '@/common/BoostTagCard.vue';\nimport { TagType } from '@/../enums/tagType';\nimport Helpers from '@/helpers';\nimport DownloadTagsPopupComponent, {\n DownloadTagItem\n} from '@/common/DownloadTagsPopupComponent.vue';\n\nexport default defineComponent({\n name: 'TagsComponent',\n components: { BoostTagCard, DownloadTagsPopupComponent },\n data() {\n return {\n tags: [] as Tag[],\n filteredTags: [] as Tag[],\n innerRows: [] as Tag[],\n showDownloadTags: false,\n selectedTag: {} as DownloadTagItem\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n currentFilter: 'product/currentFilter',\n productSource: 'accounts/selectedFeatureTypeId',\n getSearchText: 'global/getSearchText'\n })\n },\n watch: {\n async getSearchText(val) {\n await this.filterTagsBySearchTerm(val);\n }\n },\n async mounted() {\n this.tags = await this.getAllTags();\n this.filteredTags = this.tags;\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async getAllTags() {\n this.setLoading(true);\n let tags: Tag[] = [];\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_SELLER_TAGS,\n {\n accountId: this.currentAccount?.accountId,\n productSource: this.productSource\n }\n );\n if (responseData.status === APIResponseStatus.OK) {\n tags = (responseData.data as Tag[]).sort(this.sortMostRecentTags);\n }\n this.setLoading(false);\n return tags;\n },\n async filterTagsBySearchTerm(searchText: string) {\n this.filteredTags = this.tags.filter((t) =>\n t.title.toLocaleLowerCase()?.includes(searchText)\n );\n },\n sortMostRecentTags(a: Tag, b: Tag): number {\n // Get just the number portion out of the tag to use for sorting, use 0 if no numbers in the tag\n const hashTagNoA = a.hashtag.replace(/\\D/g, '') || '0';\n const hashTagNoB = b.hashtag.replace(/\\D/g, '') || '0';\n return +hashTagNoB - +hashTagNoA;\n },\n getPrice(tag: Tag) {\n if (tag.type === TagType.TIP) {\n const prices = (tag as never as TipTag).amounts.map((x) => +x);\n\n const min = Math.min(...prices);\n const max = Math.max(...prices);\n\n if (min !== max) {\n return `${Helpers.currencyFormatter(\n min\n )} - ${Helpers.currencyFormatter(max)}`;\n } else {\n return `${Helpers.currencyFormatter(min)}`;\n }\n } else {\n if (tag?.skus && (tag as TagDetail)?.variants?.length) {\n const skus = Object.entries(tag.skus);\n if (skus.length > 0) {\n const prices = [] as number[];\n skus.forEach((sku) => {\n prices.push(+sku[1].price);\n });\n const min = Helpers.currencyFormatter(\n Math.min(...prices).toString()\n );\n const max = Helpers.currencyFormatter(\n Math.max(...prices).toString()\n );\n if (min !== max) {\n return `${min} - ${max}`;\n } else {\n return `${min}`;\n }\n }\n }\n\n const price = tag?.price || 0;\n return Helpers.currencyFormatter(price);\n }\n },\n openDownloadPopup(tag: Tag) {\n this.selectedTag = tag as DownloadTagItem;\n this.showDownloadTags = true;\n },\n handlePopupVisibleChange(show: boolean) {\n this.showDownloadTags = show;\n },\n handleItems(newValue: Tag[]) {\n this.innerRows = newValue.map((item: Tag) => {\n return item;\n });\n }\n }\n});\n","import { render } from \"./TagsComponent.vue?vue&type=template&id=90c4598c&ts=true\"\nimport script from \"./TagsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./TagsComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/**\n * Shopify import status\n */\nexport enum ShopifyImportStatus {\n ready = 'Ready',\n tagsCreated = 'Tags created',\n invalid = 'Invalid'\n}\n","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/arrow-left.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0f0965a0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"margin-2\",\n src: _imports_0,\n alt: \"Arrow left, to go back\"\n }),\n /*#__PURE__*/_createTextVNode(\" Back to Products \")\n], -1))\nconst _hoisted_2 = { class: \"standard-margins\" }\nconst _hoisted_3 = { class: \"t-6 no-pad margin-bottom-10\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"flex flex--full-width align-center no-pad justify--between\"\n}\nconst _hoisted_5 = {\n style: {\"margin-left\":\"auto\",\"margin-right\":\"8px\"},\n class: \"d-4 mob-12 no-pad\"\n}\nconst _hoisted_6 = { class: \"d-2 mob-12 no-pad\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = {\n key: 0,\n class: \"rounded-image rounded-image--small\"\n}\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = {\n key: 1,\n class: \"rounded-image rounded-image--small\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/img/default-image.png\",\n alt: \"Default product image\"\n}, null, -1))\nconst _hoisted_12 = [\n _hoisted_11\n]\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = { key: 2 }\nconst _hoisted_15 = { key: 3 }\nconst _hoisted_16 = { key: 4 }\nconst _hoisted_17 = { key: 5 }\nconst _hoisted_18 = { key: 6 }\nconst _hoisted_19 = [\"onUpdate:modelValue\", \"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_SearchBar = _resolveComponent(\"SearchBar\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.$router.back\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Create tags\",\n \"button-style\": \"primary\",\n class: \"margin-bottom-0\",\n type: \"button\",\n disabled: !_ctx.shopifyProducts.some((x) => x.isSelected && !x.productId),\n onClick: _ctx.createTags\n }, null, 8, [\"disabled\", \"onClick\"])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Import Products\",\n \"is-compact\": false,\n message: \"Select the product(s) you want to generate Tags for. Products priced below $1.00 cannot be imported.\"\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_BoostButton, {\n label: \"Import\",\n class: \"button-import\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _ctx.importShopifyProducts\n }, null, 8, [\"onClick\"])\n ]),\n (_ctx.shopifyProducts?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_SearchBar, {\n placeholder: \"Product Name\",\n onSearchAction: _ctx.viewProducts\n }, null, 8, [\"onSearchAction\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.productFilter,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.productFilter) = $event)),\n \"input-id\": \"products-filter\",\n options: _ctx.productFilterOptions\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.filteredShopifyProducts?.length)\n ? (_openBlock(), _createBlock(_component_BoostTable, {\n key: 0,\n rows: _ctx.filteredShopifyProducts,\n columns: _ctx.columns,\n \"hide-arrow\": true,\n \"has-context-menu\": true,\n onSelectAll: _ctx.selectAllInColumn\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n (data.row.imageUrl)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"img\", {\n src: data.row.imageUrl,\n alt: \"Product image\"\n }, null, 8, _hoisted_9)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_10, _hoisted_12))\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'title')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(data.row.title), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'price')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(_ctx.formatPrice(data.row.price)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'variantCount')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString(_ctx.getCount(data.row.variants)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'totalQuantity')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.getTotalQuantity(data.row)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'status')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill\", {\n 'pill-positive': !data.row.productId,\n 'pill-pending': _ctx.validatePrice(data.row.price) && data.row.productId,\n 'pill-negative': !_ctx.validatePrice(data.row.price)\n }])\n }, _toDisplayString(_ctx.decodeStatus(data.row)), 3)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'selection')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: data.row.productId,\n \"onUpdate:modelValue\": ($event: any) => ((data.row.isSelected) = $event),\n disabled: data.row.productId || !_ctx.validatePrice(data.row.price),\n type: \"checkbox\"\n }, null, 8, _hoisted_19)), [\n [_vModelCheckbox, data.row.isSelected]\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onSelectAll\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '../../assets/search-icon.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n\n return (_openBlock(), _createBlock(_component_BoostInput, {\n ref: \"search\",\n modelValue: _ctx.searchValue,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchValue) = $event)),\n _cache[1] || (_cache[1] = ($event: any) => (_ctx.searchAction(_ctx.filter)))\n ],\n \"input-id\": \"search\",\n placeholder: _ctx.placeholder,\n \"hide-label\": \"\"\n }, {\n leftIcon: _withCtx(({}) => [\n _hoisted_1\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"]))\n}","\nimport { defineComponent } from 'vue';\n\nconst SearchBar = defineComponent({\n name: 'SearchBar',\n props: {\n placeholder: {\n type: String,\n required: false,\n default: undefined\n },\n filter: {\n type: String,\n required: false,\n default: undefined\n }\n },\n emits: ['searchAction'],\n data() {\n return {\n filterValue: '',\n searchValue: ''\n };\n },\n methods: {\n searchAction(filterType: string | undefined) {\n const searchActionEventArgs: SearchActionEvent = {\n filterType: filterType || '',\n searchValue: this.searchValue\n };\n this.$emit('searchAction', searchActionEventArgs);\n }\n }\n});\n\nexport interface SearchActionEvent {\n filterType: string;\n searchValue?: string;\n sortOption?: number;\n}\n\nexport default SearchBar;\n","import { render } from \"./SearchBar.vue?vue&type=template&id=06708cb2&ts=true\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=ts\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\ninterface SelectProduct extends Product {\n isSelected: boolean;\n}\n\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { Product } from '@/models/product';\nimport helpers from '@/helpers';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport { ConnectShopify } from '@/../models/connectShopify';\nimport { ShopifyImportStatus } from '@/../enums/shopifyImportStatus';\nimport SearchBar, { SearchActionEvent } from '@/common/controls/SearchBar.vue';\n\nexport default defineComponent({\n name: 'ShopifyIntegration',\n components: {\n SearchBar\n },\n data() {\n return {\n shopifyConfig: {} as ConnectShopify,\n shopifyProducts: [] as SelectProduct[],\n searchValue: '' as string,\n productFilter: 'All',\n productFilterOptions: [\n { name: 'All', value: 'All' },\n { name: 'Ready', value: ShopifyImportStatus.ready },\n { name: 'Tags created', value: ShopifyImportStatus.tagsCreated },\n { name: 'Invalid', value: ShopifyImportStatus.invalid }\n ],\n columns: [\n {\n id: 'image',\n label: 'Name'\n },\n {\n id: 'title',\n label: ''\n },\n {\n id: 'price',\n label: 'Price'\n },\n {\n id: 'variantCount',\n label: 'Variations'\n },\n {\n id: 'totalQuantity',\n label: 'Quantity'\n },\n {\n id: 'status',\n label: 'Status'\n },\n {\n id: 'selection',\n label: ''\n }\n ] as ColumnItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount'\n }),\n filteredShopifyProducts(): SelectProduct[] {\n return this.shopifyProducts.filter(this.filterShopifyProducts);\n }\n },\n async mounted() {\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.GET_ECOMMERCE_CONFIG, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (\n responseData.status === APIResponseStatus.OK &&\n responseData.data?.configData?.configuration\n ) {\n this.shopifyConfig = JSON.parse(\n responseData.data?.configData?.configuration\n ) as ConnectShopify;\n }\n },\n methods: {\n ...mapMutations('global', [\n 'setLoading',\n 'setBannerStatus',\n 'setContextualButton'\n ]),\n async importShopifyProducts() {\n this.shopifyProducts.length = 0;\n\n this.setLoading({ isLoading: true, message: 'Connecting to Shopify...' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ECOMMERCE_PRODUCTS,\n {\n accountId: this.currentAccount?.accountId,\n onlyValidProducts: true\n }\n );\n if (responseData.status === APIResponseStatus.OK) {\n this.setLoading({\n isLoading: true,\n message: `Importing ${responseData.data?.length} products...`\n });\n const data = (responseData.data as SelectProduct[]) || [];\n data.forEach((product) => {\n product.isSelected = false;\n product.imageUrl =\n product.imageUrl ?? require('../../assets/default-product.jpg');\n });\n this.shopifyProducts = data;\n }\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading({ isLoading: true, message: 'Import Complete!' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading(false);\n },\n async createTags() {\n if (this.shopifyProducts.some((x) => x.isSelected && !x.productId)) {\n this.setLoading({ isLoading: true, message: 'Creating Tags...' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CREATE_ECOMMERCE_TAGS,\n {\n accountId: this.currentAccount?.accountId,\n products: this.shopifyProducts.filter((x) => x.isSelected)\n }\n );\n if (responseData.status === APIResponseStatus.OK) {\n this.setLoading({ isLoading: true, message: 'Tags created!' });\n }\n\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading({ isLoading: false });\n this.$router.push({\n name: 'seller-products',\n query: { productSource: ProductSource.Shopify }\n });\n }\n },\n getCount(o: unknown): number {\n if (o && typeof o === 'object') {\n return Object.keys(o).length;\n }\n return 0;\n },\n getTotalQuantity(p: Product): number {\n if (!p?.skus) {\n return 0;\n }\n return Object.entries(p.skus).reduce((quantity, [, sku]) => {\n if (sku.quantity === 'UNLIMITED') {\n return 999;\n } else {\n // quantity is sometimes delivered as a string and sometimes as a number, so just call toString()\n if (sku.quantity) {\n const skuQuantity = parseInt(sku.quantity.toString(), 10);\n return quantity + skuQuantity;\n }\n return quantity;\n }\n }, 0);\n },\n formatPrice(price: string): string {\n return helpers.currencyFormatter(price);\n },\n filterShopifyProducts(product: SelectProduct) {\n let match = true;\n if (this.searchValue) {\n match =\n product.title\n .toLowerCase()\n .indexOf(this.searchValue.toLowerCase()) !== -1;\n }\n if (match && this.productFilter != 'All') {\n match = this.decodeStatus(product) === this.productFilter;\n }\n return match;\n },\n selectAll() {\n this.shopifyProducts.forEach((p) => {\n if (this.decodeStatus(p) === ShopifyImportStatus.ready) {\n p.isSelected = true;\n }\n });\n },\n unselectAll() {\n this.shopifyProducts.forEach((p) => {\n p.isSelected = false;\n });\n },\n selectAllInColumn(toggle: boolean) {\n if (toggle) {\n this.selectAll();\n } else {\n this.unselectAll();\n }\n },\n viewProducts(data: SearchActionEvent) {\n this.searchValue = data.searchValue ?? '';\n },\n decodeStatus(p: SelectProduct): ShopifyImportStatus {\n if (!this.validatePrice(p.price)) {\n return ShopifyImportStatus.invalid;\n }\n return p.productId\n ? ShopifyImportStatus.tagsCreated\n : ShopifyImportStatus.ready;\n },\n validatePrice(price: string) {\n return parseInt(price, 10) > 0;\n }\n }\n});\n","import { render } from \"./ShopifyImportProducts.vue?vue&type=template&id=0f0965a0&scoped=true&ts=true\"\nimport script from \"./ShopifyImportProducts.vue?vue&type=script&lang=ts\"\nexport * from \"./ShopifyImportProducts.vue?vue&type=script&lang=ts\"\n\nimport \"./ShopifyImportProducts.vue?vue&type=style&index=0&id=0f0965a0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0f0965a0\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/arrow-left.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8eecfbc6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex align--center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"margin-2\",\n src: _imports_0,\n alt: \"Arrow left, to go back\"\n }),\n /*#__PURE__*/_createTextVNode(\" Integrations \")\n], -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Connect your Shopify to import products, sync inventory, install apps and more. \", -1))\nconst _hoisted_3 = {\n class: \"flex\",\n style: {\"gap\":\"8px\"}\n}\nconst _hoisted_4 = [\"onSubmit\"]\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal text-light margin-top-0\" }, \" If your Shopify store URL is https://your-store-name.myshopify.com, you only need to enter \\\"your-store-name\\\" above. \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" If you're looking to update your store name, API keys or connect a new store, please get in touch. \", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.$router.back\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Connect Shopify\",\n \"is-compact\": false,\n \"has-content\": \"\",\n class: \"shopify-connect\"\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (!!_ctx.shopifyConfig?.apiKey)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Sync\",\n \"button-style\": \"primary\",\n type: \"button\",\n onClick: _ctx.syncShopify\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n label: \"Watch How-To\",\n \"button-style\": \"optional\",\n type: \"button\",\n onClick: _ctx.openShopifyInstructions\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_BoostSectionHeader, {\n \"is-compact\": \"\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ValidationObserver, { as: \"div\" }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.onSubmit)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n key: \"shopify-store\",\n modelValue: _ctx.shopifyConfig.shopName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.shopifyConfig.shopName) = $event)),\n label: \"Shopify Store\",\n placeholder: \"your-store-name\",\n rules: \"required\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shopify-store-name\",\n disabled: !_ctx.allowConnect\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _hoisted_5,\n _createVNode(_component_BoostInput, {\n key: \"shopify-api-key\",\n modelValue: _ctx.shopifyConfig.apiKey,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.shopifyConfig.apiKey) = $event)),\n type: \"password\",\n label: \"Admin API Access Token\",\n placeholder: \"Enter Access Token\",\n rules: \"required\",\n class: \"margin-bottom-5\",\n \"input-id\": \"shopify-api-key\",\n disabled: !_ctx.allowConnect\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _createVNode(_component_BoostInput, {\n key: \"shopify-secret-key\",\n modelValue: _ctx.shopifyConfig.sharedSecret,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.shopifyConfig.sharedSecret) = $event)),\n type: \"password\",\n label: \"API Secret Key\",\n placeholder: \"Enter Secret Key\",\n rules: \"required\",\n \"input-id\": \"shopify-secret-key\",\n autocomplete: \"new-password\",\n disabled: !_ctx.allowConnect\n }, null, 8, [\"modelValue\", \"disabled\"])\n ], 40, _hoisted_4),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n (_ctx.allowConnect)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Connect\",\n \"button-style\": \"primary\",\n class: \"margin-bottom-0\",\n type: \"button\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.connectButtonState,\n autocomplete: \"new-password\",\n onClick: _ctx.connectToShopify\n }, null, 8, [\"disabled\", \"loading-state\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (!_ctx.allowConnect)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n \"is-compact\": \"\",\n \"has-content\": \"\",\n title: \"Update Store Details\"\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createVNode(_component_BoostButton, {\n label: \"Contact Us\",\n \"button-style\": \"primary\",\n type: \"button\",\n onClick: _ctx.contactUs\n }, null, 8, [\"onClick\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { ConnectShopify } from '@/../models/connectShopify';\nimport { FeatureType } from '@/../enums/featureTypes';\nimport { defineComponent } from 'vue';\nimport {\n FirebaseRequest,\n FirebaseRequestTypes,\n APIResponseStatus\n} from '@/firebaseRequest';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nconst SellerSettingsShopify = defineComponent({\n name: 'SellerSettingsShopify',\n data() {\n return {\n connectButtonState: ButtonLoadingState.initial,\n testButtonState: ButtonLoadingState.initial,\n shopifyConfig: {} as ConnectShopify,\n allowConnect: false\n };\n },\n computed: {\n ...mapGetters({\n currentAccount: 'accounts/currentAccount',\n isSuperAdmin: 'auth/isSuperAdmin'\n })\n },\n async mounted() {\n this.setLoading(true);\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.GET_ECOMMERCE_CONFIG, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (\n responseData.status === APIResponseStatus.OK &&\n responseData.data?.configData?.configuration\n ) {\n this.shopifyConfig = JSON.parse(\n responseData.data?.configData?.configuration\n ) as ConnectShopify;\n }\n this.allowConnect = this.isSuperAdmin || !this.shopifyConfig?.apiKey;\n this.setLoading(false);\n },\n methods: {\n ...mapMutations('global', [\n 'setLoading',\n 'setBannerStatus',\n 'setContextualButton'\n ]),\n ...mapMutations({\n setSelectedFeatureType: 'accounts/setSelectedFeatureType'\n }),\n ...mapActions('accounts', ['loadAccounts']),\n async syncShopify() {\n this.setLoading({ isLoading: true, message: 'Connecting to Shopify...' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading({ isLoading: true, message: 'Syncing products...' });\n const responseData = await FirebaseRequest.createRequest<{\n configData: {\n name: string;\n configuration: string;\n status: string;\n };\n }>(FirebaseRequestTypes.SYNC_ECOMMERCE_PRODUCTS, {\n accountId: this.currentAccount?.accountId,\n name: 'Shopify'\n });\n\n if (responseData.status === APIResponseStatus.OK) {\n this.setLoading({ isLoading: true, message: 'Finished' });\n await new Promise((resolve) => setTimeout(resolve, 1000));\n this.setLoading(false);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_SUCCESS,\n type: BannerType.success\n });\n } else {\n this.setLoading({ isLoading: true, message: 'Something went wrong' });\n this.setLoading(false);\n this.setBannerStatus({\n text: BannerMessageStrings.SHOPIFY_ERROR_SYNCING,\n type: BannerType.error\n });\n }\n },\n async onSubmit() {\n this.testButtonState = ButtonLoadingState.loading;\n\n const responseData = await FirebaseRequest.createRequest<{\n connectionResults: {\n isSuccessful: boolean;\n message: string;\n };\n }>(FirebaseRequestTypes.CONNECT_ECOMMERCE, {\n testConnection: true,\n accountId: this.currentAccount?.accountId,\n configData: this.shopifyConfig\n });\n\n if (responseData.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.SHOPIFY_TEST_CONNECT_SUCCESS,\n type: BannerType.success\n });\n } else {\n this.setBannerStatus({\n text:\n responseData?.data?.connectionResults?.message ||\n BannerMessageStrings.SHOPIFY_ERROR,\n type: BannerType.error\n });\n }\n this.testButtonState = ButtonLoadingState.complete;\n },\n async connectToShopify() {\n this.connectButtonState = ButtonLoadingState.loading;\n\n const responseData = await FirebaseRequest.createRequest<{\n connectionResults: {\n isSuccessful: boolean;\n message: string;\n };\n }>(FirebaseRequestTypes.CONNECT_ECOMMERCE, {\n testConnection: false,\n accountId: this.currentAccount?.accountId,\n configData: this.shopifyConfig\n });\n\n if (responseData.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.SHOPIFY_CONNECTED,\n type: BannerType.success\n });\n //Need to reload the account and set the selected feature to Shopify\n await this.loadAccounts();\n this.allowConnect = this.isSuperAdmin || !this.shopifyConfig?.apiKey;\n this.setSelectedFeatureType(FeatureType.Shopify);\n } else {\n this.setBannerStatus({\n text:\n responseData?.data?.connectionResults?.message ||\n BannerMessageStrings.SHOPIFY_ERROR,\n type: BannerType.error\n });\n }\n this.connectButtonState = ButtonLoadingState.complete;\n },\n openShopifyInstructions() {\n window.open(\n 'https://support.tagscommerce.com/hc/en-us/articles/5475743760023-Connecting-Shopify',\n '_blank'\n );\n },\n contactUs() {\n const link =\n 'mailto:support@tagscommerce.com?subject=' +\n encodeURIComponent('Update Store Details') +\n '&body=' +\n encodeURIComponent(\n 'Please assist me with updating my store credentials'\n );\n window.location.href = link;\n }\n }\n});\nexport default SellerSettingsShopify;\n","import { render } from \"./SellerSettingsShopify.vue?vue&type=template&id=8eecfbc6&scoped=true&ts=true\"\nimport script from \"./SellerSettingsShopify.vue?vue&type=script&lang=ts\"\nexport * from \"./SellerSettingsShopify.vue?vue&type=script&lang=ts\"\n\nimport \"./SellerSettingsShopify.vue?vue&type=style&index=0&id=8eecfbc6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8eecfbc6\"]])\n\nexport default __exports__","import SellerBase from '@/seller/SellerBase.vue';\nimport SellerRegistration from '@/seller/registration/SellerRegistration.vue';\nimport SellerDashboard from '@/seller/SellerDashboard.vue';\nimport SellerSettings from '@/seller/settings/SellerSettings.vue';\nimport OrdersComponent from '@/seller/orders/Orders.vue';\nimport TransactionsComponent from '@/seller/transactions/Transactions.vue';\nimport ResetPassword from '@/seller/ResetPassword.vue';\nimport TransactionDetail from '@/seller/transactions/TransactionDetail.vue';\nimport ProductDetail from '@/seller/products/ProductDetail.vue';\nimport Products from '@/seller/products/Products.vue';\nimport PreRegistration from '@/pre-registration/PreRegistration.vue';\nimport Audience from '@/seller/audience/Audience.vue';\nimport AudienceList from '@/seller/audience/AudienceList.vue';\nimport AudienceMember from '@/seller/audience/AudienceMember.vue';\nimport AudienceAffiliateMember from '@/seller/audience/AudienceAffiliateMember.vue';\nimport Integrations from '@/seller/integrations/Integrations.vue';\nimport IntegrationsList from '@/seller/integrations/IntegrationsList.vue';\nimport AppsList from '@/seller/integrations/AppsList.vue';\nimport SaveForLater from '@/seller/integrations/SaveForLater.vue';\nimport Customizations from '@/seller/customizations/Customizations.vue';\nimport CustomizationSummary from '@/seller/customizations/CustomizationSummary.vue';\nimport ProductsParent from '@/seller/products/ProductsParent.vue';\nimport TipEdit from '@/seller/products/TipEdit.vue';\nimport ProductEdit from '@/seller/products/ProductEdit.vue';\nimport ProductEditShopify from '@/seller/products/ProductEdit-Shopify.vue';\nimport ProductEditAttributions from '@/seller/products/ProductEditAttributions.vue';\nimport ProductEditVariations from '@/seller/products/ProductEditVariations.vue';\nimport SellerUserInvitation from '@/seller/SellerUserInvitation.vue';\nimport SellerTransferOwnership from '@/seller/SellerTransferOwnership.vue';\nimport AttributionList from '@/seller/attribution/AttributionList.vue';\nimport AnalyticsList from '@/seller/analytics/AnalyticsList.vue';\nimport OrdersParent from '@/seller/orders/OrdersParent.vue';\nimport TagsComponent from '@/seller/tags/TagsComponent.vue';\nimport ShopifyImportProducts from '@/seller/products/ShopifyImportProducts.vue';\nimport SellerSettingsShopify from '@/seller/settings/SellerSettingsShopify.vue';\n\nexport default [\n {\n path: '/store',\n redirect: '/store/dashboard',\n component: SellerBase,\n meta: { requiresSellerAuth: true },\n children: [\n {\n path: 'dashboard',\n name: 'seller-home',\n component: SellerDashboard,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'analytics',\n name: 'seller-analytics',\n component: AnalyticsList,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showSubHeader: true\n }\n },\n {\n path: 'settings',\n name: 'seller-settings',\n component: SellerSettings,\n meta: {\n layout: 'OpenDetailLayout',\n showSubHeader: true\n }\n },\n {\n path: 'orders',\n component: OrdersParent,\n children: [\n {\n path: '',\n name: 'seller-orders',\n component: OrdersComponent,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showSubHeader: true\n }\n },\n {\n path: ':orderId',\n name: 'seller-order',\n component: TransactionDetail,\n meta: {\n showHelp: false,\n layout: 'OpenDetailLayout',\n showSubHeader: false\n }\n }\n ]\n },\n {\n path: 'transactions',\n name: 'seller-transactions',\n component: TransactionsComponent,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showSubHeader: true\n }\n },\n {\n path: 'tags',\n name: 'seller-tags',\n component: TagsComponent,\n meta: {\n layout: 'OpenLayout',\n showSubHeader: false,\n showHelp: true\n }\n },\n {\n path: 'products',\n component: ProductsParent,\n children: [\n {\n name: 'seller-products',\n path: '',\n component: Products,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showSubHeader: true\n }\n },\n {\n path: ':productId',\n name: 'seller-product-detail',\n component: ProductDetail,\n meta: {\n showHelp: false,\n layout: 'OpenDetailLayout',\n showSubHeader: false\n }\n },\n {\n path: ':productId/edit',\n name: 'seller-product-edit',\n component: ProductEdit,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: 'create',\n name: 'seller-product-create',\n component: ProductEdit,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: 'create-tip',\n name: 'seller-tip-create',\n component: TipEdit,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: ':productId/shopify/edit',\n name: 'seller-product-edit-shopify',\n component: ProductEditShopify,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: ':productId/edit/tip',\n name: 'seller-tip-edit',\n component: TipEdit,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: 'shopify/import',\n name: 'seller-product-import-shopify',\n component: ShopifyImportProducts,\n meta: {\n layout: 'OpenDetailLayout'\n }\n }\n ]\n },\n {\n path: 'attributions',\n name: 'seller-attributions',\n component: AttributionList,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showSubHeader: true\n }\n },\n {\n path: 'editattribution',\n name: 'edit-product-attribution',\n component: ProductEditAttributions,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: 'editvariations',\n name: 'edit-product-variations',\n component: ProductEditVariations,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: 'audience',\n component: Audience,\n children: [\n {\n path: '',\n name: 'audience',\n component: AudienceList,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'advocate/:memberId',\n name: 'audience-advocate-member',\n component: AudienceAffiliateMember,\n meta: {\n showHelp: false,\n layout: 'OpenDetailLayout',\n showSubHeader: false\n }\n },\n {\n path: ':memberId',\n name: 'audience-member',\n component: AudienceMember,\n meta: {\n showHelp: false,\n layout: 'OpenDetailLayout',\n showSubHeader: false\n }\n }\n ]\n },\n {\n path: 'integrations',\n component: Integrations,\n children: [\n {\n path: 'integrations',\n name: 'integrations',\n component: IntegrationsList,\n meta: {\n layout: 'OpenLayout',\n showHelp: true,\n showBackToTop: false,\n showSubHeader: false\n }\n },\n {\n path: 'shopify',\n name: 'shopify-integration',\n component: SellerSettingsShopify,\n meta: {\n layout: 'OpenDetailLayout',\n showBackToTop: false\n }\n },\n {\n path: '',\n name: 'integration-apps',\n component: AppsList,\n meta: {\n layout: 'OpenLayout',\n showHelp: true,\n showSubHeader: false\n }\n },\n {\n path: 'saveforlater',\n name: 'integration-apps-save',\n component: SaveForLater,\n meta: {\n layout: 'OpenDetailLayout',\n showHelp: false,\n showSubHeader: false\n }\n }\n ]\n },\n {\n path: 'customizations',\n component: Customizations,\n children: [\n {\n path: '',\n name: 'customizations',\n component: CustomizationSummary,\n meta: {\n showHelp: true\n }\n }\n ]\n }\n ]\n },\n {\n path: '/registration/:sellerId',\n name: 'pre-registration',\n component: PreRegistration,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false\n }\n },\n {\n path: '/store/signup',\n name: 'seller-registration',\n component: SellerRegistration,\n meta: {\n layout: 'SingleLayout',\n showFooter: true,\n showBackToTop: false,\n showHelp: true\n }\n },\n {\n path: '/store/resetPassword',\n name: 'seller-reset-password',\n component: ResetPassword,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/seller/accept',\n name: 'accept-invitation',\n component: SellerUserInvitation,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false,\n showFooter: true\n }\n },\n {\n path: '/seller/deny',\n name: 'deny-invitation',\n component: SellerUserInvitation,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false,\n showFooter: true\n }\n },\n {\n path: '/seller/transfer',\n name: 'accept-transfer',\n component: SellerTransferOwnership,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false,\n showFooter: true\n }\n },\n {\n path: '/seller/denyTransfer',\n name: 'deny-transfer',\n component: SellerTransferOwnership,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false,\n showFooter: true\n }\n }\n];\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_router_view)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({});\n","import { render } from \"./BuyerBase.vue?vue&type=template&id=cf80bf9a&ts=true\"\nimport script from \"./BuyerBase.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerBase.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Stepper = _resolveComponent(\"Stepper\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BuyerCreateAccount = _resolveComponent(\"BuyerCreateAccount\")!\n const _component_BuyerRegistrationShipping = _resolveComponent(\"BuyerRegistrationShipping\")!\n const _component_BuyerRegistrationCard = _resolveComponent(\"BuyerRegistrationCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.currentState > 2)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 0,\n to: \"#stepper-indicator\"\n }, [\n _createVNode(_component_Stepper, {\n steps: 3,\n \"current-step\": _ctx.currentState - 1\n }, null, 8, [\"current-step\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentState > 2)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 1,\n to: \"#header-back-menu\"\n }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/arrow-left.svg'),\n alt: \"Back arrow\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" \" + _toDisplayString(_ctx.currentState === 3 ? 'Create account' : 'Shipping'), 1)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n (_ctx.currentState === _ctx.registrationState.CREATE_ACCOUNT)\n ? (_openBlock(), _createBlock(_component_BuyerCreateAccount, {\n key: 0,\n \"button-loading-state\": _ctx.buttonLoadingState,\n onStartRegistration: _ctx.startRegistration,\n onConfirmMobileNumber: _ctx.confirmMobileNumber\n }, null, 8, [\"button-loading-state\", \"onStartRegistration\", \"onConfirmMobileNumber\"]))\n : (_ctx.currentState === _ctx.registrationState.SHIPPING)\n ? (_openBlock(), _createBlock(_component_BuyerRegistrationShipping, {\n key: 1,\n \"button-loading-state\": _ctx.buttonLoadingState,\n \"onUpdate:button-loading-state\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.buttonLoadingState) = $event)),\n onCompletedShipping: _ctx.handleShippingCompleted\n }, null, 8, [\"button-loading-state\", \"onCompletedShipping\"]))\n : (_ctx.currentState === _ctx.registrationState.CARD)\n ? (_openBlock(), _createBlock(_component_BuyerRegistrationCard, {\n key: 2,\n \"button-loading-state\": _ctx.buttonLoadingState,\n \"onUpdate:button-loading-state\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.buttonLoadingState) = $event)),\n \"buyer-info\": _ctx.userInfo,\n \"address-info\": _ctx.addressInfo,\n onBuyerRegistered: _ctx.loginUser\n }, null, 8, [\"button-loading-state\", \"buyer-info\", \"address-info\", \"onBuyerRegistered\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '../../assets/flag-usa.svg'\n\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"flex flex--wrap\" }\nconst _hoisted_3 = { class: \"t-12 d-6 center\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Create account\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"flex align-baseline margin-bottom-10\" }, \" Create an account to start buying with Tags. \", -1)\nconst _hoisted_6 = { class: \"flex input-set\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { class: \"flex flex--wrap\" }\nconst _hoisted_10 = { class: \"t-12 d-6 center\" }\nconst _hoisted_11 = [\"onSubmit\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.startRegistration)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.userInfo.firstName) = $event)),\n \"input-id\": \"firstNameInput\",\n label: \"First name\",\n placeholder: \"First name\",\n rules: \"required\",\n autocomplete: \"given-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.userInfo.lastName) = $event)),\n \"input-id\": \"lastNameInput\",\n label: \"Last name\",\n placeholder: \"Last name\",\n rules: \"required\",\n autocomplete: \"family-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.userInfo.email) = $event)),\n \"input-id\": \"emailInput\",\n label: \"Email address\",\n placeholder: \"Email address\",\n rules: \"required\",\n autocomplete: \"email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.userInfo.mobileNumber,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.userInfo.mobileNumber) = $event)),\n \"input-id\": \"mobileNumberInput\",\n label: \"Mobile Number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n autocomplete: \"tel\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Get code\",\n class: \"w-100\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.buttonLoadingState,\n \"complete-label\": \"Done\",\n type: \"submit\"\n }, null, 8, [\"disabled\", \"loading-state\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n }),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.confirmMobileNumber)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.confirmationCode,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n label: \"Code\",\n placeholder: \"Confirmation Code\",\n rules: \"required\",\n class: \"margin-bottom-5\",\n \"input-id\": \"confirmationCode\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.startRegistration && _ctx.startRegistration(...args)))\n }, \"Resend Code\")\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n key: \"confirm\",\n label: \"Next\",\n class: \"w-100\",\n \"button-style\": \"primary\",\n disabled: !meta.valid && _ctx.buttonLoadingState === 'loading',\n \"loading-state\": _ctx.buttonLoadingState,\n type: \"submit\"\n }, null, 8, [\"disabled\", \"loading-state\"])\n ], 40, _hoisted_11)\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n name: 'BuyerCreateAccount',\n props: {\n buttonLoadingState: {\n type: String as () => ButtonLoadingState,\n required: true\n }\n },\n emits: ['startRegistration', 'confirmMobileNumber'],\n data() {\n return {\n hasSentConfirmationCode: false,\n confirmationCode: '',\n userInfo: {\n firstName: '',\n lastName: '',\n email: '',\n mobileNumber: ''\n }\n };\n },\n methods: {\n startRegistration() {\n this.$emit('startRegistration', this.userInfo);\n this.hasSentConfirmationCode = true;\n },\n confirmMobileNumber() {\n console.log('confirm mobile number');\n this.$emit('confirmMobileNumber', this.confirmationCode);\n }\n }\n});\n","import { render } from \"./BuyerCreateAccount.vue?vue&type=template&id=24bffcc1&ts=true\"\nimport script from \"./BuyerCreateAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerCreateAccount.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"flex flex--wrap\" }\nconst _hoisted_3 = { class: \"t-12 d-6 center\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Shipping\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"flex align--baseline margin-bottom-10\" }, \" Enter your shipping information. \", -1)\nconst _hoisted_6 = { class: \"flex input-set\" }\nconst _hoisted_7 = { class: \"flex align--center justify--between\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.startRegistration)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.address1,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.addressInfo.address1) = $event)),\n \"input-id\": \"address1-input\",\n label: \"Address line 1\",\n placeholder: \"Address line 1\",\n rules: \"required\",\n autocomplete: \"address-line1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.address2,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.addressInfo.address2) = $event)),\n \"input-id\": \"address2-input\",\n label: \"Address line 2\",\n placeholder: \"Address line 2\",\n autocomplete: \"address-line2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.city,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.addressInfo.city) = $event)),\n \"input-id\": \"city-input\",\n label: \"City\",\n placeholder: \"City\",\n rules: \"required\",\n autocomplete: \"address-level2\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.addressInfo.state,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.addressInfo.state) = $event)),\n label: \"State\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n \"input-id\": \"state-input\",\n autocomplete: \"address-level1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.postalCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.addressInfo.postalCode) = $event)),\n \"input-id\": \"postal-code-input\",\n label: \"Zip\",\n placeholder: \"Zip\",\n rules: \"required\",\n autocomplete: \"postal-code\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.country,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.addressInfo.country) = $event)),\n \"input-id\": \"country-input\",\n label: \"Country\",\n disabled: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostButton, {\n label: \"Next\",\n class: \"w-100\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.buttonLoadingState,\n \"complete-label\": \"Done\",\n type: \"submit\"\n }, null, 8, [\"disabled\", \"loading-state\"])\n ])\n ])\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n })\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { Address } from '@/models/mailingAddress';\n\nexport default defineComponent({\n name: 'BuyerRegistrationShipping',\n props: {\n buttonLoadingState: {\n type: String as () => ButtonLoadingState,\n required: true\n }\n },\n emits: ['completedShipping'],\n data() {\n return {\n addressInfo: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States'\n } as Address\n };\n },\n methods: {\n startRegistration() {\n this.$emit('completedShipping', this.addressInfo);\n }\n }\n});\n","import { render } from \"./BuyerRegistrationShipping.vue?vue&type=template&id=591860fa&ts=true\"\nimport script from \"./BuyerRegistrationShipping.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerRegistrationShipping.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createTextVNode as _createTextVNode, createVNode as _createVNode, withModifiers as _withModifiers, withCtx as _withCtx, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"flex flex--wrap\" }\nconst _hoisted_3 = { class: \"t-12 d-6 center\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Card\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"flex align--baseline margin-bottom-10\" }, \" Final step! Enter your card details so we can add them to your account. You will not be charged. \", -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"h3\", null, \"Card details\", -1)\nconst _hoisted_7 = { class: \"text-legal\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"/buyer-terms\",\n target: \"_blank\"\n}, \"Terms of Use\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"/privacy-policy\",\n target: \"_blank\"\n}, \"Privacy Policy\", -1)\nconst _hoisted_10 = { class: \"flex align--center justify--between\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-legal margin-top-4\" }, \" By clcking Complete your Tags account will become active, giving you the power to checkout with Tags sellers, instantly. \", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.createAccount)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostStripeCard, {\n key: 0,\n stripe: _ctx.stripe,\n onCard: _ctx.collectCard\n }, null, 8, [\"stripe\", \"onCard\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_7, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"agree-to-terms\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.agreeToTerms) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.agreeToTerms]\n ]),\n _createTextVNode(\"  I agree to the \"),\n _hoisted_8,\n _createTextVNode(\" & \"),\n _hoisted_9,\n _createTextVNode(\". \")\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostButton, {\n label: \"Continue\",\n class: \"w-100\",\n \"button-style\": \"primary\",\n disabled: !meta.valid || !_ctx.agreeToTerms,\n \"loading-state\": _ctx.buttonLoadingState,\n \"complete-label\": \"Done\",\n type: \"submit\"\n }, null, 8, [\"disabled\", \"loading-state\"])\n ]),\n _hoisted_11\n ])\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n })\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n loadStripe,\n Stripe,\n StripeCardElement,\n Token,\n TokenResult\n} from '@stripe/stripe-js';\nimport settings from '@/settings';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport Helpers from '@/helpers';\nimport { mapMutations } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'BuyerRegistrationShipping',\n props: {\n buttonLoadingState: {\n type: String as () => ButtonLoadingState,\n required: true\n },\n buyerInfo: {\n type: Object,\n required: true\n },\n addressInfo: {\n type: Object,\n required: true\n }\n },\n emits: ['buyerRegistered', 'update:buttonLoadingState'],\n data() {\n return {\n agreeToTerms: false,\n stripeCardElement: null as null | StripeCardElement,\n stripe: null as null | Stripe,\n stripeToken: {} as Token,\n clientSecret: '',\n cardError: '' as string | undefined\n };\n },\n async mounted() {\n this.initializeStripe();\n },\n methods: {\n ...mapMutations('global', ['setBannerStatus']),\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.cardError = '';\n },\n async createAccount() {\n // Manually trigger an empty card error\n if (!this.stripeCardElement) {\n this.cardError = 'Please enter your card details.';\n return;\n }\n // TODO: Move this method to the parent with other methods so that we don't\n // have to mutate the props.buttonLoadingState. However this is not\n // simple since we also have to interact with the stripe element.\n this.$emit('update:buttonLoadingState', ButtonLoadingState.loading);\n // get Stripe token\n if (this.stripe && this.stripeCardElement) {\n await this.stripe\n .createToken(this.stripeCardElement)\n .then((result: TokenResult) => {\n if (result.error) {\n console.log(result);\n // Inform the customer that there was an error\n this.cardError = result.error.message;\n } else {\n // use the token\n this.stripeToken = result.token;\n }\n });\n }\n\n try {\n if (this.buyerInfo && this.addressInfo) {\n const updateInfoPayload = {\n userInfo: this.buyerInfo,\n mailingAddress: this.addressInfo,\n stripeToken: this.stripeToken\n };\n\n // format phone number properly\n updateInfoPayload.userInfo.mobileNumber = Helpers.prefixPhoneNumber(\n this.buyerInfo?.mobileNumber\n );\n\n const updateResponse = await FirebaseRequest.createRequest<{\n err: {\n message: string;\n };\n }>(FirebaseRequestTypes.UPDATE_BUYER_INFO, updateInfoPayload);\n\n if (!updateResponse) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n return;\n }\n\n if (updateResponse.status === 'error') {\n this.setBannerStatus({\n text: updateResponse.data?.err.message || 'error',\n type: BannerType.error\n });\n this.$emit(\n 'update:buttonLoadingState',\n ButtonLoadingState.complete\n );\n return;\n }\n this.$emit('update:buttonLoadingState', ButtonLoadingState.complete);\n this.$emit('buyerRegistered');\n }\n } catch (ex) {\n this.$emit('update:buttonLoadingState', ButtonLoadingState.complete);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n }\n }\n});\n","import { render } from \"./BuyerRegistrationCard.vue?vue&type=template&id=66f60aca&ts=true\"\nimport script from \"./BuyerRegistrationCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerRegistrationCard.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseCode,\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport Helpers from '@/helpers';\nimport Stepper from '@/common/Stepper.vue';\nimport BuyerCreateAccount from '@/buyer/registration/BuyerCreateAccount.vue';\nimport BuyerRegistrationShipping from './BuyerRegistrationShipping.vue';\nimport BuyerRegistrationCard from './BuyerRegistrationCard.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { getAuth, signInWithCustomToken } from 'firebase/auth';\nimport { Address } from '@/models/mailingAddress';\nimport { mapMutations } from 'vuex';\nimport { store } from '@/store';\nimport { Buyer } from '../settings/BuyerSettingsInterfaces';\n\nexport default defineComponent({\n name: 'BuyerRegistration',\n components: {\n BuyerCreateAccount,\n BuyerRegistrationShipping,\n BuyerRegistrationCard,\n Stepper\n },\n data() {\n return {\n registrationState: {\n CREATE_ACCOUNT: 1,\n CONFIRM_NUMBER: 2,\n SHIPPING: 3,\n CARD: 4\n },\n currentState: 1,\n userInfo: {\n firstName: '',\n lastName: '',\n email: '',\n mobileNumber: ''\n },\n addressInfo: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States'\n } as Address,\n firebaseToken: '',\n buttonLoadingState: ButtonLoadingState.initial\n };\n },\n methods: {\n ...mapMutations('global', ['setBannerStatus']),\n ...mapMutations('auth', ['setCurrentUser']),\n setRegistrationState(state: number) {\n this.currentState = state;\n },\n // eslint-disable-next-line @typescript-eslint/ban-types\n startRegistration(info: object) {\n Object.assign(this.userInfo, info);\n this.requestConfirmationCode();\n },\n cancelConfirmNumber() {\n this.setRegistrationState(this.registrationState.CREATE_ACCOUNT);\n },\n cancelRegistration() {\n this.setRegistrationState(this.registrationState.CREATE_ACCOUNT);\n },\n handleShippingCompleted(info: Address) {\n Object.assign(this.addressInfo, info);\n this.setRegistrationState(this.registrationState.CARD);\n },\n async requestConfirmationCode() {\n try {\n this.buttonLoadingState = ButtonLoadingState.loading;\n const payload = {\n number: Helpers.prefixPhoneNumber(this.userInfo.mobileNumber),\n context: 'SIGNUP_MOBILE_NUMBER'\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse.status !== APIResponseStatus.OK) {\n if (\n confirmationCodeResponse.code ===\n APIResponseCode.INVALID_PHONE_NUMBER\n ) {\n this.setBannerStatus({\n text: BannerMessageStrings.INVALID_PHONE_NUMBER_SIGNUP,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n return;\n }\n\n if (\n confirmationCodeResponse.code ===\n APIResponseCode.PHONE_NUMBER_ALREADY_IN_USE\n ) {\n this.setBannerStatus({\n text: BannerMessageStrings.PHONE_NUMBER_IN_USE,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n return;\n }\n\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n return;\n }\n this.buttonLoadingState = ButtonLoadingState.complete;\n // this.setRegistrationState(this.registrationState.CONFIRM_NUMBER);\n this.setBannerStatus({\n text: BannerMessageStrings.BUYER_SENDING_CONFIRMATION_CODE,\n type: BannerType.success\n });\n } catch (ex) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n }\n },\n async confirmMobileNumber(confirmationCode: string) {\n try {\n this.buttonLoadingState = ButtonLoadingState.loading;\n const payload = {\n number: Helpers.prefixPhoneNumber(this.userInfo.mobileNumber),\n code: confirmationCode,\n pendingEmail: this.userInfo.email,\n firstName: this.userInfo.firstName,\n lastName: this.userInfo.lastName,\n context: 'SIGNUP_MOBILE_NUMBER'\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest<{\n token: string;\n }>(FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE, payload);\n\n if (!confirmationCodeResponse.data?.token) {\n this.setBannerStatus({\n text: BannerMessageStrings.BUYER_INVALID_CODE,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n return;\n }\n\n // save token, but don't login the user yet\n this.firebaseToken = confirmationCodeResponse.data.token;\n\n this.setRegistrationState(this.registrationState.SHIPPING);\n this.buttonLoadingState = ButtonLoadingState.complete;\n this.setBannerStatus(null);\n } catch (ex) {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.buttonLoadingState = ButtonLoadingState.complete;\n }\n },\n async loginUser() {\n // login user\n const a = await signInWithCustomToken(getAuth(), this.firebaseToken);\n if (!(a && a.user && a.user.uid)) {\n this.setBannerStatus({\n text: BannerMessageStrings.BUYER_PHONE_NUMBER_LOGIN_ERROR,\n type: BannerType.error\n });\n }\n\n const u = await getAuth().currentUser;\n this.setCurrentUser(u);\n\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (buyerResponse.status === APIResponseStatus.OK && buyerResponse.data) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n }\n\n await this.$router.push({ path: '/user' });\n },\n goBack() {\n let newState = this.currentState - 1;\n if (newState === this.registrationState.CONFIRM_NUMBER) {\n newState = this.registrationState.CREATE_ACCOUNT;\n }\n this.setRegistrationState(newState);\n }\n }\n});\n","import { render } from \"./BuyerRegistration.vue?vue&type=template&id=047d11f7&ts=true\"\nimport script from \"./BuyerRegistration.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerRegistration.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, createBlock as _createBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../assets/shopify.svg'\nimport _imports_1 from '../assets/no-results.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c7d0fab\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"purchase-orders\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"divider margin-left-8\"\n}\nconst _hoisted_3 = { class: \"flex justify--center flex--wrap\" }\nconst _hoisted_4 = { class: \"flex flex--row flex--full-width no-pad standard-margins justify--end\" }\nconst _hoisted_5 = { class: \"search-filter-container t-4 no-pad\" }\nconst _hoisted_6 = { class: \"t-12 flex no-pad\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"flex--full-width\"\n}\nconst _hoisted_8 = [\"title\"]\nconst _hoisted_9 = { class: \"flex flex--no-wrap\" }\nconst _hoisted_10 = { class: \"rounded-image rounded-image--small\" }\nconst _hoisted_11 = [\"src\"]\nconst _hoisted_12 = { class: \"product-type-image\" }\nconst _hoisted_13 = {\n key: 0,\n src: _imports_0,\n alt: \"\",\n title: \"Shopify Product\"\n}\nconst _hoisted_14 = [\"title\"]\nconst _hoisted_15 = [\"title\"]\nconst _hoisted_16 = [\"title\"]\nconst _hoisted_17 = { key: 4 }\nconst _hoisted_18 = {\n key: 1,\n class: \"t-6\",\n style: {\"margin\":\"auto\"}\n}\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" You currently have no purchases. To make a purchase text, scan, or click Tags that you see in the wild. \", -1))\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://support.tagscommerce.com/hc/en-us/categories/360002454434-Buyer-Experience\",\n target: \"_blank\"\n}, \"Learn more -->\", -1))\nconst _hoisted_23 = [\n _hoisted_19,\n _hoisted_20,\n _hoisted_21,\n _hoisted_22\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filterOptions, (filter, index) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: index }, [\n _createVNode(_component_BoostButton, {\n label: filter.name,\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.searchObject.filterValue === filter.value\n }),\n onClick: ($event: any) => (_ctx.searchObject.filterValue = filter.value)\n }, null, 8, [\"label\", \"class\", \"onClick\"]),\n (index === 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, \"|\"))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: \"Purchases\",\n message: \"View order details and track the status of your orders on this page.\"\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.searchObject.sortBy,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchObject.sortBy) = $event)),\n options: _ctx.sortOptions,\n value: _ctx.searchObject.sortBy,\n \"input-id\": \"select-sort-option\"\n }, null, 8, [\"modelValue\", \"options\", \"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_ctx.computedTransactions?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_BoostTable, {\n rows: _ctx.computedTransactions,\n columns: _ctx.columns,\n \"click-id\": \"transactionId\",\n onAction: _ctx.viewOrder\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'imageUrl')\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n title: data.row.productTitle\n }, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"img\", {\n src: data.row.imageUrl || '/img/default-image.png',\n alt: \"Product image\"\n }, null, 8, _hoisted_11),\n _createElementVNode(\"div\", _hoisted_12, [\n (data.row.productSource === 'Shopify')\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_13))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ], 8, _hoisted_8))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'productName')\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 1,\n title: data.row.productName\n }, _toDisplayString(data.row.productName), 9, _hoisted_14))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'total')\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 2,\n title: data.row.total\n }, _toDisplayString(data.row.total), 9, _hoisted_15))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'orderDate')\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 3,\n title: data.row.total\n }, _toDisplayString(_ctx.processDate(data.row.orderDate)), 9, _hoisted_16))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"pill margin-right-10\", {\n 'pill-pending': data.row.status === _ctx.ShippingStatus.pending,\n 'pill-positive':\n data.row.status === _ctx.ShippingStatus.fulfilled,\n 'pill-failed': data.row.status === _ctx.ShippingStatus.refunded,\n 'pill-negative': data.row.status === _ctx.ShippingStatus.failed\n }])\n }, _toDisplayString(_ctx.getShippingStatusLabel(data.row.status)), 3)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, _hoisted_23))\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { PurchaseOrder } from '@/../models/purchaseOrder';\nimport { ShippingStatus } from '@/../enums/shippingStatus';\nimport Helpers from '@/helpers';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { mapMutations } from 'vuex';\nimport { TagType } from '@/../enums/tagType';\nimport { TransactionSearch } from '@/seller/transactions/TransactionsList.vue';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\n\nexport default defineComponent({\n name: 'BuyerProductOrders',\n data() {\n return {\n TagType,\n ShippingStatus,\n searchObject: {\n filterValue: 'All',\n sortBy: 'Date',\n searchValue: ''\n } as TransactionSearch,\n transactionCount: 0,\n filterOptions: [\n { name: 'All', value: 'All' },\n { name: 'Products', value: 'Products' },\n { name: 'Digital', value: 'Digital' }\n ],\n sortOptions: [\n { name: 'Most Recent', value: 'Date' },\n { name: 'Least Recent', value: 'DateAsc' },\n { name: 'Least Expensive', value: 'Amount' },\n { name: 'Most Expensive', value: 'AmountAsc' },\n { name: 'Name', value: 'Name' }\n ],\n orders: [] as PurchaseOrder[],\n columns: [\n {\n id: 'imageUrl',\n label: ''\n },\n {\n id: 'productName',\n label: 'Name'\n },\n {\n id: 'productHashtag',\n label: 'Tag'\n },\n {\n id: 'total',\n label: 'Amount'\n },\n {\n id: 'orderDate',\n label: 'Date'\n },\n {\n id: 'badges',\n label: 'Status'\n }\n ] as ColumnItem[]\n };\n },\n computed: {\n computedTransactions(): PurchaseOrder[] {\n const list = this.orders\n .filter(this.filerPurchases)\n .sort(this.sortPurchases);\n this.setPurchasesIds(\n list.map((x) => `${x.accountId}/${x.transactionId}`)\n );\n return list;\n }\n },\n async mounted() {\n await this.getOrders();\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapMutations('purchases', ['setPurchasesIds']),\n filerPurchases(po: PurchaseOrder): boolean {\n let results = true;\n switch (this.searchObject.filterValue) {\n case 'Products':\n results = po.type === TagType.PRODUCT;\n break;\n case 'Digital':\n results = po.type === TagType.TIP;\n break;\n }\n return results;\n },\n sortPurchases(a: PurchaseOrder, b: PurchaseOrder): number {\n let results = 0;\n\n switch (this.searchObject.sortBy) {\n case 'Name':\n results = a.productName.localeCompare(b.productName);\n break;\n case 'Date':\n results = b.orderDate - a.orderDate;\n break;\n case 'DateAsc':\n results = a.orderDate - b.orderDate;\n break;\n case 'AmountAsc':\n results =\n parseFloat(b.total.replace('$', '')) -\n parseFloat(a.total.replace('$', ''));\n break;\n case 'Amount':\n results =\n parseFloat(a.total.replace('$', '')) -\n parseFloat(b.total.replace('$', ''));\n break;\n }\n\n return results;\n },\n processDate(date: number) {\n return Helpers.processDate(date);\n },\n getShippingStatusLabel(status: ShippingStatus) {\n return Helpers.getShippingStatusLabel(status);\n },\n async getOrders() {\n if (store.state.auth.currentUser) {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_PURCHASES,\n { userId: store.state.auth.currentUser.uid }\n );\n if (result.status === APIResponseStatus.OK) {\n this.orders = (result.data as PurchaseOrder[]).sort((a, b) => {\n return b.orderDate - a.orderDate;\n });\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n }\n },\n getHashtag(hashtag: string) {\n return Helpers.formatHashTag(hashtag);\n },\n viewOrder(transactionId: string) {\n const order = this.orders.find((order) => {\n return order.transactionId === transactionId;\n });\n if (order) {\n this.$router.push({\n path: `/user/purchases/${order.accountId}/${transactionId}`\n });\n }\n }\n }\n});\n","import { render } from \"./BuyerProductOrders.vue?vue&type=template&id=4c7d0fab&scoped=true&ts=true\"\nimport script from \"./BuyerProductOrders.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerProductOrders.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerProductOrders.vue?vue&type=style&index=0&id=4c7d0fab&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4c7d0fab\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Settings\", -1)\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { id: \"settings\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { key: 2 }\nconst _hoisted_9 = { key: 3 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BuyerAccount = _resolveComponent(\"BuyerAccount\")!\n const _component_BuyerPayment = _resolveComponent(\"BuyerPayment\")!\n const _component_BuyerShipping = _resolveComponent(\"BuyerShipping\")!\n const _component_BuyerStripe = _resolveComponent(\"BuyerStripe\")!\n const _component_confirm_component = _resolveComponent(\"confirm-component\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('../../assets/cancel-key.svg'),\n alt: \"Cancel\"\n }, null, 8, _hoisted_2)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _hoisted_3\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Account\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'account'\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.changeTab('account')))\n }, null, 8, [\"class\"])\n ]),\n (_ctx.buyerSettings.affiliateUsername)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_4, [\n _createVNode(_component_BoostButton, {\n label: \"Stripe\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'stripe'\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.changeTab('stripe')))\n }, null, 8, [\"class\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Payment & Billing\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'payment'\n }),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.changeTab('payment')))\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Shipping\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'shipping'\n }),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.changeTab('shipping')))\n }, null, 8, [\"class\"])\n ])\n ])\n ])),\n _createElementVNode(\"section\", _hoisted_5, [\n (_ctx.selectedMenu === 'account')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_BuyerAccount, {\n onUpdateBuyerSettings: _ctx.updateSettings,\n onHasUnsavedChanges: _cache[4] || (_cache[4] = (change) => (_ctx.buyerAccountHasChanges = change))\n }, null, 8, [\"onUpdateBuyerSettings\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'payment')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_BuyerPayment)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'shipping')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_BuyerShipping)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.selectedMenu === 'stripe')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(_component_BuyerStripe, {\n onConnectToStripe: _ctx.connectToStripe,\n onDisconnectFromStripe: _ctx.disconnectFromStripe\n }, null, 8, [\"onConnectToStripe\", \"onDisconnectFromStripe\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_confirm_component, { ref: \"confirmation\" }, null, 512)\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4f7c6452\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"t-12 flex--full-width standard-margins no-pad\" }\nconst _hoisted_2 = { class: \"flex input-set\" }\nconst _hoisted_3 = { class: \"margin-bottom-10\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostImageUpload = _resolveComponent(\"BoostImageUpload\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border\",\n title: \"Account\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_BoostImageUpload, {\n \"image-url\": _ctx.imageUrl,\n \"onUpdate:image-url\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.imageUrl) = $event)),\n class: \"margin-top-14\",\n label: \"Profile Picture\",\n \"write-on-preview\": true,\n onImageFilePreviewed: _cache[1] || (_cache[1] = ($event: any) => (_ctx.logoUploaded($event)))\n }, null, 8, [\"image-url\"])\n ]),\n _createVNode(_component_BoostSectionHeader, {\n title: \"General\",\n \"is-compact\": \"\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width no-pad\",\n onSubmit: _cache[7] || (_cache[7] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.firstName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.firstName) = $event)),\n label: \"First Name\",\n type: \"text\",\n \"input-id\": \"buyer-first-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.lastName,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.lastName) = $event)),\n label: \"Last Name\",\n type: \"text\",\n \"input-id\": \"buyer-last-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.currentBuyer.affiliateUsername,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.currentBuyer.affiliateUsername) = $event)),\n label: \"Advocate username\",\n type: \"text\",\n \"input-id\": \"affiliate-username\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.email,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.email) = $event)),\n label: \"Email address\",\n rules: \"required|email\",\n type: \"text\",\n \"input-id\": \"email-address\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.email && !_ctx.currentBuyer.isVerified)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n class: \"mb-4 text-xs sm:text-sm\",\n \"button-style\": \"link\",\n onClick: _ctx.resendBuyerVerification\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Resend verification email\")\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.currentBuyer.mobileNumber,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.currentBuyer.mobileNumber) = $event)),\n label: \"Mobile number\",\n type: \"text\",\n \"input-id\": \"mobile-number\",\n autocomplete: \"tel\",\n disabled: true\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n class: \"pl-0 text-xs sm:text-sm\",\n label: \"Change number\",\n \"button-style\": \"link\",\n type: \"button\",\n onClick: _ctx.changeMobileNumber\n }, null, 8, [\"onClick\"]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: !meta.valid,\n onClick: _ctx.commitChanges\n }, null, 8, [\"disabled\", \"onClick\"])\n ]))\n ])\n ], 32)\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n })\n ], 64))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\nimport { mapMutations } from 'vuex';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport { ImageFilePreviewedEvent } from '@/common/controls/BoostImageUpload.vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\n\nexport default defineComponent({\n emits: ['updateBuyerSettings', 'hasUnsavedChanges'],\n data() {\n return {\n firstName: '',\n lastName: '',\n email: '',\n imageUrl: ''\n };\n },\n computed: {\n currentBuyer() {\n return this.$store.getters['auth/getCurrentBuyer'] as Buyer;\n }\n },\n watch: {\n firstName() {\n this.compareOriginalBuyer();\n },\n lastName() {\n this.compareOriginalBuyer();\n },\n email() {\n this.compareOriginalBuyer();\n },\n imageUrl() {\n this.compareOriginalBuyer();\n }\n },\n mounted() {\n // set up current buyer info\n this.firstName = this.currentBuyer.firstName;\n this.lastName = this.currentBuyer.lastName;\n this.email = this.currentBuyer.email;\n this.imageUrl = this.currentBuyer.imageUrl;\n },\n methods: {\n ...mapMutations({\n setBuyerVerificationAttempted: 'auth/setBuyerVerificationAttempted'\n }),\n compareOriginalBuyer() {\n const hasChanges =\n this.firstName !== this.currentBuyer.firstName ||\n this.lastName !== this.currentBuyer.lastName ||\n this.email !== this.currentBuyer.email ||\n this.imageUrl !== this.currentBuyer.imageUrl;\n this.$emit('hasUnsavedChanges', hasChanges);\n },\n logoUploaded(event: ImageFilePreviewedEvent) {\n this.imageUrl = event.data;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_SETTINGS_IMAGE_UPLOADED,\n type: BannerType.success\n });\n },\n changeMobileNumber() {\n this.$router.push({ name: 'buyer-number-change' });\n },\n commitChanges() {\n this.$emit('updateBuyerSettings', {\n ...this.currentBuyer,\n firstName: this.firstName,\n lastName: this.lastName,\n email: this.email,\n imageUrl: this.imageUrl\n });\n },\n resendBuyerVerification(): void {\n // \"hasAttemptedVerification\" will be set to true when the\n // RESEND_BUYER_VERIFICATION_EMAIL request is sent to the server.\n // But to not have to refresh the currentBuyer with a separate request\n // to GET_BUYER, we set this to true locally. The next time we refresh\n // the currentBuyer, \"hasAttemptedVerification\" will be true.\n this.setBuyerVerificationAttempted(true);\n\n FirebaseRequest.createRequest(\n FirebaseRequestTypes.RESEND_BUYER_VERIFICATION_EMAIL,\n {}\n );\n\n // Immediately display the success message.\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_RESEND_VERIFICATION_EMAIL_SUCCESS,\n type: BannerType.info\n });\n }\n }\n});\n","import { render } from \"./BuyerAccount.vue?vue&type=template&id=4f7c6452&scoped=true&ts=true\"\nimport script from \"./BuyerAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerAccount.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerAccount.vue?vue&type=style&index=0&id=4f7c6452&scoped=true&lang=css\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4f7c6452\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, Teleport as _Teleport, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c3a0dac\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Add a new valid payment method or update your existing information.\", -1))\nconst _hoisted_2 = { class: \"flex t-12 flex--wrap no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_StripeCreditCardDetailsComponent = _resolveComponent(\"StripeCreditCardDetailsComponent\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostInfoCard = _resolveComponent(\"BoostInfoCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border\",\n title: \"Payment\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n (_ctx.canAddCard)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Add Payment Method\",\n \"button-style\": \"optional\",\n class: \"btn-form button-disabled-override\",\n \"is-disabled\": !_ctx.canAddCard,\n onClick: _ctx.addPaymentCard\n }, null, 8, [\"is-disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.currentBuyer.paymentOptions, (creditCard) => {\n return (_openBlock(), _createBlock(_component_BoostInfoCard, {\n key: creditCard.id,\n icon: require('@/assets/credit-card.svg'),\n class: \"payment-card-item t-4 border-right bottom-border top-border\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: creditCard\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_StripeCreditCardDetailsComponent, { card: creditCard }, null, 8, [\"card\"])\n ]),\n _: 2\n }, 1032, [\"icon\"]))\n }), 128)),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: true\n })\n ]))\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-637bdd58\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-details-card align--center\" }\nconst _hoisted_2 = { class: \"text-bold\" }\nconst _hoisted_3 = { class: \"payment-details-card--number\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"margin-top-4\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"pill pill-positive default-badge\" }, \"Default\", -1))\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.card?.brand?.toUpperCase()), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.formattedCardNumber), 1),\n _createElementVNode(\"div\", null, \"Exp \" + _toDisplayString(_ctx.cardExpirationDate), 1),\n (_ctx.card.isDefault && !_ctx.hideDefault)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_6))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport type { PropType } from 'vue';\nimport { PaymentOption } from '../../buyer/settings/BuyerSettingsInterfaces';\n\n/**\n * These credit card brands can be found in the Stripe documentation:\n * https://stripe.com/docs/api/cards/object#card_object-brand\n * Further research about each brand shows that these are how the\n * 14, 15, or 16 digits are formatted on each card.\n */\nexport const CARD_BRAND_DIGIT_FORMAT: { [key: string]: string } = {\n amex: '**** ****** *',\n diners: '**** ******',\n discover: '**** **** ****',\n visa: '**** **** ****',\n mastercard: '**** **** ****',\n jcb: '**** **** ****',\n unionpay: '**** **** ****',\n unknown: ''\n};\n\nexport function getMaskedCreditCardNumber(\n cardBrand: string | undefined,\n last4Digits: string\n): string {\n const cardBrandLower = cardBrand?.toLowerCase();\n if (cardBrandLower) {\n const digitMask = CARD_BRAND_DIGIT_FORMAT[cardBrandLower] ?? '';\n return `${digitMask} ${last4Digits}`.trim();\n }\n return '';\n}\n\nexport default defineComponent({\n name: 'CreditCardDetailsComponent',\n props: {\n card: {\n type: Object as PropType,\n required: true\n },\n hideDefault: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n formattedCardNumber() {\n return getMaskedCreditCardNumber(\n this.card?.brand?.toLowerCase(),\n this.card?.last4\n );\n },\n cardExpirationDate() {\n if (this.card?.expiredMonth && this.card?.expiredYear) {\n const paddedMonth = this.card.expiredMonth.toString().padStart(2, '0');\n return `${paddedMonth}/${this.card.expiredYear.toString().slice(-2)}`;\n }\n return '';\n }\n }\n});\n","import { render } from \"./StripeCreditCardDetailsComponent.vue?vue&type=template&id=637bdd58&scoped=true&ts=true\"\nimport script from \"./StripeCreditCardDetailsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./StripeCreditCardDetailsComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./StripeCreditCardDetailsComponent.vue?vue&type=style&index=0&id=637bdd58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-637bdd58\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\nimport StripeCreditCardDetailsComponent from '@/common/info/StripeCreditCardDetailsComponent.vue';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport { Buyer, PaymentOption } from './BuyerSettingsInterfaces';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'BuyerPayment',\n components: { StripeCreditCardDetailsComponent },\n data() {\n return {\n menuItems: [\n {\n label: 'Make Default',\n onClick: (creditCard) => {\n this.setCardAsDefault(creditCard as unknown as PaymentOption);\n },\n isDisabled: (creditCard) =>\n (creditCard as unknown as PaymentOption).isDefault\n },\n {\n label: 'Remove Card',\n onClick: (creditCard) => {\n this.removePaymentCard(creditCard);\n },\n isDisabled: (creditCard) => creditCard.isDefault\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentBuyer: 'auth/getCurrentBuyer'\n }),\n canAddCard(): boolean {\n return (this.currentBuyer as Buyer).paymentOptions.length < 3;\n },\n paymentOptions(): PaymentOption[] {\n return (this.currentBuyer as Buyer)?.paymentOptions?.sort((b, a) =>\n a.isDefault ? 1 : -1\n );\n }\n },\n methods: {\n addPaymentCard() {\n this.$router.push({ name: 'buyer-card-change' });\n },\n async removePaymentCard(card: PaymentOption) {\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Removing payment option...'\n });\n\n // this menu option is disabled if this is a default payment method\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REMOVE_BUYER_PAYMENT_OPTION,\n { cardId: card.id }\n );\n if (response && response.status === APIResponseStatus.OK) {\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n } else {\n this.$store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.$store.commit('global/setLoading', false);\n },\n async setCardAsDefault(card: PaymentOption) {\n if (!card) {\n this.$store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n return;\n }\n\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Setting default payment...'\n });\n const results = await this.$store.dispatch(\n 'accounts/setPaymentOptionAsDefault',\n {\n paymentMethodId: card.id\n }\n );\n if (results) {\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n }\n\n this.$store.commit('global/setLoading', false);\n }\n }\n});\n","import { render } from \"./BuyerPayment.vue?vue&type=template&id=5c3a0dac&scoped=true&ts=true\"\nimport script from \"./BuyerPayment.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerPayment.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerPayment.vue?vue&type=style&index=0&id=5c3a0dac&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c3a0dac\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, Teleport as _Teleport, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5b8df2d5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Add a new valid U.S shipping address or update your existing information. \", -1))\nconst _hoisted_2 = { class: \"flex t-12 flex--wrap no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_AddressDetailComponent = _resolveComponent(\"AddressDetailComponent\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostInfoCard = _resolveComponent(\"BoostInfoCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border\",\n title: \"Shipping\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n (_ctx.canAddShippingAddress)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Add Shipping Address\",\n \"button-style\": \"optional\",\n type: \"button\",\n class: \"btn-form button-disabled-override\",\n \"is-disabled\": !_ctx.canAddShippingAddress,\n onClick: _ctx.addShippingAddress\n }, null, 8, [\"is-disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.shippingAddresses, (address) => {\n return (_openBlock(), _createBlock(_component_BoostInfoCard, {\n key: address.id,\n icon: require('@/assets/truck.svg'),\n class: \"shipping-card-item t-4 border-right bottom-border\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: address\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_AddressDetailComponent, {\n class: \"address-card\",\n address: address\n }, null, 8, [\"address\"])\n ]),\n _: 2\n }, 1032, [\"icon\"]))\n }), 128)),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Save\",\n \"button-style\": \"primary\",\n class: \"margin-left-4 margin-bottom-0\",\n type: \"button\",\n disabled: true\n })\n ]))\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-38bf72e7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"address-details-card align--center justify--start\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"text-bold\"\n}\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = {\n key: 2,\n class: \"margin-top-4\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"pill pill-positive default-badge\" }, \"Default\", -1))\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.address.address1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(_ctx.address.address1), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.address.address2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_ctx.address.address2), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.address.city) + \", \" + _toDisplayString(_ctx.address.state) + \" \" + _toDisplayString(_ctx.address.postalCode), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.address.country), 1),\n (_ctx.address.isDefault && !_ctx.hideDefault)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_6))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport type { PropType } from 'vue';\nimport { ShippingAddress } from '@/buyer/settings/BuyerSettingsInterfaces';\n\nexport default defineComponent({\n name: 'AddressDetailComponent',\n props: {\n address: {\n type: Object as PropType,\n required: true\n },\n hideDefault: {\n type: Boolean,\n default: false\n }\n }\n});\n","import { render } from \"./AddressDetailComponent.vue?vue&type=template&id=38bf72e7&scoped=true&ts=true\"\nimport script from \"./AddressDetailComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressDetailComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./AddressDetailComponent.vue?vue&type=style&index=0&id=38bf72e7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38bf72e7\"]])\n\nexport default __exports__","\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport { Buyer, ShippingAddress } from './BuyerSettingsInterfaces';\nimport AddressDetailComponent from '@/common/info/AddressDetailComponent.vue';\nimport { defineComponent } from 'vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nexport enum ReplyCodes {\n CANNOT_REMOVE_DEFAULT_ADDRESS = 'CANNOT_REMOVE_DEFAULT_ADDRESS'\n}\n\nexport default defineComponent({\n name: 'BuyerShipping',\n components: {\n AddressDetailComponent\n },\n data() {\n return {\n menuItems: [\n {\n label: 'Make Default',\n onClick: (address) => {\n this.setDefaultShippingAddress(address);\n },\n isDisabled: (address) => address.isDefault\n },\n {\n label: 'Edit Address',\n onClick: (address) => {\n this.editShippingAddress(address);\n }\n },\n {\n label: 'Remove Address',\n onClick: (address) => {\n this.removeShippingAddress(address);\n },\n isDisabled: (address) => address.isDefault\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n ...mapGetters({\n currentBuyer: 'auth/getCurrentBuyer'\n }),\n canAddShippingAddress(): boolean {\n return this.shippingAddresses.length < 12;\n },\n shippingAddresses(): ShippingAddress[] {\n return (this.currentBuyer as Buyer)?.shippingAddresses;\n }\n },\n methods: {\n async setDefaultShippingAddress(address: ShippingAddress) {\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Setting new default address...'\n });\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_BUYER_SHIPPING_ADDRESS,\n { shippingAddress: { ...address, isDefault: true } }\n );\n\n if (response.status === APIResponseStatus.OK) {\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n }\n this.$store.commit('global/setLoading', false);\n },\n addShippingAddress() {\n this.$router.push({ name: 'buyer-shipping-address-change' });\n },\n editShippingAddress(address: ShippingAddress) {\n if (address) {\n this.$router.push({\n name: 'buyer-shipping-address-change',\n params: { addressId: address.id }\n });\n }\n },\n async removeShippingAddress(address: ShippingAddress) {\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Removing shipping address..'\n });\n // this menu option is disabled if this is a default shipping address\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REMOVE_BUYER_SHIPPING_ADDRESS,\n { addressId: address.id }\n );\n\n if (response.status === APIResponseStatus.OK) {\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n } else {\n store.commit('global/setBannerStatus', {\n text:\n response.code === ReplyCodes.CANNOT_REMOVE_DEFAULT_ADDRESS\n ? BannerMessageStrings.BUYER_REMOVE_DEFAULT_ADDRESS_NOT_ALLOWED\n : BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.$store.commit('global/setLoading', false);\n }\n }\n});\n","import { render } from \"./BuyerShipping.vue?vue&type=template&id=5b8df2d5&scoped=true&ts=true\"\nimport script from \"./BuyerShipping.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerShipping.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerShipping.vue?vue&type=style&index=0&id=5b8df2d5&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5b8df2d5\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n\n return (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n title: \"Stripe\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n (_ctx.buyerSettings.isAffiliatePayoutConnected)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, \" Disconnecting from Stripe will prevent you from withdrawing any earnings. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_2, \" Connect Stripe to withdraw commissions earned from selling with Tags. \")),\n (_ctx.buyerSettings.isAffiliatePayoutConnected)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 2,\n label: \"Disconnect Stripe\",\n \"button-style\": \"optional\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('disconnectFromStripe')))\n }))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 3,\n label: \"Connect Stripe\",\n \"button-style\": \"primary\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('connectToStripe')))\n }))\n ]),\n _: 1\n }))\n}","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n emits: ['disconnectFromStripe', 'connectToStripe'],\n computed: {\n ...mapGetters({\n buyerSettings: 'auth/getCurrentBuyer'\n })\n }\n});\n","import { render } from \"./BuyerStripe.vue?vue&type=template&id=2bbf52a6&ts=true\"\nimport script from \"./BuyerStripe.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerStripe.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\nimport { Buyer } from './BuyerSettingsInterfaces';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters, mapMutations } from 'vuex';\nimport BuyerAccount from './BuyerAccount.vue';\nimport BuyerPayment from './BuyerPayment.vue';\nimport BuyerShipping from './BuyerShipping.vue';\nimport BuyerStripe from './BuyerStripe.vue';\nimport {\n PopupMessage,\n PopupMessageButtonCaptions,\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\nimport ConfirmComponent from '@/common/PopupComponent/ConfirmComponent.vue';\nimport settings from '@/settings';\n\nexport default defineComponent({\n components: {\n BuyerAccount,\n BuyerPayment,\n BuyerShipping,\n BuyerStripe,\n ConfirmComponent\n },\n data() {\n return {\n selectedMenu: 'account',\n popup: {} as PopupMessage,\n buyerAccountHasChanges: false\n };\n },\n computed: {\n ...mapGetters({\n buyerSettings: 'auth/getCurrentBuyer'\n })\n },\n async created() {\n if (this.$route.query.callback === 'stripe_callback') {\n this.handleStripeCallback();\n }\n },\n async mounted() {\n this.selectedMenu = (this.$route.query['menu'] as string) || 'account';\n await this.getCurrentBuyer();\n },\n methods: {\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus'\n }),\n async getCurrentBuyer() {\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Retrieving account details...'\n });\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n this.$store.commit('global/setLoading', false);\n },\n async changeTab(menu: string) {\n if (!this.buyerAccountHasChanges) {\n this.selectedMenu = menu;\n return;\n }\n\n const confirmation = this.$refs.confirmation as typeof ConfirmComponent;\n const confirmDiscard = await confirmation.show(\n PopupMessageTitles.UNSAVED_CHANGES,\n PopupMessageStrings.UNSAVED_CHANGES,\n PopupMessageButtonCaptions.DISCARD_CHANGES\n );\n if (confirmDiscard) {\n // abandoning changes\n this.selectedMenu = menu;\n this.buyerAccountHasChanges = false;\n }\n },\n async updateSettings(settings: Buyer) {\n const buyer = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.SAVE_BUYER,\n settings\n );\n if (buyer?.status !== APIResponseStatus.OK) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_FORM_ERROR,\n type: BannerType.error\n });\n } else {\n store.commit('auth/setCurrentBuyer', settings);\n this.$router.push({\n name: 'buyer-product-orders'\n });\n }\n },\n goBack() {\n this.$router.push({\n name: 'buyer-product-orders'\n });\n },\n connectToStripe() {\n const currentBuyer = this.buyerSettings as Buyer;\n const stripeAppId = settings.STRIPE_APP_ID;\n const callBackURL =\n location.origin + '/user/settings?callback=stripe_callback';\n window.location.href = `https://connect.stripe.com/oauth/authorize?response_type=code&client_id=${stripeAppId}&scope=read_write&state=${currentBuyer.userId}&redirect_uri=${callBackURL}`;\n },\n async disconnectFromStripe() {\n store.commit('global/setLoading', true);\n const currentBuyer = this.buyerSettings as Buyer;\n const stripeResult = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.DISCONNECT_AFFILIATE_PAYOUT,\n { userId: currentBuyer.userId }\n );\n if (stripeResult.status === APIResponseStatus.OK) {\n this.getCurrentBuyer();\n this.setBannerStatus({\n text: BannerMessageStrings.STRIPE_DISCONNECTED,\n type: BannerType.info\n });\n } else {\n //TODO: Potential error coming from server that disallows disconnect until\n // all earnings are paid out\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR,\n type: BannerType.error\n });\n }\n store.commit('global/setLoading', false);\n },\n async handleStripeCallback() {\n store.commit('global/setLoading', true);\n this.selectedMenu = 'stripe';\n try {\n const code = this.$route.query.code;\n const userId = (this.buyerSettings as Buyer).userId;\n store.commit('global/setLoading', true);\n const stripeResult = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CONNECT_AFFILIATE_PAYOUT,\n { userId, code }\n );\n\n if (stripeResult.status === APIResponseStatus.OK) {\n // Reload the account with the updated stripe credentials\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_SETTINGS_STRIPE_CONNECTED\n });\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR,\n type: BannerType.error\n });\n }\n } catch (ex) {\n this.setBannerStatus({\n text: BannerMessageStrings.SELLER_STRIPE_ACCOUNT_ERROR + ex,\n type: BannerType.error\n });\n }\n this.getCurrentBuyer();\n store.commit('global/setLoading', false);\n }\n }\n});\n","import { render } from \"./BuyerSettings.vue?vue&type=template&id=5f54b430&ts=true\"\nimport script from \"./BuyerSettings.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerSettings.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers } from \"vue\"\n\nconst _hoisted_1 = {\n key: 1,\n class: \"flex flex--wrap justify--center\"\n}\nconst _hoisted_2 = { class: \"t-6 no-pad\" }\nconst _hoisted_3 = { class: \"t-12 no-pad\" }\nconst _hoisted_4 = { class: \"buyer-checkout-product\" }\nconst _hoisted_5 = { class: \"buyer-checkout-product__img\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"buyer-checkout-product t-12 no-pad\" }\nconst _hoisted_9 = { class: \"margin-top-10\" }\nconst _hoisted_10 = {\n key: 1,\n class: \"buyer-checkout-product__options\"\n}\nconst _hoisted_11 = { class: \"t-12 no-pad flex flex--wrap\" }\nconst _hoisted_12 = { class: \"w-100\" }\nconst _hoisted_13 = { class: \"buyer-checkout-product__card-option margin-bottom-5\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"buyer-checkout-product__card-option-text\"\n}\nconst _hoisted_15 = [\"onSubmit\"]\nconst _hoisted_16 = {\n key: 1,\n role: \"alert\"\n}\nconst _hoisted_17 = { class: \"error-message\" }\nconst _hoisted_18 = { class: \"flex input-set\" }\nconst _hoisted_19 = { class: \"flex input-set\" }\nconst _hoisted_20 = { class: \"flex input-set margin-bottom-4\" }\nconst _hoisted_21 = { key: 2 }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"pay-message\" }, null, -1)\nconst _hoisted_23 = { class: \"flex align--center justify--center\" }\nconst _hoisted_24 = { class: \"text-legal text-light text-align--center margin-top-8\" }\nconst _hoisted_25 = { class: \"margin-bottom-8\" }\nconst _hoisted_26 = { class: \"t-12 flex justify--center no-pad\" }\nconst _hoisted_27 = { key: 0 }\nconst _hoisted_28 = [\"href\"]\nconst _hoisted_29 = {\n key: 1,\n class: \"flex flex--wrap justify--center\"\n}\nconst _hoisted_30 = { class: \"t-12 no-pad\" }\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"Return Policy\", -1)\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Order Confirmation\")\n], -1)\nconst _hoisted_33 = { class: \"t-12 no-pad\" }\nconst _hoisted_34 = { class: \"buyer-checkout-product\" }\nconst _hoisted_35 = { class: \"buyer-checkout-product__img\" }\nconst _hoisted_36 = [\"src\"]\nconst _hoisted_37 = [\"src\"]\nconst _hoisted_38 = { class: \"t-12 no-pad\" }\nconst _hoisted_39 = { class: \"buyer-checkout-product\" }\nconst _hoisted_40 = { class: \"margin-top-10\" }\nconst _hoisted_41 = {\n key: 0,\n class: \"buyer-checkout-product__options\"\n}\nconst _hoisted_42 = {\n key: 0,\n class: \"refund-link\"\n}\nconst _hoisted_43 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_MetaPixelScript = _resolveComponent(\"MetaPixelScript\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BuyerCheckoutProductPrice = _resolveComponent(\"BuyerCheckoutProductPrice\")!\n const _component_BoostWalletPay = _resolveComponent(\"BoostWalletPay\")!\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_boost_icon = _resolveComponent(\"boost-icon\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.product?.account?.metaPixel)\n ? (_openBlock(), _createBlock(_component_MetaPixelScript, {\n key: 0,\n is: _ctx.script,\n \"pixel-id\": _ctx.product?.account?.metaPixel\n }, null, 8, [\"is\", \"pixel-id\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.product && _ctx.checkout)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (!_ctx.isTransactionCompleted)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (!_ctx.isShowingReturnPolicy)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.sku)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: \n _ctx.sku.imageUrl ||\n _ctx.product.imageUrl ||\n require('../../assets/default-product.jpg')\n \n }, null, 8, _hoisted_6))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: \n _ctx.product.imageUrl ||\n require('../../assets/default-product.jpg')\n \n }, null, 8, _hoisted_7))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h2\", _hoisted_9, _toDisplayString(_ctx.product.title), 1),\n _withDirectives(_createElementVNode(\"p\", {\n ref: \"descriptionInput\",\n class: _normalizeClass([\"product-description margin-bottom-1\", {\n 'show-all': !_ctx.readMore,\n 'margin-bottom-1': _ctx.hasLongDescription,\n 'margin-bottom-4': !_ctx.hasLongDescription\n }])\n }, null, 2), [\n [_directive_sanitized, _ctx.product.description]\n ]),\n (_ctx.hasLongDescription)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n class: \"no-pad margin-bottom-4 show-more-button\",\n \"button-style\": \"none\",\n label: _ctx.readMore ? 'Read more' : 'Show less',\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.readMore = !_ctx.readMore))\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.sku && _ctx.sku.options && _ctx.product.variants)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sku.options, (option, index) => {\n return (_openBlock(), _createElementBlock(\"dl\", {\n key: index,\n class: \"buyer-checkout-product__option\"\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.product.variants[option.key].name), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(option.value), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.getPrice(_ctx.checkout.charges?.price)), 1),\n _createVNode(_component_BuyerCheckoutProductPrice, {\n checkout: _ctx.checkout,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"checkout\", \"is-shipping-calculated\", \"is-tax-calculated\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n (_ctx.showWalletPay && _ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostWalletPay, {\n key: 0,\n stripe: _ctx.stripe,\n amount: _ctx.chargeAmount,\n \"payment-label\": \"Checkout total\",\n \"shipping-amount\": _ctx.shippingAmount,\n \"payment-client-secret\": _ctx.stripeClientSecret,\n onSuccess: _ctx.onWalletPaymentSuccess,\n onShipping: _ctx.onShippingAddressChange,\n onShippingOption: _ctx.onShippingOptionChange\n }, null, 8, [\"stripe\", \"amount\", \"shipping-amount\", \"payment-client-secret\", \"onSuccess\", \"onShipping\", \"onShippingOption\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n (_ctx.showWalletPay && _ctx.stripe)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, \"or pay with card\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_ValidationObserver, {\n tag: \"div\",\n class: \"w-100\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n class: \"w-100\",\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.handlePurchase)), [\"prevent\"])\n }, [\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostStripeCard, {\n key: 0,\n label: \"Card details\",\n stripe: _ctx.stripe,\n onCard: _ctx.collectCard\n }, null, 8, [\"stripe\", \"onCard\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.cardError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"p\", _hoisted_17, _toDisplayString(_ctx.cardError), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.firstName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.shipping.firstName) = $event)),\n label: \"First name\",\n placeholder: \"First name\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-first-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.shipping.lastName) = $event)),\n label: \"Last name\",\n placeholder: \"Last name\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-last-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.shipping.email) = $event)),\n label: \"Email address\",\n placeholder: \"Email address\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address1,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.shipping.address1) = $event)),\n label: \"Address line 1\",\n placeholder: \"Address line 1\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-address1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address2,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.shipping.address2) = $event)),\n label: \"Address line 2\",\n placeholder: \"Address line 2\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-address2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.city,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.shipping.city) = $event)),\n label: \"City\",\n placeholder: \"City\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-city\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.shipping.state,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.shipping.state) = $event)),\n label: \"State\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-state\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.postalCode,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.shipping.postalCode) = $event)),\n label: \"Zip\",\n placeholder: \"Zip\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-zip-code\",\n onInput: _cache[9] || (_cache[9] = ($event: any) => (_ctx.onPostalCodeChange()))\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.country,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.shipping.country) = $event)),\n label: \"Country\",\n placeholder: \"Country\",\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-country\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n (_ctx.isShopifyProduct)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.selectedShippingOptionId,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.selectedShippingOptionId) = $event)),\n \"input-id\": \"shippingOptions\",\n label: \"Shipping Preference\",\n rules: \"required\",\n options: \n _ctx.shippingOptions.map((option) => {\n return {\n name: `${option.label} ${_ctx.getPrice(option.amount)}`,\n value: option.id\n };\n })\n ,\n onInput: _ctx.processShippingRate\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BuyerCheckoutProductPrice, {\n checkout: _ctx.checkout,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"checkout\", \"is-shipping-calculated\", \"is-tax-calculated\"]),\n _hoisted_22,\n _createVNode(_component_BoostButton, {\n class: _normalizeClass([\"width-100 btn-form\", 'custom__' + _ctx.customColor]),\n \"button-style\": \"custom\",\n \"loading-state\": _ctx.completeButtonState,\n \"loading-label\": \"Processing\",\n \"complete-label\": \"Complete\",\n disabled: \n !meta.valid || !_ctx.stripeCardElement || !_ctx.taxesCalculated\n ,\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_23, [\n (\n meta.valid && _ctx.stripeCardElement && _ctx.taxesCalculated\n )\n ? (_openBlock(), _createBlock(_component_boost_icon, { key: 0 }))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\" \" + _toDisplayString(`Pay ${_ctx.getPrice(_ctx.checkout.charges?.total)}`), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"class\", \"loading-state\", \"disabled\"])\n ], 40, _hoisted_15)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"p\", _hoisted_25, [\n _createTextVNode(\" By submitting this information I am agreeing to the \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/buyer-terms\",\n target: \"_blank\"\n }, \"Terms of Use\", 2),\n _createTextVNode(\" and \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/privacy-policy\",\n target: \"_blank\"\n }, \"Privacy Policy\", 2),\n _createTextVNode(\" and to receive text and email alerts that may be marketing in nature from \" + _toDisplayString(_ctx.getBrandName) + \" and Tags Commerce Inc. \", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n (_ctx.isReturnPolicyLink)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: _ctx.product?.account?.refundPolicy,\n target: \"_blank\"\n }, \"Return Policy\", 10, _hoisted_28)\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n label: \"Return Policy\",\n \"button-style\": \"link\",\n class: _normalizeClass([\"width-100 margin-top-5 margin-bottom-8 text-xs sm:text-sm\", 'custom__' + _ctx.customColor + '__link']),\n onClick: _ctx.showReturnPolicy\n }, null, 8, [\"class\", \"onClick\"]))\n ])\n ])\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.product && _ctx.product.account && _ctx.product.account.refundPolicy\n ? _ctx.product.account.refundPolicy\n : 'Contact for details.'), 1),\n _createVNode(_component_BoostButton, {\n label: \"Back to Checkout\",\n \"button-style\": \"custom\",\n class: _normalizeClass([\"width-100\", 'custom__' + _ctx.customColor]),\n type: \"button\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.hideReturnPolicy()))\n }, null, 8, [\"class\"])\n ])\n ]))\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isTransactionCompleted)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_32,\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, [\n (_ctx.sku)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: \n _ctx.sku.imageUrl ||\n _ctx.product.imageUrl ||\n require('../../assets/default-product.jpg')\n \n }, null, 8, _hoisted_36))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: \n _ctx.product.imageUrl ||\n require('../../assets/default-product.jpg')\n \n }, null, 8, _hoisted_37))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"h2\", _hoisted_40, _toDisplayString(_ctx.product.title), 1),\n _withDirectives(_createElementVNode(\"p\", null, null, 512), [\n [_directive_sanitized, _ctx.product.description]\n ]),\n (_ctx.sku && _ctx.sku.options && _ctx.product.variants)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_41, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sku.options, (option, index) => {\n return (_openBlock(), _createElementBlock(\"dl\", {\n key: index,\n class: \"buyer-checkout-product__option\"\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.product.variants[option.key].name), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(option.value), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.getPrice(_ctx.checkout.charges?.price)), 1),\n _createVNode(_component_BuyerCheckoutProductPrice, {\n checkout: _ctx.checkout,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"checkout\", \"is-shipping-calculated\", \"is-tax-calculated\"])\n ]),\n _createVNode(_component_BoostButton, {\n label: \"View Account\",\n \"button-style\": \"custom\",\n class: _normalizeClass([\"width-100\", 'custom__' + _ctx.customColor]),\n type: \"button\",\n onClick: _ctx.gotoBoostLogin\n }, null, 8, [\"class\", \"onClick\"]),\n (_ctx.isReturnPolicyLink)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_42, [\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: _ctx.product?.account?.refundPolicy,\n target: \"_blank\"\n }, \"Return Policy\", 10, _hoisted_43)\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n label: \"Return Policy\",\n \"button-style\": \"link\",\n class: _normalizeClass(['custom__' + _ctx.customColor + '__link', \"width-100 margin-top-5 margin-bottom-8 text-xs sm:text-sm\"]),\n onClick: _ctx.showReturnPolicy\n }, null, 8, [\"class\", \"onClick\"]))\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import amplitude from 'amplitude-js';\nimport { ExpressCheckout } from '@/models/expressCheckout';\nimport settings from './settings';\nimport { auth } from '@/store/auth';\n\nexport enum AnalyticEventType {\n expressCheckoutApplePayClicked = 'express_checkout_apple_pay_clicked',\n expressCheckoutPayByCardClicked = 'express_checkout_pay_by_card_clicked',\n expressCheckoutCompletePurchaseClicked = 'express_checkout_complete_purchase_clicked',\n expressCheckoutPurchaseSuccessful = 'express_checkout_purchase_successful',\n expressCheckoutPurchaseError = 'express_checkout_purchase_error',\n expressCheckoutReturnsPolicyClicked = 'express_checkout_returns_policy_clicked',\n expressCheckoutGoToAccount = 'express_checkout_go_to_account'\n}\n\nexport interface AnalyticEventData {\n timestamp: string;\n userAgent: string;\n phoneNumber: string | undefined | null;\n tag: string | undefined | null;\n sku: string | undefined | null;\n brandName: string | undefined | null;\n errors: string | undefined | null;\n}\n\nexport const analytics = {\n // Add additional types for \"data\" that can be used for analytics data, add conversion method below\n logEvent(\n eventType: AnalyticEventType,\n data: ExpressCheckout,\n error?: unknown\n ): void {\n const eventData = this.toLogEventData(data);\n\n const instance1 = amplitude.getInstance();\n instance1.init(settings.AMPLITUDE_KEY);\n if (auth.state.currentUser) {\n instance1.setUserId(auth.state.currentUser.uid);\n }\n if (error) {\n eventData.errors = error instanceof Error ? error.message : String(error);\n }\n instance1.logEvent(eventType, eventData);\n },\n // Add overridden conversion methods for data types as needed\n // or add logic to handle different types passed in\n toLogEventData(checkout: ExpressCheckout): AnalyticEventData {\n return {\n timestamp: new Date().toISOString(),\n userAgent: navigator.userAgent,\n phoneNumber: checkout.phoneNumber,\n tag: checkout.hashtag,\n sku: checkout.skuId,\n brandName: checkout.hashtag ? checkout.hashtag.replace(/[0-9]/g, '') : '',\n errors: ''\n };\n }\n};\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"buyer-checkout-product__content w-100\"\n}\nconst _hoisted_2 = { class: \"margin-bottom-5\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"buyer-checkout-product__price\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"dt\", null, \"Shipping\", -1)\nconst _hoisted_5 = {\n key: 1,\n class: \"buyer-checkout-product__price\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tax\", -1)\nconst _hoisted_7 = { class: \"buyer-checkout-product__price text-bold\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"text-bold\" }, \"Total\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.checkout?.charges)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"dl\", _hoisted_2, [\n (_ctx.checkout.charges.shipping || _ctx.isShippingCalculated)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice(_ctx.checkout.charges.shipping)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.checkout.charges.tax || _ctx.isTaxCalculated)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice(_ctx.checkout.charges.tax)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice(_ctx.checkout.charges.total)), 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { ExpressCheckout } from '@/models/expressCheckout';\n\nexport default defineComponent({\n props: {\n checkout: {\n type: Object as () => ExpressCheckout,\n required: true\n },\n isShippingCalculated: {\n type: Boolean,\n default: false\n },\n isTaxCalculated: {\n type: Boolean,\n default: false\n }\n },\n methods: {\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n }\n }\n});\n","import { render } from \"./BuyerCheckoutProductPrice.vue?vue&type=template&id=64a4ee10&ts=true\"\nimport script from \"./BuyerCheckoutProductPrice.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerCheckoutProductPrice.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerCheckoutProductPrice.vue?vue&type=style&index=0&id=64a4ee10&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport settings from '@/settings';\nimport { ExpressCheckout } from '../../../models/expressCheckout';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes,\n ProductReplyCodes\n} from '@/firebaseRequest';\nimport {\n loadStripe,\n PaymentRequestPaymentMethodEvent,\n PaymentRequestShippingAddressEvent,\n PaymentRequestShippingOptionEvent,\n Stripe,\n StripeCardElement\n} from '@stripe/stripe-js';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { analytics, AnalyticEventType } from '@/analytics';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { Product } from '@/models/product';\nimport { store } from '@/store';\nimport { BrandInformation } from '@/store/types';\nimport { TagType } from '@/../enums/tagType';\nimport { Charges } from '@/models/charges';\nimport { ShippingRate } from '@/models/shipping';\nimport { Sku } from '@/models/firebase/product';\nimport BuyerCheckoutProductPrice from '@/buyer/checkout/BuyerCheckoutProductPrice.vue';\nimport { mapGetters } from 'vuex';\n\nexport default defineComponent({\n components: {\n BuyerCheckoutProductPrice\n },\n data() {\n return {\n TagType,\n product: {} as Product,\n checkout: {\n charges: {\n price: 0,\n shipping: 0,\n tax: 0,\n total: 0\n }\n } as ExpressCheckout,\n shipping: {\n firstName: '',\n lastName: '',\n email: '',\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States'\n },\n isShowingCardDetails: true,\n isShowingReturnPolicy: false,\n months: Helpers.getExpirationMonths(),\n years: Helpers.getExpirationYears(),\n checkoutId: '',\n isApplePay: false,\n showWalletPay: false,\n stripeLoaded: false,\n stripeCardElement: null as null | StripeCardElement,\n stripe: null as null | Stripe,\n stripeClientSecret: '',\n cardError: '' as string | undefined,\n shippingAmount: 0,\n chargeAmount: 0,\n selectedShippingOptionId: 'default',\n shippingOptions: [\n {\n id: 'default',\n label: 'Awaiting Zip Code',\n detail: 'Awaiting Zip Code',\n amount: 0\n }\n ] as ShippingRate[],\n isTransactionCompleted: false,\n isShippingCalculated: false,\n completeButtonState: ButtonLoadingState.initial,\n isExpressOrShopify: this.$route.params.isExpressOrShopify,\n taxesUpdated: false,\n taxesCalculated: false,\n readMore: true,\n hasLongDescription: undefined as boolean | undefined,\n customColor: 'default'\n };\n },\n computed: {\n ...mapGetters({\n getBrandName: 'global/getBrandName'\n }),\n sku(): Sku | null {\n if (this.product && this.product.skus) {\n return this.product.skus[this.checkout.skuId];\n }\n return null;\n },\n isReturnPolicyLink(): boolean {\n return this.product?.account?.refundPolicy?.startsWith('http') || false;\n },\n isShopifyProduct(): boolean {\n return !!this.product?.shopifyProductId || false;\n }\n },\n async mounted() {\n await this.getProductData();\n await this.initializeStripe();\n this.initWalletPayment();\n },\n updated() {\n const input = this.$refs.descriptionInput as HTMLElement;\n if (input?.scrollHeight > 0 && this.hasLongDescription === undefined) {\n this.hasLongDescription = input.offsetHeight < input.scrollHeight;\n }\n },\n methods: {\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n initWalletPayment() {\n if (this.stripe) {\n this.shippingAmount = this.checkout.charges\n ? this.checkout.charges.shipping\n : 0;\n this.chargeAmount = this.checkout.charges\n ? this.checkout.charges.total\n : 0;\n\n this.showWalletPay = true;\n }\n },\n async onShippingOptionChange(ev: PaymentRequestShippingOptionEvent) {\n if (ev.shippingOption) {\n this.selectedShippingOptionId = ev.shippingOption.id;\n this.processShippingRate();\n ev.updateWith({\n status: 'success',\n total: {\n label: 'Checkout total',\n amount: this.checkout.charges?.total || 0\n }\n });\n }\n },\n // Wallet pay shipping address change\n async onShippingAddressChange(ev: PaymentRequestShippingAddressEvent) {\n // Perform server-side request to fetch shipping options\n // CLIENT -> API(id, skuId, ev.shippingAddress.postalCode)\n // API -> charges\n try {\n if (ev.shippingAddress) {\n this.shipping.postalCode = ev.shippingAddress.postalCode || '';\n this.shipping.state = ev.shippingAddress.region || '';\n await this.getShippingRates();\n\n const payload = {\n hashtag: this.checkout.hashtag,\n sku: this.checkout.skuId,\n postalCode: ev.shippingAddress.postalCode\n };\n\n const chargesUpdate = await FirebaseRequest.createRequest<{\n charges: Charges;\n }>(FirebaseRequestTypes.GET_PRODUCT_TAXES, payload);\n\n if (chargesUpdate.status === APIResponseStatus.OK) {\n this.checkout.charges = chargesUpdate.data?.charges as Charges;\n\n // If product === shopify product then provide shipping rates\n\n const shippingRates: ShippingRate[] | undefined = this\n .shippingOptions?.length\n ? this.shippingOptions\n : [\n {\n id: 'Default-shipping',\n label: 'Default Shipping',\n detail: '',\n amount: this.checkout.charges.shipping\n }\n ];\n\n this.shippingAmount = shippingRates[0].amount;\n this.selectedShippingOptionId = shippingRates[0].id;\n this.checkout.charges.shipping = this.shippingAmount;\n this.checkout.charges.total =\n this.checkout.charges.price +\n this.checkout.charges.tax +\n shippingRates[0].amount;\n\n // Update wallet pay total\n ev.updateWith({\n status: 'success',\n shippingOptions: shippingRates,\n total: {\n label: 'Checkout total',\n amount: this.checkout.charges.total\n }\n });\n }\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PURCHASE_INVALID_ADDRESS,\n type: BannerType.error\n });\n }\n } catch (err) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n onWalletPaymentSuccess(ev: PaymentRequestPaymentMethodEvent) {\n // set up shipping data\n const shippingAddress = ev.shippingAddress;\n if (shippingAddress) {\n this.shipping.address1 = shippingAddress.addressLine\n ? shippingAddress.addressLine[0]\n : '';\n this.shipping.address2 =\n shippingAddress.addressLine && shippingAddress.addressLine.length > 1\n ? shippingAddress.addressLine[1]\n : '';\n this.shipping.city = shippingAddress.city || '';\n this.shipping.state = shippingAddress.region || '';\n this.shipping.postalCode = shippingAddress.postalCode || '';\n this.shipping.country = shippingAddress.country || '';\n }\n this.shipping.email = ev.payerEmail || '';\n // TODO: determine how to parse the name\n this.shipping.lastName = ev.payerName || '';\n this.isApplePay = true;\n this.onPaymentSuccess();\n },\n async getProductData() {\n try {\n store.commit('global/setLoading', true);\n this.checkoutId = this.$route.params.checkoutId as string;\n\n const payload = { checkoutId: this.checkoutId };\n const results = await FirebaseRequest.createRequest<{\n checkoutData: ExpressCheckout;\n clientSecret: string;\n }>(FirebaseRequestTypes.GET_CHECKOUT, payload);\n\n if (results.status === APIResponseStatus.ERROR) {\n let message = BannerMessageStrings.GENERIC_ERROR_MESSAGE;\n if (results.code === ProductReplyCodes.NO_INVENTORY) {\n message = BannerMessageStrings.BUYER_NO_INVENTORY;\n } else if (results.code === ProductReplyCodes.SKU_NOT_FOUND) {\n message = BannerMessageStrings.BUYER_PRODUCT_NOT_FOUND;\n } else if (results.code === ProductReplyCodes.INACTIVE) {\n message = BannerMessageStrings.BUYER_PRODUCT_INACTIVE;\n }\n store.commit('global/setBannerStatus', {\n text: message,\n type: BannerType.error\n });\n } else {\n this.checkout = results.data?.checkoutData || ({} as ExpressCheckout);\n\n this.product = this.checkout.product;\n this.stripeClientSecret = results.data?.clientSecret || '';\n const brandInfo: BrandInformation = {\n brandName: this.product.account.name,\n logoUrl: this.product.account.logoUrl || '',\n orderEmail: this.product.account.orderEmail || '',\n customColor: this.product.account.customColor || 'default'\n };\n this.customColor = brandInfo.customColor || 'default';\n store.commit('global/setBrandInformation', brandInfo);\n }\n } catch (ex) {\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPurchaseError,\n this.checkout,\n ex\n );\n console.log(ex);\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPurchaseError,\n this.checkout,\n ex\n );\n }\n store.commit('global/setLoading', false);\n },\n showReturnPolicy() {\n this.isShowingReturnPolicy = true;\n analytics.logEvent(\n AnalyticEventType.expressCheckoutReturnsPolicyClicked,\n this.checkout\n );\n },\n hideReturnPolicy() {\n this.isShowingReturnPolicy = false;\n this.isShowingCardDetails = false;\n },\n showCardDetails() {\n this.isShowingCardDetails = true;\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPayByCardClicked,\n this.checkout\n );\n },\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.cardError = '';\n },\n handlePurchase() {\n // Manually trigger an empty card error\n if (!this.stripeCardElement) {\n this.cardError = 'Please enter your card details.';\n return;\n }\n\n this.completeButtonState = ButtonLoadingState.loading;\n\n analytics.logEvent(\n AnalyticEventType.expressCheckoutCompletePurchaseClicked,\n this.checkout\n );\n // 1. API create setup Intent, pass clientSecret\n // 2. handlePayment, call confirmCardSetup pass secret and card\n // 3. Stripe processes payment setup\n // 4. on success, client sends rest of data payload to API (shipping address)\n // 5. Display UI confirmation to User\n\n if (this.stripe && this.stripeCardElement) {\n // 1. setup intent capture\n this.stripe\n .confirmCardSetup(this.stripeClientSecret, {\n // eslint-disable-next-line\n payment_method: {\n card: this.stripeCardElement\n }\n })\n // eslint-disable-next-line\n // @ts-ignore\n .then((result) => {\n if (result.error) {\n this.completeButtonState = ButtonLoadingState.complete;\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPurchaseError,\n this.checkout,\n result.error\n );\n\n // Inform the customer that there was an error\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PURCHASE_ERROR,\n type: BannerType.error\n });\n this.cardError = result.error.message;\n } else {\n // API needs to listen to webhook payment_intent.succeeded\n // Call new API endpoint and pass data\n // 4. on success, client sends rest of data payload to API (shipping address)\n // 5. Display UI confirmation to User\n this.onPaymentSuccess();\n }\n });\n }\n },\n async onPaymentSuccess() {\n // TODO: Identify payload interface\n if (this.isApplePay) {\n analytics.logEvent(\n AnalyticEventType.expressCheckoutApplePayClicked,\n this.checkout\n );\n }\n\n const shippingRate = this.shippingOptions.find((option) => {\n return option.id === this.selectedShippingOptionId;\n });\n\n const payload = {\n checkoutId: this.checkoutId,\n emailAddress: this.shipping.email,\n mailingAddress: this.shipping,\n shippingRate\n };\n\n this.isTransactionCompleted = true;\n\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.PROCESS_CHECKOUT,\n payload\n );\n // TODO: Identify results interface\n if (results.status === APIResponseStatus.ERROR) {\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPurchaseError,\n this.checkout,\n 'Express checkout error, nothing returned'\n );\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n } else {\n analytics.logEvent(\n AnalyticEventType.expressCheckoutPurchaseSuccessful,\n this.checkout\n );\n }\n this.completeButtonState = ButtonLoadingState.complete;\n },\n gotoBoostLogin() {\n analytics.logEvent(\n AnalyticEventType.expressCheckoutGoToAccount,\n this.checkout\n );\n store.commit('global/setBrandInformation', null);\n this.$router.push({ path: '/login', query: { type: '1' } });\n },\n async onPostalCodeChange() {\n if (\n this.shipping &&\n this.shipping.postalCode &&\n this.shipping.postalCode.length >= 5 &&\n this.shipping.state?.length > 1\n ) {\n const payload = {\n hashtag: this.checkout.hashtag,\n sku: this.checkout.skuId,\n postalCode: this.shipping.postalCode\n };\n\n const chargesUpdate = await FirebaseRequest.createRequest<{\n charges: Charges;\n }>(FirebaseRequestTypes.GET_PRODUCT_TAXES, payload);\n if (chargesUpdate.status === APIResponseStatus.OK) {\n this.checkout.charges = chargesUpdate.data?.charges;\n }\n\n await this.getShippingRates();\n this.taxesUpdated = true;\n this.taxesCalculated = true;\n setTimeout(() => {\n this.taxesUpdated = false;\n }, 5000);\n }\n },\n async getShippingRates() {\n if (\n this.product.accountId &&\n this.product.shopifyProductId &&\n this.shipping &&\n this.shipping.postalCode &&\n this.shipping.postalCode.length >= 5 &&\n this.shipping.state?.length > 1\n ) {\n const payload = {\n accountId: this.product.accountId,\n productId: this.product.productId,\n postalCode: this.shipping.postalCode,\n stateNameOrCode: this.shipping.state,\n skuId: this.checkout.skuId\n };\n\n const shippingRates = await FirebaseRequest.createRequest<\n ShippingRate[]\n >(FirebaseRequestTypes.GET_ECOMMERCE_SHIPPING_RATES, payload);\n\n if (shippingRates.status === APIResponseStatus.OK) {\n this.isShippingCalculated = true;\n if (shippingRates.data) {\n this.shippingOptions = shippingRates.data;\n this.selectedShippingOptionId = this.shippingOptions[0].id;\n this.processShippingRate();\n }\n }\n } else {\n if (this.checkout?.charges?.shipping) {\n this.shippingOptions = [\n {\n id: 'Default-shipping',\n label: 'Default Shipping',\n detail: '',\n amount: this.checkout.charges.shipping\n }\n ];\n } else {\n this.shippingOptions = [\n {\n id: 'Default-shipping',\n label: 'Free',\n detail: '',\n amount: this.checkout?.charges?.shipping || 0\n }\n ];\n }\n }\n },\n processShippingRate() {\n // Update the total\n const shippingOption = this.shippingOptions.find((option) => {\n return option.id === this.selectedShippingOptionId;\n });\n\n if (shippingOption) {\n this.shippingAmount = shippingOption.amount;\n }\n\n // TODO: the checkout charges amounts are in cents, the shipping amount is not\n // Recalculate totals\n if (this.checkout.charges) {\n this.checkout.charges.shipping = this.shippingAmount;\n this.checkout.charges.total =\n this.checkout.charges.price +\n this.checkout.charges.shipping +\n this.checkout.charges.tax;\n }\n },\n getPrice(price: number | undefined): string {\n return price ? Helpers.currencyFormatter(price) : '';\n }\n }\n});\n","import { render } from \"./BuyerCheckout.vue?vue&type=template&id=db37b67e&ts=true\"\nimport script from \"./BuyerCheckout.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerCheckout.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerCheckout.vue?vue&type=style&index=0&id=db37b67e&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/flag-usa.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2bb38a0b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter a valid U.S phone number and confirmation code to update your information. \", -1))\nconst _hoisted_4 = { class: \"flex flex--wrap\" }\nconst _hoisted_5 = { class: \"flex justify--between t-12 no-pad grid-row--large\" }\nconst _hoisted_6 = { class: \"change-number-form t-12 d-6 justify--between\" }\nconst _hoisted_7 = [\"onSubmit\"]\nconst _hoisted_8 = { class: \"margin-top-6\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.gotoSettings\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: require('../../assets/cancel-key.svg'),\n alt: \"\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Cancel \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border change-number-header\",\n title: \"Change Number\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.onSubmit)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostInput, {\n key: \"mobileNumberInput\",\n modelValue: _ctx.newNumber,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.newNumber) = $event)),\n label: \"New Mobile Number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n class: \"margin-bottom-5\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 0,\n modelValue: _ctx.confirmationCode,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n label: \"Confirmation Code\",\n placeholder: \"Confirmation Code\",\n rules: \"required\",\n class: \"margin-bottom-5\",\n \"input-id\": \"confirmationCode\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.requestConfirmationCode && _ctx.requestConfirmationCode(...args)))\n }, \"Resend Code\")\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n label: _ctx.hasSentConfirmationCode ? 'Confirm Change' : 'Get Code',\n disabled: !meta.valid,\n \"loading-label\": \"Loading\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.getCodeState,\n type: \"submit\",\n class: \"btn-form\"\n }, null, 8, [\"label\", \"disabled\", \"loading-state\"])\n ])\n ], 40, _hoisted_7)\n ]),\n _: 1\n }, 512)\n ])\n ])\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseCode,\n APIResponseStatus,\n Context,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapGetters } from 'vuex';\nimport { Buyer } from './BuyerSettingsInterfaces';\nimport Helpers from '@/helpers';\n\nexport default defineComponent({\n data() {\n return {\n newNumber: '',\n email: '',\n confirmationCode: '',\n hasSentConfirmationCode: false,\n getCodeState: ButtonLoadingState.initial\n };\n },\n computed: {\n ...mapGetters({\n currentBuyer: 'auth/getCurrentBuyer'\n })\n },\n methods: {\n gotoSettings() {\n this.$router.push({ name: 'buyer-settings' });\n },\n async onSubmit() {\n if (this.hasSentConfirmationCode && this.confirmationCode) {\n await this.changeNumber();\n } else {\n await this.requestConfirmationCode();\n }\n },\n async requestConfirmationCode() {\n try {\n const payload = {\n context: Context.UPDATE_MOBILE_NUMBER,\n number: Helpers.prefixPhoneNumber(this.newNumber),\n email: (this.currentBuyer as Buyer).email\n };\n this.getCodeState = ButtonLoadingState.loading;\n\n const confirmationCodeResponse =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n if (\n confirmationCodeResponse.code ===\n APIResponseCode.PHONE_NUMBER_ALREADY_IN_USE\n ) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_REENTERED_PHONE_NUMBER,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n\n this.getCodeState = ButtonLoadingState.complete;\n this.hasSentConfirmationCode = true;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_SENDING_CONFIRMATION_CODE,\n type: BannerType.success\n });\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.hasSentConfirmationCode = false;\n }\n },\n async changeNumber() {\n try {\n this.getCodeState = ButtonLoadingState.loading;\n const payload = {\n context: Context.UPDATE_MOBILE_NUMBER,\n code: this.confirmationCode,\n number: Helpers.prefixPhoneNumber(this.newNumber)\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest<{\n token: string;\n }>(FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE, payload);\n if (confirmationCodeResponse.status !== APIResponseStatus.OK) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (\n buyerResponse.status === APIResponseStatus.OK &&\n buyerResponse.data\n ) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n await this.$router.push({ path: '/user/settings' });\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n }\n }\n }\n});\n","import { render } from \"./BuyerUpdateNumberComponent.vue?vue&type=template&id=2bb38a0b&scoped=true&ts=true\"\nimport script from \"./BuyerUpdateNumberComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerUpdateNumberComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerUpdateNumberComponent.vue?vue&type=style&index=0&id=2bb38a0b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2bb38a0b\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f59ef1bc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"buyer-card-content flex flex--column\" }\nconst _hoisted_4 = { class: \"input-set margin-bottom-6\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"set-as-default-check\" }, \"Set new card as default\", -1))\nconst _hoisted_6 = { class: \"t-6 no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('../../assets/cancel-key.svg'),\n alt: \"Close\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Cancel \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n class: \"section-header bottom-border\",\n title: \"Add New Payment Method\",\n message: \"Make sure that your information is correct before confirming the new payment method.\"\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostStripeCard, {\n key: 0,\n stripe: _ctx.stripe,\n label: \"Card Details\",\n \"show-required-asterisk-on-label\": false,\n onCard: _ctx.collectCard\n }, null, 8, [\"stripe\", \"onCard\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"set-as-default-check\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.isDefault) = $event)),\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.isDefault]\n ]),\n _createTextVNode(\"  \"),\n _hoisted_5\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n id: \"button-confirm-purchase\",\n type: \"button\",\n class: \"instant-checkout__button\",\n disabled: _ctx.stripeCardElement === null,\n \"loading-state\": _ctx.addPaymentButtonState,\n \"loading-label\": \"Adding Card...\",\n \"complete-label\": \"Card Added\",\n onClick: _ctx.saveCard\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Confirm \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading-state\", \"onClick\"])\n ])\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"section-header\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"section-header__message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass({\n 'section-header__title': !_ctx.isCompact,\n 'section-header__title-compact': _ctx.isCompact\n })\n }, _toDisplayString(_ctx.title), 3),\n (!_ctx.hasContent)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(_ctx.message), 1))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"section-header__message\", {\n 'section-header__message__full-width': _ctx.isFullWidth\n }])\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostSectionHeader',\n props: {\n title: {\n type: String,\n default: ''\n },\n message: {\n type: String,\n default: ''\n },\n hasContent: {\n type: Boolean,\n default: false\n },\n isCompact: {\n type: Boolean,\n default: false\n },\n isFullWidth: {\n type: Boolean,\n default: false\n }\n }\n});\n","import { render } from \"./BoostSectionHeader.vue?vue&type=template&id=4bfcd8a4&ts=true\"\nimport script from \"./BoostSectionHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostSectionHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostSectionHeader.vue?vue&type=style&index=0&id=4bfcd8a4&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { loadStripe, Stripe, StripeCardElement } from '@stripe/stripe-js';\nimport settings from '@/settings';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { store } from '@/store';\nimport BoostSectionHeader from '@/common/BoostSectionHeader.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n components: { BoostSectionHeader },\n data() {\n return {\n stripeCardElement: null as null | StripeCardElement,\n stripe: null as null | Stripe,\n clientSecret: '',\n cardError: '' as string | undefined,\n isDefault: true,\n addPaymentButtonState: ButtonLoadingState.initial\n };\n },\n async mounted() {\n this.initializeStripe();\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.INITIATE_ADD_NEW_PAYMENT,\n {}\n );\n if (results.status === APIResponseStatus.OK) {\n this.clientSecret = results.data as string;\n }\n },\n methods: {\n getImageUrlForCard(brand: string) {\n return require('../../assets/' +\n brand.replace(/\\s/g, '').toLowerCase() +\n '.svg');\n },\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n async saveCard() {\n try {\n this.addPaymentButtonState = ButtonLoadingState.loading;\n const success = await this.$store.dispatch(\n 'accounts/addPaymentOption',\n {\n stripeCardElement: this.stripeCardElement,\n stripe: this.stripe,\n setAsDefault: this.isDefault\n }\n );\n if (success) {\n this.addPaymentButtonState = ButtonLoadingState.complete;\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n this.$router.push({\n name: 'buyer-settings',\n query: { menu: 'payment' }\n });\n }\n } catch (e) {\n console.log('adding payment option failed: ', e);\n this.addPaymentButtonState = ButtonLoadingState.initial;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.cardError = '';\n },\n goBack() {\n this.$router.push({ name: 'buyer-settings', query: { menu: 'payment' } });\n }\n }\n});\n","import { render } from \"./BuyerCardInformationComponent.vue?vue&type=template&id=f59ef1bc&scoped=true&ts=true\"\nimport script from \"./BuyerCardInformationComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerCardInformationComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerCardInformationComponent.vue?vue&type=style&index=0&id=f59ef1bc&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f59ef1bc\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-03cdc1f5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"buyer-shipping-content flex flex--column\" }\nconst _hoisted_4 = { class: \"flex input-set\" }\nconst _hoisted_5 = { class: \"flex input-set margin-bottom-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('../../assets/cancel-key.svg'),\n alt: \"Close\"\n }, null, 8, _hoisted_2),\n _createTextVNode(\" Cancel \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n (!_ctx.addressInfo.id)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n class: \"bottom-border\",\n title: \"Add Shipping Address\",\n message: \"Make sure that your information is correct before confirming the edited shipping address.\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.addressInfo.id)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 1,\n class: \"bottom-border\",\n title: \"Edit Shipping Address\",\n message: \"Make sure that your information is correct before confirming the new shipping address.\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.address1,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.addressInfo.address1) = $event)),\n \"input-id\": \"address1-input\",\n label: \"Address line 1\",\n placeholder: \"Address line 1\",\n rules: \"required\",\n autocomplete: \"address-line1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.address2,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.addressInfo.address2) = $event)),\n \"input-id\": \"address2-input\",\n label: \"Address line 2\",\n placeholder: \"Address line 2\",\n autocomplete: \"address-line2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.city,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.addressInfo.city) = $event)),\n \"input-id\": \"city-input\",\n label: \"City\",\n placeholder: \"City\",\n rules: \"required\",\n autocomplete: \"address-level2\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.addressInfo.state,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.addressInfo.state) = $event)),\n label: \"State\",\n rules: \"required\",\n \"input-id\": \"state-input\",\n autocomplete: \"address-level1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.postalCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.addressInfo.postalCode) = $event)),\n \"input-id\": \"postal-code-input\",\n label: \"Zip\",\n placeholder: \"Zip\",\n rules: \"required\",\n autocomplete: \"postal-code\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.addressInfo.country,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.addressInfo.country) = $event)),\n \"input-id\": \"country-input\",\n label: \"Country\",\n disabled: true\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Confirm\",\n class: \"btn-form\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n type: \"button\",\n \"loading-state\": _ctx.addAddressButtonState,\n \"loading-label\": \"Adding Address...\",\n \"complete-label\": \"Address Added\",\n onClick: _ctx.addOrUpdateShippingAddress\n }, null, 8, [\"disabled\", \"loading-state\", \"onClick\"])\n ])\n ])\n ]),\n _: 1\n }, 512)\n ], 64))\n}","\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\nimport { Buyer, ShippingAddress } from './BuyerSettingsInterfaces';\n\nexport default defineComponent({\n name: 'BuyerShippingAddressComponent',\n data() {\n return {\n addressInfo: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States',\n isDefault: false\n } as ShippingAddress,\n addAddressButtonState: ButtonLoadingState.initial\n };\n },\n computed: {\n ...mapGetters({\n currentBuyer: 'auth/getCurrentBuyer'\n })\n },\n mounted() {\n const addressId = this.$route.params.addressId as string;\n if (addressId) {\n const addr = (this.currentBuyer as Buyer).shippingAddresses.find(\n (addr) => {\n return addr.id === addressId;\n }\n );\n if (addr) {\n this.addressInfo = { ...addr };\n }\n }\n },\n methods: {\n goBack() {\n this.$router.push({\n name: 'buyer-settings',\n query: { menu: 'shipping' }\n });\n },\n async addOrUpdateShippingAddress() {\n this.addAddressButtonState = ButtonLoadingState.loading;\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.UPDATE_BUYER_SHIPPING_ADDRESS,\n { shippingAddress: this.addressInfo }\n );\n\n if (result.status === APIResponseStatus.OK) {\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Retrieving shipping addresses..'\n });\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n this.$store.commit('global/setLoading', false);\n this.addAddressButtonState = ButtonLoadingState.complete;\n\n this.$router.push({\n name: 'buyer-settings',\n query: { menu: 'shipping' }\n });\n }\n\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.addAddressButtonState = ButtonLoadingState.initial;\n }\n }\n});\n","import { render } from \"./BuyerShippingAddressComponent.vue?vue&type=template&id=03cdc1f5&scoped=true&ts=true\"\nimport script from \"./BuyerShippingAddressComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerShippingAddressComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerShippingAddressComponent.vue?vue&type=style&index=0&id=03cdc1f5&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-03cdc1f5\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, Teleport as _Teleport, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, createTextVNode as _createTextVNode, vModelText as _vModelText, withDirectives as _withDirectives, withModifiers as _withModifiers, normalizeClass as _normalizeClass, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/flag-usa.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5057820f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"instant-checkout\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Product Unavailable\", -1))\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = { class: \"p-10 md:max-h-[382px] md:max-w-[382px]\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = {\n key: 0,\n class: \"flex flex-col flex-nowrap gap-10\"\n}\nconst _hoisted_7 = { class: \"text-xl font-light m-0\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"text-gray-600 text-xl font-light mb-0\"\n}\nconst _hoisted_9 = { class: \"flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-gray-900 text-base m-0\" }, \"Checkout\", -1))\nconst _hoisted_11 = {\n key: 0,\n class: \"flex flex-col gap-5\"\n}\nconst _hoisted_12 = {\n key: 1,\n class: \"-mb-[18px]\"\n}\nconst _hoisted_13 = { class: \"\" }\nconst _hoisted_14 = { class: \"flex flex-col text-center gap-6\" }\nconst _hoisted_15 = { class: \"flex align--center justify--center\" }\nconst _hoisted_16 = { key: 1 }\nconst _hoisted_17 = {\n key: 0,\n class: \"\"\n}\nconst _hoisted_18 = { class: \"m-0 text-xs font-light text-left text-gray-tone\" }\nconst _hoisted_19 = {\n key: 1,\n class: \"flex flex-col gap-10\"\n}\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Sign-In\", -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-10 md:mt-0 flex flex-col gap-4\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-base font-medium\" }, \" Confirm your number to continue \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm font-normal\" }, \" Enter your number and we’ll send you a confirmation code. Confirming your number means faster checkouts. \")\n], -1))\nconst _hoisted_22 = [\"onSubmit\"]\nconst _hoisted_23 = { class: \"flex flex-col flex-nowrap gap-1\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1))\nconst _hoisted_25 = {\n key: 0,\n class: \"col-span-full flex flex-col gap-4\"\n}\nconst _hoisted_26 = {\n key: 0,\n class: \"text-[#FF5252] text-[.95em]\"\n}\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Never received a confirmation text?\", -1))\nconst _hoisted_28 = { key: 1 }\nconst _hoisted_29 = { class: \"flex align--center justify--center\" }\nconst _hoisted_30 = { key: 0 }\nconst _hoisted_31 = {\n key: 0,\n class: \"refund-link\"\n}\nconst _hoisted_32 = { class: \"text-legal text-light text-left margin-top-8\" }\nconst _hoisted_33 = { class: \"margin-bottom-8\" }\nconst _hoisted_34 = { key: 2 }\nconst _hoisted_35 = { class: \"text-xl font-light m-0\" }\nconst _hoisted_36 = {\n key: 0,\n class: \"text-gray-600 text-xl font-light mb-0\"\n}\nconst _hoisted_37 = { class: \"mt-10\" }\nconst _hoisted_38 = { class: \"w-full mt-10 mb-6\" }\nconst _hoisted_39 = {\n key: 0,\n class: \"separator\"\n}\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"or pay with card\", -1))\nconst _hoisted_42 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_43 = [\n _hoisted_40,\n _hoisted_41,\n _hoisted_42\n]\nconst _hoisted_44 = [\"onSubmit\"]\nconst _hoisted_45 = {\n key: 1,\n role: \"alert\"\n}\nconst _hoisted_46 = { class: \"error-message\" }\nconst _hoisted_47 = { class: \"flex input-set\" }\nconst _hoisted_48 = { class: \"flex input-set\" }\nconst _hoisted_49 = { class: \"flex input-set margin-bottom-4\" }\nconst _hoisted_50 = { key: 2 }\nconst _hoisted_51 = { class: \"mt-10\" }\nconst _hoisted_52 = { class: \"flex flex-col text-center gap-6\" }\nconst _hoisted_53 = { class: \"flex items-center justify-center\" }\nconst _hoisted_54 = { key: 0 }\nconst _hoisted_55 = {\n key: 1,\n class: \"mb-10\"\n}\nconst _hoisted_56 = { class: \"m-0 text-xs font-light text-left text-gray-tone\" }\nconst _hoisted_57 = { key: 3 }\nconst _hoisted_58 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"self-stretch justify-start items-start gap-3 flex\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-8 w-8 bg-dorito rounded-full flex items-center justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M4.40021 10.8005L7.60021 14.0005L15.6002 6.00049\",\n stroke: \"white\",\n \"stroke-width\": \"1.68427\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"self-stretch text-gray-900 text-xl font-light font-[Inter] leading-relaxed\" }, \" Purchase Complete! \")\n], -1))\nconst _hoisted_59 = {\n key: 0,\n class: \"flex flex-col flex-nowrap gap-10\"\n}\nconst _hoisted_60 = { class: \"mt-10 md:mt-0 flex flex-nowrap flex-col gap-4 text-gray-900\" }\nconst _hoisted_61 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Tag and get paid!\", -1))\nconst _hoisted_62 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" Share this item and get paid for every sale you generate. Create your checkout link in two clicks and tag your world. \", -1))\nconst _hoisted_63 = { class: \"justify-start items-start gap-2 inline-flex\" }\nconst _hoisted_64 = { class: \"px-2.5 py-[3px] bg-orange-200 rounded-[30px] justify-center items-center gap-px flex text-xs\" }\nconst _hoisted_65 = { class: \"text-orange-800 leading-5\" }\nconst _hoisted_66 = { class: \"m-0 text-xs font-light text-left text-gray-tone\" }\nconst _hoisted_67 = { class: \"mt-10 flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_68 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-base font-medium my-0 py-0\" }, \"Order\", -1))\nconst _hoisted_69 = { class: \"flex flex-col flex-nowrap gap-5\" }\nconst _hoisted_70 = { class: \"flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_71 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex flex-nowrap flex-col gap-4 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Is there a problem?\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" If you've noticed something strange about your order or wish to change some details, please use the support button down below. \")\n], -1))\nconst _hoisted_72 = { key: 4 }\nconst _hoisted_73 = { class: \"mt-10 flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_74 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-base font-medium my-0 py-0\" }, \"Order\", -1))\nconst _hoisted_75 = { class: \"flex flex-col flex-nowrap gap-5\" }\nconst _hoisted_76 = { class: \"flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_77 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex flex-nowrap flex-col gap-4 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Is there a problem?\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" If you've noticed something strange about your order or wish to change some details, please use the support button down below. \")\n], -1))\nconst _hoisted_78 = { key: 1 }\nconst _hoisted_79 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Return Policy\", -1))\nconst _hoisted_80 = { key: 2 }\nconst _hoisted_81 = { key: 3 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_MetaPixelScript = _resolveComponent(\"MetaPixelScript\")!\n const _component_TagsPill = _resolveComponent(\"TagsPill\")!\n const _component_UnavailableProductComponent = _resolveComponent(\"UnavailableProductComponent\")!\n const _component_InstantCheckoutProductImage = _resolveComponent(\"InstantCheckoutProductImage\")!\n const _component_InstantCheckoutProduct = _resolveComponent(\"InstantCheckoutProduct\")!\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_StripeCreditCardSummaryComponent = _resolveComponent(\"StripeCreditCardSummaryComponent\")!\n const _component_AddressSummaryComponent = _resolveComponent(\"AddressSummaryComponent\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _component_CheckoutPriceSummary = _resolveComponent(\"CheckoutPriceSummary\")!\n const _component_BoostWalletPay = _resolveComponent(\"BoostWalletPay\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_boost_icon = _resolveComponent(\"boost-icon\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_TagsTextField = _resolveComponent(\"TagsTextField\")!\n const _component_AffiliateOnCheckout = _resolveComponent(\"AffiliateOnCheckout\")!\n const _component_UpdatePaymentOptions = _resolveComponent(\"UpdatePaymentOptions\")!\n const _component_UpdateShippingOptions = _resolveComponent(\"UpdateShippingOptions\")!\n const _component_CheckoutDetailHeader = _resolveComponent(\"CheckoutDetailHeader\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.metaPixel)\n ? (_openBlock(), _createBlock(_component_MetaPixelScript, {\n key: 0,\n is: _ctx.script,\n \"pixel-id\": _ctx.metaPixel\n }, null, 8, [\"is\", \"pixel-id\"]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutHeaderTeleportContainer\" }, [\n _createVNode(_component_TagsPill, {\n text: \"Instant Checkout\",\n class: \"text-xs leading-5 font-normal h-6\"\n })\n ])),\n (_ctx.status === _ctx.InstantCheckoutStatus.ProductUnavailable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_2\n ])),\n _createVNode(_component_UnavailableProductComponent, {\n product: _ctx.product,\n \"custom-color\": _ctx.customColor,\n \"shopify-store-url\": _ctx.shopifyStoreUrl\n }, null, 8, [\"product\", \"custom-color\", \"shopify-store-url\"])\n ]))\n : _createCommentVNode(\"\", true),\n (\n _ctx.checkout && _ctx.product && _ctx.status !== _ctx.InstantCheckoutStatus.ProductUnavailable\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_ctx.showProductImage)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 0,\n to: \"#checkoutProduct2ColumnImage\"\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_InstantCheckoutProductImage, {\n product: _ctx.product,\n sku: _ctx.sku\n }, null, 8, [\"product\", \"sku\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_CheckoutDetailHeader, null, {\n default: _withCtx(() => [\n (!_ctx.updatePaymentOptions && !_ctx.updateShippingOptions && !_ctx.showPolicy)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_ctx.status === _ctx.InstantCheckoutStatus.DisplayProduct)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _createElementVNode(\"h2\", _hoisted_7, _toDisplayString(_ctx.product.title), 1),\n (_ctx.product.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, _toDisplayString(_ctx.getPrice(_ctx.charges.price)), 1))\n : _createCommentVNode(\"\", true)\n ])),\n _createVNode(_component_InstantCheckoutProduct, {\n product: _ctx.product,\n charges: _ctx.charges,\n \"sku-id\": _ctx.skuId,\n \"custom-color\": _ctx.customColor,\n onReadyToBuy: _ctx.handleReadyToBuy\n }, null, 8, [\"product\", \"charges\", \"sku-id\", \"custom-color\", \"onReadyToBuy\"]),\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n (_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(_component_StripeCreditCardSummaryComponent, { card: _ctx.selectedPaymentOption }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n type: \"button\",\n \"button-style\": \"link\",\n class: \"no-pad text-xs sm:text-sm\",\n onClick: _ctx.updatePaymentOption\n }, null, 8, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"card\"]),\n _createVNode(_component_AddressSummaryComponent, { address: _ctx.selectedShippingAddress }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n type: \"button\",\n \"button-style\": \"link\",\n class: \"no-pad text-xs sm:text-sm\",\n onClick: _ctx.updateShippingOption\n }, null, 8, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"address\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showShippingOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.selectedShippingOptionId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedShippingOptionId) = $event)),\n \"input-id\": \"shippingOptions\",\n label: \"Shipping\",\n class: \"mb-0\",\n rules: \"required\",\n \"hide-label\": false,\n attributes: \"no-required-indicator\",\n options: \n _ctx.shippingOptions.map((option) => {\n return {\n name: `${option.label} ${_ctx.getPrice(option.amount)}`,\n value: option.id\n };\n })\n ,\n onInput: _ctx.processShippingRate\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_CheckoutPriceSummary, {\n charges: _ctx.charges,\n product: _ctx.product,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"charges\", \"product\", \"is-shipping-calculated\", \"is-tax-calculated\"]),\n _createVNode(_component_CheckoutDetailDivider)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostWalletPay, {\n key: 0,\n stripe: _ctx.stripe,\n amount: _ctx.chargeAmount,\n \"payment-label\": \"Checkout total\",\n \"shipping-amount\": _ctx.shippingAmount,\n \"payment-client-secret\": _ctx.stripeClientSecret,\n onSuccess: _ctx.onWalletPaymentSuccess,\n onHasWallet: _ctx.onHasWallet,\n onShipping: _ctx.onShippingAddressChange,\n onShippingOption: _ctx.onShippingOptionChange\n }, null, 8, [\"stripe\", \"amount\", \"shipping-amount\", \"payment-client-secret\", \"onSuccess\", \"onHasWallet\", \"onShipping\", \"onShippingOption\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_BoostButton, {\n id: \"instantCheckoutBuyButton\",\n class: \"w-full\",\n \"button-style\": \"optional\",\n type: \"button\",\n \"white-spinner\": \"\",\n disabled: \n !_ctx.sku ||\n _ctx.isWaiting ||\n !_ctx.selectedPaymentOption ||\n !_ctx.selectedShippingAddress\n ,\n \"loading-state\": _ctx.completeButtonState,\n \"loading-label\": _ctx.buyButtonLoadingText,\n \"complete-label\": _ctx.buyButtonText,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showConfirmBuyer()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString(_ctx.buyButtonText), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading-state\", \"loading-label\", \"complete-label\"]),\n (!_ctx.isReturnPolicyLink)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n class: \"text-xs sm:text-sm\",\n label: \"Return Policy\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.openLink(_ctx.refundPolicy)))\n })\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 2,\n label: \"Return Policy\",\n class: \"text-xs sm:text-sm\",\n \"button-style\": \"link\",\n \"white-spinner\": \"\",\n onClick: _ctx.showReturnPolicy\n }, null, 8, [\"onClick\"]))\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n (_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"p\", _hoisted_18, [\n _createTextVNode(\" By submitting this information I am agreeing to the \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Terms of Use\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.openLink('/buyer-terms')))\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Privacy Policy\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.openLink('/privacy-policy')))\n }),\n _createTextVNode(\" and to receive text and email alerts that may be marketing in nature from \" + _toDisplayString(_ctx.getBrandName) + \" and Tags Commerce Inc. \", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_ctx.status === _ctx.InstantCheckoutStatus.ConfirmMobileNumber)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_20\n ])),\n _hoisted_21,\n _createVNode(_component_CheckoutDetailDivider),\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"confirmForm\",\n class: \"flex flex-col gap-10\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.handleConfirmationCode)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_BoostInput, {\n key: \"mobileNumberInput\",\n modelValue: _ctx.mobileNumber,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.mobileNumber) = $event)),\n label: \"Mobile Number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n class: \"my-0\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_24\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_25, [\n _withDirectives(_createElementVNode(\"input\", {\n ref: \"codeInputRef\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n type: \"text\",\n class: \"ignore-global-style h-[66px] w-full rounded-lg bg-gray-100 p-5 text-center text-2xl tracking-[.25em] leading-relaxed border-0 focus:border focus:border-black\",\n placeholder: \"0000\",\n maxlength: \"4\",\n autofocus: \"true\"\n }, null, 512), [\n [_vModelText, _ctx.confirmationCode]\n ]),\n (_ctx.bannerError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, \" Sorry, that code is not correct. Please try again or resend code. \"))\n : _createCommentVNode(\"\", true),\n _hoisted_27,\n _createElementVNode(\"a\", {\n class: \"text-gray underline font-light\",\n href: \"#\",\n onClick: _cache[7] || (_cache[7] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.requestConfirmationCode && _ctx.requestConfirmationCode(...args)), [\"prevent\"]))\n }, \"Resend code\")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n (!_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n id: \"button-get-confirmation-code\",\n label: \"Get Code\",\n disabled: !meta.valid,\n \"loading-label\": \"Processing\",\n \"button-style\": \"primary\",\n class: \"w-100\",\n \"loading-state\": _ctx.getCodeState,\n \"white-spinner\": \"\",\n type: \"submit\"\n }, null, 8, [\"disabled\", \"loading-state\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showShippingOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n (_ctx.showShippingOptions)\n ? (_openBlock(), _createBlock(_component_BoostSelect, {\n key: 0,\n modelValue: _ctx.selectedShippingOptionId,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.selectedShippingOptionId) = $event)),\n \"input-id\": \"shippingOptions\",\n label: \"Shipping Preference\",\n rules: \"required\",\n \"hide-label\": false,\n attributes: \"no-required-indicator\",\n options: \n _ctx.shippingOptions.map((option) => {\n return {\n name: `${option.label} ${_ctx.getPrice(option.amount)}`,\n value: option.id\n };\n })\n ,\n onInput: _ctx.processShippingRate\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 2,\n id: \"button-confirm-or-pay\",\n \"loading-label\": \"Processing\",\n \"complete-label\": _ctx.checkoutButtonText,\n class: _normalizeClass([\"instant-checkout__button\", 'custom__' + _ctx.customColor]),\n disabled: !meta.valid,\n \"loading-state\": _ctx.getCodeState,\n type: \"submit\",\n \"white-spinner\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_29, [\n (!_ctx.isNewUser && meta.valid)\n ? (_openBlock(), _createBlock(_component_boost_icon, {\n key: 0,\n disabled: !meta.valid\n }, null, 8, [\"disabled\"]))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\" \" + _toDisplayString(_ctx.checkoutButtonText), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"complete-label\", \"class\", \"disabled\", \"loading-state\"]))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_22)\n ]),\n _: 1\n }),\n (!_ctx.isNewUser)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n (_ctx.isReturnPolicyLink)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_31, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Return Policy\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_ctx.openLink(_ctx.refundPolicy)))\n })\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n label: \"Return Policy\",\n \"button-style\": \"link\",\n class: \"margin-top-5 margin-bottom-8 refund-link\",\n \"white-spinner\": \"\",\n onClick: _ctx.showReturnPolicy\n }, null, 8, [\"onClick\"])),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"p\", _hoisted_33, [\n _createTextVNode(\" By submitting this information I am agreeing to the \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/buyer-terms\",\n target: \"_blank\"\n }, \"Terms of Use\", 2),\n _createTextVNode(\" and \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/privacy-policy\",\n target: \"_blank\"\n }, \"Privacy Policy\", 2),\n _createTextVNode(\" and to receive text and email alerts that may be marketing in nature from \" + _toDisplayString(_ctx.getBrandName) + \" and Tags Commerce Inc. \", 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_ctx.status === _ctx.InstantCheckoutStatus.CollectUserDetails)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _createElementVNode(\"h2\", _hoisted_35, _toDisplayString(_ctx.product.title), 1),\n (_ctx.product.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_36, _toDisplayString(_ctx.getPrice(_ctx.charges.price)), 1))\n : _createCommentVNode(\"\", true)\n ])),\n _createVNode(_component_InstantCheckoutProduct, {\n product: _ctx.product,\n charges: _ctx.charges,\n \"sku-id\": _ctx.skuId,\n \"completed-purchase\": true,\n \"custom-color\": _ctx.customColor\n }, null, 8, [\"product\", \"charges\", \"sku-id\", \"custom-color\"]),\n _createElementVNode(\"div\", _hoisted_37, [\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"div\", _hoisted_38, [\n (_ctx.showWalletPay && _ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostWalletPay, {\n key: 0,\n stripe: _ctx.stripe,\n amount: _ctx.chargeAmount,\n \"payment-label\": \"Checkout total\",\n \"shipping-amount\": _ctx.shippingAmount,\n \"payment-client-secret\": _ctx.stripeClientSecret,\n onSuccess: _ctx.onWalletPaymentSuccess,\n onHasWallet: _ctx.onHasWallet,\n onShipping: _ctx.onShippingAddressChange,\n onShippingOption: _ctx.onShippingOptionChange\n }, null, 8, [\"stripe\", \"amount\", \"shipping-amount\", \"payment-client-secret\", \"onSuccess\", \"onHasWallet\", \"onShipping\", \"onShippingOption\"]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.showWalletPay)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_39, _hoisted_43))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ValidationObserver, { tag: \"div\" }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"collectUserDetailsForm\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.handlePurchase)), [\"prevent\"])\n }, [\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostStripeCard, {\n key: 0,\n stripe: _ctx.stripe,\n label: \"Card Details\",\n \"show-required-asterisk-on-label\": false,\n onCard: _ctx.collectCard\n }, null, 8, [\"stripe\", \"onCard\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.cardError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_45, [\n _createElementVNode(\"p\", _hoisted_46, _toDisplayString(_ctx.cardError), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_47, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.firstName,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.shipping.firstName) = $event)),\n label: \"First Name\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-first-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.lastName,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.shipping.lastName) = $event)),\n label: \"Last Name\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-last-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.email,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.shipping.email) = $event)),\n label: \"Email address\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address1,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.shipping.address1) = $event)),\n label: \"Address Line 1\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-address1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.address2,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.shipping.address2) = $event)),\n label: \"Address Line 2\",\n \"hide-label\": false,\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-address2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_48, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.city,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.shipping.city) = $event)),\n label: \"City\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-city\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.shipping.state,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((_ctx.shipping.state) = $event)),\n rules: \"required\",\n label: \"State\",\n \"hide-label\": false,\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-state\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_49, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.postalCode,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((_ctx.shipping.postalCode) = $event)),\n label: \"ZIP\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-zip-code\",\n onInput: _cache[18] || (_cache[18] = ($event: any) => (_ctx.onPostalCodeChange()))\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shipping.country,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((_ctx.shipping.country) = $event)),\n label: \"Country\",\n \"hide-label\": false,\n rules: \"required\",\n attributes: \"no-required-indicator\",\n class: \"margin-bottom-0\",\n \"input-id\": \"shipping-country\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_CheckoutDetailDivider, { class: \"mt-6\" }),\n (_ctx.showShippingOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.selectedShippingOptionId,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((_ctx.selectedShippingOptionId) = $event)),\n \"input-id\": \"shippingOptions\",\n label: \"Shipping\",\n rules: \"required\",\n \"hide-label\": false,\n attributes: \"no-required-indicator\",\n options: \n _ctx.shippingOptions.map((option) => {\n return {\n name: `${option.label} ${_ctx.getPrice(option.amount)}`,\n value: option.id\n };\n })\n ,\n onInput: _ctx.processShippingRate\n }, null, 8, [\"modelValue\", \"options\", \"onInput\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_51, [\n _createVNode(_component_CheckoutPriceSummary, {\n charges: _ctx.charges,\n product: _ctx.product,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"charges\", \"product\", \"is-shipping-calculated\", \"is-tax-calculated\"])\n ]),\n _createVNode(_component_CheckoutDetailDivider, { class: \"my-10\" }),\n _createElementVNode(\"div\", _hoisted_52, [\n _createVNode(_component_BoostButton, {\n id: \"button-confirm-purchase\",\n \"button-style\": \"primary\",\n class: \"w-100\",\n \"loading-state\": _ctx.completeButtonState,\n \"loading-label\": \"Confirming purchase...\",\n \"complete-label\": \"Complete\",\n disabled: \n !meta.valid ||\n !_ctx.taxesCalculated ||\n !_ctx.stripeCardElement ||\n (!_ctx.isShippingCalculated && _ctx.isShopifyProduct)\n ,\n \"white-spinner\": \"\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_53, _toDisplayString('Pay ' +\n _ctx.getPrice(_ctx.charges.total) +\n (_ctx.taxesCalculated || !_ctx.product.chargeTax\n ? ''\n : ' (Plus Tax)')), 1)\n ]),\n _: 2\n }, 1032, [\"loading-state\", \"disabled\"]),\n (!_ctx.isReturnPolicyLink)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_54, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n class: \"text-xs sm:text-sm\",\n label: \"Return Policy\",\n onClick: _cache[21] || (_cache[21] = ($event: any) => (_ctx.openLink(_ctx.refundPolicy)))\n })\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n label: \"Return Policy\",\n class: \"text-xs sm:text-sm\",\n \"button-style\": \"link\",\n \"white-spinner\": \"\",\n onClick: _ctx.showReturnPolicy\n }, null, 8, [\"onClick\"]))\n ])\n ], 40, _hoisted_44)\n ]),\n _: 1\n }),\n _createVNode(_component_CheckoutDetailDivider, { class: \"my-10\" }),\n (_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_55, [\n _createElementVNode(\"p\", _hoisted_56, [\n _createTextVNode(\" By submitting this information I am agreeing to the \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Terms of Use\",\n onClick: _cache[22] || (_cache[22] = ($event: any) => (_ctx.openLink('/buyer-terms')))\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Privacy Policy\",\n onClick: _cache[23] || (_cache[23] = ($event: any) => (_ctx.openLink('/privacy-policy')))\n }),\n _createTextVNode(\" and to receive text and email alerts that may be marketing in nature from \" + _toDisplayString(_ctx.getBrandName) + \" and Tags Commerce Inc. \", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : (_ctx.status === _ctx.InstantCheckoutStatus.CompletedPurchase)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_57, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_58\n ])),\n (_ctx.showAffiliateSection)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_59, [\n _createElementVNode(\"div\", _hoisted_60, [\n _hoisted_61,\n _hoisted_62,\n _createElementVNode(\"div\", _hoisted_63, [\n _createElementVNode(\"div\", _hoisted_64, [\n _createElementVNode(\"div\", _hoisted_65, _toDisplayString(_ctx.globalCommission ?? 0) + \"% Commission \", 1)\n ])\n ])\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n (!_ctx.buyerHasAffiliateTag)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n id: \"generateTagsButton\",\n class: \"w-full\",\n label: \"Generate Tags\",\n type: \"button\",\n \"button-style\": \"primary\",\n onClick: _cache[24] || (_cache[24] = ($event: any) => (_ctx.status = _ctx.InstantCheckoutStatus.AffiliateSignup))\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"p\", _hoisted_66, [\n _createTextVNode(\" By utilizing this service, you agree to the \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Terms\",\n onClick: _cache[25] || (_cache[25] = ($event: any) => (_ctx.openLink('/buyer-terms')))\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Privacy Policy\",\n onClick: _cache[26] || (_cache[26] = ($event: any) => (_ctx.openLink('/privacy-policy')))\n }),\n _createTextVNode(\" and of \" + _toDisplayString(_ctx.getBrandName) + \". By proceeding, you may receive automated text alerts that may be marketing in nature from \" + _toDisplayString(_ctx.getBrandName) + \" via Tags Commerce, Inc. \", 1)\n ]),\n _createVNode(_component_CheckoutDetailDivider)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_67, [\n _hoisted_68,\n _createElementVNode(\"div\", _hoisted_69, [\n _createVNode(_component_TagsTextField, {\n label: \"Product\",\n text: _ctx.product.title\n }, null, 8, [\"text\"]),\n _createVNode(_component_StripeCreditCardSummaryComponent, { card: _ctx.selectedPaymentOption }, null, 8, [\"card\"]),\n _createVNode(_component_AddressSummaryComponent, { address: _ctx.selectedShippingAddress }, null, 8, [\"address\"])\n ]),\n _createVNode(_component_CheckoutPriceSummary, {\n charges: _ctx.charges,\n product: _ctx.product,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"charges\", \"product\", \"is-shipping-calculated\", \"is-tax-calculated\"])\n ]),\n _createElementVNode(\"div\", _hoisted_70, [\n _createVNode(_component_CheckoutDetailDivider),\n _hoisted_71,\n _createVNode(_component_CheckoutDetailDivider),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Customer Support\",\n onClick: _cache[27] || (_cache[27] = ($event: any) => (_ctx.openLink(`mailto:${_ctx.orderEmail}`)))\n })\n ])\n ]))\n : (_ctx.status === _ctx.InstantCheckoutStatus.AffiliateSignup)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_72, [\n _createVNode(_component_AffiliateOnCheckout, {\n \"product-name\": _ctx.product.title,\n \"shopify-store-url\": _ctx.shopifyStoreUrl,\n \"product-id\": _ctx.product.productId,\n \"account-id\": _ctx.product.accountId,\n percentage: _ctx.globalCommission,\n onBackToCheckout: _cache[28] || (_cache[28] = ($event: any) => (_ctx.status = _ctx.InstantCheckoutStatus.CompletedPurchase))\n }, null, 8, [\"product-name\", \"shopify-store-url\", \"product-id\", \"account-id\", \"percentage\"]),\n _createVNode(_component_CheckoutDetailDivider, { class: \"mt-10\" }),\n _createElementVNode(\"div\", _hoisted_73, [\n _hoisted_74,\n _createElementVNode(\"div\", _hoisted_75, [\n _createVNode(_component_TagsTextField, {\n label: \"Product\",\n text: _ctx.product.title\n }, null, 8, [\"text\"]),\n _createVNode(_component_StripeCreditCardSummaryComponent, { card: _ctx.selectedPaymentOption }, null, 8, [\"card\"]),\n _createVNode(_component_AddressSummaryComponent, { address: _ctx.selectedShippingAddress }, null, 8, [\"address\"])\n ]),\n _createVNode(_component_CheckoutPriceSummary, {\n charges: _ctx.charges,\n product: _ctx.product,\n \"is-shipping-calculated\": _ctx.isShippingCalculated,\n \"is-tax-calculated\": _ctx.taxesCalculated\n }, null, 8, [\"charges\", \"product\", \"is-shipping-calculated\", \"is-tax-calculated\"])\n ]),\n _createElementVNode(\"div\", _hoisted_76, [\n _createVNode(_component_CheckoutDetailDivider),\n _hoisted_77,\n _createVNode(_component_CheckoutDetailDivider),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Customer Support\",\n onClick: _cache[29] || (_cache[29] = ($event: any) => (_ctx.openLink(`mailto:${_ctx.orderEmail}`)))\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showPolicy)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_78, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_79\n ])),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.refundPolicy || 'Contact for details.'), 1),\n _createVNode(_component_BoostButton, {\n id: \"button-back-to-checkout\",\n \"button-style\": \"primary\",\n label: \"Back to Checkout\",\n \"white-spinner\": \"\",\n onClick: _cache[30] || (_cache[30] = ($event: any) => (_ctx.hideReturnPolicy()))\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.updatePaymentOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_80, [\n _createVNode(_component_UpdatePaymentOptions, {\n \"custom-color\": _ctx.customColor,\n cards: _ctx.currentBuyer.paymentOptions,\n \"initial-selected-payment-option\": _ctx.selectedPaymentOption,\n onBackNavigationRequested: _cache[31] || (_cache[31] = ($event: any) => (_ctx.updatePaymentOptions = false)),\n onPaymentOptionUpdated: _ctx.onPaymentOptionUpdated\n }, null, 8, [\"custom-color\", \"cards\", \"initial-selected-payment-option\", \"onPaymentOptionUpdated\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.updateShippingOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_81, [\n _createVNode(_component_UpdateShippingOptions, {\n \"custom-color\": _ctx.customColor,\n \"shipping-options\": _ctx.currentBuyer.shippingAddresses,\n \"initial-selected-shipping-option\": _ctx.selectedShippingAddress,\n onBackNavigationRequested: _cache[32] || (_cache[32] = ($event: any) => (_ctx.updateShippingOptions = false)),\n onShippingAddressUpdated: _ctx.onShippingAddressUpdated\n }, null, 8, [\"custom-color\", \"shipping-options\", \"initial-selected-shipping-option\", \"onShippingAddressUpdated\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3477517a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-nowrap flex-col gap-10 font-light text-gray-900\" }\nconst _hoisted_2 = { class: \"flex flex-col gap-4 items-start\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-gray-900 text-base\" }, \"Overview\", -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"margin-bottom-4\"\n}\nconst _hoisted_5 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InstantCheckoutProductImage = _resolveComponent(\"InstantCheckoutProductImage\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_InstantCheckoutProductImage, {\n class: \"block md:hidden py-5 sm:py-10\",\n product: _ctx.product,\n sku: _ctx.sku\n }, null, 8, [\"product\", \"sku\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _withDirectives(_createElementVNode(\"p\", {\n ref: \"descriptionInput\",\n class: _normalizeClass([\"product-description font-light text-sm mb-0\", {\n 'show-all': !_ctx.readMore\n }])\n }, null, 2), [\n [_directive_sanitized, _ctx.product.description]\n ]),\n (_ctx.hasLongDescription)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n \"button-style\": \"link\",\n label: _ctx.readMore ? 'Read more' : 'Show less',\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.readMore = !_ctx.readMore))\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n (_ctx.skuOptions?.length && _ctx.completedPurchase)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.skuOptions, (option, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"buyer-checkout-product__price\"\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(option.key), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(option.value), 1)\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.selections, (option, index) => {\n return (_openBlock(), _createElementBlock(\"div\", { key: index }, [\n _createVNode(_component_BoostSelect, {\n modelValue: option.selectedOption,\n \"onUpdate:modelValue\": ($event: any) => ((option.selectedOption) = $event),\n label: option.variant.label,\n \"hide-label\": false,\n attributes: \"no-required-indicator\",\n options: \n option.variant.options.map((x) => ({\n name: x.label,\n value: x.name\n }))\n ,\n \"input-id\": `variant-${index}`,\n rules: \"required\",\n \"hide-errors\": true,\n onInput: ($event: any) => (_ctx.updateReadyToBuy($event, index))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"label\", \"options\", \"input-id\", \"onInput\"])\n ]))\n }), 128)),\n (\n _ctx.selections?.length &&\n _ctx.selections?.find((s) => s.variant?.options?.length > 1)\n )\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Clear options\",\n \"button-style\": \"link\",\n class: _normalizeClass([\"no-pad text-xs sm:text-sm\", 'custom__' + _ctx.customColor + '__link']),\n \"white-spinner\": \"\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.resetOptions(true)))\n }, null, 8, [\"class\"]))\n : _createCommentVNode(\"\", true)\n ]))\n ]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"aspect-h-1 aspect-w-1 aspect-square w-full overflow-hidden relative\" }\nconst _hoisted_2 = [\"src\", \"alt\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"object-cover object-center w-full h-full rounded-lg overflow-hidden\",\n src: _ctx.productImage,\n alt: _ctx.product.title\n }, null, 8, _hoisted_2)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { TagDetail, TagSku } from '@/models/tag';\n\nexport default defineComponent({\n props: {\n product: {\n type: Object as () => TagDetail,\n required: true\n },\n sku: {\n type: Object as () => TagSku,\n required: false\n }\n },\n computed: {\n productImage(): string {\n return (\n this.sku?.imageUrl ||\n this.product?.imageUrl ||\n require('../../assets/default-product.jpg')\n );\n }\n }\n});\n","import { render } from \"./InstantCheckoutProductImage.vue?vue&type=template&id=58eee653&ts=true\"\nimport script from \"./InstantCheckoutProductImage.vue?vue&type=script&lang=ts\"\nexport * from \"./InstantCheckoutProductImage.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"w-full my-0 -mx-5 px-5 sm:-mx-10 sm:px-10\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"hr\", _hoisted_1))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({});\n","import { render } from \"./CheckoutDetailDivider.vue?vue&type=template&id=cfd5824e&ts=true\"\nimport script from \"./CheckoutDetailDivider.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckoutDetailDivider.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport Helpers, { PredicateBuilder } from '@/helpers';\nimport { Charges } from '@/models/charges';\nimport { TagDetail, TagSku, TagVariant } from '@/models/tag';\nimport { TagType } from '@/../enums/tagType';\nimport { KeyValue } from '@/models/sellerOrder';\nimport InstantCheckoutProductImage from '@/buyer/checkout/InstantCheckoutProductImage.vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\ninterface VariantSelect {\n selectedOption: string;\n variant: TagVariant;\n}\n\nexport default defineComponent({\n components: {\n InstantCheckoutProductImage,\n CheckoutDetailDivider\n },\n props: {\n product: {\n type: Object as () => TagDetail,\n required: true\n },\n skuId: {\n type: String,\n default: ''\n },\n charges: {\n type: Object as () => Charges,\n required: true\n },\n completedPurchase: {\n type: Boolean,\n default: false\n },\n customColor: {\n type: String,\n default: 'default'\n }\n },\n emits: ['readyToBuy'],\n data() {\n return {\n selections: [] as VariantSelect[],\n internalSku: {} as TagSku,\n TagType: TagType,\n readMore: true,\n hasLongDescription: undefined as boolean | undefined\n };\n },\n computed: {\n sku(): TagSku | undefined {\n if (this.product && this.product.skus) {\n return this.product.skus.find((x) => x.id === this.skuId);\n }\n return undefined;\n },\n skuOptions(): KeyValue[] {\n return this.getSkuOptions();\n },\n selectionComplete(): boolean {\n const results = !this.selections.some((x) => !x.selectedOption);\n return results;\n }\n },\n watch: {\n product(newVal: TagDetail) {\n if (newVal?.variants) {\n const tempVariantList = Helpers.deepCopy(newVal.variants);\n\n const options = tempVariantList[0]?.options;\n if (options) {\n for (let i = options.length - 1; i >= 0; i--) {\n const matchingSku = newVal.skus.find(\n (sku) => sku[newVal.variants[0].name] === options[i].name\n );\n if (!matchingSku) {\n options.splice(i, 1);\n }\n }\n }\n\n this.selections.length = 0;\n const newItems = tempVariantList.map((x) => ({\n selectedOption: '',\n variant: x\n }));\n this.selections.push(...newItems);\n if (newItems[0]) {\n newItems[0].selectedOption = newItems[0].variant.options[0].name;\n this.updateReadyToBuy(newItems[0].selectedOption, 0);\n }\n }\n }\n },\n mounted() {\n this.resetOptions(false);\n this.checkDescriptionLength();\n },\n updated() {\n this.checkDescriptionLength();\n },\n methods: {\n checkDescriptionLength() {\n const input = this.$refs.descriptionInput as HTMLElement;\n if (input?.scrollHeight > 0 && this.hasLongDescription === undefined) {\n this.hasLongDescription = input.offsetHeight < input.scrollHeight;\n }\n },\n resetOptions(updateReadyToBuy: boolean) {\n const sku = this.product?.skus?.find((x) => x.id === this.skuId);\n\n if (this.product?.variants?.length) {\n const tempVariantList = Helpers.deepCopy(this.product?.variants);\n const options = tempVariantList[0]?.options;\n if (options) {\n for (let i = options.length - 1; i >= 0; i--) {\n const matchingSku = this.product.skus.find(\n (sku) => sku[this.product.variants[0].name] === options[i].name\n );\n if (!matchingSku) {\n options.splice(i, 1);\n }\n }\n }\n\n this.selections.length = 0;\n const newItems = tempVariantList.map((x) => ({\n selectedOption: sku\n ? sku[x.name]?.toString()\n : x.options.length === 1\n ? x.options[0].name\n : '',\n variant: x\n }));\n this.selections.push(...newItems);\n if (updateReadyToBuy) {\n this.$emit('readyToBuy', undefined);\n }\n }\n },\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n updateReadyToBuy(value: string, index: number) {\n const selectedVariant = this.selections[index].variant;\n // clear out any selections after this variant\n if (index < this.selections.length) {\n for (let i = ++index; i < this.selections.length; i++) {\n const element = this.selections[i];\n const variant = element.variant;\n\n // Restore options to the original state\n const tempOptions = Helpers.deepCopy(this.product?.variants).find(\n (v) => v.id === variant.id\n )?.options;\n if (tempOptions) {\n variant.options = tempOptions;\n }\n\n element.selectedOption =\n variant.options.length === 1 ? variant.options[0].name : '';\n }\n }\n const readyToBuy = !this.selections.some((x) => !x.selectedOption);\n\n if (readyToBuy) {\n const q = new PredicateBuilder((x: TagSku) => {\n const selection = this.selections[0];\n const variantName = selection.variant.name;\n return x[variantName] === selection.selectedOption;\n });\n for (let index = 1; index < this.selections.length; index++) {\n q.and((x: TagSku) => {\n const selection = this.selections[index];\n const variantName = selection.variant.name;\n return x[variantName] === selection.selectedOption;\n });\n }\n const selectedSku = this.product.skus.find(q.predicate);\n if (selectedSku) {\n this.internalSku = selectedSku;\n }\n this.$emit('readyToBuy', selectedSku);\n } else {\n //Build a query to find all skus that match current selections\n const q = new PredicateBuilder((x) => {\n const variantName = selectedVariant.name;\n return x[variantName] === value;\n });\n for (const opt of this.selections.filter(\n (x) => x.variant.id !== selectedVariant.id && !!x.selectedOption\n )) {\n q.and((x) => {\n const variantName = opt.variant.name;\n return x[variantName] === opt.selectedOption;\n });\n }\n\n //Get the set of possible variant options for these skus\n const possibleSkus = this.product.skus.filter(q.predicate);\n\n const possibleOptions: {\n variantName: string;\n optionValue: string | number;\n }[] = [];\n\n possibleSkus.forEach((s) => {\n const step2 = this.selections.map((x) => {\n const skuValue = s[x.variant.name];\n return { variantName: x.variant.name, optionValue: skuValue };\n });\n possibleOptions.push(...step2);\n });\n\n // remove any options for selections not yet made that are not available in the possible skus\n for (const variant of this.selections.filter(\n (s) => s.variant.id !== selectedVariant.id && !s.selectedOption\n )) {\n let i = variant.variant.options.length;\n while (i--) {\n const opt = variant.variant.options[i];\n\n if (\n !possibleOptions.some(\n (po) =>\n po.variantName === variant.variant.name &&\n po.optionValue === opt.name\n )\n ) {\n const indexToDelete = variant.variant.options.indexOf(opt);\n variant.variant.options.splice(indexToDelete, 1);\n }\n }\n }\n this.$emit('readyToBuy', undefined);\n }\n },\n getSkuOptions(): KeyValue[] {\n if (this.sku && this.product?.variants?.length) {\n const options: KeyValue[] = [];\n this.product.variants.forEach((v) => {\n if (this.sku) {\n const skuValue = this.sku[v.name].toString();\n const opt = v.options.find((o) => o.name === skuValue);\n const kv = {\n key: v.label,\n value: opt?.label || opt?.name || ''\n };\n options.push(kv);\n }\n });\n return options;\n }\n return [];\n }\n }\n});\n","import { render } from \"./InstantCheckoutProduct.vue?vue&type=template&id=3477517a&scoped=true&ts=true\"\nimport script from \"./InstantCheckoutProduct.vue?vue&type=script&lang=ts\"\nexport * from \"./InstantCheckoutProduct.vue?vue&type=script&lang=ts\"\n\nimport \"./InstantCheckoutProduct.vue?vue&type=style&index=0&id=3477517a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3477517a\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-30417acc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"w-100\" }\nconst _hoisted_2 = { class: \"mb-5 sm:mb-10\" }\nconst _hoisted_3 = { class: \"buyer-checkout-product__price\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", { class: \"font-normal\" }, \"Total\", -1))\nconst _hoisted_5 = { class: \"font-normal\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"buyer-checkout-product__price\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", { class: \"font-normal\" }, \"Shipping\", -1))\nconst _hoisted_8 = { class: \"font-normal\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"buyer-checkout-product__price\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tax\", -1))\nconst _hoisted_11 = { class: \"buyer-checkout-product__price font-medium\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Grand Total\", -1))\nconst _hoisted_13 = { class: \"text-gray-600 font-normal text-sm italic\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"dl\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"dd\", _hoisted_5, _toDisplayString(_ctx.getPrice(_ctx.charges.price)), 1)\n ]),\n (_ctx.shippingText !== 'To Be Determined')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"dd\", _hoisted_8, _toDisplayString(_ctx.shippingText), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.charges.tax > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice(_ctx.charges.tax)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.getPrice(_ctx.charges.total)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString(_ctx.taxShippingText), 1)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport { Charges } from '@/models/charges';\nimport { TagDetail } from '@/models/tag';\nimport { ProductSource } from '@/../models/sellerOrder';\n\nexport default defineComponent({\n props: {\n product: {\n type: Object as () => TagDetail,\n required: true\n },\n charges: {\n type: Object as () => Charges,\n required: true\n },\n isShippingCalculated: {\n type: Boolean,\n default: false\n },\n isTaxCalculated: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n shippingText(): string {\n if (this.product.productSource === 'Shopify') {\n return this.isShippingCalculated\n ? this.getPrice(this.charges.shipping)\n : 'To Be Determined';\n } else {\n return this.charges.shipping\n ? this.getPrice(this.charges.shipping)\n : 'Free';\n }\n },\n taxShippingText(): string {\n const taxToBeDetermined = !this.isTaxCalculated && this.product.chargeTax;\n const shippingToBeDetermined =\n !this.isShippingCalculated &&\n this.product.productSource === ProductSource.Shopify;\n\n if (taxToBeDetermined && shippingToBeDetermined) {\n return 'Tax & Shipping yet to be applied';\n } else if (taxToBeDetermined) {\n return 'Tax yet to be applied';\n } else if (shippingToBeDetermined) {\n return 'Shipping yet to be applied';\n } else {\n return '';\n }\n }\n },\n methods: {\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n }\n }\n});\n","import { render } from \"./CheckoutPriceSummary.vue?vue&type=template&id=30417acc&scoped=true&ts=true\"\nimport script from \"./CheckoutPriceSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckoutPriceSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./CheckoutPriceSummary.vue?vue&type=style&index=0&id=30417acc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-30417acc\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-35316238\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-unavailable-container w-full flex flex--column align--center justify--start text-align--center\" }\nconst _hoisted_2 = { class: \"checkout-image-container max-w-[382px]\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"checkout-image-container__badge\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"14\",\n height: \"14\",\n viewBox: \"0 0 14 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M8.64988 9.43345C7.73866 8.52223 6.26127 8.52223 5.35005 9.43345M8.75 5.83333H8.74417M5.25 5.83333H5.24417M1.75 7C1.75 9.8995 4.1005 12.25 7 12.25C9.89949 12.25 12.25 9.8995 12.25 7C12.25 4.10051 9.89949 1.75 7 1.75C4.1005 1.75 1.75 4.10051 1.75 7Z\",\n stroke: \"white\",\n \"stroke-width\": \"1.16667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n ])\n], -1))\nconst _hoisted_4 = { class: \"product-unavailable-column mt-10 max-w-[382px]\" }\nconst _hoisted_5 = { class: \"product-unavailable-column__details\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InstantCheckoutProductImage = _resolveComponent(\"InstantCheckoutProductImage\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_InstantCheckoutProductImage, { product: _ctx.product }, null, 8, [\"product\"]),\n _hoisted_3\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, \" This product is currently unavailable. Come back another time to check if it's back in stock\" + _toDisplayString(_ctx.shopifyStoreUrl ? ' or check out our other products' : '') + \"! \", 1),\n (_ctx.shopifyStoreUrl)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"Go to Store\",\n type: \"button\",\n class: _normalizeClass([\"w-100 margin-top-4\", 'custom__' + _ctx.customColor]),\n onClick: _ctx.navigateToShopifyStore\n }, null, 8, [\"class\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { ShippingAddress } from '../settings/BuyerSettingsInterfaces';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { TagDetail } from '@/models/tag';\nimport InstantCheckoutProductImage from '@/buyer/checkout/InstantCheckoutProductImage.vue';\n\nexport default defineComponent({\n name: 'UnavailableProductComponent',\n components: {\n InstantCheckoutProductImage\n },\n props: {\n product: {\n type: Object as () => TagDetail,\n required: true\n },\n customColor: {\n type: String,\n required: true\n },\n shopifyStoreUrl: {\n type: String\n }\n },\n data() {\n return {\n shippingAddress: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States',\n isDefault: true\n } as ShippingAddress,\n addAddressButtonState: ButtonLoadingState.initial\n };\n },\n methods: {\n navigateToShopifyStore() {\n if (this.shopifyStoreUrl) {\n window.location.href = this.shopifyStoreUrl;\n }\n }\n }\n});\n","import { render } from \"./UnavailableProductComponent.vue?vue&type=template&id=35316238&scoped=true&ts=true\"\nimport script from \"./UnavailableProductComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./UnavailableProductComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./UnavailableProductComponent.vue?vue&type=style&index=0&id=35316238&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-35316238\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"whitespace-nowrap overflow-hidden text-ellipsis w-20ch [414px]:w-[28ch] md:w-[28ch]\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TagsTextField = _resolveComponent(\"TagsTextField\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"flex flex-nowrap justify-between w-full\", _ctx.verticallyCenterActionSlot ? 'items-center' : 'items-end'])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_TagsTextField, {\n label: _ctx.labelText,\n text: _ctx.formattedCardNumber\n }, null, 8, [\"label\", \"text\"])\n ]),\n _renderSlot(_ctx.$slots, \"action\")\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport type { PropType } from 'vue';\nimport { PaymentOption } from '../../buyer/settings/BuyerSettingsInterfaces';\nimport { getMaskedCreditCardNumber } from './StripeCreditCardDetailsComponent.vue';\n\nexport default defineComponent({\n name: 'CreditCardSummaryComponent',\n props: {\n card: {\n type: Object as PropType,\n required: true\n },\n hideLabel: {\n type: Boolean,\n required: false,\n default: false\n },\n verticallyCenterActionSlot: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n computed: {\n formattedCardNumber() {\n if (!this.card) {\n return 'No card information';\n }\n\n return `${this.card.brand?.toUpperCase()} ${getMaskedCreditCardNumber(\n this.card.brand,\n this.card.last4\n )}`;\n },\n labelText() {\n return this.hideLabel ? '' : 'Card';\n }\n }\n});\n","import { render } from \"./StripeCreditCardSummaryComponent.vue?vue&type=template&id=39d471d1&ts=true\"\nimport script from \"./StripeCreditCardSummaryComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./StripeCreditCardSummaryComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"whitespace-nowrap overflow-hidden text-ellipsis w-20ch [414px]:w-[28ch] md:w-[28ch]\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TagsTextField = _resolveComponent(\"TagsTextField\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"flex flex-nowrap justify-between w-full\", _ctx.verticallyCenterActionSlot ? 'items-center' : 'items-end'])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_TagsTextField, {\n label: _ctx.labelText,\n text: _ctx.fullAddress\n }, null, 8, [\"label\", \"text\"])\n ]),\n _renderSlot(_ctx.$slots, \"action\")\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport type { PropType } from 'vue';\nimport { ShippingAddress } from '@/buyer/settings/BuyerSettingsInterfaces';\n\nexport default defineComponent({\n name: 'AddressSummaryComponent',\n props: {\n address: {\n type: Object as PropType,\n required: true\n },\n hideLabel: {\n type: Boolean,\n required: false,\n default: false\n },\n verticallyCenterActionSlot: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n computed: {\n fullAddress() {\n if (!this.address) {\n return 'No delivery information';\n }\n\n const addressComponents = [\n this.address.address1,\n this.address.address2,\n this.address.city,\n this.address.state,\n this.address.postalCode,\n this.address.country\n ];\n\n // filter(Boolean) removes any null/undefined values.\n return addressComponents.filter(Boolean).join(', ');\n },\n labelText() {\n return this.hideLabel ? '' : 'Delivery';\n }\n }\n});\n","import { render } from \"./AddressSummaryComponent.vue?vue&type=template&id=7f1b7d8d&ts=true\"\nimport script from \"./AddressSummaryComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressSummaryComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-11b5d4e2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Cards\", -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-10 md:mt-0 flex flex-nowrap flex-col gap-4 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Add your card details for faster checkouts\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" You can add multiple cards to your account. You may change your default payment at any time. \")\n], -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"flex flex-nowrap flex-col gap-10 w-full mb-10\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Default\", -1))\nconst _hoisted_5 = { class: \"flex flex-nowrap w-full justify-between items-center\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"flex flex-col flex-nowrap my-10 gap-4\"\n}\nconst _hoisted_7 = { class: \"w-full h-full flex flex-nowrap flex-col gap-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_TagsToggle = _resolveComponent(\"TagsToggle\")!\n const _component_StripeCreditCardSummaryComponent = _resolveComponent(\"StripeCreditCardSummaryComponent\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BaseCheckoutStep = _resolveComponent(\"BaseCheckoutStep\")!\n const _component_AddPaymentOption = _resolveComponent(\"AddPaymentOption\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (!_ctx.addNewCard)\n ? (_openBlock(), _createBlock(_component_BaseCheckoutStep, {\n key: 0,\n title: \"Cards\",\n onBackNavigationRequested: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('backNavigationRequested')))\n }, {\n \"step-header\": _withCtx(() => [\n _hoisted_1\n ]),\n \"action-button\": _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostButton, {\n id: \"add-payment-option\",\n class: \"w-full\",\n label: \"Add New Card\",\n disabled: !_ctx.canAddCard,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.addNewCard = true))\n }, null, 8, [\"disabled\"]),\n _createVNode(_component_BoostButton, {\n id: \"done-button\",\n class: \"w-full\",\n \"button-style\": \"optional\",\n label: \"Done\",\n onClick: _ctx.selectedPaymentOptionChanged\n }, null, 8, [\"onClick\"])\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_CheckoutDetailDivider, { class: \"my-10\" }),\n (_ctx.paymentOptions.defaultCard)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_StripeCreditCardSummaryComponent, {\n card: _ctx.paymentOptions.defaultCard,\n \"hide-label\": true,\n \"vertically-center-action-slot\": true\n }, {\n action: _withCtx(() => [\n _createVNode(_component_TagsToggle, {\n modelValue: _ctx.paymentOptions.defaultCard.isSelected,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((_ctx.paymentOptions.defaultCard.isSelected) = $event)),\n _cache[1] || (_cache[1] = ($event: any) => (\n _ctx.selectPaymentOption(_ctx.paymentOptions.defaultCard)\n ))\n ],\n \"hide-label\": true\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"card\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.paymentOptions.nonDefaultCards.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_CheckoutDetailDivider, { class: \"mb-6\" }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.paymentOptions.nonDefaultCards, (card, index) => {\n return (_openBlock(), _createBlock(_component_StripeCreditCardSummaryComponent, {\n key: index + 'payment-option',\n card: card,\n \"hide-label\": true,\n \"vertically-center-action-slot\": true\n }, {\n action: _withCtx(() => [\n _createVNode(_component_TagsToggle, {\n modelValue: card.isSelected,\n \"onUpdate:modelValue\": [($event: any) => ((card.isSelected) = $event), ($event: any) => (_ctx.selectPaymentOption(card))],\n \"hide-label\": true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 2\n }, 1032, [\"card\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.addNewCard)\n ? (_openBlock(), _createBlock(_component_AddPaymentOption, {\n key: 1,\n \"custom-color\": _ctx.customColor,\n onAddPaymentCanceled: _cache[4] || (_cache[4] = ($event: any) => (_ctx.addNewCard = false)),\n onAddPaymentCompleted: _ctx.newPaymentAdded\n }, null, 8, [\"custom-color\", \"onAddPaymentCompleted\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Add New Card\", -1)\nconst _hoisted_2 = { class: \"text-gray-tone flex flex-nowrap flex-col gap-10 pb-10\" }\nconst _hoisted_3 = { class: \"h-auto\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-xs leading-5\" }, \" Please make sure each field is complete and entered correctly. By clicking Confirm you are agreeing that you are the account holder and have the right to enter this information. \", -1)\nconst _hoisted_5 = { class: \"w-full h-full flex flex-nowrap flex-col gap-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostStripeCard = _resolveComponent(\"BoostStripeCard\")!\n const _component_TagsToggle = _resolveComponent(\"TagsToggle\")!\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BaseCheckoutStep = _resolveComponent(\"BaseCheckoutStep\")!\n\n return (_openBlock(), _createBlock(_component_BaseCheckoutStep, {\n title: _ctx.title,\n onBackNavigationRequested: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('add-payment-canceled')))\n }, {\n \"step-header\": _withCtx(() => [\n _hoisted_1\n ]),\n \"action-button\": _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostButton, {\n id: \"add-payment-option\",\n class: \"w-full\",\n label: \"Confirm\",\n disabled: _ctx.stripeCardElement === null,\n onClick: _ctx.confirmAddCard\n }, null, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_BoostButton, {\n id: \"done-button\",\n class: \"w-full\",\n \"button-style\": \"optional\",\n label: \"Cancel\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('add-payment-canceled')))\n })\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.stripe)\n ? (_openBlock(), _createBlock(_component_BoostStripeCard, {\n key: 0,\n label: \"Card\",\n \"show-required-asterisk-on-label\": false,\n stripe: _ctx.stripe,\n onCard: _ctx.collectCard,\n onIncomplete: _cache[0] || (_cache[0] = ($event: any) => (_ctx.stripeCardElement = null))\n }, null, 8, [\"stripe\", \"onCard\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_TagsToggle, {\n modelValue: _ctx.isDefault,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.isDefault) = $event)),\n label: \"Set new card as default\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n _hoisted_4\n ])\n ]),\n _: 1\n }, 8, [\"title\"]))\n}","import { renderSlot as _renderSlot, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex-nowrap justify-center flex-col w-full\" }\nconst _hoisted_2 = { class: \"text-sm leading-6\" }\nconst _hoisted_3 = { class: \"w-full h-full flex flex-nowrap flex-col gap-10\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _renderSlot(_ctx.$slots, \"step-header\")\n ])),\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_CheckoutDetailDivider),\n _renderSlot(_ctx.$slots, \"action-button\")\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\nexport default defineComponent({\n name: 'BaseCheckoutStep',\n components: {\n CheckoutDetailDivider\n },\n props: {\n title: {\n type: String,\n default: 'Change Card'\n }\n },\n emits: ['back-navigation-requested']\n});\n","import { render } from \"./BaseCheckoutStep.vue?vue&type=template&id=174eac3f&ts=true\"\nimport script from \"./BaseCheckoutStep.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseCheckoutStep.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { loadStripe, Stripe, StripeCardElement } from '@stripe/stripe-js';\nimport settings from '@/settings';\nimport BaseCheckoutStep from './BaseCheckoutStep.vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n name: 'AddPaymentOption',\n components: { BaseCheckoutStep, CheckoutDetailDivider },\n props: {\n title: {\n type: String,\n default: 'Add New Card'\n },\n customColor: {\n type: String,\n required: true\n }\n },\n emits: ['add-payment-completed', 'add-payment-canceled'],\n data() {\n return {\n stripe: null as null | Stripe,\n stripeCardElement: null as null | StripeCardElement,\n isDefault: true,\n addPaymentButtonState: ButtonLoadingState.initial\n };\n },\n async mounted() {\n await this.initializeStripe();\n },\n methods: {\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.addPaymentButtonState = ButtonLoadingState.initial;\n },\n async confirmAddCard() {\n try {\n this.addPaymentButtonState = ButtonLoadingState.loading;\n const success = await this.$store.dispatch(\n 'accounts/addPaymentOption',\n {\n stripeCardElement: this.stripeCardElement,\n stripe: this.stripe,\n setAsDefault: this.isDefault\n }\n );\n if (success) {\n this.addPaymentButtonState = ButtonLoadingState.complete;\n this.$emit('add-payment-completed', this.isDefault);\n }\n } catch (e) {\n console.log('adding payment option failed: ', e);\n this.addPaymentButtonState = ButtonLoadingState.initial;\n }\n }\n }\n});\n","import { render } from \"./AddPaymentOption.vue?vue&type=template&id=77ce52d4&ts=true\"\nimport script from \"./AddPaymentOption.vue?vue&type=script&lang=ts\"\nexport * from \"./AddPaymentOption.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SwitchComponent = _resolveComponent(\"SwitchComponent\")!\n const _component_SwitchLabel = _resolveComponent(\"SwitchLabel\")!\n const _component_SwitchGroup = _resolveComponent(\"SwitchGroup\")!\n\n return (_openBlock(), _createBlock(_component_SwitchGroup, {\n as: \"div\",\n class: \"flex flex-nowrap items-center\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_SwitchComponent, {\n modelValue: _ctx.model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.model) = $event)),\n class: _normalizeClass([\n _ctx.model ? 'bg-dorito' : 'bg-gray-600',\n 'relative inline-flex h-4 w-[32px] flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-dorito focus:ring-offset-2'\n ])\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([\n _ctx.model ? 'translate-x-4' : 'translate-x-0',\n 'pointer-events-none inline-block h-3 w-3 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out'\n ])\n }, null, 2)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"]),\n (_ctx.label)\n ? (_openBlock(), _createBlock(_component_SwitchLabel, {\n key: 0,\n as: \"span\",\n class: \"ml-3 text-sm\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.label), 1)\n ])\n ]),\n _: 3\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n }))\n}","\nimport { defineComponent } from 'vue';\nimport {\n Switch as SwitchComponent,\n SwitchGroup,\n SwitchLabel\n} from '@headlessui/vue';\n\nexport default defineComponent({\n name: 'TagsToggle',\n components: {\n SwitchComponent,\n SwitchGroup,\n SwitchLabel\n },\n props: {\n description: {\n type: String\n },\n hideLabel: {\n type: Boolean,\n default: false\n },\n modelValue: {\n type: Boolean,\n default: false\n },\n label: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n }\n },\n emits: ['input', 'update:modelValue'],\n computed: {\n model: {\n get() {\n return this.modelValue;\n },\n set(value: boolean) {\n this.$emit('update:modelValue', value);\n }\n }\n },\n mounted() {\n console.log('TagsToggle: > ', this.modelValue);\n }\n});\n","import { render } from \"./TagsToggle.vue?vue&type=template&id=a3a750c0&ts=true\"\nimport script from \"./TagsToggle.vue?vue&type=script&lang=ts\"\nexport * from \"./TagsToggle.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent, reactive } from 'vue';\nimport type { PropType } from 'vue';\nimport { PaymentOption } from '../../buyer/settings/BuyerSettingsInterfaces';\nimport AddPaymentOption from './AddPaymentOption.vue';\nimport BaseCheckoutStep from './BaseCheckoutStep.vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\nimport StripeCreditCardSummaryComponent from '../../common/info/StripeCreditCardSummaryComponent.vue';\nimport TagsToggle from '@/common/controls/TagsToggle.vue';\n\ninterface SelectablePaymentOption extends PaymentOption {\n isSelected: boolean;\n}\n\ninterface PaymentOptions {\n defaultCard: SelectablePaymentOption | null;\n nonDefaultCards: SelectablePaymentOption[];\n}\n\nexport default defineComponent({\n name: 'UpdatePaymentOptions',\n components: {\n StripeCreditCardSummaryComponent,\n AddPaymentOption,\n CheckoutDetailDivider,\n BaseCheckoutStep,\n TagsToggle\n },\n props: {\n cards: {\n type: Object as PropType>,\n required: true\n },\n initialSelectedPaymentOption: {\n type: Object as PropType\n },\n customColor: {\n type: String,\n required: true\n }\n },\n emits: {\n backNavigationRequested() {\n return true;\n },\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n paymentOptionUpdated(payload: PaymentOption) {\n return true;\n }\n },\n setup(props) {\n // Here, in setup, take the initialSelectedPaymentOption and\n // create 2 reactive objects, with isSelected properties\n const paymentOptions: PaymentOptions = reactive({\n defaultCard: null,\n nonDefaultCards: []\n });\n const defaultCard = props.cards.find((c) => c.isDefault);\n if (defaultCard) {\n paymentOptions.defaultCard = { ...defaultCard, isSelected: true };\n }\n\n paymentOptions.nonDefaultCards = props.cards\n .filter((c) => !c.isDefault)\n .map((c) => ({ ...c, isSelected: false }));\n\n return {\n paymentOptions\n };\n },\n data() {\n return {\n addNewCard: false,\n selectedPaymentOption: this.initialSelectedPaymentOption as PaymentOption\n };\n },\n computed: {\n canAddCard() {\n return this.cards.length < 3;\n },\n defaultCard() {\n const defaultCard = this.cards.find((c) => c.isDefault);\n if (defaultCard) {\n return { ...defaultCard, isSelected: true };\n }\n\n return null;\n },\n nonDefaultCards() {\n return this.cards\n .filter((c) => !c.isDefault)\n .map((c) => ({ ...c, isSelected: false }));\n }\n },\n async mounted() {\n await this.getCurrentBuyer();\n },\n methods: {\n async getCurrentBuyer() {\n this.addNewCard = false;\n this.$store.commit('global/setLoading', {\n isLoading: true,\n message: 'Retrieving payment options...'\n });\n await this.$store.dispatch('auth/refreshCurrentBuyer');\n this.$store.commit('global/setLoading', false);\n },\n selectedPaymentOptionChanged() {\n if (this.initialSelectedPaymentOption === this.selectedPaymentOption) {\n this.$emit('backNavigationRequested');\n return;\n }\n\n this.$store.commit('global/setBannerStatus', null);\n this.$emit('paymentOptionUpdated', this.selectedPaymentOption);\n },\n isPaymentOptionSelected(paymentOption: PaymentOption) {\n return paymentOption.id === this.selectedPaymentOption?.id;\n },\n async newPaymentAdded(setAsDefault: boolean) {\n await this.getCurrentBuyer();\n\n if (setAsDefault) {\n const defaultCard = this.cards.find((c) => c.isDefault);\n if (defaultCard) {\n this.selectedPaymentOption = defaultCard;\n }\n }\n },\n selectPaymentOption(selectedPaymentOption: PaymentOption) {\n // do not allow the option of deselecting.\n if (selectedPaymentOption.id === this.selectedPaymentOption.id) {\n return;\n }\n\n // When we select a new address, we need to remove isSelected from the other\n // addresses.\n this.selectedPaymentOption = selectedPaymentOption;\n\n if (this.paymentOptions.defaultCard !== null) {\n this.paymentOptions.defaultCard.isSelected =\n this.paymentOptions.defaultCard?.id === selectedPaymentOption.id;\n }\n\n for (const paymentOption of this.paymentOptions.nonDefaultCards) {\n paymentOption.isSelected =\n paymentOption.id === selectedPaymentOption.id;\n }\n }\n }\n});\n","import { render } from \"./UpdatePaymentOptions.vue?vue&type=template&id=11b5d4e2&scoped=true&ts=true\"\nimport script from \"./UpdatePaymentOptions.vue?vue&type=script&lang=ts\"\nexport * from \"./UpdatePaymentOptions.vue?vue&type=script&lang=ts\"\n\nimport \"./UpdatePaymentOptions.vue?vue&type=style&index=0&id=11b5d4e2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-11b5d4e2\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ed50141\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Delivery\", -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-10 md:mt-0 flex flex-nowrap flex-col gap-4 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Where should we deliver to?\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" You can add multiple addresses to your account. You may change your default shipping address at any time. \")\n], -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"flex flex-nowrap flex-col gap-10 w-full mb-10\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Default\", -1))\nconst _hoisted_5 = { class: \"flex flex-nowrap w-full justify-between items-center\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"flex flex-col flex-nowrap my-10 gap-4\"\n}\nconst _hoisted_7 = { class: \"w-full h-full flex flex-nowrap flex-col gap-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_TagsToggle = _resolveComponent(\"TagsToggle\")!\n const _component_AddressSummaryComponent = _resolveComponent(\"AddressSummaryComponent\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BaseCheckoutStep = _resolveComponent(\"BaseCheckoutStep\")!\n const _component_AddShippingOption = _resolveComponent(\"AddShippingOption\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (!_ctx.addNewShippingOption)\n ? (_openBlock(), _createBlock(_component_BaseCheckoutStep, {\n key: 0,\n title: \"Delivery\",\n onBackNavigationRequested: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('backNavigationRequested')))\n }, {\n \"step-header\": _withCtx(() => [\n _hoisted_1\n ]),\n \"action-button\": _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostButton, {\n id: \"add-shipping-option\",\n class: \"w-full\",\n label: \"Add New Address\",\n disabled: !_ctx.canAddShippingAddress,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.addNewShippingOption = true))\n }, null, 8, [\"disabled\"]),\n _createVNode(_component_BoostButton, {\n id: \"done-button\",\n class: \"w-full\",\n \"button-style\": \"optional\",\n label: \"Done\",\n onClick: _ctx.selectedShippingAddressChanged\n }, null, 8, [\"onClick\"])\n ])\n ]),\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_CheckoutDetailDivider, { class: \"my-10\" }),\n (_ctx.shippingAddresses.defaultAddress)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_AddressSummaryComponent, {\n address: _ctx.shippingAddresses.defaultAddress,\n \"hide-label\": true,\n \"vertically-center-action-slot\": true\n }, {\n action: _withCtx(() => [\n _createVNode(_component_TagsToggle, {\n modelValue: _ctx.shippingAddresses.defaultAddress.isSelected,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((_ctx.shippingAddresses.defaultAddress.isSelected) = $event)),\n _cache[1] || (_cache[1] = ($event: any) => (\n _ctx.selectShippingAddress(_ctx.shippingAddresses.defaultAddress)\n ))\n ],\n \"hide-label\": true\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"address\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.shippingAddresses.nonDefaultAddresses.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_CheckoutDetailDivider, { class: \"mb-6\" }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.shippingAddresses.nonDefaultAddresses, (card, index) => {\n return (_openBlock(), _createBlock(_component_AddressSummaryComponent, {\n key: index + 'payment-option',\n address: card,\n \"hide-label\": true,\n \"vertically-center-action-slot\": true\n }, {\n action: _withCtx(() => [\n _createVNode(_component_TagsToggle, {\n modelValue: card.isSelected,\n \"onUpdate:modelValue\": [($event: any) => ((card.isSelected) = $event), ($event: any) => (_ctx.selectShippingAddress(card))],\n \"hide-label\": true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 2\n }, 1032, [\"address\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.addNewShippingOption)\n ? (_openBlock(), _createBlock(_component_AddShippingOption, {\n key: 1,\n \"custom-color\": _ctx.customColor,\n onAddAddressCanceled: _cache[4] || (_cache[4] = ($event: any) => (_ctx.addNewShippingOption = false)),\n onAddAddressCompleted: _ctx.shippingOptionAdded\n }, null, 8, [\"custom-color\", \"onAddAddressCompleted\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Add New Address\", -1)\nconst _hoisted_2 = { class: \"text-gray-tone flex flex-nowrap flex-col gap-10 pb-10\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { class: \"add-shipping-option-form\" }\nconst _hoisted_5 = { class: \"flex input-set\" }\nconst _hoisted_6 = { class: \"flex input-set\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-xs leading-5\" }, \" Please make sure each field is complete and entered correctly. By clicking Confirm you are agreeing that you are the account holder and have the right to enter this information. \", -1)\nconst _hoisted_8 = { class: \"w-full h-full flex flex-nowrap flex-col gap-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostStatePicker = _resolveComponent(\"BoostStatePicker\")!\n const _component_TagsToggle = _resolveComponent(\"TagsToggle\")!\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BaseCheckoutStep = _resolveComponent(\"BaseCheckoutStep\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n\n return (_openBlock(), _createBlock(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createVNode(_component_BaseCheckoutStep, { title: _ctx.title }, {\n \"step-header\": _withCtx(() => [\n _hoisted_1\n ]),\n \"action-button\": _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_BoostButton, {\n id: \"button-confirm-add-address\",\n class: \"w-full\",\n label: \"Confirm\",\n \"loading-state\": _ctx.addAddressButtonState,\n disabled: !meta.valid,\n \"complete-label\": \"Address Added\",\n onClick: ($event: any) => (handleSubmit(_ctx.saveShippingAddress))\n }, null, 8, [\"loading-state\", \"disabled\", \"onClick\"]),\n _createVNode(_component_BoostButton, {\n id: \"done-button\",\n class: \"w-full\",\n \"button-style\": \"optional\",\n label: \"Cancel\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.$emit('add-address-canceled')))\n })\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.saveShippingAddress)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingAddress.address1,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.shippingAddress.address1) = $event)),\n label: \"Address line 1\",\n rules: \"required\",\n \"input-id\": \"address-line-1\",\n autocomplete: \"address-line1\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingAddress.address2,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.shippingAddress.address2) = $event)),\n label: \"Address line 2\",\n \"input-id\": \"address-line-2\",\n autocomplete: \"address-line2\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingAddress.city,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.shippingAddress.city) = $event)),\n label: \"City\",\n rules: \"required\",\n \"input-id\": \"address-city\",\n autocomplete: \"address-level2\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostStatePicker, {\n modelValue: _ctx.shippingAddress.state,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.shippingAddress.state) = $event)),\n label: \"State\",\n rules: \"required\",\n \"input-id\": \"address-state\",\n autocomplete: \"address-level1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingAddress.postalCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.shippingAddress.postalCode) = $event)),\n label: \"ZIP\",\n rules: \"required\",\n \"input-id\": \"address-zip\",\n autocomplete: \"postal-code\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.shippingAddress.country,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.shippingAddress.country) = $event)),\n label: \"Country\",\n rules: \"required\",\n \"input-id\": \"address-country\",\n disabled: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_TagsToggle, {\n modelValue: _ctx.shippingAddress.isDefault,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.shippingAddress.isDefault) = $event)),\n label: \"Set new address as default\"\n }, null, 8, [\"modelValue\"])\n ])\n ], 40, _hoisted_3),\n _createVNode(_component_CheckoutDetailDivider),\n _hoisted_7\n ])\n ]),\n _: 2\n }, 1032, [\"title\"])\n ]),\n _: 1\n }, 512))\n}","\nimport { defineComponent } from 'vue';\nimport { ShippingAddress } from '../settings/BuyerSettingsInterfaces';\nimport BaseCheckoutStep from './BaseCheckoutStep.vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\nexport default defineComponent({\n name: 'AddShippingOption',\n components: { BaseCheckoutStep, CheckoutDetailDivider },\n props: {\n title: {\n type: String,\n default: 'Add New Shipping Address'\n },\n customColor: {\n type: String,\n required: true\n }\n },\n emits: ['add-address-completed', 'add-address-canceled'],\n data() {\n return {\n shippingAddress: {\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States',\n isDefault: true\n } as ShippingAddress,\n addAddressButtonState: ButtonLoadingState.initial\n };\n },\n methods: {\n async saveShippingAddress() {\n this.addAddressButtonState = ButtonLoadingState.loading;\n try {\n const success = await this.$store.dispatch(\n 'accounts/addShippingAddress',\n this.shippingAddress\n );\n if (success) {\n this.addAddressButtonState = ButtonLoadingState.complete;\n this.$emit('add-address-completed', this.shippingAddress.isDefault);\n }\n } catch (e) {\n console.log('adding address failed: ', e);\n }\n }\n }\n});\n","import { render } from \"./AddShippingOption.vue?vue&type=template&id=4d520a58&ts=true\"\nimport script from \"./AddShippingOption.vue?vue&type=script&lang=ts\"\nexport * from \"./AddShippingOption.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent, reactive } from 'vue';\nimport type { PropType } from 'vue';\nimport AddressSummaryComponent from '@/common/info/AddressSummaryComponent.vue';\nimport AddShippingOption from './AddShippingOption.vue';\nimport BaseCheckoutStep from './BaseCheckoutStep.vue';\nimport { store } from '@/store';\nimport { ShippingAddress } from '../settings/BuyerSettingsInterfaces';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\ninterface SelectableShippingAddress extends ShippingAddress {\n isSelected: boolean;\n}\n\ninterface ShippingAddresses {\n defaultAddress: SelectableShippingAddress | null;\n nonDefaultAddresses: SelectableShippingAddress[];\n}\n\nexport default defineComponent({\n name: 'UpdateShippingOptions',\n components: {\n AddressSummaryComponent,\n AddShippingOption,\n CheckoutDetailDivider,\n BaseCheckoutStep\n },\n props: {\n shippingOptions: {\n type: Object as PropType>,\n required: true\n },\n initialSelectedShippingOption: {\n type: Object as PropType\n },\n customColor: {\n type: String,\n required: true\n }\n },\n // We use the `emits` object syntax so that we can declare the payload types of our emitted events.\n // Read More: https://vuejs.org/guide/typescript/options-api.html#typing-component-emits\n emits: {\n backNavigationRequested() {\n return true;\n },\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n shippingAddressUpdated(payload: ShippingAddress) {\n return true;\n }\n },\n setup(props) {\n // Here, in setup, take the initialSelectedPaymentOption and\n // create 2 reactive objects, with isSelected properties\n const shippingAddresses: ShippingAddresses = reactive({\n defaultAddress: null,\n nonDefaultAddresses: []\n });\n const defaultAddress = props.shippingOptions.find((c) => c.isDefault);\n if (defaultAddress) {\n shippingAddresses.defaultAddress = {\n ...defaultAddress,\n isSelected: true\n };\n }\n\n shippingAddresses.nonDefaultAddresses = props.shippingOptions\n .filter((c) => !c.isDefault)\n .map((c) => ({ ...c, isSelected: false }));\n\n return {\n shippingAddresses\n };\n },\n data() {\n return {\n addNewShippingOption: false,\n selectedShippingOption: this\n .initialSelectedShippingOption as ShippingAddress\n };\n },\n computed: {\n canAddShippingAddress(): boolean {\n return this.shippingOptions.length < 12;\n }\n },\n async mounted() {\n // Each time this component is mounted, we should reload the currentBuyer\n // so that we get the latest shippingAddresses.\n await this.getCurrentBuyer();\n },\n methods: {\n async getCurrentBuyer() {\n this.addNewShippingOption = false;\n store.commit('global/setLoading', {\n isLoading: true,\n message: 'Retrieving shipping addresses...'\n });\n await store.dispatch('auth/refreshCurrentBuyer');\n store.commit('global/setLoading', false);\n },\n selectedShippingAddressChanged() {\n if (this.initialSelectedShippingOption === this.selectedShippingOption) {\n this.$emit('backNavigationRequested');\n return;\n }\n\n store.commit('global/setBannerStatus', null);\n this.$emit('shippingAddressUpdated', this.selectedShippingOption);\n },\n async shippingOptionAdded(setAsDefault: boolean) {\n await this.getCurrentBuyer();\n if (setAsDefault) {\n const newAddress = this.shippingOptions.find((so) => so.isDefault);\n if (newAddress) {\n this.selectedShippingOption = newAddress;\n }\n }\n },\n selectShippingAddress(selectedAddress: ShippingAddress) {\n // do not allow the option of deselecting.\n if (selectedAddress.id === this.selectedShippingOption.id) {\n return;\n }\n\n // When we select a new address, we need to remove isSelected from the other\n // addresses.\n this.selectedShippingOption = selectedAddress;\n\n if (this.shippingAddresses.defaultAddress !== null) {\n this.shippingAddresses.defaultAddress.isSelected =\n this.shippingAddresses.defaultAddress?.id === selectedAddress.id;\n }\n\n for (const address of this.shippingAddresses.nonDefaultAddresses) {\n address.isSelected = address.id === selectedAddress.id;\n }\n }\n }\n});\n","import { render } from \"./UpdateShippingOptions.vue?vue&type=template&id=5ed50141&scoped=true&ts=true\"\nimport script from \"./UpdateShippingOptions.vue?vue&type=script&lang=ts\"\nexport * from \"./UpdateShippingOptions.vue?vue&type=script&lang=ts\"\n\nimport \"./UpdateShippingOptions.vue?vue&type=style&index=0&id=5ed50141&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ed50141\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, withCtx as _withCtx, withModifiers as _withModifiers, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/heart.svg'\nimport _imports_1 from '@/assets/bag.svg'\nimport _imports_2 from '@/assets/dollar.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e80b319c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Sorry!\", -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"\" }, \" Unfortunately you're unable to generate tags for this brand as your advocate partnership with them has been suspended. \", -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Love this product so much you want to tell everyone about it? Create your own checkout Tags and get paid every time someone buys from you. \", -1))\nconst _hoisted_5 = { class: \"margin-top-16 margin-bottom-16\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-item\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }),\n /*#__PURE__*/_createTextVNode(\" Find the products you love \")\n], -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-item\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }),\n /*#__PURE__*/_createTextVNode(\" Generate your checkout tags in seconds \")\n], -1))\nconst _hoisted_8 = { class: \"line-item\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_10 = { key: 2 }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-xl m-0\" }, \"Complete Signup\", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-10 md:mt-0 flex flex-nowrap flex-col gap-4 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"m-0 text-base\" }, \"Create your username\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-tone\" }, \" You will use this username to sell affiliated products much like a domain name so make sure it can be referenced easily. \")\n], -1))\nconst _hoisted_13 = [\"onSubmit\"]\nconst _hoisted_14 = { class: \"grid grid-cols-1 gap-x-6 gap-y-5 sm:grid-cols-6\" }\nconst _hoisted_15 = { class: \"col-span-full\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Alphapetical characters only\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Between 4 and 15 characters\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Something simple to say and type\")\n], -1))\nconst _hoisted_17 = { class: \"text-gray text-xs font-normal leading-tight\" }\nconst _hoisted_18 = {\n key: 3,\n class: \"flex flex-col flex-nowrap gap-10\"\n}\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"justify-start items-start gap-3 flex\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-8 w-8 bg-dorito rounded-full flex items-center justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M4.40021 10.8005L7.60021 14.0005L15.6002 6.00049\",\n stroke: \"white\",\n \"stroke-width\": \"1.68427\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-gray-900 text-xl font-light leading-relaxed\" }, \" You're ready to start tagging! \")\n], -1))\nconst _hoisted_20 = { class: \"self-stretch flex-col justify-start items-start gap-6 flex\" }\nconst _hoisted_21 = { class: \"self-stretch text-gray text-sm font-normal font-[Inter] leading-normal line-clamp-3\" }\nconst _hoisted_22 = { class: \"justify-start items-start gap-2 inline-flex\" }\nconst _hoisted_23 = { class: \"px-2.5 py-[3px] bg-orange-200 rounded-[30px] justify-center items-center gap-px flex text-xs\" }\nconst _hoisted_24 = { class: \"text-orange-800 leading-5\" }\nconst _hoisted_25 = {\n key: 1,\n class: \"flex flex-col gap-4 font-light text-gray\"\n}\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-gray-900 text-lg font-medium leading-normal\" }, \" Guidelines \", -1))\nconst _hoisted_27 = { class: \"list-disc list-inside space-y-2\" }\nconst _hoisted_28 = { class: \"w-full flex flex-col items-center justify-center gap-4\" }\nconst _hoisted_29 = [\"href\"]\nconst _hoisted_30 = { class: \"text-gray text-xs font-normal leading-tight\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_CheckoutDetailDivider = _resolveComponent(\"CheckoutDetailDivider\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.status === _ctx.AffiliateOnCheckoutStatus.Suspended)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_2\n ])),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.status === _ctx.AffiliateOnCheckoutStatus.SignupStep1)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 1,\n title: \"Get paid for sharing\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createTextVNode(\" Earn \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.percentage) + \"%\", 1),\n _createTextVNode(\" commission from every sale \")\n ])\n ]),\n _createVNode(_component_BoostButton, {\n class: _normalizeClass([\"w-100\", 'custom__' + _ctx.customColor]),\n label: \"Get Started\",\n \"button-style\": \"custom\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.status = _ctx.AffiliateOnCheckoutStatus.SignupStep2))\n }, null, 8, [\"class\"]),\n _createElementVNode(\"a\", {\n id: \"learn-more-link\",\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"https://tagscommerce.com/creator\",\n target: \"_blank\"\n }, \"Learn more about Tags \", 2)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.status === _ctx.AffiliateOnCheckoutStatus.SignupStep2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_11\n ])),\n _hoisted_12,\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex-col flex-nowrap gap-10 my-10\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex flex-col flex-nowrap gap-10 w-full\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.registerAffiliate)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.username,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.username) = $event)),\n label: \"Username\",\n rules: \"required|alpha|min:4|max:15\",\n \"input-id\": \"affiliate_name\",\n \"custom-error\": _ctx.usernameError\n }, null, 8, [\"modelValue\", \"custom-error\"]),\n _hoisted_16\n ])\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n _createVNode(_component_BoostButton, {\n key: \"account_done\",\n label: \"Create My Checkout\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.getCodeState,\n type: \"submit\",\n class: \"w-full\"\n }, null, 8, [\"disabled\", \"loading-state\"]),\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"div\", _hoisted_17, \" By copying your checkout you agree to the terms and privacy policy of \" + _toDisplayString(_ctx.getBrandName) + \" and agree that you will follow the marketing guidelines mentioned above. Want to learn more about Tags, visit our Help section. \", 1)\n ], 40, _hoisted_13)\n ]),\n _: 1\n }, 512)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.status === _ctx.AffiliateOnCheckoutStatus.Completed)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutDetailHeaderDiv\" }, [\n _hoisted_19\n ])),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, \" Copy your checkout link and share it! Please be sure to follow \" + _toDisplayString(_ctx.getBrandName) + \"’s guidelines to remain active and log in to track metrics and performance. \", 1),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, _toDisplayString(_ctx.percentage ?? 0) + \"% Commission \", 1)\n ])\n ])\n ]),\n (_ctx.getBrandGuidelines.length > 0)\n ? (_openBlock(), _createBlock(_component_CheckoutDetailDivider, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_ctx.getBrandGuidelines.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"ul\", _hoisted_27, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getBrandGuidelines, (guideline) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: guideline }, _toDisplayString(guideline), 1))\n }), 128))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_BoostButton, {\n key: \"copy-checkout\",\n class: \"w-full\",\n label: \"Copy My Checkout URL\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.copyButtonState,\n \"loading-label\": \"Copying...\",\n \"complete-label\": \"Link copied!\",\n onClick: _ctx.copyLink\n }, null, 8, [\"loading-state\", \"onClick\"]),\n _createElementVNode(\"a\", {\n href: _ctx.checkoutUrl,\n target: \"_blank\",\n class: \"h-6 text-center text-gray-600 text-xs sm:text-sm font-normal leading-tight\"\n }, _toDisplayString(_ctx.checkoutUrl), 9, _hoisted_29)\n ]),\n _createVNode(_component_CheckoutDetailDivider),\n _createElementVNode(\"div\", _hoisted_30, \" By copying your checkout you agree to the terms and privacy policy of \" + _toDisplayString(_ctx.getBrandName) + \" and agree that you will follow the marketing guidelines mentioned above. Want to learn more about Tags, visit our Help section. \", 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { store } from '@/store';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\nconst ReplyCodes = {\n NUMBER_NOT_FOUND: 'NUMBER_NOT_FOUND',\n USER_NOT_FOUND: 'USER_NOT_FOUND',\n USER_FOUND: 'USER_FOUND',\n INVALID_DATA: 'INVALID_DATA',\n USERNAME_IN_USE: 'USERNAME_IN_USE',\n SHARE_DISABLED: 'SHARE_DISABLED',\n SUSPENDED: 'SUSPENDED',\n SELLER_DOES_EXIST: 'SELLER_DOES_EXIST',\n PRODUCT_ID_MISSING: 'PRODUCT_ID_MISSING'\n};\n\nenum AffiliateOnCheckoutStatus {\n Suspended,\n SignupStep1,\n SignupStep2,\n Completed\n}\n\ninterface AffiliateProductSignupResponse {\n userName: string;\n id: string;\n affiliateTag: string;\n}\n\nexport default defineComponent({\n name: 'AffiliateOnCheckout',\n components: { CheckoutDetailDivider },\n props: {\n productName: {\n type: String,\n default: ''\n },\n productId: {\n type: String,\n default: ''\n },\n accountId: {\n type: String,\n default: ''\n },\n shopifyStoreUrl: {\n type: String,\n default: ''\n },\n percentage: {\n type: String,\n default: ''\n }\n },\n emits: ['backToCheckout'],\n data() {\n return {\n AffiliateOnCheckoutStatus,\n status: AffiliateOnCheckoutStatus.Suspended,\n username: '',\n usernameError: [] as string[],\n affiliateTag: '',\n accountAffiliateId: '',\n copyButtonState: ButtonLoadingState.initial,\n getCodeState: ButtonLoadingState.initial\n };\n },\n computed: {\n ...mapGetters({\n getBrandName: 'global/getBrandName',\n getBrandGuidelines: 'global/getBrandGuidelines',\n getBrandLogo: 'global/getBrandLogo'\n }),\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n },\n checkoutUrl() {\n return `${window.location.origin}/buy/${this.affiliateTag}`;\n },\n currentBuyer(): Buyer {\n return store.getters['auth/getCurrentBuyer'] as Buyer;\n }\n },\n async mounted() {\n if (this.currentBuyer.affiliateUsername) {\n this.setLoading({ isLoading: true, message: 'Generating your Tags...' });\n const payload = {\n accountId: this.accountId,\n productId: this.productId,\n username: this.username\n };\n try {\n const response =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_AFFILIATE_SIGNUP_FOR_PRODUCT,\n payload\n );\n if (response.status === APIResponseStatus.OK) {\n // If not suspended then generate the affiliate tag, store the results, and congratulate\n this.affiliateTag = response.data?.affiliateTag || '';\n this.accountAffiliateId = response.data?.id || '';\n this.status = AffiliateOnCheckoutStatus.Completed;\n } else if (response.code === 'SUSPENDED') {\n this.status = AffiliateOnCheckoutStatus.Suspended;\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } catch (err) {\n console.error(err);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } else {\n // No affiliate username so this buyer needs to be signed up as an affiliate\n this.status = AffiliateOnCheckoutStatus.SignupStep2;\n }\n this.setLoading(false);\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async registerAffiliate() {\n this.usernameError = [];\n\n this.getCodeState = ButtonLoadingState.loading;\n if (!(await this.validateAffiliate())) {\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n const payload = {\n username: this.username,\n accountId: this.accountId,\n productId: this.productId\n };\n try {\n const response =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_AFFILIATE_SIGNUP_FOR_PRODUCT,\n payload\n );\n if (response.status === APIResponseStatus.OK && response.data) {\n if (response.code === ReplyCodes.SELLER_DOES_EXIST) {\n this.usernameError.push(\n `Sorry, the username \"${this.username}\" is not available.`\n );\n this.getCodeState = ButtonLoadingState.initial;\n return;\n }\n\n this.affiliateTag = response.data.affiliateTag;\n this.accountAffiliateId = response.data.id;\n this.username = response.data.userName;\n this.status = AffiliateOnCheckoutStatus.Completed;\n } else {\n this.tagCreationFailed(response.code);\n this.getCodeState = ButtonLoadingState.initial;\n }\n } catch (err) {\n console.error(err);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.getCodeState = ButtonLoadingState.complete;\n },\n async validateAffiliate(): Promise {\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CHECK_SELLER_HASHTAG,\n { hashtagPrefix: this.username }\n );\n if (response.code === 'SELLER_DOES_EXIST') {\n this.usernameError.push(\n `Sorry, the username \"${this.username}\" is not available.`\n );\n this.getCodeState = ButtonLoadingState.initial;\n // store.commit('global/setBannerStatus', {\n // text: BannerMessageStrings.SELLER_TAG_UNAVAILABLE,\n // type: BannerType.error\n // });\n return false;\n }\n return true;\n },\n tagCreationFailed(code: string) {\n if (code === ReplyCodes.SUSPENDED) {\n // TODO: show a suspension message on this view. Don't both going\n // to another view.\n console.error(\n 'Sorry, your account is suspended and you are unable to create checkout tags'\n );\n }\n\n if (code === ReplyCodes.USERNAME_IN_USE) {\n this.usernameError.push(\n `Sorry, the username \"${this.username}\" is not available.`\n );\n }\n\n console.error('tag creation failed: ', code);\n },\n async copyLink() {\n this.copyButtonState = ButtonLoadingState.loading;\n await navigator.clipboard.writeText(this.checkoutUrl);\n this.copyButtonState = ButtonLoadingState.complete;\n },\n async downloadQR() {\n this.setLoading(true);\n const responseData = await FirebaseRequest.requestFile(\n FirebaseRequestTypes.GENERATE_PRODUCT_LINKS,\n {\n productId: this.productId,\n accountId: this.accountId,\n singleFile: true,\n accountAffiliateId: this.accountAffiliateId\n }\n );\n const FILE = window.URL.createObjectURL(await responseData.blob());\n const downloadUrl = document.createElement('a');\n downloadUrl.href = FILE;\n downloadUrl.setAttribute(\n 'download',\n `${this.productName.substring(0, 50).replace(/[^a-z0-9]/gi, '-')}.png`\n );\n document.body.appendChild(downloadUrl);\n downloadUrl.click();\n this.setLoading(false);\n },\n goToStore() {\n if (this.shopifyStoreUrl) {\n window.location.href = this.shopifyStoreUrl;\n }\n }\n }\n});\n","import { render } from \"./AffiliateOnCheckout.vue?vue&type=template&id=e80b319c&scoped=true&ts=true\"\nimport script from \"./AffiliateOnCheckout.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliateOnCheckout.vue?vue&type=script&lang=ts\"\n\nimport \"./AffiliateOnCheckout.vue?vue&type=style&index=0&id=e80b319c&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e80b319c\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"pb-10 md:pt-10\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n}","\nimport { defineComponent } from 'vue';\nexport default defineComponent({});\n","import { render } from \"./CheckoutDetailHeader.vue?vue&type=template&id=91f2c994&ts=true\"\nimport script from \"./CheckoutDetailHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./CheckoutDetailHeader.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { TagType } from '@/../enums/tagType';\nimport { ExpressCheckout } from '@/models/expressCheckout';\nimport settings from '@/settings';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes,\n ProductReplyCodes\n} from '@/firebaseRequest';\nimport { store } from '@/store';\nimport { BrandInformation } from '@/store/types';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport Helpers from '@/helpers';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport InstantCheckoutProduct from '@/buyer/checkout/InstantCheckoutProduct.vue';\nimport InstantCheckoutProductImage from '@/buyer/checkout/InstantCheckoutProductImage.vue';\nimport CheckoutPriceSummary from '@/buyer/checkout/CheckoutPriceSummary.vue';\nimport UnavailableProductComponent from '@/buyer/checkout/UnavailableProductComponent.vue';\nimport MetaPixelScript from '@/common/MetaPixelScript.vue';\nimport {\n loadStripe,\n PaymentRequestPaymentMethodEvent,\n PaymentRequestShippingAddressEvent,\n PaymentRequestShippingOptionEvent,\n Stripe,\n StripeCardElement\n} from '@stripe/stripe-js';\nimport { Charges } from '@/models/charges';\nimport { TagDetail, TagSku } from '@/models/tag';\nimport { mapGetters } from 'vuex';\nimport { ShippingRate } from '@/models/shipping';\nimport { ProductSource } from '@/../models/sellerOrder';\nimport {\n Buyer,\n PaymentOption,\n ShippingAddress\n} from '../settings/BuyerSettingsInterfaces';\nimport { getAuth, signInWithCustomToken } from 'firebase/auth';\nimport BoostIcon from '@/common/controls/BoostIcon.vue';\nimport StripeCreditCardSummaryComponent from '../../common/info/StripeCreditCardSummaryComponent.vue';\nimport StripeCreditCardDetailsComponent from '../../common/info/StripeCreditCardDetailsComponent.vue';\nimport AddressSummaryComponent from '../../common/info/AddressSummaryComponent.vue';\nimport AddressDetailComponent from '../../common/info/AddressDetailComponent.vue';\nimport UpdatePaymentOptions from './UpdatePaymentOptions.vue';\nimport UpdateShippingOptions from './UpdateShippingOptions.vue';\nimport AffiliateOnCheckout from './AffiliateOnCheckout.vue';\nimport CheckoutDetailHeader from './CheckoutDetailHeader.vue';\nimport helpers from '@/helpers';\nimport CheckoutDetailDivider from './CheckoutDetailDivider.vue';\n\ninterface GetProductInfoResponse {\n product: TagDetail;\n charges: Charges;\n brandInfo: BrandInformation;\n refundPolicy: string;\n actionId: string;\n metaPixel?: string;\n shopifyStoreUrl?: string;\n enableShareEarn?: boolean;\n enableSaveForLater?: boolean;\n enableMarketplace?: boolean;\n globalCommission?: number;\n affiliateInfo?: { firstName: string; commission: number };\n userIsInBrandNetwork?: boolean;\n stripe: {\n clientSecret: string;\n paymentId: string;\n customerId: string;\n };\n}\n\ninterface PurchaseResponse {\n message: string;\n transactionId: string;\n userTransactionId: string;\n accountId: string;\n buyerHasAffiliateTag: boolean;\n userIsInBrandNetwork?: boolean;\n}\n\nenum InstantCheckoutStatus {\n DisplayProduct,\n ConfirmMobileNumber,\n CollectUserDetails,\n CompletedPurchase,\n ShowPolicy,\n UpdatePaymentOptions,\n UpdateShippingOptions,\n ProductUnavailable,\n AffiliateSignup\n}\nexport default defineComponent({\n components: {\n InstantCheckoutProduct,\n InstantCheckoutProductImage,\n CheckoutPriceSummary,\n MetaPixelScript,\n 'boost-icon': BoostIcon,\n StripeCreditCardSummaryComponent,\n StripeCreditCardDetailsComponent,\n AddressSummaryComponent,\n AddressDetailComponent,\n UpdatePaymentOptions,\n UpdateShippingOptions,\n UnavailableProductComponent,\n CheckoutDetailHeader,\n AffiliateOnCheckout,\n CheckoutDetailDivider\n },\n data() {\n return {\n InstantCheckoutStatus,\n TagType,\n status: InstantCheckoutStatus.DisplayProduct as InstantCheckoutStatus,\n showPolicy: false,\n previousStatus:\n InstantCheckoutStatus.DisplayProduct as InstantCheckoutStatus,\n isNewUser: true,\n skuId: '',\n product: {} as TagDetail | undefined,\n charges: {\n price: 0,\n shipping: 0,\n tax: 0,\n total: 0\n } as Charges,\n checkout: {} as ExpressCheckout,\n shipping: {\n firstName: '',\n lastName: '',\n email: '',\n address1: '',\n address2: '',\n city: '',\n state: '',\n postalCode: '',\n country: 'United States',\n isDefault: false\n },\n initialStripeIds: {\n clientSecret: undefined as string | undefined,\n paymentId: undefined as string | undefined,\n customerId: undefined as string | undefined\n },\n stripeClientSecret: '',\n stripeLoaded: false,\n stripeCardElement: null as null | StripeCardElement,\n stripe: null as null | Stripe,\n cardError: '' as string | undefined,\n showWalletPay: false,\n shippingAmount: 0,\n chargeAmount: 0,\n isTransactionCompleted: false,\n isShippingCalculated: false,\n hasSentConfirmationCode: false,\n mobileNumber: '',\n getCodeState: ButtonLoadingState.initial as ButtonLoadingState,\n completeButtonState: ButtonLoadingState.initial as ButtonLoadingState,\n confirmationCode: '',\n taxesUpdated: false,\n taxesCalculated: false,\n refundPolicy: '',\n isWaiting: false,\n sku: undefined as TagSku | undefined,\n selectedShippingOptionId: 'default',\n shippingOptions: [\n {\n id: 'default',\n label: 'Awaiting Zip Code',\n detail: 'Awaiting Zip Code',\n amount: 0\n }\n ] as ShippingRate[],\n actionId: '',\n metaPixel: '',\n orderEmail: '',\n customColor: 'default',\n updatePaymentOptions: false,\n updateShippingOptions: false,\n selectedShippingAddress: {} as ShippingAddress | undefined,\n selectedPaymentOption: {} as PaymentOption | undefined,\n shopifyStoreUrl: undefined as string | undefined,\n receipt: '',\n affiliateInfo: {\n isAffiliateTag: false,\n firstName: '',\n commission: 0\n },\n buyerHasAffiliateTag: false,\n buyerIsInNetwork: false,\n signInToken: '',\n brandShareEnabled: false,\n globalCommission: ''\n };\n },\n computed: {\n ...mapGetters({\n isBuyerLoggedIn: 'auth/isBuyerLoggedIn',\n currentUser: 'auth/getCurrentUser',\n currentBuyer: 'auth/getCurrentBuyer',\n getBrandName: 'global/getBrandName',\n bannerError: 'global/getBannerStatus'\n }),\n showAffiliateSection(): boolean {\n if (!this.affiliateInfo || !this.product || !this.brandShareEnabled) {\n return false;\n }\n return (\n this.affiliateInfo.isAffiliateTag ||\n this.product?.shopifyShareEarn ||\n false\n );\n },\n affiliateSectionHeader(): string {\n // If brandShareEnabled === false, this won't even be shown\n if (!this.brandShareEnabled) return '';\n\n // When ANY user buys a product from an affiliate.\n if (this.affiliateInfo?.isAffiliateTag) {\n return `${this.affiliateInfo.firstName} earned ${this.affiliateInfo.commission}% from this order!`;\n }\n\n // When an affiliate buys a product directly from a Brand whose network they are a part of.\n if (this.buyerIsInNetwork) {\n return 'Thanks for your purchase!';\n }\n\n // A user/buyer is not in the brand's network.\n return 'Join our Network!';\n },\n checkoutButtonText(): string {\n return 'Proceed to Checkout';\n },\n buyButtonText(): string {\n return this.isBuyerLoggedIn\n ? `Pay ${this.charges ? this.getPrice(this.charges.total) : ''}`\n : 'Manual Checkout';\n },\n buyButtonLoadingText(): string {\n return this.isBuyerLoggedIn ? 'Confirming purchase...' : 'Thinking...';\n },\n showShippingOptions(): boolean {\n return (\n this.isShopifyProduct &&\n this.shippingOptions?.length > 0 &&\n !this.shippingOptions.some((o) => o.label === 'Awaiting Zip Code')\n );\n },\n isShopifyProduct(): boolean {\n return this.product?.productSource === ProductSource.Shopify;\n },\n isMobile(): boolean {\n return helpers.isMobile();\n },\n showProductImage(): boolean {\n if (\n this.status === InstantCheckoutStatus.ShowPolicy ||\n ((this.status === InstantCheckoutStatus.CompletedPurchase ||\n this.status === InstantCheckoutStatus.AffiliateSignup) &&\n helpers.isMobile())\n ) {\n return false;\n }\n if (this.status === InstantCheckoutStatus.ConfirmMobileNumber) {\n return !helpers.isMobile();\n }\n if (\n helpers.isMobile() &&\n (this.updatePaymentOptions || this.updateShippingOptions)\n ) {\n return false;\n }\n return true;\n },\n isReturnPolicyLink(): boolean {\n return this.refundPolicy.startsWith('http');\n },\n skuOptionsString(): string {\n const sku = this.sku;\n if (sku && this.product?.variants?.length) {\n return this.product.variants\n .map((v) => {\n const t = sku[v.name]?.toString();\n const x = v.options.find((o) => o.name === t);\n return x?.label || '';\n })\n .join(',');\n }\n return '';\n }\n },\n watch: {\n async skuId() {\n this.isWaiting = true;\n // If the sku id changes, we have to update taxes and get updated shipping rates\n await this.onPostalCodeChange();\n await this.getShippingRates();\n this.isWaiting = false;\n }\n },\n async mounted() {\n await this.getProductData();\n await this.initializeStripe();\n },\n methods: {\n openLink(url: string) {\n window.open(url, '_blank');\n },\n updatePaymentOption() {\n this.updatePaymentOptions = true;\n this.scrollToTop();\n },\n updateShippingOption() {\n this.updateShippingOptions = true;\n this.scrollToTop();\n },\n parsePriceString(price: string): number {\n let updatedPrice = parseFloat(price.replace(/^\\$/, '')) * 100;\n updatedPrice = parseInt(updatedPrice.toFixed(0));\n return updatedPrice;\n },\n handleReadyToBuy(selectedSku: TagSku) {\n if (selectedSku?.id) {\n this.sku = selectedSku;\n this.skuId = selectedSku.id;\n this.charges.price = this.parsePriceString(\n selectedSku.price.toString()\n );\n this.charges.total =\n this.charges.price + this.charges.shipping + this.charges.tax;\n this.chargeAmount = this.charges.total;\n } else {\n this.sku = undefined;\n this.skuId = '';\n }\n },\n async initializeStripe() {\n // Instantiate stripe instance to be used for card and payment processing\n this.stripe = await loadStripe(settings.STRIPE_PUBLISHABLE_KEY);\n },\n initWalletPayment() {\n if (this.stripe) {\n this.shippingAmount = this.charges ? this.charges.shipping : 0;\n this.chargeAmount = this.charges ? this.charges.total : 0;\n\n this.showWalletPay = true;\n }\n },\n async getProductData() {\n store.commit('global/setLoading', true);\n this.skuId = this.$route.params.sku as string;\n try {\n const results =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_PRODUCT_INFO,\n {\n hashtag: this.$route.params.tag,\n sku: this.skuId,\n qr: this.$route.query.qr,\n attributionId: this.$route.params.attributionId,\n sms: this.$route.query.sms,\n sfl: this.$route.query.sfl\n }\n );\n\n if (results.status === APIResponseStatus.ERROR) {\n // If the product is inactive, set-up the data needed to display the\n // inactive product view and then return out of this method.\n if (\n results.code === ProductReplyCodes.INACTIVE ||\n results.code === ProductReplyCodes.NO_INVENTORY\n ) {\n this.setupInactiveProductData(results.data);\n store.commit('global/setLoading', false);\n return;\n }\n\n const message = this.getBannerMessageForProductReplyCode(\n results.code\n );\n this.metaPixel = results.data?.metaPixel || '';\n store.commit('global/setBannerStatus', {\n text: message,\n type: BannerType.error\n });\n } else {\n this.product = results.data?.product;\n this.charges = results.data?.charges || ({} as Charges);\n this.refundPolicy = results.data?.refundPolicy || '';\n this.actionId = results.data?.actionId || '';\n this.metaPixel = results.data?.brandInfo.metaPixel || '';\n this.customColor = results.data?.brandInfo.customColor || 'default';\n this.orderEmail = results.data?.brandInfo.orderEmail || '';\n this.shopifyStoreUrl = results.data?.shopifyStoreUrl || '';\n this.brandShareEnabled = results.data?.enableShareEarn || false;\n this.globalCommission = (\n results.data?.globalCommission || ''\n ).toString();\n if (results.data?.affiliateInfo) {\n this.affiliateInfo = {\n ...results.data.affiliateInfo,\n isAffiliateTag: true\n };\n }\n this.buyerIsInNetwork = results.data?.userIsInBrandNetwork || false;\n this.initialStripeIds = {\n clientSecret: results.data?.stripe.clientSecret,\n paymentId: results.data?.stripe.paymentId,\n customerId: results.data?.stripe.customerId\n };\n this.stripeClientSecret = results.data?.stripe.clientSecret ?? '';\n\n if (this.product?.skus && this.skuId) {\n this.sku = this.product.skus.find((x) => x.id === this.skuId);\n }\n if (!this.sku && this.product?.skus.length === 1) {\n this.sku = this.product.skus[0];\n this.skuId = this.sku.id;\n this.charges.price = this.parsePriceString(\n this.sku.price.toString()\n );\n this.charges.total =\n this.charges.price + this.charges.shipping + this.charges.tax;\n this.chargeAmount = this.charges.total;\n }\n store.commit('global/setBrandInformation', results.data?.brandInfo);\n\n await this.setDefaultShippingAndPaymentOptions();\n }\n } catch (ex) {\n console.log(ex);\n }\n store.commit('global/setLoading', false);\n },\n setupInactiveProductData(productInfoData?: GetProductInfoResponse) {\n if (!productInfoData) {\n return;\n }\n this.product = productInfoData.product;\n this.metaPixel = productInfoData.brandInfo.metaPixel || '';\n this.customColor = productInfoData.brandInfo.customColor || 'default';\n store.commit('global/setBrandInformation', productInfoData.brandInfo);\n\n this.status = InstantCheckoutStatus.ProductUnavailable;\n this.shopifyStoreUrl = productInfoData.shopifyStoreUrl;\n },\n getBannerMessageForProductReplyCode(replyCode: string): string {\n let message = BannerMessageStrings.GENERIC_ERROR_MESSAGE;\n if (replyCode === ProductReplyCodes.NO_INVENTORY) {\n message = BannerMessageStrings.BUYER_NO_INVENTORY;\n } else if (replyCode === ProductReplyCodes.SKU_NOT_FOUND) {\n message = BannerMessageStrings.BUYER_PRODUCT_NOT_FOUND;\n } else if (replyCode === ProductReplyCodes.INACTIVE) {\n message = BannerMessageStrings.BUYER_PRODUCT_INACTIVE;\n }\n\n return message;\n },\n async setDefaultShippingAndPaymentOptions() {\n // TODO: Figure out what to do if not logged in?\n if (this.isBuyerLoggedIn && this.currentBuyer) {\n const defaultShippingAddress = Helpers.getDefaultShippingAddress(\n this.currentBuyer\n ) as ShippingAddress;\n await this.setShippingAddress(defaultShippingAddress);\n\n // Get the default/Selected PaymentOption\n this.selectedPaymentOption = Helpers.getDefaultPaymentOption(\n this.currentBuyer\n );\n }\n },\n onPaymentOptionUpdated(paymentOption: PaymentOption) {\n this.selectedPaymentOption = paymentOption;\n this.updatePaymentOptions = false;\n },\n onShippingAddressUpdated(shippingAddress: ShippingAddress) {\n this.setShippingAddress(shippingAddress);\n this.updateShippingOptions = false;\n },\n async setShippingAddress(shippingAddress: ShippingAddress) {\n this.selectedShippingAddress = shippingAddress;\n\n this.shipping.postalCode = shippingAddress?.postalCode ?? '';\n this.shipping.state = shippingAddress?.state ?? '';\n this.updateTaxes();\n await this.getShippingRates();\n },\n async onShippingOptionChange(ev: PaymentRequestShippingOptionEvent) {\n if (ev.shippingOption) {\n this.selectedShippingOptionId = ev.shippingOption.id;\n this.processShippingRate();\n ev.updateWith({\n status: 'success',\n total: {\n label: 'Checkout total',\n amount: this.charges.total\n }\n });\n }\n },\n // Wallet pay shipping address change\n async onShippingAddressChange(ev: PaymentRequestShippingAddressEvent) {\n // Perform server-side request to fetch shipping options\n // CLIENT -> API(id, skuId, ev.shippingAddress.postalCode)\n // API -> charges\n try {\n if (ev.shippingAddress) {\n this.shipping.postalCode = ev.shippingAddress.postalCode || '';\n this.shipping.state = ev.shippingAddress.region || '';\n await this.getShippingRates();\n\n const payload = {\n hashtag: this.$route.params.tag,\n sku: this.skuId,\n postalCode: ev.shippingAddress.postalCode\n };\n this.isWaiting = true;\n\n const chargesUpdate = await FirebaseRequest.createRequest<{\n charges: Charges;\n }>(FirebaseRequestTypes.GET_PRODUCT_TAXES, payload);\n\n if (chargesUpdate) {\n this.charges = chargesUpdate.data?.charges || ({} as Charges);\n this.taxesCalculated = true;\n\n const shippingRates: ShippingRate[] | undefined = this\n .shippingOptions?.length\n ? this.shippingOptions\n : [\n {\n id: 'Default-shipping',\n label: 'Default Shipping',\n detail: '',\n amount: this.charges.shipping\n }\n ];\n\n this.selectedShippingOptionId = shippingRates[0].id;\n this.shippingAmount = shippingRates[0].amount;\n this.charges.shipping = this.shippingAmount;\n this.charges.total =\n this.charges.price + this.charges.tax + shippingRates[0].amount;\n // Update wallet pay total\n ev.updateWith({\n status: 'success',\n shippingOptions: shippingRates,\n total: {\n label: 'Checkout total',\n amount: this.charges.total\n }\n });\n this.isWaiting = false;\n }\n } else {\n console.log('No address information');\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } catch (err) {\n console.log(err);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n onWalletPaymentSuccess(ev: PaymentRequestPaymentMethodEvent) {\n this.completeButtonState = ButtonLoadingState.loading;\n // set up shipping data\n const shippingAddress = ev.shippingAddress;\n if (shippingAddress) {\n this.shipping.address1 = shippingAddress.addressLine\n ? shippingAddress.addressLine[0]\n : '';\n this.shipping.address2 =\n shippingAddress.addressLine && shippingAddress.addressLine.length > 1\n ? shippingAddress.addressLine[1]\n : '';\n this.shipping.city = shippingAddress.city || '';\n this.shipping.state = shippingAddress.region || '';\n this.shipping.postalCode = shippingAddress.postalCode || '';\n this.shipping.country = shippingAddress.country || '';\n }\n this.shipping.email = ev.payerEmail || '';\n // TODO: determine how to parse the name\n this.shipping.lastName = ev.payerName || '';\n\n this.onPaymentSuccess();\n },\n onHasWallet(ev: boolean) {\n this.showWalletPay = ev;\n },\n handlePurchase() {\n if (this.completeButtonState !== ButtonLoadingState.loading) {\n // Manually trigger an empty card error\n if (!this.stripeCardElement) {\n this.cardError = 'Please enter your card details.';\n return;\n }\n\n this.completeButtonState = ButtonLoadingState.loading;\n\n // 1. API create setup Intent, pass clientSecret\n // 2. handlePayment, call confirmCardSetup pass secret and card\n // 3. Stripe processes payment setup\n // 4. on success, client sends rest of data payload to API (shipping address)\n // 5. Display UI confirmation to User\n\n if (this.stripe && this.stripeCardElement) {\n // 1. setup intent capture\n this.stripe\n .confirmCardSetup(this.stripeClientSecret, {\n // eslint-disable-next-line\n payment_method: {\n card: this.stripeCardElement\n }\n })\n // eslint-disable-next-line\n // @ts-ignore\n .then((result) => {\n if (result.error) {\n this.completeButtonState = ButtonLoadingState.complete;\n // Inform the customer that there was an error\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PURCHASE_ERROR,\n type: BannerType.error\n });\n this.cardError = result.error.message;\n } else {\n // API needs to listen to webhook payment_intent.succeeded\n // Call new API endpoint and pass data\n // 4. on success, client sends rest of data payload to API (shipping address)\n // 5. Display UI confirmation to User\n this.onPaymentSuccess();\n }\n });\n }\n }\n },\n async onPaymentSuccess() {\n this.$store.commit('global/setBannerStatus', null);\n\n store.commit('global/setLoading', {\n isLoading: true,\n message: 'Confirming purchase...'\n });\n const shippingRate = this.shippingOptions.find((option) => {\n return option.id === this.selectedShippingOptionId;\n });\n\n // We need to remove the firstName, lastName, & email from the\n // MailingAddress object. Those properties belong on the User/Buyer.\n const { firstName, lastName, email, ...mailingAddress } = this.shipping;\n const payload = {\n checkoutId: this.checkout.checkoutId,\n emailAddress: email,\n mailingAddress: mailingAddress,\n firstName,\n lastName,\n shippingRate,\n actionId: this.actionId\n };\n\n this.isTransactionCompleted = true;\n\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.PROCESS_CHECKOUT,\n payload\n );\n\n this.completeButtonState = ButtonLoadingState.complete;\n store.commit('global/setLoading', false);\n\n if (results.status === APIResponseStatus.ERROR) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n } else {\n if (this.signInToken) {\n await this.signIn(this.signInToken, true);\n }\n this.status = InstantCheckoutStatus.CompletedPurchase;\n this.receipt = results.data?.userTransactionId || '';\n this.buyerHasAffiliateTag = results.data?.buyerHasAffiliateTag || false;\n this.buyerIsInNetwork = results.data?.userIsInBrandNetwork || false;\n }\n this.scrollToTop();\n },\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n async showConfirmBuyer() {\n if (this.isBuyerLoggedIn && this.currentUser) {\n const userId = this.currentUser.uid;\n this.completeButtonState = ButtonLoadingState.loading;\n await this.handleBuyerPurchase(userId);\n this.completeButtonState = ButtonLoadingState.complete;\n } else {\n this.completeButtonState = ButtonLoadingState.loading;\n //Call the beginInstantCheckout method to update the user action record\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.BEGIN_INSTANT_CHECKOUT,\n { actionId: this.actionId }\n );\n this.completeButtonState = ButtonLoadingState.complete;\n this.status = InstantCheckoutStatus.ConfirmMobileNumber;\n this.hasSentConfirmationCode = false;\n }\n\n this.scrollToTop();\n },\n async handleConfirmationCode() {\n if (this.hasSentConfirmationCode) {\n await this.confirmBuyer();\n } else {\n await this.requestConfirmationCode();\n }\n },\n async requestConfirmationCode() {\n if (this.getCodeState === ButtonLoadingState.loading) {\n return;\n }\n\n try {\n this.getCodeState = ButtonLoadingState.loading;\n\n // Before logging in, if this user is logged in as a seller,\n // log them out.\n await store.dispatch('auth/signOut');\n\n const payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n context: 'PREREGISTER_USER',\n actionId: this.actionId\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n this.isNewUser =\n confirmationCodeResponse.code === 'PREREGISTER_NEW_USER';\n this.hasSentConfirmationCode = true;\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.hasSentConfirmationCode = false;\n }\n\n this.getCodeState = ButtonLoadingState.complete;\n },\n async confirmBuyer() {\n if (this.getCodeState === ButtonLoadingState.loading) {\n return;\n }\n\n this.getCodeState = ButtonLoadingState.loading;\n\n const payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n code: this.confirmationCode,\n context: 'PREREGISTER_USER',\n actionId: this.actionId\n };\n const confirmationCodeResponse = await FirebaseRequest.createRequest<{\n userId: string;\n token: string;\n }>(FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE, payload);\n\n if (confirmationCodeResponse?.code !== 'OK') {\n console.error('Error: ', confirmationCodeResponse);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_INVALID_CODE,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n\n if (this.isNewUser) {\n this.signInToken = confirmationCodeResponse.data?.token || '';\n await this.getInstantCheckoutForNewUser(\n confirmationCodeResponse.data?.userId || ''\n );\n } else {\n await this.signIn(confirmationCodeResponse.data?.token || '');\n }\n\n this.getCodeState = ButtonLoadingState.complete;\n },\n async getInstantCheckoutForNewUser(userId: string) {\n const instantCheckoutResponse = await FirebaseRequest.createRequest<{\n clientSecret: string;\n checkoutData: ExpressCheckout;\n }>(FirebaseRequestTypes.GET_INSTANT_CHECKOUT, {\n hashtag: this.$route.params.tag,\n skuId: this.skuId,\n userId: userId,\n attributionId: this.$route.params.attributionId,\n actionId: this.actionId,\n potentialPayment: {\n customerId: this.initialStripeIds.customerId,\n paymentId: this.initialStripeIds.paymentId\n },\n stripeClientSecret: this.initialStripeIds.clientSecret\n });\n if (instantCheckoutResponse?.status === APIResponseStatus.OK) {\n this.stripeClientSecret =\n instantCheckoutResponse.data?.clientSecret || '';\n this.checkout =\n instantCheckoutResponse.data?.checkoutData || ({} as ExpressCheckout);\n if (this.checkout.charges) {\n this.charges = this.checkout.charges;\n }\n this.status = InstantCheckoutStatus.CollectUserDetails;\n this.initWalletPayment();\n this.scrollToTop();\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n async signIn(token: string, signInOnly?: boolean) {\n const auth = getAuth();\n const response = await signInWithCustomToken(auth, token);\n if (!(response && response.user && response.user.uid)) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PHONE_NUMBER_LOGIN_ERROR,\n type: BannerType.error\n });\n return;\n }\n\n store.commit('auth/setCurrentUser', auth.currentUser);\n\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (buyerResponse.status === APIResponseStatus.OK && buyerResponse.data) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n\n // Once the new user is logged in, make sure to set their default payment\n // and shipping options. Then, display the product.\n // TODO: there seems to be an issue with Shopify SKU products. The selected\n // SKU Option seems to be reset.\n await this.setDefaultShippingAndPaymentOptions();\n if (!signInOnly) {\n this.status = InstantCheckoutStatus.DisplayProduct;\n }\n }\n },\n async handleBuyerPurchase(userId: string) {\n store.commit('global/setLoading', {\n isLoading: true,\n message: 'Confirming purchase...'\n });\n // Handle an existing buyer as a direct purchase without prompting for user details\n const shippingRate = this.shippingOptions.find((option) => {\n return option.id === this.selectedShippingOptionId;\n });\n\n const results = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.BUY_INSTANT_CHECKOUT,\n {\n hashtag: this.$route.params.tag,\n skuId: this.skuId,\n userId: userId,\n attributionId: this.$route.params.attributionId,\n shippingRate,\n actionId: this.actionId,\n shipToAddressId: this.selectedShippingAddress?.id,\n selectedPaymentOptionId: this.selectedPaymentOption?.id\n }\n );\n if (results.status === APIResponseStatus.OK) {\n this.status = InstantCheckoutStatus.CompletedPurchase;\n this.receipt = results.data?.userTransactionId || '';\n this.buyerHasAffiliateTag = results.data?.buyerHasAffiliateTag || false;\n this.buyerIsInNetwork = results.data?.userIsInBrandNetwork || false;\n this.scrollToTop();\n } else {\n if (results.code === ProductReplyCodes.NO_INVENTORY) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_NO_INVENTORY,\n type: BannerType.error\n });\n } else if (results.code === ProductReplyCodes.PURCHASE_OWN_TAG) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYUER_PURCHASE_OWN_TAG,\n type: BannerType.error\n });\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PURCHASE_ERROR,\n type: BannerType.error\n });\n }\n }\n store.commit('global/setLoading', false);\n },\n showReturnPolicy() {\n this.showPolicy = true;\n this.scrollToTop();\n },\n hideReturnPolicy() {\n this.showPolicy = false;\n this.scrollToTop();\n },\n viewAccount() {\n store.commit('global/setBrandInformation', null);\n this.$router.push({ path: '/login', query: { type: '1' } });\n },\n collectCard(card: StripeCardElement) {\n this.stripeCardElement = card;\n this.cardError = '';\n },\n scrollToTop() {\n window.scrollTo(0, 0);\n },\n async updateTaxes() {\n if (!this.selectedShippingAddress) {\n return;\n }\n\n await this.getProductTaxes();\n },\n async onPostalCodeChange() {\n if (\n this.shipping?.postalCode?.length < 5 ||\n this.shipping?.state?.length < 2\n ) {\n return;\n }\n\n await this.getProductTaxes();\n },\n async getProductTaxes() {\n // TODO: It's not really clear why this method is being called when there is\n // no skuId. It stems from InstantCheckoutProduct emitting the readyToBuy event\n // with no sku, even though it has a product.\n // But this seems to fix the issue mentioned in Linear issue CORE-308.\n if (!this.skuId) {\n return;\n }\n\n store.commit('global/setBannerStatus', null);\n\n const payload = {\n hashtag: this.$route.params.tag,\n sku: this.skuId,\n postalCode: this.shipping.postalCode\n };\n\n this.isWaiting = true;\n const chargesUpdate = await FirebaseRequest.createRequest<{\n charges: Charges;\n }>(FirebaseRequestTypes.GET_PRODUCT_TAXES, payload);\n\n if (chargesUpdate.status === APIResponseStatus.OK) {\n this.charges = chargesUpdate.data?.charges || ({} as Charges);\n this.taxesUpdated = true;\n this.taxesCalculated = true;\n await this.getShippingRates();\n this.isWaiting = false;\n setTimeout(() => {\n this.taxesUpdated = false;\n }, 5000);\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PURCHASE_INVALID_ADDRESS,\n type: BannerType.error\n });\n }\n },\n async getShippingRates() {\n if (\n this.product?.productSource === ProductSource.Shopify &&\n this.product?.accountId &&\n this.skuId &&\n this.shipping?.postalCode?.length >= 5 &&\n this.shipping?.state?.length > 1\n ) {\n const payload = {\n accountId: this.product.accountId,\n productId: this.product.productId,\n postalCode: this.shipping.postalCode,\n stateNameOrCode: this.shipping.state,\n skuId: this.skuId\n };\n\n const shippingRates = await FirebaseRequest.createRequest<\n ShippingRate[]\n >(FirebaseRequestTypes.GET_ECOMMERCE_SHIPPING_RATES, payload);\n\n if (shippingRates.status === APIResponseStatus.OK) {\n this.isShippingCalculated = true;\n if (shippingRates.data) {\n this.shippingOptions = shippingRates.data;\n this.selectedShippingOptionId = this.shippingOptions[0]?.id;\n this.processShippingRate();\n }\n }\n } else if (\n this.product?.productSource === ProductSource.Boost &&\n this.product?.accountId &&\n this.skuId\n ) {\n if (this.charges.shipping > 0) {\n this.shippingOptions = [\n {\n id: 'Default-shipping',\n label: 'Default Shipping',\n detail: '',\n amount: this.charges.shipping\n }\n ];\n } else {\n this.shippingOptions = [\n {\n id: 'Default-shipping',\n label: 'Free',\n detail: '',\n amount: this.charges.shipping\n }\n ];\n }\n }\n },\n processShippingRate() {\n // Update the total\n const shippingOption = this.shippingOptions.find((option) => {\n return option.id === this.selectedShippingOptionId;\n });\n\n if (shippingOption) {\n this.shippingAmount = shippingOption.amount;\n }\n\n // Recalculate totals\n if (this.charges) {\n this.charges.shipping = this.shippingAmount;\n this.charges.total =\n this.charges.price + this.charges.shipping + this.charges.tax;\n }\n }\n }\n});\n","import { render } from \"./InstantCheckout.vue?vue&type=template&id=5057820f&scoped=true&ts=true\"\nimport script from \"./InstantCheckout.vue?vue&type=script&lang=ts\"\nexport * from \"./InstantCheckout.vue?vue&type=script&lang=ts\"\n\nimport \"./InstantCheckout.vue?vue&type=style&index=0&id=5057820f&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5057820f\"]])\n\nexport default __exports__","import { withAsyncContext as _withAsyncContext, defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bg-red-400 h-full\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Test Product\", -1)\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nimport { useRoute } from 'vue-router';\nimport {\n loadStripe,\n // PaymentRequestPaymentMethodEvent,\n // PaymentRequestShippingAddressEvent,\n // PaymentRequestShippingOptionEvent,\n Stripe\n // StripeCardElement\n} from '@stripe/stripe-js';\nimport settings from '@/settings';\n// import ConfirmNumber, { ValidatedAffiliateInfo } from './ConfirmNumber.vue';\n// import CreateUsername from './CreateUsername.vue';\n// import TagGenerated, { AffiliateInfo } from './TagGenerated.vue';\n// import JoinMarketplace from './JoinMarketplace.vue';\n// import TagButton from '../components/TagButton.vue';\n// import DividingLine from '../components/DividingLine.vue';\n// import useSellerConfig from '../composables/useSellerConfig';\n// import HeartIcon from '../components/icons/HeartIcon.vue';\n// import CashIcon from '../components/icons/CashIcon.vue';\n// import BagIcon from '../components/icons/BagIcon.vue';\n// import { getColorSettings } from '../helpers/utilities';\n\n// const { sellerConfig } = useSellerConfig();\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductCheckout',\n async setup(__props) {\n\nlet __temp: any, __restore: any\n\n// import { ref } from 'vue';\nconst route = useRoute();\nconsole.log(route.meta);\n\nconsole.log('HEYYYY WHAT IN THE WORLD');\n\nconst stripe: null | Stripe = (\n ([__temp,__restore] = _withAsyncContext(() => loadStripe(settings.STRIPE_PUBLISHABLE_KEY))),\n __temp = await __temp,\n __restore(),\n __temp\n);\nconsole.log(stripe);\n\n// const colorSetting = getColorSettings(\n// sellerConfig.value?.customColor || 'default'\n// );\n\n// const customColor = ref(colorSetting.background);\n\n// type GetStartedState =\n// | 'GET_STARTED'\n// | 'CONFIRM_NUMBER'\n// | 'JOIN_MARKETPLACE'\n// | 'CREATE_USERNAME'\n// | 'GENERATE_TAGS';\n\n// const STATE = ref('GET_STARTED');\n// const affiliateInfo = ref({\n// affiliateId: '',\n// affiliateTag: '',\n// isSuspended: false,\n// commissionPercent: 0,\n// firstName: ''\n// });\n// const isNewUser = ref(false);\n// const mobileNumber = ref('');\n\n// const props = defineProps<{\n// productImage: string;\n// hashTag: string;\n// }>();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_3))\n}\n}\n\n})","import script from \"./ProductCheckout.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductCheckout.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-59a8cced\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"single\" }\nconst _hoisted_2 = { class: \"flex align--center\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"flex justify--center flex--wrap standard-top-margin bottom-border\" }\nconst _hoisted_5 = { class: \"t-12 flex--full-width no-pad standard-margins\" }\nconst _hoisted_6 = { class: \"single__header-image grid-row--medium\" }\nconst _hoisted_7 = { class: \"rounded-image\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"product-title-container margin-bottom-0\" }\nconst _hoisted_10 = { class: \"margin-0\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"pill pill-pending\"\n}\nconst _hoisted_12 = {\n key: 1,\n class: \"pill pill-positive\"\n}\nconst _hoisted_13 = {\n key: 2,\n class: \"pill pill-failed\"\n}\nconst _hoisted_14 = {\n key: 3,\n class: \"pill pill-negative\"\n}\nconst _hoisted_15 = {\n key: 4,\n class: \"pill pill-positive\"\n}\nconst _hoisted_16 = { class: \"flex justify--center flex--wrap bottom-border standard-margins\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 no-pad standard-bottom-margin\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"section-header__title-compact margin-bottom-0 margin-top-14\" }, \" Order \")\n], -1))\nconst _hoisted_18 = { class: \"t-12 flex no-pad\" }\nconst _hoisted_19 = { class: \"t-6 no-pad\" }\nconst _hoisted_20 = { class: \"datalist\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"datalist__row\"\n}\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Name\", -1))\nconst _hoisted_23 = {\n class: \"text-no-truncate\",\n style: {\"max-width\":\"300px\"}\n}\nconst _hoisted_24 = {\n key: 1,\n class: \"datalist__row\"\n}\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Message\", -1))\nconst _hoisted_26 = { class: \"text-no-truncate\" }\nconst _hoisted_27 = { key: 2 }\nconst _hoisted_28 = { class: \"datalist__row\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Price\", -1))\nconst _hoisted_30 = { class: \"datalist__row\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Shipping\", -1))\nconst _hoisted_32 = { class: \"datalist__row\" }\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tax\", -1))\nconst _hoisted_34 = { class: \"datalist__row\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Total\", -1))\nconst _hoisted_36 = { key: 3 }\nconst _hoisted_37 = { class: \"datalist__row\" }\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Link\", -1))\nconst _hoisted_39 = [\"title\", \"href\"]\nconst _hoisted_40 = { class: \"datalist__row\" }\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Total\", -1))\nconst _hoisted_42 = { class: \"t-6 no-pad\" }\nconst _hoisted_43 = { class: \"datalist\" }\nconst _hoisted_44 = { class: \"datalist__row\" }\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tag\", -1))\nconst _hoisted_46 = { class: \"datalist__row\" }\nconst _hoisted_47 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Order No.\", -1))\nconst _hoisted_48 = { class: \"datalist__row\" }\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Transaction ID\", -1))\nconst _hoisted_50 = { class: \"datalist__row\" }\nconst _hoisted_51 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Support Email\", -1))\nconst _hoisted_52 = [\"title\", \"href\"]\nconst _hoisted_53 = {\n key: 0,\n class: \"datalist__row\"\n}\nconst _hoisted_54 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Support Phone\", -1))\nconst _hoisted_55 = [\"title\", \"href\"]\nconst _hoisted_56 = { class: \"datalist__row\" }\nconst _hoisted_57 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Order Date\", -1))\nconst _hoisted_58 = { class: \"datalist__row\" }\nconst _hoisted_59 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Payment\", -1))\nconst _hoisted_60 = {\n key: 0,\n class: \"flex justify--center flex--wrap standard-margins\"\n}\nconst _hoisted_61 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 no-pad standard-bottom-margin\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"section-header__title-compact margin-bottom-0 margin-top-14\" }, \" Shipping \")\n], -1))\nconst _hoisted_62 = { class: \"t-12 flex no-pad\" }\nconst _hoisted_63 = { class: \"t-12 flex no-pad\" }\nconst _hoisted_64 = { class: \"t-6 no-pad\" }\nconst _hoisted_65 = { class: \"datalist\" }\nconst _hoisted_66 = { class: \"datalist__row\" }\nconst _hoisted_67 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Delivering to\", -1))\nconst _hoisted_68 = { class: \"text-capitalize\" }\nconst _hoisted_69 = {\n key: 0,\n class: \"text-capitalize\"\n}\nconst _hoisted_70 = { class: \"text-capitalize\" }\nconst _hoisted_71 = { class: \"text-uppercase\" }\nconst _hoisted_72 = { class: \"t-6 no-pad\" }\nconst _hoisted_73 = { class: \"datalist\" }\nconst _hoisted_74 = { class: \"datalist__row\" }\nconst _hoisted_75 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Courier\", -1))\nconst _hoisted_76 = { class: \"datalist__row\" }\nconst _hoisted_77 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", null, \"Tracking ID\", -1))\nconst _hoisted_78 = {\n style: {\"height\":\"96px\"},\n class: \"w-100 flex justify--end align--center\"\n}\nconst _hoisted_79 = { class: \"margin-right-4\" }\nconst _hoisted_80 = { class: \"text-bold\" }\nconst _hoisted_81 = { class: \"text-bold\" }\nconst _hoisted_82 = {\n style: {\"width\":\"60px\"},\n class: \"flex flex--no-wrap justify--between\"\n}\nconst _hoisted_83 = [\"disabled\"]\nconst _hoisted_84 = [\"src\"]\nconst _hoisted_85 = [\"disabled\"]\nconst _hoisted_86 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('../assets/chevron-left.svg'),\n alt: \"back\"\n }, null, 8, _hoisted_3),\n _createTextVNode(\" Back to Purchases \")\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n src: _ctx.order.imageUrl || '/img/default-image.png',\n alt: \"Product image\"\n }, null, 8, _hoisted_8)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"h1\", _hoisted_10, _toDisplayString(_ctx.order.productName), 1),\n (_ctx.order.status === _ctx.ShippingStatus.pending)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, \" Awaiting \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === _ctx.ShippingStatus.fulfilled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, \" Fulfilled \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === _ctx.ShippingStatus.refunded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, \" Refunded \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.status === _ctx.ShippingStatus.failed)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, \" Failed \"))\n : _createCommentVNode(\"\", true),\n (_ctx.order.shippingTrackingId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, \" Tracking Sent \"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"dl\", _hoisted_20, [\n (_ctx.order.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _hoisted_22,\n _withDirectives(_createElementVNode(\"dd\", _hoisted_23, null, 512), [\n [_directive_sanitized, _ctx.order.productName]\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"dd\", _hoisted_26, _toDisplayString(_ctx.order.message), 1)\n ])),\n (_ctx.order.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.order.options, (opt) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: opt.key,\n class: \"datalist__row\"\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(opt.key), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(opt.value), 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.price), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.shippingAmount), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _hoisted_33,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.tax), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.total), 1)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_36, [\n _createElementVNode(\"div\", _hoisted_37, [\n _hoisted_38,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.order.messageUrl,\n href: _ctx.order.messageUrl\n }, _toDisplayString(_ctx.order.messageUrl), 9, _hoisted_39)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_40, [\n _hoisted_41,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.total), 1)\n ])\n ]))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"dl\", _hoisted_43, [\n _createElementVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.productHashtag), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_46, [\n _hoisted_47,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.orderId), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_48, [\n _hoisted_49,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.transactionId), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_50, [\n _hoisted_51,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.order.sellerSupportEmail,\n href: `mailto:${_ctx.order.sellerSupportEmail}`\n }, _toDisplayString(_ctx.order.sellerSupportEmail), 9, _hoisted_52)\n ])\n ]),\n (_ctx.order.sellerSupportPhone)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_53, [\n _hoisted_54,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"a\", {\n title: _ctx.order.sellerSupportPhone,\n href: `tel:${_ctx.order.sellerSupportPhone}`\n }, _toDisplayString(_ctx.order.sellerSupportPhone), 9, _hoisted_55)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_56, [\n _hoisted_57,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.processDate(_ctx.order.orderDate)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_58, [\n _hoisted_59,\n _createElementVNode(\"dd\", null, \"Card ending in \" + _toDisplayString(_ctx.order.lastFourCC), 1)\n ])\n ])\n ])\n ])\n ]),\n (_ctx.order.type === _ctx.TagType.PRODUCT)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_60, [\n _hoisted_61,\n _createElementVNode(\"div\", _hoisted_62, [\n _createElementVNode(\"div\", _hoisted_63, [\n _createElementVNode(\"div\", _hoisted_64, [\n _createElementVNode(\"dl\", _hoisted_65, [\n _createElementVNode(\"div\", _hoisted_66, [\n _hoisted_67,\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"p\", _hoisted_68, _toDisplayString(_ctx.order.shippingAddressLine1), 1),\n (_ctx.order.shippingAddressLine2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_69, _toDisplayString(_ctx.order.shippingAddressLine2), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_70, _toDisplayString(_ctx.order.shippingCity), 1),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"span\", _hoisted_71, _toDisplayString(_ctx.order.shippingState) + \",\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.order.shippingPostalCode), 1)\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_72, [\n _createElementVNode(\"dl\", _hoisted_73, [\n _createElementVNode(\"div\", _hoisted_74, [\n _hoisted_75,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.shippingCourier || 'Not currently available'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_76, [\n _hoisted_77,\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.order.shippingTrackingId || 'Not currently available'), 1)\n ])\n ])\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createElementVNode(\"div\", _hoisted_78, [\n _createElementVNode(\"div\", _hoisted_79, [\n _createTextVNode(\" Product \"),\n _createElementVNode(\"span\", _hoisted_80, _toDisplayString(_ctx.index), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"span\", _hoisted_81, _toDisplayString(_ctx.purchaseListLength), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_82, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.previousId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.previous()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../assets/chevron-left.svg'),\n alt: \"Previous arrow\"\n }, null, 8, _hoisted_84)\n ])\n ], 8, _hoisted_83),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"next-prev-button\",\n disabled: !_ctx.nextId\n }, [\n _createElementVNode(\"div\", {\n class: \"flex align--center\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.next()))\n }, [\n _createElementVNode(\"img\", {\n src: require('../assets/chevron-right.svg'),\n alt: \"Next arrow\"\n }, null, 8, _hoisted_86)\n ])\n ], 8, _hoisted_85)\n ])\n ])\n ]))\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { store } from '@/store';\nimport { mapActions, mapGetters, mapMutations } from 'vuex';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { PurchaseOrder } from '@/models/purchaseOrder';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport Helpers from '@/helpers';\nimport { TagType } from '@/../enums/tagType';\nimport { ShippingStatus } from '@/../enums/shippingStatus';\n\nexport default defineComponent({\n name: 'BuyerOrderDetail',\n data() {\n return {\n TagType,\n ShippingStatus,\n order: {} as PurchaseOrder,\n previousId: '',\n nextId: '',\n index: 1\n };\n },\n computed: {\n ...mapGetters({\n purchaseListLength: 'purchases/getPurchasesListLength'\n })\n },\n async mounted() {\n const accountId = this.$route.params.accountId as string;\n const transactionId = this.$route.params.transactionId as string;\n if (accountId && transactionId) {\n await this.getOrder(accountId, transactionId);\n }\n },\n methods: {\n ...mapMutations('global', ['setLoading']),\n ...mapActions('purchases', ['getNext', 'getPrevious', 'getCurrentIndex']),\n goBack() {\n this.$router.push({\n name: 'buyer-product-orders'\n });\n },\n async getOrder(accountId: string, transactionId: string) {\n if (store.state.auth.currentUser) {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_PURCHASE,\n {\n userId: store.state.auth.currentUser.uid,\n accountId,\n transactionId\n }\n );\n if (result.status === APIResponseStatus.OK) {\n if (result.data) {\n this.order = result.data;\n const key = `${this.order.accountId}/${this.order.transactionId}`;\n this.index = (await this.getCurrentIndex(key)) + 1;\n this.nextId = await this.getNext(key);\n this.previousId = await this.getPrevious(key);\n }\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n }\n },\n processDate(date: string | number) {\n return Helpers.processDate(new Date(date).getTime());\n },\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n async previous() {\n if (this.previousId) {\n await this.$router.push({ path: `/user/purchases/${this.previousId}` });\n const keys = this.previousId.split('/');\n this.getOrder(keys[0], keys[1]);\n }\n },\n async next() {\n if (this.nextId) {\n await this.$router.push({ path: `/user/purchases/${this.nextId}` });\n const keys = this.nextId.split('/');\n this.getOrder(keys[0], keys[1]);\n }\n }\n }\n});\n","import { render } from \"./BuyerOrderDetail.vue?vue&type=template&id=59a8cced&scoped=true&ts=true\"\nimport script from \"./BuyerOrderDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerOrderDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerOrderDetail.vue?vue&type=style&index=0&id=59a8cced&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-59a8cced\"]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/heart.svg'\nimport _imports_1 from '@/assets/bag.svg'\nimport _imports_2 from '@/assets/dollar.svg'\nimport _imports_3 from '@/assets/flag-usa.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b5d38b22\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"margin-top-10 page-center\" }\nconst _hoisted_2 = { class: \"margin-top-10 margin-bottom-10\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-item\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }),\n /*#__PURE__*/_createTextVNode(\"Find the products you love \")\n], -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-item\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }),\n /*#__PURE__*/_createTextVNode(\"Generate your checkout Tags in seconds \")\n], -1))\nconst _hoisted_5 = { class: \"line-item\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = [\"onSubmit\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_3,\n alt: \"\"\n}, null, -1))\nconst _hoisted_11 = [\"onSubmit\"]\nconst _hoisted_12 = { class: \"text-legal text-light text-align--center margin-top-8\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Tell us a bit more about yourself and pick a username that customers will see on checkout. \", -1))\nconst _hoisted_14 = [\"onSubmit\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Alphapetical characters only\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Between 4 and 15 characters\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Something simple to say and type\")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Last step, pick a username to generate your checkouts. You can’t change it, so keep it short and personal. \", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"ul\", { class: \"margin-bottom-8\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", { class: \"line-item\" }, \"Alphabetical characters only\"),\n /*#__PURE__*/_createElementVNode(\"li\", { class: \"line-item\" }, \"Between 4 and 15 characters\"),\n /*#__PURE__*/_createElementVNode(\"li\", { class: \"line-item\" }, \"Something simple to say and type\")\n], -1))\nconst _hoisted_18 = [\"onSubmit\"]\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"center-text\" }, \"Welcome to Network!\", -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"center-text\" }, \" Congrats, you’re ready to earn with Tags. It’s time to find your favorite products and start selling everywhere. \", -1))\nconst _hoisted_21 = { style: {\"padding-top\":\"32px\"} }\nconst _hoisted_22 = { class: \"network-features\" }\nconst _hoisted_23 = { class: \"w-100 align--center\" }\nconst _hoisted_24 = { class: \"network-features__icon justify--start align--center\" }\nconst _hoisted_25 = [\"src\"]\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__header\" }, \"Generate checkouts\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__description\" }, \" You’ll get a set of Link, SMS and QR checkouts to share for every product. \")\n], -1))\nconst _hoisted_27 = { class: \"network-features\" }\nconst _hoisted_28 = { class: \"w-100 align--center\" }\nconst _hoisted_29 = { class: \"network-features__icon justify--start align--center\" }\nconst _hoisted_30 = [\"src\"]\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__header\" }, \" Share with your audience \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__description\" }, \" Place your checkouts anywhere — socials, blogs, podcasts, and more. \")\n], -1))\nconst _hoisted_32 = { class: \"network-features\" }\nconst _hoisted_33 = { class: \"w-100 align--center\" }\nconst _hoisted_34 = { class: \"network-features__icon justify--start align--center\" }\nconst _hoisted_35 = [\"src\"]\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__header\" }, \"Withdraw earnings\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"network-features__description\" }, \" Get paid in cash, from your dashboard straight to your bank account. \")\n], -1))\nconst _hoisted_37 = [\"src\"]\nconst _hoisted_38 = { class: \"center-text\" }\nconst _hoisted_39 = { class: \"center-text\" }\nconst _hoisted_40 = {\n key: 1,\n class: \"center-text\",\n style: {\"font-weight\":\"bold\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#checkoutHeaderTeleportContainer\" }, [\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"https://support.tagscommerce.com/hc/en-us/categories/360002454434-Users\",\n target: \"_blank\"\n }, \" Help \", 2)\n ])),\n (_ctx.currentStep === 1)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 0,\n title: _ctx.pageHeaderTitle,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.joinDescriptionText), 1),\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n (_ctx.signupType === 'GENERIC')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"Earn commissions from every sale\"))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, \"Earn \" + _toDisplayString(_ctx.sellerInfo.globalCommission) + \"% commission from every sale\", 1))\n ])\n ]),\n _createVNode(_component_BoostButton, {\n class: _normalizeClass([\"w-100\", 'custom__' + _ctx.customColor]),\n label: \"Get Started\",\n \"button-style\": \"custom\",\n onClick: _ctx.getStarted\n }, null, 8, [\"class\", \"onClick\"]),\n _createElementVNode(\"a\", {\n id: \"learn-more-link\",\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"https://tagscommerce.com/creator\",\n target: \"_blank\"\n }, \"Learn more about Tags \", 2)\n ]),\n _: 1\n }, 8, [\"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 2)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 1,\n title: \"Confirm your number\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.requestConfirmationCode)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.internalMobileNumber,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.internalMobileNumber) = $event)),\n label: \"Mobile number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n class: \"margin-bottom-2\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: \"next\",\n \"loading-state\": _ctx.getCodeState,\n label: \"Get Code\",\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"width-100 btn-form\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"]))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_9)\n ]),\n _: 1\n }),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_ValidationObserver, { key: 0 }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.checkConfirmationCode)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.confirmationCode,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n label: \"Confirmation Code\",\n placeholder: \"Confirmation Code\",\n rules: \"required\",\n class: \"margin-bottom-2\",\n \"input-id\": \"confirmationCode\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"#\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.requestConfirmationCode && _ctx.requestConfirmationCode(...args)))\n }, \"Resend Code\", 2)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n key: \"confirm\",\n \"loading-state\": _ctx.getCodeState,\n label: \"Continue\",\n \"complete-label\": \"Continue\",\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"width-100 btn-form margin-top-4\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"])\n ], 40, _hoisted_11)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_12, [\n _createTextVNode(\" By proceeding you agree to our \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/buyer-terms\",\n target: \"_blank\"\n }, \"Terms\", 2),\n _createTextVNode(\" and \"),\n _createElementVNode(\"a\", {\n class: _normalizeClass('custom__' + _ctx.customColor + '__link'),\n href: \"/privacy-policy\",\n target: \"_blank\"\n }, \"Privacy Policy\", 2),\n _createTextVNode(\" and to receive automated text alerts that may be marketing in nature from \" + _toDisplayString(_ctx.sellerInfo.name) + \" via Tags Commerce Inc. \", 1)\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 3)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 2,\n title: \"Who should we pay?\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_13,\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.registerAffiliate)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.affiliate.firstName,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.affiliate.firstName) = $event)),\n label: \"First name\",\n rules: \"required\",\n \"input-id\": \"first_name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.affiliate.lastName,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.affiliate.lastName) = $event)),\n label: \"Last name\",\n rules: \"required\",\n \"input-id\": \"last_name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.affiliate.email,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.affiliate.email) = $event)),\n label: \"Email address\",\n rules: \"required|email\",\n \"input-id\": \"email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.affiliate.userName,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.affiliate.userName) = $event)),\n label: \"Username\",\n rules: \"required|alpha|min:4|max:15\",\n \"input-id\": \"affiliate_name\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_15,\n _createVNode(_component_BoostButton, {\n key: \"account_done\",\n label: \"Done\",\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"w-100 btn-form\", 'custom__' + _ctx.customColor]),\n \"loading-state\": _ctx.getCodeState\n }, null, 8, [\"disabled\", \"loading-state\", \"class\"])\n ], 40, _hoisted_14)\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 4)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 3,\n title: \"Create Username\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_16,\n _hoisted_17,\n _createVNode(_component_ValidationObserver, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap\"\n }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n novalidate: \"\",\n class: \"flex--full-width\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit(_ctx.registerAffiliate)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.affiliate.userName,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.affiliate.userName) = $event)),\n label: \"Username\",\n rules: \"required|alpha|min:4|max:15\",\n \"input-id\": \"affiliate_name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n key: \"account_done\",\n label: \"Done\",\n \"loading-state\": _ctx.getCodeState,\n \"button-style\": \"custom\",\n disabled: !meta.valid,\n type: \"submit\",\n class: _normalizeClass([\"w-100 btn-form\", 'custom__' + _ctx.customColor])\n }, null, 8, [\"loading-state\", \"disabled\", \"class\"])\n ], 40, _hoisted_18)\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 5)\n ? (_openBlock(), _createBlock(_component_BoostSectionHeader, {\n key: 4,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n (_ctx.signupType === 'GENERIC')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_19,\n _hoisted_20,\n _createVNode(_component_BoostButton, {\n key: \"account_done\",\n label: \"Find Products\",\n \"button-style\": \"custom\",\n type: \"button\",\n class: _normalizeClass([\"w-100 btn-form margin-top-8\", 'custom__' + _ctx.customColor]),\n onClick: _ctx.goToFindProducts\n }, null, 8, [\"class\", \"onClick\"]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"img\", {\n src: require('@/assets/tag.svg')\n }, null, 8, _hoisted_25)\n ]),\n _hoisted_26\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"img\", {\n src: require('@/assets/share-outline.svg')\n }, null, 8, _hoisted_30)\n ]),\n _hoisted_31\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"img\", {\n src: require('@/assets/cash.svg')\n }, null, 8, _hoisted_35)\n ]),\n _hoisted_36\n ])\n ])\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"img\", {\n src: _ctx.sellerInfo.logoUrl,\n class: \"big-logo\"\n }, null, 8, _hoisted_37),\n _createElementVNode(\"h3\", _hoisted_38, \" Welcome to \" + _toDisplayString(_ctx.possessiveBrandName) + \" Network! \", 1),\n _createElementVNode(\"p\", _hoisted_39, [\n _createTextVNode(\" Congrats! You can now earn \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.sellerInfo.globalCommission) + \"%\", 1),\n _createTextVNode(\" commission every time someone buys using your checkout. \")\n ]),\n (_ctx.sellerInfo.shopifyStore)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: \"account_done\",\n label: \"Go to Store\",\n \"button-style\": \"custom\",\n type: \"button\",\n class: _normalizeClass([\"w-100 btn-form margin-top-8\", 'custom__' + _ctx.customColor]),\n onClick: _ctx.goToStore\n }, null, 8, [\"class\", \"onClick\"]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_40, \" This seller is yet to connect their Shopify store. Please check back later. \"))\n ], 64))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { SellerAccount } from '@/pre-registration/PreRegistration.vue';\nimport { store } from '@/store';\nimport { BrandInformation } from '@/store/types';\nimport { defineComponent } from 'vue';\nimport Helpers from '@/helpers';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { mapGetters } from 'vuex';\n\ntype SIGNUP_TYPE = 'GENERIC' | 'BRAND';\n\nexport default defineComponent({\n data() {\n return {\n percentage: 11,\n sellerInfo: {} as SellerAccount,\n currentStep: 1,\n getCodeState: ButtonLoadingState.initial,\n internalMobileNumber: '',\n isExistingUser: false,\n hasUserName: false,\n hasSentConfirmationCode: false,\n confirmationCode: '',\n affiliate: {\n firstName: '',\n lastName: '',\n email: '',\n userName: ''\n },\n defaultSlug: 'tags',\n signupType: 'GENERIC' as SIGNUP_TYPE\n };\n },\n computed: {\n ...mapGetters({\n brandName: 'global/getBrandName'\n }),\n customColor(): string {\n return store.getters['global/getCustomColor'] as string;\n },\n possessiveBrandName() {\n const possessiveSIfNeeded = this.sellerInfo.name.endsWith('s') ? '' : 's';\n return `${this.sellerInfo.name}'${possessiveSIfNeeded}`;\n },\n pageHeaderTitle() {\n return this.signupType === 'BRAND'\n ? 'Get paid for sharing'\n : 'Join Network';\n },\n joinDescriptionText() {\n return this.signupType === 'BRAND'\n ? 'Love this brand’s products so much you want to tell everyone about it? Create your own checkout Tags and get paid every time someone buys from you.'\n : 'Generate checkouts for thousands of products and earn cash every time someone buys from you — without needing to fulfill or manage orders.';\n }\n },\n async mounted() {\n this.$store.commit('global/setLoading', {\n isLoading: true\n });\n\n // This page can be used as a generic Tags Network signup page.\n // If there is no slug, we offer the user generic registration.\n let { slug } = this.$route.params;\n if (!slug) {\n slug = 'tags';\n this.signupType = 'GENERIC';\n } else {\n this.signupType = 'BRAND';\n }\n\n const payload = {\n slug: slug as string\n };\n const response = await FirebaseRequest.createRequest<{\n seller: SellerAccount;\n }>(FirebaseRequestTypes.GET_SELLER_INFO, payload);\n\n if (response?.status === APIResponseStatus.OK && response.data?.seller) {\n this.sellerInfo = response.data.seller;\n store.commit('global/setCustomColor', this.sellerInfo.customColor);\n store.commit('global/setBrandInformation', {\n brandName: this.sellerInfo.name,\n logoUrl: this.sellerInfo.logoUrl,\n metaPixel: this.sellerInfo.metaPixel,\n customColor: this.sellerInfo.customColor\n } as BrandInformation);\n }\n this.$store.commit('global/setLoading', false);\n if (\n !this.sellerInfo.name ||\n this.sellerInfo.plan === 'Basic' ||\n !this.sellerInfo.enableShareEarn\n ) {\n await this.$router.push({ name: 'PageNotFound' });\n }\n },\n methods: {\n getStarted() {\n this.currentStep = 2;\n },\n async requestConfirmationCode() {\n try {\n this.getCodeState = ButtonLoadingState.loading;\n const payload = {\n number: Helpers.prefixPhoneNumber(this.internalMobileNumber),\n context: 'SIGNUP_AFFILIATE'\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n this.isExistingUser =\n confirmationCodeResponse.code === 'PREREGISTER_EXISTING_USER' ||\n confirmationCodeResponse.code === 'AFFILIATE_HAS_USERNAME';\n this.hasUserName =\n confirmationCodeResponse.code === 'AFFILIATE_HAS_USERNAME';\n this.hasSentConfirmationCode = true;\n\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_SENDING_CONFIRMATION_CODE,\n type: BannerType.success\n });\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n\n this.hasSentConfirmationCode = false;\n }\n this.getCodeState = ButtonLoadingState.complete;\n },\n async checkConfirmationCode() {\n if (!this.internalMobileNumber) {\n return;\n }\n // Check if phone number exists\n // 1. call existing code validation api\n // 2. if existing, call new api to register the relationship\n // 3. if new customer, proceed to next step to collect info\n this.getCodeState = ButtonLoadingState.loading;\n\n const context = 'SIGNUP_AFFILIATE';\n\n const payload = {\n number: Helpers.prefixPhoneNumber(this.internalMobileNumber),\n code: this.confirmationCode,\n context\n };\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse.status === APIResponseStatus.OK) {\n if (this.hasUserName) {\n await this.registerAffiliate();\n this.currentStep = 5;\n } else {\n this.currentStep = this.isExistingUser ? 4 : 3;\n }\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.getCodeState = ButtonLoadingState.complete;\n },\n async registerAffiliate() {\n this.getCodeState = ButtonLoadingState.loading;\n if (!(await this.validateAffiliate())) {\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n const payload = {\n ...this.affiliate,\n mobileNumber: Helpers.prefixPhoneNumber(this.internalMobileNumber),\n slug: this.sellerInfo.slug ?? this.defaultSlug,\n isNewUser: !this.isExistingUser\n };\n try {\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_AFFILIATE_SIGNUP,\n payload\n );\n if (response.status === APIResponseStatus.OK) {\n this.currentStep = 5;\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n } catch (err) {\n console.error(err);\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.getCodeState = ButtonLoadingState.complete;\n },\n async validateAffiliate(): Promise {\n if (this.hasUserName) {\n return true;\n }\n const response = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.CHECK_SELLER_HASHTAG,\n { hashtagPrefix: this.affiliate.userName }\n );\n if (response.code === 'SELLER_DOES_EXIST') {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_TAG_UNAVAILABLE,\n type: BannerType.error\n });\n return false;\n }\n\n return true;\n },\n async goToStore() {\n if (this.sellerInfo.shopifyStore) {\n window.location.href = this.sellerInfo.shopifyStore;\n }\n },\n async goToFindProducts() {\n window.location.href = 'https://tagscommerce.com/find-products';\n }\n }\n});\n","import { render } from \"./AffiliateSignup.vue?vue&type=template&id=b5d38b22&scoped=true&ts=true\"\nimport script from \"./AffiliateSignup.vue?vue&type=script&lang=ts\"\nexport * from \"./AffiliateSignup.vue?vue&type=script&lang=ts\"\n\nimport \"./AffiliateSignup.vue?vue&type=style&index=0&id=b5d38b22&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b5d38b22\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-79ebd51b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Dashboard\", -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"divider\" }, \"|\")\n], -1))\nconst _hoisted_3 = { id: \"dashboard\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Follow the steps below to get your account set up and start selling with Tags in minutes. \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" For more help, go to our \"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"https://support.tagscommerce.com/hc/en-us\" }, \"Help Center\"),\n /*#__PURE__*/_createTextVNode(\". \")\n], -1))\nconst _hoisted_7 = { class: \"t-12 flex flex--wrap no-pad bottom-border\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" Connect your bank account to Stripe to be able to withdraw your earnings. \", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Find products you love, generate checkout Tags, and earn commissions on every sale. \", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" Withdraw your commission earnings after they become available. \", -1))\nconst _hoisted_11 = { class: \"t-12 flex flex--wrap no-pad\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-top-10 heading-margins w-100\" }, \"FAQs\", -1))\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" View your current and past earning performance. Click refresh to get the latest data. \", -1))\nconst _hoisted_15 = { class: \"t-12 flex flex--wrap no-pad bottom-border\" }\nconst _hoisted_16 = { class: \"stat-counts\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostStepCard = _resolveComponent(\"BoostStepCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Getting Started\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'get-started'\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.selectedMenu = 'get-started'))\n }, null, 8, [\"class\"])\n ]),\n _hoisted_2,\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Overview\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedMenu === 'overview'\n }),\n onClick: _ctx.overview\n }, null, 8, [\"class\", \"onClick\"])\n ])\n ])\n ])),\n _createElementVNode(\"section\", _hoisted_3, [\n (_ctx.selectedMenu === 'get-started')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Getting started\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _hoisted_6\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"1\",\n title: \"Connect Stripe\",\n \"image-url\": \"/img/affiliate-connect-shopify.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"2\",\n title: \"Share & Earn\",\n \"image-url\": \"/img/affiliate-share-earn.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4 border-right\",\n number: \"3\",\n title: \"Withdraw\",\n \"image-url\": \"/img/affiliate-withdraw.svg\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"What are Tags?\",\n message: \"Tags are distributed checkout coordinates. As a Tags user, you can generate QR, Link and SMS checkouts that will always be attributed to you through brands’ product pages.\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"How can I find products to sell with Tags?\",\n message: \"Keep an eye out on your favorite brands to activate Network functionality. Once it’s live, just visit their website, find the products you love, and generate your checkout Tags!\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"How can I sell with Tags?\",\n message: \"Use link checkouts on your socials, QR at events or pop-up shops, and call out SMS checkouts live or in-person to sell instantly, no website needed.\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"How are my earning calculated?\",\n message: \"You’ll earn a fixed commission % from every sale you make with your Tags. The commission percentage will vary by brand and will be displayed when you generate the tags.\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"How do I get paid?\",\n message: \"Your earnings will accumulate and can be withdrawn after a 15-day holding period. (ex: $50 that you earn on March 1st will be available for withdrawal on March 16th)\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-6\",\n title: \"Can I also buy with Tags using this account?\",\n message: \"Yes! Your account can be used to buy and sell products with tags. Check My Purchases for details on your orders!\"\n })\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Overview\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_14,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.statRefreshButtonState,\n \"complete-label\": \"Done\",\n onClick: _ctx.getStats\n }, null, 8, [\"loading-state\", \"onClick\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_15, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.stats, (stat, index) => {\n return (_openBlock(), _createBlock(_component_BoostStepCard, {\n key: index + '-stat-card',\n class: \"t-4 border-right top-border\",\n title: _ctx.getPrice(stat.amount),\n number: stat.title,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(stat.sales) + \" Sales\", 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"number\"]))\n }), 128))\n ])\n ]))\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { store } from '../store/index';\nimport { Stat } from '../../models/stat';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport Helpers from '@/helpers';\nimport { Permissions } from '../store/types';\nimport { Buyer } from './settings/BuyerSettingsInterfaces';\n\nconst BuyerDashboard = defineComponent({\n name: 'BuyerDashboard',\n data() {\n return {\n Permissions,\n selectedMenu: 'overview',\n stats: [\n {\n title: 'Today',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 24 Hours',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 7 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 30 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 90 Days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Lifetime',\n amount: 0,\n sales: 0\n }\n ],\n statRefreshButtonState: ButtonLoadingState.initial\n };\n },\n mounted() {\n const currentBuyer = store.getters['auth/getCurrentBuyer'] as Buyer;\n if (\n !(\n currentBuyer.isVerified ||\n currentBuyer.hasAttemptedVerification ||\n currentBuyer.isAffiliatePayoutConnected\n )\n ) {\n this.selectedMenu = 'get-started';\n }\n },\n methods: {\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n async overview() {\n this.selectedMenu = 'overview';\n await this.getStats();\n },\n async getStats() {\n this.statRefreshButtonState = ButtonLoadingState.loading;\n\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_STATS,\n {}\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n const st = responseData.data as Stat;\n if (st.today) {\n this.stats[0].amount = parseFloat(st.today.amount.toFixed(2));\n this.stats[0].sales = st.today.orders;\n }\n if (st.yesterday) {\n this.stats[1].amount = parseFloat(st.yesterday.amount.toFixed(2));\n this.stats[1].sales = st.yesterday.orders;\n }\n if (st.week) {\n this.stats[2].amount = parseFloat(st.week.amount.toFixed(2));\n this.stats[2].sales = st.week.orders;\n }\n if (st.month) {\n this.stats[3].amount = parseFloat(st.month.amount.toFixed(2));\n this.stats[3].sales = st.month.orders;\n }\n if (st.quarter) {\n this.stats[4].amount = parseFloat(st.quarter.amount.toFixed(2));\n this.stats[4].sales = st.quarter.orders;\n }\n if (st.totals) {\n this.stats[5].amount = parseFloat(st.totals.amount.toFixed(2));\n this.stats[5].sales = st.totals.orders;\n }\n }\n this.statRefreshButtonState = ButtonLoadingState.complete;\n }\n }\n});\n\nexport default BuyerDashboard;\n","import { render } from \"./BuyerDashboard.vue?vue&type=template&id=79ebd51b&scoped=true&ts=true\"\nimport script from \"./BuyerDashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerDashboard.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerDashboard.vue?vue&type=style&index=0&id=79ebd51b&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-79ebd51b\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, Teleport as _Teleport } from \"vue\"\nimport _imports_0 from '@/assets/no-results.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Share products from your favorite brands and earn instantly with every sale. \", -1)\nconst _hoisted_2 = {\n key: 0,\n class: \"t-12 flex flex--wrap justify-between no-pad top-border\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"margin-bottom\":\"32px\"}\n}, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h2\", null, \"No results found\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", null, \" This page will show tags for all of the products you want to share and earn commissions on. \", -1)\nconst _hoisted_6 = [\n _hoisted_3,\n _hoisted_4,\n _hoisted_5\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostBrandCard = _resolveComponent(\"BoostBrandCard\")!\n const _component_BoostPagination = _resolveComponent(\"BoostPagination\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Tags\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_BoostButton, {\n label: \"Discover Brands\",\n onClick: _ctx.openFindProductsLink\n }, null, 8, [\"onClick\"])\n ]),\n _: 1\n }),\n (_ctx.brands?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.brands, (brand) => {\n return (_openBlock(), _createBlock(_component_BoostBrandCard, {\n key: brand.accountAffiliateId,\n avatar: brand.imageUrl,\n title: brand.brandName,\n \"tag-count\": brand.tagCount,\n commission: brand.commission,\n class: \"t-6 border-right bottom-border padding-4\",\n onImageClicked: ($event: any) => (_ctx.showBrandTags(brand))\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: brand,\n style: {\"margin-left\":\"auto\"}\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n _: 2\n }, 1032, [\"avatar\", \"title\", \"tag-count\", \"commission\", \"onImageClicked\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n style: _normalizeStyle([{\n display: _ctx.brands?.length ? 'none' : 'block'\n }, {\"margin\":\"auto\"}]),\n class: \"t-6\"\n }, _hoisted_6, 4),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createVNode(_component_BoostPagination, {\n items: _ctx.brands,\n \"per-page\": 24,\n class: \"tag-cards__pagination\"\n }, null, 8, [\"items\"])\n ]))\n ], 64))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0325c500\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-brand-card flex align--center\" }\nconst _hoisted_2 = { class: \"rounded-image rounded-image--medium boost-brand-card__avatar\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"boost-brand-card__content\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"text-light\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"text-light\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-light\" }, \" / \", -1))\nconst _hoisted_8 = { class: \"text-money\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: _ctx.avatar || require('@/assets/default-product.jpg'),\n alt: \"product or brand image\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.onImageClick && _ctx.onImageClick(...args)))\n }, null, 8, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"div\", null, [\n (!_ctx.price)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(_ctx.tagCount) + \" Tags\", 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_ctx.price), 1)),\n _hoisted_7,\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.commission) + \"% commission\", 1)\n ])\n ]),\n _renderSlot(_ctx.$slots, \"action\", {}, undefined, true)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostBrandCard',\n props: {\n avatar: {\n type: String,\n default: ''\n },\n title: {\n type: String,\n default: ''\n },\n tagCount: {\n type: Number,\n default: 0\n },\n price: {\n type: String,\n default: ''\n },\n commission: {\n type: Number,\n default: 0\n }\n },\n emits: ['image-clicked'],\n methods: {\n onImageClick() {\n this.$emit('image-clicked');\n }\n }\n});\n","import { render } from \"./BoostBrandCard.vue?vue&type=template&id=0325c500&scoped=true&ts=true\"\nimport script from \"./BoostBrandCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostBrandCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostBrandCard.vue?vue&type=style&index=0&id=0325c500&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0325c500\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport BoostBrandCard from '@/common/BoostBrandCard.vue';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { mapMutations } from 'vuex';\nimport { AffiliateBrand } from '../../models/affiliateBrands';\n\nexport default defineComponent({\n components: { BoostBrandCard },\n data() {\n return {\n brands: [] as AffiliateBrand[],\n menuItems: [\n {\n label: 'View Tags',\n onClick: (brand) => {\n this.showBrandTags(brand);\n }\n },\n {\n label: 'Remove Brand',\n onClick: (brand) => {\n this.remove(brand);\n },\n isDangerous: () => {\n return true;\n }\n }\n ] as ContextMenuItem[]\n };\n },\n async mounted() {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_BRANDS,\n {}\n );\n if (result.status === APIResponseStatus.OK) {\n this.brands = result.data as AffiliateBrand[];\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n showBrandTags(brand: AffiliateBrand) {\n this.$router.push({\n name: 'buyer-brand-tags',\n params: { accountAffiliateId: brand.accountAffiliateId }\n });\n },\n async remove(brand: AffiliateBrand) {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REMOVE_AFFILIATE_BRAND,\n { accountAffiliateId: brand.accountAffiliateId }\n );\n if (result.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n const index = this.brands.indexOf(brand);\n this.brands.splice(index, 1);\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n openFindProductsLink() {\n window.open('https://tagscommerce.com/find-products', '_blank');\n }\n }\n});\n","import { render } from \"./BuyerTags.vue?vue&type=template&id=115e56bc&ts=true\"\nimport script from \"./BuyerTags.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerTags.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", null, \" View the detailed breakdown of how your Tags are performing in real-time. \", -1)\nconst _hoisted_2 = { class: \"w-100 flex t-12 no-pad top-border\" }\nconst _hoisted_3 = { class: \"flex flex--wrap no-pad top-border\" }\nconst _hoisted_4 = { class: \"flex flex--wrap no-pad top-border bottom-border\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Insights\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.refreshButtonState,\n type: \"button\",\n class: \"btn-form\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.refresh()))\n }, null, 8, [\"loading-state\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cards, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-stat',\n class: \"t-3 border-right\",\n title: card.title,\n message: card.message?.toString()\n }, null, 8, [\"title\", \"message\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsOne, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.detailedCardsTwo, (card, index) => {\n return (_openBlock(), _createBlock(_component_BoostCard, {\n key: index + '-card-detailed-stat',\n class: \"t-6 border-right\",\n title: card.title,\n message: card.message?.toString(),\n summary: card.summary,\n \"has-expander\": \"\",\n details: card.details\n }, null, 8, [\"title\", \"message\", \"summary\", \"details\"]))\n }), 128))\n ])\n ], 64))\n}","\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport helpers from '@/helpers';\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n data() {\n return {\n refreshButtonState: ButtonLoadingState.initial,\n cards: [\n {\n title: 'Commission Earnings',\n message: '$0.00'\n },\n {\n title: 'Sales',\n message: '0'\n },\n {\n title: 'Conversion',\n message: '0%'\n },\n {\n title: 'Tags',\n message: '0'\n }\n ],\n detailedCardsOne: [\n {\n title: 'Most Popular Checkout Method',\n message: '',\n summary:\n 'Showing breakdown of the various checkout methods in (%). The order is defined by highest to lowest.',\n details: [\n { name: 'Link to Checkout', value: '0%' },\n { name: 'QR to Checkout', value: '0%' },\n { name: 'SMS to Checkout', value: '0%' }\n ]\n },\n {\n title: 'Total Sessions',\n message: '0',\n summary:\n 'Showing breakdown of Total Sessions by stage reached at the checkout page.',\n details: [\n { name: 'Successful', value: '0' },\n { name: 'Unfinished', value: '0' }\n ]\n }\n ],\n detailedCardsTwo: [\n {\n title: 'Most Popular Brand',\n message: '',\n summary:\n 'Showing the most popular brand based on products purchased.',\n details: [\n { name: '1st', value: '' },\n { name: '2nd', value: '' },\n { name: '3rd', value: '' }\n ]\n },\n {\n title: 'Most Popular Product',\n message: '',\n summary:\n 'Showing the most popular products based on products purchased.',\n details: [\n { name: '1st', value: '' },\n { name: '2nd', value: '' },\n { name: '3rd', value: '' }\n ]\n }\n ]\n };\n },\n async mounted() {\n await this.refresh();\n },\n methods: {\n async refresh() {\n this.refreshButtonState = ButtonLoadingState.loading;\n\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_ANALYTICS,\n {}\n );\n\n if (responseData.status === APIResponseStatus.OK) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const st = responseData.data as any;\n this.cards[0].message = helpers.currencyFormatter(st.grossRevenue);\n this.cards[1].message = st.salesCount;\n this.cards[2].message = st.conversionRate + '%';\n this.cards[3].message = st.tagCount;\n\n this.detailedCardsOne[0].message = st.checkouts.mostPopular;\n this.detailedCardsOne[0].details[0].value =\n st.checkouts.percents[0].value;\n this.detailedCardsOne[0].details[1].value =\n st.checkouts.percents[1].value;\n this.detailedCardsOne[0].details[2].value =\n st.checkouts.percents[2].value;\n\n this.detailedCardsOne[1].message = st.sessions.total;\n this.detailedCardsOne[1].details[0].value = st.sessions.counts[0].value;\n this.detailedCardsOne[1].details[1].value = st.sessions.counts[1].value;\n\n this.detailedCardsTwo[0].message = st.popularBrands.first;\n this.detailedCardsTwo[0].details[0].value = st.popularBrands.first;\n this.detailedCardsTwo[0].details[1].value = st.popularBrands.second;\n this.detailedCardsTwo[0].details[2].value = st.popularBrands.third;\n\n this.detailedCardsTwo[1].message = st.popularProducts.first;\n this.detailedCardsTwo[1].details[0].value = st.popularProducts.first;\n this.detailedCardsTwo[1].details[1].value = st.popularProducts.second;\n this.detailedCardsTwo[1].details[2].value = st.popularProducts.third;\n }\n\n this.refreshButtonState = ButtonLoadingState.complete;\n }\n }\n});\n","import { render } from \"./BuyerInsights.vue?vue&type=template&id=d7465500&ts=true\"\nimport script from \"./BuyerInsights.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerInsights.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/refresh.svg'\nimport _imports_1 from '@/assets/transaction.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f3066de0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \" Withdraw your commission earnings using Stripe. Earnings will become available after a 15-day pending period. Withdrawals can take up to 3 business days. \", -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://stripe.com\",\n target: \"_blank\"\n}, \"About Stripe Payments\", -1))\nconst _hoisted_3 = { class: \"boost-payout-card standard-margins\" }\nconst _hoisted_4 = { class: \"w-100 flex justify--between\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Total\", -1))\nconst _hoisted_6 = { class: \"boost-payout-card__icon flex justify--end align--center\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1))\nconst _hoisted_8 = { class: \"w-100 flex justify--between margin-top-2\" }\nconst _hoisted_9 = { class: \"w-100 flex justify--between margin-top-10\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Pending\", -1))\nconst _hoisted_11 = { class: \"w-100 flex justify--between margin-top-2\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Available\", -1))\nconst _hoisted_13 = { class: \"standard-margins margin-top-5 margin-bottom-10\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"t-12 no-pad top-border padding-top-10\"\n}\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 no-pad standard-margins\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", null, \"Activity\")\n], -1))\nconst _hoisted_16 = { key: 0 }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"money icon\"\n}, null, -1))\nconst _hoisted_18 = [\n _hoisted_17\n]\nconst _hoisted_19 = { key: 1 }\nconst _hoisted_20 = { key: 2 }\nconst _hoisted_21 = { key: 3 }\nconst _hoisted_22 = { key: 4 }\nconst _hoisted_23 = { key: 5 }\nconst _hoisted_24 = {\n novalidate: \"\",\n class: \"w-100\"\n}\nconst _hoisted_25 = { class: \"boost-payout-card margin-bottom-5\" }\nconst _hoisted_26 = { class: \"w-100 flex justify--between\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Total\", -1))\nconst _hoisted_28 = { class: \"boost-payout-card__icon flex justify--end align--center\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1))\nconst _hoisted_30 = { class: \"w-100 flex justify--between margin-top-2\" }\nconst _hoisted_31 = { class: \"w-100 flex justify--between margin-top-10\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Pending\", -1))\nconst _hoisted_33 = { class: \"w-100 flex justify--between margin-top-2\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Available\", -1))\nconst _hoisted_35 = { class: \"text-light margin-bottom-5\" }\nconst _hoisted_36 = { class: \"w-100 flex flex--gap top-border padding-top-5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_validation_observer = _resolveComponent(\"validation-observer\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BoostSectionHeader, {\n title: \"Earnings\",\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _hoisted_2\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.loadData\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.totalAmount)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.pendingAmount)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.availableAmount)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_BoostButton, {\n disabled: !_ctx.canWithdraw,\n label: \"Withdraw Funds\",\n \"button-style\": \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showWithdraw = true))\n }, null, 8, [\"disabled\"])\n ]),\n (_ctx.affiliateTransactions?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _hoisted_15,\n _createVNode(_component_BoostTable, {\n rows: _ctx.affiliateTransactions,\n columns: _ctx.columns,\n \"hide-arrow\": \"\"\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'image')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _hoisted_18))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'brandName')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_19, _toDisplayString(data.row.brandName), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'productName')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(data.row.productName), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'quantity')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString(data.row.quantity), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'amount')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_22, _toDisplayString(_ctx.formatCurrency(data.row.amount)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'activityDate')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_23, _toDisplayString(new Date(data.row.activityDate).toLocaleDateString('en-US')), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showWithdraw)\n ? (_openBlock(), _createBlock(_component_PopupComponent, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(_component_validation_observer, {\n ref: \"observer\",\n tag: \"div\",\n class: \"flex flex--wrap no-pad\"\n }, {\n default: _withCtx(({ meta }) => [\n _createElementVNode(\"form\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.loadData\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.totalAmount)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _hoisted_32,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.pendingAmount)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _hoisted_34,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.availableAmount)), 1)\n ])\n ]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.withdrawAmount,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.withdrawAmount) = $event)),\n label: \"Withdraw\",\n \"input-id\": \"withdraw-amount\",\n rules: `required|money|min_value:10|max_withdraw: ${_ctx.maxAmount}`\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createElementVNode(\"div\", _hoisted_35, \" Enter amount up to \" + _toDisplayString(_ctx.formatCurrency(_ctx.availableAmount)) + \". Minimum withdrawal amount is $10. \", 1),\n _createElementVNode(\"div\", _hoisted_36, [\n _createVNode(_component_BoostButton, {\n style: {\"flex\":\"1\"},\n label: \"Cancel\",\n type: \"button\",\n \"button-style\": \"optional\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showWithdraw = false))\n }),\n (_ctx.buyerSettings.isAffiliatePayoutConnected)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n style: {\"flex\":\"1\"},\n label: \"Withdraw\",\n type: \"button\",\n disabled: !meta.valid,\n onClick: _ctx.withdraw\n }, null, 8, [\"disabled\", \"onClick\"]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n style: {\"flex\":\"1\"},\n label: \"Connect Stripe\",\n \"button-style\": \"primary\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (\n _ctx.$router.push({\n name: 'buyer-settings',\n query: { menu: 'stripe' }\n })\n ))\n }))\n ])\n ])\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\nimport Helpers from '@/helpers';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n FirebaseRequest,\n FirebaseRequestTypes,\n APIResponseStatus\n} from '@/firebaseRequest';\nimport {\n AffiliateEarnings,\n AffiliateEarningHistory\n} from '@/models/affiliateBrands';\nimport { mapMutations } from 'vuex';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport {\n PopupMessageStrings,\n PopupMessageTitles\n} from '@/common/PopupComponent/PopupMessages';\n\nexport default defineComponent({\n name: 'BuyerEarnings',\n components: {\n PopupComponent\n },\n data() {\n return {\n PopupMessageStrings,\n PopupMessageTitles,\n totalAmount: '',\n pendingAmount: '',\n availableAmount: '',\n canWithdraw: false,\n showWithdraw: false,\n withdrawAmount: 0,\n maxAmount: 0,\n affiliateTransactions: [] as AffiliateEarningHistory[],\n columns: [\n {\n id: 'image',\n label: ''\n },\n {\n id: 'brandName',\n label: 'Brand'\n },\n {\n id: 'productName',\n label: 'Product'\n },\n {\n id: 'quantity',\n label: 'Quantity'\n },\n {\n id: 'amount',\n label: 'Total'\n },\n {\n id: 'activityDate',\n label: 'Date'\n }\n ]\n };\n },\n computed: {\n ...mapGetters({\n buyerSettings: 'auth/getCurrentBuyer'\n })\n },\n async mounted() {\n await this.loadData();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n async loadData() {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_EARNINGS,\n {}\n );\n if (result.status === APIResponseStatus.OK) {\n const earnings = result.data as AffiliateEarnings;\n this.totalAmount = this.formatCurrency(earnings.total);\n this.pendingAmount = this.formatCurrency(earnings.pending);\n this.availableAmount = this.formatCurrency(earnings.available);\n this.canWithdraw = !!earnings.available;\n this.maxAmount = earnings.available / 100;\n this.affiliateTransactions = earnings.history || [];\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n async withdraw() {\n this.showWithdraw = false;\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.AFFILIATE_WITHDRAW_AMOUNT,\n {\n withdrawAmount: this.withdrawAmount\n }\n );\n if (result.status === APIResponseStatus.OK) {\n const earnings = result.data as AffiliateEarnings;\n this.totalAmount = this.formatCurrency(earnings.total);\n this.pendingAmount = this.formatCurrency(earnings.pending);\n this.availableAmount = this.formatCurrency(earnings.available);\n this.canWithdraw = !!earnings.available;\n this.maxAmount = earnings.available / 100;\n this.affiliateTransactions = earnings.history || [];\n this.setBannerStatus({\n text: BannerMessageStrings.BUYER_AFFILIATE_WITHDRAW_SUCCESS,\n type: BannerType.success\n });\n } else {\n const errorMessage =\n result.code === 'STRIPE_NOT_CONNECTED' ||\n result.code === 'STRIPE_ERROR'\n ? (result.data as { message: string })?.message\n : BannerMessageStrings.GENERIC_ERROR_MESSAGE;\n this.setBannerStatus({\n text: errorMessage ?? BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n }\n }\n});\n","import { render } from \"./BuyerEarnings.vue?vue&type=template&id=f3066de0&scoped=true&ts=true\"\nimport script from \"./BuyerEarnings.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerEarnings.vue?vue&type=script&lang=ts\"\n\nimport \"./BuyerEarnings.vue?vue&type=style&index=0&id=f3066de0&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f3066de0\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex align--center\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-bold\" }, \"Back to Tags\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", null, \" Download instant checkout coordinates for your products. Only active products are shown on this page. \", -1)\nconst _hoisted_5 = {\n key: 0,\n class: \"t-12 flex flex--wrap justify-between no-pad top-border\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_BoostBrandCard = _resolveComponent(\"BoostBrandCard\")!\n const _component_BoostPagination = _resolveComponent(\"BoostPagination\")!\n const _component_DownloadTagsPopupComponent = _resolveComponent(\"DownloadTagsPopupComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-back-menu\" }, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"none\",\n onClick: _ctx.goBack\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n style: {\"width\":\"16px\",\"height\":\"16px\"},\n src: require('@/assets/chevron-left.svg'),\n alt: \"Back\"\n }, null, 8, _hoisted_2)\n ])\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _hoisted_3\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#action-buttons\" }, [\n _createVNode(_component_BoostButton, {\n label: \"Find Products\",\n disabled: !_ctx.brand?.storeLink,\n onClick: _ctx.findProducts\n }, null, 8, [\"disabled\", \"onClick\"])\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Active\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedTab === 'Active'\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.changeTab('Active')))\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Inactive\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.selectedTab === 'Inactive'\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.changeTab('Inactive')))\n }, null, 8, [\"class\"])\n ])\n ])\n ])),\n _createVNode(_component_BoostSectionHeader, {\n title: _ctx.brand?.brandName,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"title\"]),\n (_ctx.brandTags?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.brandTags, (tag) => {\n return (_openBlock(), _createBlock(_component_BoostBrandCard, {\n key: tag.productId,\n avatar: tag.imageUrl,\n title: tag.productName,\n price: _ctx.formatCurrency(tag.price),\n commission: tag.commission,\n class: \"t-6 border-right bottom-border padding-4\",\n onImageClicked: ($event: any) => (_ctx.download(tag))\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: tag,\n style: {\"margin-left\":\"auto\"}\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n _: 2\n }, 1032, [\"avatar\", \"title\", \"price\", \"commission\", \"onImageClicked\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"#bottom-tray\" }, [\n _createVNode(_component_BoostPagination, {\n items: _ctx.brandTags,\n \"per-page\": 24,\n class: \"tag-cards__pagination\"\n }, null, 8, [\"items\"])\n ])),\n (_ctx.showDownloadTags)\n ? (_openBlock(), _createBlock(_component_DownloadTagsPopupComponent, {\n key: 1,\n \"selected-row\": _ctx.selectedRow,\n \"hide-download-all\": true,\n onVisibleChange: _ctx.handlePopupVisibleChange\n }, null, 8, [\"selected-row\", \"onVisibleChange\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport BoostBrandCard from '@/common/BoostBrandCard.vue';\nimport { ContextMenuItem } from '@/common/controls/BoostContextMenu.vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport {\n FirebaseRequest,\n FirebaseRequestTypes,\n APIResponseStatus\n} from '@/firebaseRequest';\nimport { mapMutations } from 'vuex';\nimport {\n AffiliateBrand,\n AffiliateBrandTag\n} from '../../models/affiliateBrands';\nimport DownloadTagsPopupComponent, {\n DownloadTagItem\n} from '@/common/DownloadTagsPopupComponent.vue';\nimport Helpers from '@/helpers';\n\nexport default defineComponent({\n components: { BoostBrandCard, DownloadTagsPopupComponent },\n data() {\n return {\n showDownloadTags: false,\n selectedRow: {} as DownloadTagItem,\n brand: {} as AffiliateBrand,\n selectedTab: 'Active',\n allTags: [] as AffiliateBrandTag[],\n menuItems: [\n {\n label: 'Download',\n onClick: (tag) => {\n this.download(tag);\n }\n },\n {\n label: 'Remove Product',\n onClick: (tag) => {\n this.remove(tag);\n },\n isDangerous: () => {\n return true;\n }\n }\n ] as ContextMenuItem[]\n };\n },\n computed: {\n brandTags(): AffiliateBrandTag[] {\n return this.allTags.filter((x) => x.status === this.selectedTab);\n }\n },\n async mounted() {\n //Call API to get tags for the affiliate/brand\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_BRAND,\n { accountAffiliateId: this.$route.params.accountAffiliateId as string }\n );\n if (result.status === APIResponseStatus.OK) {\n const brand = result.data as AffiliateBrand;\n this.brand = brand;\n this.allTags = brand.tags;\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n formatCurrency(value: number | string) {\n return Helpers.currencyFormatter(value);\n },\n goBack() {\n this.$router.push({\n name: 'buyer-tags'\n });\n },\n changeTab(tab: string) {\n this.selectedTab = tab;\n },\n download(tag: AffiliateBrandTag) {\n console.log('download', tag);\n this.selectedRow = {\n title: tag.productName,\n productId: tag.productId,\n accountId: this.brand.accountId,\n hashtag: tag.affiliateTag,\n productSource: '',\n imageUrl: tag.imageUrl,\n accountAffiliateId: this.brand.accountAffiliateId\n };\n this.showDownloadTags = true;\n },\n handlePopupVisibleChange(show: boolean) {\n this.showDownloadTags = show;\n },\n async remove(tag: AffiliateBrandTag) {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REMOVE_AFFILIATE_BRAND_TAG,\n {\n accountAffiliateId: this.$route.params.accountAffiliateId as string,\n productId: tag.productId\n }\n );\n if (result.status === APIResponseStatus.OK) {\n this.setBannerStatus({\n text: BannerMessageStrings.CHANGES_UPDATED,\n type: BannerType.success\n });\n const index = this.brandTags.indexOf(tag);\n this.brandTags.splice(index, 1);\n } else {\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n this.setLoading(false);\n },\n findProducts() {\n window.open(this.brand.storeLink, '_blank');\n }\n }\n});\n","import { render } from \"./BuyerBrandTags.vue?vue&type=template&id=aa383f98&ts=true\"\nimport script from \"./BuyerBrandTags.vue?vue&type=script&lang=ts\"\nexport * from \"./BuyerBrandTags.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import BuyerBase from '@/buyer/BuyerBase.vue';\nimport BuyerRegistrationComponent from '@/buyer/registration/BuyerRegistration.vue';\nimport BuyerProductOrders from '@/buyer/BuyerProductOrders.vue';\nimport BuyerSettings from '@/buyer/settings/BuyerSettings.vue';\nimport BuyerCheckout from '@/buyer/checkout/BuyerCheckout.vue';\nimport BuyerUpdateNumberComponent from '@/buyer/settings/BuyerUpdateNumberComponent.vue';\nimport BuyerCardInformationComponent from '@/buyer/settings/BuyerCardInformationComponent.vue';\nimport BuyerShippingAddressComponent from '@/buyer/settings/BuyerShippingAddressComponent.vue';\nimport InstantCheckout from '@/buyer/checkout/InstantCheckout.vue';\nimport ProductCheckout from '@/buyer/checkout/ProductCheckout.vue';\nimport BuyerOrderDetail from '@/buyer/BuyerOrderDetail.vue';\nimport AffiliateSignup from '@/buyer/affiliate/AffiliateSignup.vue';\nimport BuyerDashboard from '@/buyer/BuyerDashboard.vue';\nimport BuyerTags from '@/buyer/BuyerTags.vue';\nimport BuyerInsights from '@/buyer/BuyerInsights.vue';\nimport BuyerEarnings from '@/buyer/BuyerEarnings.vue';\nimport BuyerBrandTags from '@/buyer/BuyerBrandTags.vue';\nimport { RouteLocation, RouteRecordRaw } from 'vue-router';\n\nexport default [\n {\n path: '/user',\n redirect: '/user/purchases',\n component: BuyerBase,\n meta: { requiresBuyerAuth: true },\n children: [\n {\n path: 'dashboard',\n name: 'buyer-dashboard',\n component: BuyerDashboard,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'tags',\n name: 'buyer-tags',\n component: BuyerTags,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'tags/:accountAffiliateId',\n name: 'buyer-brand-tags',\n component: BuyerBrandTags,\n meta: {\n showHelp: false,\n layout: 'OpenDetailLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'insights',\n name: 'buyer-insights',\n component: BuyerInsights,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'withdraw',\n name: 'buyer-earnings',\n component: BuyerEarnings,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'purchases',\n name: 'buyer-product-orders',\n component: BuyerProductOrders,\n meta: {\n showHelp: true,\n layout: 'OpenLayout',\n showBackToTop: false,\n showSubHeader: true\n }\n },\n {\n path: 'purchases/:accountId/:transactionId',\n name: 'buyer-product-order',\n component: BuyerOrderDetail,\n meta: {\n layout: 'OpenDetailLayout',\n showBackToTop: false,\n showHelp: true\n }\n },\n {\n path: 'settings',\n name: 'buyer-settings',\n component: BuyerSettings,\n meta: {\n layout: 'OpenDetailLayout',\n showBackToTop: false,\n showHelp: false,\n showSubHeader: true\n }\n },\n {\n path: 'numberchange',\n name: 'buyer-number-change',\n component: BuyerUpdateNumberComponent,\n meta: {\n layout: 'OpenDetailLayout',\n showHelp: true\n }\n },\n {\n path: 'buyer-card',\n name: 'buyer-card-change',\n component: BuyerCardInformationComponent,\n props: true,\n meta: {\n layout: 'OpenDetailLayout'\n }\n },\n {\n path: 'buyer-shipping/:addressId?',\n name: 'buyer-shipping-address-change',\n component: BuyerShippingAddressComponent,\n props: true,\n meta: {\n layout: 'OpenDetailLayout'\n }\n }\n ]\n },\n {\n path: '/user/signup',\n name: 'buyer-registration',\n component: BuyerRegistrationComponent,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/user/checkout/:isExpressOrShopify/:checkoutId',\n name: 'buyer-checkout',\n component: BuyerCheckout,\n meta: {\n layout: 'CheckoutLayout',\n showBackToTop: false\n }\n },\n {\n path: '/try/:tag/:attributionId?',\n name: 'instant-checkout-try',\n component: InstantCheckout,\n meta: {\n layout: 'CheckoutLayout',\n showBackToTop: false\n }\n },\n {\n path: '/buy-test/:tag/:attributionId?',\n name: 'product-checkout',\n component: ProductCheckout,\n meta: {\n layout: 'CheckoutLayout',\n showBackToTop: false\n }\n },\n {\n path: '/buy/:tag/:attributionId?',\n name: 'instant-checkout',\n component: InstantCheckout,\n meta: {\n layout: 'CheckoutLayout',\n showBackToTop: false\n }\n },\n {\n path: '/registration/affiliate/:slug',\n name: 'affiliate-signup',\n redirect: (to: RouteLocation) => {\n return { name: 'advocate-signup', params: { slug: to.params.slug } };\n }\n },\n {\n path: '/registration/advocate/:slug',\n name: 'advocate-signup',\n component: AffiliateSignup,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false\n }\n },\n {\n path: '/network',\n name: 'network-signup',\n component: AffiliateSignup,\n meta: {\n layout: 'SingleLayout',\n showBackToTop: false\n }\n }\n] as RouteRecordRaw[];\n","import { resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19065e32\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex--wrap margin-top-10\" }\nconst _hoisted_2 = { class: \"flex justify--between t-12 no-pad grid-row--large\" }\nconst _hoisted_3 = { class: \"t-12 d-6 justify--between center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_LoginBuyer = _resolveComponent(\"LoginBuyer\")!\n const _component_LoginSeller = _resolveComponent(\"LoginSeller\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#subheader\" }, [\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"User\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.loginType === _ctx.userType.BUYER\n }),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.setUserType(_ctx.userType.BUYER)))\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Brand\",\n \"button-style\": \"pill\",\n class: _normalizeClass({\n 'pill pill-white': true,\n 'pill-blue': _ctx.loginType === _ctx.userType.SELLER\n }),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setUserType(_ctx.userType.SELLER)))\n }, null, 8, [\"class\"])\n ])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.loginType === _ctx.userType.BUYER)\n ? (_openBlock(), _createBlock(_component_LoginBuyer, { key: 0 }))\n : (_openBlock(), _createBlock(_component_LoginSeller, { key: 1 }))\n ])\n ])\n ])\n ], 64))\n}","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, withModifiers as _withModifiers } from \"vue\"\nimport _imports_0 from '../assets/flag-usa.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"margin-top-5 margin-bottom-8\" }, \"Sign In\", -1)\nconst _hoisted_2 = { class: \"flex items-baseline gap-2\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_5 = {\n key: 5,\n class: \"margin-top-10\"\n}\nconst _hoisted_6 = {\n key: 6,\n class: \"margin-top-10\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"p\", _hoisted_2, [\n _createTextVNode(\" New to Tags? \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Create your account\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.push('/user/signup')))\n })\n ]),\n _createVNode(_component_ValidationObserver, { as: \"div\" }, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.onSubmit)), [\"prevent\"])\n }, [\n (_ctx.currentLoginType === _ctx.loginType.MOBILE)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: \"mobileNumberInput\",\n modelValue: _ctx.mobileNumber,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.mobileNumber) = $event)),\n label: \"Mobile Number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n class: \"margin-bottom-5\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentLoginType === _ctx.loginType.EMAIL)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: \"emailInput\",\n modelValue: _ctx.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.email) = $event)),\n label: \"Email Address\",\n placeholder: \"Email Address\",\n rules: \"required\",\n class: \"margin-bottom-5\",\n \"input-id\": \"emailInput\",\n attributes: \"no-required-indicator\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostInput, {\n key: 2,\n modelValue: _ctx.confirmationCode,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n label: \"Confirmation Code\",\n placeholder: \"Confirmation Code\",\n rules: \"required\",\n class: \"margin-bottom-5\",\n \"input-id\": \"confirmationCode\",\n attributes: \"no-required-indicator\"\n }, {\n link: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Resend Code\",\n onClick: _ctx.requestConfirmationCode\n }, null, 8, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 3,\n label: \"Get Code\",\n disabled: !meta.valid,\n \"loading-label\": \"Loading\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.getCodeState,\n type: \"submit\",\n class: \"w-100\"\n }, null, 8, [\"disabled\", \"loading-state\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.hasSentConfirmationCode)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 4,\n label: \"Login\",\n \"loading-label\": \"Loading\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.loginState,\n type: \"submit\",\n class: \"w-100\"\n }, null, 8, [\"disabled\", \"loading-state\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentLoginType === _ctx.loginType.MOBILE)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.setLoginType(_ctx.loginType.EMAIL)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log in with your email address \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentLoginType === _ctx.loginType.EMAIL)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.setLoginType(_ctx.loginType.MOBILE)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log in with your mobile number \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_3)\n ]),\n _: 1\n })\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n APIResponseCode,\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport Helpers from '@/helpers';\nimport { store } from '@/store';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { getAuth, signInWithCustomToken } from 'firebase/auth';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\n\nexport default defineComponent({\n name: 'LoginBuyer',\n data() {\n return {\n loginType: {\n MOBILE: 1,\n EMAIL: 2\n },\n loginContext: {\n LOGIN_EMAIL: 'LOGIN_EMAIL',\n LOGIN_MOBILE_NUMBER: 'LOGIN_MOBILE_NUMBER'\n },\n currentLoginType: 1,\n mobileNumber: '',\n email: '',\n confirmationCode: '',\n hasSentConfirmationCode: false,\n getCodeState: ButtonLoadingState.initial,\n loginState: ButtonLoadingState.initial\n };\n },\n mounted() {\n const mobileNumber = this.$route.query['mobileNumber'];\n\n if (mobileNumber) {\n this.mobileNumber = mobileNumber.toString() || '';\n }\n },\n methods: {\n onSubmit() {\n if (this.hasSentConfirmationCode) {\n this.loginUser();\n } else {\n this.requestConfirmationCode();\n }\n },\n setLoginType(type: number) {\n this.currentLoginType = type;\n },\n async loginUser() {\n try {\n this.loginState = ButtonLoadingState.loading;\n let payload = {};\n\n if (this.currentLoginType === this.loginType.MOBILE) {\n payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n code: this.confirmationCode,\n context: this.loginContext.LOGIN_MOBILE_NUMBER\n };\n } else {\n payload = {\n email: this.email,\n code: this.confirmationCode,\n context: this.loginContext.LOGIN_EMAIL\n };\n }\n\n const confirmationCodeResponse = await FirebaseRequest.createRequest<{\n token: string;\n }>(FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE, payload);\n\n const auth = getAuth();\n const response = await signInWithCustomToken(\n auth,\n confirmationCodeResponse.data?.token || ''\n );\n if (!(response && response.user && response.user.uid)) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_PHONE_NUMBER_LOGIN_ERROR,\n type: BannerType.error\n });\n }\n\n store.commit('auth/setCurrentUser', auth.currentUser);\n\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (\n buyerResponse.status === APIResponseStatus.OK &&\n buyerResponse.data\n ) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n }\n\n await this.$router.push({ name: 'base-index' });\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.loginState = ButtonLoadingState.complete;\n }\n },\n async requestConfirmationCode() {\n try {\n let payload = {};\n this.getCodeState = ButtonLoadingState.loading;\n\n if (this.currentLoginType === this.loginType.MOBILE) {\n payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n context: this.loginContext.LOGIN_MOBILE_NUMBER\n };\n } else {\n payload = {\n email: this.email,\n context: this.loginContext.LOGIN_EMAIL\n };\n }\n\n const confirmationCodeResponse =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n );\n\n if (confirmationCodeResponse) {\n if (\n confirmationCodeResponse.code ===\n APIResponseCode.INVALID_PHONE_NUMBER\n ) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_LOGIN_INVALID_PHONE_NUMBER,\n type: BannerType.error\n });\n this.getCodeState = ButtonLoadingState.complete;\n return;\n }\n\n this.getCodeState = ButtonLoadingState.complete;\n this.hasSentConfirmationCode = true;\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_SENDING_CONFIRMATION_CODE,\n type: BannerType.success\n });\n }\n } catch (ex) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.hasSentConfirmationCode = false;\n }\n }\n }\n});\n","import { render } from \"./LoginBuyer.vue?vue&type=template&id=5fabd8bc&ts=true\"\nimport script from \"./LoginBuyer.vue?vue&type=script&lang=ts\"\nexport * from \"./LoginBuyer.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"margin-top-5 margin-bottom-8\" }, \"Sign In\", -1)\nconst _hoisted_2 = { class: \"flex items-baseline gap-2\" }\nconst _hoisted_3 = [\"onSubmit\"]\nconst _hoisted_4 = { class: \"grid-row\" }\nconst _hoisted_5 = { class: \"grid-row\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"p\", _hoisted_2, [\n _createTextVNode(\" New to Tags? \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Create your account\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.push('/store/signup')))\n })\n ]),\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.loginSeller)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.email) = $event)),\n label: \"Email Address\",\n placeholder: \"Email Address\",\n rules: \"required|email\",\n attributes: \"no-required-indicator\",\n \"input-id\": \"seller-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.password,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.password) = $event)),\n label: \"Password\",\n placeholder: \"Password\",\n rules: \"required\",\n type: \"password\",\n attributes: \"no-required-indicator\",\n \"input-id\": \"seller-password\"\n }, {\n link: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"Forgot your password?\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$router.push('/forgotpassword')))\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_BoostButton, {\n label: \"Login\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n \"loading-state\": _ctx.loginButtonState,\n \"loading-label\": \"Loading\",\n type: \"submit\",\n class: \"w-100 btn-form\"\n }, null, 8, [\"disabled\", \"loading-state\"])\n ])\n ])\n ], 40, _hoisted_3)\n ]),\n _: 1\n })\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport { mapGetters, mapMutations } from 'vuex';\nimport { store } from '@/store';\nimport { FeatureType } from '@/../enums/featureTypes';\nimport { AccountObject } from '@/models/accountObject';\n\nexport default defineComponent({\n name: 'LoginSeller',\n data() {\n return {\n email: '',\n password: '',\n loginButtonState: ButtonLoadingState.initial\n };\n },\n computed: {\n ...mapGetters('auth', ['isSuperAdmin', 'isImpersonating']),\n showAccounts(): boolean {\n if (this.isSuperAdmin) {\n return !this.isImpersonating;\n } else {\n return false;\n }\n }\n },\n methods: {\n ...mapMutations({\n setSelectedFeatureType: 'accounts/setSelectedFeatureType'\n }),\n async loginSeller() {\n this.loginButtonState = ButtonLoadingState.loading;\n this.$store\n .dispatch('auth/signIn', {\n email: this.email,\n password: this.password\n })\n .then(async (success: boolean) => {\n if (success) {\n await this.$store.dispatch('accounts/loadAccounts');\n\n if (this.showAccounts) {\n await this.$router.push({ path: '/accounts' });\n } else {\n const currentBuyer = store.getters[\n 'accounts/currentAccount'\n ] as AccountObject;\n if (currentBuyer?.isShopifyConnected) {\n this.setSelectedFeatureType(FeatureType.Shopify);\n }\n await this.$router.push({ path: '/store' });\n }\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_EMAIL_LOGIN_ERROR,\n type: BannerType.error\n });\n this.loginButtonState = ButtonLoadingState.initial;\n }\n });\n }\n }\n});\n","import { render } from \"./LoginSeller.vue?vue&type=template&id=4028d750&ts=true\"\nimport script from \"./LoginSeller.vue?vue&type=script&lang=ts\"\nexport * from \"./LoginSeller.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { store } from '@/store';\nimport LoginBuyer from './LoginBuyer.vue';\nimport LoginSeller from './LoginSeller.vue';\nimport { UserRegistration } from '@/store/types';\n\nexport default defineComponent({\n name: 'SharedLogin',\n components: {\n LoginBuyer,\n LoginSeller\n },\n data() {\n return {\n userType: {\n BUYER: UserRegistration.BUYER,\n SELLER: UserRegistration.SELLER\n },\n buyerConfirmationCodeInputInProcess: false,\n buyerRegistrationInProcess: false,\n sellerRegistrationInProcess: false,\n buyerInfo: {},\n hashtagPrefix: ''\n };\n },\n computed: {\n isSellerLoggedIn(): boolean {\n return this.$store.state.auth.isSellerLoggedIn;\n },\n loginType(): number {\n return this.$store.state.auth.loginOrRegistrationType;\n }\n },\n mounted() {\n const userType = this.$route.query['type'] || this.userType.SELLER;\n this.setUserType(+userType);\n },\n methods: {\n setUserType(userType: UserRegistration) {\n store.commit('auth/setLoginOrRegistrationType', userType);\n }\n }\n});\n","import { render } from \"./Login.vue?vue&type=template&id=19065e32&scoped=true&ts=true\"\nimport script from \"./Login.vue?vue&type=script&lang=ts\"\nexport * from \"./Login.vue?vue&type=script&lang=ts\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=19065e32&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-19065e32\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex--wrap\" }\nconst _hoisted_2 = { class: \"d-6 t-12 grid-row--medium\" }\nconst _hoisted_3 = { class: \"flex justify--between t-12 flex--wrap no-pad grid-row--large\" }\nconst _hoisted_4 = { class: \"t-12 d-6 dm-5\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Forgotten your password?\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter the email address associated with your account and we'll send an email with instructions to reset your password. \")\n], -1)\nconst _hoisted_6 = [\"onSubmit\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_BoostButton, {\n \"button-style\": \"optional\",\n label: \"Go Back\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.push('/login')))\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.sendEmail)), [\"prevent\"])\n }, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.email) = $event)),\n \"input-id\": \"emailAddress\",\n label: \"Email Address\",\n placeholder: \"Email Address\",\n attributes: \"no-required-indicator\",\n rules: \"required\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_BoostButton, {\n label: \"Send Instructions\",\n \"loading-label\": \"Sending...\",\n \"complete-label\": \"Sent\",\n \"loading-state\": _ctx.sendInstructionsButtonState,\n class: _normalizeClass(meta.valid ? 'btn-active' : 'btn-inactive'),\n disabled: !meta.valid,\n type: \"submit\"\n }, null, 8, [\"loading-state\", \"class\", \"disabled\"])\n ], 40, _hoisted_6)\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n name: 'ForgotPassword',\n data() {\n return {\n email: '',\n sendInstructionsButtonState: ButtonLoadingState.initial\n };\n },\n mounted() {\n if (this.$route.query.email) {\n this.email = this.$route.query.email as string;\n }\n },\n methods: {\n async sendEmail() {\n this.sendInstructionsButtonState = ButtonLoadingState.loading;\n const success = await this.$store.dispatch('auth/forgotPassword', {\n email: this.email\n });\n\n // TODO: I don't think we should be displaying an error message\n // if the email address is not associated with an account. This lets\n // potential hackers know who does and does not have an account.\n // It's best to display a message like \"If you have an email address\n // with us, we'll send you your instructions\" or something along\n // those lines.\n if (success) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_PASSWORD_EMAIL_SENT,\n type: BannerType.info\n });\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n\n this.sendInstructionsButtonState = ButtonLoadingState.complete;\n }\n }\n});\n","import { render } from \"./ForgotPassword.vue?vue&type=template&id=605caf59&ts=true\"\nimport script from \"./ForgotPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ForgotPassword.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { store } from '@/store';\nimport { defineComponent } from 'vue';\n\nenum Messages {\n Pending = 'Validating your email...',\n Success = \"You've verified your email address thank you. Click down below to log in your account.\",\n Failure = 'Unable to verify your email address. Please try again.'\n}\n\nexport default defineComponent({\n name: 'EmailVerified',\n data() {\n return {\n message: Messages.Pending,\n loadingState: ButtonLoadingState.loading\n };\n },\n async mounted() {\n const userId = this.$route.query.userId as string;\n const code = this.$route.query.emailVerificationCode as string;\n\n await this.handleVerifyEmail(code, userId);\n },\n methods: {\n async handleVerifyEmail(code: string, userId: string) {\n let success = false;\n if (code && userId) {\n const responseData = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.VERIFY_BUYER_EMAIL,\n { emailVerificationCode: code, userId }\n );\n success = responseData.status === APIResponseStatus.OK;\n }\n this.loadingState = ButtonLoadingState.complete;\n this.message = success ? Messages.Success : Messages.Failure;\n },\n async returnToLogin() {\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (buyerResponse.status === APIResponseStatus.OK && buyerResponse.data) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n }\n this.$router.push({\n path: '/login'\n });\n }\n }\n});\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content content-container align--center\" }\nconst _hoisted_2 = { class: \"flex flex--wrap padding-left-10 padding-right-10\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h3\", { class: \"margin-bottom-5\" }, \"Email Verified\", -1)\nconst _hoisted_4 = { class: \"t-12 grid-row no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.message), 1),\n _createVNode(_component_BoostButton, {\n label: \"Back to Login\",\n type: \"button\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.loadingState,\n onClick: _ctx.returnToLogin\n }, null, 8, [\"loading-state\", \"onClick\"])\n ])\n ]))\n}","import { render } from \"./EmailVerified.vue?vue&type=template&id=5e12dd93&ts=true\"\nimport script from \"./EmailVerified.vue?vue&type=script&lang=ts\"\nexport * from \"./EmailVerified.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\"))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'UserActions',\n async mounted() {\n const actionCode = this.$route.query.oobCode;\n switch (this.$route.query.mode) {\n case 'resetPassword':\n this.$router.push({\n path: '/store/resetPassword',\n query: { actionCode }\n });\n break;\n default:\n this.$router.push({ path: '/' });\n }\n }\n});\n","import { render } from \"./UserActions.vue?vue&type=template&id=965dd274&ts=true\"\nimport script from \"./UserActions.vue?vue&type=script&lang=ts\"\nexport * from \"./UserActions.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex-col flex-nowrap gap-10\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"mx-auto py-20 text-center font-light w-full\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-left sm:text-center text-[32px] leading-[45px] mb-12\" }, [\n /*#__PURE__*/_createTextVNode(\" Get paid for sharing the \"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createTextVNode(\" products you love. \")\n], -1)\nconst _hoisted_4 = { class: \"justify-start items-center gap-2 flex\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-gray-600 text-base leading-6\" }, \" Search products... \", -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[18px] h-[18px] relative opacity-0\" }, null, -1)\nconst _hoisted_7 = {\n key: 3,\n class: \"w-full my-0 -mx-5 px-5\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_MarketplaceSearchComponent = _resolveComponent(\"MarketplaceSearchComponent\")!\n const _component_SearchIcon = _resolveComponent(\"SearchIcon\")!\n const _component_BoostLoader = _resolveComponent(\"BoostLoader\")!\n const _component_SearchResults = _resolveComponent(\"SearchResults\")!\n const _component_FeaturedProducts = _resolveComponent(\"FeaturedProducts\")!\n const _component_MarketplaceDrawerComponent = _resolveComponent(\"MarketplaceDrawerComponent\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_MarketplaceSearchComponent),\n (_ctx.searchResults === undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", {\n class: \"w-full max-w-[700px] h-12 p-4 bg-white rounded-lg shadow-overlay justify-between items-center inline-flex cursor-pointer\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.setIsSearchOpen(true)))\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_SearchIcon, { class: \"w-5 h-5 relative\" }),\n _hoisted_5\n ]),\n _hoisted_6\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isSearching)\n ? (_openBlock(), _createBlock(_component_BoostLoader, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_ctx.searchResults !== undefined)\n ? (_openBlock(), _createBlock(_component_SearchResults, {\n key: 2,\n products: _ctx.searchResults.products,\n \"search-term\": _ctx.searchResults.query\n }, null, 8, [\"products\", \"search-term\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.searchResults !== undefined)\n ? (_openBlock(), _createElementBlock(\"hr\", _hoisted_7))\n : _createCommentVNode(\"\", true),\n (_ctx.featuredProducts)\n ? (_openBlock(), _createBlock(_component_FeaturedProducts, {\n key: 4,\n products: _ctx.featuredProducts\n }, null, 8, [\"products\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_MarketplaceDrawerComponent)\n ]))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"flex-col justify-start gap-3 pb-4 text-gray-900\"\n}\nconst _hoisted_2 = { class: \"py-20 text-left text-2xl font-light min-[600px]:text-5xl min-[600px]:leading-tight\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-gray-600\" }, \"Search results for\", -1)\nconst _hoisted_4 = { class: \"py-5 text-sm font-normal\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProductsGallery = _resolveComponent(\"ProductsGallery\")!\n\n return (_ctx.products)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.searchTerm), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, \" Products (\" + _toDisplayString(_ctx.validProducts.length) + \") \", 1),\n _createVNode(_component_ProductsGallery, { products: _ctx.validProducts }, null, 8, [\"products\"])\n ]))\n : _createCommentVNode(\"\", true)\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"grid-cols-[repeat(1,minmax(50px,1fr)] grid auto-rows-min grid-rows-[repeat(1,min-content)] justify-center gap-3 p-0 min-[600px]:max-[767px]:grid-cols-[repeat(2,minmax(50px,1fr))] min-[768px]:max-[999px]:grid-cols-[repeat(3,minmax(50px,1fr))] min-[1000px]:max-[1259px]:grid-cols-[repeat(4,minmax(50px,1fr))] min-[1260px]:grid-cols-[repeat(5,minmax(50px,1fr))] min-[1680px]:grid-cols-[repeat(6,minmax(50px,1fr))]\"\n}\nconst _hoisted_2 = { class: \"aspect-h-1 aspect-w-1 aspect-square w-full overflow-hidden relative mb-5\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"flex items-center justify-center overflow-hidden rounded-full h-6 w-6 absolute left-5 top-5 border border-gray-200 shadow-sm\"\n}\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = { class: \"text-gray-600\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_ctx.products)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.products, (product) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: product.id,\n class: \"flex flex-col flex-nowrap items-start content-start self-start gap-0 h-100 justify-center justify-self-start w-100 pb-8 relative\"\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.showBrandLogo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.brandsIdMap[product.accountId] ?? '/img/default-image.png',\n alt: \"\",\n class: \"object-cover rounded-full aspect-square\"\n }, null, 8, _hoisted_4)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"img\", {\n class: \"object-cover object-center w-full h-full rounded-lg overflow-hidden\",\n src: product.imageUrl,\n alt: product.title\n }, null, 8, _hoisted_5),\n _createVNode(_component_BoostButton, {\n class: \"absolute bottom-4 right-4\",\n \"button-style\": \"optional\",\n label: \"Sell\",\n onClick: ($event: any) => (_ctx.selectProduct(product))\n }, null, 8, [\"onClick\"])\n ]),\n _createElementVNode(\"div\", null, _toDisplayString(product.title), 1),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.formatPrice(product.price)), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport helpers from '@/helpers';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\nimport { PropType, defineComponent } from 'vue';\nimport { mapMutations, mapGetters, useStore } from 'vuex';\n\nexport default defineComponent({\n name: 'ProductsGallery',\n props: {\n products: {\n type: undefined as unknown as PropType,\n required: false,\n default: undefined\n },\n showBrandLogo: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n setup() {\n const store = useStore();\n\n function formatPrice(price: string): string {\n return helpers.currencyFormatter(price);\n }\n\n const allBrands = store.getters[\n 'marketplace/getAllBrands'\n ] as AffiliateBrand[];\n const brandsIdMap: { [key: string]: string } = allBrands.reduce(\n (prev, curr) => {\n prev = { ...prev, [curr.accountId]: curr.imageUrl };\n return prev;\n },\n {}\n );\n\n return {\n brandsIdMap,\n formatPrice\n };\n },\n computed: {\n ...mapGetters('marketplace', {\n allBrands: 'getAllBrands'\n })\n },\n methods: {\n ...mapMutations('marketplace', {\n selectProduct: 'setSelectedProductToSell'\n })\n }\n});\n","import { render } from \"./ProductsGrid.vue?vue&type=template&id=89713a3a&ts=true\"\nimport script from \"./ProductsGrid.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsGrid.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\nimport { PropType, Ref, defineComponent, ref, watch } from 'vue';\nimport ProductsGallery from './ProductsGrid.vue';\n\nexport default defineComponent({\n name: 'SearchResultsComponent',\n components: {\n ProductsGallery\n },\n props: {\n products: {\n type: undefined as unknown as PropType,\n required: false,\n default: undefined\n },\n searchTerm: {\n type: String,\n required: false\n }\n },\n setup(props) {\n const validProducts: Ref = ref([]);\n\n watch(\n () => props.products,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n (newProducts, _) => {\n validProducts.value = [];\n newProducts?.forEach((product) => {\n const imageObject = new Image();\n imageObject.src = product.imageUrl;\n\n imageObject.onload = () => {\n validProducts.value.push(product);\n };\n });\n },\n { immediate: true }\n );\n\n return {\n validProducts\n };\n }\n});\n","import { render } from \"./MarketplaceSearchResultsComponent.vue?vue&type=template&id=19078a08&ts=true\"\nimport script from \"./MarketplaceSearchResultsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceSearchResultsComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex-col justify-start gap-3 pb-4 text-gray-900\" }\nconst _hoisted_2 = { class: \"py-5 text-sm font-normal\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProductsGallery = _resolveComponent(\"ProductsGallery\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, \"Featured (\" + _toDisplayString(_ctx.products.length) + \")\", 1),\n _createVNode(_component_ProductsGallery, {\n products: _ctx.products,\n \"show-brand-logo\": false\n }, null, 8, [\"products\"])\n ]))\n}","\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\nimport { PropType, defineComponent } from 'vue';\nimport ProductsGallery from './ProductsGrid.vue';\n\nexport default defineComponent({\n name: 'FeaturedProductsComponent',\n components: {\n ProductsGallery\n },\n props: {\n products: {\n type: undefined as unknown as PropType,\n required: true\n }\n }\n});\n","import { render } from \"./MarketplaceFeaturedProductsComponent.vue?vue&type=template&id=6cfcbeb1&ts=true\"\nimport script from \"./MarketplaceFeaturedProductsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceFeaturedProductsComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 z-[110] bg-gray-500 bg-opacity-25 transition-opacity backdrop-blur-sm\" }, null, -1)\nconst _hoisted_2 = { class: \"fixed inset-0 z-[120] w-screen overflow-y-auto px-5 py-[73px]\" }\nconst _hoisted_3 = { class: \"relative\" }\nconst _hoisted_4 = {\n key: 1,\n role: \"status\",\n class: \"flex items-center justify-center p-4\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"svg\", {\n \"aria-hidden\": \"true\",\n class: \"w-8 h-8 text-gray-200 animate-spin fill-blue-600\",\n viewBox: \"0 0 100 101\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\",\n fill: \"currentColor\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\",\n fill: \"currentFill\"\n })\n], -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Loading...\", -1)\nconst _hoisted_7 = [\n _hoisted_5,\n _hoisted_6\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_TransitionChild = _resolveComponent(\"TransitionChild\")!\n const _component_SearchIcon = _resolveComponent(\"SearchIcon\")!\n const _component_ComboboxInput = _resolveComponent(\"ComboboxInput\")!\n const _component_ComboboxOption = _resolveComponent(\"ComboboxOption\")!\n const _component_ComboboxOptions = _resolveComponent(\"ComboboxOptions\")!\n const _component_Combobox = _resolveComponent(\"Combobox\")!\n const _component_DialogPanel = _resolveComponent(\"DialogPanel\")!\n const _component_HeadlessDialog = _resolveComponent(\"HeadlessDialog\")!\n const _component_TransitionRoot = _resolveComponent(\"TransitionRoot\")!\n\n return (_openBlock(), _createBlock(_component_TransitionRoot, {\n show: _ctx.isSearchOpen,\n as: \"template\",\n appear: \"\",\n onAfterLeave: _cache[2] || (_cache[2] = ($event: any) => (_ctx.query = ''))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HeadlessDialog, {\n as: \"div\",\n class: \"relative z-[120]\",\n onClose: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setIsSearchOpen(false)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 scale-95\",\n \"enter-to\": \"opacity-100 scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 scale-100\",\n \"leave-to\": \"opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_DialogPanel, { class: \"mx-auto max-w-xl text-base transform divide-y divide-gray-100 overflow-hidden rounded-xl bg-white shadow-2xl ring-1 ring-black ring-opacity-5 transition-all\" }, {\n default: _withCtx(() => [\n _createVNode(_component_Combobox, { \"onUpdate:modelValue\": _ctx.onSelect }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_SearchIcon, {\n class: \"pointer-events-none absolute left-4 top-3.5 h-5 w-5 text-gray-900\",\n \"aria-hidden\": \"true\"\n }),\n _createVNode(_component_ComboboxInput, {\n id: \"search-input\",\n class: \"ignore-global-style h-12 w-full border-0 bg-transparent !pl-11 !pr-4 text-gray-900 placeholder:text-gray-600 focus:ring-0\",\n placeholder: \"Search...\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.query = $event.target.value))\n })\n ]),\n (_ctx.query !== '')\n ? (_openBlock(), _createBlock(_component_ComboboxOptions, {\n key: 0,\n static: \"\",\n class: \"max-h-72 scroll-py-2 overflow-y-auto py-2 text-gray-800\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ComboboxOption, {\n key: \"empty\",\n as: \"template\"\n }, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\n 'cursor-default select-none px-4 py-2',\n active && 'bg-black text-white'\n ])\n }, \" Search\" + _toDisplayString(_ctx.isSearching ? 'ing' : '') + \" \\\"\" + _toDisplayString(_ctx.query) + \"\\\" \", 3)\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.filteredPeople, (person) => {\n return (_openBlock(), _createBlock(_component_ComboboxOption, {\n key: person.id,\n value: person,\n as: \"template\"\n }, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\n 'cursor-default select-none px-4 py-2',\n active && 'bg-indigo-600/70 text-white'\n ])\n }, _toDisplayString(person.name), 3)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.isSearching)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"onUpdate:modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n color: \"currentColor\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M16.0418 16.0417L12.9168 12.9167M3.9585 9.16666C3.9585 6.29018 6.29035 3.95833 9.16683 3.95833C12.0433 3.95833 14.3752 6.29018 14.3752 9.16666C14.3752 12.0431 12.0433 14.375 9.16683 14.375C6.29035 14.375 3.9585 12.0431 3.9585 9.16666Z\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.5\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n}, null, -1)\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, _hoisted_3))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'SearchIcon'\n});\n","import { render } from \"./SearchIcon.vue?vue&type=template&id=46f6a984&ts=true\"\nimport script from \"./SearchIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./SearchIcon.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { computed, defineComponent, ref } from 'vue';\nimport { mapGetters, mapActions, mapMutations } from 'vuex';\nimport {\n Combobox,\n ComboboxInput,\n ComboboxOptions,\n ComboboxOption,\n Dialog as HeadlessDialog,\n DialogPanel,\n TransitionChild,\n TransitionRoot\n} from '@headlessui/vue';\nimport SearchIcon from '@/marketplace/components/SearchIcon.vue';\nimport { useUrlSearchParams } from '@vueuse/core';\n\nexport default defineComponent({\n components: {\n Combobox,\n ComboboxInput,\n ComboboxOptions,\n ComboboxOption,\n HeadlessDialog,\n DialogPanel,\n TransitionChild,\n TransitionRoot,\n SearchIcon\n },\n setup() {\n const params = useUrlSearchParams('history');\n\n function updateUrl(query: string) {\n if (query) {\n params.search = query;\n }\n }\n const people = [{ id: 1, name: 'Leslie Alexander', url: 'hello' }];\n\n const open = ref(false);\n const isSearching = ref(false);\n const query = ref('');\n const filteredPeople = computed(() =>\n query.value === ''\n ? []\n : people.filter((person) => {\n return person.name\n .toLowerCase()\n .includes(query.value.toLowerCase());\n })\n );\n\n return {\n open,\n query,\n isSearching,\n updateUrl,\n filteredPeople\n };\n },\n computed: {\n ...mapGetters({\n isSearchOpen: 'marketplace/isSearchOpen'\n })\n },\n methods: {\n ...mapMutations('marketplace', ['setIsSearchOpen']),\n ...mapActions('marketplace', ['performSearch']),\n async onSelect() {\n this.isSearching = true;\n this.updateUrl(this.query);\n await this.performSearch(this.query);\n this.isSearching = false;\n this.setIsSearchOpen(false);\n }\n }\n});\n","import { render } from \"./MarketplaceSearchComponent.vue?vue&type=template&id=ca4a5908&ts=true\"\nimport script from \"./MarketplaceSearchComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceSearchComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createBlock as _createBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0\" }, null, -1)\nconst _hoisted_2 = { class: \"fixed inset-0 overflow-hidden\" }\nconst _hoisted_3 = { class: \"absolute inset-0 overflow-scroll bg-gray-500 bg-opacity-25 transition-opacity backdrop-blur-md\" }\nconst _hoisted_4 = { class: \"fixed inset-y-0 right-0 flex max-w-full md:pl-10\" }\nconst _hoisted_5 = { class: \"flex h-[100dvh] flex-col overflow-x-hidden overflow-y-scroll bg-white shadow-xl\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"px-5 sm:px-10 pb-10\"\n}\nconst _hoisted_7 = { class: \"flex items-start justify-between py-10\" }\nconst _hoisted_8 = { class: \"flex items-center\" }\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = {\n key: 1,\n class: \"h-8 w-8 rounded-full bg-black\"\n}\nconst _hoisted_11 = { class: \"ml-4 text-base font-normal text-gray-900\" }\nconst _hoisted_12 = { class: \"ml-3 flex h-7 items-center\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"absolute -inset-2.5\" }, null, -1)\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close panel\", -1)\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"flex items-center justify-center h-6 w-6 text-gray-900\",\n \"aria-hidden\": \"true\"\n}, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"currentColor\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M14.375 5.625L5.625 14.375\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.625 5.625L14.375 14.375\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n ])\n], -1)\nconst _hoisted_16 = [\n _hoisted_13,\n _hoisted_14,\n _hoisted_15\n]\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"ml-[-40px] pr-[124px] my-0\" }, null, -1)\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"ml-[-40px] pr-[124px] mb-10\" }, null, -1)\nconst _hoisted_19 = {\n key: 4,\n class: \"ml-[-40px] pr-[124px] my-10\"\n}\nconst _hoisted_20 = {\n key: 5,\n class: \"text-gray-800 text-xs sm:text-xs font-normal font-[Inter] leading-tight\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProductDetailsComponent = _resolveComponent(\"ProductDetailsComponent\")!\n const _component_CheckoutReadyComponent = _resolveComponent(\"CheckoutReadyComponent\")!\n const _component_RegisterComponent = _resolveComponent(\"RegisterComponent\")!\n const _component_MarketplaceCreateCheckoutComponent = _resolveComponent(\"MarketplaceCreateCheckoutComponent\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_DialogPanel = _resolveComponent(\"DialogPanel\")!\n const _component_TransitionChild = _resolveComponent(\"TransitionChild\")!\n const _component_HeadlessDialog = _resolveComponent(\"HeadlessDialog\")!\n const _component_TransitionRoot = _resolveComponent(\"TransitionRoot\")!\n\n return (_openBlock(), _createBlock(_component_TransitionRoot, {\n as: \"template\",\n show: _ctx.openDrawer\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HeadlessDialog, {\n as: \"div\",\n class: \"relative z-[200]\",\n onClose: _ctx.closeDrawer\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"transform transition ease-in-out duration-200 sm:duration-250\",\n \"enter-from\": \"translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transform transition ease-in-out duration-200 sm:duration-250\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_DialogPanel, { class: \"pointer-events-auto w-screen max-w-[576px]\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.selectedProduct !== undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.brandDetails?.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.brandDetails?.imageUrl,\n alt: \"\",\n class: \"h-8 w-8 rounded-full\"\n }, null, 8, _hoisted_9))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_10)),\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString(_ctx.brandDetails?.brandName ?? 'Unknown Brand'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"relative rounded-md text-gray-900 hover:text-white hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-white\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.closeDrawer && _ctx.closeDrawer(...args)))\n }, _hoisted_16)\n ])\n ]),\n _hoisted_17,\n (_ctx.currentStep !== 'CHECKOUT_READY')\n ? (_openBlock(), _createBlock(_component_ProductDetailsComponent, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep === 'CHECKOUT_READY')\n ? (_openBlock(), _createBlock(_component_CheckoutReadyComponent, {\n key: 1,\n \"product-tag\": _ctx.productTag\n }, null, 8, [\"product-tag\"]))\n : _createCommentVNode(\"\", true),\n _hoisted_18,\n (!_ctx.isBuyerLoggedIn)\n ? (_openBlock(), _createBlock(_component_RegisterComponent, { key: 2 }))\n : _createCommentVNode(\"\", true),\n (\n _ctx.isBuyerLoggedIn && _ctx.currentStep === 'CREATE_CHECKOUT'\n )\n ? (_openBlock(), _createBlock(_component_MarketplaceCreateCheckoutComponent, {\n key: 3,\n onCheckoutCreated: _ctx.handleCheckoutCreated\n }, null, 8, [\"onCheckoutCreated\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep !== 'CHECKOUT_READY')\n ? (_openBlock(), _createElementBlock(\"hr\", _hoisted_19))\n : _createCommentVNode(\"\", true),\n (_ctx.currentStep !== 'CHECKOUT_READY')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createTextVNode(\" By utilizing this service you agree to the \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"terms\"\n }),\n _createTextVNode(\" and \"),\n _createVNode(_component_BoostButton, {\n \"button-style\": \"link\",\n label: \"privacy policy\"\n }),\n _createTextVNode(\" of Tags, and of \" + _toDisplayString(_ctx.brandDetails?.brandName || 'Unknown Brand') + \". By proceeding you may receive automated text alerts that may be marketing in nature from Random via Tags Commerce, Inc. \", 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"onClose\"])\n ]),\n _: 1\n }, 8, [\"show\"]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, vModelText as _vModelText, withDirectives as _withDirectives, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/flag-usa.svg'\n\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"space-y-10\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"flex flex-col gap-10\"\n}\nconst _hoisted_4 = { class: \"flex justify-between\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-zinc-900 text-base font-medium font-[Inter] leading-normal\" }, \" Register \", -1)\nconst _hoisted_6 = { class: \"flex gap-2\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"animate-ping\"\n}\nconst _hoisted_8 = { class: \"flex flex-col flex-nowrap gap-4 sm:grid sm:gap-x-6 sm:grid-cols-6\" }\nconst _hoisted_9 = { class: \"sm:col-span-3\" }\nconst _hoisted_10 = { class: \"sm:col-span-3\" }\nconst _hoisted_11 = { class: \"col-span-full\" }\nconst _hoisted_12 = { class: \"col-span-full\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"ul\", { class: \"ml-4 list-disc\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Alphapetical characters only\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Between 4 and 15 characters\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Something simple to say and type\")\n], -1)\nconst _hoisted_14 = { class: \"col-span-full\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_16 = {\n key: 0,\n class: \"col-span-full flex flex-col gap-4\"\n}\nconst _hoisted_17 = {\n key: 0,\n class: \"text-[#FF5252] text-[.95em]\"\n}\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"div\", null, \"Never received a confirmation text?\", -1)\nconst _hoisted_19 = {\n key: 1,\n class: \"flex flex-col gap-10\"\n}\nconst _hoisted_20 = { class: \"flex justify-between\" }\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-zinc-900 text-base font-medium font-[Inter] leading-normal\" }, \" Login \", -1)\nconst _hoisted_22 = { class: \"flex gap-2\" }\nconst _hoisted_23 = {\n key: 0,\n class: \"animate-ping\"\n}\nconst _hoisted_24 = { class: \"flex flex-col flex-nowrap gap-6 sm:grid sm:gap-x-6 sm:grid-cols-6\" }\nconst _hoisted_25 = { class: \"col-span-full\" }\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"inline\",\n src: _imports_0,\n alt: \"\"\n}, null, -1)\nconst _hoisted_27 = {\n key: 0,\n class: \"col-span-full flex flex-col gap-4\"\n}\nconst _hoisted_28 = {\n key: 0,\n class: \"text-[#FF5252] text-[.95em]\"\n}\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"div\", null, \"Never received a confirmation text?\", -1)\nconst _hoisted_30 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"ml-[-40px] pr-[124px] my-0\" }, null, -1)\nconst _hoisted_31 = { class: \"flex items-center justify-end gap-x-6\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createBlock(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"register-form-observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.submitForm)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.currentState === 'REGISTER')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n (_ctx.currentState === 'REGISTER' && _ctx.loginInstead)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, \" 👋 \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"a\", {\n class: \"text-zinc-900 underline font-light\",\n href: \"#\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (_ctx.currentState = 'LOGIN'), [\"prevent\"]))\n }, \"Already Registered?\")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.firstName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.firstName) = $event)),\n label: \"First name\",\n rules: \"required\",\n \"input-id\": \"first_name\",\n autocomplete: \"given-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.lastName) = $event)),\n label: \"Last name\",\n rules: \"required\",\n \"input-id\": \"last_name\",\n autocomplete: \"family-name\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.email) = $event)),\n label: \"Email address\",\n rules: \"required|email\",\n \"input-id\": \"email\",\n autocomplete: \"email\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.username,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.username) = $event)),\n label: \"Username\",\n rules: \"required|alpha|min:4|max:15\",\n \"input-id\": \"affiliate_name\",\n \"custom-error\": _ctx.usernameError\n }, null, 8, [\"modelValue\", \"custom-error\"]),\n _hoisted_13\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.mobileNumber,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.mobileNumber) = $event)),\n label: \"Mobile number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n \"input-id\": \"mobileNumberInput\",\n \"custom-error\": _ctx.mobileNumberError,\n autocomplete: \"mobile\"\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n }, 8, [\"modelValue\", \"custom-error\"])\n ]),\n (_ctx.requestedCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _withDirectives(_createElementVNode(\"input\", {\n ref: \"codeRegisterInputRef\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n type: \"text\",\n class: \"ignore-global-style h-[66px] w-full rounded-lg bg-gray-100 p-5 text-center text-2xl tracking-[.25em] leading-relaxed border-0 focus:border focus:border-black\",\n placeholder: \"0000\",\n maxlength: \"4\",\n autofocus: \"true\"\n }, null, 512), [\n [_vModelText, _ctx.confirmationCode]\n ]),\n (_ctx.invalidConfirmationCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, \" Sorry, that code is not correct. Please try again or resend code. \"))\n : _createCommentVNode(\"\", true),\n _hoisted_18,\n _createElementVNode(\"a\", {\n class: \"text-gray underline font-light\",\n href: \"#\",\n onClick: _cache[7] || (_cache[7] = _withModifiers(($event: any) => (_ctx.requestConfirmationCode(_ctx.currentState)), [\"prevent\"]))\n }, \"Resend code\")\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.currentState === 'LOGIN')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\n (_ctx.loginMobileNumberError.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, \" 👋 \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"a\", {\n class: \"text-zinc-900 underline font-light\",\n href: \"#\",\n onClick: _cache[8] || (_cache[8] = _withModifiers(($event: any) => (_ctx.currentState = 'REGISTER'), [\"prevent\"]))\n }, \"Register\")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.mobileNumber,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.mobileNumber) = $event)),\n label: \"Mobile number\",\n rules: \"required|numeric|length:10\",\n prefix: \"+1\",\n \"input-id\": \"mobileNumberInput\",\n attributes: \"no-required-indicator\",\n autocomplete: \"mobile\",\n \"custom-error\": _ctx.loginMobileNumberError\n }, {\n leftIcon: _withCtx(() => [\n _hoisted_26\n ]),\n _: 1\n }, 8, [\"modelValue\", \"custom-error\"])\n ]),\n (_ctx.requestedCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n _withDirectives(_createElementVNode(\"input\", {\n ref: \"codeInputRef\",\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.confirmationCode) = $event)),\n type: \"text\",\n class: \"ignore-global-style h-[66px] w-full rounded-lg bg-gray-100 p-5 text-center text-2xl tracking-[.25em] leading-relaxed border-0 focus:border focus:border-black\",\n placeholder: \"0000\",\n maxlength: \"4\",\n autofocus: \"true\"\n }, null, 512), [\n [_vModelText, _ctx.confirmationCode]\n ]),\n (_ctx.invalidConfirmationCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, \" Sorry, that code is not correct. Please try again or resend code. \"))\n : _createCommentVNode(\"\", true),\n _hoisted_29,\n _createElementVNode(\"a\", {\n class: \"text-gray underline font-light\",\n href: \"#\",\n onClick: _cache[11] || (_cache[11] = _withModifiers(($event: any) => (_ctx.requestConfirmationCode(_ctx.currentState)), [\"prevent\"]))\n }, \"Resend code\")\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_30,\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_BoostButton, {\n key: \"register_done\",\n label: _ctx.buttonLabel,\n \"loading-state\": _ctx.getCodeState,\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n type: \"submit\",\n class: \"w-full\"\n }, null, 8, [\"label\", \"loading-state\", \"disabled\"])\n ])\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n }))\n}","\nimport { defineComponent, ref, watch } from 'vue';\nimport { mapMutations } from 'vuex';\nimport { getAuth, signInWithCustomToken } from 'firebase/auth';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport Helpers from '@/helpers';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\n\ntype STATE = 'REGISTER' | 'LOGIN';\n\nenum ReplyCode {\n INVALID_CONTEXT = 'INVALID_CONTEXT',\n INVALID_EMAIL = 'INVALID_EMAIL',\n INVALID_PHONE_NUMBER = 'INVALID_PHONE_NUMBER',\n MISSING_CONTEXT = 'MISSING_CONTEXT',\n MISSING_PHONE_NUMBER = 'MISSING_PHONE_NUMBER',\n EMAIL_NOT_FOUND = 'EMAIL_NOT_FOUND',\n PHONE_NUMBER_ALREADY_IN_USE = 'PHONE_NUMBER_ALREADY_IN_USE',\n PHONE_NUMBER_NOT_FOUND = 'PHONE_NUMBER_NOT_FOUND',\n PREREGISTER_EXISTING_USER = 'PREREGISTER_EXISTING_USER',\n PREREGISTER_NEW_USER = 'PREREGISTER_NEW_USER',\n SELLER_DOES_EXIST = 'SELLER_DOES_EXIST',\n AFFILIATE_HAS_USERNAME = 'AFFILIATE_HAS_USERNAME',\n INVALID_CODE = 'INVALID_CODE',\n OK = 'OK'\n}\n\ninterface RequestConfirmationResponseData {\n number: string;\n isUserRegistered: boolean;\n isUserAnAffiliate: boolean;\n token?: string;\n}\n\ninterface ValidateConfirmationResponseData {\n token: string;\n userId: string;\n username?: string;\n}\n\ninterface RequestConfirmationResponse {\n code: ReplyCode;\n status: string;\n data: RequestConfirmationResponseData;\n}\n\ninterface ValidateConfirmationResponse {\n code: ReplyCode;\n status: string;\n data: ValidateConfirmationResponseData;\n}\n\ninterface RequestConfirmationPayload {\n number: string;\n context: string;\n email?: string;\n firstName?: string;\n lastName?: string;\n username?: string;\n}\n\nexport default defineComponent({\n name: 'MarketplaceRegisterComponent',\n setup() {\n const codeInputRef = ref(null);\n const codeRegisterInputRef = ref(null);\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n watch(\n [codeInputRef, codeRegisterInputRef],\n ([newLoginRef, newRegisterRef]) => {\n if (newLoginRef) {\n newLoginRef.focus();\n }\n\n if (newRegisterRef) {\n newRegisterRef.focus();\n }\n }\n );\n\n return {\n codeInputRef,\n codeRegisterInputRef\n };\n },\n data() {\n return {\n getCodeState: ButtonLoadingState.initial,\n currentState: 'REGISTER' as STATE,\n usernameError: [] as string[],\n mobileNumberError: [] as string[],\n loginMobileNumberError: [] as string[],\n loginInstead: false,\n requestedCode: false,\n invalidConfirmationCode: false,\n email: '',\n firstName: '',\n lastName: '',\n username: '',\n mobileNumber: '',\n confirmationCode: ''\n };\n },\n computed: {\n buttonLabel() {\n if (this.currentState === 'REGISTER') {\n return this.requestedCode ? 'Confirm' : 'Create My Checkout';\n }\n\n // We need some state to check if we requested the code.\n return this.requestedCode ? 'Confirm' : 'Send Code';\n }\n },\n methods: {\n ...mapMutations('auth', ['setCurrentUser', 'setCurrentBuyer']),\n async submitForm() {\n this.usernameError = [];\n this.mobileNumberError = [];\n this.loginMobileNumberError = [];\n this.loginInstead = false;\n\n if (this.currentState === 'REGISTER') {\n if (this.requestedCode) {\n await this.verifyConfirmationCode(this.currentState);\n } else {\n await this.registerUser();\n }\n }\n\n if (this.currentState === 'LOGIN') {\n if (this.requestedCode) {\n await this.verifyConfirmationCode(this.currentState);\n } else {\n await this.requestConfirmationCode(this.currentState);\n }\n }\n },\n async registerUser() {\n try {\n await this.requestConfirmationCode(this.currentState);\n } catch (ex) {\n console.error(ex);\n }\n },\n async requestConfirmationCode(state: STATE) {\n try {\n this.getCodeState = ButtonLoadingState.loading;\n const isRegistering = state === 'REGISTER';\n const payload: RequestConfirmationPayload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n context: isRegistering ? 'SIGNUP_AFFILIATE' : 'LOGIN_MOBILE_NUMBER',\n email: this.email,\n firstName: this.firstName,\n lastName: this.lastName,\n username: this.username\n };\n\n const confirmationCodeResponse = (await FirebaseRequest.createRequest(\n FirebaseRequestTypes.REQUEST_CONFIRMATION_CODE,\n payload\n )) as RequestConfirmationResponse;\n\n if (!confirmationCodeResponse) {\n console.error('confirmationCodeResponse was undefined??');\n return;\n }\n\n console.log('confirmationCodeResponse', confirmationCodeResponse);\n if (confirmationCodeResponse.status === APIResponseStatus.OK) {\n this.handleSuccessResponse(confirmationCodeResponse.code);\n } else {\n this.handleErrorResponse(\n confirmationCodeResponse.code,\n confirmationCodeResponse.data.isUserAnAffiliate\n );\n }\n } catch (ex) {\n console.log('error: ', ex);\n }\n this.getCodeState = ButtonLoadingState.complete;\n },\n handleSuccessResponse(code: ReplyCode) {\n const successCodes = [\n ReplyCode.OK,\n ReplyCode.PREREGISTER_EXISTING_USER,\n ReplyCode.PREREGISTER_NEW_USER\n ];\n if (successCodes.includes(code)) {\n // this.currentState = 'LOGIN';\n this.requestedCode = true;\n this.codeRegisterInputRef?.focus();\n }\n\n if (code === ReplyCode.AFFILIATE_HAS_USERNAME) {\n this.mobileNumberError = [\n 'You already have an account. A confirmation code was sent to your mobile number.'\n ];\n this.requestedCode = true;\n this.codeInputRef?.focus();\n }\n },\n handleErrorResponse(code: string, isUserAnAffiliate: boolean) {\n if (code === ReplyCode.SELLER_DOES_EXIST) {\n this.usernameError.push(\n `The username \"${this.username}\" is not available.`\n );\n\n if (isUserAnAffiliate) {\n this.loginInstead = true;\n this.mobileNumberError.push(\n 'You may already be a Tagger. Try logging in instead.'\n );\n }\n }\n\n if (code === ReplyCode.PHONE_NUMBER_NOT_FOUND) {\n this.loginMobileNumberError.push(\n 'This number is not registered. Please register instead.'\n );\n }\n },\n async verifyConfirmationCode(state: STATE) {\n if (!this.mobileNumber) {\n return;\n }\n // Check if phone number exists\n // 1. call existing code validation api\n // 2. if existing, call new api to register the relationship\n // 3. if new customer, proceed to next step to collect info\n this.getCodeState = ButtonLoadingState.loading;\n this.invalidConfirmationCode = false;\n\n const payload = {\n number: Helpers.prefixPhoneNumber(this.mobileNumber),\n code: this.confirmationCode,\n context:\n state === 'REGISTER' ? 'SIGNUP_AFFILIATE' : 'LOGIN_MOBILE_NUMBER',\n firstName: state === 'REGISTER' ? this.firstName : undefined,\n lastName: state === 'REGISTER' ? this.lastName : undefined,\n username: state === 'REGISTER' ? this.username : undefined,\n pendingEmail: state === 'REGISTER' ? this.email : undefined\n };\n\n const confirmationCodeResponse = (await FirebaseRequest.createRequest(\n FirebaseRequestTypes.VALIDATE_CONFIRMATION_CODE,\n payload\n )) as ValidateConfirmationResponse;\n\n if (confirmationCodeResponse.status === APIResponseStatus.OK) {\n const auth = getAuth();\n const response = await signInWithCustomToken(\n auth,\n confirmationCodeResponse.data?.token || ''\n );\n if (!(response && response.user && response.user.uid)) {\n console.log('Mobile number error?');\n }\n\n this.setCurrentUser(auth.currentUser);\n\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (\n buyerResponse.status === APIResponseStatus.OK &&\n buyerResponse.data\n ) {\n this.setCurrentBuyer(buyerResponse.data);\n }\n } else {\n if (confirmationCodeResponse.code === ReplyCode.INVALID_CODE) {\n this.invalidConfirmationCode = true;\n }\n }\n this.getCodeState = ButtonLoadingState.complete;\n }\n }\n});\n","import { render } from \"./MarketplaceRegisterComponent.vue?vue&type=template&id=5aed05ca&ts=true\"\nimport script from \"./MarketplaceRegisterComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceRegisterComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"space-y-10\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"flex flex-col gap-10\"\n}\nconst _hoisted_4 = { class: \"flex flex-col flex-nowrap\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc list-inside\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Alphapetical characters only\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Between 4 and 15 characters\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Something simple to say and type\")\n], -1)\nconst _hoisted_6 = {\n key: 1,\n class: \"ml-[-40px] pr-[124px] my-0\"\n}\nconst _hoisted_7 = { class: \"flex items-center justify-end gap-x-6\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_ValidationObserver = _resolveComponent(\"ValidationObserver\")!\n\n return (_openBlock(), _createBlock(_component_ValidationObserver, null, {\n default: _withCtx(({ handleSubmit, meta }) => [\n _createElementVNode(\"form\", {\n name: \"register-form-observer\",\n onSubmit: _withModifiers(($event: any) => (handleSubmit($event, _ctx.submitForm)), [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n (!_ctx.currentBuyer.affiliateUsername)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.username,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.username) = $event)),\n label: \"Username\",\n rules: \"required|alpha|min:4|max:15\",\n \"input-id\": \"affiliate_name\",\n \"custom-error\": _ctx.usernameError\n }, null, 8, [\"modelValue\", \"custom-error\"]),\n _hoisted_5\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.currentBuyer.affiliateUsername)\n ? (_openBlock(), _createElementBlock(\"hr\", _hoisted_6))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_BoostButton, {\n key: \"create-checkout\",\n label: \"Create My Checkout\",\n \"loading-state\": _ctx.createCheckoutButtonState,\n \"loading-label\": \"Creating Checkout Tags...\",\n \"button-style\": \"primary\",\n disabled: !meta.valid,\n type: \"submit\",\n class: \"w-full\"\n }, null, 8, [\"loading-state\", \"disabled\"])\n ])\n ])\n ], 40, _hoisted_1)\n ]),\n _: 1\n }))\n}","\nimport { defineComponent, computed } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { mapActions, mapMutations, useStore } from 'vuex';\nimport { Buyer } from '@/buyer/settings/BuyerSettingsInterfaces';\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\n\ntype STATE = 'REGISTER' | 'LOGIN';\n\nconst ReplyCodes = {\n NUMBER_NOT_FOUND: 'NUMBER_NOT_FOUND',\n USER_NOT_FOUND: 'USER_NOT_FOUND',\n USER_FOUND: 'USER_FOUND',\n INVALID_DATA: 'INVALID_DATA',\n USERNAME_IN_USE: 'USERNAME_IN_USE',\n SHARE_DISABLED: 'SHARE_DISABLED',\n SUSPENDED: 'SUSPENDED',\n PRODUCT_ID_MISSING: 'PRODUCT_ID_MISSING'\n};\n\ninterface AffiliateProductSignupResponse {\n userName: string;\n id: string;\n affiliateTag: string;\n}\n\nexport default defineComponent({\n name: 'MarketplaceCreateCheckoutComponent',\n emits: {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ['checkout-created'](payload: string) {\n return true;\n }\n },\n setup() {\n const store = useStore();\n\n // my suspicion is that currentBuyer is not deeply reactive.\n // so, when currentBuyer.affiliateUsername is updated, it doesn't\n // trigger the change notification and thus, shows the username\n // box even though we have a username.\n const currentBuyer = computed(\n () => store.getters['auth/getCurrentBuyer']\n );\n\n const selectedProduct = computed(\n () => store.getters['marketplace/getSelectedProductToSell']\n );\n\n // I would think we want store['auth/getCurrentBuyer']\n // and this would be what we use to determine how the modal/drawer looks\n\n return {\n selectedProduct,\n currentBuyer\n };\n },\n data() {\n return {\n createCheckoutButtonState: ButtonLoadingState.initial,\n currentState: 'REGISTER' as STATE,\n usernameError: [] as string[],\n loginInstead: false,\n requestedCode: false,\n invalidConfirmationCode: false,\n username: ''\n };\n },\n computed: {\n usernameRequired() {\n return !this.currentBuyer?.affiliateUsername;\n }\n },\n mounted() {\n this.refreshCurrentBuyer();\n },\n methods: {\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n ...mapActions('auth', ['updateAffiliateUsername', 'refreshCurrentBuyer']),\n ...mapActions('marketplace', ['addTaggedProduct']),\n async submitForm() {\n this.createCheckoutButtonState = ButtonLoadingState.loading;\n\n if (this.usernameRequired && !this.username) {\n this.createCheckoutButtonState = ButtonLoadingState.initial;\n console.error('You need to provide a username!');\n return;\n }\n\n this.usernameError = [];\n\n const payload = {\n accountId: this.selectedProduct.accountId,\n productId: this.selectedProduct.id,\n username: this.username ?? ''\n };\n\n try {\n const response =\n await FirebaseRequest.createRequest(\n FirebaseRequestTypes.COMPLETE_AFFILIATE_SIGNUP_FOR_PRODUCT,\n payload\n );\n if (response.status === APIResponseStatus.OK) {\n this.tagCreationComplete(\n response.data as AffiliateProductSignupResponse\n );\n\n this.createCheckoutButtonState = ButtonLoadingState.complete;\n } else {\n // TODO: show an error somewhere\n this.tagCreationFailed(response.code);\n this.createCheckoutButtonState = ButtonLoadingState.initial;\n }\n } catch (err) {\n console.error(err);\n this.setBannerStatus({\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n this.createCheckoutButtonState = ButtonLoadingState.initial;\n }\n },\n tagCreationComplete(responseData: AffiliateProductSignupResponse) {\n this.updateAffiliateUsername(responseData.userName);\n this.addTaggedProduct({\n productId: this.selectedProduct.id,\n productTag: responseData.affiliateTag\n });\n this.$emit('checkout-created', responseData.affiliateTag);\n },\n tagCreationFailed(code: string) {\n if (code === ReplyCodes.SUSPENDED) {\n // TODO: show a suspension message on this view. Don't both going\n // to another view.\n const message =\n 'Sorry, your account is suspended and you are unable to create checkout tags';\n this.setBannerStatus({\n text: message,\n type: BannerType.error\n });\n console.error(message);\n }\n\n if (code === ReplyCodes.USERNAME_IN_USE) {\n this.usernameError.push(\n `Sorry, the username \"${this.username}\" is not available.`\n );\n }\n\n console.error('tag creation failed: ', code);\n }\n }\n});\n","import { render } from \"./MarketplaceCreateCheckoutComponent.vue?vue&type=template&id=af297980&ts=true\"\nimport script from \"./MarketplaceCreateCheckoutComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceCreateCheckoutComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mt-20 mb-10 flex-col justify-start items-start gap-10 inline-flex font-light\" }\nconst _hoisted_2 = { class: \"flex-col justify-start items-start gap-6 flex\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"flex flex-nowrap flex-col h-14 justify-start items-start gap-1\" }\nconst _hoisted_5 = { class: \"text-gray-900 text-xl\" }\nconst _hoisted_6 = { class: \"text-gray-600 text-xl\" }\nconst _hoisted_7 = { class: \"flex-col justify-start items-start gap-6 flex\" }\nconst _hoisted_8 = { class: \"text-gray-800 text-sm leading-normal line-clamp-3\" }\nconst _hoisted_9 = { class: \"justify-start items-start gap-2 inline-flex\" }\nconst _hoisted_10 = { class: \"px-2.5 py-[3px] bg-orange-200 rounded-[30px] justify-center items-center gap-px flex text-xs\" }\nconst _hoisted_11 = { class: \"text-orange-800 leading-5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n class: \"w-14 h-14 rounded-lg border border-gray-100 object-cover\",\n src: _ctx.selectedProduct.imageUrl\n }, null, 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.selectedProduct.title), 1),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.formatPrice(_ctx.selectedProduct.price)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(_ctx.selectedProduct.description), 1),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString(_ctx.brandDetails?.commission ?? 0) + \"% Commission \", 1)\n ])\n ])\n ])\n ]))\n}","\nimport { defineComponent, computed, ComputedRef } from 'vue';\nimport { mapMutations, useStore } from 'vuex';\nimport helpers from '@/helpers';\n// import BuyerRegistration from '@/buyer/registration/BuyerRegistration.vue';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\n\nexport default defineComponent({\n name: 'MarketplaceProductDetailsComponent',\n setup() {\n const store = useStore();\n function formatPrice(price: string): string {\n return helpers.currencyFormatter(price);\n }\n\n const selectedProduct = computed(\n () => store.getters['marketplace/getSelectedProductToSell']\n );\n\n const brands: ComputedRef = computed(\n () => store.getters['marketplace/getAllBrands']\n );\n const brandDetails = computed(() =>\n brands.value?.find((b) => b.accountId === selectedProduct.value.accountId)\n );\n\n return {\n // open,\n selectedProduct,\n brandDetails,\n formatPrice\n };\n },\n data() {\n return {\n brandName: '',\n brandLogo: ''\n };\n },\n computed: {\n // ...mapGetters('marketplace', {\n // // selectedProduct: 'getSelectedProductToSell',\n // // brands: 'getAllBrands'\n // }),\n // ...mapGetters({\n // isBuyerLoggedIn: 'auth/isBuyerLoggedIn',\n // currentUser: 'auth/getCurrentUser',\n // currentBuyer: 'auth/getCurrentBuyer',\n // getBrandName: 'global/getBrandName'\n // }),\n },\n // mounted() {\n // if (!this.selectedProduct) {\n // return;\n // }\n\n // const selectedBrand = this.brands.find(\n // (b: AffiliateBrand) => b.accountId === this.selectedProduct.accountId\n // );\n // console.log(selectedBrand[0]);\n // this.brandName = selectedBrand.brandName;\n // this.brandLogo =\n // selectedBrand.imageUrl ??\n // 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixqx=oilqXxSqey&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80';\n // },\n methods: {\n ...mapMutations('marketplace', {\n selectProduct: 'setSelectedProductToSell'\n })\n }\n});\n","import { render } from \"./MarketplaceProductDetails.vue?vue&type=template&id=17275003&ts=true\"\nimport script from \"./MarketplaceProductDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceProductDetails.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, resolveComponent as _resolveComponent, createVNode as _createVNode, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"mt-20 mb-10 flex-col justify-start items-start gap-10 inline-flex\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"
You're ready to start tagging!
\", 1)\nconst _hoisted_3 = { class: \"self-stretch flex-col justify-start items-start gap-6 flex\" }\nconst _hoisted_4 = { class: \"self-stretch text-gray text-sm font-normal font-[Inter] leading-normal line-clamp-3\" }\nconst _hoisted_5 = { class: \"justify-start items-start gap-2 inline-flex\" }\nconst _hoisted_6 = { class: \"px-2.5 py-[3px] bg-orange-200 rounded-[30px] justify-center items-center gap-px flex text-xs\" }\nconst _hoisted_7 = { class: \"text-orange-800 leading-5\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"ml-[-40px] pr-[124px] my-0\"\n}\nconst _hoisted_9 = {\n key: 1,\n class: \"flex flex-col gap-4 font-light text-gray\"\n}\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-gray-900 text-lg font-medium leading-normal\" }, \" Guidelines \", -1)\nconst _hoisted_11 = { class: \"list-disc list-inside space-y-2\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"ml-[-40px] pr-[124px] my-0\" }, null, -1)\nconst _hoisted_13 = { class: \"w-full flex flex-col items-center justify-center gap-4\" }\nconst _hoisted_14 = [\"href\"]\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"ml-[-40px] pr-[124px] my-0\" }, null, -1)\nconst _hoisted_16 = { class: \"text-gray text-xs font-normal leading-tight\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, \" Copy your checkout link and share it! Please be sure to follow \" + _toDisplayString(_ctx.brandDetails?.brandName) + \"’s guidelines to remain active and log in to track metrics and performance. \", 1),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_ctx.brandDetails?.commission ?? 0) + \"% Commission \", 1)\n ])\n ])\n ]),\n (_ctx.showGuidelines)\n ? (_openBlock(), _createElementBlock(\"hr\", _hoisted_8))\n : _createCommentVNode(\"\", true),\n (_ctx.showGuidelines)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"ul\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.brandDetails?.guidelines, (guideline) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: guideline }, _toDisplayString(guideline), 1))\n }), 128))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_BoostButton, {\n key: \"copy-checkout\",\n class: \"w-full\",\n label: \"Copy My Checkout URL\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.copyButtonState,\n \"loading-label\": \"Copying...\",\n \"complete-label\": \"Link copied!\",\n onClick: _ctx.copyLink\n }, null, 8, [\"loading-state\", \"onClick\"]),\n _createElementVNode(\"a\", {\n href: _ctx.checkoutUrl,\n target: \"_blank\",\n class: \"h-6 text-center text-gray-600 text-xs sm:text-sm font-normal leading-tight\"\n }, _toDisplayString(_ctx.checkoutUrl), 9, _hoisted_14)\n ]),\n _hoisted_15,\n _createElementVNode(\"div\", _hoisted_16, \" By copying your checkout you agree to the terms and privacy policy of \" + _toDisplayString(_ctx.brandDetails?.brandName) + \" and agree that you will follow the marketing guidelines mentioned above. Want to learn more about Tags, visit our Help section. \", 1)\n ]))\n}","\nimport { defineComponent, computed, ComputedRef } from 'vue';\nimport { mapGetters, mapMutations, useStore } from 'vuex';\nimport helpers from '@/helpers';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n name: 'MarketplaceCheckoutReadyComponent',\n props: {\n productTag: {\n type: String,\n required: true\n }\n },\n setup() {\n const store = useStore();\n function formatPrice(price: string): string {\n return helpers.currencyFormatter(price);\n }\n\n const selectedProduct = computed(\n () => store.getters['marketplace/getSelectedProductToSell']\n );\n\n const brands: ComputedRef = computed(\n () => store.getters['marketplace/getAllBrands']\n );\n const brandDetails = computed(() =>\n brands.value?.find((b) => b.accountId === selectedProduct.value.accountId)\n );\n\n return {\n selectedProduct,\n brandDetails,\n formatPrice\n };\n },\n data() {\n return {\n copyButtonState: ButtonLoadingState.initial,\n brandName: '',\n brandLogo: ''\n };\n },\n computed: {\n ...mapGetters({\n isBuyerLoggedIn: 'auth/isBuyerLoggedIn',\n currentUser: 'auth/getCurrentUser',\n currentBuyer: 'auth/getCurrentBuyer',\n getBrandName: 'global/getBrandName'\n }),\n openDrawer() {\n return this.selectedProduct !== undefined;\n },\n checkoutUrl() {\n return `${window.location.origin}/buy/${this.$props.productTag}`;\n },\n showGuidelines() {\n return (\n this.brandDetails?.guidelines !== undefined &&\n this.brandDetails.guidelines.length > 0\n );\n }\n },\n // mounted() {\n // if (!this.selectedProduct) {\n // return;\n // }\n\n // const selectedBrand = this.brands.find(\n // (b: AffiliateBrand) => b.accountId === this.selectedProduct.accountId\n // );\n // console.log(selectedBrand[0]);\n // this.brandName = selectedBrand.brandName;\n // this.brandLogo =\n // selectedBrand.imageUrl ??\n // 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixqx=oilqXxSqey&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80';\n // },\n methods: {\n ...mapMutations('marketplace', {\n selectProduct: 'setSelectedProductToSell'\n }),\n ...mapMutations('global', ['setLoading', 'setBannerStatus']),\n async copyLink() {\n this.copyButtonState = ButtonLoadingState.loading;\n await navigator.clipboard.writeText(this.checkoutUrl);\n\n this.copyButtonState = ButtonLoadingState.complete;\n }\n }\n});\n","import { render } from \"./MarketplaceCheckoutReadyComponent.vue?vue&type=template&id=4f4e1556&ts=true\"\nimport script from \"./MarketplaceCheckoutReadyComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceCheckoutReadyComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent, ref, computed, ComputedRef, watchEffect } from 'vue';\nimport { mapMutations, useStore } from 'vuex';\nimport {\n Dialog as HeadlessDialog,\n DialogPanel,\n TransitionChild,\n TransitionRoot\n} from '@headlessui/vue';\nimport helpers from '@/helpers';\nimport RegisterComponent from './MarketplaceRegisterComponent.vue';\nimport MarketplaceCreateCheckoutComponent from './MarketplaceCreateCheckoutComponent.vue';\nimport ProductDetailsComponent from './MarketplaceProductDetails.vue';\nimport CheckoutReadyComponent from './MarketplaceCheckoutReadyComponent.vue';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\nimport { useUrlSearchParams } from '@vueuse/core';\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\n\ntype DrawerStep = 'REGISTER' | 'LOGIN' | 'CREATE_CHECKOUT' | 'CHECKOUT_READY';\n\nexport default defineComponent({\n name: 'MarketplaceDrawerComponent',\n components: {\n HeadlessDialog,\n DialogPanel,\n TransitionChild,\n RegisterComponent,\n ProductDetailsComponent,\n CheckoutReadyComponent,\n MarketplaceCreateCheckoutComponent,\n TransitionRoot\n },\n setup() {\n const params = useUrlSearchParams('history');\n const store = useStore();\n\n function updateUrl(productId: string) {\n if (productId) {\n params.product = productId;\n } else {\n delete params.product;\n }\n }\n\n function formatPrice(price: string): string {\n return helpers.currencyFormatter(price);\n }\n\n const isBuyerLoggedIn: ComputedRef = computed(\n () => store.getters['auth/isBuyerLoggedIn']\n );\n\n const selectedProduct: ComputedRef = computed(\n () => store.getters['marketplace/getSelectedProductToSell']\n );\n\n const openDrawer: ComputedRef = computed(\n () => selectedProduct.value !== undefined\n );\n\n const brands: ComputedRef = computed(\n () => store.getters['marketplace/getAllBrands']\n );\n const brandDetails = computed(() =>\n brands.value?.find((b) => b.accountId === selectedProduct.value.accountId)\n );\n\n const productTag = ref('');\n\n const taggedProducts: ComputedRef<{ [key: string]: string }> = computed(\n () => store.getters['marketplace/getTaggedProducts']\n );\n const currentStep = ref('REGISTER');\n\n watchEffect(() => {\n if (!selectedProduct.value) {\n return;\n }\n\n const productId = selectedProduct.value.id;\n updateUrl(productId);\n\n // Now that a product has been selected, check if the Tagger has already\n // created a Checkout Tag for that product. If so, set the productTag.\n productTag.value = taggedProducts.value[selectedProduct.value.id] ?? '';\n if (productTag.value) {\n currentStep.value = 'CHECKOUT_READY';\n }\n });\n\n watchEffect(\n () =>\n (currentStep.value = isBuyerLoggedIn.value\n ? 'CREATE_CHECKOUT'\n : 'REGISTER')\n );\n\n return {\n selectedProduct,\n brandDetails,\n isBuyerLoggedIn,\n currentStep,\n updateUrl,\n openDrawer,\n productTag,\n formatPrice\n };\n },\n data() {\n return {\n brandName: '',\n brandLogo: ''\n };\n },\n mounted() {\n if (!this.selectedProduct) {\n return;\n }\n\n this.updateUrl(this.selectedProduct.id);\n },\n methods: {\n ...mapMutations('marketplace', {\n selectProduct: 'setSelectedProductToSell'\n }),\n handleCheckoutCreated(productTag: string) {\n this.productTag = productTag;\n this.currentStep = 'CHECKOUT_READY';\n },\n closeDrawer() {\n this.updateUrl('');\n this.productTag = '';\n this.selectProduct(undefined);\n this.currentStep = this.isBuyerLoggedIn ? 'CREATE_CHECKOUT' : 'REGISTER';\n }\n }\n});\n","import { render } from \"./MarketplaceDrawerComponent.vue?vue&type=template&id=e9520c88&ts=true\"\nimport script from \"./MarketplaceDrawerComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceDrawerComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-75853b63\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-loader\" }\nconst _hoisted_2 = { class: \"boost-loader__wrapper\" }\nconst _hoisted_3 = { class: \"pill p-4 flex flex-col flex-nowrap items-center gap-10\" }\nconst _hoisted_4 = { class: \"spinner margin-bottom-10\" }\nconst _hoisted_5 = { class: \"spinner__svg\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"boost-loader__bg\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_5, [\n _createElementVNode(\"circle\", {\n class: _normalizeClass(_ctx.classObject),\n cx: \"9\",\n cy: \"9\",\n r: \"8\"\n }, null, 2)\n ]))\n ]),\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.classObject)\n }, _toDisplayString(_ctx.loadingMessage || 'Loading...'), 3)\n ])\n ]),\n _hoisted_6\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { mapGetters } from 'vuex';\nimport { store } from '@/store';\n\nexport default defineComponent({\n name: 'BoostLoader',\n computed: {\n ...mapGetters({\n loadingMessage: 'global/getLoadingMessage',\n isSellerLoggedIn: 'auth/isSellerLoggedIn',\n getCustomColor: 'global/getCustomColor'\n }),\n classObject() {\n const isSellerLoggedIn = store.getters[\n 'auth/isSellerLoggedIn'\n ] as boolean;\n const customColor = store.getters['global/getCustomColor'] as string;\n const results: { [k: string]: boolean } = {};\n if (!isSellerLoggedIn && customColor != 'default') {\n results['custom__' + customColor + '__text'] = true;\n }\n return results;\n }\n }\n});\n","import { render } from \"./BoostLoader.vue?vue&type=template&id=75853b63&scoped=true&ts=true\"\nimport script from \"./BoostLoader.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostLoader.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostLoader.vue?vue&type=style&index=0&id=75853b63&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-75853b63\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport { mapGetters, mapActions, mapMutations } from 'vuex';\n// import ProductsGallery from '@/marketplace/components/ProductsGrid.vue';\nimport SearchResults from '@/marketplace/components/MarketplaceSearchResultsComponent.vue';\nimport FeaturedProducts from '@/marketplace/components/MarketplaceFeaturedProductsComponent.vue';\nimport MarketplaceSearchComponent from '@/marketplace/components/MarketplaceSearchComponent.vue';\nimport MarketplaceDrawerComponent from '@/marketplace/components/MarketplaceDrawerComponent.vue';\nimport BoostLoader from '@/common/controls/BoostLoader.vue';\nimport SearchIcon from '@/marketplace/components/SearchIcon.vue';\nimport { MarketplaceProduct } from '@/models/marketplaceProduct';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport { AffiliateBrand } from '@/models/affiliateBrands';\n\nexport default defineComponent({\n name: 'MarketplaceLayout',\n components: {\n SearchResults,\n FeaturedProducts,\n BoostLoader,\n MarketplaceSearchComponent,\n MarketplaceDrawerComponent,\n SearchIcon\n },\n data() {\n return {\n query: '',\n products: undefined as unknown as MarketplaceProduct[],\n isSearching: false\n };\n },\n computed: {\n ...mapGetters('marketplace', {\n searchResults: 'getSearchResults',\n brands: 'getAllBrands',\n featuredProducts: 'getFeaturedProducts'\n }),\n ...mapGetters('auth', {\n currentBuyer: 'getCurrentBuyer'\n })\n },\n async mounted() {\n // First call an endpoint that will QUICKLY return all? or featured products?\n // the search autocomplete will work against this for now, I guess?\n // Then, hitting enter will navigate to a search results page.\n // create a function to publically get list of ALL of our products\n // then create a search endpoint, pass in a query, get back list of products\n // decide fastest way to retrieve that data\n await this.loadAllBrands();\n\n if (this.$route.query.search !== undefined) {\n this.query = this.$route.query.search as string;\n this.isSearching = true;\n await this.performSearch(this.query);\n this.isSearching = false;\n }\n },\n methods: {\n ...mapMutations('marketplace', ['setIsSearchOpen', 'setAllBrands']),\n ...mapActions('marketplace', ['performSearch', 'loadAllBrands']),\n async getCurrentBuyerProducts() {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_AFFILIATE_BRANDS,\n {}\n );\n if (result.status === APIResponseStatus.OK) {\n this.brands = result.data as AffiliateBrand[];\n }\n }\n }\n});\n","import { render } from \"./MarketplaceHome.vue?vue&type=template&id=981308a2&ts=true\"\nimport script from \"./MarketplaceHome.vue?vue&type=script&lang=ts\"\nexport * from \"./MarketplaceHome.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { id: \"policy-container\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.sellerPolicy), 1)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { FirebaseRequest, FirebaseRequestTypes } from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { BrandInformation } from '@/store/types';\nimport { store } from '@/store';\n\nconst Policy = defineComponent({\n name: 'StorePolicy',\n data() {\n return {\n sellerPolicy: 'No policy statement available for this seller.'\n };\n },\n mounted() {\n this.getSellerInfo();\n },\n methods: {\n async getSellerInfo() {\n try {\n const payload = {\n slug: this.$route.params.storeSlug\n };\n\n const sellerInfo = await FirebaseRequest.createRequest<{\n seller: {\n name: string;\n phone: string;\n refundPolicy: string;\n slug: string;\n logoUrl: string;\n hashtagPrefix: string;\n email: string;\n };\n }>(FirebaseRequestTypes.GET_SELLER_INFO, payload);\n\n if (!sellerInfo) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n return;\n }\n\n if (sellerInfo.data?.seller) {\n this.sellerPolicy = sellerInfo.data.seller.refundPolicy;\n const brandInfo: BrandInformation = {\n brandName: sellerInfo.data.seller.name,\n orderEmail: sellerInfo.data.seller.email,\n logoUrl: sellerInfo.data.seller.logoUrl || ''\n };\n store.commit('global/setBrandInformation', brandInfo);\n }\n } catch (ex) {\n console.error(ex);\n }\n }\n }\n});\n\nexport default Policy;\n","import { render } from \"./Policy.vue?vue&type=template&id=42b3c870&ts=true\"\nimport script from \"./Policy.vue?vue&type=script&lang=ts\"\nexport * from \"./Policy.vue?vue&type=script&lang=ts\"\n\nimport \"./Policy.vue?vue&type=style&index=0&id=42b3c870&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"flex flex--no-wrap\" }\nconst _hoisted_3 = { class: \"rounded-image rounded-image--small\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 2 }\nconst _hoisted_7 = { key: 3 }\nconst _hoisted_8 = { key: 4 }\nconst _hoisted_9 = { key: 5 }\nconst _hoisted_10 = { key: 6 }\nconst _hoisted_11 = { key: 7 }\nconst _hoisted_12 = {\n key: 0,\n class: \"pill pill-stripe-blue\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"pill pill-red\"\n}\nconst _hoisted_14 = {\n key: 2,\n class: \"pill pill-inactive\"\n}\nconst _hoisted_15 = { key: 8 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AccountsMenuControlsComponent = _resolveComponent(\"AccountsMenuControlsComponent\")!\n const _component_BoostTable = _resolveComponent(\"BoostTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_AccountsMenuControlsComponent, {\n filter: _ctx.accountFilterType,\n \"onUpdate:filter\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.accountFilterType) = $event)),\n sort: _ctx.sortBy,\n \"onUpdate:sort\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.sortBy) = $event)),\n onAccountSearch: _ctx.fireSearch\n }, null, 8, [\"filter\", \"sort\", \"onAccountSearch\"]),\n _createVNode(_component_BoostTable, {\n rows: _ctx.filteredAccounts,\n columns: _ctx.columns,\n \"click-id\": \"accountId\",\n \"hide-arrow\": true,\n \"has-context-menu\": false,\n onAction: _ctx.onAccountClick\n }, {\n default: _withCtx((data) => [\n (data.column.id === 'imageUrl')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.getProfile(data.row),\n alt: \"Seller logo\"\n }, null, 8, _hoisted_4)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'accountName')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(data.row.name), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'hashTag')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_ctx.formatHashTag(data.row.hashtagPrefix)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'contact')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(`${data.row.lastName}, ${data.row.firstName} ${data.row.email}`), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'tagCount')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(data.row.totalTags), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'customerCount')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(data.row.totalCustomers), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'totalSales')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.getPrice(data.row.totalSales)), 1))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'badges')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, [\n (data.row.isStripeConnected)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, \" Stripe \"))\n : _createCommentVNode(\"\", true),\n (!data.row.isStripeConnected)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, \" Inactive \"))\n : _createCommentVNode(\"\", true),\n (data.row.disabled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_14, \" Canceled \"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (data.column.id === 'menu')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, \" \"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"onAction\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n id: \"accounts-main-controls\",\n class: \"search-sort-control flex justify--between align--center\"\n}\nconst _hoisted_2 = { class: \"flex flex--full-width input-set input-set--mobile-wrap\" }\nconst _hoisted_3 = { class: \"t-5 flex--grow no-pad\" }\nconst _hoisted_4 = { class: \"t-3 no-pad\" }\nconst _hoisted_5 = { class: \"t-3 no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SearchBar = _resolveComponent(\"SearchBar\")!\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_SearchBar, {\n filter: _ctx.filter,\n placeholder: \"SKU, Name, Keyword\",\n onSearchAction: _ctx.viewAccounts\n }, null, 8, [\"filter\", \"onSearchAction\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.innerFilter,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.innerFilter) = $event)),\n \"input-id\": \"select-filter\",\n options: _ctx.filterOptions\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostSelect, {\n modelValue: _ctx.sortBy,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.sortBy) = $event)),\n \"input-id\": \"select-sort\",\n options: _ctx.sortOptions\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { AccountFilterType, AccountSortOption } from '@/constants';\nimport { mapState } from 'vuex';\nimport { SelectOption } from '@/common/controls/BoostSelect/Select.interface';\nimport SearchBar, { SearchActionEvent } from '@/common/controls/SearchBar.vue';\n\nconst AccountsMenuControlsComponent = defineComponent({\n name: 'AccountsMenuControlsComponent',\n components: {\n SearchBar\n },\n props: {\n filter: {\n type: String,\n default: AccountFilterType.ACTIVE\n }\n },\n emits: ['update:filter', 'update:sort', 'accountSearch'],\n data() {\n return {\n innerFilter: AccountFilterType.ACTIVE,\n filterOptions: [\n { value: AccountFilterType.ACTIVE, name: 'Active' },\n { value: AccountFilterType.INACTIVE, name: 'Inactive' },\n { value: AccountFilterType.DISCONNECTED, name: 'Disconnected' },\n { value: AccountFilterType.CANCELED, name: 'Canceled' },\n { value: AccountFilterType.ALL, name: 'All' }\n ] as SelectOption[],\n sortBy: AccountSortOption.CREATEDDESC,\n sortOptions: [\n { value: AccountSortOption.NAMEASC, name: 'Name a to z' },\n { value: AccountSortOption.NAMEDESC, name: 'Name z to a' },\n { value: AccountSortOption.SALESASC, name: 'Sales 0 to 9' },\n { value: AccountSortOption.SALESDESC, name: 'Sales 9 to 0' },\n { value: AccountSortOption.CREATEDDESC, name: 'Latest Account Created' }\n ] as SelectOption[]\n };\n },\n computed: {\n ...mapState('accounts', ['isGridDisplayType']),\n AccountFilterType: () => AccountFilterType\n },\n watch: {\n innerFilter(newVal) {\n this.filterList(newVal);\n },\n sortBy(newVal) {\n this.sortList(newVal);\n }\n },\n mounted() {\n this.innerFilter = this.filter;\n },\n methods: {\n filterList(value: string) {\n this.$emit('update:filter', value);\n },\n sortList(value: string) {\n this.$emit('update:sort', value);\n },\n viewAccounts(data: SearchActionEvent) {\n this.innerFilter = data.filterType;\n this.$emit('accountSearch', data);\n }\n }\n});\n\nexport default AccountsMenuControlsComponent;\n","import { render } from \"./AccountsMenuControlsComponent.vue?vue&type=template&id=71fe3d82&ts=true\"\nimport script from \"./AccountsMenuControlsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AccountsMenuControlsComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport AccountsMenuControlsComponent from '../admin/AccountsMenuControlsComponent.vue';\nimport { mapGetters, mapMutations, mapState } from 'vuex';\nimport { AccountFilterType, AccountSortOption } from '@/constants';\nimport { AccountObject } from '@/models/accountObject';\nimport Helpers from '@/helpers';\nimport { SearchActionEvent } from '@/common/controls/SearchBar.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport {\n BannerMessageStrings,\n BannerType\n} from '@/common/BannerComponent/BannerMessages';\nimport { store } from '@/store';\nimport { ColumnItem } from '@/common/controls/BoostTable/Table.interface';\n\nexport default defineComponent({\n name: 'AccountsComponent',\n components: {\n AccountsMenuControlsComponent\n },\n data() {\n return {\n searchValue: '' as string,\n accountFilterType: AccountFilterType.ALL,\n accounts: [] as AccountObject[],\n sortBy: AccountSortOption.CREATEDDESC,\n columns: [\n {\n id: 'imageUrl',\n label: ''\n },\n {\n id: 'accountName',\n label: 'Name'\n },\n {\n id: 'hashTag',\n label: 'Tag'\n },\n {\n id: 'contact',\n label: 'Contact'\n },\n {\n id: 'tagCount',\n label: 'Tags'\n },\n {\n id: 'customerCount',\n label: 'Customers'\n },\n {\n id: 'totalSales',\n label: 'Sales'\n },\n {\n id: 'badges',\n label: 'Status'\n },\n {\n id: 'menu'\n }\n ] as ColumnItem[]\n };\n },\n computed: {\n ...mapState('accounts', ['currentAccount', 'isGridDisplayType', 'filter']),\n ...mapGetters({\n isSuperAdmin: 'auth/isSuperAdmin'\n }),\n filteredAccounts(): AccountObject[] {\n const search: string = this.searchValue.toLowerCase().trim();\n\n let results: AccountObject[] = this.accounts.filter(\n (a: AccountObject) =>\n (a.name && a.name.toLowerCase().includes(search)) ||\n (a.hashtagPrefix &&\n a.hashtagPrefix.toLocaleLowerCase().includes(search))\n );\n\n switch (this.accountFilterType) {\n case AccountFilterType.ACTIVE:\n results = results.filter(\n (a: AccountObject) => !a.disabled && a.isStripeConnected\n );\n break;\n case AccountFilterType.DISCONNECTED:\n results = results.filter(\n (a: AccountObject) => !a.disabled && !a.isStripeConnected\n );\n break;\n case AccountFilterType.INACTIVE:\n results = results.filter(\n (a: AccountObject) => a.disabled && !a.isStripeConnected\n );\n break;\n case AccountFilterType.CANCELED:\n results = results.filter(\n (a: AccountObject) => a.disabled && a.isStripeConnected\n );\n break;\n default:\n break;\n }\n if (this.sortBy) {\n // Must handle latest since it is ordered by the key which can give us\n // the latest first if we just reverse the set\n if (this.sortBy === AccountSortOption.CREATEDDESC) {\n return results.reverse();\n }\n results = results.sort((a, b) => {\n let sortResult = 0;\n switch (this.sortBy) {\n case AccountSortOption.NAMEASC:\n sortResult = a.name.localeCompare(b.name);\n break;\n case AccountSortOption.NAMEDESC:\n sortResult = b.name.localeCompare(a.name);\n break;\n case AccountSortOption.SALESASC:\n sortResult = a.totalSales - b.totalSales;\n break;\n case AccountSortOption.SALESDESC:\n sortResult = b.totalSales - a.totalSales;\n break;\n default:\n break;\n }\n return sortResult;\n });\n }\n return results;\n }\n },\n async created() {\n this.setLoading(true);\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ADMIN_ACCOUNTS,\n {}\n );\n this.setLoading(false);\n if (result.status === APIResponseStatus.OK) {\n this.accounts = result.data || [];\n } else {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_ERROR_MESSAGE,\n type: BannerType.error\n });\n }\n },\n methods: {\n ...mapMutations('accounts', ['setCurrentAccount']),\n ...mapMutations('auth', ['setImpersonating']),\n ...mapMutations('global', ['setLoading']),\n getProfile(account: AccountObject): string {\n return account.logoUrl\n ? account.logoUrl\n : require('../assets/default-brand.jpg');\n },\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n getSecureUrl(url: string) {\n return Helpers.getSecureUrl(url);\n },\n formatHashTag(tag: string) {\n return Helpers.formatHashTag(tag);\n },\n fireSearch(data: SearchActionEvent) {\n this.searchValue = data.searchValue || '';\n },\n async onAccountClick(accountId: string) {\n const result = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_ACCOUNT_DATA,\n {\n accountId\n }\n );\n if (result.data) {\n this.setCurrentAccount(result.data);\n this.setImpersonating(true);\n await this.$router.push({\n path: '/store'\n });\n }\n }\n }\n});\n","import { render } from \"./AccountsComponent.vue?vue&type=template&id=4c58a59c&ts=true\"\nimport script from \"./AccountsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AccountsComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Analytics\", -1)\nconst _hoisted_2 = {\n id: \"dashboard\",\n class: \"dashboard\"\n}\nconst _hoisted_3 = { class: \"dashboard__header\" }\nconst _hoisted_4 = { class: \"t-12 flex flex--row no-pad\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", { class: \"hidden-mobile\" }, \"Analytics\")\n], -1)\nconst _hoisted_6 = { class: \"t-6 flex dashboard__refresh\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 flex flex--row no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"section-title\" }, \"Totals\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" View the totals for all accounts. Refresh the dashboard for the most current information. \")\n ])\n], -1)\nconst _hoisted_8 = { class: \"t-12 flex flex--wrap stat-cards\" }\nconst _hoisted_9 = { class: \"stat-card t-6 dm-4\" }\nconst _hoisted_10 = { class: \"stat-card__inner\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"label\", { class: \"stat-card__label\" }, \"Total Sellers\", -1)\nconst _hoisted_12 = { class: \"stat-card__sale-amount\" }\nconst _hoisted_13 = { class: \"stat-card t-6 dm-4\" }\nconst _hoisted_14 = { class: \"stat-card__inner\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"label\", { class: \"stat-card__label\" }, \"Total Tags\", -1)\nconst _hoisted_16 = { class: \"stat-card__sale-amount\" }\nconst _hoisted_17 = { class: \"stat-card t-6 dm-4\" }\nconst _hoisted_18 = { class: \"stat-card__inner\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"label\", { class: \"stat-card__label\" }, \"Total Buyers\", -1)\nconst _hoisted_20 = { class: \"stat-card__sale-amount\" }\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-12 flex flex--row no-pad\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"t-6\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"section-title\" }, \"Accounts Overview\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" View all account product sales below. Refresh the dashboard for the most current sales. \")\n ])\n], -1)\nconst _hoisted_22 = { class: \"t-12 flex flex--wrap stat-cards\" }\nconst _hoisted_23 = { class: \"stat-card__inner\" }\nconst _hoisted_24 = { class: \"stat-card__label\" }\nconst _hoisted_25 = { class: \"stat-card__sale-amount\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#header-title\" }, [\n _hoisted_1\n ])),\n _createElementVNode(\"section\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n \"loading-state\": _ctx.statRefreshButtonState,\n \"complete-label\": \"Done\",\n onClick: _ctx.getStats\n }, null, 8, [\"loading-state\", \"onClick\"])\n ])\n ])\n ]),\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(_ctx.totalSellers), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString(_ctx.totalTagCount), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, _toDisplayString(_ctx.totalBuyers), 1)\n ])\n ])\n ]),\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.stats, (stat, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index + '-stat-card',\n class: \"stat-card t-6 dm-4\"\n }, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"label\", _hoisted_24, _toDisplayString(stat.title), 1),\n _createElementVNode(\"div\", _hoisted_25, _toDisplayString(_ctx.getPrice(stat.amount)), 1)\n ])\n ]))\n }), 128))\n ])\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport { Stat } from '../../models/stat';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from '@/firebaseRequest';\nimport Helpers from '@/helpers';\n\nconst AdminStats = defineComponent({\n data() {\n return {\n totalSellers: 0,\n totalTagCount: 0,\n totalBuyers: 0,\n totalGMV: 0,\n stats: [\n {\n title: 'Last 24 hrs',\n amount: 0,\n sales: 0\n },\n {\n title: 'Yesterday',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 7 days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 30 days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Last 90 days',\n amount: 0,\n sales: 0\n },\n {\n title: 'Lifetime',\n amount: 0,\n sales: 0\n }\n ],\n statRefreshButtonState: ButtonLoadingState.initial\n };\n },\n async mounted() {\n await this.getStats();\n },\n methods: {\n getPrice(price: number) {\n return Helpers.currencyFormatter(price);\n },\n async getStats() {\n this.statRefreshButtonState = ButtonLoadingState.loading;\n\n const responseData = await FirebaseRequest.createRequest<{\n totalSellers: number;\n totalTagCount: number;\n totalBuyers: number;\n stripeGrossTotal: number;\n overallStats: Stat;\n }>(FirebaseRequestTypes.GET_ADMIN_STATS, {});\n\n if (responseData.status === APIResponseStatus.OK && responseData.data) {\n this.totalSellers = responseData.data.totalSellers;\n this.totalTagCount = responseData.data.totalTagCount;\n this.totalBuyers = responseData.data.totalBuyers;\n this.totalGMV = responseData.data.stripeGrossTotal;\n\n const st = responseData.data.overallStats as Stat;\n if (st.today) {\n this.stats[0].amount = parseFloat(st.today.amount.toFixed(2));\n this.stats[0].sales = st.today.orders;\n }\n if (st.yesterday) {\n this.stats[1].amount = parseFloat(st.yesterday.amount.toFixed(2));\n this.stats[1].sales = st.yesterday.orders;\n }\n if (st.week) {\n this.stats[2].amount = parseFloat(st.week.amount.toFixed(2));\n this.stats[2].sales = st.week.orders;\n }\n if (st.month) {\n this.stats[3].amount = parseFloat(st.month.amount.toFixed(2));\n this.stats[3].sales = st.month.orders;\n }\n if (st.quarter) {\n this.stats[4].amount = parseFloat(st.quarter.amount.toFixed(2));\n this.stats[4].sales = st.quarter.orders;\n }\n if (st.totals) {\n this.stats[5].amount = parseFloat(st.totals.amount.toFixed(2));\n this.stats[5].sales = st.totals.orders;\n }\n }\n this.statRefreshButtonState = ButtonLoadingState.complete;\n }\n }\n});\n\nexport default AdminStats;\n","import { render } from \"./AdminStats.vue?vue&type=template&id=2946970e&ts=true\"\nimport script from \"./AdminStats.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminStats.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminStats.vue?vue&type=style&index=0&id=2946970e&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-16e0bcc2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Credit Card Detail Cards\")\n], -1))\nconst _hoisted_2 = { class: \"t-12 flex\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"input\", {\n id: \"select-credit-card\",\n type: \"checkbox\"\n}, null, -1))\nconst _hoisted_4 = { class: \"margin-top-8\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Address Detail Cards\", -1))\nconst _hoisted_6 = { class: \"t-12 flex\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"input\", {\n id: \"select-credit-card\",\n type: \"checkbox\"\n}, null, -1))\nconst _hoisted_8 = { class: \"margin-top-8\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Credit Card Summary Cards\", -1))\nconst _hoisted_10 = { class: \"t-12 flex\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"input\", {\n id: \"select-credit-card\",\n type: \"checkbox\"\n}, null, -1))\nconst _hoisted_12 = { class: \"margin-top-8\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Address Summary Cards\", -1))\nconst _hoisted_14 = { class: \"t-12 flex\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"input\", {\n id: \"select-credit-card\",\n type: \"checkbox\"\n}, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"margin-top-8\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Tags Section Headers\")\n], -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"Tags Cards\")\n], -1))\nconst _hoisted_18 = { class: \"w-100 flex t-12 no-pad\" }\nconst _hoisted_19 = { class: \"w-100 flex t-12 no-pad\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \" Here is a sample template in the slot, so you can put anything here \", -1))\nconst _hoisted_21 = { class: \"w-100 flex t-12 no-pad\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_stripe_credit_card_details_component = _resolveComponent(\"stripe-credit-card-details-component\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostInfoCard = _resolveComponent(\"BoostInfoCard\")!\n const _component_BoostContextMenu = _resolveComponent(\"BoostContextMenu\")!\n const _component_AddressDetailComponent = _resolveComponent(\"AddressDetailComponent\")!\n const _component_stripe_credit_card_summary_component = _resolveComponent(\"stripe-credit-card-summary-component\")!\n const _component_AddressSummaryComponent = _resolveComponent(\"AddressSummaryComponent\")!\n const _component_BoostSectionHeader = _resolveComponent(\"BoostSectionHeader\")!\n const _component_BoostCard = _resolveComponent(\"BoostCard\")!\n const _component_BoostStepCard = _resolveComponent(\"BoostStepCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/credit-card.svg'),\n class: \"t-4 border-right bottom-border top-border padding-3\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n type: \"button\",\n \"button-style\": \"link\"\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_stripe_credit_card_details_component, { card: _ctx.primaryCreditCard }, null, 8, [\"card\"])\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/credit-card.svg'),\n class: \"t-4 border-right bottom-border top-border padding-3\"\n }, {\n action: _withCtx(() => [\n _hoisted_3\n ]),\n default: _withCtx(() => [\n _createVNode(_component_stripe_credit_card_details_component, { card: _ctx.primaryCreditCard }, null, 8, [\"card\"])\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/credit-card.svg'),\n class: \"t-4 border-right bottom-border top-border padding-3\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: _ctx.secondaryCreditCard\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_stripe_credit_card_details_component, { card: _ctx.secondaryCreditCard }, null, 8, [\"card\"])\n ]),\n _: 1\n }, 8, [\"icon\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/truck.svg'),\n class: \"t-6 border-right bottom-border top-border padding-3\"\n }, {\n action: _withCtx(() => [\n _hoisted_7\n ]),\n default: _withCtx(() => [\n _createVNode(_component_AddressDetailComponent, { address: _ctx.address }, null, 8, [\"address\"])\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/truck.svg'),\n class: \"t-6 border-right bottom-border top-border padding-3\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostContextMenu, {\n menu: _ctx.menuItems,\n entity: _ctx.secondaryAddress\n }, null, 8, [\"menu\", \"entity\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_AddressDetailComponent, { address: _ctx.secondaryAddress }, null, 8, [\"address\"])\n ]),\n _: 1\n }, 8, [\"icon\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/credit-card.svg'),\n class: \"t-6 border-right bottom-border top-border padding-4\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n type: \"button\",\n \"button-style\": \"link\"\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_stripe_credit_card_summary_component, { card: _ctx.primaryCreditCard }, null, 8, [\"card\"])\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/credit-card.svg'),\n class: \"t-6 border-right bottom-border top-border padding-4\"\n }, {\n action: _withCtx(() => [\n _hoisted_11\n ]),\n default: _withCtx(() => [\n _createVNode(_component_stripe_credit_card_summary_component, { card: _ctx.primaryCreditCard }, null, 8, [\"card\"])\n ]),\n _: 1\n }, 8, [\"icon\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/truck.svg'),\n class: \"t-6 border-right bottom-border top-border padding-4\"\n }, {\n action: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Change\",\n type: \"button\",\n \"button-style\": \"link\"\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_AddressSummaryComponent, { address: _ctx.address }, null, 8, [\"address\"])\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_BoostInfoCard, {\n icon: require('@/assets/truck.svg'),\n class: \"t-6 border-right bottom-border top-border padding-4\"\n }, {\n action: _withCtx(() => [\n _hoisted_15\n ]),\n default: _withCtx(() => [\n _createVNode(_component_AddressSummaryComponent, { address: _ctx.secondaryAddress }, null, 8, [\"address\"])\n ]),\n _: 1\n }, 8, [\"icon\"])\n ])\n ]),\n _hoisted_16,\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border top-border\",\n title: \"Sample\",\n message: _ctx.message\n }, null, 8, [\"message\"]),\n _createVNode(_component_BoostSectionHeader, {\n class: \"bottom-border\",\n title: \"Sample with Button\",\n message: _ctx.message,\n \"has-content\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BoostButton, {\n label: \"Refresh\",\n \"button-style\": \"primary\",\n type: \"button\",\n class: \"btn-form\"\n })\n ]),\n _: 1\n }, 8, [\"message\"]),\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_BoostCard, {\n class: \"t-3 border-right bottom-border top-border\",\n title: \"Test Card Title One\",\n message: \"$1,234,00.23\"\n }),\n _createVNode(_component_BoostCard, {\n class: \"t-3 border-right bottom-border top-border\",\n title: \"Test Card Title Two\",\n message: \"Message\"\n }),\n _createVNode(_component_BoostCard, {\n class: \"t-3 border-right bottom-border top-border\",\n title: \"Test Card Title Three\",\n message: \"1,234\"\n }),\n _createVNode(_component_BoostCard, {\n class: \"t-3 border-right bottom-border top-border\",\n title: \"Test Card Title Four\",\n message: \"$1,234.23\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_BoostCard, {\n class: \"t-6 border-right\",\n title: \"Test Card Title One\",\n message: \"$1,234,00.23\",\n summary: \"Showing breakdown of the various checkout methods in (%). The order is defined by highest to lowest.\",\n \"has-expander\": \"\",\n details: _ctx.cardFourDetails\n }, null, 8, [\"details\"]),\n _createVNode(_component_BoostCard, {\n class: \"t-6\",\n title: \"Test Card Title Two\",\n message: \"Message\",\n \"has-expander\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_BoostStepCard, {\n class: \"t-4\",\n number: \"1\",\n title: \"Here is a message for the people\",\n \"image-url\": \"/img/sell-anywhere.svg\",\n message: \"Lorem ipsum dolor sit amet, consectet adipiscing elit. Blandit bibendum enim, turpis urna.\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4\",\n number: \"2\",\n title: \"Stripe\",\n \"image-url\": \"/img/stripe.svg\",\n message: \"Lorem ipsum dolor sit amet, consectet adipiscing elit. Blandit bibendum enim, turpis urna.\"\n }),\n _createVNode(_component_BoostStepCard, {\n class: \"t-4\",\n number: \"3\",\n title: \"Find Products\",\n \"image-url\": \"/img/invite-users.svg\",\n message: \"Lorem ipsum dolor sit amet, consectet adipiscing elit. Blandit bibendum enim, turpis urna.\"\n })\n ])\n ], 64))\n}","\nimport { defineComponent } from 'vue';\nimport StripeCreditCardDetailsComponent from '../src/common/info/StripeCreditCardDetailsComponent.vue';\nimport StripeCreditCardSummaryComponent from '../src/common/info/StripeCreditCardSummaryComponent.vue';\nimport AddressDetailComponent from '../src/common/info/AddressDetailComponent.vue';\nimport AddressSummaryComponent from '../src/common/info/AddressSummaryComponent.vue';\n\nimport {\n PaymentOption,\n ShippingAddress\n} from './buyer/settings/BuyerSettingsInterfaces';\nimport { ContextMenuItem } from './common/controls/BoostContextMenu.vue';\n\nexport default defineComponent({\n name: 'SamplePage',\n components: {\n StripeCreditCardDetailsComponent,\n StripeCreditCardSummaryComponent,\n AddressDetailComponent,\n AddressSummaryComponent\n },\n data() {\n return {\n message:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Bibendum fermentum lacus.',\n cardFourDetails: [\n { name: 'Detail One', value: 'Here is the value' },\n { name: 'Detail Two', value: 'Here is another value' }\n ],\n primaryCreditCard: {\n last4: '4242',\n brand: 'visa',\n expiredMonth: 12,\n expiredYear: 2034,\n id: 'card_1Lf0mZJp8IAm945lRvthiJ1Z',\n isDefault: true,\n name: null,\n email: null,\n phone: null,\n address: {\n line1: null,\n line2: null,\n city: null,\n country: null,\n state: null,\n postalCode: '33435'\n }\n },\n secondaryCreditCard: {\n last4: '3535',\n brand: 'mastercard',\n expiredMonth: 5,\n expiredYear: 2025,\n id: 'card_1Lf0mZJp8IAm945lRvthiJ1Z',\n isDefault: false,\n name: null,\n email: null,\n phone: null,\n address: {\n line1: null,\n line2: null,\n city: null,\n country: null,\n state: null,\n postalCode: '33435'\n }\n },\n address: {\n address1: '10755 SW 108 Ave',\n address2: 'Apt 305',\n city: 'Boynton Beach',\n state: 'FL',\n postalCode: '33435',\n country: 'US',\n isDefault: true\n } as ShippingAddress,\n secondaryAddress: {\n address1: '123 Main Street',\n city: 'Hialeah',\n state: 'FL',\n postalCode: '33016',\n country: 'US',\n isDefault: false\n } as ShippingAddress,\n menuItems: [\n {\n label: 'Make Default',\n onClick: (creditCard) => {\n this.makeCreditCardDefault(creditCard as unknown as PaymentOption);\n }\n },\n {\n label: 'Edit Card',\n onClick: (creditCard) => {\n alert(`Edit card ${creditCard.brand}`);\n }\n },\n {\n label: 'Remove Card',\n onClick: (creditCard) => {\n alert(`Remove card ${creditCard.brand}`);\n }\n }\n ] as ContextMenuItem[],\n addressMenuItems: [\n {\n label: 'Make Default',\n onClick: (address) => {\n alert(`Make Default ${address.address1}`);\n }\n },\n {\n label: 'Edit Address',\n onClick: (address) => {\n alert(`Edit card ${address.address1}`);\n }\n },\n {\n label: 'Remove Address',\n onClick: (address) => {\n alert(`Remove card ${address.address1}`);\n }\n }\n ] as ContextMenuItem[]\n };\n },\n methods: {\n makeCreditCardDefault(creditCard: PaymentOption) {\n // this is hacky for now on the samples page\n // first, reset all the defaults\n this.primaryCreditCard.isDefault = false;\n this.secondaryCreditCard.isDefault = false;\n\n // Now, set default on the creditCard that was passed in.\n creditCard.isDefault = true;\n }\n }\n});\n","import { render } from \"./sample.vue?vue&type=template&id=16e0bcc2&scoped=true&ts=true\"\nimport script from \"./sample.vue?vue&type=script&lang=ts\"\nexport * from \"./sample.vue?vue&type=script&lang=ts\"\n\nimport \"./sample.vue?vue&type=style&index=0&id=16e0bcc2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-16e0bcc2\"]])\n\nexport default __exports__","import { RouteRecordRaw, createRouter, createWebHistory } from 'vue-router';\n\n// seller\nimport sellerRoutes from '@/seller/sellerRoutes';\n\n// buyer\nimport buyerRoutes from '@/buyer/buyerRoutes';\n\n// shared\nimport Login from './login/Login.vue';\nimport ForgotPassword from './login/ForgotPassword.vue';\nimport PageNotFoundComponent from '@/common/PageNotFoundComponent.vue';\nimport EmailVerified from './login/EmailVerified.vue';\nimport UserActions from './common/UserActions.vue';\nimport MarketplaceHome from './marketplace/pages/MarketplaceHome.vue';\n\n// Lazy Loaded pages\n// Async component without options\n// const asyncPage = defineAsyncComponent(() => import('./NextPage.vue'))\n\nconst PrivacyPolicy = () => import('@/static/PrivacyPolicy.vue');\nconst BuyerTermsConditions = () => import('@/static/BuyerTermsConditions.vue');\nconst SellerTermsConditions = () =>\n import('@/static/SellerTermsConditions.vue');\n\nimport Policy from './user_store/Policy.vue';\nimport AccountsComponent from './admin/AccountsComponent.vue';\nimport AdminStats from './admin/AdminStats.vue';\nimport Sample from './sample.vue';\n\nimport { store } from './store';\nimport {\n BannerMessageStrings,\n BannerType\n} from './common/BannerComponent/BannerMessages';\nimport { Buyer } from './buyer/settings/BuyerSettingsInterfaces';\nimport { AccountObject } from '@/models/accountObject';\n\n/*\nUrl structure:\n\nBuyer signup: https://boo.st/user/signup\nBuyer account: https://boo.st/user\nOther Buyer account pages: https://boo.st/user/{page}\n\nSeller signup: https://boo.st/store/signup\nSeller account: https://boo.st/store/\nOther Seller account pages: https://boo.st/store/{page}\n\nSeller public store: https://boo.st/{storeTag}\nSeller policy: https://boo.st/{storeTag}/policy\n */\n\nconst baseRoutes = [\n {\n path: '/:pathMatch(.*)*',\n redirect: '/404'\n },\n {\n path: '',\n name: 'base-index',\n redirect: () => {\n const isSellerLoggedIn = store.getters['auth/isSellerLoggedIn'];\n const isBuyerLoggedIn = store.getters['auth/isBuyerLoggedIn'];\n\n // Resolve home page location based on user auth type\n if (isSellerLoggedIn) {\n return '/store';\n } else if (isBuyerLoggedIn) {\n // If the buyer is a Network affiliate, redirect to the dashboard.\n const buyer = store.getters['auth/getCurrentBuyer'] as Buyer;\n if (buyer?.affiliateUsername) {\n return '/user/dashboard';\n }\n\n return '/user';\n } else {\n return '/login';\n }\n }\n },\n {\n path: '/login',\n name: 'Login',\n component: Login,\n meta: {\n layout: 'SingleLayout',\n showFooter: true,\n showHelp: true,\n showBackToTop: false\n }\n },\n {\n path: '/marketplace',\n name: 'Marketplace',\n component: MarketplaceHome,\n meta: {\n layout: 'MarketplaceLayout'\n }\n },\n {\n path: '/userActions',\n name: 'User Actions',\n component: UserActions\n },\n {\n path: '/privacy-policy',\n name: 'Privacy-policy',\n component: PrivacyPolicy,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/buyer-terms',\n name: 'Buyer-Terms-and-conditions',\n component: BuyerTermsConditions,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/seller-terms',\n name: 'Seller-Terms-and-conditions',\n component: SellerTermsConditions,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/forgotPassword',\n name: 'Forgot Password',\n component: ForgotPassword,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/emailVerified',\n name: 'Verify Email',\n component: EmailVerified\n },\n {\n path: '/404',\n name: 'PageNotFound',\n component: PageNotFoundComponent,\n meta: {\n layout: 'SingleLayout'\n }\n },\n // super admin\n {\n path: '/accounts',\n name: 'Accounts',\n component: AccountsComponent,\n meta: { requiresSuperAdmin: true }\n },\n {\n path: '/adminstats',\n name: 'AdminStats',\n component: AdminStats,\n meta: { requiresSuperAdmin: true }\n },\n // public seller store routes\n {\n path: '/public/:storeSlug/policy',\n name: 'StorePolicy',\n component: Policy,\n meta: {\n layout: 'SingleLayout'\n }\n },\n {\n path: '/samples',\n name: 'samples',\n component: Sample,\n meta: {\n // requiresSuperAdmin: true,\n layout: 'OpenLayout',\n showSubHeader: false\n }\n }\n] as RouteRecordRaw[];\n\nconst router = createRouter({\n history: createWebHistory(),\n routes: [...sellerRoutes, ...buyerRoutes, ...baseRoutes],\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition;\n } else {\n return { left: 0, top: 0 };\n }\n }\n});\n// const unsavedChangesWarningMessage = 'Do you wish to navigate away from this page? Changes you made may not be saved. Click OK to leave this page, or Cancel to continue editing.';\n\nrouter.beforeEach(async (to, from, next) => {\n // Authorization Types\n const isSellerLoggedIn = store.getters['auth/isSellerLoggedIn'];\n const isBuyerLoggedIn = store.getters['auth/isBuyerLoggedIn'];\n const isSuperAdmin = store.getters['auth/isSuperAdmin'];\n\n // Process Auth Requirements\n const requiresSellerAuth = to.matched.some(\n (record) => record.meta.requiresSellerAuth\n );\n const requiresBuyerAuth = to.matched.some(\n (record) => record.meta.requiresBuyerAuth\n );\n const requiresSuperAdmin = to.matched.some(\n (record) => record.meta.requiresSuperAdmin\n );\n\n // Clears any banner messages that might have existed\n store.commit('global/setBannerStatus', null);\n store.commit('global/setContextualButton', false);\n\n // Setup login forwarding to prevent user types\n // from attempting to get into eachother's routes\n if (to.name === 'Login') {\n if (isSellerLoggedIn || isBuyerLoggedIn) {\n next('/');\n } else {\n next();\n }\n }\n\n // Check if the route requires authorization to proceed\n if (requiresSellerAuth || requiresBuyerAuth || requiresSuperAdmin) {\n // Check Seller Auth\n if (requiresSellerAuth) {\n if (!isSellerLoggedIn) {\n next({ name: 'Login' });\n } else {\n const currentAccount = store.getters[\n 'accounts/currentAccount'\n ] as AccountObject;\n if (!currentAccount.isStripeConnected) {\n // if not connected to stripe show the banner message for stripe\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_NEED_CONNECT_STRIPE,\n type: BannerType.stripeWarning\n });\n }\n if (currentAccount.planPaymentFailed) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.SELLER_PLAN_PAYMENT_FAILED,\n type: BannerType.paymentFailed\n });\n }\n next();\n }\n }\n\n // Check Buyer Auth\n if (requiresBuyerAuth) {\n if (!isBuyerLoggedIn) {\n // eslint-disable-next-line\n // @ts-ignore\n next({ name: 'Login', query: { type: 1 } });\n }\n const currentBuyer = store.getters['auth/getCurrentBuyer'] as Buyer;\n if (\n currentBuyer &&\n !(currentBuyer.isVerified || currentBuyer.hasAttemptedVerification)\n ) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_ACCOUNT_UNVERIFIED,\n type: BannerType.buyerVerification\n });\n } else {\n if (\n !!currentBuyer.affiliateUsername &&\n !currentBuyer.isAffiliatePayoutConnected\n ) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.BUYER_BANNER_CONNECT_STRIPE,\n type: BannerType.stripeWarning\n });\n }\n }\n\n next();\n }\n\n // Check Super Admin Auth\n if (requiresSuperAdmin) {\n if (!isSuperAdmin) {\n next({ name: 'Login' });\n } else {\n next();\n }\n }\n } else {\n // Otherwise, proceed as intended\n next();\n }\n});\n\nexport default router;\n","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, vModelText as _vModelText, withDirectives as _withDirectives, vModelDynamic as _vModelDynamic, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"flex justify-between items-baseline\"\n}\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = {\n key: 1,\n class: \"boost-input__description\"\n}\nconst _hoisted_5 = { class: \"boost-input__input-wrapper\" }\nconst _hoisted_6 = { class: \"boost-input__label-icon-left-slot\" }\nconst _hoisted_7 = {\n key: 0,\n id: \"prefix-text\",\n class: \"margin-left-2\"\n}\nconst _hoisted_8 = { class: \"boost-input__label-icon-right-slot\" }\nconst _hoisted_9 = [\"id\", \"placeholder\", \"name\", \"disabled\"]\nconst _hoisted_10 = [\"id\", \"placeholder\", \"type\", \"name\", \"autocomplete\", \"disabled\"]\nconst _hoisted_11 = {\n key: 2,\n class: \"boost-input__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-input\", {\n 'boost-input--has-label': _ctx.label,\n 'boost-input--has-left-icon': _ctx.leftIcon,\n 'boost-input--has-right-icon': _ctx.rightIcon,\n 'boost-input--has-prefix': _ctx.hasPrefix,\n 'boost-input--password': _ctx.type === 'password',\n 'boost-input--collapse': !_ctx.fullWidth\n }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"boost-input__element flex flex--column\", {\n 'boost-input--error': _ctx.errorMessage || _ctx.customFailed\n }])\n }, [\n (!_ctx.hideLabel)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: \"boost-input__label\",\n for: _ctx.inputId\n }, [\n _createTextVNode(_toDisplayString(_ctx.label), 1),\n (_ctx.isRequired && _ctx.showRequiredIndicator)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"*\"))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_2),\n _renderSlot(_ctx.$slots, \"link\")\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"leftIcon\"),\n (_ctx.prefix)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(_ctx.prefix), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _renderSlot(_ctx.$slots, \"rightIcon\")\n ]),\n (_ctx.type === 'currency')\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n id: _ctx.inputId,\n ref: \"inputRef\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.value) = $event)),\n placeholder: _ctx.placeholder,\n class: \"boost-input__input\",\n type: \"text\",\n name: _ctx.name || _ctx.label,\n disabled: _ctx.disabled\n }, null, 8, _hoisted_9)), [\n [_vModelText, _ctx.value]\n ])\n : _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 1,\n id: _ctx.inputId,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.value) = $event)),\n class: _normalizeClass([\"boost-input__input disabled:cursor-not-allowed disabled:bg-gray-200 placeholder:text-gray-600\", {\n 'ignore-global-style': _ctx.ignoreGlobalStyle\n }]),\n placeholder: _ctx.placeholder,\n type: _ctx.innerType,\n name: _ctx.name || _ctx.label,\n autocomplete: _ctx.autocomplete,\n disabled: _ctx.disabled,\n onInput: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.onChange && _ctx.onChange(...args))),\n onBlur: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.handleBlur && _ctx.handleBlur(...args)))\n }, null, 42, _hoisted_10)), [\n [\n _vModelDynamic,\n _ctx.value,\n void 0,\n { trim: true }\n ]\n ])\n ]),\n (_ctx.errorMessage || _ctx.customError)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_11, [\n _createElementVNode(\"li\", null, _toDisplayString(_ctx.errorMessage), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.customError, (error) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: error }, _toDisplayString(error), 1))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2))\n}","\nimport { defineComponent, watch } from 'vue';\nimport { useField } from 'vee-validate';\nimport { useCurrencyInput, CurrencyInputOptions } from 'vue-currency-input';\n\nexport type InputType = 'text' | 'currency' | 'password';\n\nexport default defineComponent({\n name: 'BoostInput',\n props: {\n label: {\n type: String,\n default: ''\n },\n type: {\n type: String as () => InputType,\n default: 'text'\n },\n modelValue: {\n type: [String, Number],\n default: ''\n },\n returnType: {\n type: String,\n default: 'string'\n },\n name: {\n type: String\n },\n description: {\n type: String\n },\n rules: {\n type: String\n },\n placeholder: {\n type: String\n },\n inputId: {\n type: String,\n required: true\n },\n attributes: {\n type: String\n },\n fullWidth: {\n type: Boolean,\n default: true\n },\n prefix: {\n type: String\n },\n hideLabel: {\n type: Boolean,\n default: false\n },\n customError: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n ignoreGlobalStyle: {\n type: Boolean,\n default: false\n },\n currencyOptions: {\n type: Object as () => CurrencyInputOptions,\n default: () => {\n return {\n currency: 'USD',\n locale: 'en',\n precision: 2,\n valueScaling: 'precision',\n autoDecimalDigits: true\n };\n }\n },\n autocomplete: {\n type: String\n }\n },\n compatConfig: { COMPONENT_V_MODEL: false },\n emits: ['update:modelValue', 'input'],\n setup(props) {\n // Vee Validate\n\n const { value, errorMessage, handleBlur, handleChange, meta } = useField(\n props.inputId,\n props.rules,\n {\n initialValue: props.modelValue,\n // We need to set this to false when type === 'currency' because it\n // breaks the vue-currency-input functionality. The modelValue update\n // event is still emitted by this component, instead of the vee-validate\n // useField hook, so the binding still works properly. This was just\n // a case of 2 plugins competing and breaking each other.\n syncVModel: props.type !== 'currency'\n }\n );\n\n // Vue Currency\n const { inputRef, setOptions, setValue } = useCurrencyInput(\n props.currencyOptions\n );\n\n watch(\n () => props.modelValue,\n (val) => {\n if (props.type === 'currency') {\n setValue(val as number | null);\n } else {\n value.value = val.toString();\n }\n }\n );\n\n watch(\n () => props.currencyOptions,\n (options) => {\n setOptions(options);\n }\n );\n\n return {\n inputRef,\n value,\n handleChange,\n handleBlur,\n errorMessage,\n meta\n };\n },\n data() {\n return {\n innerType: 'text'\n };\n },\n computed: {\n isRequired(): boolean {\n if (this.rules) {\n return this.rules.includes('required');\n } else {\n return false;\n }\n },\n showRequiredIndicator(): boolean {\n if (!this.rules || !this.rules.includes('required')) {\n return false;\n }\n\n return !(\n this.attributes && this.attributes.includes('no-required-indicator')\n );\n },\n leftIcon(): boolean {\n return !!this.$slots.leftIcon;\n },\n rightIcon(): boolean {\n return !!this.$slots.rightIcon;\n },\n hasPrefix(): boolean {\n return !!this.prefix;\n },\n customFailed(): boolean {\n return this.customError.length > 0;\n }\n },\n mounted() {\n if (this.type) {\n this.innerType = this.type;\n }\n },\n methods: {\n onChange() {\n this.$emit('update:modelValue', this.value);\n this.$emit('input', this.value);\n },\n togglePassword() {\n this.innerType === 'text'\n ? (this.innerType = 'password')\n : (this.innerType = 'text');\n }\n }\n});\n","import { render } from \"./BoostInput.vue?vue&type=template&id=4d223c11&ts=true\"\nimport script from \"./BoostInput.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostInput.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostInput.vue?vue&type=style&index=0&id=4d223c11&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, vModelSelect as _vModelSelect, withDirectives as _withDirectives, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"flex justify--between\"\n}\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = {\n key: 1,\n class: \"boost-select__description\"\n}\nconst _hoisted_5 = [\"id\", \"name\", \"disabled\"]\nconst _hoisted_6 = {\n key: 0,\n value: \"null\",\n class: \"boost-select__placeholder\"\n}\nconst _hoisted_7 = [\"value\", \"selected\"]\nconst _hoisted_8 = {\n key: 2,\n class: \"boost-select__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-select\", {\n 'boost-select--default': _ctx.innerValue == null\n }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"boost-select__element\", {\n 'boost-select--error': !_ctx.hideErrors && _ctx.errorMessage,\n 'boost-select--default': _ctx.innerValue == null\n }])\n }, [\n (!_ctx.hideLabel)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: _ctx.inputId,\n class: \"boost-select__label\"\n }, [\n _createTextVNode(_toDisplayString(_ctx.label) + \" \", 1),\n (_ctx.isRequired && _ctx.showRequiredIndicator)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"*\"))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_2),\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.description), 1))\n : _createCommentVNode(\"\", true),\n _withDirectives((_openBlock(), _createElementBlock(\"select\", {\n id: _ctx.inputId,\n key: _ctx.inputId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.value) = $event)),\n class: \"boost-select__select\",\n name: _ctx.name,\n disabled: _ctx.disabled,\n onChange: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.change && _ctx.change(...args)))\n }, [\n (_ctx.value === undefined || _ctx.value === null || _ctx.value === '')\n ? (_openBlock(), _createElementBlock(\"option\", _hoisted_6, _toDisplayString(_ctx.placeHolder || _ctx.defaultOption), 1))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: option.name + option.value.toString(),\n value: option.value,\n selected: _ctx.isOptionSelected(option)\n }, _toDisplayString(option.name), 9, _hoisted_7))\n }), 128))\n ], 40, _hoisted_5)), [\n [_vModelSelect, _ctx.value]\n ]),\n (!_ctx.hideErrors && _ctx.errorMessage)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_8, [\n _createElementVNode(\"li\", null, _toDisplayString(_ctx.errorMessage), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport { useField } from 'vee-validate';\nimport { SelectOption } from '@/common/controls/BoostSelect/Select.interface';\n\nexport default defineComponent({\n name: 'BoostSelect',\n props: {\n label: {\n type: String,\n default: ''\n },\n description: {\n type: String\n },\n options: {\n type: Array as () => SelectOption[],\n required: true\n },\n modelValue: {\n type: [String, Number, Boolean]\n },\n rules: {\n type: String\n },\n placeHolder: {\n type: String\n },\n name: {\n type: String\n },\n inputId: {\n type: String,\n required: true\n },\n disabled: {\n type: Boolean,\n default: false\n },\n hideErrors: {\n type: Boolean,\n default: false\n },\n attributes: {\n type: String\n },\n hideLabel: {\n type: Boolean,\n default: true\n }\n },\n compatConfig: { COMPONENT_V_MODEL: false },\n emits: ['input', 'inputObject', 'update:modelValue'],\n setup(props) {\n const { value, errorMessage, handleBlur, handleChange, meta } = useField(\n props.inputId,\n props.rules,\n {\n initialValue: props.modelValue\n }\n );\n\n return {\n value,\n handleChange,\n handleBlur,\n errorMessage,\n meta\n };\n },\n data() {\n return {\n defaultOption: null as null | string,\n innerValue: null as null | string | number | boolean | undefined\n };\n },\n computed: {\n isRequired(): boolean {\n if (this.rules) {\n return this.rules.includes('required');\n } else {\n return false;\n }\n },\n showRequiredIndicator(): boolean {\n if (!this.rules || !this.rules.includes('required')) {\n return false;\n }\n\n return !(\n this.attributes && this.attributes.includes('no-required-indicator')\n );\n }\n },\n watch: {\n modelValue: {\n handler(newVal) {\n this.value = newVal;\n },\n deep: true\n }\n },\n mounted() {\n this.setPlaceholder();\n if (this.modelValue !== null) {\n this.innerValue = this.modelValue;\n }\n },\n methods: {\n setPlaceholder() {\n if (!this.modelValue) {\n this.defaultOption = 'Please choose an option';\n }\n },\n getSelectedOption(\n value?: string | number | boolean\n ): SelectOption | undefined {\n return this.options.find((option: SelectOption) => value == option.value);\n },\n isOptionSelected(option: SelectOption): boolean | undefined {\n if (this.modelValue) {\n return option.value === this.modelValue;\n }\n },\n change(e: Event) {\n if (e.target) {\n const option = this.getSelectedOption(this.value);\n if (option) {\n // TODO: which set of emitters is needed?\n // we use @input, but the using update:modelValue will directly update the value\n // so @input triggers our logic, but modelValue supplies the value\n // inputObject delivers a the entire option instead of just the value\n this.$emit('inputObject', option);\n this.$emit('update:modelValue', option.value);\n this.$emit('input', option.value);\n }\n }\n }\n }\n});\n","import { render } from \"./BoostSelect.vue?vue&type=template&id=4746b918&ts=true\"\nimport script from \"./BoostSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostSelect.vue?vue&type=style&index=0&id=4746b918&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, vModelText as _vModelText, mergeProps as _mergeProps, withDirectives as _withDirectives, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b98915e2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex justify--between\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = {\n key: 0,\n class: \"boost-textarea__description\"\n}\nconst _hoisted_5 = { class: \"boost-textarea__input-wrapper\" }\nconst _hoisted_6 = [\"id\", \"name\", \"rows\", \"placeholder\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"boost-textarea__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-textarea\", {\n 'boost-textarea--has-label': _ctx.value\n }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"boost-textarea__element flex flex--column\", {\n 'boost-textarea--error': _ctx.errorMessage\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: \"boost-textarea__label\",\n for: _ctx.inputId\n }, [\n _createTextVNode(_toDisplayString(_ctx.label) + \" \", 1),\n (_ctx.isRequired && _ctx.showRequiredIndicator)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"*\"))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_2),\n _renderSlot(_ctx.$slots, \"link\", {}, undefined, true)\n ]),\n (_ctx.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _withDirectives(_createElementVNode(\"textarea\", _mergeProps(_ctx.$attrs, {\n id: _ctx.inputId,\n ref: \"textarea\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.value) = $event)),\n class: \"boost-textarea__textarea\",\n name: _ctx.name,\n rows: _ctx.rows,\n placeholder: _ctx.placeholder,\n onInput: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onChange && _ctx.onChange(...args)))\n }), null, 16, _hoisted_6), [\n [\n _vModelText,\n _ctx.value,\n void 0,\n { trim: true }\n ]\n ])\n ]),\n (_ctx.errorMessage)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_7, [\n _createElementVNode(\"li\", null, _toDisplayString(_ctx.errorMessage), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2))\n}","\nimport { defineComponent, watch } from 'vue';\nimport { useField } from 'vee-validate';\n\nexport default defineComponent({\n name: 'BoostTextarea',\n props: {\n label: {\n type: String,\n default: ''\n },\n modelValue: {\n type: [String, Number],\n default: ''\n },\n name: {\n type: String\n },\n rules: {\n type: String\n },\n description: {\n type: String\n },\n rows: {\n type: Number,\n default: 5\n },\n placeholder: {\n type: String\n },\n inputId: {\n type: String,\n required: true\n },\n attributes: {\n type: String\n }\n },\n compatConfig: { COMPONENT_V_MODEL: false },\n emits: ['update:modelValue'],\n setup(props) {\n const { value, errorMessage, handleBlur, handleChange, meta } = useField(\n props.inputId,\n props.rules,\n {\n initialValue: props.modelValue\n }\n );\n\n watch(\n () => props.modelValue,\n (val) => {\n value.value = val.toString();\n }\n );\n\n return {\n value,\n handleChange,\n handleBlur,\n errorMessage,\n meta\n };\n },\n computed: {\n isRequired(): boolean {\n if (this.rules) {\n return this.rules.includes('required');\n } else {\n return false;\n }\n },\n showRequiredIndicator(): boolean {\n if (!this.rules || !this.rules.includes('required')) {\n return false;\n }\n\n return !(\n this.attributes && this.attributes.includes('no-required-indicator')\n );\n }\n },\n methods: {\n onChange() {\n this.$emit('update:modelValue', this.value);\n }\n }\n});\n","import { render } from \"./BoostTextarea.vue?vue&type=template&id=b98915e2&scoped=true&ts=true\"\nimport script from \"./BoostTextarea.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostTextarea.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostTextarea.vue?vue&type=style&index=0&id=b98915e2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b98915e2\"]])\n\nexport default __exports__","import { vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderSlot as _renderSlot, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withKeys as _withKeys } from \"vue\"\nimport _imports_0 from '../../assets/cancel-simple.svg'\n\n\nconst _hoisted_1 = { class: \"boost-keyword__wrapper flex flex--wrap\" }\nconst _hoisted_2 = { class: \"boost-keyword__input-wrapper t-12 no-pad\" }\nconst _hoisted_3 = {\n class: \"boost-keyword__add-button-disabled\",\n disabled: \"\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"boost-keyword__tray-wrapper t-12 no-pad\"\n}\nconst _hoisted_5 = { class: \"boost-keyword__tray\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"Remove Keyword\"\n}, null, -1)\nconst _hoisted_9 = {\n key: 0,\n class: \"boost-input__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostInput = _resolveComponent(\"BoostInput\")!\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-keyword\", {\n 'boost-keyword--no-label': _ctx.label === '',\n 'boost-keyword--align-end': _ctx.description\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"boost-keyword__controls flex flex--wrap justify--between align--top flex--full-width\", {\n 'boost-input--error': _ctx.errorMessage || _ctx.internalFailed\n }]),\n onKeydown: _cache[2] || (_cache[2] = _withKeys(_withModifiers(\n//@ts-ignore\n(...args) => (_ctx.addKeyword && _ctx.addKeyword(...args)), [\"prevent\"]), [\"enter\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostInput, {\n modelValue: _ctx.innerValue,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.innerValue) = $event)),\n label: _ctx.label,\n \"hide-label\": !_ctx.label?.length,\n placeholder: _ctx.placeholder,\n description: _ctx.description,\n \"input-id\": _ctx.inputId,\n \"custom-error\": _ctx.errorMessage,\n type: _ctx.type\n }, {\n rightIcon: _withCtx(() => [\n _withDirectives(_createElementVNode(\"div\", _hoisted_3, null, 512), [\n [_vShow, !_ctx.canClickAddKeyword]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"boost-keyword__add-button\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.addKeyword && _ctx.addKeyword(...args)))\n }, null, 512), [\n [_vShow, _ctx.canClickAddKeyword]\n ])\n ]),\n link: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"link\")\n ]),\n _: 3\n }, 8, [\"modelValue\", \"label\", \"hide-label\", \"placeholder\", \"description\", \"input-id\", \"custom-error\", \"type\"])\n ]),\n (!_ctx.hideTray)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.keywords, (keyword, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: _normalizeClass([\"boost-keyword__keyword\", {\n 'boost-keyword__keyword--disabled': keyword.isLocked\n }])\n }, [\n (_ctx.type === 'currency')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_ctx.formatPrice(keyword.label)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(keyword.label), 1)),\n (keyword.isLocked === false)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 2,\n \"input-id\": keyword,\n \"button-style\": \"none\",\n class: \"margin-left-3\",\n type: \"button\",\n onClick: ($event: any) => (_ctx.removeKeyword(index))\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 2\n }, 1032, [\"input-id\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 34),\n (_ctx.errorMessage || _ctx.internalErrors)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_9, [\n _createElementVNode(\"li\", null, _toDisplayString(_ctx.errorMessage || _ctx.internalErrors), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport { InputType } from '@/common/controls/BoostInput.vue';\nimport Helpers from '@/helpers';\nimport { useField } from 'vee-validate';\n\nexport interface Keyword {\n id: number;\n label: string | number;\n isLocked?: boolean;\n}\n\nexport default defineComponent({\n name: 'BoostKeywords',\n props: {\n label: {\n type: String,\n default: ''\n },\n type: {\n type: String as () => InputType,\n default: 'text'\n },\n modelValue: {\n type: Array as () => Keyword[]\n },\n name: {\n type: String\n },\n description: {\n type: String\n },\n rules: {\n type: String\n },\n placeholder: {\n type: String\n },\n inputId: {\n type: String,\n required: true\n },\n attributes: {\n type: String\n },\n maxCount: {\n type: Number,\n default: 5\n },\n minimumValue: {\n type: Number,\n default: null\n },\n hideTray: {\n type: Boolean\n },\n /**\n * Turn this on when using the keyword-added / removed hooks to avoid duplicated keys\n */\n muteChanges: {\n type: Boolean,\n default: false\n },\n customError: {\n type: String,\n default: ''\n }\n },\n emits: ['update:modelValue', 'input', 'keyword-added', 'keyword-removed'],\n setup(props) {\n // Vee Validate\n const { value, errorMessage, handleBlur, handleChange, meta } = useField(\n props.inputId,\n props.rules,\n {\n initialValue: props.modelValue\n }\n );\n\n return {\n value,\n handleChange,\n handleBlur,\n errorMessage,\n meta\n };\n },\n compatConfig: { COMPONENT_V_MODEL: false },\n data() {\n return {\n innerValue: '',\n default: true,\n keywords: [] as Keyword[],\n internalErrors: ''\n };\n },\n computed: {\n canAddKeyword(): boolean {\n return this.keywords.length <= this.maxCount - 1;\n },\n canClickAddKeyword(): boolean {\n return this.canAddKeyword && this.innerValue !== '';\n },\n internalFailed(): boolean {\n return this.internalErrors.length > 0;\n }\n },\n watch: {\n modelValue: {\n handler(newVal) {\n this.keywords = newVal;\n },\n deep: true\n },\n keywords(newVal) {\n if (!this.default && !this.muteChanges) {\n this.$emit('update:modelValue', newVal);\n this.$emit('input', newVal);\n } else if (this.keywords.length > 0 && !this.muteChanges) {\n this.$emit('update:modelValue', newVal);\n this.$emit('input', newVal);\n this.default = false;\n }\n },\n innerValue() {\n this.clearErrors();\n },\n customError(val) {\n if (val.length) {\n this.internalErrors = val;\n } else {\n this.internalErrors = '';\n }\n }\n },\n mounted() {\n if (this.modelValue) {\n this.keywords = this.modelValue;\n }\n },\n methods: {\n addKeyword() {\n if (!this.canClickAddKeyword) {\n this.throwError(`The maximum number of options is ${this.maxCount}.`);\n return;\n }\n // Duplicate check\n const keywords = this.keywords.map((keywordToCheck: Keyword) =>\n keywordToCheck.toString().toLowerCase()\n );\n if (\n this.innerValue &&\n keywords.includes(this.innerValue.toString().toLowerCase())\n ) {\n this.clearErrors();\n this.throwError('Cannot add a duplicate option.');\n return;\n }\n\n if (this.minimumValue) {\n // If the type === 'currency', then the minimumValue should be converted\n // to cents (* 100) since that is what the input value is converted to.\n const minValue =\n this.type === 'currency'\n ? this.minimumValue * 100\n : this.minimumValue;\n if (parseFloat(this.innerValue) < minValue) {\n this.clearErrors();\n this.throwError(\n `Cannot add a value less than ${\n this.type === 'currency' ? '$' : ''\n }${this.minimumValue}.`\n );\n return;\n }\n }\n\n // Add Keyword\n const keyword: Keyword = {\n id: this.keywords.length + 1,\n label: this.innerValue,\n isLocked: false\n };\n if (!this.muteChanges) {\n this.keywords.push(keyword);\n }\n this.innerValue = '';\n this.$emit('keyword-added', keyword);\n },\n removeKeyword(index: number) {\n this.keywords = this.keywords.filter(\n (keyword: Keyword, arrayIndex: number) => arrayIndex !== index\n );\n this.$emit('keyword-removed', index);\n },\n throwError(error: string) {\n this.internalErrors = error;\n },\n formatPrice(amount: string | number): string {\n return Helpers.currencyFormatter(amount);\n },\n clearErrors() {\n this.internalErrors = '';\n }\n }\n});\n","import { render } from \"./BoostKeywords.vue?vue&type=template&id=32027316&ts=true\"\nimport script from \"./BoostKeywords.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostKeywords.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostKeywords.vue?vue&type=style&index=0&id=32027316&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createBlock as _createBlock, createVNode as _createVNode, Teleport as _Teleport } from \"vue\"\n\nconst _hoisted_1 = { class: \"boost-table__table-wrapper\" }\nconst _hoisted_2 = { class: \"boost-table__table\" }\nconst _hoisted_3 = { class: \"boost-table__thead\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"boost-table__thead-column boost-table__row-column--icon\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"boost-table__thead-column boost-table__row-column--icon\"\n}\nconst _hoisted_6 = { class: \"boost-table__tbody\" }\nconst _hoisted_7 = { class: \"boost-table__row\" }\nconst _hoisted_8 = [\"col\", \"data-label\", \"onClick\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"boost-table__row-column boost-table__row-column--icon\"\n}\nconst _hoisted_10 = [\"colspan\"]\nconst _hoisted_11 = {\n key: 0,\n class: \"boost-table__action-tray\"\n}\nconst _hoisted_12 = { class: \"w-100 flex justify--between align--center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_BoostPagination = _resolveComponent(\"BoostPagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-table\", {\n 'boost-table--fixed': _ctx.fixedColumns,\n 'boost-table--no-arrow': _ctx.hideArrow,\n 'boost-table--has-context-menu': _ctx.hasContextMenu,\n 'boost-table--has-tray': _ctx.hasTray,\n 'boost-table--hide-overflow': _ctx.hideOverflow,\n 'boost-table--no-image': !_ctx.imageFirst\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"table\", _hoisted_2, [\n _createElementVNode(\"thead\", _hoisted_3, [\n _createElementVNode(\"tr\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.columns, (col, key) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n key: key,\n class: \"boost-table__thead-column\"\n }, [\n _createTextVNode(_toDisplayString(col.label) + \" \", 1),\n (col.id === 'selection')\n ? (_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n type: \"checkbox\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('select-all', $event.target.checked)))\n }, null, 32))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128)),\n (_ctx.showTray)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_4))\n : _createCommentVNode(\"\", true),\n (!_ctx.hideArrow)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_5))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"tbody\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.innerRows, (row, rowKey) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: rowKey }, [\n _createElementVNode(\"tr\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.columns, (col, columnKey) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: columnKey,\n col: col,\n class: _normalizeClass([col, \"boost-table__row-column\"]),\n \"data-label\": col.label,\n onClick: ($event: any) => (_ctx.clickAction(rowKey, columnKey, _ctx.clickId))\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n row: row,\n rowKey: rowKey,\n column: col,\n columnKey: columnKey,\n columnValue: row[col.id]\n }, () => [\n _createTextVNode(_toDisplayString(row[col.id]), 1)\n ])\n ], 10, _hoisted_8))\n }), 128)),\n (_ctx.showTray)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_9, [\n (_ctx.innerRows.length > 0 && !_ctx.innerRows[rowKey].showDetails)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 0,\n label: \"View\",\n \"button-style\": \"primary\",\n onClick: ($event: any) => (_ctx.toggleTray(rowKey, true))\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.innerRows.length > 0 && _ctx.innerRows[rowKey].showDetails)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n class: \"text-xs sm:text-sm\",\n label: \"Hide\",\n \"button-style\": \"link\",\n onClick: ($event: any) => (_ctx.toggleTray(rowKey, false))\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.innerRows.length > 0 && _ctx.innerRows[rowKey].showDetails)\n ? (_openBlock(), _createElementBlock(\"tr\", {\n key: `tray-row-${rowKey}`,\n class: \"boost-table__tray\"\n }, [\n _createElementVNode(\"td\", {\n colspan: _ctx.columns.length + 1\n }, [\n _renderSlot(_ctx.$slots, \"tray\", {\n row: row,\n rowKey: rowKey\n })\n ], 8, _hoisted_10)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ]),\n (_ctx.hasTray)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _renderSlot(_ctx.$slots, \"action-tray\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.hideFooter)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 1,\n to: \"#bottom-tray\"\n }, [\n _createVNode(_component_BoostPagination, {\n items: _ctx.rows,\n \"per-page\": _ctx.perPage,\n class: \"boost-table__pagination\",\n onItems: _ctx.handleItems\n }, null, 8, [\"items\", \"per-page\", \"onItems\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport { ColumnItem, RowItem } from './Table.interface';\n\n// Note: Be careful when using v-if to hide tables as it will interfere with the\n// coordination with the Boost Pagination component. Better to hide with display: none\nexport default defineComponent({\n name: 'BoostTable',\n props: {\n columns: {\n type: Array as () => ColumnItem[],\n required: true\n },\n rows: {\n type: Array as () => RowItem[],\n required: true\n },\n showTray: {\n type: Boolean,\n default: false\n },\n perPage: {\n type: Number,\n default: 25\n },\n fixedColumns: {\n type: Boolean,\n default: true\n },\n hideArrow: {\n type: Boolean,\n default: false\n },\n hideFooter: {\n type: Boolean,\n default: false\n },\n clickId: {\n type: [String, Number]\n },\n hasContextMenu: {\n type: Boolean,\n default: false\n },\n hasTray: {\n type: Boolean,\n default: false\n },\n hideOverflow: {\n type: Boolean,\n default: true\n },\n imageFirst: {\n type: Boolean,\n default: true\n }\n },\n emits: ['action', 'select-all'],\n data() {\n return {\n innerColumns: [] as ColumnItem[],\n innerRows: [] as RowItem[]\n };\n },\n watch: {\n rows: {\n handler(newValue) {\n if ((newValue as []).length !== this.innerRows.length) {\n this.innerRows = newValue.map((item: RowItem) => {\n item.showDetails = false;\n return item;\n });\n }\n },\n deep: true\n }\n },\n mounted() {\n this.innerRows = this.rows.map((item: RowItem) => {\n return item;\n });\n },\n methods: {\n toggleTray(rowIndex: number, value: boolean) {\n this.innerRows[rowIndex].showDetails = value;\n },\n clickAction(\n index: number,\n columnIndex: number,\n id: string | number | undefined\n ) {\n const isLastColumn = columnIndex === this.columns.length - 1;\n if (this.hasContextMenu && isLastColumn) {\n return;\n }\n if (id) {\n this.$emit('action', this.innerRows[index][id]);\n }\n },\n handleItems(newValue: RowItem[]) {\n this.innerRows = newValue.map((item: RowItem) => {\n return item;\n });\n }\n }\n});\n","import { render } from \"./BoostTable.vue?vue&type=template&id=bc3f3610&ts=true\"\nimport script from \"./BoostTable.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostTable.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostTable.vue?vue&type=style&index=0&id=bc3f3610&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24ac68a5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-stripe-card\" }\nconst _hoisted_2 = { class: \"boost-stripe-card__element\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"flex justify--between\"\n}\nconst _hoisted_4 = { class: \"boost-input__label\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = {\n ref: \"card\",\n class: \"boost-stripe-card__card\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"boost-stripe-card__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"label\", _hoisted_4, [\n _createTextVNode(_toDisplayString(_ctx.label), 1),\n (_ctx.showRequiredAsteriskOnLabel)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, \"*\"))\n : _createCommentVNode(\"\", true)\n ]),\n _renderSlot(_ctx.$slots, \"link\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, null, 512),\n (_ctx.errorMessage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _toDisplayString(_ctx.errorMessage), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { Stripe, StripeCardElement, Token } from '@stripe/stripe-js';\n\nexport default defineComponent({\n name: 'BoostStripeCard',\n props: {\n /**\n * Stripe\n * stripe needs to be instantiated in the parent component\n * so that the card element is generated with that same instance\n */\n stripe: {\n type: Object as () => Stripe,\n required: true\n },\n label: {\n type: String\n },\n showRequiredAsteriskOnLabel: {\n type: Boolean,\n default: true\n }\n },\n emits: ['card', 'incomplete'],\n data() {\n return {\n card: {} as StripeCardElement,\n hasError: false,\n errorMessage: '',\n token: {} as Token\n };\n },\n mounted() {\n if (this.stripe) {\n this.initCreditCardPayment();\n }\n },\n methods: {\n initCreditCardPayment() {\n const elements = this.stripe.elements();\n\n const style = {\n base: {\n 'color': '#18223a',\n 'fontFamily': '\"Inter\", sans-serif',\n 'fontSmoothing': 'antialiased',\n 'fontSize': '1rem',\n '::placeholder': {\n color: '#afb3c6'\n }\n },\n invalid: {\n color: '#f54d57',\n iconColor: '#f54d57'\n }\n };\n\n this.card = elements.create('card', {\n style\n });\n this.$nextTick(() => this.card.mount(this.$refs.card as HTMLElement));\n\n // eslint-disable-next-line\n // @ts-ignore\n this.card.on('change', (cardEvent) => {\n if (!cardEvent) {\n this.hasError = false;\n this.errorMessage = '';\n return;\n }\n\n if (cardEvent.error?.message) {\n this.hasError = true;\n this.errorMessage = cardEvent.error.message;\n }\n\n if (cardEvent.complete) {\n // Emit the Card up to parent to be incorporated into the Stripe API call\n this.$emit('card', this.card);\n this.errorMessage = '';\n }\n\n // If the cardEvent object is not complete but not empty, then the\n // input is missing some data. We emit an event to let the parent\n // know that the current payment info is not complete so that any\n // elements which might depend on this form (like a \"Submit\" button)\n // can be disabled.\n if (!cardEvent.complete && !cardEvent.empty) {\n this.$emit('incomplete');\n }\n });\n }\n }\n});\n","import { render } from \"./BoostStripeCard.vue?vue&type=template&id=24ac68a5&scoped=true&ts=true\"\nimport script from \"./BoostStripeCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostStripeCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostStripeCard.vue?vue&type=style&index=0&id=24ac68a5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-24ac68a5\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"boost-wallet-pay\" }\nconst _hoisted_2 = {\n ref: \"paymentRequestButton\",\n class: \"boost-wallet-pay__button\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"boost-wallet-pay__error-message\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, null, 512),\n (_ctx.errorMessage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_ctx.errorMessage), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { PaymentRequestPaymentMethodEvent, Stripe } from '@stripe/stripe-js';\n\nexport default defineComponent({\n name: 'BoostWalletPay',\n props: {\n /**\n * Stripe\n * stripe needs to be instantiated in the parent component\n * so that the card element is generated with that same instance\n */\n stripe: {\n type: Object as () => Stripe,\n required: true\n },\n /*\n * Amount\n * The amount in the currency's subunit (e.g. cents, yen, etc.)\n * i.e. 1000 = $10.00\n */\n amount: {\n type: Number,\n required: true\n },\n shippingAmount: {\n type: Number\n },\n paymentLabel: {\n type: String,\n required: true\n },\n paymentClientSecret: {\n type: String,\n required: true\n }\n },\n emits: ['success', 'failed', 'has-wallet', 'shipping', 'shipping-option'],\n data() {\n return {\n errorMessage: ''\n };\n },\n async mounted() {\n if (this.stripe) {\n await this.initDigitalWalletPayments();\n }\n },\n methods: {\n async initDigitalWalletPayments() {\n const elements = this.stripe.elements();\n\n /*\n * Stripe payment request config\n * US only\n * usd\n * request name, email, phone, shipping info from buyer to be recorded\n * in transaction\n */\n const paymentRequest = this.stripe.paymentRequest({\n country: 'US',\n currency: 'usd',\n total: {\n label: this.paymentLabel,\n amount: this.amount\n },\n requestPayerName: true,\n requestPayerEmail: true,\n requestPayerPhone: true,\n // needed for shipping calcs\n requestShipping: true\n });\n\n // Create Payment request button\n // eslint-disable-next-line\n // @ts-ignore\n const paymentRequestButton = elements.create('paymentRequestButton', {\n paymentRequest,\n style: {\n paymentRequestButton: {\n theme: 'dark',\n height: '40px'\n }\n }\n });\n\n // Wire up payment button element\n // eslint-disable-next-line\n // @ts-ignore\n const result = await paymentRequest.canMakePayment();\n if (result) {\n paymentRequestButton.mount(\n this.$refs.paymentRequestButton as HTMLElement\n );\n this.$emit('has-wallet', true);\n } else {\n this.$emit('has-wallet', true);\n }\n\n // Shipping changes\n // eslint-disable-next-line\n // @ts-ignore\n paymentRequest.on('shippingaddresschange', (ev) => {\n if (ev.shippingAddress.country !== 'US') {\n ev.updateWith({ status: 'invalid_shipping_address' });\n } else if (!ev.shippingAddress.postalCode) {\n ev.updateWith({ status: 'invalid_shipping_address' });\n } else {\n this.$emit('shipping', ev);\n }\n });\n\n paymentRequest.on('shippingoptionchange', (ev) => {\n this.$emit('shipping-option', ev);\n });\n\n // Listen for Wallet Pay payment attempt\n paymentRequest.on(\n 'paymentmethod',\n async (ev: PaymentRequestPaymentMethodEvent) => {\n const res = await this.stripe.confirmCardSetup(\n this.paymentClientSecret,\n // eslint-disable-next-line\n { payment_method: ev.paymentMethod.id },\n { handleActions: false }\n );\n\n if (res.error) {\n // Report to the browser that the payment failed, prompting it to\n // re-show the payment interface, or show an error message and close\n // the payment interface.\n ev.complete('fail');\n this.errorMessage = res.error.message as string;\n console.log('paymentmethod error: ');\n console.error(res.error);\n } else {\n // Report to the browser that the confirmation was successful, prompting\n // it to close the browser payment method collection interface.\n ev.complete('success');\n // Check if the PaymentIntent requires any actions and if so let Stripe.js\n // handle the flow.\n if (\n res.setupIntent &&\n res.setupIntent.status === 'requires_action'\n ) {\n // Let Stripe.js handle the rest of the payment flow.\n // const { error } = await this.stripe.confirmCardSetup(\n const { error } = await this.stripe.handleCardAction(\n this.paymentClientSecret\n );\n if (error) {\n // The payment failed -- ask your customer for a new payment method.\n this.errorMessage = error.message as string;\n this.$emit('failed');\n console.log('handleCardAction error: ');\n console.error(error);\n } else {\n // The payment has succeeded.\n this.$emit('success', ev);\n }\n } else {\n // The payment has succeeded.\n this.$emit('success', ev);\n }\n }\n }\n );\n }\n }\n});\n","import { render } from \"./BoostWalletPay.vue?vue&type=template&id=967924c0&ts=true\"\nimport script from \"./BoostWalletPay.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostWalletPay.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostWalletPay.vue?vue&type=style&index=0&id=967924c0&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"boost-control-footer__container content container--nav\" }\nconst _hoisted_2 = { class: \"flex boost-control-footer__content align--center\" }\nconst _hoisted_3 = { class: \"boost-control-footer__content-right\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"boost-control-footer\", {\n 'boost-control-footer--mobile-column': _ctx.stackOnMobile\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_BoostButton, {\n label: _ctx.cancelLabel,\n \"button-style\": \"optional\",\n onClick: _ctx.cancelHandler\n }, null, 8, [\"label\", \"onClick\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"additional-buttons\"),\n _createVNode(_component_BoostButton, {\n label: _ctx.saveLabel,\n disabled: _ctx.saveDisabled,\n type: \"submit\",\n \"button-style\": \"submit\",\n \"loading-state\": _ctx.saveLoadingState,\n \"loading-label\": _ctx.saveLoadingLabel,\n \"complete-label\": _ctx.saveCompleteLabel,\n onClick: _ctx.saveHandler\n }, null, 8, [\"label\", \"disabled\", \"loading-state\", \"loading-label\", \"complete-label\", \"onClick\"])\n ])\n ])\n ])\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport { ButtonLoadingState } from '@/common/controls/BoostButton.vue';\n\nexport default defineComponent({\n name: 'BoostControlFooter',\n props: {\n saveLabel: {\n type: String,\n default: 'Save'\n },\n cancelLabel: {\n type: String,\n default: 'Cancel'\n },\n saveDisabled: {\n type: Boolean,\n default: false\n },\n saveLoadingLabel: {\n type: String\n },\n saveCompleteLabel: {\n type: String\n },\n saveLoadingState: {\n type: String as () => ButtonLoadingState,\n default: ButtonLoadingState.initial\n },\n stackOnMobile: {\n type: Boolean,\n default: true\n }\n },\n emits: ['cancel', 'save'],\n methods: {\n cancelHandler() {\n this.$emit('cancel');\n },\n\n // Call @save=\"method\" on parent when not using a form\n saveHandler() {\n this.$emit('save');\n }\n }\n});\n","import { render } from \"./BoostControlFooter.vue?vue&type=template&id=2cf36806&ts=true\"\nimport script from \"./BoostControlFooter.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostControlFooter.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostControlFooter.vue?vue&type=style&index=0&id=2cf36806&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c095fd7a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"image-upload__container\" }\nconst _hoisted_2 = { class: \"image-upload__order-image\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"image-upload__order-image-no-image\"\n}\nconst _hoisted_5 = { class: \"image-upload__edit-icon\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"19\",\n viewBox: \"0 0 20 19\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M18.751 18.9397H11.498C11.084 18.9397 10.748 18.6037 10.748 18.1897C10.748 17.7757 11.084 17.4397 11.498 17.4397H18.751C19.165 17.4397 19.501 17.7757 19.501 18.1897C19.501 18.6037 19.165 18.9397 18.751 18.9397Z\",\n fill: \"black\"\n }),\n /*#__PURE__*/_createElementVNode(\"mask\", {\n id: \"mask0\",\n \"mask-type\": \"alpha\",\n maskUnits: \"userSpaceOnUse\",\n x: \"0\",\n y: \"0\",\n width: \"18\",\n height: \"19\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M0 0.000152588H17.1806V18.9397H0V0.000152588Z\",\n fill: \"white\"\n })\n ]),\n /*#__PURE__*/_createElementVNode(\"g\", { mask: \"url(#mask0)\" }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M11.1103 2.0168L1.69526 13.7918C1.52426 14.0058 1.46126 14.2818 1.52426 14.5468L2.20526 17.4318L5.24426 17.3938C5.53326 17.3908 5.80026 17.2618 5.97726 17.0418C9.19426 13.0168 15.3273 5.3428 15.5013 5.1178C15.6653 4.8518 15.7293 4.4758 15.6433 4.1138C15.5553 3.7428 15.3243 3.4278 14.9913 3.2268C14.9203 3.1778 13.2353 1.8698 13.1833 1.8288C12.5493 1.3208 11.6243 1.4088 11.1103 2.0168ZM1.61327 18.9398C1.26627 18.9398 0.964274 18.7018 0.883274 18.3628L0.0642743 14.8918C-0.104726 14.1728 0.0632743 13.4308 0.524274 12.8548L9.94427 1.0728C9.94827 1.0688 9.95127 1.0638 9.95527 1.0598C10.9883 -0.175205 12.8563 -0.357205 14.1163 0.653795C14.1663 0.692795 15.8393 1.99279 15.8393 1.99279C16.4473 2.35479 16.9223 3.0018 17.1023 3.76779C17.2813 4.52579 17.1513 5.30779 16.7343 5.96879C16.7033 6.01779 16.6763 6.05979 7.14827 17.9798C6.68927 18.5518 6.00127 18.8848 5.26227 18.8938L1.62327 18.9398H1.61327Z\",\n fill: \"black\"\n })\n ]),\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n \"clip-rule\": \"evenodd\",\n d: \"M14.2234 8.6848C14.0634 8.6848 13.9034 8.63381 13.7664 8.52981L8.31442 4.34181C7.98642 4.08981 7.92442 3.61981 8.17642 3.28981C8.42942 2.96181 8.89942 2.90081 9.22842 3.15281L14.6814 7.33981C15.0094 7.59181 15.0714 8.06281 14.8184 8.39181C14.6714 8.58381 14.4484 8.6848 14.2234 8.6848Z\",\n fill: \"black\"\n })\n], -1))\nconst _hoisted_7 = { class: \"image-upload__controls\" }\nconst _hoisted_8 = { class: \"image-upload__label\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"image-upload__help-text\" }, \" Recommended: JPG, PNG, GIF, up to 10MB. \", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"flex gap-6\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _component_PopupComponent = _resolveComponent(\"PopupComponent\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"image-upload\", {\n 'image-upload--mini': _ctx.mode === 'mini'\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.hasImage)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n ref: \"image_preview\",\n src: _ctx.imageSrc,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.openFile && _ctx.openFile(...args)))\n }, null, 8, _hoisted_3))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_4)),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_BoostButton, {\n class: \"image-upload__edit-icon-button\",\n \"button-style\": \"none\",\n onClick: _ctx.openFile\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(_ctx.label), 1),\n _hoisted_9,\n (_ctx.hasImage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(_component_BoostButton, {\n type: \"button\",\n label: \"Update\",\n \"button-style\": \"optional\",\n class: \"margin-bottom-0\",\n onClick: _ctx.openFile\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_BoostButton, {\n type: \"button\",\n label: \"Remove\",\n class: \"text-xs sm:text-sm\",\n \"button-style\": \"link\",\n onClick: _ctx.confirmRemoveImage\n }, null, 8, [\"onClick\"])\n ]))\n : (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n type: \"button\",\n label: \"Upload\",\n \"button-style\": \"primary\",\n onClick: _ctx.openFile\n }, null, 8, [\"onClick\"]))\n ])\n ]),\n _createElementVNode(\"input\", {\n ref: \"image_upload_file_open\",\n class: \"t-12 no-pad image-upload__input\",\n type: \"file\",\n accept: \".jpg, .jpeg, .png, .gif\",\n onChange: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.getFileContents && _ctx.getFileContents(...args)))\n }, null, 544),\n (_ctx.showPopup)\n ? (_openBlock(), _createBlock(_component_PopupComponent, {\n key: 0,\n message: _ctx.popup.message,\n title: _ctx.popup.title,\n button1: _ctx.popup.button1,\n button2: _ctx.popup.button2,\n onRemoveImage: _ctx.remove,\n onCancelModal: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showPopup = false))\n }, null, 8, [\"message\", \"title\", \"button1\", \"button2\", \"onRemoveImage\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n}","\nimport { defineComponent } from 'vue';\nimport { uploadImage } from '@/../dataService/cloudinary';\nimport PopupComponent from '@/common/PopupComponent/PopupComponent.vue';\nimport {\n PopupMessage,\n PopupMessageButtonCaptions,\n PopupMessageStrings,\n PopupMessageTitles\n} from '../PopupComponent/PopupMessages';\nimport { store } from '@/store';\nimport {\n BannerMessageStrings,\n BannerType\n} from '../BannerComponent/BannerMessages';\n\nconst BoostImageUpload = defineComponent({\n components: {\n PopupComponent\n },\n props: {\n label: {\n type: String,\n default: 'Upload Image'\n },\n imageUrl: {\n type: String,\n required: false,\n default: undefined\n },\n writeOnPreview: {\n type: Boolean,\n required: false,\n default: false\n },\n mode: {\n type: String as () => 'default' | 'mini',\n default: 'default'\n },\n confirmOnRemove: {\n type: Boolean,\n default: false\n }\n },\n emits: ['imageFileUploaded', 'update:imageUrl', 'imageFilePreviewed'],\n data() {\n return {\n imageSrc: this.imageUrl,\n imageFile: undefined as unknown as File,\n loadingImage: false,\n showPopup: false,\n popup: {} as PopupMessage\n };\n },\n\n computed: {\n hasImage(): boolean {\n return (\n this.loadingImage || (this.imageSrc != null && this.imageSrc !== '')\n );\n }\n },\n\n watch: {\n imageUrl(newValue: string) {\n this.imageSrc = newValue;\n }\n },\n\n methods: {\n async previewAndUploadFile(file: File) {\n this.loadingImage = true;\n this.imageFile = file;\n this.getImagePreviews();\n\n if (this.writeOnPreview) {\n this.imageSrc = await uploadImage(this.imageFile);\n this.$emit('update:imageUrl', this.imageSrc);\n }\n },\n\n openFile() {\n const i = this.$refs.image_upload_file_open as HTMLInputElement;\n if (i) {\n i.click();\n }\n },\n\n confirmRemoveImage(optionKey: string) {\n if (this.confirmOnRemove) {\n this.popup = {\n title: PopupMessageTitles.DELETE_CONFIRMATION,\n message: PopupMessageStrings.CANCEL_IMAGE_REMOVAL,\n button1: {\n caption: PopupMessageButtonCaptions.OK_YES,\n primary: true,\n event: 'remove-image',\n payload: { optionKey }\n },\n button2: {\n caption: PopupMessageButtonCaptions.CANCEL_NO_4,\n event: 'cancel-modal'\n }\n };\n\n this.showPopup = true;\n } else {\n this.remove();\n }\n },\n\n remove() {\n this.imageSrc = '';\n const i = this.$refs.image_upload_file_open as HTMLInputElement;\n i.value = '';\n this.loadingImage = false;\n this.showPopup = false;\n this.$emit('update:imageUrl', '');\n },\n\n getFileContents(e: Event) {\n const fileInput = e.target as HTMLInputElement;\n if (fileInput?.files?.length) {\n // 10 MB\n if (fileInput.files[0].size > 10 * 1024 * 1024) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_SIZE_EXCEEDED,\n type: BannerType.error\n });\n return;\n }\n\n const acceptedMimeTypes = [\n 'image/apng',\n 'image/avif',\n 'image/gif',\n 'image/jpeg',\n 'image/png',\n 'image/svg+xml',\n 'image/webp'\n ];\n if (!acceptedMimeTypes.includes(fileInput.files[0].type)) {\n store.commit('global/setBannerStatus', {\n text: BannerMessageStrings.GENERIC_INVALID_FILE,\n type: BannerType.error\n });\n return;\n }\n\n this.previewAndUploadFile(fileInput.files[0]);\n }\n },\n\n // Get the image preview for the file\n getImagePreviews() {\n const reader = new FileReader();\n\n // Add an event listener for when the file has been loaded to update the src on the file preview\n reader.onload = () => {\n const result = reader.result;\n if (result != null) {\n this.imageSrc =\n typeof result === 'string'\n ? result\n : Buffer.from(result).toString();\n\n const img = this.$refs.image_preview as HTMLImageElement;\n const imageFilePreviewedEventArgs: ImageFilePreviewedEvent = {\n target: img,\n data: this.imageSrc\n };\n\n this.$emit('imageFilePreviewed', imageFilePreviewedEventArgs);\n }\n };\n\n // Read the data for the file in through the reader. When it has\n // been loaded, we listen to the event propagated (`onload`) and\n // set the imageSrc to what was loaded from the reader\n reader.readAsDataURL(this.imageFile);\n }\n }\n});\n\nexport interface ImageFilePreviewedEvent {\n target: HTMLImageElement;\n data: string;\n}\n\nexport interface ImageFileUploadedEvent {\n target: HTMLImageElement;\n url: string;\n}\n\nexport default BoostImageUpload;\n","import { render } from \"./BoostImageUpload.vue?vue&type=template&id=c095fd7a&scoped=true&ts=true\"\nimport script from \"./BoostImageUpload.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostImageUpload.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostImageUpload.vue?vue&type=style&index=0&id=c095fd7a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c095fd7a\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3c7fc680\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"single__header-image flex align--center image-view-only image-view-only__container\" }\nconst _hoisted_2 = { class: \"rounded-image\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"type-image\"\n}\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = { class: \"image-view-only__title-section\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: _ctx.imageUrl || require('../../assets/default-product.jpg'),\n alt: \"Tags image\"\n }, null, 8, _hoisted_3),\n (_ctx.typeImageUrl)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: _ctx.typeImageUrl,\n alt: \"Type indicator image\"\n }, null, 8, _hoisted_5)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.title), 1),\n _renderSlot(_ctx.$slots, \"pills\", {}, undefined, true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nconst BoostViewOnlyImage = defineComponent({\n props: {\n title: {\n type: String,\n default: 'Image'\n },\n altText: {\n type: String,\n default: 'Image'\n },\n imageUrl: {\n type: String,\n required: false,\n default: undefined\n },\n typeImageUrl: {\n type: String,\n required: false,\n default: undefined\n }\n }\n});\n\nexport default BoostViewOnlyImage;\n","import { render } from \"./BoostViewOnlyImage.vue?vue&type=template&id=3c7fc680&scoped=true&ts=true\"\nimport script from \"./BoostViewOnlyImage.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostViewOnlyImage.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostViewOnlyImage.vue?vue&type=style&index=0&id=3c7fc680&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c7fc680\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"boost-pagination\" }\nconst _hoisted_2 = { class: \"boost-pagination__controls-row flex justify--between align--center\" }\nconst _hoisted_3 = { class: \"boost-pagination__controls flex flex--wrap align--center flex--grow\" }\nconst _hoisted_4 = { class: \"margin-right-6\" }\nconst _hoisted_5 = [\"disabled\"]\nconst _hoisted_6 = {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}\nconst _hoisted_7 = [\"stroke\"]\nconst _hoisted_8 = [\"disabled\"]\nconst _hoisted_9 = {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}\nconst _hoisted_10 = [\"stroke\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.items.length), 1),\n _createTextVNode(\" results \")\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createTextVNode(\" Page \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.currentPage), 1),\n _createTextVNode(\" of \"),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.totalPages || 1), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n class: \"boost-pagination__button\",\n disabled: !_ctx.canGoPrevious,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.goPrevious && _ctx.goPrevious(...args)))\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_6, [\n _createElementVNode(\"path\", {\n d: \"M12.5 15.8334L6.66666 10.0001L12.5 4.16675\",\n stroke: !_ctx.canGoPrevious ? '#CBCEDB' : '#18223A',\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }, null, 8, _hoisted_7)\n ]))\n ], 8, _hoisted_5),\n _createElementVNode(\"button\", {\n class: \"boost-pagination__button\",\n disabled: !_ctx.canGoNext,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.goNext && _ctx.goNext(...args)))\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_9, [\n _createElementVNode(\"path\", {\n d: \"M7.5 4.1666L13.3333 9.99993L7.5 15.8333\",\n stroke: !_ctx.canGoNext ? '#CBCEDB' : '#18223A',\n \"stroke-width\": \"1.66667\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }, null, 8, _hoisted_10)\n ]))\n ], 8, _hoisted_8)\n ])\n ])\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\n// Note: Be careful when using v-if to hide tables as it will interfere with the\n// coordination with the Boost Table component. Better to hide with display: none\n\nexport default defineComponent({\n name: 'BoostPagination',\n props: {\n items: {\n // eslint-disable-next-line @typescript-eslint/ban-types\n type: Array as () => Array<{}>,\n required: true\n },\n perPage: {\n type: Number,\n default: 25\n }\n },\n emits: ['items'],\n data() {\n return {\n currentPage: 1\n };\n },\n computed: {\n // eslint-disable-next-line @typescript-eslint/ban-types\n computedItems(): Array<{}> {\n if (this.items.length > 0) {\n const startCurrentPage = (this.currentPage - 1) * this.perPage;\n const endCurrentPage = this.currentPage * this.perPage;\n // eslint-disable-next-line @typescript-eslint/ban-types\n return this.items.filter((item: {}, index: number) => {\n if (index >= startCurrentPage && index < endCurrentPage) {\n return true;\n }\n });\n }\n return [];\n },\n totalPages(): number {\n if (this.items) {\n return Math.ceil(this.items.length / this.perPage);\n }\n return 0;\n },\n canGoNext(): boolean {\n return this.currentPage < this.totalPages;\n },\n canGoPrevious(): boolean {\n return this.currentPage > 1;\n }\n },\n watch: {\n items: {\n handler(newVal, oldVal) {\n if (newVal.length !== oldVal.length) {\n this.currentPage = 1;\n }\n },\n deep: true\n },\n computedItems(newVal) {\n this.$emit('items', newVal);\n }\n },\n methods: {\n goNext() {\n if (this.canGoNext) {\n this.currentPage++;\n }\n },\n goPrevious() {\n if (this.canGoPrevious) {\n this.currentPage--;\n }\n }\n }\n});\n","import { render } from \"./BoostPagination.vue?vue&type=template&id=49553447&ts=true\"\nimport script from \"./BoostPagination.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostPagination.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostPagination.vue?vue&type=style&index=0&id=49553447&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelCheckbox as _vModelCheckbox, createElementVNode as _createElementVNode, withDirectives as _withDirectives, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"boost-toggle\" }\nconst _hoisted_2 = { class: \"boost-toggle__element flex flex--row flex--no-wrap\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"boost-toggle__description\"\n}\nconst _hoisted_4 = { class: \"boost-toggle__input-wrapper\" }\nconst _hoisted_5 = [\"id\", \"value\", \"disabled\"]\nconst _hoisted_6 = [\"for\"]\nconst _hoisted_7 = [\"for\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(_ctx.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"input\", {\n id: _ctx.inputId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.model) = $event)),\n type: \"checkbox\",\n class: \"boost-toggle__input\",\n value: _ctx.model,\n disabled: _ctx.disabled\n }, null, 8, _hoisted_5), [\n [_vModelCheckbox, _ctx.model]\n ]),\n _createElementVNode(\"label\", { for: _ctx.inputId }, null, 8, _hoisted_6)\n ]),\n (!_ctx.hideLabel)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 1,\n class: _normalizeClass([\"boost-toggle__label\", { 'boost-toggle-disabled': _ctx.disabled }]),\n for: _ctx.inputId\n }, _toDisplayString(_ctx.label), 11, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostToggle',\n props: {\n inputId: {\n type: String,\n required: true\n },\n description: {\n type: String\n },\n hideLabel: {\n type: Boolean,\n default: false\n },\n modelValue: {\n type: Boolean,\n default: false\n },\n label: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n }\n },\n emits: ['input', 'update:modelValue'],\n computed: {\n model: {\n get() {\n return this.modelValue;\n },\n set(value: boolean) {\n this.$emit('update:modelValue', value);\n }\n }\n }\n});\n","import { render } from \"./BoostToggle.vue?vue&type=template&id=72545915&ts=true\"\nimport script from \"./BoostToggle.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostToggle.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostToggle.vue?vue&type=style&index=0&id=72545915&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, resolveDirective as _resolveDirective, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ec7b1bf6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { class: \"card__wrapper\" }\nconst _hoisted_3 = { class: \"card__title\" }\nconst _hoisted_4 = { class: \"card__message\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"rounded-image rounded-image--small card__image\"\n}\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = {\n v_if: \"subMessage\",\n class: \"sub-message\"\n}\nconst _hoisted_8 = { class: \"flex align--center\" }\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"card__expander\"\n}\nconst _hoisted_11 = {\n key: 0,\n class: \"card__expander__details\"\n}\nconst _hoisted_12 = { class: \"card__summary\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n const _directive_sanitized = _resolveDirective(\"sanitized\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.imageUrl)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, [\n _createElementVNode(\"img\", {\n src: _ctx.imageUrl,\n alt: \"image\"\n }, null, 8, _hoisted_6)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.message), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.subMessage), 1)\n ]),\n (_ctx.hasExpander)\n ? (_openBlock(), _createBlock(_component_BoostButton, {\n key: 1,\n \"button-style\": \"none\",\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.isExpanded = !_ctx.isExpanded))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"img\", {\n src: \n _ctx.isExpanded\n ? require('../assets/chevron-up.svg')\n : require('../assets/chevron-down.svg')\n ,\n alt: \"Expand or close\"\n }, null, 8, _hoisted_9)\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.hasExpander && _ctx.isExpanded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n (_ctx.details)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.details, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.name,\n class: \"card__expander__details__item\"\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.name), 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"div\", _hoisted_12, null, 512), [\n [_directive_sanitized, _ctx.summary]\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostCard',\n props: {\n title: {\n type: String,\n default: ''\n },\n imageUrl: {\n type: String,\n default: ''\n },\n message: {\n type: String,\n default: ''\n },\n subMessage: {\n type: String,\n default: ''\n },\n summary: {\n type: String,\n default: ''\n },\n hasExpander: {\n type: Boolean,\n default: false\n },\n details: {\n type: Object,\n default: undefined\n }\n },\n data() {\n return {\n isExpanded: false\n };\n }\n});\n","import { render } from \"./BoostCard.vue?vue&type=template&id=ec7b1bf6&scoped=true&ts=true\"\nimport script from \"./BoostCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostCard.vue?vue&type=style&index=0&id=ec7b1bf6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ec7b1bf6\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-514b49bd\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"stepcard\" }\nconst _hoisted_2 = [\"src\", \"alt\"]\nconst _hoisted_3 = { class: \"stepcard__wrapper\" }\nconst _hoisted_4 = { class: \"stepcard__number\" }\nconst _hoisted_5 = { class: \"stepcard__title\" }\nconst _hoisted_6 = { class: \"stepcard__message\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"stepcard__content\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.imageUrl,\n alt: _ctx.number + ' image'\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.number), 1),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.message), 1),\n (_ctx.hasContent)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostStepCard',\n props: {\n number: {\n type: String,\n default: ''\n },\n title: {\n type: String,\n default: ''\n },\n message: {\n type: String,\n default: ''\n },\n imageUrl: {\n type: String,\n default: ''\n },\n hasContent: {\n type: Boolean,\n default: false\n }\n }\n});\n","import { render } from \"./BoostStepCard.vue?vue&type=template&id=514b49bd&scoped=true&ts=true\"\nimport script from \"./BoostStepCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostStepCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostStepCard.vue?vue&type=style&index=0&id=514b49bd&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-514b49bd\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6c4328dd\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-info-card flex\" }\nconst _hoisted_2 = { class: \"flex w-100 align--center\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"boost-info-card__icon flex justify--start align--center\"\n}\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"boost-info-card__action flex justify--start\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", { src: _ctx.icon }, null, 8, _hoisted_4)\n ]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"action\", {}, undefined, true)\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'BoostInfoCard',\n props: {\n icon: {\n type: String,\n default: ''\n }\n }\n});\n","import { render } from \"./BoostInfoCard.vue?vue&type=template&id=6c4328dd&scoped=true&ts=true\"\nimport script from \"./BoostInfoCard.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostInfoCard.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostInfoCard.vue?vue&type=style&index=0&id=6c4328dd&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6c4328dd\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostSelect = _resolveComponent(\"BoostSelect\")!\n\n return (_openBlock(), _createBlock(_component_BoostSelect, {\n modelValue: _ctx.selection,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selection) = $event)),\n \"place-holder\": \"Please select a state\",\n \"input-id\": _ctx.inputId,\n options: _ctx.stateList,\n \"hide-label\": false,\n label: _ctx.label,\n rules: _ctx.rules,\n attributes: _ctx.attributes,\n onInput: _ctx.onChange\n }, null, 8, [\"modelValue\", \"input-id\", \"options\", \"label\", \"rules\", \"attributes\", \"onInput\"]))\n}","\nimport { defineComponent, watch } from 'vue';\nimport { useField } from 'vee-validate';\n\nexport default defineComponent({\n name: 'BoostStatePicker',\n props: {\n modelValue: {\n type: [String, Number],\n default: ''\n },\n rules: {\n type: String\n },\n inputId: {\n type: String,\n required: true\n },\n label: {\n type: String,\n required: false\n },\n attributes: {\n type: String\n }\n },\n emits: ['update:modelValue'],\n setup(props) {\n const { value, errorMessage, handleBlur, handleChange, meta } = useField(\n props.inputId,\n props.rules,\n {\n initialValue: props.modelValue\n }\n );\n\n watch(\n () => props.modelValue,\n (val) => {\n value.value = val.toString();\n }\n );\n\n return {\n value,\n handleChange,\n handleBlur,\n errorMessage,\n meta\n };\n },\n data() {\n return {\n stateList: [\n { name: 'ALABAMA', value: 'AL' },\n { name: 'ALASKA', value: 'AK' },\n { name: 'AMERICAN SAMOA', value: 'AS' },\n { name: 'ARIZONA', value: 'AZ' },\n { name: 'ARKANSAS', value: 'AR' },\n { name: 'CALIFORNIA', value: 'CA' },\n { name: 'COLORADO', value: 'CO' },\n { name: 'CONNECTICUT', value: 'CT' },\n { name: 'DELAWARE', value: 'DE' },\n { name: 'DISTRICT OF COLUMBIA', value: 'DC' },\n { name: 'FEDERATED STATES OF MICRONESIA', value: 'FM' },\n { name: 'FLORIDA', value: 'FL' },\n { name: 'GEORGIA', value: 'GA' },\n { name: 'GUAM', value: 'GU' },\n { name: 'HAWAII', value: 'HI' },\n { name: 'IDAHO', value: 'ID' },\n { name: 'ILLINOIS', value: 'IL' },\n { name: 'INDIANA', value: 'IN' },\n { name: 'IOWA', value: 'IA' },\n { name: 'KANSAS', value: 'KS' },\n { name: 'KENTUCKY', value: 'KY' },\n { name: 'LOUISIANA', value: 'LA' },\n { name: 'MAINE', value: 'ME' },\n { name: 'MARSHALL ISLANDS', value: 'MH' },\n { name: 'MARYLAND', value: 'MD' },\n { name: 'MASSACHUSETTS', value: 'MA' },\n { name: 'MICHIGAN', value: 'MI' },\n { name: 'MINNESOTA', value: 'MN' },\n { name: 'MISSISSIPPI', value: 'MS' },\n { name: 'MISSOURI', value: 'MO' },\n { name: 'MONTANA', value: 'MT' },\n { name: 'NEBRASKA', value: 'NE' },\n { name: 'NEVADA', value: 'NV' },\n { name: 'NEW HAMPSHIRE', value: 'NH' },\n { name: 'NEW JERSEY', value: 'NJ' },\n { name: 'NEW MEXICO', value: 'NM' },\n { name: 'NEW YORK', value: 'NY' },\n { name: 'NORTH CAROLINA', value: 'NC' },\n { name: 'NORTH DAKOTA', value: 'ND' },\n { name: 'NORTHERN MARIANA ISLANDS', value: 'MP' },\n { name: 'OHIO', value: 'OH' },\n { name: 'OKLAHOMA', value: 'OK' },\n { name: 'OREGON', value: 'OR' },\n { name: 'PALAU', value: 'PW' },\n { name: 'PENNSYLVANIA', value: 'PA' },\n { name: 'PUERTO RICO', value: 'PR' },\n { name: 'RHODE ISLAND', value: 'RI' },\n { name: 'SOUTH CAROLINA', value: 'SC' },\n { name: 'SOUTH DAKOTA', value: 'SD' },\n { name: 'TENNESSEE', value: 'TN' },\n { name: 'TEXAS', value: 'TX' },\n { name: 'UTAH', value: 'UT' },\n { name: 'VERMONT', value: 'VT' },\n { name: 'VIRGIN ISLANDS', value: 'VI' },\n { name: 'VIRGINIA', value: 'VA' },\n { name: 'WASHINGTON', value: 'WA' },\n { name: 'WEST VIRGINIA', value: 'WV' },\n { name: 'WISCONSIN', value: 'WI' },\n { name: 'WYOMING', value: 'WY' }\n ],\n selection: ''\n };\n },\n computed: {\n isRequired(): boolean {\n if (this.rules) {\n return this.rules.includes('required');\n } else {\n return false;\n }\n },\n showRequiredIndicator(): boolean {\n if (!this.rules || !this.rules.includes('required')) {\n return false;\n }\n\n return !(\n this.attributes && this.attributes.includes('no-required-indicator')\n );\n }\n },\n methods: {\n onChange() {\n this.$emit('update:modelValue', this.value);\n }\n }\n});\n","import { render } from \"./BoostStatePicker.vue?vue&type=template&id=eec5be52&scoped=true&ts=true\"\nimport script from \"./BoostStatePicker.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostStatePicker.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostStatePicker.vue?vue&type=style&index=0&id=eec5be52&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-eec5be52\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex-col flex-nowrap gap-1 text-sm truncate\" }\nconst _hoisted_2 = { class: \"text-gray-600\" }\nconst _hoisted_3 = { class: \"text-gray-900 whitespace-nowrap truncate\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.label), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.text), 1)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'TagsTextField',\n props: {\n text: {\n type: String,\n required: true\n },\n label: {\n type: String,\n required: true\n }\n }\n});\n","import { render } from \"./TagsTextField.vue?vue&type=template&id=2bf3df4c&ts=true\"\nimport script from \"./TagsTextField.vue?vue&type=script&lang=ts\"\nexport * from \"./TagsTextField.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-center gap-2 bg-gray-200 border border-gray-300 px-3 rounded-full text-gray-900\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"bg-green-500 w-1 h-1 rounded-full\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createTextVNode(\" \" + _toDisplayString(_ctx.text), 1)\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'TagsTextField',\n props: {\n text: {\n type: String,\n required: true\n }\n }\n});\n","import { render } from \"./TagsPill.vue?vue&type=template&id=b0099396&ts=true\"\nimport script from \"./TagsPill.vue?vue&type=script&lang=ts\"\nexport * from \"./TagsPill.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = {\n \"aria-live\": \"assertive\",\n class: \"z-10 pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:p-6\"\n}\nconst _hoisted_2 = { class: \"flex w-full flex-col items-center space-y-4 sm:items-start\" }\nconst _hoisted_3 = { class: \"p-4\" }\nconst _hoisted_4 = { class: \"flex items-start\" }\nconst _hoisted_5 = { class: \"flex-shrink-0 p-1.5\" }\nconst _hoisted_6 = {\n key: 0,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"39\",\n height: \"39\",\n viewBox: \"0 0 39 39\",\n fill: \"none\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"g\", { \"clip-path\": \"url(#clip0_2567_305)\" }, [\n /*#__PURE__*/_createElementVNode(\"rect\", {\n x: \"1.50012\",\n y: \"36.9004\",\n width: \"35.4\",\n height: \"35.4\",\n rx: \"4.5\",\n transform: \"rotate(-90 1.50012 36.9004)\",\n stroke: \"white\",\n \"stroke-width\": \"3\"\n }),\n /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"13.7485\",\n cy: \"13.2002\",\n r: \"3\",\n fill: \"white\"\n }),\n /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"24.7202\",\n cy: \"13.2002\",\n r: \"3\",\n fill: \"white\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M30.1713 30.1716C30.1713 24.1123 25.2592 19.2002 19.1998 19.2002C13.1405 19.2002 8.22839 24.1123 8.22839 30.1716\",\n stroke: \"white\",\n \"stroke-width\": \"3\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"defs\", null, [\n /*#__PURE__*/_createElementVNode(\"clipPath\", { id: \"clip0_2567_305\" }, [\n /*#__PURE__*/_createElementVNode(\"rect\", {\n width: \"38.4\",\n height: \"38.4\",\n fill: \"white\",\n transform: \"matrix(0 1 -1 0 38.4 0)\"\n })\n ])\n], -1)\nconst _hoisted_9 = [\n _hoisted_7,\n _hoisted_8\n]\nconst _hoisted_10 = {\n key: 1,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"39\",\n height: \"39\",\n viewBox: \"0 0 39 39\",\n fill: \"none\"\n}\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"g\", { \"clip-path\": \"url(#clip0_2567_386)\" }, [\n /*#__PURE__*/_createElementVNode(\"rect\", {\n x: \"1.50012\",\n y: \"36.9004\",\n width: \"35.4\",\n height: \"35.4\",\n rx: \"4.5\",\n transform: \"rotate(-90 1.50012 36.9004)\",\n stroke: \"white\",\n \"stroke-width\": \"3\"\n }),\n /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"13.7485\",\n cy: \"13.2002\",\n r: \"3\",\n fill: \"white\"\n }),\n /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"24.7202\",\n cy: \"13.2002\",\n r: \"3\",\n fill: \"white\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M30.1713 19.1995C30.1713 25.2588 25.2592 30.1709 19.1998 30.1709C13.1405 30.1709 8.22839 25.2588 8.22839 19.1995\",\n stroke: \"white\",\n \"stroke-width\": \"3\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"defs\", null, [\n /*#__PURE__*/_createElementVNode(\"clipPath\", { id: \"clip0_2567_386\" }, [\n /*#__PURE__*/_createElementVNode(\"rect\", {\n width: \"38.4\",\n height: \"38.4\",\n fill: \"white\",\n transform: \"matrix(0 1 -1 0 38.4 0)\"\n })\n ])\n], -1)\nconst _hoisted_13 = [\n _hoisted_11,\n _hoisted_12\n]\nconst _hoisted_14 = { class: \"ml-3 w-0 flex-1 pt-0.5 text-white\" }\nconst _hoisted_15 = { class: \"ml-4 flex flex-shrink-0\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close\", -1)\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"flex items-center justify-center h-6 w-6 text-white\",\n \"aria-hidden\": \"true\"\n}, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"20\",\n height: \"20\",\n viewBox: \"0 0 20 20\",\n fill: \"currentColor\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M14.375 5.625L5.625 14.375\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M5.625 5.625L14.375 14.375\",\n stroke: \"currentColor\",\n \"stroke-width\": \"1.25\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n })\n ])\n], -1)\nconst _hoisted_18 = [\n _hoisted_16,\n _hoisted_17\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_Transition, {\n \"enter-active-class\": \"transform ease-out duration-300 transition\",\n \"enter-from-class\": \"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2\",\n \"enter-to-class\": \"translate-y-0 opacity-100 sm:translate-x-0\",\n \"leave-active-class\": \"transition ease-in duration-100\",\n \"leave-from-class\": \"opacity-100\",\n \"leave-to-class\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n (_ctx.message)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"pointer-events-auto w-full max-w-[578px] overflow-hidden rounded-lg shadow-xl ring-1 ring-black ring-opacity-5\", {\n 'bg-gray-600': _ctx.messageType === 'info',\n 'bg-error': _ctx.messageType === 'error',\n 'bg-success': _ctx.messageType === 'success'\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.messageType === 'error')\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_6, _hoisted_9))\n : _createCommentVNode(\"\", true),\n (_ctx.messageType === 'success')\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_10, _hoisted_13))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_14, _toDisplayString(_ctx.message), 1),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"inline-flex rounded-md bg-transparent text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.dismissToast && _ctx.dismissToast(...args)))\n }, _hoisted_18)\n ])\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]))\n}","\nimport { ref, defineComponent } from 'vue';\nimport { mapMutations, mapGetters } from 'vuex';\nimport {\n BannerMessageStrings,\n BannerType\n} from './BannerComponent/BannerMessages';\n\nexport default defineComponent({\n name: 'TagsToastComponent',\n setup() {\n const show = ref(true);\n return {\n show\n };\n },\n computed: {\n ...mapGetters({\n getBannerStatus: 'global/getBannerStatus',\n currentAccount: 'accounts/currentAccount',\n isBuyerLoggedIn: 'auth/isBuyerLoggedIn'\n }),\n message(): BannerMessageStrings | null {\n return this.getBannerStatus?.text;\n },\n messageType(): BannerType {\n return this.getBannerStatus?.type || BannerType.info;\n }\n },\n methods: {\n ...mapMutations({\n setBannerStatus: 'global/setBannerStatus'\n }),\n dismissToast(): void {\n this.setBannerStatus(null);\n }\n }\n});\n","import { render } from \"./ToastComponent.vue?vue&type=template&id=2912cf50&ts=true\"\nimport script from \"./ToastComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./ToastComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, withModifiers as _withModifiers, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5498c163\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"boost-context-menu\" }\nconst _hoisted_2 = { ref: \"button\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BoostButton = _resolveComponent(\"BoostButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"button\", {}, () => [\n _createVNode(_component_BoostButton, {\n label: \"menu\",\n \"button-style\": \"none\",\n onClick: _ctx.toggleMenu\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: require('../../assets/ellipsis.svg'),\n alt: \"\"\n }, null, 8, _hoisted_3)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ], true)\n ], 512),\n (_openBlock(), _createBlock(_Teleport, { to: \"#context-menu\" }, [\n (_ctx.isVisible)\n ? (_openBlock(), _createElementBlock(\"ul\", {\n key: 0,\n ref: \"menu\",\n style: _normalizeStyle(_ctx.style),\n class: \"boost-context-menu__menu\",\n onWheel: _cache[0] || (_cache[0] = _withModifiers(() => {}, [\"prevent\"])),\n onTouchmove: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"prevent\"])),\n onScroll: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.computedItems, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: index,\n class: _normalizeClass([\"boost-context-menu__item\", {\n 'boost-context-menu__item--disabled':\n item.isDisabled && item.isDisabled(_ctx.entity),\n 'boost-context-menu__item--hidden':\n item.isHidden && item.isHidden(_ctx.entity),\n 'boost-context-menu__item--danger':\n item.isDangerous && item.isDangerous(_ctx.entity)\n }]),\n onClick: ($event: any) => (_ctx.handleClick(item, _ctx.entity))\n }, _toDisplayString(item.label), 11, _hoisted_4))\n }), 128))\n ], 36))\n : _createCommentVNode(\"\", true),\n (_ctx.isVisible)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"boost-context-menu__bg\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isVisible = false)),\n onWheel: _cache[4] || (_cache[4] = _withModifiers(() => {}, [\"prevent\"])),\n onTouchmove: _cache[5] || (_cache[5] = _withModifiers(() => {}, [\"prevent\"])),\n onScroll: _cache[6] || (_cache[6] = _withModifiers(() => {}, [\"prevent\"]))\n }, null, 32))\n : _createCommentVNode(\"\", true)\n ]))\n ]))\n}","\nimport { defineComponent } from 'vue';\n\ninterface ButtonPosition {\n x: number;\n y: number;\n top: number;\n left: number;\n bottom: number;\n right: number;\n}\n\nexport interface ContextMenuCoords {\n x: number;\n y: number;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\ntype Entity = Record;\n\nexport interface ContextMenuItem {\n label: string;\n isHidden?(entity: Entity): boolean;\n isDisabled?(entity: Entity): boolean;\n isDangerous?(entity: Entity): boolean;\n onClick(entity: Entity): void;\n}\n\nexport default defineComponent({\n name: 'BoostContextMenu',\n props: {\n menu: {\n type: Array as () => ContextMenuItem[],\n required: true\n },\n entity: {\n type: Object as () => Entity\n }\n },\n data() {\n return {\n isVisible: false,\n buttonCoords: null as null | ButtonPosition,\n windowWidth: window.innerWidth,\n menuCoords: {\n x: 0,\n y: 0\n } as ContextMenuCoords\n };\n },\n computed: {\n computedItems() {\n return this.menu; // this.menu.filter((item) => !item.isHidden);\n },\n isMobile() {\n return this.windowWidth <= 768;\n },\n style() {\n if (this.isMobile) {\n return {\n left: '20px',\n bottom: '20px'\n };\n } else if (this.menuCoords) {\n return {\n top: this.menuCoords.y + 'px',\n left: this.menuCoords.x + 'px'\n };\n }\n return {};\n }\n },\n mounted() {\n window.addEventListener('resize', this.resizeHandler);\n },\n beforeUnmount() {\n window.removeEventListener('resize', this.resizeHandler);\n },\n methods: {\n resizeHandler() {\n this.windowWidth = window.innerWidth;\n },\n toggleMenu() {\n // set visibility to true first so we can capture ref dimensions\n this.isVisible = true;\n\n this.$nextTick(() => {\n const contextMenu = (\n this.$refs.menu as HTMLElement\n ).getBoundingClientRect();\n const coord = (\n this.$refs.button as HTMLElement\n ).getBoundingClientRect();\n const coords = {\n x: coord.x,\n y: coord.y,\n top: coord.top,\n left: coord.left,\n bottom: coord.bottom,\n right: coord.right\n };\n this.buttonCoords = coords;\n\n // Out of bounds rules to adjust alignment\n const outOfBoundsX = coord.x + contextMenu.width > window.innerWidth;\n const outOfBoundsY =\n coord.bottom + contextMenu.height > window.innerHeight;\n\n if (outOfBoundsX) {\n this.menuCoords.x = coord.right - contextMenu.width;\n } else {\n this.menuCoords.x = coord.left;\n }\n\n if (outOfBoundsY) {\n this.menuCoords.y = coord.top - contextMenu.height;\n } else {\n this.menuCoords.y = coord.bottom;\n }\n });\n },\n handleClick(item: ContextMenuItem, entity: Entity) {\n if (item.isDisabled && item.isDisabled(entity)) {\n return;\n }\n\n item.onClick(entity);\n this.isVisible = false;\n }\n }\n});\n","import { render } from \"./BoostContextMenu.vue?vue&type=template&id=5498c163&scoped=true&ts=true\"\nimport script from \"./BoostContextMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./BoostContextMenu.vue?vue&type=script&lang=ts\"\n\nimport \"./BoostContextMenu.vue?vue&type=style&index=0&id=5498c163&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5498c163\"]])\n\nexport default __exports__","import BoostButton from '@/common/controls/BoostButton.vue';\nimport BoostInput from '@/common/controls/BoostInput.vue';\nimport BoostSelect from '@/common/controls/BoostSelect/BoostSelect.vue';\nimport BoostTextarea from '@/common/controls/BoostTextarea.vue';\nimport BoostKeywords from '@/common/controls/BoostKeywords.vue';\nimport BoostTable from '@/common/controls/BoostTable/BoostTable.vue';\nimport BoostStripeCard from '@/common/controls/BoostStripeCard.vue';\nimport BoostWalletPay from '@/common/controls/BoostWalletPay.vue';\nimport BoostControlFooter from '@/common/controls/BoostControlFooter.vue';\nimport BoostImageUpload from '@/common/controls/BoostImageUpload.vue';\nimport BoostViewOnlyImage from '@/common/controls/BoostViewOnlyImage.vue';\nimport BoostLoader from '@/common/controls/BoostLoader.vue';\nimport BoostPagination from '@/common/controls/BoostPagination.vue';\nimport BoostToggle from '@/common/controls/BoostToggle.vue';\nimport TagsToggle from '@/common/controls/TagsToggle.vue';\nimport BoostSectionHeader from '@/common/BoostSectionHeader.vue';\nimport BoostCard from '@/common/BoostCard.vue';\nimport BoostStepCard from '@/common/BoostStepCard.vue';\nimport BoostInfoCard from '@/common/BoostInfoCard.vue';\nimport BoostStatePicker from '@/common/controls/BoostStatePicker.vue';\nimport BoostIcon from '@/common/controls/BoostIcon.vue';\nimport TagsTextField from '@/common/controls/TagsTextField.vue';\nimport TagsPill from '@/common/controls/TagsPill.vue';\nimport TagsToast from '@/common/ToastComponent.vue';\nimport { Form as ValidationObserver } from 'vee-validate';\nimport { App } from 'vue';\nimport sanitize, { IOptions } from 'sanitize-html';\nimport { store } from '@/store';\nimport BoostContextMenu from '@/common/controls/BoostContextMenu.vue';\nimport Helpers from '@/helpers';\n\nexport function registerThirdPartyComponents(Vue: App): void {\n Vue.component('ValidationObserver', ValidationObserver);\n\n const FILTER_OPTIONS: IOptions = {\n allowedTags: [\n 'a',\n 'b',\n 'br',\n 'em',\n 'i',\n 'span',\n 'strike',\n 'strong',\n 'u',\n 'p',\n 'div'\n ],\n allowedAttributes: {\n a: ['href', 'target'],\n span: ['style'],\n img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading']\n },\n selfClosing: ['br', 'img'],\n allowedSchemes: ['http', 'https', 'mailto'],\n parser: {\n decodeEntities: true\n }\n };\n Vue.directive('sanitized', {\n beforeMount: (el, binding) => {\n el.innerHTML = sanitize(binding.value, FILTER_OPTIONS);\n },\n updated: (el, binding) => {\n el.innerHTML = sanitize(binding.value, FILTER_OPTIONS);\n }\n });\n\n Vue.directive('requires', {\n beforeMount: (el, binding) => {\n if (!Helpers.userHasPermission(binding.value, store)) {\n el.style.display = 'none';\n }\n }\n });\n}\n\nexport function registerCommmonComponents(Vue: App): void {\n Vue.component('BoostButton', BoostButton);\n Vue.component('BoostInput', BoostInput);\n Vue.component('BoostSelect', BoostSelect);\n Vue.component('BoostTextarea', BoostTextarea);\n Vue.component('BoostKeywords', BoostKeywords);\n Vue.component('BoostTable', BoostTable);\n Vue.component('BoostStripeCard', BoostStripeCard);\n Vue.component('BoostWalletPay', BoostWalletPay);\n Vue.component('BoostControlFooter', BoostControlFooter);\n Vue.component('BoostImageUpload', BoostImageUpload);\n Vue.component('BoostViewOnlyImage', BoostViewOnlyImage);\n Vue.component('BoostLoader', BoostLoader);\n Vue.component('BoostPagination', BoostPagination);\n Vue.component('BoostToggle', BoostToggle);\n Vue.component('BoostContextMenu', BoostContextMenu);\n Vue.component('BoostSectionHeader', BoostSectionHeader);\n Vue.component('BoostInfoCard', BoostInfoCard);\n Vue.component('BoostCard', BoostCard);\n Vue.component('BoostStepCard', BoostStepCard);\n Vue.component('BoostStatePicker', BoostStatePicker);\n Vue.component('BoostIcon', BoostIcon);\n Vue.component('TagsTextField', TagsTextField);\n Vue.component('TagsPill', TagsPill);\n Vue.component('TagsToggle', TagsToggle);\n Vue.component('TagsToast', TagsToast);\n}\n","import {\n email,\n min,\n min_value,\n required,\n numeric,\n length,\n max,\n max_value,\n alpha,\n alpha_spaces\n} from '@vee-validate/rules';\nimport { Profanity, SmsSensitiveWords } from './constants';\nimport Helpers from '@/helpers';\n\nimport { configure, defineRule } from 'vee-validate';\n\ntype messages = {\n [k: string]: string;\n};\n\ndefineRule('required', required);\ndefineRule('email', email);\ndefineRule('numeric', numeric);\ndefineRule('postal', numeric);\ndefineRule('min', min);\ndefineRule('max', max);\ndefineRule('max_value', max_value);\ndefineRule('max_withdraw', max_value);\ndefineRule('min_value', min_value);\ndefineRule('length', length);\ndefineRule('alpha', alpha);\ndefineRule('alpha_spaces', alpha_spaces);\ndefineRule('profanity', (value: string) => {\n return Helpers.validTag(value, Profanity);\n});\ndefineRule('sms', (value: string) => {\n return Helpers.validTag(value, SmsSensitiveWords);\n});\ndefineRule('money', (value: string) => {\n const valid = /^\\d+\\.\\d{2}$/;\n return valid.test(value);\n});\n\nconfigure({\n generateMessage: (context) => {\n const params = context.rule?.params as unknown[];\n\n const messages: messages = {\n required: 'This field is required',\n email: 'Please enter a valid email address',\n numeric: 'Only numbers are allowed',\n postal: 'Please enter a valid postal code',\n length: 'Field is not the correct length',\n min: `This field must be at least ${params[0]} characters`,\n max: `This field may only have ${params[0]} characters at most`,\n min_value: `This field can't be less than ${params[0]}`,\n max_value: `This field can't be more than ${params[0]}`,\n max_withdraw: `The amount is greater than your available balance`,\n alpha: 'Only alphabetical characters are allowed',\n alpha_spaces: 'Only alphabetical characters are allowed',\n profanity:\n 'There was an error while reserving your tag. Please try another word',\n sms: 'There was an error while reserving your tag. Please try another word',\n money: 'Only amounts in the form 10.00 are allowed'\n };\n\n if (context.rule && context.rule.name) {\n return messages[context.rule.name]\n ? messages[context.rule.name]\n : `The field ${context.field} is invalid`;\n }\n\n return `The field ${context.field} is invalid`;\n }\n});\n","import { App } from 'vue';\nimport { createApp } from 'vue';\nimport Application from './App.vue';\nimport router from './router';\nimport { store } from './store';\nimport { RoleAccount, UserRegistration } from './store/types';\nimport { sync } from 'vuex-router-sync';\nimport {\n registerCommmonComponents,\n registerThirdPartyComponents\n} from '@/common';\nimport './validationConfig';\nimport { getAuth } from 'firebase/auth';\nimport {\n APIResponseStatus,\n FirebaseRequest,\n FirebaseRequestTypes\n} from './firebaseRequest';\nimport { Buyer } from './buyer/settings/BuyerSettingsInterfaces';\nimport { Role } from '@/models/role';\n\nimport { initializeApp } from 'firebase/app';\nimport config from '@/firebaseInit';\n\ninitializeApp(config);\n\n// Sync vue-router's current $route as part of vuex store's state.\nsync(store, router);\n\nlet app: App;\n\ngetAuth().onAuthStateChanged(async () => {\n if (!app) {\n // firebase might already be logged in, so we want\n // to update the store initially\n const user = getAuth().currentUser;\n store.commit('auth/setCurrentUser', user);\n if (user) {\n try {\n const getRoleResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_LOGGED_IN_USER_ROLE,\n {}\n );\n if (getRoleResponse.data) {\n const role = getRoleResponse.data;\n const roleAccounts: RoleAccount[] = [];\n if (role.accounts) {\n for (const key of Object.keys(role.accounts)) {\n roleAccounts.push({\n accountId: key,\n role: role.accounts[key]\n });\n }\n }\n\n // determine if user is a seller\n if (role.email && role.userId) {\n store.commit(\n 'auth/setLoginOrRegistrationType',\n UserRegistration.SELLER\n );\n }\n\n store.commit('auth/setRoleAccounts', roleAccounts);\n store.commit('auth/setSuperAdmin', role.admin ? true : false);\n await store.dispatch('accounts/loadAccounts');\n }\n } catch (error) {\n // It's possible that a user doesn't have a role.\n // In that case the RoleService throws.\n store.commit('auth/setSuperAdmin', false);\n }\n if (store.getters['auth/isBuyerLoggedIn']) {\n const buyerResponse = await FirebaseRequest.createRequest(\n FirebaseRequestTypes.GET_BUYER_INFO,\n {}\n );\n if (\n buyerResponse.status === APIResponseStatus.OK &&\n buyerResponse.data\n ) {\n store.commit('auth/setCurrentBuyer', buyerResponse.data);\n }\n }\n }\n\n app = createApp(Application);\n\n registerThirdPartyComponents(app);\n registerCommmonComponents(app);\n\n app.use(router);\n app.use(store);\n\n app.mount('#app');\n }\n});\n","import settings from './settings';\n\nconst config = {\n apiKey: settings.FIREBASE_API_KEY\n};\n\nexport default config;\n","var map = {\n\t\"./add-simple-light.svg\": 2732,\n\t\"./add-simple.svg\": 5737,\n\t\"./alert-icon.svg\": 5094,\n\t\"./americanexpress.svg\": 6728,\n\t\"./amex.svg\": 1693,\n\t\"./arrow-left.svg\": 7485,\n\t\"./arrow-right-white.svg\": 4554,\n\t\"./arrow-right.svg\": 6191,\n\t\"./bag.svg\": 3113,\n\t\"./boost-logo-sm.svg\": 2259,\n\t\"./cancel-key.svg\": 7698,\n\t\"./cancel-simple.svg\": 688,\n\t\"./cash.svg\": 7261,\n\t\"./chart.svg\": 7213,\n\t\"./checked.svg\": 896,\n\t\"./chevron-down.svg\": 239,\n\t\"./chevron-left.svg\": 5742,\n\t\"./chevron-right.svg\": 1994,\n\t\"./chevron-up.svg\": 7861,\n\t\"./circle-check.svg\": 4852,\n\t\"./copy.svg\": 8631,\n\t\"./credit-arrow.svg\": 8183,\n\t\"./credit-card.svg\": 1792,\n\t\"./debit-arrow.svg\": 6102,\n\t\"./delete.svg\": 4217,\n\t\"./discover.svg\": 9042,\n\t\"./dollar.svg\": 1942,\n\t\"./download.svg\": 8728,\n\t\"./edit.svg\": 8044,\n\t\"./ellipsis.svg\": 653,\n\t\"./embed.svg\": 4097,\n\t\"./eye-closed.svg\": 6640,\n\t\"./eye-open.svg\": 9217,\n\t\"./flag-usa.svg\": 9005,\n\t\"./flag.svg\": 5165,\n\t\"./green-check.svg\": 6913,\n\t\"./hamburger.svg\": 1142,\n\t\"./heart.svg\": 5414,\n\t\"./info.svg\": 3759,\n\t\"./kiosk.svg\": 645,\n\t\"./later_icon.svg\": 6162,\n\t\"./lightning-bolt.svg\": 2283,\n\t\"./link.svg\": 1219,\n\t\"./mastercard.svg\": 6352,\n\t\"./mobile.svg\": 4183,\n\t\"./multi-app-icon.svg\": 8223,\n\t\"./no-results.svg\": 1834,\n\t\"./person.svg\": 1884,\n\t\"./puzzle.svg\": 6289,\n\t\"./qr-icon.svg\": 9882,\n\t\"./receipt.svg\": 5681,\n\t\"./refresh.svg\": 1431,\n\t\"./saveForLater.svg\": 5789,\n\t\"./search-icon.svg\": 79,\n\t\"./selectarrow-light.svg\": 4533,\n\t\"./selectarrow.svg\": 6744,\n\t\"./share-icon.svg\": 4353,\n\t\"./share-outline.svg\": 1985,\n\t\"./share.svg\": 5887,\n\t\"./shopify-logo.svg\": 5846,\n\t\"./shopify.svg\": 4347,\n\t\"./tag.svg\": 9036,\n\t\"./transaction.svg\": 8995,\n\t\"./trash.svg\": 9916,\n\t\"./truck.svg\": 6015,\n\t\"./user-circle.svg\": 2343,\n\t\"./visa.svg\": 5753,\n\t\"./widget-example.svg\": 1996\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 968;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \"-legacy.\" + {\"399\":\"7a097658\",\"885\":\"6a3c9cdf\",\"932\":\"f603f712\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"399\":\"2f0062e5\",\"885\":\"ddd3b6c3\",\"932\":\"048a9e5d\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"boost-seller:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"399\":1,\"885\":1,\"932\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkboost_seller\"] = self[\"webpackChunkboost_seller\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(9897); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_hoisted_1","_createElementVNode","id","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_view","_resolveComponent","_component_Layout","_component_BoostLoader","_openBlock","_createElementBlock","_Fragment","_createVNode","class","_normalizeClass","currentRouteName","default","_withCtx","_","isLoading","_createBlock","key","_createCommentVNode","_resolveDynamicComponent","layout","_renderSlot","$slots","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_component_BannerComponent","_component_HeaderComponent","_component_SideBar","isBannerShowing","isMounted","isMobileNavOpen","undefined","href","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","target","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_component_boost_logo","_component_app_search","_component_router_link","singleMode","showLogo","hasBrandLogo","src","logoImage","alt","_toDisplayString","getBrandName","showHelp","onClick","$event","isOpen","isBranded","hasSearchResults","showLogin","toggleNavMenu","isBuyerLoggedIn","isSellerLoggedIn","onSearch","handleSearch","_createTextVNode","isSuperAdmin","to","exact","logout","UserRegistration","Permissions","ProductReplyCodes","Context","APIResponseCode","APIResponseStatus","settings","NODE_ENV","FIREBASE_API_KEY","FIREBASE_URL","FIREBASE_CLOUD_FUNCTIONS_URL","STRIPE_APP_ID","STRIPE_PUBLISHABLE_KEY","AMPLITUDE_KEY","FirebaseRequestTypes","CHECK_SELLER_EMAIL","CHECK_SELLER_HASHTAG","CREATE_SELLER_ACCOUNT","GET_SELLER_INFO","REQUEST_CONFIRMATION_CODE","UPDATE_BUYER_INFO","VALIDATE_CONFIRMATION_CODE","VERIFY_BUYER_EMAIL","RESEND_BUYER_VERIFICATION_EMAIL","GET_BUYER_PAYMENT_OPTIONS","GET_BUYER_INFO","SAVE_BUYER","REMOVE_BUYER_PAYMENT_OPTION","UPDATE_BUYER_PAYMENT_OPTION","UPDATE_BUYER_SHIPPING_ADDRESS","REMOVE_BUYER_SHIPPING_ADDRESS","GET_SELLER_STATS","BUYER_UPDATE_DEFAULT_CARD","GET_CHECKOUT","BEGIN_INSTANT_CHECKOUT","GET_INSTANT_CHECKOUT","BUY_INSTANT_CHECKOUT","GET_PRODUCT_TAXES","GET_PRODUCT_INFO","PROCESS_CHECKOUT","SET_TRANSACTION_FULFILLMENT","REFUND_PURCHASE","SAVE_TRACKING","GET_ADMIN_ACCOUNTS","GET_ACCOUNT_DATA","UPDATE_SELLER_ACCOUNT","CONNECT_STRIPE","DISCONNECT_STRIPE","GET_SUBSCRIPTION_PORTAL_STRIPE","COMPLETE_SUBSCRIPTION_PORTAL_STRIPE","DISABLE_SELLER_ACCOUNT","GET_ADMIN_STATS","GET_BUYER_PURCHASES","GET_BUYER_PURCHASE","GET_SELLER_ORDERS","GET_SELLER_ORDER_BY_ID","GET_SELLER_TRANSACTIONS","GET_SELLER_ATTRIBUTION_LIST","INITIATE_ADD_NEW_PAYMENT","TEMP_CREATE_PAYMENT_INTENT","GET_TAG_VARIATIONS","UPDATE_TAG_VARIATIONS","GET_SELLER_PRODUCTS","GET_SELLER_TAGS","GET_SELLER_TAG","CREATE_PAYMENT_INTENT","COMPLETE_PRE_REGISTRATION","COMPLETE_AFFILIATE_SIGNUP","COMPLETE_AFFILIATE_SIGNUP_FOR_PRODUCT","CONNECT_AFFILIATE_PAYOUT","GET_AFFILIATE_BRANDS","GET_AFFILIATE_BRAND","GET_AFFILIATE_EARNINGS","AFFILIATE_WITHDRAW_AMOUNT","REMOVE_AFFILIATE_BRAND","REMOVE_AFFILIATE_BRAND_TAG","DISCONNECT_AFFILIATE_PAYOUT","UPDATE_BRAND_AFFILIATE","GET_AFFILIATE_STATS","GET_AFFILIATE_ANALYTICS","GET_AFFILIATE_DETAILS","GET_AUDIENCE","GET_BUYER_FOR_ACCOUNT","SAVE_TIP","SAVE_TAG","SAVE_ATTRIBUTIONS","GLOBAL_SEARCH","CONNECT_ECOMMERCE","GET_ECOMMERCE_CONFIG","UPDATE_ECOMMERCE_APPS","GET_ECOMMERCE_PRODUCTS","GET_ECOMMERCE_SHIPPING_RATES","CREATE_ECOMMERCE_TAGS","SYNC_ECOMMERCE_PRODUCTS","GENERATE_PRODUCT_LINKS","GET_SELLER_USERS","ADD_SELLER_USER_INVITE","VALIDATE_SELLER_INVITE","ACCEPT_SELLER_USER_INVITE","REMOVE_SELLER_USER","REQUEST_TRANSFER_OWNERSHIP","ACCEPT_TRANSFER_OWNERSHIP","CHANGE_SELLER_USER_ROLE","CHECK_USER_EMAIL_EXISTS","GET_SELLER_ANALYTICS","GET_LATER_ANALYTICS","GET_SHARE_ANALYTICS","GET_LOGGED_IN_USER_ROLE","RoleType","FirebaseRequest","type","data","user","getAuth","currentUser","Error","getIdToken","then","idToken","accessToken","dataWithId","uid","body","JSON","stringify","headers","fetch","method","response","isAnonymous","signInAnonymously","cred","this","userAction","signOut","results","json","status","ERROR","code","String","ShippingStatus","ProductSource","OrderStatus","authState","currentBuyer","isImpersonating","roleAccounts","loginOrRegistrationType","BUYER","authActions","signIn","payload","commit","signInWithEmailAndPassword","email","password","authData","createRequest","getRoleResponse","role","admin","accounts","Object","keys","push","accountId","firstAccount","Owner","accountResult","currentPlan","console","log","forgotPassword","isPassResetEmailSend","sendPasswordResetEmail","catch","updateSellerEmail","emailUpdated","EmailAuthProvider","credential","reauthenticateWithCredential","error","updateEmail","newEmail","reAuthenticate","refreshCurrentBuyer","getters","buyerResponse","OK","updateAffiliateUsername","state","affiliateUsername","authGetters","hasAccounts","length","getCurrentUser","getCurrentBuyer","imageUrl","authMutations","setCurrentUser","setCurrentBuyer","setSuperAdmin","setRoleAccounts","setLoginOrRegistrationType","setImpersonating","setBuyerVerificationAttempted","hasAttemptedVerification","auth","actions","mutations","namespaced","rolePermissions","Map","set","Attribution","Audience","Dashboard","Orders","Transactions","Settings","Tags","TransferOwnership","Analytics","Apps","SellerAdmin","Staff","Agency","BannerMessageStrings","BannerType","FeatureType","getSecureUrl","url","startsWith","substring","getExpirationYears","currentYear","Date","getFullYear","optionLimit","years","i","name","value","getExpirationMonths","months","options","isNumeric","str","isNaN","Number","parseFloat","prefixPhoneNumber","phoneNumber","charAt","getShippingStatusLabel","statusMessages","pending","fulfilled","refunded","failed","getOrderStatusLabel","getTransactionStatusLabel","processDate","date","convertedDate","toLocaleString","day","month","year","currencyFormatter","price","includes","toString","num","style","currency","minimumFractionDigits","validTag","inputTag","defineWords","isValid","obj","toLowerCase","indexOf","formatHashTag","hashTag","replace","toUpperCase","getTemporaryId","Math","floor","random","isMobile","screen","width","isIOS","navigator","platform","userAgent","deepCopy","source","parse","getPermissionsForRole","get","userHasPermission","permission","store","usersPermissions","currentPlanHasAccess","minimumPlan","getDefaultPaymentOption","buyer","defaultPaymentOption","paymentOptions","find","sa","isDefault","getDefaultShippingAddress","defaultShippingAddress","shippingAddresses","PredicateBuilder","predicate","priorCondition","x","accountsState","currentAccount","selectedFeatureTypeId","setErrorBannerMessage","text","root","TagType","accountsActions","loadAccounts","a","userAccounts","result","accountsList","ra","addShippingAddress","shippingAddress","BUYER_SETTINGS_INVALID_ADDRESS","addPaymentOption","dispatch","rootGetters","stripeCardElement","stripe","setAsDefault","STRIPE_NOT_LOADED","originalDefaultPaymentId","po","clientSecret","confirmCardSetup","payment_method","card","setupIntent","GENERIC_ERROR_MESSAGE","paymentMethodId","setPaymentOptionAsDefault","cardId","message","accountsGetters","currentAccountRole","currentAccountPermissions","Helpers","localStorage","getItem","Kiosk","accountsMutations","setAccounts","setCurrentAccount","setSelectedFeatureType","setItem","globalState","brandInformation","loadingMessage","bannerMessage","mobileNavOpen","hasContextualButton","searchText","customColor","globalGetters","getBrandGuidelines","guidelines","brandName","getBrandLogo","logoUrl","getLoadingMessage","getBannerStatus","getSearchText","getCustomColor","getShowHelp","getShowLogo","globalMutations","setBrandInformation","setLoading","setBannerStatus","setMobileNavOpen","setContextualButton","setSearchText","setCustomColor","setShowHelp","setShowLogo","global","productState","currentProduct","currentFilter","PRODUCT","productIds","productActions","setupCurrentProduct","context","productId","responseData","saveCurrentProductToDb","product","getNext","currentId","index","findIndex","getPrevious","getCurrentIndex","productMutations","setCurrentProduct","setCurrentFilter","setCurrentProductAttributions","attributions","setCurrentProductVariants","variants","skus","setProductIds","productGetters","getProductListLength","orderState","orderedIds","buyerName","orderMutations","setOrderedIds","setBuyerName","orderActions","orderGetters","currentBuyerName","getOrderListLength","orders","audienceState","audienceIds","audienceMutations","setAudienceIds","audienceActions","audienceGetters","getAudienceListLength","audience","purchasesState","transactionIds","purchasesMutations","setPurchasesIds","purchasesActions","purchasesGetters","getPurchasesListLength","purchases","marketplaceState","isSearchOpen","searchResults","selectedProductToSell","taggedProducts","featuredProducts","allBrands","marketplaceGetters","getSearchResults","getTaggedProducts","getAllBrands","getSelectedProductToSell","getFeaturedProducts","marketplaceMutations","setIsSearchOpen","setSearchResults","setSelectedProductToSell","setAllBrands","setFeaturedProducts","setTaggedProducts","marketplaceActions","performSearch","searchTerm","products","query","loadAllBrands","userId","brands","addTaggedProduct","productTag","marketplace","createStore","modules","_imports_0","_imports_1","_component_BoostInput","currentCategory","userName","modelValue","placeholder","autocomplete","onKeyup","_withKeys","onDeleteKey","onEscapeKey","onEnterKey","onAnyKey","hasResults","_renderList","onSelection","title","category","SearchCategory","MIN_CHAR","defineComponent","emits","setup","useStore","ref","computed","clearCategory","currentRoute","useRoute","checkRoute","rt","Products","Attributions","watch","mapGetters","productSource","methods","mapMutations","$router","params","tagId","orderId","transactionId","memberId","endsWith","some","toLocaleLowerCase","slice","toLocaleUpperCase","search","requestParams","route","metaData","$emit","__exports__","d","logoClass","viewBox","fill","xmlns","BoostLogo","customValue","components","AppSearch","props","Boolean","showSellerNav","isCurrentPageExternalStore","$route","currentRoutePath","path","require","meta","isTagsActive","$store","success","window","location","val","height","classObject","onAnimationend","dismissBanner","resendBuyerVerification","gotoSettings","updateFailedPayment","info","buyerVerification","paymentFailed","stripeWarning","menu","plan","stripeResult","portalUrl","assign","res","BUYER_RESEND_VERIFICATION_EMAIL_SUCCESS","_component_FeatureSelector","_component_BoostButton","_directive_requires","_resolveDirective","onFeatureChange","handleFeatureChange","_withDirectives","isAnAffiliate","accountRoutePath","_normalizeStyle","background","showSettingsArrow","label","help","selectedOptionImageUrl","selectedFeatureType","showUpgradeOption","isExpanded","featureOptions","filter","connected","feature","selectFeature","featureType","isShopifyConnected","allowConnect","connectShopify","FeatureSelector","unsub","Shopify","created","subscribe","mutation","shopifyFeature","beforeUnmount","selection","tab","open","featureId","HeaderComponent","BannerComponent","SideBar","mounted","_component_FooterComponent","showBackToTop","scrollToTop","showFooter","FooterComponent","scroll","top","behavior","_component_TagsToast","_component_CheckoutHeaderComponent","observer","showPoweredBySection","teleportContainerRef","isTeleportContainerEmpty","children","disconnect","$refs","checkoutHeaderTeleportContainer","MutationObserver","mutationList","observe","childList","CheckoutHeaderComponent","showSubHeader","_component_MarketplaceHeaderComponent","stroke","_createStaticVNode","toggleMobileMenu","isMobileMenuOpen","onSearchButtonClicked","links","link","_withModifiers","MarketplaceHeaderComponent","DefaultLayout","SingleLayout","CheckoutLayout","OpenLayout","OpenDetailLayout","MarketplaceLayout","Layout","_component_SellerCreateAccount","_component_SellerRegistrationDetails","currentState","registrationState","CREATE_ACCOUNT","onReserveTag","reserveTag","userInfo","hashtagPrefix","onCancelRegistration","cancelRegistration","onCreateAccount","createAccount","_component_ValidationObserver","handleSubmit","onSubmit","rules","attributes","errors","reserveButtonState","disabled","valid","ButtonLoadingState","cx","cy","r","buttonStyle","innerLoadingState","loading","isDisabled","handleClick","whiteSpinner","mithrilSpinner","loadingLabel","complete","completeLabel","loadingState","initial","preventLoadingReset","completeStateResetTime","processLoadingState","onLoadingComplete","setTimeout","processLoading","tag","hashtagGenerateResponse","SELLER_TAG_UNAVAILABLE","_component_Stepper","_Teleport","steps","currentStep","firstName","lastName","confirmPassword","completeButtonState","checkSellerEmail","company","phone","postalCode","step","getCustomColorClass","Stepper","required","emailValidationPayload","emailValidationResponse","SELLER_EMAIL_ALREADY_IN_USE","SellerCreateAccount","SellerRegistrationDetails","DETAILS","setRegistrationType","helpers","SELLER_ERROR_RESERVING_TAG","createAccountPayload","companyName","prefix","companyInfo","createResponse","SELLER_ERROR_CREATING_ACCOUNT","err","SELLER_INVALID_EMAIL","Promise","resolve","signInWithCustomToken","token","SELLER","_component_BoostSectionHeader","_component_BoostStepCard","selectedMenu","number","statRefreshButtonState","getStats","stats","stat","getPrice","amount","sales","SellerDashboard","newValue","isStripeConnected","st","today","toFixed","yesterday","week","quarter","totals","_component_SellerSettingsAccount","saveButtonLoadingState","disconnectStripeButtonLoadingState","accountSettings","shippingSettings","customSettings","onUpdateSellerSettings","updateSellerSettings","onCancelUpdateSellerSettings","cancelUpdateSellerSettings","onConnectToStripe","connectToStripe","onDisconnectFromStripe","disconnectFromStripe","onChangePassword","changePassword","uploadImage","image","cloudName","formData","FormData","append","secure_url","SettingsType","for","_component_BoostImageUpload","_component_BoostTextarea","_component_BoostStatePicker","_component_ManageUsers","_component_SellerSettingsCustom","_component_SellerSettingsIntegrations","_component_SellerSettingsPaymentPlans","_component_validation_observer","goBack","currentPlanMenuItems","menuItem","navigateToTab","novalidate","commitChanges","isConnectedToStripe","onImageFilePreviewed","logoUploaded","hashTagPrefix","accountHolderFirstName","accountHolderLastName","showPasswordModal","settingType","companyEmail","companyNumber","companyZipCode","refundPolicyIsLink","refundPolicy","description","_vModelCheckbox","companyAddress1","companyAddress2","companyCity","companyState","companyCountry","onPlanUpgraded","changeEmail","_vShow","_component_BoostSelect","_component_BoostContextMenu","_component_BoostTable","_component_PopupComponent","rows","usersList","columns","column","row","roles","onInput","handleRoleChange","menuItems","entity","isUnderMaxUsers","handleAddUser","showAddUser","addUserPopup","addUserEmail","addUserErrorMessage","selectedRole","canAddUser","addUserEventHandler","showTransferOwner","transferPopup","button1","button2","onButton2Event","ownerPassword","onButton1Event","transferOwnership","PopupMessageTitles","PopupMessageStrings","PopupMessageButtonCaptions","_directive_sanitized","primary","buttonClass","caption","onWheel","onTouchmove","onScroll","ManageUsers","PopupComponent","transferTo","copyEmail","resendInvite","isHidden","confirm","removeUser","handleTransferOwnership","maxCount","loadData","mapActions","getProfile","e","clipboard","writeText","GENERIC_COPIED_CLIPBOARD","TRANSFER_OWNER","OK_YES_12","event","CANCEL_NO","authorized","SELLER_EMAIL_LOGIN_ERROR","transferToEmail","roleIndex","map","sort","b","ADD_USER","accountUser","checkIfEmailInUse","exists","_component_boost_icon","colorOptions","onChange","changeColor","testClick","metaPixel","iconClass","BoostIcon","SellerSettingsCustom","account","ev","input","shopifyButtonLabel","_component_BoostCard","_component_BoostInfoCard","usersCount","selectPlan","SellerSettingsPaymentPlans","typeFormScript","document","createElement","setAttribute","head","appendChild","sessionId","session_id","SELLER_SETTINGS_PLAN_UPGRADE","SellerSettingsIntegrations","brandTag","BUSINESS","logoChanged","canDeactivateAccount","newTabName","selectTabById","SELLER_BRAND_IMAGE_UPLOADED","cancelSellerSettings","oldEmail","updateEmailOnly","SELLER_PASSWORD_EMAIL_SENT","tabId","foundTab","m","SellerSettingsAccount","settingsCurrentTab","compatConfig","WATCH_ARRAY","initializeData","callback","handleStripeCallback","setCurrentTab","currentTab","orderEmail","address1","address2","city","country","disableAccount","SELLER_ACCOUNT_DISABLED","sellerSettings","test","tempAccount","accountUpdate","updateResult","CHANGES_UPDATED","stripeAppId","callBackURL","origin","$nextTick","stripeCredentials","SELLER_SETTINGS_STRIPE_NOT_CONNECTED","SELLER_STRIPE_ACCOUNT_ERROR","SELLER_STRIPE_ACCOUNT_RECONNECTED","_component_OrdersList","filterOptions","searchObject","filterValue","transactionCount","sortBy","sortOptions","_component_OrdersListView","display","tableFilteredTransactionData","transactions","onAction","viewOrder","userTransactionId","shippedToFirstName","shippedToLastName","formatCurrency","charges","total","Array","limit","getHashtag","hashtag","OrdersListView","filteredCount","searchInput","tableTransactionData","loadingExport","t","filterTransactionList","sortTransactionList","getTransactions","$watch","exportOrdersToCSV","csv","tableData","cursor","forEach","userEmail","stripeDetails","productWeight","tax","userCarrier","shippedToAddress1","shippedToCity","shippedToState","shippedToPostalCode","billing_details","address","postal_code","productHashtag","sku","shipping","userTrackingNo","filename","blob","Blob","URL","createObjectURL","visibility","click","removeChild","TIP","getTime","getAmount","c","productTitle","localeCompare","sellerOrder","filterResults","filterTransactionsByFulfilled","filterTransactionsByRefunds","filterTransactionByWaiting","searchValue","filterTransactionsBySearchValue","transaction","filterTransactionsByTips","via","provider","toLocaleDateString","searchComponents","split","OrdersList","transactionsList","_component_TransactionsList","_component_TransactionsListView","TransactionStatus","_imports_2","computedTransactions","isCredit","shippedTo","last4","abs","calculateNet","getStatusLabel","received","net","refundDetails","TransactionsListView","isRefunded","isFailed","TransactionsList","hasChangedPassword","resetPassword","newPassword","actionCode","verifyPasswordResetCode","confirmPasswordReset","SELLER_PASSWORDS_DO_NOT_MATCH","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","order","loadingMarkFulfilled","setFulfillTransaction","loadingRefund","refundTransaction","productImageUrl","productOptions","opt","attributionId","userMobileNumber","shippedToAddress2","loadingSendTracking","saveTrackingInformation","orderListLength","previousId","previous","nextId","next","beforeRouteEnter","from","vm","returnTo","trackingInfo","sellerName","productName","trackingNo","carrier","mobileNumber","sendMessage","getOrder","rowData","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_component_BoostViewOnlyImage","editProduct","productTypeImageUrl","pills","downloadQR","copyUrl","copySMS","getAllAvailableStock","getTotalSkus","getOptions","getShippingText","quantitySold","savedForLaterCount","formatPrice","totalSales","mostPopular","leastPopular","currentDigital","getAmounts","messageUrl","getAttributionType","sold","revenue","conversion","AttributionStatus","Active","Inactive","productListLength","AttributionType","downloadAttributionQR","getAttributionLink","copyAttributionSMS","shopifyShareEarn","shopifySaveForLater","loadDetails","shippingCharge","v","join","amounts","stockCount","entries","reduce","quantity","skuQuantity","parseInt","prices","min","max","singleFile","requestFile","FILE","downloadUrl","routeName","attribution","getAttributionTag","identifier","attributionIdentifier","_component_ProductsMenuControls","_component_ProductList","handleAddNewTag","tagCount","onAddNewTag","onFilterTagList","handleFilter","tagFilter","_component_DownloadTagsPopupComponent","filteredTags","editTag","getTypeImage","decodeStatus","showDownloadTags","selectedRow","onVisibleChange","handlePopupVisibleChange","DisplayType","LIST","GRID","TagSortOptions","MOSTRECENT","LEASTRECENT","HIGHESTSALES","LOWESTSALES","AccountFilterType","ACTIVE","INACTIVE","DISCONNECTED","CANCELED","ALL","AccountSortOption","NAMEASC","NAMEDESC","SALESASC","SALESDESC","CREATEDDESC","Profanity","BASTARD","FUCK","HELP","ANAL","ANUS","ARSE","ASS","ASSSHOLE","BITCH","BLOODYHELL","BOONG","COCK","COCKFUCKER","COCKSUCK","COCKSUCKER","COON","COONNASS","CRAP","CUNT","CYBERFUCK","DAMN","DARN","DICK","DIRTY","DOUCHE","DUMMY","ERECT","ERECTION","EROTIC","ESCORT","FAG","FAGGOT","FUCKOFF","FUCKYOU","FUCKASS","FUCKHOLE","GODDAMN","GOOK","HARDCORE","HOMOEROTIC","HORE","LESBIAN","LESBIANS","MOTHER_FUCKER","MOTHERFUCK","MOTHERFUCKER","NEGRO","NIGGER","ORGASIM","ORGASM","PENIS","PENISFUCKER","PISS","PISSOFF","PORN","PORNO","PORNOGRAPHY","PUSSY","RETARD","SADIST","SEX","SEXY","SHIT","SLUT","SONOFABITCH","SUCK","TITS","VIAGRA","WHORE","XXX","DELETED","EXPIRED","SmsSensitiveWords","SMS","MMS","CALL","hideDownloadAll","accountAffiliateId","DownloadTagsPopupComponent","tagSortBy","tagSearchValue","tags","downloadEventHandler","step1","digitalColumns","productColumns","splice","getTags","handleFiltering","show","tagSortOption","sortTags","tagType","hashTagNoA","hashTagNoB","f","setFilter","setTagFilter","searchString","SHOPIFY_TAGS_ADDED","viewTags","filterProductListEventArgs","filterType","ProductList","ProductsMenuControls","_component_PreRegEntry","_component_PreRegAccount","_component_PreRegShipping","_component_PreRegCard","_component_PreRegComplete","_component_PageNotFoundComponent","previousStep","errorMessage","sellerAccount","seller","onError","handleError","onNext","captureNumber","nextStep","getCodeState","createSetupIntent","onBack","captureCard","preRegistrationUserInfo","_component_MetaPixelScript","is","script","requestConfirmationCode","internalMobileNumber","leftIcon","hasSentConfirmationCode","checkConfirmationCode","confirmationCode","functional","pixelId","h","MetaPixelScript","userTypeContext","loginContext","LOGIN_EMAIL","LOGIN_MOBILE_NUMBER","SIGNUP_MOBILE_NUMBER","PREREGISTER_USER","PREREGISTER_EXISTING_USER","confirmationCodeResponse","BUYER_SENDING_CONFIRMATION_CODE","saveAccountSetup","saveShipping","back","_component_BoostStripeCard","onCard","collectCard","agreeToTerms","saveCard","stripeClientSecret","cardError","preRegInfo","handleNextAction","externalRoute","routePath","buttonLabel","goHome","PageNotFoundComponent","PreRegStatus","PreRegEntry","PreRegAccount","PreRegShipping","PreRegCard","PreRegComplete","MOBILE_NEEDS_VALIDATION","totalSteps","sellerId","getSellerAccount","initializeStripe","loadStripe","slug","MOBILE_VALIDATED","completePreRegistration","SETUP_INTENT_CREATED","confirmSetupIntent","CARD_CAPTURED","isNewUser","registrationResult","REGISTERED","handleErrorMessage","showHideLogoAndHelp","_component_AudienceMenuControls","_component_BoostToggle","filteredAudience","onFilterAudienceList","handleFilterSort","typeSelection","AudienceType","Customers","viewCustomer","totalRevenue","totalOrders","isActive","isInactive","affiliateColumns","viewAffiliate","formatAudienceName","affiliateProducts","affiliateRevenue","affiliateEarnings","affiliateCommission","globalCommission","affiliateStatus","affiliateMenu","showCommission","selectedAffiliate","EDIT_AFFILIATE_COMMISSION","useGlobalCommission","cancelPopup","saveAffiliateEventHandler","showAffiliateStatus","SUSPEND_AFFILIATE","REINSTATE_AFFILIATE","AFFILIATE_SUSPEND","AFFILIATE_REINSTATE","AudienceSortOptions","AudienceFilterOptions","selectedTab","selectAudienceType","Advocates","registrationUrl","copyPreRegUrl","All","NewCustomer","PreRegistered","MostRecent","MostOrders","LeastOrders","HighestRevenue","LowestRevenue","HighestRefunds","LeastRefunds","AlphaAscending","AlphaDescending","filterText","Suspended","viewAudience","sortOption","filterAudienceEventArgs","filterOption","selectedType","AudienceMenuControls","copyPhone","showEditCommission","showEditAffiliateStatus","getAudience","fullName","trim","audienceType","member","sixtyDaysPast","lastTransaction","sortAdvocates","aFullName","bFullName","joinedOn","HighRefunds","totalRefundAmount","sortResult","affiliateId","changeStatus","useGlobal","statusChange","commission","savedForLater","viewOrders","audienceListLength","filteredOrders","affiliateDetails","salesCount","earnings","conversionRate","signup","menuOptions","isConnectedToShopify","goToShopify","syncShopify","configData","configuration","GENERIC_SUCCESS","SHOPIFY_ERROR_SYNCING","laterEnabled","editLaterSettings","shareEnabled","editShareSettings","marketplaceEnabled","openMarketplacePopup","hasGuidelines","editGuidelines","automaticWidget","saveAutomaticPlacement","copyCode","onOpenHowTo","EDIT_LATER_APP","LATER_APP","cancel","saveLater","EDIT_SHARE_APP","SHARE_APP","applyToAllAffiliates","saveShare","EDIT_MARKETPLACE_APP","MARKETPLACE_APP","addAllProductsToMarketplace","saveMarketplace","EDIT_GUIDELINES_APP","GUIDELINES_APP","one","two","three","four","five","haveGuidelinesChanged","saveGuidelines","values","enableShareEarn","enableSaveForLater","enableMarketplace","widgetAutomaticPlacement","save","updates","connectionResults","SHOPIFY_ERROR","guidelineList","shopifyConfig","isSaveForLaterAutomatic","saveButtonState","SaveForLater","_component_BoostKeywords","_component_confirm_component","tip","tipEnabled","chargeTax","amountErrorString","isSaveDisabled","isVisible","_cancel","showCancelButton","confirmText","_confirm","resolvePromise","showCancel","close","ConfirmComponent","beforeRouteLeave","originalValue","confirmation","UNSAVED_CHANGES","DISCARD_CHANGES","confirmed","yesNoOptions","amountError","publishButtonState","saveLabel","isEditing","deep","handler","Boost","isFeatured","initializeForm","getTip","isInvalid","invalid","isLocked","tipData","_component_ProductEditAttributions","_component_ProductEditVariations","productEditState","ProductEditStatus","EditProduct","readyToSell","notConnectedToStripe","hasVariations","noVariantionsQuantity","editVariations","editAttribution","parcel","weight","canSave","AddEditAttribution","onBackNavigationRequested","onSaveAttributions","handleSaveAttributions","AddEditVariations","onSaveVariations","handleSaveVariations","deleteAttribution","addAttribution","disableDone","backNavigationRequested","saveAttributions","lable","enumType","Advertisement","showOptions","tempVariantList","addVariant","item","removeVariant","onKeywordAdded","addVariantOption","onKeywordRemoved","removeVariantOption","hasOptions","skuList","mode","variantList","skuVariantSelectOptions","removeSku","addSku","saveVariations","variant","variantsAsKeywords","hasBlankSkuOptions","s","originalVariant","tempV","option","keyword","variantOption","ProductEditAttributions","ProductEditVariations","tagSku","newProduct","hideProduct","keywords","completeRegistration","newUser","passwordConfirm","atob","denyInvitation","command","decodedEmail","filteredData","secondFilter","filter2Options","decodeType","allData","getData","Account","Audio","Influencer","Magazine","Newspaper","Packaging","Print","Podcast","_component_GeneralAnalytics","_component_LaterAnalytics","_component_ShareAnalytics","primaryTabs","secondaryTabs","refresh","cards","detailedCardsOne","summary","details","detailedCardsTwo","detailedCardsThree","grossRevenue","audienceCount","checkouts","percents","sessions","counts","returningCustomers","rate","average","showExportDialog","reportData","purchased","engagements","totalLaterProducts","saved","popularProducts","p","count","EXPORT","EXPORT_ANALYTICS","confirmDiscard","createAndDownloadCsvFile","now","affiliateCount","productPagesCount","revenueGenerated","totalPayout","bestAffiliate","bestProduct","list","best","topList","affiliateName","amountEarned","GeneralAnalytics","LaterAnalytics","ShareAnalytics","hasAccess","_component_BoostTagCard","_component_BoostPagination","innerRows","avatar","action","openDownloadPopup","selectedTag","items","onItems","handleItems","showProduct","BoostTagCard","filterTagsBySearchTerm","getAllTags","sortMostRecentTags","ShopifyImportStatus","_component_SearchBar","shopifyProducts","isSelected","createTags","importShopifyProducts","onSearchAction","viewProducts","productFilter","productFilterOptions","filteredShopifyProducts","onSelectAll","selectAllInColumn","getCount","getTotalQuantity","validatePrice","searchAction","SearchBar","searchActionEventArgs","ready","tagsCreated","filterShopifyProducts","onlyValidProducts","o","match","selectAll","unselectAll","toggle","apiKey","openShopifyInstructions","as","shopName","sharedSecret","connectButtonState","connectToShopify","contactUs","SellerSettingsShopify","testButtonState","testConnection","SHOPIFY_TEST_CONNECT_SUCCESS","SHOPIFY_CONNECTED","encodeURIComponent","redirect","component","SellerBase","requiresSellerAuth","AnalyticsList","SellerSettings","OrdersParent","OrdersComponent","TransactionDetail","TransactionsComponent","TagsComponent","ProductsParent","ProductDetail","ProductEdit","TipEdit","ProductEditShopify","ShopifyImportProducts","AttributionList","AudienceList","AudienceAffiliateMember","AudienceMember","Integrations","IntegrationsList","AppsList","Customizations","CustomizationSummary","PreRegistration","SellerRegistration","ResetPassword","SellerUserInvitation","SellerTransferOwnership","_component_BuyerCreateAccount","_component_BuyerRegistrationShipping","_component_BuyerRegistrationCard","buttonLoadingState","onStartRegistration","startRegistration","onConfirmMobileNumber","confirmMobileNumber","SHIPPING","onCompletedShipping","handleShippingCompleted","CARD","addressInfo","onBuyerRegistered","loginUser","buyerInfo","stripeToken","createToken","updateInfoPayload","mailingAddress","updateResponse","BuyerCreateAccount","BuyerRegistrationShipping","BuyerRegistrationCard","CONFIRM_NUMBER","firebaseToken","setRegistrationState","cancelConfirmNumber","INVALID_PHONE_NUMBER","INVALID_PHONE_NUMBER_SIGNUP","PHONE_NUMBER_ALREADY_IN_USE","PHONE_NUMBER_IN_USE","pendingEmail","BUYER_INVALID_CODE","BUYER_PHONE_NUMBER_LOGIN_ERROR","u","newState","orderDate","filerPurchases","sortPurchases","getOrders","_component_BuyerAccount","_component_BuyerPayment","_component_BuyerShipping","_component_BuyerStripe","changeTab","buyerSettings","onUpdateBuyerSettings","updateSettings","onHasUnsavedChanges","change","buyerAccountHasChanges","isVerified","changeMobileNumber","compareOriginalBuyer","hasChanges","BUYER_SETTINGS_IMAGE_UPLOADED","_component_StripeCreditCardDetailsComponent","canAddCard","addPaymentCard","creditCard","icon","brand","formattedCardNumber","cardExpirationDate","hideDefault","CARD_BRAND_DIGIT_FORMAT","amex","diners","discover","visa","mastercard","jcb","unionpay","unknown","getMaskedCreditCardNumber","cardBrand","last4Digits","cardBrandLower","digitMask","expiredMonth","expiredYear","paddedMonth","padStart","StripeCreditCardDetailsComponent","setCardAsDefault","removePaymentCard","_component_AddressDetailComponent","canAddShippingAddress","ReplyCodes","AddressDetailComponent","setDefaultShippingAddress","editShippingAddress","removeShippingAddress","addressId","CANNOT_REMOVE_DEFAULT_ADDRESS","BUYER_REMOVE_DEFAULT_ADDRESS_NOT_ALLOWED","isAffiliatePayoutConnected","BuyerAccount","BuyerPayment","BuyerShipping","BuyerStripe","popup","BUYER_FORM_ERROR","STRIPE_DISCONNECTED","SELLER_SETTINGS_STRIPE_CONNECTED","_component_BuyerCheckoutProductPrice","_component_BoostWalletPay","checkout","isTransactionCompleted","isShowingReturnPolicy","hideReturnPolicy","readMore","hasLongDescription","isShippingCalculated","taxesCalculated","showWalletPay","chargeAmount","shippingAmount","onSuccess","onWalletPaymentSuccess","onShipping","onShippingAddressChange","onShippingOption","onShippingOptionChange","handlePurchase","onPostalCodeChange","isShopifyProduct","selectedShippingOptionId","shippingOptions","processShippingRate","isReturnPolicyLink","showReturnPolicy","gotoBoostLogin","AnalyticEventType","analytics","logEvent","eventType","eventData","toLogEventData","instance1","amplitude","getInstance","init","setUserId","timestamp","toISOString","skuId","isTaxCalculated","BuyerCheckoutProductPrice","isShowingCardDetails","checkoutId","isApplePay","stripeLoaded","detail","isExpressOrShopify","taxesUpdated","shopifyProductId","getProductData","initWalletPayment","updated","descriptionInput","scrollHeight","offsetHeight","shippingOption","updateWith","region","getShippingRates","chargesUpdate","shippingRates","BUYER_PURCHASE_INVALID_ADDRESS","addressLine","payerEmail","payerName","onPaymentSuccess","NO_INVENTORY","BUYER_NO_INVENTORY","SKU_NOT_FOUND","BUYER_PRODUCT_NOT_FOUND","BUYER_PRODUCT_INACTIVE","checkoutData","brandInfo","expressCheckoutPurchaseError","expressCheckoutReturnsPolicyClicked","showCardDetails","expressCheckoutPayByCardClicked","expressCheckoutCompletePurchaseClicked","BUYER_PURCHASE_ERROR","expressCheckoutApplePayClicked","shippingRate","emailAddress","expressCheckoutPurchaseSuccessful","expressCheckoutGoToAccount","stateNameOrCode","newNumber","changeNumber","UPDATE_MOBILE_NUMBER","BUYER_REENTERED_PHONE_NUMBER","addPaymentButtonState","isCompact","hasContent","isFullWidth","BoostSectionHeader","getImageUrlForCard","addAddressButtonState","addOrUpdateShippingAddress","addr","_hoisted_80","_hoisted_81","_component_TagsPill","_component_UnavailableProductComponent","_component_InstantCheckoutProductImage","_component_InstantCheckoutProduct","_component_CheckoutDetailDivider","_component_StripeCreditCardSummaryComponent","_component_AddressSummaryComponent","_component_CheckoutPriceSummary","_component_TagsTextField","_component_AffiliateOnCheckout","_component_UpdatePaymentOptions","_component_UpdateShippingOptions","_component_CheckoutDetailHeader","InstantCheckoutStatus","ProductUnavailable","shopifyStoreUrl","showProductImage","updatePaymentOptions","updateShippingOptions","showPolicy","DisplayProduct","onReadyToBuy","handleReadyToBuy","selectedPaymentOption","updatePaymentOption","selectedShippingAddress","updateShippingOption","showShippingOptions","onHasWallet","isWaiting","buyButtonLoadingText","buyButtonText","showConfirmBuyer","openLink","ConfirmMobileNumber","handleConfirmationCode","maxlength","autofocus","_vModelText","bannerError","checkoutButtonText","CollectUserDetails","CompletedPurchase","showAffiliateSection","buyerHasAffiliateTag","AffiliateSignup","percentage","onBackToCheckout","onPaymentOptionUpdated","onShippingAddressUpdated","skuOptions","completedPurchase","selections","selectedOption","updateReadyToBuy","resetOptions","productImage","InstantCheckoutProductImage","CheckoutDetailDivider","internalSku","getSkuOptions","selectionComplete","newVal","matchingSku","newItems","checkDescriptionLength","selectedVariant","element","tempOptions","readyToBuy","q","variantName","and","selectedSku","possibleSkus","possibleOptions","step2","skuValue","optionValue","indexToDelete","kv","shippingText","taxShippingText","taxToBeDetermined","shippingToBeDetermined","navigateToShopifyStore","verticallyCenterActionSlot","labelText","hideLabel","fullAddress","addressComponents","_component_TagsToggle","_component_BaseCheckoutStep","_component_AddPaymentOption","addNewCard","selectedPaymentOptionChanged","defaultCard","selectPaymentOption","nonDefaultCards","onAddPaymentCanceled","onAddPaymentCompleted","newPaymentAdded","confirmAddCard","onIncomplete","BaseCheckoutStep","_component_SwitchComponent","_component_SwitchLabel","_component_SwitchGroup","model","SwitchComponent","SwitchGroup","SwitchLabel","StripeCreditCardSummaryComponent","AddPaymentOption","TagsToggle","initialSelectedPaymentOption","paymentOptionUpdated","reactive","isPaymentOptionSelected","paymentOption","_component_AddShippingOption","addNewShippingOption","selectedShippingAddressChanged","defaultAddress","selectShippingAddress","nonDefaultAddresses","onAddAddressCanceled","onAddAddressCompleted","shippingOptionAdded","saveShippingAddress","AddressSummaryComponent","AddShippingOption","initialSelectedShippingOption","shippingAddressUpdated","selectedShippingOption","newAddress","so","selectedAddress","AffiliateOnCheckoutStatus","SignupStep1","SignupStep2","registerAffiliate","username","usernameError","Completed","guideline","copyButtonState","copyLink","checkoutUrl","NUMBER_NOT_FOUND","USER_NOT_FOUND","USER_FOUND","INVALID_DATA","USERNAME_IN_USE","SHARE_DISABLED","SUSPENDED","SELLER_DOES_EXIST","PRODUCT_ID_MISSING","affiliateTag","validateAffiliate","tagCreationFailed","goToStore","InstantCheckoutProduct","CheckoutPriceSummary","UpdatePaymentOptions","UpdateShippingOptions","UnavailableProductComponent","CheckoutDetailHeader","AffiliateOnCheckout","previousStatus","initialStripeIds","paymentId","customerId","actionId","receipt","affiliateInfo","isAffiliateTag","buyerIsInNetwork","signInToken","brandShareEnabled","affiliateSectionHeader","ShowPolicy","skuOptionsString","parsePriceString","updatedPrice","qr","sms","sfl","setupInactiveProductData","getBannerMessageForProductReplyCode","userIsInBrandNetwork","setDefaultShippingAndPaymentOptions","productInfoData","replyCode","setShippingAddress","updateTaxes","handleBuyerPurchase","confirmBuyer","getInstantCheckoutForNewUser","potentialPayment","instantCheckoutResponse","signInOnly","shipToAddressId","selectedPaymentOptionId","PURCHASE_OWN_TAG","BUYUER_PURCHASE_OWN_TAG","viewAccount","scrollTo","getProductTaxes","_defineComponent","__name","__props","_withAsyncContext","__temp","__restore","_hoisted_82","_hoisted_83","_hoisted_84","_hoisted_85","_hoisted_86","shippingTrackingId","sellerSupportEmail","sellerSupportPhone","lastFourCC","shippingAddressLine1","shippingAddressLine2","shippingCity","shippingState","shippingPostalCode","shippingCourier","purchaseListLength","_imports_3","pageHeaderTitle","joinDescriptionText","signupType","sellerInfo","getStarted","affiliate","goToFindProducts","possessiveBrandName","shopifyStore","isExistingUser","hasUserName","defaultSlug","possessiveSIfNeeded","overview","BuyerDashboard","_component_BoostBrandCard","openFindProductsLink","onImageClicked","showBrandTags","onImageClick","BoostBrandCard","remove","isDangerous","refreshButtonState","popularBrands","first","second","third","totalAmount","pendingAmount","availableAmount","canWithdraw","showWithdraw","affiliateTransactions","activityDate","withdrawAmount","maxAmount","withdraw","available","history","BUYER_AFFILIATE_WITHDRAW_SUCCESS","storeLink","findProducts","brandTags","download","allTags","BuyerBase","requiresBuyerAuth","BuyerTags","BuyerBrandTags","BuyerInsights","BuyerEarnings","BuyerProductOrders","BuyerOrderDetail","BuyerSettings","BuyerUpdateNumberComponent","BuyerCardInformationComponent","BuyerShippingAddressComponent","BuyerRegistrationComponent","BuyerCheckout","InstantCheckout","ProductCheckout","_component_LoginBuyer","_component_LoginSeller","loginType","userType","setUserType","currentLoginType","MOBILE","EMAIL","loginState","setLoginType","BUYER_LOGIN_INVALID_PHONE_NUMBER","loginSeller","loginButtonState","showAccounts","LoginBuyer","LoginSeller","buyerConfirmationCodeInputInProcess","buyerRegistrationInProcess","sellerRegistrationInProcess","sendEmail","sendInstructionsButtonState","Messages","returnToLogin","Pending","emailVerificationCode","handleVerifyEmail","Success","Failure","oobCode","_component_MarketplaceSearchComponent","_component_SearchIcon","_component_SearchResults","_component_FeaturedProducts","_component_MarketplaceDrawerComponent","isSearching","_component_ProductsGallery","validProducts","showBrandLogo","brandsIdMap","selectProduct","prev","curr","ProductsGallery","newProducts","imageObject","Image","onload","immediate","_component_TransitionChild","_component_ComboboxInput","_component_ComboboxOption","_component_ComboboxOptions","_component_Combobox","_component_DialogPanel","_component_HeadlessDialog","_component_TransitionRoot","appear","onAfterLeave","onClose","enter","leave","onSelect","static","active","filteredPeople","person","color","Combobox","ComboboxInput","ComboboxOptions","ComboboxOption","HeadlessDialog","DialogPanel","TransitionChild","TransitionRoot","SearchIcon","useUrlSearchParams","updateUrl","people","_component_ProductDetailsComponent","_component_CheckoutReadyComponent","_component_RegisterComponent","_component_MarketplaceCreateCheckoutComponent","openDrawer","closeDrawer","selectedProduct","brandDetails","onCheckoutCreated","handleCheckoutCreated","ReplyCode","submitForm","loginInstead","mobileNumberError","requestedCode","invalidConfirmationCode","loginMobileNumberError","codeInputRef","codeRegisterInputRef","newLoginRef","newRegisterRef","focus","verifyConfirmationCode","registerUser","isRegistering","handleSuccessResponse","handleErrorResponse","isUserAnAffiliate","successCodes","PREREGISTER_NEW_USER","AFFILIATE_HAS_USERNAME","PHONE_NUMBER_NOT_FOUND","INVALID_CODE","createCheckoutButtonState","usernameRequired","tagCreationComplete","brandLogo","showGuidelines","RegisterComponent","ProductDetailsComponent","CheckoutReadyComponent","MarketplaceCreateCheckoutComponent","watchEffect","SearchResults","FeaturedProducts","BoostLoader","MarketplaceSearchComponent","MarketplaceDrawerComponent","getCurrentBuyerProducts","sellerPolicy","Policy","getSellerInfo","storeSlug","_component_AccountsMenuControlsComponent","accountFilterType","onAccountSearch","fireSearch","filteredAccounts","onAccountClick","totalTags","totalCustomers","viewAccounts","innerFilter","AccountsMenuControlsComponent","mapState","filterList","sortList","reverse","totalSellers","totalTagCount","totalBuyers","AdminStats","totalGMV","stripeGrossTotal","overallStats","_component_stripe_credit_card_details_component","_component_stripe_credit_card_summary_component","primaryCreditCard","secondaryCreditCard","secondaryAddress","cardFourDetails","line1","line2","makeCreditCardDefault","alert","addressMenuItems","PrivacyPolicy","BuyerTermsConditions","SellerTermsConditions","baseRoutes","Login","MarketplaceHome","UserActions","ForgotPassword","EmailVerified","AccountsComponent","requiresSuperAdmin","Sample","router","createRouter","createWebHistory","routes","sellerRoutes","buyerRoutes","scrollBehavior","savedPosition","left","beforeEach","matched","record","SELLER_NEED_CONNECT_STRIPE","planPaymentFailed","SELLER_PLAN_PAYMENT_FAILED","BUYER_BANNER_CONNECT_STRIPE","BUYER_ACCOUNT_UNVERIFIED","rightIcon","hasPrefix","fullWidth","customFailed","inputId","isRequired","showRequiredIndicator","ignoreGlobalStyle","innerType","onBlur","handleBlur","_vModelDynamic","customError","returnType","currencyOptions","locale","precision","valueScaling","autoDecimalDigits","COMPONENT_V_MODEL","useField","initialValue","syncVModel","handleChange","useCurrencyInput","inputRef","setOptions","setValue","togglePassword","innerValue","hideErrors","placeHolder","defaultOption","selected","isOptionSelected","_vModelSelect","setPlaceholder","getSelectedOption","_mergeProps","$attrs","internalFailed","onKeydown","addKeyword","canClickAddKeyword","hideTray","removeKeyword","internalErrors","minimumValue","muteChanges","canAddKeyword","clearErrors","keywordToCheck","throwError","minValue","arrayIndex","fixedColumns","hideArrow","hasContextMenu","hasTray","hideOverflow","imageFirst","col","checked","showTray","rowKey","columnKey","clickAction","clickId","columnValue","showDetails","toggleTray","colspan","hideFooter","perPage","innerColumns","rowIndex","columnIndex","isLastColumn","showRequiredAsteriskOnLabel","hasError","initCreditCardPayment","elements","base","iconColor","create","mount","on","cardEvent","empty","paymentLabel","paymentClientSecret","initDigitalWalletPayments","paymentRequest","requestPayerName","requestPayerEmail","requestPayerPhone","requestShipping","paymentRequestButton","theme","canMakePayment","paymentMethod","handleActions","handleCardAction","stackOnMobile","cancelLabel","cancelHandler","saveDisabled","saveLoadingState","saveLoadingLabel","saveCompleteLabel","saveHandler","maskUnits","y","mask","hasImage","imageSrc","openFile","confirmRemoveImage","accept","getFileContents","showPopup","onRemoveImage","onCancelModal","BoostImageUpload","writeOnPreview","confirmOnRemove","imageFile","loadingImage","previewAndUploadFile","file","getImagePreviews","image_upload_file_open","optionKey","DELETE_CONFIRMATION","CANCEL_IMAGE_REMOVAL","OK_YES","CANCEL_NO_4","fileInput","files","size","GENERIC_SIZE_EXCEEDED","acceptedMimeTypes","GENERIC_INVALID_FILE","reader","FileReader","Buffer","img","image_preview","imageFilePreviewedEventArgs","readAsDataURL","typeImageUrl","BoostViewOnlyImage","altText","currentPage","totalPages","canGoPrevious","goPrevious","canGoNext","goNext","computedItems","startCurrentPage","endCurrentPage","ceil","oldVal","v_if","subMessage","hasExpander","stateList","rx","transform","_Transition","messageType","dismissToast","toggleMenu","buttonCoords","windowWidth","innerWidth","menuCoords","bottom","addEventListener","resizeHandler","removeEventListener","contextMenu","getBoundingClientRect","coord","button","coords","right","outOfBoundsX","outOfBoundsY","innerHeight","registerThirdPartyComponents","Vue","ValidationObserver","FILTER_OPTIONS","allowedTags","allowedAttributes","span","selfClosing","allowedSchemes","parser","decodeEntities","directive","beforeMount","el","binding","innerHTML","sanitize","registerCommmonComponents","BoostButton","BoostInput","BoostSelect","BoostTextarea","BoostKeywords","BoostTable","BoostStripeCard","BoostWalletPay","BoostControlFooter","BoostPagination","BoostToggle","BoostContextMenu","BoostInfoCard","BoostCard","BoostStepCard","BoostStatePicker","TagsTextField","TagsPill","TagsToast","defineRule","numeric","max_value","min_value","alpha","alpha_spaces","configure","generateMessage","rule","messages","postal","max_withdraw","profanity","money","field","app","config","initializeApp","sync","onAuthStateChanged","createApp","Application","use","webpackContext","req","webpackContextResolve","__webpack_require__","module","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","j","every","getter","__esModule","definition","defineProperty","enumerable","chunkId","all","promises","miniCssF","g","globalThis","Function","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","needAttach","scripts","getElementsByTagName","getAttribute","charset","timeout","nc","onScriptComplete","onerror","clearTimeout","doneFns","parentNode","bind","Symbol","toStringTag","createStylesheet","fullhref","oldTag","reject","linkTag","rel","onLinkComplete","errorType","realHref","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}