"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get IS_REACT_18 () {
        return IS_REACT_18;
    },
    get IS_REACT_BELOW_18 () {
        return IS_REACT_BELOW_18;
    },
    get safeUseId () {
        return safeUseId;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _reactdom = /*#__PURE__*/ _interop_require_default(require("react-dom"));
const _useUniqId = require("../hooks/useUniqId");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const { useId } = _react.default;
const IS_REACT_18 = _reactdom.default.version.split('.')[0] === '18';
const IS_REACT_BELOW_18 = Number(_reactdom.default.version.split('.')[0]) < 18;
const safeUseId = IS_REACT_BELOW_18 ? _useUniqId.useUniqId : useId;
