Anvil/assets/MainMenu-DrcDUQ27.js
André Jaenisch 1122b3d95a
Updates
2024-07-07 15:46:09 +02:00

1 line
20 KiB
JavaScript

import{u as yr,S as Dr,c as Sr,a as Ir,d as c,e as d,m as p,v as Ar,n as kr,b as v,t as $,f as m,r as Pr}from"./index-Bq12SwZr.js";import{a as n,b as a,f as r,h as f,k as l,p as x,d as i,l as s,i as Hn,m as t,v as Vr}from"./lifecycle-DxKVJJp3.js";import{w as Lr}from"./index-DvU2gOtW.js";import{d as Tr}from"./XPro-BeAjQCpI.js";import{P as Gn,i as br,j as _r,B as Mr,R as qr,f as Er,k as Nr,l as zn,m as Ur,n as Fr,G as jr,o as Or,p as Br,q as Rr,L as Hr,r as Gr,s as zr,t as Qr,g as Wr,M as Kr,u as Xr,v as Yr}from"./ZoomOut24-DEQR2-6L.js";import"./runtime-5BIk_n0E.js";const Jr=Lr(void 0);function Zr(h,o){const{computePosition:S,autoUpdate:E,offset:L,shift:pe,flip:j,arrow:Ie,size:ve,autoPlacement:I,hide:Z,inline:T}=yr(Jr),w={open:!1,autoUpdateCleanup:()=>{}},Ct=':is(a[href], button, input, textarea, select, details, [tabindex]):not([tabindex="-1"])';let M;const O="https://www.skeleton.dev/utilities/popups";let u,q;function N(){u=document.querySelector(`[data-popup="${o.target}"]`)??document.createElement("div"),q=u.querySelector(".arrow")??document.createElement("div")}N();function k(){var C,U,F,Ae,$e,nt,A,B;if(!u)throw new Error(`The data-popup="${o.target}" element was not found. ${O}`);if(!S)throw new Error(`Floating UI 'computePosition' not found for data-popup="${o.target}". ${O}`);if(!L)throw new Error(`Floating UI 'offset' not found for data-popup="${o.target}". ${O}`);if(!pe)throw new Error(`Floating UI 'shift' not found for data-popup="${o.target}". ${O}`);if(!j)throw new Error(`Floating UI 'flip' not found for data-popup="${o.target}". ${O}`);if(!Ie)throw new Error(`Floating UI 'arrow' not found for data-popup="${o.target}". ${O}`);const g=[];ve&&g.push(ve((C=o.middleware)==null?void 0:C.size)),I&&g.push(I((U=o.middleware)==null?void 0:U.autoPlacement)),Z&&g.push(Z((F=o.middleware)==null?void 0:F.hide)),T&&g.push(T((Ae=o.middleware)==null?void 0:Ae.inline)),S(h,u,{placement:o.placement??"bottom",middleware:[L((($e=o.middleware)==null?void 0:$e.offset)??8),pe(((nt=o.middleware)==null?void 0:nt.shift)??{padding:8}),j((A=o.middleware)==null?void 0:A.flip),Ie(((B=o.middleware)==null?void 0:B.arrow)??{element:q||null}),...g]}).then(({x:ke,y:rt,placement:Ve,middlewareData:Pe})=>{if(Object.assign(u.style,{left:`${ke}px`,top:`${rt}px`}),q){const{x:R,y:me}=Pe.arrow,at={top:"bottom",right:"left",bottom:"top",left:"right"}[Ve.split("-")[0]];Object.assign(q.style,{left:R!=null?`${R}px`:"",top:me!=null?`${me}px`:"",right:"",bottom:"",[at]:"-4px"})}})}function tt(){u&&(w.open=!0,o.state&&o.state({state:w.open}),k(),u.style.display="block",u.style.opacity="1",u.style.pointerEvents="auto",u.removeAttribute("inert"),w.autoUpdateCleanup=E(h,u,k),M=Array.from(u==null?void 0:u.querySelectorAll(Ct)))}function _(g){if(!u)return;const C=parseFloat(window.getComputedStyle(u).transitionDuration.replace("s",""))*1e3;setTimeout(()=>{w.open=!1,o.state&&o.state({state:w.open}),u.style.opacity="0",u.setAttribute("inert",""),w.autoUpdateCleanup&&w.autoUpdateCleanup(),g&&g()},C)}function bt(){w.open===!1?tt():_()}function _t(g){if(w.open===!1||h.contains(g.target))return;if(u&&u.contains(g.target)===!1){_();return}const C=o.closeQuery===void 0?"a[href], button":o.closeQuery;if(C==="")return;const U=u==null?void 0:u.querySelectorAll(C);U==null||U.forEach(F=>{F.contains(g.target)&&_()})}const et=g=>{if(w.open===!1)return;const C=g.key;if(C==="Escape"){g.preventDefault(),h.focus(),_();return}M=Array.from(u==null?void 0:u.querySelectorAll(Ct)),w.open&&document.activeElement===h&&(C==="ArrowDown"||C==="Tab")&&Ct.length>0&&M.length>0&&(g.preventDefault(),M[0].focus())};switch(o.event){case"click":h.addEventListener("click",bt,!0),window.addEventListener("click",_t,!0);break;case"hover":h.addEventListener("mouseover",tt,!0),h.addEventListener("mouseleave",()=>_(),!0);break;case"focus-blur":h.addEventListener("focus",bt,!0),h.addEventListener("blur",()=>_(),!0);break;case"focus-click":h.addEventListener("focus",tt,!0),window.addEventListener("click",_t,!0);break;default:throw new Error(`Event value of '${o.event}' is not supported. ${O}`)}return window.addEventListener("keydown",et,!0),k(),{update(g){_(()=>{o=g,k(),N()})},destroy(){h.removeEventListener("click",bt,!0),h.removeEventListener("mouseover",tt,!0),h.removeEventListener("mouseleave",()=>_(),!0),h.removeEventListener("focus",bt,!0),h.removeEventListener("focus",tt,!0),h.removeEventListener("blur",()=>_(),!0),window.removeEventListener("click",_t,!0),window.removeEventListener("keydown",et,!0)}}}function ts(h){let o,S,E,L,pe,j,Ie="Menu",ve,I,Z,T,w,Ct,M,O='3<span class="sr-only">issues open</span>',u,q,N,k,tt,_,bt='1<span class="sr-only">pull request open</span>',_t,et,g,C,U,F,Ae='2<span class="sr-only">unread notifications</span>',$e,nt,A,B,ke,rt,Ve="Project Name",Pe,R,me,at,b,H,Et,Ze,yt,Qn="Repository",tn,Dt,en,P,lt,St,nn,It,Wn="Files",rn,ot,At,sn,kt,Kn="Branches",an,it,Pt,ln,Vt,Xn="Commits",on,ft,Lt,fn,Tt,Yn="Tags",un,G,Mt,cn,qt,Jn="Issues",dn,Nt,Zn="2",pn,z,Ut,vn,Ft,tr="Merge Requests",$n,jt,er="2",mn,Q,Ot,gn,Bt,nr="People",xn,Rt,hn,ut,ct,Ht,wn,Gt,rr="Roles",Cn,dt,zt,bn,Qt,sr="Moderation",_n,W,Wt,En,Kt,ar="Overview",yn,Xt,Dn,K,pt,Yt,Sn,Jt,lr="Fork",In,vt,Zt,An,te,or="Star",kn,X,ee,Pn,ne,ir="Watch",Vn,re,Le,$t,y,mt,se,Ln,ae,fr="Profile",Tn,gt,le,Mn,st,ur="Settings",qn,Y,oe,Nn,ie,cr="Dark mode",Un,ge,dr="Slider missing",Fn,xt,fe,jn,ue,pr="About Anvil",On,ht,ce,Bn,de,vr="Sign out",Te,Rn,$r;return L=new Gn({props:{fill:"currentColor"}}),w=new br({props:{fill:"currentColor"}}),k=new _r({props:{fill:"currentColor"}}),C=new Mr({props:{fill:"currentColor"}}),B=new qr({props:{fill:"currentColor"}}),R=new Er({props:{fill:"currentColor"}}),Et=new Nr({props:{fill:"currentColor"}}),Dt=new zn({props:{fill:"currentColor"}}),St=new Ur({props:{fill:"currentColor"}}),At=new Fr({props:{fill:"currentColor"}}),Pt=new jr({props:{fill:"currentColor"}}),Lt=new Or({props:{fill:"currentColor"}}),Mt=new br({props:{fill:"currentColor"}}),Ut=new _r({props:{fill:"currentColor"}}),Ot=new Gn({props:{fill:"currentColor"}}),Rt=new zn({props:{fill:"currentColor"}}),Ht=new Br({props:{fill:"currentColor"}}),zt=new Rr({props:{fill:"currentColor"}}),Wt=new Hr({props:{fill:"currentColor"}}),Xt=new zn({props:{fill:"currentColor"}}),Yt=new Gr({props:{fill:"currentColor"}}),Zt=new zr({props:{fill:"currentColor"}}),ee=new Qr({props:{fill:"currentColor"}}),re=new Er({props:{fill:"currentColor"}}),se=new Gn({props:{fill:"currentColor",class:"text-white bg-surface-400 rounded-full"}}),le=new Wr({props:{fill:"currentColor"}}),oe=new Kr({props:{fill:"currentColor"}}),fe=new Xr({props:{fill:"currentColor"}}),ce=new Yr({props:{fill:"currentColor"}}),{c(){o=n("div"),S=n("div"),E=n("button"),c(L.$$.fragment),pe=a(),j=n("span"),j.textContent=Ie,ve=a(),I=n("div"),Z=n("div"),T=n("button"),c(w.$$.fragment),Ct=a(),M=n("span"),M.innerHTML=O,u=a(),q=n("div"),N=n("button"),c(k.$$.fragment),tt=a(),_=n("span"),_.innerHTML=bt,_t=a(),et=n("div"),g=n("button"),c(C.$$.fragment),U=a(),F=n("span"),F.innerHTML=Ae,$e=a(),nt=n("div"),A=n("div"),c(B.$$.fragment),ke=a(),rt=n("span"),rt.textContent=Ve,Pe=a(),c(R.$$.fragment),me=a(),at=n("div"),b=n("div"),H=n("div"),c(Et.$$.fragment),Ze=a(),yt=n("span"),yt.textContent=Qn,tn=a(),c(Dt.$$.fragment),en=a(),P=n("div"),lt=n("div"),c(St.$$.fragment),nn=a(),It=n("span"),It.textContent=Wn,rn=a(),ot=n("div"),c(At.$$.fragment),sn=a(),kt=n("span"),kt.textContent=Kn,an=a(),it=n("div"),c(Pt.$$.fragment),ln=a(),Vt=n("span"),Vt.textContent=Xn,on=a(),ft=n("div"),c(Lt.$$.fragment),fn=a(),Tt=n("span"),Tt.textContent=Yn,un=a(),G=n("div"),c(Mt.$$.fragment),cn=a(),qt=n("span"),qt.textContent=Jn,dn=a(),Nt=n("span"),Nt.textContent=Zn,pn=a(),z=n("div"),c(Ut.$$.fragment),vn=a(),Ft=n("span"),Ft.textContent=tr,$n=a(),jt=n("span"),jt.textContent=er,mn=a(),Q=n("div"),c(Ot.$$.fragment),gn=a(),Bt=n("span"),Bt.textContent=nr,xn=a(),c(Rt.$$.fragment),hn=a(),ut=n("div"),ct=n("div"),c(Ht.$$.fragment),wn=a(),Gt=n("span"),Gt.textContent=rr,Cn=a(),dt=n("div"),c(zt.$$.fragment),bn=a(),Qt=n("span"),Qt.textContent=sr,_n=a(),W=n("div"),c(Wt.$$.fragment),En=a(),Kt=n("span"),Kt.textContent=ar,yn=a(),c(Xt.$$.fragment),Dn=a(),K=n("div"),pt=n("div"),c(Yt.$$.fragment),Sn=a(),Jt=n("span"),Jt.textContent=lr,In=a(),vt=n("div"),c(Zt.$$.fragment),An=a(),te=n("span"),te.textContent=or,kn=a(),X=n("div"),c(ee.$$.fragment),Pn=a(),ne=n("span"),ne.textContent=ir,Vn=a(),c(re.$$.fragment),Le=a(),$t=n("div"),y=n("div"),mt=n("div"),c(se.$$.fragment),Ln=a(),ae=n("span"),ae.textContent=fr,Tn=a(),gt=n("div"),c(le.$$.fragment),Mn=a(),st=n("button"),st.textContent=ur,qn=a(),Y=n("div"),c(oe.$$.fragment),Nn=a(),ie=n("span"),ie.textContent=cr,Un=a(),ge=n("span"),ge.textContent=dr,Fn=a(),xt=n("div"),c(fe.$$.fragment),jn=a(),ue=n("span"),ue.textContent=pr,On=a(),ht=n("div"),c(ce.$$.fragment),Bn=a(),de=n("span"),de.textContent=vr,this.h()},l(e){o=r(e,"DIV",{class:!0});var V=f(o);S=r(V,"DIV",{class:!0});var Me=f(S);E=r(Me,"BUTTON",{type:!0,class:!0});var qe=f(E);d(L.$$.fragment,qe),pe=l(qe),j=r(qe,"SPAN",{class:!0,"data-svelte-h":!0}),x(j)!=="svelte-sxdmm8"&&(j.textContent=Ie),qe.forEach(i),ve=l(Me),I=r(Me,"DIV",{class:!0});var xe=f(I);Z=r(xe,"DIV",{class:!0});var mr=f(Z);T=r(mr,"BUTTON",{class:!0});var Ne=f(T);d(w.$$.fragment,Ne),Ct=l(Ne),M=r(Ne,"SPAN",{"data-svelte-h":!0}),x(M)!=="svelte-r0n7s9"&&(M.innerHTML=O),Ne.forEach(i),mr.forEach(i),u=l(xe),q=r(xe,"DIV",{class:!0});var gr=f(q);N=r(gr,"BUTTON",{class:!0});var Ue=f(N);d(k.$$.fragment,Ue),tt=l(Ue),_=r(Ue,"SPAN",{"data-svelte-h":!0}),x(_)!=="svelte-1ciq2m9"&&(_.innerHTML=bt),Ue.forEach(i),gr.forEach(i),_t=l(xe),et=r(xe,"DIV",{class:!0});var xr=f(et);g=r(xr,"BUTTON",{class:!0});var Fe=f(g);d(C.$$.fragment,Fe),U=l(Fe),F=r(Fe,"SPAN",{"data-svelte-h":!0}),x(F)!=="svelte-11oscnd"&&(F.innerHTML=Ae),Fe.forEach(i),xr.forEach(i),xe.forEach(i),Me.forEach(i),$e=l(V),nt=r(V,"DIV",{class:!0});var hr=f(nt);A=r(hr,"DIV",{class:!0});var he=f(A);d(B.$$.fragment,he),ke=l(he),rt=r(he,"SPAN",{class:!0,"data-svelte-h":!0}),x(rt)!=="svelte-1vkp95m"&&(rt.textContent=Ve),Pe=l(he),d(R.$$.fragment,he),he.forEach(i),hr.forEach(i),me=l(V),at=r(V,"DIV",{class:!0});var wr=f(at);b=r(wr,"DIV",{class:!0});var D=f(b);H=r(D,"DIV",{class:!0});var we=f(H);d(Et.$$.fragment,we),Ze=l(we),yt=r(we,"SPAN",{class:!0,"data-svelte-h":!0}),x(yt)!=="svelte-1uod6is"&&(yt.textContent=Qn),tn=l(we),d(Dt.$$.fragment,we),we.forEach(i),en=l(D),P=r(D,"DIV",{class:!0});var wt=f(P);lt=r(wt,"DIV",{class:!0});var je=f(lt);d(St.$$.fragment,je),nn=l(je),It=r(je,"SPAN",{class:!0,"data-svelte-h":!0}),x(It)!=="svelte-19i1kw9"&&(It.textContent=Wn),je.forEach(i),rn=l(wt),ot=r(wt,"DIV",{class:!0});var Oe=f(ot);d(At.$$.fragment,Oe),sn=l(Oe),kt=r(Oe,"SPAN",{class:!0,"data-svelte-h":!0}),x(kt)!=="svelte-462z9o"&&(kt.textContent=Kn),Oe.forEach(i),an=l(wt),it=r(wt,"DIV",{class:!0});var Be=f(it);d(Pt.$$.fragment,Be),ln=l(Be),Vt=r(Be,"SPAN",{class:!0,"data-svelte-h":!0}),x(Vt)!=="svelte-1hwpyta"&&(Vt.textContent=Xn),Be.forEach(i),on=l(wt),ft=r(wt,"DIV",{class:!0});var Re=f(ft);d(Lt.$$.fragment,Re),fn=l(Re),Tt=r(Re,"SPAN",{class:!0,"data-svelte-h":!0}),x(Tt)!=="svelte-11bn1mh"&&(Tt.textContent=Yn),Re.forEach(i),wt.forEach(i),un=l(D),G=r(D,"DIV",{class:!0});var Ce=f(G);d(Mt.$$.fragment,Ce),cn=l(Ce),qt=r(Ce,"SPAN",{class:!0,"data-svelte-h":!0}),x(qt)!=="svelte-14oigpc"&&(qt.textContent=Jn),dn=l(Ce),Nt=r(Ce,"SPAN",{class:!0,"data-svelte-h":!0}),x(Nt)!=="svelte-inxqay"&&(Nt.textContent=Zn),Ce.forEach(i),pn=l(D),z=r(D,"DIV",{class:!0});var be=f(z);d(Ut.$$.fragment,be),vn=l(be),Ft=r(be,"SPAN",{class:!0,"data-svelte-h":!0}),x(Ft)!=="svelte-ebpie2"&&(Ft.textContent=tr),$n=l(be),jt=r(be,"SPAN",{class:!0,"data-svelte-h":!0}),x(jt)!=="svelte-1eu3j24"&&(jt.textContent=er),be.forEach(i),mn=l(D),Q=r(D,"DIV",{class:!0});var _e=f(Q);d(Ot.$$.fragment,_e),gn=l(_e),Bt=r(_e,"SPAN",{class:!0,"data-svelte-h":!0}),x(Bt)!=="svelte-1c48uy3"&&(Bt.textContent=nr),xn=l(_e),d(Rt.$$.fragment,_e),_e.forEach(i),hn=l(D),ut=r(D,"DIV",{class:!0});var He=f(ut);ct=r(He,"DIV",{class:!0});var Ge=f(ct);d(Ht.$$.fragment,Ge),wn=l(Ge),Gt=r(Ge,"SPAN",{class:!0,"data-svelte-h":!0}),x(Gt)!=="svelte-180p633"&&(Gt.textContent=rr),Ge.forEach(i),Cn=l(He),dt=r(He,"DIV",{class:!0});var ze=f(dt);d(zt.$$.fragment,ze),bn=l(ze),Qt=r(ze,"SPAN",{class:!0,"data-svelte-h":!0}),x(Qt)!=="svelte-14h3dsk"&&(Qt.textContent=sr),ze.forEach(i),He.forEach(i),_n=l(D),W=r(D,"DIV",{class:!0});var Ee=f(W);d(Wt.$$.fragment,Ee),En=l(Ee),Kt=r(Ee,"SPAN",{class:!0,"data-svelte-h":!0}),x(Kt)!=="svelte-1o3yhl3"&&(Kt.textContent=ar),yn=l(Ee),d(Xt.$$.fragment,Ee),Ee.forEach(i),D.forEach(i),wr.forEach(i),Dn=l(V),K=r(V,"DIV",{class:!0});var ye=f(K);pt=r(ye,"DIV",{class:!0});var Qe=f(pt);d(Yt.$$.fragment,Qe),Sn=l(Qe),Jt=r(Qe,"SPAN",{class:!0,"data-svelte-h":!0}),x(Jt)!=="svelte-1682q8f"&&(Jt.textContent=lr),Qe.forEach(i),In=l(ye),vt=r(ye,"DIV",{class:!0});var We=f(vt);d(Zt.$$.fragment,We),An=l(We),te=r(We,"SPAN",{class:!0,"data-svelte-h":!0}),x(te)!=="svelte-1rvo0bv"&&(te.textContent=or),We.forEach(i),kn=l(ye),X=r(ye,"DIV",{class:!0});var De=f(X);d(ee.$$.fragment,De),Pn=l(De),ne=r(De,"SPAN",{class:!0,"data-svelte-h":!0}),x(ne)!=="svelte-wubedq"&&(ne.textContent=ir),Vn=l(De),d(re.$$.fragment,De),De.forEach(i),ye.forEach(i),V.forEach(i),Le=l(e),$t=r(e,"DIV",{class:!0,"data-popup":!0});var Cr=f($t);y=r(Cr,"DIV",{class:!0});var J=f(y);mt=r(J,"DIV",{class:!0});var Ke=f(mt);d(se.$$.fragment,Ke),Ln=l(Ke),ae=r(Ke,"SPAN",{class:!0,"data-svelte-h":!0}),x(ae)!=="svelte-27wwwk"&&(ae.textContent=fr),Ke.forEach(i),Tn=l(J),gt=r(J,"DIV",{class:!0});var Xe=f(gt);d(le.$$.fragment,Xe),Mn=l(Xe),st=r(Xe,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),x(st)!=="svelte-1r5w9cc"&&(st.textContent=ur),Xe.forEach(i),qn=l(J),Y=r(J,"DIV",{class:!0});var Se=f(Y);d(oe.$$.fragment,Se),Nn=l(Se),ie=r(Se,"SPAN",{class:!0,"data-svelte-h":!0}),x(ie)!=="svelte-18urloy"&&(ie.textContent=cr),Un=l(Se),ge=r(Se,"SPAN",{"data-svelte-h":!0}),x(ge)!=="svelte-pjmbzv"&&(ge.textContent=dr),Se.forEach(i),Fn=l(J),xt=r(J,"DIV",{class:!0});var Ye=f(xt);d(fe.$$.fragment,Ye),jn=l(Ye),ue=r(Ye,"SPAN",{class:!0,"data-svelte-h":!0}),x(ue)!=="svelte-187he6y"&&(ue.textContent=pr),Ye.forEach(i),On=l(J),ht=r(J,"DIV",{class:!0});var Je=f(ht);d(ce.$$.fragment,Je),Bn=l(Je),de=r(Je,"SPAN",{class:!0,"data-svelte-h":!0}),x(de)!=="svelte-1nlnwue"&&(de.textContent=vr),Je.forEach(i),J.forEach(i),Cr.forEach(i),this.h()},h(){s(j,"class","sr-only"),s(E,"type","button"),s(E,"class","btn btn-icon text-white bg-surface-400 rounded-full"),s(T,"class","btn btn-icon rounded-full"),s(Z,"class","flex items-center content-stretch gap-1 bg-white"),s(N,"class","btn btn-icon rounded-full"),s(q,"class","flex items-center content-stretch gap-1 bg-white"),s(g,"class","btn btn-icon rounded-full"),s(et,"class","flex items-center content-stretch gap-1 bg-white"),s(I,"class","flex flex-1 justify-around content-stretch bg-white"),s(S,"class","flex items-center content-stretch justify-start gap-4 ps-1"),s(rt,"class","text-primary-600 semibold flex-1 self-center"),s(A,"class","flex flex-1 gap-2 bg-surface-50 border-surface-300 drop-shadow p-2"),s(nt,"class","flex -mx-2"),s(yt,"class","text-surface-500 -mb-2 flex-1"),s(H,"class","flex gap-4 bg-white"),s(It,"class","text-surface-500 -mb-2 flex-1"),s(lt,"class","flex gap-4 bg-white"),s(kt,"class","text-surface-500 -mb-2 flex-1"),s(ot,"class","flex gap-4 bg-white"),s(Vt,"class","text-surface-500 -mb-2 flex-1"),s(it,"class","flex gap-4 bg-white"),s(Tt,"class","text-surface-500 -mb-2 flex-1"),s(ft,"class","flex gap-4 bg-white"),s(P,"class","flex flex-col ps-4"),s(qt,"class","text-surface-500 -mb-2 flex-1"),s(Nt,"class","text-surface-500 text-center bg-secondary-200 rounded-full min-w-6"),s(G,"class","flex gap-4 bg-white"),s(Ft,"class","text-surface-500 -mb-2 flex-1"),s(jt,"class","text-surface-500 text-center bg-secondary-200 rounded-full min-w-6 self-baseline"),s(z,"class","flex gap-4 bg-white"),s(Bt,"class","text-surface-500 -mb-2 flex-1"),s(Q,"class","flex gap-4 bg-white"),s(Gt,"class","text-surface-500 -mb-2 flex-1"),s(ct,"class","flex gap-4 bg-white"),s(Qt,"class","text-surface-500 -mb-2 flex-1"),s(dt,"class","flex gap-4 bg-white"),s(ut,"class","flex flex-col ps-4"),s(Kt,"class","text-surface-500 -mb-2 flex-1"),s(W,"class","flex gap-4 bg-white"),s(b,"class","flex flex-col bg-white border-surface-300 rounded-border px-4"),s(at,"class","flex flex-col -mt-6"),s(Jt,"class","sr-only"),s(pt,"class","flex flex-1 align-center justify-center gap-2 bg-white border-surface-200"),s(te,"class","sr-only"),s(vt,"class","flex flex-1 align-center justify-center gap-2 bg-white border-surface-200"),s(ne,"class","sr-only"),s(X,"class","flex flex-1 align-center justify-center gap-2 bg-white border-surface-200"),s(K,"class","flex gap-4"),s(o,"class","flex flex-col gap-6 h-full px-8 py-6 bg-surface-50 border-surface-200"),s(ae,"class","text-surface-500 -mb-2"),s(mt,"class","bg-white flex gap-4"),s(st,"type","button"),s(st,"class","text-surface-500 -mb-2"),s(gt,"class","bg-white flex gap-4"),s(ie,"class","text-surface-500 -mb-2"),s(Y,"class","bg-white flex gap-4"),s(ue,"class","text-surface-500 -mb-2"),s(xt,"class","bg-white flex gap-4"),s(de,"class","text-surface-500 -mb-2"),s(ht,"class","bg-white flex gap-4"),s(y,"class","flex flex-col bg-white border-surface-300 border-rounded drop-shadow px-4 py-2"),s($t,"class","card p-4 bg-transparent"),s($t,"data-popup","overlayAvatar")},m(e,V){Hn(e,o,V),t(o,S),t(S,E),p(L,E,null),t(E,pe),t(E,j),t(S,ve),t(S,I),t(I,Z),t(Z,T),p(w,T,null),t(T,Ct),t(T,M),t(I,u),t(I,q),t(q,N),p(k,N,null),t(N,tt),t(N,_),t(I,_t),t(I,et),t(et,g),p(C,g,null),t(g,U),t(g,F),t(o,$e),t(o,nt),t(nt,A),p(B,A,null),t(A,ke),t(A,rt),t(A,Pe),p(R,A,null),t(o,me),t(o,at),t(at,b),t(b,H),p(Et,H,null),t(H,Ze),t(H,yt),t(H,tn),p(Dt,H,null),t(b,en),t(b,P),t(P,lt),p(St,lt,null),t(lt,nn),t(lt,It),t(P,rn),t(P,ot),p(At,ot,null),t(ot,sn),t(ot,kt),t(P,an),t(P,it),p(Pt,it,null),t(it,ln),t(it,Vt),t(P,on),t(P,ft),p(Lt,ft,null),t(ft,fn),t(ft,Tt),t(b,un),t(b,G),p(Mt,G,null),t(G,cn),t(G,qt),t(G,dn),t(G,Nt),t(b,pn),t(b,z),p(Ut,z,null),t(z,vn),t(z,Ft),t(z,$n),t(z,jt),t(b,mn),t(b,Q),p(Ot,Q,null),t(Q,gn),t(Q,Bt),t(Q,xn),p(Rt,Q,null),t(b,hn),t(b,ut),t(ut,ct),p(Ht,ct,null),t(ct,wn),t(ct,Gt),t(ut,Cn),t(ut,dt),p(zt,dt,null),t(dt,bn),t(dt,Qt),t(b,_n),t(b,W),p(Wt,W,null),t(W,En),t(W,Kt),t(W,yn),p(Xt,W,null),t(o,Dn),t(o,K),t(K,pt),p(Yt,pt,null),t(pt,Sn),t(pt,Jt),t(K,In),t(K,vt),p(Zt,vt,null),t(vt,An),t(vt,te),t(K,kn),t(K,X),p(ee,X,null),t(X,Pn),t(X,ne),t(X,Vn),p(re,X,null),Hn(e,Le,V),Hn(e,$t,V),t($t,y),t(y,mt),p(se,mt,null),t(mt,Ln),t(mt,ae),t(y,Tn),t(y,gt),p(le,gt,null),t(gt,Mn),t(gt,st),t(y,qn),t(y,Y),p(oe,Y,null),t(Y,Nn),t(Y,ie),t(Y,Un),t(Y,ge),t(y,Fn),t(y,xt),p(fe,xt,null),t(xt,jn),t(xt,ue),t(y,On),t(y,ht),p(ce,ht,null),t(ht,Bn),t(ht,de),Te=!0,Rn||($r=[Ar(Zr.call(null,E,h[1])),Vr(st,"click",h[0])],Rn=!0)},p:kr,i(e){Te||(v(L.$$.fragment,e),v(w.$$.fragment,e),v(k.$$.fragment,e),v(C.$$.fragment,e),v(B.$$.fragment,e),v(R.$$.fragment,e),v(Et.$$.fragment,e),v(Dt.$$.fragment,e),v(St.$$.fragment,e),v(At.$$.fragment,e),v(Pt.$$.fragment,e),v(Lt.$$.fragment,e),v(Mt.$$.fragment,e),v(Ut.$$.fragment,e),v(Ot.$$.fragment,e),v(Rt.$$.fragment,e),v(Ht.$$.fragment,e),v(zt.$$.fragment,e),v(Wt.$$.fragment,e),v(Xt.$$.fragment,e),v(Yt.$$.fragment,e),v(Zt.$$.fragment,e),v(ee.$$.fragment,e),v(re.$$.fragment,e),v(se.$$.fragment,e),v(le.$$.fragment,e),v(oe.$$.fragment,e),v(fe.$$.fragment,e),v(ce.$$.fragment,e),Te=!0)},o(e){$(L.$$.fragment,e),$(w.$$.fragment,e),$(k.$$.fragment,e),$(C.$$.fragment,e),$(B.$$.fragment,e),$(R.$$.fragment,e),$(Et.$$.fragment,e),$(Dt.$$.fragment,e),$(St.$$.fragment,e),$(At.$$.fragment,e),$(Pt.$$.fragment,e),$(Lt.$$.fragment,e),$(Mt.$$.fragment,e),$(Ut.$$.fragment,e),$(Ot.$$.fragment,e),$(Rt.$$.fragment,e),$(Ht.$$.fragment,e),$(zt.$$.fragment,e),$(Wt.$$.fragment,e),$(Xt.$$.fragment,e),$(Yt.$$.fragment,e),$(Zt.$$.fragment,e),$(ee.$$.fragment,e),$(re.$$.fragment,e),$(se.$$.fragment,e),$(le.$$.fragment,e),$(oe.$$.fragment,e),$(fe.$$.fragment,e),$(ce.$$.fragment,e),Te=!1},d(e){e&&(i(o),i(Le),i($t)),m(L),m(w),m(k),m(C),m(B),m(R),m(Et),m(Dt),m(St),m(At),m(Pt),m(Lt),m(Mt),m(Ut),m(Ot),m(Rt),m(Ht),m(zt),m(Wt),m(Xt),m(Yt),m(Zt),m(ee),m(re),m(se),m(le),m(oe),m(fe),m(ce),Rn=!1,Pr($r)}}}function es(h){const o={type:"component",component:"settings"},S=Tr();function E(){S.trigger(o)}return[E,{event:"click",target:"overlayAvatar",placement:"bottom"}]}class ns extends Dr{constructor(o){super(),Sr(this,o,es,ts,Ir,{})}}ns.__docgen={version:3,name:"MainMenu.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{ns as M};