(window.webpackJsonp=window.webpackJsonp||[]).push([[125],{1128:function(t,e,n){t.exports={}},1160:function(t,e,n){"use strict";n(1128)},1195:function(t,e,n){"use strict";n(15),n(35),n(25),n(59),n(4),n(14);var r=n(2),o=n(154),c=r.default.extend({name:"StoresMap2",props:{center:{type:Object,required:!0},stores:{type:Array,default:function(){return[]}},zoom:{type:Number,default:5}},data:function(){return{map:{}}},mounted:function(){this.injectWoosmapScript()},methods:{injectWoosmapScript:function(){var t=this,script=document.createElement("script");script.src="https://sdk.woosmap.com/map/map.js?key=".concat(this.$store.state.branch.postcodeApiKey,"&language=en"),script.async=!0,script.onload=function(){return t.initMap()},document.head.appendChild(script)},initMap:function(){this.map=new window.woosmap.map.Map(document.getElementById("map"),{center:this.center,zoom:this.zoom,styles:[{featureType:"poi",elementType:"all",stylers:[{visibility:"on"}]}]}),this.setMarkers()},setMarkers:function(){var t,e=this;(null===(t=this.stores)||void 0===t?void 0:t.length)&&this.stores.forEach((function(t){var marker=function(t,e){return new window.woosmap.map.Marker({position:{lat:t.geolocation.latitude,lng:t.geolocation.longitude},icon:{url:Object(o.a)("icons/circle-marker.svg",e),scaledSize:{height:16,width:16}}})}(t,e.$config);marker.setMap(e.map),e.setMarkerInfoWindow(marker,t)}))},setMarkerInfoWindow:function(marker,t){var e=this,n=new window.woosmap.map.InfoWindow({}),content='<Strong class="text-[16px] mb-6">'.concat(t.name,'</Strong><p class="text-[14px]">').concat(t.details,"</p>");n.setContent(content),n.maxWidth="300",marker.addListener("mouseover",(function(){n.open(e.map,marker)})),marker.addListener("mouseout",(function(){n.close()}))}}}),l=n(1),component=Object(l.a)(c,(function(){var t=this;t._self._c,t._self._setupProxy;return t._m(0)}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"border-1 col-span-12 sm:max-md:col-span-6 md:col-span-6 lg:col-span-7 order-2 lg:order-3"},[t("div",{staticClass:"w-full h-full",attrs:{id:"map-container"}},[t("div",{staticClass:"min-h-[460px] sm:min-h-[546px]",staticStyle:{width:"100%",height:"100%"},attrs:{id:"map"}})])])}],!1,null,null,null);e.a=component.exports},1196:function(t,e,n){"use strict";n(17),n(65),n(26),n(305),n(12),n(18),n(19),n(13),n(14);var r=n(139),o=n.n(r),c=n(0),l=n(21),d=n.n(l),f=n(3),h=(n(9),n(4),n(2)),m=n(5),v=n(311),y=n(154),x=function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n={lat:null,lng:null},!e.geolocation){t.next=5;break}return r=new Promise((function(t,n){e.geolocation.getCurrentPosition(t,n)})),t.next=5,r.then((function(t){(null==t?void 0:t.coords)&&(n={lat:t.coords.latitude,lng:t.coords.longitude})})).catch((function(){}));case 5:return t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),O=n(416),w=n(24);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){Object(f.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var k=h.default.extend({name:"StoreFinder",components:{MarkerIcon:w.MarkerIcon},props:{locationEnabled:{type:Boolean,required:!0}},data:function(){return{query:"",showSuggestions:!1,suggestionsLoading:!0}},computed:j(j({},Object(m.c)("branch",["nearestBranches","selectedLocality"])),{},{disabled:function(){return d()(this.query)}}),mounted:function(){this.getMyLocationClicked()},methods:j(j({fromToolstationCdnUrl:y.a},Object(m.d)("branch",["setNearestBranches","setSelectedLocality"])),{},{search:function(){var t,e,n,r=this;this.suggestionsLoading=!0,Object(v.b)(null===(n=null===(e=null===(t=this.$store)||void 0===t?void 0:t.state)||void 0===e?void 0:e.branch)||void 0===n?void 0:n.postcodeApiKey,this.query,this.$config.localeInstance).then((function(t){r.setNearestBranches(t.localities)})).catch((function(t){console.error(t)})).finally((function(){r.suggestionsLoading=!1}))},localityOptionSelected:function(t){this.query=t.description,this.setSelectedLocality(t),this.findBranch(),this.showSuggestions=!1},findBranch:function(){this.localitySelected(this.selectedLocality)},getMyLocationClicked:function(){var t=this;return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.query="",e.next=3,x(navigator);case 3:if((n=e.sent).lat&&n.lng){e.next=7;break}return t.$emit("toggleLocationWarning",!0),e.abrupt("return");case 7:r={latitude:n.lat,longitude:n.lng},Object(O.d)(t.$axios,r).then((function(e){return t.$emit("nearesetBranchesUpdated",e.data,n)})),t.$emit("toggleLocationWarning",!1);case 10:case"end":return e.stop()}}),e)})))()},localitySelected:function(t){var e=this;return Object(c.a)(regeneratorRuntime.mark((function n(){var r,c,l,d,f,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.public_id,n.next=3,Object(v.a)(null===(d=null===(l=null===(c=e.$store)||void 0===c?void 0:c.state)||void 0===l?void 0:l.branch)||void 0===d?void 0:d.postcodeApiKey,r).catch(o()(null));case 3:if(null==(f=n.sent)?void 0:f.geometry){n.next=6;break}return n.abrupt("return");case 6:h={latitude:f.geometry.location.lat,longitude:f.geometry.location.lng},Object(O.d)(e.$axios,h).then((function(t){return e.$emit("nearesetBranchesUpdated",t.data,f.geometry.location)}));case 8:case"end":return n.stop()}}),n)})))()}})}),S=(n(1160),n(1)),component=Object(S.a)(k,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"mb-0 text-blue"},[e("h4",{staticClass:"font-bold text-blue text-size-6 mb-4 store-finder-heading text-left"},[t._v("\n "+t._s(t.$tc("branch.storeFinderHeading"))+"\n ")]),t._v(" "),e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){return t.showSuggestions=!1},expression:"() => (showSuggestions = false)"}],staticClass:"flex flex-col relative"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"px-2 py-2 w-full placeholder-blue text-sm bg-grey-2 border border-grey-4 text-blue text-[16px] rounded-lg relative",class:{"!rounded-bl-none !rounded-br-none":t.showSuggestions&&t.nearestBranches.length},attrs:{id:"address",type:"text","data-testid":"stores-finder-input",placeholder:t.$tc("branch.postcodeInputPlaceholder"),required:""},domProps:{value:t.query},on:{input:[function(e){e.target.composing||(t.query=e.target.value)},t.search],focus:function(e){t.showSuggestions=!0}}}),t._v(" "),e("button",{staticClass:"text-[14px] font-semibold h-max flex items-center mt-2",class:{"opacity-20":!t.locationEnabled},attrs:{disabled:!t.locationEnabled},on:{click:function(e){return e.preventDefault(),t.getMyLocationClicked.apply(null,arguments)}}},[e("img",{staticClass:"w-4 h-4 mr-1",attrs:{src:t.fromToolstationCdnUrl("icons/location-crosshairs-solid.svg",t.$config),alt:"location-crosshairs-solid-icon","data-testid":"location-crosshairs-solid-icon",loading:"lazy"}}),t._v(" "),e("span",{staticClass:"use-current-location-text"},[t._v("\n "+t._s(t.$tc("branch.useMyCurrentLocation"))+"\n ")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.nearestBranches.length&&t.showSuggestions?e("ul",{staticClass:"w-full absolute top-[39px] bg-white p-1 border-2 rounded-tl-none rounded-tr-none z-30 rounded-xl max-h-[200px] overflow-y-auto shadow-md"},[t._l(t.nearestBranches,(function(n,r){return[e("li",{key:r,staticClass:"flex items-center gap-1 text-left text-sm p-1 w-full cursor-pointer hover:bg-blue-10 border-1 border-white hover:border-grey-3 rounded-md",attrs:{tabindex:"0"},on:{click:function(e){return t.localityOptionSelected(n)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.localityOptionSelected(n)}}},[e("MarkerIcon",{attrs:{classes:"shrink-0"}}),t._v(" "),e("a",{staticClass:"text-left text-[14px]"},[t._v("\n "+t._s(n.description)+"\n ")])],1)]}))],2):!t.nearestBranches.length&&t.showSuggestions&&t.query&&!t.suggestionsLoading?e("div",{staticClass:"w-full absolute top-[39px] bg-white p-6 border-2 rounded-tl-none rounded-tr-none z-30 rounded-xl max-h-[200px] overflow-y-auto shadow-md text-size-4 text-center",domProps:{innerHTML:t._s(t.$t("branch.noResultsMessage",{query:t.query}))}}):t._e()])],1)])}),[],!1,null,"52b2e9cb",null);e.a=component.exports},1203:function(t,e,n){"use strict";n(25),n(17),n(12),n(18),n(19),n(13),n(4),n(14);var r=n(0),o=n(3),c=(n(9),n(35),n(2)),l=n(5),d=n(310),f=n(61),h=n(24);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y=c.default.extend({name:"StoresList",components:{DefaultButton:f.a,CheckIcon:h.CheckIcon,XMarkIcon:h.XMarkIcon,LoadingSpinnerIcon:h.LoadingSpinnerIcon},props:{stores:{type:Array,required:!0},productCode:{type:String,required:!1,default:""},buttonText:{type:String,required:!1,default:""}},data:function(){return{fetchingStock:!0}},computed:v(v({},Object(l.c)("branch",["selectedBranchId"])),Object(l.c)("stock",["stockForCollection"])),watch:{stores:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(""!==e.productCode){n.next=2;break}return n.abrupt("return");case 2:return e.fetchingStock=!0,n.next=5,e.$store.dispatch("stock/getStockForSites",{axios:e.$axios,products:[e.productCode],sites:t.map((function(t){return t.id}))});case 5:e.fetchingStock=!1;case 6:case"end":return n.stop()}}),n)})))()}},methods:v(v({},Object(l.b)("branch",["setStore"])),{},{branchSlug:function(t){return"/branches/".concat(Object(d.a)(t))},stockMessage:function(t){return""!==this.productCode&&this.productCode?this.fetchingStock?this.$t("branch.loadingStock"):this.hasStock(t)?"".concat(this.$t("branch.inStockTodayIn",{qty:this.stockForCollection(this.productCode,t)})):this.$t("branch.outOfStock"):""},hasStock:function(t){if(!this.productCode)return!1;var e=this.stockForCollection(this.productCode,t);return"0"!==e||null===e}})}),x=n(1),component=Object(x.a)(y,(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.stores.length?e("div",{staticClass:"text-blue"},[e("h4",{staticClass:"font-bold text-blue text-size-6 mt-7 mb-3 text-left"},[t._v("\n "+t._s(t.$tc("branch.storeListHeading"))+"\n ")]),t._v(" "),e("div",{staticClass:"overflow-y-auto h-[350px]"},t._l(t.stores,(function(n,r){return e("div",{key:r,staticClass:"border-1 p-4 relative",class:r+1===t.stores.length?"":"border-b-0",attrs:{"data-testid":"store-list"}},[e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"w-full text-left flex gap-3 items-start justify-between mb-2 md:mb-0",class:{"!mb-2":!t.stockMessage(n.id)}},[e("Nuxt-Link",{staticClass:"font-semibold cursor-pointer hover:underline",attrs:{to:t.branchSlug(n.name)}},[t._v("\n "+t._s(n.name)+"\n ")]),t._v(" "),t.stockMessage(n.id)?e("div",{staticClass:"p-2 text-[1.3rem] md:text-size-4 font-semibold shrink-0 bg-grey-1 rounded-md flex items-center gap-2"},[e(t.fetchingStock?"LoadingSpinnerIcon":t.hasStock(n.id)?"CheckIcon":"XMarkIcon",{tag:"component",attrs:{size:"sm",classes:"text-size-4 rounded-full w-5 h-5 text-white p-1 shrink-0 ".concat(t.fetchingStock?"bg-blue":t.hasStock(n.id)?"bg-green-300":"bg-red-error")}}),t._v("\n "+t._s(t.stockMessage(n.id))+"\n ")],1):e("Nuxt-Link",{staticClass:"underline text-size-2 md_lg:text-size-4 cursor-pointer",attrs:{to:t.branchSlug(n.name)}},[t._v("\n "+t._s(t.$tc("branch.seeMore"))+"\n ")])],1),t._v(" "),e("div",{staticClass:"w-full md:w-2/3 text-[13px] text-left"},[e("p",[t._v("\n "+t._s(n.address_text)+"\n ")])]),t._v(" "),e("div",[e("DefaultButton",{staticClass:"!w-full md:!max-w-[250px] mt-5",attrs:{variant:"primary",disabled:t.selectedBranchId===n.id||""!==t.productCode&&(!t.hasStock(n.id)||t.fetchingStock),size:"small"},on:{clickAction:function(e){t.setStore(n),t.$emit("storeSelected")}}},[t._v("\n "+t._s(t.buttonText?t.buttonText:t.selectedBranchId===n.id?t.$tc("branch.currentlyFavStore"):t.$tc("branch.setStore"))+"\n ")])],1)])])})),0)]):t._e()}),[],!1,null,null,null);e.a=component.exports},1209:function(t,e,n){t.exports={}},1324:function(t,e,n){"use strict";n(1209)},1501:function(t,e,n){"use strict";n.r(e);var r=n(0),o=(n(9),n(2)),c=n(416),l=n(408),d=(n(17),n(12),n(18),n(19),n(13),n(4),n(14),n(3)),f=n(5),h=n(1196),m=n(1203);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(d.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var x={name:"AtoZSelector",props:{allBranches:{type:Object,default:function(){}}},computed:y({},Object(f.c)("branch",["selectedBranchLetter"])),methods:y(y({},Object(f.d)("branch",["setSelectedBranchLetter"])),{},{branchLetterSelected:function(t){this.setSelectedBranchLetter(t)}})},O=(n(1324),n(1)),w=Object(O.a)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-span-12 mt-3 order-2 lg:order-3 mb-6"},[e("h4",{staticClass:"font-bold text-blue text-size-6 my-4"},[t._v("\n "+t._s(t.$tc("branch.branchSelectorHeading"))+"\n ")]),t._v(" "),e("ul",{staticClass:"a-z"},[e("li",[e("a",{staticClass:"a-z__item",class:{"a-z__item--selected":"All"===t.selectedBranchLetter},attrs:{"data-testid":"branch-list-letter-all",href:"#"},on:{click:function(e){return e.preventDefault(),t.branchLetterSelected("All")}}},[t._v("\n "+t._s(t.$tc("branch.all"))+"\n ")])]),t._v(" "),t._l(t.allBranches,(function(n,r){return e("li",{key:r},[e("a",{staticClass:"a-z__item",class:{"a-z__item--selected":t.selectedBranchLetter===r},attrs:{"data-testid":"branch-list-letter-"+r,href:"#"},on:{click:function(e){return e.preventDefault(),t.branchLetterSelected(r)}}},[t._v("\n "+t._s(r)+"\n ")])])}))],2)])}),[],!1,null,"5c160f50",null).exports,_=(n(25),n(310));function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var k=o.default.extend({name:"BranchesList",props:{allBranches:{type:Object,default:function(){}}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){Object(d.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(f.c)("branch",["selectedBranchLetter"])),methods:{branchSlug:function(t){return"/branches/".concat(Object(_.a)(t))}}}),S=k,C=Object(O.a)(S,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[t._l(t.allBranches,(function(n,r){return[t.selectedBranchLetter===r||"All"===t.selectedBranchLetter?e("div",{key:r,staticClass:"col-span-12 border-1 border-grey-3 border-l-0 border-r-0 order-last pt-6 pb-4"},[e("h5",{staticClass:"font-bold text-blue text-size-6 mb-3"},[t._v(t._s(r))]),t._v(" "),e("ul",{staticClass:"grid grid-cols-4"},t._l(n,(function(n){return e("li",{key:n.id,staticClass:"col-span-4 sm:col-span-2 md:col-span-1"},[e("nuxt-link",{staticClass:"text-blue hover:underline",attrs:{to:t.branchSlug(n.name),"data-testid":"branch-id-"+n.id}},[t._v("\n "+t._s(n.name)+"\n ")]),t._v(" "),n.status?t._e():e("span",[t._v("\n -\n "),e("span",{staticClass:"text-red-error"},[t._v(t._s(t.$t("branch.comingSoon")))])])],1)})),0)]):t._e()]}))],2)}),[],!1,null,null,null).exports,P=n(1195),L=n(103);function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){Object(d.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $=o.default.extend({name:"StoreLocator",components:{StoresMap:P.a,BranchesList:C,AtoZSelector:w,StoresList:m.a,StoreFinder:h.a},props:{allBranches:{type:Object,default:function(){}}},data:function(){return{locationWarning:!1,domainName:"",stores:[],storeMapKey:0,mapCenter:{},mapZoom:5}},fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(L.a)(t.$config.localeInstance);case 2:n=e.sent,t.mapCenter=n.defaultMapCenter,t.mapZoom=n.defaultMapZoom;case 5:case"end":return e.stop()}}),e)})))()},methods:M(M({},Object(f.d)("branch",["setNearestBranches"])),{},{resetMap:function(t,e,n){this.stores=t,this.mapCenter=e,this.mapZoom=n,this.storeMapKey++}})}),D=Object(O.a)($,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[t.locationWarning?e("div",{staticClass:"mb-4",attrs:{"data-testid":"location-warning-message"}},[e("p",{staticClass:"w-full bg-legacy-yellow-100 border border-l-8 border-yellow px-6 py-4 text-legacy-yellow-200 text-left",domProps:{innerHTML:t._s(t.$tc("setBranch.locationWarningText",0,{domain:t.domainName}))}})]):t._e(),t._v(" "),e("div",{staticClass:"w-full bg-white text-blue flex flex-col gap-6"},[e("div",{staticClass:"grid grid-cols-12 grid-flow-row auto-rows-max sm:gap-x-10"},[e("div",{staticClass:"col-span-12 sm:max-md:col-span-6 md:col-span-6 lg:col-span-5 order-1 md:order-1 mb-4 md:mb-0"},[e("StoreFinder",{attrs:{"location-enabled":!t.locationWarning},on:{toggleLocationWarning:function(e){return t.locationWarning=e},nearesetBranchesUpdated:function(e,n){return t.resetMap(e,n,10)}}}),t._v(" "),e("StoresList",{attrs:{stores:t.stores}}),t._v(" "),e("AtoZSelector",{staticClass:"hidden md:block mt-9 md:mt-15 lg:mt-[120px]",attrs:{"all-branches":t.allBranches}})],1),t._v(" "),t.mapCenter.lat&&t.mapCenter.lng?e("StoresMap",{key:t.storeMapKey,attrs:{center:t.mapCenter,zoom:t.mapZoom,stores:t.stores}}):t._e(),t._v(" "),e("AtoZSelector",{staticClass:"block md:hidden mt-9 md:mt-15 lg:mt-[120px]",attrs:{"all-branches":t.allBranches}})],1),t._v(" "),e("BranchesList",{attrs:{"all-branches":t.allBranches}})],1)])}),[],!1,null,null,null).exports,z=o.default.extend({name:"BranchesPage",components:{StoreLocator:D,Panel:l.a},asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$axios,e.next=3,Object(c.a)(n).catch((function(){return[]}));case 3:return e.t0=e.sent,e.abrupt("return",{allBranches:e.t0});case 5:case"end":return e.stop()}}),e)})))()},head:function(){return{title:this.$t("branch.storeLocator"),meta:[{hid:"description",name:"description",content:this.$tc("branch.storeLocatorDescription")}]}}}),I=Object(O.a)(z,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"lg:content-container"},[e("h1",{staticClass:"header-text ml-4"},[t._v("\n "+t._s(t.$tc("branch.storeLocator"))+"\n ")]),t._v(" "),e("Panel",[e("StoreLocator",{attrs:{"all-branches":t.allBranches}})],1)],1)}),[],!1,null,null,null);e.default=I.exports}}]); //# sourceMappingURL=index.48fbe13ec10b96d2c105.js.map