"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client";
var _chunkPWFEALRJcjs = require('./chunk-PWFEALRJ.cjs');var _chunkJ5FBPAQOcjs = require('./chunk-J5FBPAQO.cjs');var _chunkX26E67JFcjs = require('./chunk-X26E67JF.cjs');var _chunkQLDZ7HKUcjs = require('./chunk-QLDZ7HKU.cjs');var _chunk5NXYDZPPcjs = require('./chunk-5NXYDZPP.cjs');var _react = require('react');var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var d=_chunkQLDZ7HKUcjs.m.call(void 0, (0, _chunkPWFEALRJcjs.e))(({theme:r})=>_chunk5NXYDZPPcjs.p`
    border-radius: 50%;

    &:hover {
      & .${_chunkPWFEALRJcjs.d.input}::before {
        background-color: ${r.palette.teal[900]};
      }
    }

    &.${_chunkPWFEALRJcjs.d.disabled} {
      & .${_chunkPWFEALRJcjs.d.input}::before {
        background-color: ${r.palette.tealOpaque[300]};
      }
    }
  `),f=_chunkQLDZ7HKUcjs.m.call(void 0, "input")(({theme:r})=>_chunk5NXYDZPPcjs.p`
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: transparent;
    cursor: inherit;
    -webkit-appearance: none;
    appearance: none;

    &:focus {
      outline: 0;
    }

    &::before {
      width: 50%;
      height: 50%;
      background-color: ${r.palette.teal[700]};
      border-radius: 50%;
      transform: scale(0);
      transition: ${r.transitions.create("transform")};
      content: "";
    }

    &:checked {
      &::before {
        transform: scale(1);
      }
    }
  `);var _jsxruntime = require('react/jsx-runtime');var b=_react.forwardRef.call(void 0, ({className:r,name:h,value:g,...a},x)=>{let{checked:k,disabled:R,focusVisible:$,getInputProps:w,readOnly:y}=_chunkJ5FBPAQOcjs.a.call(void 0, a),S=_chunkX26E67JFcjs.i.call(void 0, x),W=_chunkX26E67JFcjs.d.call(void 0, a),s=_chunkPWFEALRJcjs.c.call(void 0, {checked:k,disabled:R,focusVisible:$,readOnly:y});return _jsxruntime.jsx.call(void 0, d,{className:_clsx2.default.call(void 0, r,s.root),children:_jsxruntime.jsx.call(void 0, f,{...w(),...W,className:_clsx2.default.call(void 0, s.input),name:h,ref:S,type:"radio",value:g})})});b.displayName="Radio";var A=b;exports.a = A;
