import{Fn as MV,Gn as NV,Kr as Tu,X as D$,Zs as th,_s as ph,gt as Ex,s as $a,ur as P3}from"./chunk-b0nJCs5_.js";function u(n,t){if(n&1&&th(0,`div`,0),n&2)Ex(`ngStyle`,D$().getStyle())}var p=class n{loading=ph(!1,{transform:Tu});size=ph();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 t=this.size();if(t)return this.sizes[t]}static ɵfac=function(e){return new(e||n)};static ɵcmp=$a({type:n,selectors:[[`my-loader`]],inputs:{loading:[1,`loading`],size:[1,`size`]},decls:1,vars:1,consts:[[`role`,`status`,1,`spinner-border`,3,`ngStyle`]],template:function(e,g){e&1&&NV(0,u,1,1,`div`,0),e&2&&MV(g.loading()?0:-1)},dependencies:[P3],encapsulation:2,changeDetection:1})};export{p as t};
//# debugId=5d54ad27-ed2e-5c40-9115-9bce59026d86
//# sourceMappingURL=chunk-CnEH9ox82.js.map