import{S as Pe,c as Te,a as Ue,d as z,e as G,m as H,b as I,k as xe,t as P,f as J,h as Ne,l as Se}from"./index-DmiCujb-.js";import{a as d,b as v,t as Y,f as p,h as m,k as b,j as Z,d as u,p as Ae,l as c,i as Ie,m as t,n as ee,r as Be}from"./lifecycle-u0QeOdKt.js";import{e as Ee}from"./each-BS8lKJpw.js";import{$ as Oe}from"./runtime-D6MmngXK.js";import{R as Re,k as qe,m as Le,h as Fe,n as ze,P as Ge}from"./ZoomOut24-jYNtLx8S.js";function Ce(f,r,l){const n=f.slice();return n[4]=r[l],n}function De(f){let r,l,n,h,g,_;return n=new Ge({props:{fill:"currentColor"}}),{c(){r=d("li"),l=d("div"),z(n.$$.fragment),h=v(),this.h()},l(a){r=p(a,"LI",{title:!0});var y=m(r);l=p(y,"DIV",{class:!0});var k=m(l);G(n.$$.fragment,k),k.forEach(u),h=b(y),y.forEach(u),this.h()},h(){c(l,"class","bg-surface-500 text-white rounded-full"),c(r,"title",g=f[4].preferredUsername)},m(a,y){Ie(a,r,y),t(r,l),H(n,l,null),t(r,h),_=!0},p(a,y){(!_||y&2&&g!==(g=a[4].preferredUsername))&&c(r,"title",g)},i(a){_||(I(n.$$.fragment,a),_=!0)},o(a){P(n.$$.fragment,a),_=!1},d(a){a&&u(r),J(n)}}}function He(f){let r,l,n,h,g,_=f[2].name+"",a,y,k,ie,B,K=f[2].summary+"",te,ce,M,fe,V,w,j,O,Q=f[3](f[0].buttons.fork)+"",re,ue,T,de,E,R,W=f[3](f[0].buttons.star)+"",se,pe,U,me,$,q,X=f[3](f[0].buttons.watch)+"",ae,he,x,_e,N,ve,S,ge="Updated somewhen",C;h=new Re({props:{fill:"currentColor"}});let A=Ee(f[1]),o=[];for(let e=0;eP(o[e],1,1,()=>{o[e]=null});return T=new qe({props:{fill:"currentColor"}}),U=new Le({props:{fill:"currentColor"}}),x=new Fe({props:{fill:"currentColor"}}),N=new ze({props:{fill:"currentColor"}}),{c(){r=d("div"),l=d("div"),n=d("div"),z(h.$$.fragment),g=v(),a=Y(_),y=v(),k=d("ul");for(let e=0;el(3,n=a));let{i18n:h={buttons:{fork:"page.profile.projects.actions.fork",star:"page.profile.projects.actions.star",watch:"page.profile.projects.actions.watch"}}}=r,{collaborators:g=[]}=r,{project:_={name:"",summary:""}}=r;return f.$$set=a=>{"i18n"in a&&l(0,h=a.i18n),"collaborators"in a&&l(1,g=a.collaborators),"project"in a&&l(2,_=a.project)},[h,g,_,n]}class Ke extends Pe{constructor(r){super(),Te(this,r,Je,He,Ue,{i18n:0,collaborators:1,project:2})}}Ke.__docgen={version:3,name:"Project.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:"Collaborators to this project.",name:"collaborators",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"array",type:"array"}},{keywords:[],visibility:"public",description:"A software project.",name:"project",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Ke as P};