import{Bb as p,Cc as f,Gc as c,Ra as d,Xa as l,db as s,nc as m,ob as a,sa as r}from"./chunk-WVVK4EBY.js";import{i as o}from"./chunk-LV2JZWXA.js";function y(t,e){if(t&1&&a(0,"div",1),t&2){let g=p();s("ngStyle",g.getStyle())}}var S=(()=>{let e=class e{loading=r(void 0,{transform:m});size=r(void 0);sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let n=this.size();if(n)return this.sizes[n]}};o(e,"\u0275fac",function(i){return new(i||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["class","spinner-border","role","status",3,"ngStyle",4,"ngIf"],["role","status",1,"spinner-border",3,"ngStyle"]],template:function(i,u){i&1&&l(0,y,1,1,"div",0),i&2&&s("ngIf",u.loading())},dependencies:[f,c],encapsulation:2}));let t=e;return t})();export{S as a};
/**i18n:b046b42d3b2db5c4a6153f28081b96130c38e9218feb7118271ff63b274934c4*/
//# sourceMappingURL=chunk-ICCCQM5N.js.map
