1import{_ as M}from"./BGMwKhe_.js";import{_ as k}from"./BTQVZBqU.js";import{_ as B}from"./dEk6nWSd.js";import{u as C,w as d,o as A,c,a as s,b as a,d as w,e as m,t as _,n as L,F as u,r as g,f as r,i as j,g as H}from"./ClS0-jLi.js";import{j as h}from"./DRzGW2vL.js";import{S as E,i as U,d as x,t as G}from"./DE11qgds.js";import{u as N,g as P}from"./CyK7VpNk.js";import{g as V}from"./BfC5RXdj.js";import{n as $}from"./DYYNZbRe.js";import{g as F,$ as l}from"./MkZDWhN2.js";import"./Dqxmxt4-.js";import"./LMv-itJy.js";import"./C4iS2aBk.js";const z=["src","alt"],D={class:"device-content"},I={class:"page-title"},R={class:"page-title_top"},W=["innerHTML"],q={class:"page-content listen"},J={class:"device-content"},K=["innerHTML"],O={class:"spaces-menu"},Q=s("div",{class:"spaces-menu_item active listen_cat","data-id":0},"Tout",-1),X=["data-id"],Y={class:"about-items"},ut={__name:"index",async setup(Z){let e,o;F.registerPlugin(E);const{locale:f}=C(),p=H(),{data:i}=([e,o]=d(()=>fetch(p.app.strapiBaseUri+"/api/page-listen?"+h({locale:f.value,populate:{Seo:{populate:"*"},image:{populate:"*"}}}),{method:"GET"}).then(t=>t.json())),e=await e,o(),e),{data:v}=([e,o]=d(()=>fetch(p.app.strapiBaseUri+"/api/medias-categories",{method:"GET"}).then(t=>t.json())),e=await e,o(),e),{data:T}=([e,o]=d(()=>fetch(p.app.strapiBaseUri+"/api/medias?"+h({pagination:{limit:1e8},sort:{date:"desc"},populate:{image:{populate:"*"},medias_category:{populate:"*"},medias_type:{populate:"*"}}}),{method:"GET"}).then(t=>t.json())),e=await e,o(),e);return A(()=>{U(),setTimeout(()=>{l(".listen_cat").click(function(){var t=l(this).attr("data-id");l(".listen_cat").removeClass("active"),l(this).addClass("active"),l(".listen_item").show(0),t!=0&&l(".listen_item:not(.cat_"+t+")").hide(0)})},x)}),i.Seo&&N({title:i.Seo.metaTitle,meta:P(i.Seo),bodyAttrs:{class:"generic"}}),(t,tt)=>{const S=M,y=k,b=B;return r(),c("div",null,[s("div",{class:L(["page-head",{"page-head_noimg":!a(i).image}])},[a(i).image?(r(),c("img",{key:0,src:("getStrapiMedia"in t?t.getStrapiMedia:a(V))(a(i).image,"xlarge"),alt:a(i).title},null,8,z)):w("",!0),s("div",D,[m(S,{title:a(i).title,parent:t.$t("page_about"),parent_link:"about"},null,8,["title","parent"])]),s("div",I,[s("div",R,_(t.$t("page_about")),1),s("h1",{innerHTML:("textToArray"in t?t.textToArray:a(G))(a(i).title,!0)},null,8,W)])],2),m(y,{page:"listen"}),s("div",q,[s("div",J,[s("div",{class:"page-chapo",innerHTML:("nl2br"in t?t.nl2br:a($))(a(i).chapo)},null,8,K),s("div",O,[Q,(r(!0),c(u,null,g(a(v),n=>(r(),c("div",{key:n.id,class:"spaces-menu_item listen_cat","data-id":n.id},_(n.title),9,X))),128))]),s("div",Y,[(r(!0),c(u,null,g(a(T),n=>(r(),j(b,{key:n.id,media:n,list:!0},null,8,["media"]))),128))])])])])}}};export{ut 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.