import { b as g } from "./chunk-UMHXXXVP.js";
import { Type as e } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
function l(r) {
  return r.type === "object";
}
function f({ title: r, children: t, category: o = "settings", metadata: a, options: n }) {
  return l(t) ? e.Composite([e.Object({}), t], { title: r, metadata: { category: o, group: !0, ...a }, ...n }) : e.Object(t, { title: r, ...n, metadata: { category: o, group: !0, ...a } });
}
function m(r, t) {
  let o = { ...g, ...r }, { alignSelf: a, grow: n, ...i } = o, c = { ...i, ...t?.noAlignSelf ? {} : { alignSelf: a }, ...t?.noGrow ? {} : { grow: n } };
  return e.Object(c, t);
}
var s = e.Array;
export {
  f as a,
  m as c,
  s as d
};
//# sourceMappingURL=chunk-UU2MSQXY.js.map
