1import{_ as w}from"./BjTybuch.js";import{_ as x}from"./DTovzSiZ.js";import{u as C,j as A,k as B,w as g,l as L,o as N,c as _,a as e,b as t,d as P,e as r,t as h,n as f,F as j,r as H,f as c,i as E,h as F,m as V,g as U,_ as G}from"./DsVCUfW0.js";import{_ as R}from"./BaKSlkfy.js";import{_ as $}from"./COUd-2da.js";import{j as v}from"./DRzGW2vL.js";import{S as z,i as D,t as I}from"./DE11qgds.js";import{u as W,g as q}from"./fMfAb1b9.js";import{g as J}from"./B0VXcuTL.js";import{n as K}from"./DYYNZbRe.js";import{g as O}from"./MkZDWhN2.js";import"./LMv-itJy.js";import"./C4iS2aBk.js";const Q=["src","alt"],X={class:"device-content"},Y={class:"page-title"},Z={class:"page-title_top"},tt=["innerHTML"],et={class:"spaces-menu"},st={class:"device-content"},at={class:"page-content"},ot={class:"device-content"},nt=["innerHTML"],it=e("br",null,null,-1),lt=e("br",null,null,-1),kt={__name:"[slug]",async setup(rt){let o,i;O.registerPlugin(z);const{locale:u}=C(),m=A(),d=U();let S=B(m.fullPath),s;S.value=window.location.href;const{data:p}=([o,i]=g(()=>fetch(d.app.strapiBaseUri+"/api/spaces?"+v({locale:u.value,filters:{slug:m.params.slug},populate:{Seo:{populate:"*"},image:{populate:"*"},contents:{populate:"*"}}}),{method:"GET"}).then(a=>a.json())),o=await o,i(),o);if(p.length==0)throw L({statusCode:404,statusMessage:"Page Not Found"});s=p[0],s.id=p[0].id;const{data:n}=([o,i]=g(()=>fetch(d.app.strapiBaseUri+"/api/page-espace?"+v({locale:u.value,populate:{Seo:{populate:"*"},image:{populate:"*"},spaces:{populate:"*"}}}),{method:"GET"}).then(a=>a.json())),o=await o,i(),o);return N(()=>{D()}),n.Seo&&W({title:n.Seo.metaTitle,meta:q(n.Seo),bodyAttrs:{class:"generic"}}),(a,ct)=>{const T=w,b=x,M=G,k=R,y=$;return c(),_("div",null,[e("div",{class:f(["page-head",{"page-head_noimg":!t(s).image}])},[t(s).image?(c(),_("img",{key:0,src:("getStrapiMedia"in a?a.getStrapiMedia:t(J))(t(s).image,"xlarge"),alt:t(s).title},null,8,Q)):P("",!0),e("div",X,[r(T,{title:t(s).title,parent:t(n).title,parent_link:"about-spaces"},null,8,["title","parent"])]),e("div",Y,[e("div",Z,h(t(n).title),1),e("h1",{innerHTML:("textToArray"in a?a.textToArray:t(I))(t(s).title,!0)},null,8,tt)])],2),r(b,{page:"spaces"}),e("div",et,[e("div",st,[(c(!0),_(j,null,H(t(n).spaces,l=>(c(),E(M,{key:l.id,to:a.localePath({name:"about-spaces-slug",params:{slug:l.slug}}),class:f({active:t(s).slug==l.slug})},{default:F(()=>
1[V(h(l.title),1)]),_:2},1032,["to","class"]))),128))])]),e("div",at,[e("div",ot,[e("div",{class:"page-chapo",innerHTML:("nl2br"in a?a.nl2br:t(K))(t(s).chapo)},null,8,nt),r(k,{contents:t(s).contents},null,8,["contents"]),it,lt,r(y,{spaces:t(n).spaces},null,8,["spaces"])])])])}}};export{kt 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.