import{Db as c,Fc as p,La as d,Rc as g,ab as s,bb as a,gb as m,jb as l,xc as r}from"./chunk-HJJWL6RD.js";import{i as o}from"./chunk-H2BCKOF6.js";function h(t,e){if(t&1&&l(0,"div",0),t&2){let f=c();m("ngStyle",f.getStyle())}}var w=(()=>{let e=class e{loading=r(!1,{transform:p});size=r();sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},md:{width:"1.5rem",height:"1.5rem","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,u){n&1&&s(0,h,1,1,"div",0),n&2&&a(u.loading()?0:-1)},dependencies:[g],encapsulation:2}));let t=e;return t})();export{w as a};
/**i18n:671d995daee9c68b73ac729b7ab2c3cf3be32c7f1a24d9dfa94e261c45ee5241*/
//# sourceMappingURL=chunk-POWTF5KQ.js.map
