/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../../../_virtual/_rolldown/runtime.cjs");
const require_components_client_Modal_modalStore = require("./modalStore.cjs");
const require_components_client_Modal_ManagedModal = require("./ManagedModal.cjs");
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/client/Modal/ModalPortal.tsx
const ModalPortal = () => {
	const slot = (0, react.useSyncExternalStore)(require_components_client_Modal_modalStore.subscribe, require_components_client_Modal_modalStore.getSnapshot, require_components_client_Modal_modalStore.getSnapshot);
	if (!slot) return null;
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Modal_ManagedModal.ManagedModal, { slot }, slot.slotId);
};
ModalPortal.displayName = "ModalPortal";
//#endregion
exports.ModalPortal = ModalPortal;
