1import{_ as C}from"./DNrW19FK.js";import{_ as T,a as B}from"./CttQ96Zv.js";import{_ as F}from"./C-CAG500.js";import{F as I}from"./Bu_-FVb7.js";import{d as b,a as D,r as c,b as E,D as M,e as N,f as R,j as p,c as l,h as e,g as V,i as $,k as O,F as S,l as j,m as A,o as s,p as P}from"./V9JhC5tk.js";import{u as U}from"./BGK1KDWU.js";import"./DlAUqK2U.js";import"./BZc5dB8v.js";import"./DVgYcg13.js";import"./Bpmci92m.js";import"./Dx6EoAPB.js";import"./D-FvRDdV.js";import"./OcK2xgpR.js";import"./CUIJnxAG.js";import"./vK69jOgP.js";import"./BklayekH.js";import"./DhtCAc81.js";import"./Bxs9gDhA.js";import"./l_muiikG.js";import"./CVblC2sp.js";import"./km3Zisod.js";import"./Dla6xpDp.js";const W={key:1,class:"container"},q={key:0},z={key:0,class:"grid grid-cols-1 gap-6 lg:grid-cols-2"},ve=b({__name:"index",setup(G){const{t:m}=D(),o=c(""),a=c(0),d=t=>a.value=t,{getMenuTitle:v}=E(),{isLoading:g,startLoading:f,stopLoading:h}=U(),n=c(null);M(async()=>{f();const t=await N("/webservice/expert");t&&(n.value=t.data.value),h()});const u=R(()=>{if(!n.value)return[];const t=[...n.value.partners];return!a.value&&!o.value.length?t:t.filter(r=>(!a.value||a.value===r.category.id)&&(!o.value.length||r.title.toLowerCase().includes(o.value.toLowerCase())||r.tagline&&r.tagline.toLowerCase().includes(o.value.toLowerCase())))});return(t,r)=>{var _;const k=C,L=T,y=F,w=B,x=A("motion");return e(g)?(s(),p(k,{key:0})):(s(),l("section",W,[e(n)?(s(),l("div",q,[$(L,{"model-value":e(o),"onUpdate:modelValue":r[0]||(r[0]=i=>O(o)?o.value=i:null),"selected-item":e(a),categories:(_=e(n))==null?void 0:_.categories,title:e(v)("partner",e(m)("Trouver un expert")),"input-place-holder":e(m)("Rechercher un expert"),onOnFilterClick:d},null,8,["model-value","selected-item","categories","title","input-place-holder"]),e(u).length?(s(),l("div",z,[(s(!0),l(S,null,j(e(u),i=>P((s(),p(y,{key:i.id,partner:i,type:"expert"},null,8,["partner"])),[[x,e(I)]])),128))])):(s(),p(w,{key:1}))])):V("",!0)]))}}});
1export{ve 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.