import { a as p } from "./chunk-HAGKVQOW.js";
import { c as P } from "./chunk-3YVJ2ELD.js";
import { a as y$1 } from "./chunk-RJYZ5FAR.js";
import { a as l } from "./chunk-A3GF4PYW.js";
import { b as u } from "./chunk-4BTB3MU2.js";
import { d as b } from "./chunk-ZTZJHY4E.js";
import { LiaMapMarkedAltSolid } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.1.1/node_modules/react-icons/lia/index.js";
import { Type } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var r = { lat: 48.8566, lng: 2.3522, zoom: 15 }, f = y$1({ type: "map", name: "Map", description: "A map element showing a location", aiInstructions: "This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.", minWidth: { desktop: 280, mobile: 280 }, minHeight: { desktop: 200, mobile: 120 }, defaultHeight: { desktop: "320px", mobile: "280px" }, defaultWidth: { desktop: "380px", mobile: "100%" }, icon: LiaMapMarkedAltSolid, props: P({ lat: l("Latitude", { "ui:field": "hidden" }), lng: l("Longitude", { "ui:field": "hidden" }), address: l("Address", { "ui:field": "geoaddress", metadata: { category: "content" } }), tooltip: Type.Optional(l("Tooltip", { metadata: { category: "content" } })), zoom: Type.Optional(p("Zoom", { description: "Zoom level for the map", "ui:instructions": "The zoom level should be between 0 (world view) and 21 (street view).", "ui:field": "slider", minimum: 12, maximum: 18, default: r.zoom, metadata: { category: "content" } })), rounding: Type.Optional(b({ default: "rounded-xl" })), shadow: Type.Optional(u()) }) }), y = [{ description: "Map showing a specific location", type: "map", props: { lat: "37.7749", lng: "-122.4194", address: "San Francisco, CA", tooltip: "San Francisco, CA", shadow: "shadow-md", width: "40%", height: "250px" } }, { description: "Map with custom styles", type: "map", props: { lat: "40.7128", lng: "-74.0060", address: "New York, NY", tooltip: "New York, NY", shadow: "shadow-lg", width: "100%", height: "400px" } }, { description: "Business location map with high zoom level and rounded corners", type: "map", props: { lat: "34.0522", lng: "-118.2437", address: "Los Angeles, CA", tooltip: "Our Los Angeles Office", zoom: 18, rounding: "rounded-2xl", shadow: "shadow-xl" } }, { description: "Event venue map with medium zoom and subtle shadow", type: "map", props: { lat: "41.8781", lng: "-87.6298", address: "Chicago, IL", tooltip: "Conference Center - Chicago", zoom: 16, rounding: "rounded-lg", shadow: "shadow-sm" } }, { description: "Restaurant location with default zoom and sharp corners", type: "map", props: { lat: "25.7617", lng: "-80.1918", address: "Miami, FL", tooltip: "Oceanview Restaurant & Bar", zoom: 15, rounding: "rounded-none", shadow: "shadow-md" } }, { description: "Hotel location with low zoom for area overview", type: "map", props: { lat: "36.1699", lng: "-115.1398", address: "Las Vegas, NV", tooltip: "Downtown Las Vegas Hotel", zoom: 13, rounding: "rounded-xl", shadow: "shadow-lg" } }, { description: "Store location with maximum zoom for street view detail", type: "map", props: { lat: "47.6062", lng: "-122.3321", address: "Seattle, WA", tooltip: "Seattle Flagship Store", zoom: 18, rounding: "rounded-md", shadow: "shadow-sm" } }, { description: "Park location with moderate zoom and minimal styling", type: "map", props: { lat: "39.7392", lng: "-104.9903", address: "Denver, CO", tooltip: "City Park Recreation Area", zoom: 14, rounding: "rounded-sm" } }, { description: "Dynamic business location using company query", type: "map", props: { lat: "{{company.latitude}}", lng: "{{company.longitude}}", address: "{{company.address}}", tooltip: "{{company.name}} - {{company.address}}", zoom: 16, rounding: "rounded-lg", shadow: "shadow-md" } }, { description: "Dynamic event venue using event query", type: "map", props: { lat: "{{event.venueLatitude}}", lng: "{{event.venueLongitude}}", address: "{{event.venueAddress}}", tooltip: "{{event.title}} - {{event.venueName}}", zoom: 17, rounding: "rounded-xl", shadow: "shadow-lg" } }];
export {
  r as a,
  f as b,
  y as c
};
//# sourceMappingURL=chunk-R6ATC4TC.js.map
