import {
  init_esm2 as init_esm,
  useMatches
} from "/build/_shared/chunk-VJFCZKPM.js";
import {
  createHotContext,
  init_remix_hmr
} from "/build/_shared/chunk-4FTV3JJX.js";

// app/hooks/useAppLayoutData.ts
init_remix_hmr();
init_esm();
if (import.meta) {
  import.meta.hot = createHotContext(
    //@ts-expect-error
    "app/hooks/useAppLayoutData.ts"
  );
  import.meta.hot.lastModified = "1713919026865.716";
}
var useAppLayoutData = () => {
  const matches = useMatches();
  const rootData = matches.find((match) => match.id === "routes/app+/project+/$projectId+/env+/$envId+/_layout")?.data || {};
  return rootData;
};

export {
  useAppLayoutData
};
//# sourceMappingURL=/build/_shared/chunk-CUOCTUZ2.js.map
