{"version":3,"file":"app.74cd6d6c0523c0bd932f.js","sources":["webpack:///./components/DynamicButton.vue?2d95","webpack:///./components/DynamicButton.vue","webpack:///./components/DynamicButton.vue?4c0c","webpack:///./plugins/vue-swipeable.js","webpack:///./plugins/vue-carousel.js","webpack:///./plugins/post-hog.js","webpack:///./plugins/vue-slider.js","webpack:///./plugins/vue-scroll-picker.js","webpack:///./plugins/vue-phone-number-input.js","webpack:///./plugins/fontawesome.js","webpack:///./layouts/error.vue?765f","webpack:///./components/DynamicButton.vue?644d","webpack:///./components/NavBar.vue?edd1","webpack:///./components/SearchBar.vue?29ff","webpack:///./components/ShoppingCart.vue?e386","webpack:///./components/DatePicker.vue?d265","webpack:///./components/Calendar.vue?eed1","webpack:///./components/TimePicker.vue?43cb","webpack:///./components/QuantityOperator.vue?08a7","webpack:///./components/LoadingBar.vue?9c0a","webpack:///./components/FooterBar.vue?95f5","webpack:///./components/DynamicModal.vue?f02d","webpack:///./layouts/default.vue","webpack:///./layouts/default.vue?7e59","webpack:///./layouts/default.vue?7e9a","webpack:///./components/Loading.vue","webpack:///./components/Loading.vue?0711","webpack:///./components/Loading.vue?0171","webpack:///./components/QuantityOperator.vue","webpack:///./components/QuantityOperator.vue?2da7","webpack:///./components/QuantityOperator.vue?9e37","webpack:///./components/DynamicModal.vue","webpack:///./components/DynamicModal.vue?12ad","webpack:///./components/DynamicModal.vue?7b15","webpack:///./components/Calendar.vue?5090","webpack:///./components/Calendar.vue","webpack:///./components/Calendar.vue?50ea","webpack:///./components/SearchBar.vue","webpack:///./components/SearchBar.vue?8500","webpack:///./components/SearchBar.vue?573e","webpack:///./components/ShoppingCart.vue","webpack:///./components/ShoppingCart.vue?591a","webpack:///./components/ShoppingCart.vue?6cd9","webpack:///./components/DatePicker.vue","webpack:///./components/DatePicker.vue?ba65","webpack:///./components/DatePicker.vue?14a4","webpack:///./components/TimePicker.vue?46e8","webpack:///./components/TimePicker.vue","webpack:///./components/TimePicker.vue?2ff7","webpack:///./middleware/redirect.js","webpack:///./layouts/error.vue?bdb5","webpack:///./components/DynamicButton.vue?ccf3","webpack:///./static/styles/main.scss","webpack:///./components/NavBar.vue?0ff7","webpack:///./components/SearchBar.vue?b2e2","webpack:///./components/ShoppingCart.vue?f903","webpack:///./components/DatePicker.vue?abb6","webpack:///./components/Calendar.vue?6f7e","webpack:///./components/TimePicker.vue?4744","webpack:///./components/QuantityOperator.vue?3bef","webpack:///./components/LoadingBar.vue?9be0","webpack:///./components/FooterBar.vue?4ced","webpack:///./components/DynamicModal.vue?fb55","webpack:///./node_modules/moment/locale sync \\b\\B","webpack:///./components/NavBar.vue","webpack:///./components/NavBar.vue?0e28","webpack:///./components/NavBar.vue?0598","webpack:///./components/LoadingBar.vue","webpack:///./components/LoadingBar.vue?e311","webpack:///./components/LoadingBar.vue?a815","webpack:///./components/FooterBar.vue","webpack:///./components/FooterBar.vue?0005","webpack:///./components/FooterBar.vue?5f97","webpack:///./utils/createDeliveryDays.js","webpack:///./utils/generateFilterQuery.js","webpack:///./utils/debounce.js","webpack:///./store/index.js","webpack:///./layouts/error.vue","webpack:///./layouts/error.vue?4c03","webpack:///./layouts/error.vue?4aaa"],"sourceRoot":"","sourcesContent":["import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicButton.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicButton.vue?vue&type=script&lang=js\"","\nexport default {\n name: \"DynamicButton\",\n props: {\n dynamicId: {\n type: String,\n default: \"\",\n required: false,\n },\n isSlot: {\n type: Boolean,\n default: false,\n required: false,\n },\n width: {\n type: String,\n default: \"10rem\",\n required: false,\n },\n text: {\n type: String,\n default: \"\",\n required: false,\n },\n icon: {\n type: String,\n default: \"\",\n required: false,\n },\n color: {\n type: String,\n default: \"green\",\n required: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n required: false,\n },\n submit: {\n type: Boolean,\n default: false,\n required: false,\n },\n spinning: {\n type: Boolean,\n default: false,\n required: false,\n },\n size: {\n type: String,\n default: \"large\",\n },\n },\n computed: {\n iconUsed() {\n return this.icon !== \"\"\n },\n },\n methods: {\n returnClick() {\n this.$emit(\"clickEvent\")\n },\n },\n}\n","import { render, staticRenderFns } from \"./DynamicButton.vue?vue&type=template&id=32cee360\"\nimport script from \"./DynamicButton.vue?vue&type=script&lang=js\"\nexport * from \"./DynamicButton.vue?vue&type=script&lang=js\"\nimport style0 from \"./DynamicButton.vue?vue&type=style&index=0&id=32cee360&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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 Vue from \"vue\"\nimport Vue2TouchEvents from \"vue2-touch-events\"\n\nVue.use(Vue2TouchEvents)\n","import Vue from \"vue\"\nimport VueCarousel from \"vue-carousel\"\n\nVue.use(VueCarousel)\n","import posthog from \"posthog-js\"\nimport Vue from \"vue\"\n\nexport default function ({ app: { router } }, inject) {\n posthog.init(\"phc_Rkpvnbr5B8QlmhubENWGDvL0uwRrs9ckusKm00yrkTa\", {\n api_host: \"https://eu.i.posthog.com\",\n capture_pageview: false,\n capture_pageleave: true,\n autocapture: true,\n })\n inject(\"posthog\", posthog)\n router.afterEach((to) => {\n Vue.nextTick(() => {\n posthog.capture(\"$pageview\", {\n $current_url: to.fullPath,\n })\n })\n })\n}\n","import Vue from \"vue\"\nimport VueSlider from \"vue-slider-component\"\nimport \"vue-slider-component/theme/default.css\"\n\nVue.component(\"VueSlider\", VueSlider)\n","import Vue from \"vue\"\nimport { ScrollPicker } from \"vue-scroll-picker\"\nimport \"vue-scroll-picker/dist/style.css\"\n\nVue.component(\"ScrollPicker\", ScrollPicker)\n","import Vue from \"vue\"\nimport VuePhoneNumberInput from \"vue-phone-number-input\"\nimport \"../node_modules/vue-phone-number-input/dist/vue-phone-number-input.css\"\n\nVue.component(\"vue-phone-number-input\", VuePhoneNumberInput)\n","import Vue from \"vue\"\nimport { library, config } from \"@fortawesome/fontawesome-svg-core\"\nimport { FontAwesomeIcon } from \"@fortawesome/vue-fontawesome\"\n\nimport {\n faBars,\n faChevronRight,\n faChevronLeft,\n faTimes,\n faCheck,\n faChevronDown,\n faChevronUp,\n faPlus,\n faMinus,\n faUser,\n faSpinner,\n faShoppingBasket,\n faSearch,\n faTags,\n faClockRotateLeft,\n faCopyright,\n faLocationArrow,\n faPhone,\n faEnvelope,\n faMapMarker,\n faClock,\n faCalendar,\n faLink,\n faExclamationTriangle,\n faExclamationCircle,\n faExclamation,\n faMapPin,\n faCalendarDays,\n faReceipt,\n faTruck,\n faCircleCheck,\n faMagnifyingGlass,\n faSliders,\n faHatChef,\n faCirclePlus,\n faCircleMinus,\n faInfoCircle,\n faRotateLeft,\n faLock,\n faTrash,\n faGift,\n faEye,\n faDownload,\n faPrint,\n faArrowRight,\n faArrowUp,\n faArrowDown,\n faSealQuestion,\n faArrowLeft,\n} from \"@fortawesome/pro-light-svg-icons\"\n\nimport { faRotateRight } from \"@fortawesome/pro-regular-svg-icons\"\n\nimport {\n faXmark,\n faStar,\n faShoppingCart,\n faFaceSmile,\n faFaceFrown,\n} from \"@fortawesome/pro-solid-svg-icons\"\n\nimport {\n faFacebook,\n faTwitter,\n faXTwitter,\n faInstagram,\n faLinkedin,\n faGoogle,\n faWhatsapp,\n} from \"@fortawesome/free-brands-svg-icons\"\n\nlibrary.add(\n faBars,\n faChevronRight,\n faChevronLeft,\n faTimes,\n faCheck,\n faChevronDown,\n faChevronUp,\n faPlus,\n faMinus,\n faUser,\n faSpinner,\n faShoppingBasket,\n faSearch,\n faTags,\n faClockRotateLeft,\n faCopyright,\n faLocationArrow,\n faPhone,\n faEnvelope,\n faMapMarker,\n faClock,\n faCalendar,\n faLink,\n faExclamationTriangle,\n faExclamationCircle,\n faExclamation,\n faMapPin,\n faCalendarDays,\n faReceipt,\n faTruck,\n faCircleCheck,\n faMagnifyingGlass,\n faSliders,\n faHatChef,\n faCirclePlus,\n faCircleMinus,\n faInfoCircle,\n faRotateLeft,\n faLock,\n faTrash,\n faGift,\n faEye,\n faDownload,\n faPrint,\n faArrowRight,\n faArrowLeft,\n faArrowUp,\n faArrowDown,\n faSealQuestion,\n faRotateRight,\n faXmark,\n faStar,\n faShoppingCart,\n faFaceSmile,\n faFaceFrown,\n faFacebook,\n faXTwitter,\n faTwitter,\n faInstagram,\n faLinkedin,\n faGoogle,\n faWhatsapp\n)\n\nconfig.autoAddCss = true\n\nVue.component(\"fa\", FontAwesomeIcon)\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\nimport { mapState, mapMutations, mapActions, mapGetters } from \"vuex\"\n\nexport default {\n name: \"Default\",\n data: () => ({\n imageUrl: process.env.IMAGE_URL,\n }),\n computed: {\n ...mapGetters([\"cartItemCount\"]),\n ...mapState([\n \"chosenMaker\",\n \"authenticated\",\n \"chosenDiscount\",\n \"templateLoading\",\n \"rewards\",\n \"makerCategories\",\n \"cart\",\n \"cuisines\",\n \"chosenProduct\",\n \"showCart\",\n \"user\",\n \"reviews\",\n ]),\n },\n watch: {\n authenticated(to) {\n to && this.getCustomer()\n },\n $route(from, to) {\n if (to.name !== from.name) {\n if (to.name !== \"search\" || to.name !== \"index\") {\n this.deepFilter(false)\n }\n this.setCartStatus(false)\n this.setSearchStatus(false)\n }\n },\n showCart(to) {\n if (to) {\n document.querySelector(\"html\").style.overflowY = \"hidden\"\n } else {\n document.querySelector(\"html\").style.overflowY = \"scroll\"\n }\n },\n },\n mounted() {\n !this.makerCategories && this.getMakerCategories()\n !this.reviews && this.getReviews()\n this.setWindowSize(window.innerWidth)\n window.addEventListener(\"resize\", this.handleResize)\n this.init()\n this.$route.query.discount &&\n this.setChosenDiscount({\n discount_code: this.$route.query.discount\n .toUpperCase()\n .replace(/\\s+/g, \"\"),\n })\n },\n beforeDestroy() {\n window.removeEventListener(\"resize\", this.handleResize)\n },\n methods: {\n ...mapMutations({\n setCustomer: \"SET_CUSTOMER\",\n setDeliveryAddress: \"SET_DELIVERY_ADDRESS\",\n setAuthenticated: \"SET_AUTHENTICATED\",\n setCart: \"SET_CART\",\n setOrder: \"SET_ORDER\",\n setChosenDiscount: \"SET_CHOSEN_DISCOUNT\",\n setWindowSize: \"SET_WINDOW_SIZE\",\n setSearchStatus: \"SET_SEARCH_STATUS\",\n setCartStatus: \"SET_CART_STATUS\",\n setDealId: \"SET_DEAL_ID\",\n }),\n ...mapActions([\n \"getMakerCategories\",\n \"getMakerBySlug\",\n \"addToCart\",\n \"getShareCart\",\n \"deepFilter\",\n \"getCustomer\",\n \"getReviews\",\n ]),\n init() {\n if (this.$route.query.loginAs) {\n this.setAuthenticated(JSON.parse(this.$route.query.loginAs))\n this.$router.push(\"/account\")\n } else {\n this.setAuthenticated(\n JSON.parse(localStorage.getItem(\"authenticated\") || false)\n )\n this.setCustomer(JSON.parse(localStorage.getItem(\"customer\") || false))\n }\n this.setDeliveryAddress(\n JSON.parse(localStorage.getItem(\"address\") || false)\n )\n if (this.$route.query.deal_id) {\n this.setDealId(this.$route.query.deal_id)\n }\n if (this.$route.query.cart) {\n this.getShareCart(this.$route.query.cart).then((data) => {\n const currentCart = JSON.parse(data.data.cart)\n this.getMakerBySlug({\n slug: currentCart.maker.slug,\n makerPage: false,\n }).then(() => {\n this.addToCart({\n ...currentCart,\n maker: this.chosenMaker,\n })\n })\n })\n } else {\n this.setCart(JSON.parse(localStorage.getItem(\"and-dine-cart\") || false))\n }\n },\n handleResize() {\n this.setWindowSize(window.innerWidth)\n },\n goToMaker(val) {\n if (this.cartItemCount > 0 && val) {\n this.$route.name === \"store-slug\"\n ? window.scrollTo({ top: 600, behavior: \"smooth\" })\n : this.$router.push(`/store/${this.cart.maker.slug}`)\n }\n },\n },\n head() {\n return {\n link: [\n {\n rel: \"canonical\",\n hid: \"canonical\",\n href: `https://anddine.co.uk/${this.$route.path}`,\n },\n ],\n }\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./default.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./default.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./default.vue?vue&type=template&id=12621bfc\"\nimport script from \"./default.vue?vue&type=script&lang=js\"\nexport * from \"./default.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {Loading: require('/codebuild/output/src2803098981/src/and-dine/components/Loading.vue').default,NavBar: require('/codebuild/output/src2803098981/src/and-dine/components/NavBar.vue').default,ShoppingCart: require('/codebuild/output/src2803098981/src/and-dine/components/ShoppingCart.vue').default,FooterBar: require('/codebuild/output/src2803098981/src/and-dine/components/FooterBar.vue').default})\n","\nexport default {\n data: () => ({\n imageUrl: process.env.IMAGE_URL,\n }),\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=71748fe1\"\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-loader/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","\nexport default {\n name: \"QuantityOperator\",\n props: {\n productQuantity: {\n type: Number,\n required: true,\n default: 1,\n },\n item: {\n type: Object,\n default: () => {},\n required: false,\n },\n modifiers: {\n type: Array,\n default: () => [],\n required: false,\n },\n minQuantity: {\n type: Number,\n default: 1,\n required: false,\n },\n maxQuantity: {\n type: Number,\n default: 100,\n required: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n required: false,\n },\n showBin: {\n type: Boolean,\n default: true,\n required: false,\n },\n disableMinus: {\n type: Boolean,\n default: false,\n required: false,\n },\n picker: {\n type: Boolean,\n default: false,\n required: false,\n },\n input: {\n type: Boolean,\n default: false,\n required: false,\n },\n vertical: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n data: () => ({\n quantity: 0,\n showPicker: false,\n }),\n computed: {\n isMax() {\n return (\n this.maxQuantity <= 0 ||\n (this.maxQuantity < this.minQuantity && this.quantity === 0)\n )\n },\n isMin() {\n return this.quantity <= this.minQuantity\n },\n },\n watch: {\n productQuantity(to) {\n this.quantity = to\n },\n quantity(to) {\n this.quantity = parseInt(to)\n },\n },\n mounted() {\n this.quantity = this.productQuantity\n },\n methods: {\n changeQuantity(plus) {\n if (this.item?.modifierGroups && this.item?.modifierGroups.length > 0) {\n this.$emit(\"returnQuantity\", {\n product: { ...this.item, quantity: this.quantity },\n appliedModifiers: this.modifiers,\n })\n } else {\n !plus && (this.quantity -= 1)\n plus &&\n (this.quantity >= this.minQuantity\n ? (this.quantity += 1)\n : (this.quantity = this.minQuantity))\n this.$emit(\"returnQuantity\", {\n product: { ...this.item, quantity: this.quantity },\n appliedModifiers: this.modifiers,\n })\n }\n },\n updateScrollQuantity() {\n this.showPicker = false\n this.$emit(\"returnQuantity\", {\n product: { ...this.item, quantity: this.quantity },\n appliedModifiers: this.modifiers,\n })\n },\n updateInputQuantity() {\n setTimeout(() => {\n if (!this.quantity) this.quantity = 10\n if (this.minQuantity > 0 && this.quantity < this.minQuantity)\n this.quantity = this.minQuantity\n if (this.quantity > this.maxQuantity) this.quantity = this.maxQuantity\n\n this.$emit(\"returnQuantity\", {\n product: { ...this.item, quantity: this.quantity },\n appliedModifiers: this.modifiers,\n })\n }, 500)\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuantityOperator.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuantityOperator.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./QuantityOperator.vue?vue&type=template&id=66dc3658\"\nimport script from \"./QuantityOperator.vue?vue&type=script&lang=js\"\nexport * from \"./QuantityOperator.vue?vue&type=script&lang=js\"\nimport style0 from \"./QuantityOperator.vue?vue&type=style&index=0&id=66dc3658&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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","\nexport default {\n name: \"Modal\",\n props: {\n hasHeader: {\n type: Boolean,\n default: false,\n required: false,\n },\n hasFooter: {\n type: Boolean,\n default: false,\n required: false,\n },\n fullScreen: {\n type: Boolean,\n default: false,\n required: false,\n },\n width: {\n type: String,\n default: \"40%\",\n required: false,\n },\n height: {\n type: String,\n default: \"90dvh\",\n required: false,\n },\n visible: {\n type: Boolean,\n default: false,\n required: false,\n },\n showClose: {\n type: Boolean,\n default: true,\n required: false,\n },\n },\n watch: {\n visible(to) {\n if (to) {\n document.body.classList.add(\"no-scroll\")\n this.$nextTick(() => {\n const modalBody = this.$refs.modalBody\n if (modalBody) {\n modalBody.scrollTop = 0\n }\n })\n } else {\n document.body.classList.remove(\"no-scroll\")\n }\n },\n },\n methods: {\n closeModal() {\n document.body.classList.remove(\"no-scroll\")\n this.$emit(\"closeModal\")\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DynamicModal.vue?vue&type=template&id=1bf5285a&scoped=true\"\nimport script from \"./DynamicModal.vue?vue&type=script&lang=js\"\nexport * from \"./DynamicModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./DynamicModal.vue?vue&type=style&index=0&id=1bf5285a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1bf5285a\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {DynamicButton: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicButton.vue').default})\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js\"","\nexport default {\n name: \"Calendar\",\n props: {\n chosenDate: {\n type: [Object, Boolean],\n required: false,\n default: false,\n },\n dateList: {\n type: [Array, Boolean],\n required: false,\n default: false,\n },\n hoveredDate: {\n type: [String, Boolean],\n required: false,\n default: false,\n },\n deliveryDays: {\n required: false,\n default: false,\n type: [Array, Boolean],\n },\n width: {\n required: false,\n default: \"100%\",\n type: String,\n },\n yearly: {\n required: false,\n default: false,\n type: Boolean,\n },\n fullScreen: {\n required: false,\n default: false,\n type: Boolean,\n },\n reservedDays: {\n type: [Array, Boolean],\n default: false,\n required: false,\n },\n },\n data() {\n return {\n calendarDate: this.$moment(),\n days: [\"Mon\", \"Tues\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"],\n dates: [],\n blanks: \"\",\n today: {\n moment: this.$moment(),\n number: this.$moment().format(\"DD\"),\n month: this.$moment().format(\"MMMM\"),\n year: this.$moment().format(\"YYYY\"),\n },\n monthDiff: 0,\n }\n },\n mounted() {\n this.getDates()\n },\n methods: {\n getDates() {\n this.calendarDate.startOf(\"month\")\n const startWeekday = this.calendarDate.day()\n const startDay = startWeekday === 0 ? 6 : startWeekday - 1\n this.blanks = startDay\n\n this.dates = Array.from(\n { length: this.calendarDate.daysInMonth() },\n (_, i) => {\n const date = this.calendarDate.clone().add(i, \"days\")\n\n return {\n number: date.format(\"DD\"),\n day: date.format(\"dddd\"),\n month: date.format(\"MMMM\"),\n year: date.format(\"YYYY\"),\n full: date.format(\"YYYY-MM-DD\"),\n string: `${date.format(\"dddd\")} ${date.format(\"Do\")} ${date.format(\n \"MMMM\"\n )} ${date.format(\"YYYY\")}`,\n iso: date.toISOString(),\n inPast: date.isBefore(this.today.moment, \"day\"),\n isToday: date.isSame(this.today.moment, \"day\"),\n available: this.deliveryDays\n ? this.deliveryDays.find(\n (day) => day.full === date.format(\"YYYY-MM-DD\")\n )?.available\n : true,\n }\n }\n )\n },\n prevYear() {\n this.calendarDate = this.calendarDate.subtract(1, \"year\")\n this.getDates()\n },\n nextYear() {\n this.calendarDate = this.calendarDate.add(1, \"year\")\n this.getDates()\n },\n prevMonth() {\n this.calendarDate = this.calendarDate.subtract(1, \"month\")\n this.getDates()\n },\n nextMonth() {\n this.calendarDate = this.calendarDate.add(1, \"month\")\n this.getDates()\n },\n chooseDate(date) {\n this.$emit(\"returnDate\", date)\n this.$emit(\"closeCalendar\")\n },\n updateHoveredDate(date) {\n this.$emit(\"returnHovered\", date.full)\n },\n },\n}\n","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=9bedf57c\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=9bedf57c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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","\nimport { mapState } from \"vuex\"\n\nexport default {\n name: \"SearchBar\",\n data: () => ({\n searchTerm: \"\",\n andDineApi: process.env.AND_DINE_IMAGE,\n imageUrl: process.env.IMAGE_URL,\n timeout: null,\n }),\n computed: {\n ...mapState([\"searchResults\"]),\n showResults() {\n return (\n this.searchResults &&\n this.searchResults.length > 0 &&\n this.searchTerm !== \"\"\n )\n },\n },\n watch: {\n $route(to, from) {\n if (to !== from) {\n this.clearSearch()\n }\n },\n },\n methods: {\n returnSearch() {\n if (this.searchTerm === \"\") {\n this.$emit(\"returnSearch\", false)\n } else {\n this.$emit(\"returnSearch\", this.searchTerm)\n }\n },\n clearSearch() {\n this.searchTerm = \"\"\n this.$emit(\"returnSearch\", false)\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=61dd59be\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=js\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchBar.vue?vue&type=style&index=0&id=61dd59be&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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","\nimport { mapActions, mapState, mapMutations } from \"vuex\"\nimport copy from \"copy-to-clipboard\"\n\nexport default {\n name: \"ShoppingCart\",\n props: {\n disableInputs: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n data: () => ({\n andDineApi: process.env.AND_DINE_IMAGE,\n showWindows: false,\n showDeliveryTooltip: false,\n showCalendar: false,\n shareLink: false,\n }),\n computed: {\n ...mapState([\n \"customerRole\",\n \"customer\",\n \"cart\",\n \"order\",\n \"deliveryFilter\",\n \"isBiz\",\n \"cartError\",\n \"user\",\n \"dealId\",\n \"chosenDeal\",\n \"showCart\",\n ]),\n isUserSales() {\n return this.user.role === \"sales\"\n },\n belowMinAmount() {\n return (\n this.minOrderVal >\n parseFloat(\n (this.order?.food_total || this.cart.totalVatFree) / 100\n ).toFixed(2)\n )\n },\n showCartItems() {\n return this?.cart?.items && this.cart.items.length > 0\n },\n freeDeliveryReached() {\n return (\n parseFloat(this.cart.subtotal) >=\n parseFloat(this.cart.maker.free_delivery_min_amount)\n )\n },\n minOrderVal() {\n return this.isBiz ? this.cart.maker.min_order_amount / 100 || 15 : 15\n },\n isCheckout() {\n return this.$route.name === \"checkout\"\n },\n localDelivery() {\n return this.cart.totalVatFree >= 40000\n ? this.cart.totalVatFree >= 200000\n ? 6500\n : 5000\n : 3500\n },\n localVAT() {\n return this.cart.vatTotal + this.localDelivery * 0.2\n },\n },\n methods: {\n ...mapActions([\n \"removeFromCart\",\n \"addToCart\",\n \"createShareCart\",\n \"validateOrder\",\n ]),\n ...mapMutations({\n setCartStatus: \"SET_CART_STATUS\",\n setDeliveryDate: \"SET_DELIVERY_DATE\",\n setSelectedWindow: \"SET_SELECTED_WINDOW\",\n setDeliveryWindows: \"SET_DELIVERY_WINDOWS\",\n }),\n goToCheckout() {\n this.$router.push(\"/checkout\")\n this.setCartStatus(false)\n },\n generateGroupOrder() {\n alert(\"generateGroupOrder\")\n },\n updateShareLink() {\n this.shareLink = false\n this.createShareCart(this.dealId).then((response) => {\n const shareLink = encodeURI(\n `${process.env.MAIN_URL}store/${this.cart.maker.slug}/?cart=${response.data.id}`\n )\n this.shareLink = true\n copy(shareLink)\n })\n },\n updateCartQuantity(payload) {\n const updatedItems = this?.cart?.items || []\n const currentItem = updatedItems.find(\n (item) =>\n item.product.id === payload.product.id &&\n item.appliedModifiers.every(\n (modifier, index) =>\n modifier.modifier_id ===\n payload.appliedModifiers[index].modifier_id\n )\n )\n if (\n payload.product.quantity >= payload.product.min_order_amount ||\n !payload.product.min_order_amount\n ) {\n this.addToCart({\n ...this.cart,\n product: currentItem.product,\n quantity: payload.product.quantity,\n appliedModifiers: currentItem.appliedModifiers,\n date: this.cart?.date || false,\n })\n } else {\n this.removeCartItem(payload)\n }\n },\n removeCartItem(item) {\n this.removeFromCart({\n product: item.product,\n quantity: 0,\n appliedModifiers: item.appliedModifiers,\n maker: this.cart.maker,\n date: this.cart?.date || false,\n })\n },\n chooseDeliveryDate(date) {\n this.setDeliveryDate(date)\n this.setDeliveryWindows(date)\n },\n chooseDeliveryWindow(window) {\n this.setSelectedWindow(window)\n this.validateOrder(this.cart)\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShoppingCart.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShoppingCart.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ShoppingCart.vue?vue&type=template&id=be2c2882\"\nimport script from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nexport * from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nimport style0 from \"./ShoppingCart.vue?vue&type=style&index=0&id=be2c2882&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {DynamicButton: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicButton.vue').default,DatePicker: require('/codebuild/output/src2803098981/src/and-dine/components/DatePicker.vue').default,TimePicker: require('/codebuild/output/src2803098981/src/and-dine/components/TimePicker.vue').default,QuantityOperator: require('/codebuild/output/src2803098981/src/and-dine/components/QuantityOperator.vue').default,LoadingBar: require('/codebuild/output/src2803098981/src/and-dine/components/LoadingBar.vue').default})\n","\nimport { mapState, mapMutations } from \"vuex\"\nexport default {\n name: \"DatePicker\",\n props: {\n chosenDate: {\n type: [Object, Boolean],\n default: false,\n required: false,\n },\n deliveryDays: {\n type: [Array, Boolean],\n default: false,\n required: false,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n fixed: {\n type: Boolean,\n required: false,\n default: true,\n },\n width: {\n type: String,\n required: false,\n default: \"21.4%\",\n },\n },\n computed: {\n ...mapState([\"showCalendar\", \"showSearch\"]),\n },\n methods: {\n ...mapMutations({ setCalendarStatus: \"SET_CALENDAR_STATUS\" }),\n toggleCalendar() {\n this.setCalendarStatus(!this.showCalendar)\n this.$emit(\"openedCalendar\", this.showCalendar)\n },\n returnDate(date) {\n this.$emit(\"returnDate\", date)\n this.$emit(\"openedCalendar\", false)\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=0bdc68f4\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js\"\nimport style0 from \"./DatePicker.vue?vue&type=style&index=0&id=0bdc68f4&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {Calendar: require('/codebuild/output/src2803098981/src/and-dine/components/Calendar.vue').default})\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimePicker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimePicker.vue?vue&type=script&lang=js\"","\nexport default {\n name: \"TimePicker\",\n props: {\n cart: {\n type: [Object, Boolean],\n default: false,\n required: false,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false,\n },\n fixed: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n data: () => ({\n showTimes: false,\n chosenTime: false,\n }),\n computed: {\n hasWindows() {\n return this.cart?.date?.deliveryWindows?.length > 0\n },\n hasSelected() {\n return this.cart.date?.selectedWindow\n },\n hasDate() {\n return this.cart.date\n },\n times() {\n const hours = this.cart?.date?.deliveryWindows.map((w) =>\n parseInt(w.name, 10)\n )\n const startHour = Math.min(...hours)\n const endHour = Math.max(...hours) + 1\n\n const start = this.$moment().startOf(\"day\").hour(startHour)\n const end = this.$moment().startOf(\"day\").hour(endHour)\n\n const intervals = []\n const current = start.clone()\n\n while (current.clone().add(30, \"minutes\").isSameOrBefore(end)) {\n const next = current.clone().add(30, \"minutes\")\n intervals.push(`${current.format(\"HH:mm\")} - ${next.format(\"HH:mm\")}`)\n current.add(15, \"minutes\")\n }\n\n return intervals\n },\n },\n methods: {\n toggleTimes() {\n this.showTimes = !this.showTimes\n },\n returnTime() {\n const time = `${this.chosenTime.slice(8, this.chosenTime.length)}`\n this.showTimes = false\n this.$emit(\"returnTime\", time)\n },\n },\n}\n","import { render, staticRenderFns } from \"./TimePicker.vue?vue&type=template&id=489e47a0\"\nimport script from \"./TimePicker.vue?vue&type=script&lang=js\"\nexport * from \"./TimePicker.vue?vue&type=script&lang=js\"\nimport style0 from \"./TimePicker.vue?vue&type=style&index=0&id=489e47a0&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {DynamicButton: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicButton.vue').default})\n","export default function ({ redirect }) {\n if (process.env.SUBDOMAIN === \"customer\") {\n redirect(\"/search\")\n }\n}\n","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./error.vue?vue&type=style&index=0&id=2aabc79f&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicButton.vue?vue&type=style&index=0&id=32cee360&prod&lang=scss\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavBar.vue?vue&type=style&index=0&id=1dee382c&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=style&index=0&id=61dd59be&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShoppingCart.vue?vue&type=style&index=0&id=be2c2882&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=style&index=0&id=0bdc68f4&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=9bedf57c&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimePicker.vue?vue&type=style&index=0&id=489e47a0&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuantityOperator.vue?vue&type=style&index=0&id=66dc3658&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingBar.vue?vue&type=style&index=0&id=8f1d9570&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./FooterBar.vue?vue&type=style&index=0&id=375e7f2d&prod&lang=scss\"","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicModal.vue?vue&type=style&index=0&id=1bf5285a&prod&lang=scss&scoped=true\"","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 490;","\nimport { mapState, mapMutations, mapGetters, mapActions } from \"vuex\"\nexport default {\n name: \"NavBar\",\n data: () => ({\n showMobileNav: false,\n isSearching: false,\n imageUrl: process.env.IMAGE_URL,\n }),\n computed: {\n ...mapState([\n \"deliveryFilter\",\n \"cart\",\n \"isBiz\",\n \"showSearch\",\n \"showCart\",\n \"showServices\",\n \"showMenus\",\n \"order\",\n ]),\n ...mapGetters([\"navItems\", \"cartItemCount\"]),\n correctRoute() {\n return this.currentPage === \"search\"\n },\n currentPage() {\n return this.$route.name\n },\n showCount() {\n return this.cartItemCount > 0\n },\n },\n watch: {\n $route(to) {\n this.showMobileNav = false\n this.isSearching = false\n this.setShowServices(false)\n },\n },\n methods: {\n ...mapActions([\"deepSearch\"]),\n ...mapMutations({\n setCartStatus: \"SET_CART_STATUS\",\n setShowServices: \"SET_SHOW_SERVICES\",\n setShowMenus: \"SET_SHOW_MENUS\",\n }),\n toggleSearch(val) {\n this.isSearching = val\n this.showMobileNav = false\n this.$emit(\"returnSearch\", val)\n },\n toggleMobileNav(val) {\n this.showMobileNav = val\n this.isSearching = false\n this.returnCartClick(false)\n },\n returnCartClick(val) {\n this.$emit(\"returnCartClick\", val)\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NavBar.vue?vue&type=template&id=1dee382c\"\nimport script from \"./NavBar.vue?vue&type=script&lang=js\"\nexport * from \"./NavBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./NavBar.vue?vue&type=style&index=0&id=1dee382c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {SearchBar: require('/codebuild/output/src2803098981/src/and-dine/components/SearchBar.vue').default})\n","\nexport default {\n name: \"LoadingBar\",\n props: {\n max: {\n type: Number,\n default: 100,\n required: false,\n },\n current: {\n type: Number,\n default: 0,\n required: false,\n },\n colour: {\n type: String,\n default: \"purple\",\n required: false,\n },\n },\n computed: {\n loadingWidth() {\n return `${parseFloat((this.current / this.max) * 100).toFixed(2)}%`\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadingBar.vue?vue&type=template&id=8f1d9570\"\nimport script from \"./LoadingBar.vue?vue&type=script&lang=js\"\nexport * from \"./LoadingBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadingBar.vue?vue&type=style&index=0&id=8f1d9570&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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","\nimport { mapState } from \"vuex\"\nexport default {\n name: \"Footer\",\n data: () => ({\n showSuccess: false,\n showJoinModal: false,\n inputs: [\n {\n title: \"Sign up and get 10% off your first order\",\n type: \"email\",\n required: true,\n showTitle: false,\n id: \"email\",\n name: \"email\",\n error: \"\",\n show: true,\n value: \"\",\n width: \"95%\",\n },\n ],\n hubspotScriptLoaded: false,\n imageUrl: process.env.IMAGE_URL,\n }),\n computed: {\n ...mapState([\"customerLoading\", \"isBiz\"]),\n hasErrors() {\n return (\n this.inputs.some((input) => input.value.length === 0) ||\n this.inputs.some((input) => input.error.length > 0)\n )\n },\n },\n mounted() {\n const script = document.createElement(\"script\")\n const formContainer =\n document.getElementsByClassName(\"footer__top--form\")[0]\n script.type = \"text/javascript\"\n script.src = \"https://js.hsforms.net/forms/v2.js\"\n formContainer.appendChild(script)\n script.addEventListener(\"load\", () => {\n this.hubspotScriptLoaded = true\n })\n },\n methods: {\n updateForm(form) {\n this.inputs = form\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./FooterBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./FooterBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FooterBar.vue?vue&type=template&id=375e7f2d\"\nimport script from \"./FooterBar.vue?vue&type=script&lang=js\"\nexport * from \"./FooterBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./FooterBar.vue?vue&type=style&index=0&id=375e7f2d&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {DynamicButton: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicButton.vue').default,DynamicModal: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicModal.vue').default})\n","import moment from \"moment\"\n\nexport default (maker, cart) => {\n const today = moment()\n try {\n const deliveryDays = [...Array(90)].map((_, i) => {\n const next = moment(today).add(i, \"days\")\n const sameDay = today.isSame(next) && next.isBefore(moment().hour(19))\n const weekday = parseInt(next.isoWeekday())\n const number = next.format(\"DD\")\n const day = next.format(\"dddd\")\n const month = next.format(\"MMMM\")\n const year = next.format(\"YYYY\")\n const full = next.format(\"YYYY-MM-DD\")\n const string = next.format(\"dddd Do MMMM YYYY\")\n const specialDeliveryDay =\n maker.specialDeliveryDays?.find(\n (item) => moment(item.date).format(\"YYYY-MM-DD\") === full\n ) || false\n const scheduleItem =\n specialDeliveryDay ||\n maker.deliveryDays?.find((item) => item.name === day)\n const dayDiff = scheduleItem?.additional_days || false\n const cutOffTime = scheduleItem?.cut_off_time || false\n const orderDay = next.subtract(dayDiff, \"days\")\n const validTime =\n parseInt(scheduleItem?.cut_off_time.slice(0, 2)) >\n parseInt(moment().hour())\n const validDay =\n today.isBefore(orderDay, \"day\") ||\n (today.isSame(orderDay, \"day\") && validTime)\n const available =\n (sameDay && maker.hasSameDayProducts) ||\n (validDay && scheduleItem?.is_active)\n\n const openTime = scheduleItem.open_time?.slice(0, 2) || \"07\"\n const closeTime = scheduleItem.close_time?.slice(0, 2) || \"19\"\n\n return {\n weekday,\n number,\n day,\n month,\n year,\n full,\n string,\n cutOffTime,\n orderDay,\n available,\n validDay,\n validTime,\n dayDiff,\n sameDay,\n openTime,\n closeTime,\n }\n })\n\n const nextAvailable = deliveryDays?.find(\n (day) => day.available && !day.sameDay\n )\n\n if (maker.name === cart.name) {\n cart = {\n ...cart,\n date: nextAvailable,\n maker: {\n ...maker,\n next_available: nextAvailable,\n delivery_days: deliveryDays,\n },\n }\n }\n\n return {\n ...maker,\n next_available: nextAvailable,\n delivery_days: deliveryDays,\n }\n } catch (error) {\n return {\n ...maker,\n next_available: false,\n delivery_days: false,\n }\n }\n}\n","export default (filters, date = undefined) => {\n let filterQuery = \"\"\n\n if (filters.length) {\n filterQuery =\n filterQuery +\n \"&filter=\" +\n encodeURIComponent(\n JSON.stringify(\n filters.map(([key, value, exact, not]) => {\n return { key, value, exact, not }\n })\n )\n )\n }\n\n if (date) {\n filterQuery = filterQuery + \"&date=\" + JSON.stringify(date)\n }\n return filterQuery\n}\n","export default function (func, wait) {\n let timeout\n return function () {\n const context = this\n const args = arguments\n const later = function () {\n timeout = null\n func.apply(context, args)\n }\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n }\n}\n","import createDeliveryDays from \"../utils/createDeliveryDays\"\nimport generateFilterQuery from \"../utils/generateFilterQuery\"\nimport debounce from \"../utils/debounce\"\n\nexport const state = () => ({\n accountLoading: true,\n allergens: false,\n authenticated: false,\n authLoading: false,\n customerLoading: false,\n customerRole: false,\n billingAddress: false,\n bundles: false,\n cart: false,\n cartError: false,\n checkoutError: false,\n cartLoading: false,\n chosenCuisine: false,\n chosenDeal: false,\n chosenProduct: false,\n chosenMaker: false,\n chosenMakerCategory: false,\n chosenOrder: false,\n chosenPackage: false,\n cuisines: false,\n customer: false,\n dealId: false,\n deliveryAddress: false,\n deliveryFilter: false,\n deliveryLoading: false,\n deliveryNotes: false,\n deliveryWindows: false,\n discountError: false,\n discount: false,\n discountLoading: false,\n filteredMakers: false,\n filteredProductCategories: false,\n homeLoading: true,\n isBiz: process.env.SUBDOMAIN === \"business\",\n isProduction: process.env.IS_PRODUCTION,\n locatorIsOpen: false,\n loginError: false,\n makers: false,\n makerCategories: false,\n makerLoading: false,\n newVerificationError: false,\n newVerificationSuccess: false,\n orderNotes: false,\n order: false,\n orders: false,\n ordersLoading: false,\n organisationLoading: false,\n organisation: false,\n packages: false,\n packageCart: {\n packages: [],\n items: [],\n maker: false,\n date: false,\n },\n packagesLoading: false,\n products: false,\n productCategories: false,\n resetConfirmation: false,\n resetPasswordError: false,\n resetPasswordSuccess: false,\n reviews: false,\n reviewMessage: false,\n rewards: false,\n rewardsLoading: false,\n rewardSelected: false,\n sameDayChosen: false,\n searchResults: false,\n showCalendar: false,\n showCart: false,\n showMenus: false,\n showOptions: false,\n showSearch: false,\n showServices: false,\n signUpSuccess: false,\n signUpError: false,\n socialSharing: [\n {\n network: \"email\",\n icon: \"envelope\",\n },\n {\n network: \"whatsapp\",\n icon: \"whatsapp\",\n },\n {\n network: \"facebook\",\n icon: \"facebook\",\n },\n {\n network: \"twitter\",\n icon: \"x-twitter\",\n },\n {\n network: \"linkedin\",\n icon: \"linkedin\",\n },\n ],\n tags: false,\n templateLoading: true,\n user: false,\n verifySuccess: false,\n verifyError: false,\n verificationLoading: false,\n windowSize: 0,\n paymentLoading: false,\n purchaseOrderLoading: false,\n purchaseOrderError: false,\n orgPackageChoices: false,\n subscriptionTypes: false,\n packageTypes: false,\n defaultPackageChoices: false,\n updateProductsLoading: false,\n updateProductsError: false,\n cancelDailyOrderLoading: false,\n cancelDailyOrderError: false,\n premiumCutOffDay: false,\n})\n\nexport const mutations = {\n SET_HOME_LOADING(state, payload) {\n state.homeLoading = payload\n },\n SET_TEMPLATE_LOADING(state, payload) {\n state.templateLoading = payload\n },\n SET_MAKER_LOADING(state, payload) {\n state.makerLoading = payload\n },\n SET_AUTH_LOADING(state, payload) {\n state.authLoading = payload\n },\n SET_PRODUCT_CATEGORIES(state, payload) {\n state.productCategories = payload.filter(\n (category) =>\n category.is_active &&\n category.biz === state.isBiz &&\n category.products.length > 0 &&\n category.products.some((product) => product.is_active)\n )\n },\n SET_FILTERED_PRODUCT_CATEGORIES(state, payload) {\n if (payload) {\n state.filteredProductCategories = state.productCategories.map(\n (category) => {\n return {\n ...category,\n products: category.products.filter((product) => {\n return payload.every((allergen) =>\n allergen.list\n ? product.allergens.every(\n (item) => !allergen.list.includes(item.name)\n ) &&\n allergen.list.every(\n (item) =>\n !product.name.toLowerCase().includes(item) &&\n !product.description.toLowerCase().includes(item)\n )\n : product[allergen.toggle]\n )\n }),\n }\n }\n )\n } else {\n state.filteredProductCategories = payload\n }\n },\n SET_SEARCH_STATUS(state, payload) {\n state.showSearch = payload\n },\n SET_CALENDAR_STATUS(state, payload) {\n state.showCalendar = payload\n },\n SET_OPTIONS_STATUS(state, payload) {\n state.showOptions = payload\n },\n SET_SHOW_MENUS(state, payload) {\n state.showMenus = payload\n },\n SET_SHOW_SERVICES(state, payload) {\n state.showServices = payload\n },\n SET_CART_STATUS(state, payload) {\n state.showCart = payload\n state.showOptions = false\n state.showSearch = false\n state.showCalendar = false\n window.scrollTo(0, 0)\n },\n SET_BUNDLES(state, payload) {\n state.bundles = payload.filter(\n (bundle) => bundle.is_active && bundle.type === \"Bundle\"\n )\n },\n SET_PACKAGES_LOADING(state, payload) {\n state.packagesLoading = payload\n },\n SET_PACKAGES(state, payload) {\n state.packages = payload\n },\n SET_PACKAGE_CART(state, payload) {\n state.packageCart = payload\n },\n SET_CHOSEN_PACKAGE(state, payload) {\n state.chosenPackage = payload\n },\n SET_CHOSEN_PRODUCT(state, payload) {\n state.chosenProduct = payload\n },\n SET_ALLERGENS(state, payload) {\n state.allergens = payload\n },\n SET_CUISINES(state, payload) {\n state.cuisines = payload\n },\n SET_TAGS(state, payload) {\n state.tags = payload\n },\n SET_SEARCH_RESULTS(state, payload) {\n state.searchResults = payload\n if (payload) {\n state.showCalendar = false\n state.showOptions = false\n }\n },\n SET_CHOSEN_CUISINE(state, payload) {\n state.chosenCuisine = payload\n },\n SET_ORDER(state, payload) {\n state.order = payload\n if (payload.id) {\n localStorage.setItem(payload.id, JSON.stringify(payload))\n }\n },\n SET_ORDER_NOTES(state, payload) {\n state.orderNotes = payload\n state.cart = { ...state.cart, orderNotes: payload }\n },\n SET_DELIVERY_NOTES(state, payload) {\n state.deliveryNotes = payload\n state.cart = { ...state.cart, deliveryNotes: payload }\n },\n SET_DELIVERY_DATE(state, payload) {\n state.sameDayChosen = payload.sameDay\n const newCart = {\n ...state.cart,\n items: state.cart.items.filter((item) =>\n payload.sameDay\n ? item.product.same_day === true\n : item.product.future_day === true\n ),\n date: payload,\n }\n state.cart = newCart\n state.cartError = payload?.selectedWindow\n ? false\n : \"Please select a date and time\"\n },\n SET_DELIVERY_FILTER(state, payload) {\n state.deliveryFilter = payload\n if (payload) {\n state.filteredMakers = state.makers.filter((maker) =>\n maker.delivery_days.find(\n (day) => day.full === payload.full && day.available\n )\n )\n if (state.cart) {\n state.cart = { ...state.cart, date: payload }\n }\n }\n },\n SET_SELECTED_WINDOW(state, payload) {\n const newCart = {\n ...state.cart,\n date: { ...state.cart.date, selectedWindow: payload },\n }\n state.cart = newCart\n state.cartError = false\n },\n SET_DELIVERY_WINDOWS(state, payload) {\n const windows = []\n const endTime = this.$moment()\n .endOf(\"day\")\n .hour(payload?.closeTime < 17 ? payload?.closeTime : 17)\n const startTime = payload.sameDay\n ? this.$moment().startOf(\"day\").hour(this.$moment().add(1, \"hours\"))\n : this.$moment()\n .startOf(\"day\")\n .hour(\n state.isBiz\n ? payload?.openTime > 7\n ? payload?.openTime\n : 7\n : payload?.openTime > 9\n ? payload?.openTime\n : 9\n )\n .add(1, \"hours\")\n while (startTime.isBefore(endTime)) {\n const windowStart = startTime.format(\"HH\")\n startTime.add(1, \"hours\")\n windows.push({\n name: windowStart,\n value: windowStart,\n })\n }\n state.deliveryWindows = windows\n state.cart &&\n (state.cart.date = { ...state?.cart?.date, deliveryWindows: windows })\n },\n SET_LOGIN_ERROR(state, payload) {\n // TODO: Make this more robust, we should be presenting error messages based on unique error codes/ids that we send from the BE\n if (payload === \"Customer account not activated\") {\n state.loginError =\n \"Your account needs to be verified, please check your email for instructions to verify or go to https://anddine.co.uk/verify/new to request a new verification email.\"\n } else {\n state.loginError = payload\n }\n },\n SET_SIGN_UP_SUCCESS(state, payload) {\n state.signUpSuccess = payload\n },\n SET_SIGN_UP_ERROR(state, payload) {\n state.signUpError = payload\n },\n SET_VERIFY_ERROR(state, payload) {\n state.verifyError = payload\n },\n SET_VERIFY_SUCCESS(state, payload) {\n state.verifySuccess = payload\n },\n SET_AUTHENTICATED(state, payload) {\n state.authenticated = payload\n state.customerRole = payload?.role || false\n localStorage.setItem(\"authenticated\", JSON.stringify(payload))\n },\n SET_DELIVERY_ADDRESS(state, payload) {\n state.deliveryAddress = payload\n payload && localStorage.setItem(\"address\", JSON.stringify(payload))\n state.cart = { ...state.cart, deliveryAddress: payload }\n },\n SET_BILLING_ADDRESS(state, payload) {\n state.billingAddress = payload\n state.cart = { ...state.cart, billingAddress: payload }\n },\n SET_CUSTOMER(state, payload) {\n state.customer = payload\n payload && localStorage.setItem(\"customer\", JSON.stringify(payload))\n this.$posthog.identify(payload.email)\n },\n SET_USER(state, payload) {\n state.user = payload\n this.$posthog.identify(payload.email)\n },\n SET_DISCOUNT_LOADING(state, payload) {\n state.discountLoading = payload\n },\n SET_DISCOUNT_ERROR(state, payload) {\n state.discountError = payload\n },\n SET_CHOSEN_DISCOUNT(state, payload) {\n state.discount = payload\n },\n SET_CHOSEN_DEAL(state, payload) {\n state.chosenDeal = payload\n },\n SET_REWARDS(state, payload) {\n state.rewards = payload\n },\n SET_REWARD_SELECTED(state, payload) {\n state.rewardSelected = payload\n },\n SET_ORDERS(state, payload) {\n state.orders = payload.filter(\n (order) => order.status !== \"Cancelled\" && order.paid !== \"Unpaid\"\n )\n },\n SET_CHOSEN_ORDER(state, payload) {\n state.chosenOrder = payload\n },\n SET_REVIEWS(state, payload) {\n state.reviews = payload\n },\n SET_REVIEW_MESSAGE(state, payload) {\n state.reviewMessage = payload\n },\n SET_MAKERS(state, payload) {\n state.makers = payload\n .filter(\n (maker) =>\n maker.is_active &&\n maker.makersCategories.some((cat) => cat.biz === state.isBiz)\n )\n .map((maker) => createDeliveryDays(maker, state.cart))\n },\n SET_CHOSEN_MAKER(state, payload) {\n state.chosenMaker = createDeliveryDays(payload, state.cart)\n },\n SET_MAKER_CATEGORIES(state, payload) {\n const randomCategories = payload\n .map((category) => ({\n ...category,\n makers: category.makers\n .filter((maker) => maker.is_active)\n .sort(() => 0.5 - Math.random()),\n }))\n .filter(\n (category) => category.biz === state.isBiz && category.makers.length > 0\n )\n .sort(() => 0.5 - Math.random())\n state.makerCategories = randomCategories\n },\n\n SET_CHOSEN_MAKER_CATEGORY(state, payload) {\n state.chosenMakerCategory = payload[0]\n },\n SET_FILTERED_MAKERS(state, payload) {\n state.filteredMakers = payload\n ? payload\n .map((maker) => createDeliveryDays(maker, state.cart))\n .filter((maker) =>\n maker.makersCategories.some((cat) => cat.biz === state.isBiz)\n )\n : payload\n },\n SET_CART_LOADING(state, payload) {\n state.cartLoading = payload\n },\n SET_ACCOUNT_LOADING(state, payload) {\n state.accountLoading = payload\n },\n SET_CART(state, payload) {\n if (payload) {\n state.cart = {\n ...payload,\n date: payload?.date || false,\n }\n state.cartError = payload.date?.selectedWindow\n ? false\n : \"Please select a date and time\"\n localStorage.setItem(\"and-dine-cart\", JSON.stringify(state.cart))\n } else {\n state.cart = false\n localStorage.setItem(\"and-dine-cart\", false)\n }\n },\n SET_RESET_CONFIRMATION(state, payload) {\n state.resetConfirmation = payload\n },\n SET_CHECKOUT_ERROR(state, payload) {\n state.checkoutError = payload\n },\n SET_CART_ERROR(state, payload) {\n state.cartError = payload\n },\n SET_NEW_VERIFICATION_SUCCESS(state, payload) {\n state.newVerificationSuccess = payload\n },\n SET_VERIFICATION_LOADING(state, payload) {\n state.verificationLoading = payload\n },\n SET_NEW_VERIFICATION_ERROR(state, payload) {\n state.newVerificationError = payload\n },\n SET_RESET_PASSWORD_ERROR(state, payload) {\n state.resetPasswordError = payload\n },\n SET_RESET_PASSWORD_SUCCESS(state, payload) {\n state.resetPasswordSuccess = payload\n },\n SET_CUSTOMER_LOADING(state, payload) {\n state.customerLoading = payload\n },\n SET_WINDOW_SIZE(state, payload) {\n state.windowSize = payload\n },\n SET_ORGANISATION_LOADING(state, payload) {\n state.organisationLoading = payload\n },\n SET_ORGANISATION(state, payload) {\n state.organisation = payload\n },\n SET_DEAL_ID(state, payload) {\n state.dealId = payload\n },\n SET_PAYMENT_LOADING(state, payload) {\n state.paymentLoading = payload\n },\n SET_PURCHASE_ORDER_LOADING(state, payload) {\n state.purchaseOrderLoading = payload\n },\n SET_PURCHASE_ORDER_ERROR(state, payload) {\n state.purchaseOrderError = payload\n },\n SET_ORG_PACKAGE_CHOICES(state, payload) {\n state.orgPackageChoices = payload\n },\n SET_SUBSCRIPTION_TYPES(state, payload) {\n state.subscriptionTypes = payload\n },\n SET_PACKAGE_TYPES(state, payload) {\n state.packageTypes = payload\n },\n SET_DEFAULT_PACKAGE_CHOICES(state, payload) {\n state.defaultPackageChoices = payload\n },\n SET_UPDATE_PRODUCTS_LOADING(state, payload) {\n state.updateProductsLoading = payload\n },\n SET_UPDATE_PRODUCTS_ERROR(state, payload) {\n state.updateProductsError = payload\n },\n SET_CANCEL_DAILY_LOADING(state, payload) {\n state.cancelDailyOrderLoading = payload\n },\n SET_CANCEL_DAILY_ERROR(state, payload) {\n state.cancelDailyOrderError = payload\n },\n SET_PREMIUM_CUT_OFF_DAY(state, payload) {\n state.premiumCutOffDay = payload\n },\n}\n\nexport const actions = {\n clearCart({ commit }) {\n commit(\"SET_CART\", false)\n commit(\"SET_ORDER\", false)\n commit(\"SET_CART_LOADING\", false)\n },\n clearOrder({ commit }, id) {\n localStorage.removeItem(id)\n },\n async googleAuth({ commit, dispatch }, payload) {\n await this.$axios\n .post(`${process.env.AND_DINE_API}/api/auth/google`, payload.token)\n .then((response) => {\n commit(\"SET_AUTHENTICATED\", response.data)\n dispatch(\"getCustomer\", payload.redirect)\n })\n .catch((error) => {\n commit(\n \"SET_LOGIN_ERROR\",\n `${error.response.data} - Please try again or try logging in using another method`\n )\n commit(\"SET_AUTHENTICATED\", false)\n this.$sentry.captureException(error)\n })\n },\n async getTags({ commit, dispatch }) {\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/tags?limit=9999&filter=[{\"key\":\"is_linked\",\"value\":1},{\"key\":\"is_active\",\"value\":1}]`\n )\n .then((response) => {\n commit(\"SET_TAGS\", response.data.tags)\n dispatch(\"getAllergens\")\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_HOME_LOADING\", false)\n })\n },\n async getAllergens({ commit, dispatch }) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/allergens`)\n .then((response) => {\n commit(\"SET_ALLERGENS\", response.data.allergens)\n dispatch(\"getCuisines\")\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_HOME_LOADING\", false)\n })\n },\n async getCuisines({ commit }) {\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/cuisines?limit=9999&filter=[{\"key\":\"is_linked\",\"value\":1},{\"key\":\"is_active\",\"value\":1}]`\n )\n .then((response) => {\n commit(\"SET_CUISINES\", response.data.models)\n commit(\"SET_HOME_LOADING\", false)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_HOME_LOADING\", false)\n })\n },\n deepSearch: debounce(async function ({ commit, state }, search) {\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/makers/deepSearch?searchName=${search}&is_biz=${state.isBiz}`\n )\n .then((response) => {\n commit(\"SET_SEARCH_RESULTS\", response.data)\n })\n .catch((error) => {\n commit(\"SET_SEARCH_RESULTS\", false)\n this.$sentry.captureException(error)\n })\n }, 400),\n async deepFilter({ commit }, payload) {\n const tags = payload?.tags\n ? `&tags=${JSON.stringify(payload.tags.map((tag) => tag.id))}`\n : false\n const cuisines = payload?.cuisines\n ? `&cuisines=${JSON.stringify(\n payload.cuisines.map((cuisine) => cuisine.id)\n )}`\n : false\n const query = {}\n if (payload.tags) {\n query.tags = JSON.stringify(payload.tags.map((tag) => tag.id))\n }\n if (payload.cuisines) {\n query.cuisines = JSON.stringify(\n payload.cuisines.map((cuisine) => cuisine.id)\n )\n }\n if (Object.keys(query).length > 0) {\n this.$router.push({ query })\n }\n if (tags || cuisines) {\n await this.$axios\n .get(\n `${\n process.env.AND_DINE_API\n }/api/public/makers/deepFilter?is_active=1${tags || \"\"}${\n cuisines || \"\"\n }`\n )\n .then((response) => {\n commit(\"SET_FILTERED_MAKERS\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n } else {\n commit(\"SET_FILTERED_MAKERS\", false)\n }\n },\n getMakers: debounce(async function ({ commit, dispatch }, payload) {\n const filters = payload?.filters || []\n const filterQuery = generateFilterQuery(filters)\n const page = payload?.page || 1\n const limit = payload?.limit || 999\n const query = `?limit=${limit}&page=${page}${filterQuery}`\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/makers${query}`)\n .then((response) => {\n commit(\"SET_MAKERS\", response.data.models)\n dispatch(\"getTags\")\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_HOME_LOADING\", false)\n })\n }),\n async getMakerCategories({ commit }) {\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/makerCategories?limit=9999&filter=[{\"key\":\"is_active\",\"value\":1}]`\n )\n .then((response) => {\n commit(\"SET_MAKER_CATEGORIES\", response.data.models)\n commit(\"SET_TEMPLATE_LOADING\", false)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_TEMPLATE_LOADING\", false)\n })\n },\n async getMakerCategory({ commit }, name) {\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/makerCategories/search?name=${name}&is_active=1`\n )\n .then((response) => {\n commit(\"SET_CHOSEN_MAKER_CATEGORY\", response.data.models)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getMakerBySlug({ commit }, payload) {\n commit(\"SET_MAKER_LOADING\", true)\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/makers/slugs/${payload.slug}`\n )\n .then((response) => {\n if (!response.data.is_active && payload.makerPage) {\n this.$router.push(\"/\")\n }\n commit(\"SET_CHOSEN_MAKER\", response.data)\n commit(\"SET_PRODUCT_CATEGORIES\", response.data.productCategories)\n commit(\"SET_MAKER_LOADING\", false)\n })\n .catch((error) => {\n commit(\"SET_MAKER_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async getMakerById({ commit }, id) {\n commit(\"SET_MAKER_LOADING\", true)\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/makers/${id}`)\n .then((response) => {\n commit(\"SET_CHOSEN_MAKER\", response.data)\n commit(\"SET_PRODUCT_CATEGORIES\", response.data.productCategories)\n commit(\"SET_MAKER_LOADING\", false)\n })\n .catch((error) => {\n commit(\"SET_MAKER_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async searchMakers({ commit }, slug) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/makers/search?slug=${slug}`)\n .then((response) => {\n commit(\"SET_CHOSEN_MAKER\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getPackages({ commit }) {\n commit(\"SET_PACKAGES_LOADING\", true)\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/packages/?limit=999&is_active=1`\n )\n .then((response) => {\n commit(\"SET_PACKAGES\", response.data.packages)\n commit(\"SET_PACKAGES_LOADING\", false)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_PACKAGES_LOADING\", false)\n })\n },\n async getPackageById({ commit }, id) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/packages/${id}`)\n .then((response) => {\n commit(\"SET_CHOSEN_PACKAGE\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getProductsByMaker({ commit }, id) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/products/maker/${id}`)\n .then((response) => {\n commit(\"SET_BUNDLES\", response.data.products)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getProductById({ commit }, id) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/products/${id}`)\n .then((response) => {\n commit(\"SET_CHOSEN_PRODUCT\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getProductBySlug({ commit }, slug) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/products/slugs/${slug}`)\n .then((response) => {\n commit(\"SET_CHOSEN_PRODUCT\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getDealById({ commit }, id) {\n const config = {\n headers: {\n accept: \"application/json\",\n Authorization: `Bearer ${process.env.HUBSPOT_TOKEN}`,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .get(`${process.env.HUBSPOT_API}/deals/${id}`, config)\n .then((response) => {\n commit(\"SET_CHOSEN_DEAL\", response.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async createCustomer({ commit }, payload) {\n await this.$axios\n .post(\n `${process.env.AND_DINE_API}/api/public/customers/register`,\n payload\n )\n .then(() => {\n commit(\"SET_SIGN_UP_SUCCESS\", true)\n commit(\"SET_SIGN_UP_ERROR\", false)\n })\n .catch((error) => {\n commit(\"SET_SIGN_UP_SUCCESS\", false)\n commit(\"SET_SIGN_UP_ERROR\", error.response.data)\n commit(\"SET_AUTHENTICATED\", false)\n this.$sentry.captureException(error)\n })\n },\n customerLogout({ commit }, redirect) {\n redirect && this.$router.push(redirect)\n commit(\"SET_USER\", false)\n commit(\"SET_ORDERS\", false)\n commit(\"SET_REWARDS\", false)\n commit(\"SET_AUTHENTICATED\", false)\n },\n async verifyCustomer({ commit }, payload) {\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/public/customers/verify/${payload.verificationId}`\n )\n .then(() => {\n commit(\"SET_VERIFY_SUCCESS\", true)\n commit(\"SET_VERIFY_ERROR\", false)\n })\n .catch((error) => {\n commit(\"SET_VERIFY_SUCCESS\", false)\n commit(\"SET_VERIFY_ERROR\", error.response.data)\n this.$sentry.captureException(error)\n })\n },\n async generateNewVerification({ commit }, payload) {\n await this.$axios\n .post(\n `${process.env.AND_DINE_API}/api/public/customers/verify/resend`,\n payload\n )\n .then(() => {\n commit(\"SET_NEW_VERIFICATION_SUCCESS\", true)\n commit(\"SET_NEW_VERIFICATION_ERROR\", false)\n commit(\"SET_VERIFICATION_LOADING\", false)\n })\n .catch((error) => {\n commit(\"SET_NEW_VERIFICATION_SUCCESS\", false)\n commit(\"SET_NEW_VERIFICATION_ERROR\", error.response.data)\n commit(\"SET_VERIFICATION_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async forgotPassword({ commit }, payload) {\n await this.$axios\n .post(\n `${process.env.AND_DINE_API}/api/public/customers/forgotPassword`,\n payload\n )\n .then(() => {\n commit(\"SET_RESET_CONFIRMATION\", true)\n })\n .catch((error) => {\n commit(\"SET_RESET_CONFIRMATION\", false)\n commit(\"SET_SIGN_UP_ERROR\", error.response.data)\n })\n },\n async resetCustomerPassword({ commit }, payload) {\n commit(\"SET_CUSTOMER_LOADING\", true)\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/public/customers/resetPassword`,\n payload\n )\n .then(() => {\n commit(\"SET_CUSTOMER_LOADING\", false)\n commit(\"SET_RESET_PASSWORD_SUCCESS\", true)\n commit(\"SET_RESET_PASSWORD_ERROR\", false)\n })\n .catch((error) => {\n commit(\"SET_CUSTOMER_LOADING\", false)\n commit(\"SET_RESET_PASSWORD_SUCCESS\", false)\n commit(\"SET_RESET_PASSWORD_ERROR\", error.response.data)\n })\n },\n async customerLogin({ commit, dispatch }, payload) {\n commit(\"SET_AUTH_LOADING\", true)\n await this.$axios\n .post(\n `${process.env.AND_DINE_API}/api/public/customers/login`,\n payload.credentials\n )\n .then((response) => {\n commit(\"SET_AUTHENTICATED\", response.data)\n dispatch(\"getCustomer\", payload.redirect)\n })\n .catch((error) => {\n commit(\"SET_LOGIN_ERROR\", error.response.data)\n commit(\"SET_AUTHENTICATED\", false)\n commit(\"SET_AUTH_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async getCustomer({ commit, state, dispatch }, redirect) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/customers/profile`, config)\n .then((response) => {\n commit(\"SET_USER\", response.data)\n commit(\"SET_LOGIN_ERROR\", false)\n commit(\"SET_AUTH_LOADING\", false)\n redirect && this.$router.push(redirect)\n })\n .catch((error) => {\n commit(\"SET_AUTHENTICATED\", false)\n commit(\"SET_AUTH_LOADING\", false)\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async updateCustomer({ commit, state, dispatch }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .put(`${process.env.AND_DINE_API}/api/customers`, payload, config)\n .then(() => {\n commit(\"SET_SIGN_UP_ERROR\", false)\n dispatch(\"getCustomer\", \"/account\")\n })\n .catch((error) => {\n commit(\"SET_SIGN_UP_ERROR\", error.response.data)\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async getRewards({ commit, state, dispatch }) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/customers/rewards`, config)\n .then((response) => {\n commit(\"SET_REWARDS\", response.data)\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async addDiscount({ commit, state }, payload) {\n commit(\"SET_DISCOUNT_LOADING\", true)\n commit(\"SET_DISCOUNT_ERROR\", false)\n const body = { discount_code: payload.discount_code }\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/public/orders/applyDiscount/${payload.id}`,\n body\n )\n .then((response) => {\n commit(\"SET_DISCOUNT_LOADING\", false)\n commit(\"SET_CHOSEN_DISCOUNT\", {\n ...response.data.dataValues,\n discount_code: payload.discount_code,\n })\n commit(\"SET_ORDER\", {\n ...response.data.dataValues,\n paymentIntent: response.data.paymentIntent,\n maker: state.order.maker,\n orderProducts: state.order.orderProducts,\n })\n })\n .catch((error) => {\n commit(\"SET_DISCOUNT_LOADING\", false)\n commit(\"SET_DISCOUNT_ERROR\", \"Discount code not valid\")\n this.$sentry.captureException(error)\n })\n },\n async addReward({ commit, state, dispatch }, payload) {\n commit(\"SET_DISCOUNT_LOADING\", true)\n commit(\"SET_DISCOUNT_ERROR\", false)\n const body = { reward_id: payload.reward_id }\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/customers/orders/applyReward/${payload.id}`,\n body,\n config\n )\n .then((response) => {\n commit(\"SET_DISCOUNT_LOADING\", false)\n commit(\"SET_REWARD_SELECTED\", {\n ...response.data.dataValues,\n discount_code: payload.discount_code,\n })\n commit(\"SET_ORDER\", {\n ...response.data.dataValues,\n paymentIntent: response.data.paymentIntent,\n maker: state.order.maker,\n orderProducts: state.order.orderProducts,\n })\n })\n .catch((error) => {\n commit(\"SET_DISCOUNT_LOADING\", false)\n commit(\"SET_DISCOUNT_ERROR\", \"Reward not valid\")\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async addBundleToCart({ commit, state, dispatch }, payload) {\n let updatedItems = state.cart?.items || []\n const makerId = payload?.maker?.id || state.cart?.maker?.id\n payload.bundle.forEach((bundle) => {\n const index = updatedItems.findIndex(\n (item) =>\n item.product.id === bundle.product.id &&\n item.appliedModifiers.every(\n (modifier, index) =>\n modifier.modifier_id ===\n bundle.appliedModifiers[index].modifier_id\n )\n )\n if (index === -1) {\n updatedItems = [\n ...updatedItems,\n {\n product: bundle.product,\n quantity: bundle.quantity,\n appliedModifiers: bundle.appliedModifiers,\n },\n ]\n } else {\n updatedItems = [\n ...updatedItems.slice(0, index),\n {\n product: bundle.product,\n quantity: bundle.quantity,\n appliedModifiers: bundle.appliedModifiers,\n },\n ...updatedItems.slice(index + 1),\n ].filter((item) => item.quantity > 0)\n }\n })\n const body = {\n items: updatedItems.map((item) => {\n return {\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n maker_id: makerId,\n }\n await this.$axios\n .post(`${process.env.AND_DINE_API}/api/public/orders/cart`, body)\n .then((response) => {\n const newCart = {\n ...response.data,\n maker: {\n id: payload.maker.id,\n name: payload.maker.name,\n slug: payload.maker.slug,\n address: payload.maker.address,\n delivery_days: payload.maker.delivery_days,\n next_available: payload.maker.next_available,\n free_delivery_min_amount: payload.maker.free_delivery_min_amount,\n min_order_amount: state.isBiz\n ? payload.maker.min_order_amount || 1500\n : 1500,\n },\n date: payload.date || false,\n items: updatedItems.map((item) => {\n return {\n product: {\n id: item.product.id,\n name: item.product.name,\n attachments: item.product.attachments,\n same_day: item.product.same_day,\n future_day: item.product.future_day,\n min_order_amount: item.product.min_order_amount,\n price: item.product.price,\n },\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n }\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CART\", newCart)\n newCart.date && commit(\"SET_DELIVERY_WINDOWS\", newCart.date)\n state.deliveryAddress && dispatch(\"createOrder\")\n })\n .catch((error) => {\n commit(\"SET_CART_LOADING\", false)\n this.$sentry.captureException(error)\n })\n state.isProduction &&\n this.$gtm.push({\n event: \"add_to_cart\",\n ...{\n currency: \"GBP\",\n value: state.cart.total,\n items: updatedItems.map((item) => {\n return {\n item_id: item.id,\n item_name: item.name,\n item_brand: state.chosenMaker.name,\n item_category:\n state.productCategories &&\n state.productCategories.length &&\n state.productCategories.find(\n (category) => category.id === item.categoryId\n )?.name,\n price: item.price,\n quantity: item.quantity,\n }\n }),\n },\n })\n },\n addToCart: debounce(async function ({ commit, state, dispatch }, payload) {\n let updatedItems = state.cart?.items || payload.items || []\n const makerId = payload?.maker?.id || state.cart?.maker?.id\n if (payload.product) {\n const index = updatedItems.findIndex(\n (item) =>\n item.product.id === payload.product.id &&\n item.appliedModifiers.every(\n (modifier, index) =>\n modifier.modifier_id ===\n payload.appliedModifiers[index].modifier_id\n )\n )\n if (index === -1) {\n updatedItems = [\n ...updatedItems,\n {\n product: payload.product,\n quantity: payload.quantity,\n appliedModifiers: payload.appliedModifiers,\n },\n ]\n } else {\n updatedItems = [\n ...updatedItems.slice(0, index),\n {\n product: payload.product,\n quantity: payload.quantity,\n appliedModifiers: payload.appliedModifiers,\n },\n ...updatedItems.slice(index + 1),\n ].filter((item) => item.quantity > 0)\n }\n }\n const body = {\n items: updatedItems.map((item) => {\n return {\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n maker_id: makerId,\n }\n await this.$axios\n .post(`${process.env.AND_DINE_API}/api/public/orders/cart`, body)\n .then((response) => {\n const newCart = {\n ...response.data,\n deal_id: payload.deal_id || null,\n maker: {\n id: payload.maker.id,\n name: payload.maker.name,\n slug: payload.maker.slug,\n address: payload.maker.address,\n delivery_days: payload.maker.delivery_days,\n next_available: payload.maker.next_available,\n free_delivery_min_amount: payload.maker.free_delivery_min_amount,\n min_order_amount: state.isBiz\n ? payload.maker.min_order_amount || 1500\n : 1500,\n },\n date: payload.date || false,\n items: updatedItems.map((item) => {\n return {\n product: {\n id: item.product.id,\n name: item.product.name,\n attachments: item.product.attachments,\n same_day: item.product.same_day,\n future_day: item.product.future_day,\n min_order_amount: item.product.min_order_amount,\n price: item.product.price,\n vat_price:\n parseFloat(item.product.price) *\n (1 + parseFloat(item.product.vat_level) / 100),\n },\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n }\n this.$posthog.capture(\"product_added\", {\n product: newCart,\n })\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CART\", newCart)\n newCart.date && commit(\"SET_DELIVERY_WINDOWS\", newCart.date)\n dispatch(\"validateOrder\", newCart)\n })\n .catch((error) => {\n commit(\"SET_CART_LOADING\", false)\n this.$sentry.captureException(error)\n })\n state.isProduction &&\n this.$gtm.push({\n event: \"add_to_cart\",\n ...{\n currency: \"GBP\",\n value: state.cart.total,\n items: updatedItems.map((item) => {\n return {\n item_id: item.id,\n item_name: item.name,\n item_brand: state.chosenMaker.name,\n item_category:\n state.productCategories &&\n state.productCategories.length &&\n state.productCategories.find(\n (category) => category.id === item.categoryId\n )?.name,\n price: item.price,\n quantity: item.quantity,\n }\n }),\n },\n })\n }, 100),\n removeFromCart: debounce(async function (\n { commit, state, dispatch },\n payload\n ) {\n let updatedItems = state.cart.items\n const index = updatedItems.findIndex(\n (item) =>\n item.product.id === payload.product.id &&\n item.appliedModifiers.every(\n (modifier, index) =>\n modifier.id === payload.appliedModifiers[index].id\n )\n )\n updatedItems = [\n ...updatedItems.slice(0, index),\n {\n product: payload.product,\n quantity: payload.quantity,\n appliedModifiers: payload.appliedModifiers,\n },\n ...updatedItems.slice(index + 1),\n ].filter((item) => item.quantity > 0)\n\n if (updatedItems.length === 0) {\n dispatch(\"clearCart\")\n } else {\n commit(\"SET_CART_LOADING\", true)\n const body = {\n items: updatedItems.map((item) => {\n return {\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n maker_id: payload.maker.id,\n }\n\n await this.$axios\n .post(`${process.env.AND_DINE_API}/api/public/orders/cart`, body)\n .then((response) => {\n const newCart = {\n ...response.data,\n maker: {\n id: payload.maker.id,\n name: payload.maker.name,\n slug: payload.maker.slug,\n address: payload.maker.address,\n delivery_days: payload.maker.delivery_days,\n next_available: payload.maker.next_available,\n free_delivery_min_amount: payload.maker.free_delivery_min_amount,\n min_order_amount: state.isBiz\n ? payload.maker.min_order_amount || 1500\n : 1500,\n },\n date: payload?.date || false,\n items: updatedItems.map((item) => {\n return {\n product: {\n id: item.product.id,\n name: item.product.name,\n attachments: item.product.attachments,\n same_day: item.product.same_day,\n future_day: item.product.future_day,\n min_order_amount: item.product.min_order_amount,\n price: item.product.price,\n },\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n }\n }),\n }\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CART\", newCart)\n dispatch(\"validateOrder\", newCart)\n })\n .catch((error) => {\n commit(\"SET_CART_LOADING\", false)\n this.$sentry.captureException(error)\n })\n state.isProduction &&\n this.$gtm.push({\n event: \"remove_from_cart\",\n ...{\n currency: \"GBP\",\n value: state.cart.total,\n items: updatedItems.map((item) => {\n return {\n item_id: item.id,\n item_name: item.name,\n item_brand: state.chosenMaker.name,\n item_category:\n state.productCategories &&\n state.productCategories.length &&\n state.productCategories.find(\n (category) => category.id === item.categoryId\n )?.name,\n price: item.price,\n quantity: item.quantity,\n }\n }),\n },\n })\n }\n },\n 100),\n createShareCart({ state }, id) {\n const cartString = JSON.stringify({\n ...state.cart,\n deal_id: id || null,\n })\n return this.$axios.post(\n `${process.env.AND_DINE_API}/api/public/shareCart`,\n {\n cart: cartString,\n customer_id: null,\n },\n {}\n )\n },\n getShareCart({ dispatch }, id) {\n dispatch(\"clearCart\")\n return this.$axios.get(\n `${process.env.AND_DINE_API}/api/public/shareCart/${id}`,\n {}\n )\n },\n validateOrder: debounce(async function ({ commit, state }, payload) {\n const belowAmount =\n (state.isBiz ? state.cart.maker.min_order_amount / 100 || 15 : 15) >\n parseFloat(state.cart.totalVatFree / 100).toFixed(2)\n if (belowAmount || state.cartError) {\n commit(\"SET_ORDER\", false)\n } else {\n commit(\"SET_CART_LOADING\", true)\n commit(\"SET_CHECKOUT_ERROR\", false)\n const items = payload.items.map((item) => {\n return {\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n itemPrice: item.product.price,\n }\n })\n\n const body = {\n items,\n same_day: payload.date.sameDay || false,\n deal_id: payload.deal_id || null,\n biz: state.isBiz,\n customer_first_name: state.customer.first_name,\n customer_last_name: state.customer.last_name,\n delivery_date_time: `${payload.date.full}T${payload.date.selectedWindow}:00Z`,\n maker_id: payload.maker.id,\n discount_id: null,\n customer_phone: state.customer.phone,\n customer_email: state.customer.email,\n note: payload.orderNotes || \"\",\n delivery_note: payload.deliveryNotes || \"\",\n delivery_address: {\n zip: state.deliveryAddress.formatted?.zip,\n city: state.deliveryAddress.formatted?.city,\n line_1: state.deliveryAddress.formatted?.line_1,\n line_2: state.deliveryAddress.formatted?.line_2,\n },\n pick_up_address: {\n zip: payload.maker.address?.zip,\n city: payload.maker.address?.city,\n line_1: payload.maker.address?.line_1,\n line_2: payload.maker.address?.line_2,\n },\n billing_address: {\n zip: state.billingAddress?.formatted?.zip,\n city: state.billingAddress?.formatted?.city,\n line_1: state.billingAddress?.formatted?.line_1,\n line_2: state.billingAddress?.formatted?.line_2,\n },\n business_name: state.customer?.business_name,\n delivery_service: \"Onfleet\",\n organisation_id:\n state.isBiz && state.organisation ? state.organisation.id : null,\n }\n\n const config = state.authenticated\n ? {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n : {}\n\n await this.$axios\n .put(\n state.authenticated\n ? `${process.env.AND_DINE_API}/api/customers/orders/validate`\n : `${process.env.AND_DINE_API}/api/public/orders/validate`,\n body,\n config\n )\n .then((response) => {\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CHECKOUT_ERROR\", false)\n commit(\"SET_ORDER\", response.data)\n commit(\"SET_REWARDS\", response.data.rewards)\n state.isProduction &&\n this.$gtm.push({\n event: \"begin_checkout\",\n ...{\n currency: \"GBP\",\n value: payload.subtotal,\n items: payload.items\n .filter((item) => item.quantity > 0)\n .map((item) => {\n return {\n item_id: item.product.sku,\n item_name: item.product.name,\n item_brand: payload.maker.name,\n item_category:\n state.productCategories &&\n state.productCategories.length &&\n state.productCategories.find(\n (category) => category.id === item.product.category_id\n )?.name,\n price: item.product.price,\n quantity: item.quantity,\n }\n }),\n },\n })\n })\n .catch((error) => {\n commit(\"SET_CART_LOADING\", false)\n commit(\n \"SET_CHECKOUT_ERROR\",\n error.response ? error.response.data : error.message\n )\n commit(\"SET_ORDER\", false)\n })\n }\n }, 400),\n async createOrder({ commit, state, dispatch }, payload) {\n commit(\"SET_CART_LOADING\", true)\n commit(\"SET_CHECKOUT_ERROR\", false)\n const items = payload.items.map((item) => {\n return {\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n itemPrice: item.product.price,\n }\n })\n\n const body = { items, ...state.order, deal_id: payload.deal_id || null }\n const config = state.authenticated\n ? {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n : {}\n\n await this.$axios\n .post(\n state.authenticated\n ? `${process.env.AND_DINE_API}/api/customers/orders`\n : `${process.env.AND_DINE_API}/api/public/orders`,\n body,\n config\n )\n .then((response) => {\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CHECKOUT_ERROR\", false)\n commit(\"SET_ORDER\", response.data)\n commit(\"SET_REWARDS\", response.data.rewards)\n state.isProduction &&\n this.$gtm.push({\n event: \"begin_checkout\",\n ...{\n currency: \"GBP\",\n value: payload.subtotal,\n items: payload.items\n .filter((item) => item.quantity > 0)\n .map((item) => {\n return {\n item_id: item.product.sku,\n item_name: item.product.name,\n item_brand: payload.maker.name,\n item_category:\n state.productCategories &&\n state.productCategories.length &&\n state.productCategories.find(\n (category) => category.id === item.product.category_id\n )?.name,\n price: item.product.price,\n quantity: item.quantity,\n }\n }),\n },\n })\n })\n .catch((error) => {\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_ORDER\", false)\n commit(\n \"SET_CHECKOUT_ERROR\",\n error.response ? error.response.data : error.message\n )\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async createDailyOrder({ commit, state, dispatch }, payload) {\n commit(\"SET_CART_LOADING\", true)\n commit(\"SET_CHECKOUT_ERROR\", false)\n try {\n const items = payload.cart.items.map((item) => ({\n id: item.product.id,\n name: item.product.name,\n quantity: item.quantity,\n appliedModifiers: item.appliedModifiers,\n itemPrice: item.product.price,\n }))\n\n const deliveryAddress =\n state.organisation.subscription.delivery_address ||\n state.organisation.delivery_address\n\n const body = {\n packages: [\n {\n id: state.chosenPackage.id,\n name: state.chosenPackage.name,\n package: {\n ...state.chosenPackage,\n quantity: payload.packageQuantity,\n },\n package_type_id: payload.chosenPackageTypeId,\n quantity: payload.packageQuantity,\n },\n ],\n maker_id: state.chosenMaker.id,\n customer_first_name: state.user.first_name,\n customer_last_name: state.user.last_name,\n customer_email: state.user.email,\n customer_phone: state.user.phone || state.organisation.telephone,\n business_name: state.organisation.name || state.user.business_name,\n maker_email: state.chosenMaker.email,\n maker_phone: state.chosenMaker.phone,\n delivery_note: state.organisation.delivery_note,\n note: payload.orderNote,\n biz: true,\n delivery_address: deliveryAddress,\n pick_up_address: state.chosenMaker.address,\n billing_address: state.organisation.billing_address || deliveryAddress,\n delivery_date_time: `${payload.cart.date.chosenDate.full}T${payload.cart.date.selectedWindow}:00Z`,\n items,\n deal_id: payload.cart.deal_id || null,\n }\n\n const config = state.authenticated\n ? {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n : {}\n\n const response = await this.$axios.post(\n `${process.env.AND_DINE_API}/api/customers/orders/daily`,\n body,\n config\n )\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_CHECKOUT_ERROR\", false)\n commit(\"SET_ORDER\", response.data)\n commit(\"SET_REWARDS\", response.data.rewards)\n await dispatch(\"getOrders\", true)\n } catch (error) {\n commit(\n \"SET_CHECKOUT_ERROR\",\n error.response ? error.response.data : error.message\n )\n commit(\"SET_CART_LOADING\", false)\n commit(\"SET_ORDER\", false)\n\n if (error.response?.data === \"Invalid Token\") {\n dispatch(\"customerLogout\")\n }\n\n this.$sentry.captureException(error)\n }\n },\n async updateOrderDelivery({ commit, dispatch }, payload) {\n const { id } = payload\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/public/orders/updateDelivery/${id}`,\n payload\n )\n .catch((error) => {\n commit(\"SET_CHECKOUT_ERROR\", error.response.data)\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async stripePayment({ commit, state, dispatch }, payload) {\n commit(\"SET_CART_LOADING\", true)\n commit(\"SET_CHECKOUT_ERROR\", false)\n await payload.elements.submit()\n await this.$stripe\n .confirmPayment({\n elements: payload.elements,\n clientSecret: payload.elements.clientSecret,\n handle_card_payment: false,\n redirect: \"if_required\",\n confirmParams: {\n payment_method_data: {\n billing_details: {\n name: `${state.customer.first_name} ${state.customer.last_name}`,\n email: state.customer.email,\n },\n },\n },\n })\n .then((invoice) => {\n commit(\"SET_CART_LOADING\", false)\n if (invoice.error) {\n commit(\"SET_CHECKOUT_ERROR\", invoice.error.message)\n commit(\"SET_CART_LOADING\", false)\n return\n }\n this.$posthog.capture(\"payment_complete\")\n window.location.href = `/success/?order_id=${state.order.id}`\n })\n .catch((error) => {\n commit(\"SET_CHECKOUT_ERROR\", error)\n commit(\"SET_CART_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async getOrders({ commit, state, dispatch }, reverse) {\n commit(\"SET_ACCOUNT_LOADING\", true)\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n try {\n const response = await this.$axios.get(\n `${\n process.env.AND_DINE_API\n }/api/customers/orders?orderBy=delivery_date_time&&orderDirection=${\n !reverse ? \"DESC\" : \"ASC\"\n }`,\n config\n )\n\n commit(\"SET_ORDERS\", response.data.orders)\n commit(\"SET_ACCOUNT_LOADING\", false)\n } catch (error) {\n commit(\"SET_ACCOUNT_LOADING\", false)\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n }\n },\n async getOrderById({ commit, state, dispatch }, id) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/customers/orders/${id}`, config)\n .then((response) => {\n commit(\"SET_CHOSEN_ORDER\", response.data)\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async getReviews({ commit }) {\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/public/reviews?limit=9999`)\n .then((response) => {\n commit(\"SET_REVIEWS\", response.data.data)\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n commit(\"SET_REVIEWS\", false)\n })\n },\n async createReview({ commit }, payload) {\n await this.$axios\n .post(\n `${process.env.AND_DINE_API}/api/public/reviews/${payload.id}`,\n payload.body\n )\n .then((response) => {\n commit(\"SET_REVIEW_MESSAGE\", \"Thanks for sharing\")\n })\n .catch((error) => {\n this.$sentry.captureException(error)\n })\n },\n async getOrganisation({ commit, state, dispatch }) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n commit(\"SET_ORGANISATION_LOADING\", true)\n await this.$axios\n .get(`${process.env.AND_DINE_API}/api/customers/organisations`, config)\n .then((response) => {\n commit(\"SET_ORGANISATION\", response.data)\n commit(\"SET_ORGANISATION_LOADING\", false)\n })\n .catch((error) => {\n commit(\"SET_ORGANISATION_LOADING\", false)\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n addOrgMember({ commit, state, dispatch }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n commit(\"SET_ORGANISATION_LOADING\", true)\n this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/customers/organisations/addCustomer/${payload.organisationId}`,\n { email: payload.email },\n config\n )\n .then(() => {\n dispatch(\"getOrganisation\")\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n commit(\"SET_ORGANISATION_LOADING\", false)\n })\n },\n removeOrgMember({ commit, state, dispatch }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n commit(\"SET_ORGANISATION_LOADING\", true)\n this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/customers/organisations/removeCustomer/${payload.organisationId}`,\n { email: payload.email },\n config\n )\n .then(() => {\n dispatch(\"getOrganisation\")\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n commit(\"SET_ORGANISATION_LOADING\", false)\n })\n },\n updateOrganisation({ commit, state, dispatch }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n commit(\"SET_ORGANISATION_LOADING\", true)\n this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/customers/organisations/${payload.organisationId}`,\n payload,\n config\n )\n .then(() => {\n dispatch(\"getOrganisation\")\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n commit(\"SET_ORGANISATION_LOADING\", false)\n })\n },\n downloadInvoice({ state, dispatch }, payload) {\n const config = {\n headers: {\n accept: \"application/pdf\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/octet-stream; charset=utf-8\",\n },\n }\n\n this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/customers/orders/downloadInvoice/${payload.orderId}`,\n config\n )\n .then((res) => {\n function base64ToArrayBuffer(data) {\n const binaryString = window.atob(data)\n const binaryLen = binaryString.length\n const bytes = new Uint8Array(binaryLen)\n for (let i = 0; i < binaryLen; i++) {\n const ascii = binaryString.charCodeAt(i)\n bytes[i] = ascii\n }\n return bytes\n }\n const arrayBuffer = base64ToArrayBuffer(res.data)\n const url = window.URL.createObjectURL(\n new Blob([arrayBuffer], {\n type: \"application/pdf\",\n })\n )\n const link = document.createElement(\"a\")\n link.href = url\n link.setAttribute(\"download\", `&Dine Invoice - ${payload.orderRef}.pdf`)\n document.body.appendChild(link)\n link.click()\n link.remove()\n })\n .catch((error) => {\n error.response?.data === \"Invalid Token\" && dispatch(\"customerLogout\")\n this.$sentry.captureException(error)\n })\n },\n async getPayment({ commit }, payload) {\n const config = {\n headers: {\n accept: \"application/pdf\",\n \"content-type\": \"application/octet-stream; charset=utf-8\",\n },\n }\n commit(\"SET_PAYMENT_LOADING\", true)\n await this.$axios\n .get(\n `${process.env.AND_DINE_API}/api/public/orders/payment/${payload}`,\n config\n )\n .then((response) => {\n commit(\"SET_PAYMENT_LOADING\", false)\n commit(\"SET_TEMPLATE_LOADING\", false)\n commit(\"SET_ORDER\", {\n ...response.data.orders[0],\n paymentIntent: response.data.paymentIntent,\n })\n })\n .catch((error) => {\n commit(\"SET_PAYMENT_LOADING\", false)\n commit(\"SET_TEMPLATE_LOADING\", false)\n this.$sentry.captureException(error)\n })\n },\n async updatePurchaseOrder({ commit }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"content-type\": \"application/json\",\n },\n }\n await this.$axios\n .put(\n `${process.env.AND_DINE_API}/api/public/orders/purchaseOrder`,\n payload,\n config\n )\n .then(() => {\n commit(\"SET_PURCHASE_ORDER_LOADING\", false)\n })\n .catch((error) => {\n commit(\"SET_PURCHASE_ORDER_LOADING\", false)\n commit(\n \"SET_PURCHASE_ORDER_ERROR\",\n \"An error has occurred, please contact your sales representative if you wish to add your purchase order\"\n )\n this.$sentry.captureException(error)\n })\n },\n async getCustomerPackageStructure({ state, commit }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n try {\n const response = await this.$axios(\n `${process.env.AND_DINE_API}/api/customers/subConfig`,\n config\n )\n commit(\"SET_ORG_PACKAGE_CHOICES\", response.data)\n } catch (error) {\n this.$sentry.captureException(error)\n }\n },\n async getSubscriptionTypes({ commit }) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"content-type\": \"application/json\",\n },\n }\n try {\n const response = await this.$axios(\n `${process.env.AND_DINE_API}/api/public/subConfig/subscriptionTypes`,\n config\n )\n commit(\"SET_SUBSCRIPTION_TYPES\", response.data)\n } catch (error) {\n this.$sentry.captureException(error)\n }\n },\n async getPackageTypes({ commit }) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"content-type\": \"application/json\",\n },\n }\n try {\n const response = await this.$axios(\n `${process.env.AND_DINE_API}/api/public/subConfig/packageTypes`,\n config\n )\n commit(\"SET_PACKAGE_TYPES\", response.data)\n } catch (error) {\n this.$sentry.captureException(error)\n }\n },\n async getDefaultSubscriptionConfigurations({ commit }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"content-type\": \"application/json\",\n },\n }\n try {\n const response = await this.$axios(\n `${process.env.AND_DINE_API}/api/public/subConfig/${payload}`,\n config\n )\n commit(\"SET_DEFAULT_PACKAGE_CHOICES\", response.data)\n } catch (error) {\n this.$sentry.captureException(error)\n }\n },\n async updateOrderPackage({ commit, state }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n\n const { orderId, items, packages, note } = payload\n commit(\"SET_UPDATE_PRODUCTS_LOADING\", true)\n\n try {\n await this.$axios.put(\n `${process.env.AND_DINE_API}/api/customers/orders/updatePackage/${orderId}`,\n { items, packages, note },\n config\n )\n\n commit(\"SET_UPDATE_PRODUCTS_ERROR\", false)\n\n await this.$axios(\n `${process.env.AND_DINE_API}/api/customers/orders?orderBy=delivery_date_time&orderDirection=DESC`,\n config\n ).then((response) => {\n commit(\"SET_UPDATE_PRODUCTS_LOADING\", false)\n commit(\"SET_ORDERS\", response.data.orders)\n })\n } catch (error) {\n commit(\"SET_UPDATE_PRODUCTS_LOADING\", false)\n commit(\n \"SET_UPDATE_PRODUCTS_ERROR\",\n \"There was an error updating products for this order. If this error persists please reach out to support.\"\n )\n this.$sentry.captureException(error)\n }\n },\n async cancelDailyOrder({ commit, state }, payload) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n\n commit(\"SET_CANCEL_DAILY_LOADING\", true)\n\n try {\n await this.$axios.put(\n `${process.env.AND_DINE_API}/api/customers/orders/cancelPremiumOrder/${payload}`,\n {},\n config\n )\n\n commit(\"SET_CANCEL_DAILY_ERROR\", false)\n\n await this.$axios(\n `${process.env.AND_DINE_API}/api/customers/orders?orderBy=delivery_date_time&orderDirection=DESC`,\n config\n ).then((response) => {\n commit(\"SET_CANCEL_DAILY_LOADING\", false)\n commit(\"SET_ORDERS\", response.data.orders)\n })\n } catch (error) {\n commit(\"SET_CANCEL_DAILY_LOADING\", false)\n commit(\n \"SET_CANCEL_DAILY_ERROR\",\n \"There was an error cancelling this order. If this error persists please reach out to support.\"\n )\n this.$sentry.captureException(error)\n }\n },\n async getPremiumCutOffDay({ commit, state }) {\n const config = {\n headers: {\n accept: \"application/json\",\n \"x-access-token-customer\": state.authenticated.token,\n \"content-type\": \"application/json\",\n },\n }\n\n try {\n const response = await this.$axios(\n `${process.env.AND_DINE_API}/api/customers/orders/premiumCutOff`,\n config\n )\n\n commit(\"SET_PREMIUM_CUT_OFF_DAY\", response.data.cut_off_day)\n } catch (error) {\n this.$sentry.captureException(error)\n }\n },\n}\n\nexport const getters = {\n openMakers: (state) => {\n return (\n state.makers &&\n state.makers?.filter(\n (maker) =>\n maker.is_active &&\n maker.makersCategories.some(\n (category) => category.is_active && category.biz === state.isBiz\n )\n )\n )\n },\n closedMakers: (state) => {\n return (\n state.makers &&\n state.makers?.filter(\n (maker) =>\n !maker.is_active &&\n maker.attachments?.logo?.length > 0 &&\n maker.attachments?.profile?.length > 0 &&\n maker.makersCategories.some(\n (category) => category.is_active && category.biz === state.isBiz\n )\n )\n )\n },\n previousMakers: (state) => {\n return (\n state.orders &&\n state.makers &&\n state.makers?.filter(\n (maker) =>\n JSON.stringify(state.orders).includes(maker.id) &&\n maker.is_active &&\n maker.makersCategories.some(\n (category) => category.is_active && category.biz === state.isBiz\n )\n )\n )\n },\n cartItemCount: (state) => {\n let count = 0\n state.cart?.items?.length > 0\n ? state.cart.items.forEach((item) => {\n count += item.quantity\n })\n : (count = 0)\n return count\n },\n topReviews: (state) => {\n const top = state.reviews.filter(\n (review) => review.score >= 4 && review.customer\n )\n return Array.from(\n top\n .reduce((uniqueCustomers, review) => {\n const customer = review.customer\n if (!uniqueCustomers.has(customer)) {\n uniqueCustomers.set(customer, review)\n }\n return uniqueCustomers\n }, new Map())\n .values()\n )\n },\n navItems: (state) => {\n return [\n {\n id: 1,\n icon: \"hand-wave\",\n name: \"about\",\n value: \"About us\",\n link: \"/about\",\n },\n {\n id: 2,\n icon: \"phone\",\n name: \"enquire\",\n value: \"Speak to the team\",\n external: \"https://landing.anddine.co.uk/enquire\",\n },\n {\n id: 3,\n icon: \"hat-chef\",\n name: \"join\",\n value: \"Become a Maker\",\n link: \"/join\",\n },\n {\n id: 4,\n icon: \"user\",\n name: state.authenticated ? state.user.first_name : \"login\",\n value: state.authenticated ? state.user.first_name : \"Login\",\n link: state.authenticated ? \"/account\" : \"/login\",\n },\n ]\n },\n}\n","\nexport default {\n name: \"Error\",\n props: {\n error: {\n type: Object,\n default: () => {},\n required: true,\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./error.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./error.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./error.vue?vue&type=template&id=2aabc79f\"\nimport script from \"./error.vue?vue&type=script&lang=js\"\nexport * from \"./error.vue?vue&type=script&lang=js\"\nimport style0 from \"./error.vue?vue&type=style&index=0&id=2aabc79f&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/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\n\n/* nuxt-component-imports */\ninstallComponents(component, {DynamicButton: require('/codebuild/output/src2803098981/src/and-dine/components/DynamicButton.vue').default})\n"],"names":["name","props","dynamicId","type","String","default","required","isSlot","Boolean","width","text","icon","color","disabled","submit","spinning","size","computed","iconUsed","this","methods","returnClick","$emit","component","_vm","_c","_self","staticClass","class","attrs","on","$event","stopPropagation","indexOf","_k","keyCode","key","_t","_defineProperty","small","style","concat","_v","_s","_e","Vue","use","Vue2TouchEvents","VueCarousel","_ref","inject","router","app","posthog","init","api_host","capture_pageview","capture_pageleave","autocapture","afterEach","to","nextTick","capture","$current_url","fullPath","VueSlider","ScrollPicker","VuePhoneNumberInput","library","add","faBars","faChevronRight","faChevronLeft","faTimes","faCheck","faChevronDown","faChevronUp","faPlus","faMinus","faUser","faSpinner","faShoppingBasket","faSearch","faTags","faClockRotateLeft","faCopyright","faLocationArrow","faPhone","faEnvelope","faMapMarker","faClock","faCalendar","faLink","faExclamationTriangle","faExclamationCircle","faExclamation","faMapPin","faCalendarDays","faReceipt","faTruck","faCircleCheck","faMagnifyingGlass","faSliders","faHatChef","faCirclePlus","faCircleMinus","faInfoCircle","faRotateLeft","faLock","faTrash","faGift","faEye","faDownload","faPrint","faArrowRight","faArrowLeft","faArrowUp","faArrowDown","faSealQuestion","faRotateRight","faXmark","faStar","faShoppingCart","faFaceSmile","faFaceFrown","faFacebook","faXTwitter","faTwitter","faInstagram","faLinkedin","faGoogle","faWhatsapp","config","autoAddCss","FontAwesomeIcon","module","exports","data","imageUrl","process","_objectSpread","mapGetters","mapState","watch","authenticated","getCustomer","$route","from","deepFilter","setCartStatus","setSearchStatus","showCart","document","querySelector","overflowY","mounted","makerCategories","getMakerCategories","reviews","getReviews","setWindowSize","window","innerWidth","addEventListener","handleResize","query","discount","setChosenDiscount","discount_code","toUpperCase","replace","beforeDestroy","removeEventListener","mapMutations","setCustomer","setDeliveryAddress","setAuthenticated","setCart","setOrder","setDealId","mapActions","_this","loginAs","JSON","parse","$router","push","localStorage","getItem","deal_id","cart","getShareCart","then","currentCart","getMakerBySlug","slug","maker","makerPage","addToCart","chosenMaker","goToMaker","val","cartItemCount","scrollTo","top","behavior","head","link","rel","hid","href","path","templateLoading","directives","rawName","value","$device","isMobile","expression","isDesktop","installComponents","Loading","NavBar","ShoppingCart","FooterBar","productQuantity","Number","item","Object","modifiers","Array","minQuantity","maxQuantity","showBin","disableMinus","picker","input","vertical","quantity","showPicker","isMax","isMin","parseInt","changeQuantity","plus","_this$item","_this$item2","modifierGroups","length","product","appliedModifiers","updateScrollQuantity","updateInputQuantity","setTimeout","domProps","target","composing","_","index","nativeOn","model","callback","$$v","hasHeader","hasFooter","fullScreen","height","visible","showClose","body","classList","$nextTick","modalBody","$refs","scrollTop","remove","closeModal","scopedSlots","_u","fn","proxy","ref","DynamicButton","chosenDate","dateList","hoveredDate","deliveryDays","yearly","reservedDays","calendarDate","$moment","days","dates","blanks","today","moment","number","format","month","year","monthDiff","getDates","startOf","startWeekday","day","startDay","daysInMonth","i","_this$deliveryDays$fi","date","clone","full","string","iso","toISOString","inPast","isBefore","isToday","isSame","available","find","prevYear","subtract","nextYear","prevMonth","nextMonth","chooseDate","updateHoveredDate","_l","includes","unavailable","hovered","reserved","isAfter","blank","slice","searchTerm","andDineApi","timeout","showResults","searchResults","clearSearch","returnSearch","result","_result$attachments","_result$attachments2","id","attachments","profile","encodeURI","file_path_small","description","products","parseFloat","price","toFixed","disableInputs","showWindows","showDeliveryTooltip","showCalendar","shareLink","isUserSales","user","role","belowMinAmount","_this$order","minOrderVal","order","food_total","totalVatFree","showCartItems","_this$cart","items","freeDeliveryReached","subtotal","free_delivery_min_amount","isBiz","min_order_amount","isCheckout","localDelivery","localVAT","vatTotal","setDeliveryDate","setSelectedWindow","setDeliveryWindows","goToCheckout","generateGroupOrder","alert","updateShareLink","createShareCart","dealId","response","copy","updateCartQuantity","payload","_this$cart2","_this$cart3","currentItem","every","modifier","modifier_id","removeCartItem","_this$cart4","removeFromCart","chooseDeliveryDate","chooseDeliveryWindow","validateOrder","_vm$cart","_vm$order","_vm$cart$date","chosenDeal","properties","dealname","delivery_days","_item$product$attachm","mainImage","reduce","acc","next","total","discount_total","staticStyle","delivery_fee","_m","delivery_vat","food_vat","service_fee_vat","cartError","selectedWindow","DatePicker","TimePicker","QuantityOperator","LoadingBar","fixed","setCalendarStatus","toggleCalendar","returnDate","_vm$chosenDate","Calendar","showTimes","chosenTime","hasWindows","deliveryWindows","hasSelected","_this$cart$date","hasDate","times","hours","map","w","startHour","Math","min","apply","_toConsumableArray","endHour","max","start","hour","end","intervals","current","isSameOrBefore","toggleTimes","returnTime","time","_vm$cart2","_vm$cart3","redirect","webpackEmptyContext","req","e","Error","code","keys","resolve","showMobileNav","isSearching","correctRoute","currentPage","showCount","setShowServices","setShowMenus","toggleSearch","toggleMobileNav","returnCartClick","showSearch","deepSearch","showServices","showMenus","navItems","mobile","external","SearchBar","colour","loadingWidth","showSuccess","showJoinModal","inputs","title","showTitle","error","show","hubspotScriptLoaded","hasErrors","some","script","createElement","formContainer","getElementsByClassName","src","appendChild","updateForm","form","DynamicModal","_maker$specialDeliver","_maker$deliveryDays","_scheduleItem$open_ti","_scheduleItem$close_t","sameDay","weekday","isoWeekday","scheduleItem","specialDeliveryDays","dayDiff","additional_days","cutOffTime","cut_off_time","orderDay","validTime","validDay","hasSameDayProducts","is_active","openTime","open_time","closeTime","close_time","nextAvailable","next_available","filters","arguments","undefined","filterQuery","encodeURIComponent","stringify","_ref2","_slicedToArray","exact","not","func","wait","context","args","clearTimeout","state","accountLoading","allergens","authLoading","customerLoading","customerRole","billingAddress","bundles","checkoutError","cartLoading","chosenCuisine","chosenProduct","chosenMakerCategory","chosenOrder","chosenPackage","cuisines","customer","deliveryAddress","deliveryFilter","deliveryLoading","deliveryNotes","discountError","discountLoading","filteredMakers","filteredProductCategories","homeLoading","isProduction","locatorIsOpen","loginError","makers","makerLoading","newVerificationError","newVerificationSuccess","orderNotes","orders","ordersLoading","organisationLoading","organisation","packages","packageCart","packagesLoading","productCategories","resetConfirmation","resetPasswordError","resetPasswordSuccess","reviewMessage","rewards","rewardsLoading","rewardSelected","sameDayChosen","showOptions","signUpSuccess","signUpError","socialSharing","network","tags","verifySuccess","verifyError","verificationLoading","windowSize","paymentLoading","purchaseOrderLoading","purchaseOrderError","orgPackageChoices","subscriptionTypes","packageTypes","defaultPackageChoices","updateProductsLoading","updateProductsError","cancelDailyOrderLoading","cancelDailyOrderError","premiumCutOffDay","mutations","SET_HOME_LOADING","SET_TEMPLATE_LOADING","SET_MAKER_LOADING","SET_AUTH_LOADING","SET_PRODUCT_CATEGORIES","filter","category","biz","SET_FILTERED_PRODUCT_CATEGORIES","allergen","list","toLowerCase","toggle","SET_SEARCH_STATUS","SET_CALENDAR_STATUS","SET_OPTIONS_STATUS","SET_SHOW_MENUS","SET_SHOW_SERVICES","SET_CART_STATUS","SET_BUNDLES","bundle","SET_PACKAGES_LOADING","SET_PACKAGES","SET_PACKAGE_CART","SET_CHOSEN_PACKAGE","SET_CHOSEN_PRODUCT","SET_ALLERGENS","SET_CUISINES","SET_TAGS","SET_SEARCH_RESULTS","SET_CHOSEN_CUISINE","SET_ORDER","setItem","SET_ORDER_NOTES","SET_DELIVERY_NOTES","SET_DELIVERY_DATE","newCart","same_day","future_day","SET_DELIVERY_FILTER","SET_SELECTED_WINDOW","SET_DELIVERY_WINDOWS","_state$cart","windows","endTime","endOf","startTime","windowStart","SET_LOGIN_ERROR","SET_SIGN_UP_SUCCESS","SET_SIGN_UP_ERROR","SET_VERIFY_ERROR","SET_VERIFY_SUCCESS","SET_AUTHENTICATED","SET_DELIVERY_ADDRESS","SET_BILLING_ADDRESS","SET_CUSTOMER","$posthog","identify","email","SET_USER","SET_DISCOUNT_LOADING","SET_DISCOUNT_ERROR","SET_CHOSEN_DISCOUNT","SET_CHOSEN_DEAL","SET_REWARDS","SET_REWARD_SELECTED","SET_ORDERS","status","paid","SET_CHOSEN_ORDER","SET_REVIEWS","SET_REVIEW_MESSAGE","SET_MAKERS","makersCategories","cat","createDeliveryDays","SET_CHOSEN_MAKER","SET_MAKER_CATEGORIES","randomCategories","sort","random","SET_CHOSEN_MAKER_CATEGORY","SET_FILTERED_MAKERS","SET_CART_LOADING","SET_ACCOUNT_LOADING","SET_CART","_payload$date","SET_RESET_CONFIRMATION","SET_CHECKOUT_ERROR","SET_CART_ERROR","SET_NEW_VERIFICATION_SUCCESS","SET_VERIFICATION_LOADING","SET_NEW_VERIFICATION_ERROR","SET_RESET_PASSWORD_ERROR","SET_RESET_PASSWORD_SUCCESS","SET_CUSTOMER_LOADING","SET_WINDOW_SIZE","SET_ORGANISATION_LOADING","SET_ORGANISATION","SET_DEAL_ID","SET_PAYMENT_LOADING","SET_PURCHASE_ORDER_LOADING","SET_PURCHASE_ORDER_ERROR","SET_ORG_PACKAGE_CHOICES","SET_SUBSCRIPTION_TYPES","SET_PACKAGE_TYPES","SET_DEFAULT_PACKAGE_CHOICES","SET_UPDATE_PRODUCTS_LOADING","SET_UPDATE_PRODUCTS_ERROR","SET_CANCEL_DAILY_LOADING","SET_CANCEL_DAILY_ERROR","SET_PREMIUM_CUT_OFF_DAY","actions","clearCart","commit","clearOrder","removeItem","googleAuth","_ref3","_asyncToGenerator","regeneratorRuntime","mark","_callee","dispatch","wrap","_context","prev","$axios","post","token","catch","$sentry","captureException","stop","getTags","_ref4","_this2","_callee2","_context2","get","getAllergens","_ref5","_this3","_callee3","_context3","getCuisines","_ref6","_this4","_callee4","_context4","models","debounce","_ref8","_callee5","_ref7","search","_this5","_context5","_x","_x2","_ref9","_this6","_callee6","_context6","tag","cuisine","getMakers","_ref11","_callee7","_ref10","page","limit","_this7","_context7","generateFilterQuery","_x3","_x4","_ref12","_this8","_callee8","_context8","getMakerCategory","_ref13","_this9","_callee9","_context9","_ref14","_this10","_callee10","_context10","getMakerById","_ref15","_this11","_callee11","_context11","searchMakers","_ref16","_this12","_callee12","_context12","getPackages","_ref17","_this13","_callee13","_context13","getPackageById","_ref18","_this14","_callee14","_context14","getProductsByMaker","_ref19","_this15","_callee15","_context15","getProductById","_ref20","_this16","_callee16","_context16","getProductBySlug","_ref21","_this17","_callee17","_context17","getDealById","_ref22","_this18","_callee18","_context18","headers","accept","Authorization","createCustomer","_ref23","_this19","_callee19","_context19","customerLogout","_ref24","verifyCustomer","_ref25","_this20","_callee20","_context20","put","verificationId","generateNewVerification","_ref26","_this21","_callee21","_context21","forgotPassword","_ref27","_this22","_callee22","_context22","resetCustomerPassword","_ref28","_this23","_callee23","_context23","customerLogin","_ref29","_this24","_callee24","_context24","credentials","_ref30","_this25","_callee25","_context25","_error$response","updateCustomer","_ref31","_this26","_callee26","_context26","_error$response2","getRewards","_ref32","_this27","_callee27","_context27","_error$response3","addDiscount","_ref33","_this28","_callee28","_context28","dataValues","paymentIntent","orderProducts","addReward","_ref34","_this29","_callee29","_context29","reward_id","_error$response4","addBundleToCart","_ref35","_this30","_callee30","_state$cart2","_payload$maker","_state$cart3","updatedItems","makerId","_context30","forEach","findIndex","maker_id","address","$gtm","event","currency","_state$productCategor","item_id","item_name","item_brand","item_category","categoryId","_ref37","_callee31","_ref36","_state$cart4","_payload$maker2","_state$cart5","_this31","_context31","vat_price","vat_level","_state$productCategor2","_x5","_x6","_ref39","_callee32","_ref38","_this32","_context32","_state$productCategor3","_x7","_x8","_ref40","cartString","customer_id","_ref41","_ref43","_callee33","_ref42","_state$deliveryAddres","_state$deliveryAddres2","_state$deliveryAddres3","_state$deliveryAddres4","_payload$maker$addres","_payload$maker$addres2","_payload$maker$addres3","_payload$maker$addres4","_state$billingAddress","_state$billingAddress2","_state$billingAddress3","_state$billingAddress4","_state$customer","_this33","_context33","itemPrice","customer_first_name","first_name","customer_last_name","last_name","delivery_date_time","discount_id","customer_phone","phone","customer_email","note","delivery_note","delivery_address","zip","formatted","city","line_1","line_2","pick_up_address","billing_address","business_name","delivery_service","organisation_id","_state$productCategor4","sku","category_id","message","_x9","_x10","createOrder","_ref44","_this34","_callee34","_context34","_state$productCategor5","_error$response5","createDailyOrder","_ref45","_this35","_callee35","_error$response6","_context35","subscription","package","packageQuantity","package_type_id","chosenPackageTypeId","telephone","maker_email","maker_phone","orderNote","sent","t0","updateOrderDelivery","_ref46","_this36","_callee36","_context36","_error$response7","stripePayment","_ref47","_this37","_callee37","_context37","elements","$stripe","confirmPayment","clientSecret","handle_card_payment","confirmParams","payment_method_data","billing_details","invoice","location","getOrders","_ref48","reverse","_this38","_callee38","_error$response8","_context38","getOrderById","_ref49","_this39","_callee39","_context39","_error$response9","_ref50","_this40","_callee40","_context40","createReview","_ref51","_this41","_callee41","_context41","getOrganisation","_ref52","_this42","_callee42","_context42","_error$response10","addOrgMember","_ref53","_this43","organisationId","_error$response11","removeOrgMember","_ref54","_this44","_error$response12","updateOrganisation","_ref55","_this45","_error$response13","downloadInvoice","_ref56","_this46","orderId","res","arrayBuffer","binaryString","atob","binaryLen","bytes","Uint8Array","ascii","charCodeAt","base64ToArrayBuffer","url","URL","createObjectURL","Blob","setAttribute","orderRef","click","_error$response14","getPayment","_ref57","_this47","_callee43","_context43","updatePurchaseOrder","_ref58","_this48","_callee44","_context44","getCustomerPackageStructure","_ref59","_this49","_callee45","_context45","getSubscriptionTypes","_ref60","_this50","_callee46","_context46","getPackageTypes","_ref61","_this51","_callee47","_context47","getDefaultSubscriptionConfigurations","_ref62","_this52","_callee48","_context48","updateOrderPackage","_ref63","_this53","_callee49","_context49","cancelDailyOrder","_ref64","_this54","_callee50","_context50","getPremiumCutOffDay","_ref65","_this55","_callee51","_context51","cut_off_day","getters","openMakers","_state$makers","closedMakers","_state$makers2","_maker$attachments","_maker$attachments2","logo","previousMakers","_state$makers3","_state$cart6","count","topReviews","review","score","uniqueCustomers","has","set","Map","values","statusCode"],"mappings":";;4GAA0P,ECC3O,CACbA,KAAM,gBACNC,MAAO,CACLC,UAAW,CACTC,KAAMC,OACNC,QAAS,GACTC,UAAU,GAEZC,OAAQ,CACNJ,KAAMK,QACNH,SAAS,EACTC,UAAU,GAEZG,MAAO,CACLN,KAAMC,OACNC,QAAS,QACTC,UAAU,GAEZI,KAAM,CACJP,KAAMC,OACNC,QAAS,GAC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