import{a as Se,c as Ce,b as Te}from"./utils-6ebe0a8e.js";import{a as v,t as ae,l as x,b,f as $,h as re,m as D,d as p,j as d,i as ue,k as r,n as se,q as pe}from"./lifecycle-cafe499b.js";import{S as Ue,i as Ve,c as X,b as Z,m as ee,a as F,e as Ae,t as H,d as te,g as Be}from"./index-3a0d73e3.js";import{e as le}from"./each-b4878c9e.js";import{T as Oe,R as Re,c as Fe,S as Ne,E as qe,d as He}from"./ZoomOut24-c1a8fc9f.js";import{$ as Ge}from"./runtime-a5210d67.js";function we(i,e,l){const s=i.slice();return s[3]=e[l],s}function ke(i,e,l){const s=i.slice();return s[6]=e[l],s}function xe(i,e,l){const s=i.slice();return s[9]=e[l],s}function De(i){let e,l,s,_,h,o;return{c(){e=v("a"),l=v("img"),h=x(),this.h()},l(u){e=b(u,"A",{href:!0});var g=$(e);l=b(g,"IMG",{src:!0,alt:!0}),h=D(g),g.forEach(p),this.h()},h(){Te(l.src,s=i[9].avatar)||d(l,"src",s),d(l,"alt",_=i[9].name),d(e,"href",o="/people/"+i[9].slug)},m(u,g){ue(u,e,g),r(e,l),r(e,h)},p(u,g){g&2&&!Te(l.src,s=u[9].avatar)&&d(l,"src",s),g&2&&_!==(_=u[9].name)&&d(l,"alt",_),g&2&&o!==(o="/people/"+u[9].slug)&&d(e,"href",o)},d(u){u&&p(e)}}}function je(i){let e,l=i[6].name+"",s,_,h;return{c(){e=v("a"),s=ae(l),_=x(),this.h()},l(o){e=b(o,"A",{href:!0,class:!0});var u=$(e);s=re(u,l),_=D(u),u.forEach(p),this.h()},h(){d(e,"href",h=i[6].link),d(e,"class","bg-primary-100 text-primary-500 rounded-full px-2")},m(o,u){ue(o,e,u),r(e,s),r(e,_)},p(o,u){u&2&&l!==(l=o[6].name+"")&&se(s,l),u&2&&h!==(h=o[6].link)&&d(e,"href",h)},d(o){o&&p(e)}}}function Ie(i){let e,l,s,_,h,o,u,g=i[3].name+"",N,C,B,I,O=i[3].description+"",S,U,T,m,G,n,c,f,w,q,V,A,L,R,M,de,P,he,J,ne=i[2](i[0].table.updated,{values:{relativeTime:i[3].lastUpdated.toISOString()}})+"",oe,me,Y;s=new Re({props:{fill:"currentColor"}});let K=le(i[3].members),y=[];for(let t=0;tH(m[n],1,1,()=>{m[n]=null});return{c(){e=v("table"),l=v("thead"),s=v("tr"),_=v("th"),o=ae(h),u=x(),X(g.$$.fragment),N=x(),C=v("th"),I=ae(B),O=x(),S=v("tbody");for(let n=0;nl(2,s=o));let{i18n:_={heading:{lastUpdated:"",name:""},table:{updated:""}}}=e,{projects:h=[]}=e;return i.$$set=o=>{"i18n"in o&&l(0,_=o.i18n),"projects"in o&&l(1,h=o.projects)},[_,h,s]}class Pe extends Ue{constructor(e){super(),Ve(this,e,Me,Le,Se,{i18n:0,projects:1})}}Pe.__docgen={version:3,name:"FileTable.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Available projects.",name:"projects",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"array",type:"array"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Pe as F};