import{a as O}from"./chunk-NVRIF56Y.js";import{Ac as k,Bb as r,Cb as x,Cc as T,Da as g,Db as L,Ga as c,Hc as P,Nb as _,Ra as C,Xa as a,cb as p,db as o,ib as h,ic as y,mb as f,nb as d,nc as u,ob as b,od as N,sa as i}from"./chunk-XBTZE2EC.js";import{i as m}from"./chunk-WHYNGVB3.js";var D=["*"];function S(t,n){if(t&1&&b(0,"my-global-icon",4),t&2){let e=r(2);o("iconName",e.icon())}}function I(t,n){if(t&1&&(a(0,S,1,1,"my-global-icon",3),L(1)),t&2){let e=r();o("ngIf",e.icon())}}function M(t,n){}function R(t,n){t&1&&a(0,M,0,0,"ng-template")}function E(t,n){if(t&1&&(f(0,"a",1),a(1,R,1,0,null,5),d()),t&2){let e=r(),l=_(1);o("href",e.href(),g)("target",e.target())("ariaLabel",e.ariaLabel())("tabindex",e.tabindex())("ngClass",e.builtClasses),p("title",e.title()),c(),o("ngTemplateOutlet",l)}}function j(t,n){}function w(t,n){t&1&&a(0,j,0,0,"ng-template")}function G(t,n){if(t&1&&(f(0,"a",2),a(1,w,1,0,null,5),d()),t&2){let e=r(),l=_(1);o("routerLink",e.internalLink())("ariaLabel",e.ariaLabel())("tabindex",e.tabindex())("ngClass",e.builtClasses),p("title",e.title()),c(),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:u});inheritParentDimension=i(!1,{transform:u});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")}};m(n,"\u0275fac",function(s){return new(s||n)}),m(n,"\u0275cmp",C({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:D,decls:4,vars:1,consts:[["content",""],[3,"href","target","ariaLabel","tabindex","ngClass"],[3,"routerLink","ariaLabel","tabindex","ngClass"],[3,"iconName",4,"ngIf"],[3,"iconName"],[4,"ngTemplateOutlet"]],template:function(s,v){s&1&&(x(),a(0,I,2,1,"ng-template",null,0,y)(2,E,2,7,"a",1)(3,G,2,6,"a",2)),s&2&&(c(2),h(v.href()?2:3))},dependencies:[T,N,k,P,O],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 t=n;return t})();export{B as a};
/**i18n:56bde403ffba090cdb11aaac0f86ffb9ae7c2bab95df4b44d5dba510264fcf4f*/
//# sourceMappingURL=chunk-YRUU56H3.js.map
