1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DDcPVltn.js","./3_EOT1i1.js","./CuZ_GiUH.js","./Dc6xNxwe.js","./D2XzVb-v.js","./RichText.Av3amPsV.css","./DTp-nYke.js","./DZVznJn2.js","./hyMhP2mm.js","./B6CxOD56.js","./7ZBoanV9.js","./CMG6pW6p.js","./CLbPRYAK.js","./CwUJzIyV.js","./3BoV2WoY.js"])))=>i.map(i=>d[i]); 2import{d as Q,ar as N,o as f,k as P,r as h,z as F,e as t,A as u,G as ne,c as V,B as T,au as re,g as c,ag as R,ah as U,J as ce,ab as ue,C as de,aU as C,ae as q,af as J,D as H,H as ve,F as _e,v as pe,_ as me,as as be,E as r,bB as y,by as fe,bz as ge}from"./D2XzVb-v.js";import{_ as ye}from"./DzRM0Dx2.js";import{_ as he}from"./hyMhP2mm.js";import{_ as Se}from"./Bod_4MHu.js";import{_ as Oe}from"./cWB7dew-.js";import{u as we}from"./EPSUKbo2.js";import{d as Le}from"./BYTRu-Av.js";import{w as je}from"./YZu9EfZB.js";import"./CLbPRYAK.js";import"./DgIWC6N3.js";import"./Dw1S95w5.js";import"./BVF68Bq7.js";import"./Dvw7aWTN.js";import"./Dp9ZXHik.js";import"./CuZ_GiUH.js";import"./Dc6xNxwe.js";import"./Cd4l9NEK.js";import"./CJYuMBAa.js";import"./ReH2LqOl.js";import"./0Hy8rO09.js";import"./BAWWjwKs.js";import"./oaYBcraa.js";import"./o9DGxk6T.js";import"./DdSPAO-K.js";const Fe=R(()=>U(()=>import("./DDcPVltn.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(l=>l.default||l)),Ie=R(()=>U(()=>import("./DTp-nYke.js"),__vite__mapDeps([6,7,8,4,9,10,11,12]),import.meta.url).then(l=>l.default||l)),Be={class:"flex flex-col gap-4"},ke={class:"flex justify-between items-center mt-10"},xe={class:"text-base font-bold flex items-center gap-2"},De={class:"flex gap-6 items-start"},Ve=Q({__name:"FilterPanel",props:re({targetGroup:{},showIndustry:{type:Boolean},serviceObjectOptions:{default:()=>[]},serviceDivisionOptions:{default:()=>[]},industryOptions:{default:()=>[]}},{"selected-service-division":{default:null},"selected-service-divisionModifiers":{},"selected-service-object":{default:null},"selected-service-objectModifiers":{},"selected-industry":{default:null},"selected-industryModifiers":{}}),emits:["update:selected-service-division","update:selected-service-object","update:selected-industry"],setup(l){const S=N(l,"selected-service-division"),O=N(l,"selected-service-object"),w=N(l,"selected-industry"),z=c(()=>l.targetGroup==="B2B"),L=c(()=>l.targetGroup==="B2C"),n=c(()=>({label:u("all_label"),value:"__all__"})),a=c(()=>[n.value,...l.serviceDivisionOptions]),I=c(()=>[n.value,...l.serviceObjectOptions]),b=c(()=>[n.value,...l.industryOptions]),g=(i,p)=>{p.value==="__all__"?i.value=null:i.value=p},B=i=>g(O,i),k=i=>g(S,i),x=i=>g(w,i),d=c(()=>S.value?S.value:a.value[0]),v=c(()=>O.value?O.value:I.value[0]),_=c(()=>w.value?w.value:b.value[0]);return(i,p)=>{const A=he,D=Fe,$=Ie;return f(),P("div",Be,[h("div",ke,[h("div",xe,[F(A,{icon:"bars-filter",type:"solid"}),F(D,{label:("globalLabel"in i?i.globalLabel:t(u))("filters_label")},null,8,["label"])]),ne(i.$slots,"default")]),h("div",De,[t(z)&&t(a).length>1?(f(),V($,{key:0,label:("globalLabel"in i?i.globalLabel:t(u))("service_division_label"),option:t(d),options:t(a),onSelect:p[0]||(p[0]=j=>k(j))},null,8,["label","option","options"])):T("",!0),t(L)&&t(I).length>1?(f(),V($,{key:1,label:("globalLabel"in i?i.globalLabel:t(u))("service_object_label"),option:t(v),options:t(I),onSelect:p[1]||(p[1]=j=>B(j))},null,8,["label","option","options"])):T("",!0),t(z)&&l.showIndustry&&t(b).length>1?(f(),V($,{key:2,label:("globalLabel"in i?i.globalLabel:t(u))("industry_label"),option:t(_),options:t(b),onSelect:p[2]||(p[2]=j=>x(j))},null,8,["label","option","options"])):T("",!0)])])}}}),$e=R(()=>U(()=>import("./DDcPVltn.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(l=>l.default||l)),Ge=R(()=>U(()=>import("./CwUJzIyV.js"),__vite__mapDeps([13,14,4]),import.meta.url).then(l=>l.default||l)),Te={class:"page-grid-small"},ze={class:"grid-inside flex flex-col"},Ae={key:0,class:"text-base font-bold mt-10"},Ce={class:"page-grid-wide mt-6"},Pe={class:"grid-inside flex justify-center mt-12"},Re=Q({__name:"Service",props:{targetGroup:{},showIndustry:{type:Boolean}},setup(l){const S=c(()=>l.targetGroup==="B2B"?"qb2b":"qb2c"),O=be(),w=ce(),{search:z}=we(O.public.preparedSearchServiceOverview,w.currentLocale.id),L=r(!1),n=r(!1),a=r(""),I=r(""),b=r(0),g=r([]),B=r([]),k=r([]),x=r([]),d=r(null),v=r(null),_=r(null),i=e=>({value:e,label:e}
2),p=e=>{const s=e.find(m=>m.name==="ORIGINAL"),G={url:s?.url??"",width:s?.width??0,height:s?.height??0,fileSize:+(s?.fileSize??"0"),extension:s?.extension??""};return{type:"Image",id:"mock",previewId:"mock",fileName:"mock",meta:{},original:G,resolutions:e.filter(m=>m.name!=="ORIGINAL").map(m=>[m.width,m.height,{url:m.url,extension:m.extension,fileSize:+(m.fileSize??"0")}])}},A=e=>{const s=fe(e.image);return{headline:e.headline,description:e.text,image:Le(p(s.resolutions),{altText:e.imageAlt,title:e.imageAlt,decorative:ge(e.imageDecorative)}),link:{label:u("services_details_label"),to:e.link}}};let D=1;const $=()=>{D=1,a.value="",b.value=0,g.value=[],y("q",void 0),y("service-object",void 0),y("service-division",void 0),y("industry",void 0),d.value=null,v.value=null,_.value=null,E("")},j=e=>{y(S.value,e),y("service-object",d.value?.label??""),y("service-division",v.value?.label??""),y("industry",_.value?.label??"")},K=e=>{j(e),E(e)},W=()=>z({searchQuery:a.value||"*",page:D,rows:12,fields:["link",{headline:"FS_pt_headline"},{text:"FS_pt_service___tt_teaser_text"},{image:"FS_pt_service___tt_teaser_image"},{imageDecorative:"FS_pt_service___tt_teaser_image_decorative"},{imageAlt:"FS_pt_service___tt_teaser_image_alt_text"},{templateUid:"FS_pt_service___schema_uid_facet_string"}],filters:{FS_project_uuid:O.public.projectId,FS_template_uid:"pt_service_page",FS_pt_target_group:l.targetGroup,FS_pt_filter_service_object:d.value?.label??"",FS_pt_filter_service_division:v.value?.label??"",FS_pt_filter_industry:_.value?.label??""}}),E=async e=>{if(n.value)return;n.value=!0,a.value=e?.trim()??"",D=1;const s=await W();b.value=s.total,g.value=s.results.map(A),B.value=s.filterValues.FS_pt_filter_service_division.sort().map(i),k.value=s.filterValues.FS_pt_filter_service_object.sort().map(i),x.value=s.filterValues.FS_pt_filter_industry.sort().map(i),I.value=a.value,n.value=!1},X=async()=>{if(n.value)return;n.value=!0,D++;const e=await je(W()),s=e.results.map(A);g.value.push(...s),b.value=e.total,B.value=e.filterValues.FS_pt_filter_service_division.sort().map(i),k.value=e.filterValues.FS_pt_filter_service_object.sort().map(i),x.value=e.filterValues.FS_pt_filter_industry.sort().map(i),n.value=!1},M=(e,s,G)=>{e&&(s.value.push(i(e)),G.value=s.value.at(0)??null)},Y=()=>{const e=new URLSearchParams(window.location.search);a.value=e.get(S.value)??"",M(e.get("service-division"),B,v),M(e.get("service-object"),k,d),M(e.get("industry"),x,_)};ue(async()=>{Y(),await E(a.value),L.value=!0}),de([v,d,_],()=>K(a.value));const Z=c(()=>L.value&&(I.value!==""||_.value!==null||v.value!==null||d.value!==null)),ee=c(()=>{switch(b.value){case 0:return u("no_search_results_found_label");case 1:return`1 ${u("result_label")}`;default:return`${b.value} ${u("results_label")}`}});return(e,s)=>{const G=ye,m=$e,te=Ve,le=Se,se=Ge,ie=Oe,ae=me;return f(),P("section",null,[h("div",Te,[h("div",ze,[F(G,{modelValue:t(a),"onUpdate:modelValue":s[0]||(s[0]=o=>C(a)?a.value=o:null),"input-placeholder":("globalLabel"in e?e.globalLabel:t(u))("searchfield_label"),onSearch:K},null,8,["modelValue","input-placeholder"]),q(F(te,{"selected-service-division":t(v),"onUpdate:selectedServiceDivision":s[1]||(s[1]=o=>C(v)?v.value=o:null),"selected-service-object":t(d),"onUpdate:selectedServiceObject":s[2]||(s[2]=o=>C(d)?d.value=o:null),"selected-industry":t(_),"onUpdate:selectedIndustry":s[3]||(s[3]=o=>C(_)?_.value=o:null),"target-group":l.targetGroup,"show-industry":l.showIndustry,"service-division-options":t(B),"service-object-options":t(k),"industry-options":t(x)},{default:H(()=>[q(h("button",{class:"text-gray-60 focus:outline-none self-end underline cursor-pointer",onClick:$},[F(m,{label:("globalLabel"in e?e.globalLabel:t(u))("reset_search_label")},null,8,["label"])],512),[[J,t(Z)]])]),_:1},8,["selected-service-division","selected-service-object","selected-industry","target-group","show-industry","service-division-options","service-object-options","industry-options"]),[[J,t(L)]]),t(L)?(f(),P("p",Ae,ve(t(ee)),1)):T("",!0)])]),F(ae,null,{default:H(()=>[q(h("div",Ce,[F(se,{class:"grid-inside",gap:"gap-4 md:gap-6",justify:"justify-center"},{default:H(()=>[(f(!0),P(_e,null,pe(t(g),(o,oe)=>(f(),V(le,{key:`${o.headline}-${oe}`,headline:o.headline,description:o.description,image:o.image,link:o.link,
2class:"max-w-full basis-full sm:basis-[calc(50%-12px)] md:basis-[calc(100%/3-16px)] lg:basis-[calc(25%-18px)]"},null,8,["headline","description","image","link"]))),128))]),_:1}),h("div",Pe,[t(b)>t(g).length?(f(),V(ie,{key:0,label:("globalLabel"in e?e.globalLabel:t(u))("load_more_label"),disabled:t(n),icon:t(n)?{prefix:{name:"circle-notch",spin:!0}}:void 0,onClick:X},null,8,["label","disabled","icon"])):T("",!0)])],512),[[J,t(L)]])]),_:1})])}}}),dt=Q({__name:"ServiceOverview",props:{targetGroup:{default:()=>({type:"Option",key:"B2B",value:"B2B"})},showIndustryFilter:{type:Boolean,default:!0}},setup(l){return(S,O)=>{const w=Re;return f(),V(w,{"show-industry":l.showIndustryFilter,"target-group":l.targetGroup.key},null,8,["show-industry","target-group"])}}});export{dt 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.