Anvil/assets/Profile-78582956.js

2 lines
7.5 KiB
JavaScript
Raw Normal View History

2024-03-03 15:38:10 +01:00
import{a as ea,c as Ze}from"./utils-09ff0c0e.js";import{a as l,l as c,t as g,H as aa,b as n,f as o,d as t,m,h as $,c as ta,j as i,i as xe,k as a,n as A}from"./lifecycle-96ebe68d.js";import{S as sa,i as ra,c as M,a as Q,m as W,t as X,b as Y,d as Z}from"./index-9669f5df.js";import{$ as la,a as na}from"./runtime-ea3b2d3b.js";import{S as oa,N as ia}from"./ZoomOut24-23fb22e7.js";import{A as pa}from"./Avatar-dac7a148.js";import{B as fa}from"./BlockOrReport-360ad42f.js";import{C as da}from"./Created-4789a277.js";import{D as ca}from"./DisplayName-af3c6b6a.js";function ma(s){let f,h,u,q,_,v,p,je,O,Ce,E,y,L,w,Pe,N,ee=s[0].user.username+"",fe,Ae,ae=s[0].user.instance+"",de,Oe,H,T,ce,b,R,D,U,te=s[2]("page.profile.projects.heading")+"",me,He,k,se=s[2]("page.profile.projects.empty")+"",ue,Te,re,_e=s[2]("page.profile.projects.add_or_import",{values:{addElementOpen:'<a class="anchor" href="#">',addElementClose:"</a>",importElementOpen:`<a class="anchor" href="/projects/import/" data-sb-kind=${s[1]}>`,importElementClose:"</a>"}})+"",Be,x,S,z,le=s[2]("page.profile.history.heading")+"",ve,qe,ne,I,V,F,B,Le,j,oe=s[3](new Date("2023-04-23"))+"",he,Re,ie=s[2]("page.profile.history.activities.setup.summary")+"",ge,Ue,G,J,pe=s[2]("page.profile.history.activities.setup.description",{values:{created_with:s[0].user.created_with,instance:s[0].user.instance,username:s[0].user.username}})+"",$e,d;return u=new pa({props:{avatar:s[0].user.avatar,displayName:s[0].user.display_name}}),p=new da({props:{created_at:s[0].user.created_at,created_at_formatted:s[0].user.created_at_formatted}}),O=new fa({}),w=new ca({props:{displayName:s[0].user.display_name,pronoun:s[0].user.pronoun}}),T=new oa({props:{fill:"currentColor"}}),B=new ia({props:{fill:"currentColor"}}),{c(){f=l("section"),h=l("div"),M(u.$$.fragment),q=c(),_=l("div"),v=l("div"),M(p.$$.fragment),je=c(),M(O.$$.fragment),Ce=c(),E=l("div"),y=l("div"),L=l("div"),M(w.$$.fragment),Pe=c(),N=l("span"),fe=g(ee),Ae=g("@"),de=g(ae),Oe=c(),H=l("button"),M(T.$$.fragment),ce=c(),b=l("section"),R=l("div"),D=l("div"),U=l("h2"),me=g(te),He=c(),k=l("p"),ue=g(se),Te=c(),re=new aa(!1),Be=c(),x=l("div"),S=l("div"),z=l("h2"),ve=g(le),qe=c(),ne=l("ul"),I=l("li"),V=l("span"),F=l("span"),M(B.$$.fragment),Le=c(),j=l("span"),he=g(oe),Re=g(" - "),ge=g(ie),Ue=c(),G=l("span"),J=l("span"),$e=g(pe),this.h()},l(e){f=n(e,"SECTION",{class:!0});var r=o(f);h=n(r,"DIV",{});var K=o(h);Q(u.$$.fragment,K),K.forEach(t),q=m(r),_=n(r,"DIV",{class:!0});var C=o(_);v=n(C,"DIV",{class:!0});var P=o(v);Q(p.$$.fragment,P),je=m(P),Q(O.$$.fragment,P),P.forEach(t),Ce=m(C),E=n(C,"DIV",{class:!0});var be=o(E);y=n(be,"DIV",{class:!0});var Ee=o(y);L=n(Ee,"DIV",{class:!0});var ze=o(L);Q(w.$$.fragment,ze),ze.forEach(t),Pe=m(Ee),N=n(Ee,"SPAN",{class:!0});var ye=o(N);fe=$(ye,ee),Ae=$(ye,"@"),de=$(ye,ae),ye.forEach(t),Ee.forEach(t),Oe=m(be),H=n(be,"BUTTON",{type:!0,class:!0});var Fe=o(H);Q(T.$$.fragment,Fe),Fe.forEach(t),be.forEach(t),C.forEach(t),r.forEach(t),ce=m(e),b=n(e,"SECTION",{class:!0});var we=o(b);R=n(we,"DIV",{class:!0});var Ge=o(R);D=n(Ge,"DIV",{class:!0});var Ne=o(D);U=n(Ne,"H2",{class:!0});var Je=o(U);me=$(Je,te),Je.forEach(t),He=m(Ne),k=n(Ne,"P",{class:!0});var De=o(k);ue=$(De,se),Te=m(De),re=ta(De,!1),De.forEach(t),Ne.forEach(t),Ge.forEach(t),Be=m(we),x=n(we,"DIV",{class:!0});var Ke=o(x);S=n(Ke,"DIV",{class:!0});var ke=o(S);z=n(ke,"H2",{class:!0});var Me=o(z);ve=$(Me,le),Me.forEach(t),qe=m(ke),ne=n(ke,"UL",{});var Qe=o(ne);I=n(Qe,"LI",{class:!0});var Se=o(I);V=n(Se,"SPAN",{class:!0});var Ie=o(V);F=n(Ie,"SPAN",{class:!0});var We=o(F);Q(B.$$.fragment,We),We.forEach(t),Le=m(Ie),j=n(Ie,"SPAN",{class:!0});var Ve=o(j);he=$(Ve,oe),Re=$(Ve," - "),ge=$(Ve,ie),Ve.forEach(t),Ie.forEach(t),Ue=m(Se),G=n(Se,"SPAN",{class:!0});var Xe=o(G);J=n(Xe,"SPAN",{class:!0});var Ye=o(J);$e=$(Ye,pe),Ye.forEach(t),Xe.forEach(t),Se.forEach(t),Qe.forEach(t),ke.forEach(t),Ke.forEach(t),we.forEach(t),this.h()},h(){i(v,"class","self-end"),i(L,"class","flex items-end"),i(N,"class","leading-tight"),i(y,"class","flex flex-col flex-1 gap-2"),i(H,"type","button"),i(H,"class","btn-icon