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,EAAoBQ,EAAEO,EAAI,SAASY,GAAW,OAAoC,IAA7B0D,EAAgB1D,EAAgB,EAGrF,IAAI8D,EAAuB,SAASC,EAA4Bh6B,GAC/D,IAKIu0B,EAAU0B,EALVlB,EAAW/0B,EAAK,GAChBi6B,EAAcj6B,EAAK,GACnBk6B,EAAUl6B,EAAK,GAGIm1B,EAAI,EAC3B,GAAGJ,EAASoF,MAAK,SAASx2B,GAAM,OAA+B,IAAxBg2B,EAAgBh2B,EAAW,IAAI,CACrE,IAAI4wB,KAAY0F,EACZ3F,EAAoBuB,EAAEoE,EAAa1F,KACrCD,EAAoBM,EAAEL,GAAY0F,EAAY1F,IAGhD,GAAG2F,EAAS,IAAI3mB,EAAS2mB,EAAQ5F,EAClC,CAEA,IADG0F,GAA4BA,EAA2Bh6B,GACrDm1B,EAAIJ,EAASnqB,OAAQuqB,IACzBc,EAAUlB,EAASI,GAChBb,EAAoBuB,EAAE8D,EAAiB1D,IAAY0D,EAAgB1D,IACrE0D,EAAgB1D,GAAS,KAE1B0D,EAAgB1D,GAAW,EAE5B,OAAO3B,EAAoBQ,EAAEvhB,EAC9B,EAEI6mB,EAAqBC,KAAK,0CAA4CA,KAAK,2CAA6C,GAC5HD,EAAmB5S,QAAQuS,EAAqB/B,KAAK,KAAM,IAC3DoC,EAAmBn4B,KAAO83B,EAAqB/B,KAAK,KAAMoC,EAAmBn4B,KAAK+1B,KAAKoC,G,ICpFvF,IAAIE,EAAsBhG,EAAoBQ,OAAEzY,EAAW,CAAC,MAAM,WAAa,OAAOiY,EAAoB,KAAO,IACjHgG,EAAsBhG,EAAoBQ,EAAEwF,E","sources":["webpack://beautynet-client-portal-ui/./src/components/Badge.vue?94b0","webpack://beautynet-client-portal-ui/src/components/Badge.vue","webpack://beautynet-client-portal-ui/./src/components/Badge.vue?296b","webpack://beautynet-client-portal-ui/./src/components/Badge.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/ActionButton.vue?a642","webpack://beautynet-client-portal-ui/src/components/Buttons/ActionButton.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/ActionButton.vue?3c5e","webpack://beautynet-client-portal-ui/./src/components/Buttons/ActionButton.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/Button.vue?e5ac","webpack://beautynet-client-portal-ui/src/components/Buttons/Button.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/Button.vue?6da2","webpack://beautynet-client-portal-ui/./src/components/Buttons/Button.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/ButtonContainer.vue?20e2","webpack://beautynet-client-portal-ui/src/components/Buttons/ButtonContainer.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/ButtonContainer.vue?8f55","webpack://beautynet-client-portal-ui/./src/components/Buttons/ButtonContainer.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/CloseButton.vue?bfe4","webpack://beautynet-client-portal-ui/src/components/Buttons/CloseButton.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/CloseButton.vue?43fd","webpack://beautynet-client-portal-ui/./src/components/Buttons/CloseButton.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/IconButton.vue?5025","webpack://beautynet-client-portal-ui/src/components/Buttons/IconButton.vue","webpack://beautynet-client-portal-ui/./src/components/Buttons/IconButton.vue?4de6","webpack://beautynet-client-portal-ui/./src/components/Buttons/IconButton.vue","webpack://beautynet-client-portal-ui/./src/components/Form/CheckboxInput.vue?d391","webpack://beautynet-client-portal-ui/src/components/Form/CheckboxInput.vue","webpack://beautynet-client-portal-ui/./src/components/Form/CheckboxInput.vue?1629","webpack://beautynet-client-portal-ui/./src/components/Form/CheckboxInput.vue","webpack://beautynet-client-portal-ui/./src/components/Icon.vue?c610","webpack://beautynet-client-portal-ui/src/components/Icon.vue","webpack://beautynet-client-portal-ui/./src/components/Icon.vue?57a9","webpack://beautynet-client-portal-ui/./src/components/Icon.vue","webpack://beautynet-client-portal-ui/./src/components/Loading.vue?2be2","webpack://beautynet-client-portal-ui/src/components/Loading.vue","webpack://beautynet-client-portal-ui/./src/components/Loading.vue?c91b","webpack://beautynet-client-portal-ui/./src/components/Loading.vue","webpack://beautynet-client-portal-ui/./src/components/Modal.vue?7311","webpack://beautynet-client-portal-ui/src/components/Modal.vue","webpack://beautynet-client-portal-ui/./src/components/Modal.vue?08fb","webpack://beautynet-client-portal-ui/./src/components/Modal.vue","webpack://beautynet-client-portal-ui/./src/components/ModalActions.vue?2789","webpack://beautynet-client-portal-ui/src/components/ModalActions.vue","webpack://beautynet-client-portal-ui/./src/components/ModalActions.vue?d4ce","webpack://beautynet-client-portal-ui/./src/components/ModalActions.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsList.vue?98bb","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsListItem.vue?57a8","webpack://beautynet-client-portal-ui/src/components/Notifications/NotificationsListItem.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsListItem.vue?91b2","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsListItem.vue","webpack://beautynet-client-portal-ui/src/components/Notifications/NotificationsList.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsList.vue?ea09","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsList.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/Padding.vue?3352","webpack://beautynet-client-portal-ui/src/components/Utils/Padding.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/Padding.vue?d121","webpack://beautynet-client-portal-ui/./src/components/Utils/Padding.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/Pipe.vue?be3a","webpack://beautynet-client-portal-ui/src/components/Utils/Pipe.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/Pipe.vue?8fff","webpack://beautynet-client-portal-ui/./src/components/Utils/Pipe.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/PrivacyPolicyModal.vue?bc09","webpack://beautynet-client-portal-ui/src/components/Utils/PrivacyPolicyModal.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/PrivacyPolicyModal.vue?4c03","webpack://beautynet-client-portal-ui/./src/components/Utils/PrivacyPolicyModal.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/TableLoadingPlaceholder.vue?64b2","webpack://beautynet-client-portal-ui/src/components/Utils/TableLoadingPlaceholder.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/TableLoadingPlaceholder.vue?892d","webpack://beautynet-client-portal-ui/./src/components/Utils/TableLoadingPlaceholder.vue","webpack://beautynet-client-portal-ui/./src/constants/api.js","webpack://beautynet-client-portal-ui/./src/constants/index.js","webpack://beautynet-client-portal-ui/./src/eventBus/index.js","webpack://beautynet-client-portal-ui/./src/components/v-switch.vue","webpack://beautynet-client-portal-ui/src/components/v-switch.vue","webpack://beautynet-client-portal-ui/./src/components/v-switch.vue?2901","webpack://beautynet-client-portal-ui/./src/App.vue?34f6","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/PageTemplate.vue?1e72","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CookieConsent.vue?9e99","webpack://beautynet-client-portal-ui/src/components/PageTemplate/CookieConsent.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CookieConsent.vue?3725","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CookieConsent.vue","webpack://beautynet-client-portal-ui/./src/components/MessagingModal/index.vue?db5a","webpack://beautynet-client-portal-ui/src/components/MessagingModal/index.vue","webpack://beautynet-client-portal-ui/./src/components/MessagingModal/index.vue?7c16","webpack://beautynet-client-portal-ui/./src/components/MessagingModal/index.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/Confirmations/ConfirmationModal.vue?4fc4","webpack://beautynet-client-portal-ui/src/components/PageTemplate/Confirmations/ConfirmationModal.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/Confirmations/ConfirmationModal.vue?53c2","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/Confirmations/ConfirmationModal.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/FlashNotifications.vue?7c9c","webpack://beautynet-client-portal-ui/src/components/PageTemplate/FlashNotifications.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/FlashNotifications.vue?535a","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/FlashNotifications.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/AppFooter.vue?2362","webpack://beautynet-client-portal-ui/./src/components/Utils/CookiesModal.vue?2e07","webpack://beautynet-client-portal-ui/src/components/Utils/CookiesModal.vue","webpack://beautynet-client-portal-ui/./src/components/Utils/CookiesModal.vue?c4f2","webpack://beautynet-client-portal-ui/./src/components/Utils/CookiesModal.vue","webpack://beautynet-client-portal-ui/src/components/PageTemplate/AppFooter.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/AppFooter.vue?e7d8","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/AppFooter.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/HeaderBar.vue?a72a","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/UserMenu.vue?28a5","webpack://beautynet-client-portal-ui/src/components/PageTemplate/UserMenu.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/UserMenu.vue?07b9","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/UserMenu.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CloseUserMenuButton.vue?febc","webpack://beautynet-client-portal-ui/src/components/PageTemplate/CloseUserMenuButton.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CloseUserMenuButton.vue?0374","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/CloseUserMenuButton.vue","webpack://beautynet-client-portal-ui/./src/mixins/navMenuMixin.js","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsModal.vue?38a3","webpack://beautynet-client-portal-ui/src/components/Notifications/NotificationsModal.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsModal.vue?07b1","webpack://beautynet-client-portal-ui/./src/components/Notifications/NotificationsModal.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/CloseNotificationsModalButton.vue?62b9","webpack://beautynet-client-portal-ui/src/components/Notifications/CloseNotificationsModalButton.vue","webpack://beautynet-client-portal-ui/./src/components/Notifications/CloseNotificationsModalButton.vue?c299","webpack://beautynet-client-portal-ui/./src/components/Notifications/CloseNotificationsModalButton.vue","webpack://beautynet-client-portal-ui/src/components/PageTemplate/HeaderBar.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/HeaderBar.vue?fcc6","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/HeaderBar.vue","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalWrapper.vue?1b23","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModal.vue?aea2","webpack://beautynet-client-portal-ui/src/components/LocalModal/LocalModal.vue","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModal.vue?26e2","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModal.vue","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalMask.vue?d68b","webpack://beautynet-client-portal-ui/src/components/LocalModal/LocalModalMask.vue","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalMask.vue?4eaa","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalMask.vue","webpack://beautynet-client-portal-ui/src/components/LocalModal/LocalModalWrapper.vue","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalWrapper.vue?d2ab","webpack://beautynet-client-portal-ui/./src/components/LocalModal/LocalModalWrapper.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/MobileMenu.vue?a2ad","webpack://beautynet-client-portal-ui/src/components/PageTemplate/MobileMenu.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/MobileMenu.vue?358b","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/MobileMenu.vue","webpack://beautynet-client-portal-ui/./src/components/ImageLightbox.vue?5d32","webpack://beautynet-client-portal-ui/src/components/ImageLightbox.vue","webpack://beautynet-client-portal-ui/./src/components/ImageLightbox.vue?336e","webpack://beautynet-client-portal-ui/./src/components/ImageLightbox.vue","webpack://beautynet-client-portal-ui/src/components/PageTemplate/PageTemplate.vue","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/PageTemplate.vue?bd7f","webpack://beautynet-client-portal-ui/./src/components/PageTemplate/PageTemplate.vue","webpack://beautynet-client-portal-ui/src/App.vue","webpack://beautynet-client-portal-ui/./src/App.vue?51dd","webpack://beautynet-client-portal-ui/./src/App.vue","webpack://beautynet-client-portal-ui/./src/utils/api/FetchPath.js","webpack://beautynet-client-portal-ui/./src/utils/date/converter/datetimeStringToTimestampConverter.js","webpack://beautynet-client-portal-ui/./src/utils/api/offers.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/container/HttpCacheItem.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/HttpCache.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/container/HttpCachePoolConfig.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/config/HttpCachePoolConfigProvider.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/pools.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/config/index.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/adapter/HttpCacheAbstractAdapter.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/adapter/HttpCacheVolatileAdapter.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/adapter/HttpCacheLocalStorageAdapter.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/adapter/index.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/HttpCacheAbstractService.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/HttpCacheItemService.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/HttpCacheGroupService.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/helper/calculateExpiresOnValue.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/helper/getServiceArgsValue.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/helper/getServiceArgsFunction.js","webpack://beautynet-client-portal-ui/./src/utils/iri/extractIdFromIri.js","webpack://beautynet-client-portal-ui/./src/utils/iri/iriFactory.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/service/index.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/factory/HttpCacheAdapterFactory.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/factory/HttpCacheServiceFactory.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/factory/index.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/filter/expiredItemFilter.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/filter/createdAfterFilter.js","webpack://beautynet-client-portal-ui/./src/utils/httpCache/index.js","webpack://beautynet-client-portal-ui/./src/utils/api/fetchWrapper.js","webpack://beautynet-client-portal-ui/./src/constants/auth.js","webpack://beautynet-client-portal-ui/./src/utils/auth/auth0Client.js","webpack://beautynet-client-portal-ui/./src/utils/auth/AuthInitializer/index.js","webpack://beautynet-client-portal-ui/./src/utils/auth/AuthInitializer/checkSession.js","webpack://beautynet-client-portal-ui/./src/utils/auth/AuthInitializer/loadAuth0User.js","webpack://beautynet-client-portal-ui/./src/utils/auth/AuthInitializer/loadUserData.js","webpack://beautynet-client-portal-ui/./src/utils/auth/index.js","webpack://beautynet-client-portal-ui/./src/utils/api/index.js","webpack://beautynet-client-portal-ui/./src/utils/api/usage.js","webpack://beautynet-client-portal-ui/./src/utils/api/yodaFormatter.js","webpack://beautynet-client-portal-ui/./src/utils/api/account.js","webpack://beautynet-client-portal-ui/./src/store/account.js","webpack://beautynet-client-portal-ui/./src/store/auth/actions.js","webpack://beautynet-client-portal-ui/./src/store/auth/mutations.js","webpack://beautynet-client-portal-ui/./src/store/auth/state.js","webpack://beautynet-client-portal-ui/./src/store/auth/index.js","webpack://beautynet-client-portal-ui/./src/utils/api/basket/functions.js","webpack://beautynet-client-portal-ui/./src/utils/api/basket/loadAdditionalBasketData.js","webpack://beautynet-client-portal-ui/./src/utils/api/basket/offerLineIriUnitQuantityMapFactory.js","webpack://beautynet-client-portal-ui/./src/utils/api/basket/index.js","webpack://beautynet-client-portal-ui/./src/store/basket/actions.js","webpack://beautynet-client-portal-ui/./src/utils/functions/mergeArrays.js","webpack://beautynet-client-portal-ui/./src/store/basket/mutations.js","webpack://beautynet-client-portal-ui/./src/store/basket/state.js","webpack://beautynet-client-portal-ui/./src/store/basket/getters.js","webpack://beautynet-client-portal-ui/./src/store/basket/index.js","webpack://beautynet-client-portal-ui/./src/utils/createId.js","webpack://beautynet-client-portal-ui/./src/store/confirmations/Confirmation.js","webpack://beautynet-client-portal-ui/./src/store/confirmations/index.js","webpack://beautynet-client-portal-ui/./src/store/comments/actions.js","webpack://beautynet-client-portal-ui/./src/store/comments/index.js","webpack://beautynet-client-portal-ui/./src/store/notifications/state.js","webpack://beautynet-client-portal-ui/./src/store/notifications/mutations.js","webpack://beautynet-client-portal-ui/./src/store/notifications/actions.js","webpack://beautynet-client-portal-ui/./src/store/notifications/getters.js","webpack://beautynet-client-portal-ui/./src/store/notifications/flash/state.js","webpack://beautynet-client-portal-ui/./src/store/notifications/flash/mutations.js","webpack://beautynet-client-portal-ui/./src/store/notifications/flash/actions.js","webpack://beautynet-client-portal-ui/./src/store/notifications/flash/index.js","webpack://beautynet-client-portal-ui/./src/store/notifications/index.js","webpack://beautynet-client-portal-ui/./src/store/offers/mutations.js","webpack://beautynet-client-portal-ui/./src/store/offers/actions.js","webpack://beautynet-client-portal-ui/./src/store/offers/getters.js","webpack://beautynet-client-portal-ui/./src/store/offers/state.js","webpack://beautynet-client-portal-ui/./src/store/offers/index.js","webpack://beautynet-client-portal-ui/./src/utils/requireAuthentication.js","webpack://beautynet-client-portal-ui/./src/store/orders/state.js","webpack://beautynet-client-portal-ui/./src/store/orders/mutations.js","webpack://beautynet-client-portal-ui/./src/utils/date/formatter/machineDateFormatter.js","webpack://beautynet-client-portal-ui/./src/store/orders/actions.js","webpack://beautynet-client-portal-ui/./src/store/orders/getters.js","webpack://beautynet-client-portal-ui/./src/store/orders/lines/state.js","webpack://beautynet-client-portal-ui/./src/store/orders/lines/mutations.js","webpack://beautynet-client-portal-ui/./src/store/orders/lines/actions.js","webpack://beautynet-client-portal-ui/./src/store/orders/lines/index.js","webpack://beautynet-client-portal-ui/./src/store/orders/changes/state.js","webpack://beautynet-client-portal-ui/./src/store/orders/changes/mutations.js","webpack://beautynet-client-portal-ui/./src/store/orders/changes/actions.js","webpack://beautynet-client-portal-ui/./src/store/orders/changes/index.js","webpack://beautynet-client-portal-ui/./src/store/orders/index.js","webpack://beautynet-client-portal-ui/./src/store/state.js","webpack://beautynet-client-portal-ui/./src/store/localModal/mutations.js","webpack://beautynet-client-portal-ui/./src/store/localModal/actions.js","webpack://beautynet-client-portal-ui/./src/store/localModal/state.js","webpack://beautynet-client-portal-ui/./src/store/localModal/index.js","webpack://beautynet-client-portal-ui/./src/utils/cookies/CookieInteractor.js","webpack://beautynet-client-portal-ui/./src/utils/cookies/index.js","webpack://beautynet-client-portal-ui/./src/store/cookieConsent/state.js","webpack://beautynet-client-portal-ui/./src/store/cookieConsent/getters.js","webpack://beautynet-client-portal-ui/./src/store/cookieConsent/mutations.js","webpack://beautynet-client-portal-ui/./src/store/cookieConsent/actions.js","webpack://beautynet-client-portal-ui/./src/store/cookieConsent/index.js","webpack://beautynet-client-portal-ui/./src/store/messages/actions.js","webpack://beautynet-client-portal-ui/./src/store/messages/index.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/actions.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/mutations.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/state.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/line/actions.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/line/mutations.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/line/state.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/line/getters.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/line/index.js","webpack://beautynet-client-portal-ui/./src/store/basketImport/index.js","webpack://beautynet-client-portal-ui/./src/store/lightbox/state.js","webpack://beautynet-client-portal-ui/./src/store/lightbox/mutations.js","webpack://beautynet-client-portal-ui/./src/store/lightbox/actions.js","webpack://beautynet-client-portal-ui/./src/store/lightbox/index.js","webpack://beautynet-client-portal-ui/./src/store/actions.js","webpack://beautynet-client-portal-ui/./src/store/mutations.js","webpack://beautynet-client-portal-ui/./src/store/getters.js","webpack://beautynet-client-portal-ui/./src/store/index.js","webpack://beautynet-client-portal-ui/./src/router/index.js","webpack://beautynet-client-portal-ui/./src/main.js","webpack://beautynet-client-portal-ui/./src/mixins/buttonComponentMixin.js","webpack://beautynet-client-portal-ui/./src/mixins/formFieldComponentMixin.js","webpack://beautynet-client-portal-ui/./src/store/offers/initialFilters.js","webpack://beautynet-client-portal-ui/./src/utils/LocalStorage/dataInteractors.js","webpack://beautynet-client-portal-ui/./src/utils/LocalStorage/LocalStorageActor.js","webpack://beautynet-client-portal-ui/./src/utils/LocalStorage/Offer.js","webpack://beautynet-client-portal-ui/./src/utils/LocalStorage/OfferFilters.js","webpack://beautynet-client-portal-ui/./src/utils/LocalStorage/index.js","webpack://beautynet-client-portal-ui/./src/utils/browser/detectBrowser.js","webpack://beautynet-client-portal-ui/./src/utils/browser/index.js","webpack://beautynet-client-portal-ui/./src/utils/enterKeyPressed.js","webpack://beautynet-client-portal-ui/./src/utils/getAttr.js","webpack://beautynet-client-portal-ui/webpack/bootstrap","webpack://beautynet-client-portal-ui/webpack/runtime/chunk loaded","webpack://beautynet-client-portal-ui/webpack/runtime/compat get default export","webpack://beautynet-client-portal-ui/webpack/runtime/define property getters","webpack://beautynet-client-portal-ui/webpack/runtime/ensure chunk","webpack://beautynet-client-portal-ui/webpack/runtime/get javascript chunk filename","webpack://beautynet-client-portal-ui/webpack/runtime/get mini-css chunk filename","webpack://beautynet-client-portal-ui/webpack/runtime/global","webpack://beautynet-client-portal-ui/webpack/runtime/hasOwnProperty shorthand","webpack://beautynet-client-portal-ui/webpack/runtime/load script","webpack://beautynet-client-portal-ui/webpack/runtime/make namespace object","webpack://beautynet-client-portal-ui/webpack/runtime/publicPath","webpack://beautynet-client-portal-ui/webpack/runtime/css loading","webpack://beautynet-client-portal-ui/webpack/runtime/jsonp chunk loading","webpack://beautynet-client-portal-ui/webpack/startup"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-badge',{staticClass:\"badge--custom\",class:(\"badge--text-\" + _vm.textColour + \" badge--font-weight-\" + _vm.fontWeight + \" badge--size-\" + _vm.size),attrs:{\"pill\":\"\",\"variant\":_vm.variant}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <b-badge pill\n :variant=\"variant\"\n class=\"badge--custom\"\n :class=\"`badge--text-${textColour} badge--font-weight-${fontWeight} badge--size-${size}`\">\n <slot/>\n </b-badge>\n</template>\n\n<script>\nexport default {\n name: 'Badge',\n props: {\n colour: {\n type: String,\n required: false,\n default: 'white',\n validate: (value) => ['grey', 'white', 'primary', 'secondary'].includes(value),\n },\n textColour: {\n type: String,\n required: false,\n default: 'black',\n validate: (value) => ['grey', 'white', 'black', 'primary', 'secondary'].includes(value),\n },\n fontWeight: {\n type: String,\n required: false,\n default: 'bold',\n validate: (value) => ['normal', 'bold'].includes(value),\n },\n size: {\n type: String,\n required: false,\n default: 'medium',\n validate: (value) => ['small', 'medium', 'large'].includes(value),\n },\n },\n computed: {\n variant() {\n return {\n grey: 'dark',\n white: 'light',\n primary: 'primary',\n secondary: 'secondary',\n }[this.colour]\n },\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Badge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Badge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Badge.vue?vue&type=template&id=45e3a6c6&\"\nimport script from \"./Badge.vue?vue&type=script&lang=js&\"\nexport * from \"./Badge.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"action-button-container\",class:_vm.classes},[_c('padding',{attrs:{\"full-width\":\"\"}},[(_vm.iconOnly)?_c('icon-button',{attrs:{\"size\":_vm.size,\"icon\":_vm.icon,\"no-hover-state\":\"\",\"full-width\":\"\"},on:{\"click\":_vm.clickHandler,\"mouseenter\":_vm.mouseenterHandler,\"mouseleave\":_vm.mouseleaveHandler}}):_c('Button',{attrs:{\"size\":_vm.size,\"icon\":_vm.icon,\"icon-align-right\":_vm.active,\"nowrap\":_vm.nowrap,\"no-hover-state\":\"\",\"full-width\":\"\",\"disabled\":_vm.disabled || _vm.processing},on:{\"click\":_vm.clickHandler,\"mouseenter\":_vm.mouseenterHandler,\"mouseleave\":_vm.mouseleaveHandler}},[_vm._t(\"default\")],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"action-button-container\" :class=\"classes\">\n <padding full-width>\n <icon-button v-if=\"iconOnly\"\n :size=\"size\"\n :icon=\"icon\"\n no-hover-state\n full-width\n @click=\"clickHandler\"\n @mouseenter=\"mouseenterHandler\"\n @mouseleave=\"mouseleaveHandler\"/>\n <Button v-else\n :size=\"size\"\n :icon=\"icon\"\n :icon-align-right=\"active\"\n :nowrap=\"nowrap\"\n no-hover-state\n full-width\n :disabled=\"disabled || processing\"\n @click=\"clickHandler\"\n @mouseenter=\"mouseenterHandler\"\n @mouseleave=\"mouseleaveHandler\">\n <slot/>\n </Button>\n </padding>\n </div>\n</template>\n\n<script>\nimport buttonComponentMixin from '../../mixins/buttonComponentMixin'\nimport Padding from '../Utils/Padding'\nimport Button from './Button'\nimport IconButton from './IconButton'\n\nexport default {\n name: 'ActionButton',\n components: { IconButton, Button, Padding },\n mixins: [buttonComponentMixin],\n data() {\n return {\n hover: false,\n processing: false,\n }\n },\n props: {\n icon: {\n type: String,\n required: false,\n default: '',\n },\n iconAlignRight: {\n type: Boolean,\n required: false,\n default: false,\n },\n active: {\n type: Boolean,\n required: false,\n default: true,\n },\n borderRadiusRight: {\n type: Boolean,\n required: false,\n default: false,\n },\n iconOnly: {\n type: Boolean,\n required: false,\n default: false,\n },\n contrast: {\n type: Boolean,\n required: false,\n default: false,\n },\n asyncSubmit: {\n type: Boolean,\n required: false,\n default: false,\n },\n fullHeight: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n computed: {\n classes() {\n let classes = `action-button-container--${this.colour}`\n\n if (this.hover) {\n classes = `${classes} action-button-container--hover`\n }\n if (this.active) {\n classes = `${classes} action-button-container--active`\n } else {\n classes = `${classes} action-button-container--inactive`\n }\n if (this.borderRadiusRight) {\n classes = `${classes} action-button-container--border-radius-right`\n }\n if (this.contrast) {\n classes = `${classes} action-button-container--high-contrast`\n }\n if (this.processing) {\n classes = `${classes} action-button-container--processing`\n }\n if (this.fullHeight) {\n classes = `${classes} action-button-container--full-height`\n }\n\n return classes\n },\n },\n methods: {\n mouseenterHandler(event) {\n this.hover = true\n this.$emit('mouseenter', event)\n },\n mouseleaveHandler(event) {\n this.hover = false\n this.$emit('mouseleave', event)\n },\n clickHandler() {\n if (this.asyncSubmit) {\n this.processing = true\n\n const promise = new Promise((resolve, reject) => {\n this.$emit('click', { resolve, reject })\n })\n\n promise.then(() => {\n this.processing = false\n })\n } else {\n this.$emit('click')\n }\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActionButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActionButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActionButton.vue?vue&type=template&id=370e3a4e&\"\nimport script from \"./ActionButton.vue?vue&type=script&lang=js&\"\nexport * from \"./ActionButton.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"button\",class:_vm.classes,attrs:{\"disabled\":_vm.disabled},on:{\"mouseenter\":_vm.mouseenterHandler,\"mouseleave\":_vm.mouseleaveHandler,\"click\":_vm.clickHandler}},[(_vm.icon)?_c('icon',{staticClass:\"button__icon\",class:{ 'button__icon--right': _vm.iconAlignRight },attrs:{\"icon\":_vm.icon,\"colour\":_vm.iconColour}}):_vm._e(),_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <button class=\"button\"\n :class=\"classes\"\n :disabled=\"disabled\"\n @mouseenter=\"mouseenterHandler\"\n @mouseleave=\"mouseleaveHandler\"\n @click=\"clickHandler\">\n <icon v-if=\"icon\"\n class=\"button__icon\"\n :icon=\"icon\"\n :colour=\"iconColour\"\n :class=\"{ 'button__icon--right': iconAlignRight }\"/>\n <slot/>\n </button>\n</template>\n\n<script>\nimport Icon from '../Icon'\nimport buttonComponentMixin from '../../mixins/buttonComponentMixin'\n\nexport default {\n name: 'Button',\n components: { Icon },\n mixins: [buttonComponentMixin],\n props: {\n icon: {\n type: String,\n required: false,\n default: null,\n },\n iconAlignRight: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n computed: {\n classes() {\n let classes = this.baseClasses\n\n if (this.icon) {\n classes = `${classes} button--with-icon`\n\n if (this.iconAlignRight) {\n classes = `${classes} button--with-icon-right-align`\n }\n }\n\n return classes\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Button.vue?vue&type=template&id=4df71cd1&\"\nimport script from \"./Button.vue?vue&type=script&lang=js&\"\nexport * from \"./Button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"button-container\",class:(\"button-container--gutter-\" + _vm.gutterSize)},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"button-container\" :class=\"`button-container--gutter-${gutterSize}`\">\n <slot/>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'ButtonContainer',\n props: {\n gutterSize: {\n type: String,\n required: false,\n default: 'small',\n validation: (value) => ['small', 'medium', 'large'].includes(value),\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ButtonContainer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ButtonContainer.vue?vue&type=template&id=3c7243cd&\"\nimport script from \"./ButtonContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonContainer.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('icon-button',{staticClass:\"button--close\",attrs:{\"icon\":\"cross\",\"colour\":_vm.colour,\"size\":_vm.size,\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.$emit('click')}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <icon-button icon=\"cross\"\n class=\"button--close\"\n :colour=\"colour\"\n :size=\"size\"\n :disabled=\"disabled\"\n @click=\"$emit('click')\"/>\n</template>\n\n<script>\nimport IconButton from './IconButton'\n\nexport default {\n name: 'CloseButton',\n components: { IconButton },\n props: {\n colour: {\n type: String,\n required: false,\n default: 'grey',\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n size: {\n type: String,\n required: false,\n default: 'medium',\n validate: ['small', 'medium', 'large'].includes,\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CloseButton.vue?vue&type=template&id=89243898&\"\nimport script from \"./CloseButton.vue?vue&type=script&lang=js&\"\nexport * from \"./CloseButton.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"button button--icon-only\",class:_vm.baseClasses,attrs:{\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},[(_vm.icon)?_c('icon',{staticClass:\"button__icon\",attrs:{\"icon\":_vm.icon,\"colour\":_vm.iconColour}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <button class=\"button button--icon-only\"\n :class=\"baseClasses\"\n :disabled=\"disabled\"\n @click=\"$emit('click', $event)\">\n <icon v-if=\"icon\" :icon=\"icon\" class=\"button__icon\" :colour=\"iconColour\"/>\n </button>\n</template>\n\n<script>\nimport Icon from '../Icon'\nimport buttonComponentMixin from '../../mixins/buttonComponentMixin'\n\nexport default {\n name: 'IconButton',\n components: { Icon },\n mixins: [buttonComponentMixin],\n props: {\n icon: {\n type: String,\n required: true,\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./IconButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./IconButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IconButton.vue?vue&type=template&id=1af61026&\"\nimport script from \"./IconButton.vue?vue&type=script&lang=js&\"\nexport * from \"./IconButton.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-checkbox',{attrs:{\"id\":_vm.fieldId,\"checked\":_vm.value,\"value\":true,\"unchecked-value\":false,\"disabled\":_vm.disabled},on:{\"change\":_vm.changeHandler,\"input\":_vm.inputHandler}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <b-form-checkbox :id=\"fieldId\"\n :checked=\"value\"\n :value=\"true\"\n :unchecked-value=\"false\"\n :disabled=\"disabled\"\n @change=\"changeHandler\"\n @input=\"inputHandler\">\n {{ label }}\n </b-form-checkbox>\n</template>\n\n<script>\nimport formFieldComponentMixin from '../../mixins/formFieldComponentMixin'\n\nexport default {\n name: 'CheckboxInput',\n mixins: [formFieldComponentMixin],\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CheckboxInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CheckboxInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CheckboxInput.vue?vue&type=template&id=3c4a018e&\"\nimport script from \"./CheckboxInput.vue?vue&type=script&lang=js&\"\nexport * from \"./CheckboxInput.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('i',{staticClass:\"icon\",class:(\"icon--\" + _vm.icon + \" icon--\" + _vm.colour + \" icon--\" + _vm.size),on:{\"mouseenter\":function($event){return _vm.$emit('mouseenter', $event)},\"mouseleave\":function($event){return _vm.$emit('mouseleave', $event)}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <i class=\"icon\"\n :class=\"`icon--${icon} icon--${colour} icon--${size}`\"\n @mouseenter=\"$emit('mouseenter', $event)\"\n @mouseleave=\"$emit('mouseleave', $event)\"></i>\n</template>\n\n<script>\nexport default {\n name: 'Icon',\n props: {\n icon: {\n type: String,\n required: true,\n },\n colour: {\n type: String,\n required: false,\n default: 'black',\n validator: (value) => ['black', 'grey', 'dark-grey', 'white', 'primary', 'secondary', 'tertiary', 'teal', 'success', 'danger'].includes(value),\n },\n size: {\n type: String,\n required: false,\n default: 'medium',\n validator: (value) => ['small', 'medium', 'medium-large', 'large', 'extra-large'].includes(value),\n },\n },\n computed: {\n classes() {\n const classes = []\n\n if (this.dark) {\n classes.push('icon--dark')\n }\n\n return classes.join(' ')\n },\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Icon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=790e3881&\"\nimport script from \"./Icon.vue?vue&type=script&lang=js&\"\nexport * from \"./Icon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading-container\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.loading)?_c('div',{key:\"loading\",staticClass:\"loading\"},[_vm._t(\"loading\")],2):_c('div',{key:\"content\"},[_vm._t(\"default\")],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"loading-container\">\n <transition name=\"fade\">\n <div v-if=\"loading\" key=\"loading\" class=\"loading\">\n <slot name=\"loading\"/>\n </div>\n <div v-else key=\"content\">\n <slot />\n </div>\n </transition>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['loading'],\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=047c77d1&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-wrapper\",class:(\"modal-wrapper--\" + _vm.display)},[_vm._t(\"trigger\"),_c('b-modal',{attrs:{\"size\":_vm.modalSize,\"modal-class\":(_vm.modalClass + \" browser-\" + _vm.currentBrowser),\"centered\":\"\",\"hide-header\":\"\",\"hide-footer\":\"\",\"no-close-on-backdrop\":_vm.noCloseOnBackdrop},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:\"modalShow\"}},[_c('padding',{attrs:{\"size\":\"large\"}},[_c('div',{staticClass:\"flex__column\"},[_c('div',{staticClass:\"flex__row\"},[_c('div',{staticClass:\"flex__column flex--100\"},[_vm._t(\"title\")],2),_c('div',{staticClass:\"flex__column\"},[_c('close-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.closeModal}})],1)]),_vm._t(\"content\",null,{\"closeModal\":_vm.closeModal})],2)])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"modal-wrapper\" :class=\"`modal-wrapper--${display}`\">\n <slot name=\"trigger\"/>\n\n <b-modal v-model=\"modalShow\"\n :size=\"modalSize\"\n :modal-class=\"`${modalClass} browser-${currentBrowser}`\"\n centered\n hide-header\n hide-footer\n :no-close-on-backdrop=\"noCloseOnBackdrop\">\n <padding size=\"large\">\n <div class=\"flex__column\">\n <div class=\"flex__row\">\n <div class=\"flex__column flex--100\">\n <slot name=\"title\"/>\n </div>\n <div class=\"flex__column\">\n <close-button size=\"small\" @click=\"closeModal\"/>\n </div>\n </div>\n <slot name=\"content\" :closeModal=\"closeModal\"/>\n </div>\n </padding>\n </b-modal>\n </div>\n</template>\n\n<script>\nimport Padding from './Utils/Padding'\nimport CloseButton from './Buttons/CloseButton'\nimport { currentBrowser } from '../utils/browser'\n\nexport default {\n name: 'Modal',\n components: { CloseButton, Padding },\n props: {\n modalSize: {\n type: String,\n default: 'md',\n },\n showCloseButton: {\n type: Boolean,\n required: false,\n default: false,\n },\n display: {\n type: String,\n required: false,\n default: 'block',\n validate: ['block', 'inline', 'flex'].includes,\n },\n modalClass: {\n type: String,\n required: false,\n default: '',\n },\n noCloseOnBackdrop: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n data() {\n return {\n modalShow: false,\n currentBrowser,\n }\n },\n methods: {\n openModal() {\n this.modalShow = true\n },\n closeModal() {\n this.modalShow = false\n this.$emit('close')\n },\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=6bcca7ee&\"\nimport script from \"./Modal.vue?vue&type=script&lang=js&\"\nexport * from \"./Modal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal__actions flex__row\"},[_c('div',{staticClass:\"flex__row flex--100 flex--middle\"},[_c('padding',{attrs:{\"direction\":\"left\",\"size\":\"medium-large\"}},[_c('Button',{attrs:{\"type\":\"solid\",\"colour\":\"grey\",\"text-colour\":\"secondary\"},on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\" \"+_vm._s(_vm.cancelButtonLabel)+\" \")])],1)],1),_c('div',{staticClass:\"flex__column\"},[(!_vm.hideSubmit)?_c('action-button',{attrs:{\"icon\":_vm.submitButtonIcon,\"colour\":_vm.submitButtonColour,\"disabled\":_vm.submitDisabled,\"async-submit\":\"\"},on:{\"click\":function($event){return _vm.$emit('submit', $event)}}},[_vm._v(\" \"+_vm._s(_vm.submitButtonLabel)+\" \")]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"modal__actions flex__row\">\n <div class=\"flex__row flex--100 flex--middle\">\n <padding direction=\"left\" size=\"medium-large\">\n <Button type=\"solid\" colour=\"grey\" text-colour=\"secondary\" @click=\"$emit('cancel')\">\n {{ cancelButtonLabel }}\n </Button>\n </padding>\n </div>\n <div class=\"flex__column\">\n <action-button v-if=\"!hideSubmit\"\n :icon=\"submitButtonIcon\"\n :colour=\"submitButtonColour\"\n :disabled=\"submitDisabled\"\n async-submit\n @click=\"$emit('submit', $event)\">\n {{ submitButtonLabel }}\n </action-button>\n </div>\n </div>\n</template>\n\n<script>\nimport Button from './Buttons/Button'\nimport ActionButton from './Buttons/ActionButton'\nimport Padding from './Utils/Padding'\n\nexport default {\n name: 'ModalActions',\n components: { Padding, ActionButton, Button },\n props: {\n submitButtonLabel: {\n type: String,\n required: false,\n default: 'Submit',\n },\n submitButtonIcon: {\n type: String,\n required: false,\n default: null,\n },\n submitButtonColour: {\n type: String,\n required: false,\n default: 'primary',\n },\n cancelButtonLabel: {\n type: String,\n required: false,\n default: 'Cancel',\n },\n submitDisabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n hideSubmit: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModalActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModalActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModalActions.vue?vue&type=template&id=e6c900e4&\"\nimport script from \"./ModalActions.vue?vue&type=script&lang=js&\"\nexport * from \"./ModalActions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex__column notifications-list\"},_vm._l((_vm.notifications),function(notification){return _c('notification-list-item',{key:notification.id,attrs:{\"notification\":notification},on:{\"close\":function($event){return _vm.$emit('close')}}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"observe-visibility\",rawName:\"v-observe-visibility\",value:(_vm.rowIsVisibleHandler),expression:\"rowIsVisibleHandler\"}],staticClass:\"notification-list__item\",class:{'notification-list__item--new': _vm.isNew}},[_c('padding',{staticClass:\"flex--middle\",attrs:{\"row\":\"\"}},[_c('div',{staticClass:\"flex__column flex--100\",on:{\"click\":_vm.clickHandler}},[_vm._v(\" \"+_vm._s(_vm.content)+\" \")]),(_vm.isRemovable)?_c('div',{staticClass:\"flex__row notification-list__remove\"},[_c('close-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.deleteHandler}})],1):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"notification-list__item\"\n :class=\"{'notification-list__item--new': isNew}\"\n v-observe-visibility=\"rowIsVisibleHandler\">\n <padding row class=\"flex--middle\">\n <div class=\"flex__column flex--100\" @click=\"clickHandler\">\n {{ content }}\n </div>\n <div v-if=\"isRemovable\" class=\"flex__row notification-list__remove\">\n <close-button size=\"small\" @click=\"deleteHandler\"/>\n </div>\n </padding>\n </div>\n</template>\n\n<script>\nimport { mapActions } from 'vuex'\nimport { path } from 'ramda'\nimport Padding from '../Utils/Padding'\nimport CloseButton from '../Buttons/CloseButton.vue'\n\nexport default {\n name: 'NotificationListItem',\n components: { CloseButton, Padding },\n props: {\n notification: {\n type: Object,\n required: true,\n },\n },\n computed: {\n isNew() {\n return this.notification.attributes.new\n },\n isRemovable() {\n return this.notification.attributes.removable\n },\n content() {\n return this.notification.attributes.content\n },\n orderId() {\n return path(['attributes', 'data', 'orderId'], this.notification)\n },\n offerId() {\n return path(['attributes', 'data', 'offerId'], this.notification)\n },\n },\n methods: {\n ...mapActions(\n {\n xhrMarkAsViewed: 'notifications/xhrMarkAsViewed',\n xhrDeleteNotification: 'notifications/xhrDelete',\n },\n ),\n rowIsVisibleHandler(visible) {\n if (visible && this.isNew) {\n setTimeout(() => {\n this.xhrMarkAsViewed({ notification: this.notification })\n }, 2500)\n }\n },\n deleteHandler() {\n this.xhrDeleteNotification({ notification: this.notification })\n },\n clickHandler() {\n if (this.offerId && this.$route.params.offerId !== this.offerId) {\n this.$router.push({\n name: 'Offer',\n params: { offerId: this.offerId },\n })\n } else if (this.orderId && this.$route.params.orderId !== this.orderId) {\n this.$router.push({\n name: 'Order',\n params: { orderId: this.orderId },\n })\n }\n this.$emit('close')\n },\n },\n}\n</script>\n\n<style scoped>\n.notification-list__item:hover {\n background-color: #e0e0e0;\n cursor: pointer;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsListItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NotificationsListItem.vue?vue&type=template&id=71c7afa2&scoped=true&\"\nimport script from \"./NotificationsListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./NotificationsListItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NotificationsListItem.vue?vue&type=style&index=0&id=71c7afa2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71c7afa2\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"flex__column notifications-list\">\n <notification-list-item v-for=\"notification in notifications\" :key=\"notification.id\" :notification=\"notification\" @close=\"$emit('close')\"/>\n </div>\n</template>\n\n<script>\nimport { mapGetters, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport NotificationListItem from './NotificationsListItem'\n\nexport default {\n name: 'NotificationsList',\n components: { NotificationListItem },\n props: {\n unread: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n computed: {\n ...mapGetters(\n {\n unreadNotifications: 'notifications/unreadNotifications',\n },\n ),\n ...mapState(\n {\n allNotifications: path(['notifications', 'entities']),\n },\n ),\n notifications() {\n return this.unread ? this.unreadNotifications : this.allNotifications\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NotificationsList.vue?vue&type=template&id=31dc3ec4&\"\nimport script from \"./NotificationsList.vue?vue&type=script&lang=js&\"\nexport * from \"./NotificationsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"padding\",class:_vm.classes},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"padding\" :class=\"classes\">\n <slot/>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'Padding',\n props: {\n size: {\n type: String,\n required: false,\n default: 'default',\n validator: (value) => ['none', 'small', 'default', 'medium', 'medium-large', 'large', 'extra-large'].includes(value),\n },\n tabletSize: {\n type: String,\n required: false,\n default: null,\n validator: (value) => ['none', 'small', 'default', 'medium', 'medium-large', 'large', 'extra-large', null].includes(value),\n },\n mobileSize: {\n type: String,\n required: false,\n default: null,\n validator: (value) => ['none', 'small', 'default', 'medium', 'medium-large', 'large', 'extra-large', null].includes(value),\n },\n direction: {\n type: String,\n required: false,\n default: 'all',\n // validator: (value) => ['all', 'vertical', 'horizontal', 'top', 'bottom', 'left', 'right'].includes(value),\n },\n row: {\n type: Boolean,\n required: false,\n default: false,\n },\n fullHeight: {\n type: Boolean,\n required: false,\n default: false,\n },\n fullWidth: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n computed: {\n classes() {\n const classes = [`padding--${this.size} padding--${this.direction}`]\n\n if (this.mobileSize) {\n classes.push(`padding--mobile-${this.mobileSize}`)\n }\n if (this.tabletSize) {\n classes.push(`padding--tablet-${this.tabletSize}`)\n }\n if (this.row) {\n classes.push('padding--row')\n }\n if (this.fullHeight) {\n classes.push('padding--full-height')\n }\n if (this.fullWidth) {\n classes.push('padding--full-width')\n }\n\n return classes.join(' ')\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Padding.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Padding.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Padding.vue?vue&type=template&id=43e85528&\"\nimport script from \"./Padding.vue?vue&type=script&lang=js&\"\nexport * from \"./Padding.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"pipe-container\"},[_c('span',{staticClass:\"pipe\",class:(\"pipe--\" + _vm.colour + \" pipe--\" + _vm.size)})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span class=\"pipe-container\">\n <span class=\"pipe\" :class=\"`pipe--${colour} pipe--${size}`\"></span>\n </span>\n</template>\n\n<script>\nexport default {\n name: 'Pipe',\n props: {\n colour: {\n type: String,\n required: false,\n default: 'black',\n validate: ['black', 'grey', 'white', 'primary', 'secondary', 'teal', 'success'].includes,\n },\n size: {\n type: String,\n required: false,\n default: 'default',\n validate: ['default'].includes,\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Pipe.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Pipe.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Pipe.vue?vue&type=template&id=5e10f8a4&\"\nimport script from \"./Pipe.vue?vue&type=script&lang=js&\"\nexport * from \"./Pipe.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{ref:\"modal\",attrs:{\"display\":\"inline\",\"modal-size\":\"xl\"},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('a',{staticClass:\"privacy-policy-link\",attrs:{\"tabindex\":\"0\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.clickHandler.apply(null, arguments)},\"keydown\":_vm.keyDownHandler}},[_vm._v(\" Privacy Policy \")])]},proxy:true},{key:\"title\",fn:function(){return [_c('h4',[_vm._v(\"Privacy Policy\")])]},proxy:true},{key:\"content\",fn:function(){return [_c('padding',{staticClass:\"privacy-policy\",attrs:{\"direction\":\"vertical\",\"size\":\"medium\"}},[_c('p',[_vm._v(\" This privacy policy applies between you, the User of this Website, and Beautynet Ltd, the owner and provider of this Website. Beautynet Ltd takes the privacy of your information very seriously. This privacy policy applies to our use of any and all Data collected by us or provided by you in relation to your use of the Website. \")]),_c('p',[_c('b',[_vm._v(\"Please read this privacy policy carefully.\")])]),_c('h4',[_vm._v(\" Definitions and interpretation \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"1.\")]),_vm._v(\"In this privacy policy, the following definitions are used: \"),_c('table',[_c('tbody',[_c('tr',[_c('td',[_c('b',[_vm._v(\"Data\")])]),_c('td',[_vm._v(\" collectively all information that you submit to Beautynet Ltd via the Website. This definition incorporates, where applicable, the definitions provided in the Data Protection Laws; \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Cookies\")])]),_c('td',[_vm._v(\" a small text file placed on your computer by this Website when you visit certain parts of the Website and /or when you use certain features of the Website. Details of the cookies used by this Website are set out in the clause below (Cookies); \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Data Protection Laws\")])]),_c('td',[_vm._v(\" any applicable law relating to the processing of personal Data, including but not limited to the GDPR, and any national implementing and supplementary laws, regulations and secondary legislation; \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"GDPR\")])]),_c('td',[_vm._v(\" the UK General Data Protection Regulation; \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Beautynet Ltd, we\")]),_vm._v(\" or \"),_c('b',[_vm._v(\"us\")])]),_c('td',[_vm._v(\" Beautynet Ltd, a company incorporated in England and Wales with registered number 06357041 whose registered office is at Newminster House, 27-29 Baldwin St, Bristol, BS1 1LT; \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"UK and EU Cookie Law\")])]),_c('td',[_vm._v(\" the Privacy and Electronic Communications (EC Directive) Regulations 2003 as amended by the Privacy and Electronic Communications (EC Directive) (Amendment) Regulations 2011 & the Privacy and Electronic Communications (EC Directive) (Amendment) Regulations 2018; \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"User\")]),_vm._v(\" or \"),_c('b',[_vm._v(\"you\")])]),_c('td',[_vm._v(\" any third party that accesses the Website and is not either (i) employed by Beautynet Ltd and acting in the course of their employment or (ii) engaged as a consultant or otherwise providing services to Beautynet Ltd and accessing the Website in connection with the provision of such services; and \")])]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Website\")])]),_c('td',[_vm._v(\" the website that you are currently using, beautyneteurope.com, and any sub-domains of this site unless expressly excluded by their own terms and conditions. \")])])])])]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"2.\")]),_vm._v(\"In this privacy policy, unless the context requires a different interpretation: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"the singular includes the plural and vice versa; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"references to sub-clauses, clauses, schedules or appendices are to sub-clauses, clauses, schedules or appendices of this privacy policy; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"c.\")]),_vm._v(\"a reference to a person includes firms, companies, government entities, trusts and partnerships; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"d.\")]),_vm._v(\"\\\"including\\\" is understood to mean \\\"including without limitation\\\"; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"e.\")]),_vm._v(\"reference to any statutory provision includes any modification or amendment of it; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"f.\")]),_vm._v(\"the headings and sub-headings do not form part of this privacy policy. \")])]),_c('h4',[_vm._v(\"Scope of this privacy policy\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"3.\")]),_vm._v(\"This privacy policy applies only to the actions of Beautynet Ltd and Users with respect to this Website. It does not extend to any websites that can be accessed from this Website including, but not limited to, any links we may provide to social media websites. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"4.\")]),_vm._v(\"For purposes of the applicable Data Protection Laws, Beautynet Ltd is the \\\"data controller\\\". This means that Beautynet Ltd determines the purposes for which, and the manner in which, your Data is processed. \")]),_c('h4',[_vm._v(\"Data collected\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"5.\")]),_vm._v(\"We may collect the following Data, which includes personal Data, from you: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"name; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"job title; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"c.\")]),_vm._v(\"IP address (automatically collected); \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"d.\")]),_vm._v(\"web browser type and version (automatically collected); \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"e.\")]),_vm._v(\"operating system (automatically collected); \")]),_vm._v(\" in each case, in accordance with this privacy policy. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"6.\")]),_vm._v(\"We collect Data in the following ways: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"data is given to us by you; and \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"data is collected automatically. \")])]),_c('h4',[_vm._v(\"Data that is given to us by you\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"7.\")]),_vm._v(\"Beautynet Ltd will collect your Data in a number of ways, for example: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"when you contact us through the Website, by telephone, post, e-mail or through any other means; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"when you register with us and set up an account to receive our products/services; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"c.\")]),_vm._v(\"when you complete surveys that we use for research purposes (although you are not obliged to respond to them); \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"d.\")]),_vm._v(\"when you use our services; \")]),_vm._v(\" in each case, in accordance with this privacy policy. \")]),_c('h4',[_vm._v(\"Data that is collected automatically\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"8.\")]),_vm._v(\"To the extent that you access the Website, we will collect your Data automatically, for example: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"we automatically collect some information about your visit to the Website. This information helps us to make improvements to Website content and navigation, and includes your IP address, the date, times and frequency with which you access the Website and the way you use and interact with its content. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"we will collect your Data automatically via cookies, in line with the cookie settings on your browser. For more information about cookies, and how we use them on the Website, see the section below, headed \\\"Cookies\\\". \")])]),_c('h4',[_vm._v(\"Our use of Data\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"9.\")]),_vm._v(\"Any or all of the above Data may be required by us from time to time in order to provide you with the best possible service and experience when using our Website. Specifically, Data may be used by us for the following reasons: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"internal record keeping; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"improvement of our products / services; \")]),_vm._v(\" in each case, in accordance with this privacy policy. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"10.\")]),_vm._v(\"We may use your Data for the above purposes if we deem it necessary to do so for our legitimate interests. If you are not satisfied with this, you have the right to object in certain circumstances (see the section headed \\\"Your rights\\\" below). \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"11.\")]),_vm._v(\"When you register with us and set up an account to receive our services, the legal basis for this processing is the performance of a contract between you and us and/or taking steps, at your request, to enter into such a contract. \")]),_c('h4',[_vm._v(\"Who we share Data with\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"12.\")]),_vm._v(\"We may share your Data with the following groups of people for the following reasons: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"our employees, agents and/or professional advisors - to process orders and address queries; \")]),_vm._v(\" in each case, in accordance with this privacy policy. \")]),_c('h4',[_vm._v(\"Keeping Data secure\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"13.\")]),_vm._v(\"We will use technical and organisational measures to safeguard your Data, for example: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_vm._v(\"access to your account is controlled by a password and a user name that is unique to you; \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_vm._v(\"we store your Data on secure servers.; \")])]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"14.\")]),_vm._v(\"Technical and organisational measures include measures to deal with any suspected data breach. If you suspect any misuse or loss or unauthorised access to your Data, please let us know immediately by contacting us via this e-mail address: info@beautyneteurope.com. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"15.\")]),_vm._v(\"If you want detailed information from Get Safe Online on how to protect your information and your computers and devices against fraud, identity theft, viruses and many other online problems, please visit www.getsafeonline.org. Get Safe Online is supported by HM Government and leading businesses. \")]),_c('h4',[_vm._v(\"Data retention\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"16.\")]),_vm._v(\"Unless a longer retention period is required or permitted by law, we will only hold your Data on our systems for the period necessary to fulfil the purposes outlined in this privacy policy or until you request that the Data be deleted. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"17.\")]),_vm._v(\"Even if we delete your Data, it may persist on backup or archival media for legal, tax or regulatory purposes. \")]),_c('h4',[_vm._v(\"Your rights\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"18.\")]),_vm._v(\"You have the following rights in relation to your Data: \"),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"a.\")]),_c('b',[_vm._v(\"Right to access\")]),_vm._v(\" - the right to request (i) copies of the information we hold about you at any time, or (ii) that we modify, update or delete such information. If we provide you with access to the information we hold about you, we will not charge you for this, unless your request is \\\"manifestly unfounded or excessive.\\\" Where we are legally permitted to do so, we may refuse your request. If we refuse your request, we will tell you the reasons why. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"b.\")]),_c('b',[_vm._v(\"Right to correct\")]),_vm._v(\" - the right to have your Data rectified if it is inaccurate or incomplete. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"c.\")]),_c('b',[_vm._v(\"Right to erase\")]),_vm._v(\" - the right to request that we delete or remove your Data from our systems. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"d.\")]),_c('b',[_vm._v(\"Right to restrict our use of your Data\")]),_vm._v(\" - the right to \\\"block\\\" us from using your Data or limit the way in which we can use it. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"e.\")]),_c('b',[_vm._v(\"Right to data portability\")]),_vm._v(\" - the right to request that we move, copy or transfer your Data. \")]),_c('div',{staticClass:\"privacy-policy__sublist-item\"},[_c('span',{staticClass:\"privacy-policy__sublist-item__letter\"},[_vm._v(\"f.\")]),_c('b',[_vm._v(\"Right to object\")]),_vm._v(\" - the right to object to our use of your Data including where we use it for our legitimate interests \")])]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"19.\")]),_vm._v(\"To make enquiries, exercise any of your rights set out above, or withdraw your consent to the processing of your Data (where consent is our legal basis for processing your Data), please contact us via this e-mail address: info@beautyneteurope.com. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"20.\")]),_vm._v(\"If you are not satisfied with the way a complaint you make in relation to your Data is handled by us, you may be able to refer your complaint to the relevant data protection authority. For the UK, this is the Information Commissioner's Office (ICO). The ICO's contact details can be found on their website at https://ico.org.uk/. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"21.\")]),_vm._v(\"It is important that the Data we hold about you is accurate and current. Please keep us informed if your Data changes during the period for which we hold it. \")]),_c('h4',[_vm._v(\"Links to other websites\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"22.\")]),_vm._v(\"This Website may, from time to time, provide links to other websites. We have no control over such websites and are not responsible for the content of these websites. This privacy policy does not extend to your use of such websites. You are advised to read the privacy policy or statement of other websites prior to using them. \")]),_c('h4',[_vm._v(\"Changes of business ownership and control\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"23.\")]),_vm._v(\"Beautynet Ltd may, from time to time, expand or reduce our business and this may involve the sale and/or the transfer of control of all or part of Beautynet Ltd. Data provided by Users will, where it is relevant to any part of our business so transferred, be transferred along with that part and the new owner or newly controlling party will, under the terms of this privacy policy, be permitted to use the Data for the purposes for which it was originally supplied to us. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"24.\")]),_vm._v(\"We may also disclose Data to a prospective purchaser of our business or any part of it. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"25.\")]),_vm._v(\"In the above instances, we will take steps with the aim of ensuring your privacy is protected. \")]),_c('h4',[_vm._v(\"Cookies\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"26.\")]),_vm._v(\"This Website may place and access certain Cookies on your computer. Beautynet Ltd uses Cookies to improve your experience of using the Website and to improve our range of products. Beautynet Ltd has carefully chosen these Cookies and has taken steps to ensure that your privacy is protected and respected at all times. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"27.\")]),_vm._v(\"All Cookies used by this Website are used in accordance with current UK and EU Cookie Law. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"28.\")]),_vm._v(\"Before the Website places Cookies on your computer, you will be presented with a message bar requesting your consent to set those Cookies. By giving your consent to the placing of Cookies, you are enabling Beautynet Ltd to provide a better experience and service to you. You may, if you wish, deny consent to the placing of Cookies; however certain features of the Website may not function fully or as intended. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"29.\")]),_vm._v(\"This Website may place the following Cookies: \"),_c('table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Type of Cookie\")]),_c('th',[_vm._v(\"Purpose\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" Strictly necessary cookies \")]),_c('td',[_vm._v(\" These are cookies that are required for the operation of our website. They include, for example, cookies that enable you to log into secure areas of our website, use a shopping cart or make use of e-billing services. \")])]),_c('tr',[_c('td',[_vm._v(\" Analytical/performance cookies \")]),_c('td',[_vm._v(\" They allow us to recognise and count the number of visitors and to see how visitors move around our website when they are using it. This helps us to improve the way our website works, for example, by ensuring that users are finding what they are looking for easily. \")])]),_c('tr',[_c('td',[_vm._v(\" Functionality cookies \")]),_c('td',[_vm._v(\" These are used to recognise you when you return to our website. This enables us to personalise our content for you, greet you by name and remember your preferences (for example, your choice of language or region). By using the Website, you agree to our placement of functionality cookie. \")])])])])]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"30.\")]),_vm._v(\"You can find a list of Cookies that we use in the Cookies Schedule. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"31.\")]),_vm._v(\"You can choose to enable or disable Cookies in your internet browser. By default, most internet browsers accept Cookies but this can be changed. For further details, please see the help menu in your internet browser. You can switch off Cookies at any time, however, you may lose any information that enables you to access the Website more quickly and efficiently . \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"32.\")]),_vm._v(\"You can choose to delete Cookies at any time; however, you may lose any information that enables you to access the Website more quickly and efficiently including, but not limited to, personalisation settings. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"33.\")]),_vm._v(\"It is recommended that you ensure that your internet browser is up-to-date and that you consult the help and guidance provided by the developer of your internet browser if you are unsure about adjusting your privacy settings. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"34.\")]),_vm._v(\"For more information generally on cookies, including how to disable them, please refer to aboutcookies.org. You will also find details on how to delete cookies from your computer. \")]),_c('h4',[_vm._v(\"General\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"35.\")]),_vm._v(\"You may not transfer any of your rights under this privacy policy to any other person. We may transfer our rights under this privacy policy where we reasonably believe your rights will not be affected. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"36.\")]),_vm._v(\"If any court or competent authority finds that any provision of this privacy policy (or part of any provision) is invalid, illegal or unenforceable, that provision or part-provision will, to the extent required, be deemed to be deleted, and the validity and enforceability of the other provisions of this privacy policy will not be affected. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"37.\")]),_vm._v(\"Unless otherwise agreed, no delay, act or omission by a party in exercising any right or remedy will be deemed a waiver of that, or any other, right or remedy. \")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"38.\")]),_vm._v(\"This Agreement will be governed by and interpreted according to the law of England and Wales. All disputes arising under the Agreement will be subject to the exclusive jurisdiction of the English and Welsh courts. \")]),_c('h4',[_vm._v(\"Changes to this privacy policy\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"39.\")]),_vm._v(\"Beautynet Ltd reserves the right to change this privacy policy as we may deem necessary from time to time or as may be required by law. Any changes will be immediately posted on the Website and you are deemed to have accepted the terms of the privacy policy on your first use of the Website following the alterations. \"),_c('p',[_vm._v(\"You may contact Beautynet Ltd by email at info@beautyneteurope.com.\")])]),_c('h4',[_vm._v(\"Attribution\")]),_c('div',{staticClass:\"privacy-policy__list-item\"},[_c('span',{staticClass:\"privacy-policy__list-item__number\"},[_vm._v(\"40.\")]),_vm._v(\"This privacy policy was created using a document from Rocket Lawyer (https://www.rocketlawyer.com/gb/en). \")]),_c('p',[_vm._v(\" This privacy policy was created on \"),_c('b',[_vm._v(\"07 September 2022\")]),_vm._v(\". \")]),_c('h4',[_vm._v(\"Cookies\")]),_vm._v(\" Below is a list of the cookies that we use. We have tried to ensure this is complete and up to date, but if you think that we have missed a cookie or there is any discrepancy, please let us know \"),_c('h5',[_vm._v(\"Strictly necessary\")]),_vm._v(\" We use the following strictly necessary cookies: \"),_c('table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Description\")]),_c('th',[_vm._v(\"Purpose\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" Session storage \")]),_c('td',[_vm._v(\" We use this session cookie to remember you and maintain your session whilst you are using our website \")])])])]),_c('h5',[_vm._v(\"Functionality\")]),_vm._v(\" We use the following functionality cookies: \"),_c('table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Description\")]),_c('th',[_vm._v(\"Purpose\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" Offer data \")]),_c('td',[_vm._v(\" We use this cookie to store data relating to the selected offer filters and the quantities entered so that they may be recalled in future sessions \")])])])]),_c('h5',[_vm._v(\"Analytical/performance\")]),_vm._v(\" We use the following analytical/performance cookies: \"),_c('table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Description\")]),_c('th',[_vm._v(\"Purpose\")])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" Site performance \")]),_c('td',[_vm._v(\" We use this cookie to improve the performance and responsiveness of the site \")])])])])]),_c('modal-actions',{attrs:{\"cancel-button-label\":\"Close\",\"hide-submit\":\"\"},on:{\"cancel\":function($event){return _vm.$refs.modal.closeModal()}}})]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal ref=\"modal\" display=\"inline\" modal-size=\"xl\">\n <template #trigger>\n <a class=\"privacy-policy-link\" tabindex=\"0\" @click.stop=\"clickHandler\" @keydown=\"keyDownHandler\">\n Privacy Policy\n </a>\n </template>\n <template #title>\n <h4>Privacy Policy</h4>\n </template>\n <template #content>\n <padding direction=\"vertical\" size=\"medium\" class=\"privacy-policy\">\n\n <p>\n This privacy policy applies between you, the User of this Website, and Beautynet Ltd, the owner and provider\n of\n this Website. Beautynet Ltd takes the privacy of your information very seriously. This privacy policy applies\n to\n our use of any and all Data collected by us or provided by you in relation to your use of the Website.\n </p>\n <p>\n <b>Please read this privacy policy carefully.</b>\n </p>\n\n <h4>\n Definitions and interpretation\n </h4>\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">1.</span>In this privacy policy, the following definitions are\n used:\n <table>\n <tbody>\n <tr>\n <td>\n <b>Data</b>\n </td>\n <td>\n collectively all information that you submit to Beautynet Ltd via the Website. This definition\n incorporates, where applicable, the definitions provided in the Data Protection Laws;\n </td>\n </tr>\n <tr>\n <td>\n <b>Cookies</b>\n </td>\n <td>\n a small text file placed on your computer by this Website when you visit certain parts of the Website\n and\n /or when you use certain features of the Website. Details of the cookies used by this Website are set\n out\n in the clause below (Cookies);\n </td>\n </tr>\n <tr>\n <td>\n <b>Data Protection Laws</b>\n </td>\n <td>\n any applicable law relating to the processing of personal Data, including but not limited to the GDPR,\n and any national implementing and supplementary laws, regulations and secondary legislation;\n </td>\n </tr>\n <tr>\n <td>\n <b>GDPR</b>\n </td>\n <td>\n the UK General Data Protection Regulation;\n </td>\n </tr>\n <tr>\n <td>\n <b>Beautynet Ltd, we</b> or <b>us</b>\n </td>\n <td>\n Beautynet Ltd, a company incorporated in England and Wales with registered number 06357041\n whose registered office is at Newminster House, 27-29 Baldwin St, Bristol, BS1 1LT;\n </td>\n </tr>\n <tr>\n <td>\n <b>UK and EU Cookie Law</b>\n </td>\n <td>\n the Privacy and Electronic Communications (EC Directive) Regulations 2003 as amended by the\n Privacy and Electronic Communications (EC Directive) (Amendment) Regulations 2011 & the Privacy\n and Electronic Communications (EC Directive) (Amendment) Regulations 2018;\n </td>\n </tr>\n <tr>\n <td>\n <b>User</b> or <b>you</b>\n </td>\n <td>\n any third party that accesses the Website and is not either (i) employed by Beautynet Ltd and acting\n in\n the course of their employment or (ii) engaged as a consultant or otherwise providing services to\n Beautynet Ltd and accessing the Website in connection with the provision of such services; and\n </td>\n </tr>\n <tr>\n <td>\n <b>Website</b>\n </td>\n <td>\n the website that you are currently using, beautyneteurope.com, and any sub-domains of this site unless\n expressly excluded by their own terms and conditions.\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">2.</span>In this privacy policy, unless the context requires a\n different interpretation:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>the singular includes the plural and vice versa;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>references to sub-clauses, clauses, schedules or\n appendices are to sub-clauses, clauses, schedules or appendices of this privacy policy;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">c.</span>a reference to a person includes firms,\n companies, government entities, trusts and partnerships;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">d.</span>\"including\" is understood to mean \"including\n without limitation\";\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">e.</span>reference to any statutory provision includes\n any modification or amendment of it;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">f.</span>the headings and sub-headings do not form part\n of this privacy policy.\n </div>\n </div>\n\n <h4>Scope of this privacy policy</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">3.</span>This privacy policy applies only to the actions of\n Beautynet Ltd and Users with respect to this Website. It does not extend to any websites that can be accessed\n from this Website including, but not limited to, any links we may provide to social media websites.\n </div>\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">4.</span>For purposes of the applicable Data Protection Laws,\n Beautynet Ltd is the \"data controller\". This means that Beautynet Ltd determines the purposes for which, and\n the manner in which, your Data is processed.\n </div>\n\n <h4>Data collected</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">5.</span>We may collect the following Data, which includes\n personal Data, from you:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>name;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>job title;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">c.</span>IP address (automatically collected);\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">d.</span>web browser type and version (automatically\n collected);\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">e.</span>operating system (automatically collected);\n </div>\n in each case, in accordance with this privacy policy.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">6.</span>We collect Data in the following ways:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>data is given to us by you; and\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>data is collected automatically.\n </div>\n </div>\n\n <h4>Data that is given to us by you</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">7.</span>Beautynet Ltd will collect your Data in a number of\n ways, for example:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>when you contact us through the Website, by\n telephone, post, e-mail or through any other means;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>when you register with us and set up an account\n to receive our products/services;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">c.</span>when you complete surveys that we use for\n research purposes (although you are not obliged to respond to them);\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">d.</span>when you use our services;\n </div>\n in each case, in accordance with this privacy policy.\n </div>\n\n <h4>Data that is collected automatically</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">8.</span>To the extent that you access the Website, we will\n collect your Data automatically, for example:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>we automatically collect some information about\n your visit to the Website. This information helps us to make improvements to Website content and navigation,\n and includes your IP address, the date, times and frequency with which you access the Website and the way\n you use and interact with its content.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>we will collect your Data automatically via\n cookies, in line with the cookie settings on your browser. For more information about cookies, and how we\n use them on the Website, see the section below, headed \"Cookies\".\n </div>\n </div>\n\n <h4>Our use of Data</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">9.</span>Any or all of the above Data may be required by us\n from time to time in order to provide you with the best possible service and experience when using our\n Website. Specifically, Data may be used by us for the following reasons:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>internal record keeping;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>improvement of our products / services;\n </div>\n in each case, in accordance with this privacy policy.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">10.</span>We may use your Data for the above purposes if we\n deem it necessary to do so for our legitimate interests. If you are not satisfied with this, you have the\n right to object in certain circumstances (see the section headed \"Your rights\" below).\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">11.</span>When you register with us and set up an account to\n receive our services, the legal basis for this processing is the performance of a contract between you and us\n and/or taking steps, at your request, to enter into such a contract.\n </div>\n\n <h4>Who we share Data with</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">12.</span>We may share your Data with the following groups of\n people for the following reasons:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>our employees, agents and/or professional\n advisors - to process orders and address queries;\n </div>\n in each case, in accordance with this privacy policy.\n </div>\n\n <h4>Keeping Data secure</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">13.</span>We will use technical and organisational measures to\n safeguard your Data, for example:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span>access to your account is controlled by a\n password and a user name that is unique to you;\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span>we store your Data on secure servers.;\n </div>\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">14.</span>Technical and organisational measures include\n measures to deal with any suspected data breach. If you suspect any misuse or loss or unauthorised access to\n your Data, please let us know immediately by contacting us via this e-mail address: info@beautyneteurope.com.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">15.</span>If you want detailed information from Get Safe\n Online on how to protect your information and your computers and devices against fraud, identity theft,\n viruses and many other online problems, please visit www.getsafeonline.org. Get Safe Online is supported by HM\n Government and leading businesses.\n </div>\n\n <h4>Data retention</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">16.</span>Unless a longer retention period is required or\n permitted by law, we will only hold your Data on our systems for the period necessary to fulfil the purposes\n outlined in this privacy policy or until you request that the Data be deleted.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">17.</span>Even if we delete your Data, it may persist on\n backup or archival media for legal, tax or regulatory purposes.\n </div>\n\n <h4>Your rights</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">18.</span>You have the following rights in relation to your\n Data:\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">a.</span><b>Right to access</b> - the right to request\n (i) copies of the information we hold about you at any time, or (ii) that we modify, update or delete such\n information. If we provide you with access to the information we hold about you, we will not charge you for\n this, unless your request is \"manifestly unfounded or excessive.\" Where we are legally permitted to do so,\n we may refuse your request. If we refuse your request, we will tell you the reasons why.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">b.</span><b>Right to correct</b> - the right to have your\n Data rectified if it is inaccurate or incomplete.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">c.</span><b>Right to erase</b> - the right to request\n that we delete or remove your Data from our systems.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">d.</span><b>Right to restrict our use of your Data</b> -\n the right to \"block\" us from using your Data or limit the way in which we can use it.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">e.</span><b>Right to data portability</b> - the right to\n request that we move, copy or transfer your Data.\n </div>\n <div class=\"privacy-policy__sublist-item\">\n <span class=\"privacy-policy__sublist-item__letter\">f.</span><b>Right to object</b> - the right to object to\n our use of your Data including where we use it for our legitimate interests\n </div>\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">19.</span>To make enquiries, exercise any of your rights set\n out above, or withdraw your consent to the processing of your Data (where consent is our legal basis for\n processing your Data), please contact us via this e-mail address: info@beautyneteurope.com.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">20.</span>If you are not satisfied with the way a complaint\n you make in relation to your Data is handled by us, you may be able to refer your complaint to the relevant\n data protection authority. For the UK, this is the Information Commissioner's Office (ICO). The ICO's contact\n details can be found on their website at https://ico.org.uk/.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">21.</span>It is important that the Data we hold about you is\n accurate and current. Please keep us informed if your Data changes during the period for which we hold it.\n </div>\n\n <h4>Links to other websites</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">22.</span>This Website may, from time to time, provide links\n to other websites. We have no control over such websites and are not responsible for the content of these\n websites. This privacy policy does not extend to your use of such websites. You are advised to read the\n privacy policy or statement of other websites prior to using them.\n </div>\n\n <h4>Changes of business ownership and control</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">23.</span>Beautynet Ltd may, from time to time, expand or\n reduce our business and this may involve the sale and/or the transfer of control of all or part of Beautynet\n Ltd. Data provided by Users will, where it is relevant to any part of our business so transferred, be\n transferred along with that part and the new owner or newly controlling party will, under the terms of this\n privacy policy, be permitted to use the Data for the purposes for which it was originally supplied to us.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">24.</span>We may also disclose Data to a prospective purchaser\n of our business or any part of it.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">25.</span>In the above instances, we will take steps with the\n aim of ensuring your privacy is protected.\n </div>\n\n <h4>Cookies</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">26.</span>This Website may place and access certain Cookies on\n your computer. Beautynet Ltd uses Cookies to improve your experience of using the Website and to improve our\n range of products. Beautynet Ltd has carefully chosen these Cookies and has taken steps to ensure that your\n privacy is protected and respected at all times.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">27.</span>All Cookies used by this Website are used in\n accordance with current UK and EU Cookie Law.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">28.</span>Before the Website places Cookies on your computer,\n you will be presented with a message bar requesting your consent to set those Cookies. By giving your consent\n to the placing of Cookies, you are enabling Beautynet Ltd to provide a better experience and service to you.\n You may, if you wish, deny consent to the placing of Cookies; however certain features of the Website may not\n function fully or as intended.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">29.</span>This Website may place the following Cookies:\n <table>\n <thead>\n <tr>\n <th>Type of Cookie</th>\n <th>Purpose</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n Strictly necessary cookies\n </td>\n <td>\n These are cookies that are required for the operation of\n our website. They include, for example, cookies that\n enable you to log into secure areas of our website, use a\n shopping cart or make use of e-billing services.\n </td>\n </tr>\n <tr>\n <td>\n Analytical/performance cookies\n </td>\n <td>\n They allow us to recognise and count the number of\n visitors and to see how visitors move around our website\n when they are using it. This helps us to improve the way\n our website works, for example, by ensuring that users\n are finding what they are looking for easily.\n </td>\n </tr>\n <tr>\n <td>\n Functionality cookies\n </td>\n <td>\n These are used to recognise you when you return to our\n website. This enables us to personalise our content for\n you, greet you by name and remember your preferences\n (for example, your choice of language or region). By\n using the Website, you agree to our placement of\n functionality cookie.\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">30.</span>You can find a list of Cookies that we use in the\n Cookies Schedule.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">31.</span>You can choose to enable or disable Cookies in your\n internet browser. By default, most internet browsers accept Cookies but this can be changed. For further\n details, please see the help menu in your internet browser. You can switch off Cookies at any time, however,\n you may lose any information that enables you to access the Website more quickly and efficiently\n .\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">32.</span>You can choose to delete Cookies at any time;\n however, you may lose any information that enables you to access the Website more quickly and efficiently\n including, but not limited to, personalisation settings.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">33.</span>It is recommended that you ensure that your\n internet browser is up-to-date and that you consult the help and guidance provided by the developer of your\n internet browser if you are unsure about adjusting your privacy settings.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">34.</span>For more information generally on cookies,\n including how to disable them, please refer to aboutcookies.org. You will also find details on how to delete\n cookies from your computer.\n </div>\n\n <h4>General</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">35.</span>You may not transfer any of your rights under this\n privacy policy to any other person. We may transfer our rights under this privacy policy where we reasonably\n believe your rights will not be affected.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">36.</span>If any court or competent authority finds that any\n provision of this privacy policy (or part of any provision) is invalid, illegal or unenforceable, that\n provision or part-provision will, to the extent required, be deemed to be deleted, and the validity and\n enforceability of the other provisions of this privacy policy will not be affected.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">37.</span>Unless otherwise agreed, no delay, act or omission\n by a party in exercising any right or remedy will be deemed a waiver of that, or any other, right or remedy.\n </div>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">38.</span>This Agreement will be governed by and interpreted\n according to the law of England and Wales. All disputes arising under the Agreement will be subject to the\n exclusive jurisdiction of the English and Welsh courts.\n </div>\n\n <h4>Changes to this privacy policy</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">39.</span>Beautynet Ltd reserves the right to change this\n privacy policy as we may deem necessary from time to time or as may be required by law. Any changes will be\n immediately posted on the Website and you are deemed to have accepted the terms of the privacy policy on your\n first use of the Website following the alterations.\n <p>You may contact Beautynet Ltd by email at info@beautyneteurope.com.</p>\n </div>\n\n <h4>Attribution</h4>\n\n <div class=\"privacy-policy__list-item\">\n <span class=\"privacy-policy__list-item__number\">40.</span>This privacy policy was created using a document\n from Rocket Lawyer (https://www.rocketlawyer.com/gb/en).\n </div>\n\n <p>\n This privacy policy was created on <b>07 September 2022</b>.\n </p>\n\n <h4>Cookies</h4>\n\n Below is a list of the cookies that we use. We have tried to ensure this is complete and up to date, but if you\n think that we\n have missed a cookie or there is any discrepancy, please let us know\n\n <h5>Strictly necessary</h5>\n\n We use the following strictly necessary cookies:\n\n <table>\n <thead>\n <tr>\n <th>Description</th>\n <th>Purpose</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n Session storage\n </td>\n <td>\n We use this session cookie to remember you and maintain your session whilst you are using our website\n </td>\n </tr>\n </tbody>\n </table>\n\n <h5>Functionality</h5>\n\n We use the following functionality cookies:\n\n <table>\n <thead>\n <tr>\n <th>Description</th>\n <th>Purpose</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n Offer data\n </td>\n <td>\n We use this cookie to store data relating to the selected offer filters and the quantities entered so\n that they may be recalled in future sessions\n </td>\n </tr>\n </tbody>\n </table>\n\n <h5>Analytical/performance</h5>\n\n We use the following analytical/performance cookies:\n\n <table>\n <thead>\n <tr>\n <th>Description</th>\n <th>Purpose</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n Site performance\n </td>\n <td>\n We use this cookie to improve the performance and responsiveness of the site\n </td>\n </tr>\n </tbody>\n </table>\n </padding>\n\n <modal-actions cancel-button-label=\"Close\" hide-submit @cancel=\"$refs.modal.closeModal()\"/>\n </template>\n </modal>\n</template>\n\n<script lang=\"js\">\nimport Modal from '../Modal'\nimport ModalActions from '../ModalActions'\nimport Padding from './Padding'\nimport enterKeyPressed from '../../utils/enterKeyPressed'\n\nexport default {\n name: 'PrivacyPolicyModal',\n components: { ModalActions, Padding, Modal },\n methods: {\n keyDownHandler(event) {\n if (enterKeyPressed(event)) {\n this.clickHandler()\n }\n },\n clickHandler() {\n this.$refs.modal.openModal()\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrivacyPolicyModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PrivacyPolicyModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PrivacyPolicyModal.vue?vue&type=template&id=77c6982b&\"\nimport script from \"./PrivacyPolicyModal.vue?vue&type=script&lang=js&\"\nexport * from \"./PrivacyPolicyModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"table-placeholder\",class:(\"table-placeholder--gutter-\" + _vm.gutterSize + \" \" + (_vm.darker ? 'table-placeholder--darker' : ''))},_vm._l((Number(_vm.rowCount)),function(index){return _c('div',{key:index,staticClass:\"table-placeholder__row\",style:((\"height: \" + _vm.rowHeight + \"px\"))})}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"table-placeholder\"\n :class=\"`table-placeholder--gutter-${gutterSize} ${darker ? 'table-placeholder--darker' : ''}`\">\n <div v-for=\"index in Number(rowCount)\" :key=\"index\"\n class=\"table-placeholder__row\"\n :style=\"`height: ${rowHeight}px`\">\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'TableLoadingPlaceholder',\n props: {\n rowCount: {\n type: [Number, String],\n required: false,\n default: 3,\n },\n rowHeight: {\n type: String,\n required: false,\n default: '60',\n },\n gutterSize: {\n type: String,\n required: false,\n default: '5',\n },\n darker: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TableLoadingPlaceholder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TableLoadingPlaceholder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TableLoadingPlaceholder.vue?vue&type=template&id=788a168a&\"\nimport script from \"./TableLoadingPlaceholder.vue?vue&type=script&lang=js&\"\nexport * from \"./TableLoadingPlaceholder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import env from 'VirtualEnv'\n\nexport const URL = env.API_URL || 'http://localhost:3001'\n","import env from 'VirtualEnv'\n\nexport const siteUrl = env.SITE_URL || 'http://localhost:3000'\nexport const productImagePath = env.PRODUCT_IMAGE_PATH || ''\n","import Vue from 'vue'\n\nexport const EventBus = new Vue()\n","var render, staticRenderFns\nimport script from \"./v-switch.vue?vue&type=script&lang=js&\"\nexport * from \"./v-switch.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<script>\n/*\n *```vue\n *<v-switch :value=\"value\">\n * <template #option1>\n * This is shown when value == option1\n * </template>\n * <template #option2>\n * This is shown when value == option2\n * </template>\n * <template>\n * This is shown when value does not match either of the previous template names.\n * If it is omitted, nothing will be rendered.\n * </template>\n *</v-switch>\n *```\n */\n\nexport default {\n name: 'v-switch',\n functional: true,\n props: {\n value: { required: true },\n },\n render(h, { data, props, scopedSlots }) {\n const { value } = props\n const slotFn = value in scopedSlots ? scopedSlots[value] : scopedSlots.default\n\n return slotFn ? slotFn(data.attrs) : null\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./v-switch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./v-switch.vue?vue&type=script&lang=js&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"browser-\" + _vm.currentBrowser),attrs:{\"id\":\"app\"}},[_c('loading',{attrs:{\"loading\":_vm.authLoading}},[_c('page-template',[_c('router-view',{scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar Component = ref.Component;\nreturn [_c('transition',{attrs:{\"name\":\"fade\"}},[_c(Component,{tag:\"component\"})],1)]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page\",class:_vm.pageClasses},[_c('flash-notifications'),(_vm.isAuthenticated)?_c('messaging-modal'):_vm._e(),(_vm.isAuthenticated)?_c('confirmation-modal'):_vm._e(),_c('local-modal-wrapper'),(_vm.showHeader)?_c('header-bar'):_vm._e(),_c('mobile-menu'),(_vm.showHeader)?_c('div',{staticClass:\"mock-header\",class:{ 'mock-header--with-hero': _vm.hasHero, 'mock-header--dashboard': _vm.isDashboard, 'mock-header--account': _vm.isAccount }}):_vm._e(),_c('b-container',{staticClass:\"content-wrapper\",class:(\"content-wrapper--\" + _vm.lowercaseRouteName),attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',[_vm._t(\"default\")],2)],1)],1),_c('footer',{staticClass:\"footer-container\"},[_c('app-footer',{attrs:{\"white\":_vm.whiteFooter}})],1),_c('cookie-consent'),_c('image-lightbox')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.show)?_c('div',{staticClass:\"cookie-consent-wrapper\",class:{'cookie-consent-wrapper--hiding': _vm.hiding}},[_c('div',{staticClass:\"cookie-consent\"},[_c('padding',{attrs:{\"size\":\"large\"}},[_c('div',{staticClass:\"flex__column\"},[_c('h2',[_vm._v(\"Cookie Policy\")]),_c('padding',{attrs:{\"direction\":\"top\",\"size\":\"medium-large\"}}),_c('p',[_vm._v(\" We store data so that you can sign in and to improve the performance of the site. \")]),_c('padding',{attrs:{\"direction\":\"top\"}}),_c('p',[_vm._v(\" You can opt out of non-essential data storage, which may impact site performance. \")])],1),_c('padding',{attrs:{\"direction\":\"top\",\"size\":\"large\"}}),_c('div',{staticClass:\"flex__column flex--end\"},[_c('button-container',[_c('Button',{attrs:{\"type\":\"text\",\"colour\":\"grey\"},on:{\"click\":_vm.declineClickHandler}},[_vm._v(\" Decline Non-Essential \")]),_c('Button',{attrs:{\"type\":\"solid\",\"colour\":\"primary\"},on:{\"click\":_vm.consentClickHandler}},[_vm._v(\" Allow Non-Essential \")])],1)],1)],1)],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div v-if=\"show\" class=\"cookie-consent-wrapper\" :class=\"{'cookie-consent-wrapper--hiding': hiding}\">\n <div class=\"cookie-consent\">\n <padding size=\"large\">\n <div class=\"flex__column\">\n <h2>Cookie Policy</h2>\n <padding direction=\"top\" size=\"medium-large\"/>\n <p>\n We store data so that you can sign in and to improve the performance of the site.\n </p>\n <padding direction=\"top\"/>\n <p>\n You can opt out of non-essential data storage, which may impact site performance.\n </p>\n </div>\n <padding direction=\"top\" size=\"large\"/>\n <div class=\"flex__column flex--end\">\n <button-container>\n <Button type=\"text\" colour=\"grey\" @click=\"declineClickHandler\">\n Decline Non-Essential\n </Button>\n <Button type=\"solid\" colour=\"primary\" @click=\"consentClickHandler\">\n Allow Non-Essential\n </Button>\n </button-container>\n </div>\n </padding>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex'\nimport Padding from '../Utils/Padding'\nimport ButtonContainer from '../Buttons/ButtonContainer'\nimport Button from '../Buttons/Button'\n\nexport default {\n name: 'CookieConsent',\n components: { Button, ButtonContainer, Padding },\n data() {\n return {\n show: false,\n hiding: false,\n }\n },\n computed: {\n ...mapGetters(\n {\n decisionMade: 'cookieConsent/decisionMade',\n },\n ),\n },\n mounted() {\n this.show = !this.decisionMade\n },\n watch: {\n decisionMade() {\n if (this.decisionMade) {\n this.hiding = true\n setTimeout(() => {\n this.show = false\n this.hiding = false\n }, 1000)\n }\n },\n },\n methods: {\n ...mapActions(\n {\n setDecision: 'cookieConsent/setDecision',\n createFlash: 'notifications/flash/create',\n },\n ),\n consentClickHandler() {\n this.setDecision({ decision: true })\n this.showConfirmation()\n },\n declineClickHandler() {\n this.setDecision({ decision: false })\n this.showConfirmation()\n },\n showConfirmation() {\n this.createFlash({ type: 'success', content: 'Cookie preference saved.' })\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CookieConsent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CookieConsent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CookieConsent.vue?vue&type=template&id=d754796e&\"\nimport script from \"./CookieConsent.vue?vue&type=script&lang=js&\"\nexport * from \"./CookieConsent.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"visible\":_vm.visible,\"header-class\":\"offer-colour green\",\"header-text-variant\":_vm.headerTextVariant,\"title\":\"Send a message\",\"hide-footer\":\"\"},on:{\"ok\":_vm.sendMessage,\"hide\":_vm.closeModal},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar hide = ref.hide;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return hide({ sendMessage: true })}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.subject),expression:\"subject\"}],attrs:{\"placeholder\":\"Subject\"},domProps:{\"value\":(_vm.subject)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.subject=$event.target.value}}}),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.body),expression:\"body\"}],attrs:{\"rows\":\"8\",\"placeholder\":\"Message...\"},domProps:{\"value\":(_vm.body)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.body=$event.target.value}}}),_vm._v(\" \"),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('b-button',{attrs:{\"variant\":\"outline-primary\"},on:{\"click\":hide}},[_vm._v(\"Cancel\")])],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('input',{attrs:{\"type\":\"submit\"}})])],1)],1)]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <b-modal\n :visible=\"visible\"\n :header-class=\"`offer-colour green`\"\n :header-text-variant=\"headerTextVariant\"\n title=\"Send a message\"\n @ok=\"sendMessage\"\n @hide=\"closeModal\"\n hide-footer\n >\n <template #default=\"{ hide }\">\n <form @submit.prevent=\"hide({ sendMessage: true })\">\n <input v-model=\"subject\" placeholder=\"Subject\" />\n <textarea v-model=\"body\" rows=\"8\" placeholder=\"Message...\" />\n <b-row>\n <b-col cols=\"8\">\n <b-button variant=\"outline-primary\" @click=\"hide\">Cancel</b-button>\n </b-col>\n <b-col cols=\"4\">\n <input type=\"submit\" />\n </b-col>\n </b-row>\n </form>\n </template>\n </b-modal>\n</template>\n\n<script lang=\"js\">\nimport dig from 'spiceutils/dist/dig'\n\nexport default {\n data() {\n return {\n variants: ['light'],\n headerTextVariant: 'light',\n }\n },\n computed: {\n visible() {\n return this.$store.state.comments.modalOpen\n },\n subject: {\n get() {\n return this.$store.state.comments.commentSubject\n },\n set(value) {\n this.$store.commit('comments/setMessageSubject', value)\n },\n },\n body: {\n get() {\n return this.$store.state.comments.commentBody\n },\n set(value) {\n this.$store.commit('comments/setMessageBody', value)\n },\n },\n },\n methods: {\n sendMessage() {\n this.$store.dispatch('comments/sendMessage')\n },\n closeModal(event) {\n if (dig(event, 'trigger', 'sendMessage')) {\n event.preventDefault()\n this.sendMessage()\n } else {\n this.$store.dispatch('comments/closeModal')\n }\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=182dde41&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{ref:\"modal\",on:{\"close\":function($event){return _vm.completeHandler(false)}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('h4',[_vm._v(_vm._s(_vm.title))])]},proxy:true},{key:\"content\",fn:function(){return [_c('padding',{attrs:{\"direction\":\"vertical\",\"size\":\"medium-large\"},domProps:{\"innerHTML\":_vm._s(_vm.text)}}),_c('modal-actions',{attrs:{\"submit-button-label\":\"Confirm\"},on:{\"cancel\":function($event){return _vm.completeHandler(false)},\"submit\":function($event){return _vm.completeHandler(true)}}})]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal ref=\"modal\" @close=\"completeHandler(false)\">\n <template #title>\n <h4>{{ title }}</h4>\n </template>\n <template #content>\n <!-- eslint-disable-next-line vue/no-v-text-v-html-on-component -->\n <padding direction=\"vertical\" size=\"medium-large\" v-html=\"text\"/>\n <modal-actions submit-button-label=\"Confirm\"\n @cancel=\"completeHandler(false)\"\n @submit=\"completeHandler(true)\"/>\n </template>\n </modal>\n<!-- <b-modal-->\n<!-- :visible=\"visible\"-->\n<!-- :header-class=\"`offer-colour green`\"-->\n<!-- @hide=\"onComplete\"-->\n<!-- :title=\"title || 'Confirm?'\"-->\n<!-- hide-footer-->\n<!-- no-close-on-backdrop-->\n<!-- >-->\n<!-- <template #default=\"{ hide }\">-->\n<!-- <p>{{ text }}</p>-->\n<!-- <OptionButton-->\n<!-- v-for=\"option in options\"-->\n<!-- :key=\"option.value\"-->\n<!-- :option=\"option\"-->\n<!-- @click=\"hide({ option: $event })\"-->\n<!-- />-->\n<!-- </template>-->\n\n<!-- </b-modal>-->\n\n</template>\n\n<script lang=\"js\">\nimport { mapState } from 'vuex'\nimport { path } from 'ramda'\nimport dig from 'spiceutils/dist/dig'\nimport Padding from '../../Utils/Padding'\nimport Modal from '../../Modal'\nimport ModalActions from '../../ModalActions'\n\nexport default {\n name: 'ConfirmationModal',\n components: {\n ModalActions,\n Modal,\n Padding,\n },\n computed: {\n ...mapState(\n {\n confirmations: path(['confirmations', 'confirmations']),\n },\n ),\n visible() {\n return this.confirmations.length > 0\n },\n confirmation() {\n return this.confirmations[0]\n },\n title() {\n return dig(this.confirmation, 'title')\n },\n text() {\n return dig(this.confirmation, 'text')\n },\n options() {\n const options = dig(this.confirmation, 'options')\n return options || [{\n value: false,\n }, {\n value: true,\n }]\n },\n },\n watch: {\n visible() {\n if (this.visible) {\n this.$refs.modal.openModal()\n } else {\n this.$refs.modal.closeModal()\n }\n },\n },\n methods: {\n completeHandler(accepted) {\n if (this.confirmation) {\n this.confirmation.resolve(accepted)\n }\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ConfirmationModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ConfirmationModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ConfirmationModal.vue?vue&type=template&id=ccd594c4&\"\nimport script from \"./ConfirmationModal.vue?vue&type=script&lang=js&\"\nexport * from \"./ConfirmationModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.notification)?_c('div',{staticClass:\"flash-notifications-container\"},[_c('div',{staticClass:\"flash-notification\",class:(\"flash-notification--\" + (_vm.notification.type) + \" \" + (_vm.notification.hiding ? 'flash-notification--hiding' : ''))},[_c('div',{staticClass:\"flex__row flex--middle\"},[(_vm.notification.type === 'success')?_c('icon',{staticClass:\"flash-notification__icon\",attrs:{\"icon\":\"check\",\"colour\":\"white\",\"size\":\"medium-large\"}}):(_vm.notification.type === 'error')?_c('icon',{staticClass:\"flash-notification__icon\",attrs:{\"icon\":\"alert\",\"colour\":\"white\",\"size\":\"medium-large\"}}):_c('icon',{staticClass:\"flash-notification__icon\",attrs:{\"icon\":\"info\",\"colour\":\"white\",\"size\":\"medium-large\"}}),_c('div',{staticClass:\"padding padding--horizontal padding--medium-large flash-notification__text\"},[_vm._v(\" \"+_vm._s(_vm.notification.content)+\" \")]),_c('close-button',{staticClass:\"flash-notification__close-button\",attrs:{\"size\":\"small\",\"colour\":\"black\"},on:{\"click\":function($event){return _vm.dismissNotification()}}})],1)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div v-if=\"notification\" class=\"flash-notifications-container\">\n <div class=\"flash-notification\"\n :class=\"`flash-notification--${notification.type} ${notification.hiding ? 'flash-notification--hiding' : ''}`\">\n <div class=\"flex__row flex--middle\">\n <icon v-if=\"notification.type === 'success'\" class=\"flash-notification__icon\" icon=\"check\" colour=\"white\" size=\"medium-large\"/>\n <icon v-else-if=\"notification.type === 'error'\" class=\"flash-notification__icon\" icon=\"alert\" colour=\"white\" size=\"medium-large\"/>\n <icon v-else class=\"flash-notification__icon\" icon=\"info\" colour=\"white\" size=\"medium-large\"/>\n\n <div class=\"padding padding--horizontal padding--medium-large flash-notification__text\">\n {{ notification.content }}\n </div>\n\n <close-button class=\"flash-notification__close-button\"\n size=\"small\"\n colour=\"black\"\n @click=\"dismissNotification()\"/>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"js\">\nimport { mapActions, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport CloseButton from '../Buttons/CloseButton'\nimport Icon from '../Icon'\n\nexport default {\n name: 'FlashNotifications',\n components: { Icon, CloseButton },\n data() {\n return {\n hiding: {},\n }\n },\n computed: {\n ...mapState(\n {\n notification: path(['notifications', 'flash', 'notification']),\n },\n ),\n },\n methods: {\n ...mapActions(\n {\n dismissNotification: 'notifications/flash/dismiss',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FlashNotifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FlashNotifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FlashNotifications.vue?vue&type=template&id=5959e270&\"\nimport script from \"./FlashNotifications.vue?vue&type=script&lang=js&\"\nexport * from \"./FlashNotifications.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"footer\",class:{'footer--white': _vm.white, 'footer--floating-visible': _vm.floatingFooterVisible}},[_c('p',[_vm._v(\"Beautynet Ltd\")]),_c('p',[_vm._v(\"Newminster House, 27-29 Baldwin St, Bristol, United Kingdom, BS1 1LT\")]),_c('p',{staticClass:\"footer-text--big\"},[_vm._v(\" © \"+_vm._s(new Date().getFullYear())+\" Beautynet Limited | VAT Number GB934762110000 | \"),_c('privacy-policy-modal'),_vm._v(\" | \"),_c('cookies-modal')],1),_c('p',{staticClass:\"footer-text--small\"},[_vm._v(\" © \"+_vm._s(new Date().getFullYear())+\" Beautynet Limited | VAT Number GB934762110000 \")]),_c('p',{staticClass:\"footer-text--small\"},[_c('privacy-policy-modal'),_vm._v(\" | \"),_c('cookies-modal')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{ref:\"modal\",attrs:{\"display\":\"inline\"},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('a',{staticClass:\"cookies-link\",attrs:{\"tabindex\":\"0\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.clickHandler.apply(null, arguments)},\"keydown\":_vm.keyDownHandler}},[_vm._v(\" Cookies \")])]},proxy:true},{key:\"title\",fn:function(){return [_c('h4',[_vm._v(\"Cookies\")])]},proxy:true},{key:\"content\",fn:function(){return [_c('p',[_vm._v(\" We store data so that you can sign in and to improve the performance of the site. \")]),_c('padding',{attrs:{\"direction\":\"top\"}}),_c('p',[_vm._v(\" You can opt out of non-essential data storage, which may impact site performance. \")]),_c('padding',{attrs:{\"direction\":\"top\",\"size\":\"medium-large\"}}),_c('checkbox-input',{attrs:{\"label\":\"Allow non-essential data storage\",\"name\":\"cookieDecision\"},model:{value:(_vm.cookieDecision),callback:function ($$v) {_vm.cookieDecision=$$v},expression:\"cookieDecision\"}})]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal ref=\"modal\" display=\"inline\">\n <template #trigger>\n <a class=\"cookies-link\" tabindex=\"0\" @click.stop=\"clickHandler\" @keydown=\"keyDownHandler\">\n Cookies\n </a>\n </template>\n <template #title>\n <h4>Cookies</h4>\n </template>\n <template #content>\n <p>\n We store data so that you can sign in and to improve the performance of the site.\n </p>\n <padding direction=\"top\"/>\n <p>\n You can opt out of non-essential data storage, which may impact site performance.\n </p>\n <padding direction=\"top\" size=\"medium-large\"/>\n <checkbox-input v-model=\"cookieDecision\" label=\"Allow non-essential data storage\" name=\"cookieDecision\"/>\n </template>\n </modal>\n</template>\n\n<script lang=\"js\">\nimport { mapActions, mapGetters } from 'vuex'\nimport Modal from '../Modal'\nimport Padding from './Padding'\nimport CheckboxInput from '../Form/CheckboxInput'\nimport enterKeyPressed from '../../utils/enterKeyPressed'\n\nexport default {\n name: 'CookiesModal',\n components: { CheckboxInput, Padding, Modal },\n computed: {\n ...mapGetters(\n {\n decision: 'cookieConsent/decision',\n },\n ),\n cookieDecision: {\n get() {\n return this.decision\n },\n set(value) {\n this.setDecision({ decision: value })\n },\n },\n },\n methods: {\n ...mapActions(\n {\n setDecision: 'cookieConsent/setDecision',\n },\n ),\n keyDownHandler(event) {\n if (enterKeyPressed(event)) {\n this.clickHandler()\n }\n },\n clickHandler() {\n this.$refs.modal.openModal()\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CookiesModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CookiesModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CookiesModal.vue?vue&type=template&id=ee830962&\"\nimport script from \"./CookiesModal.vue?vue&type=script&lang=js&\"\nexport * from \"./CookiesModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"footer\" :class=\"{'footer--white': white, 'footer--floating-visible': floatingFooterVisible}\">\n <p>Beautynet Ltd</p>\n <p>Newminster House, 27-29 Baldwin St, Bristol, United Kingdom, BS1 1LT</p>\n <p class=\"footer-text--big\">\n © {{ new Date().getFullYear() }} Beautynet Limited | VAT Number GB934762110000 | <privacy-policy-modal/> | <cookies-modal/>\n </p>\n <p class=\"footer-text--small\">\n © {{ new Date().getFullYear() }} Beautynet Limited | VAT Number GB934762110000\n </p>\n <p class=\"footer-text--small\">\n <privacy-policy-modal/> | <cookies-modal/>\n </p>\n </div>\n</template>\n\n<script lang=\"js\">\nimport { mapState } from 'vuex'\nimport { path } from 'ramda'\nimport PrivacyPolicyModal from '../Utils/PrivacyPolicyModal'\nimport CookiesModal from '../Utils/CookiesModal'\n\nexport default {\n name: 'AppFooter',\n components: { CookiesModal, PrivacyPolicyModal },\n props: {\n white: {\n type: Boolean,\n required: true,\n },\n },\n computed: {\n ...mapState(\n {\n floatingFooterVisible: path(['floatingFooterVisible']),\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AppFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AppFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppFooter.vue?vue&type=template&id=082fbff4&\"\nimport script from \"./AppFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./AppFooter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"page__header\"},[_c('b-navbar',{attrs:{\"toggleable\":\"lg\",\"fixed\":\"top\"}},[_c('div',{staticClass:\"flex__row flex--100\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"header-logo\",attrs:{\"src\":require(\"../../assets/svg/logo.svg\"),\"alt\":\"Beautynet Logo\"},on:{\"click\":_vm.closeMobileMenu}})])],1),(_vm.isAuthenticated && !_vm.mobileMenuOpen)?_c('div',{staticClass:\"nav-items nav-items--small\"},[_c('div',{staticClass:\"notifications-button-wrapper\"},[(_vm.unreadNotificationCount > 0)?_c('badge',{staticClass:\"notifications-button__badge\",attrs:{\"colour\":\"secondary\",\"text-colour\":\"white\",\"size\":\"small\"}},[_vm._v(\" \"+_vm._s(_vm.unreadNotificationCount)+\" \")]):_vm._e(),(!_vm.mobileMenuOpen)?_c('icon-button',{ref:\"smallNotificationButton\",staticClass:\"button--header\",attrs:{\"icon\":\"notifications\"},on:{\"click\":function($event){return _vm.notificationsClickHandler(_vm.$refs.smallNotificationButton)}}}):_vm._e()],1),_c('padding',{attrs:{\"direction\":\"right\",\"size\":\"medium\"}}),_c('icon-button',{staticClass:\"button--header\",attrs:{\"icon\":\"menu\"},on:{\"click\":_vm.openMobileMenu}})],1):_vm._e(),(_vm.isAuthenticated && _vm.mobileMenuOpen)?_c('div',{staticClass:\"nav-items nav-items--small\"},[_c('close-button',{staticClass:\"button--header\",on:{\"click\":_vm.closeMobileMenu}})],1):_vm._e(),(_vm.isAuthenticated)?_c('div',{staticClass:\"nav-items nav-items--large\"},[_vm._l((_vm.routes),function(name){return _c('padding',{key:name,attrs:{\"direction\":\"right\"}},[_c('router-link',{staticClass:\"header-link\",attrs:{\"to\":_vm.routePaths[name],\"id\":(\"route-nav-button-\" + name)}},[_c('Button',{staticClass:\"button--header\",attrs:{\"colour\":_vm.isCurrentRoute(name) ? 'secondary' : 'grey',\"type\":_vm.isCurrentRoute(name) ? 'solid' : 'text',\"icon\":_vm.routeIcons[name]},on:{\"click\":function($event){return _vm.routeClickHandler(name)}}},[_vm._v(\" \"+_vm._s(_vm.routeLabels[name])+\" \")])],1)],1)}),_c('padding',{staticClass:\"button--header\",attrs:{\"direction\":\"left\"}},[_c('pipe',{staticClass:\"pipe--header\",attrs:{\"colour\":\"secondary\"}})],1),_c('button-container',[_c('padding',{staticClass:\"button--header\",attrs:{\"direction\":\"horizontal\",\"size\":\"medium-large\"}},[_c('icon-button',{ref:\"userButton\",staticClass:\"button--header\",attrs:{\"icon\":\"user\"},on:{\"click\":_vm.userClickHandler}})],1),_c('div',{staticClass:\"notifications-button-wrapper\"},[(_vm.unreadNotificationCount > 0)?_c('badge',{staticClass:\"notifications-button__badge\",attrs:{\"colour\":\"secondary\",\"text-colour\":\"white\",\"size\":\"small\"}},[_vm._v(\" \"+_vm._s(_vm.unreadNotificationCount)+\" \")]):_vm._e(),_c('icon-button',{ref:\"largeNotificationButton\",staticClass:\"button--header\",attrs:{\"icon\":\"notifications\"},on:{\"click\":function($event){return _vm.notificationsClickHandler(_vm.$refs.largeNotificationButton)}}})],1)],1)],2):_vm._e(),(!_vm.isAuthenticated)?_c('div',[_c('router-link',{staticClass:\"header-link\",attrs:{\"to\":\"/login\"}},[_c('Button',{staticClass:\"button--header\",attrs:{\"colour\":\"grey\",\"type\":\"text\",\"icon\":\"user\"}},[_vm._v(\" Sign in / Register \")])],1)],1):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-link',{staticClass:\"link--no-decoration\",attrs:{\"to\":\"/account\"}},[_c('Button',{staticClass:\"button--header\",attrs:{\"icon\":\"user\"},on:{\"click\":_vm.close}},[_vm._v(\"Account\")])],1),_c('Button',{staticClass:\"button--header\",attrs:{\"icon\":\"sign-out\"},on:{\"click\":_vm.logout}},[_vm._v(\"Sign Out\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <router-link to=\"/account\" class=\"link--no-decoration\">\n <Button icon=\"user\" class=\"button--header\" @click=\"close\">Account</Button>\n </router-link>\n <Button icon=\"sign-out\" class=\"button--header\" @click=\"logout\">Sign Out</Button>\n </div>\n</template>\n\n<script>\nimport { mapActions } from 'vuex'\nimport Button from '../Buttons/Button'\n\nexport default {\n name: 'UserMenu',\n components: { Button },\n methods: {\n ...mapActions(\n {\n logout: 'auth/logout',\n close: 'localModal/close',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserMenu.vue?vue&type=template&id=5058c538&\"\nimport script from \"./UserMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./UserMenu.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('close-button',{attrs:{\"colour\":\"grey\"},on:{\"click\":_vm.close}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <close-button @click=\"close\" colour=\"grey\"/>\n</template>\n\n<script>\nimport { mapActions } from 'vuex'\nimport CloseButton from '@/components/Buttons/CloseButton'\n\nexport default {\n name: 'CloseUserMenuButton',\n components: { CloseButton },\n methods: {\n ...mapActions(\n {\n close: 'localModal/close',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseUserMenuButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseUserMenuButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CloseUserMenuButton.vue?vue&type=template&id=60d23ba9&\"\nimport script from \"./CloseUserMenuButton.vue?vue&type=script&lang=js&\"\nexport * from \"./CloseUserMenuButton.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { assoc, compose, path, reduce } from 'ramda'\nimport { mapActions } from 'vuex'\n\nconst navMenuMixin = {\n data() {\n return {\n routes: ['Dashboard', 'ImportBasket', 'Offers', 'Basket', 'Orders'],\n routeLabels: { Dashboard: 'Dashboard', ImportBasket: 'Import Basket', Offers: 'Offers', Basket: 'Basket', Orders: 'Orders' },\n routeIcons: { Dashboard: 'dashboard', ImportBasket: 'upload', Offers: 'label', Basket: 'bag', Orders: 'box' },\n }\n },\n computed: {\n currentRoute() {\n return path(['$route', 'name'], this)\n },\n routePaths() {\n return compose(\n reduce((carry, item) => assoc(item.name, item.path, carry), {}),\n path(['$router', 'options', 'routes']),\n )(this)\n },\n },\n methods: {\n ...mapActions(\n {\n logout: 'auth/logout',\n },\n ),\n getRoutePath(routeName) {\n const route = this.$router.options.routes.find(({ name }) => name === routeName)\n return path(['path'], route)\n },\n isCurrentRoute(routeName) {\n return routeName === this.currentRoute ||\n routeName.substr(0, routeName.length - 1) === this.currentRoute ||\n (routeName === 'Basket' && this.currentRoute === 'BasketSubmitted')\n },\n },\n}\n\nexport default navMenuMixin\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('padding',{attrs:{\"size\":\"large\"}},[_c('div',{staticClass:\"flex__column\"},[_c('div',{staticClass:\"flex__row flex--middle\"},[_c('div',{staticClass:\"flex__column flex--100\"},[_c('h4',[_vm._v(\"Notifications\")])]),_c('div',{staticClass:\"flex__column\"},[_c('close-button',{attrs:{\"size\":\"small\",\"id\":\"notifications-close-button\"},on:{\"click\":_vm.close}})],1)]),_c('padding',{attrs:{\"direction\":\"top\",\"size\":\"medium\"}}),(!_vm.loadComplete)?_c('table-loading-placeholder',{attrs:{\"row-count\":3,\"row-height\":\"43\",\"gutter-size\":\"10\"}}):_vm._e(),_c('notifications-list',{on:{\"close\":_vm.close}}),(_vm.loadComplete && _vm.notificationCount === 0)?_c('div',{staticClass:\"flex__row flex--middle\"},[_c('icon',{attrs:{\"icon\":\"notifications\",\"colour\":\"secondary\"}}),_c('padding',{attrs:{\"direction\":\"left\"}},[_c('p',[_vm._v(\"You have no notifications\")])])],1):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <padding size=\"large\">\n <div class=\"flex__column\">\n <div class=\"flex__row flex--middle\">\n <div class=\"flex__column flex--100\">\n <h4>Notifications</h4>\n </div>\n <div class=\"flex__column\">\n <close-button size=\"small\" id=\"notifications-close-button\" @click=\"close\"/>\n </div>\n </div>\n\n <padding direction=\"top\" size=\"medium\"/>\n\n <table-loading-placeholder v-if=\"!loadComplete\" :row-count=\"3\" row-height=\"43\" gutter-size=\"10\"/>\n\n <notifications-list @close=\"close\"/>\n <div v-if=\"loadComplete && notificationCount === 0\" class=\"flex__row flex--middle\">\n <icon icon=\"notifications\" colour=\"secondary\"/>\n <padding direction=\"left\">\n <p>You have no notifications</p>\n </padding>\n </div>\n </div>\n </padding>\n</template>\n\n<script>\nimport { mapActions, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport CloseButton from '../Buttons/CloseButton'\nimport Padding from '../Utils/Padding'\nimport NotificationsList from './NotificationsList'\nimport Icon from '../Icon'\nimport TableLoadingPlaceholder from '../Utils/TableLoadingPlaceholder'\n\nexport default {\n name: 'NotificationsModal',\n components: { TableLoadingPlaceholder, Icon, NotificationsList, Padding, CloseButton },\n computed: {\n ...mapState(\n {\n loadComplete: path(['notifications', 'loaded']),\n notifications: path(['notifications', 'entities']),\n },\n ),\n notificationCount() {\n return this.notifications.length\n },\n },\n methods: {\n ...mapActions(\n {\n close: 'localModal/close',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NotificationsModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NotificationsModal.vue?vue&type=template&id=115ca72a&\"\nimport script from \"./NotificationsModal.vue?vue&type=script&lang=js&\"\nexport * from \"./NotificationsModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notifications-button-wrapper close-notifications-button-wrapper\"},[(_vm.unreadNotificationCount > 0)?_c('badge',{staticClass:\"notifications-button__badge close-notifications-button__badge\",attrs:{\"colour\":\"secondary\",\"text-colour\":\"white\",\"size\":\"small\"}},[_vm._v(\" \"+_vm._s(_vm.unreadNotificationCount)+\" \")]):_vm._e(),_c('close-button',{attrs:{\"colour\":\"grey\"},on:{\"click\":_vm.close}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"notifications-button-wrapper close-notifications-button-wrapper\">\n <badge v-if=\"unreadNotificationCount > 0\"\n class=\"notifications-button__badge close-notifications-button__badge\"\n colour=\"secondary\"\n text-colour=\"white\"\n size=\"small\">\n {{ unreadNotificationCount }}\n </badge>\n <close-button @click=\"close\" colour=\"grey\"/>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex'\nimport CloseButton from '@/components/Buttons/CloseButton'\nimport Badge from '../Badge'\n\nexport default {\n name: 'CloseNotificationsModalButton',\n components: { Badge, CloseButton },\n computed: {\n ...mapGetters(\n {\n unreadNotificationCount: 'notifications/unreadNotificationCount',\n },\n ),\n },\n methods: {\n ...mapActions(\n {\n close: 'localModal/close',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseNotificationsModalButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CloseNotificationsModalButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CloseNotificationsModalButton.vue?vue&type=template&id=77470899&\"\nimport script from \"./CloseNotificationsModalButton.vue?vue&type=script&lang=js&\"\nexport * from \"./CloseNotificationsModalButton.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <header class=\"page__header\">\n <b-navbar toggleable=\"lg\" fixed=\"top\">\n <div class=\"flex__row flex--100\">\n <router-link to=\"/\">\n <img class=\"header-logo\" src=\"../../assets/svg/logo.svg\" alt=\"Beautynet Logo\" @click=\"closeMobileMenu\"/>\n </router-link>\n </div>\n\n <div v-if=\"isAuthenticated && !mobileMenuOpen\" class=\"nav-items nav-items--small\">\n <div class=\"notifications-button-wrapper\">\n <badge v-if=\"unreadNotificationCount > 0\"\n class=\"notifications-button__badge\"\n colour=\"secondary\"\n text-colour=\"white\"\n size=\"small\">\n {{ unreadNotificationCount }}\n </badge>\n <icon-button v-if=\"!mobileMenuOpen\"\n ref=\"smallNotificationButton\"\n icon=\"notifications\"\n class=\"button--header\"\n @click=\"notificationsClickHandler($refs.smallNotificationButton)\"/>\n </div>\n <padding direction=\"right\" size=\"medium\"/>\n <icon-button icon=\"menu\" class=\"button--header\" @click=\"openMobileMenu\"/>\n </div>\n\n <div v-if=\"isAuthenticated && mobileMenuOpen\" class=\"nav-items nav-items--small\">\n <close-button class=\"button--header\" @click=\"closeMobileMenu\"/>\n </div>\n\n <div v-if=\"isAuthenticated\" class=\"nav-items nav-items--large\">\n <padding v-for=\"name in routes\" :key=\"name\" direction=\"right\">\n <router-link :to=\"routePaths[name]\" class=\"header-link\" :id=\"`route-nav-button-${name}`\">\n <Button :colour=\"isCurrentRoute(name) ? 'secondary' : 'grey'\"\n :type=\"isCurrentRoute(name) ? 'solid' : 'text'\"\n :icon=\"routeIcons[name]\"\n class=\"button--header\"\n @click=\"routeClickHandler(name)\">\n {{ routeLabels[name] }}\n </Button>\n </router-link>\n </padding>\n\n <padding direction=\"left\" class=\"button--header\">\n <pipe class=\"pipe--header\" colour=\"secondary\"/>\n </padding>\n\n <button-container>\n <padding direction=\"horizontal\" size=\"medium-large\" class=\"button--header\">\n <icon-button ref=\"userButton\" icon=\"user\" class=\"button--header\" @click=\"userClickHandler\"/>\n </padding>\n <div class=\"notifications-button-wrapper\">\n <badge v-if=\"unreadNotificationCount > 0\"\n class=\"notifications-button__badge\"\n colour=\"secondary\"\n text-colour=\"white\"\n size=\"small\">\n {{ unreadNotificationCount }}\n </badge>\n <icon-button ref=\"largeNotificationButton\"\n icon=\"notifications\"\n class=\"button--header\"\n @click=\"notificationsClickHandler($refs.largeNotificationButton)\"/>\n </div>\n </button-container>\n </div>\n\n <div v-if=\"!isAuthenticated\">\n <router-link to=\"/login\" class=\"header-link\">\n <Button colour=\"grey\" type=\"text\" icon=\"user\" class=\"button--header\">\n Sign in / Register\n </Button>\n </router-link>\n </div>\n </b-navbar>\n </header>\n</template>\n\n<script>\nimport { mapActions, mapGetters, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport { EventBus } from '@/eventBus'\nimport Badge from '@/components/Badge'\nimport Button from '../Buttons/Button'\nimport IconButton from '../Buttons/IconButton'\nimport ButtonContainer from '../Buttons/ButtonContainer'\nimport Pipe from '../Utils/Pipe'\nimport Padding from '../Utils/Padding'\nimport UserMenu from './UserMenu'\nimport CloseUserMenuButton from './CloseUserMenuButton'\nimport navMenuMixin from '../../mixins/navMenuMixin'\nimport CloseButton from '../Buttons/CloseButton'\nimport NotificationsModal from '../Notifications/NotificationsModal'\nimport CloseNotificationsModalButton from '../Notifications/CloseNotificationsModalButton'\n\nexport default {\n name: 'HeaderBar',\n components: { Badge, CloseButton, Padding, Pipe, ButtonContainer, IconButton, Button },\n mixins: [navMenuMixin],\n computed: {\n ...mapGetters(\n {\n unreadNotificationCount: 'notifications/unreadNotificationCount',\n },\n ),\n ...mapState(\n {\n isAuthenticated: path(['auth', 'isAuthenticated']),\n mobileMenuOpen: path(['mobileMenuOpen']),\n },\n ),\n },\n methods: {\n ...mapActions(\n {\n openLocalModal: 'localModal/open',\n openMobileMenu: 'openMobileMenu',\n closeMobileMenu: 'closeMobileMenu',\n },\n ),\n userClickHandler() {\n this.openLocalModal({\n targetElement: this.$refs.userButton.$el,\n contentComponent: UserMenu,\n maskComponent: CloseUserMenuButton,\n direction: 'down',\n width: 127,\n colour: 'grey',\n })\n },\n notificationsClickHandler(component) {\n this.openLocalModal({\n targetElement: component.$el,\n contentComponent: NotificationsModal,\n maskComponent: CloseNotificationsModalButton,\n direction: 'down',\n width: 450,\n colour: 'white',\n customClass: 'notifications-modal',\n })\n },\n routeClickHandler(name) {\n EventBus.$emit('navigationClick', name)\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HeaderBar.vue?vue&type=template&id=7c485c06&\"\nimport script from \"./HeaderBar.vue?vue&type=script&lang=js&\"\nexport * from \"./HeaderBar.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"local-modal__wrapper\",class:{'local-modal__wrapper--visible': _vm.visible && !this.hiding}},[(_vm.visible)?_c('div',{staticClass:\"local-modal__background\",on:{\"click\":_vm.close}}):_vm._e(),(_vm.visible && _vm.maskComponent)?_c('local-modal-mask'):_vm._e(),(_vm.visible)?_c('local-modal'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"local-modal\",class:(_vm.customClass + \" local-modal--\" + _vm.colour + \" local-modal--\" + _vm.direction + \" \" + (_vm.hiding ? 'local-modal--hiding' : '')),style:((\"width: \" + _vm.width + \"px; min-width: \" + _vm.width + \"px\"))},[_c(_vm.internalContentComponent,{tag:\"component\",attrs:{\"component-data\":_vm.componentData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"local-modal\"\n :class=\"`${customClass} local-modal--${colour} local-modal--${direction} ${hiding ? 'local-modal--hiding' : ''}`\"\n :style=\"`width: ${width}px; min-width: ${width}px`\">\n <component :is=\"internalContentComponent\" :component-data=\"componentData\"/>\n </div>\n</template>\n\n<script>\nimport { mapState } from 'vuex'\nimport { compose, equals, is, path, pathOr, split, when } from 'ramda'\nimport Tether from 'tether'\n\nconst getStateValue = (prop) => path(['localModal', prop])\n\nexport default {\n name: 'LocalModal',\n data() {\n return {\n tether: null,\n hiding: false,\n internalContentComponent: null,\n }\n },\n computed: {\n ...mapState(\n {\n targetElement: getStateValue('targetElement'),\n contentComponent: getStateValue('contentComponent'),\n attachment: getStateValue('attachment'),\n targetAttachment: getStateValue('targetAttachment'),\n colour: getStateValue('colour'),\n width: getStateValue('width'),\n componentData: getStateValue('componentData'),\n customClass: getStateValue('customClass'),\n },\n ),\n direction() {\n return compose(\n when(is(Array), path([0])),\n when(compose(equals('middle'), path([0])), path([1])),\n split(' '),\n pathOr('', ['targetAttachment']),\n )(this)\n },\n },\n watch: {\n contentComponent() {\n if (this.contentComponent === null) {\n this.hiding = true\n setTimeout(() => {\n this.internalContentComponent = null\n }, 600)\n } else {\n this.internalContentComponent = this.contentComponent\n }\n },\n },\n created() {\n this.internalContentComponent = this.contentComponent\n },\n mounted() {\n this.tether = new Tether({\n element: this.$el,\n target: this.targetElement,\n attachment: this.attachment,\n targetAttachment: this.targetAttachment,\n })\n },\n beforeDestroy() {\n if (this.tether) {\n this.tether.destroy()\n this.tether = null\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LocalModal.vue?vue&type=template&id=0a97ae1a&\"\nimport script from \"./LocalModal.vue?vue&type=script&lang=js&\"\nexport * from \"./LocalModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"local-modal__mask\"},[_c(_vm.maskComponent,{tag:\"component\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"local-modal__mask\">\n <component :is=\"maskComponent\"/>\n </div>\n</template>\n\n<script>\nimport Tether from 'tether'\nimport { mapState } from 'vuex'\nimport { path } from 'ramda'\n\nconst getStateValue = (prop) => path(['localModal', prop])\n\nexport default {\n name: 'LocalModalMask',\n data() {\n return {\n tether: null,\n }\n },\n computed: {\n ...mapState(\n {\n targetElement: getStateValue('targetElement'),\n maskComponent: getStateValue('maskComponent'),\n colour: getStateValue('colour'),\n },\n ),\n },\n mounted() {\n this.tether = new Tether({\n element: this.$el,\n target: this.targetElement,\n attachment: 'top left',\n targetAttachment: 'top left',\n })\n },\n beforeDestroy() {\n if (this.tether) {\n this.tether.destroy()\n this.tether = null\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModalMask.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModalMask.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LocalModalMask.vue?vue&type=template&id=3f12e726&\"\nimport script from \"./LocalModalMask.vue?vue&type=script&lang=js&\"\nexport * from \"./LocalModalMask.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"local-modal__wrapper\" :class=\"{'local-modal__wrapper--visible': visible && !this.hiding}\">\n <div v-if=\"visible\" class=\"local-modal__background\" @click=\"close\"></div>\n <local-modal-mask v-if=\"visible && maskComponent\"/>\n <local-modal v-if=\"visible\"/>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport LocalModal from './LocalModal'\nimport LocalModalMask from './LocalModalMask'\n\nconst getStateValue = (prop) => path(['localModal', prop])\n\nexport default {\n name: 'LocalModalWrapper',\n components: { LocalModalMask, LocalModal },\n data() {\n return {\n visible: false,\n hiding: false,\n }\n },\n computed: {\n ...mapState(\n {\n targetElement: getStateValue('targetElement'),\n maskComponent: getStateValue('maskComponent'),\n },\n ),\n },\n watch: {\n targetElement() {\n if (this.targetElement === null) {\n this.hiding = true\n setTimeout(() => {\n this.visible = false\n this.hiding = false\n }, 600)\n } else {\n this.visible = true\n }\n },\n },\n methods: {\n ...mapActions(\n {\n close: 'localModal/close',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModalWrapper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocalModalWrapper.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LocalModalWrapper.vue?vue&type=template&id=349b38f6&\"\nimport script from \"./LocalModalWrapper.vue?vue&type=script&lang=js&\"\nexport * from \"./LocalModalWrapper.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.open)?_c('div',{staticClass:\"mobile-menu\",class:{'mobile-menu--closing': _vm.closing}},[_vm._l((_vm.routes),function(name){return _c('padding',{key:name,staticClass:\"flex--middle flex--justify-middle\",attrs:{\"direction\":\"vertical\"}},[_c('router-link',{staticClass:\"header-link flex--middle flex--justify-middle\",attrs:{\"to\":_vm.routePaths[name]}},[_c('Button',{staticClass:\"button--header\",attrs:{\"colour\":\"grey\",\"type\":\"text\",\"icon\":_vm.routeIcons[name]},on:{\"click\":_vm.closeMobileMenu}},[_vm._v(\" \"+_vm._s(_vm.routeLabels[name])+\" \")])],1)],1)}),_c('padding',{staticClass:\"flex--middle flex--justify-middle\",attrs:{\"direction\":\"vertical\"}},[_c('div',{staticClass:\"mobile-menu__divider\"})]),_c('padding',{staticClass:\"flex--middle flex--justify-middle\",attrs:{\"direction\":\"vertical\"}},[_c('router-link',{staticClass:\"header-link flex--middle flex--justify-middle\",attrs:{\"to\":\"/account\"}},[_c('Button',{staticClass:\"button--header\",attrs:{\"colour\":\"grey\",\"type\":\"text\",\"icon\":\"user\"},on:{\"click\":_vm.closeMobileMenu}},[_vm._v(\" Account \")])],1)],1),_c('padding',{staticClass:\"flex--middle flex--justify-middle\",attrs:{\"direction\":\"vertical\"}},[_c('Button',{staticClass:\"button--header\",attrs:{\"colour\":\"grey\",\"type\":\"text\",\"icon\":\"sign-out\"},on:{\"click\":_vm.logout}},[_vm._v(\" Sign Out \")])],1)],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div v-if=\"open\" class=\"mobile-menu\" :class=\"{'mobile-menu--closing': closing}\">\n <padding v-for=\"name in routes\" :key=\"name\" direction=\"vertical\" class=\"flex--middle flex--justify-middle\">\n <router-link :to=\"routePaths[name]\" class=\"header-link flex--middle flex--justify-middle\">\n <Button colour=\"grey\" type=\"text\" :icon=\"routeIcons[name]\" class=\"button--header\" @click=\"closeMobileMenu\">\n {{ routeLabels[name] }}\n </Button>\n </router-link>\n </padding>\n\n <padding direction=\"vertical\" class=\"flex--middle flex--justify-middle\">\n <div class=\"mobile-menu__divider\"></div>\n </padding>\n\n <padding direction=\"vertical\" class=\"flex--middle flex--justify-middle\">\n <router-link to=\"/account\" class=\"header-link flex--middle flex--justify-middle\">\n <Button colour=\"grey\" type=\"text\" icon=\"user\" class=\"button--header\" @click=\"closeMobileMenu\">\n Account\n </Button>\n </router-link>\n </padding>\n <padding direction=\"vertical\" class=\"flex--middle flex--justify-middle\">\n <Button colour=\"grey\" type=\"text\" icon=\"sign-out\" class=\"button--header\" @click=\"logout\">\n Sign Out\n </Button>\n </padding>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport Padding from '../Utils/Padding'\nimport navMenuMixin from '../../mixins/navMenuMixin'\nimport Button from '../Buttons/Button'\n\nexport default {\n name: 'MobileMenu',\n components: { Button, Padding },\n mixins: [navMenuMixin],\n data() {\n return {\n closing: false,\n open: false,\n }\n },\n computed: {\n ...mapState(\n {\n mobileMenuOpen: path(['mobileMenuOpen']),\n },\n ),\n },\n watch: {\n mobileMenuOpen() {\n if (this.mobileMenuOpen) {\n this.open = true\n } else {\n this.closing = true\n setTimeout(() => {\n this.open = false\n this.closing = false\n }, 300)\n }\n },\n },\n methods: {\n ...mapActions(\n {\n closeMobileMenu: 'closeMobileMenu',\n },\n ),\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MobileMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MobileMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MobileMenu.vue?vue&type=template&id=4e017f9a&\"\nimport script from \"./MobileMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./MobileMenu.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-easy-lightbox',{ref:\"lightbox\",attrs:{\"visible\":_vm.open,\"imgs\":_vm.paths,\"index\":_vm.index},on:{\"hide\":_vm.hideHandler}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <vue-easy-lightbox ref=\"lightbox\" :visible=\"open\" :imgs=\"paths\" :index=\"index\" @hide=\"hideHandler\"/>\n</template>\n\n<script>\nimport VueEasyLightbox from 'vue-easy-lightbox'\nimport { mapActions, mapState } from 'vuex'\nimport { map, path } from 'ramda'\n\nexport default {\n name: 'ImageLightbox',\n components: { VueEasyLightbox },\n data() {\n return {\n index: 0,\n }\n },\n watch: {\n open() {\n if (this.open) {\n this.index = 0\n }\n },\n },\n computed: {\n ...mapState(\n {\n open: path(['lightbox', 'open']),\n images: path(['lightbox', 'images']),\n },\n ),\n paths() {\n return map(path(['src']), this.images || [])\n },\n },\n methods: {\n ...mapActions(\n {\n close: 'lightbox/close',\n clearImages: 'lightbox/clearImages',\n },\n ),\n hideHandler() {\n this.close()\n this.$nextTick(this.clearImages)\n },\n },\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ImageLightbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ImageLightbox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ImageLightbox.vue?vue&type=template&id=032247aa&\"\nimport script from \"./ImageLightbox.vue?vue&type=script&lang=js&\"\nexport * from \"./ImageLightbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"page\" :class=\"pageClasses\">\n <flash-notifications/>\n <messaging-modal v-if=\"isAuthenticated\"/>\n <confirmation-modal v-if=\"isAuthenticated\"/>\n <local-modal-wrapper/>\n <header-bar v-if=\"showHeader\"/>\n <mobile-menu/>\n\n <div v-if=\"showHeader\"\n class=\"mock-header\"\n :class=\"{ 'mock-header--with-hero': hasHero, 'mock-header--dashboard': isDashboard, 'mock-header--account': isAccount }\">\n </div>\n\n <b-container fluid class=\"content-wrapper\" :class=\"`content-wrapper--${lowercaseRouteName}`\">\n <b-row>\n <b-col>\n <slot />\n </b-col>\n </b-row>\n </b-container>\n\n <footer class=\"footer-container\">\n <app-footer :white=\"whiteFooter\"/>\n </footer>\n\n <cookie-consent/>\n <image-lightbox/>\n </div>\n</template>\n\n<script lang=\"js\">\nimport { mapActions, mapState } from 'vuex'\nimport { compose, path, pathOr, toLower } from 'ramda'\nimport CookieConsent from './CookieConsent'\nimport MessagingModal from '../MessagingModal'\nimport ConfirmationModal from './Confirmations/ConfirmationModal'\nimport FlashNotifications from './FlashNotifications.vue'\nimport AppFooter from './AppFooter.vue'\nimport HeaderBar from './HeaderBar'\nimport LocalModalWrapper from '../LocalModal/LocalModalWrapper'\nimport MobileMenu from './MobileMenu'\nimport ImageLightbox from '../ImageLightbox.vue'\n\nexport default {\n name: 'PageTemplate',\n components: {\n ImageLightbox,\n CookieConsent,\n MobileMenu,\n LocalModalWrapper,\n HeaderBar,\n MessagingModal,\n AppFooter,\n FlashNotifications,\n ConfirmationModal,\n },\n computed: {\n ...mapState(\n {\n userName: path(['auth', 'user', 'data', 'attributes', 'fullName']),\n isAuthenticated: path(['auth', 'isAuthenticated']),\n floatingFooterVisible: path(['floatingFooterVisible']),\n },\n ),\n hasHero() {\n return path(['$route', 'meta', 'hasHero'], this)\n },\n isDashboard() {\n return path(['$route', 'name'])(this) === 'Dashboard'\n },\n isAccount() {\n return path(['$route', 'name'])(this) === 'Account'\n },\n pageClasses() {\n let classes = pathOr('', ['$route', 'meta', 'pageClasses'], this)\n\n if (this.floatingFooterVisible) {\n classes = `${classes} page--floating-footer-visible`\n }\n\n return classes\n },\n lowercaseRouteName() {\n return compose(toLower, String, path(['$route', 'name']))(this)\n },\n whiteFooter() {\n return compose(Boolean, path(['$route', 'meta', 'whiteFooter']))(this)\n },\n showHeader() {\n return this.isAuthenticated || path(['$route', 'meta', 'forceHeader'], this)\n },\n },\n methods: {\n ...mapActions(\n {\n logout: 'auth/logout',\n },\n ),\n checkAuthenticated() {\n if (!this.isAuthenticated) {\n this.$router.replace('/login')\n }\n },\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageTemplate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PageTemplate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageTemplate.vue?vue&type=template&id=61d4ee6d&\"\nimport script from \"./PageTemplate.vue?vue&type=script&lang=js&\"\nexport * from \"./PageTemplate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"app\" :class=\"`browser-${currentBrowser}`\">\n <loading :loading=\"authLoading\">\n <page-template>\n <router-view v-slot=\"{ Component }\">\n <transition name=\"fade\">\n <component :is=\"Component\" />\n </transition>\n </router-view>\n </page-template>\n </loading>\n </div>\n</template>\n\n<script lang=\"js\">\nimport { mapActions, mapGetters, mapState } from 'vuex'\nimport { path } from 'ramda'\nimport Loading from './components/Loading'\nimport PageTemplate from './components/PageTemplate/PageTemplate'\nimport { currentBrowser } from './utils/browser'\n\nexport default {\n name: 'App',\n components: { Loading, PageTemplate },\n data() {\n return { currentBrowser }\n },\n computed: {\n ...mapGetters(\n {\n corePageLoadComplete: 'corePageLoadComplete',\n },\n ),\n ...mapState(\n {\n authLoading: path(['auth', 'loading']),\n isAuthenticated: path(['auth', 'isAuthenticated']),\n notificationLoadComplete: path(['notifications', 'loaded']),\n },\n ),\n },\n created() {\n this.initCookieConsent()\n this.initializeAuth()\n },\n mounted() {\n this.setRedirect()\n },\n updated() {\n this.setRedirect()\n },\n watch: {\n corePageLoadComplete() {\n if (this.corePageLoadComplete) {\n if (!this.notificationLoadComplete && this.isAuthenticated) {\n this.xhrLoadNotifications()\n }\n }\n },\n },\n methods: {\n ...mapActions(\n {\n initializeAuth: 'auth/initialize',\n initCookieConsent: 'cookieConsent/init',\n xhrLoadNotifications: 'notifications/xhrLoad',\n },\n ),\n getShouldRedirect() {\n return this.$router.currentRoute.meta.requiresAuth && !this.authLoading && !this.isAuthenticated\n },\n setRedirect() {\n if (this.getShouldRedirect()) {\n this.$router.replace('/login')\n }\n },\n },\n}\n</script>\n\n<style lang=\"scss\">\n @import 'assets/scss/app.scss';\n</style>\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=bd575216&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=bd575216&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { concat, path } from 'ramda'\nimport dig from 'spiceutils/dist/dig'\n\nconst pathFunc = path\n\nexport default class FetchPath {\n /**\n * Constructor.\n *\n * @param {function} fetch\n * @param {function} buildUrl\n * @param {string} URL\n * @param {HttpCache} httpCache\n * @param {AuthInitialiser} authInitialiser\n */\n constructor(fetch, buildUrl, URL, httpCache, authInitialiser) {\n this.fetch = fetch\n this.buildUrl = buildUrl\n this.URL = URL\n this.httpCache = httpCache\n this.authInitialiser = authInitialiser\n }\n\n /**\n * Fetch a path from the API\n * @param { Object } config - configuration object\n * @param { String } [config.method] - HTTP method\n * - defaults to 'GET'\n * @param { String } config.path - path to fetch relative to the API root\n * @param { Object } [config.parameters] - key-value paired search string parameters\n * - defaults to undefined\n * @param { String | String[] } [config.parameters[]] - value of the associated search parameter\n * - blank values are ignored (see spiceutils blank docs for full rules)\n * - values are URI encoded\n * - if an array is given, parameters are broken up to `key[]=item1&key[]=item2...`\n * @param { Any } [config.data] - Body to be sent with the request\n * - defaults to undefined\n * - should only be supplied when given method supports a request body (POST, PUT, ...)\n * @param { String } [config.anchor] - anchor to apply to URL\n * - defaults to undefined\n * - this most likely has no effect\n * @param { Any | Any[] } [config.jsonPath] - path to dig to within response JSON\n * - defaults to undefined\n * - e.g.: if the response contains data at `content.data`, you could pass `['content', 'data']`\n * and promise will return the data at `response.content.data` if it exists.\n * - see spiceutils dig docs for full usage\n * @param { Boolean } retryOnAuthError - Permit the request to be re-run when an auth error is encountered.\n */\n async run(\n {\n method = 'GET',\n path,\n parameters = undefined,\n data,\n anchor = undefined,\n jsonPath = undefined,\n headers = {},\n retryOnAuthError = true,\n earliestPermittedCacheHit = null,\n },\n ) {\n let isPartialCacheResult\n let cacheResult\n\n if (path[0] !== '/') {\n // eslint-disable-next-line no-param-reassign\n path = `/${path}`\n }\n\n if (method === 'GET' || method === 'get') {\n const cacheObject = this.httpCache.read(path, parameters, earliestPermittedCacheHit)\n isPartialCacheResult = cacheObject.isPartialResult\n cacheResult = cacheObject.result\n\n if (!isPartialCacheResult && cacheResult) {\n return cacheResult\n }\n }\n\n const response = await this.fetch(\n this.buildUrl(`${this.URL}${path}`, parameters, anchor),\n {\n method,\n credentials: 'include',\n headers: {\n 'Content-Type': 'application/vnd.api+json',\n Accept: 'application/vnd.api+json',\n ...headers,\n },\n body: JSON.stringify(data),\n },\n ).catch((e) => e)\n\n /*\n * If the user encounters a 401 retry auth and rerun request.\n * This exists to handle situations where the JWT token has expired, which is does at midnight.\n */\n if (retryOnAuthError && pathFunc(['status'], response) === 401) {\n await this.authInitialiser.run()\n return this.run({\n method,\n path,\n parameters,\n data,\n anchor,\n jsonPath,\n headers,\n retryOnAuthError: false,\n })\n }\n\n if (response instanceof Error) {\n try {\n response.json = JSON.parse(response.message)\n } catch (e) {\n }\n throw response\n }\n\n let json = await response.json().catch(() => null)\n\n if (!response.ok) {\n if (json) {\n const error = new Error(JSON.stringify(json, null, 2))\n error.json = json\n throw error\n }\n throw new Error('Error making request')\n }\n\n if (jsonPath) {\n json = dig(json, ...jsonPath)\n }\n\n // Merge the partial cache result\n\n if (method === 'GET' || method === 'get') {\n if (cacheResult) {\n json = concat(json, cacheResult)\n }\n\n this.httpCache.write(path, parameters, json)\n }\n\n return json\n }\n}\n","import { compose, when } from 'ramda'\n\nconst datetimeStringToTimestampConverter = compose(\n when(Number.isNaN, () => null),\n (value) => new Date(value).getTime() / 1000,\n)\n\nexport default datetimeStringToTimestampConverter\n","import { compose, path } from 'ramda'\nimport datetimeStringToTimestampConverter from '../date/converter/datetimeStringToTimestampConverter'\n\nconst formatOffer = ({ id: iri, attributes, ...offerData }) => ({\n ...offerData,\n ...attributes,\n iri,\n})\n\nconst formatOfferLine = ({ id: iri, attributes, ...offerLineData }) => ({\n ...offerLineData,\n ...attributes,\n iri,\n})\n\nexport const getOffersFactory = (fetchPath) => async ({ contactId } = {}) => {\n const offers = await fetchPath.run({\n path: '/yoda/api/offers',\n parameters: {\n status: 'active',\n shared: true,\n // sharedWithCustomers: true,\n contactId,\n itemsPerPage: 999,\n },\n jsonPath: ['content', 'data'],\n }).then((offers) => offers.map(formatOffer))\n\n const offerLineGroups = await Promise.all(\n offers.map(({ id, cacheThreshold }) => (\n fetchPath.run({\n path: '/yoda/api/offer-lines',\n parameters: {\n offer: id,\n itemsPerPage: 999,\n },\n jsonPath: ['content', 'data'],\n earliestPermittedCacheHit: datetimeStringToTimestampConverter(cacheThreshold),\n }).then((offerLines) => offerLines.map(formatOfferLine))\n )),\n )\n\n return offers.map((offer) => {\n const offerLines = offerLineGroups.find(([offerLine]) => (\n offerLine && offerLine.offer === offer.iri\n ))\n\n return {\n ...offer,\n offerLines: offerLines || [],\n }\n })\n}\n\nexport const getOfferByIdFactory = (fetchPath) => async (offerId, { loadLines = true } = {}) => {\n const offer = await fetchPath.run({\n path: `/yoda/api/offers/${offerId}`,\n jsonPath: ['content', 'data'],\n })\n const offerLines = loadLines && await fetchPath.run({\n path: '/yoda/api/offer-lines',\n parameters: {\n offer: offerId,\n itemsPerPage: 999,\n },\n jsonPath: ['content', 'data'],\n earliestPermittedCacheHit: compose(\n datetimeStringToTimestampConverter,\n path(['attributes', 'cacheThreshold']),\n )(offer),\n })\n\n return formatOffer({\n ...offer,\n offerLines: loadLines && offerLines.map(formatOfferLine),\n })\n}\n\nexport const shareOfferFactory = (fetchPath) => ({\n offer: { iri },\n contact,\n emailList,\n message,\n}) => (\n fetchPath.run({\n path: '/yoda/api/offer-share-requests',\n method: 'POST',\n data: {\n offer: iri,\n contact,\n emailList,\n message,\n },\n })\n)\n","/**\n * A single entry in the cache.\n *\n * @property {Number} createdOn Timestamp of when the item was created.\n * @property {Number} expiresOn Timestamp of when the item is to expire.\n * @property {String} type Item type slug\n * @property {*} id Unique ID of the item\n * @property {*} value The item's value\n */\nclass HttpCacheItem {\n constructor(createdOn, expiresOn, type, id, value) {\n this.createdOn = createdOn\n this.expiresOn = expiresOn\n this.type = type\n this.id = id\n this.value = value\n }\n}\n\nexport default HttpCacheItem\n","import { __, compose, divide, is, map, path, when } from 'ramda'\nimport httpCacheItem from './container/HttpCacheItem'\n\nconst pathFunc = path\nconst isObject = is(Object)\nconst isArray = is(Array)\nconst isCacheItem = (value) => (isObject(value) && value instanceof httpCacheItem)\nconst getEpoch = () => compose(Number, Math.floor, divide(__, 1000))((new Date()).getTime())\n\n/**\n * Core HTTP cache routine runner.\n */\nexport default class HttpCache {\n /**\n * Constructor.\n *\n * @param {HttpCachePoolConfigProvider} poolConfigProvider\n * @param {HttpCacheAdapterFactory} adapterFactory\n * @param {HttpCacheServiceFactory} serviceFactory\n * @param {function} expiredItemFilter\n * @param {function} createdAfterFilter\n */\n constructor(poolConfigProvider, adapterFactory, serviceFactory, expiredItemFilter, createdAfterFilter) {\n this.poolConfigProvider = poolConfigProvider\n this.adapterFactory = adapterFactory\n this.serviceFactory = serviceFactory\n this.expiredItemFilter = expiredItemFilter\n this.createdAfterFilter = createdAfterFilter\n }\n\n setVuexStore(vuexStore) {\n this.vuexStore = vuexStore\n }\n\n /**\n * Perform the read operation against the cache.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {string|null} earliestPermittedHit\n * @return {Object}\n */\n read(path, parameters = {}, earliestPermittedHit = null) {\n const cookieDecision = pathFunc(['vuexStore', 'getters', 'cookieConsent/decision'], this)\n\n // Get pool config. Quit if null\n const poolConfig = this.poolConfigProvider.provide(path, parameters, cookieDecision)\n if (poolConfig === null) {\n return { result: null }\n }\n\n // Load all cache items from the adapter.\n const adapter = this.adapterFactory.create(poolConfig)\n const initialCachedItems = adapter.load(poolConfig)\n\n // Filter the list to remove any expired items. Write updated list to the cache if any are removed.\n let cachedItems = this.expiredItemFilter(getEpoch(), initialCachedItems)\n if (initialCachedItems.length !== cachedItems.length) {\n adapter.save(poolConfig, cachedItems)\n }\n\n if (earliestPermittedHit) {\n cachedItems = this.createdAfterFilter(earliestPermittedHit, cachedItems)\n }\n\n const service = this.serviceFactory.create(poolConfig)\n const hits = service.read({ path, parameters, poolConfig }, cachedItems)\n\n return {\n result: compose(\n when(isCacheItem, pathFunc(['value'])),\n when(isArray, map(when(isCacheItem, pathFunc(['value'])))),\n )(hits),\n isPartialResult: service.isPartialResult(),\n }\n }\n\n /**\n * Perform the write action against the cache.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {*} value\n * @return {Boolean}\n */\n write(path, parameters = {}, value = null) {\n const cookieDecision = pathFunc(['vuexStore', 'getters', 'cookieConsent/decision'], this)\n\n // Get pool config. Quit if null\n const poolConfig = this.poolConfigProvider.provide(path, parameters, cookieDecision)\n if (poolConfig === null) {\n return false\n }\n\n const currentTimestamp = getEpoch()\n\n // Load all cache items from the adapter and pre-filter for those that are expired.\n const adapter = this.adapterFactory.create(poolConfig)\n let cachedItems = this.expiredItemFilter(currentTimestamp, adapter.load(poolConfig))\n\n // Pass to the write method against the service\n cachedItems = this.serviceFactory.create(poolConfig).write(\n { path, parameters, poolConfig, currentTimestamp },\n cachedItems,\n value,\n )\n\n // Save the updated list\n return adapter.save(poolConfig, cachedItems)\n }\n}\n","/**\n * A container class for the configuration of a single cache pool.\n */\nclass HttpCachePoolConfig {\n constructor(name, config) {\n this.name = name\n this.test = config.test\n this.strategy = config.strategy\n this.timeToLive = config.timeToLive\n this.service = config.service\n this.serviceArgs = config.serviceArgs\n }\n}\n\nexport default HttpCachePoolConfig\n","import { assoc, compose, map, reduce, toPairs, when } from 'ramda'\nimport HttpCachePoolConfig from '../container/HttpCachePoolConfig'\nimport strategy from '../dictionary/strategy.json'\n\n/**\n * Pool config provider class.\n */\nclass HttpCachePoolConfigProvider {\n /**\n * Constructor.\n *\n * @param {Object} configArray\n */\n constructor(configArray) {\n this.configContainers = compose(\n map(([name, config]) => new HttpCachePoolConfig(name, config)),\n toPairs,\n )(configArray)\n }\n\n /**\n * Provides the pool config container for a given requestPath.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {Boolean} localStorageAllowed\n * @return {HttpCachePoolConfig|null}\n */\n provide(path, parameters, localStorageAllowed) {\n return compose(\n when(\n (poolConfig) => !localStorageAllowed && poolConfig && poolConfig.strategy === strategy.localStorage,\n assoc('strategy', strategy.volatile),\n ),\n reduce((carry, poolConfig) => (poolConfig.test(path, parameters) ? poolConfig : carry), null),\n )(this.configContainers)\n }\n}\n\nexport default HttpCachePoolConfigProvider\n","import { __, compose, curry, is, length, match, path, replace, when, tap } from 'ramda'\nimport service from './dictionary/service.json'\nimport strategy from './dictionary/strategy.json'\n\nconst pathFunc = path\nconst matchPath = curry((pattern, path) => compose(Boolean, length, match(__, path))(pattern))\nconst isString = is(String)\n\n/**\n * Define the cache pools available for the application. The pools must be defined as an object with the following keys:\n *\n * 'pattern' => The regex pattern the path must match for the pool to activate for the request.\n * 'strategy' => The storage strategy to implement. See dictionary/strategy.json\n * 'timeToLive' => The lifespan of the cache objects in seconds\n * 'service' => The service to use for reading and writing cache entries. See dictionary/services.json\n * 'serviceArgs' => A list of arguments passed to the service so that it may operate.\n */\nexport default {\n offer: {\n test: matchPath(/^\\/yoda\\/api\\/offers(\\/)?(\\d+)*(\\/)?$/),\n strategy: strategy.volatile,\n timeToLive: 7200, // 2 hours\n service: service.item,\n serviceArgs: {\n requestIdProvider: replace('/yoda', ''),\n entityIdProvider: path(['id']),\n },\n },\n offerLine: {\n test(path, parameters) {\n if (!path.startsWith('/yoda/api/offer-lines')) {\n return false\n }\n\n const offerParameter = compose(Boolean, Number, pathFunc(['offer']))(parameters)\n const idParameter = compose(is(Array), pathFunc(['id']))(parameters)\n\n // Check for an index request\n if (matchPath(/^\\/yoda\\/api\\/offer-lines(\\/)?$/, path) && (offerParameter || idParameter)) {\n return true\n }\n\n // Check for a fetch request (these are now fairly rare)\n return !!(matchPath(/^\\/yoda\\/api\\/offer-lines\\/\\d+(\\/)?$/, path) && !offerParameter && !idParameter)\n },\n pattern: /^\\/yoda\\/api\\/offer-lines/,\n strategy: strategy.localStorage,\n timeToLive: 1209600, // 2 weeks\n service: service.group,\n serviceArgs: {\n isGroupRequest(path, parameters) {\n return Boolean(pathFunc(['offer'], parameters))\n },\n requestIdProvider(path, parameters) {\n let id = pathFunc(['offer'], parameters)\n if (!id && matchPath(/^\\/yoda\\/api\\/offer-lines\\/\\d+(\\/)?$/, path)) {\n id = replace('/yoda', '', path)\n if (id.substr(id.length - 1) === '/') {\n id = id.substr(0, id.length - 1)\n }\n }\n return id ? String(id) : null\n },\n entityIdProvider: path(['id']),\n groupIdProvider: compose(\n when(isString, compose(\n replace('/', ''),\n replace('/api/offers', ''),\n )),\n path(['attributes', 'offer']),\n ),\n },\n },\n}\n","import HttpCachePoolConfigProvider from './HttpCachePoolConfigProvider'\nimport pools from '../pools'\n\nexport const poolConfigProvider = new HttpCachePoolConfigProvider(pools)\n\nexport default {\n poolConfigProvider,\n}\n","/**\n * Abstract cache adapter.\n *\n * @abstract\n */\nclass HttpCacheAbstractAdapter {\n /**\n * Constructor.\n *\n * @param {String} strategy\n */\n constructor(strategy) {\n this.strategy = strategy\n }\n\n /**\n * Tests to see if the adapter supports a given pool config instance.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Boolean}\n */\n supports(poolConfig) {\n return poolConfig.strategy === this.strategy\n }\n\n /**\n * Loads all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Array<HttpCacheItem>}\n */\n // eslint-disable-next-line no-unused-vars,class-methods-use-this\n load(poolConfig) {\n throw new Error('Abstract method called')\n }\n\n /**\n * Saves all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<HttpCacheItem>} cacheItems\n * @return {Boolean}\n */\n // eslint-disable-next-line no-unused-vars,class-methods-use-this\n save(poolConfig, cacheItems) {\n throw new Error('Abstract method called')\n }\n}\n\nexport default HttpCacheAbstractAdapter\n","import { assoc, pathOr } from 'ramda'\nimport HttpCacheAbstractAdapter from './HttpCacheAbstractAdapter'\nimport strategy from '../dictionary/strategy.json'\n\n/**\n * Cache adaptor for the volatile cache strategy.\n *\n * This strategy should be employed for cached information that will be destroyed when closing the page.\n */\nclass HttpCacheVolatileAdapter extends HttpCacheAbstractAdapter {\n /**\n * Constructor.\n */\n constructor() {\n super(strategy.volatile)\n this.cacheData = {}\n }\n\n /**\n * Loads all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Array<HttpCacheItem>}\n */\n load(poolConfig) {\n return pathOr([], [poolConfig.name], this.cacheData)\n }\n\n /**\n * Saves all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<HttpCacheItem>} cacheItems\n * @return {Boolean}\n */\n save(poolConfig, cacheItems) {\n this.cacheData = assoc(poolConfig.name, cacheItems, this.cacheData)\n return true\n }\n}\n\nexport default HttpCacheVolatileAdapter\n","import { compose, filter, is, map, not, when } from 'ramda'\nimport HttpCacheAbstractAdapter from './HttpCacheAbstractAdapter'\nimport HttpCacheItem from '../container/HttpCacheItem'\nimport strategy from '../dictionary/strategy.json'\n\nconst isObject = is(Object)\nconst isNotArray = compose(not, is(Array))\n\n/**\n * Cache adaptor for the volatile cache strategy.\n *\n * Use this strategy to ensure that data caching persists across pages.\n */\nclass HttpCacheLocalStorageAdapter extends HttpCacheAbstractAdapter {\n /**\n * Constructor\n *\n * @param {function} getData\n * @param {function} setData\n */\n constructor(getData, setData) {\n super(strategy.localStorage)\n this.localStorageKeyPrefix = 'httpcache'\n this.getData = getData\n this.setData = setData\n }\n\n /**\n * Loads all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Array<HttpCacheItem>}\n */\n load(poolConfig) {\n return compose(\n filter(isObject),\n map((item) => (isObject(item) ? new HttpCacheItem(item.createdOn || null, item.expiresOn, item.type, item.id, item.value) : null)),\n when(isNotArray, () => []),\n this.getData,\n )(this.constructKey(poolConfig))\n }\n\n /**\n * Saves all items for a cache pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<HttpCacheItem>} cacheItems\n * @return {Boolean}\n */\n save(poolConfig, cacheItems) {\n this.setData(this.constructKey(poolConfig), null, cacheItems)\n return true\n }\n\n /**\n * Creates the key for a pool's localstorage data.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {string}\n */\n constructKey(poolConfig) {\n return `${this.localStorageKeyPrefix}_${poolConfig.name}`\n }\n}\n\nexport default HttpCacheLocalStorageAdapter\n","import HttpCacheVolatileAdapter from './HttpCacheVolatileAdapter'\nimport HttpCacheLocalStorageAdapter from './HttpCacheLocalStorageAdapter'\nimport { getData, setData } from '../../LocalStorage/dataInteractors'\n\nexport default [\n new HttpCacheVolatileAdapter(),\n new HttpCacheLocalStorageAdapter(getData, setData),\n]\n","/**\n * Abstract service.\n *\n * @abstract\n */\nexport default class HttpCacheAbstractService {\n /**\n * Constructor.\n *\n * @param {String} serviceType\n */\n constructor(serviceType) {\n this.serviceType = serviceType\n this.partialResult = false\n }\n\n /**\n * Does this service support the given cache pool?\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {boolean}\n */\n supports(poolConfig) {\n return poolConfig.service === this.serviceType\n }\n\n /**\n * Reads the cache pool for matches for the current request.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<HttpCacheItem>} cachePool\n * @return {HttpCacheItem|Array<HttpCacheItem>|null}\n */\n // eslint-disable-next-line no-unused-vars,class-methods-use-this\n read({ path, parameters, poolConfig }, cachePool) {\n throw new Error('Abstract method called')\n }\n\n /**\n * Writes to the cache pool.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {string} currentTimestamp\n * @param {Array<HttpCacheItem>} cachePool\n * @param {*} valueOrValues\n * @return {Array<HttpCacheItem>}\n */\n // eslint-disable-next-line no-unused-vars,class-methods-use-this\n write({ path, parameters, poolConfig, currentTimestamp }, cachePool, valueOrValues) {\n throw new Error('Abstract method called')\n }\n\n /**\n * Return the partial result flag.\n * A partial result indicates that the request may still need to be executed.\n *\n * @return {boolean}\n */\n isPartialResult() {\n return this.partialResult\n }\n}\n","import { append, compose, filter, is, map, reduce, path } from 'ramda'\nimport HttpCacheAbstractService from './HttpCacheAbstractService'\nimport HttpCacheItem from '../container/HttpCacheItem'\nimport service from '../dictionary/service.json'\n\nconst isArray = is(Array)\nconst pathFunc = path\n\n/**\n * Cache service that only handles reading when an individual item is being loaded.\n *\n * This is the simplest implementation of the HTTP caching. Please use another service if your needs are more complex.\n */\nexport default class HttpCacheItemService extends HttpCacheAbstractService {\n /**\n * Constructor.\n *\n * @param {function} calculateExpiresOnValue\n * @param {function} getServiceArgsFunction\n */\n constructor(calculateExpiresOnValue, getServiceArgsFunction) {\n super(service.item)\n this.calculateExpiresOnValue = calculateExpiresOnValue\n this.getServiceArgsFunction = getServiceArgsFunction\n }\n\n /**\n * Reads the cache pool for matches for the current request.\n *\n * @param {string} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {string|null|undefined} itemType\n * @param {Array<HttpCacheItem>} cachePool\n * @return {HttpCacheItem|Array<HttpCacheItem>|null}\n */\n read({ path, parameters, poolConfig, itemType }, cachePool) {\n const id = this.getServiceArgsFunction(poolConfig, 'requestIdProvider')(path, parameters)\n const itemOrItems = compose(\n map(pathFunc(['value'])),\n filter((item) => item.id === id && item.type === (itemType || poolConfig.name)),\n )(cachePool)\n const { length } = itemOrItems\n\n if (length > 1) {\n return itemOrItems\n }\n if (length === 1) {\n return itemOrItems[0]\n }\n\n return null\n }\n\n /**\n * Writes to the cache pool.\n *\n * @param {string} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {string|null|undefined} itemType\n * @param {Number} currentTimestamp\n * @param {Array<HttpCacheItem>} cachePool\n * @param {*} valueOrValues\n * @return {Array<HttpCacheItem>}\n */\n write({ path, parameters, poolConfig, itemType, currentTimestamp }, cachePool, valueOrValues) {\n if (isArray(valueOrValues)) {\n return reduce(\n (cachePool, item) => this.write({ path, parameters, poolConfig, itemType, currentTimestamp }, cachePool, item),\n cachePool,\n valueOrValues,\n )\n }\n\n const id = this.getServiceArgsFunction(poolConfig, 'entityIdProvider')(valueOrValues, path, parameters)\n const expiresOn = this.calculateExpiresOnValue(poolConfig)\n\n return compose(\n append(new HttpCacheItem(currentTimestamp, expiresOn, itemType || poolConfig.name, id, valueOrValues)),\n filter((item) => (item.id !== id || item.type !== (itemType || poolConfig.name))),\n )(cachePool)\n }\n}\n","import { clone, compose, filter, is, map, path } from 'ramda'\nimport HttpCacheAbstractService from './HttpCacheAbstractService'\nimport service from '../dictionary/service.json'\n\nconst isArray = is(Array)\n\n/**\n * Cache service that handles both individual items and those loaded for another entity.\n */\nexport default class HttpCacheGroupService extends HttpCacheAbstractService {\n /**\n * Constructor\n *\n * @param {HttpCacheItemService} itemService\n * @param {function} getServiceArgsFunction\n * @param {function} getServiceArgsValue\n * @param {function} iriFactory\n */\n constructor(itemService, getServiceArgsFunction, getServiceArgsValue, iriFactory) {\n super(service.group)\n this.itemService = itemService\n this.getServiceArgsFunction = getServiceArgsFunction\n this.getServiceArgsValue = getServiceArgsValue\n this.iriFactory = iriFactory\n }\n\n /**\n * Reads the cache pool for matches for the current request.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<HttpCacheItem>} cachePool\n * @return {HttpCacheItem|Array<HttpCacheItem>|null}\n */\n read({ path, parameters, poolConfig }, cachePool) {\n if (this.isGroupRequest(path, parameters, poolConfig)) {\n const groupItem = this.itemService.read({ path, parameters, poolConfig, itemType: `${poolConfig.name}group` }, cachePool)\n if (groupItem === null || isArray(groupItem)) {\n return null\n }\n\n const groupIdProvider = this.getServiceArgsFunction(poolConfig, 'groupIdProvider')\n\n return filter((item) => item.type === poolConfig.name && groupIdProvider(item.value) === groupItem.id, cachePool)\n }\n\n const idList = this.idListProvider(parameters, poolConfig)\n\n if (idList) {\n const pathFactory = this.iriFactory(path)\n const idCount = idList.length\n\n const result = compose(\n filter(Boolean),\n map((id) => {\n const hit = this.itemService.read({ path: pathFactory(id), parameters, poolConfig }, cachePool)\n\n if (hit) {\n idList.splice(idList.indexOf(id), 1)\n }\n\n return hit\n }),\n clone,\n )(idList)\n\n if (result.length !== idCount) {\n this.partialResult = true\n }\n\n return result\n }\n\n return this.itemService.read({ path, parameters, poolConfig }, cachePool)\n }\n\n /**\n * Writes to the cache pool.\n *\n * @param {String} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Number} currentTimestamp\n * @param {Array<HttpCacheItem>} cachePool\n * @param {*} valueOrValues\n * @return {Array<HttpCacheItem>}\n */\n write({ path, parameters, poolConfig, currentTimestamp }, cachePool, valueOrValues) {\n let items = cachePool\n\n if (this.isGroupRequest(path, parameters, poolConfig)) {\n const id = this.getServiceArgsFunction(poolConfig, 'requestIdProvider')(path, parameters)\n items = this.itemService.write({ path, parameters, poolConfig, itemType: `${poolConfig.name}group`, currentTimestamp }, cachePool, { id })\n }\n\n return this.itemService.write({ path, parameters, poolConfig, currentTimestamp }, items, valueOrValues)\n }\n\n /**\n * Identify whether the current request is for a group.\n *\n * @param {string} path\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @return {boolean}\n */\n isGroupRequest(path, parameters, poolConfig) {\n return this.getServiceArgsFunction(poolConfig, 'isGroupRequest')(path, parameters)\n }\n\n /**\n * Identify whether the current request is indexing multiple entities with an ID list specified.\n *\n * @param {Object} parameters\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Array|null}\n */\n idListProvider(parameters, poolConfig) {\n const idParameter = path([this.getIdParameterName(poolConfig)], parameters)\n return isArray(idParameter) ? idParameter : null\n }\n\n /**\n * Gets the ID parameter name.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {string}\n */\n getIdParameterName(poolConfig) {\n return this.getServiceArgsValue(poolConfig, 'idParameterName', 'id')\n }\n}\n","import {\n __,\n add,\n compose,\n divide,\n} from 'ramda'\n\n/**\n * Calculates the expires on values based on the current time and the cache pool's TTL value.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {Number}\n */\nconst calculateExpiresOnValue = (poolConfig) => compose(\n Number,\n Math.floor,\n add(poolConfig.timeToLive),\n divide(__, 1000),\n)((new Date()).getTime())\n\nexport default calculateExpiresOnValue\n","import { is, pathOr } from 'ramda'\n\nconst isArray = is(Array)\n\n/**\n * Finds a given function from the pool config serviceArgs.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<string>|string} valuePath\n * @param {*} defaultValue\n * @return {function(string, Array)}\n */\nconst getServiceArgsValue = (poolConfig, valuePath, defaultValue = undefined) => pathOr(\n defaultValue,\n isArray(valuePath) ? valuePath : [valuePath],\n poolConfig.serviceArgs,\n)\n\nexport default getServiceArgsValue\n","import getServiceArgsValue from './getServiceArgsValue'\n\n/**\n * Finds a given function from the pool config serviceArgs.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @param {Array<string>|string} functionPath\n * @return {function(string, Array)}\n */\nconst getServiceArgsFunction = (poolConfig, functionPath) => getServiceArgsValue(poolConfig, functionPath, (value) => value)\n\nexport default getServiceArgsFunction\n","import { when, compose, equals, last, split, dropLast } from 'ramda'\n\n/**\n * Takes an IRI and extracts the id value from it.\n * If the IRI is invalid, it will return null.\n *\n * @type {Function}\n */\nconst extractIdFromIri = compose(\n when(Number.isNaN, () => null),\n Number,\n last,\n split('/'),\n when(compose(equals('/'), last), dropLast(1)),\n)\n\nexport default extractIdFromIri\n","import { __, compose, concat, curry, equals, last, not, when } from 'ramda'\n\n/**\n * Factory for IRI strings.\n *\n * @param {String} basePath\n * @param {String|Number} id\n * @type {function}\n */\nconst iriFactory = curry((basePath, id) => compose(\n concat(__, String(id)),\n when(compose(not, equals('/'), last), concat(__, '/')),\n)(basePath))\n\nexport default iriFactory\n","import HttpCacheItemService from './HttpCacheItemService'\nimport HttpCacheGroupService from './HttpCacheGroupService'\nimport calculateExpiresOnValue from './helper/calculateExpiresOnValue'\nimport getServiceArgsFunction from './helper/getServiceArgsFunction'\nimport getServiceArgsValue from './helper/getServiceArgsValue'\nimport { iriFactory } from '../../iri'\n\nconst itemService = new HttpCacheItemService(calculateExpiresOnValue, getServiceArgsFunction)\nconst groupService = new HttpCacheGroupService(itemService, getServiceArgsFunction, getServiceArgsValue, iriFactory)\n\nexport default [\n itemService,\n groupService,\n]\n","import { reduce } from 'ramda'\n\n/**\n * Adapter factory.\n */\nexport default class HttpCacheAdapterFactory {\n /**\n * Constructor\n *\n * @param {Array<HttpCacheAbstractAdapter>} adapters\n */\n constructor(adapters) {\n this.adapters = adapters\n }\n\n /**\n * Creates an adapter for a given pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {HttpCacheAbstractAdapter}\n */\n create(poolConfig) {\n const adapter = reduce(\n (carry, adapter) => (adapter.supports(poolConfig) ? adapter : carry),\n null,\n this.adapters,\n )\n\n if (adapter === null) {\n throw new Error(`Adapter not found for pool ${poolConfig.name}`)\n }\n\n return adapter\n }\n}\n","import { reduce } from 'ramda'\n\n/**\n * Service factory.\n */\nexport default class HttpCacheServiceFactory {\n /**\n * Constructor\n *\n * @param {Array<HttpCacheAbstractAdapter>} services\n */\n constructor(services) {\n this.services = services\n }\n\n /**\n * Creates a service for a given pool.\n *\n * @param {HttpCachePoolConfig} poolConfig\n * @return {HttpCacheAbstractService}\n */\n create(poolConfig) {\n const service = reduce(\n (carry, service) => (service.supports(poolConfig) ? service : carry),\n null,\n this.services,\n )\n\n if (service === null) {\n throw new Error(`Service not found for pool ${poolConfig.name}`)\n }\n\n return service\n }\n}\n","import adapters from '../adapter'\nimport services from '../service'\nimport HttpCacheAdapterFactory from './HttpCacheAdapterFactory'\nimport HttpCacheServiceFactory from './HttpCacheServiceFactory'\n\nexport const adaptorFactory = new HttpCacheAdapterFactory(adapters)\nexport const serviceFactory = new HttpCacheServiceFactory(services)\n\nexport default {\n adaptorFactory,\n serviceFactory,\n}\n","import {\n compose,\n filter,\n lte,\n path,\n} from 'ramda'\n\n/**\n * Filters a list of cache items and removes any that are\n *\n * @param {Array<HttpCacheItem>} items\n * @param {Number} thresholdTimestamp\n * @return {Array<HttpCacheItem>}\n */\nconst expiredItemFilter = (thresholdTimestamp, items) => filter(\n compose(lte(thresholdTimestamp), path(['expiresOn'])),\n items,\n)\n\nexport default expiredItemFilter\n","import { compose, filter, lte, path } from 'ramda'\n\nconst createdAfterFilter = (thresholdTimestamp, items) => filter(\n compose(lte(thresholdTimestamp), path(['createdOn'])),\n items,\n)\n\nexport default createdAfterFilter\n","import HttpCache from './HttpCache'\nimport { poolConfigProvider } from './config'\nimport { adaptorFactory, serviceFactory } from './factory'\nimport { expiredItemFilter, createdAfterFilter } from './filter'\n\nexport default new HttpCache(\n poolConfigProvider,\n adaptorFactory,\n serviceFactory,\n expiredItemFilter,\n createdAfterFilter,\n)\n","/**\n * Wrapper for the fetch function.\n *\n * This allows fetch to be injected as a dependency without shitting the bed.\n *\n * @param url\n * @param params\n * @return {Promise<Response>}\n */\nconst fetchWrapper = (url, params) => fetch(url, params)\n\nexport default fetchWrapper\n","import env from 'VirtualEnv'\n\nexport const domain = env.AUTH0_DOMAIN || 'ee-dev.eu.auth0.com'\nexport const clientId = env.AUTH0_CLIENT_ID || 'MDU7ykJ0LBclcax8gJ0pfh3r3c11lOlb'\nexport const audience = 'yoda-bridge-gateway'\n","import auth0 from 'auth0-js'\nimport { audience, clientId, domain } from '../../constants/auth'\nimport { siteUrl } from '../../constants'\n\nconst auth0Client = new auth0.WebAuth({\n domain,\n clientID: clientId,\n audience,\n redirectUri: `${siteUrl}`,\n scope: 'openid profile email',\n})\n\nexport default auth0Client\n","/* eslint-disable no-underscore-dangle */\n\n/**\n * Class that handles auth initialisation.\n */\nexport default class AuthInitialiser {\n /**\n * Constructor.\n *\n * @param {Object} auth0Client\n * @param {Function} checkSession\n * @param {Function} loadAuth0User\n * @param {Function} loadUserData\n */\n constructor({ auth0Client, checkSession, loadAuth0User, loadUserData }) {\n this.auth0Client = auth0Client\n this.checkSession = checkSession\n this.loadAuth0User = loadAuth0User\n this.loadUserData = loadUserData\n this.getUserData = null\n this.error = null\n this.session = null\n this.authenticated = null\n this.userError = null\n this.user = null\n this.userDataError = null\n this.userData = null\n }\n\n /**\n * Runs the auth initialiser.\n *\n * @return {Promise}\n */\n async run() {\n const { error, session, authenticated } = await this.checkSession(this.auth0Client)\n\n this.error = error\n this.session = session\n this.authenticated = authenticated\n\n if (this.authenticated) {\n const { userError, user } = await this.loadAuth0User(this.auth0Client, session)\n\n this.userError = userError\n this.user = user\n\n if (!this.userError && this.user) {\n const { userDataError, userData } = await this.loadUserData(this.getUserData, user)\n\n this.userDataError = userDataError\n this.userData = userData\n }\n }\n\n return this\n }\n}\n","/**\n * Check the user has a valid session.\n *\n * @param {Object} auth0Client\n * @return {Promise}\n */\nconst checkSession = async (auth0Client) => {\n const [error, session] = await new Promise((resolve) => {\n auth0Client.checkSession({ responseType: 'token' }, (...args) => resolve(args))\n })\n\n return { error, session, authenticated: Boolean(session && session.accessToken) }\n}\n\nexport default checkSession\n","/**\n * Load the Auth0 user.\n *\n * @return {Promise}\n * @private\n */\nconst loadAuth0User = async (auth0Client, session) => {\n const [userError, user] = await new Promise((resolve) => {\n auth0Client.client.userInfo(session.accessToken, (...args) => resolve(args))\n })\n\n user.accessToken = session.accessToken\n\n return { user, userError }\n}\n\nexport default loadAuth0User\n","import { path } from 'ramda'\n\n/**\n * Load the user data from Yoda.\n *\n * @return {Promise}\n * @private\n */\nconst loadUserData = async (getUserData, user) => {\n let userDataError = null\n\n const response = await getUserData(user).catch((error) => {\n userDataError = error\n })\n\n return { userData: path(['content'], response), userDataError }\n}\n\nexport default loadUserData\n","import auth0Client from './auth0Client'\nimport AuthInitialiser from './AuthInitializer'\nimport checkSession from './AuthInitializer/checkSession'\nimport loadAuth0User from './AuthInitializer/loadAuth0User'\nimport loadUserData from './AuthInitializer/loadUserData'\n\nexport const authInitialiser = new AuthInitialiser({ auth0Client, checkSession, loadAuth0User, loadUserData })\n\nexport default {\n auth0Client,\n authInitialiser,\n}\n","import buildUrl from 'spiceutils/dist/buildUrl'\nimport { URL } from '../../constants/api'\nimport FetchPath from './FetchPath'\nimport { getOffersFactory, getOfferByIdFactory, shareOfferFactory } from './offers'\nimport HttpCache from '../httpCache'\nimport fetchWrapper from './fetchWrapper'\nimport { authInitialiser } from '../auth'\n\nexport const fetchPath = new FetchPath(fetchWrapper, buildUrl, URL, HttpCache, authInitialiser)\nexport const getOffers = getOffersFactory(fetchPath)\nexport const getOfferById = getOfferByIdFactory(fetchPath)\nexport const shareOffer = shareOfferFactory(fetchPath)\nexport const getUserData = ({ accessToken }) => fetchPath.run({\n path: '/user/current',\n method: 'post',\n data: { accessToken },\n retryOnAuthError: false,\n})\nexport const logout = () => fetchPath.run({\n path: '/user/logout',\n method: 'delete',\n retryOnAuthError: false,\n})\n\nauthInitialiser.getUserData = getUserData\n\nexport default {\n getOffers,\n getOfferById,\n shareOffer,\n fetchPath,\n getUserData,\n logout,\n}\n","import { fetchPath } from '.'\n\nexport const recordUsageData = (contactIri, action, data) => (\n fetchPath.run({\n path: '/yoda/api/usage-data',\n method: 'post',\n data: {\n contact: contactIri,\n action,\n data,\n },\n })\n)\n","const yodaFormatter = ({ id: iri, attributes, ...object }) => ({\n ...object,\n ...attributes,\n iri,\n})\n\nexport default yodaFormatter\n","import { fetchPath } from '.'\nimport yodaFormatter from './yodaFormatter'\n\nconst createAccountRequest = (type, { id: contactId, ...requestData }) => (\n fetchPath.run({\n path: '/yoda/api/account-requests',\n method: 'POST',\n data: {\n contactId,\n type,\n requestData,\n },\n }).then(yodaFormatter)\n)\n\nexport const updateAccount = (data) => (\n createAccountRequest('update', data)\n)\n\nexport const createAccount = (data) => (\n createAccountRequest('create', data)\n)\n","import { createAccount, updateAccount } from '../utils/api/account'\n\nexport default {\n namespaced: true,\n actions: {\n async create({ dispatch }, data) {\n await createAccount(data).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: e.json || e.message,\n }, { root: true })\n\n throw e\n })\n\n await new Promise((s) => setTimeout(s, 5000))\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'An account request has been created.',\n }, { root: true })\n },\n async update({ dispatch }, data) {\n await updateAccount(data).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'There was an error creating your account request.',\n }, { root: true })\n\n throw e\n })\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Your changes have been passed to our team. Once reviewed your details will be updated accordingly.',\n }, { root: true })\n },\n },\n}\n","import { authInitialiser } from '../../utils/auth'\nimport auth0Client from '../../utils/auth/auth0Client'\nimport { logout } from '../../utils/api'\nimport LocalStorage from '../../utils/LocalStorage'\nimport { siteUrl } from '../../constants'\nimport { clientId } from '../../constants/auth'\n\nconst extractError = (error) => {\n const defaultErrorMessage = 'An unknown error occurred.'\n if (error) {\n return error.error_description ||\n error.description ||\n error.error ||\n error.code ||\n defaultErrorMessage\n }\n return null\n}\n\nexport default {\n /**\n * Initialise the authentication on page load.\n *\n * @param {Function} commit\n * @param {Function} dispatch\n * @return {Promise}\n */\n async initialize({ commit, dispatch }) {\n let initialisationResolver\n\n commit('setLoading', true)\n commit('setInitialisationPromise', new Promise((resolve) => {\n initialisationResolver = resolve\n }))\n\n const { error, session, userError, user, userDataError, userData } = await authInitialiser.run()\n const authenticated = Boolean(session && session.accessToken)\n\n if (error && error.code !== 'login_required') {\n commit('setError', extractError(error))\n }\n\n commit('setAuthenticated', authenticated)\n\n if (authenticated) {\n if (userError || !user) {\n commit('setError', extractError(userError))\n commit('setAuthenticated', false)\n } else if (userDataError || !userData) {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Error fetching user details',\n }, { root: true })\n throw userDataError\n } else {\n commit('setUser', { ...user, ...userData })\n commit('setError', undefined)\n }\n }\n\n if (/^#access_token=.+/.test(window.location.hash)) {\n window.location.hash = ''\n }\n\n initialisationResolver()\n\n commit('setLoading', false)\n commit('setInitialisationPromise', null)\n },\n\n async login({ commit }, { username, email, password, returnTo }) {\n commit('setError', '')\n\n const response = await new Promise((s) => auth0Client.login({\n username,\n email,\n password,\n realm: 'Username-Password-Authentication',\n responseType: 'token',\n redirectUri: returnTo || `${siteUrl}`,\n }, s))\n\n if (response) {\n commit('setError', extractError(response))\n }\n },\n\n async logout({ dispatch }, { returnTo } = {}) {\n await logout().catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Failed to log out. Please try again',\n }, { root: true })\n\n throw e\n })\n\n LocalStorage.clear()\n\n auth0Client.logout({\n returnTo: returnTo || `${siteUrl}/logout-confirmation`,\n clientID: clientId,\n })\n },\n\n resetPassword({ state }, { email: _email } = {}) {\n const email = _email || state.user.email\n\n return new Promise((resolve, reject) => (\n auth0Client.changePassword({\n connection: 'Username-Password-Authentication',\n email,\n }, (error, response) => {\n if (error) {\n reject(error)\n } else {\n resolve(response)\n }\n })\n ))\n },\n\n /**\n * Verify that the current user is authenticated. If not, a message will be displayed and an exception thrown.\n *\n * @param {Object} state\n * @param {function} dispatch\n */\n verifyAuthentication({ state, dispatch }) {\n if (!state.isAuthenticated) {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'You must be logged in to add items to your basket.',\n }, { root: true })\n\n throw new Error('Access denied')\n }\n\n return true\n },\n\n /**\n * Set a value as the error.\n *\n * @param {Function} commit\n * @param {String|null} error\n */\n setError({ commit }, { error }) {\n commit('setError', error)\n },\n}\n","import Awaitable from 'spiceutils/dist/Awaitable'\n\nexport default {\n setUser(state, user) {\n state.user = user\n },\n setInitialisationPromise(state, promise) {\n state.initialisationPromise = promise\n },\n setAuthenticated(state, authenticated) {\n state.isAuthenticated = authenticated\n },\n setLoading(state, loading) {\n if (loading) {\n const awaitable = new Awaitable()\n if (state.loading) {\n state.loading.resolve(awaitable)\n }\n\n state.loading = new Awaitable()\n } else {\n state.loading.resolve(true)\n state.loading = false\n }\n },\n setError(state, error) {\n state.error = error\n },\n}\n","export default () => ({\n loading: false,\n initialisationPromise: null,\n isAuthenticated: false,\n user: undefined,\n error: undefined,\n})\n","import actions from './actions'\nimport mutations from './mutations'\nimport state from './state'\n\nexport default {\n namespaced: true,\n actions,\n mutations,\n state,\n}\n","import { fetchPath } from '..'\nimport yodaFormatter from '../yodaFormatter'\n\nexport const createBasket = ({ contactIri, currencyCode }) => fetchPath.run({\n path: '/yoda/api/baskets',\n method: 'POST',\n data: {\n contact: contactIri,\n currencyCode,\n },\n jsonPath: ['content', 'data'],\n}).then((data) => ({\n ...yodaFormatter(data),\n basketLines: [],\n}))\n\nexport const loadContactBasket = async (contactId, { loadLines = true } = {}) => {\n const basket = await fetchPath.run({\n path: `/yoda/api/contacts/${contactId}/current-basket`,\n jsonPath: ['content', 'data'],\n }).then(yodaFormatter)\n\n if (loadLines) {\n const basketLines = await fetchPath.run({\n path: '/yoda/api/basket-lines',\n parameters: {\n basket: basket.id,\n itemsPerPage: 999,\n },\n jsonPath: ['content', 'data'],\n }).then((basketLines) => basketLines.map(yodaFormatter))\n\n return {\n ...basket,\n basketLines,\n }\n }\n return basket\n}\n\nexport const submitBasket = async ({ id }, offerIds) => fetchPath.run({\n path: `/yoda/api/baskets/${id}/submit`,\n parameters: { offers: offerIds },\n method: 'PUT',\n})\n\nexport const createBasketLine = (data) => fetchPath.run({\n path: '/yoda/api/basket-lines',\n method: 'POST',\n data,\n jsonPath: ['content', 'data'],\n}).then(yodaFormatter)\n\nexport const deleteBasketLine = ({ id }) => (\n fetchPath.run({\n path: `/yoda/api/basket-lines/${id}`,\n method: 'delete',\n })\n)\n\nexport const unitPriceNegotiationFormatter = (negotiation) => {\n const data = yodaFormatter(negotiation)\n\n return {\n ...data,\n created: new Date(data.created),\n unitPrice: parseInt(data.unitPrice, 10),\n }\n}\n\nexport const createUnitPriceNegotiation = (priceRequestData) => (\n fetchPath.run({\n path: '/yoda/api/unit-price-negotiations',\n method: 'post',\n data: priceRequestData,\n jsonPath: ['content', 'data'],\n }).then(unitPriceNegotiationFormatter)\n)\n\nexport const replaceUnitPriceNegotiation = (priceRequestIdentifier) => {\n let priceRequestId = priceRequestIdentifier\n\n if (typeof priceRequestIdentifier === 'string') {\n const [, id] = /(?:\\/api\\/unit-price-negotiations\\/)?(\\d+)/.exec(priceRequestIdentifier)\n priceRequestId = parseInt(id, 10)\n }\n\n return fetchPath.run({\n path: `/yoda/api/unit-price-negotiations/${priceRequestId}/replace`,\n method: 'put',\n jsonPath: ['content', 'data'],\n }).then(unitPriceNegotiationFormatter)\n}\n\nexport default {\n createBasket,\n loadContactBasket,\n submitBasket,\n createBasketLine,\n createUnitPriceNegotiation,\n replaceUnitPriceNegotiation,\n unitPriceNegotiationFormatter,\n deleteBasketLine,\n}\n","import { assoc, compose, filter, keys, map } from 'ramda'\nimport { extractIdFromIri } from '@/utils/iri'\nimport yodaFormatter from '../yodaFormatter'\n\n/**\n * Load additional data for the basket to function.\n */\nconst loadAdditionalBasketData = ({ fetchPath, offerLineIriUnitQuantityMapFactory }) => async (basket) => {\n let offerData = await Promise.all(basket.offers.map((offer) => (\n fetchPath.run({\n path: `/yoda/api/offers/${offer.id}`,\n jsonPath: ['content', 'data'],\n }).then(({ id: iri, attributes, ...offerData }) => ({\n ...offerData,\n ...attributes,\n iri,\n totals: offer.totals,\n }))\n )))\n\n const offerLineIriUnitQuantityMap = offerLineIriUnitQuantityMapFactory(basket.basketLines)\n\n /*\n * const ids = compose(extractIdFromIri, keys)(offerLineIriUnitQuantityMap)\n * const idFilters = compose(join('&'), idQueryParametersFactory, keys)(offerLineIriUnitQuantityMap)\n */\n const offerLines = await fetchPath.run({\n path: '/yoda/api/offer-lines',\n parameters: { id: compose(map(extractIdFromIri), keys)(offerLineIriUnitQuantityMap) },\n jsonPath: ['content', 'data'],\n }).then(\n compose(\n map(\n compose(\n (offerLine) => assoc('unitQuantity', offerLineIriUnitQuantityMap[offerLine.iri], offerLine),\n yodaFormatter,\n ),\n ),\n filter(({ id }) => Object.prototype.hasOwnProperty.call(offerLineIriUnitQuantityMap, id)),\n ),\n ).catch(() => ([]))\n\n offerData = offerData.map((offer) => ({\n ...offer,\n offerLines: offerLines.filter(({ offer: offerIRI }) => offerIRI === offer.iri),\n }))\n\n return {\n ...basket,\n offers: offerData,\n additionalDataLoaded: true,\n }\n}\n\nexport default loadAdditionalBasketData\n","import { assoc, reduce } from 'ramda'\n\n/**\n * @type {Function}\n */\nconst offerLineIriUnitQuantityMapFactory = reduce(\n (carry, { offerLine, unitQuantity }) => assoc(offerLine, unitQuantity, carry),\n {},\n)\n\nexport default offerLineIriUnitQuantityMapFactory\n","import { fetchPath } from '..'\nimport {\n createBasket,\n createBasketLine,\n createUnitPriceNegotiation,\n deleteBasketLine,\n loadContactBasket,\n replaceUnitPriceNegotiation,\n submitBasket,\n unitPriceNegotiationFormatter,\n} from './functions'\nimport loadAdditionalBasketDataFactory from './loadAdditionalBasketData'\nimport offerLineIriUnitQuantityMapFactory from './offerLineIriUnitQuantityMapFactory'\n\n/**\n * @type {function(*): Promise<*>}\n */\nexport const loadAdditionalBasketData = loadAdditionalBasketDataFactory({ fetchPath, offerLineIriUnitQuantityMapFactory })\nexport {\n createBasket,\n loadContactBasket,\n submitBasket,\n createBasketLine,\n createUnitPriceNegotiation,\n replaceUnitPriceNegotiation,\n unitPriceNegotiationFormatter,\n deleteBasketLine,\n}\n\nexport default {\n createBasket,\n loadContactBasket,\n loadAdditionalBasketData,\n submitBasket,\n createBasketLine,\n createUnitPriceNegotiation,\n replaceUnitPriceNegotiation,\n unitPriceNegotiationFormatter,\n deleteBasketLine,\n}\n","import { add, assoc, assocPath, compose, findIndex, map, path, pathOr, propEq, reduce } from 'ramda'\nimport Awaitable from 'spiceutils/dist/Awaitable'\nimport { createBasket, submitBasket } from '../../utils/api/basket'\n\nfunction markOfferLineAsBusyHandler({ commit, offerLineId }) {\n let busyLineResolver\n\n const promise = new Promise((resolve) => {\n busyLineResolver = resolve\n })\n promise.then(() => commit('UNMARK_OFFER_LINE_AS_BUSY', { offerLineId }))\n commit('MARK_OFFER_LINE_AS_BUSY', { offerLineId, promise })\n\n return busyLineResolver\n}\n\n/**\n * @param {FetchPath} fetchPath\n * @param {function} yodaFormatter\n * @param {function} loadContactBasket\n * @param {function} loadAdditionalBasketData\n * @param {function} createBasketLine\n * @return {Object}\n */\nexport default ({\n fetchPath,\n yodaFormatter,\n loadContactBasket,\n loadAdditionalBasketData,\n createBasketLine,\n}) => ({\n async loadCurrentBasket({ commit, dispatch, state, rootState }) {\n if (state.loading) return state.loading\n\n const {\n isAuthenticated,\n user,\n } = rootState.auth\n\n if (!isAuthenticated || !user) {\n commit('navigate', { path: '/login' }, { root: true })\n\n dispatch('notifications/flash/create', {\n content: 'You must be logged in to view your basket',\n type: 'error',\n }, { root: true })\n\n return false\n }\n\n const awaitable = new Awaitable()\n commit('setLoading', awaitable)\n\n const {\n attributes: {\n id: contactId,\n },\n } = user.data\n\n const currentBasket = await loadContactBasket(contactId).catch(() => null)\n\n commit('setCurrentBasket', currentBasket)\n awaitable.resolve(currentBasket)\n commit('setLoading', false)\n\n return currentBasket\n },\n\n async loadAdditionalBasketData({ commit, state }) {\n const awaitable = new Awaitable()\n commit('setLoadingAdditionalData', awaitable)\n\n const { currentBasket } = state\n\n const basket = await loadAdditionalBasketData(currentBasket)\n\n commit('setCurrentBasket', basket)\n awaitable.resolve(basket)\n commit('setLoadingAdditionalData', false)\n\n return basket\n },\n\n /**\n * Creates a new basket for the user if one does not already exist.\n *\n * @param {function} dispatch\n * @param {Object} state\n * @param {string} currencyCode\n * @return {Promise}\n */\n async xhrCreateBasketIfNull({ dispatch, state }, { currencyCode }) {\n let { currentBasket } = state\n\n if (!currentBasket) {\n currentBasket = await dispatch('createBasket', { currencyCode })\n }\n\n return currentBasket\n },\n\n async createBasket({ commit, dispatch, rootState }, { currencyCode }) {\n const awaitable = new Awaitable()\n commit('setLoading', awaitable)\n\n const { id: contactIri } = rootState.auth.user.data\n\n const currentBasket = await createBasket({\n contactIri,\n currencyCode,\n }).catch((e) => {\n awaitable.reject(e)\n commit('setLoading', false)\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Encountered an error whilst creating your basket. Please try again.',\n }, { root: true })\n\n throw e\n })\n\n commit('setCurrentBasket', currentBasket)\n awaitable.resolve(currentBasket)\n commit('setLoading', false)\n\n return currentBasket\n },\n\n /**\n * Reload the basket totals only.\n *\n * @param {Function} commit\n * @param {Function} dispatch\n * @param {Object} state\n * @param {Object} rootState\n * @returns {Promise<void>}\n */\n async xhrReloadBasketTotals({ commit, dispatch, state, rootState }) {\n if (state.basketReloadPending) {\n commit('SET_BASKET_RELOAD_QUEUED', true)\n return\n }\n\n commit('SET_BASKET_RELOAD_PENDING', true)\n\n const contactId = path(['auth', 'user', 'data', 'attributes', 'id'], rootState)\n const basket = await fetchPath.run(\n {\n path: `/yoda/api/contacts/${contactId}/current-basket`,\n jsonPath: ['content', 'data'],\n },\n ).then(yodaFormatter)\n\n commit('setTotalsOnCurrentBasket', basket.totals)\n commit('SET_BASKET_RELOAD_PENDING', false)\n\n if (state.basketReloadQueued) {\n commit('SET_BASKET_RELOAD_QUEUED', false)\n dispatch('xhrReloadBasketTotals')\n }\n },\n\n async submitCurrentBasket({ commit, dispatch, state, rootState }, { offerIds }) {\n if (!rootState.auth.isAuthenticated) {\n commit('navigate', { path: '/login' }, { root: true })\n\n dispatch('notifications/flash/create', {\n content: 'You must be logged in to submit your basket.',\n type: 'error',\n }, { root: true })\n\n return false\n }\n\n if (!state.currentBasket) {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'You do not have a basket pending submission.',\n }, { root: true })\n\n return false\n }\n\n const currentBasketId = String(state.currentBasket.id)\n let submissionId = null\n\n try {\n const response = await submitBasket(state.currentBasket, offerIds)\n submissionId = response.content.submission.id\n } catch (e) {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Encountered an error whilst submitting your basket. Please try again.',\n }, { root: true })\n\n throw e\n }\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Basket submission successful',\n }, { root: true })\n\n commit('setCurrentBasket', null)\n\n commit('navigate', { actionType: 'push', path: '/basket/submitted', query: { basket: currentBasketId, submission: submissionId } }, { root: true })\n return true\n },\n\n /**\n * Adds a basket line to the basket.\n *\n * @param {function} dispatch\n * @param {function} commit\n * @param {Object} state\n * @param {Object} offer\n * @param {Object} offerLine\n * @return {Promise}\n */\n async xhrAddBasketLine({ dispatch, commit, state }, { offer, offerLine }) {\n await dispatch('auth/verifyAuthentication', null, { root: true }).catch((e) => {\n throw e\n })\n\n const busyLineResolver = markOfferLineAsBusyHandler({ commit, offerLineId: offerLine.id })\n\n if (state.loading) {\n await state.loading\n }\n\n const currentBasket = await dispatch('xhrCreateBasketIfNull', { currencyCode: offer.currencyCode })\n if (currentBasket.basketLines.find((basketLine) => basketLine.offerLine === offerLine.iri)) {\n dispatch(\n 'notifications/flash/create',\n { content: 'This product is already in your basket' },\n { root: true },\n )\n\n busyLineResolver()\n return null\n }\n\n const basketLine = await createBasketLine({\n basket: currentBasket.iri,\n offerLine: offerLine.iri,\n unitQuantity: offerLine.unitQuantity || 0,\n }).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: `Encountered an error adding ${offerLine.name} to your basket. Please try again.`,\n }, { root: true })\n throw e\n })\n\n dispatch('notifications/flash/create', { type: 'success', content: 'Line added to basket' }, { root: true })\n await dispatch('basketLinePostCreate', { basketLines: [basketLine], offer, offerLines: [offerLine] })\n\n busyLineResolver()\n\n return basketLine\n },\n\n /**\n * Dispatch request to bulk add lines to the basket.\n *\n * @param {function} commit\n * @param {function} dispatch\n * @param {Object} state\n * @param {Object} offer\n * @param {Array} offerLines\n * @return {Promise}\n */\n async xhrBulkAddBasketLines({ commit, dispatch, state }, { offer, offerLines }) {\n await dispatch('auth/verifyAuthentication', null, { root: true }).catch((e) => {\n throw e\n })\n\n if (state.loading) {\n await state.loading\n }\n\n const busyLineResolvers = map((offerLine) => markOfferLineAsBusyHandler({ commit, offerLineId: offerLine.id }), offerLines)\n const currentBasket = await dispatch('xhrCreateBasketIfNull', { currencyCode: offer.currencyCode })\n const basketLines = await fetchPath.run(\n {\n method: 'POST',\n path: '/yoda/api/basket-lines/bulk',\n data: map((offerLine) => ({\n basket: currentBasket.iri,\n offerLine: offerLine.iri,\n unitQuantity: offerLine.unitQuantity || 0,\n }))(offerLines),\n jsonPath: ['content', 'data'],\n headers: { 'Preload-Offer': offer.id },\n },\n ).then(map(yodaFormatter)).catch((e) => {\n map((busyLineResolver) => busyLineResolver(), busyLineResolvers)\n dispatch(\n 'notifications/flash/create',\n {\n type: 'error',\n content: 'Encountered an error adding products to your basket. Please try again',\n },\n { root: true },\n )\n throw e\n })\n\n await dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Products successfully added to the basket.',\n }, { root: true })\n\n map((busyLineResolver) => busyLineResolver(), busyLineResolvers)\n\n await dispatch('basketLinePostCreate', { basketLines, offer, offerLines })\n\n return basketLines\n },\n\n /**\n * Action to be called after one or more basket lines have been added.\n *\n * @param {function} dispatch\n * @param {function} commit\n * @param {Object} rootState\n * @param {Array} basketLines\n * @param {Object} offer\n * @param {Array} offerLines\n *\n * @return {Promise}\n */\n async basketLinePostCreate({ dispatch, commit }, { basketLines, offer, offerLines }) {\n const sumUnitQuantity = compose(reduce(add, 0), map(pathOr(0, ['unitQuantity'])))\n\n await commit('addLinesToCurrentBasket', basketLines)\n await commit('addOfferLinesToCurrentBasket', { offer, offerLines })\n\n if (sumUnitQuantity(basketLines) > 0) {\n dispatch('xhrReloadBasketTotals')\n }\n },\n\n /**\n * Makes request to update a basket line on the server.\n *\n * @param {Function} dispatch\n * @param {Function} commit\n * @param {Object} basketLine\n * @param {Object} offerLine\n * @returns {Promise}\n */\n async xhrUpdateBasketLine({ dispatch, commit }, { basketLine, offerLine }) {\n await dispatch('auth/verifyAuthentication', null, { root: true }).catch((e) => {\n throw e\n })\n\n const busyLineResolver = markOfferLineAsBusyHandler({ commit, offerLineId: offerLine.id })\n\n const updatedBasketLine = await fetchPath.run({\n path: `/yoda/api/basket-lines/${basketLine.id}`,\n method: 'put',\n data: basketLine,\n jsonPath: ['content', 'data'],\n }).then(yodaFormatter)\n await commit('MERGE_LINE_INTO_BASKET', updatedBasketLine)\n\n busyLineResolver()\n\n await dispatch('xhrReloadBasketTotals')\n },\n\n /**\n * Issue a delete basket line request and remove the line from the current basket.\n *\n * @param {Function} commit\n * @param {Function} dispatch\n * @param {Object} basketLine\n * @param {Object} offerLine\n * @returns {Promise}\n */\n async xhrDeleteBasketLine({ commit, dispatch }, { basketLine, offerLine }) {\n await dispatch('auth/verifyAuthentication', null, { root: true })\n\n const busyLineResolver = markOfferLineAsBusyHandler({ commit, offerLineId: offerLine.id })\n\n await fetchPath.run({\n path: `/yoda/api/basket-lines/${basketLine.id}`,\n method: 'delete',\n })\n await commit('REMOVE_LINES_FROM_BASKET', [basketLine])\n dispatch('notifications/flash/create', { content: 'Line removed from basket', type: 'success' }, { root: true })\n\n busyLineResolver()\n\n await dispatch('xhrReloadBasketTotals')\n },\n\n /**\n * Issues request to bulk remove basket lines.\n *\n * @param {function} dispatch\n * @param {function} commit\n * @param {Array} basketLines\n * @return {Promise<void>}\n */\n async xhrBulkDeleteBasketLines({ dispatch, commit }, basketLines) {\n await fetchPath.run(\n {\n method: 'DELETE',\n path: '/yoda/api/basket-lines/bulk',\n parameters: { ids: map(path(['id']), basketLines) },\n },\n ).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Encountered an error removing products from your basket. Please try again.',\n }, { root: true })\n throw e\n })\n\n await commit('REMOVE_LINES_FROM_BASKET', basketLines)\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Products successfully removed from basket.',\n }, { root: true })\n\n dispatch('xhrReloadBasketTotals')\n },\n\n /**\n * Updates the value of a basket's property.\n *\n * @param {Object} state\n * @param {Function} commit\n * @param {String} property\n * @param {*} value\n */\n updateBasketProperty({ state, commit }, { property, value }) {\n if (state.currentBasket !== null) {\n commit('setCurrentBasket', assoc(property, value, state.currentBasket))\n }\n },\n\n /**\n * Updates the value of a basket line's property.\n *\n * @param {Object} state\n * @param {Function} dispatch\n * @param {Object} basketLine\n * @param {String} property\n * @param {*} value\n */\n updateBasketLineProperty({ state, dispatch }, { basketLine, property, value }) {\n const basketLines = pathOr([], ['currentBasket', 'basketLines'], state)\n const index = findIndex(propEq('id', Number(basketLine.id)), basketLines)\n\n if (index !== -1) {\n dispatch('updateBasketProperty', {\n property: 'basketLines',\n value: assocPath([index, property], value, basketLines),\n })\n }\n },\n})\n","import { curry, reduce, append } from 'ramda'\n\n/**\n * Merges two arrays together.\n *\n * @type {function}\n * @param {Array} a\n * @param {Array} b\n */\nconst mergeArrays = curry((a, b) => reduce((carry, item) => append(item, carry), b, a))\n\nexport default mergeArrays\n","import {\n __,\n append,\n assoc,\n compose,\n curry,\n eqBy,\n equals,\n filter,\n find,\n isEmpty,\n isNil,\n map,\n not,\n omit,\n path,\n pathOr,\n propEq,\n reduce,\n uniqWith,\n when,\n} from 'ramda'\nimport { mergeArrays } from '../../utils/functions'\n\nconst appendBasketLines = (state, lines) => compose(\n assoc('basketLines', __, state.currentBasket),\n reduce(\n (list, item) => append(item, list),\n pathOr([], ['currentBasket', 'basketLines'], state),\n ),\n)(lines)\n\nconst isNotNil = compose(not, isNil)\n\nexport default {\n setLoading(state, loading) {\n state.loading = loading\n },\n\n setLoadingAdditionalData(state, loading) {\n state.loadingAdditionalData = loading\n },\n\n setCurrentBasket(state, currentBasket) {\n state.currentBasket = currentBasket\n },\n\n setTotalsOnCurrentBasket(state, totals) {\n if (!state.currentBasket) {\n return\n }\n state.currentBasket = assoc('totals', totals, state.currentBasket)\n },\n\n /**\n * Adds new basket lines to the current basket.\n *\n * @param {Object} state\n * @param {Array} basketLines\n */\n addLinesToCurrentBasket(state, basketLines) {\n if (!state.currentBasket) {\n throw new Error('Current basket not found')\n }\n\n state.currentBasket = appendBasketLines(state, basketLines)\n },\n\n /**\n * Updates an existing basket line in the state\n *\n * @param {Object} state\n * @param {Object} basketLine\n */\n MERGE_LINE_INTO_BASKET(state, basketLine) {\n let lineFound = false\n\n state.currentBasket = compose(\n assoc('basketLines', __, state.currentBasket),\n map(__, pathOr([], ['currentBasket', 'basketLines'], state)),\n curry((id, existingLine) => {\n if (existingLine.id === id) {\n lineFound = true\n return basketLine\n }\n return existingLine\n }),\n path(['id']),\n )(basketLine)\n\n if (!lineFound) {\n state.currentBasket = appendBasketLines(state, [basketLine])\n }\n },\n\n /**\n * Removes a line from the state's current basket.\n *\n * @param {Object} state\n * @param {[Object]} basketLines\n */\n REMOVE_LINES_FROM_BASKET(state, basketLines) {\n const offerLineIris = map(path(['offerLine']), basketLines)\n let basket = state.currentBasket\n\n if (!basket) {\n return\n }\n\n // Remove basket lines from the basket.\n basket = compose(\n compose(\n assoc('basketLines', __, state.currentBasket),\n filter(compose(not, find(__, basketLines), propEq('id'), path(['id']))),\n ),\n pathOr([], ['basketLines']),\n )(basket)\n\n // Remove offer lines from the basket, including the offer itself if the lines array is empty.\n basket = compose(\n assoc('offers', __, basket),\n filter(isNotNil),\n map((offer) => compose(\n when(compose(isEmpty, path(['offerLines'])), () => null),\n assoc('offerLines', __, offer),\n filter(compose(not, find(__, offerLineIris), equals, path(['iri']))),\n pathOr([], ['offerLines']),\n )(offer)),\n pathOr([], ['offers']),\n )(basket)\n\n state.currentBasket = basket\n },\n\n /**\n * Adds offer lines to the current basket.\n *\n * Running this in the add basket lines routines improves the speed that the system responds to user inputs.\n *\n * @param state\n * @param offer\n * @param offerLines\n */\n addOfferLinesToCurrentBasket(state, { offer, offerLines }) {\n const { currentBasket } = state\n\n if (!currentBasket) {\n return\n }\n\n const iriMatches = propEq('iri', offer.iri)\n\n state.currentBasket = compose(\n assoc('offers', __, state.currentBasket),\n when(\n compose(not, find(iriMatches)),\n append(assoc('offerLines', offerLines, offer)),\n ),\n map(\n when(\n iriMatches,\n (basketOffer) => assoc(\n 'offerLines',\n compose(\n uniqWith(eqBy(path(['iri']))),\n mergeArrays(offerLines),\n pathOr([], ['offerLines']),\n )(basketOffer),\n basketOffer,\n ),\n ),\n ),\n pathOr([], ['currentBasket', 'offers']),\n )(state)\n },\n\n /**\n * Marks a offer line as currently busy.\n *\n * This requires a promise that is the cause for the offer line being busy be included.\n *\n * @param {Object} state\n * @param {Number} offerLineId\n * @param {Promise} promise\n */\n MARK_OFFER_LINE_AS_BUSY(state, { offerLineId, promise }) {\n state.busyOfferLines = assoc(offerLineId, promise, state.busyOfferLines)\n },\n\n /**\n * Marks a offer line as no longer busy. Manages lines by offer line ID.\n *\n * @param {Object} state\n * @param {Number} offerLineId\n */\n UNMARK_OFFER_LINE_AS_BUSY(state, { offerLineId }) {\n state.busyOfferLines = omit([offerLineId], state.busyOfferLines)\n },\n\n /**\n * Sets the basketReloadPending value.\n *\n * @param {Object} state\n * @param {Boolean} basketReloadPending\n */\n SET_BASKET_RELOAD_PENDING(state, basketReloadPending) {\n state.basketReloadPending = basketReloadPending\n },\n\n /**\n * Sets the basketReloadQueued value.\n *\n * @param {Object} state\n * @param {Boolean} basketReloadQueued\n */\n SET_BASKET_RELOAD_QUEUED(state, basketReloadQueued) {\n state.basketReloadQueued = basketReloadQueued\n },\n}\n","export default () => ({\n currentBasket: null,\n loadingAdditionalData: null,\n loading: null,\n busyOfferLines: {},\n basketReloadPending: false,\n basketReloadQueued: false,\n})\n","import { compose, filter, isEmpty, keys, length, map, not, path, pathOr, propEq } from 'ramda'\n\nexport default {\n /**\n * Returns an array of the offer line IDs that are currently marked as busy.\n *\n * @param {Object} state\n * @return {Array}\n */\n busyOfferLineIds: compose(map(Number), keys, path(['busyOfferLineIds'])),\n\n /**\n * Does the user have a current, populated basket?\n *\n * @param {Object} state\n * @return {boolean}\n */\n hasPopulatedBasket: compose(not, isEmpty, pathOr([], ['currentBasket', 'offers'])),\n\n /**\n * Gets the lines from the current basket.\n *\n * @param {Object} state\n * @return {Array}\n */\n currentBasketLines: pathOr([], ['currentBasket', 'basketLines']),\n\n /**\n * Gets the lines from the current basket.\n *\n * @param {Object} state\n * @return {Array}\n */\n currentBasketCurrencyCode: pathOr(null, ['currentBasket', 'currencyCode']),\n\n /**\n * Identifies whether the basket has any lines with a quantity of 0.\n *\n * @param {Object} state\n * @return {Boolean}\n */\n basketHasZeroQuantityLine: compose(\n Boolean,\n length,\n filter(propEq('unitQuantity', 0)),\n pathOr([], ['currentBasket', 'basketLines']),\n ),\n}\n","import actionsFactory from './actions'\nimport mutations from './mutations'\nimport state from './state'\nimport getters from './getters'\nimport { fetchPath } from '../../utils/api'\nimport { loadContactBasket, loadAdditionalBasketData, createBasketLine } from '../../utils/api/basket'\nimport yodaFormatter from '../../utils/api/yodaFormatter'\n\nconst actions = actionsFactory({\n fetchPath,\n loadContactBasket,\n loadAdditionalBasketData,\n yodaFormatter,\n createBasketLine,\n})\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters,\n}\n","const createId = () => (\n Math.random().toString().slice(2)\n)\n\nexport const createUniqueId = (extantIds) => {\n let id\n\n do {\n id = createId()\n } while (extantIds.includes(id))\n\n return id\n}\n\nexport default createId\n","import Awaitable from 'spiceutils/dist/Awaitable'\n/**\n * Confirmation extends the Awaitable class to allow it to store data in\n * adddition to its normal functionality\n */\nclass Confirmation extends Awaitable {\n /**\n * Create a confirmation\n * @param {Object} options - object containing arbitrary key-value pairs to be recorded on this object\n */\n constructor(options) {\n super()\n\n Object.entries(options).forEach(([key, value]) => {\n this[key] = value\n })\n }\n}\n\nexport default Confirmation\n","import { createUniqueId } from '@/utils/createId'\nimport Confirmation from './Confirmation'\n\nexport default {\n namespaced: true,\n state: () => ({\n confirmations: [],\n }),\n mutations: {\n addConfirmation(state, confirmation) {\n state.confirmations.push(confirmation)\n },\n removeConfirmation(state, { id }) {\n const index = state.confirmations.findIndex(({ id: cid }) => cid === id)\n if (index >= 0) {\n state.confirmations.splice(index, 1)\n }\n },\n },\n actions: {\n /**\n * Create a confirmation to be displayed\n * @param {Object} store - Vuex store that is auto-injected when this action is invoked\n * @param {Object} config - Action config\n * @param {String} [config.title] - Title of confirmation modal. Defaults to 'Confirm?'\n * @param {String} config.text - Body of confirmation modal\n * @param {Array<Object>} [config.options] - Configuration for options to present to the user\n * Defaults to [{value: false}, {value: true}]\n * @param {any} config.options[].value - Value resolved by the confirmation promise when this button is pressed\n * true and false have special connotations as accept/cancel\n * @param {String} config.options[].text - Text shown as button content\n * Defaults based on value: true -> 'Confirm', false -> 'Cancel', any -> 'Continue'\n * @param {any} config.options[].buttonType - Button type passed to Button component\n * Defaults based on value: true -> 'primary', false -> 'primary-outline', any -> null\n */\n create({ state, commit, dispatch }, { title, text, options }) {\n const id = createUniqueId(state.confirmations.map(({ id }) => id))\n\n const confirmation = new Confirmation({\n title,\n text,\n options,\n id,\n })\n\n confirmation.finally((success) => {\n dispatch('remove', { id })\n return success\n })\n\n commit('addConfirmation', confirmation)\n return confirmation\n },\n /**\n * Remove a confirmation\n * @param {Object} store - Vuex store that is auto-injected when this action is invoked\n * @param {Object} confirmation - Object containing confirmation ID to be removed\n * Assumed to be the confirmation itself but this need not be the case\n * @param {any} confirmation.id - ID of the confirmation to be removed\n */\n remove({ state, commit }, { id }) {\n const confirmation = state.confirmations.find(({ id: cid }) => cid === id)\n if (confirmation) {\n commit('removeConfirmation', confirmation)\n }\n },\n },\n}\n","import { omit } from 'ramda'\n\n/**\n * Comments vuex module actions factory.\n *\n * @param {FetchPath} fetchPath\n * @return {Object}\n */\nexport default ({ fetchPath }) => ({\n /**\n * saves a comment for a basket.\n *\n * @param {Function} dispatch\n * @param {Object} basket\n * @param {String} comment\n * @return {Promise}\n */\n xhrSaveCommentForBasket({ dispatch }, { basket, comment }) {\n return dispatch('_xhrSaveComment', { body: comment, basket: basket.iri, id: basket.comment })\n },\n\n /**\n * saves a comment for a basket.\n *\n * @param {Function} dispatch\n * @param {Object} basketLine\n * @param {String} comment\n * @return {Promise}\n */\n xhrSaveCommentForBasketLine({ dispatch }, { basketLine, comment }) {\n return dispatch('_xhrSaveComment', { body: comment, basketLine: basketLine.iri, id: basketLine.comment })\n },\n\n /**\n * Core, internal save comment function.\n *\n * Please call either saveCommentForBasket or saveCommentForBasketLine methods instead.\n *\n * @param {Function} dispatch\n * @param {Object} payload\n * @return {Promise}\n * @private\n */\n // eslint-disable-next-line no-underscore-dangle\n async _xhrSaveComment({ dispatch }, payload) {\n const { id } = payload\n let method = 'POST'\n let path = '/yoda/api/comments'\n let data = omit(['id'], payload)\n\n if (id) {\n method = 'PUT'\n path = `/yoda${id}`\n data = omit(['basket', 'basketLine'], data)\n }\n\n const response = await fetchPath.run({ path, method, data }).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: e.message,\n }, { root: true })\n throw e\n })\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Comment saved.',\n }, { root: true })\n\n return response\n },\n})\n","import { fetchPath } from '../../utils/api'\nimport actionsFactory from './actions'\n\n/**\n * Comments vuex module.\n */\nexport default {\n namespaced: true,\n state: {},\n mutations: {},\n actions: actionsFactory({ fetchPath }),\n}\n","export default {\n loaded: false,\n entities: [],\n viewedEntityIds: [],\n}\n","import { append, filter, not, equals, compose, curry, path } from 'ramda'\n\nconst notEquals = curry((a, b) => compose(not, equals(a))(b))\n\nexport default {\n /**\n * Sets the loaded value.\n *\n * @param {Object} state\n * @param {boolean} loaded\n */\n SET_LOADED(state, { loaded }) {\n state.loaded = loaded\n },\n\n /**\n * Replaces the entities in the state.\n *\n * @param {Object} state\n * @param {Array} entities\n */\n REPLACE_ENTITIES(state, { entities }) {\n state.entities = entities\n },\n\n /**\n * Adds an entity ID to the viewed entity ID list.\n *\n * @param {Object} state\n * @param {Number} entityId\n */\n ADD_VIEWED_ENTITY_ID(state, { entityId }) {\n state.viewedEntityIds = append(entityId, state.viewedEntityIds)\n },\n\n /**\n * Removes an entity from the state.\n *\n * @param {Object} state\n * @param {Object} entity\n */\n REMOVE_ENTITY(state, { entity }) {\n state.entities = filter(\n compose(\n notEquals(path(['id'], entity)),\n path(['id']),\n ),\n state.entities,\n )\n },\n}\n","import { path, includes } from 'ramda'\n\n/**\n * Actions.\n *\n * @param {FetchPath} fetchPath\n * @return {Object}\n */\nexport default ({ fetchPath }) => ({\n /**\n * Loads notifications from the server.\n *\n * @param {Function} commit\n * @return {Promise}\n */\n async xhrLoad({ commit }) {\n const result = await fetchPath.run(\n {\n method: 'GET',\n path: '/yoda/api/notifications',\n parameters: {\n itemsPerPage: 99,\n 'order[created]': 'desc',\n },\n },\n )\n\n const entities = path(['content', 'data'], result)\n\n await commit('REPLACE_ENTITIES', { entities })\n await commit('SET_LOADED', { loaded: true })\n\n return entities\n },\n\n /**\n * Reports that a notification has been viewed to the server.\n *\n * @param {Object} state\n * @param {Function} commit\n * @param {Object} notification\n * @return {Promise}\n */\n async xhrMarkAsViewed({ state, commit }, { notification }) {\n const entityId = path(['attributes', 'id'], notification)\n\n if (includes(entityId, state.viewedEntityIds)) {\n return\n }\n\n await fetchPath.run(\n {\n method: 'PUT',\n path: `/yoda${notification.id}/viewed`,\n },\n )\n\n commit('ADD_VIEWED_ENTITY_ID', { entityId })\n },\n\n /**\n * Issues a request to delete a notification.\n *\n * @param {Function} commit\n * @param {Object} notification\n * @returns {Promise<void>}\n */\n async xhrDelete({ commit }, { notification }) {\n commit('REMOVE_ENTITY', { entity: notification })\n await fetchPath.run(\n {\n method: 'DELETE',\n path: `/yoda${notification.id}`,\n },\n )\n },\n})\n","import { compose, filter, length, path } from 'ramda'\n\nconst unreadNotifications = compose(filter(path(['attributes', 'new'])), path(['entities']))\n\nexport default {\n unreadNotifications,\n unreadNotificationCount: compose(length, unreadNotifications),\n}\n","export default {\n notification: null,\n}\n","import { assoc, is, path } from 'ramda'\n\nexport default {\n /**\n * Adds a flash notification.\n *\n * @param {Object} state\n * @param {Object} notification\n */\n ADD(state, notification) {\n state.notification = notification\n },\n\n /**\n * Hides the notification in the store.\n *\n * This starts the animation to hide the notification.\n *\n * @param {Object} state\n */\n HIDE(state, id = null) {\n if (is(Object, state.notification) && (path(['notification', 'id'], state) === id || id === null)) {\n state.notification = assoc('hiding', true, state.notification)\n }\n },\n\n /**\n * Remove the notification in the store.\n *\n * @param {Object} state\n */\n REMOVE(state, id = null) {\n if (path(['notification', 'id'], state) === id || id === null) {\n state.notification = null\n }\n },\n}\n","export default ({\n createUniqueId,\n}) => ({\n /**\n * Creates a new flash notification.\n *\n * @param {Function} commit\n * @param {Function} dispatch\n * @param {Object} state\n * @param {Object} config\n * @return {Promise}\n */\n async create({ commit, dispatch }, config) {\n await dispatch('immediateDismiss')\n const id = createUniqueId([])\n\n let resolver\n const { duration = 6000 } = config\n const promise = new Promise((internalResolver) => {\n resolver = internalResolver\n })\n\n if (duration) {\n setTimeout(() => {\n dispatch('dismiss', id)\n resolver()\n }, duration)\n } else {\n resolver()\n }\n\n commit('ADD', { ...config, hiding: false, id })\n\n await promise\n },\n\n /**\n * Dismisses a flash notification.\n *\n * This applies a delay to the removal to allow the animation to complete.\n *\n * @param {Function} commit\n * @return {Promise}\n */\n async dismiss({ commit }, id) {\n let resolver\n const promise = new Promise((internalResolver) => {\n resolver = internalResolver\n })\n\n commit('HIDE', id)\n\n setTimeout(() => {\n commit('REMOVE', id)\n resolver()\n }, 600)\n\n await promise\n },\n\n /**\n * Dismisses a flash notification with no delay.\n *\n * @param {Function} commit\n * @return {Promise}\n */\n immediateDismiss({ commit }) {\n return commit('REMOVE')\n },\n})\n","import { createUniqueId } from '@/utils/createId'\nimport state from './state'\nimport mutations from './mutations'\nimport actionsFactory from './actions'\n\nconst actions = actionsFactory({\n createUniqueId,\n})\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n","import { fetchPath } from '../../utils/api'\nimport state from './state'\nimport mutations from './mutations'\nimport actionsFactory from './actions'\nimport getters from './getters'\nimport flash from './flash'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions: actionsFactory({ fetchPath }),\n getters,\n modules: { flash },\n}\n","export default {\n setLoading(state, loading) {\n state.loading = loading\n },\n setOffers(state, offers) {\n state.offers = offers.reduce((offers, offer) => ({\n ...offers,\n [offer.id]: offer,\n }), {})\n },\n setOffer(state, offer) {\n const { id } = offer\n\n state.offers = {\n ...state.offers,\n [id]: offer,\n }\n },\n /**\n * Set current filters\n * @param { Object } state - auto-injected state\n * @param { Object } filters - filters of form { [offerId]: offerFilters }\n */\n setFilters(state, filters) {\n state.filters = { ...state.filters, ...filters }\n },\n}\n","import { map } from 'ramda'\nimport { getOffers, getOfferById, shareOffer } from '../../utils/api'\nimport { recordUsageData } from '../../utils/api/usage'\nimport LocalStorage from '../../utils/LocalStorage'\nimport initialFilters from './initialFilters'\n\nexport default {\n async loadOffers({ commit, dispatch, rootState }) {\n commit('setLoading', true)\n\n const { id: contactId } = rootState.auth.user.data.attributes\n\n const offers = await getOffers({ contactId }).catch((error) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Error fetching offers',\n }, { root: true })\n\n throw error\n })\n\n dispatch('setOffers', offers)\n commit('setLoading', false)\n },\n async loadOffer({ dispatch }, id) {\n dispatch('setOffer', await getOfferById(id))\n },\n setOffers({ commit }, offers) {\n map((offer) => LocalStorage.offer(offer.id).apply(offer), offers)\n commit('setOffers', offers)\n },\n setOffer({ commit }, offer) {\n LocalStorage.offer(offer.id).apply(offer)\n commit('setOffer', offer)\n },\n updateOffer({ commit }, offer) {\n LocalStorage.offer(offer.id).update(offer)\n commit('setOffer', offer)\n },\n setFilters({ commit, state, rootState }, [offerId, filters]) {\n const currentFilters = state.filters[offerId] || initialFilters()\n const updatedFilters = { ...currentFilters, ...filters }\n commit('setFilters', { [offerId]: updatedFilters })\n\n LocalStorage.offerFilters(offerId).update(updatedFilters)\n\n const {\n isAuthenticated,\n user,\n } = rootState.auth\n\n if (isAuthenticated) {\n const {\n id: contactIri,\n } = user.data\n\n recordUsageData(contactIri, 'setFilters', {\n // TODO: Confirm this format\n changes: filters,\n filters: updatedFilters,\n })\n }\n },\n clearFilters({ commit, state, rootState }, offerId) {\n commit('setFilters', { [offerId]: undefined })\n\n LocalStorage.offerFilters(offerId).update(undefined)\n\n if (rootState.auth.isAuthenticated) {\n recordUsageData(rootState.auth.user.data.id, 'resetFilters', {\n // TODO: Confirm this format\n filtersWere: state.filters,\n })\n }\n },\n async share({ state, rootState, dispatch }, { offerId, emailAddresses, message }) {\n const {\n isAuthenticated,\n user,\n } = rootState.auth\n\n if (!isAuthenticated || !user) {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'You need to be logged in to share an offer.',\n }, { root: true })\n } else {\n const { offers } = state\n const offer = offers[offerId]\n\n const {\n data: {\n id: contactIri,\n },\n } = rootState.auth.user\n\n if (offer) {\n await shareOffer({\n offer,\n message,\n contact: contactIri,\n emailList: emailAddresses,\n }).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Failed to share the offer.',\n }, { root: true })\n throw e\n })\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: `Shared ${offer.name} with your chosen recipients.`,\n }, { root: true })\n } else {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Failed to share the offer.',\n }, { root: true })\n\n throw new Error('Missing offer')\n }\n }\n },\n}\n","import { compose, filter, isEmpty, isNil, map, not, path, pathOr } from 'ramda'\n\nexport default {\n /**\n * getOffer\n *\n * @param { String } identifier Offer identifier. If it is numeric (All\n * characters match regex /\\d/) then lookup offer by ID. Otherwise lookup\n * offer by share key\n * @returns { Offer } offer\n */\n getOffer: (state) => (identifier) => {\n if (/^\\d+$/.test(identifier)) {\n const offerId = parseInt(identifier, 10)\n return state.offers[offerId]\n }\n return Object.values(state.offers).find(({ shareKey }) => (\n shareKey === identifier\n ))\n },\n\n /**\n * Gets a list of offer lines on a per-offer basis that are not associated with a section.\n *\n * @type {function}\n * @param {Object} state\n * @returns {{Array}} Offer lines mapped to offer ID.\n */\n linesWithoutSectionByOffer: compose(\n map(\n compose(\n filter(compose(isNil, path(['sectionId']))),\n pathOr([], ['offerLines']),\n ),\n ),\n filter(compose(not, isEmpty, path(['sections']))),\n path(['offers']),\n ),\n}\n","export default () => ({\n offers: {},\n loading: false,\n filters: {},\n})\n","import mutations from './mutations'\nimport actions from './actions'\nimport getters from './getters'\nimport state from './state'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n getters,\n}\n","const requireAuthentication = ({ rootState }) => {\n if (!rootState.auth.isAuthenticated || !rootState.auth.user) {\n throw new Error('Access denied')\n }\n}\n\nexport default requireAuthentication\n","export default {\n loading: true,\n orders: [],\n entityCount: 0,\n page: 0,\n pageSize: 10,\n filters: {},\n}\n","import { __, assoc, compose, equals, findIndex, length, path, propEq, when } from 'ramda'\n\nexport default {\n /**\n * Sets the loading value.\n *\n * @param {Object} state\n * @param {boolean} loading\n */\n SET_LOADING(state, loading) {\n state.loading = loading\n },\n\n /**\n * Replaces the order entities with a new list.\n *\n * @param {Object} state\n * @param {Array} orders\n */\n SET_ORDERS(state, orders) {\n state.orders = orders\n },\n\n /**\n * Updates an order in the state.\n *\n * @param {Object} state\n * @param {Object} entity\n */\n UPDATE_ORDER(state, entity) {\n state.orders = compose(\n assoc(__, entity, state.orders),\n when(equals(-1), () => length(state.orders)),\n findIndex(propEq('id', path(['id'], entity))),\n )(state.orders)\n },\n\n /**\n * Sets the entity count value.\n *\n * @param {Object} state\n * @param {Number} entityCount\n */\n SET_ENTITY_COUNT(state, entityCount) {\n state.entityCount = entityCount\n },\n\n /**\n * Sets the page value.\n *\n * @param {Object} state\n * @param {Number} page\n */\n SET_PAGE(state, page) {\n state.page = page\n },\n\n /**\n * Sets the filters value.\n *\n * @param {Object} state\n * @param {Object} filters\n */\n SET_FILTERS(state, filters) {\n state.filters = filters\n },\n}\n","/**\n * Formats a Date object into a date value for machine use.\n *\n * @param {Date} date\n * @return {String|null}\n */\nconst machineDateFormatter = (date) => {\n if (date instanceof Date) {\n const year = date.getFullYear()\n const month = String(date.getMonth() + 1).padStart(2, '0')\n const day = String(date.getDate()).padStart(2, '0')\n\n return `${year}-${month}-${day}`\n }\n\n return null\n}\n\nexport default machineDateFormatter\n","import { compose, either, isEmpty, isNil, not, path } from 'ramda'\nimport getAttr from '../../utils/getAttr'\nimport machineDateFormatter from '../../utils/date/formatter/machineDateFormatter'\n\nconst isNotNilOrEmpty = compose(not, either(isEmpty, isNil))\n\n/**\n * Actions factory.\n *\n * @param apiUrl\n * @param {FetchPath} fetchPath\n * @param {Function} requireAuthentication\n * @return {{xhrIndexOrders(): Promise<void>, xhrFetchOrder({commit: Function}, {id: (string|number)}): Promise}}\n */\nexport default ({\n apiUrl,\n fetchPath,\n requireAuthentication,\n}) => ({\n /**\n * Fetches a single order from the server.\n *\n * @param {Function} commit\n * @param {Object} rootState\n * @param {string|number} id\n * @param {boolean} updateLoadingFlag\n * @return {Promise}\n */\n async xhrFetch({ commit, rootState }, { id, updateLoadingFlag = true }) {\n requireAuthentication({ rootState })\n\n if (updateLoadingFlag) {\n commit('SET_LOADING', true)\n }\n\n const entity = await fetchPath.run({\n path: `/yoda/api/orders/${id}`,\n jsonPath: ['content', 'data'],\n })\n\n await commit('UPDATE_ORDER', entity)\n commit('SET_LOADING', false)\n\n return entity\n },\n\n /**\n * Loads a page of orders.\n *\n * @param {Function} commit\n * @param {Object} rootState\n * @param {Object} state\n * @param {boolean} updateLoadingFlag\n * @param {Object} payload\n * @return {Promise}\n */\n async xhrIndex({ commit, state, rootState }, { updateLoadingFlag = true } = {}) {\n requireAuthentication({ rootState })\n\n if (updateLoadingFlag) {\n commit('SET_LOADING', true)\n }\n\n const parameters = { page: state.page + 1, itemsPerPage: state.pageSize }\n const createdFilter = path(['filters', 'created'], state)\n const invoiceFilter = path(['filters', 'invoice'], state)\n const statusFilter = path(['filters', 'statuses'], state)\n\n if (isNotNilOrEmpty(createdFilter)) {\n parameters['created[after]'] = compose(machineDateFormatter, path(['start']))(createdFilter)\n parameters['created[before]'] = compose(machineDateFormatter, path(['end']))(createdFilter)\n }\n if (isNotNilOrEmpty(invoiceFilter)) {\n parameters['invoiced[after]'] = compose(machineDateFormatter, path(['start']))(invoiceFilter)\n parameters['invoiced[before]'] = compose(machineDateFormatter, path(['end']))(invoiceFilter)\n }\n if (isNotNilOrEmpty(statusFilter)) {\n parameters.status = statusFilter\n }\n\n const result = await fetchPath.run({\n path: '/yoda/api/orders',\n jsonPath: ['content'],\n parameters,\n })\n\n await commit('SET_ORDERS', path(['data'], result))\n await commit('SET_ENTITY_COUNT', path(['meta', 'totalItems'], result))\n commit('SET_LOADING', false)\n\n return result\n },\n\n /**\n * Confirms an order.\n *\n * @param {Function} dispatch\n * @param {Object} rootState\n * @param {Object} order\n * @return {Promise}\n */\n async xhrConfirm({ dispatch, rootState }, { order }) {\n requireAuthentication({ rootState })\n\n const canConfirm = getAttr('type', order) === 'negotiation' && getAttr('status', order) === 'Approval Requested'\n const id = getAttr('id', order)\n\n if (canConfirm) {\n await fetchPath.run({\n path: `/yoda/api/sales-negotiations/${id}/approve`,\n method: 'PUT',\n })\n\n await dispatch('xhrFetch', { id, updateLoadingFlag: false })\n await dispatch('notifications/flash/create', { content: 'Order submitted', type: 'success' }, { root: true })\n } else {\n await dispatch('notifications/flash/create', { content: 'Unable to submit order', type: 'error' }, { root: true })\n }\n },\n\n /**\n * Sets the current page number.\n *\n * @param {Function} commit\n * @param {Number} page\n */\n setPage({ commit }, { page }) {\n commit('SET_PAGE', page)\n },\n\n /**\n * Sets the filters value.\n *\n * @param {Function} commit\n * @param {Object} filters\n */\n setFilters({ commit }, { filters }) {\n return commit('SET_FILTERS', filters)\n },\n\n async xhrPurchaseOrderFileUpload({ rootState }, file) {\n requireAuthentication({ rootState })\n const formData = new FormData()\n formData.append('file', file)\n\n const response = await fetch(\n `${apiUrl}/orders/upload-purchase-order-file`,\n {\n method: 'POST',\n body: formData,\n },\n )\n return response.json()\n },\n\n async xhrSubmitPurchaseOrderFile({ rootState }, data) {\n requireAuthentication({ rootState })\n\n await fetchPath.run({\n path: `/orders/submit-purchase-order-files`,\n jsonPath: ['content'],\n method: 'POST',\n parameters: {\n basketId: data?.basketId,\n orderId: data?.orderId,\n submissionId: data?.submissionId,\n files: JSON.stringify(data.files),\n },\n })\n },\n\n async xhrFetchPurchaseOrders({ rootState }, id) {\n requireAuthentication({ rootState })\n return fetchPath.run({\n path: `/yoda/api/orders/${id}/purchase-order-files`,\n jsonPath: ['content'],\n })\n },\n})\n","export default {\n /**\n * Identify if any filters are applied.\n *\n * @param {Object} state\n * @returns {Boolean}\n */\n filtersApplied(state) {\n const created = state.filters.created || {}\n const invoice = state.filters.invoice || {}\n const statuses = state.filters.statuses || null\n\n return Boolean(created.start || created.end || invoice.start || invoice.end || statuses !== null)\n },\n}\n","export default {\n loading: false,\n entities: [],\n}\n","export default {\n /**\n * Sets the state entities value.\n *\n * @param {Object} state\n * @param {Array} entities\n */\n SET_ENTITIES(state, entities) {\n state.entities = entities\n },\n\n /**\n * Sets the state loading value.\n *\n * @param {Object} state\n * @param {boolean} loading\n */\n SET_LOADING(state, loading) {\n state.loading = loading\n },\n}\n","import getAttr from '../../../utils/getAttr'\n\n/**\n * Actions factory.\n *\n * @param {FetchPath} fetchPath\n * @param {Function} requireAuthentication\n * @return {{xhrIndexSalesNegotiationLines({commit: Function}, {orderId: number}): Promise, xhrIndex({dispatch: Function}, {order: Object}): Promise, xhrIndexSalesOrderLines({commit: Function}, {orderId: string}): Promise}}\n */\nexport default ({ fetchPath, requireAuthentication }) => ({\n /**\n * Index order lines.\n *\n * @param {Function} dispatch\n * @param {Object} order\n * @return {Promise}\n */\n xhrIndex({ dispatch }, { order }) {\n const orderType = getAttr('type', order)\n\n if (orderType === 'negotiation') {\n return dispatch('xhrIndexSalesNegotiationLines', { orderId: getAttr('id', order) })\n }\n if (orderType === 'order') {\n return dispatch('xhrIndexSalesOrderLines', { orderId: getAttr('id', order) })\n }\n\n throw new Error(`Unknown order type '${orderType}' received`)\n },\n\n /**\n * Index sales negotiation lines.\n *\n * @param {Function} commit\n * @param {Object} rootState\n * @param {number} orderId\n * @return {Promise}\n */\n async xhrIndexSalesNegotiationLines({ commit, rootState }, { orderId }) {\n requireAuthentication({ rootState })\n\n commit('SET_LOADING', true)\n\n const lines = await fetchPath.run({\n path: '/yoda/api/sales-negotiation-lines',\n jsonPath: ['content', 'data'],\n parameters: { salesNegotiation: orderId, itemsPerPage: 999 },\n })\n\n commit('SET_ENTITIES', lines)\n commit('SET_LOADING', false)\n\n return lines\n },\n\n /**\n * Index sales order lines.\n *\n * @param {Function} commit\n * @param {Object} rootState\n * @param {string} orderId\n * @return {Promise}\n */\n async xhrIndexSalesOrderLines({ commit, rootState }, { orderId }) {\n requireAuthentication({ rootState })\n\n commit('SET_LOADING', true)\n\n const lines = await fetchPath.run({\n path: '/yoda/api/sales-order-lines',\n jsonPath: ['content', 'data'],\n parameters: { salesOrder: orderId, itemsPerPage: 999 },\n })\n\n commit('SET_ENTITIES', lines)\n commit('SET_LOADING', false)\n\n return lines\n },\n})\n","import { fetchPath } from '../../../utils/api'\nimport requireAuthentication from '../../../utils/requireAuthentication'\nimport state from './state'\nimport mutations from './mutations'\nimport actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions: actions({ fetchPath, requireAuthentication }),\n}\n","export default {\n changes: null,\n}\n","export default {\n /**\n * Sets the order changes information onto the state.\n *\n * @param {Object} state\n * @param {Object|null} changes\n */\n SET(state, changes) {\n state.changes = changes\n },\n}\n","import { path } from 'ramda'\n\n/**\n * Order changes store actions.\n *\n * @param {FetchPath} fetchPath\n * @return {Object}\n */\nexport default ({ fetchPath }) => ({\n /**\n * Clears the order changes stored in the state.\n *\n * @param {Function} commit\n */\n clear({ commit }) {\n commit('SET', null)\n },\n\n /**\n * Loads the changes made to a given order.\n *\n * @param {Function} commit\n * @param {Number} orderId\n * @return {Promise}\n */\n async xhrLoad({ commit }, { orderId }) {\n const response = await fetchPath.run({\n method: 'GET',\n path: `/yoda/api/sales-negotiations/${orderId}/changes`,\n })\n const orderChanges = path(['content'], response)\n\n commit('SET', orderChanges)\n\n return orderChanges\n },\n})\n","import { fetchPath } from '../../../utils/api'\nimport state from './state'\nimport mutations from './mutations'\nimport actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions: actions({ fetchPath }),\n}\n","import { fetchPath } from '@/utils/api'\nimport { URL } from '@/constants/api'\nimport requireAuthentication from '../../utils/requireAuthentication'\nimport state from './state'\nimport mutations from './mutations'\nimport actions from './actions'\nimport getters from './getters'\nimport lines from './lines'\nimport changes from './changes'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions: actions({ apiUrl: URL, fetchPath, requireAuthentication }),\n getters,\n modules: { lines, changes },\n}\n","export default {\n corePageLoadComplete: false,\n mobileMenuOpen: false,\n floatingFooterVisible: false,\n}\n","import { is } from 'ramda'\n\nexport default {\n /**\n * Sets the local modal values into the state.\n *\n * @param {Object} state\n * @param {Object} payload\n * @constructor\n */\n SET_VALUES(state, payload) {\n state.targetElement = payload.targetElement || null\n state.contentComponent = payload.contentComponent || null\n state.maskComponent = payload.maskComponent || null\n state.attachment = payload.attachment || null\n state.targetAttachment = payload.targetAttachment || state.targetAttachment\n state.colour = payload.colour || state.colour\n state.width = payload.width || null\n state.componentData = payload.componentData || state.componentData\n state.customClass = is(String, payload.customClass) ? payload.customClass : state.customClass\n },\n}\n","export default {\n /**\n * Sets the data onto the state for a new local modal to be displayed.\n *\n * @param {Function} commit\n * @param {Object|null} targetElement\n * @param {Object|null} contentComponent\n * @param {Object|null} maskComponent\n * @param {String} attachment\n * @param {String} targetAttachment\n * @param {String} colour\n * @return {Promise}\n */\n open(\n { commit },\n {\n targetElement,\n contentComponent,\n direction,\n width,\n maskComponent = null,\n colour = 'white',\n componentData = null,\n customClass = '',\n },\n ) {\n let attachment\n let targetAttachment\n\n switch (direction) {\n case 'up':\n attachment = 'bottom center'\n targetAttachment = 'top center'\n break\n case 'right':\n attachment = 'middle left'\n targetAttachment = 'middle right'\n break\n case 'down':\n attachment = 'top center'\n targetAttachment = 'bottom center'\n break\n case 'left':\n attachment = 'middle right'\n targetAttachment = 'middle left'\n break\n default:\n throw new Error(`Unknown direction '${direction}' provided`)\n }\n\n return commit('SET_VALUES', {\n targetElement,\n contentComponent,\n maskComponent,\n attachment,\n targetAttachment,\n colour,\n width,\n componentData,\n customClass,\n })\n },\n\n /**\n * Closes the local modal by setting all values to null.\n *\n * @param {Function} commit\n * @return {Promise}\n */\n close({ commit }) {\n return commit('SET_VALUES', {})\n },\n}\n","export default {\n targetElement: null,\n contentComponent: null,\n maskComponent: null,\n attachment: null,\n targetAttachment: null,\n colour: null,\n width: null,\n componentData: null,\n customClass: '',\n}\n","import mutations from './mutations'\nimport actions from './actions'\nimport state from './state'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n","/**\n * Service that interacts with the cookies.\n */\nexport default class CookieInteractor {\n /**\n * Constructor.\n *\n * @param {Object} Cookie\n */\n constructor(Cookie) {\n this.Cookie = Cookie\n }\n\n /**\n * Read a given value stored in the cookie.\n *\n * @param {String} name\n * @return {String}\n */\n read({ name }) {\n return this.Cookie.get(name)\n }\n\n /**\n * Write a value to the cookie.\n *\n * @param {String} name\n * @param {String} value\n * @param {Number} expires\n */\n write({ name, value, expires = 365 }) {\n this.Cookie.set(name, value, { expires })\n }\n}\n","import Cookie from 'js-cookie'\nimport CookieInteractor from './CookieInteractor'\n\nexport const cookieInteractor = new CookieInteractor(Cookie)\n\nexport default { cookieInteractor }\n","export default {\n decision: null,\n}\n","import { compose, is, path } from 'ramda'\n\nexport default {\n decisionMade: compose(is(Boolean), path(['decision'])),\n decision: path(['decision']),\n}\n","export default {\n /**\n * Set the decision value.\n *\n * @param {Object} state\n * @param {Boolean} decision\n */\n SET_DECISION(state, { decision }) {\n state.decision = decision\n },\n}\n","/**\n * @param {CookieInteractor} cookieInteractor\n * @return {Object}\n */\nexport default ({ cookieInteractor }) => ({\n /**\n * Initialise cookie consent. Should be called on page load.\n *\n * @param {Function} commit\n */\n init({ commit }) {\n const existingDecision = cookieInteractor.read({ name: 'cookieConsent' })\n let decision = null\n\n if (existingDecision === '1') {\n decision = true\n } else if (existingDecision === '0') {\n decision = false\n }\n\n commit('SET_DECISION', { decision })\n },\n\n /**\n * Sets the user decision on cookie consent.\n *\n * @param {Function} commit\n * @param {Boolean} decision\n */\n setDecision({ commit }, { decision }) {\n cookieInteractor.write({ name: 'cookieConsent', value: decision ? '1' : '0' })\n commit('SET_DECISION', { decision })\n },\n})\n","import { cookieInteractor } from '../../utils/cookies'\nimport state from './state'\nimport getters from './getters'\nimport mutations from './mutations'\nimport actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions: actions({ cookieInteractor }),\n}\n","/**\n * Messages actions.\n *\n * @param {FetchPath} fetchPath\n * @return {Object}\n */\nexport default ({ fetchPath }) => ({\n /**\n * Issue a request to send a new message.\n *\n * @param {Function} dispatch\n * @param {Object} message\n *\n * @return {Promise}\n */\n async xhrSend({ dispatch }, { message }) {\n await fetchPath.run(\n {\n method: 'POST',\n path: '/yoda/api/messages',\n data: message,\n },\n ).catch((e) => {\n dispatch('notifications/flash/create', {\n type: 'error',\n content: 'Failed to send message. Please try again.',\n }, { root: true })\n\n throw e\n })\n\n dispatch('notifications/flash/create', {\n type: 'success',\n content: 'Message successfully sent',\n }, { root: true })\n },\n})\n","import { fetchPath } from '../../utils/api'\nimport actions from './actions'\n\nexport default {\n namespaced: true,\n state: {},\n methods: {},\n getters: {},\n actions: actions({ fetchPath }),\n}\n","/* eslint-disable no-empty-pattern */\n\n/**\n * Actions.\n *\n * @param {Function} fetch\n * @param {String} apiUrl\n * @param {FetchPath} fetchPath\n * @param {Function} yodaFormatter\n * @return {Object}\n */\nexport default ({ fetch, apiUrl, fetchPath, yodaFormatter }) => ({\n /**\n * Writes an upload file to the server.\n *\n * @param {File} file\n * @returns {Promise<void>}\n */\n async xhrSaveFile({}, file) {\n const response = await fetch(`${apiUrl}/basket/upload-import-file`, { method: 'POST', body: file })\n return response.json()\n },\n\n /**\n * Submits a request to create a new basket file import entity.\n *\n * @param {Function} commit\n * @param {Object} payload\n * @return {Promise}\n */\n async xhrCreateBasketFileImport({ commit }, payload) {\n const result = await fetchPath.run(\n {\n method: 'POST',\n path: '/yoda/api/basket-file-imports',\n data: payload,\n jsonPath: ['content', 'data'],\n },\n )\n const entity = yodaFormatter(result)\n\n await commit('SET_BASKET_FILE_IMPORT', { entity })\n\n return entity\n },\n\n /**\n * Run the import.\n *\n * @param {Function} commit\n * @param {Object} basketFileImport\n * @returns {Promise}\n */\n async xhrRunImport({ commit }, { basketFileImport }) {\n const result = await fetchPath.run(\n {\n method: 'PUT',\n path: `/yoda/api/basket-file-imports/${basketFileImport.id}/import`,\n data: {},\n jsonPath: ['content', 'data'],\n },\n )\n const entity = yodaFormatter(result)\n\n await commit('SET_BASKET_FILE_IMPORT', { entity })\n\n return entity\n },\n})\n","export default {\n SET_BASKET_FILE_IMPORT(state, { entity }) {\n state.basketFileImport = entity\n },\n}\n","export default {\n basketFileImport: null,\n}\n","import { map } from 'ramda'\n\n/**\n * Basket import line module actions.\n *\n * @param {FetchPath} fetchPath\n * @param {Function} yodaFormatter\n * @returns {Object}\n */\nexport default ({ fetchPath, yodaFormatter }) => ({\n /**\n * Index lines for a given import.\n *\n * @param {Function} commit\n * @param {Object} parameters\n * @returns {Promise<Array>}\n */\n async xhrIndex({ commit }, { parameters = {} }) {\n const response = await fetchPath.run({\n method: 'GET',\n path: '/yoda/api/basket-file-import-lines',\n parameters,\n jsonPath: ['content', 'data'],\n })\n const entities = map(yodaFormatter, response)\n\n await commit('SET_ENTITIES', { entities })\n\n return entities\n },\n})\n","/**\n * Basket import line module mutations.\n */\nexport default {\n /**\n * Replace the entities in the state.\n *\n * @param {Object} state\n * @param {Array} entities\n */\n SET_ENTITIES(state, { entities }) {\n state.entities = entities\n },\n}\n","export default {\n entities: [],\n}\n","import { add, compose, evolve, filter, length, map, multiply, path, pathOr, propEq, reduce, trim } from 'ramda'\n\nconst getEntities = path(['entities'])\nconst countLinesByValidFlag = (valid) => compose(length, filter(propEq('valid', valid)), getEntities)\n\n/**\n * Basket import line module getters.\n */\nexport default {\n /**\n * Counts the number of lines in the store.\n *\n * @param {Object} state\n * @return {Number}\n */\n lineCount: compose(length, getEntities),\n\n /**\n * Counts the number of valid lines in the state.\n *\n * @param {Object} state\n * @return {Number}\n */\n validLineCount: countLinesByValidFlag(true),\n\n /**\n * Counts the number of invalid lines in the state.\n *\n * @param {Object} state\n * @return {Number}\n */\n invalidLineCount: countLinesByValidFlag(false),\n\n /**\n * Counts the number of lines where the unit quantity has been changed.\n *\n * @param {Object} state\n * @return {Number}\n */\n amendedQuantityLineCount: compose(\n length,\n filter((line) => line.originalQuantity !== line.correctedQuantity),\n map(evolve({ originalQuantity: compose(Number, trim) })),\n filter(propEq('valid', true)),\n getEntities,\n ),\n\n /**\n * Gets the total value of the import.\n *\n * This multiplies the value per line by the corrected quantity and then sums all.\n *\n * @param {Object} state\n * @returns {Number}\n */\n importTotalValue: compose(\n reduce(add, 0),\n map((line) => multiply(\n path(['correctedQuantity'], line),\n compose(Number, path(['unitPrice', 'value']))(line),\n )),\n filter((line) => path(['valid'], line) && path(['correctedQuantity'], line)),\n getEntities,\n ),\n\n /**\n * Gets the currency of the import.\n *\n * @param {Object} state\n * @return {String|null}\n */\n importCurrency: compose(\n reduce((carry, line) => carry || pathOr(null, ['unitPrice', 'baseCurrency'], line), null),\n getEntities,\n ),\n}\n","import { fetchPath } from '../../../utils/api'\nimport yodaFormatter from '../../../utils/api/yodaFormatter'\nimport actions from './actions'\nimport mutations from './mutations'\nimport state from './state'\nimport getters from './getters'\n\nexport default {\n namespaced: true,\n actions: actions({ fetchPath, yodaFormatter }),\n mutations,\n state,\n getters,\n}\n","import fetchWrapper from '../../utils/api/fetchWrapper'\nimport { fetchPath } from '../../utils/api'\nimport { URL } from '../../constants/api'\nimport yodaFormatter from '../../utils/api/yodaFormatter'\nimport actions from './actions'\nimport mutations from './mutations'\nimport state from './state'\nimport line from './line'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions: actions({ fetch: fetchWrapper, apiUrl: URL, fetchPath, yodaFormatter }),\n modules: { line },\n}\n","export default {\n open: false,\n images: [],\n}\n","import append from 'ramda/src/append'\n\nexport default {\n /**\n * Sets the open flag on the state.\n *\n * @param {Object} state\n * @param {Boolean} open\n */\n SET_OPEN(state, open) {\n state.open = open\n },\n\n /**\n * Sets the images on the state.\n *\n * @param {Object} state\n * @param {Array} images\n */\n SET_IMAGES(state, images) {\n state.images = images\n },\n\n /**\n * Adds a single image to the state.\n *\n * @param {Object} state\n * @param {Object} image\n */\n ADD_IMAGE(state, image) {\n state.images = append(image, state.images)\n },\n}\n","import { forEach } from 'ramda'\n\nexport default {\n /**\n * Opens the lightbox.\n *\n * @param {Function} commit\n * @returns {Promise}\n */\n open({ commit }) {\n return commit('SET_OPEN', true)\n },\n\n /**\n * Closes the lightbox.\n *\n * @param {Function} commit\n * @returns {Promise}\n */\n close({ commit }) {\n return commit('SET_OPEN', false)\n },\n\n /**\n * Sets the images on the lightbox.\n *\n * @param {Function} commit\n * @param {String} src\n * @param {String} label\n * @returns {Promise}\n */\n addImage({ commit }, { src, label }) {\n return commit('ADD_IMAGE', { src, label })\n },\n\n /**\n * Adds multiple images to the lightbox.\n *\n * @param {Function} commit\n * @param {Array} images\n */\n addMultipleImages({ commit }, images) {\n forEach(({ src, label }) => commit('ADD_IMAGE', { src, label }), images)\n },\n\n /**\n * Clears all images from the lightbox.\n *\n * @param commit\n * @returns {*}\n */\n clearImages({ commit }) {\n return commit('SET_IMAGES', [])\n },\n}\n","import state from './state'\nimport mutations from './mutations'\nimport actions from './actions'\n\nexport default {\n namespaced: true,\n state,\n mutations,\n actions,\n}\n","export default {\n /**\n * Marks the core page load as complete.\n *\n * @param {function} commit\n * @return {Promise}\n */\n endCorePageLoad({ commit }) {\n return commit('setCorePageLoadComplete', true)\n },\n\n /**\n * Marks the mobile menu as open.\n *\n * @param {function} commit\n * @return {Promise}\n */\n openMobileMenu({ commit }) {\n return commit('setMobileMenuOpen', true)\n },\n\n /**\n * Marks the mobile menu as closed.\n *\n * @param {function} commit\n * @return {Promise}\n */\n closeMobileMenu({ commit }) {\n return commit('setMobileMenuOpen', false)\n },\n\n /**\n * Marks the floating footer as visible.\n *\n * @param {Function} commit\n */\n displayFloatingFooter({ commit }) {\n return commit('setFloatingFooterVisible', true)\n },\n\n /**\n * Marks the floating footer as hidden.\n *\n * @param {Function} commit\n */\n hideFloatingFooter({ commit }) {\n return commit('setFloatingFooterVisible', false)\n },\n}\n","export default {\n /**\n * Sets the setCorePageLoadComplete value on the state.\n *\n * @param {Object} state\n * @param {boolean} value\n */\n setCorePageLoadComplete(state, value) {\n state.corePageLoadComplete = value\n },\n\n /**\n * Sets the mobile menu open value\n *\n * @param {Object} state\n * @param {boolean} value\n */\n setMobileMenuOpen(state, value) {\n state.mobileMenuOpen = value\n },\n\n /**\n * Sets the floatingFooterVisible flag value.\n *\n * @param {Object} state\n * @param {boolean} value\n */\n setFloatingFooterVisible(state, value) {\n state.floatingFooterVisible = value\n },\n\n /**\n * Dummy mutation. This is intercepted by the Vue instance and handled to avoid circular references with the router.\n */\n navigate() {},\n}\n","import { path } from 'ramda'\n\nexport default {\n corePageLoadComplete: path(['corePageLoadComplete']),\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport account from './account'\nimport auth from './auth/index'\nimport basket from './basket'\nimport confirmations from './confirmations'\nimport comments from './comments'\nimport notifications from './notifications/index.js'\nimport offers from './offers/index'\nimport orders from './orders/index'\nimport state from './state'\nimport localModal from './localModal'\nimport cookieConsent from './cookieConsent'\nimport messages from './messages'\nimport basketImport from './basketImport'\nimport lightbox from './lightbox'\nimport actions from './actions'\nimport mutations from './mutations'\nimport getters from './getters'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state,\n mutations,\n actions,\n getters,\n modules: {\n account,\n auth,\n basket,\n confirmations,\n comments,\n notifications,\n offers,\n orders,\n localModal,\n messages,\n cookieConsent,\n basketImport,\n lightbox,\n },\n})\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport { path, pick } from 'ramda'\nimport { recordUsageData } from '@/utils/api/usage'\nimport store from '../store'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: '/',\n name: 'Dashboard',\n component: () => import('@/views/Dashboard.vue'),\n meta: {\n requiresAuth: true,\n },\n },\n {\n path: '/offers',\n name: 'Offers',\n component: () => import('@/views/Offers.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n },\n },\n {\n path: '/offers/:offerId',\n name: 'Offer',\n component: () => import('@/views/Offer.vue'),\n meta: {\n forceHeader: true,\n },\n },\n {\n path: '/orders',\n name: 'Orders',\n component: () => import('@/views/Orders.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n },\n },\n {\n path: '/orders/:orderId',\n name: 'Order',\n component: () => import('@/views/Order.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n },\n },\n {\n path: '/account',\n name: 'Account',\n component: () => import('@/views/Account.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n },\n },\n {\n path: '/basket',\n name: 'Basket',\n component: () => import('@/views/Basket.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n pageClasses: 'page--basket',\n },\n },\n {\n path: '/login',\n name: 'Login',\n component: () => import('@/views/Login.vue'),\n meta: {\n pageClasses: 'page--login-background page--no-header',\n whiteFooter: true,\n },\n },\n {\n path: '/logout-confirmation',\n name: 'LogoutConfirmation',\n component: () => import('@/views/LogoutConfirmation.vue'),\n meta: {\n pageClasses: 'page--login-background page--no-header',\n whiteFooter: true,\n },\n },\n {\n path: '/resetpassword',\n name: 'ResetPassword',\n component: () => import('@/views/ResetPassword.vue'),\n meta: {\n pageClasses: 'page--login-background page--no-header',\n whiteFooter: true,\n },\n },\n {\n path: '/basket/submitted',\n name: 'BasketSubmitted',\n component: () => import('@/views/BasketSubmitted.vue'),\n meta: {\n requiresAuth: true,\n },\n },\n {\n path: '/basket/import',\n name: 'ImportBasket',\n component: () => import('@/views/ImportBasket.vue'),\n meta: {\n requiresAuth: true,\n hasHero: true,\n },\n },\n {\n path: '*',\n name: 'NotFound',\n component: () => import('@/views/PageNotFound.vue'),\n },\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n }\n return { x: 0, y: 0 }\n },\n routes,\n})\n\nrouter.beforeEach((to, from, next) => {\n if (path(['name'], from) === 'LogoutConfirmation' && path(['name'], to) !== 'Login') {\n next(false)\n }\n\n // Log navigation as usage data.\n setTimeout(async () => {\n const initialisationPromise = path(['state', 'auth', 'initialisationPromise'], store)\n\n if (initialisationPromise) {\n await initialisationPromise\n }\n\n await recordUsageData(\n path(['state', 'auth', 'user', 'data', 'id'], store),\n 'navigate',\n pick(['name', 'path', 'params'], to),\n )\n }, 1)\n\n next()\n})\n\nexport default router\n","import Vue from 'vue'\nimport { BootstrapVue } from 'bootstrap-vue'\nimport VueObserveVisibility from 'vue-observe-visibility'\nimport vSwitch from './components/v-switch.vue'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport httpCache from './utils/httpCache'\n\nVue.use(BootstrapVue)\nVue.use(VueObserveVisibility)\n\nVue.component(\n vSwitch.name,\n vSwitch,\n)\n\nVue.config.productionTip = false\n\nif (process.env.NODE_ENV === 'development') {\n window.store = store\n window.router = router\n}\n\nhttpCache.setVuexStore(store)\n\nnew Vue({\n router,\n store,\n render: (h) => h(App),\n created() {\n // Handle the navigate mutation call. This fixes a circular reference.\n this.$store.subscribe((mutation) => {\n if (mutation.type === 'navigate') {\n const actionType = mutation.payload.type || 'replace'\n router[actionType](mutation.payload)\n }\n })\n },\n}).$mount('#app')\n","const buttonComponentMixin = {\n props: {\n colour: {\n type: String,\n required: false,\n default: 'grey',\n validate: ['grey', 'white', 'primary', 'secondary', 'teal'].includes,\n },\n textColour: {\n type: String,\n required: false,\n default: null,\n },\n type: {\n type: String,\n required: false,\n default: 'text',\n validate: ['solid', 'text', 'outline', 'transparent'].includes,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n size: {\n type: String,\n required: false,\n default: 'medium',\n validate: ['small', 'medium', 'large'].includes,\n },\n noHoverState: {\n type: Boolean,\n required: false,\n default: false,\n },\n fullWidth: {\n type: Boolean,\n required: false,\n default: false,\n },\n nowrap: {\n type: Boolean,\n required: false,\n default: false,\n },\n underlined: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n computed: {\n baseClasses() {\n let classes = `button--${this.colour} button--${this.type} button--${this.size}`\n\n if (this.noHoverState) {\n classes = `${classes} button--no-hover`\n }\n if (this.fullWidth) {\n classes = `${classes} button--full-width`\n }\n if (this.nowrap) {\n classes = `${classes} button--nowrap`\n }\n if (this.textColour) {\n classes = `${classes} button--text-${this.textColour}`\n }\n if (this.underlined) {\n classes = `${classes} button--underlined`\n }\n\n return classes\n },\n iconColour() {\n let iconColour = this.colour\n\n if (this.type === 'solid') {\n iconColour = ['primary', 'secondary', 'success', 'danger', 'teal'].includes(this.colour) ? 'white' : 'black'\n } else if (iconColour === 'grey') {\n iconColour = 'black'\n }\n\n return iconColour\n },\n },\n methods: {\n mouseenterHandler(event) {\n this.$emit('mouseenter', event)\n },\n mouseleaveHandler(event) {\n this.$emit('mouseleave', event)\n },\n clickHandler(event) {\n this.$emit('click', event)\n },\n },\n}\n\nexport default buttonComponentMixin\n","const formFieldComponentMixin = {\n props: {\n label: {\n type: String,\n required: false,\n default: null,\n },\n name: {\n type: String,\n required: true,\n },\n value: {\n required: true,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n width: {\n type: String,\n required: false,\n default: null,\n },\n error: {\n type: String,\n required: false,\n default: null,\n },\n },\n data() {\n return {\n isFocused: false,\n lastError: null,\n }\n },\n computed: {\n fieldId() {\n return this.name\n },\n containerClasses() {\n const classes = []\n\n if (this.isFocused) {\n classes.push('form__input-container--focus')\n }\n if (this.value) {\n classes.push('form__input-container--filled')\n }\n if (this.disabled) {\n classes.push('form__input-container--disabled')\n }\n if (this.error) {\n classes.push('form__input-container--error')\n }\n\n return classes.join(' ')\n },\n errorAsString() {\n return String(this.error || this.lastError)\n },\n },\n methods: {\n focusHandler() {\n this.isFocused = true\n this.$emit('focus')\n },\n blurHandler() {\n this.isFocused = false\n this.$emit('blur')\n },\n inputHandler(value) {\n this.$emit('input', value)\n },\n changeHandler(value) {\n this.$emit('change', value)\n },\n },\n}\n\nexport default formFieldComponentMixin\n","export default () => ({\n searchTerm: null,\n brands: null,\n minPrice: null,\n maxPrice: null,\n sections: null,\n})\n","import blank from 'spiceutils/dist/blank'\nimport dig from 'spiceutils/dist/dig'\n\nexport const getEntry = (key) => {\n const value = localStorage.getItem(key)\n try {\n return JSON.parse(value)\n } catch (e) {\n return value\n }\n}\n\nexport const getData = (key, digArgs = []) => dig(getEntry(key), digArgs)\n\nexport const setData = (key, digArgs, data) => {\n let entry = getEntry(key) || {}\n\n if (!blank(digArgs)) {\n digArgs.reduce((current, key, index, array) => {\n const lastItem = index === array.length - 1\n\n if (lastItem) {\n // eslint-disable-next-line no-param-reassign\n current[key] = data\n return data\n }\n if (!current[key]) {\n const nextKey = array[index + 1]\n if (typeof nextKey === 'number') {\n // eslint-disable-next-line no-param-reassign\n current[key] = []\n } else {\n // eslint-disable-next-line no-param-reassign\n current[key] = {}\n }\n }\n return current[key]\n }, entry)\n } else {\n entry = data\n }\n\n localStorage.setItem(key, JSON.stringify(entry))\n}\n","import { getData, setData } from './dataInteractors'\n\nclass LocalStorageActor {\n constructor(localStorageKey) {\n this.localStorageKey = localStorageKey\n }\n\n getData(path) {\n return getData(this.localStorageKey, path)\n }\n\n setData(path, data) {\n return setData(this.localStorageKey, path, data)\n }\n\n static clear(localStorageKey) {\n localStorage.removeItem(localStorageKey)\n }\n}\n\nexport default LocalStorageActor\n","import LocalStorageActor from './LocalStorageActor'\n\nconst localStorageKey = 'offers'\n\nclass Offer extends LocalStorageActor {\n constructor(offerId) {\n super(localStorageKey)\n this.offerId = offerId\n }\n\n apply(offer) {\n const offerData = this.getData([this.offerId])\n if (offerData) {\n if (offerData.offerLines) {\n offerData.offerLines.forEach(({ id, unitQuantity }) => {\n const offerLine = offer.offerLines.find(({ id: lineId }) => id === lineId)\n\n if (offerLine) {\n if (unitQuantity) {\n offerLine.unitQuantity = unitQuantity\n }\n }\n })\n }\n }\n return offer\n }\n\n update(offer) {\n const offerData = {\n offerLines: offer.offerLines.map(({ id, unitQuantity }) => {\n if (unitQuantity) {\n return {\n id,\n unitQuantity,\n }\n }\n return null\n }).filter(Boolean),\n }\n this.setData([this.offerId.toString()], offerData)\n }\n\n static clear() {\n LocalStorageActor.clear(localStorageKey)\n }\n}\n\nexport default Offer\n","import LocalStorageActor from './LocalStorageActor'\n\nconst localStorageKey = 'offerFilters'\n\nclass OfferFilters extends LocalStorageActor {\n constructor(offerId) {\n super(localStorageKey)\n\n this.offerId = offerId\n }\n\n apply(filters) {\n const filterData = this.getData([this.offerId])\n if (filterData) {\n Object.entries(filterData).forEach(([key, value]) => {\n // eslint-disable-next-line no-param-reassign\n filters[key] = value\n })\n }\n return filters\n }\n\n update(filters) {\n this.setData([this.offerId.toString()], filters)\n }\n\n static clear() {\n LocalStorageActor.clear(localStorageKey)\n }\n}\n\nexport default OfferFilters\n","import Offer from './Offer'\nimport OfferFilters from './OfferFilters'\n\nconst classes = [\n Offer,\n OfferFilters,\n]\n\nexport default {\n offer: (...args) => new Offer(...args),\n offerFilters: (...args) => new OfferFilters(...args),\n clear: () => classes.forEach((c) => c.clear()),\n}\n","/**\n * Identify the current browser.\n *\n * @param {string} userAgent\n * @return {string}\n */\nconst detectBrowser = (userAgent) => {\n if (new RegExp(/Firefox\\/(\\d){2,}/).test(userAgent)) {\n return 'firefox'\n }\n if (new RegExp(/Edg\\/(\\d){2,}/).test(userAgent)) {\n return 'edge'\n }\n if (new RegExp(/OPR\\/(\\d)+/).test(userAgent)) {\n return 'opera'\n }\n if (new RegExp(/Chrome\\/(\\d){2,}/).test(userAgent)) {\n return 'chrome'\n }\n if (new RegExp(/Version\\/\\d+\\.\\d+(\\.\\d+)?\\s(Mobile\\/(\\w|\\d)+\\s)?Safari\\/\\d{2,}/).test(userAgent)) {\n return 'safari'\n }\n\n return 'other'\n}\n\nexport default detectBrowser\n","import detectBrowser from './detectBrowser'\n\nexport const currentBrowser = detectBrowser(window.navigator.userAgent)\n\nexport default { currentBrowser }\n","import { compose, either, equals, path } from 'ramda'\n\n/**\n * Identifies whether the enter key was pressed or not from an event.\n *\n * @function\n * @param {Object} event\n * @return {Boolean}\n */\nconst enterKeyPressed = compose(\n either(equals(13), equals('13')),\n either(path(['keyCode']), path(['which'])),\n)\n\nexport default enterKeyPressed\n","import { curry, path } from 'ramda'\n\n/**\n * Gets the value of an attribute.\n *\n * @type {Function}\n * @param {String} name\n * @param {Object} entity\n * @return {*}\n */\nconst getAttr = curry((name, entity) => path(['attributes', name], entity))\n\nexport default getAttr\n","// 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","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 + \".\" + {\"33\":\"8c6dee90\",\"106\":\"0ca34833\",\"241\":\"fadec682\",\"293\":\"05d2d97c\",\"295\":\"20cb6114\",\"300\":\"71f718ea\",\"315\":\"ee1196e3\",\"495\":\"b8a0a000\",\"588\":\"4ae413cc\",\"644\":\"984f7f5b\",\"791\":\"1c012991\",\"827\":\"35e612a0\",\"850\":\"6a2e263f\",\"914\":\"9eb2777a\",\"970\":\"2a16cebe\"}[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 + \".\" + {\"300\":\"f2dc6389\",\"495\":\"77fc5c6d\"}[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 = \"beautynet-client-portal-ui:\";\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\tif (linkTag.parentNode) linkTag.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 = {\"300\":1,\"495\":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[\"webpackChunkbeautynet_client_portal_ui\"] = self[\"webpackChunkbeautynet_client_portal_ui\"] || [];\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__(4526); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","textColour","fontWeight","size","attrs","variant","_t","staticRenderFns","name","props","colour","type","String","required","default","validate","value","includes","computed","grey","white","primary","secondary","component","classes","icon","on","clickHandler","mouseenterHandler","mouseleaveHandler","active","nowrap","disabled","processing","components","IconButton","Button","Padding","mixins","buttonComponentMixin","data","hover","iconAlignRight","Boolean","borderRadiusRight","iconOnly","contrast","asyncSubmit","fullHeight","methods","event","$emit","promise","Promise","resolve","reject","then","iconColour","_e","Icon","baseClasses","gutterSize","validation","$event","fieldId","changeHandler","inputHandler","_v","_s","label","formFieldComponentMixin","validator","dark","push","join","key","display","modalSize","modalClass","currentBrowser","noCloseOnBackdrop","model","callback","$$v","modalShow","expression","closeModal","CloseButton","showCloseButton","openModal","cancelButtonLabel","hideSubmit","submitButtonIcon","submitButtonColour","submitDisabled","submitButtonLabel","ActionButton","_l","notification","id","directives","rawName","isNew","content","deleteHandler","Object","attributes","new","isRemovable","removable","orderId","path","offerId","mapActions","xhrMarkAsViewed","xhrDeleteNotification","rowIsVisibleHandler","visible","setTimeout","$route","params","$router","NotificationListItem","unread","mapGetters","unreadNotifications","mapState","allNotifications","notifications","tabletSize","mobileSize","direction","row","fullWidth","ref","scopedSlots","_u","fn","stopPropagation","apply","arguments","keyDownHandler","proxy","$refs","modal","ModalActions","Modal","enterKeyPressed","darker","Number","rowCount","index","style","rowHeight","URL","env","API_URL","siteUrl","SITE_URL","productImagePath","PRODUCT_IMAGE_PATH","EventBus","Vue","functional","h","slotFn","authLoading","Component","tag","pageClasses","hasHero","isDashboard","isAccount","lowercaseRouteName","whiteFooter","hiding","declineClickHandler","consentClickHandler","ButtonContainer","show","decisionMade","mounted","watch","setDecision","createFlash","decision","showConfirmation","headerTextVariant","sendMessage","hide","preventDefault","domProps","target","composing","subject","body","variants","$store","state","comments","modalOpen","get","commentSubject","set","commit","commentBody","dispatch","dig","completeHandler","title","text","confirmations","length","confirmation","options","accepted","dismissNotification","floatingFooterVisible","Date","getFullYear","cookieDecision","CheckboxInput","CookiesModal","PrivacyPolicyModal","closeMobileMenu","isAuthenticated","mobileMenuOpen","unreadNotificationCount","notificationsClickHandler","smallNotificationButton","openMobileMenu","routePaths","isCurrentRoute","routeIcons","routeClickHandler","routeLabels","userClickHandler","largeNotificationButton","close","logout","navMenuMixin","routes","Dashboard","ImportBasket","Offers","Basket","Orders","currentRoute","compose","reduce","carry","item","assoc","getRoutePath","routeName","route","find","substr","loadComplete","notificationCount","TableLoadingPlaceholder","NotificationsList","Badge","Pipe","openLocalModal","targetElement","userButton","$el","contentComponent","UserMenu","maskComponent","CloseUserMenuButton","width","NotificationsModal","CloseNotificationsModalButton","customClass","internalContentComponent","componentData","getStateValue","prop","tether","attachment","targetAttachment","when","is","Array","equals","split","pathOr","created","Tether","element","beforeDestroy","destroy","LocalModalMask","LocalModal","closing","open","paths","hideHandler","VueEasyLightbox","images","map","clearImages","$nextTick","ImageLightbox","CookieConsent","MobileMenu","LocalModalWrapper","HeaderBar","MessagingModal","AppFooter","FlashNotifications","ConfirmationModal","userName","toLower","showHeader","checkAuthenticated","replace","Loading","PageTemplate","corePageLoadComplete","notificationLoadComplete","initCookieConsent","initializeAuth","setRedirect","updated","xhrLoadNotifications","getShouldRedirect","meta","requiresAuth","pathFunc","FetchPath","constructor","fetch","buildUrl","httpCache","authInitialiser","async","method","parameters","anchor","jsonPath","headers","retryOnAuthError","earliestPermittedCacheHit","isPartialCacheResult","cacheResult","cacheObject","read","isPartialResult","result","response","credentials","Accept","JSON","stringify","catch","e","run","Error","json","parse","message","ok","error","concat","write","datetimeStringToTimestampConverter","isNaN","getTime","formatOffer","iri","offerData","formatOfferLine","offerLineData","getOffersFactory","fetchPath","contactId","offers","status","shared","itemsPerPage","offerLineGroups","all","cacheThreshold","offer","offerLines","offerLine","getOfferByIdFactory","loadLines","shareOfferFactory","contact","emailList","HttpCacheItem","createdOn","expiresOn","isObject","isArray","isCacheItem","httpCacheItem","getEpoch","Math","floor","divide","__","HttpCache","poolConfigProvider","adapterFactory","serviceFactory","expiredItemFilter","createdAfterFilter","setVuexStore","vuexStore","earliestPermittedHit","poolConfig","provide","adapter","create","initialCachedItems","load","cachedItems","save","service","hits","currentTimestamp","HttpCachePoolConfig","config","test","strategy","timeToLive","serviceArgs","HttpCachePoolConfigProvider","configArray","configContainers","toPairs","localStorageAllowed","matchPath","curry","pattern","match","isString","requestIdProvider","entityIdProvider","startsWith","offerParameter","idParameter","isGroupRequest","groupIdProvider","pools","HttpCacheAbstractAdapter","supports","cacheItems","HttpCacheVolatileAdapter","super","cacheData","isNotArray","not","HttpCacheLocalStorageAdapter","getData","setData","localStorageKeyPrefix","filter","constructKey","HttpCacheAbstractService","serviceType","partialResult","cachePool","valueOrValues","HttpCacheItemService","calculateExpiresOnValue","getServiceArgsFunction","itemType","itemOrItems","append","HttpCacheGroupService","itemService","getServiceArgsValue","iriFactory","groupItem","idList","idListProvider","pathFactory","idCount","hit","splice","indexOf","clone","items","getIdParameterName","add","valuePath","defaultValue","undefined","functionPath","extractIdFromIri","last","dropLast","basePath","groupService","HttpCacheAdapterFactory","adapters","HttpCacheServiceFactory","services","adaptorFactory","thresholdTimestamp","lte","fetchWrapper","url","domain","AUTH0_DOMAIN","clientId","AUTH0_CLIENT_ID","audience","auth0Client","auth0","clientID","redirectUri","scope","AuthInitialiser","checkSession","loadAuth0User","loadUserData","getUserData","session","authenticated","userError","user","userDataError","userData","responseType","args","accessToken","client","userInfo","getOffers","getOfferById","shareOffer","recordUsageData","contactIri","action","yodaFormatter","object","createAccountRequest","requestData","updateAccount","createAccount","namespaced","actions","root","s","extractError","defaultErrorMessage","error_description","description","code","initialisationResolver","window","location","hash","username","email","password","returnTo","login","realm","LocalStorage","clear","resetPassword","_email","changePassword","connection","verifyAuthentication","setError","setUser","setInitialisationPromise","initialisationPromise","setAuthenticated","setLoading","loading","awaitable","Awaitable","mutations","createBasket","currencyCode","basketLines","loadContactBasket","basket","submitBasket","offerIds","createBasketLine","loadAdditionalBasketData","offerLineIriUnitQuantityMapFactory","totals","offerLineIriUnitQuantityMap","keys","prototype","hasOwnProperty","call","offerIRI","additionalDataLoaded","unitQuantity","loadAdditionalBasketDataFactory","markOfferLineAsBusyHandler","offerLineId","busyLineResolver","rootState","auth","currentBasket","basketReloadPending","basketReloadQueued","currentBasketId","submissionId","submission","actionType","query","basketLine","busyLineResolvers","sumUnitQuantity","updatedBasketLine","ids","updateBasketProperty","property","updateBasketLineProperty","findIndex","propEq","assocPath","mergeArrays","a","b","appendBasketLines","lines","list","isNotNil","isNil","setLoadingAdditionalData","loadingAdditionalData","setCurrentBasket","setTotalsOnCurrentBasket","addLinesToCurrentBasket","MERGE_LINE_INTO_BASKET","lineFound","existingLine","REMOVE_LINES_FROM_BASKET","offerLineIris","isEmpty","addOfferLinesToCurrentBasket","iriMatches","basketOffer","uniqWith","eqBy","MARK_OFFER_LINE_AS_BUSY","busyOfferLines","UNMARK_OFFER_LINE_AS_BUSY","omit","SET_BASKET_RELOAD_PENDING","SET_BASKET_RELOAD_QUEUED","busyOfferLineIds","hasPopulatedBasket","currentBasketLines","currentBasketCurrencyCode","basketHasZeroQuantityLine","actionsFactory","getters","createId","random","toString","slice","createUniqueId","extantIds","Confirmation","entries","forEach","addConfirmation","removeConfirmation","cid","finally","success","remove","xhrSaveCommentForBasket","comment","xhrSaveCommentForBasketLine","payload","loaded","entities","viewedEntityIds","notEquals","SET_LOADED","REPLACE_ENTITIES","ADD_VIEWED_ENTITY_ID","entityId","REMOVE_ENTITY","entity","ADD","HIDE","REMOVE","resolver","duration","internalResolver","immediateDismiss","modules","flash","setOffers","setOffer","setFilters","filters","updateOffer","update","currentFilters","initialFilters","updatedFilters","offerFilters","changes","clearFilters","filtersWere","emailAddresses","getOffer","identifier","parseInt","values","shareKey","linesWithoutSectionByOffer","requireAuthentication","orders","entityCount","page","pageSize","SET_LOADING","SET_ORDERS","UPDATE_ORDER","SET_ENTITY_COUNT","SET_PAGE","SET_FILTERS","machineDateFormatter","date","year","month","getMonth","padStart","day","getDate","isNotNilOrEmpty","either","apiUrl","updateLoadingFlag","createdFilter","invoiceFilter","statusFilter","order","canConfirm","getAttr","setPage","file","formData","FormData","basketId","files","filtersApplied","invoice","statuses","start","end","SET_ENTITIES","xhrIndex","orderType","salesNegotiation","salesOrder","SET","orderChanges","SET_VALUES","CookieInteractor","Cookie","expires","cookieInteractor","SET_DECISION","init","existingDecision","basketFileImport","SET_BASKET_FILE_IMPORT","getEntities","countLinesByValidFlag","valid","lineCount","validLineCount","invalidLineCount","amendedQuantityLineCount","line","originalQuantity","correctedQuantity","evolve","trim","importTotalValue","multiply","importCurrency","SET_OPEN","SET_IMAGES","ADD_IMAGE","image","addImage","src","addMultipleImages","endCorePageLoad","displayFloatingFooter","hideFloatingFooter","setCorePageLoadComplete","setMobileMenuOpen","setFloatingFooterVisible","navigate","use","Vuex","account","localModal","messages","cookieConsent","basketImport","lightbox","VueRouter","forceHeader","router","mode","base","process","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","store","pick","BootstrapVue","VueObserveVisibility","vSwitch","productionTip","App","subscribe","mutation","$mount","noHoverState","underlined","isFocused","lastError","containerClasses","errorAsString","focusHandler","blurHandler","searchTerm","brands","minPrice","maxPrice","sections","getEntry","localStorage","getItem","digArgs","entry","blank","current","array","lastItem","nextKey","setItem","LocalStorageActor","localStorageKey","static","removeItem","Offer","lineId","OfferFilters","filterData","c","detectBrowser","userAgent","RegExp","navigator","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","m","deferred","O","chunkIds","priority","notFulfilled","Infinity","i","fulfilled","j","every","r","n","getter","__esModule","d","definition","o","defineProperty","enumerable","f","chunkId","promises","u","miniCssF","g","globalThis","Function","obj","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","document","getElementsByTagName","getAttribute","createElement","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","head","appendChild","Symbol","toStringTag","p","createStylesheet","fullhref","oldTag","linkTag","rel","onLinkComplete","errorType","realHref","href","err","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}