import{a as M}from"./chunk-WACTU4HM.js";import{Aa as C,Da as m,Ec as i,Jb as r,Kb as L,Lb as y,Ld as v,Mc as b,Na as h,Tb as _,Ua as a,Wc as k,_c as D,cb as d,gb as p,hb as f,mb as o,nb as g,ob as u,pb as x,xc as N}from"./chunk-RB2SGB4Z.js";import{i as c}from"./chunk-IQVXR75E.js";var T=["*"];function O(e,n){if(e&1&&x(0,"my-global-icon",3),e&2){let t=r(2);o("iconName",t.icon())}}function S(e,n){if(e&1&&(p(0,O,1,1,"my-global-icon",3),y(1)),e&2){let t=r();f(t.icon()?0:-1)}}function R(e,n){}function E(e,n){e&1&&a(0,R,0,0,"ng-template")}function I(e,n){if(e&1&&(g(0,"a",1),a(1,E,1,0,null,4),u()),e&2){let t=r(),l=_(1);o("href",t.href(),C)("target",t.target())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),d("title",t.title()),m(),o("ngTemplateOutlet",l)}}function j(e,n){}function w(e,n){e&1&&a(0,j,0,0,"ng-template")}function G(e,n){if(e&1&&(g(0,"a",2),a(1,w,1,0,null,4),u()),e&2){let t=r(),l=_(1);o("routerLink",t.internalLink())("ariaLabel",t.ariaLabel())("tabindex",t.tabindex())("ngClass",t.builtClasses),d("title",t.title()),m(),o("ngTemplateOutlet",l)}}var B=(()=>{let n=class n{internalLink=i(void 0);href=i(void 0);target=i("_self");title=i(void 0);className=i(void 0);inheritParentStyle=i(!1,{transform:b});inheritParentDimension=i(!1,{transform:b});tabindex=i(void 0);ariaLabel=i(void 0);icon=i(void 0);builtClasses;ngOnInit(){this.builtClasses=this.className()||"",this.inheritParentStyle()&&(this.builtClasses+=" inherit-parent-style"),this.inheritParentDimension()&&(this.builtClasses+=" inherit-parent-dimension")}};c(n,"\u0275fac",function(s){return new(s||n)}),c(n,"\u0275cmp",h({type:n,selectors:[["my-link"]],inputs:{internalLink:[1,"internalLink"],href:[1,"href"],target:[1,"target"],title:[1,"title"],className:[1,"className"],inheritParentStyle:[1,"inheritParentStyle"],inheritParentDimension:[1,"inheritParentDimension"],tabindex:[1,"tabindex"],ariaLabel:[1,"ariaLabel"],icon:[1,"icon"]},ngContentSelectors:T,decls:4,vars:1,consts:[["content",""],[3,"href","target","ariaLabel","tabindex","ngClass"],[3,"routerLink","ariaLabel","tabindex","ngClass"],[3,"iconName"],[4,"ngTemplateOutlet"]],template:function(s,P){s&1&&(L(),a(0,S,2,1,"ng-template",null,0,N),p(2,I,2,7,"a",1)(3,G,2,6,"a",2)),s&2&&(m(2),f(P.href()?2:3))},dependencies:[v,k,D,M],styles:[`.inherit-parent-style[_ngcontent-%COMP%]{color:inherit;opacity:inherit;text-decoration:inherit}.inherit-parent-dimension[_ngcontent-%COMP%]{position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-PG2OIK6R.css.map */`]}));let e=n;return e})();export{B as a};
/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/
//# sourceMappingURL=chunk-L6GZIQIW.js.map
