commit 16ab9a3f8d57d085c81d11633ae6cebe2dc267c8 Author: Joren de Graaf Date: Mon Oct 12 20:49:13 2026 +0200 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a56320c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.venv/ +node_modules/ +dist/ +*.pyc +__pycache__/ +db.sqlite3 +.DS_Store +.playwright-mcp/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..95f6081 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Unified Dashboard · design showcase + +A Django template based design foundation using demo data only. Django 6.1, Vite, SCSS, Bootstrap, Bootstrap Icons, Chart.js, and vanilla JavaScript. + +## Run locally + +```sh +python3 -m venv .venv +.venv/bin/python -m pip install -r requirements.txt +npm install +npm run dev +``` + +Open http://127.0.0.1:8765/. The dev command checks that Django port **8765** and Vite port **5174** are free before launching either server. Ports 8000 and 1234 are not used. + +For a compiled frontend, run `npm run build`; Django then serves the compiled assets via its static file finder. The templates use Vite when its dev server is running, the build manifest when available, and checked-in preview assets otherwise. A Node.js 20.19+ installation is needed for Vite 7. This workspace had no system Node.js; the build was verified with a temporary Node.js binary. diff --git a/config/__init__.py b/config/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/config/asgi.py b/config/asgi.py new file mode 100644 index 0000000..b523d2e --- /dev/null +++ b/config/asgi.py @@ -0,0 +1,5 @@ +import os +from django.core.asgi import get_asgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") +application = get_asgi_application() diff --git a/config/settings.py b/config/settings.py new file mode 100644 index 0000000..aa713b2 --- /dev/null +++ b/config/settings.py @@ -0,0 +1,27 @@ +from pathlib import Path + +BASE_DIR = Path(__file__).resolve().parent.parent +SECRET_KEY = "django-insecure-local-design-showcase-only" +DEBUG = True +ALLOWED_HOSTS = ["localhost", "127.0.0.1"] +INSTALLED_APPS = [ + "django.contrib.contenttypes", + "django.contrib.staticfiles", + "core", +] +MIDDLEWARE = [ + "django.middleware.security.SecurityMiddleware", + "django.middleware.common.CommonMiddleware", +] +ROOT_URLCONF = "config.urls" +TEMPLATES = [{ + "BACKEND": "django.template.backends.django.DjangoTemplates", + "DIRS": [], + "APP_DIRS": True, + "OPTIONS": {"context_processors": ["django.template.context_processors.request"]}, +}] +WSGI_APPLICATION = "config.wsgi.application" +ASGI_APPLICATION = "config.asgi.application" +STATIC_URL = "static/" +STATICFILES_DIRS = [BASE_DIR / "dist"] if (BASE_DIR / "dist").exists() else [] +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" diff --git a/config/urls.py b/config/urls.py new file mode 100644 index 0000000..79ea96a --- /dev/null +++ b/config/urls.py @@ -0,0 +1,10 @@ +from django.urls import path +from core import views + +urlpatterns = [ + path("", views.today, name="today"), + path("health/", views.health, name="health"), + path("energy/", views.energy, name="energy"), + path("home/", views.home, name="home"), + path("showcase/", views.showcase, name="showcase"), +] diff --git a/config/wsgi.py b/config/wsgi.py new file mode 100644 index 0000000..86de4c9 --- /dev/null +++ b/config/wsgi.py @@ -0,0 +1,5 @@ +import os +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") +application = get_wsgi_application() diff --git a/core/__init__.py b/core/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/apps.py b/core/apps.py new file mode 100644 index 0000000..91bb30f --- /dev/null +++ b/core/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + +class CoreConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "core" diff --git a/core/demo_data.py b/core/demo_data.py new file mode 100644 index 0000000..49d234c --- /dev/null +++ b/core/demo_data.py @@ -0,0 +1,52 @@ +"""Named, normalized presentation data for the v0 showcase.""" + +def metric(icon, label, value, unit="", detail="", tone="neutral", trend=""): + return dict(icon=icon, label=label, value=value, unit=unit, detail=detail, tone=tone, trend=trend) + +HEALTH = [ + metric("bi-person-walking", "Steps", "8,426", detail="↑ 12% versus 7-day average", tone="good", trend="up"), + metric("bi-moon-stars", "Sleep", "7 h 42", detail="A restful night", tone="good"), + metric("bi-fire", "Active energy", "428", "kcal", "Goal: 500 kcal"), + metric("bi-activity", "Exercise", "47", "min", "↑ 9 min versus average", "good", "up"), + metric("bi-heart-pulse", "Resting heart rate", "58", "bpm", "Within your usual range", "good"), +] +ENERGY = [ + metric("bi-currency-euro", "Electricity price", "€0.19", "/kWh", "Cheap until 11:00", "good"), + metric("bi-lightning-charge", "Power now", "486", "W", "↓ 18% versus usual", "good", "down"), + metric("bi-bar-chart", "Consumed today", "12.4", "kWh", "Through 19:00"), + metric("bi-receipt", "Estimated cost", "€3.84", detail="Today so far"), + metric("bi-graph-down", "Average purchase", "€0.23", "/kWh", "Today"), + metric("bi-percent", "During cheap hours", "61", "%", "Of today's consumption", "good"), +] +HOME_SENSORS = [ + metric("bi-thermometer-half", "Temperature", "20.8", "°C", "Living room · comfortable", "good"), + metric("bi-droplet", "Humidity", "46", "%", "Living room · normal", "good"), + metric("bi-wind", "CO₂", "612", "ppm", "Bedroom · good air", "good"), + metric("bi-plug", "Household power", "486", "W", "Live demo reading"), + metric("bi-battery-half", "Door sensor", "72", "%", "Battery · normal", "good"), +] +ROOMS = [ + dict(name="Living room", icon="bi-house-heart", temperature="20.8 °C", detail="46% humidity", state="3 devices on", tone="good"), + dict(name="Bedroom", icon="bi-moon", temperature="18.9 °C", detail="52% humidity", state="All lights off", tone="neutral"), + dict(name="Balcony", icon="bi-sun", temperature="12.4 °C", detail="Outdoor", state="Lights on", tone="neutral"), +] +TIMELINE = [ + dict(time="08:14", icon="bi-moon-stars", title="Woke up", source="Health"), + dict(time="08:31", icon="bi-lightning-charge", title="Household power increased to 620 W", source="Energy"), + dict(time="09:02", icon="bi-currency-euro", title="Electricity entered cheap-price window", source="Energy"), + dict(time="09:18", icon="bi-person-walking", title="Reached 1,000 steps", source="Health"), + dict(time="10:04", icon="bi-plug", title="Washing machine started", source="Home"), + dict(time="12:36", icon="bi-activity", title="Workout · 42 min", source="Health"), +] +TODAY_GROUPS = [ + dict(name="Health", icon="bi-heart", href="health", summary="A good start to the day", metrics=HEALTH[:2] + [HEALTH[3]]), + dict(name="Energy", icon="bi-lightning-charge", href="energy", summary="Cheap electricity until 11:00", metrics=ENERGY[:2] + [ENERGY[3]]), + dict(name="Home", icon="bi-house", href="home", summary="Comfortable throughout the house", metrics=[HOME_SENSORS[0], HOME_SENSORS[1], metric("bi-lightbulb", "Balcony lights", "On", detail="Demo state")]), +] +ACTIVITY_CHART = {"labels": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], "activity": [36, 51, 42, 68, 47, 72, 47], "baseline": [45] * 7} +TREND_CHART = {"labels": ["Thu", "Fri", "Sat", "Sun", "Mon", "Tue", "Wed"], "activity": [7100, 9200, 8300, 10400, 6300, 7600, 8426], "baseline": [7800] * 7} +ENERGY_CHART = { + "labels": [f"{hour:02d}:00" for hour in range(24)], + "price": [.27,.25,.23,.21,.20,.18,.17,.18,.19,.19,.18,.20,.23,.24,.27,.31,.35,.38,.41,.37,.33,.29,.26,.24], + "consumption": [.27,.23,.22,.21,.24,.32,.52,.78,.61,.49,.42,.67,.72,.58,.53,.6,.9,1.32,1.7,1.12,.76,.6,.43,.32], +} diff --git a/core/static/core/main.js b/core/static/core/main.js new file mode 100644 index 0000000..0b137e9 --- /dev/null +++ b/core/static/core/main.js @@ -0,0 +1,79 @@ +(() => { + const root = document.documentElement; + const themeSelect = document.querySelector('#theme-select'); + const chartInstances = []; + const theme = () => root.dataset.theme === 'system' + ? (matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : root.dataset.theme; + if (themeSelect) { + themeSelect.value = root.dataset.theme; + themeSelect.addEventListener('change', () => { + root.dataset.theme = themeSelect.value; + localStorage.setItem('dashboard-theme', themeSelect.value); + chartInstances.forEach(chart => chart.destroy()); + chartInstances.length = 0; + renderCharts(); + }); + } + matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { + if (root.dataset.theme === 'system') { + chartInstances.forEach(chart => chart.destroy()); + chartInstances.length = 0; + renderCharts(); + } + }); + const color = name => getComputedStyle(root).getPropertyValue(name).trim(); + function renderCharts() { + if (!window.Chart) return; + const dark = theme() === 'dark'; + const grid = color('--chart-grid'), muted = color('--text-muted'); + const accent = color('--accent'), good = color('--positive'), warning = color('--warning'); + const base = { + responsive: true, maintainAspectRatio: false, + animation: false, + interaction: { mode: 'index', intersect: false }, + plugins: { + legend: { display: false }, + tooltip: { backgroundColor: dark ? '#1e2b28' : '#1f302c', titleColor: '#fff', bodyColor: '#e9f2ee', padding: 12, cornerRadius: 10, displayColors: true }, + }, + scales: { + x: { grid: { display: false }, ticks: { color: muted, maxRotation: 0, autoSkip: true, maxTicksLimit: innerWidth < 640 ? 6 : 12, font: { family: 'DM Sans', size: 11 } }, border: { display: false } }, + y: { beginAtZero: true, grid: { color: grid }, ticks: { color: muted, font: { family: 'DM Sans', size: 11 } }, border: { display: false } }, + }, + }; + document.querySelectorAll('canvas[data-chart]').forEach(canvas => { + const values = JSON.parse(canvas.dataset.values); + let config; + if (canvas.dataset.chart === 'energy') { + config = { type: 'bar', data: { labels: values.labels, datasets: [ + { type: 'bar', label: 'Consumption · kWh', data: values.consumption, yAxisID: 'use', backgroundColor: values.price.map(p => p >= .35 ? 'rgba(196, 133, 61, .56)' : 'rgba(53, 132, 108, .52)'), borderRadius: 4, barPercentage: .72, categoryPercentage: .8, order: 2 }, + { type: 'line', label: 'Price · €/kWh', data: values.price, yAxisID: 'price', borderColor: accent, backgroundColor: accent, borderWidth: 2.7, pointRadius: 0, pointHoverRadius: 5, tension: .32, order: 1 }, + ] }, options: { ...base, scales: { + x: base.scales.x, + use: { ...base.scales.y, position: 'left', suggestedMax: 2, title: { display: innerWidth > 640, text: 'USE · kWh', color: muted, font: { size: 10, weight: 'bold' } } }, + price: { ...base.scales.y, position: 'right', min: 0, suggestedMax: .5, grid: { drawOnChartArea: false }, ticks: { color: muted, callback: v => `€${Number(v).toFixed(2)}` }, title: { display: innerWidth > 640, text: 'PRICE · €/kWh', color: muted, font: { size: 10, weight: 'bold' } } }, + } } }; + } else { + const trend = canvas.dataset.chart === 'trend'; + config = { type: 'line', data: { labels: values.labels, datasets: [ + { label: trend ? 'Steps' : 'Exercise · min', data: values.activity, borderColor: good, backgroundColor: dark ? 'rgba(77, 170, 135, .13)' : 'rgba(47, 132, 100, .11)', fill: true, tension: .34, borderWidth: 2.5, pointRadius: 3, pointBackgroundColor: good }, + { label: 'Average', data: values.baseline, borderColor: muted, borderDash: [5, 5], borderWidth: 1.5, pointRadius: 0, tension: 0 }, + ] }, options: base }; + } + chartInstances.push(new Chart(canvas, config)); + }); + } + if (document.readyState === 'complete') renderCharts(); + else window.addEventListener('load', renderCharts, { once: true }); + document.querySelectorAll('[data-control]').forEach(button => button.addEventListener('click', () => { + const on = button.getAttribute('aria-checked') !== 'true'; + button.setAttribute('aria-checked', String(on)); + const state = button.closest('.control-card')?.querySelector('p'); + if (state) state.textContent = `${button.dataset.control === 'Balcony lights' ? 'Outdoor' : 'Local demo'} · ${on ? 'On' : 'Off'}`; + })); + document.querySelectorAll('[data-scene]').forEach(button => button.addEventListener('click', () => { + const active = button.dataset.active === 'true'; + button.dataset.active = String(!active); + button.innerHTML = active ? 'Activate ' : 'Active '; + button.closest('.control-card').querySelector('p').textContent = active ? 'Scene · Ready' : 'Scene · Active in preview'; + })); +})(); diff --git a/core/static/core/site.css b/core/static/core/site.css new file mode 100644 index 0000000..1eac639 --- /dev/null +++ b/core/static/core/site.css @@ -0,0 +1 @@ +:root,[data-theme="light"]{--page-bg:#f6f7f4;--surface:#fff;--surface-secondary:#f1f4f0;--text:#1d2925;--text-secondary:#56645d;--text-muted:#7c8982;--border:#e3e9e3;--accent:#315d4d;--positive:#2f8364;--warning:#b87328;--negative:#b95151;--chart-grid:#e9eee8;--chart-muted:#96a39a;--focus:#499d7b;--hero:#e9f2e9;--sidebar:#fbfcfa;--shadow:0 7px 30px rgba(35,63,48,.035);--radius-sm:10px;--radius-md:16px;--radius-lg:22px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:40px;--card-padding:24px;--icon-size:20px;--duration:180ms;color-scheme:light}@media (prefers-color-scheme: dark){[data-theme="system"]{--page-bg:#121a18;--surface:#1c2723;--surface-secondary:#25332d;--text:#edf3ee;--text-secondary:#b5c4b9;--text-muted:#90a297;--border:#34453a;--accent:#94c9ac;--positive:#76c69d;--warning:#e5ab64;--negative:#ed8a87;--chart-grid:#34463a;--chart-muted:#83998a;--focus:#9dd7b5;--hero:#20382e;--sidebar:#17211d;--shadow:0 12px 35px rgba(0,0,0,.12);color-scheme:dark}}[data-theme="dark"]{--page-bg:#121a18;--surface:#1c2723;--surface-secondary:#25332d;--text:#edf3ee;--text-secondary:#b5c4b9;--text-muted:#90a297;--border:#34453a;--accent:#94c9ac;--positive:#76c69d;--warning:#e5ab64;--negative:#ed8a87;--chart-grid:#34463a;--chart-muted:#83998a;--focus:#9dd7b5;--hero:#20382e;--sidebar:#17211d;--shadow:0 12px 35px rgba(0,0,0,.12);color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page-bg);color:var(--text);font:14px/1.55 'DM Sans',sans-serif;transition:background var(--duration),color var(--duration)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.035em;color:var(--text)}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip-link{position:fixed;top:-60px;left:12px;z-index:100;background:var(--surface);padding:12px}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:240px minmax(0, 1fr);min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);padding:28px 15px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:2px 14px 43px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.065em;color:var(--text)}.brand:hover{color:var(--text)}.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--accent);color:var(--surface);display:grid;place-items:center;font-size:14px}.brand-light{font-weight:500}.brand small{display:block;font:700 8px/1.8 'DM Sans',sans-serif;letter-spacing:.19em;color:var(--text-muted)}.nav-label{padding:0 15px 12px;font-size:10px;font-weight:700;letter-spacing:.14em;color:var(--text-muted)}.secondary-label{margin-top:35px}.side-nav{display:grid;gap:4px}.side-nav a,.nav-disabled{display:flex;align-items:center;gap:13px;min-height:42px;padding:0 15px;border-radius:10px;font-weight:600;color:var(--text-secondary);transition:background var(--duration),color var(--duration)}.side-nav a:hover{background:var(--surface-secondary);color:var(--text)}.side-nav a[aria-current=page]{background:var(--surface-secondary);color:var(--accent);font-weight:800}.side-nav a[aria-current=page]::after{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto}.side-nav i,.nav-disabled i{font-size:17px;width:18px;text-align:center}.nav-disabled{opacity:.55}.nav-disabled small{font-size:8px;margin-left:auto;border:1px solid var(--border);border-radius:4px;padding:1px 4px}.sidebar-bottom{margin-top:auto;border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;align-items:flex-start;gap:10px;background:var(--surface)}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{color:var(--text-muted);font-size:11px}.demo-dot,.live-dot,.state-dot{display:inline-block;width:7px;height:7px;background:var(--positive);border-radius:50%;flex:none}.sidebar-bottom .demo-dot{margin-top:5px}.main-column{min-width:0}.topbar{height:66px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:var(--surface)}.topbar-path{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--text-muted)}.topbar-path span{padding:0 10px;color:var(--border)}.topbar-path strong{color:var(--text-secondary)}.topbar-actions{display:flex;align-items:center;gap:15px}.demo-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.08em;color:var(--text-secondary)}.theme-select-label{color:var(--text-secondary);font-size:16px}.topbar select{border:0;background:transparent;color:var(--text-secondary);font-size:12px;max-width:85px}.avatar{width:30px;height:30px;border-radius:50%;background:#d8e8da;color:#315d4d;display:grid;place-items:center;font-size:10px;font-weight:800}.page-content{max-width:1550px;margin:auto;padding:35px 40px 80px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--positive)}.eyebrow-line{display:inline-block;width:16px;height:1px;background:var(--positive);vertical-align:middle;margin-right:5px}.page-heading h1{font-size:clamp(30px, 3vw, 42px);font-weight:800;line-height:1.12;margin:11px 0 8px}.heading-period{color:var(--positive)}.page-heading p{color:var(--text-secondary);margin:0;font-size:13px}.updated{font-size:11px;color:var(--text-muted);white-space:nowrap;padding-bottom:5px}.updated i,.updated .live-dot{margin-right:6px}.hero-panel{min-height:260px;background:var(--hero);border:1px solid var(--border);border-radius:var(--radius-lg);padding:33px 42px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.hero-copy{position:relative;z-index:1;max-width:650px}.hero-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--positive)}.hero-kicker i{font-size:15px;margin-right:5px}.hero-panel h2{font-size:clamp(28px, 3vw, 39px);line-height:1.2;font-weight:800;margin:18px 0 10px}.hero-panel h2 em{font-style:normal;color:var(--positive)}.hero-panel p{max-width:560px;color:var(--text-secondary);font-size:13px;margin-bottom:21px}.hero-tags{display:flex;flex-wrap:wrap;gap:8px}.hero-tags span{border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:5px 10px;font-size:10px;font-weight:700;color:var(--text-secondary)}.hero-tags i{color:var(--positive);margin-right:5px}.hero-orbit{width:270px;height:230px;position:relative;flex:none;margin:-9px 5px -30px 0}.orbit{position:absolute;border:1px solid rgba(80,145,107,0.22);border-radius:50%;inset:0 20px}.orbit.inner{inset:40px 60px}.orbit-center{position:absolute;left:calc(50% - 28px);top:calc(50% - 28px);width:56px;height:56px;background:var(--accent);color:var(--surface);border-radius:16px;display:grid;place-items:center;font-size:24px;box-shadow:0 10px 30px rgba(28,75,48,0.18)}.orbit-icon{position:absolute;width:42px;height:42px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border);border-radius:13px;color:var(--positive);font-size:18px;box-shadow:var(--shadow)}.orbit-heart{top:20px;left:55px}.orbit-bolt{right:4px;top:85px}.orbit-house{bottom:12px;left:57px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:32px 0 15px}.section-heading h2{font-size:19px;font-weight:800;margin:5px 0 0}.section-note{font-size:11px;color:var(--text-muted)}.domain-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:15px}.domain-panel,.content-card,.metric-card,.room-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow)}.domain-panel{padding:19px 20px 15px;display:flex;flex-direction:column;min-height:255px}.domain-header,.domain-title,.metric-top,.room-top,.card-heading{display:flex;align-items:center}.domain-header,.room-top,.card-heading{justify-content:space-between}.domain-title{gap:11px}.domain-icon,.icon-box,.card-heading-icon,.room-icon,.control-icon{background:var(--surface-secondary);border-radius:10px;display:grid;place-items:center;color:var(--accent)}.domain-icon{width:35px;height:35px;font-size:16px}.domain-title h3{font-size:14px;font-weight:800;margin:0}.domain-title small{display:block;font-size:10px;color:var(--text-muted)}.domain-header>a{font-size:13px;color:var(--text-muted);padding:5px}.domain-metrics{margin:15px 0 12px;border-top:1px solid var(--border)}.domain-metric{padding:9px 0;display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid var(--border)}.domain-metric>span{font-size:11px;color:var(--text-secondary)}.domain-metric strong{font:800 15px Manrope,sans-serif;white-space:nowrap}.domain-metric small{font-size:10px;color:var(--text-muted)}.domain-link{font-size:10px;font-weight:800;color:var(--accent);margin-top:auto}.domain-link i{margin-left:3px}.below-grid,.dashboard-grid,.showcase-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;margin-top:16px}.content-card{padding:var(--card-padding);min-width:0}.card-heading{align-items:start;gap:12px}.card-heading h2{font-size:19px;font-weight:800;margin:5px 0 4px}.card-heading p{font-size:11px;color:var(--text-muted);margin:0}.card-heading-icon{width:32px;height:32px;flex:none}.timeline{list-style:none;padding:0;margin:20px 0 0}.timeline li{display:grid;grid-template-columns:45px 30px 1fr;gap:9px;align-items:start;position:relative;min-height:47px}.timeline li:not(:last-child):before{content:'';position:absolute;left:68px;top:28px;bottom:-2px;border-left:1px solid var(--border)}.timeline time{font-size:10px;font-weight:700;color:var(--text-muted);padding-top:7px}.timeline-icon{width:25px;height:25px;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;color:var(--accent);font-size:12px;background:var(--surface);z-index:1}.timeline strong,.timeline small{display:block}.timeline strong{font-size:11px;font-weight:700;line-height:1.3;padding-top:4px}.timeline small{font-size:10px;color:var(--text-muted);margin-top:2px}.insight-card{background:var(--hero);position:relative;overflow:hidden}.insight-art{width:56px;height:56px;border-radius:17px;background:var(--surface);display:grid;place-items:center;font-size:27px;color:var(--positive);margin:30px 0 20px}.insight-card h2{font-size:24px;font-weight:800;margin-bottom:10px}.insight-card p{font-size:12px;line-height:1.7;color:var(--text-secondary);max-width:340px}.insight-card p strong{color:var(--text)}.insight-foot{display:block;border-top:1px solid var(--border);margin-top:24px;padding-top:14px;color:var(--text-muted);font-size:10px}.insight-foot i{color:var(--positive);margin-right:5px}.metric-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:15px}.metric-card{padding:18px 19px;min-height:148px;transition:transform var(--duration),border-color var(--duration)}.metric-card:hover{transform:translateY(-2px);border-color:var(--chart-muted)}.metric-top{gap:9px;color:var(--text-secondary)}.icon-box{width:30px;height:30px;font-size:14px}.metric-label{font-size:11px;font-weight:700}.metric-value{font:800 clamp(22px, 2.2vw, 31px)/1.2 Manrope,sans-serif;letter-spacing:-.045em;margin:14px 0 6px}.metric-unit{font-size:13px;letter-spacing:0;color:var(--text-secondary);margin-left:4px;font-weight:600}.metric-detail{font-size:10px;color:var(--text-muted)}.text-good{color:var(--positive) !important}.text-warning{color:var(--warning) !important}.dashboard-grid{grid-template-columns:1.55fr 1fr;margin-top:16px}.chart-card{min-height:315px}.chart-key{font-size:10px;color:var(--text-muted);white-space:nowrap}.key-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--positive);margin:0 5px 0 12px}.key-line{display:inline-block;width:16px;border-top:2px dashed var(--text-muted);vertical-align:middle;margin:0 5px 3px 12px}.chart-wrap{height:205px;margin-top:22px}.chart-wrap.small-chart{height:150px}.chart-caption{font-size:10px;color:var(--text-muted);margin:10px 0 0}.sleep-card{background:var(--hero)}.sleep-symbol{font-size:28px;color:var(--positive);margin:19px 0 10px}.sleep-card h2{font-size:17px;font-weight:800}.sleep-total{font:800 34px Manrope,sans-serif;letter-spacing:-.05em;margin:11px 0 18px}.sleep-total span{font-size:14px;color:var(--text-muted);letter-spacing:0}.sleep-row{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:8px 0;font-size:11px;color:var(--text-secondary)}.sleep-row strong{color:var(--text)}.workout-stats{display:grid;grid-template-columns:repeat(3, 1fr);gap:8px;margin:30px 0}.workout-stats strong,.workout-stats span{display:block}.workout-stats strong{font:800 24px Manrope,sans-serif}.workout-stats small{font-size:12px;color:var(--text-muted)}.workout-stats span{font-size:10px;color:var(--text-muted)}.subtle-note{background:var(--surface-secondary);border-radius:8px;padding:10px;font-size:10px;color:var(--text-secondary)}.subtle-note i{margin-right:5px}.energy-summary{display:flex;justify-content:space-between;gap:25px;background:var(--hero);border:1px solid var(--border);border-radius:var(--radius-lg);padding:25px 30px}.energy-summary h2{font-size:25px;font-weight:800;margin:8px 0}.energy-summary p{color:var(--text-secondary);font-size:12px;margin:0}.energy-summary p strong{color:var(--text)}.price-pill{border-left:1px solid var(--border);padding-left:28px;min-width:220px}.price-pill span,.price-pill em{display:block;font-size:10px;font-style:normal;font-weight:700;color:var(--text-muted)}.price-pill strong{display:block;font:800 26px Manrope,sans-serif;margin:4px 0}.price-pill small{font-size:11px;color:var(--text-muted)}.price-pill em{color:var(--positive)}.energy-chart-card{margin-top:16px}.energy-chart-wrap{height:300px;margin:25px 0 15px}.price-key{border-style:solid;border-color:var(--accent)}.chart-annotations{display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:var(--text-secondary);border-top:1px solid var(--border);padding-top:13px}.chart-annotations i{font-size:7px;margin-right:5px;color:var(--accent)}.finding-card{position:relative;overflow:hidden;min-height:210px}.finding-icon{width:32px;height:32px;background:var(--surface-secondary);color:var(--positive);display:grid;place-items:center;border-radius:10px;margin-bottom:15px}.finding-card h2{font-size:19px;font-weight:800;margin:8px 0}.finding-card p{font-size:11px;color:var(--text-secondary);max-width:430px}.finding-card.attention .finding-icon{color:var(--warning)}.progress-track{height:6px;border-radius:6px;background:var(--surface-secondary);margin-top:20px}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--positive)}.finding-card>small{font-size:10px;color:var(--text-muted)}.room-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:15px}.room-card{padding:20px}.room-icon{width:34px;height:34px}.room-state{font-size:10px;color:var(--text-muted)}.room-state .state-dot{width:6px;height:6px;margin-right:5px}.room-card h3{font-size:14px;font-weight:800;margin:24px 0 5px}.room-temp{font:800 25px Manrope,sans-serif}.room-card p{font-size:10px;color:var(--text-muted);margin:3px 0 0}.control-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:15px}.control-card{display:flex;align-items:center;gap:11px;min-height:83px;padding:16px}.control-icon{width:34px;height:34px;flex:none}.control-card>div{min-width:0;flex:1}.control-card h3{font-size:11px;font-weight:800;margin:0}.control-card p{font-size:10px;color:var(--text-muted);margin:2px 0 0}.toggle{border:0;width:37px;height:22px;border-radius:20px;background:var(--chart-muted);padding:3px;flex:none;transition:background var(--duration)}.toggle span{display:block;width:16px;height:16px;background:#fff;border-radius:50%;transition:transform var(--duration)}.toggle[aria-checked=true]{background:var(--positive)}.toggle[aria-checked=true] span{transform:translateX(15px)}.scene-button{border:1px solid var(--border);background:var(--surface-secondary);border-radius:8px;padding:6px 9px;font-size:10px;font-weight:700;color:var(--accent);white-space:nowrap}.scene-button[data-active=true]{background:var(--positive);color:var(--surface)}.showcase-section{margin-top:32px}.showcase-section .showcase-columns{margin-top:0}.type-sample h1{font-size:28px;font-weight:800;margin:13px 0}.type-sample h2{font-size:19px;font-weight:800}.type-sample h3{font-size:14px;font-weight:700}.type-sample p{font-size:12px;color:var(--text-secondary)}.type-sample small{font-size:9px;letter-spacing:.12em;color:var(--text-muted)}.swatches{display:grid;grid-template-columns:repeat(5, 1fr);gap:7px;margin-top:18px}.swatches strong,.swatches small{display:block;font-size:9px}.swatches small{color:var(--text-muted)}.swatch{display:block;height:44px;border-radius:8px;margin-bottom:8px}.swatch-accent{background:var(--accent)}.swatch-good{background:var(--positive)}.swatch-warning{background:var(--warning)}.swatch-danger{background:var(--negative)}.swatch-muted{background:var(--chart-muted)}.button-row,.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.button{border-radius:8px;border:1px solid var(--border);padding:8px 11px;font-size:10px;font-weight:800;background:var(--surface);color:var(--text)}.button.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.button.secondary{background:var(--surface-secondary)}.button.ghost{border-color:transparent}.field-label{display:block;font-size:10px;font-weight:700;margin-bottom:5px}.sample-input{width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px}.status-badge{font-size:9px;font-weight:700;border-radius:6px;padding:4px 7px}.status-badge.good{color:var(--positive);background:var(--surface-secondary)}.status-badge.warning{color:var(--warning);background:var(--surface-secondary)}.status-badge.danger{color:var(--negative);background:var(--surface-secondary)}.status-badge.neutral{color:var(--text-muted);background:var(--surface-secondary)}.showcase-control{padding:15px 0;margin:15px 0;border-bottom:1px solid var(--border)}.edge-grid{grid-template-columns:repeat(4, 1fr)}.edge-state{min-height:185px}.edge-icon{width:32px;height:32px;border-radius:9px;background:var(--surface-secondary);display:grid;place-items:center;color:var(--accent);margin-bottom:18px}.edge-icon.warning{color:var(--warning)}.edge-icon.danger{color:var(--negative)}.edge-state h3{font-size:12px;font-weight:800}.edge-state p{font-size:10px;color:var(--text-muted)}.edge-state .button{margin-top:4px}.skeleton{height:7px;border-radius:4px;background:var(--surface-secondary);margin-top:9px}.skeleton.short{width:65%}.mobile-nav{display:none}@media (max-width: 1100px){.app-shell{grid-template-columns:205px minmax(0, 1fr)}.page-content{padding:28px 26px 80px}.topbar{padding:0 26px}.hero-orbit{width:200px}.domain-grid,.metric-grid{grid-template-columns:repeat(2, 1fr)}.control-grid{grid-template-columns:repeat(2, 1fr)}.domain-grid .domain-panel:last-child{grid-column:span 2}.edge-grid{grid-template-columns:repeat(2, 1fr)}}@media (max-width: 760px){.app-shell{display:block}.sidebar{display:none}.topbar{height:56px;padding:0 17px}.topbar-path{font-size:9px}.demo-chip{display:none}.page-content{padding:22px 16px 100px}.page-heading{align-items:start}.page-heading h1{font-size:32px}.updated{display:none}.hero-panel{padding:25px;min-height:auto}.hero-panel h2{font-size:29px}.hero-orbit{display:none}.domain-grid,.room-grid{grid-template-columns:1fr}.domain-grid .domain-panel:last-child{grid-column:auto}.domain-panel{min-height:auto}.below-grid,.dashboard-grid,.showcase-columns{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}.control-grid{grid-template-columns:1fr}.energy-summary{display:block}.price-pill{border-left:0;border-top:1px solid var(--border);padding:15px 0 0;margin-top:17px;min-width:0}.section-note{display:none}.mobile-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5, 1fr);height:67px;padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box;background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -6px 22px rgba(0,0,0,0.04)}.mobile-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:9px;font-weight:700;color:var(--text-muted);min-height:58px}.mobile-nav a i{font-size:19px}.mobile-nav a[aria-current=page]{color:var(--accent)}.mobile-nav a[aria-current=page] span{border-bottom:2px solid var(--accent)}.energy-chart-wrap{height:270px}.chart-key{display:none}}@media (max-width: 480px){.metric-grid{gap:9px}.metric-card{padding:14px;min-height:136px}.metric-label{font-size:10px}.metric-value{font-size:23px}.metric-unit{font-size:11px}.hero-tags{gap:6px}.hero-tags span{font-size:9px}.room-grid{gap:10px}.showcase-columns.edge-grid{grid-template-columns:1fr 1fr}.edge-state{padding:15px}.swatches{grid-template-columns:repeat(3, 1fr)}.topbar-actions{gap:7px}.chart-annotations{gap:6px 12px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}} diff --git a/core/templates/core/base.html b/core/templates/core/base.html new file mode 100644 index 0000000..5555ded --- /dev/null +++ b/core/templates/core/base.html @@ -0,0 +1,37 @@ +{% load static vite %} + + + + + + {{ title }} · Common Ground + + + + + + {% vite_assets %} + + + +
+ +
+
PERSONAL DASHBOARD / {{ title|upper }}
DEMO MODEJM
+
{% block content %}{% endblock %}
+
+
+ + diff --git a/core/templates/core/components/metric.html b/core/templates/core/components/metric.html new file mode 100644 index 0000000..3d98130 --- /dev/null +++ b/core/templates/core/components/metric.html @@ -0,0 +1 @@ +
{{ metric.label }}
{{ metric.value }}{% if metric.unit %}{{ metric.unit }}{% endif %}
{{ metric.detail }}
diff --git a/core/templates/core/components/timeline.html b/core/templates/core/components/timeline.html new file mode 100644 index 0000000..52424a4 --- /dev/null +++ b/core/templates/core/components/timeline.html @@ -0,0 +1 @@ +
    {% for event in timeline %}
  1. {{ event.title }}{{ event.source }}
  2. {% endfor %}
diff --git a/core/templates/core/energy.html b/core/templates/core/energy.html new file mode 100644 index 0000000..3304306 --- /dev/null +++ b/core/templates/core/energy.html @@ -0,0 +1,7 @@ +{% extends 'core/base.html' %}{% block content %} +
SMARTER ENERGY

Energy.

See your electricity use alongside what it costs.

Demo live view
+
RIGHT NOW

You're in a good window.

Electricity is relatively cheap. Your home is drawing a modest 486 W.

PRICE NOW€0.19 /kWh Low price
+
TODAY AT A GLANCE

Energy in context

{% for metric in metrics %}{% include 'core/components/metric.html' %}{% endfor %}
+
PRICE MEETS CONSUMPTION

When you use it matters

Hourly electricity price and household use over 24 hours.

Price · €/kWh Use · kWh
09:02 Cheap price window 18:00 Consumption spike 10:04 Washing machine

The evening peak used 1.7 kWh when electricity cost €0.41/kWh. Values are illustrative.

+
FAVOURABLE PATTERN

61% during cheaper hours

Most of today's electricity use happened when prices were below your daily average.

61% of 12.4 kWh
WORTH A LOOK

High use, high price

From 18:00–18:45, your household used about 1.7 kWh during the most expensive period.

Example insight using demo data
+{% endblock %} diff --git a/core/templates/core/health.html b/core/templates/core/health.html new file mode 100644 index 0000000..5819cd6 --- /dev/null +++ b/core/templates/core/health.html @@ -0,0 +1,6 @@ +{% extends 'core/base.html' %}{% block content %} +
PERSONAL WELLBEING

Health.

Movement, rest and recovery in one clear view.

Demo health data
+
TODAY'S NUMBERS

A closer look at your day

{% for metric in metrics %}{% include 'core/components/metric.html' %}{% endfor %}
+
MOVEMENT

Activity this week

Exercise minutes, compared with your usual 45 minute baseline.

Activity Average

You've moved for 47 minutes today, 2 minutes above your usual baseline.

LAST NIGHT

Rested and ready

7 h 42 min
Bedtime23:04
Woke up06:46
Versus recent average+ 24 min
+
RECENT WORKOUT

Outdoor Walk

Today · 12:36

42 minDuration
3.8 kmDistance
268 kcalEnergy
A preview of how imported workouts could appear.
7-DAY TREND

Steps over time

8,426 today · up 12% versus average

+{% endblock %} diff --git a/core/templates/core/home.html b/core/templates/core/home.html new file mode 100644 index 0000000..a08014d --- /dev/null +++ b/core/templates/core/home.html @@ -0,0 +1,6 @@ +{% extends 'core/base.html' %}{% block content %} +
YOUR SPACE

Home.

A calm overview of your rooms, sensors and everyday controls.

Demo home state
+
ROOM OVERVIEW

Comfort at a glance

3 spaces
{% for room in rooms %}
{{ room.state }}

{{ room.name }}

{{ room.temperature }}

{{ room.detail }}

{% endfor %}
+
SENSORS

Little details, big picture

{% for metric in sensors %}{% include 'core/components/metric.html' %}{% endfor %}
+
QUICK CONTROLS

Make yourself at home

Controls update this preview only

Balcony lights

Outdoor · On

Desk switch

Office · Off

Evening calm

Scene · Ready

+{% endblock %} diff --git a/core/templates/core/showcase.html b/core/templates/core/showcase.html new file mode 100644 index 0000000..c257dbf --- /dev/null +++ b/core/templates/core/showcase.html @@ -0,0 +1,7 @@ +{% extends 'core/base.html' %}{% block content %} +
THE DESIGN SYSTEM

Showcase.

A working library of the patterns that bring the dashboard together.

v0 / Components
+
01 / FOUNDATION

Type & colour

TYPOGRAPHY

Clear by design.

Everything in its place.

Smaller, useful headings

Body copy stays comfortable and readable across every screen size.

CAPTIONS / LABELS / CONTEXT
SEMANTIC COLOURS
AccentAction & focus
FavourableHealthy / cheap
AttentionWorth a look
ProblemNeeds action
MutedReference
+
02 / COMPONENTS

Metrics & states

{% for metric in metrics %}{% include 'core/components/metric.html' %}{% endfor %}
BUTTONS & INPUTS
NormalAttentionProblemReference
INTERACTION

Preview light

Local demo state

Controls are visual examples and do not connect to devices.
+
03 / DATA DISPLAY

Charts & events

CHART LANGUAGE

Activity sample

Filled area shows quantity. Dashed line shows baseline.

TIMELINE EVENTS{% include 'core/components/timeline.html' %}
+
04 / EDGE CASES

Every state matters

Loading

Gathering the latest reading…

Nothing here yet

New data will appear as soon as it arrives.

Needs attention

Consumption is higher than usual.

Could not load

Try refreshing this section in a moment.

+{% endblock %} diff --git a/core/templates/core/today.html b/core/templates/core/today.html new file mode 100644 index 0000000..11d281b --- /dev/null +++ b/core/templates/core/today.html @@ -0,0 +1,7 @@ +{% extends 'core/base.html' %}{% block content %} +
THURSDAY, 8 OCTOBER 2026

Your day, at a glance.

A clear view of what matters across your health, energy and home.

Demo snapshot
+
TODAY'S PICTURE

Everything is looking
well balanced.

You slept well, your home is comfortable, and most of your energy today was used during cheaper hours.

Sleep on track Energy looking good Home comfortable
+
THE ESSENTIALS

One place for your whole day

A little of everything, in context
+
{% for group in groups %}

{{ group.name }}

{{ group.summary }}
{% for metric in group.metrics %}
{{ metric.label }}{{ metric.value }} {{ metric.unit }}
{% endfor %}
Explore {{ group.name|lower }}
{% endfor %}
+
CROSS-DOMAIN VIEW

Today timeline

Small moments that tell the story of your day.

{% include 'core/components/timeline.html' %}
GOOD TO KNOW

Better timing,
lower cost.

61% of today's electricity was used during cheaper hours. Your washing machine ran while prices were low.

An example of future combined insights
+{% endblock %} diff --git a/core/templatetags/__init__.py b/core/templatetags/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/templatetags/vite.py b/core/templatetags/vite.py new file mode 100644 index 0000000..aef1d26 --- /dev/null +++ b/core/templatetags/vite.py @@ -0,0 +1,23 @@ +"""Use Vite in development, its manifest after build, or the checked-in preview assets.""" +import json +import socket +from django import template +from django.conf import settings +from django.utils.html import format_html, format_html_join +from django.utils.safestring import mark_safe + +register = template.Library() + +@register.simple_tag +def vite_assets(): + try: + with socket.create_connection(("127.0.0.1", 5174), timeout=0.05): + return mark_safe('') + except OSError: + pass + manifest = settings.BASE_DIR / "dist" / ".vite" / "manifest.json" + if manifest.exists(): + entry = json.loads(manifest.read_text())["src/main.js"] + css = format_html_join("", '', ((path,) for path in entry.get("css", []))) + return css + format_html('', entry["file"]) + return mark_safe('') diff --git a/core/views.py b/core/views.py new file mode 100644 index 0000000..a2ad427 --- /dev/null +++ b/core/views.py @@ -0,0 +1,24 @@ +import json +from django.shortcuts import render +from . import demo_data as demo + +def page(request, template, title, section, **data): + return render(request, f"core/{template}.html", {"title": title, "section": section, **data}) + +def today(request): + return page(request, "today", "Today", "today", groups=demo.TODAY_GROUPS, timeline=demo.TIMELINE) + +def health(request): + return page(request, "health", "Health", "health", metrics=demo.HEALTH, + activity_chart=json.dumps(demo.ACTIVITY_CHART), trend_chart=json.dumps(demo.TREND_CHART)) + +def energy(request): + return page(request, "energy", "Energy", "energy", metrics=demo.ENERGY, + energy_chart=json.dumps(demo.ENERGY_CHART)) + +def home(request): + return page(request, "home", "Home", "home", rooms=demo.ROOMS, sensors=demo.HOME_SENSORS) + +def showcase(request): + return page(request, "showcase", "Showcase", "showcase", metrics=demo.HEALTH[:3], timeline=demo.TIMELINE[:3], + activity_chart=json.dumps(demo.ACTIVITY_CHART)) diff --git a/manage.py b/manage.py new file mode 100644 index 0000000..98622cc --- /dev/null +++ b/manage.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") + from django.core.management import execute_from_command_line + execute_from_command_line(sys.argv) diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..5a717b3 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1895 @@ +{ + "name": "unified-dashboard-showcase", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "unified-dashboard-showcase", + "dependencies": { + "bootstrap": "^5.3.8", + "bootstrap-icons": "^1.13.1", + "chart.js": "^4.5.0" + }, + "devDependencies": { + "concurrently": "^9.2.1", + "sass": "^1.93.0", + "vite": "^7.1.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@kurkle/color": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz", + "integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==", + "license": "MIT" + }, + "node_modules/@napi-rs/lzma-linux-x64-gnu": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz", + "integrity": "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^22.20 || ^24.12 || >=25" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", + "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.3", + "is-glob": "^4.0.3", + "node-addon-api": "^7.0.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.6.0", + "@parcel/watcher-darwin-arm64": "2.6.0", + "@parcel/watcher-darwin-x64": "2.6.0", + "@parcel/watcher-freebsd-x64": "2.6.0", + "@parcel/watcher-linux-arm-glibc": "2.6.0", + "@parcel/watcher-linux-arm-musl": "2.6.0", + "@parcel/watcher-linux-arm64-glibc": "2.6.0", + "@parcel/watcher-linux-arm64-musl": "2.6.0", + "@parcel/watcher-linux-x64-glibc": "2.6.0", + "@parcel/watcher-linux-x64-musl": "2.6.0", + "@parcel/watcher-win32-arm64": "2.6.0", + "@parcel/watcher-win32-x64": "2.6.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.6.0.tgz", + "integrity": "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.6.0.tgz", + "integrity": "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.6.0.tgz", + "integrity": "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.6.0.tgz", + "integrity": "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.6.0.tgz", + "integrity": "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.6.0.tgz", + "integrity": "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.6.0.tgz", + "integrity": "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.6.0.tgz", + "integrity": "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.6.0.tgz", + "integrity": "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.6.0.tgz", + "integrity": "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.6.0.tgz", + "integrity": "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.6.0.tgz", + "integrity": "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.64.2.tgz", + "integrity": "sha512-gjNDUwMswogkw3fNqV00u54uZlgmInuw5EU/1TeqQ6K0bEagoGvqjPdKzy112lKyhe7PkGudZ/kSQHsc9qroIg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.64.2.tgz", + "integrity": "sha512-YkAW8q7p5SCLSaGWaUkmsRnBEb3MGA1pB5nI/8k0lAK5fZsQKRBqkdR1h4UU9p8u3c7ZGdUF2Zcx7mK+E/pUKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.64.2.tgz", + "integrity": "sha512-hNmuIHv+LnrP/+q/44vsmIMWfoh7X2YXOp5FLtjGuvqN52VdtFpOpnshTc1k28tWv1wE/0D5gLjsozBUowEGbQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.64.2.tgz", + "integrity": "sha512-B0t5CoxgF2KL7R5FHAsyN8yVEQCSIkh4XVs8MCDjuBLNjEa8l3zd5tVKaFMv53LfUtHs9p2rnqeavPTOunV+Ww==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.64.2.tgz", + "integrity": "sha512-QQdYnfwrPmc1DoPlddjFvQPzUHFbStKXsHrG6EBYsWHhBVUCjsCRdcfGGXGAvhDpDtTzKK4vy1UrGFJ45rQaiw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.64.2.tgz", + "integrity": "sha512-1xRxtGWif6BB58VSfMavi0Yfs2M4x6CtRp4o7ScY4W7AGlgvf6GSPKdDNdw7TX3tMiQwZY5W/mvyrOJTq/7AKA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.64.2.tgz", + "integrity": "sha512-CXFLEt384BUwwOLR9DURWNHl1bQOVLd1ibOee+yKBJm/fZtvrSAOZ0JbxjAxszVMIovYMwFMS+oP+Q1aPcx8Eg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.64.2.tgz", + "integrity": "sha512-T1dorY0WHm5mMNpMHFl5rYRZ02gLSZcr6J45r66tYb3S3R3DyIRGiGWVdLtF+zOQjratNJaObl9jYumueRiL1A==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.64.2.tgz", + "integrity": "sha512-ia6bfaCIc0ldp6bvs9oEkFrJVJKNUMoiDF0+LBZsQAZg+vE0znXnzGqH+ew/FYswE30cruAWPTO3dPw7keaVkQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.64.2.tgz", + "integrity": "sha512-mB/gwfBfXtT0EBpbSssqKCqMFuX8b21Zy2TGoIhehSJEssZ5ksybxymwp1BkEM5Nczh/AAxpmh5q+MkhtundGg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.64.2.tgz", + "integrity": "sha512-VPd0a+XlHoNRI9jIPRHww2UKhDkD6XjbtcKYXZijAnhJS1jLLbiNtVl6a5LyEfNN+eyiyWcJOZXPzBo69oTsew==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.64.2.tgz", + "integrity": "sha512-10N1I6oBpERqzGtHKcCLrEpHlbXSBbMK9TURHvqgWbIFZuU3oJROxJ0H2nHfq96TVI0XJHQ9qzolJMFd2tz0LA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.64.2.tgz", + "integrity": "sha512-dhJrLVZ3wNNhwCmy9/VTg6Pq6J8a8eZ0n15dVRlbSWcDb+8V/1mDfbnvis+vt8W6Pbxzv6gUbTEl4piOT3bbUQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.64.2.tgz", + "integrity": "sha512-tPd2QuwxkTxgju5eARyb3RdgBWWi/O9dn/NFH0VkvGbLzoQeXrH6qMABtW8IODb5lUeBzB3sy2U7qmI4MtQ72g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.64.2.tgz", + "integrity": "sha512-njtDdPvSQWI9CDhIPPxsiEMeHayCfu7wwcbSQ7c2kYPhGVviL+WGVhq6Jfj/b+VuhSTkFuQ0z4ZFbFjkWwBFmg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.64.2.tgz", + "integrity": "sha512-EbOBo3dqCj9ecEV9Z7zvulB6AieMP2ztnKQYGVOSN0pzIyOu+3JH2YJZnLmbPeVvfn6yP6Qi7NbBM27EzGbj2w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.64.2.tgz", + "integrity": "sha512-8wLt2Q5n4qmfiE2Gk8V6KNLSf+oJuBX7Kdw5joFDtnZIZvirS0hLzBc79OiJjV71oYDmBUZLNy6pDgvylo4qiQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.64.2.tgz", + "integrity": "sha512-aIChbkhC4d33bxkVP0LSi2/2lUSGRXE6k4Qa0G7tgpgTOK7kxHTixmx5qC3SKUJ6yUMznHBtQoWaG4QMqLUnhw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.64.2.tgz", + "integrity": "sha512-gQ+TkVZRfjZVcl/UOAxxfWw+sHjzIXoieNwxEyJlD3tRBmBhR8ZDq11w+QEgQDcpslEB+fhN/OEpaTsDoIIHhQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.64.2.tgz", + "integrity": "sha512-sUaJpMKS2JBCvUk8fYimG7aMq2jHVT4kw/uVHxPolKLrMmkKy0KXirmZyZehdNpL7PffqAlPAWUELQcTiD8ChA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.64.2.tgz", + "integrity": "sha512-j1RdJWb0CrlSuwt12OPjLucPlwfLtA/KMOKVvh5rXSJEtl/WDoIGR3CSykK/jLGTo9RqNfW5Ub6kY5Z5ccYl9w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.64.2.tgz", + "integrity": "sha512-i3r04aHCIY3eggTBLUp/4IxiBjDpAgQaK89Ue2nMJ2MKuIXX5JfoeZjHw+kPjGGNVDlhi8FT8xzuGMJZe3aehg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.64.2.tgz", + "integrity": "sha512-kCQ15h/uwNMGdN8gjXBZGf+aGE+ODzHfbi90/cAm4+Q89WoMiLODNoj8HoGZmYx87HPxfu5CBNPsZ+ZG4uIAoA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.64.2.tgz", + "integrity": "sha512-yYAuySSs+0X2gSMJPw/Q4jHsHZHyMq1dpAE+XnN790Jg1WuReUAD/+j+e4vuDvS4PXJ4PA4NCzTR4OYtDf18/g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.64.2.tgz", + "integrity": "sha512-JY1rQdWOJrKutORqKO1uzrHXV86jFiQzfLFKx2s8S1CjLXL9fC5LOIvk0q7Z7PXJvsByt+sdoE1Q2a9gBr4gLQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/bootstrap": { + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.8.tgz", + "integrity": "sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, + "node_modules/bootstrap-icons": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.13.1.tgz", + "integrity": "sha512-ijombt4v6bv5CLeXvRWKy7CuM3TRTuPEuGaGKvTV5cz65rQSY8RQ2JcHt6b90cBBAC7s8fsf2EkQDldzCoXUjw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/chart.js": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.1.tgz", + "integrity": "sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==", + "license": "MIT", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": ">=8" + } + }, + "node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/concurrently": { + "version": "9.2.4", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.2.4.tgz", + "integrity": "sha512-TZ0CEhyzvFjgtAvHTusDMgj7wNdihCh7LLLrzdUOXIhdlnL2JBBGA9eJxR24rtqgmdjh3OA3hrN1rCHj6HM8qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "4.1.2", + "rxjs": "7.8.2", + "shell-quote": "1.9.0", + "supports-color": "8.1.1", + "tree-kill": "1.2.2", + "yargs": "17.7.2" + }, + "bin": { + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.2", + "@esbuild/android-arm": "0.28.2", + "@esbuild/android-arm64": "0.28.2", + "@esbuild/android-x64": "0.28.2", + "@esbuild/darwin-arm64": "0.28.2", + "@esbuild/darwin-x64": "0.28.2", + "@esbuild/freebsd-arm64": "0.28.2", + "@esbuild/freebsd-x64": "0.28.2", + "@esbuild/linux-arm": "0.28.2", + "@esbuild/linux-arm64": "0.28.2", + "@esbuild/linux-ia32": "0.28.2", + "@esbuild/linux-loong64": "0.28.2", + "@esbuild/linux-mips64el": "0.28.2", + "@esbuild/linux-ppc64": "0.28.2", + "@esbuild/linux-riscv64": "0.28.2", + "@esbuild/linux-s390x": "0.28.2", + "@esbuild/linux-x64": "0.28.2", + "@esbuild/netbsd-arm64": "0.28.2", + "@esbuild/netbsd-x64": "0.28.2", + "@esbuild/openbsd-arm64": "0.28.2", + "@esbuild/openbsd-x64": "0.28.2", + "@esbuild/openharmony-arm64": "0.28.2", + "@esbuild/sunos-x64": "0.28.2", + "@esbuild/win32-arm64": "0.28.2", + "@esbuild/win32-ia32": "0.28.2", + "@esbuild/win32-x64": "0.28.2" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/immutable": { + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.9.tgz", + "integrity": "sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.29.tgz", + "integrity": "sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.19", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/readdirp": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.64.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.64.2.tgz", + "integrity": "sha512-RxXm0XVVV1hFI3dYe12ruaOgsYQ725lUcUWeMSQqkF9tTxVErY+fy2Ets6vWhItL9MZMSNZGbvZFc7rH/VHp2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.9" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@napi-rs/lzma-linux-x64-gnu": "1.5.1", + "@rollup/rollup-android-arm-eabi": "4.64.2", + "@rollup/rollup-android-arm64": "4.64.2", + "@rollup/rollup-darwin-arm64": "4.64.2", + "@rollup/rollup-darwin-x64": "4.64.2", + "@rollup/rollup-freebsd-arm64": "4.64.2", + "@rollup/rollup-freebsd-x64": "4.64.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.64.2", + "@rollup/rollup-linux-arm-musleabihf": "4.64.2", + "@rollup/rollup-linux-arm64-gnu": "4.64.2", + "@rollup/rollup-linux-arm64-musl": "4.64.2", + "@rollup/rollup-linux-loong64-gnu": "4.64.2", + "@rollup/rollup-linux-loong64-musl": "4.64.2", + "@rollup/rollup-linux-ppc64-gnu": "4.64.2", + "@rollup/rollup-linux-ppc64-musl": "4.64.2", + "@rollup/rollup-linux-riscv64-gnu": "4.64.2", + "@rollup/rollup-linux-riscv64-musl": "4.64.2", + "@rollup/rollup-linux-s390x-gnu": "4.64.2", + "@rollup/rollup-linux-x64-gnu": "4.64.2", + "@rollup/rollup-linux-x64-musl": "4.64.2", + "@rollup/rollup-openbsd-x64": "4.64.2", + "@rollup/rollup-openharmony-arm64": "4.64.2", + "@rollup/rollup-win32-arm64-msvc": "4.64.2", + "@rollup/rollup-win32-ia32-msvc": "4.64.2", + "@rollup/rollup-win32-x64-gnu": "4.64.2", + "@rollup/rollup-win32-x64-msvc": "4.64.2", + "fsevents": "~2.3.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/sass": { + "version": "1.105.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.105.1.tgz", + "integrity": "sha512-1CnAWPyrrnVQzXGB/DUep1vYCKCm1CIBr+YxjjiW6wk9qtzemnGP4qicH56T2F9S4Hjtv/Ne3jDz8JqfdDU4oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^5.0.0", + "immutable": "^5.1.5", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=20.19.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/shell-quote": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.12.0.tgz", + "integrity": "sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/vite": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz", + "integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.27.0 || ^0.28.0", + "fdir": "^6.5.0", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.43.0", + "tinyglobby": "^0.2.15" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5648615 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "unified-dashboard-showcase", + "private": true, + "type": "module", + "scripts": { + "dev": "node scripts/dev.mjs", + "dev:servers": "concurrently -k -n django,vite -c cyan,green \"npm:dev:django\" \"npm:dev:vite\"", + "dev:django": ".venv/bin/python manage.py runserver 127.0.0.1:8765", + "dev:vite": "vite --host 127.0.0.1", + "build": "vite build" + }, + "dependencies": { + "bootstrap": "^5.3.8", + "bootstrap-icons": "^1.13.1", + "chart.js": "^4.5.0" + }, + "devDependencies": { + "concurrently": "^9.2.1", + "sass": "^1.93.0", + "vite": "^7.1.0" + }, + "overrides": { + "shell-quote": "^1.11.0" + } +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..2b3853c --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Django>=6.1,<6.2 diff --git a/scripts/dev.mjs b/scripts/dev.mjs new file mode 100644 index 0000000..071054e --- /dev/null +++ b/scripts/dev.mjs @@ -0,0 +1,16 @@ +import { createServer } from 'node:net'; +import { spawn } from 'node:child_process'; + +const check = (port) => new Promise((resolve, reject) => { + const server = createServer(); + server.once('error', reject); + server.listen(port, '127.0.0.1', () => server.close(resolve)); +}); + +for (const port of [8765, 5174]) { + try { await check(port); } + catch { console.error(`Port ${port} is in use. Stop that process or choose another port before starting.`); process.exit(1); } +} +const child = spawn('npm', ['run', 'dev:servers'], { stdio: 'inherit', shell: process.platform === 'win32' }); +child.on('exit', code => process.exit(code ?? 0)); +for (const signal of ['SIGINT', 'SIGTERM']) process.on(signal, () => child.kill(signal)); diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..86fdb89 --- /dev/null +++ b/src/main.js @@ -0,0 +1,5 @@ +import './styles.scss'; +import Chart from 'chart.js/auto'; + +window.Chart = Chart; +await import('../core/static/core/main.js'); diff --git a/src/styles.scss b/src/styles.scss new file mode 100644 index 0000000..eaa15b9 --- /dev/null +++ b/src/styles.scss @@ -0,0 +1,11 @@ +$radius-sm: 10px; $radius-md: 16px; $radius-lg: 22px; +:root, [data-theme="light"] { + --page-bg:#f6f7f4; --surface:#fff; --surface-secondary:#f1f4f0; --text:#1d2925; --text-secondary:#56645d; --text-muted:#7c8982; --border:#e3e9e3; --accent:#315d4d; --positive:#2f8364; --warning:#b87328; --negative:#b95151; --chart-grid:#e9eee8; --chart-muted:#96a39a; --focus:#499d7b; --hero:#e9f2e9; --sidebar:#fbfcfa; --shadow:0 7px 30px rgba(35,63,48,.035); --radius-sm:10px; --radius-md:16px; --radius-lg:22px; --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:40px; --card-padding:24px; --icon-size:20px; --duration:180ms; color-scheme:light; +} +@media(prefers-color-scheme:dark){[data-theme="system"]{--page-bg:#121a18;--surface:#1c2723;--surface-secondary:#25332d;--text:#edf3ee;--text-secondary:#b5c4b9;--text-muted:#90a297;--border:#34453a;--accent:#94c9ac;--positive:#76c69d;--warning:#e5ab64;--negative:#ed8a87;--chart-grid:#34463a;--chart-muted:#83998a;--focus:#9dd7b5;--hero:#20382e;--sidebar:#17211d;--shadow:0 12px 35px rgba(0,0,0,.12);color-scheme:dark}} +[data-theme="dark"]{--page-bg:#121a18;--surface:#1c2723;--surface-secondary:#25332d;--text:#edf3ee;--text-secondary:#b5c4b9;--text-muted:#90a297;--border:#34453a;--accent:#94c9ac;--positive:#76c69d;--warning:#e5ab64;--negative:#ed8a87;--chart-grid:#34463a;--chart-muted:#83998a;--focus:#9dd7b5;--hero:#20382e;--sidebar:#17211d;--shadow:0 12px 35px rgba(0,0,0,.12);color-scheme:dark} +*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page-bg);color:var(--text);font:14px/1.55 'DM Sans',sans-serif;transition:background var(--duration),color var(--duration)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.035em;color:var(--text)}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip-link{position:fixed;top:-60px;left:12px;z-index:100;background:var(--surface);padding:12px}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);padding:28px 15px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:2px 14px 43px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.065em;color:var(--text)}.brand:hover{color:var(--text)}.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--accent);color:var(--surface);display:grid;place-items:center;font-size:14px}.brand-light{font-weight:500}.brand small{display:block;font:700 8px/1.8 'DM Sans',sans-serif;letter-spacing:.19em;color:var(--text-muted)}.nav-label{padding:0 15px 12px;font-size:10px;font-weight:700;letter-spacing:.14em;color:var(--text-muted)}.secondary-label{margin-top:35px}.side-nav{display:grid;gap:4px}.side-nav a,.nav-disabled{display:flex;align-items:center;gap:13px;min-height:42px;padding:0 15px;border-radius:10px;font-weight:600;color:var(--text-secondary);transition:background var(--duration),color var(--duration)}.side-nav a:hover{background:var(--surface-secondary);color:var(--text)}.side-nav a[aria-current=page]{background:var(--surface-secondary);color:var(--accent);font-weight:800}.side-nav a[aria-current=page]::after{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto}.side-nav i,.nav-disabled i{font-size:17px;width:18px;text-align:center}.nav-disabled{opacity:.55}.nav-disabled small{font-size:8px;margin-left:auto;border:1px solid var(--border);border-radius:4px;padding:1px 4px}.sidebar-bottom{margin-top:auto;border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;align-items:flex-start;gap:10px;background:var(--surface)}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{color:var(--text-muted);font-size:11px}.demo-dot,.live-dot,.state-dot{display:inline-block;width:7px;height:7px;background:var(--positive);border-radius:50%;flex:none}.sidebar-bottom .demo-dot{margin-top:5px}.main-column{min-width:0}.topbar{height:66px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:var(--surface)}.topbar-path{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--text-muted)}.topbar-path span{padding:0 10px;color:var(--border)}.topbar-path strong{color:var(--text-secondary)}.topbar-actions{display:flex;align-items:center;gap:15px}.demo-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.08em;color:var(--text-secondary)}.theme-select-label{color:var(--text-secondary);font-size:16px}.topbar select{border:0;background:transparent;color:var(--text-secondary);font-size:12px;max-width:85px}.avatar{width:30px;height:30px;border-radius:50%;background:#d8e8da;color:#315d4d;display:grid;place-items:center;font-size:10px;font-weight:800}.page-content{max-width:1550px;margin:auto;padding:35px 40px 80px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--positive)}.eyebrow-line{display:inline-block;width:16px;height:1px;background:var(--positive);vertical-align:middle;margin-right:5px}.page-heading h1{font-size:clamp(30px,3vw,42px);font-weight:800;line-height:1.12;margin:11px 0 8px}.heading-period{color:var(--positive)}.page-heading p{color:var(--text-secondary);margin:0;font-size:13px}.updated{font-size:11px;color:var(--text-muted);white-space:nowrap;padding-bottom:5px}.updated i,.updated .live-dot{margin-right:6px}.hero-panel{min-height:260px;background:var(--hero);border:1px solid var(--border);border-radius:var(--radius-lg);padding:33px 42px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.hero-copy{position:relative;z-index:1;max-width:650px}.hero-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--positive)}.hero-kicker i{font-size:15px;margin-right:5px}.hero-panel h2{font-size:clamp(28px,3vw,39px);line-height:1.2;font-weight:800;margin:18px 0 10px}.hero-panel h2 em{font-style:normal;color:var(--positive)}.hero-panel p{max-width:560px;color:var(--text-secondary);font-size:13px;margin-bottom:21px}.hero-tags{display:flex;flex-wrap:wrap;gap:8px}.hero-tags span{border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:5px 10px;font-size:10px;font-weight:700;color:var(--text-secondary)}.hero-tags i{color:var(--positive);margin-right:5px}.hero-orbit{width:270px;height:230px;position:relative;flex:none;margin:-9px 5px -30px 0}.orbit{position:absolute;border:1px solid rgba(80,145,107,.22);border-radius:50%;inset:0 20px}.orbit.inner{inset:40px 60px}.orbit-center{position:absolute;left:calc(50% - 28px);top:calc(50% - 28px);width:56px;height:56px;background:var(--accent);color:var(--surface);border-radius:16px;display:grid;place-items:center;font-size:24px;box-shadow:0 10px 30px rgba(28,75,48,.18)}.orbit-icon{position:absolute;width:42px;height:42px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border);border-radius:13px;color:var(--positive);font-size:18px;box-shadow:var(--shadow)}.orbit-heart{top:20px;left:55px}.orbit-bolt{right:4px;top:85px}.orbit-house{bottom:12px;left:57px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:32px 0 15px}.section-heading h2{font-size:19px;font-weight:800;margin:5px 0 0}.section-note{font-size:11px;color:var(--text-muted)}.domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.domain-panel,.content-card,.metric-card,.room-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow)}.domain-panel{padding:19px 20px 15px;display:flex;flex-direction:column;min-height:255px}.domain-header,.domain-title,.metric-top,.room-top,.card-heading{display:flex;align-items:center}.domain-header,.room-top,.card-heading{justify-content:space-between}.domain-title{gap:11px}.domain-icon,.icon-box,.card-heading-icon,.room-icon,.control-icon{background:var(--surface-secondary);border-radius:10px;display:grid;place-items:center;color:var(--accent)}.domain-icon{width:35px;height:35px;font-size:16px}.domain-title h3{font-size:14px;font-weight:800;margin:0}.domain-title small{display:block;font-size:10px;color:var(--text-muted)}.domain-header>a{font-size:13px;color:var(--text-muted);padding:5px}.domain-metrics{margin:15px 0 12px;border-top:1px solid var(--border)}.domain-metric{padding:9px 0;display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid var(--border)}.domain-metric>span{font-size:11px;color:var(--text-secondary)}.domain-metric strong{font:800 15px Manrope,sans-serif;white-space:nowrap}.domain-metric small{font-size:10px;color:var(--text-muted)}.domain-link{font-size:10px;font-weight:800;color:var(--accent);margin-top:auto}.domain-link i{margin-left:3px}.below-grid,.dashboard-grid,.showcase-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;margin-top:16px}.content-card{padding:var(--card-padding);min-width:0}.card-heading{align-items:start;gap:12px}.card-heading h2{font-size:19px;font-weight:800;margin:5px 0 4px}.card-heading p{font-size:11px;color:var(--text-muted);margin:0}.card-heading-icon{width:32px;height:32px;flex:none}.timeline{list-style:none;padding:0;margin:20px 0 0}.timeline li{display:grid;grid-template-columns:45px 30px 1fr;gap:9px;align-items:start;position:relative;min-height:47px}.timeline li:not(:last-child):before{content:'';position:absolute;left:68px;top:28px;bottom:-2px;border-left:1px solid var(--border)}.timeline time{font-size:10px;font-weight:700;color:var(--text-muted);padding-top:7px}.timeline-icon{width:25px;height:25px;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;color:var(--accent);font-size:12px;background:var(--surface);z-index:1}.timeline strong,.timeline small{display:block}.timeline strong{font-size:11px;font-weight:700;line-height:1.3;padding-top:4px}.timeline small{font-size:10px;color:var(--text-muted);margin-top:2px}.insight-card{background:var(--hero);position:relative;overflow:hidden}.insight-art{width:56px;height:56px;border-radius:17px;background:var(--surface);display:grid;place-items:center;font-size:27px;color:var(--positive);margin:30px 0 20px}.insight-card h2{font-size:24px;font-weight:800;margin-bottom:10px}.insight-card p{font-size:12px;line-height:1.7;color:var(--text-secondary);max-width:340px}.insight-card p strong{color:var(--text)}.insight-foot{display:block;border-top:1px solid var(--border);margin-top:24px;padding-top:14px;color:var(--text-muted);font-size:10px}.insight-foot i{color:var(--positive);margin-right:5px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.metric-card{padding:18px 19px;min-height:148px;transition:transform var(--duration),border-color var(--duration)}.metric-card:hover{transform:translateY(-2px);border-color:var(--chart-muted)}.metric-top{gap:9px;color:var(--text-secondary)}.icon-box{width:30px;height:30px;font-size:14px}.metric-label{font-size:11px;font-weight:700}.metric-value{font:800 clamp(22px,2.2vw,31px)/1.2 Manrope,sans-serif;letter-spacing:-.045em;margin:14px 0 6px}.metric-unit{font-size:13px;letter-spacing:0;color:var(--text-secondary);margin-left:4px;font-weight:600}.metric-detail{font-size:10px;color:var(--text-muted)}.text-good{color:var(--positive)!important}.text-warning{color:var(--warning)!important}.dashboard-grid{grid-template-columns:1.55fr 1fr;margin-top:16px}.chart-card{min-height:315px}.chart-key{font-size:10px;color:var(--text-muted);white-space:nowrap}.key-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--positive);margin:0 5px 0 12px}.key-line{display:inline-block;width:16px;border-top:2px dashed var(--text-muted);vertical-align:middle;margin:0 5px 3px 12px}.chart-wrap{height:205px;margin-top:22px}.chart-wrap.small-chart{height:150px}.chart-caption{font-size:10px;color:var(--text-muted);margin:10px 0 0}.sleep-card{background:var(--hero)}.sleep-symbol{font-size:28px;color:var(--positive);margin:19px 0 10px}.sleep-card h2{font-size:17px;font-weight:800}.sleep-total{font:800 34px Manrope,sans-serif;letter-spacing:-.05em;margin:11px 0 18px}.sleep-total span{font-size:14px;color:var(--text-muted);letter-spacing:0}.sleep-row{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:8px 0;font-size:11px;color:var(--text-secondary)}.sleep-row strong{color:var(--text)}.workout-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:30px 0}.workout-stats strong,.workout-stats span{display:block}.workout-stats strong{font:800 24px Manrope,sans-serif}.workout-stats small{font-size:12px;color:var(--text-muted)}.workout-stats span{font-size:10px;color:var(--text-muted)}.subtle-note{background:var(--surface-secondary);border-radius:8px;padding:10px;font-size:10px;color:var(--text-secondary)}.subtle-note i{margin-right:5px}.energy-summary{display:flex;justify-content:space-between;gap:25px;background:var(--hero);border:1px solid var(--border);border-radius:var(--radius-lg);padding:25px 30px}.energy-summary h2{font-size:25px;font-weight:800;margin:8px 0}.energy-summary p{color:var(--text-secondary);font-size:12px;margin:0}.energy-summary p strong{color:var(--text)}.price-pill{border-left:1px solid var(--border);padding-left:28px;min-width:220px}.price-pill span,.price-pill em{display:block;font-size:10px;font-style:normal;font-weight:700;color:var(--text-muted)}.price-pill strong{display:block;font:800 26px Manrope,sans-serif;margin:4px 0}.price-pill small{font-size:11px;color:var(--text-muted)}.price-pill em{color:var(--positive)}.energy-chart-card{margin-top:16px}.energy-chart-wrap{height:300px;margin:25px 0 15px}.price-key{border-style:solid;border-color:var(--accent)}.chart-annotations{display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:var(--text-secondary);border-top:1px solid var(--border);padding-top:13px}.chart-annotations i{font-size:7px;margin-right:5px;color:var(--accent)}.finding-card{position:relative;overflow:hidden;min-height:210px}.finding-icon{width:32px;height:32px;background:var(--surface-secondary);color:var(--positive);display:grid;place-items:center;border-radius:10px;margin-bottom:15px}.finding-card h2{font-size:19px;font-weight:800;margin:8px 0}.finding-card p{font-size:11px;color:var(--text-secondary);max-width:430px}.finding-card.attention .finding-icon{color:var(--warning)}.progress-track{height:6px;border-radius:6px;background:var(--surface-secondary);margin-top:20px}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--positive)}.finding-card>small{font-size:10px;color:var(--text-muted)}.room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.room-card{padding:20px}.room-icon{width:34px;height:34px}.room-state{font-size:10px;color:var(--text-muted)}.room-state .state-dot{width:6px;height:6px;margin-right:5px}.room-card h3{font-size:14px;font-weight:800;margin:24px 0 5px}.room-temp{font:800 25px Manrope,sans-serif}.room-card p{font-size:10px;color:var(--text-muted);margin:3px 0 0}.control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.control-card{display:flex;align-items:center;gap:11px;min-height:83px;padding:16px}.control-icon{width:34px;height:34px;flex:none}.control-card>div{min-width:0;flex:1}.control-card h3{font-size:11px;font-weight:800;margin:0}.control-card p{font-size:10px;color:var(--text-muted);margin:2px 0 0}.toggle{border:0;width:37px;height:22px;border-radius:20px;background:var(--chart-muted);padding:3px;flex:none;transition:background var(--duration)}.toggle span{display:block;width:16px;height:16px;background:#fff;border-radius:50%;transition:transform var(--duration)}.toggle[aria-checked=true]{background:var(--positive)}.toggle[aria-checked=true] span{transform:translateX(15px)}.scene-button{border:1px solid var(--border);background:var(--surface-secondary);border-radius:8px;padding:6px 9px;font-size:10px;font-weight:700;color:var(--accent);white-space:nowrap}.scene-button[data-active=true]{background:var(--positive);color:var(--surface)}.showcase-section{margin-top:32px}.showcase-section .showcase-columns{margin-top:0}.type-sample h1{font-size:28px;font-weight:800;margin:13px 0}.type-sample h2{font-size:19px;font-weight:800}.type-sample h3{font-size:14px;font-weight:700}.type-sample p{font-size:12px;color:var(--text-secondary)}.type-sample small{font-size:9px;letter-spacing:.12em;color:var(--text-muted)}.swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:18px}.swatches strong,.swatches small{display:block;font-size:9px}.swatches small{color:var(--text-muted)}.swatch{display:block;height:44px;border-radius:8px;margin-bottom:8px}.swatch-accent{background:var(--accent)}.swatch-good{background:var(--positive)}.swatch-warning{background:var(--warning)}.swatch-danger{background:var(--negative)}.swatch-muted{background:var(--chart-muted)}.button-row,.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.button{border-radius:8px;border:1px solid var(--border);padding:8px 11px;font-size:10px;font-weight:800;background:var(--surface);color:var(--text)}.button.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.button.secondary{background:var(--surface-secondary)}.button.ghost{border-color:transparent}.field-label{display:block;font-size:10px;font-weight:700;margin-bottom:5px}.sample-input{width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px}.status-badge{font-size:9px;font-weight:700;border-radius:6px;padding:4px 7px}.status-badge.good{color:var(--positive);background:var(--surface-secondary)}.status-badge.warning{color:var(--warning);background:var(--surface-secondary)}.status-badge.danger{color:var(--negative);background:var(--surface-secondary)}.status-badge.neutral{color:var(--text-muted);background:var(--surface-secondary)}.showcase-control{padding:15px 0;margin:15px 0;border-bottom:1px solid var(--border)}.edge-grid{grid-template-columns:repeat(4,1fr)}.edge-state{min-height:185px}.edge-icon{width:32px;height:32px;border-radius:9px;background:var(--surface-secondary);display:grid;place-items:center;color:var(--accent);margin-bottom:18px}.edge-icon.warning{color:var(--warning)}.edge-icon.danger{color:var(--negative)}.edge-state h3{font-size:12px;font-weight:800}.edge-state p{font-size:10px;color:var(--text-muted)}.edge-state .button{margin-top:4px}.skeleton{height:7px;border-radius:4px;background:var(--surface-secondary);margin-top:9px}.skeleton.short{width:65%}.mobile-nav{display:none} +@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.page-content{padding:28px 26px 80px}.topbar{padding:0 26px}.hero-orbit{width:200px}.domain-grid,.metric-grid{grid-template-columns:repeat(2,1fr)}.control-grid{grid-template-columns:repeat(2,1fr)}.domain-grid .domain-panel:last-child{grid-column:span 2}.edge-grid{grid-template-columns:repeat(2,1fr)}} +@media(max-width:760px){.app-shell{display:block}.sidebar{display:none}.topbar{height:56px;padding:0 17px}.topbar-path{font-size:9px}.demo-chip{display:none}.page-content{padding:22px 16px 100px}.page-heading{align-items:start}.page-heading h1{font-size:32px}.updated{display:none}.hero-panel{padding:25px;min-height:auto}.hero-panel h2{font-size:29px}.hero-orbit{display:none}.domain-grid,.room-grid{grid-template-columns:1fr}.domain-grid .domain-panel:last-child{grid-column:auto}.domain-panel{min-height:auto}.below-grid,.dashboard-grid,.showcase-columns{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.control-grid{grid-template-columns:1fr}.energy-summary{display:block}.price-pill{border-left:0;border-top:1px solid var(--border);padding:15px 0 0;margin-top:17px;min-width:0}.section-note{display:none}.mobile-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);height:67px;padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box;background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -6px 22px rgba(0,0,0,.04)}.mobile-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:9px;font-weight:700;color:var(--text-muted);min-height:58px}.mobile-nav a i{font-size:19px}.mobile-nav a[aria-current=page]{color:var(--accent)}.mobile-nav a[aria-current=page] span{border-bottom:2px solid var(--accent)}.energy-chart-wrap{height:270px}.chart-key{display:none}} +@media(max-width:480px){.metric-grid{gap:9px}.metric-card{padding:14px;min-height:136px}.metric-label{font-size:10px}.metric-value{font-size:23px}.metric-unit{font-size:11px}.hero-tags{gap:6px}.hero-tags span{font-size:9px}.room-grid{gap:10px}.showcase-columns.edge-grid{grid-template-columns:1fr 1fr}.edge-state{padding:15px}.swatches{grid-template-columns:repeat(3,1fr)}.topbar-actions{gap:7px}.chart-annotations{gap:6px 12px}} +@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}} diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..ef3d7be --- /dev/null +++ b/vite.config.js @@ -0,0 +1,12 @@ +import { defineConfig } from 'vite'; + +export default defineConfig({ + base: '/static/', + build: { + outDir: 'dist', + emptyOutDir: true, + manifest: true, + rollupOptions: { input: 'src/main.js' }, + }, + server: { port: 5174, strictPort: true, cors: true }, +});