import{$a as a,Bb as c,Fc as p,Ka as d,Rc as u,_a as s,eb as l,hb as m,yc as r}from"./chunk-THW6YIIG.js";import{i as o}from"./chunk-PTJGHD3V.js";function y(t,e){if(t&1&&m(0,"div",0),t&2){let f=c();l("ngStyle",f.getStyle())}}var x=(()=>{let e=class e{loading=r(void 0,{transform:p});size=r(void 0);sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let i=this.size();if(i)return this.sizes[i]}};o(e,"\u0275fac",function(n){return new(n||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["role","status",1,"spinner-border",3,"ngStyle"]],template:function(n,g){n&1&&s(0,y,1,1,"div",0),n&2&&a(g.loading()?0:-1)},dependencies:[u],encapsulation:2}));let t=e;return t})();export{x as a};
/**i18n:90f1dd82a779b57eddc91ef20913c88eecaa9632bba8ac04ad50f47ae2b82df7*/
//# sourceMappingURL=chunk-NUCSST5L.js.map
