1import{a as v,b as f}from"./AppHead-57c95170.js";import{_ as b}from"./PageHeaderComponent-524968a6.js";import{_ as k}from"./ShowProgramComponent-e4c81532.js";import{_}from"./ArticleComponent-bace9907.js";import{R as w}from"./ReplayComponent-b7c6616b.js";import{V as C}from"./VideoComponent-4a6b07bc.js";import{r as $,a as s,b as i,i as y,j as p,F as n,k as t,m as r,s as d,l as m,x as u,n as x,f as g}from"./app-888e2026.js";import"./ButtonComponent-477289dc.js";import"./LinkComponent-0e2dc9ce.js";import"./playwhite2x-a35d44f2.js";const V={class:"px-global pt-5 pb-4 lg:py-8"},j={class:"text-primary text-h2 font-semibold mb-4 lg:mb-8 italic"},A={class:"container mx-auto"},R={class:"grid grid-cols-2 md:grid-cols-4 text-center text-gray-500 bg-gray-100 p-1 lg:mb-8 sticky lg:top-40 z-10"},B={class:"border bg-white text-primary text-caption ml-2 px-2 p-0.5 rounded"},N={class:"border bg-white text-primary text-caption ml-2 px-2 p-0.5 rounded"},z={class:"border bg-white text-primary text-caption ml-2 px-2 p-0.5 rounded"},E={class:"border bg-white text-primary text-caption ml-2 px-2 p-0.5 rounded"},F={class:"w-full bg-white rounded-lg lg:my-8"},T={key:0},D={key:0,class:"programs"},L={key:1,class:"text-center lg:p-6 my-2"},P=t("p",{class:"text-gray-500 italic"},"Aucune émission ne correspond à ce élément",-1),S=[P],q={key:1},G={key:0,class:"grid grid-cols-1 md:grid-cols-3 w-full mx-auto gap-x-[--30px] lg:gap-x-[--40px] lg:gap-y-[--80px]"},H={key:1,class:"text-center lg:p-6 my-2"},I=t("p",{class:"text-gray-500 italic"},"Aucune article ne correspond à ce élément",-1),J=[I],K={key:2},M={key:0,class:"w-full"},O={class:"grid grid-cols-1 md:grid-cols-3 w-full mx-auto gap-x-[var(--30px)] gap-y-[var(--20px)] lg:gap-[var(--40px)]"},Q={key:1,class:"text-center lg:p-6 my-2"},U=t("p",{class:"text-gray-500 italic"},"Aucun replay ne correspond à ce élément",-1),W=[U],X={key:3},Y={key:0},Z={class:"grid grid-cols-1 md:grid-cols-3 w-full mx-auto gap-x-[var(--30px)] gap-y-[var(--20px)] lg:gap-[var(--40px)]"},tt={key:1,class:"text-center lg:p-6 my-2"},et=t("p",{class:"text-gray-500 italic"},"Aucune video ne correspond à ce élément",-1),st=[et],xt={__name:"ResultatsPage",props:["emissions","articles","replays","videos","title"],setup(e){const a=$(1),c=h=>a.value=h;return(h,o)=>(s(),i(n,null,[y(v,{title:e.title??"Résultat(s) de recherche"},null,8,["title"]),y(f,null,{header:p(()=>[y(b)]),main:p(()=>[t("div",V,[t("h1",j,r(e.title),1),t("div",A,[t("ul",R,[t("li",null,[t("a",{onClick:o[0]||(o[0]=l=>c(1)),class:d([{"bg-white shadow text-primary text-h3":a.value===1,"text-sm":a.value!==1},"flex justify-center items-center py-4 text-black cursor-pointer font-semibold italic"])},[m(" Emissions "),t("p",null,[t("span",B,r(e.emissions&&e.emissions.items?e.emissions.items.length:0),1)])],2)]),t("li",null,[t("a",{onClick:o[1]||(o[1]=l=>c(2)),class:d([{"bg-white shadow text-primary text-h3":a.value===2,"text-sm":a.value!==2},"flex justify-center items-center py-4 cursor-pointer text-black font-semibold italic"])},[m(" Articles "),t("p",null,[t("span",N,r(e.articles&&e.articles.items?e.articles.items.length:0),1)])],2)]),t("li",null,[t("a",{onClick:o[2]||(o[2]=l=>c(3)),class:d([{"bg-white shadow text-primary text-h3":a.value===3,"text-sm":a.value!==3},"flex justify-center items-center py-4 cursor-pointer text-black font-semibold italic"])},[m(" Replays "),t("p",null,[t("span",z,r(e.replays&&e.replays.items?e.replays.items.length:0),1)])],2)]),t("li",null,[t("a",{onClick:o[3]||(o[3]=l=>c(4)),class:d([{"bg-white shadow text-primary text-h3":a.value===4,"text-sm":a.value!==4},"flex justify-center items-center py-4 cursor-pointer text-black font-semibold italic"])},[m(" Videos "),t("p",null,[t("span",E,r(e.videos&&e.videos.items?e.videos.items.length:0),1)])],2)])]),t("div",F,[a.value===1?(s(),i("div",T,[e.emissions&&e.emissions.items.length?(s(),i("div",D,[(s(!0),i(n,null,u(e.emissions.items,l=>(s(),g(k,{key:l.id,show:l},null,8,["show"]))),128))])):(s(),i("div",L,S))])):x("",!0),a.value===2?(s(),i("div",q,[e.articles&&e.articles.items.length?(s(),i("div",G,[(s(!0),i(n,null,u(e.articles.items,l=>(s(),g(_,{actuality:l,key:l.id},null,8,["actuality"]))),128))])):(s(),i("div",H,J))])):x("",!0),a.value===3?(s(),i("div",K,[e.replays&&e.replays.items.length?(s(),i("div",M,[t("div",O,[(s(!0),i(n,null,u(e.replays.items,l=>(s(),g(w,{replay:l,key:l.id},null,8,["replay"]))),128))])])):(s(),i("div",Q,W))])):x("",!0),a.value===4?(s(),i("div",X,[e.videos&&e.videos.items.length?(s(),i("div",Y,[t("div",Z,[(s(!0),i(n,null,u(e.videos.items,l=>(s(),g(C,{video:l,key:l.id},null,8,["video"]))),128))])])):(s(),i("div",tt,st))])):x("",!0)])])])]),_:1})],64))}};export{xt 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.