import { a as e, n as t } from './chunk-BneVvdWh.js';
import { S as n } from './iframe-B-AKBcwT.js';
import { t as r } from './jsx-runtime-Bn1Ys6_W.js';
import { t as i } from './compiler-runtime-C9X80vSn.js';
import { n as a, t as o } from './clsx-D6G9p0rQ.js';
var s,
    c,
    l,
    ee,
    u,
    te,
    ne,
    d = t(() => {
        ((s = Object.freeze({
            angle: /(deg|grad|rad|turn)\s*$/i,
            integer: /$/i,
            length: /(em|rem|ch|ex|vh|vw|vmin|vmax|px|cm|mm|in|pc|pt|%)\s*$/i,
            percent: /(%)\s*$/,
            time: /(s|ms)\s*$/i,
        })),
            (c = `length`),
            (l = Object.freeze({
                angle: `deg`,
                integer: ``,
                length: `px`,
                percent: `%`,
                time: `s`,
            })),
            (ee = (e, t) => parseFloat(e.toFixed(t))),
            (u = ({ cssValueType: e, defaultUnit: t = l[e], value: n }) => {
                if (typeof n == `number`) return t;
                let r = s[e].exec(n);
                return r === null || !r[1] ? t : r[1];
            }),
            (te = (e) => (typeof e == `number` ? e : parseFloat(e))),
            (ne = (e) => {
                let t = te(e.value);
                return Number.isNaN(t) ? e.value.toString().trim() : `${t}${u(e)}`;
            }));
    });
function re(e) {
    let t = (0, m.c)(81),
        {
            autoCapitalize: n,
            autoComplete: r,
            autoFocus: i,
            className: a,
            disabled: o,
            discardOnEscape: s,
            doubleClickToEdit: c,
            enterKeyHint: l,
            form: ee,
            id: u,
            initialValue: te,
            keepFocusOnSubmit: ne,
            list: d,
            max: re,
            maxHeight: _,
            maxLength: v,
            min: y,
            minHeight: b,
            minLength: x,
            multiLine: S,
            multiple: C,
            name: w,
            onBlur: T,
            onChange: E,
            onChangeValue: ae,
            onFocus: D,
            onKeyDown: O,
            onKeyUp: oe,
            pattern: k,
            placeholder: A,
            readOnly: se,
            ref: j,
            required: M,
            rows: ce,
            selectTextOnFocus: N,
            size: P,
            step: F,
            style: I,
            submitOnEnter: L,
            tabIndex: R,
            title: z,
            type: B,
        } = e,
        le = ce === void 0 ? 1 : ce,
        V = B === void 0 ? `text` : B,
        H = (0, h.useRef)(null),
        U = te ?? ``,
        W = (0, h.useRef)(U),
        G;
    t[0] !== _ || t[1] !== b || t[2] !== S
        ? ((G = () => {
              if (!H.current || g) return;
              if (!S) {
                  H.current.style.height = ``;
                  return;
              }
              let { transitionDelay: e, transitionDuration: t } = H.current.style;
              ((H.current.style.transitionDelay = `0s`),
                  (H.current.style.transitionDuration = `0s`),
                  (H.current.style.height = ``));
              let n = typeof b == `string` ? parseFloat(b) : b,
                  r = typeof _ == `string` ? parseFloat(_) : _,
                  i = Math.max(n ?? 0, Math.min(H.current.scrollHeight, r ?? 1 / 0));
              (i && (H.current.style.height = `${i}px`),
                  setTimeout(() => {
                      H.current &&
                          ((H.current.style.transitionDelay = e === `0s` ? `` : e),
                          (H.current.style.transitionDuration = t === `0s` ? `` : t));
                  }, 0));
          }),
          (t[0] = _),
          (t[1] = b),
          (t[2] = S),
          (t[3] = G))
        : (G = t[3]);
    let K = G,
        q;
    t[4] !== S || t[5] !== j || t[6] !== K
        ? ((q = (e) => {
              H.current = e;
              let t;
              if (
                  (typeof j == `function` ? (t = j(e)) : j && (j.current = e),
                  !e || !S || g)
              )
                  return t;
              K();
              let n = new ResizeObserver(K);
              return (
                  n.observe(e),
                  () => {
                      (n.disconnect(), typeof t == `function` && t());
                  }
              );
          }),
          (t[4] = S),
          (t[5] = j),
          (t[6] = K),
          (t[7] = q))
        : (q = t[7]);
    let J = q,
        Y,
        X;
    (t[8] === U
        ? ((Y = t[9]), (X = t[10]))
        : ((Y = () => {
              ((W.current = U), H.current && (H.current.value = U));
          }),
          (X = [U]),
          (t[8] = U),
          (t[9] = Y),
          (t[10] = X)),
        (0, h.useEffect)(Y, X));
    let [Z, Q] = (0, h.useState)(se ?? c),
        ue = (0, h.useRef)(!0),
        de;
    t[11] === c
        ? (de = t[12])
        : ((de = () => {
              c && Q(!1);
          }),
          (t[11] = c),
          (t[12] = de));
    let fe = de,
        pe;
    t[13] !== E || t[14] !== ae
        ? ((pe = (e) => {
              (E && E(e), ae && ae(e.target.value));
          }),
          (t[13] = E),
          (t[14] = ae),
          (t[15] = pe))
        : (pe = t[15]);
    let me = pe,
        he;
    t[16] !== S || t[17] !== D || t[18] !== K
        ? ((he = (e) => {
              (D && D(e), S && K());
          }),
          (t[16] = S),
          (t[17] = D),
          (t[18] = K),
          (t[19] = he))
        : (he = t[19]);
    let ge = he,
        _e;
    t[20] !== c || t[21] !== T || t[22] !== N
        ? ((_e = (e) => {
              (T && T(e),
                  (W.current = e.currentTarget.value),
                  c && Q(!0),
                  N && (ue.current = !0));
          }),
          (t[20] = c),
          (t[21] = T),
          (t[22] = N),
          (t[23] = _e))
        : (_e = t[23]);
    let ve = _e,
        ye;
    t[24] === N
        ? (ye = t[25])
        : ((ye = (e) => {
              if (!N) return;
              let t = e.currentTarget;
              if (
                  !ue.current ||
                  ((ue.current = !1), !t.value) ||
                  t.ownerDocument.activeElement !== t
              )
                  return;
              let n = t.value.length;
              (t.selectionStart === 0 && t.selectionEnd === n) ||
                  ((t.selectionStart = 0), (t.selectionEnd = n));
          }),
          (t[24] = N),
          (t[25] = ye));
    let be = ye,
        xe;
    t[26] !== s ||
    t[27] !== c ||
    t[28] !== me ||
    t[29] !== ne ||
    t[30] !== S ||
    t[31] !== O ||
    t[32] !== Z ||
    t[33] !== L
        ? ((xe = (e) => {
              if ((O && O(e), !(e.key !== `Enter` && e.key !== `Escape`))) {
                  if (
                      e.key === `Enter` &&
                      (L || (S && p(e))) &&
                      (!S || (!e.shiftKey && !e.altKey && !e.ctrlKey))
                  ) {
                      (e.preventDefault(),
                          e.currentTarget.closest(`form`)?.requestSubmit(),
                          ne || e.currentTarget.blur());
                      return;
                  }
                  (!s && !c) ||
                      (e.key === `Escape` && s
                          ? e.currentTarget.value !== W.current &&
                            ((e.currentTarget.value = W.current), me(e))
                          : e.key === `Enter` && c && Z && Q(!1),
                      e.currentTarget.blur());
              }
          }),
          (t[26] = s),
          (t[27] = c),
          (t[28] = me),
          (t[29] = ne),
          (t[30] = S),
          (t[31] = O),
          (t[32] = Z),
          (t[33] = L),
          (t[34] = xe))
        : (xe = t[34]);
    let Se = xe,
        Ce;
    t[35] !== _ || t[36] !== b || t[37] !== S || t[38] !== I
        ? ((Ce =
              S && g
                  ? {
                        ...I,
                        fieldSizing: `content`,
                        maxHeight: f(_) ? void 0 : _,
                        minHeight: f(b) ? void 0 : b,
                    }
                  : I),
          (t[35] = _),
          (t[36] = b),
          (t[37] = S),
          (t[38] = I),
          (t[39] = Ce))
        : (Ce = t[39]);
    let we = Ce,
        Te = S ? `textarea` : `input`,
        $;
    t[40] !== re ||
    t[41] !== y ||
    t[42] !== S ||
    t[43] !== le ||
    t[44] !== K ||
    t[45] !== F
        ? (($ = S ? { onInput: K, rows: le } : { max: re, min: y, step: F }),
          (t[40] = re),
          (t[41] = y),
          (t[42] = S),
          (t[43] = le),
          (t[44] = K),
          (t[45] = F),
          (t[46] = $))
        : ($ = t[46]);
    let Ee;
    return (
        t[47] !== Te ||
        t[48] !== n ||
        t[49] !== r ||
        t[50] !== i ||
        t[51] !== a ||
        t[52] !== o ||
        t[53] !== l ||
        t[54] !== ee ||
        t[55] !== ve ||
        t[56] !== me ||
        t[57] !== ge ||
        t[58] !== Se ||
        t[59] !== J ||
        t[60] !== be ||
        t[61] !== u ||
        t[62] !== we ||
        t[63] !== d ||
        t[64] !== v ||
        t[65] !== x ||
        t[66] !== C ||
        t[67] !== w ||
        t[68] !== oe ||
        t[69] !== k ||
        t[70] !== A ||
        t[71] !== Z ||
        t[72] !== M ||
        t[73] !== P ||
        t[74] !== fe ||
        t[75] !== $ ||
        t[76] !== R ||
        t[77] !== z ||
        t[78] !== V ||
        t[79] !== U
            ? ((Ee = (0, ie.jsx)(Te, {
                  autoCapitalize: n,
                  autoComplete: r,
                  autoFocus: i,
                  className: a,
                  defaultValue: U,
                  disabled: o,
                  enterKeyHint: l,
                  form: ee,
                  id: u,
                  list: d,
                  maxLength: v,
                  minLength: x,
                  multiple: C,
                  name: w,
                  onBlur: ve,
                  onChange: me,
                  onDoubleClick: fe,
                  onFocus: ge,
                  onKeyDown: Se,
                  onKeyUp: oe,
                  onSelect: be,
                  pattern: k,
                  placeholder: A,
                  readOnly: Z,
                  ref: J,
                  required: M,
                  size: P,
                  style: we,
                  tabIndex: R,
                  title: z,
                  type: V,
                  ...$,
              })),
              (t[47] = Te),
              (t[48] = n),
              (t[49] = r),
              (t[50] = i),
              (t[51] = a),
              (t[52] = o),
              (t[53] = l),
              (t[54] = ee),
              (t[55] = ve),
              (t[56] = me),
              (t[57] = ge),
              (t[58] = Se),
              (t[59] = J),
              (t[60] = be),
              (t[61] = u),
              (t[62] = we),
              (t[63] = d),
              (t[64] = v),
              (t[65] = x),
              (t[66] = C),
              (t[67] = w),
              (t[68] = oe),
              (t[69] = k),
              (t[70] = A),
              (t[71] = Z),
              (t[72] = M),
              (t[73] = P),
              (t[74] = fe),
              (t[75] = $),
              (t[76] = R),
              (t[77] = z),
              (t[78] = V),
              (t[79] = U),
              (t[80] = Ee))
            : (Ee = t[80]),
        Ee
    );
}
function f(e) {
    return e == null || e === `` || e === 0 || e === 1 / 0;
}
function p(e) {
    let t = globalThis.navigator?.platform ?? ``;
    return _.test(t) ? e.metaKey : e.ctrlKey;
}
var m,
    h,
    ie,
    g,
    _,
    v = t(() => {
        ((m = i()),
            (h = e(n(), 1)),
            (ie = r()),
            (g = typeof CSS > `u` ? !0 : CSS.supports(`field-sizing`, `content`)),
            (_ = /mac|iphone|ipad|ipod/i));
    });
function y(e) {
    let t = (0, b.c)(56),
        {
            allowEmpty: n,
            className: r,
            cssValueType: i,
            disabled: a,
            getValueAsNumber: s,
            icon: d,
            label: f,
            max: p,
            min: m,
            name: h,
            onBlur: ie,
            onChange: g,
            onFocus: _,
            onKeyDown: v,
            onKeyUp: y,
            onSubmitValue: w,
            placeholder: T,
            ref: E,
            step: ae,
            tabIndex: D,
            title: O,
            unit: oe,
            validator: k,
            value: A,
        } = e,
        se = n === void 0 ? !0 : n,
        j = i === void 0 ? c : i,
        M = s === void 0 ? te : s,
        ce = ae === void 0 ? 1 : ae,
        N = oe === void 0 ? l[j] : oe,
        P = typeof A == `number` && Number.isFinite(A) ? `${A}` : A,
        F = (0, x.useRef)(P ?? ``),
        I,
        L;
    (t[0] === P
        ? ((I = t[1]), (L = t[2]))
        : ((I = () => {
              F.current = P ?? ``;
          }),
          (L = [P]),
          (t[0] = P),
          (t[1] = I),
          (t[2] = L)),
        (0, x.useEffect)(I, L));
    let R;
    t[3] === w
        ? (R = t[4])
        : ((R = (e) => {
              ((F.current = e.currentTarget.value), w(e.currentTarget.value));
          }),
          (t[3] = w),
          (t[4] = R));
    let z = R,
        B;
    t[5] !== se ||
    t[6] !== j ||
    t[7] !== M ||
    t[8] !== z ||
    t[9] !== p ||
    t[10] !== m ||
    t[11] !== ie ||
    t[12] !== N ||
    t[13] !== k
        ? ((B = (e) => {
              let t = e.currentTarget;
              ie && ie(e);
              let n = t.value.trim();
              if (se && !n) {
                  z(e);
                  return;
              }
              let r = M(n),
                  i = Number.isFinite(r),
                  a = N ? u({ cssValueType: j, defaultUnit: N, value: F.current }) : ``;
              if (!i) {
                  let r = !1;
                  (k instanceof RegExp ? (r = k.test(n)) : k && (r = k(n)),
                      r ? z(e) : (t.value = F.current));
                  return;
              }
              let o = r;
              if (
                  (i &&
                      (m != null && r < m
                          ? (o = m)
                          : p != null && r > p
                            ? (o = p)
                            : j === `integer` && (o = Math.floor(r))),
                  o !== r)
              ) {
                  let e = u({ cssValueType: j, defaultUnit: a, value: n });
                  t.value = o + e;
              } else t.value = ne({ cssValueType: j, defaultUnit: a, value: n });
              z(e);
          }),
          (t[5] = se),
          (t[6] = j),
          (t[7] = M),
          (t[8] = z),
          (t[9] = p),
          (t[10] = m),
          (t[11] = ie),
          (t[12] = N),
          (t[13] = k),
          (t[14] = B))
        : (B = t[14]);
    let le = B,
        V;
    t[15] !== j ||
    t[16] !== M ||
    t[17] !== p ||
    t[18] !== m ||
    t[19] !== ce ||
    t[20] !== N
        ? ((V = (e) => {
              let { currentValue: t, multiplier: n, signum: r } = e,
                  i = n === void 0 ? 1 : n,
                  a = r === void 0 ? 1 : r,
                  o = i * ce * a,
                  s = M(t);
              if (typeof t == `string` && Number.isNaN(s)) return t;
              let c = s + o;
              ((c = j === `integer` ? Math.floor(c) : ee(c, 5)),
                  typeof p == `number` && Number.isFinite(p) && (c = Math.min(p, c)),
                  typeof m == `number` && Number.isFinite(m) && (c = Math.max(m, c)));
              let l = u({ cssValueType: j, defaultUnit: N, value: t });
              return `${c}${l}`;
          }),
          (t[15] = j),
          (t[16] = M),
          (t[17] = p),
          (t[18] = m),
          (t[19] = ce),
          (t[20] = N),
          (t[21] = V))
        : (V = t[21]);
    let H = V,
        U;
    t[22] !== H || t[23] !== v || t[24] !== T || t[25] !== N
        ? ((U = (e) => {
              let t = e.currentTarget;
              if ((v && v(e), e.key !== `ArrowDown` && e.key !== `ArrowUp`)) return;
              let n = t.value ?? T ?? `0${N}`,
                  r = H({
                      currentValue: n,
                      multiplier: e.shiftKey ? 10 : 1,
                      signum: e.key === `ArrowUp` ? 1 : -1,
                  });
              r !== n && (e.stopPropagation(), e.preventDefault(), (t.value = r));
          }),
          (t[22] = H),
          (t[23] = v),
          (t[24] = T),
          (t[25] = N),
          (t[26] = U))
        : (U = t[26]);
    let W = U,
        G;
    t[27] !== z || t[28] !== y
        ? ((G = (e) => {
              (y && y(e), (e.key === `ArrowUp` || e.key === `ArrowDown`) && z(e));
          }),
          (t[27] = z),
          (t[28] = y),
          (t[29] = G))
        : (G = t[29]);
    let K = G,
        q = f ? void 0 : O,
        J;
    t[30] !== r || t[31] !== a
        ? ((J = o(C, r, { disabled: a })), (t[30] = r), (t[31] = a), (t[32] = J))
        : (J = t[32]);
    let Y;
    t[33] === d
        ? (Y = t[34])
        : ((Y =
              d == null
                  ? null
                  : (0, S.jsx)(`div`, { className: `${C}-icon`, children: d })),
          (t[33] = d),
          (t[34] = Y));
    let X;
    t[35] === f
        ? (X = t[36])
        : ((X = f
              ? (0, S.jsx)(`div`, {
                    className: `${C}-label`,
                    children: (0, S.jsx)(`p`, {
                        className: `${C}-label-text`,
                        children: f,
                    }),
                })
              : null),
          (t[35] = f),
          (t[36] = X));
    let Z;
    t[37] !== a ||
    t[38] !== le ||
    t[39] !== W ||
    t[40] !== K ||
    t[41] !== h ||
    t[42] !== g ||
    t[43] !== _ ||
    t[44] !== T ||
    t[45] !== E ||
    t[46] !== D ||
    t[47] !== P
        ? ((Z = (0, S.jsx)(`div`, {
              className: `${C}-value`,
              children: (0, S.jsx)(re, {
                  disabled: a,
                  discardOnEscape: !0,
                  initialValue: P,
                  name: h,
                  onBlur: le,
                  onChange: g,
                  onFocus: _,
                  onKeyDown: W,
                  onKeyUp: K,
                  placeholder: T,
                  ref: E,
                  selectTextOnFocus: !0,
                  tabIndex: D,
              }),
          })),
          (t[37] = a),
          (t[38] = le),
          (t[39] = W),
          (t[40] = K),
          (t[41] = h),
          (t[42] = g),
          (t[43] = _),
          (t[44] = T),
          (t[45] = E),
          (t[46] = D),
          (t[47] = P),
          (t[48] = Z))
        : (Z = t[48]);
    let Q;
    return (
        t[49] !== q ||
        t[50] !== J ||
        t[51] !== Y ||
        t[52] !== X ||
        t[53] !== Z ||
        t[54] !== O
            ? ((Q = (0, S.jsxs)(`label`, {
                  'aria-label': q,
                  className: J,
                  title: O,
                  children: [Y, X, Z],
              })),
              (t[49] = q),
              (t[50] = J),
              (t[51] = Y),
              (t[52] = X),
              (t[53] = Z),
              (t[54] = O),
              (t[55] = Q))
            : (Q = t[55]),
        Q
    );
}
var b,
    x,
    S,
    C,
    w = t(() => {
        ((b = i()),
            d(),
            v(),
            a(),
            (x = e(n(), 1)),
            (S = r()),
            (C = `cssvalueinput`),
            (y.__docgenInfo = {
                description: ``,
                methods: [],
                displayName: `CSSValueInput`,
                props: {
                    allowEmpty: {
                        required: !1,
                        tsType: { name: `boolean` },
                        description: `Boolean indicating if the user can submit an empty value (i.e. clear
the value). Defaults to true.`,
                        defaultValue: { value: `true`, computed: !1 },
                    },
                    className: {
                        required: !1,
                        tsType: { name: `string` },
                        description: ``,
                    },
                    cssValueType: {
                        required: !1,
                        tsType: { name: `CSSValueType` },
                        description: ``,
                        defaultValue: { value: `"length"`, computed: !1 },
                    },
                    disabled: {
                        required: !1,
                        tsType: { name: `boolean` },
                        description: ``,
                    },
                    getValueAsNumber: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(value: number | string) => number`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `union`,
                                            raw: `number | string`,
                                            elements: [
                                                { name: `number` },
                                                { name: `string` },
                                            ],
                                        },
                                        name: `value`,
                                    },
                                ],
                                return: { name: `number` },
                            },
                        },
                        description: `Function that receives a value and converts it to its numerical equivalent
(i.e. '12px' → 12). Defaults to parseFloat().`,
                        defaultValue: {
                            value: `(value) => typeof value === "number" ? value : parseFloat(value)`,
                            computed: !1,
                        },
                    },
                    icon: {
                        required: !1,
                        tsType: { name: `ReactNode` },
                        description: ``,
                    },
                    label: { required: !1, tsType: { name: `string` }, description: `` },
                    max: { required: !1, tsType: { name: `number` }, description: `` },
                    min: { required: !1, tsType: { name: `number` }, description: `` },
                    name: { required: !1, tsType: { name: `string` }, description: `` },
                    onBlur: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(event: FocusEvent<HTMLInputElement>) => unknown`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `FocusEvent`,
                                            elements: [{ name: `HTMLInputElement` }],
                                            raw: `FocusEvent<HTMLInputElement>`,
                                        },
                                        name: `event`,
                                    },
                                ],
                                return: { name: `unknown` },
                            },
                        },
                        description: ``,
                    },
                    onChange: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(event: ChangeEvent<HTMLInputElement>) => unknown`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `ChangeEvent`,
                                            elements: [{ name: `HTMLInputElement` }],
                                            raw: `ChangeEvent<HTMLInputElement>`,
                                        },
                                        name: `event`,
                                    },
                                ],
                                return: { name: `unknown` },
                            },
                        },
                        description: ``,
                    },
                    onFocus: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(event: FocusEvent<HTMLInputElement>) => unknown`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `FocusEvent`,
                                            elements: [{ name: `HTMLInputElement` }],
                                            raw: `FocusEvent<HTMLInputElement>`,
                                        },
                                        name: `event`,
                                    },
                                ],
                                return: { name: `unknown` },
                            },
                        },
                        description: ``,
                    },
                    onKeyDown: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(event: KeyboardEvent<HTMLInputElement>) => unknown`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `KeyboardEvent`,
                                            elements: [{ name: `HTMLInputElement` }],
                                            raw: `KeyboardEvent<HTMLInputElement>`,
                                        },
                                        name: `event`,
                                    },
                                ],
                                return: { name: `unknown` },
                            },
                        },
                        description: ``,
                    },
                    onKeyUp: {
                        required: !1,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(event: KeyboardEvent<HTMLInputElement>) => unknown`,
                            signature: {
                                arguments: [
                                    {
                                        type: {
                                            name: `KeyboardEvent`,
                                            elements: [{ name: `HTMLInputElement` }],
                                            raw: `KeyboardEvent<HTMLInputElement>`,
                                        },
                                        name: `event`,
                                    },
                                ],
                                return: { name: `unknown` },
                            },
                        },
                        description: ``,
                    },
                    onSubmitValue: {
                        required: !0,
                        tsType: {
                            name: `signature`,
                            type: `function`,
                            raw: `(value: string) => unknown`,
                            signature: {
                                arguments: [{ type: { name: `string` }, name: `value` }],
                                return: { name: `unknown` },
                            },
                        },
                        description: `Custom event handler triggered when the user presses enter/return
or blurs the input after making a change. Hitting esc will restore
the previous submitted value or original value.`,
                    },
                    placeholder: {
                        required: !1,
                        tsType: { name: `string` },
                        description: ``,
                    },
                    ref: {
                        required: !1,
                        tsType: {
                            name: `Ref`,
                            elements: [{ name: `HTMLInputElement` }],
                            raw: `Ref<HTMLInputElement>`,
                        },
                        description: ``,
                    },
                    step: {
                        required: !1,
                        tsType: { name: `number` },
                        description: ``,
                        defaultValue: { value: `1`, computed: !1 },
                    },
                    tabIndex: {
                        required: !1,
                        tsType: { name: `number` },
                        description: ``,
                    },
                    title: { required: !1, tsType: { name: `string` }, description: `` },
                    unit: {
                        required: !1,
                        tsType: { name: `string` },
                        description: ``,
                        defaultValue: {
                            value: `DEFAULT_UNIT_BY_CSS_VALUE_TYPE[cssValueType]`,
                            computed: !0,
                        },
                    },
                    validator: {
                        required: !1,
                        tsType: {
                            name: `union`,
                            raw: `((value: string) => boolean) | RegExp`,
                            elements: [{ name: `unknown` }, { name: `RegExp` }],
                        },
                        description: `Regex or validator function to validate non-numeric values`,
                    },
                    value: { required: !1, tsType: { name: `string` }, description: `` },
                },
            }));
    }),
    T = t(() => {});
export { y as n, w as r, T as t };
