'use strict';

var _extends = require('../../../../../@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.cjs');
var React = require('react');
var ReactDOM = require('react-dom');
var index_module = require('../../../../../@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.cjs');

const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
    var _globalThis$document;
    const { container: container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body , ...portalProps } = props;
    return container ? /*#__PURE__*/ ReactDOM.createPortal(/*#__PURE__*/ React.createElement(index_module.Primitive.div, _extends.default({}, portalProps, {
        ref: forwardedRef
    })), container) : null;
});

exports.Portal = $f1701beae083dbae$export$602eac185826482c;
//# sourceMappingURL=index.module.cjs.map
