import { c as P } from "./chunk-3YVJ2ELD.js";
import { a as y } from "./chunk-RJYZ5FAR.js";
import { a as l } from "./chunk-A3GF4PYW.js";
import { b as u } from "./chunk-4BTB3MU2.js";
import { b as s, d as b$1 } from "./chunk-ZTZJHY4E.js";
import { c } from "./chunk-OHNYCXPX.js";
import { RxVideo } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.1.1/node_modules/react-icons/rx/index.js";
import { Type } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var w = y({ type: "video", name: "Video", category: "media", description: "An embedded video player for YouTube / Vimeo / Wistia links", icon: RxVideo, defaultWidth: { mobile: "auto", desktop: `${360 * 16 / 9}px` }, defaultHeight: { mobile: "168px", desktop: "360px" }, minWidth: { mobile: 300, desktop: 360 * 16 / 9 }, minHeight: { mobile: 168, desktop: 360 }, props: P({ url: l("Video URL", { description: "URL of the video to embed. It can be a YouTube link or an embed link. It also supports Vimeo and Wistia links.", default: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", metadata: { category: "content", "ui:responsive": "desktop" } }), padding: Type.Optional(c({ description: "Padding inside the video player.", "ai:instructions": "Use only a single value like '1rem' or '10px'", title: "Padding", "ui:responsive": true, "ui:placeholder": "Not specified", "ui:styleId": "styles:padding" })), rounding: Type.Optional(b$1({ default: "rounded-md" })), border: Type.Optional(s()), shadow: Type.Optional(u()) }) }), b = [{ description: "A YouTube video", type: "video", props: { url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" } }, { description: "An embedded YouTube video", type: "video", props: { url: "https://www.youtube.com/embed/dQw4w9WgXcQ" } }, { description: "A Vimeo video", type: "video", props: { url: "https://vimeo.com/123456789" } }, { description: "Dynamic course video using course query", type: "video", props: { url: "{{course.videoUrl}}", padding: "1rem", rounding: "rounded-lg", shadow: "shadow-md" } }, { description: "Dynamic product demo video using product query", type: "video", props: { url: "{{product.demoVideoUrl}}", padding: "0.5rem", rounding: "rounded-xl", shadow: "shadow-lg", border: { width: "border-2", color: "border-primary-300" } } }];
export {
  w as a,
  b
};
//# sourceMappingURL=chunk-PSTFJ5IJ.js.map
