import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{n as r}from"./axios-v6FV69Ne.js";import{r as i}from"./react-redux-rciCADVi.js";t();var a=e(r()),o=n(),s=({style:e={},size:t})=>{i(e=>e.cti.ui.primaryColor);let n={...e};if(t)switch(t){case`small`:n.transform=`scale(0.5)`;break;default:break}return(0,o.jsx)(`div`,{className:`cti-loader`,style:n,children:(0,o.jsxs)(`div`,{className:`sk-folding-cube`,children:[(0,o.jsx)(`div`,{className:`sk-cube1 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube2 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube4 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube3 sk-cube`})]})})};s.propTypes={style:a.default.object,size:a.default.string};export{s as t};