PageSourceSearch

https://www.maut1.de/_nuxt/BpF7BaPi.js

js maut1.de collected 2026-10-02 19:02:53 UTC 2,669 bytes, 1 lines download raw bytes

1import{k as M,K as w,bi as B,b as N,a as L,x as S,ap as s,aq as d,at as o,v as a,aw as v,aK as O,aD as y,av as p,as as m,aM as V,ay as k,az as A,r as C,q,n as z,ao as D}from"./Cso71_Eb.js";import P from"./Dlc2cJtf.js";import{u as j}from"./Ca7VzsCD.js";const E={class:"account-sidebar","aria-label":"Account navigation"},F={class:"account-sidebar__mobile"},R={class:"account-sidebar__mobile-icon-wrap"},T={class:"account-sidebar__mobile-label"},W={key:0,class:"account-sidebar__mobile-menu"},$={class:"account-sidebar__desktop"},G={class:"account-sidebar__section"},H={class:"account-sidebar__section-title"},J={class:"account-sidebar__items","aria-label":"Account links"},Q={class:"account-sidebar__section"},U={class:"account-sidebar__section-title"},X={class:"account-sidebar__items"},Y=M({__name:"AccountSidebar",setup(Z){const{t}=w(),{logout:I}=B(),{navigationItems:i}=j(),r=N(),x=L(),c=C(!1),l=C(!1),b=n=>n==="/account"?r.path.endsWith("/account"):r.path.includes(n),u=q(()=>i.value.find(n=>n.to&&b(n.to))??i.value[0]),K=()=>{l.value=!l.value},h=()=>{l.value=!1},g=async()=>{if(!c.value){c.value=!0;try{await I(),await z({path:x("/account/login")})}finally{c.value=!1}}};return S(()=>r.fullPath,()=>{h()}),(n,aa)=>{const f=O,_=P;return s(),d("aside",E,[o("div",F,[o("button",{class:"account-sidebar__mobile-trigger",type:"button",onClick:K},[o("div",R,[a(u)?(s(),v(f,{key:0,name:a(u).icon,class:"account-sidebar__mobile-icon"},null,8,["name"])):y("",!0)]),o("span",T,p(a(u)?a(t)(a(u).labelKey):""),1),m(f,{name:"chevron-down-s",class:V(["account-sidebar__mobile-chevron",{"account-sidebar__mobile-chevron--open":a(l)}])},null,8,["class"])]),a(l)?(s(),d("div",W,[(s(!0),d(k,null,A(a(i),e=>(s(),v(_,{key:e.labelKey,label:a(t)(e.labelKey),icon:e.icon,to:e.to,active:e.to?b(e.to):!1,disabled:!!e.disabled,onClick:h},null,8,["label","icon","to","active","disabled"]))),128)),m(_,{label:a(t)("account.sidebar.action.logout"),icon:"sign-out",disabled:a(c),onClick:g},null,8,["label","disabled"])])):y("",!0)]),o("div",$,[o("div",G,[o("p",H,p(a(t)("account.sidebar.section.navigation")),1),o("nav",J,[(s(!0),d(k,null,A(a(i),e=>(s(),v(_,{key:e.labelKey,label:a(t)(e.labelKey),icon:e.icon,to:e.to,active:e.to?b(e.to):!1,disabled:!!e.disabled,testid:e.testid},null,8,["label","icon","to","active","disabled","testid"]))),128))])]),o("div",Q,[o("p",U,p(a(t)("account.sidebar.section.actions")),1),o("div",X,[m(_,{label:a(t)("account.sidebar.action.logout"),icon:"sign-out",disabled:a(c),testid:"account-logout-button",onClick:g},null,8,["label","disabled"])])])])])}}}),sa=Object.assign(D(Y,[["__scopeId","data-v-57060c80"]]),{__name:"AccountSidebar"});export{sa as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.