import { b as n } from "./chunk-Q4H4QEMB.js";
import { a as u } from "./chunk-SY6DZLTC.js";
import { a as l } from "./chunk-7A2JNQX3.js";
import { a as i } from "./chunk-KSEURRVZ.js";
import { k as p, h as d } from "./chunk-AFVJZPLS.js";
import { Type as e } from "@sinclair/typebox";
import { b as a } from "./chunk-CCI4C3TM.js";
import { a as t } from "./chunk-A3GF4PYW.js";
import { b as r } from "./chunk-DHI3IBOD.js";
import { c as s } from "./chunk-CZRCW5EN.js";
import { a as o } from "./chunk-JMN3HTZU.js";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var T = e.Object({ backgroundImage: e.Optional(r()), colorPreset: e.Optional(s({ examples: [{ color: "base-100" }, { color: "primary-500" }, { color: "accent-100", gradientDirection: "bg-gradient-to-r" }] })), tags: e.Optional(e.Array(t("Tag"), { title: "Tags", description: "Use tags to organize, group and filter pages in navigation elements and in the dashboard. By default, the navbar element display pages having the 'navbar' tag, while the sidebar displays the pages with the tag 'sidebar'.", "ui:field": "tags", examples: [["navbar", "navbar"], ["navbar", "sidebar"], ["sidebar"]] })), path: t("URL path", { default: "/", description: "The URL path of the page. Use placeholders like :id or :slug for dynamic paths.", "ui:field": "path", pattern: "^/[a-z0-9-:/]*$", examples: ["/", "/about", "/products/:id"] }), queries: e.Optional(e.Array(p(), { title: "Page Queries", description: "List of queries to use in this page. All listed queries will be executed when the page loads.", "ai:instructions": "Reference Query IDs to use at the page level.", "ui:field": "page-queries", maxItems: 5 })), title: t("Title", { default: "Untitled", "ui:group": "meta", "ui:group:title": "Meta tags", description: "The title of the page. Appears in the browser tab and search results", "ui:placeholder": "Page title" }), description: t("Description", { "ui:widget": "textarea", "ui:group": "meta", "ui:group:title": "Meta tags", description: "A short description of the page. Used by search engines", "ui:multiline": !0, "ui:textarea-class": "h-24", default: "", "ui:placeholder": "A brief description of the page" }), keywords: t("Keywords", { "ui:group": "meta", "ui:group:title": "Meta tags", description: "Keywords related to the page. Used by search engines", "ui:multiline": !0, default: "", "ui:placeholder": "keyword1, keyword2, keyword3" }), ogImage: e.Optional(a({ title: "Social share image", description: "Image shown when this page is shared on social media", "ui:group": "meta", "ai:hidden": !0, "ui:no-object-options": !0, "ui:no-alt-text": !0, "ui:show-img-search": !1, "ui:no-dynamic": !0, "ui:placeholder": "https://example.com/image.jpg" })), robotsIndexing: e.Optional(i("Allow search engines to index this page", !0, { description: "Disabling this will prevent search engines from indexing this page", "ai:hidden": !0, "ui:group": "meta" })), language: e.Optional(o(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { "ai:hidden": !0, "ui:group": "meta", title: "Language", default: "en", description: "Overrides the site language for this page. Leave blank to use the site default language.", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"] })), additionalTags: e.Optional(e.Object({ headTags: e.Optional(e.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:instructions": "Don't include meta tags here, they are automatically generated.", "ui:multiline": !0, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": !0, "ui:textarea-font-size": "1", "ui:no-dynamic": !0 })), bodyTags: e.Optional(e.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ui:multiline": !0, "ui:premium": !0, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:no-dynamic": !0 })) }, { "ui:group": "meta" })), noNavbar: e.Optional(i("Hide navbar", !1, { "ui:group": "layout" })), noFooter: e.Optional(i("Hide footer", !1, { "ui:group": "layout" })), lastUpdated: e.Optional(n("Last updated", { "ui:hidden": !0, "ai:hidden": !0 })) }, { "ui:groups": { meta: "SEO & Meta tags", layout: "Layout" } }), A = e.Object({ language: o(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { title: "Site language", default: "en", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"], "ai:instructions": "Choose a value based on the site description. If the site is in multiple languages, use 'en'." }), backgroundImage: e.Optional(r()), colorPreset: e.Optional(s({ examples: [{ color: "base-100" }, { color: "primary-500" }, { color: "secondary-400" }, { color: "neutral-400" }, { color: "accent-200-gradient", gradientDirection: "bg-gradient-to-r" }, { color: "neutral-800-gradient", gradientDirection: "bg-gradient-to-t" }] })), queries: e.Optional(e.Array(d, { title: "Site Queries", "ui:field": "site-queries", description: "List of all queries available in this site. These can be used in any page.", "ai:instructions": "This is where queries are first defined. They are then referenced in pages attributes (in the 'queries' field) to use them." })), navbar: e.Optional(e.Composite([u.props], { title: "Navbar", "ui:group": "navbar" })), footer: e.Optional(e.Composite([l.props], { title: "Footer", "ui:group": "footer" })), ogImage: e.Optional(a({ title: "Social share image", description: "Image shown when this site is shared on social media", "ai:hidden": !0, "ui:group": "meta", "ui:no-object-options": !0, "ui:no-alt-text": !0, "ui:show-img-search": !1, "ui:no-dynamic": !0 })), robotsIndexing: e.Optional(i("Allow search engines to index this site", !0, { description: "Disabling this will prevent search engines from indexing this site entirely", "ai:hidden": !0, "ui:group": "meta" })), headTags: e.Optional(e.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": !0, "ui:multiline": !0, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": !0, "ui:textarea-font-size": "1", "ui:group": "external", "ui:no-dynamic": !0 })), bodyTags: e.Optional(e.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": !0, "ui:multiline": !0, "ui:premium": !0, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:group": "external", "ui:no-dynamic": !0 })) }, { "ui:groups": { meta: "SEO & Meta tags", layout: "Layout", navbar: "Navbar", footer: "Footer", external: "External scripts" } });
export {
  T as a,
  A as c
};
//# sourceMappingURL=chunk-AI4GHU7R.js.map
