'use strict';

var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var spinner_module = require('./spinner.module.css.cjs');

const spinner = index.cva(spinner_module.default.spinner, {
    variants: {
        size: {
            1: spinner_module.default["spinner-size-1"],
            2: spinner_module.default["spinner-size-2"],
            3: spinner_module.default["spinner-size-3"],
            4: spinner_module.default["spinner-size-4"],
            5: spinner_module.default["spinner-size-5"],
            6: spinner_module.default["spinner-size-6"],
        },
        color: {
            default: spinner_module.default["spinner-color-default"],
            inverted: spinner_module.default["spinner-color-inverted"],
        }
    },
    defaultVariants: {
        size: 1,
        color: "default",
    },
});
const Spinner = React.forwardRef(({ className, size, color, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("div", { ref: ref, className: spinner({ size, color, className }), role: "status", "aria-hidden": "true", ...props, children: [...Array(8)].map((_, index) => (jsxRuntime.jsxRuntimeExports.jsx("div", { className: spinner_module.default.pole }, index))) })));
Spinner.displayName = 'Spinner';

exports.Spinner = Spinner;
//# sourceMappingURL=spinner.cjs.map
