2 lines
6.2 KiB
JavaScript
2 lines
6.2 KiB
JavaScript
import{s as T,e as M,n as B}from"../chunks/scheduler.aZRR5A_O.js";import{S as K,i as O,g as w,s as C,m as z,h as b,j as k,f as m,c as q,n as P,k as f,a as E,y as h,o as Y,A as X,x as J,d as y,b as N,t as F,B as R,r as U,u as Z,v as $,w as ee,p as te}from"../chunks/index.ciNBPAxl.js";import{e as G}from"../chunks/each.-oqiv04n.js";import{s as re}from"../chunks/utils.Tkfr06Vk.js";function ae(i){let t,s,a,d,u,l,c,e,v=i[4](i[0],50)+"",r,o,n,g,A,x,L;return{c(){t=w("div"),s=w("a"),a=w("img"),u=C(),l=w("div"),c=w("a"),e=w("h5"),r=z(v),o=C(),n=w("p"),g=z(i[1]),A=C(),x=w("a"),L=z("En savoir plus"),this.h()},l(_){t=b(_,"DIV",{class:!0});var p=k(t);s=b(p,"A",{href:!0});var S=k(s);a=b(S,"IMG",{class:!0,src:!0,alt:!0}),S.forEach(m),u=q(p),l=b(p,"DIV",{class:!0});var j=k(l);c=b(j,"A",{href:!0});var D=k(c);e=b(D,"H5",{class:!0});var W=k(e);r=P(W,v),W.forEach(m),D.forEach(m),o=q(j),n=b(j,"P",{class:!0});var H=k(n);g=P(H,i[1]),H.forEach(m),A=q(j),x=b(j,"A",{href:!0,class:!0});var I=k(x);L=P(I,"En savoir plus"),I.forEach(m),j.forEach(m),p.forEach(m),this.h()},h(){f(a,"class","rounded-t-lg h-48 w-80 object-cover"),M(a.src,d=i[2])||f(a,"src",d),f(a,"alt",""),f(s,"href","#"),f(e,"class","mb-2 text-lg font-bold tracking-tight text-gray-900 dark:text-white"),f(c,"href","#"),f(n,"class","mb-3 font-normal text-gray-700 dark:text-gray-400"),f(x,"href",i[3]),f(x,"class","inline-flex items-center btn btn-primary text-sm font-medium text-center"),f(l,"class","p-5"),f(t,"class","max-w-sm my-4 w-80 h-fit bg-base-300 dark:bg-base-300 border border-gray-300 rounded-lg shadow-md dark:border-gray-700")},m(_,p){E(_,t,p),h(t,s),h(s,a),h(t,u),h(t,l),h(l,c),h(c,e),h(e,r),h(l,o),h(l,n),h(n,g),h(l,A),h(l,x),h(x,L)},p(_,[p]){p&4&&!M(a.src,d=_[2])&&f(a,"src",d),p&1&&v!==(v=_[4](_[0],50)+"")&&Y(r,v),p&2&&Y(g,_[1]),p&8&&f(x,"href",_[3])},i:B,o:B,d(_){_&&m(t)}}}function se(i,t,s){let{title:a}=t,{description:d}=t,{image:u}=t,{link:l}=t;const c=(e,v)=>e.length>v?e.slice(0,v-3)+"...":e;return i.$$set=e=>{"title"in e&&s(0,a=e.title),"description"in e&&s(1,d=e.description),"image"in e&&s(2,u=e.image),"link"in e&&s(3,l=e.link)},[a,d,u,l,c]}class ne extends K{constructor(t){super(),O(this,t,se,ae,T,{title:0,description:1,image:2,link:3})}}const ie=[{title:"Aux « algoraves », on danse sur une musique codée en direct",picture:"https://img.lemde.fr/2019/04/12/0/0/5122/3467/800/0/75/0/f22d969_x_FC8S1alEp4TYxEfX9-vnhW.jpg",link:"https://www.lemonde.fr/pixels/article/2019/04/13/aux-algoraves-on-danse-sur-une-musique-codee-en-direct_5449894_4408996.html",author:"Bruno Lus (Le Monde)"},{title:"OK Computer: Live coding creates music for dancing or dreaming in France's biggest algorave",picture:"https://static.euronews.com/articles/stories/07/52/54/80/1200x675_cmsv2_eb8921b9-1953-5db0-853f-6479b45a22c6-7525480.jpg",link:"https://www.euronews.com/culture/2023/05/03/ok-computer-live-coding-creates-music-for-dancing-or-dreaming-in-frances-biggest-algorave",author:"Gaël Camba (Euronews)"},{title:"Live coding : de la musique codée en direct pour danser ou rêver",picture:"https://static.euronews.com/articles/stories/07/52/54/80/1200x675_cmsv2_2c54c051-fb9c-5807-8429-da05ee6ef77d-7525480.jpg",link:"https://fr.euronews.com/culture/2023/04/26/live-coding-de-la-musique-codee-en-direct-pour-danser-ou-rever#:~:text=Live%20coding%20:%20de%20la%20musique%20cod%C3%A9e%20en%20direct%20pour%20danser%20ou%20r%C3%AAver,-Francesco%20Corvi%20se&text=Entre%20technique%20exp%C3%A9rimentale%20et%20composition,en%20programmant%20du%20code%20informatique.",author:"Gaël Camba (Euronews)"},{title:"Culture numérique : la Micro-folie sillonnera le territoire Barséquanais",picture:"https://scontent-cdg4-3.xx.fbcdn.net/v/t39.30808-6/395383692_828993012361704_4923466258603181196_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=5f2048&_nc_ohc=P4og5e7HJFcAX9sV97R&_nc_oc=AQnpycSxjK2s7sw24lYWjFB35aW1YxcaomLjlLD5bOmqnLxWcDYy3Pc19jBW1-eBsfY&_nc_ht=scontent-cdg4-3.xx&oh=00_AfA7QP0HSWCzDT1coLx7o9bCnMIdFSQpZafGNffwms03Cw&oe=654B351E",link:"https://www.lest-eclair.fr/id531959/article/2023-10-20/la-micro-folie-sillonnera-le-territoire-barsequanais",author:"L'Est Éclair"},{title:"Qu’est-ce que l’algorave, ce nouveau clubbing où ...",picture:"https://trxprds3.s3.amazonaws.com/uploads/2020/03/by-dan-hett.jpg",link:"https://www.traxmag.com/algorave-live-coding-dancefloor/",author:"Loïc Hecht (Trax Magazine)"},{title:"Le festival de jazz d'Uzeste, toujours aussi déjanté",picture:"https://www.radiofrance.fr/s3/cruiser-production/2023/08/a064c42c-f1fc-4ef8-90b8-2615d352e1e6/560x315_sc_capture-d-ecran-2023-08-09-a-15-11-31.webp",link:"https://www.radiofrance.fr/franceculture/podcasts/l-invite-e-des-matins-d-ete/le-festival-de-jazz-d-uzeste-toujours-aussi-dejante-2076865",author:"France Culture"}];function Q(i,t,s){const a=i.slice();return a[1]=t[s].title,a[2]=t[s].picture,a[3]=t[s].link,a[4]=t[s].author,a[6]=s,a}function V(i){let t,s;return t=new ne({props:{title:i[1],description:i[4],image:i[2],link:i[3]}}),{c(){U(t.$$.fragment)},l(a){Z(t.$$.fragment,a)},m(a,d){$(t,a,d),s=!0},p:B,i(a){s||(y(t.$$.fragment,a),s=!0)},o(a){F(t.$$.fragment,a),s=!1},d(a){ee(t,a)}}}function oe(i){let t,s,a="Presse",d,u,l,c=G(i[0]),e=[];for(let r=0;r<c.length;r+=1)e[r]=V(Q(i,c,r));const v=r=>F(e[r],1,1,()=>{e[r]=null});return{c(){t=C(),s=w("h1"),s.textContent=a,d=C(),u=w("div");for(let r=0;r<e.length;r+=1)e[r].c();this.h()},l(r){X("svelte-kjsin9",document.head).forEach(m),t=q(r),s=b(r,"H1",{"data-svelte-h":!0}),J(s)!=="svelte-5h4cy"&&(s.textContent=a),d=q(r),u=b(r,"DIV",{class:!0});var n=k(u);for(let g=0;g<e.length;g+=1)e[g].l(n);n.forEach(m),this.h()},h(){document.title="Presse",f(u,"class","lg:grid sm:grid grid-cols-2 md:grid-cols-3 grid-rows-2 md:grid-rows-3 mx-auto gap-4")},m(r,o){E(r,t,o),E(r,s,o),E(r,d,o),E(r,u,o);for(let n=0;n<e.length;n+=1)e[n]&&e[n].m(u,null);l=!0},p(r,[o]){if(o&1){c=G(r[0]);let n;for(n=0;n<c.length;n+=1){const g=Q(r,c,n);e[n]?(e[n].p(g,o),y(e[n],1)):(e[n]=V(g),e[n].c(),y(e[n],1),e[n].m(u,null))}for(te(),n=c.length;n<e.length;n+=1)v(n);N()}},i(r){if(!l){for(let o=0;o<c.length;o+=1)y(e[o]);l=!0}},o(r){e=e.filter(Boolean);for(let o=0;o<e.length;o+=1)F(e[o]);l=!1},d(r){r&&(m(t),m(s),m(d),m(u)),R(e,r)}}}function le(i){let t=ie;return re(t),[t]}class me extends K{constructor(t){super(),O(this,t,le,oe,T,{})}}export{me as component};
|