1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./usJkKO7w.js","./entry.wN0yze1l.css"])))=>i.map(i=>d[i]); 2import{aO as T,aS as c,aX as H,aV as O,bg as K,a$ as d,b1 as e,b2 as a,bd as V,b0 as I,b7 as l,bz as P,bA as U,b5 as R,b6 as S,bi as D,bh as M,b3 as A,b4 as F,bb as N,aZ as Y,aM as G,cf as Q,aN as B,bK as X,b8 as $,b9 as Z,cg as J}from"./usJkKO7w.js";import W from"./CAsyehLx.js";import{_ as ee,a as te}from"./DnqYVLyD.js";import{_ as se}from"./C06AtsN8.js";import{_ as q}from"./D8yes1ap.js";import{_ as oe}from"./-VbVNxWC.js";import le from"./DIiV_SD_.js";import ne from"./u5oCyqz4.js";import ae from"./G4iGPEx4.js";import{g as re}from"./R58fg5I4.js";import{u as ie,S as ce}from"./9c7pwk6M.js";import"./B6VjQzWU.js";import"./BPujbblw.js";import"./DwgE2M6e.js";import"./DwG9rr4v.js";import"./B3I0mlxT.js";import"./BqnKCAkH.js";import"./Cm_sUHna.js";import"./D_NyxZMP.js";import"./FV1KSooD.js";import"./rSZdu2U3.js";import"./MWXe3hDh.js";import"./CnZKx4Uv.js";import"./DLvOYumG.js";import"./Bw-7OPWv.js";import"./SbY25hyO.js";import"./BeNe5jDe.js";try{let o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new o.Error().stack;u&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[u]="d44037fd-e471-4c46-85c8-7cdf0babff72",o._sentryDebugIdIdentifier="sentry-dbid-d44037fd-e471-4c46-85c8-7cdf0babff72")}catch{}const _e=A(()=>F(()=>import("./usJkKO7w.js").then(o=>o.di),__vite__mapDeps([0,1]),import.meta.url).then(o=>o.default||o)),ue=["src"],pe=T({__name:"VSearchCard",props:{solrItem:{},wrapper:{},skeleton:{type:Boolean}},setup(o){const u=o,f=c(()=>{var s;return!((s=u.solrItem)!=null&&s.item)||u.skeleton}),p=c(()=>{var s;return(s=u.solrItem)==null?void 0:s.item}),h=c(()=>{var s;return(s=u.solrItem)==null?void 0:s.highlighting}),z=c(()=>p.value&&H(p.value)),g=c(()=>p.value&&O(p.value)?p.value:void 0),m=c(()=>p.value),y=c(()=>{var i,n;const s=[];return g.value?s.push(...g.value.tags||[]):s.push(...((n=(i=m.value)==null?void 0:i.node)==null?void 0:n.tags)||[]),s.filter(r=>!!r&&r.visible)}),v=c(()=>{var s,i,n,r;return((i=(s=h.value)==null?void 0:s.title_txt_fr)==null?void 0:i[0])||((n=g.value)==null?void 0:n.name)||((r=m.value)==null?void 0:r.title)}),C=c(()=>{var s,i,n,r,w,x;return((i=(s=h.value)==null?void 0:s.collection_txt_fr)==null?void 0:i[0])||((n=g.value)==null?void 0:n.description)||((r=m.value)==null?void 0:r.description)||((w=m.value)==null?void 0:w.content)||((x=m.value)==null?void 0:x.excerpt)||void 0}),j=c(()=>{var s,i,n,r;return((i=(s=m.value)==null?void 0:s.media)==null?void 0:i[0])||((r=(n=g.value)==null?void 0:n.mainDocuments)==null?void 0:r[0])}),t=K(),k=c(()=>[t.root,f.value&&t["root--skeleton"],g.value&&t["root--event"],z.value&&t["root--blog-post"]]);return(s,i)=>{const n=q,r=oe,w=le,x=_e;return e(g)?(a(),d(r,{key:0,"root-tag":s.wrapper,event:e(g),skeleton:e(f),class:l(e(k)),"display-past-tag":""},{title:V(()=>[e(v)||e(f)?(a(),d(n,{key:0,class:l(e(t).title),content:e(v),tag:"h3",inline:""},null,8,["class","content"])):I("",!0)]),_:1},8,["root-tag","event","skeleton","class"])):(a(),d(P(s.wrapper||"div"),{key:1,class:l(e(k))},{default:V(()=>{var E,L;return[(a(),d(P((E=e(p))!=null&&E.url?e(U):"div"),{to:(L=e(p))==null?void 0:L.url,class:l(e(t)["link-wrapper"])},{default:V(()=>{var _;return[e(j)?(a(),d(w,{key:0,document:e(j),class:l(e(t).image),crop:"380x314",alt:"",sizes:"xs:95vw sm:95vw md:45vw lg:26vw vl:26vw xxl:26vw qhd:26vw"},null,8,["document","class"])):(a(),R("div",{key:1,class:l(e(t)["image-placeholder"])},[S("img",{src:e(ne),alt:"",width:"170",height:"145",class:l(e(t).logo)},null,10,ue)],2)),S("div",{class:l(e(t).body)},[e(y).length?(a(),R("div",{key:0,class:l(e(t).tags)},[(a(!0),R(D,null,M(e(y),b=>(a(),d(x,{key:b["@id"],label:b.name,size:"xxs",class:l([e(t).tag,!b.parent&&e(t)["tag--is-tree-root"]])},null,8,["label","class"]))),128))],2)):I("",!0),e(v)||e(f)?(a(),d(n,{key:1,class:l(e(t).title),content:e(v),tag:"h3",inline:""},null,8,["class","content"])):I("",!0),(_=e(m))!=null&&_.subTitle?(a(),d(n,{key:2,class:l(e(t).subtitle),content:e(m).subTitle,tag:"p",inline:""},null,8,["class","content"])):e(C)||e(f)?(a(),d(n,{key:3,class:l(e(t).content),content:e(C),tag:"p",inline:""},null,8,["class","content"])):I("",!0)],2)]}),_:1},8,["to","class"]))]}),_:1},8,["class"]))}}}
2),me="_root_1xj4v_5",de="_image_1xj4v_24",ge="_logo_1xj4v_39",ve="_body_1xj4v_44",be="_tags_1xj4v_48",fe="_title_1xj4v_60",ye="_subtitle_1xj4v_73",he="_content_1xj4v_81",ke="_placeholder_1xj4v_107",we={root:me,"root--blog-post":"_root--blog-post_1xj4v_11","link-wrapper":"_link-wrapper_1xj4v_19",image:de,"image-placeholder":"_image-placeholder_1xj4v_29",logo:ge,body:ve,tags:be,"tag--is-tree-root":"_tag--is-tree-root_1xj4v_54",title:fe,"root--event":"_root--event_1xj4v_69",subtitle:ye,content:he,"root--skeleton":"_root--skeleton_1xj4v_104",placeholder:ke},xe={$style:we},$e=N(pe,[["__cssModules",xe]]);function Ve(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}const ze=A(()=>F(()=>import("./usJkKO7w.js").then(o=>o.dj),__vite__mapDeps([0,1]),import.meta.url).then(o=>o.default||o)),je=T({__name:"VSearchPage",props:{webResponseKey:{},webResponse:{}},setup(o){const u=o,f=c(()=>u.webResponse.item),p=c(()=>{var t;return((t=u.webResponse)==null?void 0:t.blocks)&&re(u.webResponse.blocks)||[]}),{queryValue:h,typeValue:z,navigateToSearch:g}=ie(),m=c(()=>({itemsPerPage:12,"node.visible":!0,reachable:!0,search:h.value??void 0,"nodeType[]":z.value!=="all"?z.value:void 0})),{t:y}=Y(),v=G(z.value||"all"),C=Q([{id:"all",value:"all",inputLabel:y("search_page.filters.all")},{id:"event",value:"Event",inputLabel:y("search_page.filters.events")},{id:"blog",value:"BlogPost",inputLabel:y("search_page.filters.blogs")},{id:"page",value:"Page",inputLabel:y("search_page.filters.pages")}]);B(v,t=>{g({[ce]:t,page:void 0})});const j=X("listing");return B(m,async()=>{var t,k;(k=(t=j.value)==null?void 0:t.$el)==null||k.scrollIntoView({behavior:"smooth"})},{flush:"post"}),(t,k)=>{const s=ze,i=W,n=ee,r=se,w=q,x=$e,E=te,L=ae;return a(),R("div",{class:l(t.$style.root)},[$(s,{title:e(f).title,"sub-title":e(f).subTitle,"web-response":t.webResponse,"generic-logo":""},null,8,["title","sub-title","web-response"]),$(i),S("main",{role:"main",class:l([t.$style.main,"grid"])},[S("fieldset",{class:l(t.$style.fieldset)},[S("legend",{class:l([t.$style.legend,"text-overtitle"])},Z(e(y)("search_page.filters.legend")),3),$(r,{class:l(t.$style.filters)},{default:V(()=>[(a(!0),R(D,null,M(e(C),_=>(a(),d(n,{key:_.id,selected:_.value===e(v),label:_.inputLabel,"aria-pressed":_.value===e(v),onClick:b=>v.value=_.value},null,8,["selected","label","aria-pressed","onClick"]))),128))]),_:1},8,["class"])],2),$(E,{ref_key:"listing",ref:j,params:e(m),class:l(t.$style.listing),"list-class":[t.$style.list,"grid"],url:"/search"},J({searchResult:V(({length:_,isPending:b})=>[$(w,{"aria-live":"polite","aria-atomic":"true","aria-busy":b,content:e(h)?b?t.$t("loading"):t.$t("search_page.results_count",{count:_,input:e(Ve)(e(h))}):t.$t("search_page.input_required"),class:l(t.$style["results-count"]),inline:"",tag:"p"},null,8,["aria-busy","content","class"])]),_:2},[e(h)?{name:"item",fn:V(({item:_,classNames:b})=>[$(x,{class:l([t.$style.item,b]),wrapper:"li","solr-item":_},null,8,["class","solr-item"])]),key:"0"}:void 0]),1032,["params","class","list-class"]),e(p).length?(a(),d(L,{key:0,blocks:e(p)},null,8,["blocks"])):I("",!0)],2)],2)}}}),Ie="_root_a7z1d_5",Re="_main_a7z1d_9",Se="_fieldset_a7z1d_13",Ce="_legend_a7z1d_39",Ee="_filters_a7z1d_52",Le="_filter_a7z1d_52",Pe="_listing_a7z1d_91",Be="_list_a7z1d_91",Te="_item_a7z1d_115",De={root:Ie,main:Re,fieldset:Se,legend:Ce,filters:Ee,filter:Le,"results-count":"_results-count_a7z1d_70",listing:Pe,list:Be,item:Te},Me={$style:De},pt=N(je,[["__cssModules",Me]]);export{pt 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.