PageSourceSearch

https://cyclopolis.fr/_nuxt/DqksHJf2.js

js cyclopolis.fr collected 2026-09-24 20:18:23 UTC 6,392 bytes, 35 lines download raw bytes

1import{_ as y}from"./CFq1Tu_h.js";import w from"./MWR6TY81.js";import{e as b,g as C,h as I,J as N,H as S,B as A,C as D,j as a,o as m,c as d,p as k,a as e,t as p,b as r,w as f,d as _,m as F,v as $,F as g,r as v,aH as H,A as L}from"./DOkYTTaS.js";import{q as j}from"./DPhT5b-w.js";import{_ as q}from"./CQl-f18G.js";import{u as M}from"./CWtJ5MXP.js";import"./CoKKzTyk.js";import"./n4eokKan.js";import"./BY31thPY.js";import"./CTEZyXwE.js";import"./XDl20j1x.js";import"./mXqK4Oa2.js";import"./DNlblRcV.js";import"./ZoYG2HAJ.js";const E={key:0,class:"flex flex-wrap items-center gap-x-4 gap-y-1"},O={class:"text-sm leading-6 text-gray-900"},T={class:"font-semibold"},V={class:"flex flex-1 justify-end"},z=b({__name:"NewsBanner",async setup(h){let o,l;const{data:s}=([o,l]=C(()=>I(()=>j("news").order("date","DESC").first(),"$LnoNFR3ww2")),o=await o,l(),o),i=$(!1);N(()=>{const c=localStorage.getItem("newsBannerClosedAt");c&&(+new Date-+new Date(c))/(1e3*60*60)>168&&(localStorage.removeItem("isNewsBannerClosed"),localStorage.removeItem("newsBannerClosedAt")),s.value&&localStorage.getItem("isNewsBannerClosed")!=="true"&&S(()=>{setTimeout(()=>{i.value=!0},0)})});function u(){i.value=!1,localStorage.setItem("isNewsBannerClosed","true"),localStorage.setItem("newsBannerClosedAt",new Date().toISOString())}function x(c){const t={year:"numeric",month:"short",day:"numeric"};return new Date(c).toLocaleDateString("fr-FR",t)}return(c,t)=>{const n=y,B=w;return A((m(),d("div",{class:k(["transition-all ease-in-out h-0 duration-500 relative isolate flex items-center gap-x-6 overflow-hidden bg-lvv-blue-100 px-6 sm:px-3.5 sm:before:flex-1",a(i)?"h-[fit-content] py-2.5 opacity-100":"h-0 py-0 opacity-0"])},[t[3]||(t[3]=e("div",{class:"absolute left-[max(-7rem,calc(50%-52rem))] top-1/2 -z-10 -translate-y-1/2 transform-gpu blur-2xl","aria-hidden":"true"},[e("div",{class:"aspect-[577/310] w-[36.0625rem] bg-gradient-to-r from-lvv-pink to-[#9089fc] opacity-70",style:{"clip-path":`polygon(
2            74.8% 41.9%,
3            97.2% 73.2%,
4            100% 34.9%,
5            92.5% 0.4%,
6            87.5% 0%,
7            75% 28.6%,
8            58.5% 54.6%,
9            50.1% 56.8%,
10            46.9% 44%,
11            48.3% 17.4%,
12            24.7% 53.9%,
13            0% 27.9%,
14            11.9% 74.2%,
15            24.9% 54.1%,
16            68.6% 100%,
17            74.8% 41.9%
18          )`}})],-1)),t[4]||(t[4]=e("div",{class:"absolute left-[max(45rem,calc(50%+8rem))] top-1/2 -z-10 -translate-y-1/2 transform-gpu blur-2xl","aria-hidden":"true"},[e("div",{class:"aspect-[577/310] w-[36.0625rem] bg-gradient-to-r from-[#ff80b5] to-[#9089fc] opacity-30",style:{"clip-path":`polygon(
19            74.8% 41.9%,
20            97.2% 73.2%,
21            100% 34.9%,
22            92.5% 0.4%,
23            87.5% 0%,
24            75% 28.6%,
25            58.5% 54.6%,
26            50.1% 56.8%,
27            46.9% 44%,
28            48.3% 17.4%,
29            24.7% 53.9%,
30            0% 27.9%,
31            11.9% 74.2%,
32            24.9% 54.1%,
33            68.6% 100%,
34            74.8% 41.9%
35          )`}})],-1)),a(s)?(m(),d("div",E,[e("div",O,[e("strong",T,p(x(a(s).date)),1),t[0]||(t[0]=e("svg",{viewBox:"0 0 2 2",class:"mx-2 inline h-0.5 w-0.5 fill-current","aria-hidden":"true"},[e("circle",{cx:"1",cy:"1",r:"1"})],-1))]),r(n,{to:a(s).url??"/historique"},{default:f(()=>[_(p(a(s).newsBannerText),1)]),_:1},8,["to"]),r(n,{to:a(s).url??"/historique",class:"flex-none text-lvv-blue-600 py-1 text-sm font-semibold hover:underline"},{default:f(()=>[...t[1]||(t[1]=[_(" Lire l'annonce ",-1),e("span",{"aria-hidden":"true"},"→",-1)])]),_:1},8,["to"])])):F("",!0),e("div",V,[e("button",{type:"button",class:"-m-3 p-3 focus-visible:outline-offset-[-4px]",onClick:u},[t[2]||(t[2]=e("span",{class:"sr-only"},"Fermer",-1)),r(B,{name:"mdi:close",class:"h-5 w-5","aria-hidden":"true"})])])],2)),[[D,a(s)]])}}}),R=Object.assign(z,{__name:"NewsBanner"}),G={class:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-7xl bg-white border-t border-gray-200"},J={class:"max-w-7xl mx-auto pt-6 pb-12 px-4 overflow-hidden sm:px-6 lg:px-8"},P={class:"-mx-5 -my-2 flex flex-wrap justify-center","aria-label":"Footer"},K={class:"mt-6 pt-4 md:flex md:items-center md:justify-between"},Q={class:"flex justify-center space-x-6 md:order-2"},U=["href"],W={class:"sr-only"},X={class:"mt-8 md:mt-0 md:order-1 sm:hidden md:block text-center"},Y=["href"],Z=b({__name:"Footer",setup(h){const{getAssoName:o,getAssoLink:l}=M(),s=[{name:"Mentions légales",path:"/mentions-legales"},{name:"Historique",path:"/historique"},{name:"Sites partenaires",path:"/sites-partenaires"},{name:"Imprimer la carte",path:"/print",desktopOnly:!0}],i=[{name:"Bluesky",href:"https://bsky.app/profile/lavilleavelo.bsky.social",icon:"fa6-brands:bluesky"},{name:"Mastodon",href:"https://masto.bike/@lavilleavelo",icon:"mdi:mastodon"},{name:"Facebook",href:"https://www.facebook.com/lavilleavelolyon/",icon:"mdi:facebook"},{name:"LinkedIn",href:"https://www.linkedin.com/company/la-ville-%C3%A0-v%C3%A9lo",icon:"mdi:linkedin"},{name:"Instagram",href:"https://www.instagram.com/lavilleavelolyon",icon:"mdi:instagram"},{name:"Github",href:"https://github.com/lavilleavelo/cyclopolis",icon:"mdi:github"},{name:"Site web",href:"https://lavilleavelo.org/",icon:"mdi:link"},{name:"Email",href:"mailto:contact_at_lavilleavelo.org",icon:"mdi:email-outline"}];return(u,x)=>{const c=y,t=w;return m(),d("footer",G,[e("div",J,[e("nav",P,[(m(),d(g,null,v(s,n=>e("div",{key:n.name,class:k(["px-5 py-2",{"hidden md:block":n.desktopOnly}])},[r(c,{to:n.path,class:"text-base text-gray-500 hover:text-gray-900"},{default:f(()=>[_(p(n.name),1)]),_:2},1032,["to"])],2)),64))]),e("div",K,[e("div",Q,[(m(),d(g,null,v(i,n=>e("a",{key:n.name,href:n.href,target:"_blank",class:"text-gray-500 hover:text-gray-500"},[e("span",W,p(n.name),1),r(t,{name:n.icon,class:"h-5 w-5 sm:h-6 sm:w-6","aria-hidden":"true"},null,8,["name"])],8,U)),64))]),e("div",X,[e("a",{href:a(l)(),class:"text-center text-base text-gray-500"},p(a(o)()),9,Y)])])])])}}}),ee=Object.assign(Z,{__name:"AppFooter"}),_e={__name:"default",setup(h){return H(()=>{const o=document.getElementById("navigation-header"),l=o?o.offsetHeight:0;document.documentElement.style.setProperty("--navbar-height",l+"px")}),(o,l)=>{const s=R,i=q,u=ee;return m(),d("div",null,[r(s),r(i,{class:"sticky top-0"}),L(o.$slots,"default"),r(u)])}}};export{_e 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.