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webpack://hiq/./src/utilities/graphql/banner.ts","webpack://hiq/./src/utilities/graphql/contentblock.ts","webpack://hiq/./src/utilities/graphql/testimonial.ts","webpack://hiq/./src/utilities/graphql/promotion.ts","webpack://hiq/./src/utilities/graphql/popup.ts","webpack://hiq/./src/utilities/graphql/popupbanner.ts","webpack://hiq/./src/utilities/graphql/article.ts","webpack://hiq/./src/utilities/graphql/news.ts","webpack://hiq/./src/utilities/graphql/valueaddedservice.ts","webpack://hiq/./src/utilities/graphql/wheel.ts","webpack://hiq/./src/utilities/graphql/index.ts","webpack://hiq/./src/components/general/Image.vue?fb20","webpack://hiq/./src/components/general/Image.vue","webpack://hiq/./src/components/navigation/Navbar.vue?fb8c","webpack://hiq/./src/components/navigation/Navbar.vue","webpack://hiq/./src/components/navigation/Footer.vue?6bcc","webpack://hiq/./src/components/navigation/Footer.vue","webpack://hiq/./src/components/general/MainContainer.vue","webpack://hiq/./src/components/general/MainContainer.vue?64e1","webpack://hiq/./src/components/general/Banner.vue?ad48","webpack://hiq/./src/components/general/Banner.vue","webpack://hiq/./src/components/general/HomeBanner.vue?235e","webpack://hiq/./src/components/general/HomeBanner.vue","webpack://hiq/./src/components/general/Spinner.vue?2594","webpack://hiq/./src/components/general/Spinner.vue","webpack://hiq/./src/components/general/Testimonials.vue?0984","webpack://hiq/./src/components/general/Testimonials.vue","webpack://hiq/./src/api-calls/vehicles.ts","webpack://hiq/./src/api-client/base.ts","webpack://hiq/./src/api-client/common.ts","webpack://hiq/./src/api-client/api.ts","webpack://hiq/./src/api-client/configuration.ts","webpack://hiq/./src/network/api.ts","webpack://hiq/./src/api-calls/tyres.ts","webpack://hiq/./src/utilities/productProps.ts","webpack://hiq/./src/components/form/TyreSearch.vue?a6f3","webpack://hiq/./src/components/form/TyreSearch.vue","webpack://hiq/./src/components/general/PopupBanner.vue?e31c","webpack://hiq/./src/components/general/PopupBanner.vue","webpack://hiq/./src/views/HomeView.vue?71c7","webpack://hiq/./src/views/HomeView.vue","webpack://hiq/./src/components/general/LearnMoreBlock.vue?1453","webpack://hiq/./src/components/general/LearnMoreBlock.vue","webpack://hiq/./src/views/TyreResourcesView.vue?eedc","webpack://hiq/./src/views/TyreResourcesView.vue","webpack://hiq/./src/components/general/ContentBlockFlowpart.vue?88e5","webpack://hiq/./src/components/general/ContentBlockFlowpart.vue","webpack://hiq/./src/components/general/ContentBlock.vue?5f52","webpack://hiq/./src/components/general/ContentBlock.vue","webpack://hiq/./src/views/tyre-resources/WhenToChangeTyresView.vue?0123","webpack://hiq/./src/views/tyre-resources/WhenToChangeTyresView.vue","webpack://hiq/./src/views/tyre-resources/WhatTyresAreRightView.vue?9109","webpack://hiq/./src/views/tyre-resources/WhatTyresAreRightView.vue","webpack://hiq/./src/views/tyre-resources/WhatDoesOEMeanView.vue?567d","webpack://hiq/./src/views/tyre-resources/WhatDoesOEMeanView.vue","webpack://hiq/./src/views/tyre-resources/WhatTyresFitMyLifestyleView.vue?86b8","webpack://hiq/./src/views/tyre-resources/WhatTyresFitMyLifestyleView.vue","webpack://hiq/./src/views/tyre-resources/CalculatorsView.vue?139d","webpack://hiq/./src/views/tyre-resources/CalculatorsView.vue","webpack://hiq/./src/views/tyre-resources/TyreServicesView.vue?cad7","webpack://hiq/./src/views/tyre-resources/TyreServicesView.vue","webpack://hiq/./src/views/tyre-resources/TestimonialsView.vue?88b7","webpack://hiq/./src/views/tyre-resources/TestimonialsView.vue","webpack://hiq/./src/views/tyre-resources/WhatMakesUsDifferentView.vue?2e34","webpack://hiq/./src/views/tyre-resources/WhatMakesUsDifferentView.vue","webpack://hiq/./src/views/tyre-resources/TyreMarkingsView.vue?7895","webpack://hiq/./src/views/tyre-resources/TyreMarkingsView.vue","webpack://hiq/./src/views/tyre-resources/WhereCanIGoView.vue?7796","webpack://hiq/./src/views/tyre-resources/WhereCanIGoView.vue","webpack://hiq/./src/components/form/TyreSearchFilters.vue?e7cd","webpack://hiq/./src/components/form/TyreSearchFilters.vue","webpack://hiq/./src/components/range-tiles/GenericRangeTile.vue?ea44","webpack://hiq/./src/components/range-tiles/GenericRangeTile.vue","webpack://hiq/./src/components/misc/Pagination.vue?ffd0","webpack://hiq/./src/components/misc/Pagination.vue","webpack://hiq/./src/components/general/QTRegionDialog.vue?428d","webpack://hiq/./src/components/general/QTRegionDialog.vue","webpack://hiq/./src/views/tyre-range/TyreRangeView.vue?4552","webpack://hiq/./src/views/tyre-range/TyreRangeView.vue","webpack://hiq/./src/components/general/QtStoreList.vue?64c2","webpack://hiq/./src/components/general/QtStoreList.vue","webpack://hiq/./src/views/tyre-range/TyreDetailView.vue?eb2a","webpack://hiq/./src/views/tyre-range/TyreDetailView.vue","webpack://hiq/./src/components/general/PromotionThumbnail.vue?9578","webpack://hiq/./src/components/general/PromotionThumbnail.vue","webpack://hiq/./src/views/promotion/PromotionListView.vue?95db","webpack://hiq/./src/views/promotion/PromotionListView.vue","webpack://hiq/./src/views/promotion/PromotionDetailView.vue?92e3","webpack://hiq/./src/views/promotion/PromotionDetailView.vue","webpack://hiq/./src/api-calls/stores.ts","webpack://hiq/./src/api-calls/contact.ts","webpack://hiq/./src/components/misc/FileUploader.vue?bf31","webpack://hiq/./src/components/misc/FileUploader.vue","webpack://hiq/./src/components/form/CampaignCaptureForm.vue?1a98","webpack://hiq/./src/components/form/CampaignCaptureForm.vue","webpack://hiq/./src/views/promotion/CampaignCaptureView.vue?42ef","webpack://hiq/./src/views/promotion/CampaignCaptureView.vue","webpack://hiq/./src/components/form/ContactForm.vue?9ddd","webpack://hiq/./src/components/form/ContactForm.vue","webpack://hiq/./src/views/contact/ContactView.vue?89b9","webpack://hiq/./src/views/contact/ContactView.vue","webpack://hiq/./src/components/form/QuoteForm.vue?51d0","webpack://hiq/./src/components/form/QuoteForm.vue","webpack://hiq/./src/views/contact/RequestQuoteView.vue?4a50","webpack://hiq/./src/views/contact/RequestQuoteView.vue","webpack://hiq/./src/components/form/FranchiseForm.vue?e7f8","webpack://hiq/./src/components/form/FranchiseForm.vue","webpack://hiq/./src/views/contact/BecomeAFranchiseApplicationView.vue?9244","webpack://hiq/./src/views/contact/BecomeAFranchiseApplicationView.vue","webpack://hiq/./src/views/tyre-resources/TechnicalArticleListView.vue?1aa5","webpack://hiq/./src/views/tyre-resources/TechnicalArticleListView.vue","webpack://hiq/./src/views/tyre-resources/TechnicalArticleView.vue?382b","webpack://hiq/./src/views/tyre-resources/TechnicalArticleView.vue","webpack://hiq/./src/views/tyre-resources/NewsArticleListView.vue?9bc2","webpack://hiq/./src/views/tyre-resources/NewsArticleListView.vue","webpack://hiq/./src/views/tyre-resources/NewsArticleView.vue?36fc","webpack://hiq/./src/views/tyre-resources/NewsArticleView.vue","webpack://hiq/./src/views/PageNotFoundView.vue?981e","webpack://hiq/./src/views/PageNotFoundView.vue","webpack://hiq/./src/views/CookiePolicyView.vue?defd","webpack://hiq/./src/views/CookiePolicyView.vue","webpack://hiq/./src/views/PrivacyPolicyView.vue?44e0","webpack://hiq/./src/views/PrivacyPolicyView.vue","webpack://hiq/./src/views/TermsAndConditionsView.vue?d1bf","webpack://hiq/./src/views/TermsAndConditionsView.vue","webpack://hiq/./src/components/form/FleetAccountForm.vue?4b2d","webpack://hiq/./src/components/form/FleetAccountForm.vue","webpack://hiq/./src/views/tyre-resources/GetAHiqCompanyAccountView.vue?9db0","webpack://hiq/./src/views/tyre-resources/GetAHiqCompanyAccountView.vue","webpack://hiq/./src/views/tyre-resources/ValueAddedServicesListView.vue?088f","webpack://hiq/./src/views/tyre-resources/ValueAddedServicesListView.vue","webpack://hiq/./src/views/tyre-resources/ValueAddedServicesView.vue?066e","webpack://hiq/./src/views/tyre-resources/ValueAddedServicesView.vue","webpack://hiq/./src/views/products-and-services/WheelBalancingView.vue?6159","webpack://hiq/./src/views/products-and-services/WheelBalancingView.vue","webpack://hiq/./src/views/products-and-services/WheelAlignmentView.vue?929f","webpack://hiq/./src/views/products-and-services/WheelAlignmentView.vue","webpack://hiq/./src/views/products-and-services/WheelRotationView.vue?2003","webpack://hiq/./src/views/products-and-services/WheelRotationView.vue","webpack://hiq/./src/views/products-and-services/TyreRepairsView.vue?5a5d","webpack://hiq/./src/views/products-and-services/TyreRepairsView.vue","webpack://hiq/./src/components/general/StoreMap.vue?1222","webpack://hiq/./src/components/general/StoreMap.vue","webpack://hiq/./src/views/store/StoreLocatorView.vue?6bb1","webpack://hiq/./src/views/store/StoreLocatorView.vue","webpack://hiq/./src/views/store/StoreDetailView.vue?fdf7","webpack://hiq/./src/views/store/StoreDetailView.vue","webpack://hiq/./src/components/DecisionTreeQuestions.vue?e25a","webpack://hiq/./src/components/DecisionTreeQuestions.vue","webpack://hiq/./src/utilities/decisionTree.ts","webpack://hiq/./src/views/decision-tree/DecisionTreeView.vue?b128","webpack://hiq/./src/views/decision-tree/DecisionTreeView.vue","webpack://hiq/./src/views/decision-tree/DecisionTreeResultsView.vue?c8c3","webpack://hiq/./src/views/decision-tree/DecisionTreeResultsView.vue","webpack://hiq/./src/views/product-range/ProductRangeView.vue?c443","webpack://hiq/./src/views/product-range/ProductRangeView.vue","webpack://hiq/./src/components/general/ProductLink.vue?1ddb","webpack://hiq/./src/components/general/ProductLink.vue","webpack://hiq/./src/components/general/ProductLinkList.vue?df74","webpack://hiq/./src/components/general/ProductLinkList.vue","webpack://hiq/./src/views/product-range/BatteriesView.vue?6e68","webpack://hiq/./src/views/product-range/BatteriesView.vue","webpack://hiq/./src/views/product-range/BrakesView.vue?e7a7","webpack://hiq/./src/views/product-range/BrakesView.vue","webpack://hiq/./src/views/product-range/ExhaustsView.vue?af64","webpack://hiq/./src/views/product-range/ExhaustsView.vue","webpack://hiq/./src/views/product-range/ShocksView.vue?969d","webpack://hiq/./src/views/product-range/ShocksView.vue","webpack://hiq/./src/views/product-range/TowbarsView.vue?c00e","webpack://hiq/./src/views/product-range/TowbarsView.vue","webpack://hiq/./src/views/product-range/WheelsView.vue?8d3d","webpack://hiq/./src/views/product-range/WheelsView.vue","webpack://hiq/./src/components/general/WheelList.vue?e2f3","webpack://hiq/./src/components/general/WheelList.vue","webpack://hiq/./src/views/product-range/WheelsBrandView.vue?f1f4","webpack://hiq/./src/views/product-range/WheelsBrandView.vue","webpack://hiq/./src/views/product-range/WheelsDetailView.vue?bdb9","webpack://hiq/./src/views/product-range/WheelsDetailView.vue","webpack://hiq/./src/views/promotion/best-buys-2024/Index.vue?922f","webpack://hiq/./src/views/promotion/best-buys-2024/Index.vue","webpack://hiq/./src/api-calls/promotion.ts","webpack://hiq/./src/views/promotion/best-buys-2024/BestBuysPricing.vue?1658","webpack://hiq/./src/views/promotion/best-buys-2024/BestBuysPricing.vue","webpack://hiq/./src/router/index.ts","webpack://hiq/./src/utilities/graphql/seo.ts","webpack://hiq/./src/App.vue?2a5e","webpack://hiq/./src/App.vue","webpack://hiq/./src/registerServiceWorker.ts","webpack://hiq/./src/main.ts","webpack://hiq/webpack/bootstrap","webpack://hiq/webpack/runtime/amd options","webpack://hiq/webpack/runtime/chunk loaded","webpack://hiq/webpack/runtime/compat get default export","webpack://hiq/webpack/runtime/define property getters","webpack://hiq/webpack/runtime/global","webpack://hiq/webpack/runtime/hasOwnProperty shorthand","webpack://hiq/webpack/runtime/make namespace object","webpack://hiq/webpack/runtime/jsonp chunk loading","webpack://hiq/webpack/startup"],"sourcesContent":["import { defineStore } from \"pinia\";\r\n\r\ntype MiscState = {\r\n isLoading: boolean;\r\n isLoadingOverride: boolean;\r\n};\r\n\r\nexport const useMiscStore = defineStore({\r\n id: \"misc\",\r\n state: (): MiscState => {\r\n return {\r\n isLoading: false,\r\n isLoadingOverride: false,\r\n };\r\n }\r\n});\r\n","import { EpPropMergeType } from \"element-plus/es/utils\";\r\nimport { useGtm, TrackEventOptions } from '@gtm-support/vue-gtm';\r\nimport { ProblemDetails, TyreListViewModel, StoreListViewModel } from \"@/api-client\";\r\nimport { ElMessage } from \"element-plus\";\r\nimport { useMiscStore } from '@/stores/misc';\r\nimport { ValidateFieldsError } from \"async-validator\";\r\n\r\nexport function getDeepCopy(obj: any) {\r\n return JSON.parse(JSON.stringify(obj));\r\n}\r\n\r\nexport function isQTEnabled() {\r\n return process.env.VUE_APP_QUICKTYRE_STORE_ENABLED == 'true';\r\n}\r\n\r\nexport function getQTLink() {\r\n return process.env.VUE_APP_QUICKTYRE_LINK;\r\n}\r\n\r\nexport function getQTMedia() {\r\n return process.env.VUE_APP_QUICKTYRE_MEDIA;\r\n}\r\n\r\nexport function formatPurchaseUrlURL(item: TyreListViewModel) {\r\n if (!item.purchaseUrl) {\r\n return '';\r\n }\r\n if (item.purchaseUrl.includes(\"http\")) {\r\n return item.purchaseUrl;\r\n }\r\n else {\r\n const url = item.purchaseUrl.includes(\"tyre/\") ? \"\" : \"/tyre\" + item.purchaseUrl;\r\n return getQTLink() + url;\r\n }\r\n}\r\n\r\nexport function getFallbackTyreImg() {\r\n return `${getQTLink()}/content/thumbs/Imagecomingsoon2.jpg`;\r\n}\r\n\r\nexport function thumbnailImageError(event: any/* Event */) {\r\n event.target!.dataset.srcError = event.target!.src;\r\n event.target!.src = getFallbackTyreImg();\r\n}\r\n\r\nexport function formatVideoMedia(video: string) {\r\n if (video.toLowerCase().search('youtu') > -1) {\r\n if (video.toLowerCase().search('youtube') > -1) {\r\n video = video.replace('watch?v=', 'embed/').split('&')[0];\r\n }\r\n else if (video.toLowerCase().search('youtu.be') > -1) {\r\n video = video.replace('youtu.be/', 'youtube.com/embed/').split('&')[0];\r\n }\r\n video = video + \"?rel=0\";\r\n }\r\n\r\n \r\n return video;\r\n}\r\n\r\nexport function scrollTop(toScrollSelector = \"\", scrollIfAbove = true, offset?: number) {\r\n if (toScrollSelector) {\r\n const destination = document.querySelector(toScrollSelector) as HTMLElement;\r\n if (destination) {\r\n const navBar = document.querySelector(\"#navbar\") as HTMLElement;\r\n const scrollOffset = destination.offsetTop - (navBar ? navBar.offsetHeight : 0);\r\n\r\n if (scrollOffset > window.scrollY && !scrollIfAbove) {\r\n return;\r\n }\r\n\r\n // setTimeout used to send to end of stack\r\n setTimeout(() => {\r\n window.scrollTo(0, scrollOffset + (offset || 0));\r\n }, 0);\r\n }\r\n } else {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n return;\r\n}\r\n\r\nexport function CmsBaseUrl () {\r\n return process.env.VUE_APP_APOLLO_ENGINE_SERVICE\r\n}\r\n\r\nexport function MarkdownMediaSrcReplace (string: string) {\r\n return string.replaceAll('src=\"/media/', `class=\"img-fluid\" src=\"${process.env.VUE_APP_APOLLO_ENGINE_SERVICE}/media/`)\r\n}\r\n\r\nfunction getDigit(input: string) {\r\n return input.match(/\\d+/)![0]\r\n}\r\n\r\nexport function getSizeFromString (size: string) {\r\n let sizeObj = {\r\n sectionWidth: \"0\",\r\n aspectRatio: \"0\",\r\n rimSize: \"0\"\r\n }\r\n if (size.includes(\"/\")) {\r\n let split = size.split(\"/\");\r\n sizeObj.sectionWidth = getDigit(split[0]);\r\n\r\n split = split[1].split(\"R\")\r\n sizeObj.aspectRatio = getDigit(split[0]);\r\n sizeObj.rimSize = getDigit(split[1]);\r\n }\r\n else {\r\n let split = size.split(\"R\")\r\n sizeObj.sectionWidth = getDigit(split[0]);\r\n sizeObj.aspectRatio = \"80\";\r\n sizeObj.rimSize = getDigit(split[1]);\r\n }\r\n\r\n return sizeObj;\r\n}\r\n\r\nexport function triggerGtmEvent (event: TrackEventOptions) {\r\n // TrackEventOptions can consist of...\r\n // <event> string Name of event.\r\n // <action> string The value that will appear as the event action in Google Analytics Event reports.\r\n // <label> string The label of the event.\r\n // <value> number A non-negative integer that will appear as the vent value.\r\n const gtm = useGtm();\r\n gtm?.trackEvent(event);\r\n}\r\n\r\nexport function gtmDatalayerEvent (eventTitle: string, eventObj: Object | null = null, objectName: string = \"body\") {\r\n let event = {\r\n event: eventTitle\r\n }\r\n if (eventObj) {\r\n Object.assign(event, { [objectName]: eventObj });\r\n }\r\n\r\n if (process.env.VUE_APP_ENABLE_GTM === 'true') {\r\n window.dataLayer?.push(event);\r\n }\r\n else {\r\n console.info(\"%cGTM:\", \"color: white; background-color: teal; font-weight: 800; font-size: 15px; padding: 2px 3px;\", event, \"(*pushed when on production)\");\r\n }\r\n}\r\n\r\nexport interface TyreSizeObj {\r\n sectionWidth: string,\r\n aspectRatio: string,\r\n rimSize: string\r\n}\r\n\r\nexport interface TyreSizeQuery {\r\n isImperial?: string\r\n}\r\n\r\nexport interface TyreGtmEventObj {\r\n section_width?: string,\r\n aspect_ratio?: string,\r\n rim_size?: string,\r\n manufacturer?: string,\r\n model?: string,\r\n year?: string,\r\n vehicle_specification?: string,\r\n tyre_size?: string\r\n}\r\n\r\nexport interface TyreSearchObj {\r\n params: TyreSizeObj,\r\n query?: TyreSizeQuery,\r\n search: TyreGtmEventObj\r\n}\r\n\r\nexport interface GoogleAnalyticsEcommerceObj {\r\n currency: string,\r\n item_list_name?: string,\r\n items?: Array<GoogleAnalyticsEcommerceItem>\r\n}\r\n\r\ninterface GoogleAnalyticsEcommerceItem {\r\n sku: string,\r\n item_name: string,\r\n item_brand: string,\r\n price?: number,\r\n index?: number\r\n}\r\n\r\nexport function uploadPath () {\r\n return `${process.env.VUE_APP_ROOT_API}/files`;\r\n}\r\n\r\nexport function hasDateTimePassed(targetDateTime: string | undefined) {\r\n if (targetDateTime) {\r\n // Parse the target date and time string into a Date object\r\n const targetDate = new Date(targetDateTime);\r\n\r\n // Get the current date and time\r\n const currentDate = new Date();\r\n\r\n // Compare the target date and time with the current date and time\r\n return targetDate < currentDate;\r\n }\r\n return false;\r\n}\r\n\r\nexport function isTodayInRange(startDate: string, endDate: string) {\r\n // Parse the input dates\r\n const startDateObj = new Date(startDate);\r\n const endDateObj = new Date(endDate);\r\n\r\n // Get the current date\r\n const currentDate = new Date();\r\n\r\n // Adjust the end date to include the full day\r\n endDateObj.setHours(23, 59, 59, 999);\r\n\r\n // Check if the current date is greater than or equal to the start date\r\n // and less than or equal to the end date\r\n return currentDate >= startDateObj && currentDate <= endDateObj;\r\n}\r\n\r\nexport function getDateDifference(date: string | undefined) {\r\n if (date) {\r\n // Parse the input date\r\n const inputDate = new Date(date) as any;\r\n\r\n // Get the current date\r\n const currentDate = new Date() as any;\r\n\r\n // Calculate the time difference in milliseconds\r\n const timeDifference = currentDate - inputDate;\r\n\r\n // Calculate the number of milliseconds in a day, month, and year\r\n const millisecondsPerDay = 24 * 60 * 60 * 1000;\r\n const millisecondsPerMonth = 30.44 * millisecondsPerDay; // Approximate value\r\n const millisecondsPerYear = 365.25 * millisecondsPerDay; // Approximate value\r\n\r\n // Calculate the difference in days, months, and years\r\n const daysDifference = Math.floor(timeDifference / millisecondsPerDay);\r\n const monthsDifference = Math.floor(timeDifference / millisecondsPerMonth);\r\n const yearsDifference = Math.floor(timeDifference / millisecondsPerYear);\r\n\r\n // Determine whether to use \"day(s),\" \"month(s),\" or \"year(s)\"\r\n let unit = \"day\";\r\n let hasPassed = false;\r\n let difference = daysDifference;\r\n\r\n if(hasDateTimePassed(date)) {\r\n hasPassed = true;\r\n }\r\n\r\n if ((hasPassed && yearsDifference >= 1) || (!hasPassed && Math.abs(yearsDifference + 1) >= 1)) {\r\n unit = \"year\";\r\n difference = !hasPassed ? Math.abs(yearsDifference + 1) : yearsDifference;\r\n } else if ((hasPassed && monthsDifference >= 1) || (!hasPassed && Math.abs(monthsDifference + 1) >= 1)) {\r\n unit = \"month\";\r\n difference = !hasPassed ? Math.abs(monthsDifference + 1) : monthsDifference;\r\n }\r\n\r\n if(!daysDifference && !monthsDifference && !yearsDifference) {\r\n return \"today\"\r\n } else if(hasPassed) {\r\n return `${Math.abs(difference)} ${unit}${Math.abs(difference) !== 1 ? \"s\" : \"\"} ago`;\r\n } else {\r\n return `${Math.abs(difference)} ${unit}${Math.abs(difference) !== 1 ? \"s\" : \"\"}`;\r\n }\r\n \r\n }\r\n return \"\";\r\n}\r\n\r\nexport function addDays(date: Date, days: number) {\r\n const dateCopy = new Date(date);\r\n dateCopy.setDate(date.getDate() + days);\r\n return dateCopy;\r\n}\r\n\r\nexport function formatDate(date: string, separator = \"/\") {\r\n if (date) {\r\n const dateObject = new Date(date);\r\n const day = dateObject.getDate();\r\n const month = dateObject.getMonth() + 1;\r\n const year = dateObject.getFullYear();\r\n return `${appendLeadingZeroes(day)}${separator}${appendLeadingZeroes(month)}${separator}${year}`;\r\n }\r\n return \"\";\r\n}\r\n\r\nexport function formatTime(date: string) {\r\n if (date) {\r\n const dateObject = new Date(date);\r\n const hours: string | number = appendLeadingZeroes(dateObject.getHours());\r\n const minutes: string | number = appendLeadingZeroes(dateObject.getMinutes());\r\n return `${hours}:${minutes}`;\r\n }\r\n return \"\";\r\n}\r\n\r\n// export function formatTimeSpan(date: TimeSpan) {\r\n// if (date) {\r\n// const time = date.toString().split(\":\")\r\n// return `${time[0]}:${time[1]}`;\r\n// }\r\n// return \"\";\r\n// }\r\n\r\nexport function formatTimeString(time: string) {\r\n if (time) {\r\n return time.split(\":\").slice(0, 2).join(\":\");\r\n }\r\n return \"\";\r\n}\r\n\r\nexport function formatTimeZone(input: Date | string) {\r\n if (input) {\r\n let date = input;\r\n if (typeof(date) === 'string') {\r\n date = new Date(input);\r\n }\r\n return new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toISOString();\r\n }\r\n return \"\";\r\n}\r\n\r\nexport function thousandSeparator(num: number) {\r\n let parts = num.toFixed(2).toString().split(\".\");\r\n \r\n // Add commas to separate thousands\r\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, \" \");\r\n \r\n // Join integer and decimal parts with a dot\r\n return parts.join(\".\");\r\n}\r\n\r\nexport function toKebabCase (input: string) {\r\n return input.replace(/[\\s_]+/g, '-').toLowerCase();\r\n}\r\n\r\nfunction appendLeadingZeroes(n: number) {\r\n if (n <= 9) {\r\n return \"0\" + n;\r\n }\r\n return n;\r\n}\r\n\r\nexport function checkStore(state: any, stateItem: string, storeName: string, getterName: string) {\r\n if (state && state[stateItem] != null) {\r\n return state[stateItem];\r\n } else {\r\n const pinia = localStorage.getItem(\"pinia\");\r\n const store = JSON.parse(pinia!);\r\n if (store == null) {\r\n return null;\r\n }\r\n if (store[storeName] == null) {\r\n return null;\r\n }\r\n const storageItem = store[storeName][getterName];\r\n if (storageItem != null) {\r\n return storageItem;\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n\r\nexport function coordinateVerification(store: StoreListViewModel) {\r\n const isInvalid = (store.latitude == undefined && store.longitude == undefined) ||\r\n (store.latitude == null && store.longitude == null) ||\r\n (store.latitude == 0 && store.longitude == 0);\r\n return !isInvalid;\r\n}\r\n\r\nexport function statusFilter(status: any) {\r\n const statusMap: { [key: string]: string } = {\r\n false: \"success\",\r\n true: \"danger\",\r\n };\r\n return statusMap[status] as EpPropMergeType<StringConstructor, \"\" | \"success\" | \"warning\" | \"info\" | \"danger\", unknown> | undefined;\r\n}\r\n\r\nexport function handleError(error: ProblemDetails | any, displayMessage = true) {\r\n console.log(error);\r\n\r\n const miscStore = useMiscStore();\r\n const defaultError = \"<p>An unexpected error has occurred.</p>\";\r\n let errorMessage = defaultError;\r\n\r\n setTimeout(() => {\r\n miscStore.isLoading = false;\r\n miscStore.isLoadingOverride = false;\r\n }, 500);\r\n\r\n if(displayMessage) {\r\n if (error && Object.prototype.hasOwnProperty.call(error, \"response\")) {\r\n errorMessage =\r\n `<p>${(error.response?.data as ProblemDetails).title || (error.response?.data as ProblemDetails).detail || defaultError}</p>`;\r\n\r\n if(error?.response?.data?.errors) {\r\n const errorMessages = error.response.data.errors;\r\n if(Object.keys(errorMessages).length) {\r\n let arr: string[] = []\r\n Object.keys(errorMessages).forEach((key:any) => {\r\n arr.push(`<p class='m-0'>${errorMessages[key]}</p>`);\r\n })\r\n errorMessage += arr.join(\"\")\r\n }\r\n }\r\n } else if (error && Object.prototype.hasOwnProperty.call(error, \"errors\")) {\r\n const errorMessages = error.errors;\r\n if(errorMessages.length) {\r\n let arr: string[] = []\r\n Object.values(errorMessages).forEach((err:any) => {\r\n arr.push(`<p class='m-0'>${err.friendlyMessage}</p>`);\r\n })\r\n errorMessage += arr.join(\"\")\r\n }\r\n } else if (error) {\r\n errorMessage = error.message || defaultError;\r\n }\r\n\r\n ElMessage.error({ message: errorMessage, showClose: true, duration: 0, grouping: true, dangerouslyUseHTMLString: true });\r\n }\r\n}\r\n\r\nexport function handleInvalidForm(fields: ValidateFieldsError) {\r\n if (fields) {\r\n const field = Object.values(fields)[0];\r\n if (field[0]?.field) {\r\n document.getElementsByName(field[0].field)[0]?.focus();\r\n }\r\n }\r\n console.log(\"invalid\");\r\n}\r\n\r\nexport const disabledDate = (time: Date) => {\r\n const today = new Date();\r\n let minDate = today.setDate(today.getDate());\r\n\r\n return time.getTime() > minDate;\r\n}\r\n\r\nexport function tableResizeObserver(_this:any) {\r\n // This is a hack to remove the \"resizeobserver loop limit exceeded\" error overlay that appears on screen resize/manipulation\r\n // Hack source: https://juejin.cn/post/7234703748403839036\r\n\r\n const debounce = (fn: ResizeObserverCallback, delay: number, self: any) => {\r\n let timer: any = null;\r\n return function () {\r\n let context = self;\r\n let args = arguments as any; //[entries: ResizeObserverEntry[], observer: ResizeObserver]\r\n clearTimeout(timer);\r\n timer = setTimeout(function () {\r\n fn.apply(context, args);\r\n }, delay);\r\n };\r\n };\r\n const _ResizeObserver = window.ResizeObserver;\r\n const self = _this;\r\n window.ResizeObserver = class ResizeObserver extends _ResizeObserver {\r\n constructor(callback: ResizeObserverCallback) {\r\n callback = debounce(callback, 16, self);\r\n super(callback);\r\n }\r\n };\r\n}","import gql from 'graphql-tag'\r\n\r\nconst image = gql`query GetImage($alias: String!) {\r\n image(where: {alias: {alias: $alias}}) {\r\n displayText\r\n image {\r\n urls(first: 1)\r\n }\r\n altText\r\n }\r\n}`\r\n\r\ninterface imageObj {\r\n displayText: string,\r\n image: string,\r\n altText: string\r\n}\r\n\r\nexport {\r\n image,\r\n imageObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst banner = gql`query GetBanner($alias: String!) {\r\n banner(where: {alias: {alias: $alias}}) {\r\n displayText\r\n alias {\r\n alias\r\n }\r\n bannerMainText {\r\n html\r\n }\r\n bannerSubtext {\r\n html\r\n }\r\n image {\r\n urls(first: 1)\r\n }\r\n bannerContainsText\r\n mobileImage {\r\n urls(first: 1)\r\n }\r\n bannerImageAlignment\r\n bannerImageAltText\r\n }\r\n}`\r\n\r\ninterface bannerObj {\r\n displayText: string,\r\n alias: string,\r\n bannerMainText: string,\r\n bannerSubtext: string,\r\n image: string,\r\n bannerContainsText: boolean | null,\r\n mobileImage: string,\r\n bannerImageAlignment: string,\r\n bannerImageAltText: string\r\n}\r\n\r\nexport {\r\n banner,\r\n bannerObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst contentBlock = gql`query GetContentBlock($alias: String!) {\r\n contentBlock(where: {alias: {alias: $alias}}) {\r\n contentBlockTitle\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n additionalContent {\r\n contentItems {\r\n ... on Buttons {\r\n buttonList {\r\n contentItems {\r\n ... on LinkMenuItem {\r\n linkMenuItem {\r\n name\r\n url\r\n }\r\n }\r\n }\r\n }\r\n }\r\n ... on Image {\r\n image {\r\n urls(first: 1)\r\n }\r\n altText\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls(first: 1)\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface contentBlockObj {\r\n contentBlockTitle?: String,\r\n contentBlockSubtitle?: String,\r\n markdownBody?: {\r\n html: String\r\n },\r\n additionalContent?: {\r\n contentItems: [ \r\n {\r\n buttonList: {\r\n contentItems: [\r\n {\r\n linkMenuItem: {\r\n name: String,\r\n url: String\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n images: {\r\n urls: [ \"\" ]\r\n }\r\n }\r\n ]\r\n }\r\n}\r\n\r\nconst clientQuotes = gql`query GetClientQuotes {\r\n contentBlock(where: {alias: {alias: \"home-client-quotes\"}}) {\r\n contentBlockTitle\r\n additionalContent {\r\n contentItems {\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nexport {\r\n contentBlock,\r\n contentBlockObj,\r\n clientQuotes\r\n}","import gql from 'graphql-tag'\r\n\r\nconst testimonial = gql`query GetTestimonial {\r\n testimonial {\r\n displayText\r\n jobTitle\r\n copy {\r\n html\r\n }\r\n rating\r\n }\r\n}`\r\n\r\ninterface testimonialObj {\r\n displayText: string,\r\n jobTitle: string,\r\n rating: number,\r\n copy: {\r\n html: String\r\n }\r\n}\r\n\r\nexport {\r\n testimonial,\r\n testimonialObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst promoCount = gql`query GetPromotion {\r\n promotion(orderBy: {published: DESC}) {\r\n display\r\n }\r\n}`\r\n\r\nconst promotions = gql`query GetPromotion {\r\n promotion(orderBy: {published: DESC}) {\r\n display\r\n start\r\n end\r\n displayText\r\n alias {\r\n alias\r\n }\r\n additionalPromotionLink {\r\n text\r\n url\r\n }\r\n blurb\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n contentBlockTitle\r\n }\r\n }\r\n }\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n }\r\n}`\r\n\r\nconst promotion = gql`query GetPromotion($alias: String!) {\r\n promotion (where: {alias: {alias: $alias}}) {\r\n alias {\r\n alias\r\n }\r\n display\r\n start\r\n end\r\n displayText\r\n bannerImage {\r\n urls(first: 1)\r\n }\r\n bannerContainsText\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n contentBlockTitle\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n additionalContent {\r\n contentItems {\r\n ... on Buttons {\r\n buttonList {\r\n contentItems {\r\n ... on LinkMenuItem {\r\n linkMenuItem {\r\n name\r\n url\r\n }\r\n }\r\n }\r\n }\r\n }\r\n ... on Image {\r\n image {\r\n urls(first: 1)\r\n }\r\n displayText\r\n altText\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls(first: 1)\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface promotionObj {\r\n display: boolean,\r\n start: string,\r\n end: string,\r\n displayText: string,\r\n alias: any,\r\n additionalPromotionLink: any,\r\n blurb: string,\r\n thumbnailImage: string,\r\n bannerImage: string,\r\n bannerContainsText: boolean | null,\r\n bodyCopy: any\r\n}\r\n\r\nexport {\r\n promoCount,\r\n promotions,\r\n promotion,\r\n promotionObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst popup = gql`query GetPopup {\r\n popup {\r\n active\r\n content {\r\n html\r\n }\r\n displayText\r\n textColour\r\n backgroundColour\r\n }\r\n}`\r\n\r\ninterface popupObj {\r\n active: boolean,\r\n displayText: string,\r\n content: {\r\n html: String\r\n }\r\n textColour: string,\r\n backgroundColour: string,\r\n}\r\n\r\nexport {\r\n popup,\r\n popupObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst popupbanner = gql`query GetPopupBanner {\r\n popUpBanner {\r\n alias {\r\n alias\r\n }\r\n image {\r\n urls\r\n }\r\n mobileImage {\r\n urls\r\n }\r\n display\r\n }\r\n}`\r\n\r\ninterface popupbannerObj {\r\n display: boolean,\r\n image: string,\r\n mobileImage: string,\r\n alias: string,\r\n}\r\n\r\nexport {\r\n popupbanner,\r\n popupbannerObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst articleCategory = gql`query GetArticleCategory {\r\n taxonomy(where: {alias: {alias: \"article-category\"}}) {\r\n taxonomy {\r\n contentItems {\r\n displayText\r\n contentItemId\r\n ... on ArticleCategory {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst articleList = gql`query GetArticleList {\r\n article {\r\n displayText\r\n blurb\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n alias {\r\n alias\r\n }\r\n category {\r\n termContentItemIds\r\n termContentItems {\r\n ... on ArticleCategory {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst article = gql`query GetArticle($alias: String!) {\r\n article(where: {alias: {alias: $alias}}) {\r\n displayText\r\n bannerImage {\r\n urls(first: 1)\r\n }\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n displayText\r\n markdownBody {\r\n html\r\n }\r\n contentBlockSubtitle\r\n contentBlockTitle\r\n additionalContent {\r\n contentItems {\r\n ... on Image {\r\n image {\r\n urls\r\n }\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface articleObj {\r\n alias: any,\r\n displayText: string,\r\n blurb: string,\r\n thumbnailImage: string,\r\n bannerImage: string,\r\n bodyCopy: any,\r\n category?: {\r\n termContentItemIds: Array<string>,\r\n termContentItems?: {\r\n alias?: {\r\n alias: string\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport {\r\n articleCategory,\r\n articleList,\r\n article,\r\n articleObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst newsCategory = gql`query GetNewsCategory {\r\n taxonomy(where: {alias: {alias: \"news-category\"}}) {\r\n taxonomy {\r\n contentItems {\r\n displayText\r\n contentItemId\r\n ... on NewsCategory {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst newsList = gql`query GetNewsList {\r\n newsArticle {\r\n displayText\r\n blurb\r\n publishDate\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n alias {\r\n alias\r\n }\r\n category {\r\n termContentItemIds\r\n termContentItems {\r\n ... on NewsCategory {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst newsArticle = gql`query GetNewsArticle($alias: String!) {\r\n newsArticle(where: {alias: {alias: $alias}}) {\r\n displayText\r\n publishDate\r\n bannerImage {\r\n urls(first: 1)\r\n }\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n displayText\r\n markdownBody {\r\n html\r\n }\r\n contentBlockSubtitle\r\n contentBlockTitle\r\n additionalContent {\r\n contentItems {\r\n ... on Image {\r\n image {\r\n urls\r\n }\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface newsArticleObj {\r\n alias: any,\r\n displayText: string,\r\n blurb: string,\r\n thumbnailImage: string,\r\n bannerImage: string,\r\n bodyCopy: any,\r\n category?: {\r\n termContentItemIds: Array<string>,\r\n termContentItems?: {\r\n alias?: {\r\n alias: string\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport {\r\n newsCategory,\r\n newsList,\r\n newsArticle,\r\n newsArticleObj\r\n}","import gql from 'graphql-tag'\r\n\r\nconst valueAddedServicesList = gql`query GetValueAddedServicesList {\r\n valueAddedService {\r\n displayText\r\n blurb\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n alias {\r\n alias\r\n }\r\n }\r\n }`\r\n\r\nconst valueAddedService = gql`query GetValueAddedService($alias: String!) {\r\n valueAddedService(where: {alias: {alias: $alias}}) {\r\n displayText\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n displayText\r\n markdownBody {\r\n html\r\n }\r\n contentBlockTitle\r\n contentBlockSubtitle\r\n additionalContent {\r\n contentItems {\r\n ... on Image {\r\n image {\r\n urls\r\n }\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n bannerImage {\r\n urls(first: 1)\r\n }\r\n }\r\n }`\r\n\r\n interface valueAddedServiceObj {\r\n alias: any,\r\n displayText: string,\r\n blurb: string,\r\n thumbnailImage: string,\r\n bannerImage: string,\r\n bodyCopy: any\r\n }\r\n \r\n export {\r\n valueAddedServicesList,\r\n valueAddedService,\r\n valueAddedServiceObj\r\n }","import gql from 'graphql-tag'\r\n\r\nconst wheelBrand = gql`query GetWheelBrand {\r\n taxonomy(where: {alias: {alias: \"wheel-brand\"}}) {\r\n taxonomy {\r\n contentItems {\r\n displayText\r\n contentItemId\r\n ... on WheelBrand {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst wheelList = gql`query GetWheelList {\r\n wheel(first: 999) {\r\n displayText\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n alias {\r\n alias\r\n }\r\n brand {\r\n termContentItemIds\r\n termContentItems {\r\n ... on WheelBrand {\r\n alias {\r\n alias\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\nconst wheel = gql`query GetWheel($alias: String!) {\r\n wheel(where: {alias: {alias: $alias}}) {\r\n displayText\r\n blurb\r\n bannerImage {\r\n urls(first: 1)\r\n }\r\n thumbnailImage {\r\n urls(first: 1)\r\n }\r\n bodyCopy {\r\n contentItems {\r\n ... on ContentBlock {\r\n displayText\r\n markdownBody {\r\n html\r\n }\r\n contentBlockSubtitle\r\n contentBlockTitle\r\n additionalContent {\r\n contentItems {\r\n ... on Image {\r\n image {\r\n urls\r\n }\r\n }\r\n ... on ContentBlockFlowpart {\r\n displayText\r\n contentBlockSubtitle\r\n markdownBody {\r\n html\r\n }\r\n image {\r\n urls\r\n }\r\n imagePosition\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface wheelBrand {\r\n alias: any,\r\n displayText: string,\r\n blurb: string,\r\n thumbnailImage: string,\r\n category?: {\r\n termContentItemIds: Array<string>,\r\n termContentItems?: {\r\n alias?: {\r\n alias: string\r\n }\r\n }\r\n }\r\n}\r\n\r\ninterface wheelObj {\r\n alias: any,\r\n displayText: string,\r\n blurb: string,\r\n thumbnailImage: string,\r\n bannerImage: string,\r\n bodyCopy: any,\r\n category?: {\r\n termContentItemIds: Array<string>,\r\n termContentItems?: {\r\n alias?: {\r\n alias: string\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport {\r\n wheelBrand,\r\n wheelList,\r\n wheel,\r\n wheelObj\r\n}","import { ApolloClient } from '@apollo/client/core/index.js';\r\n\r\nimport { image } from '@/utilities/graphql/image'\r\nexport function getImage (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: image,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((data: any) => {\r\n if(data.data.image) {\r\n resolve(data.data.image[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { banner, bannerObj } from '@/utilities/graphql/banner'\r\nexport function getBanner (client: ApolloClient<object>, alias: String): Promise<bannerObj> {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: banner,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((data: any) => {\r\n if(data.data.banner.length) {\r\n let returnBanner = {\r\n ...data.data.banner[0],\r\n bannerMainText: data.data.banner[0].bannerMainText ? data.data.banner[0].bannerMainText.html : null,\r\n bannerSubtext: data.data.banner[0].bannerSubtext ? data.data.banner[0].bannerSubtext.html : null,\r\n image: data.data.banner[0].image.urls ? data.data.banner[0].image.urls[0] : null,\r\n mobileImage: data.data.banner[0].mobileImage.urls[0] ? data.data.banner[0].mobileImage.urls[0] : null\r\n };\r\n resolve(returnBanner)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { contentBlock } from '@/utilities/graphql/contentblock'\r\nexport function getContentBlock (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: contentBlock,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((data: any) => {\r\n if(data.data.contentBlock) {\r\n resolve(data.data.contentBlock[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { testimonial } from '@/utilities/graphql/testimonial'\r\nexport function getTestimonial (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: testimonial,\r\n }).then((data: any) => {\r\n if(data.data.testimonial) {\r\n resolve(data.data.testimonial)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { promoCount, promotions, promotion } from '@/utilities/graphql/promotion'\r\nexport function isPromotionAvailable (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: promoCount,\r\n }).then((data: any) => {\r\n if(data.data.promotion) {\r\n const promotions = data.data.promotion.filter((item: any) => item.display);\r\n resolve(promotions.length > 0)\r\n }\r\n });\r\n }\r\n )\r\n}\r\nexport function getPromotionList (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: promotions,\r\n }).then((data: any) => {\r\n if(data.data.promotion) {\r\n const promotions = data.data.promotion.filter((item: any) => item.display);\r\n resolve(promotions)\r\n }\r\n });\r\n }\r\n )\r\n}\r\nexport function getPromotion (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: promotion,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((data: any) => {\r\n if(data.data.promotion) {\r\n resolve(data.data.promotion[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { popup, popupObj } from '@/utilities/graphql/popup'\r\nexport function getPopup (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: popup,\r\n }).then((data: any) => {\r\n if(data.data.popup) {\r\n const popup = data.data.popup.filter((item: any) => item.active);\r\n resolve(popup[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { popupbanner, popupbannerObj } from '@/utilities/graphql/popupbanner'\r\nexport function getPopupBanner (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: popupbanner,\r\n }).then((data: any) => {\r\n if(data.data.popUpBanner) {\r\n const popupbanner = data.data.popUpBanner.filter((item: any) => item.display);\r\n resolve(popupbanner[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { articleCategory } from '@/utilities/graphql/article'\r\nexport function getArticleCategory (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: articleCategory\r\n }).then((resp: any) => {\r\n if(resp.data.taxonomy) {\r\n resolve(resp.data.taxonomy[0].taxonomy.contentItems)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { articleList } from '@/utilities/graphql/article'\r\nexport function getArticleList (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: articleList\r\n }).then((resp: any) => {\r\n if(resp.data.article) {\r\n resolve(resp.data.article)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { article } from '@/utilities/graphql/article'\r\nexport function getArticle (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: article,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((resp: any) => {\r\n if(resp.data.article) {\r\n resolve(resp.data.article[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { newsCategory } from '@/utilities/graphql/news'\r\nexport function getNewsCategory (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: newsCategory\r\n }).then((resp: any) => {\r\n if(resp.data.taxonomy) {\r\n resolve(resp.data.taxonomy[0].taxonomy.contentItems)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { newsList } from '@/utilities/graphql/news'\r\nexport function getNewsList (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: newsList\r\n }).then((resp: any) => {\r\n if(resp.data.newsArticle) {\r\n resolve(resp.data.newsArticle)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { newsArticle } from '@/utilities/graphql/news'\r\nexport function getNewsArticle (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: newsArticle,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((resp: any) => {\r\n if(resp.data.newsArticle) {\r\n resolve(resp.data.newsArticle[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { valueAddedServicesList } from '@/utilities/graphql/valueaddedservice'\r\nexport function getValueAddedServicesList (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: valueAddedServicesList\r\n }).then((resp: any) => {\r\n if(resp.data.valueAddedService) {\r\n resolve(resp.data.valueAddedService)\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { valueAddedService } from '@/utilities/graphql/valueaddedservice'\r\nexport function getValueAddedService (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: valueAddedService,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((resp: any) => {\r\n if(resp.data.valueAddedService) {\r\n resolve(resp.data.valueAddedService[0])\r\n }\r\n });\r\n }\r\n )\r\n}\r\n\r\nimport { wheelBrand, wheelList, wheel } from '@/utilities/graphql/wheel'\r\nexport function getWheelBrands (client: ApolloClient<object>) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: wheelBrand\r\n }).then((resp: any) => {\r\n if(resp.data.taxonomy) {\r\n resolve(resp.data.taxonomy[0].taxonomy.contentItems)\r\n }\r\n });\r\n }\r\n )\r\n}\r\nexport function getWheelList (client: ApolloClient<object>, brandSearch: string) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: wheelList\r\n }).then((resp: any) => {\r\n if(resp.data.wheel) {\r\n const list = resp.data.wheel.reduce((filtered: any, item: any) => {\r\n const brand = item.brand.termContentItems[0].alias.alias;\r\n const slug = item.alias.alias;\r\n const image = item.thumbnailImage.urls[0];\r\n if (brand == brandSearch) {\r\n filtered.push({\r\n title: item.displayText,\r\n image: {src: image},\r\n link: {name: 'WheelDetail', params: {brand: brand, slug: slug}}\r\n })\r\n }\r\n return filtered;\r\n }, [])\r\n resolve(list)\r\n }\r\n });\r\n }\r\n )\r\n}\r\nexport function getWheel (client: ApolloClient<object>, alias: String) {\r\n return new Promise ((resolve) => {\r\n client.query({\r\n query: wheel,\r\n variables: {\r\n alias: alias\r\n },\r\n }).then((resp: any) => {\r\n if(resp.data.wheel) {\r\n resolve(resp.data.wheel[0])\r\n }\r\n });\r\n }\r\n )\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"src\", \"data-image-ref\", \"alt\"]\n\nimport { ref, Ref, watch, onMounted } from \"vue\"\r\n import { CmsBaseUrl } from \"@/utilities\"\r\n import { getImage } from \"@/utilities/graphql\"\r\n import { imageObj } from '@/utilities/graphql/image'\r\n import { useApolloClient } from '@vue/apollo-composable'\r\n import { useMiscStore } from \"@/stores/misc\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Image',\n props: {\r\n alias: {type: String, default: null},\r\n src: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n var image: Ref<imageObj> = ref({\r\n displayText: '',\r\n image: '',\r\n altText: ''\r\n })\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient()\r\n const ApolloClient = resolveClient() \r\n\r\n onMounted(async () => {\r\n if(props.alias != null && props.alias != '') {\r\n miscStore.isLoadingOverride = true;\r\n await getImage(ApolloClient, props.alias).then((res: any) => {\r\n if (res) {\r\n image.value!.displayText = res.displayText ? res.displayText : \"\";\r\n image.value!.altText = res.altText ? res.altText : \"\";\r\n image.value!.image = res.image.urls.length > 0 ? res.image.urls[0] : \"\";\r\n }\r\n miscStore.isLoadingOverride = false;\r\n });\r\n }\r\n else if(props.src != null && props.src != '') {\r\n image.value.image = props.src;\r\n }\r\n })\r\n\r\n watch(props, () => {\r\n if(props.src && props.src != image.value.image) {\r\n image.value.image = props.src;\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(image) && _unref(image).image != '')\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"cms-image img-fluid\",\n src: _unref(CmsBaseUrl)() + _unref(image).image,\n \"data-image-ref\": _unref(image).displayText,\n alt: _unref(image).altText ? _unref(image).altText : ''\n }, null, 8, _hoisted_1))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./Image.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Image.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-32fb9899\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"navbar-container container-fluid px-0\" }\nconst _hoisted_2 = { class: \"d-flex flex-wrap w-100\" }\nconst _hoisted_3 = { class: \"d-flex justify-content-between col-12 col-xl-auto\" }\nconst _hoisted_4 = { class: \"navbar-brand\" }\nconst _hoisted_5 = {\n href: \"/\",\n class: \"d-flex align-items-center h-100 py-2\"\n}\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"button\", {\n class: \"navbar-toggler my-auto bg-white\",\n type: \"button\",\n \"data-bs-toggle\": \"collapse\",\n \"data-bs-target\": \"#NavbarCollapse\",\n \"aria-controls\": \"navbar\",\n \"aria-expanded\": \"false\",\n \"aria-label\": \"Toggle navigation\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"navbar-toggler-icon\" })\n], -1))\nconst _hoisted_7 = { class: \"nav-body justify-content-end flex-grow-1\" }\nconst _hoisted_8 = { class: \"nav-strip text-primary bg-secondary\" }\nconst _hoisted_9 = { class: \"social-media-links justify-md-end\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.facebook.com/hiqsouthafrica\",\n target: \"_blank\",\n class: \"bi bi-facebook\"\n}, null, -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.instagram.com/hiqsouthafrica/\",\n target: \"_blank\",\n class: \"bi bi-instagram\"\n}, null, -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.youtube.com/user/HIQSOUTHAFRICA\",\n target: \"_blank\",\n class: \"bi bi-youtube\"\n}, null, -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"h-100 lh-1 d-flex align-items-center justify-content-center\" }, \" Request a Quote \", -1))\nconst _hoisted_14 = { key: 0 }\nconst _hoisted_15 = [\"href\"]\nconst _hoisted_16 = { class: \"h-100 lh-1 d-flex align-items-center justify-content-center\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"Buy Tyres Now\", -1))\nconst _hoisted_18 = {\n class: \"collapse navbar-collapse py-3 py-xl-0\",\n id: \"NavbarCollapse\"\n}\nconst _hoisted_19 = { class: \"navbar-nav ms-auto text-start text-xl-center\" }\nconst _hoisted_20 = { class: \"nav-item\" }\nconst _hoisted_21 = { class: \"nav-item dropdown\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"nav-link dropdown-toggle mx-1 mx-xl-2\",\n href: \"#\",\n role: \"button\",\n \"data-bs-toggle\": \"dropdown\",\n \"aria-expanded\": \"false\"\n}, \" Our Stores \", -1))\nconst _hoisted_23 = { class: \"dropdown-menu w-100\" }\nconst _hoisted_24 = {\n key: 0,\n class: \"nav-item\"\n}\nconst _hoisted_25 = { class: \"nav-item dropdown\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"nav-link dropdown-toggle mx-1 mx-xl-2\",\n href: \"#\",\n role: \"button\",\n \"data-bs-toggle\": \"dropdown\",\n \"aria-expanded\": \"false\"\n}, \" Tyre Resources \", -1))\nconst _hoisted_27 = { class: \"dropdown-menu w-100\" }\nconst _hoisted_28 = { class: \"nav-item dropdown\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"nav-link dropdown-toggle mx-1 mx-xl-2\",\n href: \"#\",\n role: \"button\",\n \"data-bs-toggle\": \"dropdown\",\n \"aria-expanded\": \"false\"\n}, \" Our Products \", -1))\nconst _hoisted_30 = { class: \"dropdown-menu w-100\" }\nconst _hoisted_31 = { class: \"nav-item dropdown\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"nav-link dropdown-toggle mx-1 mx-xl-2\",\n href: \"#\",\n role: \"button\",\n \"data-bs-toggle\": \"dropdown\",\n \"aria-expanded\": \"false\"\n}, \" Our Services \", -1))\nconst _hoisted_33 = { class: \"dropdown-menu w-100\" }\nconst _hoisted_34 = { class: \"nav-item dropdown\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"nav-link dropdown-toggle mx-1 mx-xl-2\",\n href: \"#\",\n role: \"button\",\n \"data-bs-toggle\": \"dropdown\",\n \"aria-expanded\": \"false\"\n}, \" Additional Resources \", -1))\nconst _hoisted_36 = { class: \"dropdown-menu w-100\" }\n\nimport { ref, Ref, onMounted, onBeforeUnmount } from \"vue\";\r\n import { getQTLink, isQTEnabled } from '@/utilities';\r\n import Image from '@/components/general/Image.vue';\r\n import BuyNowIcon from \"@/assets/lottie/buy-now-icon.json\"\r\n import { isPromotionAvailable } from \"@/utilities/graphql\";\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Navbar',\n setup(__props) {\n\r\n let isShrink: Ref<boolean> = ref(false);\r\n let lastScrollPosition: Ref<number> = ref(0);\r\n let NAV: Ref<Element | null> = ref(null)\r\n let OFFSET: Ref<number> = ref(200);\r\n let anim = ref();\r\n let isPromotion: Ref<boolean> = ref(false);\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n onMounted(async () => {\r\n lastScrollPosition.value = window.scrollY;\r\n window.addEventListener('scroll', navbarResize);\r\n NAV.value = document.querySelector(\"nav.navbar\");\r\n OFFSET.value = NAV.value!.clientHeight;\r\n await isPromotionAvailable(ApolloClient).then(res => {\r\n isPromotion.value = res as boolean;\r\n });\r\n });\r\n\r\n onBeforeUnmount(() => {\r\n window.removeEventListener('scroll', navbarResize);\r\n });\r\n\r\n function navbarResize() {\r\n if (window.scrollY < 0) {\r\n isShrink.value = false\r\n return\r\n }\r\n if (Math.abs(window.scrollY - lastScrollPosition.value) < OFFSET.value) {\r\n return\r\n }\r\n isShrink.value = window.scrollY > lastScrollPosition.value\r\n lastScrollPosition.value = window.scrollY\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_lottie = _resolveComponent(\"lottie\")!\n\n return (_openBlock(), _createElementBlock(\"nav\", {\n class: _normalizeClass(['navbar bg-primary sticky-top navbar-expand-xl py-0', {'navbar-min': _unref(isShrink)}]),\n id: \"navbar\"\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, [\n _createElementVNode(\"a\", _hoisted_5, [\n _createVNode(Image, {\n class: \"logo\",\n alias: \"image-logo\"\n })\n ])\n ]),\n _hoisted_6\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _hoisted_11,\n _hoisted_12,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_router_link, {\n to: { name: 'RequestQuote' },\n class: \"btn sharp sm-btn btn-dark px-4 d-block h-100 text-uppercase\"\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n })\n ]),\n (_unref(isQTEnabled)())\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"a\", {\n href: _unref(getQTLink)(),\n target: \"_blank\",\n onMouseover: _cache[0] || (_cache[0] = ($event: any) => (_unref(anim).play())),\n onMouseout: _cache[1] || (_cache[1] = ($event: any) => (_unref(anim).goToAndStop(0))),\n class: \"btn sharp qt-nav-link sm-btn btn-dark px-4 d-block h-100 text-uppercase\"\n }, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_lottie, {\n class: \"ms-0 me-2\",\n ref_key: \"anim\",\n ref: anim,\n animationData: _unref(BuyNowIcon),\n autoPlay: false,\n loop: true,\n rendererSettings: {className: 'svg-white'}\n }, null, 8, [\"animationData\"]),\n _hoisted_17\n ])\n ], 40, _hoisted_15)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"ul\", _hoisted_19, [\n _createElementVNode(\"li\", _hoisted_20, [\n _createVNode(_component_router_link, {\n class: \"nav-link mx-1 mx-xl-2\",\n to: \"/\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Home\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"ul\", _hoisted_23, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'StoreLocator'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Find a store\")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n (_unref(isPromotion))\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_24, [\n _createVNode(_component_router_link, {\n class: \"nav-link mx-1 mx-xl-2\",\n to: {name: 'Promotions'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Promotions\")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"ul\", _hoisted_27, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TyreMarkings'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Tyre markings\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'WhenToChangeTyres'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"When to change my tyres\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'WhatTyresAreRight'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Which tyres fit my car?\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'WhatDoesOEMean'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"What does OE mean?\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'WhatTyresFitMyLifestyle'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"What tyres fit my lifestyle?\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Calculators'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Calculators\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TyreResources'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"All autocare resources\")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"li\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"ul\", _hoisted_30, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'ProductRange'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"View our products\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TyreRange'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Tyres\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Batteries'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Batteries\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Shocks'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Shock Absorbers\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Brakes'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Brakes\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Wheels'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Wheels\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Exhausts'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Exhausts\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Towbars'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Towbars\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TechnicalArticleList'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Technical articles\")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"li\", _hoisted_31, [\n _hoisted_32,\n _createElementVNode(\"ul\", _hoisted_33, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'ValueAddedServicesList'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Value added services\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TyreServices'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Tyre Services\")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"li\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"ul\", _hoisted_36, [\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'NewsList'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"News articles\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'TechnicalArticleList'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Technical articles\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Testimonials'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Reviews\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'Calculators'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Calculators\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'GetAHiqCompanyAccount'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Get a Hi-Q Fleet Account\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"li\", null, [\n _createVNode(_component_router_link, {\n class: \"nav-link\",\n to: {name: 'BecomeAFranchise'}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Become a Hi-Q franchise\")\n ]),\n _: 1\n })\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ], 2))\n}\n}\n\n})","import script from \"./Navbar.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Navbar.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Navbar.vue?vue&type=style&index=0&id=32fb9899&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-32fb9899\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createStaticVNode as _createStaticVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-04835eb0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container-fluid bg-primary my-2 pt-5 pb-4\" }\nconst _hoisted_2 = { class: \"row justify-content-lg-around\" }\nconst _hoisted_3 = { class: \"col-12 col-md-10 col-lg-12 col-xl-2 mb-3\" }\nconst _hoisted_4 = {\n class: \"navbar-brand d-block\",\n href: \"/\"\n}\nconst _hoisted_5 = { class: \"link-collection col-12 col-md-6 col-lg-4 col-xl-2\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"h6 mt-4 mt-lg-2 mb-2 mb-lg-4 fw-semibold text-uppercase text-secondary\" }, \"Quick Links\", -1))\nconst _hoisted_7 = { class: \"link-collection col-12 col-md-6 col-lg-4 col-xl-2\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"h6 mt-4 mt-lg-2 mb-2 mb-lg-4 fw-semibold text-uppercase text-secondary\" }, \"Products and Services\", -1))\nconst _hoisted_9 = { class: \"link-collection col-12 col-md-6 col-lg-4 col-xl-2\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"h6 mt-4 mt-lg-2 mb-2 mb-lg-4 fw-semibold text-uppercase text-secondary\" }, \"Policies\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12 col-md-12 col-xl-11 py-2\" }, [\n /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-secondary border-2 my-4\" })\n], -1))\nconst _hoisted_12 = { class: \"col-12 col-md-6 col-lg-6 col-xl-6\" }\nconst _hoisted_13 = /*#__PURE__*/_createStaticVNode(\"<div class=\\\"col-12 col-md-5 col-xl-4 ms-md-auto ms-xl-0\\\" data-v-04835eb0><div class=\\\"social-media-links justify-md-end\\\" data-v-04835eb0><a href=\\\"mailto:inforequest@hiqmail.co.za\\\" class=\\\"bi bi-envelope text-white mt-3 mt-md-0\\\" data-v-04835eb0></a><a href=\\\"https://www.facebook.com/hiqsouthafrica\\\" target=\\\"_blank\\\" class=\\\"bi bi-facebook text-white mt-3 mt-md-0\\\" data-v-04835eb0></a><a href=\\\"https://www.instagram.com/hiqsouthafrica/\\\" target=\\\"_blank\\\" class=\\\"bi bi-instagram text-white mt-3 mt-md-0\\\" data-v-04835eb0></a><a href=\\\"https://www.youtube.com/user/HIQSOUTHAFRICA\\\" target=\\\"_blank\\\" class=\\\"bi bi-youtube text-white mt-3 mt-md-0\\\" data-v-04835eb0></a></div></div>\", 1)\nconst _hoisted_14 = { class: \"col-12 col-xl-11 text-end my-2\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"nls-link fst-italic\"\n}\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", { class: \"nls-link lh-1 fst-italic\" }, [\n /*#__PURE__*/_createTextVNode(\" website by \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"text-decoration-none\",\n href: \"https://nologostudios.com/\",\n target: \"_blank\"\n }, \"nologo studios\")\n], -1))\n\nimport { ref, Ref, onMounted } from \"vue\";\r\n import Image from '@/components/general/Image.vue';\r\n import { isPromotionAvailable } from \"@/utilities/graphql\";\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Footer',\n setup(__props) {\n\r\n let isPromotion: Ref<boolean> = ref(false);\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n onMounted(async () => {\r\n await isPromotionAvailable(ApolloClient).then(res => {\r\n isPromotion.value = res as boolean;\r\n });\r\n });\r\n\r\n const getVersionNumber = () => {\r\n // This value should be set within the pipeline's yml\r\n return process.env.VUE_APP_VERSION_NUMBER;\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"footer\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"a\", _hoisted_4, [\n _createVNode(Image, {\n class: \"logo\",\n alias: \"image-logo\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_router_link, { to: { name: 'TyreResources' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Learn More About Tyres\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: { name: 'StoreLocator' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Find a Store\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: { name: 'Contact' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Contact Us\")\n ]),\n _: 1\n }),\n (_unref(isPromotion))\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: 'Promotions' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Promotions\")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_router_link, { to: { name: 'TyreRange' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Tyre Range\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: { name: 'ProductRange' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Our Products\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: { name: 'RequestQuote' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Request a Quote From Us\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: { name: 'ValueAddedServicesList' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Value Added Services\")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_router_link, { to: { name: 'TermsAndConditions' } }, {\n default: _withCtx(() => [\n _createTextVNode(\"Terms and Conditions\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: \"/pdf/20240520-Data-protection-and-Privacy-Policy-Goodyear-South-Africa-26.7.21.pdf\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"POPIA\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: \"/pdf/20240520-PAIA-manual-for-Goodyear-SA-27.7.21.pdf\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"PAIA\")\n ]),\n _: 1\n })\n ]),\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(Image, {\n class: \"shop-assured pt-3\",\n alias: \"image-shop-assured\"\n })\n ]),\n _hoisted_13,\n _createElementVNode(\"div\", _hoisted_14, [\n (getVersionNumber())\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, \" Version: \" + _toDisplayString(getVersionNumber()), 1))\n : _createCommentVNode(\"\", true),\n _hoisted_16\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./Footer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Footer.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Footer.vue?vue&type=style&index=0&id=04835eb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-04835eb0\"]])\n\nexport default __exports__","<template>\r\n <div class=\"container-fluid\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"main-container\">\r\n <slot></slot>\r\n </div>\r\n </div>\r\n </div>\r\n</template>","import { render } from \"./MainContainer.vue?vue&type=template&id=1f1088a2\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-18202e0c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"data-image-ref\", \"src\", \"alt\"]\nconst _hoisted_2 = [\"data-image-ref\", \"src\", \"alt\"]\n\nimport { ref, Ref, onMounted } from \"vue\";\r\n import { useMediaQuery } from '@vueuse/core';\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import { CmsBaseUrl, MarkdownMediaSrcReplace } from \"@/utilities\";\r\n import { getBanner } from \"@/utilities/graphql\";\r\n import { bannerObj } from '@/utilities/graphql/banner';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Banner',\n props: {\r\n alias: {type: String, default: null},\r\n imageObj: {type: Object, default: null},\r\n isPageTitle: {type: Boolean, default: true},\r\n maxHeight: {type: Number},\r\n isTextMaxWidth: {type: Boolean || undefined},\r\n enableFadein: {type: Boolean, default: true},\r\n bannerContainsText: {type: Boolean, default: false}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n var banner: Ref<bannerObj> = ref({\r\n displayText: '',\r\n alias: '',\r\n bannerMainText: '',\r\n bannerSubtext: '',\r\n image: '',\r\n bannerContainsText: false,\r\n mobileImage: '',\r\n bannerImageAlignment: '',\r\n bannerImageAltText: ''\r\n })\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n const isDesktop = useMediaQuery('(min-width: 992px)')\r\n\r\n onMounted(async () => {\r\n if(props.alias != null) {\r\n miscStore.isLoadingOverride = true;\r\n await getBanner(ApolloClient, props.alias).then((res: bannerObj) => {\r\n if (res) {\r\n banner.value = res;\r\n }\r\n miscStore.isLoadingOverride = false;\r\n });\r\n }\r\n if(props.imageObj != null) {\r\n if(props.imageObj.src) {\r\n banner.value.image = props.imageObj.src;\r\n }\r\n if(props.imageObj.title == null) {\r\n banner.value.bannerMainText = '--null--';\r\n }\r\n else if(props.imageObj.title) {\r\n banner.value.bannerMainText = props.imageObj.title;\r\n }\r\n }\r\n })\r\n\r\n function bannerAliasClass (alias: any) {\r\n return alias != undefined && alias.alias ? alias.alias : \"\";\r\n }\r\n\r\n function isHideOverlay () {\r\n return banner.value.bannerContainsText == true || props.bannerContainsText == true;\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(miscStore).isLoadingOverride || (_unref(banner) && (_unref(banner).image || _unref(banner).bannerMainText)))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n style: _normalizeStyle({'--max-height': props.maxHeight + 'px'}),\n class: _normalizeClass([\r\n 'banner', {'banner-loading': !_unref(banner).image}, bannerAliasClass(_unref(banner).alias),\r\n _unref(banner).bannerImageAlignment ? _unref(banner).bannerImageAlignment : 'justify-content-center'\r\n ])\n }, [\n _renderSlot(_ctx.$slots, \"default\"),\n (_unref(banner).mobileImage && !_unref(isDesktop))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass(['banner-img', {'wow fadeIn': props.enableFadein}]),\n \"data-image-ref\": _unref(banner).displayText,\n \"data-wow-duration\": \".5s\",\n src: _unref(CmsBaseUrl)() + _unref(banner).mobileImage,\n alt: _unref(banner).bannerImageAltText ? _unref(banner).bannerImageAltText : ''\n }, null, 10, _hoisted_1))\n : (_unref(banner).image)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: _normalizeClass(['banner-img', {'wow fadeIn': props.enableFadein}]),\n \"data-image-ref\": _unref(banner).displayText,\n \"data-wow-duration\": \".5s\",\n src: _unref(CmsBaseUrl)() + _unref(banner).image,\n alt: _unref(banner).bannerImageAltText ? _unref(banner).bannerImageAltText : ''\n }, null, 10, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (!isHideOverlay())\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass(['banner-overlay wow', {'animated': !props.enableFadein}]),\n \"data-wow-delay\": \".2s\"\n }, null, 2))\n : _createCommentVNode(\"\", true),\n _createVNode(MainContainer, { class: \"banner-content text-center text-lg-start\" }, {\n default: _withCtx(() => [\n (_unref(banner).bannerMainText != '--null--')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(['banner-copy', {'short-title': __props.isTextMaxWidth}, {'wow fadeInDown': props.enableFadein}, {'visually-hidden': isHideOverlay()}]),\n \"data-wow-delay\": \".5s\",\n \"data-wow-duration\": \".5s\"\n }, [\n (_unref(banner).bannerMainText)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(__props.isPageTitle ? 'h1' : 'h2'), {\n key: 0,\n innerHTML: _unref(MarkdownMediaSrcReplace)(_unref(banner).bannerMainText)\n }, null, 8, [\"innerHTML\"]))\n : _createCommentVNode(\"\", true),\n (_unref(banner).bannerSubtext)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(__props.isPageTitle ? 'h2' : 'h3'), {\n key: 1,\n class: _normalizeClass({'wow fadeInDown': props.enableFadein}),\n \"data-wow-delay\": \".65s\",\n \"data-wow-duration\": \".5s\",\n innerHTML: _unref(MarkdownMediaSrcReplace)(_unref(banner).bannerSubtext)\n }, null, 8, [\"class\", \"innerHTML\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ], 6))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./Banner.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Banner.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Banner.vue?vue&type=style&index=0&id=18202e0c&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-18202e0c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b5da06a6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"home-placeholder\" }, null, -1))\n\nimport Banner from '@/components/general/Banner.vue';\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HomeBanner',\n props: {\r\n alias: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Banner, {\n id: \"HomeBanner\",\n alias: \"banner-home-page\",\n maxHeight: 420\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./HomeBanner.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HomeBanner.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./HomeBanner.vue?vue&type=style&index=0&id=b5da06a6&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-b5da06a6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c83fc4d4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"spinner-bg\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"spinner\" })\n], -1))\nconst _hoisted_2 = [\n _hoisted_1\n]\n\nimport { watch } from \"vue\"\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Spinner',\n props: {\r\n visible: { type: Boolean, default: false },\r\n isAbsolute: { type: Boolean, default: false },\r\n isFullScreen: { type: Boolean, default: false },\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n watch(props, () => {\r\n if(props.isFullScreen && props.visible) {\r\n document.querySelector(\"body\")?.classList.add(\"overflow-hidden\");\r\n }\r\n else if(props.isFullScreen && !props.visible) {\r\n document.querySelector(\"body\")?.classList.remove(\"overflow-hidden\");\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.visible)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(['spinner-container w-100', { 'absolute': __props.isAbsolute, 'flex-centered py-5': !__props.isAbsolute, 'spinner-full-screen': __props.isFullScreen }])\n }, _hoisted_2, 2))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./Spinner.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Spinner.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Spinner.vue?vue&type=style&index=0&id=c83fc4d4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-c83fc4d4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, createSlots as _createSlots, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-632d5156\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"Testimonial\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"carousel-navigation d-flex\"\n}\nconst _hoisted_3 = { class: \"position-relative w-100 d-flex justify-content-between\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-arrow-left text-secondary\",\n \"aria-hidden\": \"true\"\n}, null, -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"Previous\", -1))\nconst _hoisted_6 = [\n _hoisted_4,\n _hoisted_5\n]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-arrow-right text-secondary\",\n \"aria-hidden\": \"true\"\n}, null, -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"Next\", -1))\nconst _hoisted_9 = [\n _hoisted_7,\n _hoisted_8\n]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"rounded-circle\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-quote\" })\n], -1))\nconst _hoisted_11 = { class: \"testimonial-card rounded-5 mx-3 mx-lg-4\" }\nconst _hoisted_12 = { class: \"testimonial-content\" }\nconst _hoisted_13 = [\"innerHTML\"]\nconst _hoisted_14 = { class: \"testimonial-rating my-2\" }\nconst _hoisted_15 = { class: \"bi bi-star-fill mx-1\" }\nconst _hoisted_16 = { class: \"bi bi-star mx-1\" }\nconst _hoisted_17 = {\n key: 0,\n class: \"d-block h5 mb-0\"\n}\nconst _hoisted_18 = {\n key: 1,\n class: \"d-block h6\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\";\r\n import { Carousel, Slide, Navigation, Pagination } from 'vue3-carousel'\r\n import { getTestimonial } from \"@/utilities/graphql\";\r\n import { testimonialObj } from '@/utilities/graphql/testimonial';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Testimonials',\n props: {\r\n fadeDelay: {type: Number, default: .85}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n \r\n\r\n var testimonials: Ref<Array<testimonialObj> | null> = ref(null)\r\n var Testimonial: Ref<any> = ref(null)\r\n var breakpointTestimonial: Ref<any | undefined> = ref({\r\n 0: {\r\n itemsToShow: 1\r\n },\r\n 460: {\r\n itemsToShow: 1.1\r\n },\r\n 768: {\r\n itemsToShow: 1.75,\r\n snapAlign: 'center'\r\n },\r\n 992: {\r\n itemsToShow: 2,\r\n snapAlign: alignProperty()\r\n },\r\n 1200: {\r\n itemsToShow: 2.5,\r\n },\r\n 1400: {\r\n itemsToShow: 3,\r\n snapAlign: alignProperty()\r\n }\r\n })\r\n\r\n onMounted(async () => {\r\n miscStore.isLoading = true;\r\n await getTestimonial(ApolloClient).then(res => {\r\n if (res) {\r\n testimonials.value = res as Array<testimonialObj>;\r\n }\r\n miscStore.isLoading = false;\r\n });\r\n })\r\n\r\n function testimonialPrev() {\r\n Testimonial.value.prev()\r\n }\r\n\r\n function testimonialNext() {\r\n Testimonial.value.next()\r\n }\r\n\r\n function isEven(index: number) {\r\n return (index + 1) % 2 == 0\r\n }\r\n\r\n function alignProperty() {\r\n if(testimonials.value != null && testimonials.value.length > 1) {\r\n return 'start';\r\n }\r\n return 'center';\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n (_unref(testimonials) != null)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (_unref(testimonials).length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (testimonialPrev())),\n class: \"carousel-control-prev\",\n type: \"button\"\n }, _hoisted_6),\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (testimonialNext())),\n class: \"carousel-control-next\",\n type: \"button\"\n }, _hoisted_9)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(testimonials).length > 0)\n ? (_openBlock(), _createBlock(_unref(Carousel), {\n key: 1,\n ref_key: \"Testimonial\",\n ref: Testimonial,\n breakpoints: _unref(breakpointTestimonial),\n autoplay: 0\n }, _createSlots({\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(testimonials), (testimonial, i) => {\n return (_openBlock(), _createBlock(_unref(Slide), {\n class: _normalizeClass([{'testimonial-odd': !isEven(i)}, {'testimonial-even': isEven(i)}, 'wow fadeInLeft']),\n \"data-wow-delay\": `${props.fadeDelay + (.2 * (i%3))}s`,\n key: `testimonial-${i}`\n }, {\n default: _withCtx(() => [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", {\n innerHTML: testimonial.copy.html\n }, null, 8, _hoisted_13),\n _createElementVNode(\"div\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(testimonial.rating, (stars, i) => {\n return (_openBlock(), _createElementBlock(\"i\", _hoisted_15))\n }), 256)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList((5 - testimonial.rating), (stars, i) => {\n return (_openBlock(), _createElementBlock(\"i\", _hoisted_16))\n }), 256))\n ]),\n (testimonial.displayText)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_17, _toDisplayString(testimonial.displayText), 1))\n : _createCommentVNode(\"\", true),\n (testimonial.jobTitle)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_18, [\n _createElementVNode(\"small\", null, _toDisplayString(testimonial.jobTitle), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"class\", \"data-wow-delay\"]))\n }), 128))\n ]),\n _: 2\n }, [\n (_unref(testimonials).length > 1)\n ? {\n name: \"addons\",\n fn: _withCtx(({ slidesCount }) => [\n _createVNode(_unref(Pagination), { class: \"mt-5\" })\n ]),\n key: \"0\"\n }\n : undefined\n ]), 1032, [\"breakpoints\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./Testimonials.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Testimonials.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Testimonials.vue?vue&type=style&index=0&id=632d5156&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-632d5156\"]])\n\nexport default __exports__","import { handleError } from \"@/utilities\";\r\n\r\nconst xSurface = \"qt-hiq\";\r\nconst VehicleQuickTyreEndpoint = \"/WheelSize/\";\r\nexport interface VehicleManufacturer {\r\n slug: string,\r\n name: string\r\n}\r\nexport interface VehicleModel {\r\n slug: string,\r\n name: string,\r\n year_ranges: string[]\r\n}\r\nexport interface VehicleModelYear {\r\n slug: string,\r\n name: string,\r\n year_ranges: string[]\r\n}\r\nexport interface VehicleSpecification {\r\n slug: string,\r\n fullName: string\r\n trim: string,\r\n generationName: string,\r\n generation: VehicleSpecificationGeneration\r\n}\r\nexport interface VehicleSpecificationGeneration {\r\n slug: string,\r\n name: string\r\n}\r\nexport interface VehicleTyres {\r\n slug: string,\r\n tire_type: string,\r\n wheels: VehicleTyreDetail[]\r\n}\r\nexport interface VehicleTyreDetail {\r\n front: VehicleTyrePositionDetail,\r\n rear: VehicleTyrePositionDetail\r\n}\r\nexport interface VehicleTyrePositionDetail {\r\n tire: string,\r\n tire_full: string\r\n}\r\n\r\nfunction formatUrl(request: string, manufacturer: string | undefined = undefined, vehicleModel: string | undefined = undefined, vehicleYear: string | undefined = undefined, vehicleId: string | undefined = undefined) {\r\n const url = new URL(process.env.VUE_APP_QUICKTYRE_API + VehicleQuickTyreEndpoint + request);\r\n\r\n if (manufacturer) {\r\n const params = new URLSearchParams();\r\n params.set('make', manufacturer);\r\n\r\n if (vehicleModel){\r\n params.set('model', vehicleModel);\r\n }\r\n if (vehicleYear){\r\n params.set('year', vehicleYear);\r\n }\r\n if (vehicleId){\r\n params.set('id', vehicleId);\r\n }\r\n \r\n url.search = params.toString();\r\n }\r\n\r\n return url;\r\n}\r\n\r\n// VehicleManufacturers\r\nexport function getVehicleManufacturers(): Promise<VehicleManufacturer[]> {\r\n return new Promise((resolve, reject) => {\r\n const url = formatUrl(\"GetMakes\");\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n const res = JSON.parse(xhr.responseText);\r\n if ([200, 201, 204].includes(xhr.status)) {\r\n resolve(res.resultData.data)\r\n }\r\n else {\r\n handleError(res);\r\n reject(res);\r\n }\r\n };\r\n xhr.onerror = () => { handleError(xhr.statusText); reject(xhr.statusText); };\r\n xhr.send();\r\n });\r\n}\r\n\r\n// VehicleModels\r\nexport function getVehicleModels(vehicleManufacturer : string): Promise<VehicleModel[]> {\r\n return new Promise((resolve, reject) => {\r\n const url = formatUrl(\"GetModels\", vehicleManufacturer);\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n const res = JSON.parse(xhr.responseText);\r\n if ([200, 201, 204].includes(xhr.status)) {\r\n resolve(res.resultData.data)\r\n }\r\n else {\r\n handleError(res);\r\n reject(res);\r\n }\r\n };\r\n xhr.onerror = () => {\r\n handleError(xhr.statusText);\r\n reject(xhr.statusText);\r\n };\r\n xhr.send();\r\n });\r\n}\r\n\r\n// VehicleModelYears\r\nexport function getVehicleModelYears(vehicleManufacturer : string, vehicleModel : string): Promise<VehicleModelYear[]> {\r\n return new Promise((resolve, reject) => {\r\n const url = formatUrl(\"GetYears\", vehicleManufacturer, vehicleModel);\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n const res = JSON.parse(xhr.responseText);\r\n if ([200, 201, 204].includes(xhr.status)) {\r\n resolve(res.resultData.data)\r\n }\r\n else {\r\n handleError(res);\r\n reject(res);\r\n }\r\n };\r\n xhr.onerror = () => {\r\n handleError(xhr.statusText);\r\n reject(xhr.statusText);\r\n };\r\n xhr.send();\r\n });\r\n}\r\n\r\n// VehicleSpecifications\r\nexport function getVehicleSpecifications(vehicleManufacturer : string, vehicleModel : string, vehicleModelYear : string): Promise<VehicleSpecification[]> {\r\n return new Promise((resolve, reject) => {\r\n const url = formatUrl(\"GetVariants\", vehicleManufacturer, vehicleModel, vehicleModelYear);\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n const res = JSON.parse(xhr.responseText);\r\n if ([200, 201, 204].includes(xhr.status)) {\r\n resolve(res.resultData.data)\r\n }\r\n else {\r\n handleError(res);\r\n reject(res);\r\n }\r\n };\r\n xhr.onerror = () => {\r\n handleError(xhr.statusText);\r\n reject(xhr.statusText);\r\n };\r\n xhr.send();\r\n });\r\n}\r\n\r\n// VehicleTyre\r\nexport function getVehicleTyre(vehicleManufacturer : string | undefined, vehicleModel : string | undefined, vehicleModelYear : string | undefined, vehicleId : string | undefined): Promise<VehicleTyres[]> {\r\n return new Promise((resolve, reject) => {\r\n if (!vehicleManufacturer || !vehicleModel || !vehicleModelYear || !vehicleId) {\r\n resolve([]);\r\n }\r\n const url = formatUrl(\"GetTyreDetails\", vehicleManufacturer, vehicleModel, vehicleModelYear, vehicleId);\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n const res = JSON.parse(xhr.responseText);\r\n if ([200, 201, 204].includes(xhr.status)) {\r\n resolve(res.resultData.data)\r\n }\r\n else {\r\n handleError(res);\r\n reject(res);\r\n }\r\n };\r\n xhr.onerror = () => {\r\n handleError(xhr.statusText);\r\n reject(xhr.statusText);\r\n };\r\n xhr.send();\r\n });\r\n}\r\n\r\nexport function clearVehicleCache(): Promise<any> {\r\n return new Promise((resolve, reject) => {\r\n const url = formatUrl(\"ClearCache\");\r\n const params = new URLSearchParams();\r\n params.set('key', 'clearme');\r\n url.search = params.toString();\r\n\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url);\r\n xhr.setRequestHeader(\"x-surface\", xSurface)\r\n xhr.onload = () => {\r\n if (xhr.responseText.includes(\"Clear\")) {\r\n console.log(\"%cVehicle data cleared\", \"color: green\")\r\n }\r\n else {\r\n handleError(xhr.responseText);\r\n reject(xhr.responseText);\r\n }\r\n };\r\n xhr.onerror = () => {\r\n handleError(xhr.responseText);\r\n reject(xhr.responseText);\r\n };\r\n xhr.send();\r\n });\r\n}","/* tslint:disable */\r\n/* eslint-disable */\r\n/**\r\n * HiQ.Marketing API\r\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\r\n *\r\n * The version of the OpenAPI document: 1.0\r\n * \r\n *\r\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\r\n * https://openapi-generator.tech\r\n * Do not edit the class manually.\r\n */\r\n\r\n\r\nimport { Configuration } from \"./configuration\";\r\n// Some imports not used depending on template conditions\r\n// @ts-ignore\r\nimport globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\r\n\r\nexport const BASE_PATH = \"http://localhost\".replace(/\\/+$/, \"\");\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const COLLECTION_FORMATS = {\r\n csv: \",\",\r\n ssv: \" \",\r\n tsv: \"\\t\",\r\n pipes: \"|\",\r\n};\r\n\r\n/**\r\n *\r\n * @export\r\n * @interface RequestArgs\r\n */\r\nexport interface RequestArgs {\r\n url: string;\r\n options: AxiosRequestConfig;\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n * @class BaseAPI\r\n */\r\nexport class BaseAPI {\r\n protected configuration: Configuration | undefined;\r\n\r\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\r\n if (configuration) {\r\n this.configuration = configuration;\r\n this.basePath = configuration.basePath || this.basePath;\r\n }\r\n }\r\n};\r\n\r\n/**\r\n *\r\n * @export\r\n * @class RequiredError\r\n * @extends {Error}\r\n */\r\nexport class RequiredError extends Error {\r\n name: \"RequiredError\" = \"RequiredError\";\r\n constructor(public field: string, msg?: string) {\r\n super(msg);\r\n }\r\n}\r\n","/* tslint:disable */\r\n/* eslint-disable */\r\n/**\r\n * HiQ.Marketing API\r\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\r\n *\r\n * The version of the OpenAPI document: 1.0\r\n * \r\n *\r\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\r\n * https://openapi-generator.tech\r\n * Do not edit the class manually.\r\n */\r\n\r\n\r\nimport { Configuration } from \"./configuration\";\r\nimport { RequiredError, RequestArgs } from \"./base\";\r\nimport { AxiosInstance, AxiosResponse } from 'axios';\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const DUMMY_BASE_URL = 'https://example.com'\r\n\r\n/**\r\n *\r\n * @throws {RequiredError}\r\n * @export\r\n */\r\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\r\n if (paramValue === null || paramValue === undefined) {\r\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\r\n if (configuration && configuration.apiKey) {\r\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\r\n ? await configuration.apiKey(keyParamName)\r\n : await configuration.apiKey;\r\n object[keyParamName] = localVarApiKeyValue;\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\r\n if (configuration && (configuration.username || configuration.password)) {\r\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\r\n if (configuration && configuration.accessToken) {\r\n const accessToken = typeof configuration.accessToken === 'function'\r\n ? await configuration.accessToken()\r\n : await configuration.accessToken;\r\n object[\"Authorization\"] = \"Bearer \" + accessToken;\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\r\n if (configuration && configuration.accessToken) {\r\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\r\n ? await configuration.accessToken(name, scopes)\r\n : await configuration.accessToken;\r\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\r\n }\r\n}\r\n\r\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\r\n if (typeof parameter === \"object\") {\r\n if (Array.isArray(parameter)) {\r\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\r\n } \r\n else {\r\n Object.keys(parameter).forEach(currentKey => \r\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\r\n );\r\n }\r\n } \r\n else {\r\n if (urlSearchParams.has(key)) {\r\n urlSearchParams.append(key, parameter);\r\n } \r\n else {\r\n urlSearchParams.set(key, parameter);\r\n }\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\r\n const searchParams = new URLSearchParams(url.search);\r\n setFlattenedQueryParams(searchParams, objects);\r\n url.search = searchParams.toString();\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\r\n const nonString = typeof value !== 'string';\r\n const needsSerialization = nonString && configuration && configuration.isJsonMime\r\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\r\n : nonString;\r\n return needsSerialization\r\n ? JSON.stringify(value !== undefined ? value : {})\r\n : (value || \"\");\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const toPathString = function (url: URL) {\r\n return url.pathname + url.search + url.hash\r\n}\r\n\r\n/**\r\n *\r\n * @export\r\n */\r\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\r\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\r\n const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};\r\n return axios.request<T, R>(axiosRequestArgs);\r\n };\r\n}\r\n","/* tslint:disable */\r\n/* eslint-disable */\r\n/**\r\n * HiQ.Marketing API\r\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\r\n *\r\n * The version of the OpenAPI document: 1.0\r\n * \r\n *\r\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\r\n * https://openapi-generator.tech\r\n * Do not edit the class manually.\r\n */\r\n\r\n\r\nimport { Configuration } from './configuration';\r\nimport globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\r\n// Some imports not used depending on template conditions\r\n// @ts-ignore\r\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\r\n// @ts-ignore\r\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';\r\n\r\n/**\r\n * \r\n * @export\r\n * @enum {string}\r\n */\r\n\r\nexport const ContactMethod = {\r\n Email: 'Email',\r\n Mobile: 'Mobile',\r\n Telephone: 'Telephone'\r\n} as const;\r\n\r\nexport type ContactMethod = typeof ContactMethod[keyof typeof ContactMethod];\r\n\r\n\r\n/**\r\n * \r\n * @export\r\n * @interface CreateCampaignSubmissionCommand\r\n */\r\nexport interface CreateCampaignSubmissionCommand {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'campaignTitle': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'province': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'city': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'store': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'selloutDate': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'claimedDate': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'tyreSize': string;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'numberOfTyres': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'amount'?: number | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'sellOutInvoiceRelativeUrl': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateCampaignSubmissionCommand\r\n */\r\n 'googleRecaptchaResponse': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface CreateContactRequestCommand\r\n */\r\nexport interface CreateContactRequestCommand {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'firstName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'lastName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'email': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'phoneNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'province': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'city': string;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'onlyContactViaPhone': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'receiveFutureCommunications': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'comments'?: string | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'googleRecaptchaResponse': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateContactRequestCommand\r\n */\r\n 'storeId': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface CreateFleetContactRequestCommand\r\n */\r\nexport interface CreateFleetContactRequestCommand {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'companyName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'firstName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'lastName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'email': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'phoneNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'preferredContactMethod': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'industry': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'numberVehiclesInFleet': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'typesOfVehicles': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'geographicCoverage': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFleetContactRequestCommand\r\n */\r\n 'googleRecaptchaResponse': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface CreateFranchiseApplicationCommand\r\n */\r\nexport interface CreateFranchiseApplicationCommand {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'firstName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'lastName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'phoneNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'email': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'idNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'idDocumentRelativeUrl': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'province': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'city': string;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'noBuilding': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'noBuildingDescription'?: string | null;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'existingBuilding': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'existingBuildingDescription'?: string | null;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'existingBusiness': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'existingBusinessDescription'?: string | null;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'hasExperience': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'experienceDescription': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'financingDetails': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateFranchiseApplicationCommand\r\n */\r\n 'googleRecaptchaResponse': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface CreateQuoteRequestCommand\r\n */\r\nexport interface CreateQuoteRequestCommand {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'storeId': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'firstName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'lastName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'email': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'phoneNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'province': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'city': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'store': string;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'receiveFutureCommunications': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'comments'?: string | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'vehicleManufacturer': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'vehicleModel': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'vehicleYear': string;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'quantity': number;\r\n /**\r\n * \r\n * @type {Array<QuoteRequestProductCreateModel>}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'quoteRequestProducts': Array<QuoteRequestProductCreateModel>;\r\n /**\r\n * \r\n * @type {Array<QuoteRequestServiceCreateModel>}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'quoteRequestServices': Array<QuoteRequestServiceCreateModel>;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'googleRecaptchaResponse': string;\r\n /**\r\n * \r\n * @type {Array<ContactMethod>}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'preferredContactMethods': Array<ContactMethod>;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof CreateQuoteRequestCommand\r\n */\r\n 'receiveInsurerCommunications': boolean;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface FilePath\r\n */\r\nexport interface FilePath {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof FilePath\r\n */\r\n 'relativePath'?: string | null;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof FilePath\r\n */\r\n 'absolutePath': boolean;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @enum {string}\r\n */\r\n\r\nexport const GetTyresQueryOrderByField = {\r\n Brand: 'Brand',\r\n Price: 'Price'\r\n} as const;\r\n\r\nexport type GetTyresQueryOrderByField = typeof GetTyresQueryOrderByField[keyof typeof GetTyresQueryOrderByField];\r\n\r\n\r\n/**\r\n * Implicit wrapping of types that serialize to non-complex values.\r\n * @export\r\n * @interface JsonResponseOfGuid\r\n */\r\nexport interface JsonResponseOfGuid {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof JsonResponseOfGuid\r\n */\r\n 'value': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @enum {string}\r\n */\r\n\r\nexport const OrderByDirection = {\r\n Ascending: 'Ascending',\r\n Descending: 'Descending'\r\n} as const;\r\n\r\nexport type OrderByDirection = typeof OrderByDirection[keyof typeof OrderByDirection];\r\n\r\n\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfStoreListViewModel\r\n */\r\nexport interface PagedResultOfStoreListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfStoreListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfStoreListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfStoreListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfStoreListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<StoreListViewModel>}\r\n * @memberof PagedResultOfStoreListViewModel\r\n */\r\n 'data': Array<StoreListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfString\r\n */\r\nexport interface PagedResultOfString {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfString\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfString\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfString\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfString\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<string>}\r\n * @memberof PagedResultOfString\r\n */\r\n 'data': Array<string>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfTyreBrandListViewModel\r\n */\r\nexport interface PagedResultOfTyreBrandListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreBrandListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreBrandListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreBrandListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreBrandListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<TyreBrandListViewModel>}\r\n * @memberof PagedResultOfTyreBrandListViewModel\r\n */\r\n 'data': Array<TyreBrandListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfTyreCategoryListViewModel\r\n */\r\nexport interface PagedResultOfTyreCategoryListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreCategoryListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreCategoryListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreCategoryListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreCategoryListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<TyreCategoryListViewModel>}\r\n * @memberof PagedResultOfTyreCategoryListViewModel\r\n */\r\n 'data': Array<TyreCategoryListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfTyreListViewModel\r\n */\r\nexport interface PagedResultOfTyreListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfTyreListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<TyreListViewModel>}\r\n * @memberof PagedResultOfTyreListViewModel\r\n */\r\n 'data': Array<TyreListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfVehicleManufacturerListViewModel\r\n */\r\nexport interface PagedResultOfVehicleManufacturerListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleManufacturerListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleManufacturerListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleManufacturerListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleManufacturerListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<VehicleManufacturerListViewModel>}\r\n * @memberof PagedResultOfVehicleManufacturerListViewModel\r\n */\r\n 'data': Array<VehicleManufacturerListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfVehicleModelListViewModel\r\n */\r\nexport interface PagedResultOfVehicleModelListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<VehicleModelListViewModel>}\r\n * @memberof PagedResultOfVehicleModelListViewModel\r\n */\r\n 'data': Array<VehicleModelListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfVehicleModelYearListViewModel\r\n */\r\nexport interface PagedResultOfVehicleModelYearListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelYearListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelYearListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelYearListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleModelYearListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<VehicleModelYearListViewModel>}\r\n * @memberof PagedResultOfVehicleModelYearListViewModel\r\n */\r\n 'data': Array<VehicleModelYearListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface PagedResultOfVehicleSpecificationListViewModel\r\n */\r\nexport interface PagedResultOfVehicleSpecificationListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleSpecificationListViewModel\r\n */\r\n 'totalCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleSpecificationListViewModel\r\n */\r\n 'pageCount': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleSpecificationListViewModel\r\n */\r\n 'pageSize': number;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof PagedResultOfVehicleSpecificationListViewModel\r\n */\r\n 'pageNumber': number;\r\n /**\r\n * \r\n * @type {Array<VehicleSpecificationListViewModel>}\r\n * @memberof PagedResultOfVehicleSpecificationListViewModel\r\n */\r\n 'data': Array<VehicleSpecificationListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface ProblemDetails\r\n */\r\nexport interface ProblemDetails {\r\n [key: string]: any;\r\n\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof ProblemDetails\r\n */\r\n 'type'?: string | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof ProblemDetails\r\n */\r\n 'title'?: string | null;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof ProblemDetails\r\n */\r\n 'status'?: number | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof ProblemDetails\r\n */\r\n 'detail'?: string | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof ProblemDetails\r\n */\r\n 'instance'?: string | null;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface QuoteRequestProductCreateModel\r\n */\r\nexport interface QuoteRequestProductCreateModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof QuoteRequestProductCreateModel\r\n */\r\n 'name': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof QuoteRequestProductCreateModel\r\n */\r\n 'additionalDetails'?: string | null;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface QuoteRequestServiceCreateModel\r\n */\r\nexport interface QuoteRequestServiceCreateModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof QuoteRequestServiceCreateModel\r\n */\r\n 'name': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof QuoteRequestServiceCreateModel\r\n */\r\n 'additionalDetails'?: string | null;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface StoreListViewModel\r\n */\r\nexport interface StoreListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'id': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'code': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'tradingName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'physicalAddress1': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'physicalAddress2': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'physicalAddressCity': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'physicalAddressPostCode': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'regionName': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'telephoneNumber': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'googleBusinessId'?: string | null;\r\n /**\r\n * \r\n * @type {Array<StoreStoreServiceListViewModel>}\r\n * @memberof StoreListViewModel\r\n */\r\n 'storeServices': Array<StoreStoreServiceListViewModel>;\r\n /**\r\n * \r\n * @type {Array<StoreStoreTradingDayListViewModel>}\r\n * @memberof StoreListViewModel\r\n */\r\n 'storeTradingDays': Array<StoreStoreTradingDayListViewModel>;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof StoreListViewModel\r\n */\r\n 'latitude'?: number | null;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof StoreListViewModel\r\n */\r\n 'longitude'?: number | null;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'whatsappBusinessNo': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreListViewModel\r\n */\r\n 'storeId'?: string | null;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface StoreStoreServiceListViewModel\r\n */\r\nexport interface StoreStoreServiceListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreStoreServiceListViewModel\r\n */\r\n 'title': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface StoreStoreTradingDayListViewModel\r\n */\r\nexport interface StoreStoreTradingDayListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreStoreTradingDayListViewModel\r\n */\r\n 'dayOfWeek': string;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof StoreStoreTradingDayListViewModel\r\n */\r\n 'dayOfWeekNumber': number;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof StoreStoreTradingDayListViewModel\r\n */\r\n 'dayOfWeekActive': boolean;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreStoreTradingDayListViewModel\r\n */\r\n 'openingTime': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof StoreStoreTradingDayListViewModel\r\n */\r\n 'closingTime': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @enum {string}\r\n */\r\n\r\nexport const TreadPatternMetaType = {\r\n Document: 'Document',\r\n Image: 'Image',\r\n MetaDescription: 'MetaDescription',\r\n MetaTitle: 'MetaTitle',\r\n MetaTag: 'MetaTag',\r\n Thumbnail: 'Thumbnail',\r\n Video: 'Video'\r\n} as const;\r\n\r\nexport type TreadPatternMetaType = typeof TreadPatternMetaType[keyof typeof TreadPatternMetaType];\r\n\r\n\r\n/**\r\n * \r\n * @export\r\n * @interface TyreBrandListViewModel\r\n */\r\nexport interface TyreBrandListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof TyreBrandListViewModel\r\n */\r\n 'id': number;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreBrandListViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreBrandListViewModel\r\n */\r\n 'slug': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface TyreCategoryListViewModel\r\n */\r\nexport interface TyreCategoryListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof TyreCategoryListViewModel\r\n */\r\n 'id': number;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreCategoryListViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreCategoryListViewModel\r\n */\r\n 'parentTyreCategoryTitle': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface TyreListViewModel\r\n */\r\nexport interface TyreListViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof TyreListViewModel\r\n */\r\n 'id': number;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'purchaseUrl': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'sku': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'size': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'sectionWidth': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'aspectRatio': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'rimSize': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'loadIndex': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreListViewModel\r\n */\r\n 'speedIndex': string;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'mfs': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'rof': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'radial': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'bias': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'lhd': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'xl': boolean;\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof TyreListViewModel\r\n */\r\n 'price': number;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'sellOnSurface'?: boolean | null;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'inStock': boolean;\r\n /**\r\n * \r\n * @type {boolean}\r\n * @memberof TyreListViewModel\r\n */\r\n 'isImperial': boolean;\r\n /**\r\n * \r\n * @type {TyreTreadPatternViewModel}\r\n * @memberof TyreListViewModel\r\n */\r\n 'tyreTreadPattern': TyreTreadPatternViewModel;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface TyreTreadPatternMetaListViewModel\r\n */\r\nexport interface TyreTreadPatternMetaListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternMetaListViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternMetaListViewModel\r\n */\r\n 'value': string;\r\n /**\r\n * \r\n * @type {TreadPatternMetaType}\r\n * @memberof TyreTreadPatternMetaListViewModel\r\n */\r\n 'treadPatternMetaTypeId': TreadPatternMetaType;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface TyreTreadPatternViewModel\r\n */\r\nexport interface TyreTreadPatternViewModel {\r\n /**\r\n * \r\n * @type {number}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'id': number;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'facts': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'description': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {TyreBrandListViewModel}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'tyreBrand': TyreBrandListViewModel;\r\n /**\r\n * \r\n * @type {TyreCategoryListViewModel}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'tyreCategory': TyreCategoryListViewModel;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'slug': string;\r\n /**\r\n * \r\n * @type {Array<TyreTreadPatternMetaListViewModel>}\r\n * @memberof TyreTreadPatternViewModel\r\n */\r\n 'treadPatternMetas': Array<TyreTreadPatternMetaListViewModel>;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface VehicleManufacturerListViewModel\r\n */\r\nexport interface VehicleManufacturerListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleManufacturerListViewModel\r\n */\r\n 'id': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleManufacturerListViewModel\r\n */\r\n 'title': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface VehicleModelListViewModel\r\n */\r\nexport interface VehicleModelListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleModelListViewModel\r\n */\r\n 'id': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleModelListViewModel\r\n */\r\n 'title': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface VehicleModelYearListViewModel\r\n */\r\nexport interface VehicleModelYearListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleModelYearListViewModel\r\n */\r\n 'id': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleModelYearListViewModel\r\n */\r\n 'title': string;\r\n}\r\n/**\r\n * \r\n * @export\r\n * @interface VehicleSpecificationListViewModel\r\n */\r\nexport interface VehicleSpecificationListViewModel {\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleSpecificationListViewModel\r\n */\r\n 'id': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleSpecificationListViewModel\r\n */\r\n 'title': string;\r\n /**\r\n * \r\n * @type {string}\r\n * @memberof VehicleSpecificationListViewModel\r\n */\r\n 'tyreSize': string;\r\n}\r\n\r\n/**\r\n * CampaignSubmissionsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const CampaignSubmissionsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateCampaignSubmissionCommand} [createCampaignSubmissionCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiCampaignSubmissionPost: async (createCampaignSubmissionCommand?: CreateCampaignSubmissionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/campaign-submission`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n localVarHeaderParameter['Content-Type'] = 'application/json';\r\n\r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = serializeDataIfNeeded(createCampaignSubmissionCommand, localVarRequestOptions, configuration)\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * CampaignSubmissionsApi - functional programming interface\r\n * @export\r\n */\r\nexport const CampaignSubmissionsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = CampaignSubmissionsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateCampaignSubmissionCommand} [createCampaignSubmissionCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiCampaignSubmissionPost(createCampaignSubmissionCommand?: CreateCampaignSubmissionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResponseOfGuid>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiCampaignSubmissionPost(createCampaignSubmissionCommand, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * CampaignSubmissionsApi - factory interface\r\n * @export\r\n */\r\nexport const CampaignSubmissionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = CampaignSubmissionsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateCampaignSubmissionCommand} [createCampaignSubmissionCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiCampaignSubmissionPost(createCampaignSubmissionCommand?: CreateCampaignSubmissionCommand, options?: any): AxiosPromise<JsonResponseOfGuid> {\r\n return localVarFp.apiCampaignSubmissionPost(createCampaignSubmissionCommand, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * CampaignSubmissionsApi - object-oriented interface\r\n * @export\r\n * @class CampaignSubmissionsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class CampaignSubmissionsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateCampaignSubmissionCommand} [createCampaignSubmissionCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof CampaignSubmissionsApi\r\n */\r\n public apiCampaignSubmissionPost(createCampaignSubmissionCommand?: CreateCampaignSubmissionCommand, options?: AxiosRequestConfig) {\r\n return CampaignSubmissionsApiFp(this.configuration).apiCampaignSubmissionPost(createCampaignSubmissionCommand, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * ContactRequestsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const ContactRequestsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateContactRequestCommand} [createContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiContactRequestPost: async (createContactRequestCommand?: CreateContactRequestCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/contact-request`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n localVarHeaderParameter['Content-Type'] = 'application/json';\r\n\r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = serializeDataIfNeeded(createContactRequestCommand, localVarRequestOptions, configuration)\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * ContactRequestsApi - functional programming interface\r\n * @export\r\n */\r\nexport const ContactRequestsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = ContactRequestsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateContactRequestCommand} [createContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiContactRequestPost(createContactRequestCommand?: CreateContactRequestCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResponseOfGuid>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiContactRequestPost(createContactRequestCommand, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * ContactRequestsApi - factory interface\r\n * @export\r\n */\r\nexport const ContactRequestsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = ContactRequestsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateContactRequestCommand} [createContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiContactRequestPost(createContactRequestCommand?: CreateContactRequestCommand, options?: any): AxiosPromise<JsonResponseOfGuid> {\r\n return localVarFp.apiContactRequestPost(createContactRequestCommand, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * ContactRequestsApi - object-oriented interface\r\n * @export\r\n * @class ContactRequestsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class ContactRequestsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateContactRequestCommand} [createContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof ContactRequestsApi\r\n */\r\n public apiContactRequestPost(createContactRequestCommand?: CreateContactRequestCommand, options?: AxiosRequestConfig) {\r\n return ContactRequestsApiFp(this.configuration).apiContactRequestPost(createContactRequestCommand, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * FilesApi - axios parameter creator\r\n * @export\r\n */\r\nexport const FilesApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @param {File} [file] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesPost: async (file?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/files`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n if (file !== undefined) { \r\n localVarFormParams.append('file', file as any);\r\n }\r\n \r\n \r\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = localVarFormParams;\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesRelativePathGet: async (relativePath: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'relativePath' is not null or undefined\r\n assertParamExists('filesRelativePathGet', 'relativePath', relativePath)\r\n const localVarPath = `/files/{relativePath}`\r\n .replace(`{${\"relativePath\"}}`, encodeURIComponent(String(relativePath)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesViewRelativePathGet: async (relativePath: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'relativePath' is not null or undefined\r\n assertParamExists('filesViewRelativePathGet', 'relativePath', relativePath)\r\n const localVarPath = `/files/view/{relativePath}`\r\n .replace(`{${\"relativePath\"}}`, encodeURIComponent(String(relativePath)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {number} width \r\n * @param {number} height \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesWidthHeightRelativePathGet: async (relativePath: string, width: number, height: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'relativePath' is not null or undefined\r\n assertParamExists('filesWidthHeightRelativePathGet', 'relativePath', relativePath)\r\n // verify required parameter 'width' is not null or undefined\r\n assertParamExists('filesWidthHeightRelativePathGet', 'width', width)\r\n // verify required parameter 'height' is not null or undefined\r\n assertParamExists('filesWidthHeightRelativePathGet', 'height', height)\r\n const localVarPath = `/files/{width}/{height}/{relativePath}`\r\n .replace(`{${\"relativePath\"}}`, encodeURIComponent(String(relativePath)))\r\n .replace(`{${\"width\"}}`, encodeURIComponent(String(width)))\r\n .replace(`{${\"height\"}}`, encodeURIComponent(String(height)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FilesApi - functional programming interface\r\n * @export\r\n */\r\nexport const FilesApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = FilesApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @param {File} [file] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async filesPost(file?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilePath>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.filesPost(file, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async filesRelativePathGet(relativePath: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.filesRelativePathGet(relativePath, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async filesViewRelativePathGet(relativePath: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.filesViewRelativePathGet(relativePath, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {number} width \r\n * @param {number} height \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async filesWidthHeightRelativePathGet(relativePath: string, width: number, height: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.filesWidthHeightRelativePathGet(relativePath, width, height, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FilesApi - factory interface\r\n * @export\r\n */\r\nexport const FilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = FilesApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @param {File} [file] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesPost(file?: File, options?: any): AxiosPromise<FilePath> {\r\n return localVarFp.filesPost(file, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesRelativePathGet(relativePath: string, options?: any): AxiosPromise<string> {\r\n return localVarFp.filesRelativePathGet(relativePath, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesViewRelativePathGet(relativePath: string, options?: any): AxiosPromise<string> {\r\n return localVarFp.filesViewRelativePathGet(relativePath, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {number} width \r\n * @param {number} height \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n filesWidthHeightRelativePathGet(relativePath: string, width: number, height: number, options?: any): AxiosPromise<string> {\r\n return localVarFp.filesWidthHeightRelativePathGet(relativePath, width, height, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * FilesApi - object-oriented interface\r\n * @export\r\n * @class FilesApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class FilesApi extends BaseAPI {\r\n /**\r\n * \r\n * @param {File} [file] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FilesApi\r\n */\r\n public filesPost(file?: File, options?: AxiosRequestConfig) {\r\n return FilesApiFp(this.configuration).filesPost(file, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FilesApi\r\n */\r\n public filesRelativePathGet(relativePath: string, options?: AxiosRequestConfig) {\r\n return FilesApiFp(this.configuration).filesRelativePathGet(relativePath, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FilesApi\r\n */\r\n public filesViewRelativePathGet(relativePath: string, options?: AxiosRequestConfig) {\r\n return FilesApiFp(this.configuration).filesViewRelativePathGet(relativePath, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @param {string} relativePath \r\n * @param {number} width \r\n * @param {number} height \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FilesApi\r\n */\r\n public filesWidthHeightRelativePathGet(relativePath: string, width: number, height: number, options?: AxiosRequestConfig) {\r\n return FilesApiFp(this.configuration).filesWidthHeightRelativePathGet(relativePath, width, height, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * FleetContactRequestsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const FleetContactRequestsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFleetContactRequestCommand} [createFleetContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiFleetContactRequestPost: async (createFleetContactRequestCommand?: CreateFleetContactRequestCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/fleet-contact-request`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n localVarHeaderParameter['Content-Type'] = 'application/json';\r\n\r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = serializeDataIfNeeded(createFleetContactRequestCommand, localVarRequestOptions, configuration)\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FleetContactRequestsApi - functional programming interface\r\n * @export\r\n */\r\nexport const FleetContactRequestsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = FleetContactRequestsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFleetContactRequestCommand} [createFleetContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiFleetContactRequestPost(createFleetContactRequestCommand?: CreateFleetContactRequestCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResponseOfGuid>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiFleetContactRequestPost(createFleetContactRequestCommand, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FleetContactRequestsApi - factory interface\r\n * @export\r\n */\r\nexport const FleetContactRequestsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = FleetContactRequestsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFleetContactRequestCommand} [createFleetContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiFleetContactRequestPost(createFleetContactRequestCommand?: CreateFleetContactRequestCommand, options?: any): AxiosPromise<JsonResponseOfGuid> {\r\n return localVarFp.apiFleetContactRequestPost(createFleetContactRequestCommand, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * FleetContactRequestsApi - object-oriented interface\r\n * @export\r\n * @class FleetContactRequestsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class FleetContactRequestsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFleetContactRequestCommand} [createFleetContactRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FleetContactRequestsApi\r\n */\r\n public apiFleetContactRequestPost(createFleetContactRequestCommand?: CreateFleetContactRequestCommand, options?: AxiosRequestConfig) {\r\n return FleetContactRequestsApiFp(this.configuration).apiFleetContactRequestPost(createFleetContactRequestCommand, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * FranchiseApplicationsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const FranchiseApplicationsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFranchiseApplicationCommand} [createFranchiseApplicationCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiFranchiseApplicationPost: async (createFranchiseApplicationCommand?: CreateFranchiseApplicationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/franchise-application`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n localVarHeaderParameter['Content-Type'] = 'application/json';\r\n\r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = serializeDataIfNeeded(createFranchiseApplicationCommand, localVarRequestOptions, configuration)\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FranchiseApplicationsApi - functional programming interface\r\n * @export\r\n */\r\nexport const FranchiseApplicationsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = FranchiseApplicationsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFranchiseApplicationCommand} [createFranchiseApplicationCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiFranchiseApplicationPost(createFranchiseApplicationCommand?: CreateFranchiseApplicationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResponseOfGuid>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiFranchiseApplicationPost(createFranchiseApplicationCommand, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * FranchiseApplicationsApi - factory interface\r\n * @export\r\n */\r\nexport const FranchiseApplicationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = FranchiseApplicationsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFranchiseApplicationCommand} [createFranchiseApplicationCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiFranchiseApplicationPost(createFranchiseApplicationCommand?: CreateFranchiseApplicationCommand, options?: any): AxiosPromise<JsonResponseOfGuid> {\r\n return localVarFp.apiFranchiseApplicationPost(createFranchiseApplicationCommand, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * FranchiseApplicationsApi - object-oriented interface\r\n * @export\r\n * @class FranchiseApplicationsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class FranchiseApplicationsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateFranchiseApplicationCommand} [createFranchiseApplicationCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof FranchiseApplicationsApi\r\n */\r\n public apiFranchiseApplicationPost(createFranchiseApplicationCommand?: CreateFranchiseApplicationCommand, options?: AxiosRequestConfig) {\r\n return FranchiseApplicationsApiFp(this.configuration).apiFranchiseApplicationPost(createFranchiseApplicationCommand, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * QuoteRequestsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const QuoteRequestsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateQuoteRequestCommand} [createQuoteRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiQuoteRequestPost: async (createQuoteRequestCommand?: CreateQuoteRequestCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/quote-request`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n localVarHeaderParameter['Content-Type'] = 'application/json';\r\n\r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n localVarRequestOptions.data = serializeDataIfNeeded(createQuoteRequestCommand, localVarRequestOptions, configuration)\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * QuoteRequestsApi - functional programming interface\r\n * @export\r\n */\r\nexport const QuoteRequestsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = QuoteRequestsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateQuoteRequestCommand} [createQuoteRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiQuoteRequestPost(createQuoteRequestCommand?: CreateQuoteRequestCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResponseOfGuid>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiQuoteRequestPost(createQuoteRequestCommand, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * QuoteRequestsApi - factory interface\r\n * @export\r\n */\r\nexport const QuoteRequestsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = QuoteRequestsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateQuoteRequestCommand} [createQuoteRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiQuoteRequestPost(createQuoteRequestCommand?: CreateQuoteRequestCommand, options?: any): AxiosPromise<JsonResponseOfGuid> {\r\n return localVarFp.apiQuoteRequestPost(createQuoteRequestCommand, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * QuoteRequestsApi - object-oriented interface\r\n * @export\r\n * @class QuoteRequestsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class QuoteRequestsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {CreateQuoteRequestCommand} [createQuoteRequestCommand] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof QuoteRequestsApi\r\n */\r\n public apiQuoteRequestPost(createQuoteRequestCommand?: CreateQuoteRequestCommand, options?: AxiosRequestConfig) {\r\n return QuoteRequestsApiFp(this.configuration).apiQuoteRequestPost(createQuoteRequestCommand, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * SitemapApi - axios parameter creator\r\n * @export\r\n */\r\nexport const SitemapApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiSitemapGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/sitemap`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * SitemapApi - functional programming interface\r\n * @export\r\n */\r\nexport const SitemapApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiSitemapGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiSitemapGet(options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * SitemapApi - factory interface\r\n * @export\r\n */\r\nexport const SitemapApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = SitemapApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiSitemapGet(options?: any): AxiosPromise<void> {\r\n return localVarFp.apiSitemapGet(options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * SitemapApi - object-oriented interface\r\n * @export\r\n * @class SitemapApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class SitemapApi extends BaseAPI {\r\n /**\r\n * \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof SitemapApi\r\n */\r\n public apiSitemapGet(options?: AxiosRequestConfig) {\r\n return SitemapApiFp(this.configuration).apiSitemapGet(options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * StoresApi - axios parameter creator\r\n * @export\r\n */\r\nexport const StoresApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [tradingName] \r\n * @param {string} [regionName] \r\n * @param {string} [city] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoreGet: async (pageNo?: number, pageSize?: number, tradingName?: string, regionName?: string, city?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/store`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (tradingName !== undefined) {\r\n localVarQueryParameter['tradingName'] = tradingName;\r\n }\r\n\r\n if (regionName !== undefined) {\r\n localVarQueryParameter['regionName'] = regionName;\r\n }\r\n\r\n if (city !== undefined) {\r\n localVarQueryParameter['city'] = city;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [region] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresCitiesGet: async (pageNo?: number, pageSize?: number, region?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/stores/cities`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (region !== undefined) {\r\n localVarQueryParameter['region'] = region;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {number} [longitude] \r\n * @param {number} [latitude] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresNearMeGet: async (pageNo?: number, pageSize?: number, longitude?: number, latitude?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/stores/near-me`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (longitude !== undefined) {\r\n localVarQueryParameter['longitude'] = longitude;\r\n }\r\n\r\n if (latitude !== undefined) {\r\n localVarQueryParameter['latitude'] = latitude;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresRegionsGet: async (pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/stores/regions`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * StoresApi - functional programming interface\r\n * @export\r\n */\r\nexport const StoresApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = StoresApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [tradingName] \r\n * @param {string} [regionName] \r\n * @param {string} [city] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiStoreGet(pageNo?: number, pageSize?: number, tradingName?: string, regionName?: string, city?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfStoreListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiStoreGet(pageNo, pageSize, tradingName, regionName, city, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [region] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiStoresCitiesGet(pageNo?: number, pageSize?: number, region?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiStoresCitiesGet(pageNo, pageSize, region, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {number} [longitude] \r\n * @param {number} [latitude] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiStoresNearMeGet(pageNo?: number, pageSize?: number, longitude?: number, latitude?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfStoreListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiStoresNearMeGet(pageNo, pageSize, longitude, latitude, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiStoresRegionsGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiStoresRegionsGet(pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * StoresApi - factory interface\r\n * @export\r\n */\r\nexport const StoresApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = StoresApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [tradingName] \r\n * @param {string} [regionName] \r\n * @param {string} [city] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoreGet(pageNo?: number, pageSize?: number, tradingName?: string, regionName?: string, city?: string, options?: any): AxiosPromise<PagedResultOfStoreListViewModel> {\r\n return localVarFp.apiStoreGet(pageNo, pageSize, tradingName, regionName, city, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [region] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresCitiesGet(pageNo?: number, pageSize?: number, region?: string, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiStoresCitiesGet(pageNo, pageSize, region, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {number} [longitude] \r\n * @param {number} [latitude] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresNearMeGet(pageNo?: number, pageSize?: number, longitude?: number, latitude?: number, options?: any): AxiosPromise<PagedResultOfStoreListViewModel> {\r\n return localVarFp.apiStoresNearMeGet(pageNo, pageSize, longitude, latitude, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiStoresRegionsGet(pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiStoresRegionsGet(pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * StoresApi - object-oriented interface\r\n * @export\r\n * @class StoresApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class StoresApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [tradingName] \r\n * @param {string} [regionName] \r\n * @param {string} [city] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof StoresApi\r\n */\r\n public apiStoreGet(pageNo?: number, pageSize?: number, tradingName?: string, regionName?: string, city?: string, options?: AxiosRequestConfig) {\r\n return StoresApiFp(this.configuration).apiStoreGet(pageNo, pageSize, tradingName, regionName, city, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [region] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof StoresApi\r\n */\r\n public apiStoresCitiesGet(pageNo?: number, pageSize?: number, region?: string, options?: AxiosRequestConfig) {\r\n return StoresApiFp(this.configuration).apiStoresCitiesGet(pageNo, pageSize, region, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {number} [longitude] \r\n * @param {number} [latitude] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof StoresApi\r\n */\r\n public apiStoresNearMeGet(pageNo?: number, pageSize?: number, longitude?: number, latitude?: number, options?: AxiosRequestConfig) {\r\n return StoresApiFp(this.configuration).apiStoresNearMeGet(pageNo, pageSize, longitude, latitude, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof StoresApi\r\n */\r\n public apiStoresRegionsGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return StoresApiFp(this.configuration).apiStoresRegionsGet(pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * TyreBrandsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const TyreBrandsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreBrandGet: async (pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/tyre-brand`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreBrandsApi - functional programming interface\r\n * @export\r\n */\r\nexport const TyreBrandsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = TyreBrandsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyreBrandGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfTyreBrandListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyreBrandGet(pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreBrandsApi - factory interface\r\n * @export\r\n */\r\nexport const TyreBrandsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = TyreBrandsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreBrandGet(pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfTyreBrandListViewModel> {\r\n return localVarFp.apiTyreBrandGet(pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * TyreBrandsApi - object-oriented interface\r\n * @export\r\n * @class TyreBrandsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class TyreBrandsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyreBrandsApi\r\n */\r\n public apiTyreBrandGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return TyreBrandsApiFp(this.configuration).apiTyreBrandGet(pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * TyreCategoriesApi - axios parameter creator\r\n * @export\r\n */\r\nexport const TyreCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreCategoryGet: async (pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/tyre-category`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreCategoriesApi - functional programming interface\r\n * @export\r\n */\r\nexport const TyreCategoriesApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = TyreCategoriesApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyreCategoryGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfTyreCategoryListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyreCategoryGet(pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreCategoriesApi - factory interface\r\n * @export\r\n */\r\nexport const TyreCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = TyreCategoriesApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreCategoryGet(pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfTyreCategoryListViewModel> {\r\n return localVarFp.apiTyreCategoryGet(pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * TyreCategoriesApi - object-oriented interface\r\n * @export\r\n * @class TyreCategoriesApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class TyreCategoriesApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyreCategoriesApi\r\n */\r\n public apiTyreCategoryGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return TyreCategoriesApiFp(this.configuration).apiTyreCategoryGet(pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * TyreTreadPatternsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const TyreTreadPatternsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} slug \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreTreadPatternSlugGet: async (slug: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'slug' is not null or undefined\r\n assertParamExists('apiTyreTreadPatternSlugGet', 'slug', slug)\r\n const localVarPath = `/api/tyre-tread-pattern/{slug}`\r\n .replace(`{${\"slug\"}}`, encodeURIComponent(String(slug)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreTreadPatternsApi - functional programming interface\r\n * @export\r\n */\r\nexport const TyreTreadPatternsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = TyreTreadPatternsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} slug \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyreTreadPatternSlugGet(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TyreTreadPatternViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyreTreadPatternSlugGet(slug, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyreTreadPatternsApi - factory interface\r\n * @export\r\n */\r\nexport const TyreTreadPatternsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = TyreTreadPatternsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} slug \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreTreadPatternSlugGet(slug: string, options?: any): AxiosPromise<TyreTreadPatternViewModel> {\r\n return localVarFp.apiTyreTreadPatternSlugGet(slug, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * TyreTreadPatternsApi - object-oriented interface\r\n * @export\r\n * @class TyreTreadPatternsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class TyreTreadPatternsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} slug \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyreTreadPatternsApi\r\n */\r\n public apiTyreTreadPatternSlugGet(slug: string, options?: AxiosRequestConfig) {\r\n return TyreTreadPatternsApiFp(this.configuration).apiTyreTreadPatternSlugGet(slug, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * TyresApi - axios parameter creator\r\n * @export\r\n */\r\nexport const TyresApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {OrderByDirection} [orderByDirection] \r\n * @param {GetTyresQueryOrderByField} [orderByField] \r\n * @param {number} [minimumPrice] \r\n * @param {number} [maximumPrice] \r\n * @param {boolean} [isRunFlat] \r\n * @param {Array<number>} [tyreBrandIds] \r\n * @param {Array<number>} [tyreCategoryIds] \r\n * @param {string} [sectionWidth] \r\n * @param {string} [aspectRatio] \r\n * @param {string} [rimSize] \r\n * @param {number} [treadPatternId] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreGet: async (pageNo?: number, pageSize?: number, orderByDirection?: OrderByDirection, orderByField?: GetTyresQueryOrderByField, minimumPrice?: number, maximumPrice?: number, isRunFlat?: boolean, tyreBrandIds?: Array<number>, tyreCategoryIds?: Array<number>, sectionWidth?: string, aspectRatio?: string, rimSize?: string, treadPatternId?: number, isImperial?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/tyre`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (orderByDirection !== undefined) {\r\n localVarQueryParameter['orderByDirection'] = orderByDirection;\r\n }\r\n\r\n if (orderByField !== undefined) {\r\n localVarQueryParameter['orderByField'] = orderByField;\r\n }\r\n\r\n if (minimumPrice !== undefined) {\r\n localVarQueryParameter['minimumPrice'] = minimumPrice;\r\n }\r\n\r\n if (maximumPrice !== undefined) {\r\n localVarQueryParameter['maximumPrice'] = maximumPrice;\r\n }\r\n\r\n if (isRunFlat !== undefined) {\r\n localVarQueryParameter['isRunFlat'] = isRunFlat;\r\n }\r\n\r\n if (tyreBrandIds) {\r\n localVarQueryParameter['tyreBrandIds'] = tyreBrandIds;\r\n }\r\n\r\n if (tyreCategoryIds) {\r\n localVarQueryParameter['tyreCategoryIds'] = tyreCategoryIds;\r\n }\r\n\r\n if (sectionWidth !== undefined) {\r\n localVarQueryParameter['sectionWidth'] = sectionWidth;\r\n }\r\n\r\n if (aspectRatio !== undefined) {\r\n localVarQueryParameter['aspectRatio'] = aspectRatio;\r\n }\r\n\r\n if (rimSize !== undefined) {\r\n localVarQueryParameter['rimSize'] = rimSize;\r\n }\r\n\r\n if (treadPatternId !== undefined) {\r\n localVarQueryParameter['treadPatternId'] = treadPatternId;\r\n }\r\n\r\n if (isImperial !== undefined) {\r\n localVarQueryParameter['isImperial'] = isImperial;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} sectionWidth \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresAspectratiosSectionWidthGet: async (sectionWidth: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'sectionWidth' is not null or undefined\r\n assertParamExists('apiTyresAspectratiosSectionWidthGet', 'sectionWidth', sectionWidth)\r\n const localVarPath = `/api/tyres/aspectratios/{sectionWidth}`\r\n .replace(`{${\"sectionWidth\"}}`, encodeURIComponent(String(sectionWidth)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} aspectRatio \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [sectionWidth] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresRimsizesAspectRatioGet: async (aspectRatio: string, pageNo?: number, pageSize?: number, sectionWidth?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'aspectRatio' is not null or undefined\r\n assertParamExists('apiTyresRimsizesAspectRatioGet', 'aspectRatio', aspectRatio)\r\n const localVarPath = `/api/tyres/rimsizes/{aspectRatio}`\r\n .replace(`{${\"aspectRatio\"}}`, encodeURIComponent(String(aspectRatio)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (sectionWidth !== undefined) {\r\n localVarQueryParameter['sectionWidth'] = sectionWidth;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresSectionwidthsGet: async (pageNo?: number, pageSize?: number, isImperial?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/tyres/sectionwidths`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (isImperial !== undefined) {\r\n localVarQueryParameter['isImperial'] = isImperial;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [searchTerm] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresTyresizesGet: async (pageNo?: number, pageSize?: number, searchTerm?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/tyres/tyresizes`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n if (searchTerm !== undefined) {\r\n localVarQueryParameter['searchTerm'] = searchTerm;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyresApi - functional programming interface\r\n * @export\r\n */\r\nexport const TyresApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = TyresApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {OrderByDirection} [orderByDirection] \r\n * @param {GetTyresQueryOrderByField} [orderByField] \r\n * @param {number} [minimumPrice] \r\n * @param {number} [maximumPrice] \r\n * @param {boolean} [isRunFlat] \r\n * @param {Array<number>} [tyreBrandIds] \r\n * @param {Array<number>} [tyreCategoryIds] \r\n * @param {string} [sectionWidth] \r\n * @param {string} [aspectRatio] \r\n * @param {string} [rimSize] \r\n * @param {number} [treadPatternId] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyreGet(pageNo?: number, pageSize?: number, orderByDirection?: OrderByDirection, orderByField?: GetTyresQueryOrderByField, minimumPrice?: number, maximumPrice?: number, isRunFlat?: boolean, tyreBrandIds?: Array<number>, tyreCategoryIds?: Array<number>, sectionWidth?: string, aspectRatio?: string, rimSize?: string, treadPatternId?: number, isImperial?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfTyreListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyreGet(pageNo, pageSize, orderByDirection, orderByField, minimumPrice, maximumPrice, isRunFlat, tyreBrandIds, tyreCategoryIds, sectionWidth, aspectRatio, rimSize, treadPatternId, isImperial, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} sectionWidth \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyresAspectratiosSectionWidthGet(sectionWidth: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyresAspectratiosSectionWidthGet(sectionWidth, pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} aspectRatio \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [sectionWidth] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyresRimsizesAspectRatioGet(aspectRatio: string, pageNo?: number, pageSize?: number, sectionWidth?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyresRimsizesAspectRatioGet(aspectRatio, pageNo, pageSize, sectionWidth, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyresSectionwidthsGet(pageNo?: number, pageSize?: number, isImperial?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyresSectionwidthsGet(pageNo, pageSize, isImperial, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [searchTerm] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiTyresTyresizesGet(pageNo?: number, pageSize?: number, searchTerm?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfString>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiTyresTyresizesGet(pageNo, pageSize, searchTerm, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * TyresApi - factory interface\r\n * @export\r\n */\r\nexport const TyresApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = TyresApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {OrderByDirection} [orderByDirection] \r\n * @param {GetTyresQueryOrderByField} [orderByField] \r\n * @param {number} [minimumPrice] \r\n * @param {number} [maximumPrice] \r\n * @param {boolean} [isRunFlat] \r\n * @param {Array<number>} [tyreBrandIds] \r\n * @param {Array<number>} [tyreCategoryIds] \r\n * @param {string} [sectionWidth] \r\n * @param {string} [aspectRatio] \r\n * @param {string} [rimSize] \r\n * @param {number} [treadPatternId] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyreGet(pageNo?: number, pageSize?: number, orderByDirection?: OrderByDirection, orderByField?: GetTyresQueryOrderByField, minimumPrice?: number, maximumPrice?: number, isRunFlat?: boolean, tyreBrandIds?: Array<number>, tyreCategoryIds?: Array<number>, sectionWidth?: string, aspectRatio?: string, rimSize?: string, treadPatternId?: number, isImperial?: boolean, options?: any): AxiosPromise<PagedResultOfTyreListViewModel> {\r\n return localVarFp.apiTyreGet(pageNo, pageSize, orderByDirection, orderByField, minimumPrice, maximumPrice, isRunFlat, tyreBrandIds, tyreCategoryIds, sectionWidth, aspectRatio, rimSize, treadPatternId, isImperial, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} sectionWidth \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresAspectratiosSectionWidthGet(sectionWidth: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiTyresAspectratiosSectionWidthGet(sectionWidth, pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {string} aspectRatio \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [sectionWidth] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresRimsizesAspectRatioGet(aspectRatio: string, pageNo?: number, pageSize?: number, sectionWidth?: string, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiTyresRimsizesAspectRatioGet(aspectRatio, pageNo, pageSize, sectionWidth, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresSectionwidthsGet(pageNo?: number, pageSize?: number, isImperial?: boolean, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiTyresSectionwidthsGet(pageNo, pageSize, isImperial, options).then((request) => request(axios, basePath));\r\n },\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [searchTerm] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiTyresTyresizesGet(pageNo?: number, pageSize?: number, searchTerm?: string, options?: any): AxiosPromise<PagedResultOfString> {\r\n return localVarFp.apiTyresTyresizesGet(pageNo, pageSize, searchTerm, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * TyresApi - object-oriented interface\r\n * @export\r\n * @class TyresApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class TyresApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {OrderByDirection} [orderByDirection] \r\n * @param {GetTyresQueryOrderByField} [orderByField] \r\n * @param {number} [minimumPrice] \r\n * @param {number} [maximumPrice] \r\n * @param {boolean} [isRunFlat] \r\n * @param {Array<number>} [tyreBrandIds] \r\n * @param {Array<number>} [tyreCategoryIds] \r\n * @param {string} [sectionWidth] \r\n * @param {string} [aspectRatio] \r\n * @param {string} [rimSize] \r\n * @param {number} [treadPatternId] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyresApi\r\n */\r\n public apiTyreGet(pageNo?: number, pageSize?: number, orderByDirection?: OrderByDirection, orderByField?: GetTyresQueryOrderByField, minimumPrice?: number, maximumPrice?: number, isRunFlat?: boolean, tyreBrandIds?: Array<number>, tyreCategoryIds?: Array<number>, sectionWidth?: string, aspectRatio?: string, rimSize?: string, treadPatternId?: number, isImperial?: boolean, options?: AxiosRequestConfig) {\r\n return TyresApiFp(this.configuration).apiTyreGet(pageNo, pageSize, orderByDirection, orderByField, minimumPrice, maximumPrice, isRunFlat, tyreBrandIds, tyreCategoryIds, sectionWidth, aspectRatio, rimSize, treadPatternId, isImperial, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {string} sectionWidth \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyresApi\r\n */\r\n public apiTyresAspectratiosSectionWidthGet(sectionWidth: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return TyresApiFp(this.configuration).apiTyresAspectratiosSectionWidthGet(sectionWidth, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {string} aspectRatio \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [sectionWidth] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyresApi\r\n */\r\n public apiTyresRimsizesAspectRatioGet(aspectRatio: string, pageNo?: number, pageSize?: number, sectionWidth?: string, options?: AxiosRequestConfig) {\r\n return TyresApiFp(this.configuration).apiTyresRimsizesAspectRatioGet(aspectRatio, pageNo, pageSize, sectionWidth, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {boolean} [isImperial] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyresApi\r\n */\r\n public apiTyresSectionwidthsGet(pageNo?: number, pageSize?: number, isImperial?: boolean, options?: AxiosRequestConfig) {\r\n return TyresApiFp(this.configuration).apiTyresSectionwidthsGet(pageNo, pageSize, isImperial, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {string} [searchTerm] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof TyresApi\r\n */\r\n public apiTyresTyresizesGet(pageNo?: number, pageSize?: number, searchTerm?: string, options?: AxiosRequestConfig) {\r\n return TyresApiFp(this.configuration).apiTyresTyresizesGet(pageNo, pageSize, searchTerm, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * VehicleManufacturersApi - axios parameter creator\r\n * @export\r\n */\r\nexport const VehicleManufacturersApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleManufacturerGet: async (pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n const localVarPath = `/api/vehicle-manufacturer`;\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleManufacturersApi - functional programming interface\r\n * @export\r\n */\r\nexport const VehicleManufacturersApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = VehicleManufacturersApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiVehicleManufacturerGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfVehicleManufacturerListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiVehicleManufacturerGet(pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleManufacturersApi - factory interface\r\n * @export\r\n */\r\nexport const VehicleManufacturersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = VehicleManufacturersApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleManufacturerGet(pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfVehicleManufacturerListViewModel> {\r\n return localVarFp.apiVehicleManufacturerGet(pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * VehicleManufacturersApi - object-oriented interface\r\n * @export\r\n * @class VehicleManufacturersApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class VehicleManufacturersApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof VehicleManufacturersApi\r\n */\r\n public apiVehicleManufacturerGet(pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return VehicleManufacturersApiFp(this.configuration).apiVehicleManufacturerGet(pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * VehicleModelYearsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const VehicleModelYearsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleModelYearVehicleModelIdGet: async (vehicleModelId: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'vehicleModelId' is not null or undefined\r\n assertParamExists('apiVehicleModelYearVehicleModelIdGet', 'vehicleModelId', vehicleModelId)\r\n const localVarPath = `/api/vehicle-model-year/{vehicleModelId}`\r\n .replace(`{${\"vehicleModelId\"}}`, encodeURIComponent(String(vehicleModelId)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleModelYearsApi - functional programming interface\r\n * @export\r\n */\r\nexport const VehicleModelYearsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = VehicleModelYearsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiVehicleModelYearVehicleModelIdGet(vehicleModelId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfVehicleModelYearListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiVehicleModelYearVehicleModelIdGet(vehicleModelId, pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleModelYearsApi - factory interface\r\n * @export\r\n */\r\nexport const VehicleModelYearsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = VehicleModelYearsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleModelYearVehicleModelIdGet(vehicleModelId: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfVehicleModelYearListViewModel> {\r\n return localVarFp.apiVehicleModelYearVehicleModelIdGet(vehicleModelId, pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * VehicleModelYearsApi - object-oriented interface\r\n * @export\r\n * @class VehicleModelYearsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class VehicleModelYearsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof VehicleModelYearsApi\r\n */\r\n public apiVehicleModelYearVehicleModelIdGet(vehicleModelId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return VehicleModelYearsApiFp(this.configuration).apiVehicleModelYearVehicleModelIdGet(vehicleModelId, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * VehicleModelsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const VehicleModelsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleManufacturerId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleModelVehicleManufacturerIdGet: async (vehicleManufacturerId: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'vehicleManufacturerId' is not null or undefined\r\n assertParamExists('apiVehicleModelVehicleManufacturerIdGet', 'vehicleManufacturerId', vehicleManufacturerId)\r\n const localVarPath = `/api/vehicle-model/{vehicleManufacturerId}`\r\n .replace(`{${\"vehicleManufacturerId\"}}`, encodeURIComponent(String(vehicleManufacturerId)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleModelsApi - functional programming interface\r\n * @export\r\n */\r\nexport const VehicleModelsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = VehicleModelsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleManufacturerId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfVehicleModelListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId, pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleModelsApi - factory interface\r\n * @export\r\n */\r\nexport const VehicleModelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = VehicleModelsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleManufacturerId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfVehicleModelListViewModel> {\r\n return localVarFp.apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId, pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * VehicleModelsApi - object-oriented interface\r\n * @export\r\n * @class VehicleModelsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class VehicleModelsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleManufacturerId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof VehicleModelsApi\r\n */\r\n public apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return VehicleModelsApiFp(this.configuration).apiVehicleModelVehicleManufacturerIdGet(vehicleManufacturerId, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n/**\r\n * VehicleSpecificationsApi - axios parameter creator\r\n * @export\r\n */\r\nexport const VehicleSpecificationsApiAxiosParamCreator = function (configuration?: Configuration) {\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelYearId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleSpecificationVehicleModelYearIdGet: async (vehicleModelYearId: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\r\n // verify required parameter 'vehicleModelYearId' is not null or undefined\r\n assertParamExists('apiVehicleSpecificationVehicleModelYearIdGet', 'vehicleModelYearId', vehicleModelYearId)\r\n const localVarPath = `/api/vehicle-specification/{vehicleModelYearId}`\r\n .replace(`{${\"vehicleModelYearId\"}}`, encodeURIComponent(String(vehicleModelYearId)));\r\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\r\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\r\n let baseOptions;\r\n if (configuration) {\r\n baseOptions = configuration.baseOptions;\r\n }\r\n\r\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\r\n const localVarHeaderParameter = {} as any;\r\n const localVarQueryParameter = {} as any;\r\n\r\n // authentication Bearer required\r\n // http bearer authentication required\r\n await setBearerAuthToObject(localVarHeaderParameter, configuration)\r\n\r\n if (pageNo !== undefined) {\r\n localVarQueryParameter['pageNo'] = pageNo;\r\n }\r\n\r\n if (pageSize !== undefined) {\r\n localVarQueryParameter['pageSize'] = pageSize;\r\n }\r\n\r\n\r\n \r\n setSearchParams(localVarUrlObj, localVarQueryParameter);\r\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\r\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\r\n\r\n return {\r\n url: toPathString(localVarUrlObj),\r\n options: localVarRequestOptions,\r\n };\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleSpecificationsApi - functional programming interface\r\n * @export\r\n */\r\nexport const VehicleSpecificationsApiFp = function(configuration?: Configuration) {\r\n const localVarAxiosParamCreator = VehicleSpecificationsApiAxiosParamCreator(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelYearId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n async apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagedResultOfVehicleSpecificationListViewModel>> {\r\n const localVarAxiosArgs = await localVarAxiosParamCreator.apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId, pageNo, pageSize, options);\r\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\r\n },\r\n }\r\n};\r\n\r\n/**\r\n * VehicleSpecificationsApi - factory interface\r\n * @export\r\n */\r\nexport const VehicleSpecificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\r\n const localVarFp = VehicleSpecificationsApiFp(configuration)\r\n return {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelYearId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n */\r\n apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PagedResultOfVehicleSpecificationListViewModel> {\r\n return localVarFp.apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId, pageNo, pageSize, options).then((request) => request(axios, basePath));\r\n },\r\n };\r\n};\r\n\r\n/**\r\n * VehicleSpecificationsApi - object-oriented interface\r\n * @export\r\n * @class VehicleSpecificationsApi\r\n * @extends {BaseAPI}\r\n */\r\nexport class VehicleSpecificationsApi extends BaseAPI {\r\n /**\r\n * \r\n * @summary \r\n * @param {string} vehicleModelYearId \r\n * @param {number} [pageNo] \r\n * @param {number} [pageSize] \r\n * @param {*} [options] Override http request option.\r\n * @throws {RequiredError}\r\n * @memberof VehicleSpecificationsApi\r\n */\r\n public apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {\r\n return VehicleSpecificationsApiFp(this.configuration).apiVehicleSpecificationVehicleModelYearIdGet(vehicleModelYearId, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));\r\n }\r\n}\r\n\r\n\r\n","/* tslint:disable */\r\n/* eslint-disable */\r\n/**\r\n * HiQ.Marketing API\r\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\r\n *\r\n * The version of the OpenAPI document: 1.0\r\n * \r\n *\r\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\r\n * https://openapi-generator.tech\r\n * Do not edit the class manually.\r\n */\r\n\r\n\r\nexport interface ConfigurationParameters {\r\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\r\n username?: string;\r\n password?: string;\r\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\r\n basePath?: string;\r\n baseOptions?: any;\r\n formDataCtor?: new () => any;\r\n}\r\n\r\nexport class Configuration {\r\n /**\r\n * parameter for apiKey security\r\n * @param name security name\r\n * @memberof Configuration\r\n */\r\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\r\n /**\r\n * parameter for basic security\r\n *\r\n * @type {string}\r\n * @memberof Configuration\r\n */\r\n username?: string;\r\n /**\r\n * parameter for basic security\r\n *\r\n * @type {string}\r\n * @memberof Configuration\r\n */\r\n password?: string;\r\n /**\r\n * parameter for oauth2 security\r\n * @param name security name\r\n * @param scopes oauth2 scope\r\n * @memberof Configuration\r\n */\r\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\r\n /**\r\n * override base path\r\n *\r\n * @type {string}\r\n * @memberof Configuration\r\n */\r\n basePath?: string;\r\n /**\r\n * base options for axios calls\r\n *\r\n * @type {any}\r\n * @memberof Configuration\r\n */\r\n baseOptions?: any;\r\n /**\r\n * The FormData constructor that will be used to create multipart form data\r\n * requests. You can inject this here so that execution environments that\r\n * do not support the FormData class can still run the generated client.\r\n *\r\n * @type {new () => FormData}\r\n */\r\n formDataCtor?: new () => any;\r\n\r\n constructor(param: ConfigurationParameters = {}) {\r\n this.apiKey = param.apiKey;\r\n this.username = param.username;\r\n this.password = param.password;\r\n this.accessToken = param.accessToken;\r\n this.basePath = param.basePath;\r\n this.baseOptions = param.baseOptions;\r\n this.formDataCtor = param.formDataCtor;\r\n }\r\n\r\n /**\r\n * Check if the given MIME is a JSON MIME.\r\n * JSON MIME examples:\r\n * application/json\r\n * application/json; charset=UTF8\r\n * APPLICATION/JSON\r\n * application/vnd.company+json\r\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\r\n * @return True if the given MIME is JSON, false otherwise.\r\n */\r\n public isJsonMime(mime: string): boolean {\r\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\r\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\r\n }\r\n}\r\n","import axios from \"axios\";\r\nimport * as HIQAPI from \"@/api-client\";\r\nexport const axiosInstance = axios.create();\r\n\r\nconst globalConf = new HIQAPI.Configuration({\r\n basePath: process.env.VUE_APP_ROOT_API,\r\n});\r\n\r\nconst ContactRequests: HIQAPI.ContactRequestsApi = new HIQAPI.ContactRequestsApi(globalConf);\r\nconst QuoteRequests: HIQAPI.QuoteRequestsApi = new HIQAPI.QuoteRequestsApi(globalConf);\r\nconst FranchiseRequests: HIQAPI.FranchiseApplicationsApi = new HIQAPI.FranchiseApplicationsApi(globalConf);\r\nconst FleetContactRequests: HIQAPI.FleetContactRequestsApi = new HIQAPI.FleetContactRequestsApi(globalConf);\r\nconst Stores: HIQAPI.StoresApi = new HIQAPI.StoresApi(globalConf);\r\nconst TyreBrands: HIQAPI.TyreBrandsApi = new HIQAPI.TyreBrandsApi(globalConf);\r\nconst TyreCategories: HIQAPI.TyreCategoriesApi = new HIQAPI.TyreCategoriesApi(globalConf);\r\nconst Tyres: HIQAPI.TyresApi = new HIQAPI.TyresApi(globalConf);\r\nconst TyreTreadPatterns: HIQAPI.TyreTreadPatternsApi = new HIQAPI.TyreTreadPatternsApi(globalConf);\r\nconst VehicleManufacturers: HIQAPI.VehicleManufacturersApi = new HIQAPI.VehicleManufacturersApi(globalConf);\r\nconst VehicleModels: HIQAPI.VehicleModelsApi = new HIQAPI.VehicleModelsApi(globalConf);\r\nconst VehicleModelYears: HIQAPI.VehicleModelYearsApi = new HIQAPI.VehicleModelYearsApi(globalConf);\r\nconst VehicleSpecifications: HIQAPI.VehicleSpecificationsApi = new HIQAPI.VehicleSpecificationsApi(globalConf);\r\nconst CampaignSubmissions: HIQAPI.CampaignSubmissionsApi = new HIQAPI.CampaignSubmissionsApi(globalConf);\r\n\r\nexport { \r\n ContactRequests,\r\n QuoteRequests,\r\n FranchiseRequests,\r\n FleetContactRequests,\r\n Stores,\r\n TyreBrands,\r\n TyreCategories,\r\n Tyres,\r\n TyreTreadPatterns,\r\n VehicleManufacturers,\r\n VehicleModels,\r\n VehicleModelYears,\r\n VehicleSpecifications,\r\n CampaignSubmissions\r\n};","import { GetTyresQueryOrderByField, OrderByDirection, PagedResultOfString, PagedResultOfTyreBrandListViewModel, PagedResultOfTyreCategoryListViewModel, PagedResultOfTyreListViewModel, TyreListViewModel, TyreTreadPatternViewModel, TyreBrandListViewModel } from \"@/api-client\";\r\nimport { TyreBrands, TyreCategories, TyreTreadPatterns, Tyres } from \"@/network/api\";\r\nimport { handleError } from \"@/utilities\";\r\n\r\nexport type TyreRangeFilterValues = {\r\n orderByField: string,\r\n isRunFlat: boolean,\r\n tyreBrands: number[],\r\n tyreTypes: string[],\r\n tyrePrice: [number, number]\r\n}\r\n\r\n// Tyres\r\nexport function getTyres(\r\n pageNumber: number = 1,\r\n pageSize: number = 9,\r\n sectionWidth?: string | undefined,\r\n aspectRatio?: string | undefined,\r\n rimSize?: string | undefined,\r\n treadPatternId?: number | undefined,\r\n orderByDirection?: OrderByDirection | undefined,\r\n orderByField?: GetTyresQueryOrderByField | undefined,\r\n minimumPrice?: number | undefined,\r\n maximumPrice?: number | undefined,\r\n isRunFlat?: boolean | undefined,\r\n tyreBrandIds?: number[] | undefined,\r\n tyreCategoryIds?: number[] | undefined\r\n): Promise<PagedResultOfTyreListViewModel> {\r\n return new Promise((resolve, reject) => {\r\n Tyres.apiTyreGet(\r\n pageNumber,\r\n pageSize,\r\n orderByDirection,\r\n orderByField,\r\n minimumPrice,\r\n maximumPrice,\r\n isRunFlat,\r\n tyreBrandIds,\r\n tyreCategoryIds,\r\n sectionWidth,\r\n aspectRatio,\r\n rimSize,\r\n treadPatternId\r\n )\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getTyreSectionWidths(pageNumber: number = 1, pageSize: number = 99999, isImperial: boolean = false): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Tyres.apiTyresSectionwidthsGet(pageNumber, pageSize, isImperial)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n // TODO: stop sorting in TS- section width by number\r\n res.data.data = res.data.data.sort((a: string, b: string) => +a - +b);\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getTyreAspectRatios(pageNumber: number = 1, pageSize: number = 99999, sectionWidth: string): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Tyres.apiTyresAspectratiosSectionWidthGet(sectionWidth, pageNumber, pageSize)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n // TODO: stop sorting in TS- aspect ratio by number\r\n res.data.data = res.data.data.sort((a: string, b: string) => +a - +b);\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getTyreRimSizes(pageNumber: number = 1, pageSize: number = 99999, aspectRatio: string, sectionWidth: string | undefined = undefined): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Tyres.apiTyresRimsizesAspectRatioGet(aspectRatio, pageNumber, pageSize, sectionWidth)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n // TODO: stop sorting in TS- rim size by number\r\n res.data.data = res.data.data.sort((a: string, b: string) => +a - +b);\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getTyreSizes(pageNumber: number = 1, pageSize: number = 99999, searchTerm?: string | undefined): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Tyres.apiTyresTyresizesGet(pageNumber, pageSize, searchTerm)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// TyreTreadPatterns\r\nexport function getTyreTreadPatternBySlug(slug: string): Promise<TyreTreadPatternViewModel> {\r\n return new Promise((resolve, reject) => {\r\n TyreTreadPatterns.apiTyreTreadPatternSlugGet(slug)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// TyreCategories\r\nexport function getTyreCatergories(pageNumber: number = 1, pageSize: number = 99999): Promise<PagedResultOfTyreCategoryListViewModel> {\r\n return new Promise((resolve, reject) => {\r\n TyreCategories.apiTyreCategoryGet(pageNumber, pageSize)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// TyreBrands\r\nexport function getTyreBrands(pageNumber: number = 1, pageSize: number = 99999): Promise<PagedResultOfTyreBrandListViewModel> {\r\n return new Promise((resolve, reject) => {\r\n TyreBrands.apiTyreBrandGet(pageNumber, pageSize)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}","import { getVehicleManufacturers, getVehicleModelYears, getVehicleModels, getVehicleSpecifications } from \"@/api-calls/vehicles\";\r\nimport { getTyreAspectRatios, getTyreRimSizes, getTyreSectionWidths } from \"@/api-calls/tyres\";\r\n\r\nexport async function listAspectRatio(sectionWidth: string = \"\") {\r\n if(sectionWidth) {\r\n return (await getTyreAspectRatios(1, 99999, sectionWidth)).data;\r\n } else {\r\n return [];\r\n } \r\n}\r\n\r\nexport async function listRimSize(aspectRatio: string = \"\", sectionWidth?: string | undefined) {\r\n if(aspectRatio) {\r\n return (await getTyreRimSizes(1, 99999, aspectRatio, sectionWidth)).data;\r\n } else {\r\n return [];\r\n }\r\n}\r\n\r\nexport async function listModels(manufacturer: string = \"\") {\r\n if(manufacturer) {\r\n return await getVehicleModels(manufacturer);\r\n } else {\r\n return [];\r\n } \r\n}\r\n\r\nexport async function listModelYear(manufacturer: string = \"\", model: string = \"\") {\r\n if(model) {\r\n return await getVehicleModelYears(manufacturer, model);\r\n } else {\r\n return [];\r\n }\r\n}\r\n\r\nexport async function listSpecification(manufacturer: string = \"\", model: string = \"\", modelYear: string = \"\") {\r\n if(modelYear) {\r\n return await getVehicleSpecifications(manufacturer, model, modelYear);\r\n } else {\r\n return [];\r\n }\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withKeys as _withKeys, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-19875590\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"TyreSearch\",\n class: \"tyre-search py-4\"\n}\nconst _hoisted_2 = {\n class: \"nav nav-tabs border-secondary\",\n id: \"nav-tab\",\n role: \"tablist\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", null, [\n /*#__PURE__*/_createElementVNode(\"b\", null, \"By Tyre Size\")\n ])\n], -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", null, [\n /*#__PURE__*/_createElementVNode(\"b\", null, \"By Vehicle\")\n ])\n], -1))\nconst _hoisted_6 = [\n _hoisted_5\n]\nconst _hoisted_7 = {\n class: \"tab-content\",\n id: \"nav-tabContent\"\n}\nconst _hoisted_8 = { class: \"row my-3\" }\nconst _hoisted_9 = { class: \"col-12 text-light\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-light py-2\" }, \"Search by Tyre Size\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"fw-normal text-light\" }, \"get imperial tyre sizes\", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"white-space\":\"pre\",\"text-wrap\":\"pretty\",\"max-width\":\"450px\"} }, \"Imperial tyre sizes are measured using inches and denote tyre width, aspect ratio, and diameter.\", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-info-circle d-md-inline ms-auto pointer mb-1\",\n style: {\"position\":\"relative\",\"top\":\"-3px\"}\n}, null, -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"fw-bold text-capitalize\" }, \"Find my Tyres\", -1))\nconst _hoisted_15 = [\"disabled\"]\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"text-capitalize\" }, \"Clear size selection\", -1))\nconst _hoisted_17 = [\n _hoisted_16\n]\nconst _hoisted_18 = { class: \"row my-3\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"text-light pt-4\" }, \"Search by Vehicle\", -1))\nconst _hoisted_20 = {\n key: 0,\n class: \"row flex-column\"\n}\nconst _hoisted_21 = { class: \"col order-1 my-md-0 my-3 d-flex align-items-center\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"fw-bold text-capitalize\" }, \"Find my Tyres\", -1))\nconst _hoisted_23 = [\"disabled\"]\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"text-capitalize\" }, \"Clear vehicle selection\", -1))\nconst _hoisted_25 = [\n _hoisted_24\n]\nconst _hoisted_26 = {\n key: 0,\n class: \"col order-0 order-md-1 d-flex align-items-center\"\n}\nconst _hoisted_27 = { class: \"w-100 text-white\" }\nconst _hoisted_28 = {\n key: 1,\n class: \"text-white\"\n}\nconst _hoisted_29 = { class: \"vehicle-tyre-sizes\" }\nconst _hoisted_30 = [\"onClick\", \"onKeyup\"]\n\nimport { ref, Ref, onMounted, watch, onBeforeMount } from \"vue\"; \r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import { VehicleManufacturer, getVehicleManufacturers, VehicleModel, VehicleModelYear, VehicleSpecification, VehicleTyres, VehicleTyreDetail, getVehicleTyre, clearVehicleCache } from \"@/api-calls/vehicles\";\r\n import { getTyreSectionWidths } from \"@/api-calls/tyres\";\r\n import { listAspectRatio, listRimSize, listModels, listModelYear, listSpecification } from \"@/utilities/productProps\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { tableResizeObserver, getSizeFromString, TyreGtmEventObj } from \"@/utilities\";\r\n import { useRoute } from \"vue-router\";\r\n import type { CheckboxValueType } from \"element-plus\";\r\n\r\n type CurrentTyre = {\r\n parsedTyre: boolean,\r\n sectionWidth: string | undefined,\r\n aspectRatio: string | undefined,\r\n rimSize: string | undefined\r\n }\r\n\r\n type CurrentVehicle = {\r\n manufacturer: string | undefined,\r\n model: string | undefined,\r\n modelYear: string | undefined,\r\n specification: string | undefined\r\n }\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreSearch',\n props: {\r\n size: {type: Object, default: undefined},\r\n isClearable: {type: Boolean, default: false},\r\n },\n emits: [\"search\", \"vehicle-complete\", \"clear\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\r\n \r\n \r\n const miscStore = useMiscStore();\r\n const route = useRoute();\r\n let manufacturerDdl: Ref<VehicleManufacturer[]> = ref([]);\r\n let modelDdl: Ref<VehicleModel[]> = ref([]);\r\n let modelYearDdl: Ref<VehicleModelYear[]> = ref([]);\r\n let specificationDdl: Ref<VehicleSpecification[]> = ref([]);\r\n let vehicleTyres: Ref<VehicleTyreDetail[]> = ref([]);\r\n let sectionWidthDdl: Ref<string[]> = ref([]);\r\n let aspectRatioDdl: Ref<string[]> = ref([]);\r\n let rimSizeDdl: Ref<string[]> = ref([]);\r\n let tab: Ref<string> = ref(\"tyre\");\r\n let isImperial: Ref<boolean> = ref(false);\r\n let currentTyre: Ref<CurrentTyre> = ref({\r\n parsedTyre: ref(false),\r\n sectionWidth: ref(undefined),\r\n aspectRatio: ref(undefined),\r\n rimSize: ref(undefined)\r\n });\r\n let currentVehicle: Ref<CurrentVehicle> = ref({\r\n manufacturer: ref(undefined),\r\n model: ref(undefined),\r\n modelYear: ref(undefined),\r\n specification: ref(undefined)\r\n });\r\n let currentVehicleName: Ref<TyreGtmEventObj> = ref({\r\n manufacturer: ref(undefined),\r\n model: ref(undefined),\r\n year: ref(undefined),\r\n vehicle_specification: ref(undefined),\r\n tyre_size: ref(undefined)\r\n });\r\n\r\n tableResizeObserver(this);\r\n\r\n onBeforeMount(async () => {\r\n if (route.query.isImperial && route.query.isImperial == \"true\") {\r\n console.log(route.query.isImperial)\r\n isImperial.value = true;\r\n }\r\n miscStore.isLoading = true;\r\n manufacturerDdl.value = (await getVehicleManufacturers());\r\n sectionWidthDdl.value = (await getTyreSectionWidths(1, 99999, isImperial.value)).data;\r\n miscStore.isLoading = false;\r\n })\r\n\r\n onMounted(async () => {\r\n if (props.size && (props.size.rimSize || props.size.aspectRatio || props.size.sectionWidth)) {\r\n currentTyre.value = props.size as CurrentTyre;\r\n tab.value = \"tyre\";\r\n currentTyre.value.parsedTyre = true;\r\n\r\n if (currentTyre.value.sectionWidth) {\r\n aspectRatioDdl.value = await listAspectRatio(currentTyre.value.sectionWidth);\r\n }\r\n if (currentTyre.value.aspectRatio) {\r\n rimSizeDdl.value = await listRimSize(currentTyre.value.aspectRatio, currentTyre.value.sectionWidth);\r\n }\r\n }\r\n })\r\n\r\n async function imperialToggle (value: CheckboxValueType) {\r\n isImperial.value = value as boolean;\r\n currentTyre.value.sectionWidth = undefined;\r\n miscStore.isLoading = true;\r\n sectionWidthDdl.value = (await getTyreSectionWidths(1, 99999, isImperial.value)).data;\r\n miscStore.isLoading = false;\r\n }\r\n\r\n watch(getSectionWidth, (change) => {\r\n if(!change) {\r\n currentTyre.value.parsedTyre = false\r\n currentTyre.value.aspectRatio = undefined\r\n }\r\n })\r\n\r\n watch(getAspectRatio, (change) => {\r\n if(!change) {\r\n currentTyre.value.parsedTyre = false\r\n currentTyre.value.rimSize = undefined\r\n }\r\n })\r\n\r\n watch(getManufacturer, (change) => {\r\n modelDdl.value = []\r\n currentTyre.value = { parsedTyre: false, sectionWidth: undefined, aspectRatio: undefined, rimSize: undefined }\r\n if(!change) {\r\n currentVehicle.value.model = undefined\r\n }\r\n })\r\n\r\n watch(getModel, (change) => {\r\n modelYearDdl.value = []\r\n currentTyre.value = { parsedTyre: false, sectionWidth: undefined, aspectRatio: undefined, rimSize: undefined }\r\n if(!change) {\r\n currentVehicle.value.modelYear = undefined\r\n }\r\n })\r\n\r\n watch(getModelYear, (change) => {\r\n specificationDdl.value = []\r\n currentTyre.value = { parsedTyre: false, sectionWidth: undefined, aspectRatio: undefined, rimSize: undefined }\r\n if(!change) {\r\n currentVehicle.value.specification = undefined\r\n }\r\n })\r\n\r\n function changeTab (update: string) {\r\n currentTyre.value = {\r\n parsedTyre: false,\r\n sectionWidth: undefined,\r\n aspectRatio: undefined,\r\n rimSize: undefined\r\n };\r\n currentVehicle.value = {\r\n manufacturer: undefined,\r\n model: undefined,\r\n modelYear: undefined,\r\n specification: undefined\r\n };\r\n tab.value = update;\r\n }\r\n\r\n function getSectionWidth() {\r\n return currentTyre.value.sectionWidth;\r\n }\r\n\r\n function getAspectRatio() {\r\n return currentTyre.value.aspectRatio;\r\n }\r\n\r\n function getRimSize() {\r\n return currentTyre.value.rimSize;\r\n }\r\n\r\n function getManufacturer() {\r\n return currentVehicle.value.manufacturer;\r\n }\r\n\r\n function getModel() {\r\n return currentVehicle.value.model;\r\n }\r\n\r\n function getModelYear() {\r\n return currentVehicle.value.modelYear;\r\n }\r\n\r\n function getSpecification() {\r\n return currentVehicle.value.specification;\r\n }\r\n\r\n async function fetchAspectRatio() {\r\n currentTyre.value.parsedTyre = false;\r\n currentTyre.value.aspectRatio = undefined;\r\n currentTyre.value.rimSize = undefined;\r\n\r\n miscStore.isLoading = true;\r\n aspectRatioDdl.value = await listAspectRatio(currentTyre.value.sectionWidth);\r\n miscStore.isLoading = false;\r\n if(aspectRatioDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"aspectRatio\")?.focus();\r\n document.getElementById(\"aspectRatio\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function fetchRimSize() {\r\n currentTyre.value.parsedTyre = false;\r\n currentTyre.value.rimSize = undefined;\r\n\r\n miscStore.isLoading = true;\r\n rimSizeDdl.value = await listRimSize(currentTyre.value.aspectRatio, currentTyre.value.sectionWidth);\r\n miscStore.isLoading = false;\r\n if(rimSizeDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"rimSize\")?.focus();\r\n document.getElementById(\"rimSize\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function fetchModels() {\r\n currentVehicle.value.model= undefined;\r\n currentVehicle.value.modelYear= undefined;\r\n currentVehicle.value.specification= undefined;\r\n\r\n miscStore.isLoading = true;\r\n modelDdl.value = await listModels(currentVehicle.value.manufacturer);\r\n miscStore.isLoading = false;\r\n if(modelDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"model\")?.focus();\r\n document.getElementById(\"model\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function fetchModelYear() {\r\n currentVehicle.value.modelYear = undefined;\r\n currentVehicle.value.specification = undefined;\r\n\r\n miscStore.isLoading = true;\r\n modelYearDdl.value = await listModelYear(currentVehicle.value.manufacturer, currentVehicle.value.model);\r\n miscStore.isLoading = false;\r\n if(modelYearDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"modelYear\")?.focus();\r\n document.getElementById(\"modelYear\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function fetchSpecification() {\r\n currentVehicle.value.specification = undefined;\r\n\r\n miscStore.isLoading = true;\r\n specificationDdl.value = await listSpecification(currentVehicle.value.manufacturer, currentVehicle.value.model, currentVehicle.value.modelYear);\r\n miscStore.isLoading = false;\r\n if(specificationDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"specification\")?.focus();\r\n document.getElementById(\"specification\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function vehicleRimSize() {\r\n vehicleTyres.value = [];\r\n currentTyre.value = {\r\n parsedTyre: false,\r\n sectionWidth: undefined,\r\n aspectRatio: undefined,\r\n rimSize: undefined\r\n };\r\n currentVehicleName.value = {\r\n manufacturer: undefined,\r\n model: undefined,\r\n year: undefined,\r\n vehicle_specification: undefined\r\n };\r\n if(currentVehicle.value.specification) {\r\n const spec = specificationDdl.value.find(item => item.slug == currentVehicle.value.specification);\r\n miscStore.isLoading = true;\r\n vehicleTyres.value = (await getVehicleTyre(currentVehicle.value.manufacturer, currentVehicle.value.model, currentVehicle.value.modelYear, currentVehicle.value.specification))[0].wheels;\r\n\r\n currentTyre.value = {\r\n parsedTyre: false,\r\n ...getSizeFromString(vehicleTyres.value[0].front.tire)\r\n };\r\n\r\n const manu = manufacturerDdl.value.find(item => item.slug == currentVehicle.value.manufacturer);\r\n const model = modelDdl.value.find(item => item.slug == currentVehicle.value.model);\r\n const year = modelYearDdl.value.find(item => item.slug == currentVehicle.value.modelYear);\r\n currentVehicleName.value = {\r\n manufacturer: manu!.name.toString(),\r\n model: model!.name.toString(),\r\n year: year!.name.toString(),\r\n vehicle_specification: spec!.fullName.toString(),\r\n tyre_size: vehicleTyres.value[0].front.tire\r\n };\r\n\r\n miscStore.isLoading = false;\r\n emit('vehicle-complete', currentTyre.value);\r\n }\r\n }\r\n\r\n function selectVehicleTyre(tyre: VehicleTyreDetail) {\r\n currentVehicleName.value.tyre_size = tyre.front.tire;\r\n currentTyre.value = {\r\n parsedTyre: false,\r\n ...getSizeFromString(tyre.front.tire)\r\n };\r\n\r\n emit('search', {\r\n params: {\r\n sectionWidth: getSectionWidth(),\r\n aspectRatio: getAspectRatio(),\r\n rimSize: getRimSize()\r\n },\r\n search: {\r\n ...currentVehicleName.value\r\n }\r\n })\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_alert = _resolveComponent(\"el-alert\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(MainContainer, { class: \"pb-3 pt-4\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\r\n 'h6 mb-0 py-3 px-4 pointer',\r\n {'text-primary bg-secondary': _unref(tab) == 'tyre'},\r\n {'text-white fw-light bg-primary': _unref(tab) != 'tyre'}\r\n ]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (changeTab('tyre')))\n }, _hoisted_4, 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\r\n 'h6 mb-0 py-3 px-4 pointer',\r\n {'text-primary bg-secondary': _unref(tab) == 'vehicle'},\r\n {'text-white fw-light bg-primary': _unref(tab) != 'vehicle'}\r\n ]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (changeTab('vehicle')))\n }, _hoisted_6, 2)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(['tab-pane fade', {'show active': _unref(tab) == 'tyre'}])\n }, [\n _createVNode(_component_el_form, {\n ref: \"TyreSizeForm\",\n model: _unref(currentTyre),\n size: \"large\",\n \"label-position\": \"top\",\n onSubmit: _cache[8] || (_cache[8] = _withModifiers(() => {}, [\"prevent\"]))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_el_checkbox, {\n class: \"my-1 me-3\",\n name: \"isImperial\",\n \"v-model\": _unref(isImperial),\n checked: _unref(isImperial),\n onChange: _cache[2] || (_cache[2] = value => imperialToggle(value)),\n border: \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"v-model\", \"checked\"]),\n _createVNode(_component_el_tooltip, {\n width: 500,\n trigger: \"hover\",\n effect: \"light\",\n \"raw-content\": \"\"\n }, {\n content: _withCtx(() => [\n _hoisted_12\n ]),\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 col-xl-3 my-3\",\n prop: \"sectionWidth\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"sectionWidth\",\n name: \"sectionWidth\",\n onChange: fetchAspectRatio,\n modelValue: _unref(currentTyre).sectionWidth,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(currentTyre).sectionWidth) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Select a tyre size\",\n loading: _unref(miscStore).isLoading && !_unref(sectionWidthDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sectionWidthDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `section-width-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 col-xl-3 my-3\",\n prop: \"aspectRatio\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"aspectRatio\",\n name: \"aspectRatio\",\n onChange: fetchRimSize,\n modelValue: _unref(currentTyre).aspectRatio,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(currentTyre).aspectRatio) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentTyre).parsedTyre && (!_unref(currentTyre).sectionWidth || _unref(aspectRatioDdl).length < 1),\n placeholder: \"Select an aspect ratio\",\n loading: _unref(miscStore).isLoading && !_unref(aspectRatioDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(aspectRatioDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `aspect-ratio-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"]),\n (!_unref(currentTyre).parsedTyre && _unref(currentTyre).sectionWidth && !_unref(miscStore).isLoading && _unref(aspectRatioDdl).length == 0)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"mt-3\",\n title: \"No tyre aspect ratio found\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 col-xl-3 my-3\",\n prop: \"rimSize\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"rimSize\",\n name: \"rimSize\",\n modelValue: _unref(currentTyre).rimSize,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(currentTyre).rimSize) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentTyre).parsedTyre && (!_unref(currentTyre).aspectRatio || _unref(rimSizeDdl).length < 1),\n placeholder: \"Select a rim size\",\n loading: _unref(miscStore).isLoading && !_unref(rimSizeDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rimSizeDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `rim-size-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"]),\n (!_unref(currentTyre).parsedTyre && _unref(currentTyre).aspectRatio && !_unref(miscStore).isLoading && _unref(rimSizeDdl).length == 0)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"mt-3\",\n title: \"No tyre rim size found\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_button, {\n loading: _unref(miscStore).isLoading,\n disabled: !getRimSize(),\n class: \"btn btn-secondary search-action\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (emit('search', {\r\n params: {\r\n sectionWidth: getSectionWidth(),\r\n aspectRatio: getAspectRatio(),\r\n rimSize: getRimSize(),\r\n },\r\n query: {\r\n isImperial: _unref(isImperial).toString()\r\n },\r\n search: {\r\n section_width: getSectionWidth(),\r\n aspect_ratio: getAspectRatio(),\r\n rim_size: getRimSize()\r\n }\r\n })))\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n (props.isClearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n disabled: !getRimSize(),\n class: \"btn btn-outline-light search-action\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => {_unref(currentTyre).sectionWidth = undefined; emit('clear');})\n }, _hoisted_17, 8, _hoisted_15))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"model\"])\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass(['tab-pane fade', {'show active': _unref(tab) == 'vehicle'}])\n }, [\n _createVNode(_component_el_form, {\n ref: \"TyreSizeForm\",\n model: _unref(currentVehicle),\n size: \"large\",\n \"label-position\": \"top\",\n onSubmit: _cache[15] || (_cache[15] = _withModifiers(() => {}, [\"prevent\"]))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-3 my-3\",\n prop: \"manufacturer\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"manufacturer\",\n name: \"manufacturer\",\n onChange: fetchModels,\n modelValue: _unref(currentVehicle).manufacturer,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(currentVehicle).manufacturer) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Select a manufacturer\",\n loading: _unref(miscStore).isLoading && !_unref(manufacturerDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(manufacturerDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `manufacturer-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-3 my-3\",\n prop: \"model\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"model\",\n name: \"model\",\n onChange: fetchModelYear,\n modelValue: _unref(currentVehicle).model,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_unref(currentVehicle).model) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).manufacturer || _unref(modelDdl).length < 1,\n placeholder: \"Select a model\",\n loading: _unref(miscStore).isLoading && !_unref(modelDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(modelDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `model-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"]),\n (_unref(currentVehicle).manufacturer && !_unref(miscStore).isLoading && _unref(modelDdl).length == 0)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"mt-3\",\n title: \"No vehicle model found\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-3 my-3\",\n prop: \"modelYear\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"modelYear\",\n name: \"modelYear\",\n onChange: fetchSpecification,\n modelValue: _unref(currentVehicle).modelYear,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_unref(currentVehicle).modelYear) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).model || _unref(modelYearDdl).length < 1,\n placeholder: \"Select a model year\",\n loading: _unref(miscStore).isLoading && !_unref(modelYearDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(modelYearDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `model-year-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"]),\n (_unref(currentVehicle).model && !_unref(miscStore).isLoading && _unref(modelYearDdl).length == 0)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"mt-3\",\n title: \"No vehicle year found\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-3 my-3\",\n prop: \"specification\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"specification\",\n name: \"specification\",\n onChange: vehicleRimSize,\n modelValue: _unref(currentVehicle).specification,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_unref(currentVehicle).specification) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).modelYear || _unref(specificationDdl).length < 1,\n placeholder: \"Select a specification\",\n loading: _unref(miscStore).isLoading && !_unref(specificationDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(specificationDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.fullName,\n value: item.slug,\n key: `specification-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"]),\n (_unref(currentVehicle).modelYear && !_unref(miscStore).isLoading && _unref(specificationDdl).length == 0)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"mt-3\",\n title: \"No vehicle specifications found\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n (_unref(currentVehicle).specification && _unref(vehicleTyres).length == 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_el_button, {\n loading: _unref(miscStore).isLoading,\n disabled: !getRimSize(),\n class: \"btn btn-secondary search-action\",\n onClick: _cache[13] || (_cache[13] = ($event: any) => (emit('search', {\r\n params: {\r\n sectionWidth: getSectionWidth(),\r\n aspectRatio: getAspectRatio(),\r\n rimSize: getRimSize()\r\n },\r\n search: {\r\n ..._unref(currentVehicleName)\r\n }\r\n })))\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n (props.isClearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n disabled: !getRimSize(),\n class: \"btn btn-outline-light search-action\",\n onClick: _cache[14] || (_cache[14] = ($event: any) => {_unref(currentVehicle).manufacturer = undefined; _unref(currentTyre).sectionWidth = undefined; emit('clear');})\n }, _hoisted_25, 8, _hoisted_23))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(currentTyre).rimSize)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, [\n _createElementVNode(\"i\", _hoisted_27, [\n _createTextVNode(\" Your tyre size is \"),\n _createElementVNode(\"b\", null, _toDisplayString(_unref(currentTyre).sectionWidth) + \"/\" + _toDisplayString(_unref(currentTyre).aspectRatio) + \"R\" + _toDisplayString(_unref(currentTyre).rimSize), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(currentVehicle).specification && _unref(vehicleTyres).length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _createTextVNode(\" Your tyre size is one of the following: \"),\n _createElementVNode(\"div\", _hoisted_29, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(vehicleTyres), (tyre, index) => {\n return (_openBlock(), _createElementBlock(\"b\", {\n key: tyre.front.tire_full.replaceAll(/\\s/g,''),\n role: \"button\",\n tabindex: \"0\",\n onClick: ($event: any) => (selectVehicleTyre(tyre)),\n onKeyup: _withKeys(($event: any) => (selectVehicleTyre(tyre)), [\"enter\"])\n }, _toDisplayString(tyre.front.tire), 41, _hoisted_30))\n }), 128))\n ]),\n _createTextVNode(\" select one of the sizes above to search for your tyres \")\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"model\"])\n ], 2)\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TyreSearch.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreSearch.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TyreSearch.vue?vue&type=style&index=0&id=19875590&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-19875590\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-48e5439c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"popup-banner position-fixed bottom-0 end-0 bg-dark text-white\",\n style: {\"z-index\":\"1050\"}\n}\nconst _hoisted_2 = [\"src\", \"alt\"]\n\nimport { ref, onMounted, Ref, computed } from 'vue';\r\nimport { CmsBaseUrl } from \"@/utilities\"\r\nimport { useApolloClient } from '@vue/apollo-composable'; \r\nimport { getPopupBanner } from '@/utilities/graphql/index'; \r\nimport { popupbannerObj } from '@/utilities/graphql/popupbanner'; \r\n \r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PopupBanner',\n setup(__props) {\n \r\nconst showPopup = ref(false);\r\nlet displayPopup: Ref<boolean> = ref(false);\r\nconst popupBanner: Ref<popupbannerObj | null> = ref({ \r\n display: false, \r\n alias: '',\r\n image: '',\r\n mobileImage: ''\r\n});\r\n \r\nconst { resolveClient } = useApolloClient(); \r\nconst ApolloClient = resolveClient();\r\n \r\nonMounted(async () => { \r\n const hasSeenPopup = sessionStorage.getItem('hasSeenPopup'); \r\n if (!hasSeenPopup) { \r\n await getPopupBanner(ApolloClient).then((data) => { \r\n popupBanner.value = data as popupbannerObj; \r\n if (displayPopup.value = true) { \r\n showPopup.value = true; \r\n }\r\n }); \r\n } \r\n});\r\n\r\nconst isMobile = computed(() => { \r\n return window.innerWidth < 768;\r\n});\r\n\r\n// Computed property for the image source \r\nconst imageSrc = computed(() => { \r\n // Check if we are on a mobile device and if a mobile image is provided \r\n if (isMobile.value && popupBanner.value?.mobileImage?.urls?.length) { \r\n return CmsBaseUrl() + popupBanner.value.mobileImage.urls[0]; \r\n } \r\n // Fallback to the desktop image if mobile image is not provided or we are not on a mobile device \r\n return popupBanner.value?.image?.urls?.length ? CmsBaseUrl() + popupBanner.value.image.urls[0] : ''; \r\n}); \r\n \r\n// Computed property for the alt text \r\nconst imageAlt = computed(() => { \r\n return popupBanner.value?.alias?.alias || 'Popup Banner'; \r\n}); \r\n \r\nconst closePopup = () => { \r\n showPopup.value = false; \r\n \r\n setTimeout(() => { \r\n sessionStorage.setItem('hasSeenPopup', 'true'); \r\n }, 700); \r\n}; \r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, {\n \"enter-active-class\": \"animate__animated animate__slideInUp animate__delay-1s\",\n \"leave-active-class\": \"animate__animated animate__slideOutDown\"\n }, {\n default: _withCtx(() => [\n (showPopup.value && popupBanner.value?.display)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"btn-close btn-close-white position-absolute top-0 end-0 m-2\",\n \"aria-label\": \"Close\",\n onClick: closePopup,\n style: {\"opacity\":\"1\"}\n }),\n _createElementVNode(\"img\", {\n src: imageSrc.value,\n alt: imageAlt.value\n }, null, 8, _hoisted_2)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./PopupBanner.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PopupBanner.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PopupBanner.vue?vue&type=style&index=0&id=48e5439c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-48e5439c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, isRef as _isRef, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-18dfca93\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"innerHTML\"]\nconst _hoisted_2 = { class: \"bg-primary\" }\nconst _hoisted_3 = { class: \"row justify-content-center\" }\nconst _hoisted_4 = { class: \"col-12 col-md-10 col-lg-6\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right\" })\n], -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"New to tyres and need advice?\"),\n /*#__PURE__*/_createElementVNode(\"u\", null, \"Click here\"),\n /*#__PURE__*/_createTextVNode(\" if you'd like to find out more about tyre and autocare services. \")\n], -1))\nconst _hoisted_7 = { class: \"col-12 col-md-10 col-lg-6\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right\" })\n], -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Know your tyres but need our help?\"),\n /*#__PURE__*/_createElementVNode(\"u\", null, \"Click here\"),\n /*#__PURE__*/_createTextVNode(\" and we'll help get you on the right track. \")\n], -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-center mb-4 wow fadeInDown\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Find the right service for you\")\n], -1))\nconst _hoisted_11 = { class: \"row justify-content-center justify-content-md-around justify-content-lg-start wow fadeIn\" }\nconst _hoisted_12 = [\"data-wow-delay\"]\nconst _hoisted_13 = { class: \"text-center\" }\nconst _hoisted_14 = { class: \"service-title h4 my-3 pb-3 text-primary\" }\nconst _hoisted_15 = { class: \"service-links py-3 px-4 text-primary h-100\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-right-fill text-secondary me-1\" }, null, -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12 col-md-5 col-lg-4\" }, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12 col-md-5 col-lg-4\" }, null, -1))\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import HomeBanner from '@/components/general/HomeBanner.vue';\r\n import HomeBannerPromotion from '@/components/general/HomeBannerPromotion.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Testimonials from '@/components/general/Testimonials.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import TyreSearch from '@/components/form/TyreSearch.vue';\r\n import { useRouter, RouteLocationRaw } from \"vue-router\";\r\n import { gtmDatalayerEvent, TyreSearchObj, MarkdownMediaSrcReplace } from \"@/utilities\";\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { getPopup } from \"@/utilities/graphql\";\r\n import { popupObj } from '@/utilities/graphql/popup';\r\n import PopupBanner from \"@/components/general/PopupBanner.vue\"\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HomeView',\n setup(__props) {\n\r\n const router = useRouter();\r\n\r\n const serviceLinks: Ref<any | undefined> = ref([\r\n {\r\n title: 'Learn more about tyres',\r\n imageAlias: 'image-home-learn-more-about-tyres',\r\n links: [\r\n // { text: 'What makes us different', link: {name: 'WhatMakesUsDifferent'} },\r\n { text: 'Tyre markings', link: {name: 'TyreMarkings'} },\r\n { text: 'When to change my tyres', link: {name: 'WhenToChangeTyres'} },\r\n { text: 'Which tyres fit my car?', link: {name: 'WhatTyresAreRight'} },\r\n { text: 'What does OE mean?', link: {name: 'WhatDoesOEMean'} },\r\n { text: 'What tyres fit my lifestyle?', link: {name: 'WhatTyresFitMyLifestyle'} },\r\n { text: 'Calculators', link: {name: 'Calculators'} }\r\n ]\r\n },\r\n {\r\n title: 'View our tyre and autocare products',\r\n imageAlias: 'image-home-view-our-tyres-and-other-products',\r\n links: [\r\n { text: 'Tyre range', link: {name: 'TyreRange'} },\r\n { text: 'Our products', link: {name: 'ProductRange'} },\r\n { text: 'Request a quote from us', link: {name: 'RequestQuote'} },\r\n { text: 'Which tyres fit my car?', link: {name: 'WhatTyresAreRight'} },\r\n { text: 'What tyres fit my lifestyle?', link: {name: 'WhatTyresFitMyLifestyle'} },\r\n { text: 'Decision tree', link: {name: 'DecisionTree'} }\r\n ]\r\n },\r\n {\r\n title: 'View our services',\r\n imageAlias: 'image-home-view-our-services',\r\n links: [\r\n { text: 'Tyre services', link: {name: 'TyreServices'} },\r\n { text: 'Value added services', link: {name: 'ValueAddedServicesList'} }\r\n ]\r\n },\r\n {\r\n title: 'View our stores',\r\n imageAlias: 'image-home-view-our-dealerships',\r\n links: [\r\n { text: 'Find a store', link: {name: 'StoreLocator'} },\r\n { text: 'Get a Hi-Q Fleet Account', link: {name: 'GetAHiqCompanyAccount'} },\r\n { text: 'Become a Hi-Q franchise', link: {name: 'BecomeAFranchise'} }\r\n ]\r\n },\r\n {\r\n title: 'View additional resources',\r\n imageAlias: 'image-home-view-additional-resources',\r\n links: [\r\n { text: 'Technical articles', link: {name: 'TechnicalArticleList'} },\r\n { text: 'Reviews', link: {name: 'Testimonials'} },\r\n { text: 'Calculators', link: {name: 'Calculators'} }\r\n ]\r\n },\r\n {\r\n title: 'Get in touch with us',\r\n imageAlias: 'image-home-get-in-touch-with-us',\r\n links: [\r\n { text: 'Request a quote from us', link: {name: 'RequestQuote'} },\r\n { text: 'Find a store', link: {name: 'StoreLocator'} },\r\n { text: 'Get a Hi-Q Fleet Account', link: {name: 'GetAHiqCompanyAccount'} },\r\n { text: 'Become a Hi-Q franchise', link: {name: 'BecomeAFranchise'} },\r\n { text: 'Contact us', link: {name: 'Contact'} }\r\n ]\r\n },\r\n // {\r\n // title: 'View our promotions',\r\n // imageAlias: 'image-home-view-our-promotions',\r\n // links: [\r\n // { text: 'Latest promotions', link: {name: 'Promotions'} }\r\n // ]\r\n // },\r\n {\r\n title: 'Request a quote from us',\r\n imageAlias: 'image-home-get-a-quote-from-us',\r\n links: [\r\n { text: 'Request a quote from us', link: {name: 'RequestQuote'} },\r\n { text: 'Contact us', link: {name: 'Contact'} }\r\n ]\r\n }\r\n ]);\r\n\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n let displayPopup: Ref<boolean> = ref(false);\r\n let popup: Ref<popupObj | undefined> = ref(undefined);\r\n\r\n onMounted(async () => {\r\n await getPopup(ApolloClient).then((res: any) => {\r\n if (res && sessionStorage.getItem(\"homepopup\") != res.displayText) {\r\n popup.value = res as popupObj;\r\n displayPopup.value = true;\r\n sessionStorage.setItem(\"homepopup\", res.displayText)\r\n }\r\n });\r\n });\r\n\r\n function tyreSearchChange (resp: TyreSearchObj) {\r\n if (resp.search.hasOwnProperty(\"manufacturer\")) {\r\n gtmDatalayerEvent(\"search_by_vehicle\", resp.search);\r\n }\r\n else {\r\n gtmDatalayerEvent(\"search_by_size\", resp.search);\r\n }\r\n\r\n let rangeRoute: RouteLocationRaw = { name: 'TyreRange', params: { size: Object.values(resp.params).join(\"-\") } };\r\n if (resp.query) {\r\n if (resp.query.isImperial == \"false\") {\r\n delete resp.query.isImperial;\r\n }\r\n if (Object.keys(resp.query).length !== 0) {\r\n rangeRoute.query = { ...resp.query };\r\n }\r\n }\r\n router.push(rangeRoute);\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_el_dialog, {\n class: \"promo-popup\",\n modelValue: _unref(displayPopup),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(displayPopup) ? (displayPopup).value = $event : displayPopup = $event))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: \"dialog-content\",\n innerHTML: _unref(MarkdownMediaSrcReplace)(_unref(popup)?.content.html)\n }, null, 8, _hoisted_1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(PopupBanner),\n _createVNode(HomeBanner, { style: {\"z-index\":\"0\"} }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(MainContainer, { class: \"intro-links\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_router_link, {\n to: { name: 'TyreResources' },\n class: \"text-center wow fadeInDown\",\n \"data-wow-delay\": \".8s\"\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _hoisted_6\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n to: { name: 'DecisionTree' },\n class: \"text-center wow fadeInDown\",\n \"data-wow-delay\": \".92s\"\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _hoisted_9\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(TyreSearch, {\n class: \"bg-primary wow fadeIn\",\n \"data-wow-delay\": \"1.2s\",\n onSearch: tyreSearchChange\n })\n ]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(serviceLinks.value, (block, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `service-${index}`,\n class: \"col-12 col-sm-11 col-md-5 col-lg-6 col-xl-4 display-relative overflow-hidden mb-4 py-3 wow fadeInDown\",\n \"data-wow-delay\": `${.2 * (index%3)}s`\n }, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(Image, {\n class: \"service-thumbnail\",\n alias: block.imageAlias\n }, null, 8, [\"alias\"])\n ]),\n _createElementVNode(\"h3\", _hoisted_14, [\n _createElementVNode(\"i\", null, _toDisplayString(block.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(block.links, (link, index) => {\n return (_openBlock(), _createElementBlock(\"div\", { key: index }, [\n _createVNode(_component_router_link, {\n to: link.link\n }, {\n default: _withCtx(() => [\n _hoisted_16,\n _createElementVNode(\"span\", null, _toDisplayString(link.text), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]))\n }), 128))\n ])\n ], 8, _hoisted_12))\n }), 128)),\n _hoisted_17,\n _hoisted_18\n ])\n ]),\n _: 1\n }),\n _createVNode(Banner, {\n alias: \"banner-home-testimonial-header\",\n maxHeight: 460,\n isPageTitle: false,\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, null, {\n default: _withCtx(() => [\n _createVNode(Testimonials, {\n class: \"my-5 py-5\",\n \"fade-delay\": .55\n })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./HomeView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HomeView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./HomeView.vue?vue&type=style&index=0&id=18dfca93&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-18dfca93\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-08bcd3c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"py-4 h-100\" }\nconst _hoisted_2 = { class: \"learn-more position-relative h-100\" }\nconst _hoisted_3 = { class: \"my-3\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"h4 mb-2 learn-more-title text-primary d-block mb-0\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"h6 learn-more-subtitle text-dark fw-normal\"\n}\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"btn btn-secondary d-inline-block\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import Image from '@/components/general/Image.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'LearnMoreBlock',\n props: {\r\n title: { type: String, default: '' },\r\n subtitle: { type: String, default: '' },\r\n image: { type: String, default: '' },\r\n blurb: { type: String, default: '' },\r\n link: { type: Object, default: {} },\r\n buttonText: { type: String || null, default: 'Learn More' }\r\n },\n setup(__props) {\n\r\n \r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n to: __props.link,\n class: \"d-block h-100 text-decoration-none py-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n (__props.image)\n ? (_openBlock(), _createBlock(Image, {\n key: 0,\n class: \"logo\",\n alias: __props.image\n }, null, 8, [\"alias\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n (__props.title)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_4, _toDisplayString(__props.title), 1))\n : _createCommentVNode(\"\", true),\n (__props.subtitle)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_5, _toDisplayString(__props.subtitle), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n innerHTML: __props.blurb,\n class: \"mb-5\"\n }, null, 8, _hoisted_6),\n (__props.buttonText)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _toDisplayString(__props.buttonText), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"to\"])\n ]))\n}\n}\n\n})","import script from \"./LearnMoreBlock.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LearnMoreBlock.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./LearnMoreBlock.vue?vue&type=style&index=0&id=08bcd3c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-08bcd3c4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-sm-around justify-content-xl-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import LearnMoreBlock from '@/components/general/LearnMoreBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreResourcesView',\n setup(__props) {\n\r\n const resourceList: Ref<any | undefined> = ref([\r\n // {\r\n // title: 'What makes us different',\r\n // image: 'image-resources-thumbnail-what-makes-us-different',\r\n // link: {name: 'WhatMakesUsDifferent'}\r\n // },\r\n {\r\n title: 'Tyre markings',\r\n image: 'image-resources-thumbnail-tyre-markings',\r\n link: {name: 'TyreMarkings'}\r\n },\r\n {\r\n title: 'When to change my tyres',\r\n image: 'image-resources-thumbnail-when-to-change-my-tyres',\r\n link: {name: 'WhenToChangeTyres'}\r\n },\r\n // {\r\n // title: 'Where can I go?',\r\n // image: 'image-resources-thumbnail-where-can-i-go',\r\n // link: {name: 'WhereCanIGo'}\r\n // },\r\n {\r\n title: 'Which tyres fit my car?',\r\n image: 'image-resources-thumbnail-what-tyres-are-right-for-my-car',\r\n link: {name: 'WhatTyresAreRight'}\r\n },\r\n {\r\n title: 'Which tyres fit my lifestyle?',\r\n image: 'image-resources-thumbnail-what-tyres-fit-my-lifestyle',\r\n link: {name: 'WhatTyresFitMyLifestyle'}\r\n },\r\n {\r\n title: 'Tyre services',\r\n image: 'image-resources-thumbnail-other-products-and-services',\r\n link: {name: 'TyreServices'}\r\n },\r\n {\r\n title: 'What does OE mean?',\r\n image: 'image-resources-thumbnail-what-does-oe-mean',\r\n link: {name: 'WhatDoesOEMean'}\r\n },\r\n {\r\n title: 'Calculators',\r\n image: 'image-resources-thumbnail-calculators',\r\n link: {name: 'Calculators'}\r\n },\r\n {\r\n title: 'Technical articles',\r\n image: 'image-resources-thumbnail-technical-articles',\r\n link: {name: 'TechnicalArticleList'}\r\n },\r\n {\r\n title: 'Reviews',\r\n image: 'image-resources-thumbnail-testimonials',\r\n link: {name: 'Testimonials'}\r\n }\r\n ])\r\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-tyre-resources\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(resourceList.value, (resource, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-10 col-sm-8 col-md-6 col-lg-5 col-xl-4 col-xxl-3\",\n key: `resource-${index}`\n }, [\n _createVNode(LearnMoreBlock, {\n class: \"wow fadeInLeft\",\n title: resource.title,\n image: resource.image,\n link: resource.link,\n \"data-wow-delay\": `${.8 + (.2 * (index%4))}s`\n }, null, 8, [\"title\", \"image\", \"link\", \"data-wow-delay\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TyreResourcesView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreResourcesView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, normalizeClass as _normalizeClass, renderList as _renderList, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7961fd1c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = {\n class: /*#__PURE__*/_normalizeClass(['content-wrapper col-12 col-lg-8 py-2 py-lg-3'])\n}\nconst _hoisted_3 = { class: \"content-flowpart content-body\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = [\"innerHTML\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"row content-buttons\"\n}\nconst _hoisted_10 = {\n key: 0,\n class: \"col\"\n}\nconst _hoisted_11 = [\"href\", \"target\"]\nconst _hoisted_12 = [\"src\"]\nconst _hoisted_13 = { class: \"image-wrapper col-12 col-lg-4 py-2 py-lg-3\" }\nconst _hoisted_14 = [\"src\"]\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import { CmsBaseUrl } from \"@/utilities\"\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContentBlockFlowpart',\n props: {\r\n alias: {type: String, default: null},\r\n content: {type: Object, default: null},\r\n isPageTitle: {type: Boolean, default: false},\r\n subtitleFirst: {type: Boolean, default: false}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n // NB. keep container vs. container-fluid in mind for wrapper of this component\r\n // NB. NB. images have absolute positioning, make sure this component has some relative positioned parent\r\n \r\n var blockContent: Ref<any | undefined> = ref(undefined)\r\n \r\n function isValidLink (url: String) {\r\n return url != null && url != \"\"\r\n }\r\n \r\n function isExternalLink (url: String) {\r\n return [\"http\", \"mailto-\", \"tel-\"].some(el => url.includes(el))\r\n }\r\n \r\n function isAnchorLink (url: String) {\r\n return url.includes('http')\r\n }\r\n \r\n function formatContactLink (url: String) {\r\n return url.replaceAll(\"mailto-\", \"mailto:\").replaceAll(\"tel-\", \"tel:\")\r\n }\r\n\r\n function getHtmlContent() {\r\n if(blockContent.value.markdownBody) {\r\n return blockContent.value.markdownBody.html.replaceAll(\"src=\\\"/media/\" , `class=\\\"img-fluid\\\" src=\\\"${CmsBaseUrl()}/media/`)\r\n }\r\n }\r\n\r\n onMounted(async () => {\r\n if(props.content != null) {\r\n blockContent.value = props.content\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(blockContent))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(['row align-items-center justify-content-center', {'justify-content-lg-end': _unref(blockContent).imagePosition == '-left'}, {'justify-content-lg-start': _unref(blockContent).imagePosition == '-right'}])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_unref(blockContent).displayText || _unref(blockContent).contentBlockSubtitle)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(['content-title', {'subtitle-first': __props.subtitleFirst}])\n }, [\n (_unref(blockContent).displayText)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (__props.isPageTitle)\n ? (_openBlock(), _createElementBlock(\"h1\", _hoisted_4, _toDisplayString(_unref(blockContent).displayText), 1))\n : (_openBlock(), _createElementBlock(\"h2\", _hoisted_5, _toDisplayString(_unref(blockContent).displayText), 1))\n ], 64))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).contentBlockSubtitle)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (__props.isPageTitle)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_6, _toDisplayString(_unref(blockContent).contentBlockSubtitle), 1))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_7, _toDisplayString(_unref(blockContent).contentBlockSubtitle), 1))\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).markdownBody.html)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n innerHTML: getHtmlContent(),\n class: \"mb-4\"\n }, null, 8, _hoisted_8))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).additionalContent && _unref(blockContent).additionalContent.contentItems)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 2 }, _renderList(_unref(blockContent).additionalContent.contentItems, (content) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (content.__typename == 'Buttons')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(content.buttonList.contentItems, (buttons, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (isValidLink(buttons.linkMenuItem.url))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (isAnchorLink(buttons.linkMenuItem.url))\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: formatContactLink(buttons.linkMenuItem.url),\n class: \"btn btn-outline-dark text-uppercase rounded-0 py-2 d-flex align-items-center justify-content-center\",\n target: isExternalLink(buttons.linkMenuItem.url) ? '_blank' : ''\n }, _toDisplayString(buttons.linkMenuItem.name), 9, _hoisted_11))\n : (_openBlock(), _createBlock(_component_router_link, {\n key: 1,\n to: buttons.linkMenuItem.url,\n class: \"btn btn-outline-dark text-uppercase rounded-0 py-2 d-flex align-items-center justify-content-center\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(buttons.linkMenuItem.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"]))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ]))\n : (content.__typename == 'Image' && content.image.urls && content.image.urls.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass(['content-images d-flex justify-content-center justify-content-lg-start', {'order-lg-1': _unref(blockContent).imagePosition == '-right'}])\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(content.image.urls, (image, index) => {\n return (_openBlock(), _createElementBlock(\"img\", {\n class: \"img-fluid\",\n src: _unref(CmsBaseUrl)() + image,\n alt: \"\"\n }, null, 8, _hoisted_12))\n }), 256))\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n (_unref(blockContent).image.urls.length>0)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _unref(CmsBaseUrl)() + _unref(blockContent).image.urls[0],\n class: _normalizeClass([`content-block-image content-block-image${_unref(blockContent).imagePosition} img-fluid`])\n }, null, 10, _hoisted_14))\n : _createCommentVNode(\"\", true)\n ])\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ContentBlockFlowpart.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContentBlockFlowpart.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ContentBlockFlowpart.vue?vue&type=style&index=0&id=7961fd1c&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7961fd1c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-230a0c3f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: /*#__PURE__*/_normalizeClass(['content-title'])\n}\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"row content-buttons\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"col\"\n}\nconst _hoisted_5 = [\"href\", \"target\"]\nconst _hoisted_6 = {\n key: 1,\n class: \"content-images\"\n}\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = {\n key: 2,\n class: \"position-relative content-block\"\n}\nconst _hoisted_9 = { key: 3 }\nconst _hoisted_10 = [\"src\"]\n\nimport ContentBlockFlowpart from \"@/components/general/ContentBlockFlowpart.vue\"\r\n import { ref, Ref, onMounted, watch } from \"vue\"\r\n import { CmsBaseUrl } from \"@/utilities\"\r\n import { getContentBlock } from \"@/utilities/graphql\"\r\n import { contentBlockObj } from '@/utilities/graphql/contentblock'\r\n import { useApolloClient } from '@vue/apollo-composable'\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContentBlock',\n props: {\r\n alias: {type: String, default: null},\r\n content: {type: Object, default: null},\r\n isPageTitle: {type: Boolean, default: false}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n var blockContent: Ref<any | undefined> = ref(undefined)\r\n const { resolveClient } = useApolloClient()\r\n const ApolloClient = resolveClient()\r\n \r\n function isValidLink (url: String) {\r\n return url != null && url != \"\"\r\n }\r\n \r\n function isExternalLink (url: String) {\r\n return [\"http\", \"mailto-\", \"tel-\"].some(el => url.includes(el))\r\n }\r\n \r\n function isAnchorLink (url: String) {\r\n return url.includes('http')\r\n }\r\n \r\n function formatContactLink (url: String) {\r\n return url.replaceAll(\"mailto-\", \"mailto:\").replaceAll(\"tel-\", \"tel:\")\r\n }\r\n\r\n function getHtmlContent() {\r\n if(blockContent.value.markdownBody) {\r\n return blockContent.value.markdownBody.html.replaceAll(\"src=\\\"/media/\" , `class=\\\"img-fluid\\\" src=\\\"${CmsBaseUrl()}/media/`)\r\n }\r\n }\r\n\r\n async function loadInitail() {\r\n if(props.alias != null) {\r\n await getContentBlock(ApolloClient, props.alias).then(res => {\r\n blockContent.value = res as contentBlockObj\r\n });\r\n }\r\n else if(props.content != null) {\r\n blockContent.value = props.content\r\n }\r\n }\r\n\r\n onMounted(async () => {\r\n await loadInitail();\r\n })\r\n\r\n watch(props, async () => {\r\n await loadInitail();\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(['content-body', __props.alias ? __props.alias + '-content' : ''])\n }, [\n (_unref(blockContent))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (_unref(blockContent).contentBlockTitle || _unref(blockContent).contentBlockSubtitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(blockContent).contentBlockTitle)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(__props.isPageTitle ? 'h1' : 'h2'), { key: 0 }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(blockContent).contentBlockTitle), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).contentBlockSubtitle)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(__props.isPageTitle ? 'h2' : 'h3'), { key: 1 }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(blockContent).contentBlockSubtitle), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).markdownBody.html)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n innerHTML: getHtmlContent(),\n class: \"mb-4\"\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (_unref(blockContent).additionalContent && _unref(blockContent).additionalContent.contentItems)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 2 }, _renderList(_unref(blockContent).additionalContent.contentItems, (content) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (content.__typename == 'Buttons')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(content.additionalContent.contentItems, (buttons, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (isValidLink(buttons.linkMenuItem.url))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (isAnchorLink(buttons.linkMenuItem.url))\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: formatContactLink(buttons.linkMenuItem.url),\n class: \"btn btn-primary rounded-pill py-2 px-4 me-4\",\n target: isExternalLink(buttons.linkMenuItem.url) ? '_blank' : ''\n }, _toDisplayString(buttons.linkMenuItem.name), 9, _hoisted_5))\n : (_openBlock(), _createBlock(_component_router_link, {\n key: 1,\n to: buttons.linkMenuItem.url,\n class: \"btn btn-primary rounded-pill py-2 px-4 me-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(buttons.linkMenuItem.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"]))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ]))\n : (content.__typename == 'Image' && content.image.urls && content.image.urls.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(content.image.urls, (image, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (content.image.urls != '')\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-fluid\",\n src: _unref(CmsBaseUrl)() + image,\n alt: \"\"\n }, null, 8, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ]))\n : (content.__typename == 'ContentBlockFlowpart' && content.markdownBody.html)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(ContentBlockFlowpart, { content: content }, null, 8, [\"content\"])\n ]))\n : (content.__typename == 'iFrame' && content.embedURL)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"iframe\", {\n src: content.embedURL,\n class: \"case-study-iframe\"\n }, null, 8, _hoisted_10)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./ContentBlock.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContentBlock.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ContentBlock.vue?vue&type=style&index=0&id=230a0c3f&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-230a0c3f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhenToChangeTyresView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-when-to-change-my-tyres\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"when-to-change-my-tyres\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-when-to-change-my-tyres\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhenToChangeTyresView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhenToChangeTyresView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-sm-6 col-md-4 col-xl-3 mb-4 text-center\" }\nconst _hoisted_3 = { class: \"col-12 col-sm-6 col-md-4 col-xl-3 mb-4 text-center\" }\nconst _hoisted_4 = { class: \"col-12 col-sm-6 col-md-4 col-xl-3 mb-4 text-center\" }\nconst _hoisted_5 = { class: \"col-12 col-sm-6 col-md-4 col-xl-3 mb-4 text-center\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhatTyresAreRightView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-what-tyres-are-right-for-my-car\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"what-tyres-are-right-for-my-car\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Image, {\n alias: \"image-what-tyres-are-right-for-my-car-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-what-tyres-are-right-for-my-car-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Image, {\n alias: \"image-what-tyres-are-right-for-my-car-3\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(Image, {\n alias: \"image-what-tyres-are-right-for-my-car-4\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhatTyresAreRightView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhatTyresAreRightView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between mb-5\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\nconst _hoisted_4 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_5 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8 order-md-1\" }\nconst _hoisted_6 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhatDoesOEMeanView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-what-does-oe-mean\" }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"what-does-oe-mean-intro\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"what-does-oe-mean-segment-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-what-does-oe-mean-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(ContentBlock, {\n alias: \"what-does-oe-mean-segment-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(Image, {\n alias: \"image-what-does-oe-mean-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhatDoesOEMeanView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhatDoesOEMeanView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\nconst _hoisted_4 = { class: \"row justify-content-center justify-content-md-between mt-5\" }\nconst _hoisted_5 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\nconst _hoisted_6 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_7 = { class: \"row justify-content-center justify-content-md-between mt-5\" }\nconst _hoisted_8 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_9 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhatTyresFitMyLifestyleView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-what-tyres-fit-my-lifestyle\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"what-tyres-fit-my-lifestyle-intro\",\n class: \"wow fadeInDown what-tyres-fit-my-lifestyle-intro\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"what-tyres-fit-my-lifestyle-segment-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".75s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-what-tyres-fit-my-lifestyle-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".88s\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(Image, {\n alias: \"image-what-tyres-fit-my-lifestyle-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".88s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(ContentBlock, {\n alias: \"what-tyres-fit-my-lifestyle-segment-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".75s\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(ContentBlock, {\n alias: \"what-tyres-fit-my-lifestyle-segment-3\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".75s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(Image, {\n alias: \"image-what-tyres-fit-my-lifestyle-3\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".88s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhatTyresFitMyLifestyleView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhatTyresFitMyLifestyleView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, isRef as _isRef, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-093eb202\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"TyreSearch\",\n class: \"tyre-search text-white bg-primary py-5 px-3 px-lg-5 my-5\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-secondary\" }, \"Calculate my tyre overall diameter\", -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-secondary border-2\" }, null, -1))\nconst _hoisted_4 = { class: \"col-12\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"fw-normal text-light\" }, \"get imperial tyre sizes\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"white-space\":\"pre\",\"text-wrap\":\"pretty\",\"max-width\":\"450px\"} }, \"Imperial tyre sizes are measured using inches and denote tyre width, aspect ratio, and diameter.\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-info-circle d-md-inline ms-auto pointer mb-1\",\n style: {\"position\":\"relative\",\"top\":\"-3px\"}\n}, null, -1))\nconst _hoisted_8 = { class: \"my-4\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-white border-2\" }, null, -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-white border-2\" }, null, -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-secondary mb-3\" }, \"Find comparable tyres\", -1))\nconst _hoisted_12 = {\n class: \"text-white mb-15\",\n style: {\"line-height\":\"32px\"}\n}\nconst _hoisted_13 = [\"disabled\"]\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"fw-bold text-capitalize\" }, \"Calculate\", -1))\nconst _hoisted_15 = [\n _hoisted_14\n]\nconst _hoisted_16 = {\n key: 0,\n class: \"my-5\"\n}\nconst _hoisted_17 = { class: \"table-responsive\" }\nconst _hoisted_18 = { class: \"w-100\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", null, [\n /*#__PURE__*/_createElementVNode(\"tr\", { class: \"text-white bg-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"th\", null, \"Results\"),\n /*#__PURE__*/_createElementVNode(\"th\", { class: \"text-end\" }, \"Current Tyre Size\")\n ])\n], -1))\nconst _hoisted_20 = { class: \"bg-white\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, \"Overall rolling diameter measurement\", -1))\nconst _hoisted_22 = { class: \"py-1 text-end\" }\nconst _hoisted_23 = { class: \"bg-white\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, \"Sidewall height\", -1))\nconst _hoisted_25 = { class: \"py-1 text-end\" }\nconst _hoisted_26 = { class: \"bg-white\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, \"Circumference\", -1))\nconst _hoisted_28 = { class: \"py-1 text-end\" }\nconst _hoisted_29 = { class: \"text-primary bg-disabled\" }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", { class: \"py-2 fw-bold\" }, \"OD tolerance / differential\", -1))\nconst _hoisted_31 = { class: \"py-2 text-end\" }\nconst _hoisted_32 = { class: \"h4 mb-1\" }\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", null, \"variance\", -1))\nconst _hoisted_34 = { class: \"my-4 pt-2\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"h4 mb-3\" }, \"View tyres and pricing for this size\", -1))\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"fw-bold text-capitalize\" }, \"Browse Tyre Range\", -1))\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-dark border-2 mt-5\" }, null, -1))\nconst _hoisted_38 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_39 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_40 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\n\nimport { ref, Ref, onMounted, watch } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { listAspectRatio, listRimSize } from \"@/utilities/productProps\";\r\n import { getTyreSectionWidths } from \"@/api-calls/tyres\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import type { CheckboxValueType } from \"element-plus\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'CalculatorsView',\n setup(__props) {\n\r\n onMounted(async () => {\r\n miscStore.isLoading = true;\r\n sectionWidthDdl.value = (await getTyreSectionWidths(1, 99999)).data;\r\n miscStore.isLoading = false;\r\n })\r\n\r\n const inchesToMillimeters: Ref<number> = ref(25.4);\r\n let tyreDiameter: Ref<number> = ref(0);\r\n let odTolerance: Ref<number | null> = ref(null);\r\n let resultError: Ref<string> = ref('');\r\n let diameterMin: Ref<number | null> = ref(null);\r\n let diameterMax: Ref<number | null> = ref(null);\r\n let isImperial = ref(false);\r\n let currentTyre: Ref<any> = ref({\r\n sectionWidth: ref(null),\r\n aspectRatio: ref(null),\r\n rimSize: ref(null),\r\n overallDiameter: ref(0),\r\n sidewall: ref(null),\r\n circumference: ref(null)\r\n });\r\n\r\n const miscStore = useMiscStore();\r\n let sectionWidthDdl: Ref<string[]> = ref([]);\r\n let aspectRatioDdl: Ref<string[]> = ref([]);\r\n let rimSizeDdl: Ref<string[]> = ref([]);\r\n\r\n async function imperialToggle (value: CheckboxValueType) {\r\n isImperial.value = value as boolean;\r\n currentTyre.value.sectionWidth = undefined;\r\n miscStore.isLoading = true;\r\n sectionWidthDdl.value = (await getTyreSectionWidths(1, 99999, isImperial.value)).data;\r\n miscStore.isLoading = false;\r\n }\r\n\r\n watch(getSectionWidth, (change) => {\r\n if(!change) {\r\n currentTyre.value.aspectRatio = null\r\n }\r\n })\r\n\r\n watch(getAspectRatio, (change) => {\r\n if(!change) {\r\n currentTyre.value.rimSize = null\r\n }\r\n })\r\n\r\n watch(getRimSize, (change) => {\r\n if(!change) {\r\n // reset the forms\r\n }\r\n })\r\n\r\n function getSectionWidth() {\r\n return currentTyre.value.sectionWidth;\r\n }\r\n\r\n function getAspectRatio() {\r\n return currentTyre.value.aspectRatio;\r\n }\r\n\r\n function getRimSize() {\r\n return currentTyre.value.rimSize;\r\n }\r\n\r\n async function fetchAspectRatio() {\r\n currentTyre.value.aspectRatio = undefined;\r\n currentTyre.value.rimSize = undefined;\r\n\r\n aspectRatioDdl.value = await listAspectRatio(currentTyre.value.sectionWidth);\r\n if(aspectRatioDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"aspectRatio\")?.focus();\r\n document.getElementById(\"aspectRatio\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function fetchRimSize() {\r\n currentTyre.value.rimSize = undefined;\r\n \r\n rimSizeDdl.value = await listRimSize(currentTyre.value.aspectRatio, currentTyre.value.sectionWidth);\r\n if(rimSizeDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"rimSize\")?.focus();\r\n document.getElementById(\"rimSize\")?.click();\r\n }, 0);\r\n }\r\n }\r\n\r\n async function rimSizeUpdate() {\r\n if (!getSectionWidth() || !getAspectRatio() || !getRimSize()) {\r\n // reset the forms\r\n tyreDiameter.value = 0;\r\n return 0;\r\n }\r\n \r\n currentTyre.value.sidewall = GetSidewall().toFixed(2);\r\n currentTyre.value.overallDiameter = GetOverallDiameter().toFixed(2);\r\n }\r\n\r\n function GetSidewall() {\r\n const width = getSectionWidth();\r\n const ratio = getAspectRatio() / 100;\r\n\r\n return width * ratio;\r\n }\r\n\r\n function GetOverallDiameter() {\r\n const rim = getRimSize() * inchesToMillimeters.value;\r\n if (isImperial.value) {\r\n // TODO: make sure the calculator works accordingly between imperial and metric formats\r\n //https://i.ytimg.com/vi/O6QqdqFjc-E/sddefault.jpg\r\n //in imperial size, the first value is the OD\r\n const width = getSectionWidth() * inchesToMillimeters.value;\r\n const ratio = getAspectRatio() / 100;\r\n return (width*ratio)*2 + rim;\r\n }\r\n else {\r\n //https://www.tirerack.com/upgrade-garage/how-do-i-calculate-tire-dimensions\r\n return currentTyre.value.sidewall * 2 + rim;\r\n }\r\n }\r\n\r\n async function GetTyreODComparable() {\r\n var variance = Number(odTolerance.value);\r\n var size = getSectionWidth() + '/' + getAspectRatio() + 'R' + getRimSize();\r\n\r\n if (!getRimSize() || variance < 0) {\r\n resultError.value = `<div class=\"alert alert-info text-left\">Please fill in both your current tyre and tolerance variance</div>`;\r\n return false;\r\n }\r\n \r\n diameterMin.value = Number((currentTyre.value.overallDiameter * ((100 - variance) / 100)).toFixed(2));\r\n diameterMax.value = Number((currentTyre.value.overallDiameter * ((100 + variance) / 100)).toFixed(2));\r\n\r\n currentTyre.value.circumference = ((2*Math.PI) * (currentTyre.value.overallDiameter / 2)).toFixed(2);\r\n\r\n calculatorEvent();\r\n }\r\n\r\n function calculatorEvent() {\r\n const event = {\r\n section_width: getSectionWidth(),\r\n aspect_ratio: getAspectRatio(),\r\n rim_size: getRimSize()\r\n };\r\n gtmDatalayerEvent(\"calculate_tyre_diameter\", event);\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-calculators\" }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"calculator-intro\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".55s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _hoisted_3,\n _createVNode(_component_el_form, {\n ref: \"TyreSizeForm\",\n class: \"row my-3\",\n model: _unref(currentTyre),\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_checkbox, {\n class: \"my-1 me-3\",\n name: \"isImperial\",\n \"v-model\": _unref(isImperial),\n onChange: _cache[0] || (_cache[0] = value => imperialToggle(value)),\n border: \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"v-model\"]),\n _createVNode(_component_el_tooltip, {\n width: 500,\n trigger: \"hover\",\n effect: \"light\",\n \"raw-content\": \"\"\n }, {\n content: _withCtx(() => [\n _hoisted_6\n ]),\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-4 my-3\",\n prop: \"sectionWidth\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"sectionWidth\",\n onChange: fetchAspectRatio,\n modelValue: _unref(currentTyre).sectionWidth,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(currentTyre).sectionWidth) = $event)),\n id: \"sectionWidth\",\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Select a tyre size\",\n loading: _unref(miscStore).isLoading && !_unref(sectionWidthDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sectionWidthDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `section-width-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-4 my-3\",\n prop: \"aspectRatio\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"aspectRatio\",\n onChange: fetchRimSize,\n modelValue: _unref(currentTyre).aspectRatio,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(currentTyre).aspectRatio) = $event)),\n id: \"aspectRatio\",\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentTyre).sectionWidth,\n placeholder: \"Select a aspect ratio\",\n loading: _unref(miscStore).isLoading && !_unref(aspectRatioDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(aspectRatioDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `aspect-ratio-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-4 my-3\",\n prop: \"rimSize\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"rimSize\",\n onChange: rimSizeUpdate,\n modelValue: _unref(currentTyre).rimSize,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(currentTyre).rimSize) = $event)),\n id: \"rimSize\",\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentTyre).aspectRatio,\n placeholder: \"Select a rim size\",\n loading: _unref(miscStore).isLoading && !_unref(rimSizeDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rimSizeDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `rim-size-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\"]),\n (_unref(currentTyre).rimSize)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"b\", null, \"Your overall diameter is: \" + _toDisplayString(_unref(currentTyre).overallDiameter) + \" mm\", 1),\n _hoisted_10\n ]),\n _hoisted_11,\n _createVNode(_component_el_form, {\n ref: \"TyreSizeForm\",\n class: \"row my-3\",\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_12, [\n _createTextVNode(\" Allow for tolerance of up to \"),\n _createVNode(_component_el_form_item, {\n class: \"d-inline-block col-md-2 mx-1\",\n prop: \"rimSize\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n class: \"px-2\",\n name: \"odTolerance\",\n type: \"number\",\n modelValue: _unref(odTolerance),\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_isRef(odTolerance) ? (odTolerance).value = $event : odTolerance = $event)),\n min: \"0\",\n clearable: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createTextVNode(\" % variance \")\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"btn btn-secondary\",\n onClick: GetTyreODComparable,\n disabled: !_unref(odTolerance)\n }, _hoisted_15, 8, _hoisted_13)\n ])\n ]),\n _: 1\n }, 512)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(currentTyre).circumference)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"table\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"tbody\", null, [\n _createElementVNode(\"tr\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"td\", _hoisted_22, _toDisplayString(_unref(currentTyre).overallDiameter) + \" mm\", 1)\n ]),\n _createElementVNode(\"tr\", _hoisted_23, [\n _hoisted_24,\n _createElementVNode(\"td\", _hoisted_25, _toDisplayString(_unref(currentTyre).sidewall) + \" mm\", 1)\n ]),\n _createElementVNode(\"tr\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"td\", _hoisted_28, _toDisplayString(_unref(currentTyre).circumference) + \" mm\", 1)\n ]),\n _createElementVNode(\"tr\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"td\", _hoisted_31, [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_unref(odTolerance)) + \"%\", 1),\n _hoisted_33\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_router_link, {\n class: \"btn btn-outline-primary\",\n to: {\r\n name: 'TyreRange',\r\n params: {\r\n size: getSectionWidth() + '-' + getAspectRatio() + '-' + getRimSize()\r\n },\r\n query: {\r\n minOD: _unref(diameterMin),\r\n maxOD: _unref(diameterMax)\r\n }\r\n }\n }, {\n default: _withCtx(() => [\n _hoisted_36\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ]),\n _hoisted_37\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(ContentBlock, {\n alias: \"calculator-copy\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, [\n _createVNode(ContentBlock, {\n alias: \"calculator-copy-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode(Image, {\n alias: \"image-calculator-copy-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".8s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./CalculatorsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CalculatorsView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CalculatorsView.vue?vue&type=style&index=0&id=093eb202&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-093eb202\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h2\", {\n class: \"pt-4 wow fadeInDown\",\n \"data-wow-delay\": \".85s\",\n \"data-wow-duration\": \".8s\"\n}, \" Our essential tyre services \", -1)\nconst _hoisted_2 = { class: \"row justify-content-center justify-content-sm-around justify-content-xl-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import LearnMoreBlock from '@/components/general/LearnMoreBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreServicesView',\n setup(__props) {\n\r\n const productsServicesList: Ref<any | undefined> = ref([\r\n {\r\n title: 'Wheel balancing',\r\n subtitle: 'If you\\'ve ever driven a car with a steering wheel shudder, then you\\'ll know the feeling of unbalanced wheels. Rather unnerving and uncomfortable to say the least.',\r\n image: 'image-products-and-services-wheel-balancing-thumbnail',\r\n link: {name: 'WheelBalancing'}\r\n },\r\n {\r\n title: 'Wheel alignment',\r\n subtitle: 'Ever wondered why your tyres are wearing unevenly across the width of the tread? If so, this could be the result of bad wheel alignment.',\r\n image: 'image-products-and-services-wheel-alignment-thumbnail',\r\n link: {name: 'WheelAlignment'}\r\n },\r\n {\r\n title: 'Wheel rotation',\r\n subtitle: 'Ever wondered why only your two front or two back tyres seem to wear down so quickly? Welcome to tyre rotation.',\r\n image: 'image-products-and-services-wheel-rotation-thumbnail',\r\n link: {name: 'WheelRotation'}\r\n },\r\n {\r\n title: 'Tyre repairs',\r\n subtitle: 'Appreciate the benefit of a Hi-Q tyre store, who can quickly and expertly carry out repairs and get you back on the road.',\r\n image: 'image-products-and-services-tyre-repairs-thumbnail',\r\n link: {name: 'TyreRepairs'}\r\n }\r\n ])\r\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-other-products-and-services\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"other-products-and-services-intro\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(productsServicesList.value, (productsServices, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-10 col-sm-8 col-md-6 col-lg-5 col-xl-4 col-xxl-3\",\n key: `products-services-${index}`\n }, [\n _createVNode(LearnMoreBlock, {\n class: \"wow fadeInLeft\",\n title: productsServices.title,\n subtitle: productsServices.subtitle,\n image: productsServices.image,\n link: productsServices.link,\n \"data-wow-delay\": `${.8 + (.2 * index)}s`\n }, null, 8, [\"title\", \"subtitle\", \"image\", \"link\", \"data-wow-delay\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TyreServicesView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreServicesView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Testimonials from '@/components/general/Testimonials.vue';\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TestimonialsView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-testimonials\" }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"testimonials-intro\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".65s\"\n }),\n _createVNode(Testimonials, { class: \"my-3 py-3\" })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TestimonialsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TestimonialsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhatMakesUsDifferentView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-what-makes-us-different\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"what-makes-us-different\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-what-makes-us-different\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhatMakesUsDifferentView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhatMakesUsDifferentView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreMarkingsView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-tyre-markings\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"tyre-markings-intro\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"tyre-markings\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".8s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-tyre-markings\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".95s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TyreMarkingsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreMarkingsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WhereCanIGoView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-where-can-i-go\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"where-can-i-go\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-where-can-i-go\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WhereCanIGoView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WhereCanIGoView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, vModelSelect as _vModelSelect, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, createBlock as _createBlock, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7ea6ec2f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"tyre-search-filters-container\" }\nconst _hoisted_2 = { class: \"col-12 d-flex align-items-center justify-content-between\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h5 m-0 fw-light text-white\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Filters\")\n], -1))\nconst _hoisted_4 = {\n key: 0,\n class: \"arrow-icon\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\",\n \"data-v-ea893728\": \"\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"path\", {\n fill: \"white\",\n d: \"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z\"\n}, null, -1))\nconst _hoisted_6 = [\n _hoisted_5\n]\nconst _hoisted_7 = {\n key: 1,\n class: \"arrow-icon\",\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\",\n \"data-v-ea893728\": \"\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"path\", {\n fill: \"white\",\n d: \"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z\"\n}, null, -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\nconst _hoisted_10 = {\n key: 0,\n class: \"filters p-3\"\n}\nconst _hoisted_11 = { class: \"mb-3 mb-md-4\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h4 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Sort by\")\n], -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"option\", {\n label: \"Most Popular\",\n value: \"\"\n}, null, -1))\nconst _hoisted_14 = [\"value\"]\nconst _hoisted_15 = {\n key: 0,\n class: \"mb-3 mb-md-4\"\n}\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h4 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Price\")\n], -1))\nconst _hoisted_17 = { class: \"px-2\" }\nconst _hoisted_18 = { class: \"mb-3 mb-md-4\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h4 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"General\")\n], -1))\nconst _hoisted_20 = {\n key: 1,\n class: \"mb-3 mb-md-4\"\n}\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h4 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Brand\")\n], -1))\nconst _hoisted_22 = { class: \"mb-3 mb-md-4\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h4 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Tyre type\")\n], -1))\n\nimport { TyreRangeFilterValues } from '@/api-calls/tyres';\r\nimport { TyreBrandListViewModel, TyreCategoryListViewModel } from '@/api-client';\r\nimport { useRoute } from \"vue-router\";\r\nimport { Ref, computed, onBeforeMount, onMounted, reactive, ref, watch } from 'vue';\r\nimport { getTyreBrands, getTyreCatergories } from \"@/api-calls/tyres\";\r\nimport { useMiscStore } from \"@/stores/misc\";\r\nimport { scrollTop, isQTEnabled } from \"@/utilities\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreSearchFilters',\n props: {\n isPricing: { type: Boolean }\n },\n emits: [\"filter\", \"brand-change\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nlet tyreBrandsDdl: Ref<TyreBrandListViewModel[]> = ref([ ]);\r\nlet tyreTypesDdl: Ref<TyreCategoryListViewModel[]> = ref([ ]);\r\nlet orderByFields = [\r\n { id: \"brand-Ascending\",\r\n name: \"Brand: A - Z\"\r\n },\r\n { id: \"brand-Descending\",\r\n name: \"Brand: Z - A\"\r\n },\r\n]\r\nconst minPrice = ref(0)\r\nconst maxPrice = ref(15000)\r\nlet filterValues: Ref<TyreRangeFilterValues> = ref({\r\n orderByField: \"\",\r\n isRunFlat: false,\r\n tyrePrice: [minPrice.value, maxPrice.value],\r\n tyreBrands: [],\r\n tyreTypes: []\r\n})\r\nlet showFilters = ref(false)\r\nlet displayFilters = ref(false)\r\n\r\nconst marks = reactive<any>({\r\n 0: `R${minPrice.value}`,\r\n 7500: `R${maxPrice.value/2}`,\r\n 15000: `R${maxPrice.value}`\r\n})\r\n\r\nconst route = useRoute();\r\n\r\nwatch(() => filterValues.value.tyreBrands, async (oldVal, newVal) => {\r\n if (oldVal.length == newVal.length) {\r\n emits(\"filter\", filterValues.value);\r\n }\r\n else {\r\n emits('brand-change', tyreBrandsDdl.value, filterValues.value);\r\n }\r\n})\r\n\r\nconst miscStore = useMiscStore();\r\n\r\nwatch(() => [\r\n filterValues.value.isRunFlat, filterValues.value.orderByField,\r\n filterValues.value.tyreTypes\r\n ],\r\n () => { emits(\"filter\", filterValues.value); })\r\n\r\nfunction priceRangeUpdate () {\r\n emits(\"filter\", filterValues.value);\r\n}\r\n\r\nonBeforeMount(async () => {\r\n miscStore.isLoading = true;\r\n if (isQTEnabled() && props.isPricing) {\r\n orderByFields = [\r\n { id: \"price-Ascending\",\r\n name: \"Price: Low to High\"\r\n },\r\n { id: \"price-Descending\",\r\n name: \"Price: High to Low\"\r\n },\r\n ...orderByFields\r\n ];\r\n }\r\n tyreBrandsDdl.value = (await getTyreBrands(1, 99999)).data;\r\n tyreTypesDdl.value = (await getTyreCatergories(1, 99999)).data;\r\n miscStore.isLoading = false;\r\n getBrandUrl();\r\n});\r\n\r\nfunction getBrandUrl () {\r\n const brandFilter = route.params.brand;\r\n if (brandFilter) {\r\n const brand: TyreBrandListViewModel | undefined = tyreBrandsDdl.value.find((data: TyreBrandListViewModel) => data.slug == brandFilter);\r\n if (brand) {\r\n filterValues.value.tyreBrands = [+brand.id]\r\n }\r\n }\r\n}\r\n\r\nonMounted(() => {\r\n determineFilterVisibility()\r\n window.addEventListener(\"resize\", () => determineFilterVisibility());\r\n})\r\n\r\nfunction toggleFilters() {\r\n showFilters.value = !showFilters.value;\r\n determineFilterVisibility();\r\n if (!showFilters.value) {\r\n const offset = document.querySelector('.product-info .generic-range-tile')?.scrollHeight || 0;\r\n const navOffset = 155;\r\n scrollTop(\".tyre-search-filters-container\", true, offset - navOffset);\r\n setTimeout(() => {\r\n document.getElementById(\"navbar\")?.classList.add(\"navbar-min\");\r\n }, 220);\r\n }\r\n}\r\n\r\nfunction determineFilterVisibility(): void {\r\n const isLargeScreen = window.matchMedia(\"(min-width: 992px)\").matches;\r\n\r\n displayFilters.value = isLargeScreen ? true : showFilters.value;\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_slider = _resolveComponent(\"el-slider\")!\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_checkbox_group = _resolveComponent(\"el-checkbox-group\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: \"filter-title p-3 bg-primary d-block d-lg-none\",\n onClick: toggleFilters\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n (!_unref(showFilters))\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_4, _hoisted_6))\n : (_openBlock(), _createElementBlock(\"svg\", _hoisted_7, _hoisted_9))\n ])\n ]),\n (_unref(displayFilters))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _withDirectives(_createElementVNode(\"select\", {\n class: \"rounded-1 border-light py-1 px-2 w-100\",\n name: \"orderByField\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(filterValues).orderByField) = $event)),\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\"\n }, [\n _hoisted_13,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(orderByFields), (item) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: item.id,\n key: `field-${item.id}`\n }, _toDisplayString(item.name), 9, _hoisted_14))\n }), 128))\n ], 512), [\n [_vModelSelect, _unref(filterValues).orderByField]\n ])\n ]),\n (_ctx.isPricing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_el_slider, {\n onChange: priceRangeUpdate,\n class: \"w-100\",\n step: 100,\n min: minPrice.value,\n max: maxPrice.value,\n modelValue: _unref(filterValues).tyrePrice,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(filterValues).tyrePrice) = $event)),\n range: \"\",\n marks: marks\n }, null, 8, [\"min\", \"max\", \"modelValue\", \"marks\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createVNode(_component_el_checkbox, {\n class: \"d-flex radio-checkbox\",\n modelValue: _unref(filterValues).isRunFlat,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(filterValues).isRunFlat) = $event)),\n label: \"Run flat tyres\",\n size: \"large\"\n }, null, 8, [\"modelValue\"])\n ]),\n (_unref(tyreBrandsDdl).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _hoisted_21,\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(filterValues).tyreBrands,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(filterValues).tyreBrands) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(tyreBrandsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_checkbox, {\n id: 'brand-' + item.slug,\n class: \"d-flex radio-checkbox\",\n label: item.title,\n value: item.id,\n key: `brand-${item.id}`\n }, null, 8, [\"id\", \"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(filterValues).tyreTypes,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(filterValues).tyreTypes) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(tyreTypesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_checkbox, {\n class: \"d-flex radio-checkbox\",\n label: item.title,\n value: item.id,\n key: `type-${item.id}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", {\n class: \"filter-end btn btn-primary sm-btn d-inline d-lg-none\",\n onClick: toggleFilters\n }, \"hide filters\")\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./TyreSearchFilters.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreSearchFilters.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TyreSearchFilters.vue?vue&type=style&index=0&id=7ea6ec2f&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7ea6ec2f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, withModifiers as _withModifiers, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createTextVNode as _createTextVNode, Fragment as _Fragment, normalizeClass as _normalizeClass, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-21368636\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"generic-range-tile col-12\"\n}\nconst _hoisted_2 = { class: \"card-body p-0\" }\nconst _hoisted_3 = { class: \"position-relative d-flex flex-column justify-content-evenly h-100 mx-4\" }\nconst _hoisted_4 = { class: \"d-flex justify-content-center position-relative mt-4 mb-3\" }\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = [\"src\", \"alt\"]\nconst _hoisted_7 = {\n key: 2,\n class: \"warranty-img\"\n}\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = { class: \"d-md-flex\" }\nconst _hoisted_11 = [\"title\"]\nconst _hoisted_12 = [\"innerHTML\"]\nconst _hoisted_13 = [\"title\"]\nconst _hoisted_14 = { class: \"mb-1\" }\nconst _hoisted_15 = { class: \"badge bg-primary my-1 fw-normal fst-italic\" }\nconst _hoisted_16 = [\"title\"]\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", { class: \"d-block d-sm-inline lh-1 my-1\" }, \"from\", -1))\nconst _hoisted_18 = { class: \"h-100 d-flex align-items-center justify-content-center\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Buy Tyres Now\")\n], -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", { class: \"h-100 d-flex align-items-center justify-content-center\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Request a Quote\")\n], -1))\n\nimport { TyreListViewModel, TyreTreadPatternMetaListViewModel } from '@/api-client';\r\nimport type { PropType } from 'vue';\r\nimport { ref, computed } from 'vue';\r\nimport { scrollTop, isQTEnabled, getQTMedia, thousandSeparator, getFallbackTyreImg, thumbnailImageError } from \"@/utilities\";\r\nimport BuyNowIcon from \"@/assets/lottie/buy-now-icon.json\"\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GenericRangeTile',\n props: {\r\n item: { type: Object as PropType<TyreListViewModel> },\r\n index: { type: Number, default: 0 },\r\n isGeneral: { type: Boolean, default: false }\r\n},\n emits: [\"select\", \"qtTyreSelect\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nlet anim = ref();\r\n\r\nconst itemThumbnail = computed(():TyreTreadPatternMetaListViewModel | undefined => {\r\n if (props.item?.tyreTreadPattern) {\r\n return props.item?.tyreTreadPattern.treadPatternMetas.find(meta => meta.treadPatternMetaTypeId.toLowerCase() == 'thumbnail');\r\n }\r\n})\r\n\r\nfunction formatTyreSizeQuery() {\r\n if(!props.isGeneral) {\r\n return {query: { size: props.item?.purchaseUrl.split(\"?size=\")[1]}};\r\n }\r\n return undefined;\r\n}\r\n\r\nfunction warrantyImg(item: any) {\r\n if(item.hasOwnProperty(\"tyreTreadPattern\")) {\r\n var brand = item.tyreTreadPattern.tyreBrand.title;\r\n var category = item.tyreTreadPattern.tyreCategory.parentTyreCategoryTitle;\r\n if (brand && brand == \"Ceat\" && category && category == \"Passenger\") {\r\n return \"/img/ceat-warranty.png\";\r\n }\r\n }\r\n return undefined;\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_lottie = _resolveComponent(\"lottie\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (__props.item)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n class: \"card h-100 shadow-sm\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (emit('select'))),\n to: { name: 'TyreDetail', params: { slug: __props.item.tyreTreadPattern.slug, brand: __props.item.tyreTreadPattern.tyreBrand.slug }, ...formatTyreSizeQuery()}\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (itemThumbnail.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"tile-image img-fluid\",\n src: _unref(getQTMedia)() + itemThumbnail.value.value,\n alt: itemThumbnail.value.title || `${__props.item.title} tyre image`,\n onError: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_unref(thumbnailImageError) && _unref(thumbnailImageError)(...args)))\n }, null, 40, _hoisted_5))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"tile-image img-fluid no-image-data\",\n src: _unref(getFallbackTyreImg)(),\n alt: `${__props.item.title} tyre image`,\n \"data-src-error\": \"thumbnail property missing\"\n }, null, 8, _hoisted_6)),\n (warrantyImg(__props.item) != undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n class: \"img-fluid\",\n src: warrantyImg(__props.item),\n alt: \"Free 1 year tyre damage warranty\"\n }, null, 8, _hoisted_8)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.item.tyreTreadPattern)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"p\", {\n title: __props.item.tyreTreadPattern.tyreBrand.title,\n class: \"card-title tile-brand me-2 mb-0 mb-1\"\n }, _toDisplayString(__props.item.tyreTreadPattern.tyreBrand.title), 9, _hoisted_11),\n (__props.item.tyreTreadPattern.description)\n ? (_openBlock(), _createBlock(_component_el_tooltip, {\n key: 0,\n width: 500,\n trigger: \"hover\",\n effect: \"dark\",\n \"raw-content\": \"\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", {\n style: {\"white-space\":\"pre\",\"text-wrap\":\"pretty\",\"max-width\":\"450px\"},\n innerHTML: __props.item.tyreTreadPattern.description\n }, null, 8, _hoisted_12)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"i\", {\n class: \"bi bi-info-circle-fill d-none d-md-inline ms-auto pointer\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"prevent\"]))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"h3\", {\n title: __props.item.tyreTreadPattern.title,\n class: \"h4 card-title tile-name\"\n }, _toDisplayString(__props.item.tyreTreadPattern.title), 9, _hoisted_13),\n (!__props.isGeneral)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"p\", _hoisted_14, [\n _createTextVNode(_toDisplayString(__props.item.size) + \" \", 1),\n (__props.item.loadIndex)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(__props.item.loadIndex), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n _createTextVNode(),\n (__props.item.speedIndex)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(_toDisplayString(__props.item.speedIndex), 1)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"small\", _hoisted_15, \"SKU: \" + _toDisplayString(__props.item.sku), 1)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (!__props.isGeneral && _unref(isQTEnabled)() && __props.item.price > 0)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 1,\n title: `From R${ _unref(thousandSeparator)(__props.item.price) }`,\n class: \"text-primary card-text tile-price text-sm-end mt-2 mb-3 fs-4 py-1 px-3 px-sm-4\"\n }, [\n _hoisted_17,\n _createTextVNode(\" R\" + _toDisplayString(_unref(thousandSeparator)(__props.item.price)), 1)\n ], 8, _hoisted_16))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass(['mt-2 mb-3 mb-sm-5 py-2', {'btn sm-btn btn-outline-primary w-100': __props.item.tyreTreadPattern}])\n }, [\n (__props.item.tyreTreadPattern)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Learn more about this tyre\")\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass(['tile-actions w-100', {'quote-only': !_unref(isQTEnabled)() || !__props.item.sellOnSurface}])\n }, [\n (_unref(isQTEnabled)() && __props.item.purchaseUrl && __props.item.sellOnSurface)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (__props.item.purchaseUrl)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n onClick: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (emit('qtTyreSelect', __props.item, __props.index)), [\"prevent\"])),\n onMouseover: _cache[3] || (_cache[3] = ($event: any) => (_unref(anim).play())),\n onMouseout: _cache[4] || (_cache[4] = ($event: any) => (_unref(anim).goToAndStop(0))),\n class: \"btn btn-secondary qt-nav-link\"\n }, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_lottie, {\n class: \"ms-0 me-2 me-sm-1 me-xl-2\",\n ref_key: \"anim\",\n ref: anim,\n animationData: _unref(BuyNowIcon),\n autoPlay: false,\n loop: true\n }, null, 8, [\"animationData\"]),\n _hoisted_19\n ])\n ], 32))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_router_link, {\n to: { name: 'RequestQuote', query: { tread: __props.item.tyreTreadPattern.id, sku: __props.item.sku, size: `${__props.item.sectionWidth}-${__props.item.aspectRatio}-${__props.item.rimSize}` } },\n class: \"btn btn-secondary\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_unref(scrollTop)()))\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }, 8, [\"to\"])\n ], 2)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"to\"])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./GenericRangeTile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GenericRangeTile.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./GenericRangeTile.vue?vue&type=style&index=0&id=21368636&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-21368636\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"pagination-container flex-centered col-12\"\n}\n\nimport type { PropType } from 'vue';\r\nimport { ref, Ref, watch, onMounted } from 'vue';\r\nimport { PaginationData } from \"@/types/index\";\r\nimport { useMediaQuery } from '@vueuse/core';\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Pagination',\n props: {\r\n data: { \r\n type: Object as PropType<PaginationData>,\r\n default: {\r\n totalCount: 0,\r\n pageCount: 0,\r\n pageSize: 0,\r\n pageNumber: 0,\r\n data: []\r\n }\r\n },\r\n large: { default: false },\r\n},\n emits: [\"change\"],\n setup(__props, { emit: emits }) {\n\nconst props = __props;\n\r\nconst isSm = useMediaQuery('(max-width: 576px)')\r\n\r\n\r\nlet pagerCount: Ref<number> = ref(7);\r\n\r\nonMounted(() => {\r\n pagerChange();\r\n})\r\n\r\nwatch(isSm, (change) => {\r\n pagerChange();\r\n})\r\n\r\nfunction pagerChange() {\r\n if(!isSm.value) {\r\n pagerCount.value = 7;\r\n }\r\n else {\r\n pagerCount.value = 3;\r\n }\r\n}\r\n\r\nfunction pageChange(page: number) {\r\n if (page != props.data.pageNumber) {\r\n emits(\"change\", page);\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n\n return (__props.data.pageCount > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass({'large-buttons': __props.large})\n }, [\n _createVNode(_component_el_pagination, {\n background: \"\",\n \"hide-on-single-page\": \"\",\n \"current-page\": Number(__props.data.pageNumber),\n layout: \"prev, pager, next\",\n \"page-count\": __props.data.pageCount,\n total: __props.data.totalCount,\n \"page-size\": __props.data.pageSize,\n \"pager-count\": _unref(pagerCount),\n onCurrentChange: pageChange\n }, null, 8, [\"current-page\", \"page-count\", \"total\", \"page-size\", \"pager-count\"])\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./Pagination.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Pagination.vue?vue&type=style&index=0&id=593be45e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, isRef as _isRef, withCtx as _withCtx, createVNode as _createVNode, withModifiers as _withModifiers, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"mb-2\" }, \"Online tyre purchase is only available for regions listed below.\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"mb-1\" }, [\n /*#__PURE__*/_createElementVNode(\"b\", null, \"Please select a region to continue:\")\n], -1)\nconst _hoisted_3 = [\"disabled\", \"onClick\", \"href\"]\nconst _hoisted_4 = { class: \"mt-4 mb-5 pt-3\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"mb-2\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Can't find your region?\")\n], -1)\n\nimport { Ref, ref } from \"vue\";\r\n import { gtmDatalayerEvent, GoogleAnalyticsEcommerceObj, formatPurchaseUrlURL, getQTLink } from \"@/utilities\";\r\n import { TyreListViewModel } from \"@/api-client\";\r\n import { useRoute } from \"vue-router\";\r\n import QtStores from \"@/assets/json/qt-stores.json\";\r\n\r\n type CurrentTyre = {\r\n sectionWidth: string | undefined,\r\n aspectRatio: string | undefined,\r\n rimSize: string | undefined\r\n }\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'QTRegionDialog',\n props: {\n treadPattern: {},\n index: {}\n },\n emits: [\"close\"],\n setup(__props: any) {\n\nconst props = __props;\n\r\n \r\n \r\n\r\n const route = useRoute();\r\n let region: Ref<string | undefined> = ref(undefined);\r\n\r\n function formatRegion() {\r\n if (region.value != undefined) {\r\n return region.value.replaceAll(' ', '-');\r\n }\r\n return \"\";\r\n }\r\n\r\n function formatTyreSizeUrl (size: CurrentTyre) {\r\n if (!size) {\r\n return \"\";\r\n }\r\n return size.sectionWidth?.toString() + \"-\" + size.aspectRatio?.toString() + \"-\" + size.rimSize?.toString();\r\n }\r\n\r\n function formatQtUrl() {\r\n if (!props.treadPattern) {\r\n return '#';\r\n }\r\n else if (props.treadPattern.hasOwnProperty(\"purchaseUrl\") && region != undefined) {\r\n const tread = {\r\n ...props.treadPattern,\r\n purchaseUrl: (props.treadPattern as TyreListViewModel).purchaseUrl + `®ion=${formatRegion()}#PricingAreaLocation`\r\n };\r\n return formatPurchaseUrlURL(tread as TyreListViewModel);\r\n }\r\n else if (region != undefined) {\r\n return getQTLink() + `/tyres/${formatTyreSizeUrl(props.treadPattern as CurrentTyre)}/${formatRegion()}`;\r\n }\r\n return '#';\r\n }\r\n\r\n function formatRaqRoute() {\r\n if (!props.treadPattern) {\r\n return {\r\n name: 'RequestQuote'\r\n };\r\n }\r\n if (props.treadPattern.hasOwnProperty(\"id\") && region != undefined) {\r\n const tread = props.treadPattern as TyreListViewModel;\r\n return {\r\n name: 'RequestQuote', query: { tread: tread.tyreTreadPattern.id, sku: tread.sku, size: formatTyreSizeUrl(tread) }\r\n }\r\n }\r\n else {\r\n return {\r\n name: 'RequestQuote', query: { size: formatTyreSizeUrl(props.treadPattern as CurrentTyre) }\r\n }\r\n }\r\n }\r\n\r\n function quickTyreEvent() {\r\n const routeParams = route.params;\r\n let rangeType = \"\";\r\n if(routeParams.brand != '' && routeParams.brand != undefined) {\r\n rangeType += `${routeParams.brand} `;\r\n }\r\n if(routeParams.size != '' && routeParams.size != undefined) {\r\n const tyreSize = routeParams.size.toString().split(\"-\");\r\n rangeType = `${tyreSize[0]}/${tyreSize[1]}${tyreSize.length == 3 ? 'R'+tyreSize[2]:''} Tyre `\r\n }\r\n else if(routeParams.rimSize != '' && routeParams.rimSize != undefined) {\r\n rangeType = `${routeParams.sectionWidth}/${routeParams.aspectRatio}R${routeParams.rimSize} Tyre `\r\n }\r\n\r\n let ecommerce: GoogleAnalyticsEcommerceObj = {\r\n currency: \"ZAR\",\r\n item_list_name: `${rangeType ? rangeType : \"Tyre \"}Range Listings`\r\n }\r\n\r\n if (props.treadPattern && props.treadPattern.hasOwnProperty(\"id\")) {\r\n const tread = props.treadPattern as TyreListViewModel;\r\n let item: any = {\r\n sku: tread!.sku,\r\n item_name: tread!.title,\r\n item_brand: tread!.tyreTreadPattern.tyreBrand.title\r\n };\r\n\r\n if (props.index != undefined && props.index != -1) {\r\n item = { ...item, index: props.index };\r\n }\r\n if (tread!.price > 0) {\r\n item = { ...item, price: tread!.price };\r\n }\r\n\r\n ecommerce = {\r\n ...ecommerce,\r\n items: [ item ]\r\n }\r\n }\r\n\r\n gtmDatalayerEvent(\"select_quick_tyre_item\", ecommerce, \"ecommerce\");\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n \"model-value\": _ctx.treadPattern != null,\n title: \"Select your region\",\n \"align-center\": \"\",\n onClose: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('close')))\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"sm-btn btn btn-outline-dark\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('close')))\n }, \"Cancel\")\n ]),\n default: _withCtx(() => [\n _hoisted_1,\n _hoisted_2,\n _createVNode(_component_el_select, {\n name: \"qtRegion\",\n modelValue: _unref(region),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(region) ? (region).value = $event : region = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Select a region\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(QtStores).stores, (store) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: store,\n value: store.toLowerCase(),\n key: 'qt-store' + store.toLowerCase()\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createElementVNode(\"a\", {\n disabled: _unref(region) == undefined,\n onClick: _withModifiers(quickTyreEvent, [\"stop\"]),\n class: _normalizeClass(['btn btn-primary d-block mt-3', {'disabled': _unref(region) == undefined}]),\n target: \"_blank\",\n href: formatQtUrl()\n }, \" Buy Tyres \", 10, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_router_link, {\n class: \"sm-btn btn btn-secondary d-block\",\n to: formatRaqRoute()\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" click here to request a quote \")\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ]),\n _: 1\n }, 8, [\"model-value\"]))\n}\n}\n\n})","import script from \"./QTRegionDialog.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./QTRegionDialog.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withModifiers as _withModifiers, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f3bd50c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"tyre-range-view\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Technical articles\", -1))\nconst _hoisted_3 = { class: \"row flex-wrap gy-3\" }\nconst _hoisted_4 = { class: \"col-12 col-lg-3\" }\nconst _hoisted_5 = { class: \"product-results position-relative col-12 col-lg-9\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"Use the search and filter fields to find the right tyres for your needs.\", -1))\nconst _hoisted_7 = {\n key: 1,\n class: \"mb-4\"\n}\nconst _hoisted_8 = { class: \"row flex-wrap gy-5\" }\nconst _hoisted_9 = [\"data-sku\"]\nconst _hoisted_10 = { class: \"col-12\" }\nconst _hoisted_11 = {\n key: 1,\n class: \"text-center\"\n}\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"No tyres found matching your search criteria.\", -1))\nconst _hoisted_13 = [\n _hoisted_12\n]\n\nimport Banner from \"@/components/general/Banner.vue\";\r\nimport TyreSearch from \"@/components/form/TyreSearch.vue\";\r\nimport TyreSearchFilters from \"@/components/form/TyreSearchFilters.vue\";\r\nimport GenericRangeTile from \"@/components/range-tiles/GenericRangeTile.vue\";\r\nimport MainContainer from \"@/components/general/MainContainer.vue\";\r\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\nimport Pagination from \"@/components/misc/Pagination.vue\";\r\nimport { Ref, ref, onBeforeMount, onMounted } from \"vue\";\r\nimport { PagedResultOfTyreListViewModel, TyreListViewModel, TyreBrandListViewModel } from \"@/api-client\";\r\nimport { TyreRangeFilterValues, getTyres } from \"@/api-calls/tyres\";\r\nimport { useRoute, useRouter } from \"vue-router\";\r\nimport { gtmDatalayerEvent, TyreSearchObj, GoogleAnalyticsEcommerceObj, scrollTop, toKebabCase } from \"@/utilities\";\r\nimport { useMiscStore } from \"@/stores/misc\";\r\nimport Spinner from \"@/components/general/Spinner.vue\";\r\nimport { useMediaQuery } from '@vueuse/core';\r\nimport QTRegionDialog from \"@/components/general/QTRegionDialog.vue\";\r\n\r\ntype CurrentTyre = {\r\n sectionWidth: string | undefined,\r\n aspectRatio: string | undefined,\r\n rimSize: string | undefined\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreRangeView',\n props: {\r\n brand: {type: String, default: ''},\r\n size: {type: String, default: ''}\r\n},\n setup(__props) {\n\nconst props = __props;\n\r\nconst isSm = useMediaQuery('(max-width: 575px)')\r\n\r\n\r\n\r\nlet currentTyre: Ref<CurrentTyre> = ref({\r\n sectionWidth: ref(undefined),\r\n aspectRatio: ref(undefined),\r\n rimSize: ref(undefined)\r\n});\r\n\r\nlet itemData: Ref<PagedResultOfTyreListViewModel> = ref({\r\n totalCount: 0,\r\n pageCount: 0,\r\n pageSize: 0,\r\n pageNumber: 0,\r\n data: [],\r\n});\r\nlet pageNumber = ref(1);\r\nlet pageSize = ref(27);\r\nlet activeBrand: Ref<any | undefined> = ref(undefined);\r\nlet activeFilters: Ref<any | undefined> = ref(undefined);\r\nlet isResultsFade: Ref<boolean> = ref(true);\r\nlet purchaseTyre: Ref<TyreListViewModel | CurrentTyre | null> = ref(null);\r\nlet index: Ref<number> = ref(-1);\r\n\r\nconst miscStore = useMiscStore();\r\nconst router = useRouter();\r\nconst route = useRoute();\r\n\r\nonBeforeMount(async () => {\r\n if (props.size) {\r\n setCurrentTyre(props.size);\r\n }\r\n if(props.brand == '') {\r\n await loadInitialData();\r\n listLoadEvent();\r\n }\r\n})\r\n\r\nonMounted(() => {\r\n if(currentTyre.value.rimSize || props.brand != '') {\r\n isResultsFade.value = false;\r\n }\r\n})\r\n\r\nfunction formatTyreSizeDisplay () {\r\n return currentTyre.value.sectionWidth?.toString() + \"/\" + currentTyre.value.aspectRatio?.toString() + \"R\" + currentTyre.value.rimSize?.toString();\r\n}\r\n\r\nfunction setCurrentTyre(size: any) {\r\n const sizeRes = size.split(\"-\");\r\n currentTyre.value.sectionWidth = sizeRes[0] || undefined;\r\n currentTyre.value.aspectRatio = sizeRes[1] || undefined;\r\n currentTyre.value.rimSize = sizeRes[2] || undefined;\r\n}\r\n\r\nasync function brandUpdate(brands: TyreBrandListViewModel[], filters: TyreRangeFilterValues) {\r\n activeBrand.value = undefined;\r\n activeFilters.value = filters;\r\n if(filters.tyreBrands?.length == 1) {\r\n const id: number = +filters.tyreBrands[0];\r\n const newBrand: TyreBrandListViewModel | undefined = brands.find(brand => brand.id == id);\r\n if (newBrand) {\r\n activeBrand.value = {slug: newBrand.slug || toKebabCase(newBrand.title), name: newBrand.title};\r\n }\r\n }\r\n testPageType();\r\n pageNumber.value = 1;\r\n await loadInitialData(activeFilters.value);\r\n listLoadEvent();\r\n}\r\n\r\nfunction scrollTyreResults() {\r\n const offset = document.querySelector('.product-info .generic-range-tile')?.scrollHeight || 0;\r\n const navOffset = isSm ? (offset/1.3)+20 : offset/1.5;\r\n const anchorClass = isSm ? \".tyre-search-filters-container\" : \".product-results\";\r\n setTimeout(() => {\r\n scrollTop(anchorClass, true, offset - navOffset);\r\n }, 0);\r\n setTimeout(() => {\r\n document.getElementById(\"navbar\")?.classList.add(\"navbar-min\");\r\n }, 240);\r\n}\r\n\r\nasync function loadInitialData(filters: TyreRangeFilterValues | undefined = undefined) {\r\n miscStore.isLoadingOverride = true;\r\n \r\n if(filters) {\r\n activeFilters.value = filters;\r\n const sortData = filters.orderByField?.split('-') || undefined;\r\n itemData.value = await getTyres(\r\n pageNumber.value, pageSize.value,\r\n currentTyre.value.sectionWidth,\r\n currentTyre.value.aspectRatio,\r\n currentTyre.value.rimSize,\r\n undefined,\r\n sortData?.[1], sortData?.[0],\r\n filters.tyrePrice[0], filters.tyrePrice[1],\r\n filters.isRunFlat,\r\n filters.tyreBrands,\r\n filters.tyreTypes\r\n );\r\n } else {\r\n itemData.value = await getTyres(\r\n pageNumber.value, pageSize.value,\r\n currentTyre.value.sectionWidth,\r\n currentTyre.value.aspectRatio,\r\n currentTyre.value.rimSize\r\n );\r\n }\r\n \r\n if(filters || currentTyre.value.rimSize != undefined) {\r\n setTimeout(() => {\r\n scrollTyreResults();\r\n }, 200);\r\n }\r\n\r\n miscStore.isLoadingOverride = false;\r\n}\r\n\r\nfunction listLoadEvent() {\r\n let rangeType = \"\";\r\n if(props.brand != '') {\r\n rangeType += `${activeBrand.value.name} `;\r\n }\r\n if(props.size != '') {\r\n rangeType += `${currentTyre.value.sectionWidth}/${currentTyre.value.aspectRatio}R${currentTyre.value.rimSize} Tyre `;\r\n }\r\n\r\n let ecommerce: GoogleAnalyticsEcommerceObj = {\r\n currency: \"ZAR\",\r\n item_list_name: `${rangeType ? rangeType : \"Tyre \"}Range Listings`,\r\n items: []\r\n }\r\n ecommerce.items = Object.values(itemData.value.data).map((item: TyreListViewModel, index: number) => {\r\n let itemObj: any = {\r\n sku: item.sku,\r\n item_name: item.title,\r\n item_brand: item.tyreTreadPattern ? item.tyreTreadPattern.tyreBrand.title : '',\r\n index: index\r\n };\r\n if (item.price > 0) {\r\n itemObj = { ...itemObj, price: item.price };\r\n }\r\n\r\n return itemObj;\r\n })\r\n gtmDatalayerEvent(\"view_item_list\", ecommerce, \"ecommerce\");\r\n}\r\n\r\nfunction selectEvent(item: TyreListViewModel, index: number) {\r\n let rangeType = \"\";\r\n if(props.brand != '') {\r\n rangeType += `${activeBrand.value.name} `;\r\n }\r\n if(props.size != '') {\r\n rangeType += `${currentTyre.value.sectionWidth}/${currentTyre.value.aspectRatio}R${currentTyre.value.rimSize} Tyre `;\r\n }\r\n \r\n let itemObj: any = {\r\n sku: item.sku,\r\n item_name: item.title,\r\n item_brand: item.tyreTreadPattern.tyreBrand.title,\r\n index: index\r\n };\r\n\r\n if (item.price > 0) {\r\n itemObj = { ...item, price: item.price };\r\n }\r\n\r\n let ecommerce: GoogleAnalyticsEcommerceObj = {\r\n currency: \"ZAR\",\r\n item_list_name: `${rangeType ? rangeType : \"Tyre \"}Range Listings`,\r\n items: [ itemObj ]\r\n }\r\n gtmDatalayerEvent(\"select_item\", ecommerce, \"ecommerce\");\r\n}\r\n\r\nfunction isHideSkus(filter: TyreRangeFilterValues | undefined) {\r\n if (!props.size && !filter) {\r\n return true;\r\n }\r\n return !props.size && filter && filter!.tyreBrands.length < 1 && !filter!.isRunFlat && filter!.tyreTypes.length < 1;\r\n}\r\n\r\nasync function handlePageChange(page: number) {\r\n pageNumber.value = page;\r\n scrollTyreResults();\r\n await loadInitialData(activeFilters.value);\r\n}\r\n\r\nasync function tyreSearchChange (resp: TyreSearchObj) {\r\n let paramSize: string = \"\";\r\n scrollTyreResults();\r\n\r\n if(!resp || (!resp.params.rimSize && !props.brand)) {\r\n currentTyre.value = {\r\n sectionWidth: undefined,\r\n aspectRatio: undefined,\r\n rimSize: undefined\r\n };\r\n if (!props.brand) {\r\n await router.push({ name: 'TyreRange' });\r\n }\r\n else {\r\n await router.push({ name: 'BrandRange', params: { brand: props.brand } });\r\n }\r\n await loadInitialData(activeFilters.value);\r\n return false;\r\n }\r\n\r\n if (resp && resp.hasOwnProperty('params')) {\r\n paramSize = Object.values(resp.params).join(\"-\").replace(/\\s+/g, '');\r\n }\r\n if(paramSize == \"--\") {\r\n paramSize = \"\";\r\n }\r\n\r\n pageNumber.value = 1;\r\n if(paramSize != props.size) {\r\n setCurrentTyre(paramSize)\r\n await router.replace({params: {...route.params, size: paramSize}});\r\n await loadInitialData(activeFilters.value);\r\n listLoadEvent();\r\n }\r\n}\r\n\r\nfunction vehicleChange (resp: CurrentTyre) {\r\n if(!resp) {\r\n currentTyre.value = {\r\n sectionWidth: undefined,\r\n aspectRatio: undefined,\r\n rimSize: undefined\r\n };\r\n }\r\n else {\r\n currentTyre.value = {\r\n sectionWidth: resp.sectionWidth,\r\n aspectRatio: resp.aspectRatio,\r\n rimSize: resp.rimSize\r\n };\r\n }\r\n}\r\n\r\nfunction testPageType () {\r\n const tyreRange = \"TyreRange\";\r\n const brandRange = \"BrandRange\";\r\n let destinationRoute = tyreRange;\r\n let destinationParams: any = {\r\n size: route.params.size\r\n };\r\n \r\n if(activeBrand.value != undefined) {\r\n destinationRoute = brandRange;\r\n Object.assign(destinationParams, {brand: activeBrand.value.slug});\r\n }\r\n if(!destinationParams.size || destinationParams.size == \"--\") {\r\n delete destinationParams.size;\r\n }\r\n \r\n router.replace({name: destinationRoute, params: destinationParams});\r\n}\r\n\r\nfunction qtRegionSelect(tyre: TyreListViewModel | CurrentTyre, i: number = -1) {\r\n purchaseTyre.value = tyre;\r\n index.value = i;\r\n}\r\n\r\nfunction qtRegionClose() {\r\n purchaseTyre.value = null;\r\n index.value = -1;\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_el_alert = _resolveComponent(\"el-alert\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(QTRegionDialog, {\n onClose: qtRegionClose,\n treadPattern: _unref(purchaseTyre),\n index: _unref(index)\n }, null, 8, [\"treadPattern\", \"index\"]),\n (_unref(activeBrand) != undefined)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n alias: \"banner-tyre-range\",\n isTextMaxWidth: true,\n imageObj: { title: _unref(activeBrand).name }\n }, null, 8, [\"imageObj\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: \"banner-tyre-range\",\n isTextMaxWidth: true\n })),\n _createElementVNode(\"div\", null, [\n _createVNode(MainContainer, { class: \"mt-5 mb-4 mb-lg-5\" }, {\n default: _withCtx(() => [\n (props.brand != '')\n ? (_openBlock(), _createBlock(ContentBlock, {\n key: 0,\n alias: `tyre-range-${props.brand}-intro`,\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".54s\"\n }, null, 8, [\"alias\"]))\n : (props.size != '')\n ? (_openBlock(), _createBlock(ContentBlock, {\n key: 1,\n alias: `tyre-range-${_unref(currentTyre).sectionWidth + '-' + _unref(currentTyre).aspectRatio + '-' + _unref(currentTyre).rimSize}-intro`,\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".54s\"\n }, null, 8, [\"alias\"]))\n : (_openBlock(), _createBlock(ContentBlock, {\n key: 2,\n alias: \"tyre-range-intro\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".54s\"\n })),\n _createVNode(_component_router_link, {\n class: \"btn btn-primary mb-5 mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".7s\",\n to: \"/technical-articles\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(TyreSearch, {\n size: _unref(currentTyre),\n class: _normalizeClass(['range-search bg-primary', {'wow fadeInDown': _unref(isResultsFade)}]),\n \"data-wow-delay\": \".62s\",\n onSearch: tyreSearchChange,\n onVehicleComplete: vehicleChange,\n isClearable: _unref(currentTyre).rimSize != undefined,\n onClear: tyreSearchChange\n }, null, 8, [\"size\", \"class\", \"isClearable\"])\n ]),\n _: 1\n }),\n _createVNode(MainContainer, {\n class: _normalizeClass(['mb-5 mt-4 mt-lg-5', {'wow fadeInDown': _unref(isResultsFade)}]),\n \"data-wow-delay\": \"0.7s\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(TyreSearchFilters, {\n class: \"border border-2 border-disabled\",\n onFilter: loadInitialData,\n onBrandChange: brandUpdate,\n isPricing: _unref(itemData).data.length > 0 && _unref(itemData).data[0].price > 0\n }, null, 8, [\"isPricing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n (_unref(itemData).data.length && isHideSkus(_unref(activeFilters)))\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"border border-2 border-disabled shadow-sm mb-3\",\n closable: false,\n type: \"info\",\n \"show-icon\": \"\"\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }))\n : (_unref(currentTyre).rimSize)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (qtRegionSelect(_unref(currentTyre))), [\"prevent\"])),\n type: \"button\",\n class: \"btn btn-dark sharp pe-auto py-2 px-4 d-block h-100 lh-1\"\n }, [\n _createElementVNode(\"i\", null, [\n _createTextVNode(\"View prices for all \"),\n _createElementVNode(\"b\", null, _toDisplayString(formatTyreSizeDisplay()), 1),\n _createTextVNode(\" tyres\")\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n (_unref(itemData).data.length)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(itemData).data, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"product-info col-12 col-sm-6 col-xxl-4\",\n key: item.sku,\n \"data-sku\": item.sku\n }, [\n _createVNode(GenericRangeTile, {\n class: \"mb-3 pb-3 h-100\",\n onSelect: ($event: any) => (selectEvent(item, index)),\n onQtTyreSelect: ($event: any) => (qtRegionSelect(item, index)),\n item: item,\n \"is-general\": isHideSkus(_unref(activeFilters)),\n index: index\n }, null, 8, [\"onSelect\", \"onQtTyreSelect\", \"item\", \"is-general\", \"index\"])\n ], 8, _hoisted_9))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(Pagination, {\n large: true,\n data: _unref(itemData),\n showScrollTop: true,\n onChange: handlePageChange\n }, null, 8, [\"data\"])\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, _hoisted_13))\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"class\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./TyreRangeView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreRangeView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TyreRangeView.vue?vue&type=style&index=0&id=f3bd50c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f3bd50c4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-00e47d78\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", { class: \"h6 d-block lh-1 my-1\" }, \"Note\", -1))\nconst _hoisted_2 = { class: \"mb-2\" }\n\nimport { isQTEnabled } from \"@/utilities\";\r\n import QtStores from \"@/assets/json/qt-stores.json\"\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'QtStoreList',\n props: {\r\n dynamicDisplay: {type: Boolean, default: false},\r\n store: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n function isDisplay() {\r\n if (!isQTEnabled() || QtStores.stores.length < 1) {\r\n return false;\r\n }\r\n if (!props.dynamicDisplay) {\r\n return true;\r\n }\r\n \r\n return QtStores.stores.find(store => props.store.search(store) > -1) != undefined;\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_alert = _resolveComponent(\"el-alert\")!\n\n return (isDisplay())\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n class: \"qt-store-list border border-2 border-disabled shadow-sm mb-4\",\n type: \"info\",\n \"show-icon\": \"\",\n closable: false\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createTextVNode(\" If you're in one of the follow locations, you can shop online: \"),\n _createElementVNode(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(QtStores).stores, (stores) => {\n return (_openBlock(), _createElementBlock(\"li\", null, _toDisplayString(stores), 1))\n }), 256))\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./QtStoreList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./QtStoreList.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./QtStoreList.vue?vue&type=style&index=0&id=00e47d78&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-00e47d78\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, normalizeClass as _normalizeClass, isRef as _isRef, renderList as _renderList, vModelSelect as _vModelSelect, withDirectives as _withDirectives, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bb28fe72\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"tyre-detail-view position-relative\" }\nconst _hoisted_2 = { class: \"intro d-flex\" }\nconst _hoisted_3 = {\n class: \"detail-thumbnail me-lg-3 wow fadeInDown\",\n \"data-wow-delay\": \"0.2s\"\n}\nconst _hoisted_4 = [\"src\", \"alt\"]\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = { class: \"detail-header d-flex flex-column justify-content-center\" }\nconst _hoisted_7 = {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \"0.3s\"\n}\nconst _hoisted_8 = {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \"0.38s\"\n}\nconst _hoisted_9 = { class: \"mb-0 bg-white\" }\nconst _hoisted_10 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \"0.5s\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mb-5\" }, null, -1))\nconst _hoisted_13 = {\n key: 0,\n class: \"features mb-5\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Features\", -1))\nconst _hoisted_15 = [\"innerHTML\"]\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"my-5\" }, null, -1))\nconst _hoisted_17 = {\n class: \"sizes mb-4 wow fadeInDown\",\n \"data-wow-delay\": \"0.5s\"\n}\nconst _hoisted_18 = { class: \"mt-3\" }\nconst _hoisted_19 = { class: \"d-flex flex-wrap justify-content-between align-items-center\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"me-3 mb-sm-0\" }, \"Available Sizes\", -1))\nconst _hoisted_21 = { id: \"TyreSizeForm\" }\nconst _hoisted_22 = { class: \"row g-2 align-items-center justify-content-between justify-content-sm-end\" }\nconst _hoisted_23 = { class: \"col-auto col-sm-12 order-2 order-sm-0 text-end\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"text-capitalize\" }, \"clear filter\", -1))\nconst _hoisted_25 = [\n _hoisted_24\n]\nconst _hoisted_26 = { class: \"col-12 col-sm-3\" }\nconst _hoisted_27 = [\"disabled\"]\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"option\", {\n selected: \"\",\n disabled: \"\",\n hidden: \"\",\n value: \"\"\n}, \"Section Width\", -1))\nconst _hoisted_29 = [\"value\"]\nconst _hoisted_30 = { class: \"col-12 col-sm-3\" }\nconst _hoisted_31 = [\"disabled\"]\nconst _hoisted_32 = [\"selected\"]\nconst _hoisted_33 = [\"value\"]\nconst _hoisted_34 = { class: \"col-12 col-sm-3\" }\nconst _hoisted_35 = [\"disabled\"]\nconst _hoisted_36 = [\"selected\"]\nconst _hoisted_37 = [\"value\"]\nconst _hoisted_38 = { class: \"col-auto order-1\" }\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"fw-bold text-capitalize\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-search\" })\n], -1))\nconst _hoisted_40 = [\n _hoisted_39\n]\nconst _hoisted_41 = { class: \"mt-2\" }\nconst _hoisted_42 = [\"onClick\"]\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-cart-fill my-1\" }, null, -1))\nconst _hoisted_44 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"my-1\" }, \"Buy\", -1))\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"Request a Quote\", -1))\nconst _hoisted_46 = { class: \"col-12\" }\nconst _hoisted_47 = {\n key: 0,\n class: \"resources mt-4 wow fadeInDown\",\n \"data-wow-delay\": \"0.5s\"\n}\nconst _hoisted_48 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"my-5\" }, null, -1))\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", null, \"Resources\", -1))\nconst _hoisted_50 = { class: \"mt-3\" }\nconst _hoisted_51 = { class: \"row justify-content-center justify-content-sm-start g-3\" }\nconst _hoisted_52 = { class: \"col-10 col-sm-6 col-md-4 col-lg-3 col-xxl-2 d-flex justify-content-center\" }\nconst _hoisted_53 = {\n key: 0,\n class: \"row justify-content-center justify-content-lg-start flex-wrap g-3\"\n}\nconst _hoisted_54 = { class: \"col-12 col-sm-10 col-md-8 col-lg-6 col-xxl-4 text-center\" }\nconst _hoisted_55 = [\"src\", \"title\"]\nconst _hoisted_56 = { class: \"row flex-wrap g-3\" }\nconst _hoisted_57 = { class: \"col-12 col-sm-6 col-lg-4 col-xxl-3\" }\nconst _hoisted_58 = [\"href\"]\nconst _hoisted_59 = [\"title\"]\nconst _hoisted_60 = { class: \"text-center small\" }\n\nimport Banner from \"@/components/general/Banner.vue\";\r\nimport MainContainer from \"@/components/general/MainContainer.vue\";\r\nimport { TreadPatternMetaType, TyreListViewModel, TyreTreadPatternMetaListViewModel, TyreTreadPatternViewModel, PagedResultOfTyreListViewModel } from \"@/api-client\";\r\nimport { getTyreSectionWidths, getTyreTreadPatternBySlug, getTyres } from \"@/api-calls/tyres\";\r\nimport { listAspectRatio, listRimSize } from \"@/utilities/productProps\";\r\nimport { Ref, computed, onBeforeMount, onMounted, ref, watch } from \"vue\";\r\nimport { tableResizeObserver, formatPurchaseUrlURL, isQTEnabled, getQTMedia, formatVideoMedia, gtmDatalayerEvent, GoogleAnalyticsEcommerceObj, scrollTop, getFallbackTyreImg, thumbnailImageError } from \"@/utilities\";\r\nimport { useRoute, useRouter } from \"vue-router\";\r\nimport { TabPaneName } from \"element-plus\";\r\nimport { useMiscStore } from \"@/stores/misc\";\r\nimport Spinner from \"@/components/general/Spinner.vue\";\r\nimport { useMediaQuery } from '@vueuse/core';\r\nimport QtStoreList from \"@/components/general/QtStoreList.vue\";\r\nimport QTRegionDialog from \"@/components/general/QTRegionDialog.vue\";\r\n\r\ntype ResourceTabs = \"images\" | \"videos\" | \"documents\";\r\n\r\ninterface TyreDetail extends TyreTreadPatternViewModel {\r\n availableSizes: TyreListViewModel[]\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreDetailView',\n props: {\r\n slug: { type: String, required: true },\r\n},\n setup(__props) {\n\nconst props = __props;\n\r\nconst isSm = useMediaQuery('(max-width: 576px)')\r\n\r\nlet initialLoad: Ref<boolean | undefined> = ref(true);\r\nlet SizeTable: Ref<any> = ref(undefined);\r\nlet searchSectionWidth: Ref<string | undefined> = ref(undefined);\r\nlet searchAspectRatio: Ref<string | undefined> = ref(undefined);\r\nlet searchRimSize: Ref<string | undefined> = ref(undefined);\r\nlet allTreadSizes: Ref<TyreListViewModel[]> = ref([]);\r\nlet activeTab: Ref<ResourceTabs> = ref('images');\r\nconst item: Ref<TyreDetail> = ref({\r\n id: 0,\r\n facts: \"\",\r\n description: \"\",\r\n title: \"\",\r\n tyreBrand: {\r\n id: 0,\r\n title: \"\",\r\n slug: \"\",\r\n },\r\n tyreCategory: {\r\n id: 0,\r\n title: \"\",\r\n parentTyreCategoryTitle: \"\",\r\n },\r\n slug: \"\",\r\n treadPatternMetas: [ ],\r\n availableSizes: []\r\n});\r\nlet sectionWidthDdl: Ref<string[]> = ref([]);\r\nlet aspectRatioDdl: Ref<string[]> = ref([]);\r\nlet rimSizeDdl: Ref<string[]> = ref([]);\r\nlet purchaseTyre: Ref<TyreListViewModel | null> = ref(null);\r\n\r\nconst router = useRouter();\r\nconst route = useRoute();\r\n\r\nconst itemThumbnail = computed(():TyreTreadPatternMetaListViewModel | undefined => {\r\n return item.value.treadPatternMetas.find(meta => meta.treadPatternMetaTypeId.toLowerCase() == 'thumbnail');\r\n})\r\n// const itemMeta = computed((type:TreadPatternMetaType) => {\r\n// return item.value.treadPatternMetas.filter((meta) => meta.treadPatternMetaTypeId.toLowerCase() == type)\r\n// })\r\nconst itemMeta = computed(() => {\r\n return({\r\n image: item.value.treadPatternMetas.filter((meta) => meta.treadPatternMetaTypeId.toLowerCase() == \"image\"),\r\n video: item.value.treadPatternMetas.filter((meta) => meta.treadPatternMetaTypeId.toLowerCase() == \"video\"),\r\n document: item.value.treadPatternMetas.filter((meta) => meta.treadPatternMetaTypeId.toLowerCase() == \"document\"),\r\n })\r\n})\r\nconst metaImageList = computed(() => {\r\n return itemMeta.value.image.map((meta) => getQTMedia() + meta.value)\r\n})\r\n\r\ntableResizeObserver(this);\r\n\r\nconst miscStore = useMiscStore();\r\n\r\nonBeforeMount(async () => {\r\n if(route.query.resourseTab) {\r\n activeTab.value = route.query.resourseTab as ResourceTabs;\r\n }\r\n \r\n sectionWidthDdl.value = (await getTyreSectionWidths(1, 99999)).data;\r\n})\r\n\r\nonMounted(async () => {\r\n scrollTop();\r\n miscStore.isLoading = true;\r\n await loadInitialData();\r\n viewEvent(item.value);\r\n miscStore.isLoading = false;\r\n\r\n if(route.query.size) {\r\n const sizeSeg = route.query.size.toString().split(\"-\");\r\n searchSectionWidth.value = sizeSeg[0];\r\n\r\n if (searchSectionWidth.value) {\r\n await fetchAspectRatio();\r\n searchAspectRatio.value = sizeSeg[1] || undefined;\r\n }\r\n if (searchAspectRatio.value) {\r\n await fetchRimSize();\r\n searchRimSize.value = sizeSeg[2] || undefined;\r\n }\r\n }\r\n setupTreadSizes();\r\n})\r\n\r\nfunction returnToRange() {\r\n const back = window.history.state.back;\r\n let isPrev: boolean = false;\r\n if(back) {\r\n const backRoute = router.resolve(back);\r\n if(backRoute.name) {\r\n isPrev = true;\r\n }\r\n }\r\n\r\n if(isPrev) {\r\n router.back();\r\n }\r\n else {\r\n let param = {};\r\n if (searchRimSize.value) {\r\n param = { sectionWidth: searchSectionWidth.value, aspectRatio: searchAspectRatio.value, rimSize: searchRimSize.value };\r\n }\r\n router.push({name: \"TyreRange\", params: param});\r\n }\r\n}\r\n\r\nfunction viewEvent(item: TyreDetail) {\r\n let ecommerce: GoogleAnalyticsEcommerceObj = {\r\n currency: \"ZAR\",\r\n items: []\r\n }\r\n ecommerce.items = Object.values(item.availableSizes).map((item: TyreListViewModel, index: number) => {\r\n let itemObj: any = {\r\n sku: item.sku,\r\n item_name: item.title,\r\n item_brand: item.tyreTreadPattern.tyreBrand.title,\r\n index: index\r\n };\r\n if (item.price > 0) {\r\n itemObj = { ...itemObj, price: item.price };\r\n }\r\n\r\n return itemObj;\r\n })\r\n gtmDatalayerEvent(\"view_item\", ecommerce, \"ecommerce\")\r\n}\r\n\r\nfunction handleTabChange(tabName: TabPaneName) {\r\n activeTab.value = tabName as ResourceTabs;\r\n let query = { resourseTab: activeTab.value };\r\n\r\n if (route.query.size) {\r\n Object.assign((query), { size: route.query.size });\r\n }\r\n router.replace({ query: query });\r\n}\r\n\r\nasync function sizeSearch() {\r\n const sizeString = `${searchSectionWidth.value}-${searchAspectRatio.value}-${searchRimSize.value}`;\r\n\r\n initialLoad.value = false;\r\n const treadPattern = await getTyreTreadPatternBySlug(props.slug);\r\n let treadId;\r\n \r\n if (searchRimSize.value) {\r\n treadId = item.value.id;\r\n router.replace({\r\n query: { size: sizeString}\r\n })\r\n }\r\n else {\r\n treadId = treadPattern.id;\r\n router.replace({\r\n query: undefined\r\n })\r\n }\r\n\r\n item.value.availableSizes = orderTreadSize(await getTyres(1, 99999, searchSectionWidth.value, searchAspectRatio.value, searchRimSize.value, treadId));\r\n}\r\n\r\nasync function loadInitialData() {\r\n miscStore.isLoading = true;\r\n const treadPattern = await getTyreTreadPatternBySlug(props.slug);\r\n allTreadSizes.value = orderTreadSize(await getTyres(1, 99999, undefined, undefined, undefined, treadPattern.id));\r\n \r\n item.value = {\r\n ...treadPattern,\r\n availableSizes: allTreadSizes.value\r\n };\r\n miscStore.isLoading = false;\r\n\r\n setTimeout(() => {\r\n const currentSize = document.querySelector(\".current-size\");\r\n SizeTable.value.scrollTo(0, currentSize ? currentSize.offsetTop : 0);\r\n }, 500);\r\n \r\n if(!itemMeta.value.image.length) {\r\n activeTab.value = 'videos';\r\n }\r\n if(!itemMeta.value.video.length) {\r\n activeTab.value = 'documents';\r\n }\r\n}\r\n\r\nfunction orderTreadSize(res: PagedResultOfTyreListViewModel): TyreListViewModel[] {\r\n // TODO: stop sorting in TS- tyre size by full size\r\n return res.data.sort((a: TyreListViewModel, b: TyreListViewModel) => a.size.localeCompare(b.size));\r\n}\r\n\r\nwatch(searchSectionWidth, (change) => {\r\n if (!change) {\r\n searchAspectRatio.value = undefined;\r\n }\r\n})\r\n\r\nwatch(searchAspectRatio, (change) => {\r\n if (!change) {\r\n searchRimSize.value = undefined;\r\n }\r\n})\r\n\r\nfunction setupTreadSizes() {\r\n // Filter the dropdown list (currently all SW on system)...\r\n sectionWidthDdl.value = sectionWidthDdl.value.filter(\r\n // ...based on sizes available for this tread pattern...\r\n (DdlSW: string) => allTreadSizes.value.find(\r\n // ...where the tread's available SW exists on the DDL\r\n (treadSW: TyreListViewModel) => treadSW.sectionWidth == DdlSW\r\n )\r\n );\r\n\r\n // TODO: stop sorting in TS- tyre size by section width\r\n item.value.availableSizes = item.value.availableSizes.sort((a: TyreListViewModel, b: TyreListViewModel) => +a.sectionWidth - +b.sectionWidth);\r\n}\r\n\r\nasync function fetchAspectRatio() {\r\n searchAspectRatio.value = undefined;\r\n aspectRatioDdl.value = await listAspectRatio(searchSectionWidth.value);\r\n \r\n // Filter the dropdown list (currently all AR on system)...\r\n aspectRatioDdl.value = aspectRatioDdl.value.filter(\r\n // ...based on sizes available for this tread pattern...\r\n (DdlAR: string) => allTreadSizes.value.find(\r\n // ...where the tread's size contains SW + AR\r\n (tyre: TyreListViewModel) => {\r\n // console.log(tyre.size, `${searchSectionWidth.value}/${DdlAR}`, tyre.size.search(`${searchSectionWidth.value}/${DdlAR}`) > -1)\r\n return tyre.size.search(`${searchSectionWidth.value}/${DdlAR}`) > -1\r\n }\r\n )\r\n );\r\n if(aspectRatioDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"aspectRatio\")?.focus();\r\n document.getElementById(\"aspectRatio\")?.click();\r\n }, 0);\r\n }\r\n}\r\n\r\nasync function fetchRimSize() {\r\n searchRimSize.value = undefined;\r\n rimSizeDdl.value = await listRimSize(searchAspectRatio.value, searchSectionWidth.value);\r\n \r\n // Filter the dropdown list (currently all AR on system)...\r\n rimSizeDdl.value = rimSizeDdl.value.filter(\r\n // ...based on sizes available for this tread pattern...\r\n (DdlRS: string) => allTreadSizes.value.find(\r\n // ...where the tread's size contains SW + AR + RS\r\n (tyre: TyreListViewModel) => tyre.size.search(`${searchSectionWidth.value}/${searchAspectRatio.value}R${DdlRS}`) > -1\r\n )\r\n );\r\n if(rimSizeDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"rimSize\")?.focus();\r\n document.getElementById(\"rimSize\")?.click();\r\n }, 0);\r\n }\r\n}\r\n\r\nfunction tableRowClassName ({ row, rowIndex }: { row: TyreListViewModel, rowIndex: number }) {\r\n if (initialLoad.value && route.query.size && row.purchaseUrl.search(route.query.size) > -1) {\r\n return 'current-size'\r\n }\r\n return ''\r\n}\r\n\r\nfunction qtRegionSelect(tyre: TyreListViewModel) {\r\n purchaseTyre.value = tyre;\r\n}\r\n\r\nfunction qtRegionClose() {\r\n purchaseTyre.value = null;\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_image = _resolveComponent(\"el-image\")!\n const _component_el_tab_pane = _resolveComponent(\"el-tab-pane\")!\n const _component_el_tabs = _resolveComponent(\"el-tabs\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(QTRegionDialog, {\n onClose: qtRegionClose,\n treadPattern: _unref(purchaseTyre)\n }, null, 8, [\"treadPattern\"]),\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n (item.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(Banner, {\n alias: \"banner-tyre-range\",\n imageObj: { title: null }\n }),\n _createVNode(MainContainer, { class: \"mb-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (itemThumbnail.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-fluid\",\n src: _unref(getQTMedia)() + itemThumbnail.value.value,\n alt: itemThumbnail.value.title || `${item.value.title} tyre image`,\n onError: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_unref(thumbnailImageError) && _unref(thumbnailImageError)(...args)))\n }, null, 40, _hoisted_4))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"img-fluid no-image-data\",\n src: _unref(getFallbackTyreImg)(),\n alt: `${item.value.title} tyre image`,\n \"data-src-error\": \"thumbnail property missing\"\n }, null, 8, _hoisted_5))\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", {\n class: _normalizeClass(['text-white d-lg-inline-block', {'bg-primary': item.value.title}])\n }, [\n _createElementVNode(\"i\", null, [\n (item.value.tyreBrand)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(item.value.tyreBrand.title), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\" \" + _toDisplayString(item.value.title), 1)\n ])\n ], 2)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(item.value.description), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"a\", {\n class: \"btn sm-btn btn-secondary my-2\",\n onClick: returnToRange\n }, [\n _hoisted_11,\n _createTextVNode(\" back to tyre range\")\n ]),\n _hoisted_12,\n (item.value.facts)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"p\", {\n style: {\"white-space\":\"pre\",\"text-wrap\":\"pretty\"},\n innerHTML: item.value.facts\n }, null, 8, _hoisted_15)\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_16\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"form\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_isRef(searchSectionWidth) //@ts-ignore\n ? searchSectionWidth.value = undefined : searchSectionWidth = undefined; sizeSearch();}),\n class: _normalizeClass(['btn btn-outline-dark sm-btn w-auto', {'invisible': !_unref(searchSectionWidth)}])\n }, _hoisted_25, 2)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _withDirectives(_createElementVNode(\"select\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(searchSectionWidth) ? (searchSectionWidth).value = $event : searchSectionWidth = $event)),\n placeholder: \"Section Width\",\n class: \"form-select form-select-sm\",\n id: \"SectionWidth\",\n name: \"SectionWidth\",\n disabled: !_unref(sectionWidthDdl).length,\n onChange: fetchAspectRatio\n }, [\n _hoisted_28,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(sectionWidthDdl), (item) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: item,\n key: `section-width-${item}`\n }, _toDisplayString(item), 9, _hoisted_29))\n }), 128))\n ], 40, _hoisted_27), [\n [_vModelSelect, _unref(searchSectionWidth)]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _withDirectives(_createElementVNode(\"select\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_isRef(searchAspectRatio) ? (searchAspectRatio).value = $event : searchAspectRatio = $event)),\n placeholder: \"Aspect Ratio\",\n class: \"form-select form-select-sm\",\n id: \"AspectRatio\",\n name: \"AspectRatio\",\n disabled: !_unref(searchSectionWidth),\n onChange: fetchRimSize\n }, [\n _createElementVNode(\"option\", {\n selected: !_unref(searchAspectRatio),\n disabled: \"\",\n hidden: \"\",\n value: \"\"\n }, \"Aspect Ratio\", 8, _hoisted_32),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(aspectRatioDdl), (item) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: item,\n key: `aspect-ratio-${item}`\n }, _toDisplayString(item), 9, _hoisted_33))\n }), 128))\n ], 40, _hoisted_31), [\n [_vModelSelect, _unref(searchAspectRatio)]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _withDirectives(_createElementVNode(\"select\", {\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_isRef(searchRimSize) ? (searchRimSize).value = $event : searchRimSize = $event)),\n placeholder: \"Rim Size\",\n class: \"form-select form-select-sm\",\n id: \"RimSize\",\n name: \"RimSize\",\n disabled: !_unref(searchAspectRatio),\n onChange: sizeSearch\n }, [\n _createElementVNode(\"option\", {\n selected: !_unref(searchRimSize),\n disabled: \"\",\n hidden: \"\",\n value: \"\"\n }, \"Rim Size\", 8, _hoisted_36),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rimSizeDdl), (item) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: item,\n key: `rim-size-${item}`\n }, _toDisplayString(item), 9, _hoisted_37))\n }), 128))\n ], 40, _hoisted_35), [\n [_vModelSelect, _unref(searchRimSize)]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", {\n onClick: sizeSearch,\n class: _normalizeClass(['btn btn-secondary sm-btn w-auto', {'disabled': !_unref(searchSectionWidth)}])\n }, _hoisted_40, 2)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_41, [\n _createVNode(_component_el_table, {\n ref_key: \"SizeTable\",\n ref: SizeTable,\n class: \"sizes-table w-100\",\n data: item.value.availableSizes,\n height: item.value.availableSizes.length > 4 ? 250 : 'auto',\n \"row-class-name\": tableRowClassName\n }, {\n empty: _withCtx(() => [\n _createTextVNode(\" No sizes available. \")\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n prop: \"size\",\n label: \"Size\",\n \"min-width\": \"88\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"loadIndex\",\n label: \"Load Index\",\n \"min-width\": \"88\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"speedIndex\",\n label: \"Speed Index\",\n \"min-width\": \"88\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"sku\",\n label: \"SKU\",\n \"min-width\": \"90\"\n }),\n (_unref(isQTEnabled)())\n ? (_openBlock(), _createBlock(_component_el_table_column, {\n key: 0,\n prop: \"price\",\n label: \"Price\",\n align: \"right\",\n \"min-width\": \"100\"\n }, {\n default: _withCtx(({ row }) => [\n (row.price)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\" R \" + _toDisplayString(row.price.toFixed(2)), 1)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [], 64))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_table_column, {\n fixed: \"right\",\n align: \"center\",\n width: !_unref(isSm) ? '125' : '60'\n }, {\n default: _withCtx(({ row }) => [\n (_unref(isQTEnabled)() && row.purchaseUrl && row.sellOnSurface)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n onClick: _withModifiers(($event: any) => (qtRegionSelect(row)), [\"prevent\"]),\n class: \"btn sm-btn btn-primary w-auto mx-sm-3\"\n }, [\n (!_unref(isSm))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Buy now\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_43,\n _hoisted_44\n ], 64))\n ], 8, _hoisted_42))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"width\"]),\n _createVNode(_component_el_table_column, {\n fixed: \"right\",\n align: \"center\",\n width: !_unref(isSm) ? '174' : '90'\n }, {\n default: _withCtx(({ row }) => [\n _createVNode(_component_router_link, {\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_unref(scrollTop)())),\n to: { name: 'RequestQuote', query: { tread: row.tyreTreadPattern.id, sku: row.sku, size: `${row.sectionWidth}-${row.aspectRatio}-${row.rimSize}` } },\n class: \"btn sm-btn btn-primary w-auto mx-sm-3\"\n }, {\n default: _withCtx(() => [\n _hoisted_45\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }, 8, [\"width\"])\n ]),\n _: 1\n }, 8, [\"data\", \"height\"]),\n _createElementVNode(\"div\", _hoisted_46, [\n _createVNode(_component_router_link, {\n target: \"_blank\",\n to: { name: 'TyreResources' },\n class: \"btn sm-btn btn-secondary mt-4 mb-2\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"New to tyres? Click here to get on the right track!\")\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]),\n _createVNode(QtStoreList),\n (itemMeta.value.image.length || itemMeta.value.video.length || itemMeta.value.document.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_47, [\n _hoisted_48,\n _hoisted_49,\n _createElementVNode(\"div\", _hoisted_50, [\n _createVNode(_component_el_tabs, {\n \"tab-position\": \"left\",\n class: \"resources-tabs\",\n type: \"card\",\n modelValue: _unref(activeTab),\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_isRef(activeTab) ? (activeTab).value = $event : activeTab = $event)),\n onTabChange: handleTabChange\n }, {\n default: _withCtx(() => [\n (itemMeta.value.image.length)\n ? (_openBlock(), _createBlock(_component_el_tab_pane, {\n key: 0,\n name: \"images\",\n label: \"Images\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_51, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(itemMeta.value.image, (image, index) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_52, [\n _createVNode(_component_el_image, {\n src: _unref(getQTMedia)() + image.value,\n alt: image.title,\n \"zoom-rate\": 1.2,\n \"max-scale\": 7,\n \"min-scale\": 0.2,\n \"preview-src-list\": metaImageList.value,\n \"hide-on-click-modal\": true,\n \"initial-index\": index,\n fit: \"cover\"\n }, null, 8, [\"src\", \"alt\", \"preview-src-list\", \"initial-index\"])\n ]))\n }), 256))\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (itemMeta.value.video.length)\n ? (_openBlock(), _createBlock(_component_el_tab_pane, {\n key: 1,\n name: \"videos\",\n label: \"Videos\"\n }, {\n default: _withCtx(() => [\n (_unref(activeTab) == 'videos')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_53, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(itemMeta.value.video, (video) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_54, [\n _createElementVNode(\"iframe\", {\n src: _unref(formatVideoMedia)(video.value),\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\",\n referrerpolicy: \"strict-origin-when-cross-origin\",\n allowfullscreen: \"\",\n title: video.title\n }, null, 8, _hoisted_55)\n ]))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (itemMeta.value.document.length)\n ? (_openBlock(), _createBlock(_component_el_tab_pane, {\n key: 2,\n name: \"documents\",\n label: \"Tech Specs & Documents\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_56, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(itemMeta.value.document, (document) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_57, [\n _createElementVNode(\"a\", {\n target: \"_blank\",\n href: _unref(getQTMedia)() + document.value,\n class: \"d-flex flex-column align-items-center\"\n }, [\n _createElementVNode(\"i\", {\n title: document.value,\n class: \"bi bi-file-earmark-fill fs-1\"\n }, null, 8, _hoisted_59),\n _createElementVNode(\"div\", _hoisted_60, _toDisplayString(document.title), 1)\n ], 8, _hoisted_58)\n ]))\n }), 256))\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./TyreDetailView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreDetailView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TyreDetailView.vue?vue&type=style&index=0&id=bb28fe72&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-bb28fe72\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9d4e000a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: /*#__PURE__*/_normalizeClass(['h5 mt-3 mb-1'])\n}\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 0 }\n\nimport Image from '@/components/general/Image.vue';\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'PromotionThumbnail',\n props: {\r\n promotion: {type: Object}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n function getPromoUrl() {\r\n if (props.promotion?.bodyCopy.contentItems.length < 1) {\r\n return {};\r\n }\r\n\r\n return { name: 'PromotionDetailView', params: { slug : props.promotion!.alias.alias }};\r\n }\r\n\r\n function getPromoDuration() {\r\n const isSameYear = props.promotion?.end && new Date(props.promotion?.start).getFullYear() === new Date(props.promotion?.end).getFullYear();\r\n const shortDate: Intl.DateTimeFormatOptions = { month:\"short\", day:\"numeric\"};\r\n const fullDate: Intl.DateTimeFormatOptions = { year:\"numeric\", month:\"short\", day:\"numeric\"};\r\n\r\n const startDate = new Date(props.promotion?.start).toLocaleDateString('en-za', isSameYear ? shortDate : fullDate);\r\n const endDate = new Date(props.promotion?.end).toLocaleDateString('en-za', fullDate);\r\n if (!props.promotion?.end) {\r\n return \"Starts \" + startDate;\r\n }\r\n else if (!props.promotion?.start) {\r\n return \"Ends \" + endDate;\r\n }\r\n return startDate + \" - \" + endDate;\r\n }\r\n\r\n function getPromoIndicator() {\r\n const now = new Date();\r\n const yesterday = -(24 * 60 * 60 * 1000);\r\n const startDate = new Date(props.promotion?.start);\r\n const endDate = new Date(props.promotion?.end);\r\n if (props.promotion?.end && new Date(now.getTime() + yesterday) > endDate) {\r\n // promo expire\r\n return \"alert-warning\";\r\n }\r\n else if (props.promotion?.start && now < startDate) {\r\n // promo upcomming\r\n return \"alert-success\";\r\n }\r\n // promo in progress\r\n return \"alert-primary\";\r\n }\r\n\r\n function clickPromotionEvent(destination: string = \"TnC\") {\r\n const event = {\r\n title: props.promotion!.displayText,\r\n destination: destination\r\n };\r\n gtmDatalayerEvent(\"promotion_click\", event);\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (__props.promotion)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(['d-block text-decoration-none mt-2 mb-5 my-md-3', {'no-tncs': !__props.promotion.bodyCopy.contentItems.length}])\n }, [\n _createElementVNode(\"div\", null, [\n _createVNode(Image, {\n src: __props.promotion.thumbnailImage.urls[0]\n }, null, 8, [\"src\"])\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([{'mb-2': __props.promotion.blurb}])\n }, [\n _createElementVNode(\"h2\", _hoisted_1, _toDisplayString(__props.promotion.displayText), 1),\n (__props.promotion.start || __props.promotion.end)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass(['d-inline-block mt-1 mb-2 py-1 alert', getPromoIndicator()])\n }, [\n _createElementVNode(\"small\", null, _toDisplayString(getPromoDuration()), 1)\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2),\n (__props.promotion.blurb)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, [\n _createElementVNode(\"i\", null, _toDisplayString(__props.promotion.blurb), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (__props.promotion.additionalPromotionLink.url)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 1,\n class: \"btn btn-primary\",\n to: __props.promotion.additionalPromotionLink.url,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (clickPromotionEvent('Promotion Page')))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"i\", null, _toDisplayString(__props.promotion.additionalPromotionLink.text), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true),\n (__props.promotion.display)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 2,\n class: _normalizeClass(['btn', {'btn-primary': __props.promotion.additionalPromotionLink.url == ''}, {'btn-secondary mt-2': __props.promotion.additionalPromotionLink.url != ''}]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (clickPromotionEvent('TnC'))),\n to: getPromoUrl()\n }, {\n default: _withCtx(() => [\n (__props.promotion.bodyCopy.contentItems.length)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_3, \"TnC's apply\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"class\", \"to\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./PromotionThumbnail.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PromotionThumbnail.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PromotionThumbnail.vue?vue&type=style&index=0&id=9d4e000a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9d4e000a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"position-relative\" }\nconst _hoisted_2 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n}\nconst _hoisted_3 = { class: \"row justify-content-center justify-content-sm-around justify-content-xl-start\" }\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"alert alert-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Sorry, we have no promotions running at this time... check again soon\")\n], -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import PromotionThumbnail from '@/components/general/PromotionThumbnail.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import { getPromotionList } from \"@/utilities/graphql\";\r\n import { promotionObj } from '@/utilities/graphql/promotion';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'PromotionListView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var promotions: Ref<any | undefined> = ref(undefined)\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getPromotionList(ApolloClient).then(res => {\r\n promotions.value = res as promotionObj\r\n miscStore.isLoadingOverride = false;\r\n });\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-promotions\" }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"promotions-intro\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_unref(promotions) && _unref(promotions).length)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_unref(promotions), (promotion, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-10 col-sm-8 col-md-6 col-lg-4 col-xxl-3\",\n key: `promotion-${index}`\n }, [\n _createVNode(PromotionThumbnail, {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": `${.9 + (.2 * (index%4))}s`,\n promotion: promotion\n }, null, 8, [\"data-wow-delay\", \"promotion\"])\n ]))\n }), 128))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_6))\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./PromotionListView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PromotionListView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2d5a971f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_4 = {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \".85s\"\n}\nconst _hoisted_5 = {\n key: 0,\n class: \"h6 fw-normal mb-0\"\n}\nconst _hoisted_6 = { class: \"promo-body\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { getPromotion } from \"@/utilities/graphql\";\r\n import { promotionObj } from '@/utilities/graphql/promotion';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import { useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'PromotionDetailView',\n props: {\r\n slug: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var promotion: Ref<any | undefined> = ref(undefined);\r\n\r\n const router = useRouter();\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n if(props.slug != null && props.slug != '') {\r\n await getPromotion(ApolloClient, props.slug).then(res => {\r\n promotion.value = res as promotionObj\r\n miscStore.isLoadingOverride = false;\r\n \r\n let eventName = \"promotion_view\";\r\n\r\n if (!promotion.value.display || !promotion.value.bodyCopy.contentItems.length) {\r\n console.warn('%cPROMOTION REDIRECT:',\r\n \"color: #413C26; background-color: #FDF38C; font-weight: 800; font-size: 14px; padding: 2px 3px;\",\r\n !promotion.value.display ? 'promo not active' : 'no tnc content');\r\n\r\n eventName = \"promotion_redirect\";\r\n\r\n // router.push({ name: 'Promotions' });\r\n }\r\n \r\n const event = {\r\n title: promotion.value.displayText\r\n };\r\n gtmDatalayerEvent(eventName, event);\r\n });\r\n }\r\n else {\r\n miscStore.isLoadingOverride = false;\r\n router.push({ name: 'Promotions' });\r\n }\r\n })\r\n\r\n function getBannerUrl(promo: any | promotionObj) {\r\n return promo.bannerImage.urls[0];\r\n }\r\n\r\n function getBannerTextPosition(promo: any | promotionObj) {\r\n const alias = promo.alias.alias;\r\n enum TextPosition {\r\n \"hi-q-best-buys-2024\" = \"promo-banner-left\"\r\n };\r\n return TextPosition[alias as keyof typeof TextPosition] || \"\";\r\n }\r\n\r\n function getPromoDuration() {\r\n const isSameYear = promotion.value.end && new Date(promotion.value.start).getFullYear() === new Date(promotion.value.end).getFullYear();\r\n const shortDate: Intl.DateTimeFormatOptions = { month:\"short\", day:\"numeric\"};\r\n const fullDate: Intl.DateTimeFormatOptions = { year:\"numeric\", month:\"short\", day:\"numeric\"};\r\n\r\n const startDate = new Date(promotion.value.start).toLocaleDateString('en-za', isSameYear ? shortDate : fullDate);\r\n const endDate = new Date(promotion.value.end).toLocaleDateString('en-za', fullDate);\r\n if (!promotion.value.end) {\r\n return \"from \" + startDate;\r\n }\r\n else if (!promotion.value.start) {\r\n return \"until \" + endDate;\r\n }\r\n return startDate + \" - \" + endDate;\r\n }\r\n\r\n function getPromoIndicator() {\r\n if (!promotion.value.start && !promotion.value.end) return \"\";\r\n\r\n const now = new Date();\r\n const yesterday = -(24 * 60 * 60 * 1000);\r\n const startDate = new Date(promotion.value.start);\r\n const endDate = new Date(promotion.value.end);\r\n if (promotion.value.end && new Date(now.getTime() + yesterday) > endDate) {\r\n // promo expire\r\n return \"alert-warning\";\r\n }\r\n else if (promotion.value.start && now < startDate) {\r\n // promo upcomming\r\n return \"alert-primary\";\r\n }\r\n // promo in progress\r\n return \"alert-success\";\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(promotion))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(['banner-' + _unref(promotion).alias.alias, getBannerTextPosition(_unref(promotion))])\n }, [\n (_unref(promotion).bannerImage.urls.length)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n isTextMaxWidth: true,\n imageObj: { src: getBannerUrl(_unref(promotion)), title: _unref(promotion).displayText },\n bannerContainsText: _unref(promotion).bannerContainsText\n }, null, 8, [\"imageObj\", \"bannerContainsText\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: \"banner-promotions\",\n isTextMaxWidth: true,\n imageObj: { title: _unref(promotion).displayText },\n bannerContainsText: _unref(promotion).bannerContainsText\n }, null, 8, [\"imageObj\", \"bannerContainsText\"]))\n ], 2),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n (_unref(promotion).display)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: 'Promotions' },\n class: \"btn sm-btn btn-secondary wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to promotions \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(['mt-3', {'my-3 alert': _unref(promotion).start || _unref(promotion).end}, getPromoIndicator()])\n }, [\n (_unref(promotion).start || _unref(promotion).end)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_5, [\n _createTextVNode(\"Promotion valid \"),\n _createElementVNode(\"u\", null, _toDisplayString(getPromoDuration()), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(promotion).bodyCopy.contentItems, (item, index) => {\n return (_openBlock(), _createBlock(ContentBlock, {\n key: index,\n content: item\n }, null, 8, [\"content\"]))\n }), 128))\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./PromotionDetailView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PromotionDetailView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PromotionDetailView.vue?vue&type=style&index=0&id=2d5a971f&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2d5a971f\"]])\n\nexport default __exports__","import { PagedResultOfStoreListViewModel, PagedResultOfString } from \"@/api-client\";\r\nimport { Stores } from \"@/network/api\";\r\nimport { handleError } from \"@/utilities\";\r\n\r\n// Stores\r\nexport function getStoresCities(pageNumber: number = 1, pageSize: number = 99999, region : string): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Stores.apiStoresCitiesGet(pageNumber, pageSize, region)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n // TODO: stop sorting cities by name in TS\r\n res.data.data = res.data.data.sort((a: string, b: string) => a.localeCompare(b));\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getStoresRegions(pageNumber: number = 1, pageSize: number = 99999): Promise<PagedResultOfString> {\r\n return new Promise((resolve, reject) => {\r\n Stores.apiStoresRegionsGet(pageNumber, pageSize)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n // TODO: stop sorting regions by name in TS\r\n res.data.data = res.data.data.sort((a: string, b: string) => a.localeCompare(b));\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getStores(pageNumber: number = 1, pageSize: number = 99999, tradingName: string | undefined, regionName: string, city: string | undefined = undefined): Promise<PagedResultOfStoreListViewModel> {\r\n return new Promise((resolve, reject) => {\r\n Stores.apiStoreGet(pageNumber, pageSize, tradingName, regionName, city)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\nexport function getStoresNearMe(pageNumber: number = 1, pageSize: number = 99999, latitude: number = -29.85848736558187, longitude: number = 31.030541625019545): Promise<PagedResultOfStoreListViewModel> {\r\n return new Promise((resolve, reject) => {\r\n Stores.apiStoresNearMeGet(pageNumber, pageSize, longitude, latitude)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\ntype DdlItem = {\r\n id: string,\r\n name: string\r\n}\r\n\r\nexport const provincesDdl: DdlItem[] = [\r\n {\r\n id: \"3\",\r\n name: \"Gauteng\",\r\n },\r\n {\r\n id: \"9\",\r\n name: \"Western Cape\",\r\n },\r\n {\r\n id: \"7\",\r\n name: \"Northern Cape\",\r\n },\r\n {\r\n id: \"1\",\r\n name: \"Eastern Cape\",\r\n },\r\n {\r\n id: \"2\",\r\n name: \"Free State\",\r\n },\r\n {\r\n id: \"4\",\r\n name: \"KwaZulu-Natal\",\r\n },\r\n {\r\n id: \"8\",\r\n name: \"North West\",\r\n },\r\n {\r\n id: \"5\",\r\n name: \"Limpopo\",\r\n },\r\n {\r\n id: \"6\",\r\n name: \"Mpumalanga\",\r\n }\r\n]","import { CreateContactRequestCommand, CreateQuoteRequestCommand, CreateFranchiseApplicationCommand, CreateFleetContactRequestCommand, JsonResponseOfGuid, CreateCampaignSubmissionCommand } from \"@/api-client\";\r\nimport { ContactRequests, QuoteRequests, FranchiseRequests, FleetContactRequests, CampaignSubmissions } from \"@/network/api\";\r\nimport { handleError, scrollTop } from \"@/utilities\";\r\nimport { ElMessage } from \"element-plus\";\r\nimport { gtmDatalayerEvent } from \"@/utilities\";\r\n\r\n// ContactRequests\r\nexport function postContactRequest(item: CreateContactRequestCommand): Promise<JsonResponseOfGuid> {\r\n return new Promise((resolve, reject) => {\r\n ContactRequests.apiContactRequestPost(item)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n scrollTop()\r\n ElMessage.success({ message: \"Request submitted!\", showClose: true, grouping: true });\r\n\r\n const event = {\r\n name: item.firstName,\r\n surname: item.lastName,\r\n email: item.email,\r\n };\r\n gtmDatalayerEvent(\"contact_us\", event);\r\n\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// QuoteStart\r\nexport function startQuoteRequest() {\r\n gtmDatalayerEvent(\"raq_form_started\");\r\n}\r\n\r\n// QuoteRequests\r\nexport function postQuoteRequest(item: CreateQuoteRequestCommand): Promise<JsonResponseOfGuid> {\r\n return new Promise((resolve, reject) => {\r\n QuoteRequests.apiQuoteRequestPost(item)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n scrollTop()\r\n ElMessage.success({ message: \"Request submitted!\", showClose: true, grouping: true });\r\n\r\n const event = {\r\n name: item.firstName,\r\n surname: item.lastName,\r\n email: item.email,\r\n tel: item.phoneNumber,\r\n province: item.province,\r\n city: item.city,\r\n store: item.store,\r\n vehicleManufacturer: item.vehicleManufacturer,\r\n vehicleModel: item.vehicleModel,\r\n vehicleYear: item.vehicleYear,\r\n quoteRequestProducts: item.quoteRequestProducts,\r\n quoteRequestServices: item.quoteRequestServices\r\n };\r\n gtmDatalayerEvent(\"quote_request_submitted\", event);\r\n\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// FranchiseRequest\r\nexport function postFranchiseForm(item: CreateFranchiseApplicationCommand): Promise<JsonResponseOfGuid> {\r\n return new Promise((resolve, reject) => {\r\n FranchiseRequests.apiFranchiseApplicationPost(item)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n scrollTop()\r\n ElMessage.success({ message: \"Request submitted!\", showClose: true, grouping: true });\r\n\r\n const event = {\r\n name: item.firstName,\r\n surname: item.lastName,\r\n email: item.email,\r\n };\r\n gtmDatalayerEvent(\"franchise_form_submit\", event);\r\n\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// FleetAccount\r\nexport function postFleetAccountRequest(item: CreateFleetContactRequestCommand): Promise<JsonResponseOfGuid> {\r\n return new Promise((resolve, reject) => {\r\n FleetContactRequests.apiFleetContactRequestPost(item)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n scrollTop()\r\n ElMessage.success({ message: \"Request submitted!\", showClose: true, grouping: true });\r\n\r\n const event = {\r\n companyName: item.companyName,\r\n name: item.firstName,\r\n surname: item.lastName,\r\n email: item.email,\r\n tel: item.phoneNumber,\r\n industry: item.industry,\r\n numberVehiclesInFleet: item.numberVehiclesInFleet,\r\n typesOfVehicles: item.typesOfVehicles,\r\n geographicCoverage: item.geographicCoverage\r\n };\r\n gtmDatalayerEvent(\"fleet_account_submitted\", event);\r\n\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}\r\n\r\n// CampaignCapture\r\nexport function postCampaignCapture(item: CreateCampaignSubmissionCommand): Promise<JsonResponseOfGuid> {\r\n return new Promise((resolve, reject) => {\r\n CampaignSubmissions.apiCampaignSubmissionPost(item)\r\n .then((res) => {\r\n if ([200, 201, 204].includes(res.status)) {\r\n scrollTop()\r\n ElMessage.success({ message: \"Request submitted!\", showClose: true, grouping: true });\r\n\r\n const event = {\r\n campaignTitle: item.campaignTitle,\r\n province: item.province,\r\n city: item.city,\r\n store: item.store,\r\n selloutDate: item.selloutDate,\r\n claimedDate: item.claimedDate,\r\n tyreSize: item.tyreSize,\r\n numberOfTyres: item.numberOfTyres,\r\n amount: item.amount || \"n/a\"\r\n };\r\n gtmDatalayerEvent(\"campaign_capture_submitted\", event);\r\n\r\n resolve(res.data);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-247772dd\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"d-flex flex-column col-12\" }\nconst _hoisted_3 = [\"action\"]\nconst _hoisted_4 = [\"name\", \"multiple\", \"disabled\", \"accept\"]\nconst _hoisted_5 = [\"disabled\", \"innerHTML\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"text-center m-0 p-0\"\n}\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = {\n key: 2,\n class: \"col-12 d-flex\"\n}\nconst _hoisted_10 = { class: \"col-12 d-flex flex-wrap align-items-start m-0\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"col-12\"\n}\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = { class: \"col-12 p-1\" }\nconst _hoisted_14 = { class: \"col-12 d-flex align-items-center py-2\" }\nconst _hoisted_15 = [\"onClick\"]\nconst _hoisted_16 = { class: \"m-0\" }\nconst _hoisted_17 = {\n key: 1,\n class: \"col-12 d-flex flex-wrap mt-3\"\n}\nconst _hoisted_18 = [\"src\"]\nconst _hoisted_19 = { class: \"position-absolute img-icons\" }\nconst _hoisted_20 = { class: \"d-flex\" }\nconst _hoisted_21 = [\"onClick\"]\nconst _hoisted_22 = { key: 1 }\nconst _hoisted_23 = { class: \"position-relative d-flex col-12 justify-content-center m-0 p-0\" }\nconst _hoisted_24 = { class: \"col-12 p-1\" }\nconst _hoisted_25 = { class: \"col-12 d-flex align-items-center\" }\nconst _hoisted_26 = { class: \"m-0 fs-6\" }\n\nimport globalAxios from \"axios\";\r\nimport { reactive, ref, Ref, computed, onMounted } from \"vue\";\r\nimport { uploadPath } from \"@/utilities/index\";\r\nimport { ElMessage } from \"element-plus\";\r\n\r\nconst STATUS_INITIAL = 0,\r\n STATUS_SAVING = 1,\r\n // STATUS_SUCCESS = 2,\r\n STATUS_FAILED = 3;\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FileUploader',\n props: {\r\n // buttonRef: { type: String, default: '' },\r\n // fileRef: { type: String, default: '' },\r\n buttonText: { default: \"Choose File\" },\r\n buttonClass: { default: \"btn btn-tertiary mt-1 px-3 px-md-4 px-xl-5\" },\r\n multiple: { type: Boolean, default: false },\r\n uploadTo: { type: String || null || undefined, default: null },\r\n onlyImages: { type: Boolean, default: false },\r\n onlyDocs: { type: Boolean, default: false },\r\n name: { type: String, default: \"fileUpload\" },\r\n},\n emits: [\"delete\", \"view\", \"upload\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\r\n\r\n\r\nconst uploadButton: Ref<any> = ref(null);\r\nconst uploadInput: Ref<any> = ref(null);\r\n\r\nlet currentStatus: Ref<number> = ref(STATUS_INITIAL);\r\nlet buttonDimensions = ref({\r\n height: 50,\r\n width: 100,\r\n});\r\n\r\nconst isInitial = computed(() => {\r\n return currentStatus.value === STATUS_INITIAL;\r\n});\r\nconst isSaving = computed(() => {\r\n return currentStatus.value === STATUS_SAVING;\r\n});\r\n// const isSuccess = computed(() => {\r\n// return currentStatus === STATUS_SUCCESS;\r\n// })\r\n// const isFailed = computed(() => {\r\n// return currentStatus === STATUS_FAILED;\r\n// })\r\n\r\nconst downloadPath = computed(() => {\r\n return `${uploadPath()}/${props.uploadTo}`;\r\n});\r\n\r\nconst disableBtn = computed(() => {\r\n return !props.multiple && props.uploadTo !== '';\r\n});\r\n\r\nonMounted(() => {\r\n window.addEventListener(\"load\", () => setHiddenInputDimensions());\r\n window.addEventListener(\"resize\", () => setHiddenInputDimensions());\r\n setHiddenInputDimensions();\r\n});\r\n\r\nfunction setHiddenInputDimensions() {\r\n buttonDimensions.value.height = uploadButton && uploadButton.value ? uploadButton.value.offsetHeight : 50;\r\n buttonDimensions.value.width = uploadButton && uploadButton.value ? uploadButton.value.offsetWidth : 100;\r\n}\r\n\r\nfunction handleFileName(file: any) {\r\n let arr = file.split(\"/\");\r\n return arr[arr.length - 1];\r\n}\r\n\r\nfunction deleteItem(file: any) {\r\n uploadInput.value.value = \"\";\r\n emit(\"delete\", file);\r\n}\r\n\r\nfunction hideImages(index: any) {\r\n emit(\"view\", index);\r\n}\r\n\r\nfunction filesChange(event: any) {\r\n let files = [...event.target.files];\r\n if (!files.length) return;\r\n files.forEach((file: any) => {\r\n const formData = new FormData();\r\n formData.append(\"file\", file);\r\n save(formData);\r\n });\r\n}\r\n\r\nfunction save(formData: any) {\r\n // upload data to the server\r\n currentStatus.value = STATUS_SAVING;\r\n\r\n upload(formData)\r\n .then((x: any) => {\r\n emit(\"upload\", x);\r\n currentStatus.value = STATUS_INITIAL;\r\n })\r\n .catch((error: any) => {\r\n currentStatus.value = STATUS_FAILED;\r\n });\r\n}\r\n\r\nasync function upload(formData: any) {\r\n const url = uploadPath();\r\n return globalAxios\r\n .post(url, formData)\r\n .then((x: any) => x.data)\r\n .then((img: any) => img.relativePath);\r\n}\r\n\r\nfunction fileValidation(event: any) {\r\n var filePath = uploadInput.value.value;\r\n\r\n // Allowing file type\r\n var allowedExtensions = /(\\.doc|\\.docx|\\.pdf)$/i;\r\n\r\n if (!allowedExtensions.exec(filePath)) {\r\n ElMessage.error({ message: `Incorrect file type selected.</br></br>Allowed file types:</br>.pdf</br>.doc</br>.docx`, showClose: true, grouping: true, dangerouslyUseHTMLString: true, duration: 3000 });\r\n uploadInput.value.value = \"\";\r\n } else {\r\n filesChange(event)\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.uploadTo !== null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (isInitial.value || isSaving.value)\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n action: _unref(uploadPath)(),\n enctype: \"multipart/form-data\",\n novalidate: \"\"\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"dropbox flex-column\", { 'disabled-dropbox': isSaving.value }])\n }, [\n _createElementVNode(\"input\", {\n name: __props.name,\n ref_key: \"uploadInput\",\n ref: uploadInput,\n multiple: __props.multiple,\n type: \"file\",\n style: _normalizeStyle({ width: `${_unref(buttonDimensions).width}px`, height: `${_unref(buttonDimensions).height}px` }),\n disabled: isSaving.value || (!__props.multiple && __props.uploadTo !== ''),\n onChange: fileValidation,\n class: \"input-file\",\n accept: __props.onlyImages ? 'image/png, image/jpeg, image/svg+xml' : __props.onlyDocs ? '' : undefined\n }, null, 44, _hoisted_4),\n _createElementVNode(\"div\", null, [\n (isInitial.value)\n ? _renderSlot(_ctx.$slots, \"default\", { key: 0 }, () => [\n _createElementVNode(\"button\", {\n type: \"button\",\n ref_key: \"uploadButton\",\n ref: uploadButton,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (uploadInput.value.click())),\n disabled: disableBtn.value,\n class: _normalizeClass([__props.buttonClass, {'d-none': !props.multiple && __props.uploadTo}]),\n innerHTML: __props.buttonText\n }, null, 10, _hoisted_5)\n ])\n : _createCommentVNode(\"\", true)\n ]),\n (isSaving.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, [\n _createTextVNode(\"Uploading file\"),\n (__props.multiple)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"/s\"))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\"...\")\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 8, _hoisted_3))\n : _createCommentVNode(\"\", true),\n (__props.uploadTo)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n style: _normalizeStyle({ marginTop: `-${!props.multiple && __props.uploadTo ? _unref(buttonDimensions).height + 10 : 5}px` })\n }, [\n _createElementVNode(\"a\", {\n ref: \"downloadButton\",\n download: \"\",\n class: _normalizeClass(__props.buttonClass),\n href: downloadPath.value,\n target: \"_blank\"\n }, \"Download\", 10, _hoisted_8)\n ], 4))\n : _createCommentVNode(\"\", true),\n (__props.multiple ? __props.uploadTo.length : __props.uploadTo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n (__props.multiple)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, [\n (!__props.onlyImages)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.uploadTo, (file, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"position-relative d-flex col-12 justify-content-center m-0 p-0\",\n key: index\n }, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"i\", {\n onClick: ($event: any) => (deleteItem(file)),\n class: \"text-orange bi-trash-fill pe-2 delete-icon\"\n }, null, 8, _hoisted_15),\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(handleFileName(file)), 1)\n ])\n ])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.uploadTo, (image, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"unit-image col-3 col-sm-2 col-xxl-1 position-relative\",\n key: `unit-img-${index}`\n }, [\n _createElementVNode(\"img\", {\n src: `${_unref(uploadPath)()}/${image}`,\n alt: \"\",\n class: \"img-fluid w-100 h-100\"\n }, null, 8, _hoisted_18),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"i\", {\n onClick: hideImages,\n class: \"text-orange bi-eye-fill mx-1 p-1 icon flex-centered\"\n }),\n _createElementVNode(\"i\", {\n onClick: ($event: any) => (deleteItem(index)),\n class: \"text-orange bi-trash-fill mx-1 p-1 icon flex-centered\"\n }, null, 8, _hoisted_21)\n ])\n ])\n ]))\n }), 128))\n ]))\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"i\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (deleteItem(__props.uploadTo))),\n class: \"text-orange bi-trash-fill me-3 delete-icon fs-5\",\n style: {\"cursor\":\"pointer\"}\n }),\n _createElementVNode(\"p\", _hoisted_26, _toDisplayString(handleFileName(__props.uploadTo)), 1)\n ])\n ])\n ])\n ]))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./FileUploader.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FileUploader.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FileUploader.vue?vue&type=style&index=0&id=247772dd&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-247772dd\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"row flex-wrap\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"w-100 lh-1 mt-2\" }, \"Max. file size: 64 MB.\", -1)\nconst _hoisted_4 = { class: \"mt-3 mt-sm-4 d-flex\" }\nconst _hoisted_5 = [\"disabled\"]\nconst _hoisted_6 = {\n key: 1,\n id: \"FormSubmitted\",\n class: \"text-center\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"h1 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Thank you!\")\n], -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-4\" }, \"Invoice capture completed.\", -1)\n\nimport type { FormInstance, FormRules } from \"element-plus\";\r\n\timport { IReCaptchaComposition, useReCaptcha } from \"vue-recaptcha-v3\";\r\n\timport { onBeforeMount, onMounted, reactive, ref, Ref } from \"vue\";\r\n\timport ContentBlock from '@/components/general/ContentBlock.vue';\r\n\timport { ValidateFieldsError } from \"async-validator\";\r\n\timport { handleInvalidForm, scrollTop, formatTimeZone, disabledDate } from \"@/utilities\";\r\n\timport { getStoresCities, getStoresRegions, getStores } from \"@/api-calls/stores\";\r\n\timport { CreateCampaignSubmissionCommand, StoreListViewModel } from \"@/api-client\";\r\n\timport { postCampaignCapture } from \"@/api-calls/contact\";\r\n\timport { useMiscStore } from \"@/stores/misc\";\r\n\timport FileUploader from \"@/components/misc/FileUploader.vue\";\r\n\timport { useRoute, useRouter } from \"vue-router\";\r\n\r\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CampaignCaptureForm',\n setup(__props) {\n\r\n\tconst route = useRoute();\r\n\tconst router = useRouter();\r\n\r\n\tconst miscStore = useMiscStore();\r\n\tconst franchiseFormRef = ref<FormInstance>();\r\n\tlet recapthcaObject: Ref<IReCaptchaComposition | undefined> = ref(undefined);\r\n\tlet formSubmitted = ref(false);\r\n\tlet formData = reactive<CreateCampaignSubmissionCommand>({\r\n\t\tcampaignTitle: route.query.title ? route.query.title.toString() : \"n/a\",\r\n\t\tprovince: \"\",\r\n\t\tcity: \"\",\r\n\t\tstore: \"\",\r\n\t\tselloutDate: \"\",\r\n\t\tclaimedDate: \"\",\r\n\t\ttyreSize: \"\",\r\n\t\tnumberOfTyres: 1,\r\n\t\tamount: 0,\r\n\t\tsellOutInvoiceRelativeUrl: \"\",\r\n\t\tgoogleRecaptchaResponse: \"\"\r\n\t});\r\n\tlet regionsDdl: Ref<string[]> = ref([]);\r\n\tlet citiesDdl: Ref<string[]> = ref([]);\r\n\tlet storesDdl: Ref<StoreListViewModel[]> = ref([]);\r\n\r\n\tconst rules = reactive<FormRules<CreateCampaignSubmissionCommand>>({\r\n\t\tprovince: [{ required: true, message: \"Please enter a province\", trigger: \"change\" }],\r\n\t\tcity: [{ required: true, message: \"Please select a city\", trigger: \"change\" }],\r\n\t\tstore: [{ required: true, message: \"Please select a store\", trigger: \"change\" }],\r\n\t\tselloutDate: [{ required: true, message: \"Please select the sellout date\", trigger: \"change\" }],\r\n\t\tclaimedDate: [{ required: true, message: \"Please select the claimed date\", trigger: \"change\" }],\r\n\t\ttyreSize: [{ required: true, message: \"Please select the tyre size\", trigger: \"change\" }],\r\n\t\tnumberOfTyres: [{ required: true, message: \"Please enter the number of tyres\", trigger: \"change\" }],\r\n\t\tsellOutInvoiceRelativeUrl: [{ required: true, message: \"Please attach a copy of your Sell-Out Invoice to this form\", trigger: \"change\" }]\r\n\t});\r\n\r\n\tonBeforeMount(async () => {\r\n\t\tmiscStore.isLoading = true;\r\n\t\tregionsDdl.value = (await getStoresRegions(1, 99999)).data;\r\n\t\tmiscStore.isLoading = false;\r\n\t});\r\n\r\n\tonMounted(() => {\r\n\t\trecapthcaObject.value = useReCaptcha() as IReCaptchaComposition;\r\n\t});\r\n\r\n\tconst submitForm = async (formEl: FormInstance | undefined) => {\r\n\t\tif (!formEl) return;\r\n\t\tawait formEl.validate(async (valid, fields) => {\r\n\t\t\tif (valid) {\r\n\t\t\t\tawait recaptcha((token: string) => {\r\n\t\t\t\t\tmiscStore.isLoadingOverride = true;\r\n\t\t\t\t\tformData.googleRecaptchaResponse = token;\r\n\t\t\t\t\tpostCampaignCapture(formData).then(() => {\r\n\t\t\t\t\t\tmiscStore.isLoadingOverride = false;\r\n\t\t\t\t\t\tformSubmitted.value = true;\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tscrollTop(\"#FormSubmitted\", true);\r\n\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\thandleInvalidForm(fields as ValidateFieldsError);\r\n\t\t\t}\r\n\t\t});\r\n\t};\r\n\r\n\tasync function recaptcha(callback: Function) {\r\n\t\tif (recapthcaObject) {\r\n\t\t\tconst token = await recapthcaObject.value!.executeRecaptcha(\"application\");\r\n\t\t\tcallback(token);\r\n\t\t}\r\n\t}\r\n\r\n\tfunction handleFileUpload(url: string) {\r\n\t\tformData.sellOutInvoiceRelativeUrl = url;\r\n\t}\r\n\r\n\tfunction handleDeleteUpload() {\r\n\t\tformData.sellOutInvoiceRelativeUrl = \"\";\r\n\t}\r\n\r\n\tasync function fetchCities() {\r\n\t\tformData.city = \"\";\r\n\r\n\t\tif (formData.province) {\r\n\t\t\tcitiesDdl.value = (await getStoresCities(1, 99999, formData.province)).data;\r\n\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tdocument.getElementById(\"city\")?.focus();\r\n\t\t\t\tdocument.getElementById(\"city\")?.click();\r\n\t\t\t}, 0);\r\n\t\t} else {\r\n\t\t\tcitiesDdl.value = [];\r\n\t\t}\r\n\t}\r\n\r\n\tasync function fetchStores() {\r\n\t\tformData.store = \"\";\r\n\r\n\t\tif (formData.city) {\r\n\t\t\tstoresDdl.value = (await getStores(1, 99999, \"\", formData.province, formData.city)).data;\r\n\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tdocument.getElementById(\"store\")?.focus();\r\n\t\t\t\tdocument.getElementById(\"store\")?.click();\r\n\t\t\t}, 0);\r\n\t\t} else {\r\n\t\t\tstoresDdl.value = [];\r\n\t\t}\r\n\t}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (!_unref(formSubmitted))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_form, {\n ref_key: \"franchiseFormRef\",\n ref: franchiseFormRef,\n class: \"col-12 franchise-form py-1\",\n model: _unref(formData),\n rules: rules,\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-3 mb-md-4\",\n label: \"Province *\",\n prop: \"province\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"province\",\n name: \"province\",\n onChange: fetchCities,\n modelValue: _unref(formData).province,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(formData).province) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Province*\",\n loading: _unref(miscStore).isLoading && !_unref(regionsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(regionsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `province-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-3 mb-md-4\",\n label: \"City *\",\n prop: \"city\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"city\",\n name: \"city\",\n title: `${!_unref(formData).province ? 'To enable, select a province' : undefined}`,\n onChange: fetchStores,\n disabled: !_unref(formData).province,\n modelValue: _unref(formData).city,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(formData).city) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"City*\",\n loading: _unref(miscStore).isLoading && !_unref(citiesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(citiesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `city-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-3 mb-md-4\",\n label: \"Store Name *\",\n prop: \"store\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"store\",\n name: \"store\",\n title: `${!_unref(formData).city ? 'To enable, select a province & city' : undefined}`,\n disabled: !_unref(formData).city,\n modelValue: _unref(formData).store,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(formData).store) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Store Name*\",\n loading: _unref(miscStore).isLoading && !_unref(storesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(storesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.tradingName,\n value: item.tradingName,\n key: item.code\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-4 mb-md-4\",\n label: \"Sellout Date *\",\n prop: \"date\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n format: \"DD/MM/YYYY\",\n onChange: _cache[3] || (_cache[3] = ($event: any) => (_unref(formData).selloutDate = _unref(formatTimeZone)(_unref(formData).selloutDate))),\n \"picker-options\": { firstDayOfWeek: 1 },\n clearable: \"\",\n modelValue: _unref(formData).selloutDate,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(formData).selloutDate) = $event)),\n name: \"selloutDate\",\n type: \"date\",\n placeholder: \"Sellout Date*\",\n \"disabled-date\": _unref(disabledDate)\n }, null, 8, [\"modelValue\", \"disabled-date\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-4 mb-md-4\",\n label: \"Date Claimed *\",\n prop: \"date\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n format: \"DD/MM/YYYY\",\n onChange: _cache[5] || (_cache[5] = ($event: any) => (_unref(formData).claimedDate = _unref(formatTimeZone)(_unref(formData).claimedDate))),\n \"picker-options\": { firstDayOfWeek: 1 },\n clearable: \"\",\n modelValue: _unref(formData).claimedDate,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(formData).claimedDate) = $event)),\n name: \"claimedDate\",\n type: \"date\",\n placeholder: \"Date Claimed*\",\n \"disabled-date\": _unref(disabledDate)\n }, null, 8, [\"modelValue\", \"disabled-date\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-3 mb-md-4\",\n label: \"Tyre Size *\",\n prop: \"tyreSize\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"tyreSize\",\n modelValue: _unref(formData).tyreSize,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(formData).tyreSize) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Tyre Size\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_option, {\n label: \"15'' - R100.00\",\n value: \"100\"\n }),\n _createVNode(_component_el_option, {\n label: \"16'' - R125.00\",\n value: \"125\"\n }),\n _createVNode(_component_el_option, {\n label: \"17'' - R150.00\",\n value: \"150\"\n }),\n _createVNode(_component_el_option, {\n label: \"18'' - R200.00\",\n value: \"200\"\n }),\n _createVNode(_component_el_option, {\n label: \"19'' - R250.00\",\n value: \"250\"\n }),\n _createVNode(_component_el_option, {\n label: \"20'' - R300.00\",\n value: \"300\"\n }),\n _createVNode(_component_el_option, {\n label: \"21'' - R625.00\",\n value: \"625\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-4 mb-md-4\",\n label: \"Number Of Tyres *\",\n prop: \"numberOfTyres\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"numberOfTyres\",\n type: \"number\",\n min: 1,\n modelValue: _unref(formData).numberOfTyres,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(formData).numberOfTyres) = $event)),\n placeholder: \"Number of Tyres*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 mb-4 mb-md-4\",\n label: \"Amount\",\n prop: \"amount\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"amount\",\n type: \"number\",\n min: 1,\n modelValue: _unref(formData).amount,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(formData).amount) = $event)),\n placeholder: \"Amount\"\n }, {\n prepend: _withCtx(() => [\n _createTextVNode(\"R\")\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-12 col-lg-4 mb-4 mb-md-4\",\n label: \"Upload - Sell-Out Invoice *\",\n prop: \"sellOutInvoiceRelativeUrl\"\n }, {\n default: _withCtx(() => [\n _createVNode(FileUploader, {\n name: \"sellOutInvoiceRelativeUrl\",\n uploadTo: _unref(formData).sellOutInvoiceRelativeUrl,\n onUpload: handleFileUpload,\n onDelete: handleDeleteUpload,\n buttonText: \"Choose File\",\n buttonClass: \"btn btn-secondary sm-btn\"\n }, null, 8, [\"uploadTo\"]),\n _hoisted_3\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"button\", {\n type: \"button\",\n disabled: _unref(miscStore).isLoadingOverride,\n class: \"btn btn-primary\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (submitForm(franchiseFormRef.value)))\n }, [\n (!_unref(miscStore).isLoadingOverride)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Submit\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Please Wait...\")\n ], 64))\n ], 8, _hoisted_5)\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"]),\n _createVNode(ContentBlock, {\n class: \"mt-4\",\n alias: \"campaign-capture-footer\"\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _hoisted_7,\n _hoisted_8,\n _createElementVNode(\"a\", {\n class: \"btn btn-secondary\",\n onClick: _cache[11] || (_cache[11] = \n//@ts-ignore\n(...args) => (_unref(router).go && _unref(router).go(...args)))\n }, \"Send new invoice capture\")\n ]))\n}\n}\n\n})","import script from \"./CampaignCaptureForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CampaignCaptureForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"contact-view\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-3\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Capture the sell-out invoice\")\n], -1)\nconst _hoisted_3 = {\n key: 1,\n class: \"alert alert-primary\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"i\", null, \"Sorry, you do not seem to have the correct format of URL to capture invoices. Please talk to your Hi-Q representative.\", -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\n\nimport Banner from \"@/components/general/Banner.vue\";\r\n import MainContainer from \"@/components/general/MainContainer.vue\";\r\n import CampaignCaptureForm from \"@/components/form/CampaignCaptureForm.vue\";\r\n import { useRoute } from \"vue-router\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'CampaignCaptureView',\n setup(__props) {\n\r\n const route = useRoute();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n id: \"CampaignTitleBanner\",\n alias: \"banner-campaign-capture\",\n isTextMaxWidth: false,\n enableFadein: false\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n (_unref(route).query.title)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_2,\n _createVNode(CampaignCaptureForm)\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _hoisted_5))\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./CampaignCaptureView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CampaignCaptureView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4bdd05b9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"row flex-wrap hide-labels\" }\nconst _hoisted_3 = { class: \"contact-buttons accordion d-block d-md-flex\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12 col-md-3 mb-3 mb-md-4 me-0 me-md-5\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"accordion-header\",\n id: \"flush-headingOne\"\n }, [\n /*#__PURE__*/_createElementVNode(\"button\", {\n class: \"collapsed btn btn-primary\",\n type: \"button\",\n \"data-bs-toggle\": \"collapse\",\n \"data-bs-target\": \"#flush-collapseOne\",\n \"aria-expanded\": \"false\",\n \"aria-controls\": \"flush-collapseOne\"\n }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, \"Contact Hi-Q Head Office\")\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"flush-collapseOne\",\n class: \"accordion-collapse collapse fade-in\",\n \"aria-labelledby\": \"flush-headingOne\"\n }, [\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"mt-3 mb-4 accordion-body text-center text-md-start\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, [\n /*#__PURE__*/_createElementVNode(\"label\", null, \"Tel:\"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"tel: 0113943150\" }, \" 011 394 3150\"),\n /*#__PURE__*/_createElementVNode(\"br\"),\n /*#__PURE__*/_createElementVNode(\"label\", null, \"Email:\"),\n /*#__PURE__*/_createElementVNode(\"a\", { href: \"mailto:inforequest@hiqmail.co.za\" }, \"inforequest@hiqmail.co.za\")\n ])\n ])\n ])\n], -1))\nconst _hoisted_5 = { class: \"col-12 col-md-3 mb-3 mb-md-4 me-0 me-md-5\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Get a Hi-Q fleet account\", -1))\nconst _hoisted_7 = { class: \"col-12 col-md-3 mb-3 mb-md-4 me-0 me-md-5\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Become a Hi-Q franchisee\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Send us your enquiry and we'll get back to you\")\n], -1))\nconst _hoisted_10 = { class: \"d-flex flex-column flex-wrap mt-5\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Contact preferences\")\n], -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"Please contact me via phone only\", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"I would like to receive future communications from Hi-Q\", -1))\nconst _hoisted_14 = { class: \"d-flex flex-column flex-wrap mt-5 hide-labels\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Your enquiry\")\n], -1))\nconst _hoisted_16 = { class: \"mt-3 mt-sm-4 d-flex\" }\nconst _hoisted_17 = [\"disabled\"]\nconst _hoisted_18 = {\n key: 1,\n class: \"text-center\"\n}\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h1 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Thank you!\")\n], -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-4\" }, \"Your enquiry has been submitted.\", -1))\n\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\nimport type { FormInstance, FormRules } from \"element-plus\";\r\nimport { IReCaptchaComposition, useReCaptcha } from \"vue-recaptcha-v3\";\r\nimport { onBeforeMount, onMounted, reactive, ref, Ref } from \"vue\";\r\nimport { ValidateFieldsError } from \"async-validator\";\r\nimport { handleInvalidForm } from \"@/utilities\";\r\nimport { CreateContactRequestCommand, StoreListViewModel } from \"@/api-client\";\r\nimport { getStores, getStoresCities, getStoresRegions } from \"@/api-calls/stores\";\r\nimport { postContactRequest } from \"@/api-calls/contact\";\r\nimport { useMiscStore } from \"@/stores/misc\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContactForm',\n setup(__props) {\n\r\nconst miscStore = useMiscStore();\r\nconst contactFormRef = ref<FormInstance>();\r\nlet recapthcaObject: Ref<IReCaptchaComposition | undefined> = ref(undefined);\r\nlet formSubmitted = ref(false);\r\nlet formData = reactive<CreateContactRequestCommand>({\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n phoneNumber: \"\",\r\n province: \"\",\r\n city: \"\",\r\n storeId: \"\",\r\n receiveFutureCommunications: false,\r\n\tonlyContactViaPhone: false,\r\n comments: null,\r\n googleRecaptchaResponse: \"\",\r\n});\r\nlet regionsDdl: Ref<string[]> = ref([]);\r\nlet citiesDdl: Ref<string[]> = ref([]);\r\nlet storesDdl: Ref<StoreListViewModel[]> = ref([]);\r\n\r\nconst rules = reactive<FormRules<CreateContactRequestCommand>>({\r\n firstName: [{ required: true, message: \"Please enter a first name\", trigger: \"change\" }],\r\n lastName: [{ required: true, message: \"Please enter a last name\", trigger: \"change\" }],\r\n email: [{ required: true, type: \"email\", message: \"Please enter a valid email address\", trigger: \"change\" }],\r\n phoneNumber: [\r\n { required: true, message: \"Please enter a phone number\", trigger: \"change\" },\r\n { pattern: /^[\\+?0-9 \\-]+$/, message: \"Please enter a valid phone number\", trigger: \"change\" },\r\n ],\r\n province: [{ required: true, message: \"Please select a province\", trigger: \"change\" }],\r\n city: [{ required: true, message: \"Please select a city\", trigger: \"change\" }],\r\n storeId: [{ required: true, message: \"Please select a store\", trigger: \"change\" }],\r\n});\r\n\r\nonBeforeMount(async () => {\r\n miscStore.isLoading = true;\r\n regionsDdl.value = (await getStoresRegions(1, 99999)).data;\r\n miscStore.isLoading = false;\r\n});\r\n\r\nonMounted(() => {\r\n recapthcaObject.value = useReCaptcha();\r\n});\r\n\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return;\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n\t\tawait recaptcha((token: string) => {\r\n\t\t\tmiscStore.isLoadingOverride = true;\r\n\t\t\tformData.googleRecaptchaResponse = token;\r\n\t\t\tpostContactRequest(formData).then(() => {\r\n\t\t\t\tmiscStore.isLoadingOverride = false;\r\n\t\t\t\tformSubmitted.value = true;\r\n\t\t\t})\r\n\t\t})\r\n } else {\r\n handleInvalidForm(fields as ValidateFieldsError);\r\n }\r\n });\r\n};\r\n\r\nasync function recaptcha(callback: Function) {\r\n if (recapthcaObject) {\r\n const token = await recapthcaObject.value!.executeRecaptcha(\"contact\");\r\n callback(token);\r\n }\r\n}\r\n\r\nfunction cityInputTitle() {\r\n\tif (!formData.province) {\r\n\t\treturn 'To enable, select a province';\r\n\t}\r\n\treturn undefined;\r\n}\r\n\r\nfunction storeInputTitle() {\r\n\tif (!formData.city) {\r\n\t\treturn 'To enable, select a province & city';\r\n\t}\r\n\treturn undefined;\r\n}\r\n\r\nasync function fetchCities() {\r\n formData.city = \"\";\r\n formData.storeId = \"\";\r\n\r\n if (formData.province) {\r\n citiesDdl.value = (await getStoresCities(1, 99999, formData.province)).data;\r\n\r\n setTimeout(() => {\r\n document.getElementsByName(\"city\")[0]?.focus();\r\n }, 0);\r\n } else {\r\n citiesDdl.value = [];\r\n }\r\n}\r\n\r\nasync function fetchStores() {\r\n formData.storeId = \"\";\r\n\r\n if (formData.city) {\r\n storesDdl.value = (await getStores(1, 99999, \"\", formData.province)).data;\r\n\r\n setTimeout(() => {\r\n document.getElementsByName(\"store\")[0]?.focus();\r\n }, 0);\r\n } else {\r\n storesDdl.value = [];\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (!_unref(formSubmitted))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_form, {\n ref_key: \"contactFormRef\",\n ref: contactFormRef,\n class: \"col-12 contact-form\",\n model: _unref(formData),\n rules: rules,\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_router_link, {\n class: \"btn btn-primary\",\n to: \"/tyre-resources/get-a-hiq-fleet-account\"\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n class: \"btn btn-primary\",\n to: \"/become-a-franchise\"\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(ContentBlock, {\n alias: \"contact-us-intro\",\n class: \"mb-0\"\n }),\n _hoisted_9,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"First Name\",\n prop: \"firstName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"firstName\",\n modelValue: _unref(formData).firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(formData).firstName) = $event)),\n placeholder: \"First Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Last Name\",\n prop: \"lastName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"lastName\",\n modelValue: _unref(formData).lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(formData).lastName) = $event)),\n placeholder: \"Last Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Phone Number\",\n prop: \"phoneNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"phoneNumber\",\n maxlength: 15,\n modelValue: _unref(formData).phoneNumber,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(formData).phoneNumber) = $event)),\n placeholder: \"Phone Number*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Email\",\n prop: \"email\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"email\",\n type: \"email\",\n modelValue: _unref(formData).email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(formData).email) = $event)),\n placeholder: \"Email*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Province\",\n prop: \"province\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"province\",\n onChange: fetchCities,\n modelValue: _unref(formData).province,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(formData).province) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Province*\",\n loading: _unref(miscStore).isLoading && !_unref(regionsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(regionsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `province-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"City\",\n prop: \"city\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n title: cityInputTitle(),\n name: \"city\",\n onChange: fetchStores,\n disabled: !_unref(formData).province,\n modelValue: _unref(formData).city,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(formData).city) = $event)),\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"City*\",\n loading: _unref(miscStore).isLoading && !_unref(citiesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(citiesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `city-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Store\",\n prop: \"store\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n title: storeInputTitle(),\n name: \"store\",\n disabled: !_unref(formData).city,\n modelValue: _unref(formData).storeId,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(formData).storeId) = $event)),\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Store*\",\n loading: _unref(miscStore).isLoading && !_unref(storesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(storesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.tradingName,\n value: item.id,\n key: `store-${item.code}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3\",\n label: \"Please contact me via phone only\",\n prop: \"onlyContactViaPhone\"\n }, {\n label: _withCtx(() => [\n _hoisted_12\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n style: {\"margin-top\":\"-5px\"},\n modelValue: _unref(formData).onlyContactViaPhone,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(formData).onlyContactViaPhone) = $event)),\n label: \"Please contact me via phone only\",\n size: \"large\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3 mb-md-4\",\n label: \"I would like to receive future communications from Hi-Q\",\n prop: \"receiveFutureCommunications\"\n }, {\n label: _withCtx(() => [\n _hoisted_13\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n style: {\"margin-top\":\"-5px\"},\n modelValue: _unref(formData).receiveFutureCommunications,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(formData).receiveFutureCommunications) = $event)),\n label: \"I would like to receive future communications from Hi-Q\",\n size: \"large\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createVNode(_component_el_form_item, {\n class: \"col-12 mb-3 mb-md-4\",\n label: \"Comments\",\n prop: \"comments\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"comments\",\n modelValue: _unref(formData).comments,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(formData).comments) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"button\", {\n type: \"button\",\n disabled: _unref(miscStore).isLoadingOverride,\n class: \"btn btn-primary\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (submitForm(contactFormRef.value)))\n }, [\n (!_unref(miscStore).isLoadingOverride)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Submit\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Please Wait...\")\n ], 64))\n ], 8, _hoisted_17)\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _hoisted_19,\n _hoisted_20,\n _createVNode(_component_router_link, {\n class: \"btn btn-secondary\",\n to: { name: 'Home' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return home\")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./ContactForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContactForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ContactForm.vue?vue&type=style&index=0&id=4bdd05b9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4bdd05b9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f6289010\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"contact-view\" }\n\nimport Banner from \"@/components/general/Banner.vue\";\r\n import MainContainer from \"@/components/general/MainContainer.vue\";\r\n import ContactForm from \"@/components/form/ContactForm.vue\";\r\n \r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContactView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-contact\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContactForm, {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".58s\"\n })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./ContactView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContactView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ContactView.vue?vue&type=style&index=0&id=f6289010&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f6289010\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, isRef as _isRef, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6b6b87ca\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"row flex-wrap hide-labels\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Your contact information\")\n], -1))\nconst _hoisted_4 = { class: \"col-12\" }\nconst _hoisted_5 = { class: \"row flex-wrap mt-5 hide-labels\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Your vehicle details\")\n], -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"col\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Products\")\n], -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"Products\", -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"row flex-wrap\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12 mb-1 checklist-label\" }, \"Tell us more about your tyres\", -1))\nconst _hoisted_12 = { class: \"hide-labels col-12 col-md-6\" }\nconst _hoisted_13 = { class: \"hide-labels col-12 col-md-6\" }\nconst _hoisted_14 = { class: \"d-flex flex-column flex-wrap mt-5\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Services\")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"Services\", -1))\nconst _hoisted_17 = { class: \"d-flex flex-column flex-wrap mt-5\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Contact preferences\")\n], -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"visually-hidden\" }, \"I would like to receive future communications from Hi-Q\", -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"checklist-label\" }, \"Preferred Contact Method\", -1))\nconst _hoisted_21 = { class: \"d-flex flex-column flex-wrap mt-5 hide-labels\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Comments\")\n], -1))\nconst _hoisted_23 = { key: 0 }\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = { class: \"h6 d-block mb-2\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", null, \"You are currently requesting a quote via the following product:\", -1))\nconst _hoisted_27 = { class: \"d-block my-1 fw-normal\" }\nconst _hoisted_28 = { class: \"mt-3 mt-sm-4 d-flex\" }\nconst _hoisted_29 = [\"disabled\"]\nconst _hoisted_30 = {\n key: 1,\n class: \"text-center\"\n}\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h1 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Thank you!\")\n], -1))\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-4\" }, \"Your quote request has been submitted.\", -1))\n\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\n import type { CheckboxValueType, FormInstance, FormRules } from \"element-plus\";\r\n import { IReCaptchaComposition, useReCaptcha } from 'vue-recaptcha-v3'\r\n import { onBeforeMount, onMounted, reactive, ref, Ref } from \"vue\";\r\n import { ValidateFieldsError } from \"async-validator\";\r\n import { handleInvalidForm, getDeepCopy, toKebabCase } from \"@/utilities\";\r\n import { ContactMethod, CreateQuoteRequestCommand, StoreListViewModel, TyreBrandListViewModel, QuoteRequestProductCreateModel } from \"@/api-client\";\r\n import { getStores, getStoresCities, getStoresRegions } from \"@/api-calls/stores\";\r\n import { VehicleManufacturer, getVehicleManufacturers, VehicleModel, getVehicleModels, VehicleModelYear, getVehicleModelYears, VehicleSpecification, getVehicleSpecifications, VehicleTyres, getVehicleTyre } from \"@/api-calls/vehicles\";\r\n import { startQuoteRequest, postQuoteRequest } from \"@/api-calls/contact\";\r\n import { getTyreBrands, getTyreSizes, getTyres } from \"@/api-calls/tyres\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { useRoute } from \"vue-router\";\r\n import QtStoreList from \"@/components/general/QtStoreList.vue\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'QuoteForm',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n const requestQuoteFormRef = ref<FormInstance>();\r\n let recapthcaObject: Ref<IReCaptchaComposition | undefined> = ref(undefined);\r\n let formSubmitted = ref(false);\r\n let formData = reactive<CreateQuoteRequestCommand>({\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n phoneNumber: \"\",\r\n province: \"\",\r\n city: \"\",\r\n store: \"\",\r\n storeId: \"\",\r\n receiveFutureCommunications: false,\r\n receiveInsurerCommunications: false,\r\n comments: null,\r\n quantity: 0,\r\n preferredContactMethods: [],\r\n vehicleManufacturer: \"\",\r\n vehicleModel: \"\",\r\n vehicleYear: \"\",\r\n // vehicleSpecification: \"\",\r\n quoteRequestProducts: [],\r\n quoteRequestServices: [],\r\n googleRecaptchaResponse: \"\"\r\n });\r\n let regionsDdl: Ref<string[]> = ref([]);\r\n let citiesDdl: Ref<string[]> = ref([]);\r\n let storesDdl: Ref<StoreListViewModel[]> = ref([]);\r\n let vehicleManufacturersDdl: Ref<VehicleManufacturer[]> = ref([]);\r\n let vehicleModelsDdl: Ref<VehicleModel[]> = ref([]);\r\n let vehicleYearsDdl: Ref<VehicleModelYear[]> = ref([]);\r\n let vehicleSpecificationsDdl: Ref<VehicleSpecification[]> = ref([]);\r\n let vehicleSpecification: Ref<string> = ref(\"\");\r\n let vehicleTyres: Ref<VehicleTyres | undefined> = ref(undefined);\r\n let tyreBrandsDdl: Ref<TyreBrandListViewModel[]> = ref([]);\r\n let tyreSizesDdl: Ref<string[]> = ref([]);\r\n let checklistValues = ref({\r\n services: [] as string[],\r\n product: [] as string[],\r\n preferredContactMethods: [] as ContactMethod[],\r\n receiveInsurerCommunications: [] as string[]\r\n })\r\n let productTyreBrandInfo: Ref<string> = ref(\"\");\r\n let productTyreSizeInfo: Ref<string> = ref(\"\");\r\n let productParam: Ref<string | null | undefined> = ref(undefined);\r\n let formFocused: Ref<boolean> = ref(false);\r\n \r\n const route = useRoute();\r\n \r\n const validateRequestProducts = (rule: any, value: Array<QuoteRequestProductCreateModel>, callback: Function) => {\r\n if (!checklistValues.value.product.length) {\r\n callback(new Error('Please select one or more products'))\r\n } else {\r\n callback()\r\n }\r\n }\r\n \r\n const validatePreferredContactMethod = (rule: any, value: Array<ContactMethod>, callback: Function) => {\r\n if (!checklistValues.value.preferredContactMethods.length) {\r\n callback(new Error('Please select a preferred contact method'))\r\n } else {\r\n callback()\r\n }\r\n }\r\n \r\n const validateReceiveInsurerCommunications = (rule: any, value: boolean, callback: Function) => {\r\n if (!checklistValues.value.receiveInsurerCommunications.length) {\r\n callback(new Error('Please select yes or no'))\r\n } else {\r\n callback()\r\n }\r\n }\r\n \r\n const rules = reactive<FormRules<CreateQuoteRequestCommand>>({\r\n firstName: [{ required: true, message: \"Please enter a first name\", trigger: \"change\" }],\r\n lastName: [{ required: true, message: \"Please enter a last name\", trigger: \"change\" }],\r\n email: [{ required: true, type: \"email\", message: \"Please enter a valid email address\", trigger: \"change\" }],\r\n phoneNumber: [\r\n { required: true, message: \"Please enter a phone number\", trigger: \"change\" },\r\n { pattern: /^[\\+?0-9 \\-]+$/, message: \"Please enter a valid phone number\", trigger: \"change\" },\r\n ],\r\n province: [{ required: true, message: \"Please select a province\", trigger: \"change\" }],\r\n city: [{ required: true, message: \"Please select a city\", trigger: \"change\" }],\r\n store: [{ required: true, message: \"Please select a store\", trigger: \"change\" }],\r\n // comments: [{ required: true, message: \"Please enter a comment\", trigger: \"change\" }],\r\n vehicleManufacturer: [{ required: true, message: \"Please select a vehicle manufacturer\", trigger: \"change\" }],\r\n vehicleModel: [{ required: true, message: \"Please select a vehicle model\", trigger: \"change\" }],\r\n vehicleYear: [{ required: true, message: \"Please select a vehicle model year\", trigger: \"change\" }],\r\n // vehicleSpecification: [{ required: true, message: \"Please select a vehicle specification\", trigger: \"change\" }],\r\n quoteRequestProducts: [{ required: true, validator: validateRequestProducts, trigger: \"change\" }],\r\n receiveInsurerCommunications: [{ required: true, validator: validateReceiveInsurerCommunications, trigger: \"change\" }],\r\n preferredContactMethods: [{required: true, validator: validatePreferredContactMethod, trigger: \"change\"}]\r\n });\r\n \r\n function handleRaqFocusIn() {\r\n if (!formFocused.value) {\r\n startQuoteRequest();\r\n formFocused.value = true;\r\n }\r\n }\r\n \r\n onBeforeMount(async () => {\r\n miscStore.isLoading = true;\r\n regionsDdl.value = (await getStoresRegions(1, 250)).data;\r\n vehicleManufacturersDdl.value = await getVehicleManufacturers();\r\n tyreBrandsDdl.value = (await getTyreBrands(1, 250)).data;\r\n\r\n if (route.query.region != undefined && route.query.city != undefined && route.query.store != undefined) {\r\n preloadStore();\r\n }\r\n\r\n miscStore.isLoading = false;\r\n });\r\n \r\n onMounted(async () => {\r\n recapthcaObject.value = useReCaptcha() as IReCaptchaComposition;\r\n if (route.query.tread != undefined && route.query.sku != undefined && route.query.size != undefined) {\r\n const sizeSeg = route.query.size.toString().split(\"-\");\r\n const skuId = route.query.sku || '';\r\n productParam.value = \"\";\r\n // TODO: make this GET more generic / product-type-aware\r\n const product = (await getTyres(1, 50, sizeSeg[0], sizeSeg[1], sizeSeg[2], +route.query.tread)).data;\r\n if (product.length > 0) {\r\n const sku = product.find(item => item.sku == skuId) || product[0];\r\n productParam.value = `${sku.title} ${sku.size} ${sku.loadIndex} ${sku.speedIndex} (SKU: ${sku.sku})`;\r\n }\r\n else {\r\n productParam.value = undefined;\r\n }\r\n }\r\n })\r\n \r\n const submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return;\r\n miscStore.isLoadingOverride = true;\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n const productAdditionalTyreData = `${productTyreBrandInfo.value} ${productTyreSizeInfo.value}`.trim();\r\n formData.quoteRequestProducts = checklistValues.value.product.map(product => {\r\n return {\r\n name: product,\r\n additionalDetails: product.toLowerCase() == 'tyres' && productAdditionalTyreData ? productAdditionalTyreData : null\r\n }\r\n })\r\n \r\n if(checklistValues.value.services.length) {\r\n formData.quoteRequestServices = checklistValues.value.services.map(service => {\r\n return {\r\n name: service,\r\n additionalDetails: null\r\n }\r\n })\r\n }\r\n \r\n if(formData.receiveFutureCommunications) {\r\n if(checklistValues.value.preferredContactMethods.length) {\r\n formData.preferredContactMethods = checklistValues.value.preferredContactMethods;\r\n } else {\r\n formData.preferredContactMethods = []\r\n }\r\n }\r\n \r\n formData.receiveInsurerCommunications = checklistValues.value.receiveInsurerCommunications[0] === \"Yes\";\r\n \r\n const requestBody = getDeepCopy(formData);\r\n if (productParam.value != undefined && productParam.value != \"\") {\r\n requestBody.comments = `This quote request was placed via the following product:\\n${productParam.value}\\n\\nComment:\\n${requestBody.comments}`;\r\n }\r\n \r\n await recaptcha((token: string) => {\r\n miscStore.isLoadingOverride = true;\r\n requestBody.googleRecaptchaResponse = token;\r\n postQuoteRequest(requestBody).then(() => {\r\n formSubmitted.value = true;\r\n miscStore.isLoadingOverride = false;\r\n })\r\n })\r\n } else {\r\n miscStore.isLoadingOverride = false;\r\n handleInvalidForm(fields as ValidateFieldsError);\r\n }\r\n });\r\n };\r\n \r\n async function recaptcha(callback: Function) {\r\n if (recapthcaObject) {\r\n const token = await recapthcaObject.value!.executeRecaptcha(\"quote\")\r\n callback(token)\r\n }\r\n }\r\n \r\n async function filterTyreSize(value: string) {\r\n if(value.length >= 2) {\r\n tyreSizesDdl.value = (await getTyreSizes(1, 20, value)).data;\r\n } else {\r\n tyreSizesDdl.value = []\r\n }\r\n }\r\n \r\n function handleSingleCheckboxValue(value:CheckboxValueType[], variableName: \"preferredContactMethods\" | \"receiveInsurerCommunications\") {\r\n if(!checklistValues.value[variableName].length && value.length) {\r\n checklistValues.value[variableName] = value as string[] & ContactMethod[];\r\n } else if(value.length > 1) {\r\n checklistValues.value[variableName] = [value[1]] as string[] & ContactMethod[];\r\n }\r\n }\r\n \r\n async function preloadStore() {\r\n formData.province = regionsDdl.value.find((region: string) => {\r\n return toKebabCase(region) == route.query.region;\r\n }) || \"\";\r\n\r\n await fetchCities(false);\r\n formData.city = citiesDdl.value.find((city: string) => {\r\n return toKebabCase(city) == route.query.city;\r\n }) || \"\";\r\n\r\n await fetchStores(false);\r\n const preload = storesDdl.value.find((store: StoreListViewModel) => {\r\n return toKebabCase(store.tradingName) == route.query.store;\r\n });\r\n\r\n formData.store = preload?.tradingName || \"\";\r\n formData.storeId = preload?.id || \"\";\r\n }\r\n \r\n async function fetchCities(focusOnFetch: boolean = true) {\r\n formData.city = \"\";\r\n formData.store = \"\";\r\n formData.storeId = \"\";\r\n \r\n if(formData.province) {\r\n citiesDdl.value = (await getStoresCities(1, 99999, formData.province)).data;\r\n \r\n setTimeout(() => {\r\n if (focusOnFetch) {\r\n document.getElementById(\"city\")?.focus();\r\n document.getElementById(\"city\")?.click();\r\n }\r\n }, 0);\r\n } else {\r\n citiesDdl.value = []\r\n } \r\n }\r\n \r\n async function fetchStores(focusOnFetch: boolean = true) {\r\n formData.store = \"\";\r\n formData.storeId = \"\";\r\n \r\n if(formData.city) {\r\n storesDdl.value = (await getStores(1, 99999, undefined, formData.province, formData.city)).data;\r\n \r\n setTimeout(() => {\r\n if (focusOnFetch) {\r\n document.getElementById(\"storeId\")?.focus();\r\n document.getElementById(\"storeId\")?.click();\r\n }\r\n }, 0);\r\n } else {\r\n storesDdl.value = [];\r\n }\r\n }\r\n \r\n function setStores(selected: string) {\r\n const store = storesDdl.value.find(item => item.id == selected);\r\n formData.store = store?.tradingName || '';\r\n }\r\n \r\n async function fetchModels() {\r\n formData.vehicleModel = \"\";\r\n formData.vehicleYear = \"\";\r\n vehicleSpecification.value = \"\";\r\n vehicleTyres.value = undefined;\r\n \r\n if(formData.vehicleManufacturer) {\r\n const manufacturer = vehicleManufacturersDdl.value.find(item => item.name == formData.vehicleManufacturer)\r\n vehicleModelsDdl.value = await getVehicleModels(manufacturer!.slug);\r\n \r\n setTimeout(() => {\r\n document.getElementById(\"vehicleModel\")?.focus();\r\n document.getElementById(\"vehicleModel\")?.click();\r\n }, 0);\r\n } else {\r\n vehicleModelsDdl.value = []\r\n } \r\n }\r\n \r\n async function fetchModelYears() {\r\n formData.vehicleYear = \"\";\r\n vehicleSpecification.value = \"\";\r\n vehicleTyres.value = undefined;\r\n \r\n if(formData.vehicleModel) {\r\n const manufacturer = vehicleManufacturersDdl.value.find(item => item.name == formData.vehicleManufacturer)\r\n const model = vehicleModelsDdl.value.find(item => item.name == formData.vehicleModel)\r\n vehicleYearsDdl.value = await getVehicleModelYears(manufacturer!.slug, model!.slug);\r\n \r\n setTimeout(() => {\r\n document.getElementById(\"vehicleYear\")?.focus();\r\n document.getElementById(\"vehicleYear\")?.click();\r\n }, 0);\r\n } else {\r\n vehicleYearsDdl.value = []\r\n }\r\n }\r\n \r\n async function fetchSpecifications() {\r\n vehicleSpecification.value = \"\";\r\n vehicleTyres.value = undefined;\r\n \r\n if(formData.vehicleYear) {\r\n const manufacturer = vehicleManufacturersDdl.value.find(item => item.name == formData.vehicleManufacturer)\r\n const model = vehicleModelsDdl.value.find(item => item.name == formData.vehicleModel)\r\n const year = vehicleYearsDdl.value.find(item => item.name == formData.vehicleYear)\r\n vehicleSpecificationsDdl.value = await getVehicleSpecifications(manufacturer!.slug, model!.slug, year!.slug);\r\n \r\n setTimeout(() => {\r\n document.getElementById(\"vehicleSpecification\")?.focus();\r\n document.getElementById(\"vehicleSpecification\")?.click();\r\n }, 0);\r\n } else {\r\n vehicleSpecificationsDdl.value = []\r\n }\r\n }\r\n \r\n async function vehicleRimSize() {\r\n vehicleTyres.value = undefined;\r\n if(vehicleSpecification.value) {\r\n const manufacturer = vehicleManufacturersDdl.value.find(item => item.name == formData.vehicleManufacturer)\r\n const model = vehicleModelsDdl.value.find(item => item.name == formData.vehicleModel)\r\n const year = vehicleYearsDdl.value.find(item => item.name == formData.vehicleYear)\r\n vehicleTyres.value = (await getVehicleTyre(manufacturer!.slug, model!.slug, year!.slug, vehicleSpecification.value))[0];\r\n }\r\n }\r\n \nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_checkbox_group = _resolveComponent(\"el-checkbox-group\")!\n const _component_el_alert = _resolveComponent(\"el-alert\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (!_unref(formSubmitted))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_form, {\n onFocusin: handleRaqFocusIn,\n ref_key: \"requestQuoteFormRef\",\n ref: requestQuoteFormRef,\n class: \"col-12 request-quote-form position-relative\",\n model: _unref(formData),\n rules: rules,\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"request-a-quote-intro\",\n class: \"mb-2\"\n }),\n _hoisted_3,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"First Name\",\n prop: \"firstName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"firstName\",\n modelValue: _unref(formData).firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(formData).firstName) = $event)),\n placeholder: \"First Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Last Name\",\n prop: \"lastName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"lastName\",\n modelValue: _unref(formData).lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(formData).lastName) = $event)),\n placeholder: \"Last Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Phone Number\",\n prop: \"phoneNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"phoneNumber\",\n maxlength: 15,\n modelValue: _unref(formData).phoneNumber,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(formData).phoneNumber) = $event)),\n placeholder: \"Phone Number*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Email\",\n prop: \"email\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"email\",\n type: \"email\",\n modelValue: _unref(formData).email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(formData).email) = $event)),\n placeholder: \"Email*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Province\",\n prop: \"province\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"province\",\n name: \"province\",\n onChange: fetchCities,\n modelValue: _unref(formData).province,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(formData).province) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Province*\",\n loading: _unref(miscStore).isLoading && !_unref(regionsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(regionsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `province-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"City\",\n prop: \"city\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"city\",\n name: \"city\",\n title: `${!_unref(formData).province ? 'To enable, select a province' : undefined}`,\n onChange: fetchStores,\n disabled: !_unref(formData).province,\n modelValue: _unref(formData).city,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(formData).city) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"City*\",\n loading: _unref(miscStore).isLoading && !_unref(citiesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(citiesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `city-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Store\",\n prop: \"storeId\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"storeId\",\n name: \"storeId\",\n title: `${!_unref(formData).city ? 'To enable, select a province & city' : undefined}`,\n onChange: setStores,\n disabled: !_unref(formData).city,\n modelValue: _unref(formData).storeId,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(formData).storeId) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Store*\",\n loading: _unref(miscStore).isLoading && !_unref(storesDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(storesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.tradingName,\n value: item.id,\n key: item.code\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(QtStoreList, {\n \"dynamic-display\": true,\n store: _unref(formData).store\n }, null, 8, [\"store\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Vehicle Manufacturer\",\n prop: \"vehicleManufacturer\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"vehicleManufacturer\",\n name: \"vehicleManufacturer\",\n onChange: fetchModels,\n modelValue: _unref(formData).vehicleManufacturer,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(formData).vehicleManufacturer) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Vehicle Manufacturer*\",\n loading: _unref(miscStore).isLoading && !_unref(vehicleManufacturersDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(vehicleManufacturersDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.name,\n key: `vehicleManufacturer-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Vehicle Model\",\n prop: \"vehicleModel\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"vehicleModel\",\n name: \"vehicleModel\",\n title: `${!_unref(formData).vehicleManufacturer ? 'To enable, select a vehicle manufacturer' : undefined}`,\n onChange: fetchModelYears,\n disabled: !_unref(formData).vehicleManufacturer || !_unref(vehicleModelsDdl).length,\n modelValue: _unref(formData).vehicleModel,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(formData).vehicleModel) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Vehicle Model*\",\n loading: _unref(miscStore).isLoading && !_unref(vehicleModelsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(vehicleModelsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.name.toString(),\n key: `vehicleModel-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Vehicle Model Year\",\n prop: \"vehicleYear\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"vehicleYear\",\n name: \"vehicleYear\",\n title: `${!_unref(formData).vehicleModel ? 'To enable, select a vehicle manufacturer & vehicle model' : undefined}`,\n onChange: fetchSpecifications,\n disabled: !_unref(formData).vehicleModel || !_unref(vehicleYearsDdl).length,\n modelValue: _unref(formData).vehicleYear,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(formData).vehicleYear) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Vehicle Model Year*\",\n loading: _unref(miscStore).isLoading && !_unref(vehicleYearsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(vehicleYearsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.name.toString(),\n key: `vehicleYear-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Vehicle Specification\",\n prop: \"vehicleSpecification\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"vehicleSpecification\",\n name: \"vehicleSpecification\",\n title: `${!_unref(formData).vehicleYear ? 'To enable, select a vehicle manufacturer & vehicle model & vehicle year' : undefined}`,\n onChange: vehicleRimSize,\n disabled: !_unref(formData).vehicleYear || !_unref(vehicleSpecificationsDdl).length,\n modelValue: _unref(vehicleSpecification),\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_isRef(vehicleSpecification) ? (vehicleSpecification).value = $event : vehicleSpecification = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Vehicle Specification*\",\n loading: _unref(miscStore).isLoading && !_unref(vehicleSpecificationsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(vehicleSpecificationsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.fullName,\n value: item.slug,\n key: `specification-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"title\", \"disabled\", \"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n (_unref(vehicleTyres) && _unref(vehicleTyres).wheels)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"i\", null, [\n _createTextVNode(\" Your tyre size is \"),\n _createElementVNode(\"b\", null, _toDisplayString(_unref(vehicleTyres).wheels[0].front.tire_full), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass(['d-flex flex-column flex-wrap', {'mt-3 pt-3': _unref(vehicleTyres)}, {'mt-5': !_unref(vehicleTyres)}])\n }, [\n _hoisted_8,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3 mb-md-4\",\n label: \"Products\",\n prop: \"quoteRequestProducts\"\n }, {\n label: _withCtx(() => [\n _hoisted_9\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(checklistValues).product,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_unref(checklistValues).product) = $event)),\n style: {\"margin-top\":\"-5px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n label: \"Tyres\",\n value: \"Tyres\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Exhausts (at selected stores)\",\n value: \"Exhausts\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Shock Absorbers\",\n value: \"Shocks\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Batteries\",\n value: \"Batteries\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Brakes\",\n value: \"Brakes\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Rims\",\n value: \"Rims\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Towbars\",\n value: \"Towbars\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n (_unref(checklistValues).product.includes('Tyres'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_el_form_item, {\n class: \"mb-3 mb-md-4\",\n label: \"Tyre Brand\",\n prop: \"productTyreBrandInfo\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"productTyreBrandInfo\",\n modelValue: _unref(productTyreBrandInfo),\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_isRef(productTyreBrandInfo) ? (productTyreBrandInfo).value = $event : productTyreBrandInfo = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Tyre Brand\",\n loading: _unref(miscStore).isLoading && !_unref(tyreBrandsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(tyreBrandsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.title,\n value: item.title,\n key: `tyreBrand-${item.id}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_el_form_item, {\n class: \"mb-3 mb-md-4\",\n label: \"Tyre Size\",\n prop: \"productTyreSizeInfo\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"productTyreSizeInfo\",\n modelValue: _unref(productTyreSizeInfo),\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_isRef(productTyreSizeInfo) ? (productTyreSizeInfo).value = $event : productTyreSizeInfo = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Search tyre size e.g. 265/65R17\",\n \"filter-method\": filterTyreSize,\n loading: _unref(miscStore).isLoading && !_unref(tyreSizesDdl).length\n }, {\n default: _withCtx(() => [\n (_unref(tyreSizesDdl).length)\n ? (_openBlock(), _createBlock(_component_el_option, {\n style: {\"pointer-events\":\"none\"},\n disabled: \"\",\n key: \"placeholder\",\n value: \"\",\n label: \"Top 20 results\"\n }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(tyreSizesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `tyreSize-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-3 mb-md-4\",\n label: \"Number of Tyres*\",\n prop: \"tyreQuantity\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"quantity\",\n type: \"number\",\n modelValue: _unref(formData).quantity,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_unref(formData).quantity) = $event)),\n placeholder: \"Quantity*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3 mb-md-4\",\n label: \"Services\",\n prop: \"quoteRequestServices\"\n }, {\n label: _withCtx(() => [\n _hoisted_16\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(checklistValues).services,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_unref(checklistValues).services) = $event)),\n style: {\"margin-top\":\"-5px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n label: \"Wheel Alignment\",\n value: \"Wheel Alignment\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Wheel Balancing\",\n value: \"Wheel Balancing\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Tyre Puncture repair\",\n value: \"Tyre Puncture repair\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Nitrogen\",\n value: \"Nitrogen\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Towbars\",\n value: \"Towbars\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Wheel Rotation\",\n value: \"Wheel Rotation\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3 mb-md-4\",\n label: \"I would like to receive future communications from Hi-Q\",\n prop: \"receiveFutureCommunications\"\n }, {\n label: _withCtx(() => [\n _hoisted_19\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n style: {\"margin-top\":\"-5px\"},\n modelValue: _unref(formData).receiveFutureCommunications,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((_unref(formData).receiveFutureCommunications) = $event)),\n label: \"I would like to receive future communications from Hi-Q\",\n size: \"large\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n (_unref(formData).receiveFutureCommunications)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n class: \"col-12 col-sm-11 col-md-10 col-lg-9 col-xxl-6 mb-3 mb-md-4\",\n label: \"Preferred Contact Method\",\n prop: \"preferredContactMethods\"\n }, {\n label: _withCtx(() => [\n _hoisted_20\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox_group, {\n onChange: _cache[17] || (_cache[17] = value => handleSingleCheckboxValue(value, 'preferredContactMethods')),\n modelValue: _unref(checklistValues).preferredContactMethods,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((_unref(checklistValues).preferredContactMethods) = $event)),\n style: {\"margin-top\":\"-5px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n label: \"Mobile\",\n value: \"Mobile\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Telephone\",\n value: \"Telephone\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Email\",\n value: \"Email\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n (_unref(productParam) != undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createVNode(_component_el_alert, {\n class: \"border border-2 border-disabled shadow-sm mb-3\",\n type: \"info\",\n \"show-icon\": \"\",\n closable: false\n }, {\n default: _withCtx(() => [\n (_unref(productParam) == '')\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_24, \"please wait...\"))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"i\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"small\", _hoisted_27, _toDisplayString(_unref(productParam)), 1)\n ]),\n _createElementVNode(\"a\", {\n class: \"btn sm-btn btn-outline-dark py-1\",\n onClick: _cache[19] || (_cache[19] = _withModifiers(($event: any) => (_isRef(productParam) //@ts-ignore\n ? productParam.value = undefined : productParam = undefined), [\"prevent\"]))\n }, \"clear\")\n ], 64))\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_form_item, {\n class: \"col-12 mb-3 mb-md-4\",\n label: \"Comments\",\n prop: \"comments\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"comments\",\n modelValue: _unref(formData).comments,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((_unref(formData).comments) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"button\", {\n type: \"button\",\n disabled: _unref(miscStore).isLoadingOverride,\n class: \"btn btn-primary\",\n onClick: _cache[21] || (_cache[21] = ($event: any) => (submitForm(requestQuoteFormRef.value)))\n }, [\n (!_unref(miscStore).isLoadingOverride)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Submit\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Please Wait...\")\n ], 64))\n ], 8, _hoisted_29)\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n _hoisted_31,\n _hoisted_32,\n _createVNode(_component_router_link, {\n class: \"btn btn-secondary\",\n to: { name: 'Home' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return home\")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./QuoteForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./QuoteForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./QuoteForm.vue?vue&type=style&index=0&id=6b6b87ca&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6b6b87ca\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3ac12f9d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"request-quote-view\" }\n\nimport Banner from \"@/components/general/Banner.vue\";\r\n import MainContainer from \"@/components/general/MainContainer.vue\";\r\n import QuoteForm from \"@/components/form/QuoteForm.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'RequestQuoteView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-request-a-quote\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(QuoteForm, {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".58s\"\n })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./RequestQuoteView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RequestQuoteView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./RequestQuoteView.vue?vue&type=style&index=0&id=3ac12f9d&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3ac12f9d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, isRef as _isRef, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"row flex-wrap\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"lh-1 mt-2\" }, \"* Kindly attach a copy of your ID to this form.\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-primary border-2 mt-4 mb-5\" }),\n /*#__PURE__*/_createElementVNode(\"b\", { class: \"h4 text-primary d-block mt-4 mb-3\" }, \"What region and area are you interested in?\")\n], -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-primary border-2 mt-4 mb-5\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"b\", { class: \"h4 text-primary d-block mt-4 mb-2\" }, \"Do you have a:\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"h5 fw-normal\" }, \"Site available - no building yet?\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"h5 fw-normal\" }, \"Premises - with existing building?\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"h5 fw-normal\" }, \"Existing business currently involved in the Tyres & Autocare fitment industry?\", -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-primary border-2 mt-4 mb-5\" }, null, -1)\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"b\", { class: \"h4 text-primary d-block mt-4 mb-3\" }, \"Do you have experience in the tyre fitment industry?\", -1)\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-primary border-2 mt-4 mb-5\" }),\n /*#__PURE__*/_createElementVNode(\"b\", { class: \"h4 text-primary d-block mt-4 mb-3\" }, \"How will you be financing this business?\")\n], -1)\nconst _hoisted_13 = { class: \"mt-3 mt-sm-4 d-flex\" }\nconst _hoisted_14 = [\"disabled\"]\nconst _hoisted_15 = {\n key: 1,\n id: \"FormSubmitted\",\n class: \"text-center\"\n}\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"h1 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Thank you!\")\n], -1)\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-4\" }, \"Your enquiry has been submitted.\", -1)\n\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\n\timport type { FormInstance, FormRules } from \"element-plus\";\r\n\timport { IReCaptchaComposition, useReCaptcha } from \"vue-recaptcha-v3\";\r\n\timport { onBeforeMount, onMounted, reactive, ref, Ref } from \"vue\";\r\n\timport { ValidateFieldsError } from \"async-validator\";\r\n\timport { handleInvalidForm, scrollTop } from \"@/utilities\";\r\n\timport { getStoresCities, getStoresRegions } from \"@/api-calls/stores\";\r\n\timport { CreateFranchiseApplicationCommand } from \"@/api-client\";\r\n\timport { postFranchiseForm } from \"@/api-calls/contact\";\r\n\timport { useMiscStore } from \"@/stores/misc\";\r\n\timport FileUploader from \"@/components/misc/FileUploader.vue\";\r\n\r\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FranchiseForm',\n setup(__props) {\n\r\n\tconst miscStore = useMiscStore();\r\n\tconst franchiseFormRef = ref<FormInstance>();\r\n\tlet recapthcaObject: Ref<IReCaptchaComposition | undefined> = ref(undefined);\r\n\tlet isBusinessQuestion: Ref<boolean | undefined> = ref(undefined);\r\n\tlet formSubmitted = ref(false);\r\n\tlet formData = reactive<CreateFranchiseApplicationCommand>({\r\n\t\tfirstName: \"\",\r\n\t\tlastName: \"\",\r\n\t\tphoneNumber: \"\",\r\n\t\temail: \"\",\r\n\t\tidNumber: \"\",\r\n\t\tidDocumentRelativeUrl: \"\",\r\n\t\tprovince: \"\",\r\n\t\tcity: \"\",\r\n\t\tnoBuilding: false,\r\n\t\tnoBuildingDescription: null,\r\n\t\texistingBuilding: false,\r\n\t\texistingBuildingDescription: null,\r\n\t\texistingBusiness: false,\r\n\t\texistingBusinessDescription: null,\r\n\t\thasExperience: false,\r\n\t\texperienceDescription: \"\",\r\n\t\tfinancingDetails: \"\",\r\n\t\tgoogleRecaptchaResponse: \"\",\r\n\t});\r\n\tlet regionsDdl: Ref<string[]> = ref([]);\r\n\tlet citiesDdl: Ref<string[]> = ref([]);\r\n\tlet radioSite: Ref<string | undefined> = ref(undefined);\r\n\tlet radioPremises: Ref<string | undefined> = ref(undefined);\r\n\tlet radioExistingBusiness: Ref<string | undefined> = ref(undefined);\r\n\tlet radioExperience: Ref<string> = ref(\"\");\r\n\r\n\tconst rules = reactive<FormRules<CreateFranchiseApplicationCommand>>({\r\n\t\tfirstName: [{ required: true, message: \"Please enter a name\", trigger: \"change\" }],\r\n\t\tlastName: [{ required: true, message: \"Please enter a name\", trigger: \"change\" }],\r\n\t\tphoneNumber: [\r\n\t\t\t{ required: true, message: \"Please enter a phone number\", trigger: \"change\" },\r\n\t\t\t{ pattern: /^[\\+?0-9 \\-]+$/, message: \"Please enter a valid phone number\", trigger: \"change\" },\r\n\t\t],\r\n\t\temail: [{ required: true, type: \"email\", message: \"Please enter a valid email address\", trigger: \"change\" }],\r\n\t\tidNumber: [{ required: true, message: \"Please enter an ID number\", trigger: \"change\" }],\r\n\t\tidDocumentRelativeUrl: [{ required: true, message: \"Please attach a copy of your ID to this form\", trigger: \"change\" }],\r\n\t\tprovince: [{ required: true, message: \"Please enter a province\", trigger: \"change\" }],\r\n\t\tcity: [{ required: true, message: \"Please select a city\", trigger: \"change\" }],\r\n\t\texperienceDescription: [{ required: true, message: \"Please elaborate on your experience/background\", trigger: \"change\" }],\r\n\t\tfinancingDetails: [{ required: true, message: \"Please enter financing details\", trigger: \"change\" }],\r\n\t});\r\n\r\n\tonBeforeMount(async () => {\r\n\t\tmiscStore.isLoading = true;\r\n\t\tregionsDdl.value = (await getStoresRegions(1, 99999)).data;\r\n\t\tmiscStore.isLoading = false;\r\n\t});\r\n\r\n\tonMounted(() => {\r\n\t\trecapthcaObject.value = useReCaptcha() as IReCaptchaComposition;\r\n\t});\r\n\r\n\tfunction validateBusinessQuestions() {\t\t\r\n\t\tif (radioSite.value == undefined || radioPremises.value == undefined || radioExistingBusiness.value == undefined) {\r\n\t\t\tisBusinessQuestion.value = false;\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif ((radioSite.value == \"yes\" && !formData.noBuildingDescription) || (radioPremises.value == \"yes\" && !formData.existingBuildingDescription) || (radioExistingBusiness.value == \"yes\" && !formData.existingBusinessDescription)) {\r\n\t\t\tisBusinessQuestion.value = false;\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tisBusinessQuestion.value = true;\r\n\t\treturn true;\r\n\t}\r\n\r\n\tconst submitForm = async (formEl: FormInstance | undefined) => {\r\n\t\tif (!formEl) return;\r\n\t\tawait formEl.validate(async (valid, fields) => {\r\n\t\t\tif (valid) {\r\n\t\t\t\tif (!validateBusinessQuestions()) {\r\n\t\t\t\t\tscrollTop(\"#BusinessQuestions\", true);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tawait recaptcha((token: string) => {\r\n\t\t\t\t\t\tmiscStore.isLoadingOverride = true;\r\n\t\t\t\t\t\tformData.googleRecaptchaResponse = token;\r\n\t\t\t\t\t\tpostFranchiseForm(formData).then(() => {\r\n\t\t\t\t\t\t\tmiscStore.isLoadingOverride = false;\r\n\t\t\t\t\t\t\tformSubmitted.value = true;\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tscrollTop(\"#FormSubmitted\", true);\r\n\t\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\thandleInvalidForm(fields as ValidateFieldsError);\r\n\t\t\t}\r\n\t\t});\r\n\t};\r\n\r\n\tasync function recaptcha(callback: Function) {\r\n\t\tif (recapthcaObject) {\r\n\t\t\tconst token = await recapthcaObject.value!.executeRecaptcha(\"application\");\r\n\t\t\tcallback(token);\r\n\t\t}\r\n\t}\r\n\r\n\tfunction handleFileUpload(url: string) {\r\n\t\tformData.idDocumentRelativeUrl = url;\r\n\t}\r\n\r\n\tfunction handleDeleteUpload() {\r\n\t\tformData.idDocumentRelativeUrl = \"\";\r\n\t}\r\n\r\n\tasync function fetchCities() {\r\n\t\tformData.city = \"\";\r\n\r\n\t\tif (formData.province) {\r\n\t\t\tcitiesDdl.value = (await getStoresCities(1, 99999, formData.province)).data;\r\n\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tdocument.getElementsByName(\"city\")[0]?.focus();\r\n\t\t\t}, 0);\r\n\t\t} else {\r\n\t\t\tcitiesDdl.value = [];\r\n\t\t}\r\n\t}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_alert = _resolveComponent(\"el-alert\")!\n const _component_el_radio_button = _resolveComponent(\"el-radio-button\")!\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (!_unref(formSubmitted))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_form, {\n ref_key: \"franchiseFormRef\",\n ref: franchiseFormRef,\n class: \"col-12 franchise-form py-1\",\n model: _unref(formData),\n rules: rules,\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"firstName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"firstName\",\n modelValue: _unref(formData).firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(formData).firstName) = $event)),\n placeholder: \"First Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"lastName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"lastName\",\n modelValue: _unref(formData).lastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(formData).lastName) = $event)),\n placeholder: \"Last Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"phoneNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"phoneNumber\",\n type: \"tel\",\n maxlength: 15,\n modelValue: _unref(formData).phoneNumber,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(formData).phoneNumber) = $event)),\n placeholder: \"Contact Number*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"email\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"email\",\n type: \"email\",\n modelValue: _unref(formData).email,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(formData).email) = $event)),\n placeholder: \"Email address*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"idNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"idNumber\",\n modelValue: _unref(formData).idNumber,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(formData).idNumber) = $event)),\n placeholder: \"Identification Number*\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n label: \"Copy of your ID\",\n prop: \"idDocumentRelativeUrl\"\n }, {\n default: _withCtx(() => [\n _createVNode(FileUploader, {\n name: \"idDocumentRelativeUrl\",\n uploadTo: _unref(formData).idDocumentRelativeUrl,\n onUpload: handleFileUpload,\n onDelete: handleDeleteUpload,\n buttonText: \"Choose File\",\n buttonClass: \"btn btn-secondary sm-btn\"\n }, null, 8, [\"uploadTo\"])\n ]),\n _: 1\n }),\n _hoisted_4,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"province\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"province\",\n modelValue: _unref(formData).province,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(formData).province) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Province*\",\n loading: _unref(miscStore).isLoading && !_unref(regionsDdl).length\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(regionsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: item,\n key: `province-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4 mb-md-4\",\n prop: \"city\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"city\",\n disabled: !_unref(formData).province,\n modelValue: _unref(formData).city,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(formData).city) = $event)),\n clearable: \"\",\n placeholder: \"City*\"\n }, null, 8, [\"disabled\", \"modelValue\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _hoisted_6,\n (_unref(isBusinessQuestion) == false)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n id: \"BusinessQuestions\",\n class: \"my-3\",\n title: \"Please answer the questions in this section\",\n type: \"warning\",\n closable: false\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_7,\n _createVNode(_component_el_radio_group, {\n prop: \"radioSite\",\n modelValue: _unref(radioSite),\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_isRef(radioSite) ? (radioSite).value = $event : radioSite = $event)),\n class: _normalizeClass({'mb-4': _unref(radioSite) != 'yes'}),\n size: \"large\",\n onChange: _cache[8] || (_cache[8] = ($event: any) => {_unref(formData).noBuilding = _unref(radioSite) == 'yes'; _isRef(isBusinessQuestion) //@ts-ignore\n ? isBusinessQuestion.value = true : isBusinessQuestion = true;})\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_button, { value: \"yes\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Yes\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio_button, { value: \"no\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"No\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"])\n ]),\n (_unref(radioSite) == 'yes')\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n prop: \"noBuildingDescription\",\n class: \"col-md-12 col-xl-8 col-xxl-6 mt-3 mb-3 mb-md-4\",\n label: \"Please provide the address below:\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"noBuildingDescription\",\n modelValue: _unref(formData).noBuildingDescription,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(formData).noBuildingDescription) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_8,\n _createVNode(_component_el_radio_group, {\n prop: \"radioPremises\",\n modelValue: _unref(radioPremises),\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_isRef(radioPremises) ? (radioPremises).value = $event : radioPremises = $event)),\n class: _normalizeClass({'mb-4': _unref(radioPremises) != 'yes'}),\n size: \"large\",\n onChange: _cache[11] || (_cache[11] = ($event: any) => {_unref(formData).existingBuilding = _unref(radioPremises) == 'yes'; _isRef(isBusinessQuestion) //@ts-ignore\n ? isBusinessQuestion.value = true : isBusinessQuestion = true;})\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_button, { value: \"yes\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Yes\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio_button, { value: \"no\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"No\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"])\n ]),\n (_unref(radioPremises) == 'yes')\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 1,\n prop: \"existingBuildingDescription\",\n class: \"col-md-12 col-xl-8 col-xxl-6 mt-3 mb-3 mb-md-4\",\n label: \"Please provide the address below:\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"existingBuildingDescription\",\n modelValue: _unref(formData).existingBuildingDescription,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_unref(formData).existingBuildingDescription) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_9,\n _createVNode(_component_el_radio_group, {\n prop: \"radioExistingBusiness\",\n modelValue: _unref(radioExistingBusiness),\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_isRef(radioExistingBusiness) ? (radioExistingBusiness).value = $event : radioExistingBusiness = $event)),\n class: _normalizeClass({'mb-4': _unref(radioExistingBusiness) != 'yes'}),\n size: \"large\",\n onChange: _cache[14] || (_cache[14] = ($event: any) => {_unref(formData).existingBusiness = _unref(radioExistingBusiness) == 'yes'; _isRef(isBusinessQuestion) //@ts-ignore\n ? isBusinessQuestion.value = true : isBusinessQuestion = true;})\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_button, { value: \"yes\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Yes\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio_button, { value: \"no\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"No\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"])\n ]),\n (_unref(radioExistingBusiness) == 'yes')\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 2,\n prop: \"existingBusinessDescription\",\n class: \"col-md-12 col-xl-8 col-xxl-6 mt-3 mb-3 mb-md-4\",\n label: \"Please elaborate below:\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"existingBusinessDescription\",\n modelValue: _unref(formData).existingBusinessDescription,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_unref(formData).existingBusinessDescription) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_10,\n _hoisted_11,\n _createVNode(_component_el_radio_group, {\n prop: \"radioExperience\",\n modelValue: _unref(radioExperience),\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => (_isRef(radioExperience) ? (radioExperience).value = $event : radioExperience = $event)),\n onChange: _cache[17] || (_cache[17] = ($event: any) => (_unref(formData).hasExperience = _unref(radioExperience) == 'yes')),\n class: \"mb-3\",\n size: \"large\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_button, { value: \"yes\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Yes\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio_button, { value: \"no\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"No\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createVNode(_component_el_form_item, {\n prop: \"experienceDescription\",\n class: \"col-md-12 col-xl-8 col-xxl-6 mb-4 mb-md-4\",\n label: \"If yes/no to the above please elaborate on your experience/background:\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"experienceDescription\",\n modelValue: _unref(formData).experienceDescription,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((_unref(formData).experienceDescription) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _hoisted_12,\n _createVNode(_component_el_form_item, {\n prop: \"financingDetails\",\n class: \"col-md-12 col-xl-8 col-xxl-6 mb-4 mb-md-4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n name: \"financingDetails\",\n modelValue: _unref(formData).financingDetails,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((_unref(formData).financingDetails) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n type: \"button\",\n disabled: _unref(miscStore).isLoadingOverride,\n class: \"btn btn-primary\",\n onClick: _cache[20] || (_cache[20] = ($event: any) => (submitForm(franchiseFormRef.value)))\n }, [\n (!_unref(miscStore).isLoadingOverride)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Submit\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Please Wait...\")\n ], 64))\n ], 8, _hoisted_14)\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _hoisted_16,\n _hoisted_17,\n _createVNode(_component_router_link, {\n class: \"btn btn-secondary\",\n to: { name: 'Home' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return home\")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./FranchiseForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FranchiseForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-44603da9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"contact-view\" }\nconst _hoisted_2 = { class: \"d-flex justify-content-between franchise-links\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-7 col-lg-8\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-3\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Submit your application\")\n ])\n], -1))\nconst _hoisted_4 = { class: \"col-5 col-lg-4 text-end\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", null, \"Contact us\", -1))\n\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Banner from \"@/components/general/Banner.vue\";\r\n import MainContainer from \"@/components/general/MainContainer.vue\";\r\n import FranchiseForm from \"@/components/form/FranchiseForm.vue\";\r\n import { CmsBaseUrl } from \"@/utilities\"\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BecomeAFranchiseApplicationView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-become-a-franchise\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, {\n class: \"my-5 wow fadeInDown\",\n \"data-wow-delay\": \"0.4s\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_router_link, {\n to: { name: 'Contact' },\n class: \"btn sm-btn btn-secondary ms-2\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Have a different enquiry? \"),\n _hoisted_5,\n _createTextVNode(\". \")\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(ContentBlock, {\n alias: \"become-a-franchise-intro\",\n class: \"mb-0\"\n }),\n _createVNode(FranchiseForm)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./BecomeAFranchiseApplicationView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BecomeAFranchiseApplicationView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BecomeAFranchiseApplicationView.vue?vue&type=style&index=0&id=44603da9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-44603da9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, isRef as _isRef, withCtx as _withCtx, withModifiers as _withModifiers, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7b78b957\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"position-relative\" }\nconst _hoisted_2 = {\n class: \"article-search wow fadeInDown\",\n \"data-wow-delay\": \".48s\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"d-block\" }, \"filter by category\", -1))\nconst _hoisted_4 = { class: \"d-flex flex-wrap\" }\nconst _hoisted_5 = [\"id\"]\nconst _hoisted_6 = [\"id\", \"onClick\", \"data-id\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", {\n class: \"my-4\",\n style: {\"opacity\":\".3\"}\n}, null, -1))\nconst _hoisted_8 = { class: \"col-12 col-lg-8\" }\nconst _hoisted_9 = { class: \"fst-italic\" }\nconst _hoisted_10 = { class: \"text-dark\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { class: \"btn btn-secondary fw-bold fst-italic\" }, \"Find Out More\", -1))\nconst _hoisted_12 = { class: \"col-12 col-lg-4 preview-image mt-3 mt-lg-0\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"alert alert-warning\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"alert alert-warning\"\n}\n\nimport { ref, Ref, onMounted, watch } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { scrollTop } from \"@/utilities\";\r\n import { getArticleCategory, getArticleList } from \"@/utilities/graphql\";\r\n import { articleObj } from '@/utilities/graphql/article';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import Pagination from \"@/components/misc/Pagination.vue\";\r\n import { PaginationData } from \"@/types/index\";\r\n import { useRoute, useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TechnicalArticleListView',\n props: {\r\n category: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n const router = useRouter();\r\n const route = useRoute();\r\n\r\n var category: Ref<any | undefined> = ref(undefined);\r\n var search: Ref<string> = ref(route.query.search?.toLocaleString() || '');\r\n var articles: Ref<any | undefined> = ref(undefined);\r\n var articleList: Ref<Array<any> | undefined> = ref(undefined);\r\n var page: Ref<PaginationData> = ref({\r\n totalCount: 0,\r\n pageCount: 0,\r\n pageSize: 10,\r\n pageNumber: 0,\r\n data: []\r\n })\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getArticleCategory(ApolloClient).then(res => {\r\n if (res) {\r\n category.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n await getArticleList(ApolloClient).then(res => {\r\n if (res) {\r\n articles.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n\r\n setArticleList();\r\n })\r\n\r\n watch (route, () => {\r\n setTimeout(() => {\r\n scrollTop(\".article-search\");\r\n setArticleList();\r\n }, 100);\r\n })\r\n\r\n function getCategoryAlias (article: any) {\r\n return article.category.termContentItems[0].alias.alias;\r\n }\r\n\r\n function getIntroCopyAlias (getDefault: boolean = false) {\r\n if (!props.category || props.category == null || getDefault) {\r\n return \"technical-article-list-intro\";\r\n }\r\n return `technical-article-list-${props.category}-intro`;\r\n }\r\n\r\n function CurrentPage () {\r\n if (route.query.page) {\r\n return (route.query.page as any) * 1;\r\n }\r\n return 1;\r\n }\r\n\r\n function SetPageObject () {\r\n page.value.pageNumber = CurrentPage();\r\n page.value.pageCount = Math.ceil(page.value.totalCount / page.value.pageSize);\r\n }\r\n\r\n function indexStart () {\r\n return (CurrentPage() - 1) * page.value.pageSize;\r\n }\r\n\r\n function indexEnd () {\r\n return indexStart() + page.value.pageSize;\r\n }\r\n\r\n function setArticleList () {\r\n var tempList = [];\r\n if (!props.category) {\r\n tempList = articles.value;\r\n }\r\n else {\r\n tempList = ArticleListCategoryFilter();\r\n }\r\n \r\n if (route.query.search) {\r\n tempList = Search(tempList);\r\n }\r\n page.value.totalCount = tempList.length;\r\n SetPageObject();\r\n\r\n var returnList = tempList.slice(indexStart(), indexEnd());\r\n articleList.value = returnList;\r\n }\r\n\r\n function UpdateSearch () {\r\n if(search.value) {\r\n router.replace({query: {page: 1, search: search.value}});\r\n }\r\n else {\r\n router.replace({query: {page: 1}});\r\n }\r\n }\r\n\r\n function UpdateCategory (category?: string) {\r\n let query = {\r\n ...route.query,\r\n page: 1\r\n };\r\n if (category) {\r\n router.push({name: 'TechnicalArticleList', params: {category: category}, query: query});\r\n }\r\n else {\r\n router.push({name: 'TechnicalArticleList', query: query});\r\n }\r\n }\r\n\r\n function ArticleListCategoryFilter () {\r\n const activeCategoryBtn = document.getElementById(\"ActiveCategory\") as HTMLElement | null;\r\n if (!props.category && !activeCategoryBtn) {\r\n return articles.value;\r\n }\r\n const articleFiltered = Object.values(articles.value).filter((data: any) => {\r\n const res = data as articleObj;\r\n const categoryId = activeCategoryBtn?.dataset.id;\r\n if(!res.category || res.category.termContentItemIds.length < 1) return false;\r\n\r\n return res.category.termContentItemIds[0] === categoryId;\r\n })\r\n return articleFiltered;\r\n }\r\n\r\n function Search (currentList: Array<any>) {\r\n if (!search.value) {\r\n return currentList;\r\n }\r\n return Object.values(currentList).filter((data: any) => {\r\n const res = data as articleObj;\r\n return [res.displayText, res.blurb, res.bodyCopy].some(item => {\r\n if(!item) return false;\r\n \r\n return item.toLowerCase().includes(search.value.toLowerCase()) || false\r\n });\r\n })\r\n }\r\n\r\n async function handlePageChange(page: number) {\r\n router.replace({query: {page: page}});\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-technical-articles\" }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: getIntroCopyAlias(),\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".45s\"\n }, null, 8, [\"alias\"]),\n (_unref(articles))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (UpdateCategory())),\n id: `${!props.category ? 'ActiveCategory' : ''}`,\n class: _normalizeClass(['btn sm-btn me-2', {'btn-primary': !props.category}, {'btn-outline-primary': props.category}])\n }, \" All \", 10, _hoisted_5),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(category), (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n id: `${props.category == item.alias.alias ? 'ActiveCategory' : ''}`,\n onClick: ($event: any) => (UpdateCategory(item.alias.alias)),\n key: index,\n \"data-id\": item.contentItemId,\n class: _normalizeClass(['btn sm-btn me-2', {'btn-primary': props.category == item.alias.alias}, {'btn-outline-primary': props.category != item.alias.alias}])\n }, _toDisplayString(item.displayText), 11, _hoisted_6))\n }), 128))\n ]),\n _createVNode(_component_el_form, {\n size: \"large\",\n \"label-position\": \"top\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, { class: \"my-3\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"search\",\n onInput: _cache[1] || (_cache[1] = ($event: any) => (UpdateSearch())),\n modelValue: _unref(search),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(search) ? (search).value = $event : search = $event)),\n clearable: \"\",\n placeholder: \"Search\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _hoisted_7,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(articleList), (article, index) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n class: \"article-preview d-flex flex-wrap flex-lg-nowrap justify-content-between text-decoration-none wow fadeInDown\",\n \"data-wow-delay\": \".48s\",\n to: {name: 'TechnicalArticle', params: {category: getCategoryAlias(article), slug: article.alias.alias}},\n key: index,\n \"data-category\": getCategoryAlias(article)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h2\", _hoisted_9, _toDisplayString(article.displayText), 1),\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(article.blurb), 1),\n _hoisted_11\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(Image, {\n src: article.thumbnailImage.urls[0],\n alt: article.displayText,\n \"data-image-ref\": article.displayText + ' thumbnail image'\n }, null, 8, [\"src\", \"alt\", \"data-image-ref\"])\n ])\n ]),\n _: 2\n }, 1032, [\"to\", \"data-category\"]))\n }), 128)),\n _createVNode(Pagination, {\n data: _unref(page),\n large: true,\n onChange: handlePageChange\n }, null, 8, [\"data\"]),\n (_unref(page).totalCount == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, \" There are no articles that match your request. \"))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_14, \" There are no articles at the moment, stay tuned! \"))\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./TechnicalArticleListView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TechnicalArticleListView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TechnicalArticleListView.vue?vue&type=style&index=0&id=7b78b957&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7b78b957\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\nconst _hoisted_4 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".78s\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { getArticle } from \"@/utilities/graphql\";\r\n import { articleObj } from '@/utilities/graphql/articles';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import { useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TechnicalArticleView',\n props: {\r\n category: {type: String, default: null},\r\n slug: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var article: Ref<any | undefined> = ref(undefined);\r\n\r\n const router = useRouter();\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n if(props.slug != null && props.slug != '') {\r\n await getArticle(ApolloClient, props.slug).then(res => {\r\n article.value = res as articleObj\r\n miscStore.isLoadingOverride = false;\r\n \r\n let eventName = \"article_view\";\r\n \r\n const event = {\r\n title: article.value.displayText\r\n };\r\n gtmDatalayerEvent(eventName, event);\r\n });\r\n }\r\n else {\r\n miscStore.isLoadingOverride = false;\r\n router.push({ name: 'TechnicalArticleList' });\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(article))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(article).bannerImage.urls.length)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n imageObj: { src: _unref(article).bannerImage.urls[0], title: _unref(article).displayText }\n }, null, 8, [\"imageObj\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: \"banner-technical-articles\",\n imageObj: { title: _unref(article).displayText }\n }, null, 8, [\"imageObj\"])),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, {\n class: \"my-5 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'TechnicalArticleList' },\n class: \"btn sm-btn btn-secondary mb-4\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to articles \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(article).bodyCopy.contentItems, (item, index) => {\n return (_openBlock(), _createBlock(ContentBlock, {\n key: index,\n content: item\n }, null, 8, [\"content\"]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TechnicalArticleView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TechnicalArticleView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, isRef as _isRef, withCtx as _withCtx, withModifiers as _withModifiers, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-45353fe2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"position-relative\" }\nconst _hoisted_2 = {\n class: \"article-search wow fadeInDown\",\n \"data-wow-delay\": \".48s\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"d-block\" }, \"filter by category\", -1))\nconst _hoisted_4 = { class: \"d-flex flex-wrap\" }\nconst _hoisted_5 = [\"id\"]\nconst _hoisted_6 = [\"id\", \"onClick\", \"data-id\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", {\n class: \"my-4\",\n style: {\"opacity\":\".3\"}\n}, null, -1))\nconst _hoisted_8 = { class: \"col-12 col-lg-8\" }\nconst _hoisted_9 = { class: \"fst-italic\" }\nconst _hoisted_10 = { class: \"fst-italic text-muted\" }\nconst _hoisted_11 = { class: \"text-dark\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { class: \"btn btn-secondary fw-bold fst-italic\" }, \"Find Out More\", -1))\nconst _hoisted_13 = { class: \"col-12 col-lg-4 preview-image mt-3 mt-lg-0\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"alert alert-warning\"\n}\nconst _hoisted_15 = {\n key: 1,\n class: \"alert alert-warning\"\n}\n\nimport { ref, Ref, onMounted, watch } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { scrollTop } from \"@/utilities\";\r\n import { getNewsCategory, getNewsList } from \"@/utilities/graphql\";\r\n import { newsArticle, newsArticleObj } from '@/utilities/graphql/news';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import Pagination from \"@/components/misc/Pagination.vue\";\r\n import { PaginationData } from \"@/types/index\";\r\n import { useRoute, useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'NewsArticleListView',\n props: {\r\n category: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n const router = useRouter();\r\n const route = useRoute();\r\n\r\n var category: Ref<any | undefined> = ref(undefined);\r\n var search: Ref<string> = ref(route.query.search?.toLocaleString() || '');\r\n var newsArticles: Ref<any | undefined> = ref(undefined);\r\n var newsArticleList: Ref<Array<any> | undefined> = ref(undefined);\r\n var page: Ref<PaginationData> = ref({\r\n totalCount: 0,\r\n pageCount: 0,\r\n pageSize: 10,\r\n pageNumber: 0,\r\n data: []\r\n })\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getNewsCategory(ApolloClient).then(res => {\r\n if (res) {\r\n category.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n await getNewsList(ApolloClient).then(res => {\r\n if (res) {\r\n newsArticles.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n\r\n setnewsArticleList();\r\n })\r\n\r\n watch (route, () => {\r\n setTimeout(() => {\r\n scrollTop(\".article-search\");\r\n setnewsArticleList();\r\n }, 100);\r\n })\r\n\r\n function getCategoryAlias (article: any) {\r\n return article.category.termContentItems[0].alias.alias;\r\n }\r\n\r\n function getIntroCopyAlias (getDefault: boolean = false) {\r\n if (!props.category || props.category == null || getDefault) {\r\n return \"news-article-list-intro\";\r\n }\r\n return `news-article-list-${props.category}-intro`;\r\n }\r\n\r\n function CurrentPage () {\r\n if (route.query.page) {\r\n return (route.query.page as any) * 1;\r\n }\r\n return 1;\r\n }\r\n\r\n function SetPageObject () {\r\n page.value.pageNumber = CurrentPage();\r\n page.value.pageCount = Math.ceil(page.value.totalCount / page.value.pageSize);\r\n }\r\n\r\n function indexStart () {\r\n return (CurrentPage() - 1) * page.value.pageSize;\r\n }\r\n\r\n function indexEnd () {\r\n return indexStart() + page.value.pageSize;\r\n }\r\n\r\n function setnewsArticleList () {\r\n var tempList = [];\r\n if (!props.category) {\r\n tempList = newsArticles.value;\r\n }\r\n else {\r\n tempList = newsArticleListCategoryFilter();\r\n }\r\n \r\n if (route.query.search) {\r\n tempList = Search(tempList);\r\n }\r\n page.value.totalCount = tempList.length;\r\n SetPageObject();\r\n\r\n var returnList = tempList.slice(indexStart(), indexEnd());\r\n newsArticleList.value = returnList;\r\n }\r\n\r\n function UpdateSearch () {\r\n if(search.value) {\r\n router.replace({query: {page: 1, search: search.value}});\r\n }\r\n else {\r\n router.replace({query: {page: 1}});\r\n }\r\n }\r\n\r\n function UpdateCategory (category?: string) {\r\n let query = {\r\n ...route.query,\r\n page: 1\r\n };\r\n if (category) {\r\n router.push({name: 'NewsList', params: {category: category}, query: query});\r\n }\r\n else {\r\n router.push({name: 'NewsList', query: query});\r\n }\r\n }\r\n\r\n function newsArticleListCategoryFilter () {\r\n const activeCategoryBtn = document.getElementById(\"ActiveCategory\") as HTMLElement | null;\r\n if (!props.category && !activeCategoryBtn) {\r\n return newsArticles.value;\r\n }\r\n const articleFiltered = Object.values(newsArticles.value).filter((data: any) => {\r\n const res = data as newsArticleObj;\r\n const categoryId = activeCategoryBtn?.dataset.id;\r\n if(!res.category || res.category.termContentItemIds.length < 1) return false;\r\n\r\n return res.category.termContentItemIds[0] === categoryId;\r\n })\r\n return articleFiltered;\r\n }\r\n\r\n function Search (currentList: Array<any>) {\r\n if (!search.value) {\r\n return currentList;\r\n }\r\n return Object.values(currentList).filter((data: any) => {\r\n const res = data as newsArticleObj;\r\n return [res.displayText, res.blurb, res.bodyCopy].some(item => {\r\n if(!item) return false;\r\n \r\n return item.toLowerCase().includes(search.value.toLowerCase()) || false\r\n });\r\n })\r\n }\r\n\r\n async function handlePageChange(page: number) {\r\n router.replace({query: {page: page}});\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-news-articles\" }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: getIntroCopyAlias(),\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".45s\"\n }, null, 8, [\"alias\"]),\n (_unref(newsArticle))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (UpdateCategory())),\n id: `${!props.category ? 'ActiveCategory' : ''}`,\n class: _normalizeClass(['btn sm-btn me-2', {'btn-primary': !props.category}, {'btn-outline-primary': props.category}])\n }, \" All \", 10, _hoisted_5),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(category), (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n id: `${props.category == item.alias.alias ? 'ActiveCategory' : ''}`,\n onClick: ($event: any) => (UpdateCategory(item.alias.alias)),\n key: index,\n \"data-id\": item.contentItemId,\n class: _normalizeClass(['btn sm-btn me-2', {'btn-primary': props.category == item.alias.alias}, {'btn-outline-primary': props.category != item.alias.alias}])\n }, _toDisplayString(item.displayText), 11, _hoisted_6))\n }), 128))\n ]),\n _createVNode(_component_el_form, {\n size: \"large\",\n \"label-position\": \"top\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, { class: \"my-3\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n name: \"search\",\n onInput: _cache[1] || (_cache[1] = ($event: any) => (UpdateSearch())),\n modelValue: _unref(search),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(search) ? (search).value = $event : search = $event)),\n clearable: \"\",\n placeholder: \"Search\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _hoisted_7,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(newsArticleList), (newsArticle, index) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n class: \"article-preview d-flex flex-wrap flex-lg-nowrap justify-content-between text-decoration-none wow fadeInDown\",\n \"data-wow-delay\": \".48s\",\n to: {name: 'NewsArticle', params: {category: getCategoryAlias(newsArticle), slug: newsArticle.alias.alias}},\n key: index,\n \"data-category\": getCategoryAlias(newsArticle)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h2\", _hoisted_9, _toDisplayString(newsArticle.displayText), 1),\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(newsArticle.publishDate), 1),\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(newsArticle.blurb), 1),\n _hoisted_12\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(Image, {\n src: newsArticle.thumbnailImage.urls[0],\n alt: newsArticle.displayText,\n \"data-image-ref\": newsArticle.displayText + ' thumbnail image'\n }, null, 8, [\"src\", \"alt\", \"data-image-ref\"])\n ])\n ]),\n _: 2\n }, 1032, [\"to\", \"data-category\"]))\n }), 128)),\n _createVNode(Pagination, {\n data: _unref(page),\n large: true,\n onChange: handlePageChange\n }, null, 8, [\"data\"]),\n (_unref(page).totalCount == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, \" There are no news articles that match your request. \"))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_15, \" There are no news articles at the moment, stay tuned! \"))\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./NewsArticleListView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./NewsArticleListView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./NewsArticleListView.vue?vue&type=style&index=0&id=45353fe2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-45353fe2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\nconst _hoisted_4 = { class: \"fst-italic text-muted\" }\nconst _hoisted_5 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".78s\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { getNewsArticle } from \"@/utilities/graphql\";\r\n import { newsArticleObj } from '@/utilities/graphql/news';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import { useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'NewsArticleView',\n props: {\r\n category: {type: String, default: null},\r\n slug: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var newsArticle: Ref<any | undefined> = ref(undefined);\r\n\r\n const router = useRouter();\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n if(props.slug != null && props.slug != '') {\r\n await getNewsArticle(ApolloClient, props.slug).then(res => {\r\n newsArticle.value = res as newsArticleObj\r\n miscStore.isLoadingOverride = false;\r\n \r\n let eventName = \"newsarticle_view\";\r\n \r\n const event = {\r\n title: newsArticle.value.displayText\r\n };\r\n gtmDatalayerEvent(eventName, event);\r\n });\r\n }\r\n else {\r\n miscStore.isLoadingOverride = false;\r\n router.push({ name: 'NewsList' });\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(newsArticle))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(newsArticle).bannerImage.urls.length)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n imageObj: { src: _unref(newsArticle).bannerImage.urls[0], title: _unref(newsArticle).displayText }\n }, null, 8, [\"imageObj\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: \"banner-news-articles\",\n imageObj: { title: _unref(newsArticle).displayText }\n }, null, 8, [\"imageObj\"])),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, {\n class: \"my-5 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'NewsList' },\n class: \"btn sm-btn btn-secondary mb-4\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to news \")\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_4, \"Published: \" + _toDisplayString(_unref(newsArticle).publishDate), 1),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(newsArticle).bodyCopy.contentItems, (item, index) => {\n return (_openBlock(), _createBlock(ContentBlock, {\n key: index,\n content: item\n }, null, 8, [\"content\"]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./NewsArticleView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./NewsArticleView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8f695aba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"not-found-view\" }\nconst _hoisted_2 = { style: {\"min-height\":\"45vh\"} }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"m-0 py-3 py-md-5\" }, \"Oops, something went wrong here!\", -1))\nconst _hoisted_4 = { class: \"py-3 py-md-5\" }\n\nimport { useHead } from \"@unhead/vue\";\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'PageNotFoundView',\n setup(__props) {\n\r\n useHead({\r\n title: \"Page Not Found\",\r\n });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-404-not-found\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"page-not-found-view text-center\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_router_link, {\n class: \"btn btn-primary fs-4\",\n to: { name: 'Home' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return to home page\")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./PageNotFoundView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PageNotFoundView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PageNotFoundView.vue?vue&type=style&index=0&id=8f695aba&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8f695aba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-20a95626\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"cookie-policy-view\" }\nconst _hoisted_2 = { class: \"row justify-content-center\" }\nconst _hoisted_3 = { class: \"col-12\" }\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CookiePolicyView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-terms-and-conditions\",\n imageObj: { title: 'Cookie policy' }\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(ContentBlock, {\n alias: \"cookie-policy\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./CookiePolicyView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CookiePolicyView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CookiePolicyView.vue?vue&type=style&index=0&id=20a95626&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-20a95626\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-31a777f3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"privacy-policy-view\" }\nconst _hoisted_2 = { class: \"row justify-content-center\" }\nconst _hoisted_3 = { class: \"col-12\" }\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PrivacyPolicyView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-terms-and-conditions\",\n imageObj: { title: 'Privacy policy' }\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(ContentBlock, {\n alias: \"privacy-policy\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./PrivacyPolicyView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PrivacyPolicyView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PrivacyPolicyView.vue?vue&type=style&index=0&id=31a777f3&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-31a777f3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"terms-and-conditions-view\" }\nconst _hoisted_2 = { class: \"row justify-content-center\" }\nconst _hoisted_3 = { class: \"col-12\" }\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TermsAndConditionsView',\n setup(__props) {\n\r\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-terms-and-conditions\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(ContentBlock, {\n alias: \"terms-and-conditions\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TermsAndConditionsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TermsAndConditionsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-20d7ba24\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"row flex-wrap hide-labels\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Contact Information\")\n], -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-12\" }, null, -1))\nconst _hoisted_5 = { class: \"col-12 mb-4\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"checklist-label\" }, \"Preferred Contact Method\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mb-4\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Company Details\")\n], -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", { class: \"checklist-label lh-1 my-2\" }, \"Please specify other industries\", -1))\nconst _hoisted_9 = { class: \"col-12 mb-4\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"checklist-label\" }, \"Types of Vehicles\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", { class: \"checklist-label lh-1 my-2\" }, \"Please specify other types of vehicles\", -1))\nconst _hoisted_12 = { class: \"mt-3 mt-sm-4 d-flex\" }\nconst _hoisted_13 = [\"disabled\"]\nconst _hoisted_14 = {\n key: 1,\n class: \"text-center\"\n}\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h1 text-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Thank you!\")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-4\" }, \"Your fleet account request has been submitted.\", -1))\n\nimport ContentBlock from '@/components/general/ContentBlock.vue';\r\nimport type { CheckboxValueType, FormInstance, FormRules } from \"element-plus\";\r\nimport { IReCaptchaComposition, useReCaptcha } from 'vue-recaptcha-v3'\r\nimport { onMounted, reactive, ref, Ref } from \"vue\";\r\nimport { ValidateFieldsError } from \"async-validator\";\r\nimport { handleInvalidForm, scrollTop } from \"@/utilities\";\r\nimport { ContactMethod, CreateFleetContactRequestCommand } from \"@/api-client\";\r\nimport { postFleetAccountRequest } from \"@/api-calls/contact\";\r\nimport { useMiscStore } from \"@/stores/misc\";\r\nimport { useRoute } from \"vue-router\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FleetAccountForm',\n setup(__props) {\n\r\nconst miscStore = useMiscStore();\r\nconst fleetAccountFormRef = ref<FormInstance>();\r\nlet recapthcaObject: Ref<IReCaptchaComposition | undefined> = ref(undefined);\r\nlet formSubmitted = ref(false);\r\nlet formData = reactive<CreateFleetContactRequestCommand>({\r\n companyName: \"\",\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\",\r\n phoneNumber: \"\",\r\n preferredContactMethod: \"\",\r\n industry: \"\",\r\n numberVehiclesInFleet: \"\",\r\n typesOfVehicles: \"\",\r\n geographicCoverage: \"\",\r\n googleRecaptchaResponse: \"\"\r\n});\r\nlet checklistValues = ref({\r\n preferredContactMethods: [] as ContactMethod[],\r\n industry: [] as string[],\r\n typesOfVehicles: [] as string[],\r\n geographicCoverage: [] as string[],\r\n})\r\nlet additionalDetails = ref({\r\n industry: \"\",\r\n typesOfVehicles: \"\",\r\n})\r\n\r\nconst route = useRoute();\r\n\r\nconst validateContactMethods = (rule: any, value: any, callback: Function) => {\r\n if (!checklistValues.value.preferredContactMethods.length) {\r\n callback(new Error('Please select a preferred contact method'));\r\n } else {\r\n callback();\r\n }\r\n}\r\n\r\nconst validateIndustry = (rule: any, value: any, callback: Function) => {\r\n if (!checklistValues.value.industry.length) {\r\n callback(new Error('Please select one or more industries'));\r\n } else if (checklistValues.value.industry.includes('Other') && !additionalDetails.value.industry) {\r\n callback(new Error('Please specify other industries'));\r\n } else {\r\n callback();\r\n }\r\n}\r\n\r\nconst validateRequestVehicles = (rule: any, value: any, callback: Function) => {\r\n if (!checklistValues.value.typesOfVehicles.length) {\r\n callback(new Error('Please select one or more vehicle types'));\r\n } else if (checklistValues.value.typesOfVehicles.includes('Other') && !additionalDetails.value.typesOfVehicles) {\r\n callback(new Error('Please specify other types of vehicles'));\r\n } else {\r\n callback();\r\n }\r\n}\r\n\r\nconst validateGeographicCoverage = (rule: any, value: any, callback: Function) => {\r\n if (!checklistValues.value.geographicCoverage.length) {\r\n callback(new Error('Please select a geographic coverage'));\r\n } else {\r\n callback();\r\n }\r\n}\r\n\r\nconst rules = reactive<FormRules<CreateFleetContactRequestCommand>>({\r\n companyName: [{ required: true, message: \"Please enter a company name\", trigger: \"change\" }],\r\n firstName: [{ required: true, message: \"Please enter a first name\", trigger: \"change\" }],\r\n lastName: [{ required: true, message: \"Please enter a last name\", trigger: \"change\" }],\r\n email: [{ required: true, type: \"email\", message: \"Please enter a valid email address\", trigger: \"change\" }],\r\n phoneNumber: [\r\n { required: true, message: \"Please enter a phone number\", trigger: \"change\" },\r\n { pattern: /^[\\+?0-9 \\-]+$/, message: \"Please enter a valid phone number\", trigger: \"change\" },\r\n ],\r\n preferredContactMethod: [{ required: true, validator: validateContactMethods, trigger: \"change\" }],\r\n industry: [{ required: true, validator: validateIndustry, trigger: \"change\" }],\r\n numberVehiclesInFleet: [{ required: true, message: \"Please enter number of vehicles in fleet\", trigger: \"change\" }],\r\n typesOfVehicles: [{ required: true, validator: validateRequestVehicles, trigger: \"change\" }],\r\n geographicCoverage: [{ required: true, validator: validateGeographicCoverage, trigger: \"change\" }],\r\n});\r\n\r\nonMounted(async () => {\r\n recapthcaObject.value = useReCaptcha() as IReCaptchaComposition;\r\n})\r\n\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return;\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n if (checklistValues.value.industry.length) {\r\n const otherIndex = checklistValues.value.industry.indexOf('Other');\r\n formData.industry = checklistValues.value.industry.join('\\n');\r\n \r\n if (otherIndex > -1) {\r\n formData.industry = formData.industry.replace(\"Other\", \"Other: \" + additionalDetails.value.industry);\r\n }\r\n }\r\n\r\n if (checklistValues.value.typesOfVehicles.length) {\r\n const otherIndex = checklistValues.value.typesOfVehicles.indexOf('Other');\r\n formData.typesOfVehicles = checklistValues.value.typesOfVehicles.join('\\n');\r\n \r\n if (otherIndex > -1) {\r\n formData.typesOfVehicles = formData.typesOfVehicles.replace(\"Other\", \"Other: \" + additionalDetails.value.typesOfVehicles);\r\n }\r\n }\r\n\r\n if (checklistValues.value.preferredContactMethods.length) {\r\n formData.preferredContactMethod = checklistValues.value.preferredContactMethods.join('\\n');\r\n }\r\n\r\n if (checklistValues.value.geographicCoverage.length) {\r\n formData.geographicCoverage = checklistValues.value.geographicCoverage.join('\\n');\r\n }\r\n\r\n await recaptcha((token: string) => {\r\n miscStore.isLoadingOverride = true;\r\n formData.googleRecaptchaResponse = token;\r\n postFleetAccountRequest(formData).then(() => {\r\n miscStore.isLoadingOverride = false;\r\n formSubmitted.value = true;\r\n setTimeout(() => {\r\n scrollTop(\"#FormSubmitted\", true);\r\n }, 100);\r\n })\r\n })\r\n } else {\r\n handleInvalidForm(fields as ValidateFieldsError);\r\n }\r\n });\r\n};\r\n\r\nasync function recaptcha(callback: Function) {\r\n if (recapthcaObject) {\r\n const token = await recapthcaObject.value!.executeRecaptcha(\"fleetAccount\")\r\n callback(token)\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_checkbox_group = _resolveComponent(\"el-checkbox-group\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (!_unref(formSubmitted))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_form, {\n ref_key: \"fleetAccountFormRef\",\n ref: fleetAccountFormRef,\n class: \"col-12 fleet-account-form\",\n model: _unref(formData),\n rules: rules,\n size: \"large\",\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"fleet-account-form-intro\",\n class: \"mb-2\"\n }),\n _hoisted_3,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Company Name\",\n prop: \"companyName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n clearable: \"\",\n name: \"companyName\",\n modelValue: _unref(formData).companyName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(formData).companyName) = $event)),\n placeholder: \"Company Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _hoisted_4,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"First Name\",\n prop: \"firstName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n clearable: \"\",\n name: \"firstName\",\n modelValue: _unref(formData).firstName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(formData).firstName) = $event)),\n placeholder: \"First Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Last Name\",\n prop: \"lastName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n clearable: \"\",\n name: \"lastName\",\n modelValue: _unref(formData).lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(formData).lastName) = $event)),\n placeholder: \"Last Name*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Phone Number\",\n prop: \"phoneNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n clearable: \"\",\n name: \"phoneNumber\",\n maxlength: 15,\n modelValue: _unref(formData).phoneNumber,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(formData).phoneNumber) = $event)),\n placeholder: \"Phone Number*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Email\",\n prop: \"email\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n clearable: \"\",\n name: \"email\",\n type: \"email\",\n modelValue: _unref(formData).email,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(formData).email) = $event)),\n placeholder: \"Email*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(checklistValues).preferredContactMethods,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(checklistValues).preferredContactMethods) = $event)),\n style: {\"margin-top\":\"-5px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n label: \"Mobile\",\n value: \"Mobile\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Email\",\n value: \"Email\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_form_item, { prop: \"preferredContactMethod\" })\n ]),\n _hoisted_7,\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Number of Vehicles in Fleet\",\n prop: \"numberVehiclesInFleet\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n min: 1,\n type: \"number\",\n name: \"numberVehiclesInFleet\",\n modelValue: _unref(formData).numberVehiclesInFleet,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(formData).numberVehiclesInFleet) = $event)),\n placeholder: \"Number of Vehicles in Fleet*\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n label: \"Geographic Coverage\",\n prop: \"geographicCoverage\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"geographicCoverage\",\n name: \"geographicCoverage\",\n modelValue: _unref(checklistValues).geographicCoverage,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(checklistValues).geographicCoverage) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n multiple: true,\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Geographic Coverage*\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_option, { value: \"National\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"National\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Regional\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Regional\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Local\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Local\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 mb-4\",\n prop: \"industry\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n class: \"mb-2\",\n id: \"industry\",\n name: \"industry\",\n modelValue: _unref(checklistValues).industry,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(checklistValues).industry) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n multiple: true,\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Industry*\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_option, { value: \"Construction\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Construction\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Transportation\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Transportation\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Logistics\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Logistics\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Retail\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Retail\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Manufacturing\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Manufacturing\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_option, { value: \"Other\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"Other\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_unref(checklistValues).industry.includes('Other'))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_8,\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n modelValue: _unref(additionalDetails).industry,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(additionalDetails).industry) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_el_checkbox_group, {\n modelValue: _unref(checklistValues).typesOfVehicles,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_unref(checklistValues).typesOfVehicles) = $event)),\n style: {\"margin-top\":\"-5px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n label: \"Cars\",\n value: \"Cars\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Trucks\",\n value: \"Trucks\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Vans\",\n value: \"Vans\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"SUVs\",\n value: \"SUVs\"\n }),\n _createVNode(_component_el_checkbox, {\n label: \"Other\",\n value: \"Other\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_unref(checklistValues).typesOfVehicles.includes('Other'))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_11,\n _createVNode(_component_el_input, {\n style: {\"height\":\"auto\"},\n clearable: \"\",\n maxlength: 4000,\n type: \"textarea\",\n modelValue: _unref(additionalDetails).typesOfVehicles,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_unref(additionalDetails).typesOfVehicles) = $event)),\n autosize: { minRows: 5, maxRows: 10 }\n }, null, 8, [\"modelValue\"])\n ], 64))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_form_item, { prop: \"typesOfVehicles\" })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"button\", {\n type: \"button\",\n disabled: _unref(miscStore).isLoadingOverride,\n class: \"btn btn-primary\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (submitForm(fleetAccountFormRef.value)))\n }, [\n (!_unref(miscStore).isLoadingOverride)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Submit\")\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Please Wait...\")\n ], 64))\n ], 8, _hoisted_13)\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _hoisted_15,\n _hoisted_16,\n _createVNode(_component_router_link, {\n class: \"btn btn-secondary\",\n to: { name: 'Home' }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Return home\")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./FleetAccountForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FleetAccountForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./FleetAccountForm.vue?vue&type=style&index=0&id=20d7ba24&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-20d7ba24\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\nconst _hoisted_4 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_5 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8 order-md-1\" }\nconst _hoisted_6 = { class: \"col col-md-5 col-xl-4 text-center text-md-start\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import FleetAccountForm from \"@/components/form/FleetAccountForm.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'GetAHiqCompanyAccountView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-get-a-hiq-company-account\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"get-a-hiq-company-account-intro\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"get-a-hiq-company-account-segment-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-get-a-hiq-company-account-1\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(ContentBlock, {\n alias: \"get-a-hiq-company-account-segment-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(Image, {\n alias: \"image-get-a-hiq-company-account-2\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ]),\n _createVNode(FleetAccountForm)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./GetAHiqCompanyAccountView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GetAHiqCompanyAccountView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4f3e444a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"poistion-relative\" }\nconst _hoisted_2 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".6s\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", {\n class: \"mb-4 mb-lg-5\",\n style: {\"opacity\":\".3\"}\n}, null, -1))\nconst _hoisted_4 = { class: \"col-12 col-lg-8\" }\nconst _hoisted_5 = [\"data-wow-delay\"]\nconst _hoisted_6 = { class: \"fst-italic\" }\nconst _hoisted_7 = { class: \"text-dark\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { class: \"btn btn-secondary fw-bold fst-italic\" }, \"Find Out More\", -1))\nconst _hoisted_9 = { class: \"col-12 col-lg-4 preview-image mt-3 mt-lg-0\" }\n\nimport { ref, Ref, onMounted, watch } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { getValueAddedServicesList } from \"@/utilities/graphql\";\r\n import { valueAddedServiceObj } from '@/utilities/graphql/valueaddedservice';\r\n import valueAddedServiceThumbnail from '@/components/general/valueAddedServiceThumbnail.vue';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import ValueAddedServicesView from \"@/views/tyre-resources/ValueAddedServicesView.vue\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ValueAddedServicesListView',\n props: {\r\n slug: {type: String, default: null}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var valueAddedServices: Ref<any | undefined> = ref(undefined)\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getValueAddedServicesList(ApolloClient).then(res => {\r\n valueAddedServices.value = res;\r\n miscStore.isLoadingOverride = false;\r\n });\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-value-added-services\" }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"value-added-services-intro\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(valueAddedServices), (valueAddedService, index) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n key: index,\n to: '#' + valueAddedService.alias.alias,\n class: \"btn btn-primary value-added-service-btn me-2 mb-2\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(valueAddedService.displayText), 1)\n ]),\n _: 2\n }, 1032, [\"to\"]))\n }), 128)),\n _hoisted_3\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(valueAddedServices), (valueAddedService, index) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n class: \"article-preview d-flex flex-wrap flex-lg-nowrap justify-content-between text-decoration-none pb-3 pb-md-0\",\n to: {name: 'ValueAddedServices', params: {slug: valueAddedService.alias.alias}},\n id: valueAddedService.alias.alias,\n key: index\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": `${index == 0 ? '.7' : '.4'}s`\n }, [\n _createElementVNode(\"h2\", _hoisted_6, _toDisplayString(valueAddedService.displayText), 1),\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(valueAddedService.blurb), 1),\n _hoisted_8\n ], 8, _hoisted_5)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(Image, {\n src: valueAddedService.thumbnailImage.urls[0],\n alt: valueAddedService.displayText,\n \"data-image-ref\": valueAddedService.displayText + ' thumbnail image',\n class: \"wow fadeInDown\",\n \"data-wow-delay\": `${index == 0 ? '.78' : '.5'}s`\n }, null, 8, [\"src\", \"alt\", \"data-image-ref\", \"data-wow-delay\"])\n ])\n ]),\n _: 2\n }, 1032, [\"to\", \"id\"]))\n }), 128))\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./ValueAddedServicesListView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ValueAddedServicesListView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ValueAddedServicesListView.vue?vue&type=style&index=0&id=4f3e444a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4f3e444a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\nconst _hoisted_4 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".78s\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { getValueAddedService } from \"@/utilities/graphql\";\r\n import { valueAddedServiceObj } from '@/utilities/graphql/valueaddedservice';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import { useRouter } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ValueAddedServicesView',\n props: {\r\n slug: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n var valueAddedService: Ref<any | undefined> = ref(undefined);\r\n\r\n const router = useRouter();\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n if(props.slug != null && props.slug != '') {\r\n await getValueAddedService(ApolloClient, props.slug).then(res => {\r\n valueAddedService.value = res as valueAddedServiceObj\r\n miscStore.isLoadingOverride = false;\r\n \r\n let eventName = \"value_added_service_view\";\r\n \r\n const event = {\r\n title: valueAddedService.value.displayText\r\n };\r\n gtmDatalayerEvent(eventName, event);\r\n });\r\n }\r\n else {\r\n miscStore.isLoadingOverride = false;\r\n router.push({ name: 'ValueAddedServiceList' });\r\n }\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(valueAddedService))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(valueAddedService).bannerImage.urls.length)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n imageObj: { src: _unref(valueAddedService).bannerImage.urls[0], title: _unref(valueAddedService).displayText }\n }, null, 8, [\"imageObj\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: \"banner-value-added-services\",\n imageObj: { title: _unref(valueAddedService).displayText }\n }, null, 8, [\"imageObj\"])),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, {\n class: \"my-5 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ValueAddedServicesList' },\n class: \"btn sm-btn btn-secondary mb-4\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to value added services \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(valueAddedService).bodyCopy.contentItems, (item, index) => {\n return (_openBlock(), _createBlock(ContentBlock, {\n key: index,\n content: item\n }, null, 8, [\"content\"]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ValueAddedServicesView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ValueAddedServicesView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelBalancingView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-products-and-services-wheel-balancing\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"products-and-services-wheel-balancing\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-products-and-services-wheel-balancing\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WheelBalancingView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelBalancingView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelAlignmentView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-products-and-services-wheel-alignment\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"products-and-services-wheel-alignment\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-products-and-services-wheel-alignment\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WheelAlignmentView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelAlignmentView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelRotationView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-products-and-services-wheel-rotation\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"products-and-services-wheel-rotation\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-products-and-services-wheel-rotation\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./WheelRotationView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelRotationView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row justify-content-center justify-content-md-between\" }\nconst _hoisted_2 = { class: \"col-12 col-md-6 col-lg-7 col-xl-8\" }\nconst _hoisted_3 = { class: \"col col-md-5 col-xl-4\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TyreRepairsView',\n setup(__props) {\n\r\n onMounted(() => {\r\n \r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, {\n alias: \"banner-products-and-services-tyre-repairs\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(ContentBlock, {\n alias: \"products-and-services-tyre-repairs\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Image, {\n alias: \"image-products-and-services-tyre-repairs\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n })\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TyreRepairsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TyreRepairsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { ref, Ref, onMounted, watch, reactive } from \"vue\"\r\n import { Loader } from '@googlemaps/js-api-loader';\r\n import { StoreListViewModel } from \"@/api-client\";\r\n import { handleError, coordinateVerification } from \"@/utilities\";\r\n import { useRouter } from \"vue-router\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StoreMap',\n props: {\r\n stores: {type: Array, default: []},\r\n isSingleStore: {type: Boolean, default: false}\r\n },\n emits: [\"marker-click\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\r\n \r\n \r\n let storeList = reactive<Array<any>>([]);\r\n let map: Ref<any> = ref(null);\r\n let loader: Ref<Loader | null> = ref(null);\r\n const markerColours = {\r\n primary: \"#0a4d94\",\r\n secondary: \"#ffdc04\",\r\n light: \"#628ab6\",\r\n dark: \"#062b52\"\r\n }\r\n let markerOptions = {\r\n path: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"26px\" height=\"38px\" viewBox=\"0 0 26 37\" style=\"display: block; overflow: visible; grid-area: 1;\">\r\n <g fill=\"none\" fill-rule=\"evenodd\" style=\"pointer-events: auto;\">\r\n <path class=\"RIFJN-maps-pin-view-border\" d=\"M13 0C5.8175 0 0 5.77328 0 12.9181C0 20.5733 5.59 23.444 9.55499 30.0784C12.09 34.3207 11.3425 37 13 37C14.7225 37 13.975 34.2569 16.445 30.1422C20.085 23.8586 26 20.6052 26 12.9181C26 5.77328 20.1825 0 13 0Z\" fill=\"${markerColours.dark}\"></path>\r\n <path class=\"RIFvHW-maps-pin-view-background\" fill=\"${markerColours.primary}\" d=\"M13.0167 35C12.7836 35 12.7171 34.9346 12.3176 33.725C11.9848 32.6789 11.4854 31.0769 10.1873 29.1154C8.92233 27.1866 7.59085 25.6173 6.32594 24.1135C3.36339 20.5174 1 17.7057 1 12.6385C1.03329 6.19808 6.39251 1 13.0167 1C19.6408 1 25 6.23078 25 12.6385C25 17.7057 22.6699 20.55 19.6741 24.1462C18.4425 25.65 17.1443 27.2193 15.8793 29.1154C14.6144 31.0442 14.0818 32.6135 13.749 33.6596C13.3495 34.9346 13.2497 35 13.0167 35Z\"></path>\r\n <path class=\"KWCFZI-maps-pin-view-default-glyph\" d=\"M13 18C15.7614 18 18 15.7614 18 13C18 10.2386 15.7614 8 13 8C10.2386 8 8 10.2386 8 13C8 15.7614 10.2386 18 13 18Z\" fill=\"${markerColours.light}\"></path>\r\n </g>\r\n </svg>` as string,\r\n fillColor: \"#ff4511\",\r\n fillOpacity: 0.3,\r\n strokeWeight: 2,\r\n strokeColor: \"#ff4511\",\r\n rotation: 0,\r\n scale: 12,\r\n };\r\n let mapMarkers: Ref<Array<any>> = ref([]);\r\n let mapOptions = ref({\r\n zoomControl: true,\r\n mapTypeControl: true,\r\n scaleControl: false,\r\n streetViewControl: false,\r\n rotateControl: true,\r\n fullscreenControl: true,\r\n minZoom: 1,\r\n maxZoom: 17,\r\n zoom: 10,\r\n center: { lat: 0, lng: 0},\r\n mapId: \"DEALER_MAP\"\r\n });\r\n\r\n const router = useRouter();\r\n\r\n onMounted(() => {\r\n loadInitialData();\r\n })\r\n\r\n watch(props, () => {\r\n loadInitialData();\r\n })\r\n\r\n function loadInitialData() {\r\n storeList = props.stores;\r\n initMap();\r\n }\r\n\r\n function initMap () {\r\n loader.value = new Loader({\r\n apiKey: `${process.env.VUE_APP_GOOGLE_MAP_KEY}`,\r\n version: \"weekly\",\r\n libraries: ['marker']\r\n });\r\n\r\n loader.value.load()\r\n .then(async (google) => {\r\n const mapElement = map.value as HTMLElement;\r\n let storeListLat: number = 0;\r\n let storeListLong: number = 0;\r\n if(storeList.length) {\r\n storeListLat = storeList[0].latitude;\r\n storeListLong = storeList[0].longitude;\r\n }\r\n mapOptions.value.center = {\r\n lat: storeListLat || 0,\r\n lng: storeListLong || 0\r\n }\r\n if(mapElement) {\r\n (window as any).map = new google.maps.Map(mapElement, mapOptions.value);\r\n await createMapMarkers();\r\n }\r\n })\r\n .catch(error => {\r\n handleError(error)\r\n })\r\n }\r\n\r\n async function createMapMarkers(lazyLoad = false) {\r\n if(typeof (window as any).map === 'object' && typeof google === 'object') {\r\n const {AdvancedMarkerElement} = await google.maps.importLibrary(\"marker\") as google.maps.MarkerLibrary;\r\n const parser = new DOMParser();\r\n const validCoordinates = storeList.filter((store: StoreListViewModel) => coordinateVerification(store))\r\n validCoordinates.forEach((store: StoreListViewModel, index) => {\r\n let matched = null;\r\n\r\n if(lazyLoad) {\r\n matched = mapMarkers.value.find((marker) => marker.id === store.id)\r\n }\r\n\r\n if(!matched) {\r\n const pin = parser.parseFromString(markerOptions.path, 'image/svg+xml').documentElement;\r\n const marker = new AdvancedMarkerElement({\r\n position: { lat: store.latitude as number, lng: store.longitude as number},\r\n map: (window as any).map,\r\n title: store.tradingName,\r\n content: pin\r\n })\r\n if(!props.isSingleStore) {\r\n marker.addListener('click', () => {handleMarkerClick(marker, store) });\r\n }\r\n\r\n mapMarkers.value.push(marker)\r\n }\r\n })\r\n\r\n centralise();\r\n }\r\n }\r\n\r\n function centralise() { \r\n if(typeof (window as any).map === 'object' && typeof google === 'object') {\r\n const validCoordinates = storeList.filter((store: StoreListViewModel) => coordinateVerification(store))\r\n if(validCoordinates.length) {\r\n const bounds = new google.maps.LatLngBounds();\r\n validCoordinates.forEach((store: StoreListViewModel) => {\r\n bounds.extend(new google.maps.LatLng(store.latitude as number, store.longitude as number))\r\n })\r\n \r\n google.maps.event.addListener((window as any).map, 'zoom_changed', function() {\r\n const zoomChangeBoundsListener = \r\n google.maps.event.addListener(map.value, 'bounds_changed', function() {\r\n if (map.value.getZoom() > 12 && map.value.initialZoom == true) {\r\n // Change max/min zoom here\r\n map.value.setZoom(12);\r\n map.value.initialZoom = false;\r\n }\r\n google.maps.event.removeListener(zoomChangeBoundsListener);\r\n });\r\n });\r\n (window as any).map.initialZoom = true;\r\n\r\n (window as any).map.fitBounds(bounds);\r\n }\r\n else {\r\n const bounds = new google.maps.LatLngBounds();\r\n bounds.extend(new google.maps.LatLng(-23.31, 30.72));\r\n bounds.extend(new google.maps.LatLng(-34.07, 18.46));\r\n \r\n (window as any).map.fitBounds(bounds);\r\n }\r\n }\r\n }\r\n\r\n function handleMarkerClick(marker: google.maps.marker.AdvancedMarkerElement, store: StoreListViewModel) {\r\n if(typeof (window as any).map === 'object' && typeof google === 'object') {\r\n const index = storeList.findIndex((item) => item.id === store.id);\r\n let clickedStore = document.getElementById(`store-${storeList[index].id}`);\r\n\r\n if(clickedStore) {\r\n emit('marker-click', {region: store.regionName, search: store.tradingName});\r\n }\r\n }\r\n }\r\n\r\n function resetSelectedMarkers() {\r\n if(typeof (window as any).map === 'object' && typeof google === 'object') {\r\n let selectedTiles = document.querySelector('.store-card.active-store');\r\n if(selectedTiles) {\r\n selectedTiles.classList.remove('active-store');\r\n }\r\n mapMarkers.value.forEach((marker) => {\r\n marker.setAnimation(null);\r\n })\r\n }\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"map-wrapper\",\n ref_key: \"map\",\n ref: map\n }, null, 512))\n}\n}\n\n})","import script from \"./StoreMap.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StoreMap.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./StoreMap.vue?vue&type=style&index=0&id=0ca03be9&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0ca03be9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderList as _renderList, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, withModifiers as _withModifiers, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d4503be4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"store-locator-view\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = { class: \"row justify-content-center justify-content-lg-start\" }\nconst _hoisted_4 = { class: \"col-11 col-lg-12\" }\nconst _hoisted_5 = { class: \"store-locator-search text-white bg-primary py-4 py-lg-5 px-3 px-lg-5\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h6 text-secondary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Find a store\")\n], -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-secondary border-2\" }, null, -1))\nconst _hoisted_8 = { class: \"row mt-3 mb-1 my-lg-3\" }\nconst _hoisted_9 = {\n class: \"col-12 col-xxl-3 my-2 my-lg-3\",\n prop: \"search\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-geo-alt-fill\" }, null, -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-x\" }, null, -1))\nconst _hoisted_12 = { class: \"store-search\" }\nconst _hoisted_13 = { class: \"col-auto\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-search text-primary\" }, null, -1))\nconst _hoisted_15 = [\n _hoisted_14\n]\nconst _hoisted_16 = { class: \"col-11 col-lg-5 col-xl-4 mt-3 mt-lg-4\" }\nconst _hoisted_17 = {\n key: 0,\n class: \"alert alert-primary\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"No stores found.\", -1))\nconst _hoisted_19 = [\n _hoisted_18\n]\nconst _hoisted_20 = [\"id\"]\nconst _hoisted_21 = { class: \"h4 text-primary\" }\nconst _hoisted_22 = { class: \"my-3\" }\nconst _hoisted_23 = { class: \"d-block\" }\nconst _hoisted_24 = { class: \"d-block\" }\nconst _hoisted_25 = { class: \"d-block\" }\nconst _hoisted_26 = { class: \"d-block\" }\nconst _hoisted_27 = [\"href\"]\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-sign-turn-right\" }, null, -1))\nconst _hoisted_29 = [\n _hoisted_28\n]\nconst _hoisted_30 = {\n key: 0,\n class: \"my-1\"\n}\nconst _hoisted_31 = [\"href\"]\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-telephone-fill text-primary me-2\" }, null, -1))\nconst _hoisted_33 = {\n key: 1,\n class: \"my-1\"\n}\nconst _hoisted_34 = [\"href\"]\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-whatsapp text-primary me-2\" }, null, -1))\nconst _hoisted_36 = { class: \"col-11 col-lg-7 col-xl-8 mt-3 mt-lg-4\" }\nconst _hoisted_37 = { id: \"StoreMap\" }\n\nimport { ref, Ref, onMounted, reactive } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import StoreMap from '@/components/general/StoreMap.vue';\r\n import { getStores, getStoresRegions, getStoresCities, getStoresNearMe } from \"@/api-calls/stores\";\r\n import { StoreListViewModel } from \"@/api-client\";\r\n import { gtmDatalayerEvent, scrollTop, toKebabCase, tableResizeObserver } from \"@/utilities\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { useRouter, useRoute } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { ElMessage } from \"element-plus\";\r\n\r\n type Filter = {\r\n search: string | undefined;\r\n province: string | undefined;\r\n city: string | undefined;\r\n };\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StoreLocatorView',\n props: {\r\n region: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n const removeSpaces = (phoneNumber: string) => { \r\n return phoneNumber.replace(/\\s+/g, ''); \r\n } \r\n \r\n const StoreInfoCards = ref<HTMLElement>();\r\n const miscStore = useMiscStore();\r\n let stores: Ref<Array<StoreListViewModel>> = ref([]);\r\n let regionsDdl: Ref<string[]> = ref([]);\r\n let citiesDdl: Ref<string[]> = ref([]);\r\n let filterData = reactive<Filter>({\r\n search: undefined,\r\n province: undefined,\r\n city: undefined\r\n });\r\n let isLocationFilter: Ref<Boolean> = ref(false);\r\n \r\n const route = useRoute();\r\n const router = useRouter();\r\n\r\n tableResizeObserver(this);\r\n\r\n onMounted(async () => {\r\n loadInitialData();\r\n })\r\n\r\n async function loadInitialData() {\r\n isLocationFilter.value = false;\r\n miscStore.isLoading = true;\r\n regionsDdl.value = (await getStoresRegions(1, 99999)).data;\r\n citiesDdl.value = [];\r\n let regionFilterFormat = undefined;\r\n let cityFilterFormat = undefined;\r\n if (props.region) {\r\n filterData.province = props.region;\r\n regionFilterFormat = regionsDdl.value.find(item => toKebabCase(item) == props.region);\r\n await fetchCities();\r\n }\r\n if (route.query.search) {\r\n filterData.search = route.query.search.toString();\r\n }\r\n if (route.query.city) {\r\n filterData.city = route.query.city.toString();\r\n cityFilterFormat = citiesDdl.value.find(item => toKebabCase(item) == route.query.city);\r\n }\r\n \r\n stores.value = (await getStores(1, 99999, filterData.search!, regionFilterFormat!, cityFilterFormat!)).data;\r\n\r\n if(filterData.search || filterData.province) {\r\n let event: Object = {};\r\n if(filterData.search) {\r\n Object.assign((event), { store_name: filterData.search });\r\n }\r\n if(filterData.province) {\r\n Object.assign((event), { region: filterData.province });\r\n }\r\n if(filterData.city) {\r\n Object.assign((event), { city: filterData.city });\r\n }\r\n\r\n gtmDatalayerEvent(\"store_search\", event);\r\n }\r\n else {\r\n gtmDatalayerEvent(\"store_load\");\r\n }\r\n\r\n window.setTimeout(() => {\r\n miscStore.isLoading = false;\r\n }, 800);\r\n }\r\n\r\n async function StoreSearch() {\r\n scrollTop(\"#StoreMap\", true, 150);\r\n StoreInfoCards.value!.scrollTo(0, 0)\r\n if(filterData.search || filterData.province) {\r\n let routerObj: Object = {};\r\n if(filterData.search) {\r\n Object.assign((routerObj), {query: {search: filterData.search}});\r\n }\r\n if(filterData.province) {\r\n Object.assign((routerObj), {params: {region: filterData.province}});\r\n }\r\n if(filterData.city) {\r\n Object.assign((routerObj), {query: {city: filterData.city}});\r\n }\r\n router.push({name: 'StoreLocatorSearch', ...routerObj});\r\n }\r\n else {\r\n router.push({name: 'StoreLocator'});\r\n }\r\n await loadInitialData();\r\n }\r\n\r\n function mapInteraction (query) {\r\n if (query) {\r\n filterData.search = query.search;\r\n filterData.province = toKebabCase(query.region);\r\n }\r\n StoreSearch();\r\n }\r\n\r\n function getLocation() {\r\n if (isLocationFilter.value) {\r\n loadInitialData();\r\n }\r\n else {\r\n return new Promise(resolve => {\r\n if (navigator.geolocation) {\r\n navigator.geolocation.getCurrentPosition(\r\n async function (position: GeolocationPosition) {\r\n isLocationFilter.value = true;\r\n filterData.search = \"\";\r\n filterData.province = \"\";\r\n filterData.city = \"\";\r\n router.push({name: 'StoreLocator'});\r\n \r\n stores.value = (await getStoresNearMe(1, 99999, position.coords.latitude, position.coords.longitude)).data;\r\n scrollTop(\"#StoreMap\", true, 150);\r\n\r\n const regionCount = getRegionCount(stores.value)\r\n const abridgedStores = getStoreReduce(stores.value)\r\n const eventObject = {\r\n regionResults: regionCount,\r\n stores: abridgedStores\r\n }\r\n gtmDatalayerEvent(\"store_geolocation\", eventObject, \"results\");\r\n }, function () {\r\n ElMessage.info({ message: \"Please allow your browser to use your location in order to find nearby stores.\", showClose: true, duration: 0, grouping: true });\r\n });\r\n } else {\r\n ElMessage.error({ message: \"An error occurred trying to retrieve your coordinates. Please try again.\", showClose: true, duration: 0, grouping: true });\r\n }\r\n });\r\n }\r\n }\r\n\r\n function getRegionCount (data: StoreListViewModel[]) {\r\n return data.reduce((acc: any, item: StoreListViewModel) => {\r\n const key = item.regionName.replace(/[-\\s]/g, '')\r\n acc[key] = (acc[key] || 0) + 1;\r\n return acc;\r\n }, {});\r\n }\r\n\r\n function getStoreReduce (data: StoreListViewModel[]) {\r\n return data.map(item => ({\r\n code: item.code,\r\n tradingName: item.tradingName\r\n }))\r\n }\r\n\r\n function getIntroCopyAlias (getDefault: boolean = false) {\r\n if (!props.region || props.region == null || getDefault) {\r\n return \"dealer-locator-intro\";\r\n }\r\n return `dealer-locator-${props.region}-intro`;\r\n }\r\n\r\n async function fetchCities () {\r\n const regionFilterFormat = regionsDdl.value.find(item => toKebabCase(item) == props.region) || \"\";\r\n\t\tif (filterData.province) {\r\n\t\t\tcitiesDdl.value = (await getStoresCities(1, 99999, regionFilterFormat)).data;\r\n\t\t} else {\r\n\t\t\tcitiesDdl.value = [];\r\n\t\t}\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-dealer-locator\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, {\n class: \"my-5 wow fadeInDown\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: getIntroCopyAlias()\n }, null, 8, [\"alias\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _hoisted_7,\n _createVNode(_component_el_form, {\n ref: \"StoreLocator\",\n model: _unref(filterData),\n size: \"large\",\n \"label-position\": \"top\",\n onSubmit: _cache[9] || (_cache[9] = _withModifiers(() => {}, [\"prevent\"]))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (getLocation())),\n class: _normalizeClass(['btn d-block w-100', {'btn-secondary': !_unref(isLocationFilter)}, {'btn-light': _unref(isLocationFilter)}])\n }, [\n (!_unref(isLocationFilter))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\"Find a Store Near Me \"),\n _hoisted_10\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Clear Location Filter \"),\n _hoisted_11\n ], 64))\n ], 2)\n ]),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 col-xxl-3 my-2 my-lg-3\",\n prop: \"province\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"province\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (StoreSearch())),\n onClear: _cache[2] || (_cache[2] = ($event: any) => (_unref(filterData).city = '')),\n modelValue: _unref(filterData).province,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(filterData).province) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Filter by Province\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(regionsDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: _unref(toKebabCase)(item),\n key: `province-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-6 col-lg-4 col-xxl-3 my-2 my-lg-3\",\n prop: \"city\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n name: \"city\",\n onChange: _cache[4] || (_cache[4] = ($event: any) => (StoreSearch())),\n modelValue: _unref(filterData).city,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(filterData).city) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n \"default-first-option\": \"\",\n placeholder: \"Filter by City\",\n disabled: !_unref(filterData).province\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(citiesDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item,\n value: _unref(toKebabCase)(item),\n key: `city-${item}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-lg-4 col-xxl-3 my-2 my-lg-3\",\n prop: \"search\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_el_input, {\n name: \"search\",\n onChange: _cache[6] || (_cache[6] = ($event: any) => (StoreSearch())),\n modelValue: _unref(filterData).search,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(filterData).search) = $event)),\n clearable: \"\",\n placeholder: \"Search by Name\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", {\n onClick: _cache[8] || (_cache[8] = () => {}),\n class: \"btn btn-transparent border-0 sm-btn w-auto\"\n }, _hoisted_15)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"model\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", {\n id: \"StoreInfoCards\",\n ref_key: \"StoreInfoCards\",\n ref: StoreInfoCards,\n class: \"h-100 overflow-auto\"\n }, [\n (!_unref(stores).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, _hoisted_19))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(_unref(stores), (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"store-card me-2 mb-3 mb-lg-4\",\n id: `store-${item.id}`,\n key: item.id\n }, [\n _createElementVNode(\"h3\", _hoisted_21, [\n _createElementVNode(\"i\", null, _toDisplayString(item.tradingName), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_22, [\n _createElementVNode(\"span\", _hoisted_23, _toDisplayString(item.physicalAddress1), 1),\n _createElementVNode(\"span\", _hoisted_24, _toDisplayString(item.physicalAddress2), 1),\n _createElementVNode(\"span\", _hoisted_25, _toDisplayString(item.physicalAddressCity), 1),\n _createElementVNode(\"span\", _hoisted_26, _toDisplayString(item.physicalAddressPostCode), 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.regionName), 1),\n (item.latitude && item.longitude)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"ms-2 btn d-inline btn-primary store-link mb-2 text-decoration-none\",\n href: `https://maps.google.com/maps?saddr=My+Location&daddr=${item.latitude},${item.longitude}`,\n target: \"_blank\"\n }, _hoisted_29, 8, _hoisted_27))\n : _createCommentVNode(\"\", true)\n ]),\n (item.telephoneNumber)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n _createElementVNode(\"a\", {\n class: \"text-primary fw-bold text-decoration-none\",\n href: `tel:${item.telephoneNumber}`\n }, [\n _hoisted_32,\n _createTextVNode(_toDisplayString(item.telephoneNumber), 1)\n ], 8, _hoisted_31)\n ]))\n : _createCommentVNode(\"\", true),\n (item.whatsappBusinessNo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, [\n _createElementVNode(\"a\", {\n class: \"text-primary fw-bold text-decoration-none\",\n href: `https://wa.me/${removeSpaces(item.whatsappBusinessNo)}?text=Hi%20there!%20How%20can%20we%20help%20you%20today%3F%20Feel%20free%20to%20ask%20us%20anything.`,\n target: \"_blank\"\n }, [\n _hoisted_35,\n _createTextVNode(_toDisplayString(item.whatsappBusinessNo), 1)\n ], 8, _hoisted_34)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_router_link, {\n to: {name: 'StoreView', params: {region: _unref(toKebabCase)(item.regionName), slug: _unref(toKebabCase)(item.tradingName)}},\n class: \"d-block mt-3 me-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" View more information \")\n ]),\n _: 2\n }, 1032, [\"to\"])\n ], 8, _hoisted_20))\n }), 128))\n ], 512)\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n _createElementVNode(\"div\", _hoisted_37, [\n _createVNode(StoreMap, {\n onMarkerClick: mapInteraction,\n stores: _unref(stores),\n class: \"h-100 w-100\"\n }, null, 8, [\"stores\"])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./StoreLocatorView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StoreLocatorView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./StoreLocatorView.vue?vue&type=style&index=0&id=d4503be4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-d4503be4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-341e7575\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"store-detail-view position-relative h-100\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_3 = { class: \"row my-4 justify-content-center justify-content-md-start\" }\nconst _hoisted_4 = { class: \"col-10 col-md-6 col-lg-5 order-2 my-3\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h6\" }, \"Address\", -1))\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = { class: \"text-dark me-3\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"d-block my-3\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"btn btn-outline-primary sm-btn py-2\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-sign-turn-right me-2\" }),\n /*#__PURE__*/_createTextVNode(\"get directions\")\n ])\n], -1))\nconst _hoisted_9 = { class: \"my-1\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"my-2\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-telephone-fill text-primary me-2\" }, null, -1))\nconst _hoisted_12 = [\"href\"]\nconst _hoisted_13 = {\n key: 1,\n class: \"my-2\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-whatsapp text-primary me-2\" }, null, -1))\nconst _hoisted_15 = [\"href\"]\nconst _hoisted_16 = { class: \"row align-items-center gy-3 my-3\" }\nconst _hoisted_17 = {\n key: 0,\n class: \"col-12 col-md-auto\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"pjn-logo img-fluid\",\n src: \"/img/payjustnow.png\"\n}, null, -1))\nconst _hoisted_19 = [\n _hoisted_18\n]\nconst _hoisted_20 = {\n key: 0,\n class: \"col-10 col-md-6 col-lg-7 order-2 my-3\"\n}\nconst _hoisted_21 = { class: \"table table-striped\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", null, [\n /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", {\n colspan: \"2\",\n class: \"bg-primary\"\n }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h6 text-white mb-0\" }, \"Trading Days\")\n ])\n ])\n], -1))\nconst _hoisted_23 = { class: \"table table-striped\" }\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"thead\", null, [\n /*#__PURE__*/_createElementVNode(\"tr\", null, [\n /*#__PURE__*/_createElementVNode(\"th\", {\n colspan: \"2\",\n class: \"bg-primary\"\n }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h6 text-white mb-0\" }, \"Services\")\n ])\n ])\n], -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", { class: \"text-right\" }, null, -1))\nconst _hoisted_26 = { id: \"StoreMap\" }\nconst _hoisted_27 = { class: \"row my-4 justify-content-center justify-content-md-start\" }\nconst _hoisted_28 = { class: \"col-10 col-md-12\" }\nconst _hoisted_29 = {\n key: 0,\n id: \"TopReviews\",\n class: \"bootstrap-iso LB_BODY-iso my-4\"\n}\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"top-reviews-list\" }, null, -1))\nconst _hoisted_31 = [\n _hoisted_30\n]\nconst _hoisted_32 = { class: \"accordion-item\" }\nconst _hoisted_33 = { class: \"accordion-header\" }\nconst _hoisted_34 = {\n class: \"accordion-button py-0 collapsed\",\n type: \"button\",\n \"data-bs-toggle\": \"collapse\",\n \"data-bs-target\": \"#Reviews\",\n \"aria-expanded\": \"false\",\n \"aria-controls\": \"Reviews\"\n}\nconst _hoisted_35 = {\n key: 0,\n class: \"py-2\"\n}\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", null, \"Store Rating Overview\", -1))\nconst _hoisted_37 = { class: \"bi bi-star-fill mx-1\" }\nconst _hoisted_38 = { class: \"bi bi-star mx-1\" }\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-3\",\n src: \"/img/qt-google-rating.png\",\n style: {\"max-height\":\"45px\"},\n alt: \"Google rating\"\n}, null, -1))\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", null, \"(click here to read reviews)\", -1))\nconst _hoisted_41 = {\n key: 1,\n class: \"py-3\"\n}\nconst _hoisted_42 = {\n id: \"Reviews\",\n class: \"accordion-collapse collapse show\",\n \"aria-labelledby\": \"ReviewsHeading\",\n \"data-bs-parent\": \"#RatingAccordion\"\n}\nconst _hoisted_43 = [\"id\"]\nconst _hoisted_44 = {\n key: 2,\n class: \"store-image-gallery\"\n}\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { style: {\"opacity\":\".1\"} }, null, -1))\nconst _hoisted_46 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"py-2\" }, \"Image Gallery\", -1))\nconst _hoisted_47 = { class: \"gallery\" }\nconst _hoisted_48 = [\"src\", \"alt\"]\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import StoreMap from '@/components/general/StoreMap.vue';\r\n import { toKebabCase, formatTimeString, coordinateVerification, handleError } from \"@/utilities\";\r\n import { getStores, getStoresRegions } from \"@/api-calls/stores\";\r\n import { StoreListViewModel, StoreStoreServiceListViewModel, StoreStoreTradingDayListViewModel } from \"@/api-client\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { gtmDatalayerEvent, scrollTop } from \"@/utilities\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useScript } from \"@unhead/vue\"\r\n import { useRouter } from \"vue-router\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StoreDetailView',\n props: {\r\n region: {type: String, default: \"\"},\r\n slug: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n const miscStore = useMiscStore();\r\n const router = useRouter();\r\n \r\n\r\n let store: Ref<StoreListViewModel | undefined> = ref({\r\n id: \"\",\r\n googleBusinessId: \"\",\r\n code: \"\",\r\n tradingName: \"\",\r\n physicalAddress1: \"\",\r\n physicalAddress2: \"\",\r\n physicalAddressCity: \"\",\r\n physicalAddressPostCode: \"\",\r\n regionName: \"\",\r\n telephoneNumber: \"\",\r\n whatsappBusinessNo: \"\",\r\n // rating: 3,\r\n // email: \"\",\r\n storeServices: [],\r\n storeTradingDays: [],\r\n latitude: -29.85848736558187,\r\n longitude: 31.030541625019545\r\n });\r\n let isReview: Ref<boolean> = ref(true);\r\n const numberOfReviews: Ref<number> = ref(0);\r\n const locationBankClientId: Ref<string> = ref(\"18da7cb2-d12b-4112-aa4e-f48ab2127eea\");\r\n let validMap: Ref<boolean> = ref(false);\r\n const excludedServices: Ref<Array<string>> = ref([\"pay just now\"]);\r\n\r\n const removeSpaces = (phoneNumber: string) => { \r\n return phoneNumber.replace(/\\s+/g, ''); \r\n }\r\n\r\n // Add a reactive property to store the media data \r\n const media: Ref<Array<{ url: string; categoryId: string; }>> = ref([]); \r\n\r\n onMounted(async () => {\r\n miscStore.isLoading = true;\r\n const slug = props.slug.replace('hi-q-', '').split('-');\r\n const region = await formatRegionRouter() || \"\";\r\n // TODO: [API] GET needs to be searchable by (region +) slug\r\n const storeOptions = (await getStores(1, 5, slug.join(' '), region)).data;\r\n\r\n if (!storeOptions || !storeOptions.length) {\r\n storeDataError(storeOptions);\r\n return false;\r\n }\r\n else store.value = storeOptions.find(item => toKebabCase(item.tradingName) == props.slug);\r\n \r\n if (!store.value) {\r\n storeDataError(store.value);\r\n return false;\r\n }\r\n\r\n validMap.value = coordinateVerification(store.value);\r\n\r\n // TODO: stop sorting in TS- trading days by dayOfWeekNumber\r\n store.value.storeTradingDays = store.value.storeTradingDays.sort((a: StoreStoreTradingDayListViewModel, b: StoreStoreTradingDayListViewModel) => a.dayOfWeekNumber - b.dayOfWeekNumber);\r\n \r\n if (store.value.googleBusinessId && store.value.googleBusinessId != '00000000-0000-0000-0000-000000000000') {\r\n setTimeout(() => {\r\n document.getElementById(\"Reviews\")!.classList.add(\"show\");\r\n const { $script } = useScript(\r\n { key: 'review-script', src: `https://locationbank.net/Public/loadReview?id=${locationBankClientId.value}&location=${store.value.googleBusinessId}` },\r\n {\r\n use() { \r\n setTimeout(() => { \r\n window.addEventListener('error', function(e) { \r\n isReview.value = false; \r\n window.removeEventListener('error', ()=>{}); \r\n }) \r\n document.getElementById(\"Reviews\")!.classList.remove(\"show\"); \r\n document.querySelector(\"#Reviews .accordion-body\")!.classList.replace(\"p-0\", \"py-2\"); \r\n $script.remove(); \r\n \r\n setTimeout(() => { \r\n const reviewsContainer = document.querySelector(\"#Reviews .accordion-body\"); \r\n if (reviewsContainer) { \r\n const reviews = reviewsContainer.querySelectorAll(\".list-group-item\");\r\n isReview.value = reviews.length > 0;\r\n const topReviewsContainer = document.querySelector(\"#TopReviews .top-reviews-list\");\r\n numberOfReviews.value = reviews.length;\r\n if (isReview.value) {\r\n for (let i = 0; i < reviews.length && i < 4; i++) { \r\n const clone = reviews[i].cloneNode(true); \r\n topReviewsContainer.appendChild(clone); \r\n reviews[i].remove();\r\n } \r\n } \r\n } \r\n }, 1000); \r\n \r\n }, 100); \r\n } \r\n }\r\n )\r\n }, 10);\r\n }\r\n else {\r\n isReview.value = false;\r\n }\r\n miscStore.isLoading = false;\r\n \r\n const event = {\r\n store_name: store.value.tradingName,\r\n region: store.value.regionName\r\n };\r\n gtmDatalayerEvent(\"store_view\", event);\r\n \r\n // Add a method to fetch images \r\n const fetchImages = async (locationId: string) => { \r\n \r\n const mediaUrl = `https://api.locationbank.net/storelocator/StoreLocatorAPI/locationImageList?ClientID=${locationBankClientId.value}&LocationID=${store.value.googleBusinessId}&MediaCat=INTERIOR&MediaCat2=EXTERIOR`;\r\n // const mediaUrl = `https://api.locationbank.net/storelocator/StoreLocatorAPI/locationImageList?ClientID=e291ff7a-451d-4eee-a25b-a834c9fe6eeb&LocationID=529fa542-591e-4927-818a-49322b33cd4a&MediaCat=INTERIOR&MediaCat2=EXTERIOR`;\r\n \r\n try { \r\n const response = await fetch(mediaUrl); \r\n const imagesData = await response.json(); \r\n \r\n // Filter for image URLs and categories \r\n media.value = imagesData.map((item: any) => ({ \r\n url: item.url, \r\n categoryId: item.categoryId \r\n })); \r\n }\r\n catch (error) { \r\n console.error('Failed to fetch images:', error); \r\n } \r\n }; \r\n\r\n // After store details are available and if the LocationID is present, fetch images \r\n if (store.value && store.value.id) { \r\n await fetchImages(store.value.id); \r\n } \r\n })\r\n\r\n function storeAddressString() {\r\n let address = [ store.value!.physicalAddress1, store.value!.physicalAddress2, store.value!.physicalAddressCity, store.value!.physicalAddressPostCode ];\r\n address = address.filter(item => { return item != '' && item != null });\r\n return address.join(\", \");\r\n }\r\n\r\n async function formatRegionRouter() {\r\n const regions = (await getStoresRegions(1, 99999)).data;\r\n let regionFilterFormat = regions.find(item => toKebabCase(item) == props.region);\r\n return regionFilterFormat;\r\n }\r\n\r\n function storeDataError(store: Object | Array<StoreListViewModel> | undefined) {\r\n console.warn('%cSTORE REDIRECT:',\r\n \"color: #413C26; background-color: #FDF38C; font-weight: 800; font-size: 14px; padding: 2px 3px;\",\r\n !store ? 'no data' : 'empty array');\r\n\r\n router.push({ name: 'StoreLocator' });\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(store))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n (_unref(store).tradingName)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(Banner, {\n alias: \"banner-dealer-locator\",\n imageObj: { title: _unref(store).tradingName },\n isTextMaxWidth: true\n }, null, 8, [\"imageObj\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n class: \"btn sm-btn btn-secondary my-0 my-md-2\",\n to: { name: 'StoreLocator' }\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createTextVNode(\" back to store locator\")\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", null, _toDisplayString(_unref(store).tradingName) + \": The One You Can Trust! We offer a full range of multi-branded tyres from top brands like Goodyear, CEAT, Pirelli, Michelin, Bridgestone, and Continental. Our expert team provides great advice and professional services, including tyre fitment, wheel alignment and balancing, while our wide product range includes brakes, shocks, batteries and more. With something for every South African driver, we ensure your vehicle gets the care it needs. Visit \" + _toDisplayString(_unref(store).tradingName) + \" today for trusted service, expert care, and quality products you can rely on. \", 1),\n _createVNode(ContentBlock, {\n class: \"mb-0\",\n alias: `store-${_unref(toKebabCase)(_unref(store).regionName)}-${_unref(toKebabCase)(_unref(store).tradingName)}-intro`\n }, null, 8, [\"alias\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"a\", {\n class: \"text-decoration-none\",\n href: `https://maps.google.com/maps?saddr=My+Location&daddr=${_unref(store).latitude},${_unref(store).longitude}`,\n target: \"_blank\"\n }, [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(storeAddressString()), 1),\n _hoisted_8\n ], 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_router_link, {\n to: { name: 'StoreLocatorSearch', params: { region: props.region } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(store).regionName), 1)\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n (_unref(store).telephoneNumber)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"a\", {\n href: `tel:${_unref(store).telephoneNumber}`\n }, _toDisplayString(_unref(store).telephoneNumber), 9, _hoisted_12)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(store).whatsappBusinessNo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"a\", {\n href: `https://wa.me/${removeSpaces(_unref(store).whatsappBusinessNo)}?text=Hi%20there!%20How%20can%20we%20help%20you%20today%3F%20Feel%20free%20to%20ask%20us%20anything.`,\n target: \"_blank\"\n }, _toDisplayString(_unref(store).whatsappBusinessNo), 9, _hoisted_15)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_router_link, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(scrollTop)())),\n class: \"btn btn-primary sm-btn py-2 mt-3\",\n to: { name: 'RequestQuote', query: { region: props.region, city: _unref(toKebabCase)(_unref(store).physicalAddressCity), store: props.slug } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Request a Quote \")\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createElementVNode(\"div\", _hoisted_16, [\n (_unref(store).storeServices.find(item => item.title.toLowerCase() == 'pay just now') != null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, _hoisted_19))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_unref(store).storeTradingDays.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"table\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store).storeTradingDays, (item, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: 'trading-' + index\n }, [\n _createElementVNode(\"td\", null, _toDisplayString(item.dayOfWeek), 1),\n _createElementVNode(\"td\", null, [\n (item.dayOfWeekActive)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_unref(formatTimeString)(item.openingTime)) + \" - \" + _toDisplayString(_unref(formatTimeString)(item.closingTime)), 1)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(\"Closed\")\n ], 64))\n ])\n ]))\n }), 128))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(store).storeServices.length)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass(['col-10 col-md-6 order-2 my-3', {'col-lg-7': !_unref(store).storeTradingDays.length}, {'col-lg-5': _unref(store).storeTradingDays.length && _unref(validMap)}, {'col-lg-12': _unref(store).storeTradingDays.length && !_unref(validMap)}])\n }, [\n _createElementVNode(\"table\", _hoisted_23, [\n _hoisted_24,\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store).storeServices, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (!excludedServices.value.includes(item.title.toLowerCase()))\n ? (_openBlock(), _createElementBlock(\"tr\", {\n key: 'trading-' + index\n }, [\n _createElementVNode(\"td\", null, _toDisplayString(item.title), 1),\n _hoisted_25\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 256))\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (_unref(validMap))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass(['col-10 order-1 order-lg-2 my-3 mx-auto', _unref(store).storeTradingDays.length && _unref(store).storeServices.length ? 'col-lg-7' : 'col-lg-12'])\n }, [\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(StoreMap, {\n stores: [_unref(store)],\n isSingleStore: true,\n class: \"h-100 w-100\"\n }, null, 8, [\"stores\"])\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n (_unref(isReview))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, _hoisted_31))\n : _createCommentVNode(\"\", true),\n (_unref(isReview))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([{ 'd-none': numberOfReviews.value < 5 }, \"accordion my-4\"]),\n id: \"RatingAccordion\"\n }, [\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"h2\", _hoisted_33, [\n _createElementVNode(\"button\", _hoisted_34, [\n (_unref(store).hasOwnProperty('rating'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_35, [\n _hoisted_36,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(store).rating, (stars, i) => {\n return (_openBlock(), _createElementBlock(\"i\", _hoisted_37))\n }), 256)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList((5 - _unref(store).rating), (stars, i) => {\n return (_openBlock(), _createElementBlock(\"i\", _hoisted_38))\n }), 256)),\n _hoisted_39,\n _hoisted_40\n ]))\n : (_openBlock(), _createElementBlock(\"b\", _hoisted_41, \"Read More Reviews\"))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", {\n class: \"accordion-body p-0\",\n id: locationBankClientId.value\n }, null, 8, _hoisted_43)\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (media.value.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_44, [\n _hoisted_45,\n _hoisted_46,\n _createElementVNode(\"div\", _hoisted_47, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(media.value, (image, index) => {\n return (_openBlock(), _createElementBlock(\"img\", {\n key: index,\n src: image.url,\n alt: image.categoryId,\n referrerpolicy: \"no-referrer\",\n class: \"gallery-image p-0 pe-md-4 pt-4\"\n }, null, 8, _hoisted_48))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n })\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./StoreDetailView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StoreDetailView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./StoreDetailView.vue?vue&type=style&index=0&id=341e7575&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-341e7575\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, isRef as _isRef, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-30b043c0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"decisionTree\",\n class: \"carousel text-start carousel-dark slide\",\n \"data-bs-wrap\": \"false\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Previous Question\", -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = { class: \"carousel-inner\" }\nconst _hoisted_6 = { class: \"h4 mb-3\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"selection-multiselect\"\n}\nconst _hoisted_8 = { class: \"h5 fw-normal text-dark\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"selection-rank\"\n}\nconst _hoisted_10 = { class: \"rank-label\" }\nconst _hoisted_11 = { class: \"h5 fw-normal\" }\nconst _hoisted_12 = { class: \"ms-3\" }\nconst _hoisted_13 = [\"onClick\"]\nconst _hoisted_14 = [\"onClick\"]\nconst _hoisted_15 = {\n key: 2,\n class: \"selection-tyre row\"\n}\nconst _hoisted_16 = {\n key: 0,\n class: \"h4 text-primary fw-normal\"\n}\nconst _hoisted_17 = { class: \"d-flex flex-wrap align-items-center mt-3\" }\nconst _hoisted_18 = [\"disabled\"]\n\nimport { onMounted, ref, Ref, watch } from \"vue\";\r\n import { listModels, listModelYear, listSpecification } from \"@/utilities/productProps\";\r\n import { VehicleManufacturer, getVehicleManufacturers, VehicleModel, VehicleModelYear, VehicleSpecification, getVehicleTyre } from \"@/api-calls/vehicles\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { tableResizeObserver } from \"@/utilities\";\r\n type CurrentVehicle = {\r\n manufacturer: string | undefined,\r\n model: string | undefined,\r\n modelYear: string | undefined,\r\n specification: string | undefined\r\n }\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'DecisionTreeQuestions',\n props: {\r\n questionObj: {type: Array, default: []}\r\n },\n emits: [\"return\", \"complete\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\r\n \r\n\t\r\n let questions: Ref<Array<any>> = ref([]);\r\n let activeIndex: Ref<number> = ref(0);\r\n let nextText: Ref<string> = ref(\"Continue\");\r\n let Carousel: Ref<HTMLElement | null> = ref(null);\r\n let manufacturerDdl: Ref<VehicleManufacturer[]> = ref([]);\r\n let modelDdl: Ref<VehicleModel[]> = ref([]);\r\n let modelYearDdl: Ref<VehicleModelYear[]> = ref([]);\r\n let specificationDdl: Ref<VehicleSpecification[]> = ref([]);\r\n let currentVehicle: Ref<CurrentVehicle> = ref({\r\n manufacturer: ref(undefined),\r\n model: ref(undefined),\r\n modelYear: ref(undefined),\r\n specification: ref(undefined)\r\n });\r\n\r\n tableResizeObserver(this);\r\n \r\n onMounted(async () => {\r\n activeIndex.value = 0;\r\n nextText.value = \"Continue\";\r\n questions.value = props.questionObj;\r\n Carousel.value = document.getElementById('decisionTree');\r\n \r\n if (Carousel.value) {\r\n Carousel.value.addEventListener('slide.bs.carousel', function (e: any) {\r\n activeIndex.value = e.to;\r\n })\r\n }\r\n if (questions.value.find(item => item.type == \"TyreSearch\")) {\r\n manufacturerDdl.value = (await getVehicleManufacturers());\r\n }\r\n });\r\n\r\n function isContinueActive () {\r\n if(!questions.value.length) {\r\n return false;\r\n }\r\n return questions.value[activeIndex.value].type != \"TyreSearch\" || questions.value[activeIndex.value].search.size;\r\n }\r\n\r\n function treeEnd () {\r\n if (nextText.value == 'Complete') {\r\n emit('complete', questions);\r\n }\r\n else if (activeIndex.value + 1 != questions.value.length) {\r\n nextText.value = 'Continue';\r\n }\r\n else {\r\n nextText.value = 'Complete';\r\n }\r\n }\r\n\r\n async function fetchModels(index: number) {\r\n currentVehicle.value.model= undefined;\r\n currentVehicle.value.modelYear= undefined;\r\n currentVehicle.value.specification= undefined;\r\n questions.value[index].search.size = '';\r\n\r\n if(currentVehicle.value.manufacturer) {\r\n const manufacturer = manufacturerDdl.value.find(item => item.slug == currentVehicle.value.manufacturer)\r\n questions.value[index].search.manufacturer = manufacturer!.name;\r\n\r\n\r\n modelDdl.value = await listModels(currentVehicle.value.manufacturer);\r\n if(modelDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"model\")?.focus();\r\n document.getElementById(\"model\")?.click();\r\n }, 0);\r\n }\r\n }\r\n }\r\n\r\n async function fetchModelYear(index: number) {\r\n currentVehicle.value.modelYear = undefined;\r\n currentVehicle.value.specification = undefined;\r\n questions.value[index].search.size = '';\r\n\r\n if(currentVehicle.value.model) {\r\n const model = modelDdl.value.find(item => item.slug == currentVehicle.value.model)\r\n questions.value[index].search.model = model!.name;\r\n \r\n\r\n modelYearDdl.value = await listModelYear(currentVehicle.value.manufacturer, currentVehicle.value.model);\r\n if(modelYearDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"modelYear\")?.focus();\r\n document.getElementById(\"modelYear\")?.click();\r\n }, 0);\r\n }\r\n }\r\n }\r\n\r\n async function fetchSpecification(index: number) {\r\n currentVehicle.value.specification = undefined;\r\n questions.value[index].search.size = '';\r\n\r\n if(currentVehicle.value.modelYear) {\r\n const year = modelYearDdl.value.find(item => item.slug == currentVehicle.value.modelYear)\r\n questions.value[index].search.modelYear = year!.name;\r\n\r\n\r\n specificationDdl.value = await listSpecification(currentVehicle.value.manufacturer, currentVehicle.value.model, currentVehicle.value.modelYear);\r\n if(specificationDdl.value.length) {\r\n setTimeout(() => {\r\n document.getElementById(\"specification\")?.focus();\r\n document.getElementById(\"specification\")?.click();\r\n }, 0);\r\n }\r\n }\r\n }\r\n\r\n async function vehicleRimSize(index: number) {\r\n questions.value[index].search.size = '';\r\n\r\n if(currentVehicle.value.specification) {\r\n const spec = specificationDdl.value.find(item => item.slug == currentVehicle.value.specification)\r\n const specSize = await getVehicleTyre(currentVehicle.value.manufacturer, currentVehicle.value.model, currentVehicle.value.modelYear, currentVehicle.value.specification);\r\n \r\n questions.value[index].search.specification = spec!.fullName;\r\n questions.value[index].search.size = specSize[0].wheels[0].front.tire;\r\n }\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(activeIndex) == 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"btn sm-btn btn-outline-primary btn-tree-return mb-3\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('return')))\n }, [\n _hoisted_2,\n _createTextVNode(\" back to product select \")\n ]))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n class: \"btn sm-btn btn-outline-disabled text-primary px-3 mb-3\",\n \"data-bs-target\": \"#decisionTree\",\n \"data-bs-slide\": \"prev\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_isRef(nextText) //@ts-ignore\n ? nextText.value = 'Continue' : nextText = 'Continue'))\n }, _hoisted_4)),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(questions), (question, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: _normalizeClass(['carousel-item', { 'active': index == 0 }])\n }, [\n _createElementVNode(\"h3\", _hoisted_6, _toDisplayString(question.title), 1),\n (question.type == 'Multiselect')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Object.keys(question.options), (item, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `checkbox-${index}-${i}`\n }, [\n _createVNode(_component_el_checkbox, {\n name: item,\n \"v-model\": question.options[item],\n onChange: ($event: any) => (question.options[item] = !question.options[item])\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(item), 1)\n ]),\n _: 2\n }, 1032, [\"name\", \"v-model\", \"onChange\"])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (question.type == 'Rank')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Object.keys(question.options), (item, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex flex-wrap align-items-center my-3\",\n key: `rank-${index}-${i}`\n }, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(item), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(question.options[item], (rate) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: \"border-2 rounded-circle mx-1 bg-primary\",\n onClick: ($event: any) => (question.options[item] = rate)\n }, null, 8, _hoisted_13))\n }), 256)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(5 - question.options[item], (rate) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: \"border-2 rounded-circle mx-1\",\n onClick: ($event: any) => (question.options[item] = question.options[item] + rate)\n }, null, 8, _hoisted_14))\n }), 256))\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (question.type == 'TyreSearch')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-5 my-3\",\n prop: \"manufacturer\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"manufacturer\",\n name: \"manufacturer\",\n onChange: ($event: any) => (fetchModels(index)),\n modelValue: _unref(currentVehicle).manufacturer,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(currentVehicle).manufacturer) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n placeholder: \"Select a manufacturer\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(manufacturerDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `manufacturer-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"onChange\", \"modelValue\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-5 my-3\",\n prop: \"model\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"model\",\n name: \"model\",\n onChange: ($event: any) => (fetchModelYear(index)),\n modelValue: _unref(currentVehicle).model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(currentVehicle).model) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).manufacturer,\n placeholder: \"Select a model\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(modelDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `model-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"onChange\", \"modelValue\", \"disabled\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-5 my-3\",\n prop: \"modelYear\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"modelYear\",\n name: \"modelYear\",\n onChange: ($event: any) => (fetchSpecification(index)),\n modelValue: _unref(currentVehicle).modelYear,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(currentVehicle).modelYear) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).model,\n placeholder: \"Select a model year\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(modelYearDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.name,\n value: item.slug,\n key: `model-year-${item.name}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"onChange\", \"modelValue\", \"disabled\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_form_item, {\n class: \"col-12 col-md-5 my-3\",\n prop: \"specification\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n id: \"specification\",\n name: \"specification\",\n onChange: ($event: any) => (vehicleRimSize(index)),\n modelValue: _unref(currentVehicle).specification,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(currentVehicle).specification) = $event)),\n autocomplete: \"none\",\n filterable: \"\",\n clearable: \"\",\n disabled: !_unref(currentVehicle).modelYear,\n placeholder: \"Select a specification\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(specificationDdl), (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: item.fullName,\n value: item.slug,\n key: `specification-${item.slug}`\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"onChange\", \"modelValue\", \"disabled\"])\n ]),\n _: 2\n }, 1024),\n (question.search.size)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, \"Your tyre size is \" + _toDisplayString(question.search.size), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"button\", {\n class: \"btn btn-primary\",\n disabled: !isContinueActive(),\n \"data-bs-target\": \"#decisionTree\",\n \"data-bs-slide\": \"next\",\n onClick: treeEnd\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_unref(nextText)), 1)\n ], 8, _hoisted_18)\n ])\n ]))\n}\n}\n\n})","import script from \"./DecisionTreeQuestions.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DecisionTreeQuestions.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DecisionTreeQuestions.vue?vue&type=style&index=0&id=30b043c0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-30b043c0\"]])\n\nexport default __exports__","import { ref, Ref } from \"vue\";\r\n\r\nexport function formatTyreResults (resp: any) {\r\n const formatObject = Object.values(resp.value).map(function (item: any) {\r\n if(item.type == \"Multiselect\" || item.type == \"Rank\") {\r\n return {[item.title]: item.options}\r\n }\r\n })\r\n\r\n let final: Ref<any> = ref(Object.assign({}, ...formatObject.filter(item => item != undefined)));\r\n\r\n const vehicleResp = resp.value.find((item: any) => item.type == \"TyreSearch\");\r\n Object.assign((final.value), {\r\n manufacturer: vehicleResp.search.manufacturer,\r\n model: vehicleResp.search.model,\r\n model_year: vehicleResp.search.modelYear,\r\n specification: vehicleResp.search.specification,\r\n tyre_size: vehicleResp.search.size\r\n });\r\n\r\n return final.value;\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6877af5b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"decision-tree-view\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", {\n class: \"wow fadeInLeft mb-0\",\n \"data-wow-delay\": \".69s\"\n}, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Answer a few questions and we'll recommend the best products for you\")\n], -1))\nconst _hoisted_3 = [\"data-tree-sections\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"border-primary border-2 mt-1 mb-4\" }, null, -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"mb-3\" }, \"What are you looking for?\", -1))\nconst _hoisted_6 = { class: \"row\" }\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = { class: \"h4 text-white mb-0\" }\n\nimport { computed, onMounted, reactive, ref, Ref } from \"vue\";\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import DecisionTreeQuestions from '@/components/DecisionTreeQuestions.vue';\r\n import { useRouter } from \"vue-router\";\r\n import { gtmDatalayerEvent } from \"@/utilities\";\r\n import { formatTyreResults } from \"@/utilities/decisionTree\";\r\n import { getSizeFromString } from \"@/utilities\";\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'DecisionTreeView',\n setup(__props) {\n\r\n\tlet startClass: Ref<string> = ref(\"\");\r\n\tlet formData = reactive<any>({\r\n productType: \"\"\r\n })\r\n const productTrees: Ref<any> = ref({\r\n \"Tyres\": [\r\n {\r\n title: \"Tell us about your vehicle\",\r\n type: \"TyreSearch\",\r\n search: {\r\n manufacturer: \"\",\r\n model: \"\",\r\n modelYear: \"\",\r\n specification: \"\",\r\n size: \"\"\r\n }\r\n },\r\n {\r\n title: \"What environments will you find yourself driving in?\",\r\n type: \"Multiselect\",\r\n options: {\r\n \"On-Road\": false,\r\n \"Off-Road\": false,\r\n }\r\n },\r\n {\r\n title: \"What conditions do you typically drive in?\",\r\n type: \"Multiselect\",\r\n options: {\r\n \"Highway\": false,\r\n \"City\": false,\r\n \"Off-Road\": false,\r\n }\r\n },\r\n {\r\n title: \"Rank what is most important to you?\",\r\n type: \"Rank\",\r\n options: {\r\n \"Mileage\": 0,\r\n \"Price\": 0\r\n }\r\n }\r\n ],\r\n // \"Rims\": [],\r\n // \"Shocks\": [],\r\n // \"Other\": []\r\n })\r\n\r\n const getproductTreeKeys = computed(() => {\r\n return Object.keys(productTrees.value);\r\n })\r\n \r\n const router = useRouter();\r\n\r\n onMounted(() => {\r\n if(getproductTreeKeys.value.length == 1) {\r\n formData.productType = getproductTreeKeys.value[0];\r\n }\r\n });\r\n\r\n function setQuestionType (event: any) {\r\n formData.productType = event;\r\n startClass.value = \"wow fadeInRight\";\r\n }\r\n\r\n function sendResults (result: any) {\r\n let event: any = { };\r\n let query: any = undefined;\r\n if (formData.productType == \"Tyres\") {\r\n event = formatTyreResults(result);\r\n query = getSizeFromString(event.tyre_size);\r\n Object.assign((query), { product: \"tyre\" });\r\n }\r\n else {\r\n // TODO: DecisionTree results need additional formatting\r\n console.warn(\"!!TODO: DecisionTree results need additional formatting...\")\r\n }\r\n\r\n if (query != undefined) {\r\n gtmDatalayerEvent(\"decision_tree_response\", {...event});\r\n router.push({ name: 'DecisionTreeResults', query: query});\r\n }\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-decision-tree\",\n isTextMaxWidth: true\n }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"decision-tree-intro\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".65s\"\n }),\n _hoisted_2,\n _createElementVNode(\"div\", {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \".75s\",\n \"data-tree-sections\": getproductTreeKeys.value.length\n }, [\n _hoisted_4,\n (!_unref(formData).productType)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(_unref(startClass)),\n \"data-wow-duration\": \".3s\"\n }, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(productTrees.value, (type, key, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-sm-3\",\n key: `product-${index}`\n }, [\n _createElementVNode(\"div\", {\n class: \"btn btn-primary py-5 lh-1 w-100\",\n onClick: ($event: any) => (setQuestionType(key))\n }, [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(key), 1)\n ], 8, _hoisted_7)\n ]))\n }), 128))\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (_unref(formData).productType != '')\n ? (_openBlock(), _createBlock(DecisionTreeQuestions, {\n key: 1,\n class: \"wow fadeInLeft\",\n \"data-wow-duration\": \".3s\",\n questionObj: productTrees.value[_unref(formData).productType],\n onReturn: _cache[0] || (_cache[0] = ($event: any) => (setQuestionType(''))),\n onComplete: sendResults\n }, null, 8, [\"questionObj\"]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_3)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./DecisionTreeView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DecisionTreeView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DecisionTreeView.vue?vue&type=style&index=0&id=6877af5b&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6877af5b\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"decision-tree-view\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\nconst _hoisted_4 = {\n key: 0,\n class: \"mt-4 alert alert-warning\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"i\", null, \"We weren't able to retrieve products that matched your request, please try again.\", -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\nconst _hoisted_7 = { class: \"row mt-4\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-6\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h3\" }, \"Results:\")\n], -1)\nconst _hoisted_9 = { class: \"col-6 text-end\" }\nconst _hoisted_10 = { class: \"row gy-5\" }\nconst _hoisted_11 = [\"data-sku\"]\nconst _hoisted_12 = {\n key: 2,\n class: \"mt-4 alert alert-warning\"\n}\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"i\", null, \"We weren't able to find any products that matched your request, please try again.\", -1)\nconst _hoisted_14 = [\n _hoisted_13\n]\n\nimport { onBeforeMount, ref, Ref } from \"vue\";\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import GenericRangeTile from \"@/components/range-tiles/GenericRangeTile.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { getTyres } from \"@/api-calls/tyres\";\r\n import { useRoute } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'DecisionTreeResultsView',\n setup(__props) {\n\r\n\tlet itemData: Ref<any> = ref({\r\n totalCount: 0,\r\n pageCount: 0,\r\n pageSize: 0,\r\n pageNumber: 0,\r\n data: [],\r\n });\r\n const miscStore = useMiscStore();\r\n const route = useRoute();\r\n let query: any = undefined;\r\n\r\n onBeforeMount(async () => {\r\n miscStore.isLoading = true;\r\n query = route.query;\r\n if (query.product == \"tyre\") {\r\n itemData.value = await getTyres(1, 20, query.sectionWidth?.toString(), query.aspectRatio?.toString(), query.rimSize?.toString());\r\n }\r\n else {\r\n itemData.value = undefined;\r\n }\r\n miscStore.isLoading = false;\r\n });\r\n\r\n function formatTyreSize () {\r\n return query.sectionWidth?.toString() + \"-\" + query.aspectRatio?.toString() + \"-\" + query.rimSize?.toString();\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: \"banner-decision-tree\",\n isTextMaxWidth: true\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'DecisionTree' },\n class: \"btn sm-btn btn-secondary\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to decision tree \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"decision-tree-result-intro\",\n class: \"wow fadeInDown mb-0\",\n \"data-wow-delay\": \".65s\"\n }),\n (_unref(itemData) == undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_6))\n : (_unref(itemData).data.length)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n (_unref(route).query.product == 'tyre')\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: 'TyreRange', params: {size: formatTyreSize()}},\n class: \"btn sm-btn btn-primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" view more products that match this result \")\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(itemData).data, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-12 col-sm-6 col-xxl-3\",\n key: item.sku,\n \"data-sku\": item.sku\n }, [\n _createVNode(GenericRangeTile, { item: item }, null, 8, [\"item\"])\n ], 8, _hoisted_11))\n }), 128))\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_12, _hoisted_14))\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./DecisionTreeResultsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DecisionTreeResultsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-138ed4af\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Technical articles\", -1))\nconst _hoisted_4 = { class: \"row justify-content-center justify-content-sm-around justify-content-md-start\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-10 col-sm-5\" }, null, -1))\n\nimport { ref, Ref } from \"vue\";\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Image from '@/components/general/Image.vue';\r\n import LearnMoreBlock from '@/components/general/LearnMoreBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductRangeView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\r\n const productList: Ref<any | undefined> = ref([\r\n {\r\n title: 'Tyres',\r\n image: 'image-product-range-tyre',\r\n link: {name: 'TyreRange'}\r\n },\r\n {\r\n title: 'Batteries',\r\n image: 'image-product-range-battery',\r\n link: {name: 'Batteries'}\r\n },\r\n {\r\n title: 'Shock Absorbers',\r\n image: 'image-product-range-shocks',\r\n link: {name: 'Shocks'}\r\n },\r\n {\r\n title: 'Brakes',\r\n image: 'image-product-range-brakes',\r\n link: {name: 'Brakes'}\r\n },\r\n {\r\n title: 'Wheels',\r\n image: 'image-product-range-wheels',\r\n link: {name: 'Wheels'}\r\n },\r\n {\r\n title: 'Exhausts',\r\n image: 'image-product-range-exhausts',\r\n link: {name: 'Exhausts'}\r\n },\r\n {\r\n title: 'Towbars',\r\n image: 'image-product-range-towbar',\r\n link: {name: 'Towbars'}\r\n }\r\n ]);\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(ContentBlock, {\n alias: \"product-range\",\n class: \"mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".56s\"\n }),\n _createVNode(_component_router_link, {\n class: \"btn btn-primary mb-5 mb-0 wow fadeInDown\",\n \"data-wow-delay\": \".7s\",\n to: \"/technical-articles\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(productList.value, (product, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-10 col-sm-5 col-md-4 col-xl-3\",\n key: `product-${index}`\n }, [\n _createVNode(LearnMoreBlock, {\n class: \"wow fadeInLeft\",\n title: product.title,\n image: product.image,\n link: product.link,\n buttonText: product.buttonText,\n \"data-wow-delay\": `${.62 + (.2 * (index%4))}s`\n }, null, 8, [\"title\", \"image\", \"link\", \"buttonText\", \"data-wow-delay\"])\n ]))\n }), 128)),\n _hoisted_5\n ])\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./ProductRangeView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductRangeView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ProductRangeView.vue?vue&type=style&index=0&id=138ed4af&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-138ed4af\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e8bddf9a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"product-link\"\n}\nconst _hoisted_2 = { class: \"h5 text-primary fst-italic\" }\n\nimport { PropType } from 'vue';\r\n \r\n import Image from '@/components/general/Image.vue';\r\ntype link = {\r\n name: string;\r\n params: any | null;\r\n }\r\n\r\n type image = {\r\n alias: string;\r\n src: string;\r\n }\r\n\r\n type product = {\r\n title: string;\r\n image: image;\r\n link: link;\r\n }\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductLink',\n props: {\r\n product: {type: Object as PropType<product>}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n \nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (props.product)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n to: props.product.link,\n class: \"text-decoration-none py-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(props.product.title), 1),\n (props.product.image)\n ? (_openBlock(), _createBlock(Image, {\n key: 0,\n class: \"logo\",\n alias: props.product.image.alias,\n src: props.product.image.src\n }, null, 8, [\"alias\", \"src\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"to\"])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ProductLink.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductLink.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ProductLink.vue?vue&type=style&index=0&id=e8bddf9a&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e8bddf9a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Request a Quote\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h4 text-primary fst-italic mb-4\" }, \"View more of our products\", -1)\nconst _hoisted_3 = { class: \"row gy-4 gx-3 justify-content-center justify-content-sm-start\" }\n\nimport { ref, Ref } from \"vue\";\r\n import ProductLink from \"@/components/general/ProductLink.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductLinkList',\n props: {\r\n currentProduct: {type: String, default: \"\"}\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n const productList: Ref<any | undefined> = ref([\r\n {\r\n title: 'Batteries',\r\n image: {alias: 'image-product-range-battery'},\r\n link: {name: 'Batteries'}\r\n },\r\n {\r\n title: 'Shock Absorbers',\r\n image: {alias: 'image-product-range-shocks'},\r\n link: {name: 'Shocks'}\r\n },\r\n {\r\n title: 'Brakes',\r\n image: {alias: 'image-product-range-brakes'},\r\n link: {name: 'Brakes'}\r\n },\r\n {\r\n title: 'Wheels',\r\n image: {alias: 'image-product-range-wheels'},\r\n link: {name: 'Wheels'}\r\n },\r\n {\r\n title: 'Exhausts',\r\n image: {alias: 'image-product-range-exhausts'},\r\n link: {name: 'Exhausts'}\r\n },\r\n {\r\n title: 'Towbars',\r\n image: {alias: 'image-product-range-towbar'},\r\n link: {name: 'Towbars'}\r\n }\r\n ]);\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_router_link, {\n class: \"btn btn-primary mb-5\",\n to: \"/request-a-quote\"\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(productList.value, (product, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: `product-${index}`\n }, [\n (props.currentProduct != product.title)\n ? (_openBlock(), _createBlock(ProductLink, {\n key: 0,\n class: \"col-10 col-sm flex-shrink-1 flex-grow-0\",\n product: product\n }, null, 8, [\"product\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ProductLinkList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductLinkList.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BatteriesView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-batteries\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-batteries\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }),\n _createVNode(ProductLinkList, { \"current-product\": \"Batteries\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./BatteriesView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BatteriesView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BrakesView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-brakes\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-brakes\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }),\n _createVNode(ProductLinkList, { \"current-product\": \"Brakes\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./BrakesView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BrakesView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ExhaustsView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-exhausts\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-exhausts\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".857s\"\n }),\n _createVNode(ProductLinkList, { \"current-product\": \"Exhausts\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./ExhaustsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ExhaustsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-rangeview\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ShocksView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-shocks\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-shocks\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }),\n _createVNode(ProductLinkList, { \"current-product\": \"Shocks\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./ShocksView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ShocksView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'TowbarsView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-towbars\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-towbars\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }),\n _createVNode(ProductLinkList, { \"current-product\": \"Towbars\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./TowbarsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TowbarsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\nconst _hoisted_4 = { class: \"row justify-content-center justify-content-sm-around justify-content-md-start mb-5\" }\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import LearnMoreBlock from '@/components/general/LearnMoreBlock.vue';\r\n import { getWheelBrands } from \"@/utilities/graphql\";\r\n import { wheelObj } from '@/utilities/graphql/wheel';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import ProductLinkList from \"@/components/general/ProductLinkList.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelsView',\n setup(__props) {\n\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n const wheelBrands: Ref<any | undefined> = ref([]);\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getWheelBrands(ApolloClient).then(res => {\r\n if (res) {\r\n wheelBrands.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, { alias: \"banner-our-products-wheels\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(Spinner, {\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'ProductRange' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to products \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: \"product-range-wheels\",\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(wheelBrands.value, (brand, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-10 col-sm-5 col-md-4 col-xl-3\",\n key: `brand-${index}`\n }, [\n _createVNode(LearnMoreBlock, {\n title: brand.displayText,\n image: `image-wheel-brand-${brand.alias.alias}`,\n buttonText: \"View the Range\",\n link: {name: 'WheelBrand', params: {brand: brand.alias.alias}}\n }, null, 8, [\"title\", \"image\", \"link\"])\n ]))\n }), 128))\n ]),\n _createVNode(ProductLinkList, { \"current-product\": \"Wheels\" })\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./WheelsView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelsView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0d6eb2b8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"position-relative\" }\nconst _hoisted_2 = {\n key: 1,\n class: \"wheel-list row gy-5 gx-4 justify-content-center justify-content-sm-start\"\n}\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"alert alert-primary\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", null, \"Sorry, we could not find wheels in this range... check again soon\")\n], -1))\nconst _hoisted_5 = [\n _hoisted_4\n]\n\nimport { ref, Ref, onMounted } from \"vue\"\r\n import ProductLink from \"@/components/general/ProductLink.vue\";\r\n import { getWheelList } from \"@/utilities/graphql\";\r\n import { wheelObj } from '@/utilities/graphql/wheel';\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { useRoute } from \"vue-router\";\r\n import Spinner from \"@/components/general/Spinner.vue\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelList',\n setup(__props) {\n\r\n const route = useRoute();\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n let wheelList: Ref<any | undefined> = ref(undefined);\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getWheelList(ApolloClient, route.params.brand).then(res => {\r\n if (res) {\r\n wheelList.value = res;\r\n miscStore.isLoadingOverride = false;\r\n }\r\n });\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_unref(wheelList))\n ? (_openBlock(), _createBlock(Spinner, {\n key: 0,\n isAbsolute: true,\n visible: _unref(miscStore).isLoading || _unref(miscStore).isLoadingOverride\n }, null, 8, [\"visible\"]))\n : (_unref(wheelList).length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(wheelList), (wheel, index) => {\n return (_openBlock(), _createBlock(ProductLink, {\n key: `wheel-${index}`,\n class: \"col-10 col-sm-4 col-lg-3\",\n product: wheel\n }, null, 8, [\"product\"]))\n }), 128))\n ]))\n : (_unref(wheelList).length == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./WheelList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelList.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./WheelList.vue?vue&type=style&index=0&id=0d6eb2b8&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0d6eb2b8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"wheel-range\" }\nconst _hoisted_2 = { class: \"position-relative\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1)\n\nimport MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import WheelList from \"@/components/general/WheelList.vue\";\r\n import { useRoute } from \"vue-router\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelsBrandView',\n setup(__props) {\n\r\n const route = useRoute();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Banner, {\n alias: `banner-wheels-${_unref(route).params.brand}`\n }, null, 8, [\"alias\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'Wheels' },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \".7s\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" back to wheels \")\n ]),\n _: 1\n }),\n _createVNode(ContentBlock, {\n alias: `wheels-${_unref(route).params.brand}-intro`,\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".85s\"\n }, null, 8, [\"alias\"]),\n _createVNode(WheelList, {\n brand: _unref(route).params.brand,\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".9s\"\n }, null, 8, [\"brand\"])\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./WheelsBrandView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelsBrandView.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a4352fca\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"wheel-detail-view position-relative\"\n}\nconst _hoisted_2 = { class: \"intro d-flex\" }\nconst _hoisted_3 = {\n class: \"detail-thumbnail me-lg-3 wow fadeInDown\",\n \"data-wow-delay\": \"0.2s\"\n}\nconst _hoisted_4 = [\"src\", \"alt\"]\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = { class: \"detail-header d-flex flex-column justify-content-center\" }\nconst _hoisted_7 = {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \"0.3s\"\n}\nconst _hoisted_8 = {\n class: \"wow fadeInLeft\",\n \"data-wow-delay\": \"0.38s\"\n}\nconst _hoisted_9 = { class: \"mb-0 bg-white\" }\nconst _hoisted_10 = { class: \"wheel-body\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_12 = {\n class: \"wow fadeInDown\",\n \"data-wow-delay\": \".58s\"\n}\n\nimport { ref, Ref, onMounted } from \"vue\";\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import Banner from '@/components/general/Banner.vue';\r\n import ContentBlock from '@/components/general/ContentBlock.vue';\r\n import { CmsBaseUrl, getFallbackTyreImg, thumbnailImageError } from \"@/utilities\";\r\n import { getWheel } from \"@/utilities/graphql\";\r\n import { useApolloClient } from '@vue/apollo-composable';\r\n import { useMiscStore } from \"@/stores/misc\";\r\n import { useRoute } from \"vue-router\";\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'WheelsDetailView',\n setup(__props) {\n\r\n const route = useRoute();\r\n const miscStore = useMiscStore();\r\n const { resolveClient } = useApolloClient();\r\n const ApolloClient = resolveClient();\r\n\r\n let wheel: Ref<any | undefined> = ref(undefined);\r\n\r\n onMounted(async () => {\r\n miscStore.isLoadingOverride = true;\r\n await getWheel(ApolloClient, route.params.slug).then(res => {\r\n if (res) {\r\n wheel.value = res;\r\n }\r\n miscStore.isLoadingOverride = false;\r\n });\r\n })\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(wheel))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(wheel).bannerImage.urls.length)\n ? (_openBlock(), _createBlock(Banner, {\n key: 0,\n imageObj: { src: _unref(wheel).bannerImage.urls[0], title: null }\n }, null, 8, [\"imageObj\"]))\n : (_openBlock(), _createBlock(Banner, {\n key: 1,\n alias: `banner-wheels-${_unref(route).params.brand}`,\n imageObj: { title: null }\n }, null, 8, [\"alias\"])),\n _createVNode(MainContainer, { class: \"mb-5\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_unref(wheel).thumbnailImage.urls.length)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-fluid\",\n src: _unref(CmsBaseUrl)() + _unref(wheel).thumbnailImage.urls[0],\n alt: `${_unref(wheel).displayText} image`,\n onError: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_unref(thumbnailImageError) && _unref(thumbnailImageError)(...args)))\n }, null, 40, _hoisted_4))\n : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"img-fluid no-image-data\",\n src: _unref(getFallbackTyreImg)(),\n alt: `${_unref(wheel).displayText} image`,\n \"data-src-error\": \"thumbnail property missing\"\n }, null, 8, _hoisted_5))\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", {\n class: _normalizeClass(['text-white d-lg-inline-block', {'bg-primary': _unref(wheel).displayText}])\n }, [\n _createElementVNode(\"i\", null, _toDisplayString(_unref(wheel).displayText), 1)\n ], 2)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(_unref(wheel).blurb), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_router_link, {\n to: { name: 'WheelBrand', params: { brand: _unref(route).params.brand } },\n class: \"btn sm-btn btn-secondary mb-3 wow fadeInLeft\",\n \"data-wow-delay\": \"0.5s\"\n }, {\n default: _withCtx(() => [\n _hoisted_11,\n _createTextVNode(\" back to wheel range \")\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createElementVNode(\"div\", _hoisted_12, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(wheel).bodyCopy.contentItems, (item, index) => {\n return (_openBlock(), _createBlock(ContentBlock, {\n key: index,\n content: item\n }, null, 8, [\"content\"]))\n }), 128))\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./WheelsDetailView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./WheelsDetailView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./WheelsDetailView.vue?vue&type=style&index=0&id=a4352fca&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a4352fca\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1eaa9436\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"fst-italic fw-bold\" }, [\n /*#__PURE__*/_createTextVNode(\"Hi-Q \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-uppercase\" }, \"Best Buys is Back!\")\n], -1))\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"b\", { class: \"d-block mb-2\" }, \"PLUS pay only R200 for fitment and balancing when you buy 4 tyres.\", -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"h3\" }, \"Check out your region's deals here:\", -1))\nconst _hoisted_5 = { class: \"province-list mt-4\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-chevron-right text-white\" }, null, -1))\n\nimport Banner from '@/components/general/Banner.vue';\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import { provincesDdl } from \"@/api-calls/stores\";\r\n \r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'Index',\n setup(__props) {\n\r\n function formatRegion(province: string) {\r\n return province.replaceAll(' ', '-').toLowerCase();\r\n }\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-hi-q-best-buys-2024\" }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createElementVNode(\"p\", null, [\n _createTextVNode(\" We've got something for every driver - whether you're hitting the road in your hatchback or taking to the trails with your 4x4 ... We're offering huge specials across our massive range of quality tyres! \"),\n _hoisted_2,\n _createVNode(_component_router_link, { to: { name: 'PromotionDetailView', params: { slug: 'best-buys-2024-tnc' } } }, {\n default: _withCtx(() => [\n _createTextVNode(\" Ts & Cs Apply \")\n ]),\n _: 1\n })\n ]),\n _hoisted_3,\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(provincesDdl), (province, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: 'province' + index,\n class: \"col-10 col-sm-6 col-md-5 col-xl-3 mb-2\"\n }, [\n _createVNode(_component_router_link, {\n class: \"btn btn-primary text-secondary\",\n to: { name: 'BestBuysPricingView', params: { region: formatRegion(province.name) } }\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"i\", null, _toDisplayString(province.name), 1),\n _hoisted_6\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./Index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=1eaa9436&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1eaa9436\"]])\n\nexport default __exports__","interface CarPricing {\r\n good: number;\r\n better: number;\r\n best: number;\r\n}\r\n\r\ninterface RegionPricing {\r\n [carType: string]: CarPricing;\r\n}\r\n\r\ninterface RegionDetails {\r\n displayName: string;\r\n pricing: RegionPricing;\r\n}\r\n\r\ninterface PricingData {\r\n [region: string]: RegionDetails;\r\n}\r\n\r\nexport const BestBuys2024Pricing: PricingData = {\r\n \"eastern-cape\": {\r\n \"displayName\": \"Eastern Cape\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 695​, better: 750, best: 950​ },\r\n \"Passenger\": { good: 750, better: 875, best: 1250 },\r\n \"SUV\": { good: 1050, better: 1195​, best: 1295 },\r\n \"4X4\": { good: 1850​, better: 2250, best: 2650 }\r\n }\r\n },\r\n \"free-state\": {\r\n \"displayName\": \"Free State\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 780, better: 840, best: 980​ },\r\n \"Passenger\": { good: 860​, better: 1050, best: 1080​ },\r\n \"SUV\": { good: 1070, better: 1390, best: 1610 },\r\n \"4X4\": { good: 1290, better: 1590, best: 1930​ }\r\n }\r\n },\r\n \"gauteng\": {\r\n \"displayName\": \"Gauteng\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 778, better: 800​, best: 830 },\r\n \"Passenger\": { good: 748​, better: 775, best: 1190 },\r\n \"SUV\": { good: 1220, better: 1360, best: 1560 },\r\n \"4X4\": { good: 1425​, better: 1525​, best: 1600 }\r\n }\r\n },\r\n \"kwazulu-natal\": {\r\n \"displayName\": \"KwaZulu-Natal\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 600​, better: 750​, best: 960​ },\r\n \"Passenger\": { good: 670, better: 800, best: 960 },\r\n \"SUV\": { good: 1045, better: 1290, best: 1400 },\r\n \"4X4\": { good: 1130, better: 1250​, best: 1800 }\r\n }\r\n },\r\n \"limpopo\": {\r\n \"displayName\": \"Limpopo\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 710, better: 970, best: 1100 },\r\n \"Passenger\": { good: 870, better: 1250, best: 1660 },\r\n \"SUV\": { good: 1399, better: 1799, best: 2180 },\r\n \"4X4\": { good: 1950, better: 2350, best: 2750 }\r\n }\r\n },\r\n \"mpumalanga\": {\r\n \"displayName\": \"Mpumalanga\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 720, better: 960, best: 1250​ },\r\n \"Passenger\": { good: 935, better: 1020, best: 1280 },\r\n \"SUV\": { good: 1080, better: 1400, best: 1540 },\r\n \"4X4\": { good: 1390, better: 1470, best: 2020 }\r\n }\r\n },\r\n \"northern-cape\": {\r\n \"displayName\": \"Northern Cape\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 780, better: 840​, best: 980​ },\r\n \"Passenger\": { good: 860​, better: 1050, best: 1080 },\r\n \"SUV\": { good: 1070, better: 1390, best: 1610 },\r\n \"4X4\": { good: 1290, better: 1590, best: 1930​ }\r\n }\r\n },\r\n \"north-west\": {\r\n \"displayName\": \"North West\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 780​, better: 840​, best: 980​ },\r\n \"Passenger\": { good: 860, better: 1050​, best: 1080​ },\r\n \"SUV\": { good: 1070, better: 1390, best: 1610 },\r\n \"4X4\": { good: 1290​, better: 1590, best: 1930 }\r\n }\r\n },\r\n \"western-cape\": {\r\n \"displayName\": \"Western Cape\",\r\n \"pricing\": {\r\n \"Hatchback\": { good: 710, better: 859​, best: 1230 },\r\n \"Passenger\": { good: 729​, better: 850, best: 1395 },\r\n \"SUV\": { good: 999, better: 1250, best: 1550 },\r\n \"4X4\": { good: 1350​, better: 1580, best: 1780 }\r\n }\r\n }\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-751affa6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-caret-left-fill\" }, null, -1))\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { class: \"best-buy-offers mt-5\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"region-offer-heading\" }, [\n /*#__PURE__*/_createElementVNode(\"div\"),\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"h1 text-uppercase\" }, \"Good\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"h1 text-uppercase\" }, \"Better\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"h1 text-uppercase\" }, \"Best\")\n ])\n ])\n], -1))\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = { class: \"text-uppercase mb-0\" }\nconst _hoisted_7 = { class: \"vehicle-price\" }\nconst _hoisted_8 = { class: \"price price-good\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-uppercase\" }, \"from\", -1))\nconst _hoisted_10 = { class: \"h1\" }\nconst _hoisted_11 = { class: \"price price-better\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-uppercase\" }, \"from\", -1))\nconst _hoisted_13 = { class: \"h1\" }\nconst _hoisted_14 = { class: \"price price-best\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-uppercase\" }, \"from\", -1))\nconst _hoisted_16 = { class: \"h1\" }\nconst _hoisted_17 = { class: \"my-4 me-2 text-end\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"h3 d-block\" }, \"plus... ONLY R200 for fitment and balancing when you buy 4 tyres\", -1))\n\nimport Banner from '@/components/general/Banner.vue';\r\n import MainContainer from '@/components/general/MainContainer.vue';\r\n import { BestBuys2024Pricing } from \"@/api-calls/promotion\";\r\n import { computed } from 'vue';\r\n\r\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BestBuysPricing',\n props: {\r\n region: {type: String},\r\n },\n setup(__props) {\n\nconst props = __props;\n\r\n \r\n\r\n const regionPrice = computed(() => {\r\n if (props.region == undefined) return null;\r\n return BestBuys2024Pricing[props.region];\r\n });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(Banner, { alias: \"banner-hi-q-best-buys-2024\" }),\n _createVNode(MainContainer, { class: \"my-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: 'BestBuysView' },\n class: \"btn sm-btn btn-secondary mb-3\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createTextVNode(\" back to Best Buys page \")\n ]),\n _: 1\n }),\n (__props.region != null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", null, \"Best Buy Deals in \" + _toDisplayString(regionPrice.value?.displayName), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(regionPrice.value?.pricing, (price, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"region-offer\",\n key: index\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(`vehicle-type vehicle-${index.toString().toLowerCase()}`)\n }, [\n _createElementVNode(\"img\", {\n class: \"img-fluid\",\n src: `/img/promotions/best-buys-2024/${index.toString().toLowerCase()}.png`\n }, null, 8, _hoisted_5),\n _createElementVNode(\"h3\", _hoisted_6, _toDisplayString(index), 1)\n ], 2),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"span\", _hoisted_10, \"R\" + _toDisplayString(price.good), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"span\", _hoisted_13, \"R\" + _toDisplayString(price.better), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"span\", _hoisted_16, \"R\" + _toDisplayString(price.best), 1)\n ])\n ])\n ])\n ]))\n }), 128))\n ]),\n _createElementVNode(\"p\", _hoisted_17, [\n _hoisted_18,\n _createVNode(_component_router_link, { to: { name: 'PromotionDetailView', params: { slug: 'best-buys-2024-tnc' } } }, {\n default: _withCtx(() => [\n _createTextVNode(\" Ts & Cs Apply \")\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./BestBuysPricing.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BestBuysPricing.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BestBuysPricing.vue?vue&type=style&index=0&id=751affa6&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-751affa6\"]])\n\nexport default __exports__","import { ElMessage } from \"element-plus\";\r\nimport {\r\n createRouter,\r\n createWebHistory,\r\n RouteRecordRaw,\r\n RouteLocation\r\n} from \"vue-router\";\r\nimport HomeView from \"@/views/HomeView.vue\";\r\nimport TyreResourcesView from \"@/views/TyreResourcesView.vue\";\r\nimport WhenToChangeTyresView from \"@/views/tyre-resources/WhenToChangeTyresView.vue\";\r\nimport WhatTyresAreRightView from \"@/views/tyre-resources/WhatTyresAreRightView.vue\";\r\nimport WhatDoesOEMeanView from \"@/views/tyre-resources/WhatDoesOEMeanView.vue\";\r\nimport WhatTyresFitMyLifestyleView from \"@/views/tyre-resources/WhatTyresFitMyLifestyleView.vue\";\r\nimport CalculatorsView from \"@/views/tyre-resources/CalculatorsView.vue\";\r\nimport TyreServicesView from \"@/views/tyre-resources/TyreServicesView.vue\";\r\nimport TestimonialsView from \"@/views/tyre-resources/TestimonialsView.vue\";\r\nimport WhatMakesUsDifferentView from \"@/views/tyre-resources/WhatMakesUsDifferentView.vue\";\r\nimport TyreMarkingsView from \"@/views/tyre-resources/TyreMarkingsView.vue\";\r\nimport WhereCanIGoView from \"@/views/tyre-resources/WhereCanIGoView.vue\";\r\nimport TyreRangeView from \"@/views/tyre-range/TyreRangeView.vue\";\r\nimport TyreDetailView from \"@/views/tyre-range/TyreDetailView.vue\";\r\nimport PromotionListView from \"@/views/promotion/PromotionListView.vue\";\r\nimport PromotionDetailView from \"@/views/promotion/PromotionDetailView.vue\";\r\nimport CampaignCaptureView from \"@/views/promotion/CampaignCaptureView.vue\";\r\nimport ContactView from \"@/views/contact/ContactView.vue\";\r\nimport RequestQuoteView from \"@/views/contact/RequestQuoteView.vue\";\r\nimport BecomeAFranchiseApplicationView from \"@/views/contact/BecomeAFranchiseApplicationView.vue\";\r\nimport TechnicalArticleListView from \"@/views/tyre-resources/TechnicalArticleListView.vue\";\r\nimport TechnicalArticleView from \"@/views/tyre-resources/TechnicalArticleView.vue\";\r\nimport NewsListView from \"@/views/tyre-resources/NewsArticleListView.vue\";\r\nimport NewsArticleView from \"@/views/tyre-resources/NewsArticleView.vue\";\r\nimport PageNotFoundView from \"@/views/PageNotFoundView.vue\";\r\nimport CookiePolicyView from \"@/views/CookiePolicyView.vue\";\r\nimport PrivacyPolicyView from \"@/views/PrivacyPolicyView.vue\";\r\nimport TermsAndConditionsView from \"@/views/TermsAndConditionsView.vue\";\r\nimport GetAHiqCompanyAccountView from \"@/views/tyre-resources/GetAHiqCompanyAccountView.vue\";\r\nimport ValueAddedServicesListView from \"@/views/tyre-resources/ValueAddedServicesListView.vue\";\r\nimport ValueAddedServicesView from \"@/views/tyre-resources/ValueAddedServicesView.vue\";\r\nimport WheelBalancingView from \"@/views/products-and-services/WheelBalancingView.vue\";\r\nimport WheelAlignmentView from \"@/views/products-and-services/WheelAlignmentView.vue\";\r\nimport WheelRotationView from \"@/views/products-and-services/WheelRotationView.vue\";\r\nimport TyreRepairsView from \"@/views/products-and-services/TyreRepairsView.vue\";\r\nimport StoreLocatorView from \"@/views/store/StoreLocatorView.vue\";\r\nimport StoreDetailView from \"@/views/store/StoreDetailView.vue\";\r\nimport DecisionTreeView from \"@/views/decision-tree/DecisionTreeView.vue\";\r\nimport DecisionTreeResultsView from \"@/views/decision-tree/DecisionTreeResultsView.vue\";\r\nimport ProductRangeView from \"@/views/product-range/ProductRangeView.vue\";\r\nimport BatteriesView from \"@/views/product-range/BatteriesView.vue\";\r\nimport BrakesView from \"@/views/product-range/BrakesView.vue\";\r\nimport ExhaustsView from \"@/views/product-range/ExhaustsView.vue\";\r\nimport ShocksView from \"@/views/product-range/ShocksView.vue\";\r\nimport TowbarsView from \"@/views/product-range/TowbarsView.vue\";\r\nimport WheelsView from \"@/views/product-range/WheelsView.vue\";\r\nimport WheelsBrandView from \"@/views/product-range/WheelsBrandView.vue\";\r\nimport WheelsDetailView from \"@/views/product-range/WheelsDetailView.vue\";\r\nimport BestBuysView from \"@/views/promotion/best-buys-2024/Index.vue\";\r\nimport BestBuysPricingView from \"@/views/promotion/best-buys-2024/BestBuysPricing.vue\";\r\n\r\nconst routes: Array<RouteRecordRaw> = [\r\n {\r\n path: \"/\",\r\n name: \"Home\",\r\n component: HomeView,\r\n },\r\n {\r\n path: \"/home\",\r\n redirect: \"/\",\r\n },\r\n {\r\n path: \"/tyre-resources\",\r\n name: \"TyreResources\",\r\n component: TyreResourcesView,\r\n },\r\n {\r\n path: \"/tyre-resources/when-to-change-my-tyres\",\r\n name: \"WhenToChangeTyres\",\r\n component: WhenToChangeTyresView,\r\n },\r\n {\r\n path: \"/tyre-resources/what-tyres-are-right-for-my-car\",\r\n name: \"WhatTyresAreRight\",\r\n component: WhatTyresAreRightView,\r\n },\r\n {\r\n path: \"/tyre-resources/what-does-oe-mean\",\r\n name: \"WhatDoesOEMean\",\r\n component: WhatDoesOEMeanView,\r\n },\r\n {\r\n path: \"/tyre-resources/what-tyres-fit-my-lifestyle\",\r\n name: \"WhatTyresFitMyLifestyle\",\r\n component: WhatTyresFitMyLifestyleView,\r\n },\r\n {\r\n path: \"/tyre-resources/calculators\",\r\n name: \"Calculators\",\r\n component: CalculatorsView,\r\n },\r\n {\r\n path: \"/tyre-services\",\r\n name: \"TyreServices\",\r\n component: TyreServicesView,\r\n },\r\n {\r\n path: \"/testimonials\",\r\n name: \"Testimonials\",\r\n component: TestimonialsView,\r\n },\r\n {\r\n path: \"/tyre-resources/what-makes-us-different\",\r\n name: \"WhatMakesUsDifferent\",\r\n component: WhatMakesUsDifferentView,\r\n },\r\n {\r\n path: \"/tyre-resources/tyre-markings\",\r\n name: \"TyreMarkings\",\r\n component: TyreMarkingsView,\r\n },\r\n {\r\n path: \"/tyre-resources/where-can-i-go\",\r\n name: \"WhereCanIGo\",\r\n component: WhereCanIGoView,\r\n },\r\n {\r\n path: \"/tyre-resources/get-a-hiq-fleet-account\",\r\n name: \"GetAHiqCompanyAccount\",\r\n component: GetAHiqCompanyAccountView,\r\n },\r\n {\r\n path: \"/value-added-services\",\r\n name: \"ValueAddedServicesList\",\r\n component: ValueAddedServicesListView,\r\n },\r\n {\r\n path: \"/value-added-services/:slug\",\r\n name: \"ValueAddedServices\",\r\n props: true,\r\n component: ValueAddedServicesView,\r\n },\r\n {\r\n path: \"/other-products-and-services/wheel-balancing\",\r\n name: \"WheelBalancing\",\r\n component: WheelBalancingView,\r\n },\r\n {\r\n path: \"/other-products-and-services/wheel-alignment\",\r\n name: \"WheelAlignment\",\r\n component: WheelAlignmentView,\r\n },\r\n {\r\n path: \"/other-products-and-services/wheel-rotation\",\r\n name: \"WheelRotation\",\r\n component: WheelRotationView,\r\n },\r\n {\r\n path: \"/other-products-and-services/tyre-repairs\",\r\n name: \"TyreRepairs\",\r\n component: TyreRepairsView,\r\n },\r\n {\r\n path: \"/tyres/:size?\",\r\n name: \"TyreRange\",\r\n props: true,\r\n component: TyreRangeView,\r\n },\r\n {\r\n path: \"/brand/:brand?/:size?\",\r\n name: \"BrandRange\",\r\n props: true,\r\n component: TyreRangeView,\r\n },\r\n {\r\n path: \"/tyre/:brand/:slug\",\r\n name: \"TyreDetail\",\r\n props: true,\r\n component: TyreDetailView,\r\n },\r\n {\r\n path: \"/products\",\r\n name: \"ProductRange\",\r\n component: ProductRangeView,\r\n },\r\n {\r\n path: \"/products/batteries\",\r\n name: \"Batteries\",\r\n component: BatteriesView,\r\n },\r\n {\r\n path: \"/products/brakes\",\r\n name: \"Brakes\",\r\n component: BrakesView,\r\n },\r\n {\r\n path: \"/products/exhausts\",\r\n name: \"Exhausts\",\r\n component: ExhaustsView,\r\n },\r\n {\r\n path: \"/products/shock-absorbers\",\r\n name: \"Shocks\",\r\n component: ShocksView,\r\n },\r\n {\r\n path: \"/products/towbars\",\r\n name: \"Towbars\",\r\n component: TowbarsView,\r\n },\r\n {\r\n path: \"/products/wheels\",\r\n name: \"Wheels\",\r\n component: WheelsView,\r\n },\r\n {\r\n path: \"/products/wheels/:brand\",\r\n name: \"WheelBrand\",\r\n component: WheelsBrandView,\r\n },\r\n {\r\n path: \"/products/wheels/:brand/:slug\",\r\n name: \"WheelDetail\",\r\n component: WheelsDetailView,\r\n },\r\n {\r\n path: \"/store-locator\",\r\n name: \"StoreLocator\",\r\n component: StoreLocatorView,\r\n },\r\n {\r\n path: \"/store-locator/:region?\",\r\n name: \"StoreLocatorSearch\",\r\n props: true,\r\n component: StoreLocatorView,\r\n },\r\n {\r\n path: \"/store-locator/:region/:slug\",\r\n name: \"StoreView\",\r\n props: true,\r\n component: StoreDetailView,\r\n },\r\n {\r\n path: \"/promotions\",\r\n name: \"Promotions\",\r\n component: PromotionListView,\r\n },\r\n {\r\n path: \"/promotions/:slug\",\r\n name: \"PromotionDetailView\",\r\n props: true,\r\n component: PromotionDetailView,\r\n },\r\n {\r\n path: \"/promotions/best-buys-2024\",\r\n name: \"BestBuysView\",\r\n component: BestBuysView,\r\n },\r\n {\r\n path: \"/promotions/best-buys-2024/:region\",\r\n name: \"BestBuysPricingView\",\r\n props: true,\r\n component: BestBuysPricingView,\r\n },\r\n {\r\n path: \"/campaign-capture\",\r\n name: \"CampaignCapture\",\r\n component: CampaignCaptureView,\r\n },\r\n {\r\n path: \"/contact\",\r\n name: \"Contact\",\r\n component: ContactView,\r\n },\r\n {\r\n path: \"/request-a-quote\",\r\n name: \"RequestQuote\",\r\n props: true,\r\n component: RequestQuoteView,\r\n },\r\n {\r\n path: \"/become-a-franchise\",\r\n name: \"BecomeAFranchise\",\r\n component: BecomeAFranchiseApplicationView,\r\n },\r\n {\r\n path: \"/decision-tree\",\r\n name: \"DecisionTree\",\r\n component: DecisionTreeView,\r\n },\r\n {\r\n path: \"/decision-tree/results\",\r\n name: \"DecisionTreeResults\",\r\n props: true,\r\n component: DecisionTreeResultsView,\r\n },\r\n {\r\n path: \"/technical-articles/:category?\",\r\n name: \"TechnicalArticleList\",\r\n props: true,\r\n component: TechnicalArticleListView,\r\n },\r\n {\r\n path: \"/technical-articles/:category/:slug\",\r\n name: \"TechnicalArticle\",\r\n props: true,\r\n component: TechnicalArticleView,\r\n },\r\n {\r\n path: \"/news-articles/:category?\",\r\n name: \"NewsList\",\r\n props: true,\r\n component: NewsListView,\r\n },\r\n {\r\n path: \"/news-articles/:category/:slug\",\r\n name: \"NewsArticle\",\r\n props: true,\r\n component: NewsArticleView,\r\n },\r\n {\r\n path: \"/cookie-policy\",\r\n name: \"CookiePolicy\",\r\n component: CookiePolicyView,\r\n },\r\n {\r\n path: \"/privacy-policy\",\r\n name: \"PrivacyPolicy\",\r\n component: PrivacyPolicyView,\r\n },\r\n {\r\n path: \"/terms-and-conditions\",\r\n name: \"TermsAndConditions\",\r\n component: TermsAndConditionsView,\r\n },\r\n {\r\n path: \"/404\",\r\n name: \"PageNotFound\",\r\n component: PageNotFoundView,\r\n },\r\n {\r\n path: \"/:pathMatch(.*)*\",\r\n redirect: \"/404\",\r\n },\r\n];\r\n\r\nconst router = createRouter({\r\n history: createWebHistory(process.env.BASE_URL),\r\n routes,\r\n scrollBehavior(to, from, savedPosition) {\r\n if ((from && Object.keys(to.query).length) || (to && Object.keys(from.query).length)) {\r\n // Stop scroll behaviour when replacing route wihtout changing pages\r\n if (to.fullPath.split('?')[0] == from.fullPath.split('?')[0]) return;\r\n } else if (savedPosition) {\r\n return { savedPosition, behavior: \"smooth\" };\r\n } else if (to.hash) {\r\n const navBar = document.querySelector(\"#navbar\") as HTMLElement;\r\n return { el: to.hash, top: (navBar?.offsetHeight + 5) || 0, behavior: \"smooth\" };\r\n } else if (from.name != to.name && !tyreRangeTest(from, to)) {\r\n return { top: 0, behavior: \"smooth\" };\r\n }\r\n },\r\n});\r\n\r\nfunction tyreRangeTest (from: any, to: any) {\r\n if (from.name && to.name) {\r\n return from.name.toLowerCase().includes(\"range\") && to.name.toLowerCase().includes(\"range\")\r\n }\r\n return false;\r\n}\r\n\r\nexport default router;\r\n","import gql from 'graphql-tag'\r\n\r\nconst seo = gql`query GetSeoMetadata($url: String!) {\r\n sEO(where: {path: $url}) {\r\n seoMeta {\r\n pageTitle\r\n metaDescription\r\n canonical\r\n metaKeywords\r\n googleSchema\r\n metaRobots\r\n twitterImage {\r\n urls\r\n }\r\n openGraphImage {\r\n urls\r\n }\r\n defaultSocialImage {\r\n urls\r\n }\r\n }\r\n }\r\n}`\r\n\r\ninterface seoObj {\r\n pageTitle: string,\r\n metaDescription: string,\r\n canonical: string,\r\n metaKeywords: string,\r\n googleSchema: string,\r\n metaRobots: string,\r\n twitterImage: {\r\n urls: Array<string>\r\n },\r\n openGraphImage: {\r\n urls: Array<string>\r\n },\r\n defaultSocialImage: {\r\n urls: Array<string>\r\n }\r\n}\r\n\r\nexport {\r\n seo,\r\n seoObj\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, resolveComponent as _resolveComponent, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"main-body d-flex h-100 position-relative\" }\n\nimport { Ref, onMounted, ref } from \"vue\"\r\nimport Navbar from \"@/components/navigation/Navbar.vue\"\r\nimport Footer from \"@/components/navigation/Footer.vue\"\r\nimport router from \"./router\"\r\nimport { useApolloClient } from '@vue/apollo-composable'\r\nimport { ApolloClient, ApolloQueryResult } from '@apollo/client/core/index.js';\r\nimport { useMiscStore } from \"@/stores/misc\";\r\nimport 'vue3-carousel/dist/carousel.css'\r\nimport { ActiveHeadEntry, MergeHead, UseHeadInput, useHead, useSeoMeta, useScript } from \"@unhead/vue\"\r\nimport { CmsBaseUrl } from \"./utilities\"\r\nimport { seo, seoObj } from '@/utilities/graphql/seo'\r\nimport { getPopupBanner } from \"@/utilities/graphql\";\r\nimport { popupbannerObj } from '@/utilities/graphql/popupbanner'\r\n\r\ninterface wowScript {\r\n myFunction: ((arg: string) => void)\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\r\nconst miscStore = useMiscStore();\r\nconst { resolveClient } = useApolloClient()\r\nconst apolloClient = resolveClient()\r\nconst useHeadValues: Ref<UseHeadInput<MergeHead>> = ref({\r\n titleTemplate: (titleChunk) => {\r\n return titleFormat(titleChunk);\r\n }\r\n})\r\n\r\nconst myPageHead: ActiveHeadEntry<UseHeadInput<MergeHead>> | undefined = useHead(useHeadValues.value) || undefined\r\nonMounted(async () => {\r\n getMetaData(router.currentRoute.value.path)\r\n const instance = useScript({src: '/js/wow.min.js'}, {\r\n use() {\r\n new WOW().init();\r\n return window.wow\r\n }\r\n })\r\n})\r\n\r\nrouter.afterEach((to, from) => {\r\n const navToggle: HTMLElement | null = document.querySelector(\".navbar-toggler\");\r\n const isNavExpanded = navToggle!.getAttribute(\"aria-expanded\") === \"true\";\r\n if(isNavExpanded) { navToggle!.click(); }\r\n\r\n if (from.path !== to.path) {\r\n getMetaData(to.path)\r\n }\r\n})\r\n\r\nfunction getMetaData (path: string) {\r\n setMetaData(path == \"/\" ? \"/home\" : path, apolloClient)\r\n}\r\n\r\nfunction setMetaData (path: string, client: ApolloClient<object>) {\r\n if(path == \"/home\" && window.location.pathname != \"/\") {\r\n return false\r\n }\r\n const defaultTitle = \"Hi-Q\"\r\n const defaultDescription = \"\"\r\n new Promise (() => {\r\n client.query({\r\n query: seo,\r\n variables: {\r\n url: path\r\n }\r\n }).then((data: ApolloQueryResult<any>) => {\r\n const fullPath = window.location.origin + (path == \"/home\" ? \"\" : path)\r\n if(data.data.sEO && data.data.sEO.length > 0) {\r\n const meta = data.data.sEO[0].seoMeta\r\n const ogImagePath = getOgImage(meta)\r\n const twitterImagePath = getTwitterImage(meta)\r\n const isPreprod = [\"preprod\", \"azurewebsites\", \"-staging-\", \".inprogress.co.za\"].map(term => { return window.location.origin.toLowerCase().includes(term)}).includes(true);\r\n\r\n useHeadValues.value = {\r\n title: titleFormat(meta.pageTitle),\r\n meta: [\r\n { name: \"description\", content: meta.metaDescription ? meta.metaDescription : defaultDescription },\r\n { name: \"keywords\", content: meta.metaKeywords ? meta.metaKeywords : undefined, key: \"keywords-tag\" },\r\n { name: \"robots\", content: isPreprod ? \"noindex\" : (meta.metaRobots ? meta.metaRobots : undefined), key: \"robots-tag\" }\r\n ],\r\n link: [{ rel: \"canonical\", href: meta.canonical ? meta.canonical : undefined, key: \"cannonical-tag\" }],\r\n script: [{ type: \"application/ld+json\", innerHTML: meta.googleSchema ? meta.googleSchema : \"\", key: \"schema-tag\" }]\r\n }\r\n \r\n myPageHead!.patch(useHeadValues.value)\r\n\r\n\r\n useSeoMeta({\r\n ogType: \"website\",\r\n ogDescription: meta.metaDescription ? meta.metaDescription : defaultDescription,\r\n ogTitle: meta.pageTitle ? meta.pageTitle : defaultTitle,\r\n ogImage: CmsBaseUrl() + ogImagePath,\r\n ogUrl: fullPath,\r\n ogSiteName: \"Hi-Q\",\r\n ogLocale: \"en_GB\",\r\n twitterSite: \"Hi-Q\",\r\n twitterTitle: meta.pageTitle ? meta.pageTitle : defaultTitle,\r\n twitterDescription: meta.metaDescription ? meta.metaDescription : defaultDescription,\r\n twitterImage: CmsBaseUrl() + twitterImagePath,\r\n })\r\n }\r\n else {\r\n setDefaults(fullPath)\r\n }\r\n })\r\n })\r\n\r\n function setDefaults(fullPath: string) {\r\n const isPreprod = [\"preprod\", \"azurewebsites\", \"-staging-\", \".inprogress.co.za\"].map(term => { return window.location.origin.toLowerCase().includes(term)}).includes(true);\r\n useHeadValues.value = {\r\n titleTemplate: (titleChunk) => {\r\n return titleFormat(titleChunk);\r\n },\r\n meta: [\r\n { property: \"og:locale\", content: \"en_GB\" },\r\n { name: \"keywords\", content: undefined, key: \"keywords-tag\" },\r\n { name: \"robots\", content: isPreprod ? \"noindex\" : undefined, key: \"robots-tag\" }\r\n ],\r\n link: [{ rel: \"canonical\", href: \"\", key: \"cannonical-tag\" }],\r\n script: [{ type: \"application/ld+json\", innerHTML: \"{}\", key: \"schema-tag\" }]\r\n }\r\n myPageHead!.patch(useHeadValues.value)\r\n\r\n\r\n useSeoMeta({\r\n ogType: \"website\",\r\n ogDescription: defaultDescription,\r\n ogTitle: defaultTitle,\r\n ogImage: CmsBaseUrl() + \"/media/social-media-sharing/default_opengraph.jpg\",\r\n ogUrl: fullPath,\r\n ogSiteName: \"Hi-Q\",\r\n ogLocale: \"en_GB\",\r\n twitterSite: \"Hi-Q\",\r\n twitterTitle: defaultTitle,\r\n twitterDescription: defaultDescription,\r\n twitterImage: CmsBaseUrl() + \"/media/social-media-sharing/default_opengraph.jpg\",\r\n })\r\n }\r\n\r\n function getOgImage(meta: seoObj) {\r\n const image = meta.openGraphImage\r\n const fallback = meta.defaultSocialImage\r\n if(image && image.urls.length > 0) {\r\n return image.urls[0]\r\n }\r\n else if(fallback && fallback.urls.length > 0) {\r\n return fallback.urls[0]\r\n }\r\n return \"/media/social-media-sharing/default_opengraph.jpg\"\r\n }\r\n\r\n function getTwitterImage(meta: seoObj) {\r\n const image = meta.twitterImage\r\n const fallback = meta.defaultSocialImage\r\n if(image && image.urls.length > 0) {\r\n return image.urls[0]\r\n }\r\n else if(fallback && fallback.urls.length > 0) {\r\n return fallback.urls[0]\r\n }\r\n return \"/media/social-media-sharing/default_twitter.jpg\"\r\n }\r\n}\r\n\r\nfunction titleFormat (titleChunk: string | undefined) {\r\n const prependString = router.currentRoute.value.path == \"/home\" || titleChunk?.includes(\"| Hi-Q\") ? \"\" : \" | Hi-Q\"\r\n return titleChunk ? titleChunk + prependString : \"Hi-Q\"\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(Navbar),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"main\", null, [\n _createVNode(_component_router_view)\n ])\n ]),\n _createVNode(Footer)\n ], 64))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=03875382&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","/* eslint-disable no-console */\r\n\r\nimport { register } from 'register-service-worker'\r\n\r\nif (process.env.NODE_ENV === 'production') {\r\n register(`${process.env.BASE_URL}service-worker.js`, {\r\n ready () {\r\n console.log(\r\n 'App is being served from cache by a service worker.\\n' +\r\n 'For more details, visit https://goo.gl/AFskqB'\r\n )\r\n },\r\n registered () {\r\n console.log('Service worker has been registered.')\r\n },\r\n cached () {\r\n console.log('Content has been cached for offline use.')\r\n },\r\n updatefound () {\r\n console.log('New content is downloading.')\r\n },\r\n updated () {\r\n console.log('New content is available; please refresh.')\r\n },\r\n offline () {\r\n console.log('No internet connection found. App is running in offline mode.')\r\n },\r\n error (error) {\r\n console.error('Error during service worker registration:', error)\r\n }\r\n })\r\n}","import { createApp, provide, h, markRaw } from \"vue\";\r\nimport { createPinia } from \"pinia\";\r\nimport Vue3Lottie from 'vue3-lottie';\r\nimport App from \"./App.vue\";\r\nimport './registerServiceWorker';\r\nimport router from \"./router\";\r\nimport \"bootstrap\";\r\nimport { VueReCaptcha } from 'vue-recaptcha-v3';\r\nimport { createHead } from \"@unhead/vue\";\r\nimport { createGtm } from '@gtm-support/vue-gtm'\r\nimport ElementPlus from \"element-plus\";\r\nimport dayjs from \"dayjs\";\r\nimport utc from \"dayjs/plugin/utc\";\r\nimport timezone from \"dayjs/plugin/timezone\";\r\nimport \"../scss/app.scss\";\r\nimport { DefaultApolloClient } from '@vue/apollo-composable';\r\nimport { ApolloClient, InMemoryCache } from '@apollo/client/core';\r\n\r\n// Set 1st day of week to Monday for Element UI date pickers\r\ndayjs.Ls.en.weekStart = 1;\r\ndayjs.extend(utc);\r\ndayjs.extend(timezone);\r\n\r\nconst cache = new InMemoryCache()\r\nconst apolloClient = new ApolloClient({\r\n cache,\r\n uri: process.env.VUE_APP_APOLLO_ENGINE_SERVICE + '/api/graphql',\r\n})\r\nconst app = createApp({\r\n setup () {\r\n provide(DefaultApolloClient, apolloClient)\r\n },\r\n\r\n render: () => h(App),\r\n})\r\n\r\nconst head = createHead();\r\n\r\napp.use(VueReCaptcha, {\r\n siteKey: process.env.VUE_APP_GOOGLE_RECAPTCHA || '',\r\n loaderOptions: {\r\n useRecaptchaNet: true,\r\n autoHideBadge: true\r\n }\r\n});\r\n\r\napp.use(\r\n createGtm({\r\n id: [\"GTM-K4TSXM9M\"], // Your GTM single container ID, array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy'] or array of objects [{id: 'GTM-xxxxxx', queryParams: { gtm_auth: 'abc123', gtm_preview: 'env-4', gtm_cookies_win: 'x'}}, {id: 'GTM-yyyyyy', queryParams: {gtm_auth: 'abc234', gtm_preview: 'env-5', gtm_cookies_win: 'x'}}], // Your GTM single container ID or array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy']\r\n defer: false, // Script can be set to `defer` to speed up page load at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible). Defaults to false, so the script is loaded `async` by default\r\n compatibility: false, // Will add `async` and `defer` to the script tag to not block requests for old browsers that do not support `async`\r\n enabled: process.env.VUE_APP_ENABLE_GTM === 'true' ? true : false, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie (optional)\r\n debug: true, // Whether or not display console logs debugs (optional)\r\n })\r\n);\r\n\r\nconst pinia = createPinia();\r\npinia.use(({ store }) => {\r\n store.router = markRaw(router);\r\n});\r\n\r\napp.use(ElementPlus);\r\napp.use(pinia);\r\napp.use(head);\r\napp.use(router);\r\napp.use(Vue3Lottie, { name: 'Lottie' });\r\n\r\napp.mount(\"#app\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0,\n\t540: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkhiq\"] = self[\"webpackChunkhiq\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [495,158,855,475,308,540,367,842,950,325,512,670,229,190,80,634,364,707,860,949,24,786,636,302,922,262], function() { return __webpack_require__(6978); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["useMiscStore","defineStore","id","state","isLoading","isLoadingOverride","getDeepCopy","obj","JSON","parse","stringify","isQTEnabled","process","getQTLink","getQTMedia","formatPurchaseUrlURL","item","purchaseUrl","includes","url","getFallbackTyreImg","thumbnailImageError","event","target","dataset","srcError","src","formatVideoMedia","video","toLowerCase","search","replace","split","scrollTop","toScrollSelector","scrollIfAbove","offset","destination","document","querySelector","navBar","scrollOffset","offsetTop","offsetHeight","window","scrollY","setTimeout","scrollTo","CmsBaseUrl","MarkdownMediaSrcReplace","string","replaceAll","getDigit","input","match","getSizeFromString","size","sizeObj","sectionWidth","aspectRatio","rimSize","gtmDatalayerEvent","eventTitle","eventObj","objectName","Object","assign","dataLayer","push","uploadPath","formatTimeString","time","slice","join","formatTimeZone","date","Date","getTime","getTimezoneOffset","toISOString","thousandSeparator","num","parts","toFixed","toString","toKebabCase","coordinateVerification","store","isInvalid","undefined","latitude","longitude","handleError","error","displayMessage","console","log","miscStore","defaultError","errorMessage","prototype","hasOwnProperty","call","response","data","title","detail","errors","errorMessages","keys","length","arr","forEach","key","values","err","friendlyMessage","message","ElMessage","showClose","duration","grouping","dangerouslyUseHTMLString","handleInvalidForm","fields","field","getElementsByName","focus","disabledDate","today","minDate","setDate","getDate","tableResizeObserver","_this","debounce","fn","delay","self","timer","context","args","arguments","clearTimeout","apply","_ResizeObserver","ResizeObserver","constructor","callback","super","image","gql","banner","contentBlock","testimonial","promoCount","promotions","promotion","popup","popupbanner","articleCategory","articleList","article","newsCategory","newsList","newsArticle","valueAddedServicesList","valueAddedService","wheelBrand","wheelList","wheel","getImage","client","alias","Promise","resolve","query","variables","then","getBanner","returnBanner","bannerMainText","html","bannerSubtext","urls","mobileImage","getContentBlock","getTestimonial","isPromotionAvailable","filter","display","getPromotionList","getPromotion","getPopup","active","getPopupBanner","popUpBanner","getArticleCategory","resp","taxonomy","contentItems","getArticleList","getArticle","getNewsCategory","getNewsList","getNewsArticle","getValueAddedServicesList","getValueAddedService","getWheelBrands","getWheelList","brandSearch","list","reduce","filtered","brand","termContentItems","slug","thumbnailImage","displayText","link","name","params","getWheel","_hoisted_1","_defineComponent","__name","props","type","String","default","setup","__props","ref","altText","resolveClient","useApolloClient","ApolloClient","onMounted","async","res","value","watch","_ctx","_cache","_unref","_openBlock","_createElementBlock","class","alt","_createCommentVNode","__exports__","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","href","_hoisted_6","_createElementVNode","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","role","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","isShrink","lastScrollPosition","NAV","OFFSET","anim","isPromotion","navbarResize","Math","abs","addEventListener","clientHeight","onBeforeUnmount","removeEventListener","_component_router_link","_resolveComponent","_component_lottie","_normalizeClass","_createVNode","Image","to","_withCtx","_","onMouseover","$event","play","onMouseout","goToAndStop","ref_key","animationData","BuyNowIcon","autoPlay","loop","rendererSettings","className","_createTextVNode","_createStaticVNode","getVersionNumber","_createBlock","_toDisplayString","_renderSlot","$slots","script","render","imageObj","isPageTitle","Boolean","maxHeight","Number","isTextMaxWidth","enableFadein","bannerContainsText","bannerImageAlignment","bannerImageAltText","isDesktop","useMediaQuery","bannerAliasClass","isHideOverlay","style","_normalizeStyle","MainContainer","_resolveDynamicComponent","innerHTML","Banner","visible","isAbsolute","isFullScreen","classList","add","remove","fadeDelay","testimonials","Testimonial","breakpointTestimonial","itemsToShow","snapAlign","alignProperty","testimonialPrev","prev","testimonialNext","next","isEven","index","Spinner","_Fragment","onClick","Carousel","breakpoints","autoplay","_createSlots","_renderList","i","Slide","copy","rating","stars","jobTitle","slidesCount","Pagination","xSurface","VehicleQuickTyreEndpoint","formatUrl","request","manufacturer","vehicleModel","vehicleYear","vehicleId","URL","URLSearchParams","set","getVehicleManufacturers","reject","xhr","XMLHttpRequest","open","setRequestHeader","onload","responseText","status","resultData","onerror","statusText","send","getVehicleModels","vehicleManufacturer","getVehicleModelYears","getVehicleSpecifications","vehicleModelYear","getVehicleTyre","BASE_PATH","BaseAPI","basePath","axios","configuration","globalAxios","this","RequiredError","Error","msg","DUMMY_BASE_URL","assertParamExists","functionName","paramName","paramValue","setBearerAuthToObject","object","accessToken","setFlattenedQueryParams","urlSearchParams","parameter","Array","isArray","currentKey","has","append","setSearchParams","objects","searchParams","serializeDataIfNeeded","requestOptions","nonString","needsSerialization","isJsonMime","headers","toPathString","pathname","hash","createRequestFunction","axiosArgs","axiosRequestArgs","options","CampaignSubmissionsApiAxiosParamCreator","apiCampaignSubmissionPost","createCampaignSubmissionCommand","localVarPath","localVarUrlObj","baseOptions","localVarRequestOptions","method","localVarHeaderParameter","localVarQueryParameter","headersFromBaseOptions","CampaignSubmissionsApiFp","localVarAxiosParamCreator","localVarAxiosArgs","CampaignSubmissionsApi","ContactRequestsApiAxiosParamCreator","apiContactRequestPost","createContactRequestCommand","ContactRequestsApiFp","ContactRequestsApi","FleetContactRequestsApiAxiosParamCreator","apiFleetContactRequestPost","createFleetContactRequestCommand","FleetContactRequestsApiFp","FleetContactRequestsApi","FranchiseApplicationsApiAxiosParamCreator","apiFranchiseApplicationPost","createFranchiseApplicationCommand","FranchiseApplicationsApiFp","FranchiseApplicationsApi","QuoteRequestsApiAxiosParamCreator","apiQuoteRequestPost","createQuoteRequestCommand","QuoteRequestsApiFp","QuoteRequestsApi","StoresApiAxiosParamCreator","apiStoreGet","pageNo","pageSize","tradingName","regionName","city","apiStoresCitiesGet","region","apiStoresNearMeGet","apiStoresRegionsGet","StoresApiFp","StoresApi","TyreBrandsApiAxiosParamCreator","apiTyreBrandGet","TyreBrandsApiFp","TyreBrandsApi","TyreCategoriesApiAxiosParamCreator","apiTyreCategoryGet","TyreCategoriesApiFp","TyreCategoriesApi","TyreTreadPatternsApiAxiosParamCreator","apiTyreTreadPatternSlugGet","encodeURIComponent","TyreTreadPatternsApiFp","TyreTreadPatternsApi","TyresApiAxiosParamCreator","apiTyreGet","orderByDirection","orderByField","minimumPrice","maximumPrice","isRunFlat","tyreBrandIds","tyreCategoryIds","treadPatternId","isImperial","apiTyresAspectratiosSectionWidthGet","apiTyresRimsizesAspectRatioGet","apiTyresSectionwidthsGet","apiTyresTyresizesGet","searchTerm","TyresApiFp","TyresApi","VehicleManufacturersApiAxiosParamCreator","apiVehicleManufacturerGet","VehicleManufacturersApiFp","VehicleManufacturersApi","VehicleModelYearsApiAxiosParamCreator","apiVehicleModelYearVehicleModelIdGet","vehicleModelId","VehicleModelYearsApiFp","VehicleModelYearsApi","VehicleModelsApiAxiosParamCreator","apiVehicleModelVehicleManufacturerIdGet","vehicleManufacturerId","VehicleModelsApiFp","VehicleModelsApi","VehicleSpecificationsApiAxiosParamCreator","apiVehicleSpecificationVehicleModelYearIdGet","vehicleModelYearId","VehicleSpecificationsApiFp","VehicleSpecificationsApi","Configuration","apiKey","username","password","formDataCtor","param","mime","jsonMime","RegExp","test","globalConf","HIQAPI","ContactRequests","QuoteRequests","FranchiseRequests","FleetContactRequests","Stores","TyreBrands","TyreCategories","Tyres","TyreTreadPatterns","CampaignSubmissions","getTyres","pageNumber","catch","getTyreSectionWidths","sort","a","b","getTyreAspectRatios","getTyreRimSizes","getTyreSizes","getTyreTreadPatternBySlug","getTyreCatergories","getTyreBrands","listAspectRatio","listRimSize","listModels","listModelYear","model","listSpecification","modelYear","isClearable","emits","emit","route","useRoute","manufacturerDdl","modelDdl","modelYearDdl","specificationDdl","vehicleTyres","sectionWidthDdl","aspectRatioDdl","rimSizeDdl","tab","currentTyre","parsedTyre","currentVehicle","specification","currentVehicleName","year","vehicle_specification","tyre_size","imperialToggle","changeTab","update","getSectionWidth","getAspectRatio","getRimSize","getManufacturer","getModel","getModelYear","fetchAspectRatio","getElementById","click","fetchRimSize","fetchModels","fetchModelYear","fetchSpecification","vehicleRimSize","spec","find","wheels","front","tire","manu","fullName","selectVehicleTyre","tyre","onBeforeMount","change","_component_el_checkbox","_component_el_tooltip","_component_el_option","_component_el_select","_component_el_form_item","_component_el_alert","_component_el_button","_component_el_form","onSubmit","_withModifiers","checked","onChange","border","width","trigger","effect","content","prop","modelValue","autocomplete","filterable","clearable","placeholder","loading","label","disabled","closable","section_width","aspect_ratio","rim_size","tire_full","tabindex","onKeyup","_withKeys","showPopup","displayPopup","popupBanner","hasSeenPopup","sessionStorage","getItem","isMobile","computed","innerWidth","imageSrc","imageAlt","closePopup","setItem","_Transition","router","useRouter","serviceLinks","imageAlias","links","text","tyreSearchChange","rangeRoute","_component_el_dialog","_isRef","PopupBanner","HomeBanner","TyreSearch","onSearch","block","Testimonials","subtitle","blurb","buttonText","resourceList","resource","LearnMoreBlock","subtitleFirst","blockContent","isValidLink","isExternalLink","some","el","isAnchorLink","formatContactLink","getHtmlContent","markdownBody","imagePosition","contentBlockSubtitle","additionalContent","__typename","buttonList","buttons","linkMenuItem","loadInitail","contentBlockTitle","ContentBlockFlowpart","embedURL","ContentBlock","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","inchesToMillimeters","tyreDiameter","odTolerance","resultError","diameterMin","diameterMax","overallDiameter","sidewall","circumference","rimSizeUpdate","GetSidewall","GetOverallDiameter","ratio","rim","GetTyreODComparable","variance","PI","calculatorEvent","_component_el_input","min","minOD","maxOD","productsServicesList","productsServices","xmlns","viewBox","fill","d","isPricing","tyreBrandsDdl","tyreTypesDdl","orderByFields","minPrice","maxPrice","filterValues","tyrePrice","tyreBrands","tyreTypes","showFilters","displayFilters","marks","reactive","oldVal","newVal","priceRangeUpdate","getBrandUrl","brandFilter","toggleFilters","determineFilterVisibility","scrollHeight","navOffset","isLargeScreen","matchMedia","matches","_component_el_slider","_component_el_checkbox_group","_withDirectives","_vModelSelect","step","max","range","isGeneral","itemThumbnail","tyreTreadPattern","treadPatternMetas","meta","treadPatternMetaTypeId","formatTyreSizeQuery","warrantyImg","tyreBrand","category","tyreCategory","parentTyreCategoryTitle","onError","description","loadIndex","speedIndex","sku","price","sellOnSurface","tread","totalCount","pageCount","large","isSm","pagerCount","pagerChange","pageChange","page","_component_el_pagination","background","layout","total","onCurrentChange","treadPattern","formatRegion","formatTyreSizeUrl","formatQtUrl","formatRaqRoute","quickTyreEvent","routeParams","rangeType","tyreSize","ecommerce","currency","item_list_name","item_name","item_brand","items","onClose","$emit","footer","QtStores","stores","itemData","activeBrand","activeFilters","isResultsFade","purchaseTyre","formatTyreSizeDisplay","setCurrentTyre","sizeRes","brandUpdate","brands","filters","newBrand","testPageType","loadInitialData","listLoadEvent","scrollTyreResults","anchorClass","sortData","map","itemObj","selectEvent","isHideSkus","handlePageChange","paramSize","vehicleChange","tyreRange","brandRange","destinationRoute","destinationParams","qtRegionSelect","qtRegionClose","QTRegionDialog","onVehicleComplete","onClear","TyreSearchFilters","onFilter","onBrandChange","GenericRangeTile","onSelect","onQtTyreSelect","showScrollTop","dynamicDisplay","isDisplay","selected","hidden","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","required","initialLoad","SizeTable","searchSectionWidth","searchAspectRatio","searchRimSize","allTreadSizes","activeTab","facts","availableSizes","itemMeta","metaImageList","returnToRange","back","history","isPrev","backRoute","viewEvent","handleTabChange","tabName","resourseTab","sizeSearch","sizeString","treadId","orderTreadSize","currentSize","localeCompare","setupTreadSizes","DdlSW","treadSW","DdlAR","DdlRS","tableRowClassName","row","rowIndex","sizeSeg","_component_el_table_column","_component_el_table","_component_el_image","_component_el_tab_pane","_component_el_tabs","height","empty","align","fixed","QtStoreList","onTabChange","fit","frameborder","allow","referrerpolicy","allowfullscreen","getPromoUrl","bodyCopy","getPromoDuration","isSameYear","end","start","getFullYear","shortDate","month","day","fullDate","startDate","toLocaleDateString","endDate","getPromoIndicator","now","yesterday","clickPromotionEvent","additionalPromotionLink","PromotionThumbnail","getBannerUrl","promo","bannerImage","getBannerTextPosition","TextPosition","eventName","warn","getStoresCities","getStoresRegions","getStores","getStoresNearMe","provincesDdl","postContactRequest","success","firstName","surname","lastName","email","startQuoteRequest","postQuoteRequest","tel","phoneNumber","province","quoteRequestProducts","quoteRequestServices","postFranchiseForm","postFleetAccountRequest","companyName","industry","numberVehiclesInFleet","typesOfVehicles","geographicCoverage","postCampaignCapture","campaignTitle","selloutDate","claimedDate","numberOfTyres","amount","STATUS_INITIAL","STATUS_SAVING","STATUS_FAILED","buttonClass","multiple","uploadTo","onlyImages","onlyDocs","uploadButton","uploadInput","currentStatus","buttonDimensions","isInitial","isSaving","downloadPath","disableBtn","setHiddenInputDimensions","offsetWidth","handleFileName","file","deleteItem","hideImages","filesChange","files","formData","FormData","save","upload","x","img","relativePath","fileValidation","filePath","allowedExtensions","exec","action","enctype","novalidate","accept","marginTop","download","franchiseFormRef","recapthcaObject","formSubmitted","sellOutInvoiceRelativeUrl","googleRecaptchaResponse","regionsDdl","citiesDdl","storesDdl","rules","useReCaptcha","submitForm","formEl","validate","valid","recaptcha","token","executeRecaptcha","handleFileUpload","handleDeleteUpload","fetchCities","fetchStores","_component_el_date_picker","go","code","format","firstDayOfWeek","prepend","FileUploader","onUpload","onDelete","CampaignCaptureForm","contactFormRef","storeId","receiveFutureCommunications","onlyContactViaPhone","comments","pattern","cityInputTitle","storeInputTitle","maxlength","autosize","minRows","maxRows","ContactForm","requestQuoteFormRef","receiveInsurerCommunications","quantity","preferredContactMethods","vehicleManufacturersDdl","vehicleModelsDdl","vehicleYearsDdl","vehicleSpecificationsDdl","vehicleSpecification","tyreSizesDdl","checklistValues","services","product","productTyreBrandInfo","productTyreSizeInfo","productParam","formFocused","validateRequestProducts","rule","validatePreferredContactMethod","validateReceiveInsurerCommunications","validator","handleRaqFocusIn","preloadStore","skuId","productAdditionalTyreData","trim","additionalDetails","service","requestBody","filterTyreSize","handleSingleCheckboxValue","variableName","preload","focusOnFetch","setStores","fetchModelYears","fetchSpecifications","onFocusin","QuoteForm","isBusinessQuestion","idNumber","idDocumentRelativeUrl","noBuilding","noBuildingDescription","existingBuilding","existingBuildingDescription","existingBusiness","existingBusinessDescription","hasExperience","experienceDescription","financingDetails","radioSite","radioPremises","radioExistingBusiness","radioExperience","validateBusinessQuestions","_component_el_radio_button","_component_el_radio_group","FranchiseForm","toLocaleString","articles","getCategoryAlias","getIntroCopyAlias","getDefault","CurrentPage","SetPageObject","ceil","indexStart","indexEnd","setArticleList","tempList","ArticleListCategoryFilter","Search","returnList","UpdateSearch","UpdateCategory","activeCategoryBtn","articleFiltered","categoryId","termContentItemIds","currentList","contentItemId","onInput","newsArticles","newsArticleList","setnewsArticleList","newsArticleListCategoryFilter","publishDate","useHead","fleetAccountFormRef","preferredContactMethod","validateContactMethods","validateIndustry","validateRequestVehicles","validateGeographicCoverage","otherIndex","indexOf","FleetAccountForm","valueAddedServices","isSingleStore","storeList","loader","markerColours","primary","secondary","light","dark","markerOptions","path","fillColor","fillOpacity","strokeWeight","strokeColor","rotation","scale","mapMarkers","mapOptions","zoomControl","mapTypeControl","scaleControl","streetViewControl","rotateControl","fullscreenControl","minZoom","maxZoom","zoom","center","lat","lng","mapId","initMap","Loader","version","libraries","load","mapElement","storeListLat","storeListLong","google","maps","Map","createMapMarkers","lazyLoad","AdvancedMarkerElement","importLibrary","parser","DOMParser","validCoordinates","matched","marker","pin","parseFromString","documentElement","position","addListener","handleMarkerClick","centralise","bounds","LatLngBounds","extend","LatLng","zoomChangeBoundsListener","getZoom","initialZoom","setZoom","removeListener","fitBounds","findIndex","clickedStore","removeSpaces","StoreInfoCards","filterData","isLocationFilter","regionFilterFormat","cityFilterFormat","store_name","StoreSearch","routerObj","mapInteraction","getLocation","navigator","geolocation","getCurrentPosition","coords","regionCount","getRegionCount","abridgedStores","getStoreReduce","eventObject","regionResults","info","acc","physicalAddress1","physicalAddress2","physicalAddressCity","physicalAddressPostCode","telephoneNumber","whatsappBusinessNo","StoreMap","onMarkerClick","colspan","googleBusinessId","storeServices","storeTradingDays","isReview","numberOfReviews","locationBankClientId","validMap","excludedServices","media","storeAddressString","address","formatRegionRouter","regions","storeDataError","storeOptions","dayOfWeekNumber","$script","useScript","use","e","reviewsContainer","reviews","querySelectorAll","topReviewsContainer","clone","cloneNode","appendChild","fetchImages","mediaUrl","fetch","imagesData","json","dayOfWeek","dayOfWeekActive","openingTime","closingTime","questionObj","questions","activeIndex","nextText","isContinueActive","treeEnd","specSize","question","rate","formatTyreResults","formatObject","final","vehicleResp","model_year","startClass","productType","productTrees","getproductTreeKeys","setQuestionType","sendResults","result","DecisionTreeQuestions","onReturn","onComplete","formatTyreSize","productList","currentProduct","ProductLink","ProductLinkList","wheelBrands","WheelList","BestBuys2024Pricing","good","better","best","regionPrice","displayName","pricing","routes","component","HomeView","redirect","TyreResourcesView","WhenToChangeTyresView","WhatTyresAreRightView","WhatDoesOEMeanView","WhatTyresFitMyLifestyleView","CalculatorsView","TyreServicesView","TestimonialsView","WhatMakesUsDifferentView","TyreMarkingsView","WhereCanIGoView","GetAHiqCompanyAccountView","ValueAddedServicesListView","ValueAddedServicesView","WheelBalancingView","WheelAlignmentView","WheelRotationView","TyreRepairsView","TyreRangeView","TyreDetailView","ProductRangeView","BatteriesView","BrakesView","ExhaustsView","ShocksView","TowbarsView","WheelsView","WheelsBrandView","WheelsDetailView","StoreLocatorView","StoreDetailView","PromotionListView","PromotionDetailView","BestBuysView","BestBuysPricingView","CampaignCaptureView","ContactView","RequestQuoteView","BecomeAFranchiseApplicationView","DecisionTreeView","DecisionTreeResultsView","TechnicalArticleListView","TechnicalArticleView","NewsListView","NewsArticleView","CookiePolicyView","PrivacyPolicyView","TermsAndConditionsView","PageNotFoundView","createRouter","createWebHistory","scrollBehavior","from","savedPosition","fullPath","behavior","top","tyreRangeTest","seo","apolloClient","useHeadValues","titleTemplate","titleChunk","titleFormat","myPageHead","getMetaData","setMetaData","location","defaultTitle","defaultDescription","setDefaults","isPreprod","term","origin","property","rel","patch","useSeoMeta","ogType","ogDescription","ogTitle","ogImage","ogUrl","ogSiteName","ogLocale","twitterSite","twitterTitle","twitterDescription","twitterImage","getOgImage","openGraphImage","fallback","defaultSocialImage","getTwitterImage","sEO","seoMeta","ogImagePath","twitterImagePath","pageTitle","metaDescription","metaKeywords","metaRobots","canonical","googleSchema","prependString","currentRoute","WOW","init","wow","afterEach","navToggle","isNavExpanded","getAttribute","_component_router_view","Navbar","Footer","register","ready","registered","cached","updatefound","updated","offline","dayjs","en","weekStart","utc","timezone","cache","InMemoryCache","uri","app","createApp","provide","DefaultApolloClient","h","App","head","createHead","VueReCaptcha","siteKey","loaderOptions","useRecaptchaNet","autoHideBadge","createGtm","defer","compatibility","enabled","debug","pinia","createPinia","markRaw","ElementPlus","Vue3Lottie","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","m","amdO","deferred","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","getter","__esModule","definition","o","defineProperty","enumerable","get","g","globalThis","Function","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","bind","__webpack_exports__"],"sourceRoot":""}