require("./Field.css");
var $7e7cdbd2b8ae2467$exports = require("../icons/AlertTriangle.cjs");
var $5d3efbee7071458b$exports = require("./Asterisk.cjs");
var $e991cbcdf82ced71$exports = require("./CenterBaseline.cjs");
var $bab829476f85a155$exports = require("./ContextualHelp.cjs");
var $bde97c91243ed164$exports = require("../icons/Icon.cjs");
var $4526404114e78c80$exports = require("./intlStrings.cjs");
var $308b180f49d82d28$exports = require("../icons/runtime.cjs");
var $4hgIp$reactjsxruntime = require("react/jsx-runtime");
var $4hgIp$reactariacomponents = require("react-aria-components");
var $4hgIp$react = require("react");
var $4hgIp$reactspectrumutils = require("@react-spectrum/utils");
var $4hgIp$reactariautils = require("@react-aria/utils");
var $4hgIp$reactariai18n = require("@react-aria/i18n");


function $parcel$interopDefault(a) {
  return a && a.__esModule ? a.default : a;
}

function $parcel$export(e, n, v, s) {
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}

$parcel$export(module.exports, "FieldLabel", () => $a0b996a550bb0891$export$1acdcf5a973a8414);
$parcel$export(module.exports, "FieldGroup", () => $a0b996a550bb0891$export$f0fe469072bc6950);
$parcel$export(module.exports, "Input", () => $a0b996a550bb0891$export$f5b8910cec6cf069);
$parcel$export(module.exports, "helpTextStyles", () => $a0b996a550bb0891$export$13b1fd5431595bf6);
$parcel$export(module.exports, "HelpText", () => $a0b996a550bb0891$export$a67c0bc59081311a);
$parcel$export(module.exports, "FieldErrorIcon", () => $a0b996a550bb0891$export$bda0d075e0e342c9);
/*
 * Copyright 2024 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */ 












const $a0b996a550bb0891$export$1acdcf5a973a8414 = /*#__PURE__*/ (0, $4hgIp$react.forwardRef)(function FieldLabel(props, ref) {
    let stringFormatter = (0, $4hgIp$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($4526404114e78c80$exports))), '@react-spectrum/s2');
    let { isDisabled: isDisabled, isRequired: isRequired, size: size = 'M', necessityIndicator: necessityIndicator = 'icon', includeNecessityIndicatorInAccessibilityName: includeNecessityIndicatorInAccessibilityName = false, labelAlign: labelAlign, labelPosition: labelPosition, staticColor: staticColor, contextualHelp: contextualHelp, isQuiet: isQuiet, UNSAFE_style: UNSAFE_style, UNSAFE_className: UNSAFE_className = '', ...labelProps } = props;
    let domRef = (0, $4hgIp$reactspectrumutils.useDOMRef)(ref);
    let contextualHelpId = (0, $4hgIp$reactariautils.useId)();
    let fallbackLabelPropsId = (0, $4hgIp$reactariautils.useId)();
    if (contextualHelp && !labelProps.id) labelProps.id = fallbackLabelPropsId;
    if (!props.children) return null;
    return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsxs)("div", {
        className: function anonymous(props) {
            let rules = " ";
            rules += ' zv6x9r1';
            rules += ' yv6x9r1';
            rules += ' Bv6x9r1';
            rules += ' Av6x9r1';
            rules += ' sf1';
            if (props.labelAlign === "end") rules += ' _Wb1';
            else if (props.labelAlign === "start") rules += ' _Wd1';
            if (props.labelPosition === "top") rules += ' QgOnRt1';
            if (props.isQuiet) rules += ' _qd1';
            else if (props.labelPosition === "top") rules += ' _qb1';
            return rules;
        }({
            labelAlign: labelAlign,
            labelPosition: labelPosition,
            isQuiet: isQuiet
        }),
        children: [
            /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsxs)((0, $4hgIp$reactariacomponents.Label), {
                ...labelProps,
                ref: domRef,
                style: UNSAFE_style,
                className: UNSAFE_className + (0, $308b180f49d82d28$exports.mergeStyles)(function anonymous(props) {
                    let rules = " ";
                    if (props.size === "XL") {
                        rules += ' uk1';
                        rules += ' ucJ9TBTb1';
                        rules += ' ud3Euai1';
                        rules += ' uea1';
                        rules += ' ugb1';
                        rules += ' uhd1';
                        rules += ' uje1';
                        rules += ' u2NhKxcl1';
                        rules += ' uic1';
                    } else if (props.size === "L") {
                        rules += ' uk1';
                        rules += ' ucJ9TBTb1';
                        rules += ' ud3Euai1';
                        rules += ' uea1';
                        rules += ' ugb1';
                        rules += ' uhd1';
                        rules += ' uje1';
                        rules += ' u2NhKxcl1';
                        rules += ' uic1';
                    } else if (props.size === "S") {
                        rules += ' uk1';
                        rules += ' ucJ9TBTb1';
                        rules += ' ud3Euai1';
                        rules += ' uea1';
                        rules += ' ugb1';
                        rules += ' uhd1';
                        rules += ' uje1';
                        rules += ' u2NhKxcl1';
                        rules += ' uic1';
                    } else if (props.size === "XS") {
                        rules += ' uk1';
                        rules += ' ucJ9TBTb1';
                        rules += ' ud3Euai1';
                        rules += ' uea1';
                        rules += ' ugb1';
                        rules += ' uhd1';
                        rules += ' uje1';
                        rules += ' u2NhKxcl1';
                        rules += ' uic1';
                    } else {
                        rules += ' uk1';
                        rules += ' ucJ9TBTb1';
                        rules += ' ud3Euai1';
                        rules += ' uea1';
                        rules += ' ugb1';
                        rules += ' uhd1';
                        rules += ' uje1';
                        rules += ' u2NhKxcl1';
                        rules += ' uic1';
                    }
                    if (props.size === "XL") {
                        rules += ' -_6BNtrc-e1';
                        rules += ' vx1';
                    } else if (props.size === "L") {
                        rules += ' -_6BNtrc-d1';
                        rules += ' vx1';
                    } else if (props.size === "S") {
                        rules += ' -_6BNtrc-b1';
                        rules += ' vx1';
                    } else if (props.size === "XS") {
                        rules += ' -_6BNtrc-a1';
                        rules += ' vx1';
                    } else {
                        rules += ' -_6BNtrc-c1';
                        rules += ' vx1';
                    }
                    if (props.size === "XL") {
                        rules += ' xb1';
                        rules += ' _xa1';
                    } else if (props.size === "L") {
                        rules += ' xb1';
                        rules += ' _xa1';
                    } else if (props.size === "S") {
                        rules += ' xb1';
                        rules += ' _xa1';
                    } else if (props.size === "XS") {
                        rules += ' xb1';
                        rules += ' _xa1';
                    } else {
                        rules += ' xb1';
                        rules += ' _xa1';
                    }
                    if (props.size === "XL") {
                        rules += ' _Fd1';
                        rules += ' _FnuYUweb1';
                    } else if (props.size === "L") {
                        rules += ' _Fd1';
                        rules += ' _FnuYUweb1';
                    } else if (props.size === "S") {
                        rules += ' _Fd1';
                        rules += ' _FnuYUweb1';
                    } else if (props.size === "XS") {
                        rules += ' _Fd1';
                        rules += ' _FnuYUweb1';
                    } else {
                        rules += ' _Fd1';
                        rules += ' _FnuYUweb1';
                    }
                    if (props.isStaticColor) rules += ' pl1';
                    else if (props.isDisabled) rules += ' pp1';
                    else rules += ' pv1';
                    rules += ' plb1';
                    rules += ' ri1';
                    return rules;
                }({
                    labelPosition: labelPosition,
                    isDisabled: isDisabled,
                    size: size,
                    isStaticColor: !!staticColor
                }), props.styles),
                children: [
                    props.children,
                    (isRequired || necessityIndicator === 'label') && /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsxs)("span", {
                        className: " _7c1",
                        children: [
                            "\xa0",
                            necessityIndicator === 'icon' && /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $5d3efbee7071458b$exports.default), {
                                size: size === 'S' ? 'M' : size,
                                className: " -_8sjo0b-t5ZbAob1",
                                "aria-label": includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('label.(required)') : undefined,
                                "aria-hidden": !includeNecessityIndicatorInAccessibilityName
                            }),
                            necessityIndicator === 'label' && /* The necessity label is hidden to screen readers if the field is required because
              * aria-required is set on the field in that case. That will already be announced,
              * so no need to duplicate it here. If optional, we do want it to be announced here.
              */ /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)("span", {
                                "aria-hidden": !includeNecessityIndicatorInAccessibilityName ? isRequired : undefined,
                                children: isRequired ? stringFormatter.format('label.(required)') : stringFormatter.format('label.(optional)')
                            })
                        ]
                    })
                ]
            }),
            contextualHelp && /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsxs)("span", {
                className: " _7c1",
                children: [
                    "\xa0",
                    /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $e991cbcdf82ced71$exports.CenterBaseline), {
                        styles: " sh1 Fa1",
                        children: /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $bab829476f85a155$exports.ContextualHelpContext).Provider, {
                            value: {
                                id: contextualHelpId,
                                'aria-labelledby': labelProps?.id ? `${labelProps.id} ${contextualHelpId}` : undefined,
                                size: size === 'L' || size === 'XL' ? 'S' : 'XS'
                            },
                            children: contextualHelp
                        })
                    })
                ]
            })
        ]
    });
});
const $a0b996a550bb0891$var$fieldGroupStyles = function anonymous(props) {
    let rules = " ";
    if (props.isFocusVisible) rules += ' _Lf1';
    else rules += ' _Le1';
    rules += ' Oh1';
    rules += ' Olc1';
    rules += ' _Mc1';
    rules += ' _Kd1';
    if (props.size === "XL") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "L") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "S") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "XS") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    }
    if (props.size === "XL") {
        rules += ' -_6BNtrc-e1';
        rules += ' vx1';
    } else if (props.size === "L") {
        rules += ' -_6BNtrc-d1';
        rules += ' vx1';
    } else if (props.size === "S") {
        rules += ' -_6BNtrc-b1';
        rules += ' vx1';
    } else if (props.size === "XS") {
        rules += ' -_6BNtrc-a1';
        rules += ' vx1';
    } else {
        rules += ' -_6BNtrc-c1';
        rules += ' vx1';
    }
    if (props.size === "XL") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "L") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "S") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "XS") {
        rules += ' xb1';
        rules += ' _xa1';
    } else {
        rules += ' xb1';
        rules += ' _xa1';
    }
    if (props.size === "XL") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "L") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "S") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "XS") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    }
    if (props.isDisabled) {
        rules += ' pp1';
        rules += ' plc1';
    } else {
        if (props.isPressed) rules += ' po1';
        else if (props.isFocusVisible) rules += ' po1';
        else if (props.isHovered) rules += ' po1';
        else rules += ' pt1';
        rules += ' plb1';
    }
    rules += ' sd1';
    rules += ' eb1';
    rules += ' _oa1';
    rules += ' SMBFGYc1';
    rules += ' RfBFGYc1';
    if (props.size === "XL") rules += ' Nl1';
    else if (props.size === "L") rules += ' Nj1';
    else if (props.size === "S") rules += ' Nf1';
    else if (props.size === "XS") rules += ' Ne1';
    else rules += ' Nk1';
    if (props.size === "XL") rules += ' -SFnbic-_JaP8ec1';
    else if (props.size === "L") rules += ' -SFnbic-_J0K2hn1';
    else if (props.size === "S") rules += ' -SFnbic-_JJOW22b1';
    else if (props.size === "XS") rules += ' -SFnbic-_JICefdd1';
    else rules += ' -SFnbic-_Jb1';
    rules += ' -Bu7z1c-ob1';
    rules += ' oj1';
    rules += ' nj1';
    rules += ' kj1';
    rules += ' jj1';
    rules += ' FRuFGYc1';
    rules += ' zXcEWr1';
    rules += ' yXcEWr1';
    rules += ' BXcEWr1';
    rules += ' AXcEWr1';
    if (props.isQuiet) rules += ' _qd1';
    else rules += ' _qtb1';
    if (props.size === "XL") rules += ' -Anxdcc-Zt1';
    else if (props.size === "L") rules += ' -Anxdcc-ZStdtne1';
    else if (props.size === "S") rules += ' -Anxdcc-Zr1';
    else rules += ' -Anxdcc-Z3fn9H1';
    rules += ' __v6TNLWb1';
    rules += ' _kc1';
    rules += ' hc1';
    rules += ' mCPFGYc1';
    rules += ' l5OFGYc1';
    rules += ' _jf1';
    rules += ' Yd1';
    rules += ' Xb1';
    rules += ' _2b1';
    if (props.isDisabled) {
        rules += ' iq1';
        rules += ' ilc1';
    } else if (props.isFocusWithin) {
        if (props.isInvalid) rules += ' im1';
        else rules += ' in1';
        rules += ' ild1';
    } else if (props.isInvalid) {
        if (props.isPressed) rules += ' im1';
        else if (props.isFocusVisible) rules += ' im1';
        else if (props.isHovered) rules += ' im1';
        else rules += ' ip1';
        rules += ' ile1';
    } else {
        if (props.isPressed) rules += ' io1';
        else if (props.isFocusVisible) rules += ' io1';
        else if (props.isHovered) rules += ' io1';
        else rules += ' iq1';
        rules += ' ila1';
    }
    rules += ' gX1';
    rules += ' gl1kG7o1';
    if (props.isDisabled) rules += ' ri1';
    else rules += ' rD1';
    if (props.size === "XL") rules += ' -F_-Fz1';
    else if (props.size === "L") rules += ' -F_-Fv1';
    else if (props.size === "S") rules += ' -F_-Fp1';
    else if (props.size === "XS") rules += ' -F_-Fn1';
    else rules += ' -F_-Fx1';
    rules += ' -S_-Sv1';
    rules += ' -R_-Rv1';
    rules += ' -m_-mc1';
    rules += ' -l_-lc1';
    return rules;
};
const $a0b996a550bb0891$export$f0fe469072bc6950 = /*#__PURE__*/ (0, $4hgIp$react.forwardRef)(function FieldGroup(props, ref) {
    let { shouldTurnOffFocusRing: shouldTurnOffFocusRing, ...otherProps } = props;
    return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $4hgIp$reactariacomponents.Group), {
        ref: ref,
        ...otherProps,
        onPointerDown: (e)=>{
            // Forward focus to input element when clicking on a non-interactive child (e.g. icon or padding)
            if (e.pointerType === 'mouse' && !e.target.closest('button,input,textarea,[role="button"]')) {
                e.preventDefault();
                e.currentTarget.querySelector('input, textarea')?.focus();
            }
        },
        onTouchEnd: (e)=>{
            let target = e.target;
            if (!target.isContentEditable && !target.closest('button,input,textarea,[role="button"]')) {
                e.preventDefault();
                e.currentTarget.querySelector('input, textarea')?.focus();
            }
        },
        style: props.UNSAFE_style,
        className: (renderProps)=>(props.UNSAFE_className || '') + ' ' + (0, $e991cbcdf82ced71$exports.centerBaselineBefore) + (0, $308b180f49d82d28$exports.mergeStyles)($a0b996a550bb0891$var$fieldGroupStyles({
                ...renderProps,
                isFocusWithin: shouldTurnOffFocusRing ? false : renderProps.isFocusWithin,
                isFocusVisible: shouldTurnOffFocusRing ? false : renderProps.isFocusVisible,
                size: props.size || 'M'
            }), props.styles)
    });
});
const $a0b996a550bb0891$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, $4hgIp$react.forwardRef)(function Input(props, ref) {
    let { UNSAFE_className: UNSAFE_className = '', UNSAFE_style: UNSAFE_style, styles: styles, ...otherProps } = props;
    return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $4hgIp$reactariacomponents.Input), {
        ...otherProps,
        ref: ref,
        style: UNSAFE_style,
        className: UNSAFE_className + (0, $308b180f49d82d28$exports.mergeStyles)(" Td1 Qd1 Sd1 Rd1 g91 p40ub4c1 pYFIK2bn1 pYFIK2blc1 u40ub4c1 v40ub4c1 x40ub4c1 _xa1 _ub1 _vb1 Na1 Za1 _Le1 _je1 _Nc1 Pc1 _Yb1 _7c1", styles)
    });
});
const $a0b996a550bb0891$export$13b1fd5431595bf6 = function anonymous(props) {
    let rules = " ";
    rules += ' zzBWQ8d1';
    rules += ' yzBWQ8d1';
    rules += ' BzBWQ8d1';
    rules += ' AzBWQ8d1';
    rules += ' sd1';
    rules += ' ea1';
    rules += ' Uc1';
    rules += ' Usd1';
    rules += ' qc1';
    rules += ' qsd1';
    if (props.size === "XL") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "L") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "S") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else if (props.size === "XS") {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    } else {
        rules += ' uk1';
        rules += ' ucJ9TBTb1';
        rules += ' ud3Euai1';
        rules += ' uea1';
        rules += ' ugb1';
        rules += ' uhd1';
        rules += ' uje1';
        rules += ' u2NhKxcl1';
        rules += ' uic1';
    }
    if (props.size === "XL") {
        rules += ' -_6BNtrc-e1';
        rules += ' vx1';
    } else if (props.size === "L") {
        rules += ' -_6BNtrc-d1';
        rules += ' vx1';
    } else if (props.size === "S") {
        rules += ' -_6BNtrc-b1';
        rules += ' vx1';
    } else if (props.size === "XS") {
        rules += ' -_6BNtrc-a1';
        rules += ' vx1';
    } else {
        rules += ' -_6BNtrc-c1';
        rules += ' vx1';
    }
    if (props.size === "XL") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "L") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "S") {
        rules += ' xb1';
        rules += ' _xa1';
    } else if (props.size === "XS") {
        rules += ' xb1';
        rules += ' _xa1';
    } else {
        rules += ' xb1';
        rules += ' _xa1';
    }
    if (props.size === "XL") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "L") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "S") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else if (props.size === "XS") {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    } else {
        rules += ' _Fd1';
        rules += ' _FnuYUweb1';
    }
    if (props.isDisabled) {
        rules += ' pp1';
        rules += ' plc1';
    } else if (props.isInvalid) {
        rules += ' pq1';
        rules += ' plQBRyrc1';
    } else rules += ' pv1';
    rules += ' -_8sjo0b-t5ZbAob1';
    rules += ' _qb1';
    rules += ' TgOnRt1';
    if (props.isDisabled) rules += ' ri1';
    else rules += ' rD1';
    return rules;
};
function $a0b996a550bb0891$export$a67c0bc59081311a(props) {
    let domDescriptionRef = (0, $4hgIp$reactspectrumutils.useDOMRef)(props.descriptionRef || null);
    let domErrorRef = (0, $4hgIp$reactspectrumutils.useDOMRef)(props.errorRef || null);
    if (!props.isInvalid && props.description) return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $4hgIp$reactariacomponents.Text), {
        slot: "description",
        ref: domDescriptionRef,
        className: $a0b996a550bb0891$export$13b1fd5431595bf6({
            size: props.size || 'M',
            isDisabled: props.isDisabled
        }),
        children: props.description
    });
    return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $4hgIp$reactariacomponents.FieldError), {
        ...props,
        ref: domErrorRef,
        className: (renderProps)=>$a0b996a550bb0891$export$13b1fd5431595bf6({
                ...renderProps,
                size: props.size || 'M',
                isDisabled: props.isDisabled
            }),
        children: (0, $4hgIp$reactariacomponents.composeRenderProps)(props.children, (children, { validationErrors: validationErrors })=>/*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsxs)((0, $4hgIp$reactjsxruntime.Fragment), {
                children: [
                    props.showErrorIcon && /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $e991cbcdf82ced71$exports.CenterBaseline), {
                        children: /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $7e7cdbd2b8ae2467$exports.default), {})
                    }),
                    /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)("span", {
                        children: children || validationErrors.join(' ')
                    })
                ]
            }))
    });
}
function $a0b996a550bb0891$export$bda0d075e0e342c9(props) {
    return /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $4hgIp$reactariacomponents.Provider), {
        values: [
            [
                (0, $bde97c91243ed164$exports.IconContext),
                {
                    render: (0, $e991cbcdf82ced71$exports.centerBaseline)({
                        slot: 'icon',
                        styles: " _Ja1 _va1 -_8sjo0b-tq1 -_8sjo0b-ltQBRyrc1"
                    }),
                    styles: " ZuUmpre1 FuUmpre1 It1 Isu1 HAxCW0c1 _va1"
                }
            ]
        ],
        children: !props.isDisabled && /*#__PURE__*/ (0, $4hgIp$reactjsxruntime.jsx)((0, $7e7cdbd2b8ae2467$exports.default), {})
    });
}


//# sourceMappingURL=Field.cjs.map
