{"version":3,"file":"LuxDemoWhereToBuild.Bb0QmDId.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/NdX2dJ8ib4dyfvIgZGAx/QZFSSZ9ztvup275ycLM8/LuxDemoWhereToBuild.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{RenderTarget}from\"framer\";// The live where-to-build demo (lux-site/demo/landed/where-to-build). Built by make-slug-framer.cjs; edit the demo, not this file.\nconst SLUG=\"where-to-build\";const CSS=`:host { all: initial; display: block; position: relative; color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-align: left; }\r\n:host {\r\n    color-scheme: light;\r\n    --vh: 1vh;\r\n    --paper: #ffffff; --ink: #0c0c0f; --ink-2: rgb(12 12 15 / .78); --muted: #5b5b63; --faint: #8b8b93;\r\n    --line: rgb(12 12 15 / .1); --film: #111314; --sel: #2f6fdc;\r\n    --glass: rgb(248 248 250 / .72); --edge: rgb(255 255 255 / .55);\r\n    --sans: \"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n    --serif: \"Merriweather\", Georgia, \"Times New Roman\", serif;\r\n    --mono: \"JetBrains Mono\", ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;\r\n    --out: cubic-bezier(.16, 1, .3, 1);\r\n    --chat-w: clamp(330px, 29vw, 400px);\r\n    \r\n    --ramp: linear-gradient(90deg, #e4ebef, #c3d1da, #bdbcb0, #cfa577, #c88a58, #ad6436, #874221);\r\n    --accent: #2f6fdc;\r\n  }\r\n* { box-sizing: border-box; }\r\n[hidden] { display: none !important; }\r\ni, em, cite, var, dfn, address { font-style: normal; }\r\n.wrap { max-width: 1680px; margin: 0 auto; display: grid; gap: 16px; min-width: 0; }\r\n.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\r\n.brand { display: inline-flex; align-items: center; gap: 8px; font: 500 22px/1 var(--serif); color: var(--ink); text-decoration: none; }\r\n.brand img { height: 26px; width: auto; }\r\n.kick { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }\r\n.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 40px; flex-wrap: wrap; }\r\nh1 { margin: 0; font: 300 clamp(28px, 3.4vw, 42px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; max-width: 22ch; }\r\n.lede { margin: 0; font-size: 16px; color: var(--muted); max-width: 36ch; }\r\n.win { position: relative; min-width: 0; height: clamp(600px, calc(var(--vh) * 100 - 150px), 920px); border-radius: 14px; overflow: hidden; background: #e7e7e0;\r\n    box-shadow: 0 0 0 .5px rgb(0 0 0 / .28), 0 1px 0 0 rgb(255 255 255 / .5) inset, 0 40px 100px -30px rgb(20 26 40 / .5), 0 14px 34px -14px rgb(20 26 40 / .3); }\r\n.win:fullscreen { height: 100vh; border-radius: 0; }\r\n#map { position: absolute; inset: 0; }\r\n.maplibregl-map { overflow: hidden; position: relative; -webkit-tap-highlight-color: transparent; }\r\n.maplibregl-canvas { position: absolute; left: 0; top: 0; outline: none; }\r\n.maplibregl-canvas-container.maplibregl-interactive { cursor: grab; }\r\n.maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }\r\n.maplibregl-canvas-container.is-hot { cursor: pointer; }\r\n.maplibregl-marker { position: absolute; top: 0; left: 0; will-change: transform; }\r\n.glass { background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);\r\n    box-shadow: 0 0 0 .5px rgb(0 0 0 / .14), 0 1px 0 0 var(--edge) inset, 0 18px 44px -20px rgb(15 20 30 / .38); }\r\n.bar { position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px; min-width: 0;\r\n    background: rgb(246 246 248 / .7); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border-bottom: .5px solid rgb(0 0 0 / .16); }\r\n.lights { display: flex; gap: 8px; flex: none; }\r\n.lights i { width: 12px; height: 12px; border-radius: 50%; background: #dcdce0; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }\r\n.ttl { display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }\r\n.ttl b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }\r\n.ttl span { flex: none; font: 400 11px/1 var(--mono); color: var(--muted); padding: 4px 7px; border-radius: 6px; background: rgb(0 0 0 / .045); }\r\n.tools { margin-left: auto; display: flex; gap: 2px; flex: none; min-width: 0; }\r\n.tools button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 500 12.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }\r\n.tools button svg { width: 15px; height: 15px; flex: none; }\r\n.tools button:hover:not([disabled]) { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.tools button.on { background: rgb(0 0 0 / .08); color: var(--ink); }\r\n.tools button[disabled] { opacity: .38; cursor: default; }\r\n.cap { position: absolute; left: 12px; top: 64px; z-index: 3; max-width: calc(100% - var(--chat-w) - 48px); padding: 8px 13px; border-radius: 10px; font: 400 12px/1.25 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }\r\n.toasts { position: absolute; right: calc(var(--chat-w) + 22px); top: 64px; z-index: 6; display: grid; gap: 6px; justify-items: end; pointer-events: none; }\r\n.toast { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px; font: 400 12px/1.2 var(--mono); color: var(--ink); animation: tin .5s var(--out) both; }\r\n.toast svg { width: 13px; height: 13px; color: var(--ink); flex: none; }\r\n.toast.out { animation: tout .5s ease forwards; }\r\n@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }\r\n@keyframes tout { to { opacity: 0; transform: translateY(-4px); } }\r\n.legend { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 8px; border-radius: 12px; display: grid; gap: 2px; min-width: 214px; }\r\n.legend .lh { margin: 0; padding: 6px 8px 2px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }\r\n.legend button { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 9px; padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; font: 500 12.5px/1 var(--sans); color: var(--ink); cursor: pointer; text-align: left; animation: tin .4s var(--out) both; }\r\n.legend button:hover { background: rgb(0 0 0 / .05); }\r\n.legend button.off { color: var(--faint); }\r\n.legend button.off .sw { opacity: .3; }\r\n.legend .sw { width: 16px; height: 10px; border-radius: 3px; }\r\n.legend .sw.ramp { background: var(--ramp); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .15); }\r\n.legend .sw.ring { background: transparent; box-shadow: inset 0 0 0 1.6px var(--ink); }\r\n.legend .sw.dash { background: transparent; border: 1.6px dashed var(--sel); }\r\n.legend .sw.line { height: 3px; border-radius: 2px; }\r\n.legend .sw.dot { width: 10px; height: 10px; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 1.5px #fff; }\r\n.legend .sw.hollow { background: #fff; box-shadow: inset 0 0 0 1.6px var(--ink), 0 0 0 1.5px #fff; }\r\n.legend .sw.heat { background: linear-gradient(90deg, #ead6b8, #e0a877, #cc7a45, #a9532a); }\r\n.legend .sw.hot { background: linear-gradient(#1d2026 0 38%, #ad6436 38%); }\r\n.legend .sw.lead { background: var(--accent); }\r\n.legend .sw.bld { background: linear-gradient(#f4f3ef 0 45%, #c9c7bf 45%); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .2); }\r\n.legend .sw.fine { width: 6px; height: 6px; border-radius: 50%; justify-self: center; }\r\n.legend .n { font: 400 11.5px/1 var(--mono); color: var(--muted); }\r\n.legend .la { display: none; }\r\n.ctrls { position: absolute; right: calc(var(--chat-w) + 22px); bottom: 12px; z-index: 3; display: grid; border-radius: 11px; overflow: hidden; }\r\n.ctrls button { width: 36px; height: 34px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; font: 600 11px/1 var(--mono); }\r\n.ctrls button + button { border-top: .5px solid rgb(0 0 0 / .1); }\r\n.ctrls button:hover { background: rgb(0 0 0 / .05); color: var(--ink); }\r\n.ctrls svg { width: 15px; height: 15px; }\r\n.attr { position: absolute; right: calc(var(--chat-w) + 70px); bottom: 12px; z-index: 2; margin: 0; padding: 3px 6px; border-radius: 5px; background: rgb(255 255 255 / .62); font: 400 10px/1 var(--sans); color: rgb(12 12 15 / .62); }\r\n.tip { position: absolute; z-index: 8; pointer-events: none; padding: 9px 11px; border-radius: 10px; background: rgb(17 19 20 / .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #f5f5f3; font-size: 12.5px; line-height: 1.4; max-width: 260px; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }\r\n.tip b { display: block; font: 500 11.5px/1.3 var(--mono); color: #fff; margin-bottom: 2px; }\r\n.tip span { display: block; color: rgb(245 245 243 / .82); }\r\n.insp, .drawer { position: absolute; z-index: 4; left: 12px; top: 64px; border-radius: 14px; animation: pin .45s var(--out) both; }\r\n@keyframes pin { from { opacity: 0; transform: translateY(6px) scale(.985); } }\r\n.insp { width: 300px; max-height: calc(100% - 140px); overflow: auto; padding: 14px 16px 16px; }\r\n.drawer { bottom: 12px; width: min(460px, calc(100% - var(--chat-w) - 48px)); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }\r\n.win.drawn .cap { opacity: 0; }\r\n.win.drawn .legend { opacity: 0; pointer-events: none; }\r\n.legend { transition: opacity .3s; }\r\n.x { position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }\r\n.x:hover { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.x svg { width: 12px; height: 12px; }\r\n.k { margin: 0 0 6px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }\r\n.insp h3, .drawer h3 { margin: 0 0 10px; font: 600 15px/1.3 var(--sans); padding-right: 28px; }\r\n.rows { display: grid; gap: 7px; margin: 12px 0 0; }\r\n.row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }\r\n.row > span:first-child { color: var(--muted); flex: none; }\r\n.row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; min-width: 0; }\r\n.note-s { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }\r\n.meter { display: grid; gap: 5px; margin-top: 12px; }\r\n.meter .lab { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }\r\n.meter .lab b { font: 500 12px/1.3 var(--mono); color: var(--ink); }\r\n.meter .tr { position: relative; height: 6px; border-radius: 3px; background: rgb(0 0 0 / .07); }\r\n.meter .tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #2171b5; }\r\n.meter .tr u { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); text-decoration: none; }\r\n.pc { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px; font: 500 11.5px/1 var(--sans); white-space: nowrap; background: rgb(0 0 0 / .05); color: var(--muted); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .1); }\r\n.pc.yellow { background: rgb(222 200 120 / .3); color: #6e5510; box-shadow: inset 0 0 0 .5px rgb(160 120 20 / .3); }\r\n.pc.green { background: rgb(81 147 125 / .16); color: #2c5a4a; box-shadow: inset 0 0 0 .5px rgb(81 147 125 / .35); }\r\n.pc.blue { background: rgb(47 111 220 / .1); color: #1f4f9e; box-shadow: inset 0 0 0 .5px rgb(47 111 220 / .3); }\r\n.dh { position: relative; padding: 14px 16px 0; border-bottom: .5px solid rgb(0 0 0 / .1); }\r\n.dh h3 { margin-bottom: 8px; }\r\n.db { overflow: auto; padding: 10px 16px 16px; min-height: 0; }\r\n.dtabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; }\r\n.dtabs button { margin-bottom: -.5px; padding: 9px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }\r\n.dtabs button.on { border-bottom-color: var(--ink); color: var(--ink); }\r\n.big { display: grid; gap: 2px; margin: 4px 0 10px; }\r\n.big span { font-size: 12px; color: var(--muted); }\r\n.big b { font: 300 34px/1.05 var(--serif); font-variant-numeric: tabular-nums; }\r\n.big small { font-size: 12.5px; color: var(--muted); }\r\n.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }\r\n.kpis div { padding: 10px 12px; border-radius: 10px; background: rgb(255 255 255 / .7); box-shadow: 0 0 0 .5px rgb(0 0 0 / .08); display: grid; gap: 3px; min-width: 0; }\r\n.kpis b { font: 500 18px/1.1 var(--sans); font-variant-numeric: tabular-nums; }\r\n.kpis span { font-size: 12px; color: var(--muted); }\r\n.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }\r\n.tbl td, .tbl th { padding: 7px 6px 7px 0; border-bottom: .5px solid rgb(0 0 0 / .08); text-align: left; vertical-align: middle; }\r\n.tbl th { font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }\r\n.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }\r\n.tbl td small { display: block; font: 400 11px/1.3 var(--mono); color: var(--muted); margin-top: 1px; }\r\n.tbl tr.miss td { color: var(--muted); }\r\n.tbl tr.pick { cursor: pointer; }\r\n.tbl tr.pick:hover td, .tbl tr.sel td { background: rgb(0 0 0 / .035); }\r\n.tbl tr.sel td:first-child { box-shadow: inset 2px 0 0 var(--sel); }\r\n.tbl .rk { width: 26px; font: 500 11.5px/1 var(--mono); color: var(--muted); }\r\n.tbl .rk b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: #fff; font-weight: 500; }\r\n.tbl .sbar { display: inline-block; width: 46px; height: 5px; margin-right: 6px; border-radius: 3px; background: rgb(0 0 0 / .07); vertical-align: 1px; overflow: hidden; }\r\n.tbl .sbar i { display: block; height: 100%; background: #ad6436; }\r\n.wol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }\r\n.wol li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: .5px solid rgb(0 0 0 / .06); font-size: 12.5px; }\r\n.wol li span:last-child { color: var(--muted); font: 400 11.5px/1.4 var(--mono); white-space: nowrap; }\r\n.sect { margin: 14px 0 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }\r\n.chat { position: absolute; z-index: 4; right: 10px; top: 62px; bottom: 10px; width: var(--chat-w); border-radius: 14px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }\r\n.chat-top { display: flex; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-bottom: .5px solid rgb(0 0 0 / .1); font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }\r\n.chat-top .chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgb(0 0 0 / .06); color: var(--ink-2); font: 400 11px/1 var(--mono); letter-spacing: .02em; text-transform: none; }\r\n.chat-top button { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }\r\n.chat-top button:hover { background: rgb(0 0 0 / .06); color: var(--ink); }\r\n.chat-top button svg { width: 14px; height: 14px; }\r\n.log { overflow-y: auto; overflow-x: hidden; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }\r\n.empty { margin: auto 0; text-align: center; color: var(--faint); font-size: 13.5px; }\r\n.you { align-self: flex-end; max-width: 88%; padding: 9px 13px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.45; animation: rise .45s var(--out) both; }\r\n.step { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; line-height: 1.35; animation: rise .35s var(--out) both; }\r\n.step .ic { width: 15px; height: 15px; flex: none; display: grid; place-items: center; }\r\n.spin { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid rgb(12 12 15 / .18); border-top-color: var(--ink); animation: spin .8s linear infinite; }\r\n.step.done .spin { display: none; }\r\n.step .chk { display: none; width: 14px; height: 14px; color: var(--ink); }\r\n.step.done .chk { display: block; }\r\n.say { color: var(--ink); font-size: 14px; line-height: 1.58; animation: rise .35s var(--out) both; }\r\n.say .w { opacity: 0; transition: opacity .25s ease; }\r\n.say .w.in { opacity: 1; }\r\n@keyframes rise { from { opacity: 0; transform: translateY(4px); } }\r\n@keyframes spin { to { transform: rotate(360deg); } }\r\n.card { border-radius: 12px; background: rgb(255 255 255 / .78); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); padding: 13px 14px; display: grid; gap: 9px; animation: rise .5s var(--out) both; min-width: 0; }\r\n.card h4 { margin: 0; font: 600 14px/1.35 var(--sans); }\r\n.card .k { margin: 0; }\r\n.card .rows { margin: 0; }\r\n.card .bigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }\r\n.card .bigs div { padding: 9px 11px; border-radius: 10px; background: rgb(0 0 0 / .035); display: grid; gap: 2px; min-width: 0; }\r\n.card .bigs b { font: 300 26px/1.05 var(--serif); font-variant-numeric: tabular-nums; }\r\n.card .bigs span { font-size: 12px; color: var(--muted); }\r\n.card .meter { margin-top: 0; }\r\n.card > button { justify-self: start; height: 34px; padding: 0 16px; border-radius: 9px; border: 0; background: var(--ink); color: #fff; font: 500 13px/1 var(--sans); cursor: pointer; }\r\n.card > button[disabled] { opacity: .45; cursor: default; }\r\n.card .who { font: 400 11.5px/1.4 var(--mono); color: var(--muted); border-top: .5px solid rgb(0 0 0 / .1); padding-top: 9px; }\r\n.rank { list-style: none; margin: 0; padding: 0; display: grid; }\r\n.rank li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 6px; margin: 0 -6px; border-radius: 7px; font-size: 13px; cursor: pointer; }\r\n.rank li:hover, .rank li:focus-visible { background: rgb(0 0 0 / .045); outline: none; }\r\n.rank li > b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: #fff; font: 500 11px/1 var(--mono); }\r\n.rank li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\r\n.rank li > small { font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; }\r\n.rank li.lead > span { color: #1f4f9e; }\r\n.card .tbl { font-size: 12px; }\r\n.card .tbl th { font-size: 10px; }\r\n.composer { margin: 0 10px 10px; border-radius: 12px; background: rgb(255 255 255 / .86); box-shadow: 0 0 0 .5px rgb(0 0 0 / .14); padding: 9px 9px 9px 13px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; transition: box-shadow .3s; min-width: 0; }\r\n.srcs { flex: 1 0 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 0 -4px; padding-top: 8px; border-top: .5px solid rgb(0 0 0 / .08); }\r\n.srcs > span { margin: 0 2px 0 4px; font: 500 12px/1 var(--sans); color: var(--muted); }\r\n.src { display: inline-flex; align-items: center; gap: 6px; height: 25px; max-width: 100%; padding: 0 10px 0 8px; border: 1px solid rgb(12 12 15 / .2); border-radius: 999px; background: transparent; color: var(--ink); font: 500 12.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }\r\n.src:hover { border-color: rgb(12 12 15 / .45); }\r\n.src[aria-pressed=\"true\"] { background: var(--ink); border-color: var(--ink); color: #fff; }\r\n.src svg, .cite svg { width: 13px; height: 13px; flex: none; }\r\n.ref { display: inline-grid; place-items: center; min-width: 15px; height: 15px; margin-left: 3px; padding: 0 3px; border: 1px solid rgb(12 12 15 / .22); border-radius: 4px; font: 500 10px/1 var(--mono); color: var(--ink); vertical-align: 1px; font-variant-numeric: tabular-nums; }\r\n.ref + .ref { margin-left: 2px; }\r\n.cites { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; animation: rise .35s var(--out) both; }\r\n.cites > span { margin-right: 2px; font: 500 12px/1 var(--sans); color: var(--muted); }\r\n.cite { display: inline-flex; align-items: center; gap: 5px; height: 23px; max-width: 100%; padding: 0 9px 0 4px; border: 1px solid rgb(12 12 15 / .16); border-radius: 999px; font: 500 12px/1 var(--sans); color: var(--ink); white-space: nowrap; }\r\n.cite b { display: inline-grid; place-items: center; min-width: 15px; height: 15px; border-radius: 999px; background: rgb(12 12 15 / .07); font: 500 10px/1 var(--mono); }\r\n.composer.ready { box-shadow: 0 0 0 1px rgb(12 12 15 / .4), 0 0 0 5px rgb(12 12 15 / .06); }\r\n.field { flex: 1; min-width: 0; min-height: 38px; font-size: 13.5px; line-height: 1.45; color: var(--ink); align-self: center; overflow-wrap: anywhere; }\r\n.field.hint { color: var(--faint); }\r\n.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }\r\n@keyframes blink { 50% { opacity: 0; } }\r\n.send { width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .2s; }\r\n.send[disabled] { opacity: .3; cursor: default; }\r\n.send svg { width: 16px; height: 16px; }\r\n.end { margin: 0 10px 10px; padding: 16px; border-radius: 12px; background: var(--film); color: #f4f4f2; display: grid; gap: 12px; animation: rise .5s var(--out) both; }\r\n.end h3 { margin: 0; font: 300 20px/1.3 var(--serif); }\r\n.end .acts { display: flex; gap: 8px; flex-wrap: wrap; }\r\n.end a { text-decoration: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: #f4f4f2; color: var(--ink); font: 500 13.5px/1 var(--sans); }\r\n.end button { height: 36px; padding: 0 14px; border-radius: 9px; background: transparent; color: #f4f4f2; border: .5px solid rgb(255 255 255 / .3); font: 500 13.5px/1 var(--sans); cursor: pointer; }\r\n.mk { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 11.5px/1 var(--mono); }\r\n.mk i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: #fff; font: 500 11px/1 var(--mono); box-shadow: 0 0 0 2px #fff, 0 4px 12px -2px rgb(0 0 0 / .35); }\r\n.mk span { padding: 5px 8px; border-radius: 7px; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 .5px rgb(0 0 0 / .15), 0 6px 16px -8px rgb(0 0 0 / .4); color: var(--ink); white-space: nowrap; }\r\n.mk.lead i { background: var(--accent); }\r\n.mk.co { cursor: default; }\r\n.mk.co i { width: 12px; height: 12px; border-radius: 50%; background: #4b4f5a; }\r\n.mk.co.far span { display: none; }\r\n.ghost { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; transition: opacity .3s; }\r\n.ghost .rip { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: rip 2.6s var(--out) infinite; }\r\n.ghost svg { position: absolute; left: -2px; top: -2px; width: 22px; height: 26px; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .3)); animation: glide 2.6s var(--out) infinite; }\r\n@keyframes glide { 0% { transform: translate(78px, 64px); opacity: 0; } 12% { opacity: 1; } 48% { transform: translate(0, 0); } 56% { transform: translate(0, 0) scale(.84); } 64% { transform: translate(0, 0) scale(1); } 86% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }\r\n@keyframes rip { 0%, 54% { opacity: 0; transform: scale(.4); } 58% { opacity: .55; } 90%, 100% { opacity: 0; transform: scale(1.5); } }\r\n.foot { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 100ch; }\r\n@media (max-width: 820px) {\r\n:host { --chat-w: 0px; }\r\n.win { height: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 52px calc(var(--vh) * 64) auto; }\r\n.win:fullscreen { height: 100vh; overflow: auto; }\r\n#map { position: relative; inset: auto; height: calc(var(--vh) * 64); min-height: 380px; grid-row: 2; }\r\n.bar { position: relative; grid-row: 1; gap: 10px; padding: 0 8px 0 14px; }\r\n.ttl span, .tools button .l { display: none; }\r\n.tools button { padding: 0 9px; }\r\n.chat { position: relative; grid-row: 3; right: auto; top: auto; bottom: auto; width: auto; min-width: 0; height: 500px; margin: 8px; }\r\n.cap { top: 64px; max-width: calc(100% - 24px); }\r\n.legend { min-width: 0; max-width: calc(100% - 72px); bottom: auto; top: calc(52px + max(calc(var(--vh) * 64), 380px) - 12px); transform: translateY(-100%); display: flex; flex-wrap: wrap; gap: 0; padding: 4px; }\r\n.legend .lh { display: none; }\r\n.legend button { grid-template-columns: 10px auto; gap: 6px; padding: 5px 7px; font-size: 11.5px; }\r\n.legend .n { display: none; }\r\n.legend .sw { width: 10px; height: 10px; border-radius: 50%; }\r\n.legend .sw.line { height: 10px; }\r\n.legend .sw.dash, .legend .sw.ring { border-radius: 3px; }\r\n.ctrls { right: 12px; bottom: auto; top: calc(52px + max(calc(var(--vh) * 64), 380px) - 12px); transform: translateY(-100%); }\r\n.attr { display: none; }\r\n.legend .la { display: block; flex: 1 0 100%; margin: 0; padding: 3px 7px 2px; font: 400 9.5px/1.3 var(--sans); color: var(--faint); }\r\n.toasts { right: 12px; top: 100px; }\r\n.insp { width: auto; right: 12px; max-height: calc(max(calc(var(--vh) * 64), 380px) - 120px); }\r\n.drawer { right: 12px; width: auto; bottom: auto; height: calc(max(calc(var(--vh) * 64), 380px) - 24px); }\r\n.card .bigs b { font-size: 22px; }\r\n.chat { height: 560px; }\r\n.mk span { display: none; }\r\n.tbl .hn { display: none; }\r\n.tbl .sbar { width: 30px; }\r\n}\r\n@media (prefers-reduced-motion: reduce) {\r\n.ghost svg, .ghost .rip, .spin, .caret { animation: none; }\r\n.ghost .rip { opacity: .5; }\r\n}\r\n$ {luxSymbolCss()}\r\n.ldh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 40px; margin: 0 0 22px; }\r\n.ldk { grid-column: 1 / -1; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }\r\n.ldt { margin: 0; font: 300 clamp(32px, 4vw, 56px)/1.06 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; max-width: 18ch; }\r\n.ldl { margin: 0; font-size: 16px; color: var(--muted); max-width: 32ch; }\r\n@media (max-width: 820px) { .ldh { grid-template-columns: 1fr; } }\r\n.tasks .segs { display: none !important; } /* the owner cut the progress dashes; the task line stays */\n/* a11y: AA contrast for hint text */\n:host{--faint:#6b6b73 !important;--lux-muted:#63615c !important}`;const HTML=`<div class=\"ldh\"><p class=\"ldk\">Live demo</p><h2 class=\"ldt\">Ask where to build first. The agent reads the city.</h2><p class=\"ldl\">Send each message. Hover any neighbourhood.</p></div></head>\r\n<body>\r\n<div class=\"wrap\">\r\n  \r\n  \r\n\r\n  <section class=\"win\" id=\"win\" aria-label=\"Lux workspace, Acme\">\r\n    <div id=\"map\"></div>\r\n    <div class=\"bar\">\r\n      <span class=\"lights\" aria-hidden=\"true\"><i></i><i></i><i></i></span>\r\n      <span class=\"ttl\"><b>Acme — Where to build</b><span>Queens</span></span>\r\n      <nav class=\"tools\" aria-label=\"Workspace views\">\r\n        <button type=\"button\" data-view=\"analysis\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M2 13.5h12M3.5 13.5V9h2.5v4.5M7 13.5V6h2.5v7.5M10.5 13.5V3h2.5v10.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\" stroke-linejoin=\"round\"/></svg><span class=\"l\">Analysis</span></button>\r\n        <button type=\"button\" data-view=\"wo\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M2.5 3.5h11v9h-11Z M2.5 6.5h11 M5.5 9h2 M5.5 11h4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\" stroke-linejoin=\"round\"/></svg><span class=\"l\">Work orders</span></button>\r\n        <button type=\"button\" data-view=\"datastore\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><ellipse cx=\"8\" cy=\"3.8\" rx=\"5.2\" ry=\"2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\"/><path d=\"M2.8 3.8v8.4c0 1.1 2.3 2 5.2 2s5.2-.9 5.2-2V3.8M2.8 8c0 1.1 2.3 2 5.2 2s5.2-.9 5.2-2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\"/></svg><span class=\"l\">DataStore</span></button>\r\n      </nav>\r\n    </div>\r\n    <div class=\"cap glass\" id=\"cap\">Queens \\xb7 public data and Acme's accounts</div>\r\n    <div class=\"toasts\" id=\"toasts\"></div>\r\n    <div class=\"legend glass\" id=\"legend\" role=\"group\" aria-label=\"Layers\"></div>\r\n    <div class=\"ctrls glass\">\r\n      <button type=\"button\" id=\"zin\" aria-label=\"Zoom in\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M8 3v10M3 8h10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button>\r\n      <button type=\"button\" id=\"zout\" aria-label=\"Zoom out\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M3 8h10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button>\r\n      <button type=\"button\" id=\"tilt\" aria-label=\"Tilt the map\">3D</button>\r\n      <button type=\"button\" id=\"full\" aria-label=\"Full screen\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M2.5 6V2.5H6M10 2.5h3.5V6M13.5 10v3.5H10M6 13.5H2.5V10\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\r\n    </div>\r\n    <p class=\"attr\">Overture Maps \\xb7 \\xa9 Mapbox \\xa9 OpenStreetMap \\xa9 Maxar</p>\r\n    <div class=\"tip\" id=\"tip\" hidden></div>\r\n    <aside class=\"insp glass\" id=\"insp\" hidden></aside>\r\n    <aside class=\"drawer glass\" id=\"drawer\" hidden></aside>\r\n    <div class=\"chat glass\">\r\n      <div class=\"chat-top\"><span class=\"chip\">Expansion</span>AI terminal<button type=\"button\" id=\"restart\" aria-label=\"Start again\"><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M3 8a5 5 0 1 0 1.6-3.7M3 2.5v2.8h2.8\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button></div>\r\n      <div class=\"log\" id=\"log\" aria-live=\"polite\"><p class=\"empty\" id=\"empty\">Send a message to start.</p></div>\r\n      <form class=\"composer\" id=\"composer\">\r\n        <div class=\"field\" id=\"field\"></div>\r\n        <button type=\"submit\" class=\"send\" id=\"send\" aria-label=\"Send\" disabled><svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M8 13V3M3.5 7.5 8 3l4.5 4.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\r\n        <div class=\"srcs\" id=\"srcs\" role=\"group\" aria-label=\"Sources the agent may use\"><span>Sources</span></div>\r\n      </form>\r\n    </div>\r\n  </section>\r\n\r\n  \r\n</div>\r\n\r\n<div class=\"ghost\" id=\"ghost\" hidden aria-hidden=\"true\"><span class=\"rip\"></span><svg viewBox=\"0 0 22 26\"><path d=\"M2 2 L2 21 L7 16.5 L10.4 24 L13.6 22.6 L10.3 15.3 L17 15.3 Z\" fill=\"#111314\" stroke=\"#fff\" stroke-width=\"1.6\" stroke-linejoin=\"round\"/></svg></div>`;const URLS={\"js\":\"https://framerusercontent.com/assets/vZgTdBHVahsxaj0Y9ft5CtDLfM.txt\",\"data/basemap.json\":\"https://framerusercontent.com/assets/mgtE1uwYH8hbVlEocCXhDu8XlbM.json\",\"data/bayside-buildings.json\":\"https://framerusercontent.com/assets/d8eyA302FhDQKFh2fU6UakmUGQ.json\",\"data/bayside-sat-clean.png\":\"https://framerusercontent.com/assets/lFTeCazkl0yReO7l06ToNrTSDM.png\",\"data/queens.json\":\"https://framerusercontent.com/assets/GKE4C80MJBl5B1MAiVaqgOkRoJQ.json\"};const SCRIPTS=[\"https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.js\"];const FONTS=[\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Merriweather:wght@300;400&display=swap\"];// the modules the demo imports when it needs them, as text: the runtime runs one only when the demo asks for it\nconst INLINE={};// The app's map symbols for every demo (map-layers/cell-image-factory drawCell): a dark chip in the role's shape with\n// a soft shadow, an outline in the role's colour (for poles, the loading verdict) and the role's lucide glyph in light.\n// installLuxSymbols(map) turns the demo's closure and pole dots into chips: the dot layer stays (it still answers hover\n// and clicks, and lights as a soft halo when a feature is hovered or selected), a chip layer is drawn on top and follows\n// every filter, visibility and fade the demo applies to the dots. luxSymbolCss styles the cabinet and office markers.\n// The chips are drawn on a canvas, so they are ready the moment a layer is added.\nconst LUX_GLYPH={// lucide 0.424, the icons the FTTH ontology names: git-fork (closure), utility-pole, archive (cabinet), server (office)\n\"git-fork\":[\"M15 18a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M9 6a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M21 6a3 3 0 1 1-6 0a3 3 0 1 1 6 0\",\"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9\",\"M12 12v3\"],\"utility-pole\":[\"M12 2v20\",\"M2 5h20\",\"M3 3v2\",\"M7 3v2\",\"M17 3v2\",\"M21 3v2\",\"m19 5-7 7-7-7\"],archive:[\"M3 3h18a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z\",\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8\",\"M10 12h4\"],server:[\"M4 2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z\",\"M4 14h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z\",\"M6 6h.01\",\"M6 18h.01\"]};const LUX_SHAPE={circle:[0,0],square:[4,-Math.PI/4],hexagon:[6,-Math.PI/2]};const LUX_CELL={\"lux-closure\":[\"circle\",\"#22c55e\",\"git-fork\"],\"lux-branch\":[\"circle\",\"#7d8491\",\"git-fork\"],\"lux-pole\":[\"circle\",\"#a16207\",\"utility-pole\"],\"lux-pole-mr\":[\"circle\",\"#f59e0b\",\"utility-pole\"],\"lux-pole-na\":[\"circle\",\"#9b9ba3\",\"utility-pole\"],\"lux-cabinet\":[\"square\",\"#f97316\",\"archive\"],\"lux-co\":[\"hexagon\",\"#8b5cf6\",\"server\"]};const luxShapePath=(shape,c,r)=>{const[n,rot]=LUX_SHAPE[shape];if(!n)return`M${c-r} ${c}a${r} ${r} 0 1 0 ${2*r} 0a${r} ${r} 0 1 0 ${-2*r} 0`;return Array.from({length:n},(_,i)=>{const a=rot+i*2*Math.PI/n;return`${i?\"L\":\"M\"}${(c+r*Math.cos(a)).toFixed(2)} ${(c+r*Math.sin(a)).toFixed(2)}`;}).join(\"\")+\"Z\";};// one chip as an SVG string (40 x 40 box), for markers and legends\nconst luxChipSvg=name=>{const[shape,color,icon]=LUX_CELL[name];const S=22,B=40,c=B/2,r=S*.62,lw=Math.max(2.2,S*.17),g=S*.82,k=g/24,body=luxShapePath(shape,c,r);return`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 ${B} ${B}\" width=\"${B}\" height=\"${B}\"><defs><filter id=\"lxs\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"180%\"><feDropShadow dx=\"0\" dy=\"1.3\" stdDeviation=\"3\" flood-color=\"#000\" flood-opacity=\".5\"/></filter></defs>`+`<path d=\"${body}\" fill=\"rgba(10,10,13,.88)\" filter=\"url(#lxs)\"/><path d=\"${body}\" fill=\"none\" stroke=\"${color}\" stroke-width=\"${lw.toFixed(2)}\" stroke-linejoin=\"round\"/>`+`<g transform=\"translate(${(c-g/2).toFixed(2)} ${(c-g/2).toFixed(2)}) scale(${k.toFixed(4)})\" fill=\"none\" stroke=\"#e8e8ea\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">${LUX_GLYPH[icon].map(d=>`<path d=\"${d}\"/>`).join(\"\")}</g></svg>`;};// the same chip drawn on a canvas at 2x, for MapLibre images\nconst luxChipImage=name=>{const[shape,color,icon]=LUX_CELL[name];const P=80,s=2,S=22*s,c=P/2,r=S*.62,lw=Math.max(2.2*s,S*.17),g=S*.82,k=g/24;const cv=document.createElement(\"canvas\");cv.width=cv.height=P;const x=cv.getContext(\"2d\");const body=new Path2D(luxShapePath(shape,c,r));x.save();x.shadowColor=\"rgba(0,0,0,0.5)\";x.shadowBlur=S*.28;x.shadowOffsetY=S*.06;x.fillStyle=\"rgba(10,10,13,0.88)\";x.fill(body);x.restore();x.lineJoin=\"round\";x.lineWidth=lw;x.strokeStyle=color;x.stroke(body);x.save();x.translate(c-g/2,c-g/2);x.scale(k,k);x.lineWidth=2;x.lineCap=\"round\";x.lineJoin=\"round\";x.strokeStyle=\"#e8e8ea\";for(const d of LUX_GLYPH[icon])x.stroke(new Path2D(d));x.restore();return x.getImageData(0,0,P,P);};const LUX_STATES=[\"hover\",\"sel\",\"selected\",\"hl\",\"lit\",\"focus\",\"active\",\"pick\"];const luxHalo=r=>[\"*\",r,[\"case\",[\"any\",...LUX_STATES.map(n=>[\"boolean\",[\"feature-state\",n],false])],.42,0]];const LUX_LAYERS={closures:{img:[\"case\",[\"to-boolean\",[\"get\",\"br\"]],\"lux-branch\",\"lux-closure\"],size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.22,.3],15,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.32,.42],17,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.55,.7],18.5,[\"case\",[\"to-boolean\",[\"get\",\"br\"]],.72,.95]],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,5,15,8,17,13,18.5,18]},poles:{img:[\"match\",[\"get\",\"v\"],\"needs_make_ready\",\"lux-pole-mr\",\"refuses_to_judge\",\"lux-pole-na\",\"lux-pole\"],size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.2,15,.3,17,.5,18.5,.72],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,4,15,6,17,10,18.5,14]},// a map that draws its cabinets and office as dots (most demos use labelled markers for them instead)\ncabinets:{img:\"lux-cabinet\",size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.5,15,.7,17,.95,18.5,1.15],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,8,15,12,17,17,18.5,22]},co:{img:\"lux-co\",size:[\"interpolate\",[\"linear\"],[\"zoom\"],13,.6,15,.8,17,1.05,18.5,1.25],halo:[\"interpolate\",[\"linear\"],[\"zoom\"],13,9,15,13,17,18,18.5,24]}};function installLuxSymbols(map){if(map.__luxSymbols)return map;map.__luxSymbols=true;const orig={addLayer:map.addLayer.bind(map),setFilter:map.setFilter.bind(map),setLayoutProperty:map.setLayoutProperty.bind(map),setPaintProperty:map.setPaintProperty.bind(map),removeLayer:map.removeLayer.bind(map)};const on={};const chip=id=>id+\"__chip\";map.addLayer=(layer,before)=>{const spec=layer&&layer.type===\"circle\"&&LUX_LAYERS[layer.id];if(!spec||on[layer.id])return orig.addLayer(layer,before);for(const n of Object.keys(LUX_CELL))if(!map.hasImage(n))map.addImage(n,luxChipImage(n),{pixelRatio:2});const p=layer.paint||{};const r0=typeof p[\"circle-opacity\"]===\"number\"?p[\"circle-opacity\"]:1;on[layer.id]={r:r0};orig.addLayer({...layer,paint:{...p,\"circle-opacity\":luxHalo(r0),\"circle-radius\":spec.halo,\"circle-stroke-width\":0,\"circle-stroke-opacity\":0}},before);orig.addLayer({id:chip(layer.id),type:\"symbol\",source:layer.source,...layer.filter?{filter:layer.filter}:{},...layer.minzoom!=null?{minzoom:layer.minzoom}:{},layout:{\"icon-image\":spec.img,\"icon-size\":spec.size,\"icon-allow-overlap\":true,\"icon-ignore-placement\":true,visibility:layer.layout&&layer.layout.visibility||\"visible\"},paint:{\"icon-opacity\":r0}},before);return map;};map.setFilter=(id,f,o)=>{orig.setFilter(id,f,o);if(on[id]&&map.getLayer(chip(id)))orig.setFilter(chip(id),f,o);return map;};map.setLayoutProperty=(id,k,v,o)=>{orig.setLayoutProperty(id,k,v,o);if(on[id]&&k===\"visibility\"&&map.getLayer(chip(id)))orig.setLayoutProperty(chip(id),k,v,o);return map;};map.setPaintProperty=(id,k,v,o)=>{if(!on[id])return orig.setPaintProperty(id,k,v,o);// the demo fades its dots in and out: the chips take the fade, the dots stay a halo; size and rim stay the chip's\nif(k===\"circle-opacity\"){if(typeof v===\"number\"){on[id].r=v;orig.setPaintProperty(id,k,luxHalo(v),o);}if(map.getLayer(chip(id)))orig.setPaintProperty(chip(id),\"icon-opacity\",v,o);return map;}if(k===\"circle-radius\"||k.startsWith(\"circle-stroke\"))return map;return orig.setPaintProperty(id,k,v,o);};map.removeLayer=id=>{if(on[id]&&map.getLayer(chip(id)))orig.removeLayer(chip(id));delete on[id];return orig.removeLayer(id);};return map;}// cabinet and office markers (an empty <i> swatch before a label) become the same chips; legend swatches for closures\n// and poles show their chip too\nconst luxSymbolCss=()=>{const url=n=>`url(\"data:image/svg+xml,${encodeURIComponent(luxChipSvg(n))}\")`;return`.mk.cabinet i:empty, .mk.co i:empty { width: 32px !important; height: 32px !important; margin: -7px -4px -7px -7px; border-radius: 0 !important; box-shadow: none !important; background: ${url(\"lux-cabinet\")} center / contain no-repeat !important; }\r\n.mk.co i:empty { background-image: ${url(\"lux-co\")} !important; }\r\n[data-l=\"closures\"] .sw, [data-l=\"poles\"] .sw { width: 20px !important; height: 20px !important; margin: -5px -2px !important; border-radius: 0 !important; box-shadow: none !important; background: ${url(\"lux-closure\")} center / contain no-repeat !important; }\r\n[data-l=\"poles\"] .sw { background-image: ${url(\"lux-pole\")} !important; }`;};// a maplibregl stand-in whose Map installs the symbols on every map a demo creates\nconst luxMapLib=ml=>{if(!ml)return ml;// a demo without a map (no MapLibre on the page) passes nothing through\nif(ml.__luxWrapped)return ml.__luxWrapped;class LuxMap extends ml.Map{constructor(o){super(o);installLuxSymbols(this);}}ml.__luxWrapped=new Proxy(ml,{get:(t,p)=>p===\"Map\"?LuxMap:t[p]});return ml.__luxWrapped;};// Mounts one landed demo inside a shadow root so its styles, ids and keyframes never meet the site's or another\n// demo's. The demo script runs unchanged: it gets a stand-in `document` whose lookups, head and event wiring point\n// at the shadow root. Shared by the Framer components (make-slug-framer.cjs inlines it) and the local test pages.\nfunction mountLuxDemo(host,cfg,run){const root=host.shadowRoot||host.attachShadow({mode:\"open\"});root.innerHTML=\"<style>\"+cfg.css+\"</style>\"+cfg.html;if(!run)return root;const OUTSIDE=new Set([\"visibilitychange\",\"fullscreenchange\",\"pointermove\",\"pointerup\",\"pointercancel\",\"mousemove\",\"mouseup\",\"touchmove\",\"touchend\"]);const pass=(t,p)=>{const v=Reflect.get(t,p);return typeof v===\"function\"?v.bind(t):v;};const head=new Proxy(document.head,{get(t,p){if(p===\"append\"||p===\"prepend\")return(...n)=>root[p](...n);if(p===\"appendChild\")return n=>root.appendChild(n);if(p===\"querySelector\")return s=>root.querySelector(s);return pass(t,p);}});// nodes a demo parks on the body (an off-screen sheet holder) land in the shadow root, where its styles apply\nconst body=new Proxy(document.body,{get(t,p){if(p===\"append\"||p===\"prepend\")return(...n)=>root[p](...n);if(p===\"appendChild\")return n=>root.appendChild(n);return pass(t,p);}});const doc=new Proxy(document,{get(t,p){switch(p){case\"getElementById\":return id=>root.getElementById(id);case\"querySelector\":return s=>root.querySelector(s);case\"querySelectorAll\":return s=>root.querySelectorAll(s);case\"getElementsByClassName\":return c=>root.querySelectorAll(\".\"+c.trim().split(/\\s+/).join(\".\"));case\"elementFromPoint\":return(x,y)=>root.elementFromPoint(x,y);case\"elementsFromPoint\":return(x,y)=>root.elementsFromPoint(x,y);case\"activeElement\":return root.activeElement||document.activeElement;case\"head\":return head;case\"body\":return body;case\"addEventListener\":return(type,fn,o)=>(OUTSIDE.has(type)?document:root).addEventListener(type,fn,o);case\"removeEventListener\":return(type,fn,o)=>(OUTSIDE.has(type)?document:root).removeEventListener(type,fn,o);default:return pass(t,p);}}});// the app's map symbols (lux-symbols.js): every map the demo makes draws chips, and markers and legends match\nconst sym=document.createElement(\"style\");sym.textContent=luxSymbolCss();root.append(sym);// modules the demo imports when it needs them ship inline (cfg.inline: name -> source), never as an upload:\n// reading URLS[name] makes a blob URL of the source then, so nothing is parsed before the demo asks for it\nconst urls={...cfg.urls};for(const[name,src]of Object.entries(cfg.inline||{}))Object.defineProperty(urls,name,{enumerable:true,get:()=>URL.createObjectURL(new Blob([src],{type:\"text/javascript\"}))});return fetch(cfg.urls.js).then(r=>r.text()).then(code=>{new Function(\"URLS\",\"document\",\"maplibregl\",code)(urls,doc,luxMapLib(window.maplibregl));return root;});}// CDN scripts load as they are; the demo's own scripts are Framer assets served as text, so they run from a blob\nfunction loadScript(src){const w=window;w.__luxScripts=w.__luxScripts||{};if(/maplibre/.test(src)&&w.maplibregl)return Promise.resolve();const own=URLS[src];return w.__luxScripts[src]=w.__luxScripts[src]||(own?fetch(own).then(r=>r.text()).then(t=>URL.createObjectURL(new Blob([t],{type:\"text/javascript\"}))):Promise.resolve(src)).then(url=>new Promise((resolve,reject)=>{const s=document.createElement(\"script\");s.src=url;s.onload=()=>resolve();s.onerror=()=>reject(new Error(\"script did not load: \"+src));document.head.appendChild(s);}));}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function LuxDemoWhereToBuild(){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;for(const href of FONTS){if(document.querySelector('link[href=\"'+href+'\"]'))continue;const l=document.createElement(\"link\");l.rel=\"stylesheet\";l.href=href;document.head.appendChild(l);}// a page can hold a slot for this demo inside another section (data-luxdemo-slot, e.g. a screenshot with a\n// \"Try it live\" button): this section then stays hidden and the demo mounts in the slot when it is asked to\nconst slot=document.querySelector('[data-luxdemo-slot=\"'+SLUG+'\"]');if(slot&&RenderTarget.current()!==RenderTarget.canvas){const sec=el.closest(\"section\");if(sec)sec.style.display=\"none\";const open=async ev=>{if(!ev.detail||ev.detail!==SLUG)return;window.removeEventListener(\"lux:demo-open\",open);const host=document.createElement(\"div\");host.setAttribute(\"data-luxdemo\",SLUG);slot.appendChild(host);for(const s of SCRIPTS)await loadScript(s);await mountLuxDemo(host,{css:CSS+\" .ldh { display: none !important; }\",html:HTML,urls:URLS,inline:INLINE},true);};window.addEventListener(\"lux:demo-open\",open);return()=>window.removeEventListener(\"lux:demo-open\",open);}mountLuxDemo(el,{css:CSS,html:HTML,urls:URLS},false);el.style.minHeight=\"\";if(RenderTarget.current()===RenderTarget.canvas)return;let started=false;const io=new IntersectionObserver(([e])=>{if(!e.isIntersecting||started)return;started=true;io.disconnect();(async()=>{for(const s of SCRIPTS)await loadScript(s);await mountLuxDemo(el,{css:CSS,html:HTML,urls:URLS,inline:INLINE},true);})();},{rootMargin:\"700px 0px\"});io.observe(el);return()=>io.disconnect();},[]);return /*#__PURE__*/_jsx(\"section\",{\"aria-label\":\"Live demo\",style:{width:\"100%\",boxSizing:\"border-box\",marginTop:\"clamp(88px, 10vw, 150px)\",paddingInline:\"clamp(18px, 5.56vw, 80px)\"},children:/*#__PURE__*/_jsx(\"div\",{ref:ref,\"data-luxdemo\":SLUG,style:{minHeight:760}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LuxDemoWhereToBuild\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LuxDemoWhereToBuild.map"],"mappings":"wLAoUiU,SAAS,EAAkB,EAAI,CAAC,GAAG,EAAI,aAAa,OAAO,EAAI,EAAI,aAAa,GAAK,IAAM,EAAK,CAAC,SAAS,EAAI,SAAS,KAAK,CAAG,EAAE,UAAU,EAAI,UAAU,KAAK,CAAG,EAAE,kBAAkB,EAAI,kBAAkB,KAAK,CAAG,EAAE,iBAAiB,EAAI,iBAAiB,KAAK,CAAG,EAAE,YAAY,EAAI,YAAY,KAAK,CAAG,CAAC,EAAQ,EAAG,CAAC,EAAQ,EAAK,GAAI,EAAG,SACpO,MAD6O,GAAI,UAAU,EAAM,IAAS,CAAC,IAAM,EAAK,GAAO,EAAM,OAAO,UAAU,EAAW,EAAM,IAAI,GAAG,CAAC,GAAM,EAAG,EAAM,IAAI,OAAO,EAAK,SAAS,EAAM,CAAM,EAAE,IAAI,IAAM,KAAK,OAAO,KAAK,CAAQ,EAAM,EAAI,SAAS,CAAC,GAAE,EAAI,SAAS,EAAE,EAAa,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAM,EAAE,EAAM,OAAO,CAAC,EAAQ,EAAG,OAAO,EAAE,mBAAoB,SAAS,EAAE,kBAAkB,EAAshB,MAAphB,GAAG,EAAM,IAAI,CAAC,EAAE,CAAE,EAAE,EAAK,SAAS,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAE,iBAAiB,EAAQ,CAAE,EAAE,gBAAgB,EAAK,KAAK,s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