import{Hi as Zt,Ja as g,Kr as Tu,_s as ph,ea as ae,fn as Kb,gt as Ex,k as Bb,n as $B,nn as J$,s as $a,yc as wp,zo as ko}from"./chunk-b0nJCs5_.js";import{t as v}from"./chunk-d9xmxGyl.js";var L=class t{server=g(Zt);label=ph("Skrá inn");icon=ph(!1,{transform:Tu});className=ph(void 0);getExternalLoginHref(){return ko.getDefaultLoginHref(ae.apiUrl,this.server.getHTMLConfig())}static ɵfac=function(e){return new(e||t)};static ɵcmp=$a({type:t,selectors:[[`my-login-link`]],inputs:{label:[1,`label`],icon:[1,`icon`],className:[1,`className`]},decls:2,vars:4,consts:()=>{let n;return n="Fara á innskráningarsíðuna",[[`title`,n,`internalLink`,`/login`,1,`d-flex`,3,`href`,`className`,`icon`]]},template:function(e,i){e&1&&(wp(0,`my-link`,0),J$(1),Bb()),e&2&&(Ex(`href`,i.getExternalLoginHref())(`className`,i.className())(`icon`,i.icon()?`sign-in`:void 0),$B(),Kb(` `,i.label(),`
`))},dependencies:[v],styles:[`my-global-icon[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;line-height:24px}`],changeDetection:1})};export{L as t};
//# debugId=006c8025-c39a-5527-8d4a-051bbdd0cf14
//# sourceMappingURL=chunk-CXzREeiB.js.map