Files
livecodingfr/dist/_app/immutable/nodes/2.0a12dc2e.js

48 lines
73 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var fn=Object.defineProperty;var dn=(a,e,n)=>e in a?fn(a,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[e]=n;var B=(a,e,n)=>(dn(a,typeof e!="symbol"?e+"":e,n),n),mn=(a,e,n)=>{if(!e.has(a))throw TypeError("Cannot "+n)};var vt=(a,e,n)=>{if(e.has(a))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(a):e.set(a,n)};var nt=(a,e,n)=>(mn(a,e,"access private method"),n);import{s as J,n as V,o as gn,f as Ne,r as kn}from"../chunks/scheduler.63274e7e.js";import{S as ee,i as te,g as k,y as _t,s as I,H as xn,h as x,j as L,z as wt,f as m,c as A,A as bn,k as g,a as R,x as d,r as le,B as M,u as ae,v as ie,d as D,t as O,w as re,m as K,n as X,o as de,e as Qt,p as Ze,b as Qe,C as Xe,q as Ft,D as U}from"../chunks/index.cd69a05d.js";function he(a){return(a==null?void 0:a.length)!==void 0?a:Array.from(a)}function $t(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Re=$t();function on(a){Re=a}const cn=/[&<>"']/,vn=new RegExp(cn.source,"g"),un=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,_n=new RegExp(un.source,"g"),wn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ut=a=>wn[a];function se(a,e){if(e){if(cn.test(a))return a.replace(vn,Ut)}else if(un.test(a))return a.replace(_n,Ut);return a}const yn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Cn(a){return a.replace(yn,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const $n=/(^|[^\[])\^/g;function j(a,e){a=typeof a=="string"?a:a.source,e=e||"";const n={replace:(t,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace($n,"$1"),a=a.replace(t,s),n),getRegex:()=>new RegExp(a,e)};return n}function Gt(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const lt={exec:()=>null};function Kt(a,e){const n=a.replace(/\|/g,(i,l,r)=>{let o=!1,c=l;for(;--c>=0&&r[c]==="\\";)o=!o;return o?"|":" |"}),t=n.split(/ \|/);let s=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length<e;)t.push("");for(;s<t.length;s++)t[s]=t[s].trim().replace(/\\\|/g,"|");return t}function st(a,e,n){const t=a.length;if(t===0)return"";let s=0;for(;s<t;){const i=a.charAt(t-s-1);if(i===e&&!n)s++;else if(i!==e&&n)s++;else break}return a.slice(0,t-s)}function Tn(a,e){if(a.indexOf(e[1])===-1)return-1;let n=0;for(let t=0;t<a.length;t++)if(a[t]==="\\")t++;else if(a[t]===e[0])n++;else if(a[t]===e[1]&&(n--,n<0))return t;return-1}function Xt(a,e,n,t){const s=e.href,i=e.title?se(e.title):null,l=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){t.state.inLink=!0;const r={type:"link",raw:n,href:s,title:i,text:l,tokens:t.inlineTokens(l)};return t.state.inLink=!1,r}return{type:"image",raw:n,href:s,title:i,text:se(l)}}function En(a,e){const n=a.match(/^(\s+)(?:```)/);if(n===null)return e;const t=n[1];return e.split(`
`).map(s=>{const i=s.match(/^\s+/);if(i===null)return s;const[l]=i;return l.length>=t.length?s.slice(t.length):s}).join(`
`)}class it{constructor(e){B(this,"options");B(this,"rules");B(this,"lexer");this.options=e||Re}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const t=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:st(t,`
`)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const t=n[0],s=En(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:s}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let t=n[2].trim();if(/#$/.test(t)){const s=st(t,"#");(this.options.pedantic||!s||/ $/.test(s))&&(t=s.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){const t=st(n[0].replace(/^ *>[ \t]?/gm,""),`
`),s=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(t);return this.lexer.state.top=s,{type:"blockquote",raw:n[0],tokens:i,text:t}}}list(e){let n=this.rules.block.list.exec(e);if(n){let t=n[1].trim();const s=t.length>1,i={type:"list",raw:"",ordered:s,start:s?+t.slice(0,-1):"",loose:!1,items:[]};t=s?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=s?t:"[*+-]");const l=new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`);let r="",o="",c=!1;for(;e;){let u=!1;if(!(n=l.exec(e))||this.rules.block.hr.test(e))break;r=n[0],e=e.substring(r.length);let h=n[2].split(`
`,1)[0].replace(/^\t+/,z=>" ".repeat(3*z.length)),p=e.split(`
`,1)[0],T=0;this.options.pedantic?(T=2,o=h.trimStart()):(T=n[2].search(/[^ ]/),T=T>4?1:T,o=h.slice(T),T+=n[1].length);let w=!1;if(!h&&/^ *$/.test(p)&&(r+=p+`
`,e=e.substring(p.length+1),u=!0),!u){const z=new RegExp(`^ {0,${Math.min(3,T-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),v=new RegExp(`^ {0,${Math.min(3,T-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),_=new RegExp(`^ {0,${Math.min(3,T-1)}}(?:\`\`\`|~~~)`),q=new RegExp(`^ {0,${Math.min(3,T-1)}}#`);for(;e;){const f=e.split(`
`,1)[0];if(p=f,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),_.test(p)||q.test(p)||z.test(p)||v.test(e))break;if(p.search(/[^ ]/)>=T||!p.trim())o+=`
`+p.slice(T);else{if(w||h.search(/[^ ]/)>=4||_.test(h)||q.test(h)||v.test(h))break;o+=`
`+p}!w&&!p.trim()&&(w=!0),r+=f+`
`,e=e.substring(f.length+1),h=p.slice(T)}}i.loose||(c?i.loose=!0:/\n *\n *$/.test(r)&&(c=!0));let b=null,C;this.options.gfm&&(b=/^\[[ xX]\] /.exec(o),b&&(C=b[0]!=="[ ] ",o=o.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:r,task:!!b,checked:C,loose:!1,text:o,tokens:[]}),i.raw+=r}i.items[i.items.length-1].raw=r.trimEnd(),i.items[i.items.length-1].text=o.trimEnd(),i.raw=i.raw.trimEnd();for(let u=0;u<i.items.length;u++)if(this.lexer.state.top=!1,i.items[u].tokens=this.lexer.blockTokens(i.items[u].text,[]),!i.loose){const h=i.items[u].tokens.filter(T=>T.type==="space"),p=h.length>0&&h.some(T=>/\n.*\n/.test(T.raw));i.loose=p}if(i.loose)for(let u=0;u<i.items.length;u++)i.items[u].loose=!0;return i}}html(e){const n=this.rules.block.html.exec(e);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(e){const n=this.rules.block.def.exec(e);if(n){const t=n[1].toLowerCase().replace(/\s+/g," "),s=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:s,title:i}}}table(e){const n=this.rules.block.table.exec(e);if(n){if(!/[:|]/.test(n[2]))return;const t={type:"table",raw:n[0],header:Kt(n[1]).map(s=>({text:s,tokens:[]})),align:n[2].replace(/^\||\| *$/g,"").split("|"),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(t.header.length===t.align.length){let s=t.align.length,i,l,r,o;for(i=0;i<s;i++){const c=t.align[i];c&&(/^ *-+: *$/.test(c)?t.align[i]="right":/^ *:-+: *$/.test(c)?t.align[i]="center":/^ *:-+ *$/.test(c)?t.align[i]="left":t.align[i]=null)}for(s=t.rows.length,i=0;i<s;i++)t.rows[i]=Kt(t.rows[i],t.header.length).map(c=>({text:c,tokens:[]}));for(s=t.header.length,l=0;l<s;l++)t.header[l].tokens=this.lexer.inline(t.header[l].text);for(s=t.rows.length,l=0;l<s;l++)for(o=t.rows[l],r=0;r<o.length;r++)o[r].tokens=this.lexer.inline(o[r].text);return t}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const t=n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:t,tokens:this.lexer.inline(t)}}}text(e){const n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:se(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const t=n[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;const l=st(t.slice(0,-1),"\\");if((t.length-l.length)%2===0)return}else{const l=Tn(n[2],"()");if(l>-1){const o=(n[0].indexOf("!")===0?5:4)+n[1].length+l;n[2]=n[2].substring(0,l),n[0]=n[0].substring(0,o).trim(),n[3]=""}}let s=n[2],i="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],i=l[3])}else i=n[3]?n[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(this.options.pedantic&&!/>$/.test(t)?s=s.slice(1):s=s.slice(1,-1)),Xt(n,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(e,n){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){let s=(t[2]||t[1]).replace(/\s+/g," ");if(s=n[s.toLowerCase()],!s){const i=t[0].charAt(0);return{type:"text",raw:i,text:i}}return Xt(t,s,t[0],this.lexer)}}emStrong(e,n,t=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&t.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!t||this.rules.inline.punctuation.exec(t)){const l=[...s[0]].length-1;let r,o,c=l,u=0;const h=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,n=n.slice(-1*e.length+l);(s=h.exec(n))!=null;){if(r=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!r)continue;if(o=[...r].length,s[3]||s[4]){c+=o;continue}else if((s[5]||s[6])&&l%3&&!((l+o)%3)){u+=o;continue}if(c-=o,c>0)continue;o=Math.min(o,o+c+u);const p=[...s[0]][0].length,T=e.slice(0,l+s.index+p+o);if(Math.min(l,o)%2){const b=T.slice(1,-1);return{type:"em",raw:T,text:b,tokens:this.lexer.inlineTokens(b)}}const w=T.slice(2,-2);return{type:"strong",raw:T,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let t=n[2].replace(/\n/g," ");const s=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return s&&i&&(t=t.substring(1,t.length-1)),t=se(t,!0),{type:"codespan",raw:n[0],text:t}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(e){const n=this.rules.inline.autolink.exec(e);if(n){let t,s;return n[2]==="@"?(t=se(n[1]),s="mailto:"+t):(t=se(n[1]),s=t),{type:"link",raw:n[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let t,s;if(n[2]==="@")t=se(n[0]),s="mailto:"+t;else{let i;do i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(i!==n[0]);t=se(n[0]),n[1]==="www."?s="http://"+n[0]:s=n[0]}return{type:"link",raw:n[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e){const n=this.rules.inline.text.exec(e);if(n){let t;return this.lexer.state.inRawBlock?t=n[0]:t=se(n[0]),{type:"text",raw:n[0],text:t}}}}const S={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:lt,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};S._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;S._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;S.def=j(S.def).replace("label",S._label).replace("title",S._title).getRegex();S.bullet=/(?:[*+-]|\d{1,9}[.)])/;S.listItemStart=j(/^( *)(bull) */).replace("bull",S.bullet).getRegex();S.list=j(S.list).replace(/bull/g,S.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+S.def.source+")").getRegex();S._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";S._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;S.html=j(S.html,"i").replace("comment",S._comment).replace("tag",S._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();S.lheading=j(S.lheading).replace(/bull/g,S.bullet).getRegex();S.paragraph=j(S._paragraph).replace("hr",S.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex();S.blockquote=j(S.blockquote).replace("paragraph",S.paragraph).getRegex();S.normal={...S};S.gfm={...S.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};S.gfm.table=j(S.gfm.table).replace("hr",S.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex();S.gfm.paragraph=j(S._paragraph).replace("hr",S.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",S.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex();S.pedantic={...S.normal,html:j(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",S._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:lt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:j(S.normal._paragraph).replace("hr",S.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",S.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:lt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:lt,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};$._punctuation="\\p{P}$+<=>`^|~";$.punctuation=j($.punctuation,"u").replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;$.anyPunctuation=/\\[punct]/g;$._escapes=/\\([punct])/g;$._comment=j(S._comment).replace("(?:-->|$)","-->").getRegex();$.emStrong.lDelim=j($.emStrong.lDelim,"u").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimAst=j($.emStrong.rDelimAst,"gu").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimUnd=j($.emStrong.rDelimUnd,"gu").replace(/punct/g,$._punctuation).getRegex();$.anyPunctuation=j($.anyPunctuation,"gu").replace(/punct/g,$._punctuation).getRegex();$._escapes=j($._escapes,"gu").replace(/punct/g,$._punctuation).getRegex();$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;$._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;$.autolink=j($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=j($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=j($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=j($.reflink).replace("label",$._label).replace("ref",S._label).getRegex();$.nolink=j($.nolink).replace("ref",S._label).getRegex();$.reflinkSearch=j($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex();$.normal={...$};$.pedantic={...$.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:j(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()};$.gfm={...$.normal,escape:j($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/};$.gfm.url=j($.gfm.url,"i").replace("email",$.gfm._extended_email).getRegex();$.breaks={...$.gfm,br:j($.br).replace("{2,}","*").getRegex(),text:j($.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class pe{constructor(e){B(this,"tokens");B(this,"options");B(this,"state");B(this,"tokenizer");B(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Re,this.options.tokenizer=this.options.tokenizer||new it,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:S.normal,inline:$.normal};this.options.pedantic?(n.block=S.pedantic,n.inline=$.pedantic):this.options.gfm&&(n.block=S.gfm,this.options.breaks?n.inline=$.breaks:n.inline=$.gfm),this.tokenizer.rules=n}static get rules(){return{block:S,inline:$}}static lex(e,n){return new pe(n).lex(e)}static lexInline(e,n){return new pe(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
`),this.blockTokens(e,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(e,n=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(r,o,c)=>o+" ".repeat(c.length));let t,s,i,l;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>(t=r.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length),t.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
`+t.raw,s.text+=`
`+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let r=1/0;const o=e.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},o),typeof c=="number"&&c>=0&&(r=Math.min(r,c))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(t=this.tokenizer.paragraph(i))){s=n[n.length-1],l&&s.type==="paragraph"?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t),l=i.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&s.type==="text"?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t);continue}if(e){const r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let t,s,i,l=e,r,o,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)u.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(l))!=null;)l=l.slice(0,r.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(c=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(t=u.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.escape(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.tag(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&t.type==="text"&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(t=this.tokenizer.link(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length),s=n[n.length-1],s&&t.type==="text"&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(t=this.tokenizer.emStrong(e,l,c)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.codespan(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.br(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.del(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.autolink(e)){e=e.substring(t.raw.length),n.push(t);continue}if(!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),n.push(t);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const h=e.slice(1);let p;this.options.extensions.startInline.forEach(T=>{p=T.call({lexer:this},h),typeof p=="number"&&p>=0&&(u=Math.min(u,p))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(t=this.tokenizer.inlineText(i)){e=e.substring(t.raw.length),t.raw.slice(-1)!=="_"&&(c=t.raw.slice(-1)),o=!0,s=n[n.length-1],s&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}}class rt{constructor(e){B(this,"options");this.options=e||Re}code(e,n,t){var i;const s=(i=(n||"").match(/^\S*/))==null?void 0:i[0];return e=e.replace(/\n$/,"")+`
`,s?'<pre><code class="language-'+se(s)+'">'+(t?e:se(e,!0))+`</code></pre>
`:"<pre><code>"+(t?e:se(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e,n){return e}heading(e,n,t){return`<h${n}>${e}</h${n}>
`}hr(){return`<hr>
`}list(e,n,t){const s=n?"ol":"ul",i=n&&t!==1?' start="'+t+'"':"";return"<"+s+i+`>
`+e+"</"+s+`>
`}listitem(e,n,t){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
`}table(e,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
<thead>
`+e+`</thead>
`+n+`</table>
`}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,n){const t=n.header?"th":"td";return(n.align?`<${t} align="${n.align}">`:`<${t}>`)+e+`</${t}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,n,t){const s=Gt(e);if(s===null)return t;e=s;let i='<a href="'+e+'"';return n&&(i+=' title="'+n+'"'),i+=">"+t+"</a>",i}image(e,n,t){const s=Gt(e);if(s===null)return t;e=s;let i=`<img src="${e}" alt="${t}"`;return n&&(i+=` title="${n}"`),i+=">",i}text(e){return e}}class Tt{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,n,t){return""+t}image(e,n,t){return""+t}br(){return""}}class fe{constructor(e){B(this,"options");B(this,"renderer");B(this,"textRenderer");this.options=e||Re,this.options.renderer=this.options.renderer||new rt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Tt}static parse(e,n){return new fe(n).parse(e)}static parseInline(e,n){return new fe(n).parseInline(e)}parse(e,n=!0){let t="";for(let s=0;s<e.length;s++){const i=e[s];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const l=i,r=this.options.extensions.renderers[l.type].call({parser:this},l);if(r!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(l.type)){t+=r||"";continue}}switch(i.type){case"space":continue;case"hr":{t+=this.renderer.hr();continue}case"heading":{const l=i;t+=this.renderer.heading(this.parseInline(l.tokens),l.depth,Cn(this.parseInline(l.tokens,this.textRenderer)));continue}case"code":{const l=i;t+=this.renderer.code(l.text,l.lang,!!l.escaped);continue}case"table":{const l=i;let r="",o="";for(let u=0;u<l.header.length;u++)o+=this.renderer.tablecell(this.parseInline(l.header[u].tokens),{header:!0,align:l.align[u]});r+=this.renderer.tablerow(o);let c="";for(let u=0;u<l.rows.length;u++){const h=l.rows[u];o="";for(let p=0;p<h.length;p++)o+=this.renderer.tablecell(this.parseInline(h[p].tokens),{header:!1,align:l.align[p]});c+=this.renderer.tablerow(o)}t+=this.renderer.table(r,c);continue}case"blockquote":{const l=i,r=this.parse(l.tokens);t+=this.renderer.blockquote(r);continue}case"list":{const l=i,r=l.ordered,o=l.start,c=l.loose;let u="";for(let h=0;h<l.items.length;h++){const p=l.items[h],T=p.checked,w=p.task;let b="";if(p.task){const C=this.renderer.checkbox(!!T);c?p.tokens.length>0&&p.tokens[0].type==="paragraph"?(p.tokens[0].text=C+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&p.tokens[0].tokens[0].type==="text"&&(p.tokens[0].tokens[0].text=C+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:C+" "}):b+=C+" "}b+=this.parse(p.tokens,c),u+=this.renderer.listitem(b,w,!!T)}t+=this.renderer.list(u,r,o);continue}case"html":{const l=i;t+=this.renderer.html(l.text,l.block);continue}case"paragraph":{const l=i;t+=this.renderer.paragraph(this.parseInline(l.tokens));continue}case"text":{let l=i,r=l.tokens?this.parseInline(l.tokens):l.text;for(;s+1<e.length&&e[s+1].type==="text";)l=e[++s],r+=`
`+(l.tokens?this.parseInline(l.tokens):l.text);t+=n?this.renderer.paragraph(r):r;continue}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return t}parseInline(e,n){n=n||this.renderer;let t="";for(let s=0;s<e.length;s++){const i=e[s];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){t+=l||"";continue}}switch(i.type){case"escape":{const l=i;t+=n.text(l.text);break}case"html":{const l=i;t+=n.html(l.text);break}case"link":{const l=i;t+=n.link(l.href,l.title,this.parseInline(l.tokens,n));break}case"image":{const l=i;t+=n.image(l.href,l.title,l.text);break}case"strong":{const l=i;t+=n.strong(this.parseInline(l.tokens,n));break}case"em":{const l=i;t+=n.em(this.parseInline(l.tokens,n));break}case"codespan":{const l=i;t+=n.codespan(l.text);break}case"br":{t+=n.br();break}case"del":{const l=i;t+=n.del(this.parseInline(l.tokens,n));break}case"text":{const l=i;t+=n.text(l.text);break}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return t}}class Ke{constructor(e){B(this,"options");this.options=e||Re}preprocess(e){return e}postprocess(e){return e}}B(Ke,"passThroughHooks",new Set(["preprocess","postprocess"]));var We,yt,at,hn;class zn{constructor(...e){vt(this,We);vt(this,at);B(this,"defaults",$t());B(this,"options",this.setOptions);B(this,"parse",nt(this,We,yt).call(this,pe.lex,fe.parse));B(this,"parseInline",nt(this,We,yt).call(this,pe.lexInline,fe.parseInline));B(this,"Parser",fe);B(this,"parser",fe.parse);B(this,"Renderer",rt);B(this,"TextRenderer",Tt);B(this,"Lexer",pe);B(this,"lexer",pe.lex);B(this,"Tokenizer",it);B(this,"Hooks",Ke);this.use(...e)}walkTokens(e,n){var s,i;let t=[];for(const l of e)switch(t=t.concat(n.call(this,l)),l.type){case"table":{const r=l;for(const o of r.header)t=t.concat(this.walkTokens(o.tokens,n));for(const o of r.rows)for(const c of o)t=t.concat(this.walkTokens(c.tokens,n));break}case"list":{const r=l;t=t.concat(this.walkTokens(r.items,n));break}default:{const r=l;(i=(s=this.defaults.extensions)==null?void 0:s.childTokens)!=null&&i[r.type]?this.defaults.extensions.childTokens[r.type].forEach(o=>{t=t.concat(this.walkTokens(r[o],n))}):r.tokens&&(t=t.concat(this.walkTokens(r.tokens,n)))}}return t}use(...e){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{const s={...t};if(s.async=this.defaults.async||s.async||!1,t.extensions&&(t.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const l=n.renderers[i.name];l?n.renderers[i.name]=function(...r){let o=i.renderer.apply(this,r);return o===!1&&(o=l.apply(this,r)),o}:n.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=n[i.level];l?l.unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),s.extensions=n),t.renderer){const i=this.defaults.renderer||new rt(this.defaults);for(const l in t.renderer){const r=t.renderer[l],o=l,c=i[o];i[o]=(...u)=>{let h=r.apply(i,u);return h===!1&&(h=c.apply(i,u)),h||""}}s.renderer=i}if(t.tokenizer){const i=this.defaults.tokenizer||new it(this.defaults);for(const l in t.tokenizer){const r=t.tokenizer[l],o=l,c=i[o];i[o]=(...u)=>{let h=r.apply(i,u);return h===!1&&(h=c.apply(i,u)),h}}s.tokenizer=i}if(t.hooks){const i=this.defaults.hooks||new Ke;for(const l in t.hooks){const r=t.hooks[l],o=l,c=i[o];Ke.passThroughHooks.has(l)?i[o]=u=>{if(this.defaults.async)return Promise.resolve(r.call(i,u)).then(p=>c.call(i,p));const h=r.call(i,u);return c.call(i,h)}:i[o]=(...u)=>{let h=r.apply(i,u);return h===!1&&(h=c.apply(i,u)),h}}s.hooks=i}if(t.walkTokens){const i=this.defaults.walkTokens,l=t.walkTokens;s.walkTokens=function(r){let o=[];return o.push(l.call(this,r)),i&&(o=o.concat(i.call(this,r))),o}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}We=new WeakSet,yt=function(e,n){return(t,s)=>{const i={...s},l={...this.defaults,...i};this.defaults.async===!0&&i.async===!1&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const r=nt(this,at,hn).call(this,!!l.silent,!!l.async);if(typeof t>"u"||t===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(t):t).then(o=>e(o,l)).then(o=>l.walkTokens?Promise.all(this.walkTokens(o,l.walkTokens)).then(()=>o):o).then(o=>n(o,l)).then(o=>l.hooks?l.hooks.postprocess(o):o).catch(r);try{l.hooks&&(t=l.hooks.preprocess(t));const o=e(t,l);l.walkTokens&&this.walkTokens(o,l.walkTokens);let c=n(o,l);return l.hooks&&(c=l.hooks.postprocess(c)),c}catch(o){return r(o)}}},at=new WeakSet,hn=function(e,n){return t=>{if(t.message+=`
Please report this to https://github.com/markedjs/marked.`,e){const s="<p>An error occurred:</p><pre>"+se(t.message+"",!0)+"</pre>";return n?Promise.resolve(s):s}if(n)return Promise.reject(t);throw t}};const Ae=new zn;function P(a,e){return Ae.parse(a,e)}P.options=P.setOptions=function(a){return Ae.setOptions(a),P.defaults=Ae.defaults,on(P.defaults),P};P.getDefaults=$t;P.defaults=Re;P.use=function(...a){return Ae.use(...a),P.defaults=Ae.defaults,on(P.defaults),P};P.walkTokens=function(a,e){return Ae.walkTokens(a,e)};P.parseInline=Ae.parseInline;P.Parser=fe;P.parser=fe.parse;P.Renderer=rt;P.TextRenderer=Tt;P.Lexer=pe;P.lexer=pe.lex;P.Tokenizer=it;P.Hooks=Ke;P.parse=P;P.options;P.setOptions;P.use;P.walkTokens;P.parseInline;fe.parse;pe.lex;function In(a){let e,n,t,s,i,l;return{c(){e=k("div"),n=_t("svg"),t=_t("path"),s=I(),i=k("span"),l=new xn(!1),this.h()},l(r){e=x(r,"DIV",{class:!0});var o=L(e);n=wt(o,"svg",{xmlns:!0,fill:!0,viewBox:!0,class:!0});var c=L(n);t=wt(c,"path",{"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),L(t).forEach(m),c.forEach(m),s=A(o),i=x(o,"SPAN",{class:!0});var u=L(i);l=bn(u,!1),u.forEach(m),o.forEach(m),this.h()},h(){g(t,"stroke-linecap","round"),g(t,"stroke-linejoin","round"),g(t,"stroke-width","2"),g(t,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),g(n,"xmlns","http://www.w3.org/2000/svg"),g(n,"fill","none"),g(n,"viewBox","0 0 24 24"),g(n,"class","stroke-current shrink-0 w-6 h-6"),l.a=null,g(i,"class","text-2xl"),g(e,"class","alert")},m(r,o){R(r,e,o),d(e,n),d(n,t),d(e,s),d(e,i),l.m(a[0],i)},p(r,[o]){o&1&&l.p(r[0])},i:V,o:V,d(r){r&&m(e)}}}function An(a,e,n){let{info:t}=e,{markdown:s}=e;return gn(()=>{s&&P(t)}),a.$$set=i=>{"info"in i&&n(0,t=i.info),"markdown"in i&&n(1,s=i.markdown)},[t,s]}class ot extends ee{constructor(e){super(),te(this,e,An,In,J,{info:0,markdown:1})}}function Rn(a){let e,n="Quest-ce que le live-coding ?",t,s,i,l,r='Historiquement, le <em>live coding</em> est un type de création porté par le collectif <a href="https://toplap.org" rel="nofollow">TOPLAP</a>. Il existe de nombreux groupes en Europe et dans le monde qui promeuvent ce type de pratiques : <a href="https://toplap.cat/en/home" rel="nofollow">TOPLAP Barcelona</a>, <a href="https://livecode.nyc/" rel="nofollow">Livecode NYC</a>, parmi dautres. La pratique du <em>live coding</em> sest popularisée au travers du <a href="">Manifeste TOPLAP</a> et des <a href="https://algorave.com" rel="nofollow">Algoraves</a> (<em>algorithmic rave parties</em>). Il est pourtant délicat de limiter la pratique à ces seuls exemples.',o,c,u="À propos de ce site",h,p,T='Ce site est une collection de ressources. Il est conçu pour combler le vide qui existe aujourdhui dans la communauté francophone du <em>live coding</em>. Il peut être édité et modifié par tout le monde à <a href="https://github.com/Bubobubobubobubo/livecodingfr" rel="nofollow">cette adresse</a>. Rajoutez vos logiciels, vos coordonnées ou toute information qui vous semble importante.',w,b,C="Comment contribuer ?",z,v,_='Le site est hébergé sur <a href="https://github.com/Bubobubobubobubo/livecodingfr" rel="nofollow">GitHub</a>. Pour ajouter une information au site, veuillez créer une <a href="https://docs.github.com/fr/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request" rel="nofollow">Pull Request</a>. Vous pouvez aussi contacter lun des membres qui se chargera de transmettre linformation.',q;return s=new ot({props:{info:"Le <i>live coding</i> est une pratique artistique qui fait de l'acte de programmation un geste expressif et performatif. Les <i>live coders</i> considèrent l'interface de programmation comme un instrument de musique. Le <i>live coding</i> est un art au croisement entre synthèse sonore, improvisation musicale et musique algorithmique générative.<br><br> Le <i>live coding</i> est au croisement de plusieurs arts et encourage des approches transdisciplinaires de la création : musique, arts visuels, informatique, jeux vidéos, danse, etc. Plus largement, le <i>live coding</i> est un domaine critique qui encourage les artistes à repenser leur rapport à l'informatique. Le <i>live coding</i> est traversé par la culture <i>hacker</i>, par la philosophie du logiciel libre et <i>open source</i>. Il souhaite également développer une nouvelle forme d'expressivité au sein des arts, en considérant l'ordinateur comme une interface pour la <i>programmation exploratoire</i> ou <i>programmation conversationnelle</i>.",markdown:"false"}}),{c(){e=k("h1"),e.textContent=n,t=I(),le(s.$$.fragment),i=I(),l=k("p"),l.innerHTML=r,o=I(),c=k("h1"),c.textContent=u,h=I(),p=k("p"),p.innerHTML=T,w=I(),b=k("h1"),b.textContent=C,z=I(),v=k("p"),v.innerHTML=_},l(f){e=x(f,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-z12tl4"&&(e.textContent=n),t=A(f),ae(s.$$.fragment,f),i=A(f),l=x(f,"P",{"data-svelte-h":!0}),M(l)!=="svelte-1scfhnp"&&(l.innerHTML=r),o=A(f),c=x(f,"H1",{"data-svelte-h":!0}),M(c)!=="svelte-9nyscp"&&(c.textContent=u),h=A(f),p=x(f,"P",{"data-svelte-h":!0}),M(p)!=="svelte-c8sr0y"&&(p.innerHTML=T),w=A(f),b=x(f,"H1",{"data-svelte-h":!0}),M(b)!=="svelte-15qmnqt"&&(b.textContent=C),z=A(f),v=x(f,"P",{"data-svelte-h":!0}),M(v)!=="svelte-1ht7736"&&(v.innerHTML=_)},m(f,y){R(f,e,y),R(f,t,y),ie(s,f,y),R(f,i,y),R(f,l,y),R(f,o,y),R(f,c,y),R(f,h,y),R(f,p,y),R(f,w,y),R(f,b,y),R(f,z,y),R(f,v,y),q=!0},p:V,i(f){q||(D(s.$$.fragment,f),q=!0)},o(f){O(s.$$.fragment,f),q=!1},d(f){f&&(m(e),m(t),m(i),m(l),m(o),m(c),m(h),m(p),m(w),m(b),m(z),m(v)),re(s,f)}}}class Ln extends ee{constructor(e){super(),te(this,e,null,Rn,J,{})}}function Sn(a){let e,n,t,s=a[2][1]+"",i,l,r,o,c=a[2][0]+"",u,h,p,T,w=a[2][2]+"",b,C,z,v,_,q,f,y;return{c(){e=k("div"),n=k("div"),t=k("div"),i=K(s),l=I(),r=k("div"),o=k("span"),u=K(c),h=I(),p=k("div"),T=k("span"),b=K(w),C=I(),z=k("div"),v=k("h3"),_=K(a[0]),q=I(),f=k("p"),y=K(a[1]),this.h()},l(E){e=x(E,"DIV",{class:!0});var H=L(e);n=x(H,"DIV",{class:!0});var G=L(n);t=x(G,"DIV",{class:!0});var ne=L(t);i=X(ne,s),ne.forEach(m),l=A(G),r=x(G,"DIV",{class:!0});var Q=L(r);o=x(Q,"SPAN",{class:!0});var Fe=L(o);u=X(Fe,c),Fe.forEach(m),Q.forEach(m),h=A(G),p=x(G,"DIV",{class:!0});var Le=L(p);T=x(Le,"SPAN",{class:!0});var oe=L(T);b=X(oe,w),oe.forEach(m),Le.forEach(m),G.forEach(m),C=A(H),z=x(H,"DIV",{class:!0});var Ce=L(z);v=x(Ce,"H3",{class:!0});var $e=L(v);_=X($e,a[0]),$e.forEach(m),q=A(Ce),f=x(Ce,"P",{class:!0});var Te=L(f);y=X(Te,a[1]),Te.forEach(m),Ce.forEach(m),H.forEach(m),this.h()},h(){g(t,"class","bg-red-800 text-white py-1"),g(o,"class","text-4xl font-bold"),g(r,"class","pt-1 border-l border-r"),g(T,"class","text-xs font-bold"),g(p,"class","pb-2 px-2 border-l border-r border-b rounded-b flex justify-between"),g(n,"class","w-42 block rounded-t overflow-hidden bg-white text-center min-w-max"),g(v,"class","pl-4 flex"),g(f,"class","pl-4"),g(z,"class","block"),g(e,"class","flex flex-row")},m(E,H){R(E,e,H),d(e,n),d(n,t),d(t,i),d(n,l),d(n,r),d(r,o),d(o,u),d(n,h),d(n,p),d(p,T),d(T,b),d(e,C),d(e,z),d(z,v),d(v,_),d(z,q),d(z,f),d(f,y)},p(E,[H]){H&1&&de(_,E[0]),H&2&&de(y,E[1])},i:V,o:V,d(E){E&&m(e)}}}function qn(a,e,n){let{date:t}=e,{title:s}=e,{description:i}=e,l=t.split(" ");return a.$$set=r=>{"date"in r&&n(3,t=r.date),"title"in r&&n(0,s=r.title),"description"in r&&n(1,i=r.description)},[s,i,l,t]}class pn extends ee{constructor(e){super(),te(this,e,qn,Sn,J,{date:3,title:0,description:1})}}function Wt(a,e,n){const t=a.slice();return t[2]=e[n].title,t[3]=e[n].description,t[4]=e[n].date,t[6]=n,t}function Yt(a,e,n){const t=a.slice();return t[2]=e[n].title,t[3]=e[n].description,t[4]=e[n].date,t[6]=n,t}function Jt(a){let e,n;return e=new pn({props:{date:a[4],description:a[3],title:a[2]}}),{c(){le(e.$$.fragment)},l(t){ae(e.$$.fragment,t)},m(t,s){ie(e,t,s),n=!0},p:V,i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){re(e,t)}}}function en(a){let e,n;return e=new pn({props:{date:a[4],description:a[3],title:a[2]}}),{c(){le(e.$$.fragment)},l(t){ae(e.$$.fragment,t)},m(t,s){ie(e,t,s),n=!0},p:V,i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){re(e,t)}}}function Mn(a){let e,n="Évènements",t,s,i,l,r="À venir",o,c,u,h="Passés",p,T,w;s=new ot({props:{info:"Cette page recense tout les évènements dédiés au <i>live coding</i> organisés par la scène francophone. Ajoutez vos évènements. N'oubliez pas de fournir un lien si possible. Renseignez les évènements pour archivage !",markdown:"false"}});let b=he(a[0]),C=[];for(let f=0;f<b.length;f+=1)C[f]=Jt(Yt(a,b,f));const z=f=>O(C[f],1,1,()=>{C[f]=null});let v=he(a[0]),_=[];for(let f=0;f<v.length;f+=1)_[f]=en(Wt(a,v,f));const q=f=>O(_[f],1,1,()=>{_[f]=null});return{c(){e=k("h1"),e.textContent=n,t=I(),le(s.$$.fragment),i=I(),l=k("h2"),l.textContent=r,o=I();for(let f=0;f<C.length;f+=1)C[f].c();c=I(),u=k("h2"),u.textContent=h,p=I();for(let f=0;f<_.length;f+=1)_[f].c();T=Qt()},l(f){e=x(f,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-vpqc01"&&(e.textContent=n),t=A(f),ae(s.$$.fragment,f),i=A(f),l=x(f,"H2",{"data-svelte-h":!0}),M(l)!=="svelte-15ogma4"&&(l.textContent=r),o=A(f);for(let y=0;y<C.length;y+=1)C[y].l(f);c=A(f),u=x(f,"H2",{"data-svelte-h":!0}),M(u)!=="svelte-a252xn"&&(u.textContent=h),p=A(f);for(let y=0;y<_.length;y+=1)_[y].l(f);T=Qt()},m(f,y){R(f,e,y),R(f,t,y),ie(s,f,y),R(f,i,y),R(f,l,y),R(f,o,y);for(let E=0;E<C.length;E+=1)C[E]&&C[E].m(f,y);R(f,c,y),R(f,u,y),R(f,p,y);for(let E=0;E<_.length;E+=1)_[E]&&_[E].m(f,y);R(f,T,y),w=!0},p(f,[y]){if(y&1){b=he(f[0]);let E;for(E=0;E<b.length;E+=1){const H=Yt(f,b,E);C[E]?(C[E].p(H,y),D(C[E],1)):(C[E]=Jt(H),C[E].c(),D(C[E],1),C[E].m(c.parentNode,c))}for(Ze(),E=b.length;E<C.length;E+=1)z(E);Qe()}if(y&1){v=he(f[0]);let E;for(E=0;E<v.length;E+=1){const H=Wt(f,v,E);_[E]?(_[E].p(H,y),D(_[E],1)):(_[E]=en(H),_[E].c(),D(_[E],1),_[E].m(T.parentNode,T))}for(Ze(),E=v.length;E<_.length;E+=1)q(E);Qe()}},i(f){if(!w){D(s.$$.fragment,f);for(let y=0;y<b.length;y+=1)D(C[y]);for(let y=0;y<v.length;y+=1)D(_[y]);w=!0}},o(f){O(s.$$.fragment,f),C=C.filter(Boolean);for(let y=0;y<C.length;y+=1)O(C[y]);_=_.filter(Boolean);for(let y=0;y<_.length;y+=1)O(_[y]);w=!1},d(f){f&&(m(e),m(t),m(i),m(l),m(o),m(c),m(u),m(p),m(T)),re(s,f),Xe(C,f),Xe(_,f)}}}function Hn(a){return[[{date:"1 jan 2023",description:"Description de l'évènement",title:"Template pour un évènement"}]]}class jn extends ee{constructor(e){super(),te(this,e,Hn,Mn,J,{})}}function Pn(a){let e,n="Contact",t,s,i,l,r="Contacter un artiste",o,c,u="<li>Consulter le site web sur la page <strong>Membres</strong>.</li>",h,p,T="Contacter un collectif",w,b,C="<li>Consulter le site web sur la page <strong>Réseaux</strong>.</li>",z;return s=new ot({props:{info:"<b>Livecoding.fr</b> n'est pas ni un collectif ni une organisation. L'objectif de ce site est uniquement de centraliser l'information et de donner plus de visibilité à la scène <i>live coding</i> francophone.",markdown:"false"}}),{c(){e=k("h1"),e.textContent=n,t=I(),le(s.$$.fragment),i=I(),l=k("h2"),l.textContent=r,o=I(),c=k("ul"),c.innerHTML=u,h=I(),p=k("h2"),p.textContent=T,w=I(),b=k("ul"),b.innerHTML=C},l(v){e=x(v,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-tbczl2"&&(e.textContent=n),t=A(v),ae(s.$$.fragment,v),i=A(v),l=x(v,"H2",{"data-svelte-h":!0}),M(l)!=="svelte-xszhwq"&&(l.textContent=r),o=A(v),c=x(v,"UL",{"data-svelte-h":!0}),M(c)!=="svelte-1vm6ar4"&&(c.innerHTML=u),h=A(v),p=x(v,"H2",{"data-svelte-h":!0}),M(p)!=="svelte-10qj64p"&&(p.textContent=T),w=A(v),b=x(v,"UL",{"data-svelte-h":!0}),M(b)!=="svelte-annlzk"&&(b.innerHTML=C)},m(v,_){R(v,e,_),R(v,t,_),ie(s,v,_),R(v,i,_),R(v,l,_),R(v,o,_),R(v,c,_),R(v,h,_),R(v,p,_),R(v,w,_),R(v,b,_),z=!0},p:V,i(v){z||(D(s.$$.fragment,v),z=!0)},o(v){O(s.$$.fragment,v),z=!1},d(v){v&&(m(e),m(t),m(i),m(l),m(o),m(c),m(h),m(p),m(w),m(b)),re(s,v)}}}class Dn extends ee{constructor(e){super(),te(this,e,null,Pn,J,{})}}function Bn(a){let e,n,t,s,i,l,r,o,c=a[4](a[0],50)+"",u,h,p,T,w,b,C,z,v;return{c(){e=k("div"),n=k("a"),t=k("img"),i=I(),l=k("div"),r=k("a"),o=k("h5"),u=K(c),h=I(),p=k("p"),T=K(a[1]),w=I(),b=k("a"),C=K(`En savoir plus
`),z=k("svg"),v=_t("path"),this.h()},l(_){e=x(_,"DIV",{class:!0});var q=L(e);n=x(q,"A",{href:!0});var f=L(n);t=x(f,"IMG",{class:!0,src:!0,alt:!0}),f.forEach(m),i=A(q),l=x(q,"DIV",{class:!0});var y=L(l);r=x(y,"A",{href:!0});var E=L(r);o=x(E,"H5",{class:!0});var H=L(o);u=X(H,c),H.forEach(m),E.forEach(m),h=A(y),p=x(y,"P",{class:!0});var G=L(p);T=X(G,a[1]),G.forEach(m),w=A(y),b=x(y,"A",{href:!0,class:!0});var ne=L(b);C=X(ne,`En savoir plus
`),z=x(ne,"SVG",{class:!0,"aria-hidden":!0,xmlns:!0,fill:!0,viewBox:!0});var Q=L(z);v=wt(Q,"path",{stroke:!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),L(v).forEach(m),Q.forEach(m),ne.forEach(m),y.forEach(m),q.forEach(m),this.h()},h(){g(t,"class","rounded-t-lg h-48 w-80 object-cover"),Ne(t.src,s=a[2])||g(t,"src",s),g(t,"alt",""),g(n,"href","#"),g(o,"class","mb-2 text-lg font-bold tracking-tight text-gray-900 dark:text-white"),g(r,"href","#"),g(p,"class","mb-3 font-normal text-gray-700 dark:text-gray-400"),g(v,"stroke","currentColor"),g(v,"stroke-linecap","round"),g(v,"stroke-linejoin","round"),g(v,"stroke-width","2"),g(v,"d","M1 5h12m0 0L9 1m4 4L9 9"),g(z,"class","w-3.5 h-3.5 ml-2"),g(z,"aria-hidden","true"),g(z,"xmlns",a[3]),g(z,"fill","none"),g(z,"viewBox","0 0 14 10"),g(b,"href",a[3]),g(b,"class","inline-flex items-center btn btn-primary text-sm font-medium text-center"),g(l,"class","p-5"),g(e,"class","max-w-sm w-80 h-fit bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700")},m(_,q){R(_,e,q),d(e,n),d(n,t),d(e,i),d(e,l),d(l,r),d(r,o),d(o,u),d(l,h),d(l,p),d(p,T),d(l,w),d(l,b),d(b,C),d(b,z),d(z,v)},p(_,[q]){q&4&&!Ne(t.src,s=_[2])&&g(t,"src",s),q&1&&c!==(c=_[4](_[0],50)+"")&&de(u,c),q&2&&de(T,_[1]),q&8&&g(z,"xmlns",_[3]),q&8&&g(b,"href",_[3])},i:V,o:V,d(_){_&&m(e)}}}function On(a,e,n){let{title:t}=e,{description:s}=e,{image:i}=e,{link:l}=e;const r=(o,c)=>o.length>c?o.slice(0,c-3)+"...":o;return a.$$set=o=>{"title"in o&&n(0,t=o.title),"description"in o&&n(1,s=o.description),"image"in o&&n(2,i=o.image),"link"in o&&n(3,l=o.link)},[t,s,i,l,r]}class Vn extends ee{constructor(e){super(),te(this,e,On,Bn,J,{title:0,description:1,image:2,link:3})}}function tn(a,e,n){const t=a.slice();return t[1]=e[n].title,t[2]=e[n].picture,t[3]=e[n].link,t[4]=e[n].author,t[6]=n,t}function nn(a){let e,n;return e=new Vn({props:{title:a[1],description:a[4],image:a[2],link:a[3]}}),{c(){le(e.$$.fragment)},l(t){ae(e.$$.fragment,t)},m(t,s){ie(e,t,s),n=!0},p:V,i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){re(e,t)}}}function Nn(a){let e,n="Presse",t,s,i,l=he(a[0]),r=[];for(let c=0;c<l.length;c+=1)r[c]=nn(tn(a,l,c));const o=c=>O(r[c],1,1,()=>{r[c]=null});return{c(){e=k("h1"),e.textContent=n,t=I(),s=k("div");for(let c=0;c<r.length;c+=1)r[c].c();this.h()},l(c){e=x(c,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-5h4cy"&&(e.textContent=n),t=A(c),s=x(c,"DIV",{class:!0});var u=L(s);for(let h=0;h<r.length;h+=1)r[h].l(u);u.forEach(m),this.h()},h(){g(s,"class","grid grid-cols-2 md:grid-cols-3 grid-rows-3 md:grid-rows-2 gap-8 mx-auto gap-4")},m(c,u){R(c,e,u),R(c,t,u),R(c,s,u);for(let h=0;h<r.length;h+=1)r[h]&&r[h].m(s,null);i=!0},p(c,[u]){if(u&1){l=he(c[0]);let h;for(h=0;h<l.length;h+=1){const p=tn(c,l,h);r[h]?(r[h].p(p,u),D(r[h],1)):(r[h]=nn(p),r[h].c(),D(r[h],1),r[h].m(s,null))}for(Ze(),h=l.length;h<r.length;h+=1)o(h);Qe()}},i(c){if(!i){for(let u=0;u<l.length;u+=1)D(r[u]);i=!0}},o(c){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)O(r[u]);i=!1},d(c){c&&(m(e),m(t),m(s)),Xe(r,c)}}}function Zn(a){return[[{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:"",link:"https://www.lest-eclair.fr/id531959/article/2023-10-20/la-micro-folie-sillonnera-le-territoire-barsequanais",author:"??? (L'Est Éclair)"},{title:"Quest-ce que lalgorave, 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)"}]]}class Qn extends ee{constructor(e){super(),te(this,e,Zn,Nn,J,{})}}function Fn(a){let e,n,t,s,i,l,r,o,c,u,h,p,T,w,b,C;return{c(){e=k("div"),n=k("div"),t=I(),s=k("div"),i=k("img"),r=I(),o=k("h5"),c=K(a[1]),u=I(),h=k("span"),p=K(a[3]),T=I(),w=k("div"),b=k("a"),C=K("Site"),this.h()},l(z){e=x(z,"DIV",{class:!0});var v=L(e);n=x(v,"DIV",{class:!0}),L(n).forEach(m),t=A(v),s=x(v,"DIV",{class:!0});var _=L(s);i=x(_,"IMG",{class:!0,src:!0,alt:!0}),r=A(_),o=x(_,"H5",{class:!0});var q=L(o);c=X(q,a[1]),q.forEach(m),u=A(_),h=x(_,"SPAN",{class:!0});var f=L(h);p=X(f,a[3]),f.forEach(m),T=A(_),w=x(_,"DIV",{class:!0});var y=L(w);b=x(y,"A",{href:!0,class:!0});var E=L(b);C=X(E,"Site"),E.forEach(m),y.forEach(m),_.forEach(m),v.forEach(m),this.h()},h(){g(n,"class","flex justify-end px-4 pt-4"),g(i,"class","w-24 h-24 mb-3 rounded-full shadow-lg"),Ne(i.src,l=a[0])||g(i,"src",l),g(i,"alt","Portrait"),g(o,"class","mb-1 text-xl font-medium text-gray-900 dark:text-white"),g(h,"class","text-sm text-gray-500 dark:text-gray-400"),g(b,"href",a[2]),g(b,"class","btn btn-tertiary"),g(w,"class","flex mt-4 space-x-3 md:mt-6"),g(s,"class","flex flex-col items-center pb-10"),g(e,"class","mx-2 w-full max-w-sm bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700")},m(z,v){R(z,e,v),d(e,n),d(e,t),d(e,s),d(s,i),d(s,r),d(s,o),d(o,c),d(s,u),d(s,h),d(h,p),d(s,T),d(s,w),d(w,b),d(b,C)},p(z,[v]){v&1&&!Ne(i.src,l=z[0])&&g(i,"src",l),v&2&&de(c,z[1]),v&8&&de(p,z[3]),v&4&&g(b,"href",z[2])},i:V,o:V,d(z){z&&m(e)}}}function Un(a,e,n){let{image:t}=e,{name:s}=e,{mail:i}=e,{site:l}=e,{description:r}=e;return a.$$set=o=>{"image"in o&&n(0,t=o.image),"name"in o&&n(1,s=o.name),"mail"in o&&n(4,i=o.mail),"site"in o&&n(2,l=o.site),"description"in o&&n(3,r=o.description)},[t,s,l,r,i]}class Gn extends ee{constructor(e){super(),te(this,e,Un,Fn,J,{image:0,name:1,mail:4,site:2,description:3})}}function sn(a,e,n){const t=a.slice();return t[1]=e[n].name,t[2]=e[n].description,t[3]=e[n].image,t[4]=e[n].site,t[5]=e[n].mail,t[7]=n,t}function ln(a){let e,n;return e=new Gn({props:{name:a[1],description:a[2],image:a[3],site:a[4],mail:a[5]}}),{c(){le(e.$$.fragment)},l(t){ae(e.$$.fragment,t)},m(t,s){ie(e,t,s),n=!0},p:V,i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){re(e,t)}}}function Kn(a){let e,n="Membres",t,s,i,l=he(a[0]),r=[];for(let c=0;c<l.length;c+=1)r[c]=ln(sn(a,l,c));const o=c=>O(r[c],1,1,()=>{r[c]=null});return{c(){e=k("h1"),e.textContent=n,t=I(),s=k("div");for(let c=0;c<r.length;c+=1)r[c].c();this.h()},l(c){e=x(c,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-mdaw1"&&(e.textContent=n),t=A(c),s=x(c,"DIV",{class:!0});var u=L(s);for(let h=0;h<r.length;h+=1)r[h].l(u);u.forEach(m),this.h()},h(){g(s,"class","grid grid-cols-2 md:grid-cols-3 grid-rows-3 md:grid-rows-2 gap-4 h-5/6 w-4/5 mx-auto")},m(c,u){R(c,e,u),R(c,t,u),R(c,s,u);for(let h=0;h<r.length;h+=1)r[h]&&r[h].m(s,null);i=!0},p(c,[u]){if(u&1){l=he(c[0]);let h;for(h=0;h<l.length;h+=1){const p=sn(c,l,h);r[h]?(r[h].p(p,u),D(r[h],1)):(r[h]=ln(p),r[h].c(),D(r[h],1),r[h].m(s,null))}for(Ze(),h=l.length;h<r.length;h+=1)o(h);Qe()}},i(c){if(!i){for(let u=0;u<l.length;u+=1)D(r[u]);i=!0}},o(c){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)O(r[u]);i=!1},d(c){c&&(m(e),m(t),m(s)),Xe(r,c)}}}function Xn(a){return[[{name:"Raphaël Forment",description:"BuboBubo",image:"https://avatars.githubusercontent.com/u/45191785?s=400&u=3ee9062082ce04b6f08f811e657797fe9528d106&v=4",site:"https://raphaelforment.fr",mail:""},{name:"Rémi Georges",description:"Ralt144Mi",image:"https://avatars.githubusercontent.com/u/75539795?v=4",site:"https://remigeorges.fr/",mail:""},{name:"Agathe Herrou",description:"th4",image:"https://club.tidalcycles.org/user_avatar/club.tidalcycles.org/th4/144/505_2.png",site:"https://th4music.net",mail:""},{name:"Raphaël Bastide",description:"",image:"https://radicalnetworks.org/archives/2018/participants/raphael-bastide/raphaelbastide.jpg",site:"https://raphaelbastide.com",mail:""}]]}class Wn extends ee{constructor(e){super(),te(this,e,Xn,Kn,J,{})}}function Yn(a){let e,n,t,s,i,l,r,o,c,u,h,p,T,w,b,C,z,v;return{c(){e=k("div"),n=k("figure"),t=k("img"),i=I(),l=k("div"),r=k("h2"),o=K(a[0]),c=I(),u=k("h3"),h=K(a[1]),p=I(),T=k("p"),w=K(a[4]),b=I(),C=k("div"),z=k("a"),v=K("Lien"),this.h()},l(_){e=x(_,"DIV",{class:!0});var q=L(e);n=x(q,"FIGURE",{class:!0});var f=L(n);t=x(f,"IMG",{src:!0,alt:!0,class:!0}),f.forEach(m),i=A(q),l=x(q,"DIV",{class:!0});var y=L(l);r=x(y,"H2",{class:!0});var E=L(r);o=X(E,a[0]),E.forEach(m),c=A(y),u=x(y,"H3",{});var H=L(u);h=X(H,a[1]),H.forEach(m),p=A(y),T=x(y,"P",{class:!0});var G=L(T);w=X(G,a[4]),G.forEach(m),b=A(y),C=x(y,"DIV",{class:!0});var ne=L(C);z=x(ne,"A",{class:!0,href:!0});var Q=L(z);v=X(Q,"Lien"),Q.forEach(m),ne.forEach(m),y.forEach(m),q.forEach(m),this.h()},h(){Ne(t.src,s=a[3])||g(t,"src",s),g(t,"alt",a[4]),g(t,"class","object-cover"),g(n,"class","object-cover h-80 w-1/2"),g(r,"class","card-title pt-0 mt-0"),g(T,"class","indent-0"),g(z,"class","btn btn-primary"),g(z,"href",a[2]),g(C,"class","card-actions justify-end"),g(l,"class","card-body"),g(e,"class","card card-side bg-base-100 shadow-xl")},m(_,q){R(_,e,q),d(e,n),d(n,t),d(e,i),d(e,l),d(l,r),d(r,o),d(l,c),d(l,u),d(u,h),d(l,p),d(l,T),d(T,w),d(l,b),d(l,C),d(C,z),d(z,v)},p(_,[q]){q&8&&!Ne(t.src,s=_[3])&&g(t,"src",s),q&16&&g(t,"alt",_[4]),q&1&&de(o,_[0]),q&2&&de(h,_[1]),q&16&&de(w,_[4]),q&4&&g(z,"href",_[2])},i:V,o:V,d(_){_&&m(e)}}}function Jn(a,e,n){let{name:t}=e,{creator:s}=e,{link:i}=e,{image:l}=e,{description:r}=e;return a.$$set=o=>{"name"in o&&n(0,t=o.name),"creator"in o&&n(1,s=o.creator),"link"in o&&n(2,i=o.link),"image"in o&&n(3,l=o.image),"description"in o&&n(4,r=o.description)},[t,s,i,l,r]}class Ct extends ee{constructor(e){super(),te(this,e,Jn,Yn,J,{name:0,creator:1,link:2,image:3,description:4})}}function rn(a,e,n){const t=a.slice();return t[1]=e[n].name,t[2]=e[n].creator,t[3]=e[n].description,t[4]=e[n].image,t[5]=e[n].link,t}function an(a){let e,n;return e=new Ct({props:{name:a[1],creator:a[2],description:a[3],image:a[4],link:a[5]}}),{c(){le(e.$$.fragment)},l(t){ae(e.$$.fragment,t)},m(t,s){ie(e,t,s),n=!0},p:V,i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){re(e,t)}}}function es(a){let e,n="Outils",t,s,i='Si vous souhaitez consulter une liste fréquemment mise à jour de logiciels et dinterfaces pour le <em>live coding</em>, consulter <a href="https://github.com/toplap/awesome-livecoding" rel="nofollow">Awesome LiveCoding</a>. Pour élargir un petit peu, consultez également <a href="https://github.com/noteflakes/awesome-music" rel="nofollow">Awesome Music</a>.',l,r,o,c="Éditez le site pour rajouter votre outil ! <strong>Toutes les contributions sont acceptées !</strong>",u,h=he(a[0]),p=[];for(let w=0;w<h.length;w+=1)p[w]=an(rn(a,h,w));const T=w=>O(p[w],1,1,()=>{p[w]=null});return{c(){e=k("h1"),e.textContent=n,t=I(),s=k("p"),s.innerHTML=i,l=I();for(let w=0;w<p.length;w+=1)p[w].c();r=I(),o=k("p"),o.innerHTML=c},l(w){e=x(w,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-16n948e"&&(e.textContent=n),t=A(w),s=x(w,"P",{"data-svelte-h":!0}),M(s)!=="svelte-spp4tf"&&(s.innerHTML=i),l=A(w);for(let b=0;b<p.length;b+=1)p[b].l(w);r=A(w),o=x(w,"P",{"data-svelte-h":!0}),M(o)!=="svelte-1bomrdb"&&(o.innerHTML=c)},m(w,b){R(w,e,b),R(w,t,b),R(w,s,b),R(w,l,b);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(w,b);R(w,r,b),R(w,o,b),u=!0},p(w,[b]){if(b&1){h=he(w[0]);let C;for(C=0;C<h.length;C+=1){const z=rn(w,h,C);p[C]?(p[C].p(z,b),D(p[C],1)):(p[C]=an(z),p[C].c(),D(p[C],1),p[C].m(r.parentNode,r))}for(Ze(),C=h.length;C<p.length;C+=1)T(C);Qe()}},i(w){if(!u){for(let b=0;b<h.length;b+=1)D(p[b]);u=!0}},o(w){p=p.filter(Boolean);for(let b=0;b<p.length;b+=1)O(p[b]);u=!1},d(w){w&&(m(e),m(t),m(s),m(l),m(r),m(o)),Xe(p,w)}}}function ts(a){return[[{name:"Sardine",creator:"Raphaël Forment",description:"Sardine est un logiciel libre et open source pour Python 3.10+. Sardine transforme Python en un instrument de musique. C'est un framework pour live coder et contrôler du matérial audio depuis Python. Sardine peut se synchroniser à d'autres logiciels ou instances du même logiciel.",image:"https://sardine.raphaelforment.fr/sardine_logo.svg#center",link:"https://sardine.raphaelforment.fr"},{name:"Été",creator:"Raphaël Bastide",description:"Été mélange live coding (écriture musicale temps réel au travers du code) et percussions. Le programme considère le clavier comme un instrument percussif. Le musicien peut écrire des instructions algorithmiques et des instructions percussives très précises au sein du même environnement de programmation. Été est une expérimentation qui essaie de lier dans un même programme le temps dédié à la composition algorithmique et celui dédié à l'improvisation spontanée.",image:"https://gitlab.com/uploads/-/system/project/avatar/35391245/Screenshot_2023-09-19_16-09-44.jpg",link:"https://raphaelbastide.com/ete/"},{name:"Topos",creator:"Raphaël Forment",description:"Topos est un séquenceur algorithmique expérimental dans le web sequencer programmé par BuboBubo (Raphaël Forment) et Amiika (Miika Alonen). Il est écrit en TypeScript, avec Vite. Ce projet est basé sur le Monome Teletype de Brian Crabtree et Kelli Cain. Nous espérons respecter le même esprit de partage et d'expérimentation que les concepteurs originels ! Comment rendre le Teletype plus accessible tout en étendant ses capacités sur le web ?",image:"https://raphaelforment.fr/img/inline_annotation.png",link:"https://topos.raphaelforment.fr"},{name:"OSCII",creator:"Adel Faure",description:"OSCII est un logiciel pour dessiner et live coder des visuels en text-mode. OSCII produit également du son grâce à WebAudio.",image:"https://i1.sndcdn.com/avatars-1Kjtq0wbLSNSpNQH-AqRXfQ-t500x500.jpg",link:"https://gitlab.com/adelfaure/oscii"},{name:"Cascade",creator:"Raphaël Bastide",description:"Cascade est un environnement de live-coding pour le navigateur web. Il transforme les règles du langage CSS en sons !",image:"https://raphaelbastide.com/cascade/website/img/poster.svg",link:"https://raphaelbastide.com/cascade/"}]]}class ns extends ee{constructor(e){super(),te(this,e,ts,es,J,{})}}function ss(a){let e,n="Réseaux",t,s,i,l,r,o,c;return s=new ot({props:{info:"Il existe plusieurs collectifs et groupes qui promeuvent la pratique du <i>live coding</i>. Cette page est un recensement des groupes connus. Si vous êtes actifs, ajoutez quelque chose ici.",markdown:"false"}}),l=new Ct({props:{name:"Cookie Collective",creator:"Paris",description:" Le Cookie Collective rassemble des artistes impliqués dans la création numérique temps réel.Cela couvre le domaine du jeu vidéo, des installations artistiques, du mapping vidéo, la demoscene, les algoraves, etc. Nous organisons des jams au cours desquelles les artistes réalisent des créations sonores ou visuelles devant un public. Nous publions des fanzines qui mettent l'accent sur nos manières de créer. Nous accueillons tout ceux qui partagent un intérêt commun pour la création temps réel. Contactez nous ou rejoignez le serveur Discord.",image:"https://www.cookie.paris/image.jpg",link:"https://cookie.paris"}}),o=new Ct({props:{name:"Digital Audio Community",creator:"Lyon",description:"Creative Code Lyon est une communauté lyonnaise dédiée à la programmation créative. En son sein existe un petit groupe, nommé le DAC (Digital Audio Community). Il se réunit toutes les deux semaines au Laboratoire Ouvert Lyonnais (LOL) pour discuter de synthèse sonore, de live coding, de création sonore. Pour nous contacter, rejoignez le serveur Discord !",image:"https://scontent-cdg4-3.xx.fbcdn.net/v/t39.30808-6/325617656_5771358802943616_8147684973704857965_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Cujn9ocml5QAX8S0sxA&_nc_ht=scontent-cdg4-3.xx&oh=00_AfC1nrCZnzRiCGGCfhJnH9QciEYvNRbhfsS5T0mKqzyRdQ&oe=65496DE6",link:"https://discord.gg/B2e5a3Y3uk"}}),{c(){e=k("h1"),e.textContent=n,t=I(),le(s.$$.fragment),i=I(),le(l.$$.fragment),r=I(),le(o.$$.fragment)},l(u){e=x(u,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-21klql"&&(e.textContent=n),t=A(u),ae(s.$$.fragment,u),i=A(u),ae(l.$$.fragment,u),r=A(u),ae(o.$$.fragment,u)},m(u,h){R(u,e,h),R(u,t,h),ie(s,u,h),R(u,i,h),ie(l,u,h),R(u,r,h),ie(o,u,h),c=!0},p:V,i(u){c||(D(s.$$.fragment,u),D(l.$$.fragment,u),D(o.$$.fragment,u),c=!0)},o(u){O(s.$$.fragment,u),O(l.$$.fragment,u),O(o.$$.fragment,u),c=!1},d(u){u&&(m(e),m(t),m(i),m(r)),re(s,u),re(l,u),re(o,u)}}}class ls extends ee{constructor(e){super(),te(this,e,null,ss,J,{})}}function is(a){let e,n="Ressources",t,s,i="Sites internet",l,r,o='<li><a href="https://ressources.labomedia.org/live_coding" rel="nofollow">Labomedia</a></li>';return{c(){e=k("h1"),e.textContent=n,t=I(),s=k("h2"),s.textContent=i,l=I(),r=k("ul"),r.innerHTML=o},l(c){e=x(c,"H1",{"data-svelte-h":!0}),M(e)!=="svelte-1cbhex0"&&(e.textContent=n),t=A(c),s=x(c,"H2",{"data-svelte-h":!0}),M(s)!=="svelte-bg310f"&&(s.textContent=i),l=A(c),r=x(c,"UL",{"data-svelte-h":!0}),M(r)!=="svelte-ba8787"&&(r.innerHTML=o)},m(c,u){R(c,e,u),R(c,t,u),R(c,s,u),R(c,l,u),R(c,r,u)},p:V,i:V,o:V,d(c){c&&(m(e),m(t),m(s),m(l),m(r))}}}class rs extends ee{constructor(e){super(),te(this,e,null,is,J,{})}}function as(a){let e,n,t,s,i,l="livecoding.fr",r,o,c='<button type="button" class="text-gray-100 hover:text-gray-400 focus:outline-none focus:text-gray-400"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg></button>',u,h,p,T="Évènements",w,b,C="Membres",z,v,_="Outils",q,f,y="Réseaux",E,H,G="Ressources",ne,Q,Fe="Presse",Le,oe,Ce="Contact",$e,Te,me,ce,Se,ct,Ee,N,ut,ge,ze,ht,Z,qe,ke,Et="Évènements",pt,Me,xe,zt="Membres",ft,He,be,It="Outils",dt,je,ve,At="Réseaux",mt,Pe,_e,Rt="Ressources",gt,De,we,Lt="Presse",kt,Be,ye,St="Contact",xt,Ie,qt='<p class="indent-4 text-base">Raphaël Forment</p> <p><a class="pl-4" href="https://github.com/Bubobubobubobubo/livecodingfr">GitHub</a></p>',Ue,bt,Mt;var Oe=a[0];function Ht(F,ue){return{}}return Oe&&(N=Ft(Oe,Ht())),{c(){e=k("div"),n=k("div"),t=k("nav"),s=k("div"),i=k("a"),i.textContent=l,r=I(),o=k("div"),o.innerHTML=c,u=I(),h=k("div"),p=k("a"),p.textContent=T,w=I(),b=k("a"),b.textContent=C,z=I(),v=k("a"),v.textContent=_,q=I(),f=k("a"),f.textContent=y,E=I(),H=k("a"),H.textContent=G,ne=I(),Q=k("a"),Q.textContent=Fe,Le=I(),oe=k("a"),oe.textContent=Ce,Te=I(),me=k("main"),ce=k("div"),Se=k("input"),ct=I(),Ee=k("div"),N&&le(N.$$.fragment),ut=I(),ge=k("div"),ze=k("label"),ht=I(),Z=k("ul"),qe=k("li"),ke=k("a"),ke.textContent=Et,pt=I(),Me=k("li"),xe=k("a"),xe.textContent=zt,ft=I(),He=k("li"),be=k("a"),be.textContent=It,dt=I(),je=k("li"),ve=k("a"),ve.textContent=At,mt=I(),Pe=k("li"),_e=k("a"),_e.textContent=Rt,gt=I(),De=k("li"),we=k("a"),we.textContent=Lt,kt=I(),Be=k("li"),ye=k("a"),ye.textContent=St,xt=I(),Ie=k("footer"),Ie.innerHTML=qt,this.h()},l(F){e=x(F,"DIV",{});var ue=L(e);n=x(ue,"DIV",{class:!0});var Ge=L(n);t=x(Ge,"NAV",{class:!0});var Ye=L(t);s=x(Ye,"DIV",{class:!0});var Je=L(s);i=x(Je,"A",{class:!0,"data-svelte-h":!0}),M(i)!=="svelte-99ytaw"&&(i.textContent=l),r=A(Je),o=x(Je,"DIV",{class:!0,"data-svelte-h":!0}),M(o)!=="svelte-glwq61"&&(o.innerHTML=c),Je.forEach(m),u=A(Ye),h=x(Ye,"DIV",{class:!0});var W=L(h);p=x(W,"A",{class:!0,"data-svelte-h":!0}),M(p)!=="svelte-9oawtf"&&(p.textContent=T),w=A(W),b=x(W,"A",{class:!0,"data-svelte-h":!0}),M(b)!=="svelte-1ashbak"&&(b.textContent=C),z=A(W),v=x(W,"A",{class:!0,"data-svelte-h":!0}),M(v)!=="svelte-cuugrw"&&(v.textContent=_),q=A(W),f=x(W,"A",{class:!0,"data-svelte-h":!0}),M(f)!=="svelte-1vq424k"&&(f.textContent=y),E=A(W),H=x(W,"A",{class:!0,"data-svelte-h":!0}),M(H)!=="svelte-fckt8g"&&(H.textContent=G),ne=A(W),Q=x(W,"A",{class:!0,"data-svelte-h":!0}),M(Q)!=="svelte-dcpiuw"&&(Q.textContent=Fe),Le=A(W),oe=x(W,"A",{class:!0,"data-svelte-h":!0}),M(oe)!=="svelte-15n2veg"&&(oe.textContent=Ce),W.forEach(m),Ye.forEach(m),Ge.forEach(m),ue.forEach(m),Te=A(F),me=x(F,"MAIN",{});var et=L(me);ce=x(et,"DIV",{class:!0});var Ve=L(ce);Se=x(Ve,"INPUT",{id:!0,type:!0,class:!0}),ct=A(Ve),Ee=x(Ve,"DIV",{class:!0});var jt=L(Ee);N&&ae(N.$$.fragment,jt),jt.forEach(m),ut=A(Ve),ge=x(Ve,"DIV",{class:!0});var tt=L(ge);ze=x(tt,"LABEL",{for:!0,"aria-label":!0,class:!0}),L(ze).forEach(m),ht=A(tt),Z=x(tt,"UL",{class:!0});var Y=L(Z);qe=x(Y,"LI",{class:!0});var Pt=L(qe);ke=x(Pt,"A",{class:!0,"data-svelte-h":!0}),M(ke)!=="svelte-19kdxr"&&(ke.textContent=Et),Pt.forEach(m),pt=A(Y),Me=x(Y,"LI",{class:!0});var Dt=L(Me);xe=x(Dt,"A",{class:!0,"data-svelte-h":!0}),M(xe)!=="svelte-d48ppg"&&(xe.textContent=zt),Dt.forEach(m),ft=A(Y),He=x(Y,"LI",{class:!0});var Bt=L(He);be=x(Bt,"A",{class:!0,"data-svelte-h":!0}),M(be)!=="svelte-6t44bs"&&(be.textContent=It),Bt.forEach(m),dt=A(Y),je=x(Y,"LI",{class:!0});var Ot=L(je);ve=x(Ot,"A",{class:!0,"data-svelte-h":!0}),M(ve)!=="svelte-1hdmay0"&&(ve.textContent=At),Ot.forEach(m),mt=A(Y),Pe=x(Y,"LI",{class:!0});var Vt=L(Pe);_e=x(Vt,"A",{class:!0,"data-svelte-h":!0}),M(_e)!=="svelte-rllpv4"&&(_e.textContent=Rt),Vt.forEach(m),gt=A(Y),De=x(Y,"LI",{class:!0});var Nt=L(De);we=x(Nt,"A",{class:!0,"data-svelte-h":!0}),M(we)!=="svelte-1j6h9sw"&&(we.textContent=Lt),Nt.forEach(m),kt=A(Y),Be=x(Y,"LI",{class:!0});var Zt=L(Be);ye=x(Zt,"A",{class:!0,"data-svelte-h":!0}),M(ye)!=="svelte-scv44w"&&(ye.textContent=St),Zt.forEach(m),Y.forEach(m),tt.forEach(m),Ve.forEach(m),xt=A(et),Ie=x(et,"FOOTER",{class:!0,"data-svelte-h":!0}),M(Ie)!=="svelte-vomgad"&&(Ie.innerHTML=qt),et.forEach(m),this.h()},h(){g(i,"class","text-3xl font-extrabold text-transparent bg-clip-text bg-gradient-to-r from-orange-300 to-orange-200 uppercase"),g(o,"class","flex md:hidden"),g(s,"class","flex items-center justify-between"),g(p,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(b,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(v,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(f,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(H,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(Q,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(oe,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),g(h,"class",$e="flex-col mt-8 space-y-4 md:flex md:space-y-0 md:flex-row md:items-center md:space-x-10 md:mt-0 "+(a[1]?"flex":"hidden")),g(t,"class","pl-8 py-2 md:flex md:justify-between md:items-center pr-8"),g(n,"class","bg-base-300"),g(Se,"id","my-drawer-2"),g(Se,"type","checkbox"),g(Se,"class","drawer-toggle"),g(Ee,"class","drawer-content space-y-4 flex flex-col px-16 py-8"),g(ze,"for","my-drawer-2"),g(ze,"aria-label","close sidebar"),g(ze,"class","drawer-overlay"),g(ke,"class","text-white"),g(qe,"class","text-xl"),g(xe,"class","text-white"),g(Me,"class","text-xl"),g(be,"class","text-white"),g(He,"class","text-xl"),g(ve,"class","text-white"),g(je,"class","text-xl"),g(_e,"class","text-white"),g(Pe,"class","text-xl"),g(we,"class","text-white"),g(De,"class","text-xl"),g(ye,"class","text-white"),g(Be,"class","text-xl"),g(Z,"class","menu p-4 w-40 min-h-full bg-base-300 text-base-content"),g(ge,"class","drawer-side"),g(ce,"class","drawer lg:drawer-open"),g(Ie,"class","footer ml-0 pl-0 pb-4 pt-4 bg-base-300 justify-between pr-16")},m(F,ue){R(F,e,ue),d(e,n),d(n,t),d(t,s),d(s,i),d(s,r),d(s,o),d(t,u),d(t,h),d(h,p),d(h,w),d(h,b),d(h,z),d(h,v),d(h,q),d(h,f),d(h,E),d(h,H),d(h,ne),d(h,Q),d(h,Le),d(h,oe),R(F,Te,ue),R(F,me,ue),d(me,ce),d(ce,Se),d(ce,ct),d(ce,Ee),N&&ie(N,Ee,null),d(ce,ut),d(ce,ge),d(ge,ze),d(ge,ht),d(ge,Z),d(Z,qe),d(qe,ke),d(Z,pt),d(Z,Me),d(Me,xe),d(Z,ft),d(Z,He),d(He,be),d(Z,dt),d(Z,je),d(je,ve),d(Z,mt),d(Z,Pe),d(Pe,_e),d(Z,gt),d(Z,De),d(De,we),d(Z,kt),d(Z,Be),d(Be,ye),d(me,xt),d(me,Ie),Ue=!0,bt||(Mt=[U(i,"click",a[4]),U(o,"click",a[2]),U(p,"click",a[5]),U(b,"click",a[6]),U(v,"click",a[7]),U(f,"click",a[8]),U(H,"click",a[9]),U(Q,"click",a[10]),U(oe,"click",a[11]),U(ke,"click",a[12]),U(xe,"click",a[13]),U(be,"click",a[14]),U(ve,"click",a[15]),U(_e,"click",a[16]),U(we,"click",a[17]),U(ye,"click",a[18])],bt=!0)},p(F,[ue]){if((!Ue||ue&2&&$e!==($e="flex-col mt-8 space-y-4 md:flex md:space-y-0 md:flex-row md:items-center md:space-x-10 md:mt-0 "+(F[1]?"flex":"hidden")))&&g(h,"class",$e),ue&1&&Oe!==(Oe=F[0])){if(N){Ze();const Ge=N;O(Ge.$$.fragment,1,0,()=>{re(Ge,1)}),Qe()}Oe?(N=Ft(Oe,Ht()),le(N.$$.fragment),D(N.$$.fragment,1),ie(N,Ee,null)):N=null}},i(F){Ue||(N&&D(N.$$.fragment,F),Ue=!0)},o(F){N&&O(N.$$.fragment,F),Ue=!1},d(F){F&&(m(e),m(Te),m(me)),N&&re(N),bt=!1,kn(Mt)}}}function os(a,e,n){const t={accueil:Ln,evenements:jn,membres:Wn,outils:ns,réseaux:ls,presse:Qn,ressources:rs,contact:Dn};let s=t.accueil,i=!1;function l(){n(1,i=!i)}function r(E){const H=E.toLowerCase();t[H]&&n(0,s=t[H])}return[s,i,l,r,()=>r("Accueil"),()=>r("Evenements"),()=>r("Membres"),()=>r("Outils"),()=>r("Réseaux"),()=>r("Ressources"),()=>r("Presse"),()=>r("Contact"),()=>r("Evenements"),()=>r("Membres"),()=>r("Outils"),()=>r("Réseaux"),()=>r("Ressources"),()=>r("Presse"),()=>r("Contact")]}class ps extends ee{constructor(e){super(),te(this,e,os,as,J,{})}}export{ps as component};