import{Sasee,caste,aasle,dasL,easV,masU,basg,tasE,fasq,gasT,hasF,jasR}from"./index-D5xIMA44.js";import{aask,basC,tasB,fasv,hasw,d,kasD,jasO,lasM,iasj,masy,nasH,easI,rasz}from"./lifecycle-u0QeOdKt.js";import{gasse}from"./globals-D0QH3NT1.js";import{easS}from"./each-_CmsXlt5.js";import{aasre,$asne}from"./runtime-_7zi23uk.js";import{Casie}from"./CommitBody-BH1idkTu.js";import{Casoe}from"./CommitDate-DuDYOQBS.js";import{Nasce}from"./ZoomOut24-DVPD-K2C.js";functionfe(f){letl,a,r,t,i,e=f[3](newDate("2023-04-23"))+"",s,n,o=f[4]("page.profile.history.activities.setup.summary")+"",p,u,c,m,h=f[4]("page.profile.history.activities.setup.description",{values:{created_with:f[0],instance:f[1],username:f[2]}})+"",N,A;returnr=newce({props:{fill:"currentColor"}}),{c(){l=k("span"),a=k("span"),L(r.$$.fragment),t=C(),i=k("span"),s=B(e),n=B(" - "),p=B(o),u=C(),c=k("span"),m=k("span"),N=B(h),this.h()},l(_){l=v(_,"SPAN",{class:!0});varb=w(l);a=v(b,"SPAN",{class:!0});varJ=w(a);V(r.$$.fragment,J),J.forEach(d),t=D(b),i=v(b,"SPAN",{class:!0});varP=w(i);s=O(P,e),n=O(P," - "),p=O(P,o),P.forEach(d),b.forEach(d),u=D(_),c=v(_,"SPAN",{class:!0});varK=w(c);m=v(K,"SPAN",{class:!0});varQ=w(m);N=O(Q,h),Q.forEach(d),K.forEach(d),this.h()},h(){M(a,"class","absolute ltr:-left-3 rtl:-right-3"),M(i,"class","ms-4"),M(l,"class","relative"),M(m,"class","border box-decoration-clone px-4 py-2 leading-10"),M(c,"class","ms-6 mt-8")},m(_,b){j(_,l,b),y(l,a),U(r,a,null),y(l,t),y(l,i),y(i,s),y(i,n),y(i,p),j(_,u,b),j(_,c,b),y(c,m),y(m,N),A=!0},p(_,[b]){(!A||b&8)&&e!==(e=_[3](newDate("2023-04-23"))+"")&&H(s,e),(!A||b&16)&&o!==(o=_[4]("page.profile.history.activities.setup.summary")+"")&&H(p,o),(!A||b&23)&&h!==(h=_[4]("page.profile.history.activities.setup.description",{values:{created_with:_[0],instance:_[1],username:_[2]}})+"")&&H(N,h)},i(_){A||(g(r.$$.fragment,_),A=!0)},o(_){E(r.$$.fragment,_),A=!1},d(_){_&&(d(l),d(u),d(c)),q(r)}}}functionue(f,l,a){letr,t;T(f,re,n=>a(3,r=n)),T(f,ne,n=>a(4,t=n));let{created_with:i=""}=l,{instance:e=""}=l,{username:s=""}=l;returnf.$$set=n=>{"created_with"inn&&a(0,i=n.created_with),"instance"inn&&a(1,e=n.instance),"username"inn&&a(2,s=n.username)},[i,e,s,r,t]}classaeextendsee{constructor(l){super(),te(this,l,ue,fe,le,{created_with:0,instance:1,username:2})}}ae.__docgen={version:3,name:"HistoryFallback.svelte",data:[{keywords:[],visibility:"public",description:"Service with which username was created on the instance.",name:"created_with",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Instance to show in fallback.",name:"instance",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Username to show in fallback.",name:"username",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const{Boolean:G}=se;functionW(f,l,a){constr=f.slice();returnr[6]=l[a],r}functionX(f,l,a){constr=f.slice();returnr[9]=l[a],r}functionY(f,l,a){constr=f.slice();returnr[12]=l[a],r}functionme(f){letl,a,r;returna=newae({props:{created_with:f[1].user.created_with,instance:f[1].user.instance,username:f[1].user.username}}),{c(){l=k("li"),L(a.$$.fragment),this.h()},l(t){l=v(t,"LI",{class:!0});vari=w(l);V(a.$$.fragment,i),i.forEach(d),this.h()},h(){M(l,"class","flex flex-col ltr:border-l-2 rtl:border-r-2 ms-2")},m(t,i){j(t,l,i),U(a,l,null),r=!0},p(t,i){conste={};i&2&&(e.created_with=t[1].user.created_with),i&2&&(e.instance=t[1].user.instance),i&2&&(e.username=t[1].user.username),a.$set(e)},i(t){r||(g(a.$$.fragment,t),r=!0)},o(t){E(a.$$.fragment,t),r=!1},d(t){t&&d(l),q(a)}}}functionhe(f){letl,a,r=S(Object.entries(f[3](f[0]))),t=[];for(lete=0;e<r.length;e+=1)t[e]=x(W(f,r,e));consti=e=>E(t[e],1,1,()=>{t[e]=null});return{c(){for(lete=0;e<t.length;e+=1)t[e].c();