1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CpkCsQ4J.js","./DJAw_iMb.js","./DzmMXjjF.js","./CVVoO8Cm.js","./Cdyewept.js","./DMafrwxq.js","./RichText.Av3amPsV.css","./BQn5VO3H.js","./BDlKsl4J.js","./DdSPAO-K.js","./CfQcPf88.js","./D0MrgONB.js","./DJrCJANg.js","./_KX8eI1t.js","./C_RBi3Co.js","./BZPLvFJg.js"])))=>i.map(i=>d[i]); 2import{d as x,ac as k,K as E,o as l,c as r,D as B,r as D,e as t,g as a,_ as F,O as c,a7 as z,f as I,a8 as O,a9 as K,af as N,ag as W}from"./DzmMXjjF.js";import{u as b}from"./C_RBi3Co.js";import{u as j}from"./OSRsk1NA.js";import{i as d}from"./DgIWC6N3.js";import{L as M}from"./86TBCSdQ.js";const Q=N(()=>W(()=>import("./CpkCsQ4J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url).then(e=>e.default||e)),U={class:"page-grid-small vertical-spacing-enabled"},X=x({__name:"LocationSearch",props:{previewId:{},locationSectionViewRemote:{},locationTypeForCommercialVehiclesRemote:{},locationTypesRemote:{},locationsWithoutType:{type:Boolean},locationTagsRemote:{},primaryCta:{},otherCta1:{},otherCta2:{}},async setup(e){let i,m;const f=k(),g=a(()=>f.settings.google_maps),T=a(()=>({primary:e.primaryCta,other1:e.otherCta1,other2:e.otherCta2})),{data:w}=([i,m]=E(async()=>b(j(e.previewId),async()=>{const o=c({references:e.locationSectionViewRemote,single:!0}),h=c({references:e.locationTypeForCommercialVehiclesRemote,single:!0}),n=c({references:e.locationTypesRemote}),s=c({references:e.locationTagsRemote}),u=await Promise.allSettled([o,h,n,s]);z(u,O,I("StLocationSearch.useAsyncData"),"Error while fetching location data.");const[R,A,L,P]=K(u);return{locationSectionView:R,locationTypeComVehicles:A,locationTypes:L,locationTags:P}},"$E_7g-ETSQU")),i=await i,m(),i),{locationSectionView:p,locationTypeComVehicles:_,locationTypes:y,locationTags:C}=w.value??{},S=a(()=>g.value&&p),v=a(()=>C?.map(o=>o.name).filter(d)??[]),V=a(()=>y?.map(o=>o.id).filter(d)??[]);return(o,h)=>{const n=Q,s=F;return l(),r(s,null,{default:B(()=>[D("section",U,[t(S)?(l(),r(t(M),{key:0,class:"grid-inside",view:t(p),"location-type-com-vehicles":t(_),"location-types":t(y),"show-locations-without-type":e.locationsWithoutType,ctas:t(T),"tag-filters":t(v),"pre-filters":t(V)},null,8,["view","location-type-com-vehicles","location-types","show-locations-without-type","ctas","tag-filters","pre-filters"])):(l(),r(n,{key:1,class:"grid-inside"}))])]),_:1})}}});
2export{X as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.