Spaces:
Sleeping
Sleeping
Upload Files
Browse files- Dockerfile +42 -0
- backend/__init__.py +1 -0
- backend/config.py +81 -0
- backend/main.py +109 -0
- backend/requirements.txt +24 -0
- backend/routers/__init__.py +1 -0
- backend/routers/predictions.py +194 -0
- backend/services/model_service.py +233 -0
- backend/services/riot_service.py +523 -0
- frontend/.gitignore +24 -0
- frontend/eslint.config.js +21 -0
- frontend/index.html +13 -0
- frontend/package-lock.json +2458 -0
- frontend/package.json +27 -0
- frontend/src/App.css +820 -0
- frontend/src/App.jsx +526 -0
- frontend/src/index.css +199 -0
- frontend/src/main.jsx +10 -0
- frontend/vite.config.js +7 -0
- models/logistic_regression.pkl +3 -0
- models/lstm.pt +3 -0
- models/scaler_lr.pkl +3 -0
- models/xgboost.pkl +3 -0
Dockerfile
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ─────────────────────────────────────────────
|
| 2 |
+
# Stage 1: Build React frontend
|
| 3 |
+
# ─────────────────────────────────────────────
|
| 4 |
+
FROM node:20-alpine AS frontend-builder
|
| 5 |
+
|
| 6 |
+
WORKDIR /app/frontend
|
| 7 |
+
|
| 8 |
+
# Install dependencies first (layer cache)
|
| 9 |
+
COPY frontend/package.json frontend/package-lock.json* ./
|
| 10 |
+
RUN npm ci
|
| 11 |
+
|
| 12 |
+
# Copy source and build
|
| 13 |
+
COPY frontend/ .
|
| 14 |
+
RUN npm run build
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# ─────────────────────────────────────────────
|
| 18 |
+
# Stage 2: Python backend (production image)
|
| 19 |
+
# ─────────────────────────────────────────────
|
| 20 |
+
FROM python:3.11-slim
|
| 21 |
+
|
| 22 |
+
WORKDIR /app
|
| 23 |
+
|
| 24 |
+
# Install Python dependencies
|
| 25 |
+
COPY backend/requirements.txt ./requirements.txt
|
| 26 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
+
|
| 28 |
+
# Copy backend and shared source
|
| 29 |
+
COPY backend/ ./backend/
|
| 30 |
+
COPY models/ ./models/
|
| 31 |
+
|
| 32 |
+
# Copy compiled React app from Stage 1
|
| 33 |
+
COPY --from=frontend-builder /app/frontend/dist ./frontend/dist
|
| 34 |
+
|
| 35 |
+
# HF Spaces requires non-root user with uid 1000
|
| 36 |
+
RUN useradd -m -u 1000 appuser
|
| 37 |
+
USER appuser
|
| 38 |
+
|
| 39 |
+
# HF Spaces requires port 7860
|
| 40 |
+
EXPOSE 7860
|
| 41 |
+
|
| 42 |
+
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
backend/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# hace que backend/ sea un paquete Python
|
backend/config.py
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
backend/config.py
|
| 3 |
+
─────────────────────────────────────────────
|
| 4 |
+
Configuración centralizada del backend.
|
| 5 |
+
Variables de entorno, paths y constantes.
|
| 6 |
+
─────────────────────────────────────────────
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
import os
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
# ─────────────────────────────────────────────
|
| 13 |
+
# Paths
|
| 14 |
+
# ─────────────────────────────────────────────
|
| 15 |
+
PROJECT_ROOT = Path(__file__).parent.parent
|
| 16 |
+
MODELS_DIR = PROJECT_ROOT / "models"
|
| 17 |
+
|
| 18 |
+
# Model files
|
| 19 |
+
XGBOOST_MODEL_PATH = MODELS_DIR / "xgboost.pkl"
|
| 20 |
+
LSTM_MODEL_PATH = MODELS_DIR / "lstm.pt"
|
| 21 |
+
LOGREG_MODEL_PATH = MODELS_DIR / "logistic_regression.pkl"
|
| 22 |
+
SCALER_PATH = MODELS_DIR / "scaler_lr.pkl"
|
| 23 |
+
|
| 24 |
+
# ─────────────────────────────────────────────
|
| 25 |
+
# Riot API
|
| 26 |
+
# ─────────────────────────────────────────────
|
| 27 |
+
|
| 28 |
+
RIOT_API_KEY: str = os.environ.get("HF_SECRET")
|
| 29 |
+
|
| 30 |
+
if not RIOT_API_KEY:
|
| 31 |
+
raise ValueError("HF_SECRET no está configurado en el entorno")
|
| 32 |
+
|
| 33 |
+
# Riot API routing
|
| 34 |
+
RIOT_REGION = "americas" # Regional routing for Match-V5
|
| 35 |
+
RIOT_PLATFORM = "na1" # Platform routing
|
| 36 |
+
RIOT_BASE_URL = f"https://{RIOT_REGION}.api.riotgames.com"
|
| 37 |
+
RIOT_PLATFORM_URL = f"https://{RIOT_PLATFORM}.api.riotgames.com"
|
| 38 |
+
|
| 39 |
+
# ─────────────────────────────────────────────
|
| 40 |
+
# Model constants (must match training)
|
| 41 |
+
# ─────────────────────────────────────────────
|
| 42 |
+
LSTM_HIDDEN_DIM = 64
|
| 43 |
+
LSTM_DROPOUT = 0.3
|
| 44 |
+
LSTM_MAX_SEQ_LEN = 20
|
| 45 |
+
SEED = 42
|
| 46 |
+
|
| 47 |
+
# ─────────────────────────────────────────────
|
| 48 |
+
# Feature columns (80 features, exact order from training)
|
| 49 |
+
# Excludes: match_id, blue_win
|
| 50 |
+
# ─────────────────────────────────────────────
|
| 51 |
+
FEATURE_COLUMNS = [
|
| 52 |
+
"minute",
|
| 53 |
+
"blue_totalGold", "red_totalGold", "goldDiff",
|
| 54 |
+
"blue_totalXP", "red_totalXP", "xpDiff",
|
| 55 |
+
"blue_totalLevel", "red_totalLevel", "levelDiff",
|
| 56 |
+
"blue_totalMinions", "red_totalMinions", "minionsDiff",
|
| 57 |
+
"blue_totalDmgChamp", "red_totalDmgChamp", "dmgChampDiff",
|
| 58 |
+
"blue_totalDmgTaken", "red_totalDmgTaken", "dmgTakenDiff",
|
| 59 |
+
"blue_kills", "red_kills", "killsDiff",
|
| 60 |
+
"blue_assists", "red_assists", "assistsDiff",
|
| 61 |
+
"blue_wardsPlaced", "red_wardsPlaced", "wardsPlacedDiff",
|
| 62 |
+
"blue_wardsKilled", "red_wardsKilled", "wardsKilledDiff",
|
| 63 |
+
"blue_dragons", "red_dragons", "dragonsDiff",
|
| 64 |
+
"blue_barons", "red_barons", "baronsDiff",
|
| 65 |
+
"blue_towers", "red_towers", "towersDiff",
|
| 66 |
+
"blue_inhibitors", "red_inhibitors", "inhibitorsDiff",
|
| 67 |
+
"blue_heralds", "red_heralds", "heraldsDiff",
|
| 68 |
+
"blue_grubs", "red_grubs", "grubsDiff",
|
| 69 |
+
"first_blood", "first_tower", "first_dragon", "first_baron",
|
| 70 |
+
"blue_baron_active", "red_baron_active",
|
| 71 |
+
"blue_goldPerMin", "red_goldPerMin", "blue_killsPerMin",
|
| 72 |
+
"gold_ratio", "xp_ratio",
|
| 73 |
+
"blue_kda", "red_kda",
|
| 74 |
+
"goldDiff_3min_delta", "xpDiff_3min_delta", "killsDiff_3min_delta",
|
| 75 |
+
"blue_dragons_weighted", "red_dragons_weighted",
|
| 76 |
+
"blue_gold_share",
|
| 77 |
+
"blue_dmg_efficiency", "red_dmg_efficiency", "dmg_efficiency_diff",
|
| 78 |
+
"blue_obj_conversion", "red_obj_conversion", "obj_conversion_diff",
|
| 79 |
+
"blue_vision_density", "red_vision_density", "vision_density_diff",
|
| 80 |
+
"blue_teamwork_score", "red_teamwork_score", "teamwork_diff",
|
| 81 |
+
]
|
backend/main.py
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
backend/main.py
|
| 3 |
+
─────────────────────────────────────────────
|
| 4 |
+
FastAPI application — Rift Breakdown Backend
|
| 5 |
+
|
| 6 |
+
Carga los 3 modelos ML al startup y expone endpoints
|
| 7 |
+
para predicción de win probability minuto-a-minuto.
|
| 8 |
+
─────────────────────────────────────────────
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import logging
|
| 12 |
+
import os
|
| 13 |
+
from contextlib import asynccontextmanager
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
from fastapi import FastAPI
|
| 17 |
+
from fastapi.middleware.cors import CORSMiddleware
|
| 18 |
+
from fastapi.responses import FileResponse
|
| 19 |
+
from fastapi.staticfiles import StaticFiles
|
| 20 |
+
|
| 21 |
+
from backend.routers import predictions
|
| 22 |
+
from backend.services.model_service import model_service
|
| 23 |
+
|
| 24 |
+
# ─────────────────────────────────────────────
|
| 25 |
+
# Logging
|
| 26 |
+
# ─────────────────────────────────────────────
|
| 27 |
+
logging.basicConfig(
|
| 28 |
+
level=logging.INFO,
|
| 29 |
+
format="%(asctime)s | %(name)s | %(levelname)s | %(message)s",
|
| 30 |
+
)
|
| 31 |
+
logger = logging.getLogger(__name__)
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
# ─────────────────────────────────────────────
|
| 35 |
+
# Lifespan (startup / shutdown)
|
| 36 |
+
# ─────────────────────────────────────────────
|
| 37 |
+
@asynccontextmanager
|
| 38 |
+
async def lifespan(app: FastAPI):
|
| 39 |
+
"""Load models once on startup, release on shutdown."""
|
| 40 |
+
logger.info("🚀 Starting Rift Breakdown backend…")
|
| 41 |
+
try:
|
| 42 |
+
model_service.load_models()
|
| 43 |
+
logger.info("✅ All models loaded — server ready.")
|
| 44 |
+
except Exception as e:
|
| 45 |
+
logger.error("❌ Model loading failed: %s", e, exc_info=True)
|
| 46 |
+
# Server starts anyway but /predict will return 503
|
| 47 |
+
yield
|
| 48 |
+
logger.info("🛑 Shutting down Rift Breakdown backend.")
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
# ─────────────────────────────────────────────
|
| 52 |
+
# App
|
| 53 |
+
# ─────────────────────────────────────────────
|
| 54 |
+
app = FastAPI(
|
| 55 |
+
title="Rift Breakdown — LoL Win Probability Predictor",
|
| 56 |
+
version="0.2.0",
|
| 57 |
+
description="Post-match analysis with 3 ML models (XGBoost, LSTM, LogReg)",
|
| 58 |
+
lifespan=lifespan,
|
| 59 |
+
# Docs bajo /api para no colisionar con React SPA
|
| 60 |
+
docs_url="/api/docs",
|
| 61 |
+
redoc_url="/api/redoc",
|
| 62 |
+
openapi_url="/api/openapi.json",
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
# ─────────────────────────────────────────────
|
| 66 |
+
# CORS (Secured for Production)
|
| 67 |
+
# ─────────────────────────────────────────────
|
| 68 |
+
allowed_origins_env = os.environ.get(
|
| 69 |
+
"ALLOWED_ORIGINS",
|
| 70 |
+
"http://localhost:5173,http://127.0.0.1:5173,http://localhost:3000,https://huggingface.co"
|
| 71 |
+
)
|
| 72 |
+
origins = [origin.strip() for origin in allowed_origins_env.split(",") if origin.strip()]
|
| 73 |
+
|
| 74 |
+
app.add_middleware(
|
| 75 |
+
CORSMiddleware,
|
| 76 |
+
allow_origins=origins,
|
| 77 |
+
allow_credentials=True,
|
| 78 |
+
allow_methods=["GET", "POST", "OPTIONS"],
|
| 79 |
+
allow_headers=["Content-Type", "Authorization", "Accept"],
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
# ─────────────────────────────────────────────
|
| 83 |
+
# Routers
|
| 84 |
+
# ─────────────────────────────────────────────
|
| 85 |
+
app.include_router(predictions.router, prefix="/api/v1", tags=["predictions"])
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
# ─────────────────────────────────────────────
|
| 89 |
+
# Health check
|
| 90 |
+
# ─────────────────────────────────────────────
|
| 91 |
+
@app.get("/api/health", tags=["health"])
|
| 92 |
+
def health_check():
|
| 93 |
+
return {
|
| 94 |
+
"status": "ok",
|
| 95 |
+
"version": "0.2.0",
|
| 96 |
+
"models_loaded": model_service.is_loaded,
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
DIST = Path(__file__).parent.parent / "frontend" / "dist"
|
| 101 |
+
|
| 102 |
+
if DIST.exists():
|
| 103 |
+
# Archivos estáticos (JS, CSS, imágenes)
|
| 104 |
+
app.mount("/assets", StaticFiles(directory=DIST / "assets"), name="assets")
|
| 105 |
+
|
| 106 |
+
@app.get("/{full_path:path}", include_in_schema=False)
|
| 107 |
+
def serve_spa(full_path: str):
|
| 108 |
+
"""Catch-all: cualquier ruta no-API sirve el index.html de React."""
|
| 109 |
+
return FileResponse(DIST / "index.html")
|
backend/requirements.txt
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ─────────────────────────────────────────────
|
| 2 |
+
# backend/requirements.txt
|
| 3 |
+
# Solo inferencia — el entrenamiento se hace en Colab.
|
| 4 |
+
# ─────────────────────────────────────────────
|
| 5 |
+
|
| 6 |
+
# Web server
|
| 7 |
+
fastapi==0.115.0
|
| 8 |
+
uvicorn[standard]==0.30.6
|
| 9 |
+
|
| 10 |
+
# Data
|
| 11 |
+
numpy==1.26.4
|
| 12 |
+
pandas==2.2.2
|
| 13 |
+
|
| 14 |
+
# ML — solo carga de modelos serializados
|
| 15 |
+
scikit-learn==1.5.2
|
| 16 |
+
xgboost==2.1.1
|
| 17 |
+
joblib==1.4.2
|
| 18 |
+
|
| 19 |
+
# Deep Learning — CPU only (no GPU en HF Spaces gratuito)
|
| 20 |
+
# Ahorra ~1.5 GB vs versión CUDA
|
| 21 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 22 |
+
torch==2.4.0+cpu
|
| 23 |
+
requests
|
| 24 |
+
pydantic
|
backend/routers/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# hace que routers/ sea un paquete Python
|
backend/routers/predictions.py
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
backend/routers/predictions.py
|
| 3 |
+
─────────────────────────────────────────────
|
| 4 |
+
Endpoints para predicción de win probability.
|
| 5 |
+
|
| 6 |
+
POST /api/v1/predict/{match_id} → Predicciones minuto-a-minuto
|
| 7 |
+
GET /api/v1/match/{match_id}/events → Eventos del timeline
|
| 8 |
+
GET /api/v1/health/models → Estado de carga de modelos
|
| 9 |
+
─────────────────────────────────────────────
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from __future__ import annotations
|
| 13 |
+
|
| 14 |
+
import logging
|
| 15 |
+
from typing import Any, Dict, List, Optional
|
| 16 |
+
|
| 17 |
+
from fastapi import APIRouter, HTTPException
|
| 18 |
+
|
| 19 |
+
from backend.config import FEATURE_COLUMNS
|
| 20 |
+
from backend.services.model_service import model_service
|
| 21 |
+
from backend.services.riot_service import (
|
| 22 |
+
RiotAPIError,
|
| 23 |
+
extract_events,
|
| 24 |
+
fetch_match_data,
|
| 25 |
+
fetch_match_timeline,
|
| 26 |
+
parse_timeline_to_features,
|
| 27 |
+
validate_match_id,
|
| 28 |
+
)
|
| 29 |
+
|
| 30 |
+
logger = logging.getLogger(__name__)
|
| 31 |
+
router = APIRouter()
|
| 32 |
+
|
| 33 |
+
from pydantic import BaseModel
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class PredictionResponse(BaseModel):
|
| 37 |
+
match_id: str
|
| 38 |
+
blue_win: Optional[int] = None
|
| 39 |
+
minutes: List[int]
|
| 40 |
+
predictions: Dict[str, List[float]]
|
| 41 |
+
events: List[Dict[str, Any]]
|
| 42 |
+
metadata: Dict[str, Any]
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class EventsResponse(BaseModel):
|
| 46 |
+
match_id: str
|
| 47 |
+
events: List[Dict[str, Any]]
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
class ModelsStatusResponse(BaseModel):
|
| 51 |
+
loaded: bool
|
| 52 |
+
models: List[str]
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# ─────────────────────────────────────────────
|
| 56 |
+
# Endpoints
|
| 57 |
+
# ─────────────────────────────────────────────
|
| 58 |
+
|
| 59 |
+
@router.post(
|
| 60 |
+
"/predict/{match_id}",
|
| 61 |
+
response_model=PredictionResponse,
|
| 62 |
+
summary="Predict win probability minute-by-minute",
|
| 63 |
+
)
|
| 64 |
+
async def predict_match(match_id: str):
|
| 65 |
+
"""
|
| 66 |
+
Recibe un match_id (ej: NA1_1234567890), descarga los datos
|
| 67 |
+
de la Riot API, parsea el timeline a features tabulares, y
|
| 68 |
+
retorna las predicciones de los 3 modelos minuto-a-minuto.
|
| 69 |
+
"""
|
| 70 |
+
# 1. Validate match_id format
|
| 71 |
+
if not validate_match_id(match_id):
|
| 72 |
+
raise HTTPException(
|
| 73 |
+
status_code=400,
|
| 74 |
+
detail=f"Invalid match_id format: '{match_id}'. Expected format: NA1_1234567890",
|
| 75 |
+
)
|
| 76 |
+
|
| 77 |
+
# 2. Check models are loaded
|
| 78 |
+
if not model_service.is_loaded:
|
| 79 |
+
raise HTTPException(
|
| 80 |
+
status_code=503,
|
| 81 |
+
detail="Models not loaded yet. Please wait for server initialization.",
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
# 3. Fetch data from Riot API
|
| 85 |
+
try:
|
| 86 |
+
match_data = fetch_match_data(match_id)
|
| 87 |
+
timeline_data = fetch_match_timeline(match_id)
|
| 88 |
+
except RiotAPIError as e:
|
| 89 |
+
if e.status_code == 403:
|
| 90 |
+
raise HTTPException(
|
| 91 |
+
status_code=403,
|
| 92 |
+
detail="Riot API key is invalid or expired. Check HF_SECRET / RIOT_API_KEY.",
|
| 93 |
+
)
|
| 94 |
+
elif e.status_code == 404:
|
| 95 |
+
raise HTTPException(
|
| 96 |
+
status_code=404,
|
| 97 |
+
detail=f"Match not found: {match_id}",
|
| 98 |
+
)
|
| 99 |
+
elif e.status_code == 429:
|
| 100 |
+
raise HTTPException(
|
| 101 |
+
status_code=429,
|
| 102 |
+
detail="Riot API rate limit exceeded. Please wait and try again.",
|
| 103 |
+
)
|
| 104 |
+
else:
|
| 105 |
+
raise HTTPException(
|
| 106 |
+
status_code=502,
|
| 107 |
+
detail=f"Riot API returned error {e.status_code}: {e.message}",
|
| 108 |
+
)
|
| 109 |
+
|
| 110 |
+
# 4. Parse timeline → features
|
| 111 |
+
try:
|
| 112 |
+
features_df = parse_timeline_to_features(match_data, timeline_data)
|
| 113 |
+
except Exception as e:
|
| 114 |
+
logger.error("Feature parsing failed for %s: %s", match_id, e, exc_info=True)
|
| 115 |
+
raise HTTPException(
|
| 116 |
+
status_code=500,
|
| 117 |
+
detail=f"Failed to parse match data: {str(e)}",
|
| 118 |
+
)
|
| 119 |
+
|
| 120 |
+
if features_df.empty:
|
| 121 |
+
raise HTTPException(
|
| 122 |
+
status_code=422,
|
| 123 |
+
detail=f"No timeline data available for match {match_id}",
|
| 124 |
+
)
|
| 125 |
+
|
| 126 |
+
# 5. Run predictions
|
| 127 |
+
try:
|
| 128 |
+
predictions = model_service.predict(features_df)
|
| 129 |
+
except Exception as e:
|
| 130 |
+
logger.error("Prediction failed for %s: %s", match_id, e, exc_info=True)
|
| 131 |
+
raise HTTPException(
|
| 132 |
+
status_code=500,
|
| 133 |
+
detail=f"Model prediction failed: {str(e)}",
|
| 134 |
+
)
|
| 135 |
+
|
| 136 |
+
# 6. Extract events for frontend timeline
|
| 137 |
+
events = extract_events(timeline_data)
|
| 138 |
+
|
| 139 |
+
# 7. Build response
|
| 140 |
+
# blue_win comes from match_data directly — it is never stored as a column in features_df
|
| 141 |
+
blue_win = 1 if match_data["info"]["participants"][0]["win"] else 0
|
| 142 |
+
|
| 143 |
+
return PredictionResponse(
|
| 144 |
+
match_id=match_id,
|
| 145 |
+
blue_win=blue_win,
|
| 146 |
+
minutes=features_df["minute"].tolist(),
|
| 147 |
+
predictions=predictions,
|
| 148 |
+
events=events,
|
| 149 |
+
metadata={
|
| 150 |
+
"total_minutes": len(features_df),
|
| 151 |
+
"n_features": len(FEATURE_COLUMNS),
|
| 152 |
+
"models_used": ["xgboost", "lstm", "logreg"],
|
| 153 |
+
},
|
| 154 |
+
)
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
@router.get(
|
| 158 |
+
"/match/{match_id}/events",
|
| 159 |
+
response_model=EventsResponse,
|
| 160 |
+
summary="Get match events for timeline",
|
| 161 |
+
)
|
| 162 |
+
async def get_match_events(match_id: str):
|
| 163 |
+
"""
|
| 164 |
+
Retorna solo los eventos del timeline (kills, objectives,
|
| 165 |
+
structures, captures) para el feed del frontend.
|
| 166 |
+
"""
|
| 167 |
+
if not validate_match_id(match_id):
|
| 168 |
+
raise HTTPException(
|
| 169 |
+
status_code=400,
|
| 170 |
+
detail=f"Invalid match_id format: '{match_id}'.",
|
| 171 |
+
)
|
| 172 |
+
|
| 173 |
+
try:
|
| 174 |
+
timeline_data = fetch_match_timeline(match_id)
|
| 175 |
+
except RiotAPIError as e:
|
| 176 |
+
if e.status_code == 404:
|
| 177 |
+
raise HTTPException(status_code=404, detail=f"Match not found: {match_id}")
|
| 178 |
+
raise HTTPException(status_code=502, detail=f"Riot API error: {e.message}")
|
| 179 |
+
|
| 180 |
+
events = extract_events(timeline_data)
|
| 181 |
+
return EventsResponse(match_id=match_id, events=events)
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
@router.get(
|
| 185 |
+
"/models/status",
|
| 186 |
+
response_model=ModelsStatusResponse,
|
| 187 |
+
summary="Check model loading status",
|
| 188 |
+
)
|
| 189 |
+
async def models_status():
|
| 190 |
+
"""Estado de carga de los modelos ML."""
|
| 191 |
+
return ModelsStatusResponse(
|
| 192 |
+
loaded=model_service.is_loaded,
|
| 193 |
+
models=["xgboost", "lstm", "logreg"],
|
| 194 |
+
)
|
backend/services/model_service.py
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
backend/services/model_service.py
|
| 3 |
+
─────────────────────────────────────────────
|
| 4 |
+
Carga, gestión e inferencia de los 3 modelos finales:
|
| 5 |
+
1. XGBoost (Optuna, EXP-C) – tabular, fast
|
| 6 |
+
2. LSTM + Self-Attention (EXP-E) – sequential, best AUC
|
| 7 |
+
3. Logistic Regression – calibrated baseline
|
| 8 |
+
|
| 9 |
+
Diseñado para carga única al startup de FastAPI.
|
| 10 |
+
─────────────────────────────────────────────
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from __future__ import annotations
|
| 14 |
+
|
| 15 |
+
import logging
|
| 16 |
+
from typing import Dict, List, Optional
|
| 17 |
+
|
| 18 |
+
import joblib
|
| 19 |
+
import numpy as np
|
| 20 |
+
import pandas as pd
|
| 21 |
+
import torch
|
| 22 |
+
import torch.nn as nn
|
| 23 |
+
|
| 24 |
+
from backend.config import (
|
| 25 |
+
FEATURE_COLUMNS,
|
| 26 |
+
LOGREG_MODEL_PATH,
|
| 27 |
+
LSTM_DROPOUT,
|
| 28 |
+
LSTM_HIDDEN_DIM,
|
| 29 |
+
LSTM_MAX_SEQ_LEN,
|
| 30 |
+
LSTM_MODEL_PATH,
|
| 31 |
+
SCALER_PATH,
|
| 32 |
+
XGBOOST_MODEL_PATH,
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
+
logger = logging.getLogger(__name__)
|
| 36 |
+
|
| 37 |
+
# ─────────────────────────────────────────────
|
| 38 |
+
# LSTM Architecture (must match training exactly)
|
| 39 |
+
# ─────────────────────────────────────────────
|
| 40 |
+
|
| 41 |
+
class LSTMWithAttention(nn.Module):
|
| 42 |
+
"""LSTM + Self-Attention para predicción de win probability.
|
| 43 |
+
|
| 44 |
+
Replica exacta de la arquitectura entrenada en notebook 08 (EXP-E).
|
| 45 |
+
"""
|
| 46 |
+
|
| 47 |
+
def __init__(self, input_dim: int, hidden_dim: int, dropout: float = 0.3):
|
| 48 |
+
super().__init__()
|
| 49 |
+
self.lstm = nn.LSTM(input_dim, hidden_dim, batch_first=True)
|
| 50 |
+
self.attention = nn.Linear(hidden_dim, 1)
|
| 51 |
+
self.dropout = nn.Dropout(dropout)
|
| 52 |
+
self.fc = nn.Linear(hidden_dim, 1)
|
| 53 |
+
|
| 54 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 55 |
+
out, _ = self.lstm(x) # (B, T, H)
|
| 56 |
+
attn_w = torch.softmax(self.attention(out), dim=1) # (B, T, 1)
|
| 57 |
+
context = (attn_w * out).sum(dim=1) # (B, H)
|
| 58 |
+
return self.fc(self.dropout(context))
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
# ─────────────────────────────────────────────
|
| 62 |
+
# Model Service (Singleton-ish via module state)
|
| 63 |
+
# ─────────────────────────────────────────────
|
| 64 |
+
|
| 65 |
+
class ModelService:
|
| 66 |
+
"""Servicio centralizado de carga e inferencia.
|
| 67 |
+
|
| 68 |
+
Se inicializa una sola vez al arrancar la app y mantiene
|
| 69 |
+
los 3 modelos en memoria para inferencia rápida.
|
| 70 |
+
"""
|
| 71 |
+
|
| 72 |
+
def __init__(self):
|
| 73 |
+
self._xgb_model = None
|
| 74 |
+
self._lstm_model: Optional[LSTMWithAttention] = None
|
| 75 |
+
self._logreg_model = None
|
| 76 |
+
self._scaler = None
|
| 77 |
+
self._device = "cpu" # No GPU en HF Spaces gratuito
|
| 78 |
+
self._loaded = False
|
| 79 |
+
|
| 80 |
+
@property
|
| 81 |
+
def is_loaded(self) -> bool:
|
| 82 |
+
return self._loaded
|
| 83 |
+
|
| 84 |
+
# ── Load ──────────────────────────────────────────────────
|
| 85 |
+
|
| 86 |
+
def load_models(self) -> None:
|
| 87 |
+
"""Carga los 3 modelos desde disco. Llamar una sola vez."""
|
| 88 |
+
if self._loaded:
|
| 89 |
+
logger.info("Models already loaded — skipping.")
|
| 90 |
+
return
|
| 91 |
+
|
| 92 |
+
logger.info("Loading ML models…")
|
| 93 |
+
|
| 94 |
+
# 1. XGBoost
|
| 95 |
+
try:
|
| 96 |
+
self._xgb_model = joblib.load(XGBOOST_MODEL_PATH)
|
| 97 |
+
logger.info("✅ XGBoost loaded from %s", XGBOOST_MODEL_PATH)
|
| 98 |
+
except Exception as e:
|
| 99 |
+
logger.error("❌ Failed to load XGBoost: %s", e)
|
| 100 |
+
raise
|
| 101 |
+
|
| 102 |
+
# 2. Logistic Regression + Scaler
|
| 103 |
+
try:
|
| 104 |
+
self._logreg_model = joblib.load(LOGREG_MODEL_PATH)
|
| 105 |
+
self._scaler = joblib.load(SCALER_PATH)
|
| 106 |
+
logger.info("✅ LogReg + Scaler loaded")
|
| 107 |
+
except Exception as e:
|
| 108 |
+
logger.error("❌ Failed to load LogReg/Scaler: %s", e)
|
| 109 |
+
raise
|
| 110 |
+
|
| 111 |
+
# 3. LSTM + Self-Attention
|
| 112 |
+
try:
|
| 113 |
+
input_dim = len(FEATURE_COLUMNS)
|
| 114 |
+
self._lstm_model = LSTMWithAttention(
|
| 115 |
+
input_dim=input_dim,
|
| 116 |
+
hidden_dim=LSTM_HIDDEN_DIM,
|
| 117 |
+
dropout=LSTM_DROPOUT,
|
| 118 |
+
)
|
| 119 |
+
checkpoint = torch.load(
|
| 120 |
+
LSTM_MODEL_PATH,
|
| 121 |
+
map_location=self._device,
|
| 122 |
+
weights_only=False,
|
| 123 |
+
)
|
| 124 |
+
# El modelo fue guardado como un diccionario con metadatos
|
| 125 |
+
if "model_state_dict" in checkpoint:
|
| 126 |
+
self._lstm_model.load_state_dict(checkpoint["model_state_dict"])
|
| 127 |
+
else:
|
| 128 |
+
self._lstm_model.load_state_dict(checkpoint)
|
| 129 |
+
self._lstm_model.to(self._device)
|
| 130 |
+
self._lstm_model.eval()
|
| 131 |
+
logger.info("✅ LSTM loaded from %s (device=%s)", LSTM_MODEL_PATH, self._device)
|
| 132 |
+
except Exception as e:
|
| 133 |
+
logger.error("❌ Failed to load LSTM: %s", e)
|
| 134 |
+
raise
|
| 135 |
+
|
| 136 |
+
self._loaded = True
|
| 137 |
+
logger.info("All models loaded successfully.")
|
| 138 |
+
|
| 139 |
+
# ── Predict ───────────────────────────────────────────────
|
| 140 |
+
|
| 141 |
+
def predict(self, features_df: pd.DataFrame) -> Dict[str, List[float]]:
|
| 142 |
+
"""Genera predicciones minuto-a-minuto con los 3 modelos.
|
| 143 |
+
|
| 144 |
+
Args:
|
| 145 |
+
features_df: DataFrame con columnas == FEATURE_COLUMNS.
|
| 146 |
+
Cada fila es un minuto de la partida.
|
| 147 |
+
|
| 148 |
+
Returns:
|
| 149 |
+
Dict con keys "xgboost", "lstm", "logreg", cada uno
|
| 150 |
+
una lista de floats (probabilidad de blue_win por minuto).
|
| 151 |
+
"""
|
| 152 |
+
if not self._loaded:
|
| 153 |
+
raise RuntimeError("Models not loaded. Call load_models() first.")
|
| 154 |
+
|
| 155 |
+
# Validate columns
|
| 156 |
+
missing = set(FEATURE_COLUMNS) - set(features_df.columns)
|
| 157 |
+
if missing:
|
| 158 |
+
raise ValueError(f"Missing features in input: {missing}")
|
| 159 |
+
|
| 160 |
+
# Ensure correct column order
|
| 161 |
+
X = features_df[FEATURE_COLUMNS].astype(np.float32)
|
| 162 |
+
|
| 163 |
+
results: Dict[str, List[float]] = {}
|
| 164 |
+
|
| 165 |
+
# ── XGBoost (tabular, row-by-row) ─────────────────────
|
| 166 |
+
try:
|
| 167 |
+
xgb_probs = self._xgb_model.predict_proba(X)[:, 1]
|
| 168 |
+
results["xgboost"] = xgb_probs.tolist()
|
| 169 |
+
except Exception as e:
|
| 170 |
+
logger.error("XGBoost prediction failed: %s", e)
|
| 171 |
+
results["xgboost"] = []
|
| 172 |
+
|
| 173 |
+
# ── Logistic Regression (scaled, row-by-row) ──────────
|
| 174 |
+
try:
|
| 175 |
+
X_scaled = self._scaler.transform(X)
|
| 176 |
+
logreg_probs = self._logreg_model.predict_proba(X_scaled)[:, 1]
|
| 177 |
+
results["logreg"] = logreg_probs.tolist()
|
| 178 |
+
except Exception as e:
|
| 179 |
+
logger.error("LogReg prediction failed: %s", e)
|
| 180 |
+
results["logreg"] = []
|
| 181 |
+
|
| 182 |
+
# ── LSTM (sequence, padded to MAX_SEQ_LEN) ────────────
|
| 183 |
+
try:
|
| 184 |
+
results["lstm"] = self._predict_lstm(X.values)
|
| 185 |
+
except Exception as e:
|
| 186 |
+
logger.error("LSTM prediction failed: %s", e)
|
| 187 |
+
results["lstm"] = []
|
| 188 |
+
|
| 189 |
+
return results
|
| 190 |
+
|
| 191 |
+
def _predict_lstm(self, X_arr: np.ndarray) -> List[float]:
|
| 192 |
+
"""Inferencia LSTM minuto-a-minuto (acumulativa).
|
| 193 |
+
|
| 194 |
+
Para cada minuto t, construimos la secuencia [0..t] (max 20 min),
|
| 195 |
+
la pasamos por el modelo, y obtenemos P(blue_win) hasta ese punto.
|
| 196 |
+
Esto simula cómo se usaría en producción: la partida avanza y
|
| 197 |
+
el modelo ve la secuencia acumulada.
|
| 198 |
+
"""
|
| 199 |
+
n_minutes = len(X_arr)
|
| 200 |
+
probs: List[float] = []
|
| 201 |
+
|
| 202 |
+
for t in range(n_minutes):
|
| 203 |
+
# Secuencia acumulada hasta minuto t (inclusive)
|
| 204 |
+
seq = X_arr[:t + 1]
|
| 205 |
+
|
| 206 |
+
# Truncar a MAX_SEQ_LEN (tomar los últimos N minutos)
|
| 207 |
+
if len(seq) > LSTM_MAX_SEQ_LEN:
|
| 208 |
+
seq = seq[-LSTM_MAX_SEQ_LEN:]
|
| 209 |
+
|
| 210 |
+
# Post-pad with zeros after real data — matches training exactly
|
| 211 |
+
# (pad_sequences in notebook fills [:l] then leaves zeros at the end)
|
| 212 |
+
seq_len = len(seq)
|
| 213 |
+
if seq_len < LSTM_MAX_SEQ_LEN:
|
| 214 |
+
pad = np.zeros(
|
| 215 |
+
(LSTM_MAX_SEQ_LEN - seq_len, seq.shape[1]),
|
| 216 |
+
dtype=np.float32,
|
| 217 |
+
)
|
| 218 |
+
seq = np.concatenate([seq, pad], axis=0)
|
| 219 |
+
|
| 220 |
+
# (1, MAX_SEQ_LEN, n_features)
|
| 221 |
+
tensor = torch.tensor(seq, dtype=torch.float32).unsqueeze(0).to(self._device)
|
| 222 |
+
|
| 223 |
+
with torch.no_grad():
|
| 224 |
+
logit = self._lstm_model(tensor).squeeze()
|
| 225 |
+
prob = torch.sigmoid(logit).item()
|
| 226 |
+
|
| 227 |
+
probs.append(prob)
|
| 228 |
+
|
| 229 |
+
return probs
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
# ── Module-level singleton ────────────────────────────────────
|
| 233 |
+
model_service = ModelService()
|
backend/services/riot_service.py
ADDED
|
@@ -0,0 +1,523 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
backend/services/riot_service.py
|
| 3 |
+
─────────────────────────────────────────────
|
| 4 |
+
Servicio de comunicación con la Riot API (Match-V5).
|
| 5 |
+
- Descarga match summary + timeline
|
| 6 |
+
- Parsea los datos a features tabulares minuto-a-minuto
|
| 7 |
+
- Retorna el DataFrame listo para inferencia
|
| 8 |
+
|
| 9 |
+
Diseñado para funcionar con API key vía HF_SECRET.
|
| 10 |
+
─────────────────────────────────────────────
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from __future__ import annotations
|
| 14 |
+
|
| 15 |
+
import logging
|
| 16 |
+
from typing import Any, Dict, List, Optional, Tuple
|
| 17 |
+
|
| 18 |
+
import numpy as np
|
| 19 |
+
import pandas as pd
|
| 20 |
+
import requests
|
| 21 |
+
|
| 22 |
+
from backend.config import (
|
| 23 |
+
FEATURE_COLUMNS,
|
| 24 |
+
RIOT_API_KEY,
|
| 25 |
+
RIOT_BASE_URL,
|
| 26 |
+
RIOT_PLATFORM_URL,
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
logger = logging.getLogger(__name__)
|
| 30 |
+
|
| 31 |
+
# ─────────────────────────────────────────────
|
| 32 |
+
# Riot API client
|
| 33 |
+
# ─────────────────────────────────────────────
|
| 34 |
+
|
| 35 |
+
class RiotAPIError(Exception):
|
| 36 |
+
"""Custom exception for Riot API errors."""
|
| 37 |
+
|
| 38 |
+
def __init__(self, status_code: int, message: str):
|
| 39 |
+
self.status_code = status_code
|
| 40 |
+
self.message = message
|
| 41 |
+
super().__init__(f"Riot API error {status_code}: {message}")
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def _riot_headers() -> Dict[str, str]:
|
| 45 |
+
"""Build headers with the API key."""
|
| 46 |
+
return {
|
| 47 |
+
"X-Riot-Token": RIOT_API_KEY,
|
| 48 |
+
"Accept": "application/json",
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def validate_match_id(match_id: str) -> bool:
|
| 53 |
+
"""Validate that match_id has the expected format (e.g., NA1_1234567890)."""
|
| 54 |
+
if not match_id or "_" not in match_id:
|
| 55 |
+
return False
|
| 56 |
+
parts = match_id.split("_", 1)
|
| 57 |
+
return len(parts) == 2 and parts[1].isdigit()
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def fetch_match_data(match_id: str) -> Dict[str, Any]:
|
| 61 |
+
"""Fetch match summary from Riot Match-V5 API.
|
| 62 |
+
|
| 63 |
+
GET /lol/match/v5/matches/{matchId}
|
| 64 |
+
"""
|
| 65 |
+
url = f"{RIOT_BASE_URL}/lol/match/v5/matches/{match_id}"
|
| 66 |
+
logger.info("Fetching match data: %s", url)
|
| 67 |
+
|
| 68 |
+
resp = requests.get(url, headers=_riot_headers(), timeout=15)
|
| 69 |
+
if resp.status_code != 200:
|
| 70 |
+
raise RiotAPIError(resp.status_code, resp.text[:300])
|
| 71 |
+
|
| 72 |
+
return resp.json()
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def fetch_match_timeline(match_id: str) -> Dict[str, Any]:
|
| 76 |
+
"""Fetch match timeline from Riot Match-V5 API.
|
| 77 |
+
|
| 78 |
+
GET /lol/match/v5/matches/{matchId}/timeline
|
| 79 |
+
"""
|
| 80 |
+
url = f"{RIOT_BASE_URL}/lol/match/v5/matches/{match_id}/timeline"
|
| 81 |
+
logger.info("Fetching timeline: %s", url)
|
| 82 |
+
|
| 83 |
+
resp = requests.get(url, headers=_riot_headers(), timeout=15)
|
| 84 |
+
if resp.status_code != 200:
|
| 85 |
+
raise RiotAPIError(resp.status_code, resp.text[:300])
|
| 86 |
+
|
| 87 |
+
return resp.json()
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
# ─────────────────────────────────────────────
|
| 91 |
+
# Timeline → Tabular Feature Parser
|
| 92 |
+
# ─────────────────────────────────────────────
|
| 93 |
+
|
| 94 |
+
def _safe_get(d: dict, *keys, default=0):
|
| 95 |
+
"""Safely traverse nested dicts."""
|
| 96 |
+
for k in keys:
|
| 97 |
+
if isinstance(d, dict):
|
| 98 |
+
d = d.get(k, default)
|
| 99 |
+
else:
|
| 100 |
+
return default
|
| 101 |
+
return d
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
def parse_timeline_to_features(
|
| 105 |
+
match_data: Dict[str, Any],
|
| 106 |
+
timeline_data: Dict[str, Any],
|
| 107 |
+
) -> pd.DataFrame:
|
| 108 |
+
"""Parse Riot timeline JSON into the 80-feature tabular format.
|
| 109 |
+
|
| 110 |
+
This replicates the logic from 02_data_processing_and_eda.ipynb
|
| 111 |
+
and 06_advanced_features.ipynb.
|
| 112 |
+
|
| 113 |
+
Returns a DataFrame with one row per minute, columns == FEATURE_COLUMNS.
|
| 114 |
+
"""
|
| 115 |
+
match_id = match_data["metadata"]["matchId"]
|
| 116 |
+
info = match_data["info"]
|
| 117 |
+
|
| 118 |
+
# Determine blue_win from match summary
|
| 119 |
+
# Participants 0-4 are blue team (teamId=100)
|
| 120 |
+
blue_win = 1 if info["participants"][0]["win"] else 0
|
| 121 |
+
|
| 122 |
+
# Identify blue (1-5) and red (6-10) participant IDs
|
| 123 |
+
blue_pids = list(range(1, 6))
|
| 124 |
+
red_pids = list(range(6, 11))
|
| 125 |
+
|
| 126 |
+
frames = timeline_data["info"]["frames"]
|
| 127 |
+
rows: List[Dict[str, Any]] = []
|
| 128 |
+
|
| 129 |
+
# Track cumulative events
|
| 130 |
+
blue_kills_total = 0
|
| 131 |
+
red_kills_total = 0
|
| 132 |
+
blue_assists_total = 0
|
| 133 |
+
red_assists_total = 0
|
| 134 |
+
blue_dragons = 0
|
| 135 |
+
red_dragons = 0
|
| 136 |
+
blue_barons = 0
|
| 137 |
+
red_barons = 0
|
| 138 |
+
blue_towers = 0
|
| 139 |
+
red_towers = 0
|
| 140 |
+
blue_inhibitors = 0
|
| 141 |
+
red_inhibitors = 0
|
| 142 |
+
blue_heralds = 0
|
| 143 |
+
red_heralds = 0
|
| 144 |
+
blue_grubs = 0
|
| 145 |
+
red_grubs = 0
|
| 146 |
+
blue_wards_placed = 0
|
| 147 |
+
red_wards_placed = 0
|
| 148 |
+
blue_wards_killed = 0
|
| 149 |
+
red_wards_killed = 0
|
| 150 |
+
|
| 151 |
+
# First-event flags
|
| 152 |
+
first_blood_team = 0
|
| 153 |
+
first_tower_team = 0
|
| 154 |
+
first_dragon_team = 0
|
| 155 |
+
first_baron_team = 0
|
| 156 |
+
|
| 157 |
+
# Baron active tracking (last 3 min)
|
| 158 |
+
blue_baron_times: List[int] = []
|
| 159 |
+
red_baron_times: List[int] = []
|
| 160 |
+
|
| 161 |
+
for frame_idx, frame in enumerate(frames):
|
| 162 |
+
minute = frame_idx # frame 0 = minute 0
|
| 163 |
+
|
| 164 |
+
# Process events in this frame
|
| 165 |
+
events = frame.get("events", [])
|
| 166 |
+
for event in events:
|
| 167 |
+
etype = event.get("type", "")
|
| 168 |
+
|
| 169 |
+
if etype == "CHAMPION_KILL":
|
| 170 |
+
killer_id = event.get("killerId", 0)
|
| 171 |
+
if killer_id in blue_pids:
|
| 172 |
+
blue_kills_total += 1
|
| 173 |
+
# Count assists for blue
|
| 174 |
+
assisting = event.get("assistingParticipantIds", [])
|
| 175 |
+
blue_assists_total += len([a for a in assisting if a in blue_pids])
|
| 176 |
+
elif killer_id in red_pids:
|
| 177 |
+
red_kills_total += 1
|
| 178 |
+
assisting = event.get("assistingParticipantIds", [])
|
| 179 |
+
red_assists_total += len([a for a in assisting if a in red_pids])
|
| 180 |
+
|
| 181 |
+
# First blood
|
| 182 |
+
if first_blood_team == 0:
|
| 183 |
+
if killer_id in blue_pids:
|
| 184 |
+
first_blood_team = 1
|
| 185 |
+
elif killer_id in red_pids:
|
| 186 |
+
first_blood_team = 2
|
| 187 |
+
|
| 188 |
+
elif etype == "ELITE_MONSTER_KILL":
|
| 189 |
+
killer_team = event.get("killerTeamId", 0)
|
| 190 |
+
monster = event.get("monsterType", "")
|
| 191 |
+
|
| 192 |
+
if monster == "DRAGON":
|
| 193 |
+
if killer_team == 100:
|
| 194 |
+
blue_dragons += 1
|
| 195 |
+
if first_dragon_team == 0:
|
| 196 |
+
first_dragon_team = 1
|
| 197 |
+
elif killer_team == 200:
|
| 198 |
+
red_dragons += 1
|
| 199 |
+
if first_dragon_team == 0:
|
| 200 |
+
first_dragon_team = 2
|
| 201 |
+
|
| 202 |
+
elif monster == "BARON_NASHOR":
|
| 203 |
+
if killer_team == 100:
|
| 204 |
+
blue_barons += 1
|
| 205 |
+
blue_baron_times.append(minute)
|
| 206 |
+
if first_baron_team == 0:
|
| 207 |
+
first_baron_team = 1
|
| 208 |
+
elif killer_team == 200:
|
| 209 |
+
red_barons += 1
|
| 210 |
+
red_baron_times.append(minute)
|
| 211 |
+
if first_baron_team == 0:
|
| 212 |
+
first_baron_team = 2
|
| 213 |
+
|
| 214 |
+
elif monster == "RIFTHERALD":
|
| 215 |
+
if killer_team == 100:
|
| 216 |
+
blue_heralds += 1
|
| 217 |
+
elif killer_team == 200:
|
| 218 |
+
red_heralds += 1
|
| 219 |
+
|
| 220 |
+
elif monster == "HORDE": # Voidgrubs
|
| 221 |
+
if killer_team == 100:
|
| 222 |
+
blue_grubs += 1
|
| 223 |
+
elif killer_team == 200:
|
| 224 |
+
red_grubs += 1
|
| 225 |
+
|
| 226 |
+
elif etype == "BUILDING_KILL":
|
| 227 |
+
building = event.get("buildingType", "")
|
| 228 |
+
team_id = event.get("teamId", 0) # team that LOST the building
|
| 229 |
+
|
| 230 |
+
if building == "TOWER_BUILDING":
|
| 231 |
+
if team_id == 200: # Red lost → Blue destroyed
|
| 232 |
+
blue_towers += 1
|
| 233 |
+
if first_tower_team == 0:
|
| 234 |
+
first_tower_team = 1
|
| 235 |
+
elif team_id == 100:
|
| 236 |
+
red_towers += 1
|
| 237 |
+
if first_tower_team == 0:
|
| 238 |
+
first_tower_team = 2
|
| 239 |
+
|
| 240 |
+
elif building == "INHIBITOR_BUILDING":
|
| 241 |
+
if team_id == 200:
|
| 242 |
+
blue_inhibitors += 1
|
| 243 |
+
elif team_id == 100:
|
| 244 |
+
red_inhibitors += 1
|
| 245 |
+
|
| 246 |
+
elif etype == "WARD_PLACED":
|
| 247 |
+
creator = event.get("creatorId", 0)
|
| 248 |
+
if creator in blue_pids:
|
| 249 |
+
blue_wards_placed += 1
|
| 250 |
+
elif creator in red_pids:
|
| 251 |
+
red_wards_placed += 1
|
| 252 |
+
|
| 253 |
+
elif etype == "WARD_KILL":
|
| 254 |
+
killer = event.get("killerId", 0)
|
| 255 |
+
if killer in blue_pids:
|
| 256 |
+
blue_wards_killed += 1
|
| 257 |
+
elif killer in red_pids:
|
| 258 |
+
red_wards_killed += 1
|
| 259 |
+
|
| 260 |
+
# ── Participant frame stats ───────────────────────────
|
| 261 |
+
participant_frames = frame.get("participantFrames", {})
|
| 262 |
+
|
| 263 |
+
blue_gold = sum(_safe_get(participant_frames, str(pid), "totalGold") for pid in blue_pids)
|
| 264 |
+
red_gold = sum(_safe_get(participant_frames, str(pid), "totalGold") for pid in red_pids)
|
| 265 |
+
blue_xp = sum(_safe_get(participant_frames, str(pid), "xp") for pid in blue_pids)
|
| 266 |
+
red_xp = sum(_safe_get(participant_frames, str(pid), "xp") for pid in red_pids)
|
| 267 |
+
blue_level = sum(_safe_get(participant_frames, str(pid), "level") for pid in blue_pids)
|
| 268 |
+
red_level = sum(_safe_get(participant_frames, str(pid), "level") for pid in red_pids)
|
| 269 |
+
blue_minions = sum(
|
| 270 |
+
_safe_get(participant_frames, str(pid), "minionsKilled")
|
| 271 |
+
+ _safe_get(participant_frames, str(pid), "jungleMinionsKilled")
|
| 272 |
+
for pid in blue_pids
|
| 273 |
+
)
|
| 274 |
+
red_minions = sum(
|
| 275 |
+
_safe_get(participant_frames, str(pid), "minionsKilled")
|
| 276 |
+
+ _safe_get(participant_frames, str(pid), "jungleMinionsKilled")
|
| 277 |
+
for pid in red_pids
|
| 278 |
+
)
|
| 279 |
+
blue_dmg_champ = sum(
|
| 280 |
+
_safe_get(participant_frames, str(pid), "damageStats", "totalDamageDoneToChampions")
|
| 281 |
+
for pid in blue_pids
|
| 282 |
+
)
|
| 283 |
+
red_dmg_champ = sum(
|
| 284 |
+
_safe_get(participant_frames, str(pid), "damageStats", "totalDamageDoneToChampions")
|
| 285 |
+
for pid in red_pids
|
| 286 |
+
)
|
| 287 |
+
blue_dmg_taken = sum(
|
| 288 |
+
_safe_get(participant_frames, str(pid), "damageStats", "totalDamageTaken")
|
| 289 |
+
for pid in blue_pids
|
| 290 |
+
)
|
| 291 |
+
red_dmg_taken = sum(
|
| 292 |
+
_safe_get(participant_frames, str(pid), "damageStats", "totalDamageTaken")
|
| 293 |
+
for pid in red_pids
|
| 294 |
+
)
|
| 295 |
+
|
| 296 |
+
# Baron active flags (active if baron killed within last 3 min)
|
| 297 |
+
blue_baron_active = 1 if any(t >= minute - 3 and t <= minute for t in blue_baron_times) else 0
|
| 298 |
+
red_baron_active = 1 if any(t >= minute - 3 and t <= minute for t in red_baron_times) else 0
|
| 299 |
+
|
| 300 |
+
# ── Build row with 67 original features ──────────────
|
| 301 |
+
safe_minute = minute + 1 # avoid /0
|
| 302 |
+
|
| 303 |
+
row = {
|
| 304 |
+
"match_id": match_id,
|
| 305 |
+
"minute": minute,
|
| 306 |
+
"blue_win": blue_win,
|
| 307 |
+
"blue_totalGold": blue_gold,
|
| 308 |
+
"red_totalGold": red_gold,
|
| 309 |
+
"goldDiff": blue_gold - red_gold,
|
| 310 |
+
"blue_totalXP": blue_xp,
|
| 311 |
+
"red_totalXP": red_xp,
|
| 312 |
+
"xpDiff": blue_xp - red_xp,
|
| 313 |
+
"blue_totalLevel": blue_level,
|
| 314 |
+
"red_totalLevel": red_level,
|
| 315 |
+
"levelDiff": blue_level - red_level,
|
| 316 |
+
"blue_totalMinions": blue_minions,
|
| 317 |
+
"red_totalMinions": red_minions,
|
| 318 |
+
"minionsDiff": blue_minions - red_minions,
|
| 319 |
+
"blue_totalDmgChamp": blue_dmg_champ,
|
| 320 |
+
"red_totalDmgChamp": red_dmg_champ,
|
| 321 |
+
"dmgChampDiff": blue_dmg_champ - red_dmg_champ,
|
| 322 |
+
"blue_totalDmgTaken": blue_dmg_taken,
|
| 323 |
+
"red_totalDmgTaken": red_dmg_taken,
|
| 324 |
+
"dmgTakenDiff": blue_dmg_taken - red_dmg_taken,
|
| 325 |
+
"blue_kills": blue_kills_total,
|
| 326 |
+
"red_kills": red_kills_total,
|
| 327 |
+
"killsDiff": blue_kills_total - red_kills_total,
|
| 328 |
+
"blue_assists": blue_assists_total,
|
| 329 |
+
"red_assists": red_assists_total,
|
| 330 |
+
"assistsDiff": blue_assists_total - red_assists_total,
|
| 331 |
+
"blue_wardsPlaced": blue_wards_placed,
|
| 332 |
+
"red_wardsPlaced": red_wards_placed,
|
| 333 |
+
"wardsPlacedDiff": blue_wards_placed - red_wards_placed,
|
| 334 |
+
"blue_wardsKilled": blue_wards_killed,
|
| 335 |
+
"red_wardsKilled": red_wards_killed,
|
| 336 |
+
"wardsKilledDiff": blue_wards_killed - red_wards_killed,
|
| 337 |
+
"blue_dragons": blue_dragons,
|
| 338 |
+
"red_dragons": red_dragons,
|
| 339 |
+
"dragonsDiff": blue_dragons - red_dragons,
|
| 340 |
+
"blue_barons": blue_barons,
|
| 341 |
+
"red_barons": red_barons,
|
| 342 |
+
"baronsDiff": blue_barons - red_barons,
|
| 343 |
+
"blue_towers": blue_towers,
|
| 344 |
+
"red_towers": red_towers,
|
| 345 |
+
"towersDiff": blue_towers - red_towers,
|
| 346 |
+
"blue_inhibitors": blue_inhibitors,
|
| 347 |
+
"red_inhibitors": red_inhibitors,
|
| 348 |
+
"inhibitorsDiff": blue_inhibitors - red_inhibitors,
|
| 349 |
+
"blue_heralds": blue_heralds,
|
| 350 |
+
"red_heralds": red_heralds,
|
| 351 |
+
"heraldsDiff": blue_heralds - red_heralds,
|
| 352 |
+
"blue_grubs": blue_grubs,
|
| 353 |
+
"red_grubs": red_grubs,
|
| 354 |
+
"grubsDiff": blue_grubs - red_grubs,
|
| 355 |
+
"first_blood": first_blood_team,
|
| 356 |
+
"first_tower": first_tower_team,
|
| 357 |
+
"first_dragon": first_dragon_team,
|
| 358 |
+
"first_baron": first_baron_team,
|
| 359 |
+
"blue_baron_active": blue_baron_active,
|
| 360 |
+
"red_baron_active": red_baron_active,
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
rows.append(row)
|
| 364 |
+
|
| 365 |
+
# ── Build DataFrame and add engineered features ──────────
|
| 366 |
+
df = pd.DataFrame(rows)
|
| 367 |
+
|
| 368 |
+
if df.empty:
|
| 369 |
+
return df
|
| 370 |
+
|
| 371 |
+
# EDA features (12)
|
| 372 |
+
df["blue_goldPerMin"] = df["blue_totalGold"] / (df["minute"] + 1)
|
| 373 |
+
df["red_goldPerMin"] = df["red_totalGold"] / (df["minute"] + 1)
|
| 374 |
+
df["blue_killsPerMin"] = df["blue_kills"] / (df["minute"] + 1)
|
| 375 |
+
|
| 376 |
+
df["gold_ratio"] = df["blue_totalGold"] / (df["red_totalGold"] + 1)
|
| 377 |
+
df["xp_ratio"] = df["blue_totalXP"] / (df["red_totalXP"] + 1)
|
| 378 |
+
|
| 379 |
+
df["blue_kda"] = (df["blue_kills"] + df["blue_assists"]) / (df["red_kills"] + 1)
|
| 380 |
+
df["red_kda"] = (df["red_kills"] + df["red_assists"]) / (df["blue_kills"] + 1)
|
| 381 |
+
|
| 382 |
+
for col in ["goldDiff", "xpDiff", "killsDiff"]:
|
| 383 |
+
df[f"{col}_3min_delta"] = df[col].diff(periods=3).fillna(0)
|
| 384 |
+
|
| 385 |
+
df["blue_dragons_weighted"] = df["blue_dragons"] * (1 + df["minute"] / 30)
|
| 386 |
+
df["red_dragons_weighted"] = df["red_dragons"] * (1 + df["minute"] / 30)
|
| 387 |
+
|
| 388 |
+
# Grandmaster features (13)
|
| 389 |
+
total_gold = df["blue_totalGold"] + df["red_totalGold"] + 1
|
| 390 |
+
df["blue_gold_share"] = df["blue_totalGold"] / total_gold
|
| 391 |
+
|
| 392 |
+
df["blue_dmg_efficiency"] = df["blue_totalDmgChamp"] / (df["blue_totalGold"] + 1)
|
| 393 |
+
df["red_dmg_efficiency"] = df["red_totalDmgChamp"] / (df["red_totalGold"] + 1)
|
| 394 |
+
df["dmg_efficiency_diff"] = df["blue_dmg_efficiency"] - df["red_dmg_efficiency"]
|
| 395 |
+
|
| 396 |
+
blue_obj = df["blue_towers"] + df["blue_dragons"] + df["blue_barons"] + df["blue_heralds"] + (df["blue_grubs"] / 3)
|
| 397 |
+
red_obj = df["red_towers"] + df["red_dragons"] + df["red_barons"] + df["red_heralds"] + (df["red_grubs"] / 3)
|
| 398 |
+
df["blue_obj_conversion"] = blue_obj / (df["blue_kills"] + 1)
|
| 399 |
+
df["red_obj_conversion"] = red_obj / (df["red_kills"] + 1)
|
| 400 |
+
df["obj_conversion_diff"] = df["blue_obj_conversion"] - df["red_obj_conversion"]
|
| 401 |
+
|
| 402 |
+
df["blue_vision_density"] = df["blue_wardsPlaced"] / (df["minute"] + 1)
|
| 403 |
+
df["red_vision_density"] = df["red_wardsPlaced"] / (df["minute"] + 1)
|
| 404 |
+
df["vision_density_diff"] = df["blue_vision_density"] - df["red_vision_density"]
|
| 405 |
+
|
| 406 |
+
df["blue_teamwork_score"] = df["blue_assists"] / (df["blue_kills"] + 1)
|
| 407 |
+
df["red_teamwork_score"] = df["red_assists"] / (df["red_kills"] + 1)
|
| 408 |
+
df["teamwork_diff"] = df["blue_teamwork_score"] - df["red_teamwork_score"]
|
| 409 |
+
|
| 410 |
+
return df
|
| 411 |
+
|
| 412 |
+
|
| 413 |
+
def extract_events(timeline_data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
| 414 |
+
"""Extract key events from timeline for the frontend feed.
|
| 415 |
+
|
| 416 |
+
Returns a list of event dicts with: minute, type, subtype, description.
|
| 417 |
+
"""
|
| 418 |
+
events_out: List[Dict[str, Any]] = []
|
| 419 |
+
blue_pids = set(range(1, 6))
|
| 420 |
+
red_pids = set(range(6, 11))
|
| 421 |
+
|
| 422 |
+
frames = timeline_data.get("info", {}).get("frames", [])
|
| 423 |
+
|
| 424 |
+
for frame_idx, frame in enumerate(frames):
|
| 425 |
+
minute = frame_idx
|
| 426 |
+
|
| 427 |
+
for event in frame.get("events", []):
|
| 428 |
+
etype = event.get("type", "")
|
| 429 |
+
entry: Optional[Dict[str, Any]] = None
|
| 430 |
+
|
| 431 |
+
if etype == "CHAMPION_KILL":
|
| 432 |
+
# Determine which team gained the advantage from the kill
|
| 433 |
+
killer = event.get("killerId", 0)
|
| 434 |
+
victim = event.get("victimId", 0)
|
| 435 |
+
if killer in blue_pids:
|
| 436 |
+
team = "Blue"
|
| 437 |
+
elif killer in red_pids:
|
| 438 |
+
team = "Red"
|
| 439 |
+
else:
|
| 440 |
+
# If killed by tower/minion, the team opposite to the victim gets the 'credit'
|
| 441 |
+
team = "Red" if victim in blue_pids else "Blue"
|
| 442 |
+
|
| 443 |
+
entry = {
|
| 444 |
+
"minute": minute,
|
| 445 |
+
"clock": f"{minute:02d}:00",
|
| 446 |
+
"type": "kills",
|
| 447 |
+
"subtype": "kill",
|
| 448 |
+
"text": f"champion kill (killer: P{killer}, victim: P{victim})",
|
| 449 |
+
"team": team,
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
elif etype == "ELITE_MONSTER_KILL":
|
| 453 |
+
killer_team = event.get("killerTeamId", 0)
|
| 454 |
+
monster = event.get("monsterType", "")
|
| 455 |
+
monster_sub = event.get("monsterSubType", "")
|
| 456 |
+
team = "Blue" if killer_team == 100 else "Red"
|
| 457 |
+
|
| 458 |
+
if monster == "DRAGON":
|
| 459 |
+
entry = {
|
| 460 |
+
"minute": minute,
|
| 461 |
+
"clock": f"{minute:02d}:00",
|
| 462 |
+
"type": "objectives",
|
| 463 |
+
"subtype": "dragon",
|
| 464 |
+
"text": f"slayed {monster_sub or 'Dragon'}",
|
| 465 |
+
"team": team,
|
| 466 |
+
}
|
| 467 |
+
elif monster == "BARON_NASHOR":
|
| 468 |
+
entry = {
|
| 469 |
+
"minute": minute,
|
| 470 |
+
"clock": f"{minute:02d}:00",
|
| 471 |
+
"type": "objectives",
|
| 472 |
+
"subtype": "baron",
|
| 473 |
+
"text": f"slayed Baron Nashor",
|
| 474 |
+
"team": team,
|
| 475 |
+
}
|
| 476 |
+
elif monster == "RIFTHERALD":
|
| 477 |
+
entry = {
|
| 478 |
+
"minute": minute,
|
| 479 |
+
"clock": f"{minute:02d}:00",
|
| 480 |
+
"type": "objectives",
|
| 481 |
+
"subtype": "herald",
|
| 482 |
+
"text": f"captured Rift Herald",
|
| 483 |
+
"team": team,
|
| 484 |
+
}
|
| 485 |
+
elif monster == "HORDE":
|
| 486 |
+
entry = {
|
| 487 |
+
"minute": minute,
|
| 488 |
+
"clock": f"{minute:02d}:00",
|
| 489 |
+
"type": "objectives",
|
| 490 |
+
"subtype": "grubs",
|
| 491 |
+
"text": f"killed Voidgrubs",
|
| 492 |
+
"team": team,
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
elif etype == "BUILDING_KILL":
|
| 496 |
+
building = event.get("buildingType", "")
|
| 497 |
+
team_id = event.get("teamId", 0) # team that LOST
|
| 498 |
+
team = "Blue" if team_id == 200 else "Red"
|
| 499 |
+
lane = event.get("laneType", "")
|
| 500 |
+
|
| 501 |
+
if building == "TOWER_BUILDING":
|
| 502 |
+
entry = {
|
| 503 |
+
"minute": minute,
|
| 504 |
+
"clock": f"{minute:02d}:00",
|
| 505 |
+
"type": "structures",
|
| 506 |
+
"subtype": "tower",
|
| 507 |
+
"text": f"destroyed {lane} tower",
|
| 508 |
+
"team": team,
|
| 509 |
+
}
|
| 510 |
+
elif building == "INHIBITOR_BUILDING":
|
| 511 |
+
entry = {
|
| 512 |
+
"minute": minute,
|
| 513 |
+
"clock": f"{minute:02d}:00",
|
| 514 |
+
"type": "structures",
|
| 515 |
+
"subtype": "inhibitor",
|
| 516 |
+
"text": f"destroyed {lane} inhibitor",
|
| 517 |
+
"team": team,
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
if entry:
|
| 521 |
+
events_out.append(entry)
|
| 522 |
+
|
| 523 |
+
return events_out
|
frontend/.gitignore
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Logs
|
| 2 |
+
logs
|
| 3 |
+
*.log
|
| 4 |
+
npm-debug.log*
|
| 5 |
+
yarn-debug.log*
|
| 6 |
+
yarn-error.log*
|
| 7 |
+
pnpm-debug.log*
|
| 8 |
+
lerna-debug.log*
|
| 9 |
+
|
| 10 |
+
node_modules
|
| 11 |
+
dist
|
| 12 |
+
dist-ssr
|
| 13 |
+
*.local
|
| 14 |
+
|
| 15 |
+
# Editor directories and files
|
| 16 |
+
.vscode/*
|
| 17 |
+
!.vscode/extensions.json
|
| 18 |
+
.idea
|
| 19 |
+
.DS_Store
|
| 20 |
+
*.suo
|
| 21 |
+
*.ntvs*
|
| 22 |
+
*.njsproj
|
| 23 |
+
*.sln
|
| 24 |
+
*.sw?
|
frontend/eslint.config.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import js from '@eslint/js'
|
| 2 |
+
import globals from 'globals'
|
| 3 |
+
import reactHooks from 'eslint-plugin-react-hooks'
|
| 4 |
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
| 5 |
+
import { defineConfig, globalIgnores } from 'eslint/config'
|
| 6 |
+
|
| 7 |
+
export default defineConfig([
|
| 8 |
+
globalIgnores(['dist']),
|
| 9 |
+
{
|
| 10 |
+
files: ['**/*.{js,jsx}'],
|
| 11 |
+
extends: [
|
| 12 |
+
js.configs.recommended,
|
| 13 |
+
reactHooks.configs.flat.recommended,
|
| 14 |
+
reactRefresh.configs.vite,
|
| 15 |
+
],
|
| 16 |
+
languageOptions: {
|
| 17 |
+
globals: globals.browser,
|
| 18 |
+
parserOptions: { ecmaFeatures: { jsx: true } },
|
| 19 |
+
},
|
| 20 |
+
},
|
| 21 |
+
])
|
frontend/index.html
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
<title>frontend</title>
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div id="root"></div>
|
| 11 |
+
<script type="module" src="/src/main.jsx"></script>
|
| 12 |
+
</body>
|
| 13 |
+
</html>
|
frontend/package-lock.json
ADDED
|
@@ -0,0 +1,2458 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "frontend",
|
| 3 |
+
"version": "0.0.0",
|
| 4 |
+
"lockfileVersion": 3,
|
| 5 |
+
"requires": true,
|
| 6 |
+
"packages": {
|
| 7 |
+
"": {
|
| 8 |
+
"name": "frontend",
|
| 9 |
+
"version": "0.0.0",
|
| 10 |
+
"dependencies": {
|
| 11 |
+
"react": "^19.2.5",
|
| 12 |
+
"react-dom": "^19.2.5"
|
| 13 |
+
},
|
| 14 |
+
"devDependencies": {
|
| 15 |
+
"@eslint/js": "^10.0.1",
|
| 16 |
+
"@types/react": "^19.2.14",
|
| 17 |
+
"@types/react-dom": "^19.2.3",
|
| 18 |
+
"@vitejs/plugin-react": "^6.0.1",
|
| 19 |
+
"eslint": "^10.2.1",
|
| 20 |
+
"eslint-plugin-react-hooks": "^7.1.1",
|
| 21 |
+
"eslint-plugin-react-refresh": "^0.5.2",
|
| 22 |
+
"globals": "^17.5.0",
|
| 23 |
+
"vite": "^8.0.10"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"node_modules/@babel/code-frame": {
|
| 27 |
+
"version": "7.29.0",
|
| 28 |
+
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
|
| 29 |
+
"integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
|
| 30 |
+
"dev": true,
|
| 31 |
+
"license": "MIT",
|
| 32 |
+
"dependencies": {
|
| 33 |
+
"@babel/helper-validator-identifier": "^7.28.5",
|
| 34 |
+
"js-tokens": "^4.0.0",
|
| 35 |
+
"picocolors": "^1.1.1"
|
| 36 |
+
},
|
| 37 |
+
"engines": {
|
| 38 |
+
"node": ">=6.9.0"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"node_modules/@babel/compat-data": {
|
| 42 |
+
"version": "7.29.0",
|
| 43 |
+
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
|
| 44 |
+
"integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
|
| 45 |
+
"dev": true,
|
| 46 |
+
"license": "MIT",
|
| 47 |
+
"engines": {
|
| 48 |
+
"node": ">=6.9.0"
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"node_modules/@babel/core": {
|
| 52 |
+
"version": "7.29.0",
|
| 53 |
+
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
|
| 54 |
+
"integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
|
| 55 |
+
"dev": true,
|
| 56 |
+
"license": "MIT",
|
| 57 |
+
"dependencies": {
|
| 58 |
+
"@babel/code-frame": "^7.29.0",
|
| 59 |
+
"@babel/generator": "^7.29.0",
|
| 60 |
+
"@babel/helper-compilation-targets": "^7.28.6",
|
| 61 |
+
"@babel/helper-module-transforms": "^7.28.6",
|
| 62 |
+
"@babel/helpers": "^7.28.6",
|
| 63 |
+
"@babel/parser": "^7.29.0",
|
| 64 |
+
"@babel/template": "^7.28.6",
|
| 65 |
+
"@babel/traverse": "^7.29.0",
|
| 66 |
+
"@babel/types": "^7.29.0",
|
| 67 |
+
"@jridgewell/remapping": "^2.3.5",
|
| 68 |
+
"convert-source-map": "^2.0.0",
|
| 69 |
+
"debug": "^4.1.0",
|
| 70 |
+
"gensync": "^1.0.0-beta.2",
|
| 71 |
+
"json5": "^2.2.3",
|
| 72 |
+
"semver": "^6.3.1"
|
| 73 |
+
},
|
| 74 |
+
"engines": {
|
| 75 |
+
"node": ">=6.9.0"
|
| 76 |
+
},
|
| 77 |
+
"funding": {
|
| 78 |
+
"type": "opencollective",
|
| 79 |
+
"url": "https://opencollective.com/babel"
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"node_modules/@babel/generator": {
|
| 83 |
+
"version": "7.29.1",
|
| 84 |
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
|
| 85 |
+
"integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
|
| 86 |
+
"dev": true,
|
| 87 |
+
"license": "MIT",
|
| 88 |
+
"dependencies": {
|
| 89 |
+
"@babel/parser": "^7.29.0",
|
| 90 |
+
"@babel/types": "^7.29.0",
|
| 91 |
+
"@jridgewell/gen-mapping": "^0.3.12",
|
| 92 |
+
"@jridgewell/trace-mapping": "^0.3.28",
|
| 93 |
+
"jsesc": "^3.0.2"
|
| 94 |
+
},
|
| 95 |
+
"engines": {
|
| 96 |
+
"node": ">=6.9.0"
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
"node_modules/@babel/helper-compilation-targets": {
|
| 100 |
+
"version": "7.28.6",
|
| 101 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
|
| 102 |
+
"integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
|
| 103 |
+
"dev": true,
|
| 104 |
+
"license": "MIT",
|
| 105 |
+
"dependencies": {
|
| 106 |
+
"@babel/compat-data": "^7.28.6",
|
| 107 |
+
"@babel/helper-validator-option": "^7.27.1",
|
| 108 |
+
"browserslist": "^4.24.0",
|
| 109 |
+
"lru-cache": "^5.1.1",
|
| 110 |
+
"semver": "^6.3.1"
|
| 111 |
+
},
|
| 112 |
+
"engines": {
|
| 113 |
+
"node": ">=6.9.0"
|
| 114 |
+
}
|
| 115 |
+
},
|
| 116 |
+
"node_modules/@babel/helper-globals": {
|
| 117 |
+
"version": "7.28.0",
|
| 118 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
|
| 119 |
+
"integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
|
| 120 |
+
"dev": true,
|
| 121 |
+
"license": "MIT",
|
| 122 |
+
"engines": {
|
| 123 |
+
"node": ">=6.9.0"
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
"node_modules/@babel/helper-module-imports": {
|
| 127 |
+
"version": "7.28.6",
|
| 128 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
|
| 129 |
+
"integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
|
| 130 |
+
"dev": true,
|
| 131 |
+
"license": "MIT",
|
| 132 |
+
"dependencies": {
|
| 133 |
+
"@babel/traverse": "^7.28.6",
|
| 134 |
+
"@babel/types": "^7.28.6"
|
| 135 |
+
},
|
| 136 |
+
"engines": {
|
| 137 |
+
"node": ">=6.9.0"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"node_modules/@babel/helper-module-transforms": {
|
| 141 |
+
"version": "7.28.6",
|
| 142 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
|
| 143 |
+
"integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
|
| 144 |
+
"dev": true,
|
| 145 |
+
"license": "MIT",
|
| 146 |
+
"dependencies": {
|
| 147 |
+
"@babel/helper-module-imports": "^7.28.6",
|
| 148 |
+
"@babel/helper-validator-identifier": "^7.28.5",
|
| 149 |
+
"@babel/traverse": "^7.28.6"
|
| 150 |
+
},
|
| 151 |
+
"engines": {
|
| 152 |
+
"node": ">=6.9.0"
|
| 153 |
+
},
|
| 154 |
+
"peerDependencies": {
|
| 155 |
+
"@babel/core": "^7.0.0"
|
| 156 |
+
}
|
| 157 |
+
},
|
| 158 |
+
"node_modules/@babel/helper-string-parser": {
|
| 159 |
+
"version": "7.27.1",
|
| 160 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
|
| 161 |
+
"integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
|
| 162 |
+
"dev": true,
|
| 163 |
+
"license": "MIT",
|
| 164 |
+
"engines": {
|
| 165 |
+
"node": ">=6.9.0"
|
| 166 |
+
}
|
| 167 |
+
},
|
| 168 |
+
"node_modules/@babel/helper-validator-identifier": {
|
| 169 |
+
"version": "7.28.5",
|
| 170 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
|
| 171 |
+
"integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
|
| 172 |
+
"dev": true,
|
| 173 |
+
"license": "MIT",
|
| 174 |
+
"engines": {
|
| 175 |
+
"node": ">=6.9.0"
|
| 176 |
+
}
|
| 177 |
+
},
|
| 178 |
+
"node_modules/@babel/helper-validator-option": {
|
| 179 |
+
"version": "7.27.1",
|
| 180 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
|
| 181 |
+
"integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
|
| 182 |
+
"dev": true,
|
| 183 |
+
"license": "MIT",
|
| 184 |
+
"engines": {
|
| 185 |
+
"node": ">=6.9.0"
|
| 186 |
+
}
|
| 187 |
+
},
|
| 188 |
+
"node_modules/@babel/helpers": {
|
| 189 |
+
"version": "7.29.2",
|
| 190 |
+
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
|
| 191 |
+
"integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
|
| 192 |
+
"dev": true,
|
| 193 |
+
"license": "MIT",
|
| 194 |
+
"dependencies": {
|
| 195 |
+
"@babel/template": "^7.28.6",
|
| 196 |
+
"@babel/types": "^7.29.0"
|
| 197 |
+
},
|
| 198 |
+
"engines": {
|
| 199 |
+
"node": ">=6.9.0"
|
| 200 |
+
}
|
| 201 |
+
},
|
| 202 |
+
"node_modules/@babel/parser": {
|
| 203 |
+
"version": "7.29.2",
|
| 204 |
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz",
|
| 205 |
+
"integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==",
|
| 206 |
+
"dev": true,
|
| 207 |
+
"license": "MIT",
|
| 208 |
+
"dependencies": {
|
| 209 |
+
"@babel/types": "^7.29.0"
|
| 210 |
+
},
|
| 211 |
+
"bin": {
|
| 212 |
+
"parser": "bin/babel-parser.js"
|
| 213 |
+
},
|
| 214 |
+
"engines": {
|
| 215 |
+
"node": ">=6.0.0"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"node_modules/@babel/template": {
|
| 219 |
+
"version": "7.28.6",
|
| 220 |
+
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
|
| 221 |
+
"integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
|
| 222 |
+
"dev": true,
|
| 223 |
+
"license": "MIT",
|
| 224 |
+
"dependencies": {
|
| 225 |
+
"@babel/code-frame": "^7.28.6",
|
| 226 |
+
"@babel/parser": "^7.28.6",
|
| 227 |
+
"@babel/types": "^7.28.6"
|
| 228 |
+
},
|
| 229 |
+
"engines": {
|
| 230 |
+
"node": ">=6.9.0"
|
| 231 |
+
}
|
| 232 |
+
},
|
| 233 |
+
"node_modules/@babel/traverse": {
|
| 234 |
+
"version": "7.29.0",
|
| 235 |
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
|
| 236 |
+
"integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
|
| 237 |
+
"dev": true,
|
| 238 |
+
"license": "MIT",
|
| 239 |
+
"dependencies": {
|
| 240 |
+
"@babel/code-frame": "^7.29.0",
|
| 241 |
+
"@babel/generator": "^7.29.0",
|
| 242 |
+
"@babel/helper-globals": "^7.28.0",
|
| 243 |
+
"@babel/parser": "^7.29.0",
|
| 244 |
+
"@babel/template": "^7.28.6",
|
| 245 |
+
"@babel/types": "^7.29.0",
|
| 246 |
+
"debug": "^4.3.1"
|
| 247 |
+
},
|
| 248 |
+
"engines": {
|
| 249 |
+
"node": ">=6.9.0"
|
| 250 |
+
}
|
| 251 |
+
},
|
| 252 |
+
"node_modules/@babel/types": {
|
| 253 |
+
"version": "7.29.0",
|
| 254 |
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
|
| 255 |
+
"integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
|
| 256 |
+
"dev": true,
|
| 257 |
+
"license": "MIT",
|
| 258 |
+
"dependencies": {
|
| 259 |
+
"@babel/helper-string-parser": "^7.27.1",
|
| 260 |
+
"@babel/helper-validator-identifier": "^7.28.5"
|
| 261 |
+
},
|
| 262 |
+
"engines": {
|
| 263 |
+
"node": ">=6.9.0"
|
| 264 |
+
}
|
| 265 |
+
},
|
| 266 |
+
"node_modules/@emnapi/core": {
|
| 267 |
+
"version": "1.10.0",
|
| 268 |
+
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
|
| 269 |
+
"integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",
|
| 270 |
+
"dev": true,
|
| 271 |
+
"license": "MIT",
|
| 272 |
+
"optional": true,
|
| 273 |
+
"dependencies": {
|
| 274 |
+
"@emnapi/wasi-threads": "1.2.1",
|
| 275 |
+
"tslib": "^2.4.0"
|
| 276 |
+
}
|
| 277 |
+
},
|
| 278 |
+
"node_modules/@emnapi/runtime": {
|
| 279 |
+
"version": "1.10.0",
|
| 280 |
+
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
|
| 281 |
+
"integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
|
| 282 |
+
"dev": true,
|
| 283 |
+
"license": "MIT",
|
| 284 |
+
"optional": true,
|
| 285 |
+
"dependencies": {
|
| 286 |
+
"tslib": "^2.4.0"
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
"node_modules/@emnapi/wasi-threads": {
|
| 290 |
+
"version": "1.2.1",
|
| 291 |
+
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
|
| 292 |
+
"integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",
|
| 293 |
+
"dev": true,
|
| 294 |
+
"license": "MIT",
|
| 295 |
+
"optional": true,
|
| 296 |
+
"dependencies": {
|
| 297 |
+
"tslib": "^2.4.0"
|
| 298 |
+
}
|
| 299 |
+
},
|
| 300 |
+
"node_modules/@eslint-community/eslint-utils": {
|
| 301 |
+
"version": "4.9.1",
|
| 302 |
+
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
|
| 303 |
+
"integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
|
| 304 |
+
"dev": true,
|
| 305 |
+
"license": "MIT",
|
| 306 |
+
"dependencies": {
|
| 307 |
+
"eslint-visitor-keys": "^3.4.3"
|
| 308 |
+
},
|
| 309 |
+
"engines": {
|
| 310 |
+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
| 311 |
+
},
|
| 312 |
+
"funding": {
|
| 313 |
+
"url": "https://opencollective.com/eslint"
|
| 314 |
+
},
|
| 315 |
+
"peerDependencies": {
|
| 316 |
+
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
|
| 317 |
+
}
|
| 318 |
+
},
|
| 319 |
+
"node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
|
| 320 |
+
"version": "3.4.3",
|
| 321 |
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
|
| 322 |
+
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
|
| 323 |
+
"dev": true,
|
| 324 |
+
"license": "Apache-2.0",
|
| 325 |
+
"engines": {
|
| 326 |
+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
| 327 |
+
},
|
| 328 |
+
"funding": {
|
| 329 |
+
"url": "https://opencollective.com/eslint"
|
| 330 |
+
}
|
| 331 |
+
},
|
| 332 |
+
"node_modules/@eslint-community/regexpp": {
|
| 333 |
+
"version": "4.12.2",
|
| 334 |
+
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
|
| 335 |
+
"integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
|
| 336 |
+
"dev": true,
|
| 337 |
+
"license": "MIT",
|
| 338 |
+
"engines": {
|
| 339 |
+
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
| 340 |
+
}
|
| 341 |
+
},
|
| 342 |
+
"node_modules/@eslint/config-array": {
|
| 343 |
+
"version": "0.23.5",
|
| 344 |
+
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz",
|
| 345 |
+
"integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==",
|
| 346 |
+
"dev": true,
|
| 347 |
+
"license": "Apache-2.0",
|
| 348 |
+
"dependencies": {
|
| 349 |
+
"@eslint/object-schema": "^3.0.5",
|
| 350 |
+
"debug": "^4.3.1",
|
| 351 |
+
"minimatch": "^10.2.4"
|
| 352 |
+
},
|
| 353 |
+
"engines": {
|
| 354 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 355 |
+
}
|
| 356 |
+
},
|
| 357 |
+
"node_modules/@eslint/config-helpers": {
|
| 358 |
+
"version": "0.5.5",
|
| 359 |
+
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.5.tgz",
|
| 360 |
+
"integrity": "sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==",
|
| 361 |
+
"dev": true,
|
| 362 |
+
"license": "Apache-2.0",
|
| 363 |
+
"dependencies": {
|
| 364 |
+
"@eslint/core": "^1.2.1"
|
| 365 |
+
},
|
| 366 |
+
"engines": {
|
| 367 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 368 |
+
}
|
| 369 |
+
},
|
| 370 |
+
"node_modules/@eslint/core": {
|
| 371 |
+
"version": "1.2.1",
|
| 372 |
+
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz",
|
| 373 |
+
"integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==",
|
| 374 |
+
"dev": true,
|
| 375 |
+
"license": "Apache-2.0",
|
| 376 |
+
"dependencies": {
|
| 377 |
+
"@types/json-schema": "^7.0.15"
|
| 378 |
+
},
|
| 379 |
+
"engines": {
|
| 380 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 381 |
+
}
|
| 382 |
+
},
|
| 383 |
+
"node_modules/@eslint/js": {
|
| 384 |
+
"version": "10.0.1",
|
| 385 |
+
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz",
|
| 386 |
+
"integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==",
|
| 387 |
+
"dev": true,
|
| 388 |
+
"license": "MIT",
|
| 389 |
+
"engines": {
|
| 390 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 391 |
+
},
|
| 392 |
+
"funding": {
|
| 393 |
+
"url": "https://eslint.org/donate"
|
| 394 |
+
},
|
| 395 |
+
"peerDependencies": {
|
| 396 |
+
"eslint": "^10.0.0"
|
| 397 |
+
},
|
| 398 |
+
"peerDependenciesMeta": {
|
| 399 |
+
"eslint": {
|
| 400 |
+
"optional": true
|
| 401 |
+
}
|
| 402 |
+
}
|
| 403 |
+
},
|
| 404 |
+
"node_modules/@eslint/object-schema": {
|
| 405 |
+
"version": "3.0.5",
|
| 406 |
+
"resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz",
|
| 407 |
+
"integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==",
|
| 408 |
+
"dev": true,
|
| 409 |
+
"license": "Apache-2.0",
|
| 410 |
+
"engines": {
|
| 411 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 412 |
+
}
|
| 413 |
+
},
|
| 414 |
+
"node_modules/@eslint/plugin-kit": {
|
| 415 |
+
"version": "0.7.1",
|
| 416 |
+
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz",
|
| 417 |
+
"integrity": "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==",
|
| 418 |
+
"dev": true,
|
| 419 |
+
"license": "Apache-2.0",
|
| 420 |
+
"dependencies": {
|
| 421 |
+
"@eslint/core": "^1.2.1",
|
| 422 |
+
"levn": "^0.4.1"
|
| 423 |
+
},
|
| 424 |
+
"engines": {
|
| 425 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 426 |
+
}
|
| 427 |
+
},
|
| 428 |
+
"node_modules/@humanfs/core": {
|
| 429 |
+
"version": "0.19.2",
|
| 430 |
+
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz",
|
| 431 |
+
"integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==",
|
| 432 |
+
"dev": true,
|
| 433 |
+
"license": "Apache-2.0",
|
| 434 |
+
"dependencies": {
|
| 435 |
+
"@humanfs/types": "^0.15.0"
|
| 436 |
+
},
|
| 437 |
+
"engines": {
|
| 438 |
+
"node": ">=18.18.0"
|
| 439 |
+
}
|
| 440 |
+
},
|
| 441 |
+
"node_modules/@humanfs/node": {
|
| 442 |
+
"version": "0.16.8",
|
| 443 |
+
"resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz",
|
| 444 |
+
"integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==",
|
| 445 |
+
"dev": true,
|
| 446 |
+
"license": "Apache-2.0",
|
| 447 |
+
"dependencies": {
|
| 448 |
+
"@humanfs/core": "^0.19.2",
|
| 449 |
+
"@humanfs/types": "^0.15.0",
|
| 450 |
+
"@humanwhocodes/retry": "^0.4.0"
|
| 451 |
+
},
|
| 452 |
+
"engines": {
|
| 453 |
+
"node": ">=18.18.0"
|
| 454 |
+
}
|
| 455 |
+
},
|
| 456 |
+
"node_modules/@humanfs/types": {
|
| 457 |
+
"version": "0.15.0",
|
| 458 |
+
"resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz",
|
| 459 |
+
"integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==",
|
| 460 |
+
"dev": true,
|
| 461 |
+
"license": "Apache-2.0",
|
| 462 |
+
"engines": {
|
| 463 |
+
"node": ">=18.18.0"
|
| 464 |
+
}
|
| 465 |
+
},
|
| 466 |
+
"node_modules/@humanwhocodes/module-importer": {
|
| 467 |
+
"version": "1.0.1",
|
| 468 |
+
"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
|
| 469 |
+
"integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
|
| 470 |
+
"dev": true,
|
| 471 |
+
"license": "Apache-2.0",
|
| 472 |
+
"engines": {
|
| 473 |
+
"node": ">=12.22"
|
| 474 |
+
},
|
| 475 |
+
"funding": {
|
| 476 |
+
"type": "github",
|
| 477 |
+
"url": "https://github.com/sponsors/nzakas"
|
| 478 |
+
}
|
| 479 |
+
},
|
| 480 |
+
"node_modules/@humanwhocodes/retry": {
|
| 481 |
+
"version": "0.4.3",
|
| 482 |
+
"resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
|
| 483 |
+
"integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
|
| 484 |
+
"dev": true,
|
| 485 |
+
"license": "Apache-2.0",
|
| 486 |
+
"engines": {
|
| 487 |
+
"node": ">=18.18"
|
| 488 |
+
},
|
| 489 |
+
"funding": {
|
| 490 |
+
"type": "github",
|
| 491 |
+
"url": "https://github.com/sponsors/nzakas"
|
| 492 |
+
}
|
| 493 |
+
},
|
| 494 |
+
"node_modules/@jridgewell/gen-mapping": {
|
| 495 |
+
"version": "0.3.13",
|
| 496 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
|
| 497 |
+
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
|
| 498 |
+
"dev": true,
|
| 499 |
+
"license": "MIT",
|
| 500 |
+
"dependencies": {
|
| 501 |
+
"@jridgewell/sourcemap-codec": "^1.5.0",
|
| 502 |
+
"@jridgewell/trace-mapping": "^0.3.24"
|
| 503 |
+
}
|
| 504 |
+
},
|
| 505 |
+
"node_modules/@jridgewell/remapping": {
|
| 506 |
+
"version": "2.3.5",
|
| 507 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
|
| 508 |
+
"integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
|
| 509 |
+
"dev": true,
|
| 510 |
+
"license": "MIT",
|
| 511 |
+
"dependencies": {
|
| 512 |
+
"@jridgewell/gen-mapping": "^0.3.5",
|
| 513 |
+
"@jridgewell/trace-mapping": "^0.3.24"
|
| 514 |
+
}
|
| 515 |
+
},
|
| 516 |
+
"node_modules/@jridgewell/resolve-uri": {
|
| 517 |
+
"version": "3.1.2",
|
| 518 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
|
| 519 |
+
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
|
| 520 |
+
"dev": true,
|
| 521 |
+
"license": "MIT",
|
| 522 |
+
"engines": {
|
| 523 |
+
"node": ">=6.0.0"
|
| 524 |
+
}
|
| 525 |
+
},
|
| 526 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
| 527 |
+
"version": "1.5.5",
|
| 528 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
|
| 529 |
+
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
|
| 530 |
+
"dev": true,
|
| 531 |
+
"license": "MIT"
|
| 532 |
+
},
|
| 533 |
+
"node_modules/@jridgewell/trace-mapping": {
|
| 534 |
+
"version": "0.3.31",
|
| 535 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
|
| 536 |
+
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
|
| 537 |
+
"dev": true,
|
| 538 |
+
"license": "MIT",
|
| 539 |
+
"dependencies": {
|
| 540 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
| 541 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
| 542 |
+
}
|
| 543 |
+
},
|
| 544 |
+
"node_modules/@napi-rs/wasm-runtime": {
|
| 545 |
+
"version": "1.1.4",
|
| 546 |
+
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz",
|
| 547 |
+
"integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==",
|
| 548 |
+
"dev": true,
|
| 549 |
+
"license": "MIT",
|
| 550 |
+
"optional": true,
|
| 551 |
+
"dependencies": {
|
| 552 |
+
"@tybys/wasm-util": "^0.10.1"
|
| 553 |
+
},
|
| 554 |
+
"funding": {
|
| 555 |
+
"type": "github",
|
| 556 |
+
"url": "https://github.com/sponsors/Brooooooklyn"
|
| 557 |
+
},
|
| 558 |
+
"peerDependencies": {
|
| 559 |
+
"@emnapi/core": "^1.7.1",
|
| 560 |
+
"@emnapi/runtime": "^1.7.1"
|
| 561 |
+
}
|
| 562 |
+
},
|
| 563 |
+
"node_modules/@oxc-project/types": {
|
| 564 |
+
"version": "0.127.0",
|
| 565 |
+
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz",
|
| 566 |
+
"integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==",
|
| 567 |
+
"dev": true,
|
| 568 |
+
"license": "MIT",
|
| 569 |
+
"funding": {
|
| 570 |
+
"url": "https://github.com/sponsors/Boshen"
|
| 571 |
+
}
|
| 572 |
+
},
|
| 573 |
+
"node_modules/@rolldown/binding-android-arm64": {
|
| 574 |
+
"version": "1.0.0-rc.17",
|
| 575 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.17.tgz",
|
| 576 |
+
"integrity": "sha512-s70pVGhw4zqGeFnXWvAzJDlvxhlRollagdCCKRgOsgUOH3N1l0LIxf83AtGzmb5SiVM4Hjl5HyarMRfdfj3DaQ==",
|
| 577 |
+
"cpu": [
|
| 578 |
+
"arm64"
|
| 579 |
+
],
|
| 580 |
+
"dev": true,
|
| 581 |
+
"license": "MIT",
|
| 582 |
+
"optional": true,
|
| 583 |
+
"os": [
|
| 584 |
+
"android"
|
| 585 |
+
],
|
| 586 |
+
"engines": {
|
| 587 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 588 |
+
}
|
| 589 |
+
},
|
| 590 |
+
"node_modules/@rolldown/binding-darwin-arm64": {
|
| 591 |
+
"version": "1.0.0-rc.17",
|
| 592 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.17.tgz",
|
| 593 |
+
"integrity": "sha512-4ksWc9n0mhlZpZ9PMZgTGjeOPRu8MB1Z3Tz0Mo02eWfWCHMW1zN82Qz/pL/rC+yQa+8ZnutMF0JjJe7PjwasYw==",
|
| 594 |
+
"cpu": [
|
| 595 |
+
"arm64"
|
| 596 |
+
],
|
| 597 |
+
"dev": true,
|
| 598 |
+
"license": "MIT",
|
| 599 |
+
"optional": true,
|
| 600 |
+
"os": [
|
| 601 |
+
"darwin"
|
| 602 |
+
],
|
| 603 |
+
"engines": {
|
| 604 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 605 |
+
}
|
| 606 |
+
},
|
| 607 |
+
"node_modules/@rolldown/binding-darwin-x64": {
|
| 608 |
+
"version": "1.0.0-rc.17",
|
| 609 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.17.tgz",
|
| 610 |
+
"integrity": "sha512-SUSDOI6WwUVNcWxd02QEBjLdY1VPHvlEkw6T/8nYG322iYWCTxRb1vzk4E+mWWYehTp7ERibq54LSJGjmouOsw==",
|
| 611 |
+
"cpu": [
|
| 612 |
+
"x64"
|
| 613 |
+
],
|
| 614 |
+
"dev": true,
|
| 615 |
+
"license": "MIT",
|
| 616 |
+
"optional": true,
|
| 617 |
+
"os": [
|
| 618 |
+
"darwin"
|
| 619 |
+
],
|
| 620 |
+
"engines": {
|
| 621 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 622 |
+
}
|
| 623 |
+
},
|
| 624 |
+
"node_modules/@rolldown/binding-freebsd-x64": {
|
| 625 |
+
"version": "1.0.0-rc.17",
|
| 626 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.17.tgz",
|
| 627 |
+
"integrity": "sha512-hwnz3nw9dbJ05EDO/PvcjaaewqqDy7Y1rn1UO81l8iIK1GjenME75dl16ajbvSSMfv66WXSRCYKIqfgq2KCfxw==",
|
| 628 |
+
"cpu": [
|
| 629 |
+
"x64"
|
| 630 |
+
],
|
| 631 |
+
"dev": true,
|
| 632 |
+
"license": "MIT",
|
| 633 |
+
"optional": true,
|
| 634 |
+
"os": [
|
| 635 |
+
"freebsd"
|
| 636 |
+
],
|
| 637 |
+
"engines": {
|
| 638 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 639 |
+
}
|
| 640 |
+
},
|
| 641 |
+
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
|
| 642 |
+
"version": "1.0.0-rc.17",
|
| 643 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.17.tgz",
|
| 644 |
+
"integrity": "sha512-IS+W7epTcwANmFSQFrS1SivEXHtl1JtuQA9wlxrZTcNi6mx+FDOYrakGevvvTwgj2JvWiK8B29/qD9BELZPyXQ==",
|
| 645 |
+
"cpu": [
|
| 646 |
+
"arm"
|
| 647 |
+
],
|
| 648 |
+
"dev": true,
|
| 649 |
+
"license": "MIT",
|
| 650 |
+
"optional": true,
|
| 651 |
+
"os": [
|
| 652 |
+
"linux"
|
| 653 |
+
],
|
| 654 |
+
"engines": {
|
| 655 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 656 |
+
}
|
| 657 |
+
},
|
| 658 |
+
"node_modules/@rolldown/binding-linux-arm64-gnu": {
|
| 659 |
+
"version": "1.0.0-rc.17",
|
| 660 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.17.tgz",
|
| 661 |
+
"integrity": "sha512-e6usGaHKW5BMNZOymS1UcEYGowQMWcgZ71Z17Sl/h2+ZziNJ1a9n3Zvcz6LdRyIW5572wBCTH/Z+bKuZouGk9Q==",
|
| 662 |
+
"cpu": [
|
| 663 |
+
"arm64"
|
| 664 |
+
],
|
| 665 |
+
"dev": true,
|
| 666 |
+
"libc": [
|
| 667 |
+
"glibc"
|
| 668 |
+
],
|
| 669 |
+
"license": "MIT",
|
| 670 |
+
"optional": true,
|
| 671 |
+
"os": [
|
| 672 |
+
"linux"
|
| 673 |
+
],
|
| 674 |
+
"engines": {
|
| 675 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 676 |
+
}
|
| 677 |
+
},
|
| 678 |
+
"node_modules/@rolldown/binding-linux-arm64-musl": {
|
| 679 |
+
"version": "1.0.0-rc.17",
|
| 680 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.17.tgz",
|
| 681 |
+
"integrity": "sha512-b/CgbwAJpmrRLp02RPfhbudf5tZnN9nsPWK82znefso832etkem8H7FSZwxrOI9djcdTP7U6YfNhbRnh7djErg==",
|
| 682 |
+
"cpu": [
|
| 683 |
+
"arm64"
|
| 684 |
+
],
|
| 685 |
+
"dev": true,
|
| 686 |
+
"libc": [
|
| 687 |
+
"musl"
|
| 688 |
+
],
|
| 689 |
+
"license": "MIT",
|
| 690 |
+
"optional": true,
|
| 691 |
+
"os": [
|
| 692 |
+
"linux"
|
| 693 |
+
],
|
| 694 |
+
"engines": {
|
| 695 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 696 |
+
}
|
| 697 |
+
},
|
| 698 |
+
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
|
| 699 |
+
"version": "1.0.0-rc.17",
|
| 700 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.17.tgz",
|
| 701 |
+
"integrity": "sha512-4EII1iNGRUN5WwGbF/kOh/EIkoDN9HsupgLQoXfY+D1oyJm7/F4t5PYU5n8SWZgG0FEwakyM8pGgwcBYruGTlA==",
|
| 702 |
+
"cpu": [
|
| 703 |
+
"ppc64"
|
| 704 |
+
],
|
| 705 |
+
"dev": true,
|
| 706 |
+
"libc": [
|
| 707 |
+
"glibc"
|
| 708 |
+
],
|
| 709 |
+
"license": "MIT",
|
| 710 |
+
"optional": true,
|
| 711 |
+
"os": [
|
| 712 |
+
"linux"
|
| 713 |
+
],
|
| 714 |
+
"engines": {
|
| 715 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 716 |
+
}
|
| 717 |
+
},
|
| 718 |
+
"node_modules/@rolldown/binding-linux-s390x-gnu": {
|
| 719 |
+
"version": "1.0.0-rc.17",
|
| 720 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.17.tgz",
|
| 721 |
+
"integrity": "sha512-AH8oq3XqQo4IibpVXvPeLDI5pzkpYn0WiZAfT05kFzoJ6tQNzwRdDYQ45M8I/gslbodRZwW8uxLhbSBbkv96rA==",
|
| 722 |
+
"cpu": [
|
| 723 |
+
"s390x"
|
| 724 |
+
],
|
| 725 |
+
"dev": true,
|
| 726 |
+
"libc": [
|
| 727 |
+
"glibc"
|
| 728 |
+
],
|
| 729 |
+
"license": "MIT",
|
| 730 |
+
"optional": true,
|
| 731 |
+
"os": [
|
| 732 |
+
"linux"
|
| 733 |
+
],
|
| 734 |
+
"engines": {
|
| 735 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 736 |
+
}
|
| 737 |
+
},
|
| 738 |
+
"node_modules/@rolldown/binding-linux-x64-gnu": {
|
| 739 |
+
"version": "1.0.0-rc.17",
|
| 740 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.17.tgz",
|
| 741 |
+
"integrity": "sha512-cLnjV3xfo7KslbU41Z7z8BH/E1y5mzUYzAqih1d1MDaIGZRCMqTijqLv76/P7fyHuvUcfGsIpqCdddbxLLK9rA==",
|
| 742 |
+
"cpu": [
|
| 743 |
+
"x64"
|
| 744 |
+
],
|
| 745 |
+
"dev": true,
|
| 746 |
+
"libc": [
|
| 747 |
+
"glibc"
|
| 748 |
+
],
|
| 749 |
+
"license": "MIT",
|
| 750 |
+
"optional": true,
|
| 751 |
+
"os": [
|
| 752 |
+
"linux"
|
| 753 |
+
],
|
| 754 |
+
"engines": {
|
| 755 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 756 |
+
}
|
| 757 |
+
},
|
| 758 |
+
"node_modules/@rolldown/binding-linux-x64-musl": {
|
| 759 |
+
"version": "1.0.0-rc.17",
|
| 760 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.17.tgz",
|
| 761 |
+
"integrity": "sha512-0phclDw1spsL7dUB37sIARuis2tAgomCJXAHZlpt8PXZ4Ba0dRP1e+66lsRqrfhISeN9bEGNjQs+T/Fbd7oYGw==",
|
| 762 |
+
"cpu": [
|
| 763 |
+
"x64"
|
| 764 |
+
],
|
| 765 |
+
"dev": true,
|
| 766 |
+
"libc": [
|
| 767 |
+
"musl"
|
| 768 |
+
],
|
| 769 |
+
"license": "MIT",
|
| 770 |
+
"optional": true,
|
| 771 |
+
"os": [
|
| 772 |
+
"linux"
|
| 773 |
+
],
|
| 774 |
+
"engines": {
|
| 775 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 776 |
+
}
|
| 777 |
+
},
|
| 778 |
+
"node_modules/@rolldown/binding-openharmony-arm64": {
|
| 779 |
+
"version": "1.0.0-rc.17",
|
| 780 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.17.tgz",
|
| 781 |
+
"integrity": "sha512-0ag/hEgXOwgw4t8QyQvUCxvEg+V0KBcA6YuOx9g0r02MprutRF5dyljgm3EmR02O292UX7UeS6HzWHAl6KgyhA==",
|
| 782 |
+
"cpu": [
|
| 783 |
+
"arm64"
|
| 784 |
+
],
|
| 785 |
+
"dev": true,
|
| 786 |
+
"license": "MIT",
|
| 787 |
+
"optional": true,
|
| 788 |
+
"os": [
|
| 789 |
+
"openharmony"
|
| 790 |
+
],
|
| 791 |
+
"engines": {
|
| 792 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 793 |
+
}
|
| 794 |
+
},
|
| 795 |
+
"node_modules/@rolldown/binding-wasm32-wasi": {
|
| 796 |
+
"version": "1.0.0-rc.17",
|
| 797 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.17.tgz",
|
| 798 |
+
"integrity": "sha512-LEXei6vo0E5wTGwpkJ4KoT3OZJRnglwldt5ziLzOlc6qqb55z4tWNq2A+PFqCJuvWWdP53CVhG1Z9NtToDPJrA==",
|
| 799 |
+
"cpu": [
|
| 800 |
+
"wasm32"
|
| 801 |
+
],
|
| 802 |
+
"dev": true,
|
| 803 |
+
"license": "MIT",
|
| 804 |
+
"optional": true,
|
| 805 |
+
"dependencies": {
|
| 806 |
+
"@emnapi/core": "1.10.0",
|
| 807 |
+
"@emnapi/runtime": "1.10.0",
|
| 808 |
+
"@napi-rs/wasm-runtime": "^1.1.4"
|
| 809 |
+
},
|
| 810 |
+
"engines": {
|
| 811 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 812 |
+
}
|
| 813 |
+
},
|
| 814 |
+
"node_modules/@rolldown/binding-win32-arm64-msvc": {
|
| 815 |
+
"version": "1.0.0-rc.17",
|
| 816 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.17.tgz",
|
| 817 |
+
"integrity": "sha512-gUmyzBl3SPMa6hrqFUth9sVfcLBlYsbMzBx5PlexMroZStgzGqlZ26pYG89rBb45Mnia+oil6YAIFeEWGWhoZA==",
|
| 818 |
+
"cpu": [
|
| 819 |
+
"arm64"
|
| 820 |
+
],
|
| 821 |
+
"dev": true,
|
| 822 |
+
"license": "MIT",
|
| 823 |
+
"optional": true,
|
| 824 |
+
"os": [
|
| 825 |
+
"win32"
|
| 826 |
+
],
|
| 827 |
+
"engines": {
|
| 828 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 829 |
+
}
|
| 830 |
+
},
|
| 831 |
+
"node_modules/@rolldown/binding-win32-x64-msvc": {
|
| 832 |
+
"version": "1.0.0-rc.17",
|
| 833 |
+
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.17.tgz",
|
| 834 |
+
"integrity": "sha512-3hkiolcUAvPB9FLb3UZdfjVVNWherN1f/skkGWJP/fgSQhYUZpSIRr0/I8ZK9TkF3F7kxvJAk0+IcKvPHk9qQg==",
|
| 835 |
+
"cpu": [
|
| 836 |
+
"x64"
|
| 837 |
+
],
|
| 838 |
+
"dev": true,
|
| 839 |
+
"license": "MIT",
|
| 840 |
+
"optional": true,
|
| 841 |
+
"os": [
|
| 842 |
+
"win32"
|
| 843 |
+
],
|
| 844 |
+
"engines": {
|
| 845 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 846 |
+
}
|
| 847 |
+
},
|
| 848 |
+
"node_modules/@rolldown/pluginutils": {
|
| 849 |
+
"version": "1.0.0-rc.7",
|
| 850 |
+
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.7.tgz",
|
| 851 |
+
"integrity": "sha512-qujRfC8sFVInYSPPMLQByRh7zhwkGFS4+tyMQ83srV1qrxL4g8E2tyxVVyxd0+8QeBM1mIk9KbWxkegRr76XzA==",
|
| 852 |
+
"dev": true,
|
| 853 |
+
"license": "MIT"
|
| 854 |
+
},
|
| 855 |
+
"node_modules/@tybys/wasm-util": {
|
| 856 |
+
"version": "0.10.1",
|
| 857 |
+
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
|
| 858 |
+
"integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
|
| 859 |
+
"dev": true,
|
| 860 |
+
"license": "MIT",
|
| 861 |
+
"optional": true,
|
| 862 |
+
"dependencies": {
|
| 863 |
+
"tslib": "^2.4.0"
|
| 864 |
+
}
|
| 865 |
+
},
|
| 866 |
+
"node_modules/@types/esrecurse": {
|
| 867 |
+
"version": "4.3.1",
|
| 868 |
+
"resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz",
|
| 869 |
+
"integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==",
|
| 870 |
+
"dev": true,
|
| 871 |
+
"license": "MIT"
|
| 872 |
+
},
|
| 873 |
+
"node_modules/@types/estree": {
|
| 874 |
+
"version": "1.0.8",
|
| 875 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
| 876 |
+
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
|
| 877 |
+
"dev": true,
|
| 878 |
+
"license": "MIT"
|
| 879 |
+
},
|
| 880 |
+
"node_modules/@types/json-schema": {
|
| 881 |
+
"version": "7.0.15",
|
| 882 |
+
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
|
| 883 |
+
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
|
| 884 |
+
"dev": true,
|
| 885 |
+
"license": "MIT"
|
| 886 |
+
},
|
| 887 |
+
"node_modules/@types/react": {
|
| 888 |
+
"version": "19.2.14",
|
| 889 |
+
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
|
| 890 |
+
"integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
|
| 891 |
+
"dev": true,
|
| 892 |
+
"license": "MIT",
|
| 893 |
+
"dependencies": {
|
| 894 |
+
"csstype": "^3.2.2"
|
| 895 |
+
}
|
| 896 |
+
},
|
| 897 |
+
"node_modules/@types/react-dom": {
|
| 898 |
+
"version": "19.2.3",
|
| 899 |
+
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
|
| 900 |
+
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
|
| 901 |
+
"dev": true,
|
| 902 |
+
"license": "MIT",
|
| 903 |
+
"peerDependencies": {
|
| 904 |
+
"@types/react": "^19.2.0"
|
| 905 |
+
}
|
| 906 |
+
},
|
| 907 |
+
"node_modules/@vitejs/plugin-react": {
|
| 908 |
+
"version": "6.0.1",
|
| 909 |
+
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.1.tgz",
|
| 910 |
+
"integrity": "sha512-l9X/E3cDb+xY3SWzlG1MOGt2usfEHGMNIaegaUGFsLkb3RCn/k8/TOXBcab+OndDI4TBtktT8/9BwwW8Vi9KUQ==",
|
| 911 |
+
"dev": true,
|
| 912 |
+
"license": "MIT",
|
| 913 |
+
"dependencies": {
|
| 914 |
+
"@rolldown/pluginutils": "1.0.0-rc.7"
|
| 915 |
+
},
|
| 916 |
+
"engines": {
|
| 917 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 918 |
+
},
|
| 919 |
+
"peerDependencies": {
|
| 920 |
+
"@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
|
| 921 |
+
"babel-plugin-react-compiler": "^1.0.0",
|
| 922 |
+
"vite": "^8.0.0"
|
| 923 |
+
},
|
| 924 |
+
"peerDependenciesMeta": {
|
| 925 |
+
"@rolldown/plugin-babel": {
|
| 926 |
+
"optional": true
|
| 927 |
+
},
|
| 928 |
+
"babel-plugin-react-compiler": {
|
| 929 |
+
"optional": true
|
| 930 |
+
}
|
| 931 |
+
}
|
| 932 |
+
},
|
| 933 |
+
"node_modules/acorn": {
|
| 934 |
+
"version": "8.16.0",
|
| 935 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
|
| 936 |
+
"integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
|
| 937 |
+
"dev": true,
|
| 938 |
+
"license": "MIT",
|
| 939 |
+
"bin": {
|
| 940 |
+
"acorn": "bin/acorn"
|
| 941 |
+
},
|
| 942 |
+
"engines": {
|
| 943 |
+
"node": ">=0.4.0"
|
| 944 |
+
}
|
| 945 |
+
},
|
| 946 |
+
"node_modules/acorn-jsx": {
|
| 947 |
+
"version": "5.3.2",
|
| 948 |
+
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
|
| 949 |
+
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
|
| 950 |
+
"dev": true,
|
| 951 |
+
"license": "MIT",
|
| 952 |
+
"peerDependencies": {
|
| 953 |
+
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
| 954 |
+
}
|
| 955 |
+
},
|
| 956 |
+
"node_modules/ajv": {
|
| 957 |
+
"version": "6.15.0",
|
| 958 |
+
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",
|
| 959 |
+
"integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
|
| 960 |
+
"dev": true,
|
| 961 |
+
"license": "MIT",
|
| 962 |
+
"dependencies": {
|
| 963 |
+
"fast-deep-equal": "^3.1.1",
|
| 964 |
+
"fast-json-stable-stringify": "^2.0.0",
|
| 965 |
+
"json-schema-traverse": "^0.4.1",
|
| 966 |
+
"uri-js": "^4.2.2"
|
| 967 |
+
},
|
| 968 |
+
"funding": {
|
| 969 |
+
"type": "github",
|
| 970 |
+
"url": "https://github.com/sponsors/epoberezkin"
|
| 971 |
+
}
|
| 972 |
+
},
|
| 973 |
+
"node_modules/balanced-match": {
|
| 974 |
+
"version": "4.0.4",
|
| 975 |
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
|
| 976 |
+
"integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
|
| 977 |
+
"dev": true,
|
| 978 |
+
"license": "MIT",
|
| 979 |
+
"engines": {
|
| 980 |
+
"node": "18 || 20 || >=22"
|
| 981 |
+
}
|
| 982 |
+
},
|
| 983 |
+
"node_modules/baseline-browser-mapping": {
|
| 984 |
+
"version": "2.10.22",
|
| 985 |
+
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.22.tgz",
|
| 986 |
+
"integrity": "sha512-6qruVrb5rse6WylFkU0FhBKKGuecWseqdpQfhkawn6ztyk2QlfwSRjsDxMCLJrkfmfN21qvhl9ABgaMeRkuwww==",
|
| 987 |
+
"dev": true,
|
| 988 |
+
"license": "Apache-2.0",
|
| 989 |
+
"bin": {
|
| 990 |
+
"baseline-browser-mapping": "dist/cli.cjs"
|
| 991 |
+
},
|
| 992 |
+
"engines": {
|
| 993 |
+
"node": ">=6.0.0"
|
| 994 |
+
}
|
| 995 |
+
},
|
| 996 |
+
"node_modules/brace-expansion": {
|
| 997 |
+
"version": "5.0.5",
|
| 998 |
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
|
| 999 |
+
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
|
| 1000 |
+
"dev": true,
|
| 1001 |
+
"license": "MIT",
|
| 1002 |
+
"dependencies": {
|
| 1003 |
+
"balanced-match": "^4.0.2"
|
| 1004 |
+
},
|
| 1005 |
+
"engines": {
|
| 1006 |
+
"node": "18 || 20 || >=22"
|
| 1007 |
+
}
|
| 1008 |
+
},
|
| 1009 |
+
"node_modules/browserslist": {
|
| 1010 |
+
"version": "4.28.2",
|
| 1011 |
+
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
|
| 1012 |
+
"integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
|
| 1013 |
+
"dev": true,
|
| 1014 |
+
"funding": [
|
| 1015 |
+
{
|
| 1016 |
+
"type": "opencollective",
|
| 1017 |
+
"url": "https://opencollective.com/browserslist"
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "tidelift",
|
| 1021 |
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "github",
|
| 1025 |
+
"url": "https://github.com/sponsors/ai"
|
| 1026 |
+
}
|
| 1027 |
+
],
|
| 1028 |
+
"license": "MIT",
|
| 1029 |
+
"dependencies": {
|
| 1030 |
+
"baseline-browser-mapping": "^2.10.12",
|
| 1031 |
+
"caniuse-lite": "^1.0.30001782",
|
| 1032 |
+
"electron-to-chromium": "^1.5.328",
|
| 1033 |
+
"node-releases": "^2.0.36",
|
| 1034 |
+
"update-browserslist-db": "^1.2.3"
|
| 1035 |
+
},
|
| 1036 |
+
"bin": {
|
| 1037 |
+
"browserslist": "cli.js"
|
| 1038 |
+
},
|
| 1039 |
+
"engines": {
|
| 1040 |
+
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
| 1041 |
+
}
|
| 1042 |
+
},
|
| 1043 |
+
"node_modules/caniuse-lite": {
|
| 1044 |
+
"version": "1.0.30001790",
|
| 1045 |
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001790.tgz",
|
| 1046 |
+
"integrity": "sha512-bOoxfJPyYo+ds6W0YfptaCWbFnJYjh2Y1Eow5lRv+vI2u8ganPZqNm1JwNh0t2ELQCqIWg4B3dWEusgAmsoyOw==",
|
| 1047 |
+
"dev": true,
|
| 1048 |
+
"funding": [
|
| 1049 |
+
{
|
| 1050 |
+
"type": "opencollective",
|
| 1051 |
+
"url": "https://opencollective.com/browserslist"
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "tidelift",
|
| 1055 |
+
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "github",
|
| 1059 |
+
"url": "https://github.com/sponsors/ai"
|
| 1060 |
+
}
|
| 1061 |
+
],
|
| 1062 |
+
"license": "CC-BY-4.0"
|
| 1063 |
+
},
|
| 1064 |
+
"node_modules/convert-source-map": {
|
| 1065 |
+
"version": "2.0.0",
|
| 1066 |
+
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
|
| 1067 |
+
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
|
| 1068 |
+
"dev": true,
|
| 1069 |
+
"license": "MIT"
|
| 1070 |
+
},
|
| 1071 |
+
"node_modules/cross-spawn": {
|
| 1072 |
+
"version": "7.0.6",
|
| 1073 |
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
| 1074 |
+
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
| 1075 |
+
"dev": true,
|
| 1076 |
+
"license": "MIT",
|
| 1077 |
+
"dependencies": {
|
| 1078 |
+
"path-key": "^3.1.0",
|
| 1079 |
+
"shebang-command": "^2.0.0",
|
| 1080 |
+
"which": "^2.0.1"
|
| 1081 |
+
},
|
| 1082 |
+
"engines": {
|
| 1083 |
+
"node": ">= 8"
|
| 1084 |
+
}
|
| 1085 |
+
},
|
| 1086 |
+
"node_modules/csstype": {
|
| 1087 |
+
"version": "3.2.3",
|
| 1088 |
+
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
|
| 1089 |
+
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
|
| 1090 |
+
"dev": true,
|
| 1091 |
+
"license": "MIT"
|
| 1092 |
+
},
|
| 1093 |
+
"node_modules/debug": {
|
| 1094 |
+
"version": "4.4.3",
|
| 1095 |
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
|
| 1096 |
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
| 1097 |
+
"dev": true,
|
| 1098 |
+
"license": "MIT",
|
| 1099 |
+
"dependencies": {
|
| 1100 |
+
"ms": "^2.1.3"
|
| 1101 |
+
},
|
| 1102 |
+
"engines": {
|
| 1103 |
+
"node": ">=6.0"
|
| 1104 |
+
},
|
| 1105 |
+
"peerDependenciesMeta": {
|
| 1106 |
+
"supports-color": {
|
| 1107 |
+
"optional": true
|
| 1108 |
+
}
|
| 1109 |
+
}
|
| 1110 |
+
},
|
| 1111 |
+
"node_modules/deep-is": {
|
| 1112 |
+
"version": "0.1.4",
|
| 1113 |
+
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
| 1114 |
+
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
|
| 1115 |
+
"dev": true,
|
| 1116 |
+
"license": "MIT"
|
| 1117 |
+
},
|
| 1118 |
+
"node_modules/detect-libc": {
|
| 1119 |
+
"version": "2.1.2",
|
| 1120 |
+
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
| 1121 |
+
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
| 1122 |
+
"dev": true,
|
| 1123 |
+
"license": "Apache-2.0",
|
| 1124 |
+
"engines": {
|
| 1125 |
+
"node": ">=8"
|
| 1126 |
+
}
|
| 1127 |
+
},
|
| 1128 |
+
"node_modules/electron-to-chromium": {
|
| 1129 |
+
"version": "1.5.344",
|
| 1130 |
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.344.tgz",
|
| 1131 |
+
"integrity": "sha512-4MxfbmNDm+KPh066EZy+eUnkcDPcZ35wNmOWzFuh/ijvHsve6kbLTLURy88uCNK5FbpN+yk2nQY6BYh1GEt+wg==",
|
| 1132 |
+
"dev": true,
|
| 1133 |
+
"license": "ISC"
|
| 1134 |
+
},
|
| 1135 |
+
"node_modules/escalade": {
|
| 1136 |
+
"version": "3.2.0",
|
| 1137 |
+
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
| 1138 |
+
"integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
|
| 1139 |
+
"dev": true,
|
| 1140 |
+
"license": "MIT",
|
| 1141 |
+
"engines": {
|
| 1142 |
+
"node": ">=6"
|
| 1143 |
+
}
|
| 1144 |
+
},
|
| 1145 |
+
"node_modules/escape-string-regexp": {
|
| 1146 |
+
"version": "4.0.0",
|
| 1147 |
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
|
| 1148 |
+
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
|
| 1149 |
+
"dev": true,
|
| 1150 |
+
"license": "MIT",
|
| 1151 |
+
"engines": {
|
| 1152 |
+
"node": ">=10"
|
| 1153 |
+
},
|
| 1154 |
+
"funding": {
|
| 1155 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 1156 |
+
}
|
| 1157 |
+
},
|
| 1158 |
+
"node_modules/eslint": {
|
| 1159 |
+
"version": "10.2.1",
|
| 1160 |
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.2.1.tgz",
|
| 1161 |
+
"integrity": "sha512-wiyGaKsDgqXvF40P8mDwiUp/KQjE1FdrIEJsM8PZ3XCiniTMXS3OHWWUe5FI5agoCnr8x4xPrTDZuxsBlNHl+Q==",
|
| 1162 |
+
"dev": true,
|
| 1163 |
+
"license": "MIT",
|
| 1164 |
+
"dependencies": {
|
| 1165 |
+
"@eslint-community/eslint-utils": "^4.8.0",
|
| 1166 |
+
"@eslint-community/regexpp": "^4.12.2",
|
| 1167 |
+
"@eslint/config-array": "^0.23.5",
|
| 1168 |
+
"@eslint/config-helpers": "^0.5.5",
|
| 1169 |
+
"@eslint/core": "^1.2.1",
|
| 1170 |
+
"@eslint/plugin-kit": "^0.7.1",
|
| 1171 |
+
"@humanfs/node": "^0.16.6",
|
| 1172 |
+
"@humanwhocodes/module-importer": "^1.0.1",
|
| 1173 |
+
"@humanwhocodes/retry": "^0.4.2",
|
| 1174 |
+
"@types/estree": "^1.0.6",
|
| 1175 |
+
"ajv": "^6.14.0",
|
| 1176 |
+
"cross-spawn": "^7.0.6",
|
| 1177 |
+
"debug": "^4.3.2",
|
| 1178 |
+
"escape-string-regexp": "^4.0.0",
|
| 1179 |
+
"eslint-scope": "^9.1.2",
|
| 1180 |
+
"eslint-visitor-keys": "^5.0.1",
|
| 1181 |
+
"espree": "^11.2.0",
|
| 1182 |
+
"esquery": "^1.7.0",
|
| 1183 |
+
"esutils": "^2.0.2",
|
| 1184 |
+
"fast-deep-equal": "^3.1.3",
|
| 1185 |
+
"file-entry-cache": "^8.0.0",
|
| 1186 |
+
"find-up": "^5.0.0",
|
| 1187 |
+
"glob-parent": "^6.0.2",
|
| 1188 |
+
"ignore": "^5.2.0",
|
| 1189 |
+
"imurmurhash": "^0.1.4",
|
| 1190 |
+
"is-glob": "^4.0.0",
|
| 1191 |
+
"json-stable-stringify-without-jsonify": "^1.0.1",
|
| 1192 |
+
"minimatch": "^10.2.4",
|
| 1193 |
+
"natural-compare": "^1.4.0",
|
| 1194 |
+
"optionator": "^0.9.3"
|
| 1195 |
+
},
|
| 1196 |
+
"bin": {
|
| 1197 |
+
"eslint": "bin/eslint.js"
|
| 1198 |
+
},
|
| 1199 |
+
"engines": {
|
| 1200 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 1201 |
+
},
|
| 1202 |
+
"funding": {
|
| 1203 |
+
"url": "https://eslint.org/donate"
|
| 1204 |
+
},
|
| 1205 |
+
"peerDependencies": {
|
| 1206 |
+
"jiti": "*"
|
| 1207 |
+
},
|
| 1208 |
+
"peerDependenciesMeta": {
|
| 1209 |
+
"jiti": {
|
| 1210 |
+
"optional": true
|
| 1211 |
+
}
|
| 1212 |
+
}
|
| 1213 |
+
},
|
| 1214 |
+
"node_modules/eslint-plugin-react-hooks": {
|
| 1215 |
+
"version": "7.1.1",
|
| 1216 |
+
"resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz",
|
| 1217 |
+
"integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",
|
| 1218 |
+
"dev": true,
|
| 1219 |
+
"license": "MIT",
|
| 1220 |
+
"dependencies": {
|
| 1221 |
+
"@babel/core": "^7.24.4",
|
| 1222 |
+
"@babel/parser": "^7.24.4",
|
| 1223 |
+
"hermes-parser": "^0.25.1",
|
| 1224 |
+
"zod": "^3.25.0 || ^4.0.0",
|
| 1225 |
+
"zod-validation-error": "^3.5.0 || ^4.0.0"
|
| 1226 |
+
},
|
| 1227 |
+
"engines": {
|
| 1228 |
+
"node": ">=18"
|
| 1229 |
+
},
|
| 1230 |
+
"peerDependencies": {
|
| 1231 |
+
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"
|
| 1232 |
+
}
|
| 1233 |
+
},
|
| 1234 |
+
"node_modules/eslint-plugin-react-refresh": {
|
| 1235 |
+
"version": "0.5.2",
|
| 1236 |
+
"resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz",
|
| 1237 |
+
"integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==",
|
| 1238 |
+
"dev": true,
|
| 1239 |
+
"license": "MIT",
|
| 1240 |
+
"peerDependencies": {
|
| 1241 |
+
"eslint": "^9 || ^10"
|
| 1242 |
+
}
|
| 1243 |
+
},
|
| 1244 |
+
"node_modules/eslint-scope": {
|
| 1245 |
+
"version": "9.1.2",
|
| 1246 |
+
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz",
|
| 1247 |
+
"integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==",
|
| 1248 |
+
"dev": true,
|
| 1249 |
+
"license": "BSD-2-Clause",
|
| 1250 |
+
"dependencies": {
|
| 1251 |
+
"@types/esrecurse": "^4.3.1",
|
| 1252 |
+
"@types/estree": "^1.0.8",
|
| 1253 |
+
"esrecurse": "^4.3.0",
|
| 1254 |
+
"estraverse": "^5.2.0"
|
| 1255 |
+
},
|
| 1256 |
+
"engines": {
|
| 1257 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 1258 |
+
},
|
| 1259 |
+
"funding": {
|
| 1260 |
+
"url": "https://opencollective.com/eslint"
|
| 1261 |
+
}
|
| 1262 |
+
},
|
| 1263 |
+
"node_modules/eslint-visitor-keys": {
|
| 1264 |
+
"version": "5.0.1",
|
| 1265 |
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
|
| 1266 |
+
"integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
|
| 1267 |
+
"dev": true,
|
| 1268 |
+
"license": "Apache-2.0",
|
| 1269 |
+
"engines": {
|
| 1270 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 1271 |
+
},
|
| 1272 |
+
"funding": {
|
| 1273 |
+
"url": "https://opencollective.com/eslint"
|
| 1274 |
+
}
|
| 1275 |
+
},
|
| 1276 |
+
"node_modules/espree": {
|
| 1277 |
+
"version": "11.2.0",
|
| 1278 |
+
"resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",
|
| 1279 |
+
"integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==",
|
| 1280 |
+
"dev": true,
|
| 1281 |
+
"license": "BSD-2-Clause",
|
| 1282 |
+
"dependencies": {
|
| 1283 |
+
"acorn": "^8.16.0",
|
| 1284 |
+
"acorn-jsx": "^5.3.2",
|
| 1285 |
+
"eslint-visitor-keys": "^5.0.1"
|
| 1286 |
+
},
|
| 1287 |
+
"engines": {
|
| 1288 |
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
| 1289 |
+
},
|
| 1290 |
+
"funding": {
|
| 1291 |
+
"url": "https://opencollective.com/eslint"
|
| 1292 |
+
}
|
| 1293 |
+
},
|
| 1294 |
+
"node_modules/esquery": {
|
| 1295 |
+
"version": "1.7.0",
|
| 1296 |
+
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
|
| 1297 |
+
"integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
|
| 1298 |
+
"dev": true,
|
| 1299 |
+
"license": "BSD-3-Clause",
|
| 1300 |
+
"dependencies": {
|
| 1301 |
+
"estraverse": "^5.1.0"
|
| 1302 |
+
},
|
| 1303 |
+
"engines": {
|
| 1304 |
+
"node": ">=0.10"
|
| 1305 |
+
}
|
| 1306 |
+
},
|
| 1307 |
+
"node_modules/esrecurse": {
|
| 1308 |
+
"version": "4.3.0",
|
| 1309 |
+
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
|
| 1310 |
+
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
|
| 1311 |
+
"dev": true,
|
| 1312 |
+
"license": "BSD-2-Clause",
|
| 1313 |
+
"dependencies": {
|
| 1314 |
+
"estraverse": "^5.2.0"
|
| 1315 |
+
},
|
| 1316 |
+
"engines": {
|
| 1317 |
+
"node": ">=4.0"
|
| 1318 |
+
}
|
| 1319 |
+
},
|
| 1320 |
+
"node_modules/estraverse": {
|
| 1321 |
+
"version": "5.3.0",
|
| 1322 |
+
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
|
| 1323 |
+
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
|
| 1324 |
+
"dev": true,
|
| 1325 |
+
"license": "BSD-2-Clause",
|
| 1326 |
+
"engines": {
|
| 1327 |
+
"node": ">=4.0"
|
| 1328 |
+
}
|
| 1329 |
+
},
|
| 1330 |
+
"node_modules/esutils": {
|
| 1331 |
+
"version": "2.0.3",
|
| 1332 |
+
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
|
| 1333 |
+
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
|
| 1334 |
+
"dev": true,
|
| 1335 |
+
"license": "BSD-2-Clause",
|
| 1336 |
+
"engines": {
|
| 1337 |
+
"node": ">=0.10.0"
|
| 1338 |
+
}
|
| 1339 |
+
},
|
| 1340 |
+
"node_modules/fast-deep-equal": {
|
| 1341 |
+
"version": "3.1.3",
|
| 1342 |
+
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
| 1343 |
+
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
|
| 1344 |
+
"dev": true,
|
| 1345 |
+
"license": "MIT"
|
| 1346 |
+
},
|
| 1347 |
+
"node_modules/fast-json-stable-stringify": {
|
| 1348 |
+
"version": "2.1.0",
|
| 1349 |
+
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
|
| 1350 |
+
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
|
| 1351 |
+
"dev": true,
|
| 1352 |
+
"license": "MIT"
|
| 1353 |
+
},
|
| 1354 |
+
"node_modules/fast-levenshtein": {
|
| 1355 |
+
"version": "2.0.6",
|
| 1356 |
+
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
|
| 1357 |
+
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
|
| 1358 |
+
"dev": true,
|
| 1359 |
+
"license": "MIT"
|
| 1360 |
+
},
|
| 1361 |
+
"node_modules/fdir": {
|
| 1362 |
+
"version": "6.5.0",
|
| 1363 |
+
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
|
| 1364 |
+
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
| 1365 |
+
"dev": true,
|
| 1366 |
+
"license": "MIT",
|
| 1367 |
+
"engines": {
|
| 1368 |
+
"node": ">=12.0.0"
|
| 1369 |
+
},
|
| 1370 |
+
"peerDependencies": {
|
| 1371 |
+
"picomatch": "^3 || ^4"
|
| 1372 |
+
},
|
| 1373 |
+
"peerDependenciesMeta": {
|
| 1374 |
+
"picomatch": {
|
| 1375 |
+
"optional": true
|
| 1376 |
+
}
|
| 1377 |
+
}
|
| 1378 |
+
},
|
| 1379 |
+
"node_modules/file-entry-cache": {
|
| 1380 |
+
"version": "8.0.0",
|
| 1381 |
+
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
|
| 1382 |
+
"integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
|
| 1383 |
+
"dev": true,
|
| 1384 |
+
"license": "MIT",
|
| 1385 |
+
"dependencies": {
|
| 1386 |
+
"flat-cache": "^4.0.0"
|
| 1387 |
+
},
|
| 1388 |
+
"engines": {
|
| 1389 |
+
"node": ">=16.0.0"
|
| 1390 |
+
}
|
| 1391 |
+
},
|
| 1392 |
+
"node_modules/find-up": {
|
| 1393 |
+
"version": "5.0.0",
|
| 1394 |
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
|
| 1395 |
+
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
|
| 1396 |
+
"dev": true,
|
| 1397 |
+
"license": "MIT",
|
| 1398 |
+
"dependencies": {
|
| 1399 |
+
"locate-path": "^6.0.0",
|
| 1400 |
+
"path-exists": "^4.0.0"
|
| 1401 |
+
},
|
| 1402 |
+
"engines": {
|
| 1403 |
+
"node": ">=10"
|
| 1404 |
+
},
|
| 1405 |
+
"funding": {
|
| 1406 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 1407 |
+
}
|
| 1408 |
+
},
|
| 1409 |
+
"node_modules/flat-cache": {
|
| 1410 |
+
"version": "4.0.1",
|
| 1411 |
+
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
|
| 1412 |
+
"integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
|
| 1413 |
+
"dev": true,
|
| 1414 |
+
"license": "MIT",
|
| 1415 |
+
"dependencies": {
|
| 1416 |
+
"flatted": "^3.2.9",
|
| 1417 |
+
"keyv": "^4.5.4"
|
| 1418 |
+
},
|
| 1419 |
+
"engines": {
|
| 1420 |
+
"node": ">=16"
|
| 1421 |
+
}
|
| 1422 |
+
},
|
| 1423 |
+
"node_modules/flatted": {
|
| 1424 |
+
"version": "3.4.2",
|
| 1425 |
+
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
|
| 1426 |
+
"integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
|
| 1427 |
+
"dev": true,
|
| 1428 |
+
"license": "ISC"
|
| 1429 |
+
},
|
| 1430 |
+
"node_modules/fsevents": {
|
| 1431 |
+
"version": "2.3.3",
|
| 1432 |
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
| 1433 |
+
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
| 1434 |
+
"dev": true,
|
| 1435 |
+
"hasInstallScript": true,
|
| 1436 |
+
"license": "MIT",
|
| 1437 |
+
"optional": true,
|
| 1438 |
+
"os": [
|
| 1439 |
+
"darwin"
|
| 1440 |
+
],
|
| 1441 |
+
"engines": {
|
| 1442 |
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
| 1443 |
+
}
|
| 1444 |
+
},
|
| 1445 |
+
"node_modules/gensync": {
|
| 1446 |
+
"version": "1.0.0-beta.2",
|
| 1447 |
+
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
|
| 1448 |
+
"integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
|
| 1449 |
+
"dev": true,
|
| 1450 |
+
"license": "MIT",
|
| 1451 |
+
"engines": {
|
| 1452 |
+
"node": ">=6.9.0"
|
| 1453 |
+
}
|
| 1454 |
+
},
|
| 1455 |
+
"node_modules/glob-parent": {
|
| 1456 |
+
"version": "6.0.2",
|
| 1457 |
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
|
| 1458 |
+
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
|
| 1459 |
+
"dev": true,
|
| 1460 |
+
"license": "ISC",
|
| 1461 |
+
"dependencies": {
|
| 1462 |
+
"is-glob": "^4.0.3"
|
| 1463 |
+
},
|
| 1464 |
+
"engines": {
|
| 1465 |
+
"node": ">=10.13.0"
|
| 1466 |
+
}
|
| 1467 |
+
},
|
| 1468 |
+
"node_modules/globals": {
|
| 1469 |
+
"version": "17.5.0",
|
| 1470 |
+
"resolved": "https://registry.npmjs.org/globals/-/globals-17.5.0.tgz",
|
| 1471 |
+
"integrity": "sha512-qoV+HK2yFl/366t2/Cb3+xxPUo5BuMynomoDmiaZBIdbs+0pYbjfZU+twLhGKp4uCZ/+NbtpVepH5bGCxRyy2g==",
|
| 1472 |
+
"dev": true,
|
| 1473 |
+
"license": "MIT",
|
| 1474 |
+
"engines": {
|
| 1475 |
+
"node": ">=18"
|
| 1476 |
+
},
|
| 1477 |
+
"funding": {
|
| 1478 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 1479 |
+
}
|
| 1480 |
+
},
|
| 1481 |
+
"node_modules/hermes-estree": {
|
| 1482 |
+
"version": "0.25.1",
|
| 1483 |
+
"resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",
|
| 1484 |
+
"integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",
|
| 1485 |
+
"dev": true,
|
| 1486 |
+
"license": "MIT"
|
| 1487 |
+
},
|
| 1488 |
+
"node_modules/hermes-parser": {
|
| 1489 |
+
"version": "0.25.1",
|
| 1490 |
+
"resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",
|
| 1491 |
+
"integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",
|
| 1492 |
+
"dev": true,
|
| 1493 |
+
"license": "MIT",
|
| 1494 |
+
"dependencies": {
|
| 1495 |
+
"hermes-estree": "0.25.1"
|
| 1496 |
+
}
|
| 1497 |
+
},
|
| 1498 |
+
"node_modules/ignore": {
|
| 1499 |
+
"version": "5.3.2",
|
| 1500 |
+
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
|
| 1501 |
+
"integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
|
| 1502 |
+
"dev": true,
|
| 1503 |
+
"license": "MIT",
|
| 1504 |
+
"engines": {
|
| 1505 |
+
"node": ">= 4"
|
| 1506 |
+
}
|
| 1507 |
+
},
|
| 1508 |
+
"node_modules/imurmurhash": {
|
| 1509 |
+
"version": "0.1.4",
|
| 1510 |
+
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
| 1511 |
+
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
|
| 1512 |
+
"dev": true,
|
| 1513 |
+
"license": "MIT",
|
| 1514 |
+
"engines": {
|
| 1515 |
+
"node": ">=0.8.19"
|
| 1516 |
+
}
|
| 1517 |
+
},
|
| 1518 |
+
"node_modules/is-extglob": {
|
| 1519 |
+
"version": "2.1.1",
|
| 1520 |
+
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
| 1521 |
+
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
| 1522 |
+
"dev": true,
|
| 1523 |
+
"license": "MIT",
|
| 1524 |
+
"engines": {
|
| 1525 |
+
"node": ">=0.10.0"
|
| 1526 |
+
}
|
| 1527 |
+
},
|
| 1528 |
+
"node_modules/is-glob": {
|
| 1529 |
+
"version": "4.0.3",
|
| 1530 |
+
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
| 1531 |
+
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
| 1532 |
+
"dev": true,
|
| 1533 |
+
"license": "MIT",
|
| 1534 |
+
"dependencies": {
|
| 1535 |
+
"is-extglob": "^2.1.1"
|
| 1536 |
+
},
|
| 1537 |
+
"engines": {
|
| 1538 |
+
"node": ">=0.10.0"
|
| 1539 |
+
}
|
| 1540 |
+
},
|
| 1541 |
+
"node_modules/isexe": {
|
| 1542 |
+
"version": "2.0.0",
|
| 1543 |
+
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
| 1544 |
+
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
|
| 1545 |
+
"dev": true,
|
| 1546 |
+
"license": "ISC"
|
| 1547 |
+
},
|
| 1548 |
+
"node_modules/js-tokens": {
|
| 1549 |
+
"version": "4.0.0",
|
| 1550 |
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
| 1551 |
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
| 1552 |
+
"dev": true,
|
| 1553 |
+
"license": "MIT"
|
| 1554 |
+
},
|
| 1555 |
+
"node_modules/jsesc": {
|
| 1556 |
+
"version": "3.1.0",
|
| 1557 |
+
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
|
| 1558 |
+
"integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
|
| 1559 |
+
"dev": true,
|
| 1560 |
+
"license": "MIT",
|
| 1561 |
+
"bin": {
|
| 1562 |
+
"jsesc": "bin/jsesc"
|
| 1563 |
+
},
|
| 1564 |
+
"engines": {
|
| 1565 |
+
"node": ">=6"
|
| 1566 |
+
}
|
| 1567 |
+
},
|
| 1568 |
+
"node_modules/json-buffer": {
|
| 1569 |
+
"version": "3.0.1",
|
| 1570 |
+
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
|
| 1571 |
+
"integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
|
| 1572 |
+
"dev": true,
|
| 1573 |
+
"license": "MIT"
|
| 1574 |
+
},
|
| 1575 |
+
"node_modules/json-schema-traverse": {
|
| 1576 |
+
"version": "0.4.1",
|
| 1577 |
+
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
| 1578 |
+
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
| 1579 |
+
"dev": true,
|
| 1580 |
+
"license": "MIT"
|
| 1581 |
+
},
|
| 1582 |
+
"node_modules/json-stable-stringify-without-jsonify": {
|
| 1583 |
+
"version": "1.0.1",
|
| 1584 |
+
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
|
| 1585 |
+
"integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
|
| 1586 |
+
"dev": true,
|
| 1587 |
+
"license": "MIT"
|
| 1588 |
+
},
|
| 1589 |
+
"node_modules/json5": {
|
| 1590 |
+
"version": "2.2.3",
|
| 1591 |
+
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
|
| 1592 |
+
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
|
| 1593 |
+
"dev": true,
|
| 1594 |
+
"license": "MIT",
|
| 1595 |
+
"bin": {
|
| 1596 |
+
"json5": "lib/cli.js"
|
| 1597 |
+
},
|
| 1598 |
+
"engines": {
|
| 1599 |
+
"node": ">=6"
|
| 1600 |
+
}
|
| 1601 |
+
},
|
| 1602 |
+
"node_modules/keyv": {
|
| 1603 |
+
"version": "4.5.4",
|
| 1604 |
+
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
| 1605 |
+
"integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
|
| 1606 |
+
"dev": true,
|
| 1607 |
+
"license": "MIT",
|
| 1608 |
+
"dependencies": {
|
| 1609 |
+
"json-buffer": "3.0.1"
|
| 1610 |
+
}
|
| 1611 |
+
},
|
| 1612 |
+
"node_modules/levn": {
|
| 1613 |
+
"version": "0.4.1",
|
| 1614 |
+
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
| 1615 |
+
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
|
| 1616 |
+
"dev": true,
|
| 1617 |
+
"license": "MIT",
|
| 1618 |
+
"dependencies": {
|
| 1619 |
+
"prelude-ls": "^1.2.1",
|
| 1620 |
+
"type-check": "~0.4.0"
|
| 1621 |
+
},
|
| 1622 |
+
"engines": {
|
| 1623 |
+
"node": ">= 0.8.0"
|
| 1624 |
+
}
|
| 1625 |
+
},
|
| 1626 |
+
"node_modules/lightningcss": {
|
| 1627 |
+
"version": "1.32.0",
|
| 1628 |
+
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
|
| 1629 |
+
"integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
|
| 1630 |
+
"dev": true,
|
| 1631 |
+
"license": "MPL-2.0",
|
| 1632 |
+
"dependencies": {
|
| 1633 |
+
"detect-libc": "^2.0.3"
|
| 1634 |
+
},
|
| 1635 |
+
"engines": {
|
| 1636 |
+
"node": ">= 12.0.0"
|
| 1637 |
+
},
|
| 1638 |
+
"funding": {
|
| 1639 |
+
"type": "opencollective",
|
| 1640 |
+
"url": "https://opencollective.com/parcel"
|
| 1641 |
+
},
|
| 1642 |
+
"optionalDependencies": {
|
| 1643 |
+
"lightningcss-android-arm64": "1.32.0",
|
| 1644 |
+
"lightningcss-darwin-arm64": "1.32.0",
|
| 1645 |
+
"lightningcss-darwin-x64": "1.32.0",
|
| 1646 |
+
"lightningcss-freebsd-x64": "1.32.0",
|
| 1647 |
+
"lightningcss-linux-arm-gnueabihf": "1.32.0",
|
| 1648 |
+
"lightningcss-linux-arm64-gnu": "1.32.0",
|
| 1649 |
+
"lightningcss-linux-arm64-musl": "1.32.0",
|
| 1650 |
+
"lightningcss-linux-x64-gnu": "1.32.0",
|
| 1651 |
+
"lightningcss-linux-x64-musl": "1.32.0",
|
| 1652 |
+
"lightningcss-win32-arm64-msvc": "1.32.0",
|
| 1653 |
+
"lightningcss-win32-x64-msvc": "1.32.0"
|
| 1654 |
+
}
|
| 1655 |
+
},
|
| 1656 |
+
"node_modules/lightningcss-android-arm64": {
|
| 1657 |
+
"version": "1.32.0",
|
| 1658 |
+
"resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
|
| 1659 |
+
"integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
|
| 1660 |
+
"cpu": [
|
| 1661 |
+
"arm64"
|
| 1662 |
+
],
|
| 1663 |
+
"dev": true,
|
| 1664 |
+
"license": "MPL-2.0",
|
| 1665 |
+
"optional": true,
|
| 1666 |
+
"os": [
|
| 1667 |
+
"android"
|
| 1668 |
+
],
|
| 1669 |
+
"engines": {
|
| 1670 |
+
"node": ">= 12.0.0"
|
| 1671 |
+
},
|
| 1672 |
+
"funding": {
|
| 1673 |
+
"type": "opencollective",
|
| 1674 |
+
"url": "https://opencollective.com/parcel"
|
| 1675 |
+
}
|
| 1676 |
+
},
|
| 1677 |
+
"node_modules/lightningcss-darwin-arm64": {
|
| 1678 |
+
"version": "1.32.0",
|
| 1679 |
+
"resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
|
| 1680 |
+
"integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
|
| 1681 |
+
"cpu": [
|
| 1682 |
+
"arm64"
|
| 1683 |
+
],
|
| 1684 |
+
"dev": true,
|
| 1685 |
+
"license": "MPL-2.0",
|
| 1686 |
+
"optional": true,
|
| 1687 |
+
"os": [
|
| 1688 |
+
"darwin"
|
| 1689 |
+
],
|
| 1690 |
+
"engines": {
|
| 1691 |
+
"node": ">= 12.0.0"
|
| 1692 |
+
},
|
| 1693 |
+
"funding": {
|
| 1694 |
+
"type": "opencollective",
|
| 1695 |
+
"url": "https://opencollective.com/parcel"
|
| 1696 |
+
}
|
| 1697 |
+
},
|
| 1698 |
+
"node_modules/lightningcss-darwin-x64": {
|
| 1699 |
+
"version": "1.32.0",
|
| 1700 |
+
"resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
|
| 1701 |
+
"integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
|
| 1702 |
+
"cpu": [
|
| 1703 |
+
"x64"
|
| 1704 |
+
],
|
| 1705 |
+
"dev": true,
|
| 1706 |
+
"license": "MPL-2.0",
|
| 1707 |
+
"optional": true,
|
| 1708 |
+
"os": [
|
| 1709 |
+
"darwin"
|
| 1710 |
+
],
|
| 1711 |
+
"engines": {
|
| 1712 |
+
"node": ">= 12.0.0"
|
| 1713 |
+
},
|
| 1714 |
+
"funding": {
|
| 1715 |
+
"type": "opencollective",
|
| 1716 |
+
"url": "https://opencollective.com/parcel"
|
| 1717 |
+
}
|
| 1718 |
+
},
|
| 1719 |
+
"node_modules/lightningcss-freebsd-x64": {
|
| 1720 |
+
"version": "1.32.0",
|
| 1721 |
+
"resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
|
| 1722 |
+
"integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
|
| 1723 |
+
"cpu": [
|
| 1724 |
+
"x64"
|
| 1725 |
+
],
|
| 1726 |
+
"dev": true,
|
| 1727 |
+
"license": "MPL-2.0",
|
| 1728 |
+
"optional": true,
|
| 1729 |
+
"os": [
|
| 1730 |
+
"freebsd"
|
| 1731 |
+
],
|
| 1732 |
+
"engines": {
|
| 1733 |
+
"node": ">= 12.0.0"
|
| 1734 |
+
},
|
| 1735 |
+
"funding": {
|
| 1736 |
+
"type": "opencollective",
|
| 1737 |
+
"url": "https://opencollective.com/parcel"
|
| 1738 |
+
}
|
| 1739 |
+
},
|
| 1740 |
+
"node_modules/lightningcss-linux-arm-gnueabihf": {
|
| 1741 |
+
"version": "1.32.0",
|
| 1742 |
+
"resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
|
| 1743 |
+
"integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
|
| 1744 |
+
"cpu": [
|
| 1745 |
+
"arm"
|
| 1746 |
+
],
|
| 1747 |
+
"dev": true,
|
| 1748 |
+
"license": "MPL-2.0",
|
| 1749 |
+
"optional": true,
|
| 1750 |
+
"os": [
|
| 1751 |
+
"linux"
|
| 1752 |
+
],
|
| 1753 |
+
"engines": {
|
| 1754 |
+
"node": ">= 12.0.0"
|
| 1755 |
+
},
|
| 1756 |
+
"funding": {
|
| 1757 |
+
"type": "opencollective",
|
| 1758 |
+
"url": "https://opencollective.com/parcel"
|
| 1759 |
+
}
|
| 1760 |
+
},
|
| 1761 |
+
"node_modules/lightningcss-linux-arm64-gnu": {
|
| 1762 |
+
"version": "1.32.0",
|
| 1763 |
+
"resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
|
| 1764 |
+
"integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
|
| 1765 |
+
"cpu": [
|
| 1766 |
+
"arm64"
|
| 1767 |
+
],
|
| 1768 |
+
"dev": true,
|
| 1769 |
+
"libc": [
|
| 1770 |
+
"glibc"
|
| 1771 |
+
],
|
| 1772 |
+
"license": "MPL-2.0",
|
| 1773 |
+
"optional": true,
|
| 1774 |
+
"os": [
|
| 1775 |
+
"linux"
|
| 1776 |
+
],
|
| 1777 |
+
"engines": {
|
| 1778 |
+
"node": ">= 12.0.0"
|
| 1779 |
+
},
|
| 1780 |
+
"funding": {
|
| 1781 |
+
"type": "opencollective",
|
| 1782 |
+
"url": "https://opencollective.com/parcel"
|
| 1783 |
+
}
|
| 1784 |
+
},
|
| 1785 |
+
"node_modules/lightningcss-linux-arm64-musl": {
|
| 1786 |
+
"version": "1.32.0",
|
| 1787 |
+
"resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
|
| 1788 |
+
"integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
|
| 1789 |
+
"cpu": [
|
| 1790 |
+
"arm64"
|
| 1791 |
+
],
|
| 1792 |
+
"dev": true,
|
| 1793 |
+
"libc": [
|
| 1794 |
+
"musl"
|
| 1795 |
+
],
|
| 1796 |
+
"license": "MPL-2.0",
|
| 1797 |
+
"optional": true,
|
| 1798 |
+
"os": [
|
| 1799 |
+
"linux"
|
| 1800 |
+
],
|
| 1801 |
+
"engines": {
|
| 1802 |
+
"node": ">= 12.0.0"
|
| 1803 |
+
},
|
| 1804 |
+
"funding": {
|
| 1805 |
+
"type": "opencollective",
|
| 1806 |
+
"url": "https://opencollective.com/parcel"
|
| 1807 |
+
}
|
| 1808 |
+
},
|
| 1809 |
+
"node_modules/lightningcss-linux-x64-gnu": {
|
| 1810 |
+
"version": "1.32.0",
|
| 1811 |
+
"resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
|
| 1812 |
+
"integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
|
| 1813 |
+
"cpu": [
|
| 1814 |
+
"x64"
|
| 1815 |
+
],
|
| 1816 |
+
"dev": true,
|
| 1817 |
+
"libc": [
|
| 1818 |
+
"glibc"
|
| 1819 |
+
],
|
| 1820 |
+
"license": "MPL-2.0",
|
| 1821 |
+
"optional": true,
|
| 1822 |
+
"os": [
|
| 1823 |
+
"linux"
|
| 1824 |
+
],
|
| 1825 |
+
"engines": {
|
| 1826 |
+
"node": ">= 12.0.0"
|
| 1827 |
+
},
|
| 1828 |
+
"funding": {
|
| 1829 |
+
"type": "opencollective",
|
| 1830 |
+
"url": "https://opencollective.com/parcel"
|
| 1831 |
+
}
|
| 1832 |
+
},
|
| 1833 |
+
"node_modules/lightningcss-linux-x64-musl": {
|
| 1834 |
+
"version": "1.32.0",
|
| 1835 |
+
"resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
|
| 1836 |
+
"integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
|
| 1837 |
+
"cpu": [
|
| 1838 |
+
"x64"
|
| 1839 |
+
],
|
| 1840 |
+
"dev": true,
|
| 1841 |
+
"libc": [
|
| 1842 |
+
"musl"
|
| 1843 |
+
],
|
| 1844 |
+
"license": "MPL-2.0",
|
| 1845 |
+
"optional": true,
|
| 1846 |
+
"os": [
|
| 1847 |
+
"linux"
|
| 1848 |
+
],
|
| 1849 |
+
"engines": {
|
| 1850 |
+
"node": ">= 12.0.0"
|
| 1851 |
+
},
|
| 1852 |
+
"funding": {
|
| 1853 |
+
"type": "opencollective",
|
| 1854 |
+
"url": "https://opencollective.com/parcel"
|
| 1855 |
+
}
|
| 1856 |
+
},
|
| 1857 |
+
"node_modules/lightningcss-win32-arm64-msvc": {
|
| 1858 |
+
"version": "1.32.0",
|
| 1859 |
+
"resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
|
| 1860 |
+
"integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
|
| 1861 |
+
"cpu": [
|
| 1862 |
+
"arm64"
|
| 1863 |
+
],
|
| 1864 |
+
"dev": true,
|
| 1865 |
+
"license": "MPL-2.0",
|
| 1866 |
+
"optional": true,
|
| 1867 |
+
"os": [
|
| 1868 |
+
"win32"
|
| 1869 |
+
],
|
| 1870 |
+
"engines": {
|
| 1871 |
+
"node": ">= 12.0.0"
|
| 1872 |
+
},
|
| 1873 |
+
"funding": {
|
| 1874 |
+
"type": "opencollective",
|
| 1875 |
+
"url": "https://opencollective.com/parcel"
|
| 1876 |
+
}
|
| 1877 |
+
},
|
| 1878 |
+
"node_modules/lightningcss-win32-x64-msvc": {
|
| 1879 |
+
"version": "1.32.0",
|
| 1880 |
+
"resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
|
| 1881 |
+
"integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
|
| 1882 |
+
"cpu": [
|
| 1883 |
+
"x64"
|
| 1884 |
+
],
|
| 1885 |
+
"dev": true,
|
| 1886 |
+
"license": "MPL-2.0",
|
| 1887 |
+
"optional": true,
|
| 1888 |
+
"os": [
|
| 1889 |
+
"win32"
|
| 1890 |
+
],
|
| 1891 |
+
"engines": {
|
| 1892 |
+
"node": ">= 12.0.0"
|
| 1893 |
+
},
|
| 1894 |
+
"funding": {
|
| 1895 |
+
"type": "opencollective",
|
| 1896 |
+
"url": "https://opencollective.com/parcel"
|
| 1897 |
+
}
|
| 1898 |
+
},
|
| 1899 |
+
"node_modules/locate-path": {
|
| 1900 |
+
"version": "6.0.0",
|
| 1901 |
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
| 1902 |
+
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
|
| 1903 |
+
"dev": true,
|
| 1904 |
+
"license": "MIT",
|
| 1905 |
+
"dependencies": {
|
| 1906 |
+
"p-locate": "^5.0.0"
|
| 1907 |
+
},
|
| 1908 |
+
"engines": {
|
| 1909 |
+
"node": ">=10"
|
| 1910 |
+
},
|
| 1911 |
+
"funding": {
|
| 1912 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 1913 |
+
}
|
| 1914 |
+
},
|
| 1915 |
+
"node_modules/lru-cache": {
|
| 1916 |
+
"version": "5.1.1",
|
| 1917 |
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
|
| 1918 |
+
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
|
| 1919 |
+
"dev": true,
|
| 1920 |
+
"license": "ISC",
|
| 1921 |
+
"dependencies": {
|
| 1922 |
+
"yallist": "^3.0.2"
|
| 1923 |
+
}
|
| 1924 |
+
},
|
| 1925 |
+
"node_modules/minimatch": {
|
| 1926 |
+
"version": "10.2.5",
|
| 1927 |
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
| 1928 |
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
| 1929 |
+
"dev": true,
|
| 1930 |
+
"license": "BlueOak-1.0.0",
|
| 1931 |
+
"dependencies": {
|
| 1932 |
+
"brace-expansion": "^5.0.5"
|
| 1933 |
+
},
|
| 1934 |
+
"engines": {
|
| 1935 |
+
"node": "18 || 20 || >=22"
|
| 1936 |
+
},
|
| 1937 |
+
"funding": {
|
| 1938 |
+
"url": "https://github.com/sponsors/isaacs"
|
| 1939 |
+
}
|
| 1940 |
+
},
|
| 1941 |
+
"node_modules/ms": {
|
| 1942 |
+
"version": "2.1.3",
|
| 1943 |
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
| 1944 |
+
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
| 1945 |
+
"dev": true,
|
| 1946 |
+
"license": "MIT"
|
| 1947 |
+
},
|
| 1948 |
+
"node_modules/nanoid": {
|
| 1949 |
+
"version": "3.3.11",
|
| 1950 |
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
|
| 1951 |
+
"integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
|
| 1952 |
+
"dev": true,
|
| 1953 |
+
"funding": [
|
| 1954 |
+
{
|
| 1955 |
+
"type": "github",
|
| 1956 |
+
"url": "https://github.com/sponsors/ai"
|
| 1957 |
+
}
|
| 1958 |
+
],
|
| 1959 |
+
"license": "MIT",
|
| 1960 |
+
"bin": {
|
| 1961 |
+
"nanoid": "bin/nanoid.cjs"
|
| 1962 |
+
},
|
| 1963 |
+
"engines": {
|
| 1964 |
+
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 1965 |
+
}
|
| 1966 |
+
},
|
| 1967 |
+
"node_modules/natural-compare": {
|
| 1968 |
+
"version": "1.4.0",
|
| 1969 |
+
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
| 1970 |
+
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
|
| 1971 |
+
"dev": true,
|
| 1972 |
+
"license": "MIT"
|
| 1973 |
+
},
|
| 1974 |
+
"node_modules/node-releases": {
|
| 1975 |
+
"version": "2.0.38",
|
| 1976 |
+
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.38.tgz",
|
| 1977 |
+
"integrity": "sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==",
|
| 1978 |
+
"dev": true,
|
| 1979 |
+
"license": "MIT"
|
| 1980 |
+
},
|
| 1981 |
+
"node_modules/optionator": {
|
| 1982 |
+
"version": "0.9.4",
|
| 1983 |
+
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
|
| 1984 |
+
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
|
| 1985 |
+
"dev": true,
|
| 1986 |
+
"license": "MIT",
|
| 1987 |
+
"dependencies": {
|
| 1988 |
+
"deep-is": "^0.1.3",
|
| 1989 |
+
"fast-levenshtein": "^2.0.6",
|
| 1990 |
+
"levn": "^0.4.1",
|
| 1991 |
+
"prelude-ls": "^1.2.1",
|
| 1992 |
+
"type-check": "^0.4.0",
|
| 1993 |
+
"word-wrap": "^1.2.5"
|
| 1994 |
+
},
|
| 1995 |
+
"engines": {
|
| 1996 |
+
"node": ">= 0.8.0"
|
| 1997 |
+
}
|
| 1998 |
+
},
|
| 1999 |
+
"node_modules/p-limit": {
|
| 2000 |
+
"version": "3.1.0",
|
| 2001 |
+
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
|
| 2002 |
+
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
|
| 2003 |
+
"dev": true,
|
| 2004 |
+
"license": "MIT",
|
| 2005 |
+
"dependencies": {
|
| 2006 |
+
"yocto-queue": "^0.1.0"
|
| 2007 |
+
},
|
| 2008 |
+
"engines": {
|
| 2009 |
+
"node": ">=10"
|
| 2010 |
+
},
|
| 2011 |
+
"funding": {
|
| 2012 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 2013 |
+
}
|
| 2014 |
+
},
|
| 2015 |
+
"node_modules/p-locate": {
|
| 2016 |
+
"version": "5.0.0",
|
| 2017 |
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
|
| 2018 |
+
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
|
| 2019 |
+
"dev": true,
|
| 2020 |
+
"license": "MIT",
|
| 2021 |
+
"dependencies": {
|
| 2022 |
+
"p-limit": "^3.0.2"
|
| 2023 |
+
},
|
| 2024 |
+
"engines": {
|
| 2025 |
+
"node": ">=10"
|
| 2026 |
+
},
|
| 2027 |
+
"funding": {
|
| 2028 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 2029 |
+
}
|
| 2030 |
+
},
|
| 2031 |
+
"node_modules/path-exists": {
|
| 2032 |
+
"version": "4.0.0",
|
| 2033 |
+
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
|
| 2034 |
+
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
|
| 2035 |
+
"dev": true,
|
| 2036 |
+
"license": "MIT",
|
| 2037 |
+
"engines": {
|
| 2038 |
+
"node": ">=8"
|
| 2039 |
+
}
|
| 2040 |
+
},
|
| 2041 |
+
"node_modules/path-key": {
|
| 2042 |
+
"version": "3.1.1",
|
| 2043 |
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
| 2044 |
+
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
|
| 2045 |
+
"dev": true,
|
| 2046 |
+
"license": "MIT",
|
| 2047 |
+
"engines": {
|
| 2048 |
+
"node": ">=8"
|
| 2049 |
+
}
|
| 2050 |
+
},
|
| 2051 |
+
"node_modules/picocolors": {
|
| 2052 |
+
"version": "1.1.1",
|
| 2053 |
+
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
| 2054 |
+
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
| 2055 |
+
"dev": true,
|
| 2056 |
+
"license": "ISC"
|
| 2057 |
+
},
|
| 2058 |
+
"node_modules/picomatch": {
|
| 2059 |
+
"version": "4.0.4",
|
| 2060 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
| 2061 |
+
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
| 2062 |
+
"dev": true,
|
| 2063 |
+
"license": "MIT",
|
| 2064 |
+
"engines": {
|
| 2065 |
+
"node": ">=12"
|
| 2066 |
+
},
|
| 2067 |
+
"funding": {
|
| 2068 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
| 2069 |
+
}
|
| 2070 |
+
},
|
| 2071 |
+
"node_modules/postcss": {
|
| 2072 |
+
"version": "8.5.10",
|
| 2073 |
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz",
|
| 2074 |
+
"integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==",
|
| 2075 |
+
"dev": true,
|
| 2076 |
+
"funding": [
|
| 2077 |
+
{
|
| 2078 |
+
"type": "opencollective",
|
| 2079 |
+
"url": "https://opencollective.com/postcss/"
|
| 2080 |
+
},
|
| 2081 |
+
{
|
| 2082 |
+
"type": "tidelift",
|
| 2083 |
+
"url": "https://tidelift.com/funding/github/npm/postcss"
|
| 2084 |
+
},
|
| 2085 |
+
{
|
| 2086 |
+
"type": "github",
|
| 2087 |
+
"url": "https://github.com/sponsors/ai"
|
| 2088 |
+
}
|
| 2089 |
+
],
|
| 2090 |
+
"license": "MIT",
|
| 2091 |
+
"dependencies": {
|
| 2092 |
+
"nanoid": "^3.3.11",
|
| 2093 |
+
"picocolors": "^1.1.1",
|
| 2094 |
+
"source-map-js": "^1.2.1"
|
| 2095 |
+
},
|
| 2096 |
+
"engines": {
|
| 2097 |
+
"node": "^10 || ^12 || >=14"
|
| 2098 |
+
}
|
| 2099 |
+
},
|
| 2100 |
+
"node_modules/prelude-ls": {
|
| 2101 |
+
"version": "1.2.1",
|
| 2102 |
+
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
| 2103 |
+
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
|
| 2104 |
+
"dev": true,
|
| 2105 |
+
"license": "MIT",
|
| 2106 |
+
"engines": {
|
| 2107 |
+
"node": ">= 0.8.0"
|
| 2108 |
+
}
|
| 2109 |
+
},
|
| 2110 |
+
"node_modules/punycode": {
|
| 2111 |
+
"version": "2.3.1",
|
| 2112 |
+
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
|
| 2113 |
+
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
|
| 2114 |
+
"dev": true,
|
| 2115 |
+
"license": "MIT",
|
| 2116 |
+
"engines": {
|
| 2117 |
+
"node": ">=6"
|
| 2118 |
+
}
|
| 2119 |
+
},
|
| 2120 |
+
"node_modules/react": {
|
| 2121 |
+
"version": "19.2.5",
|
| 2122 |
+
"resolved": "https://registry.npmjs.org/react/-/react-19.2.5.tgz",
|
| 2123 |
+
"integrity": "sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==",
|
| 2124 |
+
"license": "MIT",
|
| 2125 |
+
"engines": {
|
| 2126 |
+
"node": ">=0.10.0"
|
| 2127 |
+
}
|
| 2128 |
+
},
|
| 2129 |
+
"node_modules/react-dom": {
|
| 2130 |
+
"version": "19.2.5",
|
| 2131 |
+
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.5.tgz",
|
| 2132 |
+
"integrity": "sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==",
|
| 2133 |
+
"license": "MIT",
|
| 2134 |
+
"dependencies": {
|
| 2135 |
+
"scheduler": "^0.27.0"
|
| 2136 |
+
},
|
| 2137 |
+
"peerDependencies": {
|
| 2138 |
+
"react": "^19.2.5"
|
| 2139 |
+
}
|
| 2140 |
+
},
|
| 2141 |
+
"node_modules/rolldown": {
|
| 2142 |
+
"version": "1.0.0-rc.17",
|
| 2143 |
+
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.17.tgz",
|
| 2144 |
+
"integrity": "sha512-ZrT53oAKrtA4+YtBWPQbtPOxIbVDbxT0orcYERKd63VJTF13zPcgXTvD4843L8pcsI7M6MErt8QtON6lrB9tyA==",
|
| 2145 |
+
"dev": true,
|
| 2146 |
+
"license": "MIT",
|
| 2147 |
+
"dependencies": {
|
| 2148 |
+
"@oxc-project/types": "=0.127.0",
|
| 2149 |
+
"@rolldown/pluginutils": "1.0.0-rc.17"
|
| 2150 |
+
},
|
| 2151 |
+
"bin": {
|
| 2152 |
+
"rolldown": "bin/cli.mjs"
|
| 2153 |
+
},
|
| 2154 |
+
"engines": {
|
| 2155 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 2156 |
+
},
|
| 2157 |
+
"optionalDependencies": {
|
| 2158 |
+
"@rolldown/binding-android-arm64": "1.0.0-rc.17",
|
| 2159 |
+
"@rolldown/binding-darwin-arm64": "1.0.0-rc.17",
|
| 2160 |
+
"@rolldown/binding-darwin-x64": "1.0.0-rc.17",
|
| 2161 |
+
"@rolldown/binding-freebsd-x64": "1.0.0-rc.17",
|
| 2162 |
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.17",
|
| 2163 |
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.17",
|
| 2164 |
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-rc.17",
|
| 2165 |
+
"@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.17",
|
| 2166 |
+
"@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.17",
|
| 2167 |
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-rc.17",
|
| 2168 |
+
"@rolldown/binding-linux-x64-musl": "1.0.0-rc.17",
|
| 2169 |
+
"@rolldown/binding-openharmony-arm64": "1.0.0-rc.17",
|
| 2170 |
+
"@rolldown/binding-wasm32-wasi": "1.0.0-rc.17",
|
| 2171 |
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.17",
|
| 2172 |
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-rc.17"
|
| 2173 |
+
}
|
| 2174 |
+
},
|
| 2175 |
+
"node_modules/rolldown/node_modules/@rolldown/pluginutils": {
|
| 2176 |
+
"version": "1.0.0-rc.17",
|
| 2177 |
+
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz",
|
| 2178 |
+
"integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==",
|
| 2179 |
+
"dev": true,
|
| 2180 |
+
"license": "MIT"
|
| 2181 |
+
},
|
| 2182 |
+
"node_modules/scheduler": {
|
| 2183 |
+
"version": "0.27.0",
|
| 2184 |
+
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
|
| 2185 |
+
"integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
|
| 2186 |
+
"license": "MIT"
|
| 2187 |
+
},
|
| 2188 |
+
"node_modules/semver": {
|
| 2189 |
+
"version": "6.3.1",
|
| 2190 |
+
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
|
| 2191 |
+
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
|
| 2192 |
+
"dev": true,
|
| 2193 |
+
"license": "ISC",
|
| 2194 |
+
"bin": {
|
| 2195 |
+
"semver": "bin/semver.js"
|
| 2196 |
+
}
|
| 2197 |
+
},
|
| 2198 |
+
"node_modules/shebang-command": {
|
| 2199 |
+
"version": "2.0.0",
|
| 2200 |
+
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
| 2201 |
+
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
|
| 2202 |
+
"dev": true,
|
| 2203 |
+
"license": "MIT",
|
| 2204 |
+
"dependencies": {
|
| 2205 |
+
"shebang-regex": "^3.0.0"
|
| 2206 |
+
},
|
| 2207 |
+
"engines": {
|
| 2208 |
+
"node": ">=8"
|
| 2209 |
+
}
|
| 2210 |
+
},
|
| 2211 |
+
"node_modules/shebang-regex": {
|
| 2212 |
+
"version": "3.0.0",
|
| 2213 |
+
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
|
| 2214 |
+
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
|
| 2215 |
+
"dev": true,
|
| 2216 |
+
"license": "MIT",
|
| 2217 |
+
"engines": {
|
| 2218 |
+
"node": ">=8"
|
| 2219 |
+
}
|
| 2220 |
+
},
|
| 2221 |
+
"node_modules/source-map-js": {
|
| 2222 |
+
"version": "1.2.1",
|
| 2223 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
|
| 2224 |
+
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
|
| 2225 |
+
"dev": true,
|
| 2226 |
+
"license": "BSD-3-Clause",
|
| 2227 |
+
"engines": {
|
| 2228 |
+
"node": ">=0.10.0"
|
| 2229 |
+
}
|
| 2230 |
+
},
|
| 2231 |
+
"node_modules/tinyglobby": {
|
| 2232 |
+
"version": "0.2.16",
|
| 2233 |
+
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
|
| 2234 |
+
"integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
|
| 2235 |
+
"dev": true,
|
| 2236 |
+
"license": "MIT",
|
| 2237 |
+
"dependencies": {
|
| 2238 |
+
"fdir": "^6.5.0",
|
| 2239 |
+
"picomatch": "^4.0.4"
|
| 2240 |
+
},
|
| 2241 |
+
"engines": {
|
| 2242 |
+
"node": ">=12.0.0"
|
| 2243 |
+
},
|
| 2244 |
+
"funding": {
|
| 2245 |
+
"url": "https://github.com/sponsors/SuperchupuDev"
|
| 2246 |
+
}
|
| 2247 |
+
},
|
| 2248 |
+
"node_modules/tslib": {
|
| 2249 |
+
"version": "2.8.1",
|
| 2250 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
| 2251 |
+
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
| 2252 |
+
"dev": true,
|
| 2253 |
+
"license": "0BSD",
|
| 2254 |
+
"optional": true
|
| 2255 |
+
},
|
| 2256 |
+
"node_modules/type-check": {
|
| 2257 |
+
"version": "0.4.0",
|
| 2258 |
+
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
| 2259 |
+
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
|
| 2260 |
+
"dev": true,
|
| 2261 |
+
"license": "MIT",
|
| 2262 |
+
"dependencies": {
|
| 2263 |
+
"prelude-ls": "^1.2.1"
|
| 2264 |
+
},
|
| 2265 |
+
"engines": {
|
| 2266 |
+
"node": ">= 0.8.0"
|
| 2267 |
+
}
|
| 2268 |
+
},
|
| 2269 |
+
"node_modules/update-browserslist-db": {
|
| 2270 |
+
"version": "1.2.3",
|
| 2271 |
+
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
|
| 2272 |
+
"integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
|
| 2273 |
+
"dev": true,
|
| 2274 |
+
"funding": [
|
| 2275 |
+
{
|
| 2276 |
+
"type": "opencollective",
|
| 2277 |
+
"url": "https://opencollective.com/browserslist"
|
| 2278 |
+
},
|
| 2279 |
+
{
|
| 2280 |
+
"type": "tidelift",
|
| 2281 |
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
| 2282 |
+
},
|
| 2283 |
+
{
|
| 2284 |
+
"type": "github",
|
| 2285 |
+
"url": "https://github.com/sponsors/ai"
|
| 2286 |
+
}
|
| 2287 |
+
],
|
| 2288 |
+
"license": "MIT",
|
| 2289 |
+
"dependencies": {
|
| 2290 |
+
"escalade": "^3.2.0",
|
| 2291 |
+
"picocolors": "^1.1.1"
|
| 2292 |
+
},
|
| 2293 |
+
"bin": {
|
| 2294 |
+
"update-browserslist-db": "cli.js"
|
| 2295 |
+
},
|
| 2296 |
+
"peerDependencies": {
|
| 2297 |
+
"browserslist": ">= 4.21.0"
|
| 2298 |
+
}
|
| 2299 |
+
},
|
| 2300 |
+
"node_modules/uri-js": {
|
| 2301 |
+
"version": "4.4.1",
|
| 2302 |
+
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
|
| 2303 |
+
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
|
| 2304 |
+
"dev": true,
|
| 2305 |
+
"license": "BSD-2-Clause",
|
| 2306 |
+
"dependencies": {
|
| 2307 |
+
"punycode": "^2.1.0"
|
| 2308 |
+
}
|
| 2309 |
+
},
|
| 2310 |
+
"node_modules/vite": {
|
| 2311 |
+
"version": "8.0.10",
|
| 2312 |
+
"resolved": "https://registry.npmjs.org/vite/-/vite-8.0.10.tgz",
|
| 2313 |
+
"integrity": "sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==",
|
| 2314 |
+
"dev": true,
|
| 2315 |
+
"license": "MIT",
|
| 2316 |
+
"dependencies": {
|
| 2317 |
+
"lightningcss": "^1.32.0",
|
| 2318 |
+
"picomatch": "^4.0.4",
|
| 2319 |
+
"postcss": "^8.5.10",
|
| 2320 |
+
"rolldown": "1.0.0-rc.17",
|
| 2321 |
+
"tinyglobby": "^0.2.16"
|
| 2322 |
+
},
|
| 2323 |
+
"bin": {
|
| 2324 |
+
"vite": "bin/vite.js"
|
| 2325 |
+
},
|
| 2326 |
+
"engines": {
|
| 2327 |
+
"node": "^20.19.0 || >=22.12.0"
|
| 2328 |
+
},
|
| 2329 |
+
"funding": {
|
| 2330 |
+
"url": "https://github.com/vitejs/vite?sponsor=1"
|
| 2331 |
+
},
|
| 2332 |
+
"optionalDependencies": {
|
| 2333 |
+
"fsevents": "~2.3.3"
|
| 2334 |
+
},
|
| 2335 |
+
"peerDependencies": {
|
| 2336 |
+
"@types/node": "^20.19.0 || >=22.12.0",
|
| 2337 |
+
"@vitejs/devtools": "^0.1.0",
|
| 2338 |
+
"esbuild": "^0.27.0 || ^0.28.0",
|
| 2339 |
+
"jiti": ">=1.21.0",
|
| 2340 |
+
"less": "^4.0.0",
|
| 2341 |
+
"sass": "^1.70.0",
|
| 2342 |
+
"sass-embedded": "^1.70.0",
|
| 2343 |
+
"stylus": ">=0.54.8",
|
| 2344 |
+
"sugarss": "^5.0.0",
|
| 2345 |
+
"terser": "^5.16.0",
|
| 2346 |
+
"tsx": "^4.8.1",
|
| 2347 |
+
"yaml": "^2.4.2"
|
| 2348 |
+
},
|
| 2349 |
+
"peerDependenciesMeta": {
|
| 2350 |
+
"@types/node": {
|
| 2351 |
+
"optional": true
|
| 2352 |
+
},
|
| 2353 |
+
"@vitejs/devtools": {
|
| 2354 |
+
"optional": true
|
| 2355 |
+
},
|
| 2356 |
+
"esbuild": {
|
| 2357 |
+
"optional": true
|
| 2358 |
+
},
|
| 2359 |
+
"jiti": {
|
| 2360 |
+
"optional": true
|
| 2361 |
+
},
|
| 2362 |
+
"less": {
|
| 2363 |
+
"optional": true
|
| 2364 |
+
},
|
| 2365 |
+
"sass": {
|
| 2366 |
+
"optional": true
|
| 2367 |
+
},
|
| 2368 |
+
"sass-embedded": {
|
| 2369 |
+
"optional": true
|
| 2370 |
+
},
|
| 2371 |
+
"stylus": {
|
| 2372 |
+
"optional": true
|
| 2373 |
+
},
|
| 2374 |
+
"sugarss": {
|
| 2375 |
+
"optional": true
|
| 2376 |
+
},
|
| 2377 |
+
"terser": {
|
| 2378 |
+
"optional": true
|
| 2379 |
+
},
|
| 2380 |
+
"tsx": {
|
| 2381 |
+
"optional": true
|
| 2382 |
+
},
|
| 2383 |
+
"yaml": {
|
| 2384 |
+
"optional": true
|
| 2385 |
+
}
|
| 2386 |
+
}
|
| 2387 |
+
},
|
| 2388 |
+
"node_modules/which": {
|
| 2389 |
+
"version": "2.0.2",
|
| 2390 |
+
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
| 2391 |
+
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
|
| 2392 |
+
"dev": true,
|
| 2393 |
+
"license": "ISC",
|
| 2394 |
+
"dependencies": {
|
| 2395 |
+
"isexe": "^2.0.0"
|
| 2396 |
+
},
|
| 2397 |
+
"bin": {
|
| 2398 |
+
"node-which": "bin/node-which"
|
| 2399 |
+
},
|
| 2400 |
+
"engines": {
|
| 2401 |
+
"node": ">= 8"
|
| 2402 |
+
}
|
| 2403 |
+
},
|
| 2404 |
+
"node_modules/word-wrap": {
|
| 2405 |
+
"version": "1.2.5",
|
| 2406 |
+
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
|
| 2407 |
+
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
|
| 2408 |
+
"dev": true,
|
| 2409 |
+
"license": "MIT",
|
| 2410 |
+
"engines": {
|
| 2411 |
+
"node": ">=0.10.0"
|
| 2412 |
+
}
|
| 2413 |
+
},
|
| 2414 |
+
"node_modules/yallist": {
|
| 2415 |
+
"version": "3.1.1",
|
| 2416 |
+
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
|
| 2417 |
+
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
|
| 2418 |
+
"dev": true,
|
| 2419 |
+
"license": "ISC"
|
| 2420 |
+
},
|
| 2421 |
+
"node_modules/yocto-queue": {
|
| 2422 |
+
"version": "0.1.0",
|
| 2423 |
+
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
|
| 2424 |
+
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
|
| 2425 |
+
"dev": true,
|
| 2426 |
+
"license": "MIT",
|
| 2427 |
+
"engines": {
|
| 2428 |
+
"node": ">=10"
|
| 2429 |
+
},
|
| 2430 |
+
"funding": {
|
| 2431 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 2432 |
+
}
|
| 2433 |
+
},
|
| 2434 |
+
"node_modules/zod": {
|
| 2435 |
+
"version": "4.3.6",
|
| 2436 |
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
|
| 2437 |
+
"integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
|
| 2438 |
+
"dev": true,
|
| 2439 |
+
"license": "MIT",
|
| 2440 |
+
"funding": {
|
| 2441 |
+
"url": "https://github.com/sponsors/colinhacks"
|
| 2442 |
+
}
|
| 2443 |
+
},
|
| 2444 |
+
"node_modules/zod-validation-error": {
|
| 2445 |
+
"version": "4.0.2",
|
| 2446 |
+
"resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
|
| 2447 |
+
"integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
|
| 2448 |
+
"dev": true,
|
| 2449 |
+
"license": "MIT",
|
| 2450 |
+
"engines": {
|
| 2451 |
+
"node": ">=18.0.0"
|
| 2452 |
+
},
|
| 2453 |
+
"peerDependencies": {
|
| 2454 |
+
"zod": "^3.25.0 || ^4.0.0"
|
| 2455 |
+
}
|
| 2456 |
+
}
|
| 2457 |
+
}
|
| 2458 |
+
}
|
frontend/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "frontend",
|
| 3 |
+
"private": true,
|
| 4 |
+
"version": "0.0.0",
|
| 5 |
+
"type": "module",
|
| 6 |
+
"scripts": {
|
| 7 |
+
"dev": "vite",
|
| 8 |
+
"build": "vite build",
|
| 9 |
+
"lint": "eslint .",
|
| 10 |
+
"preview": "vite preview"
|
| 11 |
+
},
|
| 12 |
+
"dependencies": {
|
| 13 |
+
"react": "^19.2.5",
|
| 14 |
+
"react-dom": "^19.2.5"
|
| 15 |
+
},
|
| 16 |
+
"devDependencies": {
|
| 17 |
+
"@eslint/js": "^10.0.1",
|
| 18 |
+
"@types/react": "^19.2.14",
|
| 19 |
+
"@types/react-dom": "^19.2.3",
|
| 20 |
+
"@vitejs/plugin-react": "^6.0.1",
|
| 21 |
+
"eslint": "^10.2.1",
|
| 22 |
+
"eslint-plugin-react-hooks": "^7.1.1",
|
| 23 |
+
"eslint-plugin-react-refresh": "^0.5.2",
|
| 24 |
+
"globals": "^17.5.0",
|
| 25 |
+
"vite": "^8.0.10"
|
| 26 |
+
}
|
| 27 |
+
}
|
frontend/src/App.css
ADDED
|
@@ -0,0 +1,820 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.view-shell {
|
| 2 |
+
min-height: 100vh;
|
| 3 |
+
width: min(1200px, 92vw);
|
| 4 |
+
margin: 0 auto;
|
| 5 |
+
padding: clamp(2rem, 3vw, 3.5rem) 0;
|
| 6 |
+
display: grid;
|
| 7 |
+
place-items: center;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.rise {
|
| 11 |
+
animation: riseIn 700ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.landing-shell {
|
| 15 |
+
position: relative;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.landing-card {
|
| 19 |
+
width: min(860px, 100%);
|
| 20 |
+
background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(13, 13, 17, 0.9) 100%);
|
| 21 |
+
border: 1px solid var(--line-soft);
|
| 22 |
+
border-radius: var(--radius-lg);
|
| 23 |
+
box-shadow: var(--shadow-depth);
|
| 24 |
+
padding: clamp(1.5rem, 3vw, 3.5rem);
|
| 25 |
+
text-align: center;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.eyebrow {
|
| 29 |
+
margin-bottom: 0.9rem;
|
| 30 |
+
color: var(--text-muted);
|
| 31 |
+
text-transform: uppercase;
|
| 32 |
+
letter-spacing: 0.15em;
|
| 33 |
+
font-size: 0.78rem;
|
| 34 |
+
font-weight: 700;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.centered {
|
| 38 |
+
text-align: center;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.landing-title {
|
| 42 |
+
font-size: clamp(2rem, 5vw, 3.5rem);
|
| 43 |
+
line-height: 0.95;
|
| 44 |
+
margin-bottom: 1rem;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.landing-subtitle {
|
| 48 |
+
max-width: 68ch;
|
| 49 |
+
color: var(--text-muted);
|
| 50 |
+
font-size: clamp(1rem, 2vw, 1.18rem);
|
| 51 |
+
margin-bottom: 1.5rem;
|
| 52 |
+
margin-inline: auto;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.landing-metrics {
|
| 56 |
+
display: flex;
|
| 57 |
+
flex-wrap: wrap;
|
| 58 |
+
justify-content: center;
|
| 59 |
+
gap: 0.7rem;
|
| 60 |
+
margin-bottom: 1.6rem;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.landing-metrics span {
|
| 64 |
+
border: 1px solid var(--line-soft);
|
| 65 |
+
background: rgba(255, 255, 255, 0.02);
|
| 66 |
+
border-radius: 999px;
|
| 67 |
+
padding: 0.35rem 0.8rem;
|
| 68 |
+
font-size: 0.82rem;
|
| 69 |
+
color: var(--text-muted);
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.match-form {
|
| 73 |
+
display: grid;
|
| 74 |
+
gap: 0.55rem;
|
| 75 |
+
text-align: left;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.input-label {
|
| 79 |
+
color: var(--text-muted);
|
| 80 |
+
font-size: 0.88rem;
|
| 81 |
+
text-transform: uppercase;
|
| 82 |
+
letter-spacing: 0.09em;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.input-row {
|
| 86 |
+
display: grid;
|
| 87 |
+
grid-template-columns: 1fr auto;
|
| 88 |
+
gap: 0.6rem;
|
| 89 |
+
padding: 0.5rem;
|
| 90 |
+
border: 1px solid var(--line-soft);
|
| 91 |
+
border-radius: var(--radius-md);
|
| 92 |
+
background: var(--bg-panel-soft);
|
| 93 |
+
transition: border-color 240ms ease, box-shadow 240ms ease;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.input-row:focus-within {
|
| 97 |
+
border-color: var(--line-strong);
|
| 98 |
+
box-shadow: 0 0 0 3px rgba(198, 167, 105, 0.18);
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.input-row.has-error {
|
| 102 |
+
border-color: rgba(196, 88, 88, 0.7);
|
| 103 |
+
box-shadow: 0 0 0 3px rgba(196, 88, 88, 0.2);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.match-input {
|
| 107 |
+
border: 0;
|
| 108 |
+
background: transparent;
|
| 109 |
+
color: var(--text-strong);
|
| 110 |
+
font-size: 1.05rem;
|
| 111 |
+
padding: 0.75rem 0.85rem;
|
| 112 |
+
outline: none;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.match-input::placeholder {
|
| 116 |
+
color: var(--text-subtle);
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.primary-btn,
|
| 120 |
+
.ghost-btn {
|
| 121 |
+
border: 0;
|
| 122 |
+
cursor: pointer;
|
| 123 |
+
white-space: nowrap;
|
| 124 |
+
transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.primary-btn {
|
| 128 |
+
border-radius: var(--radius-sm);
|
| 129 |
+
padding: 0.75rem 1rem;
|
| 130 |
+
background: linear-gradient(120deg, #9f8552, #c6a769 42%, #e4d1a7);
|
| 131 |
+
background-size: 220% 220%;
|
| 132 |
+
color: #121215;
|
| 133 |
+
font-weight: 800;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.primary-btn:hover {
|
| 137 |
+
transform: translateY(-1px);
|
| 138 |
+
box-shadow: 0 10px 24px rgba(198, 167, 105, 0.35);
|
| 139 |
+
animation: rainbowShift 2.1s linear infinite;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.primary-btn:focus-visible,
|
| 143 |
+
.ghost-btn:focus-visible,
|
| 144 |
+
.match-input:focus-visible {
|
| 145 |
+
outline: 2px solid var(--accent-primary);
|
| 146 |
+
outline-offset: 2px;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.helper-text {
|
| 150 |
+
color: var(--text-subtle);
|
| 151 |
+
font-size: 0.84rem;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.helper-text.error {
|
| 155 |
+
color: var(--accent-danger);
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.dashboard-shell {
|
| 159 |
+
align-items: start;
|
| 160 |
+
padding-top: 2.3rem;
|
| 161 |
+
gap: 1.2rem;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.dashboard-header {
|
| 165 |
+
width: 100%;
|
| 166 |
+
display: flex;
|
| 167 |
+
justify-content: space-between;
|
| 168 |
+
align-items: center;
|
| 169 |
+
gap: 0.8rem;
|
| 170 |
+
margin-bottom: 1rem;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.ghost-btn {
|
| 174 |
+
padding: 0.68rem 1rem;
|
| 175 |
+
border-radius: 999px;
|
| 176 |
+
border: 1px solid var(--line-soft);
|
| 177 |
+
color: var(--text-muted);
|
| 178 |
+
background: rgba(255, 255, 255, 0.02);
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.ghost-btn:hover {
|
| 182 |
+
transform: translateY(-1px);
|
| 183 |
+
border-color: var(--line-strong);
|
| 184 |
+
color: var(--text-strong);
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.target-match {
|
| 188 |
+
margin: 0;
|
| 189 |
+
color: var(--text-muted);
|
| 190 |
+
font-size: 0.9rem;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.header-left {
|
| 194 |
+
display: flex;
|
| 195 |
+
align-items: center;
|
| 196 |
+
gap: 1.2rem;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.winner-badge {
|
| 200 |
+
display: flex;
|
| 201 |
+
flex-direction: column;
|
| 202 |
+
align-items: flex-end;
|
| 203 |
+
padding: 0.5rem 1.2rem;
|
| 204 |
+
border-radius: var(--radius-md);
|
| 205 |
+
background: rgba(255, 255, 255, 0.03);
|
| 206 |
+
border: 1px solid var(--line-soft);
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
.winner-label {
|
| 210 |
+
font-size: 0.65rem;
|
| 211 |
+
text-transform: uppercase;
|
| 212 |
+
letter-spacing: 0.12em;
|
| 213 |
+
color: var(--text-muted);
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.winner-name {
|
| 217 |
+
font-family: var(--font-display);
|
| 218 |
+
font-size: 1.15rem;
|
| 219 |
+
font-weight: 800;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.winner-badge.blue-win {
|
| 223 |
+
border-color: rgba(25, 215, 255, 0.4);
|
| 224 |
+
box-shadow: 0 0 20px rgba(25, 215, 255, 0.15);
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.winner-badge.blue-win .winner-name {
|
| 228 |
+
color: var(--accent-blue-team);
|
| 229 |
+
text-shadow: 0 0 12px rgba(25, 215, 255, 0.4);
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.winner-badge.red-win {
|
| 233 |
+
border-color: rgba(255, 95, 122, 0.4);
|
| 234 |
+
box-shadow: 0 0 20px rgba(255, 95, 122, 0.15);
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
.winner-badge.red-win .winner-name {
|
| 238 |
+
color: var(--accent-red-team);
|
| 239 |
+
text-shadow: 0 0 12px rgba(255, 95, 122, 0.4);
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
.target-match strong {
|
| 243 |
+
color: var(--accent-primary);
|
| 244 |
+
font-family: var(--font-display);
|
| 245 |
+
font-size: 0.98rem;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.dashboard-grid {
|
| 249 |
+
width: 100%;
|
| 250 |
+
display: grid;
|
| 251 |
+
grid-template-columns: 1fr;
|
| 252 |
+
gap: 1.2rem;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.panel {
|
| 256 |
+
border-radius: var(--radius-lg);
|
| 257 |
+
border: 1px solid var(--line-soft);
|
| 258 |
+
background: linear-gradient(180deg, rgba(19, 19, 24, 0.88) 0%, rgba(10, 10, 13, 0.9) 100%);
|
| 259 |
+
box-shadow: var(--shadow-depth);
|
| 260 |
+
padding: clamp(1.1rem, 2.2vw, 1.8rem);
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.panel-kicker {
|
| 264 |
+
color: var(--text-muted);
|
| 265 |
+
text-transform: uppercase;
|
| 266 |
+
letter-spacing: 0.11em;
|
| 267 |
+
font-size: 0.75rem;
|
| 268 |
+
font-weight: 700;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.primary-panel h2 {
|
| 272 |
+
margin-top: 0.45rem;
|
| 273 |
+
font-size: clamp(1.22rem, 2vw, 2rem);
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.probability-panel {
|
| 277 |
+
max-width: 760px;
|
| 278 |
+
margin: 0 auto;
|
| 279 |
+
width: 100%;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.probability-panel h2 {
|
| 283 |
+
text-align: center;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.headline-metric {
|
| 287 |
+
margin-top: 0.9rem;
|
| 288 |
+
display: flex;
|
| 289 |
+
align-items: baseline;
|
| 290 |
+
gap: 0.8rem;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.metric-value {
|
| 294 |
+
font-family: var(--font-display);
|
| 295 |
+
color: var(--accent-primary);
|
| 296 |
+
font-size: clamp(2rem, 6vw, 3.5rem);
|
| 297 |
+
line-height: 1;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.metric-caption {
|
| 301 |
+
color: var(--text-muted);
|
| 302 |
+
font-size: 0.94rem;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.duel-probability {
|
| 306 |
+
margin-top: 0.8rem;
|
| 307 |
+
display: grid;
|
| 308 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 309 |
+
gap: 0.55rem;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.duel-card {
|
| 313 |
+
border-radius: var(--radius-sm);
|
| 314 |
+
border: 1px solid rgba(255, 255, 255, 0.12);
|
| 315 |
+
padding: 0.65rem 0.75rem;
|
| 316 |
+
background: rgba(255, 255, 255, 0.03);
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
.duel-card p {
|
| 320 |
+
font-size: 0.76rem;
|
| 321 |
+
color: var(--text-muted);
|
| 322 |
+
text-transform: uppercase;
|
| 323 |
+
letter-spacing: 0.08em;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.duel-card strong {
|
| 327 |
+
display: inline-block;
|
| 328 |
+
margin-top: 0.2rem;
|
| 329 |
+
font-family: var(--font-display);
|
| 330 |
+
font-size: 1.1rem;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
.duel-card.blue strong {
|
| 334 |
+
color: var(--accent-blue-team);
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
.duel-card.red strong {
|
| 338 |
+
color: var(--accent-red-team);
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
.status-row {
|
| 342 |
+
margin-top: 0.5rem;
|
| 343 |
+
display: inline-flex;
|
| 344 |
+
align-items: center;
|
| 345 |
+
gap: 0.45rem;
|
| 346 |
+
border: 1px solid var(--line-soft);
|
| 347 |
+
border-radius: 999px;
|
| 348 |
+
padding: 0.32rem 0.7rem;
|
| 349 |
+
color: var(--text-muted);
|
| 350 |
+
font-size: 0.82rem;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.live-dot {
|
| 354 |
+
width: 8px;
|
| 355 |
+
height: 8px;
|
| 356 |
+
border-radius: 999px;
|
| 357 |
+
background: var(--accent-danger);
|
| 358 |
+
animation: pulseLive 1.4s ease-in-out infinite;
|
| 359 |
+
}
|
| 360 |
+
|
| 361 |
+
.analysis-controls {
|
| 362 |
+
margin-top: 1rem;
|
| 363 |
+
display: grid;
|
| 364 |
+
gap: 0.55rem;
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
.timeline-panel h3 {
|
| 368 |
+
margin-top: 0.35rem;
|
| 369 |
+
font-size: 1.25rem;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
.playback-btn {
|
| 373 |
+
justify-self: start;
|
| 374 |
+
}
|
| 375 |
+
|
| 376 |
+
.slider-label {
|
| 377 |
+
color: var(--text-muted);
|
| 378 |
+
font-size: 0.84rem;
|
| 379 |
+
}
|
| 380 |
+
|
| 381 |
+
.minute-slider {
|
| 382 |
+
width: 100%;
|
| 383 |
+
accent-color: var(--accent-primary);
|
| 384 |
+
cursor: pointer;
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
.chart-wrap {
|
| 388 |
+
margin-top: 0.9rem;
|
| 389 |
+
padding: 0.7rem;
|
| 390 |
+
border-radius: var(--radius-md);
|
| 391 |
+
border: 1px solid var(--line-soft);
|
| 392 |
+
background: rgba(255, 255, 255, 0.02);
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.timeline-feed-scroll {
|
| 396 |
+
margin-top: 0.9rem;
|
| 397 |
+
max-height: 320px;
|
| 398 |
+
overflow-y: auto;
|
| 399 |
+
padding-right: 0.3rem;
|
| 400 |
+
scroll-behavior: smooth;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.timeline-feed-scroll::-webkit-scrollbar {
|
| 404 |
+
width: 8px;
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.timeline-feed-scroll::-webkit-scrollbar-track {
|
| 408 |
+
background: rgba(255, 255, 255, 0.04);
|
| 409 |
+
border-radius: 999px;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.timeline-feed-scroll::-webkit-scrollbar-thumb {
|
| 413 |
+
background: rgba(198, 167, 105, 0.45);
|
| 414 |
+
border-radius: 999px;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.probability-chart {
|
| 418 |
+
width: 100%;
|
| 419 |
+
height: 220px;
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
.chart-line {
|
| 423 |
+
fill: none;
|
| 424 |
+
stroke-width: 2.4;
|
| 425 |
+
stroke-linecap: round;
|
| 426 |
+
stroke-linejoin: round;
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.chart-line.xgboost {
|
| 430 |
+
stroke: var(--accent-success);
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
.chart-line.lstm {
|
| 434 |
+
stroke: var(--accent-secondary);
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.chart-line.logistic {
|
| 438 |
+
stroke: #ffe138;
|
| 439 |
+
stroke-width: 1.8;
|
| 440 |
+
stroke-dasharray: 4 2;
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
.chart-indicator {
|
| 444 |
+
stroke: var(--text-strong);
|
| 445 |
+
stroke-opacity: 0.5;
|
| 446 |
+
stroke-dasharray: 5 5;
|
| 447 |
+
}
|
| 448 |
+
|
| 449 |
+
.chart-event-line {
|
| 450 |
+
stroke-width: 2;
|
| 451 |
+
stroke-dasharray: 4 4;
|
| 452 |
+
opacity: 0.8;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.chart-event-line.kills {
|
| 456 |
+
stroke: #ff5f7a;
|
| 457 |
+
}
|
| 458 |
+
|
| 459 |
+
.chart-event-line.objectives {
|
| 460 |
+
stroke: #19d7ff;
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
.chart-event-line.captures {
|
| 464 |
+
stroke: #6cf3a2;
|
| 465 |
+
}
|
| 466 |
+
|
| 467 |
+
.chart-event-line.structures {
|
| 468 |
+
stroke: #f0932b;
|
| 469 |
+
}
|
| 470 |
+
|
| 471 |
+
.chart-axis {
|
| 472 |
+
margin-top: 0.35rem;
|
| 473 |
+
display: flex;
|
| 474 |
+
justify-content: space-between;
|
| 475 |
+
color: var(--text-subtle);
|
| 476 |
+
font-size: 0.76rem;
|
| 477 |
+
}
|
| 478 |
+
|
| 479 |
+
.models-grid {
|
| 480 |
+
display: grid;
|
| 481 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 482 |
+
gap: 0.7rem;
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
.models-grid-above {
|
| 486 |
+
margin-top: -0.2rem;
|
| 487 |
+
}
|
| 488 |
+
|
| 489 |
+
.model-card {
|
| 490 |
+
border: 1px solid rgba(255, 255, 255, 0.08);
|
| 491 |
+
border-radius: var(--radius-md);
|
| 492 |
+
padding: 0.8rem;
|
| 493 |
+
background: rgba(255, 255, 255, 0.015);
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
.model-kicker {
|
| 497 |
+
margin-bottom: 0.35rem;
|
| 498 |
+
font-size: 0.68rem;
|
| 499 |
+
color: var(--text-subtle);
|
| 500 |
+
text-transform: uppercase;
|
| 501 |
+
letter-spacing: 0.1em;
|
| 502 |
+
font-weight: 700;
|
| 503 |
+
}
|
| 504 |
+
|
| 505 |
+
.model-card h3 {
|
| 506 |
+
font-size: 0.84rem;
|
| 507 |
+
margin-bottom: 0.5rem;
|
| 508 |
+
min-height: 2.1em;
|
| 509 |
+
}
|
| 510 |
+
|
| 511 |
+
.model-value {
|
| 512 |
+
font-size: 1.4rem;
|
| 513 |
+
font-family: var(--font-display);
|
| 514 |
+
}
|
| 515 |
+
|
| 516 |
+
.model-dual-values {
|
| 517 |
+
display: grid;
|
| 518 |
+
gap: 0.15rem;
|
| 519 |
+
}
|
| 520 |
+
|
| 521 |
+
.model-value.blue {
|
| 522 |
+
color: var(--accent-blue-team);
|
| 523 |
+
font-size: 1.06rem;
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
.model-value.red {
|
| 527 |
+
color: var(--accent-red-team);
|
| 528 |
+
font-size: 1.06rem;
|
| 529 |
+
}
|
| 530 |
+
|
| 531 |
+
.model-track {
|
| 532 |
+
margin-top: 0.42rem;
|
| 533 |
+
height: 6px;
|
| 534 |
+
border-radius: 999px;
|
| 535 |
+
background: rgba(255, 95, 122, 0.25);
|
| 536 |
+
overflow: hidden;
|
| 537 |
+
}
|
| 538 |
+
|
| 539 |
+
.model-fill {
|
| 540 |
+
height: 100%;
|
| 541 |
+
transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
|
| 542 |
+
background: linear-gradient(90deg, rgba(25, 215, 255, 0.35), var(--accent-blue-team));
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
.timeline-list {
|
| 546 |
+
display: grid;
|
| 547 |
+
gap: 0.6rem;
|
| 548 |
+
}
|
| 549 |
+
|
| 550 |
+
.feed-placeholder {
|
| 551 |
+
color: var(--text-subtle);
|
| 552 |
+
font-size: 0.85rem;
|
| 553 |
+
border: 1px dashed var(--line-soft);
|
| 554 |
+
border-radius: var(--radius-sm);
|
| 555 |
+
padding: 0.75rem;
|
| 556 |
+
}
|
| 557 |
+
|
| 558 |
+
.filter-row {
|
| 559 |
+
margin-top: 0.45rem;
|
| 560 |
+
margin-bottom: 0.7rem;
|
| 561 |
+
display: flex;
|
| 562 |
+
flex-wrap: wrap;
|
| 563 |
+
gap: 0.45rem;
|
| 564 |
+
}
|
| 565 |
+
|
| 566 |
+
.filter-chip {
|
| 567 |
+
border: 1px solid var(--line-soft);
|
| 568 |
+
background: rgba(255, 255, 255, 0.02);
|
| 569 |
+
color: var(--text-muted);
|
| 570 |
+
border-radius: 999px;
|
| 571 |
+
padding: 0.3rem 0.7rem;
|
| 572 |
+
font-size: 0.74rem;
|
| 573 |
+
text-transform: uppercase;
|
| 574 |
+
letter-spacing: 0.07em;
|
| 575 |
+
cursor: pointer;
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
.filter-chip.active {
|
| 579 |
+
color: var(--text-strong);
|
| 580 |
+
background: rgba(255, 255, 255, 0.08);
|
| 581 |
+
}
|
| 582 |
+
|
| 583 |
+
.timeline-item {
|
| 584 |
+
border: 0;
|
| 585 |
+
text-align: left;
|
| 586 |
+
width: 100%;
|
| 587 |
+
cursor: pointer;
|
| 588 |
+
border-left: 2px solid rgba(255, 255, 255, 0.16);
|
| 589 |
+
padding: 0.5rem 0.8rem;
|
| 590 |
+
background: rgba(255, 255, 255, 0.02);
|
| 591 |
+
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
| 592 |
+
opacity: 0.5;
|
| 593 |
+
transition: opacity 240ms ease, border-color 240ms ease, transform 240ms ease;
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
.timeline-item.active {
|
| 597 |
+
opacity: 1;
|
| 598 |
+
border-color: var(--accent-primary);
|
| 599 |
+
transform: translateX(4px);
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
.timeline-item.latest-item {
|
| 603 |
+
animation: latestAppear 520ms cubic-bezier(0.2, 0.9, 0.3, 1);
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
.timeline-item:hover {
|
| 607 |
+
opacity: 0.86;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
.event-type-tag {
|
| 611 |
+
margin-top: 0.3rem;
|
| 612 |
+
display: inline-block;
|
| 613 |
+
border-radius: 999px;
|
| 614 |
+
padding: 0.18rem 0.5rem;
|
| 615 |
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
| 616 |
+
color: var(--text-subtle);
|
| 617 |
+
font-size: 0.68rem;
|
| 618 |
+
text-transform: uppercase;
|
| 619 |
+
letter-spacing: 0.08em;
|
| 620 |
+
}
|
| 621 |
+
|
| 622 |
+
.turning-points-definition {
|
| 623 |
+
margin-top: 0.9rem;
|
| 624 |
+
border-top: 1px dashed var(--line-soft);
|
| 625 |
+
padding-top: 0.7rem;
|
| 626 |
+
}
|
| 627 |
+
|
| 628 |
+
.turning-panel h3 {
|
| 629 |
+
margin-top: 0.45rem;
|
| 630 |
+
margin-bottom: 0.8rem;
|
| 631 |
+
font-size: 1.15rem;
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
.turning-grid {
|
| 635 |
+
display: grid;
|
| 636 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 637 |
+
gap: 0.55rem;
|
| 638 |
+
max-height: 420px;
|
| 639 |
+
overflow-y: auto;
|
| 640 |
+
padding-right: 0.5rem;
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
.turning-grid::-webkit-scrollbar {
|
| 644 |
+
width: 6px;
|
| 645 |
+
}
|
| 646 |
+
|
| 647 |
+
.turning-grid::-webkit-scrollbar-track {
|
| 648 |
+
background: rgba(255, 255, 255, 0.02);
|
| 649 |
+
border-radius: 999px;
|
| 650 |
+
}
|
| 651 |
+
|
| 652 |
+
.turning-grid::-webkit-scrollbar-thumb {
|
| 653 |
+
background: rgba(198, 167, 105, 0.3);
|
| 654 |
+
border-radius: 999px;
|
| 655 |
+
}
|
| 656 |
+
|
| 657 |
+
.turning-card {
|
| 658 |
+
border: 0;
|
| 659 |
+
text-align: left;
|
| 660 |
+
width: 100%;
|
| 661 |
+
cursor: pointer;
|
| 662 |
+
border-left: 2px solid rgba(255, 255, 255, 0.16);
|
| 663 |
+
padding: 0.5rem 0.8rem;
|
| 664 |
+
background: rgba(255, 255, 255, 0.02);
|
| 665 |
+
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
| 666 |
+
opacity: 0.62;
|
| 667 |
+
transition: opacity 240ms ease, border-color 240ms ease, transform 240ms ease;
|
| 668 |
+
}
|
| 669 |
+
|
| 670 |
+
.turning-card.active {
|
| 671 |
+
opacity: 1;
|
| 672 |
+
border-color: var(--accent-primary);
|
| 673 |
+
transform: translateX(-3px);
|
| 674 |
+
}
|
| 675 |
+
|
| 676 |
+
.definition-title {
|
| 677 |
+
margin-bottom: 0.32rem;
|
| 678 |
+
color: var(--text-strong);
|
| 679 |
+
font-size: 0.84rem;
|
| 680 |
+
font-weight: 700;
|
| 681 |
+
}
|
| 682 |
+
|
| 683 |
+
.turning-points-definition p {
|
| 684 |
+
font-size: 0.82rem;
|
| 685 |
+
color: var(--text-muted);
|
| 686 |
+
}
|
| 687 |
+
|
| 688 |
+
.timeline-clock {
|
| 689 |
+
font-family: var(--font-display);
|
| 690 |
+
font-size: 0.96rem;
|
| 691 |
+
color: var(--text-strong);
|
| 692 |
+
text-shadow: 0 0 10px rgba(198, 167, 105, 0.35);
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
+
.timeline-text {
|
| 696 |
+
margin-top: 0.15rem;
|
| 697 |
+
color: var(--text-muted);
|
| 698 |
+
font-size: 0.89rem;
|
| 699 |
+
}
|
| 700 |
+
|
| 701 |
+
.team-blue {
|
| 702 |
+
color: var(--accent-blue-team);
|
| 703 |
+
font-weight: 700;
|
| 704 |
+
}
|
| 705 |
+
|
| 706 |
+
.team-red {
|
| 707 |
+
color: var(--accent-red-team);
|
| 708 |
+
font-weight: 700;
|
| 709 |
+
}
|
| 710 |
+
|
| 711 |
+
@keyframes riseIn {
|
| 712 |
+
from {
|
| 713 |
+
opacity: 0;
|
| 714 |
+
transform: translateY(16px);
|
| 715 |
+
}
|
| 716 |
+
to {
|
| 717 |
+
opacity: 1;
|
| 718 |
+
transform: translateY(0);
|
| 719 |
+
}
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
@keyframes pulseLive {
|
| 723 |
+
0%,
|
| 724 |
+
100% {
|
| 725 |
+
box-shadow: 0 0 0 0 rgba(196, 88, 88, 0.42);
|
| 726 |
+
}
|
| 727 |
+
60% {
|
| 728 |
+
box-shadow: 0 0 0 8px rgba(196, 88, 88, 0);
|
| 729 |
+
}
|
| 730 |
+
}
|
| 731 |
+
|
| 732 |
+
@keyframes latestAppear {
|
| 733 |
+
0% {
|
| 734 |
+
opacity: 0;
|
| 735 |
+
transform: translateY(10px);
|
| 736 |
+
}
|
| 737 |
+
100% {
|
| 738 |
+
opacity: 1;
|
| 739 |
+
transform: translateY(0);
|
| 740 |
+
}
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
@keyframes rainbowShift {
|
| 744 |
+
0% {
|
| 745 |
+
background-position: 0% 50%;
|
| 746 |
+
filter: hue-rotate(0deg);
|
| 747 |
+
}
|
| 748 |
+
100% {
|
| 749 |
+
background-position: 220% 50%;
|
| 750 |
+
filter: hue-rotate(360deg);
|
| 751 |
+
}
|
| 752 |
+
}
|
| 753 |
+
|
| 754 |
+
@media (max-width: 980px) {
|
| 755 |
+
.dashboard-grid {
|
| 756 |
+
grid-template-columns: 1fr;
|
| 757 |
+
}
|
| 758 |
+
|
| 759 |
+
.models-grid {
|
| 760 |
+
grid-template-columns: 1fr 1fr;
|
| 761 |
+
}
|
| 762 |
+
|
| 763 |
+
.playback-btn {
|
| 764 |
+
justify-self: stretch;
|
| 765 |
+
}
|
| 766 |
+
|
| 767 |
+
.duel-probability {
|
| 768 |
+
grid-template-columns: 1fr;
|
| 769 |
+
}
|
| 770 |
+
|
| 771 |
+
.turning-grid {
|
| 772 |
+
grid-template-columns: 1fr;
|
| 773 |
+
grid-template-rows: none;
|
| 774 |
+
}
|
| 775 |
+
}
|
| 776 |
+
|
| 777 |
+
@media (max-width: 720px) {
|
| 778 |
+
.view-shell {
|
| 779 |
+
width: min(94vw, 1200px);
|
| 780 |
+
}
|
| 781 |
+
|
| 782 |
+
.input-row {
|
| 783 |
+
grid-template-columns: 1fr;
|
| 784 |
+
}
|
| 785 |
+
|
| 786 |
+
.primary-btn {
|
| 787 |
+
width: 100%;
|
| 788 |
+
}
|
| 789 |
+
|
| 790 |
+
.models-grid {
|
| 791 |
+
grid-template-columns: 1fr;
|
| 792 |
+
}
|
| 793 |
+
|
| 794 |
+
.dashboard-header {
|
| 795 |
+
flex-direction: column;
|
| 796 |
+
align-items: flex-start;
|
| 797 |
+
}
|
| 798 |
+
}
|
| 799 |
+
|
| 800 |
+
@media (prefers-reduced-motion: reduce) {
|
| 801 |
+
.rise,
|
| 802 |
+
.live-dot {
|
| 803 |
+
animation: none;
|
| 804 |
+
}
|
| 805 |
+
|
| 806 |
+
.model-fill,
|
| 807 |
+
.timeline-item,
|
| 808 |
+
.primary-btn,
|
| 809 |
+
.ghost-btn {
|
| 810 |
+
transition: none;
|
| 811 |
+
}
|
| 812 |
+
|
| 813 |
+
.timeline-item.latest-item {
|
| 814 |
+
animation: none;
|
| 815 |
+
}
|
| 816 |
+
|
| 817 |
+
.primary-btn:hover {
|
| 818 |
+
animation: none;
|
| 819 |
+
}
|
| 820 |
+
}
|
frontend/src/App.jsx
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useEffect, useMemo, useRef, useState } from 'react';
|
| 2 |
+
import './App.css';
|
| 3 |
+
|
| 4 |
+
const MATCH_DURATION = 70;
|
| 5 |
+
const SUPPORTED_REGION = 'US only';
|
| 6 |
+
const API_ROUTING_LABEL = 'NA1 platform + AMERICAS match routing';
|
| 7 |
+
|
| 8 |
+
// ─── Input sanitization ───────────────────────────────────────────────────────
|
| 9 |
+
// Accepted format: one or more uppercase letters/digits, an underscore, then
|
| 10 |
+
// one or more digits only. Examples: NA1_1234567890 EUW1_9876543210
|
| 11 |
+
const MATCH_ID_REGEX = /^[A-Z0-9]+_\d+$/;
|
| 12 |
+
const MATCH_ID_MAX_LEN = 30;
|
| 13 |
+
|
| 14 |
+
const sanitizeMatchId = (raw) =>
|
| 15 |
+
raw
|
| 16 |
+
.toUpperCase()
|
| 17 |
+
.replace(/[^A-Z0-9_]/g, '')
|
| 18 |
+
.replace(/_{2,}/g, '_')
|
| 19 |
+
.slice(0, MATCH_ID_MAX_LEN);
|
| 20 |
+
|
| 21 |
+
// ─── Constants ────────────────────────────────────────────────────────────────
|
| 22 |
+
const MODEL_META = [
|
| 23 |
+
{ key: 'xgboost', label: 'XGBoost', short: 'Teamfight Pattern', colorClass: 'xgboost' },
|
| 24 |
+
{ key: 'lstm', label: 'LSTM', short: 'Momentum Curve', colorClass: 'lstm' },
|
| 25 |
+
{ key: 'logreg', label: 'Logistic Regression', short: 'Stability Baseline', colorClass: 'logistic' },
|
| 26 |
+
];
|
| 27 |
+
|
| 28 |
+
const EVENT_FILTERS = ['all', 'kills', 'objectives', 'structures'];
|
| 29 |
+
const EVENT_TYPE_COLORS = {
|
| 30 |
+
all: '#c6a769',
|
| 31 |
+
kills: '#ff5f7a',
|
| 32 |
+
objectives: '#19d7ff',
|
| 33 |
+
structures: '#f0932b',
|
| 34 |
+
};
|
| 35 |
+
|
| 36 |
+
// ─── Utilities ────────────────────────────────────────────────────────────────
|
| 37 |
+
// eslint-disable-next-line no-unused-vars
|
| 38 |
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
| 39 |
+
|
| 40 |
+
// ─── Components ───────────────────────────────────────────────────────────────
|
| 41 |
+
function AnimatedBackground() {
|
| 42 |
+
return (
|
| 43 |
+
<div className="background-container" aria-hidden="true">
|
| 44 |
+
<div className="bg-grid" />
|
| 45 |
+
<div className="bg-noise" />
|
| 46 |
+
<div className="bg-scanline" />
|
| 47 |
+
<div className="bg-wave" />
|
| 48 |
+
<div className="bg-orb orb-left" />
|
| 49 |
+
<div className="bg-orb orb-right" />
|
| 50 |
+
<div className="bg-vignette" />
|
| 51 |
+
</div>
|
| 52 |
+
);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
function LandingView({ matchId, onMatchIdChange, onSimulate, error, isLoading, fetchError }) {
|
| 56 |
+
return (
|
| 57 |
+
<section className="view-shell landing-shell">
|
| 58 |
+
<article className="landing-card rise">
|
| 59 |
+
<p className="eyebrow centered">Post-Match Analyzer</p>
|
| 60 |
+
<h1 className="landing-title centered">Rift Breakdown</h1>
|
| 61 |
+
<p className="landing-subtitle">
|
| 62 |
+
Analyze a finished match and inspect how the win probability evolved through each key moment.
|
| 63 |
+
</p>
|
| 64 |
+
|
| 65 |
+
<div className="landing-metrics" role="presentation">
|
| 66 |
+
<span>Region available: {SUPPORTED_REGION}</span>
|
| 67 |
+
<span>{API_ROUTING_LABEL}</span>
|
| 68 |
+
<span>Player-friendly insights</span>
|
| 69 |
+
<span>Timeline breakdown</span>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<form className="match-form" onSubmit={onSimulate}>
|
| 73 |
+
<label htmlFor="match-id" className="input-label">
|
| 74 |
+
Match ID
|
| 75 |
+
</label>
|
| 76 |
+
|
| 77 |
+
<div className={`input-row ${error ? 'has-error' : ''}`}>
|
| 78 |
+
<input
|
| 79 |
+
id="match-id"
|
| 80 |
+
type="text"
|
| 81 |
+
className="match-input"
|
| 82 |
+
placeholder="NA1_1234567890"
|
| 83 |
+
value={matchId}
|
| 84 |
+
onChange={(event) => onMatchIdChange(sanitizeMatchId(event.target.value))}
|
| 85 |
+
autoComplete="off"
|
| 86 |
+
spellCheck="false"
|
| 87 |
+
inputMode="text"
|
| 88 |
+
aria-invalid={error ? 'true' : 'false'}
|
| 89 |
+
aria-describedby="match-help"
|
| 90 |
+
disabled={isLoading}
|
| 91 |
+
/>
|
| 92 |
+
<button type="submit" className="primary-btn" disabled={isLoading}>
|
| 93 |
+
{isLoading ? 'Analyzing...' : 'Analyze Match'}
|
| 94 |
+
</button>
|
| 95 |
+
</div>
|
| 96 |
+
|
| 97 |
+
<p
|
| 98 |
+
id="match-help"
|
| 99 |
+
className={`helper-text ${error || fetchError ? 'error' : ''}`}
|
| 100 |
+
>
|
| 101 |
+
{error
|
| 102 |
+
? 'Match ID must follow the format REGION_DIGITS — e.g. NA1_1234567890.'
|
| 103 |
+
: fetchError
|
| 104 |
+
? fetchError
|
| 105 |
+
: 'Use a completed US match ID (NA routing only). Format: NA1_1234567890.'}
|
| 106 |
+
</p>
|
| 107 |
+
</form>
|
| 108 |
+
</article>
|
| 109 |
+
</section>
|
| 110 |
+
);
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
function ModelCard({ model, value }) {
|
| 114 |
+
const redValue = 100 - value;
|
| 115 |
+
return (
|
| 116 |
+
<article className={`model-card ${model.colorClass}`}>
|
| 117 |
+
<p className="model-kicker">{model.short}</p>
|
| 118 |
+
<h3>{model.label}</h3>
|
| 119 |
+
<div className="model-dual-values">
|
| 120 |
+
<p className="model-value blue">Blue: {value.toFixed(1)}%</p>
|
| 121 |
+
<p className="model-value red">Red: {redValue.toFixed(1)}%</p>
|
| 122 |
+
</div>
|
| 123 |
+
<div className="model-track" aria-hidden="true">
|
| 124 |
+
<div className="model-fill" style={{ width: `${value}%` }} />
|
| 125 |
+
</div>
|
| 126 |
+
</article>
|
| 127 |
+
);
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
function ProbabilityChart({ history, minute, selectedFilter, events }) {
|
| 131 |
+
const chartWidth = 760;
|
| 132 |
+
const chartHeight = 220;
|
| 133 |
+
const maxIndex = history.length - 1;
|
| 134 |
+
|
| 135 |
+
const toX = (index) => (index / maxIndex) * chartWidth;
|
| 136 |
+
const toY = (value) => chartHeight - (value / 100) * chartHeight;
|
| 137 |
+
|
| 138 |
+
const buildPath = (modelKey) =>
|
| 139 |
+
history
|
| 140 |
+
.map((entry, index) => `${index === 0 ? 'M' : 'L'} ${toX(index)} ${toY(entry[modelKey])}`)
|
| 141 |
+
.join(' ');
|
| 142 |
+
|
| 143 |
+
const indicatorX = toX(minute);
|
| 144 |
+
|
| 145 |
+
const highlightedEvents = events.filter(
|
| 146 |
+
(event) =>
|
| 147 |
+
(selectedFilter === 'all' || event.type === selectedFilter) &&
|
| 148 |
+
event.minute <= minute
|
| 149 |
+
);
|
| 150 |
+
|
| 151 |
+
const maxMark = history.length > 0 ? history[history.length - 1].minute : MATCH_DURATION;
|
| 152 |
+
const axisMarks = [0, Math.round(maxMark / 3), Math.round((maxMark * 2) / 3), maxMark];
|
| 153 |
+
|
| 154 |
+
return (
|
| 155 |
+
<section className="chart-wrap">
|
| 156 |
+
<svg
|
| 157 |
+
className="probability-chart"
|
| 158 |
+
viewBox={`0 0 ${chartWidth} ${chartHeight}`}
|
| 159 |
+
preserveAspectRatio="none"
|
| 160 |
+
role="img"
|
| 161 |
+
aria-label="Win probability chart by minute"
|
| 162 |
+
>
|
| 163 |
+
<path d={buildPath('xgboost')} className="chart-line xgboost" />
|
| 164 |
+
<path d={buildPath('lstm')} className="chart-line lstm" />
|
| 165 |
+
<path d={buildPath('logreg')} className="chart-line logistic" />
|
| 166 |
+
|
| 167 |
+
{highlightedEvents.map((event, index) => (
|
| 168 |
+
<line
|
| 169 |
+
key={`chart-event-${index}`}
|
| 170 |
+
x1={toX(event.minute)} y1="0"
|
| 171 |
+
x2={toX(event.minute)} y2={chartHeight}
|
| 172 |
+
className={`chart-event-line ${event.type}`}
|
| 173 |
+
/>
|
| 174 |
+
))}
|
| 175 |
+
|
| 176 |
+
<line
|
| 177 |
+
x1={indicatorX} y1="0"
|
| 178 |
+
x2={indicatorX} y2={chartHeight}
|
| 179 |
+
className="chart-indicator"
|
| 180 |
+
/>
|
| 181 |
+
</svg>
|
| 182 |
+
|
| 183 |
+
<div className="chart-axis">
|
| 184 |
+
{axisMarks.map((mark) => (
|
| 185 |
+
<span key={mark}>{mark}m</span>
|
| 186 |
+
))}
|
| 187 |
+
</div>
|
| 188 |
+
</section>
|
| 189 |
+
);
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
function DashboardView({
|
| 193 |
+
matchId,
|
| 194 |
+
minute,
|
| 195 |
+
maxDuration,
|
| 196 |
+
probabilities,
|
| 197 |
+
history,
|
| 198 |
+
events,
|
| 199 |
+
isPlaying,
|
| 200 |
+
selectedFilter,
|
| 201 |
+
onFilterChange,
|
| 202 |
+
onTogglePlayback,
|
| 203 |
+
onSetMinute,
|
| 204 |
+
onBack,
|
| 205 |
+
blueWin,
|
| 206 |
+
}) {
|
| 207 |
+
const feedScrollRef = useRef(null);
|
| 208 |
+
const previousActiveCountRef = useRef(0);
|
| 209 |
+
|
| 210 |
+
const visibleEvents = events.filter((event) => selectedFilter === 'all' || event.type === selectedFilter);
|
| 211 |
+
const activeFeedEvents = visibleEvents
|
| 212 |
+
.filter((event) => event.minute <= minute)
|
| 213 |
+
.sort((a, b) => b.minute - a.minute);
|
| 214 |
+
const matrixEvents = [...visibleEvents].sort((a, b) => a.minute - b.minute);
|
| 215 |
+
|
| 216 |
+
useEffect(() => {
|
| 217 |
+
if (!feedScrollRef.current) return;
|
| 218 |
+
if (activeFeedEvents.length > previousActiveCountRef.current) {
|
| 219 |
+
feedScrollRef.current.scrollTo({ top: 0, behavior: 'smooth' });
|
| 220 |
+
}
|
| 221 |
+
previousActiveCountRef.current = activeFeedEvents.length;
|
| 222 |
+
}, [activeFeedEvents.length, minute, selectedFilter]);
|
| 223 |
+
|
| 224 |
+
return (
|
| 225 |
+
<section className="view-shell dashboard-shell rise">
|
| 226 |
+
<header className="dashboard-header">
|
| 227 |
+
<div className="header-left">
|
| 228 |
+
<button type="button" className="ghost-btn" onClick={onBack}>
|
| 229 |
+
Back to Landing
|
| 230 |
+
</button>
|
| 231 |
+
<p className="target-match">
|
| 232 |
+
Reviewing <strong>{matchId}</strong>
|
| 233 |
+
</p>
|
| 234 |
+
</div>
|
| 235 |
+
|
| 236 |
+
{blueWin !== null && (
|
| 237 |
+
<div className={`winner-badge ${blueWin ? 'blue-win' : 'red-win'}`}>
|
| 238 |
+
<span className="winner-label">Match Winner</span>
|
| 239 |
+
<span className="winner-name">{blueWin ? 'Blue Team' : 'Red Team'}</span>
|
| 240 |
+
</div>
|
| 241 |
+
)}
|
| 242 |
+
</header>
|
| 243 |
+
|
| 244 |
+
<main className="dashboard-grid">
|
| 245 |
+
<section className="panel primary-panel probability-panel">
|
| 246 |
+
<h2>Match Analysis — Blue vs Red Win Probability</h2>
|
| 247 |
+
</section>
|
| 248 |
+
|
| 249 |
+
<div className="models-grid models-grid-above">
|
| 250 |
+
{MODEL_META.map((model) => (
|
| 251 |
+
<ModelCard key={model.key} model={model} value={probabilities[model.key]} />
|
| 252 |
+
))}
|
| 253 |
+
</div>
|
| 254 |
+
|
| 255 |
+
<section className="panel timeline-panel">
|
| 256 |
+
<p className="panel-kicker">Timeline & Playback</p>
|
| 257 |
+
<h3>Match Flow</h3>
|
| 258 |
+
|
| 259 |
+
<div className="status-row">
|
| 260 |
+
<span className="live-dot" />
|
| 261 |
+
<span>Minute {String(minute).padStart(2, '0')}</span>
|
| 262 |
+
</div>
|
| 263 |
+
|
| 264 |
+
<div className="analysis-controls">
|
| 265 |
+
<button type="button" className="ghost-btn playback-btn" onClick={onTogglePlayback}>
|
| 266 |
+
{isPlaying ? 'Pause' : 'Play'} Timeline
|
| 267 |
+
</button>
|
| 268 |
+
<label htmlFor="minute-range" className="slider-label">
|
| 269 |
+
Time Window: {minute}m
|
| 270 |
+
</label>
|
| 271 |
+
<input
|
| 272 |
+
id="minute-range"
|
| 273 |
+
className="minute-slider"
|
| 274 |
+
type="range"
|
| 275 |
+
min="0"
|
| 276 |
+
max={maxDuration}
|
| 277 |
+
value={minute}
|
| 278 |
+
onChange={(event) => onSetMinute(Number(event.target.value))}
|
| 279 |
+
/>
|
| 280 |
+
</div>
|
| 281 |
+
|
| 282 |
+
<ProbabilityChart
|
| 283 |
+
history={history}
|
| 284 |
+
minute={minute}
|
| 285 |
+
selectedFilter={selectedFilter}
|
| 286 |
+
events={events}
|
| 287 |
+
/>
|
| 288 |
+
|
| 289 |
+
<div className="timeline-feed-scroll" ref={feedScrollRef}>
|
| 290 |
+
<div className="timeline-list">
|
| 291 |
+
{activeFeedEvents.length === 0 ? (
|
| 292 |
+
<p className="feed-placeholder">
|
| 293 |
+
No active events yet. Press play or move the slider forward.
|
| 294 |
+
</p>
|
| 295 |
+
) : (
|
| 296 |
+
activeFeedEvents.map((event, index) => (
|
| 297 |
+
<button
|
| 298 |
+
key={`feed-${index}`}
|
| 299 |
+
type="button"
|
| 300 |
+
className={`timeline-item active ${index === 0 ? 'latest-item' : ''}`}
|
| 301 |
+
onClick={() => onSetMinute(event.minute)}
|
| 302 |
+
>
|
| 303 |
+
<p className="timeline-clock">{event.clock}</p>
|
| 304 |
+
<p className="timeline-text">
|
| 305 |
+
<span className={event.team === 'Blue' ? 'team-blue' : 'team-red'}>
|
| 306 |
+
{event.team}
|
| 307 |
+
</span>{' '}
|
| 308 |
+
{event.text}
|
| 309 |
+
</p>
|
| 310 |
+
<span className="event-type-tag">{event.type}</span>
|
| 311 |
+
</button>
|
| 312 |
+
))
|
| 313 |
+
)}
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
</section>
|
| 317 |
+
|
| 318 |
+
<section className="panel turning-panel">
|
| 319 |
+
<p className="panel-kicker">Key Turning Points</p>
|
| 320 |
+
<h3>Event Matrix</h3>
|
| 321 |
+
|
| 322 |
+
<div className="filter-row" role="tablist" aria-label="Filter event types">
|
| 323 |
+
{EVENT_FILTERS.map((filter) => (
|
| 324 |
+
<button
|
| 325 |
+
key={filter}
|
| 326 |
+
type="button"
|
| 327 |
+
className={`filter-chip ${selectedFilter === filter ? 'active' : ''}`}
|
| 328 |
+
onClick={() => onFilterChange(filter)}
|
| 329 |
+
style={
|
| 330 |
+
selectedFilter === filter
|
| 331 |
+
? { borderColor: EVENT_TYPE_COLORS[filter], color: EVENT_TYPE_COLORS[filter] }
|
| 332 |
+
: undefined
|
| 333 |
+
}
|
| 334 |
+
>
|
| 335 |
+
{filter}
|
| 336 |
+
</button>
|
| 337 |
+
))}
|
| 338 |
+
</div>
|
| 339 |
+
|
| 340 |
+
<div className="turning-grid" aria-live="polite">
|
| 341 |
+
{matrixEvents.map((event, index) => {
|
| 342 |
+
const isActive = minute >= event.minute;
|
| 343 |
+
return (
|
| 344 |
+
<button
|
| 345 |
+
key={`matrix-${index}`}
|
| 346 |
+
type="button"
|
| 347 |
+
className={`turning-card ${isActive ? 'active' : ''}`}
|
| 348 |
+
onClick={() => onSetMinute(event.minute)}
|
| 349 |
+
>
|
| 350 |
+
<p className="timeline-clock">{event.clock}</p>
|
| 351 |
+
<p className="timeline-text">
|
| 352 |
+
<span className={event.team === 'Blue' ? 'team-blue' : 'team-red'}>
|
| 353 |
+
{event.team}
|
| 354 |
+
</span>{' '}
|
| 355 |
+
{event.text}
|
| 356 |
+
</p>
|
| 357 |
+
<span className="event-type-tag">{event.type}</span>
|
| 358 |
+
</button>
|
| 359 |
+
);
|
| 360 |
+
})}
|
| 361 |
+
</div>
|
| 362 |
+
</section>
|
| 363 |
+
</main>
|
| 364 |
+
</section>
|
| 365 |
+
);
|
| 366 |
+
}
|
| 367 |
+
|
| 368 |
+
// ─── Root ─────────────────────────────────────────────────────────────────────
|
| 369 |
+
function App() {
|
| 370 |
+
const [view, setView] = useState('landing');
|
| 371 |
+
const [matchId, setMatchId] = useState('');
|
| 372 |
+
const [showInputError, setShowInputError] = useState(false);
|
| 373 |
+
const [isLoading, setIsLoading] = useState(false);
|
| 374 |
+
const [fetchError, setFetchError] = useState(null);
|
| 375 |
+
const [matchData, setMatchData] = useState(null);
|
| 376 |
+
const [timeMin, setTimeMin] = useState(0);
|
| 377 |
+
const [isPlaying, setIsPlaying] = useState(false);
|
| 378 |
+
const [selectedFilter, setSelectedFilter] = useState('all');
|
| 379 |
+
|
| 380 |
+
// ── Derived data ────────────────────────────────────────────────────────────
|
| 381 |
+
const history = useMemo(() => {
|
| 382 |
+
if (!matchData) return [];
|
| 383 |
+
const { minutes, predictions } = matchData;
|
| 384 |
+
|
| 385 |
+
return minutes.map((minute, i) => {
|
| 386 |
+
const getProb = (key) => {
|
| 387 |
+
const raw = predictions[key];
|
| 388 |
+
if (raw === undefined || raw === null) return 50;
|
| 389 |
+
if (!Array.isArray(raw)) return raw <= 1.0 ? raw * 100 : raw;
|
| 390 |
+
if (raw.length === 0) return 50;
|
| 391 |
+
const val = raw[i] !== undefined ? raw[i] : raw[raw.length - 1];
|
| 392 |
+
return val <= 1.0 ? val * 100 : val;
|
| 393 |
+
};
|
| 394 |
+
|
| 395 |
+
return {
|
| 396 |
+
minute,
|
| 397 |
+
xgboost: getProb('xgboost'),
|
| 398 |
+
lstm: getProb('lstm'),
|
| 399 |
+
logreg: getProb('logreg'),
|
| 400 |
+
};
|
| 401 |
+
});
|
| 402 |
+
}, [matchData]);
|
| 403 |
+
|
| 404 |
+
const maxDuration = history.length > 0 ? history[history.length - 1].minute : MATCH_DURATION;
|
| 405 |
+
|
| 406 |
+
const probabilities = useMemo(() => {
|
| 407 |
+
if (!history.length || timeMin === 0) return { xgboost: 0, lstm: 0, logreg: 0 };
|
| 408 |
+
const entry = history.find((h) => h.minute === timeMin) || history[history.length - 1];
|
| 409 |
+
return { xgboost: entry.xgboost, lstm: entry.lstm, logreg: entry.logreg };
|
| 410 |
+
}, [history, timeMin]);
|
| 411 |
+
|
| 412 |
+
const events = useMemo(() => matchData?.events || [], [matchData]);
|
| 413 |
+
|
| 414 |
+
// ── Playback ticker ─────────────────────────────────────────────────────────
|
| 415 |
+
useEffect(() => {
|
| 416 |
+
if (!isPlaying || view !== 'dashboard') return undefined;
|
| 417 |
+
|
| 418 |
+
const interval = setInterval(() => {
|
| 419 |
+
setTimeMin((prev) => {
|
| 420 |
+
if (prev >= maxDuration) {
|
| 421 |
+
setIsPlaying(false);
|
| 422 |
+
return prev;
|
| 423 |
+
}
|
| 424 |
+
return prev + 1;
|
| 425 |
+
});
|
| 426 |
+
}, 1200);
|
| 427 |
+
|
| 428 |
+
return () => clearInterval(interval);
|
| 429 |
+
}, [isPlaying, view, maxDuration]);
|
| 430 |
+
|
| 431 |
+
// ── Handlers ────────────────────────────────────────────────────────────────
|
| 432 |
+
const handleMatchIdChange = (value) => {
|
| 433 |
+
setMatchId(value);
|
| 434 |
+
// Clear the validation error as soon as the input becomes valid
|
| 435 |
+
if (showInputError && MATCH_ID_REGEX.test(value)) {
|
| 436 |
+
setShowInputError(false);
|
| 437 |
+
}
|
| 438 |
+
};
|
| 439 |
+
|
| 440 |
+
const handleSimulate = async (event) => {
|
| 441 |
+
event.preventDefault();
|
| 442 |
+
|
| 443 |
+
const value = matchId.trim();
|
| 444 |
+
|
| 445 |
+
// Validate against the strict regex — not just "non-empty"
|
| 446 |
+
if (!value || !MATCH_ID_REGEX.test(value)) {
|
| 447 |
+
setShowInputError(true);
|
| 448 |
+
return;
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
setShowInputError(false);
|
| 452 |
+
setIsLoading(true);
|
| 453 |
+
setFetchError(null);
|
| 454 |
+
|
| 455 |
+
try {
|
| 456 |
+
const isDev = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1';
|
| 457 |
+
const apiUrl = import.meta.env.VITE_API_URL || (isDev ? 'http://localhost:8000' : '');
|
| 458 |
+
|
| 459 |
+
const response = await fetch(`${apiUrl}/api/v1/predict/${value}`, {
|
| 460 |
+
method: 'POST',
|
| 461 |
+
headers: {
|
| 462 |
+
'Accept': 'application/json'
|
| 463 |
+
}
|
| 464 |
+
});
|
| 465 |
+
|
| 466 |
+
if (!response.ok) {
|
| 467 |
+
const errorData = await response.json().catch(() => ({}));
|
| 468 |
+
throw new Error(errorData.detail || `Server error: ${response.status}`);
|
| 469 |
+
}
|
| 470 |
+
|
| 471 |
+
const data = await response.json();
|
| 472 |
+
setMatchData(data);
|
| 473 |
+
setView('dashboard');
|
| 474 |
+
setTimeMin(0);
|
| 475 |
+
setIsPlaying(true);
|
| 476 |
+
} catch (err) {
|
| 477 |
+
setFetchError(err.message);
|
| 478 |
+
} finally {
|
| 479 |
+
setIsLoading(false);
|
| 480 |
+
}
|
| 481 |
+
};
|
| 482 |
+
|
| 483 |
+
const handleBackToLanding = () => {
|
| 484 |
+
setView('landing');
|
| 485 |
+
setIsPlaying(false);
|
| 486 |
+
};
|
| 487 |
+
|
| 488 |
+
// ── Render ──────────────────────────────────────────────────────────────────
|
| 489 |
+
return (
|
| 490 |
+
<>
|
| 491 |
+
<AnimatedBackground />
|
| 492 |
+
|
| 493 |
+
{view === 'landing' ? (
|
| 494 |
+
<LandingView
|
| 495 |
+
matchId={matchId}
|
| 496 |
+
onMatchIdChange={handleMatchIdChange}
|
| 497 |
+
onSimulate={handleSimulate}
|
| 498 |
+
error={showInputError}
|
| 499 |
+
isLoading={isLoading}
|
| 500 |
+
fetchError={fetchError}
|
| 501 |
+
/>
|
| 502 |
+
) : (
|
| 503 |
+
<DashboardView
|
| 504 |
+
matchId={matchId}
|
| 505 |
+
minute={timeMin}
|
| 506 |
+
maxDuration={maxDuration}
|
| 507 |
+
probabilities={probabilities}
|
| 508 |
+
history={history}
|
| 509 |
+
events={events}
|
| 510 |
+
isPlaying={isPlaying}
|
| 511 |
+
selectedFilter={selectedFilter}
|
| 512 |
+
onFilterChange={setSelectedFilter}
|
| 513 |
+
onTogglePlayback={() => setIsPlaying((current) => !current)}
|
| 514 |
+
onSetMinute={(minute) => {
|
| 515 |
+
setTimeMin(minute);
|
| 516 |
+
setIsPlaying(false);
|
| 517 |
+
}}
|
| 518 |
+
onBack={handleBackToLanding}
|
| 519 |
+
blueWin={matchData?.blue_win ?? null}
|
| 520 |
+
/>
|
| 521 |
+
)}
|
| 522 |
+
</>
|
| 523 |
+
);
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
export default App;
|
frontend/src/index.css
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800&family=Manrope:wght@400;500;700&display=swap');
|
| 2 |
+
|
| 3 |
+
:root {
|
| 4 |
+
--bg-main: #09090d;
|
| 5 |
+
--bg-panel: rgba(17, 17, 22, 0.84);
|
| 6 |
+
--bg-panel-soft: rgba(17, 17, 22, 0.64);
|
| 7 |
+
--text-strong: #f4f0ea;
|
| 8 |
+
--text-muted: #b2a998;
|
| 9 |
+
--text-subtle: #807a71;
|
| 10 |
+
--accent-primary: #c6a769;
|
| 11 |
+
--accent-secondary: #20b7ff;
|
| 12 |
+
--accent-danger: #ff4d6d;
|
| 13 |
+
--accent-success: #6cf3a2;
|
| 14 |
+
--accent-blue-team: #19d7ff;
|
| 15 |
+
--accent-red-team: #ff5f7a;
|
| 16 |
+
--line-soft: rgba(198, 167, 105, 0.22);
|
| 17 |
+
--line-strong: rgba(198, 167, 105, 0.45);
|
| 18 |
+
--shadow-depth: 0 24px 80px rgba(0, 0, 0, 0.45);
|
| 19 |
+
--radius-lg: 24px;
|
| 20 |
+
--radius-md: 16px;
|
| 21 |
+
--radius-sm: 10px;
|
| 22 |
+
--font-display: 'Cinzel', Georgia, serif;
|
| 23 |
+
--font-body: 'Manrope', sans-serif;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
*,
|
| 27 |
+
*::before,
|
| 28 |
+
*::after {
|
| 29 |
+
box-sizing: border-box;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
html,
|
| 33 |
+
body {
|
| 34 |
+
margin: 0;
|
| 35 |
+
min-height: 100%;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
body {
|
| 39 |
+
background: var(--bg-main);
|
| 40 |
+
color: var(--text-strong);
|
| 41 |
+
font-family: var(--font-body);
|
| 42 |
+
line-height: 1.5;
|
| 43 |
+
overflow-x: hidden;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
#root {
|
| 47 |
+
min-height: 100vh;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
h1,
|
| 51 |
+
h2,
|
| 52 |
+
h3,
|
| 53 |
+
h4,
|
| 54 |
+
h5,
|
| 55 |
+
h6 {
|
| 56 |
+
margin: 0;
|
| 57 |
+
font-family: var(--font-display);
|
| 58 |
+
letter-spacing: 0.02em;
|
| 59 |
+
text-transform: uppercase;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
p {
|
| 63 |
+
margin: 0;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
button,
|
| 67 |
+
input {
|
| 68 |
+
font: inherit;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.background-container {
|
| 72 |
+
position: fixed;
|
| 73 |
+
inset: 0;
|
| 74 |
+
z-index: -1;
|
| 75 |
+
overflow: hidden;
|
| 76 |
+
background:
|
| 77 |
+
radial-gradient(1200px 650px at 8% 12%, rgba(25, 215, 255, 0.38), transparent 60%),
|
| 78 |
+
radial-gradient(1000px 600px at 92% 78%, rgba(255, 95, 122, 0.28), transparent 60%),
|
| 79 |
+
linear-gradient(160deg, #07070a 0%, #0e0f16 52%, #0b0b0f 100%);
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.bg-noise,
|
| 83 |
+
.bg-vignette,
|
| 84 |
+
.bg-grid,
|
| 85 |
+
.bg-scanline,
|
| 86 |
+
.bg-wave,
|
| 87 |
+
.bg-orb {
|
| 88 |
+
position: absolute;
|
| 89 |
+
inset: 0;
|
| 90 |
+
pointer-events: none;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.bg-noise {
|
| 94 |
+
opacity: 0.32;
|
| 95 |
+
background-image: radial-gradient(rgba(244, 240, 234, 0.15) 0.5px, transparent 0.5px);
|
| 96 |
+
background-size: 3px 3px;
|
| 97 |
+
mix-blend-mode: soft-light;
|
| 98 |
+
animation: noiseDrift 16s steps(8) infinite;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.bg-vignette {
|
| 102 |
+
background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.52) 100%);
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.bg-grid {
|
| 106 |
+
opacity: 0.34;
|
| 107 |
+
background-image:
|
| 108 |
+
linear-gradient(rgba(198, 167, 105, 0.1) 1px, transparent 1px),
|
| 109 |
+
linear-gradient(90deg, rgba(198, 167, 105, 0.1) 1px, transparent 1px);
|
| 110 |
+
background-size: 52px 52px;
|
| 111 |
+
mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.bg-scanline {
|
| 115 |
+
opacity: 0.26;
|
| 116 |
+
background: linear-gradient(180deg, transparent 0%, rgba(25, 215, 255, 0.38) 50%, transparent 100%);
|
| 117 |
+
transform: translateY(-100%);
|
| 118 |
+
animation: scanFall 7.5s linear infinite;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.bg-wave {
|
| 122 |
+
opacity: 0.34;
|
| 123 |
+
background:
|
| 124 |
+
radial-gradient(600px 120px at 25% 70%, rgba(25, 215, 255, 0.35), transparent 70%),
|
| 125 |
+
radial-gradient(700px 140px at 75% 28%, rgba(198, 167, 105, 0.27), transparent 70%);
|
| 126 |
+
filter: blur(8px);
|
| 127 |
+
animation: waveShift 14s ease-in-out infinite;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.bg-orb {
|
| 131 |
+
inset: auto;
|
| 132 |
+
border-radius: 50%;
|
| 133 |
+
filter: blur(24px);
|
| 134 |
+
animation: orbFloat 18s ease-in-out infinite;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.bg-orb.orb-left {
|
| 138 |
+
width: min(40vw, 460px);
|
| 139 |
+
height: min(40vw, 460px);
|
| 140 |
+
left: -8vw;
|
| 141 |
+
top: 18vh;
|
| 142 |
+
background: radial-gradient(circle at center, rgba(25, 215, 255, 0.4), rgba(25, 215, 255, 0));
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.bg-orb.orb-right {
|
| 146 |
+
width: min(50vw, 560px);
|
| 147 |
+
height: min(50vw, 560px);
|
| 148 |
+
right: -12vw;
|
| 149 |
+
bottom: -12vh;
|
| 150 |
+
background: radial-gradient(circle at center, rgba(255, 95, 122, 0.35), rgba(255, 95, 122, 0));
|
| 151 |
+
animation-delay: -8s;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
@keyframes orbFloat {
|
| 155 |
+
0%,
|
| 156 |
+
100% {
|
| 157 |
+
transform: translate3d(0, 0, 0) scale(1);
|
| 158 |
+
}
|
| 159 |
+
50% {
|
| 160 |
+
transform: translate3d(4vw, -2vh, 0) scale(1.1);
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
@keyframes noiseDrift {
|
| 165 |
+
0% {
|
| 166 |
+
transform: translate(0, 0);
|
| 167 |
+
}
|
| 168 |
+
100% {
|
| 169 |
+
transform: translate(-12px, 9px);
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
@keyframes scanFall {
|
| 174 |
+
0% {
|
| 175 |
+
transform: translateY(-100%);
|
| 176 |
+
}
|
| 177 |
+
100% {
|
| 178 |
+
transform: translateY(100%);
|
| 179 |
+
}
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
@keyframes waveShift {
|
| 183 |
+
0%,
|
| 184 |
+
100% {
|
| 185 |
+
transform: translate3d(0, 0, 0);
|
| 186 |
+
}
|
| 187 |
+
50% {
|
| 188 |
+
transform: translate3d(0, -2vh, 0) scale(1.05);
|
| 189 |
+
}
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
@media (prefers-reduced-motion: reduce) {
|
| 193 |
+
.bg-noise,
|
| 194 |
+
.bg-wave,
|
| 195 |
+
.bg-scanline,
|
| 196 |
+
.bg-orb {
|
| 197 |
+
animation: none;
|
| 198 |
+
}
|
| 199 |
+
}
|
frontend/src/main.jsx
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { StrictMode } from 'react'
|
| 2 |
+
import { createRoot } from 'react-dom/client'
|
| 3 |
+
import './index.css'
|
| 4 |
+
import App from './App.jsx'
|
| 5 |
+
|
| 6 |
+
createRoot(document.getElementById('root')).render(
|
| 7 |
+
<StrictMode>
|
| 8 |
+
<App />
|
| 9 |
+
</StrictMode>,
|
| 10 |
+
)
|
frontend/vite.config.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { defineConfig } from 'vite'
|
| 2 |
+
import react from '@vitejs/plugin-react'
|
| 3 |
+
|
| 4 |
+
// https://vite.dev/config/
|
| 5 |
+
export default defineConfig({
|
| 6 |
+
plugins: [react()],
|
| 7 |
+
})
|
models/logistic_regression.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77305d2c094e44e8c72b357f41dcdf902cbafb2ae1574fe07acaecdbecca6488
|
| 3 |
+
size 1519
|
models/lstm.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e783fce87cd691d2b55e6b4e3e0905f62f3b6ac2e58f3a5a6083ebc6d5cbb6e
|
| 3 |
+
size 155517
|
models/scaler_lr.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23845ffd9ab5c334c3059e0a539c5784115f89d923a7d830e7d7d9eb71b126ff
|
| 3 |
+
size 4471
|
models/xgboost.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ef0adb85a4324e3b4debd5fdf4d92dafecc417ed1dcafd9636a91ce9293f85a
|
| 3 |
+
size 949324
|