import{a as S}from"./chunk-CSPBGCHB.js";import{Bf as N,Da as s,Ec as t,Mc as _,Na as g,Yb as d,_b as f,_g as u,ba as r,mb as m,nb as c,ob as p,vh as M}from"./chunk-ZSQR4KTU.js";import{i as a}from"./chunk-IQVXR75E.js";var h=(()=>{let e=class e{server=r(M);label=t("Kirjaudu");icon=t(!1,{transform:_});className=t(void 0);getExternalLoginHref(){return u.getDefaultLoginHref(N.apiUrl,this.server.getHTMLConfig());}};a(e,"\u0275fac",function(n){return new(n||e)();}),a(e,"\u0275cmp",g({type:e,selectors:[["my-login-link"]],inputs:{label:[1,"label"],icon:[1,"icon"],className:[1,"className"]},decls:2,vars:4,consts:()=>{let i;return i="Mene kirjautumissivulle",[["title",i,"internalLink","/login",1,"d-flex",3,"href","className","icon"]];},template:function(n,o){n&1&&(c(0,"my-link",0),d(1),p()),n&2&&(m("href",o.getExternalLoginHref())("className",o.className())("icon",o.icon()?"sign-in":void 0),s(),f(" ",o.label(),`
`));},dependencies:[S],styles:[`my-global-icon[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;line-height:24px}
/*# sourceMappingURL=login-link.component-ZJLSNZPA.css.map */`]}));let l=e;return l;})();export{h as a};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-UFSC6OU6.js.map