"use client";
import { useStoreProps, useStore } from './YV4JVR4I.js';
import { useUpdateEffect } from './ABQUS43J.js';
import { createDisclosureStore } from '../../../../../../@ariakit_core@0.4.15/node_modules/@ariakit/core/esm/__chunks/RCQ5P4YE.js';

function useDisclosureStoreProps(store, update, props) {
  useUpdateEffect(update, [props.store, props.disclosure]);
  useStoreProps(store, props, "open", "setOpen");
  useStoreProps(store, props, "mounted", "setMounted");
  useStoreProps(store, props, "animated");
  return Object.assign(store, { disclosure: props.disclosure });
}
function useDisclosureStore(props = {}) {
  const [store, update] = useStore(createDisclosureStore, props);
  return useDisclosureStoreProps(store, update, props);
}

export { useDisclosureStore, useDisclosureStoreProps };
//# sourceMappingURL=WYCIER3C.js.map
