1import{j as a,a7 as e}from"./vendor-BTu8mziD.js";import{S as s}from"./App-BI9DIU8V.js";import{s as l,u as g,A as u}from"./bootstrap-ByLZuHMf.js";import{u as m,L as c}from"./useLogin-L6D0wHuq.js";const b=()=>{const{digidLogin:i,isLoginError:n}=m(),o=l(),{authenticated:t}=g(r=>r.authenticationState);return t?a.jsx(c,{loginLabel:e("labels.login"),logoutLabel:e("labels.logout"),alertTitle:o.alertTitle,errormessage:o.errormessage,isLoggedIn:t??!1,login:i,logout:u,isLoginError:n,variant:"secondary"}):a.jsx(s,{href:o.loginPageLink??o.loginPage,variant:"primary",interaction:"navigatie.hoofdmenu.inloggen",children:e("labels.login")})};export{b 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.