Open-source inference server and production cluster for all the models your agent needs.
Python bgecolbertdata-pipelinedeep-learningembeddingsinferenceinference-serverinformation-retrievalllmmlmlopsnatural-language-processingnlppythonrerankingretrievalretrieval-augmented-generationsemantic-searchspladevector-search
feat(examples): add wine recommender example
Filip Makraduli78455db8db0d
diff --git a/examples/wine-recommender/.dockerignore b/examples/wine-recommender/.dockerignorenew file mode 100644index 000000000..9e4addfe6--- /dev/null+++ b/examples/wine-recommender/.dockerignore@@ -0,0 +1,10 @@+venv/+.git/+.run/+__pycache__/+*.pyc+.env+app/node_modules/+app/.next/+frontend/react_app/node_modules/+frontend/react_app/.next/diff --git a/examples/wine-recommender/.env.example b/examples/wine-recommender/.env.examplenew file mode 100644index 000000000..38d94db30--- /dev/null+++ b/examples/wine-recommender/.env.example@@ -0,0 +1,13 @@+# Root app environment for `app.py` and the main backend.+# The `wine_picture_detection` folder can also have its own local `.env` for standalone work.++CLUSTER_URL=https://your-sie-cluster-url+API_KEY=your-sie-api-key+RERANK_METHOD=standard+SIE_RERANK_MODEL=BAAI/bge-reranker-v2-m3+SIE_EMBEDDING_MODEL=BAAI/bge-m3+RERANK_ALPHA=0.7+CUSTOM_RERANK_A=0.75+CUSTOM_RERANK_NO_REVIEW_PENALTY=0.5+SIE_GPU=l4-spot+SIE_PROVISION_TIMEOUT_S=900diff --git a/examples/wine-recommender/.gitignore b/examples/wine-recommender/.gitignorenew file mode 100644index 000000000..7381bd840--- /dev/null+++ b/examples/wine-recommender/.gitignore@@ -0,0 +1,215 @@+# Byte-compiled / optimized / DLL files+__pycache__/+*.py[codz]+*$py.class++# C extensions+*.so++# Distribution / packaging+.Python+build/+develop-eggs/+dist/+downloads/+eggs/+.eggs/+lib/+lib64/+!app/lib/+!app/lib/**+parts/+sdist/+var/+wheels/+share/python-wheels/+*.egg-info/+.installed.cfg+*.egg+MANIFEST++# PyInstaller+# Usually these files are written by a python script from a template+# before PyInstaller builds the exe, so as to inject date/other infos into it.+*.manifest+*.spec++# Installer logs+pip-log.txt+pip-delete-this-directory.txt++# Unit test / coverage reports+htmlcov/+.tox/+.nox/+.coverage+.coverage.*+.cache+nosetests.xml+coverage.xml+*.cover+*.py.cover+.hypothesis/+.pytest_cache/+cover/++# Translations+*.mo+*.pot++# Django stuff:+*.log+local_settings.py+db.sqlite3+db.sqlite3-journal++# Flask stuff:+instance/+.webassets-cache++# Scrapy stuff:+.scrapy++# Sphinx documentation+docs/_build/++# PyBuilder+.pybuilder/+target/++# Jupyter Notebook+.ipynb_checkpoints++# IPython+profile_default/+ipython_config.py++# pyenv+# For a library or package, you might want to ignore these files since the code is+# intended to run in multiple environments; otherwise, check them in:+# .python-version++# pipenv+# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.+# However, in case of collaboration, if having platform-specific dependencies or dependencies+# having no cross-platform support, pipenv may install dependencies that don't work, or not+# install all needed dependencies.+#Pipfile.lock++# UV+# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.+# This is especially recommended for binary packages to ensure reproducibility, and is more+# commonly ignored for libraries.+#uv.lock++# poetry+# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.+# This is especially recommended for binary packages to ensure reproducibility, and is more+# commonly ignored for libraries.+# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control+#poetry.lock+#poetry.toml++# pdm+# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.+# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.+# https://pdm-project.org/en/latest/usage/project/#working-with-version-control+#pdm.lock+#pdm.toml+.pdm-python+.pdm-build/++# pixi+# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.+#pixi.lock+# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one+# in the .venv directory. It is recommended not to include this directory in version control.+.pixi++# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm+__pypackages__/++# Celery stuff+celerybeat-schedule+celerybeat.pid++# SageMath parsed files+*.sage.py++# Environments+.env+.envrc+.venv+env/+venv/+ENV/+env.bak/+venv.bak/++# Spyder project settings+.spyderproject+.spyproject++# Rope project settings+.ropeproject++# mkdocs documentation+/site++# mypy+.mypy_cache/+.dmypy.json+dmypy.json++# Pyre type checker+.pyre/++# pytype static type analyzer+.pytype/++# Cython debug symbols+cython_debug/++# PyCharm+# JetBrains specific template is maintained in a separate JetBrains.gitignore that can+# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore+# and can be added to the global gitignore or merged into this file. For a more nuclear+# option (not recommended) you can uncomment the following to ignore the entire idea folder.+#.idea/++# Abstra+# Abstra is an AI-powered process automation framework.+# Ignore directories containing user credentials, local state, and settings.+# Learn more at https://abstra.io/docs+.abstra/++# Visual Studio Code+# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore+# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore+# and can be added to the global gitignore or merged into this file. However, if you prefer,+# you could uncomment the following to ignore the entire vscode folder+# .vscode/++# Ruff stuff:+.ruff_cache/++# PyPI configuration file+.pypirc++# Cursor+# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to+# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data+# refer to https://docs.cursor.com/context/ignore-files+.cursorignore+.cursorindexingignore++# Marimo+marimo/_static/+marimo/_lsp/+__marimo__/++# WineRetrieval app runtime artifacts+.run/+app/node_modules/+app/.next/+npm-debug.log*diff --git a/examples/wine-recommender/Dockerfile.backend b/examples/wine-recommender/Dockerfile.backendnew file mode 100644index 000000000..4e60947b7--- /dev/null+++ b/examples/wine-recommender/Dockerfile.backend@@ -0,0 +1,17 @@+FROM python:3.12-slim++ENV PYTHONDONTWRITEBYTECODE=1 \+ PYTHONUNBUFFERED=1++WORKDIR /app++RUN apt-get update \+ && apt-get install -y --no-install-recommends libgl1 libglib2.0-0 \+ && rm -rf /var/lib/apt/lists/*++COPY requirements.txt .+RUN pip install --no-cache-dir -r requirements.txt++COPY . .++CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]diff --git a/examples/wine-recommender/Dockerfile.frontend b/examples/wine-recommender/Dockerfile.frontendnew file mode 100644index 000000000..1707f8aa9--- /dev/null+++ b/examples/wine-recommender/Dockerfile.frontend@@ -0,0 +1,10 @@+FROM node:20-bookworm-slim++WORKDIR /app++COPY package.json package-lock.json* ./+RUN npm install++COPY . .++CMD ["npm", "run", "dev", "--", "--hostname", "0.0.0.0", "--port", "3000"]diff --git a/examples/wine-recommender/README.md b/examples/wine-recommender/README.mdnew file mode 100644index 000000000..ea07939b2--- /dev/null+++ b/examples/wine-recommender/README.md@@ -0,0 +1,121 @@+# WineRetrieval++WineRetrieval is a runnable demo app that shows how to combine retrieval, reranking, and OCR-style extraction with [SIE](https://sie.dev/docs/). You can use it to explore wine recommendations from taste preferences, then switch to label detection from an uploaded bottle image.++It wires together two separate prototype features:++- `wine_flavor/`: wine retrieval and reranking from flavor + structure preferences. This uses both the [encode](https://sie.dev/docs/encode) and [score](https://sie.dev/docs/score) primitives of the SIE.+- `wine_picture_detection/`: OCR-based wine label detection, using the [extract](https://sie.dev/docs/extract) primitive.++Those two pieces are connected through the root `app.py` so you can try them in one UI, but they are also meant to be runnable on their own from inside their own folders. Please refer to the instructions in the README in each sub-folder to do so.++The duplicated database files (`wine_flavor.db`) and local `.env` setup are intentional. The goal is to let someone open either subproject directly and run it in isolation without depending on the full root app setup.++## What You Can Do++- Enter flavor and structure preferences to get wine recommendations+- Compare recommendation behavior across different reranking approaches+- Upload a wine label image and inspect the OCR-driven bottle matching flow+- Use the combined app as a reference for wiring multiple SIE primitives into one user-facing demo++## Project Structure++- `sie/examples/wine-recommender/app.py`: demo backend that wires OCR and retrieval into one FastAPI app+- `sie/examples/wine-recommender/app/`: Next.js frontend for the demo UI+- `sie/examples/wine-recommender/wine_flavor/`: standalone retrieval and reranking prototype+- `sie/examples/wine-recommender/wine_picture_detection/`: standalone OCR and label-matching prototype++## SIE Features Used++- `encode` for retrieval embeddings+- `score` for reranking candidate wines+- `extract` for OCR-based wine label detection++## Why The OCR Flow Matters++The OCR side of the demo shows that SIE is not only useful for text retrieval. In this example, `extract` is used to pull readable text from a bottle label image, then that text is matched against the local wine catalog to identify the bottle.++This is important because real product flows often combine search and extraction rather than using only one primitive. A user may not know the exact wine name, but they may still have a label photo. The OCR path turns that image into usable text and then connects it back to the recommendation and catalog experience.++The OCR pipeline is also intentionally model-flexible. You can use this example to try different OCR-capable extraction models through SIE without rewriting the application flow, which makes it a useful reference for developers who want to evaluate image-to-text approaches quickly.++## Schema Design++### Wine Recommendation++```mermaid+flowchart TD;+ A1["User preferences"] --> B["Normalization"];+ A2["Wine structural and flavor Attributes"] --> B;+ B --> C["Vectorization from user preferences and wine attributes"];+ C --> D["1st Retrieval - List of N candidates"];+ D --> E["Pull reviews for candidate wines"];+ E --> F1["Standard reranking on candidate reviews"];+ E --> F2["Custom reranking with embeddings on flavor profiles and reviews"];+ F1 --> G1["Final Wine List"];+ F2 --> G2["Final Wine List"];+```++### Wine Identification++```mermaid+flowchart TD;+ A["Image upload"] --> B["Analysis of image quality"];+ B --> C["OCR / Text extraction"];+ C --> D["Score wines against the extracted content"];+ D --> E["Wine identification"];+```++## Pre-requisite++In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://sie.dev/docs/quickstart) for detailed instructions++## Running the full Demo++The full app runs through Docker Compose:++- `backend`: FastAPI on `http://localhost:8000`+- `frontend`: Next.js on `http://localhost:3000`++From the repo root:++```bash+cd examples/wine-recommender+docker compose up --build+```++Make sure ports `3000` and `8000` are free before starting the stack.++App URLs:++- Frontend: `http://localhost:3000`+- Backend: `http://localhost:8000`++Stop it with:++```bash+docker compose down+```++## Environment Files++- The root app and `wine_flavor/` subproject use the root `.env`+- `wine_picture_detection/` can also use its own local `.env` / `.env.example`+- The duplicated setup is intentional so both subprojects can be run individually++If you are running the full demo, put the required backend keys in the root `.env`.++## What To Try++1. Start the full app and open `http://localhost:3000`.+2. Try recommendation queries with different structure preferences such as:+ `high acidity + low sweetness`+ `full-bodied + high tannin`+3. Upload the sample wine label or your own label image and inspect the detected wine match.+4. Compare how the recommendation and OCR flows use different SIE primitives inside the same app.+5. Pay attention to the OCR output quality and matching behavior. The image path is useful for understanding how extraction can support search and retrieval when the user starts from a photo instead of structured text.++## Notes++- This repo is optimized for demoing the product idea, not for production deployment or large-scale operation.+- The main app is intentionally simple: `app.py` wires together the OCR module and the retrieval module rather than hiding them behind a larger service architecture.diff --git a/examples/wine-recommender/app.py b/examples/wine-recommender/app.pynew file mode 100644index 000000000..c6325884f--- /dev/null+++ b/examples/wine-recommender/app.py@@ -0,0 +1,595 @@+import json+import os+import sqlite3+from contextlib import asynccontextmanager+from pathlib import Path+from threading import Lock+from uuid import uuid4++import pandas as pd+import uvicorn+from dotenv import load_dotenv+from fastapi import FastAPI, File, HTTPException, UploadFile+from fastapi.encoders import jsonable_encoder+from fastapi.middleware.cors import CORSMiddleware+from openai import OpenAI+from pydantic import BaseModel, Field+from wine_flavor import datasource, service+from wine_picture_detection import detect_wine_from_image_bytes++load_dotenv()+++def _require_env(name):+ value = os.getenv(name)+ if value is None or value == "":+ raise ValueError(f"Missing required environment variable: {name}")+ return value+++def _require_float_env(name, fallback_name=None):+ value = os.getenv(name)+ if (value is None or value == "") and fallback_name:+ value = os.getenv(fallback_name)+ if value is None or value == "":+ if fallback_name:+ raise ValueError(+ f"Missing required environment variable: {name} (or legacy {fallback_name})"+ )+ raise ValueError(f"Missing required environment variable: {name}")+ return float(value)+++def _require_int_env(name, default):+ value = os.getenv(name)+ if value is None or value == "":+ return int(default)+ return int(value)+++try:+ SIE_BASE_URL = _require_env("CLUSTER_URL")+ SIE_API_KEY = _require_env("API_KEY")+ RERANK_METHOD = _require_env("RERANK_METHOD")+ SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")+ SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")+ RERANK_ALPHA = _require_float_env("RERANK_ALPHA")+ CUSTOM_RERANK_A = _require_float_env("CUSTOM_RERANK_A")+ CUSTOM_RERANK_NO_REVIEW_PENALTY = float(+ _require_env("CUSTOM_RERANK_NO_REVIEW_PENALTY")+ )+except ValueError as exc:+ raise ValueError(f"{exc}. Add it to your .env file.") from exc++ALLOWED_SIE_RERANK_MODELS = {+ "BAAI/bge-reranker-v2-m3",+ "jinaai/jina-reranker-v2-base-multilingual",+}+ALLOWED_RERANK_METHODS = {"standard", "custom"}+DEMO_NUM_PAGES = _require_int_env("DEMO_NUM_PAGES", 5)+REVIEWS_PER_WINE = _require_int_env("REVIEWS_PER_WINE", 5)+REVIEW_PAGES = _require_int_env("REVIEW_PAGES", 1)+COSINE_TOP_K = _require_int_env("COSINE_TOP_K", 20)+RERANK_MAX_TERMS = _require_int_env("RERANK_MAX_TERMS", 12)+SIE_GPU = os.getenv("SIE_GPU", "l4-spot")+SIE_PROVISION_TIMEOUT_S = _require_int_env("SIE_PROVISION_TIMEOUT_S", 900)+FRONTEND_ORIGIN = os.getenv("FRONTEND_ORIGIN", "http://localhost:3000")+DB_PATH = Path("wine_flavor.db")++if RERANK_METHOD not in ALLOWED_RERANK_METHODS:+ raise ValueError(+ f"Unsupported rerank method '{RERANK_METHOD}'. "+ f"Choose one of: {sorted(ALLOWED_RERANK_METHODS)}"+ )++if SIE_RERANK_MODEL not in ALLOWED_SIE_RERANK_MODELS:+ raise ValueError(+ f"Unsupported SIE reranker model '{SIE_RERANK_MODEL}'. "+ f"Choose one of: {sorted(ALLOWED_SIE_RERANK_MODELS)}"+ )+++class StructurePreferences(BaseModel):+ acidity: float = Field(ge=0.0, le=1.0)+ fizziness: float = Field(ge=0.0, le=1.0)+ intensity: float = Field(ge=0.0, le=1.0)+ sweetness: float = Field(ge=0.0, le=1.0)+ tannin: float = Field(ge=0.0, le=1.0)+++class RecommendationRequest(BaseModel):+ structure: StructurePreferences+ flavors: dict[str, float] = Field(default_factory=dict)+ reference_row_indices: list[int] = Field(default_factory=list)+ top_k: int = Field(default=COSINE_TOP_K, ge=1, le=50)+++class FlavorPromptRequest(BaseModel):+ prompt: str = Field(min_length=1, max_length=500)+++class DemoCatalog:+ def __init__(self):+ self._lock = Lock()+ self._loaded = False+ self.wines = None+ self.unique_flavors = None+ self.flavor_idf = None+ self.wine_matrix = None++ def _load_from_sqlite(self):+ if not DB_PATH.exists():+ raise FileNotFoundError(f"Catalog database not found at {DB_PATH}")++ connection = sqlite3.connect(DB_PATH)+ try:+ wines = pd.read_sql_query(+ """+ SELECT+ wine_id,+ winery_name,+ wine_name,+ vintage_year,+ rating_average,+ ratings_count,+ country_name,+ region_name,+ taste_acidity,+ taste_fizziness,+ taste_intensity,+ taste_sweetness,+ taste_tannin,+ wine_flavors_json,+ style_name,+ style_varietal_name,+ price_amount,+ price_currency+ FROM wines+ ORDER BY wine_id+ """,+ connection,+ )+ finally:+ connection.close()++ if wines.empty:+ raise RuntimeError("Local SQLite catalog is empty.")++ wines["wine_flavors"] = wines["wine_flavors_json"].apply(+ lambda value: json.loads(value or "[]")+ )+ wines = wines.drop(columns=["wine_flavors_json"])+ wines["review_count"] = 0+ return wines++ def load(self, force=False):+ with self._lock:+ if self._loaded and not force:+ return++ if DB_PATH.exists():+ wines = self._load_from_sqlite()+ else:+ wines = datasource.fetch_vivino_wines(num_pages=DEMO_NUM_PAGES)++ wines = datasource.attach_vivino_reviews(+ wines,+ review_pages=REVIEW_PAGES,+ reviews_per_page=REVIEWS_PER_WINE,+ language="en",+ )++ catalog_assets = service.load_catalog_assets(wines)++ self.wines = wines+ self.unique_flavors = catalog_assets["unique_flavors"]+ self.flavor_idf = catalog_assets["flavor_idf"]+ self.wine_matrix = catalog_assets["wine_matrix"]+ self._loaded = True+++catalog = DemoCatalog()+++def _request_to_preferences(payload):+ return {+ "structure": payload.structure.model_dump(),+ "flavors": {name: float(value) for name, value in payload.flavors.items()},+ }+++def _normalize_record(record):+ if isinstance(record, dict):+ return {key: _normalize_record(value) for key, value in record.items()}++ if isinstance(record, list):+ return [_normalize_record(value) for value in record]++ if isinstance(record, tuple):+ return [_normalize_record(value) for value in record]++ try:+ if pd.isna(record):+ return None+ except (TypeError, ValueError):+ pass++ return record+++def _to_ui_structure_from_row(wine_row):+ def _scale(value):+ if value is None or pd.isna(value):+ return 0+ return int(round(float(value) * 20))++ return {+ "acidity": _scale(wine_row.get("taste_acidity")),+ "fizziness": _scale(wine_row.get("taste_fizziness")),+ "intensity": _scale(wine_row.get("taste_intensity")),+ "sweetness": _scale(wine_row.get("taste_sweetness")),+ "tannin": _scale(wine_row.get("taste_tannin")),+ }+++def _extract_wine_flavors(wine_row, max_flavors=6):+ flavor_counts = {}+ for flavor_group in wine_row.get("wine_flavors", []) or []:+ for keyword in flavor_group.get("primary_keywords") or []:+ name = keyword.get("name")+ count = keyword.get("count", 1) or 1+ if name:+ flavor_counts[name] = flavor_counts.get(name, 0) + count+ for keyword in flavor_group.get("secondary_keywords") or []:+ name = keyword.get("name")+ count = keyword.get("count", 1) or 1+ if name:+ flavor_counts[name] = flavor_counts.get(name, 0) + count++ ordered_flavors = sorted(+ flavor_counts.items(), key=lambda item: item[1], reverse=True+ )+ return [name for name, _ in ordered_flavors[:max_flavors]]+++def _wine_style(wine_row):+ return wine_row.get("style_name") or wine_row.get("style_varietal_name") or "Wine"+++def _catalog_wine_record(wine_row):+ wine_id = wine_row.get("wine_id")+ row_index = wine_row.get("row_index")+ if row_index is None:+ row_index = getattr(wine_row, "name", -1)+ return _normalize_record(+ {+ "id": (+ str(int(wine_id))+ if wine_id is not None and not pd.isna(wine_id)+ else ""+ ),+ "row_index": int(row_index),+ "name": wine_row.get("wine_name"),+ "winery": wine_row.get("winery_name"),+ "vintage": wine_row.get("vintage_year"),+ "country": wine_row.get("country_name"),+ "region": wine_row.get("region_name"),+ "style": _wine_style(wine_row),+ "price": wine_row.get("price_amount"),+ "structure": _to_ui_structure_from_row(wine_row),+ "flavors": _extract_wine_flavors(wine_row),+ }+ )+++def _load_detected_wine_from_db(wine_id):+ if wine_id is None or not DB_PATH.exists():+ return None++ connection = sqlite3.connect(DB_PATH)+ connection.row_factory = sqlite3.Row+ try:+ row = connection.execute(+ """+ SELECT+ wine_id,+ winery_name,+ wine_name,+ vintage_year,+ country_name,+ region_name,+ style_name,+ style_varietal_name,+ price_amount,+ wine_flavors_json,+ taste_acidity,+ taste_fizziness,+ taste_intensity,+ taste_sweetness,+ taste_tannin+ FROM wines+ WHERE wine_id = ?+ """,+ (int(wine_id),),+ ).fetchone()+ finally:+ connection.close()++ if row is None:+ return None++ return _catalog_wine_record(+ {+ "wine_id": row["wine_id"],+ "winery_name": row["winery_name"],+ "wine_name": row["wine_name"],+ "vintage_year": row["vintage_year"],+ "country_name": row["country_name"],+ "region_name": row["region_name"],+ "style_name": row["style_name"],+ "style_varietal_name": row["style_varietal_name"],+ "price_amount": row["price_amount"],+ "wine_flavors": json.loads(row["wine_flavors_json"] or "[]"),+ "taste_acidity": row["taste_acidity"],+ "taste_fizziness": row["taste_fizziness"],+ "taste_intensity": row["taste_intensity"],+ "taste_sweetness": row["taste_sweetness"],+ "taste_tannin": row["taste_tannin"],+ }+ )+++def _select_detected_wine_record(wines, detected_wine_id=None):+ if detected_wine_id is None:+ return None++ if wines is not None and not wines.empty and detected_wine_id is not None:+ matches = wines[wines["wine_id"] == detected_wine_id]+ if not matches.empty:+ return _catalog_wine_record(matches.iloc[0])++ db_record = _load_detected_wine_from_db(detected_wine_id)+ if db_record is not None:+ return db_record++ return None+++def _build_flavor_tags(wines):+ grouped_flavors = {}++ for _, wine_row in wines.iterrows():+ for flavor_group in wine_row.get("wine_flavors", []) or []:+ category = (flavor_group.get("group") or "other").replace("_", " ").title()+ grouped_flavors.setdefault(category, set())+ for keyword in flavor_group.get("primary_keywords") or []:+ if keyword.get("name"):+ grouped_flavors[category].add(keyword["name"])+ for keyword in flavor_group.get("secondary_keywords") or []:+ if keyword.get("name"):+ grouped_flavors[category].add(keyword["name"])++ return [+ {+ "category": category,+ "flavors": sorted(list(flavors)),+ }+ for category, flavors in sorted(grouped_flavors.items())+ if flavors+ ]+++def _prompt_flavor_adjustment(prompt: str, available_flavors: list[str]) -> dict:+ api_key = os.getenv("OPENAI_API_KEY")+ if not api_key:+ raise ValueError("Missing required environment variable: OPENAI_API_KEY")++ client = OpenAI(api_key=api_key)+ response = client.responses.create(+ model="gpt-4.1-mini",+ text={"format": {"type": "json_object"}},+ input=[+ {+ "role": "system",+ "content": (+ "Return only JSON with keys structure and flavors. "+ "Structure must contain acidity, fizziness, intensity, sweetness, tannin as integers from 0 to 100. "+ "Flavors must be an array of up to 8 strings chosen only from the provided list."+ ),+ },+ {+ "role": "user",+ "content": f"Prompt: {prompt}\nAvailable flavors: {', '.join(available_flavors[:250])}",+ },+ ],+ )++ output_text = (response.output_text or "").strip()+ if not output_text:+ raise ValueError("OpenAI returned an empty response")++ try:+ return json.loads(output_text)+ except json.JSONDecodeError as exc:+ raise ValueError(f"OpenAI returned invalid JSON: {output_text}") from exc+++def _to_recommendation_record(record):+ score = float(record.get("rerank_score") or 0.0)+ return {+ "id": str(record.get("wine_id")),+ "name": record.get("wine_name"),+ "winery": record.get("winery_name"),+ "vintage": record.get("vintage_year"),+ "country": record.get("country_name"),+ "region": record.get("region_name"),+ "style": record.get("style"),+ "price": record.get("price_amount"),+ "matchPercentage": max(0, min(100, int(round(score * 100)))),+ "flavorSummary": ", ".join(record.get("flavors", [])),+ "structure": record.get("structure"),+ "flavors": record.get("flavors", []),+ "reviewCount": record.get("review_count"),+ "rerankScore": score,+ }+++@asynccontextmanager+async def lifespan(_app):+ try:+ catalog.load()+ except Exception:+ # Keep the API bootable even if remote catalog fetches fail during startup.+ pass+ yield+++app = FastAPI(title="Wine Flavor Demo API", lifespan=lifespan)+app.add_middleware(+ CORSMiddleware,+ allow_origins=[FRONTEND_ORIGIN, "http://localhost:3000"],+ allow_credentials=True,+ allow_methods=["*"],+ allow_headers=["*"],+)++[email protected]("/")+def root():+ return {+ "name": "Wine Flavor Demo API",+ "status": "ok",+ "health": "/health",+ "recommendations": "/recommendations",+ }++[email protected]("/health")+def health():+ return {+ "status": "ok",+ "rerank_method": RERANK_METHOD,+ "catalog_loaded": catalog._loaded,+ "demo_num_pages": DEMO_NUM_PAGES,+ }++[email protected]("/catalog")+def catalog_view():+ catalog.load()+ return jsonable_encoder(service.build_catalog_response(catalog.wines))++[email protected]("/recommendations")+def recommendations(payload: RecommendationRequest):+ catalog.load()+ user_preferences = _request_to_preferences(payload)+ return jsonable_encoder(+ service.get_recommendations(+ catalog.wines,+ catalog.unique_flavors,+ catalog.flavor_idf,+ catalog.wine_matrix,+ user_preferences,+ top_k=payload.top_k,+ reference_row_indices=payload.reference_row_indices,+ rerank_method=RERANK_METHOD,+ base_url=SIE_BASE_URL,+ rerank_model=SIE_RERANK_MODEL,+ embedding_model=SIE_EMBEDDING_MODEL,+ gpu=SIE_GPU,+ provision_timeout_s=SIE_PROVISION_TIMEOUT_S,+ rerank_alpha=RERANK_ALPHA,+ custom_rerank_a=CUSTOM_RERANK_A,+ custom_rerank_no_review_penalty=CUSTOM_RERANK_NO_REVIEW_PENALTY,+ rerank_max_terms=RERANK_MAX_TERMS,+ )+ )++[email protected]("/analyze-flavor-prompt")+def analyze_flavor_prompt(payload: FlavorPromptRequest):+ catalog.load()+ available_flavors = sorted(set(catalog.unique_flavors or []))+ available_flavors_set = set(available_flavors)++ try:+ result = _prompt_flavor_adjustment(payload.prompt, available_flavors)+ except ValueError as exc:+ raise HTTPException(status_code=500, detail=str(exc)) from exc+ except Exception as exc:+ raise HTTPException(+ status_code=502, detail=f"Prompt analysis failed: {exc}"+ ) from exc++ structure = result.get("structure") or {}+ flavors = [+ flavor+ for flavor in (result.get("flavors") or [])+ if flavor in available_flavors_set+ ]+ return jsonable_encoder(+ {+ "structure": {+ "acidity": max(0, min(100, int(structure.get("acidity", 50)))),+ "fizziness": max(0, min(100, int(structure.get("fizziness", 0)))),+ "intensity": max(0, min(100, int(structure.get("intensity", 50)))),+ "sweetness": max(0, min(100, int(structure.get("sweetness", 10)))),+ "tannin": max(0, min(100, int(structure.get("tannin", 50)))),+ },+ "flavors": flavors[:8],+ }+ )++[email protected]("/detect-wine-image")+async def detect_wine_image(file: UploadFile = File(...)):+ catalog.load()++ image_bytes = await file.read()+ uploads_dir = Path("uploads")+ original_name = file.filename or "upload.bin"+ suffix = Path(original_name).suffix or ".bin"+ saved_path = uploads_dir / f"{uuid4().hex}{suffix}"++ try:+ uploads_dir.mkdir(parents=True, exist_ok=True)+ saved_path.write_bytes(image_bytes)+ saved_path_value = str(saved_path)+ except OSError as exc:+ saved_path_value = f"save-failed:{exc.__class__.__name__}"++ print(+ "detect-wine-image upload:",+ {+ "filename": original_name,+ "content_type": file.content_type,+ "bytes": len(image_bytes),+ "saved_path": saved_path_value,+ },+ )++ detection = detect_wine_from_image_bytes(image_bytes)+ detected_wine = _select_detected_wine_record(catalog.wines, detection.wine_id)++ return jsonable_encoder(+ {+ "detected_wine": detected_wine,+ "match_score": detection.match_score,+ "ocr_text": detection.ocr_text,+ }+ )++[email protected]("/reload")+def reload_catalog():+ catalog.load(force=True)+ return {+ "status": "reloaded",+ "wine_count": len(catalog.wines),+ "flavor_count": len(catalog.unique_flavors),+ }+++if __name__ == "__main__":+ uvicorn.run("app:app", host="0.0.0.0", port=8000, reload=True)diff --git a/examples/wine-recommender/app/app/globals.css b/examples/wine-recommender/app/app/globals.cssnew file mode 100644index 000000000..144f3949f--- /dev/null+++ b/examples/wine-recommender/app/app/globals.css@@ -0,0 +1,241 @@+@import 'tailwindcss';+@import 'tw-animate-css';++@custom-variant dark (&:is(.dark *));++:root {+ /* Wine-inspired organic palette */+ --background: #FDFBF7;+ --foreground: #2C2420;+ --card: #FEFCF9;+ --card-foreground: #2C2420;+ --popover: #FEFCF9;+ --popover-foreground: #2C2420;+ --primary: #722F37;+ --primary-foreground: #FDF8F5;+ --secondary: #C9A962;+ --secondary-foreground: #2C2420;+ --muted: #F0E9DF;+ --muted-foreground: #6B5E54;+ --accent: #4A5943;+ --accent-foreground: #FDF8F5;+ --destructive: #A85448;+ --destructive-foreground: #FDF8F5;+ --border: #E2D9CD;+ --input: #F5F0E8;+ --ring: #722F37;+ --chart-1: #722F37;+ --chart-2: #C9A962;+ --chart-3: #4A5943;+ --chart-4: #8B7355;+ --chart-5: #5C5C5C;+ --radius: 1rem;+ --sidebar: oklch(0.985 0 0);+ --sidebar-foreground: oklch(0.145 0 0);+ --sidebar-primary: oklch(0.205 0 0);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.97 0 0);+ --sidebar-accent-foreground: oklch(0.205 0 0);+ --sidebar-border: oklch(0.922 0 0);+ --sidebar-ring: oklch(0.708 0 0);+}++.dark {+ --background: oklch(0.145 0 0);+ --foreground: oklch(0.985 0 0);+ --card: oklch(0.145 0 0);+ --card-foreground: oklch(0.985 0 0);+ --popover: oklch(0.145 0 0);+ --popover-foreground: oklch(0.985 0 0);+ --primary: oklch(0.985 0 0);+ --primary-foreground: oklch(0.205 0 0);+ --secondary: oklch(0.269 0 0);+ --secondary-foreground: oklch(0.985 0 0);+ --muted: oklch(0.269 0 0);+ --muted-foreground: oklch(0.708 0 0);+ --accent: oklch(0.269 0 0);+ --accent-foreground: oklch(0.985 0 0);+ --destructive: oklch(0.396 0.141 25.723);+ --destructive-foreground: oklch(0.637 0.237 25.331);+ --border: oklch(0.269 0 0);+ --input: oklch(0.269 0 0);+ --ring: oklch(0.439 0 0);+ --chart-1: oklch(0.488 0.243 264.376);+ --chart-2: oklch(0.696 0.17 162.48);+ --chart-3: oklch(0.769 0.188 70.08);+ --chart-4: oklch(0.627 0.265 303.9);+ --chart-5: oklch(0.645 0.246 16.439);+ --sidebar: oklch(0.205 0 0);+ --sidebar-foreground: oklch(0.985 0 0);+ --sidebar-primary: oklch(0.488 0.243 264.376);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.269 0 0);+ --sidebar-accent-foreground: oklch(0.985 0 0);+ --sidebar-border: oklch(0.269 0 0);+ --sidebar-ring: oklch(0.439 0 0);+}++@theme inline {+ --font-sans: var(--font-sans), 'Inter', system-ui, sans-serif;+ --font-serif: var(--font-serif), 'Playfair Display', Georgia, serif;+ --font-mono: 'Geist Mono', 'Geist Mono Fallback';+ --color-background: var(--background);+ --color-foreground: var(--foreground);+ --color-card: var(--card);+ --color-card-foreground: var(--card-foreground);+ --color-popover: var(--popover);+ --color-popover-foreground: var(--popover-foreground);+ --color-primary: var(--primary);+ --color-primary-foreground: var(--primary-foreground);+ --color-secondary: var(--secondary);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-muted: var(--muted);+ --color-muted-foreground: var(--muted-foreground);+ --color-accent: var(--accent);+ --color-accent-foreground: var(--accent-foreground);+ --color-destructive: var(--destructive);+ --color-destructive-foreground: var(--destructive-foreground);+ --color-border: var(--border);+ --color-input: var(--input);+ --color-ring: var(--ring);+ --color-chart-1: var(--chart-1);+ --color-chart-2: var(--chart-2);+ --color-chart-3: var(--chart-3);+ --color-chart-4: var(--chart-4);+ --color-chart-5: var(--chart-5);+ --radius-sm: calc(var(--radius) - 4px);+ --radius-md: calc(var(--radius) - 2px);+ --radius-lg: var(--radius);+ --radius-xl: calc(var(--radius) + 4px);+ --color-sidebar: var(--sidebar);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-ring: var(--sidebar-ring);+}++@layer base {+ * {+ @apply border-border outline-ring/50;+ }+ body {+ @apply bg-background text-foreground;+ }+}++/* Paper texture overlay */+body::before {+ content: '';+ position: fixed;+ inset: 0;+ pointer-events: none;+ z-index: 9999;+ opacity: 0.03;+ mix-blend-mode: multiply;+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");+}++/* Custom wine slider styles */+.slider-wine {+ -webkit-appearance: none;+ appearance: none;+ height: 24px;+ background: transparent;+ position: relative;+ z-index: 10;+}++.slider-wine::-webkit-slider-thumb {+ -webkit-appearance: none;+ appearance: none;+ width: 18px;+ height: 18px;+ background: #722F37;+ border-radius: 50%;+ cursor: pointer;+ border: 3px solid #FEFCF9;+ box-shadow: 0 2px 8px rgba(114, 47, 55, 0.25);+ transition: all 0.2s ease;+}++.slider-wine::-webkit-slider-thumb:hover {+ transform: scale(1.15);+ box-shadow: 0 4px 12px rgba(114, 47, 55, 0.35);+}++.slider-wine::-moz-range-thumb {+ width: 18px;+ height: 18px;+ background: #722F37;+ border-radius: 50%;+ cursor: pointer;+ border: 3px solid #FEFCF9;+ box-shadow: 0 2px 8px rgba(114, 47, 55, 0.25);+ transition: all 0.2s ease;+}++.slider-wine::-moz-range-thumb:hover {+ transform: scale(1.15);+ box-shadow: 0 4px 12px rgba(114, 47, 55, 0.35);+}++/* Bubble rising animation for sparkling wine */+@keyframes bubbleRise {+ 0% {+ transform: translateY(0) scale(1);+ opacity: 0;+ }+ 10% {+ opacity: 0.7;+ }+ 30% {+ transform: translateY(-25px) scale(1.1);+ opacity: 0.8;+ }+ 60% {+ transform: translateY(-50px) scale(0.9);+ opacity: 0.6;+ }+ 100% {+ transform: translateY(-75px) scale(0.5);+ opacity: 0;+ }+}++/* Wobble animation for foam bubbles at surface */+@keyframes fizz-wobble {+ 0%, 100% {+ transform: translateX(0) scale(1);+ }+ 25% {+ transform: translateX(1px) scale(1.05);+ }+ 50% {+ transform: translateX(-1px) scale(0.95);+ }+ 75% {+ transform: translateX(0.5px) scale(1.02);+ }+}++/* Legacy bubble animation */+@keyframes bubble {+ 0% {+ transform: translateY(0) scale(1);+ opacity: 0.6;+ }+ 50% {+ opacity: 0.8;+ }+ 100% {+ transform: translateY(-80px) scale(0.5);+ opacity: 0;+ }+}++.animate-bubble {+ animation: bubble 3s ease-out infinite;+}diff --git a/examples/wine-recommender/app/app/layout.tsx b/examples/wine-recommender/app/app/layout.tsxnew file mode 100644index 000000000..516db5b74--- /dev/null+++ b/examples/wine-recommender/app/app/layout.tsx@@ -0,0 +1,25 @@+import type { Metadata } from 'next'+import './globals.css'++export const metadata: Metadata = {+ title: 'Sommelier — Wine Recommender',+ description: 'Discover wines tailored to your palate',+ applicationName: 'Sommelier',+ icons: {+ icon: '/icon.svg',+ },+}++export default function RootLayout({+ children,+}: Readonly<{+ children: React.ReactNode+}>) {+ return (+ <html lang="en">+ <body className="font-sans antialiased">+ {children}+ </body>+ </html>+ )+}diff --git a/examples/wine-recommender/app/app/page.tsx b/examples/wine-recommender/app/app/page.tsxnew file mode 100644index 000000000..39ad3cee1--- /dev/null+++ b/examples/wine-recommender/app/app/page.tsx@@ -0,0 +1,5 @@+import { WineRecommender } from "@/components/wine-recommender"++export default function Page() {+ return <WineRecommender />+}diff --git a/examples/wine-recommender/app/components.json b/examples/wine-recommender/app/components.jsonnew file mode 100644index 000000000..4ee62ee10--- /dev/null+++ b/examples/wine-recommender/app/components.json@@ -0,0 +1,21 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "new-york",+ "rsc": true,+ "tsx": true,+ "tailwind": {+ "config": "",+ "css": "app/globals.css",+ "baseColor": "neutral",+ "cssVariables": true,+ "prefix": ""+ },+ "aliases": {+ "components": "@/components",+ "utils": "@/lib/utils",+ "ui": "@/components/ui",+ "lib": "@/lib",+ "hooks": "@/hooks"+ },+ "iconLibrary": "lucide"+}diff --git a/examples/wine-recommender/app/components/theme-provider.tsx b/examples/wine-recommender/app/components/theme-provider.tsxnew file mode 100644index 000000000..55c2f6eb6--- /dev/null+++ b/examples/wine-recommender/app/components/theme-provider.tsx@@ -0,0 +1,11 @@+'use client'++import * as React from 'react'+import {+ ThemeProvider as NextThemesProvider,+ type ThemeProviderProps,+} from 'next-themes'++export function ThemeProvider({ children, ...props }: ThemeProviderProps) {+ return <NextThemesProvider {...props}>{children}</NextThemesProvider>+}diff --git a/examples/wine-recommender/app/components/ui/accordion.tsx b/examples/wine-recommender/app/components/ui/accordion.tsxnew file mode 100644index 000000000..e538a33b9--- /dev/null+++ b/examples/wine-recommender/app/components/ui/accordion.tsx@@ -0,0 +1,66 @@+'use client'++import * as React from 'react'+import * as AccordionPrimitive from '@radix-ui/react-accordion'+import { ChevronDownIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Accordion({+ ...props+}: React.ComponentProps<typeof AccordionPrimitive.Root>) {+ return <AccordionPrimitive.Root data-slot="accordion" {...props} />+}++function AccordionItem({+ className,+ ...props+}: React.ComponentProps<typeof AccordionPrimitive.Item>) {+ return (+ <AccordionPrimitive.Item+ data-slot="accordion-item"+ className={cn('border-b last:border-b-0', className)}+ {...props}+ />+ )+}++function AccordionTrigger({+ className,+ children,+ ...props+}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {+ return (+ <AccordionPrimitive.Header className="flex">+ <AccordionPrimitive.Trigger+ data-slot="accordion-trigger"+ className={cn(+ 'focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',+ className,+ )}+ {...props}+ >+ {children}+ <ChevronDownIcon className="text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" />+ </AccordionPrimitive.Trigger>+ </AccordionPrimitive.Header>+ )+}++function AccordionContent({+ className,+ children,+ ...props+}: React.ComponentProps<typeof AccordionPrimitive.Content>) {+ return (+ <AccordionPrimitive.Content+ data-slot="accordion-content"+ className="data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm"+ {...props}+ >+ <div className={cn('pt-0 pb-4', className)}>{children}</div>+ </AccordionPrimitive.Content>+ )+}++export { Accordion, AccordionItem, AccordionTrigger, AccordionContent }diff --git a/examples/wine-recommender/app/components/ui/alert-dialog.tsx b/examples/wine-recommender/app/components/ui/alert-dialog.tsxnew file mode 100644index 000000000..970445266--- /dev/null+++ b/examples/wine-recommender/app/components/ui/alert-dialog.tsx@@ -0,0 +1,157 @@+'use client'++import * as React from 'react'+import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'++import { cn } from '@/lib/utils'+import { buttonVariants } from '@/components/ui/button'++function AlertDialog({+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {+ return <AlertDialogPrimitive.Root data-slot="alert-dialog" {...props} />+}++function AlertDialogTrigger({+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {+ return (+ <AlertDialogPrimitive.Trigger data-slot="alert-dialog-trigger" {...props} />+ )+}++function AlertDialogPortal({+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {+ return (+ <AlertDialogPrimitive.Portal data-slot="alert-dialog-portal" {...props} />+ )+}++function AlertDialogOverlay({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {+ return (+ <AlertDialogPrimitive.Overlay+ data-slot="alert-dialog-overlay"+ className={cn(+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',+ className,+ )}+ {...props}+ />+ )+}++function AlertDialogContent({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Content>) {+ return (+ <AlertDialogPortal>+ <AlertDialogOverlay />+ <AlertDialogPrimitive.Content+ data-slot="alert-dialog-content"+ className={cn(+ 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',+ className,+ )}+ {...props}+ />+ </AlertDialogPortal>+ )+}++function AlertDialogHeader({+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="alert-dialog-header"+ className={cn('flex flex-col gap-2 text-center sm:text-left', className)}+ {...props}+ />+ )+}++function AlertDialogFooter({+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="alert-dialog-footer"+ className={cn(+ 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',+ className,+ )}+ {...props}+ />+ )+}++function AlertDialogTitle({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {+ return (+ <AlertDialogPrimitive.Title+ data-slot="alert-dialog-title"+ className={cn('text-lg font-semibold', className)}+ {...props}+ />+ )+}++function AlertDialogDescription({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {+ return (+ <AlertDialogPrimitive.Description+ data-slot="alert-dialog-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++function AlertDialogAction({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Action>) {+ return (+ <AlertDialogPrimitive.Action+ className={cn(buttonVariants(), className)}+ {...props}+ />+ )+}++function AlertDialogCancel({+ className,+ ...props+}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>) {+ return (+ <AlertDialogPrimitive.Cancel+ className={cn(buttonVariants({ variant: 'outline' }), className)}+ {...props}+ />+ )+}++export {+ AlertDialog,+ AlertDialogPortal,+ AlertDialogOverlay,+ AlertDialogTrigger,+ AlertDialogContent,+ AlertDialogHeader,+ AlertDialogFooter,+ AlertDialogTitle,+ AlertDialogDescription,+ AlertDialogAction,+ AlertDialogCancel,+}diff --git a/examples/wine-recommender/app/components/ui/alert.tsx b/examples/wine-recommender/app/components/ui/alert.tsxnew file mode 100644index 000000000..e6751abe6--- /dev/null+++ b/examples/wine-recommender/app/components/ui/alert.tsx@@ -0,0 +1,66 @@+import * as React from 'react'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++const alertVariants = cva(+ 'relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current',+ {+ variants: {+ variant: {+ default: 'bg-card text-card-foreground',+ destructive:+ 'text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90',+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++function Alert({+ className,+ variant,+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>) {+ return (+ <div+ data-slot="alert"+ role="alert"+ className={cn(alertVariants({ variant }), className)}+ {...props}+ />+ )+}++function AlertTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="alert-title"+ className={cn(+ 'col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight',+ className,+ )}+ {...props}+ />+ )+}++function AlertDescription({+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="alert-description"+ className={cn(+ 'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',+ className,+ )}+ {...props}+ />+ )+}++export { Alert, AlertTitle, AlertDescription }diff --git a/examples/wine-recommender/app/components/ui/aspect-ratio.tsx b/examples/wine-recommender/app/components/ui/aspect-ratio.tsxnew file mode 100644index 000000000..40bb1208d--- /dev/null+++ b/examples/wine-recommender/app/components/ui/aspect-ratio.tsx@@ -0,0 +1,11 @@+'use client'++import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'++function AspectRatio({+ ...props+}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {+ return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} />+}++export { AspectRatio }diff --git a/examples/wine-recommender/app/components/ui/avatar.tsx b/examples/wine-recommender/app/components/ui/avatar.tsxnew file mode 100644index 000000000..aa98465a3--- /dev/null+++ b/examples/wine-recommender/app/components/ui/avatar.tsx@@ -0,0 +1,53 @@+'use client'++import * as React from 'react'+import * as AvatarPrimitive from '@radix-ui/react-avatar'++import { cn } from '@/lib/utils'++function Avatar({+ className,+ ...props+}: React.ComponentProps<typeof AvatarPrimitive.Root>) {+ return (+ <AvatarPrimitive.Root+ data-slot="avatar"+ className={cn(+ 'relative flex size-8 shrink-0 overflow-hidden rounded-full',+ className,+ )}+ {...props}+ />+ )+}++function AvatarImage({+ className,+ ...props+}: React.ComponentProps<typeof AvatarPrimitive.Image>) {+ return (+ <AvatarPrimitive.Image+ data-slot="avatar-image"+ className={cn('aspect-square size-full', className)}+ {...props}+ />+ )+}++function AvatarFallback({+ className,+ ...props+}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {+ return (+ <AvatarPrimitive.Fallback+ data-slot="avatar-fallback"+ className={cn(+ 'bg-muted flex size-full items-center justify-center rounded-full',+ className,+ )}+ {...props}+ />+ )+}++export { Avatar, AvatarImage, AvatarFallback }diff --git a/examples/wine-recommender/app/components/ui/badge.tsx b/examples/wine-recommender/app/components/ui/badge.tsxnew file mode 100644index 000000000..fc4126b7a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/badge.tsx@@ -0,0 +1,46 @@+import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++const badgeVariants = cva(+ 'inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden',+ {+ variants: {+ variant: {+ default:+ 'border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90',+ secondary:+ 'border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90',+ destructive:+ 'border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',+ outline:+ 'text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground',+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++function Badge({+ className,+ variant,+ asChild = false,+ ...props+}: React.ComponentProps<'span'> &+ VariantProps<typeof badgeVariants> & { asChild?: boolean }) {+ const Comp = asChild ? Slot : 'span'++ return (+ <Comp+ data-slot="badge"+ className={cn(badgeVariants({ variant }), className)}+ {...props}+ />+ )+}++export { Badge, badgeVariants }diff --git a/examples/wine-recommender/app/components/ui/breadcrumb.tsx b/examples/wine-recommender/app/components/ui/breadcrumb.tsxnew file mode 100644index 000000000..1750ff26a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/breadcrumb.tsx@@ -0,0 +1,109 @@+import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { ChevronRight, MoreHorizontal } from 'lucide-react'++import { cn } from '@/lib/utils'++function Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {+ return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />+}++function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {+ return (+ <ol+ data-slot="breadcrumb-list"+ className={cn(+ 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',+ className,+ )}+ {...props}+ />+ )+}++function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>) {+ return (+ <li+ data-slot="breadcrumb-item"+ className={cn('inline-flex items-center gap-1.5', className)}+ {...props}+ />+ )+}++function BreadcrumbLink({+ asChild,+ className,+ ...props+}: React.ComponentProps<'a'> & {+ asChild?: boolean+}) {+ const Comp = asChild ? Slot : 'a'++ return (+ <Comp+ data-slot="breadcrumb-link"+ className={cn('hover:text-foreground transition-colors', className)}+ {...props}+ />+ )+}++function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="breadcrumb-page"+ role="link"+ aria-disabled="true"+ aria-current="page"+ className={cn('text-foreground font-normal', className)}+ {...props}+ />+ )+}++function BreadcrumbSeparator({+ children,+ className,+ ...props+}: React.ComponentProps<'li'>) {+ return (+ <li+ data-slot="breadcrumb-separator"+ role="presentation"+ aria-hidden="true"+ className={cn('[&>svg]:size-3.5', className)}+ {...props}+ >+ {children ?? <ChevronRight />}+ </li>+ )+}++function BreadcrumbEllipsis({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="breadcrumb-ellipsis"+ role="presentation"+ aria-hidden="true"+ className={cn('flex size-9 items-center justify-center', className)}+ {...props}+ >+ <MoreHorizontal className="size-4" />+ <span className="sr-only">More</span>+ </span>+ )+}++export {+ Breadcrumb,+ BreadcrumbList,+ BreadcrumbItem,+ BreadcrumbLink,+ BreadcrumbPage,+ BreadcrumbSeparator,+ BreadcrumbEllipsis,+}diff --git a/examples/wine-recommender/app/components/ui/button-group.tsx b/examples/wine-recommender/app/components/ui/button-group.tsxnew file mode 100644index 000000000..09d443097--- /dev/null+++ b/examples/wine-recommender/app/components/ui/button-group.tsx@@ -0,0 +1,83 @@+import { Slot } from '@radix-ui/react-slot'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'+import { Separator } from '@/components/ui/separator'++const buttonGroupVariants = cva(+ "flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",+ {+ variants: {+ orientation: {+ horizontal:+ '[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none',+ vertical:+ 'flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none',+ },+ },+ defaultVariants: {+ orientation: 'horizontal',+ },+ },+)++function ButtonGroup({+ className,+ orientation,+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>) {+ return (+ <div+ role="group"+ data-slot="button-group"+ data-orientation={orientation}+ className={cn(buttonGroupVariants({ orientation }), className)}+ {...props}+ />+ )+}++function ButtonGroupText({+ className,+ asChild = false,+ ...props+}: React.ComponentProps<'div'> & {+ asChild?: boolean+}) {+ const Comp = asChild ? Slot : 'div'++ return (+ <Comp+ className={cn(+ "bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function ButtonGroupSeparator({+ className,+ orientation = 'vertical',+ ...props+}: React.ComponentProps<typeof Separator>) {+ return (+ <Separator+ data-slot="button-group-separator"+ orientation={orientation}+ className={cn(+ 'bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto',+ className,+ )}+ {...props}+ />+ )+}++export {+ ButtonGroup,+ ButtonGroupSeparator,+ ButtonGroupText,+ buttonGroupVariants,+}diff --git a/examples/wine-recommender/app/components/ui/button.tsx b/examples/wine-recommender/app/components/ui/button.tsxnew file mode 100644index 000000000..f64632d15--- /dev/null+++ b/examples/wine-recommender/app/components/ui/button.tsx@@ -0,0 +1,60 @@+import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++const buttonVariants = cva(+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",+ {+ variants: {+ variant: {+ default: 'bg-primary text-primary-foreground hover:bg-primary/90',+ destructive:+ 'bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',+ outline:+ 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50',+ secondary:+ 'bg-secondary text-secondary-foreground hover:bg-secondary/80',+ ghost:+ 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',+ link: 'text-primary underline-offset-4 hover:underline',+ },+ size: {+ default: 'h-9 px-4 py-2 has-[>svg]:px-3',+ sm: 'h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5',+ lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',+ icon: 'size-9',+ 'icon-sm': 'size-8',+ 'icon-lg': 'size-10',+ },+ },+ defaultVariants: {+ variant: 'default',+ size: 'default',+ },+ },+)++function Button({+ className,+ variant,+ size,+ asChild = false,+ ...props+}: React.ComponentProps<'button'> &+ VariantProps<typeof buttonVariants> & {+ asChild?: boolean+ }) {+ const Comp = asChild ? Slot : 'button'++ return (+ <Comp+ data-slot="button"+ className={cn(buttonVariants({ variant, size, className }))}+ {...props}+ />+ )+}++export { Button, buttonVariants }diff --git a/examples/wine-recommender/app/components/ui/calendar.tsx b/examples/wine-recommender/app/components/ui/calendar.tsxnew file mode 100644index 000000000..eaa373e25--- /dev/null+++ b/examples/wine-recommender/app/components/ui/calendar.tsx@@ -0,0 +1,213 @@+'use client'++import * as React from 'react'+import {+ ChevronDownIcon,+ ChevronLeftIcon,+ ChevronRightIcon,+} from 'lucide-react'+import { DayButton, DayPicker, getDefaultClassNames } from 'react-day-picker'++import { cn } from '@/lib/utils'+import { Button, buttonVariants } from '@/components/ui/button'++function Calendar({+ className,+ classNames,+ showOutsideDays = true,+ captionLayout = 'label',+ buttonVariant = 'ghost',+ formatters,+ components,+ ...props+}: React.ComponentProps<typeof DayPicker> & {+ buttonVariant?: React.ComponentProps<typeof Button>['variant']+}) {+ const defaultClassNames = getDefaultClassNames()++ return (+ <DayPicker+ showOutsideDays={showOutsideDays}+ className={cn(+ 'bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent',+ String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,+ String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,+ className,+ )}+ captionLayout={captionLayout}+ formatters={{+ formatMonthDropdown: (date) =>+ date.toLocaleString('default', { month: 'short' }),+ ...formatters,+ }}+ classNames={{+ root: cn('w-fit', defaultClassNames.root),+ months: cn(+ 'flex gap-4 flex-col md:flex-row relative',+ defaultClassNames.months,+ ),+ month: cn('flex flex-col w-full gap-4', defaultClassNames.month),+ nav: cn(+ 'flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between',+ defaultClassNames.nav,+ ),+ button_previous: cn(+ buttonVariants({ variant: buttonVariant }),+ 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',+ defaultClassNames.button_previous,+ ),+ button_next: cn(+ buttonVariants({ variant: buttonVariant }),+ 'size-(--cell-size) aria-disabled:opacity-50 p-0 select-none',+ defaultClassNames.button_next,+ ),+ month_caption: cn(+ 'flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)',+ defaultClassNames.month_caption,+ ),+ dropdowns: cn(+ 'w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5',+ defaultClassNames.dropdowns,+ ),+ dropdown_root: cn(+ 'relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md',+ defaultClassNames.dropdown_root,+ ),+ dropdown: cn(+ 'absolute bg-popover inset-0 opacity-0',+ defaultClassNames.dropdown,+ ),+ caption_label: cn(+ 'select-none font-medium',+ captionLayout === 'label'+ ? 'text-sm'+ : 'rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5',+ defaultClassNames.caption_label,+ ),+ table: 'w-full border-collapse',+ weekdays: cn('flex', defaultClassNames.weekdays),+ weekday: cn(+ 'text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none',+ defaultClassNames.weekday,+ ),+ week: cn('flex w-full mt-2', defaultClassNames.week),+ week_number_header: cn(+ 'select-none w-(--cell-size)',+ defaultClassNames.week_number_header,+ ),+ week_number: cn(+ 'text-[0.8rem] select-none text-muted-foreground',+ defaultClassNames.week_number,+ ),+ day: cn(+ 'relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none',+ defaultClassNames.day,+ ),+ range_start: cn(+ 'rounded-l-md bg-accent',+ defaultClassNames.range_start,+ ),+ range_middle: cn('rounded-none', defaultClassNames.range_middle),+ range_end: cn('rounded-r-md bg-accent', defaultClassNames.range_end),+ today: cn(+ 'bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none',+ defaultClassNames.today,+ ),+ outside: cn(+ 'text-muted-foreground aria-selected:text-muted-foreground',+ defaultClassNames.outside,+ ),+ disabled: cn(+ 'text-muted-foreground opacity-50',+ defaultClassNames.disabled,+ ),+ hidden: cn('invisible', defaultClassNames.hidden),+ ...classNames,+ }}+ components={{+ Root: ({ className, rootRef, ...props }) => {+ return (+ <div+ data-slot="calendar"+ ref={rootRef}+ className={cn(className)}+ {...props}+ />+ )+ },+ Chevron: ({ className, orientation, ...props }) => {+ if (orientation === 'left') {+ return (+ <ChevronLeftIcon className={cn('size-4', className)} {...props} />+ )+ }++ if (orientation === 'right') {+ return (+ <ChevronRightIcon+ className={cn('size-4', className)}+ {...props}+ />+ )+ }++ return (+ <ChevronDownIcon className={cn('size-4', className)} {...props} />+ )+ },+ DayButton: CalendarDayButton,+ WeekNumber: ({ children, ...props }) => {+ return (+ <td {...props}>+ <div className="flex size-(--cell-size) items-center justify-center text-center">+ {children}+ </div>+ </td>+ )+ },+ ...components,+ }}+ {...props}+ />+ )+}++function CalendarDayButton({+ className,+ day,+ modifiers,+ ...props+}: React.ComponentProps<typeof DayButton>) {+ const defaultClassNames = getDefaultClassNames()++ const ref = React.useRef<HTMLButtonElement>(null)+ React.useEffect(() => {+ if (modifiers.focused) ref.current?.focus()+ }, [modifiers.focused])++ return (+ <Button+ ref={ref}+ variant="ghost"+ size="icon"+ data-day={day.date.toLocaleDateString()}+ data-selected-single={+ modifiers.selected &&+ !modifiers.range_start &&+ !modifiers.range_end &&+ !modifiers.range_middle+ }+ data-range-start={modifiers.range_start}+ data-range-end={modifiers.range_end}+ data-range-middle={modifiers.range_middle}+ className={cn(+ 'data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70',+ defaultClassNames.day,+ className,+ )}+ {...props}+ />+ )+}++export { Calendar, CalendarDayButton }diff --git a/examples/wine-recommender/app/components/ui/card.tsx b/examples/wine-recommender/app/components/ui/card.tsxnew file mode 100644index 000000000..db7dd3cc9--- /dev/null+++ b/examples/wine-recommender/app/components/ui/card.tsx@@ -0,0 +1,92 @@+import * as React from 'react'++import { cn } from '@/lib/utils'++function Card({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card"+ className={cn(+ 'bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm',+ className,+ )}+ {...props}+ />+ )+}++function CardHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-header"+ className={cn(+ '@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6',+ className,+ )}+ {...props}+ />+ )+}++function CardTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-title"+ className={cn('leading-none font-semibold', className)}+ {...props}+ />+ )+}++function CardDescription({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++function CardAction({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-action"+ className={cn(+ 'col-start-2 row-span-2 row-start-1 self-start justify-self-end',+ className,+ )}+ {...props}+ />+ )+}++function CardContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-content"+ className={cn('px-6', className)}+ {...props}+ />+ )+}++function CardFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="card-footer"+ className={cn('flex items-center px-6 [.border-t]:pt-6', className)}+ {...props}+ />+ )+}++export {+ Card,+ CardHeader,+ CardFooter,+ CardTitle,+ CardAction,+ CardDescription,+ CardContent,+}diff --git a/examples/wine-recommender/app/components/ui/carousel.tsx b/examples/wine-recommender/app/components/ui/carousel.tsxnew file mode 100644index 000000000..d4a768e7a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/carousel.tsx@@ -0,0 +1,241 @@+'use client'++import * as React from 'react'+import useEmblaCarousel, {+ type UseEmblaCarouselType,+} from 'embla-carousel-react'+import { ArrowLeft, ArrowRight } from 'lucide-react'++import { cn } from '@/lib/utils'+import { Button } from '@/components/ui/button'++type CarouselApi = UseEmblaCarouselType[1]+type UseCarouselParameters = Parameters<typeof useEmblaCarousel>+type CarouselOptions = UseCarouselParameters[0]+type CarouselPlugin = UseCarouselParameters[1]++type CarouselProps = {+ opts?: CarouselOptions+ plugins?: CarouselPlugin+ orientation?: 'horizontal' | 'vertical'+ setApi?: (api: CarouselApi) => void+}++type CarouselContextProps = {+ carouselRef: ReturnType<typeof useEmblaCarousel>[0]+ api: ReturnType<typeof useEmblaCarousel>[1]+ scrollPrev: () => void+ scrollNext: () => void+ canScrollPrev: boolean+ canScrollNext: boolean+} & CarouselProps++const CarouselContext = React.createContext<CarouselContextProps | null>(null)++function useCarousel() {+ const context = React.useContext(CarouselContext)++ if (!context) {+ throw new Error('useCarousel must be used within a <Carousel />')+ }++ return context+}++function Carousel({+ orientation = 'horizontal',+ opts,+ setApi,+ plugins,+ className,+ children,+ ...props+}: React.ComponentProps<'div'> & CarouselProps) {+ const [carouselRef, api] = useEmblaCarousel(+ {+ ...opts,+ axis: orientation === 'horizontal' ? 'x' : 'y',+ },+ plugins,+ )+ const [canScrollPrev, setCanScrollPrev] = React.useState(false)+ const [canScrollNext, setCanScrollNext] = React.useState(false)++ const onSelect = React.useCallback((api: CarouselApi) => {+ if (!api) return+ setCanScrollPrev(api.canScrollPrev())+ setCanScrollNext(api.canScrollNext())+ }, [])++ const scrollPrev = React.useCallback(() => {+ api?.scrollPrev()+ }, [api])++ const scrollNext = React.useCallback(() => {+ api?.scrollNext()+ }, [api])++ const handleKeyDown = React.useCallback(+ (event: React.KeyboardEvent<HTMLDivElement>) => {+ if (event.key === 'ArrowLeft') {+ event.preventDefault()+ scrollPrev()+ } else if (event.key === 'ArrowRight') {+ event.preventDefault()+ scrollNext()+ }+ },+ [scrollPrev, scrollNext],+ )++ React.useEffect(() => {+ if (!api || !setApi) return+ setApi(api)+ }, [api, setApi])++ React.useEffect(() => {+ if (!api) return+ onSelect(api)+ api.on('reInit', onSelect)+ api.on('select', onSelect)++ return () => {+ api?.off('select', onSelect)+ }+ }, [api, onSelect])++ return (+ <CarouselContext.Provider+ value={{+ carouselRef,+ api: api,+ opts,+ orientation:+ orientation || (opts?.axis === 'y' ? 'vertical' : 'horizontal'),+ scrollPrev,+ scrollNext,+ canScrollPrev,+ canScrollNext,+ }}+ >+ <div+ onKeyDownCapture={handleKeyDown}+ className={cn('relative', className)}+ role="region"+ aria-roledescription="carousel"+ data-slot="carousel"+ {...props}+ >+ {children}+ </div>+ </CarouselContext.Provider>+ )+}++function CarouselContent({ className, ...props }: React.ComponentProps<'div'>) {+ const { carouselRef, orientation } = useCarousel()++ return (+ <div+ ref={carouselRef}+ className="overflow-hidden"+ data-slot="carousel-content"+ >+ <div+ className={cn(+ 'flex',+ orientation === 'horizontal' ? '-ml-4' : '-mt-4 flex-col',+ className,+ )}+ {...props}+ />+ </div>+ )+}++function CarouselItem({ className, ...props }: React.ComponentProps<'div'>) {+ const { orientation } = useCarousel()++ return (+ <div+ role="group"+ aria-roledescription="slide"+ data-slot="carousel-item"+ className={cn(+ 'min-w-0 shrink-0 grow-0 basis-full',+ orientation === 'horizontal' ? 'pl-4' : 'pt-4',+ className,+ )}+ {...props}+ />+ )+}++function CarouselPrevious({+ className,+ variant = 'outline',+ size = 'icon',+ ...props+}: React.ComponentProps<typeof Button>) {+ const { orientation, scrollPrev, canScrollPrev } = useCarousel()++ return (+ <Button+ data-slot="carousel-previous"+ variant={variant}+ size={size}+ className={cn(+ 'absolute size-8 rounded-full',+ orientation === 'horizontal'+ ? 'top-1/2 -left-12 -translate-y-1/2'+ : '-top-12 left-1/2 -translate-x-1/2 rotate-90',+ className,+ )}+ disabled={!canScrollPrev}+ onClick={scrollPrev}+ {...props}+ >+ <ArrowLeft />+ <span className="sr-only">Previous slide</span>+ </Button>+ )+}++function CarouselNext({+ className,+ variant = 'outline',+ size = 'icon',+ ...props+}: React.ComponentProps<typeof Button>) {+ const { orientation, scrollNext, canScrollNext } = useCarousel()++ return (+ <Button+ data-slot="carousel-next"+ variant={variant}+ size={size}+ className={cn(+ 'absolute size-8 rounded-full',+ orientation === 'horizontal'+ ? 'top-1/2 -right-12 -translate-y-1/2'+ : '-bottom-12 left-1/2 -translate-x-1/2 rotate-90',+ className,+ )}+ disabled={!canScrollNext}+ onClick={scrollNext}+ {...props}+ >+ <ArrowRight />+ <span className="sr-only">Next slide</span>+ </Button>+ )+}++export {+ type CarouselApi,+ Carousel,+ CarouselContent,+ CarouselItem,+ CarouselPrevious,+ CarouselNext,+}diff --git a/examples/wine-recommender/app/components/ui/chart.tsx b/examples/wine-recommender/app/components/ui/chart.tsxnew file mode 100644index 000000000..421fe589c--- /dev/null+++ b/examples/wine-recommender/app/components/ui/chart.tsx@@ -0,0 +1,353 @@+'use client'++import * as React from 'react'+import * as RechartsPrimitive from 'recharts'++import { cn } from '@/lib/utils'++// Format: { THEME_NAME: CSS_SELECTOR }+const THEMES = { light: '', dark: '.dark' } as const++export type ChartConfig = {+ [k in string]: {+ label?: React.ReactNode+ icon?: React.ComponentType+ } & (+ | { color?: string; theme?: never }+ | { color?: never; theme: Record<keyof typeof THEMES, string> }+ )+}++type ChartContextProps = {+ config: ChartConfig+}++const ChartContext = React.createContext<ChartContextProps | null>(null)++function useChart() {+ const context = React.useContext(ChartContext)++ if (!context) {+ throw new Error('useChart must be used within a <ChartContainer />')+ }++ return context+}++function ChartContainer({+ id,+ className,+ children,+ config,+ ...props+}: React.ComponentProps<'div'> & {+ config: ChartConfig+ children: React.ComponentProps<+ typeof RechartsPrimitive.ResponsiveContainer+ >['children']+}) {+ const uniqueId = React.useId()+ const chartId = `chart-${id || uniqueId.replace(/:/g, '')}`++ return (+ <ChartContext.Provider value={{ config }}>+ <div+ data-slot="chart"+ data-chart={chartId}+ className={cn(+ "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",+ className,+ )}+ {...props}+ >+ <ChartStyle id={chartId} config={config} />+ <RechartsPrimitive.ResponsiveContainer>+ {children}+ </RechartsPrimitive.ResponsiveContainer>+ </div>+ </ChartContext.Provider>+ )+}++const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {+ const colorConfig = Object.entries(config).filter(+ ([, config]) => config.theme || config.color,+ )++ if (!colorConfig.length) {+ return null+ }++ return (+ <style+ dangerouslySetInnerHTML={{+ __html: Object.entries(THEMES)+ .map(+ ([theme, prefix]) => `+${prefix} [data-chart=${id}] {+${colorConfig+ .map(([key, itemConfig]) => {+ const color =+ itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ||+ itemConfig.color+ return color ? ` --color-${key}: ${color};` : null+ })+ .join('\n')}+}+`,+ )+ .join('\n'),+ }}+ />+ )+}++const ChartTooltip = RechartsPrimitive.Tooltip++function ChartTooltipContent({+ active,+ payload,+ className,+ indicator = 'dot',+ hideLabel = false,+ hideIndicator = false,+ label,+ labelFormatter,+ labelClassName,+ formatter,+ color,+ nameKey,+ labelKey,+}: React.ComponentProps<typeof RechartsPrimitive.Tooltip> &+ React.ComponentProps<'div'> & {+ hideLabel?: boolean+ hideIndicator?: boolean+ indicator?: 'line' | 'dot' | 'dashed'+ nameKey?: string+ labelKey?: string+ }) {+ const { config } = useChart()++ const tooltipLabel = React.useMemo(() => {+ if (hideLabel || !payload?.length) {+ return null+ }++ const [item] = payload+ const key = `${labelKey || item?.dataKey || item?.name || 'value'}`+ const itemConfig = getPayloadConfigFromPayload(config, item, key)+ const value =+ !labelKey && typeof label === 'string'+ ? config[label as keyof typeof config]?.label || label+ : itemConfig?.label++ if (labelFormatter) {+ return (+ <div className={cn('font-medium', labelClassName)}>+ {labelFormatter(value, payload)}+ </div>+ )+ }++ if (!value) {+ return null+ }++ return <div className={cn('font-medium', labelClassName)}>{value}</div>+ }, [+ label,+ labelFormatter,+ payload,+ hideLabel,+ labelClassName,+ config,+ labelKey,+ ])++ if (!active || !payload?.length) {+ return null+ }++ const nestLabel = payload.length === 1 && indicator !== 'dot'++ return (+ <div+ className={cn(+ 'border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl',+ className,+ )}+ >+ {!nestLabel ? tooltipLabel : null}+ <div className="grid gap-1.5">+ {payload.map((item, index) => {+ const key = `${nameKey || item.name || item.dataKey || 'value'}`+ const itemConfig = getPayloadConfigFromPayload(config, item, key)+ const indicatorColor = color || item.payload.fill || item.color++ return (+ <div+ key={item.dataKey}+ className={cn(+ '[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5',+ indicator === 'dot' && 'items-center',+ )}+ >+ {formatter && item?.value !== undefined && item.name ? (+ formatter(item.value, item.name, item, index, item.payload)+ ) : (+ <>+ {itemConfig?.icon ? (+ <itemConfig.icon />+ ) : (+ !hideIndicator && (+ <div+ className={cn(+ 'shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)',+ {+ 'h-2.5 w-2.5': indicator === 'dot',+ 'w-1': indicator === 'line',+ 'w-0 border-[1.5px] border-dashed bg-transparent':+ indicator === 'dashed',+ 'my-0.5': nestLabel && indicator === 'dashed',+ },+ )}+ style={+ {+ '--color-bg': indicatorColor,+ '--color-border': indicatorColor,+ } as React.CSSProperties+ }+ />+ )+ )}+ <div+ className={cn(+ 'flex flex-1 justify-between leading-none',+ nestLabel ? 'items-end' : 'items-center',+ )}+ >+ <div className="grid gap-1.5">+ {nestLabel ? tooltipLabel : null}+ <span className="text-muted-foreground">+ {itemConfig?.label || item.name}+ </span>+ </div>+ {item.value && (+ <span className="text-foreground font-mono font-medium tabular-nums">+ {item.value.toLocaleString()}+ </span>+ )}+ </div>+ </>+ )}+ </div>+ )+ })}+ </div>+ </div>+ )+}++const ChartLegend = RechartsPrimitive.Legend++function ChartLegendContent({+ className,+ hideIcon = false,+ payload,+ verticalAlign = 'bottom',+ nameKey,+}: React.ComponentProps<'div'> &+ Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {+ hideIcon?: boolean+ nameKey?: string+ }) {+ const { config } = useChart()++ if (!payload?.length) {+ return null+ }++ return (+ <div+ className={cn(+ 'flex items-center justify-center gap-4',+ verticalAlign === 'top' ? 'pb-3' : 'pt-3',+ className,+ )}+ >+ {payload.map((item) => {+ const key = `${nameKey || item.dataKey || 'value'}`+ const itemConfig = getPayloadConfigFromPayload(config, item, key)++ return (+ <div+ key={item.value}+ className={+ '[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3'+ }+ >+ {itemConfig?.icon && !hideIcon ? (+ <itemConfig.icon />+ ) : (+ <div+ className="h-2 w-2 shrink-0 rounded-[2px]"+ style={{+ backgroundColor: item.color,+ }}+ />+ )}+ {itemConfig?.label}+ </div>+ )+ })}+ </div>+ )+}++// Helper to extract item config from a payload.+function getPayloadConfigFromPayload(+ config: ChartConfig,+ payload: unknown,+ key: string,+) {+ if (typeof payload !== 'object' || payload === null) {+ return undefined+ }++ const payloadPayload =+ 'payload' in payload &&+ typeof payload.payload === 'object' &&+ payload.payload !== null+ ? payload.payload+ : undefined++ let configLabelKey: string = key++ if (+ key in payload &&+ typeof payload[key as keyof typeof payload] === 'string'+ ) {+ configLabelKey = payload[key as keyof typeof payload] as string+ } else if (+ payloadPayload &&+ key in payloadPayload &&+ typeof payloadPayload[key as keyof typeof payloadPayload] === 'string'+ ) {+ configLabelKey = payloadPayload[+ key as keyof typeof payloadPayload+ ] as string+ }++ return configLabelKey in config+ ? config[configLabelKey]+ : config[key as keyof typeof config]+}++export {+ ChartContainer,+ ChartTooltip,+ ChartTooltipContent,+ ChartLegend,+ ChartLegendContent,+ ChartStyle,+}diff --git a/examples/wine-recommender/app/components/ui/checkbox.tsx b/examples/wine-recommender/app/components/ui/checkbox.tsxnew file mode 100644index 000000000..37d340ffa--- /dev/null+++ b/examples/wine-recommender/app/components/ui/checkbox.tsx@@ -0,0 +1,32 @@+'use client'++import * as React from 'react'+import * as CheckboxPrimitive from '@radix-ui/react-checkbox'+import { CheckIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Checkbox({+ className,+ ...props+}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {+ return (+ <CheckboxPrimitive.Root+ data-slot="checkbox"+ className={cn(+ 'peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',+ className,+ )}+ {...props}+ >+ <CheckboxPrimitive.Indicator+ data-slot="checkbox-indicator"+ className="flex items-center justify-center text-current transition-none"+ >+ <CheckIcon className="size-3.5" />+ </CheckboxPrimitive.Indicator>+ </CheckboxPrimitive.Root>+ )+}++export { Checkbox }diff --git a/examples/wine-recommender/app/components/ui/collapsible.tsx b/examples/wine-recommender/app/components/ui/collapsible.tsxnew file mode 100644index 000000000..3cbdff6f5--- /dev/null+++ b/examples/wine-recommender/app/components/ui/collapsible.tsx@@ -0,0 +1,33 @@+'use client'++import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'++function Collapsible({+ ...props+}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {+ return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />+}++function CollapsibleTrigger({+ ...props+}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {+ return (+ <CollapsiblePrimitive.CollapsibleTrigger+ data-slot="collapsible-trigger"+ {...props}+ />+ )+}++function CollapsibleContent({+ ...props+}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {+ return (+ <CollapsiblePrimitive.CollapsibleContent+ data-slot="collapsible-content"+ {...props}+ />+ )+}++export { Collapsible, CollapsibleTrigger, CollapsibleContent }diff --git a/examples/wine-recommender/app/components/ui/command.tsx b/examples/wine-recommender/app/components/ui/command.tsxnew file mode 100644index 000000000..4833ca8a0--- /dev/null+++ b/examples/wine-recommender/app/components/ui/command.tsx@@ -0,0 +1,184 @@+'use client'++import * as React from 'react'+import { Command as CommandPrimitive } from 'cmdk'+import { SearchIcon } from 'lucide-react'++import { cn } from '@/lib/utils'+import {+ Dialog,+ DialogContent,+ DialogDescription,+ DialogHeader,+ DialogTitle,+} from '@/components/ui/dialog'++function Command({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive>) {+ return (+ <CommandPrimitive+ data-slot="command"+ className={cn(+ 'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',+ className,+ )}+ {...props}+ />+ )+}++function CommandDialog({+ title = 'Command Palette',+ description = 'Search for a command to run...',+ children,+ className,+ showCloseButton = true,+ ...props+}: React.ComponentProps<typeof Dialog> & {+ title?: string+ description?: string+ className?: string+ showCloseButton?: boolean+}) {+ return (+ <Dialog {...props}>+ <DialogHeader className="sr-only">+ <DialogTitle>{title}</DialogTitle>+ <DialogDescription>{description}</DialogDescription>+ </DialogHeader>+ <DialogContent+ className={cn('overflow-hidden p-0', className)}+ showCloseButton={showCloseButton}+ >+ <Command className="[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">+ {children}+ </Command>+ </DialogContent>+ </Dialog>+ )+}++function CommandInput({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Input>) {+ return (+ <div+ data-slot="command-input-wrapper"+ className="flex h-9 items-center gap-2 border-b px-3"+ >+ <SearchIcon className="size-4 shrink-0 opacity-50" />+ <CommandPrimitive.Input+ data-slot="command-input"+ className={cn(+ 'placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50',+ className,+ )}+ {...props}+ />+ </div>+ )+}++function CommandList({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.List>) {+ return (+ <CommandPrimitive.List+ data-slot="command-list"+ className={cn(+ 'max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto',+ className,+ )}+ {...props}+ />+ )+}++function CommandEmpty({+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Empty>) {+ return (+ <CommandPrimitive.Empty+ data-slot="command-empty"+ className="py-6 text-center text-sm"+ {...props}+ />+ )+}++function CommandGroup({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Group>) {+ return (+ <CommandPrimitive.Group+ data-slot="command-group"+ className={cn(+ 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium',+ className,+ )}+ {...props}+ />+ )+}++function CommandSeparator({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Separator>) {+ return (+ <CommandPrimitive.Separator+ data-slot="command-separator"+ className={cn('bg-border -mx-1 h-px', className)}+ {...props}+ />+ )+}++function CommandItem({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Item>) {+ return (+ <CommandPrimitive.Item+ data-slot="command-item"+ className={cn(+ "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function CommandShortcut({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="command-shortcut"+ className={cn(+ 'text-muted-foreground ml-auto text-xs tracking-widest',+ className,+ )}+ {...props}+ />+ )+}++export {+ Command,+ CommandDialog,+ CommandInput,+ CommandList,+ CommandEmpty,+ CommandGroup,+ CommandItem,+ CommandShortcut,+ CommandSeparator,+}diff --git a/examples/wine-recommender/app/components/ui/context-menu.tsx b/examples/wine-recommender/app/components/ui/context-menu.tsxnew file mode 100644index 000000000..9e536f286--- /dev/null+++ b/examples/wine-recommender/app/components/ui/context-menu.tsx@@ -0,0 +1,252 @@+'use client'++import * as React from 'react'+import * as ContextMenuPrimitive from '@radix-ui/react-context-menu'+import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function ContextMenu({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Root>) {+ return <ContextMenuPrimitive.Root data-slot="context-menu" {...props} />+}++function ContextMenuTrigger({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>) {+ return (+ <ContextMenuPrimitive.Trigger data-slot="context-menu-trigger" {...props} />+ )+}++function ContextMenuGroup({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Group>) {+ return (+ <ContextMenuPrimitive.Group data-slot="context-menu-group" {...props} />+ )+}++function ContextMenuPortal({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Portal>) {+ return (+ <ContextMenuPrimitive.Portal data-slot="context-menu-portal" {...props} />+ )+}++function ContextMenuSub({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Sub>) {+ return <ContextMenuPrimitive.Sub data-slot="context-menu-sub" {...props} />+}++function ContextMenuRadioGroup({+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>) {+ return (+ <ContextMenuPrimitive.RadioGroup+ data-slot="context-menu-radio-group"+ {...props}+ />+ )+}++function ContextMenuSubTrigger({+ className,+ inset,+ children,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {+ inset?: boolean+}) {+ return (+ <ContextMenuPrimitive.SubTrigger+ data-slot="context-menu-sub-trigger"+ data-inset={inset}+ className={cn(+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ {children}+ <ChevronRightIcon className="ml-auto" />+ </ContextMenuPrimitive.SubTrigger>+ )+}++function ContextMenuSubContent({+ className,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>) {+ return (+ <ContextMenuPrimitive.SubContent+ data-slot="context-menu-sub-content"+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',+ className,+ )}+ {...props}+ />+ )+}++function ContextMenuContent({+ className,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Content>) {+ return (+ <ContextMenuPrimitive.Portal>+ <ContextMenuPrimitive.Content+ data-slot="context-menu-content"+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',+ className,+ )}+ {...props}+ />+ </ContextMenuPrimitive.Portal>+ )+}++function ContextMenuItem({+ className,+ inset,+ variant = 'default',+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {+ inset?: boolean+ variant?: 'default' | 'destructive'+}) {+ return (+ <ContextMenuPrimitive.Item+ data-slot="context-menu-item"+ data-inset={inset}+ data-variant={variant}+ className={cn(+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function ContextMenuCheckboxItem({+ className,+ children,+ checked,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>) {+ return (+ <ContextMenuPrimitive.CheckboxItem+ data-slot="context-menu-checkbox-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ checked={checked}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <ContextMenuPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </ContextMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </ContextMenuPrimitive.CheckboxItem>+ )+}++function ContextMenuRadioItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>) {+ return (+ <ContextMenuPrimitive.RadioItem+ data-slot="context-menu-radio-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <ContextMenuPrimitive.ItemIndicator>+ <CircleIcon className="size-2 fill-current" />+ </ContextMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </ContextMenuPrimitive.RadioItem>+ )+}++function ContextMenuLabel({+ className,+ inset,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {+ inset?: boolean+}) {+ return (+ <ContextMenuPrimitive.Label+ data-slot="context-menu-label"+ data-inset={inset}+ className={cn(+ 'text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8',+ className,+ )}+ {...props}+ />+ )+}++function ContextMenuSeparator({+ className,+ ...props+}: React.ComponentProps<typeof ContextMenuPrimitive.Separator>) {+ return (+ <ContextMenuPrimitive.Separator+ data-slot="context-menu-separator"+ className={cn('bg-border -mx-1 my-1 h-px', className)}+ {...props}+ />+ )+}++function ContextMenuShortcut({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="context-menu-shortcut"+ className={cn(+ 'text-muted-foreground ml-auto text-xs tracking-widest',+ className,+ )}+ {...props}+ />+ )+}++export {+ ContextMenu,+ ContextMenuTrigger,+ ContextMenuContent,+ ContextMenuItem,+ ContextMenuCheckboxItem,+ ContextMenuRadioItem,+ ContextMenuLabel,+ ContextMenuSeparator,+ ContextMenuShortcut,+ ContextMenuGroup,+ ContextMenuPortal,+ ContextMenuSub,+ ContextMenuSubContent,+ ContextMenuSubTrigger,+ ContextMenuRadioGroup,+}diff --git a/examples/wine-recommender/app/components/ui/dialog.tsx b/examples/wine-recommender/app/components/ui/dialog.tsxnew file mode 100644index 000000000..243fb1983--- /dev/null+++ b/examples/wine-recommender/app/components/ui/dialog.tsx@@ -0,0 +1,143 @@+'use client'++import * as React from 'react'+import * as DialogPrimitive from '@radix-ui/react-dialog'+import { XIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Dialog({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Root>) {+ return <DialogPrimitive.Root data-slot="dialog" {...props} />+}++function DialogTrigger({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {+ return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />+}++function DialogPortal({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Portal>) {+ return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />+}++function DialogClose({+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Close>) {+ return <DialogPrimitive.Close data-slot="dialog-close" {...props} />+}++function DialogOverlay({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {+ return (+ <DialogPrimitive.Overlay+ data-slot="dialog-overlay"+ className={cn(+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',+ className,+ )}+ {...props}+ />+ )+}++function DialogContent({+ className,+ children,+ showCloseButton = true,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Content> & {+ showCloseButton?: boolean+}) {+ return (+ <DialogPortal data-slot="dialog-portal">+ <DialogOverlay />+ <DialogPrimitive.Content+ data-slot="dialog-content"+ className={cn(+ 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',+ className,+ )}+ {...props}+ >+ {children}+ {showCloseButton && (+ <DialogPrimitive.Close+ data-slot="dialog-close"+ className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"+ >+ <XIcon />+ <span className="sr-only">Close</span>+ </DialogPrimitive.Close>+ )}+ </DialogPrimitive.Content>+ </DialogPortal>+ )+}++function DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="dialog-header"+ className={cn('flex flex-col gap-2 text-center sm:text-left', className)}+ {...props}+ />+ )+}++function DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="dialog-footer"+ className={cn(+ 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',+ className,+ )}+ {...props}+ />+ )+}++function DialogTitle({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Title>) {+ return (+ <DialogPrimitive.Title+ data-slot="dialog-title"+ className={cn('text-lg leading-none font-semibold', className)}+ {...props}+ />+ )+}++function DialogDescription({+ className,+ ...props+}: React.ComponentProps<typeof DialogPrimitive.Description>) {+ return (+ <DialogPrimitive.Description+ data-slot="dialog-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++export {+ Dialog,+ DialogClose,+ DialogContent,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogOverlay,+ DialogPortal,+ DialogTitle,+ DialogTrigger,+}diff --git a/examples/wine-recommender/app/components/ui/drawer.tsx b/examples/wine-recommender/app/components/ui/drawer.tsxnew file mode 100644index 000000000..307bdcee7--- /dev/null+++ b/examples/wine-recommender/app/components/ui/drawer.tsx@@ -0,0 +1,135 @@+'use client'++import * as React from 'react'+import { Drawer as DrawerPrimitive } from 'vaul'++import { cn } from '@/lib/utils'++function Drawer({+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Root>) {+ return <DrawerPrimitive.Root data-slot="drawer" {...props} />+}++function DrawerTrigger({+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {+ return <DrawerPrimitive.Trigger data-slot="drawer-trigger" {...props} />+}++function DrawerPortal({+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Portal>) {+ return <DrawerPrimitive.Portal data-slot="drawer-portal" {...props} />+}++function DrawerClose({+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Close>) {+ return <DrawerPrimitive.Close data-slot="drawer-close" {...props} />+}++function DrawerOverlay({+ className,+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {+ return (+ <DrawerPrimitive.Overlay+ data-slot="drawer-overlay"+ className={cn(+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',+ className,+ )}+ {...props}+ />+ )+}++function DrawerContent({+ className,+ children,+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Content>) {+ return (+ <DrawerPortal data-slot="drawer-portal">+ <DrawerOverlay />+ <DrawerPrimitive.Content+ data-slot="drawer-content"+ className={cn(+ 'group/drawer-content bg-background fixed z-50 flex h-auto flex-col',+ 'data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b',+ 'data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t',+ 'data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm',+ 'data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm',+ className,+ )}+ {...props}+ >+ <div className="bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" />+ {children}+ </DrawerPrimitive.Content>+ </DrawerPortal>+ )+}++function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="drawer-header"+ className={cn(+ 'flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left',+ className,+ )}+ {...props}+ />+ )+}++function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="drawer-footer"+ className={cn('mt-auto flex flex-col gap-2 p-4', className)}+ {...props}+ />+ )+}++function DrawerTitle({+ className,+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Title>) {+ return (+ <DrawerPrimitive.Title+ data-slot="drawer-title"+ className={cn('text-foreground font-semibold', className)}+ {...props}+ />+ )+}++function DrawerDescription({+ className,+ ...props+}: React.ComponentProps<typeof DrawerPrimitive.Description>) {+ return (+ <DrawerPrimitive.Description+ data-slot="drawer-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++export {+ Drawer,+ DrawerPortal,+ DrawerOverlay,+ DrawerTrigger,+ DrawerClose,+ DrawerContent,+ DrawerHeader,+ DrawerFooter,+ DrawerTitle,+ DrawerDescription,+}diff --git a/examples/wine-recommender/app/components/ui/dropdown-menu.tsx b/examples/wine-recommender/app/components/ui/dropdown-menu.tsxnew file mode 100644index 000000000..a2096fa37--- /dev/null+++ b/examples/wine-recommender/app/components/ui/dropdown-menu.tsx@@ -0,0 +1,257 @@+'use client'++import * as React from 'react'+import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'+import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function DropdownMenu({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {+ return <DropdownMenuPrimitive.Root data-slot="dropdown-menu" {...props} />+}++function DropdownMenuPortal({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {+ return (+ <DropdownMenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />+ )+}++function DropdownMenuTrigger({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {+ return (+ <DropdownMenuPrimitive.Trigger+ data-slot="dropdown-menu-trigger"+ {...props}+ />+ )+}++function DropdownMenuContent({+ className,+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {+ return (+ <DropdownMenuPrimitive.Portal>+ <DropdownMenuPrimitive.Content+ data-slot="dropdown-menu-content"+ sideOffset={sideOffset}+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',+ className,+ )}+ {...props}+ />+ </DropdownMenuPrimitive.Portal>+ )+}++function DropdownMenuGroup({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {+ return (+ <DropdownMenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />+ )+}++function DropdownMenuItem({+ className,+ inset,+ variant = 'default',+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {+ inset?: boolean+ variant?: 'default' | 'destructive'+}) {+ return (+ <DropdownMenuPrimitive.Item+ data-slot="dropdown-menu-item"+ data-inset={inset}+ data-variant={variant}+ className={cn(+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function DropdownMenuCheckboxItem({+ className,+ children,+ checked,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {+ return (+ <DropdownMenuPrimitive.CheckboxItem+ data-slot="dropdown-menu-checkbox-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ checked={checked}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.CheckboxItem>+ )+}++function DropdownMenuRadioGroup({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {+ return (+ <DropdownMenuPrimitive.RadioGroup+ data-slot="dropdown-menu-radio-group"+ {...props}+ />+ )+}++function DropdownMenuRadioItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {+ return (+ <DropdownMenuPrimitive.RadioItem+ data-slot="dropdown-menu-radio-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <CircleIcon className="size-2 fill-current" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.RadioItem>+ )+}++function DropdownMenuLabel({+ className,+ inset,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.Label+ data-slot="dropdown-menu-label"+ data-inset={inset}+ className={cn(+ 'px-2 py-1.5 text-sm font-medium data-[inset]:pl-8',+ className,+ )}+ {...props}+ />+ )+}++function DropdownMenuSeparator({+ className,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {+ return (+ <DropdownMenuPrimitive.Separator+ data-slot="dropdown-menu-separator"+ className={cn('bg-border -mx-1 my-1 h-px', className)}+ {...props}+ />+ )+}++function DropdownMenuShortcut({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="dropdown-menu-shortcut"+ className={cn(+ 'text-muted-foreground ml-auto text-xs tracking-widest',+ className,+ )}+ {...props}+ />+ )+}++function DropdownMenuSub({+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {+ return <DropdownMenuPrimitive.Sub data-slot="dropdown-menu-sub" {...props} />+}++function DropdownMenuSubTrigger({+ className,+ inset,+ children,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {+ inset?: boolean+}) {+ return (+ <DropdownMenuPrimitive.SubTrigger+ data-slot="dropdown-menu-sub-trigger"+ data-inset={inset}+ className={cn(+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ {children}+ <ChevronRightIcon className="ml-auto size-4" />+ </DropdownMenuPrimitive.SubTrigger>+ )+}++function DropdownMenuSubContent({+ className,+ ...props+}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {+ return (+ <DropdownMenuPrimitive.SubContent+ data-slot="dropdown-menu-sub-content"+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',+ className,+ )}+ {...props}+ />+ )+}++export {+ DropdownMenu,+ DropdownMenuPortal,+ DropdownMenuTrigger,+ DropdownMenuContent,+ DropdownMenuGroup,+ DropdownMenuLabel,+ DropdownMenuItem,+ DropdownMenuCheckboxItem,+ DropdownMenuRadioGroup,+ DropdownMenuRadioItem,+ DropdownMenuSeparator,+ DropdownMenuShortcut,+ DropdownMenuSub,+ DropdownMenuSubTrigger,+ DropdownMenuSubContent,+}diff --git a/examples/wine-recommender/app/components/ui/empty.tsx b/examples/wine-recommender/app/components/ui/empty.tsxnew file mode 100644index 000000000..2c57e948a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/empty.tsx@@ -0,0 +1,104 @@+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++function Empty({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty"+ className={cn(+ 'flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12',+ className,+ )}+ {...props}+ />+ )+}++function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-header"+ className={cn(+ 'flex max-w-sm flex-col items-center gap-2 text-center',+ className,+ )}+ {...props}+ />+ )+}++const emptyMediaVariants = cva(+ 'flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0',+ {+ variants: {+ variant: {+ default: 'bg-transparent',+ icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6",+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++function EmptyMedia({+ className,+ variant = 'default',+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {+ return (+ <div+ data-slot="empty-icon"+ data-variant={variant}+ className={cn(emptyMediaVariants({ variant, className }))}+ {...props}+ />+ )+}++function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-title"+ className={cn('text-lg font-medium tracking-tight', className)}+ {...props}+ />+ )+}++function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {+ return (+ <div+ data-slot="empty-description"+ className={cn(+ 'text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4',+ className,+ )}+ {...props}+ />+ )+}++function EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-content"+ className={cn(+ 'flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance',+ className,+ )}+ {...props}+ />+ )+}++export {+ Empty,+ EmptyHeader,+ EmptyTitle,+ EmptyDescription,+ EmptyContent,+ EmptyMedia,+}diff --git a/examples/wine-recommender/app/components/ui/field.tsx b/examples/wine-recommender/app/components/ui/field.tsxnew file mode 100644index 000000000..f4c2f2170--- /dev/null+++ b/examples/wine-recommender/app/components/ui/field.tsx@@ -0,0 +1,244 @@+'use client'++import { useMemo } from 'react'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'+import { Label } from '@/components/ui/label'+import { Separator } from '@/components/ui/separator'++function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>) {+ return (+ <fieldset+ data-slot="field-set"+ className={cn(+ 'flex flex-col gap-6',+ 'has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3',+ className,+ )}+ {...props}+ />+ )+}++function FieldLegend({+ className,+ variant = 'legend',+ ...props+}: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) {+ return (+ <legend+ data-slot="field-legend"+ data-variant={variant}+ className={cn(+ 'mb-3 font-medium',+ 'data-[variant=legend]:text-base',+ 'data-[variant=label]:text-sm',+ className,+ )}+ {...props}+ />+ )+}++function FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="field-group"+ className={cn(+ 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4',+ className,+ )}+ {...props}+ />+ )+}++const fieldVariants = cva(+ 'group/field flex w-full gap-3 data-[invalid=true]:text-destructive',+ {+ variants: {+ orientation: {+ vertical: ['flex-col [&>*]:w-full [&>.sr-only]:w-auto'],+ horizontal: [+ 'flex-row items-center',+ '[&>[data-slot=field-label]]:flex-auto',+ 'has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',+ ],+ responsive: [+ 'flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto',+ '@md/field-group:[&>[data-slot=field-label]]:flex-auto',+ '@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',+ ],+ },+ },+ defaultVariants: {+ orientation: 'vertical',+ },+ },+)++function Field({+ className,+ orientation = 'vertical',+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) {+ return (+ <div+ role="group"+ data-slot="field"+ data-orientation={orientation}+ className={cn(fieldVariants({ orientation }), className)}+ {...props}+ />+ )+}++function FieldContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="field-content"+ className={cn(+ 'group/field-content flex flex-1 flex-col gap-1.5 leading-snug',+ className,+ )}+ {...props}+ />+ )+}++function FieldLabel({+ className,+ ...props+}: React.ComponentProps<typeof Label>) {+ return (+ <Label+ data-slot="field-label"+ className={cn(+ 'group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50',+ 'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4',+ 'has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10',+ className,+ )}+ {...props}+ />+ )+}++function FieldTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="field-label"+ className={cn(+ 'flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50',+ className,+ )}+ {...props}+ />+ )+}++function FieldDescription({ className, ...props }: React.ComponentProps<'p'>) {+ return (+ <p+ data-slot="field-description"+ className={cn(+ 'text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance',+ 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',+ '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',+ className,+ )}+ {...props}+ />+ )+}++function FieldSeparator({+ children,+ className,+ ...props+}: React.ComponentProps<'div'> & {+ children?: React.ReactNode+}) {+ return (+ <div+ data-slot="field-separator"+ data-content={!!children}+ className={cn(+ 'relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2',+ className,+ )}+ {...props}+ >+ <Separator className="absolute inset-0 top-1/2" />+ {children && (+ <span+ className="bg-background text-muted-foreground relative mx-auto block w-fit px-2"+ data-slot="field-separator-content"+ >+ {children}+ </span>+ )}+ </div>+ )+}++function FieldError({+ className,+ children,+ errors,+ ...props+}: React.ComponentProps<'div'> & {+ errors?: Array<{ message?: string } | undefined>+}) {+ const content = useMemo(() => {+ if (children) {+ return children+ }++ if (!errors) {+ return null+ }++ if (errors.length === 1 && errors[0]?.message) {+ return errors[0].message+ }++ return (+ <ul className="ml-4 flex list-disc flex-col gap-1">+ {errors.map(+ (error, index) =>+ error?.message && <li key={index}>{error.message}</li>,+ )}+ </ul>+ )+ }, [children, errors])++ if (!content) {+ return null+ }++ return (+ <div+ role="alert"+ data-slot="field-error"+ className={cn('text-destructive text-sm font-normal', className)}+ {...props}+ >+ {content}+ </div>+ )+}++export {+ Field,+ FieldLabel,+ FieldDescription,+ FieldError,+ FieldGroup,+ FieldLegend,+ FieldSeparator,+ FieldSet,+ FieldContent,+ FieldTitle,+}diff --git a/examples/wine-recommender/app/components/ui/form.tsx b/examples/wine-recommender/app/components/ui/form.tsxnew file mode 100644index 000000000..6233f945a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/form.tsx@@ -0,0 +1,167 @@+'use client'++import * as React from 'react'+import * as LabelPrimitive from '@radix-ui/react-label'+import { Slot } from '@radix-ui/react-slot'+import {+ Controller,+ FormProvider,+ useFormContext,+ useFormState,+ type ControllerProps,+ type FieldPath,+ type FieldValues,+} from 'react-hook-form'++import { cn } from '@/lib/utils'+import { Label } from '@/components/ui/label'++const Form = FormProvider++type FormFieldContextValue<+ TFieldValues extends FieldValues = FieldValues,+ TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,+> = {+ name: TName+}++const FormFieldContext = React.createContext<FormFieldContextValue>(+ {} as FormFieldContextValue,+)++const FormField = <+ TFieldValues extends FieldValues = FieldValues,+ TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,+>({+ ...props+}: ControllerProps<TFieldValues, TName>) => {+ return (+ <FormFieldContext.Provider value={{ name: props.name }}>+ <Controller {...props} />+ </FormFieldContext.Provider>+ )+}++const useFormField = () => {+ const fieldContext = React.useContext(FormFieldContext)+ const itemContext = React.useContext(FormItemContext)+ const { getFieldState } = useFormContext()+ const formState = useFormState({ name: fieldContext.name })+ const fieldState = getFieldState(fieldContext.name, formState)++ if (!fieldContext) {+ throw new Error('useFormField should be used within <FormField>')+ }++ const { id } = itemContext++ return {+ id,+ name: fieldContext.name,+ formItemId: `${id}-form-item`,+ formDescriptionId: `${id}-form-item-description`,+ formMessageId: `${id}-form-item-message`,+ ...fieldState,+ }+}++type FormItemContextValue = {+ id: string+}++const FormItemContext = React.createContext<FormItemContextValue>(+ {} as FormItemContextValue,+)++function FormItem({ className, ...props }: React.ComponentProps<'div'>) {+ const id = React.useId()++ return (+ <FormItemContext.Provider value={{ id }}>+ <div+ data-slot="form-item"+ className={cn('grid gap-2', className)}+ {...props}+ />+ </FormItemContext.Provider>+ )+}++function FormLabel({+ className,+ ...props+}: React.ComponentProps<typeof LabelPrimitive.Root>) {+ const { error, formItemId } = useFormField()++ return (+ <Label+ data-slot="form-label"+ data-error={!!error}+ className={cn('data-[error=true]:text-destructive', className)}+ htmlFor={formItemId}+ {...props}+ />+ )+}++function FormControl({ ...props }: React.ComponentProps<typeof Slot>) {+ const { error, formItemId, formDescriptionId, formMessageId } = useFormField()++ return (+ <Slot+ data-slot="form-control"+ id={formItemId}+ aria-describedby={+ !error+ ? `${formDescriptionId}`+ : `${formDescriptionId} ${formMessageId}`+ }+ aria-invalid={!!error}+ {...props}+ />+ )+}++function FormDescription({ className, ...props }: React.ComponentProps<'p'>) {+ const { formDescriptionId } = useFormField()++ return (+ <p+ data-slot="form-description"+ id={formDescriptionId}+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++function FormMessage({ className, ...props }: React.ComponentProps<'p'>) {+ const { error, formMessageId } = useFormField()+ const body = error ? String(error?.message ?? '') : props.children++ if (!body) {+ return null+ }++ return (+ <p+ data-slot="form-message"+ id={formMessageId}+ className={cn('text-destructive text-sm', className)}+ {...props}+ >+ {body}+ </p>+ )+}++export {+ useFormField,+ Form,+ FormItem,+ FormLabel,+ FormControl,+ FormDescription,+ FormMessage,+ FormField,+}diff --git a/examples/wine-recommender/app/components/ui/hover-card.tsx b/examples/wine-recommender/app/components/ui/hover-card.tsxnew file mode 100644index 000000000..55d6f761c--- /dev/null+++ b/examples/wine-recommender/app/components/ui/hover-card.tsx@@ -0,0 +1,44 @@+'use client'++import * as React from 'react'+import * as HoverCardPrimitive from '@radix-ui/react-hover-card'++import { cn } from '@/lib/utils'++function HoverCard({+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Root>) {+ return <HoverCardPrimitive.Root data-slot="hover-card" {...props} />+}++function HoverCardTrigger({+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Trigger>) {+ return (+ <HoverCardPrimitive.Trigger data-slot="hover-card-trigger" {...props} />+ )+}++function HoverCardContent({+ className,+ align = 'center',+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Content>) {+ return (+ <HoverCardPrimitive.Portal data-slot="hover-card-portal">+ <HoverCardPrimitive.Content+ data-slot="hover-card-content"+ align={align}+ sideOffset={sideOffset}+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden',+ className,+ )}+ {...props}+ />+ </HoverCardPrimitive.Portal>+ )+}++export { HoverCard, HoverCardTrigger, HoverCardContent }diff --git a/examples/wine-recommender/app/components/ui/input-group.tsx b/examples/wine-recommender/app/components/ui/input-group.tsxnew file mode 100644index 000000000..183d2978e--- /dev/null+++ b/examples/wine-recommender/app/components/ui/input-group.tsx@@ -0,0 +1,169 @@+'use client'++import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'+import { Button } from '@/components/ui/button'+import { Input } from '@/components/ui/input'+import { Textarea } from '@/components/ui/textarea'++function InputGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="input-group"+ role="group"+ className={cn(+ 'group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none',+ 'h-9 has-[>textarea]:h-auto',++ // Variants based on alignment.+ 'has-[>[data-align=inline-start]]:[&>input]:pl-2',+ 'has-[>[data-align=inline-end]]:[&>input]:pr-2',+ 'has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3',+ 'has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3',++ // Focus state.+ 'has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]',++ // Error state.+ 'has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40',++ className,+ )}+ {...props}+ />+ )+}++const inputGroupAddonVariants = cva(+ "text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50",+ {+ variants: {+ align: {+ 'inline-start':+ 'order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]',+ 'inline-end':+ 'order-last pr-3 has-[>button]:mr-[-0.4rem] has-[>kbd]:mr-[-0.35rem]',+ 'block-start':+ 'order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5',+ 'block-end':+ 'order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5',+ },+ },+ defaultVariants: {+ align: 'inline-start',+ },+ },+)++function InputGroupAddon({+ className,+ align = 'inline-start',+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>) {+ return (+ <div+ role="group"+ data-slot="input-group-addon"+ data-align={align}+ className={cn(inputGroupAddonVariants({ align }), className)}+ onClick={(e) => {+ if ((e.target as HTMLElement).closest('button')) {+ return+ }+ e.currentTarget.parentElement?.querySelector('input')?.focus()+ }}+ {...props}+ />+ )+}++const inputGroupButtonVariants = cva(+ 'text-sm shadow-none flex gap-2 items-center',+ {+ variants: {+ size: {+ xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",+ sm: 'h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5',+ 'icon-xs':+ 'size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0',+ 'icon-sm': 'size-8 p-0 has-[>svg]:p-0',+ },+ },+ defaultVariants: {+ size: 'xs',+ },+ },+)++function InputGroupButton({+ className,+ type = 'button',+ variant = 'ghost',+ size = 'xs',+ ...props+}: Omit<React.ComponentProps<typeof Button>, 'size'> &+ VariantProps<typeof inputGroupButtonVariants>) {+ return (+ <Button+ type={type}+ data-size={size}+ variant={variant}+ className={cn(inputGroupButtonVariants({ size }), className)}+ {...props}+ />+ )+}++function InputGroupText({ className, ...props }: React.ComponentProps<'span'>) {+ return (+ <span+ className={cn(+ "text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function InputGroupInput({+ className,+ ...props+}: React.ComponentProps<'input'>) {+ return (+ <Input+ data-slot="input-group-control"+ className={cn(+ 'flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent',+ className,+ )}+ {...props}+ />+ )+}++function InputGroupTextarea({+ className,+ ...props+}: React.ComponentProps<'textarea'>) {+ return (+ <Textarea+ data-slot="input-group-control"+ className={cn(+ 'flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent',+ className,+ )}+ {...props}+ />+ )+}++export {+ InputGroup,+ InputGroupAddon,+ InputGroupButton,+ InputGroupText,+ InputGroupInput,+ InputGroupTextarea,+}diff --git a/examples/wine-recommender/app/components/ui/input-otp.tsx b/examples/wine-recommender/app/components/ui/input-otp.tsxnew file mode 100644index 000000000..3f6c47737--- /dev/null+++ b/examples/wine-recommender/app/components/ui/input-otp.tsx@@ -0,0 +1,77 @@+'use client'++import * as React from 'react'+import { OTPInput, OTPInputContext } from 'input-otp'+import { MinusIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function InputOTP({+ className,+ containerClassName,+ ...props+}: React.ComponentProps<typeof OTPInput> & {+ containerClassName?: string+}) {+ return (+ <OTPInput+ data-slot="input-otp"+ containerClassName={cn(+ 'flex items-center gap-2 has-disabled:opacity-50',+ containerClassName,+ )}+ className={cn('disabled:cursor-not-allowed', className)}+ {...props}+ />+ )+}++function InputOTPGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="input-otp-group"+ className={cn('flex items-center', className)}+ {...props}+ />+ )+}++function InputOTPSlot({+ index,+ className,+ ...props+}: React.ComponentProps<'div'> & {+ index: number+}) {+ const inputOTPContext = React.useContext(OTPInputContext)+ const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {}++ return (+ <div+ data-slot="input-otp-slot"+ data-active={isActive}+ className={cn(+ 'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',+ className,+ )}+ {...props}+ >+ {char}+ {hasFakeCaret && (+ <div className="pointer-events-none absolute inset-0 flex items-center justify-center">+ <div className="animate-caret-blink bg-foreground h-4 w-px duration-1000" />+ </div>+ )}+ </div>+ )+}++function InputOTPSeparator({ ...props }: React.ComponentProps<'div'>) {+ return (+ <div data-slot="input-otp-separator" role="separator" {...props}>+ <MinusIcon />+ </div>+ )+}++export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator }diff --git a/examples/wine-recommender/app/components/ui/input.tsx b/examples/wine-recommender/app/components/ui/input.tsxnew file mode 100644index 000000000..f199a0608--- /dev/null+++ b/examples/wine-recommender/app/components/ui/input.tsx@@ -0,0 +1,21 @@+import * as React from 'react'++import { cn } from '@/lib/utils'++function Input({ className, type, ...props }: React.ComponentProps<'input'>) {+ return (+ <input+ type={type}+ data-slot="input"+ className={cn(+ 'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',+ 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',+ 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',+ className,+ )}+ {...props}+ />+ )+}++export { Input }diff --git a/examples/wine-recommender/app/components/ui/item.tsx b/examples/wine-recommender/app/components/ui/item.tsxnew file mode 100644index 000000000..efdf58c65--- /dev/null+++ b/examples/wine-recommender/app/components/ui/item.tsx@@ -0,0 +1,193 @@+import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'+import { Separator } from '@/components/ui/separator'++function ItemGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ role="list"+ data-slot="item-group"+ className={cn('group/item-group flex flex-col', className)}+ {...props}+ />+ )+}++function ItemSeparator({+ className,+ ...props+}: React.ComponentProps<typeof Separator>) {+ return (+ <Separator+ data-slot="item-separator"+ orientation="horizontal"+ className={cn('my-0', className)}+ {...props}+ />+ )+}++const itemVariants = cva(+ 'group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a&]:hover:bg-accent/50 [a&]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',+ {+ variants: {+ variant: {+ default: 'bg-transparent',+ outline: 'border-border',+ muted: 'bg-muted/50',+ },+ size: {+ default: 'p-4 gap-4 ',+ sm: 'py-3 px-4 gap-2.5',+ },+ },+ defaultVariants: {+ variant: 'default',+ size: 'default',+ },+ },+)++function Item({+ className,+ variant = 'default',+ size = 'default',+ asChild = false,+ ...props+}: React.ComponentProps<'div'> &+ VariantProps<typeof itemVariants> & { asChild?: boolean }) {+ const Comp = asChild ? Slot : 'div'+ return (+ <Comp+ data-slot="item"+ data-variant={variant}+ data-size={size}+ className={cn(itemVariants({ variant, size, className }))}+ {...props}+ />+ )+}++const itemMediaVariants = cva(+ 'flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5',+ {+ variants: {+ variant: {+ default: 'bg-transparent',+ icon: "size-8 border rounded-sm bg-muted [&_svg:not([class*='size-'])]:size-4",+ image:+ 'size-10 rounded-sm overflow-hidden [&_img]:size-full [&_img]:object-cover',+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++function ItemMedia({+ className,+ variant = 'default',+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>) {+ return (+ <div+ data-slot="item-media"+ data-variant={variant}+ className={cn(itemMediaVariants({ variant, className }))}+ {...props}+ />+ )+}++function ItemContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="item-content"+ className={cn(+ 'flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none',+ className,+ )}+ {...props}+ />+ )+}++function ItemTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="item-title"+ className={cn(+ 'flex w-fit items-center gap-2 text-sm leading-snug font-medium',+ className,+ )}+ {...props}+ />+ )+}++function ItemDescription({ className, ...props }: React.ComponentProps<'p'>) {+ return (+ <p+ data-slot="item-description"+ className={cn(+ 'text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance',+ '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',+ className,+ )}+ {...props}+ />+ )+}++function ItemActions({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="item-actions"+ className={cn('flex items-center gap-2', className)}+ {...props}+ />+ )+}++function ItemHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="item-header"+ className={cn(+ 'flex basis-full items-center justify-between gap-2',+ className,+ )}+ {...props}+ />+ )+}++function ItemFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="item-footer"+ className={cn(+ 'flex basis-full items-center justify-between gap-2',+ className,+ )}+ {...props}+ />+ )+}++export {+ Item,+ ItemMedia,+ ItemContent,+ ItemActions,+ ItemGroup,+ ItemSeparator,+ ItemTitle,+ ItemDescription,+ ItemHeader,+ ItemFooter,+}diff --git a/examples/wine-recommender/app/components/ui/kbd.tsx b/examples/wine-recommender/app/components/ui/kbd.tsxnew file mode 100644index 000000000..9897f35ef--- /dev/null+++ b/examples/wine-recommender/app/components/ui/kbd.tsx@@ -0,0 +1,28 @@+import { cn } from '@/lib/utils'++function Kbd({ className, ...props }: React.ComponentProps<'kbd'>) {+ return (+ <kbd+ data-slot="kbd"+ className={cn(+ 'bg-muted w-fit text-muted-foreground pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none',+ "[&_svg:not([class*='size-'])]:size-3",+ '[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10',+ className,+ )}+ {...props}+ />+ )+}++function KbdGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <kbd+ data-slot="kbd-group"+ className={cn('inline-flex items-center gap-1', className)}+ {...props}+ />+ )+}++export { Kbd, KbdGroup }diff --git a/examples/wine-recommender/app/components/ui/label.tsx b/examples/wine-recommender/app/components/ui/label.tsxnew file mode 100644index 000000000..5d66da2c6--- /dev/null+++ b/examples/wine-recommender/app/components/ui/label.tsx@@ -0,0 +1,24 @@+'use client'++import * as React from 'react'+import * as LabelPrimitive from '@radix-ui/react-label'++import { cn } from '@/lib/utils'++function Label({+ className,+ ...props+}: React.ComponentProps<typeof LabelPrimitive.Root>) {+ return (+ <LabelPrimitive.Root+ data-slot="label"+ className={cn(+ 'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',+ className,+ )}+ {...props}+ />+ )+}++export { Label }diff --git a/examples/wine-recommender/app/components/ui/menubar.tsx b/examples/wine-recommender/app/components/ui/menubar.tsxnew file mode 100644index 000000000..791360cf6--- /dev/null+++ b/examples/wine-recommender/app/components/ui/menubar.tsx@@ -0,0 +1,276 @@+'use client'++import * as React from 'react'+import * as MenubarPrimitive from '@radix-ui/react-menubar'+import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Menubar({+ className,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Root>) {+ return (+ <MenubarPrimitive.Root+ data-slot="menubar"+ className={cn(+ 'bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs',+ className,+ )}+ {...props}+ />+ )+}++function MenubarMenu({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {+ return <MenubarPrimitive.Menu data-slot="menubar-menu" {...props} />+}++function MenubarGroup({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Group>) {+ return <MenubarPrimitive.Group data-slot="menubar-group" {...props} />+}++function MenubarPortal({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {+ return <MenubarPrimitive.Portal data-slot="menubar-portal" {...props} />+}++function MenubarRadioGroup({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {+ return (+ <MenubarPrimitive.RadioGroup data-slot="menubar-radio-group" {...props} />+ )+}++function MenubarTrigger({+ className,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Trigger>) {+ return (+ <MenubarPrimitive.Trigger+ data-slot="menubar-trigger"+ className={cn(+ 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none',+ className,+ )}+ {...props}+ />+ )+}++function MenubarContent({+ className,+ align = 'start',+ alignOffset = -4,+ sideOffset = 8,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Content>) {+ return (+ <MenubarPortal>+ <MenubarPrimitive.Content+ data-slot="menubar-content"+ align={align}+ alignOffset={alignOffset}+ sideOffset={sideOffset}+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md',+ className,+ )}+ {...props}+ />+ </MenubarPortal>+ )+}++function MenubarItem({+ className,+ inset,+ variant = 'default',+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Item> & {+ inset?: boolean+ variant?: 'default' | 'destructive'+}) {+ return (+ <MenubarPrimitive.Item+ data-slot="menubar-item"+ data-inset={inset}+ data-variant={variant}+ className={cn(+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function MenubarCheckboxItem({+ className,+ children,+ checked,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.CheckboxItem>) {+ return (+ <MenubarPrimitive.CheckboxItem+ data-slot="menubar-checkbox-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ checked={checked}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <MenubarPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </MenubarPrimitive.ItemIndicator>+ </span>+ {children}+ </MenubarPrimitive.CheckboxItem>+ )+}++function MenubarRadioItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.RadioItem>) {+ return (+ <MenubarPrimitive.RadioItem+ data-slot="menubar-radio-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ <MenubarPrimitive.ItemIndicator>+ <CircleIcon className="size-2 fill-current" />+ </MenubarPrimitive.ItemIndicator>+ </span>+ {children}+ </MenubarPrimitive.RadioItem>+ )+}++function MenubarLabel({+ className,+ inset,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Label> & {+ inset?: boolean+}) {+ return (+ <MenubarPrimitive.Label+ data-slot="menubar-label"+ data-inset={inset}+ className={cn(+ 'px-2 py-1.5 text-sm font-medium data-[inset]:pl-8',+ className,+ )}+ {...props}+ />+ )+}++function MenubarSeparator({+ className,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Separator>) {+ return (+ <MenubarPrimitive.Separator+ data-slot="menubar-separator"+ className={cn('bg-border -mx-1 my-1 h-px', className)}+ {...props}+ />+ )+}++function MenubarShortcut({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ data-slot="menubar-shortcut"+ className={cn(+ 'text-muted-foreground ml-auto text-xs tracking-widest',+ className,+ )}+ {...props}+ />+ )+}++function MenubarSub({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {+ return <MenubarPrimitive.Sub data-slot="menubar-sub" {...props} />+}++function MenubarSubTrigger({+ className,+ inset,+ children,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {+ inset?: boolean+}) {+ return (+ <MenubarPrimitive.SubTrigger+ data-slot="menubar-sub-trigger"+ data-inset={inset}+ className={cn(+ 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8',+ className,+ )}+ {...props}+ >+ {children}+ <ChevronRightIcon className="ml-auto h-4 w-4" />+ </MenubarPrimitive.SubTrigger>+ )+}++function MenubarSubContent({+ className,+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.SubContent>) {+ return (+ <MenubarPrimitive.SubContent+ data-slot="menubar-sub-content"+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',+ className,+ )}+ {...props}+ />+ )+}++export {+ Menubar,+ MenubarPortal,+ MenubarMenu,+ MenubarTrigger,+ MenubarContent,+ MenubarGroup,+ MenubarSeparator,+ MenubarLabel,+ MenubarItem,+ MenubarShortcut,+ MenubarCheckboxItem,+ MenubarRadioGroup,+ MenubarRadioItem,+ MenubarSub,+ MenubarSubTrigger,+ MenubarSubContent,+}diff --git a/examples/wine-recommender/app/components/ui/navigation-menu.tsx b/examples/wine-recommender/app/components/ui/navigation-menu.tsxnew file mode 100644index 000000000..78936fed6--- /dev/null+++ b/examples/wine-recommender/app/components/ui/navigation-menu.tsx@@ -0,0 +1,166 @@+import * as React from 'react'+import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'+import { cva } from 'class-variance-authority'+import { ChevronDownIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function NavigationMenu({+ className,+ children,+ viewport = true,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {+ viewport?: boolean+}) {+ return (+ <NavigationMenuPrimitive.Root+ data-slot="navigation-menu"+ data-viewport={viewport}+ className={cn(+ 'group/navigation-menu relative flex max-w-max flex-1 items-center justify-center',+ className,+ )}+ {...props}+ >+ {children}+ {viewport && <NavigationMenuViewport />}+ </NavigationMenuPrimitive.Root>+ )+}++function NavigationMenuList({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.List>) {+ return (+ <NavigationMenuPrimitive.List+ data-slot="navigation-menu-list"+ className={cn(+ 'group flex flex-1 list-none items-center justify-center gap-1',+ className,+ )}+ {...props}+ />+ )+}++function NavigationMenuItem({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Item>) {+ return (+ <NavigationMenuPrimitive.Item+ data-slot="navigation-menu-item"+ className={cn('relative', className)}+ {...props}+ />+ )+}++const navigationMenuTriggerStyle = cva(+ 'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1',+)++function NavigationMenuTrigger({+ className,+ children,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>) {+ return (+ <NavigationMenuPrimitive.Trigger+ data-slot="navigation-menu-trigger"+ className={cn(navigationMenuTriggerStyle(), 'group', className)}+ {...props}+ >+ {children}{' '}+ <ChevronDownIcon+ className="relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180"+ aria-hidden="true"+ />+ </NavigationMenuPrimitive.Trigger>+ )+}++function NavigationMenuContent({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Content>) {+ return (+ <NavigationMenuPrimitive.Content+ data-slot="navigation-menu-content"+ className={cn(+ 'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto',+ 'group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none',+ className,+ )}+ {...props}+ />+ )+}++function NavigationMenuViewport({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>) {+ return (+ <div+ className="absolute top-full left-0 isolate z-50 flex justify-center"+ >+ <NavigationMenuPrimitive.Viewport+ data-slot="navigation-menu-viewport"+ className={cn(+ 'origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]',+ className,+ )}+ {...props}+ />+ </div>+ )+}++function NavigationMenuLink({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Link>) {+ return (+ <NavigationMenuPrimitive.Link+ data-slot="navigation-menu-link"+ className={cn(+ "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function NavigationMenuIndicator({+ className,+ ...props+}: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>) {+ return (+ <NavigationMenuPrimitive.Indicator+ data-slot="navigation-menu-indicator"+ className={cn(+ 'data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden',+ className,+ )}+ {...props}+ >+ <div className="bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" />+ </NavigationMenuPrimitive.Indicator>+ )+}++export {+ NavigationMenu,+ NavigationMenuList,+ NavigationMenuItem,+ NavigationMenuContent,+ NavigationMenuTrigger,+ NavigationMenuLink,+ NavigationMenuIndicator,+ NavigationMenuViewport,+ navigationMenuTriggerStyle,+}diff --git a/examples/wine-recommender/app/components/ui/pagination.tsx b/examples/wine-recommender/app/components/ui/pagination.tsxnew file mode 100644index 000000000..ce8f25d48--- /dev/null+++ b/examples/wine-recommender/app/components/ui/pagination.tsx@@ -0,0 +1,127 @@+import * as React from 'react'+import {+ ChevronLeftIcon,+ ChevronRightIcon,+ MoreHorizontalIcon,+} from 'lucide-react'++import { cn } from '@/lib/utils'+import { Button, buttonVariants } from '@/components/ui/button'++function Pagination({ className, ...props }: React.ComponentProps<'nav'>) {+ return (+ <nav+ role="navigation"+ aria-label="pagination"+ data-slot="pagination"+ className={cn('mx-auto flex w-full justify-center', className)}+ {...props}+ />+ )+}++function PaginationContent({+ className,+ ...props+}: React.ComponentProps<'ul'>) {+ return (+ <ul+ data-slot="pagination-content"+ className={cn('flex flex-row items-center gap-1', className)}+ {...props}+ />+ )+}++function PaginationItem({ ...props }: React.ComponentProps<'li'>) {+ return <li data-slot="pagination-item" {...props} />+}++type PaginationLinkProps = {+ isActive?: boolean+} & Pick<React.ComponentProps<typeof Button>, 'size'> &+ React.ComponentProps<'a'>++function PaginationLink({+ className,+ isActive,+ size = 'icon',+ ...props+}: PaginationLinkProps) {+ return (+ <a+ aria-current={isActive ? 'page' : undefined}+ data-slot="pagination-link"+ data-active={isActive}+ className={cn(+ buttonVariants({+ variant: isActive ? 'outline' : 'ghost',+ size,+ }),+ className,+ )}+ {...props}+ />+ )+}++function PaginationPrevious({+ className,+ ...props+}: React.ComponentProps<typeof PaginationLink>) {+ return (+ <PaginationLink+ aria-label="Go to previous page"+ size="default"+ className={cn('gap-1 px-2.5 sm:pl-2.5', className)}+ {...props}+ >+ <ChevronLeftIcon />+ <span className="hidden sm:block">Previous</span>+ </PaginationLink>+ )+}++function PaginationNext({+ className,+ ...props+}: React.ComponentProps<typeof PaginationLink>) {+ return (+ <PaginationLink+ aria-label="Go to next page"+ size="default"+ className={cn('gap-1 px-2.5 sm:pr-2.5', className)}+ {...props}+ >+ <span className="hidden sm:block">Next</span>+ <ChevronRightIcon />+ </PaginationLink>+ )+}++function PaginationEllipsis({+ className,+ ...props+}: React.ComponentProps<'span'>) {+ return (+ <span+ aria-hidden+ data-slot="pagination-ellipsis"+ className={cn('flex size-9 items-center justify-center', className)}+ {...props}+ >+ <MoreHorizontalIcon className="size-4" />+ <span className="sr-only">More pages</span>+ </span>+ )+}++export {+ Pagination,+ PaginationContent,+ PaginationLink,+ PaginationItem,+ PaginationPrevious,+ PaginationNext,+ PaginationEllipsis,+}diff --git a/examples/wine-recommender/app/components/ui/popover.tsx b/examples/wine-recommender/app/components/ui/popover.tsxnew file mode 100644index 000000000..b4fc827d2--- /dev/null+++ b/examples/wine-recommender/app/components/ui/popover.tsx@@ -0,0 +1,48 @@+'use client'++import * as React from 'react'+import * as PopoverPrimitive from '@radix-ui/react-popover'++import { cn } from '@/lib/utils'++function Popover({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Root>) {+ return <PopoverPrimitive.Root data-slot="popover" {...props} />+}++function PopoverTrigger({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {+ return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />+}++function PopoverContent({+ className,+ align = 'center',+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Content>) {+ return (+ <PopoverPrimitive.Portal>+ <PopoverPrimitive.Content+ data-slot="popover-content"+ align={align}+ sideOffset={sideOffset}+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden',+ className,+ )}+ {...props}+ />+ </PopoverPrimitive.Portal>+ )+}++function PopoverAnchor({+ ...props+}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {+ return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />+}++export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }diff --git a/examples/wine-recommender/app/components/ui/progress.tsx b/examples/wine-recommender/app/components/ui/progress.tsxnew file mode 100644index 000000000..ab383053d--- /dev/null+++ b/examples/wine-recommender/app/components/ui/progress.tsx@@ -0,0 +1,31 @@+'use client'++import * as React from 'react'+import * as ProgressPrimitive from '@radix-ui/react-progress'++import { cn } from '@/lib/utils'++function Progress({+ className,+ value,+ ...props+}: React.ComponentProps<typeof ProgressPrimitive.Root>) {+ return (+ <ProgressPrimitive.Root+ data-slot="progress"+ className={cn(+ 'bg-primary/20 relative h-2 w-full overflow-hidden rounded-full',+ className,+ )}+ {...props}+ >+ <ProgressPrimitive.Indicator+ data-slot="progress-indicator"+ className="bg-primary h-full w-full flex-1 transition-all"+ style={{ transform: `translateX(-${100 - (value || 0)}%)` }}+ />+ </ProgressPrimitive.Root>+ )+}++export { Progress }diff --git a/examples/wine-recommender/app/components/ui/radio-group.tsx b/examples/wine-recommender/app/components/ui/radio-group.tsxnew file mode 100644index 000000000..e9af867d7--- /dev/null+++ b/examples/wine-recommender/app/components/ui/radio-group.tsx@@ -0,0 +1,45 @@+'use client'++import * as React from 'react'+import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'+import { CircleIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function RadioGroup({+ className,+ ...props+}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {+ return (+ <RadioGroupPrimitive.Root+ data-slot="radio-group"+ className={cn('grid gap-3', className)}+ {...props}+ />+ )+}++function RadioGroupItem({+ className,+ ...props+}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {+ return (+ <RadioGroupPrimitive.Item+ data-slot="radio-group-item"+ className={cn(+ 'border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',+ className,+ )}+ {...props}+ >+ <RadioGroupPrimitive.Indicator+ data-slot="radio-group-indicator"+ className="relative flex items-center justify-center"+ >+ <CircleIcon className="fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" />+ </RadioGroupPrimitive.Indicator>+ </RadioGroupPrimitive.Item>+ )+}++export { RadioGroup, RadioGroupItem }diff --git a/examples/wine-recommender/app/components/ui/resizable.tsx b/examples/wine-recommender/app/components/ui/resizable.tsxnew file mode 100644index 000000000..5c2f91d5e--- /dev/null+++ b/examples/wine-recommender/app/components/ui/resizable.tsx@@ -0,0 +1,56 @@+'use client'++import * as React from 'react'+import { GripVerticalIcon } from 'lucide-react'+import * as ResizablePrimitive from 'react-resizable-panels'++import { cn } from '@/lib/utils'++function ResizablePanelGroup({+ className,+ ...props+}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) {+ return (+ <ResizablePrimitive.PanelGroup+ data-slot="resizable-panel-group"+ className={cn(+ 'flex h-full w-full data-[panel-group-direction=vertical]:flex-col',+ className,+ )}+ {...props}+ />+ )+}++function ResizablePanel({+ ...props+}: React.ComponentProps<typeof ResizablePrimitive.Panel>) {+ return <ResizablePrimitive.Panel data-slot="resizable-panel" {...props} />+}++function ResizableHandle({+ withHandle,+ className,+ ...props+}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {+ withHandle?: boolean+}) {+ return (+ <ResizablePrimitive.PanelResizeHandle+ data-slot="resizable-handle"+ className={cn(+ 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',+ className,+ )}+ {...props}+ >+ {withHandle && (+ <div className="bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border">+ <GripVerticalIcon className="size-2.5" />+ </div>+ )}+ </ResizablePrimitive.PanelResizeHandle>+ )+}++export { ResizablePanelGroup, ResizablePanel, ResizableHandle }diff --git a/examples/wine-recommender/app/components/ui/scroll-area.tsx b/examples/wine-recommender/app/components/ui/scroll-area.tsxnew file mode 100644index 000000000..dc98eb065--- /dev/null+++ b/examples/wine-recommender/app/components/ui/scroll-area.tsx@@ -0,0 +1,58 @@+'use client'++import * as React from 'react'+import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'++import { cn } from '@/lib/utils'++function ScrollArea({+ className,+ children,+ ...props+}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {+ return (+ <ScrollAreaPrimitive.Root+ data-slot="scroll-area"+ className={cn('relative', className)}+ {...props}+ >+ <ScrollAreaPrimitive.Viewport+ data-slot="scroll-area-viewport"+ className="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"+ >+ {children}+ </ScrollAreaPrimitive.Viewport>+ <ScrollBar />+ <ScrollAreaPrimitive.Corner />+ </ScrollAreaPrimitive.Root>+ )+}++function ScrollBar({+ className,+ orientation = 'vertical',+ ...props+}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {+ return (+ <ScrollAreaPrimitive.ScrollAreaScrollbar+ data-slot="scroll-area-scrollbar"+ orientation={orientation}+ className={cn(+ 'flex touch-none p-px transition-colors select-none',+ orientation === 'vertical' &&+ 'h-full w-2.5 border-l border-l-transparent',+ orientation === 'horizontal' &&+ 'h-2.5 flex-col border-t border-t-transparent',+ className,+ )}+ {...props}+ >+ <ScrollAreaPrimitive.ScrollAreaThumb+ data-slot="scroll-area-thumb"+ className="bg-border relative flex-1 rounded-full"+ />+ </ScrollAreaPrimitive.ScrollAreaScrollbar>+ )+}++export { ScrollArea, ScrollBar }diff --git a/examples/wine-recommender/app/components/ui/select.tsx b/examples/wine-recommender/app/components/ui/select.tsxnew file mode 100644index 000000000..5db0bcac0--- /dev/null+++ b/examples/wine-recommender/app/components/ui/select.tsx@@ -0,0 +1,185 @@+'use client'++import * as React from 'react'+import * as SelectPrimitive from '@radix-ui/react-select'+import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Select({+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Root>) {+ return <SelectPrimitive.Root data-slot="select" {...props} />+}++function SelectGroup({+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Group>) {+ return <SelectPrimitive.Group data-slot="select-group" {...props} />+}++function SelectValue({+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Value>) {+ return <SelectPrimitive.Value data-slot="select-value" {...props} />+}++function SelectTrigger({+ className,+ size = 'default',+ children,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {+ size?: 'sm' | 'default'+}) {+ return (+ <SelectPrimitive.Trigger+ data-slot="select-trigger"+ data-size={size}+ className={cn(+ "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <ChevronDownIcon className="size-4 opacity-50" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+ )+}++function SelectContent({+ className,+ children,+ position = 'popper',+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Content>) {+ return (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ data-slot="select-content"+ className={cn(+ 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md',+ position === 'popper' &&+ 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',+ className,+ )}+ position={position}+ {...props}+ >+ <SelectScrollUpButton />+ <SelectPrimitive.Viewport+ className={cn(+ 'p-1',+ position === 'popper' &&+ 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1',+ )}+ >+ {children}+ </SelectPrimitive.Viewport>+ <SelectScrollDownButton />+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+ )+}++function SelectLabel({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Label>) {+ return (+ <SelectPrimitive.Label+ data-slot="select-label"+ className={cn('text-muted-foreground px-2 py-1.5 text-xs', className)}+ {...props}+ />+ )+}++function SelectItem({+ className,+ children,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Item>) {+ return (+ <SelectPrimitive.Item+ data-slot="select-item"+ className={cn(+ "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",+ className,+ )}+ {...props}+ >+ <span className="absolute right-2 flex size-3.5 items-center justify-center">+ <SelectPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </SelectPrimitive.ItemIndicator>+ </span>+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>+ </SelectPrimitive.Item>+ )+}++function SelectSeparator({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.Separator>) {+ return (+ <SelectPrimitive.Separator+ data-slot="select-separator"+ className={cn('bg-border pointer-events-none -mx-1 my-1 h-px', className)}+ {...props}+ />+ )+}++function SelectScrollUpButton({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {+ return (+ <SelectPrimitive.ScrollUpButton+ data-slot="select-scroll-up-button"+ className={cn(+ 'flex cursor-default items-center justify-center py-1',+ className,+ )}+ {...props}+ >+ <ChevronUpIcon className="size-4" />+ </SelectPrimitive.ScrollUpButton>+ )+}++function SelectScrollDownButton({+ className,+ ...props+}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {+ return (+ <SelectPrimitive.ScrollDownButton+ data-slot="select-scroll-down-button"+ className={cn(+ 'flex cursor-default items-center justify-center py-1',+ className,+ )}+ {...props}+ >+ <ChevronDownIcon className="size-4" />+ </SelectPrimitive.ScrollDownButton>+ )+}++export {+ Select,+ SelectContent,+ SelectGroup,+ SelectItem,+ SelectLabel,+ SelectScrollDownButton,+ SelectScrollUpButton,+ SelectSeparator,+ SelectTrigger,+ SelectValue,+}diff --git a/examples/wine-recommender/app/components/ui/separator.tsx b/examples/wine-recommender/app/components/ui/separator.tsxnew file mode 100644index 000000000..f43aaf551--- /dev/null+++ b/examples/wine-recommender/app/components/ui/separator.tsx@@ -0,0 +1,28 @@+'use client'++import * as React from 'react'+import * as SeparatorPrimitive from '@radix-ui/react-separator'++import { cn } from '@/lib/utils'++function Separator({+ className,+ orientation = 'horizontal',+ decorative = true,+ ...props+}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {+ return (+ <SeparatorPrimitive.Root+ data-slot="separator"+ decorative={decorative}+ orientation={orientation}+ className={cn(+ 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',+ className,+ )}+ {...props}+ />+ )+}++export { Separator }diff --git a/examples/wine-recommender/app/components/ui/sheet.tsx b/examples/wine-recommender/app/components/ui/sheet.tsxnew file mode 100644index 000000000..51041fafa--- /dev/null+++ b/examples/wine-recommender/app/components/ui/sheet.tsx@@ -0,0 +1,139 @@+'use client'++import * as React from 'react'+import * as SheetPrimitive from '@radix-ui/react-dialog'+import { XIcon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {+ return <SheetPrimitive.Root data-slot="sheet" {...props} />+}++function SheetTrigger({+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {+ return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />+}++function SheetClose({+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Close>) {+ return <SheetPrimitive.Close data-slot="sheet-close" {...props} />+}++function SheetPortal({+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Portal>) {+ return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />+}++function SheetOverlay({+ className,+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {+ return (+ <SheetPrimitive.Overlay+ data-slot="sheet-overlay"+ className={cn(+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',+ className,+ )}+ {...props}+ />+ )+}++function SheetContent({+ className,+ children,+ side = 'right',+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Content> & {+ side?: 'top' | 'right' | 'bottom' | 'left'+}) {+ return (+ <SheetPortal>+ <SheetOverlay />+ <SheetPrimitive.Content+ data-slot="sheet-content"+ className={cn(+ 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',+ side === 'right' &&+ 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',+ side === 'left' &&+ 'data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',+ side === 'top' &&+ 'data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b',+ side === 'bottom' &&+ 'data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t',+ className,+ )}+ {...props}+ >+ {children}+ <SheetPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none">+ <XIcon className="size-4" />+ <span className="sr-only">Close</span>+ </SheetPrimitive.Close>+ </SheetPrimitive.Content>+ </SheetPortal>+ )+}++function SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sheet-header"+ className={cn('flex flex-col gap-1.5 p-4', className)}+ {...props}+ />+ )+}++function SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sheet-footer"+ className={cn('mt-auto flex flex-col gap-2 p-4', className)}+ {...props}+ />+ )+}++function SheetTitle({+ className,+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Title>) {+ return (+ <SheetPrimitive.Title+ data-slot="sheet-title"+ className={cn('text-foreground font-semibold', className)}+ {...props}+ />+ )+}++function SheetDescription({+ className,+ ...props+}: React.ComponentProps<typeof SheetPrimitive.Description>) {+ return (+ <SheetPrimitive.Description+ data-slot="sheet-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ )+}++export {+ Sheet,+ SheetTrigger,+ SheetClose,+ SheetContent,+ SheetHeader,+ SheetFooter,+ SheetTitle,+ SheetDescription,+}diff --git a/examples/wine-recommender/app/components/ui/sidebar.tsx b/examples/wine-recommender/app/components/ui/sidebar.tsxnew file mode 100644index 000000000..ee7434311--- /dev/null+++ b/examples/wine-recommender/app/components/ui/sidebar.tsx@@ -0,0 +1,726 @@+'use client'++import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { cva, VariantProps } from 'class-variance-authority'+import { PanelLeftIcon } from 'lucide-react'++import { useIsMobile } from '@/hooks/use-mobile'+import { cn } from '@/lib/utils'+import { Button } from '@/components/ui/button'+import { Input } from '@/components/ui/input'+import { Separator } from '@/components/ui/separator'+import {+ Sheet,+ SheetContent,+ SheetDescription,+ SheetHeader,+ SheetTitle,+} from '@/components/ui/sheet'+import { Skeleton } from '@/components/ui/skeleton'+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from '@/components/ui/tooltip'++const SIDEBAR_COOKIE_NAME = 'sidebar_state'+const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7+const SIDEBAR_WIDTH = '16rem'+const SIDEBAR_WIDTH_MOBILE = '18rem'+const SIDEBAR_WIDTH_ICON = '3rem'+const SIDEBAR_KEYBOARD_SHORTCUT = 'b'++type SidebarContextProps = {+ state: 'expanded' | 'collapsed'+ open: boolean+ setOpen: (open: boolean) => void+ openMobile: boolean+ setOpenMobile: (open: boolean) => void+ isMobile: boolean+ toggleSidebar: () => void+}++const SidebarContext = React.createContext<SidebarContextProps | null>(null)++function useSidebar() {+ const context = React.useContext(SidebarContext)+ if (!context) {+ throw new Error('useSidebar must be used within a SidebarProvider.')+ }++ return context+}++function SidebarProvider({+ defaultOpen = true,+ open: openProp,+ onOpenChange: setOpenProp,+ className,+ style,+ children,+ ...props+}: React.ComponentProps<'div'> & {+ defaultOpen?: boolean+ open?: boolean+ onOpenChange?: (open: boolean) => void+}) {+ const isMobile = useIsMobile()+ const [openMobile, setOpenMobile] = React.useState(false)++ // This is the internal state of the sidebar.+ // We use openProp and setOpenProp for control from outside the component.+ const [_open, _setOpen] = React.useState(defaultOpen)+ const open = openProp ?? _open+ const setOpen = React.useCallback(+ (value: boolean | ((value: boolean) => boolean)) => {+ const openState = typeof value === 'function' ? value(open) : value+ if (setOpenProp) {+ setOpenProp(openState)+ } else {+ _setOpen(openState)+ }++ // This sets the cookie to keep the sidebar state.+ document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`+ },+ [setOpenProp, open],+ )++ // Helper to toggle the sidebar.+ const toggleSidebar = React.useCallback(() => {+ return isMobile ? setOpenMobile((open) => !open) : setOpen((open) => !open)+ }, [isMobile, setOpen, setOpenMobile])++ // Adds a keyboard shortcut to toggle the sidebar.+ React.useEffect(() => {+ const handleKeyDown = (event: KeyboardEvent) => {+ if (+ event.key === SIDEBAR_KEYBOARD_SHORTCUT &&+ (event.metaKey || event.ctrlKey)+ ) {+ event.preventDefault()+ toggleSidebar()+ }+ }++ window.addEventListener('keydown', handleKeyDown)+ return () => window.removeEventListener('keydown', handleKeyDown)+ }, [toggleSidebar])++ // We add a state so that we can do data-state="expanded" or "collapsed".+ // This makes it easier to style the sidebar with Tailwind classes.+ const state = open ? 'expanded' : 'collapsed'++ const contextValue = React.useMemo<SidebarContextProps>(+ () => ({+ state,+ open,+ setOpen,+ isMobile,+ openMobile,+ setOpenMobile,+ toggleSidebar,+ }),+ [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar],+ )++ return (+ <SidebarContext.Provider value={contextValue}>+ <TooltipProvider delayDuration={0}>+ <div+ data-slot="sidebar-wrapper"+ style={+ {+ '--sidebar-width': SIDEBAR_WIDTH,+ '--sidebar-width-icon': SIDEBAR_WIDTH_ICON,+ ...style,+ } as React.CSSProperties+ }+ className={cn(+ 'group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full',+ className,+ )}+ {...props}+ >+ {children}+ </div>+ </TooltipProvider>+ </SidebarContext.Provider>+ )+}++function Sidebar({+ side = 'left',+ variant = 'sidebar',+ collapsible = 'offcanvas',+ className,+ children,+ ...props+}: React.ComponentProps<'div'> & {+ side?: 'left' | 'right'+ variant?: 'sidebar' | 'floating' | 'inset'+ collapsible?: 'offcanvas' | 'icon' | 'none'+}) {+ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()++ if (collapsible === 'none') {+ return (+ <div+ data-slot="sidebar"+ className={cn(+ 'bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col',+ className,+ )}+ {...props}+ >+ {children}+ </div>+ )+ }++ if (isMobile) {+ return (+ <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>+ <SheetContent+ data-sidebar="sidebar"+ data-slot="sidebar"+ data-mobile="true"+ className="bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden"+ style={+ {+ '--sidebar-width': SIDEBAR_WIDTH_MOBILE,+ } as React.CSSProperties+ }+ side={side}+ >+ <SheetHeader className="sr-only">+ <SheetTitle>Sidebar</SheetTitle>+ <SheetDescription>Displays the mobile sidebar.</SheetDescription>+ </SheetHeader>+ <div className="flex h-full w-full flex-col">{children}</div>+ </SheetContent>+ </Sheet>+ )+ }++ return (+ <div+ className="group peer text-sidebar-foreground hidden md:block"+ data-state={state}+ data-collapsible={state === 'collapsed' ? collapsible : ''}+ data-variant={variant}+ data-side={side}+ data-slot="sidebar"+ >+ {/* This is what handles the sidebar gap on desktop */}+ <div+ data-slot="sidebar-gap"+ className={cn(+ 'relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear',+ 'group-data-[collapsible=offcanvas]:w-0',+ 'group-data-[side=right]:rotate-180',+ variant === 'floating' || variant === 'inset'+ ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',+ )}+ />+ <div+ data-slot="sidebar-container"+ className={cn(+ 'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',+ side === 'left'+ ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'+ : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',+ // Adjust the padding for floating and inset variants.+ variant === 'floating' || variant === 'inset'+ ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',+ className,+ )}+ {...props}+ >+ <div+ data-sidebar="sidebar"+ data-slot="sidebar-inner"+ className="bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"+ >+ {children}+ </div>+ </div>+ </div>+ )+}++function SidebarTrigger({+ className,+ onClick,+ ...props+}: React.ComponentProps<typeof Button>) {+ const { toggleSidebar } = useSidebar()++ return (+ <Button+ data-sidebar="trigger"+ data-slot="sidebar-trigger"+ variant="ghost"+ size="icon"+ className={cn('size-7', className)}+ onClick={(event) => {+ onClick?.(event)+ toggleSidebar()+ }}+ {...props}+ >+ <PanelLeftIcon />+ <span className="sr-only">Toggle Sidebar</span>+ </Button>+ )+}++function SidebarRail({ className, ...props }: React.ComponentProps<'button'>) {+ const { toggleSidebar } = useSidebar()++ return (+ <button+ data-sidebar="rail"+ data-slot="sidebar-rail"+ aria-label="Toggle Sidebar"+ tabIndex={-1}+ onClick={toggleSidebar}+ title="Toggle Sidebar"+ className={cn(+ 'hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex',+ 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',+ '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',+ 'hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full',+ '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',+ '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',+ className,+ )}+ {...props}+ />+ )+}++function SidebarInset({ className, ...props }: React.ComponentProps<'main'>) {+ return (+ <main+ data-slot="sidebar-inset"+ className={cn(+ 'bg-background relative flex w-full flex-1 flex-col',+ 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2',+ className,+ )}+ {...props}+ />+ )+}++function SidebarInput({+ className,+ ...props+}: React.ComponentProps<typeof Input>) {+ return (+ <Input+ data-slot="sidebar-input"+ data-sidebar="input"+ className={cn('bg-background h-8 w-full shadow-none', className)}+ {...props}+ />+ )+}++function SidebarHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-header"+ data-sidebar="header"+ className={cn('flex flex-col gap-2 p-2', className)}+ {...props}+ />+ )+}++function SidebarFooter({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-footer"+ data-sidebar="footer"+ className={cn('flex flex-col gap-2 p-2', className)}+ {...props}+ />+ )+}++function SidebarSeparator({+ className,+ ...props+}: React.ComponentProps<typeof Separator>) {+ return (+ <Separator+ data-slot="sidebar-separator"+ data-sidebar="separator"+ className={cn('bg-sidebar-border mx-2 w-auto', className)}+ {...props}+ />+ )+}++function SidebarContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-content"+ data-sidebar="content"+ className={cn(+ 'flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden',+ className,+ )}+ {...props}+ />+ )+}++function SidebarGroup({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-group"+ data-sidebar="group"+ className={cn('relative flex w-full min-w-0 flex-col p-2', className)}+ {...props}+ />+ )+}++function SidebarGroupLabel({+ className,+ asChild = false,+ ...props+}: React.ComponentProps<'div'> & { asChild?: boolean }) {+ const Comp = asChild ? Slot : 'div'++ return (+ <Comp+ data-slot="sidebar-group-label"+ data-sidebar="group-label"+ className={cn(+ 'text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',+ 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',+ className,+ )}+ {...props}+ />+ )+}++function SidebarGroupAction({+ className,+ asChild = false,+ ...props+}: React.ComponentProps<'button'> & { asChild?: boolean }) {+ const Comp = asChild ? Slot : 'button'++ return (+ <Comp+ data-slot="sidebar-group-action"+ data-sidebar="group-action"+ className={cn(+ 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',+ // Increases the hit area of the button on mobile.+ 'after:absolute after:-inset-2 md:after:hidden',+ 'group-data-[collapsible=icon]:hidden',+ className,+ )}+ {...props}+ />+ )+}++function SidebarGroupContent({+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-group-content"+ data-sidebar="group-content"+ className={cn('w-full text-sm', className)}+ {...props}+ />+ )+}++function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'>) {+ return (+ <ul+ data-slot="sidebar-menu"+ data-sidebar="menu"+ className={cn('flex w-full min-w-0 flex-col gap-1', className)}+ {...props}+ />+ )+}++function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>) {+ return (+ <li+ data-slot="sidebar-menu-item"+ data-sidebar="menu-item"+ className={cn('group/menu-item relative', className)}+ {...props}+ />+ )+}++const sidebarMenuButtonVariants = cva(+ 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',+ {+ variants: {+ variant: {+ default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',+ outline:+ 'bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',+ },+ size: {+ default: 'h-8 text-sm',+ sm: 'h-7 text-xs',+ lg: 'h-12 text-sm group-data-[collapsible=icon]:p-0!',+ },+ },+ defaultVariants: {+ variant: 'default',+ size: 'default',+ },+ },+)++function SidebarMenuButton({+ asChild = false,+ isActive = false,+ variant = 'default',+ size = 'default',+ tooltip,+ className,+ ...props+}: React.ComponentProps<'button'> & {+ asChild?: boolean+ isActive?: boolean+ tooltip?: string | React.ComponentProps<typeof TooltipContent>+} & VariantProps<typeof sidebarMenuButtonVariants>) {+ const Comp = asChild ? Slot : 'button'+ const { isMobile, state } = useSidebar()++ const button = (+ <Comp+ data-slot="sidebar-menu-button"+ data-sidebar="menu-button"+ data-size={size}+ data-active={isActive}+ className={cn(sidebarMenuButtonVariants({ variant, size }), className)}+ {...props}+ />+ )++ if (!tooltip) {+ return button+ }++ if (typeof tooltip === 'string') {+ tooltip = {+ children: tooltip,+ }+ }++ return (+ <Tooltip>+ <TooltipTrigger asChild>{button}</TooltipTrigger>+ <TooltipContent+ side="right"+ align="center"+ hidden={state !== 'collapsed' || isMobile}+ {...tooltip}+ />+ </Tooltip>+ )+}++function SidebarMenuAction({+ className,+ asChild = false,+ showOnHover = false,+ ...props+}: React.ComponentProps<'button'> & {+ asChild?: boolean+ showOnHover?: boolean+}) {+ const Comp = asChild ? Slot : 'button'++ return (+ <Comp+ data-slot="sidebar-menu-action"+ data-sidebar="menu-action"+ className={cn(+ 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',+ // Increases the hit area of the button on mobile.+ 'after:absolute after:-inset-2 md:after:hidden',+ 'peer-data-[size=sm]/menu-button:top-1',+ 'peer-data-[size=default]/menu-button:top-1.5',+ 'peer-data-[size=lg]/menu-button:top-2.5',+ 'group-data-[collapsible=icon]:hidden',+ showOnHover &&+ 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0',+ className,+ )}+ {...props}+ />+ )+}++function SidebarMenuBadge({+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="sidebar-menu-badge"+ data-sidebar="menu-badge"+ className={cn(+ 'text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none',+ 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',+ 'peer-data-[size=sm]/menu-button:top-1',+ 'peer-data-[size=default]/menu-button:top-1.5',+ 'peer-data-[size=lg]/menu-button:top-2.5',+ 'group-data-[collapsible=icon]:hidden',+ className,+ )}+ {...props}+ />+ )+}++function SidebarMenuSkeleton({+ className,+ showIcon = false,+ ...props+}: React.ComponentProps<'div'> & {+ showIcon?: boolean+}) {+ // Random width between 50 to 90%.+ const width = React.useMemo(() => {+ return `${Math.floor(Math.random() * 40) + 50}%`+ }, [])++ return (+ <div+ data-slot="sidebar-menu-skeleton"+ data-sidebar="menu-skeleton"+ className={cn('flex h-8 items-center gap-2 rounded-md px-2', className)}+ {...props}+ >+ {showIcon && (+ <Skeleton+ className="size-4 rounded-md"+ data-sidebar="menu-skeleton-icon"+ />+ )}+ <Skeleton+ className="h-4 max-w-(--skeleton-width) flex-1"+ data-sidebar="menu-skeleton-text"+ style={+ {+ '--skeleton-width': width,+ } as React.CSSProperties+ }+ />+ </div>+ )+}++function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'>) {+ return (+ <ul+ data-slot="sidebar-menu-sub"+ data-sidebar="menu-sub"+ className={cn(+ 'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5',+ 'group-data-[collapsible=icon]:hidden',+ className,+ )}+ {...props}+ />+ )+}++function SidebarMenuSubItem({+ className,+ ...props+}: React.ComponentProps<'li'>) {+ return (+ <li+ data-slot="sidebar-menu-sub-item"+ data-sidebar="menu-sub-item"+ className={cn('group/menu-sub-item relative', className)}+ {...props}+ />+ )+}++function SidebarMenuSubButton({+ asChild = false,+ size = 'md',+ isActive = false,+ className,+ ...props+}: React.ComponentProps<'a'> & {+ asChild?: boolean+ size?: 'sm' | 'md'+ isActive?: boolean+}) {+ const Comp = asChild ? Slot : 'a'++ return (+ <Comp+ data-slot="sidebar-menu-sub-button"+ data-sidebar="menu-sub-button"+ data-size={size}+ data-active={isActive}+ className={cn(+ 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',+ 'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground',+ size === 'sm' && 'text-xs',+ size === 'md' && 'text-sm',+ 'group-data-[collapsible=icon]:hidden',+ className,+ )}+ {...props}+ />+ )+}++export {+ Sidebar,+ SidebarContent,+ SidebarFooter,+ SidebarGroup,+ SidebarGroupAction,+ SidebarGroupContent,+ SidebarGroupLabel,+ SidebarHeader,+ SidebarInput,+ SidebarInset,+ SidebarMenu,+ SidebarMenuAction,+ SidebarMenuBadge,+ SidebarMenuButton,+ SidebarMenuItem,+ SidebarMenuSkeleton,+ SidebarMenuSub,+ SidebarMenuSubButton,+ SidebarMenuSubItem,+ SidebarProvider,+ SidebarRail,+ SidebarSeparator,+ SidebarTrigger,+ useSidebar,+}diff --git a/examples/wine-recommender/app/components/ui/skeleton.tsx b/examples/wine-recommender/app/components/ui/skeleton.tsxnew file mode 100644index 000000000..e3beb9024--- /dev/null+++ b/examples/wine-recommender/app/components/ui/skeleton.tsx@@ -0,0 +1,13 @@+import { cn } from '@/lib/utils'++function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="skeleton"+ className={cn('bg-accent animate-pulse rounded-md', className)}+ {...props}+ />+ )+}++export { Skeleton }diff --git a/examples/wine-recommender/app/components/ui/slider.tsx b/examples/wine-recommender/app/components/ui/slider.tsxnew file mode 100644index 000000000..773e0647a--- /dev/null+++ b/examples/wine-recommender/app/components/ui/slider.tsx@@ -0,0 +1,63 @@+'use client'++import * as React from 'react'+import * as SliderPrimitive from '@radix-ui/react-slider'++import { cn } from '@/lib/utils'++function Slider({+ className,+ defaultValue,+ value,+ min = 0,+ max = 100,+ ...props+}: React.ComponentProps<typeof SliderPrimitive.Root>) {+ const _values = React.useMemo(+ () =>+ Array.isArray(value)+ ? value+ : Array.isArray(defaultValue)+ ? defaultValue+ : [min, max],+ [value, defaultValue, min, max],+ )++ return (+ <SliderPrimitive.Root+ data-slot="slider"+ defaultValue={defaultValue}+ value={value}+ min={min}+ max={max}+ className={cn(+ 'relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',+ className,+ )}+ {...props}+ >+ <SliderPrimitive.Track+ data-slot="slider-track"+ className={+ 'bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5'+ }+ >+ <SliderPrimitive.Range+ data-slot="slider-range"+ className={+ 'bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full'+ }+ />+ </SliderPrimitive.Track>+ {Array.from({ length: _values.length }, (_, index) => (+ <SliderPrimitive.Thumb+ data-slot="slider-thumb"+ key={index}+ className="border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"+ />+ ))}+ </SliderPrimitive.Root>+ )+}++export { Slider }diff --git a/examples/wine-recommender/app/components/ui/sonner.tsx b/examples/wine-recommender/app/components/ui/sonner.tsxnew file mode 100644index 000000000..0626cafa8--- /dev/null+++ b/examples/wine-recommender/app/components/ui/sonner.tsx@@ -0,0 +1,25 @@+'use client'++import { useTheme } from 'next-themes'+import { Toaster as Sonner, ToasterProps } from 'sonner'++const Toaster = ({ ...props }: ToasterProps) => {+ const { theme = 'system' } = useTheme()++ return (+ <Sonner+ theme={theme as ToasterProps['theme']}+ className="toaster group"+ style={+ {+ '--normal-bg': 'var(--popover)',+ '--normal-text': 'var(--popover-foreground)',+ '--normal-border': 'var(--border)',+ } as React.CSSProperties+ }+ {...props}+ />+ )+}++export { Toaster }diff --git a/examples/wine-recommender/app/components/ui/spinner.tsx b/examples/wine-recommender/app/components/ui/spinner.tsxnew file mode 100644index 000000000..e51fc6df5--- /dev/null+++ b/examples/wine-recommender/app/components/ui/spinner.tsx@@ -0,0 +1,16 @@+import { Loader2Icon } from 'lucide-react'++import { cn } from '@/lib/utils'++function Spinner({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <Loader2Icon+ role="status"+ aria-label="Loading"+ className={cn('size-4 animate-spin', className)}+ {...props}+ />+ )+}++export { Spinner }diff --git a/examples/wine-recommender/app/components/ui/switch.tsx b/examples/wine-recommender/app/components/ui/switch.tsxnew file mode 100644index 000000000..3c4cfa325--- /dev/null+++ b/examples/wine-recommender/app/components/ui/switch.tsx@@ -0,0 +1,31 @@+'use client'++import * as React from 'react'+import * as SwitchPrimitive from '@radix-ui/react-switch'++import { cn } from '@/lib/utils'++function Switch({+ className,+ ...props+}: React.ComponentProps<typeof SwitchPrimitive.Root>) {+ return (+ <SwitchPrimitive.Root+ data-slot="switch"+ className={cn(+ 'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',+ className,+ )}+ {...props}+ >+ <SwitchPrimitive.Thumb+ data-slot="switch-thumb"+ className={+ 'bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0'+ }+ />+ </SwitchPrimitive.Root>+ )+}++export { Switch }diff --git a/examples/wine-recommender/app/components/ui/table.tsx b/examples/wine-recommender/app/components/ui/table.tsxnew file mode 100644index 000000000..fcdd10ccb--- /dev/null+++ b/examples/wine-recommender/app/components/ui/table.tsx@@ -0,0 +1,116 @@+'use client'++import * as React from 'react'++import { cn } from '@/lib/utils'++function Table({ className, ...props }: React.ComponentProps<'table'>) {+ return (+ <div+ data-slot="table-container"+ className="relative w-full overflow-x-auto"+ >+ <table+ data-slot="table"+ className={cn('w-full caption-bottom text-sm', className)}+ {...props}+ />+ </div>+ )+}++function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {+ return (+ <thead+ data-slot="table-header"+ className={cn('[&_tr]:border-b', className)}+ {...props}+ />+ )+}++function TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {+ return (+ <tbody+ data-slot="table-body"+ className={cn('[&_tr:last-child]:border-0', className)}+ {...props}+ />+ )+}++function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {+ return (+ <tfoot+ data-slot="table-footer"+ className={cn(+ 'bg-muted/50 border-t font-medium [&>tr]:last:border-b-0',+ className,+ )}+ {...props}+ />+ )+}++function TableRow({ className, ...props }: React.ComponentProps<'tr'>) {+ return (+ <tr+ data-slot="table-row"+ className={cn(+ 'hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',+ className,+ )}+ {...props}+ />+ )+}++function TableHead({ className, ...props }: React.ComponentProps<'th'>) {+ return (+ <th+ data-slot="table-head"+ className={cn(+ 'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',+ className,+ )}+ {...props}+ />+ )+}++function TableCell({ className, ...props }: React.ComponentProps<'td'>) {+ return (+ <td+ data-slot="table-cell"+ className={cn(+ 'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',+ className,+ )}+ {...props}+ />+ )+}++function TableCaption({+ className,+ ...props+}: React.ComponentProps<'caption'>) {+ return (+ <caption+ data-slot="table-caption"+ className={cn('text-muted-foreground mt-4 text-sm', className)}+ {...props}+ />+ )+}++export {+ Table,+ TableHeader,+ TableBody,+ TableFooter,+ TableHead,+ TableRow,+ TableCell,+ TableCaption,+}diff --git a/examples/wine-recommender/app/components/ui/tabs.tsx b/examples/wine-recommender/app/components/ui/tabs.tsxnew file mode 100644index 000000000..ff6710401--- /dev/null+++ b/examples/wine-recommender/app/components/ui/tabs.tsx@@ -0,0 +1,66 @@+'use client'++import * as React from 'react'+import * as TabsPrimitive from '@radix-ui/react-tabs'++import { cn } from '@/lib/utils'++function Tabs({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Root>) {+ return (+ <TabsPrimitive.Root+ data-slot="tabs"+ className={cn('flex flex-col gap-2', className)}+ {...props}+ />+ )+}++function TabsList({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.List>) {+ return (+ <TabsPrimitive.List+ data-slot="tabs-list"+ className={cn(+ 'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',+ className,+ )}+ {...props}+ />+ )+}++function TabsTrigger({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {+ return (+ <TabsPrimitive.Trigger+ data-slot="tabs-trigger"+ className={cn(+ "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ className,+ )}+ {...props}+ />+ )+}++function TabsContent({+ className,+ ...props+}: React.ComponentProps<typeof TabsPrimitive.Content>) {+ return (+ <TabsPrimitive.Content+ data-slot="tabs-content"+ className={cn('flex-1 outline-none', className)}+ {...props}+ />+ )+}++export { Tabs, TabsList, TabsTrigger, TabsContent }diff --git a/examples/wine-recommender/app/components/ui/textarea.tsx b/examples/wine-recommender/app/components/ui/textarea.tsxnew file mode 100644index 000000000..3809775e8--- /dev/null+++ b/examples/wine-recommender/app/components/ui/textarea.tsx@@ -0,0 +1,18 @@+import * as React from 'react'++import { cn } from '@/lib/utils'++function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {+ return (+ <textarea+ data-slot="textarea"+ className={cn(+ 'border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',+ className,+ )}+ {...props}+ />+ )+}++export { Textarea }diff --git a/examples/wine-recommender/app/components/ui/toast.tsx b/examples/wine-recommender/app/components/ui/toast.tsxnew file mode 100644index 000000000..40eedf567--- /dev/null+++ b/examples/wine-recommender/app/components/ui/toast.tsx@@ -0,0 +1,129 @@+'use client'++import * as React from 'react'+import * as ToastPrimitives from '@radix-ui/react-toast'+import { cva, type VariantProps } from 'class-variance-authority'+import { X } from 'lucide-react'++import { cn } from '@/lib/utils'++const ToastProvider = ToastPrimitives.Provider++const ToastViewport = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Viewport>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>+>(({ className, ...props }, ref) => (+ <ToastPrimitives.Viewport+ ref={ref}+ className={cn(+ 'fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]',+ className,+ )}+ {...props}+ />+))+ToastViewport.displayName = ToastPrimitives.Viewport.displayName++const toastVariants = cva(+ 'group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full',+ {+ variants: {+ variant: {+ default: 'border bg-background text-foreground',+ destructive:+ 'destructive group border-destructive bg-destructive text-destructive-foreground',+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++const Toast = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Root>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &+ VariantProps<typeof toastVariants>+>(({ className, variant, ...props }, ref) => {+ return (+ <ToastPrimitives.Root+ ref={ref}+ className={cn(toastVariants({ variant }), className)}+ {...props}+ />+ )+})+Toast.displayName = ToastPrimitives.Root.displayName++const ToastAction = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Action>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>+>(({ className, ...props }, ref) => (+ <ToastPrimitives.Action+ ref={ref}+ className={cn(+ 'inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive',+ className,+ )}+ {...props}+ />+))+ToastAction.displayName = ToastPrimitives.Action.displayName++const ToastClose = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Close>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>+>(({ className, ...props }, ref) => (+ <ToastPrimitives.Close+ ref={ref}+ className={cn(+ 'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600',+ className,+ )}+ toast-close=""+ {...props}+ >+ <X className="h-4 w-4" />+ </ToastPrimitives.Close>+))+ToastClose.displayName = ToastPrimitives.Close.displayName++const ToastTitle = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Title>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>+>(({ className, ...props }, ref) => (+ <ToastPrimitives.Title+ ref={ref}+ className={cn('text-sm font-semibold', className)}+ {...props}+ />+))+ToastTitle.displayName = ToastPrimitives.Title.displayName++const ToastDescription = React.forwardRef<+ React.ElementRef<typeof ToastPrimitives.Description>,+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>+>(({ className, ...props }, ref) => (+ <ToastPrimitives.Description+ ref={ref}+ className={cn('text-sm opacity-90', className)}+ {...props}+ />+))+ToastDescription.displayName = ToastPrimitives.Description.displayName++type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>++type ToastActionElement = React.ReactElement<typeof ToastAction>++export {+ type ToastProps,+ type ToastActionElement,+ ToastProvider,+ ToastViewport,+ Toast,+ ToastTitle,+ ToastDescription,+ ToastClose,+ ToastAction,+}diff --git a/examples/wine-recommender/app/components/ui/toaster.tsx b/examples/wine-recommender/app/components/ui/toaster.tsxnew file mode 100644index 000000000..3b91885a3--- /dev/null+++ b/examples/wine-recommender/app/components/ui/toaster.tsx@@ -0,0 +1,35 @@+'use client'++import { useToast } from '@/hooks/use-toast'+import {+ Toast,+ ToastClose,+ ToastDescription,+ ToastProvider,+ ToastTitle,+ ToastViewport,+} from '@/components/ui/toast'++export function Toaster() {+ const { toasts } = useToast()++ return (+ <ToastProvider>+ {toasts.map(function ({ id, title, description, action, ...props }) {+ return (+ <Toast key={id} {...props}>+ <div className="grid gap-1">+ {title && <ToastTitle>{title}</ToastTitle>}+ {description && (+ <ToastDescription>{description}</ToastDescription>+ )}+ </div>+ {action}+ <ToastClose />+ </Toast>+ )+ })}+ <ToastViewport />+ </ToastProvider>+ )+}diff --git a/examples/wine-recommender/app/components/ui/toggle-group.tsx b/examples/wine-recommender/app/components/ui/toggle-group.tsxnew file mode 100644index 000000000..0ab997144--- /dev/null+++ b/examples/wine-recommender/app/components/ui/toggle-group.tsx@@ -0,0 +1,73 @@+'use client'++import * as React from 'react'+import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'+import { type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'+import { toggleVariants } from '@/components/ui/toggle'++const ToggleGroupContext = React.createContext<+ VariantProps<typeof toggleVariants>+>({+ size: 'default',+ variant: 'default',+})++function ToggleGroup({+ className,+ variant,+ size,+ children,+ ...props+}: React.ComponentProps<typeof ToggleGroupPrimitive.Root> &+ VariantProps<typeof toggleVariants>) {+ return (+ <ToggleGroupPrimitive.Root+ data-slot="toggle-group"+ data-variant={variant}+ data-size={size}+ className={cn(+ 'group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs',+ className,+ )}+ {...props}+ >+ <ToggleGroupContext.Provider value={{ variant, size }}>+ {children}+ </ToggleGroupContext.Provider>+ </ToggleGroupPrimitive.Root>+ )+}++function ToggleGroupItem({+ className,+ children,+ variant,+ size,+ ...props+}: React.ComponentProps<typeof ToggleGroupPrimitive.Item> &+ VariantProps<typeof toggleVariants>) {+ const context = React.useContext(ToggleGroupContext)++ return (+ <ToggleGroupPrimitive.Item+ data-slot="toggle-group-item"+ data-variant={context.variant || variant}+ data-size={context.size || size}+ className={cn(+ toggleVariants({+ variant: context.variant || variant,+ size: context.size || size,+ }),+ 'min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l',+ className,+ )}+ {...props}+ >+ {children}+ </ToggleGroupPrimitive.Item>+ )+}++export { ToggleGroup, ToggleGroupItem }diff --git a/examples/wine-recommender/app/components/ui/toggle.tsx b/examples/wine-recommender/app/components/ui/toggle.tsxnew file mode 100644index 000000000..ad6b2868f--- /dev/null+++ b/examples/wine-recommender/app/components/ui/toggle.tsx@@ -0,0 +1,47 @@+'use client'++import * as React from 'react'+import * as TogglePrimitive from '@radix-ui/react-toggle'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++const toggleVariants = cva(+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",+ {+ variants: {+ variant: {+ default: 'bg-transparent',+ outline:+ 'border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground',+ },+ size: {+ default: 'h-9 px-2 min-w-9',+ sm: 'h-8 px-1.5 min-w-8',+ lg: 'h-10 px-2.5 min-w-10',+ },+ },+ defaultVariants: {+ variant: 'default',+ size: 'default',+ },+ },+)++function Toggle({+ className,+ variant,+ size,+ ...props+}: React.ComponentProps<typeof TogglePrimitive.Root> &+ VariantProps<typeof toggleVariants>) {+ return (+ <TogglePrimitive.Root+ data-slot="toggle"+ className={cn(toggleVariants({ variant, size, className }))}+ {...props}+ />+ )+}++export { Toggle, toggleVariants }diff --git a/examples/wine-recommender/app/components/ui/tooltip.tsx b/examples/wine-recommender/app/components/ui/tooltip.tsxnew file mode 100644index 000000000..877239c17--- /dev/null+++ b/examples/wine-recommender/app/components/ui/tooltip.tsx@@ -0,0 +1,61 @@+'use client'++import * as React from 'react'+import * as TooltipPrimitive from '@radix-ui/react-tooltip'++import { cn } from '@/lib/utils'++function TooltipProvider({+ delayDuration = 0,+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {+ return (+ <TooltipPrimitive.Provider+ data-slot="tooltip-provider"+ delayDuration={delayDuration}+ {...props}+ />+ )+}++function Tooltip({+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Root>) {+ return (+ <TooltipProvider>+ <TooltipPrimitive.Root data-slot="tooltip" {...props} />+ </TooltipProvider>+ )+}++function TooltipTrigger({+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {+ return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />+}++function TooltipContent({+ className,+ sideOffset = 0,+ children,+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Content>) {+ return (+ <TooltipPrimitive.Portal>+ <TooltipPrimitive.Content+ data-slot="tooltip-content"+ sideOffset={sideOffset}+ className={cn(+ 'bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance',+ className,+ )}+ {...props}+ >+ {children}+ <TooltipPrimitive.Arrow className="bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />+ </TooltipPrimitive.Content>+ </TooltipPrimitive.Portal>+ )+}++export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }diff --git a/examples/wine-recommender/app/components/ui/use-mobile.tsx b/examples/wine-recommender/app/components/ui/use-mobile.tsxnew file mode 100644index 000000000..4331d5c56--- /dev/null+++ b/examples/wine-recommender/app/components/ui/use-mobile.tsx@@ -0,0 +1,19 @@+import * as React from 'react'++const MOBILE_BREAKPOINT = 768++export function useIsMobile() {+ const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)++ React.useEffect(() => {+ const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)+ const onChange = () => {+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)+ }+ mql.addEventListener('change', onChange)+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)+ return () => mql.removeEventListener('change', onChange)+ }, [])++ return !!isMobile+}diff --git a/examples/wine-recommender/app/components/ui/use-toast.ts b/examples/wine-recommender/app/components/ui/use-toast.tsnew file mode 100644index 000000000..8932bc512--- /dev/null+++ b/examples/wine-recommender/app/components/ui/use-toast.ts@@ -0,0 +1,191 @@+'use client'++// Inspired by react-hot-toast library+import * as React from 'react'++import type { ToastActionElement, ToastProps } from '@/components/ui/toast'++const TOAST_LIMIT = 1+const TOAST_REMOVE_DELAY = 1000000++type ToasterToast = ToastProps & {+ id: string+ title?: React.ReactNode+ description?: React.ReactNode+ action?: ToastActionElement+}++const actionTypes = {+ ADD_TOAST: 'ADD_TOAST',+ UPDATE_TOAST: 'UPDATE_TOAST',+ DISMISS_TOAST: 'DISMISS_TOAST',+ REMOVE_TOAST: 'REMOVE_TOAST',+} as const++let count = 0++function genId() {+ count = (count + 1) % Number.MAX_SAFE_INTEGER+ return count.toString()+}++type ActionType = typeof actionTypes++type Action =+ | {+ type: ActionType['ADD_TOAST']+ toast: ToasterToast+ }+ | {+ type: ActionType['UPDATE_TOAST']+ toast: Partial<ToasterToast>+ }+ | {+ type: ActionType['DISMISS_TOAST']+ toastId?: ToasterToast['id']+ }+ | {+ type: ActionType['REMOVE_TOAST']+ toastId?: ToasterToast['id']+ }++interface State {+ toasts: ToasterToast[]+}++const toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>()++const addToRemoveQueue = (toastId: string) => {+ if (toastTimeouts.has(toastId)) {+ return+ }++ const timeout = setTimeout(() => {+ toastTimeouts.delete(toastId)+ dispatch({+ type: 'REMOVE_TOAST',+ toastId: toastId,+ })+ }, TOAST_REMOVE_DELAY)++ toastTimeouts.set(toastId, timeout)+}++export const reducer = (state: State, action: Action): State => {+ switch (action.type) {+ case 'ADD_TOAST':+ return {+ ...state,+ toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),+ }++ case 'UPDATE_TOAST':+ return {+ ...state,+ toasts: state.toasts.map((t) =>+ t.id === action.toast.id ? { ...t, ...action.toast } : t,+ ),+ }++ case 'DISMISS_TOAST': {+ const { toastId } = action++ // ! Side effects ! - This could be extracted into a dismissToast() action,+ // but I'll keep it here for simplicity+ if (toastId) {+ addToRemoveQueue(toastId)+ } else {+ state.toasts.forEach((toast) => {+ addToRemoveQueue(toast.id)+ })+ }++ return {+ ...state,+ toasts: state.toasts.map((t) =>+ t.id === toastId || toastId === undefined+ ? {+ ...t,+ open: false,+ }+ : t,+ ),+ }+ }+ case 'REMOVE_TOAST':+ if (action.toastId === undefined) {+ return {+ ...state,+ toasts: [],+ }+ }+ return {+ ...state,+ toasts: state.toasts.filter((t) => t.id !== action.toastId),+ }+ }+}++const listeners: Array<(state: State) => void> = []++let memoryState: State = { toasts: [] }++function dispatch(action: Action) {+ memoryState = reducer(memoryState, action)+ listeners.forEach((listener) => {+ listener(memoryState)+ })+}++type Toast = Omit<ToasterToast, 'id'>++function toast({ ...props }: Toast) {+ const id = genId()++ const update = (props: ToasterToast) =>+ dispatch({+ type: 'UPDATE_TOAST',+ toast: { ...props, id },+ })+ const dismiss = () => dispatch({ type: 'DISMISS_TOAST', toastId: id })++ dispatch({+ type: 'ADD_TOAST',+ toast: {+ ...props,+ id,+ open: true,+ onOpenChange: (open) => {+ if (!open) dismiss()+ },+ },+ })++ return {+ id: id,+ dismiss,+ update,+ }+}++function useToast() {+ const [state, setState] = React.useState<State>(memoryState)++ React.useEffect(() => {+ listeners.push(setState)+ return () => {+ const index = listeners.indexOf(setState)+ if (index > -1) {+ listeners.splice(index, 1)+ }+ }+ }, [state])++ return {+ ...state,+ toast,+ dismiss: (toastId?: string) => dispatch({ type: 'DISMISS_TOAST', toastId }),+ }+}++export { useToast, toast }diff --git a/examples/wine-recommender/app/components/wine-card.tsx b/examples/wine-recommender/app/components/wine-card.tsxnew file mode 100644index 000000000..7c4dab33b--- /dev/null+++ b/examples/wine-recommender/app/components/wine-card.tsx@@ -0,0 +1,81 @@+import { type Wine } from "@/lib/wine-data"+import { MapPin, Calendar } from "lucide-react"+import { cn } from "@/lib/utils"++interface WineCardProps {+ wine: Wine+ compact?: boolean+}++export function WineCard({ wine, compact = false }: WineCardProps) {+ if (compact) {+ return (+ <div className="flex gap-4 rounded-xl border border-border bg-card p-4 transition-all hover:shadow-md">+ {/* Bottle Image Placeholder */}+ <div className="h-20 w-14 rounded-lg bg-gradient-to-b from-primary/20 to-primary/5 flex items-center justify-center shrink-0">+ <div className="h-14 w-4 rounded-full bg-primary/30" />+ </div>++ <div className="flex-1 min-w-0">+ <h4 className="font-serif text-sm font-medium text-foreground truncate">+ {wine.name}+ </h4>+ <p className="text-xs text-muted-foreground">{wine.winery}</p>+ <div className="flex items-center gap-3 mt-1 text-xs text-muted-foreground">+ <span className="flex items-center gap-1">+ <Calendar className="h-3 w-3" />+ {wine.vintage}+ </span>+ <span className="flex items-center gap-1">+ <MapPin className="h-3 w-3" />+ {wine.country}+ </span>+ </div>+ </div>+ </div>+ )+ }++ return (+ <div className={cn(+ "rounded-2xl border border-border bg-card p-6 transition-all hover:shadow-lg hover:-translate-y-0.5",+ "shadow-[0_4px_20px_-2px_rgba(114,47,55,0.08)]"+ )}>+ <div className="flex gap-5">+ {/* Bottle Image Placeholder */}+ <div className="h-32 w-20 rounded-xl bg-gradient-to-b from-primary/20 via-primary/10 to-primary/5 flex items-center justify-center shrink-0">+ <div className="h-24 w-6 rounded-full bg-gradient-to-b from-primary/40 to-primary/20" />+ </div>++ <div className="flex-1 space-y-3">+ <div>+ <h3 className="font-serif text-lg font-semibold text-foreground">+ {wine.name}+ </h3>+ <p className="text-sm text-muted-foreground">{wine.winery}</p>+ </div>++ <div className="flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-muted-foreground">+ <span className="flex items-center gap-1.5">+ <Calendar className="h-4 w-4" />+ {wine.vintage}+ </span>+ <span className="flex items-center gap-1.5">+ <MapPin className="h-4 w-4" />+ {wine.region}+ </span>+ </div>++ <div className="flex items-center justify-between pt-2 border-t border-border">+ <span className="text-xs px-2.5 py-1 rounded-full bg-accent/10 text-accent font-medium">+ {wine.style}+ </span>+ <span className="font-serif text-lg font-semibold text-foreground">+ ${wine.price}+ </span>+ </div>+ </div>+ </div>+ </div>+ )+}diff --git a/examples/wine-recommender/app/components/wine-glass-visual.tsx b/examples/wine-recommender/app/components/wine-glass-visual.tsxnew file mode 100644index 000000000..99c7d3644--- /dev/null+++ b/examples/wine-recommender/app/components/wine-glass-visual.tsx@@ -0,0 +1,278 @@+"use client"++import { useMemo } from "react"+import { cn } from "@/lib/utils"+import type { WineStructure } from "@/lib/wine-data"++interface WineGlassVisualProps {+ structure: WineStructure+ className?: string+}++// Linear interpolation helper+function lerp(a: number, b: number, t: number): number {+ return a + (b - a) * t+}++export function WineGlassVisual({ structure, className }: WineGlassVisualProps) {+ const { acidity, fizziness, intensity, sweetness, tannin } = structure++ // Morph factor (0 = wine glass, 1 = champagne flute)+ const morphFactor = fizziness / 100++ // Generate interpolated glass path+ const glassPath = useMemo(() => {+ // Wine glass control points+ const wineGlass = {+ topLeftX: 25,+ topRightX: 95,+ bowlLeftX: 15,+ bowlRightX: 105,+ bowlBottomY: 100,+ neckLeftX: 45,+ neckRightX: 75,+ stemTopY: 105,+ stemBottomY: 140,+ baseLeftX: 35,+ baseRightX: 85,+ baseY: 150,+ bowlCurveY: 70,+ }++ // Champagne flute control points (taller, narrower)+ const flute = {+ topLeftX: 40,+ topRightX: 80,+ bowlLeftX: 38,+ bowlRightX: 82,+ bowlBottomY: 110,+ neckLeftX: 50,+ neckRightX: 70,+ stemTopY: 115,+ stemBottomY: 150,+ baseLeftX: 40,+ baseRightX: 80,+ baseY: 160,+ bowlCurveY: 60,+ }++ // Interpolate all values+ const topLeftX = lerp(wineGlass.topLeftX, flute.topLeftX, morphFactor)+ const topRightX = lerp(wineGlass.topRightX, flute.topRightX, morphFactor)+ const bowlLeftX = lerp(wineGlass.bowlLeftX, flute.bowlLeftX, morphFactor)+ const bowlRightX = lerp(wineGlass.bowlRightX, flute.bowlRightX, morphFactor)+ const bowlBottomY = lerp(wineGlass.bowlBottomY, flute.bowlBottomY, morphFactor)+ const neckLeftX = lerp(wineGlass.neckLeftX, flute.neckLeftX, morphFactor)+ const neckRightX = lerp(wineGlass.neckRightX, flute.neckRightX, morphFactor)+ const stemTopY = lerp(wineGlass.stemTopY, flute.stemTopY, morphFactor)+ const stemBottomY = lerp(wineGlass.stemBottomY, flute.stemBottomY, morphFactor)+ const baseLeftX = lerp(wineGlass.baseLeftX, flute.baseLeftX, morphFactor)+ const baseRightX = lerp(wineGlass.baseRightX, flute.baseRightX, morphFactor)+ const baseY = lerp(wineGlass.baseY, flute.baseY, morphFactor)+ const bowlCurveY = lerp(wineGlass.bowlCurveY, flute.bowlCurveY, morphFactor)++ return {+ path: `M${topLeftX} 20 Q${bowlLeftX} ${bowlCurveY} ${neckLeftX} ${bowlBottomY} L${neckLeftX} ${stemTopY} L${neckLeftX} ${stemBottomY} L${baseLeftX} ${baseY - 5} L${baseLeftX} ${baseY} L${baseRightX} ${baseY} L${baseRightX} ${baseY - 5} L${neckRightX} ${stemBottomY} L${neckRightX} ${stemTopY} L${neckRightX} ${bowlBottomY} Q${bowlRightX} ${bowlCurveY} ${topRightX} 20 Z`,+ clipPath: `M${topLeftX} 20 Q${bowlLeftX} ${bowlCurveY} ${neckLeftX} ${bowlBottomY} L${neckLeftX} ${stemTopY} L${neckLeftX} ${stemBottomY} L${baseLeftX} ${baseY - 5} L${baseLeftX} ${baseY} L${baseRightX} ${baseY} L${baseRightX} ${baseY - 5} L${neckRightX} ${stemBottomY} L${neckRightX} ${stemTopY} L${neckRightX} ${bowlBottomY} Q${bowlRightX} ${bowlCurveY} ${topRightX} 20 Z`,+ fillTop: bowlBottomY,+ rimWidth: (topRightX - topLeftX) / 2,+ centerX: (topLeftX + topRightX) / 2,+ baseY,+ }+ }, [morphFactor])++ // Wine color based on intensity and tannin+ const getWineColor = () => {+ const darkness = (intensity + tannin) / 2+ if (fizziness > 50) {+ // Sparkling - golden tones+ return `hsl(45, ${60 + sweetness * 0.3}%, ${85 - darkness * 0.3}%)`+ }+ if (darkness > 70) {+ return `hsl(${350 - tannin * 0.1}, ${70 + intensity * 0.2}%, ${25 + (100 - darkness) * 0.15}%)`+ }+ if (darkness > 40) {+ return `hsl(${355 - tannin * 0.05}, ${65 + intensity * 0.2}%, ${35 + (100 - darkness) * 0.1}%)`+ }+ return `hsl(358, ${55 + intensity * 0.3}%, ${45 + (100 - darkness) * 0.15}%)`+ }++ const fillLevel = 35 + (intensity * 0.3)++ // More bubbles with better animation for sparkling+ const bubbles = useMemo(() => {+ const count = Math.floor(fizziness / 8)+ return Array.from({ length: count }, (_, i) => ({+ id: i,+ left: 35 + Math.random() * 30,+ delay: Math.random() * 3,+ size: 1.5 + Math.random() * 2.5,+ duration: 1.5 + Math.random() * 2,+ }))+ }, [fizziness])++ // Foam bubbles at the surface+ const foamBubbles = useMemo(() => {+ if (fizziness < 30) return []+ const count = Math.floor(fizziness / 15)+ return Array.from({ length: count }, (_, i) => ({+ id: i,+ left: 40 + (i * 5) + Math.random() * 3,+ size: 2 + Math.random() * 2,+ delay: Math.random() * 0.5,+ }))+ }, [fizziness])++ const wineColor = getWineColor()+ const rimOpacity = 0.3 + (acidity / 100) * 0.4++ // Calculate wine surface position+ const wineSurfaceY = 25 + (glassPath.fillTop - 25) * (1 - fillLevel / 100)++ return (+ <div className={cn("relative flex flex-col items-center", className)}>+ {/* Fixed height container for the SVG so tags don't affect it */}+ <div className="relative w-full flex-1 min-h-0 flex items-center justify-center">+ <svg+ viewBox="0 0 120 170"+ className="w-full h-full max-w-[180px]"+ style={{ filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.1))" }}+ >+ <defs>+ <linearGradient id="wineGradient" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" stopColor={wineColor} stopOpacity={rimOpacity} />+ <stop offset="30%" stopColor={wineColor} stopOpacity={0.9} />+ <stop offset="100%" stopColor={wineColor} stopOpacity={1} />+ </linearGradient>++ <linearGradient id="glassReflection" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stopColor="white" stopOpacity="0" />+ <stop offset="40%" stopColor="white" stopOpacity="0.12" />+ <stop offset="60%" stopColor="white" stopOpacity="0.12" />+ <stop offset="100%" stopColor="white" stopOpacity="0" />+ </linearGradient>++ <clipPath id="glassClip">+ <path d={glassPath.clipPath} />+ </clipPath>+ </defs>++ {/* Glass outline - uses transition for smooth morphing */}+ <path+ d={glassPath.path}+ fill="none"+ stroke="#E2D9CD"+ strokeWidth="1.5"+ style={{ transition: "d 0.4s ease-out" }}+ />++ {/* Wine fill area */}+ <g clipPath="url(#glassClip)">+ <rect+ x="10"+ y={wineSurfaceY}+ width="100"+ height={glassPath.baseY - wineSurfaceY + 10}+ fill="url(#wineGradient)"+ style={{ transition: "y 0.5s ease-out, height 0.5s ease-out" }}+ />++ {/* Wine surface curve */}+ <ellipse+ cx="60"+ cy={wineSurfaceY}+ rx={glassPath.rimWidth * 0.8}+ ry="3"+ fill={wineColor}+ opacity={0.5}+ style={{ transition: "cy 0.5s ease-out, rx 0.4s ease-out" }}+ />++ {/* Rising bubbles for sparkling */}+ {bubbles.map((bubble) => {+ // Start bubbles at bottom of wine, animate upward+ const startY = glassPath.fillTop - 10+ const endY = wineSurfaceY + 5+ const travelDistance = startY - endY++ return (+ <circle+ key={bubble.id}+ cx={bubble.left + 10}+ r={bubble.size}+ fill="white"+ style={{+ cy: startY,+ opacity: 0,+ animation: `bubbleRise ${bubble.duration}s ease-out infinite`,+ animationDelay: `${bubble.delay}s`,+ // Use custom property for dynamic travel distance+ ['--travel' as string]: `-${travelDistance}px`,+ }}+ />+ )+ })}++ {/* Foam bubbles at surface */}+ {foamBubbles.map((bubble) => (+ <circle+ key={`foam-${bubble.id}`}+ cx={bubble.left}+ cy={wineSurfaceY + 2}+ r={bubble.size}+ fill="white"+ opacity="0.5"+ style={{+ animation: `fizz-wobble 1s ease-in-out infinite`,+ animationDelay: `${bubble.delay}s`,+ transition: "cy 0.5s ease-out",+ }}+ />+ ))}+ </g>++ {/* Glass reflection overlay */}+ <path+ d={glassPath.path}+ fill="url(#glassReflection)"+ opacity="0.5"+ className="pointer-events-none"+ style={{ transition: "d 0.4s ease-out" }}+ />++ {/* Rim highlight */}+ <ellipse+ cx="60"+ cy="20"+ rx={glassPath.rimWidth}+ ry="3"+ fill="none"+ stroke="#E2D9CD"+ strokeWidth="1"+ opacity="0.5"+ style={{ transition: "rx 0.4s ease-out" }}+ />+ </svg>+ </div>++ {/* Structure indicators - fixed at bottom, don't affect glass size */}+ <div className="h-8 flex flex-wrap justify-center items-center gap-1.5 text-xs shrink-0">+ {intensity > 60 && (+ <span className="px-2 py-0.5 rounded-full bg-primary/10 text-primary transition-all">Bold</span>+ )}+ {tannin > 60 && (+ <span className="px-2 py-0.5 rounded-full bg-primary/10 text-primary transition-all">Tannic</span>+ )}+ {acidity > 70 && (+ <span className="px-2 py-0.5 rounded-full bg-accent/10 text-accent transition-all">Crisp</span>+ )}+ {sweetness > 30 && (+ <span className="px-2 py-0.5 rounded-full bg-secondary/30 text-secondary-foreground transition-all">Sweet</span>+ )}+ {fizziness > 50 && (+ <span className="px-2 py-0.5 rounded-full bg-secondary/30 text-secondary-foreground transition-all">Sparkling</span>+ )}+ </div>+ </div>+ )+}diff --git a/examples/wine-recommender/app/components/wine-recommender.tsx b/examples/wine-recommender/app/components/wine-recommender.tsxnew file mode 100644index 000000000..ce11d252d--- /dev/null+++ b/examples/wine-recommender/app/components/wine-recommender.tsx@@ -0,0 +1,730 @@+"use client"++import { useEffect, useRef, useState } from "react"+import { detectWineFromImage, fetchCatalog, fetchRecommendations } from "@/lib/api"+import { type FlavorCategory, type RecommendedWine, type Wine, type WineStructure } from "@/lib/wine-data"+import { WineResultCard } from "./wine-result-card"+import { WineGlassVisual } from "./wine-glass-visual"+import { Button } from "@/components/ui/button"+import { Input } from "@/components/ui/input"+import {+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+ SelectValue,+} from "@/components/ui/select"+import {+ Wine as WineIcon,+ Search,+ ArrowLeft,+ SlidersHorizontal,+ X,+ RotateCcw,+ Camera,+ Upload,+} from "lucide-react"+import { cn } from "@/lib/utils"++type View = "profile" | "results"++const defaultStructure: WineStructure = {+ acidity: 50,+ fizziness: 0,+ intensity: 50,+ sweetness: 10,+ tannin: 50,+}++const structureLabels = {+ acidity: { label: "Acidity", low: "Soft", high: "Crisp" },+ fizziness: { label: "Fizziness", low: "Still", high: "Sparkling" },+ intensity: { label: "Intensity", low: "Light", high: "Bold" },+ sweetness: { label: "Sweetness", low: "Dry", high: "Sweet" },+ tannin: { label: "Tannin", low: "Smooth", high: "Grippy" },+}++export function WineRecommender() {+ const [view, setView] = useState<View>("profile")+ const [structure, setStructure] = useState<WineStructure>(defaultStructure)+ const [selectedFlavors, setSelectedFlavors] = useState<string[]>([])+ const [selectedReferenceWine, setSelectedReferenceWine] = useState<string>("")+ const [wineSearchQuery, setWineSearchQuery] = useState("")+ const [wineSearchFocused, setWineSearchFocused] = useState(false)+ const [priceRange, setPriceRange] = useState<[number, number]>([0, 1000])+ const [sortBy, setSortBy] = useState<string>("match")+ const [selectedCountry, setSelectedCountry] = useState<string>("all")+ const [selectedStyle, setSelectedStyle] = useState<string>("all")+ const [catalogWines, setCatalogWines] = useState<Wine[]>([])+ const [flavorTags, setFlavorTags] = useState<FlavorCategory[]>([])+ const [recommendedWines, setRecommendedWines] = useState<RecommendedWine[]>([])+ const [isCatalogLoading, setIsCatalogLoading] = useState(true)+ const [isRecommendationsLoading, setIsRecommendationsLoading] = useState(false)+ const [isDetectingWine, setIsDetectingWine] = useState(false)+ const [detectedWine, setDetectedWine] = useState<Wine | null>(null)+ const [detectionMatchScore, setDetectionMatchScore] = useState<number | null>(null)+ const [errorMessage, setErrorMessage] = useState<string>("")+ const cameraInputRef = useRef<HTMLInputElement | null>(null)+ const photoLibraryInputRef = useRef<HTMLInputElement | null>(null)++ useEffect(() => {+ let mounted = true++ async function loadCatalog() {+ try {+ setIsCatalogLoading(true)+ setErrorMessage("")+ const catalog = await fetchCatalog()+ if (!mounted) return+ setCatalogWines(catalog.wines)+ setFlavorTags(catalog.flavorTags)+ } catch (error) {+ if (!mounted) return+ setErrorMessage(error instanceof Error ? error.message : "Failed to load wines from the API.")+ } finally {+ if (mounted) {+ setIsCatalogLoading(false)+ }+ }+ }++ loadCatalog()+ return () => {+ mounted = false+ }+ }, [])++ const catalogReferenceWine = catalogWines.find((wine) => wine.id === selectedReferenceWine)+ const referenceWine = catalogReferenceWine ?? (detectedWine?.id === selectedReferenceWine ? detectedWine : undefined)++ const filteredWineResults = wineSearchQuery.trim()+ ? catalogWines+ .filter((wine) =>+ `${wine.name} ${wine.winery} ${wine.region ?? ""}`+ .toLowerCase()+ .includes(wineSearchQuery.toLowerCase())+ )+ .slice(0, 8)+ : []++ const handleSelectWineFromSearch = (wineId: string) => {+ setSelectedReferenceWine(wineId)+ setDetectedWine(catalogWines.find((wine) => wine.id === wineId) ?? null)+ setDetectionMatchScore(null)+ setWineSearchQuery("")+ setWineSearchFocused(false)+ }++ useEffect(() => {+ if (!referenceWine) return++ setStructure(referenceWine.structure)+ setSelectedFlavors((prev) => [...new Set([...prev, ...referenceWine.flavors.slice(0, 4)])])+ }, [referenceWine])++ const getAllFlavors = () => {+ return flavorTags.flatMap((category) => category.flavors)+ }++ const handleStructureChange = (key: keyof WineStructure, value: number) => {+ setStructure((prev) => ({ ...prev, [key]: value }))+ }++ const handleResetStructure = () => {+ setStructure(defaultStructure)+ setSelectedReferenceWine("")+ setDetectedWine(null)+ setDetectionMatchScore(null)+ }++ const handleFlavorToggle = (flavor: string) => {+ setSelectedFlavors((prev) =>+ prev.includes(flavor)+ ? prev.filter((item) => item !== flavor)+ : [...prev, flavor]+ )+ }++ const handleFindWines = async () => {+ try {+ setIsRecommendationsLoading(true)+ setErrorMessage("")++ const flavorWeights = Object.fromEntries(selectedFlavors.map((flavor) => [flavor, 1.0]))+ const referenceRowIndices = referenceWine ? [referenceWine.row_index] : []+ const normalizedStructure = {+ acidity: structure.acidity / 100,+ fizziness: structure.fizziness / 100,+ intensity: structure.intensity / 100,+ sweetness: structure.sweetness / 100,+ tannin: structure.tannin / 100,+ }+ const response = await fetchRecommendations({+ structure: normalizedStructure,+ flavors: flavorWeights,+ reference_row_indices: referenceRowIndices,+ top_k: 12,+ })++ setRecommendedWines(response.results)+ setView("results")+ } catch (error) {+ setErrorMessage(error instanceof Error ? error.message : "Failed to load recommendations.")+ } finally {+ setIsRecommendationsLoading(false)+ }+ }++ const handlePickCameraImage = () => {+ cameraInputRef.current?.click()+ }++ const handlePickPhotoLibraryImage = () => {+ photoLibraryInputRef.current?.click()+ }++ const handleImageSelection = async (event: React.ChangeEvent<HTMLInputElement>) => {+ const file = event.target.files?.[0]+ event.target.value = ""+ if (!file) return++ try {+ setIsDetectingWine(true)+ setErrorMessage("")+ setDetectedWine(null)+ setSelectedReferenceWine("")+ setDetectionMatchScore(null)++ const response = await detectWineFromImage(file)+ const detected = response.detected_wine+ setDetectionMatchScore(response.match_score)++ if (!detected) {+ setErrorMessage("Could not detect wine from image. Try a clearer label photo or pick the wine manually.")+ return+ }++ setDetectedWine(detected)+ setSelectedReferenceWine(detected.id)+ } catch (error) {+ setErrorMessage(error instanceof Error ? error.message : "Failed to detect wine from image.")+ } finally {+ setIsDetectingWine(false)+ }+ }++ const filteredResults = recommendedWines+ .filter((wine) => {+ const winePrice = wine.price ?? 0+ if (winePrice < priceRange[0] || winePrice > priceRange[1]) return false+ if (selectedCountry !== "all" && wine.country !== selectedCountry) return false+ if (selectedStyle !== "all" && wine.style !== selectedStyle) return false+ return true+ })+ .sort((a, b) => {+ if (sortBy === "match") return b.matchPercentage - a.matchPercentage+ if (sortBy === "price-low") return (a.price ?? 0) - (b.price ?? 0)+ if (sortBy === "price-high") return (b.price ?? 0) - (a.price ?? 0)+ if (sortBy === "vintage") return Number(b.vintage ?? 0) - Number(a.vintage ?? 0)+ return 0+ })++ const countries = [...new Set(recommendedWines.map((wine) => wine.country).filter(Boolean))]+ const styles = [...new Set(recommendedWines.map((wine) => wine.style).filter(Boolean))]+ const hasProfile = selectedFlavors.length > 0 || JSON.stringify(structure) !== JSON.stringify(defaultStructure)++ if (view === "results") {+ return (+ <div className="min-h-screen bg-background">+ <header className="sticky top-0 z-10 bg-background/95 backdrop-blur-sm border-b border-border">+ <div className="max-w-6xl mx-auto px-6 py-4">+ <div className="flex items-center justify-between">+ <button+ onClick={() => setView("profile")}+ className="flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors"+ >+ <ArrowLeft className="h-4 w-4" />+ Edit Profile+ </button>++ <h1 className="font-serif text-xl font-semibold text-foreground">+ Your Recommendations+ </h1>++ <div className="w-24" />+ </div>+ </div>+ </header>++ <div className="border-b border-border bg-card/50">+ <div className="max-w-6xl mx-auto px-6 py-4">+ <div className="flex flex-wrap items-center gap-4">+ <div className="flex items-center gap-2 text-sm text-muted-foreground">+ <SlidersHorizontal className="h-4 w-4" />+ <span>Filters</span>+ </div>++ <div className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground">Price</span>+ <Select value={`${priceRange[0]}-${priceRange[1]}`} onValueChange={(value) => {+ const [min, max] = value.split("-").map(Number)+ setPriceRange([min, max])+ }}>+ <SelectTrigger className="h-8 w-32 text-xs">+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="0-1000">All Prices</SelectItem>+ <SelectItem value="0-100">Under $100</SelectItem>+ <SelectItem value="100-200">$100 - $200</SelectItem>+ <SelectItem value="200-500">$200 - $500</SelectItem>+ <SelectItem value="500-1000">$500+</SelectItem>+ </SelectContent>+ </Select>+ </div>++ <div className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground">Country</span>+ <Select value={selectedCountry} onValueChange={setSelectedCountry}>+ <SelectTrigger className="h-8 w-28 text-xs">+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="all">All</SelectItem>+ {countries.map((country) => (+ <SelectItem key={country} value={country ?? ""}>{country}</SelectItem>+ ))}+ </SelectContent>+ </Select>+ </div>++ <div className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground">Style</span>+ <Select value={selectedStyle} onValueChange={setSelectedStyle}>+ <SelectTrigger className="h-8 w-36 text-xs">+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="all">All Styles</SelectItem>+ {styles.map((style) => (+ <SelectItem key={style} value={style}>{style}</SelectItem>+ ))}+ </SelectContent>+ </Select>+ </div>++ <div className="flex-1" />++ <div className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground">Sort by</span>+ <Select value={sortBy} onValueChange={setSortBy}>+ <SelectTrigger className="h-8 w-36 text-xs">+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="match">Best Match</SelectItem>+ <SelectItem value="price-low">Price: Low to High</SelectItem>+ <SelectItem value="price-high">Price: High to Low</SelectItem>+ <SelectItem value="vintage">Vintage</SelectItem>+ </SelectContent>+ </Select>+ </div>+ </div>+ </div>+ </div>++ <div className="border-b border-border bg-muted/30">+ <div className="max-w-6xl mx-auto px-6 py-3">+ <div className="flex flex-wrap items-center gap-3 text-sm">+ <span className="text-muted-foreground">Based on:</span>+ {referenceWine && (+ <span className="inline-flex items-center gap-1.5 rounded-full bg-primary/10 px-3 py-1 text-primary">+ <WineIcon className="h-3 w-3" />+ {referenceWine.name}+ </span>+ )}+ {selectedFlavors.slice(0, 4).map((flavor) => (+ <span+ key={flavor}+ className="inline-flex items-center rounded-full bg-accent/10 px-3 py-1 text-accent text-xs"+ >+ {flavor}+ </span>+ ))}+ {selectedFlavors.length > 4 && (+ <span className="text-xs text-muted-foreground">+ +{selectedFlavors.length - 4} more+ </span>+ )}+ </div>+ </div>+ </div>++ <main className="max-w-6xl mx-auto px-6 py-8">+ {errorMessage && (+ <div className="mb-6 rounded-xl border border-destructive/20 bg-destructive/5 px-4 py-3 text-sm text-destructive">+ {errorMessage}+ </div>+ )}++ <p className="text-sm text-muted-foreground mb-6">+ {filteredResults.length} wines found+ </p>++ {filteredResults.length > 0 ? (+ <div className="grid grid-cols-1 xl:grid-cols-2 gap-6">+ {filteredResults.map((wine, index) => (+ <WineResultCard+ key={wine.id}+ wine={wine}+ rank={index + 1}+ userStructure={structure}+ userFlavors={selectedFlavors}+ />+ ))}+ </div>+ ) : (+ <div className="text-center py-16">+ <p className="text-muted-foreground">No wines match your filters.</p>+ <Button+ variant="outline"+ className="mt-4"+ onClick={() => {+ setPriceRange([0, 1000])+ setSelectedCountry("all")+ setSelectedStyle("all")+ }}+ >+ Clear Filters+ </Button>+ </div>+ )}+ </main>+ </div>+ )+ }++ return (+ <div className="min-h-screen bg-background">+ <header className="border-b border-border">+ <div className="max-w-5xl mx-auto px-6 py-6 text-center">+ <h1 className="font-serif text-2xl font-semibold text-foreground">+ Build Your Wine+ </h1>+ <p className="mt-1 text-sm text-muted-foreground">+ Adjust the sliders to craft your ideal profile+ </p>+ </div>+ </header>++ <main className="max-w-6xl mx-auto px-6 py-8">+ {errorMessage && (+ <div className="mb-6 rounded-xl border border-destructive/20 bg-destructive/5 px-4 py-3 text-sm text-destructive">+ {errorMessage}+ </div>+ )}++ <div className="grid lg:grid-cols-[340px,minmax(0,1fr)] gap-8 items-start">+ <div className="lg:sticky lg:top-8 lg:self-start space-y-6">+ <div className="rounded-2xl border border-border bg-card p-6">+ <h3 className="text-sm font-medium text-foreground text-center mb-2">+ Your Wine+ </h3>++ <WineGlassVisual structure={structure} className="h-[260px]" />++ <div className="mt-4 pt-4 border-t border-border space-y-2">+ <div className="flex justify-between text-xs">+ <span className="text-muted-foreground">Body</span>+ <span className="text-foreground">+ {structure.intensity > 70 ? "Full" : structure.intensity > 40 ? "Medium" : "Light"}+ </span>+ </div>+ <div className="flex justify-between text-xs">+ <span className="text-muted-foreground">Style</span>+ <span className="text-foreground">+ {structure.fizziness > 50 ? "Sparkling" : structure.sweetness > 30 ? "Off-dry" : "Dry"}+ </span>+ </div>+ <div className="flex justify-between text-xs">+ <span className="text-muted-foreground">Character</span>+ <span className="text-foreground">+ {structure.tannin > 60 ? "Structured" : structure.acidity > 60 ? "Fresh" : "Smooth"}+ </span>+ </div>+ </div>+ </div>++ <Button+ onClick={handleFindWines}+ disabled={!hasProfile || isRecommendationsLoading || isCatalogLoading}+ className="w-full h-12"+ size="lg"+ >+ <Search className="mr-2 h-4 w-4" />+ {isRecommendationsLoading ? "Finding wines..." : "Find Wines"}+ </Button>+ </div>++ <div className="space-y-6 min-w-0">+ <div className="rounded-2xl border border-border bg-card p-5">+ <div className="flex items-center justify-between mb-4">+ <h3 className="text-sm font-medium text-foreground">+ Start from a wine you love+ </h3>+ {selectedReferenceWine && (+ <button+ onClick={() => {+ setSelectedReferenceWine("")+ setDetectedWine(null)+ setDetectionConfidence(null)+ }}+ className="text-xs text-muted-foreground hover:text-foreground"+ >+ Clear+ </button>+ )}+ </div>++ <input+ ref={cameraInputRef}+ type="file"+ accept="image/*"+ capture="environment"+ className="hidden"+ onChange={handleImageSelection}+ />++ <input+ ref={photoLibraryInputRef}+ type="file"+ accept="image/*"+ className="hidden"+ onChange={handleImageSelection}+ />++ <div className="mb-4 grid gap-3 sm:grid-cols-2">+ <button+ onClick={handlePickCameraImage}+ disabled={isCatalogLoading || isDetectingWine}+ className="flex w-full items-center justify-center gap-2 rounded-xl border border-dashed border-primary/30 bg-primary/5 px-4 py-3 text-sm text-foreground transition-colors hover:bg-primary/10 disabled:cursor-not-allowed disabled:opacity-60"+ >+ {isDetectingWine ? (+ <span className="h-4 w-4 animate-spin rounded-full border-2 border-primary border-t-transparent" />+ ) : (+ <Camera className="h-4 w-4 text-primary" />+ )}+ <span>{isDetectingWine ? "Detecting..." : "Take photo"}</span>+ </button>++ <button+ onClick={handlePickPhotoLibraryImage}+ disabled={isCatalogLoading || isDetectingWine}+ className="flex w-full items-center justify-center gap-2 rounded-xl border border-border bg-background px-4 py-3 text-sm text-foreground transition-colors hover:bg-muted/50 disabled:cursor-not-allowed disabled:opacity-60"+ >+ <Upload className="h-4 w-4 text-primary" />+ <span>Upload image</span>+ </button>+ </div>++ {(detectedWine || detectionMatchScore !== null) && (+ <div className="mb-4 rounded-xl border border-accent/20 bg-accent/5 px-4 py-3 text-sm">+ {detectedWine ? (+ <p className="font-medium text-foreground">+ {detectedWine.name} {detectedWine.vintage ? `· ${detectedWine.vintage}` : ""}+ </p>+ ) : null}+ {detectionMatchScore !== null && (+ <p className={cn("text-xs text-muted-foreground", detectedWine && "mt-1")}>+ Match score: {Math.round(detectionMatchScore * 100)}%+ </p>+ )}+ </div>+ )}++ {referenceWine && (+ <div className="mb-4 flex items-center gap-3 rounded-xl border border-primary/10 bg-primary/5 p-3">+ <div className="w-10 h-14 rounded bg-gradient-to-b from-primary/20 to-primary/40 flex items-center justify-center">+ <WineIcon className="h-5 w-5 text-primary" />+ </div>+ <div className="flex-1 min-w-0">+ <p className="text-sm font-medium text-foreground truncate">{referenceWine.name}</p>+ <p className="text-xs text-muted-foreground">+ {referenceWine.vintage} · {referenceWine.region}+ </p>+ </div>+ <button+ onClick={() => {+ setSelectedReferenceWine("")+ setDetectedWine(null)+ setDetectionConfidence(null)+ }}+ className="p-1.5 rounded-full hover:bg-muted transition-colors"+ >+ <X className="h-4 w-4 text-muted-foreground" />+ </button>+ </div>+ )}++ <div className="relative">+ <div className="relative">+ <Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" />+ <Input+ value={wineSearchQuery}+ onChange={(e) => setWineSearchQuery(e.target.value)}+ onFocus={() => setWineSearchFocused(true)}+ onBlur={() => setTimeout(() => setWineSearchFocused(false), 200)}+ placeholder={isCatalogLoading ? "Loading wines..." : "Search wines..."}+ className="h-11 pl-10 bg-background"+ disabled={isCatalogLoading}+ />+ </div>++ {wineSearchFocused && wineSearchQuery.trim() && (+ <div className="absolute top-full left-0 right-0 mt-2 bg-card border border-border rounded-xl shadow-lg overflow-hidden z-20">+ {filteredWineResults.length > 0 ? (+ <div className="max-h-64 overflow-y-auto">+ {filteredWineResults.map((wine) => (+ <button+ key={wine.id}+ onClick={() => handleSelectWineFromSearch(wine.id)}+ className="w-full flex items-center gap-3 p-3 hover:bg-muted/50 transition-colors text-left"+ >+ <div className="w-8 h-10 rounded bg-gradient-to-b from-primary/10 to-primary/30 flex items-center justify-center shrink-0">+ <WineIcon className="h-3.5 w-3.5 text-primary/60" />+ </div>+ <div className="flex-1 min-w-0">+ <p className="text-sm font-medium text-foreground truncate">{wine.name}</p>+ <p className="text-xs text-muted-foreground truncate">+ {wine.vintage} · {wine.region}+ </p>+ </div>+ <span className="text-xs text-muted-foreground">${wine.price ?? "-"}</span>+ </button>+ ))}+ </div>+ ) : (+ <div className="p-4 text-center text-sm text-muted-foreground">+ No wines found+ </div>+ )}+ </div>+ )}+ </div>+ </div>++ <div className="rounded-2xl border border-border bg-card p-5">+ <div className="flex items-center justify-between mb-5">+ <h3 className="text-sm font-medium text-foreground">Structure</h3>+ <button+ onClick={handleResetStructure}+ className="flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors"+ >+ <RotateCcw className="h-3 w-3" />+ Reset+ </button>+ </div>++ <div className="space-y-5">+ {(Object.keys(structureLabels) as (keyof WineStructure)[]).map((key) => (+ <div key={key} className="space-y-2">+ <div className="flex items-center justify-between text-sm">+ <span className="text-foreground font-medium">+ {structureLabels[key].label}+ </span>+ <span className="text-xs text-muted-foreground tabular-nums">+ {structure[key]}+ </span>+ </div>+ <div className="flex items-center gap-3">+ <span className="text-xs text-muted-foreground w-16">+ {structureLabels[key].low}+ </span>+ <div className="relative flex-1 h-6 flex items-center">+ <div className="absolute inset-x-0 h-2 bg-muted rounded-full" />+ <div+ className="absolute left-0 h-2 bg-primary/30 rounded-full transition-all duration-200"+ style={{ width: `${structure[key]}%` }}+ />+ <input+ type="range"+ min="0"+ max="100"+ value={structure[key]}+ onChange={(e) => handleStructureChange(key, Number(e.target.value))}+ className="slider-wine w-full"+ />+ </div>+ <span className="text-xs text-muted-foreground w-16 text-right">+ {structureLabels[key].high}+ </span>+ </div>+ </div>+ ))}+ </div>+ </div>++ <div className="rounded-2xl border border-border bg-card p-5">+ <h3 className="text-sm font-medium text-foreground mb-4">Flavors</h3>++ <div className="max-h-[540px] overflow-y-auto pr-1 space-y-4">+ {flavorTags.map((category) => (+ <div key={category.category}>+ <p className="text-xs text-muted-foreground mb-2">{category.category}</p>+ <div className="flex flex-wrap gap-2">+ {category.flavors.map((flavor) => (+ <button+ key={flavor}+ onClick={() => handleFlavorToggle(flavor)}+ className={cn(+ "px-3 py-1.5 rounded-full text-xs transition-all",+ selectedFlavors.includes(flavor)+ ? "bg-primary text-primary-foreground"+ : "bg-muted text-muted-foreground hover:bg-muted/80"+ )}+ >+ {flavor}+ </button>+ ))}+ </div>+ </div>+ ))}+ </div>++ {selectedFlavors.length > 0 && (+ <div className="mt-5 pt-4 border-t border-border">+ <div className="flex items-center justify-between mb-3">+ <p className="text-xs text-muted-foreground">Selected ({selectedFlavors.length})</p>+ <button+ onClick={() => setSelectedFlavors([])}+ className="text-xs text-muted-foreground hover:text-foreground"+ >+ Clear all+ </button>+ </div>+ <div className="flex flex-wrap gap-2">+ {selectedFlavors.map((flavor) => (+ <span+ key={flavor}+ className="inline-flex items-center gap-1.5 rounded-full bg-accent text-accent-foreground px-3 py-1.5 text-xs"+ >+ {flavor}+ <button+ onClick={() => handleFlavorToggle(flavor)}+ className="hover:opacity-70"+ >+ <X className="h-3 w-3" />+ </button>+ </span>+ ))}+ </div>+ </div>+ )}+ </div>+ </div>++ </div>+ </main>+ </div>+ )+}diff --git a/examples/wine-recommender/app/components/wine-result-card.tsx b/examples/wine-recommender/app/components/wine-result-card.tsxnew file mode 100644index 000000000..7c2c981a7--- /dev/null+++ b/examples/wine-recommender/app/components/wine-result-card.tsx@@ -0,0 +1,235 @@+import type { RecommendedWine, WineStructure } from "@/lib/wine-data"+import { WineGlassVisual } from "./wine-glass-visual"+import { MapPin, Check, Minus } from "lucide-react"+import { cn } from "@/lib/utils"++interface WineResultCardProps {+ wine: RecommendedWine+ rank: number+ userStructure: WineStructure+ userFlavors: string[]+}++const structureLabels: Record<keyof WineStructure, { label: string; icon: string }> = {+ acidity: { label: "Acidity", icon: "◇" },+ fizziness: { label: "Fizz", icon: "○" },+ intensity: { label: "Body", icon: "●" },+ sweetness: { label: "Sweet", icon: "◆" },+ tannin: { label: "Tannin", icon: "▲" },+}++export function WineResultCard({ wine, rank, userStructure, userFlavors }: WineResultCardProps) {+ // Calculate how close each attribute is to user's preference+ const getAttributeMatch = (key: keyof WineStructure): { diff: number; quality: "exact" | "close" | "far" } => {+ const diff = Math.abs(wine.structure[key] - userStructure[key])+ if (diff <= 10) return { diff, quality: "exact" }+ if (diff <= 25) return { diff, quality: "close" }+ return { diff, quality: "far" }+ }++ // Get matching flavors between wine and user selection+ const matchingFlavors = userFlavors.filter(flavor =>+ wine.flavors.some(f => f.toLowerCase() === flavor.toLowerCase())+ )++ const profileTags = [+ wine.structure.tannin >= 60 ? "Tannic" : wine.structure.tannin <= 30 ? "Smooth" : null,+ wine.structure.sweetness >= 35 ? "Sweet" : wine.structure.sweetness <= 15 ? "Dry" : null,+ wine.style || null,+ ].filter(Boolean) as string[]++ return (+ <div className={cn(+ "group relative rounded-2xl border border-border bg-card overflow-hidden transition-all duration-300",+ "hover:shadow-[0_10px_40px_-10px_rgba(114,47,55,0.15)] hover:-translate-y-1",+ rank === 1 && "ring-2 ring-secondary/50"+ )}>+ {/* Top Section with Match */}+ <div className="relative p-6 pb-4">+ {/* Rank Badge */}+ <div className={cn(+ "absolute -top-0 -left-0 h-8 w-8 rounded-br-xl flex items-center justify-center text-sm font-bold",+ rank === 1 ? "bg-secondary text-secondary-foreground" : "bg-muted text-muted-foreground"+ )}>+ {rank}+ </div>++ {/* Match Percentage Circle */}+ <div className="absolute right-4 top-4">+ <div className="relative h-12 w-12">+ <svg className="h-12 w-12 -rotate-90">+ <circle+ cx="24"+ cy="24"+ r="20"+ fill="none"+ stroke="currentColor"+ strokeWidth="3"+ className="text-muted"+ />+ <circle+ cx="24"+ cy="24"+ r="20"+ fill="none"+ stroke="currentColor"+ strokeWidth="3"+ strokeDasharray={`${wine.matchPercentage * 1.26} 126`}+ className={cn(+ wine.matchPercentage >= 90 ? "text-accent" : "text-primary"+ )}+ />+ </svg>+ <span className="absolute inset-0 flex items-center justify-center text-xs font-bold">+ {wine.matchPercentage}%+ </span>+ </div>+ </div>++ {/* Wine Visual */}+ <div className="mx-auto mb-5 mt-2 flex h-32 items-center justify-center">+ <WineGlassVisual structure={wine.structure} className="h-28 w-24" />+ </div>++ {/* Wine Info */}+ <div className="grid gap-3 pr-14 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-start sm:pr-0">+ <div className="min-w-0 space-y-1.5 text-left">+ <h4 className="font-serif text-base font-semibold leading-tight text-foreground transition-colors group-hover:text-primary">+ {wine.name}+ </h4>+ <p className="text-xs text-muted-foreground">+ {wine.vintage} · {wine.winery}+ </p>++ <div className="flex items-center gap-1 text-xs text-muted-foreground">+ <MapPin className="h-3 w-3 shrink-0" />+ <span className="truncate">{wine.region}, {wine.country}</span>+ </div>+ </div>++ {profileTags.length > 0 && (+ <div className="flex max-w-[12rem] flex-wrap gap-1.5 sm:justify-end">+ {profileTags.map((tag) => (+ <span+ key={tag}+ className="rounded-full bg-muted px-2.5 py-1 text-[10px] font-medium text-muted-foreground"+ >+ {tag}+ </span>+ ))}+ </div>+ )}+ </div>+ </div>++ {/* Structure Match Preview - Always Visible */}+ <div className="px-5 pb-3">+ <div className="flex items-center justify-center gap-1.5">+ {(Object.keys(structureLabels) as (keyof WineStructure)[]).map((key) => {+ const match = getAttributeMatch(key)+ if (key === "fizziness" && userStructure.fizziness < 10 && wine.structure.fizziness < 10) return null+ return (+ <div+ key={key}+ className={cn(+ "h-2 w-2 rounded-full transition-colors",+ match.quality === "exact" && "bg-accent",+ match.quality === "close" && "bg-secondary",+ match.quality === "far" && "bg-muted-foreground/30"+ )}+ title={`${structureLabels[key].label}: ${match.quality} match`}+ />+ )+ })}+ </div>+ </div>++ {/* Price */}+ <div className="px-5 py-3 border-t border-border">+ <span className="font-serif text-lg font-bold text-foreground">${wine.price}</span>+ </div>++ {/* Match Details - Always Visible */}+ <div className="px-5 pb-5 space-y-4 border-t border-border pt-4 bg-muted/30">+ {/* Structure Comparison */}+ <div>+ <p className="text-xs font-medium text-foreground mb-3">Structure Match</p>+ <div className="space-y-2">+ {(Object.keys(structureLabels) as (keyof WineStructure)[]).map((key) => {+ const match = getAttributeMatch(key)+ const userVal = userStructure[key]+ const wineVal = wine.structure[key]++ // Skip fizziness if both are essentially still+ if (key === "fizziness" && userVal < 10 && wineVal < 10) return null++ return (+ <div key={key} className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground w-14">{structureLabels[key].label}</span>+ <div className="flex-1 h-1.5 bg-muted rounded-full relative overflow-hidden">+ {/* User preference indicator */}+ <div+ className="absolute top-0 h-full w-1 bg-foreground/30 rounded-full"+ style={{ left: `${userVal}%`, transform: "translateX(-50%)" }}+ />+ {/* Wine value bar */}+ <div+ className={cn(+ "absolute top-0 left-0 h-full rounded-full transition-all",+ match.quality === "exact" && "bg-accent",+ match.quality === "close" && "bg-secondary",+ match.quality === "far" && "bg-muted-foreground"+ )}+ style={{ width: `${wineVal}%` }}+ />+ </div>+ <span className="text-[10px] tabular-nums text-muted-foreground w-8">{wineVal}</span>+ <div className={cn(+ "h-4 w-4 rounded-full flex items-center justify-center",+ match.quality === "exact" && "bg-accent/20 text-accent",+ match.quality === "close" && "bg-secondary/20 text-secondary-foreground",+ match.quality === "far" && "bg-muted text-muted-foreground"+ )}>+ {match.quality === "exact" ? (+ <Check className="h-2.5 w-2.5" />+ ) : match.quality === "close" ? (+ <Minus className="h-2.5 w-2.5" />+ ) : (+ <span className="text-[8px]">~</span>+ )}+ </div>+ </div>+ )+ })}+ </div>+ </div>++ {/* Flavor Match */}+ {matchingFlavors.length > 0 && (+ <div>+ <p className="text-xs font-medium text-foreground mb-2">Matching Flavors</p>+ <div className="flex flex-wrap gap-1.5">+ {matchingFlavors.map((flavor) => (+ <span+ key={flavor}+ className="inline-flex items-center gap-1 rounded-full bg-accent/10 px-2 py-0.5 text-[10px] text-accent"+ >+ <Check className="h-2.5 w-2.5" />+ {flavor}+ </span>+ ))}+ </div>+ </div>+ )}++ {/* Flavor Summary */}+ <div>+ <p className="text-xs font-medium text-foreground mb-1">Tasting Notes</p>+ <p className="text-xs text-muted-foreground leading-relaxed">+ {wine.flavorSummary}+ </p>+ </div>+ </div>+ </div>+ )+}diff --git a/examples/wine-recommender/app/hooks/use-mobile.ts b/examples/wine-recommender/app/hooks/use-mobile.tsnew file mode 100644index 000000000..4331d5c56--- /dev/null+++ b/examples/wine-recommender/app/hooks/use-mobile.ts@@ -0,0 +1,19 @@+import * as React from 'react'++const MOBILE_BREAKPOINT = 768++export function useIsMobile() {+ const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)++ React.useEffect(() => {+ const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)+ const onChange = () => {+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)+ }+ mql.addEventListener('change', onChange)+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)+ return () => mql.removeEventListener('change', onChange)+ }, [])++ return !!isMobile+}diff --git a/examples/wine-recommender/app/hooks/use-toast.ts b/examples/wine-recommender/app/hooks/use-toast.tsnew file mode 100644index 000000000..8932bc512--- /dev/null+++ b/examples/wine-recommender/app/hooks/use-toast.ts@@ -0,0 +1,191 @@+'use client'++// Inspired by react-hot-toast library+import * as React from 'react'++import type { ToastActionElement, ToastProps } from '@/components/ui/toast'++const TOAST_LIMIT = 1+const TOAST_REMOVE_DELAY = 1000000++type ToasterToast = ToastProps & {+ id: string+ title?: React.ReactNode+ description?: React.ReactNode+ action?: ToastActionElement+}++const actionTypes = {+ ADD_TOAST: 'ADD_TOAST',+ UPDATE_TOAST: 'UPDATE_TOAST',+ DISMISS_TOAST: 'DISMISS_TOAST',+ REMOVE_TOAST: 'REMOVE_TOAST',+} as const++let count = 0++function genId() {+ count = (count + 1) % Number.MAX_SAFE_INTEGER+ return count.toString()+}++type ActionType = typeof actionTypes++type Action =+ | {+ type: ActionType['ADD_TOAST']+ toast: ToasterToast+ }+ | {+ type: ActionType['UPDATE_TOAST']+ toast: Partial<ToasterToast>+ }+ | {+ type: ActionType['DISMISS_TOAST']+ toastId?: ToasterToast['id']+ }+ | {+ type: ActionType['REMOVE_TOAST']+ toastId?: ToasterToast['id']+ }++interface State {+ toasts: ToasterToast[]+}++const toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>()++const addToRemoveQueue = (toastId: string) => {+ if (toastTimeouts.has(toastId)) {+ return+ }++ const timeout = setTimeout(() => {+ toastTimeouts.delete(toastId)+ dispatch({+ type: 'REMOVE_TOAST',+ toastId: toastId,+ })+ }, TOAST_REMOVE_DELAY)++ toastTimeouts.set(toastId, timeout)+}++export const reducer = (state: State, action: Action): State => {+ switch (action.type) {+ case 'ADD_TOAST':+ return {+ ...state,+ toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),+ }++ case 'UPDATE_TOAST':+ return {+ ...state,+ toasts: state.toasts.map((t) =>+ t.id === action.toast.id ? { ...t, ...action.toast } : t,+ ),+ }++ case 'DISMISS_TOAST': {+ const { toastId } = action++ // ! Side effects ! - This could be extracted into a dismissToast() action,+ // but I'll keep it here for simplicity+ if (toastId) {+ addToRemoveQueue(toastId)+ } else {+ state.toasts.forEach((toast) => {+ addToRemoveQueue(toast.id)+ })+ }++ return {+ ...state,+ toasts: state.toasts.map((t) =>+ t.id === toastId || toastId === undefined+ ? {+ ...t,+ open: false,+ }+ : t,+ ),+ }+ }+ case 'REMOVE_TOAST':+ if (action.toastId === undefined) {+ return {+ ...state,+ toasts: [],+ }+ }+ return {+ ...state,+ toasts: state.toasts.filter((t) => t.id !== action.toastId),+ }+ }+}++const listeners: Array<(state: State) => void> = []++let memoryState: State = { toasts: [] }++function dispatch(action: Action) {+ memoryState = reducer(memoryState, action)+ listeners.forEach((listener) => {+ listener(memoryState)+ })+}++type Toast = Omit<ToasterToast, 'id'>++function toast({ ...props }: Toast) {+ const id = genId()++ const update = (props: ToasterToast) =>+ dispatch({+ type: 'UPDATE_TOAST',+ toast: { ...props, id },+ })+ const dismiss = () => dispatch({ type: 'DISMISS_TOAST', toastId: id })++ dispatch({+ type: 'ADD_TOAST',+ toast: {+ ...props,+ id,+ open: true,+ onOpenChange: (open) => {+ if (!open) dismiss()+ },+ },+ })++ return {+ id: id,+ dismiss,+ update,+ }+}++function useToast() {+ const [state, setState] = React.useState<State>(memoryState)++ React.useEffect(() => {+ listeners.push(setState)+ return () => {+ const index = listeners.indexOf(setState)+ if (index > -1) {+ listeners.splice(index, 1)+ }+ }+ }, [state])++ return {+ ...state,+ toast,+ dismiss: (toastId?: string) => dispatch({ type: 'DISMISS_TOAST', toastId }),+ }+}++export { useToast, toast }diff --git a/examples/wine-recommender/app/lib/api.ts b/examples/wine-recommender/app/lib/api.tsnew file mode 100644index 000000000..fdf6e5e08--- /dev/null+++ b/examples/wine-recommender/app/lib/api.ts@@ -0,0 +1,51 @@+import type {+ CatalogResponse,+ DetectedWineResponse,+ RecommendationRequest,+ RecommendationResponse,+} from "@/lib/wine-data"++const API_BASE_URL =+ process.env.NEXT_PUBLIC_API_BASE_URL?.replace(/\/$/, "") ?? "http://localhost:8000"++async function parseResponse<T>(response: Response): Promise<T> {+ if (!response.ok) {+ const message = await response.text()+ throw new Error(message || `Request failed with status ${response.status}`)+ }++ return response.json() as Promise<T>+}++export async function fetchCatalog(): Promise<CatalogResponse> {+ const response = await fetch(`${API_BASE_URL}/catalog`, {+ cache: "no-store",+ })+ return parseResponse<CatalogResponse>(response)+}++export async function fetchRecommendations(+ payload: RecommendationRequest,+): Promise<RecommendationResponse> {+ const response = await fetch(`${API_BASE_URL}/recommendations`, {+ method: "POST",+ headers: {+ "Content-Type": "application/json",+ },+ body: JSON.stringify(payload),+ })++ return parseResponse<RecommendationResponse>(response)+}++export async function detectWineFromImage(file: File): Promise<DetectedWineResponse> {+ const formData = new FormData()+ formData.append("file", file)++ const response = await fetch(`${API_BASE_URL}/detect-wine-image`, {+ method: "POST",+ body: formData,+ })++ return parseResponse<DetectedWineResponse>(response)+}diff --git a/examples/wine-recommender/app/lib/utils.ts b/examples/wine-recommender/app/lib/utils.tsnew file mode 100644index 000000000..bd0c391dd--- /dev/null+++ b/examples/wine-recommender/app/lib/utils.ts@@ -0,0 +1,6 @@+import { clsx, type ClassValue } from "clsx"+import { twMerge } from "tailwind-merge"++export function cn(...inputs: ClassValue[]) {+ return twMerge(clsx(inputs))+}diff --git a/examples/wine-recommender/app/lib/wine-data.ts b/examples/wine-recommender/app/lib/wine-data.tsnew file mode 100644index 000000000..a9cee1e8f--- /dev/null+++ b/examples/wine-recommender/app/lib/wine-data.ts@@ -0,0 +1,57 @@+export type WineStructure = {+ acidity: number+ fizziness: number+ intensity: number+ sweetness: number+ tannin: number+}++export type Wine = {+ id: string+ row_index: number+ name: string+ winery: string+ vintage: string | null+ country: string | null+ region: string | null+ style: string+ price: number | null+ structure: WineStructure+ flavors: string[]+}++export type FlavorCategory = {+ category: string+ flavors: string[]+}++export type RecommendedWine = Wine & {+ matchPercentage: number+ flavorSummary: string+ reviewCount: number | null+ rerankScore: number+}++export type CatalogResponse = {+ wines: Wine[]+ flavorTags: FlavorCategory[]+}++export type RecommendationRequest = {+ structure: WineStructure+ flavors: Record<string, number>+ reference_row_indices: number[]+ top_k: number+}++export type RecommendationResponse = {+ rerank_method: string+ candidate_count: number+ results: RecommendedWine[]+}++export type DetectedWineResponse = {+ detected_wine: Wine | null+ match_score: number+ ocr_text?: string+}diff --git a/examples/wine-recommender/app/next-env.d.ts b/examples/wine-recommender/app/next-env.d.tsnew file mode 100644index 000000000..c4b7818fb--- /dev/null+++ b/examples/wine-recommender/app/next-env.d.ts@@ -0,0 +1,6 @@+/// <reference types="next" />+/// <reference types="next/image-types/global" />+import "./.next/dev/types/routes.d.ts";++// NOTE: This file should not be edited+// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/examples/wine-recommender/app/next.config.mjs b/examples/wine-recommender/app/next.config.mjsnew file mode 100644index 000000000..4cd9948a8--- /dev/null+++ b/examples/wine-recommender/app/next.config.mjs@@ -0,0 +1,11 @@+/** @type {import('next').NextConfig} */+const nextConfig = {+ typescript: {+ ignoreBuildErrors: true,+ },+ images: {+ unoptimized: true,+ },+}++export default nextConfigdiff --git a/examples/wine-recommender/app/package-lock.json b/examples/wine-recommender/app/package-lock.jsonnew file mode 100644index 000000000..911537274--- /dev/null+++ b/examples/wine-recommender/app/package-lock.json@@ -0,0 +1,4320 @@+{+ "name": "my-project",+ "version": "0.1.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "my-project",+ "version": "0.1.0",+ "dependencies": {+ "@hookform/resolvers": "^3.9.1",+ "@radix-ui/react-accordion": "1.2.12",+ "@radix-ui/react-alert-dialog": "1.1.15",+ "@radix-ui/react-aspect-ratio": "1.1.8",+ "@radix-ui/react-avatar": "1.1.11",+ "@radix-ui/react-checkbox": "1.3.3",+ "@radix-ui/react-collapsible": "1.1.12",+ "@radix-ui/react-context-menu": "2.2.16",+ "@radix-ui/react-dialog": "1.1.15",+ "@radix-ui/react-dropdown-menu": "2.1.16",+ "@radix-ui/react-hover-card": "1.1.15",+ "@radix-ui/react-label": "2.1.8",+ "@radix-ui/react-menubar": "1.1.16",+ "@radix-ui/react-navigation-menu": "1.2.14",+ "@radix-ui/react-popover": "1.1.15",+ "@radix-ui/react-progress": "1.1.8",+ "@radix-ui/react-radio-group": "1.3.8",+ "@radix-ui/react-scroll-area": "1.2.10",+ "@radix-ui/react-select": "2.2.6",+ "@radix-ui/react-separator": "1.1.8",+ "@radix-ui/react-slider": "1.3.6",+ "@radix-ui/react-slot": "1.2.4",+ "@radix-ui/react-switch": "1.2.6",+ "@radix-ui/react-tabs": "1.1.13",+ "@radix-ui/react-toast": "1.2.15",+ "@radix-ui/react-toggle": "1.1.10",+ "@radix-ui/react-toggle-group": "1.1.11",+ "@radix-ui/react-tooltip": "1.2.8",+ "@vercel/analytics": "1.6.1",+ "autoprefixer": "^10.4.20",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cmdk": "1.1.1",+ "date-fns": "4.1.0",+ "embla-carousel-react": "8.6.0",+ "input-otp": "1.4.2",+ "lucide-react": "^0.564.0",+ "next": "16.1.6",+ "next-themes": "^0.4.6",+ "react": "19.2.4",+ "react-day-picker": "9.13.2",+ "react-dom": "19.2.4",+ "react-hook-form": "^7.54.1",+ "react-resizable-panels": "^2.1.7",+ "recharts": "2.15.0",+ "sonner": "^1.7.1",+ "tailwind-merge": "^3.3.1",+ "vaul": "^1.1.2",+ "zod": "^3.24.1"+ },+ "devDependencies": {+ "@tailwindcss/postcss": "^4.2.0",+ "@types/node": "^22",+ "@types/react": "19.2.14",+ "@types/react-dom": "19.2.3",+ "postcss": "^8.5",+ "tailwindcss": "^4.2.0",+ "tw-animate-css": "1.3.3",+ "typescript": "5.7.3"+ }+ },+ "node_modules/@alloc/quick-lru": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@babel/runtime": {+ "version": "7.29.2",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",+ "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@date-fns/tz": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/@date-fns/tz/-/tz-1.4.1.tgz",+ "integrity": "sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==",+ "license": "MIT"+ },+ "node_modules/@emnapi/runtime": {+ "version": "1.9.2",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",+ "integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@floating-ui/core": {+ "version": "1.7.5",+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz",+ "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/utils": "^0.2.11"+ }+ },+ "node_modules/@floating-ui/dom": {+ "version": "1.7.6",+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz",+ "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/core": "^1.7.5",+ "@floating-ui/utils": "^0.2.11"+ }+ },+ "node_modules/@floating-ui/react-dom": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.8.tgz",+ "integrity": "sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/dom": "^1.7.6"+ },+ "peerDependencies": {+ "react": ">=16.8.0",+ "react-dom": ">=16.8.0"+ }+ },+ "node_modules/@floating-ui/utils": {+ "version": "0.2.11",+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz",+ "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==",+ "license": "MIT"+ },+ "node_modules/@hookform/resolvers": {+ "version": "3.10.0",+ "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-3.10.0.tgz",+ "integrity": "sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==",+ "license": "MIT",+ "peerDependencies": {+ "react-hook-form": "^7.0.0"+ }+ },+ "node_modules/@img/colour": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@img/sharp-darwin-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-darwin-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",+ "cpu": [+ "arm"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-ppc64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",+ "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",+ "cpu": [+ "ppc64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-riscv64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",+ "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",+ "cpu": [+ "riscv64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-s390x": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",+ "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",+ "cpu": [+ "s390x"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",+ "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-linux-arm": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",+ "cpu": [+ "arm"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-ppc64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",+ "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",+ "cpu": [+ "ppc64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-ppc64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-riscv64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",+ "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",+ "cpu": [+ "riscv64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-riscv64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-s390x": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",+ "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",+ "cpu": [+ "s390x"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-s390x": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linux-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"+ }+ },+ "node_modules/@img/sharp-wasm32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",+ "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",+ "cpu": [+ "wasm32"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/runtime": "^1.7.0"+ },+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-arm64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-ia32": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",+ "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",+ "cpu": [+ "ia32"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-x64": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@jridgewell/gen-mapping": {+ "version": "0.3.13",+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.5.0",+ "@jridgewell/trace-mapping": "^0.3.24"+ }+ },+ "node_modules/@jridgewell/remapping": {+ "version": "2.3.5",+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/gen-mapping": "^0.3.5",+ "@jridgewell/trace-mapping": "^0.3.24"+ }+ },+ "node_modules/@jridgewell/resolve-uri": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/@jridgewell/sourcemap-codec": {+ "version": "1.5.5",+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@jridgewell/trace-mapping": {+ "version": "0.3.31",+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/resolve-uri": "^3.1.0",+ "@jridgewell/sourcemap-codec": "^1.4.14"+ }+ },+ "node_modules/@next/env": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-16.1.6.tgz",+ "integrity": "sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==",+ "license": "MIT"+ },+ "node_modules/@next/swc-darwin-arm64": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.1.6.tgz",+ "integrity": "sha512-wTzYulosJr/6nFnqGW7FrG3jfUUlEf8UjGA0/pyypJl42ExdVgC6xJgcXQ+V8QFn6niSG2Pb8+MIG1mZr2vczw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-darwin-x64": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.1.6.tgz",+ "integrity": "sha512-BLFPYPDO+MNJsiDWbeVzqvYd4NyuRrEYVB5k2N3JfWncuHAy2IVwMAOlVQDFjj+krkWzhY2apvmekMkfQR0CUQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-gnu": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.1.6.tgz",+ "integrity": "sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-arm64-musl": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.1.6.tgz",+ "integrity": "sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-gnu": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.1.6.tgz",+ "integrity": "sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-linux-x64-musl": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.1.6.tgz",+ "integrity": "sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-arm64-msvc": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.1.6.tgz",+ "integrity": "sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@next/swc-win32-x64-msvc": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.1.6.tgz",+ "integrity": "sha512-NRfO39AIrzBnixKbjuo2YiYhB6o9d8v/ymU9m/Xk8cyVk+k7XylniXkHwjs4s70wedVffc6bQNbufk5v0xEm0A==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@radix-ui/number": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz",+ "integrity": "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==",+ "license": "MIT"+ },+ "node_modules/@radix-ui/primitive": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",+ "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",+ "license": "MIT"+ },+ "node_modules/@radix-ui/react-accordion": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz",+ "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collapsible": "1.1.12",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-alert-dialog": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.15.tgz",+ "integrity": "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dialog": "1.1.15",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-arrow": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz",+ "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-aspect-ratio": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-aspect-ratio/-/react-aspect-ratio-1.1.8.tgz",+ "integrity": "sha512-5nZrJTF7gH+e0nZS7/QxFz6tJV4VimhQb1avEgtsJxvvIp5JilL+c58HICsKzPxghdwaDt48hEfPM1au4zGy+w==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-aspect-ratio/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-avatar": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.11.tgz",+ "integrity": "sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-context": "1.1.3",+ "@radix-ui/react-primitive": "2.1.4",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-is-hydrated": "0.1.0",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-checkbox": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.3.tgz",+ "integrity": "sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collapsible": {+ "version": "1.1.12",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz",+ "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collection": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz",+ "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-compose-refs": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-context": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",+ "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-context-menu": {+ "version": "2.2.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context-menu/-/react-context-menu-2.2.16.tgz",+ "integrity": "sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-menu": "2.1.16",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dialog": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz",+ "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-direction": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz",+ "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dismissable-layer": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz",+ "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-escape-keydown": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dropdown-menu": {+ "version": "2.1.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.16.tgz",+ "integrity": "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-menu": "2.1.16",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-focus-guards": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz",+ "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-focus-scope": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",+ "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-hover-card": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.1.15.tgz",+ "integrity": "sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-id": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",+ "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-label": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.8.tgz",+ "integrity": "sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-menu": {+ "version": "2.1.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz",+ "integrity": "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-menubar": {+ "version": "1.1.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menubar/-/react-menubar-1.1.16.tgz",+ "integrity": "sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-menu": "2.1.16",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-navigation-menu": {+ "version": "1.2.14",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.14.tgz",+ "integrity": "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-visually-hidden": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popover": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz",+ "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popper": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz",+ "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/react-dom": "^2.0.0",+ "@radix-ui/react-arrow": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-rect": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1",+ "@radix-ui/rect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-portal": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",+ "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-presence": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",+ "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-primitive": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",+ "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.8.tgz",+ "integrity": "sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-context": "1.1.3",+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-radio-group": {+ "version": "1.3.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.3.8.tgz",+ "integrity": "sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-roving-focus": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz",+ "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-scroll-area": {+ "version": "1.2.10",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.10.tgz",+ "integrity": "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/number": "1.1.1",+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-select": {+ "version": "2.2.6",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.2.6.tgz",+ "integrity": "sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/number": "1.1.1",+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-visually-hidden": "1.2.3",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-separator": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz",+ "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-slider": {+ "version": "1.3.6",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.3.6.tgz",+ "integrity": "sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/number": "1.1.1",+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-slot": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-switch": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.2.6.tgz",+ "integrity": "sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tabs": {+ "version": "1.1.13",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz",+ "integrity": "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-toast": {+ "version": "1.2.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toast/-/react-toast-1.2.15.tgz",+ "integrity": "sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-visually-hidden": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-toggle": {+ "version": "1.1.10",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.10.tgz",+ "integrity": "sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-toggle-group": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle-group/-/react-toggle-group-1.1.11.tgz",+ "integrity": "sha512-5umnS0T8JQzQT6HbPyO7Hh9dgd82NmS36DQr+X/YJ9ctFNCiiQd6IJAYYZ33LUwm8M+taCz5t2ui29fHZc4Y6Q==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-toggle": "1.1.10",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tooltip": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.2.8.tgz",+ "integrity": "sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-visually-hidden": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-callback-ref": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",+ "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-controllable-state": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",+ "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-effect-event": "0.0.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-effect-event": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",+ "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-escape-keydown": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",+ "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-callback-ref": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-is-hydrated": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.0.tgz",+ "integrity": "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==",+ "license": "MIT",+ "dependencies": {+ "use-sync-external-store": "^1.5.0"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-layout-effect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-previous": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz",+ "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-rect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz",+ "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/rect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-size": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz",+ "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-visually-hidden": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz",+ "integrity": "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/rect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz",+ "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==",+ "license": "MIT"+ },+ "node_modules/@swc/helpers": {+ "version": "0.5.15",+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",+ "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.8.0"+ }+ },+ "node_modules/@tailwindcss/node": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.2.tgz",+ "integrity": "sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/remapping": "^2.3.5",+ "enhanced-resolve": "^5.19.0",+ "jiti": "^2.6.1",+ "lightningcss": "1.32.0",+ "magic-string": "^0.30.21",+ "source-map-js": "^1.2.1",+ "tailwindcss": "4.2.2"+ }+ },+ "node_modules/@tailwindcss/oxide": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.2.tgz",+ "integrity": "sha512-qEUA07+E5kehxYp9BVMpq9E8vnJuBHfJEC0vPC5e7iL/hw7HR61aDKoVoKzrG+QKp56vhNZe4qwkRmMC0zDLvg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 20"+ },+ "optionalDependencies": {+ "@tailwindcss/oxide-android-arm64": "4.2.2",+ "@tailwindcss/oxide-darwin-arm64": "4.2.2",+ "@tailwindcss/oxide-darwin-x64": "4.2.2",+ "@tailwindcss/oxide-freebsd-x64": "4.2.2",+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.2",+ "@tailwindcss/oxide-linux-arm64-gnu": "4.2.2",+ "@tailwindcss/oxide-linux-arm64-musl": "4.2.2",+ "@tailwindcss/oxide-linux-x64-gnu": "4.2.2",+ "@tailwindcss/oxide-linux-x64-musl": "4.2.2",+ "@tailwindcss/oxide-wasm32-wasi": "4.2.2",+ "@tailwindcss/oxide-win32-arm64-msvc": "4.2.2",+ "@tailwindcss/oxide-win32-x64-msvc": "4.2.2"+ }+ },+ "node_modules/@tailwindcss/oxide-android-arm64": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.2.tgz",+ "integrity": "sha512-dXGR1n+P3B6748jZO/SvHZq7qBOqqzQ+yFrXpoOWWALWndF9MoSKAT3Q0fYgAzYzGhxNYOoysRvYlpixRBBoDg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-darwin-arm64": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.2.tgz",+ "integrity": "sha512-iq9Qjr6knfMpZHj55/37ouZeykwbDqF21gPFtfnhCCKGDcPI/21FKC9XdMO/XyBM7qKORx6UIhGgg6jLl7BZlg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-darwin-x64": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.2.tgz",+ "integrity": "sha512-BlR+2c3nzc8f2G639LpL89YY4bdcIdUmiOOkv2GQv4/4M0vJlpXEa0JXNHhCHU7VWOKWT/CjqHdTP8aUuDJkuw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-freebsd-x64": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.2.tgz",+ "integrity": "sha512-YUqUgrGMSu2CDO82hzlQ5qSb5xmx3RUrke/QgnoEx7KvmRJHQuZHZmZTLSuuHwFf0DJPybFMXMYf+WJdxHy/nQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.2.tgz",+ "integrity": "sha512-FPdhvsW6g06T9BWT0qTwiVZYE2WIFo2dY5aCSpjG/S/u1tby+wXoslXS0kl3/KXnULlLr1E3NPRRw0g7t2kgaQ==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.2.tgz",+ "integrity": "sha512-4og1V+ftEPXGttOO7eCmW7VICmzzJWgMx+QXAJRAhjrSjumCwWqMfkDrNu1LXEQzNAwz28NCUpucgQPrR4S2yw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.2.tgz",+ "integrity": "sha512-oCfG/mS+/+XRlwNjnsNLVwnMWYH7tn/kYPsNPh+JSOMlnt93mYNCKHYzylRhI51X+TbR+ufNhhKKzm6QkqX8ag==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.2.tgz",+ "integrity": "sha512-rTAGAkDgqbXHNp/xW0iugLVmX62wOp2PoE39BTCGKjv3Iocf6AFbRP/wZT/kuCxC9QBh9Pu8XPkv/zCZB2mcMg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.2.tgz",+ "integrity": "sha512-XW3t3qwbIwiSyRCggeO2zxe3KWaEbM0/kW9e8+0XpBgyKU4ATYzcVSMKteZJ1iukJ3HgHBjbg9P5YPRCVUxlnQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.2.tgz",+ "integrity": "sha512-eKSztKsmEsn1O5lJ4ZAfyn41NfG7vzCg496YiGtMDV86jz1q/irhms5O0VrY6ZwTUkFy/EKG3RfWgxSI3VbZ8Q==",+ "bundleDependencies": [+ "@napi-rs/wasm-runtime",+ "@emnapi/core",+ "@emnapi/runtime",+ "@tybys/wasm-util",+ "@emnapi/wasi-threads",+ "tslib"+ ],+ "cpu": [+ "wasm32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "^1.8.1",+ "@emnapi/runtime": "^1.8.1",+ "@emnapi/wasi-threads": "^1.1.0",+ "@napi-rs/wasm-runtime": "^1.1.1",+ "@tybys/wasm-util": "^0.10.1",+ "tslib": "^2.8.1"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.2.tgz",+ "integrity": "sha512-qPmaQM4iKu5mxpsrWZMOZRgZv1tOZpUm+zdhhQP0VhJfyGGO3aUKdbh3gDZc/dPLQwW4eSqWGrrcWNBZWUWaXQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.2.tgz",+ "integrity": "sha512-1T/37VvI7WyH66b+vqHj/cLwnCxt7Qt3WFu5Q8hk65aOvlwAhs7rAp1VkulBJw/N4tMirXjVnylTR72uI0HGcA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/postcss": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.2.2.tgz",+ "integrity": "sha512-n4goKQbW8RVXIbNKRB/45LzyUqN451deQK0nzIeauVEqjlI49slUlgKYJM2QyUzap/PcpnS7kzSUmPb1sCRvYQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@alloc/quick-lru": "^5.2.0",+ "@tailwindcss/node": "4.2.2",+ "@tailwindcss/oxide": "4.2.2",+ "postcss": "^8.5.6",+ "tailwindcss": "4.2.2"+ }+ },+ "node_modules/@types/d3-array": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",+ "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-color": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",+ "license": "MIT"+ },+ "node_modules/@types/d3-ease": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-interpolate": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-color": "*"+ }+ },+ "node_modules/@types/d3-path": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",+ "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-scale": {+ "version": "4.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",+ "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-time": "*"+ }+ },+ "node_modules/@types/d3-shape": {+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz",+ "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-path": "*"+ }+ },+ "node_modules/@types/d3-time": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",+ "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-timer": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",+ "license": "MIT"+ },+ "node_modules/@types/node": {+ "version": "22.19.15",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.15.tgz",+ "integrity": "sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "undici-types": "~6.21.0"+ }+ },+ "node_modules/@types/react": {+ "version": "19.2.14",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",+ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "csstype": "^3.2.2"+ }+ },+ "node_modules/@types/react-dom": {+ "version": "19.2.3",+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",+ "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",+ "devOptional": true,+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "^19.2.0"+ }+ },+ "node_modules/@vercel/analytics": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.6.1.tgz",+ "integrity": "sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==",+ "license": "MPL-2.0",+ "peerDependencies": {+ "@remix-run/react": "^2",+ "@sveltejs/kit": "^1 || ^2",+ "next": ">= 13",+ "react": "^18 || ^19 || ^19.0.0-rc",+ "svelte": ">= 4",+ "vue": "^3",+ "vue-router": "^4"+ },+ "peerDependenciesMeta": {+ "@remix-run/react": {+ "optional": true+ },+ "@sveltejs/kit": {+ "optional": true+ },+ "next": {+ "optional": true+ },+ "react": {+ "optional": true+ },+ "svelte": {+ "optional": true+ },+ "vue": {+ "optional": true+ },+ "vue-router": {+ "optional": true+ }+ }+ },+ "node_modules/aria-hidden": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/autoprefixer": {+ "version": "10.4.27",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.27.tgz",+ "integrity": "sha512-NP9APE+tO+LuJGn7/9+cohklunJsXWiaWEfV3si4Gi/XHDwVNgkwr1J3RQYFIvPy76GmJ9/bW8vyoU1LcxwKHA==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "browserslist": "^4.28.1",+ "caniuse-lite": "^1.0.30001774",+ "fraction.js": "^5.3.4",+ "picocolors": "^1.1.1",+ "postcss-value-parser": "^4.2.0"+ },+ "bin": {+ "autoprefixer": "bin/autoprefixer"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "peerDependencies": {+ "postcss": "^8.1.0"+ }+ },+ "node_modules/baseline-browser-mapping": {+ "version": "2.10.13",+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.13.tgz",+ "integrity": "sha512-BL2sTuHOdy0YT1lYieUxTw/QMtPBC3pmlJC6xk8BBYVv6vcw3SGdKemQ+Xsx9ik2F/lYDO9tqsFQH1r9PFuHKw==",+ "license": "Apache-2.0",+ "bin": {+ "baseline-browser-mapping": "dist/cli.cjs"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/browserslist": {+ "version": "4.28.2",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",+ "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "baseline-browser-mapping": "^2.10.12",+ "caniuse-lite": "^1.0.30001782",+ "electron-to-chromium": "^1.5.328",+ "node-releases": "^2.0.36",+ "update-browserslist-db": "^1.2.3"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001784",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001784.tgz",+ "integrity": "sha512-WU346nBTklUV9YfUl60fqRbU5ZqyXlqvo1SgigE1OAXK5bFL8LL9q1K7aap3N739l4BvNqnkm3YrGHiY9sfUQw==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "CC-BY-4.0"+ },+ "node_modules/class-variance-authority": {+ "version": "0.7.1",+ "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",+ "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",+ "license": "Apache-2.0",+ "dependencies": {+ "clsx": "^2.1.1"+ },+ "funding": {+ "url": "https://polar.sh/cva"+ }+ },+ "node_modules/client-only": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",+ "license": "MIT"+ },+ "node_modules/clsx": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/cmdk": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.1.1.tgz",+ "integrity": "sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "^1.1.1",+ "@radix-ui/react-dialog": "^1.1.6",+ "@radix-ui/react-id": "^1.1.0",+ "@radix-ui/react-primitive": "^2.0.2"+ },+ "peerDependencies": {+ "react": "^18 || ^19 || ^19.0.0-rc",+ "react-dom": "^18 || ^19 || ^19.0.0-rc"+ }+ },+ "node_modules/csstype": {+ "version": "3.2.3",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",+ "license": "MIT"+ },+ "node_modules/d3-array": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",+ "license": "ISC",+ "dependencies": {+ "internmap": "1 - 2"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-color": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-ease": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-format": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz",+ "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-interpolate": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",+ "license": "ISC",+ "dependencies": {+ "d3-color": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-path": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-scale": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2.10.0 - 3",+ "d3-format": "1 - 3",+ "d3-interpolate": "1.2.0 - 3",+ "d3-time": "2.1.1 - 3",+ "d3-time-format": "2 - 4"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-shape": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",+ "license": "ISC",+ "dependencies": {+ "d3-path": "^3.1.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-time": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-time-format": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",+ "license": "ISC",+ "dependencies": {+ "d3-time": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-timer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/date-fns": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz",+ "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/kossnocorp"+ }+ },+ "node_modules/date-fns-jalali": {+ "version": "4.1.0-0",+ "resolved": "https://registry.npmjs.org/date-fns-jalali/-/date-fns-jalali-4.1.0-0.tgz",+ "integrity": "sha512-hTIP/z+t+qKwBDcmmsnmjWTduxCg+5KfdqWQvb2X/8C9+knYY6epN/pfxdDuyVlSVeFz0sM5eEfwIUQ70U4ckg==",+ "license": "MIT"+ },+ "node_modules/decimal.js-light": {+ "version": "2.5.1",+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==",+ "license": "MIT"+ },+ "node_modules/detect-libc": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",+ "devOptional": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/detect-node-es": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",+ "license": "MIT"+ },+ "node_modules/dom-helpers": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",+ "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.8.7",+ "csstype": "^3.0.2"+ }+ },+ "node_modules/electron-to-chromium": {+ "version": "1.5.331",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.331.tgz",+ "integrity": "sha512-IbxXrsTlD3hRodkLnbxAPP4OuJYdWCeM3IOdT+CpcMoIwIoDfCmRpEtSPfwBXxVkg9xmBeY7Lz2Eo2TDn/HC3Q==",+ "license": "ISC"+ },+ "node_modules/embla-carousel": {+ "version": "8.6.0",+ "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.6.0.tgz",+ "integrity": "sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==",+ "license": "MIT"+ },+ "node_modules/embla-carousel-react": {+ "version": "8.6.0",+ "resolved": "https://registry.npmjs.org/embla-carousel-react/-/embla-carousel-react-8.6.0.tgz",+ "integrity": "sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA==",+ "license": "MIT",+ "dependencies": {+ "embla-carousel": "8.6.0",+ "embla-carousel-reactive-utils": "8.6.0"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },+ "node_modules/embla-carousel-reactive-utils": {+ "version": "8.6.0",+ "resolved": "https://registry.npmjs.org/embla-carousel-reactive-utils/-/embla-carousel-reactive-utils-8.6.0.tgz",+ "integrity": "sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==",+ "license": "MIT",+ "peerDependencies": {+ "embla-carousel": "8.6.0"+ }+ },+ "node_modules/enhanced-resolve": {+ "version": "5.20.1",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.1.tgz",+ "integrity": "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.3.0"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/escalade": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/eventemitter3": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",+ "license": "MIT"+ },+ "node_modules/fast-equals": {+ "version": "5.4.0",+ "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.4.0.tgz",+ "integrity": "sha512-jt2DW/aNFNwke7AUd+Z+e6pz39KO5rzdbbFCg2sGafS4mk13MI7Z8O5z9cADNn5lhGODIgLwug6TZO2ctf7kcw==",+ "license": "MIT",+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/fraction.js": {+ "version": "5.3.4",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",+ "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",+ "license": "MIT",+ "engines": {+ "node": "*"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/rawify"+ }+ },+ "node_modules/get-nonce": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/graceful-fs": {+ "version": "4.2.11",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "dev": true,+ "license": "ISC"+ },+ "node_modules/input-otp": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/input-otp/-/input-otp-1.4.2.tgz",+ "integrity": "sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },+ "node_modules/internmap": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/jiti": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "jiti": "lib/jiti-cli.mjs"+ }+ },+ "node_modules/js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "license": "MIT"+ },+ "node_modules/lightningcss": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",+ "dev": true,+ "license": "MPL-2.0",+ "dependencies": {+ "detect-libc": "^2.0.3"+ },+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ },+ "optionalDependencies": {+ "lightningcss-android-arm64": "1.32.0",+ "lightningcss-darwin-arm64": "1.32.0",+ "lightningcss-darwin-x64": "1.32.0",+ "lightningcss-freebsd-x64": "1.32.0",+ "lightningcss-linux-arm-gnueabihf": "1.32.0",+ "lightningcss-linux-arm64-gnu": "1.32.0",+ "lightningcss-linux-arm64-musl": "1.32.0",+ "lightningcss-linux-x64-gnu": "1.32.0",+ "lightningcss-linux-x64-musl": "1.32.0",+ "lightningcss-win32-arm64-msvc": "1.32.0",+ "lightningcss-win32-x64-msvc": "1.32.0"+ }+ },+ "node_modules/lightningcss-android-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-freebsd-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm-gnueabihf": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-x64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-x64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-win32-arm64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-win32-x64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lodash": {+ "version": "4.18.1",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",+ "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",+ "license": "MIT"+ },+ "node_modules/loose-envify": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",+ "license": "MIT",+ "dependencies": {+ "js-tokens": "^3.0.0 || ^4.0.0"+ },+ "bin": {+ "loose-envify": "cli.js"+ }+ },+ "node_modules/lucide-react": {+ "version": "0.564.0",+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.564.0.tgz",+ "integrity": "sha512-JJ8GVTQqFwuliifD48U6+h7DXEHdkhJ/E87kksGByII3qHxtPciVb8T8woQONHBQgHVOl7rSMrrip3SeVNy7Fg==",+ "license": "ISC",+ "peerDependencies": {+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/magic-string": {+ "version": "0.30.21",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.5.5"+ }+ },+ "node_modules/nanoid": {+ "version": "3.3.11",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/next": {+ "version": "16.1.6",+ "resolved": "https://registry.npmjs.org/next/-/next-16.1.6.tgz",+ "integrity": "sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==",+ "license": "MIT",+ "dependencies": {+ "@next/env": "16.1.6",+ "@swc/helpers": "0.5.15",+ "baseline-browser-mapping": "^2.8.3",+ "caniuse-lite": "^1.0.30001579",+ "postcss": "8.4.31",+ "styled-jsx": "5.1.6"+ },+ "bin": {+ "next": "dist/bin/next"+ },+ "engines": {+ "node": ">=20.9.0"+ },+ "optionalDependencies": {+ "@next/swc-darwin-arm64": "16.1.6",+ "@next/swc-darwin-x64": "16.1.6",+ "@next/swc-linux-arm64-gnu": "16.1.6",+ "@next/swc-linux-arm64-musl": "16.1.6",+ "@next/swc-linux-x64-gnu": "16.1.6",+ "@next/swc-linux-x64-musl": "16.1.6",+ "@next/swc-win32-arm64-msvc": "16.1.6",+ "@next/swc-win32-x64-msvc": "16.1.6",+ "sharp": "^0.34.4"+ },+ "peerDependencies": {+ "@opentelemetry/api": "^1.1.0",+ "@playwright/test": "^1.51.1",+ "babel-plugin-react-compiler": "*",+ "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",+ "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",+ "sass": "^1.3.0"+ },+ "peerDependenciesMeta": {+ "@opentelemetry/api": {+ "optional": true+ },+ "@playwright/test": {+ "optional": true+ },+ "babel-plugin-react-compiler": {+ "optional": true+ },+ "sass": {+ "optional": true+ }+ }+ },+ "node_modules/next-themes": {+ "version": "0.4.6",+ "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",+ "integrity": "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"+ }+ },+ "node_modules/next/node_modules/postcss": {+ "version": "8.4.31",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/postcss"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "nanoid": "^3.3.6",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.0.2"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/node-releases": {+ "version": "2.0.37",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz",+ "integrity": "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==",+ "license": "MIT"+ },+ "node_modules/object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/picocolors": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",+ "license": "ISC"+ },+ "node_modules/postcss": {+ "version": "8.5.8",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",+ "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/postcss"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "nanoid": "^3.3.11",+ "picocolors": "^1.1.1",+ "source-map-js": "^1.2.1"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/postcss-value-parser": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",+ "license": "MIT"+ },+ "node_modules/prop-types": {+ "version": "15.8.1",+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",+ "license": "MIT",+ "dependencies": {+ "loose-envify": "^1.4.0",+ "object-assign": "^4.1.1",+ "react-is": "^16.13.1"+ }+ },+ "node_modules/prop-types/node_modules/react-is": {+ "version": "16.13.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",+ "license": "MIT"+ },+ "node_modules/react": {+ "version": "19.2.4",+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",+ "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-day-picker": {+ "version": "9.13.2",+ "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-9.13.2.tgz",+ "integrity": "sha512-IMPiXfXVIAuR5Yk58DDPBC8QKClrhdXV+Tr/alBrwrHUw0qDDYB1m5zPNuTnnPIr/gmJ4ChMxmtqPdxm8+R4Eg==",+ "license": "MIT",+ "dependencies": {+ "@date-fns/tz": "^1.4.1",+ "date-fns": "^4.1.0",+ "date-fns-jalali": "^4.1.0-0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "type": "individual",+ "url": "https://github.com/sponsors/gpbl"+ },+ "peerDependencies": {+ "react": ">=16.8.0"+ }+ },+ "node_modules/react-dom": {+ "version": "19.2.4",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",+ "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",+ "license": "MIT",+ "dependencies": {+ "scheduler": "^0.27.0"+ },+ "peerDependencies": {+ "react": "^19.2.4"+ }+ },+ "node_modules/react-hook-form": {+ "version": "7.72.1",+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.72.1.tgz",+ "integrity": "sha512-RhwBoy2ygeVZje+C+bwJ8g0NjTdBmDlJvAUHTxRjTmSUKPYsKfMphkS2sgEMotsY03bP358yEYlnUeZy//D9Ig==",+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/react-hook-form"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17 || ^18 || ^19"+ }+ },+ "node_modules/react-is": {+ "version": "18.3.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",+ "license": "MIT"+ },+ "node_modules/react-remove-scroll": {+ "version": "2.7.2",+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",+ "license": "MIT",+ "dependencies": {+ "react-remove-scroll-bar": "^2.3.7",+ "react-style-singleton": "^2.2.3",+ "tslib": "^2.1.0",+ "use-callback-ref": "^1.3.3",+ "use-sidecar": "^1.1.3"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/react-remove-scroll-bar": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",+ "license": "MIT",+ "dependencies": {+ "react-style-singleton": "^2.2.2",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/react-resizable-panels": {+ "version": "2.1.9",+ "resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-2.1.9.tgz",+ "integrity": "sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",+ "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },+ "node_modules/react-smooth": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.4.tgz",+ "integrity": "sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==",+ "license": "MIT",+ "dependencies": {+ "fast-equals": "^5.0.1",+ "prop-types": "^15.8.1",+ "react-transition-group": "^4.4.5"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/react-style-singleton": {+ "version": "2.2.3",+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",+ "license": "MIT",+ "dependencies": {+ "get-nonce": "^1.0.0",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/react-transition-group": {+ "version": "4.4.5",+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",+ "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@babel/runtime": "^7.5.5",+ "dom-helpers": "^5.0.1",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.6.2"+ },+ "peerDependencies": {+ "react": ">=16.6.0",+ "react-dom": ">=16.6.0"+ }+ },+ "node_modules/recharts": {+ "version": "2.15.0",+ "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.15.0.tgz",+ "integrity": "sha512-cIvMxDfpAmqAmVgc4yb7pgm/O1tmmkl/CjrvXuW+62/+7jj/iF9Ykm+hb/UJt42TREHMyd3gb+pkgoa2MxgDIw==",+ "license": "MIT",+ "dependencies": {+ "clsx": "^2.0.0",+ "eventemitter3": "^4.0.1",+ "lodash": "^4.17.21",+ "react-is": "^18.3.1",+ "react-smooth": "^4.0.0",+ "recharts-scale": "^0.4.4",+ "tiny-invariant": "^1.3.1",+ "victory-vendor": "^36.6.8"+ },+ "engines": {+ "node": ">=14"+ },+ "peerDependencies": {+ "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",+ "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/recharts-scale": {+ "version": "0.4.5",+ "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz",+ "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==",+ "license": "MIT",+ "dependencies": {+ "decimal.js-light": "^2.4.1"+ }+ },+ "node_modules/scheduler": {+ "version": "0.27.0",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",+ "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",+ "license": "MIT"+ },+ "node_modules/semver": {+ "version": "7.7.4",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",+ "license": "ISC",+ "optional": true,+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/sharp": {+ "version": "0.34.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",+ "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",+ "hasInstallScript": true,+ "license": "Apache-2.0",+ "optional": true,+ "dependencies": {+ "@img/colour": "^1.0.0",+ "detect-libc": "^2.1.2",+ "semver": "^7.7.3"+ },+ "engines": {+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-darwin-arm64": "0.34.5",+ "@img/sharp-darwin-x64": "0.34.5",+ "@img/sharp-libvips-darwin-arm64": "1.2.4",+ "@img/sharp-libvips-darwin-x64": "1.2.4",+ "@img/sharp-libvips-linux-arm": "1.2.4",+ "@img/sharp-libvips-linux-arm64": "1.2.4",+ "@img/sharp-libvips-linux-ppc64": "1.2.4",+ "@img/sharp-libvips-linux-riscv64": "1.2.4",+ "@img/sharp-libvips-linux-s390x": "1.2.4",+ "@img/sharp-libvips-linux-x64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4",+ "@img/sharp-linux-arm": "0.34.5",+ "@img/sharp-linux-arm64": "0.34.5",+ "@img/sharp-linux-ppc64": "0.34.5",+ "@img/sharp-linux-riscv64": "0.34.5",+ "@img/sharp-linux-s390x": "0.34.5",+ "@img/sharp-linux-x64": "0.34.5",+ "@img/sharp-linuxmusl-arm64": "0.34.5",+ "@img/sharp-linuxmusl-x64": "0.34.5",+ "@img/sharp-wasm32": "0.34.5",+ "@img/sharp-win32-arm64": "0.34.5",+ "@img/sharp-win32-ia32": "0.34.5",+ "@img/sharp-win32-x64": "0.34.5"+ }+ },+ "node_modules/sonner": {+ "version": "1.7.4",+ "resolved": "https://registry.npmjs.org/sonner/-/sonner-1.7.4.tgz",+ "integrity": "sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",+ "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },+ "node_modules/source-map-js": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/styled-jsx": {+ "version": "5.1.6",+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",+ "integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",+ "license": "MIT",+ "dependencies": {+ "client-only": "0.0.1"+ },+ "engines": {+ "node": ">= 12.0.0"+ },+ "peerDependencies": {+ "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"+ },+ "peerDependenciesMeta": {+ "@babel/core": {+ "optional": true+ },+ "babel-plugin-macros": {+ "optional": true+ }+ }+ },+ "node_modules/tailwind-merge": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz",+ "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/dcastil"+ }+ },+ "node_modules/tailwindcss": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.2.tgz",+ "integrity": "sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/tapable": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.2.tgz",+ "integrity": "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },+ "node_modules/tiny-invariant": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",+ "license": "MIT"+ },+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/tw-animate-css": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/tw-animate-css/-/tw-animate-css-1.3.3.tgz",+ "integrity": "sha512-tXE2TRWrskc4TU3RDd7T8n8Np/wCfoeH9gz22c7PzYqNPQ9FBGFbWWzwL0JyHcFp+jHozmF76tbHfPAx22ua2Q==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/Wombosvideo"+ }+ },+ "node_modules/typescript": {+ "version": "5.7.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",+ "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "node_modules/undici-types": {+ "version": "6.21.0",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/update-browserslist-db": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "escalade": "^3.2.0",+ "picocolors": "^1.1.1"+ },+ "bin": {+ "update-browserslist-db": "cli.js"+ },+ "peerDependencies": {+ "browserslist": ">= 4.21.0"+ }+ },+ "node_modules/use-callback-ref": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/use-sidecar": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",+ "license": "MIT",+ "dependencies": {+ "detect-node-es": "^1.1.0",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/use-sync-external-store": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },+ "node_modules/vaul": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vaul/-/vaul-1.1.2.tgz",+ "integrity": "sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-dialog": "^1.1.1"+ },+ "peerDependencies": {+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },+ "node_modules/victory-vendor": {+ "version": "36.9.2",+ "resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-36.9.2.tgz",+ "integrity": "sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==",+ "license": "MIT AND ISC",+ "dependencies": {+ "@types/d3-array": "^3.0.3",+ "@types/d3-ease": "^3.0.0",+ "@types/d3-interpolate": "^3.0.1",+ "@types/d3-scale": "^4.0.2",+ "@types/d3-shape": "^3.1.0",+ "@types/d3-time": "^3.0.0",+ "@types/d3-timer": "^3.0.0",+ "d3-array": "^3.1.6",+ "d3-ease": "^3.0.1",+ "d3-interpolate": "^3.0.1",+ "d3-scale": "^4.0.2",+ "d3-shape": "^3.1.0",+ "d3-time": "^3.0.0",+ "d3-timer": "^3.0.1"+ }+ },+ "node_modules/zod": {+ "version": "3.25.76",+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"+ }+ }+ }+}diff --git a/examples/wine-recommender/app/package.json b/examples/wine-recommender/app/package.jsonnew file mode 100644index 000000000..3cd114044--- /dev/null+++ b/examples/wine-recommender/app/package.json@@ -0,0 +1,71 @@+{+ "name": "sommelier",+ "version": "0.1.0",+ "private": true,+ "scripts": {+ "dev": "next dev",+ "build": "next build",+ "start": "next start",+ "lint": "eslint ."+ },+ "dependencies": {+ "@hookform/resolvers": "^3.9.1",+ "@radix-ui/react-accordion": "1.2.12",+ "@radix-ui/react-alert-dialog": "1.1.15",+ "@radix-ui/react-aspect-ratio": "1.1.8",+ "@radix-ui/react-avatar": "1.1.11",+ "@radix-ui/react-checkbox": "1.3.3",+ "@radix-ui/react-collapsible": "1.1.12",+ "@radix-ui/react-context-menu": "2.2.16",+ "@radix-ui/react-dialog": "1.1.15",+ "@radix-ui/react-dropdown-menu": "2.1.16",+ "@radix-ui/react-hover-card": "1.1.15",+ "@radix-ui/react-label": "2.1.8",+ "@radix-ui/react-menubar": "1.1.16",+ "@radix-ui/react-navigation-menu": "1.2.14",+ "@radix-ui/react-popover": "1.1.15",+ "@radix-ui/react-progress": "1.1.8",+ "@radix-ui/react-radio-group": "1.3.8",+ "@radix-ui/react-scroll-area": "1.2.10",+ "@radix-ui/react-select": "2.2.6",+ "@radix-ui/react-separator": "1.1.8",+ "@radix-ui/react-slider": "1.3.6",+ "@radix-ui/react-slot": "1.2.4",+ "@radix-ui/react-switch": "1.2.6",+ "@radix-ui/react-tabs": "1.1.13",+ "@radix-ui/react-toast": "1.2.15",+ "@radix-ui/react-toggle": "1.1.10",+ "@radix-ui/react-toggle-group": "1.1.11",+ "@radix-ui/react-tooltip": "1.2.8",+ "autoprefixer": "^10.4.20",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cmdk": "1.1.1",+ "date-fns": "4.1.0",+ "embla-carousel-react": "8.6.0",+ "input-otp": "1.4.2",+ "lucide-react": "^0.564.0",+ "next": "16.1.6",+ "next-themes": "^0.4.6",+ "react": "19.2.4",+ "react-day-picker": "9.13.2",+ "react-dom": "19.2.4",+ "react-hook-form": "^7.54.1",+ "react-resizable-panels": "^2.1.7",+ "recharts": "2.15.0",+ "sonner": "^1.7.1",+ "tailwind-merge": "^3.3.1",+ "vaul": "^1.1.2",+ "zod": "^3.24.1"+ },+ "devDependencies": {+ "@tailwindcss/postcss": "^4.2.0",+ "@types/node": "^22",+ "@types/react": "19.2.14",+ "@types/react-dom": "19.2.3",+ "postcss": "^8.5",+ "tailwindcss": "^4.2.0",+ "tw-animate-css": "1.3.3",+ "typescript": "5.7.3"+ }+}diff --git a/examples/wine-recommender/app/pnpm-lock.yaml b/examples/wine-recommender/app/pnpm-lock.yamlnew file mode 100644index 000000000..9b6f830d2--- /dev/null+++ b/examples/wine-recommender/app/pnpm-lock.yaml@@ -0,0 +1,3208 @@+lockfileVersion: '9.0'++settings:+ autoInstallPeers: true+ excludeLinksFromLockfile: false++importers:++ .:+ dependencies:+ '@hookform/resolvers':+ specifier: ^3.9.1+ version: 3.10.0([email protected]([email protected]))+ '@radix-ui/react-accordion':+ specifier: 1.2.12+ version: 1.2.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-alert-dialog':+ specifier: 1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-aspect-ratio':+ specifier: 1.1.8+ version: 1.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-avatar':+ specifier: 1.1.11+ version: 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-checkbox':+ specifier: 1.3.3+ version: 1.3.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collapsible':+ specifier: 1.1.12+ version: 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-context-menu':+ specifier: 2.2.16+ version: 2.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dialog':+ specifier: 1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dropdown-menu':+ specifier: 2.1.16+ version: 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-hover-card':+ specifier: 1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-label':+ specifier: 2.1.8+ version: 2.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menubar':+ specifier: 1.1.16+ version: 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-navigation-menu':+ specifier: 1.2.14+ version: 1.2.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover':+ specifier: 1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-progress':+ specifier: 1.1.8+ version: 1.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-radio-group':+ specifier: 1.3.8+ version: 1.3.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-scroll-area':+ specifier: 1.2.10+ version: 1.2.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-select':+ specifier: 2.2.6+ version: 2.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-separator':+ specifier: 1.1.8+ version: 1.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slider':+ specifier: 1.3.6+ version: 1.3.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot':+ specifier: 1.2.4+ version: 1.2.4(@types/[email protected])([email protected])+ '@radix-ui/react-switch':+ specifier: 1.2.6+ version: 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tabs':+ specifier: 1.1.13+ version: 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toast':+ specifier: 1.2.15+ version: 1.2.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle':+ specifier: 1.1.10+ version: 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group':+ specifier: 1.1.11+ version: 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip':+ specifier: 1.2.8+ version: 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@vercel/analytics':+ specifier: 1.6.1+ version: 1.6.1([email protected]([email protected]([email protected]))([email protected]))([email protected])+ autoprefixer:+ specifier: ^10.4.20+ version: 10.4.24([email protected])+ class-variance-authority:+ specifier: ^0.7.1+ version: 0.7.1+ clsx:+ specifier: ^2.1.1+ version: 2.1.1+ cmdk:+ specifier: 1.1.1+ version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ date-fns:+ specifier: 4.1.0+ version: 4.1.0+ embla-carousel-react:+ specifier: 8.6.0+ version: 8.6.0([email protected])+ input-otp:+ specifier: 1.4.2+ lucide-react:+ specifier: ^0.564.0+ version: 0.564.0([email protected])+ next:+ specifier: 16.1.6+ next-themes:+ specifier: ^0.4.6+ react:+ specifier: 19.2.4+ version: 19.2.4+ react-day-picker:+ specifier: 9.13.2+ version: 9.13.2([email protected])+ react-dom:+ specifier: 19.2.4+ version: 19.2.4([email protected])+ react-hook-form:+ specifier: ^7.54.1+ version: 7.71.1([email protected])+ react-resizable-panels:+ specifier: ^2.1.7+ recharts:+ specifier: 2.15.0+ sonner:+ specifier: ^1.7.1+ tailwind-merge:+ specifier: ^3.3.1+ version: 3.4.0+ vaul:+ specifier: ^1.1.2+ version: 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ zod:+ specifier: ^3.24.1+ version: 3.25.76+ devDependencies:+ '@tailwindcss/postcss':+ specifier: ^4.2.0+ version: 4.2.0+ '@types/node':+ specifier: ^22+ version: 22.19.11+ '@types/react':+ specifier: 19.2.14+ version: 19.2.14+ '@types/react-dom':+ specifier: 19.2.3+ version: 19.2.3(@types/[email protected])+ postcss:+ specifier: ^8.5+ version: 8.5.6+ tailwindcss:+ specifier: ^4.2.0+ version: 4.2.0+ tw-animate-css:+ specifier: 1.3.3+ version: 1.3.3+ typescript:+ specifier: 5.7.3+ version: 5.7.3++packages:++ '@alloc/[email protected]':+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}+ engines: {node: '>=10'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==}+ engines: {node: '>=6.9.0'}++ '@date-fns/[email protected]':+ resolution: {integrity: sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==}++ '@emnapi/[email protected]':+ resolution: {integrity: sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-N0bD2kIPInNHUHehXhMke1rBGs1dwqvC9O9KYMyyjK7iXt7GAhnro7UlcuYcGdS/yYOlq0MAVgrow8IbWJwyqg==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg==}+ peerDependencies:+ react: '>=16.8.0'+ react-dom: '>=16.8.0'++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}++ '@hookform/[email protected]':+ resolution: {integrity: sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==}+ peerDependencies:+ react-hook-form: ^7.0.0++ '@img/[email protected]':+ resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}+ engines: {node: '>=18'}++ '@img/[email protected]':+ resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}+ cpu: [arm64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}+ cpu: [x64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}+ cpu: [arm]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}+ cpu: [riscv64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [riscv64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [wasm32]++ '@img/[email protected]':+ resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ia32]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [win32]++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}+ engines: {node: '>=6.0.0'}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}++ '@next/[email protected]':+ resolution: {integrity: sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==}++ '@next/[email protected]':+ resolution: {integrity: sha512-wTzYulosJr/6nFnqGW7FrG3jfUUlEf8UjGA0/pyypJl42ExdVgC6xJgcXQ+V8QFn6niSG2Pb8+MIG1mZr2vczw==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [darwin]++ '@next/[email protected]':+ resolution: {integrity: sha512-BLFPYPDO+MNJsiDWbeVzqvYd4NyuRrEYVB5k2N3JfWncuHAy2IVwMAOlVQDFjj+krkWzhY2apvmekMkfQR0CUQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [darwin]++ '@next/[email protected]':+ resolution: {integrity: sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@next/[email protected]':+ resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@next/[email protected]':+ resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@next/[email protected]':+ resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@next/[email protected]':+ resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [win32]++ '@next/[email protected]':+ resolution: {integrity: sha512-NRfO39AIrzBnixKbjuo2YiYhB6o9d8v/ymU9m/Xk8cyVk+k7XylniXkHwjs4s70wedVffc6bQNbufk5v0xEm0A==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [win32]++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-5nZrJTF7gH+e0nZS7/QxFz6tJV4VimhQb1avEgtsJxvvIp5JilL+c58HICsKzPxghdwaDt48hEfPM1au4zGy+w==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-5umnS0T8JQzQT6HbPyO7Hh9dgd82NmS36DQr+X/YJ9ctFNCiiQd6IJAYYZ33LUwm8M+taCz5t2ui29fHZc4Y6Q==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}++ '@swc/[email protected]':+ resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-Yv+fn/o2OmL5fh/Ir62VXItdShnUxfpkMA4Y7jdeC8O81WPB8Kf6TT6GSHvnqgSwDzlB5iT7kDpeXxLsUS0T6Q==}++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-F0QkHAVaW/JNBWl4CEKWdZ9PMb0khw5DCELAOnu+RtjAfx5Zgw+gqCHFvqg3AirU1IAd181fwOtJQ5I8Yx5wtw==}+ engines: {node: '>= 20'}+ cpu: [arm64]+ os: [android]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-I0QylkXsBsJMZ4nkUNSR04p6+UptjcwhcVo3Zu828ikiEqHjVmQL9RuQ6uT/cVIiKpvtVA25msu/eRV97JeNSA==}+ engines: {node: '>= 20'}+ cpu: [arm64]+ os: [darwin]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-6TmQIn4p09PBrmnkvbYQ0wbZhLtbaksCDx7Y7R3FYYx0yxNA7xg5KP7dowmQ3d2JVdabIHvs3Hx4K3d5uCf8xg==}+ engines: {node: '>= 20'}+ cpu: [x64]+ os: [darwin]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-qBudxDvAa2QwGlq9y7VIzhTvp2mLJ6nD/G8/tI70DCDoneaUeLWBJaPcbfzqRIWraj+o969aDQKvKW9dvkUizw==}+ engines: {node: '>= 20'}+ cpu: [x64]+ os: [freebsd]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-7XKkitpy5NIjFZNUQPeUyNJNJn1CJeV7rmMR+exHfTuOsg8rxIO9eNV5TSEnqRcaOK77zQpsyUkBWmPy8FgdSg==}+ engines: {node: '>= 20'}+ cpu: [arm]+ os: [linux]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-Mff5a5Q3WoQR01pGU1gr29hHM1N93xYrKkGXfPw/aRtK4bOc331Ho4Tgfsm5WDGvpevqMpdlkCojT3qlCQbCpA==}+ engines: {node: '>= 20'}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-XKcSStleEVnbH6W/9DHzZv1YhjE4eSS6zOu2eRtYAIh7aV4o3vIBs+t/B15xlqoxt6ef/0uiqJVB6hkHjWD/0A==}+ engines: {node: '>= 20'}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-/hlXCBqn9K6fi7eAM0RsobHwJYa5V/xzWspVTzxnX+Ft9v6n+30Pz8+RxCn7sQL/vRHHLS30iQPrHQunu6/vJA==}+ engines: {node: '>= 20'}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-lKUaygq4G7sWkhQbfdRRBkaq4LY39IriqBQ+Gk6l5nKq6Ay2M2ZZb1tlIyRNgZKS8cbErTwuYSor0IIULC0SHw==}+ engines: {node: '>= 20'}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-xuDjhAsFdUuFP5W9Ze4k/o4AskUtI8bcAGU4puTYprr89QaYFmhYOPfP+d1pH+k9ets6RoE23BXZM1X1jJqoyw==}+ engines: {node: '>=14.0.0'}+ cpu: [wasm32]+ bundledDependencies:+ - '@napi-rs/wasm-runtime'+ - '@emnapi/core'+ - '@emnapi/runtime'+ - '@tybys/wasm-util'+ - '@emnapi/wasi-threads'+ - tslib++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-2UU/15y1sWDEDNJXxEIrfWKC2Yb4YgIW5Xz2fKFqGzFWfoMHWFlfa1EJlGO2Xzjkq/tvSarh9ZTjvbxqWvLLXA==}+ engines: {node: '>= 20'}+ cpu: [arm64]+ os: [win32]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-CrFadmFoc+z76EV6LPG1jx6XceDsaCG3lFhyLNo/bV9ByPrE+FnBPckXQVP4XRkN76h3Fjt/a+5Er/oA/nCBvQ==}+ engines: {node: '>= 20'}+ cpu: [x64]+ os: [win32]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-AZqQzADaj742oqn2xjl5JbIOzZB/DGCYF/7bpvhA8KvjUj9HJkag6bBuwZvH1ps6dfgxNHyuJVlzSr2VpMgdTQ==}+ engines: {node: '>= 20'}++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-u6YBacGpOm/ixPfKqfgrJEjMfrYmPD7gEFRoygS/hnQaRtV0VCBdpkx5Ouw9pnaLRwwlgGCuJw8xLpaR0hOrQg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}++ '@types/[email protected]':+ resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==}++ '@types/[email protected]':+ resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}++ '@types/[email protected]':+ resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w==}++ '@types/[email protected]':+ resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}+ peerDependencies:+ '@types/react': ^19.2.0++ '@types/[email protected]':+ resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}++ '@vercel/[email protected]':+ resolution: {integrity: sha512-oH9He/bEM+6oKlv3chWuOOcp8Y6fo6/PSro8hEkgCW3pu9/OiCXiUpRUogDh3Fs3LH2sosDrx8CxeOLBEE+afg==}+ peerDependencies:+ '@remix-run/react': ^2+ '@sveltejs/kit': ^1 || ^2+ next: '>= 13'+ react: ^18 || ^19 || ^19.0.0-rc+ svelte: '>= 4'+ vue: ^3+ vue-router: ^4+ peerDependenciesMeta:+ '@remix-run/react':+ optional: true+ '@sveltejs/kit':+ optional: true+ next:+ optional: true+ react:+ optional: true+ svelte:+ optional: true+ vue:+ optional: true+ vue-router:+ optional: true++ resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-uHZg7N9ULTVbutaIsDRoUkoS8/h3bdsmVJYZ5l3wv8Cp/6UIIoRDm90hZ+BwxUj/hGBEzLxdHNSKuFpn8WOyZw==}+ engines: {node: ^10 || ^12 || >=14}+ hasBin: true+ peerDependencies:+ postcss: ^8.1.0++ resolution: {integrity: sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==}+ hasBin: true++ resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}+ hasBin: true++ resolution: {integrity: sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==}++ resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}++ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}++ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==}+ peerDependencies:+ react: ^18 || ^19 || ^19.0.0-rc+ react-dom: ^18 || ^19 || ^19.0.0-rc++ resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}++ resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-hTIP/z+t+qKwBDcmmsnmjWTduxCg+5KfdqWQvb2X/8C9+knYY6epN/pfxdDuyVlSVeFz0sM5eEfwIUQ70U4ckg==}++ resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}++ resolution: {integrity: sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==}++ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}++ resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}++ resolution: {integrity: sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==}++ resolution: {integrity: sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc++ resolution: {integrity: sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==}++ resolution: {integrity: sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==}+ engines: {node: '>=10.13.0'}++ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}++ resolution: {integrity: sha512-jt2DW/aNFNwke7AUd+Z+e6pz39KO5rzdbbFCg2sGafS4mk13MI7Z8O5z9cADNn5lhGODIgLwug6TZO2ctf7kcw==}+ engines: {node: '>=6.0.0'}++ resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}++ resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}++ resolution: {integrity: sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc++ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}+ hasBin: true++ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}++ resolution: {integrity: sha512-HXJF3x8w9nQ4jbXRiNppBCqeZPIAfUo8zE/kOEGbW5NZvGc/K7nMxbhIr+YlFlHW5mpbg/YFPdbnCh1wAXCKFg==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm64]+ os: [android]++ resolution: {integrity: sha512-02uTEqf3vIfNMq3h/z2cJfcOXnQ0GRwQrkmPafhueLb2h7mqEidiCzkE4gBMEH65abHRiQvhdcQ+aP0D0g67sg==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm64]+ os: [darwin]++ resolution: {integrity: sha512-1ObhyoCY+tGxtsz1lSx5NXCj3nirk0Y0kB/g8B8DT+sSx4G9djitg9ejFnjb3gJNWo7qXH4DIy2SUHvpoFwfTA==}+ engines: {node: '>= 12.0.0'}+ cpu: [x64]+ os: [darwin]++ resolution: {integrity: sha512-1RINmQKAItO6ISxYgPwszQE1BrsVU5aB45ho6O42mu96UiZBxEXsuQ7cJW4zs4CEodPUioj/QrXW1r9pLUM74A==}+ engines: {node: '>= 12.0.0'}+ cpu: [x64]+ os: [freebsd]++ resolution: {integrity: sha512-OOCm2//MZJ87CdDK62rZIu+aw9gBv4azMJuA8/KB74wmfS3lnC4yoPHm0uXZ/dvNNHmnZnB8XLAZzObeG0nS1g==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm]+ os: [linux]++ resolution: {integrity: sha512-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ resolution: {integrity: sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ resolution: {integrity: sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==}+ engines: {node: '>= 12.0.0'}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ resolution: {integrity: sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==}+ engines: {node: '>= 12.0.0'}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ resolution: {integrity: sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==}+ engines: {node: '>= 12.0.0'}+ cpu: [arm64]+ os: [win32]++ resolution: {integrity: sha512-I9aiFrbd7oYHwlnQDqr1Roz+fTz61oDDJX7n9tYF9FJymH1cIN1DtKw3iYt6b8WZgEjoNwVSncwF4wx/ZedMhw==}+ engines: {node: '>= 12.0.0'}+ cpu: [x64]+ os: [win32]++ resolution: {integrity: sha512-l51N2r93WmGUye3WuFoN5k10zyvrVs0qfKBhyC5ogUQ6Ew6JUSswh78mbSO+IU3nTWsyOArqPCcShdQSadghBQ==}+ engines: {node: '>= 12.0.0'}++ resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}++ resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}+ hasBin: true++ resolution: {integrity: sha512-JJ8GVTQqFwuliifD48U6+h7DXEHdkhJ/E87kksGByII3qHxtPciVb8T8woQONHBQgHVOl7rSMrrip3SeVNy7Fg==}+ peerDependencies:+ react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0++ resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}++ resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true++ resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==}+ peerDependencies:+ react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc+ react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc++ resolution: {integrity: sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==}+ engines: {node: '>=20.9.0'}+ hasBin: true+ peerDependencies:+ '@opentelemetry/api': ^1.1.0+ '@playwright/test': ^1.51.1+ babel-plugin-react-compiler: '*'+ react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0+ react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0+ sass: ^1.3.0+ peerDependenciesMeta:+ '@opentelemetry/api':+ optional: true+ '@playwright/test':+ optional: true+ babel-plugin-react-compiler:+ optional: true+ sass:+ optional: true++ resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==}++ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}++ resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}++ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}+ engines: {node: ^10 || ^12 || >=14}++ resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}+ engines: {node: ^10 || ^12 || >=14}++ resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}++ resolution: {integrity: sha512-IMPiXfXVIAuR5Yk58DDPBC8QKClrhdXV+Tr/alBrwrHUw0qDDYB1m5zPNuTnnPIr/gmJ4ChMxmtqPdxm8+R4Eg==}+ engines: {node: '>=18'}+ peerDependencies:+ react: '>=16.8.0'++ resolution: {integrity: sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==}+ peerDependencies:+ react: ^19.2.4++ resolution: {integrity: sha512-9SUJKCGKo8HUSsCO+y0CtqkqI5nNuaDqTxyqPsZPqIwudpj4rCrAz/jZV+jn57bx5gtZKOh3neQu94DXMc+w5w==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^16.8.0 || ^17 || ^18 || ^19++ resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}++ resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}++ resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ==}+ peerDependencies:+ react: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ react-dom: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc++ resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0++ resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}+ peerDependencies:+ react: '>=16.6.0'+ react-dom: '>=16.6.0'++ resolution: {integrity: sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==}++ resolution: {integrity: sha512-cIvMxDfpAmqAmVgc4yb7pgm/O1tmmkl/CjrvXuW+62/+7jj/iF9Ykm+hb/UJt42TREHMyd3gb+pkgoa2MxgDIw==}+ engines: {node: '>=14'}+ peerDependencies:+ react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0++ resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}++ resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}+ engines: {node: '>=10'}+ hasBin: true++ resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}++ resolution: {integrity: sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==}+ peerDependencies:+ react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc++ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}+ engines: {node: '>= 12.0.0'}+ peerDependencies:+ '@babel/core': '*'+ babel-plugin-macros: '*'+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0'+ peerDependenciesMeta:+ '@babel/core':+ optional: true+ babel-plugin-macros:+ optional: true++ resolution: {integrity: sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g==}++ resolution: {integrity: sha512-yYzTZ4++b7fNYxFfpnberEEKu43w44aqDMNM9MHMmcKuCH7lL8jJ4yJ7LGHv7rSwiqM0nkiobF9I6cLlpS2P7Q==}++ resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}++ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}++ resolution: {integrity: sha512-tXE2TRWrskc4TU3RDd7T8n8Np/wCfoeH9gz22c7PzYqNPQ9FBGFbWWzwL0JyHcFp+jHozmF76tbHfPAx22ua2Q==}++ resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}+ engines: {node: '>=14.17'}+ hasBin: true++ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}++ resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}+ hasBin: true+ peerDependencies:+ browserslist: '>= 4.21.0'++ resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0++ resolution: {integrity: sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc++ resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}++ resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}++snapshots:++ '@alloc/[email protected]': {}++ '@babel/[email protected]': {}++ '@date-fns/[email protected]': {}++ '@emnapi/[email protected]':+ dependencies:+ tslib: 2.8.1+ optional: true++ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/utils': 0.2.10++ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/core': 1.7.4+ '@floating-ui/utils': 0.2.10++ dependencies:+ '@floating-ui/dom': 1.7.5+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ '@floating-ui/[email protected]': {}++ dependencies:+ react-hook-form: 7.71.1([email protected])++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-arm64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-x64': 1.2.4+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-ppc64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-riscv64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-s390x': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-x64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4+ optional: true++ '@img/[email protected]':+ dependencies:+ '@emnapi/runtime': 1.8.1+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5+ '@jridgewell/trace-mapping': 0.3.31++ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31++ '@jridgewell/[email protected]': {}++ '@jridgewell/[email protected]': {}++ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/resolve-uri': 3.1.2+ '@jridgewell/sourcemap-codec': 1.5.5++ '@next/[email protected]': {}++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@next/[email protected]':+ optional: true++ '@radix-ui/[email protected]': {}++ '@radix-ui/[email protected]': {}++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-context': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-context': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ aria-hidden: 1.2.6+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ use-sync-external-store: 1.6.0([email protected])+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/rect': 1.1.1+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.4+ optionalDependencies:+ '@types/react': 19.2.14++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ optionalDependencies:+ '@types/react': 19.2.14+ '@types/react-dom': 19.2.3(@types/[email protected])++ '@radix-ui/[email protected]': {}++ '@swc/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@tailwindcss/[email protected]':+ dependencies:+ '@jridgewell/remapping': 2.3.5+ enhanced-resolve: 5.19.0+ jiti: 2.6.1+ lightningcss: 1.31.1+ magic-string: 0.30.21+ source-map-js: 1.2.1+ tailwindcss: 4.2.0++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optional: true++ '@tailwindcss/[email protected]':+ optionalDependencies:+ '@tailwindcss/oxide-android-arm64': 4.2.0+ '@tailwindcss/oxide-darwin-arm64': 4.2.0+ '@tailwindcss/oxide-darwin-x64': 4.2.0+ '@tailwindcss/oxide-freebsd-x64': 4.2.0+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.0+ '@tailwindcss/oxide-linux-arm64-gnu': 4.2.0+ '@tailwindcss/oxide-linux-arm64-musl': 4.2.0+ '@tailwindcss/oxide-linux-x64-gnu': 4.2.0+ '@tailwindcss/oxide-linux-x64-musl': 4.2.0+ '@tailwindcss/oxide-wasm32-wasi': 4.2.0+ '@tailwindcss/oxide-win32-arm64-msvc': 4.2.0+ '@tailwindcss/oxide-win32-x64-msvc': 4.2.0++ '@tailwindcss/[email protected]':+ dependencies:+ '@alloc/quick-lru': 5.2.0+ '@tailwindcss/node': 4.2.0+ '@tailwindcss/oxide': 4.2.0+ postcss: 8.5.6+ tailwindcss: 4.2.0++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/d3-color': 3.1.3++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/d3-time': 3.0.4++ '@types/[email protected]':+ dependencies:+ '@types/d3-path': 3.1.1++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ undici-types: 6.21.0++ '@types/[email protected](@types/[email protected])':+ dependencies:+ '@types/react': 19.2.14++ '@types/[email protected]':+ dependencies:+ csstype: 3.2.3++ '@vercel/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected])':+ optionalDependencies:+ react: 19.2.4++ dependencies:+ tslib: 2.8.1++ dependencies:+ browserslist: 4.28.1+ caniuse-lite: 1.0.30001769+ fraction.js: 5.3.4+ picocolors: 1.1.1+ postcss: 8.5.6+ postcss-value-parser: 4.2.0++ [email protected]: {}++ dependencies:+ baseline-browser-mapping: 2.9.19+ caniuse-lite: 1.0.30001769+ electron-to-chromium: 1.5.286+ node-releases: 2.0.27+ update-browserslist-db: 1.2.3([email protected])++ [email protected]: {}++ dependencies:+ clsx: 2.1.1++ [email protected]: {}++ [email protected]: {}++ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ transitivePeerDependencies:+ - '@types/react'+ - '@types/react-dom'++ [email protected]: {}++ dependencies:+ internmap: 2.0.3++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ d3-color: 3.1.0++ [email protected]: {}++ dependencies:+ d3-array: 3.2.4+ d3-format: 3.1.2+ d3-interpolate: 3.0.1+ d3-time: 3.1.0+ d3-time-format: 4.1.0++ dependencies:+ d3-path: 3.1.0++ dependencies:+ d3-time: 3.1.0++ dependencies:+ d3-array: 3.2.4++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@babel/runtime': 7.28.6+ csstype: 3.2.3++ [email protected]: {}++ dependencies:+ embla-carousel: 8.6.0+ embla-carousel-reactive-utils: 8.6.0([email protected])+ react: 19.2.4++ dependencies:+ embla-carousel: 8.6.0++ [email protected]: {}++ dependencies:+ graceful-fs: 4.2.11+ tapable: 2.3.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ optional: true++ dependencies:+ detect-libc: 2.1.2+ optionalDependencies:+ lightningcss-android-arm64: 1.31.1+ lightningcss-darwin-arm64: 1.31.1+ lightningcss-darwin-x64: 1.31.1+ lightningcss-freebsd-x64: 1.31.1+ lightningcss-linux-arm-gnueabihf: 1.31.1+ lightningcss-linux-arm64-gnu: 1.31.1+ lightningcss-linux-arm64-musl: 1.31.1+ lightningcss-linux-x64-gnu: 1.31.1+ lightningcss-linux-x64-musl: 1.31.1+ lightningcss-win32-arm64-msvc: 1.31.1+ lightningcss-win32-x64-msvc: 1.31.1++ [email protected]: {}++ dependencies:+ js-tokens: 4.0.0++ dependencies:+ react: 19.2.4++ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5++ [email protected]: {}++ dependencies:+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ dependencies:+ '@next/env': 16.1.6+ '@swc/helpers': 0.5.15+ baseline-browser-mapping: 2.9.19+ caniuse-lite: 1.0.30001769+ postcss: 8.4.31+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ styled-jsx: 5.1.6([email protected])+ optionalDependencies:+ '@next/swc-darwin-arm64': 16.1.6+ '@next/swc-darwin-x64': 16.1.6+ '@next/swc-linux-arm64-gnu': 16.1.6+ '@next/swc-linux-arm64-musl': 16.1.6+ '@next/swc-linux-x64-gnu': 16.1.6+ '@next/swc-linux-x64-musl': 16.1.6+ '@next/swc-win32-arm64-msvc': 16.1.6+ '@next/swc-win32-x64-msvc': 16.1.6+ sharp: 0.34.5+ transitivePeerDependencies:+ - '@babel/core'+ - babel-plugin-macros++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ nanoid: 3.3.11+ picocolors: 1.1.1+ source-map-js: 1.2.1++ dependencies:+ nanoid: 3.3.11+ picocolors: 1.1.1+ source-map-js: 1.2.1++ dependencies:+ loose-envify: 1.4.0+ object-assign: 4.1.1+ react-is: 16.13.1++ dependencies:+ '@date-fns/tz': 1.4.1+ date-fns: 4.1.0+ date-fns-jalali: 4.1.0-0+ react: 19.2.4++ dependencies:+ react: 19.2.4+ scheduler: 0.27.0++ dependencies:+ react: 19.2.4++ [email protected]: {}++ [email protected]: {}++ dependencies:+ react: 19.2.4+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ dependencies:+ fast-equals: 5.4.0+ prop-types: 15.8.1+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ dependencies:+ get-nonce: 1.0.1+ react: 19.2.4+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ '@babel/runtime': 7.28.6+ dom-helpers: 5.2.1+ loose-envify: 1.4.0+ prop-types: 15.8.1+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ [email protected]: {}++ dependencies:+ decimal.js-light: 2.5.1++ dependencies:+ clsx: 2.1.1+ eventemitter3: 4.0.7+ lodash: 4.17.23+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ react-is: 18.3.1+ recharts-scale: 0.4.5+ tiny-invariant: 1.3.3+ victory-vendor: 36.9.2++ [email protected]: {}++ optional: true++ dependencies:+ '@img/colour': 1.0.0+ detect-libc: 2.1.2+ semver: 7.7.4+ optionalDependencies:+ '@img/sharp-darwin-arm64': 0.34.5+ '@img/sharp-darwin-x64': 0.34.5+ '@img/sharp-libvips-darwin-arm64': 1.2.4+ '@img/sharp-libvips-darwin-x64': 1.2.4+ '@img/sharp-libvips-linux-arm': 1.2.4+ '@img/sharp-libvips-linux-arm64': 1.2.4+ '@img/sharp-libvips-linux-ppc64': 1.2.4+ '@img/sharp-libvips-linux-riscv64': 1.2.4+ '@img/sharp-libvips-linux-s390x': 1.2.4+ '@img/sharp-libvips-linux-x64': 1.2.4+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4+ '@img/sharp-linux-arm': 0.34.5+ '@img/sharp-linux-arm64': 0.34.5+ '@img/sharp-linux-ppc64': 0.34.5+ '@img/sharp-linux-riscv64': 0.34.5+ '@img/sharp-linux-s390x': 0.34.5+ '@img/sharp-linux-x64': 0.34.5+ '@img/sharp-linuxmusl-arm64': 0.34.5+ '@img/sharp-linuxmusl-x64': 0.34.5+ '@img/sharp-wasm32': 0.34.5+ '@img/sharp-win32-arm64': 0.34.5+ '@img/sharp-win32-ia32': 0.34.5+ '@img/sharp-win32-x64': 0.34.5+ optional: true++ dependencies:+ react: 19.2.4+ react-dom: 19.2.4([email protected])++ [email protected]: {}++ dependencies:+ client-only: 0.0.1+ react: 19.2.4++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ browserslist: 4.28.1+ escalade: 3.2.0+ picocolors: 1.1.1++ dependencies:+ react: 19.2.4+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ detect-node-es: 1.1.0+ react: 19.2.4+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.2.14++ dependencies:+ react: 19.2.4++ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.4+ react-dom: 19.2.4([email protected])+ transitivePeerDependencies:+ - '@types/react'+ - '@types/react-dom'++ dependencies:+ '@types/d3-array': 3.2.2+ '@types/d3-ease': 3.0.2+ '@types/d3-interpolate': 3.0.4+ '@types/d3-scale': 4.0.9+ '@types/d3-shape': 3.1.8+ '@types/d3-time': 3.0.4+ '@types/d3-timer': 3.0.2+ d3-array: 3.2.4+ d3-ease: 3.0.1+ d3-interpolate: 3.0.1+ d3-scale: 4.0.2+ d3-shape: 3.2.0+ d3-time: 3.1.0+ d3-timer: 3.0.1++ [email protected]: {}diff --git a/examples/wine-recommender/app/postcss.config.mjs b/examples/wine-recommender/app/postcss.config.mjsnew file mode 100644index 000000000..a869506ee--- /dev/null+++ b/examples/wine-recommender/app/postcss.config.mjs@@ -0,0 +1,8 @@+/** @type {import('postcss-load-config').Config} */+const config = {+ plugins: {+ '@tailwindcss/postcss': {},+ },+}++export default configdiff --git a/examples/wine-recommender/app/public/apple-icon.png b/examples/wine-recommender/app/public/apple-icon.pngnew file mode 100644index 000000000..f9418b406Binary files /dev/null and b/examples/wine-recommender/app/public/apple-icon.png differdiff --git a/examples/wine-recommender/app/public/icon-dark-32x32.png b/examples/wine-recommender/app/public/icon-dark-32x32.pngnew file mode 100644index 000000000..12c825a10Binary files /dev/null and b/examples/wine-recommender/app/public/icon-dark-32x32.png differdiff --git a/examples/wine-recommender/app/public/icon-light-32x32.png b/examples/wine-recommender/app/public/icon-light-32x32.pngnew file mode 100644index 000000000..a3462ccd8Binary files /dev/null and b/examples/wine-recommender/app/public/icon-light-32x32.png differdiff --git a/examples/wine-recommender/app/public/icon.svg b/examples/wine-recommender/app/public/icon.svgnew file mode 100644index 000000000..ba364f464--- /dev/null+++ b/examples/wine-recommender/app/public/icon.svg@@ -0,0 +1,21 @@+<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg">+ <style>+ @media (prefers-color-scheme: light) {+ .background { fill: #f7f1e8; }+ .glass { fill: #722f37; }+ .wine { fill: #8e3b46; }+ .stem { fill: #4c2430; }+ }+ @media (prefers-color-scheme: dark) {+ .background { fill: #1f1618; }+ .glass { fill: #f2e6d8; }+ .wine { fill: #b85a67; }+ .stem { fill: #d8c2ac; }+ }+ </style>+ <rect class="background" width="180" height="180" rx="36" />+ <path class="glass" d="M50 38H130C130 78 118 103 101 116V126H118V138H62V126H79V116C62 103 50 78 50 38Z"/>+ <path class="wine" d="M62 50H118C116 72 110 86 101 95H79C70 86 64 72 62 50Z"/>+ <rect class="stem" x="85" y="126" width="10" height="20" rx="5"/>+ <rect class="stem" x="67" y="146" width="46" height="8" rx="4"/>+</svg>diff --git a/examples/wine-recommender/app/public/placeholder-logo.png b/examples/wine-recommender/app/public/placeholder-logo.pngnew file mode 100644index 000000000..8a792ac2dBinary files /dev/null and b/examples/wine-recommender/app/public/placeholder-logo.png differdiff --git a/examples/wine-recommender/app/public/placeholder-logo.svg b/examples/wine-recommender/app/public/placeholder-logo.svgnew file mode 100644index 000000000..b1695aafc--- /dev/null+++ b/examples/wine-recommender/app/public/placeholder-logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="215" height="48" fill="none"><path fill="#000" d="M57.588 9.6h6L73.828 38h-5.2l-2.36-6.88h-11.36L52.548 38h-5.2l10.24-28.4Zm7.16 17.16-4.16-12.16-4.16 12.16h8.32Zm23.694-2.24c-.186-1.307-.706-2.32-1.56-3.04-.853-.72-1.866-1.08-3.04-1.08-1.68 0-2.986.613-3.92 1.84-.906 1.227-1.36 2.947-1.36 5.16s.454 3.933 1.36 5.16c.934 1.227 2.24 1.84 3.92 1.84 1.254 0 2.307-.373 3.16-1.12.854-.773 1.387-1.867 1.6-3.28l5.12.24c-.186 1.68-.733 3.147-1.64 4.4-.906 1.227-2.08 2.173-3.52 2.84-1.413.667-2.986 1-4.72 1-2.08 0-3.906-.453-5.48-1.36-1.546-.907-2.76-2.2-3.64-3.88-.853-1.68-1.28-3.627-1.28-5.84 0-2.24.427-4.187 1.28-5.84.88-1.68 2.094-2.973 3.64-3.88 1.574-.907 3.4-1.36 5.48-1.36 1.68 0 3.227.32 4.64.96 1.414.64 2.56 1.56 3.44 2.76.907 1.2 1.454 2.6 1.64 4.2l-5.12.28Zm11.486-7.72.12 3.4c.534-1.227 1.307-2.173 2.32-2.84 1.04-.693 2.267-1.04 3.68-1.04 1.494 0 2.76.387 3.8 1.16 1.067.747 1.827 1.813 2.28 3.2.507-1.44 1.294-2.52 2.36-3.24 1.094-.747 2.414-1.12 3.96-1.12 1.414 0 2.64.307 3.68.92s1.84 1.52 2.4 2.72c.56 1.2.84 2.667.84 4.4V38h-4.96V25.92c0-1.813-.293-3.187-.88-4.12-.56-.96-1.413-1.44-2.56-1.44-.906 0-1.68.213-2.32.64-.64.427-1.133 1.053-1.48 1.88-.32.827-.48 1.84-.48 3.04V38h-4.56V25.92c0-1.2-.133-2.213-.4-3.04-.24-.827-.626-1.453-1.16-1.88-.506-.427-1.133-.64-1.88-.64-.906 0-1.68.227-2.32.68-.64.427-1.133 1.053-1.48 1.88-.32.827-.48 1.827-.48 3V38h-4.96V16.8h4.48Zm26.723 10.6c0-2.24.427-4.187 1.28-5.84.854-1.68 2.067-2.973 3.64-3.88 1.574-.907 3.4-1.36 5.48-1.36 1.84 0 3.494.413 4.96 1.24 1.467.827 2.64 2.08 3.52 3.76.88 1.653 1.347 3.693 1.4 6.12v1.32h-15.08c.107 1.813.614 3.227 1.52 4.24.907.987 2.134 1.48 3.68 1.48.987 0 1.88-.253 2.68-.76a4.803 4.803 0 0 0 1.84-2.2l5.08.36c-.64 2.027-1.84 3.64-3.6 4.84-1.733 1.173-3.733 1.76-6 1.76-2.08 0-3.906-.453-5.48-1.36-1.573-.907-2.786-2.2-3.64-3.88-.853-1.68-1.28-3.627-1.28-5.84Zm15.16-2.04c-.213-1.733-.76-3.013-1.64-3.84-.853-.827-1.893-1.24-3.12-1.24-1.44 0-2.6.453-3.48 1.36-.88.88-1.44 2.12-1.68 3.72h9.92ZM163.139 9.6V38h-5.04V9.6h5.04Zm8.322 7.2.24 5.88-.64-.36c.32-2.053 1.094-3.56 2.32-4.52 1.254-.987 2.787-1.48 4.6-1.48 2.32 0 4.107.733 5.36 2.2 1.254 1.44 1.88 3.387 1.88 5.84V38h-4.96V25.92c0-1.253-.12-2.28-.36-3.08-.24-.8-.64-1.413-1.2-1.84-.533-.427-1.253-.64-2.16-.64-1.44 0-2.573.48-3.4 1.44-.8.933-1.2 2.307-1.2 4.12V38h-4.96V16.8h4.48Zm30.003 7.72c-.186-1.307-.706-2.32-1.56-3.04-.853-.72-1.866-1.08-3.04-1.08-1.68 0-2.986.613-3.92 1.84-.906 1.227-1.36 2.947-1.36 5.16s.454 3.933 1.36 5.16c.934 1.227 2.24 1.84 3.92 1.84 1.254 0 2.307-.373 3.16-1.12.854-.773 1.387-1.867 1.6-3.28l5.12.24c-.186 1.68-.733 3.147-1.64 4.4-.906 1.227-2.08 2.173-3.52 2.84-1.413.667-2.986 1-4.72 1-2.08 0-3.906-.453-5.48-1.36-1.546-.907-2.76-2.2-3.64-3.88-.853-1.68-1.28-3.627-1.28-5.84 0-2.24.427-4.187 1.28-5.84.88-1.68 2.094-2.973 3.64-3.88 1.574-.907 3.4-1.36 5.48-1.36 1.68 0 3.227.32 4.64.96 1.414.64 2.56 1.56 3.44 2.76.907 1.2 1.454 2.6 1.64 4.2l-5.12.28Zm11.443 8.16V38h-5.6v-5.32h5.6Z"/><path fill="#171717" fill-rule="evenodd" d="m7.839 40.783 16.03-28.054L20 6 0 40.783h7.839Zm8.214 0H40L27.99 19.894l-4.02 7.032 3.976 6.914H20.02l-3.967 6.943Z" clip-rule="evenodd"/></svg>\ No newline at end of filediff --git a/examples/wine-recommender/app/public/placeholder-user.jpg b/examples/wine-recommender/app/public/placeholder-user.jpgnew file mode 100644index 000000000..6fa7543d3Binary files /dev/null and b/examples/wine-recommender/app/public/placeholder-user.jpg differdiff --git a/examples/wine-recommender/app/public/placeholder.jpg b/examples/wine-recommender/app/public/placeholder.jpgnew file mode 100644index 000000000..6bfe96336Binary files /dev/null and b/examples/wine-recommender/app/public/placeholder.jpg differdiff --git a/examples/wine-recommender/app/public/placeholder.svg b/examples/wine-recommender/app/public/placeholder.svgnew file mode 100644index 000000000..e763910b2--- /dev/null+++ b/examples/wine-recommender/app/public/placeholder.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" fill="none"><rect width="1200" height="1200" fill="#EAEAEA" rx="3"/><g opacity=".5"><g opacity=".5"><path fill="#FAFAFA" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/></g><path stroke="url(#a)" stroke-width="2.418" d="M0-1.209h553.581" transform="scale(1 -1) rotate(45 1163.11 91.165)"/><path stroke="url(#b)" stroke-width="2.418" d="M404.846 598.671h391.726"/><path stroke="url(#c)" stroke-width="2.418" d="M599.5 795.742V404.017"/><path stroke="url(#d)" stroke-width="2.418" d="m795.717 796.597-391.441-391.44"/><path fill="#fff" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/><g clip-path="url(#e)"><path fill="#666" fill-rule="evenodd" d="M616.426 586.58h-31.434v16.176l3.553-3.554.531-.531h9.068l.074-.074 8.463-8.463h2.565l7.18 7.181V586.58Zm-15.715 14.654 3.698 3.699 1.283 1.282-2.565 2.565-1.282-1.283-5.2-5.199h-6.066l-5.514 5.514-.073.073v2.876a2.418 2.418 0 0 0 2.418 2.418h26.598a2.418 2.418 0 0 0 2.418-2.418v-8.317l-8.463-8.463-7.181 7.181-.071.072Zm-19.347 5.442v4.085a6.045 6.045 0 0 0 6.046 6.045h26.598a6.044 6.044 0 0 0 6.045-6.045v-7.108l1.356-1.355-1.282-1.283-.074-.073v-17.989h-38.689v23.43l-.146.146.146.147Z" clip-rule="evenodd"/></g><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/></g><defs><linearGradient id="a" x1="554.061" x2="-.48" y1=".083" y2=".087" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="796.912" x2="404.507" y1="599.963" y2="599.965" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="600.792" x2="600.794" y1="403.677" y2="796.082" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="404.85" x2="796.972" y1="403.903" y2="796.02" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><clipPath id="e"><path fill="#fff" d="M581.364 580.535h38.689v38.689h-38.689z"/></clipPath></defs></svg>\ No newline at end of filediff --git a/examples/wine-recommender/app/tsconfig.json b/examples/wine-recommender/app/tsconfig.jsonnew file mode 100644index 000000000..48d6d8209--- /dev/null+++ b/examples/wine-recommender/app/tsconfig.json@@ -0,0 +1,41 @@+{+ "compilerOptions": {+ "lib": [+ "dom",+ "dom.iterable",+ "esnext"+ ],+ "allowJs": true,+ "target": "ES6",+ "skipLibCheck": true,+ "strict": true,+ "noEmit": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "bundler",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "react-jsx",+ "incremental": true,+ "plugins": [+ {+ "name": "next"+ }+ ],+ "paths": {+ "@/*": [+ "./*"+ ]+ }+ },+ "include": [+ "next-env.d.ts",+ "**/*.ts",+ "**/*.tsx",+ ".next/types/**/*.ts",+ ".next/dev/types/**/*.ts"+ ],+ "exclude": [+ "node_modules"+ ]+}diff --git a/examples/wine-recommender/compose.yml b/examples/wine-recommender/compose.ymlnew file mode 100644index 000000000..35df5df6e--- /dev/null+++ b/examples/wine-recommender/compose.yml@@ -0,0 +1,33 @@+services:+ backend:+ build:+ context: .+ dockerfile: Dockerfile.backend+ env_file:+ - .env+ ports:+ - "8000:8000"+ volumes:+ - .:/app+ restart: unless-stopped++ frontend:+ build:+ context: ./app+ dockerfile: ../Dockerfile.frontend+ depends_on:+ - backend+ environment:+ NEXT_PUBLIC_API_BASE_URL: http://localhost:8000+ WATCHPACK_POLLING: "true"+ ports:+ - "3000:3000"+ volumes:+ - ./app:/app+ - frontend_node_modules:/app/node_modules+ - frontend_next:/app/.next+ restart: unless-stopped++volumes:+ frontend_node_modules:+ frontend_next:diff --git a/examples/wine-recommender/db_creation_state.json b/examples/wine-recommender/db_creation_state.jsonnew file mode 100644index 000000000..0fbb0c155--- /dev/null+++ b/examples/wine-recommender/db_creation_state.json@@ -0,0 +1,122 @@+{+ "current_slice_index": 12,+ "last_error": null,+ "last_unique_count": 1758,+ "next_page": 131,+ "slice_states": {+ "all|4|0|25": {+ "last_error": null,+ "last_unique_count": 0,+ "next_page": 1,+ "stalled_batches": 0,+ "status": "not_started"+ },+ "ar|1|0|25": {+ "last_error": null,+ "last_unique_count": 5293,+ "next_page": 41,+ "stalled_batches": 0,+ "status": "completed"+ },+ "au|1|0|25": {+ "last_error": null,+ "last_unique_count": 5293,+ "next_page": 41,+ "stalled_batches": 0,+ "status": "completed"+ },+ "au|2|0|25": {+ "last_error": null,+ "last_unique_count": 5297,+ "next_page": 91,+ "stalled_batches": 0,+ "status": "completed"+ },+ "es|1|0|25": {+ "last_error": null,+ "last_unique_count": 5297,+ "next_page": 41,+ "stalled_batches": 0,+ "status": "completed"+ },+ "fr|1|0|20": {+ "last_error": null,+ "last_unique_count": 2635,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "fr|2|0|20": {+ "last_error": null,+ "last_unique_count": 3637,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "fr|3|0|30": {+ "last_error": null,+ "last_unique_count": 5218,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "it|1|0|25": {+ "last_error": null,+ "last_unique_count": 5297,+ "next_page": 41,+ "stalled_batches": 0,+ "status": "completed"+ },+ "it|2|0|25": {+ "last_error": null,+ "last_unique_count": 5297,+ "next_page": 41,+ "stalled_batches": 0,+ "status": "completed"+ },+ "pt|1|0|25": {+ "last_error": null,+ "last_unique_count": 5297,+ "next_page": 41,+ "stalled_batches": 4,+ "status": "in_progress"+ },+ "us|1|0|20": {+ "last_error": null,+ "last_unique_count": 5234,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "us|2|0|20": {+ "last_error": null,+ "last_unique_count": 5244,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "us|3|0|30": {+ "last_error": null,+ "last_unique_count": 5293,+ "next_page": 131,+ "stalled_batches": 0,+ "status": "completed"+ },+ "za|1|0|25": {+ "last_error": null,+ "last_unique_count": 0,+ "next_page": 1,+ "stalled_batches": 0,+ "status": "not_started"+ },+ "za|2|0|25": {+ "last_error": null,+ "last_unique_count": 0,+ "next_page": 1,+ "stalled_batches": 0,+ "status": "not_started"+ }+ },+ "stalled_batches": 7,+ "status": "in_progress"+}\ No newline at end of filediff --git a/examples/wine-recommender/requirements.txt b/examples/wine-recommender/requirements.txtnew file mode 100644index 000000000..a8b784ebb--- /dev/null+++ b/examples/wine-recommender/requirements.txt@@ -0,0 +1,59 @@+aiohappyeyeballs==2.6.1+aiohttp==3.13.5+aiosignal==1.4.0+annotated-types==0.7.0+anyio==4.13.0+attrs==26.1.0+certifi==2026.2.25+charset-normalizer==3.4.6+click==8.3.1+deskew==1.5.3+distro==1.9.0+dotenv==0.9.9+fastapi==0.116.1+frozenlist==1.8.0+greenlet==3.3.2+h11==0.16.0+httpcore==1.0.9+httpx==0.28.1+idna==3.11+ImageIO==2.37.3+jiter==0.13.0+joblib==1.5.3+lazy-loader==0.5+msgpack==1.1.2+msgpack-numpy==0.4.8+multidict==6.7.1+networkx==3.6.1+numpy==2.2.6+openai==2.30.0+opencv-python==4.12.0.88+packaging==26.0+pandas==3.0.1+pillow==11.3.0+propcache==0.4.1+pydantic==2.11.10+pydantic_core==2.33.2+python-dateutil==2.9.0.post0+python-dotenv==1.1.1+python-multipart==0.0.20+PyYAML==6.0.3+RapidFuzz==3.14.1+requests==2.33.0+scikit-image==0.26.0+scikit-learn==1.8.0+scipy==1.17.1+sie-sdk==0.1.9+six==1.17.0+sniffio==1.3.1+SQLAlchemy==2.0.43+starlette==0.47.3+threadpoolctl==3.6.0+tifffile==2026.3.3+tqdm==4.67.3+typing-inspection==0.4.2+typing_extensions==4.15.0+urllib3==2.6.3+uvicorn==0.35.0+websockets==14.2+yarl==1.23.0diff --git a/examples/wine-recommender/test/compare_rerank_methods.py b/examples/wine-recommender/test/compare_rerank_methods.pynew file mode 100644index 000000000..d5dc3b3d5--- /dev/null+++ b/examples/wine-recommender/test/compare_rerank_methods.py@@ -0,0 +1,221 @@+import os+import sys+from pathlib import Path++PROJECT_ROOT = Path(__file__).resolve().parents[1]+if str(PROJECT_ROOT) not in sys.path:+ sys.path.insert(0, str(PROJECT_ROOT))++import pandas as pd+from dotenv import load_dotenv+from wine_flavor import datasource, engine, pretty_print, transforms++load_dotenv()+++def _require_env(name):+ value = os.getenv(name)+ if value is None or value == "":+ raise ValueError(f"Missing required environment variable: {name}")+ return value+++def _require_float_env(name, fallback_name=None):+ value = os.getenv(name)+ if (value is None or value == "") and fallback_name:+ value = os.getenv(fallback_name)+ if value is None or value == "":+ if fallback_name:+ raise ValueError(f"Missing required environment variable: {name} (or legacy {fallback_name})")+ raise ValueError(f"Missing required environment variable: {name}")+ return float(value)+++try:+ SIE_BASE_URL = _require_env("CLUSTER_URL")+ SIE_API_KEY = _require_env("API_KEY")+ SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")+ SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")+ RERANK_ALPHA = _require_float_env("RERANK_ALPHA")+ CUSTOM_RERANK_A = _require_float_env("CUSTOM_RERANK_A")+ CUSTOM_RERANK_NO_REVIEW_PENALTY = float(_require_env("CUSTOM_RERANK_NO_REVIEW_PENALTY"))+except ValueError as exc:+ raise ValueError(f"{exc}. Add it to your .env file.") from exc++COSINE_TOP_K = 5+REVIEWS_PER_WINE = 5+RERANK_MAX_TERMS = 12+REFERENCE_ROW_INDICES = []+FETCH_NUM_PAGES = 5++USER_PREFERENCES = {+ "structure": {+ "acidity": 0.8,+ "fizziness": 0.1,+ "intensity": 0.5,+ "sweetness": 0.2,+ "tannin": 0.1,+ },+ "flavors": {+ "orange zest": 1.0,+ "minerals": 0.8,+ "floral": 0.6,+ },+}+def run_no_review_penalty_test():+ wines = pd.DataFrame(+ [+ {+ "wine_id": 1,+ "wine_name": "reviewed-white",+ "winery_name": "test-cellar",+ "vintage_year": "2023",+ "rating_average": 4.1,+ "country_name": "France",+ "region_name": "Loire",+ "price_amount": 12.0,+ "price_currency": "USD",+ "taste_acidity": 4.0,+ "taste_fizziness": 0.0,+ "taste_intensity": 3.0,+ "taste_sweetness": 1.0,+ "taste_tannin": 0.0,+ "wine_flavors": [+ {+ "group": "citrus_fruit",+ "primary_keywords": [{"name": "orange zest", "count": 3}],+ "secondary_keywords": [{"name": "floral", "count": 2}],+ }+ ],+ "wine_reviews": [+ {"note": "Bright citrus and floral finish."},+ {"note": "Mineral white with crisp orange zest."},+ ],+ "review_count": 2,+ },+ {+ "wine_id": 2,+ "wine_name": "no-review-white",+ "winery_name": "test-cellar",+ "vintage_year": "2022",+ "rating_average": 4.0,+ "country_name": "France",+ "region_name": "Loire",+ "price_amount": 11.0,+ "price_currency": "USD",+ "taste_acidity": 4.0,+ "taste_fizziness": 0.0,+ "taste_intensity": 3.0,+ "taste_sweetness": 1.0,+ "taste_tannin": 0.0,+ "wine_flavors": [+ {+ "group": "citrus_fruit",+ "primary_keywords": [{"name": "orange zest", "count": 3}],+ "secondary_keywords": [{"name": "floral", "count": 2}],+ }+ ],+ "wine_reviews": [],+ "review_count": 0,+ },+ ]+ )++ print("\n--- Custom No-Review Penalty Test ---")+ print(f"Penalty factor: {CUSTOM_RERANK_NO_REVIEW_PENALTY}")+ custom_matches = engine.rerank_wines_with_custom_embeddings(+ wines,+ candidate_row_indices=[0, 1],+ user_preferences=USER_PREFERENCES,+ base_url=SIE_BASE_URL,+ model_name=SIE_EMBEDDING_MODEL,+ a=CUSTOM_RERANK_A,+ alpha=RERANK_ALPHA,+ no_review_penalty=CUSTOM_RERANK_NO_REVIEW_PENALTY,+ )+ custom_results = pretty_print.build_results_frame(wines, custom_matches)+ pretty_print.print_top_results(custom_results)++ top_row = custom_matches[0]+ no_review_row = next(match for match in custom_matches if match["review_count"] == 0)+ if top_row["review_count"] > 0 and no_review_row["rerank_score"] <= top_row["rerank_score"]:+ print("PASS: no-review penalty lowers the wine without reviews.")+ else:+ print("FAIL: no-review penalty behavior did not match expectations.")+ raise SystemExit(1)+++def main():+ print("User query:")+ print(+ "- structure:",+ ", ".join(f"{name}={value}" for name, value in USER_PREFERENCES["structure"].items()),+ )+ print(+ "- flavors:",+ ", ".join(f"{name}={value}" for name, value in USER_PREFERENCES["flavors"].items()),+ )++ print("\nFetching wines...", flush=True)+ wines = datasource.fetch_vivino_wines(num_pages=FETCH_NUM_PAGES)+ print("Fetching reviews...", flush=True)+ wines = datasource.attach_vivino_reviews(+ wines,+ review_pages=1,+ reviews_per_page=REVIEWS_PER_WINE,+ language="en",+ )++ print("Building vectors...", flush=True)+ unique_flavors = transforms.unique_flavors(wines)+ flavor_idf = engine.build_flavor_idf(wines)+ wine_matrix = engine.build_wine_matrix(wines, unique_flavors, flavor_idf)+ user_vector = engine.build_user_vector(USER_PREFERENCES, unique_flavors, flavor_idf)+ top_matches = engine.cosine_similarity_search(user_vector, wine_matrix, top_k=COSINE_TOP_K)+ candidate_row_indices = [match["row_index"] for match in top_matches]++ print("\nCandidate rows from cosine retrieval:")+ for match in top_matches:+ wine_row = wines.iloc[match["row_index"]]+ print(+ f"- row_index={match['row_index']} | "+ f"wine_id={wine_row['wine_id']} | "+ f"wine_name={wine_row['wine_name']} | "+ f"similarity_score={match['similarity_score']:.4f}"+ )++ print("\nRunning standard reranker...", flush=True)+ standard_matches = engine.rerank_wines_with_sie_reviews(+ wines,+ candidate_row_indices,+ USER_PREFERENCES,+ unique_flavors,+ flavor_idf,+ reference_row_indices=REFERENCE_ROW_INDICES,+ max_terms=RERANK_MAX_TERMS,+ base_url=SIE_BASE_URL,+ model_name=SIE_RERANK_MODEL,+ )+ standard_results = pretty_print.build_results_frame(wines, standard_matches)+ print("\n--- Standard Reranker ---")+ pretty_print.print_top_results(standard_results)++ print("\nRunning custom reranker...", flush=True)+ custom_matches = engine.rerank_wines_with_custom_embeddings(+ wines,+ candidate_row_indices,+ USER_PREFERENCES,+ base_url=SIE_BASE_URL,+ model_name=SIE_EMBEDDING_MODEL,+ a=CUSTOM_RERANK_A,+ alpha=RERANK_ALPHA,+ no_review_penalty=CUSTOM_RERANK_NO_REVIEW_PENALTY,+ )+ custom_results = pretty_print.build_results_frame(wines, custom_matches)+ print("\n--- Custom Reranker ---")+ pretty_print.print_top_results(custom_results)+ run_no_review_penalty_test()+++if __name__ == "__main__":+ main()diff --git a/examples/wine-recommender/test/eval_queries.py b/examples/wine-recommender/test/eval_queries.pynew file mode 100644index 000000000..7ff51b7f2--- /dev/null+++ b/examples/wine-recommender/test/eval_queries.py@@ -0,0 +1,180 @@+import os+import sys+from pathlib import Path++import pandas as pd++PROJECT_ROOT = Path(__file__).resolve().parents[1]+if str(PROJECT_ROOT) not in sys.path:+ sys.path.insert(0, str(PROJECT_ROOT))++from dotenv import load_dotenv+from wine_flavor import datasource, engine, pretty_print, transforms++load_dotenv()++SIE_BASE_URL = os.getenv("CLUSTER_URL")+SIE_API_KEY = os.getenv("API_KEY")+SIE_RERANK_MODEL = "BAAI/bge-reranker-v2-m3"+ALLOWED_SIE_RERANK_MODELS = {+ "BAAI/bge-reranker-v2-m3",+ "jinaai/jina-reranker-v2-base-multilingual",+}+COSINE_TOP_K = 3+REVIEWS_PER_WINE = 5+RERANK_MAX_TERMS = 12+REFERENCE_ROW_INDICES = []+FETCH_NUM_PAGES = 5++SCENARIOS = [+ {+ "name": "Fruity Red",+ "user_preferences": {+ "structure": {+ "acidity": 0.7,+ "fizziness": 0.0,+ "intensity": 0.8,+ "sweetness": 0.3,+ "tannin": 0.6,+ },+ "flavors": {+ "black cherry": 1.0,+ "plum": 0.9,+ "vanilla": 0.7,+ "oak": 0.6,+ "earthy": 0.8,+ },+ },+ },+ {+ "name": "Earthy Red",+ "user_preferences": {+ "structure": {+ "acidity": 0.6,+ "fizziness": 0.0,+ "intensity": 0.7,+ "sweetness": 0.2,+ "tannin": 0.7,+ },+ "flavors": {+ "earthy": 1.0,+ "leather": 0.8,+ "smoke": 0.7,+ "tobacco": 0.7,+ "minerals": 0.5,+ },+ },+ },+ {+ "name": "Crisp White",+ "user_preferences": {+ "structure": {+ "acidity": 0.8,+ "fizziness": 0.1,+ "intensity": 0.5,+ "sweetness": 0.2,+ "tannin": 0.1,+ },+ "flavors": {+ "citrus": 1.0,+ "orange zest": 0.8,+ "minerals": 0.7,+ "floral": 0.5,+ },+ },+ },+]+++def validate_config():+ if not SIE_BASE_URL:+ raise ValueError("Missing CLUSTER_URL in the environment.")+ if not SIE_API_KEY:+ raise ValueError("Missing API_KEY in the environment.")+ if SIE_RERANK_MODEL not in ALLOWED_SIE_RERANK_MODELS:+ raise ValueError(+ f"Unsupported SIE reranker model '{SIE_RERANK_MODEL}'. "+ f"Choose one of: {sorted(ALLOWED_SIE_RERANK_MODELS)}"+ )+++def build_cosine_results_frame(wines, top_matches):+ match_rows = []+ for rank, match in enumerate(top_matches):+ match_rows.append(+ {+ "row_index": match["row_index"],+ "cosine_score": match["similarity_score"],+ "cosine_rank": rank,+ }+ )++ match_frame = pd.DataFrame(match_rows)+ return match_frame.merge(+ wines.reset_index().rename(columns={"index": "row_index"})[+ [+ "row_index",+ "wine_id",+ "wine_name",+ "winery_name",+ "vintage_year",+ "rating_average",+ "country_name",+ "region_name",+ "price_amount",+ "price_currency",+ "review_count",+ ]+ ],+ on="row_index",+ how="left",+ ).sort_values(["cosine_rank", "cosine_score"], ascending=[True, False])+++def main():+ validate_config()++ print("Fetching wines...", flush=True)+ wines = datasource.fetch_vivino_wines(num_pages=FETCH_NUM_PAGES)+ print("Fetching reviews...", flush=True)+ wines = datasource.attach_vivino_reviews(+ wines,+ review_pages=1,+ reviews_per_page=REVIEWS_PER_WINE,+ language="en",+ )++ print("Building shared vectors...", flush=True)+ unique_flavors = transforms.unique_flavors(wines)+ flavor_idf = engine.build_flavor_idf(wines)+ wine_matrix = engine.build_wine_matrix(wines, unique_flavors, flavor_idf)++ for scenario in SCENARIOS:+ scenario_name = scenario["name"]+ user_preferences = scenario["user_preferences"]+ user_vector = engine.build_user_vector(user_preferences, unique_flavors, flavor_idf)+ top_matches = engine.cosine_similarity_search(user_vector, wine_matrix, top_k=COSINE_TOP_K)+ candidate_row_indices = [match["row_index"] for match in top_matches]++ print(f"\n=== {scenario_name} ===", flush=True)+ cosine_results = build_cosine_results_frame(wines, top_matches)+ print("\n--- Cosine Top Results ---")+ print(cosine_results.round({"cosine_score": 4}).to_string(index=False))++ reranked_matches = engine.rerank_wines_with_sie_reviews(+ wines,+ candidate_row_indices,+ user_preferences,+ unique_flavors,+ flavor_idf,+ reference_row_indices=REFERENCE_ROW_INDICES,+ max_terms=RERANK_MAX_TERMS,+ base_url=SIE_BASE_URL,+ model_name=SIE_RERANK_MODEL,+ )+ top_results = pretty_print.build_results_frame(wines, reranked_matches)+ pretty_print.print_top_results(top_results)+++if __name__ == "__main__":+ main()diff --git a/examples/wine-recommender/test/test_images/dutton_test.png b/examples/wine-recommender/test/test_images/dutton_test.pngnew file mode 100644index 000000000..4f42338faBinary files /dev/null and b/examples/wine-recommender/test/test_images/dutton_test.png differdiff --git a/examples/wine-recommender/test/test_ocr_image.py b/examples/wine-recommender/test/test_ocr_image.pynew file mode 100644index 000000000..1a88c186b--- /dev/null+++ b/examples/wine-recommender/test/test_ocr_image.py@@ -0,0 +1,30 @@+from pathlib import Path+import sys++PROJECT_ROOT = Path(__file__).resolve().parents[1]+if str(PROJECT_ROOT) not in sys.path:+ sys.path.insert(0, str(PROJECT_ROOT))++from wine_picture_detection import detect_wine_from_image_bytes++TEST_IMAGE = PROJECT_ROOT / "test" / "test_images" / "dutton_test.png"+++def main() -> None:+ if not TEST_IMAGE.exists():+ raise FileNotFoundError(f"Test image not found: {TEST_IMAGE}")++ image_bytes = TEST_IMAGE.read_bytes()+ detection = detect_wine_from_image_bytes(image_bytes)++ print(f"Image: {TEST_IMAGE}")+ print(f"Detected wine id: {detection.wine_id}")+ print(f"Match score: {detection.match_score:.4f}")+ print(f"OCR text: {detection.ocr_text}")++ if detection.wine_id is None:+ raise SystemExit("OCR test failed: no wine was detected.")+++if __name__ == "__main__":+ main()diff --git a/examples/wine-recommender/wine_flavor.db b/examples/wine-recommender/wine_flavor.dbnew file mode 100644index 000000000..93543f818Binary files /dev/null and b/examples/wine-recommender/wine_flavor.db differdiff --git a/examples/wine-recommender/wine_flavor/.gitignore b/examples/wine-recommender/wine_flavor/.gitignorenew file mode 100644index 000000000..c9e7a0f97--- /dev/null+++ b/examples/wine-recommender/wine_flavor/.gitignore@@ -0,0 +1,11 @@+venv/+.env+data/chroma/+chroma.sqlite3+.run/+node_modules/+.next/+npm-debug.log*+frontend/react_app/node_modules/+frontend/react_app/.next/+frontend/react_app/npm-debug.log*diff --git a/examples/wine-recommender/wine_flavor/README.md b/examples/wine-recommender/wine_flavor/README.mdnew file mode 100644index 000000000..87280d6ba--- /dev/null+++ b/examples/wine-recommender/wine_flavor/README.md@@ -0,0 +1,103 @@+# Wine Flavor++This folder contains the standalone wine retrieval prototype used by the demo app.++It combines:++- Vivino wine metadata and tasting attributes+- in-memory vector retrieval over structure + flavor signals+- SIE-based reranking methods, using both the [encode](https://sie.dev/docs/encode) and [score](https://sie.dev/docs/score) capabilities of the SIE.++This is a good SIE demo because it shows how a stronger model can be added only where it matters most: after fast candidate retrieval, at the ranking stage.++## What It Does++This module starts from structured preferences instead of free-text search.++The retrieval flow:++1. builds vectors from wine structure and flavor data+2. retrieves a candidate set with cosine similarity+3. uses SIE to rerank or embed the candidates for a better final ordering++In the full demo, this logic is wired into the root `app.py`. This folder exists so the retrieval work can also be understood and run as its own prototype.++## Schema Design++```mermaid+flowchart TD;+ A1["User preferences"] --> B["Normalization"];+ A2["Wine structural and flavor Attributes"] --> B;+ B --> C["Vectorization from user preferences and wine attributes"];+ C --> D["1st Retrieval - List of N candidates"];+ D --> E["Pull reviews for candidate wines"];+ E --> F1["Standard reranking on candidate reviews"];+ E --> F2["Custom reranking with embeddings on flavor profiles and reviews"];+ F1 --> G1["Final Wine List"];+ F2 --> G2["Final Wine List"];+```++## Why SIE Fits This Use Case++SIE is a good fit here because initial retrieval is cheap, but final ranking benefits from stronger semantic understanding.++That makes the split useful:++- local vector search narrows the candidate set fast+- SIE reranking methods improve the final ordering+- the demo can compare a standard reranker against a custom embedding-based approach++This is a good SIE use case because the value is not in replacing the whole system with one model call. The value is in adding a stronger semantic ranking step on top of a simple retrieval pipeline. By allowing the use of multiple models on one GPU, SIE enables the custom semantic layer which tailors the recommended products to the user request.++## Pre-requisite++In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://sie.dev/docs/quickstart) for detailed instructions++## Setup++From the repo root:++```bash+cd examples/wine-recommender/wine_flavor+```++Create a `.env` file with the required settings:++```env+CLUSTER_URL=https://your-sie-cluster-url+API_KEY=your-sie-api-key+RERANK_METHOD=standard+SIE_RERANK_MODEL=BAAI/bge-reranker-v2-m3+SIE_EMBEDDING_MODEL=BAAI/bge-m3+RERANK_ALPHA=0.7+CUSTOM_RERANK_A=0.75+CUSTOM_RERANK_NO_REVIEW_PENALTY=0.5+DEMO_NUM_PAGES=5+```++`RERANK_METHOD` options:++- `standard`: uses the SIE reranker on candidate review text+- `custom`: uses generated tasting notes, review embeddings, and cosine similarity++`RERANK_ALPHA` mixes the user query embedding with the averaged reference-wine embedding.++`CUSTOM_RERANK_A` mixes review embeddings with generated tasting-note embeddings for each wine.++## Run++This folder is mainly the retrieval prototype code used by the app, so the most direct way to use it is by running the full demo. Detailed instructions to do so are in `sie/examples/wine-recommender/README.md`++If you want to inspect or compare the retrieval logic directly, run the evaluation scripts from the `/sie/examples/wine-recommender` directory:++```bash+python test/eval_queries.py+python test/compare_rerank_methods.py+```++## Retrieval Flow++1. Fetch wines from Vivino or load from the local database+2. Build wine vectors from structure + flavors+3. Retrieve top candidates with cosine similarity+4. Rerank candidates with standard SIE reranking (with the [score](https://sie.dev/docs/score) method) or custom embedding-based reranking (with the [encode](https://sie.dev/docs/encode) method)\ No newline at end of filediff --git a/examples/wine-recommender/wine_flavor/__init__.py b/examples/wine-recommender/wine_flavor/__init__.pynew file mode 100644index 000000000..4eb37da0d--- /dev/null+++ b/examples/wine-recommender/wine_flavor/__init__.py@@ -0,0 +1 @@+from . import datasource, engine, pretty_print, service, transformsdiff --git a/examples/wine-recommender/wine_flavor/datasource/__init__.py b/examples/wine-recommender/wine_flavor/datasource/__init__.pynew file mode 100644index 000000000..39afa6638--- /dev/null+++ b/examples/wine-recommender/wine_flavor/datasource/__init__.py@@ -0,0 +1,5 @@+from .vivino.vivino_fetch_flavors import fetch_vivino_wines+from .vivino.vivino_fetch_reviews import attach_vivino_reviews, fetch_vivino_reviews+++# data source packages should expose raw-fetch helpers onlydiff --git a/examples/wine-recommender/wine_flavor/datasource/http.py b/examples/wine-recommender/wine_flavor/datasource/http.pynew file mode 100644index 000000000..d359e147c--- /dev/null+++ b/examples/wine-recommender/wine_flavor/datasource/http.py@@ -0,0 +1,72 @@+import random+import time++import requests++DEFAULT_HEADERS = {+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0"+}+DEFAULT_TIMEOUT_S = 20+DEFAULT_MAX_ATTEMPTS = 5+RETRYABLE_STATUS_CODES = {429, 500, 502, 503, 504}++_SESSION = requests.Session()+_SESSION.headers.update(DEFAULT_HEADERS)+++def _compute_backoff_delay(response, attempt, backoff_base_s, jitter_s):+ retry_after = None+ if response is not None:+ retry_after = response.headers.get("Retry-After")++ if retry_after:+ try:+ return float(retry_after)+ except ValueError:+ pass++ exponential_delay = backoff_base_s * (2 ** (attempt - 1))+ return exponential_delay + random.uniform(0, jitter_s)+++def get_json(+ url,+ *,+ params=None,+ headers=None,+ timeout=DEFAULT_TIMEOUT_S,+ max_attempts=DEFAULT_MAX_ATTEMPTS,+ backoff_base_s=1.0,+ jitter_s=0.25,+):+ merged_headers = {}+ if headers:+ merged_headers.update(headers)++ last_error = None+ for attempt in range(1, max_attempts + 1):+ response = None+ try:+ response = _SESSION.get(url, params=params, headers=merged_headers or None, timeout=timeout)+ if response.status_code == 200:+ return response.json()++ if response.status_code not in RETRYABLE_STATUS_CODES:+ response.raise_for_status()++ last_error = requests.HTTPError(+ f"Request failed with status {response.status_code} for {url}",+ response=response,+ )+ except (requests.Timeout, requests.ConnectionError, requests.HTTPError) as exc:+ last_error = exc+ if isinstance(exc, requests.HTTPError) and response is not None and response.status_code not in RETRYABLE_STATUS_CODES:+ raise++ if attempt == max_attempts:+ break++ delay_s = _compute_backoff_delay(response, attempt, backoff_base_s, jitter_s)+ time.sleep(delay_s)++ raise RuntimeError(f"Failed to fetch {url} after {max_attempts} attempts.") from last_errordiff --git a/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_flavors.py b/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_flavors.pynew file mode 100644index 000000000..d9048ba4d--- /dev/null+++ b/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_flavors.py@@ -0,0 +1,94 @@+import pandas as pd++from ..http import get_json+++# grabs a list of wines+def fetch_vivino_wines(price_range_min=0, price_range_max=1000, page=1, num_pages=1, country_code=None, wine_type_ids=None, min_rating=None):+ url = "https://www.vivino.com/api/explore/explore"+ all_wines = []++ for current_page in range(page, page + num_pages):+ params = {+ "order_by": "price",+ "order": "asc",+ "page": current_page,+ "price_range_max": price_range_max,+ "price_range_min": price_range_min,+ }++ if country_code:+ params["country_code"] = country_code+ if wine_type_ids:+ params["wine_type_ids[]"] = wine_type_ids+ if min_rating:+ params["min_rating"] = min_rating++ payload = get_json(url, params=params)+ matches = payload.get("explore_vintage", {}).get("matches", [])++ if not matches:+ break++ for item in matches:+ vintage = item.get("vintage", {})+ wine = vintage.get("wine", {})+ winery = wine.get("winery", {})+ vintage_stats = vintage.get("statistics", {})+ region = wine.get("region") or {}+ country = region.get("country") or {}+ taste = wine.get("taste") or {}+ structure = taste.get("structure") or {}+ style = wine.get("style") or {}+ price = item.get("price", {})+ currency = price.get("currency") or {}++ food_pairings = [food.get("name") for food in (style.get("foods") or [])]+ grapes_composition = [grape.get("name") for grape in (style.get("grapes") or [])]++ wine_flavors = []+ for flavor_group in (taste.get("flavor") or []):+ flavor_stats = flavor_group.get("stats", {})+ wine_flavors.append({+ "group": flavor_group.get("group"),+ "count": flavor_stats.get("count"),+ "primary_keywords": [+ {"name": keyword.get("name"), "count": keyword.get("count")}+ for keyword in (flavor_group.get("primary_keywords") or [])+ ],+ "secondary_keywords": [+ {"name": keyword.get("name"), "count": keyword.get("count")}+ for keyword in (flavor_group.get("secondary_keywords") or [])+ ]+ })++ all_wines.append({+ "wine_id": wine.get("id"),+ "winery_name": winery.get("seo_name"),+ "wine_name": wine.get("seo_name"),+ "vintage_year": vintage.get("year"),+ "rating_average": vintage_stats.get("ratings_average"),+ "ratings_count": vintage_stats.get("ratings_count"),+ "country_name": country.get("name"),+ "region_name": region.get("name"),+ "is_natural": wine.get("is_natural"),+ "wine_type_id": wine.get("type_id"),+ "taste_acidity": structure.get("acidity"),+ "taste_fizziness": structure.get("fizziness"),+ "taste_intensity": structure.get("intensity"),+ "taste_sweetness": structure.get("sweetness"),+ "taste_tannin": structure.get("tannin"),+ "wine_flavors": wine_flavors,+ "style_id": style.get("id"),+ "style_name": style.get("name"),+ "style_varietal_name": style.get("varietal_name"),+ "style_body_description": style.get("body"),+ "style_acidity_description": style.get("acidity"),+ "style_description": style.get("description"),+ "style_food_pairings": food_pairings,+ "style_grapes_composition": grapes_composition,+ "price_amount": price.get("amount"),+ "price_currency": currency.get("code")+ })++ return pd.DataFrame(all_wines)diff --git a/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_reviews.py b/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_reviews.pynew file mode 100644index 000000000..d81d5006b--- /dev/null+++ b/examples/wine-recommender/wine_flavor/datasource/vivino/vivino_fetch_reviews.py@@ -0,0 +1,61 @@+from ..http import get_json+++def fetch_vivino_reviews(wine_id, year=None, page=1, num_pages=1, per_page=50, language=None):+ all_reviews = []++ for current_page in range(page, page + num_pages):+ params = {+ "page": current_page,+ "per_page": per_page,+ }+ if year is not None:+ params["year"] = year++ payload = get_json(+ f"https://www.vivino.com/api/wines/{wine_id}/reviews",+ params=params,+ )+ reviews = payload.get("reviews", [])+ if not reviews:+ break++ for review in reviews:+ review_record = {+ "review_id": review.get("id"),+ "wine_id": wine_id,+ "language": review.get("language"),+ "rating": review.get("rating"),+ "note": review.get("note"),+ "created_at": review.get("created_at"),+ "author": (review.get("user") or {}).get("username"),+ }+ if language is None or review_record["language"] == language:+ all_reviews.append(review_record)++ return all_reviews+++def attach_vivino_reviews(wines, review_pages=1, reviews_per_page=50, language=None):+ wines = wines.copy()+ review_payloads = []++ for _, wine_row in wines.iterrows():+ wine_id = wine_row.get("wine_id")+ vintage_year = wine_row.get("vintage_year")+ if wine_id is None:+ review_payloads.append([])+ continue++ wine_reviews = fetch_vivino_reviews(+ int(wine_id),+ year=vintage_year,+ num_pages=review_pages,+ per_page=reviews_per_page,+ language=language,+ )+ review_payloads.append(wine_reviews)++ wines["wine_reviews"] = review_payloads+ wines["review_count"] = [len(reviews) for reviews in review_payloads]+ return winesdiff --git a/examples/wine-recommender/wine_flavor/db_creation.py b/examples/wine-recommender/wine_flavor/db_creation.pynew file mode 100644index 000000000..d0d0b75dd--- /dev/null+++ b/examples/wine-recommender/wine_flavor/db_creation.py@@ -0,0 +1,357 @@+import json+import sqlite3+from pathlib import Path++from . import datasource++DB_PATH = Path("wine_flavor.db")+STATE_PATH = Path("db_creation_state.json")+TARGET_WINE_COUNT = 100_000+BATCH_PAGES = 10+MAX_STALLED_BATCHES = 5++# Vivino type ids seen in this project:+# 1 = red, 2 = white, 3 = sparkling, 4 = rose+QUERY_SLICES = [+ {"country_code": "fr", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 20},+ {"country_code": "fr", "wine_type_ids": [2], "price_range_min": 0, "price_range_max": 20},+ {"country_code": "fr", "wine_type_ids": [3], "price_range_min": 0, "price_range_max": 30},+ {"country_code": "us", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 20},+ {"country_code": "us", "wine_type_ids": [2], "price_range_min": 0, "price_range_max": 20},+ {"country_code": "us", "wine_type_ids": [3], "price_range_min": 0, "price_range_max": 30},+ {"country_code": "ar", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "au", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "au", "wine_type_ids": [2], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "it", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "it", "wine_type_ids": [2], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "es", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "pt", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "za", "wine_type_ids": [1], "price_range_min": 0, "price_range_max": 25},+ {"country_code": "za", "wine_type_ids": [2], "price_range_min": 0, "price_range_max": 25},+ {"country_code": None, "wine_type_ids": [4], "price_range_min": 0, "price_range_max": 25},+]+++def _slice_key(slice_config):+ country = slice_config.get("country_code") or "all"+ wine_type = "-".join(str(value) for value in slice_config.get("wine_type_ids") or ["all"])+ price_min = slice_config.get("price_range_min", 0)+ price_max = slice_config.get("price_range_max", 1000)+ return f"{country}|{wine_type}|{price_min}|{price_max}"+++def _default_slice_state():+ return {+ "next_page": 1,+ "stalled_batches": 0,+ "status": "not_started",+ "last_error": None,+ "last_unique_count": 0,+ }+++def load_state():+ if not STATE_PATH.exists():+ return {+ "current_slice_index": 0,+ "status": "not_started",+ "slice_states": {+ _slice_key(slice_config): _default_slice_state()+ for slice_config in QUERY_SLICES+ },+ }++ state = json.loads(STATE_PATH.read_text())+ state.setdefault("current_slice_index", 0)+ state.setdefault("status", "not_started")+ state.setdefault("slice_states", {})++ for slice_config in QUERY_SLICES:+ state["slice_states"].setdefault(_slice_key(slice_config), _default_slice_state())++ return state+++def save_state(state):+ STATE_PATH.write_text(json.dumps(state, indent=2, sort_keys=True))+++def connect_db():+ return sqlite3.connect(DB_PATH)+++def create_tables(connection):+ connection.execute(+ """+ CREATE TABLE IF NOT EXISTS wines (+ wine_id INTEGER PRIMARY KEY,+ winery_name TEXT,+ wine_name TEXT,+ vintage_year TEXT,+ rating_average REAL,+ ratings_count INTEGER,+ country_name TEXT,+ region_name TEXT,+ is_natural INTEGER,+ wine_type_id INTEGER,+ taste_acidity REAL,+ taste_fizziness REAL,+ taste_intensity REAL,+ taste_sweetness REAL,+ taste_tannin REAL,+ wine_flavors_json TEXT,+ style_id INTEGER,+ style_name TEXT,+ style_varietal_name TEXT,+ style_body_description TEXT,+ style_acidity_description TEXT,+ style_description TEXT,+ style_food_pairings_json TEXT,+ style_grapes_composition_json TEXT,+ price_amount REAL,+ price_currency TEXT+ )+ """+ )+ connection.commit()+++def count_wines(connection):+ row = connection.execute("SELECT COUNT(*) FROM wines").fetchone()+ return int(row[0]) if row else 0+++def upsert_wine_batch(connection, wines):+ records = []+ for _, wine_row in wines.iterrows():+ wine_id = wine_row.get("wine_id")+ if wine_id is None:+ continue++ records.append(+ (+ int(wine_id),+ wine_row.get("winery_name"),+ wine_row.get("wine_name"),+ str(wine_row.get("vintage_year")) if wine_row.get("vintage_year") is not None else None,+ wine_row.get("rating_average"),+ wine_row.get("ratings_count"),+ wine_row.get("country_name"),+ wine_row.get("region_name"),+ int(bool(wine_row.get("is_natural"))) if wine_row.get("is_natural") is not None else None,+ wine_row.get("wine_type_id"),+ wine_row.get("taste_acidity"),+ wine_row.get("taste_fizziness"),+ wine_row.get("taste_intensity"),+ wine_row.get("taste_sweetness"),+ wine_row.get("taste_tannin"),+ json.dumps(wine_row.get("wine_flavors") or []),+ wine_row.get("style_id"),+ wine_row.get("style_name"),+ wine_row.get("style_varietal_name"),+ wine_row.get("style_body_description"),+ wine_row.get("style_acidity_description"),+ wine_row.get("style_description"),+ json.dumps(wine_row.get("style_food_pairings") or []),+ json.dumps(wine_row.get("style_grapes_composition") or []),+ wine_row.get("price_amount"),+ wine_row.get("price_currency"),+ )+ )++ connection.executemany(+ """+ INSERT INTO wines (+ wine_id,+ winery_name,+ wine_name,+ vintage_year,+ rating_average,+ ratings_count,+ country_name,+ region_name,+ is_natural,+ wine_type_id,+ taste_acidity,+ taste_fizziness,+ taste_intensity,+ taste_sweetness,+ taste_tannin,+ wine_flavors_json,+ style_id,+ style_name,+ style_varietal_name,+ style_body_description,+ style_acidity_description,+ style_description,+ style_food_pairings_json,+ style_grapes_composition_json,+ price_amount,+ price_currency+ )+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)+ ON CONFLICT(wine_id) DO UPDATE SET+ winery_name=excluded.winery_name,+ wine_name=excluded.wine_name,+ vintage_year=excluded.vintage_year,+ rating_average=excluded.rating_average,+ ratings_count=excluded.ratings_count,+ country_name=excluded.country_name,+ region_name=excluded.region_name,+ is_natural=excluded.is_natural,+ wine_type_id=excluded.wine_type_id,+ taste_acidity=excluded.taste_acidity,+ taste_fizziness=excluded.taste_fizziness,+ taste_intensity=excluded.taste_intensity,+ taste_sweetness=excluded.taste_sweetness,+ taste_tannin=excluded.taste_tannin,+ wine_flavors_json=excluded.wine_flavors_json,+ style_id=excluded.style_id,+ style_name=excluded.style_name,+ style_varietal_name=excluded.style_varietal_name,+ style_body_description=excluded.style_body_description,+ style_acidity_description=excluded.style_acidity_description,+ style_description=excluded.style_description,+ style_food_pairings_json=excluded.style_food_pairings_json,+ style_grapes_composition_json=excluded.style_grapes_composition_json,+ price_amount=excluded.price_amount,+ price_currency=excluded.price_currency+ """,+ records,+ )+ connection.commit()+++def fetch_batch_for_slice(slice_config, page, num_pages):+ return datasource.fetch_vivino_wines(+ page=page,+ num_pages=num_pages,+ price_range_min=slice_config.get("price_range_min", 0),+ price_range_max=slice_config.get("price_range_max", 1000),+ country_code=slice_config.get("country_code"),+ wine_type_ids=slice_config.get("wine_type_ids"),+ )+++def main():+ connection = connect_db()+ try:+ print(f"Creating SQLite database at {DB_PATH.resolve()}...", flush=True)+ create_tables(connection)++ state = load_state()+ global_unique_count = count_wines(connection)+ current_slice_index = int(state["current_slice_index"])++ print(+ f"Resuming crawl at slice {current_slice_index + 1}/{len(QUERY_SLICES)}. "+ f"Current unique wines in DB: {global_unique_count}.",+ flush=True,+ )++ while global_unique_count < TARGET_WINE_COUNT and current_slice_index < len(QUERY_SLICES):+ slice_config = QUERY_SLICES[current_slice_index]+ slice_key = _slice_key(slice_config)+ slice_state = state["slice_states"][slice_key]++ current_page = int(slice_state["next_page"])+ stalled_batches = int(slice_state["stalled_batches"])++ print(+ f"Working slice {current_slice_index + 1}/{len(QUERY_SLICES)}: "+ f"{slice_key} starting at page {current_page}.",+ flush=True,+ )++ slice_completed = False+ while global_unique_count < TARGET_WINE_COUNT:+ page_end = current_page + BATCH_PAGES - 1+ print(f"Fetching wine pages {current_page}-{page_end} for {slice_key}...", flush=True)++ try:+ batch = fetch_batch_for_slice(slice_config, current_page, BATCH_PAGES)+ except RuntimeError as exc:+ slice_state.update(+ {+ "next_page": current_page,+ "stalled_batches": stalled_batches,+ "last_unique_count": global_unique_count,+ "status": "paused",+ "last_error": str(exc),+ }+ )+ state["current_slice_index"] = current_slice_index+ state["status"] = "paused"+ save_state(state)+ print(f"Paused crawl after request failure: {exc}", flush=True)+ return++ if batch.empty:+ slice_completed = True+ print(f"Slice {slice_key} returned no more wines.", flush=True)+ break++ upsert_wine_batch(connection, batch)+ new_unique_count = count_wines(connection)+ print(f"Collected {new_unique_count} unique wines so far (target: {TARGET_WINE_COUNT}).", flush=True)++ if new_unique_count == global_unique_count:+ stalled_batches += 1+ print(+ f"No new unique wines found in this batch "+ f"({stalled_batches}/{MAX_STALLED_BATCHES} stalled batches).",+ flush=True,+ )+ if stalled_batches >= MAX_STALLED_BATCHES:+ slice_completed = True+ print(f"Stopping slice {slice_key} because growth has stalled.", flush=True)+ break+ else:+ stalled_batches = 0++ global_unique_count = new_unique_count+ current_page += BATCH_PAGES++ slice_state.update(+ {+ "next_page": current_page,+ "stalled_batches": stalled_batches,+ "last_unique_count": global_unique_count,+ "status": "in_progress",+ "last_error": None,+ }+ )+ state["current_slice_index"] = current_slice_index+ state["status"] = "in_progress"+ save_state(state)++ slice_state.update(+ {+ "next_page": current_page,+ "stalled_batches": 0,+ "last_unique_count": global_unique_count,+ "status": "completed" if slice_completed else slice_state["status"],+ "last_error": None if slice_completed else slice_state["last_error"],+ }+ )+ current_slice_index += 1+ state["current_slice_index"] = current_slice_index+ state["status"] = "in_progress"+ save_state(state)++ state["status"] = "completed"+ save_state(state)++ if global_unique_count >= TARGET_WINE_COUNT:+ print(f"Reached target of {TARGET_WINE_COUNT} unique wines.", flush=True)+ else:+ print(+ f"Completed all configured crawl slices with {global_unique_count} unique wines collected.",+ flush=True,+ )+ finally:+ connection.close()+++if __name__ == "__main__":+ main()diff --git a/examples/wine-recommender/wine_flavor/engine/__init__.py b/examples/wine-recommender/wine_flavor/engine/__init__.pynew file mode 100644index 000000000..84a01ad15--- /dev/null+++ b/examples/wine-recommender/wine_flavor/engine/__init__.py@@ -0,0 +1,4 @@+from .retrieval import build_wine_matrix, cosine_similarity_search+from .custom_rerank import rerank_wines_with_custom_embeddings+from .sie_rerank import rerank_wines_with_sie_reviews+from .vectors import build_flavor_idf, build_user_vector, build_wine_vectordiff --git a/examples/wine-recommender/wine_flavor/engine/custom_rerank.py b/examples/wine-recommender/wine_flavor/engine/custom_rerank.pynew file mode 100644index 000000000..0c696f82d--- /dev/null+++ b/examples/wine-recommender/wine_flavor/engine/custom_rerank.py@@ -0,0 +1,284 @@+import os++import numpy as np+from dotenv import load_dotenv+from sklearn.metrics.pairwise import cosine_similarity++from .sie_rerank import _resolve_sie_connection, pull_wine_reviews+from .vectors import pull_structure++load_dotenv()+++def _structure_label(value):+ if value >= 0.8:+ return "high"+ if value >= 0.6:+ return "medium-high"+ if value >= 0.4:+ return "medium"+ if value >= 0.2:+ return "low"+ return "very low"+++def _flavor_label(value):+ if value >= 0.8:+ return "very prominent"+ if value >= 0.6:+ return "prominent"+ if value >= 0.4:+ return "medium"+ if value >= 0.2:+ return "subtle"+ return "hint of"+++def generate_tasting_note(wine_row):+ from .vectors import pull_flavor_counts++ flavor_counts = pull_flavor_counts(wine_row)+ total_flavor_count = sum(flavor_counts.values())++ flavor_parts = []+ if total_flavor_count > 0:+ for flavor_name, flavor_count in sorted(flavor_counts.items()):+ normalized_count = float(flavor_count) / float(total_flavor_count)+ flavor_parts.append(f"{_flavor_label(normalized_count)} {flavor_name}")++ structure_parts = []+ structure_values = pull_structure(wine_row)+ for structure_name, normalized_value in zip(+ ["acidity", "fizziness", "intensity", "sweetness", "tannin"],+ structure_values,+ ):+ structure_parts.append(f"{_structure_label(normalized_value)} {structure_name}")++ structure_text = ", ".join(structure_parts)+ if flavor_parts:+ flavor_text = ", ".join(flavor_parts)+ return (+ f"This wine had notes of {flavor_text}, "+ f"and structural characteristics including {structure_text}."+ )++ return f"This wine has structural characteristics including {structure_text}."+++def generate_user_preferences_note(user_preferences):+ user_flavors = user_preferences["flavors"]+ user_structure = user_preferences["structure"]++ flavor_parts = []+ for flavor_name, flavor_value in sorted(user_flavors.items()):+ flavor_parts.append(f"{_flavor_label(float(flavor_value))} {flavor_name}")++ structure_parts = []+ for structure_name, structure_value in user_structure.items():+ structure_parts.append(f"{_structure_label(float(structure_value))} {structure_name}")++ structure_text = ", ".join(structure_parts)+ if flavor_parts:+ flavor_text = ", ".join(flavor_parts)+ return (+ f"Wine with notes of {flavor_text}, "+ f"and structural characteristics including {structure_text}."+ )++ return f"Wine with structural characteristics including {structure_text}."+++class EmbeddingGenerator:+ def __init__(+ self,+ client,+ sample_embedding_dim,+ model_name,+ *,+ gpu=None,+ provision_timeout_s=900,+ a=0.7,+ ):+ self.client = client+ self.model_name = model_name+ self.gpu = gpu+ self.provision_timeout_s = provision_timeout_s+ self.a = a+ self.sample_embedding_dim = sample_embedding_dim++ def _get_embeddings_batch(self, texts):+ if not texts:+ return np.empty((0, self.sample_embedding_dim), dtype=np.float32)++ items = [{"id": f"item-{index}", "text": text} for index, text in enumerate(texts)]+ results = self.client.encode(+ self.model_name,+ items,+ gpu=self.gpu,+ wait_for_capacity=True,+ provision_timeout_s=self.provision_timeout_s,+ )+ embeddings = np.array([result["dense"] for result in results], dtype=np.float32)+ return embeddings++ def _combine_vectors(self, review_vector, tasting_note_vector):+ if review_vector is None and tasting_note_vector is None:+ return np.zeros(self.sample_embedding_dim, dtype=np.float32)+ if review_vector is None:+ return tasting_note_vector+ if tasting_note_vector is None:+ return review_vector+ return (self.a * review_vector) + ((1.0 - self.a) * tasting_note_vector)+++def generate_wine_embeddings(embedding_generator, wines_df):+ wines_df = wines_df.copy()++ all_review_texts = []+ review_counts_per_wine = [0] * len(wines_df)+ for local_index, (_, wine_row) in enumerate(wines_df.iterrows()):+ reviews = wine_row["wine_reviews_normalized"]+ review_counts_per_wine[local_index] = len(reviews)+ all_review_texts.extend(reviews)++ batch_review_embeddings = embedding_generator._get_embeddings_batch(all_review_texts)+ batch_tasting_note_embeddings = embedding_generator._get_embeddings_batch(wines_df["tasting_notes"].tolist())++ wines_df["review_embedding"] = None+ wines_df["tasting_note_embedding"] = None++ current_review_embedding_index = 0+ for local_index in range(len(wines_df)):+ wine_index = wines_df.index[local_index]+ review_count = review_counts_per_wine[local_index]+ if review_count > 0:+ wine_review_embeddings = batch_review_embeddings[+ current_review_embedding_index: current_review_embedding_index + review_count+ ]+ wines_df.at[wine_index, "review_embedding"] = np.mean(wine_review_embeddings, axis=0)+ current_review_embedding_index += review_count+ else:+ wines_df.at[wine_index, "review_embedding"] = np.zeros(+ embedding_generator.sample_embedding_dim, dtype=np.float32+ )++ wines_df.at[wine_index, "tasting_note_embedding"] = batch_tasting_note_embeddings[local_index]++ return wines_df+++def combine_wine_embeddings(embedding_generator, wines_df):+ wines_df = wines_df.copy()+ wines_df["combined_embedding"] = None++ for local_index, (_, wine_row) in enumerate(wines_df.iterrows()):+ combined_embedding = embedding_generator._combine_vectors(+ wine_row["review_embedding"],+ wine_row["tasting_note_embedding"],+ )+ wines_df.at[wines_df.index[local_index], "combined_embedding"] = combined_embedding++ return wines_df+++def generate_user_query_embedding(embedding_generator, user_query_text):+ return embedding_generator._get_embeddings_batch([user_query_text])[0]+++def build_final_query_embedding(user_query_embedding, reference_embeddings, alpha):+ if reference_embeddings:+ average_reference_embedding = np.mean(np.vstack(reference_embeddings), axis=0)+ else:+ average_reference_embedding = np.zeros_like(user_query_embedding)++ return (+ alpha * user_query_embedding+ + (1.0 - alpha) * average_reference_embedding+ )+++def rerank_wines_with_custom_embeddings(+ wines,+ candidate_row_indices,+ user_preferences,+ *,+ reference_row_indices=None,+ base_url=None,+ model_name=None,+ gpu=None,+ provision_timeout_s=900,+ a=None,+ alpha=None,+ no_review_penalty=0.5,+):+ try:+ from sie_sdk import SIEClient+ except ImportError as exc:+ raise ImportError("sie_sdk is required for custom SIE reranking.") from exc++ base_url, api_key = _resolve_sie_connection(base_url)+ model_name = model_name or os.getenv("SIE_EMBEDDING_MODEL", "BAAI/bge-m3")++ client = SIEClient(base_url, api_key=api_key)+ sample_embedding = client.encode(+ model_name,+ [{"id": "sample", "text": "sample"}],+ gpu=gpu,+ wait_for_capacity=True,+ provision_timeout_s=provision_timeout_s,+ )[0]["dense"]+ embedding_generator = EmbeddingGenerator(+ client,+ len(sample_embedding),+ model_name,+ gpu=gpu,+ provision_timeout_s=provision_timeout_s,+ a=a,+ )++ candidate_wines = wines.iloc[candidate_row_indices].copy()+ candidate_wines["tasting_notes"] = candidate_wines.apply(generate_tasting_note, axis=1)+ candidate_wines["wine_reviews_normalized"] = candidate_wines.apply(pull_wine_reviews, axis=1)+ candidate_wines = generate_wine_embeddings(embedding_generator, candidate_wines)+ candidate_wines = combine_wine_embeddings(embedding_generator, candidate_wines)++ reference_embeddings = []+ if reference_row_indices:+ reference_wines = wines.iloc[reference_row_indices].copy()+ reference_wines["tasting_notes"] = reference_wines.apply(generate_tasting_note, axis=1)+ reference_wines["wine_reviews_normalized"] = reference_wines.apply(pull_wine_reviews, axis=1)+ reference_wines = generate_wine_embeddings(embedding_generator, reference_wines)+ reference_wines = combine_wine_embeddings(embedding_generator, reference_wines)+ reference_embeddings = reference_wines["combined_embedding"].tolist()++ user_query_text = generate_user_preferences_note(user_preferences)+ user_query_embedding = generate_user_query_embedding(embedding_generator, user_query_text)+ final_query_embedding = build_final_query_embedding(+ user_query_embedding,+ reference_embeddings,+ alpha,+ )++ wine_scores = []+ for local_index, row_index in enumerate(candidate_row_indices):+ combined_wine_vector = candidate_wines.iloc[local_index]["combined_embedding"]++ score = float(cosine_similarity([final_query_embedding], [combined_wine_vector])[0][0])+ review_count = len(candidate_wines.iloc[local_index]["wine_reviews_normalized"])+ if np.all(candidate_wines.iloc[local_index]["review_embedding"] == 0):+ score *= float(no_review_penalty)++ wine_scores.append(+ {+ "row_index": int(row_index),+ "rerank_score": score,+ "review_count": review_count,+ }+ )++ ranked_wines = sorted(wine_scores, key=lambda item: item["rerank_score"], reverse=True)+ for rank, wine_score in enumerate(ranked_wines):+ wine_score["rerank_rank"] = rank+ wine_score["query_vector_length"] = int(len(final_query_embedding))++ return ranked_winesdiff --git a/examples/wine-recommender/wine_flavor/engine/retrieval.py b/examples/wine-recommender/wine_flavor/engine/retrieval.pynew file mode 100644index 000000000..d0349d75f--- /dev/null+++ b/examples/wine-recommender/wine_flavor/engine/retrieval.py@@ -0,0 +1,32 @@+import numpy as np+from sklearn.metrics.pairwise import cosine_similarity++from .vectors import build_wine_vector+++def build_wine_matrix(wines, all_flavors, flavor_idf=None):+ wine_vectors = [+ build_wine_vector(wine_row, all_flavors, flavor_idf)+ for _, wine_row in wines.iterrows()+ ]++ if not wine_vectors:+ return np.empty((0, 5 + len(all_flavors)))++ return np.vstack(wine_vectors)+++def cosine_similarity_search(query_vector, wine_matrix, top_k=5):+ if wine_matrix.size == 0:+ return []++ similarity_scores = cosine_similarity([query_vector], wine_matrix)[0]+ ranked_indices = np.argsort(similarity_scores)[::-1][:top_k]++ return [+ {+ "row_index": int(row_index),+ "similarity_score": float(similarity_scores[row_index]),+ }+ for row_index in ranked_indices+ ]diff --git a/examples/wine-recommender/wine_flavor/engine/sie_rerank.py b/examples/wine-recommender/wine_flavor/engine/sie_rerank.pynew file mode 100644index 000000000..74e705eac--- /dev/null+++ b/examples/wine-recommender/wine_flavor/engine/sie_rerank.py@@ -0,0 +1,171 @@+import os++import numpy as np+from dotenv import load_dotenv++load_dotenv()+++def _resolve_sie_connection(base_url=None):+ resolved_base_url = base_url or os.getenv("CLUSTER_URL")+ if not resolved_base_url:+ raise ValueError("Missing SIE base URL. Set CLUSTER_URL in the environment or pass base_url explicitly.")++ api_key = os.getenv("API_KEY")+ if not api_key:+ raise ValueError("Missing SIE API key. Set API_KEY in the environment.")++ return resolved_base_url, api_key+++def pull_wine_reviews(wine_row):+ reviews = wine_row.get("wine_reviews") or wine_row.get("reviews") or []+ normalized_reviews = []++ for review in reviews:+ if isinstance(review, str) and review.strip():+ normalized_reviews.append(review.strip())+ elif isinstance(review, dict):+ review_text = review.get("text") or review.get("review") or review.get("note")+ if review_text:+ normalized_reviews.append(str(review_text).strip())++ return normalized_reviews+++def _structure_label(value):+ if value >= 0.8:+ return "high"+ if value >= 0.6:+ return "medium-high"+ if value >= 0.4:+ return "medium"+ if value >= 0.2:+ return "low"+ return "very low"+++def build_standard_rerank_query_weights(+ user_preferences,+ wines,+ reference_row_indices,+ all_flavors,+ flavor_idf=None,+ alpha=None,+ max_terms=None,+):+ from .vectors import build_user_vector, build_wine_vector++ user_vector = build_user_vector(user_preferences, all_flavors, flavor_idf)+ reference_vectors = []++ for row_index in reference_row_indices or []:+ wine_vector = build_wine_vector(wines.iloc[row_index], all_flavors, flavor_idf)+ reference_vectors.append(wine_vector)++ if reference_vectors:+ average_reference_vector = np.mean(np.vstack(reference_vectors), axis=0)+ else:+ average_reference_vector = np.zeros_like(user_vector)++ final_query_vector = alpha * user_vector + (1 - alpha) * average_reference_vector++ structure_term_weights = {}+ flavor_term_weights = {}+ structure_names = ["acidity", "fizziness", "intensity", "sweetness", "tannin"]++ for i, structure_name in enumerate(structure_names):+ structure_weight = float(final_query_vector[i])+ if structure_weight > 0:+ structure_term_weights[f"{_structure_label(structure_weight)} {structure_name}"] = structure_weight++ for i, flavor_name in enumerate(all_flavors, start=5):+ flavor_weight = float(final_query_vector[i])+ if flavor_weight > 0:+ flavor_term_weights[flavor_name] = flavor_weight++ if max_terms is not None:+ sorted_flavor_terms = sorted(flavor_term_weights.items(), key=lambda item: item[1], reverse=True)+ flavor_term_weights = dict(sorted_flavor_terms[:max_terms])++ term_weights = {**structure_term_weights, **flavor_term_weights}++ return term_weights, final_query_vector+++def rerank_wines_with_sie_reviews(+ wines,+ candidate_row_indices,+ user_preferences,+ all_flavors,+ flavor_idf=None,+ *,+ reference_row_indices=None,+ alpha=None,+ max_terms=12,+ base_url=None,+ model_name="BAAI/bge-reranker-v2-m3",+ gpu=None,+ provision_timeout_s=900,+):+ try:+ from sie_sdk import SIEClient+ except ImportError as exc:+ raise ImportError("sie_sdk is required for SIE reranking.") from exc++ base_url, api_key = _resolve_sie_connection(base_url)+ client = SIEClient(base_url, api_key=api_key)+ term_weights, final_query_vector = build_standard_rerank_query_weights(+ user_preferences,+ wines,+ reference_row_indices,+ all_flavors,+ flavor_idf,+ alpha=alpha,+ max_terms=max_terms,+ )++ wine_scores = []+ for row_index in candidate_row_indices:+ wine_row = wines.iloc[row_index]+ reviews = pull_wine_reviews(wine_row)++ if not reviews:+ wine_scores.append({+ "row_index": int(row_index),+ "rerank_score": 0.0,+ "review_count": 0,+ })+ continue++ review_items = [{"id": f"review-{review_index}", "text": review_text} for review_index, review_text in enumerate(reviews)]+ review_score_totals = np.zeros(len(reviews), dtype=float)++ for term_text, term_weight in term_weights.items():+ score_result = client.score(+ model_name,+ {"id": f"term-{term_text}", "text": term_text},+ review_items,+ gpu=gpu,+ wait_for_capacity=True,+ provision_timeout_s=provision_timeout_s,+ )++ for score_entry in score_result.get("scores", []):+ review_item_id = score_entry["item_id"]+ review_index = int(review_item_id.split("-")[-1])+ review_score_totals[review_index] += term_weight * float(score_entry["score"])++ final_wine_score = float(np.sum(review_score_totals) / len(reviews))+ wine_scores.append({+ "row_index": int(row_index),+ "rerank_score": final_wine_score,+ "review_count": len(reviews),+ })++ ranked_wines = sorted(wine_scores, key=lambda item: item["rerank_score"], reverse=True)+ for rank, wine_score in enumerate(ranked_wines):+ wine_score["rerank_rank"] = rank+ wine_score["query_vector_length"] = len(final_query_vector)++ return ranked_winesdiff --git a/examples/wine-recommender/wine_flavor/engine/vectors.py b/examples/wine-recommender/wine_flavor/engine/vectors.pynew file mode 100644index 000000000..e3e264e11--- /dev/null+++ b/examples/wine-recommender/wine_flavor/engine/vectors.py@@ -0,0 +1,103 @@+import numpy as np+import pandas as pd++def pull_structure(wine_row):+ def normalize_taste(value, default=2.5):+ if pd.isna(value):+ value = default+ return float(value) / 5.0++ return np.array([+ normalize_taste(wine_row.get("taste_acidity")),+ normalize_taste(wine_row.get("taste_fizziness")),+ normalize_taste(wine_row.get("taste_intensity")),+ normalize_taste(wine_row.get("taste_sweetness")),+ normalize_taste(wine_row.get("taste_tannin")),+ ])+++def pull_flavor_counts(wine_row):+ flavor_counts = {}++ for flavor_group in wine_row.get("wine_flavors", []):+ for keyword in flavor_group.get("primary_keywords") or []:+ flavor_name = keyword.get("name")+ flavor_count = keyword.get("count", 1)+ if pd.isna(flavor_count):+ flavor_count = 1+ if flavor_name:+ flavor_counts[flavor_name] = flavor_counts.get(flavor_name, 0) + flavor_count++ for keyword in flavor_group.get("secondary_keywords") or []:+ flavor_name = keyword.get("name")+ flavor_count = keyword.get("count", 1)+ if pd.isna(flavor_count):+ flavor_count = 1+ if flavor_name and flavor_name not in flavor_counts:+ flavor_counts[flavor_name] = flavor_counts.get(flavor_name, 0) + flavor_count++ return flavor_counts+++def build_flavor_document_frequency(wines):+ document_frequency = {}++ for _, wine_row in wines.iterrows():+ wine_flavors = pull_flavor_counts(wine_row)+ for flavor_name in wine_flavors:+ document_frequency[flavor_name] = document_frequency.get(flavor_name, 0) + 1++ return document_frequency+++def build_flavor_idf(wines):+ total_wines = len(wines)+ if total_wines == 0:+ return {}++ document_frequency = build_flavor_document_frequency(wines)+ return {+ flavor_name: np.log(total_wines / doc_count)+ for flavor_name, doc_count in document_frequency.items()+ if doc_count > 0+ }+++def build_wine_vector(wine_row, all_flavors, flavor_idf=None):+ structure_vector = pull_structure(wine_row)+ flavor_vector = np.zeros(len(all_flavors))+ flavor_counts = pull_flavor_counts(wine_row)+ total_flavor_count = sum(flavor_counts.values())++ for i, flavor_name in enumerate(all_flavors):+ if flavor_name in flavor_counts and total_flavor_count > 0:+ flavor_weight = flavor_counts[flavor_name] / total_flavor_count+ if flavor_idf is not None:+ flavor_weight *= flavor_idf.get(flavor_name, 1.0)+ flavor_vector[i] = flavor_weight++ return np.concatenate([structure_vector, flavor_vector])+++def build_user_vector(user_preferences, all_flavors, flavor_idf=None):+ structure_preferences = user_preferences["structure"]+ flavor_preferences = user_preferences["flavors"]++ structure_vector = np.array([+ float(structure_preferences["acidity"]),+ float(structure_preferences["fizziness"]),+ float(structure_preferences["intensity"]),+ float(structure_preferences["sweetness"]),+ float(structure_preferences["tannin"]),+ ])++ flavor_vector = np.zeros(len(all_flavors))++ for i, flavor_name in enumerate(all_flavors):+ if flavor_name in flavor_preferences:+ flavor_weight = float(flavor_preferences[flavor_name])+ if flavor_idf is not None:+ flavor_weight *= flavor_idf.get(flavor_name, 1.0)+ flavor_vector[i] = flavor_weight++ return np.concatenate([structure_vector, flavor_vector])diff --git a/examples/wine-recommender/wine_flavor/main.py b/examples/wine-recommender/wine_flavor/main.pynew file mode 100644index 000000000..f77d365c4--- /dev/null+++ b/examples/wine-recommender/wine_flavor/main.py@@ -0,0 +1,120 @@+import os+from dotenv import load_dotenv+from . import datasource, engine, pretty_print, transforms++load_dotenv()+++def _require_env(name):+ value = os.getenv(name)+ if value is None or value == "":+ raise ValueError(f"Missing required environment variable: {name}")+ return value+++def _require_float_env(name, fallback_name=None):+ value = os.getenv(name)+ if (value is None or value == "") and fallback_name:+ value = os.getenv(fallback_name)+ if value is None or value == "":+ if fallback_name:+ raise ValueError(f"Missing required environment variable: {name} (or legacy {fallback_name})")+ raise ValueError(f"Missing required environment variable: {name}")+ return float(value)+++try:+ SIE_BASE_URL = _require_env("CLUSTER_URL")+ SIE_API_KEY = _require_env("API_KEY")+ RERANK_METHOD = _require_env("RERANK_METHOD")+ SIE_RERANK_MODEL = _require_env("SIE_RERANK_MODEL")+ SIE_EMBEDDING_MODEL = _require_env("SIE_EMBEDDING_MODEL")+ RERANK_ALPHA = _require_float_env("RERANK_ALPHA")+ CUSTOM_RERANK_A = _require_float_env("CUSTOM_RERANK_A")+ CUSTOM_RERANK_NO_REVIEW_PENALTY = float(_require_env("CUSTOM_RERANK_NO_REVIEW_PENALTY"))+except ValueError as exc:+ raise ValueError(f"{exc}. Add it to your .env file.") from exc+ALLOWED_SIE_RERANK_MODELS = {+ "BAAI/bge-reranker-v2-m3",+ "jinaai/jina-reranker-v2-base-multilingual",+}+ALLOWED_RERANK_METHODS = {"standard", "custom"}+COSINE_TOP_K = 3+REVIEWS_PER_WINE = 5+RERANK_MAX_TERMS = 12+REFERENCE_ROW_INDICES = []+++if RERANK_METHOD not in ALLOWED_RERANK_METHODS:+ raise ValueError(+ f"Unsupported rerank method '{RERANK_METHOD}'. "+ f"Choose one of: {sorted(ALLOWED_RERANK_METHODS)}"+ )++if SIE_RERANK_MODEL not in ALLOWED_SIE_RERANK_MODELS:+ raise ValueError(+ f"Unsupported SIE reranker model '{SIE_RERANK_MODEL}'. "+ f"Choose one of: {sorted(ALLOWED_SIE_RERANK_MODELS)}"+ )++print("Fetching wines...", flush=True)+wines = datasource.fetch_vivino_wines(num_pages=1)+print("Fetching reviews...", flush=True)+wines = datasource.attach_vivino_reviews(wines, review_pages=1, reviews_per_page=REVIEWS_PER_WINE, language="en")++# get all unique flavors from wine+print("Building vectors...", flush=True)+unique_flavors = transforms.unique_flavors(wines)+flavor_idf = engine.build_flavor_idf(wines)++# test example vector+user_preferences = {+ "structure": {+ "acidity": 0.7,+ "fizziness": 0.0,+ "intensity": 0.8,+ "sweetness": 0.3,+ "tannin": 0.6,+ },+ "flavors": {+ "black cherry": 1.0,+ "plum": 0.9,+ "vanilla": 0.7,+ "oak": 0.6,+ "earthy": 0.8,+ },+}++wine_matrix = engine.build_wine_matrix(wines, unique_flavors, flavor_idf)+user_vector = engine.build_user_vector(user_preferences, unique_flavors, flavor_idf)+top_matches = engine.cosine_similarity_search(user_vector, wine_matrix, top_k=COSINE_TOP_K)+candidate_row_indices = [match["row_index"] for match in top_matches]++print("Reranking candidates with SIE...", flush=True)+if RERANK_METHOD == "custom":+ reranked_matches = engine.rerank_wines_with_custom_embeddings(+ wines,+ candidate_row_indices,+ user_preferences,+ reference_row_indices=REFERENCE_ROW_INDICES,+ base_url=SIE_BASE_URL,+ model_name=SIE_EMBEDDING_MODEL,+ a=CUSTOM_RERANK_A,+ alpha=RERANK_ALPHA,+ no_review_penalty=CUSTOM_RERANK_NO_REVIEW_PENALTY,+ )+else:+ reranked_matches = engine.rerank_wines_with_sie_reviews(+ wines,+ candidate_row_indices,+ user_preferences,+ unique_flavors,+ flavor_idf,+ reference_row_indices=REFERENCE_ROW_INDICES,+ alpha=RERANK_ALPHA,+ max_terms=RERANK_MAX_TERMS,+ base_url=SIE_BASE_URL,+ model_name=SIE_RERANK_MODEL,+ )+top_results = pretty_print.build_results_frame(wines, reranked_matches)+pretty_print.print_top_results(top_results)diff --git a/examples/wine-recommender/wine_flavor/pretty_print.py b/examples/wine-recommender/wine_flavor/pretty_print.pynew file mode 100644index 000000000..28e08fa1f--- /dev/null+++ b/examples/wine-recommender/wine_flavor/pretty_print.py@@ -0,0 +1,38 @@+import pandas as pd+++def build_results_frame(wines, reranked_matches):+ match_frame = pd.DataFrame(reranked_matches)+ result_frame = match_frame.merge(+ wines.reset_index().rename(columns={"index": "row_index"})[+ [+ "row_index",+ "wine_id",+ "wine_name",+ "winery_name",+ "vintage_year",+ "rating_average",+ "country_name",+ "region_name",+ "price_amount",+ "price_currency",+ "review_count",+ ]+ ],+ on="row_index",+ how="left",+ suffixes=("", "_wine"),+ ).sort_values(["rerank_rank", "rerank_score"], ascending=[True, False])++ if "review_count_wine" in result_frame.columns:+ result_frame = result_frame.drop(columns=["review_count_wine"])++ return result_frame+++def print_top_results(top_results):+ print("\n--- Top Wine Recommendations (review rerank) ---")+ display_frame = top_results.copy()+ if "rerank_score" in display_frame.columns:+ display_frame["rerank_score"] = display_frame["rerank_score"].round(4)+ print(display_frame.to_string(index=False))diff --git a/examples/wine-recommender/wine_flavor/service.py b/examples/wine-recommender/wine_flavor/service.pynew file mode 100644index 000000000..0088a1c77--- /dev/null+++ b/examples/wine-recommender/wine_flavor/service.py@@ -0,0 +1,219 @@+import pandas as pd++from . import engine, pretty_print, transforms+++def load_catalog_assets(wines):+ unique_flavors = transforms.unique_flavors(wines)+ flavor_idf = engine.build_flavor_idf(wines)+ wine_matrix = engine.build_wine_matrix(wines, unique_flavors, flavor_idf)+ return {+ "unique_flavors": unique_flavors,+ "flavor_idf": flavor_idf,+ "wine_matrix": wine_matrix,+ }+++def normalize_record(record):+ if isinstance(record, dict):+ return {key: normalize_record(value) for key, value in record.items()}++ if isinstance(record, list):+ return [normalize_record(value) for value in record]++ if isinstance(record, tuple):+ return [normalize_record(value) for value in record]++ try:+ if pd.isna(record):+ return None+ except (TypeError, ValueError):+ pass++ return record+++def to_ui_structure_from_row(wine_row):+ def _scale(value):+ if value is None or pd.isna(value):+ return 0+ return int(round(float(value) * 20))++ return {+ "acidity": _scale(wine_row.get("taste_acidity")),+ "fizziness": _scale(wine_row.get("taste_fizziness")),+ "intensity": _scale(wine_row.get("taste_intensity")),+ "sweetness": _scale(wine_row.get("taste_sweetness")),+ "tannin": _scale(wine_row.get("taste_tannin")),+ }+++def extract_wine_flavors(wine_row, max_flavors=6):+ flavor_counts = {}+ for flavor_group in wine_row.get("wine_flavors", []) or []:+ for keyword in flavor_group.get("primary_keywords") or []:+ name = keyword.get("name")+ count = keyword.get("count", 1) or 1+ if name:+ flavor_counts[name] = flavor_counts.get(name, 0) + count+ for keyword in flavor_group.get("secondary_keywords") or []:+ name = keyword.get("name")+ count = keyword.get("count", 1) or 1+ if name:+ flavor_counts[name] = flavor_counts.get(name, 0) + count++ ordered_flavors = sorted(+ flavor_counts.items(), key=lambda item: item[1], reverse=True+ )+ return [name for name, _ in ordered_flavors[:max_flavors]]+++def wine_style(wine_row):+ return wine_row.get("style_name") or wine_row.get("style_varietal_name") or "Wine"+++def to_catalog_wine_record(wine_row):+ wine_id = wine_row.get("wine_id")+ row_index = wine_row.get("row_index")+ if row_index is None:+ row_index = getattr(wine_row, "name", -1)+ return normalize_record(+ {+ "id": (+ str(int(wine_id))+ if wine_id is not None and not pd.isna(wine_id)+ else ""+ ),+ "row_index": int(row_index),+ "name": wine_row.get("wine_name"),+ "winery": wine_row.get("winery_name"),+ "vintage": wine_row.get("vintage_year"),+ "country": wine_row.get("country_name"),+ "region": wine_row.get("region_name"),+ "style": wine_style(wine_row),+ "price": wine_row.get("price_amount"),+ "structure": to_ui_structure_from_row(wine_row),+ "flavors": extract_wine_flavors(wine_row),+ }+ )+++def build_flavor_tags(wines):+ grouped_flavors = {}++ for _, wine_row in wines.iterrows():+ for flavor_group in wine_row.get("wine_flavors", []) or []:+ category = (flavor_group.get("group") or "other").replace("_", " ").title()+ grouped_flavors.setdefault(category, set())+ for keyword in flavor_group.get("primary_keywords") or []:+ if keyword.get("name"):+ grouped_flavors[category].add(keyword["name"])+ for keyword in flavor_group.get("secondary_keywords") or []:+ if keyword.get("name"):+ grouped_flavors[category].add(keyword["name"])++ return [+ {"category": category, "flavors": sorted(list(flavors))}+ for category, flavors in sorted(grouped_flavors.items())+ if flavors+ ]+++def build_catalog_response(wines):+ return {+ "wines": [to_catalog_wine_record(wine_row) for _, wine_row in wines.iterrows()],+ "flavorTags": build_flavor_tags(wines),+ }+++def _to_recommendation_record(record):+ score = float(record.get("rerank_score") or 0.0)+ return {+ "id": str(record.get("wine_id")),+ "name": record.get("wine_name"),+ "winery": record.get("winery_name"),+ "vintage": record.get("vintage_year"),+ "country": record.get("country_name"),+ "region": record.get("region_name"),+ "style": record.get("style"),+ "price": record.get("price_amount"),+ "matchPercentage": max(0, min(100, int(round(score * 100)))),+ "flavorSummary": ", ".join(record.get("flavors", [])),+ "structure": record.get("structure"),+ "flavors": record.get("flavors", []),+ "reviewCount": record.get("review_count"),+ "rerankScore": score,+ }+++def get_recommendations(+ wines,+ unique_flavors,+ flavor_idf,+ wine_matrix,+ user_preferences,+ *,+ top_k,+ reference_row_indices,+ rerank_method,+ base_url,+ rerank_model,+ embedding_model,+ gpu,+ provision_timeout_s,+ rerank_alpha,+ custom_rerank_a,+ custom_rerank_no_review_penalty,+ rerank_max_terms,+):+ user_vector = engine.build_user_vector(user_preferences, unique_flavors, flavor_idf)+ top_matches = engine.cosine_similarity_search(user_vector, wine_matrix, top_k=top_k)+ candidate_row_indices = [match["row_index"] for match in top_matches]++ if rerank_method == "custom":+ reranked_matches = engine.rerank_wines_with_custom_embeddings(+ wines,+ candidate_row_indices,+ user_preferences,+ reference_row_indices=reference_row_indices,+ base_url=base_url,+ model_name=embedding_model,+ gpu=gpu,+ provision_timeout_s=provision_timeout_s,+ a=custom_rerank_a,+ alpha=rerank_alpha,+ no_review_penalty=custom_rerank_no_review_penalty,+ )+ else:+ reranked_matches = engine.rerank_wines_with_sie_reviews(+ wines,+ candidate_row_indices,+ user_preferences,+ unique_flavors,+ flavor_idf,+ reference_row_indices=reference_row_indices,+ alpha=rerank_alpha,+ max_terms=rerank_max_terms,+ base_url=base_url,+ model_name=rerank_model,+ gpu=gpu,+ provision_timeout_s=provision_timeout_s,+ )++ result_frame = pretty_print.build_results_frame(wines, reranked_matches)+ result_records = []+ for record in result_frame.to_dict(orient="records"):+ wine_row = wines.iloc[record["row_index"]]+ enriched_record = {+ **record,+ "style": wine_style(wine_row),+ "structure": to_ui_structure_from_row(wine_row),+ "flavors": extract_wine_flavors(wine_row),+ }+ result_records.append(normalize_record(enriched_record))++ return {+ "rerank_method": rerank_method,+ "candidate_count": len(candidate_row_indices),+ "results": [_to_recommendation_record(record) for record in result_records],+ }diff --git a/examples/wine-recommender/wine_flavor/transforms/__init__.py b/examples/wine-recommender/wine_flavor/transforms/__init__.pynew file mode 100644index 000000000..811a6f471--- /dev/null+++ b/examples/wine-recommender/wine_flavor/transforms/__init__.py@@ -0,0 +1,4 @@+from .vivino.vivino_clean_data import unique_flavors+++# all data packages for data sources MUST return a pandas data frame only\ No newline at end of filediff --git a/examples/wine-recommender/wine_flavor/transforms/vivino/vivino_clean_data.py b/examples/wine-recommender/wine_flavor/transforms/vivino/vivino_clean_data.pynew file mode 100644index 000000000..82757dd97--- /dev/null+++ b/examples/wine-recommender/wine_flavor/transforms/vivino/vivino_clean_data.py@@ -0,0 +1,14 @@++def unique_flavors(df):+ all_unique_flavors = set()+ for _, wine_row in df.iterrows():+ for flavor_group in wine_row['wine_flavors']:+ for key_word in (flavor_group.get('primary_keywords') or []):+ if key_word.get('name'):+ all_unique_flavors.add(key_word['name'])++ for key_word in (flavor_group.get('secondary_keywords') or []):+ if key_word.get('name'):+ all_unique_flavors.add(key_word['name'])++ return sorted(all_unique_flavors)diff --git a/examples/wine-recommender/wine_picture_detection/.env.example b/examples/wine-recommender/wine_picture_detection/.env.examplenew file mode 100644index 000000000..9a7931307--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/.env.example@@ -0,0 +1,11 @@+# Local environment for standalone `wine_picture_detection` scripts.+# The main app backend uses the root `.env` instead.++CLUSTER_URL=https://your-sie-cluster-url+API_KEY=your-sie-api-key+DATABASE_PATH=wine_flavor.db+TOP_N=5+SCORE_THRESHOLD=0+SIE_OCR_MODEL=microsoft/Florence-2-base+OCR_GPU=l4-spot+OCR_PROVISION_TIMEOUT_S=900diff --git a/examples/wine-recommender/wine_picture_detection/README.md b/examples/wine-recommender/wine_picture_detection/README.mdnew file mode 100644index 000000000..d305a637a--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/README.md@@ -0,0 +1,87 @@+# Wine Picture Detection++This folder contains the standalone OCR-based wine label detection prototype used by the demo app. This leverages the [extract](https://sie.dev/docs/extract) capability of the SIE.++## What It Does++This module takes a wine label image, runs OCR on it, extracts the readable text, and then fuzzy-matches that text against the local wine database to find the most likely bottle.++The main demo app uses this same flow through `wine_picture_detection/service.py`, but this folder is meant to be runnable by itself as a separate project.++## Schema Design++```mermaid+flowchart TD;+ A["Image upload"] --> B["Analysis of image quality"];+ B --> C["OCR / Text extraction"];+ C --> D["Score wines against the extracted content"];+ D --> E["Wine identification"];+```++## Why SIE Fits This Use Case++SIE is a good fit here because OCR is the core task and the use of different models allows to refine the content extracted for an improved matching rate.++The hard part is getting usable text out of messy wine-label photos:++- labels have decorative typography+- images can be tilted, noisy, or poorly lit+- the bottle photo often includes partial or imperfect text++Using the SIE lets this prototype focus on extracting structured text accurately from the image first, then doing local matching against the wine database.++## Pre-requisite++In order to run this demo, you will need to start the SIE server. Please refer to the [SIE quickstart page](https://sie.dev/docs/quickstart) for detailed instructions++## Setup++From this folder:++```bash+cd wine_picture_detection+```++Install the Python dependencies you need for this module, then create a local `.env` if you want to run it independently from the repo root.++The OCR flow expects SIE access through environment variables such as:++```env+CLUSTER_URL=https://your-sie-cluster-url+API_KEY=your-sie-api-key+DATABASE_PATH=wine_flavor.db+TOP_N=5+SCORE_THRESHOLD=0+SIE_OCR_MODEL=microsoft/Florence-2-base+OCR_GPU=l4-spot+OCR_PROVISION_TIMEOUT_S=900+```++## Run the OCR script directly++From the repo root:++1. Install requirements++```bash+cd examples/wine-recommender/wine_picture_detection&&pip install -r requirements.txt+```++2. Run the OCR script+```bash+python textract.py+```++You can also pass a specific image and adjust the number of matches returned:++```bash+python textract.py path/to/image.webp --top-n 3+```++`textract.py` will:++- load and preprocess the image+- send it to the configured SIE OCR model+- extract text from the label+- fuzzy-match the text against the local wine database+- print the top match candidatesdiff --git a/examples/wine-recommender/wine_picture_detection/__init__.py b/examples/wine-recommender/wine_picture_detection/__init__.pynew file mode 100644index 000000000..2d061b25a--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/__init__.py@@ -0,0 +1 @@+from .service import DetectedWine, detect_wine_from_image_bytesdiff --git a/examples/wine-recommender/wine_picture_detection/requirements.txt b/examples/wine-recommender/wine_picture_detection/requirements.txtnew file mode 100644index 000000000..15d320082--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/requirements.txt@@ -0,0 +1,6 @@+numpy==2.2.6+opencv-python+pillow+deskew+rapidfuzz+sie-sdk==0.1.9\ No newline at end of filediff --git a/examples/wine-recommender/wine_picture_detection/service.py b/examples/wine-recommender/wine_picture_detection/service.pynew file mode 100644index 000000000..7033392a2--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/service.py@@ -0,0 +1,78 @@+from __future__ import annotations++import traceback+from dataclasses import dataclass+from io import BytesIO++from PIL import Image, UnidentifiedImageError++from .textract import (+ SIE_OCR_MODEL,+ ALLOWED_OCR_MODELS,+ extract_and_match_image,+ extract_blob,+)+++@dataclass+class DetectedWine:+ wine_id: int | None+ match_score: float+ ocr_text: str = ""+++def detect_wine_from_image_bytes(image_bytes: bytes) -> DetectedWine:+ if not image_bytes:+ return DetectedWine(wine_id=None, match_score=0.0)++ if SIE_OCR_MODEL not in ALLOWED_OCR_MODELS:+ raise ValueError(+ f"Unsupported OCR model '{SIE_OCR_MODEL}'. "+ f"Choose one of: {sorted(ALLOWED_OCR_MODELS)}"+ )++ try:+ image = Image.open(BytesIO(image_bytes))+ image.load()+ except (UnidentifiedImageError, OSError):+ return DetectedWine(wine_id=None, match_score=0.0)++ try:+ extracted_text, matched_labels = extract_and_match_image(image, top_n=1)+ extracted_blob = extract_blob(extracted_text)+ print("wine-image OCR output:", extracted_text)+ print(+ "wine-image detection:",+ {+ "mode": image.mode,+ "size": image.size,+ "ocr_entities": len(extracted_text.get("entities", [])),+ "ocr_blob": extracted_blob,+ "matches": len(matched_labels),+ "top_match": matched_labels[0] if matched_labels else None,+ },+ )+ except Exception as exc:+ print("wine-image detection error:", repr(exc))+ traceback.print_exc()+ return DetectedWine(wine_id=None, match_score=0.0)++ if not matched_labels:+ return DetectedWine(+ wine_id=None,+ match_score=0.0,+ ocr_text=extracted_blob,+ )++ best_match = matched_labels[0]+ return DetectedWine(+ wine_id=(+ int(best_match["wine_id"])+ if best_match.get("wine_id") is not None+ else None+ ),+ match_score=max(+ 0.0, min(1.0, float(best_match.get("match_score", 0.0)) / 100.0)+ ),+ ocr_text=extracted_blob,+ )diff --git a/examples/wine-recommender/wine_picture_detection/textract.py b/examples/wine-recommender/wine_picture_detection/textract.pynew file mode 100644index 000000000..c28227af8--- /dev/null+++ b/examples/wine-recommender/wine_picture_detection/textract.py@@ -0,0 +1,375 @@+from __future__ import annotations++import argparse+import os+import re+import sqlite3+from pathlib import Path+from typing import Any+from rapidfuzz import fuzz+import cv2++import numpy as np+from dotenv import load_dotenv+from PIL import Image++ROOT_DIR = Path(__file__).resolve().parent.parent+PACKAGE_DIR = Path(__file__).resolve().parent++load_dotenv(ROOT_DIR / ".env")+load_dotenv(PACKAGE_DIR / ".env", override=True)++_database_path_value = os.getenv("DATABASE_PATH", "wine_flavor.db")+DATABASE_PATH = Path(_database_path_value)+if not DATABASE_PATH.is_absolute():+ DATABASE_PATH = ROOT_DIR / DATABASE_PATH++CLUSTER_URL = os.getenv("CLUSTER_URL")+API_KEY = os.getenv("API_KEY")+TOP_N = int(os.getenv("TOP_N", 5))+SCORE_THRESHOLD = float(os.getenv("SCORE_THRESHOLD", 0))+SIE_OCR_MODEL = os.getenv("SIE_OCR_MODEL", "microsoft/Florence-2-base")+ALLOWED_OCR_MODELS = {+ "microsoft/Florence-2-base",+ "microsoft/Florence-2-large",+}+OCR_GPU = os.getenv("OCR_GPU", "l4-spot")+OCR_WAIT_FOR_CAPACITY = True+OCR_PROVISION_TIMEOUT_S = int(os.getenv("OCR_PROVISION_TIMEOUT_S", 900))+DB_FIELDS = {"wine_name": 1.0, "winery_name": 1.0} # can change field weights here+DB_BONUS_FIELDS = ["region_name", "country_name"]++# Image quality check >>>+++def _is_blurry(img: np.ndarray, threshold_pct: float = 10.0) -> bool:+ # Laplacian variance empirical range 0–1000+ return bool(cv2.Laplacian(img, cv2.CV_64F).var() < (threshold_pct / 100) * 1000)+++def _check_exposure(+ img: np.ndarray, min_pct: float = 19.6, max_pct: float = 78.4+) -> str:+ mean = img.mean()+ if mean < (min_pct / 100) * 255:+ return "underexposed"+ if mean > (max_pct / 100) * 255:+ return "overexposed"+ return "ok"+++def _is_noisy(img: np.ndarray, threshold_pct: float = 33.0) -> bool:+ # mean absolute difference empirical range 0–30+ denoised = cv2.GaussianBlur(img.astype(float), (5, 5), 0)+ return bool(+ np.mean(np.abs(img.astype(float) - denoised)) > (threshold_pct / 100) * 30+ )+++def _is_low_contrast(img: np.ndarray, threshold_pct: float = 19.6) -> bool:+ # std dev on 0–255 scale+ return bool(img.std() < (threshold_pct / 100) * 255)+++def _is_low_resolution(+ img: np.ndarray, min_resolution: tuple[int, int] = (640, 480)+) -> bool:+ h, w = img.shape+ return bool(w < min_resolution[0] or h < min_resolution[1])+++def check_quality(image: Image.Image) -> dict:+ """validate that the image is good enough for OCR"""++ gray_image: np.ndarray = np.array(image.convert("L"))++ return {+ "blurry": _is_blurry(gray_image),+ "exposure": _check_exposure(gray_image),+ "noisy": _is_noisy(gray_image),+ "low_contrast": _is_low_contrast(gray_image),+ "low_resolution": _is_low_resolution(gray_image),+ }+++# Image quality check <<<++# Text Extraction >>>+++def _require_sie_sdk():+ from sie_sdk import Item, SIEClient++ return SIEClient, Item+++def textract(image: Image.Image) -> dict[str, Any]:+ SIE_CLIENT, Item = _require_sie_sdk()+ sie_client = SIE_CLIENT(CLUSTER_URL, api_key=API_KEY)++ return sie_client.extract(+ SIE_OCR_MODEL,+ Item(images=[{"data": image, "format": "png"}]),+ options={"task": "<OCR_WITH_REGION>"},+ gpu=OCR_GPU,+ wait_for_capacity=OCR_WAIT_FOR_CAPACITY,+ provision_timeout_s=OCR_PROVISION_TIMEOUT_S,+ )+++# Text Extraction <<<++# Fuzzy Match >>>+++def extract_blob(label_data: dict) -> str:+ """Join all entity texts into one string, stripping XML artifacts."""+ cleaned = (+ re.sub(r"</?\w+>", "", e["text"]).strip()+ for e in label_data.get("entities", [])+ if e.get("text")+ )+ return " ".join(t for t in cleaned if t)+++def extract_vintage(blob: str) -> str | None:+ """Pull first 4-digit year in valid wine vintage range via regex."""+ match = re.search(r"\b(1[89]\d{2}|20[0-2]\d)\b", blob)+ return match.group(0) if match else None+++def fetch_wines(db_path: str, vintage: str | None) -> list[dict]:+ """Pre-filter by vintage if available, otherwise fetch all."""+ connection = sqlite3.connect(db_path)+ connection.row_factory = sqlite3.Row+ cursor = connection.cursor()++ if vintage:+ cursor.execute(+ """+ SELECT wine_id, winery_name, wine_name, vintage_year,+ rating_average, ratings_count, country_name, region_name+ FROM wines WHERE vintage_year = ? OR vintage_year IS NULL+ """,+ (vintage,),+ )+ else:+ cursor.execute(+ """+ SELECT wine_id, winery_name, wine_name, vintage_year,+ rating_average, ratings_count, country_name, region_name+ FROM wines+ """+ )++ rows = [dict(row) for row in cursor.fetchall()]+ connection.close()+ return rows+++def _normalize_separators(text: str):+ """Helps _field_score to ensure db fields are separated by spaces"""+ return text.lower().replace("-", " ")+++def _field_score(query: str, target: str) -> float:+ """+ Score query against target. Rewards full word matches over partial overlap.+ Combines fuzzy ratio (handles OCR noise) with word coverage (penalizes missing words).+ """++ query = _normalize_separators(query)+ target = _normalize_separators(target)++ query_tokens = set(query.lower().split())+ target_tokens = set(target.lower().split())++ # Combination of the intersection + union penalizes both missing and extra words+ coverage = len(query_tokens & target_tokens) / len(query_tokens | target_tokens)++ # token_set_ratio scores the shared token intersection against each remainder+ ## better handles prefix noise from OCR adding extra words+ set_fuzzy_score = fuzz.token_set_ratio(query, target)++ # 60% coverage, 40% fuzzy — adjust if OCR quality is poor+ return (set_fuzzy_score * 0.4) + (coverage * 100 * 0.6)+++def _subsequences(entity: str) -> list[str]:+ """Helps score_wine to generate all contiguous token sub-sequences of an entity string."""+ tokens = entity.split()+ return [+ " ".join(tokens[start:end])+ for start in range(len(tokens))+ for end in range(start + 1, len(tokens) + 1)+ ]+++def score_wine(wine: dict, entities: list[str]) -> float:+ """+ For each entity, take its best sub-sequence score across all DB fields, then average across entities.+ Vintage and field matches scored separately as additive bonuses.+ """++ FIELD_BONUS = 0.0 # TODO: add to .env++ entity_scores = [+ max(+ _field_score(candidate, str(wine.get(field) or "")) * weight+ for field, weight in DB_FIELDS.items()+ # score all sub-sequences and take the best+ ## handles OCR bundling extra words+ for candidate in _subsequences(entity)+ )+ for entity in entities+ ]++ # small additive bonus if any entity matches a geographic field+ field_bonus = (+ FIELD_BONUS+ if any(+ _field_score(entity, str(wine.get(field) or "")) > 80+ for entity in entities+ for field in DB_BONUS_FIELDS+ )+ else 0.0+ )++ VINTAGE_BONUS = 0.0 # TODO: add to .env++ # The average of the per-entity scores+ ## how well the OCR text matched the wine's fields.+ average_field_match_score = (+ sum(entity_scores) / len(entity_scores) if entity_scores else 0.0+ )++ # add vintage bonus+ vintage_bonus = (+ VINTAGE_BONUS+ if (+ wine.get("vintage_year") # Guard against null+ and any(entity == str(wine["vintage_year"]) for entity in entities)+ )+ else 0.0+ )++ # only using average_field_match_score for now (scores better)+ return average_field_match_score + vintage_bonus + field_bonus+++def match_label(label_data: dict, top_n: int = TOP_N) -> list[dict]:+ """+ Match a raw label extraction dict against the wine database.+ Returns a list of up to top_n wine dicts sorted by match_score descending,+ each containing: wine_id, winery_name, wine_name, vintage_year,+ rating_average, rating_count, country_name, region_name, match_score (0-100).+ Returns an empty list if no text or wine fields could be extracted.+ """+ blob = extract_blob(label_data)++ if not blob:+ return []++ vintage = extract_vintage(blob)++ # Strip XML artifacts (e.g. </s>) leaked by the OCR model before scoring+ entities = [+ re.sub(r"</?\w+>", "", e["text"]).strip().lower()+ for e in label_data.get("entities", [])+ if e.get("text")+ ]++ wines = fetch_wines(DATABASE_PATH, vintage)+ scored = sorted(+ [{**wine, "match_score": score_wine(wine, entities)} for wine in wines],+ key=lambda wine: wine["match_score"],+ reverse=True,+ )++ return [wine for wine in scored if wine["match_score"] >= SCORE_THRESHOLD][:top_n]+++def extract_and_match_image(+ image: Image.Image, top_n: int = TOP_N+) -> tuple[dict[str, Any], list[dict[str, Any]]]:+ extracted = textract(image)+ matches = match_label(extracted, top_n=top_n)+ return extracted, matches+++# Fuzzy Match <<<++# DEBUG >>>+++def debug_ranking(matched_labels: list[dict], target: str) -> None:++ rank = 0++ for dictionary in matched_labels:+ if dictionary["wine_name"] == target:+ print(f"Wine found (ranked {rank}th):\n{dictionary}\n")+ return++ rank += 1++ print(f"failed to find {target}")+++# DEBUG <<<+++def main():+ if SIE_OCR_MODEL not in ALLOWED_OCR_MODELS:+ raise ValueError(+ f"SIE_OCR_MODEL '{SIE_OCR_MODEL}' not in ALLOWED_OCR_MODELS: {ALLOWED_OCR_MODELS}"+ )++ parser = argparse.ArgumentParser(description="Run OCR against a wine label image.")+ parser.add_argument(+ "image",+ nargs="?",+ default=str(PACKAGE_DIR / "wine_test.webp"),+ help="Path to the image to OCR. Defaults to wine_picture_detection/wine_test.webp",+ )+ parser.add_argument(+ "--top-n",+ type=int,+ default=TOP_N,+ help="Number of fuzzy-match results to print.",+ )+ args = parser.parse_args()++ image_path = Path(args.image)+ print(f"Image: {image_path}")+ if not image_path.exists():+ raise FileNotFoundError(f"Image not found: {image_path}")++ wine_label = Image.open(image_path)+ wine_label.load()+ print(+ f"Loaded: format={wine_label.format} mode={wine_label.mode} size={wine_label.size}"+ )++ # Check image quality+ image_quality = check_quality(wine_label)+ print(f"\nImage quality:\n{image_quality}")++ # Extract text and fuzzy match with known wines+ extracted_text, matched_labels = extract_and_match_image(+ wine_label, top_n=args.top_n+ )+ print(f"\nOCR output:\n{extracted_text}\n")+ # print(f"\nMatched Labels:")+ # [print(dictionary) for dictionary in matched_labels] # DEBUG++ print(f"\nTop {args.top_n} matches:")+ for match in matched_labels:+ print(match)++ # Debug wine ranking by score+ # debug_ranking(matched_labels, "walker-hill-vineyard-chardonnay")+++if __name__ == "__main__":+ main()diff --git a/examples/wine-recommender/wine_picture_detection/wine_flavor.db b/examples/wine-recommender/wine_picture_detection/wine_flavor.dbnew file mode 100644index 000000000..e69de29bbdiff --git a/examples/wine-recommender/wine_picture_detection/wine_test.webp b/examples/wine-recommender/wine_picture_detection/wine_test.webpnew file mode 100644index 000000000..b98927684Binary files /dev/null and b/examples/wine-recommender/wine_picture_detection/wine_test.webp differ