From 83d86dfe90fa2433db0a210a13763ff13b55dfe2 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 2 Jul 2026 13:46:56 +0200 Subject: [PATCH] feat: wire live data + fail-safe reject booking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend (api/routes.py) — replace sample data with live reads/writes: - GET /overview reads production.temper_tracking (done carts, plant-scoped, windowed, newest-first, one row per ttId); each order's 5-station belt is derived from planned timestamps vs NOW(), faithful to fastpress _temper_aggregates_all. sample:false. - GET /reasons reads settings.reject_reasons (active=1). - POST /reject WRITES production.rejects keyed by the ORDER (rejOrdernumber + rejPress, press taken from the body) — an un-scoped port of PressV send_reject; no rejTtId column needed (ttId is context-only). Failures return HTTP 200 + {success:false}, NOT 4xx/5xx. Belt: the single pre-oven buffer (Wagenzeit) shows under Unterwegs; Wagen=0. Frontend — never report an unconfirmed booking as success: - store.submitReject returns the gateway's own {success} and reports failure on a transport error instead of faking success. - store.refresh keeps the last REAL data on a transient poll error (only a cold start falls back to demo carts) so a live terminal never shows fabricated carts. - the failure toast is now red (was always green). Verified live against cdbserv15 (12 carts, 25 reasons, INSERT round-trip). Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 4 + api/routes.py | 503 +++++++++++++++--- .../{index-DCD9Lyh2.js => index-D0flZxiB.js} | 6 +- ...{index-Dw_xKaUy.css => index-mkbUZDoP.css} | 2 +- dist/index.html | 36 +- src/stores/temperRejects.ts | 30 +- src/views/RejectStationPage.vue | 15 +- 7 files changed, 482 insertions(+), 114 deletions(-) rename dist/assets/{index-DCD9Lyh2.js => index-D0flZxiB.js} (99%) rename dist/assets/{index-Dw_xKaUy.css => index-mkbUZDoP.css} (56%) diff --git a/.gitignore b/.gitignore index ab72633..645cd80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Python bytecode (this repo is also a gateway page-module — imported at runtime) +__pycache__/ +*.py[cod] + # Dependencies node_modules/ .pnp diff --git a/api/routes.py b/api/routes.py index 2e81027..b12c86a 100644 --- a/api/routes.py +++ b/api/routes.py @@ -6,93 +6,270 @@ Served same-origin under ``/module/temper_rejects``. Three routes: * POST /module/temper_rejects/api/reject → book one Ausschuss No ``verify_token`` dependency: this is a central login-free terminal (no device -context). ``press`` + ``ttId`` come from the request BODY, unlike the device-scoped -``POST /press/rejects/send`` in fastpress. +context). ``press`` + ``orderNo`` come from the request BODY, unlike the device-scoped +``POST /press/rejects/send`` in fastpress (which derives the press from the JWT). The +booking is recorded against the ORDER (``rejOrdernumber`` + ``rejPress``) — the same +key PressV has always used — so it needs NO schema change (the cart ``ttId`` is shown +for context only, never written). -── STATUS: BASE SCAFFOLD ──────────────────────────────────────────────────────── -Returns realistic SAMPLE data shaped EXACTLY like the frontend contract -(``src/types/station.ts``); POST /reject validates + echoes success WITHOUT writing. -This lets the terminal render + exercise the booking flow with no database. +── LIVE DATA ───────────────────────────────────────────────────────────────────── +Reads come from the same tables + the same time-derived temper status as +fastpress (``modules/fastpress/press/temper.py`` / ``rejects.py``), re-implemented +here so the module stays self-contained (it ships as its own repo and must NOT +import the sibling fastpress package). The SQL is faithful to those sources: -TODO — wire real data (see ``.claude/memory/ausschuss-station.md`` in the gateway): - * ``from .._db import run_select_query, transaction`` - * OVERVIEW: read ``production.temper_tracking`` across ALL presses (un-scoped), - one row per ``ttId``, newest first by ``ttOutOfOvenAt`` (status='done'); join - ``active_orders``/``finished_orders`` for article. Per entry, add the ORDER's - 5-station distribution (reuse fastpress ``temper._temper_aggregates_all``: - notYetSent / sentToTemper / onWayToOven / inOven / finishedTempering). + * OVERVIEW: ``production.temper_tracking`` across ALL presses of the plant + (``PLANT_NAME``), one row per ``ttId``, DONE carts (``NOW() >= ttOutOfOvenAt``) + within the window, newest first. Each entry carries its order's 5-station + temper distribution (belt), derived from the planned timestamps vs ``NOW()``. * REASONS: ``SELECT id, reason_de, reason_en FROM settings.reject_reasons WHERE active=1``. - * REJECT: one INSERT into ``production.rejects`` inside a ``transaction()`` (same - shape as fastpress ``rejects.send_reject``). Booking references the cart → - needs the additive nullable ``rejTtId`` column (DBA applies it; runtime account - has no ALTER). Confirm the security posture (network-only vs. a static token) - before exposing the write. + * REJECT: resolve latest cycle + article + reason texts, then one INSERT into + ``production.rejects`` inside a ``transaction()`` — identical shape to fastpress + ``send_reject``, but ``press`` comes from the body (login-free central terminal). + +Belt mapping (5 UI nodes, 4 real quantities): the live model tracks ONE pre-oven +quantity — the buffer/Wagenzeit before ``ttIntoOvenAt`` (there is no scan data to +split "sitting on the cart" from "moving to the oven"). Per the design decision it +is shown under **Unterwegs** (amber); **Wagen** (cyan) stays 0. See +``.claude/memory/ausschuss-station.md``. + +Security posture of the login-free write: network / reverse-proxy restriction only +(no token guard) — consistent with the rest of this module. Revisit if the station +is ever exposed beyond the shop-floor LAN. """ from __future__ import annotations -from datetime import datetime, timedelta -from typing import Any +import logging +import os +from collections import defaultdict +from datetime import datetime +from typing import Any, Optional from fastapi import APIRouter, Query +from fastapi.responses import JSONResponse from pydantic import BaseModel, ConfigDict +from sqlalchemy import text +from starlette import status + +from .._db import run_select_query, transaction + +logger = logging.getLogger(__name__) router = APIRouter(prefix="/module/temper_rejects/api", tags=["temper_rejects"]) -# window code → minutes (max 30 days). Scopes which finished carts are listed. +# The plant this station serves. Un-scoped across presses, scoped to ONE plant — +# same per-deployment constant fastpress reads (``_identity.PLANT_NAME``). The +# generic kernel never looks at it. +_PLANT = os.getenv("PLANT_NAME", "Cadolzburg") + +# window code → minutes (max 30 days). Scopes which finished carts are LISTED +# (the belt aggregates the whole order regardless of the window). _WINDOW_MINUTES: dict[str, int] = {"12h": 720, "1T": 1440, "7T": 10080, "14T": 20160, "30T": 43200} _DEFAULT_WINDOW = "7T" -# All presses in the plant — drives the left-hand filter checkboxes (default all). -_PRESSES = ["P1", "P2", "P3", "P4", "P5", "P6", "P7", "P8", "P9"] +# Cap the listed carts so a wide window can't return an unbounded payload (the +# frontend renders one card per entry). Newest-first, so the cap drops the oldest. +_MAX_ENTRIES = 500 -_REASONS = [ - {"id": 1, "reason_de": "Maßabweichung", "reason_en": "Dimensional deviation"}, - {"id": 2, "reason_de": "Lunker", "reason_en": "Voids"}, - {"id": 3, "reason_de": "Bindenaht", "reason_en": "Weld line"}, - {"id": 4, "reason_de": "Verbrennung", "reason_en": "Burn mark"}, - {"id": 5, "reason_de": "Verzug", "reason_en": "Warping"}, - {"id": 6, "reason_de": "Sonstiges", "reason_en": "Other"}, -] + +def _iso_aware(v: Any) -> Any: + """Serialise a naive DB ``DATETIME`` as a timezone-AWARE ISO string. + + The temper times are stored as the gateway's local wall clock in naive + ``DATETIME`` columns; emitting them naive makes the browser guess the zone + (it assumes UTC → the Protokoll shifts by the local offset). ``astimezone()`` + stamps the server's actual offset so the frontend converts back correctly. + Mirrors ``fastpress temper._iso_aware``.""" + return v.astimezone().isoformat() if isinstance(v, datetime) else v + + +# ── press filter list ─────────────────────────────────────────────────────────── + + +def _press_list(plant: str, entry_presses: set[str]) -> list[str]: + """The presses shown as filter checkboxes (default all). + + Canonical registry (``press_settings.presses`` for the plant) UNIONed with any + press that actually has entries — the union is REQUIRED: the frontend defaults + the checked set to ``payload.presses`` and hides any entry whose press is not in + it, so every entry's press must be present. Degrades to just the entry presses + if the registry is unavailable. Numeric press ids sort numerically.""" + presses: set[str] = set(entry_presses) + try: + rows = run_select_query( + "SELECT psPress AS p FROM press_settings.presses WHERE psPlant = :plant", + {"plant": plant}, + ) + presses.update(str(r["p"]) for r in rows if r.get("p") is not None) + except Exception as e: # noqa: BLE001 — registry is optional polish; entries still render + logger.warning("press registry unavailable (using entry presses only): %s", e) + + def _key(p: str) -> tuple[int, Any]: + return (0, int(p)) if p.isdigit() else (1, p) + + return sorted(presses, key=_key) + + +# ── belt: order-level 5-station temper distribution ─────────────────────────────── + + +def _temper_agg_map(plant: str, pairs: set[tuple[str, str]]) -> dict[tuple[str, str], dict[str, int]]: + """Per ``(press, orderno)`` temper aggregate, over ALL that order's carts (any + status — the belt shows the whole order, not just the windowed carts). + + Same live-oven derivation as fastpress ``_temper_aggregates_all`` (planned + timestamps vs ``NOW()``): ``sent`` = all parts on carts; ``on_way`` = still in + the buffer (``NOW() < ttIntoOvenAt``); ``in_oven`` / ``finished`` split by + ``ttOutOfOvenAt``. Degrades to ``{}`` on any DB error.""" + if not pairs: + return {} + presses = sorted({p for p, _ in pairs}) + orders = sorted({o for _, o in pairs}) + binds: dict[str, Any] = {"plant": plant} + for i, p in enumerate(presses): + binds[f"p{i}"] = p + for i, o in enumerate(orders): + binds[f"o{i}"] = o + pin = ", ".join(f":p{i}" for i in range(len(presses))) + oin = ", ".join(f":o{i}" for i in range(len(orders))) + try: + rows = run_select_query( + "SELECT ttPress AS press, ttOrdernumber AS o, " + " COALESCE(SUM(ttPartsGood),0) AS sent, " + " COALESCE(SUM(CASE WHEN NOW() < ttIntoOvenAt THEN ttPartsGood ELSE 0 END),0) AS on_way, " + " COALESCE(SUM(CASE WHEN NOW() >= ttIntoOvenAt AND NOW() < ttOutOfOvenAt THEN ttPartsGood ELSE 0 END),0) AS in_oven, " + " COALESCE(SUM(CASE WHEN NOW() >= ttOutOfOvenAt THEN ttPartsGood ELSE 0 END),0) AS finished " + "FROM production.temper_tracking " + f"WHERE ttPlant = :plant AND ttPress IN ({pin}) AND ttOrdernumber IN ({oin}) " + "GROUP BY ttPress, ttOrdernumber", + binds, + ) + except Exception as e: # noqa: BLE001 + logger.warning("temper aggregate unavailable: %s", e) + return {} + out: dict[tuple[str, str], dict[str, int]] = {} + for r in rows: + out[(str(r["press"]), str(r["o"]))] = { + "sent": int(r["sent"] or 0), + "on_way": int(r["on_way"] or 0), + "in_oven": int(r["in_oven"] or 0), + "finished": int(r["finished"] or 0), + } + return out + + +def _good_parts_map(plant: str, pairs: set[tuple[str, str]]) -> dict[tuple[str, str], int]: + """Per ``(press, orderno)`` good parts PRODUCED at the press (cycles × cavities − + rejects), for the belt's ``notYetSent`` = produced − sent-to-temper. + + Faithful (batched) port of fastpress ``_all_order_stats``: one cycle scan + + one reject scan per press, matched back to orders in Python (``Joborder`` is a + plain order number OR a JSON array of them). Only ACTIVE orders are counted; + an order that has finished (moved to ``finished_orders``) is absent → the + caller treats ``notYetSent`` as 0 (nothing left at the press). Degrades to + ``{}`` per-press on any DB error.""" + if not pairs: + return {} + import json + + by_press: dict[str, list[str]] = defaultdict(list) + for p, o in pairs: + by_press[p].append(o) + + result: dict[tuple[str, str], int] = {} + for press, orders in by_press.items(): + try: + obinds: dict[str, Any] = {"plant": plant, "press": press} + for i, o in enumerate(orders): + obinds[f"o{i}"] = o + oin = ", ".join(f":o{i}" for i in range(len(orders))) + + # 1) cavities + target per active order (article/qty snapshot). + active = run_select_query( + "SELECT aoOrdernumber AS o, aoCavities AS cav FROM production.active_orders " + f"WHERE aoPlant = :plant AND aoPress = :press AND aoOrdernumber IN ({oin})", + obinds, + ) + cav_by_order = {str(r["o"]): int(r["cav"] or 0) for r in active} + if not cav_by_order: + continue # none of these orders are active → notYetSent stays 0 + + # 2) cycle counts grouped by Joborder (one scan for the press). + cyc_groups = [ + (cr["jo"], int(cr["c"] or 0)) + for cr in run_select_query( + "SELECT Joborder AS jo, COUNT(*) AS c FROM production.cycles_new " + "WHERE Press = :press GROUP BY Joborder", + {"press": press}, + ) + ] + + # 3) rejects summed per order (one grouped query). + rej_by_order: dict[str, int] = {} + for rr in run_select_query( + "SELECT rejOrdernumber AS o, COALESCE(SUM(rejQuantity),0) AS total " + "FROM production.rejects WHERE rejPress = :press " + f"AND rejOrdernumber IN ({oin}) GROUP BY rejOrdernumber", + obinds, + ): + rej_by_order[str(rr["o"])] = int(rr["total"] or 0) + + def _cycles_for(orderno: str) -> int: + total = 0 + for jo, c in cyc_groups: + if jo is None: + continue + if jo == orderno: + total += c + elif isinstance(jo, str) and orderno in jo: + try: + arr = json.loads(jo) + except Exception: # noqa: BLE001 + arr = None + if isinstance(arr, list) and orderno in arr: + total += c + return total + + for orderno, cav in cav_by_order.items(): + produced = _cycles_for(orderno) * cav + good = max(0, produced - rej_by_order.get(orderno, 0)) + result[(press, orderno)] = good + except Exception as e: # noqa: BLE001 — degrade this press to no notYetSent + logger.warning("good-parts derivation failed for press %s: %s", press, e) + continue + return result def _flow(not_sent: int, wagen: int, unterwegs: int, ofen: int, fertig: int) -> dict[str, int]: - """Order-level 5-station distribution shown on the belt (see the frontend - TemperBelt colours: nichtGesendet=violet, wagen=cyan, unterwegs=amber, - ofen=orange, fertig=emerald).""" + """Order-level 5-station distribution shown on the belt (frontend TemperBelt): + notYetSent=violet, wagen=cyan, unterwegs=amber, ofen=orange, fertig=emerald.""" return {"notYetSent": not_sent, "wagen": wagen, "unterwegs": unterwegs, "ofen": ofen, "fertig": fertig} -# (ttId, cartId, press, orderNo, article, partsGood, scrap, ageMin, flow) -_ENTRIES_RAW: list[tuple[int, str, str, str, str, int, int, int, dict[str, int]]] = [ - (10231, "00A17226", "P5", "O-4455", "Gehäuse 12 mm", 60, 2, 90, _flow(120, 60, 40, 72, 260)), - (10230, "00917226", "P8", "O-4489", "Halter Typ A", 80, 1, 150, _flow(40, 30, 36, 80, 210)), - (10229, "00817226", "P3", "O-4471", "Deckel rund", 54, 4, 320, _flow(180, 54, 30, 88, 300)), - (10228, "00717226", "P1", "O-4471", "Deckel rund", 64, 0, 500, _flow(180, 54, 30, 88, 300)), - (10227, "00617226", "P2", "O-4460", "Klammer klein", 50, 3, 900, _flow(90, 42, 0, 60, 190)), - (10226, "00517226", "P5", "O-4455", "Gehäuse 12 mm", 72, 5, 1400, _flow(120, 60, 40, 72, 260)), - (10225, "00417226", "P6", "O-4460", "Klammer klein", 44, 1, 3000, _flow(90, 42, 0, 60, 190)), - (10224, "00317226", "P8", "O-4489", "Halter Typ A", 58, 2, 8000, _flow(40, 30, 36, 80, 210)), - (10223, "00217226", "P9", "O-4471", "Deckel rund", 40, 0, 22000, _flow(180, 54, 30, 88, 300)), -] +def _flow_for( + press: str, + orderno: str, + agg_map: dict[tuple[str, str], dict[str, int]], + good_map: dict[tuple[str, str], int], +) -> dict[str, int]: + """Assemble one order's belt distribution from the aggregates. + + The live model has ONE pre-oven quantity (``on_way`` = buffer/Wagenzeit) → it + goes under **Unterwegs**; **Wagen** stays 0 (no scan data to split them). + ``notYetSent`` = produced good − sent-to-temper (0 when the order isn't active).""" + agg = agg_map.get((press, orderno), {"sent": 0, "on_way": 0, "in_oven": 0, "finished": 0}) + good = good_map.get((press, orderno)) + not_sent = max(0, good - agg["sent"]) if good is not None else 0 + return _flow(not_sent, 0, agg["on_way"], agg["in_oven"], agg["finished"]) -def _entry(row: tuple, now: datetime) -> dict[str, Any]: - tt_id, cart_id, press, order_no, article, good, scrap, age_min, flow = row - return { - "ttId": tt_id, - "cartId": cart_id, - "press": press, - "orderNo": order_no, - "article": article, - "partsGood": good, - "scrap": scrap, - "doneAt": (now - timedelta(minutes=age_min)).astimezone().isoformat(), - "flow": flow, - } +# ── request schema ──────────────────────────────────────────────────────────── class RejectBody(BaseModel): - # permissive like fastpress's reject schema; validated in the handler. + # permissive like fastpress's reject schema; validated in the handler. ``ttId`` + # is accepted (the frontend sends the selected cart) but only logged — the + # booking is recorded against the ORDER, not the cart. model_config = ConfigDict(extra="allow") press: str | None = None orderNo: str | None = None @@ -101,44 +278,208 @@ class RejectBody(BaseModel): reason: int | None = None -@router.get("/overview", summary="Tempered carts per ttId, newest first (SAMPLE data)") +# ── endpoints ───────────────────────────────────────────────────────────────── + + +@router.get("/overview", summary="Tempered carts per ttId, newest first (live)") def overview(window: str = Query(_DEFAULT_WINDOW, description="12h|1T|7T|14T|30T")) -> dict[str, Any]: code = window if window in _WINDOW_MINUTES else _DEFAULT_WINDOW limit_min = _WINDOW_MINUTES[code] - now = datetime.now() - entries = [_entry(r, now) for r in _ENTRIES_RAW if r[7] <= limit_min] # r[7] = ageMin + + try: + rows = run_select_query( + "SELECT ttId, ttCartId, ttPress, ttOrdernumber, ttArticleDesc, " + "ttPartsGood, ttScrap, ttOutOfOvenAt " + "FROM production.temper_tracking " + "WHERE ttPlant = :plant " + " AND ttReprintOf IS NULL " # a reprint is not a new label + " AND ttOutOfOvenAt IS NOT NULL " + " AND NOW() >= ttOutOfOvenAt " # fertig getempert + " AND ttOutOfOvenAt >= (NOW() - INTERVAL :mins MINUTE) " + "ORDER BY ttOutOfOvenAt DESC, ttId DESC " + "LIMIT :lim", + {"plant": _PLANT, "mins": limit_min, "lim": _MAX_ENTRIES + 1}, + ) + except Exception as e: + logger.error("temper_rejects overview query failed: %s", e, exc_info=True) + return JSONResponse( + status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, + content={"success": False, "error": "database_error", "message": str(e)}, + ) + + truncated = len(rows) > _MAX_ENTRIES + if truncated: + rows = rows[:_MAX_ENTRIES] + logger.warning("temper_rejects overview truncated to %d carts (window=%s)", _MAX_ENTRIES, code) + + pairs = {(str(r["ttPress"]), str(r["ttOrdernumber"])) for r in rows} + agg_map = _temper_agg_map(_PLANT, pairs) + good_map = _good_parts_map(_PLANT, pairs) + + entries = [ + { + "ttId": int(r["ttId"]), + "cartId": r.get("ttCartId") or "", + "press": str(r["ttPress"]), + "orderNo": r["ttOrdernumber"], + "article": r.get("ttArticleDesc") or "", + "partsGood": int(r["ttPartsGood"] or 0), + "scrap": int(r["ttScrap"] or 0), + "doneAt": _iso_aware(r["ttOutOfOvenAt"]), + "flow": _flow_for(str(r["ttPress"]), r["ttOrdernumber"], agg_map, good_map), + } + for r in rows + ] + entry_presses = {e["press"] for e in entries} + return { "window": code, - "generatedAt": now.astimezone().isoformat(), - "sample": True, # frontend shows a "Demo-Daten" hint while set - "presses": _PRESSES, + "generatedAt": datetime.now().astimezone().isoformat(), + "sample": False, # live data → frontend shows "Live", not "Demo-Daten" + "truncated": truncated, + "presses": _press_list(_PLANT, entry_presses), "entries": entries, } @router.get("/reasons", summary="Active reject reasons") def reasons() -> dict[str, Any]: - return {"reasons": _REASONS, "sample": True} + """Active reject reasons — same query as fastpress ``get_reject_reasons``. + Global (not press-scoped). Read-only.""" + try: + rows = run_select_query( + "SELECT id, reason_de, reason_en FROM settings.reject_reasons " + "WHERE active = 1 ORDER BY id", + {}, + ) + except Exception as e: + logger.error("temper_rejects reasons query failed: %s", e, exc_info=True) + return JSONResponse( + status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, + content={"success": False, "error": "database_error", "message": str(e)}, + ) + return {"reasons": rows, "sample": False} -@router.post("/reject", summary="Book one Ausschuss against a ttId (SAMPLE — no write)") +@router.post("/reject", summary="Book one Ausschuss against an order (writes production.rejects)") def reject(body: RejectBody) -> dict[str, Any]: - # Validation mirrors fastpress send_reject (positive count + reason). The base - # scaffold does NOT write — it echoes success so the terminal's booking flow is - # exercisable end-to-end. See the module TODO for the real INSERT. + """Record one reject against the ORDER. Un-scoped port of fastpress + ``send_reject``: resolve the latest cycle (``MAX(id)`` in ``cycles_new`` for the + press + joborder, incl. ``JSON_CONTAINS``), the article desc / target cycletime + (``active_orders`` → ``finished_orders`` fallback), and the reason texts + (``settings.reject_reasons``), then INSERT ``production.rejects`` — all in one + transaction. + + Unlike fastpress, ``press`` comes from the BODY (login-free central terminal, no + device JWT). Keyed by ``rejOrdernumber`` + ``rejPress`` → no cart reference / no + schema change. ``ttId`` is accepted for context but not written.""" + # IMPORTANT — booking outcomes (validation refusals AND write failures) are + # returned as HTTP 200 + {"success": False, ...}, NOT 4xx/5xx. The frontend store + # (src/stores/temperRejects.ts submitReject) treats ANY non-2xx as a transport + # failure and swallows it into a FAKE success ("Ausschuss gebucht (Demo — kein + # Backend)"). On this live, login-free terminal that would make a refused/failed + # booking read as booked. A 200 body keeps the store's success path in control so + # it surfaces the real error; its catch stays reserved for a truly unreachable + # backend. Do NOT "fix" these back to 400/500. (/overview + /reasons DO use 500 — + # there a DB error is not swallowed into a false success.) + press = str(body.press or "").strip() + ordernumber = str(body.orderNo or "").strip() try: count = int(body.count or 0) reason_id = int(body.reason or 0) - tt_id = int(body.ttId or 0) except (ValueError, TypeError): - return {"success": False, "error": "bad_request", "message": "count, reason, ttId must be integers"} - if not body.press or tt_id <= 0: - return {"success": False, "error": "bad_request", "message": "press and ttId are required"} + return {"success": False, "error": "bad_request", "message": "count and reason must be integers"} + if not press or not ordernumber: + return {"success": False, "error": "bad_request", "message": "press and orderNo are required"} if count <= 0 or reason_id <= 0: return {"success": False, "error": "bad_request", "message": "count and reason must be positive"} - return { - "success": True, - "sample": True, - "message": "Ausschuss gebucht (Demo — nicht gespeichert)", - "booked": {"press": body.press, "orderNo": body.orderNo, "ttId": tt_id, "count": count, "reason": reason_id}, - } + + import json + + try: + with transaction() as conn: + # Latest cycle for this press + joborder (direct match or JSON list). + cycle_row = conn.execute( + text( + "SELECT ToolNo, T_Cycle_Act, ArticleID, CycleID " + "FROM production.cycles_new WHERE id = (" + " SELECT MAX(id) FROM production.cycles_new " + " WHERE Press = :press AND (Joborder = :orderno OR JSON_CONTAINS(Joborder, :orderjson))" + ") LIMIT 1" + ), + {"press": press, "orderno": ordernumber, "orderjson": json.dumps(ordernumber)}, + ).fetchone() + mold = cycle_row[0] if cycle_row else None + cycletime = cycle_row[1] if cycle_row else None + raw_art_id = cycle_row[2] if cycle_row else None + cycle_id = cycle_row[3] if cycle_row else None + try: + art_id = int(raw_art_id) if raw_art_id is not None else None + except (ValueError, TypeError): + art_id = None + + # Article desc / target cycletime — active first, finished as fallback. + part = target_cycletime = None + prod_row = conn.execute( + text( + "SELECT aoArticleDesc, aoTargetCycletime FROM production.active_orders " + "WHERE aoOrdernumber = :orderno AND aoPress = :press LIMIT 1" + ), + {"orderno": ordernumber, "press": press}, + ).fetchone() + if not prod_row: + fo_row = conn.execute( + text( + "SELECT foArticleDesc, foTargetCycletime FROM production.finished_orders " + "WHERE foOrderNumber = :orderno AND foPress = :press " + "ORDER BY foDT_End DESC LIMIT 1" + ), + {"orderno": ordernumber, "press": press}, + ).fetchone() + if fo_row: + part = fo_row[0] + target_cycletime = fo_row[1] + else: + part = prod_row[0] + target_cycletime = prod_row[1] + + # Reason texts (settings schema, fully-qualified). + reason_row = conn.execute( + text("SELECT reason_de, reason_en FROM settings.reject_reasons WHERE id = :reason_id"), + {"reason_id": reason_id}, + ).fetchone() + reason_de = reason_row[0] if reason_row else "" + reason_en = reason_row[1] if reason_row else "" + + conn.execute( + text( + "INSERT INTO production.rejects " + "(rejPress, rejOrdernumber, rejArticleDesc, rejReason_INT, rejReason_DE, rejReason_EN, " + "rejQuantity, rejTargetCycletime, rejCycletimeAct, rejToolNo, rejCycleID, rejArticleID) " + "VALUES (:press, :orderno, :part, :reason_int, :reason_de, :reason_en, " + ":quantity, :target_cycletime, :cycletime_act, :toolno, :cycle_id, :article_id)" + ), + { + "press": press, + "orderno": ordernumber, + "part": part, + "reason_int": reason_id, + "reason_de": reason_de, + "reason_en": reason_en, + "quantity": count, + "target_cycletime": target_cycletime, + # rejCycletimeAct is NOT NULL — coalesce a missing cycle to 0.0. + "cycletime_act": cycletime if cycletime is not None else 0.0, + "toolno": mold, + "cycle_id": cycle_id, + "article_id": art_id, + }, + ) + logger.info("temper_rejects booked press=%s order=%s ttId=%s count=%s reason=%s", + press, ordernumber, body.ttId, count, reason_id) + return {"success": True, "message": "Ausschuss gebucht"} + except Exception as e: # transaction() already rolled back on exit + logger.error("temper_rejects reject write failed press=%s order=%s: %s", press, ordernumber, e, exc_info=True) + # 200 + success:False on purpose (see the note at the top of this handler) so + # the operator sees the real failure instead of a swallowed false success. + return {"success": False, "error": "database_error", "message": str(e)} diff --git a/dist/assets/index-DCD9Lyh2.js b/dist/assets/index-D0flZxiB.js similarity index 99% rename from dist/assets/index-DCD9Lyh2.js rename to dist/assets/index-D0flZxiB.js index 8203a0f..4d3299b 100644 --- a/dist/assets/index-DCD9Lyh2.js +++ b/dist/assets/index-D0flZxiB.js @@ -145,7 +145,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho } `},style:bu,classes:{},inlineStyles:{},load:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(e){return e})(fu(ju||=Ku([``,``]),e));return B(n)?ku(zc(n),Hu({name:this.name},t)):{}},loadCSS:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,e)},loadStyle:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return this.load(this.style,t,function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return V.transformCSS(t.name||e.name,`${r}${fu(Mu||=Ku([``,``]),n)}`)})},getCommonTheme:function(e){return V.getCommon(this.name,e)},getComponentTheme:function(e){return V.getComponent(this.name,e)},getDirectiveTheme:function(e){return V.getDirective(this.name,e)},getPresetTheme:function(e,t,n){return V.getCustomPreset(this.name,e,t,n)},getLayerOrderThemeCSS:function(){return V.getLayerOrderCSS(this.name)},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var n=Ac(this.css,{dt:uu})||``,r=zc(fu(Nu||=Ku([``,``,``]),n,e)),i=Object.entries(t).reduce(function(e,t){var n=Fu(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);return B(r)?``:``}return``},getCommonThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return V.getCommonStyleSheet(this.name,e,t)},getThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[V.getStyleSheet(this.name,e,t)];if(this.style){var r=this.name===`base`?`global-style`:`${this.name}-style`,i=fu(Pu||=Ku([``,``]),Ac(this.style,{dt:uu})),a=zc(V.transformCSS(r,i)),o=Object.entries(t).reduce(function(e,t){var n=Fu(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);B(a)&&n.push(``)}return n.join(``)},extend:function(e){return Hu(Hu({},this),{},{css:void 0,style:void 0},e)}},qu=Uc();function Ju(e){"@babel/helpers - typeof";return Ju=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ju(e)}function Yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xu(e){for(var t=1;tJl(...e),cd={root:{transitionDuration:`{transition.duration}`},panel:{borderWidth:`0`,borderColor:`{content.border.color}`},header:{color:`{text.color}`,hoverColor:`{text.color}`,activeColor:`{text.color}`,activeHoverColor:`{text.color}`,padding:`1.125rem`,fontWeight:`700`,borderRadius:`0`,borderWidth:`0 1px 1px 1px`,borderColor:`{content.border.color}`,background:`{content.background}`,hoverBackground:`{content.hover.background}`,activeBackground:`{content.background}`,activeHoverBackground:`{content.hover.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-2px`,shadow:`{focus.ring.shadow}`},toggleIcon:{color:`{text.color}`,hoverColor:`{text.color}`,activeColor:`{text.color}`,activeHoverColor:`{text.color}`},first:{topBorderRadius:`{content.border.radius}`,borderWidth:`1px`},last:{bottomBorderRadius:`{content.border.radius}`,activeBottomBorderRadius:`0`}},content:{borderWidth:`0 1px 1px 1px`,borderColor:`{content.border.color}`,background:`{content.background}`,color:`{text.color}`,padding:`1.125rem`}},ld={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},background:`{form.field.background}`,color:`{form.field.icon.color}`,hoverColor:`{form.field.icon.color}`,activeColor:`{form.field.icon.color}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},chip:{borderRadius:`{border.radius.xs}`},emptyMessage:{padding:`{list.option.padding}`},colorScheme:{light:{chip:{focusBackground:`{surface.300}`,focusColor:`{surface.900}`},dropdown:{hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`}},dark:{chip:{focusBackground:`{surface.600}`,focusColor:`{surface.0}`},dropdown:{hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`}}}},ud={root:{width:`2rem`,height:`2rem`,fontSize:`1rem`,background:`{content.hover.background}`,color:`{content.color}`,borderRadius:`{content.border.radius}`},icon:{size:`1rem`},group:{borderColor:`{content.background}`,offset:`-0.75rem`},lg:{width:`3rem`,height:`3rem`,fontSize:`1.5rem`,icon:{size:`1.5rem`},group:{offset:`-1rem`}},xl:{width:`4rem`,height:`4rem`,fontSize:`2rem`,icon:{size:`2rem`},group:{offset:`-1.5rem`}}},dd={root:{borderRadius:`{border.radius.md}`,padding:`0 0.5rem`,fontSize:`0.75rem`,fontWeight:`700`,minWidth:`1.5rem`,height:`1.5rem`},dot:{size:`0.5rem`},sm:{fontSize:`0.625rem`,minWidth:`1.25rem`,height:`1.25rem`},lg:{fontSize:`0.875rem`,minWidth:`1.75rem`,height:`1.75rem`},xl:{fontSize:`1rem`,minWidth:`2rem`,height:`2rem`},colorScheme:{light:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.200}`,color:`{surface.700}`},success:{background:`{green.600}`,color:`{surface.0}`},info:{background:`{sky.600}`,color:`{surface.0}`},warn:{background:`{orange.600}`,color:`{surface.0}`},danger:{background:`{red.600}`,color:`{surface.0}`},contrast:{background:`{surface.950}`,color:`{surface.0}`}},dark:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.700}`,color:`{surface.200}`},success:{background:`{green.500}`,color:`{green.950}`},info:{background:`{sky.500}`,color:`{sky.950}`},warn:{background:`{orange.500}`,color:`{orange.950}`},danger:{background:`{red.500}`,color:`{red.950}`},contrast:{background:`{surface.0}`,color:`{surface.950}`}}}},fd={primitive:{borderRadius:{none:`0`,xs:`2px`,sm:`4px`,md:`6px`,lg:`8px`,xl:`12px`},emerald:{50:`#ecfdf5`,100:`#d1fae5`,200:`#a7f3d0`,300:`#6ee7b7`,400:`#34d399`,500:`#10b981`,600:`#059669`,700:`#047857`,800:`#065f46`,900:`#064e3b`,950:`#022c22`},green:{50:`#f0fdf4`,100:`#dcfce7`,200:`#bbf7d0`,300:`#86efac`,400:`#4ade80`,500:`#22c55e`,600:`#16a34a`,700:`#15803d`,800:`#166534`,900:`#14532d`,950:`#052e16`},lime:{50:`#f7fee7`,100:`#ecfccb`,200:`#d9f99d`,300:`#bef264`,400:`#a3e635`,500:`#84cc16`,600:`#65a30d`,700:`#4d7c0f`,800:`#3f6212`,900:`#365314`,950:`#1a2e05`},red:{50:`#fef2f2`,100:`#fee2e2`,200:`#fecaca`,300:`#fca5a5`,400:`#f87171`,500:`#ef4444`,600:`#dc2626`,700:`#b91c1c`,800:`#991b1b`,900:`#7f1d1d`,950:`#450a0a`},orange:{50:`#fff7ed`,100:`#ffedd5`,200:`#fed7aa`,300:`#fdba74`,400:`#fb923c`,500:`#f97316`,600:`#ea580c`,700:`#c2410c`,800:`#9a3412`,900:`#7c2d12`,950:`#431407`},amber:{50:`#fffbeb`,100:`#fef3c7`,200:`#fde68a`,300:`#fcd34d`,400:`#fbbf24`,500:`#f59e0b`,600:`#d97706`,700:`#b45309`,800:`#92400e`,900:`#78350f`,950:`#451a03`},yellow:{50:`#fefce8`,100:`#fef9c3`,200:`#fef08a`,300:`#fde047`,400:`#facc15`,500:`#eab308`,600:`#ca8a04`,700:`#a16207`,800:`#854d0e`,900:`#713f12`,950:`#422006`},teal:{50:`#f0fdfa`,100:`#ccfbf1`,200:`#99f6e4`,300:`#5eead4`,400:`#2dd4bf`,500:`#14b8a6`,600:`#0d9488`,700:`#0f766e`,800:`#115e59`,900:`#134e4a`,950:`#042f2e`},cyan:{50:`#ecfeff`,100:`#cffafe`,200:`#a5f3fc`,300:`#67e8f9`,400:`#22d3ee`,500:`#06b6d4`,600:`#0891b2`,700:`#0e7490`,800:`#155e75`,900:`#164e63`,950:`#083344`},sky:{50:`#f0f9ff`,100:`#e0f2fe`,200:`#bae6fd`,300:`#7dd3fc`,400:`#38bdf8`,500:`#0ea5e9`,600:`#0284c7`,700:`#0369a1`,800:`#075985`,900:`#0c4a6e`,950:`#082f49`},blue:{50:`#eff6ff`,100:`#dbeafe`,200:`#bfdbfe`,300:`#93c5fd`,400:`#60a5fa`,500:`#3b82f6`,600:`#2563eb`,700:`#1d4ed8`,800:`#1e40af`,900:`#1e3a8a`,950:`#172554`},indigo:{50:`#eef2ff`,100:`#e0e7ff`,200:`#c7d2fe`,300:`#a5b4fc`,400:`#818cf8`,500:`#6366f1`,600:`#4f46e5`,700:`#4338ca`,800:`#3730a3`,900:`#312e81`,950:`#1e1b4b`},violet:{50:`#f5f3ff`,100:`#ede9fe`,200:`#ddd6fe`,300:`#c4b5fd`,400:`#a78bfa`,500:`#8b5cf6`,600:`#7c3aed`,700:`#6d28d9`,800:`#5b21b6`,900:`#4c1d95`,950:`#2e1065`},purple:{50:`#faf5ff`,100:`#f3e8ff`,200:`#e9d5ff`,300:`#d8b4fe`,400:`#c084fc`,500:`#a855f7`,600:`#9333ea`,700:`#7e22ce`,800:`#6b21a8`,900:`#581c87`,950:`#3b0764`},fuchsia:{50:`#fdf4ff`,100:`#fae8ff`,200:`#f5d0fe`,300:`#f0abfc`,400:`#e879f9`,500:`#d946ef`,600:`#c026d3`,700:`#a21caf`,800:`#86198f`,900:`#701a75`,950:`#4a044e`},pink:{50:`#fdf2f8`,100:`#fce7f3`,200:`#fbcfe8`,300:`#f9a8d4`,400:`#f472b6`,500:`#ec4899`,600:`#db2777`,700:`#be185d`,800:`#9d174d`,900:`#831843`,950:`#500724`},rose:{50:`#fff1f2`,100:`#ffe4e6`,200:`#fecdd3`,300:`#fda4af`,400:`#fb7185`,500:`#f43f5e`,600:`#e11d48`,700:`#be123c`,800:`#9f1239`,900:`#881337`,950:`#4c0519`},slate:{50:`#f8fafc`,100:`#f1f5f9`,200:`#e2e8f0`,300:`#cbd5e1`,400:`#94a3b8`,500:`#64748b`,600:`#475569`,700:`#334155`,800:`#1e293b`,900:`#0f172a`,950:`#020617`},gray:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#1f2937`,900:`#111827`,950:`#030712`},zinc:{50:`#fafafa`,100:`#f4f4f5`,200:`#e4e4e7`,300:`#d4d4d8`,400:`#a1a1aa`,500:`#71717a`,600:`#52525b`,700:`#3f3f46`,800:`#27272a`,900:`#18181b`,950:`#09090b`},neutral:{50:`#fafafa`,100:`#f5f5f5`,200:`#e5e5e5`,300:`#d4d4d4`,400:`#a3a3a3`,500:`#737373`,600:`#525252`,700:`#404040`,800:`#262626`,900:`#171717`,950:`#0a0a0a`},stone:{50:`#fafaf9`,100:`#f5f5f4`,200:`#e7e5e4`,300:`#d6d3d1`,400:`#a8a29e`,500:`#78716c`,600:`#57534e`,700:`#44403c`,800:`#292524`,900:`#1c1917`,950:`#0c0a09`}},semantic:{transitionDuration:`0s`,focusRing:{width:`2px`,style:`solid`,color:`{primary.color}`,offset:`2px`,shadow:`none`},disabledOpacity:`0.6`,iconSize:`1rem`,anchorGutter:`0`,primary:{50:`{emerald.50}`,100:`{emerald.100}`,200:`{emerald.200}`,300:`{emerald.300}`,400:`{emerald.400}`,500:`{emerald.500}`,600:`{emerald.600}`,700:`{emerald.700}`,800:`{emerald.800}`,900:`{emerald.900}`,950:`{emerald.950}`},formField:{paddingX:`0.75rem`,paddingY:`0.5rem`,sm:{fontSize:`0.875rem`,paddingX:`0.625rem`,paddingY:`0.375rem`},lg:{fontSize:`1.125rem`,paddingX:`0.875rem`,paddingY:`0.625rem`},borderRadius:`{border.radius.xs}`,focusRing:{width:`2px`,style:`solid`,color:`{primary.color}`,offset:`-1px`,shadow:`none`},transitionDuration:`{transition.duration}`},list:{padding:`0.125rem 0`,gap:`0`,header:{padding:`0.5rem 0.75rem 0.375rem 0.75rem`},option:{padding:`0.5rem 0.75rem`,borderRadius:`0`},optionGroup:{padding:`0.5rem 0.75rem`,fontWeight:`700`}},content:{borderRadius:`{border.radius.xs}`},mask:{transitionDuration:`0.3s`},navigation:{list:{padding:`0.125rem 0`,gap:`0`},item:{padding:`0.5rem 0.75rem`,borderRadius:`0`,gap:`0.5rem`},submenuLabel:{padding:`0.5rem 0.75rem`,fontWeight:`700`},submenuIcon:{size:`0.875rem`}},overlay:{select:{borderRadius:`{border.radius.xs}`,shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`},popover:{borderRadius:`{border.radius.xs}`,padding:`0.75rem`,shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`},modal:{borderRadius:`{border.radius.xs}`,padding:`1.25rem`,shadow:`0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)`},navigation:{shadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)`}},colorScheme:{light:{surface:{0:`#ffffff`,50:`{slate.50}`,100:`{slate.100}`,200:`{slate.200}`,300:`{slate.300}`,400:`{slate.400}`,500:`{slate.500}`,600:`{slate.600}`,700:`{slate.700}`,800:`{slate.800}`,900:`{slate.900}`,950:`{slate.950}`},primary:{color:`{primary.600}`,contrastColor:`#ffffff`,hoverColor:`{primary.700}`,activeColor:`{primary.800}`},highlight:{background:`{primary.600}`,focusBackground:`{primary.700}`,color:`#ffffff`,focusColor:`#ffffff`},mask:{background:`rgba(0,0,0,0.4)`,color:`{surface.200}`},formField:{background:`{surface.0}`,disabledBackground:`{surface.300}`,filledBackground:`{surface.100}`,filledHoverBackground:`{surface.100}`,filledFocusBackground:`{surface.100}`,borderColor:`{surface.500}`,hoverBorderColor:`{surface.500}`,focusBorderColor:`{surface.500}`,invalidBorderColor:`{red.500}`,color:`{surface.900}`,disabledColor:`{surface.600}`,placeholderColor:`{surface.600}`,invalidPlaceholderColor:`{red.600}`,floatLabelColor:`{surface.600}`,floatLabelFocusColor:`{primary.color}`,floatLabelActiveColor:`{surface.600}`,floatLabelInvalidColor:`{form.field.invalid.placeholder.color}`,iconColor:`{surface.900}`,shadow:`none`},text:{color:`{surface.900}`,hoverColor:`{surface.950}`,mutedColor:`{surface.600}`,hoverMutedColor:`{surface.700}`},content:{background:`{surface.0}`,hoverBackground:`{surface.200}`,borderColor:`{surface.400}`,color:`{text.color}`,hoverColor:`{text.hover.color}`},overlay:{select:{background:`{surface.0}`,borderColor:`transparent`,color:`{text.color}`},popover:{background:`{surface.0}`,borderColor:`transparent`,color:`{text.color}`},modal:{background:`{surface.0}`,borderColor:`transparent`,color:`{text.color}`}},list:{option:{focusBackground:`{surface.200}`,selectedBackground:`{highlight.background}`,selectedFocusBackground:`{highlight.focus.background}`,color:`{text.color}`,focusColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,selectedFocusColor:`{highlight.focus.color}`,icon:{color:`{text.muted.color}`,focusColor:`{text.hover.muted.color}`}},optionGroup:{background:`transparent`,color:`{text.color}`}},navigation:{item:{focusBackground:`{primary.color}`,activeBackground:`{surface.200}`,color:`{text.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.hover.color}`,icon:{color:`{text.muted.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.hover.muted.color}`}},submenuLabel:{background:`transparent`,color:`{text.color}`},submenuIcon:{color:`{text.muted.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.hover.muted.color}`}}},dark:{surface:{0:`#ffffff`,50:`{zinc.50}`,100:`{zinc.100}`,200:`{zinc.200}`,300:`{zinc.300}`,400:`{zinc.400}`,500:`{zinc.500}`,600:`{zinc.600}`,700:`{zinc.700}`,800:`{zinc.800}`,900:`{zinc.900}`,950:`{zinc.950}`},primary:{color:`{primary.500}`,contrastColor:`{surface.950}`,hoverColor:`{primary.400}`,activeColor:`{primary.300}`},highlight:{background:`{primary.500}`,focusBackground:`{primary.400}`,color:`{surface.950}`,focusColor:`{surface.950}`},mask:{background:`rgba(0,0,0,0.6)`,color:`{surface.200}`},formField:{background:`{surface.950}`,disabledBackground:`{surface.700}`,filledBackground:`{surface.800}`,filledHoverBackground:`{surface.800}`,filledFocusBackground:`{surface.800}`,borderColor:`{surface.500}`,hoverBorderColor:`{surface.500}`,focusBorderColor:`{surface.500}`,invalidBorderColor:`{red.400}`,color:`{surface.0}`,disabledColor:`{surface.400}`,placeholderColor:`{surface.400}`,invalidPlaceholderColor:`{red.400}`,floatLabelColor:`{surface.400}`,floatLabelFocusColor:`{primary.color}`,floatLabelActiveColor:`{surface.400}`,floatLabelInvalidColor:`{form.field.invalid.placeholder.color}`,iconColor:`{surface.0}`,shadow:`none`},text:{color:`{surface.0}`,hoverColor:`{surface.0}`,mutedColor:`{surface.400}`,hoverMutedColor:`{surface.300}`},content:{background:`{surface.900}`,hoverBackground:`{surface.700}`,borderColor:`{surface.500}`,color:`{text.color}`,hoverColor:`{text.hover.color}`},overlay:{select:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`},popover:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`},modal:{background:`{surface.900}`,borderColor:`{surface.700}`,color:`{text.color}`}},list:{option:{focusBackground:`{surface.700}`,selectedBackground:`{highlight.background}`,selectedFocusBackground:`{highlight.focus.background}`,color:`{text.color}`,focusColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,selectedFocusColor:`{highlight.focus.color}`,icon:{color:`{text.muted.color}`,focusColor:`{text.hover.muted.color}`}},optionGroup:{background:`transparent`,color:`{text.color}`}},navigation:{item:{focusBackground:`{primary.color}`,activeBackground:`{surface.700}`,color:`{text.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.color}`,icon:{color:`{text.muted.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.hover.muted.color}`}},submenuLabel:{background:`transparent`,color:`{text.color}`},submenuIcon:{color:`{text.muted.color}`,focusColor:`{primary.contrast.color}`,activeColor:`{text.hover.muted.color}`}}}}}},pd={root:{borderRadius:`{content.border.radius}`}},md={root:{padding:`1rem`,background:`{content.background}`,gap:`0.5rem`,transitionDuration:`{transition.duration}`},item:{color:`{text.muted.color}`,hoverColor:`{text.color}`,borderRadius:`{content.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{text.muted.color}`,hoverColor:`{text.color}`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},separator:{color:`{navigation.item.icon.color}`}},hd={root:{borderRadius:`{form.field.border.radius}`,roundedBorderRadius:`2rem`,gap:`0.5rem`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,iconOnlyWidth:`2.5rem`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`,iconOnlyWidth:`2rem`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`,iconOnlyWidth:`3rem`},label:{fontWeight:`700`},raisedShadow:`0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`},badgeSize:`1rem`,transitionDuration:`{form.field.transition.duration}`},colorScheme:{light:{root:{primary:{background:`{primary.color}`,hoverBackground:`{primary.hover.color}`,activeBackground:`{primary.active.color}`,borderColor:`{primary.color}`,hoverBorderColor:`{primary.hover.color}`,activeBorderColor:`{primary.active.color}`,color:`{primary.contrast.color}`,hoverColor:`{primary.contrast.color}`,activeColor:`{primary.contrast.color}`,focusRing:{color:`{primary.color}`,shadow:`none`}},secondary:{background:`{surface.200}`,hoverBackground:`{surface.300}`,activeBackground:`{surface.400}`,borderColor:`{surface.200}`,hoverBorderColor:`{surface.300}`,activeBorderColor:`{surface.400}`,color:`{surface.700}`,hoverColor:`{surface.800}`,activeColor:`{surface.900}`,focusRing:{color:`{surface.700}`,shadow:`none`}},info:{background:`{sky.600}`,hoverBackground:`{sky.700}`,activeBackground:`{sky.800}`,borderColor:`{sky.600}`,hoverBorderColor:`{sky.700}`,activeBorderColor:`{sky.800}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{sky.600}`,shadow:`none`}},success:{background:`{green.600}`,hoverBackground:`{green.700}`,activeBackground:`{green.800}`,borderColor:`{green.600}`,hoverBorderColor:`{green.700}`,activeBorderColor:`{green.800}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{green.600}`,shadow:`none`}},warn:{background:`{orange.600}`,hoverBackground:`{orange.700}`,activeBackground:`{orange.800}`,borderColor:`{orange.600}`,hoverBorderColor:`{orange.700}`,activeBorderColor:`{orange.800}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{orange.600}`,shadow:`none`}},help:{background:`{purple.600}`,hoverBackground:`{purple.700}`,activeBackground:`{purple.800}`,borderColor:`{purple.600}`,hoverBorderColor:`{purple.700}`,activeBorderColor:`{purple.800}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{purple.600}`,shadow:`none`}},danger:{background:`{red.600}`,hoverBackground:`{red.700}`,activeBackground:`{red.800}`,borderColor:`{red.600}`,hoverBorderColor:`{red.700}`,activeBorderColor:`{red.800}`,color:`#ffffff`,hoverColor:`#ffffff`,activeColor:`#ffffff`,focusRing:{color:`{red.600}`,shadow:`none`}},contrast:{background:`{surface.950}`,hoverBackground:`{surface.900}`,activeBackground:`{surface.800}`,borderColor:`{surface.950}`,hoverBorderColor:`{surface.900}`,activeBorderColor:`{surface.800}`,color:`{surface.0}`,hoverColor:`{surface.0}`,activeColor:`{surface.0}`,focusRing:{color:`{surface.950}`,shadow:`none`}}},outlined:{primary:{hoverBackground:`{primary.50}`,activeBackground:`{primary.100}`,borderColor:`{primary.color}`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.600}`,color:`{surface.600}`},success:{hoverBackground:`{green.50}`,activeBackground:`{green.100}`,borderColor:`{green.600}`,color:`{green.600}`},info:{hoverBackground:`{sky.50}`,activeBackground:`{sky.100}`,borderColor:`{sky.600}`,color:`{sky.600}`},warn:{hoverBackground:`{orange.50}`,activeBackground:`{orange.100}`,borderColor:`{orange.600}`,color:`{orange.600}`},help:{hoverBackground:`{purple.50}`,activeBackground:`{purple.100}`,borderColor:`{purple.600}`,color:`{purple.600}`},danger:{hoverBackground:`{red.50}`,activeBackground:`{red.100}`,borderColor:`{red.600}`,color:`{red.600}`},contrast:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.950}`,color:`{surface.950}`},plain:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,borderColor:`{surface.900}`,color:`{surface.900}`}},text:{primary:{hoverBackground:`{primary.50}`,activeBackground:`{primary.100}`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.600}`},success:{hoverBackground:`{green.50}`,activeBackground:`{green.100}`,color:`{green.600}`},info:{hoverBackground:`{sky.50}`,activeBackground:`{sky.100}`,color:`{sky.600}`},warn:{hoverBackground:`{orange.50}`,activeBackground:`{orange.100}`,color:`{orange.600}`},help:{hoverBackground:`{purple.50}`,activeBackground:`{purple.100}`,color:`{purple.600}`},danger:{hoverBackground:`{red.50}`,activeBackground:`{red.100}`,color:`{red.600}`},contrast:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.950}`},plain:{hoverBackground:`{surface.50}`,activeBackground:`{surface.100}`,color:`{surface.900}`}},link:{color:`{primary.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}},dark:{root:{primary:{background:`{primary.color}`,hoverBackground:`{primary.hover.color}`,activeBackground:`{primary.active.color}`,borderColor:`{primary.color}`,hoverBorderColor:`{primary.hover.color}`,activeBorderColor:`{primary.active.color}`,color:`{primary.contrast.color}`,hoverColor:`{primary.contrast.color}`,activeColor:`{primary.contrast.color}`,focusRing:{color:`{primary.color}`,shadow:`none`}},secondary:{background:`{surface.700}`,hoverBackground:`{surface.600}`,activeBackground:`{surface.500}`,borderColor:`{surface.700}`,hoverBorderColor:`{surface.600}`,activeBorderColor:`{surface.500}`,color:`{surface.200}`,hoverColor:`{surface.100}`,activeColor:`{surface.0}`,focusRing:{color:`{surface.200}`,shadow:`none`}},info:{background:`{sky.500}`,hoverBackground:`{sky.400}`,activeBackground:`{sky.300}`,borderColor:`{sky.500}`,hoverBorderColor:`{sky.400}`,activeBorderColor:`{sky.300}`,color:`{sky.950}`,hoverColor:`{sky.950}`,activeColor:`{sky.950}`,focusRing:{color:`{sky.500}`,shadow:`none`}},success:{background:`{green.500}`,hoverBackground:`{green.400}`,activeBackground:`{green.300}`,borderColor:`{green.500}`,hoverBorderColor:`{green.400}`,activeBorderColor:`{green.300}`,color:`{green.950}`,hoverColor:`{green.950}`,activeColor:`{green.950}`,focusRing:{color:`{green.500}`,shadow:`none`}},warn:{background:`{orange.500}`,hoverBackground:`{orange.400}`,activeBackground:`{orange.300}`,borderColor:`{orange.500}`,hoverBorderColor:`{orange.400}`,activeBorderColor:`{orange.300}`,color:`{orange.950}`,hoverColor:`{orange.950}`,activeColor:`{orange.950}`,focusRing:{color:`{orange.500}`,shadow:`none`}},help:{background:`{purple.500}`,hoverBackground:`{purple.400}`,activeBackground:`{purple.300}`,borderColor:`{purple.500}`,hoverBorderColor:`{purple.400}`,activeBorderColor:`{purple.300}`,color:`{purple.950}`,hoverColor:`{purple.950}`,activeColor:`{purple.950}`,focusRing:{color:`{purple.500}`,shadow:`none`}},danger:{background:`{red.500}`,hoverBackground:`{red.400}`,activeBackground:`{red.300}`,borderColor:`{red.500}`,hoverBorderColor:`{red.400}`,activeBorderColor:`{red.300}`,color:`{red.950}`,hoverColor:`{red.950}`,activeColor:`{red.950}`,focusRing:{color:`{red.500}`,shadow:`none`}},contrast:{background:`{surface.0}`,hoverBackground:`{surface.100}`,activeBackground:`{surface.200}`,borderColor:`{surface.0}`,hoverBorderColor:`{surface.100}`,activeBorderColor:`{surface.200}`,color:`{surface.950}`,hoverColor:`{surface.950}`,activeColor:`{surface.950}`,focusRing:{color:`{surface.0}`,shadow:`none`}}},outlined:{primary:{hoverBackground:`color-mix(in srgb, {primary.color}, transparent 96%)`,activeBackground:`color-mix(in srgb, {primary.color}, transparent 84%)`,borderColor:`{primary.color}`,color:`{primary.color}`},secondary:{hoverBackground:`rgba(255,255,255,0.04)`,activeBackground:`rgba(255,255,255,0.16)`,borderColor:`{surface.400}`,color:`{surface.400}`},success:{hoverBackground:`{green.950}`,activeBackground:`{green.900}`,borderColor:`{green.500}`,color:`{green.500}`},info:{hoverBackground:`{sky.950}`,activeBackground:`{sky.900}`,borderColor:`{sky.500}`,color:`{sky.500}`},warn:{hoverBackground:`{orange.950}`,activeBackground:`{orange.900}`,borderColor:`{orange.500}`,color:`{orange.500}`},help:{hoverBackground:`{purple.950}`,activeBackground:`{purple.900}`,borderColor:`{purple.500}`,color:`{purple.500}`},danger:{hoverBackground:`{red.950}`,activeBackground:`{red.900}`,borderColor:`{red.500}`,color:`{red.500}`},contrast:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,borderColor:`{surface.0}`,color:`{surface.0}`},plain:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,borderColor:`{surface.0}`,color:`{surface.0}`}},text:{primary:{hoverBackground:`color-mix(in srgb, {primary.color}, transparent 96%)`,activeBackground:`color-mix(in srgb, {primary.color}, transparent 84%)`,color:`{primary.color}`},secondary:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.400}`},success:{hoverBackground:`color-mix(in srgb, {green.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {green.400}, transparent 84%)`,color:`{green.500}`},info:{hoverBackground:`color-mix(in srgb, {sky.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {sky.400}, transparent 84%)`,color:`{sky.500}`},warn:{hoverBackground:`color-mix(in srgb, {orange.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {orange.400}, transparent 84%)`,color:`{orange.500}`},help:{hoverBackground:`color-mix(in srgb, {purple.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {purple.400}, transparent 84%)`,color:`{purple.500}`},danger:{hoverBackground:`color-mix(in srgb, {red.400}, transparent 96%)`,activeBackground:`color-mix(in srgb, {red.400}, transparent 84%)`,color:`{red.500}`},contrast:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.0}`},plain:{hoverBackground:`{surface.800}`,activeBackground:`{surface.700}`,color:`{surface.0}`}},link:{color:`{primary.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}}}},gd={root:{background:`{content.background}`,borderRadius:`{border.radius.sm}`,color:`{content.color}`,shadow:`0 1px 4px 0 rgba(0, 0, 0, 0.1)`},body:{padding:`1.25rem`,gap:`0.5rem`},caption:{gap:`0.5rem`},title:{fontSize:`1.25rem`,fontWeight:`500`},subtitle:{color:`{text.muted.color}`}},_d={root:{transitionDuration:`{transition.duration}`},content:{gap:`0.25rem`},indicatorList:{padding:`1rem`,gap:`0.5rem`},indicator:{width:`2rem`,height:`0.5rem`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{indicator:{background:`{surface.300}`,hoverBackground:`{surface.400}`,activeBackground:`{primary.color}`}},dark:{indicator:{background:`{surface.600}`,hoverBackground:`{surface.500}`,activeBackground:`{primary.color}`}}}},vd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,mobileIndent:`1rem`},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`,icon:{color:`{list.option.icon.color}`,focusColor:`{list.option.icon.focus.color}`,size:`0.875rem`}},clearIcon:{color:`{form.field.icon.color}`}},yd={root:{borderRadius:`{border.radius.xs}`,width:`1.25rem`,height:`1.25rem`,background:`{form.field.background}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.hover.color}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.border.color}`,checkedBorderColor:`{primary.color}`,checkedHoverBorderColor:`{primary.hover.color}`,checkedFocusBorderColor:`{primary.color}`,checkedDisabledBorderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{width:`1rem`,height:`1rem`},lg:{width:`1.5rem`,height:`1.5rem`}},icon:{size:`0.875rem`,color:`{form.field.color}`,checkedColor:`{primary.contrast.color}`,checkedHoverColor:`{primary.contrast.color}`,disabledColor:`{form.field.disabled.color}`,sm:{size:`0.75rem`},lg:{size:`1rem`}}},bd={root:{borderRadius:`16px`,paddingX:`0.75rem`,paddingY:`0.5rem`,gap:`0.5rem`,transitionDuration:`{transition.duration}`},image:{width:`2rem`,height:`2rem`},icon:{size:`1rem`},removeIcon:{size:`1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`}},colorScheme:{light:{root:{background:`{surface.200}`,color:`{surface.900}`},icon:{color:`{surface.900}`},removeIcon:{color:`{surface.900}`}},dark:{root:{background:`{surface.700}`,color:`{surface.0}`},icon:{color:`{surface.0}`},removeIcon:{color:`{surface.0}`}}}},xd={root:{transitionDuration:`{transition.duration}`},preview:{width:`1.5rem`,height:`1.5rem`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},panel:{shadow:`{overlay.popover.shadow}`,borderRadius:`{overlay.popover.borderRadius}`},colorScheme:{light:{panel:{background:`{surface.800}`,borderColor:`{surface.900}`},handle:{color:`{surface.0}`}},dark:{panel:{background:`{surface.900}`,borderColor:`{surface.700}`},handle:{color:`{surface.0}`}}}},Sd={icon:{size:`2rem`,color:`{overlay.modal.color}`},content:{gap:`1rem`}},Cd={root:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,color:`{overlay.popover.color}`,borderRadius:`{overlay.popover.border.radius}`,shadow:`{overlay.popover.shadow}`,gutter:`10px`,arrowOffset:`1.25rem`},content:{padding:`{overlay.popover.padding}`,gap:`1rem`},icon:{size:`1.5rem`,color:`{overlay.popover.color}`},footer:{gap:`0.5rem`,padding:`0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}`}},wd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{mobileIndent:`1rem`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`}},Td={root:{transitionDuration:`{transition.duration}`},header:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,borderWidth:`1px 0 1px 0`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},headerCell:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,gap:`0.5rem`,padding:`0.75rem 1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`},sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnTitle:{fontWeight:`700`},row:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},bodyCell:{borderColor:`{datatable.border.color}`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},footerCell:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnFooter:{fontWeight:`700`},footer:{background:`{content.background}`,borderColor:`{datatable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},dropPoint:{color:`{primary.color}`},columnResizer:{width:`0.5rem`},resizeIndicator:{width:`1px`,color:`{primary.color}`},sortIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,size:`0.875rem`},loadingIcon:{size:`2rem`},rowToggleButton:{hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,selectedHoverColor:`{primary.color}`,size:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},filter:{inlineGap:`0.5rem`,overlaySelect:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},overlayPopover:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,borderRadius:`{overlay.popover.border.radius}`,color:`{overlay.popover.color}`,shadow:`{overlay.popover.shadow}`,padding:`{overlay.popover.padding}`,gap:`0.5rem`},rule:{borderColor:`{content.border.color}`},constraintList:{padding:`{list.padding}`,gap:`{list.gap}`},constraint:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,separator:{borderColor:`{content.border.color}`},padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`}},paginatorTop:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},colorScheme:{light:{root:{borderColor:`{surface.300}`},row:{stripedBackground:`{surface.50}`},bodyCell:{selectedBorderColor:`{primary.100}`}},dark:{root:{borderColor:`{surface.600}`},row:{stripedBackground:`{surface.950}`},bodyCell:{selectedBorderColor:`{primary.900}`}}}},Ed={root:{borderColor:`transparent`,borderWidth:`0`,borderRadius:`0`,padding:`0`},header:{background:`{content.background}`,color:`{content.color}`,borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,borderRadius:`0`},content:{background:`{content.background}`,color:`{content.color}`,borderColor:`transparent`,borderWidth:`0`,padding:`0`,borderRadius:`0`},footer:{background:`{content.background}`,color:`{content.color}`,borderColor:`{content.border.color}`,borderWidth:`1px 0 0 0`,padding:`0.75rem 1rem`,borderRadius:`0`},paginatorTop:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{content.border.color}`,borderWidth:`1px 0 0 0`}},Dd={root:{transitionDuration:`{transition.duration}`},panel:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.popover.shadow}`,padding:`{overlay.popover.padding}`},header:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,padding:`0 0 0.5rem 0`},title:{gap:`0.5rem`,fontWeight:`500`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},background:`{form.field.background}`,color:`{form.field.icon.color}`,hoverColor:`{form.field.icon.color}`,activeColor:`{form.field.icon.color}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},inputIcon:{color:`{form.field.icon.color}`},selectMonth:{hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`},selectYear:{hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`},group:{borderColor:`{content.border.color}`,gap:`{overlay.popover.padding}`},dayView:{margin:`0.5rem 0 0 0`},weekDay:{padding:`0.25rem`,fontWeight:`500`,color:`{content.color}`},date:{hoverBackground:`{content.hover.background}`,selectedBackground:`{primary.color}`,rangeSelectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{primary.contrast.color}`,rangeSelectedColor:`{highlight.color}`,width:`2rem`,height:`2rem`,borderRadius:`50%`,padding:`0.25rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},monthView:{margin:`0.5rem 0 0 0`},month:{padding:`0.375rem`,borderRadius:`{content.border.radius}`},yearView:{margin:`0.5rem 0 0 0`},year:{padding:`0.375rem`,borderRadius:`{content.border.radius}`},buttonbar:{padding:`0.5rem 0 0 0`,borderColor:`{content.border.color}`},timePicker:{padding:`0.5rem 0 0 0`,borderColor:`{content.border.color}`,gap:`0.5rem`,buttonGap:`0.25rem`},colorScheme:{light:{dropdown:{hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`},today:{background:`{surface.200}`,color:`{surface.900}`}},dark:{dropdown:{hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`},today:{background:`{surface.700}`,color:`{surface.0}`}}}},Od={root:{background:`{overlay.modal.background}`,borderColor:`{overlay.modal.border.color}`,color:`{overlay.modal.color}`,borderRadius:`{overlay.modal.border.radius}`,shadow:`{overlay.modal.shadow}`},header:{padding:`{overlay.modal.padding}`,gap:`0.5rem`},title:{fontSize:`1.25rem`,fontWeight:`700`},content:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`},footer:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`,gap:`0.5rem`}},kd={root:{borderColor:`{content.border.color}`},content:{background:`{content.background}`,color:`{text.color}`},horizontal:{margin:`1rem 0`,padding:`0 1rem`,content:{padding:`0 0.5rem`}},vertical:{margin:`0 1rem`,padding:`0.5rem 0`,content:{padding:`0.5rem 0`}}},Ad={root:{background:`rgba(255, 255, 255, 0.1)`,borderColor:`rgba(255, 255, 255, 0.2)`,padding:`0.5rem`,borderRadius:`{border.radius.xl}`},item:{borderRadius:`{content.border.radius}`,padding:`0.5rem`,size:`3rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},jd={root:{background:`{overlay.modal.background}`,borderColor:`{overlay.modal.border.color}`,color:`{overlay.modal.color}`,shadow:`{overlay.modal.shadow}`},header:{padding:`{overlay.modal.padding}`},title:{fontSize:`1.5rem`,fontWeight:`700`},content:{padding:`0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}`},footer:{padding:`{overlay.modal.padding}`}},Md={toolbar:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`},toolbarItem:{color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`,padding:`{list.padding}`},overlayOption:{focusBackground:`{list.option.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},content:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`}},Nd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,padding:`0.75rem 1.125rem 1.125rem 1.125rem`,transitionDuration:`{transition.duration}`},legend:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,borderRadius:`{content.border.radius}`,borderWidth:`1px`,borderColor:`{content.border.color}`,padding:`0.5rem 0.75rem`,gap:`0.5rem`,fontWeight:`700`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},toggleIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`},content:{padding:`0`}},Pd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,transitionDuration:`{transition.duration}`},header:{background:`transparent`,color:`{text.color}`,padding:`1.125rem`,borderColor:`unset`,borderWidth:`0`,borderRadius:`0`,gap:`0.5rem`},content:{highlightBorderColor:`{primary.color}`,padding:`0 1.125rem 1.125rem 1.125rem`,gap:`1rem`},file:{padding:`1rem`,gap:`1rem`,borderColor:`{content.border.color}`,info:{gap:`0.5rem`}},fileList:{gap:`0.5rem`},progressbar:{height:`0.25rem`},basic:{gap:`0.5rem`}},Fd={root:{color:`{form.field.float.label.color}`,focusColor:`{form.field.float.label.focus.color}`,activeColor:`{form.field.float.label.active.color}`,invalidColor:`{form.field.float.label.invalid.color}`,transitionDuration:`0.2s`,positionX:`{form.field.padding.x}`,positionY:`{form.field.padding.y}`,fontWeight:`500`,active:{fontSize:`0.75rem`,fontWeight:`400`}},over:{active:{top:`-1.25rem`}},in:{input:{paddingTop:`1.5rem`,paddingBottom:`{form.field.padding.y}`},active:{top:`{form.field.padding.y}`}},on:{borderRadius:`{border.radius.xs}`,active:{background:`{form.field.background}`,padding:`0 0.125rem`}}},Id={root:{borderWidth:`1px`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,transitionDuration:`{transition.duration}`},navButton:{background:`rgba(255, 255, 255, 0.1)`,hoverBackground:`rgba(255, 255, 255, 0.2)`,color:`{surface.100}`,hoverColor:`{surface.0}`,size:`3rem`,gutter:`0.5rem`,prev:{borderRadius:`50%`},next:{borderRadius:`50%`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},navIcon:{size:`1.5rem`},thumbnailsContent:{background:`{content.background}`,padding:`1rem 0.25rem`},thumbnailNavButton:{size:`2rem`,borderRadius:`{content.border.radius}`,gutter:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},thumbnailNavButtonIcon:{size:`1rem`},caption:{background:`rgba(0, 0, 0, 0.5)`,color:`{surface.100}`,padding:`1rem`},indicatorList:{gap:`0.5rem`,padding:`1rem`},indicatorButton:{width:`1rem`,height:`1rem`,activeBackground:`{primary.color}`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},insetIndicatorList:{background:`rgba(0, 0, 0, 0.5)`},insetIndicatorButton:{background:`rgba(255, 255, 255, 0.4)`,hoverBackground:`rgba(255, 255, 255, 0.6)`,activeBackground:`rgba(255, 255, 255, 0.9)`},closeButton:{size:`3rem`,gutter:`0.5rem`,background:`rgba(255, 255, 255, 0.1)`,hoverBackground:`rgba(255, 255, 255, 0.2)`,color:`{surface.50}`,hoverColor:`{surface.0}`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},closeButtonIcon:{size:`1.5rem`},colorScheme:{light:{thumbnailNavButton:{hoverBackground:`{surface.200}`,color:`{text.color}`,hoverColor:`{text.hover.color}`},indicatorButton:{background:`{surface.300}`,hoverBackground:`{surface.400}`}},dark:{thumbnailNavButton:{hoverBackground:`{surface.700}`,color:`{surface.0}`,hoverColor:`{surface.0}`},indicatorButton:{background:`{surface.600}`,hoverBackground:`{surface.500}`}}}},Ld={icon:{color:`{form.field.icon.color}`}},Rd={root:{color:`{form.field.float.label.color}`,focusColor:`{form.field.float.label.focus.color}`,invalidColor:`{form.field.float.label.invalid.color}`,transitionDuration:`0.2s`,positionX:`{form.field.padding.x}`,top:`{form.field.padding.y}`,fontSize:`0.75rem`,fontWeight:`400`},input:{paddingTop:`1.5rem`,paddingBottom:`{form.field.padding.y}`}},zd={root:{transitionDuration:`{transition.duration}`},preview:{icon:{size:`1.5rem`},mask:{background:`{mask.background}`,color:`{mask.color}`}},toolbar:{position:{left:`auto`,right:`1rem`,top:`1rem`,bottom:`auto`},blur:`8px`,background:`rgba(255,255,255,0.1)`,borderColor:`rgba(255,255,255,0.2)`,borderWidth:`1px`,borderRadius:`{content.border.radius}`,padding:`.5rem`,gap:`0.5rem`},action:{hoverBackground:`rgba(255,255,255,0.1)`,color:`{surface.50}`,hoverColor:`{surface.0}`,size:`3rem`,iconSize:`1.5rem`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Bd={handle:{size:`15px`,hoverSize:`30px`,background:`rgba(255,255,255,0.3)`,hoverBackground:`rgba(255,255,255,0.3)`,borderColor:`rgba(255,255,255,0.3)`,hoverBorderColor:`rgba(255,255,255,0.3)`,borderWidth:`3px`,borderRadius:`{content.border.radius}`,transitionDuration:`0.2s`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`rgba(255,255,255,0.3)`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Vd={root:{padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{content.border.radius}`,gap:`0.5rem`},text:{fontWeight:`700`},icon:{size:`1rem`},colorScheme:{light:{info:{background:`{blue.800}`,borderColor:`{blue.800}`,color:`{blue.50}`,shadow:`none`},success:{background:`{green.800}`,borderColor:`{green.800}`,color:`{green.50}`,shadow:`none`},warn:{background:`{yellow.600}`,borderColor:`{yellow.600}`,color:`{yellow.50}`,shadow:`none`},error:{background:`{red.800}`,borderColor:`{red.800}`,color:`{red.50}`,shadow:`none`},secondary:{background:`{surface.200}`,borderColor:`{surface.200}`,color:`{surface.700}`,shadow:`none`},contrast:{background:`{surface.900}`,borderColor:`{surface.900}`,color:`{surface.50}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`}},dark:{info:{background:`{blue.200}`,borderColor:`{blue.200}`,color:`{blue.950}`,shadow:`none`},success:{background:`{green.200}`,borderColor:`{green.200}`,color:`{green.950}`,shadow:`none`},warn:{background:`{yellow.200}`,borderColor:`{yellow.200}`,color:`{yellow.950}`,shadow:`none`},error:{background:`{red.200}`,borderColor:`{red.200}`,color:`{red.950}`,shadow:`none`},secondary:{background:`{surface.700}`,borderColor:`{surface.700}`,color:`{surface.200}`,shadow:`none`},contrast:{background:`{surface.0}`,borderColor:`{surface.0}`,color:`{surface.950}`,shadow:`none`}}}},Hd={root:{padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{transition.duration}`},display:{hoverBackground:`{content.hover.background}`,hoverColor:`{content.hover.color}`}},Ud={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},chip:{borderRadius:`{border.radius.xs}`},colorScheme:{light:{chip:{focusBackground:`{surface.300}`,color:`{surface.900}`}},dark:{chip:{focusBackground:`{surface.600}`,color:`{surface.0}`}}}},Wd={addon:{background:`{form.field.background}`,borderColor:`{form.field.border.color}`,color:`{form.field.icon.color}`,borderRadius:`{form.field.border.radius}`,padding:`0.5rem`,minWidth:`2.5rem`}},Gd={root:{transitionDuration:`{transition.duration}`},button:{background:`transparent`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,color:`{form.field.icon.color}`,hoverColor:`{form.field.icon.color}`,activeColor:`{form.field.icon.color}`,width:`2.5rem`,borderRadius:`{form.field.border.radius}`,verticalPadding:`{form.field.padding.y}`},colorScheme:{light:{button:{hoverBackground:`{surface.200}`,activeBackground:`{surface.300}`}},dark:{button:{hoverBackground:`{surface.700}`,activeBackground:`{surface.600}`}}}},Kd={root:{gap:`0.5rem`},input:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`}}},qd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}}},Jd={root:{transitionDuration:`{transition.duration}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},value:{background:`{primary.color}`},text:{color:`{text.muted.color}`},colorScheme:{light:{range:{background:`{surface.300}`}},dark:{range:{background:`{surface.600}`}}}},Yd={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,borderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,shadow:`{form.field.shadow}`,borderRadius:`{form.field.border.radius}`,transitionDuration:`{form.field.transition.duration}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},checkmark:{color:`{list.option.color}`,gutterStart:`-0.375rem`,gutterEnd:`0.375rem`},emptyMessage:{padding:`{list.option.padding}`},colorScheme:{light:{option:{stripedBackground:`{surface.100}`}},dark:{option:{stripedBackground:`{surface.800}`}}}},Xd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,verticalOrientation:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},horizontalOrientation:{padding:`0.5rem 0.75rem`,gap:`0.5rem`},transitionDuration:`{transition.duration}`},baseItem:{borderRadius:`{content.border.radius}`,padding:`{navigation.item.padding}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},overlay:{padding:`0`,background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,shadow:`{overlay.navigation.shadow}`,gap:`0.5rem`},submenu:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},submenuLabel:{padding:`{navigation.submenu.label.padding}`,fontWeight:`{navigation.submenu.label.font.weight}`,background:`{navigation.submenu.label.background}`,color:`{navigation.submenu.label.color}`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`},mobileButton:{borderRadius:`50%`,size:`1.75rem`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,hoverBackground:`{content.hover.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Zd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`}},submenuLabel:{padding:`{navigation.submenu.label.padding}`,fontWeight:`{navigation.submenu.label.font.weight}`,background:`{navigation.submenu.label.background}`,color:`{navigation.submenu.label.color}`},separator:{borderColor:`{content.border.color}`}},Qd={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,padding:`0.5rem 0.75rem`,transitionDuration:`{transition.duration}`},baseItem:{borderRadius:`{content.border.radius}`,padding:`{navigation.item.padding}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`,background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,mobileIndent:`1rem`,icon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`}},separator:{borderColor:`{content.border.color}`},mobileButton:{borderRadius:`50%`,size:`1.75rem`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,hoverBackground:`{content.hover.background}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},$d={root:{borderRadius:`{content.border.radius}`,borderWidth:`1px`,transitionDuration:`{transition.duration}`},content:{padding:`0.5rem 0.75rem`,gap:`0.5rem`,sm:{padding:`0.375rem 0.625rem`},lg:{padding:`0.625rem 0.875rem`}},text:{fontSize:`1rem`,fontWeight:`700`,sm:{fontSize:`0.875rem`},lg:{fontSize:`1.125rem`}},icon:{size:`1.125rem`,sm:{size:`1rem`},lg:{size:`1.25rem`}},closeButton:{width:`1.75rem`,height:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`}},closeIcon:{size:`1rem`,sm:{size:`0.875rem`},lg:{size:`1.125rem`}},outlined:{root:{borderWidth:`1px`}},simple:{content:{padding:`0`}},colorScheme:{light:{info:{background:`{blue.800}`,borderColor:`{blue.800}`,color:`{blue.50}`,shadow:`none`,closeButton:{hoverBackground:`{blue.600}`,focusRing:{color:`{blue.50}`,shadow:`none`}},outlined:{color:`{blue.800}`,borderColor:`{blue.800}`},simple:{color:`{blue.800}`}},success:{background:`{green.800}`,borderColor:`{green.800}`,color:`{green.50}`,shadow:`none`,closeButton:{hoverBackground:`{green.600}`,focusRing:{color:`{green.50}`,shadow:`none`}},outlined:{color:`{green.800}`,borderColor:`{green.800}`},simple:{color:`{green.800}`}},warn:{background:`{yellow.600}`,borderColor:`{yellow.600}`,color:`{yellow.50}`,shadow:`none`,closeButton:{hoverBackground:`{yellow.400}`,focusRing:{color:`{yellow.50}`,shadow:`none`}},outlined:{color:`{yellow.600}`,borderColor:`{yellow.600}`},simple:{color:`{yellow.600}`}},error:{background:`{red.800}`,borderColor:`{red.800}`,color:`{red.50}`,shadow:`none`,closeButton:{hoverBackground:`{red.600}`,focusRing:{color:`{red.50}`,shadow:`none`}},outlined:{color:`{red.800}`,borderColor:`{red.800}`},simple:{color:`{red.800}`}},secondary:{background:`{surface.200}`,borderColor:`{surface.200}`,color:`{surface.700}`,shadow:`none`,closeButton:{hoverBackground:`{surface.50}`,focusRing:{color:`{surface.700}`,shadow:`none`}},outlined:{color:`{surface.600}`,borderColor:`{surface.600}`},simple:{color:`{surface.600}`}},contrast:{background:`{surface.900}`,borderColor:`{surface.900}`,color:`{surface.50}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.700}`,focusRing:{color:`{surface.50}`,shadow:`none`}},outlined:{color:`{surface.900}`,borderColor:`{surface.900}`},simple:{color:`{surface.900}`}}},dark:{info:{background:`{blue.200}`,borderColor:`{blue.200}`,color:`{blue.950}`,shadow:`none`,closeButton:{hoverBackground:`{blue.50}`,focusRing:{color:`{blue.950}`,shadow:`none`}},outlined:{color:`{blue.200}`,borderColor:`{blue.200}`},simple:{color:`{blue.200}`}},success:{background:`{green.200}`,borderColor:`{green.200}`,color:`{green.950}`,shadow:`none`,closeButton:{hoverBackground:`{green.50}`,focusRing:{color:`{green.950}`,shadow:`none`}},outlined:{color:`{green.200}`,borderColor:`{green.200}`},simple:{color:`{green.200}`}},warn:{background:`{yellow.200}`,borderColor:`{yellow.200}`,color:`{yellow.950}`,shadow:`none`,closeButton:{hoverBackground:`{yellow.50}`,focusRing:{color:`{yellow.950}`,shadow:`none`}},outlined:{color:`{yellow.200}`,borderColor:`{yellow.200}`},simple:{color:`{yellow.200}`}},error:{background:`{red.200}`,borderColor:`{red.200}`,color:`{red.950}`,shadow:`none`,closeButton:{hoverBackground:`{red.50}`,focusRing:{color:`{red.950}`,shadow:`none`}},outlined:{color:`{red.200}`,borderColor:`{red.200}`},simple:{color:`{red.200}`}},secondary:{background:`{surface.700}`,borderColor:`{surface.700}`,color:`{surface.200}`,shadow:`none`,closeButton:{hoverBackground:`{surface.500}`,focusRing:{color:`{surface.200}`,shadow:`none`}},outlined:{color:`{surface.400}`,borderColor:`{surface.400}`},simple:{color:`{surface.400}`}},contrast:{background:`{surface.0}`,borderColor:`{surface.0}`,color:`{surface.950}`,shadow:`none`,closeButton:{hoverBackground:`{surface.200}`,focusRing:{color:`{surface.950}`,shadow:`none`}},outlined:{color:`{surface.0}`,borderColor:`{surface.0}`},simple:{color:`{surface.0}`}}}}},ef={root:{borderRadius:`{content.border.radius}`,gap:`1rem`},meters:{size:`0.5rem`},label:{gap:`0.5rem`},labelMarker:{size:`0.5rem`},labelIcon:{size:`1rem`},labelList:{verticalGap:`0.5rem`,horizontalGap:`1rem`},colorScheme:{light:{meters:{background:`{surface.300}`}},dark:{meters:{background:`{surface.600}`}}}},tf={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`,gap:`0.5rem`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},chip:{borderRadius:`{border.radius.xs}`},clearIcon:{color:`{form.field.icon.color}`},emptyMessage:{padding:`{list.option.padding}`}},nf={root:{gap:`1.125rem`},controls:{gap:`0.5rem`}},rf={root:{gutter:`0.75rem`,transitionDuration:`{transition.duration}`},node:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,selectedColor:`{highlight.color}`,hoverColor:`{content.hover.color}`,padding:`0.75rem 1rem`,toggleablePadding:`0.75rem 1rem 1.25rem 1rem`,borderRadius:`{content.border.radius}`},nodeToggleButton:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,borderColor:`{content.border.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,size:`1.5rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},connector:{color:`{content.border.color}`,borderRadius:`{content.border.radius}`,height:`24px`}},af={root:{outline:{width:`2px`,color:`{content.background}`}}},of={root:{padding:`0.5rem 1rem`,gap:`0.25rem`,borderRadius:`{content.border.radius}`,background:`{content.background}`,color:`{content.color}`,transitionDuration:`{transition.duration}`},navButton:{background:`transparent`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedColor:`{highlight.color}`,width:`2.5rem`,height:`2.5rem`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},currentPageReport:{color:`{text.muted.color}`},jumpToPageInput:{maxWidth:`2.5rem`}},sf={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`},header:{background:`transparent`,color:`{text.color}`,padding:`1.125rem`,borderWidth:`0 0 1px 0`,borderColor:`{content.border.color}`,borderRadius:`0`},toggleableHeader:{padding:`0.375rem 1.125rem`},title:{fontWeight:`700`},content:{padding:`1.125rem`},footer:{padding:`0 1.125rem 1.125rem 1.125rem`}},cf={root:{gap:`0`,transitionDuration:`{transition.duration}`},panel:{background:`{content.background}`,borderColor:`{content.border.color}`,borderWidth:`1px`,color:`{content.color}`,padding:`0.25rem 0.25rem`,borderRadius:`0`,first:{borderWidth:`1px 1px 0 1px`,topBorderRadius:`{content.border.radius}`},last:{borderWidth:`0 1px 1px 1px`,bottomBorderRadius:`{content.border.radius}`}},item:{focusBackground:`{navigation.item.focus.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,gap:`0.5rem`,padding:`{navigation.item.padding}`,borderRadius:`{content.border.radius}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`}},submenu:{indent:`1rem`},submenuIcon:{color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`}},lf={meter:{borderRadius:`{content.border.radius}`,height:`.75rem`},icon:{color:`{form.field.icon.color}`},overlay:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,borderRadius:`{overlay.popover.border.radius}`,color:`{overlay.popover.color}`,padding:`{overlay.popover.padding}`,shadow:`{overlay.popover.shadow}`},content:{gap:`0.5rem`},colorScheme:{light:{meter:{background:`{surface.300}`},strength:{weakBackground:`{red.600}`,mediumBackground:`{yellow.600}`,strongBackground:`{green.600}`}},dark:{meter:{background:`{surface.600}`},strength:{weakBackground:`{red.500}`,mediumBackground:`{yellow.500}`,strongBackground:`{green.500}`}}}},uf={root:{gap:`1.125rem`},controls:{gap:`0.5rem`}},df={root:{background:`{overlay.popover.background}`,borderColor:`{overlay.popover.border.color}`,color:`{overlay.popover.color}`,borderRadius:`{overlay.popover.border.radius}`,shadow:`{overlay.popover.shadow}`,gutter:`10px`,arrowOffset:`1.25rem`},content:{padding:`{overlay.popover.padding}`}},ff={root:{borderRadius:`{content.border.radius}`,height:`1.25rem`},value:{background:`{primary.color}`},label:{color:`{primary.contrast.color}`,fontSize:`0.75rem`,fontWeight:`700`},colorScheme:{light:{root:{background:`{surface.300}`}},dark:{root:{background:`{surface.600}`}}}},pf={colorScheme:{light:{root:{colorOne:`{red.500}`,colorTwo:`{blue.500}`,colorThree:`{green.500}`,colorFour:`{yellow.500}`}},dark:{root:{colorOne:`{red.400}`,colorTwo:`{blue.400}`,colorThree:`{green.400}`,colorFour:`{yellow.400}`}}}},mf={root:{width:`1.25rem`,height:`1.25rem`,background:`{form.field.background}`,checkedBackground:`{form.field.background}`,checkedHoverBackground:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,checkedBorderColor:`{form.field.border.color}`,checkedHoverBorderColor:`{form.field.hover.border.color}`,checkedFocusBorderColor:`{form.field.focus.border.color}`,checkedDisabledBorderColor:`{form.field.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{width:`1rem`,height:`1rem`},lg:{width:`1.5rem`,height:`1.5rem`}},icon:{size:`0.75rem`,checkedColor:`{primary.color}`,checkedHoverColor:`{primary.color}`,disabledColor:`{form.field.disabled.color}`,sm:{size:`0.5rem`},lg:{size:`1rem`}}},hf={root:{gap:`0.25rem`,transitionDuration:`{transition.duration}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},icon:{size:`1rem`,color:`{text.muted.color}`,hoverColor:`{primary.color}`,activeColor:`{primary.color}`}},gf={colorScheme:{light:{root:{background:`rgba(0,0,0,0.1)`}},dark:{root:{background:`rgba(255,255,255,0.4)`}}}},_f={root:{transitionDuration:`{transition.duration}`},bar:{size:`9px`,borderRadius:`{border.radius.xs}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{bar:{background:`{surface.200}`}},dark:{bar:{background:`{surface.700}`}}}},vf={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},clearIcon:{color:`{form.field.icon.color}`},checkmark:{color:`{list.option.color}`,gutterStart:`-0.375rem`,gutterEnd:`0.375rem`},emptyMessage:{padding:`{list.option.padding}`}},yf={root:{borderRadius:`{form.field.border.radius}`},colorScheme:{light:{root:{invalidBorderColor:`{form.field.invalid.border.color}`}},dark:{root:{invalidBorderColor:`{form.field.invalid.border.color}`}}}},bf={root:{borderRadius:`{content.border.radius}`},colorScheme:{light:{root:{background:`{surface.300}`,animationBackground:`rgba(255,255,255,0.4)`}},dark:{root:{background:`rgba(255, 255, 255, 0.1)`,animationBackground:`rgba(255, 255, 255, 0.04)`}}}},xf={root:{transitionDuration:`{transition.duration}`},track:{borderRadius:`{content.border.radius}`,size:`3px`},range:{background:`{primary.color}`},handle:{width:`16px`,height:`16px`,borderRadius:`50%`,background:`{primary.color}`,hoverBackground:`{primary.color}`,content:{borderRadius:`50%`,background:`{primary.color}`,hoverBackground:`{primary.color}`,width:`12px`,height:`12px`,shadow:`none`},focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{track:{background:`{surface.300}`}},dark:{track:{background:`{surface.600}`}}}},Sf={root:{gap:`0.5rem`,transitionDuration:`{transition.duration}`}},Cf={root:{borderRadius:`{form.field.border.radius}`,roundedBorderRadius:`2rem`,raisedShadow:`0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)`}},wf={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,transitionDuration:`{transition.duration}`},gutter:{background:`{content.border.color}`},handle:{size:`24px`,background:`transparent`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}}},Tf={root:{transitionDuration:`{transition.duration}`},separator:{background:`{content.border.color}`,activeBackground:`{primary.color}`,margin:`0 0 0 1.625rem`,size:`2px`},step:{padding:`0.5rem`,gap:`1rem`},stepHeader:{padding:`0`,borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},gap:`0.5rem`},stepTitle:{color:`{text.muted.color}`,activeColor:`{primary.color}`,fontWeight:`700`},stepNumber:{background:`{content.background}`,activeBackground:`{primary.color}`,borderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,activeColor:`{primary.contrast.color}`,size:`2rem`,fontSize:`1.143rem`,fontWeight:`500`,borderRadius:`50%`,shadow:`none`},steppanels:{padding:`0.875rem 0.5rem 1.125rem 0.5rem`},steppanel:{background:`{content.background}`,color:`{content.color}`,padding:`0`,indent:`1rem`}},Ef={root:{transitionDuration:`{transition.duration}`},separator:{background:`{content.border.color}`},itemLink:{borderRadius:`{content.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},gap:`0.5rem`},itemLabel:{color:`{text.muted.color}`,activeColor:`{primary.color}`,fontWeight:`700`},itemNumber:{background:`{content.background}`,activeBackground:`{primary.color}`,borderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,activeColor:`{primary.contrast.color}`,size:`2rem`,fontSize:`1.143rem`,fontWeight:`500`,borderRadius:`50%`,shadow:`none`}},Df={root:{transitionDuration:`{transition.duration}`},tablist:{borderWidth:`0 0 1px 0`,background:`{content.background}`,borderColor:`{content.border.color}`},item:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,activeBackground:`{primary.color}`,borderWidth:`0`,borderColor:`transparent`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.contrast.color}`,padding:`1rem 1.25rem`,fontWeight:`700`,margin:`0`,gap:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},itemIcon:{color:`{text.color}`,hoverColor:`{text.color}`,activeColor:`{primary.contrast.color}`},activeBar:{height:`0`,bottom:`0`,background:`transparent`}},Of={root:{transitionDuration:`{transition.duration}`},tablist:{borderWidth:`0 0 1px 0`,background:`{content.background}`,borderColor:`{content.border.color}`},tab:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,activeBackground:`{primary.color}`,borderWidth:`0`,borderColor:`transparent`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.contrast.color}`,padding:`1rem 1.25rem`,fontWeight:`700`,margin:`0`,gap:`0.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-2px`,shadow:`{focus.ring.shadow}`}},tabpanel:{background:`{content.background}`,color:`{content.color}`,padding:`0.875rem 1.125rem 1.125rem 1.125rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`inset {focus.ring.shadow}`}},navButton:{background:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,width:`2.5rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`inset {focus.ring.shadow}`}},activeBar:{height:`0`,bottom:`0`,background:`transparent`},colorScheme:{light:{navButton:{shadow:`0px 0px 10px 50px rgba(255, 255, 255, 0.6)`}},dark:{navButton:{shadow:`0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)`}}}},kf={root:{transitionDuration:`{transition.duration}`},tabList:{background:`{content.background}`,borderColor:`{content.border.color}`},tab:{borderColor:`{content.border.color}`,activeBorderColor:`{primary.color}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,activeColor:`{primary.color}`},tabPanel:{background:`{content.background}`,color:`{content.color}`},navButton:{background:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`},colorScheme:{light:{navButton:{shadow:`0px 0px 10px 50px rgba(255, 255, 255, 0.6)`}},dark:{navButton:{shadow:`0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)`}}}},Af={root:{fontSize:`0.875rem`,fontWeight:`700`,padding:`0.25rem 0.5rem`,gap:`0.25rem`,borderRadius:`{content.border.radius}`,roundedBorderRadius:`{border.radius.xl}`},icon:{size:`0.75rem`},colorScheme:{light:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.200}`,color:`{surface.700}`},success:{background:`{green.600}`,color:`{surface.0}`},info:{background:`{sky.600}`,color:`{surface.0}`},warn:{background:`{orange.600}`,color:`{surface.0}`},danger:{background:`{red.600}`,color:`{surface.0}`},contrast:{background:`{surface.950}`,color:`{surface.0}`}},dark:{primary:{background:`{primary.color}`,color:`{primary.contrast.color}`},secondary:{background:`{surface.700}`,color:`{surface.200}`},success:{background:`{green.500}`,color:`{green.950}`},info:{background:`{sky.500}`,color:`{sky.950}`},warn:{background:`{orange.500}`,color:`{orange.950}`},danger:{background:`{red.500}`,color:`{red.950}`},contrast:{background:`{surface.0}`,color:`{surface.950}`}}}},jf={root:{background:`{form.field.background}`,borderColor:`{form.field.border.color}`,color:`{form.field.color}`,height:`18rem`,padding:`{form.field.padding.y} {form.field.padding.x}`,borderRadius:`{form.field.border.radius}`},prompt:{gap:`0.25rem`},commandResponse:{margin:`2px 0`}},Mf={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}}},Nf={root:{background:`{content.background}`,borderColor:`{content.border.color}`,color:`{content.color}`,borderRadius:`{content.border.radius}`,shadow:`{overlay.navigation.shadow}`,transitionDuration:`{transition.duration}`},list:{padding:`{navigation.list.padding}`,gap:`{navigation.list.gap}`},item:{focusBackground:`{navigation.item.focus.background}`,activeBackground:`{navigation.item.active.background}`,color:`{navigation.item.color}`,focusColor:`{navigation.item.focus.color}`,activeColor:`{navigation.item.active.color}`,padding:`{navigation.item.padding}`,borderRadius:`{navigation.item.border.radius}`,gap:`{navigation.item.gap}`,icon:{color:`{navigation.item.icon.color}`,focusColor:`{navigation.item.icon.focus.color}`,activeColor:`{navigation.item.icon.active.color}`}},submenu:{mobileIndent:`1rem`},submenuIcon:{size:`{navigation.submenu.icon.size}`,color:`{navigation.submenu.icon.color}`,focusColor:`{navigation.submenu.icon.focus.color}`,activeColor:`{navigation.submenu.icon.active.color}`},separator:{borderColor:`{content.border.color}`}},Pf={event:{minHeight:`5rem`},horizontal:{eventContent:{padding:`1rem 0`}},vertical:{eventContent:{padding:`0 1rem`}},eventMarker:{size:`1.125rem`,borderRadius:`50%`,borderWidth:`2px`,background:`{primary.color}`,borderColor:`{primary.color}`,content:{borderRadius:`50%`,size:`0.375rem`,background:`transparent`,insetShadow:`none`}},eventConnector:{color:`{content.border.color}`,size:`2px`}},Ff={root:{width:`25rem`,borderRadius:`{content.border.radius}`,borderWidth:`0 0 0 6px`,transitionDuration:`{transition.duration}`,blur:`0`},icon:{size:`1.125rem`},content:{padding:`{overlay.popover.padding}`,gap:`0.5rem`},text:{gap:`0.5rem`},summary:{fontWeight:`700`,fontSize:`1rem`},detail:{fontWeight:`500`,fontSize:`0.875rem`},closeButton:{width:`1.75rem`,height:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`}},closeIcon:{size:`1rem`},colorScheme:{light:{info:{background:`{blue.800}`,borderColor:`{blue.800}`,color:`{blue.50}`,detailColor:`{blue.50}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{blue.600}`,focusRing:{color:`{blue.50}`,shadow:`none`}}},success:{background:`{green.800}`,borderColor:`{green.800}`,color:`{green.50}`,detailColor:`{green.50}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{green.600}`,focusRing:{color:`{green.50}`,shadow:`none`}}},warn:{background:`{yellow.600}`,borderColor:`{yellow.600}`,color:`{yellow.50}`,detailColor:`{yellow.50}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{yellow.400}`,focusRing:{color:`{yellow.50}`,shadow:`none`}}},error:{background:`{red.800}`,borderColor:`{red.800}`,color:`{red.50}`,detailColor:`{red.50}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{red.600}`,focusRing:{color:`{red.50}`,shadow:`none`}}},secondary:{background:`{surface.200}`,borderColor:`{surface.200}`,color:`{surface.700}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{surface.50}`,focusRing:{color:`{surface.700}`,shadow:`none`}}},contrast:{background:`{surface.900}`,borderColor:`{surface.900}`,color:`{surface.50}`,detailColor:`{surface.0}`,shadow:`0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)`,closeButton:{hoverBackground:`{surface.700}`,focusRing:{color:`{surface.50}`,shadow:`none`}}}},dark:{info:{background:`{blue.200}`,borderColor:`{blue.200}`,color:`{blue.950}`,detailColor:`{blue.950}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{blue.50}`,focusRing:{color:`{blue.950}`,shadow:`none`}}},success:{background:`{green.200}`,borderColor:`{green.200}`,color:`{green.950}`,detailColor:`{green.950}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{green.50}`,focusRing:{color:`{green.950}`,shadow:`none`}}},warn:{background:`{yellow.200}`,borderColor:`{yellow.200}`,color:`{yellow.950}`,detailColor:`{yellow.950}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{yellow.50}`,focusRing:{color:`{yellow.950}`,shadow:`none`}}},error:{background:`{red.200}`,borderColor:`{red.200}`,color:`{red.950}`,detailColor:`{red.950}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{red.50}`,focusRing:{color:`{red.950}`,shadow:`none`}}},secondary:{background:`{surface.700}`,borderColor:`{surface.700}`,color:`{surface.200}`,detailColor:`{surface.200}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{surface.500}`,focusRing:{color:`{surface.200}`,shadow:`none`}}},contrast:{background:`{surface.0}`,borderColor:`{surface.0}`,color:`{surface.950}`,detailColor:`{surface.950}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{surface.200}`,focusRing:{color:`{surface.950}`,shadow:`none`}}}}}},If={root:{padding:`0.5rem 0.75rem`,borderRadius:`{content.border.radius}`,gap:`0.5rem`,fontWeight:`500`,background:`{form.field.background}`,borderColor:`{form.field.border.color}`,color:`{form.field.color}`,hoverColor:`{form.field.color}`,checkedBackground:`{highlight.background}`,checkedColor:`{highlight.color}`,checkedBorderColor:`{form.field.border.color}`,disabledBackground:`{form.field.disabled.background}`,disabledBorderColor:`{form.field.disabled.background}`,disabledColor:`{form.field.disabled.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,padding:`0.375rem 0.625rem`},lg:{fontSize:`{form.field.lg.font.size}`,padding:`0.625rem 0.875rem`}},icon:{color:`{text.muted.color}`,hoverColor:`{text.muted.color}`,checkedColor:`{highlight.color}`,disabledColor:`{form.field.disabled.color}`},content:{checkedBackground:`transparent`,checkedShadow:`none`,padding:`0`,borderRadius:`0`,sm:{padding:`0`},lg:{padding:`0`}},colorScheme:{light:{root:{hoverBackground:`{surface.200}`}},dark:{root:{hoverBackground:`{surface.700}`}}}},Lf={root:{width:`2.5rem`,height:`1.5rem`,borderRadius:`30px`,gap:`0.25rem`,shadow:`{form.field.shadow}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},borderWidth:`1px`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,checkedBorderColor:`{primary.color}`,checkedHoverBorderColor:`{primary.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,background:`{form.field.background}`,hoverBackground:`{form.field.background}`,checkedBackground:`{primary.color}`,checkedHoverBackground:`{primary.color}`,transitionDuration:`{form.field.transition.duration}`,slideDuration:`0.1s`,disabledBackground:`{form.field.disabled.background}`},handle:{borderRadius:`50%`,size:`1rem`,background:`{form.field.border.color}`,hoverBackground:`{form.field.border.color}`,checkedBackground:`{primary.contrast.color}`,checkedHoverBackground:`{primary.contrast.color}`,disabledBackground:`{form.field.disabled.color}`,color:`{surface.0}`,hoverColor:`{surface.0}`,checkedColor:`{primary.color}`,checkedHoverColor:`{primary.color}`}},Rf={root:{background:`{content.background}`,borderColor:`{content.border.color}`,borderRadius:`{content.border.radius}`,color:`{content.color}`,gap:`0.5rem`,padding:`0.75rem`}},zf={root:{maxWidth:`12.5rem`,gutter:`0.25rem`,shadow:`{overlay.popover.shadow}`,padding:`0.5rem 0.75rem`,borderRadius:`{overlay.popover.border.radius}`},colorScheme:{light:{root:{background:`{surface.900}`,color:`{surface.0}`}},dark:{root:{background:`{surface.0}`,color:`{surface.900}`}}}},Bf={root:{background:`{content.background}`,color:`{content.color}`,padding:`1rem`,gap:`2px`,indent:`1rem`,transitionDuration:`{transition.duration}`},node:{padding:`0.25rem 0.5rem`,borderRadius:`{content.border.radius}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{text.color}`,hoverColor:`{text.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-2px`,shadow:`{focus.ring.shadow}`},gap:`0.25rem`},nodeIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedColor:`{highlight.color}`},nodeToggleButton:{borderRadius:`50%`,size:`1.75rem`,hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,selectedHoverColor:`{primary.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},loadingIcon:{size:`2rem`},filter:{margin:`0 0 0.5rem 0`}},Vf={root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},tree:{padding:`{list.padding}`},emptyMessage:{padding:`{list.option.padding}`},chip:{borderRadius:`{border.radius.sm}`},clearIcon:{color:`{form.field.icon.color}`}},Hf={root:{transitionDuration:`{transition.duration}`},header:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,borderWidth:`1px 0 1px 0`,padding:`0.75rem 1rem`},headerCell:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,gap:`0.5rem`,padding:`0.75rem 1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},columnTitle:{fontWeight:`700`},row:{background:`{content.background}`,hoverBackground:`{content.hover.background}`,selectedBackground:`{highlight.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{highlight.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`-1px`,shadow:`{focus.ring.shadow}`}},bodyCell:{borderColor:`{treetable.border.color}`,padding:`0.75rem 1rem`,gap:`0.5rem`},footerCell:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,padding:`0.75rem 1rem`},columnFooter:{fontWeight:`700`},footer:{background:`{content.background}`,borderColor:`{treetable.border.color}`,color:`{content.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`},columnResizer:{width:`0.5rem`},resizeIndicator:{width:`1px`,color:`{primary.color}`},sortIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,size:`0.875rem`},loadingIcon:{size:`2rem`},nodeToggleButton:{hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,selectedHoverColor:`{primary.color}`,size:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},paginatorTop:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{content.border.color}`,borderWidth:`0 0 1px 0`},colorScheme:{light:{root:{borderColor:`{surface.300}`},bodyCell:{selectedBorderColor:`{primary.100}`}},dark:{root:{borderColor:`{surface.600}`},bodyCell:{selectedBorderColor:`{primary.900}`}}}},Uf={loader:{mask:{background:`{content.background}`,color:`{text.muted.color}`},icon:{size:`2rem`}}},Wf=Object.defineProperty,Gf=Object.defineProperties,Kf=Object.getOwnPropertyDescriptors,qf=Object.getOwnPropertySymbols,Jf=Object.prototype.hasOwnProperty,Yf=Object.prototype.propertyIsEnumerable,Xf=(e,t,n)=>t in e?Wf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zf,Qf=(Zf=((e,t)=>{for(var n in t||={})Jf.call(t,n)&&Xf(e,n,t[n]);if(qf)for(var n of qf(t))Yf.call(t,n)&&Xf(e,n,t[n]);return e})({},fd),Gf(Zf,Kf({components:{accordion:cd,autocomplete:ld,avatar:ud,badge:dd,blockui:pd,breadcrumb:md,button:hd,datepicker:Dd,card:gd,carousel:_d,cascadeselect:vd,checkbox:yd,chip:bd,colorpicker:xd,confirmdialog:Sd,confirmpopup:Cd,contextmenu:wd,dataview:Ed,datatable:Td,dialog:Od,divider:kd,dock:Ad,drawer:jd,editor:Md,fieldset:Nd,fileupload:Pd,iftalabel:Rd,floatlabel:Fd,galleria:Id,iconfield:Ld,image:zd,imagecompare:Bd,inlinemessage:Vd,inplace:Hd,inputchips:Ud,inputgroup:Wd,inputnumber:Gd,inputotp:Kd,inputtext:qd,knob:Jd,listbox:Yd,megamenu:Xd,menu:Zd,menubar:Qd,message:$d,metergroup:ef,multiselect:tf,orderlist:nf,organizationchart:rf,overlaybadge:af,popover:df,paginator:of,password:lf,panel:sf,panelmenu:cf,picklist:uf,progressbar:ff,progressspinner:pf,radiobutton:mf,rating:hf,ripple:gf,scrollpanel:_f,select:vf,selectbutton:yf,skeleton:bf,slider:xf,speeddial:Sf,splitter:wf,splitbutton:Cf,stepper:Tf,steps:Ef,tabmenu:Df,tabs:Of,tabview:kf,textarea:Mf,tieredmenu:Nf,tag:Af,terminal:jf,timeline:Pf,togglebutton:If,toggleswitch:Lf,tree:Bf,treeselect:Vf,treetable:Hf,toast:Ff,toolbar:Rf,tooltip:zf,virtualscroller:Uf}}))),$f=typeof document<`u`;function ep(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function tp(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&ep(e.default)}var U=Object.assign;function np(e,t){let n={};for(let r in t){let i=t[r];n[r]=ip(i)?i.map(e):e(i)}return n}var rp=()=>{},ip=Array.isArray;function ap(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var op=/#/g,sp=/&/g,cp=/\//g,lp=/=/g,up=/\?/g,dp=/\+/g,fp=/%5B/g,pp=/%5D/g,mp=/%5E/g,hp=/%60/g,gp=/%7B/g,_p=/%7C/g,vp=/%7D/g,yp=/%20/g;function bp(e){return e==null?``:encodeURI(``+e).replace(_p,`|`).replace(fp,`[`).replace(pp,`]`)}function xp(e){return bp(e).replace(gp,`{`).replace(vp,`}`).replace(mp,`^`)}function Sp(e){return bp(e).replace(dp,`%2B`).replace(yp,`+`).replace(op,`%23`).replace(sp,`%26`).replace(hp,"`").replace(gp,`{`).replace(vp,`}`).replace(mp,`^`)}function Cp(e){return Sp(e).replace(lp,`%3D`)}function wp(e){return bp(e).replace(op,`%23`).replace(up,`%3F`)}function Tp(e){return wp(e).replace(cp,`%2F`)}function Ep(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Dp=/\/$/,Op=e=>e.replace(Dp,``);function kp(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Lp(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Ep(o)}}function Ap(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function jp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Mp(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Np(t.matched[r],n.matched[i])&&Pp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Np(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Fp(e[n],t[n]))return!1;return!0}function Fp(e,t){return ip(e)?Ip(e,t):ip(t)?Ip(t,e):e?.valueOf()===t?.valueOf()}function Ip(e,t){return ip(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Lp(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Rp={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},zp=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Bp=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Vp(e){if(!e)if($f){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Op(e)}var Hp=/^[^#]+#/;function Up(e,t){return e.replace(Hp,`#`)+t}function Wp(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Gp=()=>({left:window.scrollX,top:window.scrollY});function Kp(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Wp(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function qp(e,t){return(history.state?history.state.position-t:-1)+e}var Jp=new Map;function Yp(e,t){Jp.set(e,t)}function Xp(e){let t=Jp.get(e);return Jp.delete(e),t}function Zp(e){return typeof e==`string`||e&&typeof e==`object`}function Qp(e){return typeof e==`string`||typeof e==`symbol`}var $p=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),em=Symbol(``);$p.MATCHER_NOT_FOUND,$p.NAVIGATION_GUARD_REDIRECT,$p.NAVIGATION_ABORTED,$p.NAVIGATION_CANCELLED,$p.NAVIGATION_DUPLICATED;function tm(e,t){return U(Error(),{type:e,[em]:!0},t)}function nm(e,t){return e instanceof Error&&em in e&&(t==null||!!(e.type&t))}function rm(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;ee&&Sp(e)):[r&&Sp(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function am(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=ip(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}var om=Symbol(``),sm=Symbol(``),cm=Symbol(``),lm=Symbol(``),um=Symbol(``);function dm(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function fm(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(tm($p.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Zp(e)?c(tm($p.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function pm(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(ep(s)){let c=(s.__vccOpts||s)[t];c&&a.push(fm(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=tp(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&fm(c,n,r,o,e,i)()}))}}return a}function mm(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;oNp(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Np(e,s))||i.push(s))}return[n,r,i]}var hm=()=>location.protocol+`//`+location.host;function gm(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),jp(n,``)}return jp(n,e)+r+i}function _m(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=gm(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:zp.pop,direction:u?u>0?Bp.forward:Bp.back:Bp.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(U({},e.state,{scroll:Gp()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function vm(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Gp():null}}function ym(e){let{history:t,location:n}=window,r={value:gm(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:hm()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,U({},t.state,vm(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=U({},i.value,t.state,{forward:e,scroll:Gp()});a(o.current,o,!0),a(e,U({},vm(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function bm(e){e=Vp(e);let t=ym(e),n=_m(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=U({location:``,base:e,go:r,createHref:Up.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function xm(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),bm(e)}var Sm=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Cm=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Cm||{}),wm={type:Sm.Static,value:``},Tm=/[a-zA-Z0-9_]/;function Em(e){if(!e)return[[]];if(e===`/`)return[[wm]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Cm.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Cm.Static?a.push({type:Sm.Static,value:l}):n===Cm.Param||n===Cm.ParamRegExp||n===Cm.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Sm.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;st.length?t.length===1&&t[0]===km.Static+km.Segment?1:-1:0}function Nm(e,t){let n=0,r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}var Fm={strict:!1,end:!0,sensitive:!1};function Im(e,t,n){let r=U(jm(Em(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Lm(e,t){let n=[],r=new Map;t=ap(Fm,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=zm(e);s.aliasOf=r&&r.record;let l=ap(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(zm(U({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Im(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Vm(d)&&o(e.name)),Gm(d)&&c(d),s.children){let e=s.children;for(let t=0;t{o(f)}:rp}function o(e){if(Qp(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Um(e,n);n.splice(t,0,e),e.record.name&&!Vm(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw tm($p.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=U(Rm(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Rm(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw tm($p.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=U({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Hm(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Rm(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function zm(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Bm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Bm(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Vm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hm(e){return e.reduce((e,t)=>U(e,t.meta),{})}function Um(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Nm(e,t[i])<0?r=i:n=i+1}let i=Wm(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Wm(e){let t=e;for(;t=t.parent;)if(Gm(t)&&Nm(e,t)===0)return t}function Gm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Km(e){let t=qn(cm),n=qn(lm),r=vo(()=>{let n=M(e.to);return t.resolve(n)}),i=vo(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Np.bind(null,i));if(o>-1)return o;let s=Zm(e[t-2]);return t>1&&Zm(i)===s&&a[a.length-1].path!==s?a.findIndex(Np.bind(null,e[t-2])):o}),a=vo(()=>i.value>-1&&Xm(n.params,r.value.params)),o=vo(()=>i.value>-1&&i.value===n.matched.length-1&&Pp(n.params,r.value.params));function s(n={}){if(Ym(n)){let n=t[M(e.replace)?`replace`:`push`](M(e.to)).catch(rp);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:vo(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function qm(e){return e.length===1?e[0]:e}var Jm=Ar({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Km,setup(e,{slots:t}){let n=Ht(Km(e)),{options:r}=qn(cm),i=vo(()=>({[Qm(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Qm(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&qm(t.default(n));return e.custom?r:yo(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Ym(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xm(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!ip(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Zm(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Qm=(e,t,n)=>e??t??n,$m=Ar({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=qn(um),i=vo(()=>e.route||r.value),a=qn(sm,0),o=vo(()=>{let e=M(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=vo(()=>i.value.matched[o.value]);Kn(sm,vo(()=>o.value+1)),Kn(om,s),Kn(um,i);let c=en();return Zn(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Np(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return eh(n.default,{Component:l,route:r});let u=o.props[a],d=yo(l,U({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return eh(n.default,{Component:d,route:r})||d}}});function eh(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var th=$m;function nh(e){let t=Lm(e.routes,e),n=e.parseQuery||rm,r=e.stringifyQuery||im,i=e.history,a=dm(),o=dm(),s=dm(),c=tn(Rp),l=Rp;$f&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=np.bind(null,e=>``+e),d=np.bind(null,Tp),f=np.bind(null,Ep);function p(e,n){let r,i;return Qp(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=U({},a||c.value),typeof e==`string`){let r=kp(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return U(r,o,{params:f(o.params),hash:Ep(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=U({},e,{path:kp(n,e.path,a.path).path});else{let t=U({},e.params);for(let e in t)t[e]??delete t[e];o=U({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=Ap(r,U({},e,{hash:xp(l),path:s.path})),m=i.createHref(p);return U({fullPath:p,hash:l,query:r===im?am(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?kp(n,e,c.value.path):U({},e)}function y(e,t){if(l!==e)return tm($p.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(U(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),U({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(U(v(u),{state:typeof u==`object`?U({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Mp(r,i,n)&&(f=tm($p.NAVIGATION_DUPLICATED,{to:d,from:i}),se(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>nm(e)?nm(e,$p.NAVIGATION_GUARD_REDIRECT)?e:oe(e):ae(e,d,i)).then(e=>{if(e){if(nm(e,$p.NAVIGATION_GUARD_REDIRECT))return C(U({replace:s},v(e.to),{state:typeof e.to==`object`?U({},a,e.to.state):a,force:o}),t||d)}else e=E(d,i,!0,s,a);return te(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=ue.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=mm(e,t);n=pm(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(fm(r,e,t))});let c=w.bind(null,e,t);return n.push(c),fe(n).then(()=>{n=[];for(let r of a.list())n.push(fm(r,e,t));return n.push(c),fe(n)}).then(()=>{n=pm(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(fm(r,e,t))});return n.push(c),fe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(ip(r.beforeEnter))for(let i of r.beforeEnter)n.push(fm(i,e,t));else n.push(fm(r.beforeEnter,e,t));return n.push(c),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=pm(s,`beforeRouteEnter`,e,t,T),n.push(c),fe(n))).then(()=>{n=[];for(let r of o.list())n.push(fm(r,e,t));return n.push(c),fe(n)}).catch(e=>nm(e,$p.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function E(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===Rp,l=$f?history.state:{};n&&(r||s?i.replace(e.fullPath,U({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,se(e,t,n,s),oe()}let ne;function D(){ne||=i.listen((e,t,n)=>{if(!de.listening)return;let r=_(e),a=S(r,de.currentRoute.value);if(a){C(U(a,{replace:!0,force:!0}),r).catch(rp);return}l=r;let o=c.value;$f&&Yp(qp(o.fullPath,n.delta),Gp()),ee(r,o).catch(e=>nm(e,$p.NAVIGATION_ABORTED|$p.NAVIGATION_CANCELLED)?e:nm(e,$p.NAVIGATION_GUARD_REDIRECT)?(C(U(v(e.to),{force:!0}),r).then(e=>{nm(e,$p.NAVIGATION_ABORTED|$p.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===zp.pop&&i.go(-1,!1)}).catch(rp),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ae(e,r,o))).then(e=>{e||=E(r,o,!1),e&&(n.delta&&!nm(e,$p.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===zp.pop&&nm(e,$p.NAVIGATION_ABORTED|$p.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),te(r,o,e)}).catch(rp)})}let O=dm(),re=dm(),ie;function ae(e,t,n){oe(e);let r=re.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function k(){return ie&&c.value!==Rp?Promise.resolve():new Promise((e,t)=>{O.add([e,t])})}function oe(e){return ie||(ie=!e,D(),O.list().forEach(([t,n])=>e?n(e):t()),O.reset()),e}function se(t,n,r,i){let{scrollBehavior:a}=e;if(!$f||!a)return Promise.resolve();let o=!r&&Xp(qp(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return jn().then(()=>a(t,n,o)).then(e=>e&&Kp(e)).catch(e=>ae(e,t,n))}let ce=e=>i.go(e),le,ue=new Set,de={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:re.add,isReady:k,install(e){e.component(`RouterLink`,Jm),e.component(`RouterView`,th),e.config.globalProperties.$router=de,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>M(c)}),$f&&!le&&c.value===Rp&&(le=!0,b(i.location).catch(e=>{}));let t={};for(let e in Rp)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(cm,de),e.provide(lm,Ut(t)),e.provide(um,c);let n=e.unmount;ue.add(e),e.unmount=function(){ue.delete(e),ue.size<1&&(l=Rp,ne&&ne(),ne=null,c.value=Rp,le=!1,ie=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return de}function rh(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var ih=typeof window<`u`,ah=(e,t=!1)=>t?Symbol.for(e):Symbol(e),oh=(e,t,n)=>sh({l:e,k:t,s:n}),sh=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),ch=e=>typeof e==`number`&&isFinite(e),lh=e=>Eh(e)===`[object Date]`,uh=e=>Eh(e)===`[object RegExp]`,dh=e=>q(e)&&Object.keys(e).length===0,fh=Object.assign,ph=Object.create,mh=(e=null)=>ph(e),hh,gh=()=>hh||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:mh();function _h(e){return e.replace(/&/g,`&`).replace(//g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function vh(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(//g,`>`)}function yh(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${vh(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${vh(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript:`)}),e}var bh=Object.prototype.hasOwnProperty;function xh(e,t){return bh.call(e,t)}var Sh=Array.isArray,Ch=e=>typeof e==`function`,W=e=>typeof e==`string`,G=e=>typeof e==`boolean`,K=e=>typeof e==`object`&&!!e,wh=e=>K(e)&&Ch(e.then)&&Ch(e.catch),Th=Object.prototype.toString,Eh=e=>Th.call(e),q=e=>Eh(e)===`[object Object]`,Dh=e=>e==null?``:Sh(e)||q(e)&&e.toString===Th?JSON.stringify(e,null,2):String(e);function Oh(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var kh=e=>!K(e)||Sh(e);function Ah(e,t){if(kh(e)||kh(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(K(e[r])&&!K(t[r])&&(t[r]=Array.isArray(e[r])?[]:mh()),kh(t[r])||kh(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function jh(e,t,n){return{line:e,column:t,offset:n}}function Mh(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var J={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};J.EXPECTED_TOKEN,J.INVALID_TOKEN_IN_PLACEHOLDER,J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,J.UNKNOWN_ESCAPE_SEQUENCE,J.INVALID_UNICODE_ESCAPE_SEQUENCE,J.UNBALANCED_CLOSING_BRACE,J.UNTERMINATED_CLOSING_BRACE,J.EMPTY_PLACEHOLDER,J.NOT_ALLOW_NEST_PLACEHOLDER,J.INVALID_LINKED_FORMAT,J.MUST_HAVE_MESSAGES_IN_PLURAL,J.UNEXPECTED_EMPTY_LINKED_MODIFIER,J.UNEXPECTED_EMPTY_LINKED_KEY,J.UNEXPECTED_LEXICAL_ANALYSIS,J.UNHANDLED_CODEGEN_NODE_TYPE,J.UNHANDLED_MINIFIER_NODE_TYPE;function Nh(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function Ph(e){throw e}var Fh=` `,Ih=`\r`,Lh=` `,Rh=`\u2028`,zh=`\u2029`;function Bh(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===Ih&&t[e+1]===Lh,s=e=>t[e]===Lh,c=e=>t[e]===zh,l=e=>t[e]===Rh,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?Lh:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var Vh=void 0,Hh=`'`,Uh=`tokenizer`;function Wh(e,t={}){let n=t.location!==!1,r=Bh(e),i=()=>r.index(),a=()=>jh(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();if(t.column+=r,t.offset+=r,u){let r=Nh(e,n?Mh(a.startLoc,t):null,{domain:Uh,args:i});u(r)}}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=Mh(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(J.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===Fh||e.currentPeek()===Lh;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===Vh)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===Vh)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===Hh;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(!(n===7||n===11))return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===Fh||!t?!1:t===Lh?(e.peek(),r()):te(e,!1)},i=r();return e.resetPeek(),i}function ee(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function te(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?!(r===Fh||r===Lh):i===Fh?(e.peek(),n(!0,Fh)):i===Lh?(e.peek(),n(!0,Lh)):!0},r=n();return t&&e.resetPeek(),r}function E(e,t){let n=e.currentChar();if(n!==Vh)return t(n)?(e.next(),n):null}function ne(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function D(e){return E(e,ne)}function O(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function re(e){return E(e,O)}function ie(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function ae(e){return E(e,ie)}function k(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function oe(e){return E(e,k)}function se(e){let t=``,n=``;for(;t=ae(e);)n+=t;return n}function ce(e){let t=``;for(;;){let n=e.currentChar();if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;if(n===Fh||n===Lh)if(te(e))t+=n,e.next();else if(ee(e))break;else t+=n,e.next();else t+=n,e.next()}return t}function le(e){g(e);let t=``,n=``;for(;t=re(e);)n+=t;return e.currentChar()===Vh&&d(J.UNTERMINATED_CLOSING_BRACE,a(),0),n}function ue(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${se(e)}`):t+=se(e),e.currentChar()===Vh&&d(J.UNTERMINATED_CLOSING_BRACE,a(),0),t}function de(e){return e!==Hh&&e!==Lh}function fe(e){g(e),m(e,`'`);let t=``,n=``;for(;t=E(e,de);)t===`\\`?n+=pe(e):n+=t;let r=e.currentChar();return r===Lh||r===Vh?(d(J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===Lh&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function pe(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return me(e,t,4);case`U`:return me(e,t,6);default:return d(J.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function me(e,t,n){m(e,t);let r=``;for(let i=0;i{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===Fh?n:(n+=r,e.next(),t(n))};return t(``)}function ye(e){g(e);let t=m(e,`|`);return g(e),t}function be(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(J.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(J.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(J.UNTERMINATED_CLOSING_BRACE,a(),0),n=xe(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(ee(e))return t.braceNest>0&&d(J.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(J.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,Se(e,t);if(r=y(e,t))return n=f(t,4,le(e)),g(e),n;if(i=b(e,t))return n=f(t,5,ue(e)),g(e),n;if(o=x(e,t))return n=f(t,6,fe(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,ge(e)),d(J.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function xe(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===Lh||i===Fh)&&d(J.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return ee(e)?(r=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),xe(e,t)):C(e,t)?(g(e),f(t,11,_e(e))):T(e,t)?(g(e),i===`{`?be(e,t)||r:f(t,10,ve(e))):(n===7&&d(J.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,Se(e,t))}}function Se(e,t){let n={type:13};if(t.braceNest>0)return be(e,t)||p(t);if(t.inLinked)return xe(e,t)||p(t);switch(e.currentChar()){case`{`:return be(e,t)||p(t);case`}`:return d(J.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return xe(e,t)||p(t);default:if(ee(e))return n=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,n;if(te(e))return f(t,0,ce(e));break}return n}function Ce(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===Vh?f(c,13):Se(r,c)}return{nextToken:Ce,currentOffset:i,currentPosition:a,context:l}}var Gh=`parser`,Kh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function qh(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function Jh(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=Nh(r,t?Mh(i,s):null,{domain:Gh,args:o});n(e)}}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(Kh,qh),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Yh(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,J.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(o)),n.key=l(e,o.value||``);break;default:{r(e,J.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,J.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Yh(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,J.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=Wh(n,fh({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,J.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function Yh(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function Xh(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Zh(e,t){for(let n=0;ntg(e)),e}function tg(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;ns;function l(e,t){s.code+=e}function u(e,t=!0){let n=t?i:``;l(a?n+` `.repeat(e):n)}function d(e=!0){let t=++s.indentLevel;e&&u(t)}function f(e=!0){let t=--s.indentLevel;e&&u(t)}function p(){u(s.indentLevel)}return{context:c,push:l,indent:d,deindent:f,newline:p,helper:e=>`_${e}`,needIndent:()=>s.needIndent}}function ig(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),cg(e,t.key),t.modifier?(e.push(`, `),cg(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function ag(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n{let n=W(t.mode)?t.mode:`normal`,r=W(t.filename)?t.filename:`message.intl`,i=!!t.sourceMap,a=t.breakLineCode==null?n===`arrow`?`;`:` -`:t.breakLineCode,o=t.needIndent?t.needIndent:n!==`arrow`,s=e.helpers||[],c=rg(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});c.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),c.indent(o),s.length>0&&(c.push(`const { ${Oh(s.map(e=>`${e}: _${e}`),`, `)} } = ctx`),c.newline()),c.push(`return `),cg(c,e),c.deindent(o),c.push(`}`),delete e.helpers;let{code:l,map:u}=c.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function ug(e,t={}){let n=fh({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=Jh(n).parse(e);return r?(a&&eg(o),i&&ng(o),{ast:o,code:``}):($h(o,n),lg(o,n))}function dg(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(gh().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(gh().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function fg(e){return K(e)&&Sg(e)===0&&(xh(e,`b`)||xh(e,`body`))}var pg=[`b`,`body`];function mg(e){return kg(e,pg)}var hg=[`c`,`cases`];function gg(e){return kg(e,hg,[])}var _g=[`s`,`static`];function vg(e){return kg(e,_g)}var yg=[`i`,`items`];function bg(e){return kg(e,yg,[])}var xg=[`t`,`type`];function Sg(e){return kg(e,xg)}var Cg=[`v`,`value`];function wg(e,t){let n=kg(e,Cg);if(n!=null)return n;throw jg(t)}var Tg=[`m`,`modifier`];function Eg(e){return kg(e,Tg)}var Dg=[`k`,`key`];function Og(e){let t=kg(e,Dg);if(t)return t;throw jg(6)}function kg(e,t,n){for(let n=0;nNg(t,e)}function Ng(e,t){let n=mg(t);if(n==null)throw jg(0);if(Sg(n)===1){let t=gg(n);return e.plural(t.reduce((t,n)=>[...t,Pg(e,n)],[]))}else return Pg(e,n)}function Pg(e,t){let n=vg(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=bg(t).reduce((t,n)=>[...t,Fg(e,n)],[]);return e.normalize(n)}}function Fg(e,t){let n=Sg(t);switch(n){case 3:return wg(t,n);case 9:return wg(t,n);case 4:{let r=t;if(xh(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(xh(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw jg(n)}case 5:{let r=t;if(xh(r,`i`)&&ch(r.i))return e.interpolate(e.list(r.i));if(xh(r,`index`)&&ch(r.index))return e.interpolate(e.list(r.index));throw jg(n)}case 6:{let n=t,r=Eg(n),i=Og(n);return e.linked(Fg(e,i),r?Fg(e,r):void 0,e.type)}case 7:return wg(t,n);case 8:return wg(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var Ig=e=>e,Lg=mh();function Rg(e,t={}){let n=!1,r=t.onError||Ph;return t.onError=e=>{n=!0,r(e)},{...ug(e,t),detectError:n}}function zg(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&W(e)){G(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||Ig)(e),r=Lg[n];if(r)return r;let{ast:i,detectError:a}=Rg(e,{...t,location:!1,jit:!0}),o=Mg(i);return a?o:Lg[n]=o}else{let t=e.cacheKey;return t?Lg[t]||(Lg[t]=Mg(e)):Mg(e)}}var Bg=null;function Vg(e){Bg=e}function Hg(e,t,n){Bg&&Bg.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Ug=Wg(`function:translate`);function Wg(e){return t=>Bg&&Bg.emit(e,t)}var Gg={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Kg(e){return Nh(e,null,void 0)}Gg.INVALID_ARGUMENT,Gg.INVALID_DATE_ARGUMENT,Gg.INVALID_ISO_DATE_ARGUMENT,Gg.NOT_SUPPORT_NON_STRING_MESSAGE,Gg.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Gg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Gg.NOT_SUPPORT_LOCALE_TYPE;function qg(e,t){return t.locale==null?Yg(e.locale):Yg(t.locale)}var Jg;function Yg(e){if(W(e))return e;if(Ch(e)){if(e.resolvedOnce&&Jg!=null)return Jg;if(e.constructor.name===`Function`){let t=e();if(wh(t))throw Kg(Gg.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Jg=t}else throw Kg(Gg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Kg(Gg.NOT_SUPPORT_LOCALE_TYPE)}function Xg(e,t,n){return[...new Set([n,...Sh(t)?t:K(t)?Object.keys(t):W(t)?[t]:[n]])]}function Zg(e,t,n){let r=W(n)?n:p_,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;Sh(e);)e=Qg(a,e,t);let o=Sh(t)||!q(t)?t:t.default?t.default:null;e=W(o)?[o]:o,Sh(e)&&Qg(a,e,!1),i.__localeChainCache.set(r,a)}return a}function Qg(e,t,n){let r=!0;for(let i=0;i{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=o_(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=a_(a),d=t_[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var c_=new Map;function l_(e,t){return K(e)?e[t]:null}function u_(e,t){if(!K(e))return null;let n=c_.get(t);if(n||(n=s_(t),n&&c_.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function h_(){return{upper:(e,t)=>t===`text`&&W(e)?e.toUpperCase():t===`vnode`&&K(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&W(e)?e.toLowerCase():t===`vnode`&&K(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&W(e)?m_(e):t===`vnode`&&K(e)&&`__v_isVNode`in e?m_(e.children):e}}var g_;function __(e){g_=e}var v_;function y_(e){v_=e}var b_;function x_(e){b_=e}var S_=null,C_=()=>S_,w_=null,T_=e=>{w_=e},E_=()=>w_,D_=0;function O_(e={}){let t=Ch(e.onWarn)?e.onWarn:rh,n=W(e.version)?e.version:f_,r=W(e.locale)||Ch(e.locale)?e.locale:p_,i=Ch(r)?p_:r,a=Sh(e.fallbackLocale)||q(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=q(e.messages)?e.messages:k_(i),s=q(e.datetimeFormats)?e.datetimeFormats:k_(i),c=q(e.numberFormats)?e.numberFormats:k_(i),l=fh(mh(),e.modifiers,h_()),u=e.pluralRules||mh(),d=Ch(e.missing)?e.missing:null,f=G(e.missingWarn)||uh(e.missingWarn)?e.missingWarn:!0,p=G(e.fallbackWarn)||uh(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=Ch(e.postTranslation)?e.postTranslation:null,_=q(e.processor)?e.processor:null,v=G(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Ch(e.messageCompiler)?e.messageCompiler:g_,x=Ch(e.messageResolver)?e.messageResolver:v_||l_,S=Ch(e.localeFallbacker)?e.localeFallbacker:b_||Xg,C=K(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=K(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,ee=K(w.__numberFormatters)?w.__numberFormatters:new Map,te=K(w.__meta)?w.__meta:{};D_++;let E={version:n,cid:D_,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:te};return E.datetimeFormats=s,E.numberFormats=c,E.__datetimeFormatters=T,E.__numberFormatters=ee,__INTLIFY_PROD_DEVTOOLS__&&Hg(E,n,te),E}var k_=e=>({[e]:mh()});function A_(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return W(r)?r:t}else return t}function j_(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function M_(e,t){return e===t?!1:e.split(`-`)[0]===t.split(`-`)[0]}function N_(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{I_.includes(e)?o[e]=n[e]:a[e]=n[e]}),W(r)?a.locale=r:q(r)&&(o=r),q(i)&&(o=i),[a.key||``,s,a,o]}function R_(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function z_(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,l,u,d]=V_(...t),f=G(u.missingWarn)?u.missingWarn:e.missingWarn;G(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=qg(e,u),h=o(e,i,m);if(!W(c)||c===``)return new Intl.NumberFormat(m,d).format(l);let g={},_,v=null;for(let t=0;t{B_.includes(e)?o[e]=n[e]:a[e]=n[e]}),W(r)?a.locale=r:q(r)&&(o=r),q(i)&&(o=i),[a.key||``,s,a,o]}function H_(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var U_=e=>e,W_=e=>``,G_=`text`,K_=e=>e.length===0?``:Oh(e),q_=Dh;function J_(e,t){return e=Math.abs(e),t===2?e?+(e>1):1:e?Math.min(e,2):0}function Y_(e){let t=ch(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ch(e.named.count)||ch(e.named.n))?ch(e.named.count)?e.named.count:ch(e.named.n)?e.named.n:t:t}function X_(e,t){t.count||=e,t.n||=e}function Z_(e={}){let t=e.locale,n=Y_(e),r=K(e.pluralRules)&&W(t)&&Ch(e.pluralRules[t])?e.pluralRules[t]:J_,i=K(e.pluralRules)&&W(t)&&Ch(e.pluralRules[t])?J_:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||mh();ch(e.pluralIndex)&&X_(n,c);let l=e=>c[e];function u(t,n){return(Ch(e.messages)?e.messages(t,!!n):K(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):W_)}let d=t=>e.modifiers?e.modifiers[t]:U_,f=q(e.processor)&&Ch(e.processor.normalize)?e.processor.normalize:K_,p=q(e.processor)&&Ch(e.processor.interpolate)?e.processor.interpolate:q_,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?K(n)?(a=n.modifier||a,i=n.type||i):W(n)&&(a=n||a):t.length===2&&(W(n)&&(a=n||a),W(r)&&(i=r||i));let o=u(e,!0)(m),s=i===`vnode`&&Sh(o)&&a?o[0]:o;return a?d(a)(s,i):s},message:u,type:q(e.processor)&&W(e.processor.type)?e.processor.type:G_,interpolate:p,normalize:f,values:fh(mh(),o,c)};return m}var Q_=()=>``,$_=e=>Ch(e);function ev(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=av(...t),u=G(l.missingWarn)?l.missingWarn:e.missingWarn,d=G(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=G(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=W(l.default)||G(l.default)?G(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(W(m)||Ch(m)),g=qg(e,l);f&&tv(l);let[_,v,y]=p?[c,g,s[g]||mh()]:nv(e,c,g,o,d,u),b=_,x=c;if(!p&&!(W(b)||fg(b)||$_(b))&&h&&(b=m,x=b),!p&&(!(W(b)||fg(b)||$_(b))||!W(v)))return i?-1:c;let S=!1,C=$_(b)?b:rv(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=iv(e,C,Z_(sv(e,v,y,l))),T=r?r(w,c):w;if(f&&W(T)&&(T=yh(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:W(c)?c:$_(b)?b.key:``,locale:v||($_(b)?b.locale:``),format:W(b)?b:$_(b)?b.source:``,message:T};t.meta=fh({},e.__meta,C_()||{}),Ug(t)}return T}function tv(e){Sh(e.list)?e.list=e.list.map(e=>W(e)?_h(e):e):K(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=_h(e.named[t]))})}function nv(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=mh(),f,p=null;for(let n=0;nr);return e.locale=n,e.key=t,e}let c=o(r,ov(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function iv(e,t,n){return t(n)}function av(...e){let[t,n,r]=e,i=mh();if(!W(t)&&!ch(t)&&!$_(t)&&!fg(t))throw Kg(Gg.INVALID_ARGUMENT);let a=ch(t)?String(t):($_(t),t);return ch(n)?i.plural=n:W(n)?i.default=n:q(n)&&!dh(n)?i.named=n:Sh(n)&&(i.list=n),ch(r)?i.plural=r:W(r)?i.default=r:q(r)&&fh(i,r),[a,i]}function ov(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>oh(t,n,e)}}function sv(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[,,n]=nv(u||e,r,t,s,c,l);a=o(n,r)}if(W(a)||fg(a)){let n=!1,i=rv(e,r,t,a,r,()=>{n=!0});return n?Q_:i}else if($_(a))return a;else return Q_}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),ch(r.plural)&&(d.pluralIndex=r.plural),d}dg();var cv=`10.0.8`;function lv(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(gh().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(gh().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(gh().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(gh().__INTLIFY_PROD_DEVTOOLS__=!1)}var uv={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_TC:11};uv.FALLBACK_TO_ROOT,uv.NOT_FOUND_PARENT_SCOPE,uv.IGNORE_OBJ_FLATTEN,uv.DEPRECATE_TC;var dv={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function fv(e,...t){return Nh(e,null,void 0)}dv.UNEXPECTED_RETURN_TYPE,dv.INVALID_ARGUMENT,dv.MUST_BE_CALL_SETUP_TOP,dv.NOT_INSTALLED,dv.UNEXPECTED_ERROR,dv.REQUIRED_VALUE,dv.INVALID_VALUE,dv.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,dv.NOT_INSTALLED_WITH_PROVIDE,dv.NOT_COMPATIBLE_LEGACY_VUE_I18N,dv.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var pv=ah(`__translateVNode`),mv=ah(`__datetimeParts`),hv=ah(`__numberParts`),gv=ah(`__setPluralRules`);ah(`__intlifyMeta`);var _v=ah(`__injectWithOption`),vv=ah(`__dispose`);function yv(e){if(!K(e)||fg(e))return e;for(let t in e)if(xh(e,t))if(!t.includes(`.`))K(e[t])&&yv(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||mh(),Ah(n,o[t])):Ah(n,o)}else W(e)&&Ah(JSON.parse(e),o)}),i==null&&a)for(let e in o)xh(o,e)&&yv(o[e]);return o}function xv(e){return e.type}function Sv(e,t,n){let r=K(t.messages)?t.messages:mh();`__i18nGlobal`in n&&(r=bv(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),K(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(K(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function Cv(e){return L(Da,null,e,0)}var wv=()=>[],Tv=()=>!1,Ev=0;function Dv(e){return((t,n,r,i)=>e(n,r,$a()||void 0,i))}function Ov(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=ih?en:tn,o=G(e.inheritLocale)?e.inheritLocale:!0,s=a(t&&o?t.locale.value:W(e.locale)?e.locale:p_),c=a(t&&o?t.fallbackLocale.value:W(e.fallbackLocale)||Sh(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(bv(s.value,e)),u=a(q(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(q(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:G(e.missingWarn)||uh(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:G(e.fallbackWarn)||uh(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:G(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,g=Ch(e.missing)?e.missing:null,_=Ch(e.missing)?Dv(e.missing):null,v=Ch(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:G(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,x=t?t.modifiers:q(e.modifiers)?e.modifiers:{},S=e.pluralRules||t&&t.pluralRules,C;C=(()=>{r&&T_(null);let t={version:cv,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:x,pluralRules:S,missing:_===null?void 0:_,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=q(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=q(C)?C.__numberFormatters:void 0;let n=O_(t);return r&&T_(n),n})(),j_(C,s.value,c.value);function w(){return[s.value,c.value,l.value,u.value,d.value]}let T=vo({get:()=>s.value,set:e=>{s.value=e,C.locale=s.value}}),ee=vo({get:()=>c.value,set:e=>{c.value=e,C.fallbackLocale=c.value,j_(C,s.value,e)}}),te=vo(()=>l.value),E=vo(()=>u.value),ne=vo(()=>d.value);function D(){return Ch(v)?v:null}function O(e){v=e,C.postTranslation=e}function re(){return g}function ie(e){e!==null&&(_=Dv(e)),g=e,C.missing=_}let ae=(e,n,i,a,o,s)=>{w();let c;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=t?E_():void 0),c=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if(i!==`translate exists`&&ch(c)&&c===-1||i===`translate exists`&&!c){let[e,r]=n();return t&&m?a(t):o(e)}else if(s(c))return c;else throw fv(dv.UNEXPECTED_RETURN_TYPE)};function k(...e){return ae(t=>Reflect.apply(ev,null,[t,...e]),()=>av(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>W(e))}function oe(...e){let[t,n,r]=e;if(r&&!K(r))throw fv(dv.INVALID_ARGUMENT);return k(t,n,fh({resolvedMessage:!0},r||{}))}function se(...e){return ae(t=>Reflect.apply(F_,null,[t,...e]),()=>L_(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>W(e))}function ce(...e){return ae(t=>Reflect.apply(z_,null,[t,...e]),()=>V_(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>W(e))}function le(e){return e.map(e=>W(e)||ch(e)||G(e)?Cv(String(e)):e)}let ue={normalize:le,interpolate:e=>e,type:`vnode`};function de(...e){return ae(t=>{let n,r=t;try{r.processor=ue,n=Reflect.apply(ev,null,[r,...e])}finally{r.processor=null}return n},()=>av(...e),`translate`,t=>t[pv](...e),e=>[Cv(e)],e=>Sh(e))}function fe(...e){return ae(t=>Reflect.apply(z_,null,[t,...e]),()=>V_(...e),`number format`,t=>t[hv](...e),wv,e=>W(e)||Sh(e))}function pe(...e){return ae(t=>Reflect.apply(F_,null,[t,...e]),()=>L_(...e),`datetime format`,t=>t[mv](...e),wv,e=>W(e)||Sh(e))}function me(e){S=e,C.pluralRules=S}function he(e,t){return ae(()=>{if(!e)return!1;let n=ve(W(t)?t:s.value),r=C.messageResolver(n,e);return fg(r)||$_(r)||W(r)},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Tv,e=>G(e))}function ge(e){let t=null,n=Zg(C,c.value,s.value);for(let r=0;r{o&&(s.value=e,C.locale=e,j_(C,s.value,c.value))}),Zn(t.fallbackLocale,e=>{o&&(c.value=e,C.fallbackLocale=e,j_(C,s.value,c.value))}));let Ee={id:Ev,locale:T,fallbackLocale:ee,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,j_(C,s.value,c.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:te,get modifiers(){return x},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,C.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,C.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,C.escapeParameter=e},t:k,getLocaleMessage:ve,setLocaleMessage:ye,mergeLocaleMessage:be,getPostTranslationHandler:D,setPostTranslationHandler:O,getMissingHandler:re,setMissingHandler:ie,[gv]:me};return Ee.datetimeFormats=E,Ee.numberFormats=ne,Ee.rt=oe,Ee.te=he,Ee.tm=_e,Ee.d=se,Ee.n=ce,Ee.getDateTimeFormat=xe,Ee.setDateTimeFormat=Se,Ee.mergeDateTimeFormat=Ce,Ee.getNumberFormat=we,Ee.setNumberFormat=A,Ee.mergeNumberFormat=Te,Ee[_v]=n,Ee[pv]=de,Ee[mv]=pe,Ee[hv]=fe,Ee}function kv(e){let t=W(e.locale)?e.locale:p_,n=W(e.fallbackLocale)||Sh(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ch(e.missing)?e.missing:void 0,i=G(e.silentTranslationWarn)||uh(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=G(e.silentFallbackWarn)||uh(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=G(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=q(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=Ch(e.postTranslation)?e.postTranslation:void 0,d=W(e.warnHtmlInMessage)?e.warnHtmlInMessage!==`off`:!0,f=!!e.escapeParameterHtml,p=G(e.sync)?e.sync:!0,m=e.messages;if(q(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(fh(e[n]||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function Av(e={}){let t=Ov(kv(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return G(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=G(e)?!e:e},get silentFallbackWarn(){return G(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=G(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){let[n,r,i]=e,a={plural:1},o=null,s=null;if(!W(n))throw fv(dv.INVALID_ARGUMENT);let c=n;return W(r)?a.locale=r:ch(r)?a.plural=r:Sh(r)?o=r:q(r)&&(s=r),W(i)?a.locale=i:Sh(i)?o=i:q(i)&&(s=i),Reflect.apply(t.t,t,[c,o||s||{},a])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function jv(e,t,n){return{beforeCreate(){let r=$a();if(!r)throw fv(dv.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=Mv(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Av(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Mv(e,i);else{this.$i18n=Av({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Sv(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=$a();if(!e)throw fv(dv.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function Mv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[gv](t.pluralizationRules||e.pluralizationRules);let n=bv(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Nv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Pv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===Ea?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},mh())}function Fv(){return Ea}var Iv=Ar({name:`i18n-t`,props:fh({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ch(e)||!isNaN(e)}},Nv),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return()=>{let a=Object.keys(n).filter(e=>e!==`_`),o=mh();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=W(e.plural)?+e.plural:e.plural);let s=Pv(t,a),c=i[pv](e.keypath,s,o),l=fh(mh(),r);return yo(W(e.tag)||K(e.tag)?e.tag:Fv(),l,c)}}});function Lv(e){return Sh(e)&&!W(e[0])}function Rv(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t={part:!0},o=mh();e.locale&&(t.locale=e.locale),W(e.format)?t.key=e.format:K(e.format)&&(W(e.format.key)&&(t.key=e.format.key),o=Object.keys(e.format).reduce((t,r)=>n.includes(r)?fh(mh(),t,{[r]:e.format[r]}):t,mh()));let s=r(e.value,t,o),c=[t.key];Sh(s)?c=s.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];return Lv(r)&&(r[0].key=`${e.type}-${t}`),r}):W(s)&&(c=[s]);let l=fh(mh(),a);return yo(W(e.tag)||K(e.tag)?e.tag:Fv(),l,c)}}var zv=Ar({name:`i18n-n`,props:fh({value:{type:Number,required:!0},format:{type:[String,Object]}},Nv),setup(e,t){let n=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return Rv(e,t,B_,(...e)=>n[hv](...e))}}),Bv=Ar({name:`i18n-d`,props:fh({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Nv),setup(e,t){let n=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return Rv(e,t,I_,(...e)=>n[mv](...e))}});function Vv(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Hv(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw fv(dv.UNEXPECTED_ERROR);let i=Vv(e,n.$),a=Uv(r);return[Reflect.apply(i.t,i,[...Wv(a)]),i]};return{created:(n,r)=>{let[i,a]=t(r);ih&&e.global===a&&(n.__i18nWatcher=Zn(a.locale,()=>{r.instance&&r.instance.$forceUpdate()})),n.__composer=a,n.textContent=i},unmounted:e=>{ih&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Uv(t);e.textContent=Reflect.apply(n.t,n,[...Wv(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function Uv(e){if(W(e))return{path:e};if(q(e)){if(!(`path`in e))throw fv(dv.REQUIRED_VALUE,`path`);return e}else throw fv(dv.INVALID_VALUE)}function Wv(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return W(n)&&(o.locale=n),ch(i)&&(o.plural=i),ch(a)&&(o.plural=a),[t,s,o]}function Gv(e,t,...n){let r=q(n[0])?n[0]:{};(!G(r.globalInstall)||r.globalInstall)&&([Iv.name,`I18nT`].forEach(t=>e.component(t,Iv)),[zv.name,`I18nN`].forEach(t=>e.component(t,zv)),[Bv.name,`I18nD`].forEach(t=>e.component(t,Bv))),e.directive(`t`,Hv(t))}var Kv=ah(`global-vue-i18n`);function qv(e={},t){let n=__VUE_I18N_LEGACY_API__&&G(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=G(e.globalInjection)?e.globalInjection:!0,i=new Map,[a,o]=Yv(e,n),s=ah(``);function c(e){return i.get(e)||null}function l(e,t){i.set(e,t)}function u(e){i.delete(e)}let d={get mode(){return __VUE_I18N_LEGACY_API__&&n?`legacy`:`composition`},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=s,e.provide(e.__VUE_I18N_SYMBOL__,d),q(t[0])){let e=t[0];d.__composerExtend=e.__composerExtend,d.__vueI18nExtend=e.__vueI18nExtend}let i=null;!n&&r&&(i=iy(e,d.global)),__VUE_I18N_FULL_INSTALL__&&Gv(e,d,...t),__VUE_I18N_LEGACY_API__&&n&&e.mixin(jv(o,o.__composer,d));let a=e.unmount;e.unmount=()=>{i&&i(),d.dispose(),a()}},get global(){return o},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:l,__deleteInstance:u};return d}function Jv(e={}){let t=$a();if(t==null)throw fv(dv.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw fv(dv.NOT_INSTALLED);let n=Xv(t),r=Qv(n),i=xv(t),a=Zv(e,i);if(a===`global`)return Sv(r,e,i),r;if(a===`parent`){let i=$v(n,t,e.__useComponent);return i??=r,i}let o=n,s=o.__getInstance(t);if(s==null){let n=fh({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=Ov(n),o.__composerExtend&&(s[vv]=o.__composerExtend(s)),ty(o,t,s),o.__setInstance(t,s)}return s}function Yv(e,t,n){let r=ke(),i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Av(e)):r.run(()=>Ov(e));if(i==null)throw fv(dv.UNEXPECTED_ERROR);return[r,i]}function Xv(e){let t=qn(e.isCE?Kv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw fv(e.isCE?dv.NOT_INSTALLED_WITH_PROVIDE:dv.UNEXPECTED_ERROR);return t}function Zv(e,t){return dh(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Qv(e){return e.mode===`composition`?e.global:e.global.__composer}function $v(e,t,n=!1){let r=null,i=t.root,a=ey(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[_v]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function ey(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ty(e,t,n){Kr(()=>{},t),Xr(()=>{let r=n;e.__deleteInstance(t);let i=r[vv];i&&(i(),delete r[vv])},t)}var ny=[`locale`,`fallbackLocale`,`availableLocales`],ry=[`t`,`rt`,`d`,`n`,`tm`,`te`];function iy(e,t){let n=Object.create(null);return ny.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw fv(dv.UNEXPECTED_ERROR);let i=$t(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,ry.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw fv(dv.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,ry.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}if(lv(),__(zg),y_(u_),x_(Zg),__INTLIFY_PROD_DEVTOOLS__){let e=gh();e.__INTLIFY__=!0,Vg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var ay={class:`bar`},oy={class:`mark`},sy={class:`titles`},cy={class:`title`},ly={class:`subtitle`},uy={key:0,class:`demo`},dy={class:`live`},fy={class:`clock num`},py=[`aria-label`],my={class:`rl`},hy=[`aria-pressed`,`onClick`],gy=Ar({__name:`StationHeader`,props:{window:{},sample:{type:Boolean}},emits:[`update:window`],setup(e,{emit:t}){let n=t,{t:r}=Jv(),i=[`12h`,`1T`,`7T`,`14T`,`30T`],a=en(``),o=null;function s(){a.value=new Date().toLocaleTimeString(`de-DE`)}return Kr(()=>{s(),o=setInterval(s,1e3)}),Xr(()=>{o&&clearInterval(o)}),(t,o)=>(P(),F(`div`,ay,[I(`span`,oy,A(M(r)(`app.brand`)),1),I(`span`,sy,[I(`span`,cy,A(M(r)(`app.title`)),1),I(`span`,ly,A(M(r)(`app.subtitle`)),1)]),e.sample?(P(),F(`span`,uy,A(M(r)(`app.demo`)),1)):R(``,!0),o[1]||=I(`span`,{class:`spacer`},null,-1),I(`span`,dy,[o[0]||=I(`span`,{class:`led`},null,-1),Wa(A(M(r)(`app.live`)),1)]),I(`span`,fy,A(a.value),1),I(`span`,{class:`rangep`,role:`group`,"aria-label":M(r)(`window.label`)},[I(`span`,my,A(M(r)(`window.label`)),1),(P(),F(Ea,null,li(i,t=>I(`button`,{key:t,type:`button`,"aria-pressed":t===e.window,onClick:e=>n(`update:window`,t)},A(t),9,hy)),64))],8,py)]))}}),_y=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},vy=_y(gy,[[`__scopeId`,`data-v-4a34599f`]]),yy={class:`filter`},by={class:`fhd`},xy={class:`ft`},Sy={class:`acts`},Cy={class:`plist`},wy=[`aria-pressed`,`onClick`],Ty={class:`box`},Ey={key:0,class:`tick`},Dy={class:`pn`},Oy={class:`badge num`},ky=_y(Ar({__name:`PressFilter`,props:{presses:{},checked:{},counts:{}},emits:[`toggle`,`all`,`none`],setup(e,{emit:t}){let n=e,r=t,{t:i}=Jv(),a=e=>n.checked.includes(e);return(t,n)=>(P(),F(`aside`,yy,[I(`div`,by,[I(`span`,xy,A(M(i)(`filter.title`)),1),I(`div`,Sy,[I(`button`,{type:`button`,onClick:n[0]||=e=>r(`all`)},A(M(i)(`filter.all`)),1),I(`button`,{type:`button`,onClick:n[1]||=e=>r(`none`)},A(M(i)(`filter.none`)),1)])]),I(`ul`,Cy,[(P(!0),F(Ea,null,li(e.presses,t=>(P(),F(`li`,{key:t},[I(`button`,{type:`button`,class:_e([`prow`,{off:e.counts[t]===0,on:a(t)}]),"aria-pressed":a(t),onClick:e=>r(`toggle`,t)},[I(`span`,Ty,[a(t)?(P(),F(`span`,Ey,`✓`)):R(``,!0)]),I(`span`,Dy,A(t),1),I(`span`,Oy,A(e.counts[t]??0),1)],10,wy)]))),128))])]))}}),[[`__scopeId`,`data-v-7b8af4b3`]]),Ay=[`aria-label`],jy=[`title`],My={class:`lbl`},Ny=_y(Ar({__name:`TemperBelt`,props:{flow:{}},setup(e){let t=e,{t:n}=Jv(),r=vo(()=>[{key:`notYetSent`,label:n(`belt.notYetSent`),value:t.flow.notYetSent,color:`var(--press)`},{key:`wagen`,label:n(`belt.wagen`),value:t.flow.wagen,color:`var(--way)`},{key:`unterwegs`,label:n(`belt.unterwegs`),value:t.flow.unterwegs,color:`var(--transit)`},{key:`ofen`,label:n(`belt.ofen`),value:t.flow.ofen,color:`var(--oven)`},{key:`fertig`,label:n(`belt.fertig`),value:t.flow.fertig,color:`var(--done)`}]);return(e,t)=>(P(),F(`div`,{class:`belt`,"aria-label":M(n)(`belt.title`)},[(P(!0),F(Ea,null,li(r.value,(e,t)=>(P(),F(Ea,{key:e.key},[I(`div`,{class:`stn`,title:`${e.label}: ${e.value}`},[I(`span`,{class:`badge num`,style:fe({color:e.color,borderColor:e.color})},A(e.value),5),I(`span`,My,A(e.label),1)],8,jy),t0||r.value[t+1].value>0}])},null,2)):R(``,!0)],64))),128))],8,Ay))}}),[[`__scopeId`,`data-v-1348ae06`]]),Py={class:`card`},Fy={class:`chd`},Iy={class:`press`},Ly={class:`ord`},Ry={class:`on num`},zy={class:`art`},By={class:`meta`},Vy={class:`mk`},Hy={class:`mv num`},Uy={class:`meta`},Wy={class:`mk`},Gy={class:`mv num`},Ky={class:`counts`},qy={class:`good num`},Jy={class:`ck`},Yy={class:`scrap num`},Xy={class:`ck`},Zy={class:`ago`},Qy={class:`belt-wrap`},$y=_y(Ar({__name:`RejectEntryCard`,props:{entry:{}},emits:[`book`],setup(e,{emit:t}){let n=e,r=t,{t:i,locale:a}=Jv(),o=vo(()=>{let e=new Intl.RelativeTimeFormat(a.value,{numeric:`auto`}),t=Math.round((Date.parse(n.entry.doneAt)-Date.now())/6e4),r=Math.abs(t);return r<60?e.format(t,`minute`):r<1440?e.format(Math.round(t/60),`hour`):e.format(Math.round(t/1440),`day`)});return(t,n)=>(P(),F(`article`,Py,[I(`div`,Fy,[I(`span`,Iy,A(e.entry.press),1),I(`span`,Ly,[I(`span`,Ry,A(e.entry.orderNo),1),I(`span`,zy,A(e.entry.article),1)]),n[2]||=I(`span`,{class:`spacer`},null,-1),I(`span`,By,[I(`span`,Vy,A(M(i)(`entry.cart`)),1),I(`span`,Hy,A(e.entry.cartId),1)]),I(`span`,Uy,[I(`span`,Wy,A(M(i)(`entry.label`)),1),I(`span`,Gy,`#`+A(e.entry.ttId),1)]),I(`span`,Ky,[I(`span`,qy,A(e.entry.partsGood),1),I(`span`,Jy,A(M(i)(`entry.good`)),1),n[1]||=I(`span`,{class:`dot`},`·`,-1),I(`span`,Yy,A(e.entry.scrap),1),I(`span`,Xy,A(M(i)(`entry.scrap`)),1)]),I(`span`,Zy,A(M(i)(`entry.doneAt`))+` `+A(o.value),1)]),I(`div`,Qy,[L(Ny,{flow:e.entry.flow},null,8,[`flow`]),I(`button`,{type:`button`,class:`book`,onClick:n[0]||=t=>r(`book`,e.entry)},A(M(i)(`entry.book`)),1)])]))}}),[[`__scopeId`,`data-v-e3e5f5fd`]]),eb={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(e){return this._loadedStyleNames.has(e)},setLoadedStyleName:function(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName:function(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function tb(){return`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:`pc`}${jr().replace(`v-`,``).replaceAll(`-`,`_`)}`}var nb=H.extend({name:`common`});function rb(e){"@babel/helpers - typeof";return rb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rb(e)}function ib(e){return db(e)||ab(e)||cb(e)||sb()}function ab(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ob(e,t){return db(e)||ub(e,t)||cb(e,t)||sb()}function sb(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +`:t.breakLineCode,o=t.needIndent?t.needIndent:n!==`arrow`,s=e.helpers||[],c=rg(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});c.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),c.indent(o),s.length>0&&(c.push(`const { ${Oh(s.map(e=>`${e}: _${e}`),`, `)} } = ctx`),c.newline()),c.push(`return `),cg(c,e),c.deindent(o),c.push(`}`),delete e.helpers;let{code:l,map:u}=c.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function ug(e,t={}){let n=fh({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=Jh(n).parse(e);return r?(a&&eg(o),i&&ng(o),{ast:o,code:``}):($h(o,n),lg(o,n))}function dg(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(gh().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(gh().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function fg(e){return K(e)&&Sg(e)===0&&(xh(e,`b`)||xh(e,`body`))}var pg=[`b`,`body`];function mg(e){return kg(e,pg)}var hg=[`c`,`cases`];function gg(e){return kg(e,hg,[])}var _g=[`s`,`static`];function vg(e){return kg(e,_g)}var yg=[`i`,`items`];function bg(e){return kg(e,yg,[])}var xg=[`t`,`type`];function Sg(e){return kg(e,xg)}var Cg=[`v`,`value`];function wg(e,t){let n=kg(e,Cg);if(n!=null)return n;throw jg(t)}var Tg=[`m`,`modifier`];function Eg(e){return kg(e,Tg)}var Dg=[`k`,`key`];function Og(e){let t=kg(e,Dg);if(t)return t;throw jg(6)}function kg(e,t,n){for(let n=0;nNg(t,e)}function Ng(e,t){let n=mg(t);if(n==null)throw jg(0);if(Sg(n)===1){let t=gg(n);return e.plural(t.reduce((t,n)=>[...t,Pg(e,n)],[]))}else return Pg(e,n)}function Pg(e,t){let n=vg(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=bg(t).reduce((t,n)=>[...t,Fg(e,n)],[]);return e.normalize(n)}}function Fg(e,t){let n=Sg(t);switch(n){case 3:return wg(t,n);case 9:return wg(t,n);case 4:{let r=t;if(xh(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(xh(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw jg(n)}case 5:{let r=t;if(xh(r,`i`)&&ch(r.i))return e.interpolate(e.list(r.i));if(xh(r,`index`)&&ch(r.index))return e.interpolate(e.list(r.index));throw jg(n)}case 6:{let n=t,r=Eg(n),i=Og(n);return e.linked(Fg(e,i),r?Fg(e,r):void 0,e.type)}case 7:return wg(t,n);case 8:return wg(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var Ig=e=>e,Lg=mh();function Rg(e,t={}){let n=!1,r=t.onError||Ph;return t.onError=e=>{n=!0,r(e)},{...ug(e,t),detectError:n}}function zg(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&W(e)){G(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||Ig)(e),r=Lg[n];if(r)return r;let{ast:i,detectError:a}=Rg(e,{...t,location:!1,jit:!0}),o=Mg(i);return a?o:Lg[n]=o}else{let t=e.cacheKey;return t?Lg[t]||(Lg[t]=Mg(e)):Mg(e)}}var Bg=null;function Vg(e){Bg=e}function Hg(e,t,n){Bg&&Bg.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Ug=Wg(`function:translate`);function Wg(e){return t=>Bg&&Bg.emit(e,t)}var Gg={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Kg(e){return Nh(e,null,void 0)}Gg.INVALID_ARGUMENT,Gg.INVALID_DATE_ARGUMENT,Gg.INVALID_ISO_DATE_ARGUMENT,Gg.NOT_SUPPORT_NON_STRING_MESSAGE,Gg.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Gg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Gg.NOT_SUPPORT_LOCALE_TYPE;function qg(e,t){return t.locale==null?Yg(e.locale):Yg(t.locale)}var Jg;function Yg(e){if(W(e))return e;if(Ch(e)){if(e.resolvedOnce&&Jg!=null)return Jg;if(e.constructor.name===`Function`){let t=e();if(wh(t))throw Kg(Gg.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Jg=t}else throw Kg(Gg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Kg(Gg.NOT_SUPPORT_LOCALE_TYPE)}function Xg(e,t,n){return[...new Set([n,...Sh(t)?t:K(t)?Object.keys(t):W(t)?[t]:[n]])]}function Zg(e,t,n){let r=W(n)?n:p_,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;Sh(e);)e=Qg(a,e,t);let o=Sh(t)||!q(t)?t:t.default?t.default:null;e=W(o)?[o]:o,Sh(e)&&Qg(a,e,!1),i.__localeChainCache.set(r,a)}return a}function Qg(e,t,n){let r=!0;for(let i=0;i{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=o_(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=a_(a),d=t_[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var c_=new Map;function l_(e,t){return K(e)?e[t]:null}function u_(e,t){if(!K(e))return null;let n=c_.get(t);if(n||(n=s_(t),n&&c_.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function h_(){return{upper:(e,t)=>t===`text`&&W(e)?e.toUpperCase():t===`vnode`&&K(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&W(e)?e.toLowerCase():t===`vnode`&&K(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&W(e)?m_(e):t===`vnode`&&K(e)&&`__v_isVNode`in e?m_(e.children):e}}var g_;function __(e){g_=e}var v_;function y_(e){v_=e}var b_;function x_(e){b_=e}var S_=null,C_=()=>S_,w_=null,T_=e=>{w_=e},E_=()=>w_,D_=0;function O_(e={}){let t=Ch(e.onWarn)?e.onWarn:rh,n=W(e.version)?e.version:f_,r=W(e.locale)||Ch(e.locale)?e.locale:p_,i=Ch(r)?p_:r,a=Sh(e.fallbackLocale)||q(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=q(e.messages)?e.messages:k_(i),s=q(e.datetimeFormats)?e.datetimeFormats:k_(i),c=q(e.numberFormats)?e.numberFormats:k_(i),l=fh(mh(),e.modifiers,h_()),u=e.pluralRules||mh(),d=Ch(e.missing)?e.missing:null,f=G(e.missingWarn)||uh(e.missingWarn)?e.missingWarn:!0,p=G(e.fallbackWarn)||uh(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=Ch(e.postTranslation)?e.postTranslation:null,_=q(e.processor)?e.processor:null,v=G(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Ch(e.messageCompiler)?e.messageCompiler:g_,x=Ch(e.messageResolver)?e.messageResolver:v_||l_,S=Ch(e.localeFallbacker)?e.localeFallbacker:b_||Xg,C=K(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=K(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,ee=K(w.__numberFormatters)?w.__numberFormatters:new Map,te=K(w.__meta)?w.__meta:{};D_++;let E={version:n,cid:D_,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:te};return E.datetimeFormats=s,E.numberFormats=c,E.__datetimeFormatters=T,E.__numberFormatters=ee,__INTLIFY_PROD_DEVTOOLS__&&Hg(E,n,te),E}var k_=e=>({[e]:mh()});function A_(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return W(r)?r:t}else return t}function j_(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function M_(e,t){return e===t?!1:e.split(`-`)[0]===t.split(`-`)[0]}function N_(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{I_.includes(e)?o[e]=n[e]:a[e]=n[e]}),W(r)?a.locale=r:q(r)&&(o=r),q(i)&&(o=i),[a.key||``,s,a,o]}function R_(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function z_(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,l,u,d]=V_(...t),f=G(u.missingWarn)?u.missingWarn:e.missingWarn;G(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=qg(e,u),h=o(e,i,m);if(!W(c)||c===``)return new Intl.NumberFormat(m,d).format(l);let g={},_,v=null;for(let t=0;t{B_.includes(e)?o[e]=n[e]:a[e]=n[e]}),W(r)?a.locale=r:q(r)&&(o=r),q(i)&&(o=i),[a.key||``,s,a,o]}function H_(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var U_=e=>e,W_=e=>``,G_=`text`,K_=e=>e.length===0?``:Oh(e),q_=Dh;function J_(e,t){return e=Math.abs(e),t===2?e?+(e>1):1:e?Math.min(e,2):0}function Y_(e){let t=ch(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ch(e.named.count)||ch(e.named.n))?ch(e.named.count)?e.named.count:ch(e.named.n)?e.named.n:t:t}function X_(e,t){t.count||=e,t.n||=e}function Z_(e={}){let t=e.locale,n=Y_(e),r=K(e.pluralRules)&&W(t)&&Ch(e.pluralRules[t])?e.pluralRules[t]:J_,i=K(e.pluralRules)&&W(t)&&Ch(e.pluralRules[t])?J_:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||mh();ch(e.pluralIndex)&&X_(n,c);let l=e=>c[e];function u(t,n){return(Ch(e.messages)?e.messages(t,!!n):K(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):W_)}let d=t=>e.modifiers?e.modifiers[t]:U_,f=q(e.processor)&&Ch(e.processor.normalize)?e.processor.normalize:K_,p=q(e.processor)&&Ch(e.processor.interpolate)?e.processor.interpolate:q_,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?K(n)?(a=n.modifier||a,i=n.type||i):W(n)&&(a=n||a):t.length===2&&(W(n)&&(a=n||a),W(r)&&(i=r||i));let o=u(e,!0)(m),s=i===`vnode`&&Sh(o)&&a?o[0]:o;return a?d(a)(s,i):s},message:u,type:q(e.processor)&&W(e.processor.type)?e.processor.type:G_,interpolate:p,normalize:f,values:fh(mh(),o,c)};return m}var Q_=()=>``,$_=e=>Ch(e);function ev(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=av(...t),u=G(l.missingWarn)?l.missingWarn:e.missingWarn,d=G(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=G(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=W(l.default)||G(l.default)?G(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(W(m)||Ch(m)),g=qg(e,l);f&&tv(l);let[_,v,y]=p?[c,g,s[g]||mh()]:nv(e,c,g,o,d,u),b=_,x=c;if(!p&&!(W(b)||fg(b)||$_(b))&&h&&(b=m,x=b),!p&&(!(W(b)||fg(b)||$_(b))||!W(v)))return i?-1:c;let S=!1,C=$_(b)?b:rv(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=iv(e,C,Z_(sv(e,v,y,l))),T=r?r(w,c):w;if(f&&W(T)&&(T=yh(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:W(c)?c:$_(b)?b.key:``,locale:v||($_(b)?b.locale:``),format:W(b)?b:$_(b)?b.source:``,message:T};t.meta=fh({},e.__meta,C_()||{}),Ug(t)}return T}function tv(e){Sh(e.list)?e.list=e.list.map(e=>W(e)?_h(e):e):K(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=_h(e.named[t]))})}function nv(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=mh(),f,p=null;for(let n=0;nr);return e.locale=n,e.key=t,e}let c=o(r,ov(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function iv(e,t,n){return t(n)}function av(...e){let[t,n,r]=e,i=mh();if(!W(t)&&!ch(t)&&!$_(t)&&!fg(t))throw Kg(Gg.INVALID_ARGUMENT);let a=ch(t)?String(t):($_(t),t);return ch(n)?i.plural=n:W(n)?i.default=n:q(n)&&!dh(n)?i.named=n:Sh(n)&&(i.list=n),ch(r)?i.plural=r:W(r)?i.default=r:q(r)&&fh(i,r),[a,i]}function ov(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>oh(t,n,e)}}function sv(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[,,n]=nv(u||e,r,t,s,c,l);a=o(n,r)}if(W(a)||fg(a)){let n=!1,i=rv(e,r,t,a,r,()=>{n=!0});return n?Q_:i}else if($_(a))return a;else return Q_}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),ch(r.plural)&&(d.pluralIndex=r.plural),d}dg();var cv=`10.0.8`;function lv(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(gh().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(gh().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(gh().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(gh().__INTLIFY_PROD_DEVTOOLS__=!1)}var uv={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_TC:11};uv.FALLBACK_TO_ROOT,uv.NOT_FOUND_PARENT_SCOPE,uv.IGNORE_OBJ_FLATTEN,uv.DEPRECATE_TC;var dv={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function fv(e,...t){return Nh(e,null,void 0)}dv.UNEXPECTED_RETURN_TYPE,dv.INVALID_ARGUMENT,dv.MUST_BE_CALL_SETUP_TOP,dv.NOT_INSTALLED,dv.UNEXPECTED_ERROR,dv.REQUIRED_VALUE,dv.INVALID_VALUE,dv.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,dv.NOT_INSTALLED_WITH_PROVIDE,dv.NOT_COMPATIBLE_LEGACY_VUE_I18N,dv.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var pv=ah(`__translateVNode`),mv=ah(`__datetimeParts`),hv=ah(`__numberParts`),gv=ah(`__setPluralRules`);ah(`__intlifyMeta`);var _v=ah(`__injectWithOption`),vv=ah(`__dispose`);function yv(e){if(!K(e)||fg(e))return e;for(let t in e)if(xh(e,t))if(!t.includes(`.`))K(e[t])&&yv(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||mh(),Ah(n,o[t])):Ah(n,o)}else W(e)&&Ah(JSON.parse(e),o)}),i==null&&a)for(let e in o)xh(o,e)&&yv(o[e]);return o}function xv(e){return e.type}function Sv(e,t,n){let r=K(t.messages)?t.messages:mh();`__i18nGlobal`in n&&(r=bv(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),K(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(K(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function Cv(e){return L(Da,null,e,0)}var wv=()=>[],Tv=()=>!1,Ev=0;function Dv(e){return((t,n,r,i)=>e(n,r,$a()||void 0,i))}function Ov(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=ih?en:tn,o=G(e.inheritLocale)?e.inheritLocale:!0,s=a(t&&o?t.locale.value:W(e.locale)?e.locale:p_),c=a(t&&o?t.fallbackLocale.value:W(e.fallbackLocale)||Sh(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(bv(s.value,e)),u=a(q(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(q(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:G(e.missingWarn)||uh(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:G(e.fallbackWarn)||uh(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:G(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,g=Ch(e.missing)?e.missing:null,_=Ch(e.missing)?Dv(e.missing):null,v=Ch(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:G(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,x=t?t.modifiers:q(e.modifiers)?e.modifiers:{},S=e.pluralRules||t&&t.pluralRules,C;C=(()=>{r&&T_(null);let t={version:cv,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:x,pluralRules:S,missing:_===null?void 0:_,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=q(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=q(C)?C.__numberFormatters:void 0;let n=O_(t);return r&&T_(n),n})(),j_(C,s.value,c.value);function w(){return[s.value,c.value,l.value,u.value,d.value]}let T=vo({get:()=>s.value,set:e=>{s.value=e,C.locale=s.value}}),ee=vo({get:()=>c.value,set:e=>{c.value=e,C.fallbackLocale=c.value,j_(C,s.value,e)}}),te=vo(()=>l.value),E=vo(()=>u.value),ne=vo(()=>d.value);function D(){return Ch(v)?v:null}function O(e){v=e,C.postTranslation=e}function re(){return g}function ie(e){e!==null&&(_=Dv(e)),g=e,C.missing=_}let ae=(e,n,i,a,o,s)=>{w();let c;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=t?E_():void 0),c=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if(i!==`translate exists`&&ch(c)&&c===-1||i===`translate exists`&&!c){let[e,r]=n();return t&&m?a(t):o(e)}else if(s(c))return c;else throw fv(dv.UNEXPECTED_RETURN_TYPE)};function k(...e){return ae(t=>Reflect.apply(ev,null,[t,...e]),()=>av(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>W(e))}function oe(...e){let[t,n,r]=e;if(r&&!K(r))throw fv(dv.INVALID_ARGUMENT);return k(t,n,fh({resolvedMessage:!0},r||{}))}function se(...e){return ae(t=>Reflect.apply(F_,null,[t,...e]),()=>L_(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>W(e))}function ce(...e){return ae(t=>Reflect.apply(z_,null,[t,...e]),()=>V_(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>W(e))}function le(e){return e.map(e=>W(e)||ch(e)||G(e)?Cv(String(e)):e)}let ue={normalize:le,interpolate:e=>e,type:`vnode`};function de(...e){return ae(t=>{let n,r=t;try{r.processor=ue,n=Reflect.apply(ev,null,[r,...e])}finally{r.processor=null}return n},()=>av(...e),`translate`,t=>t[pv](...e),e=>[Cv(e)],e=>Sh(e))}function fe(...e){return ae(t=>Reflect.apply(z_,null,[t,...e]),()=>V_(...e),`number format`,t=>t[hv](...e),wv,e=>W(e)||Sh(e))}function pe(...e){return ae(t=>Reflect.apply(F_,null,[t,...e]),()=>L_(...e),`datetime format`,t=>t[mv](...e),wv,e=>W(e)||Sh(e))}function me(e){S=e,C.pluralRules=S}function he(e,t){return ae(()=>{if(!e)return!1;let n=ve(W(t)?t:s.value),r=C.messageResolver(n,e);return fg(r)||$_(r)||W(r)},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Tv,e=>G(e))}function ge(e){let t=null,n=Zg(C,c.value,s.value);for(let r=0;r{o&&(s.value=e,C.locale=e,j_(C,s.value,c.value))}),Zn(t.fallbackLocale,e=>{o&&(c.value=e,C.fallbackLocale=e,j_(C,s.value,c.value))}));let Ee={id:Ev,locale:T,fallbackLocale:ee,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,j_(C,s.value,c.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:te,get modifiers(){return x},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,C.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,C.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,C.escapeParameter=e},t:k,getLocaleMessage:ve,setLocaleMessage:ye,mergeLocaleMessage:be,getPostTranslationHandler:D,setPostTranslationHandler:O,getMissingHandler:re,setMissingHandler:ie,[gv]:me};return Ee.datetimeFormats=E,Ee.numberFormats=ne,Ee.rt=oe,Ee.te=he,Ee.tm=_e,Ee.d=se,Ee.n=ce,Ee.getDateTimeFormat=xe,Ee.setDateTimeFormat=Se,Ee.mergeDateTimeFormat=Ce,Ee.getNumberFormat=we,Ee.setNumberFormat=A,Ee.mergeNumberFormat=Te,Ee[_v]=n,Ee[pv]=de,Ee[mv]=pe,Ee[hv]=fe,Ee}function kv(e){let t=W(e.locale)?e.locale:p_,n=W(e.fallbackLocale)||Sh(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ch(e.missing)?e.missing:void 0,i=G(e.silentTranslationWarn)||uh(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=G(e.silentFallbackWarn)||uh(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=G(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=q(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=Ch(e.postTranslation)?e.postTranslation:void 0,d=W(e.warnHtmlInMessage)?e.warnHtmlInMessage!==`off`:!0,f=!!e.escapeParameterHtml,p=G(e.sync)?e.sync:!0,m=e.messages;if(q(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(fh(e[n]||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function Av(e={}){let t=Ov(kv(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return G(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=G(e)?!e:e},get silentFallbackWarn(){return G(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=G(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){let[n,r,i]=e,a={plural:1},o=null,s=null;if(!W(n))throw fv(dv.INVALID_ARGUMENT);let c=n;return W(r)?a.locale=r:ch(r)?a.plural=r:Sh(r)?o=r:q(r)&&(s=r),W(i)?a.locale=i:Sh(i)?o=i:q(i)&&(s=i),Reflect.apply(t.t,t,[c,o||s||{},a])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function jv(e,t,n){return{beforeCreate(){let r=$a();if(!r)throw fv(dv.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=Mv(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Av(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Mv(e,i);else{this.$i18n=Av({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Sv(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=$a();if(!e)throw fv(dv.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function Mv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[gv](t.pluralizationRules||e.pluralizationRules);let n=bv(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Nv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Pv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===Ea?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},mh())}function Fv(){return Ea}var Iv=Ar({name:`i18n-t`,props:fh({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ch(e)||!isNaN(e)}},Nv),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return()=>{let a=Object.keys(n).filter(e=>e!==`_`),o=mh();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=W(e.plural)?+e.plural:e.plural);let s=Pv(t,a),c=i[pv](e.keypath,s,o),l=fh(mh(),r);return yo(W(e.tag)||K(e.tag)?e.tag:Fv(),l,c)}}});function Lv(e){return Sh(e)&&!W(e[0])}function Rv(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t={part:!0},o=mh();e.locale&&(t.locale=e.locale),W(e.format)?t.key=e.format:K(e.format)&&(W(e.format.key)&&(t.key=e.format.key),o=Object.keys(e.format).reduce((t,r)=>n.includes(r)?fh(mh(),t,{[r]:e.format[r]}):t,mh()));let s=r(e.value,t,o),c=[t.key];Sh(s)?c=s.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];return Lv(r)&&(r[0].key=`${e.type}-${t}`),r}):W(s)&&(c=[s]);let l=fh(mh(),a);return yo(W(e.tag)||K(e.tag)?e.tag:Fv(),l,c)}}var zv=Ar({name:`i18n-n`,props:fh({value:{type:Number,required:!0},format:{type:[String,Object]}},Nv),setup(e,t){let n=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return Rv(e,t,B_,(...e)=>n[hv](...e))}}),Bv=Ar({name:`i18n-d`,props:fh({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Nv),setup(e,t){let n=e.i18n||Jv({useScope:e.scope,__useComponent:!0});return Rv(e,t,I_,(...e)=>n[mv](...e))}});function Vv(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Hv(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw fv(dv.UNEXPECTED_ERROR);let i=Vv(e,n.$),a=Uv(r);return[Reflect.apply(i.t,i,[...Wv(a)]),i]};return{created:(n,r)=>{let[i,a]=t(r);ih&&e.global===a&&(n.__i18nWatcher=Zn(a.locale,()=>{r.instance&&r.instance.$forceUpdate()})),n.__composer=a,n.textContent=i},unmounted:e=>{ih&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Uv(t);e.textContent=Reflect.apply(n.t,n,[...Wv(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function Uv(e){if(W(e))return{path:e};if(q(e)){if(!(`path`in e))throw fv(dv.REQUIRED_VALUE,`path`);return e}else throw fv(dv.INVALID_VALUE)}function Wv(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return W(n)&&(o.locale=n),ch(i)&&(o.plural=i),ch(a)&&(o.plural=a),[t,s,o]}function Gv(e,t,...n){let r=q(n[0])?n[0]:{};(!G(r.globalInstall)||r.globalInstall)&&([Iv.name,`I18nT`].forEach(t=>e.component(t,Iv)),[zv.name,`I18nN`].forEach(t=>e.component(t,zv)),[Bv.name,`I18nD`].forEach(t=>e.component(t,Bv))),e.directive(`t`,Hv(t))}var Kv=ah(`global-vue-i18n`);function qv(e={},t){let n=__VUE_I18N_LEGACY_API__&&G(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=G(e.globalInjection)?e.globalInjection:!0,i=new Map,[a,o]=Yv(e,n),s=ah(``);function c(e){return i.get(e)||null}function l(e,t){i.set(e,t)}function u(e){i.delete(e)}let d={get mode(){return __VUE_I18N_LEGACY_API__&&n?`legacy`:`composition`},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=s,e.provide(e.__VUE_I18N_SYMBOL__,d),q(t[0])){let e=t[0];d.__composerExtend=e.__composerExtend,d.__vueI18nExtend=e.__vueI18nExtend}let i=null;!n&&r&&(i=iy(e,d.global)),__VUE_I18N_FULL_INSTALL__&&Gv(e,d,...t),__VUE_I18N_LEGACY_API__&&n&&e.mixin(jv(o,o.__composer,d));let a=e.unmount;e.unmount=()=>{i&&i(),d.dispose(),a()}},get global(){return o},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:l,__deleteInstance:u};return d}function Jv(e={}){let t=$a();if(t==null)throw fv(dv.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw fv(dv.NOT_INSTALLED);let n=Xv(t),r=Qv(n),i=xv(t),a=Zv(e,i);if(a===`global`)return Sv(r,e,i),r;if(a===`parent`){let i=$v(n,t,e.__useComponent);return i??=r,i}let o=n,s=o.__getInstance(t);if(s==null){let n=fh({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=Ov(n),o.__composerExtend&&(s[vv]=o.__composerExtend(s)),ty(o,t,s),o.__setInstance(t,s)}return s}function Yv(e,t,n){let r=ke(),i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Av(e)):r.run(()=>Ov(e));if(i==null)throw fv(dv.UNEXPECTED_ERROR);return[r,i]}function Xv(e){let t=qn(e.isCE?Kv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw fv(e.isCE?dv.NOT_INSTALLED_WITH_PROVIDE:dv.UNEXPECTED_ERROR);return t}function Zv(e,t){return dh(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Qv(e){return e.mode===`composition`?e.global:e.global.__composer}function $v(e,t,n=!1){let r=null,i=t.root,a=ey(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[_v]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function ey(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ty(e,t,n){Kr(()=>{},t),Xr(()=>{let r=n;e.__deleteInstance(t);let i=r[vv];i&&(i(),delete r[vv])},t)}var ny=[`locale`,`fallbackLocale`,`availableLocales`],ry=[`t`,`rt`,`d`,`n`,`tm`,`te`];function iy(e,t){let n=Object.create(null);return ny.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw fv(dv.UNEXPECTED_ERROR);let i=$t(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,ry.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw fv(dv.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,ry.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}if(lv(),__(zg),y_(u_),x_(Zg),__INTLIFY_PROD_DEVTOOLS__){let e=gh();e.__INTLIFY__=!0,Vg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var ay={class:`bar`},oy={class:`mark`},sy={class:`titles`},cy={class:`title`},ly={class:`subtitle`},uy={key:0,class:`demo`},dy={class:`live`},fy={class:`clock num`},py=[`aria-label`],my={class:`rl`},hy=[`aria-pressed`,`onClick`],gy=Ar({__name:`StationHeader`,props:{window:{},sample:{type:Boolean}},emits:[`update:window`],setup(e,{emit:t}){let n=t,{t:r}=Jv(),i=[`12h`,`1T`,`7T`,`14T`,`30T`],a=en(``),o=null;function s(){a.value=new Date().toLocaleTimeString(`de-DE`)}return Kr(()=>{s(),o=setInterval(s,1e3)}),Xr(()=>{o&&clearInterval(o)}),(t,o)=>(P(),F(`div`,ay,[I(`span`,oy,A(M(r)(`app.brand`)),1),I(`span`,sy,[I(`span`,cy,A(M(r)(`app.title`)),1),I(`span`,ly,A(M(r)(`app.subtitle`)),1)]),e.sample?(P(),F(`span`,uy,A(M(r)(`app.demo`)),1)):R(``,!0),o[1]||=I(`span`,{class:`spacer`},null,-1),I(`span`,dy,[o[0]||=I(`span`,{class:`led`},null,-1),Wa(A(M(r)(`app.live`)),1)]),I(`span`,fy,A(a.value),1),I(`span`,{class:`rangep`,role:`group`,"aria-label":M(r)(`window.label`)},[I(`span`,my,A(M(r)(`window.label`)),1),(P(),F(Ea,null,li(i,t=>I(`button`,{key:t,type:`button`,"aria-pressed":t===e.window,onClick:e=>n(`update:window`,t)},A(t),9,hy)),64))],8,py)]))}}),_y=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},vy=_y(gy,[[`__scopeId`,`data-v-f12f1b03`]]),yy={class:`filter`},by={class:`fhd`},xy={class:`ft`},Sy={class:`acts`},Cy={class:`plist`},wy=[`aria-pressed`,`onClick`],Ty={class:`box`},Ey={key:0,class:`tick`},Dy={class:`pn`},Oy={class:`badge num`},ky=_y(Ar({__name:`PressFilter`,props:{presses:{},checked:{},counts:{}},emits:[`toggle`,`all`,`none`],setup(e,{emit:t}){let n=e,r=t,{t:i}=Jv(),a=e=>n.checked.includes(e);return(t,n)=>(P(),F(`aside`,yy,[I(`div`,by,[I(`span`,xy,A(M(i)(`filter.title`)),1),I(`div`,Sy,[I(`button`,{type:`button`,onClick:n[0]||=e=>r(`all`)},A(M(i)(`filter.all`)),1),I(`button`,{type:`button`,onClick:n[1]||=e=>r(`none`)},A(M(i)(`filter.none`)),1)])]),I(`ul`,Cy,[(P(!0),F(Ea,null,li(e.presses,t=>(P(),F(`li`,{key:t},[I(`button`,{type:`button`,class:_e([`prow`,{off:e.counts[t]===0,on:a(t)}]),"aria-pressed":a(t),onClick:e=>r(`toggle`,t)},[I(`span`,Ty,[a(t)?(P(),F(`span`,Ey,`✓`)):R(``,!0)]),I(`span`,Dy,A(t),1),I(`span`,Oy,A(e.counts[t]??0),1)],10,wy)]))),128))])]))}}),[[`__scopeId`,`data-v-163a9d23`]]),Ay=[`aria-label`],jy=[`title`],My={class:`lbl`},Ny=_y(Ar({__name:`TemperBelt`,props:{flow:{}},setup(e){let t=e,{t:n}=Jv(),r=vo(()=>[{key:`notYetSent`,label:n(`belt.notYetSent`),value:t.flow.notYetSent,color:`var(--press)`},{key:`wagen`,label:n(`belt.wagen`),value:t.flow.wagen,color:`var(--way)`},{key:`unterwegs`,label:n(`belt.unterwegs`),value:t.flow.unterwegs,color:`var(--transit)`},{key:`ofen`,label:n(`belt.ofen`),value:t.flow.ofen,color:`var(--oven)`},{key:`fertig`,label:n(`belt.fertig`),value:t.flow.fertig,color:`var(--done)`}]);return(e,t)=>(P(),F(`div`,{class:`belt`,"aria-label":M(n)(`belt.title`)},[(P(!0),F(Ea,null,li(r.value,(e,t)=>(P(),F(Ea,{key:e.key},[I(`div`,{class:`stn`,title:`${e.label}: ${e.value}`},[I(`span`,{class:`badge num`,style:fe({color:e.color,borderColor:e.color})},A(e.value),5),I(`span`,My,A(e.label),1)],8,jy),t0||r.value[t+1].value>0}])},null,2)):R(``,!0)],64))),128))],8,Ay))}}),[[`__scopeId`,`data-v-c4b13297`]]),Py={class:`card`},Fy={class:`chd`},Iy={class:`press`},Ly={class:`ord`},Ry={class:`on num`},zy={class:`art`},By={class:`meta`},Vy={class:`mk`},Hy={class:`mv num`},Uy={class:`meta`},Wy={class:`mk`},Gy={class:`mv num`},Ky={class:`counts`},qy={class:`good num`},Jy={class:`ck`},Yy={class:`scrap num`},Xy={class:`ck`},Zy={class:`ago`},Qy={class:`belt-wrap`},$y=_y(Ar({__name:`RejectEntryCard`,props:{entry:{}},emits:[`book`],setup(e,{emit:t}){let n=e,r=t,{t:i,locale:a}=Jv(),o=vo(()=>{let e=new Intl.RelativeTimeFormat(a.value,{numeric:`auto`}),t=Math.round((Date.parse(n.entry.doneAt)-Date.now())/6e4),r=Math.abs(t);return r<60?e.format(t,`minute`):r<1440?e.format(Math.round(t/60),`hour`):e.format(Math.round(t/1440),`day`)});return(t,n)=>(P(),F(`article`,Py,[I(`div`,Fy,[I(`span`,Iy,A(e.entry.press),1),I(`span`,Ly,[I(`span`,Ry,A(e.entry.orderNo),1),I(`span`,zy,A(e.entry.article),1)]),n[2]||=I(`span`,{class:`spacer`},null,-1),I(`span`,By,[I(`span`,Vy,A(M(i)(`entry.cart`)),1),I(`span`,Hy,A(e.entry.cartId),1)]),I(`span`,Uy,[I(`span`,Wy,A(M(i)(`entry.label`)),1),I(`span`,Gy,`#`+A(e.entry.ttId),1)]),I(`span`,Ky,[I(`span`,qy,A(e.entry.partsGood),1),I(`span`,Jy,A(M(i)(`entry.good`)),1),n[1]||=I(`span`,{class:`dot`},`·`,-1),I(`span`,Yy,A(e.entry.scrap),1),I(`span`,Xy,A(M(i)(`entry.scrap`)),1)]),I(`span`,Zy,A(M(i)(`entry.doneAt`))+` `+A(o.value),1)]),I(`div`,Qy,[L(Ny,{flow:e.entry.flow},null,8,[`flow`]),I(`button`,{type:`button`,class:`book`,onClick:n[0]||=t=>r(`book`,e.entry)},A(M(i)(`entry.book`)),1)])]))}}),[[`__scopeId`,`data-v-984c9a2b`]]),eb={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(e){return this._loadedStyleNames.has(e)},setLoadedStyleName:function(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName:function(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function tb(){return`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:`pc`}${jr().replace(`v-`,``).replaceAll(`-`,`_`)}`}var nb=H.extend({name:`common`});function rb(e){"@babel/helpers - typeof";return rb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rb(e)}function ib(e){return db(e)||ab(e)||cb(e)||sb()}function ab(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ob(e,t){return db(e)||ub(e,t)||cb(e,t)||sb()}function sb(){throw TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cb(e,t){if(e){if(typeof e==`string`)return lb(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lb(e,t):void 0}}function lb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&arguments[0]!==void 0?arguments[0]:function(){};eb.clearLoadedStyleNames(),Yl.on(`theme:change`,e)},_removeThemeListeners:function(){Yl.off(`theme:change`,this._loadCoreStyles),Yl.off(`theme:change`,this._load),Yl.off(`theme:change`,this._themeScopedListener)},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){return this[e]||this._getHostInstance(this)?.[e]},_getOptionValue:function(e){return Nc(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{})},_getPTValue:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=/./g.test(t)&&!!n[t.split(`.`)[0]],a=this._getPropValue(`ptOptions`)||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0?!0:o,c=a.mergeProps,l=c===void 0?!1:c,u=r?i?this._useGlobalPT(this._getPTClassValue,t,n):this._useDefaultPT(this._getPTClassValue,t,n):void 0,d=i?void 0:this._getPTSelf(e,this._getPTClassValue,t,Y(Y({},n),{},{global:u||{}})),f=this._getPTDatasets(t);return s||!s&&d?l?this._mergeProps(l,u,d,f):Y(Y(Y({},u),d),f):Y(Y({},d),f)},_getPTSelf:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=[...arguments].slice(1);return z(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(t)),this._usePT.apply(this,[this.$_attrsPT].concat(t)))},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=`data-pc-`,n=e===`root`&&B(this.pt?.[`data-pc-section`]);return e!==`transition`&&Y(Y({},e===`root`&&Y(Y(pb({},`${t}name`,Mc(n?this.pt?.[`data-pc-section`]:this.$.type.name)),n&&pb({},`${t}extend`,Mc(this.$.type.name))),{},pb({},`${this.$attrSelector}`,``))),{},pb({},`${t}section`,Mc(e)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return jc(e)||Pc(e)?{class:e}:e},_getPT:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,r=arguments.length>2?arguments[2]:void 0,i=function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=r?r(e):e,o=Mc(n),s=Mc(t.$name);return(i&&o===s?void 0:a?.[o])??a};return e!=null&&e.hasOwnProperty(`_usept`)?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)},_usePT:function(e,t,n,r){var i=function(e){return t(e,n,r)};if(e!=null&&e.hasOwnProperty(`_usept`)){var a=e._usept||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0?!0:o,c=a.mergeProps,l=c===void 0?!1:c,u=i(e.originalValue),d=i(e.value);return u===void 0&&d===void 0?void 0:jc(d)?d:jc(u)?u:s||!s&&d?l?this._mergeProps(l,u,d):Y(Y({},u),d):d}return i(e)},_useGlobalPT:function(e,t,n){return this._usePT(this.globalPT,e,t,n)},_useDefaultPT:function(e,t,n){return this._usePT(this.defaultPT,e,t,n)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,Y(Y({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=z(this.$_attrsWithoutPT,this.ptm(e,t));return n!=null&&n.hasOwnProperty(`id`)&&(n.id??=this.$id),n},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,Y({instance:this},n),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,Y(Y({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var r=this._getOptionValue(this.$style.inlineStyles,e,Y(Y({},this.$params),n));return[this._getOptionValue(nb.inlineStyles,e,Y(Y({},this.$params),n)),r]}}},computed:{globalPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return Ac(t,{instance:e})})},defaultPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return e._getOptionValue(t,e.$name,Y({},e.$params))||Ac(t,Y({},e.$params))})},isUnstyled:function(){return this.unstyled===void 0?this.$primevueConfig?.unstyled:this.unstyled},$id:function(){return this.$attrs.id||this.uid},$inProps:function(){var e=Object.keys(this.$.vnode?.props||{});return Object.fromEntries(Object.entries(this.$props).filter(function(t){var n=ob(t,1)[0];return e?.includes(n)}))},$theme:function(){return this.$primevueConfig?.theme},$style:function(){return Y(Y({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var e;return{nonce:(e=this.$primevueConfig)==null||(e=e.csp)==null?void 0:e.nonce}},$primevueConfig:function(){return this.$primevue?.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e?.$props,state:e?.$data,attrs:e?.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){return ob(e,1)[0]?.startsWith(`pt:`)}).reduce(function(e,t){var n=ob(t,2),r=n[0],i=n[1];return lb(ib(r.split(`:`))).slice(1)?.reduce(function(e,t,n,r){return!e[t]&&(e[t]=n===r.length-1?i:{}),e[t]},e),e},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=ob(e,1)[0];return!(t!=null&&t.startsWith(`pt:`))}).reduce(function(e,t){var n=ob(t,2),r=n[0];return e[r]=n[1],e},{})}}},_b=H.extend({name:`baseicon`,css:` .p-icon { display: inline-block; @@ -1667,7 +1667,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho inset-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x')); } `,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-inputnumber p-component p-inputwrapper`,{"p-invalid":t.$invalid,"p-inputwrapper-filled":t.$filled||n.allowEmpty===!1,"p-inputwrapper-focus":t.focused,"p-inputnumber-stacked":n.showButtons&&n.buttonLayout===`stacked`,"p-inputnumber-horizontal":n.showButtons&&n.buttonLayout===`horizontal`,"p-inputnumber-vertical":n.showButtons&&n.buttonLayout===`vertical`,"p-inputnumber-fluid":t.$fluid}]},pcInputText:`p-inputnumber-input`,clearIcon:`p-inputnumber-clear-icon`,buttonGroup:`p-inputnumber-button-group`,incrementButton:function(e){var t=e.instance,n=e.props;return[`p-inputnumber-button p-inputnumber-increment-button`,{"p-disabled":n.showButtons&&n.max!==null&&t.maxBoundry()}]},decrementButton:function(e){var t=e.instance,n=e.props;return[`p-inputnumber-button p-inputnumber-decrement-button`,{"p-disabled":n.showButtons&&n.min!==null&&t.minBoundry()}]}}}),yw={name:`BaseInputNumber`,extends:fC,props:{format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:`stacked`},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:`decimal`},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:`halfExpand`,validator:function(e){return[`ceil`,`floor`,`expand`,`trunc`,`halfCeil`,`halfFloor`,`halfExpand`,`halfTrunc`,`halfEven`].includes(e)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},showClear:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},required:{type:Boolean,default:!1}},style:vw,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function bw(e){"@babel/helpers - typeof";return bw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bw(e)}function xw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sw(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1){var o=this.isNumeralChar(i.charAt(t))?t+1:t+2;this.$refs.input.$el.setSelectionRange(o,o)}else this.isNumeralChar(i.charAt(t-1))||e.preventDefault();break;case`ArrowRight`:if(r>1){var s=n-1;this.$refs.input.$el.setSelectionRange(s,s)}else this.isNumeralChar(i.charAt(t))||e.preventDefault();break;case`Tab`:case`Enter`:case`NumpadEnter`:a=this.validateValue(this.parseValue(i)),this.$refs.input.$el.value=this.formatValue(a),this.$refs.input.$el.setAttribute(`aria-valuenow`,a),this.updateModel(e,a);break;case`Backspace`:if(e.preventDefault(),t===n){t>=i.length&&this.suffixChar!==null&&(t=i.length-this.suffixChar.length,this.$refs.input.$el.setSelectionRange(t,t));var c=i.charAt(t-1),l=this.getDecimalCharIndexes(i),u=l.decimalCharIndex,d=l.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(c)){var f=this.getDecimalLength(i);if(this._group.test(c))this._group.lastIndex=0,a=i.slice(0,t-2)+i.slice(t-1);else if(this._decimal.test(c))this._decimal.lastIndex=0,f?this.$refs.input.$el.setSelectionRange(t-1,t-1):a=i.slice(0,t-1)+i.slice(t);else if(u>0&&t>u){var p=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:``):a=i.slice(0,t-1)+i.slice(t)}this.updateValue(e,a,null,`delete-single`)}else a=this.deleteRange(i,t,n),this.updateValue(e,a,null,`delete-range`);break;case`Delete`:if(e.preventDefault(),t===n){var m=i.charAt(t),h=this.getDecimalCharIndexes(i),g=h.decimalCharIndex,_=h.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(m)){var v=this.getDecimalLength(i);if(this._group.test(m))this._group.lastIndex=0,a=i.slice(0,t)+i.slice(t+2);else if(this._decimal.test(m))this._decimal.lastIndex=0,v?this.$refs.input.$el.setSelectionRange(t+1,t+1):a=i.slice(0,t)+i.slice(t+1);else if(g>0&&t>g){var y=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:``):a=i.slice(0,t)+i.slice(t+1)}this.updateValue(e,a,null,`delete-back-single`)}else a=this.deleteRange(i,t,n),this.updateValue(e,a,null,`delete-range`);break;case`Home`:e.preventDefault(),B(this.min)&&this.updateModel(e,this.min);break;case`End`:e.preventDefault(),B(this.max)&&this.updateModel(e,this.max);break}}},onInputKeyPress:function(e){if(!this.readonly){var t=e.key,n=this.isDecimalSign(t),r=this.isMinusSign(t);e.code!==`Enter`&&e.preventDefault(),(Number(t)>=0&&Number(t)<=9||r||n)&&this.insert(e,t,{isDecimalSign:n,isMinusSign:r})}},onPaste:function(e){if(!(this.readonly||this.disabled)){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData(`Text`);if(!(this.inputId===`integeronly`&&/[^\d-]/.test(t))&&t){var n=this.parseValue(t);n!=null&&this.insert(e,n.toString())}}},onClearClick:function(e){this.updateModel(e,null),this.$refs.input.$el.focus()},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(e){return this._minusSign.test(e)||e===`-`?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(e){var t;return(t=this.locale)!=null&&t.includes(`fr`)&&[`.`,`,`].includes(e)||this._decimal.test(e)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode===`decimal`},getDecimalCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.replace(this._prefix,``).trim().replace(/\s/g,``).replace(this._currency,``).search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:t,decimalCharIndexWithoutPrefix:n}},getCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.search(this._minusSign);this._minusSign.lastIndex=0;var r=e.search(this._suffix);this._suffix.lastIndex=0;var i=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:t,minusCharIndex:n,suffixCharIndex:r,currencyCharIndex:i}},insert:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},r=t.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&r!==-1)){var i=this.$refs.input.$el.selectionStart,a=this.$refs.input.$el.selectionEnd,o=this.$refs.input.$el.value.trim(),s=this.getCharIndexes(o),c=s.decimalCharIndex,l=s.minusCharIndex,u=s.suffixCharIndex,d=s.currencyCharIndex,f;if(n.isMinusSign){var p=l===-1;(i===0||i===d+1)&&(f=o,(p||a!==0)&&(f=this.insertText(o,t,0,a)),this.updateValue(e,f,t,`insert`))}else if(n.isDecimalSign)c>0&&i===c?this.updateValue(e,o,t,`insert`):(c>i&&c0&&i>c){if(i+t.length-(c+1)<=m){var g=d>=i?d-1:u>=i?u:o.length;f=o.slice(0,i)+t+o.slice(i+t.length,g)+o.slice(g),this.updateValue(e,f,t,h)}}else f=this.insertText(o,t,i,a),this.updateValue(e,f,t,h)}}},insertText:function(e,t,n,r){if((t===`.`?t:t.split(`.`)).length===2){var i=e.slice(n,r).search(this._decimal);return this._decimal.lastIndex=0,i>0?e.slice(0,n)+this.formatValue(t)+e.slice(r):this.formatValue(t)||e}else if(r-n===e.length)return this.formatValue(t);else if(n===0)return t+e.slice(r);else if(r===e.length)return e.slice(0,n)+t;else return e.slice(0,n)+t+e.slice(r)},deleteRange:function(e,t,n){return n-t===e.length?``:t===0?e.slice(n):n===e.length?e.slice(0,t):e.slice(0,t)+e.slice(n)},initCursor:function(){var e=this.$refs.input.$el.selectionStart,t=this.$refs.input.$el.value,n=t.length,r=null,i=(this.prefixChar||``).length;t=t.replace(this._prefix,``),e-=i;var a=t.charAt(e);if(this.isNumeralChar(a))return e+i;for(var o=e-1;o>=0;)if(a=t.charAt(o),this.isNumeralChar(a)){r=o+i;break}else o--;if(r!==null)this.$refs.input.$el.setSelectionRange(r+1,r+1);else{for(o=e;othis.max?this.max:e},updateInput:function(e,t,n,r){var i;t||=``;var a=this.$refs.input.$el.value,o=this.formatValue(e),s=a.length;if(o!==r&&(o=this.concatValues(o,r)),s===0){this.$refs.input.$el.value=o,this.$refs.input.$el.setSelectionRange(0,0);var c=this.initCursor()+t.length;this.$refs.input.$el.setSelectionRange(c,c)}else{var l=this.$refs.input.$el.selectionStart,u=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=o;var d=o.length;if(n===`range-insert`){var f=this.parseValue((a||``).slice(0,l)),p=(f===null?``:f.toString()).split(``).join(`(${this.groupChar})?`),m=new RegExp(p,`g`);m.test(o);var h=t.split(``).join(`(${this.groupChar})?`),g=new RegExp(h,`g`);g.test(o.slice(m.lastIndex)),u=m.lastIndex+g.lastIndex,this.$refs.input.$el.setSelectionRange(u,u)}else if(d===s)n===`insert`||n===`delete-back-single`?this.$refs.input.$el.setSelectionRange(u+1,u+1):n===`delete-single`?this.$refs.input.$el.setSelectionRange(u-1,u-1):(n===`delete-range`||n===`spin`)&&this.$refs.input.$el.setSelectionRange(u,u);else if(n===`delete-back-single`){var _=a.charAt(u-1),v=a.charAt(u),y=s-d,b=this._group.test(v);b&&y===1?u+=1:!b&&this.isNumeralChar(_)&&(u+=-1*y+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(u,u)}else if(a===`-`&&n===`insert`){this.$refs.input.$el.setSelectionRange(0,0);var x=this.initCursor()+t.length+1;this.$refs.input.$el.setSelectionRange(x,x)}else u+=d-s,this.$refs.input.$el.setSelectionRange(u,u)}this.$refs.input.$el.setAttribute(`aria-valuenow`,e),(i=this.$refs.clearIcon)!=null&&(i=i.$el)!=null&&i.style&&(this.$refs.clearIcon.$el.style.display=bc(o)?`none`:`block`)},concatValues:function(e,t){if(e&&t){var n=t.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?n===-1?e:e.replace(this.suffixChar,``).split(this._decimal)[0]+t.replace(this.suffixChar,``).slice(n)+this.suffixChar:n===-1?e:e.split(this._decimal)[0]+t.slice(n)}return e},getDecimalLength:function(e){if(e){var t=e.split(this._decimal);if(t.length===2)return t[1].replace(this._suffix,``).trim().replace(/\s/g,``).replace(this._currency,``).length}return 0},updateModel:function(e,t){this.writeValue(t,e)},onInputFocus:function(e){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==El()&&this.highlightOnFocus&&e.target.select(),this.$emit(`focus`,e)},onInputBlur:function(e){var t,n;this.focused=!1;var r=e.target,i=this.validateValue(this.parseValue(r.value));this.$emit(`blur`,{originalEvent:e,value:r.value}),(t=(n=this.formField).onBlur)==null||t.call(n,e),r.value=this.formatValue(i),r.setAttribute(`aria-valuenow`,i),this.updateModel(e,i),!this.disabled&&!this.readonly&&this.highlightOnFocus&&dl()},clearTimer:function(){this.timer&&clearTimeout(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var e=this;return{mousedown:function(t){return e.onUpButtonMouseDown(t)},mouseup:function(t){return e.onUpButtonMouseUp(t)},mouseleave:function(t){return e.onUpButtonMouseLeave(t)},keydown:function(t){return e.onUpButtonKeyDown(t)},keyup:function(t){return e.onUpButtonKeyUp(t)}}},downButtonListeners:function(){var e=this;return{mousedown:function(t){return e.onDownButtonMouseDown(t)},mouseup:function(t){return e.onDownButtonMouseUp(t)},mouseleave:function(t){return e.onDownButtonMouseLeave(t)},keydown:function(t){return e.onDownButtonKeyDown(t)},keyup:function(t){return e.onDownButtonKeyUp(t)}}},formattedValue:function(){var e=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(e)},getFormatter:function(){return this.numberFormat},dataP:function(){return Wc(Cw(Cw({invalid:this.$invalid,fluid:this.$fluid,filled:this.$variant===`filled`},this.size,this.size),this.buttonLayout,this.showButtons&&this.buttonLayout))}},components:{InputText:vC,AngleUpIcon:uw,AngleDownIcon:nw,TimesIcon:Tb}},Nw=[`data-p`],Pw=[`data-p`],Fw=[`disabled`,`data-p`],Iw=[`disabled`,`data-p`],Lw=[`disabled`,`data-p`],Rw=[`disabled`,`data-p`];function zw(e,t,n,r,i,a){var o=ri(`InputText`),s=ri(`TimesIcon`);return P(),F(`span`,z({class:e.cx(`root`)},e.ptmi(`root`),{"data-p":a.dataP}),[L(o,{ref:`input`,id:e.inputId,name:e.$formName,role:`spinbutton`,class:_e([e.cx(`pcInputText`),e.inputClass]),style:fe(e.inputStyle),defaultValue:a.formattedValue,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.d_value,inputmode:e.mode===`decimal`&&!e.minFractionDigits?`numeric`:`decimal`,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,required:e.required,size:e.size,invalid:e.invalid,variant:e.variant,onInput:a.onUserInput,onKeydown:a.onInputKeyDown,onKeypress:a.onInputKeyPress,onPaste:a.onPaste,onClick:a.onInputClick,onFocus:a.onInputFocus,onBlur:a.onInputBlur,pt:e.ptm(`pcInputText`),unstyled:e.unstyled,"data-p":a.dataP},null,8,`id.name.class.style.defaultValue.aria-valuemin.aria-valuemax.aria-valuenow.inputmode.disabled.readonly.placeholder.aria-labelledby.aria-label.required.size.invalid.variant.onInput.onKeydown.onKeypress.onPaste.onClick.onFocus.onBlur.pt.unstyled.data-p`.split(`.`)),e.showClear&&e.buttonLayout!==`vertical`?N(e.$slots,`clearicon`,{key:0,class:_e(e.cx(`clearIcon`)),clearCallback:a.onClearClick},function(){return[L(s,z({ref:`clearIcon`,class:[e.cx(`clearIcon`)],onClick:a.onClearClick},e.ptm(`clearIcon`)),null,16,[`class`,`onClick`])]}):R(``,!0),e.showButtons&&e.buttonLayout===`stacked`?(P(),F(`span`,z({key:1,class:e.cx(`buttonGroup`)},e.ptm(`buttonGroup`),{"data-p":a.dataP}),[N(e.$slots,`incrementbutton`,{listeners:a.upButtonListeners},function(){return[I(`button`,z({class:[e.cx(`incrementButton`),e.incrementButtonClass]},fi(a.upButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`incrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.incrementicon?`incrementicon`:`incrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.incrementIcon||e.incrementButtonIcon?`span`:`AngleUpIcon`),z({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm(`incrementIcon`),{"data-pc-section":`incrementicon`}),null,16,[`class`]))]})],16,Fw)]}),N(e.$slots,`decrementbutton`,{listeners:a.downButtonListeners},function(){return[I(`button`,z({class:[e.cx(`decrementButton`),e.decrementButtonClass]},fi(a.downButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`decrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.decrementicon?`decrementicon`:`decrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.decrementIcon||e.decrementButtonIcon?`span`:`AngleDownIcon`),z({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm(`decrementIcon`),{"data-pc-section":`decrementicon`}),null,16,[`class`]))]})],16,Iw)]})],16,Pw)):R(``,!0),N(e.$slots,`incrementbutton`,{listeners:a.upButtonListeners},function(){return[e.showButtons&&e.buttonLayout!==`stacked`?(P(),F(`button`,z({key:0,class:[e.cx(`incrementButton`),e.incrementButtonClass]},fi(a.upButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`incrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.incrementicon?`incrementicon`:`incrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.incrementIcon||e.incrementButtonIcon?`span`:`AngleUpIcon`),z({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm(`incrementIcon`),{"data-pc-section":`incrementicon`}),null,16,[`class`]))]})],16,Lw)):R(``,!0)]}),N(e.$slots,`decrementbutton`,{listeners:a.downButtonListeners},function(){return[e.showButtons&&e.buttonLayout!==`stacked`?(P(),F(`button`,z({key:0,class:[e.cx(`decrementButton`),e.decrementButtonClass]},fi(a.downButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`decrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.decrementicon?`decrementicon`:`decrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.decrementIcon||e.decrementButtonIcon?`span`:`AngleDownIcon`),z({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm(`decrementIcon`),{"data-pc-section":`decrementicon`}),null,16,[`class`]))]})],16,Rw)):R(``,!0)]})],16,Nw)}Mw.render=zw;var Bw={key:0,class:`body`},Vw={class:`for`},Hw={class:`fld`},Uw={class:`lab`},Ww={key:0,class:`err`},Gw={class:`fld`},Kw={class:`lab`},qw={key:0,class:`err`},Jw=_y(Ar({__name:`RejectDialog`,props:{entry:{},reasons:{},submitting:{type:Boolean}},emits:[`close`,`submit`],setup(e,{emit:t}){let n=e,r=t,{t:i,locale:a}=Jv(),o=en(null),s=en(null),c=en(!1),l=vo({get:()=>n.entry!==null,set:e=>{e||r(`close`)}});Zn(()=>n.entry,e=>{e&&(o.value=null,s.value=null,c.value=!1)});let u=vo(()=>n.reasons.map(e=>({id:e.id,label:a.value===`en`?e.reason_en:e.reason_de}))),d=vo(()=>(o.value??0)>0&&s.value!==null);function f(){c.value=!0,!(!d.value||!n.entry)&&r(`submit`,{press:n.entry.press,orderNo:n.entry.orderNo,ttId:n.entry.ttId,count:o.value,reason:s.value})}return(t,n)=>(P(),Ia(M(dS),{visible:l.value,"onUpdate:visible":n[3]||=e=>l.value=e,modal:``,closable:!e.submitting,draggable:!1,style:{width:`30rem`,maxWidth:`94vw`},header:M(i)(`dialog.title`)},{footer:Un(()=>[L(M(qx),{label:M(i)(`dialog.cancel`),text:``,disabled:e.submitting,onClick:n[2]||=e=>r(`close`)},null,8,[`label`,`disabled`]),L(M(qx),{label:M(i)(`dialog.confirm`),severity:`danger`,loading:e.submitting,onClick:f},null,8,[`label`,`loading`])]),default:Un(()=>[e.entry?(P(),F(`div`,Bw,[I(`p`,Vw,A(M(i)(`dialog.for`,{cart:e.entry.cartId,order:e.entry.orderNo})),1),I(`label`,Hw,[I(`span`,Uw,[Wa(A(M(i)(`dialog.count`))+` `,1),I(`em`,null,`(`+A(M(i)(`dialog.pieces`))+`)`,1)]),L(M(Mw),{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,min:1,max:e.entry.partsGood,"show-buttons":``,"button-layout":`horizontal`,"input-style":{width:`4rem`,textAlign:`center`},incrementButtonIcon:`pi pi-plus`,decrementButtonIcon:`pi pi-minus`},null,8,[`modelValue`,`max`]),c.value&&(o.value??0)<=0?(P(),F(`span`,Ww,A(M(i)(`dialog.needCount`)),1)):R(``,!0)]),I(`label`,Gw,[I(`span`,Kw,A(M(i)(`dialog.reason`)),1),L(M(qC),{modelValue:s.value,"onUpdate:modelValue":n[1]||=e=>s.value=e,options:u.value,"option-label":`label`,"option-value":`id`,placeholder:M(i)(`dialog.chooseReason`)},null,8,[`modelValue`,`options`,`placeholder`]),c.value&&s.value===null?(P(),F(`span`,qw,A(M(i)(`dialog.needReason`)),1)):R(``,!0)])])):R(``,!0)]),_:1},8,[`visible`,`closable`,`header`]))}}),[[`__scopeId`,`data-v-071ccb58`]]);function Yw(e,t){return function(){return e.apply(t,arguments)}}var{toString:Xw}=Object.prototype,{getPrototypeOf:Zw}=Object,{iterator:Qw,toStringTag:$w}=Symbol,eT=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),tT=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),eT(n,t))return!0;n=Zw(n)}return!1},nT=(e,t)=>e!=null&&tT(e,t)?e[t]:void 0,rT=(e=>t=>{let n=Xw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),iT=e=>(e=e.toLowerCase(),t=>rT(t)===e),aT=e=>t=>typeof t===e,{isArray:oT}=Array,sT=aT(`undefined`);function cT(e){return e!==null&&!sT(e)&&e.constructor!==null&&!sT(e.constructor)&&fT(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var lT=iT(`ArrayBuffer`);function uT(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&lT(e.buffer),t}var dT=aT(`string`),fT=aT(`function`),pT=aT(`number`),mT=e=>typeof e==`object`&&!!e,hT=e=>e===!0||e===!1,gT=e=>{if(!mT(e))return!1;let t=Zw(e);return(t===null||t===Object.prototype||Zw(t)===null)&&!tT(e,$w)&&!tT(e,Qw)},_T=e=>{if(!mT(e)||cT(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},vT=iT(`Date`),yT=iT(`File`),bT=e=>!!(e&&e.uri!==void 0),xT=e=>e&&e.getParts!==void 0,ST=iT(`Blob`),CT=iT(`FileList`),wT=e=>mT(e)&&fT(e.pipe);function TT(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var ET=TT(),DT=ET.FormData===void 0?void 0:ET.FormData,OT=e=>{if(!e)return!1;if(DT&&e instanceof DT)return!0;let t=Zw(e);if(!t||t===Object.prototype||!fT(e.append))return!1;let n=rT(e);return n===`formdata`||n===`object`&&fT(e.toString)&&e.toString()===`[object FormData]`},kT=iT(`URLSearchParams`),[AT,jT,MT,NT]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(iT),PT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function FT(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),oT(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}var LT=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,RT=e=>!sT(e)&&e!==LT;function zT(...e){let{caseless:t,skipUndefined:n}=RT(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&IT(r,i)||i,o=eT(r,a)?r[a]:void 0;gT(o)&&gT(e)?r[a]=zT(o,e):gT(e)?r[a]=zT({},e):oT(e)?r[a]=e.slice():(!n||!sT(e))&&(r[a]=e)};for(let t=0,n=e.length;t(FT(t,(t,r)=>{n&&fT(t)?Object.defineProperty(e,r,{__proto__:null,value:Yw(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),VT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),HT=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},UT=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Zw(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WT=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},GT=e=>{if(!e)return null;if(oT(e))return e;let t=e.length;if(!pT(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},KT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Zw(Uint8Array)),qT=(e,t)=>{let n=(e&&e[Qw]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},JT=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},YT=iT(`HTMLFormElement`),XT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:ZT}=Object.prototype,QT=iT(`RegExp`),$T=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};FT(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},eE=e=>{$T(e,(t,n)=>{if(fT(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(fT(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},tE=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return oT(e)?r(e):r(String(e).split(t)),n},nE=()=>{},rE=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function iE(e){return!!(e&&fT(e.append)&&e[$w]===`FormData`&&e[Qw])}var aE=e=>{let t=new WeakSet,n=e=>{if(mT(e)){if(t.has(e))return;if(cT(e))return e;if(!(`toJSON`in e)){t.add(e);let r=oT(e)?[]:{};return FT(e,(e,t)=>{let i=n(e);!sT(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},oE=iT(`AsyncFunction`),sE=e=>e&&(mT(e)||fT(e))&&fT(e.then)&&fT(e.catch),cE=((e,t)=>e?setImmediate:t?((e,t)=>(LT.addEventListener(`message`,({source:n,data:r})=>{n===LT&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),LT.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,fT(LT.postMessage)),lE=typeof queueMicrotask<`u`?queueMicrotask.bind(LT):typeof process<`u`&&process.nextTick||cE,uE=e=>e!=null&&fT(e[Qw]),Q={isArray:oT,isArrayBuffer:lT,isBuffer:cT,isFormData:OT,isArrayBufferView:uT,isString:dT,isNumber:pT,isBoolean:hT,isObject:mT,isPlainObject:gT,isEmptyObject:_T,isReadableStream:AT,isRequest:jT,isResponse:MT,isHeaders:NT,isUndefined:sT,isDate:vT,isFile:yT,isReactNativeBlob:bT,isReactNative:xT,isBlob:ST,isRegExp:QT,isFunction:fT,isStream:wT,isURLSearchParams:kT,isTypedArray:KT,isFileList:CT,forEach:FT,merge:zT,extend:BT,trim:PT,stripBOM:VT,inherits:HT,toFlatObject:UT,kindOf:rT,kindOfTest:iT,endsWith:WT,toArray:GT,forEachEntry:qT,matchAll:JT,isHTMLForm:YT,hasOwnProperty:eT,hasOwnProp:eT,hasOwnInPrototypeChain:tT,getSafeProp:nT,reduceDescriptors:$T,freezeMethods:eE,toObjectSet:tE,toCamelCase:XT,noop:nE,toFiniteNumber:rE,findKey:IT,global:LT,isContextDefined:RT,isSpecCompliantForm:iE,toJSONObject:aE,isAsyncFn:oE,isThenable:sE,setImmediate:cE,asap:lE,isIterable:uE,isSafeIterable:e=>e!=null&&tT(e,Qw)&&uE(e)},dE=Q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),fE=e=>{let t={},n,r,i;return e&&e.split(` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ow(e,t){if(e){if(typeof e==`string`)return jw(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jw(e,t):void 0}}function kw(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Aw(e){if(Array.isArray(e))return jw(e)}function jw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1){var o=this.isNumeralChar(i.charAt(t))?t+1:t+2;this.$refs.input.$el.setSelectionRange(o,o)}else this.isNumeralChar(i.charAt(t-1))||e.preventDefault();break;case`ArrowRight`:if(r>1){var s=n-1;this.$refs.input.$el.setSelectionRange(s,s)}else this.isNumeralChar(i.charAt(t))||e.preventDefault();break;case`Tab`:case`Enter`:case`NumpadEnter`:a=this.validateValue(this.parseValue(i)),this.$refs.input.$el.value=this.formatValue(a),this.$refs.input.$el.setAttribute(`aria-valuenow`,a),this.updateModel(e,a);break;case`Backspace`:if(e.preventDefault(),t===n){t>=i.length&&this.suffixChar!==null&&(t=i.length-this.suffixChar.length,this.$refs.input.$el.setSelectionRange(t,t));var c=i.charAt(t-1),l=this.getDecimalCharIndexes(i),u=l.decimalCharIndex,d=l.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(c)){var f=this.getDecimalLength(i);if(this._group.test(c))this._group.lastIndex=0,a=i.slice(0,t-2)+i.slice(t-1);else if(this._decimal.test(c))this._decimal.lastIndex=0,f?this.$refs.input.$el.setSelectionRange(t-1,t-1):a=i.slice(0,t-1)+i.slice(t);else if(u>0&&t>u){var p=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:``):a=i.slice(0,t-1)+i.slice(t)}this.updateValue(e,a,null,`delete-single`)}else a=this.deleteRange(i,t,n),this.updateValue(e,a,null,`delete-range`);break;case`Delete`:if(e.preventDefault(),t===n){var m=i.charAt(t),h=this.getDecimalCharIndexes(i),g=h.decimalCharIndex,_=h.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(m)){var v=this.getDecimalLength(i);if(this._group.test(m))this._group.lastIndex=0,a=i.slice(0,t)+i.slice(t+2);else if(this._decimal.test(m))this._decimal.lastIndex=0,v?this.$refs.input.$el.setSelectionRange(t+1,t+1):a=i.slice(0,t)+i.slice(t+1);else if(g>0&&t>g){var y=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:``):a=i.slice(0,t)+i.slice(t+1)}this.updateValue(e,a,null,`delete-back-single`)}else a=this.deleteRange(i,t,n),this.updateValue(e,a,null,`delete-range`);break;case`Home`:e.preventDefault(),B(this.min)&&this.updateModel(e,this.min);break;case`End`:e.preventDefault(),B(this.max)&&this.updateModel(e,this.max);break}}},onInputKeyPress:function(e){if(!this.readonly){var t=e.key,n=this.isDecimalSign(t),r=this.isMinusSign(t);e.code!==`Enter`&&e.preventDefault(),(Number(t)>=0&&Number(t)<=9||r||n)&&this.insert(e,t,{isDecimalSign:n,isMinusSign:r})}},onPaste:function(e){if(!(this.readonly||this.disabled)){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData(`Text`);if(!(this.inputId===`integeronly`&&/[^\d-]/.test(t))&&t){var n=this.parseValue(t);n!=null&&this.insert(e,n.toString())}}},onClearClick:function(e){this.updateModel(e,null),this.$refs.input.$el.focus()},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(e){return this._minusSign.test(e)||e===`-`?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(e){var t;return(t=this.locale)!=null&&t.includes(`fr`)&&[`.`,`,`].includes(e)||this._decimal.test(e)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode===`decimal`},getDecimalCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.replace(this._prefix,``).trim().replace(/\s/g,``).replace(this._currency,``).search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:t,decimalCharIndexWithoutPrefix:n}},getCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.search(this._minusSign);this._minusSign.lastIndex=0;var r=e.search(this._suffix);this._suffix.lastIndex=0;var i=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:t,minusCharIndex:n,suffixCharIndex:r,currencyCharIndex:i}},insert:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},r=t.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&r!==-1)){var i=this.$refs.input.$el.selectionStart,a=this.$refs.input.$el.selectionEnd,o=this.$refs.input.$el.value.trim(),s=this.getCharIndexes(o),c=s.decimalCharIndex,l=s.minusCharIndex,u=s.suffixCharIndex,d=s.currencyCharIndex,f;if(n.isMinusSign){var p=l===-1;(i===0||i===d+1)&&(f=o,(p||a!==0)&&(f=this.insertText(o,t,0,a)),this.updateValue(e,f,t,`insert`))}else if(n.isDecimalSign)c>0&&i===c?this.updateValue(e,o,t,`insert`):(c>i&&c0&&i>c){if(i+t.length-(c+1)<=m){var g=d>=i?d-1:u>=i?u:o.length;f=o.slice(0,i)+t+o.slice(i+t.length,g)+o.slice(g),this.updateValue(e,f,t,h)}}else f=this.insertText(o,t,i,a),this.updateValue(e,f,t,h)}}},insertText:function(e,t,n,r){if((t===`.`?t:t.split(`.`)).length===2){var i=e.slice(n,r).search(this._decimal);return this._decimal.lastIndex=0,i>0?e.slice(0,n)+this.formatValue(t)+e.slice(r):this.formatValue(t)||e}else if(r-n===e.length)return this.formatValue(t);else if(n===0)return t+e.slice(r);else if(r===e.length)return e.slice(0,n)+t;else return e.slice(0,n)+t+e.slice(r)},deleteRange:function(e,t,n){return n-t===e.length?``:t===0?e.slice(n):n===e.length?e.slice(0,t):e.slice(0,t)+e.slice(n)},initCursor:function(){var e=this.$refs.input.$el.selectionStart,t=this.$refs.input.$el.value,n=t.length,r=null,i=(this.prefixChar||``).length;t=t.replace(this._prefix,``),e-=i;var a=t.charAt(e);if(this.isNumeralChar(a))return e+i;for(var o=e-1;o>=0;)if(a=t.charAt(o),this.isNumeralChar(a)){r=o+i;break}else o--;if(r!==null)this.$refs.input.$el.setSelectionRange(r+1,r+1);else{for(o=e;othis.max?this.max:e},updateInput:function(e,t,n,r){var i;t||=``;var a=this.$refs.input.$el.value,o=this.formatValue(e),s=a.length;if(o!==r&&(o=this.concatValues(o,r)),s===0){this.$refs.input.$el.value=o,this.$refs.input.$el.setSelectionRange(0,0);var c=this.initCursor()+t.length;this.$refs.input.$el.setSelectionRange(c,c)}else{var l=this.$refs.input.$el.selectionStart,u=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=o;var d=o.length;if(n===`range-insert`){var f=this.parseValue((a||``).slice(0,l)),p=(f===null?``:f.toString()).split(``).join(`(${this.groupChar})?`),m=new RegExp(p,`g`);m.test(o);var h=t.split(``).join(`(${this.groupChar})?`),g=new RegExp(h,`g`);g.test(o.slice(m.lastIndex)),u=m.lastIndex+g.lastIndex,this.$refs.input.$el.setSelectionRange(u,u)}else if(d===s)n===`insert`||n===`delete-back-single`?this.$refs.input.$el.setSelectionRange(u+1,u+1):n===`delete-single`?this.$refs.input.$el.setSelectionRange(u-1,u-1):(n===`delete-range`||n===`spin`)&&this.$refs.input.$el.setSelectionRange(u,u);else if(n===`delete-back-single`){var _=a.charAt(u-1),v=a.charAt(u),y=s-d,b=this._group.test(v);b&&y===1?u+=1:!b&&this.isNumeralChar(_)&&(u+=-1*y+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(u,u)}else if(a===`-`&&n===`insert`){this.$refs.input.$el.setSelectionRange(0,0);var x=this.initCursor()+t.length+1;this.$refs.input.$el.setSelectionRange(x,x)}else u+=d-s,this.$refs.input.$el.setSelectionRange(u,u)}this.$refs.input.$el.setAttribute(`aria-valuenow`,e),(i=this.$refs.clearIcon)!=null&&(i=i.$el)!=null&&i.style&&(this.$refs.clearIcon.$el.style.display=bc(o)?`none`:`block`)},concatValues:function(e,t){if(e&&t){var n=t.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?n===-1?e:e.replace(this.suffixChar,``).split(this._decimal)[0]+t.replace(this.suffixChar,``).slice(n)+this.suffixChar:n===-1?e:e.split(this._decimal)[0]+t.slice(n)}return e},getDecimalLength:function(e){if(e){var t=e.split(this._decimal);if(t.length===2)return t[1].replace(this._suffix,``).trim().replace(/\s/g,``).replace(this._currency,``).length}return 0},updateModel:function(e,t){this.writeValue(t,e)},onInputFocus:function(e){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==El()&&this.highlightOnFocus&&e.target.select(),this.$emit(`focus`,e)},onInputBlur:function(e){var t,n;this.focused=!1;var r=e.target,i=this.validateValue(this.parseValue(r.value));this.$emit(`blur`,{originalEvent:e,value:r.value}),(t=(n=this.formField).onBlur)==null||t.call(n,e),r.value=this.formatValue(i),r.setAttribute(`aria-valuenow`,i),this.updateModel(e,i),!this.disabled&&!this.readonly&&this.highlightOnFocus&&dl()},clearTimer:function(){this.timer&&clearTimeout(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var e=this;return{mousedown:function(t){return e.onUpButtonMouseDown(t)},mouseup:function(t){return e.onUpButtonMouseUp(t)},mouseleave:function(t){return e.onUpButtonMouseLeave(t)},keydown:function(t){return e.onUpButtonKeyDown(t)},keyup:function(t){return e.onUpButtonKeyUp(t)}}},downButtonListeners:function(){var e=this;return{mousedown:function(t){return e.onDownButtonMouseDown(t)},mouseup:function(t){return e.onDownButtonMouseUp(t)},mouseleave:function(t){return e.onDownButtonMouseLeave(t)},keydown:function(t){return e.onDownButtonKeyDown(t)},keyup:function(t){return e.onDownButtonKeyUp(t)}}},formattedValue:function(){var e=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(e)},getFormatter:function(){return this.numberFormat},dataP:function(){return Wc(Cw(Cw({invalid:this.$invalid,fluid:this.$fluid,filled:this.$variant===`filled`},this.size,this.size),this.buttonLayout,this.showButtons&&this.buttonLayout))}},components:{InputText:vC,AngleUpIcon:uw,AngleDownIcon:nw,TimesIcon:Tb}},Nw=[`data-p`],Pw=[`data-p`],Fw=[`disabled`,`data-p`],Iw=[`disabled`,`data-p`],Lw=[`disabled`,`data-p`],Rw=[`disabled`,`data-p`];function zw(e,t,n,r,i,a){var o=ri(`InputText`),s=ri(`TimesIcon`);return P(),F(`span`,z({class:e.cx(`root`)},e.ptmi(`root`),{"data-p":a.dataP}),[L(o,{ref:`input`,id:e.inputId,name:e.$formName,role:`spinbutton`,class:_e([e.cx(`pcInputText`),e.inputClass]),style:fe(e.inputStyle),defaultValue:a.formattedValue,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.d_value,inputmode:e.mode===`decimal`&&!e.minFractionDigits?`numeric`:`decimal`,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,required:e.required,size:e.size,invalid:e.invalid,variant:e.variant,onInput:a.onUserInput,onKeydown:a.onInputKeyDown,onKeypress:a.onInputKeyPress,onPaste:a.onPaste,onClick:a.onInputClick,onFocus:a.onInputFocus,onBlur:a.onInputBlur,pt:e.ptm(`pcInputText`),unstyled:e.unstyled,"data-p":a.dataP},null,8,`id.name.class.style.defaultValue.aria-valuemin.aria-valuemax.aria-valuenow.inputmode.disabled.readonly.placeholder.aria-labelledby.aria-label.required.size.invalid.variant.onInput.onKeydown.onKeypress.onPaste.onClick.onFocus.onBlur.pt.unstyled.data-p`.split(`.`)),e.showClear&&e.buttonLayout!==`vertical`?N(e.$slots,`clearicon`,{key:0,class:_e(e.cx(`clearIcon`)),clearCallback:a.onClearClick},function(){return[L(s,z({ref:`clearIcon`,class:[e.cx(`clearIcon`)],onClick:a.onClearClick},e.ptm(`clearIcon`)),null,16,[`class`,`onClick`])]}):R(``,!0),e.showButtons&&e.buttonLayout===`stacked`?(P(),F(`span`,z({key:1,class:e.cx(`buttonGroup`)},e.ptm(`buttonGroup`),{"data-p":a.dataP}),[N(e.$slots,`incrementbutton`,{listeners:a.upButtonListeners},function(){return[I(`button`,z({class:[e.cx(`incrementButton`),e.incrementButtonClass]},fi(a.upButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`incrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.incrementicon?`incrementicon`:`incrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.incrementIcon||e.incrementButtonIcon?`span`:`AngleUpIcon`),z({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm(`incrementIcon`),{"data-pc-section":`incrementicon`}),null,16,[`class`]))]})],16,Fw)]}),N(e.$slots,`decrementbutton`,{listeners:a.downButtonListeners},function(){return[I(`button`,z({class:[e.cx(`decrementButton`),e.decrementButtonClass]},fi(a.downButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`decrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.decrementicon?`decrementicon`:`decrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.decrementIcon||e.decrementButtonIcon?`span`:`AngleDownIcon`),z({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm(`decrementIcon`),{"data-pc-section":`decrementicon`}),null,16,[`class`]))]})],16,Iw)]})],16,Pw)):R(``,!0),N(e.$slots,`incrementbutton`,{listeners:a.upButtonListeners},function(){return[e.showButtons&&e.buttonLayout!==`stacked`?(P(),F(`button`,z({key:0,class:[e.cx(`incrementButton`),e.incrementButtonClass]},fi(a.upButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`incrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.incrementicon?`incrementicon`:`incrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.incrementIcon||e.incrementButtonIcon?`span`:`AngleUpIcon`),z({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm(`incrementIcon`),{"data-pc-section":`incrementicon`}),null,16,[`class`]))]})],16,Lw)):R(``,!0)]}),N(e.$slots,`decrementbutton`,{listeners:a.downButtonListeners},function(){return[e.showButtons&&e.buttonLayout!==`stacked`?(P(),F(`button`,z({key:0,class:[e.cx(`decrementButton`),e.decrementButtonClass]},fi(a.downButtonListeners,!0),{disabled:e.disabled,tabindex:-1,"aria-hidden":`true`,type:`button`},e.ptm(`decrementButton`),{"data-p":a.dataP}),[N(e.$slots,e.$slots.decrementicon?`decrementicon`:`decrementbuttonicon`,{},function(){return[(P(),Ia(ai(e.decrementIcon||e.decrementButtonIcon?`span`:`AngleDownIcon`),z({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm(`decrementIcon`),{"data-pc-section":`decrementicon`}),null,16,[`class`]))]})],16,Rw)):R(``,!0)]})],16,Nw)}Mw.render=zw;var Bw={key:0,class:`body`},Vw={class:`for`},Hw={class:`fld`},Uw={class:`lab`},Ww={key:0,class:`err`},Gw={class:`fld`},Kw={class:`lab`},qw={key:0,class:`err`},Jw=_y(Ar({__name:`RejectDialog`,props:{entry:{},reasons:{},submitting:{type:Boolean}},emits:[`close`,`submit`],setup(e,{emit:t}){let n=e,r=t,{t:i,locale:a}=Jv(),o=en(null),s=en(null),c=en(!1),l=vo({get:()=>n.entry!==null,set:e=>{e||r(`close`)}});Zn(()=>n.entry,e=>{e&&(o.value=null,s.value=null,c.value=!1)});let u=vo(()=>n.reasons.map(e=>({id:e.id,label:a.value===`en`?e.reason_en:e.reason_de}))),d=vo(()=>(o.value??0)>0&&s.value!==null);function f(){c.value=!0,!(!d.value||!n.entry)&&r(`submit`,{press:n.entry.press,orderNo:n.entry.orderNo,ttId:n.entry.ttId,count:o.value,reason:s.value})}return(t,n)=>(P(),Ia(M(dS),{visible:l.value,"onUpdate:visible":n[3]||=e=>l.value=e,modal:``,closable:!e.submitting,draggable:!1,style:{width:`30rem`,maxWidth:`94vw`},header:M(i)(`dialog.title`)},{footer:Un(()=>[L(M(qx),{label:M(i)(`dialog.cancel`),text:``,disabled:e.submitting,onClick:n[2]||=e=>r(`close`)},null,8,[`label`,`disabled`]),L(M(qx),{label:M(i)(`dialog.confirm`),severity:`danger`,loading:e.submitting,onClick:f},null,8,[`label`,`loading`])]),default:Un(()=>[e.entry?(P(),F(`div`,Bw,[I(`p`,Vw,A(M(i)(`dialog.for`,{cart:e.entry.cartId,order:e.entry.orderNo})),1),I(`label`,Hw,[I(`span`,Uw,[Wa(A(M(i)(`dialog.count`))+` `,1),I(`em`,null,`(`+A(M(i)(`dialog.pieces`))+`)`,1)]),L(M(Mw),{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,min:1,max:e.entry.partsGood,"show-buttons":``,"button-layout":`horizontal`,"input-style":{width:`4rem`,textAlign:`center`},incrementButtonIcon:`pi pi-plus`,decrementButtonIcon:`pi pi-minus`},null,8,[`modelValue`,`max`]),c.value&&(o.value??0)<=0?(P(),F(`span`,Ww,A(M(i)(`dialog.needCount`)),1)):R(``,!0)]),I(`label`,Gw,[I(`span`,Kw,A(M(i)(`dialog.reason`)),1),L(M(qC),{modelValue:s.value,"onUpdate:modelValue":n[1]||=e=>s.value=e,options:u.value,"option-label":`label`,"option-value":`id`,placeholder:M(i)(`dialog.chooseReason`)},null,8,[`modelValue`,`options`,`placeholder`]),c.value&&s.value===null?(P(),F(`span`,qw,A(M(i)(`dialog.needReason`)),1)):R(``,!0)])])):R(``,!0)]),_:1},8,[`visible`,`closable`,`header`]))}}),[[`__scopeId`,`data-v-d357a1aa`]]);function Yw(e,t){return function(){return e.apply(t,arguments)}}var{toString:Xw}=Object.prototype,{getPrototypeOf:Zw}=Object,{iterator:Qw,toStringTag:$w}=Symbol,eT=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),tT=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),eT(n,t))return!0;n=Zw(n)}return!1},nT=(e,t)=>e!=null&&tT(e,t)?e[t]:void 0,rT=(e=>t=>{let n=Xw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),iT=e=>(e=e.toLowerCase(),t=>rT(t)===e),aT=e=>t=>typeof t===e,{isArray:oT}=Array,sT=aT(`undefined`);function cT(e){return e!==null&&!sT(e)&&e.constructor!==null&&!sT(e.constructor)&&fT(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var lT=iT(`ArrayBuffer`);function uT(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&lT(e.buffer),t}var dT=aT(`string`),fT=aT(`function`),pT=aT(`number`),mT=e=>typeof e==`object`&&!!e,hT=e=>e===!0||e===!1,gT=e=>{if(!mT(e))return!1;let t=Zw(e);return(t===null||t===Object.prototype||Zw(t)===null)&&!tT(e,$w)&&!tT(e,Qw)},_T=e=>{if(!mT(e)||cT(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},vT=iT(`Date`),yT=iT(`File`),bT=e=>!!(e&&e.uri!==void 0),xT=e=>e&&e.getParts!==void 0,ST=iT(`Blob`),CT=iT(`FileList`),wT=e=>mT(e)&&fT(e.pipe);function TT(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var ET=TT(),DT=ET.FormData===void 0?void 0:ET.FormData,OT=e=>{if(!e)return!1;if(DT&&e instanceof DT)return!0;let t=Zw(e);if(!t||t===Object.prototype||!fT(e.append))return!1;let n=rT(e);return n===`formdata`||n===`object`&&fT(e.toString)&&e.toString()===`[object FormData]`},kT=iT(`URLSearchParams`),[AT,jT,MT,NT]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(iT),PT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function FT(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),oT(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}var LT=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,RT=e=>!sT(e)&&e!==LT;function zT(...e){let{caseless:t,skipUndefined:n}=RT(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&IT(r,i)||i,o=eT(r,a)?r[a]:void 0;gT(o)&&gT(e)?r[a]=zT(o,e):gT(e)?r[a]=zT({},e):oT(e)?r[a]=e.slice():(!n||!sT(e))&&(r[a]=e)};for(let t=0,n=e.length;t(FT(t,(t,r)=>{n&&fT(t)?Object.defineProperty(e,r,{__proto__:null,value:Yw(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),VT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),HT=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},UT=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Zw(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WT=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},GT=e=>{if(!e)return null;if(oT(e))return e;let t=e.length;if(!pT(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},KT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Zw(Uint8Array)),qT=(e,t)=>{let n=(e&&e[Qw]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},JT=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},YT=iT(`HTMLFormElement`),XT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:ZT}=Object.prototype,QT=iT(`RegExp`),$T=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};FT(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},eE=e=>{$T(e,(t,n)=>{if(fT(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(fT(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},tE=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return oT(e)?r(e):r(String(e).split(t)),n},nE=()=>{},rE=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function iE(e){return!!(e&&fT(e.append)&&e[$w]===`FormData`&&e[Qw])}var aE=e=>{let t=new WeakSet,n=e=>{if(mT(e)){if(t.has(e))return;if(cT(e))return e;if(!(`toJSON`in e)){t.add(e);let r=oT(e)?[]:{};return FT(e,(e,t)=>{let i=n(e);!sT(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},oE=iT(`AsyncFunction`),sE=e=>e&&(mT(e)||fT(e))&&fT(e.then)&&fT(e.catch),cE=((e,t)=>e?setImmediate:t?((e,t)=>(LT.addEventListener(`message`,({source:n,data:r})=>{n===LT&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),LT.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,fT(LT.postMessage)),lE=typeof queueMicrotask<`u`?queueMicrotask.bind(LT):typeof process<`u`&&process.nextTick||cE,uE=e=>e!=null&&fT(e[Qw]),Q={isArray:oT,isArrayBuffer:lT,isBuffer:cT,isFormData:OT,isArrayBufferView:uT,isString:dT,isNumber:pT,isBoolean:hT,isObject:mT,isPlainObject:gT,isEmptyObject:_T,isReadableStream:AT,isRequest:jT,isResponse:MT,isHeaders:NT,isUndefined:sT,isDate:vT,isFile:yT,isReactNativeBlob:bT,isReactNative:xT,isBlob:ST,isRegExp:QT,isFunction:fT,isStream:wT,isURLSearchParams:kT,isTypedArray:KT,isFileList:CT,forEach:FT,merge:zT,extend:BT,trim:PT,stripBOM:VT,inherits:HT,toFlatObject:UT,kindOf:rT,kindOfTest:iT,endsWith:WT,toArray:GT,forEachEntry:qT,matchAll:JT,isHTMLForm:YT,hasOwnProperty:eT,hasOwnProp:eT,hasOwnInPrototypeChain:tT,getSafeProp:nT,reduceDescriptors:$T,freezeMethods:eE,toObjectSet:tE,toCamelCase:XT,noop:nE,toFiniteNumber:rE,findKey:IT,global:LT,isContextDefined:RT,isSpecCompliantForm:iE,toJSONObject:aE,isAsyncFn:oE,isThenable:sE,setImmediate:cE,asap:lE,isIterable:uE,isSafeIterable:e=>e!=null&&tT(e,Qw)&&uE(e)},dE=Q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),fE=e=>{let t={},n,r,i;return e&&e.split(` `).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&dE[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function pE(e){let t=0,n=e.length;for(;tt;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var mE=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),hE=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function gE(e,t){return Q.isArray(e)?e.map(e=>gE(e,t)):pE(String(e).replace(t,``))}var _E=e=>gE(e,mE),vE=e=>gE(e,hE);function yE(e){let t=Object.create(null);return Q.forEach(e.toJSON(),(e,n)=>{t[n]=vE(e)}),t}var bE=Symbol(`internals`);function xE(e){return e&&String(e).trim().toLowerCase()}function SE(e){return e===!1||e==null?e:Q.isArray(e)?e.map(SE):_E(String(e))}function CE(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var wE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function TE(e,t,n,r,i){if(Q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function EE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function DE(e,t){let n=Q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var OE=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=xE(t);if(!i)return;let a=Q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=SE(e))}let a=(e,t)=>Q.forEach(e,(e,n)=>i(e,n,t));if(Q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Q.isString(e)&&(e=e.trim())&&!wE(e))a(fE(e),t);else if(Q.isObject(e)&&Q.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!Q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],Q.hasOwnProp(n,i)?(r=n[i],n[i]=Q.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=xE(e),e){let n=Q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return CE(e);if(Q.isFunction(t))return t.call(this,e,n);if(Q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=xE(e),e){let n=Q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||TE(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=xE(e),e){let i=Q.findKey(n,e);i&&(!t||TE(n,n[i],i,t))&&(delete n[i],r=!0)}}return Q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||TE(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return Q.forEach(this,(r,i)=>{let a=Q.findKey(n,i);if(a){t[a]=SE(r),delete t[i];return}let o=e?EE(i):String(i).trim();o!==i&&delete t[i],t[o]=SE(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&Q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(` `)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[bE]=this[bE]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=xE(e);t[r]||(DE(n,e),t[r]=!0)}return Q.isArray(e)?e.forEach(r):r(e),this}};OE.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),Q.reduceDescriptors(OE.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Q.freezeMethods(OE);var kE=`[REDACTED ****]`;function AE(e){if(Q.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Q.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function jE(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||Q.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof OE&&(e=e.toJSON()),r.push(e);let t;if(Q.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);Q.isUndefined(r)||(t[n]=r)});else{if(!Q.isPlainObject(e)&&AE(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?kE:i(a);Q.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var $=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&Q.hasOwnProp(e,`redact`)?e.redact:void 0,n=Q.isArray(t)&&t.length>0?jE(e,t):Q.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};$.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,$.ERR_BAD_OPTION=`ERR_BAD_OPTION`,$.ECONNABORTED=`ECONNABORTED`,$.ETIMEDOUT=`ETIMEDOUT`,$.ECONNREFUSED=`ECONNREFUSED`,$.ERR_NETWORK=`ERR_NETWORK`,$.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,$.ERR_DEPRECATED=`ERR_DEPRECATED`,$.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,$.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,$.ERR_CANCELED=`ERR_CANCELED`,$.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,$.ERR_INVALID_URL=`ERR_INVALID_URL`,$.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function ME(e){return Q.isPlainObject(e)||Q.isArray(e)}function NE(e){return Q.endsWith(e,`[]`)?e.slice(0,-2):e}function PE(e,t,n){return e?e.concat(t).map(function(e,t){return e=NE(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function FE(e){return Q.isArray(e)&&!e.some(ME)}var IE=Q.toFlatObject(Q,{},null,function(e){return/^is[A-Z]/.test(e)});function LE(e,t,n){if(!Q.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&Q.isSpecCompliantForm(t),u=[];if(!Q.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(Q.isDate(e))return e.toISOString();if(Q.isBoolean(e))return e.toString();if(!l&&Q.isBlob(e))throw new $(`Blob is not supported. Use a Buffer instead.`);if(Q.isArrayBuffer(e)||Q.isTypedArray(e)){if(l&&typeof s==`function`)return new s([e]);if(typeof Buffer<`u`)return Buffer.from(e);throw new $(`Blob is not supported. Use a Buffer instead.`,$.ERR_NOT_SUPPORT)}return e}function f(e){if(e>c)throw new $(`Object is too deeply nested (`+e+` levels). Max depth: `+c,$.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!Q.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(Q.isReactNative(t)&&Q.isReactNativeBlob(e))return t.append(PE(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(Q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(Q.isArray(e)&&FE(e)||(Q.isFileList(e)||Q.endsWith(n,`[]`))&&(s=Q.toArray(e)))return n=NE(n),s.forEach(function(e,r){!(Q.isUndefined(e)||e===null)&&t.append(o===!0?PE([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return ME(e)?!0:(t.append(PE(i,n,a),d(e)),!1)}let h=Object.assign(IE,{defaultVisitor:m,convertValue:d,isVisitable:ME});function g(e,n,r=0){if(!Q.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),Q.forEach(e,function(e,a){(!(Q.isUndefined(e)||e===null)&&i.call(t,e,Q.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!Q.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function RE(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function zE(e,t){this._pairs=[],e&&LE(e,this,t)}var BE=zE.prototype;BE.append=function(e,t){this._pairs.push([e,t])},BE.toString=function(e){let t=e?t=>e.call(this,t,RE):RE;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function VE(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function HE(e,t,n){if(!t)return e;e||=``;let r=Q.isFunction(n)?{serialize:n}:n,i=Q.getSafeProp(r,`encode`)||VE,a=Q.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):Q.isURLSearchParams(t)?t.toString():new zE(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var UE=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){Q.forEach(this.handlers,function(t){t!==null&&e(t)})}},WE={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},GE={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:zE,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},KE=t({hasBrowserEnv:()=>qE,hasStandardBrowserEnv:()=>YE,hasStandardBrowserWebWorkerEnv:()=>XE,navigator:()=>JE,origin:()=>ZE}),qE=typeof window<`u`&&typeof document<`u`,JE=typeof navigator==`object`&&navigator||void 0,YE=qE&&(!JE||[`ReactNative`,`NativeScript`,`NS`].indexOf(JE.product)<0),XE=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,ZE=qE&&window.location.href||`http://localhost`,QE={...KE,...GE};function $E(e,t){return LE(e,new QE.classes.URLSearchParams,{visitor:function(e,t,n,r){return QE.isNode&&Q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var eD=100;function tD(e){if(e>eD)throw new $(`FormData field is too deeply nested (`+e+` levels). Max depth: `+eD,$.ERR_FORM_DATA_DEPTH_EXCEEDED)}function nD(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)tD(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function rD(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r=e.length;return a=!a&&Q.isArray(r)?r.length:a,s?(Q.hasOwnProp(r,a)?r[a]=Q.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!Q.hasOwnProp(r,a)||!Q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&Q.isArray(r[a])&&(r[a]=rD(r[a])),!o)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){let n={};return Q.forEachEntry(e,(e,r)=>{t(nD(e),r,n,0)}),n}return null}var aD=(e,t)=>e!=null&&Q.hasOwnProp(e,t)?e[t]:void 0;function oD(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var sD={transitional:WE,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=Q.isObject(e);if(i&&Q.isHTMLForm(e)&&(e=new FormData(e)),Q.isFormData(e))return r?JSON.stringify(iD(e)):e;if(Q.isArrayBuffer(e)||Q.isBuffer(e)||Q.isStream(e)||Q.isFile(e)||Q.isBlob(e)||Q.isReadableStream(e))return e;if(Q.isArrayBufferView(e))return e.buffer;if(Q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=aD(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return $E(e,t).toString();if((a=Q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=aD(this,`env`),r=n&&n.FormData;return LE(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),oD(e)):e}],transformResponse:[function(e){let t=aD(this,`transitional`)||sD.transitional,n=t&&t.forcedJSONParsing,r=aD(this,`responseType`),i=r===`json`;if(Q.isResponse(e)||Q.isReadableStream(e))return e;if(e&&Q.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,aD(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?$.from(e,$.ERR_BAD_RESPONSE,this,null,aD(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:QE.classes.FormData,Blob:QE.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};Q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{sD.headers[e]={}});function cD(e,t){let n=this||sD,r=t||n,i=OE.from(r.headers),a=r.data;return Q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function lD(e){return!!(e&&e.__CANCEL__)}var uD=class extends ${constructor(e,t,n){super(e??`canceled`,$.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function dD(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new $(`Request failed with status code `+n.status,n.status>=400&&n.status<500?$.ERR_BAD_REQUEST:$.ERR_BAD_RESPONSE,n.config,n.request,n))}function fD(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function pD(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var hD=(e,t,n=3)=>{let r=0,i=pD(50,250);return mD(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},gD=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},_D=e=>(...t)=>Q.asap(()=>e(...t)),vD=QE.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,QE.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(QE.origin),QE.navigator&&/(msie|trident)/i.test(QE.navigator.userAgent)):()=>!0,yD=QE.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];Q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Q.isString(r)&&s.push(`path=${r}`),Q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),Q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;ne instanceof OE?{...e}:e;function kD(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return Q.isPlainObject(e)&&Q.isPlainObject(t)?Q.merge.call({caseless:r},e,t):Q.isPlainObject(t)?Q.merge({},t):Q.isArray(t)?t.slice():t}function i(e,t,n,i){if(!Q.isUndefined(t))return r(e,t,n,i);if(!Q.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!Q.isUndefined(t))return r(void 0,t)}function o(e,t){if(!Q.isUndefined(t))return r(void 0,t);if(!Q.isUndefined(e))return r(void 0,e)}function s(n){let r=Q.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!Q.isUndefined(r))if(Q.isPlainObject(r)){if(Q.hasOwnProp(r,n))return r[n]}else return;let i=Q.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(Q.isPlainObject(i)&&Q.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(Q.hasOwnProp(t,a))return r(n,i);if(Q.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(OD(e),OD(t),n,!0)};return Q.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=Q.hasOwnProp(l,r)?l[r]:i,o=a(Q.hasOwnProp(e,r)?e[r]:void 0,Q.hasOwnProp(t,r)?t[r]:void 0,r);Q.isUndefined(o)&&a!==c||(n[r]=o)}),Q.hasOwnProp(t,`validateStatus`)&&Q.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(Q.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}var AD=[`content-type`,`content-length`];function jD(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{AD.includes(t.toLowerCase())&&e.set(t,n)})}var MD=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function ND(e){let t=kD({},e),n=e=>Q.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=OE.from(s),t.url=HE(DD(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=Q.getSafeProp(c,`username`)||``,n=Q.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?MD(n):``)))}catch(t){throw $.from(t,$.ERR_BAD_OPTION_VALUE,e)}}if(Q.isFormData(r)&&(QE.hasStandardBrowserEnv||QE.hasStandardBrowserWebWorkerEnv||Q.isReactNative(r)?s.setContentType(void 0):Q.isFunction(r.getHeaders)&&jD(s,r.getHeaders(),n(`formDataHeaderPolicy`))),QE.hasStandardBrowserEnv&&(Q.isFunction(i)&&(i=i(t)),i===!0||i==null&&vD(t.url))){let e=a&&o&&yD.read(o);e&&s.set(a,e)}return t}var PD=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=ND(e),i=r.data,a=OE.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=OE.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());dD(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&=(n(new $(`Request aborted`,$.ECONNABORTED,e,h)),m(),null)},h.onerror=function(t){let r=new $(t&&t.message?t.message:`Network Error`,$.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||WE;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new $(t,i.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&Q.forEach(yE(a),function(e,t){h.setRequestHeader(t,e)}),Q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=hD(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=hD(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new uD(null,e,h):t),h.abort(),m(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=fD(r.url);if(_&&!QE.protocols.includes(_)){n(new $(`Unsupported protocol `+_+`:`,$.ERR_BAD_REQUEST,e)),m();return}h.send(i||null)})},FD=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof $?t:new uD(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new $(`timeout of ${t}ms exceeded`,$.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>Q.asap(o),s},ID=function*(e,t){let n=e.byteLength;if(!t||n{let i=LD(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},BD=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,VD=(e,t,n)=>t+2e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e=55296&&n<=56319&&e+1=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var UD=`1.18.1`,WD=64*1024,{isFunction:GD}=Q,KD=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),qD=e=>{if(!Q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},JD=(e,...t)=>{try{return!!e(...t)}catch{return!1}},YD=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},XD=e=>{let t=Q.global!==void 0&&Q.global!==null?Q.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=Q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?GD(i):typeof fetch==`function`,c=GD(a),l=GD(o);if(!s)return!1;let u=s&&GD(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&JD(()=>{let e=!1,t=new a(QE.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&JD(()=>Q.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new $(`Response type '${e}' is not supported`,$.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(Q.isBlob(e))return e.size;if(Q.isSpecCompliantForm(e))return(await new a(QE.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(e)||Q.isArrayBuffer(e))return e.byteLength;if(Q.isURLSearchParams(e)&&(e+=``),Q.isString(e))return(await d(e)).byteLength},g=async(e,t)=>Q.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T}=ND(e),ee=Q.isNumber(w)&&w>-1,te=Q.isNumber(T)&&T>-1,E=t=>Q.hasOwnProp(e,t)?e[t]:void 0,ne=i||fetch;b=b?(b+``).toLowerCase():`text`;let D=FD([l,d&&d.toAbortSignal()],_),O=null,re=D&&D.unsubscribe&&(()=>{D.unsubscribe()}),ie,ae=null,k=()=>new $(`Request body larger than maxBodyLength limit`,$.ERR_BAD_REQUEST,e,O);try{let i,l=E(`auth`);if(l&&(i={username:Q.getSafeProp(l,`username`)||``,password:Q.getSafeProp(l,`password`)||``}),YD(t)){let e=new URL(t,QE.origin);!i&&(e.username||e.password)&&(i={username:qD(e.username),password:qD(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(KD((i.username||``)+`:`+(i.password||``))))),ee&&typeof t==`string`&&t.startsWith(`data:`)&&HD(t)>w)throw new $(`maxContentLength size of `+w+` exceeded`,$.ERR_BAD_RESPONSE,e,O);if(te&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(ie=e,e>T))throw k()}let d=te&&(Q.isReadableStream(s)||Q.isStream(s)),_=(e,t,n)=>zD(e,WD,e=>{if(te&&e>T)throw ae=k();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(ie??=await g(x,s),ie!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(Q.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&gD(ie,hD(_D(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new $(`Stream request bodies are not supported by the current fetch implementation`,$.ERR_NOT_SUPPORT,e,O);Q.isString(S)||(S=S?`include`:`omit`);let oe=c&&`credentials`in a.prototype;if(Q.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+UD,!1);let se={...C,signal:D,method:n.toUpperCase(),headers:yE(x.normalize()),body:s,duplex:`half`,credentials:oe?S:void 0};O=c&&new a(t,se);let ce=await(c?ne(O,C):ne(t,se)),le=OE.from(ce.headers);if(ee){let t=Q.toFiniteNumber(le.getContentLength());if(t!=null&&t>w)throw new $(`maxContentLength size of `+w+` exceeded`,$.ERR_BAD_RESPONSE,e,O)}let ue=p&&(b===`stream`||b===`response`);if(p&&ce.body&&(v||ee||ue&&re)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=ce[e]});let n=Q.toFiniteNumber(le.getContentLength()),[r,i]=v&&gD(n,hD(_D(v),!0))||[],a=0;ce=new o(zD(ce.body,WD,t=>{if(ee&&(a=t,a>w))throw new $(`maxContentLength size of `+w+` exceeded`,$.ERR_BAD_RESPONSE,e,O);r&&r(t)},()=>{i&&i(),re&&re()}),t)}b||=`text`;let de=await m[Q.findKey(m,b)||`text`](ce,e);if(ee&&!p&&!ue){let t;if(de!=null&&(typeof de.byteLength==`number`?t=de.byteLength:typeof de.size==`number`?t=de.size:typeof de==`string`&&(t=typeof r==`function`?new r().encode(de).byteLength:de.length)),typeof t==`number`&&t>w)throw new $(`maxContentLength size of `+w+` exceeded`,$.ERR_BAD_RESPONSE,e,O)}return!ue&&re&&re(),await new Promise((t,n)=>{dD(t,n,{data:de,headers:OE.from(ce.headers),status:ce.status,statusText:ce.statusText,config:e,request:O})})}catch(t){if(re&&re(),D&&D.aborted&&D.reason instanceof $){let n=D.reason;throw n.config=e,O&&(n.request=O),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(ae)throw O&&!ae.request&&(ae.request=O),ae;if(t instanceof $)throw O&&!t.request&&(t.request=O),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new $(`Network Error`,$.ERR_NETWORK,e,O,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw $.from(t,t&&t.code,e,O,t&&t.response)}}},ZD=new Map,QD=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=ZD;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:XD(t)),l=c;return c};QD();var $D={http:null,xhr:PD,fetch:{get:QD}};Q.forEach($D,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var eO=e=>`- ${e}`,tO=e=>Q.isFunction(e)||e===null||e===!1;function nO(e,t){e=Q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new $(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since : `+e.map(eO).join(` @@ -1675,4 +1675,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(` `),r=t===-1?-1:n.indexOf(` `,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=` -`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=kD(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&lO.assertOptions(n,{silentJSONParsing:uO.transitional(uO.boolean),forcedJSONParsing:uO.transitional(uO.boolean),clarifyTimeoutError:uO.transitional(uO.boolean),legacyInterceptorReqResOrdering:uO.transitional(uO.boolean),advertiseZstdAcceptEncoding:uO.transitional(uO.boolean),validateStatusUndefinedResolves:uO.transitional(uO.boolean)},!1),r!=null&&(Q.isFunction(r)?t.paramsSerializer={serialize:r}:lO.assertOptions(r,{encode:uO.function,serialize:uO.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),lO.assertOptions(t,{baseUrl:uO.spelling(`baseURL`),withXsrfToken:uO.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&Q.merge(i.common,i[t.method]);i&&Q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=OE.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||WE;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[aO.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new uD(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function pO(e){return function(t){return e.apply(null,t)}}function mO(e){return Q.isObject(e)&&e.isAxiosError===!0}var hO={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hO).forEach(([e,t])=>{hO[t]=e});function gO(e){let t=new dO(e),n=Yw(dO.prototype.request,t);return Q.extend(n,dO.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return gO(kD(e,t))},n}var _O=gO(sD);_O.Axios=dO,_O.CanceledError=uD,_O.CancelToken=fO,_O.isCancel=lD,_O.VERSION=UD,_O.toFormData=LE,_O.AxiosError=$,_O.Cancel=_O.CanceledError,_O.all=function(e){return Promise.all(e)},_O.spread=pO,_O.isAxiosError=mO,_O.mergeConfig=kD,_O.AxiosHeaders=OE,_O.formToJSON=e=>iD(Q.isHTMLForm(e)?new FormData(e):e),_O.getAdapter=rO.getAdapter,_O.HttpStatusCode=hO,_O.default=_O;var vO=_O.create({baseURL:`/module/temper_rejects/api`,timeout:15e3,headers:{"Content-Type":`application/json`}}),yO={"12h":720,"1T":1440,"7T":10080,"14T":20160,"30T":43200},bO=[`P1`,`P2`,`P3`,`P4`,`P5`,`P6`,`P7`,`P8`,`P9`],xO=[{id:1,reason_de:`Maßabweichung`,reason_en:`Dimensional deviation`},{id:2,reason_de:`Lunker`,reason_en:`Voids`},{id:3,reason_de:`Bindenaht`,reason_en:`Weld line`},{id:4,reason_de:`Verbrennung`,reason_en:`Burn mark`},{id:5,reason_de:`Verzug`,reason_en:`Warping`},{id:6,reason_de:`Sonstiges`,reason_en:`Other`}],SO=(e,t,n,r,i)=>({notYetSent:e,wagen:t,unterwegs:n,ofen:r,fertig:i}),CO=[[10231,`00A17226`,`P5`,`O-4455`,`Gehäuse 12 mm`,60,2,90,SO(120,60,40,72,260)],[10230,`00917226`,`P8`,`O-4489`,`Halter Typ A`,80,1,150,SO(40,30,36,80,210)],[10229,`00817226`,`P3`,`O-4471`,`Deckel rund`,54,4,320,SO(180,54,30,88,300)],[10228,`00717226`,`P1`,`O-4471`,`Deckel rund`,64,0,500,SO(180,54,30,88,300)],[10227,`00617226`,`P2`,`O-4460`,`Klammer klein`,50,3,900,SO(90,42,0,60,190)],[10226,`00517226`,`P5`,`O-4455`,`Gehäuse 12 mm`,72,5,1400,SO(120,60,40,72,260)],[10225,`00417226`,`P6`,`O-4460`,`Klammer klein`,44,1,3e3,SO(90,42,0,60,190)],[10224,`00317226`,`P8`,`O-4489`,`Halter Typ A`,58,2,8e3,SO(40,30,36,80,210)],[10223,`00217226`,`P9`,`O-4471`,`Deckel rund`,40,0,22e3,SO(180,54,30,88,300)]];function wO(e=`7T`){let t=yO[e]??yO[`7T`],n=Date.now(),r=CO.filter(e=>e[7]<=t).map(e=>({ttId:e[0],cartId:e[1],press:e[2],orderNo:e[3],article:e[4],partsGood:e[5],scrap:e[6],doneAt:new Date(n-e[7]*6e4).toISOString(),flow:e[8]}));return{window:e,generatedAt:new Date().toISOString(),sample:!0,presses:bO,entries:r}}var TO=`temper_rejects_payload`,EO=fc(`temperRejects`,()=>{let e=en(null),t=en([]),n=en(`7T`),r=en([]),i=en(!1),a=en(null),o=en(!1),s=en(null),c=null,l=!1,u=vo(()=>e.value!==null),d=vo(()=>e.value?.presses??[]),f=vo(()=>{let t={};for(let e of d.value)t[e]=0;for(let n of e.value?.entries??[])t[n.press]=(t[n.press]??0)+1;return t}),p=vo(()=>{let t=new Set(r.value);return(e.value?.entries??[]).filter(e=>t.has(e.press))});function m(){try{sessionStorage.setItem(TO,JSON.stringify({payload:e.value,window:n.value,checkedPresses:r.value}))}catch{}}function h(){try{let t=sessionStorage.getItem(TO);if(!t)return;let i=JSON.parse(t);e.value=i.payload??null,i.window&&(n.value=i.window),i.checkedPresses?.length&&(r.value=i.checkedPresses,l=!0)}catch{}}async function g(){u.value||(i.value=!0),await Promise.all([_(),v()])}async function _(){a.value=null;try{let t=await vO.get(`/overview`,{params:{window:n.value}});if(!t.data||!Array.isArray(t.data.entries))throw Error(`Unexpected /overview response (no backend?)`);e.value=t.data,o.value=t.data.sample===!0}catch(t){e.value=wO(n.value),o.value=!0,a.value=t instanceof Error?t.message:`Overview API unreachable — showing sample data`}finally{!l&&e.value&&(r.value=[...e.value.presses],l=!0),i.value=!1,s.value=Date.now(),m()}}async function v(){try{let e=await vO.get(`/reasons`);t.value=Array.isArray(e.data?.reasons)?e.data.reasons:xO}catch{t.value=xO}}async function y(e){n.value=e,await _()}function b(e){let t=r.value.indexOf(e);t>=0?r.value.splice(t,1):r.value.push(e),m()}function x(){r.value=[...d.value],m()}function S(){r.value=[],m()}async function C(e){try{let t=await vO.post(`/reject`,e);if(t.data&&typeof t.data==`object`&&`success`in t.data)return t.data.success&&await _(),t.data;throw Error(`bad response`)}catch{return{success:!0,sample:!0,message:`Ausschuss gebucht (Demo — kein Backend)`}}}function w(e=2e4){c||=setInterval(_,e)}function T(){c&&=(clearInterval(c),null)}return h(),{payload:e,reasons:t,window:n,checkedPresses:r,loading:i,error:a,usingSample:o,lastUpdated:s,hasData:u,allPresses:d,pressCounts:f,filteredEntries:p,hydrate:g,refresh:_,fetchReasons:v,setWindow:y,togglePress:b,selectAllPresses:x,selectNoPresses:S,submitReject:C,startPolling:w,stopPolling:T}}),DO={class:`wrap`},OO={class:`layout`},kO={class:`main`},AO={key:0,class:`state`},jO={key:1,class:`state`},MO={key:2,class:`list`},NO={key:0,class:`toast`},PO=_y(Ar({__name:`RejectStationPage`,setup(e){let{t}=Jv(),n=EO(),{window:r,reasons:i,allPresses:a,checkedPresses:o,pressCounts:s,filteredEntries:c,usingSample:l}=pc(n),u=en(null),d=en(!1),f=en(null),p=null;function m(e){f.value=e,p&&clearTimeout(p),p=setTimeout(()=>f.value=null,3200)}async function h(e){d.value=!0;let r=await n.submitReject(e);d.value=!1,r.success?(u.value=null,m(r.message||t(`dialog.success`))):m(r.message||t(`dialog.failed`))}return Kr(async()=>{await n.hydrate(),n.startPolling(2e4)}),Xr(()=>{n.stopPolling(),p&&clearTimeout(p)}),(e,p)=>(P(),F(`div`,DO,[L(vy,{window:M(r),sample:M(l),"onUpdate:window":M(n).setWindow},null,8,[`window`,`sample`,`onUpdate:window`]),I(`div`,OO,[L(ky,{presses:M(a),checked:M(o),counts:M(s),onToggle:M(n).togglePress,onAll:M(n).selectAllPresses,onNone:M(n).selectNoPresses},null,8,[`presses`,`checked`,`counts`,`onToggle`,`onAll`,`onNone`]),I(`main`,kO,[M(o).length===0?(P(),F(`div`,AO,A(M(t)(`empty.noPress`)),1)):M(c).length===0?(P(),F(`div`,jO,A(M(t)(`empty.noEntries`)),1)):(P(),F(`div`,MO,[(P(!0),F(Ea,null,li(M(c),e=>(P(),Ia($y,{key:e.ttId,entry:e,onBook:p[0]||=e=>u.value=e},null,8,[`entry`]))),128))]))])]),L(Jw,{entry:u.value,reasons:M(i),submitting:d.value,onClose:p[1]||=e=>u.value=null,onSubmit:h},null,8,[`entry`,`reasons`,`submitting`]),L(Po,{name:`fade`},{default:Un(()=>[f.value?(P(),F(`div`,NO,A(f.value),1)):R(``,!0)]),_:1})]))}}),[[`__scopeId`,`data-v-6196818e`]]),FO=nh({history:xm(`/module/temper_rejects/`),routes:[{path:`/`,name:`station`,component:PO}]}),IO={app:{brand:`Ausschuss`,title:`Ausschuss-Station`,subtitle:`presseübergreifend · alle getemperten Wagen`,live:`Live`,demo:`Demo-Daten`},filter:{title:`Pressen`,all:`Alle`,none:`Keine`,empty:`keine Wagen`},window:{label:`Zeitfenster`,"12h":`12 h`,"1T":`1 Tag`,"7T":`7 Tage`,"14T":`14 Tage`,"30T":`30 Tage`},entry:{order:`Auftrag`,cart:`Wagen`,label:`Etikett`,good:`Gut`,scrap:`Ausschuss`,doneAt:`getempert`,book:`Ausschuss buchen`},belt:{title:`Temper-Fluss des Auftrags`,notYetSent:`Nicht gesendet`,wagen:`Wagen`,unterwegs:`Unterwegs`,ofen:`Ofen`,fertig:`Fertig`},dialog:{title:`Ausschuss buchen`,for:`für Wagen {cart} · {order}`,count:`Menge`,pieces:`Stück`,reason:`Grund`,chooseReason:`Grund wählen …`,cancel:`Abbrechen`,confirm:`Buchen`,needCount:`Menge eingeben`,needReason:`Grund wählen`,success:`Ausschuss gebucht`,failed:`Buchung fehlgeschlagen`},empty:{noEntries:`Keine getemperten Wagen im Zeitfenster.`,noPress:`Keine Presse ausgewählt.`}},LO={app:{brand:`Rejects`,title:`Reject Station`,subtitle:`all presses · every tempered cart`,live:`Live`,demo:`Sample data`},filter:{title:`Presses`,all:`All`,none:`None`,empty:`no carts`},window:{label:`Time window`,"12h":`12 h`,"1T":`1 day`,"7T":`7 days`,"14T":`14 days`,"30T":`30 days`},entry:{order:`Order`,cart:`Cart`,label:`Label`,good:`Good`,scrap:`Scrap`,doneAt:`tempered`,book:`Book reject`},belt:{title:`Order's temper flow`,notYetSent:`Not sent`,wagen:`On cart`,unterwegs:`In transit`,ofen:`Oven`,fertig:`Finished`},dialog:{title:`Book reject`,for:`for cart {cart} · {order}`,count:`Quantity`,pieces:`pcs`,reason:`Reason`,chooseReason:`Choose a reason …`,cancel:`Cancel`,confirm:`Book`,needCount:`Enter a quantity`,needReason:`Choose a reason`,success:`Reject booked`,failed:`Booking failed`},empty:{noEntries:`No tempered carts in this window.`,noPress:`No press selected.`}};function RO(){return new URLSearchParams(window.location.search).get(`lang`)===`en`?`en`:`de`}var zO=qv({legacy:!1,locale:RO(),fallbackLocale:`de`,messages:{de:IO,en:LO}}),BO=Ar({__name:`App`,setup(e){return(e,t)=>(P(),Ia(M(th)))}}),VO=sd(Qf,{semantic:{primary:{50:`{sky.50}`,100:`{sky.100}`,200:`{sky.200}`,300:`{sky.300}`,400:`{sky.400}`,500:`{sky.500}`,600:`{sky.600}`,700:`{sky.700}`,800:`{sky.800}`,900:`{sky.900}`,950:`{sky.950}`}}}),HO=js(BO);HO.use(Qs()),HO.use(FO),HO.use(zO),HO.use(od,{theme:{preset:VO,options:{darkModeSelector:`.dark`}}}),HO.mount(`#app`); \ No newline at end of file +`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=kD(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&lO.assertOptions(n,{silentJSONParsing:uO.transitional(uO.boolean),forcedJSONParsing:uO.transitional(uO.boolean),clarifyTimeoutError:uO.transitional(uO.boolean),legacyInterceptorReqResOrdering:uO.transitional(uO.boolean),advertiseZstdAcceptEncoding:uO.transitional(uO.boolean),validateStatusUndefinedResolves:uO.transitional(uO.boolean)},!1),r!=null&&(Q.isFunction(r)?t.paramsSerializer={serialize:r}:lO.assertOptions(r,{encode:uO.function,serialize:uO.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),lO.assertOptions(t,{baseUrl:uO.spelling(`baseURL`),withXsrfToken:uO.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&Q.merge(i.common,i[t.method]);i&&Q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=OE.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||WE;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[aO.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new uD(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function pO(e){return function(t){return e.apply(null,t)}}function mO(e){return Q.isObject(e)&&e.isAxiosError===!0}var hO={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hO).forEach(([e,t])=>{hO[t]=e});function gO(e){let t=new dO(e),n=Yw(dO.prototype.request,t);return Q.extend(n,dO.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return gO(kD(e,t))},n}var _O=gO(sD);_O.Axios=dO,_O.CanceledError=uD,_O.CancelToken=fO,_O.isCancel=lD,_O.VERSION=UD,_O.toFormData=LE,_O.AxiosError=$,_O.Cancel=_O.CanceledError,_O.all=function(e){return Promise.all(e)},_O.spread=pO,_O.isAxiosError=mO,_O.mergeConfig=kD,_O.AxiosHeaders=OE,_O.formToJSON=e=>iD(Q.isHTMLForm(e)?new FormData(e):e),_O.getAdapter=rO.getAdapter,_O.HttpStatusCode=hO,_O.default=_O;var vO=_O.create({baseURL:`/module/temper_rejects/api`,timeout:15e3,headers:{"Content-Type":`application/json`}}),yO={"12h":720,"1T":1440,"7T":10080,"14T":20160,"30T":43200},bO=[`P1`,`P2`,`P3`,`P4`,`P5`,`P6`,`P7`,`P8`,`P9`],xO=[{id:1,reason_de:`Maßabweichung`,reason_en:`Dimensional deviation`},{id:2,reason_de:`Lunker`,reason_en:`Voids`},{id:3,reason_de:`Bindenaht`,reason_en:`Weld line`},{id:4,reason_de:`Verbrennung`,reason_en:`Burn mark`},{id:5,reason_de:`Verzug`,reason_en:`Warping`},{id:6,reason_de:`Sonstiges`,reason_en:`Other`}],SO=(e,t,n,r,i)=>({notYetSent:e,wagen:t,unterwegs:n,ofen:r,fertig:i}),CO=[[10231,`00A17226`,`P5`,`O-4455`,`Gehäuse 12 mm`,60,2,90,SO(120,60,40,72,260)],[10230,`00917226`,`P8`,`O-4489`,`Halter Typ A`,80,1,150,SO(40,30,36,80,210)],[10229,`00817226`,`P3`,`O-4471`,`Deckel rund`,54,4,320,SO(180,54,30,88,300)],[10228,`00717226`,`P1`,`O-4471`,`Deckel rund`,64,0,500,SO(180,54,30,88,300)],[10227,`00617226`,`P2`,`O-4460`,`Klammer klein`,50,3,900,SO(90,42,0,60,190)],[10226,`00517226`,`P5`,`O-4455`,`Gehäuse 12 mm`,72,5,1400,SO(120,60,40,72,260)],[10225,`00417226`,`P6`,`O-4460`,`Klammer klein`,44,1,3e3,SO(90,42,0,60,190)],[10224,`00317226`,`P8`,`O-4489`,`Halter Typ A`,58,2,8e3,SO(40,30,36,80,210)],[10223,`00217226`,`P9`,`O-4471`,`Deckel rund`,40,0,22e3,SO(180,54,30,88,300)]];function wO(e=`7T`){let t=yO[e]??yO[`7T`],n=Date.now(),r=CO.filter(e=>e[7]<=t).map(e=>({ttId:e[0],cartId:e[1],press:e[2],orderNo:e[3],article:e[4],partsGood:e[5],scrap:e[6],doneAt:new Date(n-e[7]*6e4).toISOString(),flow:e[8]}));return{window:e,generatedAt:new Date().toISOString(),sample:!0,presses:bO,entries:r}}var TO=`temper_rejects_payload`,EO=fc(`temperRejects`,()=>{let e=en(null),t=en([]),n=en(`7T`),r=en([]),i=en(!1),a=en(null),o=en(!1),s=en(null),c=null,l=!1,u=vo(()=>e.value!==null),d=vo(()=>e.value?.presses??[]),f=vo(()=>{let t={};for(let e of d.value)t[e]=0;for(let n of e.value?.entries??[])t[n.press]=(t[n.press]??0)+1;return t}),p=vo(()=>{let t=new Set(r.value);return(e.value?.entries??[]).filter(e=>t.has(e.press))});function m(){try{sessionStorage.setItem(TO,JSON.stringify({payload:e.value,window:n.value,checkedPresses:r.value}))}catch{}}function h(){try{let t=sessionStorage.getItem(TO);if(!t)return;let i=JSON.parse(t);e.value=i.payload??null,i.window&&(n.value=i.window),i.checkedPresses?.length&&(r.value=i.checkedPresses,l=!0)}catch{}}async function g(){u.value||(i.value=!0),await Promise.all([_(),v()])}async function _(){a.value=null;try{let t=await vO.get(`/overview`,{params:{window:n.value}});if(!t.data||!Array.isArray(t.data.entries))throw Error(`Unexpected /overview response (no backend?)`);e.value=t.data,o.value=t.data.sample===!0}catch(t){a.value=t instanceof Error?t.message:`Overview API unreachable`,(!e.value||o.value)&&(e.value=wO(n.value),o.value=!0)}finally{!l&&e.value&&(r.value=[...e.value.presses],l=!0),i.value=!1,s.value=Date.now(),m()}}async function v(){try{let e=await vO.get(`/reasons`);t.value=Array.isArray(e.data?.reasons)?e.data.reasons:xO}catch{t.value=xO}}async function y(e){n.value=e,await _()}function b(e){let t=r.value.indexOf(e);t>=0?r.value.splice(t,1):r.value.push(e),m()}function x(){r.value=[...d.value],m()}function S(){r.value=[],m()}async function C(e){try{let t=await vO.post(`/reject`,e);return t.data&&typeof t.data==`object`&&`success`in t.data?(t.data.success&&await _(),t.data):{success:!1,error:`bad_response`}}catch(e){let t=_O.isAxiosError(e)?e.response?.data:void 0;return t&&typeof t==`object`&&`success`in t?t:{success:!1,error:`unreachable`}}}function w(e=2e4){c||=setInterval(_,e)}function T(){c&&=(clearInterval(c),null)}return h(),{payload:e,reasons:t,window:n,checkedPresses:r,loading:i,error:a,usingSample:o,lastUpdated:s,hasData:u,allPresses:d,pressCounts:f,filteredEntries:p,hydrate:g,refresh:_,fetchReasons:v,setWindow:y,togglePress:b,selectAllPresses:x,selectNoPresses:S,submitReject:C,startPolling:w,stopPolling:T}}),DO={class:`wrap`},OO={class:`layout`},kO={class:`main`},AO={key:0,class:`state`},jO={key:1,class:`state`},MO={key:2,class:`list`},NO=_y(Ar({__name:`RejectStationPage`,setup(e){let{t}=Jv(),n=EO(),{window:r,reasons:i,allPresses:a,checkedPresses:o,pressCounts:s,filteredEntries:c,usingSample:l}=pc(n),u=en(null),d=en(!1),f=en(null),p=en(!0),m=null;function h(e,t=!0){f.value=e,p.value=t,m&&clearTimeout(m),m=setTimeout(()=>f.value=null,3200)}async function g(e){d.value=!0;let r=await n.submitReject(e);d.value=!1,r.success?(u.value=null,h(r.message||t(`dialog.success`),!0)):h(r.message||t(`dialog.failed`),!1)}return Kr(async()=>{await n.hydrate(),n.startPolling(2e4)}),Xr(()=>{n.stopPolling(),m&&clearTimeout(m)}),(e,m)=>(P(),F(`div`,DO,[L(vy,{window:M(r),sample:M(l),"onUpdate:window":M(n).setWindow},null,8,[`window`,`sample`,`onUpdate:window`]),I(`div`,OO,[L(ky,{presses:M(a),checked:M(o),counts:M(s),onToggle:M(n).togglePress,onAll:M(n).selectAllPresses,onNone:M(n).selectNoPresses},null,8,[`presses`,`checked`,`counts`,`onToggle`,`onAll`,`onNone`]),I(`main`,kO,[M(o).length===0?(P(),F(`div`,AO,A(M(t)(`empty.noPress`)),1)):M(c).length===0?(P(),F(`div`,jO,A(M(t)(`empty.noEntries`)),1)):(P(),F(`div`,MO,[(P(!0),F(Ea,null,li(M(c),e=>(P(),Ia($y,{key:e.ttId,entry:e,onBook:m[0]||=e=>u.value=e},null,8,[`entry`]))),128))]))])]),L(Jw,{entry:u.value,reasons:M(i),submitting:d.value,onClose:m[1]||=e=>u.value=null,onSubmit:g},null,8,[`entry`,`reasons`,`submitting`]),L(Po,{name:`fade`},{default:Un(()=>[f.value?(P(),F(`div`,{key:0,class:_e([`toast`,{err:!p.value}])},A(f.value),3)):R(``,!0)]),_:1})]))}}),[[`__scopeId`,`data-v-03500f9e`]]),PO=nh({history:xm(`/module/temper_rejects/`),routes:[{path:`/`,name:`station`,component:NO}]}),FO={app:{brand:`Ausschuss`,title:`Ausschuss-Station`,subtitle:`presseübergreifend · alle getemperten Wagen`,live:`Live`,demo:`Demo-Daten`},filter:{title:`Pressen`,all:`Alle`,none:`Keine`,empty:`keine Wagen`},window:{label:`Zeitfenster`,"12h":`12 h`,"1T":`1 Tag`,"7T":`7 Tage`,"14T":`14 Tage`,"30T":`30 Tage`},entry:{order:`Auftrag`,cart:`Wagen`,label:`Etikett`,good:`Gut`,scrap:`Ausschuss`,doneAt:`getempert`,book:`Ausschuss buchen`},belt:{title:`Temper-Fluss des Auftrags`,notYetSent:`Nicht gesendet`,wagen:`Wagen`,unterwegs:`Unterwegs`,ofen:`Ofen`,fertig:`Fertig`},dialog:{title:`Ausschuss buchen`,for:`für Wagen {cart} · {order}`,count:`Menge`,pieces:`Stück`,reason:`Grund`,chooseReason:`Grund wählen …`,cancel:`Abbrechen`,confirm:`Buchen`,needCount:`Menge eingeben`,needReason:`Grund wählen`,success:`Ausschuss gebucht`,failed:`Buchung fehlgeschlagen`},empty:{noEntries:`Keine getemperten Wagen im Zeitfenster.`,noPress:`Keine Presse ausgewählt.`}},IO={app:{brand:`Rejects`,title:`Reject Station`,subtitle:`all presses · every tempered cart`,live:`Live`,demo:`Sample data`},filter:{title:`Presses`,all:`All`,none:`None`,empty:`no carts`},window:{label:`Time window`,"12h":`12 h`,"1T":`1 day`,"7T":`7 days`,"14T":`14 days`,"30T":`30 days`},entry:{order:`Order`,cart:`Cart`,label:`Label`,good:`Good`,scrap:`Scrap`,doneAt:`tempered`,book:`Book reject`},belt:{title:`Order's temper flow`,notYetSent:`Not sent`,wagen:`On cart`,unterwegs:`In transit`,ofen:`Oven`,fertig:`Finished`},dialog:{title:`Book reject`,for:`for cart {cart} · {order}`,count:`Quantity`,pieces:`pcs`,reason:`Reason`,chooseReason:`Choose a reason …`,cancel:`Cancel`,confirm:`Book`,needCount:`Enter a quantity`,needReason:`Choose a reason`,success:`Reject booked`,failed:`Booking failed`},empty:{noEntries:`No tempered carts in this window.`,noPress:`No press selected.`}};function LO(){return new URLSearchParams(window.location.search).get(`lang`)===`en`?`en`:`de`}var RO=qv({legacy:!1,locale:LO(),fallbackLocale:`de`,messages:{de:FO,en:IO}}),zO=Ar({__name:`App`,setup(e){return(e,t)=>(P(),Ia(M(th)))}}),BO=sd(Qf,{semantic:{primary:{50:`{sky.50}`,100:`{sky.100}`,200:`{sky.200}`,300:`{sky.300}`,400:`{sky.400}`,500:`{sky.500}`,600:`{sky.600}`,700:`{sky.700}`,800:`{sky.800}`,900:`{sky.900}`,950:`{sky.950}`}}}),VO=js(zO);VO.use(Qs()),VO.use(PO),VO.use(RO),VO.use(od,{theme:{preset:BO,options:{darkModeSelector:`.dark`}}}),VO.mount(`#app`); \ No newline at end of file diff --git a/dist/assets/index-Dw_xKaUy.css b/dist/assets/index-mkbUZDoP.css similarity index 56% rename from dist/assets/index-Dw_xKaUy.css rename to dist/assets/index-mkbUZDoP.css index 4bb11ea..524d1ec 100644 --- a/dist/assets/index-Dw_xKaUy.css +++ b/dist/assets/index-mkbUZDoP.css @@ -1 +1 @@ -@font-face{font-family:primeicons;font-display:block;src:url(/module/temper_rejects/assets/primeicons-DMOk5skT.eot);src:url(/module/temper_rejects/assets/primeicons-DMOk5skT.eot?#iefix)format("embedded-opentype"),url(/module/temper_rejects/assets/primeicons-C6QP2o4f.woff2)format("woff2"),url(/module/temper_rejects/assets/primeicons-WjwUDZjB.woff)format("woff"),url(/module/temper_rejects/assets/primeicons-MpK4pl85.ttf)format("truetype"),url(/module/temper_rejects/assets/primeicons-Dr5RGzOO.svg?#primeicons)format("svg");font-weight:400;font-style:normal}.pi{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:primeicons;font-style:normal;font-weight:400;line-height:1;display:inline-block}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{text-align:center;width:1.28571em}.pi-spin{animation:2s linear infinite fa-spin}@media (prefers-reduced-motion:reduce){.pi-spin{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-iteration-count:1;animation-delay:-1ms}}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-primary-50:#f0f9ff;--color-primary-100:#e0f2fe;--color-primary-200:#bae6fd;--color-primary-300:#7dd3fc;--color-primary-400:#38bdf8;--color-primary-500:#0ea5e9;--color-primary-600:#0284c7;--color-primary-700:#0369a1;--color-primary-800:#075985;--color-primary-900:#0c4a6e;--color-primary-950:#082f49;--color-surface-0:#171717;--color-surface-1:#262626;--color-surface-2:#404040;--color-surface-3:#525252;--color-text:#fff;--color-text-muted:#d4d4d4;--color-text-subtle:#a3a3a3;--color-text-faint:#737373;--color-border:#404040;--color-border-subtle:#525252;--color-danger:#ef4444;--color-danger-strong:#dc2626;--color-success:#16a34a;--color-success-strong:#15803d;--color-warning:#d97706;--color-warning-strong:#b45309;--color-info:#0284c7;--color-info-strong:#0369a1;--color-nav-bg:#262626;--color-nav-border:#404040;--color-nav-tab-text:#a3a3a3;--color-nav-tab-hover-bg:#262626;--color-nav-tab-hover-text:#f5f5f5;--color-nav-icon:#a3a3a3;--radius-xs:0px;--radius-sm:2px;--radius-md:2px;--radius-lg:2px;--radius-xl:2px;--radius-2xl:2px;--radius-full:9999px;--shadow-popover:0 1px 6px #00000080;--shadow-modal:0 2px 12px #0009;--font-family-sans:"Inter Variable", ui-sans-serif, system-ui, sans-serif;--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--font-size-base-min:11px;--font-size-base-max:14px;--font-size-base:clamp(11px, 1.4vw, 14px);--breakpoint-hmi-sm:800px;--breakpoint-hmi-md:1024px;--breakpoint-hmi-lg:1280px;--z-overlay:40;--z-popover:45;--z-modal:50;--z-toast:60;--z-fatal:9999;--space-control-y:12px;--space-control-x:20px;--space-control-y-sm:8px;--space-control-x-sm:14px;--space-control-y-lg:16px;--space-control-x-lg:28px;--size-touch-target:44px;--font-size-control:.875rem;--space-field-y:.3rem;--space-field-x:.5rem;--font-size-field:.875rem}:root[data-density=compact]{--space-control-y:8px;--space-control-x:14px;--space-control-y-sm:6px;--space-control-x-sm:10px;--space-control-y-lg:12px;--space-control-x-lg:20px;--size-touch-target:36px;--font-size-control:.8125rem}:root[data-density=touch]{--space-control-y:16px;--space-control-x:28px;--space-control-y-sm:12px;--space-control-x-sm:20px;--space-control-y-lg:20px;--space-control-x-lg:32px;--size-touch-target:56px;--font-size-control:1rem}html:not(.dark){--color-surface-0:#f1f5f9;--color-surface-1:#e2e8f0;--color-surface-2:#cbd5e1;--color-surface-3:#94a3b8;--color-text:#0f172a;--color-text-muted:#334155;--color-text-subtle:#475569;--color-text-faint:#64748b;--color-border:#cbd5e1;--color-border-subtle:#e2e8f0;--color-nav-bg:#e2e8f0;--color-nav-border:#cbd5e1;--color-nav-tab-text:#475569;--color-nav-tab-hover-bg:#cbd5e1;--color-nav-tab-hover-text:#0f172a;--color-nav-icon:#475569}.bar[data-v-4a34599f]{border:1px solid var(--line);background:linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 70%, transparent));border-radius:var(--r);flex-wrap:wrap;align-items:center;gap:16px;padding:12px 16px;display:flex}.mark[data-v-4a34599f]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#fff;background:var(--ausschuss);border-radius:var(--r);padding:5px 9px;font-size:.72rem;font-weight:700}.titles[data-v-4a34599f]{flex-direction:column;line-height:1.15;display:flex}.title[data-v-4a34599f]{font-size:1rem;font-weight:700}.subtitle[data-v-4a34599f]{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-size:.6rem}.demo[data-v-4a34599f]{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--oven);border:1px solid color-mix(in srgb, var(--oven) 50%, transparent);border-radius:var(--r);padding:2px 7px;font-size:.62rem}.spacer[data-v-4a34599f]{margin-left:auto}.live[data-v-4a34599f]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-dim);align-items:center;gap:7px;font-size:.68rem;display:flex}.led[data-v-4a34599f]{background:var(--done);border-radius:50%;width:8px;height:8px;animation:2.4s ease-in-out infinite blink}.clock[data-v-4a34599f]{color:var(--ink-dim);font-size:.95rem}.rangep[data-v-4a34599f]{border:1px solid var(--line-2);border-radius:var(--r);display:inline-flex;overflow:hidden}.rl[data-v-4a34599f]{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint);align-self:center;padding:0 11px;font-size:.62rem}.rangep button[data-v-4a34599f]{font-family:var(--mono);border:0;border-left:1px solid var(--line);color:var(--ink-dim);cursor:pointer;background:0 0;padding:8px 13px;font-size:.8rem;font-weight:600}.rangep button[data-v-4a34599f]:hover{background:var(--panel-3);color:var(--ink)}.rangep button[aria-pressed=true][data-v-4a34599f]{background:var(--ausschuss);color:#fff}.filter[data-v-7b8af4b3]{border:1px solid var(--line);background:var(--panel);border-radius:var(--r);min-width:190px;padding:12px}.fhd[data-v-7b8af4b3]{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.ft[data-v-7b8af4b3]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-dim);font-size:.7rem}.acts[data-v-7b8af4b3]{gap:6px;display:flex}.acts button[data-v-7b8af4b3]{font-family:var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--ink-dim);border:1px solid var(--line-2);border-radius:var(--r);cursor:pointer;background:0 0;padding:3px 8px;font-size:.62rem}.acts button[data-v-7b8af4b3]:hover{background:var(--panel-3);color:var(--ink)}.plist[data-v-7b8af4b3]{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.prow[data-v-7b8af4b3]{border-radius:var(--r);cursor:pointer;width:100%;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:9px;padding:9px 8px;display:flex}.prow[data-v-7b8af4b3]:hover{background:var(--panel-2)}.prow.on[data-v-7b8af4b3]{border-color:var(--line-2)}.prow.off[data-v-7b8af4b3]{opacity:.4}.box[data-v-7b8af4b3]{border:1.5px solid var(--line-2);border-radius:var(--r);flex:none;justify-content:center;align-items:center;width:18px;height:18px;display:flex}.prow.on .box[data-v-7b8af4b3]{border-color:var(--done);background:color-mix(in srgb, var(--done) 22%, transparent)}.tick[data-v-7b8af4b3]{color:var(--done);font-size:.72rem;font-weight:800;line-height:1}.pn[data-v-7b8af4b3]{font-size:.9rem;font-weight:700}.badge[data-v-7b8af4b3]{color:var(--ink-dim);background:var(--ground);border:1px solid var(--line);border-radius:var(--r);text-align:center;min-width:24px;margin-left:auto;padding:1px 7px;font-size:.72rem}.belt[data-v-1348ae06]{align-items:flex-start;gap:0;display:flex}.stn[data-v-1348ae06]{flex-direction:column;align-items:center;gap:4px;min-width:58px;display:flex}.badge[data-v-1348ae06]{text-align:center;border-radius:var(--r);background:color-mix(in srgb, var(--ground) 82%, transparent);border:1.5px solid;min-width:30px;padding:3px 7px;font-size:.95rem;font-weight:800;line-height:1}.lbl[data-v-1348ae06]{font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-faint);white-space:nowrap;font-size:.52rem}.conv[data-v-1348ae06]{background:repeating-linear-gradient(90deg, var(--ink-faint) 0 3px, transparent 3px 11px);opacity:.35;background-size:11px 2px;flex:auto;min-width:14px;height:2px;margin-top:13px}.conv.on[data-v-1348ae06]{background:repeating-linear-gradient(90deg, var(--way) 0 3px, transparent 3px 11px);opacity:.85;background-size:11px 2px;animation:1.05s linear infinite flowright}.card[data-v-e3e5f5fd]{border:1px solid var(--line-2);border-left:3px solid var(--done);background:var(--panel);border-radius:var(--r);padding:0;overflow:hidden}.chd[data-v-e3e5f5fd]{background:var(--panel-3);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:9px 12px;display:flex}.press[data-v-e3e5f5fd]{font-family:var(--mono);color:var(--ink);background:var(--ground);border:1px solid var(--line-2);border-radius:var(--r);padding:3px 9px;font-size:.9rem;font-weight:800}.ord[data-v-e3e5f5fd]{flex-direction:column;line-height:1.15;display:flex}.on[data-v-e3e5f5fd]{font-size:.9rem;font-weight:700}.art[data-v-e3e5f5fd]{color:var(--ink-dim);font-size:.66rem}.spacer[data-v-e3e5f5fd]{margin-left:auto}.meta[data-v-e3e5f5fd]{align-items:baseline;gap:5px;display:flex}.mk[data-v-e3e5f5fd]{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-size:.55rem}.mv[data-v-e3e5f5fd]{color:var(--ink);font-size:.8rem}.counts[data-v-e3e5f5fd]{font-family:var(--mono);font-size:.78rem}.good[data-v-e3e5f5fd]{color:var(--done);font-weight:700}.scrap[data-v-e3e5f5fd]{color:var(--ausschuss);font-weight:700}.ck[data-v-e3e5f5fd]{text-transform:uppercase;color:var(--ink-faint);font-size:.6rem}.dot[data-v-e3e5f5fd]{color:var(--ink-faint);margin:0 4px}.ago[data-v-e3e5f5fd]{font-family:var(--mono);color:var(--ink-faint);font-size:.62rem}.belt-wrap[data-v-e3e5f5fd]{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.book[data-v-e3e5f5fd]{font-family:var(--sans);color:#fff;background:var(--ausschuss);border-radius:var(--r);min-height:var(--size-touch-target,44px);cursor:pointer;white-space:nowrap;border:0;padding:12px 18px;font-size:.85rem;font-weight:700}.book[data-v-e3e5f5fd]:hover{filter:brightness(1.12)}.body[data-v-071ccb58]{flex-direction:column;gap:16px;padding-top:4px;display:flex}.for[data-v-071ccb58]{font-family:var(--mono);color:var(--ink-dim);margin:0;font-size:.8rem}.fld[data-v-071ccb58]{flex-direction:column;gap:6px;display:flex}.lab[data-v-071ccb58]{color:var(--ink);font-size:.8rem;font-weight:600}.lab em[data-v-071ccb58]{color:var(--ink-faint);font-size:.72rem;font-style:normal}.err[data-v-071ccb58]{color:var(--ausschuss);font-size:.72rem}.wrap[data-v-6196818e]{max-width:1240px;margin:0 auto;padding:20px 22px 80px}.layout[data-v-6196818e]{grid-template-columns:210px 1fr;align-items:start;gap:14px;margin-top:14px;display:grid}.main[data-v-6196818e]{min-width:0}.list[data-v-6196818e]{flex-direction:column;gap:10px;display:flex}.state[data-v-6196818e]{min-height:40vh;color:var(--ink-dim);font-family:var(--mono);border:1px dashed var(--line-2);border-radius:var(--r);justify-content:center;align-items:center;display:flex}.toast[data-v-6196818e]{background:var(--done);color:#06210f;border-radius:var(--r);z-index:100;padding:12px 20px;font-size:.9rem;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0006}.fade-enter-active[data-v-6196818e],.fade-leave-active[data-v-6196818e]{transition:opacity .2s}.fade-enter-from[data-v-6196818e],.fade-leave-to[data-v-6196818e]{opacity:0}@media (width<=820px){.layout[data-v-6196818e]{grid-template-columns:1fr}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=800px){.container{max-width:800px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform\!{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)!important}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}:root{--ground:#11151b;--panel:#1a212a;--panel-2:#222b36;--panel-3:#2a3542;--line:#2c3641;--line-2:#3a4654;--ink:#e8edf2;--ink-dim:#97a3b1;--ink-faint:#5a6573;--press:#a78bfa;--way:#22d3ee;--transit:#fbbf24;--oven:#f97316;--hot:#ef4444;--done:#34d399;--ausschuss:#c4162a;--o1:#5794f2;--o2:#e8825a;--o3:#b57edc;--o4:#4fb7a8;--r:2px;--sans:var(--font-family-sans,"Inter Variable", ui-sans-serif, system-ui, sans-serif);--mono:var(--font-family-mono,ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace)}html:not(.dark){--ground:#f1f5f9;--panel:#e2e8f0;--panel-2:#cbd5e1;--panel-3:#94a3b8;--line:#cbd5e1;--line-2:#94a3b8;--ink:#0f172a;--ink-dim:#475569;--ink-faint:#64748b;--press:#6d28d9;--way:#0e7490;--transit:#b45309;--oven:#c2410c;--hot:#dc2626;--done:#15803d;--ausschuss:#a11223}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:clamp(13px,1.6vw,16px);font-family:var(--sans)}body{color:var(--ink);-webkit-font-smoothing:antialiased;background:radial-gradient(1300px 700px at 72% -12%, #182230 0%, transparent 58%), var(--ground);margin:0;line-height:1.5}html:not(.dark) body{background:radial-gradient(1300px 700px at 72% -12%, #e2e8f0 0%, transparent 58%), var(--ground)}.num{font-family:var(--mono);font-variant-numeric:tabular-nums}@keyframes blink{0%,to{opacity:.35}50%{opacity:1}}@keyframes flowright{to{background-position:11px 0}}@media (prefers-reduced-motion:reduce){*{animation:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false} +@font-face{font-family:primeicons;font-display:block;src:url(/module/temper_rejects/assets/primeicons-DMOk5skT.eot);src:url(/module/temper_rejects/assets/primeicons-DMOk5skT.eot?#iefix)format("embedded-opentype"),url(/module/temper_rejects/assets/primeicons-C6QP2o4f.woff2)format("woff2"),url(/module/temper_rejects/assets/primeicons-WjwUDZjB.woff)format("woff"),url(/module/temper_rejects/assets/primeicons-MpK4pl85.ttf)format("truetype"),url(/module/temper_rejects/assets/primeicons-Dr5RGzOO.svg?#primeicons)format("svg");font-weight:400;font-style:normal}.pi{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:primeicons;font-style:normal;font-weight:400;line-height:1;display:inline-block}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{text-align:center;width:1.28571em}.pi-spin{animation:2s linear infinite fa-spin}@media (prefers-reduced-motion:reduce){.pi-spin{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-iteration-count:1;animation-delay:-1ms}}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/module/temper_rejects/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-primary-50:#f0f9ff;--color-primary-100:#e0f2fe;--color-primary-200:#bae6fd;--color-primary-300:#7dd3fc;--color-primary-400:#38bdf8;--color-primary-500:#0ea5e9;--color-primary-600:#0284c7;--color-primary-700:#0369a1;--color-primary-800:#075985;--color-primary-900:#0c4a6e;--color-primary-950:#082f49;--color-surface-0:#171717;--color-surface-1:#262626;--color-surface-2:#404040;--color-surface-3:#525252;--color-text:#fff;--color-text-muted:#d4d4d4;--color-text-subtle:#a3a3a3;--color-text-faint:#737373;--color-border:#404040;--color-border-subtle:#525252;--color-danger:#ef4444;--color-danger-strong:#dc2626;--color-success:#16a34a;--color-success-strong:#15803d;--color-warning:#d97706;--color-warning-strong:#b45309;--color-info:#0284c7;--color-info-strong:#0369a1;--color-nav-bg:#262626;--color-nav-border:#404040;--color-nav-tab-text:#a3a3a3;--color-nav-tab-hover-bg:#262626;--color-nav-tab-hover-text:#f5f5f5;--color-nav-icon:#a3a3a3;--radius-xs:0px;--radius-sm:2px;--radius-md:2px;--radius-lg:2px;--radius-xl:2px;--radius-2xl:2px;--radius-full:9999px;--shadow-popover:0 1px 6px #00000080;--shadow-modal:0 2px 12px #0009;--font-family-sans:"Inter Variable", ui-sans-serif, system-ui, sans-serif;--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--font-size-base-min:11px;--font-size-base-max:14px;--font-size-base:clamp(11px, 1.4vw, 14px);--breakpoint-hmi-sm:800px;--breakpoint-hmi-md:1024px;--breakpoint-hmi-lg:1280px;--z-overlay:40;--z-popover:45;--z-modal:50;--z-toast:60;--z-fatal:9999;--space-control-y:12px;--space-control-x:20px;--space-control-y-sm:8px;--space-control-x-sm:14px;--space-control-y-lg:16px;--space-control-x-lg:28px;--size-touch-target:44px;--font-size-control:.875rem;--space-field-y:.3rem;--space-field-x:.5rem;--font-size-field:.875rem}:root[data-density=compact]{--space-control-y:8px;--space-control-x:14px;--space-control-y-sm:6px;--space-control-x-sm:10px;--space-control-y-lg:12px;--space-control-x-lg:20px;--size-touch-target:36px;--font-size-control:.8125rem}:root[data-density=touch]{--space-control-y:16px;--space-control-x:28px;--space-control-y-sm:12px;--space-control-x-sm:20px;--space-control-y-lg:20px;--space-control-x-lg:32px;--size-touch-target:56px;--font-size-control:1rem}html:not(.dark){--color-surface-0:#f1f5f9;--color-surface-1:#e2e8f0;--color-surface-2:#cbd5e1;--color-surface-3:#94a3b8;--color-text:#0f172a;--color-text-muted:#334155;--color-text-subtle:#475569;--color-text-faint:#64748b;--color-border:#cbd5e1;--color-border-subtle:#e2e8f0;--color-nav-bg:#e2e8f0;--color-nav-border:#cbd5e1;--color-nav-tab-text:#475569;--color-nav-tab-hover-bg:#cbd5e1;--color-nav-tab-hover-text:#0f172a;--color-nav-icon:#475569}.bar[data-v-f12f1b03]{border:1px solid var(--line);background:linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 70%, transparent));border-radius:var(--r);flex-wrap:wrap;align-items:center;gap:16px;padding:12px 16px;display:flex}.mark[data-v-f12f1b03]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#fff;background:var(--ausschuss);border-radius:var(--r);padding:5px 9px;font-size:.72rem;font-weight:700}.titles[data-v-f12f1b03]{flex-direction:column;line-height:1.15;display:flex}.title[data-v-f12f1b03]{font-size:1rem;font-weight:700}.subtitle[data-v-f12f1b03]{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-size:.6rem}.demo[data-v-f12f1b03]{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--oven);border:1px solid color-mix(in srgb, var(--oven) 50%, transparent);border-radius:var(--r);padding:2px 7px;font-size:.62rem}.spacer[data-v-f12f1b03]{margin-left:auto}.live[data-v-f12f1b03]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-dim);align-items:center;gap:7px;font-size:.68rem;display:flex}.led[data-v-f12f1b03]{background:var(--done);border-radius:50%;width:8px;height:8px;animation:2.4s ease-in-out infinite blink}.clock[data-v-f12f1b03]{color:var(--ink-dim);font-size:.95rem}.rangep[data-v-f12f1b03]{border:1px solid var(--line-2);border-radius:var(--r);display:inline-flex;overflow:hidden}.rl[data-v-f12f1b03]{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint);align-self:center;padding:0 11px;font-size:.62rem}.rangep button[data-v-f12f1b03]{font-family:var(--mono);border:0;border-left:1px solid var(--line);color:var(--ink-dim);cursor:pointer;background:0 0;padding:8px 13px;font-size:.8rem;font-weight:600}.rangep button[data-v-f12f1b03]:hover{background:var(--panel-3);color:var(--ink)}.rangep button[aria-pressed=true][data-v-f12f1b03]{background:var(--ausschuss);color:#fff}.filter[data-v-163a9d23]{border:1px solid var(--line);background:var(--panel);border-radius:var(--r);min-width:190px;padding:12px}.fhd[data-v-163a9d23]{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.ft[data-v-163a9d23]{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-dim);font-size:.7rem}.acts[data-v-163a9d23]{gap:6px;display:flex}.acts button[data-v-163a9d23]{font-family:var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--ink-dim);border:1px solid var(--line-2);border-radius:var(--r);cursor:pointer;background:0 0;padding:3px 8px;font-size:.62rem}.acts button[data-v-163a9d23]:hover{background:var(--panel-3);color:var(--ink)}.plist[data-v-163a9d23]{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.prow[data-v-163a9d23]{border-radius:var(--r);cursor:pointer;width:100%;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:9px;padding:9px 8px;display:flex}.prow[data-v-163a9d23]:hover{background:var(--panel-2)}.prow.on[data-v-163a9d23]{border-color:var(--line-2)}.prow.off[data-v-163a9d23]{opacity:.4}.box[data-v-163a9d23]{border:1.5px solid var(--line-2);border-radius:var(--r);flex:none;justify-content:center;align-items:center;width:18px;height:18px;display:flex}.prow.on .box[data-v-163a9d23]{border-color:var(--done);background:color-mix(in srgb, var(--done) 22%, transparent)}.tick[data-v-163a9d23]{color:var(--done);font-size:.72rem;font-weight:800;line-height:1}.pn[data-v-163a9d23]{font-size:.9rem;font-weight:700}.badge[data-v-163a9d23]{color:var(--ink-dim);background:var(--ground);border:1px solid var(--line);border-radius:var(--r);text-align:center;min-width:24px;margin-left:auto;padding:1px 7px;font-size:.72rem}.belt[data-v-c4b13297]{align-items:flex-start;gap:0;display:flex}.stn[data-v-c4b13297]{flex-direction:column;align-items:center;gap:4px;min-width:58px;display:flex}.badge[data-v-c4b13297]{text-align:center;border-radius:var(--r);background:color-mix(in srgb, var(--ground) 82%, transparent);border:1.5px solid;min-width:30px;padding:3px 7px;font-size:.95rem;font-weight:800;line-height:1}.lbl[data-v-c4b13297]{font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-faint);white-space:nowrap;font-size:.52rem}.conv[data-v-c4b13297]{background:repeating-linear-gradient(90deg, var(--ink-faint) 0 3px, transparent 3px 11px);opacity:.35;background-size:11px 2px;flex:auto;min-width:14px;height:2px;margin-top:13px}.conv.on[data-v-c4b13297]{background:repeating-linear-gradient(90deg, var(--way) 0 3px, transparent 3px 11px);opacity:.85;background-size:11px 2px;animation:1.05s linear infinite flowright}.card[data-v-984c9a2b]{border:1px solid var(--line-2);border-left:3px solid var(--done);background:var(--panel);border-radius:var(--r);padding:0;overflow:hidden}.chd[data-v-984c9a2b]{background:var(--panel-3);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:9px 12px;display:flex}.press[data-v-984c9a2b]{font-family:var(--mono);color:var(--ink);background:var(--ground);border:1px solid var(--line-2);border-radius:var(--r);padding:3px 9px;font-size:.9rem;font-weight:800}.ord[data-v-984c9a2b]{flex-direction:column;line-height:1.15;display:flex}.on[data-v-984c9a2b]{font-size:.9rem;font-weight:700}.art[data-v-984c9a2b]{color:var(--ink-dim);font-size:.66rem}.spacer[data-v-984c9a2b]{margin-left:auto}.meta[data-v-984c9a2b]{align-items:baseline;gap:5px;display:flex}.mk[data-v-984c9a2b]{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-size:.55rem}.mv[data-v-984c9a2b]{color:var(--ink);font-size:.8rem}.counts[data-v-984c9a2b]{font-family:var(--mono);font-size:.78rem}.good[data-v-984c9a2b]{color:var(--done);font-weight:700}.scrap[data-v-984c9a2b]{color:var(--ausschuss);font-weight:700}.ck[data-v-984c9a2b]{text-transform:uppercase;color:var(--ink-faint);font-size:.6rem}.dot[data-v-984c9a2b]{color:var(--ink-faint);margin:0 4px}.ago[data-v-984c9a2b]{font-family:var(--mono);color:var(--ink-faint);font-size:.62rem}.belt-wrap[data-v-984c9a2b]{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.book[data-v-984c9a2b]{font-family:var(--sans);color:#fff;background:var(--ausschuss);border-radius:var(--r);min-height:var(--size-touch-target,44px);cursor:pointer;white-space:nowrap;border:0;padding:12px 18px;font-size:.85rem;font-weight:700}.book[data-v-984c9a2b]:hover{filter:brightness(1.12)}.body[data-v-d357a1aa]{flex-direction:column;gap:16px;padding-top:4px;display:flex}.for[data-v-d357a1aa]{font-family:var(--mono);color:var(--ink-dim);margin:0;font-size:.8rem}.fld[data-v-d357a1aa]{flex-direction:column;gap:6px;display:flex}.lab[data-v-d357a1aa]{color:var(--ink);font-size:.8rem;font-weight:600}.lab em[data-v-d357a1aa]{color:var(--ink-faint);font-size:.72rem;font-style:normal}.err[data-v-d357a1aa]{color:var(--ausschuss);font-size:.72rem}.wrap[data-v-03500f9e]{max-width:1240px;margin:0 auto;padding:20px 22px 80px}.layout[data-v-03500f9e]{grid-template-columns:210px 1fr;align-items:start;gap:14px;margin-top:14px;display:grid}.main[data-v-03500f9e]{min-width:0}.list[data-v-03500f9e]{flex-direction:column;gap:10px;display:flex}.state[data-v-03500f9e]{min-height:40vh;color:var(--ink-dim);font-family:var(--mono);border:1px dashed var(--line-2);border-radius:var(--r);justify-content:center;align-items:center;display:flex}.toast[data-v-03500f9e]{background:var(--done);color:#06210f;border-radius:var(--r);z-index:100;padding:12px 20px;font-size:.9rem;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0006}.toast.err[data-v-03500f9e]{background:var(--ausschuss);color:#fff}.fade-enter-active[data-v-03500f9e],.fade-leave-active[data-v-03500f9e]{transition:opacity .2s}.fade-enter-from[data-v-03500f9e],.fade-leave-to[data-v-03500f9e]{opacity:0}@media (width<=820px){.layout[data-v-03500f9e]{grid-template-columns:1fr}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=800px){.container{max-width:800px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform\!{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)!important}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}:root{--ground:#11151b;--panel:#1a212a;--panel-2:#222b36;--panel-3:#2a3542;--line:#2c3641;--line-2:#3a4654;--ink:#e8edf2;--ink-dim:#97a3b1;--ink-faint:#5a6573;--press:#a78bfa;--way:#22d3ee;--transit:#fbbf24;--oven:#f97316;--hot:#ef4444;--done:#34d399;--ausschuss:#c4162a;--o1:#5794f2;--o2:#e8825a;--o3:#b57edc;--o4:#4fb7a8;--r:2px;--sans:var(--font-family-sans,"Inter Variable", ui-sans-serif, system-ui, sans-serif);--mono:var(--font-family-mono,ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace)}html:not(.dark){--ground:#f1f5f9;--panel:#e2e8f0;--panel-2:#cbd5e1;--panel-3:#94a3b8;--line:#cbd5e1;--line-2:#94a3b8;--ink:#0f172a;--ink-dim:#475569;--ink-faint:#64748b;--press:#6d28d9;--way:#0e7490;--transit:#b45309;--oven:#c2410c;--hot:#dc2626;--done:#15803d;--ausschuss:#a11223}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:clamp(13px,1.6vw,16px);font-family:var(--sans)}body{color:var(--ink);-webkit-font-smoothing:antialiased;background:radial-gradient(1300px 700px at 72% -12%, #182230 0%, transparent 58%), var(--ground);margin:0;line-height:1.5}html:not(.dark) body{background:radial-gradient(1300px 700px at 72% -12%, #e2e8f0 0%, transparent 58%), var(--ground)}.num{font-family:var(--mono);font-variant-numeric:tabular-nums}@keyframes blink{0%,to{opacity:.35}50%{opacity:1}}@keyframes flowright{to{background-position:11px 0}}@media (prefers-reduced-motion:reduce){*{animation:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false} diff --git a/dist/index.html b/dist/index.html index c8b40b2..566ceff 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,18 +1,18 @@ - - - - - - - Ausschuss-Station - - - - -
- - + + + + + + + Ausschuss-Station + + + + +
+ + diff --git a/src/stores/temperRejects.ts b/src/stores/temperRejects.ts index 68b581f..d3e2012 100644 --- a/src/stores/temperRejects.ts +++ b/src/stores/temperRejects.ts @@ -1,5 +1,6 @@ import { defineStore } from 'pinia' import { ref, computed } from 'vue' +import axios from 'axios' import api from '@/api' import { sampleStation, SAMPLE_REASONS } from '@/data/sample' import type { StationPayload, Reason, RejectRequest, RejectResult, WindowCode } from '@/types/station' @@ -76,9 +77,15 @@ export const useTemperRejectsStore = defineStore('temperRejects', () => { payload.value = res.data usingSample.value = res.data.sample === true } catch (e) { - payload.value = sampleStation(window.value) - usingSample.value = true - error.value = e instanceof Error ? e.message : 'Overview API unreachable — showing sample data' + error.value = e instanceof Error ? e.message : 'Overview API unreachable' + // Keep the last known REAL data on a transient failure (stale > fabricated): never + // replace live carts with bundled demo carts on a live terminal, or an operator + // could book against a fabricated entry. Only fall back to sample on a COLD start + // with nothing to show (dev standalone, where there is no gateway). + if (!payload.value || usingSample.value) { + payload.value = sampleStation(window.value) + usingSample.value = true + } } finally { // Default the filter to ALL presses on first load (Alle). "Keine" stays a // valid explicit state afterwards, so only auto-fill once. @@ -122,7 +129,8 @@ export const useTemperRejectsStore = defineStore('temperRejects', () => { saveCache() } - /** Book one reject. Real gateway writes a row; dev/no-backend simulates success. */ + /** Book one reject. Returns the gateway's own {success} verdict. NEVER fakes success: + * on this live, login-free terminal an unconfirmed write must not read as booked. */ async function submitReject(req: RejectRequest): Promise { try { const res = await api.post('/reject', req) @@ -130,9 +138,17 @@ export const useTemperRejectsStore = defineStore('temperRejects', () => { if (res.data.success) await refresh() return res.data } - throw new Error('bad response') - } catch { - return { success: true, sample: true, message: 'Ausschuss gebucht (Demo — kein Backend)' } + // Reachable but unexpected shape (e.g. a dev SPA fallback serving index.html) → + // treat as NOT booked. + return { success: false, error: 'bad_response' } + } catch (e) { + // The gateway returns HTTP 200 + {success:false} for refusals/write failures, so a + // throw here is a genuine transport failure (backend unreachable / timeout) or a + // non-2xx carrying a body. Prefer the server's own {success:false}; otherwise report + // a transport failure. Either way, do NOT report success for an unconfirmed write. + const data = axios.isAxiosError(e) ? (e.response?.data as RejectResult | undefined) : undefined + if (data && typeof data === 'object' && 'success' in data) return data + return { success: false, error: 'unreachable' } } } diff --git a/src/views/RejectStationPage.vue b/src/views/RejectStationPage.vue index ac6a6d6..697e733 100644 --- a/src/views/RejectStationPage.vue +++ b/src/views/RejectStationPage.vue @@ -25,10 +25,12 @@ const { window, reasons, allPresses, checkedPresses, pressCounts, filteredEntrie const bookingEntry = ref(null) const submitting = ref(false) const toast = ref(null) +const toastOk = ref(true) let toastTimer: ReturnType | null = null -function flashToast(msg: string) { +function flashToast(msg: string, ok = true) { toast.value = msg + toastOk.value = ok if (toastTimer) clearTimeout(toastTimer) toastTimer = setTimeout(() => (toast.value = null), 3200) } @@ -39,9 +41,10 @@ async function onSubmit(req: RejectRequest) { submitting.value = false if (res.success) { bookingEntry.value = null - flashToast(res.message || t('dialog.success')) + flashToast(res.message || t('dialog.success'), true) } else { - flashToast(res.message || t('dialog.failed')) + // keep the dialog open so the operator can retry a booking that did NOT go through + flashToast(res.message || t('dialog.failed'), false) } } @@ -81,7 +84,7 @@ onUnmounted(() => { -
{{ toast }}
+
{{ toast }}
@@ -131,6 +134,10 @@ onUnmounted(() => { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); z-index: 100; } +.toast.err { + background: var(--ausschuss); + color: #fff; +} .fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease;