Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

feat(mobile): React Native + Expo app — MVP (auth, dashboard, weight) + shared core (#62)

Carter454e2ca794a7
diff --git a/.github/workflows/eas-build.yml b/.github/workflows/eas-build.yml
new file mode 100644
index 0000000..91c7fec
--- /dev/null
+++ b/.github/workflows/eas-build.yml
@@ -0,0 +1,154 @@
+# EAS Build — produces installable app binaries for the Expo app.
+#
+# Two paths (matching how OSS Expo apps ship):
+# • TESTERS → run this workflow manually (Actions → Run workflow). EAS builds an
+# Android APK; you install it from the build's expo.dev page (download link + QR).
+# • PUBLIC → push a `mobile-v*` tag. EAS builds the APK, and CI attaches it to a
+# GitHub Release (a permanent, public "Download for Android" asset).
+#
+# Native builds are slow + consume EAS quota, so this is SEPARATE from mobile-ci.yml and
+# never runs per-PR.
+#
+# ── One-time setup (required before the first run) ────────────────────────────────────
+# 1. `cd mobile && npx eas login` then `npx eas init` (links an EAS project; writes
+# extra.eas.projectId + owner into app.json — commit that change).
+# 2. Create an Expo access token at https://expo.dev → Account Settings → Access Tokens
+# (a dedicated "CI"/robot token is best practice), then add it in GitHub:
+# Repo → Settings → Secrets and variables → Actions → New secret → name: EXPO_TOKEN.
+# Android internal builds auto-generate a keystore in CI (no interactive step needed);
+# iOS internal builds additionally need registered device UDIDs.
+name: EAS Build
+
+on:
+ workflow_dispatch:
+ inputs:
+ platform:
+ description: Platform to build
+ type: choice
+ default: android
+ options: [android, ios, all]
+ profile:
+ description: EAS build profile
+ type: choice
+ default: preview
+ options: [preview, production]
+ push:
+ tags:
+ - 'mobile-v*' # mobile releases use their own tag namespace (web/backend use v*)
+
+# Don't run overlapping builds for the same ref — queue them instead of burning quota.
+concurrency:
+ group: eas-build-${{ github.ref }}
+ cancel-in-progress: false
+
+# Least privilege by default; the release job opts up to contents:write below.
+permissions:
+ contents: read
+
+jobs:
+ # On-demand tester build → the APK lives on the EAS build page (install link + QR).
+ tester-build:
+ if: github.event_name == 'workflow_dispatch'
+ name: EAS ${{ github.event.inputs.profile }} (${{ github.event.inputs.platform }})
+ runs-on: ubuntu-latest
+ timeout-minutes: 20
+ steps:
+ - name: Require EXPO_TOKEN
+ env:
+ EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
+ run: |
+ if [ -z "$EXPO_TOKEN" ]; then
+ echo "::error::EXPO_TOKEN secret is not set — see this workflow's header for one-time setup."
+ exit 1
+ fi
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+ cache-dependency-path: package-lock.json
+ - uses: expo/expo-github-action@v8
+ with:
+ eas-version: latest
+ token: ${{ secrets.EXPO_TOKEN }}
+ - run: npm ci
+ - name: EAS build (queue, don't hold the runner)
+ working-directory: mobile
+ run: |
+ eas build \
+ --platform ${{ github.event.inputs.platform }} \
+ --profile ${{ github.event.inputs.profile }} \
+ --non-interactive \
+ --no-wait
+
+ # Tagged release → wait for the Android APK, then attach it to a GitHub Release.
+ release-apk:
+ if: github.event_name == 'push'
+ name: Release Android APK
+ runs-on: ubuntu-latest
+ timeout-minutes: 45 # waits for the full EAS build, then attaches the APK
+ permissions:
+ contents: write # create/update the GitHub Release + upload the asset
+ steps:
+ - name: Require EXPO_TOKEN
+ env:
+ EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
+ run: |
+ if [ -z "$EXPO_TOKEN" ]; then
+ echo "::error::EXPO_TOKEN secret is not set — see this workflow's header for one-time setup."
+ exit 1
+ fi
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+ cache-dependency-path: package-lock.json
+ - uses: expo/expo-github-action@v8
+ with:
+ eas-version: latest
+ token: ${{ secrets.EXPO_TOKEN }}
+ - run: npm ci
+
+ # Build with the `preview` profile: distribution:internal → a signed, installable
+ # APK (production builds an AAB store bundle, which isn't directly side-loadable).
+ # No --no-wait here: we need the finished artifact to attach to the Release.
+ - name: Build APK on EAS and capture the artifact URL
+ working-directory: mobile
+ run: |
+ eas build -p android --profile preview --non-interactive --json > build.json
+ node -e '
+ const fs = require("fs");
+ const raw = JSON.parse(fs.readFileSync("build.json", "utf8"));
+ const b = Array.isArray(raw) ? raw[0] : raw;
+ // Robust to EAS CLI field renames: deep-scan the build object for any https URL
+ // whose path ends in .apk, and fall back to the known artifact fields.
+ const found = [];
+ (function walk(v) {
+ if (typeof v === "string") { if (/^https:\/\/\S+\.apk(\?|$)/i.test(v)) found.push(v); }
+ else if (v && typeof v === "object") { for (const k of Object.keys(v)) walk(v[k]); }
+ })(b);
+ const url = found[0] || b?.artifacts?.applicationArchiveUrl || b?.artifacts?.buildUrl;
+ if (!url) {
+ console.error("No APK URL found. Full build object:\n" + JSON.stringify(b, null, 2));
+ process.exit(1);
+ }
+ fs.appendFileSync(process.env.GITHUB_ENV, `APK_URL=${url}\n`);
+ console.log("APK URL:", url);
+ '
+
+ - name: Download the APK
+ run: curl -fL -o "lyftr-${{ github.ref_name }}.apk" "$APK_URL"
+
+ - name: Attach APK to the GitHub Release
+ uses: softprops/action-gh-release@v2
+ with:
+ files: lyftr-${{ github.ref_name }}.apk
+ generate_release_notes: true
+ body: |
+ ### Android (side-load)
+ Download `lyftr-${{ github.ref_name }}.apk` below. On your phone, open it and
+ allow "install from unknown sources" if prompted.
+
+ > iOS is distributed via TestFlight / the App Store (Apple doesn't allow
+ > side-loading), so it isn't attached here.
diff --git a/.github/workflows/mobile-ci.yml b/.github/workflows/mobile-ci.yml
new file mode 100644
index 0000000..8a92c7d
--- /dev/null
+++ b/.github/workflows/mobile-ci.yml
@@ -0,0 +1,60 @@
+# Mobile CI — typecheck + lint + unit/component tests for the Expo app and the shared
+# package. Separate from ci.yml (backend + web + Docker/Fly) and path-filtered so it only
+# runs when mobile/shared/workspace-root files change; a backend- or web-only PR skips it.
+name: Mobile CI
+
+on:
+ push:
+ branches: ['**']
+ paths:
+ - 'mobile/**'
+ - 'packages/shared/**'
+ - 'package.json'
+ - 'package-lock.json'
+ - '.github/workflows/mobile-ci.yml'
+ pull_request:
+ branches: [main]
+ paths:
+ - 'mobile/**'
+ - 'packages/shared/**'
+ - 'package.json'
+ - 'package-lock.json'
+ - '.github/workflows/mobile-ci.yml'
+
+# Least privilege — these checks only read the repo (no token write scope).
+permissions:
+ contents: read
+
+# A newer push to the same branch/PR cancels the in-flight run (saves CI minutes and
+# never leaves a stale result as the "latest").
+concurrency:
+ group: mobile-ci-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ mobile:
+ name: Mobile + shared checks
+ runs-on: ubuntu-latest
+ timeout-minutes: 20
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+ # Root workspace lockfile — installs mobile + packages/shared together. (ci.yml's
+ # web job keys on web/package-lock.json, a deliberately separate install.)
+ cache-dependency-path: package-lock.json
+
+ # One workspace install covers mobile + packages/shared.
+ - run: npm ci
+
+ # --- packages/shared (jest + tsc, previously ungated) ---
+ - run: npm run shared:type-check
+ - run: npm run shared:test
+
+ # --- mobile (Expo app) ---
+ - run: npm run type-check -w @lyftr/mobile
+ - run: npm run lint -w @lyftr/mobile
+ - run: npm run test -w @lyftr/mobile -- --ci
diff --git a/.gitignore b/.gitignore
index d07010c..0f52b17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,3 +59,6 @@ web/e2e/.auth/
web/test-results/
web/playwright-report/
.playwright-mcp/
+
+# Local Fable/Sonnet porting specs (working artifacts, not committed)
+.workouts-port/
diff --git a/mobile/.gitignore b/mobile/.gitignore
new file mode 100644
index 0000000..9912023
--- /dev/null
+++ b/mobile/.gitignore
@@ -0,0 +1,24 @@
+# Expo / RN build + local artifacts
+node_modules/
+.expo/
+dist/
+web-build/
+*.orig.*
+
+# Native projects generated by prebuild (we use managed workflow + EAS)
+/ios
+/android
+
+# Metro
+.metro-health-check*
+
+# Debug / env
+npm-debug.*
+*.log
+.env*.local
+
+# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
+# The following patterns were generated by expo-cli
+
+expo-env.d.ts
+# @end expo-cli
\ No newline at end of file
diff --git a/mobile/CONVENTIONS.md b/mobile/CONVENTIONS.md
new file mode 100644
index 0000000..fd06348
--- /dev/null
+++ b/mobile/CONVENTIONS.md
@@ -0,0 +1,167 @@
+# Lyftr Mobile — Conventions
+
+Read this before touching `mobile/`. It is the native analog of the web app's
+conventions: same design language, same tokens, same component names — expressed in
+React Native / Expo idioms. When in doubt, open `web/src/components/ui/` and mirror it.
+
+## 1. Reuse boundary — logic is shared, UI is per-platform
+
+- **Logic lives in `@lyftr/shared`** and is *imported, never duplicated*: types, the
+ API client, Zustand stores, and pure utils (`displayWeight`, `normalizeServerUrl`,
+ `testServerConnection`, ...). If you're about to write a type, a fetch, or a
+ unit-conversion in `mobile/`, stop — it belongs in `packages/shared`.
+- **UI is authored per-platform**, but mirror the web's component names and prop
+ shapes wherever an analog exists (`PageHeader`, `SectionHeader`, `SegmentedControl`,
+ `EmptyState`, `IconButton`, `StepperTile` + `NumberField`, ...), adapted to RN
+ idioms: `onPress` not `onClick`, `TextInputProps` not input attributes,
+ `accessibilityLabel` not `aria-label`. The two apps must stay legible to each other.
+- **Don't re-roll primitives.** Read `src/components/ui/` first; if a screen needs a
+ visual pattern twice, extract it there.
+
+## 2. Styling rule (the one rule to remember)
+
+**Default: NativeWind `className`**, using the shared token vocabulary — identical to
+the web's: `bg-surface-{base,raised,overlay,border,muted}`, `text-tx-{primary,
+secondary,muted,inverse}`, `bg-brand-500`, `text-error-400`, `border-surface-border`,
+opacity modifiers like `bg-brand-500/10`. These resolve from CSS variables
+(`global.css`) and flip with the theme automatically.
+
+**Inline `style` + `useTheme().colors|brand` is required only where className can't
+reach.** The narrow, exhaustive exceptions:
+
+1. **Animation-driven values** — anything fed by Reanimated / `Animated`
+ (`useAnimatedStyle`, interpolations). See `Field.tsx`, `authui.tsx`.
+2. **Gradients** — `expo-linear-gradient` takes a `colors` prop, use
+ `useTheme().brand.gradient`.
+3. **SVG / icon props** — `lucide-react-native` `color`, `react-native-svg`
+ `stroke`/`fill` are component props, not styles.
+4. **Values NativeWind can't express** — `fontVariant: ['tabular-nums']`, measured
+ layout math, `shadowColor` glows, platform-conditional numbers.
+
+**Litmus test:** *if the value changes every frame, or is passed as a component prop
+rather than a style, theme it inline via `useTheme()`; everything else is
+`className`.*
+
+The auth screens (`authui.tsx`, `AuthScaffold.tsx`, `(auth)/*`) are grandfathered
+100%-inline — they are working, Fabric-tuned code. Don't churn them to match this
+rule; do follow the rule in everything new.
+
+## 3. Theming
+
+- **Always go through tokens** — `className` tokens or `useTheme()` (`colors`,
+ `brand`, `accent`). Never hard-code hex. `accent` exists because raw brand cyan is
+ illegible on light surfaces: it resolves to `cyanEdge` (light) / `cyanLight` (dark).
+- Soft red (`errorSoft`/`error-400`) reads on dark but washes out on light — pick via
+ `isDark` (see `AuthError`, `IconButton`'s danger variant).
+- **Known debt** (hard-coded hex to migrate to tokens when next touched — don't fix
+ drive-by): `AuthScaffold` gradient `#00b8d9/#8b5cf6` → `brand.gradient`;
+ `WeightChart` stroke `#00b8d9` → `brand.cyan`; `authui` `LABEL_COLOR #94a3b8`;
+ `weight.tsx` `Trash2 #f87171`; `RefreshControl tintColor #00b8d9` (dashboard) and
+ the `_layout.tsx` ActivityIndicator.
+
+## 4. Typography — use the primitives, or the fonts don't render
+
+The brand fonts (Outfit for display, Plus Jakarta Sans for body) are loaded
+**per-weight** in `app/_layout.tsx` — each weight is its own `fontFamily`
+(`Outfit_700Bold`, `PlusJakartaSans_600SemiBold`, ...). Tailwind's `font-bold` sets
+`fontWeight`, which does **not** select those families: bare `font-bold` /
+`font-semibold` text silently renders in the *system* font.
+
+Therefore:
+
+- **All text goes through `src/components/ui/Typography.tsx`** — `AppText` (variant +
+ color props) or its wrappers `Heading`, `Body`, `Label`, `Numeric`, plus the legacy
+ `H1` / `Muted`.
+- **Bare `font-bold`/`font-semibold` on brand text is forbidden.** Inside `ui/`
+ primitives, use the family classes (`font-display`, `font-display-heavy`,
+ `font-sans`, `font-sans-semibold`, `font-sans-bold`, `font-sans-heavy`) from
+ `tailwind.config.js`.
+- Scale: `display` 28 / `title` 24 (page H1) / `heading` 18 (Outfit); `subheading` 14 /
+ `body` 15 / `bodySemibold` 15 / `caption` 12 / `label` 11-uppercase (Jakarta);
+ `numeric` 30 tabular (Outfit 800) for metric values.
+- The web uses JetBrains Mono for numerics; mobile approximates with Outfit +
+ `tabular-nums` rather than loading a third family (debt: revisit if numbers ever
+ need true mono).
+- Don't stack a size class on a sized variant (`<AppText variant="body"
+ className="text-xs">`) — two `fontSize` classes leave the winner to stylesheet
+ order. Pick the right variant; `Muted` intentionally has no size so its callers'
+ `text-xs` keeps working.
+
+## 5. Component authoring
+
+- One component per file in `src/components/ui/`, **named exports**, re-exported from
+ the barrel `index.ts` (screens import the folder: `../../src/components/ui`).
+- Props declared as `interface Props` (exported only when a consumer needs the type).
+- **WHY-comments**: explain the *why* (Fabric quirks, contrast decisions, layout
+ constraints), never narrate the what.
+- Strict TS, no `any`. Generic where it pays (`SegmentedControl<T extends string>`).
+- Naming: PascalCase components, camelCase utils, hooks in `src/hooks/` with a `use`
+ prefix. Hooks ported from web keep the web name and a "port of web/... keep in
+ sync" header (`useNumericText`).
+- Icons: `lucide-react-native`, typed as `LucideIcon`, passed as the component
+ (`icon={Trash2}`), sized via `size` prop.
+
+## 6. Native-feel checklist
+
+Hard-won on Fabric — violating these produces bugs that are expensive to rediscover:
+
+1. **Never trigger a React re-render from a `TextInput`'s own `onFocus`** (e.g.
+ `setFocused(true)`). On the New Architecture the re-render immediately re-blurs
+ the input — keyboard flashes up, then dismisses. Drive focus styling (border/glow)
+ off a **Reanimated shared value** (UI thread, zero re-renders). Reference
+ implementations: `ui/Field.tsx`, `authui.tsx` `IconInput`. This applies to any
+ focus-reactive input you ever write.
+2. **Keyboard + ScrollView:** use the ScrollView's own
+ `automaticallyAdjustKeyboardInsets` + `keyboardShouldPersistTaps="handled"`, *not*
+ `KeyboardAvoidingView` — its `padding` behavior fights the auto-inset and can
+ bounce the tapped input out from under the touch. Keep `Animated.event` scroll
+ handlers in a `useRef` so re-renders don't re-attach native listeners mid-focus
+ (see `AuthScaffold`).
+3. **Press feedback, haptics, safe areas:** every tappable gets `active:scale-95`
+ (or an `active:` background). Meaningful actions get `expo-haptics` —
+ `selectionAsync()` for choice changes (pills, segments), `impactAsync(Light)` for
+ steppers; always `.catch(() => {})` (no-op platforms). Safe areas via
+ `react-native-safe-area-context` only (`Screen` handles the top edge; tab bar /
+ keyboard own the bottom).
+
+**State conventions:** empty lists render `EmptyState` (never a bare string); form /
+request errors render a boxed alert (`authui`'s `AuthError` pattern: soft error bg,
+error border, `AlertCircle`) or `Field`'s `error` prop inline; transient success /
+progression feedback uses Toast (to-build, mirror web's: icon chip + title +
+description, auto-dismiss ~4s, docked above the tab bar); loading uses the control's
+own `loading` prop (`Button`) or a pull-to-refresh `RefreshControl` — not full-screen
+spinners for partial data. **Full-screen initial load** (a screen's first data fetch)
+renders `<Loading />` — the ported barbell rig — via `if (initialLoading) return
+<Loading />`, matching web; a small inline `ActivityIndicator` (brand color) is still
+right for in-place spots like pagination footers and picker lists. **Confirmations (destructive or otherwise) use
+`ConfirmSheet`, not `Alert.alert`** — a `[pending, setPending]` state drives
+`open`/`busy`; it mirrors web's portal bottom sheet and stays on-theme (the OS Alert
+was an interim stand-in).
+
+## 7. Web → mobile component map
+
+| Web `components/ui/` | Mobile `components/ui/` | Status |
+| --- | --- | --- |
+| `IconButton` | `IconButton` | built |
+| `SegmentedControl` | `SegmentedControl` | built |
+| `NumberField` (+ `useNumericText`) | `NumberField` (+ `src/hooks/useNumericText`) | built |
+| `PageHeader` | `PageHeader` | built |
+| `SectionHeader` | `SectionHeader` | built |
+| `StepperTile` | `StepperTile` | built |
+| `EmptyState` | `EmptyState` | built |
+| `Toast` | `Toast` | built |
+| `DateInput` | `DateInput` | built (wraps `@react-native-community/datetimepicker`; value stays `YYYY-MM-DD`) |
+| — (bottom-sheet shell) | `Sheet` | built (**base primitive** — scrim-fade + slide-up, root insets, grabber; `SHEET_ANIM_MS` for follow-up timing. Build new sheets on this, don't re-derive the chrome) |
+| portal confirm sheet (per page) | `ConfirmSheet` | built on `Sheet`; **use instead of `Alert.alert` for confirms** — icon badge + centered copy + Cancel/confirm |
+| mobile kebab (⋮) → portal menu | `ActionSheet` | built on `Sheet`; slide-up options menu, `actions: SheetAction[]` (icon/label/`destructive`), `layout='stack'\|'row'`, optional rich `header` slot (item preview); fires each onPress after dismiss so a follow-up sheet doesn't overlap |
+| — (semantic action presets) | `editAction` / `deleteAction` | built (`sheetActions.ts`) — factories returning a `SheetAction` so a menu's Edit/Delete are defined once (icon + intent + default label). Prefer these over inline `{ icon, destructive, label }`; add a preset when an action recurs. Keeps primitives free of app concepts (no `kind` enum, no per-action components) |
+| `Loading` (barbell rig) | `Loading` | built (full-screen initial-load state; barbell dips/flexes + rep-dot chase, Reanimated. `if (initialLoading) return <Loading />`, same as web) |
+| `.card` CSS class | `Card` | built |
+| `.btn` CSS classes | `Button` | built |
+| `.input` / `.label` CSS classes | `Field` | built (focus-glow, Fabric-safe) |
+| — (web uses raw text) | `Typography` (`AppText`, `Heading`, `Body`, `Label`, `Numeric`, `H1`, `Muted`) | built, mobile-only |
+| — | `Screen`, `Section`, `Stat`, `OptionPill`, `ListRow` | built, mobile-only |
+
+Screens have not been migrated onto the new primitives yet (`Section`/`Stat`/
+`OptionPill`/`ListRow` duplicate patterns still inlined in `(tabs)/*`) — adopt them
+as screens are next touched.
diff --git a/mobile/README.md b/mobile/README.md
new file mode 100644
index 0000000..87437ba
--- /dev/null
+++ b/mobile/README.md
@@ -0,0 +1,46 @@
+# Lyftr Mobile (React Native + Expo)
+
+Universal (iOS + iPad + Android) app for Lyftr. Shares its logic — types, API client,
+Zustand stores — with the web app via [`@lyftr/shared`](../packages/shared). UI is native
+(SwiftUI/Kotlin-backed RN primitives), styled with NativeWind.
+
+## Stack
+- **Expo (SDK 52)** + **expo-router** (file-based routes in `app/`)
+- **NativeWind** (Tailwind for RN) — tokens ported from the web `tailwind.config.ts`
+- **@lyftr/shared** — the platform-agnostic core (storage-injected)
+- **expo-secure-store** (tokens → Keychain) + **AsyncStorage** (prefs)
+- **react-native-svg** (charts), **lucide-react-native** (icons)
+- **expo-camera** (barcode, later), **expo-haptics** (rest timer, later)
+
+## Run it (development)
+From the **repo root** (npm workspaces):
+```bash
+npm install # installs shared + mobile
+npx expo install --fix # (in mobile/) align native module versions to the SDK
+cd mobile && npx expo start # Metro dev server
+```
+Then on your **phone**: open **Expo Go**, connect over Wi‑Fi / **Tailscale** (or
+`npx expo start --tunnel`), and scan the QR. Once native modules (SecureStore, camera,
+haptics) are in play, build a **dev client** instead of Expo Go:
+```bash
+eas build --profile development --platform ios # cloud build, no Mac needed
+```
+
+On a **laptop**: `npx expo start --web` (quick UI checks), or press `i` (iOS Simulator,
+Mac only) / `a` (Android emulator).
+
+## Point at your backend
+The **Server URL** field in the Settings tab configures the backend origin (validated via
+`GET /api/v1/info`). Leave blank for the default. For the VM dev backend use the LAN IP or
+the Tailscale URL, e.g. `https://claude-code.tail2b1098.ts.net:3000`. Demo login:
+`[email protected]` / `password123`.
+
+## MVP scope (this PR)
+Auth (login/register) → Dashboard summary → Weight (log / list / delete + trend chart).
+Later: Food + barcode, Workouts + active session, Programs, gym mode, and the first Swift
+native module (lock-screen rest-timer Live Activity).
+
+## Cloud builds
+```bash
+eas build -p ios # / -p android — installable binaries, no local Mac required
+```
diff --git a/mobile/app.json b/mobile/app.json
new file mode 100644
index 0000000..8100230
--- /dev/null
+++ b/mobile/app.json
@@ -0,0 +1,70 @@
+{
+ "expo": {
+ "name": "Lyftr",
+ "slug": "lyftr",
+ "scheme": "lyftr",
+ "version": "0.1.0",
+ "orientation": "portrait",
+ "userInterfaceStyle": "automatic",
+ "newArchEnabled": true,
+ "backgroundColor": "#070d1a",
+ "icon": "./assets/icon.png",
+ "assetBundlePatterns": [
+ "**/*"
+ ],
+ "ios": {
+ "supportsTablet": true,
+ "bundleIdentifier": "local.lyftr.app",
+ "infoPlist": {
+ "NSCameraUsageDescription": "Lyftr uses the camera to scan food barcodes so you can log nutrition quickly."
+ }
+ },
+ "android": {
+ "package": "local.lyftr.app",
+ "adaptiveIcon": {
+ "foregroundImage": "./assets/adaptive-icon.png",
+ "backgroundColor": "#0d1629"
+ },
+ "permissions": [
+ "android.permission.CAMERA"
+ ]
+ },
+ "web": {
+ "bundler": "metro",
+ "output": "single",
+ "favicon": "./assets/favicon.png"
+ },
+ "plugins": [
+ "expo-router",
+ "expo-secure-store",
+ [
+ "expo-camera",
+ {
+ "cameraPermission": "Lyftr uses the camera to scan food barcodes so you can log nutrition quickly.",
+ "recordAudioAndroid": false
+ }
+ ],
+ [
+ "expo-splash-screen",
+ {
+ "image": "./assets/splash-icon.png",
+ "imageWidth": 160,
+ "resizeMode": "contain",
+ "backgroundColor": "#070d1a"
+ }
+ ],
+ "expo-font",
+ "@react-native-community/datetimepicker"
+ ],
+ "experiments": {
+ "typedRoutes": true
+ },
+ "extra": {
+ "router": {},
+ "eas": {
+ "projectId": "0025f81b-fbc5-4bd1-8b12-521725e1425a"
+ }
+ },
+ "owner": "cwlumm"
+ }
+}
diff --git a/mobile/app/(auth)/_layout.tsx b/mobile/app/(auth)/_layout.tsx
new file mode 100644
index 0000000..317aa8b
--- /dev/null
+++ b/mobile/app/(auth)/_layout.tsx
@@ -0,0 +1,12 @@
+import { Stack } from 'expo-router'
+
+export default function AuthLayout() {
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: { backgroundColor: '#070d1a' },
+ }}
+ />
+ )
+}
diff --git a/mobile/app/(auth)/login.tsx b/mobile/app/(auth)/login.tsx
new file mode 100644
index 0000000..0c66c67
--- /dev/null
+++ b/mobile/app/(auth)/login.tsx
@@ -0,0 +1,80 @@
+import { useState } from 'react'
+import { Text, View, Linking } from 'react-native'
+import { Link } from 'expo-router'
+import { AuthScaffold } from '../../src/components/AuthScaffold'
+import { IconInput, GradientButton, SecondaryButton, AuthDivider, AuthError, ServerRow, Footer } from '../../src/components/authui'
+import { useAuthStore } from '../../src/lib/lyftr'
+import { useTheme } from '../../src/theme/useTheme'
+
+// Public hosted demo (Fly) — the "Try demo account" button opens it in the browser.
+const DEMO_URL = 'https://lyftr-demo.fly.dev'
+
+// Same intent as the web's <input type=email required>: a lightweight shape check,
+// not RFC validation — the server has the final say.
+const EMAIL_RE = /^\S+@\S+\.\S+$/
+
+export default function Login() {
+ const [email, setEmail] = useState('')
+ const [password, setPassword] = useState('')
+ const [localError, setLocalError] = useState<string | null>(null)
+ const login = useAuthStore((s) => s.login)
+ const loading = useAuthStore((s) => s.isLoading)
+ const error = useAuthStore((s) => s.error)
+ const clearError = useAuthStore((s) => s.clearError)
+ const { accent, colors } = useTheme()
+
+ // Clear both the client-side and the server error when a field is edited.
+ const onChange = (setter: (t: string) => void) => (t: string) => {
+ clearError()
+ setLocalError(null)
+ setter(t)
+ }
+
+ // Validate only on submit (not while typing): the browser's `required`/`type=email`
+ // equivalent, surfaced as an error after the user presses Sign in.
+ const submit = async () => {
+ if (!EMAIL_RE.test(email.trim())) { setLocalError('Enter a valid email address'); return }
+ if (!password) { setLocalError('Enter your password'); return }
+ setLocalError(null)
+ try { await login(email.trim(), password) } catch {}
+ }
+ const demo = () => {
+ Linking.openURL(DEMO_URL).catch(() => {})
+ }
+
+ const shownError = localError || error
+
+ return (
+ <AuthScaffold heading="Welcome back" subtitle="Sign in to continue training.">
+ <ServerRow />
+ <IconInput
+ label="Email"
+ icon="mail"
+ value={email}
+ onChangeText={onChange(setEmail)}
+ keyboardType="email-address"
+ placeholder="[email protected]"
+ />
+ <IconInput
+ label="Password"
+ icon="lock"
+ password
+ value={password}
+ onChangeText={onChange(setPassword)}
+ placeholder="••••••••"
+ />
+ {shownError ? <AuthError message={shownError} /> : null}
+ <GradientButton title="Sign in" onPress={submit} loading={loading} />
+ <AuthDivider />
+ <SecondaryButton title="Try demo account" hint="no sign-up" onPress={demo} />
+ <Footer>
+ <View style={{ flexDirection: 'row', gap: 5 }}>
+ <Text style={{ color: colors.txSecondary, fontFamily: 'PlusJakartaSans_600SemiBold', fontSize: 14 }}>New here?</Text>
+ <Link href="/register" style={{ color: accent, fontFamily: 'PlusJakartaSans_800ExtraBold', fontSize: 14 }}>
+ Create account
+ </Link>
+ </View>
+ </Footer>
+ </AuthScaffold>
+ )
+}
diff --git a/mobile/app/(auth)/register.tsx b/mobile/app/(auth)/register.tsx
new file mode 100644
index 0000000..6efe14e
--- /dev/null
+++ b/mobile/app/(auth)/register.tsx
@@ -0,0 +1,82 @@
+import { useState } from 'react'
+import { Text, View } from 'react-native'
+import { Link } from 'expo-router'
+import { AuthScaffold } from '../../src/components/AuthScaffold'
+import { IconInput, GradientButton, AuthError, ServerRow, Footer } from '../../src/components/authui'
+import { useAuthStore } from '../../src/lib/lyftr'
+import { useTheme } from '../../src/theme/useTheme'
+
+// Same intent as the web's <input type=email required>: a lightweight shape check,
+// not RFC validation — the server has the final say.
+const EMAIL_RE = /^\S+@\S+\.\S+$/
+
+export default function Register() {
+ const [email, setEmail] = useState('')
+ const [password, setPassword] = useState('')
+ const [passwordConfirm, setPasswordConfirm] = useState('')
+ // Client-side validation errors (match / length), shown on submit like the web form.
+ const [localError, setLocalError] = useState<string | null>(null)
+ const register = useAuthStore((s) => s.register)
+ const loading = useAuthStore((s) => s.isLoading)
+ const error = useAuthStore((s) => s.error)
+ const clearError = useAuthStore((s) => s.clearError)
+ const { accent, colors } = useTheme()
+
+ const onChange = (setter: (t: string) => void) => (t: string) => {
+ clearError()
+ setLocalError(null)
+ setter(t)
+ }
+
+ // Validate only on submit (not while typing) — same checks, same order, same copy
+ // as web/src/pages/Register.tsx, surfaced after the user presses Create account.
+ const submit = async () => {
+ if (!EMAIL_RE.test(email.trim())) { setLocalError('Enter a valid email address'); return }
+ if (password !== passwordConfirm) { setLocalError('Passwords do not match'); return }
+ if (password.length < 8) { setLocalError('Password must be at least 8 characters'); return }
+ setLocalError(null)
+ try { await register(email.trim(), password) } catch {}
+ }
+
+ const shownError = localError || error
+
+ return (
+ <AuthScaffold heading="Create account" subtitle="Start your training log.">
+ <ServerRow />
+ <IconInput
+ label="Email"
+ icon="mail"
+ value={email}
+ onChangeText={onChange(setEmail)}
+ keyboardType="email-address"
+ placeholder="[email protected]"
+ />
+ <IconInput
+ label="Password"
+ icon="lock"
+ password
+ value={password}
+ onChangeText={onChange(setPassword)}
+ placeholder="At least 8 characters"
+ />
+ <IconInput
+ label="Confirm password"
+ icon="lock"
+ password
+ value={passwordConfirm}
+ onChangeText={onChange(setPasswordConfirm)}
+ placeholder="••••••••"
+ />
+ {shownError ? <AuthError message={shownError} /> : null}
+ <GradientButton title="Create account" onPress={submit} loading={loading} />
+ <Footer>
+ <View style={{ flexDirection: 'row', gap: 5 }}>
+ <Text style={{ color: colors.txSecondary, fontFamily: 'PlusJakartaSans_600SemiBold', fontSize: 14 }}>Have an account?</Text>
+ <Link href="/login" style={{ color: accent, fontFamily: 'PlusJakartaSans_800ExtraBold', fontSize: 14 }}>
+ Sign in
+ </Link>
+ </View>
+ </Footer>
+ </AuthScaffold>
+ )
+}
diff --git a/mobile/app/(tabs)/_layout.tsx b/mobile/app/(tabs)/_layout.tsx
new file mode 100644
index 0000000..0c11dbf
--- /dev/null
+++ b/mobile/app/(tabs)/_layout.tsx
@@ -0,0 +1,44 @@
+import { Tabs } from 'expo-router'
+import { House, Dumbbell, BookOpen, Apple, Scale } from 'lucide-react-native'
+import { useTheme } from '../../src/theme/useTheme'
+
+export default function TabsLayout() {
+ const { colors, brand } = useTheme()
+ return (
+ <Tabs
+ screenOptions={{
+ headerShown: false,
+ tabBarActiveTintColor: brand.cyan,
+ tabBarInactiveTintColor: colors.txMuted,
+ tabBarStyle: {
+ backgroundColor: colors.raised,
+ borderTopColor: colors.border,
+ },
+ }}
+ >
+ <Tabs.Screen
+ name="index"
+ options={{ title: 'Home', tabBarIcon: ({ color, size }) => <House color={color} size={size} /> }}
+ />
+ <Tabs.Screen
+ name="workouts"
+ options={{ title: 'Workouts', tabBarIcon: ({ color, size }) => <Dumbbell color={color} size={size} /> }}
+ />
+ <Tabs.Screen
+ name="programs"
+ options={{ title: 'Programs', tabBarIcon: ({ color, size }) => <BookOpen color={color} size={size} /> }}
+ />
+ <Tabs.Screen
+ name="nutrition"
+ options={{ title: 'Nutrition', tabBarIcon: ({ color, size }) => <Apple color={color} size={size} /> }}
+ />
+ <Tabs.Screen
+ name="weight"
+ options={{ title: 'Weight', tabBarIcon: ({ color, size }) => <Scale color={color} size={size} /> }}
+ />
+ {/* Settings lives off the footer now — reached via the avatar in the Home header.
+ href:null keeps /settings routable while hiding it from the tab bar. */}
+ <Tabs.Screen name="settings" options={{ href: null }} />
+ </Tabs>
+ )
+}
diff --git a/mobile/app/(tabs)/index.tsx b/mobile/app/(tabs)/index.tsx
new file mode 100644
index 0000000..b0227eb
--- /dev/null
+++ b/mobile/app/(tabs)/index.tsx
@@ -0,0 +1,650 @@
+import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
+import { Pressable, RefreshControl, ScrollView, Text, View } from 'react-native'
+import { router, useFocusEffect } from 'expo-router'
+import { LinearGradient } from 'expo-linear-gradient'
+import * as Haptics from 'expo-haptics'
+import {
+ eachDayOfInterval, endOfWeek, format, isSameDay, startOfWeek, subWeeks,
+} from 'date-fns'
+import {
+ Activity, AlertCircle, ArrowRight, Dumbbell, Play, Plus, Scale, Timer, TrendingUp,
+} from 'lucide-react-native'
+import {
+ displayVolume, displayWeight, weightShort,
+ type DailyStats, type WeightLog, type WeightStats, type Workout,
+} from '@lyftr/shared'
+import { AppText, Card, Label, Screen, SectionHeader, SegmentedControl } from '../../src/components/ui'
+import { ExerciseImage } from '../../src/components/workouts/ExerciseImage'
+import {
+ MuscleDonut, MuscleSparkline, VolumeBarChart, WeightSparkline,
+} from '../../src/components/dashboard/DashboardCharts'
+import { QuickWeighInSheet } from '../../src/components/dashboard/QuickWeighInSheet'
+import { DashboardSkeleton } from '../../src/components/dashboard/DashboardSkeleton'
+import { client, useAuthStore, useSettingsStore, useWorkoutSession } from '../../src/lib/lyftr'
+import { muscleColor } from '../../src/utils/exerciseUtils'
+import { useTheme } from '../../src/theme/useTheme'
+
+// Native tap feedback (matches the rest of the app): selection tick for navigations /
+// sheet-opens, a firmer impact for the primary Start action.
+const hSelect = () => Haptics.selectionAsync().catch(() => {})
+const hImpact = () => Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium).catch(() => {})
+
+function greeting(now: Date) {
+ const h = now.getHours()
+ if (h < 12) return 'Good morning'
+ if (h < 17) return 'Good afternoon'
+ return 'Good evening'
+}
+
+// Coerce reps/weight to finite numbers: a set with a missing field would otherwise make
+// the product NaN, which poisons the whole volume sum → NaN bar heights → a hard
+// react-native-svg crash on native (web silently drops NaN geometry).
+const calcVolume = (w: Workout) =>
+ (w.exercises ?? []).reduce(
+ (s, ex) => s + (ex.sets ?? []).reduce((ss, set) => ss + (Number(set.reps) || 0) * (Number(set.weight) || 0), 0),
+ 0
+ )
+
+const DEFAULT_FOOD: DailyStats = {
+ date: '', total_calories: 0, total_protein: 0, total_carbs: 0, total_fat: 0, total_fiber: 0, workout_count: 0,
+}
+
+// recharts-slice colors, ported verbatim from web (donut + legend + sparklines).
+const MUSCLE_HEX: Record<string, string> = {
+ chest: '#f87171', back: '#60a5fa', shoulders: '#818cf8', biceps: '#f472b6', triceps: '#a78bfa',
+ legs: '#34d399', quadriceps: '#34d399', hamstrings: '#6ee7b7', glutes: '#86efac', calves: '#4ade80',
+ core: '#fbbf24', abs: '#fbbf24', forearms: '#fb923c', traps: '#94a3b8', lats: '#38bdf8', 'full body': '#e879f9',
+}
+const muscleHex = (m: string) => MUSCLE_HEX[m?.toLowerCase()] ?? '#6366f1'
+
+const MUSCLE_ROAST: Record<string, string> = {
+ chest: 'All chest, no legs. Classic bro.',
+ back: 'Built like a refrigerator. Respect.',
+ shoulders: "Can't fit through doorways. Good.",
+ biceps: 'Mirror selfies loading…',
+ triceps: 'Horseshoe gang. Handshakes must be terrifying.',
+ legs: "Actually training legs. You're a unicorn.",
+ quadriceps: "Quads for days. Jeans don't stand a chance.",
+ hamstrings: 'Posterior chain warrior. Deadlift god incoming.',
+ glutes: 'Glute guy/gal. We respect the commitment.',
+ calves: 'Calf king/queen. The rarest of all lifters.',
+ core: 'Beach season ready 365 days a year.',
+ abs: 'Six pack incoming. Or already here. Either way.',
+ forearms: 'Popeye called. He wants his arms back.',
+ traps: 'No neck, no problem.',
+ lats: 'Walking around like a cobra. Wings deployed.',
+ 'full body': 'A true all-rounder. Or you just did burpees.',
+}
+const muscleRoast = (m: string) => MUSCLE_ROAST[m?.toLowerCase()] ?? 'Mysterious training patterns. We respect it.'
+
+const VOL_OPTIONS = [
+ { value: '7' as const, label: '7' }, { value: '14' as const, label: '14' }, { value: '30' as const, label: '30' },
+]
+
+function ProgressBar({ pct, color, opacity = 1, className = '' }: { pct: number; color: string; opacity?: number; className?: string }) {
+ const p = Number.isFinite(pct) ? Math.max(0, Math.min(100, pct)) : 0
+ return (
+ <View className={`h-1.5 overflow-hidden rounded-full bg-surface-muted ${className}`}>
+ <View style={{ width: `${p}%`, height: '100%', borderRadius: 999, backgroundColor: color, opacity }} />
+ </View>
+ )
+}
+
+function MuscleBadge({ muscle }: { muscle: string }) {
+ const { colors } = useTheme()
+ const tint = muscleColor(muscle)
+ return (
+ <View className={`self-start rounded px-1.5 py-0.5 ${tint?.chip ?? 'bg-surface-muted'}`}>
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>{muscle}</AppText>
+ </View>
+ )
+}
+
+// Section "See all"/"View" link — a right-aligned brand row with a chevron + haptic.
+function LinkRow({ label, onPress }: { label: string; onPress: () => void }) {
+ const { accent } = useTheme()
+ return (
+ <Pressable onPress={() => { hSelect(); onPress() }} hitSlop={8} className="flex-row items-center gap-0.5 active:opacity-60">
+ <AppText variant="caption" color="brand">{label}</AppText>
+ <ArrowRight size={12} color={accent} />
+ </Pressable>
+ )
+}
+
+export default function Dashboard() {
+ const now = useMemo(() => new Date(), [])
+ const session = useWorkoutSession((s) => s.session)
+ const user = useAuthStore((s) => s.user)
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const unit = settings.weight_unit
+ const wUnit = weightShort(unit)
+ const { colors, accent, brand, isDark } = useTheme()
+
+ // Consistency heatmap cell fill — explicit hex (not NativeWind opacity classes, which
+ // wash out on the light theme + don't render reliably on native): empty is a visible
+ // gray (border, not the near-white `muted`), and workout days are solid cyan that gets
+ // MORE prominent with count on both themes (darker on light, brighter on dark).
+ const heatFill = (count: number, future: boolean) => {
+ if (future) return colors.muted
+ if (count === 0) return colors.border
+ if (count === 1) return isDark ? brand.cyanEdge : brand.cyan
+ return isDark ? brand.cyanLight : brand.cyanEdge
+ }
+
+ const [workouts, setWorkouts] = useState<Workout[]>([])
+ const [food, setFood] = useState<DailyStats>(DEFAULT_FOOD)
+ const [weightLogs, setWeightLogs] = useState<WeightLog[]>([])
+ const [weightStats, setWeightStats] = useState<WeightStats | null>(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState<string | null>(null)
+ const [sheetOpen, setSheetOpen] = useState(false)
+ const [volumePeriod, setVolumePeriod] = useState<'7' | '14' | '30'>('7')
+ const [chartWidth, setChartWidth] = useState(0)
+ const [sparkWidth, setSparkWidth] = useState(0)
+ const [heatSel, setHeatSel] = useState<{ day: Date; count: number } | null>(null)
+
+ const load = useCallback(async () => {
+ const [ws, fs, wl, wst] = await Promise.all([
+ client.workoutAPI.list({ limit: 84 }).catch(() => [] as Workout[]),
+ client.foodAPI.stats(format(new Date(), 'yyyy-MM-dd')).catch(() => DEFAULT_FOOD),
+ client.weightAPI.list({ limit: 14 }).catch(() => [] as WeightLog[]),
+ client.weightAPI.stats().catch(() => null),
+ ])
+ setWorkouts(ws || [])
+ setFood(fs || DEFAULT_FOOD)
+ setWeightLogs(wl || [])
+ setWeightStats(wst)
+ }, [])
+
+ useEffect(() => {
+ fetchSettings()
+ load()
+ .catch((err) => setError(err?.message || 'Failed to load'))
+ .finally(() => setLoading(false))
+ }, [fetchSettings, load])
+
+ // Keep-mounted tab → refetch on re-focus (skip the first, the mount effect fetched).
+ const focusedOnce = useRef(false)
+ useFocusEffect(
+ useCallback(() => {
+ if (!focusedOnce.current) { focusedOnce.current = true; return }
+ load()
+ }, [load])
+ )
+
+ const [refreshing, setRefreshing] = useState(false)
+ const onRefresh = useCallback(async () => {
+ setRefreshing(true)
+ await load()
+ setRefreshing(false)
+ }, [load])
+
+ if (loading) return <DashboardSkeleton />
+
+ if (error) {
+ return (
+ <Screen>
+ <View className="py-4">
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{error}</Text>
+ </View>
+ </View>
+ </Screen>
+ )
+ }
+
+ // ── Derived data (unchanged from the 1:1 port) ─────────────────────────────
+ const weekStart = startOfWeek(now, { weekStartsOn: 1 })
+ const weekWorkouts = workouts.filter((w) => new Date(w.started_at) >= weekStart)
+ const lastWorkout = workouts[0] ?? null
+
+ const chartData = workouts.slice(0, Number(volumePeriod)).reverse().map((w) => ({
+ date: format(new Date(w.started_at), 'M/d'),
+ volume: displayVolume(calcVolume(w), unit),
+ name: w.name,
+ }))
+
+ const weekDays = eachDayOfInterval({ start: weekStart, end: endOfWeek(now, { weekStartsOn: 1 }) })
+
+ const heatmapStart = startOfWeek(subWeeks(now, 11), { weekStartsOn: 1 })
+ const heatmapEnd = endOfWeek(now, { weekStartsOn: 1 })
+ const heatmapDays = eachDayOfInterval({ start: heatmapStart, end: heatmapEnd })
+ const workoutDayMap = new Map<string, number>()
+ workouts.forEach((w) => {
+ const k = format(new Date(w.started_at), 'yyyy-MM-dd')
+ workoutDayMap.set(k, (workoutDayMap.get(k) || 0) + 1)
+ })
+ const heatmapWeeks: Date[][] = []
+ for (let i = 0; i < heatmapDays.length; i += 7) heatmapWeeks.push(heatmapDays.slice(i, i + 7))
+ const monthLabels: (string | null)[] = heatmapWeeks.map((week, i) => {
+ const m = format(week[0], 'MMM')
+ if (i === 0) return m
+ return m !== format(heatmapWeeks[i - 1][0], 'MMM') ? m : null
+ })
+
+ const muscleMap = new Map<string, number>()
+ workouts.forEach((w) => {
+ (w.exercises ?? []).forEach((ex) => {
+ const mg = ex.exercise?.muscle_group || 'other'
+ muscleMap.set(mg, (muscleMap.get(mg) || 0) + (ex.sets ?? []).length)
+ })
+ })
+ const muscleData = Array.from(muscleMap.entries())
+ .sort((a, b) => b[1] - a[1])
+ .slice(0, 8)
+ .map(([name, value]) => ({ name, value }))
+ const totalMuscSets = muscleData.reduce((s, d) => s + d.value, 0)
+
+ const sparklineWorkouts = workouts.slice(0, 10).reverse()
+ const muscleSparklines = new Map<string, number[]>()
+ muscleData.forEach(({ name }) => {
+ muscleSparklines.set(name, sparklineWorkouts.map((w) =>
+ (w.exercises ?? [])
+ .filter((ex) => ex.exercise?.muscle_group === name)
+ .reduce((s, ex) => s + (ex.sets ?? []).length, 0)
+ ))
+ })
+ const topMuscle = muscleData[0]?.name ?? null
+
+ const calPct = Math.min(100, (food.total_calories / settings.calorie_target) * 100) || 0
+ const protPct = Math.min(100, (food.total_protein / settings.protein_target) * 100) || 0
+ const carbsPct = Math.min(100, (food.total_carbs / settings.carb_target) * 100) || 0
+ const fatPct = Math.min(100, (food.total_fat / settings.fat_target) * 100) || 0
+
+ const sparkData = [...weightLogs].reverse().map((l) => ({
+ date: format(new Date(l.logged_at), 'M/d'),
+ weight: displayWeight(l.weight, unit),
+ }))
+
+ const username = user?.email?.split('@')[0] ?? 'there'
+ const avatarInitial = (username[0] ?? 'U').toUpperCase()
+
+ return (
+ <Screen>
+ <ScrollView
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 40 }}
+ refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} tintColor={accent} colors={[accent]} />}
+ >
+ <View className="gap-5 py-4">
+ {/* ── Header ── */}
+ <View className="flex-row items-start justify-between gap-3">
+ <View className="min-w-0 flex-1">
+ <Text className="font-sans-medium text-[11px] uppercase text-tx-muted" style={{ letterSpacing: 1 }}>
+ {format(now, 'EEEE, MMMM d')}
+ </Text>
+ <AppText variant="title" className="mt-0.5" numberOfLines={1}>{greeting(now)}, {username}</AppText>
+ </View>
+ <View className="flex-row items-center gap-2">
+ <Pressable
+ onPress={() => { hImpact(); router.navigate('/workouts/start') }}
+ className="flex-row items-center gap-1.5 rounded-xl bg-brand-500 px-4 py-2.5 active:scale-95"
+ >
+ <Play size={15} color="#fff" />
+ <Text className="font-sans-bold text-sm text-white">{session ? 'Resume' : 'Start'}</Text>
+ </Pressable>
+ {/* Avatar → Settings. Settings moved off the footer; this is its entry point. */}
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Settings"
+ onPress={() => { hSelect(); router.navigate('/settings') }}
+ hitSlop={6}
+ className="active:scale-95"
+ >
+ <LinearGradient
+ colors={['#0891b2', '#00b8d9']}
+ start={{ x: 0, y: 0 }}
+ end={{ x: 1, y: 1 }}
+ style={{ width: 36, height: 36, borderRadius: 18, alignItems: 'center', justifyContent: 'center' }}
+ >
+ <Text className="font-sans-bold text-sm text-white">{avatarInitial}</Text>
+ </LinearGradient>
+ </Pressable>
+ </View>
+ </View>
+
+ {/* ── Active-session banner ── */}
+ {session ? (
+ <Pressable
+ onPress={() => { hSelect(); router.navigate('/workouts/active') }}
+ className="flex-row items-center justify-between rounded-2xl border border-warning-500/30 bg-warning-500/10 p-3.5 active:scale-[0.99]"
+ >
+ <View className="flex-row items-center gap-3">
+ <View className="h-9 w-9 items-center justify-center rounded-xl border border-warning-500/30 bg-warning-500/20">
+ <Timer size={18} color={brand.warningSoft} />
+ </View>
+ <View>
+ <Text className="font-sans-semibold text-sm text-warning-400">Workout in progress</Text>
+ <Text className="text-xs" style={{ color: brand.warningSoft, opacity: 0.7 }}>{session.name} — tap to resume</Text>
+ </View>
+ </View>
+ <ArrowRight size={18} color={brand.warningSoft} />
+ </Pressable>
+ ) : null}
+
+ {/* ── This Week (sessions + current-week dots) ── */}
+ <Card>
+ <View className="flex-row items-start justify-between">
+ <View>
+ <Label>This Week</Label>
+ <View className="mt-1 flex-row items-end gap-1.5">
+ <AppText variant="display" style={{ fontSize: 34, lineHeight: 38, fontVariant: ['tabular-nums'] }}>{weekWorkouts.length}</AppText>
+ <AppText variant="caption" color="muted" className="mb-2">{weekWorkouts.length === 1 ? 'session' : 'sessions'}</AppText>
+ </View>
+ </View>
+ <View className="h-9 w-9 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Dumbbell size={18} color={accent} />
+ </View>
+ </View>
+ <View className="mt-4 flex-row items-center justify-between px-0.5">
+ {weekDays.map((day, i) => {
+ const hasWorkout = workouts.some((w) => isSameDay(new Date(w.started_at), day))
+ const isToday = isSameDay(day, now)
+ const isFuture = day > now
+ return (
+ <View key={i} className="items-center gap-1.5">
+ <Text className={`text-[10px] font-sans-semibold ${isToday ? 'text-brand-400' : 'text-tx-muted'}`}>{format(day, 'EEEEE')}</Text>
+ <View className={`h-3.5 w-3.5 rounded-full ${
+ hasWorkout ? 'bg-brand-500' : isToday ? 'border-2 border-brand-500/60' : isFuture ? 'bg-surface-border/20' : 'bg-surface-border/60'
+ }`} />
+ </View>
+ )
+ })}
+ </View>
+ </Card>
+
+ {/* ── Volume Trend ── */}
+ <Card>
+ <SectionHeader
+ icon={TrendingUp}
+ title="Volume Trend"
+ right={<View style={{ width: 132 }}><SegmentedControl size="sm" options={VOL_OPTIONS} value={volumePeriod} onChange={setVolumePeriod} /></View>}
+ className="mb-3"
+ />
+ {chartData.length === 0 ? (
+ <View className="items-center justify-center gap-2 py-10">
+ <Dumbbell size={26} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ <AppText variant="caption" color="muted">Log workouts to see trends</AppText>
+ </View>
+ ) : (
+ <View onLayout={(e) => setChartWidth(e.nativeEvent.layout.width)}>
+ <VolumeBarChart data={chartData} width={chartWidth} unit={wUnit} height={150} />
+ </View>
+ )}
+ </Card>
+
+ {/* ── Consistency heatmap ── */}
+ <Card>
+ <SectionHeader
+ icon={Activity}
+ title="Consistency"
+ right={<AppText variant="caption" color="muted">12 weeks</AppText>}
+ className="mb-3"
+ />
+ {workouts.length === 0 ? (
+ <View className="items-center justify-center gap-2 py-6">
+ <AppText variant="caption" color="muted">Start working out to build your streak</AppText>
+ </View>
+ ) : (
+ <>
+ <View className="flex-row" style={{ gap: 2, marginBottom: 2 }}>
+ <View style={{ width: 14 }} />
+ {heatmapWeeks.map((_, i) => (
+ <View key={i} className="flex-1">
+ <Text className="text-[9px] text-tx-muted" numberOfLines={1}>{monthLabels[i] ?? ''}</Text>
+ </View>
+ ))}
+ </View>
+ <View className="flex-row" style={{ gap: 2 }}>
+ <View style={{ width: 14, gap: 2 }}>
+ {(['M', '', 'W', '', 'F', '', 'S'] as const).map((lbl, di) => (
+ <View key={di} className="h-3 justify-center">
+ <Text className="text-[9px] text-tx-muted/60">{lbl}</Text>
+ </View>
+ ))}
+ </View>
+ {heatmapWeeks.map((week, wi) => (
+ <View key={wi} className="flex-1" style={{ gap: 2 }}>
+ {week.map((day, di) => {
+ const k = format(day, 'yyyy-MM-dd')
+ const count = workoutDayMap.get(k) || 0
+ const future = day > now
+ const isSel = heatSel != null && isSameDay(heatSel.day, day)
+ return (
+ <Pressable
+ key={di}
+ onPress={() => { hSelect(); setHeatSel((c) => (c && isSameDay(c.day, day) ? null : { day, count })) }}
+ style={{
+ height: 12,
+ borderRadius: 2,
+ backgroundColor: heatFill(count, future),
+ borderWidth: isSel ? 1.5 : 0,
+ borderColor: brand.cyanLight,
+ }}
+ />
+ )
+ })}
+ </View>
+ ))}
+ </View>
+ {heatSel ? (
+ <AppText variant="caption" color="muted" className="mt-1.5">
+ {format(heatSel.day, 'MMM d')}{heatSel.count > 0 ? ` · ${heatSel.count} workout${heatSel.count > 1 ? 's' : ''}` : ' · rest day'}
+ </AppText>
+ ) : null}
+ <View className="mt-2 flex-row items-center justify-end gap-1.5">
+ <Text className="text-[9px] text-tx-muted">Less</Text>
+ {[colors.border, isDark ? brand.cyanEdge : brand.cyan, isDark ? brand.cyanLight : brand.cyanEdge].map((c, i) => (
+ <View key={i} style={{ width: 12, height: 12, borderRadius: 3, backgroundColor: c }} />
+ ))}
+ <Text className="text-[9px] text-tx-muted">More</Text>
+ </View>
+ </>
+ )}
+ </Card>
+
+ {/* ── Last workout ── */}
+ {lastWorkout ? (() => {
+ const exs = lastWorkout.exercises ?? []
+ const totalSets = exs.reduce((s, ex) => s + (ex.sets ?? []).length, 0)
+ const totalVolume = displayVolume(calcVolume(lastWorkout), unit)
+ const mins = Math.round(lastWorkout.duration / 60)
+ return (
+ <Pressable onPress={() => { hSelect(); router.navigate(`/workouts/${lastWorkout.id}`) }} className="active:scale-[0.99]">
+ <Card>
+ <View className="mb-3 flex-row items-start justify-between gap-2">
+ <View className="min-w-0 flex-1">
+ <Label className="mb-1">Last workout</Label>
+ <Text className="font-sans-semibold text-base text-tx-primary" numberOfLines={1}>{lastWorkout.name}</Text>
+ <AppText variant="caption" color="muted" className="mt-0.5">
+ {format(new Date(lastWorkout.started_at), 'MMM d')}
+ {mins > 0 ? ` · ${mins} min` : ''}
+ {totalSets > 0 ? ` · ${totalSets} sets` : ''}
+ {totalVolume > 0 ? ` · ${totalVolume.toLocaleString()} ${wUnit}` : ''}
+ </AppText>
+ </View>
+ <LinkRow label="All" onPress={() => router.navigate('/workouts')} />
+ </View>
+ <View className="gap-2.5">
+ {exs.slice(0, 4).map((ex, i) => {
+ const sets = ex.sets ?? []
+ const best = sets.length > 0 ? sets.reduce((b, s) => (s.weight > b.weight ? s : b), sets[0]) : null
+ return (
+ <View key={ex.id ?? i} className="flex-row items-center gap-2.5">
+ <ExerciseImage url={ex.exercise.image_url} size="row" />
+ <View className="min-w-0 flex-1 gap-1">
+ <Text className="text-sm text-tx-secondary" numberOfLines={1}>{ex.exercise.name}</Text>
+ <MuscleBadge muscle={ex.exercise.muscle_group} />
+ </View>
+ {best ? (
+ <Text className="text-xs text-tx-muted" style={{ fontVariant: ['tabular-nums'] }}>
+ {sets.length}×{best.weight > 0 ? ` ${displayWeight(best.weight, unit)}${wUnit}` : ' BW'}
+ </Text>
+ ) : null}
+ </View>
+ )
+ })}
+ </View>
+ {exs.length > 4 ? (
+ <AppText variant="caption" color="muted" className="pt-2 text-center">+{exs.length - 4} more exercises</AppText>
+ ) : null}
+ </Card>
+ </Pressable>
+ )
+ })() : (
+ <Card className="items-center justify-center gap-2" style={{ minHeight: 148 }}>
+ <Dumbbell size={30} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ <AppText variant="body" color="muted">No workouts logged yet</AppText>
+ <Pressable onPress={() => { hSelect(); router.navigate('/workouts/start') }} hitSlop={6} className="active:opacity-60">
+ <AppText variant="caption" color="brand">Start your first workout →</AppText>
+ </Pressable>
+ </Card>
+ )}
+
+ {/* ── Muscle Balance ── */}
+ <Card>
+ <SectionHeader
+ icon={Dumbbell}
+ title="Muscle Balance"
+ right={<AppText variant="caption" color="muted">{workouts.length} workouts</AppText>}
+ className="mb-1"
+ />
+ {topMuscle ? (
+ <AppText variant="caption" color="muted" className="mb-3 italic">{muscleRoast(topMuscle)}</AppText>
+ ) : (
+ <AppText variant="caption" color="muted" className="mb-3">Log workouts to see which muscles you train most.</AppText>
+ )}
+ {muscleData.length === 0 ? (
+ <View className="items-center justify-center gap-2 py-6">
+ <Dumbbell size={26} color={colors.txMuted} style={{ opacity: 0.3 }} />
+ <AppText variant="caption" color="muted">No workout data yet</AppText>
+ </View>
+ ) : (
+ <View className="items-center gap-4">
+ <MuscleDonut data={muscleData} total={totalMuscSets} colorFor={muscleHex} size={168} />
+ <View className="w-full gap-2.5">
+ {muscleData.map((d) => {
+ const pct = Math.round((d.value / totalMuscSets) * 100)
+ const isTop = d.name === topMuscle
+ const values = muscleSparklines.get(d.name) ?? []
+ const color = muscleHex(d.name)
+ return (
+ <View key={d.name}>
+ <View className="mb-0.5 flex-row items-center gap-2">
+ <View className="h-2 w-2 rounded-full" style={{ backgroundColor: color }} />
+ <Text className={`flex-1 text-xs capitalize ${isTop ? 'font-sans-semibold text-tx-primary' : 'text-tx-secondary'}`} numberOfLines={1}>
+ {d.name}{isTop ? <Text className="text-[9px] uppercase text-tx-muted"> top</Text> : null}
+ </Text>
+ <MuscleSparkline values={values} color={color} isTop={isTop} />
+ <Text className="w-16 text-right text-xs text-tx-muted" style={{ fontVariant: ['tabular-nums'] }}>{d.value} · {pct}%</Text>
+ </View>
+ <ProgressBar pct={pct} color={color} opacity={isTop ? 1 : 0.6} />
+ </View>
+ )
+ })}
+ </View>
+ </View>
+ )}
+ </Card>
+
+ {/* ── Today's Nutrition (also covers the Cals/Protein once in the KPI strip) ── */}
+ <Card>
+ {/* Web links "Log →" to /food; hidden on mobile until a Food page exists. */}
+ <AppText variant="subheading" className="mb-3">Today's Nutrition</AppText>
+ <View className="mb-3 flex-row items-baseline gap-1.5">
+ <Text className="font-display-heavy text-tx-primary" style={{ fontSize: 34, lineHeight: 38, fontVariant: ['tabular-nums'] }}>{Math.round(food.total_calories)}</Text>
+ <AppText variant="caption" color="muted">/ {settings.calorie_target} kcal</AppText>
+ <View className="flex-1" />
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>{Math.round(calPct)}%</AppText>
+ </View>
+ <ProgressBar pct={calPct} color="#00b8d9" className="mb-4" />
+ <View className="gap-3">
+ {[
+ { label: 'Protein', val: food.total_protein, target: settings.protein_target, pct: protPct, color: '#3b82f6' },
+ { label: 'Carbs', val: food.total_carbs, target: settings.carb_target, pct: carbsPct, color: '#f59e0b' },
+ { label: 'Fat', val: food.total_fat, target: settings.fat_target, pct: fatPct, color: '#8b5cf6' },
+ ].map((m) => (
+ <View key={m.label}>
+ <View className="mb-1 flex-row items-center justify-between">
+ <AppText variant="caption" color="muted">{m.label}</AppText>
+ <Text className="text-xs font-sans-semibold text-tx-primary" style={{ fontVariant: ['tabular-nums'] }}>
+ {Math.round(m.val)}g<Text className="font-sans font-normal text-tx-muted"> / {m.target}g</Text>
+ </Text>
+ </View>
+ <ProgressBar pct={m.pct} color={m.color} />
+ </View>
+ ))}
+ </View>
+ </Card>
+
+ {/* ── Weight quick-log ── */}
+ <Card>
+ <SectionHeader
+ icon={Scale}
+ title="Weight"
+ right={<LinkRow label="View" onPress={() => router.navigate('/weight')} />}
+ className="mb-2"
+ />
+ {weightLogs.length === 0 ? (
+ <Pressable
+ onPress={() => { hSelect(); setSheetOpen(true) }}
+ className="flex-row items-center gap-3 rounded-2xl border border-dashed border-brand-500/30 bg-brand-500/5 p-3.5 active:scale-[0.99]"
+ >
+ <View className="h-10 w-10 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Plus size={18} color={accent} />
+ </View>
+ <View>
+ <Text className="text-sm font-sans-semibold text-tx-primary">Log your first weight</Text>
+ <AppText variant="caption" color="muted">Tap to start tracking</AppText>
+ </View>
+ </Pressable>
+ ) : (
+ <Pressable onPress={() => { hSelect(); setSheetOpen(true) }} className="active:scale-[0.99]" accessibilityLabel="Log weight">
+ <View className="mb-2 flex-row items-center justify-between">
+ <View className="flex-row items-baseline gap-1.5">
+ <AppText variant="display" style={{ fontSize: 30, lineHeight: 34, fontVariant: ['tabular-nums'] }}>{displayWeight(weightLogs[0].weight, unit)}</AppText>
+ <AppText variant="caption" color="muted">{wUnit}</AppText>
+ </View>
+ <View className="flex-row items-center gap-2">
+ {(() => {
+ const delta = weightStats?.change_7d ?? 0
+ if (delta === 0) return <AppText variant="caption" color="muted">7d · no change</AppText>
+ return (
+ <Text className="text-xs" style={{ color: delta < 0 ? brand.successSoft : brand.errorSoft, fontVariant: ['tabular-nums'] }}>
+ 7d · {delta < 0 ? '↓' : '↑'}{Math.abs(displayWeight(delta, unit))} {wUnit}
+ </Text>
+ )
+ })()}
+ <View className="h-9 w-9 items-center justify-center rounded-xl bg-brand-500">
+ <Plus size={16} color="#fff" />
+ </View>
+ </View>
+ </View>
+ {weightLogs.length >= 2 ? (
+ <View onLayout={(e) => setSparkWidth(e.nativeEvent.layout.width)}>
+ <WeightSparkline data={sparkData} width={sparkWidth} unit={wUnit} height={48} />
+ </View>
+ ) : null}
+ </Pressable>
+ )}
+ </Card>
+ </View>
+ </ScrollView>
+
+ <QuickWeighInSheet
+ open={sheetOpen}
+ lastValue={weightLogs[0] ? displayWeight(weightLogs[0].weight, unit) : null}
+ lastLog={weightLogs[0] ?? null}
+ onClose={() => setSheetOpen(false)}
+ onSuccess={(log) => {
+ setWeightLogs((prev) =>
+ [log, ...prev].sort((a, b) => new Date(b.logged_at).getTime() - new Date(a.logged_at).getTime())
+ )
+ client.weightAPI.stats().then(setWeightStats).catch(() => {})
+ }}
+ />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/nutrition/[id].tsx b/mobile/app/(tabs)/nutrition/[id].tsx
new file mode 100644
index 0000000..051cc0f
--- /dev/null
+++ b/mobile/app/(tabs)/nutrition/[id].tsx
@@ -0,0 +1,200 @@
+import { useEffect, useState } from 'react'
+import { Image, Pressable, ScrollView, Text, View } from 'react-native'
+import { router, useLocalSearchParams } from 'expo-router'
+import { format, parseISO } from 'date-fns'
+import { AlertCircle, ArrowLeft, Edit2, Flame, Trash2 } from 'lucide-react-native'
+import type { FoodLog } from '@lyftr/shared'
+import {
+ AppText, Card, ConfirmSheet, Loading, Screen, deleteConfirmProps,
+} from '../../../src/components/ui'
+import {
+ MACRO_COLORS, MACRO_TEXT, MEAL_COLORS, MEAL_ICONS, MEAL_LABELS, type Meal,
+} from '../../../src/components/nutrition/nutritionMeta'
+import { client } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Read-only view of a logged food entry, matching the weight/[id] · workouts/[id] idiom:
+// back-nav on the left, Edit (pencil) + Delete (trash) icons top-right. Edit hands off to
+// the shared log flow in edit mode; Delete routes through the ConfirmSheet. The dashboard
+// refetches on focus, so a delete/edit here is reflected when we pop back.
+export default function NutritionDetail() {
+ const { id } = useLocalSearchParams<{ id: string }>()
+ const { colors, accent, brand } = useTheme()
+
+ const [entry, setEntry] = useState<FoodLog | null>(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState<string | null>(null)
+ const [confirming, setConfirming] = useState(false)
+ const [deleting, setDeleting] = useState(false)
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/nutrition'))
+
+ useEffect(() => {
+ client.foodAPI.get(Number(id))
+ .then(setEntry)
+ .catch(() => setError('Failed to load entry'))
+ .finally(() => setLoading(false))
+ }, [id])
+
+ const handleDelete = async () => {
+ if (!entry || deleting) return
+ setDeleting(true)
+ try {
+ await client.foodAPI.delete(entry.id)
+ goBack() // the dashboard refetches on focus
+ } catch {
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ if (loading) return <Loading />
+
+ if (error || !entry) {
+ return (
+ <Screen>
+ <View className="gap-4 py-4">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-2 self-start active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Nutrition</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{error || 'Entry not found'}</Text>
+ </View>
+ </View>
+ </Screen>
+ )
+ }
+
+ const meal = entry.meal as Meal
+ const MealIcon = MEAL_ICONS[meal]
+ const mealColor = MEAL_COLORS[meal]
+ const macros = [
+ { label: 'Protein', value: entry.protein, color: MACRO_TEXT.protein, bar: MACRO_COLORS.protein, bg: 'rgba(16,185,129,0.10)', border: 'rgba(16,185,129,0.20)' },
+ { label: 'Carbs', value: entry.carbs, color: MACRO_TEXT.carbs, bar: MACRO_COLORS.carbs, bg: 'rgba(245,158,11,0.10)', border: 'rgba(245,158,11,0.20)' },
+ { label: 'Fat', value: entry.fat, color: MACRO_TEXT.fat, bar: MACRO_COLORS.fat, bg: 'rgba(139,92,246,0.10)', border: 'rgba(139,92,246,0.20)' },
+ { label: 'Fiber', value: entry.fiber ?? 0, color: colors.txSecondary, bar: colors.txMuted, bg: colors.muted, border: colors.border },
+ ]
+
+ // Calorie contribution per macro (4/4/9 kcal per g) → the composition bar + % split.
+ const cals = { protein: entry.protein * 4, carbs: entry.carbs * 4, fat: entry.fat * 9 }
+ const macroCal = cals.protein + cals.carbs + cals.fat
+ const pctCal = (v: number) => (macroCal > 0 ? Math.round((v / macroCal) * 100) : 0)
+
+ // Spec-list rows (MFP / Lose It convention): serving size, servings, meal, logged.
+ const specRows: { label: string; value: string; tabular?: boolean }[] = [
+ ...(entry.serving_size ? [{ label: 'Serving size', value: entry.serving_size }] : []),
+ { label: 'Servings', value: String(entry.servings), tabular: true },
+ { label: 'Meal', value: MEAL_LABELS[meal] },
+ { label: 'Logged', value: format(parseISO(entry.logged_at), 'EEE, MMM d, yyyy') },
+ ]
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-5 py-4">
+ {/* Back nav + actions */}
+ <View className="flex-row items-center justify-between">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-1.5 active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Nutrition</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Edit entry"
+ onPress={() => router.push(`/nutrition/log?edit=${entry.id}`)}
+ hitSlop={6}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg border border-brand-500/20 bg-brand-500/10 px-3 active:scale-95"
+ >
+ <Edit2 size={15} color={accent} strokeWidth={2.2} />
+ <AppText variant="label" style={{ color: accent }}>Edit</AppText>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Delete entry"
+ onPress={() => setConfirming(true)}
+ disabled={deleting}
+ hitSlop={6}
+ className={`h-9 w-9 items-center justify-center rounded-lg active:bg-error-500/10 ${deleting ? 'opacity-40' : ''}`}
+ >
+ <Trash2 size={17} color={colors.txMuted} strokeWidth={2.2} />
+ </Pressable>
+ </View>
+ </View>
+
+ {/* Hero card */}
+ <Card className="overflow-hidden p-0">
+ {entry.image_url ? (
+ <Image source={{ uri: entry.image_url }} className="h-44 w-full" resizeMode="cover" />
+ ) : null}
+ <View className="p-5">
+ {/* Meal chip */}
+ <View className="flex-row items-center gap-1.5 self-start rounded-full border px-2.5 py-1" style={{ backgroundColor: `${mealColor}1A`, borderColor: `${mealColor}40` }}>
+ <MealIcon size={13} color={mealColor} />
+ <AppText variant="caption" style={{ color: mealColor, fontWeight: '700' }}>{MEAL_LABELS[meal]}</AppText>
+ </View>
+
+ {/* Name + calorie hero */}
+ <AppText variant="title" className="mt-3" numberOfLines={2}>{entry.name}</AppText>
+ <View className="mt-1 flex-row items-center gap-1.5">
+ <Flame size={20} color={MACRO_COLORS.carbs} />
+ <AppText variant="display" style={{ fontSize: 38, lineHeight: 42, fontVariant: ['tabular-nums'] }}>{Math.round(entry.calories)}</AppText>
+ <AppText variant="body" color="muted" className="mb-1">kcal</AppText>
+ </View>
+
+ {/* Macro composition bar (by calories) */}
+ {macroCal > 0 ? (
+ <View className="mt-5">
+ <View className="h-3 flex-row overflow-hidden rounded-full bg-surface-muted">
+ <View style={{ width: `${pctCal(cals.protein)}%`, backgroundColor: MACRO_COLORS.protein }} />
+ <View style={{ width: `${pctCal(cals.carbs)}%`, backgroundColor: MACRO_COLORS.carbs }} />
+ <View style={{ width: `${pctCal(cals.fat)}%`, backgroundColor: MACRO_COLORS.fat }} />
+ </View>
+ <View className="mt-2.5 flex-row justify-between">
+ {([['Protein', cals.protein, MACRO_COLORS.protein], ['Carbs', cals.carbs, MACRO_COLORS.carbs], ['Fat', cals.fat, MACRO_COLORS.fat]] as const).map(([label, v, color]) => (
+ <View key={label} className="flex-row items-center gap-1.5">
+ <View style={{ width: 8, height: 8, borderRadius: 2, backgroundColor: color }} />
+ <AppText variant="caption" color="muted">{label}</AppText>
+ <AppText variant="caption" style={{ fontWeight: '700', fontVariant: ['tabular-nums'] }}>{pctCal(v)}%</AppText>
+ </View>
+ ))}
+ </View>
+ </View>
+ ) : null}
+
+ {/* Macro grid (grams) */}
+ <View className="mt-4 flex-row gap-2">
+ {macros.map((m) => (
+ <View key={m.label} className="flex-1 items-center rounded-xl border p-2.5" style={{ backgroundColor: m.bg, borderColor: m.border }}>
+ <AppText variant="bodySemibold" style={{ color: m.color, fontVariant: ['tabular-nums'] }}>{m.value.toFixed(0)}g</AppText>
+ <AppText variant="caption" color="muted" style={{ fontSize: 10 }} className="mt-0.5">{m.label}</AppText>
+ </View>
+ ))}
+ </View>
+ </View>
+ </Card>
+
+ {/* Details — spec list (label → value), the convention in MFP / Lose It. */}
+ <Card className="overflow-hidden p-0">
+ {specRows.map((r, i) => (
+ <View key={r.label} className={`flex-row items-center justify-between gap-4 px-4 py-3.5 ${i > 0 ? 'border-t border-surface-border' : ''}`}>
+ <AppText variant="body" color="muted">{r.label}</AppText>
+ <AppText variant="bodySemibold" numberOfLines={1} style={r.tabular ? { fontVariant: ['tabular-nums'] } : undefined}>{r.value}</AppText>
+ </View>
+ ))}
+ </Card>
+ </View>
+ </ScrollView>
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete entry?', subject: `"${entry.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/nutrition/_layout.tsx b/mobile/app/(tabs)/nutrition/_layout.tsx
new file mode 100644
index 0000000..d86a5f5
--- /dev/null
+++ b/mobile/app/(tabs)/nutrition/_layout.tsx
@@ -0,0 +1,17 @@
+import { Stack } from 'expo-router'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Nested stack under the Nutrition tab: daily dashboard (index) → log/edit flow (log).
+// contentStyle pins the card background to the app surface so push transitions don't
+// flash the platform default — same rationale as the weight/workouts stacks.
+export default function NutritionLayout() {
+ const { colors } = useTheme()
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: { backgroundColor: colors.base },
+ }}
+ />
+ )
+}
diff --git a/mobile/app/(tabs)/nutrition/index.tsx b/mobile/app/(tabs)/nutrition/index.tsx
new file mode 100644
index 0000000..cc16cc8
--- /dev/null
+++ b/mobile/app/(tabs)/nutrition/index.tsx
@@ -0,0 +1,470 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { ActivityIndicator, FlatList, Pressable, RefreshControl, useWindowDimensions, View } from 'react-native'
+import { router, useFocusEffect, useLocalSearchParams } from 'expo-router'
+import * as Haptics from 'expo-haptics'
+import { format, subDays, addDays } from 'date-fns'
+import {
+ AlertCircle, CalendarDays, CheckCircle2, ChevronLeft, ChevronRight, Flame, Plus, Utensils,
+} from 'lucide-react-native'
+import { todayStr, type DailyStats, type FoodLog } from '@lyftr/shared'
+import {
+ AppText, Card, DateInput, IconButton, Label, PageHeader, Screen, SearchField, SectionHeader, SegmentedControl, Toast,
+} from '../../../src/components/ui'
+import { MacroRing, MacroHistoryChart, type MacroHistoryPoint } from '../../../src/components/nutrition/NutritionCharts'
+import { FoodEntryRow } from '../../../src/components/nutrition/FoodEntryRow'
+import { NutritionSkeleton } from '../../../src/components/nutrition/NutritionSkeleton'
+import { MACRO_COLORS, MEALS, type Meal } from '../../../src/components/nutrition/nutritionMeta'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+const HISTORY_PERIODS = ['7d', '30d', '90d'] as const
+type HistoryPeriod = typeof HISTORY_PERIODS[number]
+const HISTORY_OPTIONS = HISTORY_PERIODS.map((p) => ({ value: p, label: p }))
+
+// The day's food renders as a paginated, searchable list at the bottom (same growing-
+// list feel as Weight/Programs). A day is bounded (all logs arrive in one /food?date=
+// call), so paging + search are client-side over the loaded set rather than server round
+// trips — reveal a page at a time on scroll, filter by name in memory.
+const FOOD_PAGE = 12
+
+// Top-level split: "Diary" is the per-day summary + food log; "Trends" is the multi-day
+// macro history. Keeps the per-day view a food-log-first surface (summary → list) while
+// the analytical chart lives one tap away instead of pushing the list down the page.
+const VIEW_OPTIONS = [
+ { value: 'diary', label: 'Diary' },
+ { value: 'trends', label: 'Trends' },
+] as const
+type NutritionView = typeof VIEW_OPTIONS[number]['value']
+
+// Port of web/pages/Food.tsx — the daily Nutrition dashboard, mobile-polished: date
+// navigator + haptics, calorie hero + macro rings, four meal cards with entries whose
+// delete routes through the native ConfirmSheet (not web's inline row), the macro-
+// history chart, and a success Toast on arrival back from a log. Calorie/macro targets
+// come from the settings store (the mobile equivalent of web's userAPI.getSettings).
+const hSelect = () => Haptics.selectionAsync().catch(() => {})
+
+// With per-meal add gone, the single Log Food button seeds the meal from the time of day
+// (still changeable in the log flow's meal picker).
+const mealForNow = (): Meal => {
+ const h = new Date().getHours()
+ return h < 11 ? 'breakfast' : h < 15 ? 'lunch' : h < 21 ? 'dinner' : 'snacks'
+}
+
+export default function Nutrition() {
+ const { colors, brand, accent, isDark } = useTheme()
+ const { width: windowWidth } = useWindowDimensions()
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ // One-shot courier from the log flow: ?logged=<meal label> | 'Updated' → success toast.
+ const params = useLocalSearchParams<{ logged?: string }>()
+ const [toast, setToast] = useState<string | null>(null)
+
+ const [selectedDate, setSelectedDate] = useState(todayStr())
+ const [logs, setLogs] = useState<FoodLog[]>([])
+ const [stats, setStats] = useState<DailyStats | null>(null)
+ const [error, setError] = useState<string | null>(null)
+
+ const [historyPeriod, setHistoryPeriod] = useState<HistoryPeriod>('30d')
+ const [historyData, setHistoryData] = useState<MacroHistoryPoint[]>([])
+ const [historyLoading, setHistoryLoading] = useState(false)
+ const [chartWidth, setChartWidth] = useState(0)
+
+ const [pulling, setPulling] = useState(false)
+ const hasLoadedRef = useRef(false)
+
+ // Diary (per-day summary + log) vs Trends (multi-day macro chart).
+ const [view, setView] = useState<NutritionView>('diary')
+
+ // Bottom food list: search query + how many rows are revealed (grows on scroll).
+ const [foodQuery, setFoodQuery] = useState('')
+ const [visibleCount, setVisibleCount] = useState(FOOD_PAGE)
+ // Reset paging to the first page when the day changes or the query changes.
+ useEffect(() => { setVisibleCount(FOOD_PAGE) }, [selectedDate, foodQuery])
+
+ const loadDay = useCallback(async (date: string) => {
+ // Stale-while-revalidate: keep the previous day's logs/stats on screen until the new
+ // day's data lands, so paging days doesn't flash the hero/rings/list to empty (the
+ // same no-empty-flash behavior the Weight/Programs lists have). Only errors reset.
+ setError(null)
+ try {
+ const defaultStats: DailyStats = {
+ date, total_calories: 0, total_protein: 0, total_carbs: 0, total_fat: 0, total_fiber: 0, workout_count: 0,
+ }
+ const [logData, statsData] = await Promise.all([
+ client.foodAPI.list(date),
+ client.foodAPI.stats(date).catch(() => defaultStats),
+ ])
+ setLogs(logData || [])
+ setStats(statsData)
+ } catch (err: any) {
+ setError(err?.message || 'Failed to load food data')
+ } finally {
+ hasLoadedRef.current = true
+ }
+ }, [])
+
+ useEffect(() => { loadDay(selectedDate) }, [selectedDate, loadDay])
+ useEffect(() => { fetchSettings() }, [fetchSettings])
+
+ const loadHistory = useCallback(() => {
+ setHistoryLoading(true)
+ const days = historyPeriod === '7d' ? 7 : historyPeriod === '30d' ? 30 : 90
+ return client.foodAPI
+ .history(days)
+ .then((data) => setHistoryData((data as MacroHistoryPoint[]) || []))
+ .catch(() => {})
+ .finally(() => setHistoryLoading(false))
+ }, [historyPeriod])
+ useEffect(() => { loadHistory() }, [loadHistory])
+
+ // Re-entry (e.g. back from the log flow) refetches the day — web relied on the router
+ // location.key changing; here focus does the same. Skip the first focus (effects above
+ // already ran on mount).
+ const focusedOnce = useRef(false)
+ useFocusEffect(
+ useCallback(() => {
+ if (!focusedOnce.current) { focusedOnce.current = true; return }
+ loadDay(selectedDate)
+ loadHistory()
+ }, [loadDay, selectedDate, loadHistory])
+ )
+
+ const onPullRefresh = useCallback(async () => {
+ setPulling(true)
+ await Promise.all([loadDay(selectedDate), loadHistory(), fetchSettings()])
+ setPulling(false)
+ }, [loadDay, selectedDate, loadHistory, fetchSettings])
+
+ // Show the arrival toast once, then strip the param so it doesn't re-fire on re-render.
+ useEffect(() => {
+ if (params.logged) {
+ setToast(params.logged === 'Updated' ? 'Entry updated' : `Added to ${params.logged}`)
+ router.setParams({ logged: undefined })
+ }
+ }, [params.logged])
+
+ const goDay = (date: string) => { hSelect(); setSelectedDate(date) }
+ const openLog = (meal: Meal) => { hSelect(); router.push(`/nutrition/log?meal=${meal}&date=${selectedDate}`) }
+
+ // Kebab-delete drops the row and refreshes the day's totals (rings + calorie hero).
+ const onEntryDeleted = useCallback((entryId: number) => {
+ setLogs((prev) => prev.filter((l) => l.id !== entryId))
+ client.foodAPI.stats(selectedDate).then(setStats).catch(() => {})
+ }, [selectedDate])
+
+ if (!hasLoadedRef.current) return <NutritionSkeleton />
+
+ const totalCals = stats?.total_calories ?? 0
+ const calTarget = settings.calorie_target || 2000
+ const remaining = calTarget - totalCals
+ const isOver = remaining < 0
+ const calPct = Math.min(100, (totalCals / calTarget) * 100) || 0
+
+ // One flat list, ordered by meal (breakfast → snacks) so same-meal items group.
+ const dayEntries = MEALS.flatMap((m) => logs.filter((l) => l.meal === m))
+
+ // Name search (client-side over the loaded day) + page reveal.
+ const q = foodQuery.trim().toLowerCase()
+ const filteredEntries = q ? dayEntries.filter((e) => e.name.toLowerCase().includes(q)) : dayEntries
+ const visibleEntries = filteredEntries.slice(0, visibleCount)
+ const hasMoreFood = visibleCount < filteredEntries.length
+ const loadMoreFood = () => { if (hasMoreFood) setVisibleCount((c) => c + FOOD_PAGE) }
+
+ // Trends: average daily macros over the loaded history window.
+ const histDays = historyData.length
+ const avgMacro = (key: 'protein' | 'carbs' | 'fat') =>
+ histDays ? Math.round(historyData.reduce((s, d) => s + (d[key] || 0), 0) / histDays) : 0
+ const isDiary = view === 'diary'
+ // Chart width: prefer the measured value, but seed a computed fallback (window − Screen
+ // px-5 − Card p-4 = 72) so the chart renders immediately on first switch to Trends
+ // instead of waiting for an onLayout that doesn't reliably fire on the view-swap.
+ const chartW = chartWidth || Math.max(0, windowWidth - 72)
+
+ const isToday = selectedDate === todayStr()
+ const selectedDateObj = new Date(selectedDate + 'T12:00:00')
+ const prevDate = format(subDays(selectedDateObj, 1), 'yyyy-MM-dd')
+ const nextDate = format(addDays(selectedDateObj, 1), 'yyyy-MM-dd')
+ const canGoNext = selectedDate < todayStr()
+ const dayLabel = isToday
+ ? 'Today'
+ : selectedDate === format(subDays(new Date(), 1), 'yyyy-MM-dd')
+ ? 'Yesterday'
+ : format(selectedDateObj, 'EEE, MMM d')
+
+ // The whole screen is a single FlatList so the food rows virtualize (only on-screen
+ // rows mount, and their thumbnails load lazily) instead of every entry — plus its
+ // remote image — mounting at once. All the static chrome (calorie hero, rings, macro
+ // history) rides in the header so the searchable/paginated food list sits at the
+ // bottom; the visible rows are the list `data`.
+ const lastEntryIdx = visibleEntries.length - 1
+
+ return (
+ <Screen>
+ <FlatList
+ data={isDiary ? visibleEntries : []}
+ keyExtractor={(e) => String(e.id)}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 32 }}
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="on-drag"
+ onEndReached={loadMoreFood}
+ onEndReachedThreshold={0.5}
+ refreshControl={<RefreshControl refreshing={pulling} onRefresh={onPullRefresh} tintColor={accent} colors={[accent]} />}
+ // The rows share one rounded card. With a real list we can't wrap them in a
+ // single <Card>, so we rebuild that frame per row: continuous left/right borders,
+ // rounded + bordered top on the first row and bottom on the last. overflow-hidden
+ // clips each row's active-press tint to those rounded corners.
+ renderItem={({ item, index }) => (
+ <View
+ className={`overflow-hidden border-l border-r border-surface-border bg-surface-raised ${index === 0 ? 'rounded-t-xl border-t' : ''} ${index === lastEntryIdx ? 'rounded-b-xl border-b' : ''}`}
+ >
+ <FoodEntryRow
+ entry={item}
+ first={index === 0}
+ onPress={() => { hSelect(); router.push(`/nutrition/${item.id}`) }}
+ onEdit={() => router.push(`/nutrition/log?edit=${item.id}`)}
+ onDeleted={onEntryDeleted}
+ />
+ </View>
+ )}
+ ListHeaderComponent={
+ <View className="pt-4">
+ <View className="gap-4">
+ <PageHeader
+ title="Nutrition"
+ subtitle="Macros & meals"
+ action={<IconButton icon={Plus} variant="solid" size="md" label="Log Food" onPress={() => openLog(mealForNow())} />}
+ />
+
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error}</AppText>
+ </View>
+ ) : null}
+
+ {/* Diary (per-day log) vs Trends (multi-day chart) */}
+ <SegmentedControl options={VIEW_OPTIONS} value={view} onChange={setView} />
+
+ {isDiary ? (
+ <>
+ {/* Date navigator */}
+ <View className="flex-row items-center gap-2">
+ <Pressable
+ accessibilityLabel="Previous day"
+ onPress={() => goDay(prevDate)}
+ className="items-center justify-center rounded-xl p-3 active:scale-95"
+ >
+ <ChevronLeft size={20} color={colors.txMuted} />
+ </Pressable>
+ <View className="flex-1">
+ <DateNavCenter
+ dayLabel={dayLabel}
+ yearLabel={!isToday ? format(selectedDateObj, 'yyyy') : undefined}
+ value={selectedDate}
+ onChange={goDay}
+ />
+ </View>
+ <Pressable
+ accessibilityLabel="Next day"
+ disabled={!canGoNext}
+ onPress={() => goDay(nextDate)}
+ className={`items-center justify-center rounded-xl p-3 active:scale-95 ${canGoNext ? '' : 'opacity-30'}`}
+ >
+ <ChevronRight size={20} color={colors.txMuted} />
+ </Pressable>
+ </View>
+
+ {/* Macro summary card */}
+ <Card className="gap-5">
+ {/* Calorie hero */}
+ <View className="flex-row items-center justify-between">
+ <View>
+ <AppText variant="caption" color="muted" className="mb-1 uppercase" style={{ letterSpacing: 0.5 }}>Calories</AppText>
+ <View className="flex-row items-baseline gap-1.5">
+ <AppText variant="display" style={{ fontSize: 34, lineHeight: 38, fontVariant: ['tabular-nums'] }}>{Math.round(totalCals)}</AppText>
+ <AppText variant="body" color="muted">/ {calTarget}</AppText>
+ </View>
+ </View>
+ <View
+ className="flex-row items-center gap-1.5 rounded-xl border px-3 py-2"
+ style={{
+ backgroundColor: isOver ? 'rgba(245,158,11,0.10)' : 'rgba(16,185,129,0.10)',
+ borderColor: isOver ? 'rgba(245,158,11,0.20)' : 'rgba(16,185,129,0.20)',
+ }}
+ >
+ <Flame size={16} color={isOver ? '#fbbf24' : '#34d399'} />
+ <AppText variant="bodySemibold" style={{ fontSize: 13, color: isOver ? '#fbbf24' : '#34d399' }}>
+ {isOver ? `${Math.round(Math.abs(remaining))} over` : `${Math.round(remaining)} left`}
+ </AppText>
+ </View>
+ </View>
+
+ {/* Segmented progress bar — fully explicit inline sizing (fixed heights on
+ BOTH track and fill, no percentage heights) so native can't expand it. */}
+ <View className="gap-1">
+ <View style={{ height: 10, overflow: 'hidden', borderRadius: 999, backgroundColor: colors.muted }}>
+ <View style={{ height: 10, width: `${calPct}%`, borderRadius: 999, backgroundColor: isOver ? MACRO_COLORS.carbs : brand.cyan }} />
+ </View>
+ <View className="flex-row justify-between">
+ <AppText variant="caption" color="muted" style={{ fontSize: 10 }}>0</AppText>
+ <AppText variant="caption" color="muted" style={{ fontSize: 10 }}>{calTarget} kcal goal</AppText>
+ </View>
+ </View>
+
+ {/* Macro rings — three equal flex-1 columns so they sit centered across the
+ full card width. (justify-around packed them left because each ring's
+ "Protein / 65g" label is wider than the 72px ring, making the flex items
+ uneven.) */}
+ <View className="flex-row">
+ <View className="flex-1 items-center">
+ <MacroRing value={stats?.total_protein ?? 0} target={settings.protein_target} color={MACRO_COLORS.protein} label="Protein" />
+ </View>
+ <View className="flex-1 items-center">
+ <MacroRing value={stats?.total_carbs ?? 0} target={settings.carb_target} color={MACRO_COLORS.carbs} label="Carbs" />
+ </View>
+ <View className="flex-1 items-center">
+ <MacroRing value={stats?.total_fat ?? 0} target={settings.fat_target} color={MACRO_COLORS.fat} label="Fat" />
+ </View>
+ </View>
+ </Card>
+ </>
+ ) : (
+ <>
+ {/* Daily-average macros over the selected history window */}
+ <View className="gap-2">
+ <Label className="px-1">Daily average · {historyPeriod}</Label>
+ <View className="flex-row gap-3">
+ {([
+ ['Protein', 'protein', MACRO_COLORS.protein],
+ ['Carbs', 'carbs', MACRO_COLORS.carbs],
+ ['Fat', 'fat', MACRO_COLORS.fat],
+ ] as const).map(([label, key, color]) => (
+ <Card key={key} className="flex-1" style={{ paddingHorizontal: 12 }}>
+ <View className="mb-2 flex-row items-center gap-1.5">
+ <View style={{ width: 8, height: 8, borderRadius: 2, backgroundColor: color }} />
+ <Label numberOfLines={1}>{label}</Label>
+ </View>
+ <View className="flex-row items-end gap-1">
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{avgMacro(key)}</AppText>
+ <AppText variant="caption" color="muted" className="mb-0.5">g</AppText>
+ </View>
+ </Card>
+ ))}
+ </View>
+ </View>
+
+ {/* Macro history */}
+ <Card>
+ <SectionHeader
+ title="Macro History"
+ right={<View style={{ width: 150 }}><SegmentedControl size="sm" options={HISTORY_OPTIONS} value={historyPeriod} onChange={setHistoryPeriod} /></View>}
+ className="mb-4"
+ />
+ <View onLayout={(e) => setChartWidth(e.nativeEvent.layout.width)}>
+ {historyLoading ? (
+ <View className="h-48 items-center justify-center">
+ <AppText variant="caption" color="muted">Loading…</AppText>
+ </View>
+ ) : historyData.length === 0 ? (
+ <View className="h-48 items-center justify-center gap-2">
+ <CalendarDays size={32} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ <AppText variant="caption" color="muted">No data yet — start logging meals</AppText>
+ </View>
+ ) : (
+ <MacroHistoryChart data={historyData} width={chartW} height={220} />
+ )}
+ </View>
+ {/* Legend */}
+ <View className="mt-4 flex-row justify-center gap-4">
+ {[
+ { color: MACRO_COLORS.protein, label: 'Protein' },
+ { color: MACRO_COLORS.carbs, label: 'Carbs' },
+ { color: MACRO_COLORS.fat, label: 'Fat' },
+ ].map((m) => (
+ <View key={m.label} className="flex-row items-center gap-1.5">
+ <View style={{ width: 10, height: 10, borderRadius: 2, backgroundColor: m.color }} />
+ <AppText variant="caption" color="muted">{m.label}</AppText>
+ </View>
+ ))}
+ </View>
+ </Card>
+ </>
+ )}
+ </View>
+
+ {/* Food log at the bottom — searchable + paged (Diary only). Each row carries
+ its meal as a chip; ordered by meal so same-meal items sit together. */}
+ {isDiary ? (
+ <View className="mt-8 gap-3 pb-3">
+ <View className="flex-row items-center justify-between px-1">
+ <Label>{isToday ? "Today's Food" : 'Food'}</Label>
+ {dayEntries.length > 0 ? (
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>
+ {q ? `${filteredEntries.length} of ${dayEntries.length}` : `${dayEntries.length} ${dayEntries.length === 1 ? 'item' : 'items'}`}
+ </AppText>
+ ) : null}
+ </View>
+ {dayEntries.length > 0 ? (
+ <SearchField value={foodQuery} onChangeText={setFoodQuery} placeholder="Search this day's food…" />
+ ) : null}
+ </View>
+ ) : null}
+ </View>
+ }
+ ListEmptyComponent={
+ !isDiary ? null : q ? (
+ <View className="items-center px-4 py-8">
+ <Utensils size={28} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ <AppText variant="body" color="muted" className="mt-2">No matches for “{foodQuery.trim()}”</AppText>
+ </View>
+ ) : (
+ <Card className="overflow-hidden p-0">
+ <Pressable onPress={() => openLog(mealForNow())} className="items-center px-4 py-10 active:opacity-70">
+ <Utensils size={32} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ <AppText variant="body" color="muted" className="mt-2">No food logged yet</AppText>
+ <AppText variant="caption" color="muted" className="mt-1">Tap to log your first meal</AppText>
+ </Pressable>
+ </Card>
+ )
+ }
+ ListFooterComponent={
+ isDiary && hasMoreFood ? (
+ <View className="items-center py-3">
+ <ActivityIndicator size="small" color={accent} />
+ </View>
+ ) : null
+ }
+ />
+
+ {/* Success toast on arrival back from the log flow. */}
+ {toast ? (
+ <Toast variant="success" icon={CheckCircle2} title={toast} onDismiss={() => setToast(null)} />
+ ) : null}
+ </Screen>
+ )
+}
+
+// The date-navigator center: a tappable pill showing the day label; tapping opens the
+// platform date picker (via the shared DateInput's own picker). We hide DateInput's
+// default field look and render our own pill so the label logic (Today/Yesterday/date)
+// matches web while still using the vetted picker + max-date behavior.
+function DateNavCenter({ dayLabel, yearLabel, value, onChange }: {
+ dayLabel: string; yearLabel?: string; value: string; onChange: (v: string) => void
+}) {
+ const { colors } = useTheme()
+ return (
+ <View>
+ {/* Visible pill */}
+ <View pointerEvents="none" className="flex-row items-center justify-center gap-2 rounded-xl bg-surface-muted py-2.5">
+ <CalendarDays size={16} color={colors.txMuted} />
+ <AppText variant="bodySemibold" style={{ fontSize: 14 }}>{dayLabel}</AppText>
+ {yearLabel ? <AppText variant="caption" color="muted">{yearLabel}</AppText> : null}
+ </View>
+ {/* Transparent picker overlay filling the pill */}
+ <View style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, opacity: 0 }}>
+ <DateInput value={value} onChange={onChange} maximumDate={new Date()} />
+ </View>
+ </View>
+ )
+}
diff --git a/mobile/app/(tabs)/nutrition/log.tsx b/mobile/app/(tabs)/nutrition/log.tsx
new file mode 100644
index 0000000..1257cfa
--- /dev/null
+++ b/mobile/app/(tabs)/nutrition/log.tsx
@@ -0,0 +1,552 @@
+import { useEffect, useRef, useState } from 'react'
+import { Image, Pressable, ScrollView, View } from 'react-native'
+import { router, useLocalSearchParams } from 'expo-router'
+import * as Haptics from 'expo-haptics'
+import {
+ AlertCircle, ArrowLeft, Bookmark, BookmarkCheck, ChevronRight, Minus, Plus, Scan, Utensils, Zap,
+} from 'lucide-react-native'
+import {
+ dayToIsoNoon, todayStr,
+ type FoodLog, type FoodSearchResult, type SavedFood,
+} from '@lyftr/shared'
+import {
+ AppText, Button, Card, DateInput, IconButton, Label, NumberField,
+ NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID, Screen, SearchField, SegmentedControl, Toggle,
+} from '../../../src/components/ui'
+import { BarcodeScanner } from '../../../src/components/nutrition/BarcodeScanner'
+import {
+ MACRO_COLORS, MACRO_TEXT, MEALS, MEAL_COLORS, MEAL_ICONS, MEAL_LABELS, type Meal,
+} from '../../../src/components/nutrition/nutritionMeta'
+import { client } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+type Phase = 'search' | 'detail' | 'scan'
+type SearchTab = 'recent' | 'myfoods' | 'all'
+
+const hSelect = () => Haptics.selectionAsync().catch(() => {})
+
+const TAB_OPTIONS = [
+ { value: 'recent', label: 'Recent' },
+ { value: 'myfoods', label: 'My Foods' },
+ { value: 'all', label: 'Search' },
+] as const
+
+// Port of web/pages/LogFood.tsx — the search / detail / scan food-logging flow.
+// entryToResult / savedToResult reduce stored entries + saved foods to the per-serving
+// FoodSearchResult shape the detail view multiplies by `servings`.
+function entryToResult(e: FoodLog): FoodSearchResult {
+ const s = e.servings || 1
+ return {
+ name: e.name,
+ calories: e.calories / s,
+ protein: e.protein / s,
+ carbs: e.carbs / s,
+ fat: e.fat / s,
+ fiber: (e.fiber ?? 0) / s,
+ serving_size: e.serving_size ?? '',
+ image_url: e.image_url,
+ source: 'saved',
+ }
+}
+
+function savedToResult(s: SavedFood): FoodSearchResult {
+ return {
+ name: s.name, brand: s.brand,
+ calories: s.calories, protein: s.protein, carbs: s.carbs,
+ fat: s.fat, fiber: s.fiber, serving_size: s.serving_size, source: 'saved',
+ }
+}
+
+function FoodResultRow({ item, onPress }: { item: FoodSearchResult; onPress: () => void }) {
+ const { colors } = useTheme()
+ return (
+ <Pressable
+ onPress={onPress}
+ className="w-full flex-row items-center gap-3 border-b border-surface-border px-4 py-3.5 active:bg-surface-muted"
+ >
+ {item.image_url ? (
+ <Image source={{ uri: item.image_url }} className="h-11 w-11 rounded-xl border border-surface-border" />
+ ) : (
+ <View className="h-11 w-11 items-center justify-center rounded-xl border border-surface-border bg-surface-muted">
+ <Utensils size={20} color={colors.txMuted} />
+ </View>
+ )}
+ <View className="min-w-0 flex-1">
+ <AppText variant="bodySemibold" numberOfLines={1}>{item.name}</AppText>
+ {item.brand ? <AppText variant="caption" color="muted" numberOfLines={1} className="mt-0.5">{item.brand}</AppText> : null}
+ <View className="mt-1 flex-row flex-wrap items-center gap-x-1.5">
+ <AppText variant="caption" color="secondary" style={{ fontWeight: '600', fontVariant: ['tabular-nums'] }}>{Math.round(item.calories)} kcal</AppText>
+ <Dot />
+ <AppText variant="caption" style={{ color: MACRO_TEXT.protein, fontVariant: ['tabular-nums'] }}>{item.protein.toFixed(0)}g P</AppText>
+ <Dot />
+ <AppText variant="caption" style={{ color: MACRO_TEXT.carbs, fontVariant: ['tabular-nums'] }}>{item.carbs.toFixed(0)}g C</AppText>
+ <Dot />
+ <AppText variant="caption" style={{ color: MACRO_TEXT.fat, fontVariant: ['tabular-nums'] }}>{item.fat.toFixed(0)}g F</AppText>
+ {item.serving_size ? (<><Dot /><AppText variant="caption" color="muted" style={{ fontSize: 10 }}>{item.serving_size}</AppText></>) : null}
+ </View>
+ </View>
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Pressable>
+ )
+}
+
+function Dot() {
+ return <AppText variant="caption" color="muted" style={{ fontSize: 10 }}>·</AppText>
+}
+
+export default function LogFood() {
+ const { colors, brand, accent, isDark } = useTheme()
+ const params = useLocalSearchParams<{ meal?: string; date?: string; edit?: string }>()
+ const editId = params.edit ? Number(params.edit) : null
+ const initMeal = (params.meal ?? 'breakfast') as Meal
+ const initDate = params.date ?? todayStr()
+
+ const [phase, setPhase] = useState<Phase>('search')
+ const [tab, setTab] = useState<SearchTab>('recent')
+ const [query, setQuery] = useState('')
+ const [searchResults, setSearchResults] = useState<FoodSearchResult[]>([])
+ const [recentItems, setRecentItems] = useState<FoodSearchResult[]>([])
+ const [savedFoods, setSavedFoods] = useState<SavedFood[]>([])
+ const [searching, setSearching] = useState(false)
+ const [searchError, setSearchError] = useState<string | null>(null)
+ const [rateLimited, setRateLimited] = useState(false)
+
+ const [selected, setSelected] = useState<FoodSearchResult | null>(null)
+ const [servingsStr, setServingsStr] = useState('1')
+ const [meal, setMeal] = useState<Meal>(initMeal)
+ const [date, setDate] = useState(initDate)
+ const [saveToMyFoods, setSaveToMyFoods] = useState(false)
+ const [saving, setSaving] = useState(false)
+ const [saveError, setSaveError] = useState<string | null>(null)
+
+ const debounceRef = useRef<ReturnType<typeof setTimeout> | null>(null)
+
+ // Web keeps servings as a clamped number; here the field is a string buffer, so derive
+ // the numeric value (same Math.max(0.5, …||1) clamp web applies on change).
+ const servings = Math.max(0.5, Number(servingsStr) || 1)
+
+ // Edit mode: load the entry, reduce to per-serving, jump to detail.
+ useEffect(() => {
+ if (!editId) return
+ client.foodAPI.get(editId).then((entry) => {
+ setSelected(entryToResult(entry))
+ setServingsStr(String(entry.servings || 1))
+ setMeal(entry.meal)
+ setDate(entry.logged_at.slice(0, 10))
+ setPhase('detail')
+ }).catch(() => router.replace('/nutrition'))
+ }, [editId])
+
+ // Recent (today, deduped ≤10) + saved foods.
+ useEffect(() => {
+ client.foodAPI.list(todayStr()).then((logs) => {
+ const seen = new Set<string>()
+ const items: FoodSearchResult[] = []
+ for (const log of logs || []) {
+ const key = log.name.toLowerCase()
+ if (!seen.has(key)) {
+ seen.add(key)
+ items.push(entryToResult(log))
+ if (items.length >= 10) break
+ }
+ }
+ setRecentItems(items)
+ }).catch(() => {})
+ client.savedFoodsAPI.list().then(setSavedFoods).catch(() => {})
+ }, [])
+
+ // Debounced remote search (only on the Search tab).
+ useEffect(() => {
+ if (tab !== 'all') return
+ if (debounceRef.current) clearTimeout(debounceRef.current)
+ if (!query.trim()) { setSearchResults([]); return }
+ debounceRef.current = setTimeout(async () => {
+ setSearching(true)
+ setSearchError(null)
+ setRateLimited(false)
+ try {
+ setSearchResults((await client.foodAPI.search(query.trim())) ?? [])
+ } catch (err: any) {
+ if (err?.response?.status === 429) setRateLimited(true)
+ else setSearchError('Food search unavailable — enter details manually')
+ setSearchResults([])
+ } finally {
+ setSearching(false)
+ }
+ }, 300)
+ return () => { if (debounceRef.current) clearTimeout(debounceRef.current) }
+ }, [query, tab])
+
+ const selectResult = (result: FoodSearchResult) => {
+ hSelect()
+ setSelected(result)
+ setServingsStr('1')
+ setPhase('detail')
+ }
+
+ const handleBarcodeResult = async (code: string) => {
+ setPhase('search')
+ try {
+ selectResult(await client.foodAPI.barcode(code))
+ } catch (err: any) {
+ if (err?.response?.status === 404) {
+ selectResult({ name: '', calories: 0, protein: 0, carbs: 0, fat: 0, fiber: 0, serving_size: '1 serving', source: 'manual' })
+ } else {
+ setSearchError('Product not found — enter details manually')
+ }
+ }
+ }
+
+ const stepServings = (delta: number) => {
+ hSelect()
+ const next = delta < 0 ? Math.max(0.5, +(servings - 0.5).toFixed(1)) : +(servings + 0.5).toFixed(1)
+ setServingsStr(String(next))
+ }
+
+ const handleLog = async () => {
+ if (!selected || saving) return
+ setSaving(true)
+ setSaveError(null)
+ try {
+ const payload = {
+ name: selected.name || 'Custom entry',
+ meal,
+ calories: +(selected.calories * servings).toFixed(1),
+ protein: +(selected.protein * servings).toFixed(1),
+ carbs: +(selected.carbs * servings).toFixed(1),
+ fat: +(selected.fat * servings).toFixed(1),
+ fiber: +((selected.fiber ?? 0) * servings).toFixed(1),
+ servings,
+ serving_size: selected.serving_size ?? '',
+ image_url: selected.image_url ?? '',
+ logged_at: dayToIsoNoon(date),
+ }
+ if (editId) {
+ await client.foodAPI.update(editId, payload)
+ } else {
+ await client.foodAPI.log(payload)
+ if (saveToMyFoods) {
+ await client.savedFoodsAPI.create({
+ name: selected.name, brand: selected.brand ?? '',
+ calories: selected.calories, protein: selected.protein,
+ carbs: selected.carbs, fat: selected.fat, fiber: selected.fiber ?? 0,
+ serving_size: selected.serving_size ?? '',
+ }).catch(() => {})
+ }
+ }
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ // Courier the confirmation to the dashboard toast: which meal (new) or 'Updated'.
+ router.replace(`/nutrition?logged=${editId ? 'Updated' : encodeURIComponent(MEAL_LABELS[meal])}`)
+ } catch (err: any) {
+ setSaveError(err?.response?.data?.error || 'Failed to save')
+ setSaving(false)
+ }
+ }
+
+ const goBack = () => {
+ if (phase === 'detail' && !editId) { setPhase('search'); return }
+ if (router.canGoBack()) router.back()
+ else router.replace('/nutrition')
+ }
+
+ if (phase === 'scan') {
+ return <BarcodeScanner onResult={handleBarcodeResult} onClose={() => setPhase('search')} />
+ }
+
+ const cal = selected ? Math.round(selected.calories * servings) : 0
+ const pro = selected ? +(selected.protein * servings).toFixed(1) : 0
+ const carb = selected ? +(selected.carbs * servings).toFixed(1) : 0
+ const fat_ = selected ? +(selected.fat * servings).toFixed(1) : 0
+ const fib = selected ? +((selected.fiber ?? 0) * servings).toFixed(1) : 0
+ const quickAddCals = /^\d+(\.\d+)?$/.test(query.trim()) ? Number(query.trim()) : null
+
+ return (
+ <Screen>
+ {/* Header */}
+ <View className="flex-row items-center gap-3 py-4">
+ <Pressable onPress={goBack} className="h-10 w-10 items-center justify-center rounded-xl active:scale-95" accessibilityLabel="Back">
+ <ArrowLeft size={20} color={colors.txMuted} />
+ </Pressable>
+ <View className="min-w-0 flex-1">
+ {phase === 'detail' && selected ? (
+ <>
+ <View className="flex-row items-center gap-1.5">
+ <AppText variant="caption" color="muted">{editId ? 'Edit Food' : 'Log Food'}</AppText>
+ <ChevronRight size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="secondary">Details</AppText>
+ </View>
+ <AppText variant="title" numberOfLines={1}>{selected.name || 'New Entry'}</AppText>
+ {selected.brand ? <AppText variant="caption" color="muted">{selected.brand}</AppText> : null}
+ </>
+ ) : (
+ <AppText variant="title">Log Food</AppText>
+ )}
+ </View>
+ </View>
+
+ {/* ── Search phase ── */}
+ {phase === 'search' ? (
+ <ScrollView showsVerticalScrollIndicator={false} keyboardShouldPersistTaps="handled" contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-4">
+ {/* Search + scan */}
+ <View className="flex-row items-center gap-2">
+ <View className="flex-1">
+ <SearchField
+ autoFocus
+ loading={tab === 'all' && searching}
+ placeholder="Search food…"
+ value={query}
+ onChangeText={(t) => { setQuery(t); if (t.trim()) setTab('all') }}
+ />
+ </View>
+ <Pressable
+ onPress={() => { hSelect(); setPhase('scan') }}
+ accessibilityLabel="Scan barcode"
+ className="h-12 flex-row items-center gap-1.5 rounded-xl border border-surface-border bg-surface-muted px-3.5 active:opacity-70"
+ >
+ <Scan size={20} color={colors.txSecondary} />
+ <AppText variant="caption" color="secondary" style={{ fontWeight: '600' }}>Scan</AppText>
+ </Pressable>
+ </View>
+
+ {/* Tabs */}
+ <SegmentedControl options={TAB_OPTIONS} value={tab} onChange={setTab} />
+
+ {rateLimited ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-warning-500/20 bg-warning-500/10 px-3.5 py-3">
+ <AlertCircle size={16} color={isDark ? brand.warningSoft : brand.warning} />
+ <AppText variant="caption" style={{ color: isDark ? brand.warningSoft : brand.warning }}>Too many requests — wait a moment and try again</AppText>
+ </View>
+ ) : null}
+ {searchError ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-3.5 py-3">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="caption" color="error">{searchError}</AppText>
+ </View>
+ ) : null}
+
+ {/* Results */}
+ <Card className="overflow-hidden p-0">
+ {tab === 'all' && quickAddCals !== null ? (
+ <Pressable
+ onPress={() => selectResult({ name: `${quickAddCals} kcal`, calories: quickAddCals, protein: 0, carbs: 0, fat: 0, fiber: 0, serving_size: '1 serving', source: 'off' })}
+ className="w-full flex-row items-center gap-3 border-b border-surface-border px-4 py-3.5 active:bg-surface-muted"
+ >
+ <View className="h-11 w-11 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Zap size={20} color={accent} />
+ </View>
+ <View className="min-w-0 flex-1">
+ <AppText variant="bodySemibold">Quick add {quickAddCals} kcal</AppText>
+ <AppText variant="caption" color="muted" className="mt-0.5">No macro breakdown</AppText>
+ </View>
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Pressable>
+ ) : null}
+
+ {tab === 'recent' ? (
+ recentItems.length === 0 ? (
+ <EmptyBlock icon={Utensils} title="No recent items today" subtitle="Search or scan to log food" />
+ ) : (
+ recentItems.map((item, i) => <FoodResultRow key={`${item.name}-${item.calories}-${i}`} item={item} onPress={() => selectResult(item)} />)
+ )
+ ) : null}
+
+ {tab === 'myfoods' ? (
+ savedFoods.length === 0 ? (
+ <EmptyBlock icon={Bookmark} title="No saved foods yet" subtitle="Save foods while logging to find them here" />
+ ) : (
+ savedFoods.map((sf) => <FoodResultRow key={sf.id} item={savedToResult(sf)} onPress={() => selectResult(savedToResult(sf))} />)
+ )
+ ) : null}
+
+ {tab === 'all' && !query.trim() ? (
+ <EmptyBlock icon={Utensils} title="Search millions of foods" subtitle="Or scan a barcode" />
+ ) : null}
+ {tab === 'all' && query.trim() && searching ? (
+ <View className="px-4 py-14"><AppText variant="body" color="muted" className="text-center">Searching…</AppText></View>
+ ) : null}
+ {tab === 'all' && query.trim() && !searching && searchResults.length === 0 && !searchError && !rateLimited ? (
+ <View className="items-center gap-3 px-4 py-14">
+ <AppText variant="body" color="muted">No results for "{query}"</AppText>
+ <Pressable
+ onPress={() => selectResult({ name: query.trim(), calories: 0, protein: 0, carbs: 0, fat: 0, fiber: 0, serving_size: '1 serving', source: 'off' })}
+ className="rounded-lg border border-surface-border bg-surface-overlay px-3 py-2 active:opacity-70"
+ >
+ <AppText variant="caption" color="secondary">+ Enter "{query.trim()}" manually</AppText>
+ </Pressable>
+ </View>
+ ) : null}
+ {tab === 'all' && !searching ? searchResults.map((item, i) => (
+ <FoodResultRow key={`${item.name}-${item.calories}-${i}`} item={item} onPress={() => selectResult(item)} />
+ )) : null}
+ </Card>
+ </View>
+ </ScrollView>
+ ) : null}
+
+ {/* ── Detail phase ── */}
+ {phase === 'detail' && selected ? (
+ <>
+ <ScrollView showsVerticalScrollIndicator={false} keyboardShouldPersistTaps="handled" contentContainerStyle={{ paddingBottom: 120 }}>
+ <View className="gap-4">
+ {saveError ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{saveError}</AppText>
+ </View>
+ ) : null}
+
+ {/* Food hero + macros */}
+ <Card className="overflow-hidden p-0">
+ {selected.image_url ? (
+ <Image source={{ uri: selected.image_url }} className="h-52 w-full" resizeMode="cover" />
+ ) : (
+ <View className="h-32 w-full items-center justify-center border-b border-surface-border bg-surface-muted">
+ <Utensils size={40} color={colors.txMuted} style={{ opacity: 0.2 }} />
+ </View>
+ )}
+ <View className="p-5">
+ {/* Calorie hero */}
+ <View className="mb-5 flex-row items-end justify-between">
+ <View>
+ <View className="flex-row items-baseline gap-1.5">
+ <AppText variant="display" style={{ fontSize: 44, lineHeight: 46, fontVariant: ['tabular-nums'] }}>{cal}</AppText>
+ <AppText variant="body" color="muted">kcal</AppText>
+ </View>
+ {selected.serving_size ? (
+ <AppText variant="caption" color="muted" className="mt-1">per {servings === 1 ? '' : `${servings} × `}{selected.serving_size}</AppText>
+ ) : null}
+ </View>
+ {pro + carb + fat_ > 0 ? (
+ <View className="w-24 flex-col items-end gap-1">
+ {[
+ { label: 'P', value: pro, color: MACRO_COLORS.protein },
+ { label: 'C', value: carb, color: MACRO_COLORS.carbs },
+ { label: 'F', value: fat_, color: MACRO_COLORS.fat },
+ ].map((m) => {
+ const total = pro + carb + fat_
+ const pct = total > 0 ? Math.round((m.value / total) * 100) : 0
+ return (
+ <View key={m.label} className="w-full flex-row items-center gap-1.5">
+ <AppText variant="caption" color="muted" style={{ fontSize: 10, width: 10, textAlign: 'right' }}>{m.label}</AppText>
+ <View className="h-1.5 flex-1 overflow-hidden rounded-full bg-surface-muted">
+ {/* inline height:'100%' — the h-full class expands on native (see index.tsx) */}
+ <View style={{ width: `${pct}%`, height: '100%', borderRadius: 999, backgroundColor: m.color }} />
+ </View>
+ <AppText variant="caption" style={{ fontSize: 10, width: 24, textAlign: 'right', color: m.color, fontVariant: ['tabular-nums'] }}>{pct}%</AppText>
+ </View>
+ )
+ })}
+ </View>
+ ) : null}
+ </View>
+
+ {/* Macro grid */}
+ <View className="flex-row gap-2">
+ {[
+ { label: 'Protein', value: pro, color: MACRO_TEXT.protein, bg: 'rgba(16,185,129,0.10)', border: 'rgba(16,185,129,0.20)' },
+ { label: 'Carbs', value: carb, color: MACRO_TEXT.carbs, bg: 'rgba(245,158,11,0.10)', border: 'rgba(245,158,11,0.20)' },
+ { label: 'Fat', value: fat_, color: MACRO_TEXT.fat, bg: 'rgba(139,92,246,0.10)', border: 'rgba(139,92,246,0.20)' },
+ { label: 'Fiber', value: fib, color: colors.txSecondary, bg: colors.muted, border: colors.border },
+ ].map((m) => (
+ <View key={m.label} className="flex-1 items-center rounded-xl border p-2.5" style={{ backgroundColor: m.bg, borderColor: m.border }}>
+ <AppText variant="bodySemibold" style={{ color: m.color, fontVariant: ['tabular-nums'] }}>{m.value}g</AppText>
+ <AppText variant="caption" color="muted" style={{ fontSize: 10 }} className="mt-0.5">{m.label}</AppText>
+ </View>
+ ))}
+ </View>
+ </View>
+ </Card>
+
+ {/* Servings */}
+ <Card className="gap-3">
+ <View className="flex-row items-baseline gap-2">
+ <Label>Servings</Label>
+ {selected.serving_size ? <AppText variant="caption" color="muted">({selected.serving_size} each)</AppText> : null}
+ </View>
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={Minus} variant="secondary" size="lg" label="Decrease servings" onPress={() => stepServings(-0.5)} />
+ <View className="flex-1">
+ <NumberField
+ inputMode="decimal"
+ value={servingsStr}
+ onChange={setServingsStr}
+ accessibilityLabel="Servings"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ />
+ </View>
+ <IconButton icon={Plus} variant="secondary" size="lg" label="Increase servings" onPress={() => stepServings(0.5)} />
+ </View>
+ </Card>
+
+ {/* Meal + when */}
+ <Card className="gap-5">
+ <View className="gap-3">
+ <Label>Meal</Label>
+ <View className="flex-row flex-wrap gap-2">
+ {MEALS.map((m) => {
+ const MealIcon = MEAL_ICONS[m]
+ const active = meal === m
+ return (
+ <Pressable
+ key={m}
+ onPress={() => { hSelect(); setMeal(m) }}
+ style={{ width: '48%' }}
+ className={`flex-row items-center gap-2.5 rounded-xl border px-3.5 py-3 ${active ? 'border-brand-500/40 bg-brand-500/10' : 'border-surface-border bg-surface-muted'}`}
+ >
+ <MealIcon size={16} color={active ? MEAL_COLORS[m] : colors.txMuted} />
+ <AppText variant="bodySemibold" style={{ fontSize: 13 }} color={active ? 'primary' : 'secondary'}>{MEAL_LABELS[m]}</AppText>
+ </Pressable>
+ )
+ })}
+ </View>
+ </View>
+
+ <View className="h-px bg-surface-border" />
+
+ <DateInput label="When" value={date} onChange={setDate} maximumDate={new Date()} />
+ </Card>
+
+ {/* Save to My Foods — hidden in edit mode */}
+ {!editId ? (
+ <Pressable onPress={() => setSaveToMyFoods((v) => !v)} className="flex-row items-center gap-3">
+ <Card className="flex-1 flex-row items-center gap-3">
+ <View pointerEvents="none">
+ <Toggle value={saveToMyFoods} onValueChange={setSaveToMyFoods} />
+ </View>
+ <View className="flex-row items-center gap-2">
+ {saveToMyFoods ? <BookmarkCheck size={16} color={accent} /> : <Bookmark size={16} color={colors.txMuted} />}
+ <AppText variant="bodySemibold" color="secondary" style={{ fontSize: 14 }}>Save to My Foods</AppText>
+ </View>
+ </Card>
+ </Pressable>
+ ) : null}
+ </View>
+ </ScrollView>
+
+ {/* Sticky log button */}
+ <View className="border-t border-surface-border bg-surface-base pb-6 pt-3">
+ <Button
+ title={saving ? 'Saving…' : editId ? 'Save Changes' : 'Log Food'}
+ onPress={handleLog}
+ loading={saving}
+ disabled={saving}
+ />
+ </View>
+ <NumericKeyboardAccessory />
+ </>
+ ) : null}
+ </Screen>
+ )
+}
+
+function EmptyBlock({ icon: Icon, title, subtitle }: { icon: typeof Utensils; title: string; subtitle: string }) {
+ const { colors } = useTheme()
+ return (
+ <View className="items-center px-4 py-14">
+ <Icon size={32} color={colors.txMuted} style={{ opacity: 0.3, marginBottom: 8 }} />
+ <AppText variant="body" color="muted">{title}</AppText>
+ <AppText variant="caption" color="muted" className="mt-1" style={{ opacity: 0.6 }}>{subtitle}</AppText>
+ </View>
+ )
+}
diff --git a/mobile/app/(tabs)/programs/[id].tsx b/mobile/app/(tabs)/programs/[id].tsx
new file mode 100644
index 0000000..501a05e
--- /dev/null
+++ b/mobile/app/(tabs)/programs/[id].tsx
@@ -0,0 +1,298 @@
+import { useEffect, useState } from 'react'
+import { Pressable, ScrollView, View } from 'react-native'
+import { router, useLocalSearchParams, type Href } from 'expo-router'
+import { format } from 'date-fns'
+import {
+ AlertCircle, ArrowLeft, BookOpen, ChevronRight, Dumbbell, Edit2, Layers, Pause, Play, TimerOff, Trash2,
+} from 'lucide-react-native'
+import {
+ apiErrorMessage, displayWeight, weightShort,
+ type ActiveSessionExercise, type Program, type ProgramSet,
+} from '@lyftr/shared'
+import { AppText, ConfirmSheet, Loading, Screen, deleteConfirmProps } from '../../../src/components/ui'
+import { ExerciseImage } from '../../../src/components/workouts/ExerciseImage'
+import { client, useSettingsStore, useWorkoutSession } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+import { muscleColor } from '../../../src/utils/exerciseUtils'
+
+// Exercise-detail leaf, routed INSIDE the Programs stack (programs/exercise/[exerciseId])
+// so back returns to this program — pushing the workouts-tab copy would jump tabs and
+// strand the back stack. Both routes render the shared ExerciseDetailScreen.
+const exerciseHref = (exerciseId: number) => `/programs/exercise/${exerciseId}` as unknown as Href
+const startHref = '/workouts/start' as unknown as Href
+const activeHref = '/workouts/active' as unknown as Href
+
+const restLabel = (s: number) => (s % 60 === 0 && s >= 60 ? `${s / 60}m` : `${s}s`)
+
+function SetChip({ set, isBest, unit }: { set: ProgramSet; isBest: boolean; unit: string }) {
+ return (
+ <View
+ className={`px-2.5 py-1.5 rounded-lg ${
+ isBest ? 'bg-brand-500/15 border border-brand-500/25' : 'bg-surface-raised border border-transparent'
+ }`}
+ >
+ <AppText variant="caption" color={isBest ? 'brand' : 'secondary'} style={{ fontVariant: ['tabular-nums'] }}>
+ {set.target_reps > 0 ? set.target_reps : '—'} ×{' '}
+ {set.target_weight > 0 ? `${displayWeight(set.target_weight, unit)} ${unit}` : 'BW'}
+ </AppText>
+ </View>
+ )
+}
+
+function MuscleBadge({ muscle }: { muscle: string }) {
+ const { colors } = useTheme()
+ const tint = muscleColor(muscle)
+ return (
+ <View className={`px-1.5 py-0.5 rounded ${tint?.chip ?? 'bg-surface-muted'}`}>
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>{muscle}</AppText>
+ </View>
+ )
+}
+
+export default function ProgramDetail() {
+ const { id } = useLocalSearchParams<{ id: string }>()
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const restOn = settings.rest_enabled ?? true
+ const { session, startSession } = useWorkoutSession()
+ const { colors, brand, accent, isDark } = useTheme()
+
+ const [program, setProgram] = useState<Program | null>(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState<string | null>(null)
+ const [deleting, setDeleting] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ let cancelled = false
+ const load = async () => {
+ try {
+ const data = await client.programAPI.get(Number(id))
+ if (!cancelled) setProgram(data)
+ } catch (err) {
+ if (!cancelled) setError(apiErrorMessage(err, 'Failed to load program'))
+ } finally {
+ if (!cancelled) setLoading(false)
+ }
+ }
+ load()
+ return () => { cancelled = true }
+ }, [id])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/programs'))
+
+ const handleStart = () => {
+ if (!program) return
+ // navigate (not push): programs → workouts is a cross-tab jump; push corrupts the
+ // native tab/back stack (the "can't get off the workout from a program" bug).
+ if (session) { router.navigate(startHref); return }
+ const exercises: ActiveSessionExercise[] = (program.exercises || []).map((ex) => ({
+ exercise_id: ex.exercise_id,
+ exercise: ex.exercise,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds,
+ sets: (ex.sets || []).map((s) => ({
+ set_number: s.set_number,
+ target_reps: s.target_reps,
+ target_weight: s.target_weight,
+ actual_reps: s.target_reps,
+ actual_weight: s.target_weight,
+ completed: false,
+ program_set_id: s.id,
+ })),
+ }))
+ startSession(program.name, exercises, program.id)
+ router.navigate(activeHref)
+ }
+
+ const handleDelete = async () => {
+ if (!program) return
+ setDeleting(true)
+ try {
+ await client.programAPI.delete(program.id)
+ goBack() // list refetches on focus
+ } catch {
+ setDeleting(false)
+ }
+ }
+
+ if (loading) return <Loading />
+
+ if (error || !program) {
+ return (
+ <Screen>
+ <View className="gap-4 py-4">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-2 self-start active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Back</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={20} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error || 'Program not found'}</AppText>
+ </View>
+ </View>
+ </Screen>
+ )
+ }
+
+ const exs = program.exercises ?? []
+ const totalSets = exs.reduce((s, ex) => s + (ex.sets ?? []).length, 0)
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-5 py-4">
+ {/* Back nav + actions */}
+ <View className="flex-row items-center justify-between">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-1.5 active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Programs</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2">
+ {/* Start is the primary action → filled brand pill; Edit brand outline;
+ Delete a quiet ghost glyph that only reddens at the confirm step. */}
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Start workout"
+ onPress={handleStart}
+ hitSlop={6}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg bg-brand-500 px-3 active:scale-95"
+ >
+ <Play size={14} color="#ffffff" strokeWidth={2.2} />
+ <AppText variant="label" color="white">Start</AppText>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Edit program"
+ onPress={() => router.push(`/programs/${program.id}/edit`)}
+ hitSlop={6}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg border border-brand-500/20 bg-brand-500/10 px-3 active:scale-95"
+ >
+ <Edit2 size={15} color={accent} strokeWidth={2.2} />
+ <AppText variant="label" style={{ color: accent }}>Edit</AppText>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Delete program"
+ onPress={() => setConfirming(true)}
+ disabled={deleting}
+ hitSlop={6}
+ className={`h-9 w-9 items-center justify-center rounded-lg active:bg-error-500/10 ${deleting ? 'opacity-40' : ''}`}
+ >
+ <Trash2 size={17} color={colors.txMuted} strokeWidth={2.2} />
+ </Pressable>
+ </View>
+ </View>
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete Program?', subject: `"${program.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+
+ {/* Header card */}
+ <View className="bg-surface-raised border border-surface-border rounded-2xl p-4">
+ <View className="flex-row items-start gap-3">
+ <ExerciseImage url={exs[0]?.exercise?.image_url} size="hero" fallbackIcon={BookOpen} />
+ <View className="flex-1">
+ <AppText variant="heading">{program.name}</AppText>
+ <AppText variant="body" color="muted" className="mt-0.5">
+ Created {format(new Date(program.created_at), 'MMMM d, yyyy')}
+ </AppText>
+ </View>
+ </View>
+
+ {/* Stats strip: Exercises / Total Sets */}
+ <View className="flex-row mt-4 pt-4 border-t border-surface-border">
+ <View className="flex-1 items-center">
+ <View className="flex-row items-center gap-1 mb-0.5">
+ <Dumbbell size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Exercises</AppText>
+ </View>
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{exs.length}</AppText>
+ </View>
+ <View className="flex-1 items-center border-l border-surface-border">
+ <View className="flex-row items-center gap-1 mb-0.5">
+ <Layers size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Total Sets</AppText>
+ </View>
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{totalSets}</AppText>
+ </View>
+ </View>
+
+ {program.notes ? (
+ <View className="mt-3 pt-3 border-t border-surface-border">
+ <AppText variant="body" color="muted">{program.notes}</AppText>
+ </View>
+ ) : null}
+ </View>
+
+ {/* Exercises */}
+ {!restOn && (
+ <View className="flex-row items-center gap-1.5 px-1">
+ <TimerOff size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Rest timer is off — turn it on in Settings</AppText>
+ </View>
+ )}
+ <View className="gap-3">
+ {exs.map((ex) => {
+ const sets = ex.sets ?? []
+ const maxTargetLbs = sets.length > 0 ? Math.max(...sets.map((s) => s.target_weight || 0)) : 0
+ const maxTarget = displayWeight(maxTargetLbs, wUnit)
+
+ return (
+ <Pressable
+ key={ex.id ?? ex.exercise_id}
+ accessibilityRole="button"
+ onPress={() => router.push(exerciseHref(ex.exercise_id))}
+ className="bg-surface-raised border border-surface-border rounded-2xl overflow-hidden active:scale-[0.99]"
+ >
+ <View className="flex-row items-center gap-3 p-4">
+ <ExerciseImage url={ex.exercise?.image_url} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{ex.exercise?.name}</AppText>
+ <View className="flex-row items-center gap-2 mt-0.5">
+ {ex.exercise?.muscle_group ? <MuscleBadge muscle={ex.exercise.muscle_group} /> : null}
+ <AppText variant="caption" color="muted" numberOfLines={1} className="flex-shrink">
+ {sets.length} sets{maxTarget > 0 ? ` · target ${maxTarget} ${wUnit}` : ''}
+ </AppText>
+ </View>
+ </View>
+ <ChevronRight size={16} color={colors.txMuted} />
+ </View>
+
+ {sets.length > 0 && (
+ <View className="flex-row items-center gap-2 px-4 pb-4 pt-3 border-t border-surface-border/50">
+ <View className="flex-1 flex-row flex-wrap gap-1.5">
+ {sets.map((set, i) => (
+ <SetChip key={i} set={set} isBest={set.target_weight === maxTargetLbs && maxTargetLbs > 0} unit={wUnit} />
+ ))}
+ </View>
+ {restOn && (
+ ex.rest_seconds === 0 ? (
+ <AppText variant="caption" color="muted">No rest</AppText>
+ ) : (
+ <View className="flex-row items-center gap-1">
+ <Pause size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">{restLabel(ex.rest_seconds ?? 90)}</AppText>
+ </View>
+ )
+ )}
+ </View>
+ )}
+ </Pressable>
+ )
+ })}
+ </View>
+ </View>
+ </ScrollView>
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/programs/[id]/edit.tsx b/mobile/app/(tabs)/programs/[id]/edit.tsx
new file mode 100644
index 0000000..a1dd90c
--- /dev/null
+++ b/mobile/app/(tabs)/programs/[id]/edit.tsx
@@ -0,0 +1,301 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { Platform, Pressable, ScrollView, Text, View } from 'react-native'
+import { router, useLocalSearchParams } from 'expo-router'
+import { AlertCircle, ArrowLeft, BookOpen, Dumbbell, FileText, Plus, Zap } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { apiErrorMessage, displayToLbs, lbsToDisplay, weightShort, type Exercise } from '@lyftr/shared'
+import { AppText, Button, EmptyState, Field, IconButton, Label, Loading, Screen } from '../../../../src/components/ui'
+import { ExerciseFormCard } from '../../../../src/components/workouts/ExerciseFormCard'
+import { ExercisePicker } from '../../../../src/components/workouts/ExercisePicker'
+import { KeyboardDoneBar } from '../../../../src/components/workouts/KeyboardDoneBar'
+import { client, useSettingsStore } from '../../../../src/lib/lyftr'
+import { useTheme } from '../../../../src/theme/useTheme'
+
+interface ProgramFormData {
+ name: string
+ notes: string
+ exercises: {
+ exercise_id: number
+ notes: string
+ rest_seconds: number
+ sets: { set_number: number; reps: number; weight: number }[]
+ }[]
+}
+
+const KEYPAD_DONE_ID = 'program-edit-keypad-done'
+
+function FieldHeader({ icon: Icon, label }: { icon: LucideIcon; label: string }) {
+ const { colors } = useTheme()
+ return (
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Icon size={14} color={colors.txMuted} strokeWidth={2.2} />
+ <Label>{label}</Label>
+ </View>
+ )
+}
+
+export default function EditProgram() {
+ const { id } = useLocalSearchParams<{ id: string }>()
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const { accent, brand, isDark } = useTheme()
+
+ const [showPicker, setShowPicker] = useState(false)
+ const [loading, setLoading] = useState(false)
+ const [initialLoading, setInitialLoading] = useState(true)
+ const [error, setError] = useState('')
+ const [pickerExercises, setPickerExercises] = useState<Record<number, Exercise>>({})
+ const [formData, setFormData] = useState<ProgramFormData>({ name: '', notes: '', exercises: [] })
+ const scrollRef = useRef<ScrollView>(null)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ if (error) scrollRef.current?.scrollTo({ y: 0, animated: true })
+ }, [error])
+
+ useEffect(() => {
+ const programId = Number(id)
+ if (!programId) { router.replace('/programs'); return }
+ let cancelled = false
+ client.programAPI.get(programId)
+ .then((p) => {
+ if (cancelled) return
+ const map: Record<number, Exercise> = {}
+ ;(p.exercises || []).forEach((ex) => { map[ex.exercise_id] = ex.exercise })
+ setPickerExercises(map)
+ setFormData({
+ name: p.name,
+ notes: p.notes || '',
+ exercises: (p.exercises || []).map((ex) => ({
+ exercise_id: ex.exercise_id,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds ?? (settings.rest_seconds_default ?? 90),
+ sets: (ex.sets || []).map((s) => ({
+ set_number: s.set_number,
+ reps: s.target_reps,
+ // Web parity: unrounded prefill (kg users see long decimals).
+ weight: lbsToDisplay(s.target_weight, settings.weight_unit),
+ })),
+ })),
+ })
+ })
+ .catch(() => { if (!cancelled) setError('Failed to load program') })
+ .finally(() => { if (!cancelled) setInitialLoading(false) })
+ return () => { cancelled = true }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [id])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/programs'))
+
+ const addExercise = (exercise: Exercise) => {
+ setPickerExercises((prev) => ({ ...prev, [exercise.id]: exercise }))
+ setFormData((prev) => ({
+ ...prev,
+ exercises: [
+ ...prev.exercises,
+ { exercise_id: exercise.id, notes: '', rest_seconds: settings.rest_seconds_default ?? 90, sets: [{ set_number: 1, reps: 0, weight: 0 }] },
+ ],
+ }))
+ setShowPicker(false)
+ setError('')
+ }
+
+ const removeExercise = useCallback((index: number) =>
+ setFormData((prev) => ({ ...prev, exercises: prev.exercises.filter((_, i) => i !== index) })), [])
+
+ const addSet = useCallback((exIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: [...ex.sets, { set_number: ex.sets.length + 1, reps: 0, weight: 0 }] }),
+ }))
+ }, [])
+
+ const removeSet = useCallback((exIdx: number, setIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.filter((_, j) => j !== setIdx) }),
+ }))
+ }, [])
+
+ const updateSet = useCallback((exIdx: number, setIdx: number, field: 'reps' | 'weight', value: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.map((s, j) => (j !== setIdx ? s : { ...s, [field]: Number(value) || 0 })) }),
+ }))
+ }, [])
+
+ const updateExNotes = useCallback((exIdx: number, text: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, notes: text })),
+ }))
+ }, [])
+
+ const setExRest = useCallback((exIdx: number, secs: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, rest_seconds: secs })),
+ }))
+ }, [])
+
+ const handleSubmit = async () => {
+ if (!formData.name.trim()) { setError('Program name required'); return }
+ if (formData.exercises.length === 0) { setError('Add at least one exercise'); return }
+ setLoading(true)
+ try {
+ const payload = {
+ name: formData.name,
+ notes: formData.notes,
+ exercises: formData.exercises.map((ex) => ({
+ exercise_id: ex.exercise_id,
+ notes: ex.notes,
+ rest_seconds: ex.rest_seconds,
+ sets: ex.sets.map((s) => ({
+ set_number: s.set_number,
+ target_reps: s.reps,
+ target_weight: displayToLbs(s.weight, settings.weight_unit),
+ })),
+ })),
+ }
+ await client.programAPI.update(Number(id), payload)
+ router.dismissTo('/programs')
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to update program'))
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ if (initialLoading) return <Loading />
+
+ const selectedIds = formData.exercises.map((e) => e.exercise_id)
+ const totalSets = formData.exercises.reduce((sum, ex) => sum + ex.sets.length, 0)
+
+ return (
+ <Screen>
+ <ScrollView
+ ref={scrollRef}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 24 }}
+ automaticallyAdjustKeyboardInsets
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode={Platform.OS === 'ios' ? 'interactive' : 'on-drag'}
+ >
+ <View className="gap-6 py-4">
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={ArrowLeft} label="Back" variant="ghost" size="md" onPress={goBack} />
+ <View>
+ <AppText variant="title">Edit Program</AppText>
+ <AppText variant="caption" color="muted">
+ {formData.exercises.length} exercises • {totalSets} sets
+ </AppText>
+ </View>
+ </View>
+
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error}</AppText>
+ </View>
+ ) : null}
+
+ <View>
+ <FieldHeader icon={BookOpen} label="Program Name" />
+ <Field
+ value={formData.name}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, name: t }))}
+ />
+ </View>
+
+ <View>
+ <FieldHeader icon={FileText} label="Notes" />
+ <Field
+ value={formData.notes}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, notes: t }))}
+ placeholder="Program description or goals…"
+ multiline
+ />
+ </View>
+
+ <View>
+ <View className="mb-3">
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Zap size={14} color={accent} strokeWidth={2.2} />
+ <Label>Exercises</Label>
+ </View>
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setShowPicker(true)}
+ className="flex-row items-center justify-center gap-1.5 rounded-lg bg-brand-500 px-3 py-2.5 active:scale-95"
+ >
+ <Plus size={13} color="#ffffff" />
+ <Text className="font-sans-semibold text-xs text-white">Add Exercise</Text>
+ </Pressable>
+ </View>
+
+ {formData.exercises.length === 0 && (
+ <View className="rounded-2xl border border-dashed border-surface-border">
+ <EmptyState
+ compact
+ icon={Dumbbell}
+ title="No exercises yet"
+ subtitle="Add an exercise to build your program"
+ />
+ </View>
+ )}
+
+ <View className="gap-4">
+ {formData.exercises.map((programEx, exIdx) => (
+ <ExerciseFormCard
+ key={exIdx}
+ index={exIdx}
+ exercise={pickerExercises[programEx.exercise_id]}
+ notes={programEx.notes}
+ sets={programEx.sets}
+ restSeconds={programEx.rest_seconds ?? 90}
+ unit={wUnit}
+ onRemove={removeExercise}
+ onNotesChange={updateExNotes}
+ onAddSet={addSet}
+ onRemoveSet={removeSet}
+ onUpdateSet={updateSet}
+ onRestChange={setExRest}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ ))}
+ {formData.exercises.length > 0 && (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Add exercise"
+ onPress={() => setShowPicker(true)}
+ className="h-11 flex-row items-center justify-center gap-1.5 rounded-2xl border border-dashed border-surface-border active:opacity-60"
+ >
+ <Plus size={14} color={accent} />
+ <Text className="font-sans-semibold text-xs" style={{ color: accent }}>Add Exercise</Text>
+ </Pressable>
+ )}
+ </View>
+ </View>
+ </View>
+ </ScrollView>
+
+ <View className="-mx-5 flex-row gap-3 border-t border-surface-border bg-surface-base px-5 pb-2 pt-3">
+ <Button title="Cancel" variant="secondary" className="flex-1" onPress={goBack} />
+ <Button title="Save Changes" className="flex-1" onPress={handleSubmit} loading={loading} />
+ </View>
+
+ <KeyboardDoneBar nativeID={KEYPAD_DONE_ID} />
+
+ {showPicker && (
+ <ExercisePicker selectedIds={selectedIds} onSelect={addExercise} onClose={() => setShowPicker(false)} />
+ )}
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/programs/_layout.tsx b/mobile/app/(tabs)/programs/_layout.tsx
new file mode 100644
index 0000000..0843716
--- /dev/null
+++ b/mobile/app/(tabs)/programs/_layout.tsx
@@ -0,0 +1,18 @@
+import { Stack } from 'expo-router'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Nested stack under the Programs tab: list → detail → new / edit. Mirrors the
+// Workouts stack: header hidden (screens draw their own back row) and the card
+// background pinned to the app surface so push transitions don't flash the
+// platform default.
+export default function ProgramsLayout() {
+ const { colors } = useTheme()
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: { backgroundColor: colors.base },
+ }}
+ />
+ )
+}
diff --git a/mobile/app/(tabs)/programs/exercise/[exerciseId].tsx b/mobile/app/(tabs)/programs/exercise/[exerciseId].tsx
new file mode 100644
index 0000000..3624773
--- /dev/null
+++ b/mobile/app/(tabs)/programs/exercise/[exerciseId].tsx
@@ -0,0 +1,8 @@
+import { ExerciseDetailScreen } from '../../../../src/components/workouts/ExerciseDetailScreen'
+
+// Programs-tab leaf for the shared exercise-detail screen (reached from program detail).
+// Its own copy (rather than linking the workouts-tab route) keeps back within the Programs
+// stack — cross-tab pushes strand the back stack. Deep-link back falls to the programs list.
+export default function ProgramsExerciseDetail() {
+ return <ExerciseDetailScreen backFallback="/programs" />
+}
diff --git a/mobile/app/(tabs)/programs/index.tsx b/mobile/app/(tabs)/programs/index.tsx
new file mode 100644
index 0000000..ce32f89
--- /dev/null
+++ b/mobile/app/(tabs)/programs/index.tsx
@@ -0,0 +1,161 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { ActivityIndicator, FlatList, RefreshControl, View } from 'react-native'
+import { router, useFocusEffect } from 'expo-router'
+import { BookOpen, Plus } from 'lucide-react-native'
+import type { Program } from '@lyftr/shared'
+import { AppText, Card, EmptyState, IconButton, Label, PageHeader, Screen, SearchField } from '../../../src/components/ui'
+import { ProgramCard } from '../../../src/components/programs/ProgramCard'
+import { ProgramsSkeleton } from '../../../src/components/programs/ProgramsSkeleton'
+import { useServerInfiniteList } from '../../../src/hooks/useServerInfiniteList'
+import { client } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+export default function Programs() {
+ const { accent } = useTheme()
+
+ const [search, setSearch] = useState('')
+ const [debouncedSearch, setDebouncedSearch] = useState('')
+
+ // Debounce search — 250ms sits in the research-backed 200–300ms sweet spot (matches
+ // the Workouts list).
+ useEffect(() => {
+ const t = setTimeout(() => setDebouncedSearch(search), 250)
+ return () => clearTimeout(t)
+ }, [search])
+
+ const fetcher = useCallback(
+ (offset: number, limit: number) =>
+ client.programAPI.list({ offset, limit, q: debouncedSearch || undefined }),
+ [debouncedSearch]
+ )
+ const { items: programs, loadMore, hasMore, loading, initialLoading, refreshing, reload } =
+ useServerInfiniteList<Program>({ fetcher, deps: [debouncedSearch] })
+
+ // The stack keeps this screen mounted under the detail/form screens; refetch on
+ // re-focus so an edit/delete/create there reflects here. Skip the first focus (the
+ // hook's deps-effect already fetched).
+ const focusedOnce = useRef(false)
+ useFocusEffect(
+ useCallback(() => {
+ if (!focusedOnce.current) {
+ focusedOnce.current = true
+ return
+ }
+ reload()
+ }, [reload])
+ )
+
+ const [pulling, setPulling] = useState(false)
+ const onPullRefresh = useCallback(async () => {
+ setPulling(true)
+ await reload()
+ setPulling(false)
+ }, [reload])
+
+ // First load shows a content-shaped skeleton (header + stats + search + card rows as
+ // placeholders) so the layout is there before the data fills in — same pattern as
+ // the Workouts list.
+ if (initialLoading) return <ProgramsSkeleton />
+
+ // Stale-while-revalidate: dim the loaded content while a search re-fetches (the
+ // previous results stay on screen until the fresh page lands). Pagination (loadMore)
+ // is excluded so appending a page doesn't dim the whole list.
+ const dim = refreshing
+
+ const stats = [
+ // 1:1 with web: summarize the *loaded* items, not a server-side stat.
+ { label: 'Total', value: String(programs.length), unit: 'programs' },
+ {
+ label: 'Avg Exercises',
+ value:
+ programs.length > 0
+ ? String(Math.round(programs.reduce((s, p) => s + (p.exercises?.length || 0), 0) / programs.length))
+ : '0',
+ unit: 'per program',
+ },
+ ]
+
+ return (
+ <Screen>
+ <FlatList
+ data={programs}
+ keyExtractor={(p) => String(p.id)}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 32 }}
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="on-drag"
+ onEndReached={loadMore}
+ onEndReachedThreshold={0.5}
+ refreshControl={
+ <RefreshControl refreshing={pulling} onRefresh={onPullRefresh} tintColor={accent} colors={[accent]} />
+ }
+ ItemSeparatorComponent={() => <View className="h-3" />}
+ ListHeaderComponent={
+ <View className="gap-5 py-4">
+ <PageHeader
+ title="Programs"
+ subtitle="Reusable workout templates"
+ action={
+ <IconButton
+ icon={Plus}
+ label="New Program"
+ variant="solid"
+ size="md"
+ onPress={() => router.push('/programs/new')}
+ />
+ }
+ />
+
+ {/* Summary — web's 2-card grid, grayed out during a full (re)load. */}
+ <View className="flex-row gap-3" style={{ opacity: dim ? 0.5 : 1 }}>
+ {stats.map((s) => (
+ <Card key={s.label} className="flex-1 rounded-2xl">
+ <Label className="mb-2" numberOfLines={1}>{s.label}</Label>
+ <View className="flex-row items-end gap-1">
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{s.value}</AppText>
+ <AppText variant="caption" color="muted" className="mb-0.5" numberOfLines={1}>{s.unit}</AppText>
+ </View>
+ </Card>
+ ))}
+ </View>
+
+ <SearchField
+ value={search}
+ onChangeText={setSearch}
+ loading={refreshing}
+ placeholder="Search programs…"
+ />
+ </View>
+ }
+ renderItem={({ item }) => (
+ <View style={{ opacity: dim ? 0.5 : 1 }}>
+ <ProgramCard
+ program={item}
+ onPress={() => router.push(`/programs/${item.id}`)}
+ onDeleted={() => reload()}
+ />
+ </View>
+ )}
+ ListEmptyComponent={
+ loading ? null : (
+ <EmptyState
+ icon={BookOpen}
+ title="No programs found"
+ subtitle={search ? 'Try a different search' : 'Create a program to get started'}
+ />
+ )
+ }
+ ListFooterComponent={
+ // Pagination-only spinner: `!dim` keeps it from firing during a full
+ // (re)load — there the content is already grayed, so a footer spinner
+ // would read as an unwanted "loading" in the middle.
+ hasMore && loading && !dim && programs.length > 0 ? (
+ <View className="items-center py-3">
+ <ActivityIndicator size="small" color={accent} />
+ </View>
+ ) : null
+ }
+ />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/programs/new.tsx b/mobile/app/(tabs)/programs/new.tsx
new file mode 100644
index 0000000..0f7ffe9
--- /dev/null
+++ b/mobile/app/(tabs)/programs/new.tsx
@@ -0,0 +1,279 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { Platform, Pressable, ScrollView, Text, View } from 'react-native'
+import { router } from 'expo-router'
+import { AlertCircle, ArrowLeft, BookOpen, Dumbbell, FileText, Plus, Zap } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { apiErrorMessage, displayToLbs, weightShort, type Exercise } from '@lyftr/shared'
+import { AppText, Button, EmptyState, Field, IconButton, Label, Screen } from '../../../src/components/ui'
+import { ExerciseFormCard } from '../../../src/components/workouts/ExerciseFormCard'
+import { ExercisePicker } from '../../../src/components/workouts/ExercisePicker'
+import { KeyboardDoneBar } from '../../../src/components/workouts/KeyboardDoneBar'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Weights live in DISPLAY units in the form (reps/weight per set, same shape the shared
+// ExerciseFormCard edits); converted to lbs + mapped to target_reps/target_weight only in
+// the submit payload — 1:1 with web AddProgram.
+interface ProgramFormData {
+ name: string
+ notes: string
+ exercises: {
+ exercise_id: number
+ notes: string
+ rest_seconds: number
+ sets: { set_number: number; reps: number; weight: number }[]
+ }[]
+}
+
+const KEYPAD_DONE_ID = 'program-new-keypad-done'
+
+function FieldHeader({ icon: Icon, label, hint }: { icon: LucideIcon; label: string; hint?: string }) {
+ const { colors } = useTheme()
+ return (
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Icon size={14} color={colors.txMuted} strokeWidth={2.2} />
+ <Label>{label}</Label>
+ {hint ? <AppText variant="caption" color="muted">{hint}</AppText> : null}
+ </View>
+ )
+}
+
+export default function AddProgram() {
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const { accent, brand, isDark } = useTheme()
+
+ const [showPicker, setShowPicker] = useState(false)
+ const [loading, setLoading] = useState(false)
+ const [error, setError] = useState('')
+ const [pickerExercises, setPickerExercises] = useState<Record<number, Exercise>>({})
+ const [formData, setFormData] = useState<ProgramFormData>({ name: '', notes: '', exercises: [] })
+ const scrollRef = useRef<ScrollView>(null)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ if (error) scrollRef.current?.scrollTo({ y: 0, animated: true })
+ }, [error])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/programs'))
+
+ const addExercise = (exercise: Exercise) => {
+ setPickerExercises((prev) => ({ ...prev, [exercise.id]: exercise }))
+ setFormData((prev) => ({
+ ...prev,
+ exercises: [
+ ...prev.exercises,
+ {
+ exercise_id: exercise.id,
+ notes: '',
+ rest_seconds: settings.rest_seconds_default ?? 90,
+ sets: [{ set_number: 1, reps: 0, weight: 0 }],
+ },
+ ],
+ }))
+ setShowPicker(false)
+ setError('')
+ }
+
+ // Stable + immutable handlers (see workouts/new.tsx) so the memoized ExerciseFormCard
+ // only re-renders the edited card.
+ const removeExercise = useCallback((index: number) =>
+ setFormData((prev) => ({ ...prev, exercises: prev.exercises.filter((_, i) => i !== index) })), [])
+
+ const addSet = useCallback((exIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: [...ex.sets, { set_number: ex.sets.length + 1, reps: 0, weight: 0 }] }),
+ }))
+ }, [])
+
+ // Web parity: removing a middle set does NOT renumber the rest.
+ const removeSet = useCallback((exIdx: number, setIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.filter((_, j) => j !== setIdx) }),
+ }))
+ }, [])
+
+ const updateSet = useCallback((exIdx: number, setIdx: number, field: 'reps' | 'weight', value: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.map((s, j) => (j !== setIdx ? s : { ...s, [field]: Number(value) || 0 })) }),
+ }))
+ }, [])
+
+ const updateExNotes = useCallback((exIdx: number, text: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, notes: text })),
+ }))
+ }, [])
+
+ const setExRest = useCallback((exIdx: number, secs: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, rest_seconds: secs })),
+ }))
+ }, [])
+
+ const handleSubmit = async () => {
+ if (!formData.name.trim()) { setError('Program name required'); return }
+ if (formData.exercises.length === 0) { setError('Add at least one exercise'); return }
+ setLoading(true)
+ try {
+ const payload = {
+ name: formData.name,
+ notes: formData.notes,
+ exercises: formData.exercises.map((ex) => ({
+ exercise_id: ex.exercise_id,
+ notes: ex.notes,
+ rest_seconds: ex.rest_seconds,
+ sets: ex.sets.map((s) => ({
+ set_number: s.set_number,
+ target_reps: s.reps,
+ target_weight: displayToLbs(s.weight, settings.weight_unit),
+ })),
+ })),
+ }
+ await client.programAPI.create(payload)
+ router.dismissTo('/programs')
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to create program'))
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ const selectedIds = formData.exercises.map((e) => e.exercise_id)
+ const totalSets = formData.exercises.reduce((sum, ex) => sum + ex.sets.length, 0)
+
+ return (
+ <Screen>
+ <ScrollView
+ ref={scrollRef}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 24 }}
+ automaticallyAdjustKeyboardInsets
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode={Platform.OS === 'ios' ? 'interactive' : 'on-drag'}
+ >
+ <View className="gap-6 py-4">
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={ArrowLeft} label="Back" variant="ghost" size="md" onPress={goBack} />
+ <View>
+ <AppText variant="title">New Program</AppText>
+ <AppText variant="caption" color="muted">
+ {formData.exercises.length} exercises • {totalSets} sets
+ </AppText>
+ </View>
+ </View>
+
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error}</AppText>
+ </View>
+ ) : null}
+
+ <View>
+ <FieldHeader icon={BookOpen} label="Program Name" hint="(required)" />
+ <Field
+ value={formData.name}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, name: t }))}
+ placeholder="e.g., Push Pull Legs, Upper Lower"
+ />
+ </View>
+
+ <View>
+ <FieldHeader icon={FileText} label="Notes" />
+ <Field
+ value={formData.notes}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, notes: t }))}
+ placeholder="Program description or goals…"
+ multiline
+ />
+ </View>
+
+ <View>
+ <View className="mb-3">
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Zap size={14} color={accent} strokeWidth={2.2} />
+ <Label>Exercises</Label>
+ <AppText variant="caption" color="muted">(required)</AppText>
+ </View>
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setShowPicker(true)}
+ className="flex-row items-center justify-center gap-1.5 rounded-lg bg-brand-500 px-3 py-2.5 active:scale-95"
+ >
+ <Plus size={13} color="#ffffff" />
+ <Text className="font-sans-semibold text-xs text-white">Add Exercise</Text>
+ </Pressable>
+ </View>
+
+ {formData.exercises.length === 0 && (
+ <View className="rounded-2xl border border-dashed border-surface-border">
+ <EmptyState
+ compact
+ icon={Dumbbell}
+ title="No exercises yet"
+ subtitle="Add an exercise to build your program"
+ />
+ </View>
+ )}
+
+ <View className="gap-4">
+ {formData.exercises.map((programEx, exIdx) => (
+ <ExerciseFormCard
+ key={exIdx}
+ index={exIdx}
+ exercise={pickerExercises[programEx.exercise_id]}
+ notes={programEx.notes}
+ sets={programEx.sets}
+ restSeconds={programEx.rest_seconds ?? 90}
+ unit={wUnit}
+ onRemove={removeExercise}
+ onNotesChange={updateExNotes}
+ onAddSet={addSet}
+ onRemoveSet={removeSet}
+ onUpdateSet={updateSet}
+ onRestChange={setExRest}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ ))}
+ {formData.exercises.length > 0 && (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Add exercise"
+ onPress={() => setShowPicker(true)}
+ className="h-11 flex-row items-center justify-center gap-1.5 rounded-2xl border border-dashed border-surface-border active:opacity-60"
+ >
+ <Plus size={14} color={accent} />
+ <Text className="font-sans-semibold text-xs" style={{ color: accent }}>Add Exercise</Text>
+ </Pressable>
+ )}
+ </View>
+ </View>
+ </View>
+ </ScrollView>
+
+ <View className="-mx-5 flex-row gap-3 border-t border-surface-border bg-surface-base px-5 pb-2 pt-3">
+ <Button title="Cancel" variant="secondary" className="flex-1" onPress={goBack} />
+ <Button title="Save Program" className="flex-1" onPress={handleSubmit} loading={loading} />
+ </View>
+
+ <KeyboardDoneBar nativeID={KEYPAD_DONE_ID} />
+
+ {showPicker && (
+ <ExercisePicker selectedIds={selectedIds} onSelect={addExercise} onClose={() => setShowPicker(false)} />
+ )}
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/settings.tsx b/mobile/app/(tabs)/settings.tsx
new file mode 100644
index 0000000..bd99608
--- /dev/null
+++ b/mobile/app/(tabs)/settings.tsx
@@ -0,0 +1,403 @@
+import { useEffect, useMemo, useState } from 'react'
+import { Pressable, ScrollView, View } from 'react-native'
+import { router } from 'expo-router'
+import {
+ ArrowLeft,
+ CalendarDays,
+ Clock,
+ Dumbbell,
+ LogOut,
+ Mail,
+ Minus,
+ Moon,
+ Plus,
+ Scale,
+ Server,
+ Timer,
+ Trash2,
+} from 'lucide-react-native'
+import { normalizeServerUrl, testServerConnection } from '@lyftr/shared'
+import {
+ AppText,
+ Button,
+ ConfirmSheet,
+ Field,
+ IconButton,
+ Loading,
+ Muted,
+ NumberField,
+ PageHeader,
+ Screen,
+ SegmentedControl,
+ SettingsGroup,
+ SettingsRow,
+ Toast,
+ Toggle,
+ type ToastVariant,
+} from '../../src/components/ui'
+import { client, useAuthStore, useServerStore, useSettingsStore } from '../../src/lib/lyftr'
+import { useTheme } from '../../src/theme/useTheme'
+
+const MONTHS = [
+ 'January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December',
+]
+
+const REST_PRESETS = [60, 90, 120, 180]
+
+type ToastState = { variant: ToastVariant; title: string; description?: string }
+
+export default function SettingsScreen() {
+ const user = useAuthStore((s) => s.user)
+ const logout = useAuthStore((s) => s.logout)
+ const serverUrl = useServerStore((s) => s.serverUrl)
+ const setServerUrl = useServerStore((s) => s.setServerUrl)
+
+ const settings = useSettingsStore((s) => s.settings)
+ const loaded = useSettingsStore((s) => s.loaded)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const updateSettings = useSettingsStore((s) => s.update)
+ const setWorkoutLayout = useSettingsStore((s) => s.setWorkoutLayout)
+ const setRestEnabled = useSettingsStore((s) => s.setRestEnabled)
+ const setRestSeconds = useSettingsStore((s) => s.setRestSeconds)
+
+ const { mode, setMode, colors } = useTheme()
+
+ const [toast, setToast] = useState<ToastState | null>(null)
+
+ // Macro/calorie targets are the one batch-saved (server-side) block — mirror web:
+ // edit locally as text, PUT on "Save". Everything else writes on change.
+ const [targets, setTargets] = useState({ calorie_target: '', protein_target: '', carb_target: '', fat_target: '' })
+ const [saving, setSaving] = useState(false)
+
+ const [showCustomRest, setShowCustomRest] = useState(false)
+
+ // Server repoint (same warn-but-save flow as the sign-in screens / web ServerSettings).
+ const [urlInput, setUrlInput] = useState(serverUrl)
+ const [serverMsg, setServerMsg] = useState<string | null>(null)
+ const [testing, setTesting] = useState(false)
+
+ const [confirmDelete, setConfirmDelete] = useState(false)
+ const [deleting, setDeleting] = useState(false)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ setUrlInput(serverUrl)
+ }, [serverUrl])
+
+ // Seed the target inputs from the server-backed settings whenever they change (initial
+ // load or a change synced from another device).
+ useEffect(() => {
+ setTargets({
+ calorie_target: String(settings.calorie_target),
+ protein_target: String(settings.protein_target),
+ carb_target: String(settings.carb_target),
+ fat_target: String(settings.fat_target),
+ })
+ }, [settings.calorie_target, settings.protein_target, settings.carb_target, settings.fat_target])
+
+ const memberSince = useMemo(() => {
+ if (!user?.created_at) return '—'
+ const d = new Date(user.created_at)
+ return `${MONTHS[d.getMonth()]} ${d.getFullYear()}`
+ }, [user?.created_at])
+
+ const restEnabled = settings.rest_enabled ?? true
+ const restCur = settings.rest_seconds_default ?? 90
+ const restIsCustom = !REST_PRESETS.includes(restCur)
+ const restCustomActive = restIsCustom || showCustomRest
+
+ const onDigits = (key: keyof typeof targets) => (t: string) =>
+ setTargets((p) => ({ ...p, [key]: t.replace(/[^0-9]/g, '') }))
+
+ const handleSaveTargets = async () => {
+ setSaving(true)
+ try {
+ await updateSettings({
+ calorie_target: parseInt(targets.calorie_target) || 0,
+ protein_target: parseInt(targets.protein_target) || 0,
+ carb_target: parseInt(targets.carb_target) || 0,
+ fat_target: parseInt(targets.fat_target) || 0,
+ })
+ setToast({ variant: 'success', title: 'Targets saved' })
+ } catch (err: any) {
+ setToast({ variant: 'error', title: 'Could not save targets', description: err?.message })
+ } finally {
+ setSaving(false)
+ }
+ }
+
+ const saveServer = async () => {
+ setTesting(true)
+ setServerMsg(null)
+ const base = normalizeServerUrl(urlInput)
+ if (urlInput.trim() && !base) {
+ setServerMsg('Enter a full URL including http:// or https://')
+ setTesting(false)
+ return
+ }
+ // Warn-but-save: the choice is authoritative right away; the probe is advisory.
+ await setServerUrl(base)
+ const result = await testServerConnection(base)
+ setServerMsg(result.ok ? `Connected · ${result.info.name} v${result.info.version}` : `Saved, but ${result.message}`)
+ setTesting(false)
+ }
+
+ const handleDeleteAccount = async () => {
+ setDeleting(true)
+ try {
+ await client.userAPI.deleteAccount()
+ // logout clears the token + user; the tab layout's auth guard redirects to sign-in.
+ await logout()
+ } catch (err: any) {
+ setDeleting(false)
+ setConfirmDelete(false)
+ setToast({ variant: 'error', title: 'Could not delete account', description: err?.message })
+ }
+ }
+
+ if (!loaded) return <Loading />
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} keyboardShouldPersistTaps="handled">
+ <View className="gap-6 py-4">
+ {/* Back — Settings is reached from the Home avatar (no longer a footer tab). */}
+ <View className="gap-3">
+ <Pressable
+ onPress={() => (router.canGoBack() ? router.back() : router.navigate('/'))}
+ hitSlop={8}
+ className="flex-row items-center gap-1.5 self-start active:opacity-60"
+ >
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Home</AppText>
+ </Pressable>
+ <PageHeader title="Settings" subtitle="Preferences and account configuration" />
+ </View>
+
+ {/* Account */}
+ <SettingsGroup title="Account">
+ <SettingsRow icon={Mail} label="Email" value={user?.email ?? '—'} />
+ <SettingsRow icon={CalendarDays} label="Member since" value={memberSince} divider />
+ </SettingsGroup>
+
+ {/* Appearance */}
+ <SettingsGroup title="Appearance">
+ <SettingsRow
+ icon={Moon}
+ label="Dark mode"
+ description="Use the dark color scheme"
+ right={
+ <Toggle
+ value={mode === 'dark'}
+ onValueChange={(on) => setMode(on ? 'dark' : 'light')}
+ accessibilityLabel="Dark mode"
+ />
+ }
+ />
+ </SettingsGroup>
+
+ {/* Workout */}
+ <SettingsGroup title="Workout" footnote="Default rest seeds new exercises · a per-exercise rest overrides it.">
+ <SettingsRow
+ icon={Dumbbell}
+ label="Default workout view"
+ below={
+ <SegmentedControl
+ value={settings.workout_layout ?? 'list'}
+ onChange={setWorkoutLayout}
+ options={[
+ { value: 'list', label: 'List' },
+ { value: 'gym', label: 'Gym Mode' },
+ ]}
+ />
+ }
+ />
+ <SettingsRow
+ icon={Timer}
+ label="Rest timer"
+ description="Auto-start a countdown between sets"
+ divider
+ right={
+ <Toggle value={restEnabled} onValueChange={setRestEnabled} accessibilityLabel="Rest timer" />
+ }
+ />
+ {/* Dependent sub-setting: shown but dimmed + inert when the timer is off (the value
+ is preserved, matching web). */}
+ <View pointerEvents={restEnabled ? 'auto' : 'none'} style={{ opacity: restEnabled ? 1 : 0.4 }}>
+ <SettingsRow
+ icon={Clock}
+ label="Default rest"
+ divider
+ below={
+ <View className="gap-3">
+ <SegmentedControl
+ value={restCustomActive ? 'custom' : String(restCur)}
+ onChange={(v) => {
+ if (v === 'custom') {
+ setShowCustomRest(true)
+ } else {
+ setShowCustomRest(false)
+ setRestSeconds(Number(v))
+ }
+ }}
+ options={[
+ ...REST_PRESETS.map((s) => ({ value: String(s), label: `${s}s` })),
+ { value: 'custom', label: restIsCustom ? `${restCur}s` : 'Custom' },
+ ]}
+ />
+ {restCustomActive ? (
+ <View className="flex-row items-center justify-center gap-3">
+ <IconButton
+ icon={Minus}
+ label="Decrease rest by 5 seconds"
+ variant="secondary"
+ size="md"
+ onPress={() => setRestSeconds(Math.max(0, restCur - 5))}
+ />
+ <View className="w-28 flex-row items-center justify-center gap-1 rounded-xl border border-surface-border bg-surface-overlay py-1">
+ <Clock size={13} color={colors.txMuted} />
+ <View className="w-16">
+ <NumberField
+ value={String(restCur)}
+ onChange={(v) => setRestSeconds(Math.max(0, Math.min(3600, Number(v) || 0)))}
+ inputMode="numeric"
+ accessibilityLabel="Custom rest seconds"
+ />
+ </View>
+ </View>
+ <IconButton
+ icon={Plus}
+ label="Increase rest by 5 seconds"
+ variant="secondary"
+ size="md"
+ onPress={() => setRestSeconds(Math.min(3600, restCur + 5))}
+ />
+ </View>
+ ) : null}
+ </View>
+ }
+ />
+ </View>
+ </SettingsGroup>
+
+ {/* Units & Targets */}
+ <SettingsGroup title="Units & Targets" footnote="Weight unit applies instantly across the app. Nutrition targets power the dashboard rings.">
+ <SettingsRow
+ icon={Scale}
+ label="Weight unit"
+ below={
+ <SegmentedControl
+ value={settings.weight_unit}
+ onChange={(u) => updateSettings({ weight_unit: u })}
+ options={[
+ { value: 'lbs', label: 'lbs' },
+ { value: 'kg', label: 'kg' },
+ ]}
+ />
+ }
+ />
+ <View className="gap-3 border-t border-surface-border py-4">
+ <Field
+ label="Calorie target"
+ keyboardType="number-pad"
+ value={targets.calorie_target}
+ onChangeText={onDigits('calorie_target')}
+ rightSlot={<Muted className="text-xs">kcal</Muted>}
+ />
+ <Field
+ label="Protein target"
+ keyboardType="number-pad"
+ value={targets.protein_target}
+ onChangeText={onDigits('protein_target')}
+ rightSlot={<Muted className="text-xs">g</Muted>}
+ />
+ <Field
+ label="Carb target"
+ keyboardType="number-pad"
+ value={targets.carb_target}
+ onChangeText={onDigits('carb_target')}
+ rightSlot={<Muted className="text-xs">g</Muted>}
+ />
+ <Field
+ label="Fat target"
+ keyboardType="number-pad"
+ value={targets.fat_target}
+ onChangeText={onDigits('fat_target')}
+ rightSlot={<Muted className="text-xs">g</Muted>}
+ />
+ <Button title="Save targets" onPress={handleSaveTargets} loading={saving} className="mt-1" />
+ </View>
+ </SettingsGroup>
+
+ {/* Server */}
+ <SettingsGroup title="Server" footnote="The self-hosted backend this app talks to. Leave the URL blank to use the default.">
+ <SettingsRow
+ icon={Server}
+ label="Backend"
+ right={
+ <View className="max-w-[60%] flex-row items-center gap-2">
+ <View className="h-1.5 w-1.5 rounded-full bg-success-500" />
+ <AppText variant="body" color="muted" numberOfLines={1}>
+ {serverUrl || 'Default backend'}
+ </AppText>
+ </View>
+ }
+ />
+ <View className="border-t border-surface-border py-4">
+ <Field
+ label="Server URL"
+ value={urlInput}
+ onChangeText={setUrlInput}
+ autoCapitalize="none"
+ autoCorrect={false}
+ keyboardType="url"
+ placeholder="https://your-server.example.com"
+ />
+ {serverMsg ? <AppText variant="caption" className="mt-2 text-brand-400">{serverMsg}</AppText> : null}
+ <Button title="Test & save" variant="secondary" onPress={saveServer} loading={testing} className="mt-3" />
+ </View>
+ </SettingsGroup>
+
+ {/* Account actions */}
+ <SettingsGroup title="Account actions">
+ <SettingsRow icon={LogOut} tint="muted" label="Sign out" onPress={() => logout()} chevron />
+ <SettingsRow
+ icon={Trash2}
+ label="Delete account"
+ description="Permanently delete all your data"
+ destructive
+ divider
+ onPress={() => setConfirmDelete(true)}
+ />
+ </SettingsGroup>
+ </View>
+ </ScrollView>
+
+ {toast ? (
+ <Toast
+ variant={toast.variant}
+ title={toast.title}
+ description={toast.description}
+ onDismiss={() => setToast(null)}
+ />
+ ) : null}
+
+ <ConfirmSheet
+ open={confirmDelete}
+ icon={Trash2}
+ destructive
+ title="Delete account?"
+ message="This permanently deletes your account and all of your data. This can't be undone."
+ confirmLabel="Delete account"
+ busyLabel="Deleting…"
+ busy={deleting}
+ onConfirm={handleDeleteAccount}
+ onCancel={() => setConfirmDelete(false)}
+ />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/weight/[id].tsx b/mobile/app/(tabs)/weight/[id].tsx
new file mode 100644
index 0000000..f396e0e
--- /dev/null
+++ b/mobile/app/(tabs)/weight/[id].tsx
@@ -0,0 +1,258 @@
+import { useEffect, useState } from 'react'
+import { Pressable, ScrollView, Text, View } from 'react-native'
+import { router, useLocalSearchParams } from 'expo-router'
+import { format, parseISO } from 'date-fns'
+import * as Haptics from 'expo-haptics'
+import { AlertCircle, ArrowLeft, Edit2, Scale, Trash2 } from 'lucide-react-native'
+import {
+ apiErrorMessage, dayToIsoNoon, displayWeight, isoToDayInput, maxWeight, resolveWeightLbs,
+ weightError, weightShort, type WeightLog,
+} from '@lyftr/shared'
+import {
+ AppText, Button, Card, ConfirmSheet, DateInput, Field, Label, Loading, NumberField,
+ NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID, Screen, StepperTile, deleteConfirmProps,
+} from '../../../src/components/ui'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { clampStep } from '../../../src/utils/number'
+import { useTheme } from '../../../src/theme/useTheme'
+
+export default function WeightDetail() {
+ const { id, edit } = useLocalSearchParams<{ id: string; edit?: string }>()
+ const settings = useSettingsStore((s) => s.settings)
+ const unit = settings.weight_unit
+ const wUnit = weightShort(unit)
+ const { colors, accent, brand } = useTheme()
+
+ const [log, setLog] = useState<WeightLog | null>(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState<string | null>(null)
+
+ // Edit mode
+ const [editing, setEditing] = useState(false)
+ const [editWeight, setEditWeight] = useState('')
+ const [editDate, setEditDate] = useState('')
+ const [editNotes, setEditNotes] = useState('')
+ const [saving, setSaving] = useState(false)
+ const [editError, setEditError] = useState('')
+
+ // Delete confirm
+ const [confirming, setConfirming] = useState(false)
+ const [deleting, setDeleting] = useState(false)
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/weight'))
+
+ useEffect(() => {
+ client.weightAPI.get(Number(id))
+ .then((data) => {
+ setLog(data)
+ setEditWeight(String(displayWeight(data.weight, unit)))
+ setEditDate(isoToDayInput(data.logged_at))
+ setEditNotes(data.notes ?? '')
+ // Deep-link from the list kebab's Edit action opens straight into edit mode.
+ if (edit) setEditing(true)
+ })
+ .catch((err) => setError(apiErrorMessage(err, 'Failed to load entry')))
+ .finally(() => setLoading(false))
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [id])
+
+ const startEdit = () => {
+ if (!log) return
+ setEditWeight(String(displayWeight(log.weight, unit)))
+ setEditDate(isoToDayInput(log.logged_at))
+ setEditNotes(log.notes ?? '')
+ setEditError('')
+ setEditing(true)
+ }
+
+ const handleSave = async () => {
+ if (!log || saving) return
+ const w = parseFloat(editWeight)
+ const wErr = weightError(w, unit)
+ if (wErr) {
+ setEditError(wErr)
+ return
+ }
+ setSaving(true)
+ setEditError('')
+ try {
+ const updated = await client.weightAPI.update(log.id, {
+ // resolveWeightLbs keeps the original lbs when the shown 0.1 value is unchanged
+ // (avoids kg round-trip drift); only converts when the user actually edited it.
+ weight: resolveWeightLbs(editWeight, log.weight, unit),
+ notes: editNotes.trim(),
+ logged_at: dayToIsoNoon(editDate),
+ })
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ setLog(updated)
+ setEditing(false)
+ } catch (err) {
+ setEditError(apiErrorMessage(err, 'Failed to save'))
+ } finally {
+ setSaving(false)
+ }
+ }
+
+ const handleDelete = async () => {
+ if (!log || deleting) return
+ setDeleting(true)
+ try {
+ await client.weightAPI.delete(log.id)
+ goBack() // the list refetches on focus
+ } catch {
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ if (loading) return <Loading />
+
+ if (error || !log) {
+ return (
+ <Screen>
+ <View className="gap-4 py-4">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-2 self-start active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Weight</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{error || 'Entry not found'}</Text>
+ </View>
+ </View>
+ </Screen>
+ )
+ }
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-5 py-4">
+ {/* Back nav + actions */}
+ <View className="flex-row items-center justify-between">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-1.5 active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Weight</AppText>
+ </Pressable>
+ {!editing ? (
+ <View className="flex-row items-center gap-2">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Edit entry"
+ onPress={startEdit}
+ hitSlop={6}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg border border-brand-500/20 bg-brand-500/10 px-3 active:scale-95"
+ >
+ <Edit2 size={15} color={accent} strokeWidth={2.2} />
+ <AppText variant="label" style={{ color: accent }}>Edit</AppText>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Delete entry"
+ onPress={() => setConfirming(true)}
+ disabled={deleting}
+ hitSlop={6}
+ className={`h-9 w-9 items-center justify-center rounded-lg active:bg-error-500/10 ${deleting ? 'opacity-40' : ''}`}
+ >
+ <Trash2 size={17} color={colors.txMuted} strokeWidth={2.2} />
+ </Pressable>
+ </View>
+ ) : null}
+ </View>
+
+ {/* Hero card */}
+ <Card>
+ <View className="flex-row items-start gap-4">
+ <View className="h-14 w-14 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Scale size={28} color={accent} />
+ </View>
+ <View className="min-w-0 flex-1">
+ <Label className="mb-1">Weight Entry</Label>
+ {editing ? (
+ <AppText variant="bodySemibold" color="brand">Editing…</AppText>
+ ) : (
+ <>
+ <View className="flex-row items-end gap-2">
+ <AppText variant="display" style={{ fontSize: 40, lineHeight: 44, fontVariant: ['tabular-nums'] }}>{displayWeight(log.weight, unit)}</AppText>
+ <AppText variant="body" color="muted" className="mb-1.5">{wUnit}</AppText>
+ </View>
+ <AppText variant="body" color="muted" className="mt-1">
+ {format(parseISO(log.logged_at), 'EEEE, MMMM d, yyyy')}
+ </AppText>
+ {log.notes ? (
+ <AppText variant="body" color="secondary" className="mt-2 italic">"{log.notes}"</AppText>
+ ) : null}
+ </>
+ )}
+ </View>
+ </View>
+ </Card>
+
+ {/* Edit form */}
+ {editing ? (
+ <Card>
+ <AppText variant="heading" className="mb-4">Edit Entry</AppText>
+ <View className="gap-4">
+ {editError ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={16} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{editError}</Text>
+ </View>
+ ) : null}
+
+ <StepperTile
+ icon={Scale}
+ label={`Weight (${wUnit})`}
+ name="weight"
+ step={0.5}
+ onStep={(d) => setEditWeight(String(clampStep(parseFloat(editWeight) || 0, d, { min: 0, max: maxWeight(unit) })))}
+ >
+ <NumberField
+ inputMode="decimal"
+ value={editWeight}
+ onChange={setEditWeight}
+ placeholder="0"
+ accessibilityLabel="Weight"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ />
+ </StepperTile>
+
+ <DateInput label="Date" value={editDate} onChange={setEditDate} maximumDate={new Date()} />
+
+ <Field
+ label="Notes (optional)"
+ value={editNotes}
+ onChangeText={setEditNotes}
+ placeholder="e.g., morning, post-workout"
+ maxLength={200}
+ />
+
+ <View className="flex-row items-center gap-2 pt-1">
+ <View className="flex-1">
+ <Button title="Cancel" variant="secondary" onPress={() => { setEditing(false); setEditError('') }} />
+ </View>
+ <View className="flex-1">
+ <Button title={saving ? 'Saving…' : 'Save'} onPress={handleSave} loading={saving} disabled={!(parseFloat(editWeight) > 0) || saving} />
+ </View>
+ </View>
+ </View>
+ </Card>
+ ) : null}
+ </View>
+ </ScrollView>
+
+ <ConfirmSheet
+ {...deleteConfirmProps({
+ title: 'Delete Entry?',
+ subject: `${format(parseISO(log.logged_at), 'MMMM d, yyyy')} · ${displayWeight(log.weight, unit)} ${wUnit}`,
+ })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ {/* iOS Done bar above the numeric keyboard (the edit weight NumberField links it). */}
+ <NumericKeyboardAccessory />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/weight/_layout.tsx b/mobile/app/(tabs)/weight/_layout.tsx
new file mode 100644
index 0000000..f68fcb8
--- /dev/null
+++ b/mobile/app/(tabs)/weight/_layout.tsx
@@ -0,0 +1,17 @@
+import { Stack } from 'expo-router'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Nested stack under the Weight tab: list → detail. contentStyle pins the card
+// background to the app surface so push transitions don't flash the platform
+// default — same rationale as the workouts stack.
+export default function WeightLayout() {
+ const { colors } = useTheme()
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: { backgroundColor: colors.base },
+ }}
+ />
+ )
+}
diff --git a/mobile/app/(tabs)/weight/index.tsx b/mobile/app/(tabs)/weight/index.tsx
new file mode 100644
index 0000000..30afc35
--- /dev/null
+++ b/mobile/app/(tabs)/weight/index.tsx
@@ -0,0 +1,427 @@
+import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
+import { ActivityIndicator, FlatList, Pressable, RefreshControl, Text, View } from 'react-native'
+import { useFocusEffect } from 'expo-router'
+import { format, parseISO, subDays } from 'date-fns'
+import * as Haptics from 'expo-haptics'
+import {
+ Activity, AlertCircle, ArrowDown, ArrowUp, Calendar, Minus, Scale, Sunrise,
+ TrendingDown, TrendingUp, X,
+} from 'lucide-react-native'
+import {
+ apiErrorMessage, dayToIsoNoon, displayToLbs, displayWeight, isoToDayInput, maxWeight, todayStr,
+ weightError, weightShort, type WeightLog, type WeightStats,
+} from '@lyftr/shared'
+import {
+ AppText, Button, Card, DateInput, Field, Label, NumberField, NumericKeyboardAccessory,
+ NUMERIC_ACCESSORY_ID, PageHeader, Screen, SegmentedControl, StepperTile,
+} from '../../../src/components/ui'
+import { ExerciseHistoryChart, type ChartPoint } from '../../../src/components/workouts/ExerciseHistoryChart'
+import { WeightEntryRow } from '../../../src/components/weight/WeightEntryRow'
+import { WeightSkeleton } from '../../../src/components/weight/WeightSkeleton'
+import { useServerInfiniteList } from '../../../src/hooks/useServerInfiniteList'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { clampStep } from '../../../src/utils/number'
+import { useTheme } from '../../../src/theme/useTheme'
+
+const PERIODS = ['7d', '30d', '90d', 'All'] as const
+type Period = typeof PERIODS[number]
+const PERIOD_DAYS: Record<Period, number | null> = { '7d': 7, '30d': 30, '90d': 90, 'All': null }
+const PERIOD_OPTIONS = PERIODS.map((p) => ({ value: p, label: p }))
+
+export default function Weight() {
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const unit = settings.weight_unit
+ const wUnit = weightShort(unit)
+ const { colors, accent, brand } = useTheme()
+
+ const [period, setPeriod] = useState<Period>('30d')
+ const [stats, setStats] = useState<WeightStats | null>(null)
+ const [error, setError] = useState<string | null>(null)
+
+ // Paginated history list (newest-first) — the FlatList data.
+ const fetcher = useCallback((offset: number, limit: number) => client.weightAPI.list({ offset, limit }), [])
+ const { items, loadMore, hasMore, loading, initialLoading, reload } =
+ useServerInfiniteList<WeightLog>({ fetcher })
+
+ // Chart data — a separate period-scoped fetch (uncapped at 1000), re-fetched when the
+ // period changes and after every successful log.
+ const [chartLogs, setChartLogs] = useState<WeightLog[]>([])
+ // Returns the fetch promise so pull-to-refresh can await a full refresh.
+ const refetchChart = useCallback(() => {
+ const days = PERIOD_DAYS[period]
+ const from = days != null ? format(subDays(new Date(), days), 'yyyy-MM-dd') : undefined
+ return client.weightAPI.list({ limit: 1000, from }).then((data) => setChartLogs(data || [])).catch(() => {})
+ }, [period])
+ useEffect(() => { refetchChart() }, [refetchChart])
+
+ const refetchStats = useCallback(() => client.weightAPI.stats().then(setStats).catch(() => {}), [])
+ useEffect(() => {
+ fetchSettings()
+ refetchStats()
+ }, [fetchSettings, refetchStats])
+
+ // Pull-to-refresh: drive the native RefreshControl spinner off a full refresh of all
+ // three sources (history list + stats + chart), same affordance as the Workouts list.
+ const [pulling, setPulling] = useState(false)
+ const onPullRefresh = useCallback(async () => {
+ setPulling(true)
+ await Promise.all([reload(), refetchStats(), refetchChart()])
+ setPulling(false)
+ }, [reload, refetchStats, refetchChart])
+
+ // Log form
+ const [newWeight, setNewWeight] = useState('')
+ const [newDate, setNewDate] = useState(todayStr())
+ const [newNotes, setNewNotes] = useState('')
+ const [logging, setLogging] = useState(false)
+ const [showNotes, setShowNotes] = useState(false)
+ const [showDuplicateWarning, setShowDuplicateWarning] = useState(false)
+ const duplicateWarningDismissedRef = useRef(false)
+
+ // Prefill the input once with the latest entry's weight (so re-logging a similar value
+ // is a one-tap edit). Fires only after the first page lands.
+ const prefillDoneRef = useRef(false)
+ useEffect(() => {
+ if (!prefillDoneRef.current && items.length > 0) {
+ setNewWeight(String(displayWeight(items[0].weight, unit)))
+ prefillDoneRef.current = true
+ }
+ }, [items, unit])
+
+ // The list is kept mounted under the detail screen, so an edit/delete there doesn't
+ // remount us — refetch everything on re-focus instead. Skip the first focus: the
+ // hooks/effects above already fetched.
+ const focusedOnce = useRef(false)
+ useFocusEffect(
+ useCallback(() => {
+ if (!focusedOnce.current) {
+ focusedOnce.current = true
+ return
+ }
+ reload()
+ refetchStats()
+ refetchChart()
+ }, [reload, refetchStats, refetchChart])
+ )
+
+ // Oldest → newest for the chart. Weight in the display unit; `sub` feeds the tap bubble.
+ const chartData: ChartPoint[] = useMemo(
+ () =>
+ [...chartLogs].reverse().map((l) => {
+ const d = parseISO(l.logged_at)
+ return { date: format(d, 'M/d'), weight: displayWeight(l.weight, unit), sub: format(d, 'MMM d, yyyy') }
+ }),
+ [chartLogs, unit]
+ )
+ const [chartWidth, setChartWidth] = useState(0)
+
+ const handleLog = async () => {
+ if (logging) return
+ const w = parseFloat(newWeight)
+ const wErr = weightError(w, unit)
+ if (wErr) {
+ setError(wErr)
+ return
+ }
+
+ // Guard against a same-day double-log (unless already waved through).
+ if (!duplicateWarningDismissedRef.current && items.length > 0 && isoToDayInput(items[0].logged_at) === newDate) {
+ setShowDuplicateWarning(true)
+ return
+ }
+
+ setLogging(true)
+ setError(null)
+ setShowDuplicateWarning(false)
+
+ try {
+ const real = await client.weightAPI.log({
+ weight: displayToLbs(w, unit),
+ notes: newNotes.trim(),
+ logged_at: dayToIsoNoon(newDate),
+ })
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ setNewWeight(String(displayWeight(real.weight, unit)))
+ setNewNotes('')
+ setNewDate(todayStr())
+ setShowNotes(false)
+ duplicateWarningDismissedRef.current = false
+ reload()
+ refetchStats()
+ refetchChart()
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to log weight'))
+ } finally {
+ setLogging(false)
+ }
+ }
+
+ if (initialLoading) return <WeightSkeleton />
+
+ // Period stats computed from chartLogs (period-scoped server fetch). For "All" prefer
+ // the server-computed aggregate since it isn't capped at 1000.
+ const periodValues = chartLogs.map((l) => l.weight) // raw lbs from DB, newest first
+ const useServerAggregate = period === 'All' && stats != null
+ const currentLbs = periodValues[0] ?? stats?.latest ?? 0
+ const oldestLbs = periodValues[periodValues.length - 1] ?? stats?.starting ?? 0
+ const changeLbs = currentLbs - oldestLbs
+ const avgLbs = useServerAggregate
+ ? stats!.avg ?? 0
+ : periodValues.length > 0
+ ? periodValues.reduce((a, b) => a + b, 0) / periodValues.length
+ : 0
+ const minLbs = useServerAggregate ? stats!.min ?? 0 : periodValues.length > 0 ? Math.min(...periodValues) : 0
+ const maxLbs = useServerAggregate ? stats!.max ?? 0 : periodValues.length > 0 ? Math.max(...periodValues) : 0
+
+ const current = displayWeight(currentLbs, unit)
+ const change = displayWeight(changeLbs, unit)
+ const avg = displayWeight(avgLbs, unit)
+ const min = displayWeight(minLbs, unit)
+ const max = displayWeight(maxLbs, unit)
+
+ const TrendIcon = change === 0 ? Minus : change < 0 ? TrendingDown : TrendingUp
+ // Weight loss is framed positive (green); gain negative (red); flat is muted.
+ const trendPill =
+ change === 0
+ ? 'bg-surface-muted border-surface-border'
+ : change < 0
+ ? 'bg-success-500/10 border-success-500/20'
+ : 'bg-error-500/10 border-error-500/20'
+ const trendText = change === 0 ? colors.txMuted : change < 0 ? brand.successSoft : brand.errorSoft
+ const changeWord = change === 0 ? 'no change' : change < 0 ? 'lost' : 'gained'
+
+ const statCards = [
+ { label: 'Avg', value: avg, icon: Activity, color: accent },
+ { label: 'Low', value: min, icon: ArrowDown, color: brand.successSoft },
+ { label: 'High', value: max, icon: ArrowUp, color: brand.errorSoft },
+ ]
+
+ return (
+ <Screen>
+ <FlatList
+ data={items}
+ keyExtractor={(l) => String(l.id)}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 32 }}
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="on-drag"
+ onEndReached={loadMore}
+ onEndReachedThreshold={0.5}
+ refreshControl={
+ <RefreshControl refreshing={pulling} onRefresh={onPullRefresh} tintColor={accent} colors={[accent]} />
+ }
+ ListHeaderComponent={
+ <View className="gap-5 py-4">
+ <PageHeader
+ title="Weight"
+ subtitle="Track your body weight over time"
+ action={
+ <View className="flex-row items-center gap-1.5 rounded-full border border-brand-500/25 bg-brand-500/10 px-3 py-1">
+ <Calendar size={12} color={accent} />
+ <AppText variant="caption" color="brand">{wUnit}</AppText>
+ </View>
+ }
+ />
+
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={18} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{error}</Text>
+ </View>
+ ) : null}
+
+ {/* Quick log — kept at the top so entry is reachable on first paint. */}
+ <Card>
+ <View className="mb-3 flex-row items-center justify-between">
+ <View className="flex-row items-center gap-2">
+ <Scale size={16} color={accent} />
+ <AppText variant="bodySemibold">Log Weight</AppText>
+ </View>
+ {items.length > 0 ? (
+ <AppText variant="caption" color="muted">
+ last: {displayWeight(items[0].weight, unit)} {wUnit}
+ </AppText>
+ ) : null}
+ </View>
+
+ <View className="gap-3">
+ <StepperTile
+ icon={Scale}
+ label={`Weight (${wUnit})`}
+ name="weight"
+ step={0.5}
+ onStep={(d) => setNewWeight(String(clampStep(parseFloat(newWeight) || 0, d, { min: 0, max: maxWeight(unit) })))}
+ >
+ <NumberField
+ inputMode="decimal"
+ value={newWeight}
+ onChange={setNewWeight}
+ placeholder="0"
+ accessibilityLabel="Weight"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ />
+ </StepperTile>
+
+ {showNotes ? (
+ <View className="gap-2 rounded-xl border border-surface-border bg-surface-overlay p-3">
+ <View className="mb-1 flex-row items-center justify-between">
+ <AppText variant="caption" color="secondary">Date & note</AppText>
+ <Pressable onPress={() => setShowNotes(false)} hitSlop={8} className="p-1 active:opacity-60" accessibilityLabel="Collapse">
+ <X size={14} color={colors.txMuted} />
+ </Pressable>
+ </View>
+ <DateInput value={newDate} onChange={setNewDate} maximumDate={new Date()} />
+ <Field
+ value={newNotes}
+ onChangeText={setNewNotes}
+ placeholder="Note — e.g. morning, post-run"
+ maxLength={200}
+ />
+ </View>
+ ) : (
+ <Pressable
+ onPress={() => setShowNotes(true)}
+ className="h-11 flex-row items-center justify-center gap-2 rounded-xl border border-surface-border bg-surface-overlay active:scale-[0.99]"
+ >
+ <Calendar size={16} color={colors.txMuted} />
+ <AppText variant="body" color="secondary">Add date & note</AppText>
+ </Pressable>
+ )}
+
+ {showDuplicateWarning && items.length > 0 ? (
+ <View className="flex-row items-start gap-3 rounded-xl border border-warning-500/20 bg-warning-500/10 px-4 py-3">
+ <AlertCircle size={16} color={brand.warningSoft} style={{ marginTop: 2 }} />
+ <View className="min-w-0 flex-1">
+ <Text className="font-sans-semibold text-sm text-warning-400">
+ Already logged on {format(parseISO(items[0].logged_at), 'MMM d')} ({displayWeight(items[0].weight, unit)} {wUnit}). Log again anyway?
+ </Text>
+ <View className="mt-2 flex-row gap-2">
+ <Pressable
+ onPress={() => setShowDuplicateWarning(false)}
+ className="rounded-lg border border-surface-border bg-surface-overlay px-3 py-1 active:opacity-70"
+ >
+ <AppText variant="caption" color="secondary">Cancel</AppText>
+ </Pressable>
+ <Pressable
+ onPress={() => {
+ duplicateWarningDismissedRef.current = true
+ setShowDuplicateWarning(false)
+ handleLog()
+ }}
+ className="rounded-lg border border-warning-500/30 bg-warning-500/20 px-3 py-1 active:opacity-70"
+ >
+ <Text className="font-sans-semibold text-xs text-warning-400">Log Anyway</Text>
+ </Pressable>
+ </View>
+ </View>
+ </View>
+ ) : null}
+
+ <Button
+ title={logging ? 'Logging…' : 'Log Weight'}
+ onPress={handleLog}
+ loading={logging}
+ disabled={!(parseFloat(newWeight) > 0) || logging}
+ />
+ <View className="flex-row items-center justify-center gap-1.5">
+ <Sunrise size={14} color={brand.warningSoft} />
+ <AppText variant="caption" color="muted">Best logged in the morning, after the bathroom</AppText>
+ </View>
+ </View>
+ </Card>
+
+ {/* Current-weight hero */}
+ <Card className="border-brand-500/20 bg-brand-500/5">
+ {items.length === 0 ? (
+ <View className="items-center py-2">
+ <Label className="mb-1">Current Weight</Label>
+ <AppText variant="body" color="muted">The scale doesn't know you exist yet. Fix that.</AppText>
+ </View>
+ ) : (
+ <>
+ <View className="flex-row items-start justify-between">
+ <View>
+ <Label className="mb-2">Current Weight</Label>
+ <View className="flex-row items-end gap-2">
+ <AppText variant="display" style={{ fontSize: 40, lineHeight: 44, fontVariant: ['tabular-nums'] }}>{current}</AppText>
+ <AppText variant="body" color="muted" className="mb-1.5">{wUnit}</AppText>
+ </View>
+ </View>
+ <View className={`flex-row items-center gap-1.5 rounded-lg border px-3 py-1.5 ${trendPill}`}>
+ <TrendIcon size={16} color={trendText} />
+ <Text className="font-sans-semibold text-sm" style={{ color: trendText, fontVariant: ['tabular-nums'] }}>
+ {Math.abs(change)} {wUnit}
+ </Text>
+ </View>
+ </View>
+ <AppText variant="caption" color="muted" className="mt-3">
+ {Math.abs(change)} {wUnit} {changeWord} over {period}
+ </AppText>
+ </>
+ )}
+ </Card>
+
+ {/* Stats row */}
+ <View className="flex-row gap-3">
+ {statCards.map((s) => (
+ <Card key={s.label} className="flex-1" style={{ paddingHorizontal: 12 }}>
+ <View className="mb-2 flex-row items-center gap-1.5">
+ <s.icon size={14} color={s.color} />
+ <Label numberOfLines={1}>{s.label}</Label>
+ </View>
+ <View className="flex-row items-end gap-1">
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{Math.round(s.value)}</AppText>
+ <AppText variant="caption" color="muted" className="mb-0.5">{wUnit}</AppText>
+ </View>
+ </Card>
+ ))}
+ </View>
+
+ {/* Chart + period selector */}
+ <Card>
+ <View className="mb-3 flex-row items-center justify-between gap-2">
+ <AppText variant="bodySemibold">Trend</AppText>
+ <View className="flex-1 max-w-[220px]">
+ <SegmentedControl size="sm" options={PERIOD_OPTIONS} value={period} onChange={setPeriod} />
+ </View>
+ </View>
+ <View onLayout={(e) => setChartWidth(e.nativeEvent.layout.width)}>
+ {chartData.length === 0 ? (
+ <View className="h-44 items-center justify-center">
+ <AppText variant="body" color="muted">No data for this period</AppText>
+ </View>
+ ) : chartData.length === 1 ? (
+ <View className="h-44 items-center justify-center">
+ <AppText variant="body" color="muted">Log another entry to see the trend</AppText>
+ </View>
+ ) : (
+ <ExerciseHistoryChart data={chartData} width={chartWidth} unit={wUnit} readoutNote="" height={180} />
+ )}
+ </View>
+ </Card>
+
+ {items.length > 0 ? <Label className="px-1">History</Label> : null}
+ </View>
+ }
+ renderItem={({ item, index }) => (
+ <WeightEntryRow
+ item={item}
+ next={items[index + 1]}
+ unit={unit}
+ onDeleted={() => { reload(); refetchStats(); refetchChart() }}
+ />
+ )}
+ ListFooterComponent={
+ hasMore && loading && items.length > 0 ? (
+ <View className="items-center py-3">
+ <ActivityIndicator size="small" color={accent} />
+ </View>
+ ) : null
+ }
+ />
+ {/* iOS Done bar above the numeric keyboard (the weight NumberField links it). */}
+ <NumericKeyboardAccessory />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/[id].tsx b/mobile/app/(tabs)/workouts/[id].tsx
new file mode 100644
index 0000000..154dec3
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/[id].tsx
@@ -0,0 +1,307 @@
+import { useEffect, useState } from 'react'
+import { Pressable, ScrollView, View } from 'react-native'
+import { router, useLocalSearchParams, type Href } from 'expo-router'
+import { format } from 'date-fns'
+import {
+ AlertCircle, ArrowLeft, ChevronRight, Clock, Edit2, Layers, Pause, TimerOff, Trash2, TrendingUp,
+} from 'lucide-react-native'
+import {
+ apiErrorMessage, displayVolume, displayWeight, weightShort,
+ type Workout, type Set as WorkoutSet,
+} from '@lyftr/shared'
+import { AppText, ConfirmSheet, Loading, Screen, deleteConfirmProps } from '../../../src/components/ui'
+import { ExerciseImage } from '../../../src/components/workouts/ExerciseImage'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+import { muscleColor } from '../../../src/utils/exerciseUtils'
+
+// Exercise-detail leaf (workouts/exercise/[exerciseId]) — 1:1 port of web ExerciseDetail.
+const exerciseHref = (exerciseId: number) => `/workouts/exercise/${exerciseId}` as unknown as Href
+
+const restLabel = (s: number) => (s % 60 === 0 && s >= 60 ? `${s / 60}m` : `${s}s`)
+
+function SetChip({ set, isBest, unit }: { set: WorkoutSet; isBest: boolean; unit: string }) {
+ return (
+ // Web's ring-1 → a real border; non-best chips get border-transparent so both
+ // states are the same size (RN borders take layout space, rings don't).
+ <View
+ className={`px-2.5 py-1.5 rounded-lg ${
+ isBest ? 'bg-brand-500/15 border border-brand-500/25' : 'bg-surface-raised border border-transparent'
+ }`}
+ >
+ <AppText
+ variant="caption"
+ color={isBest ? 'brand' : 'secondary'}
+ style={{ fontVariant: ['tabular-nums'] }}
+ >
+ {set.reps > 0 ? set.reps : '—'} × {set.weight > 0 ? `${displayWeight(set.weight, unit)} ${unit}` : 'BW'}
+ </AppText>
+ </View>
+ )
+}
+
+function MuscleBadge({ muscle }: { muscle: string }) {
+ const { colors } = useTheme()
+ const tint = muscleColor(muscle)
+ return (
+ <View className={`px-1.5 py-0.5 rounded ${tint?.chip ?? 'bg-surface-muted'}`}>
+ {/* Tint via inline style — see exerciseUtils.ts for why not a className. */}
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>
+ {muscle}
+ </AppText>
+ </View>
+ )
+}
+
+export default function WorkoutDetail() {
+ const { id } = useLocalSearchParams<{ id: string }>()
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const restOn = settings.rest_enabled ?? true
+ const { colors, brand, accent, isDark } = useTheme()
+
+ const [workout, setWorkout] = useState<Workout | null>(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState<string | null>(null)
+ const [deleting, setDeleting] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ let cancelled = false
+ const load = async () => {
+ try {
+ const data = await client.workoutAPI.get(Number(id))
+ if (!cancelled) setWorkout(data)
+ } catch (err) {
+ if (!cancelled) setError(apiErrorMessage(err, 'Failed to load workout'))
+ } finally {
+ if (!cancelled) setLoading(false)
+ }
+ }
+ load()
+ return () => { cancelled = true }
+ }, [id])
+
+ // Deep links can land here with no history — fall back to the list route.
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/workouts'))
+
+ // Web's portal bottom-sheet confirm, ported 1:1 to a slide-up ConfirmSheet
+ // (replaces the interim OS Alert) — closer to the web app the user knows.
+ const handleDelete = async () => {
+ if (!workout) return
+ setDeleting(true)
+ try {
+ await client.workoutAPI.delete(workout.id)
+ goBack() // list refetches on focus
+ } catch {
+ setDeleting(false)
+ }
+ }
+
+ if (loading) return <Loading />
+
+
+ if (error || !workout) {
+ return (
+ <Screen>
+ <View className="gap-4 py-4">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-2 self-start active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Back</AppText>
+ </Pressable>
+ {/* Boxed request-error alert (authui AuthError pattern) */}
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={20} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">
+ {error || 'Workout not found'}
+ </AppText>
+ </View>
+ </View>
+ </Screen>
+ )
+ }
+
+ const exs = workout.exercises ?? []
+ const totalVolume = displayVolume(
+ exs.reduce((s, ex) => s + (ex.sets ?? []).reduce((ss, set) => ss + set.reps * set.weight, 0), 0),
+ wUnit
+ )
+ const totalSets = exs.reduce((s, ex) => s + (ex.sets ?? []).length, 0)
+ const durationMin = Math.round(workout.duration / 60)
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-5 py-4">
+ {/* Back nav + actions (web's top row) */}
+ <View className="flex-row items-center justify-between">
+ <Pressable onPress={goBack} hitSlop={8} className="flex-row items-center gap-1.5 active:opacity-60">
+ <ArrowLeft size={16} color={colors.txMuted} />
+ <AppText variant="body" color="muted">Workouts</AppText>
+ </Pressable>
+ <View className="flex-row items-center gap-2">
+ {/* Clear hierarchy over two competing colored squares: Edit is the
+ primary action, so it gets a labeled brand pill; Delete stays a
+ quiet ghost glyph and only turns red at the confirm step (ConfirmSheet).
+ Both are h-9 so they read as a matched pair. */}
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Edit workout"
+ onPress={() => router.push(`/workouts/${workout.id}/edit`)}
+ hitSlop={6}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg border border-brand-500/20 bg-brand-500/10 px-3 active:scale-95"
+ >
+ <Edit2 size={15} color={accent} strokeWidth={2.2} />
+ <AppText variant="label" style={{ color: accent }}>Edit</AppText>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Delete workout"
+ onPress={() => setConfirming(true)}
+ disabled={deleting}
+ hitSlop={6}
+ className={`h-9 w-9 items-center justify-center rounded-lg active:bg-error-500/10 ${deleting ? 'opacity-40' : ''}`}
+ >
+ <Trash2 size={17} color={colors.txMuted} strokeWidth={2.2} />
+ </Pressable>
+ </View>
+ </View>
+
+ {/* Delete confirm — slide-up bottom sheet (mirrors web's portal sheet). */}
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete Workout?', subject: `"${workout.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+
+ {/* Header card */}
+ <View className="bg-surface-raised border border-surface-border rounded-2xl p-4">
+ <View className="flex-row items-start gap-3">
+ <ExerciseImage url={exs[0]?.exercise?.image_url} size="hero" />
+ <View className="flex-1">
+ <AppText variant="heading">{workout.name}</AppText>
+ <AppText variant="body" color="muted" className="mt-0.5">
+ {format(new Date(workout.started_at), 'EEEE, MMMM d, yyyy')}
+ </AppText>
+ </View>
+ </View>
+
+ {/* Stats strip: Duration / Sets / Volume */}
+ <View className="flex-row mt-4 pt-4 border-t border-surface-border">
+ <View className="flex-1 items-center">
+ <View className="flex-row items-center gap-1 mb-0.5">
+ <Clock size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Duration</AppText>
+ </View>
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>
+ {durationMin}
+ <AppText variant="caption" color="muted"> min</AppText>
+ </AppText>
+ </View>
+ <View className="flex-1 items-center border-x border-surface-border">
+ <View className="flex-row items-center gap-1 mb-0.5">
+ <Layers size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Sets</AppText>
+ </View>
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>{totalSets}</AppText>
+ </View>
+ <View className="flex-1 items-center">
+ <View className="flex-row items-center gap-1 mb-0.5">
+ <TrendingUp size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Volume</AppText>
+ </View>
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>
+ {totalVolume > 0 ? totalVolume.toLocaleString() : '—'}
+ {totalVolume > 0 && <AppText variant="caption" color="muted"> {wUnit}</AppText>}
+ </AppText>
+ </View>
+ </View>
+
+ {workout.notes ? (
+ <View className="mt-3 pt-3 border-t border-surface-border">
+ <AppText variant="body" color="muted">{workout.notes}</AppText>
+ </View>
+ ) : null}
+ </View>
+
+ {/* Exercises */}
+ {!restOn && (
+ <View className="flex-row items-center gap-1.5 px-1">
+ <TimerOff size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">Rest timer is off — turn it on in Settings</AppText>
+ </View>
+ )}
+ <View className="gap-3">
+ {exs.map((ex) => {
+ const sets = ex.sets ?? []
+ const maxWeightLbs = sets.length > 0 ? Math.max(...sets.map((s) => s.weight || 0)) : 0
+ const maxWeight = displayWeight(maxWeightLbs, wUnit)
+ const exVol = displayVolume(sets.reduce((s, set) => s + (set.reps || 0) * (set.weight || 0), 0), wUnit)
+
+ return (
+ <Pressable
+ key={ex.id ?? ex.exercise_id}
+ accessibilityRole="button"
+ onPress={() => router.push(exerciseHref(ex.exercise_id))}
+ // Card surface inlined (not <Card>): its baked-in p-4 can't be
+ // overridden safely (two padding classes = stylesheet-order
+ // roulette) and this card needs edge-to-edge inner sections.
+ className="bg-surface-raised border border-surface-border rounded-2xl overflow-hidden active:scale-[0.99]"
+ >
+ <View className="flex-row items-center gap-3 p-4">
+ <ExerciseImage url={ex.exercise?.image_url} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{ex.exercise?.name}</AppText>
+ <View className="flex-row items-center gap-2 mt-0.5">
+ {ex.exercise?.muscle_group ? <MuscleBadge muscle={ex.exercise.muscle_group} /> : null}
+ <AppText variant="caption" color="muted" numberOfLines={1} className="flex-shrink">
+ {sets.length} sets{exVol > 0 ? ` · ${exVol.toLocaleString()} ${wUnit}` : ''}
+ </AppText>
+ </View>
+ </View>
+ {maxWeight > 0 && (
+ <View className="items-end mr-1">
+ <AppText variant="label" color="muted">best</AppText>
+ <AppText variant="subheading" color="brand" style={{ fontVariant: ['tabular-nums'] }}>
+ {maxWeight} {wUnit}
+ </AppText>
+ </View>
+ )}
+ <ChevronRight size={16} color={colors.txMuted} />
+ </View>
+
+ {sets.length > 0 && (
+ <View className="flex-row items-center gap-2 px-4 pb-4 pt-3 border-t border-surface-border/50">
+ <View className="flex-1 flex-row flex-wrap gap-1.5">
+ {sets.map((set, i) => (
+ <SetChip key={i} set={set} isBest={set.weight === maxWeightLbs && maxWeightLbs > 0} unit={wUnit} />
+ ))}
+ </View>
+ {restOn && (
+ ex.rest_seconds === 0 ? (
+ <AppText variant="caption" color="muted">No rest</AppText>
+ ) : (
+ <View className="flex-row items-center gap-1">
+ <Pause size={13} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">{restLabel(ex.rest_seconds ?? 90)}</AppText>
+ </View>
+ )
+ )}
+ </View>
+ )}
+ </Pressable>
+ )
+ })}
+ </View>
+ </View>
+ </ScrollView>
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/[id]/edit.tsx b/mobile/app/(tabs)/workouts/[id]/edit.tsx
new file mode 100644
index 0000000..0d69b63
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/[id]/edit.tsx
@@ -0,0 +1,384 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { Platform, Pressable, ScrollView, Text, View } from 'react-native'
+import { router, useLocalSearchParams } from 'expo-router'
+import {
+ AlertCircle, ArrowLeft, CalendarDays, Clock, Dumbbell, FileText, Plus, Zap,
+} from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import {
+ apiErrorMessage, displayToLbs, lbsToDisplay, weightShort, type Exercise,
+} from '@lyftr/shared'
+import { AppText, Button, DateInput, EmptyState, Field, IconButton, Label, Loading, Screen } from '../../../../src/components/ui'
+import { ExerciseFormCard } from '../../../../src/components/workouts/ExerciseFormCard'
+import { DurationField } from '../../../../src/components/workouts/DurationField'
+import { ExercisePicker } from '../../../../src/components/workouts/ExercisePicker'
+import { KeyboardDoneBar } from '../../../../src/components/workouts/KeyboardDoneBar'
+import { client, useSettingsStore } from '../../../../src/lib/lyftr'
+import { useTheme } from '../../../../src/theme/useTheme'
+
+// Edit-form shape. Mobile is a superset of web's edit form: it lets you correct the
+// workout's `date` (local YYYY-MM-DD) and per-exercise `rest_seconds` too. Weights/
+// duration in DISPLAY units; converted on submit.
+interface WorkoutFormData {
+ name: string
+ notes: string
+ date: string
+ duration: number
+ exercises: {
+ exercise_id: number
+ notes: string
+ rest_seconds: number
+ sets: { set_number: number; reps: number; weight: number }[]
+ }[]
+}
+
+// One accessory bar per screen — unique ID so a stacked log screen's bar can't clash.
+const KEYPAD_DONE_ID = 'workout-edit-keypad-done'
+
+// started_at (full ISO timestamp) ⇄ the DateInput's local calendar date. Editing the
+// date should only move the *day* — the original time-of-day is preserved so a
+// workout logged at 6pm doesn't jump to midnight just because the date was touched.
+const pad = (n: number) => String(n).padStart(2, '0')
+const startedAtToDate = (iso: string): string => {
+ const d = new Date(iso)
+ return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`
+}
+const applyDateKeepTime = (iso: string, ymd: string): string => {
+ const orig = new Date(iso)
+ const [y, m, d] = ymd.split('-').map(Number)
+ return new Date(y, (m ?? 1) - 1, d ?? 1, orig.getHours(), orig.getMinutes(), orig.getSeconds()).toISOString()
+}
+
+function FieldHeader({ icon: Icon, label, hint }: { icon: LucideIcon; label: string; hint?: string }) {
+ // Muted (not accent) field icons — matches new.tsx: with every header cyan the
+ // form reads busy; the accent stays reserved for the Exercises section + CTA.
+ const { colors } = useTheme()
+ return (
+ <View className="mb-2 flex-row items-center gap-2">
+ <Icon size={14} color={colors.txMuted} strokeWidth={2.2} />
+ <Label>{label}</Label>
+ {hint ? <AppText variant="caption" color="muted">{hint}</AppText> : null}
+ </View>
+ )
+}
+
+export default function EditWorkout() {
+ const { id } = useLocalSearchParams<{ id: string }>()
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const { brand, accent, isDark } = useTheme()
+
+ const [showPicker, setShowPicker] = useState(false)
+ const [loading, setLoading] = useState(false)
+ const [initialLoading, setInitialLoading] = useState(true)
+ const [error, setError] = useState('')
+ const [pickerExercises, setPickerExercises] = useState<Record<number, Exercise>>({})
+ const [formData, setFormData] = useState<WorkoutFormData>({ name: '', notes: '', date: '', duration: 0, exercises: [] })
+ const [originalStartedAt, setOriginalStartedAt] = useState('')
+ const scrollRef = useRef<ScrollView>(null)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ useEffect(() => {
+ if (error) scrollRef.current?.scrollTo({ y: 0, animated: true })
+ }, [error])
+
+ useEffect(() => {
+ const workoutId = Number(id)
+ if (!workoutId) {
+ router.replace('/workouts')
+ return
+ }
+ client.workoutAPI.get(workoutId)
+ .then((workout) => {
+ const map: Record<number, Exercise> = {}
+ ;(workout.exercises || []).forEach((ex) => { map[ex.exercise_id] = ex.exercise })
+ setPickerExercises(map)
+ // Keep the original timestamp so an untouched date round-trips exactly; the
+ // date field only overrides the day-of when the user changes it.
+ const startedAt = workout.started_at || new Date().toISOString()
+ setOriginalStartedAt(startedAt)
+ setFormData({
+ name: workout.name,
+ notes: workout.notes || '',
+ date: startedAtToDate(startedAt),
+ duration: Math.round(workout.duration / 60),
+ exercises: (workout.exercises || []).map((ex) => ({
+ exercise_id: ex.exercise_id,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds ?? (settings.rest_seconds_default ?? 90),
+ // Web parity: unrounded lbsToDisplay prefill (kg users see long decimals).
+ sets: (ex.sets || []).map((s) => ({
+ set_number: s.set_number,
+ reps: s.reps,
+ weight: lbsToDisplay(s.weight, settings.weight_unit),
+ })),
+ })),
+ })
+ })
+ .catch(() => setError('Failed to load workout'))
+ .finally(() => setInitialLoading(false))
+ // Web effect deps: [id] only — settings are fetched before a user can navigate here.
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [id])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/workouts'))
+
+ const addExercise = (exercise: Exercise) => {
+ setPickerExercises((prev) => ({ ...prev, [exercise.id]: exercise }))
+ setFormData((prev) => ({
+ ...prev,
+ exercises: [
+ ...prev.exercises,
+ {
+ exercise_id: exercise.id,
+ notes: '',
+ rest_seconds: settings.rest_seconds_default ?? 90,
+ sets: [{ set_number: 1, reps: 0, weight: 0 }],
+ },
+ ],
+ }))
+ setShowPicker(false)
+ setError('')
+ }
+
+ // Stable + immutable so the memoized ExerciseFormCard only re-renders the edited card,
+ // not all N of them, on each keystroke/tap. See the matching note in new.tsx.
+ const removeExercise = useCallback((index: number) =>
+ setFormData((prev) => ({ ...prev, exercises: prev.exercises.filter((_, i) => i !== index) })), [])
+
+ const addSet = useCallback((exIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: [...ex.sets, { set_number: ex.sets.length + 1, reps: 0, weight: 0 }] }),
+ }))
+ }, [])
+
+ const removeSet = useCallback((exIdx: number, setIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.filter((_, j) => j !== setIdx) }),
+ }))
+ }, [])
+
+ const updateSet = useCallback((exIdx: number, setIdx: number, field: 'reps' | 'weight', value: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : {
+ ...ex,
+ sets: ex.sets.map((s, j) => (j !== setIdx ? s : { ...s, [field]: Number(value) || 0 })),
+ }),
+ }))
+ }, [])
+
+ const setExRest = useCallback((exIdx: number, secs: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, rest_seconds: secs })),
+ }))
+ }, [])
+
+ const updateExNotes = useCallback((exIdx: number, text: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, notes: text })),
+ }))
+ }, [])
+
+ const handleSubmit = async () => {
+ if (!formData.name.trim()) { setError('Workout name required'); return }
+ if (formData.exercises.length === 0) { setError('Add at least one exercise'); return }
+ setLoading(true)
+ try {
+ const payload = {
+ ...formData,
+ duration: formData.duration * 60,
+ // Move only the day; keep the logged time-of-day from the original timestamp.
+ started_at: formData.date
+ ? applyDateKeepTime(originalStartedAt || new Date().toISOString(), formData.date)
+ : originalStartedAt || new Date().toISOString(),
+ exercises: formData.exercises.map((ex) => ({
+ ...ex,
+ sets: ex.sets.map((s) => ({ ...s, weight: displayToLbs(s.weight, settings.weight_unit) })),
+ })),
+ }
+ await client.workoutAPI.update(Number(id), payload)
+ // Web navigates to /workouts. Pop past the (stale) detail screen back to the
+ // list — the detail refetches on next visit; the list reloads on focus.
+ router.dismissTo('/workouts')
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to update workout'))
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ if (initialLoading) return <Loading />
+
+
+ const selectedIds = formData.exercises.map((e) => e.exercise_id)
+ const totalSets = formData.exercises.reduce((sum, ex) => sum + ex.sets.length, 0)
+ const totalWeight = formData.exercises.reduce(
+ (sum, ex) => sum + ex.sets.reduce((s, set) => s + (set.weight || 0), 0),
+ 0
+ )
+
+ return (
+ <Screen>
+ <ScrollView
+ ref={scrollRef}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 24 }}
+ automaticallyAdjustKeyboardInsets
+ keyboardShouldPersistTaps="handled"
+ // Drag-to-dismiss the keyboard: 'interactive' (finger-tracked) is iOS-only;
+ // Android falls back to dismiss-on-drag-start.
+ keyboardDismissMode={Platform.OS === 'ios' ? 'interactive' : 'on-drag'}
+ >
+ <View className="gap-6 py-4">
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={ArrowLeft} label="Back" variant="ghost" size="md" onPress={goBack} />
+ <View>
+ <AppText variant="title">Edit Workout</AppText>
+ <AppText variant="caption" color="muted">
+ {formData.exercises.length} exercises • {totalSets} sets
+ {totalWeight > 0 ? ` • ${Math.round(totalWeight)} ${wUnit}` : ''}
+ </AppText>
+ </View>
+ </View>
+
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error}</AppText>
+ </View>
+ ) : null}
+
+ <View>
+ <FieldHeader icon={Dumbbell} label="Workout Name" />
+ <Field
+ value={formData.name}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, name: t }))}
+ />
+ </View>
+
+ {/* Date + duration share a row (matches the Log form). Editing the date only
+ shifts the day; the original time-of-day is preserved on submit. */}
+ <View className="flex-row gap-3">
+ <View className="flex-[2]">
+ <FieldHeader icon={CalendarDays} label="Date" />
+ <DateInput
+ value={formData.date}
+ onChange={(d) => setFormData((prev) => ({ ...prev, date: d }))}
+ maximumDate={new Date()}
+ />
+ </View>
+ <View className="flex-1">
+ {/* "min" already rides the value, so the label stays just "Duration". */}
+ <FieldHeader icon={Clock} label="Duration" />
+ <DurationField
+ value={formData.duration}
+ onChange={(m) => setFormData((prev) => ({ ...prev, duration: m }))}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ </View>
+ </View>
+
+ <View>
+ <FieldHeader icon={FileText} label="Notes" />
+ <Field
+ value={formData.notes}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, notes: t }))}
+ multiline
+ />
+ </View>
+
+ {/* No summary strip — the header caption already carries exercises · sets · total. */}
+ <View>
+ <View className="mb-3 flex-row items-center justify-between">
+ <View className="flex-row items-center gap-2">
+ <Zap size={14} color={accent} strokeWidth={2.2} />
+ <Label>Exercises</Label>
+ </View>
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setShowPicker(true)}
+ className="flex-row items-center gap-1.5 rounded-lg bg-brand-500 px-3 py-2 active:scale-95"
+ >
+ <Plus size={13} color="#ffffff" />
+ <Text className="font-sans-semibold text-xs text-white">Add Exercise</Text>
+ </Pressable>
+ </View>
+
+ {formData.exercises.length === 0 && (
+ <View className="rounded-2xl border border-dashed border-surface-border">
+ <EmptyState
+ compact
+ icon={Dumbbell}
+ title="No exercises"
+ subtitle="Add an exercise to this workout"
+ />
+ </View>
+ )}
+
+ <View className="gap-4">
+ {formData.exercises.map((workoutEx, exIdx) => (
+ <ExerciseFormCard
+ key={exIdx}
+ index={exIdx}
+ exercise={pickerExercises[workoutEx.exercise_id]}
+ notes={workoutEx.notes}
+ sets={workoutEx.sets}
+ restSeconds={workoutEx.rest_seconds ?? 90}
+ unit={wUnit}
+ onRemove={removeExercise}
+ onNotesChange={updateExNotes}
+ onAddSet={addSet}
+ onRemoveSet={removeSet}
+ onUpdateSet={updateSet}
+ onRestChange={setExRest}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ ))}
+ {/* Thumb-zone duplicate of Add Exercise: the header button scrolls away
+ as cards stack up, so the "next exercise" tap lands where the thumb
+ already is (right after the last card) — no scroll-to-top round trip. */}
+ {formData.exercises.length > 0 && (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Add exercise"
+ onPress={() => setShowPicker(true)}
+ className="h-11 flex-row items-center justify-center gap-1.5 rounded-2xl border border-dashed border-surface-border active:opacity-60"
+ >
+ <Plus size={14} color={accent} />
+ <Text className="font-sans-semibold text-xs" style={{ color: accent }}>Add Exercise</Text>
+ </Pressable>
+ )}
+ </View>
+ </View>
+
+ </View>
+ </ScrollView>
+
+ {/* Sticky footer actions — Save stays reachable however long the form grows.
+ -mx-5 lets the divider span edge-to-edge past Screen's px-5. */}
+ <View className="-mx-5 flex-row gap-3 border-t border-surface-border bg-surface-base px-5 pb-2 pt-3">
+ <Button title="Cancel" variant="secondary" className="flex-1" onPress={goBack} />
+ <Button title="Save Changes" className="flex-1" onPress={handleSubmit} loading={loading} />
+ </View>
+
+ {/* iOS-only Done bar docked above the numeric keypads (they have no return key). */}
+ <KeyboardDoneBar nativeID={KEYPAD_DONE_ID} />
+
+ {showPicker && (
+ <ExercisePicker selectedIds={selectedIds} onSelect={addExercise} onClose={() => setShowPicker(false)} />
+ )}
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/_layout.tsx b/mobile/app/(tabs)/workouts/_layout.tsx
new file mode 100644
index 0000000..5f91fd6
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/_layout.tsx
@@ -0,0 +1,18 @@
+import { Stack } from 'expo-router'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Nested stack under the Workouts tab: list → detail (→ forms in later phases).
+// contentStyle pins the card background to the app surface so push transitions
+// don't flash the platform default white/black — same reason (auth)/_layout pins
+// its background, but theme-aware here instead of hard-coded.
+export default function WorkoutsLayout() {
+ const { colors } = useTheme()
+ return (
+ <Stack
+ screenOptions={{
+ headerShown: false,
+ contentStyle: { backgroundColor: colors.base },
+ }}
+ />
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/active.tsx b/mobile/app/(tabs)/workouts/active.tsx
new file mode 100644
index 0000000..118db7f
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/active.tsx
@@ -0,0 +1,418 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { Keyboard, Pressable, ScrollView, Text, TextInput, View, type LayoutChangeEvent } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import { router, type Href } from 'expo-router'
+import {
+ CheckCircle2, ChevronLeft, ChevronRight, Dumbbell, Flag, Plus, Timer, X,
+} from 'lucide-react-native'
+import { displayToLbs, displayWeight, weightShort, type Exercise } from '@lyftr/shared'
+import { AppText, ConfirmSheet, NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID, Screen } from '../../../src/components/ui'
+import { ExerciseImage } from '../../../src/components/workouts/ExerciseImage'
+import { ExercisePicker } from '../../../src/components/workouts/ExercisePicker'
+import { GymModeWorkout } from '../../../src/components/workouts/GymModeWorkout'
+import { client, useSettingsStore, useWorkoutSession } from '../../../src/lib/lyftr'
+import { useWorkoutOutcome } from '../../../src/lib/workoutOutcome'
+import { useTheme } from '../../../src/theme/useTheme'
+import { muscleColor } from '../../../src/utils/exerciseUtils'
+
+// Exercise-detail leaf (workouts/exercise/[exerciseId]) — 1:1 port of web ExerciseDetail.
+const exerciseHref = (id: number) => `/workouts/exercise/${id}` as unknown as Href
+
+function formatElapsed(seconds: number) {
+ const h = Math.floor(seconds / 3600)
+ const m = Math.floor((seconds % 3600) / 60)
+ const s = seconds % 60
+ if (h > 0) return `${h}:${String(m).padStart(2, '0')}:${String(s).padStart(2, '0')}`
+ return `${String(m).padStart(2, '0')}:${String(s).padStart(2, '0')}`
+}
+
+const CELL = 'h-11 flex-1 rounded-lg border border-surface-border/60 bg-surface-overlay px-2 text-center font-sans text-base text-tx-primary'
+
+export default function ActiveWorkout() {
+ const session = useWorkoutSession((s) => s.session)
+ const updateSet = useWorkoutSession((s) => s.updateSet)
+ const updateExerciseNotes = useWorkoutSession((s) => s.updateExerciseNotes)
+ const completeSet = useWorkoutSession((s) => s.completeSet)
+ const addSet = useWorkoutSession((s) => s.addSet)
+ const removeSet = useWorkoutSession((s) => s.removeSet)
+ const removeExercise = useWorkoutSession((s) => s.removeExercise)
+ const addExercise = useWorkoutSession((s) => s.addExercise)
+ const buildPayload = useWorkoutSession((s) => s.buildPayload)
+ const cancelSession = useWorkoutSession((s) => s.cancelSession)
+ const openGym = useWorkoutSession((s) => s.openGym)
+ const setOutcome = useWorkoutOutcome((s) => s.setOutcome)
+
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const { colors, accent } = useTheme()
+
+ const [elapsed, setElapsed] = useState(0)
+ const [confirmCancel, setConfirmCancel] = useState(false)
+ const [confirmFinish, setConfirmFinish] = useState(false)
+ const [saveError, setSaveError] = useState('')
+ const [saving, setSaving] = useState(false)
+ const [activeExIdx, setActiveExIdx] = useState(0)
+ const [showPicker, setShowPicker] = useState(false)
+
+ const scrollRef = useRef<ScrollView>(null)
+ const cardY = useRef<number[]>([])
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ // Open gym mode overlay immediately when landing here in gym layout (web parity).
+ useEffect(() => {
+ if (settings.workout_layout === 'gym' && session) openGym()
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [])
+
+ useEffect(() => {
+ if (!session) return
+ const started = new Date(session.started_at).getTime()
+ const tick = () => setElapsed(Math.floor((Date.now() - started) / 1000))
+ tick()
+ const id = setInterval(tick, 1000)
+ return () => clearInterval(id)
+ }, [session?.started_at])
+
+ const goHome = () => router.replace('/workouts')
+
+ const handleFinish = async () => {
+ setSaving(true)
+ setSaveError('')
+ try {
+ const created = await client.workoutAPI.create(buildPayload())
+ setOutcome({ kind: 'saved', workoutId: created.id })
+ cancelSession()
+ router.replace('/workouts')
+ } catch (err: any) {
+ setSaveError(err?.response?.data?.error || 'Failed to save workout')
+ setSaving(false)
+ setConfirmFinish(false)
+ }
+ }
+
+ const jumpToExercise = useCallback((idx: number) => {
+ setActiveExIdx(idx)
+ requestAnimationFrame(() => scrollRef.current?.scrollTo({ y: Math.max(0, (cardY.current[idx] ?? 0) - 8), animated: true }))
+ }, [])
+
+ const handleCompleteSet = (exIdx: number, setIdx: number) => {
+ // Tapping the check means you're done typing this set — drop the keyboard so the row
+ // settles and nothing reflows later (e.g. a rest timer starting under a raised board).
+ Keyboard.dismiss()
+ // Impact only when a set becomes completed (not on un-toggle).
+ if (session && !session.exercises[exIdx].sets[setIdx].completed) {
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium).catch(() => {})
+ }
+ completeSet(exIdx, setIdx)
+ if (exIdx !== activeExIdx) setActiveExIdx(exIdx)
+ }
+
+ // Mid-session add: web routes to a picker page, but the gym overlay would cover a
+ // routed page — so both modes open the ExercisePicker modal (1 blank set, web parity).
+ const addExerciseFromPicker = (exercise: Exercise) => {
+ addExercise({
+ exercise_id: exercise.id,
+ exercise,
+ notes: '',
+ sets: [{ set_number: 1, target_reps: 0, target_weight: 0, actual_reps: 0, actual_weight: 0, completed: false }],
+ })
+ setShowPicker(false)
+ }
+
+ // In gym layout the full-screen gym overlay IS the interface — render it HERE (inside
+ // this tab screen), not at the root, so its bottom:0 sits above the tab bar and you can
+ // still tap other tabs to leave a running session. When the session ends (session=null
+ // on finish/discard) fall back to a neutral surface — never the list-mode UI — so it
+ // can't flash through on the gym exit: react-native-screens freezes this screen's
+ // snapshot at router.replace() time (before React commits session=null), and a blank
+ // one never slides out during the transition.
+ if (settings.workout_layout === 'gym') return session ? <GymModeWorkout /> : <View className="flex-1 bg-surface-base" />
+
+ if (!session) {
+ return (
+ <Screen>
+ <View className="flex-1 items-center justify-center gap-3 py-20">
+ <View className="h-12 w-12 items-center justify-center rounded-xl border border-surface-border bg-surface-muted">
+ <Dumbbell size={24} color={colors.txMuted} />
+ </View>
+ <AppText variant="bodySemibold">No active workout</AppText>
+ <AppText variant="caption" color="muted">Start one from the Workouts tab</AppText>
+ <Pressable onPress={goHome} className="mt-2 rounded-xl bg-brand-500 px-4 py-2.5 active:scale-95">
+ <AppText variant="bodySemibold" color="white">Go to Workouts</AppText>
+ </Pressable>
+ </View>
+ </Screen>
+ )
+ }
+
+ const completedSets = session.exercises.reduce((sum, ex) => sum + ex.sets.filter((s) => s.completed).length, 0)
+ const totalSets = session.exercises.reduce((sum, ex) => sum + ex.sets.length, 0)
+ const allComplete = totalSets > 0 && completedSets === totalSets
+
+ return (
+ <Screen>
+ {/* Sticky-ish header */}
+ <View className="-mx-5 border-b border-surface-border bg-surface-base px-5 pb-2 pt-3">
+ <View className="flex-row items-center justify-between gap-3 pb-2.5">
+ <View className="min-w-0 flex-1">
+ <AppText variant="heading" numberOfLines={1}>{session.name}</AppText>
+ <View className="mt-0.5 flex-row items-center gap-3">
+ <View className="flex-row items-center gap-1">
+ <Timer size={14} color={accent} />
+ <Text className="font-sans text-sm" style={{ color: accent, fontVariant: ['tabular-nums'] }}>{formatElapsed(elapsed)}</Text>
+ </View>
+ <AppText variant="caption" color="muted">{completedSets}/{totalSets} sets done</AppText>
+ </View>
+ </View>
+ <Pressable
+ onPress={() => setConfirmFinish(true)}
+ className={`flex-row items-center gap-2 rounded-xl px-5 py-2.5 active:scale-95 ${allComplete ? 'bg-brand-500' : 'border border-brand-500/30 bg-brand-500/10'}`}
+ >
+ <Flag size={16} color={allComplete ? '#ffffff' : accent} />
+ <Text className={`font-sans-bold text-sm ${allComplete ? 'text-white' : ''}`} style={allComplete ? undefined : { color: accent }}>Finish</Text>
+ </Pressable>
+ </View>
+ {/* progress bar */}
+ <View className="h-0.5 bg-surface-muted">
+ <View className="h-full bg-brand-500" style={{ width: `${totalSets > 0 ? (completedSets / totalSets) * 100 : 0}%` }} />
+ </View>
+ {/* Exercise pills */}
+ {session.exercises.length > 1 ? (
+ <ScrollView horizontal showsHorizontalScrollIndicator={false} className="py-2" contentContainerStyle={{ gap: 6 }}>
+ {session.exercises.map((ex, i) => {
+ const done = ex.sets.length > 0 && ex.sets.every((s) => s.completed)
+ const active = i === activeExIdx
+ return (
+ <Pressable
+ key={i}
+ onPress={() => jumpToExercise(i)}
+ className={`flex-row items-center gap-1.5 rounded-full border px-2.5 py-1 ${
+ done ? 'border-brand-500/30 bg-brand-500/15' : active ? 'border-brand-500/40 bg-brand-500/10' : 'border-surface-border bg-surface-muted'
+ }`}
+ >
+ {done ? (
+ <CheckCircle2 size={12} color={accent} />
+ ) : (
+ <View className={`h-3.5 w-3.5 items-center justify-center rounded-full ${active ? 'bg-brand-500' : 'bg-surface-border'}`}>
+ <Text className="text-[9px] font-sans-bold" style={{ color: active ? '#fff' : colors.txMuted }}>{i + 1}</Text>
+ </View>
+ )}
+ <AppText variant="caption" color={done || active ? 'brand' : 'muted'} numberOfLines={1} className="max-w-[88px]">{ex.exercise.name}</AppText>
+ </Pressable>
+ )
+ })}
+ </ScrollView>
+ ) : null}
+ </View>
+
+ <ScrollView
+ ref={scrollRef}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 40, paddingTop: 12, gap: 12 }}
+ keyboardShouldPersistTaps="handled"
+ automaticallyAdjustKeyboardInsets
+ >
+ {saveError ? (
+ <View className="rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AppText variant="body" color="error">{saveError}</AppText>
+ </View>
+ ) : null}
+
+ {session.exercises.length === 0 ? (
+ <View className="items-center gap-1 py-16">
+ <Dumbbell size={28} color={colors.txMuted} />
+ <AppText variant="bodySemibold" className="mt-2">No exercises yet</AppText>
+ <AppText variant="caption" color="muted">Add exercises below</AppText>
+ </View>
+ ) : (
+ session.exercises.map((ex, exIdx) => {
+ const allSetsComplete = ex.sets.length > 0 && ex.sets.every((s) => s.completed)
+ const isActive = exIdx === activeExIdx
+ const completedHere = ex.sets.filter((s) => s.completed).length
+ const tint = muscleColor(ex.exercise.muscle_group)
+ return (
+ <View
+ key={exIdx}
+ onLayout={(e: LayoutChangeEvent) => { cardY.current[exIdx] = e.nativeEvent.layout.y }}
+ className={`overflow-hidden rounded-2xl border ${allSetsComplete ? 'border-brand-500/30 bg-brand-500/5' : isActive ? 'border-brand-500/40 bg-surface-base' : 'border-surface-border bg-surface-base'}`}
+ >
+ {/* Header */}
+ <View className="flex-row items-center gap-3 px-4 pb-3 pt-4">
+ <ExerciseImage url={ex.exercise.image_url} />
+ <Pressable className="min-w-0 flex-1" onPress={() => router.push(exerciseHref(ex.exercise_id))}>
+ <AppText variant="bodySemibold" numberOfLines={1}>{ex.exercise.name}</AppText>
+ <View className="mt-1 flex-row items-center gap-2">
+ <View className={`rounded px-1.5 py-0.5 ${tint?.chip ?? 'bg-surface-muted'}`}>
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>{ex.exercise.muscle_group}</AppText>
+ </View>
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>{completedHere}/{ex.sets.length} sets</AppText>
+ </View>
+ </Pressable>
+ {allSetsComplete ? (
+ <View className="h-8 w-8 items-center justify-center rounded-full bg-brand-500">
+ <CheckCircle2 size={18} color="#ffffff" />
+ </View>
+ ) : (
+ <Pressable onPress={() => removeExercise(exIdx)} hitSlop={6} accessibilityLabel="Remove exercise" className="h-9 w-9 items-center justify-center rounded-xl active:bg-error-500/10">
+ <X size={16} color={colors.txMuted} />
+ </Pressable>
+ )}
+ </View>
+
+ {/* Notes */}
+ <View className="px-4 pb-2">
+ <TextInput
+ defaultValue={ex.notes}
+ onEndEditing={(e) => updateExerciseNotes(exIdx, e.nativeEvent.text)}
+ placeholder="+ Add note…"
+ placeholderTextColor={colors.txMuted}
+ className="font-sans text-xs text-tx-secondary"
+ />
+ </View>
+
+ {/* Sets */}
+ <View className="gap-2 px-3 pb-3">
+ <View className="flex-row items-center gap-2 px-1">
+ <View className="w-8 items-center"><AppText variant="caption" color="muted">Set</AppText></View>
+ <View className="flex-1 items-center"><AppText variant="caption" color="muted">Reps</AppText></View>
+ <View className="flex-1 items-center"><AppText variant="caption" color="muted">Weight ({wUnit})</AppText></View>
+ <View className="w-12 items-center"><AppText variant="caption" color="muted">Done</AppText></View>
+ <View className="w-7" />
+ </View>
+ {ex.sets.map((set, setIdx) => {
+ const isNextSet = isActive && !set.completed && ex.sets.slice(0, setIdx).every((s) => s.completed)
+ return (
+ <View
+ key={setIdx}
+ className={`flex-row items-center gap-2 rounded-xl border ${set.completed ? 'border-brand-500/20 bg-brand-500/10' : isNextSet ? 'border-brand-500/35 bg-surface-muted/50' : 'border-surface-border/60 bg-surface-muted/30'}`}
+ >
+ <View className="w-8 items-center py-3">
+ <Text className="font-sans-bold text-sm" style={{ color: set.completed ? accent : colors.txMuted, fontVariant: ['tabular-nums'] }}>{set.set_number}</Text>
+ </View>
+ <View className="flex-1">
+ <TextInput
+ editable={!set.completed}
+ value={set.actual_reps ? String(set.actual_reps) : ''}
+ onChangeText={(t) => updateSet(exIdx, setIdx, 'actual_reps', Number(t.replace(/[^0-9]/g, '')) || 0)}
+ keyboardType="number-pad"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ placeholder={set.target_reps > 0 ? String(set.target_reps) : '—'}
+ placeholderTextColor={colors.txMuted}
+ className={`${CELL} ${set.completed ? 'opacity-40' : ''}`}
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ </View>
+ <View className="flex-1">
+ <TextInput
+ editable={!set.completed}
+ value={set.actual_weight ? String(displayWeight(set.actual_weight, wUnit)) : ''}
+ onChangeText={(t) => {
+ let v = t.replace(/[^0-9.]/g, '')
+ const i = v.indexOf('.')
+ if (i !== -1) v = v.slice(0, i + 1) + v.slice(i + 1).replace(/\./g, '')
+ updateSet(exIdx, setIdx, 'actual_weight', displayToLbs(Number(v) || 0, settings.weight_unit))
+ }}
+ keyboardType="decimal-pad"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ placeholder={set.target_weight > 0 ? String(displayWeight(set.target_weight, wUnit)) : '—'}
+ placeholderTextColor={colors.txMuted}
+ className={`${CELL} ${set.completed ? 'opacity-40' : ''}`}
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ </View>
+ <Pressable onPress={() => handleCompleteSet(exIdx, setIdx)} className={`h-11 w-12 items-center justify-center ${set.completed ? 'bg-brand-500' : isNextSet ? 'bg-brand-500/20' : ''}`}>
+ <CheckCircle2 size={24} color={set.completed ? '#ffffff' : isNextSet ? accent : colors.txMuted} />
+ </Pressable>
+ <Pressable onPress={() => removeSet(exIdx, setIdx)} hitSlop={6} accessibilityLabel="Remove set" className="w-7 items-center justify-center">
+ <X size={14} color={colors.txMuted} />
+ </Pressable>
+ </View>
+ )
+ })}
+
+ {/* Add Set / Prev / Next / Finish */}
+ <View className="mt-1 flex-row gap-2">
+ {isActive && exIdx > 0 ? (
+ <Pressable onPress={() => jumpToExercise(exIdx - 1)} accessibilityLabel="Previous exercise" className="items-center justify-center rounded-xl border border-surface-border bg-surface-muted px-3 py-2.5 active:scale-95">
+ <ChevronLeft size={16} color={colors.txSecondary} />
+ </Pressable>
+ ) : null}
+ <Pressable onPress={() => addSet(exIdx)} className="flex-1 flex-row items-center justify-center gap-1.5 rounded-xl border border-dashed border-surface-border py-2.5 active:opacity-60">
+ <Plus size={14} color={colors.txMuted} />
+ <Text className="font-sans-semibold text-xs text-tx-muted">Add Set</Text>
+ </Pressable>
+ {isActive && exIdx < session.exercises.length - 1 ? (
+ <Pressable onPress={() => jumpToExercise(exIdx + 1)} className={`flex-row items-center justify-center gap-1 rounded-xl px-3 py-2.5 active:scale-95 ${allSetsComplete ? 'bg-brand-500' : 'border border-surface-border bg-surface-muted'}`}>
+ <Text className={`font-sans-semibold text-xs ${allSetsComplete ? 'text-white' : 'text-tx-secondary'}`}>Next</Text>
+ <ChevronRight size={14} color={allSetsComplete ? '#ffffff' : colors.txSecondary} />
+ </Pressable>
+ ) : null}
+ {isActive && exIdx === session.exercises.length - 1 ? (
+ <Pressable onPress={() => setConfirmFinish(true)} className={`flex-row items-center justify-center gap-1 rounded-xl px-3 py-2.5 active:scale-95 ${allSetsComplete ? 'bg-brand-500' : 'border border-surface-border bg-surface-muted'}`}>
+ <Flag size={14} color={allSetsComplete ? '#ffffff' : colors.txSecondary} />
+ <Text className={`font-sans-semibold text-xs ${allSetsComplete ? 'text-white' : 'text-tx-secondary'}`}>Finish</Text>
+ </Pressable>
+ ) : null}
+ </View>
+ </View>
+ </View>
+ )
+ })
+ )}
+
+ {/* Footer */}
+ <View className="mt-2 gap-2">
+ <Pressable onPress={() => setShowPicker(true)} className="flex-row items-center justify-center gap-2 rounded-2xl border border-surface-border bg-surface-muted py-3.5 active:scale-95">
+ <Plus size={16} color={colors.txSecondary} />
+ <Text className="font-sans-semibold text-sm text-tx-secondary">Add Exercise</Text>
+ </Pressable>
+ <Pressable onPress={() => setConfirmCancel(true)} className="items-center py-2.5 active:opacity-60">
+ <Text className="font-sans text-xs text-tx-muted">Cancel Workout</Text>
+ </Pressable>
+ </View>
+ </ScrollView>
+
+ {/* Finish confirm */}
+ <ConfirmSheet
+ open={confirmFinish}
+ icon={Flag}
+ title="Finish Workout?"
+ message={`${completedSets} of ${totalSets} sets completed. Workout will be saved.`}
+ confirmLabel="Finish"
+ busyLabel="Saving…"
+ cancelLabel="Keep Going"
+ busy={saving}
+ onConfirm={handleFinish}
+ onCancel={() => setConfirmFinish(false)}
+ />
+
+ {/* Cancel confirm */}
+ <ConfirmSheet
+ open={confirmCancel}
+ icon={X}
+ destructive
+ title="Cancel Workout?"
+ message="All progress will be lost."
+ confirmLabel="Cancel Workout"
+ cancelLabel="Keep Going"
+ onConfirm={() => { setOutcome({ kind: 'discarded', session }); cancelSession(); router.replace('/workouts') }}
+ onCancel={() => setConfirmCancel(false)}
+ />
+
+ {showPicker ? (
+ <ExercisePicker
+ selectedIds={session.exercises.map((e) => e.exercise_id)}
+ onSelect={addExerciseFromPicker}
+ onClose={() => setShowPicker(false)}
+ />
+ ) : null}
+
+ {/* iOS Done bar above the numeric keyboard (reps/weight fields reference it). */}
+ <NumericKeyboardAccessory />
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/exercise/[exerciseId].tsx b/mobile/app/(tabs)/workouts/exercise/[exerciseId].tsx
new file mode 100644
index 0000000..e672e03
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/exercise/[exerciseId].tsx
@@ -0,0 +1,8 @@
+import { ExerciseDetailScreen } from '../../../../src/components/workouts/ExerciseDetailScreen'
+
+// Workouts-tab leaf for the shared exercise-detail screen (reached from workout detail +
+// active session). Deep-link back falls to the workouts list. See ExerciseDetailScreen for
+// why each tab stack gets its own copy of this route.
+export default function WorkoutsExerciseDetail() {
+ return <ExerciseDetailScreen backFallback="/workouts" />
+}
diff --git a/mobile/app/(tabs)/workouts/index.tsx b/mobile/app/(tabs)/workouts/index.tsx
new file mode 100644
index 0000000..00152a3
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/index.tsx
@@ -0,0 +1,221 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { ActivityIndicator, FlatList, RefreshControl, View } from 'react-native'
+import { router, useFocusEffect } from 'expo-router'
+import { CheckCircle2, Dumbbell, Plus, RotateCcw } from 'lucide-react-native'
+import { weightShort, type Workout } from '@lyftr/shared'
+import { AppText, Card, EmptyState, IconButton, Label, PageHeader, Screen, SearchField, Toast } from '../../../src/components/ui'
+import { WorkoutCard } from '../../../src/components/workouts/WorkoutCard'
+import { WorkoutsSkeleton } from '../../../src/components/workouts/WorkoutsSkeleton'
+import { useServerInfiniteList } from '../../../src/hooks/useServerInfiniteList'
+import { client, useSettingsStore, useWorkoutSession } from '../../../src/lib/lyftr'
+import { useWorkoutOutcome } from '../../../src/lib/workoutOutcome'
+import { useTheme } from '../../../src/theme/useTheme'
+
+export default function Workouts() {
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const unit = weightShort(settings.weight_unit)
+ const { accent } = useTheme()
+
+ const [search, setSearch] = useState('')
+ const [debouncedSearch, setDebouncedSearch] = useState('')
+
+ // Confirmation toast on arrival from a finished/discarded session (the courier is the
+ // one-shot useWorkoutOutcome store, set during teardown before we navigate here).
+ const outcome = useWorkoutOutcome((s) => s.outcome)
+ const clearOutcome = useWorkoutOutcome((s) => s.clear)
+ const restoreSession = useWorkoutSession((s) => s.restoreSession)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ // Debounce search so we don't fire a request on every keystroke. 250ms sits in the
+ // research-backed 200–300ms sweet spot (>300ms starts to feel laggy).
+ useEffect(() => {
+ const t = setTimeout(() => setDebouncedSearch(search), 250)
+ return () => clearTimeout(t)
+ }, [search])
+
+ const fetcher = useCallback(
+ (offset: number, limit: number) =>
+ client.workoutAPI.list({ offset, limit, q: debouncedSearch || undefined }),
+ [debouncedSearch]
+ )
+ const { items: workouts, loadMore, hasMore, loading, initialLoading, refreshing, reload } =
+ useServerInfiniteList<Workout>({ fetcher, deps: [debouncedSearch] })
+
+ // The stack keeps this screen mounted under the detail screen, so a delete made
+ // there doesn't remount us the way the web SPA's re-navigation does — refetch on
+ // re-focus instead. Skip the first focus: the hook's deps-effect already fetched.
+ const focusedOnce = useRef(false)
+ useFocusEffect(
+ useCallback(() => {
+ if (!focusedOnce.current) {
+ focusedOnce.current = true
+ return
+ }
+ reload()
+ }, [reload])
+ )
+
+ // Pull-to-refresh: drive the native RefreshControl spinner off the reload promise.
+ const [pulling, setPulling] = useState(false)
+ const onPullRefresh = useCallback(async () => {
+ setPulling(true)
+ await reload()
+ setPulling(false)
+ }, [reload])
+
+ // Skeleton (not the barbell loader) for the list's first load: content-shaped
+ // placeholders read as faster and match where the real cards will land.
+ if (initialLoading) return <WorkoutsSkeleton />
+
+
+ const now = new Date()
+ const stats = [
+ // 1:1 with web: these summarize the *loaded* items, not a server-side stat.
+ { label: 'Total', value: String(workouts.length), unit: 'logged' },
+ {
+ label: 'This Month',
+ value: String(workouts.filter((w) => new Date(w.started_at).getMonth() === now.getMonth()).length),
+ unit: 'sessions',
+ },
+ {
+ label: 'Avg Time',
+ value:
+ workouts.length > 0
+ ? String(Math.round(workouts.reduce((sum, w) => sum + w.duration, 0) / workouts.length / 60))
+ : '0',
+ unit: 'min',
+ },
+ ]
+
+ return (
+ <Screen>
+ <FlatList
+ data={workouts}
+ keyExtractor={(w) => String(w.id)}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 32 }}
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="on-drag"
+ // IntersectionObserver-sentinel replacement: fetch the next page as the user
+ // nears the end (threshold 0.5 ≈ the web's 200px rootMargin pre-fetch).
+ onEndReached={loadMore}
+ onEndReachedThreshold={0.5}
+ refreshControl={
+ <RefreshControl refreshing={pulling} onRefresh={onPullRefresh} tintColor={accent} colors={[accent]} />
+ }
+ ItemSeparatorComponent={() => <View className="h-3" />}
+ ListHeaderComponent={
+ <View className="gap-5 py-4">
+ <PageHeader
+ title="Workouts"
+ subtitle="Track and review your training sessions"
+ action={
+ <IconButton
+ icon={Plus}
+ label="Log Workout"
+ variant="solid"
+ size="md"
+ onPress={() => router.push('/workouts/new')}
+ />
+ }
+ />
+
+ {/* Summary — web's 3-card grid. Dimmed while a new search revalidates: the
+ stats summarize the loaded items, so they're stale mid-search — fading
+ them (and the rows below) signals "updating" without a blank flash. */}
+ <View className="flex-row gap-3" style={{ opacity: refreshing ? 0.5 : 1 }}>
+ {/* Tighter horizontal padding than Card's default: three-up columns are
+ narrow and the uppercase wide-tracked label truncates at p-4. */}
+ {stats.map((s) => (
+ <Card key={s.label} className="flex-1 rounded-2xl" style={{ paddingHorizontal: 12 }}>
+ <Label className="mb-2" numberOfLines={1}>{s.label}</Label>
+ <View className="flex-row items-end gap-1">
+ <AppText variant="heading" style={{ fontVariant: ['tabular-nums'] }}>
+ {s.value}
+ </AppText>
+ <AppText variant="caption" color="muted" className="mb-0.5" numberOfLines={1}>
+ {s.unit}
+ </AppText>
+ </View>
+ </Card>
+ ))}
+ </View>
+
+ {/* Reusable SearchField: leading search icon + a trailing slot that is a
+ spinner while a new query fetches (previous results stay on screen and
+ swap in place — no flash-to-zero) or a clear (×) button once there's text. */}
+ <SearchField
+ value={search}
+ onChangeText={setSearch}
+ loading={refreshing}
+ placeholder="Search workouts…"
+ />
+ </View>
+ }
+ renderItem={({ item }) => (
+ // Fade the stale rows while a new search revalidates (they swap in place when
+ // the fresh page lands); the search field above stays full-opacity/interactive.
+ <View style={{ opacity: refreshing ? 0.5 : 1 }}>
+ <WorkoutCard
+ workout={item}
+ unit={unit}
+ onPress={() => router.push(`/workouts/${item.id}`)}
+ onDeleted={() => reload()}
+ />
+ </View>
+ )}
+ ListEmptyComponent={
+ loading ? null : (
+ <EmptyState
+ icon={Dumbbell}
+ title="No workouts found"
+ subtitle={search ? 'Try a different search' : 'Log a workout to get started'}
+ />
+ )
+ }
+ ListFooterComponent={
+ hasMore && loading && workouts.length > 0 ? (
+ <View className="items-center py-3">
+ <ActivityIndicator size="small" color={accent} />
+ </View>
+ ) : null
+ }
+ />
+
+ {/* Post-session confirmation. Saved = quiet success; discarded = tap-to-undo
+ (restores the exact session snapshot and drops you back into it). */}
+ {outcome ? (
+ outcome.kind === 'saved' ? (
+ <Toast
+ variant="success"
+ icon={CheckCircle2}
+ title="Workout saved"
+ description="Tap to view"
+ onPress={() => {
+ clearOutcome()
+ router.push(`/workouts/${outcome.workoutId}`)
+ }}
+ onDismiss={clearOutcome}
+ />
+ ) : (
+ <Toast
+ variant="default"
+ icon={RotateCcw}
+ title="Workout discarded"
+ description="Tap to undo"
+ onPress={() => {
+ restoreSession(outcome.session)
+ clearOutcome()
+ router.push('/workouts/active')
+ }}
+ onDismiss={clearOutcome}
+ />
+ )
+ ) : null}
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/new.tsx b/mobile/app/(tabs)/workouts/new.tsx
new file mode 100644
index 0000000..d10f155
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/new.tsx
@@ -0,0 +1,378 @@
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { Platform, Pressable, ScrollView, Text, View } from 'react-native'
+import { router } from 'expo-router'
+import {
+ AlertCircle, ArrowLeft, BookOpen, CalendarDays, Clock, Dumbbell, FileText, Plus, Zap,
+} from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { apiErrorMessage, displayToLbs, weightShort, type Exercise, type Program } from '@lyftr/shared'
+import { AppText, Button, DateInput, EmptyState, Field, IconButton, Label, Screen } from '../../../src/components/ui'
+import { ExerciseFormCard } from '../../../src/components/workouts/ExerciseFormCard'
+import { DurationField } from '../../../src/components/workouts/DurationField'
+import { ExercisePicker } from '../../../src/components/workouts/ExercisePicker'
+import { KeyboardDoneBar } from '../../../src/components/workouts/KeyboardDoneBar'
+import { ProgramPicker } from '../../../src/components/workouts/ProgramPicker'
+import { client, useSettingsStore } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Same shape as web's WorkoutFormData: weights/duration in DISPLAY units here;
+// converted to lbs/seconds only in the submit payload.
+interface WorkoutFormData {
+ name: string
+ notes: string
+ duration: number
+ date: string
+ exercises: {
+ exercise_id: number
+ notes: string
+ rest_seconds: number
+ sets: { set_number: number; reps: number; weight: number }[]
+ }[]
+}
+
+// One accessory bar per screen — unique ID so a stacked edit screen's bar can't clash.
+const KEYPAD_DONE_ID = 'workout-new-keypad-done'
+
+// Web's icon+label field headers (Dumbbell/CalendarDays/Clock/FileText/Zap rows).
+function FieldHeader({ icon: Icon, label, hint }: { icon: LucideIcon; label: string; hint?: string }) {
+ // Muted (not accent) field icons: with every header cyan the form reads busy and
+ // the accent loses meaning. Restrained neutral glyphs let the brand color stay
+ // reserved for real signal (the Exercises section, PR chips, primary CTA).
+ const { colors } = useTheme()
+ return (
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Icon size={14} color={colors.txMuted} strokeWidth={2.2} />
+ <Label>{label}</Label>
+ {hint ? <AppText variant="caption" color="muted">{hint}</AppText> : null}
+ </View>
+ )
+}
+
+export default function AddWorkout() {
+ const settings = useSettingsStore((s) => s.settings)
+ const fetchSettings = useSettingsStore((s) => s.fetch)
+ const wUnit = weightShort(settings.weight_unit)
+ const { colors, brand, accent, isDark } = useTheme()
+
+ const [showPicker, setShowPicker] = useState(false)
+ const [showProgramPicker, setShowProgramPicker] = useState(false)
+ const [loading, setLoading] = useState(false)
+ const [error, setError] = useState('')
+ const [pickerExercises, setPickerExercises] = useState<Record<number, Exercise>>({})
+ const [formData, setFormData] = useState<WorkoutFormData>({
+ name: '',
+ notes: '',
+ duration: 0,
+ date: new Date().toISOString().slice(0, 10),
+ exercises: [],
+ })
+ const scrollRef = useRef<ScrollView>(null)
+
+ useEffect(() => {
+ fetchSettings()
+ }, [fetchSettings])
+
+ // Web scrolls the window to top on error; here the ScrollView.
+ useEffect(() => {
+ if (error) scrollRef.current?.scrollTo({ y: 0, animated: true })
+ }, [error])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/workouts'))
+
+ const loadFromProgram = (program: Program) => {
+ const newMap: Record<number, Exercise> = { ...pickerExercises }
+ const newExercises = (program.exercises || []).map((ex) => {
+ newMap[ex.exercise_id] = ex.exercise
+ return {
+ exercise_id: ex.exercise_id,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds ?? (settings.rest_seconds_default ?? 90),
+ // Web parity (latent web quirk, do not fix): target_weight is server-lbs
+ // copied straight into the display-unit form — identity for lbs users.
+ sets: (ex.sets || []).map((s) => ({ set_number: s.set_number, reps: s.target_reps, weight: s.target_weight })),
+ }
+ })
+ setPickerExercises(newMap)
+ setFormData((prev) => ({ ...prev, exercises: newExercises }))
+ setShowProgramPicker(false)
+ setError('')
+ }
+
+ const addExercise = (exercise: Exercise) => {
+ setPickerExercises((prev) => ({ ...prev, [exercise.id]: exercise }))
+ setFormData((prev) => ({
+ ...prev,
+ exercises: [
+ ...prev.exercises,
+ {
+ exercise_id: exercise.id,
+ notes: '',
+ rest_seconds: settings.rest_seconds_default ?? 90,
+ sets: [{ set_number: 1, reps: 0, weight: 0 }],
+ },
+ ],
+ }))
+ setShowPicker(false)
+ setError('')
+ }
+
+ // These handlers are passed to the memoized ExerciseFormCard, so they must be both
+ // referentially STABLE (useCallback with no deps — they only touch the setState updater)
+ // and IMMUTABLE (replace only the changed exercise/set with a new object). Immutability
+ // is what lets memo work: the edited card gets a fresh `sets`/`notes` ref and re-renders,
+ // while every other card keeps its old refs and is skipped.
+ const removeExercise = useCallback((index: number) =>
+ setFormData((prev) => ({ ...prev, exercises: prev.exercises.filter((_, i) => i !== index) })), [])
+
+ const addSet = useCallback((exIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: [...ex.sets, { set_number: ex.sets.length + 1, reps: 0, weight: 0 }] }),
+ }))
+ }, [])
+
+ // Web parity: removing a middle set does NOT renumber the rest.
+ const removeSet = useCallback((exIdx: number, setIdx: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : { ...ex, sets: ex.sets.filter((_, j) => j !== setIdx) }),
+ }))
+ }, [])
+
+ const updateSet = useCallback((exIdx: number, setIdx: number, field: 'reps' | 'weight', value: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) =>
+ i !== exIdx ? ex : {
+ ...ex,
+ sets: ex.sets.map((s, j) => (j !== setIdx ? s : { ...s, [field]: Number(value) || 0 })),
+ }),
+ }))
+ }, [])
+
+ const updateExNotes = useCallback((exIdx: number, text: string) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, notes: text })),
+ }))
+ }, [])
+
+ const setExRest = useCallback((exIdx: number, secs: number) => {
+ setFormData((prev) => ({
+ ...prev,
+ exercises: prev.exercises.map((ex, i) => (i !== exIdx ? ex : { ...ex, rest_seconds: secs })),
+ }))
+ }, [])
+
+ const handleSubmit = async () => {
+ if (!formData.name.trim()) { setError('Workout name required'); return }
+ if (formData.exercises.length === 0) { setError('Add at least one exercise'); return }
+ setLoading(true)
+ try {
+ // Exact web payload (the spread leaks `date` — backend ignores it; keep it).
+ const payload = {
+ ...formData,
+ duration: formData.duration * 60,
+ started_at: new Date(formData.date).toISOString(),
+ exercises: formData.exercises.map((ex) => ({
+ ...ex,
+ sets: ex.sets.map((s) => ({ ...s, weight: displayToLbs(s.weight, settings.weight_unit) })),
+ })),
+ }
+ await client.workoutAPI.create(payload)
+ // Web navigates to /workouts; pop back to the list (it reloads on focus).
+ router.dismissTo('/workouts')
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to create workout'))
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ const selectedIds = formData.exercises.map((e) => e.exercise_id)
+ const totalSets = formData.exercises.reduce((sum, ex) => sum + ex.sets.length, 0)
+ const totalWeight = formData.exercises.reduce(
+ (sum, ex) => sum + ex.sets.reduce((s, set) => s + (set.weight || 0), 0),
+ 0
+ )
+
+ return (
+ <Screen>
+ <ScrollView
+ ref={scrollRef}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={{ paddingBottom: 24 }}
+ automaticallyAdjustKeyboardInsets
+ keyboardShouldPersistTaps="handled"
+ // Drag-to-dismiss the keyboard: 'interactive' (finger-tracked) is iOS-only;
+ // Android falls back to dismiss-on-drag-start.
+ keyboardDismissMode={Platform.OS === 'ios' ? 'interactive' : 'on-drag'}
+ >
+ <View className="gap-6 py-4">
+ {/* Back + title */}
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={ArrowLeft} label="Back" variant="ghost" size="md" onPress={goBack} />
+ <View>
+ <AppText variant="title">Log Workout</AppText>
+ <AppText variant="caption" color="muted">
+ {formData.exercises.length} exercises • {totalSets} sets
+ {totalWeight > 0 ? ` • ${Math.round(totalWeight)} ${wUnit}` : ''}
+ </AppText>
+ </View>
+ </View>
+
+ {/* Form/request error — boxed alert (authui AuthError pattern) */}
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error" className="flex-1">{error}</AppText>
+ </View>
+ ) : null}
+
+ <View>
+ <FieldHeader icon={Dumbbell} label="Workout Name" hint="(required)" />
+ <Field
+ value={formData.name}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, name: t }))}
+ placeholder="e.g., Leg Day, Push Day"
+ />
+ </View>
+
+ {/* Date + duration share a row — related scalar facts, half-width each. The
+ duration stepper is a single overflow-hidden container, so it fits the
+ half column; DateInput opens its picker in a full-width Modal so the
+ half-width trigger doesn't crush the calendar. */}
+ <View className="flex-row gap-3">
+ <View className="flex-[2]">
+ <FieldHeader icon={CalendarDays} label="Date" />
+ <DateInput
+ value={formData.date}
+ onChange={(d) => setFormData((prev) => ({ ...prev, date: d }))}
+ maximumDate={new Date()}
+ />
+ </View>
+ <View className="flex-1">
+ {/* "min" already rides the value, so the label stays just "Duration". */}
+ <FieldHeader icon={Clock} label="Duration" />
+ <DurationField
+ value={formData.duration}
+ onChange={(m) => setFormData((prev) => ({ ...prev, duration: m }))}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ </View>
+ </View>
+
+ <View>
+ <FieldHeader icon={FileText} label="Notes" />
+ <Field
+ value={formData.notes}
+ onChangeText={(t) => setFormData((prev) => ({ ...prev, notes: t }))}
+ placeholder="How did it feel? Any PRs?"
+ multiline
+ />
+ </View>
+
+ {/* Exercises section (no summary strip — the header caption already
+ carries exercises · sets · total weight) */}
+ <View>
+ {/* Label row + full-width button row: label group AND two buttons don't
+ fit one 390pt row (the Add button clipped off-screen), and equal-width
+ buttons make friendlier touch targets anyway. */}
+ <View className="mb-3">
+ <View className="mb-2.5 flex-row items-center gap-2">
+ <Zap size={14} color={accent} strokeWidth={2.2} />
+ <Label>Exercises</Label>
+ <AppText variant="caption" color="muted">(required)</AppText>
+ </View>
+ <View className="flex-row items-center gap-2">
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setShowProgramPicker(true)}
+ className="flex-1 flex-row items-center justify-center gap-1.5 rounded-lg border border-surface-border bg-surface-muted px-3 py-2.5 active:scale-95"
+ >
+ <BookOpen size={13} color={colors.txSecondary} />
+ <Text className="font-sans-semibold text-xs text-tx-secondary">Load Program</Text>
+ </Pressable>
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setShowPicker(true)}
+ className="flex-1 flex-row items-center justify-center gap-1.5 rounded-lg bg-brand-500 px-3 py-2.5 active:scale-95"
+ >
+ <Plus size={13} color="#ffffff" />
+ <Text className="font-sans-semibold text-xs text-white">Add Exercise</Text>
+ </Pressable>
+ </View>
+ </View>
+
+ {formData.exercises.length === 0 && (
+ <View className="rounded-2xl border border-dashed border-surface-border">
+ <EmptyState
+ compact
+ icon={Dumbbell}
+ title="No exercises yet"
+ subtitle="Add an exercise or load a program to start"
+ />
+ </View>
+ )}
+
+ <View className="gap-4">
+ {formData.exercises.map((workoutEx, exIdx) => (
+ <ExerciseFormCard
+ key={exIdx}
+ index={exIdx}
+ exercise={pickerExercises[workoutEx.exercise_id]}
+ notes={workoutEx.notes}
+ sets={workoutEx.sets}
+ restSeconds={workoutEx.rest_seconds ?? 90}
+ unit={wUnit}
+ onRemove={removeExercise}
+ onNotesChange={updateExNotes}
+ onAddSet={addSet}
+ onRemoveSet={removeSet}
+ onUpdateSet={updateSet}
+ onRestChange={setExRest}
+ inputAccessoryViewID={KEYPAD_DONE_ID}
+ />
+ ))}
+ {/* Thumb-zone duplicate of Add Exercise: the header buttons scroll away
+ as cards stack up, so the "next exercise" tap lands where the thumb
+ already is (right after the last card) — no scroll-to-top round trip. */}
+ {formData.exercises.length > 0 && (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Add exercise"
+ onPress={() => setShowPicker(true)}
+ className="h-11 flex-row items-center justify-center gap-1.5 rounded-2xl border border-dashed border-surface-border active:opacity-60"
+ >
+ <Plus size={14} color={accent} />
+ <Text className="font-sans-semibold text-xs" style={{ color: accent }}>Add Exercise</Text>
+ </Pressable>
+ )}
+ </View>
+ </View>
+
+ </View>
+ </ScrollView>
+
+ {/* Sticky footer actions — Save stays reachable however long the form grows.
+ -mx-5 lets the divider span edge-to-edge past Screen's px-5. */}
+ <View className="-mx-5 flex-row gap-3 border-t border-surface-border bg-surface-base px-5 pb-2 pt-3">
+ <Button title="Cancel" variant="secondary" className="flex-1" onPress={goBack} />
+ <Button title="Save Workout" className="flex-1" onPress={handleSubmit} loading={loading} />
+ </View>
+
+ {/* iOS-only Done bar docked above the numeric keypads (they have no return key). */}
+ <KeyboardDoneBar nativeID={KEYPAD_DONE_ID} />
+
+ {/* Conditionally mounted, exactly like web — search state resets per open. */}
+ {showPicker && (
+ <ExercisePicker selectedIds={selectedIds} onSelect={addExercise} onClose={() => setShowPicker(false)} />
+ )}
+ {showProgramPicker && (
+ <ProgramPicker onSelect={loadFromProgram} onClose={() => setShowProgramPicker(false)} />
+ )}
+ </Screen>
+ )
+}
diff --git a/mobile/app/(tabs)/workouts/start.tsx b/mobile/app/(tabs)/workouts/start.tsx
new file mode 100644
index 0000000..0bfe0e6
--- /dev/null
+++ b/mobile/app/(tabs)/workouts/start.tsx
@@ -0,0 +1,166 @@
+import { useEffect, useState } from 'react'
+import { ActivityIndicator, Pressable, ScrollView, View } from 'react-native'
+import { router } from 'expo-router'
+import { ArrowLeft, BookOpen, ChevronRight, Play, Timer, Trash2, Zap } from 'lucide-react-native'
+import type { ActiveSessionExercise, Program } from '@lyftr/shared'
+import { AppText, IconButton, Screen } from '../../../src/components/ui'
+import { client, useWorkoutSession } from '../../../src/lib/lyftr'
+import { useTheme } from '../../../src/theme/useTheme'
+
+// Port of web/pages/StartWorkout.tsx. Quick-start (blank), start-from-program, and a
+// resume/discard banner for an in-progress session. Navigates to /workouts/active,
+// which itself opens the gym overlay when the layout pref is 'gym'.
+export default function StartWorkout() {
+ const session = useWorkoutSession((s) => s.session)
+ const startSession = useWorkoutSession((s) => s.startSession)
+ const cancelSession = useWorkoutSession((s) => s.cancelSession)
+ const { colors, accent } = useTheme()
+
+ const [programs, setPrograms] = useState<Program[]>([])
+ const [loading, setLoading] = useState(false)
+ const [error, setError] = useState('')
+
+ useEffect(() => {
+ setLoading(true)
+ client.programAPI
+ .list()
+ .then((data) => setPrograms(data || []))
+ .catch(() => setError('Failed to load programs'))
+ .finally(() => setLoading(false))
+ }, [])
+
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace('/workouts'))
+
+ const startQuick = () => {
+ const name = `Workout — ${new Date().toLocaleDateString('en-US', { month: 'short', day: 'numeric' })}`
+ startSession(name, [])
+ router.push('/workouts/active')
+ }
+
+ const startFromProgram = (program: Program) => {
+ const exercises: ActiveSessionExercise[] = (program.exercises || []).map((ex) => ({
+ exercise_id: ex.exercise_id,
+ exercise: ex.exercise,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds,
+ sets: (ex.sets || []).map((s) => ({
+ set_number: s.set_number,
+ target_reps: s.target_reps,
+ target_weight: s.target_weight,
+ actual_reps: s.target_reps,
+ actual_weight: s.target_weight,
+ completed: false,
+ program_set_id: s.id,
+ })),
+ }))
+ startSession(program.name, exercises, program.id)
+ router.push('/workouts/active')
+ }
+
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-6 py-4">
+ <View className="flex-row items-center gap-3">
+ <IconButton icon={ArrowLeft} label="Back" variant="ghost" size="md" onPress={goBack} />
+ <AppText variant="title">Start Workout</AppText>
+ </View>
+
+ {/* Active session — resume or discard */}
+ {session ? (
+ <View className="rounded-2xl border border-warning-500/30 bg-warning-500/10 p-4">
+ <View className="mb-4 flex-row items-center gap-3">
+ <View className="h-10 w-10 items-center justify-center rounded-xl border border-warning-500/30 bg-warning-500/20">
+ <Timer size={20} color="#f59e0b" />
+ </View>
+ <View className="flex-1">
+ <AppText variant="bodySemibold" numberOfLines={1}>{session.name}</AppText>
+ <AppText variant="caption" style={{ color: '#f59e0b' }}>Workout in progress</AppText>
+ </View>
+ </View>
+ <View className="flex-row gap-2">
+ <Pressable
+ onPress={() => router.push('/workouts/active')}
+ className="flex-1 flex-row items-center justify-center gap-2 rounded-xl bg-brand-500 py-2.5 active:scale-95"
+ >
+ <Play size={16} color="#ffffff" />
+ <AppText variant="bodySemibold" color="white">Resume</AppText>
+ </Pressable>
+ <Pressable
+ onPress={() => cancelSession()}
+ className="flex-1 flex-row items-center justify-center gap-2 rounded-xl border border-surface-border bg-surface-muted py-2.5 active:scale-95"
+ >
+ <Trash2 size={16} color={colors.txMuted} />
+ <AppText variant="bodySemibold" color="secondary">Discard</AppText>
+ </Pressable>
+ </View>
+ </View>
+ ) : null}
+
+ {/* Quick start */}
+ <Pressable
+ onPress={startQuick}
+ className="flex-row items-center gap-4 rounded-2xl border border-brand-500/20 bg-brand-500/10 p-5 active:scale-95"
+ >
+ <View className="h-12 w-12 items-center justify-center rounded-xl bg-brand-500">
+ <Zap size={24} color="#ffffff" />
+ </View>
+ <View className="flex-1">
+ <AppText variant="heading">Quick Start</AppText>
+ <AppText variant="caption" color="muted" className="mt-0.5">Start blank, add exercises as you go</AppText>
+ </View>
+ <ChevronRight size={20} color={colors.txMuted} />
+ </Pressable>
+
+ {/* Start from Program */}
+ <View>
+ <View className="mb-3 flex-row items-center gap-2">
+ <BookOpen size={16} color={accent} />
+ <AppText variant="subheading">Start from Program</AppText>
+ </View>
+
+ {error ? (
+ <View className="mb-3 rounded-xl border border-error-500/20 bg-error-500/10 p-4">
+ <AppText variant="body" color="error">{error}</AppText>
+ </View>
+ ) : null}
+
+ {loading ? (
+ <View className="flex-row items-center justify-center gap-2 py-12">
+ <ActivityIndicator color={accent} />
+ <AppText variant="body" color="muted">Loading programs…</AppText>
+ </View>
+ ) : programs.length === 0 ? (
+ <View className="items-center rounded-2xl border border-surface-border bg-surface-raised py-10">
+ <BookOpen size={32} color={colors.txMuted} />
+ <AppText variant="body" color="muted" className="mt-2">No programs yet</AppText>
+ <Pressable onPress={() => router.navigate('/programs/new')} className="mt-3 active:opacity-60">
+ <AppText variant="caption" style={{ color: accent }}>Create your first program →</AppText>
+ </Pressable>
+ </View>
+ ) : (
+ <View className="gap-2">
+ {programs.map((p) => (
+ <Pressable
+ key={p.id}
+ onPress={() => startFromProgram(p)}
+ className="flex-row items-center gap-3 rounded-2xl border border-surface-border bg-surface-raised p-4 active:bg-surface-muted"
+ >
+ <View className="h-10 w-10 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <BookOpen size={20} color={accent} />
+ </View>
+ <View className="flex-1">
+ <AppText variant="bodySemibold" numberOfLines={1}>{p.name}</AppText>
+ <AppText variant="caption" color="muted" className="mt-0.5">{p.exercises?.length || 0} exercises</AppText>
+ </View>
+ <Play size={16} color={accent} />
+ </Pressable>
+ ))}
+ </View>
+ )}
+ </View>
+ </View>
+ </ScrollView>
+ </Screen>
+ )
+}
diff --git a/mobile/app/_layout.tsx b/mobile/app/_layout.tsx
new file mode 100644
index 0000000..c95cc91
--- /dev/null
+++ b/mobile/app/_layout.tsx
@@ -0,0 +1,84 @@
+import '../src/lib/polyfills'
+import '../global.css'
+import { useEffect } from 'react'
+import { Slot, useRouter, useSegments } from 'expo-router'
+import * as SplashScreen from 'expo-splash-screen'
+import { StatusBar } from 'expo-status-bar'
+import { colorScheme } from 'nativewind'
+import { SafeAreaProvider } from 'react-native-safe-area-context'
+import { useFonts, Outfit_700Bold, Outfit_800ExtraBold } from '@expo-google-fonts/outfit'
+import {
+ PlusJakartaSans_500Medium,
+ PlusJakartaSans_600SemiBold,
+ PlusJakartaSans_700Bold,
+ PlusJakartaSans_800ExtraBold,
+} from '@expo-google-fonts/plus-jakarta-sans'
+import { useAuthStore, useServerStore, useThemeStore, useWorkoutSession } from '../src/lib/lyftr'
+import { useTheme } from '../src/theme/useTheme'
+import { Loading } from '../src/components/ui'
+import { WorkoutSessionLayer } from '../src/components/workouts/WorkoutSessionLayer'
+
+// Hold the native splash (the static barbell icon) up until React has painted its
+// first frame, so cold start hands off splash → animated barbell loader with no
+// white/blank flash in between. Hidden on mount below.
+SplashScreen.preventAutoHideAsync().catch(() => {})
+
+// Root layout: hydrate persisted state once, then gate routes on auth. Unauthed users
+// are pushed into the (auth) group; authed users out of it.
+export default function RootLayout() {
+ const hydrateAuth = useAuthStore((s) => s.hydrate)
+ const hydrateServer = useServerStore((s) => s.hydrate)
+ const hydrateTheme = useThemeStore((s) => s.hydrate)
+ const hydrateWorkout = useWorkoutSession((s) => s.hydrate)
+ const isHydrated = useAuthStore((s) => s.isHydrated)
+ const themeHydrated = useThemeStore((s) => s.isHydrated)
+ const isAuthed = useAuthStore((s) => s.isAuthenticated)
+ const { mode, isDark } = useTheme()
+ const segments = useSegments()
+ const router = useRouter()
+ const [fontsLoaded] = useFonts({
+ Outfit_700Bold,
+ Outfit_800ExtraBold,
+ PlusJakartaSans_500Medium,
+ PlusJakartaSans_600SemiBold,
+ PlusJakartaSans_700Bold,
+ PlusJakartaSans_800ExtraBold,
+ })
+ const ready = isHydrated && themeHydrated && fontsLoaded
+
+ useEffect(() => {
+ hydrateAuth()
+ hydrateServer()
+ hydrateTheme()
+ hydrateWorkout()
+ }, [hydrateAuth, hydrateServer, hydrateTheme, hydrateWorkout])
+
+ // React has mounted → the barbell loader (or the app, if already ready) is on screen.
+ // Drop the native splash now so it flows straight into the animated loader.
+ useEffect(() => {
+ SplashScreen.hideAsync().catch(() => {})
+ }, [])
+
+ // Drive NativeWind's className theming from the same store the inline-styled
+ // screens read, so `dark:`/CSS-var tokens flip together with useTheme().
+ useEffect(() => {
+ colorScheme.set(mode)
+ }, [mode])
+
+ useEffect(() => {
+ if (!isHydrated) return
+ const inAuthGroup = segments[0] === '(auth)'
+ if (!isAuthed && !inAuthGroup) router.replace('/login')
+ else if (isAuthed && inAuthGroup) router.replace('/')
+ }, [isHydrated, isAuthed, segments, router])
+
+ return (
+ <SafeAreaProvider>
+ <StatusBar style={isDark ? 'light' : 'dark'} />
+ {ready ? <Slot /> : <Loading />}
+ {/* Always-mounted session UI (gym overlay + minimized pill), above the tabs so it
+ covers the tab bar — mirrors web's Layout. Self-hides when authed/no session. */}
+ {ready && isAuthed ? <WorkoutSessionLayer /> : null}
+ </SafeAreaProvider>
+ )
+}
diff --git a/mobile/assets/adaptive-icon.png b/mobile/assets/adaptive-icon.png
new file mode 100644
index 0000000..61a9755
Binary files /dev/null and b/mobile/assets/adaptive-icon.png differ
diff --git a/mobile/assets/favicon.png b/mobile/assets/favicon.png
new file mode 100644
index 0000000..d5fd37f
Binary files /dev/null and b/mobile/assets/favicon.png differ
diff --git a/mobile/assets/icon.png b/mobile/assets/icon.png
new file mode 100644
index 0000000..aea35b5
Binary files /dev/null and b/mobile/assets/icon.png differ
diff --git a/mobile/assets/splash-icon.png b/mobile/assets/splash-icon.png
new file mode 100644
index 0000000..61a9755
Binary files /dev/null and b/mobile/assets/splash-icon.png differ
diff --git a/mobile/babel.config.js b/mobile/babel.config.js
new file mode 100644
index 0000000..ab62bf7
--- /dev/null
+++ b/mobile/babel.config.js
@@ -0,0 +1,17 @@
+module.exports = function (api) {
+ api.cache(true)
+ return {
+ presets: [
+ ['babel-preset-expo', { jsxImportSource: 'nativewind' }],
+ 'nativewind/babel',
+ ],
+ plugins: [
+ // Rewrite `import.meta` so the web target can bundle deps' ESM builds that use it
+ // (e.g. zustand's dev warnings) — Metro can't handle bare import.meta. No-op on
+ // native (which resolves those packages' CJS builds).
+ 'babel-plugin-transform-import-meta',
+ // Reanimated 4 moved its Babel plugin into react-native-worklets. MUST be last.
+ 'react-native-worklets/plugin',
+ ],
+ }
+}
diff --git a/mobile/eas.json b/mobile/eas.json
new file mode 100644
index 0000000..cfccd1c
--- /dev/null
+++ b/mobile/eas.json
@@ -0,0 +1,28 @@
+{
+ "cli": {
+ "version": ">= 12.0.0",
+ "appVersionSource": "local"
+ },
+ "build": {
+ "development": {
+ "developmentClient": true,
+ "distribution": "internal",
+ "ios": { "simulator": false }
+ },
+ "preview": {
+ "distribution": "internal",
+ "channel": "preview",
+ "autoIncrement": true,
+ "android": {
+ "buildType": "apk"
+ }
+ },
+ "production": {
+ "channel": "production",
+ "autoIncrement": true
+ }
+ },
+ "submit": {
+ "production": {}
+ }
+}
diff --git a/mobile/eslint.config.js b/mobile/eslint.config.js
new file mode 100644
index 0000000..d22b2bc
--- /dev/null
+++ b/mobile/eslint.config.js
@@ -0,0 +1,28 @@
+// Flat-config ESLint (v9) for the Expo app, extending Expo's shared config
+// (eslint-config-expo, SDK-54-matched v57). The `lint` script blocks on errors.
+const expoConfig = require('eslint-config-expo/flat')
+
+module.exports = [
+ ...expoConfig,
+ {
+ rules: {
+ // eslint-config-expo 57 enables the new React-Compiler-oriented react-hooks v6
+ // rules by default. They're valuable once we adopt the React Compiler, but fire
+ // heavily on existing (pre-compiler) code and would block CI on style, not bugs.
+ // Off for now — revisit as a deliberate pass when/if we turn the compiler on.
+ 'react-hooks/refs': 'off',
+ 'react-hooks/set-state-in-effect': 'off',
+ 'react-hooks/immutability': 'off',
+ 'react-hooks/static-components': 'off',
+ 'react-hooks/purity': 'off',
+ 'react-hooks/preserve-manual-memoization': 'off',
+ // Noise in RN JSX — apostrophes in copy render fine; web doesn't gate on it either.
+ 'react/no-unescaped-entities': 'off',
+ // Advisory (surfaced, non-blocking) for the first pass; tighten after a cleanup.
+ 'react-hooks/exhaustive-deps': 'warn',
+ },
+ },
+ {
+ ignores: ['dist/*', '.expo/*', 'node_modules/*', 'expo-env.d.ts'],
+ },
+]
diff --git a/mobile/global.css b/mobile/global.css
new file mode 100644
index 0000000..8263620
--- /dev/null
+++ b/mobile/global.css
@@ -0,0 +1,36 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+/* Theme tokens — mirrors web/src/index.css exactly: light = :root defaults,
+ dark = .dark:root overrides (NativeWind's class-strategy selector). The
+ colorScheme is driven from useThemeStore in app/_layout.tsx, so these flip
+ the same way the web's `.dark` class does. RGB channels (space-separated)
+ so `<alpha-value>` opacity modifiers keep working. */
+@layer base {
+ :root {
+ --surface-base: 248 250 252;
+ --surface-raised: 255 255 255;
+ --surface-overlay: 241 245 249;
+ --surface-border: 226 232 240;
+ --surface-muted: 241 245 249;
+
+ --tx-primary: 15 23 42;
+ --tx-secondary: 71 85 105;
+ --tx-muted: 148 163 184;
+ --tx-inverse: 255 255 255;
+ }
+
+ .dark:root {
+ --surface-base: 7 13 26;
+ --surface-raised: 13 22 41;
+ --surface-overlay: 17 30 53;
+ --surface-border: 28 47 80;
+ --surface-muted: 22 34 64;
+
+ --tx-primary: 241 245 249;
+ --tx-secondary: 148 163 184;
+ --tx-muted: 71 85 105;
+ --tx-inverse: 15 23 42;
+ }
+}
diff --git a/mobile/jest.config.js b/mobile/jest.config.js
new file mode 100644
index 0000000..d70e24d
--- /dev/null
+++ b/mobile/jest.config.js
@@ -0,0 +1,25 @@
+// Jest config for the Expo / React Native app (unit + component tests).
+//
+// Runs under the `jest-expo` preset (RN test environment + Expo module mocks).
+// Notes:
+// • testMatch is scoped to src/ ONLY — route files under app/ import expo-router at
+// module load, which jest can't resolve standalone, so we never collect them.
+// • @testing-library/react-native v13 auto-registers its matchers on import, so no
+// setup file is needed (the old @testing-library/jest-native package is deprecated).
+// • Overriding transformIgnorePatterns REPLACES jest-expo's list, so we must re-list
+// RN/Expo plus every ESM dep this app imports (lucide-react-native, react-native-svg,
+// nativewind, reanimated/worklets, expo-router, …) or their untranspiled `import`
+// syntax breaks the transform. The nutritionMeta test doubles as a canary for this.
+module.exports = {
+ preset: 'jest-expo',
+ testMatch: ['<rootDir>/src/**/*.test.{ts,tsx}'],
+ // No trailing slash after the group: the prefixes must prefix-match so `react-native`
+ // covers react-native-svg/-reanimated/-worklets/-css-interop and `expo` covers
+ // expo-haptics/-router/-modules-core/etc. nativewind + lucide-react-native ship ESM and
+ // match no prefix, so they're listed explicitly.
+ transformIgnorePatterns: [
+ 'node_modules/(?!((jest-)?react-native|@react-native(-community)?' +
+ '|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*' +
+ '|nativewind|lucide-react-native))',
+ ],
+}
diff --git a/mobile/metro.config.js b/mobile/metro.config.js
new file mode 100644
index 0000000..bde35a4
--- /dev/null
+++ b/mobile/metro.config.js
@@ -0,0 +1,40 @@
+// Metro config for a monorepo: watch the workspace root so Metro transpiles the
+// @lyftr/shared TypeScript source, and resolve modules from both the app's and the
+// root's node_modules. Wrapped with NativeWind's metro transform.
+const { getDefaultConfig } = require('expo/metro-config')
+const { withNativeWind } = require('nativewind/metro')
+const path = require('path')
+
+const projectRoot = __dirname
+const workspaceRoot = path.resolve(projectRoot, '..')
+
+const config = getDefaultConfig(projectRoot)
+
+config.watchFolders = [workspaceRoot]
+config.resolver.nodeModulesPaths = [
+ path.resolve(projectRoot, 'node_modules'),
+ path.resolve(workspaceRoot, 'node_modules'),
+]
+// Keep hierarchical lookup ON (default) so packages resolve their own transitive deps
+// (e.g. react-native-reanimated -> semver/functions/satisfies). A SINGLE react instance
+// — required or RN 0.81's Fabric renderer crashes ("ReactSharedInternals.S") — is instead
+// guaranteed by the root package.json `overrides.react` pin + a hoisted single copy.
+config.resolver.disableHierarchicalLookup = false
+
+// WEB-ONLY: force zustand to its CJS build. On web, Metro's package-exports resolution
+// picks zustand's ESM (esm/*.mjs), which uses bare `import.meta` — Metro can't bundle
+// that ("Cannot use 'import.meta' outside a module"). Native resolves the CJS build
+// already, so this override is scoped to platform === 'web'.
+const defaultResolveRequest = config.resolver.resolveRequest
+config.resolver.resolveRequest = (context, moduleName, platform) => {
+ if (platform === 'web' && (moduleName === 'zustand' || moduleName.startsWith('zustand/'))) {
+ const sub = moduleName === 'zustand' ? 'index' : moduleName.slice('zustand/'.length)
+ return {
+ type: 'sourceFile',
+ filePath: path.resolve(workspaceRoot, 'node_modules/zustand', `${sub}.js`),
+ }
+ }
+ return (defaultResolveRequest ?? context.resolveRequest)(context, moduleName, platform)
+}
+
+module.exports = withNativeWind(config, { input: './global.css' })
diff --git a/mobile/nativewind-env.d.ts b/mobile/nativewind-env.d.ts
new file mode 100644
index 0000000..a13e313
--- /dev/null
+++ b/mobile/nativewind-env.d.ts
@@ -0,0 +1 @@
+/// <reference types="nativewind/types" />
diff --git a/mobile/package.json b/mobile/package.json
new file mode 100644
index 0000000..b888d74
--- /dev/null
+++ b/mobile/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@lyftr/mobile",
+ "version": "0.1.0",
+ "private": true,
+ "main": "expo-router/entry",
+ "//": "Expo SDK 54. After a fresh clone run `npx expo install --fix` to align native module versions to the installed Expo SDK, then `npx expo start`.",
+ "scripts": {
+ "start": "expo start",
+ "android": "expo start --android",
+ "ios": "expo start --ios",
+ "web": "expo start --web",
+ "type-check": "tsc --noEmit",
+ "test": "jest",
+ "test:watch": "jest --watch",
+ "lint": "eslint ."
+ },
+ "dependencies": {
+ "@expo-google-fonts/outfit": "^0.4.3",
+ "@expo-google-fonts/plus-jakarta-sans": "^0.4.2",
+ "@expo/metro-runtime": "~6.1.2",
+ "@expo/ngrok": "^4.1.3",
+ "@lyftr/shared": "*",
+ "@react-native-async-storage/async-storage": "2.2.0",
+ "@react-native-community/datetimepicker": "8.4.4",
+ "axios": "^1.6.2",
+ "date-fns": "^3.0.0",
+ "eslint-config-expo": "~10.0.0",
+ "expo": "^54.0.0",
+ "expo-camera": "~17.0.10",
+ "expo-constants": "~18.0.13",
+ "expo-font": "~14.0.12",
+ "expo-haptics": "~15.0.8",
+ "expo-keep-awake": "~15.0.8",
+ "expo-linear-gradient": "~15.0.8",
+ "expo-linking": "~8.0.12",
+ "expo-router": "~6.0.24",
+ "expo-secure-store": "~15.0.8",
+ "expo-splash-screen": "~31.0.13",
+ "expo-status-bar": "~3.0.9",
+ "jest-expo": "~54.0.17",
+ "lucide-react-native": "^0.460.0",
+ "nativewind": "^4.1.23",
+ "react": "19.1.0",
+ "react-dom": "19.1.0",
+ "react-native": "0.81.5",
+ "react-native-body-highlighter": "^3.2.0",
+ "react-native-gesture-handler": "~2.28.0",
+ "react-native-reanimated": "~4.1.1",
+ "react-native-safe-area-context": "~5.6.0",
+ "react-native-screens": "~4.16.0",
+ "react-native-svg": "15.12.1",
+ "react-native-url-polyfill": "^2.0.0",
+ "react-native-web": "^0.21.0",
+ "react-native-worklets": "0.5.1",
+ "zustand": "^4.4.6"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.25.0",
+ "@testing-library/react-native": "^13.3.3",
+ "@types/react": "~19.1.10",
+ "@types/react-test-renderer": "~19.1.0",
+ "babel-plugin-transform-import-meta": "^3.0.0",
+ "eslint": "^9.39.4",
+ "eslint-config-expo": "^57.0.0",
+ "jest": "^29.7.0",
+ "react-test-renderer": "19.1.0",
+ "tailwindcss": "^3.4.1",
+ "typescript": "^5.2.2"
+ }
+}
diff --git a/mobile/src/components/AuthScaffold.tsx b/mobile/src/components/AuthScaffold.tsx
new file mode 100644
index 0000000..9d5cba0
--- /dev/null
+++ b/mobile/src/components/AuthScaffold.tsx
@@ -0,0 +1,189 @@
+import { ReactNode, useRef, useState } from 'react'
+import { View, Text, Platform, Animated } from 'react-native'
+import { LinearGradient } from 'expo-linear-gradient'
+import { StatusBar } from 'expo-status-bar'
+import { SafeAreaView } from 'react-native-safe-area-context'
+import { BarbellMark } from './Logo'
+import { useTheme } from '../theme/useTheme'
+
+// Bold-branded auth layout in our dark palette: a cyan→violet gradient hero (brand
+// gradient) with the barbell mark + wordmark + tagline, and a dark sheet that
+// overlaps it with a rounded top. Form content is passed as children.
+export function AuthScaffold({
+ heading,
+ subtitle,
+ children,
+}: {
+ heading: string
+ subtitle: string
+ children: ReactNode
+}) {
+ const { colors } = useTheme()
+
+ // Stretchy pull-down header (classic iOS): track the scroll offset and, on
+ // overscroll (negative scrollY, iOS bounce), stretch the hero's gradient BACKGROUND
+ // while the hero text rides down with the content. The background is (1) pinned to
+ // the viewport top by translating it against the scroll and (2) scaled from its top
+ // edge (transformOrigin 'top', RN 0.81+) by 1 + pull/heroH, so its bottom edge
+ // tracks the sheet exactly — no base-color gap ever peeks above the gradient or
+ // between gradient and sheet, and the notch/safe area stays covered. Both
+ // interpolations clamp at 0 so normal (positive) scrolling is untouched.
+ const scrollY = useRef(new Animated.Value(0)).current
+ const [heroH, setHeroH] = useState(320) // measured; fallback ≈ real hero height
+ const bgTranslate = scrollY.interpolate({
+ inputRange: [-1, 0],
+ outputRange: [-1, 0], // identity for pulls (extrapolates left), 0 once scrolled
+ extrapolateRight: 'clamp',
+ })
+ const bgScale = scrollY.interpolate({
+ inputRange: [-heroH, 0],
+ outputRange: [2, 1],
+ extrapolateRight: 'clamp',
+ })
+ // Stable scroll handler — recreating Animated.event each render re-attaches the
+ // native scroll listener, which can interrupt an input's focus as the keyboard opens.
+ const onScroll = useRef(
+ Animated.event([{ nativeEvent: { contentOffset: { y: scrollY } } }], {
+ useNativeDriver: Platform.OS !== 'web', // RN-web has no native driver
+ }),
+ ).current
+
+ return (
+ // Plain container — no KeyboardAvoidingView. Its 'padding' behavior fights the
+ // ScrollView's own keyboard auto-scroll on iOS and can bounce the tapped input out
+ // from under the touch (keyboard flashes up, then dismisses). Instead we let the
+ // ScrollView inset itself for the keyboard natively via automaticallyAdjustKeyboardInsets.
+ <View style={{ flex: 1, backgroundColor: colors.base }}>
+ {/* Hero is always the brand gradient (dark), so the status bar stays light. */}
+ <StatusBar style="light" />
+ <Animated.ScrollView
+ contentContainerStyle={{ flexGrow: 1 }}
+ keyboardShouldPersistTaps="handled"
+ automaticallyAdjustKeyboardInsets
+ showsVerticalScrollIndicator={false}
+ onScroll={onScroll}
+ scrollEventThrottle={16}
+ >
+ {/* HERO — gradient bg is absolute so it can stretch independently of the text */}
+ <View
+ onLayout={(e) => {
+ // Guard: only update on a real height change so the keyboard-open layout
+ // pass doesn't trigger a needless re-render (another focus-stealer).
+ const h = Math.max(1, Math.round(e.nativeEvent.layout.height))
+ setHeroH((prev) => (Math.abs(prev - h) > 1 ? h : prev))
+ }}
+ style={{ paddingBottom: 46 }}
+ >
+ <Animated.View
+ pointerEvents="none"
+ style={{
+ position: 'absolute',
+ top: 0,
+ left: 0,
+ right: 0,
+ bottom: 0,
+ transformOrigin: 'top',
+ transform: [{ translateY: bgTranslate }, { scale: bgScale }],
+ }}
+ >
+ <LinearGradient
+ colors={['#00b8d9', '#8b5cf6']}
+ start={{ x: 0, y: 0 }}
+ end={{ x: 1, y: 1 }}
+ style={{ flex: 1 }}
+ >
+ {/* Watermark lives in the stretchy layer → subtle parallax drift on pull. */}
+ <View
+ pointerEvents="none"
+ style={{ position: 'absolute', right: -60, top: 118, opacity: 0.15, transform: [{ rotate: '-8deg' }] }}
+ >
+ <BarbellMark size={260} bar="#ffffff" plate="#ffffff" plateEdge="#ffffff" highlight={false} />
+ </View>
+ </LinearGradient>
+ </Animated.View>
+
+ <SafeAreaView edges={['top']}>
+ <View style={{ paddingHorizontal: 28, paddingTop: 14 }}>
+ {/* Brand */}
+ <View style={{ flexDirection: 'row', alignItems: 'center', gap: 11 }}>
+ <View
+ style={{
+ width: 54,
+ height: 54,
+ borderRadius: 17,
+ alignItems: 'center',
+ justifyContent: 'center',
+ backgroundColor: 'rgba(255,255,255,0.16)',
+ borderWidth: 1,
+ borderColor: 'rgba(255,255,255,0.30)',
+ }}
+ >
+ <BarbellMark size={34} bar="#ffffff" />
+ </View>
+ <View>
+ <Text style={{ fontFamily: 'Outfit_800ExtraBold', fontSize: 30, letterSpacing: -0.6, color: '#fff' }}>
+ lyftr
+ </Text>
+ <Text
+ style={{
+ fontFamily: 'PlusJakartaSans_800ExtraBold',
+ fontSize: 10.5,
+ letterSpacing: 3.2,
+ color: 'rgba(255,255,255,0.82)',
+ marginTop: 6,
+ }}
+ >
+ TRAIN · TRACK · PROGRESS
+ </Text>
+ </View>
+ </View>
+
+ <Text
+ style={{
+ fontFamily: 'Outfit_800ExtraBold',
+ fontSize: 37,
+ letterSpacing: -0.8,
+ color: '#fff',
+ marginTop: 34,
+ lineHeight: 39,
+ }}
+ >
+ {heading}
+ </Text>
+ <Text
+ style={{
+ fontFamily: 'PlusJakartaSans_600SemiBold',
+ fontSize: 15,
+ color: 'rgba(255,255,255,0.85)',
+ marginTop: 8,
+ }}
+ >
+ {subtitle}
+ </Text>
+ </View>
+ </SafeAreaView>
+ </View>
+
+ {/* SHEET */}
+ <View
+ style={{
+ flex: 1,
+ marginTop: -26,
+ backgroundColor: colors.base,
+ borderTopLeftRadius: 30,
+ borderTopRightRadius: 30,
+ borderTopWidth: 1,
+ borderColor: colors.border,
+ paddingHorizontal: 28,
+ paddingTop: 12,
+ }}
+ >
+ <View
+ style={{ width: 44, height: 5, borderRadius: 3, backgroundColor: colors.border, alignSelf: 'center', marginBottom: 6 }}
+ />
+ {children}
+ </View>
+ </Animated.ScrollView>
+ </View>
+ )
+}
diff --git a/mobile/src/components/Logo.tsx b/mobile/src/components/Logo.tsx
new file mode 100644
index 0000000..1bf458f
--- /dev/null
+++ b/mobile/src/components/Logo.tsx
@@ -0,0 +1,34 @@
+import Svg, { Path, Rect } from 'react-native-svg'
+
+// The web app's "bent barbell" mark (bar bowing under load, plates each end).
+// Ported from web/public/favicon + BarbellSVG. Colors are parameterized so it reads
+// on gradient (all white), on a glass chip (cyan plates), or as a watermark.
+export function BarbellMark({
+ size = 34,
+ bar = '#ffffff',
+ plate = '#00b8d9',
+ plateEdge = '#0891b2',
+ highlight = true,
+}: {
+ size?: number
+ bar?: string
+ plate?: string
+ plateEdge?: string
+ highlight?: boolean
+}) {
+ return (
+ <Svg width={size} height={size} viewBox="0 0 40 40">
+ <Path d="M4 16 Q20 25 36 16" fill="none" stroke={bar} strokeWidth={2.6} strokeLinecap="round" />
+ <Rect x={3} y={10} width={3} height={18} rx={0.8} fill={plateEdge} />
+ <Rect x={6} y={8} width={4} height={22} rx={1} fill={plate} />
+ <Rect x={34} y={10} width={3} height={18} rx={0.8} fill={plateEdge} />
+ <Rect x={30} y={8} width={4} height={22} rx={1} fill={plate} />
+ {highlight ? (
+ <>
+ <Rect x={7.2} y={10.5} width={1.2} height={17} rx={0.5} fill="#7eeeff" opacity={0.55} />
+ <Rect x={31.6} y={10.5} width={1.2} height={17} rx={0.5} fill="#7eeeff" opacity={0.55} />
+ </>
+ ) : null}
+ </Svg>
+ )
+}
diff --git a/mobile/src/components/authui.tsx b/mobile/src/components/authui.tsx
new file mode 100644
index 0000000..134b51d
--- /dev/null
+++ b/mobile/src/components/authui.tsx
@@ -0,0 +1,327 @@
+import { ReactNode, useEffect, useRef, useState } from 'react'
+import {
+ View,
+ Text,
+ TextInput,
+ TextInputProps,
+ Pressable,
+ ActivityIndicator,
+ Animated,
+ Platform,
+} from 'react-native'
+import { LinearGradient } from 'expo-linear-gradient'
+import Reanimated, { useSharedValue, useAnimatedStyle, withTiming, interpolateColor } from 'react-native-reanimated'
+import { AlertCircle, Mail, Lock, Eye, EyeOff, Server, ChevronDown, LogIn, Play } from 'lucide-react-native'
+import { useServerStore } from '../lib/lyftr'
+import { useTheme } from '../theme/useTheme'
+import { testServerConnection, normalizeServerUrl } from '@lyftr/shared'
+
+const FONT = {
+ label: 'PlusJakartaSans_800ExtraBold',
+ body: 'PlusJakartaSans_600SemiBold',
+ btn: 'PlusJakartaSans_800ExtraBold',
+}
+const LABEL_COLOR = '#94a3b8' // legible on both light + dark surfaces
+
+// Dark/light labelled input with a leading icon (+ optional password eye).
+export function IconInput({
+ label,
+ icon,
+ password,
+ ...rest
+}: TextInputProps & { label: string; icon: 'mail' | 'lock'; password?: boolean }) {
+ const { colors, brand } = useTheme()
+ const [hide, setHide] = useState(!!password)
+ // Focus styling via Reanimated (UI thread) instead of React state. On the New
+ // Architecture (Fabric), a React re-render fired from a TextInput's own onFocus
+ // immediately blurs the input — the keyboard flashes up then dismisses. Driving the
+ // border/glow off a shared value means focusing causes NO re-render, so it sticks.
+ const focus = useSharedValue(0)
+ const boxStyle = useAnimatedStyle(() => ({
+ borderColor: interpolateColor(focus.value, [0, 1], [colors.border, brand.cyan]),
+ shadowOpacity: focus.value * 0.25,
+ }))
+ const Icon = icon === 'mail' ? Mail : Lock
+ return (
+ <View style={{ marginTop: 19 }}>
+ <Text style={{ fontFamily: FONT.label, fontSize: 11, letterSpacing: 1.4, color: LABEL_COLOR, marginBottom: 8 }}>
+ {label.toUpperCase()}
+ </Text>
+ <Reanimated.View
+ style={[
+ {
+ flexDirection: 'row',
+ alignItems: 'center',
+ gap: 11,
+ height: 55,
+ paddingHorizontal: 16,
+ borderRadius: 15,
+ backgroundColor: colors.overlay,
+ borderWidth: 1.5,
+ shadowColor: brand.cyan,
+ shadowOffset: { width: 0, height: 0 },
+ shadowRadius: 8,
+ },
+ boxStyle,
+ ]}
+ >
+ <Icon size={17} color={LABEL_COLOR} strokeWidth={2} />
+ <TextInput
+ style={{ flex: 1, fontFamily: FONT.body, fontSize: 15, color: colors.txPrimary }}
+ placeholderTextColor={colors.txMuted}
+ secureTextEntry={hide}
+ autoCapitalize="none"
+ autoCorrect={false}
+ onFocus={() => { focus.value = withTiming(1, { duration: 150 }) }}
+ onBlur={() => { focus.value = withTiming(0, { duration: 150 }) }}
+ {...rest}
+ />
+ {password ? (
+ <Pressable onPress={() => setHide((h) => !h)} hitSlop={10}>
+ {hide ? <Eye size={19} color={LABEL_COLOR} strokeWidth={2} /> : <EyeOff size={19} color={LABEL_COLOR} strokeWidth={2} />}
+ </Pressable>
+ ) : null}
+ </Reanimated.View>
+ </View>
+ )
+}
+
+// Boxed error alert — mirror of the web's `.alert-error` (soft error-tinted bg, error
+// border, AlertCircle icon). Text is errorSoft on dark but the stronger error red on
+// light, where errorSoft doesn't have enough contrast. Fades/slides in on appearance.
+export function AuthError({ message }: { message: string }) {
+ const { isDark, brand } = useTheme()
+ const anim = useRef(new Animated.Value(0)).current
+ useEffect(() => {
+ anim.setValue(0)
+ Animated.timing(anim, {
+ toValue: 1,
+ duration: 200,
+ useNativeDriver: Platform.OS !== 'web',
+ }).start()
+ }, [message, anim])
+ const tint = isDark ? brand.errorSoft : brand.error
+ return (
+ <Animated.View
+ style={{
+ marginTop: 16,
+ flexDirection: 'row',
+ alignItems: 'flex-start',
+ gap: 10,
+ padding: 14,
+ borderRadius: 12,
+ backgroundColor: 'rgba(239,68,68,0.1)',
+ borderWidth: 1,
+ borderColor: 'rgba(239,68,68,0.2)',
+ opacity: anim,
+ transform: [{ translateY: anim.interpolate({ inputRange: [0, 1], outputRange: [-4, 0] }) }],
+ }}
+ >
+ <AlertCircle size={16} color={tint} strokeWidth={2.2} style={{ marginTop: 1.5 }} />
+ <Text style={{ flex: 1, fontFamily: FONT.body, fontSize: 13, lineHeight: 19, color: tint }}>
+ {message}
+ </Text>
+ </Animated.View>
+ )
+}
+
+export function GradientButton({
+ title,
+ onPress,
+ loading,
+ disabled,
+}: {
+ title: string
+ onPress?: () => void
+ loading?: boolean
+ disabled?: boolean
+}) {
+ const { brand } = useTheme()
+ return (
+ <Pressable
+ onPress={onPress}
+ disabled={disabled || loading}
+ style={{
+ marginTop: 26,
+ borderRadius: 16,
+ shadowColor: brand.cyan,
+ shadowOffset: { width: 0, height: 10 },
+ shadowOpacity: 0.4,
+ shadowRadius: 20,
+ elevation: 8,
+ }}
+ >
+ <LinearGradient
+ colors={[brand.cyan, brand.violet]}
+ start={{ x: 0, y: 0 }}
+ end={{ x: 1, y: 1 }}
+ style={{
+ height: 57,
+ borderRadius: 16,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ gap: 9,
+ opacity: disabled ? 0.5 : 1,
+ }}
+ >
+ {loading ? (
+ <ActivityIndicator color="#fff" />
+ ) : (
+ <>
+ <Text style={{ fontFamily: FONT.btn, fontSize: 16.5, color: '#fff' }}>{title}</Text>
+ <LogIn size={18} color="#fff" strokeWidth={2.6} />
+ </>
+ )}
+ </LinearGradient>
+ </Pressable>
+ )
+}
+
+export function SecondaryButton({ title, hint, onPress }: { title: string; hint?: string; onPress?: () => void }) {
+ const { colors, brand } = useTheme()
+ return (
+ <Pressable
+ onPress={onPress}
+ style={{
+ height: 55,
+ borderRadius: 16,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ gap: 9,
+ backgroundColor: colors.raised,
+ borderWidth: 1.5,
+ borderColor: colors.border,
+ }}
+ >
+ <Play size={17} color={brand.cyan} strokeWidth={2.2} fill="rgba(0,184,217,0.18)" />
+ <Text style={{ fontFamily: FONT.btn, fontSize: 15, color: colors.txPrimary }}>{title}</Text>
+ {hint ? <Text style={{ fontFamily: FONT.body, fontSize: 12.5, color: colors.txMuted }}>{hint}</Text> : null}
+ </Pressable>
+ )
+}
+
+export function AuthDivider() {
+ const { colors } = useTheme()
+ return (
+ <View style={{ flexDirection: 'row', alignItems: 'center', gap: 14, marginVertical: 22 }}>
+ <View style={{ flex: 1, height: 1, backgroundColor: colors.border }} />
+ <Text style={{ fontFamily: FONT.label, fontSize: 11, letterSpacing: 1.8, color: colors.txMuted }}>OR</Text>
+ <View style={{ flex: 1, height: 1, backgroundColor: colors.border }} />
+ </View>
+ )
+}
+
+// Server settings row that expands to a URL field (self-hosted users).
+export function ServerRow() {
+ const { colors, brand, accent } = useTheme()
+ const serverUrl = useServerStore((s) => s.serverUrl)
+ const setServerUrl = useServerStore((s) => s.setServerUrl)
+ const [open, setOpen] = useState(false)
+ const [url, setUrl] = useState(serverUrl)
+ const [msg, setMsg] = useState<string | null>(null)
+ const [ok, setOk] = useState(false)
+ const [testing, setTesting] = useState(false)
+
+ const save = async () => {
+ setTesting(true)
+ setMsg(null)
+ const base = normalizeServerUrl(url)
+ if (url.trim() && !base) {
+ setOk(false)
+ setMsg('Include http:// or https://')
+ setTesting(false)
+ return
+ }
+ const result = await testServerConnection(base)
+ if (result.ok) {
+ await setServerUrl(url)
+ setOk(true)
+ setMsg(`Connected to ${result.info.name} v${result.info.version}`)
+ } else {
+ setOk(false)
+ setMsg(result.message)
+ }
+ setTesting(false)
+ }
+
+ return (
+ <View style={{ marginTop: 12 }}>
+ <Pressable
+ onPress={() => setOpen((o) => !o)}
+ style={{
+ flexDirection: 'row',
+ alignItems: 'center',
+ gap: 10,
+ backgroundColor: colors.raised,
+ borderWidth: 1,
+ borderColor: colors.border,
+ borderRadius: 13,
+ paddingVertical: 12,
+ paddingHorizontal: 15,
+ }}
+ >
+ <Server size={16} color={brand.violet} strokeWidth={2} />
+ <Text style={{ flex: 1, fontFamily: FONT.body, fontSize: 13, color: colors.txPrimary }}>Server settings</Text>
+ <Text style={{ fontFamily: FONT.body, fontSize: 12, color: colors.txSecondary }}>
+ {serverUrl ? serverUrl.replace(/^https?:\/\//, '') : 'default'}
+ </Text>
+ <ChevronDown size={14} color={colors.txMuted} strokeWidth={2.4} />
+ </Pressable>
+ {open ? (
+ <View style={{ marginTop: 8, gap: 8 }}>
+ <TextInput
+ value={url}
+ onChangeText={(t) => { setMsg(null); setUrl(t) }}
+ placeholder="http://your-server:3000"
+ placeholderTextColor={colors.txMuted}
+ autoCapitalize="none"
+ autoCorrect={false}
+ keyboardType="url"
+ style={{
+ height: 48,
+ borderRadius: 13,
+ paddingHorizontal: 15,
+ backgroundColor: colors.overlay,
+ borderWidth: 1.5,
+ borderColor: colors.border,
+ color: colors.txPrimary,
+ fontFamily: FONT.body,
+ fontSize: 14,
+ }}
+ />
+ {msg ? (
+ <Text style={{ fontFamily: FONT.body, fontSize: 12, color: ok ? brand.success : brand.error }}>{msg}</Text>
+ ) : null}
+ <Pressable
+ onPress={save}
+ style={{
+ height: 44,
+ borderRadius: 12,
+ alignItems: 'center',
+ justifyContent: 'center',
+ backgroundColor: colors.raised,
+ borderWidth: 1.5,
+ borderColor: colors.border,
+ }}
+ >
+ {testing ? (
+ <ActivityIndicator color={accent} />
+ ) : (
+ <Text style={{ fontFamily: FONT.btn, fontSize: 14, color: colors.txSecondary }}>Test & save</Text>
+ )}
+ </Pressable>
+ </View>
+ ) : null}
+ </View>
+ )
+}
+
+export function Footer({ children }: { children: ReactNode }) {
+ return (
+ <View style={{ marginTop: 28, paddingBottom: 16, alignItems: 'center' }}>
+ {children}
+ </View>
+ )
+}
diff --git a/mobile/src/components/dashboard/DashboardCharts.tsx b/mobile/src/components/dashboard/DashboardCharts.tsx
new file mode 100644
index 0000000..947f9bd
--- /dev/null
+++ b/mobile/src/components/dashboard/DashboardCharts.tsx
@@ -0,0 +1,257 @@
+import { useState } from 'react'
+import { View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import Svg, { Circle, Line, Path, Rect, Text as SvgText } from 'react-native-svg'
+import { AppText } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+
+// react-native-svg reimplementations of the web Dashboard's recharts widgets (bar /
+// line / donut) plus the custom MuscleSparkline (already raw SVG on web). Web reads
+// values via hover tooltips; on mobile these expose the same data via tap-to-read
+// (the pattern shipped on ExerciseDetail + Weight), with a selection haptic per tap.
+// The generic charts keep web's indigo (#6366f1); the donut keeps web's per-muscle
+// palette (passed in via colorFor).
+
+const INDIGO = '#6366f1'
+
+// Monotone cubic (Fritsch–Carlson) — matches recharts type="monotone" (same curve the
+// weight sparkline draws on web).
+function monotonePath(pts: { x: number; y: number }[]): string {
+ const n = pts.length
+ if (n < 2) return ''
+ const dx: number[] = [], dy: number[] = [], m: number[] = []
+ for (let i = 0; i < n - 1; i++) {
+ dx[i] = pts[i + 1].x - pts[i].x
+ dy[i] = pts[i + 1].y - pts[i].y
+ m[i] = dy[i] / dx[i]
+ }
+ const tan: number[] = [m[0]]
+ for (let i = 1; i < n - 1; i++) {
+ if (m[i - 1] * m[i] <= 0) tan[i] = 0
+ else tan[i] = (m[i - 1] + m[i]) / 2
+ }
+ tan[n - 1] = m[n - 2]
+ let d = `M ${pts[0].x} ${pts[0].y}`
+ for (let i = 0; i < n - 1; i++) {
+ const c1x = pts[i].x + dx[i] / 3
+ const c1y = pts[i].y + (tan[i] * dx[i]) / 3
+ const c2x = pts[i + 1].x - dx[i] / 3
+ const c2y = pts[i + 1].y - (tan[i + 1] * dx[i]) / 3
+ d += ` C ${c1x} ${c1y}, ${c2x} ${c2y}, ${pts[i + 1].x} ${pts[i + 1].y}`
+ }
+ return d
+}
+
+const clamp = (v: number, lo: number, hi: number) => Math.min(Math.max(v, lo), hi)
+// Any NaN/Infinity reaching react-native-svg (path/rect/circle geometry) crashes the
+// native renderer — coerce every value fed to SVG through this first.
+const fin = (n: number) => (Number.isFinite(n) ? n : 0)
+const tap = (fn: () => void) => { Haptics.selectionAsync().catch(() => {}); fn() }
+
+// ── Volume bar chart ────────────────────────────────────────────────────────
+export interface VolumePoint { date: string; volume: number; name: string }
+
+export function VolumeBarChart({ data, width, unit, height = 130 }: {
+ data: VolumePoint[]; width: number; unit: string; height?: number
+}) {
+ const { colors } = useTheme()
+ const [sel, setSel] = useState<number | null>(null)
+ if (!data.length || width <= 0) return null
+
+ const axisH = 18
+ const padTop = 16
+ const plotH = height - axisH - padTop
+ const n = data.length
+ const slot = width / n
+ const barW = Math.min(18, slot * 0.55)
+ const vols = data.map((d) => fin(d.volume)) // sanitize: one NaN would poison maxVol
+ const maxVol = Math.max(...vols, 1)
+ const xCenter = (i: number) => slot * i + slot / 2
+
+ // Thin x-labels so they never overlap (recharts auto-skips too).
+ const maxLabels = Math.max(2, Math.floor(width / 40))
+ const every = Math.ceil(n / maxLabels)
+
+ const selPt = sel != null ? data[sel] : null
+
+ return (
+ <View>
+ <Svg width={width} height={height}>
+ {data.map((d, i) => {
+ const h = Math.max((vols[i] / maxVol) * plotH, 1)
+ const x = xCenter(i) - barW / 2
+ const y = padTop + (plotH - h)
+ const isLast = i === n - 1
+ return (
+ <Rect key={i} x={x} y={y} width={barW} height={h} rx={4}
+ fill={INDIGO} fillOpacity={sel === i ? 1 : isLast ? 1 : 0.25} />
+ )
+ })}
+ {/* full-height transparent hit targets */}
+ {data.map((_, i) => (
+ <Rect key={`hit-${i}`} x={slot * i} y={0} width={slot} height={padTop + plotH}
+ fill="transparent" onPress={() => tap(() => setSel((c) => (c === i ? null : i)))} />
+ ))}
+ {data.map((d, i) =>
+ i % every === 0 || i === n - 1 ? (
+ <SvgText key={`lbl-${i}`} x={xCenter(i)} y={height - 4} fontSize={10} fill={colors.txMuted}
+ textAnchor={i === n - 1 ? 'end' : i === 0 ? 'start' : 'middle'}>
+ {d.date}
+ </SvgText>
+ ) : null
+ )}
+ </Svg>
+ {selPt ? (
+ <View pointerEvents="none"
+ className="absolute rounded-lg border border-surface-border bg-surface-raised px-2 py-1"
+ style={{ left: clamp(xCenter(sel!) - 55, 0, Math.max(0, width - 110)), top: 0, maxWidth: 130 }}>
+ <AppText variant="caption" style={{ fontVariant: ['tabular-nums'] }}>
+ {selPt.volume.toLocaleString()} {unit}
+ </AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1}>{selPt.name}</AppText>
+ </View>
+ ) : null}
+ </View>
+ )
+}
+
+// ── Weight sparkline ────────────────────────────────────────────────────────
+export interface SparkPoint { date: string; weight: number }
+
+export function WeightSparkline({ data, width, unit, height = 48 }: {
+ data: SparkPoint[]; width: number; unit: string; height?: number
+}) {
+ const { colors } = useTheme()
+ const [sel, setSel] = useState<number | null>(null)
+ if (data.length < 2 || width <= 0) return null
+
+ const pad = 4
+ const ws = data.map((d) => fin(d.weight))
+ const min = Math.min(...ws), max = Math.max(...ws), range = max - min || 1
+ const stepX = (width - pad * 2) / (data.length - 1)
+ const xAt = (i: number) => pad + i * stepX
+ const yAt = (v: number) => pad + (1 - (v - min) / range) * (height - pad * 2)
+ const pts = data.map((d, i) => ({ x: xAt(i), y: yAt(d.weight) }))
+ const sp = sel != null ? pts[sel] : null
+
+ return (
+ <View>
+ <Svg width={width} height={height}>
+ {sp ? <Line x1={sp.x} y1={0} x2={sp.x} y2={height} stroke={colors.txMuted} strokeWidth={1} opacity={0.4} /> : null}
+ <Path d={monotonePath(pts)} fill="none" stroke={INDIGO} strokeWidth={2} strokeLinejoin="round" strokeLinecap="round" />
+ {sp ? <Circle cx={sp.x} cy={sp.y} r={3} fill={INDIGO} /> : null}
+ {pts.map((p, i) => (
+ <Circle key={`hit-${i}`} cx={p.x} cy={p.y} r={Math.max(10, stepX / 2)} fill="transparent"
+ onPress={() => tap(() => setSel((c) => (c === i ? null : i)))} />
+ ))}
+ </Svg>
+ {sp && sel != null ? (
+ <View pointerEvents="none"
+ className="absolute rounded-lg border border-surface-border bg-surface-raised px-2 py-1"
+ style={{ left: clamp(sp.x - 45, 0, Math.max(0, width - 90)), top: -6 }}>
+ <AppText variant="caption" style={{ fontVariant: ['tabular-nums'] }}>
+ {data[sel].weight} {unit} · {data[sel].date}
+ </AppText>
+ </View>
+ ) : null}
+ </View>
+ )
+}
+
+// ── Muscle-balance donut ────────────────────────────────────────────────────
+export interface DonutSlice { name: string; value: number }
+
+const polar = (cx: number, cy: number, r: number, deg: number) => {
+ const a = ((deg - 90) * Math.PI) / 180
+ return { x: cx + r * Math.cos(a), y: cy + r * Math.sin(a) }
+}
+const donutSeg = (cx: number, cy: number, ro: number, ri: number, d0: number, d1: number) => {
+ const large = d1 - d0 <= 180 ? 0 : 1
+ const o0 = polar(cx, cy, ro, d0), o1 = polar(cx, cy, ro, d1)
+ const i1 = polar(cx, cy, ri, d1), i0 = polar(cx, cy, ri, d0)
+ return `M ${o0.x} ${o0.y} A ${ro} ${ro} 0 ${large} 1 ${o1.x} ${o1.y} L ${i1.x} ${i1.y} A ${ri} ${ri} 0 ${large} 0 ${i0.x} ${i0.y} Z`
+}
+
+export function MuscleDonut({ data, total, colorFor, size = 160 }: {
+ data: DonutSlice[]; total: number; colorFor: (name: string) => string; size?: number
+}) {
+ const { colors } = useTheme()
+ const [sel, setSel] = useState<number | null>(null)
+ if (!data.length || total <= 0) return null
+
+ const cx = size / 2, cy = size / 2
+ const rOuter = size / 2 - 4
+ const rInner = rOuter * 0.62
+ const GAP = 2 // deg between slices
+
+ let cum = 0
+ const slices = data.map((d) => {
+ const sweep = (d.value / total) * 360
+ const s0 = cum
+ cum += sweep
+ return { d, s0, s1: cum, sweep }
+ })
+
+ const selSlice = sel != null ? slices[sel] : null
+
+ return (
+ <View style={{ width: size, height: size }}>
+ <Svg width={size} height={size}>
+ {slices.map((s, i) => {
+ if (s.sweep < 0.1) return null // skip empty slices (degenerate zero-length arc)
+ // Leave the padding gap only when the slice is wide enough for it.
+ const a0 = s.sweep > GAP ? s.s0 + GAP / 2 : s.s0
+ let a1 = s.sweep > GAP ? s.s1 - GAP / 2 : s.s1
+ // A single 360° slice makes start==end — a degenerate arc that crashes
+ // react-native-svg. Clamp just shy of full so it draws an almost-complete ring.
+ if (a1 - a0 >= 359.999) a1 = a0 + 359.9
+ return (
+ <Path key={i} d={donutSeg(cx, cy, rOuter, rInner, a0, a1)}
+ fill={colorFor(s.d.name)} fillOpacity={sel == null || sel === i ? 0.85 : 0.3}
+ onPress={() => tap(() => setSel((c) => (c === i ? null : i)))} />
+ )
+ })}
+ </Svg>
+ {/* Tap-to-read: the selected slice's stats fill the donut hole (web showed a hover
+ tooltip; the legend already lists every value, so the hole is the natural read-out). */}
+ {selSlice ? (
+ <View pointerEvents="none" style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, alignItems: 'center', justifyContent: 'center' }}>
+ <AppText variant="caption" color="muted" className="capitalize" numberOfLines={1}>{selSlice.d.name}</AppText>
+ <AppText variant="bodySemibold" style={{ fontVariant: ['tabular-nums'] }}>{selSlice.d.value}</AppText>
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>
+ {Math.round((selSlice.d.value / total) * 100)}%
+ </AppText>
+ </View>
+ ) : (
+ <View pointerEvents="none" style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, alignItems: 'center', justifyContent: 'center' }}>
+ <AppText variant="bodySemibold" style={{ fontVariant: ['tabular-nums'], color: colors.txMuted }}>{total}</AppText>
+ <AppText variant="caption" color="muted">sets</AppText>
+ </View>
+ )}
+ </View>
+ )
+}
+
+// ── Muscle mini-sparkline (legend rows) ─────────────────────────────────────
+// Direct port of web MuscleSparkline: 56×24 line, filled area + thicker stroke when
+// it's the top muscle, end dot. No interaction (web had none).
+export function MuscleSparkline({ values, color, isTop }: { values: number[]; color: string; isTop: boolean }) {
+ if (values.length < 2) return <View style={{ width: 56, height: 24 }} />
+ const max = Math.max(...values), min = Math.min(...values), range = max - min || 1
+ const W = 56, H = 24
+ const pts = values.map((v, i): [number, number] => [
+ (i / (values.length - 1)) * W,
+ H - 4 - ((v - min) / range) * (H - 8),
+ ])
+ const d = pts.map((p, i) => `${i === 0 ? 'M' : 'L'}${p[0].toFixed(1)},${p[1].toFixed(1)}`).join(' ')
+ const area = `${d} L${W},${H} L0,${H} Z`
+ const last = pts[pts.length - 1]
+ return (
+ <Svg width={W} height={H}>
+ {isTop ? <Path d={area} fill={color} fillOpacity={0.12} /> : null}
+ <Path d={d} fill="none" stroke={color} strokeWidth={isTop ? 2 : 1.5}
+ strokeLinecap="round" strokeLinejoin="round" strokeOpacity={isTop ? 1 : 0.6} />
+ <Circle cx={last[0]} cy={last[1]} r={isTop ? 2.5 : 1.5} fill={color} fillOpacity={isTop ? 1 : 0.7} />
+ </Svg>
+ )
+}
diff --git a/mobile/src/components/dashboard/DashboardSkeleton.tsx b/mobile/src/components/dashboard/DashboardSkeleton.tsx
new file mode 100644
index 0000000..b3af083
--- /dev/null
+++ b/mobile/src/components/dashboard/DashboardSkeleton.tsx
@@ -0,0 +1,116 @@
+import { ScrollView, View } from 'react-native'
+import { Card, Screen, Skeleton } from '../ui'
+
+// A card section-header placeholder: brand-dot + title line, optional right control.
+function CardHeaderSkel({ right }: { right?: boolean }) {
+ return (
+ <View className="mb-3 flex-row items-center justify-between">
+ <View className="flex-row items-center gap-2">
+ <Skeleton width={16} height={16} radius={5} />
+ <Skeleton width={110} height={15} />
+ </View>
+ {right ? <Skeleton width={90} height={22} radius={10} /> : null}
+ </View>
+ )
+}
+
+// Initial-load skeleton for the Home/Dashboard — content-shaped placeholders laid out
+// like the real screen (greeting + Start · KPI strip · volume trend · consistency ·
+// last workout · nutrition · muscle balance · weight) so each section fills into its
+// own shape instead of popping after a blank spinner. Mirrors WorkoutsSkeleton etc.
+export function DashboardSkeleton() {
+ return (
+ <Screen>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ <View className="gap-4 py-4">
+ {/* Header: date + greeting, Start button */}
+ <View className="flex-row items-start justify-between gap-3">
+ <View className="flex-1 gap-2">
+ <Skeleton width={150} height={11} />
+ <Skeleton width={210} height={26} radius={8} />
+ </View>
+ <Skeleton width={92} height={36} radius={8} />
+ </View>
+
+ {/* This Week: big count + day dots */}
+ <Card>
+ <View className="flex-row items-start justify-between">
+ <View className="gap-2">
+ <Skeleton width={80} height={11} />
+ <Skeleton width={56} height={34} radius={8} />
+ </View>
+ <Skeleton width={36} height={36} radius={12} />
+ </View>
+ <View className="mt-4 flex-row items-center justify-between">
+ {Array.from({ length: 7 }).map((_, i) => (
+ <View key={i} className="items-center gap-1.5">
+ <Skeleton width={10} height={9} radius={4} />
+ <Skeleton width={14} height={14} radius={999} />
+ </View>
+ ))}
+ </View>
+ </Card>
+
+ {/* Volume Trend */}
+ <Card>
+ <CardHeaderSkel right />
+ <Skeleton height={130} radius={12} />
+ </Card>
+
+ {/* Consistency heatmap */}
+ <Card>
+ <CardHeaderSkel right />
+ <Skeleton height={92} radius={12} />
+ </Card>
+
+ {/* Last workout: title + exercise rows */}
+ <Card className="gap-3">
+ <Skeleton width={180} height={15} />
+ {Array.from({ length: 3 }).map((_, i) => (
+ <View key={i} className="flex-row items-center gap-2.5">
+ <Skeleton width={44} height={44} radius={12} />
+ <View className="flex-1 gap-2">
+ <Skeleton width="60%" height={13} />
+ <Skeleton width={70} height={16} radius={5} />
+ </View>
+ <Skeleton width={56} height={12} />
+ </View>
+ ))}
+ </Card>
+
+ {/* Muscle Balance: donut + legend rows */}
+ <Card>
+ <CardHeaderSkel right />
+ <View className="items-center gap-4">
+ <Skeleton width={168} height={168} radius={999} />
+ <View className="w-full gap-3">
+ {Array.from({ length: 4 }).map((_, i) => (
+ <Skeleton key={i} height={14} radius={7} />
+ ))}
+ </View>
+ </View>
+ </Card>
+
+ {/* Today's Nutrition: big number + macro bars */}
+ <Card className="gap-3">
+ <Skeleton width={140} height={15} />
+ <Skeleton width={120} height={34} radius={8} />
+ {Array.from({ length: 3 }).map((_, i) => (
+ <Skeleton key={i} height={14} radius={7} />
+ ))}
+ </Card>
+
+ {/* Weight card: number + sparkline */}
+ <Card className="gap-3">
+ <CardHeaderSkel right />
+ <View className="flex-row items-center justify-between">
+ <Skeleton width={90} height={26} radius={8} />
+ <Skeleton width={32} height={32} radius={10} />
+ </View>
+ <Skeleton height={48} radius={10} />
+ </Card>
+ </View>
+ </ScrollView>
+ </Screen>
+ )
+}
diff --git a/mobile/src/components/dashboard/QuickWeighInSheet.tsx b/mobile/src/components/dashboard/QuickWeighInSheet.tsx
new file mode 100644
index 0000000..61a28cb
--- /dev/null
+++ b/mobile/src/components/dashboard/QuickWeighInSheet.tsx
@@ -0,0 +1,178 @@
+import { useEffect, useState } from 'react'
+import { Pressable, Text, View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import { AlertCircle, Scale, X } from 'lucide-react-native'
+import {
+ apiErrorMessage, dayToIsoNoon, displayToLbs, isoToDayInput, maxWeight, todayStr,
+ weightError, weightShort, type WeightLog,
+} from '@lyftr/shared'
+import {
+ AppText, Button, DateInput, Field, NumberField, NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID,
+ Sheet, StepperTile,
+} from '../ui'
+import { client, useSettingsStore } from '../../lib/lyftr'
+import { clampStep } from '../../utils/number'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ open: boolean
+ /** Latest weight in the display unit, prefilled into the field (null = empty). */
+ lastValue: number | null
+ /** Latest log — powers the "already logged today" guard. */
+ lastLog?: WeightLog | null
+ onClose: () => void
+ onSuccess: (log: WeightLog) => void
+}
+
+// Mobile port of web QuickWeighInSheet: a bottom-sheet weight logger reused by the
+// Dashboard. Same logic as the Weight page's log form (prefill, same-day duplicate
+// guard, collapsible date/note, validation) but self-contained in a Sheet.
+export function QuickWeighInSheet({ open, lastValue, lastLog, onClose, onSuccess }: Props) {
+ const settings = useSettingsStore((s) => s.settings)
+ const unit = settings.weight_unit
+ const wUnit = weightShort(unit)
+ const { colors, accent, brand } = useTheme()
+
+ const [value, setValue] = useState('')
+ const [date, setDate] = useState(todayStr())
+ const [notes, setNotes] = useState('')
+ const [showExtras, setShowExtras] = useState(false)
+ const [saving, setSaving] = useState(false)
+ const [error, setError] = useState('')
+ const [showDuplicateWarning, setShowDuplicateWarning] = useState(false)
+ const [dupDismissed, setDupDismissed] = useState(false)
+
+ // Reset every time the sheet opens (mirrors web's isOpen effect).
+ useEffect(() => {
+ if (!open) return
+ setValue(lastValue && lastValue > 0 ? String(lastValue) : '')
+ setDate(todayStr())
+ setNotes('')
+ setShowExtras(false)
+ setError('')
+ setSaving(false)
+ setShowDuplicateWarning(false)
+ setDupDismissed(false)
+ }, [open, lastValue])
+
+ const submit = async (forceDismissed = false) => {
+ if (saving) return
+ const w = parseFloat(value)
+ const wErr = weightError(w, unit)
+ if (wErr) {
+ setError(wErr)
+ return
+ }
+ if (!(forceDismissed || dupDismissed) && lastLog && isoToDayInput(lastLog.logged_at) === date) {
+ setShowDuplicateWarning(true)
+ return
+ }
+ setSaving(true)
+ setError('')
+ setShowDuplicateWarning(false)
+ try {
+ const log = await client.weightAPI.log({
+ weight: displayToLbs(w, unit),
+ notes: notes.trim(),
+ logged_at: dayToIsoNoon(date),
+ })
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ onSuccess(log)
+ onClose()
+ } catch (err) {
+ setError(apiErrorMessage(err, 'Failed to save'))
+ setSaving(false)
+ }
+ }
+
+ return (
+ <Sheet open={open} onClose={onClose} haptic="selection">
+ <View className="px-5 pb-2">
+ {/* Header */}
+ <View className="mb-4 flex-row items-center justify-between">
+ <View className="flex-row items-center gap-2">
+ <View className="h-8 w-8 items-center justify-center rounded-lg border border-brand-500/20 bg-brand-500/10">
+ <Scale size={16} color={accent} />
+ </View>
+ <AppText variant="heading">Log Weight</AppText>
+ </View>
+ <Pressable onPress={onClose} hitSlop={8} className="p-1.5 active:opacity-60" accessibilityLabel="Close">
+ <X size={20} color={colors.txMuted} />
+ </Pressable>
+ </View>
+
+ <View className="gap-4">
+ {error ? (
+ <View className="flex-row items-center gap-2 rounded-xl border border-error-500/20 bg-error-500/10 px-4 py-3">
+ <AlertCircle size={16} color={brand.errorSoft} />
+ <Text className="flex-1 font-sans text-sm text-error-400">{error}</Text>
+ </View>
+ ) : null}
+
+ {showDuplicateWarning && lastLog ? (
+ <View className="flex-row items-start gap-3 rounded-xl border border-warning-500/20 bg-warning-500/10 px-4 py-3">
+ <AlertCircle size={16} color={brand.warningSoft} style={{ marginTop: 2 }} />
+ <View className="min-w-0 flex-1">
+ <Text className="font-sans-semibold text-sm text-warning-400">
+ Already logged today ({Math.round(lastValue ?? 0)} {wUnit}). Log again anyway?
+ </Text>
+ <View className="mt-2 flex-row gap-2">
+ <Pressable onPress={() => setShowDuplicateWarning(false)}
+ className="rounded-lg border border-surface-border bg-surface-overlay px-3 py-1 active:opacity-70">
+ <AppText variant="caption" color="secondary">Cancel</AppText>
+ </Pressable>
+ <Pressable onPress={() => { setDupDismissed(true); setShowDuplicateWarning(false); submit(true) }}
+ className="rounded-lg border border-warning-500/30 bg-warning-500/20 px-3 py-1 active:opacity-70">
+ <Text className="font-sans-semibold text-xs text-warning-400">Log Anyway</Text>
+ </Pressable>
+ </View>
+ </View>
+ </View>
+ ) : null}
+
+ <StepperTile
+ icon={Scale}
+ label={`Weight (${wUnit})`}
+ name="weight"
+ step={0.5}
+ onStep={(d) => setValue(String(clampStep(parseFloat(value) || 0, d, { min: 0, max: maxWeight(unit) })))}
+ >
+ <NumberField
+ inputMode="decimal"
+ value={value}
+ onChange={setValue}
+ placeholder="0"
+ accessibilityLabel="Weight"
+ inputAccessoryViewID={NUMERIC_ACCESSORY_ID}
+ />
+ </StepperTile>
+
+ {!showExtras ? (
+ <Pressable onPress={() => setShowExtras(true)} hitSlop={6} className="self-start active:opacity-60">
+ <AppText variant="caption" color="brand">+ Change date or add a note</AppText>
+ </Pressable>
+ ) : (
+ <View className="gap-3">
+ <DateInput label="Date" value={date} onChange={setDate} maximumDate={new Date()} />
+ <Field
+ label="Note (optional)"
+ value={notes}
+ onChangeText={setNotes}
+ placeholder="e.g., morning, post-workout"
+ maxLength={200}
+ />
+ </View>
+ )}
+
+ <Button
+ title={saving ? 'Saving…' : 'Save'}
+ onPress={() => submit()}
+ loading={saving}
+ disabled={!(parseFloat(value) > 0) || saving}
+ />
+ </View>
+ </View>
+ <NumericKeyboardAccessory />
+ </Sheet>
+ )
+}
diff --git a/mobile/src/components/nutrition/BarcodeScanner.tsx b/mobile/src/components/nutrition/BarcodeScanner.tsx
new file mode 100644
index 0000000..e182f49
--- /dev/null
+++ b/mobile/src/components/nutrition/BarcodeScanner.tsx
@@ -0,0 +1,99 @@
+import { useEffect, useRef } from 'react'
+import { Modal, Pressable, StyleSheet, View } from 'react-native'
+import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context'
+import { CameraView, useCameraPermissions } from 'expo-camera'
+import * as Haptics from 'expo-haptics'
+import { AlertCircle, X } from 'lucide-react-native'
+import { AppText, Button } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ onResult: (code: string) => void
+ onClose: () => void
+}
+
+// Native equivalent of web components/BarcodeScanner (react-zxing): a full-screen
+// camera that resolves the first decoded EAN/UPC barcode exactly once, then hands the
+// code back to LogFood (→ foodAPI.barcode). Web buzzed via navigator.vibrate on a hit;
+// here that's a success haptic. Rendered inside a Modal so it fully covers the tab bar.
+export function BarcodeScanner({ onResult, onClose }: Props) {
+ const { colors } = useTheme()
+ const [permission, requestPermission] = useCameraPermissions()
+ const resolvedRef = useRef(false)
+
+ // Ask once as soon as we mount without a decision yet (mirrors the web flow, where
+ // opening the scanner triggers the browser camera prompt).
+ useEffect(() => {
+ if (permission && !permission.granted && permission.canAskAgain) requestPermission()
+ }, [permission, requestPermission])
+
+ const handleScanned = ({ data }: { data: string }) => {
+ if (resolvedRef.current || !data) return
+ resolvedRef.current = true
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ onResult(data)
+ }
+
+ const denied = permission != null && !permission.granted && !permission.canAskAgain
+
+ return (
+ <Modal visible transparent={false} animationType="slide" onRequestClose={onClose}>
+ {/* A Modal is its own native view hierarchy with NO SafeAreaProvider from the app
+ root, so SafeAreaView insets would be 0 and the close button would jam under the
+ status bar (untappable). Nest a provider here — same rule as DateInput. */}
+ <SafeAreaProvider>
+ <View style={{ flex: 1, backgroundColor: '#000' }}>
+ {permission?.granted ? (
+ <CameraView
+ style={StyleSheet.absoluteFill}
+ facing="back"
+ barcodeScannerSettings={{ barcodeTypes: ['ean13', 'ean8', 'upc_a', 'upc_e'] }}
+ onBarcodeScanned={handleScanned}
+ />
+ ) : (
+ <SafeAreaView className="flex-1 items-center justify-center px-8">
+ <AlertCircle size={40} color={colors.txMuted} />
+ <AppText variant="heading" color="white" className="mt-4 text-center">
+ {denied ? 'Camera access denied' : 'Camera permission needed'}
+ </AppText>
+ <AppText variant="body" color="muted" className="mt-2 text-center">
+ {denied
+ ? 'Enable camera access for Lyftr in your device settings to scan barcodes.'
+ : 'Allow camera access to scan a food barcode.'}
+ </AppText>
+ {!denied ? (
+ <View className="mt-5 w-full">
+ <Button title="Allow camera" onPress={requestPermission} />
+ </View>
+ ) : null}
+ </SafeAreaView>
+ )}
+
+ {/* Reticle + hint (non-interactive, so it never eats the close tap) */}
+ {permission?.granted ? (
+ <View style={StyleSheet.absoluteFill} className="items-center justify-center" pointerEvents="none">
+ <View style={{ width: 260, height: 160, borderWidth: 2, borderColor: 'rgba(255,255,255,0.85)', borderRadius: 16 }} />
+ <AppText variant="body" color="white" className="mt-4">Point at a barcode</AppText>
+ </View>
+ ) : null}
+
+ {/* Close — topmost layer, below the status bar via the (now real) top inset */}
+ <SafeAreaView edges={['top']} style={{ position: 'absolute', top: 0, left: 0, right: 0, zIndex: 10 }} pointerEvents="box-none">
+ <View className="flex-row justify-end px-4 pt-2">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Close scanner"
+ onPress={onClose}
+ hitSlop={16}
+ className="h-11 w-11 items-center justify-center rounded-full active:scale-90"
+ style={{ backgroundColor: 'rgba(0,0,0,0.6)' }}
+ >
+ <X size={24} color="#ffffff" strokeWidth={2.4} />
+ </Pressable>
+ </View>
+ </SafeAreaView>
+ </View>
+ </SafeAreaProvider>
+ </Modal>
+ )
+}
diff --git a/mobile/src/components/nutrition/FoodEntryRow.tsx b/mobile/src/components/nutrition/FoodEntryRow.tsx
new file mode 100644
index 0000000..8f50a98
--- /dev/null
+++ b/mobile/src/components/nutrition/FoodEntryRow.tsx
@@ -0,0 +1,144 @@
+import { useState } from 'react'
+import { Image, Pressable, View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import { ChevronRight, Flame, MoreVertical, Utensils } from 'lucide-react-native'
+import type { FoodLog } from '@lyftr/shared'
+import { ActionSheet, AppText, ConfirmSheet, IconButton, deleteAction, deleteConfirmProps, editAction } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+import { client } from '../../lib/lyftr'
+import { MACRO_TEXT, MEAL_COLORS, MEAL_ICONS, MEAL_LABELS, type Meal } from './nutritionMeta'
+
+// Compact meal tag shown on each row now that meals share one list (icon + label in the
+// meal's tint). 8-digit hex (#RRGGBBAA) for the fill/border is fine on RN core Views.
+function MealChip({ meal }: { meal: Meal }) {
+ const Icon = MEAL_ICONS[meal]
+ const color = MEAL_COLORS[meal]
+ return (
+ <View className="flex-row items-center gap-1 rounded-full border px-2 py-0.5" style={{ backgroundColor: `${color}1A`, borderColor: `${color}40` }}>
+ <Icon size={11} color={color} />
+ <AppText variant="caption" style={{ fontSize: 10, color, fontWeight: '700' }}>{MEAL_LABELS[meal]}</AppText>
+ </View>
+ )
+}
+
+interface Props {
+ entry: FoodLog
+ /** First row in a meal has no top divider. */
+ first: boolean
+ /** Tap the row → the entry's view screen. */
+ onPress: () => void
+ /** Kebab → Edit → the shared log/edit flow. */
+ onEdit: () => void
+ /** Called after a successful server delete — the screen drops the row + refetches stats. */
+ onDeleted: (id: number) => void
+}
+
+// A logged food entry row, mirroring WorkoutCard / ProgramCard: the row taps through to a
+// view screen (which also has Edit/Delete top-right), AND a kebab (⋮) opens a native
+// ActionSheet (Edit / Delete) with a thumbnail+macros preview header. Delete routes through
+// the shared ConfirmSheet.
+export function FoodEntryRow({ entry, first, onPress, onEdit, onDeleted }: Props) {
+ const { colors } = useTheme()
+ const [menuOpen, setMenuOpen] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+ const [deleting, setDeleting] = useState(false)
+
+ const handleDelete = async () => {
+ setDeleting(true)
+ try {
+ await client.foodAPI.delete(entry.id)
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ onDeleted(entry.id)
+ } catch {
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ const Thumb = ({ size = 44 }: { size?: number }) =>
+ entry.image_url ? (
+ <Image source={{ uri: entry.image_url }} style={{ width: size, height: size, borderRadius: 12 }} className="border border-surface-border" />
+ ) : (
+ <View style={{ width: size, height: size }} className="items-center justify-center rounded-xl border border-surface-border bg-surface-muted">
+ <Utensils size={size * 0.45} color={colors.txMuted} style={{ opacity: 0.4 }} />
+ </View>
+ )
+
+ const macroLine = (
+ // Calories (flame) + each macro as a colored-dot chip (P/C/F), mirroring the dot
+ // legend used on the entry-detail macro split. The color lives on the dot so the
+ // grams read in plain text (the old all-colored "0g P 0g C 0g F" looked muddy), and
+ // the dots give the eye three clear groups. gap-x-3 spaces them; flex-wrap lets a
+ // huge value drop cleanly to a second line instead of clipping.
+ <View className="mt-1 flex-row flex-wrap items-center gap-x-3 gap-y-1">
+ <View className="flex-row items-center gap-1">
+ <Flame size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="secondary" style={{ fontWeight: '600', fontVariant: ['tabular-nums'] }}>{Math.round(entry.calories)} kcal</AppText>
+ </View>
+ {([
+ ['P', entry.protein, MACRO_TEXT.protein],
+ ['C', entry.carbs, MACRO_TEXT.carbs],
+ ['F', entry.fat, MACRO_TEXT.fat],
+ ] as const).map(([label, value, color]) => (
+ <View key={label} className="flex-row items-center gap-1">
+ <View style={{ width: 6, height: 6, borderRadius: 3, backgroundColor: color }} />
+ <AppText variant="caption" color="secondary" style={{ fontVariant: ['tabular-nums'] }}>{value.toFixed(0)}g</AppText>
+ <AppText variant="caption" color="muted">{label}</AppText>
+ </View>
+ ))}
+ {entry.servings !== 1 ? <AppText variant="caption" color="muted">× {entry.servings}</AppText> : null}
+ </View>
+ )
+
+ return (
+ <Pressable
+ onPress={onPress}
+ className={`flex-row items-center gap-3 px-4 py-3 active:bg-surface-muted/50 ${first ? '' : 'border-t border-surface-border'}`}
+ >
+ <Thumb />
+ <View className="min-w-0 flex-1">
+ <View className="flex-row items-center gap-2">
+ <AppText variant="bodySemibold" numberOfLines={1} className="flex-1">{entry.name}</AppText>
+ <MealChip meal={entry.meal} />
+ </View>
+ {macroLine}
+ </View>
+ <IconButton
+ icon={MoreVertical}
+ label={`${entry.name} options`}
+ variant="ghost"
+ size="sm"
+ onPress={() => setMenuOpen(true)}
+ disabled={deleting}
+ />
+ <ChevronRight size={16} color={colors.txMuted} />
+
+ <ActionSheet
+ open={menuOpen}
+ layout="row"
+ onClose={() => setMenuOpen(false)}
+ header={
+ <View className="flex-row items-center gap-3">
+ <Thumb size={52} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{entry.name}</AppText>
+ {macroLine}
+ </View>
+ </View>
+ }
+ actions={[
+ editAction(() => onEdit()),
+ deleteAction(() => setConfirming(true)),
+ ]}
+ />
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete entry?', subject: `"${entry.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/nutrition/NutritionCharts.tsx b/mobile/src/components/nutrition/NutritionCharts.tsx
new file mode 100644
index 0000000..e72957b
--- /dev/null
+++ b/mobile/src/components/nutrition/NutritionCharts.tsx
@@ -0,0 +1,189 @@
+import { useState } from 'react'
+import { View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import Svg, { Circle, G, Line, Path, Rect, Text as SvgText } from 'react-native-svg'
+import { format } from 'date-fns'
+import { AppText } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+import { MACRO_COLORS } from './nutritionMeta'
+
+// react-native-svg reimplementations of the web Nutrition page's recharts/SVG widgets:
+// • MacroRing — the per-macro progress ring (web drew a raw <svg> ring already).
+// • MacroHistoryChart — web's stacked AreaChart of protein/carbs/fat over time. Web
+// reads a day's values via a hover tooltip; on mobile we expose the same data via
+// tap-to-read (the pattern shipped on Weight / ExerciseDetail / Dashboard).
+// Any NaN/Infinity reaching react-native-svg geometry crashes the native renderer, so
+// every value fed to a path/rect/circle is coerced through fin() first.
+
+const fin = (n: number) => (Number.isFinite(n) ? n : 0)
+const clamp = (v: number, lo: number, hi: number) => Math.min(Math.max(v, lo), hi)
+const tap = (fn: () => void) => { Haptics.selectionAsync().catch(() => {}); fn() }
+
+// ── MacroRing ───────────────────────────────────────────────────────────────
+// Direct port of web Food.tsx <MacroRing/>: a 72×72 ring, r=30, stroke 5, rotated so
+// the fill starts at 12 o'clock; center % + "{value}g" and "{label} / {target}g" below.
+export function MacroRing({ value, target, color, label }: {
+ value: number; target: number; color: string; label: string
+}) {
+ const r = 30
+ const size = 72
+ const cx = size / 2
+ const circ = 2 * Math.PI * r
+ // No macro target set (0) is a real state — don't divide-by-1 and read a false 100%.
+ // Show an empty ring + "—" and drop the "/ 0g" goal suffix instead.
+ const hasTarget = fin(target) > 0
+ const pct = hasTarget ? clamp(fin(value) / fin(target), 0, 1) : 0
+
+ return (
+ <View className="flex-col items-center gap-1.5">
+ <View style={{ width: size, height: size, overflow: 'hidden' }}>
+ <Svg width={size} height={size}>
+ {/* Rotate -90° so the arc starts at 12 o'clock. originX/originY as numbers +
+ string strokeDasharray keep react-native-svg happy on native. */}
+ <G rotation={-90} originX={cx} originY={cx}>
+ <Circle cx={cx} cy={cx} r={r} fill="none" stroke={color} strokeOpacity={0.15} strokeWidth={5} />
+ <Circle
+ cx={cx}
+ cy={cx}
+ r={r}
+ fill="none"
+ stroke={color}
+ strokeWidth={5}
+ strokeLinecap="round"
+ strokeDasharray={`${circ}`}
+ strokeDashoffset={circ * (1 - pct)}
+ />
+ </G>
+ </Svg>
+ <View pointerEvents="none" style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, alignItems: 'center', justifyContent: 'center' }}>
+ <AppText variant="caption" style={{ color, fontVariant: ['tabular-nums'], fontWeight: '700' }}>
+ {hasTarget ? `${Math.round(pct * 100)}%` : '—'}
+ </AppText>
+ </View>
+ </View>
+ <View className="items-center">
+ <AppText variant="bodySemibold" style={{ fontVariant: ['tabular-nums'] }}>{Math.round(fin(value))}g</AppText>
+ <AppText variant="caption" color="muted" style={{ fontSize: 10 }}>{hasTarget ? `${label} / ${Math.round(fin(target))}g` : label}</AppText>
+ </View>
+ </View>
+ )
+}
+
+// ── Macro history stacked-area chart ──────────────────────────────────────────
+export interface MacroHistoryPoint { date: string; protein: number; carbs: number; fat: number }
+
+export function MacroHistoryChart({ data, width, height = 200 }: {
+ data: MacroHistoryPoint[]; width: number; height?: number
+}) {
+ const { colors } = useTheme()
+ const [sel, setSel] = useState<number | null>(null)
+ if (!data.length || width <= 0) return null
+
+ const yAxisW = 34
+ const axisH = 18
+ const padTop = 8
+ const plotW = Math.max(0, width - yAxisW)
+ const plotH = Math.max(0, height - axisH - padTop)
+ const n = data.length
+
+ const P = data.map((d) => fin(d.protein))
+ const C = data.map((d) => fin(d.carbs))
+ const F = data.map((d) => fin(d.fat))
+ const totals = data.map((_, i) => P[i] + C[i] + F[i])
+ const maxTotal = Math.max(...totals, 1)
+
+ const xAt = (i: number) => (n === 1 ? yAxisW + plotW / 2 : yAxisW + (i / (n - 1)) * plotW)
+ const yAt = (v: number) => padTop + (1 - clamp(v, 0, maxTotal) / maxTotal) * plotH
+
+ // Bottom→top stack order matches web's Area declaration order (fat, carbs, protein).
+ const cumFat = F
+ const cumCarbs = F.map((f, i) => f + C[i])
+ const layers = [
+ { key: 'fat', color: MACRO_COLORS.fat, lo: F.map(() => 0), hi: cumFat },
+ { key: 'carbs', color: MACRO_COLORS.carbs, lo: cumFat, hi: cumCarbs },
+ { key: 'protein', color: MACRO_COLORS.protein, lo: cumCarbs, hi: totals },
+ ]
+
+ const areaPath = (lo: number[], hi: number[]) => {
+ if (n < 2) return ''
+ const top = hi.map((v, i) => `${i === 0 ? 'M' : 'L'} ${xAt(i)} ${yAt(v)}`).join(' ')
+ const bottom = lo.map((_, k) => { const i = n - 1 - k; return `L ${xAt(i)} ${yAt(lo[i])}` }).join(' ')
+ return `${top} ${bottom} Z`
+ }
+
+ // Thin x-labels so they never overlap (recharts auto-skips too).
+ const maxLabels = Math.max(2, Math.floor(plotW / 44))
+ const every = Math.ceil(n / maxLabels)
+ const fmt = (d: string) => format(new Date(d + 'T12:00:00'), 'M/d')
+
+ const selPt = sel != null ? data[sel] : null
+
+ return (
+ <View>
+ <Svg width={width} height={height}>
+ {/* y grid: baseline + max */}
+ <Line x1={yAxisW} y1={yAt(0)} x2={width} y2={yAt(0)} stroke={colors.border} strokeWidth={1} />
+ <SvgText x={yAxisW - 6} y={yAt(maxTotal) + 4} fontSize={10} fill={colors.txMuted} textAnchor="end">
+ {Math.round(maxTotal)}g
+ </SvgText>
+ <SvgText x={yAxisW - 6} y={yAt(0) + 4} fontSize={10} fill={colors.txMuted} textAnchor="end">0g</SvgText>
+
+ {/* stacked areas (n>=2) or stacked bars (n===1) */}
+ {n >= 2
+ ? layers.map((L) => (
+ <Path key={L.key} d={areaPath(L.lo, L.hi)} fill={L.color} fillOpacity={0.35} stroke={L.color} strokeWidth={1.5} strokeLinejoin="round" />
+ ))
+ : layers.map((L) => {
+ const y = yAt(L.hi[0])
+ const h = Math.max(0, yAt(L.lo[0]) - y)
+ return <Rect key={L.key} x={xAt(0) - 14} y={y} width={28} height={h} fill={L.color} fillOpacity={0.5} />
+ })}
+
+ {/* selection guide */}
+ {sel != null ? <Line x1={xAt(sel)} y1={padTop} x2={xAt(sel)} y2={yAt(0)} stroke={colors.txMuted} strokeWidth={1} opacity={0.4} /> : null}
+
+ {/* full-height transparent hit targets */}
+ {data.map((_, i) => {
+ const slot = n === 1 ? plotW : plotW / (n - 1)
+ const x = n === 1 ? yAxisW : clamp(xAt(i) - slot / 2, yAxisW, width)
+ const w = n === 1 ? plotW : slot
+ return <Rect key={`hit-${i}`} x={x} y={0} width={w} height={padTop + plotH} fill="transparent" onPress={() => tap(() => setSel((c) => (c === i ? null : i)))} />
+ })}
+
+ {/* x labels */}
+ {data.map((d, i) =>
+ i % every === 0 || i === n - 1 ? (
+ <SvgText key={`lbl-${i}`} x={xAt(i)} y={height - 4} fontSize={10} fill={colors.txMuted} textAnchor={i === n - 1 ? 'end' : i === 0 ? 'start' : 'middle'}>
+ {fmt(d.date)}
+ </SvgText>
+ ) : null
+ )}
+ </Svg>
+
+ {selPt ? (
+ <View
+ pointerEvents="none"
+ className="absolute rounded-lg border border-surface-border bg-surface-raised px-2.5 py-1.5"
+ style={{ left: clamp(xAt(sel!) - 60, 0, Math.max(0, width - 120)), top: 0, width: 120 }}
+ >
+ <AppText variant="caption" color="muted">{format(new Date(selPt.date + 'T12:00:00'), 'MMM d')}</AppText>
+ <View className="mt-0.5 gap-0.5">
+ {[
+ { label: 'Protein', value: selPt.protein, color: MACRO_COLORS.protein },
+ { label: 'Carbs', value: selPt.carbs, color: MACRO_COLORS.carbs },
+ { label: 'Fat', value: selPt.fat, color: MACRO_COLORS.fat },
+ ].map((m) => (
+ <View key={m.label} className="flex-row items-center justify-between">
+ <View className="flex-row items-center gap-1.5">
+ <View style={{ width: 8, height: 8, borderRadius: 2, backgroundColor: m.color }} />
+ <AppText variant="caption" color="muted">{m.label}</AppText>
+ </View>
+ <AppText variant="caption" style={{ fontVariant: ['tabular-nums'] }}>{Math.round(fin(m.value))}g</AppText>
+ </View>
+ ))}
+ </View>
+ </View>
+ ) : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/nutrition/NutritionSkeleton.tsx b/mobile/src/components/nutrition/NutritionSkeleton.tsx
new file mode 100644
index 0000000..3db5fe0
--- /dev/null
+++ b/mobile/src/components/nutrition/NutritionSkeleton.tsx
@@ -0,0 +1,68 @@
+import { View } from 'react-native'
+import { Card, PageHeader, Screen, Skeleton } from '../ui'
+
+// Initial-load skeleton for the Nutrition page — content-shaped placeholders laid out
+// 1:1 with the real screen's default (Diary) view: Diary/Trends switch · date nav ·
+// calorie hero + rings · "Today's Food" label + search + a few rows. So data fills into
+// its own shape instead of popping after a blank spinner. Mirrors WeightSkeleton /
+// ProgramsSkeleton. The PageHeader is the real, live title.
+export function NutritionSkeleton() {
+ return (
+ <Screen>
+ <View className="gap-4 py-4">
+ <PageHeader title="Nutrition" subtitle="Macros & meals" action={<Skeleton width={92} height={32} radius={10} />} />
+
+ {/* Diary / Trends switch */}
+ <Skeleton height={44} radius={12} />
+
+ {/* Date navigator */}
+ <View className="flex-row items-center gap-2">
+ <Skeleton width={44} height={44} radius={12} />
+ <View className="flex-1"><Skeleton height={40} radius={12} /></View>
+ <Skeleton width={44} height={44} radius={12} />
+ </View>
+
+ {/* Calorie hero + rings */}
+ <Card className="gap-5">
+ <View className="flex-row items-center justify-between">
+ <View className="gap-2">
+ <Skeleton width={60} height={12} />
+ <Skeleton width={120} height={36} radius={8} />
+ </View>
+ <Skeleton width={80} height={36} radius={12} />
+ </View>
+ <Skeleton height={10} radius={999} />
+ <View className="flex-row justify-around">
+ {[0, 1, 2].map((i) => (
+ <View key={i} className="items-center gap-1.5">
+ <Skeleton width={72} height={72} radius={999} />
+ <Skeleton width={54} height={12} />
+ </View>
+ ))}
+ </View>
+ </Card>
+
+ {/* Today's Food — label + count, search bar, a few rows */}
+ <View className="mt-2 gap-2">
+ <View className="flex-row items-center justify-between px-1">
+ <Skeleton width={110} height={14} />
+ <Skeleton width={54} height={12} />
+ </View>
+ <Skeleton height={44} radius={12} />
+ <Card className="mt-1 gap-3">
+ {[0, 1, 2].map((i) => (
+ <View key={i} className="flex-row items-center gap-3">
+ <Skeleton width={44} height={44} radius={12} />
+ <View className="flex-1 gap-1.5">
+ <Skeleton width={140} height={14} />
+ <Skeleton width={100} height={10} />
+ </View>
+ <Skeleton width={16} height={16} radius={4} />
+ </View>
+ ))}
+ </Card>
+ </View>
+ </View>
+ </Screen>
+ )
+}
diff --git a/mobile/src/components/nutrition/nutritionMeta.test.ts b/mobile/src/components/nutrition/nutritionMeta.test.ts
new file mode 100644
index 0000000..5d33101
--- /dev/null
+++ b/mobile/src/components/nutrition/nutritionMeta.test.ts
@@ -0,0 +1,22 @@
+import { MACRO_TEXT, MEAL_COLORS, MEAL_LABELS, MEALS } from './nutritionMeta'
+
+// This suite also acts as a canary: nutritionMeta imports lucide-react-native (ESM), so
+// a green run here proves jest.config's transformIgnorePatterns whitelist is correct.
+describe('nutritionMeta', () => {
+ it('labels every meal', () => {
+ expect(MEAL_LABELS.breakfast).toBe('Breakfast')
+ expect(Object.keys(MEAL_LABELS).sort()).toEqual(['breakfast', 'dinner', 'lunch', 'snacks'])
+ })
+
+ it('has a color for every meal', () => {
+ for (const meal of MEALS) {
+ expect(MEAL_COLORS[meal]).toMatch(/^#[0-9a-f]{6}$/i)
+ }
+ })
+
+ it('exposes the macro text palette', () => {
+ expect(MACRO_TEXT.protein).toBe('#34d399')
+ expect(MACRO_TEXT.carbs).toBe('#fbbf24')
+ expect(MACRO_TEXT.fat).toBe('#a78bfa')
+ })
+})
diff --git a/mobile/src/components/nutrition/nutritionMeta.ts b/mobile/src/components/nutrition/nutritionMeta.ts
new file mode 100644
index 0000000..f1f825c
--- /dev/null
+++ b/mobile/src/components/nutrition/nutritionMeta.ts
@@ -0,0 +1,40 @@
+import { Coffee, Cookie, Moon, Sun, type LucideIcon } from 'lucide-react-native'
+import type { FoodLog } from '@lyftr/shared'
+
+// Meal + macro presentation constants, ported 1:1 from web (Food.tsx / LogFood.tsx +
+// utils/macroColors.ts). Web expressed colors as Tailwind text-* classes; on native
+// icon/SVG colors must be hex props, so the class names are resolved to their exact
+// Tailwind hex values here.
+
+export type Meal = FoodLog['meal']
+
+export const MEALS: readonly Meal[] = ['breakfast', 'lunch', 'dinner', 'snacks']
+
+export const MEAL_LABELS: Record<Meal, string> = {
+ breakfast: 'Breakfast',
+ lunch: 'Lunch',
+ dinner: 'Dinner',
+ snacks: 'Snacks',
+}
+
+export const MEAL_ICONS: Record<Meal, LucideIcon> = {
+ breakfast: Coffee,
+ lunch: Sun,
+ dinner: Moon,
+ snacks: Cookie,
+}
+
+// text-amber-400 / text-yellow-400 / text-indigo-400 / text-pink-400 (Tailwind hex).
+export const MEAL_COLORS: Record<Meal, string> = {
+ breakfast: '#fbbf24',
+ lunch: '#facc15',
+ dinner: '#818cf8',
+ snacks: '#f472b6',
+}
+
+// utils/macroColors.ts — the ring / chart / mini-bar palette.
+export const MACRO_COLORS = { protein: '#10b981', carbs: '#f59e0b', fat: '#8b5cf6' } as const
+
+// Per-macro accent used for the small tabular P/C/F figures on rows + the detail grid
+// (web: text-emerald-400 / text-amber-400 / text-violet-400 — the -400 shades).
+export const MACRO_TEXT = { protein: '#34d399', carbs: '#fbbf24', fat: '#a78bfa' } as const
diff --git a/mobile/src/components/programs/ProgramCard.tsx b/mobile/src/components/programs/ProgramCard.tsx
new file mode 100644
index 0000000..e142a1d
--- /dev/null
+++ b/mobile/src/components/programs/ProgramCard.tsx
@@ -0,0 +1,148 @@
+import { useState } from 'react'
+import { Pressable, View } from 'react-native'
+import { router, type Href } from 'expo-router'
+import { format } from 'date-fns'
+import { BookOpen, ChevronRight, Dumbbell, Layers, MoreVertical, Play } from 'lucide-react-native'
+import type { ActiveSessionExercise, Program } from '@lyftr/shared'
+import { ActionSheet, AppText, Card, ConfirmSheet, IconButton, deleteAction, deleteConfirmProps, editAction } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+import { client, useWorkoutSession } from '../../lib/lyftr'
+import { ExerciseImage } from '../workouts/ExerciseImage'
+
+interface Props {
+ program: Program
+ onPress: () => void
+ /** Called after a successful server delete — the screen reloads the list (web parity). */
+ onDeleted: (id: number) => void
+}
+
+// Active-session routes live in the workouts stack (start / active); cast to Href the
+// same way the other cross-stack links do.
+const startHref = '/workouts/start' as unknown as Href
+const activeHref = '/workouts/active' as unknown as Href
+
+// Program equivalent of WorkoutCard: thumbnail, name/date/meta, a filled Play button
+// (the primary Start action), a kebab (⋮) ActionSheet (Edit / Delete — same as
+// WorkoutCard), and a chevron. Delete routes through the shared ConfirmSheet.
+export function ProgramCard({ program, onPress, onDeleted }: Props) {
+ const { colors } = useTheme()
+ const { session, startSession } = useWorkoutSession()
+ const [deleting, setDeleting] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+ const [menuOpen, setMenuOpen] = useState(false)
+
+ const exCount = program.exercises?.length || 0
+ const totalSets = program.exercises?.reduce((s, e) => s + (e.sets?.length || 0), 0) || 0
+
+ // 1:1 with web: an existing session takes priority (resume/discard on the start
+ // screen); otherwise seed a session from the program's targets and open it.
+ const handleStart = () => {
+ // navigate (not push): programs → workouts is a cross-tab jump; push corrupts the
+ // native tab/back stack (the "can't get off the workout from a program" bug).
+ if (session) { router.navigate(startHref); return }
+ const exercises: ActiveSessionExercise[] = (program.exercises || []).map((ex) => ({
+ exercise_id: ex.exercise_id,
+ exercise: ex.exercise,
+ notes: ex.notes || '',
+ rest_seconds: ex.rest_seconds,
+ sets: (ex.sets || []).map((s) => ({
+ set_number: s.set_number,
+ target_reps: s.target_reps,
+ target_weight: s.target_weight,
+ actual_reps: s.target_reps,
+ actual_weight: s.target_weight,
+ completed: false,
+ program_set_id: s.id,
+ })),
+ }))
+ startSession(program.name, exercises, program.id)
+ router.navigate(activeHref)
+ }
+
+ const handleDelete = async () => {
+ setDeleting(true)
+ try {
+ await client.programAPI.delete(program.id)
+ onDeleted(program.id)
+ } catch {
+ // Web parity: a failed delete quietly restores the card.
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ return (
+ <Pressable accessibilityRole="button" onPress={onPress} className="active:scale-[0.99]">
+ <Card className="flex-row items-center gap-3 rounded-2xl">
+ <ExerciseImage url={program.exercises?.[0]?.exercise?.image_url} fallbackIcon={BookOpen} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{program.name}</AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1} className="mt-0.5">
+ {format(new Date(program.created_at), 'MMM d, yyyy')}
+ </AppText>
+ {/* Metric chips with leading icons — shared taxonomy with WorkoutCard:
+ Dumbbell = exercises, Layers = sets. */}
+ <View className="mt-0.5 flex-row items-center gap-x-2">
+ <View className="flex-row items-center gap-1">
+ <Dumbbell size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted" numberOfLines={1}>{exCount} exercises</AppText>
+ </View>
+ <AppText variant="caption" color="muted">·</AppText>
+ <View className="flex-row items-center gap-1">
+ <Layers size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted" numberOfLines={1}>{totalSets} sets</AppText>
+ </View>
+ </View>
+ </View>
+ {/* Start is the card's primary action → a filled Play button on the row
+ (Hevy/Strong pattern: 1-tap start from the list), kept out of the ⋮ menu. */}
+ <IconButton
+ icon={Play}
+ label={`Start ${program.name}`}
+ variant="solid"
+ size="sm"
+ onPress={handleStart}
+ disabled={deleting}
+ />
+ <IconButton
+ icon={MoreVertical}
+ label={`${program.name} options`}
+ variant="ghost"
+ size="sm"
+ onPress={() => setMenuOpen(true)}
+ disabled={deleting}
+ />
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Card>
+
+ <ActionSheet
+ open={menuOpen}
+ layout="row"
+ onClose={() => setMenuOpen(false)}
+ header={
+ <View className="flex-row items-center gap-3">
+ <ExerciseImage url={program.exercises?.[0]?.exercise?.image_url} size="hero" fallbackIcon={BookOpen} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{program.name}</AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1} className="mt-0.5">
+ {exCount} exercises · {totalSets} sets
+ </AppText>
+ </View>
+ </View>
+ }
+ actions={[
+ editAction(() => router.push(`/programs/${program.id}/edit`)),
+ deleteAction(() => setConfirming(true)),
+ ]}
+ />
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete Program?', subject: `"${program.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/programs/ProgramsSkeleton.tsx b/mobile/src/components/programs/ProgramsSkeleton.tsx
new file mode 100644
index 0000000..966fc44
--- /dev/null
+++ b/mobile/src/components/programs/ProgramsSkeleton.tsx
@@ -0,0 +1,27 @@
+import { router } from 'expo-router'
+import { Plus } from 'lucide-react-native'
+import { IconButton, ListScreenSkeleton } from '../ui'
+
+// Initial-load skeleton for the Programs list — a thin wrapper over the shared
+// ListScreenSkeleton (header · 2 stats · search · card rows), matching the Programs
+// layout so content fills into its own shape rather than popping after a blank/spinner.
+// The PageHeader + its "New Program" action are the REAL controls, live immediately;
+// only the data-shaped regions are placeholders. Mirrors WorkoutsSkeleton.
+export function ProgramsSkeleton() {
+ return (
+ <ListScreenSkeleton
+ title="Programs"
+ subtitle="Reusable workout templates"
+ statCount={2}
+ action={
+ <IconButton
+ icon={Plus}
+ label="New Program"
+ variant="solid"
+ size="md"
+ onPress={() => router.push('/programs/new')}
+ />
+ }
+ />
+ )
+}
diff --git a/mobile/src/components/ui/ActionSheet.tsx b/mobile/src/components/ui/ActionSheet.tsx
new file mode 100644
index 0000000..4c55150
--- /dev/null
+++ b/mobile/src/components/ui/ActionSheet.tsx
@@ -0,0 +1,93 @@
+import type { ReactNode } from 'react'
+import { View } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { AppText } from './Typography'
+import { SheetButton } from './SheetButton'
+import { Sheet, SHEET_ANIM_MS } from './Sheet'
+
+export interface SheetAction {
+ label: string
+ /** Leading icon on the action's button. */
+ icon?: LucideIcon
+ /** Destructive actions get the red button fill. */
+ destructive?: boolean
+ onPress: () => void
+}
+
+interface Props {
+ open: boolean
+ /** Small uppercase kicker (e.g. "Workout"). */
+ title?: string
+ /** The item the actions apply to (e.g. the workout name). */
+ subtitle?: string
+ /** Rich header slot — a preview of the item (thumbnail + meta). Takes precedence
+ * over title/subtitle when given, so the sheet shows what you're acting on. */
+ header?: ReactNode
+ actions: SheetAction[]
+ cancelLabel?: string
+ /** 'stack' = full-width buttons (any count); 'row' = side-by-side (best for 2). */
+ layout?: 'stack' | 'row'
+ onClose: () => void
+}
+
+// A native-style options sheet — the kebab (⋮) menu other apps use. An optional
+// title/subtitle header over chunky action buttons + a Cancel, in the generic slide-up
+// Sheet (same button language as ConfirmSheet). layout='stack' is the scalable default
+// (full-width rows); layout='row' packs the actions side-by-side, the pattern apps use
+// when there are exactly two. An action's onPress fires *after* the sheet dismisses so
+// a follow-up modal (e.g. a delete ConfirmSheet) isn't presented mid-close.
+export function ActionSheet({
+ open, title, subtitle, header, actions, cancelLabel = 'Cancel', layout = 'stack', onClose,
+}: Props) {
+ const run = (onPress: () => void) => {
+ onClose()
+ setTimeout(onPress, SHEET_ANIM_MS)
+ }
+
+ const button = (a: SheetAction, i: number) => (
+ <SheetButton
+ key={i}
+ label={a.label}
+ icon={a.icon}
+ // Row buttons are narrow → center their content; stacked buttons read as menu
+ // rows → left-align. Normal actions match the detail Edit pill (brand outline).
+ align={layout === 'row' ? 'center' : 'left'}
+ variant={a.destructive ? 'destructive' : 'brandOutline'}
+ onPress={() => run(a.onPress)}
+ />
+ )
+
+ return (
+ <Sheet open={open} onClose={onClose} haptic="selection">
+ <View className="px-6">
+ {header ? (
+ <View className="pb-4">{header}</View>
+ ) : (title || subtitle) ? (
+ <View className="items-center pb-5">
+ {title ? (
+ <AppText variant="label" color="muted" className="uppercase" style={{ letterSpacing: 1.5 }}>
+ {title}
+ </AppText>
+ ) : null}
+ {subtitle ? (
+ <AppText variant="heading" numberOfLines={1} className="mt-0.5 text-center">{subtitle}</AppText>
+ ) : null}
+ </View>
+ ) : null}
+
+ <View className="gap-3">
+ {layout === 'row' ? (
+ <View className="flex-row gap-3">
+ {actions.map((a, i) => (
+ <View key={i} className="flex-1">{button(a, i)}</View>
+ ))}
+ </View>
+ ) : (
+ actions.map((a, i) => button(a, i))
+ )}
+ <SheetButton label={cancelLabel} variant="muted" onPress={onClose} />
+ </View>
+ </View>
+ </Sheet>
+ )
+}
diff --git a/mobile/src/components/ui/Button.tsx b/mobile/src/components/ui/Button.tsx
new file mode 100644
index 0000000..baaf3a6
--- /dev/null
+++ b/mobile/src/components/ui/Button.tsx
@@ -0,0 +1,50 @@
+import { Pressable, Text, ActivityIndicator } from 'react-native'
+import { useTheme } from '../../theme/useTheme'
+
+type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger'
+
+interface Props {
+ title: string
+ onPress?: () => void
+ variant?: ButtonVariant
+ loading?: boolean
+ disabled?: boolean
+ className?: string
+}
+
+const VARIANT: Record<ButtonVariant, { bg: string; text: string }> = {
+ primary: { bg: 'bg-brand-500 active:bg-brand-700', text: 'text-white' },
+ secondary: { bg: 'bg-surface-muted border border-surface-border', text: 'text-tx-primary' },
+ ghost: { bg: '', text: 'text-tx-muted' },
+ danger: { bg: 'bg-error-500/10 border border-error-500/20', text: 'text-error-400' },
+}
+
+export function Button({
+ title,
+ onPress,
+ variant = 'primary',
+ loading = false,
+ disabled = false,
+ className = '',
+}: Props) {
+ const { accent } = useTheme()
+ const v = VARIANT[variant]
+ const isDisabled = disabled || loading
+ return (
+ <Pressable
+ onPress={onPress}
+ disabled={isDisabled}
+ // active:scale-95 is the standard press feedback for every tappable (see
+ // CONVENTIONS.md "native feel") — it reads as native where hover states can't.
+ className={`h-12 rounded-lg flex-row items-center justify-center gap-2 active:scale-95 ${v.bg} ${isDisabled ? 'opacity-40' : ''} ${className}`}
+ >
+ {loading ? (
+ // White only sits on the brand-filled primary; other variants keep the surface
+ // background, where a white spinner would vanish on the light theme.
+ <ActivityIndicator color={variant === 'primary' ? '#fff' : accent} />
+ ) : (
+ <Text className={`font-sans-bold text-sm ${v.text}`}>{title}</Text>
+ )}
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/ui/Card.tsx b/mobile/src/components/ui/Card.tsx
new file mode 100644
index 0000000..e088c2a
--- /dev/null
+++ b/mobile/src/components/ui/Card.tsx
@@ -0,0 +1,16 @@
+import { ReactNode } from 'react'
+import { View, ViewProps } from 'react-native'
+
+interface Props extends ViewProps {
+ children: ReactNode
+ className?: string
+}
+
+// Card — raised surface with border, mirrors the web `.card` primitive.
+export function Card({ children, className = '', ...rest }: Props) {
+ return (
+ <View className={`bg-surface-raised border border-surface-border rounded-xl p-4 ${className}`} {...rest}>
+ {children}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/ConfirmSheet.tsx b/mobile/src/components/ui/ConfirmSheet.tsx
new file mode 100644
index 0000000..f4a7244
--- /dev/null
+++ b/mobile/src/components/ui/ConfirmSheet.tsx
@@ -0,0 +1,70 @@
+import { View } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+import { SheetButton } from './SheetButton'
+import { Sheet } from './Sheet'
+
+export interface ConfirmSheetProps {
+ open: boolean
+ title: string
+ /** Body copy under the title (e.g. what will be deleted). */
+ message: string
+ /** Confirm button label; shows `busyLabel` while `busy`. */
+ confirmLabel: string
+ busyLabel?: string
+ cancelLabel?: string
+ /** Destructive styling (red fill + red icon badge). */
+ destructive?: boolean
+ /** Shown in a tinted circular badge above the title — the app-confirm idiom. */
+ icon?: LucideIcon
+ busy?: boolean
+ onConfirm: () => void
+ onCancel: () => void
+}
+
+// A polished, native-app-style confirm sheet (mirrors web WorkoutDetail's portal
+// sheet). A tinted circular icon badge gives the destructive action weight, the copy
+// is centered under it, and a Cancel / confirm button pair sits below. The sheet
+// chrome (slide-up, scrim, insets, grabber) lives in the generic Sheet.
+export function ConfirmSheet({
+ open, title, message, confirmLabel, busyLabel, cancelLabel = 'Cancel',
+ destructive = false, icon: Icon, busy = false, onConfirm, onCancel,
+}: ConfirmSheetProps) {
+ const { brand, accent, isDark } = useTheme()
+ // errorSoft reads on dark, error on light — same split as IconButton.
+ const badgeIconColor = destructive ? (isDark ? brand.errorSoft : brand.error) : accent
+
+ return (
+ <Sheet open={open} onClose={onCancel} haptic={destructive ? 'warning' : 'selection'}>
+ <View className="px-6">
+ {Icon ? (
+ <View
+ className={`mx-auto mb-4 h-14 w-14 items-center justify-center rounded-full ${
+ destructive ? 'bg-error-500/15' : 'bg-brand-500/15'
+ }`}
+ >
+ <Icon size={24} color={badgeIconColor} strokeWidth={2.2} />
+ </View>
+ ) : null}
+
+ <AppText variant="heading" className="mb-1.5 text-center">{title}</AppText>
+ <AppText variant="body" color="muted" className="mb-6 text-center">{message}</AppText>
+
+ <View className="flex-row gap-3">
+ <View className="flex-1">
+ <SheetButton label={cancelLabel} variant="muted" onPress={onCancel} />
+ </View>
+ <View className="flex-1">
+ <SheetButton
+ label={busy ? (busyLabel ?? confirmLabel) : confirmLabel}
+ variant={destructive ? 'destructive' : 'primary'}
+ disabled={busy}
+ onPress={onConfirm}
+ />
+ </View>
+ </View>
+ </View>
+ </Sheet>
+ )
+}
diff --git a/mobile/src/components/ui/DateInput.tsx b/mobile/src/components/ui/DateInput.tsx
new file mode 100644
index 0000000..549d93f
--- /dev/null
+++ b/mobile/src/components/ui/DateInput.tsx
@@ -0,0 +1,119 @@
+import { useState } from 'react'
+import { Modal, Platform, Pressable, View } from 'react-native'
+import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context'
+import DateTimePicker, { type DateTimePickerEvent } from '@react-native-community/datetimepicker'
+import { CalendarDays } from 'lucide-react-native'
+import { format } from 'date-fns'
+import { useTheme } from '../../theme/useTheme'
+import { AppText, Label } from './Typography'
+
+interface Props {
+ label?: string
+ /** ISO calendar date, YYYY-MM-DD — same value shape as web's <input type=date>. */
+ value: string
+ onChange: (next: string) => void
+ /** Upper bound (e.g. new Date() = today) — mirrors the web input's `max`. */
+ maximumDate?: Date
+}
+
+// new Date('YYYY-MM-DD') parses as UTC midnight, which *displays* as the previous
+// day in negative-offset timezones — so the picker round-trips through local date
+// parts. The form's payload keeps web's exact `new Date(date).toISOString()`.
+const toLocalDate = (v: string): Date => {
+ const [y, m, d] = v.split('-').map(Number)
+ return new Date(y, (m ?? 1) - 1, d ?? 1)
+}
+const pad = (n: number) => String(n).padStart(2, '0')
+const toValue = (d: Date): string => `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`
+
+// Mirrors web ui/DateInput / <input type=date>: a Field-look row that opens the
+// platform date picker.
+//
+// Android's picker is its own self-dismissing dialog — fine to mount inline.
+// iOS's inline calendar, however, needs ~320pt of width; when the DateInput sits
+// in a half-width form column, an inline picker mounted in-place gets crushed to
+// near-zero and looks like "the picker never opened". So on iOS we present it in a
+// full-width Modal (its own view hierarchy → nest a SafeAreaProvider, same rule as
+// ExercisePicker) where width is unconstrained.
+export function DateInput({ label, value, onChange, maximumDate }: Props) {
+ const { colors, accent, isDark } = useTheme()
+ const [open, setOpen] = useState(false)
+ const date = toLocalDate(value)
+ const isIOS = Platform.OS === 'ios'
+
+ const handleChange = (event: DateTimePickerEvent, selected?: Date) => {
+ // Android fires exactly once (set|dismissed) and the dialog is already gone.
+ // On iOS the inline picker stays up (it's in our Modal) — emit on 'set', keep
+ // the Modal open so the user can keep scrolling; Done closes it.
+ if (event.type === 'set' && selected) onChange(toValue(selected))
+ if (!isIOS) setOpen(false)
+ }
+
+ return (
+ <View className="gap-1.5">
+ {label ? <Label>{label}</Label> : null}
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel={label ?? 'Pick date'}
+ onPress={() => setOpen((o) => !o)}
+ className="h-12 flex-row items-center gap-2.5 rounded-lg border border-surface-border bg-surface-overlay px-3.5 active:scale-[0.99]"
+ >
+ <CalendarDays size={16} color={colors.txMuted} />
+ <AppText variant="body">{format(date, 'MMM d, yyyy')}</AppText>
+ </Pressable>
+
+ {/* Android: mount inline — it's a self-contained dialog. */}
+ {open && !isIOS && (
+ <DateTimePicker
+ value={date}
+ mode="date"
+ display="default"
+ maximumDate={maximumDate}
+ onChange={handleChange}
+ />
+ )}
+
+ {/* iOS: full-width Modal so the inline calendar isn't crushed by the column.
+ Gate the whole Modal on `open` — an RN Modal renders its children even while
+ hidden, so an always-mounted DateTimePicker would spin up its native view on
+ every screen load; mount it only when the user opens the field. */}
+ {isIOS && open && (
+ <Modal visible transparent animationType="fade" onRequestClose={() => setOpen(false)}>
+ <SafeAreaProvider>
+ {/* Tap the scrim to dismiss; the card stops propagation. */}
+ <Pressable className="flex-1 justify-end bg-black/40" onPress={() => setOpen(false)}>
+ <SafeAreaView edges={['bottom']}>
+ <Pressable
+ onPress={(e) => e.stopPropagation()}
+ className="mx-3 mb-3 rounded-2xl border border-surface-border bg-surface-base p-2"
+ >
+ <View className="flex-row items-center justify-between px-2 pb-1 pt-2">
+ <AppText variant="bodySemibold">{label ?? 'Select date'}</AppText>
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => setOpen(false)}
+ hitSlop={8}
+ className="px-2 py-1 active:opacity-60"
+ >
+ <AppText variant="bodySemibold" color="brand">Done</AppText>
+ </Pressable>
+ </View>
+ <DateTimePicker
+ value={date}
+ mode="date"
+ display="inline"
+ maximumDate={maximumDate}
+ onChange={handleChange}
+ themeVariant={isDark ? 'dark' : 'light'}
+ // Tint the selection to brand so it reads on-theme.
+ accentColor={accent}
+ />
+ </Pressable>
+ </SafeAreaView>
+ </Pressable>
+ </SafeAreaProvider>
+ </Modal>
+ )}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/EmptyState.tsx b/mobile/src/components/ui/EmptyState.tsx
new file mode 100644
index 0000000..959828d
--- /dev/null
+++ b/mobile/src/components/ui/EmptyState.tsx
@@ -0,0 +1,36 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+interface Props {
+ icon: LucideIcon
+ title: string
+ subtitle?: string
+ action?: ReactNode
+ compact?: boolean
+}
+
+// Mirrors web ui/EmptyState: muted icon chip, centered title/subtitle, optional
+// call-to-action. Use this (not a bare Muted string) whenever a list has nothing
+// to show — the chip gives the empty screen enough visual weight to feel intended.
+export function EmptyState({ icon: Icon, title, subtitle, action, compact = false }: Props) {
+ const { colors } = useTheme()
+ return (
+ <View className={`items-center justify-center px-4 ${compact ? 'py-8' : 'py-12'}`}>
+ <View className="w-12 h-12 rounded-xl bg-surface-muted border border-surface-border items-center justify-center mb-2 opacity-80">
+ <Icon size={24} color={colors.txMuted} strokeWidth={2} />
+ </View>
+ <AppText variant="bodySemibold" className="text-center">
+ {title}
+ </AppText>
+ {subtitle ? (
+ <AppText variant="caption" color="muted" className="mt-0.5 text-center">
+ {subtitle}
+ </AppText>
+ ) : null}
+ {action ? <View className="mt-3">{action}</View> : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/Field.tsx b/mobile/src/components/ui/Field.tsx
new file mode 100644
index 0000000..c137f1a
--- /dev/null
+++ b/mobile/src/components/ui/Field.tsx
@@ -0,0 +1,90 @@
+import type { ReactNode } from 'react'
+import { Text, TextInput, TextInputProps, View } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import Reanimated, {
+ useSharedValue,
+ useAnimatedStyle,
+ withTiming,
+ interpolateColor,
+} from 'react-native-reanimated'
+import { useTheme } from '../../theme/useTheme'
+import { Label } from './Typography'
+
+interface Props extends TextInputProps {
+ label?: string
+ error?: string | null
+ className?: string
+ /** Optional leading glyph inside the box (e.g. a search icon). */
+ leftIcon?: LucideIcon
+ /** Optional trailing element inside the box (e.g. a spinner or clear button). */
+ rightSlot?: ReactNode
+}
+
+// Labeled text field, mirrors the web `.input` + `.label` pattern, with a focus
+// glow on the box.
+//
+// Focus styling runs through a Reanimated shared value, NOT React state: on the New
+// Architecture (Fabric), a re-render fired from a TextInput's own onFocus immediately
+// re-blurs the input (keyboard flashes up, then dismisses). Same fix as authui's
+// IconInput — any focus-reactive input must follow it. The animated border lives on a
+// wrapper (inline styles: animation-driven values are a documented className
+// exception), so `className` applies to the outer container for layout tweaks.
+//
+// `multiline` is the web `textarea min-h-20 resize-none` analog: taller floor,
+// top-aligned input, same UI-thread focus glow.
+export function Field({ label, error, className = '', leftIcon: LeftIcon, rightSlot, onFocus, onBlur, multiline, ...rest }: Props) {
+ const { colors, brand } = useTheme()
+ const focus = useSharedValue(0)
+ const boxStyle = useAnimatedStyle(() => ({
+ borderColor: error
+ ? brand.error
+ : interpolateColor(focus.value, [0, 1], [colors.border, brand.cyan]),
+ }))
+ return (
+ <View className={`gap-1.5 ${className}`}>
+ {label ? <Label>{label}</Label> : null}
+ <Reanimated.View
+ style={[
+ {
+ minHeight: multiline ? 80 : 48,
+ borderRadius: 8,
+ borderWidth: 1,
+ paddingHorizontal: 14,
+ paddingVertical: multiline ? 10 : 0,
+ backgroundColor: colors.overlay,
+ flexDirection: 'row',
+ alignItems: multiline ? 'flex-start' : 'center',
+ },
+ boxStyle,
+ ]}
+ >
+ {LeftIcon ? <LeftIcon size={18} color={colors.txMuted} style={{ marginRight: 8 }} /> : null}
+ <TextInput
+ className="flex-1 font-sans text-tx-primary"
+ // fontSize inline instead of the `text-base` class so NO lineHeight is imposed:
+ // on iOS a single-line TextInput with a set lineHeight top-aligns its text and
+ // clips descenders (g, j, p, y). Natural line metrics render them in full.
+ // Single-line gets an explicit `height` (not padding): a single-line TextInput
+ // vertically CENTERS its text within its frame (iOS always; browsers/RN-web via
+ // the native <input>), so a frame taller than the glyph box centres the text AND
+ // leaves room for descenders. Using paddingVertical instead top-aligned the text
+ // (frame == line box + pad pushed from the top) — it rode too high in the box.
+ style={multiline ? { fontSize: 16, minHeight: 60, textAlignVertical: 'top' } : { fontSize: 16, height: 46 }}
+ multiline={multiline}
+ placeholderTextColor={colors.txMuted}
+ onFocus={(e) => {
+ focus.value = withTiming(1, { duration: 150 })
+ onFocus?.(e)
+ }}
+ onBlur={(e) => {
+ focus.value = withTiming(0, { duration: 150 })
+ onBlur?.(e)
+ }}
+ {...rest}
+ />
+ {rightSlot ? <View style={{ marginLeft: 8 }}>{rightSlot}</View> : null}
+ </Reanimated.View>
+ {error ? <Text className="font-sans text-xs text-error-400">{error}</Text> : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/IconButton.tsx b/mobile/src/components/ui/IconButton.tsx
new file mode 100644
index 0000000..9a2758f
--- /dev/null
+++ b/mobile/src/components/ui/IconButton.tsx
@@ -0,0 +1,67 @@
+import { Pressable } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+
+type IconButtonVariant = 'brand' | 'danger' | 'ghost' | 'secondary' | 'solid'
+type IconButtonSize = 'sm' | 'md' | 'lg'
+
+interface Props {
+ icon: LucideIcon
+ /** Accessibility label — required, the button has no visible text. */
+ label: string
+ onPress?: () => void
+ variant?: IconButtonVariant
+ size?: IconButtonSize
+ disabled?: boolean
+ className?: string
+}
+
+const CONTAINER: Record<IconButtonSize, { box: string; icon: number }> = {
+ sm: { box: 'w-8 h-8 rounded-lg', icon: 14 },
+ md: { box: 'w-10 h-10 rounded-xl', icon: 16 },
+ lg: { box: 'w-12 h-12 rounded-xl', icon: 20 },
+}
+
+const VARIANT: Record<IconButtonVariant, string> = {
+ brand: 'bg-brand-500/10 border border-brand-500/20',
+ danger: '',
+ ghost: '',
+ secondary: 'bg-surface-muted border border-surface-border',
+ solid: 'bg-brand-500',
+}
+
+// Mirrors web ui/IconButton (same variants/sizes; onPress + accessibilityLabel
+// instead of onClick + aria-label). Container styling is className; the icon's
+// stroke is an SVG prop, so its color resolves from the theme.
+export function IconButton({
+ icon: Icon,
+ label,
+ onPress,
+ variant = 'ghost',
+ size = 'sm',
+ disabled = false,
+ className = '',
+}: Props) {
+ const { colors, brand, accent, isDark } = useTheme()
+ const c = CONTAINER[size]
+ const iconColor: Record<IconButtonVariant, string> = {
+ brand: accent,
+ // errorSoft reads well on dark but washes out on light — same split as AuthError.
+ danger: isDark ? brand.errorSoft : brand.error,
+ ghost: colors.txMuted,
+ secondary: colors.txPrimary,
+ solid: '#ffffff',
+ }
+ return (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel={label}
+ onPress={onPress}
+ disabled={disabled}
+ hitSlop={size === 'sm' ? 6 : 0}
+ className={`items-center justify-center active:scale-95 ${c.box} ${VARIANT[variant]} ${disabled ? 'opacity-40' : ''} ${className}`}
+ >
+ <Icon size={c.icon} color={iconColor[variant]} strokeWidth={2.2} />
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/ui/ListRow.tsx b/mobile/src/components/ui/ListRow.tsx
new file mode 100644
index 0000000..ab4d2fb
--- /dev/null
+++ b/mobile/src/components/ui/ListRow.tsx
@@ -0,0 +1,47 @@
+import { ReactNode } from 'react'
+import { Pressable, View } from 'react-native'
+import { AppText } from './Typography'
+
+interface Props {
+ /** Strings get the standard row typography; pass a node for custom content. */
+ primary: ReactNode
+ secondary?: ReactNode
+ /** Right-aligned slot — an IconButton, a value, a chevron. */
+ right?: ReactNode
+ onPress?: () => void
+ className?: string
+}
+
+// Mobile-only extraction of the list-row pattern (weight history): primary +
+// secondary text with a right-hand action, separated by hairline borders. Rendered
+// as a Pressable only when tappable so non-interactive rows don't announce as
+// buttons to screen readers.
+export function ListRow({ primary, secondary, right, onPress, className = '' }: Props) {
+ const body = (
+ <>
+ <View className="flex-1 pr-3">
+ {typeof primary === 'string' ? (
+ <AppText variant="bodySemibold">{primary}</AppText>
+ ) : (
+ primary
+ )}
+ {secondary ? (
+ typeof secondary === 'string' ? (
+ <AppText variant="caption">{secondary}</AppText>
+ ) : (
+ secondary
+ )
+ ) : null}
+ </View>
+ {right ?? null}
+ </>
+ )
+ const rowClass = `flex-row items-center justify-between py-3 border-b border-surface-border ${className}`
+ return onPress ? (
+ <Pressable accessibilityRole="button" onPress={onPress} className={`${rowClass} active:bg-surface-muted`}>
+ {body}
+ </Pressable>
+ ) : (
+ <View className={rowClass}>{body}</View>
+ )
+}
diff --git a/mobile/src/components/ui/ListScreenSkeleton.tsx b/mobile/src/components/ui/ListScreenSkeleton.tsx
new file mode 100644
index 0000000..6a1ccaa
--- /dev/null
+++ b/mobile/src/components/ui/ListScreenSkeleton.tsx
@@ -0,0 +1,37 @@
+import type { ReactNode } from 'react'
+import { View } from 'react-native'
+import { Screen } from './Screen'
+import { PageHeader } from './PageHeader'
+import { Skeleton, SkeletonList, SkeletonStatRow } from './Skeleton'
+
+interface Props {
+ /** Real page title — the header is a live control, not a placeholder. */
+ title: string
+ subtitle?: string
+ /** Real header action (e.g. the New/Log IconButton) — live immediately. */
+ action?: ReactNode
+ /** Number of summary stat placeholder cards (Workouts = 3, Programs = 2). */
+ statCount?: number
+ /** Show a search-bar placeholder under the stats. */
+ search?: boolean
+ /** Placeholder card rows. */
+ rows?: number
+}
+
+// Generic initial-load skeleton for the app's list screens (Workouts, Programs, …):
+// the REAL PageHeader + action render immediately (live controls), and only the
+// data-shaped regions — stat row, search bar, card list — are placeholders, laid out
+// 1:1 with the real screen so content fills in rather than popping after a blank
+// spinner. Per-screen skeletons are thin wrappers that pass their own title/stats.
+export function ListScreenSkeleton({ title, subtitle, action, statCount = 3, search = true, rows = 6 }: Props) {
+ return (
+ <Screen>
+ <View className="gap-5 py-4">
+ <PageHeader title={title} subtitle={subtitle} action={action} />
+ {statCount > 0 ? <SkeletonStatRow count={statCount} /> : null}
+ {search ? <Skeleton height={48} radius={8} /> : null}
+ </View>
+ <SkeletonList count={rows} />
+ </Screen>
+ )
+}
diff --git a/mobile/src/components/ui/Loading.tsx b/mobile/src/components/ui/Loading.tsx
new file mode 100644
index 0000000..0cf64a8
--- /dev/null
+++ b/mobile/src/components/ui/Loading.tsx
@@ -0,0 +1,151 @@
+import { useEffect } from 'react'
+import { View } from 'react-native'
+import Animated, {
+ Easing,
+ cancelAnimation,
+ interpolate,
+ interpolateColor,
+ useAnimatedStyle,
+ useSharedValue,
+ withDelay,
+ withRepeat,
+ withSequence,
+ withTiming,
+} from 'react-native-reanimated'
+import { LinearGradient } from 'expo-linear-gradient'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+// The web app's full-screen loader (web/src/components/Loading.tsx), ported 1:1: a
+// barbell that dips and flexes under load like a rep, five rep-dots blinking in a
+// chase, and the lyftr / LOADING wordmark. Geometry is in explicit px (the web uses
+// absolute Tailwind offsets, several non-standard) so the rig reads identically on
+// RN. Motion is on the UI thread via Reanimated (CSS @keyframes have no RN analog).
+
+const CYCLE = 1600 // ms — matches the web loop
+const DIP = 18 // px the bar assembly drops at the bottom of the rep
+const DOTS = 5
+
+// The rep timeline as progress breakpoints (0..1 of CYCLE): hold up, dip + flex,
+// hold at bottom, drive back up, hold. Same stops as the web pivot/flex keyframes.
+const STOPS = [0, 0.45, 0.55, 0.65, 0.8, 1]
+const DIP_AT = [0, 0, DIP, DIP, 0, 0]
+const FLEX_AT = [1, 1, 0.55, 0.55, 1, 1]
+
+// One lit rep-dot in the chase — owns its own clock so the five stagger cleanly.
+function RepDot({ index, mutedColor }: { index: number; mutedColor: string }) {
+ const on = useSharedValue(0)
+ useEffect(() => {
+ on.value = withDelay(
+ index * 160,
+ withRepeat(withSequence(
+ withTiming(1, { duration: 260, easing: Easing.out(Easing.quad) }),
+ withTiming(0, { duration: CYCLE - 260, easing: Easing.in(Easing.quad) }),
+ ), -1),
+ )
+ return () => cancelAnimation(on)
+ }, [index, on])
+
+ const style = useAnimatedStyle(() => ({
+ backgroundColor: interpolateColor(on.value, [0, 1], [mutedColor, '#00b8d9']),
+ shadowOpacity: on.value * 0.5,
+ transform: [{ scale: 0.9 + on.value * 0.15 }],
+ }))
+
+ return (
+ <Animated.View
+ style={[
+ { width: 10, height: 10, borderRadius: 5, shadowColor: '#00b8d9', shadowRadius: 6, shadowOffset: { width: 0, height: 0 } },
+ style,
+ ]}
+ />
+ )
+}
+
+export function Loading({ sublabel = 'Loading' }: { sublabel?: string }) {
+ const { colors, brand } = useTheme()
+ const t = useSharedValue(0)
+
+ useEffect(() => {
+ t.value = withRepeat(withTiming(1, { duration: CYCLE, easing: Easing.linear }), -1)
+ return () => cancelAnimation(t)
+ }, [t])
+
+ // The whole bar assembly (bar + plates + collars) dips together.
+ const assembly = useAnimatedStyle(() => ({
+ transform: [{ translateY: interpolate(t.value, STOPS, DIP_AT) }],
+ }))
+ // Only the bar itself flexes (compresses vertically) under the load.
+ const barFlex = useAnimatedStyle(() => ({
+ transform: [{ scaleY: interpolate(t.value, STOPS, FLEX_AT) }],
+ }))
+
+ // A plate: brand-outlined disc on the overlay surface, inset glow (via border).
+ const plate = (w: number, h: number, left: number | undefined, right: number | undefined, top: number) => (
+ <View
+ style={{
+ position: 'absolute', width: w, height: h, top, left, right,
+ borderRadius: 3, backgroundColor: colors.overlay, borderWidth: 1, borderColor: brand.cyan,
+ }}
+ />
+ )
+ const tick = (side: 'left' | 'right', top: number) => (
+ <View style={{ position: 'absolute', [side]: -3, top, width: 10, height: 2, borderRadius: 1, backgroundColor: colors.muted }} />
+ )
+
+ return (
+ <View className="flex-1 items-center justify-center bg-surface-base" style={{ gap: 44 }}>
+ {/* Barbell rig — 224×96 canvas, origin of the animated assembly at (112, 28). */}
+ <View style={{ width: 224, height: 96 }}>
+ {/* Uprights */}
+ <View style={{ position: 'absolute', left: 16, top: 0, height: 80, width: 4, borderRadius: 2, backgroundColor: colors.muted }}>
+ {tick('left', 28)}
+ {tick('left', 48)}
+ </View>
+ <View style={{ position: 'absolute', right: 16, top: 0, height: 80, width: 4, borderRadius: 2, backgroundColor: colors.muted }}>
+ {tick('right', 28)}
+ {tick('right', 48)}
+ </View>
+
+ {/* Bar assembly (pivots) */}
+ <Animated.View style={[{ position: 'absolute', left: 112, top: 28 }, assembly]}>
+ {/* Bar (flexes) */}
+ <Animated.View style={barFlex}>
+ <LinearGradient
+ colors={['#38d8fb', '#00b8d9', '#007a96']}
+ locations={[0, 0.6, 1]}
+ style={{ position: 'absolute', left: -96, top: -4, width: 192, height: 6, borderRadius: 3 }}
+ />
+ </Animated.View>
+
+ {/* Plates — outer→inner, growing taller inward, mirrored L/R. */}
+ {plate(16, 32, -112, undefined, -12)}
+ {plate(14, 40, -96, undefined, -16)}
+ {plate(12, 48, -80, undefined, -20)}
+ {plate(16, 32, undefined, -112, -12)}
+ {plate(14, 40, undefined, -96, -16)}
+ {plate(12, 48, undefined, -80, -20)}
+
+ {/* Collars */}
+ <View style={{ position: 'absolute', left: -68, top: -8, width: 4, height: 22, borderRadius: 2, backgroundColor: brand.cyan }} />
+ <View style={{ position: 'absolute', right: -68, top: -8, width: 4, height: 22, borderRadius: 2, backgroundColor: brand.cyan }} />
+ </Animated.View>
+ </View>
+
+ {/* Rep dots */}
+ <View className="flex-row" style={{ gap: 10 }}>
+ {Array.from({ length: DOTS }, (_, i) => (
+ <RepDot key={i} index={i} mutedColor={colors.muted} />
+ ))}
+ </View>
+
+ {/* Wordmark */}
+ <View className="items-center">
+ <AppText variant="heading" className="tracking-tight">lyftr</AppText>
+ <AppText variant="label" color="muted" className="mt-2 uppercase" style={{ letterSpacing: 3 }}>
+ {sublabel}
+ </AppText>
+ </View>
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/NumberField.tsx b/mobile/src/components/ui/NumberField.tsx
new file mode 100644
index 0000000..6e209d2
--- /dev/null
+++ b/mobile/src/components/ui/NumberField.tsx
@@ -0,0 +1,64 @@
+import { TextInput } from 'react-native'
+import { useTheme } from '../../theme/useTheme'
+import { useNumericText } from '../../hooks/useNumericText'
+
+interface Props {
+ value: string
+ onChange: (next: string) => void
+ /** 'numeric' = integers only (reps); 'decimal' allows one decimal point (weight). */
+ inputMode?: 'numeric' | 'decimal'
+ placeholder?: string
+ disabled?: boolean
+ accessibilityLabel?: string
+ /** iOS: id of an InputAccessoryView (e.g. NUMERIC_ACCESSORY_ID) to show a Done bar. */
+ inputAccessoryViewID?: string
+}
+
+// Web blocks bad keys in onKeyDown; RN keyboards have no such hook, so we sanitize
+// the changed text instead. Non-negative always; integer mode also strips the
+// decimal point so reps can't be typed fractional.
+function sanitize(raw: string, decimal: boolean): string {
+ let v = raw.replace(decimal ? /[^0-9.]/g : /[^0-9]/g, '')
+ if (decimal) {
+ const i = v.indexOf('.')
+ if (i !== -1) v = v.slice(0, i + 1) + v.slice(i + 1).replace(/\./g, '')
+ }
+ return v
+}
+
+// Mirrors web ui/NumberField: borderless big-number field for the inside of a
+// StepperTile (the tile is the visual container). Robust partial-entry typing via
+// useNumericText; the parent owns conversion/validation in onChange.
+export function NumberField({
+ value,
+ onChange,
+ inputMode = 'decimal',
+ placeholder = '0',
+ disabled = false,
+ accessibilityLabel,
+ inputAccessoryViewID,
+}: Props) {
+ const { colors } = useTheme()
+ const [text, setText] = useNumericText(value)
+ return (
+ <TextInput
+ value={text}
+ editable={!disabled}
+ placeholder={placeholder}
+ placeholderTextColor={colors.txMuted}
+ keyboardType={inputMode === 'numeric' ? 'number-pad' : 'decimal-pad'}
+ returnKeyType="done"
+ selectTextOnFocus
+ accessibilityLabel={accessibilityLabel}
+ inputAccessoryViewID={inputAccessoryViewID}
+ onChangeText={(raw) => {
+ const v = sanitize(raw, inputMode === 'decimal')
+ setText(v)
+ onChange(v)
+ }}
+ // tabular-nums keeps the value from jittering as digits change (web parity).
+ className={`w-full py-1 text-center font-display-heavy text-3xl text-tx-primary ${disabled ? 'opacity-40' : ''}`}
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ )
+}
diff --git a/mobile/src/components/ui/NumericKeyboardAccessory.tsx b/mobile/src/components/ui/NumericKeyboardAccessory.tsx
new file mode 100644
index 0000000..5edef92
--- /dev/null
+++ b/mobile/src/components/ui/NumericKeyboardAccessory.tsx
@@ -0,0 +1,22 @@
+import { InputAccessoryView, Keyboard, Platform, Pressable, Text, View } from 'react-native'
+
+// iOS number-pad / decimal-pad keyboards have NO return key, so there's no built-in way
+// to dismiss them once you're done typing reps/weights. This is the standard fix: a thin
+// "Done" bar pinned above the numeric keyboard. Reference it from a numeric TextInput via
+// `inputAccessoryViewID={NUMERIC_ACCESSORY_ID}`, and mount <NumericKeyboardAccessory/>
+// once on the screen. Android keyboards already dismiss on back/return, and
+// InputAccessoryView is iOS-only, so this is a no-op off iOS.
+export const NUMERIC_ACCESSORY_ID = 'lyftr-numeric-done'
+
+export function NumericKeyboardAccessory() {
+ if (Platform.OS !== 'ios') return null
+ return (
+ <InputAccessoryView nativeID={NUMERIC_ACCESSORY_ID}>
+ <View className="flex-row justify-end border-t border-surface-border bg-surface-raised px-2 py-1.5">
+ <Pressable onPress={() => Keyboard.dismiss()} hitSlop={8} accessibilityLabel="Dismiss keyboard" className="rounded-lg px-4 py-1.5 active:opacity-60">
+ <Text className="font-sans-bold text-base text-brand-500">Done</Text>
+ </Pressable>
+ </View>
+ </InputAccessoryView>
+ )
+}
diff --git a/mobile/src/components/ui/OptionPill.tsx b/mobile/src/components/ui/OptionPill.tsx
new file mode 100644
index 0000000..5c358bd
--- /dev/null
+++ b/mobile/src/components/ui/OptionPill.tsx
@@ -0,0 +1,41 @@
+import { Pressable, Text } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import * as Haptics from 'expo-haptics'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ label: string
+ icon?: LucideIcon
+ active: boolean
+ onPress: () => void
+ className?: string
+}
+
+// Mobile-only extraction unifying settings' UnitPill + ThemePill: a small set of
+// mutually-exclusive choices where each pill carries its own selected state.
+// (For a boxed, single-track control use SegmentedControl instead — pills suit 2–3
+// loose options with icons.)
+export function OptionPill({ label, icon: Icon, active, onPress, className = '' }: Props) {
+ const { colors } = useTheme()
+ // Icon stroke is an SVG prop → themed inline (documented className exception).
+ const tint = active ? '#ffffff' : colors.txSecondary
+ return (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityState={{ selected: active }}
+ onPress={() => {
+ if (active) return
+ Haptics.selectionAsync().catch(() => {})
+ onPress()
+ }}
+ className={`flex-row gap-2 px-5 h-11 rounded-lg items-center justify-center active:scale-95 ${
+ active ? 'bg-brand-500' : 'bg-surface-muted border border-surface-border'
+ } ${className}`}
+ >
+ {Icon ? <Icon color={tint} size={16} strokeWidth={2.2} /> : null}
+ <Text className={`font-sans-semibold text-sm ${active ? 'text-white' : 'text-tx-secondary'}`}>
+ {label}
+ </Text>
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/ui/PageHeader.tsx b/mobile/src/components/ui/PageHeader.tsx
new file mode 100644
index 0000000..ee13a4c
--- /dev/null
+++ b/mobile/src/components/ui/PageHeader.tsx
@@ -0,0 +1,27 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import { AppText } from './Typography'
+
+interface Props {
+ title: string
+ subtitle?: string
+ action?: ReactNode
+}
+
+// Mirrors web ui/PageHeader: display-font title, optional subtitle, right-aligned
+// action slot (typically an IconButton).
+export function PageHeader({ title, subtitle, action }: Props) {
+ return (
+ <View className="flex-row items-center justify-between gap-3">
+ <View className="flex-1">
+ <AppText variant="title">{title}</AppText>
+ {subtitle ? (
+ <AppText variant="caption" color="muted" className="mt-0.5">
+ {subtitle}
+ </AppText>
+ ) : null}
+ </View>
+ {action ? <View>{action}</View> : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/Screen.tsx b/mobile/src/components/ui/Screen.tsx
new file mode 100644
index 0000000..ee9f0af
--- /dev/null
+++ b/mobile/src/components/ui/Screen.tsx
@@ -0,0 +1,18 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import { SafeAreaView } from 'react-native-safe-area-context'
+
+interface Props {
+ children: ReactNode
+ className?: string
+}
+
+// Screen wrapper — base surface + top safe-area padding. Only the top edge is
+// insetted here: the bottom is owned by the tab bar (tabs) or the keyboard (forms).
+export function Screen({ children, className = '' }: Props) {
+ return (
+ <SafeAreaView className="flex-1 bg-surface-base" edges={['top']}>
+ <View className={`flex-1 px-5 ${className}`}>{children}</View>
+ </SafeAreaView>
+ )
+}
diff --git a/mobile/src/components/ui/SearchField.tsx b/mobile/src/components/ui/SearchField.tsx
new file mode 100644
index 0000000..6f2d5b8
--- /dev/null
+++ b/mobile/src/components/ui/SearchField.tsx
@@ -0,0 +1,48 @@
+import { ActivityIndicator, Pressable, type TextInputProps } from 'react-native'
+import { Search, X } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { Field } from './Field'
+
+interface Props extends Omit<TextInputProps, 'value' | 'onChangeText'> {
+ value: string
+ onChangeText: (text: string) => void
+ /** Show a trailing spinner (e.g. while a debounced query is fetching). When set, it
+ takes the trailing slot; otherwise a clear (×) button shows once there's text. */
+ loading?: boolean
+ placeholder?: string
+}
+
+// The app's standard search input: a Field with a leading search icon and a trailing
+// slot that is a spinner while `loading`, a clear (×) button when there's text, or
+// empty. Reusable across every searchable list (Workouts, Exercises, Food, …) so the
+// search affordance — icon, clear, loading — is identical everywhere.
+export function SearchField({ value, onChangeText, loading = false, placeholder = 'Search…', ...rest }: Props) {
+ const { accent, colors } = useTheme()
+ return (
+ <Field
+ leftIcon={Search}
+ value={value}
+ onChangeText={onChangeText}
+ placeholder={placeholder}
+ autoCapitalize="none"
+ autoCorrect={false}
+ returnKeyType="search"
+ rightSlot={
+ loading ? (
+ <ActivityIndicator size="small" color={accent} />
+ ) : value.length > 0 ? (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Clear search"
+ hitSlop={10}
+ onPress={() => onChangeText('')}
+ className="active:opacity-60"
+ >
+ <X size={18} color={colors.txMuted} />
+ </Pressable>
+ ) : null
+ }
+ {...rest}
+ />
+ )
+}
diff --git a/mobile/src/components/ui/Section.tsx b/mobile/src/components/ui/Section.tsx
new file mode 100644
index 0000000..726b96f
--- /dev/null
+++ b/mobile/src/components/ui/Section.tsx
@@ -0,0 +1,25 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import { Card } from './Card'
+import { Label } from './Typography'
+
+interface Props {
+ label: string
+ right?: ReactNode
+ children: ReactNode
+ className?: string
+}
+
+// Mobile-only extraction: the "Card with a muted uppercase micro-label" pattern that
+// every tab screen was hand-rolling (Account / Weight unit / Today's macros / ...).
+export function Section({ label, right, children, className = '' }: Props) {
+ return (
+ <Card className={className}>
+ <View className="flex-row items-center justify-between mb-2">
+ <Label>{label}</Label>
+ {right ? <View>{right}</View> : null}
+ </View>
+ {children}
+ </Card>
+ )
+}
diff --git a/mobile/src/components/ui/SectionHeader.tsx b/mobile/src/components/ui/SectionHeader.tsx
new file mode 100644
index 0000000..d5eb2e9
--- /dev/null
+++ b/mobile/src/components/ui/SectionHeader.tsx
@@ -0,0 +1,30 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+interface Props {
+ icon?: LucideIcon
+ title: string
+ right?: ReactNode
+ className?: string
+}
+
+// Mirrors web ui/SectionHeader: brand-tinted icon + small semibold title, optional
+// right slot (count badge, "See all" link, ...).
+export function SectionHeader({ icon: Icon, title, right, className = '' }: Props) {
+ // lucide icons are SVG — stroke color is a native prop NativeWind can't set, so it
+ // comes from the theme (the documented className exception). `accent` keeps the
+ // cyan legible on both light and dark surfaces.
+ const { accent } = useTheme()
+ return (
+ <View className={`flex-row items-center justify-between ${className}`}>
+ <View className="flex-row items-center gap-2">
+ {Icon ? <Icon size={15} color={accent} strokeWidth={2.2} /> : null}
+ <AppText variant="subheading">{title}</AppText>
+ </View>
+ {right ? <View>{right}</View> : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/SegmentedControl.test.tsx b/mobile/src/components/ui/SegmentedControl.test.tsx
new file mode 100644
index 0000000..a50446d
--- /dev/null
+++ b/mobile/src/components/ui/SegmentedControl.test.tsx
@@ -0,0 +1,29 @@
+import { fireEvent, render, screen } from '@testing-library/react-native'
+import { SegmentedControl } from './SegmentedControl'
+
+const options = [
+ { value: 'a', label: 'Alpha' },
+ { value: 'b', label: 'Beta' },
+] as const
+
+describe('SegmentedControl', () => {
+ it('renders every option label', () => {
+ render(<SegmentedControl options={options} value="a" onChange={() => {}} />)
+ expect(screen.getByText('Alpha')).toBeTruthy()
+ expect(screen.getByText('Beta')).toBeTruthy()
+ })
+
+ it('fires onChange with the value when an inactive option is pressed', () => {
+ const onChange = jest.fn()
+ render(<SegmentedControl options={options} value="a" onChange={onChange} />)
+ fireEvent.press(screen.getByText('Beta'))
+ expect(onChange).toHaveBeenCalledWith('b')
+ })
+
+ it('does not fire onChange when the already-active option is pressed', () => {
+ const onChange = jest.fn()
+ render(<SegmentedControl options={options} value="a" onChange={onChange} />)
+ fireEvent.press(screen.getByText('Alpha'))
+ expect(onChange).not.toHaveBeenCalled()
+ })
+})
diff --git a/mobile/src/components/ui/SegmentedControl.tsx b/mobile/src/components/ui/SegmentedControl.tsx
new file mode 100644
index 0000000..9af2825
--- /dev/null
+++ b/mobile/src/components/ui/SegmentedControl.tsx
@@ -0,0 +1,63 @@
+import { Pressable, Text, View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+
+interface Option<T extends string> {
+ value: T
+ label: string
+}
+
+interface Props<T extends string> {
+ options: readonly Option<T>[] | Option<T>[]
+ value: T
+ onChange: (v: T) => void
+ size?: 'sm' | 'md'
+ className?: string
+}
+
+const ITEM: Record<'sm' | 'md', { item: string; text: string }> = {
+ sm: { item: 'py-1.5 rounded-md', text: 'text-xs' },
+ md: { item: 'py-2.5 rounded-lg', text: 'text-sm' },
+}
+
+// Mirrors web ui/SegmentedControl: pill container on the overlay surface, active
+// segment raised with a border. Generic over the value type so `onChange` stays
+// narrow at call sites.
+export function SegmentedControl<T extends string>({
+ options,
+ value,
+ onChange,
+ size = 'md',
+ className = '',
+}: Props<T>) {
+ const s = ITEM[size]
+ return (
+ <View className={`flex-row gap-1 bg-surface-overlay rounded-xl p-1 ${className}`}>
+ {options.map((opt) => {
+ const active = opt.value === value
+ return (
+ <Pressable
+ key={opt.value}
+ accessibilityRole="button"
+ accessibilityState={{ selected: active }}
+ onPress={() => {
+ if (active) return
+ // Segment switches are exactly what iOS uses selection haptics for;
+ // no-ops (web) are swallowed rather than crashing the tap.
+ Haptics.selectionAsync().catch(() => {})
+ onChange(opt.value)
+ }}
+ className={`flex-1 items-center justify-center ${s.item} ${
+ active ? 'bg-surface-raised border border-surface-border' : ''
+ }`}
+ >
+ <Text
+ className={`font-sans-semibold ${s.text} ${active ? 'text-tx-primary' : 'text-tx-muted'}`}
+ >
+ {opt.label}
+ </Text>
+ </Pressable>
+ )
+ })}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/SettingsGroup.tsx b/mobile/src/components/ui/SettingsGroup.tsx
new file mode 100644
index 0000000..15613ca
--- /dev/null
+++ b/mobile/src/components/ui/SettingsGroup.tsx
@@ -0,0 +1,35 @@
+import { ReactNode } from 'react'
+import { View } from 'react-native'
+import { Card } from './Card'
+import { AppText } from './Typography'
+
+interface Props {
+ /** Uppercase section header, rendered in the margin *above* the card (iOS grouped style). */
+ title?: string
+ /** Muted helper text under the card — for explaining a whole group. */
+ footnote?: string
+ children: ReactNode
+ className?: string
+}
+
+// iOS-style grouped settings section: a margin header, a rounded card holding the rows,
+// and an optional footnote beneath. The card drops its vertical padding so `SettingsRow`s
+// sit edge-to-edge and manage their own rhythm + hairline dividers; horizontal padding is
+// kept so row content stays inset from the card edge.
+export function SettingsGroup({ title, footnote, children, className = '' }: Props) {
+ return (
+ <View className={className}>
+ {title ? (
+ <AppText variant="caption" color="muted" className="mb-2 ml-1 uppercase tracking-wider">
+ {title}
+ </AppText>
+ ) : null}
+ <Card className="py-0">{children}</Card>
+ {footnote ? (
+ <AppText variant="caption" color="muted" className="mt-2 ml-1 leading-4">
+ {footnote}
+ </AppText>
+ ) : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/SettingsRow.tsx b/mobile/src/components/ui/SettingsRow.tsx
new file mode 100644
index 0000000..dc75409
--- /dev/null
+++ b/mobile/src/components/ui/SettingsRow.tsx
@@ -0,0 +1,101 @@
+import { ReactNode } from 'react'
+import { Pressable, View } from 'react-native'
+import { ChevronRight } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+type Tint = 'brand' | 'danger' | 'muted'
+
+interface Props {
+ /** Leading tinted icon chip — the row's glyph (adds scannability to a long list). */
+ icon?: LucideIcon
+ /** Chip/icon color family. `destructive` forces danger regardless. */
+ tint?: Tint
+ label: string
+ /** Muted sub-label under the title (wraps). */
+ description?: string
+ /** Right-aligned muted current value (e.g. an email or "lbs"). Ignored if `right` is set. */
+ value?: string
+ /** Right-aligned control node — a Toggle, a small button. Takes precedence over `value`. */
+ right?: ReactNode
+ /** Full-width control rendered under the row — a SegmentedControl or stepper (avoids the
+ * native right-slot collapse that clips flex-1 controls). */
+ below?: ReactNode
+ onPress?: () => void
+ /** Drill-in affordance. */
+ chevron?: boolean
+ /** Red label + red icon for delete/reset-style actions. */
+ destructive?: boolean
+ /** Hairline top border — set on every row but the first to divide a group. */
+ divider?: boolean
+}
+
+const CHIP: Record<Tint, string> = {
+ brand: 'bg-brand-500/10',
+ danger: 'bg-error-500/10',
+ muted: 'bg-surface-muted',
+}
+
+// The settings list-row primitive: a tinted icon chip, a label (+ optional description),
+// and either a right-aligned value/control or a full-width control below. Mirrors the
+// iOS/Linear row (label left · control right · chevron for drill-ins); rows are ≥52px for a
+// comfortable tap target and press with a subtle fade when interactive.
+export function SettingsRow({
+ icon: Icon,
+ tint = 'brand',
+ label,
+ description,
+ value,
+ right,
+ below,
+ onPress,
+ chevron,
+ destructive,
+ divider,
+}: Props) {
+ const { colors, accent, brand, isDark } = useTheme()
+ const isDanger = destructive || tint === 'danger'
+ // errorSoft reads on dark, error on light — same split the IconButton/ConfirmSheet use.
+ const iconColor = isDanger ? (isDark ? brand.errorSoft : brand.error) : tint === 'muted' ? colors.txMuted : accent
+ const chip = isDanger ? CHIP.danger : CHIP[tint]
+
+ const line = (
+ <View className="flex-row items-center py-3" style={{ minHeight: 52 }}>
+ {Icon ? (
+ <View className={`mr-3 h-7 w-7 items-center justify-center rounded-lg ${chip}`}>
+ <Icon size={16} color={iconColor} strokeWidth={2.2} />
+ </View>
+ ) : null}
+ <View className="flex-1 pr-3">
+ <AppText variant="bodySemibold" className={destructive ? 'text-error-400' : ''}>
+ {label}
+ </AppText>
+ {description ? (
+ <AppText variant="caption" color="muted" className="mt-0.5">
+ {description}
+ </AppText>
+ ) : null}
+ </View>
+ {right ? right : value ? (
+ <AppText variant="body" color="muted" numberOfLines={1} className="max-w-[56%]">
+ {value}
+ </AppText>
+ ) : null}
+ {chevron ? <ChevronRight size={18} color={colors.txMuted} style={{ marginLeft: 4 }} /> : null}
+ </View>
+ )
+
+ return (
+ <View className={divider ? 'border-t border-surface-border' : ''}>
+ {onPress ? (
+ <Pressable accessibilityRole="button" onPress={onPress} className="active:opacity-60">
+ {line}
+ </Pressable>
+ ) : (
+ line
+ )}
+ {below ? <View className="pb-3">{below}</View> : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/Sheet.tsx b/mobile/src/components/ui/Sheet.tsx
new file mode 100644
index 0000000..de33b61
--- /dev/null
+++ b/mobile/src/components/ui/Sheet.tsx
@@ -0,0 +1,63 @@
+import { useEffect, type ReactNode } from 'react'
+import { Modal, Pressable, View } from 'react-native'
+import Animated, { Easing, SlideInDown } from 'react-native-reanimated'
+import { useSafeAreaInsets } from 'react-native-safe-area-context'
+import * as Haptics from 'expo-haptics'
+
+// Duration of the slide-up; exported so callers can time a follow-up sheet (e.g. an
+// ActionSheet handing off to a ConfirmSheet) to start after this one dismisses.
+export const SHEET_ANIM_MS = 240
+
+type SheetHaptic = 'selection' | 'warning' | 'none'
+
+interface Props {
+ open: boolean
+ onClose: () => void
+ children: ReactNode
+ /** Extra bottom padding beyond the safe-area inset (px). */
+ bottomInset?: number
+ /** Haptic fired as the sheet opens. */
+ haptic?: SheetHaptic
+}
+
+// The generic bottom-sheet shell every sheet in the app is built from (ConfirmSheet,
+// ActionSheet, …). Owns the device-correct behavior once, so nothing re-derives it:
+// • Insets — a SafeAreaProvider nested inside a Modal measures 0 on a real phone, so
+// we read the root provider's insets (this sits in the app tree; the Modal is just
+// a portal) and pad the sheet's bottom manually.
+// • Motion — animationType="slide" would slide the whole overlay, scrim included, up
+// from the bottom. Instead the scrim fades in place (animationType="fade") and only
+// the sheet slides, on an ease-out curve (no spring bounce).
+// Children own their horizontal padding; the shell provides the surface, grabber, and
+// safe bottom. Tap the scrim to dismiss; the sheet body stops propagation.
+export function Sheet({ open, onClose, children, bottomInset = 20, haptic = 'none' }: Props) {
+ const insets = useSafeAreaInsets()
+
+ useEffect(() => {
+ if (!open || haptic === 'none') return
+ const fire = haptic === 'warning'
+ ? Haptics.notificationAsync(Haptics.NotificationFeedbackType.Warning)
+ : Haptics.selectionAsync()
+ fire.catch(() => {})
+ }, [open, haptic])
+
+ if (!open) return null
+
+ return (
+ <Modal visible transparent statusBarTranslucent animationType="fade" onRequestClose={onClose}>
+ <Pressable className="flex-1 justify-end bg-black/60" onPress={onClose}>
+ <Animated.View entering={SlideInDown.duration(SHEET_ANIM_MS).easing(Easing.out(Easing.cubic))}>
+ <Pressable
+ onPress={(e) => e.stopPropagation()}
+ style={{ paddingBottom: insets.bottom + bottomInset }}
+ className="rounded-t-3xl border border-surface-border bg-surface-base pt-3"
+ >
+ {/* Grabber — signals a dismissible sheet; matches the web handle. */}
+ <View className="mx-auto mb-3 h-1 w-10 rounded-full bg-surface-muted" />
+ {children}
+ </Pressable>
+ </Animated.View>
+ </Pressable>
+ </Modal>
+ )
+}
diff --git a/mobile/src/components/ui/SheetButton.tsx b/mobile/src/components/ui/SheetButton.tsx
new file mode 100644
index 0000000..dac561e
--- /dev/null
+++ b/mobile/src/components/ui/SheetButton.tsx
@@ -0,0 +1,87 @@
+import { Pressable } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+type Variant = 'muted' | 'neutral' | 'brandOutline' | 'primary' | 'destructive'
+
+interface Props {
+ label: string
+ onPress: () => void
+ variant?: Variant
+ /** Optional leading icon (e.g. the action's glyph). */
+ icon?: LucideIcon
+ /** Content alignment — 'left' for menu-row actions, 'center' for Cancel/confirm. */
+ align?: 'center' | 'left'
+ disabled?: boolean
+}
+
+// The chunky button used inside sheets (Cancel / confirm rows, and each ActionSheet
+// option). 52pt tall, rounded-2xl, fills its parent's width. Variants:
+// • muted — gray fill, secondary label (Cancel)
+// • neutral — gray fill, primary label + brand icon (a normal menu action)
+// • brandOutline — brand-tinted fill + border + accent label/icon (matches the
+// detail screen's Edit pill)
+// • primary — solid brand, white (the positive commit)
+// • destructive — solid red, white (delete)
+//
+// Polish that makes them feel native: a light haptic + a subtle press-scale on tap,
+// and a soft coloured shadow lifting the solid variants off the sheet.
+const FILL: Record<Variant, string> = {
+ muted: 'bg-surface-muted active:opacity-70',
+ neutral: 'bg-surface-muted active:opacity-80',
+ brandOutline: 'bg-brand-500/10 border border-brand-500/20 active:opacity-70',
+ primary: 'bg-brand-500 active:opacity-90',
+ destructive: 'bg-error-500 active:opacity-90',
+}
+
+export function SheetButton({
+ label, onPress, variant = 'muted', icon: Icon, align = 'center', disabled = false,
+}: Props) {
+ const { colors, brand, accent } = useTheme()
+ const labelColor =
+ variant === 'muted' ? colors.txSecondary
+ : variant === 'neutral' ? colors.txPrimary
+ : variant === 'brandOutline' ? accent
+ : '#ffffff'
+ // Brand/neutral actions carry the accent glyph; filled variants carry white;
+ // muted's icon (rare) matches its secondary label.
+ const iconColor =
+ variant === 'brandOutline' || variant === 'neutral' ? accent
+ : variant === 'muted' ? colors.txSecondary
+ : '#ffffff'
+
+ // Solid variants lift off the sheet with a soft shadow tinted to their own colour;
+ // outlined/muted stay flat (a shadow under a translucent fill reads as grime).
+ const filled = variant === 'primary' || variant === 'destructive'
+ const shadow = filled
+ ? {
+ shadowColor: variant === 'destructive' ? brand.error : brand.cyan,
+ shadowOpacity: 0.3,
+ shadowRadius: 12,
+ shadowOffset: { width: 0, height: 5 },
+ elevation: 5,
+ }
+ : undefined
+
+ const press = () => {
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light).catch(() => {})
+ onPress()
+ }
+
+ return (
+ <Pressable
+ accessibilityRole="button"
+ onPress={press}
+ disabled={disabled}
+ style={shadow}
+ className={`h-[52px] w-full flex-row items-center gap-2.5 rounded-2xl active:scale-[0.98] ${
+ align === 'left' ? 'justify-start px-4' : 'justify-center'
+ } ${FILL[variant]} ${disabled ? 'opacity-50' : ''}`}
+ >
+ {Icon ? <Icon size={18} color={iconColor} strokeWidth={2.4} /> : null}
+ <AppText variant="bodySemibold" style={{ color: labelColor }}>{label}</AppText>
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/ui/Skeleton.tsx b/mobile/src/components/ui/Skeleton.tsx
new file mode 100644
index 0000000..a213356
--- /dev/null
+++ b/mobile/src/components/ui/Skeleton.tsx
@@ -0,0 +1,145 @@
+import { useEffect, useState } from 'react'
+import { StyleSheet, View, type ViewStyle } from 'react-native'
+import Animated, {
+ Easing,
+ useAnimatedStyle,
+ useSharedValue,
+ withRepeat,
+ withTiming,
+} from 'react-native-reanimated'
+import { LinearGradient } from 'expo-linear-gradient'
+import { useTheme } from '../../theme/useTheme'
+import { Card } from './Card'
+
+// A shimmering placeholder block — the skeleton-screen primitive. Research is clear
+// that skeletons beat spinners for *content* loads (users read them as ~20–30% faster
+// because the layout is already there), and that a slow left→right SWEEP is perceived
+// as shorter than a pulse. So this is a muted rounded box with a highlight band that
+// sweeps across on a ~1.2s loop, clipped by overflow-hidden. Compose these into
+// content-shaped skeletons (see WorkoutsSkeleton); never use it for confirmations —
+// a spinner is right there.
+const SWEEP_MS = 1200
+
+interface Props {
+ /** Explicit width; omit to fill the parent (flex/stretch) and measure via onLayout. */
+ width?: number | string
+ height?: number
+ radius?: number
+ style?: ViewStyle
+ className?: string
+}
+
+export function Skeleton({ width, height = 14, radius = 8, style, className }: Props) {
+ const { colors, isDark } = useTheme()
+ // The sweep needs a pixel width to translate across; capture it once laid out.
+ const [w, setW] = useState(typeof width === 'number' ? width : 0)
+ const t = useSharedValue(0)
+
+ useEffect(() => {
+ if (!w) return
+ t.value = withRepeat(withTiming(1, { duration: SWEEP_MS, easing: Easing.inOut(Easing.ease) }), -1, false)
+ }, [w, t])
+
+ // Band travels from fully off the left edge to fully off the right edge.
+ const sweep = useAnimatedStyle(() => ({ transform: [{ translateX: -w + t.value * (2 * w) }] }))
+
+ // A translucent-white highlight reads as a shimmer on both themes (bright sweep on
+ // light, faint on dark) without needing a second solid token.
+ const highlight = isDark ? 'rgba(255,255,255,0.07)' : 'rgba(255,255,255,0.65)'
+ const edge = isDark ? 'rgba(255,255,255,0)' : 'rgba(255,255,255,0)'
+
+ return (
+ <View
+ onLayout={typeof width === 'number' ? undefined : (e) => setW(e.nativeEvent.layout.width)}
+ style={[{ width: width as ViewStyle['width'], height, borderRadius: radius, backgroundColor: colors.muted, overflow: 'hidden' }, style]}
+ className={className}
+ >
+ {w > 0 ? (
+ <Animated.View style={[StyleSheet.absoluteFillObject, { width: w }, sweep]}>
+ <LinearGradient
+ colors={[edge, highlight, edge]}
+ start={{ x: 0, y: 0.5 }}
+ end={{ x: 1, y: 0.5 }}
+ style={StyleSheet.absoluteFillObject}
+ />
+ </Animated.View>
+ ) : null}
+ </View>
+ )
+}
+
+// ── Reusable composites ─────────────────────────────────────────────────────────
+// These build content-shaped skeletons out of the atom above so any list/detail page
+// (Workouts, Weight, Dashboard, future Food/Programs) can drop one in without
+// re-deriving line widths and card geometry. Compose them; only page-unique bits
+// (e.g. a chart placeholder) need bespoke <Skeleton/> blocks.
+
+// A stack of text-line placeholders: a heavier "title" line then lighter meta lines.
+// widths cycle so successive lines look naturally ragged.
+export function SkeletonText({ lines = 2, widths, style }: {
+ lines?: number
+ widths?: (number | string)[]
+ style?: ViewStyle
+}) {
+ const W = widths ?? ['60%', '42%', '34%']
+ return (
+ <View style={style} className="gap-2">
+ {Array.from({ length: lines }).map((_, i) => (
+ <Skeleton key={i} width={W[i % W.length]} height={i === 0 ? 15 : 11} radius={i === 0 ? 6 : 5} />
+ ))}
+ </View>
+ )
+}
+
+// A generic list-row placeholder inside a Card: optional leading square (thumbnail),
+// text lines, optional trailing glyph — the shape of the app's card list rows.
+export function SkeletonListRow({ avatar = 44, lines = 3, trailing = true }: {
+ avatar?: number | false
+ lines?: number
+ trailing?: boolean
+}) {
+ return (
+ <Card className="flex-row items-center gap-3 rounded-2xl">
+ {avatar !== false ? <Skeleton width={avatar} height={avatar} radius={12} /> : null}
+ <SkeletonText lines={lines} style={{ flex: 1 }} />
+ {trailing ? <Skeleton width={20} height={20} radius={6} /> : null}
+ </Card>
+ )
+}
+
+// `count` list-row placeholders with the app's standard row gap — a drop-in for any
+// paginated list's initial load. Extra props forward to each row.
+export function SkeletonList({ count = 6, ...row }: {
+ count?: number
+} & Parameters<typeof SkeletonListRow>[0]) {
+ return (
+ <View className="gap-3">
+ {Array.from({ length: count }).map((_, i) => (
+ <SkeletonListRow key={i} {...row} />
+ ))}
+ </View>
+ )
+}
+
+// A single summary-stat card placeholder (label + big value), and a row of them — the
+// shape used by the Workouts/Weight/Dashboard stat grids.
+export function SkeletonStat() {
+ return (
+ <Card className="flex-1 rounded-2xl" style={{ paddingHorizontal: 12 }}>
+ <Skeleton width={40} height={10} radius={4} />
+ <View className="mt-2.5">
+ <Skeleton width={52} height={22} radius={6} />
+ </View>
+ </Card>
+ )
+}
+
+export function SkeletonStatRow({ count = 3 }: { count?: number }) {
+ return (
+ <View className="flex-row gap-3">
+ {Array.from({ length: count }).map((_, i) => (
+ <SkeletonStat key={i} />
+ ))}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/Stat.tsx b/mobile/src/components/ui/Stat.tsx
new file mode 100644
index 0000000..a1a9089
--- /dev/null
+++ b/mobile/src/components/ui/Stat.tsx
@@ -0,0 +1,36 @@
+import { Text, View } from 'react-native'
+import { AppText } from './Typography'
+
+interface Props {
+ label: string
+ value: string | number
+ unit?: string
+ /** Tiny third line, e.g. the "/ 150g" goal under a macro. */
+ sublabel?: string
+ /** Prefix positive numeric values with "+" (deltas like 7d/30d change). */
+ signed?: boolean
+ className?: string
+}
+
+// Mobile-only extraction unifying the dashboard's Macro and the weight screen's Stat:
+// a centered value (+ optional inline unit), a label, and an optional sub-line.
+// Intended for row layouts (`flex-row justify-between` of several Stats).
+export function Stat({ label, value, unit, sublabel, signed = false, className = '' }: Props) {
+ const display = signed && typeof value === 'number' && value >= 0 ? `+${value}` : String(value)
+ return (
+ <View className={`items-center ${className}`}>
+ <Text
+ className="font-display text-lg text-tx-primary"
+ // Tabular digits so a row of Stats doesn't wobble as values update.
+ style={{ fontVariant: ['tabular-nums'] }}
+ >
+ {display}
+ {unit ? <Text className="font-sans text-sm text-tx-muted"> {unit}</Text> : null}
+ </Text>
+ <AppText variant="caption">{label}</AppText>
+ {sublabel ? (
+ <Text className="font-sans text-[10px] text-tx-muted">{sublabel}</Text>
+ ) : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/StepperTile.tsx b/mobile/src/components/ui/StepperTile.tsx
new file mode 100644
index 0000000..8a438df
--- /dev/null
+++ b/mobile/src/components/ui/StepperTile.tsx
@@ -0,0 +1,70 @@
+import { ReactNode } from 'react'
+import { Pressable, View } from 'react-native'
+import { Minus, Plus } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import * as Haptics from 'expo-haptics'
+import { useTheme } from '../../theme/useTheme'
+import { Label } from './Typography'
+
+interface Props {
+ icon: LucideIcon
+ label: string
+ /** Concise metric name for the step buttons' accessibility labels (e.g. "reps"). */
+ name: string
+ step: number
+ onStep: (delta: number) => void
+ disabled?: boolean
+ /** The value field (a NumberField) shown between header and footer. */
+ children: ReactNode
+}
+
+// Mirrors web ui/StepperTile: a metric tile — icon header, a full-width value field,
+// and a split decrement/increment footer — so reps + weight entry share one layout.
+// Not built on Card: the ± footer needs edge-to-edge buttons, which Card's p-4 padding
+// would fight.
+export function StepperTile({
+ icon: Icon,
+ label,
+ name,
+ step,
+ onStep,
+ disabled = false,
+ children,
+}: Props) {
+ const { colors, accent } = useTheme()
+
+ const tap = (delta: number) => {
+ // A light tick per ± tap makes repeated stepping feel mechanical (in the good,
+ // clicky-dial way); swallow the rejection where haptics don't exist (web).
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light).catch(() => {})
+ onStep(delta)
+ }
+
+ const stepBtn = (delta: number, StepIcon: LucideIcon, side: string) => (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel={`${delta < 0 ? 'Decrease' : 'Increase'} ${name}`}
+ disabled={disabled}
+ onPress={() => tap(delta)}
+ className={`flex-1 py-2.5 items-center justify-center active:bg-surface-muted ${disabled ? 'opacity-30' : ''} ${side}`}
+ >
+ <StepIcon size={20} color={colors.txSecondary} strokeWidth={2.2} />
+ </Pressable>
+ )
+
+ return (
+ <View className="bg-surface-raised border border-surface-border rounded-xl overflow-hidden">
+ <View className="px-3 pt-3 pb-1.5 items-center gap-1">
+ <View className="flex-row items-center gap-1.5">
+ <Icon size={14} color={accent} strokeWidth={2.2} />
+ <Label color="muted">{label}</Label>
+ </View>
+ {children}
+ </View>
+ <View className="flex-row border-t border-surface-border">
+ {stepBtn(-step, Minus, 'border-r border-surface-border')}
+ {stepBtn(step, Plus, '')}
+ </View>
+ </View>
+ )
+}
diff --git a/mobile/src/components/ui/Toast.tsx b/mobile/src/components/ui/Toast.tsx
new file mode 100644
index 0000000..c60be40
--- /dev/null
+++ b/mobile/src/components/ui/Toast.tsx
@@ -0,0 +1,116 @@
+import { useEffect } from 'react'
+import { Pressable, View } from 'react-native'
+import Animated, { FadeInUp, FadeOutDown } from 'react-native-reanimated'
+import { X, ChevronRight } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from './Typography'
+
+export type ToastVariant = 'default' | 'success' | 'brand' | 'warning' | 'error'
+
+interface Props {
+ title: string
+ description?: string
+ icon?: LucideIcon
+ variant?: ToastVariant
+ /** When set, the body is tappable (a chevron affordance is shown). */
+ onPress?: () => void
+ onDismiss: () => void
+ /** Auto-dismiss delay; pass 0 to keep it until dismissed. Default 4s. */
+ autoDismissMs?: number
+ /** Extra classes on the absolute wrapper (e.g. to raise the dock point). */
+ className?: string
+}
+
+// Semantic colour applied only to the icon chip + border, keeping the text in the
+// normal tx-* hierarchy — a fully tinted toast reads as obnoxious over content.
+const VARIANTS: Record<ToastVariant, { border: string; chip: string }> = {
+ default: { border: 'border-surface-border', chip: 'bg-surface-muted border-surface-border' },
+ success: { border: 'border-success-500/20', chip: 'bg-success-500/10 border-success-500/20' },
+ brand: { border: 'border-brand-500/20', chip: 'bg-brand-500/10 border-brand-500/20' },
+ warning: { border: 'border-warning-500/20', chip: 'bg-warning-500/10 border-warning-500/20' },
+ error: { border: 'border-error-500/20', chip: 'bg-error-500/10 border-error-500/20' },
+}
+
+// A dismissible floating toast — the app's shared transient notification, mirror of
+// web ui/Toast. No portal needed on RN: render it as the LAST child of the screen
+// root and the absolute wrapper docks it just above the tab bar (screen content is
+// laid out above the bar, so bottom-3 clears it without a height constant).
+export function Toast({
+ title,
+ description,
+ icon: Icon,
+ variant = 'default',
+ onPress,
+ onDismiss,
+ autoDismissMs = 4000,
+ className = '',
+}: Props) {
+ const { colors, brand, accent, isDark } = useTheme()
+
+ // Armed once on mount — parent re-renders must not extend the window (0 disables).
+ useEffect(() => {
+ if (!autoDismissMs) return
+ const id = setTimeout(onDismiss, autoDismissMs)
+ return () => clearTimeout(id)
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [])
+
+ // Icon `color` is a component prop, so it must come from the theme object (not a
+ // className). Soft shades read on dark but wash out on light — pick via isDark
+ // (same legibility rule as IconButton's danger variant).
+ const ICON_COLOR: Record<ToastVariant, string> = {
+ default: colors.txSecondary,
+ success: isDark ? brand.successSoft : brand.success,
+ brand: accent,
+ warning: isDark ? brand.warningSoft : brand.warning,
+ error: isDark ? brand.errorSoft : brand.error,
+ }
+ const v = VARIANTS[variant]
+
+ const body = (
+ <>
+ {Icon && (
+ <View className={`w-8 h-8 rounded-full border items-center justify-center ${v.chip}`}>
+ <Icon size={16} color={ICON_COLOR[variant]} />
+ </View>
+ )}
+ <View className="flex-1">
+ <AppText variant="subheading">{title}</AppText>
+ {description ? (
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {description}
+ </AppText>
+ ) : null}
+ </View>
+ {onPress && <ChevronRight size={16} color={colors.txMuted} />}
+ </>
+ )
+
+ return (
+ <Animated.View
+ entering={FadeInUp.duration(200)}
+ exiting={FadeOutDown.duration(150)}
+ accessibilityRole="alert"
+ className={`absolute bottom-3 left-3 right-3 z-50 ${className}`}
+ >
+ <View className={`flex-row items-center gap-3 rounded-2xl px-4 py-3 bg-surface-raised border shadow-lg ${v.border}`}>
+ {onPress ? (
+ <Pressable onPress={onPress} className="flex-row items-center gap-3 flex-1 active:scale-95">
+ {body}
+ </Pressable>
+ ) : (
+ <View className="flex-row items-center gap-3 flex-1">{body}</View>
+ )}
+ <Pressable
+ onPress={onDismiss}
+ accessibilityLabel="Dismiss"
+ hitSlop={8}
+ className="p-1.5 -m-1.5 active:opacity-60"
+ >
+ <X size={16} color={colors.txMuted} />
+ </Pressable>
+ </View>
+ </Animated.View>
+ )
+}
diff --git a/mobile/src/components/ui/Toggle.tsx b/mobile/src/components/ui/Toggle.tsx
new file mode 100644
index 0000000..c2764c1
--- /dev/null
+++ b/mobile/src/components/ui/Toggle.tsx
@@ -0,0 +1,31 @@
+import { Switch } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ value: boolean
+ onValueChange: (next: boolean) => void
+ disabled?: boolean
+ accessibilityLabel?: string
+}
+
+// The app's boolean control — a themed platform Switch (brand-tinted track) with a
+// selection tick on flip, so every on/off setting reads and feels the same. Booleans use
+// this instead of a two-segment control (iOS/Hevy/Strong convention).
+export function Toggle({ value, onValueChange, disabled = false, accessibilityLabel }: Props) {
+ const { colors, accent } = useTheme()
+ return (
+ <Switch
+ value={value}
+ disabled={disabled}
+ accessibilityLabel={accessibilityLabel}
+ onValueChange={(v) => {
+ Haptics.selectionAsync().catch(() => {})
+ onValueChange(v)
+ }}
+ trackColor={{ false: colors.border, true: accent }}
+ thumbColor="#ffffff"
+ ios_backgroundColor={colors.border}
+ />
+ )
+}
diff --git a/mobile/src/components/ui/Typography.tsx b/mobile/src/components/ui/Typography.tsx
new file mode 100644
index 0000000..c4128ef
--- /dev/null
+++ b/mobile/src/components/ui/Typography.tsx
@@ -0,0 +1,126 @@
+import { ReactNode } from 'react'
+import { Text as RNText, TextProps, TextStyle } from 'react-native'
+
+// The ONLY sanctioned way to render text. The brand fonts (Outfit for display,
+// Plus Jakarta Sans for body) are loaded per-weight in app/_layout.tsx — each weight
+// is a separate fontFamily, so bare `font-bold`/`font-semibold` classNames silently
+// fall back to the SYSTEM font. Routing all text through these variants is what
+// actually puts the loaded fonts on screen (and keeps the type scale consistent
+// with the web app: Outfit headings, Jakarta body, same token colors).
+
+export type TextVariant =
+ | 'display' // hero / brand moments (Outfit 800)
+ | 'title' // page titles — the H1 (Outfit 700, 2xl)
+ | 'heading' // card / modal headings (Outfit 700, lg)
+ | 'subheading' // row titles, small headings (Jakarta 700, sm)
+ | 'body' // default copy (Jakarta 500)
+ | 'bodySemibold' // emphasized copy, button-ish text (Jakarta 600)
+ | 'caption' // secondary small print (Jakarta 500, xs)
+ | 'label' // uppercase micro-labels above fields/sections (Jakarta 700)
+ | 'numeric' // big metric values (Outfit 800, tabular)
+
+export type TextColor =
+ | 'primary'
+ | 'secondary'
+ | 'muted'
+ | 'inverse'
+ | 'brand'
+ | 'success'
+ | 'error'
+ | 'white'
+
+const VARIANT: Record<TextVariant, string> = {
+ display: 'font-display-heavy text-[28px] tracking-tight',
+ title: 'font-display text-2xl tracking-tight',
+ heading: 'font-display text-lg',
+ subheading: 'font-sans-bold text-sm',
+ body: 'font-sans text-[15px]',
+ bodySemibold: 'font-sans-semibold text-[15px]',
+ caption: 'font-sans text-xs',
+ label: 'font-sans-bold text-[11px] uppercase tracking-widest',
+ numeric: 'font-display-heavy text-3xl',
+}
+
+const COLOR: Record<TextColor, string> = {
+ primary: 'text-tx-primary',
+ secondary: 'text-tx-secondary',
+ muted: 'text-tx-muted',
+ inverse: 'text-tx-inverse',
+ brand: 'text-brand-500',
+ success: 'text-success-500',
+ error: 'text-error-400',
+ white: 'text-white',
+}
+
+// Small print defaults to the softer text color so callers don't have to repeat it.
+const DEFAULT_COLOR: Record<TextVariant, TextColor> = {
+ display: 'primary',
+ title: 'primary',
+ heading: 'primary',
+ subheading: 'primary',
+ body: 'primary',
+ bodySemibold: 'primary',
+ caption: 'secondary',
+ label: 'secondary',
+ numeric: 'primary',
+}
+
+// `fontVariant` has no NativeWind utility, so numeric gets it inline — tabular digits
+// stop metric values from jittering as they tick (mirrors the web's tabular-nums).
+const TABULAR: TextStyle = { fontVariant: ['tabular-nums'] }
+
+export interface AppTextProps extends TextProps {
+ variant?: TextVariant
+ color?: TextColor
+ className?: string
+ children?: ReactNode
+}
+
+export function AppText({
+ variant = 'body',
+ color,
+ className = '',
+ style,
+ ...rest
+}: AppTextProps) {
+ const resolved = COLOR[color ?? DEFAULT_COLOR[variant]]
+ return (
+ <RNText
+ className={`${VARIANT[variant]} ${resolved} ${className}`}
+ style={variant === 'numeric' ? [TABULAR, style] : style}
+ {...rest}
+ />
+ )
+}
+
+// Convenience wrappers so call sites read like a type scale, not a prop soup.
+type VariantlessProps = Omit<AppTextProps, 'variant'>
+
+export function Heading(props: VariantlessProps) {
+ return <AppText variant="heading" {...props} />
+}
+
+export function Body(props: VariantlessProps) {
+ return <AppText variant="body" {...props} />
+}
+
+export function Label(props: VariantlessProps) {
+ return <AppText variant="label" {...props} />
+}
+
+export function Numeric(props: VariantlessProps) {
+ return <AppText variant="numeric" {...props} />
+}
+
+// Pre-existing exports, preserved verbatim in API but re-based on the brand fonts
+// (this is the fix for tab screens rendering headings in the system font).
+export function H1({ children }: { children: ReactNode }) {
+ return <AppText variant="title">{children}</AppText>
+}
+
+// Muted deliberately does NOT set a font size: existing callers size it via
+// className (`text-xs`, etc.), and stacking a variant size class against theirs
+// would leave the winner to stylesheet order rather than intent.
+export function Muted({ children, className = '' }: { children: ReactNode; className?: string }) {
+ return <RNText className={`font-sans text-tx-secondary ${className}`}>{children}</RNText>
+}
diff --git a/mobile/src/components/ui/index.ts b/mobile/src/components/ui/index.ts
new file mode 100644
index 0000000..ec68702
--- /dev/null
+++ b/mobile/src/components/ui/index.ts
@@ -0,0 +1,56 @@
+// The Lyftr mobile primitive library — read mobile/CONVENTIONS.md before adding to
+// it. This barrel resolves the same '../../src/components/ui' path the screens
+// already import, so it fully replaces the old single-file ui.tsx.
+
+// Typography — the only sanctioned way to render text (brand fonts live here).
+export { AppText, Heading, Body, Label, Numeric, H1, Muted } from './Typography'
+export type { AppTextProps, TextVariant, TextColor } from './Typography'
+
+// Layout / surfaces
+export { Screen } from './Screen'
+export { Card } from './Card'
+export { Section } from './Section'
+
+// Headers (web-parity)
+export { PageHeader } from './PageHeader'
+export { SectionHeader } from './SectionHeader'
+
+// Controls
+export { Button } from './Button'
+export { IconButton } from './IconButton'
+export { SegmentedControl } from './SegmentedControl'
+export { OptionPill } from './OptionPill'
+
+// Inputs
+export { Field } from './Field'
+export { SearchField } from './SearchField'
+export { NumberField } from './NumberField'
+export { NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID } from './NumericKeyboardAccessory'
+export { StepperTile } from './StepperTile'
+export { DateInput } from './DateInput'
+
+// Data display
+export { Stat } from './Stat'
+export { ListRow } from './ListRow'
+
+// Settings list — grouped iOS-style rows, reusable for any preferences screen
+export { SettingsGroup } from './SettingsGroup'
+export { SettingsRow } from './SettingsRow'
+export { Toggle } from './Toggle'
+export { EmptyState } from './EmptyState'
+
+// Loading placeholders (skeleton screens) — reusable across list/detail pages
+export { Skeleton, SkeletonText, SkeletonListRow, SkeletonList, SkeletonStat, SkeletonStatRow } from './Skeleton'
+export { ListScreenSkeleton } from './ListScreenSkeleton'
+
+// Feedback
+export { Toast } from './Toast'
+export type { ToastVariant } from './Toast'
+export { Sheet, SHEET_ANIM_MS } from './Sheet'
+export { SheetButton } from './SheetButton'
+export { ConfirmSheet } from './ConfirmSheet'
+export { ActionSheet } from './ActionSheet'
+export type { SheetAction } from './ActionSheet'
+export type { ConfirmSheetProps } from './ConfirmSheet'
+export { editAction, deleteAction, deleteConfirmProps } from './sheetActions'
+export { Loading } from './Loading'
diff --git a/mobile/src/components/ui/sheetActions.ts b/mobile/src/components/ui/sheetActions.ts
new file mode 100644
index 0000000..64701e0
--- /dev/null
+++ b/mobile/src/components/ui/sheetActions.ts
@@ -0,0 +1,35 @@
+import { Edit2, Trash2 } from 'lucide-react-native'
+import type { SheetAction } from './ActionSheet'
+import type { ConfirmSheetProps } from './ConfirmSheet'
+
+// Presets for the common menu actions, so every "edit" / "delete" is defined once
+// (icon + intent + default label) instead of re-specified at each call site. These
+// are generic UI-level semantics — a pencil edit, a red trash delete — that keep the
+// SheetButton/ActionSheet primitives free of any app concepts. Add a preset here when
+// an action recurs across screens (duplicate, share, …); pass a label to override.
+
+export function editAction(onPress: () => void, label = 'Edit'): SheetAction {
+ return { label, icon: Edit2, onPress }
+}
+
+export function deleteAction(onPress: () => void, label = 'Delete'): SheetAction {
+ return { label, icon: Trash2, destructive: true, onPress }
+}
+
+// The static half of a delete ConfirmSheet — red trash badge, "Delete" / "Deleting…"
+// labels, and the standard "<subject> will be permanently deleted." message. Spread it
+// and add the stateful props (open / busy / onConfirm / onCancel):
+// <ConfirmSheet {...deleteConfirmProps({ title: 'Delete Workout?', subject: `"${name}"` })}
+// open={confirming} busy={deleting} onConfirm={handleDelete} onCancel={close} />
+export function deleteConfirmProps(
+ { title, subject }: { title: string; subject: string },
+): Pick<ConfirmSheetProps, 'title' | 'message' | 'confirmLabel' | 'busyLabel' | 'destructive' | 'icon'> {
+ return {
+ title,
+ message: `${subject} will be permanently deleted.`,
+ confirmLabel: 'Delete',
+ busyLabel: 'Deleting…',
+ destructive: true,
+ icon: Trash2,
+ }
+}
diff --git a/mobile/src/components/weight/WeightEntryRow.tsx b/mobile/src/components/weight/WeightEntryRow.tsx
new file mode 100644
index 0000000..9cb7b45
--- /dev/null
+++ b/mobile/src/components/weight/WeightEntryRow.tsx
@@ -0,0 +1,118 @@
+import { useState } from 'react'
+import { Pressable, Text, View } from 'react-native'
+import { router } from 'expo-router'
+import { format, parseISO } from 'date-fns'
+import * as Haptics from 'expo-haptics'
+import { ChevronRight, MoreVertical, Scale, TrendingDown, TrendingUp } from 'lucide-react-native'
+import { displayWeight, weightShort, type WeightLog } from '@lyftr/shared'
+import { ActionSheet, AppText, Card, ConfirmSheet, IconButton, deleteAction, deleteConfirmProps, editAction } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+import { client } from '../../lib/lyftr'
+
+interface Props {
+ item: WeightLog
+ /** The next (older) entry, for the day-over-day delta chip. */
+ next?: WeightLog
+ unit: 'lbs' | 'kg'
+ /** Called after a successful server delete — the screen reloads list + stats + chart. */
+ onDeleted: (id: number) => void
+}
+
+// A weight history row, mirroring WorkoutCard / ProgramCard: the row taps through to the
+// detail (which also has Edit/Delete top-right), AND a kebab (⋮) opens a native ActionSheet
+// (Edit / Delete). Edit deep-links the detail straight into its inline edit form (?edit=1);
+// Delete routes through the shared ConfirmSheet.
+export function WeightEntryRow({ item, next, unit, onDeleted }: Props) {
+ const { colors, accent, brand } = useTheme()
+ const wUnit = weightShort(unit)
+ const [menuOpen, setMenuOpen] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+ const [deleting, setDeleting] = useState(false)
+
+ const deltaLbs = next ? item.weight - next.weight : 0
+ const displayW = displayWeight(item.weight, unit)
+ const displayDelta = displayWeight(Math.abs(deltaLbs), unit)
+ const dateLabel = format(parseISO(item.logged_at), 'MMM d, yyyy')
+
+ const handleDelete = async () => {
+ setDeleting(true)
+ try {
+ await client.weightAPI.delete(item.id)
+ Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ onDeleted(item.id)
+ } catch {
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ return (
+ <Pressable onPress={() => router.push(`/weight/${item.id}`)} className="mb-2 active:scale-[0.99]">
+ <Card className="flex-row items-center gap-3 rounded-2xl">
+ <View className="h-11 w-11 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Scale size={20} color={accent} />
+ </View>
+ <View className="min-w-0 flex-1">
+ <Text className="font-sans-semibold text-sm text-tx-primary" style={{ fontVariant: ['tabular-nums'] }}>
+ {Math.round(displayW)} {wUnit}
+ </Text>
+ <AppText variant="caption" color="muted" className="mt-0.5">{dateLabel}</AppText>
+ {deltaLbs !== 0 || item.notes ? (
+ <View className="mt-0.5 flex-row items-center gap-x-2 overflow-hidden">
+ {deltaLbs !== 0 ? (
+ <View className="flex-row items-center gap-0.5">
+ {deltaLbs < 0 ? <TrendingDown size={12} color={brand.successSoft} /> : <TrendingUp size={12} color={brand.errorSoft} />}
+ <Text className="font-sans-medium text-xs" style={{ color: deltaLbs < 0 ? brand.successSoft : brand.errorSoft, fontVariant: ['tabular-nums'] }}>
+ {Math.round(displayDelta)}
+ </Text>
+ </View>
+ ) : null}
+ {deltaLbs !== 0 && item.notes ? <AppText variant="caption" color="muted">·</AppText> : null}
+ {item.notes ? <AppText variant="caption" color="muted" numberOfLines={1} className="flex-1">{item.notes}</AppText> : null}
+ </View>
+ ) : null}
+ </View>
+ <IconButton
+ icon={MoreVertical}
+ label={`${Math.round(displayW)} ${wUnit} options`}
+ variant="ghost"
+ size="sm"
+ onPress={() => setMenuOpen(true)}
+ disabled={deleting}
+ />
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Card>
+
+ <ActionSheet
+ open={menuOpen}
+ layout="row"
+ onClose={() => setMenuOpen(false)}
+ header={
+ <View className="flex-row items-center gap-3">
+ <View className="h-11 w-11 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Scale size={20} color={accent} />
+ </View>
+ <View className="flex-1">
+ <AppText variant="subheading" style={{ fontVariant: ['tabular-nums'] }}>{Math.round(displayW)} {wUnit}</AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1} className="mt-0.5">
+ {dateLabel}{item.notes ? ` · ${item.notes}` : ''}
+ </AppText>
+ </View>
+ </View>
+ }
+ actions={[
+ editAction(() => router.push(`/weight/${item.id}?edit=1`)),
+ deleteAction(() => setConfirming(true)),
+ ]}
+ />
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete Entry?', subject: `${dateLabel} · ${Math.round(displayW)} ${wUnit}` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/weight/WeightSkeleton.tsx b/mobile/src/components/weight/WeightSkeleton.tsx
new file mode 100644
index 0000000..74e3098
--- /dev/null
+++ b/mobile/src/components/weight/WeightSkeleton.tsx
@@ -0,0 +1,58 @@
+import { View } from 'react-native'
+import { Card, PageHeader, Screen, Skeleton, SkeletonList, SkeletonStatRow } from '../ui'
+
+// Initial-load skeleton for the Weight page — content-shaped placeholders laid out
+// 1:1 with the real screen (log card · current-weight hero · Avg/Low/High stats ·
+// trend chart · history rows) so the data fills into its own shape instead of popping
+// after a blank spinner. The PageHeader is the real, live title. Mirrors the pattern
+// of WorkoutsSkeleton / ProgramsSkeleton.
+export function WeightSkeleton() {
+ return (
+ <Screen>
+ <View className="gap-5 py-4">
+ <PageHeader
+ title="Weight"
+ subtitle="Track your body weight over time"
+ action={<Skeleton width={44} height={24} radius={999} />}
+ />
+
+ {/* Log card: title row · stepper input · add date/note · button */}
+ <Card className="gap-3">
+ <View className="flex-row items-center justify-between">
+ <Skeleton width={110} height={18} />
+ <Skeleton width={70} height={12} />
+ </View>
+ <Skeleton height={86} radius={12} />
+ <Skeleton height={44} radius={12} />
+ <Skeleton height={48} radius={8} />
+ </Card>
+
+ {/* Current-weight hero */}
+ <Card>
+ <Skeleton width={110} height={12} />
+ <View className="mt-2">
+ <Skeleton width={130} height={40} radius={8} />
+ </View>
+ </Card>
+
+ {/* Avg / Low / High */}
+ <SkeletonStatRow count={3} />
+
+ {/* Trend chart: title + period pill + plot */}
+ <Card>
+ <View className="mb-3 flex-row items-center justify-between">
+ <Skeleton width={60} height={16} />
+ <Skeleton width={132} height={28} radius={12} />
+ </View>
+ <Skeleton height={180} radius={12} />
+ </Card>
+
+ {/* History heading */}
+ <Skeleton width={72} height={14} />
+ </View>
+
+ {/* History rows */}
+ <SkeletonList count={4} />
+ </Screen>
+ )
+}
diff --git a/mobile/src/components/workouts/DurationField.tsx b/mobile/src/components/workouts/DurationField.tsx
new file mode 100644
index 0000000..4079a2c
--- /dev/null
+++ b/mobile/src/components/workouts/DurationField.tsx
@@ -0,0 +1,80 @@
+import { Pressable, Text, TextInput, View } from 'react-native'
+import { Minus, Plus } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+
+// A thumb-friendly duration input: one unified stepper — −/+ as integrated end
+// segments (±5 min) around a still-typeable value with a "min" suffix. Common
+// durations are a tap or two and no keyboard; an exact value is one tap-to-type away.
+// Value + onChange are whole MINUTES (same as the form's formData.duration), so the
+// payload upstream is unchanged.
+const STEP = 5
+
+export function DurationField({ value, onChange, inputAccessoryViewID }: {
+ value: number
+ onChange: (minutes: number) => void
+ inputAccessoryViewID?: string
+}) {
+ const { colors, accent } = useTheme()
+ const step = (delta: number) => onChange(Math.max(0, value + delta))
+ const canDec = value > 0
+
+ return (
+ <View className="h-12 flex-row items-stretch overflow-hidden rounded-xl border border-surface-border bg-surface-overlay">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Decrease duration"
+ onPress={() => step(-STEP)}
+ disabled={!canDec}
+ className={`w-8 items-center justify-center border-r border-surface-border active:bg-surface-muted ${canDec ? '' : 'opacity-40'}`}
+ >
+ <Minus size={16} color={canDec ? accent : colors.txMuted} strokeWidth={2.4} />
+ </Pressable>
+
+ {/* The value + "min" read as one group. They live in an auto-height inner block
+ that BASELINE-aligns them (items-baseline), and that block is centered in the
+ field (items-center on the column). Baseline-locking is the fix for the load-in
+ jump: "min" is pinned to the number's text baseline, so even if iOS re-measures
+ the input a frame late and the block re-centers, the two move together instead
+ of "min" drifting relative to the number. Height is left to h-12 (stretched from
+ the row) — an inline `height` here doesn't merge cleanly with NativeWind on native
+ and let the box grow past 48 on iOS. */}
+ <View className="h-12 flex-1 items-center justify-center">
+ <View className="flex-row items-baseline">
+ <TextInput
+ value={value ? String(value) : ''}
+ onChangeText={(t) => onChange(Number(t.replace(/[^0-9]/g, '')) || 0)}
+ keyboardType="number-pad"
+ returnKeyType="done"
+ selectTextOnFocus
+ inputAccessoryViewID={inputAccessoryViewID}
+ placeholder="0"
+ placeholderTextColor={colors.txMuted}
+ accessibilityLabel="Duration in minutes"
+ className="py-0 text-center text-base text-tx-primary"
+ // fontFamily inline (not via className) so the input never renders one frame
+ // in the system fallback font before the brand font resolves. lineHeight +
+ // includeFontPadding bound the input's line box — without them iOS gives a
+ // bare TextInput extra intrinsic height, which (via items-baseline) makes the
+ // whole control render taller than the 48pt box and out-of-line with DateInput.
+ style={{ fontFamily: 'PlusJakartaSans_700Bold', fontVariant: ['tabular-nums'], minWidth: 14, maxWidth: 40, lineHeight: 20, includeFontPadding: false }}
+ />
+ <Text
+ className="ml-0.5 text-xs text-tx-muted"
+ style={{ fontFamily: 'PlusJakartaSans_500Medium', includeFontPadding: false }}
+ >
+ min
+ </Text>
+ </View>
+ </View>
+
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Increase duration"
+ onPress={() => step(STEP)}
+ className="w-8 items-center justify-center border-l border-surface-border active:bg-surface-muted"
+ >
+ <Plus size={16} color={accent} strokeWidth={2.4} />
+ </Pressable>
+ </View>
+ )
+}
diff --git a/mobile/src/components/workouts/ExerciseDetailScreen.tsx b/mobile/src/components/workouts/ExerciseDetailScreen.tsx
new file mode 100644
index 0000000..648cd74
--- /dev/null
+++ b/mobile/src/components/workouts/ExerciseDetailScreen.tsx
@@ -0,0 +1,297 @@
+import { useEffect, useMemo, useState } from 'react'
+import { Image, Pressable, ScrollView, Text, View } from 'react-native'
+import { router, useLocalSearchParams, type Href } from 'expo-router'
+import { SafeAreaView } from 'react-native-safe-area-context'
+import { LinearGradient } from 'expo-linear-gradient'
+import { format, subDays } from 'date-fns'
+import { ArrowLeft, Dumbbell, Trophy } from 'lucide-react-native'
+import Animated, {
+ Easing,
+ cancelAnimation,
+ useAnimatedStyle,
+ useSharedValue,
+ withRepeat,
+ withTiming,
+} from 'react-native-reanimated'
+import {
+ displayWeight,
+ weightShort,
+ type Exercise,
+ type ExerciseHistoryPoint,
+ type PersonalRecord,
+} from '@lyftr/shared'
+import { AppText, Screen, SegmentedControl } from '../ui'
+import { MuscleDiagram } from './MuscleDiagram'
+import { ExerciseHistoryChart, type ChartPoint } from './ExerciseHistoryChart'
+import { client, useSettingsStore, useWorkoutSession } from '../../lib/lyftr'
+import { useTheme } from '../../theme/useTheme'
+import { muscleColor, EQUIPMENT_LABEL } from '../../utils/exerciseUtils'
+
+// 1:1 port of web/src/pages/ExerciseDetail.tsx. Read-only exercise reference: identity +
+// muscles worked (front/back diagram), image, equipment/category tags, secondary muscles,
+// personal record, weight-progression history chart, and instructions. All data/query/
+// calculation logic is carried over unchanged; presentation is authored against the RN ui
+// kit.
+//
+// This is the SHARED screen body: it's mounted by a thin route in every tab stack that
+// links to an exercise (workouts/exercise/[id] + programs/exercise/[id]). Duplicating the
+// route per stack (rather than one route in the workouts stack) is what keeps back working
+// — pushing a workouts-tab route from the programs tab jumps tabs and strands the back
+// stack. `backFallback` is where a deep-link with no history returns to (its own tab root).
+
+const HISTORY_PERIODS = ['1m', '3m', '6m', 'All'] as const
+type HistoryPeriod = typeof HISTORY_PERIODS[number]
+const HISTORY_DAYS: Record<HistoryPeriod, number | null> = { '1m': 30, '3m': 90, '6m': 180, 'All': null }
+const PERIOD_OPTIONS = HISTORY_PERIODS.map((p) => ({ value: p, label: p }))
+
+// Header muscle badge (web muscleColorBordered) + borderless variant for "Also works"
+// (web muscleColor). px-2 py-0.5 rounded, matching the web spans.
+function MuscleBadge({ muscle, bordered }: { muscle: string; bordered?: boolean }) {
+ const { colors } = useTheme()
+ const tint = muscleColor(muscle)
+ return (
+ <View
+ className={`rounded px-2 py-0.5 ${tint?.chip ?? 'bg-surface-muted'} ${
+ bordered ? `border ${tint?.border ?? 'border-surface-border'}` : ''
+ }`}
+ >
+ {/* Tint via inline style — see exerciseUtils.ts for why not a className. */}
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>
+ {muscle}
+ </AppText>
+ </View>
+ )
+}
+
+// Web's loading state: a centered pulsing Dumbbell (animate-pulse). Reanimated opacity
+// loop is the RN analog (CSS keyframes have no RN equivalent).
+function LoadingPulse() {
+ const { brand } = useTheme()
+ const o = useSharedValue(1)
+ useEffect(() => {
+ o.value = withRepeat(withTiming(0.4, { duration: 600, easing: Easing.inOut(Easing.ease) }), -1, true)
+ return () => cancelAnimation(o)
+ }, [o])
+ const style = useAnimatedStyle(() => ({ opacity: o.value }))
+ return (
+ <Screen>
+ <View className="items-center justify-center py-20">
+ <Animated.View style={style}>
+ <Dumbbell size={24} color={brand.cyan} />
+ </Animated.View>
+ </View>
+ </Screen>
+ )
+}
+
+export function ExerciseDetailScreen({ backFallback }: { backFallback: Href }) {
+ const { exerciseId } = useLocalSearchParams<{ exerciseId: string }>()
+ const session = useWorkoutSession((s) => s.session)
+ const settings = useSettingsStore((s) => s.settings)
+ const { colors, brand, accent } = useTheme()
+ const wUnit = weightShort(settings.weight_unit)
+
+ // Deep links can land here with no history — fall back to the originating tab's root.
+ const goBack = () => (router.canGoBack() ? router.back() : router.replace(backFallback))
+
+ const [exercise, setExercise] = useState<Exercise | null>(null)
+ const [pr, setPR] = useState<PersonalRecord | null>(null)
+ const [history, setHistory] = useState<ExerciseHistoryPoint[]>([])
+ const [historyPeriod, setHistoryPeriod] = useState<HistoryPeriod>('3m')
+ const [imgFailed, setImgFailed] = useState(false)
+ const [loading, setLoading] = useState(true)
+ const [chartWidth, setChartWidth] = useState(0)
+
+ useEffect(() => {
+ const id = Number(exerciseId)
+ if (!id) { goBack(); return }
+
+ const fromSession = session?.exercises.find((e) => e.exercise_id === id)?.exercise
+ const exercisePromise = fromSession ? Promise.resolve(fromSession) : client.exerciseAPI.get(id)
+
+ let cancelled = false
+ Promise.all([
+ exercisePromise,
+ client.exerciseAPI.getPRs(id).catch(() => null),
+ client.exerciseAPI.getHistory(id, 50).catch(() => []),
+ ])
+ .then(([ex, prData, histData]) => {
+ if (cancelled) return
+ setExercise(ex)
+ setPR(prData)
+ setHistory(histData || [])
+ })
+ .catch(() => { if (!cancelled) goBack() })
+ .finally(() => { if (!cancelled) setLoading(false) })
+ return () => { cancelled = true }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [exerciseId])
+
+ const filteredHistory = useMemo(() => {
+ const days = HISTORY_DAYS[historyPeriod]
+ if (days == null) return history
+ const cutoff = subDays(new Date(), days).getTime()
+ return history.filter((h) => new Date(h.date).getTime() >= cutoff)
+ }, [history, historyPeriod])
+
+ if (loading || !exercise) return <LoadingPulse />
+
+ const equipLabel = EQUIPMENT_LABEL[exercise.equipment?.toLowerCase()] || exercise.equipment
+ const descLines = exercise.description ? exercise.description.split('\n').filter((l) => l.trim()) : []
+ const chartData: ChartPoint[] = [...filteredHistory].reverse().map((h) => ({
+ date: format(new Date(h.date), 'M/d'),
+ weight: displayWeight(h.max_weight, wUnit),
+ }))
+
+ const hasImage = !!exercise.image_url && !imgFailed
+
+ return (
+ <SafeAreaView className="flex-1 bg-surface-base" edges={['top']}>
+ <ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 32 }}>
+ {/* Hero image — full-bleed, with an overlaid back button (mirrors the gym
+ exercise-info treatment). Falls back to a plain back row when there's no photo. */}
+ {hasImage ? (
+ <View>
+ <Image
+ source={{ uri: exercise.image_url }}
+ onError={() => setImgFailed(true)}
+ resizeMode="cover"
+ className="h-64 w-full bg-surface-muted"
+ />
+ {/* Top scrim so the white back chevron reads on any photo. */}
+ <LinearGradient
+ colors={['rgba(0,0,0,0.45)', 'transparent']}
+ style={{ position: 'absolute', top: 0, left: 0, right: 0, height: 96 }}
+ pointerEvents="none"
+ />
+ <Pressable
+ onPress={goBack}
+ hitSlop={8}
+ accessibilityRole="button"
+ accessibilityLabel="Back"
+ className="absolute left-4 top-3 h-9 w-9 items-center justify-center rounded-full bg-black/40 active:bg-black/60"
+ >
+ <ArrowLeft size={20} color="#ffffff" />
+ </Pressable>
+ </View>
+ ) : null}
+
+ <View className="gap-5 px-5 py-4">
+ {/* Back row only when there's no hero image to host the button. */}
+ {!hasImage ? (
+ <Pressable
+ onPress={goBack}
+ hitSlop={8}
+ accessibilityRole="button"
+ accessibilityLabel="Back"
+ className="-ml-2 h-9 w-9 items-center justify-center rounded-lg active:bg-surface-muted"
+ >
+ <ArrowLeft size={20} color={colors.txMuted} />
+ </Pressable>
+ ) : null}
+
+ {/* Title + identity badges (muscle group + equipment + category, grouped). */}
+ <View>
+ <AppText variant="title">{exercise.name}</AppText>
+ <View className="mt-2 flex-row flex-wrap items-center gap-2">
+ <MuscleBadge muscle={exercise.muscle_group} bordered />
+ {equipLabel && exercise.equipment !== 'other' ? (
+ <View className="rounded-full border border-surface-border bg-surface-muted px-3 py-1">
+ <AppText variant="caption" color="secondary">{equipLabel}</AppText>
+ </View>
+ ) : null}
+ {exercise.category ? (
+ <View className="rounded-full border border-brand-500/20 bg-brand-500/10 px-3 py-1">
+ <AppText variant="caption" className="capitalize" style={{ color: accent }}>{exercise.category}</AppText>
+ </View>
+ ) : null}
+ </View>
+ </View>
+
+ {/* Muscles worked */}
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ <AppText variant="label" color="muted" className="mb-3 uppercase">Muscles Worked</AppText>
+ <MuscleDiagram exercise={exercise} />
+ </View>
+
+ {/* Secondary muscles */}
+ {exercise.secondary_muscles?.length > 0 ? (
+ <View>
+ <AppText variant="label" color="muted" className="mb-2 uppercase">Also works</AppText>
+ <View className="flex-row flex-wrap gap-1.5">
+ {exercise.secondary_muscles.map((m) => <MuscleBadge key={m} muscle={m} />)}
+ </View>
+ </View>
+ ) : null}
+
+ {/* Personal record — gold "achievement" treatment: tinted card + trophy chip,
+ a hero weight, and a divided Est. 1RM footer. */}
+ {pr && pr.weight > 0 ? (
+ <View className="rounded-2xl border border-warning-500/25 bg-warning-500/[0.06] p-4">
+ <View className="flex-row items-center justify-between">
+ <View className="flex-row items-center gap-2">
+ <View className="h-7 w-7 items-center justify-center rounded-full bg-warning-500/15">
+ <Trophy size={15} color={brand.warningSoft} />
+ </View>
+ <AppText variant="label" color="muted" className="uppercase">Personal Best</AppText>
+ </View>
+ <AppText variant="caption" color="muted">{format(new Date(pr.date), 'MMM d, yyyy')}</AppText>
+ </View>
+
+ <View className="mt-3 flex-row items-end gap-2">
+ <Text className="font-display text-3xl text-tx-primary" style={{ fontVariant: ['tabular-nums'] }}>
+ {displayWeight(pr.weight, wUnit)}
+ </Text>
+ <AppText variant="body" color="muted" className="mb-1">{wUnit} × {pr.reps} reps</AppText>
+ </View>
+
+ <View className="mt-3 flex-row items-center justify-between border-t border-warning-500/15 pt-3">
+ <AppText variant="caption" color="muted">Estimated 1RM</AppText>
+ <AppText variant="bodySemibold" style={{ fontVariant: ['tabular-nums'] }}>
+ {displayWeight(pr.estimated_1rm, wUnit)} {wUnit}
+ </AppText>
+ </View>
+ </View>
+ ) : null}
+
+ {/* History chart */}
+ {history.length >= 2 ? (
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ {/* Label + period selector STACKED: the 4-option control + label don't fit
+ on one row at real device widths (overflowed/clipped the card). */}
+ <AppText variant="label" color="muted" className="mb-3 uppercase">Weight Progression</AppText>
+ <SegmentedControl size="sm" className="mb-3" options={PERIOD_OPTIONS} value={historyPeriod} onChange={setHistoryPeriod} />
+ <View onLayout={(e) => setChartWidth(e.nativeEvent.layout.width)}>
+ {chartData.length < 2 ? (
+ <View className="h-[110px] items-center justify-center">
+ <AppText variant="body" color="muted">No data for this period</AppText>
+ </View>
+ ) : (
+ <ExerciseHistoryChart data={chartData} width={chartWidth} unit={wUnit} />
+ )}
+ </View>
+ </View>
+ ) : null}
+
+ {/* Instructions */}
+ {descLines.length > 0 ? (
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ <AppText variant="label" color="muted" className="mb-3 uppercase">Instructions</AppText>
+ <View className="gap-2.5">
+ {descLines.map((line, i) => {
+ const m = line.match(/^(\d+\.)\s*(.*)/)
+ return (
+ <AppText key={i} variant="body" color="secondary">
+ {m ? <AppText variant="bodySemibold" color="primary">{m[1]} </AppText> : null}
+ {m ? m[2] : line}
+ </AppText>
+ )
+ })}
+ </View>
+ </View>
+ ) : null}
+ </View>
+ </ScrollView>
+ </SafeAreaView>
+ )
+}
diff --git a/mobile/src/components/workouts/ExerciseFormCard.tsx b/mobile/src/components/workouts/ExerciseFormCard.tsx
new file mode 100644
index 0000000..a622f69
--- /dev/null
+++ b/mobile/src/components/workouts/ExerciseFormCard.tsx
@@ -0,0 +1,265 @@
+import { memo, useRef, useState } from 'react'
+import { Pressable, Text, TextInput, View } from 'react-native'
+import { FileText, Plus, Timer, Trash2, X } from 'lucide-react-native'
+import type { Exercise } from '@lyftr/shared'
+import { AppText, IconButton, Label } from '../ui'
+import { ExerciseImage } from './ExerciseImage'
+import { RestPicker } from './RestPicker'
+import { useNumericText } from '../../hooks/useNumericText'
+import { useTheme } from '../../theme/useTheme'
+
+interface SetData {
+ set_number: number
+ reps: number
+ weight: number
+}
+
+interface Props {
+ /** 0-based position in the workout — rendered as the 1-based order badge. Also passed
+ back to every callback so the owning screen doesn't bind a fresh closure per card
+ (that would defeat the memo below and re-render all cards on any edit). */
+ index: number
+ exercise?: Exercise
+ notes: string
+ sets: SetData[]
+ restSeconds: number
+ /** Display unit short label (lb/kg) — shown once in the column header, not per row. */
+ unit: string
+ onRemove: (index: number) => void
+ onNotesChange: (index: number, text: string) => void
+ onAddSet: (index: number) => void
+ onRemoveSet: (index: number, setIdx: number) => void
+ onUpdateSet: (index: number, setIdx: number, field: 'reps' | 'weight', value: string) => void
+ onRestChange: (index: number, secs: number) => void
+ /** iOS: ties the numeric cells to the screen's keyboard "Done" accessory bar. */
+ inputAccessoryViewID?: string
+}
+
+// Compact spreadsheet cell: static border, no focus glow — never re-renders on focus
+// (Fabric-safe by construction, same rationale as the screens' old COMPACT_INPUT).
+const CELL = 'h-9 flex-1 rounded-lg border border-surface-border/60 bg-surface-overlay px-2 py-0 text-center font-sans text-sm text-tx-primary'
+
+// Set-table column widths — header and rows must agree or the columns shear.
+// COL_DELETE fits the 32pt IconButton so its hitSlop isn't clipped by the parent
+// (hitSlop outside parent bounds is unreliable on Android) → ~44pt effective target.
+const COL_SET = 'w-9'
+const COL_DELETE = 'w-9'
+
+// Weight gets its own component so each row can own a useNumericText buffer —
+// preserves a trailing "." / leading "0" while the parent re-derives value as a
+// number each keystroke (same contract as workouts/WeightInput, minus the inline
+// unit suffix: in a table the unit lives in the column header once).
+function WeightCell({ value, onChange, placeholderColor, inputRef, onNext, inputAccessoryViewID }: {
+ value: string
+ onChange: (next: string) => void
+ placeholderColor: string
+ /** Callback ref so the parent's focus chain can jump reps → weight. */
+ inputRef?: (r: TextInput | null) => void
+ /** Present on all but the last set: Android's numeric "next" key hops to the next row's reps. */
+ onNext?: () => void
+ inputAccessoryViewID?: string
+}) {
+ const [text, setText] = useNumericText(value)
+ const emit = (raw: string) => {
+ let v = raw.replace(/[^0-9.]/g, '')
+ const i = v.indexOf('.')
+ if (i !== -1) v = v.slice(0, i + 1) + v.slice(i + 1).replace(/\./g, '')
+ setText(v)
+ onChange(v)
+ }
+ return (
+ <TextInput
+ ref={inputRef}
+ value={text}
+ onChangeText={emit}
+ keyboardType="decimal-pad"
+ returnKeyType={onNext ? 'next' : 'done'}
+ submitBehavior={onNext ? 'submit' : 'blurAndSubmit'}
+ onSubmitEditing={onNext}
+ selectTextOnFocus
+ inputAccessoryViewID={inputAccessoryViewID}
+ placeholder="0"
+ placeholderTextColor={placeholderColor}
+ accessibilityLabel="Set weight"
+ className={CELL}
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ )
+}
+
+// One exercise inside the Log/Edit Workout form: header (order badge · name ·
+// muscle) + a compact set table (columns declared once, one slim row per set —
+// the Hevy/Strong spreadsheet pattern) + ghost Add Set. Notes are progressive
+// disclosure: hidden behind a "Note" toggle until they exist. Purely
+// presentational — all state stays in the owning screen.
+function ExerciseFormCardBase({
+ index, exercise, notes, sets, restSeconds, unit,
+ onRemove, onNotesChange, onAddSet, onRemoveSet, onUpdateSet, onRestChange,
+ inputAccessoryViewID,
+}: Props) {
+ const { colors, accent } = useTheme()
+ // Once revealed the input stays mounted for the card's lifetime, so typed text
+ // can never be hidden; cards with saved notes start revealed.
+ const [showNotes, setShowNotes] = useState(notes.length > 0)
+ // Focus chain (reps → weight → next row's reps) so a whole exercise logs off the
+ // Android numeric keyboard's next key without re-tapping each cell. (iOS numeric
+ // pads have no return key — there the accessory Done bar is the exit instead.)
+ // Plain refs mutated in callback refs: never triggers a render (Fabric rule).
+ const repsRefs = useRef<(TextInput | null)[]>([])
+ const weightRefs = useRef<(TextInput | null)[]>([])
+
+ return (
+ <View className="rounded-2xl border border-surface-border bg-surface-muted/30 p-4">
+ {/* Header: exercise thumbnail (with the order number tucked into a corner
+ badge), name, muscle • equipment; muted (not red) remove — destructive
+ styling is reserved for the confirm step, like the list screens. */}
+ <View className="mb-3 flex-row items-center gap-3">
+ <View className="relative">
+ <ExerciseImage url={exercise?.image_url} />
+ {/* Order number rides the thumbnail's corner so the image stays the anchor
+ and we don't spend a second leading chip on it. */}
+ <View className="absolute -left-1.5 -top-1.5 h-5 min-w-[20px] items-center justify-center rounded-full border-2 border-surface-base bg-brand-500 px-1">
+ {/* Nudge the digit up to optically center it in the circle (iOS renders the
+ glyph a hair low within its line box). */}
+ <AppText variant="caption" color="white" style={{ fontVariant: ['tabular-nums'], transform: [{ translateY: -1 }] }}>
+ {index + 1}
+ </AppText>
+ </View>
+ </View>
+ <View className="flex-1">
+ <AppText variant="bodySemibold" numberOfLines={1}>{exercise?.name}</AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {exercise?.muscle_group} • {exercise?.equipment}
+ </AppText>
+ </View>
+ <IconButton
+ icon={Trash2}
+ label={`Remove ${exercise?.name ?? 'exercise'}`}
+ variant="ghost"
+ size="sm"
+ onPress={() => onRemove(index)}
+ />
+ </View>
+
+ {/* Set table — column labels once, then one tight row per set. */}
+ <View className="gap-1.5">
+ <View className="flex-row items-center gap-2">
+ <View className={`${COL_SET} items-center`}><Label>Set</Label></View>
+ <View className="flex-1 items-center"><Label>Reps</Label></View>
+ <View className="flex-1 items-center"><Label>{`Weight (${unit})`}</Label></View>
+ <View className={COL_DELETE} />
+ </View>
+ {sets.map((set, setIdx) => (
+ <View key={setIdx} className="flex-row items-center gap-2">
+ <View className={`${COL_SET} items-center`}>
+ <AppText variant="subheading" color="secondary" style={{ fontVariant: ['tabular-nums'] }}>
+ {set.set_number}
+ </AppText>
+ </View>
+ <View className="flex-1">
+ <TextInput
+ ref={(r) => { repsRefs.current[setIdx] = r }}
+ value={set.reps ? String(set.reps) : ''}
+ onChangeText={(t) => onUpdateSet(index, setIdx, 'reps', t.replace(/[^0-9]/g, ''))}
+ keyboardType="number-pad"
+ returnKeyType="next"
+ submitBehavior="submit"
+ onSubmitEditing={() => weightRefs.current[setIdx]?.focus()}
+ selectTextOnFocus
+ inputAccessoryViewID={inputAccessoryViewID}
+ placeholder="0"
+ placeholderTextColor={colors.txMuted}
+ accessibilityLabel="Set reps"
+ className={CELL}
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ </View>
+ <View className="flex-1">
+ <WeightCell
+ value={set.weight ? String(set.weight) : ''}
+ onChange={(v) => onUpdateSet(index, setIdx, 'weight', v)}
+ placeholderColor={colors.txMuted}
+ inputRef={(r) => { weightRefs.current[setIdx] = r }}
+ onNext={setIdx < sets.length - 1
+ ? () => repsRefs.current[setIdx + 1]?.focus()
+ : undefined}
+ inputAccessoryViewID={inputAccessoryViewID}
+ />
+ </View>
+ <View className={`${COL_DELETE} items-center`}>
+ <IconButton icon={X} label="Remove set" variant="ghost" size="sm" onPress={() => onRemoveSet(index, setIdx)} />
+ </View>
+ </View>
+ ))}
+ </View>
+
+ {/* Add Set + tucked Note toggle share a row: default surface stays set/reps/weight. */}
+ <View className="mt-2.5 flex-row items-center gap-2">
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => onAddSet(index)}
+ // 36pt row + 6pt vertical slop ≈ 48pt effective target; the slop stays
+ // inside the surrounding whitespace (mt-2.5 above, card padding below).
+ hitSlop={{ top: 6, bottom: 6 }}
+ className="h-9 flex-1 flex-row items-center justify-center gap-1.5 rounded-lg border border-dashed border-surface-border active:opacity-60"
+ >
+ <Plus size={13} color={accent} />
+ {/* accent (not text-brand-500): raw brand cyan washes out on light. */}
+ <Text className="font-sans-semibold text-xs" style={{ color: accent }}>Add Set</Text>
+ </Pressable>
+ {!showNotes && (
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Add exercise note"
+ onPress={() => setShowNotes(true)}
+ hitSlop={{ top: 6, bottom: 6 }}
+ className="h-9 flex-row items-center gap-1.5 rounded-lg px-3 active:opacity-60"
+ >
+ <FileText size={13} color={colors.txMuted} />
+ <Text className="font-sans-semibold text-xs text-tx-muted">Note</Text>
+ </Pressable>
+ )}
+ </View>
+
+ {showNotes && (
+ // The note is dismissible: the × clears the text AND hides the field (bringing
+ // back the "Note" toggle), so a note added by mistake isn't stuck open/filled.
+ <View className="mt-2.5 flex-row items-center gap-2">
+ <TextInput
+ value={notes}
+ onChangeText={(t) => onNotesChange(index, t)}
+ placeholder="e.g., Felt strong"
+ placeholderTextColor={colors.txMuted}
+ accessibilityLabel="Exercise notes"
+ className="h-9 flex-1 rounded-lg border border-surface-border/60 bg-surface-overlay px-3 py-0 font-sans text-sm text-tx-primary"
+ />
+ <IconButton
+ icon={X}
+ label="Remove note"
+ variant="ghost"
+ size="sm"
+ onPress={() => { onNotesChange(index, ''); setShowNotes(false) }}
+ />
+ </View>
+ )}
+
+ {/* Rest-between-sets picker, tucked at the card foot. Rendered here (not passed as a
+ JSX `footer` prop) so the card takes only stable, primitive props — an inline
+ footer element would be a new reference every parent render and defeat the memo. */}
+ <View className="mt-3 border-t border-surface-border/60 pt-3">
+ <View className="mb-1 flex-row items-center gap-1.5">
+ <Timer size={13} color={accent} />
+ <Label>Rest between sets</Label>
+ </View>
+ <RestPicker value={restSeconds} onChange={(secs) => onRestChange(index, secs)} />
+ </View>
+ </View>
+ )
+}
+
+// Memoized: the Log/Edit forms hold ALL exercises in one state object, so any edit
+// (even the duration stepper) re-renders the screen. Without this, all N cards re-render
+// on every keystroke/tap — the visible stepper lag. Props are kept referentially stable
+// by the screens (index-based useCallback handlers + primitive values), so only the card
+// whose data actually changed re-renders.
+export const ExerciseFormCard = memo(ExerciseFormCardBase)
diff --git a/mobile/src/components/workouts/ExerciseHistoryChart.tsx b/mobile/src/components/workouts/ExerciseHistoryChart.tsx
new file mode 100644
index 0000000..5c347a2
--- /dev/null
+++ b/mobile/src/components/workouts/ExerciseHistoryChart.tsx
@@ -0,0 +1,214 @@
+import { useState } from 'react'
+import { View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import Svg, { Path, Circle, Line, Text as SvgText, Defs, LinearGradient, Stop } from 'react-native-svg'
+import { AppText } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+
+// Weight-progression chart for ExerciseDetail. Ported from web's recharts LineChart
+// (monotone line #0891b2, per-point dots, x-axis date ticks, tap-to-read replacing the
+// hover tooltip) and extended for mobile with a real Y AXIS — left-gutter weight ticks +
+// faint gridlines on a "nice" rounded scale (web hid its Y axis; on a phone the values
+// aren't otherwise readable). react-native-svg only (Expo-Go safe).
+export interface ChartPoint {
+ /** x-axis label, already formatted as web's 'M/d'. */
+ date: string
+ /** y value in the user's display unit (web's displayWeight(max_weight)). */
+ weight: number
+ /** Optional second line for the tap-to-read bubble (e.g. a full date). */
+ sub?: string
+}
+
+const STROKE = '#0891b2' // web Line stroke / dot fill (cyan-600)
+
+// Monotone cubic (Fritsch–Carlson) path — matches recharts' type="monotone" curve so the
+// line reads identically to web rather than as straight segments.
+function monotonePath(pts: { x: number; y: number }[]): string {
+ const n = pts.length
+ if (n < 2) return ''
+ const dx: number[] = [], dy: number[] = [], m: number[] = []
+ for (let i = 0; i < n - 1; i++) {
+ dx[i] = pts[i + 1].x - pts[i].x
+ dy[i] = pts[i + 1].y - pts[i].y
+ m[i] = dy[i] / dx[i]
+ }
+ const tan: number[] = [m[0]]
+ for (let i = 1; i < n - 1; i++) {
+ if (m[i - 1] * m[i] <= 0) tan[i] = 0
+ else tan[i] = (m[i - 1] + m[i]) / 2
+ }
+ tan[n - 1] = m[n - 2]
+ let d = `M ${pts[0].x} ${pts[0].y}`
+ for (let i = 0; i < n - 1; i++) {
+ const c1x = pts[i].x + dx[i] / 3
+ const c1y = pts[i].y + (tan[i] * dx[i]) / 3
+ const c2x = pts[i + 1].x - dx[i] / 3
+ const c2y = pts[i + 1].y - (tan[i + 1] * dx[i]) / 3
+ d += ` C ${c1x} ${c1y}, ${c2x} ${c2y}, ${pts[i + 1].x} ${pts[i + 1].y}`
+ }
+ return d
+}
+
+// Round `x` to a "nice" 1/2/5/10 magnitude — the classic axis-tick heuristic, so the Y
+// scale lands on human numbers (200 / 220 / 240) instead of raw data min/max.
+function niceNum(x: number, round: boolean): number {
+ const exp = Math.floor(Math.log10(x))
+ const frac = x / Math.pow(10, exp)
+ let nf: number
+ if (round) nf = frac < 1.5 ? 1 : frac < 3 ? 2 : frac < 7 ? 5 : 10
+ else nf = frac <= 1 ? 1 : frac <= 2 ? 2 : frac <= 5 ? 5 : 10
+ return nf * Math.pow(10, exp)
+}
+
+// A padded, rounded [lo, hi] domain + evenly-spaced tick values for the Y axis.
+function niceScale(min: number, max: number, count = 3): { lo: number; hi: number; ticks: number[] } {
+ if (max - min < 1e-9) return { lo: min - 1, hi: min + 1, ticks: [min] } // flat line
+ const step = niceNum((max - min) / (count - 1), true)
+ const lo = Math.floor(min / step) * step
+ const hi = Math.ceil(max / step) * step
+ const ticks: number[] = []
+ for (let v = lo; v <= hi + 1e-9; v += step) ticks.push(Math.round(v * 100) / 100)
+ return { lo, hi, ticks }
+}
+
+const fmtTick = (v: number) => (Number.isInteger(v) ? String(v) : v.toFixed(1))
+
+export function ExerciseHistoryChart({
+ data,
+ width,
+ unit,
+ height = 132,
+ readoutNote = 'Max weight',
+}: {
+ data: ChartPoint[]
+ width: number
+ unit: string
+ height?: number
+ /** Trailing descriptor in the tap bubble's first line ("{weight} {unit} · {note}").
+ * Defaults to "Max weight" (ExerciseDetail); pass '' to drop it (e.g. bodyweight). */
+ readoutNote?: string
+}) {
+ const { colors } = useTheme()
+ const [selected, setSelected] = useState<number | null>(null)
+ if (data.length < 2 || width <= 0) return null
+
+ const padLeft = 48 // gutter for Y-axis weight labels (value + unit)
+ const padRight = 12
+ const padTop = 12
+ const axisH = 18 // room for x-axis date labels below the plot
+ const plotW = width - padLeft - padRight
+ const plotH = height - padTop - axisH
+
+ const weights = data.map((d) => d.weight)
+ const { lo, hi, ticks } = niceScale(Math.min(...weights), Math.max(...weights))
+ const range = hi - lo || 1
+ const stepX = data.length > 1 ? plotW / (data.length - 1) : 0
+ const xAt = (i: number) => padLeft + i * stepX
+ const yAt = (v: number) => padTop + (1 - (v - lo) / range) * plotH
+ const pts = data.map((d, i) => ({ x: xAt(i), y: yAt(d.weight) }))
+
+ // Thin the x-axis labels so they never overlap (recharts auto-skips ticks too).
+ const maxLabels = Math.max(2, Math.floor(plotW / 44))
+ const labelEvery = Math.ceil(data.length / maxLabels)
+
+ const sel = selected != null ? pts[selected] : null
+
+ // Area under the curve = the line path, dropped to the plot baseline and closed.
+ const baseline = padTop + plotH
+ const areaPath = `${monotonePath(pts)} L ${pts[pts.length - 1].x} ${baseline} L ${pts[0].x} ${baseline} Z`
+
+ return (
+ <View>
+ <Svg width={width} height={height}>
+ <Defs>
+ <LinearGradient id="exHistArea" x1="0" y1="0" x2="0" y2="1">
+ <Stop offset="0" stopColor={STROKE} stopOpacity={0.22} />
+ <Stop offset="1" stopColor={STROKE} stopOpacity={0} />
+ </LinearGradient>
+ </Defs>
+ {/* Y-axis gridlines + weight tick labels */}
+ {ticks.map((t) => {
+ const y = yAt(t)
+ return (
+ <Line key={`grid-${t}`} x1={padLeft} y1={y} x2={width - padRight} y2={y} stroke={colors.border} strokeWidth={1} opacity={0.5} />
+ )
+ })}
+ {/* Value + unit (lb/kg) so the axis reads absolutely; the unit is driven by the
+ weight_unit setting (values already converted upstream), so it updates on toggle.
+ Right-aligned with a gap before the plot so the unit doesn't butt the line. */}
+ {ticks.map((t) => (
+ <SvgText key={`yl-${t}`} x={padLeft - 12} y={yAt(t) + 3} fontSize={10} fill={colors.txMuted} textAnchor="end">
+ {`${fmtTick(t)} ${unit}`}
+ </SvgText>
+ ))}
+
+ {/* Gradient area under the curve (drawn under the line). */}
+ <Path d={areaPath} fill="url(#exHistArea)" stroke="none" />
+ {/* Guide line to the selected point (drawn under the line + dots). */}
+ {sel ? (
+ <Line x1={sel.x} y1={padTop} x2={sel.x} y2={padTop + plotH} stroke={colors.txMuted} strokeWidth={1} opacity={0.5} />
+ ) : null}
+ <Path d={monotonePath(pts)} fill="none" stroke={STROKE} strokeWidth={2.5} strokeLinejoin="round" strokeLinecap="round" />
+ {pts.map((p, i) => (
+ <Circle
+ key={i}
+ cx={p.x}
+ cy={p.y}
+ r={selected === i ? 5 : 3}
+ fill={selected === i ? '#ffffff' : STROKE}
+ stroke={STROKE}
+ strokeWidth={selected === i ? 2.5 : 0}
+ />
+ ))}
+ {/* Larger transparent hit targets so tapping near a point selects it (touch
+ equivalent of recharts' hover tooltip). */}
+ {pts.map((p, i) => (
+ <Circle
+ key={`hit-${i}`}
+ cx={p.x}
+ cy={p.y}
+ r={Math.max(12, stepX / 2)}
+ fill="transparent"
+ onPress={() => {
+ Haptics.selectionAsync().catch(() => {})
+ setSelected((cur) => (cur === i ? null : i))
+ }}
+ />
+ ))}
+ {/* x-axis date ticks */}
+ {data.map((d, i) =>
+ i % labelEvery === 0 || i === data.length - 1 ? (
+ <SvgText
+ key={`lbl-${i}`}
+ x={pts[i].x}
+ y={height - 4}
+ fontSize={10}
+ fill={colors.txMuted}
+ textAnchor={i === data.length - 1 ? 'end' : i === 0 ? 'start' : 'middle'}
+ >
+ {d.date}
+ </SvgText>
+ ) : null
+ )}
+ </Svg>
+ {/* Tap-to-read bubble: mirrors web tooltip content "{weight} {unit} · Max weight". */}
+ {sel && selected != null ? (
+ <View
+ pointerEvents="none"
+ className="absolute rounded-lg border border-surface-border bg-surface-raised px-2 py-1"
+ style={{
+ left: Math.min(Math.max(sel.x - 44, padLeft), Math.max(0, width - 88)),
+ top: Math.max(sel.y - 34, 0),
+ }}
+ >
+ <AppText variant="caption" style={{ fontVariant: ['tabular-nums'] }}>
+ {data[selected].weight} {unit}{readoutNote ? ` · ${readoutNote}` : ''}
+ </AppText>
+ {data[selected].sub ? (
+ <AppText variant="caption" color="muted">{data[selected].sub}</AppText>
+ ) : null}
+ </View>
+ ) : null}
+ </View>
+ )
+}
diff --git a/mobile/src/components/workouts/ExerciseImage.tsx b/mobile/src/components/workouts/ExerciseImage.tsx
new file mode 100644
index 0000000..3ecab56
--- /dev/null
+++ b/mobile/src/components/workouts/ExerciseImage.tsx
@@ -0,0 +1,47 @@
+import { useState } from 'react'
+import { Image, View } from 'react-native'
+import { Dumbbell } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+
+type Size = 'row' | 'hero'
+
+interface Props {
+ url?: string
+ /** 'row' = 44px (web w-11, list/exercise rows) · 'hero' = 56px (web w-14, detail header). */
+ size?: Size
+ /** Glyph shown when there's no image (web uses BookOpen for programs, Dumbbell for exercises). */
+ fallbackIcon?: LucideIcon
+}
+
+const BOX: Record<Size, { box: string; icon: number }> = {
+ row: { box: 'w-11 h-11', icon: 20 },
+ hero: { box: 'w-14 h-14', icon: 24 },
+}
+
+// Exercise thumbnail with the web's onError fallback: missing/broken image_url →
+// brand-tinted Dumbbell chip. The web hides the <img> element on error; RN Images
+// can't be restyled after failing, so we swap components via state instead.
+export function ExerciseImage({ url, size = 'row', fallbackIcon: Fallback = Dumbbell }: Props) {
+ // Icon color is an SVG prop (documented className exception) — accent keeps the
+ // cyan legible on both themes.
+ const { accent } = useTheme()
+ const [failed, setFailed] = useState(false)
+
+ const s = BOX[size]
+ if (!url || failed) {
+ return (
+ <View className={`${s.box} rounded-xl bg-brand-500/10 border border-brand-500/20 items-center justify-center`}>
+ <Fallback size={s.icon} color={accent} strokeWidth={2} />
+ </View>
+ )
+ }
+ return (
+ <Image
+ source={{ uri: url }}
+ onError={() => setFailed(true)}
+ resizeMode="cover"
+ className={`${s.box} rounded-xl bg-surface-muted`}
+ />
+ )
+}
diff --git a/mobile/src/components/workouts/ExercisePicker.tsx b/mobile/src/components/workouts/ExercisePicker.tsx
new file mode 100644
index 0000000..f0e96bd
--- /dev/null
+++ b/mobile/src/components/workouts/ExercisePicker.tsx
@@ -0,0 +1,160 @@
+import { useEffect, useState } from 'react'
+import { ActivityIndicator, FlatList, Modal, Pressable, TextInput, View } from 'react-native'
+import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context'
+import { ArrowLeft, Search } from 'lucide-react-native'
+import type { Exercise } from '@lyftr/shared'
+import { AppText, IconButton } from '../ui'
+import { client } from '../../lib/lyftr'
+import { useTheme } from '../../theme/useTheme'
+import { EQUIPMENT_LABEL } from '../../utils/exerciseUtils'
+import { ExerciseImage } from './ExerciseImage'
+
+interface Props {
+ selectedIds: number[]
+ onSelect: (exercise: Exercise) => void
+ onClose: () => void
+}
+
+const MAX_SHOWN = 40
+
+function PickerRow({ exercise, onPress }: { exercise: Exercise; onPress: () => void }) {
+ return (
+ <Pressable
+ accessibilityRole="button"
+ onPress={onPress}
+ className="flex-row items-center gap-3 px-3 py-3 active:bg-surface-muted/60"
+ >
+ <ExerciseImage url={exercise.image_url} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{exercise.name}</AppText>
+ <View className="mt-0.5 flex-row flex-wrap items-center gap-1.5">
+ {/* Neutral muscle chip: a whole scrolling list of loud per-muscle colors
+ reads busy and there's no "best"/PR signal here to reserve color for —
+ keep the taxonomy legible but let the exercise name be the hero. */}
+ <View className="rounded border border-surface-border bg-surface-muted px-1.5 py-0.5">
+ <AppText variant="caption" color="muted" className="capitalize">
+ {exercise.muscle_group}
+ </AppText>
+ </View>
+ {exercise.equipment && exercise.equipment !== 'other' ? (
+ <AppText variant="caption" color="muted">
+ {EQUIPMENT_LABEL[exercise.equipment] || exercise.equipment}
+ </AppText>
+ ) : null}
+ </View>
+ </View>
+ </Pressable>
+ )
+}
+
+// Port of web/components/ExercisePicker.tsx as a full-screen RN Modal (the web
+// portals a fixed overlay; the caller conditionally mounts us the same way, so
+// search state resets per open — a routed screen can't hand the picked Exercise
+// back to the form without a store detour, hence Modal).
+export function ExercisePicker({ selectedIds, onSelect, onClose }: Props) {
+ const { accent, colors } = useTheme()
+ const [exercises, setExercises] = useState<Exercise[]>([])
+ const [query, setQuery] = useState('')
+ const [loading, setLoading] = useState(false)
+
+ // One debounced loader (250ms, web parity); the empty query is served instantly —
+ // the client caches the unfiltered exercise list after the first fetch.
+ useEffect(() => {
+ let cancelled = false
+ const t = setTimeout(async () => {
+ setLoading(true)
+ try {
+ const data = await client.exerciseAPI.list(query ? { q: query } : undefined)
+ if (!cancelled) setExercises(data || [])
+ } catch {
+ // Web swallows picker fetch errors too — the empty state covers it.
+ } finally {
+ if (!cancelled) setLoading(false)
+ }
+ }, query ? 250 : 0)
+ return () => {
+ cancelled = true
+ clearTimeout(t)
+ }
+ }, [query])
+
+ const available = exercises.filter((e) => !selectedIds.includes(e.id))
+ const shown = available.slice(0, MAX_SHOWN)
+
+ return (
+ <Modal visible animationType="slide" onRequestClose={onClose}>
+ {/* A Modal renders in its own native view hierarchy outside the app's
+ SafeAreaProvider, so SafeAreaView's top inset resolves to 0 there and the
+ header rides up under the status bar/notch. Nest a provider inside the modal
+ so insets are re-measured for its window (the documented RN fix). */}
+ <SafeAreaProvider>
+ <SafeAreaView className="flex-1 bg-surface-base" edges={['top']}>
+ {/* Header */}
+ <View className="flex-row items-center gap-3 border-b border-surface-border px-4 pb-4 pt-3">
+ <IconButton icon={ArrowLeft} label="Close exercise picker" variant="ghost" size="md" onPress={onClose} />
+ <View>
+ {/* Large title (matches the sibling "Log Workout" screen title) — the
+ 18px heading read undersized for a full-screen surface. */}
+ <AppText variant="title">Add Exercise</AppText>
+ <AppText variant="caption" color="muted">{available.length} available</AppText>
+ </View>
+ </View>
+
+ {/* Search — local composed input (not the shared Field, which has no leading
+ slot) so the magnifier icon reads as a native search bar. Same value/
+ onChangeText/behavior as before; only the chrome changed. */}
+ <View className="border-b border-surface-border px-4 py-3">
+ <View
+ className="flex-row items-center gap-2.5 rounded-xl border border-surface-border px-3.5"
+ style={{ minHeight: 48, backgroundColor: colors.overlay }}
+ >
+ <Search size={18} color={colors.txMuted} strokeWidth={2.2} />
+ <TextInput
+ className="flex-1 font-sans text-base text-tx-primary"
+ value={query}
+ onChangeText={setQuery}
+ placeholder="Search name, muscle, equipment…"
+ placeholderTextColor={colors.txMuted}
+ autoCapitalize="none"
+ autoCorrect={false}
+ returnKeyType="search"
+ />
+ </View>
+ </View>
+
+ {/* List */}
+ {loading && exercises.length === 0 ? (
+ <View className="flex-row items-center justify-center gap-2 py-16">
+ <ActivityIndicator color={accent} />
+ <AppText variant="body" color="muted">Loading exercises…</AppText>
+ </View>
+ ) : (
+ <FlatList
+ data={shown}
+ keyExtractor={(e) => String(e.id)}
+ keyboardShouldPersistTaps="handled"
+ keyboardDismissMode="on-drag"
+ contentContainerStyle={{ paddingHorizontal: 16, paddingVertical: 8 }}
+ // Inset hairline between rows (native list idiom): starts past the leading
+ // media so the thumbnails read as a column, not boxed cells.
+ ItemSeparatorComponent={() => <View className="ml-[56px] h-px bg-surface-border/60" />}
+ renderItem={({ item }) => <PickerRow exercise={item} onPress={() => onSelect(item)} />}
+ ListEmptyComponent={
+ <View className="items-center py-16">
+ <AppText variant="body" color="muted">No exercises found</AppText>
+ </View>
+ }
+ ListFooterComponent={
+ available.length > MAX_SHOWN ? (
+ <AppText variant="caption" color="muted" className="py-3 text-center">
+ Showing {MAX_SHOWN} of {available.length} — refine search
+ </AppText>
+ ) : null
+ }
+ />
+ )}
+ </SafeAreaView>
+ </SafeAreaProvider>
+ </Modal>
+ )
+}
diff --git a/mobile/src/components/workouts/GymModeWorkout.tsx b/mobile/src/components/workouts/GymModeWorkout.tsx
new file mode 100644
index 0000000..ecf9e03
--- /dev/null
+++ b/mobile/src/components/workouts/GymModeWorkout.tsx
@@ -0,0 +1,595 @@
+import { useEffect, useRef, useState } from 'react'
+import { Image, Keyboard, Pressable, ScrollView, Text, TextInput, View } from 'react-native'
+import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'
+import Animated, { FadeOut } from 'react-native-reanimated'
+import * as Haptics from 'expo-haptics'
+import { router, usePathname } from 'expo-router'
+import {
+ Check, CheckCircle2, ChevronLeft, ChevronRight, Dumbbell, Flag, Layers, Minimize2,
+ Play, Plus, Repeat, Timer, Trash2, X,
+} from 'lucide-react-native'
+import {
+ displayToLbs, displayWeight, weightShort, type Exercise,
+} from '@lyftr/shared'
+import { AppText, ConfirmSheet, NumberField, NumericKeyboardAccessory, NUMERIC_ACCESSORY_ID, StepperTile } from '../ui'
+import { RestPicker } from './RestPicker'
+import { ExercisePicker } from './ExercisePicker'
+import { MuscleDiagram } from './MuscleDiagram'
+import { RestTimerBanner } from './RestTimerBanner'
+import { client, useSettingsStore, useWorkoutSession } from '../../lib/lyftr'
+import { useWorkoutOutcome } from '../../lib/workoutOutcome'
+import { useTheme } from '../../theme/useTheme'
+import { clampStep, clampValue } from '../../utils/number'
+import { nextIncompleteSet } from '../../utils/workoutSets'
+import { muscleColor, EQUIPMENT_LABEL } from '../../utils/exerciseUtils'
+
+// Port of web/pages/GymModeWorkout.tsx — full-screen 3-phase FSM overlay
+// (overview → exercise-info → exercise). Mounted at the ROOT layout when a session
+// exists, the layout pref is 'gym', and gymOpen is true (mirrors web's Layout).
+function MuscleBadge({ muscle, small }: { muscle: string; small?: boolean }) {
+ const { colors } = useTheme()
+ const tint = muscleColor(muscle)
+ return (
+ <View className={`rounded ${small ? 'px-1.5 py-0.5' : 'px-2 py-0.5'} ${tint?.chip ?? 'bg-surface-muted'} ${tint?.border ? `border ${tint.border}` : ''}`}>
+ <AppText variant="caption" style={{ color: tint?.text ?? colors.txMuted }}>{muscle}</AppText>
+ </View>
+ )
+}
+
+function ExerciseNotes({ exIdx, notes, onSave }: { exIdx: number; notes: string; onSave: (i: number, v: string) => void }) {
+ const { colors } = useTheme()
+ return (
+ <TextInput
+ defaultValue={notes}
+ onEndEditing={(e) => onSave(exIdx, e.nativeEvent.text)}
+ placeholder="+ Add note…"
+ placeholderTextColor={colors.txMuted}
+ className="font-sans text-xs text-tx-secondary"
+ />
+ )
+}
+
+export function GymModeWorkout() {
+ const session = useWorkoutSession((s) => s.session)
+ const minimizeGym = useWorkoutSession((s) => s.minimizeGym)
+ const phase = useWorkoutSession((s) => s.gymPhase)
+ const activeIdx = useWorkoutSession((s) => s.gymExIdx)
+ const activeSetIdx = useWorkoutSession((s) => s.gymSetIdx)
+ const setGymState = useWorkoutSession((s) => s.setGymState)
+ const updateSet = useWorkoutSession((s) => s.updateSet)
+ const completeSet = useWorkoutSession((s) => s.completeSet)
+ const addSet = useWorkoutSession((s) => s.addSet)
+ const removeSet = useWorkoutSession((s) => s.removeSet)
+ const removeExercise = useWorkoutSession((s) => s.removeExercise)
+ const addExercise = useWorkoutSession((s) => s.addExercise)
+ const updateExerciseNotes = useWorkoutSession((s) => s.updateExerciseNotes)
+ const buildPayload = useWorkoutSession((s) => s.buildPayload)
+ const cancelSession = useWorkoutSession((s) => s.cancelSession)
+ const setOutcome = useWorkoutOutcome((s) => s.setOutcome)
+ const startRest = useWorkoutSession((s) => s.startRest)
+ const clearRest = useWorkoutSession((s) => s.clearRest)
+ const restExIdx = useWorkoutSession((s) => s.restExIdx)
+ const restSetIdx = useWorkoutSession((s) => s.restSetIdx)
+ // Subscribe to the DERIVED boolean, not the raw rest stamps. Pause/resume/adjust flip
+ // restEndsAt ↔ restPausedRemainingMs but keep "a rest sheet is showing" true the whole
+ // time — selecting the boolean means those transitions don't re-render this whole
+ // overlay (which would re-run the muscle diagram and flash). Only start (false→true)
+ // and skip/clear (true→false) re-render, which is correct.
+ const restShown = useWorkoutSession((s) => s.restEndsAt != null || s.restPausedRemainingMs != null)
+ const setExerciseRest = useWorkoutSession((s) => s.setExerciseRest)
+
+ const settings = useSettingsStore((s) => s.settings)
+ const wUnit = weightShort(settings.weight_unit)
+ const { colors, accent } = useTheme()
+ const insets = useSafeAreaInsets()
+ const pathname = usePathname()
+ const [imgFailed, setImgFailed] = useState(false)
+ const [confirmFinish, setConfirmFinish] = useState(false)
+ const [confirmCancel, setConfirmCancel] = useState(false)
+ const [saving, setSaving] = useState(false)
+ const [showPicker, setShowPicker] = useState(false)
+
+ const setPhase = (p: typeof phase) => setGymState(p, activeIdx, activeSetIdx)
+ const onSetActiveIdx = (i: number) => setGymState(phase, i, 0)
+ const setActiveSetIdx = (i: number) => setGymState(phase, activeIdx, i)
+
+ useEffect(() => { setImgFailed(false) }, [activeIdx])
+
+ // Jump to a newly added exercise
+ const prevLenRef = useRef(session?.exercises.length ?? 0)
+ useEffect(() => {
+ const len = session?.exercises.length ?? 0
+ if (len > prevLenRef.current) onSetActiveIdx(len - 1)
+ prevLenRef.current = len
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [session?.exercises.length])
+
+ // Clamp a stale activeIdx that points past the list (e.g. after removing the last
+ // exercise) HERE in an effect — never during render. Correcting store state inside the
+ // render body throws "state update in render" and can spin a reload loop.
+ useEffect(() => {
+ const len = session?.exercises.length ?? 0
+ if (len > 0 && activeIdx >= len) setGymState(phase, len - 1, 0)
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [activeIdx, session?.exercises.length])
+
+ if (!session) return null
+
+ const totalSets = session.exercises.reduce((s, ex) => s + ex.sets.length, 0)
+ const completedSets = session.exercises.reduce((s, ex) => s + ex.sets.filter((st) => st.completed).length, 0)
+ const allDone = completedSets === totalSets && totalSets > 0
+
+ const handleFinish = async () => {
+ setSaving(true)
+ try {
+ const created = await client.workoutAPI.create(buildPayload())
+ setOutcome({ kind: 'saved', workoutId: created.id })
+ cancelSession()
+ minimizeGym()
+ router.replace('/workouts')
+ } catch {
+ setSaving(false)
+ setConfirmFinish(false)
+ }
+ }
+
+ const handleMinimize = () => {
+ minimizeGym()
+ // Web navigates away from /workout/active so the list UI doesn't show underneath.
+ if (pathname === '/workouts/active') router.replace('/workouts')
+ }
+
+ const addExerciseFromPicker = (exercise: Exercise) => {
+ addExercise({
+ exercise_id: exercise.id,
+ exercise,
+ notes: '',
+ sets: [{ set_number: 1, target_reps: 0, target_weight: 0, actual_reps: 0, actual_weight: 0, completed: false }],
+ })
+ setShowPicker(false)
+ }
+
+ // Render FUNCTIONS, not nested components. A component defined inside the render body
+ // gets a fresh function identity every render, so React unmounts+remounts its whole
+ // subtree each time (reloading images + the muscle diagram). Called as plain functions,
+ // their returned elements reconcile by real type (SafeAreaView/View) — no remount.
+ const overlay = (children: React.ReactNode) => (
+ // Soft dissolve on exit (finish / discard / minimize) instead of a hard cut — the
+ // overlay fades as the navigation settles underneath. Exit-only; entering is the
+ // route push.
+ <Animated.View exiting={FadeOut.duration(160)} style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, zIndex: 60 }}>
+ <SafeAreaView edges={['top', 'left', 'right']} style={{ flex: 1 }} className="bg-surface-base">
+ {children}
+ <ConfirmSheet
+ open={confirmFinish}
+ icon={Flag}
+ title="Finish Workout?"
+ message={`${completedSets} of ${totalSets} sets completed. Workout will be saved.`}
+ confirmLabel="Finish" busyLabel="Saving…" cancelLabel="Keep Going" busy={saving}
+ onConfirm={handleFinish} onCancel={() => setConfirmFinish(false)}
+ />
+ <ConfirmSheet
+ open={confirmCancel}
+ icon={Trash2} destructive
+ title="Discard workout?"
+ message="This ends the workout without saving — all progress is lost."
+ confirmLabel="Discard" cancelLabel="Keep Going"
+ onConfirm={() => { setOutcome({ kind: 'discarded', session }); cancelSession(); handleMinimize() }}
+ onCancel={() => setConfirmCancel(false)}
+ />
+ {showPicker ? (
+ <ExercisePicker
+ selectedIds={session.exercises.map((e) => e.exercise_id)}
+ onSelect={addExerciseFromPicker}
+ onClose={() => setShowPicker(false)}
+ />
+ ) : null}
+ {/* Floating rest banner on the non-logging phases (the logging phase docks its
+ own). Mirrors web Layout's `gymOpen && gymPhase !== 'exercise'` render. */}
+ {phase !== 'exercise' ? <RestTimerBanner /> : null}
+ {/* iOS Done bar above the numeric keyboard (the reps/weight NumberFields link it). */}
+ <NumericKeyboardAccessory />
+ </SafeAreaView>
+ </Animated.View>
+ )
+
+ const topBar = (onBack: () => void) => (
+ <View className="flex-shrink-0 flex-row items-center gap-3 border-b border-surface-border px-4 pb-3 pt-2">
+ <Pressable onPress={onBack} hitSlop={6} className="rounded-xl p-2 active:bg-surface-muted">
+ <ChevronLeft size={20} color={colors.txMuted} />
+ </Pressable>
+ <View className="min-w-0 flex-1 flex-row items-center gap-2">
+ <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{ gap: 6, alignItems: 'center' }}>
+ {session.exercises.map((_, i) => {
+ const done = session.exercises[i].sets.every((st) => st.completed) && session.exercises[i].sets.length > 0
+ return (
+ <Pressable
+ key={i}
+ onPress={() => setGymState('exercise-info', i, 0)}
+ accessibilityLabel={`Go to exercise ${i + 1}`}
+ className={`h-1.5 rounded-full ${i === activeIdx ? 'w-6 bg-brand-500' : done ? 'w-2 bg-brand-500/40' : 'w-2 bg-surface-border'}`}
+ />
+ )
+ })}
+ </ScrollView>
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>{activeIdx + 1}/{session.exercises.length}</AppText>
+ </View>
+ <View className="flex-shrink-0 flex-row items-center gap-1">
+ <Pressable onPress={() => setConfirmFinish(true)} className={`flex-row items-center gap-1.5 rounded-xl px-3 py-2 ${allDone ? 'bg-brand-500' : 'border border-surface-border bg-surface-muted'}`}>
+ <Flag size={14} color={allDone ? '#ffffff' : colors.txMuted} />
+ <Text className={`font-sans-semibold text-xs ${allDone ? 'text-white' : 'text-tx-muted'}`}>Finish</Text>
+ </Pressable>
+ <Pressable onPress={handleMinimize} hitSlop={6} accessibilityLabel="Minimize workout" className="rounded-xl p-2 active:bg-surface-muted">
+ <Minimize2 size={16} color={colors.txMuted} />
+ </Pressable>
+ <Pressable onPress={() => setConfirmCancel(true)} hitSlop={6} accessibilityLabel="Discard workout" className="rounded-xl p-2 active:bg-error-500/10">
+ <X size={20} color={colors.txMuted} />
+ </Pressable>
+ </View>
+ </View>
+ )
+
+ // ── Overview ──────────────────────────────────────────────
+ if (phase === 'overview') {
+ const muscles = [...new Set(session.exercises.map((e) => e.exercise.muscle_group))].length
+ return overlay(
+ <>
+ <View className="flex-row items-center justify-between border-b border-surface-border px-5 pb-4 pt-2">
+ <View className="flex-1">
+ <AppText variant="label" color="muted" className="uppercase">Workout</AppText>
+ <AppText variant="heading" numberOfLines={1}>{session.name}</AppText>
+ </View>
+ <View className="flex-row items-center gap-1">
+ <Pressable onPress={handleMinimize} hitSlop={6} accessibilityLabel="Minimize" className="rounded-xl p-2 active:bg-surface-muted">
+ <Minimize2 size={16} color={colors.txMuted} />
+ </Pressable>
+ <Pressable onPress={() => setConfirmCancel(true)} hitSlop={6} accessibilityLabel="Discard workout" className="rounded-xl p-2 active:bg-error-500/10">
+ <X size={20} color={colors.txMuted} />
+ </Pressable>
+ </View>
+ </View>
+
+ <View className="flex-row border-b border-surface-border px-5 py-4">
+ {[
+ { v: session.exercises.length, l: 'Exercises' },
+ { v: totalSets, l: 'Total Sets' },
+ { v: muscles, l: 'Muscles' },
+ ].map((s) => (
+ <View key={s.l} className="flex-1 items-center">
+ <Text className="font-display text-xl text-tx-primary" style={{ fontVariant: ['tabular-nums'] }}>{s.v}</Text>
+ <AppText variant="label" color="muted" className="mt-0.5 uppercase">{s.l}</AppText>
+ </View>
+ ))}
+ </View>
+
+ <ScrollView className="flex-1" contentContainerStyle={{ padding: 20, gap: 8 }}>
+ {session.exercises.length === 0 ? (
+ <View className="items-center gap-3 py-16">
+ <Dumbbell size={40} color={colors.txMuted} />
+ <AppText variant="body" color="muted">No exercises added yet</AppText>
+ </View>
+ ) : (
+ session.exercises.map((ex, i) => {
+ const done = ex.sets.length > 0 && ex.sets.every((s) => s.completed)
+ return (
+ <View key={i} className={`flex-row items-center gap-3 rounded-2xl border p-3 ${done ? 'border-brand-500/30 bg-brand-500/5' : 'border-surface-border bg-surface-base'}`}>
+ <View className="h-8 w-8 items-center justify-center rounded-full border border-surface-border bg-surface-muted">
+ <Text className="font-sans-bold text-sm" style={{ color: done ? accent : colors.txMuted }}>{i + 1}</Text>
+ </View>
+ {ex.exercise.image_url ? (
+ <Image source={{ uri: ex.exercise.image_url }} className="h-10 w-10 rounded-xl bg-surface-muted" />
+ ) : (
+ <View className="h-10 w-10 items-center justify-center rounded-xl border border-brand-500/20 bg-brand-500/10">
+ <Dumbbell size={16} color={accent} />
+ </View>
+ )}
+ <View className="flex-1">
+ <AppText variant="bodySemibold" numberOfLines={1}>{ex.exercise.name}</AppText>
+ <View className="mt-0.5 flex-row items-center gap-2">
+ <MuscleBadge muscle={ex.exercise.muscle_group} small />
+ <AppText variant="caption" color="muted">{ex.sets.length} sets</AppText>
+ </View>
+ </View>
+ {done ? <CheckCircle2 size={16} color={accent} /> : null}
+ </View>
+ )
+ })
+ )}
+ </ScrollView>
+
+ <View className="gap-2 border-t border-surface-border px-5 pt-4" style={{ paddingBottom: insets.bottom + 16 }}>
+ <Pressable onPress={() => setShowPicker(true)} className="flex-row items-center justify-center gap-2 rounded-2xl border border-surface-border bg-surface-muted py-3 active:scale-95">
+ <Plus size={16} color={colors.txSecondary} />
+ <Text className="font-sans-semibold text-sm text-tx-secondary">Add Exercise</Text>
+ </Pressable>
+ {session.exercises.length > 0 ? (
+ <Pressable onPress={() => setGymState('exercise-info', 0, 0)} className="flex-row items-center justify-center gap-2 rounded-2xl bg-brand-500 py-4 active:scale-95">
+ <Play size={20} color="#ffffff" />
+ <Text className="font-sans-bold text-base text-white">Start Workout</Text>
+ </Pressable>
+ ) : null}
+ </View>
+ </>,
+ )
+ }
+
+ // A stale/out-of-range index just renders nothing for one frame; the clamp effect
+ // above fixes activeIdx (no store writes during render).
+ const ex = session.exercises[activeIdx]
+ if (!ex) return null
+ const isFirst = activeIdx === 0
+ const isLast = activeIdx === session.exercises.length - 1
+
+ // ── Exercise info ─────────────────────────────────────────
+ if (phase === 'exercise-info') {
+ const exercise = ex.exercise
+ const equipLabel = EQUIPMENT_LABEL[exercise.equipment?.toLowerCase()] || exercise.equipment
+ const descLines = exercise.description ? exercise.description.split('\n').filter((l) => l.trim()) : []
+ const repsVals = ex.sets.map((s) => s.target_reps).filter((r) => r > 0)
+ const wtVals = ex.sets.map((s) => displayWeight(s.target_weight, wUnit)).filter((w) => w > 0)
+ const range = (a: number[]) => (a.length === 0 ? '—' : Math.min(...a) === Math.max(...a) ? String(Math.min(...a)) : `${Math.min(...a)}–${Math.max(...a)}`)
+ const planStats = [
+ { icon: Layers, label: 'Sets', value: String(ex.sets.length) },
+ { icon: Repeat, label: 'Reps', value: range(repsVals) },
+ { icon: Dumbbell, label: 'Weight', value: `${range(wtVals)} ${wUnit}` },
+ ]
+ return overlay(
+ <>
+ {topBar(() => (isFirst ? setPhase('overview') : setGymState('exercise', activeIdx - 1, 0)))}
+ <ScrollView className="flex-1" contentContainerStyle={{ paddingBottom: 20 }}>
+ {exercise.image_url && !imgFailed ? (
+ <Image source={{ uri: exercise.image_url }} onError={() => setImgFailed(true)} className="h-52 w-full bg-surface-muted" resizeMode="cover" />
+ ) : null}
+ <View className="gap-5 px-5 pb-4 pt-5">
+ <View>
+ <AppText variant="title">{exercise.name}</AppText>
+ <View className="mt-2 flex-row flex-wrap items-center gap-2">
+ <MuscleBadge muscle={exercise.muscle_group} />
+ {equipLabel && exercise.equipment !== 'other' ? (
+ <View className="rounded-full border border-surface-border bg-surface-muted px-3 py-1"><AppText variant="caption" color="secondary">{equipLabel}</AppText></View>
+ ) : null}
+ {exercise.category ? (
+ <View className="rounded-full border border-surface-border bg-surface-muted px-3 py-1"><AppText variant="caption" color="secondary" className="capitalize">{exercise.category}</AppText></View>
+ ) : null}
+ </View>
+ </View>
+
+ {/* Plan */}
+ <View className="flex-row rounded-2xl border border-surface-border bg-surface-raised p-4">
+ {planStats.map(({ icon: Ico, label, value }, i) => (
+ <View key={label} className={`flex-1 items-center gap-1.5 ${i > 0 ? 'border-l border-surface-border' : ''}`}>
+ <Ico size={16} color={accent} />
+ <Text className="font-display text-xl text-tx-primary" style={{ fontVariant: ['tabular-nums'] }}>{value}</Text>
+ <AppText variant="label" color="muted" className="uppercase">{label}</AppText>
+ </View>
+ ))}
+ </View>
+
+ {/* Rest */}
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ <View className="flex-row items-center gap-2">
+ <Timer size={16} color={accent} />
+ <AppText variant="label" color="muted" className="uppercase">Rest between sets</AppText>
+ </View>
+ <AppText variant="caption" color="muted" className="mb-3 mt-1">Auto-starts when you complete a set</AppText>
+ <View className="mt-3">
+ <RestPicker value={ex.rest_seconds ?? (settings.rest_seconds_default ?? 90)} onChange={(secs) => setExerciseRest(activeIdx, secs)} />
+ </View>
+ </View>
+
+ {exercise.secondary_muscles?.length > 0 ? (
+ <View>
+ <AppText variant="label" color="muted" className="mb-2 uppercase">Also works</AppText>
+ <View className="flex-row flex-wrap gap-1.5">
+ {exercise.secondary_muscles.map((m) => <MuscleBadge key={m} muscle={m} small />)}
+ </View>
+ </View>
+ ) : null}
+
+ {/* Muscle diagram */}
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ <AppText variant="label" color="muted" className="mb-3 uppercase">Muscles Worked</AppText>
+ <MuscleDiagram exercise={exercise} />
+ </View>
+
+ {descLines.length > 0 ? (
+ <View className="rounded-2xl border border-surface-border bg-surface-raised p-4">
+ <AppText variant="label" color="muted" className="mb-3 uppercase">Instructions</AppText>
+ <View className="gap-2.5">
+ {descLines.map((line, i) => {
+ const m = line.match(/^(\d+\.)\s*(.*)/)
+ return (
+ <AppText key={i} variant="body" color="secondary">
+ {m ? <AppText variant="bodySemibold">{m[1]} </AppText> : null}{m ? m[2] : line}
+ </AppText>
+ )
+ })}
+ </View>
+ </View>
+ ) : null}
+ </View>
+ </ScrollView>
+ <View className="border-t border-surface-border px-5 pt-4" style={{ paddingBottom: insets.bottom + 16 }}>
+ <Pressable onPress={() => setPhase('exercise')} className="flex-row items-center justify-center gap-2 rounded-2xl bg-brand-500 py-4 active:scale-95">
+ <Play size={20} color="#ffffff" />
+ <Text className="font-sans-bold text-base text-white">Begin Exercise</Text>
+ </Pressable>
+ </View>
+ </>,
+ )
+ }
+
+ // ── Exercise sets ─────────────────────────────────────────
+ const allSetsComplete = ex.sets.length > 0 && ex.sets.every((s) => s.completed)
+ const completedHere = ex.sets.filter((s) => s.completed).length
+ const clampedSetIdx = Math.min(activeSetIdx, ex.sets.length - 1)
+ const set = ex.sets[clampedSetIdx]
+
+ const handleCompleteSetGym = (setIdx: number) => {
+ // Done typing this set — drop the keyboard so the rest sheet doesn't animate in under
+ // a raised keyboard (and pausing it later can't trigger a blur-reflow).
+ Keyboard.dismiss()
+ const wasCompleted = ex.sets[setIdx].completed
+ completeSet(activeIdx, setIdx)
+ if (wasCompleted) {
+ if (restExIdx === activeIdx && restSetIdx === setIdx) clearRest()
+ return
+ }
+ // Satisfying "clunk" when a set lands (native-feel; web has none).
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium).catch(() => {})
+ if (settings.rest_enabled) {
+ const r = ex.rest_seconds ?? settings.rest_seconds_default ?? 90
+ if (r > 0) startRest(r, activeIdx, setIdx)
+ }
+ const next = nextIncompleteSet(ex.sets, setIdx)
+ if (next !== -1) setActiveSetIdx(next)
+ }
+
+ const handleRemoveSet = (setIdx: number) => {
+ removeSet(activeIdx, setIdx)
+ setActiveSetIdx(Math.max(0, Math.min(setIdx, ex.sets.length - 2)))
+ }
+
+ const handleRemoveExercise = () => {
+ removeExercise(activeIdx)
+ const newLen = session.exercises.length - 1
+ if (newLen === 0) { setPhase('overview'); return }
+ onSetActiveIdx(Math.min(activeIdx, newLen - 1))
+ }
+
+ if (!set) return null
+
+ const restingHere = restExIdx === activeIdx
+ const restNextSet = restingHere && restSetIdx != null ? nextIncompleteSet(ex.sets, restSetIdx) : -1
+ const hideCompleteForRest = restingHere && clampedSetIdx === restNextSet
+
+ return overlay(
+ <>
+ {topBar(() => setPhase('exercise-info'))}
+ {/* name + muscle */}
+ <View className="flex-shrink-0 border-b border-surface-border px-5 pb-3 pt-4">
+ <View className="flex-row items-center justify-between gap-2">
+ <View className="min-w-0 flex-1">
+ <AppText variant="heading" numberOfLines={1}>{ex.exercise.name}</AppText>
+ <View className="mt-1 flex-row items-center gap-2">
+ <MuscleBadge muscle={ex.exercise.muscle_group} small />
+ <AppText variant="caption" color="muted" style={{ fontVariant: ['tabular-nums'] }}>{completedHere}/{ex.sets.length} sets done</AppText>
+ </View>
+ </View>
+ {!allSetsComplete ? (
+ <Pressable onPress={handleRemoveExercise} hitSlop={6} accessibilityLabel="Remove this exercise" className="rounded-lg p-1.5 active:bg-error-500/10">
+ <Trash2 size={16} color={colors.txMuted} />
+ </Pressable>
+ ) : null}
+ </View>
+ <View className="mt-2">
+ <ExerciseNotes exIdx={activeIdx} notes={ex.notes} onSave={updateExerciseNotes} />
+ </View>
+ </View>
+
+ <ScrollView className="flex-1" contentContainerStyle={{ flexGrow: 1 }} keyboardShouldPersistTaps="handled" automaticallyAdjustKeyboardInsets>
+ <View className={`m-auto w-full items-center px-5 ${restingHere ? 'gap-4 py-2' : 'gap-6 py-4'}`}>
+ {/* set selector chips */}
+ <View className="flex-row flex-wrap items-center justify-center gap-2">
+ {ex.sets.map((s, i) => {
+ const resting = restingHere && restSetIdx === i
+ return (
+ <Pressable
+ key={i}
+ onPress={() => setActiveSetIdx(i)}
+ accessibilityLabel={`Set ${i + 1}${s.completed ? ', done' : ''}${resting ? ', resting' : ''}`}
+ className={`h-10 min-w-[44px] flex-row items-center justify-center gap-1 rounded-full px-3 active:scale-95 ${
+ i === clampedSetIdx ? 'bg-brand-500' : s.completed ? `bg-brand-500/15 ${resting ? 'border border-brand-500/60' : ''}` : 'bg-surface-muted'
+ }`}
+ >
+ {s.completed ? <Check size={14} color={i === clampedSetIdx ? '#ffffff' : accent} /> : null}
+ <Text className="font-sans-bold text-sm" style={{ color: i === clampedSetIdx ? '#ffffff' : s.completed ? accent : colors.txMuted, fontVariant: ['tabular-nums'] }}>{i + 1}</Text>
+ </Pressable>
+ )
+ })}
+ </View>
+
+ {/* target reference */}
+ {set.target_reps > 0 || set.target_weight > 0 ? (
+ <AppText variant="body" color="muted" className="text-center">
+ Target <Text className="font-sans-semibold" style={{ color: colors.txSecondary, fontVariant: ['tabular-nums'] }}>{set.target_reps > 0 ? set.target_reps : '—'} reps</Text>
+ {set.target_weight > 0 ? <Text> · <Text className="font-sans-semibold" style={{ color: colors.txSecondary, fontVariant: ['tabular-nums'] }}>{displayWeight(set.target_weight, wUnit)} {wUnit}</Text></Text> : null}
+ </AppText>
+ ) : null}
+
+ {/* reps + weight steppers */}
+ <View className="w-full flex-row gap-3">
+ <View className="flex-1">
+ <StepperTile icon={Repeat} label="Reps" name="reps" step={1} disabled={set.completed} onStep={(d) => updateSet(activeIdx, clampedSetIdx, 'actual_reps', clampStep(set.actual_reps || 0, d, { min: 0 }))}>
+ <NumberField key={`reps-${activeIdx}-${clampedSetIdx}`} inputMode="numeric" value={set.actual_reps ? String(set.actual_reps) : ''} onChange={(v) => updateSet(activeIdx, clampedSetIdx, 'actual_reps', Math.round(clampValue(v)))} placeholder={set.target_reps > 0 ? String(set.target_reps) : '0'} disabled={set.completed} accessibilityLabel="Reps" inputAccessoryViewID={NUMERIC_ACCESSORY_ID} />
+ </StepperTile>
+ </View>
+ <View className="flex-1">
+ <StepperTile icon={Dumbbell} label={`Weight (${wUnit})`} name="weight" step={2.5} disabled={set.completed} onStep={(d) => updateSet(activeIdx, clampedSetIdx, 'actual_weight', displayToLbs(clampStep(displayWeight(set.actual_weight, wUnit), d, { min: 0 }), settings.weight_unit))}>
+ <NumberField key={`wt-${activeIdx}-${clampedSetIdx}`} inputMode="decimal" value={set.actual_weight ? String(displayWeight(set.actual_weight, wUnit)) : ''} onChange={(v) => updateSet(activeIdx, clampedSetIdx, 'actual_weight', displayToLbs(clampValue(v), settings.weight_unit))} placeholder={set.target_weight > 0 ? String(displayWeight(set.target_weight, wUnit)) : '0'} disabled={set.completed} accessibilityLabel="Weight" inputAccessoryViewID={NUMERIC_ACCESSORY_ID} />
+ </StepperTile>
+ </View>
+ </View>
+
+ {/* complete + remove (hidden while resting before this set) */}
+ {!hideCompleteForRest ? (
+ <View className="w-full items-center gap-6">
+ <Pressable onPress={() => handleCompleteSetGym(clampedSetIdx)} className={`w-full flex-row items-center justify-center gap-3 rounded-2xl py-5 active:scale-95 ${set.completed ? 'border-2 border-brand-500/40 bg-brand-500/15' : 'bg-brand-500'}`}>
+ <CheckCircle2 size={24} color={set.completed ? accent : '#ffffff'} />
+ <Text className={`font-sans-bold text-base ${set.completed ? '' : 'text-white'}`} style={set.completed ? { color: accent } : undefined}>{set.completed ? 'Completed' : 'Complete Set'}</Text>
+ </Pressable>
+ {ex.sets.length > 1 ? (
+ <Pressable onPress={() => handleRemoveSet(clampedSetIdx)} className="active:opacity-60">
+ <Text className="font-sans text-xs text-tx-muted">Remove this set</Text>
+ </Pressable>
+ ) : null}
+ </View>
+ ) : null}
+ </View>
+ </ScrollView>
+
+ {/* bottom nav — when a rest sheet is docked below it, that sheet owns the safe-area
+ bottom (they sit flush); otherwise the nav reserves the home-indicator inset. */}
+ <View className="flex-shrink-0 gap-2 border-t border-surface-border px-5 pt-3" style={{ paddingBottom: restShown ? 12 : insets.bottom + 12 }}>
+ <View className="flex-row gap-2">
+ {/* active:scale-95 stays in the class list unconditionally (disabled blocks the
+ press anyway). Toggling a pseudo-class (active:) on/off across renders makes
+ NativeWind re-evaluate the View→Pressable upgrade after the initial render,
+ which fires a dev-only printUpgradeWarning whose JSON.stringify walks into
+ react-navigation's default context getter and throws. Keeping active: stable
+ avoids the churn entirely. */}
+ <Pressable onPress={() => setActiveSetIdx(clampedSetIdx - 1)} disabled={clampedSetIdx === 0} className={`rounded-xl border border-surface-border bg-surface-muted p-3 active:scale-95 ${clampedSetIdx === 0 ? 'opacity-30' : ''}`}>
+ <ChevronLeft size={16} color={colors.txSecondary} />
+ </Pressable>
+ <Pressable onPress={() => { addSet(activeIdx); setActiveSetIdx(ex.sets.length) }} className="flex-1 flex-row items-center justify-center gap-1.5 rounded-xl border border-dashed border-surface-border py-3 active:opacity-60">
+ <Plus size={14} color={colors.txMuted} />
+ <Text className="font-sans-semibold text-xs text-tx-muted">Add Set</Text>
+ </Pressable>
+ <Pressable onPress={() => setActiveSetIdx(clampedSetIdx + 1)} disabled={clampedSetIdx >= ex.sets.length - 1} className={`rounded-xl border border-surface-border bg-surface-muted p-3 active:scale-95 ${clampedSetIdx >= ex.sets.length - 1 ? 'opacity-30' : ''}`}>
+ <ChevronRight size={16} color={colors.txSecondary} />
+ </Pressable>
+ </View>
+ <View className="flex-row gap-2">
+ <Pressable onPress={() => setPhase('exercise-info')} className="flex-row items-center gap-1.5 rounded-xl border border-surface-border bg-surface-muted px-4 py-3 active:scale-95">
+ <ChevronLeft size={16} color={colors.txSecondary} />
+ <Text className="font-sans-semibold text-sm text-tx-secondary">Info</Text>
+ </Pressable>
+ {isLast ? (
+ <Pressable onPress={() => setConfirmFinish(true)} className={`flex-1 flex-row items-center justify-center gap-2 rounded-xl py-3 active:scale-95 ${allSetsComplete ? 'bg-brand-500' : 'border border-brand-500/30 bg-brand-500/10'}`}>
+ <Flag size={16} color={allSetsComplete ? '#ffffff' : accent} />
+ <Text className={`font-sans-bold text-sm ${allSetsComplete ? 'text-white' : ''}`} style={allSetsComplete ? undefined : { color: accent }}>Finish Workout</Text>
+ </Pressable>
+ ) : (
+ <Pressable onPress={() => setGymState('exercise-info', activeIdx + 1, 0)} className={`flex-1 flex-row items-center justify-center gap-2 rounded-xl py-3 active:scale-95 ${allSetsComplete ? 'bg-brand-500' : 'border border-surface-border bg-surface-muted'}`}>
+ <Text className={`font-sans-bold text-sm ${allSetsComplete ? 'text-white' : 'text-tx-secondary'}`}>Next Exercise</Text>
+ <ChevronRight size={16} color={allSetsComplete ? '#ffffff' : colors.txSecondary} />
+ </Pressable>
+ )}
+ </View>
+ </View>
+
+ {/* docked rest banner */}
+ <RestTimerBanner docked />
+ </>,
+ )
+}
diff --git a/mobile/src/components/workouts/KeyboardDoneBar.tsx b/mobile/src/components/workouts/KeyboardDoneBar.tsx
new file mode 100644
index 0000000..d574879
--- /dev/null
+++ b/mobile/src/components/workouts/KeyboardDoneBar.tsx
@@ -0,0 +1,29 @@
+import { InputAccessoryView, Keyboard, Platform, Pressable, Text, View } from 'react-native'
+import { useTheme } from '../../theme/useTheme'
+
+// iOS numeric keypads (number-pad / decimal-pad) have no return key, so once the
+// set table has focus the only way out is guessing "tap dead space". This docks a
+// Done bar above the keypad — the standard iOS escape hatch — via
+// InputAccessoryView (iOS-only by design; Android numeric keyboards ship their own
+// done/next key, so it renders nothing there). Screens give the bar a unique
+// nativeID and pass the same ID to their numeric inputs' `inputAccessoryViewID`.
+// Kept in workouts/ (not ui/) until a second surface needs it.
+export function KeyboardDoneBar({ nativeID }: { nativeID: string }) {
+ const { accent } = useTheme()
+ if (Platform.OS !== 'ios') return null
+ return (
+ <InputAccessoryView nativeID={nativeID}>
+ <View className="flex-row justify-end border-t border-surface-border bg-surface-raised px-5 py-2">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Dismiss keyboard"
+ onPress={() => Keyboard.dismiss()}
+ hitSlop={10}
+ className="active:opacity-60"
+ >
+ <Text className="font-sans-semibold text-sm" style={{ color: accent }}>Done</Text>
+ </Pressable>
+ </View>
+ </InputAccessoryView>
+ )
+}
diff --git a/mobile/src/components/workouts/MuscleDiagram.tsx b/mobile/src/components/workouts/MuscleDiagram.tsx
new file mode 100644
index 0000000..c8f6089
--- /dev/null
+++ b/mobile/src/components/workouts/MuscleDiagram.tsx
@@ -0,0 +1,57 @@
+import { memo } from 'react'
+import { View } from 'react-native'
+import Body, { type Slug } from 'react-native-body-highlighter'
+import type { Exercise } from '@lyftr/shared'
+import { muscleToBodySlugs } from '../../utils/exerciseUtils'
+import { useTheme } from '../../theme/useTheme'
+import { AppText } from '../ui'
+
+// Mobile equivalent of web's react-body-highlighter `Model` (gym exercise-info "Muscles
+// Worked"). Renders front + back highlighted body maps via react-native-body-highlighter
+// (react-native-svg). Primary muscles get the brighter colour (intensity 2), secondary
+// the darker (intensity 1) — same split + colours as web. Returns null when nothing maps.
+// Memoized: the SVG body maps are expensive to re-render, and the parent gym overlay can
+// re-render for unrelated reasons (rest sheet toggling) — this keeps the diagram stable
+// unless the exercise (or theme) actually changes.
+const COLORS = ['#0e7490', '#22d3ee'] // [intensity1 = secondary, intensity2 = primary]
+
+export const MuscleDiagram = memo(function MuscleDiagram({ exercise }: { exercise: Exercise }) {
+ const { isDark } = useTheme()
+ const primary = muscleToBodySlugs(exercise.muscle_group)
+ const secondary = (exercise.secondary_muscles || [])
+ .flatMap((m) => muscleToBodySlugs(m))
+ .filter((s) => !primary.includes(s))
+
+ const data = [
+ ...primary.map((slug) => ({ slug: slug as Slug, intensity: 2 })),
+ ...secondary.map((slug) => ({ slug: slug as Slug, intensity: 1 })),
+ ]
+ if (data.length === 0) return null
+
+ const bodyColor = isDark ? '#162240' : '#e2e8f0'
+
+ return (
+ <View>
+ <View className="flex-row items-start justify-center gap-6">
+ <View className="items-center gap-1">
+ <Body data={data} side="front" scale={0.85} colors={COLORS} defaultFill={bodyColor} border="none" />
+ <AppText variant="caption" color="muted">Front</AppText>
+ </View>
+ <View className="items-center gap-1">
+ <Body data={data} side="back" scale={0.85} colors={COLORS} defaultFill={bodyColor} border="none" />
+ <AppText variant="caption" color="muted">Back</AppText>
+ </View>
+ </View>
+ <View className="mt-3 flex-row items-center justify-center gap-4">
+ <View className="flex-row items-center gap-1.5">
+ <View className="h-3 w-3 rounded-full" style={{ backgroundColor: '#22d3ee' }} />
+ <AppText variant="caption" color="muted">Primary</AppText>
+ </View>
+ <View className="flex-row items-center gap-1.5">
+ <View className="h-3 w-3 rounded-full" style={{ backgroundColor: '#0e7490' }} />
+ <AppText variant="caption" color="muted">Secondary</AppText>
+ </View>
+ </View>
+ </View>
+ )
+})
diff --git a/mobile/src/components/workouts/ProgramPicker.tsx b/mobile/src/components/workouts/ProgramPicker.tsx
new file mode 100644
index 0000000..c663b74
--- /dev/null
+++ b/mobile/src/components/workouts/ProgramPicker.tsx
@@ -0,0 +1,110 @@
+import { useEffect, useMemo, useState } from 'react'
+import { ActivityIndicator, FlatList, Modal, Pressable, View } from 'react-native'
+import { AlertCircle, BookOpen, ChevronRight, Dumbbell, X } from 'lucide-react-native'
+import type { Program } from '@lyftr/shared'
+import { AppText, EmptyState, Field, IconButton } from '../ui'
+import { client } from '../../lib/lyftr'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ onSelect: (program: Program) => void
+ onClose: () => void
+}
+
+// Port of web/components/ProgramPicker.tsx: dimmed overlay + centered card. One
+// directed addition over web: a search field — client-side name filter, since the
+// program list is a single un-paginated fetch.
+export function ProgramPicker({ onSelect, onClose }: Props) {
+ const { colors, brand, accent, isDark } = useTheme()
+ const [programs, setPrograms] = useState<Program[]>([])
+ const [query, setQuery] = useState('')
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState('')
+
+ useEffect(() => {
+ client.programAPI.list()
+ .then((data) => setPrograms(data || []))
+ .catch(() => setError('Failed to load programs'))
+ .finally(() => setLoading(false))
+ }, [])
+
+ const shown = useMemo(() => {
+ const q = query.trim().toLowerCase()
+ return q ? programs.filter((p) => p.name.toLowerCase().includes(q)) : programs
+ }, [programs, query])
+
+ return (
+ <Modal visible transparent animationType="fade" onRequestClose={onClose}>
+ <View className="flex-1 items-center justify-center bg-black/60 px-4">
+ {/* maxHeight is layout math NativeWind percentages don't cover reliably — inline. */}
+ <View className="w-full rounded-2xl border border-surface-border bg-surface-base" style={{ maxHeight: '80%' }}>
+ <View className="flex-row items-center justify-between border-b border-surface-border px-4 py-3">
+ <View>
+ <AppText variant="heading">Load from Program</AppText>
+ <AppText variant="caption" color="muted" className="mt-0.5">Pick a program to pre-fill exercises</AppText>
+ </View>
+ <IconButton icon={X} label="Close program picker" variant="ghost" size="md" onPress={onClose} />
+ </View>
+
+ <View className="border-b border-surface-border px-4 py-3">
+ <Field
+ value={query}
+ onChangeText={setQuery}
+ placeholder="Search programs…"
+ autoCapitalize="none"
+ autoCorrect={false}
+ returnKeyType="search"
+ />
+ </View>
+
+ {loading ? (
+ <View className="flex-row items-center justify-center gap-2 p-8">
+ <ActivityIndicator color={accent} />
+ <AppText variant="body" color="muted">Loading programs…</AppText>
+ </View>
+ ) : error ? (
+ <View className="flex-row items-center gap-2 p-4">
+ <AlertCircle size={16} color={isDark ? brand.errorSoft : brand.error} />
+ <AppText variant="body" color="error">{error}</AppText>
+ </View>
+ ) : shown.length === 0 ? (
+ <EmptyState
+ compact
+ icon={BookOpen}
+ title={query ? 'No matching programs' : 'No programs yet'}
+ subtitle={query ? 'Try a different search' : 'Create a program first'}
+ />
+ ) : (
+ <FlatList
+ data={shown}
+ keyExtractor={(p) => String(p.id)}
+ keyboardShouldPersistTaps="handled"
+ renderItem={({ item }) => (
+ <Pressable
+ accessibilityRole="button"
+ onPress={() => onSelect(item)}
+ className="flex-row items-center gap-3 border-b border-surface-border px-4 py-3 active:bg-surface-muted"
+ >
+ <View className="h-9 w-9 items-center justify-center rounded-lg border border-brand-500/20 bg-brand-500/10">
+ <BookOpen size={16} color={accent} />
+ </View>
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{item.name}</AppText>
+ <View className="mt-0.5 flex-row items-center gap-1.5">
+ <Dumbbell size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {item.exercises?.length || 0} exercises{item.notes ? ` • ${item.notes}` : ''}
+ </AppText>
+ </View>
+ </View>
+ {/* Web reveals the chevron on hover; no hover on touch → always shown. */}
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Pressable>
+ )}
+ />
+ )}
+ </View>
+ </View>
+ </Modal>
+ )
+}
diff --git a/mobile/src/components/workouts/RestPicker.tsx b/mobile/src/components/workouts/RestPicker.tsx
new file mode 100644
index 0000000..f5223a3
--- /dev/null
+++ b/mobile/src/components/workouts/RestPicker.tsx
@@ -0,0 +1,123 @@
+import { useState } from 'react'
+import { Pressable, Text, TextInput, View } from 'react-native'
+import * as Haptics from 'expo-haptics'
+import { Clock, Minus, Pencil, Plus, TimerOff } from 'lucide-react-native'
+import type { LucideIcon } from 'lucide-react-native'
+import { useTheme } from '../../theme/useTheme'
+
+interface Props {
+ value: number
+ onChange: (secs: number) => void
+}
+
+const PRESETS = [0, 60, 90, 120, 180]
+const SEGMENTS: { v: number; label: string; Icon: LucideIcon }[] = [
+ { v: 0, label: 'Off', Icon: TimerOff },
+ { v: 60, label: '60s', Icon: Clock },
+ { v: 90, label: '90s', Icon: Clock },
+ { v: 120, label: '120s', Icon: Clock },
+ { v: 180, label: '180s', Icon: Clock },
+]
+
+const clamp = (n: number) => Math.max(0, Math.min(3600, n))
+
+// Port of web/components/RestPicker.tsx: one connected segmented bar (Off · presets ·
+// Custom); Custom reveals a ±5 seconds row. Hand-rolled rather than
+// ui/SegmentedControl — that primitive has no icon slot and can't express the sticky
+// Custom segment (active while `value` is non-preset OR the user just tapped it).
+// Haptics follow the kit idioms: selection tick per segment, light impact per ± step.
+// The seconds TextInput has no focus-reactive styling → no re-render on focus
+// (Fabric-safe by construction).
+export function RestPicker({ value, onChange }: Props) {
+ const { colors } = useTheme()
+ const isCustom = !PRESETS.includes(value)
+ const [showCustom, setShowCustom] = useState(false)
+ const customActive = isCustom || showCustom
+
+ const pick = (v: number) => {
+ Haptics.selectionAsync().catch(() => {})
+ setShowCustom(false)
+ onChange(v)
+ }
+ const step = (delta: number) => {
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light).catch(() => {})
+ onChange(clamp(value + delta))
+ }
+
+ // RN has no divide-x: every segment but the last carries a right border.
+ const seg = (active: boolean, last = false) =>
+ `flex-1 items-center justify-center gap-1 py-2 ${last ? '' : 'border-r border-surface-border'} ${
+ active ? 'bg-brand-500' : 'bg-surface-muted'
+ }`
+ const segText = (active: boolean) =>
+ `font-sans-semibold text-[11px] ${active ? 'text-white' : 'text-tx-secondary'}`
+
+ return (
+ <View>
+ <View className="flex-row overflow-hidden rounded-xl border border-surface-border">
+ {SEGMENTS.map(({ v, label, Icon }) => {
+ const active = !customActive && value === v
+ return (
+ <Pressable
+ key={v}
+ accessibilityRole="button"
+ accessibilityState={{ selected: active }}
+ onPress={() => pick(v)}
+ className={seg(active)}
+ >
+ <Icon size={13} color={active ? '#ffffff' : colors.txSecondary} strokeWidth={2.2} />
+ <Text className={segText(active)}>{label}</Text>
+ </Pressable>
+ )
+ })}
+ <Pressable
+ accessibilityRole="button"
+ accessibilityState={{ selected: customActive }}
+ onPress={() => {
+ Haptics.selectionAsync().catch(() => {})
+ setShowCustom(true)
+ }}
+ className={seg(customActive, true)}
+ >
+ <Pencil size={13} color={customActive ? '#ffffff' : colors.txSecondary} strokeWidth={2.2} />
+ <Text className={segText(customActive)}>{isCustom ? `${value}s` : 'Custom'}</Text>
+ </Pressable>
+ </View>
+
+ {customActive && (
+ <View className="mt-3 flex-row items-center justify-center gap-2">
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Minus 5 seconds"
+ onPress={() => step(-5)}
+ className="rounded-xl border border-surface-border bg-surface-muted p-2.5 active:scale-95"
+ >
+ <Minus size={16} color={colors.txSecondary} />
+ </Pressable>
+ <View className="h-11 w-28 flex-row items-center rounded-lg border border-surface-border bg-surface-overlay px-3">
+ <TextInput
+ value={String(value)}
+ onChangeText={(raw) => onChange(clamp(Number(raw.replace(/[^0-9]/g, '')) || 0))}
+ keyboardType="number-pad"
+ returnKeyType="done"
+ selectTextOnFocus
+ accessibilityLabel="Rest seconds"
+ placeholderTextColor={colors.txMuted}
+ className="flex-1 py-0 text-center font-sans-semibold text-base text-tx-primary"
+ style={{ fontVariant: ['tabular-nums'] }}
+ />
+ <Text className="font-sans text-xs text-tx-muted">sec</Text>
+ </View>
+ <Pressable
+ accessibilityRole="button"
+ accessibilityLabel="Plus 5 seconds"
+ onPress={() => step(5)}
+ className="rounded-xl border border-surface-border bg-surface-muted p-2.5 active:scale-95"
+ >
+ <Plus size={16} color={colors.txSecondary} />
+ </Pressable>
+ </View>
+ )}
+ </View>
+ )
+}
diff --git a/mobile/src/components/workouts/RestTimerBanner.tsx b/mobile/src/components/workouts/RestTimerBanner.tsx
new file mode 100644
index 0000000..115da70
--- /dev/null
+++ b/mobile/src/components/workouts/RestTimerBanner.tsx
@@ -0,0 +1,175 @@
+import { useEffect } from 'react'
+import { Pressable, Text, View } from 'react-native'
+import Animated, {
+ Easing, cancelAnimation, useAnimatedStyle, useSharedValue, withRepeat, withSequence, withTiming,
+} from 'react-native-reanimated'
+import { useSafeAreaInsets } from 'react-native-safe-area-context'
+import { Check, Pause, Play, SkipForward } from 'lucide-react-native'
+import { useWorkoutSession } from '../../lib/lyftr'
+import { useRestTimer } from '../../hooks/useRestTimer'
+import { fmtClock, nextIncompleteSet } from '../../utils/workoutSets'
+import { AppText, IconButton } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+
+// Port of web/components/RestTimerBanner.tsx, styled as a full-width bottom sheet
+// (matches the ConfirmSheet/ActionSheet visual language: rounded-top, grabber,
+// elevated surface — but NOT the Sheet modal, since a rest timer must stay persistent
+// and non-dimming). A draining line, a big optically-centred countdown with pause/
+// resume, and full-width −15/+15/Skip actions (Done when finished). DOCKED in-flow at
+// the bottom of the gym set screen; FLOATING (bottom-anchored) over the overview/info
+// screens. When minimized the countdown moves to the session-pill chip instead.
+export function RestTimerBanner({ docked = false }: { docked?: boolean }) {
+ const { colors, brand } = useTheme()
+ const insets = useSafeAreaInsets()
+ const restDurationSec = useWorkoutSession((s) => s.restDurationSec)
+ const restExIdx = useWorkoutSession((s) => s.restExIdx)
+ const restSetIdx = useWorkoutSession((s) => s.restSetIdx)
+ const restEndsAt = useWorkoutSession((s) => s.restEndsAt)
+ const restPausedRemainingMs = useWorkoutSession((s) => s.restPausedRemainingMs)
+ const session = useWorkoutSession((s) => s.session)
+ const adjustRest = useWorkoutSession((s) => s.adjustRest)
+ const clearRest = useWorkoutSession((s) => s.clearRest)
+ const pauseRest = useWorkoutSession((s) => s.pauseRest)
+ const resumeRest = useWorkoutSession((s) => s.resumeRest)
+ const { active, paused, done, left } = useRestTimer()
+
+ // Smooth drain line: instead of stepping the width off the whole-second countdown
+ // (which jumps every JS tick), animate a shared value from the current fraction → 0 on
+ // the UI thread over the exact remaining ms (linear). Driven off the absolute end time
+ // so it re-syncs on any restart/adjust and doesn't depend on the ~300ms JS tick.
+ const drain = useSharedValue(100)
+ useEffect(() => {
+ cancelAnimation(drain)
+ if (!restDurationSec || restDurationSec <= 0) return
+ if (done) { drain.value = 0; return }
+ if (paused && restPausedRemainingMs != null) {
+ drain.value = Math.min(100, (restPausedRemainingMs / 1000 / restDurationSec) * 100)
+ return
+ }
+ if (restEndsAt != null) {
+ const remMs = Math.max(0, restEndsAt - Date.now())
+ drain.value = Math.min(100, (remMs / 1000 / restDurationSec) * 100)
+ drain.value = withTiming(0, { duration: remMs, easing: Easing.linear })
+ }
+ }, [restEndsAt, restPausedRemainingMs, done, paused, restDurationSec])
+ const drainStyle = useAnimatedStyle(() => ({ width: `${drain.value}%` }))
+
+ // A short celebratory pulse the moment rest hits zero (paired with the haptic in
+ // WorkoutSessionLayer). Runs on the check chip; reset whenever rest isn't done.
+ const pulse = useSharedValue(1)
+ useEffect(() => {
+ if (done) {
+ pulse.value = withRepeat(
+ withSequence(
+ withTiming(1.14, { duration: 240, easing: Easing.out(Easing.quad) }),
+ withTiming(1, { duration: 240, easing: Easing.in(Easing.quad) }),
+ ), 3, false,
+ )
+ } else {
+ cancelAnimation(pulse)
+ pulse.value = 1
+ }
+ }, [done])
+ const pulseStyle = useAnimatedStyle(() => ({ transform: [{ scale: pulse.value }] }))
+
+ // Hidden when no rest is running or paused (auto-dismiss lives in useRestTimer).
+ if (!active) return null
+
+ // Set ↔ timer linkage (Hevy-style): label the panel with the just-completed set +
+ // the next incomplete one (mirrors gym-mode's auto-advance).
+ const restEx = restExIdx != null ? session?.exercises[restExIdx] : undefined
+ const nextIdx = restEx != null && restSetIdx != null ? nextIncompleteSet(restEx.sets, restSetIdx) : -1
+ const doneSetNum = restEx != null && restSetIdx != null ? restSetIdx + 1 : null
+ const label =
+ doneSetNum == null
+ ? done ? 'Rest over' : paused ? 'Paused' : 'Rest'
+ : done
+ ? nextIdx !== -1 ? `Rest over · set ${nextIdx + 1} next` : 'Rest over'
+ : paused
+ ? `Set ${doneSetNum} done · paused`
+ : nextIdx !== -1
+ ? `Set ${doneSetNum} done · set ${nextIdx + 1} next`
+ : `Set ${doneSetNum} done · resting`
+
+ // Urgency cue: the last 10 running seconds shift the drain + countdown to amber
+ // (paused doesn't count down, so it never goes hot). Time-based (not fraction-based)
+ // so it means the same "≈10s left" regardless of the total rest length.
+ const urgent = !paused && !done && left <= 10
+ const drainColor = urgent ? brand.warning : brand.cyan
+ const numColor = urgent ? brand.warning : colors.txPrimary
+
+ const secBtn = 'flex-1 items-center justify-center py-3.5 rounded-2xl bg-surface-muted border border-surface-border active:scale-95'
+ const brandBtn = 'flex-1 flex-row items-center justify-center gap-2 py-3.5 rounded-2xl bg-brand-500 active:scale-95'
+
+ const panel = (
+ <View className="overflow-hidden rounded-t-3xl border-t border-surface-border bg-surface-raised shadow-lg">
+ {/* Grabber — the shared sheet cue. */}
+ <View className="mx-auto mb-2 mt-2.5 h-1 w-10 rounded-full bg-surface-muted" />
+ {/* Draining progress line (thicker than a hairline so the drain reads at a glance;
+ amber in the final seconds, a solid success bar once rest is over). */}
+ {done ? (
+ <View className="h-1.5 bg-success-500" />
+ ) : (
+ <View className="h-1.5 bg-surface-muted">
+ <Animated.View className="h-full rounded-r-full" style={[drainStyle, { backgroundColor: drainColor }]} />
+ </View>
+ )}
+ {/* The sheet surface reaches the physical bottom edge; only its content is inset
+ by the safe area (home indicator) — no dead band below the actions. */}
+ <View className="px-5 pt-3" style={{ paddingBottom: insets.bottom + 16 }}>
+ <AppText variant="caption" color="muted" className="text-center">{label}</AppText>
+ {done ? (
+ // Done confirmation: a compact, celebratory stack — pulsing success check over
+ // a single full-width Done button. (NB: the button must NOT reuse brandBtn's
+ // `flex-1`; as a lone column child, flex-1 collapses its height on native into
+ // a thin sliver. It gets its own full-width class with a real py instead.)
+ <View className="mt-3 items-center gap-3">
+ <Animated.View style={pulseStyle} className="h-12 w-12 items-center justify-center rounded-full bg-success-500/15">
+ <Check size={26} color={brand.success} />
+ </Animated.View>
+ <Pressable onPress={() => clearRest()} className="w-full items-center justify-center rounded-2xl bg-brand-500 py-4 active:scale-95">
+ <Text className="font-sans-bold text-base text-white">Done</Text>
+ </Pressable>
+ </View>
+ ) : (
+ <>
+ {/* Hero row: pause/resume in a fixed-width column on the left with a matching
+ spacer on the right, so the big countdown stays optically centred. */}
+ <View className="my-3 flex-row items-center">
+ <View className="w-14 items-center">
+ <IconButton
+ icon={paused ? Play : Pause}
+ label={paused ? 'Resume rest timer' : 'Pause rest timer'}
+ variant="brand"
+ size="lg"
+ onPress={paused ? resumeRest : pauseRest}
+ />
+ </View>
+ <Text className="flex-1 text-center font-display text-6xl" style={{ color: numColor, fontVariant: ['tabular-nums'] }}>
+ {fmtClock(left)}
+ </Text>
+ <View className="w-14" />
+ </View>
+ <View className="flex-row gap-2.5">
+ <Pressable onPress={() => adjustRest(-15)} accessibilityLabel="Shorten rest by 15 seconds" className={secBtn}>
+ <Text className="font-sans-bold text-base text-tx-secondary" style={{ fontVariant: ['tabular-nums'] }}>−15</Text>
+ </Pressable>
+ <Pressable onPress={() => adjustRest(15)} accessibilityLabel="Extend rest by 15 seconds" className={secBtn}>
+ <Text className="font-sans-bold text-base text-tx-secondary" style={{ fontVariant: ['tabular-nums'] }}>+15</Text>
+ </Pressable>
+ <Pressable onPress={() => clearRest()} className={brandBtn}>
+ <SkipForward size={18} color="#ffffff" />
+ <Text className="font-sans-bold text-base text-white">Skip</Text>
+ </Pressable>
+ </View>
+ </>
+ )}
+ </View>
+ </View>
+ )
+
+ // Docked: in-flow last child of the set screen (pushes content up). Floating: anchored
+ // to the very bottom over the overview/info screens. Both span the full width.
+ if (docked) return <View className="flex-shrink-0">{panel}</View>
+ return <View className="absolute bottom-0 left-0 right-0 z-50">{panel}</View>
+}
diff --git a/mobile/src/components/workouts/SessionPill.tsx b/mobile/src/components/workouts/SessionPill.tsx
new file mode 100644
index 0000000..4ef13fb
--- /dev/null
+++ b/mobile/src/components/workouts/SessionPill.tsx
@@ -0,0 +1,78 @@
+import { useEffect, useState } from 'react'
+import { Pressable, Text, View } from 'react-native'
+import { router, usePathname } from 'expo-router'
+import { ChevronRight, Timer } from 'lucide-react-native'
+import { useSettingsStore, useWorkoutSession } from '../../lib/lyftr'
+import { useRestTimer } from '../../hooks/useRestTimer'
+import { fmtClock } from '../../utils/workoutSets'
+
+function formatElapsed(seconds: number) {
+ const h = Math.floor(seconds / 3600)
+ const m = Math.floor((seconds % 3600) / 60)
+ const s = seconds % 60
+ if (h > 0) return `${h}:${String(m).padStart(2, '0')}:${String(s).padStart(2, '0')}`
+ return `${String(m).padStart(2, '0')}:${String(s).padStart(2, '0')}`
+}
+
+// Port of web Layout's ActiveSessionBar — the minimized session pill. Floats above the
+// tab bar on every screen except: the gym overlay (gym layout, open) and the active
+// screen itself (list layout). Tapping opens the gym overlay (gym) or the active
+// screen (list). Carries the rest-countdown chip so "rest over" clears while minimized.
+export function SessionPill() {
+ const session = useWorkoutSession((s) => s.session)
+ const openGym = useWorkoutSession((s) => s.openGym)
+ const layout = useSettingsStore((s) => s.settings.workout_layout)
+ const pathname = usePathname()
+ const [elapsed, setElapsed] = useState(0)
+ const { active: resting, paused, done, left } = useRestTimer()
+
+ useEffect(() => {
+ if (!session) return
+ const started = new Date(session.started_at).getTime()
+ const tick = () => setElapsed(Math.floor((Date.now() - started) / 1000))
+ tick()
+ const id = setInterval(tick, 1000)
+ return () => clearInterval(id)
+ }, [session])
+
+ if (!session) return null
+ // Hidden only on the active screen itself (the gym overlay or the list active UI lives
+ // there); shown on every other tab as the resume shortcut so a running session is never
+ // trapping you on one tab.
+ if (pathname === '/workouts/active') return null
+
+ const completedSets = session.exercises.reduce((s, ex) => s + ex.sets.filter((set) => set.completed).length, 0)
+ const totalSets = session.exercises.reduce((s, ex) => s + ex.sets.length, 0)
+
+ const handlePress = () => {
+ // Both layouts land on the active screen (gym renders its overlay there); openGym keeps
+ // the gym flag consistent. navigate (not push): the pill fires from any tab, so this is
+ // a cross-tab jump — push corrupts the native tab/back stack.
+ if (layout === 'gym') openGym()
+ router.navigate('/workouts/active')
+ }
+
+ return (
+ <View pointerEvents="box-none" style={{ position: 'absolute', left: 0, right: 0, bottom: 90, zIndex: 40 }} className="items-center">
+ <Pressable
+ onPress={handlePress}
+ className="flex-row items-center gap-2.5 rounded-full bg-brand-500 px-4 py-2.5 shadow-lg active:scale-95"
+ >
+ <View className="h-6 w-6 items-center justify-center rounded-full bg-white/20">
+ <Timer size={12} color="#ffffff" />
+ </View>
+ <View>
+ <Text className="font-sans-bold text-xs text-white" numberOfLines={1} style={{ maxWidth: 140 }}>{session.name}</Text>
+ <Text className="text-[11px] text-white/70">{completedSets}/{totalSets} sets · {formatElapsed(elapsed)}</Text>
+ </View>
+ {resting ? (
+ <View className="flex-row items-center gap-1.5 rounded-full bg-white/15 py-1 pl-2.5 pr-1">
+ <Text className="text-[10px] font-sans-semibold uppercase text-white/70">{done ? 'Rest over' : paused ? 'Paused' : 'Rest'}</Text>
+ {!done ? <Text className="font-sans-bold text-xs text-white" style={{ fontVariant: ['tabular-nums'] }}>{fmtClock(left)}</Text> : null}
+ </View>
+ ) : null}
+ <ChevronRight size={16} color="rgba(255,255,255,0.8)" />
+ </Pressable>
+ </View>
+ )
+}
diff --git a/mobile/src/components/workouts/WorkoutCard.tsx b/mobile/src/components/workouts/WorkoutCard.tsx
new file mode 100644
index 0000000..1fd8dd3
--- /dev/null
+++ b/mobile/src/components/workouts/WorkoutCard.tsx
@@ -0,0 +1,152 @@
+import { useState } from 'react'
+import { Pressable, View } from 'react-native'
+import { router } from 'expo-router'
+import { format } from 'date-fns'
+import { ChevronRight, Clock, Dumbbell, MoreVertical, TrendingUp } from 'lucide-react-native'
+import { displayVolume, type Workout } from '@lyftr/shared'
+import { ActionSheet, AppText, Card, ConfirmSheet, IconButton, deleteAction, deleteConfirmProps, editAction } from '../ui'
+import { useTheme } from '../../theme/useTheme'
+import { client } from '../../lib/lyftr'
+import { ExerciseImage } from './ExerciseImage'
+
+interface Props {
+ workout: Workout
+ /** Display unit short label ('lb' | 'kg') — volume converts from server lbs. */
+ unit: string
+ onPress: () => void
+ /** Called after a successful server delete — the screen reloads the list (web parity). */
+ onDeleted: (id: number) => void
+}
+
+// Purpose-built card (richer than ListRow): thumbnail, name/date/meta lines, chevron
+// AND a kebab (⋮) menu. Mirrors the web card's mobile kebab → options (Edit / Delete);
+// the menu is a native ActionSheet and Delete routes through the shared ConfirmSheet.
+export function WorkoutCard({ workout, unit, onPress, onDeleted }: Props) {
+ const { colors } = useTheme()
+ const [deleting, setDeleting] = useState(false)
+ const [confirming, setConfirming] = useState(false)
+ const [menuOpen, setMenuOpen] = useState(false)
+
+ const durationMin = Math.round(workout.duration / 60)
+ // The meta line has ~3 items competing for one row next to the trash/chevron
+ // gutter — compact big volumes ("18.7k") so nothing truncates or wraps.
+ const compact = (n: number) =>
+ n >= 10000 ? `${(n / 1000).toFixed(1).replace(/\.0$/, '')}k` : n.toLocaleString()
+ const totalVolume = displayVolume(
+ workout.exercises?.reduce(
+ (total, e) => total + (e.sets?.reduce((s, set) => s + (set.reps || 0) * (set.weight || 0), 0) || 0),
+ 0
+ ) || 0,
+ unit
+ )
+
+ const handleDelete = async () => {
+ setDeleting(true)
+ try {
+ await client.workoutAPI.delete(workout.id)
+ onDeleted(workout.id)
+ } catch {
+ // Web parity: a failed delete quietly restores the card.
+ setDeleting(false)
+ setConfirming(false)
+ }
+ }
+
+ return (
+ <Pressable accessibilityRole="button" onPress={onPress} className="active:scale-[0.99]">
+ <Card className="flex-row items-center gap-3 rounded-2xl">
+ <ExerciseImage url={workout.exercises?.[0]?.exercise?.image_url} />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{workout.name}</AppText>
+ {/* Two balanced meta lines instead of one overloaded row: date + duration,
+ then exercises + volume — three items on one line truncated at 390pt. */}
+ <View className="flex-row items-center gap-x-2 mt-0.5">
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {format(new Date(workout.started_at), 'MMM d, yyyy')}
+ </AppText>
+ {durationMin > 0 && (
+ <>
+ <AppText variant="caption" color="muted">·</AppText>
+ <View className="flex-row items-center gap-1">
+ <Clock size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">{durationMin} min</AppText>
+ </View>
+ </>
+ )}
+ </View>
+ <View className="flex-row items-center gap-x-2 mt-0.5">
+ {/* Dumbbell = exercises (shared icon taxonomy with ProgramCard + both detail strips). */}
+ <View className="flex-row items-center gap-1">
+ <Dumbbell size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {workout.exercises?.length || 0} exercises
+ </AppText>
+ </View>
+ {totalVolume > 0 && (
+ <>
+ <AppText variant="caption" color="muted">·</AppText>
+ <View className="flex-row items-center gap-1 flex-shrink">
+ <TrendingUp size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted" numberOfLines={1}>
+ {compact(totalVolume)} {unit}
+ </AppText>
+ </View>
+ </>
+ )}
+ </View>
+ </View>
+ {/* Kebab (⋮) options menu — the native pattern other apps use. A muted glyph
+ keeps the row reading as tap-to-open media; the ActionSheet holds Edit +
+ Delete, and Delete still routes through the ConfirmSheet. */}
+ <IconButton
+ icon={MoreVertical}
+ label={`${workout.name} options`}
+ variant="ghost"
+ size="sm"
+ onPress={() => setMenuOpen(true)}
+ disabled={deleting}
+ />
+ <ChevronRight size={16} color={colors.txMuted} />
+ </Card>
+
+ <ActionSheet
+ open={menuOpen}
+ layout="row"
+ onClose={() => setMenuOpen(false)}
+ // Rich header: a preview of the workout being acted on (thumbnail + meta),
+ // so the sheet isn't a bare pair of buttons.
+ header={
+ <View className="flex-row items-center gap-3">
+ <ExerciseImage url={workout.exercises?.[0]?.exercise?.image_url} size="hero" />
+ <View className="flex-1">
+ <AppText variant="subheading" numberOfLines={1}>{workout.name}</AppText>
+ <AppText variant="caption" color="muted" numberOfLines={1} className="mt-0.5">
+ {format(new Date(workout.started_at), 'MMM d, yyyy')}
+ {durationMin > 0 ? ` · ${durationMin} min` : ''}
+ {` · ${workout.exercises?.length || 0} exercises`}
+ </AppText>
+ {totalVolume > 0 ? (
+ <View className="mt-1.5 flex-row items-center gap-1">
+ <TrendingUp size={12} color={colors.txMuted} />
+ <AppText variant="caption" color="muted">{compact(totalVolume)} {unit} total volume</AppText>
+ </View>
+ ) : null}
+ </View>
+ </View>
+ }
+ actions={[
+ editAction(() => router.push(`/workouts/${workout.id}/edit`)),
+ deleteAction(() => setConfirming(true)),
+ ]}
+ />
+
+ <ConfirmSheet
+ {...deleteConfirmProps({ title: 'Delete Workout?', subject: `"${workout.name}"` })}
+ open={confirming}
+ busy={deleting}
+ onConfirm={handleDelete}
+ onCancel={() => setConfirming(false)}
+ />
+ </Pressable>
+ )
+}
diff --git a/mobile/src/components/workouts/WorkoutSessionLayer.tsx b/mobile/src/components/workouts/WorkoutSessionLayer.tsx
new file mode 100644
index 0000000..51af8d7
--- /dev/null
+++ b/mobile/src/components/workouts/WorkoutSessionLayer.tsx
@@ -0,0 +1,49 @@
+import { useEffect, useRef } from 'react'
+import * as Haptics from 'expo-haptics'
+import { activateKeepAwakeAsync, deactivateKeepAwake } from 'expo-keep-awake'
+import { useWorkoutSession } from '../../lib/lyftr'
+import { useRestTimer } from '../../hooks/useRestTimer'
+import { SessionPill } from './SessionPill'
+
+const KEEP_AWAKE_TAG = 'lyftr-workout-session'
+
+// One success buzz the moment rest hits zero — you're not looking at the screen mid-
+// rest, so the haptic is the cue. ISOLATED in its own null-rendering leaf: useRestTimer
+// ticks (setState every ~300ms), and if that tick lived on WorkoutSessionLayer it would
+// re-render <GymModeWorkout/> every tick (reloading its images + muscle diagram). Here
+// the tick only re-renders this leaf, which renders nothing.
+function RestOverHaptic() {
+ const { done } = useRestTimer()
+ const prevDone = useRef(false)
+ useEffect(() => {
+ if (done && !prevDone.current) Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {})
+ prevDone.current = done
+ }, [done])
+ return null
+}
+
+// Always-mounted session UI layer (mirrors web's Layout): the minimized session pill
+// (self-hiding). The gym overlay itself is NOT here — it renders inside the
+// workouts/active screen so it sits ABOVE the tab bar (leaving tabs tappable to leave a
+// running session), not over the whole device. Being a single always-mounted instance,
+// this layer owns the session-wide native effects (keep-awake + rest-over haptic) so
+// those fire exactly once rather than per banner/pill consumer. It deliberately does NOT
+// subscribe to the ticking rest timer (that lives in the RestOverHaptic leaf).
+export function WorkoutSessionLayer() {
+ const session = useWorkoutSession((s) => s.session)
+
+ // Keep the screen on for the duration of an active session (logging between sets can
+ // leave it idle past the lock timeout). Released as soon as the session ends.
+ useEffect(() => {
+ if (!session) return
+ activateKeepAwakeAsync(KEEP_AWAKE_TAG).catch(() => {})
+ return () => { deactivateKeepAwake(KEEP_AWAKE_TAG).catch(() => {}) }
+ }, [!!session])
+
+ return (
+ <>
+ {session ? <RestOverHaptic /> : null}
+ <SessionPill />
+ </>
+ )
+}
diff --git a/mobile/src/components/workouts/WorkoutsSkeleton.tsx b/mobile/src/components/workouts/WorkoutsSkeleton.tsx
new file mode 100644
index 0000000..ce2d050
--- /dev/null
+++ b/mobile/src/components/workouts/WorkoutsSkeleton.tsx
@@ -0,0 +1,26 @@
+import { router } from 'expo-router'
+import { Plus } from 'lucide-react-native'
+import { IconButton, ListScreenSkeleton } from '../ui'
+
+// Initial-load skeleton for the Workouts list — a thin wrapper over the shared
+// ListScreenSkeleton (header · 3 stats · search · card rows). The PageHeader + its
+// "Log Workout" action are the REAL controls, live immediately; only the data-shaped
+// regions are placeholders.
+export function WorkoutsSkeleton() {
+ return (
+ <ListScreenSkeleton
+ title="Workouts"
+ subtitle="Track and review your training sessions"
+ statCount={3}
+ action={
+ <IconButton
+ icon={Plus}
+ label="Log Workout"
+ variant="solid"
+ size="md"
+ onPress={() => router.push('/workouts/new')}
+ />
+ }
+ />
+ )
+}
diff --git a/mobile/src/hooks/useCountdown.ts b/mobile/src/hooks/useCountdown.ts
new file mode 100644
index 0000000..371da93
--- /dev/null
+++ b/mobile/src/hooks/useCountdown.ts
@@ -0,0 +1,37 @@
+import { useEffect, useRef, useState } from 'react'
+
+// Port of web/src/hooks/useCountdown.ts — pure JS/timers, unchanged for RN.
+// Counts down to an absolute epoch-ms timestamp. Timestamp-based (recomputed each
+// tick, never decremented) so it never drifts and survives component re-mounts and
+// JS-timer pauses (backgrounding) — on foreground the next tick recomputes from
+// `endsAt`. Returns whole seconds remaining (>= 0), or null when `endsAt` is null.
+// Fires `onComplete` exactly once when it first reaches 0.
+export function useCountdown(endsAt: number | null, onComplete?: () => void): number | null {
+ const [left, setLeft] = useState<number | null>(() =>
+ endsAt == null ? null : Math.max(0, Math.ceil((endsAt - Date.now()) / 1000)),
+ )
+ const fired = useRef(false)
+ const onCompleteRef = useRef(onComplete)
+ onCompleteRef.current = onComplete
+
+ useEffect(() => {
+ fired.current = false
+ if (endsAt == null) {
+ setLeft(null)
+ return
+ }
+ const tick = () => {
+ const l = Math.max(0, Math.ceil((endsAt - Date.now()) / 1000))
+ setLeft(l)
+ if (l === 0 && !fired.current) {
+ fired.current = true
+ onCompleteRef.current?.()
+ }
+ }
+ tick()
+ const id = setInterval(tick, 300)
+ return () => clearInterval(id)
+ }, [endsAt])
+
+ return left
+}
diff --git a/mobile/src/hooks/useNumericText.ts b/mobile/src/hooks/useNumericText.ts
new file mode 100644
index 0000000..d564b46
--- /dev/null
+++ b/mobile/src/hooks/useNumericText.ts
@@ -0,0 +1,23 @@
+import { useEffect, useState } from 'react'
+
+// Port of web/src/hooks/useNumericText.ts — keep the two in sync.
+//
+// Holds the raw typed text for a numeric field whose committed value is owned by a
+// parent (which may round it, convert units, or map 0 → ''). Without this, the
+// parent re-deriving `value` on every keystroke clobbers in-progress entry — a
+// trailing ".", a leading "0". We re-sync from the parent only when it represents a
+// genuinely *different* number than what's shown (stepper taps, programmatic
+// changes, prefills); '' and 0 are treated as equivalent so a 0→'' mapping doesn't
+// wipe a "0." mid-type.
+export function useNumericText(value: string): [string, (next: string) => void] {
+ const [text, setText] = useState(value)
+ useEffect(() => {
+ const a = parseFloat(text)
+ const b = parseFloat(value)
+ const aEmpty = Number.isNaN(a) || a === 0
+ const bEmpty = Number.isNaN(b) || b === 0
+ if (a !== b && !(aEmpty && bEmpty)) setText(value)
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [value])
+ return [text, setText]
+}
diff --git a/mobile/src/hooks/useRestTimer.ts b/mobile/src/hooks/useRestTimer.ts
new file mode 100644
index 0000000..9ef5799
--- /dev/null
+++ b/mobile/src/hooks/useRestTimer.ts
@@ -0,0 +1,37 @@
+import { useEffect } from 'react'
+import { useWorkoutSession } from '../lib/lyftr'
+import { useCountdown } from './useCountdown'
+
+// Port of web/src/hooks/useRestTimer.ts (import points at the mobile store).
+// Derived rest-timer state (seconds left, paused/done flags) + the "rest over"
+// auto-dismiss, shared by the full in-workout banner and the minimized session-pill
+// chip so both read one source of truth. The dismiss is anchored to the ABSOLUTE end
+// time and clearRest is idempotent, so it's safe for more than one consumer to mount
+// this at once — whichever is on screen (banner or pill) still clears rest on time.
+export function useRestTimer() {
+ const restEndsAt = useWorkoutSession((s) => s.restEndsAt)
+ const restPausedRemainingMs = useWorkoutSession((s) => s.restPausedRemainingMs)
+ const clearRest = useWorkoutSession((s) => s.clearRest)
+ const paused = restPausedRemainingMs != null
+ // useCountdown drives the once-a-second re-render (and its onComplete/never-drifts
+ // logic). But we DERIVE the seconds shown from the absolute end time on every render —
+ // not from useCountdown's state — because on resume `restEndsAt` is set a render before
+ // useCountdown's internal value catches up. Reading that lagging value left `secondsLeft`
+ // null for one frame, which flipped `active` false and unmounted the banner (a visible
+ // one-frame flash of the screen underneath). Absolute-time derivation has no such gap.
+ const live = useCountdown(restEndsAt)
+ const running = restEndsAt != null ? Math.max(0, Math.ceil((restEndsAt - Date.now()) / 1000)) : null
+ const secondsLeft = paused ? Math.max(0, Math.ceil(restPausedRemainingMs! / 1000)) : (running ?? live)
+ const done = !paused && running === 0
+ // A rest sheet is showing iff it's parked (paused) or a live end stamp exists. This does
+ // NOT depend on the countdown value, so pause↔resume never blinks the banner out.
+ const active = paused || restEndsAt != null
+
+ useEffect(() => {
+ if (restEndsAt == null || !done) return
+ const id = setTimeout(() => clearRest(), Math.max(0, restEndsAt + 3000 - Date.now()))
+ return () => clearTimeout(id)
+ }, [restEndsAt, done, clearRest])
+
+ return { active, paused, done, left: secondsLeft ?? 0 }
+}
diff --git a/mobile/src/hooks/useServerInfiniteList.ts b/mobile/src/hooks/useServerInfiniteList.ts
new file mode 100644
index 0000000..405510c
--- /dev/null
+++ b/mobile/src/hooks/useServerInfiniteList.ts
@@ -0,0 +1,108 @@
+// Port of web/src/hooks/useServerInfiniteList.ts — keep in sync.
+// RN adaptation: no IntersectionObserver here, so the web's sentinelRef becomes an
+// explicit loadMore() the screen wires to FlatList onEndReached. Offset lives in a
+// ref (loadMore reads it directly) instead of state feeding an observer effect.
+//
+// One deliberate divergence from web: neither reload() NOR a deps change (search)
+// hard-clears the list. Both refetch page 0 and swap the results in place, so the
+// summary/cards never flash to empty — on focus-return or while typing a query the
+// current results stay put until the fresh page arrives. A deps change also sets
+// `refreshing` so the screen can show a subtle "searching" cue over the stale list.
+import { useState, useEffect, useRef, useCallback } from 'react'
+
+interface Options<T> {
+ fetcher: (offset: number, limit: number) => Promise<T[]>
+ pageSize?: number
+ // Changing any dep resets the list and re-fetches from offset 0 (e.g. search query)
+ deps?: readonly unknown[]
+}
+
+interface Result<T> {
+ items: T[]
+ // Wire to FlatList onEndReached — no-ops while a fetch is in flight or when done.
+ loadMore: () => void
+ hasMore: boolean
+ loading: boolean
+ // True only during the very first fetch — use for the initial spinner
+ initialLoading: boolean
+ // True while a deps change (e.g. a new search query) is re-fetching page 0 with the
+ // previous results still on screen — drive a subtle "searching" indicator with this.
+ refreshing: boolean
+ // Background revalidate: refetch page 0 and swap in place (keeps current items
+ // visible meanwhile). Call on focus / after a mutation without an empty flash.
+ // Background revalidate; returns the fetch promise so a caller (e.g. pull-to-refresh)
+ // can await completion to drive its own spinner.
+ reload: () => Promise<void>
+}
+
+export function useServerInfiniteList<T>({
+ fetcher,
+ pageSize = 20,
+ deps = [],
+}: Options<T>): Result<T> {
+ const [items, setItems] = useState<T[]>([])
+ const [hasMore, setHasMore] = useState(true)
+ const [loading, setLoading] = useState(false)
+ const [refreshing, setRefreshing] = useState(false)
+ const offsetRef = useRef(0)
+ // Tracks whether a fetch is in flight to prevent double-fetches (onEndReached can
+ // fire repeatedly during momentum scrolling)
+ const fetchingRef = useRef(false)
+ // Flips true after first fetch settles — never resets — drives initialLoading
+ const initializedRef = useRef(false)
+ // Monotonic id stamped on each fetch. Responses that don't match the latest id are
+ // ignored, so a slow request for an old query (e.g. "a") can't overwrite the results
+ // of a newer one ("ab") when they resolve out of order — the classic search race.
+ const reqIdRef = useRef(0)
+
+ const fetchPage = useCallback(async (currentOffset: number, replace: boolean) => {
+ if (fetchingRef.current) return
+ fetchingRef.current = true
+ const myId = ++reqIdRef.current
+ setLoading(true)
+ try {
+ const page = await fetcher(currentOffset, pageSize)
+ if (myId !== reqIdRef.current) return // superseded by a newer fetch — drop it
+ setItems(prev => (replace ? page : [...prev, ...page]))
+ offsetRef.current = currentOffset + page.length
+ setHasMore(page.length === pageSize)
+ } catch {
+ // Web lets rejections escape (harmless in a browser); on RN an unhandled
+ // rejection is red-box noise — keep what loaded and stop paginating instead.
+ if (myId === reqIdRef.current) setHasMore(false)
+ } finally {
+ // Only the latest fetch owns the shared flags — a stale response bows out without
+ // flipping loading/fetching out from under the request that superseded it.
+ if (myId === reqIdRef.current) {
+ initializedRef.current = true
+ fetchingRef.current = false
+ setLoading(false)
+ }
+ }
+ }, [fetcher, pageSize])
+
+ // Deps change (e.g. the search query): reset pagination and refetch page 0, but keep
+ // the previous results on screen until the fresh page replaces them (stale-while-
+ // revalidate) so the list/summary never flash to empty. `refreshing` drives the
+ // screen's "searching" cue over the stale list; it clears when the fetch settles.
+ useEffect(() => {
+ offsetRef.current = 0
+ setHasMore(true)
+ fetchingRef.current = false
+ setRefreshing(true)
+ fetchPage(0, true).finally(() => setRefreshing(false))
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [...deps])
+
+ const loadMore = useCallback(() => {
+ if (!hasMore || fetchingRef.current) return
+ fetchPage(offsetRef.current, false)
+ }, [hasMore, fetchPage])
+
+ // Soft/background reload: fetchPage(0, replace) swaps the fresh page in on arrival
+ // without a preceding setItems([]) — no empty flash. offset/hasMore are reset by
+ // the fetch itself on success.
+ const reload = useCallback(() => fetchPage(0, true), [fetchPage])
+
+ return { items, loadMore, hasMore, loading, initialLoading: loading && !initializedRef.current, refreshing, reload }
+}
diff --git a/mobile/src/lib/lyftr.ts b/mobile/src/lib/lyftr.ts
new file mode 100644
index 0000000..e26fb5c
--- /dev/null
+++ b/mobile/src/lib/lyftr.ts
@@ -0,0 +1,34 @@
+// App-wide singletons: one API client + the Zustand stores, all bound to the mobile
+// SecureStore/AsyncStorage adapter. Import these hooks anywhere in the app.
+import { router } from 'expo-router'
+import {
+ createClient,
+ createAuthStore,
+ createServerStore,
+ createSettingsStore,
+ createThemeStore,
+ createWorkoutSession,
+} from '@lyftr/shared'
+import { storage } from './storage'
+
+export const client = createClient(storage, {
+ // When a token refresh fails, the session is dead — kick back to login.
+ onAuthFailure: () => {
+ try {
+ router.replace('/login')
+ } catch {
+ // router may not be mounted yet during cold start; the auth gate will catch it.
+ }
+ },
+})
+
+export const useAuthStore = createAuthStore(client, storage)
+export const useServerStore = createServerStore(storage)
+export const useSettingsStore = createSettingsStore(client, storage)
+// Light-first on mobile (per product); mirrors the web's theme logic + 'theme' key.
+export const useThemeStore = createThemeStore(storage, 'light')
+// Workout session state (active workout + gym UI position) — device-local via
+// AsyncStorage; rest-timer state is in-memory only (see the store).
+export const useWorkoutSession = createWorkoutSession(storage)
+
+export { storage }
diff --git a/mobile/src/lib/polyfills.ts b/mobile/src/lib/polyfills.ts
new file mode 100644
index 0000000..88b3bf8
--- /dev/null
+++ b/mobile/src/lib/polyfills.ts
@@ -0,0 +1,6 @@
+// Must be imported once, first, at app entry.
+// - URL polyfill: Hermes lacks a complete `URL`; normalizeServerUrl() in @lyftr/shared
+// uses `new URL()`.
+// - gesture-handler: required by react-native-screens / reanimated navigation.
+import 'react-native-gesture-handler'
+import 'react-native-url-polyfill/auto'
diff --git a/mobile/src/lib/storage.ts b/mobile/src/lib/storage.ts
new file mode 100644
index 0000000..410210e
--- /dev/null
+++ b/mobile/src/lib/storage.ts
@@ -0,0 +1,23 @@
+import { Platform } from 'react-native'
+import * as SecureStore from 'expo-secure-store'
+import AsyncStorage from '@react-native-async-storage/async-storage'
+import { StorageAdapter, STORAGE_KEYS } from '@lyftr/shared'
+
+// The mobile StorageAdapter: on native, secrets (tokens + cached user) live in the
+// Keychain via SecureStore, non-secret prefs in AsyncStorage. On the web target
+// (used to drive/verify the app in a browser) SecureStore has no implementation, so
+// everything falls back to AsyncStorage (localStorage-backed).
+const SECURE = new Set<string>([STORAGE_KEYS.access, STORAGE_KEYS.refresh, STORAGE_KEYS.user])
+const isSecure = (key: string) => Platform.OS !== 'web' && SECURE.has(key)
+
+export const storage: StorageAdapter = {
+ get: (key) => (isSecure(key) ? SecureStore.getItemAsync(key) : AsyncStorage.getItem(key)),
+ set: async (key, value) => {
+ if (isSecure(key)) await SecureStore.setItemAsync(key, value)
+ else await AsyncStorage.setItem(key, value)
+ },
+ remove: async (key) => {
+ if (isSecure(key)) await SecureStore.deleteItemAsync(key)
+ else await AsyncStorage.removeItem(key)
+ },
+}
diff --git a/mobile/src/lib/workoutOutcome.ts b/mobile/src/lib/workoutOutcome.ts
new file mode 100644
index 0000000..226ec56
--- /dev/null
+++ b/mobile/src/lib/workoutOutcome.ts
@@ -0,0 +1,23 @@
+import { create } from 'zustand'
+import type { ActiveSession } from '@lyftr/shared'
+
+// A one-shot signal handed from the session teardown (gym overlay / active list) to the
+// Workouts list, which shows a confirmation toast on arrival. The overlay unmounts and we
+// navigate, so a tiny store is the courier. 'discarded' carries the session snapshot so the
+// toast's "Tap to undo" can restore it verbatim. Mobile-only (UI feedback, never persisted).
+export type WorkoutOutcome =
+ | { kind: 'saved'; workoutId: number }
+ | { kind: 'discarded'; session: ActiveSession }
+ | null
+
+interface OutcomeStore {
+ outcome: WorkoutOutcome
+ setOutcome: (o: WorkoutOutcome) => void
+ clear: () => void
+}
+
+export const useWorkoutOutcome = create<OutcomeStore>((set) => ({
+ outcome: null,
+ setOutcome: (outcome) => set({ outcome }),
+ clear: () => set({ outcome: null }),
+}))
diff --git a/mobile/src/theme/theme.ts b/mobile/src/theme/theme.ts
new file mode 100644
index 0000000..aaa69f5
--- /dev/null
+++ b/mobile/src/theme/theme.ts
@@ -0,0 +1,54 @@
+// Light + dark palettes — the exact CSS-variable values from web/src/index.css, so the
+// two apps look identical. Brand colors are theme-independent.
+export type ThemeColors = {
+ base: string
+ raised: string
+ overlay: string
+ border: string
+ muted: string
+ txPrimary: string
+ txSecondary: string
+ txMuted: string
+ txInverse: string
+}
+
+export const palettes: Record<'light' | 'dark', ThemeColors> = {
+ light: {
+ base: '#f8fafc',
+ raised: '#ffffff',
+ overlay: '#f1f5f9',
+ border: '#e2e8f0',
+ muted: '#f1f5f9',
+ txPrimary: '#0f172a',
+ txSecondary: '#475569',
+ txMuted: '#94a3b8',
+ txInverse: '#ffffff',
+ },
+ dark: {
+ base: '#070d1a',
+ raised: '#0d1629',
+ overlay: '#111e35',
+ border: '#1c2f50',
+ muted: '#162240',
+ txPrimary: '#f1f5f9',
+ txSecondary: '#94a3b8',
+ txMuted: '#475569',
+ txInverse: '#0f172a',
+ },
+}
+
+// Brand tokens (same in both themes). `cyanEdge` is the darker cyan used for accents on
+// light surfaces (matches the web login's link color).
+export const brand = {
+ cyan: '#00b8d9',
+ cyanLight: '#38d8fb',
+ cyanEdge: '#0891b2',
+ violet: '#8b5cf6',
+ gradient: ['#00b8d9', '#8b5cf6'] as const,
+ success: '#22c55e',
+ successSoft: '#4ade80',
+ error: '#ef4444',
+ errorSoft: '#f87171',
+ warning: '#eab308',
+ warningSoft: '#facc15',
+}
diff --git a/mobile/src/theme/useTheme.ts b/mobile/src/theme/useTheme.ts
new file mode 100644
index 0000000..b8c3bf6
--- /dev/null
+++ b/mobile/src/theme/useTheme.ts
@@ -0,0 +1,21 @@
+import { useThemeStore } from '../lib/lyftr'
+import { palettes, brand } from './theme'
+
+// One hook for all theming: current mode, the resolved color palette (for inline styles
+// and gradients), brand tokens, and a legibility-safe accent (darker cyan on light,
+// lighter cyan on dark — matches the web).
+export function useTheme() {
+ const mode = useThemeStore((s) => s.mode)
+ const toggle = useThemeStore((s) => s.toggle)
+ const setMode = useThemeStore((s) => s.setMode)
+ const isDark = mode === 'dark'
+ return {
+ mode,
+ isDark,
+ colors: palettes[mode],
+ brand,
+ accent: isDark ? brand.cyanLight : brand.cyanEdge,
+ toggle,
+ setMode,
+ }
+}
diff --git a/mobile/src/utils/exerciseUtils.test.ts b/mobile/src/utils/exerciseUtils.test.ts
new file mode 100644
index 0000000..57e31c6
--- /dev/null
+++ b/mobile/src/utils/exerciseUtils.test.ts
@@ -0,0 +1,37 @@
+import { EQUIPMENT_LABEL, muscleColor, muscleToBodySlugs } from './exerciseUtils'
+
+describe('muscleColor', () => {
+ it('resolves a tint case-insensitively', () => {
+ expect(muscleColor('Chest')?.text).toBe('#f87171')
+ expect(muscleColor('LEGS')?.chip).toBe('bg-green-500/20')
+ })
+
+ it('returns null for an unknown muscle (caller renders the muted fallback)', () => {
+ expect(muscleColor('unknown')).toBeNull()
+ })
+})
+
+describe('muscleToBodySlugs', () => {
+ it('maps an exact muscle name to its body-diagram slugs', () => {
+ expect(muscleToBodySlugs('legs')).toEqual(['quadriceps', 'hamstring', 'calves', 'gluteal'])
+ })
+
+ it('normalizes case and whitespace before matching', () => {
+ expect(muscleToBodySlugs(' Chest ')).toEqual(['chest'])
+ })
+
+ it('falls back to a partial match', () => {
+ expect(muscleToBodySlugs('quad')).toEqual(['quadriceps'])
+ })
+
+ it('returns [] for empty or unknown input', () => {
+ expect(muscleToBodySlugs('')).toEqual([])
+ expect(muscleToBodySlugs('zzz')).toEqual([])
+ })
+})
+
+describe('EQUIPMENT_LABEL', () => {
+ it('maps "body only" to a friendly label', () => {
+ expect(EQUIPMENT_LABEL['body only']).toBe('Bodyweight')
+ })
+})
diff --git a/mobile/src/utils/exerciseUtils.ts b/mobile/src/utils/exerciseUtils.ts
new file mode 100644
index 0000000..e268ee8
--- /dev/null
+++ b/mobile/src/utils/exerciseUtils.ts
@@ -0,0 +1,114 @@
+// Port of web/src/utils/exerciseUtils.ts (MUSCLE_COLORS / muscleColor /
+// EQUIPMENT_LABEL) — keep in sync.
+// RN adaptation: the web returns "bg-* text-* border-*" class strings; here the text
+// tint is an inline-style hex instead, because AppText always resolves a default
+// text-color class and two color classes on one Text leave the winner to stylesheet
+// order (see CONVENTIONS.md's font-size warning) — an inline style wins
+// deterministically. The hexes are Tailwind's own *-400 palette values, identical to
+// the web's text-*-400 classes; like the brand literals they are theme-independent.
+// `border` carries the web muscleColorBordered() border class for the picker badges;
+// borderless badges (detail screen) simply don't apply it.
+
+export interface MuscleTint {
+ /** NativeWind class for the badge background (bg only — no text class). */
+ chip: string
+ /** NativeWind border-color class (web's muscleColorBordered variant). */
+ border: string
+ /** Badge text color — apply via AppText's inline `style`. */
+ text: string
+}
+
+export const MUSCLE_COLORS: Record<string, MuscleTint> = {
+ chest: { chip: 'bg-red-500/20', border: 'border-red-500/30', text: '#f87171' },
+ back: { chip: 'bg-blue-500/20', border: 'border-blue-500/30', text: '#60a5fa' },
+ shoulders: { chip: 'bg-orange-500/20', border: 'border-orange-500/30', text: '#fb923c' },
+ biceps: { chip: 'bg-purple-500/20', border: 'border-purple-500/30', text: '#c084fc' },
+ triceps: { chip: 'bg-pink-500/20', border: 'border-pink-500/30', text: '#f472b6' },
+ legs: { chip: 'bg-green-500/20', border: 'border-green-500/30', text: '#4ade80' },
+ quadriceps: { chip: 'bg-green-500/20', border: 'border-green-500/30', text: '#4ade80' },
+ hamstrings: { chip: 'bg-teal-500/20', border: 'border-teal-500/30', text: '#2dd4bf' },
+ glutes: { chip: 'bg-yellow-500/20', border: 'border-yellow-500/30', text: '#facc15' },
+ calves: { chip: 'bg-lime-500/20', border: 'border-lime-500/30', text: '#a3e635' },
+ abdominals: { chip: 'bg-amber-500/20', border: 'border-amber-500/30', text: '#fbbf24' },
+ core: { chip: 'bg-amber-500/20', border: 'border-amber-500/30', text: '#fbbf24' },
+ forearms: { chip: 'bg-cyan-500/20', border: 'border-cyan-500/30', text: '#22d3ee' },
+ traps: { chip: 'bg-indigo-500/20', border: 'border-indigo-500/30', text: '#818cf8' },
+ lats: { chip: 'bg-sky-500/20', border: 'border-sky-500/30', text: '#38bdf8' },
+}
+
+// Port of web EQUIPMENT_LABEL — keep in sync.
+export const EQUIPMENT_LABEL: Record<string, string> = {
+ 'body only': 'Bodyweight',
+ 'barbell': 'Barbell',
+ 'dumbbell': 'Dumbbell',
+ 'machine': 'Machine',
+ 'cable': 'Cable',
+ 'kettlebells': 'Kettlebell',
+ 'bands': 'Bands',
+ 'medicine ball': 'Med Ball',
+ 'other': 'Other',
+ 'foam roll': 'Foam Roll',
+}
+
+// null → caller renders the muted fallback (bg-surface-muted chip + colors.txMuted).
+export function muscleColor(m: string): MuscleTint | null {
+ return MUSCLE_COLORS[m?.toLowerCase()] ?? null
+}
+
+// Maps our exercise muscle names → react-native-body-highlighter's `Slug` set for the
+// gym exercise-info muscle diagram. Adapted from web's MUSCLE_TO_BODY_SLUG, but the RN
+// library's slug model differs from react-body-highlighter: it has a single 'deltoids'
+// (no front/back split) and no 'abductors'/'middle-back', so those remap to the nearest
+// available part. Slugs are kept as plain strings (the diagram component casts to the
+// library's Slug type) so this util doesn't depend on the library.
+const MUSCLE_TO_BODY_SLUG: Record<string, string[]> = {
+ chest: ['chest'],
+ back: ['upper-back', 'lower-back'],
+ 'upper back': ['upper-back'],
+ 'middle back': ['upper-back'], // RN lib has no 'middle-back'
+ 'lower back': ['lower-back'],
+ lats: ['upper-back'],
+ shoulders: ['deltoids'],
+ deltoids: ['deltoids'],
+ 'anterior deltoid': ['deltoids'],
+ 'front deltoid': ['deltoids'],
+ 'posterior deltoid': ['deltoids'],
+ 'rear deltoid': ['deltoids'],
+ biceps: ['biceps'],
+ triceps: ['triceps'],
+ forearms: ['forearm'],
+ forearm: ['forearm'],
+ traps: ['trapezius'],
+ trapezius: ['trapezius'],
+ neck: ['neck'],
+ rhomboids: ['upper-back'],
+ legs: ['quadriceps', 'hamstring', 'calves', 'gluteal'],
+ quadriceps: ['quadriceps'],
+ hamstrings: ['hamstring'],
+ hamstring: ['hamstring'],
+ glutes: ['gluteal'],
+ gluteal: ['gluteal'],
+ calves: ['calves'],
+ adductors: ['adductors'],
+ abductors: ['gluteal'], // hip abductor ≈ glute; RN lib has no 'abductors'
+ 'hip flexors': ['adductors'],
+ abdominals: ['abs'],
+ abs: ['abs'],
+ core: ['abs', 'obliques'],
+ obliques: ['obliques'],
+ 'serratus anterior': ['abs'],
+ 'spinal erectors': ['lower-back'],
+ erectors: ['lower-back'],
+}
+
+// Body-diagram slugs for a muscle name (exact match, then partial), or [] if unknown.
+// Mirrors web muscleToBodySlugs.
+export function muscleToBodySlugs(m: string): string[] {
+ const key = m?.toLowerCase().trim()
+ if (!key) return []
+ if (MUSCLE_TO_BODY_SLUG[key]) return MUSCLE_TO_BODY_SLUG[key]
+ for (const [k, v] of Object.entries(MUSCLE_TO_BODY_SLUG)) {
+ if (key.includes(k) || k.includes(key)) return v
+ }
+ return []
+}
diff --git a/mobile/src/utils/number.test.ts b/mobile/src/utils/number.test.ts
new file mode 100644
index 0000000..ac6c63e
--- /dev/null
+++ b/mobile/src/utils/number.test.ts
@@ -0,0 +1,38 @@
+import { clampStep, clampValue } from './number'
+
+describe('clampStep', () => {
+ it('steps by delta', () => {
+ expect(clampStep(10, 2.5)).toBe(12.5)
+ })
+
+ it('rounds to 0.1 precision', () => {
+ expect(clampStep(10, 2.567)).toBe(12.6)
+ })
+
+ it('clamps to the default min of 0 (the no-negatives guard)', () => {
+ expect(clampStep(1, -5)).toBe(0)
+ })
+
+ it('clamps to an explicit max', () => {
+ expect(clampStep(5, 10, { max: 12 })).toBe(12)
+ })
+
+ it('treats a non-finite base as 0', () => {
+ expect(clampStep(NaN, 5)).toBe(5)
+ })
+})
+
+describe('clampValue', () => {
+ it('parses a numeric string', () => {
+ expect(clampValue('12.3')).toBe(12.3)
+ })
+
+ it('falls back to min for a non-numeric string', () => {
+ expect(clampValue('abc')).toBe(0)
+ })
+
+ it('clamps below the lower bound', () => {
+ expect(clampValue(-4)).toBe(0)
+ expect(clampValue('3', 5)).toBe(5)
+ })
+})
diff --git a/mobile/src/utils/number.ts b/mobile/src/utils/number.ts
new file mode 100644
index 0000000..2eac5dd
--- /dev/null
+++ b/mobile/src/utils/number.ts
@@ -0,0 +1,17 @@
+// Port of web/src/utils/number.ts — keep in sync.
+
+// Step a numeric value by `delta`, round to the app's 0.1 precision, and clamp to
+// [min, max]. Single source for the +/- stepper math shared by WeightInput and the
+// gym StepperTile (default min 0 also serves as the "no negatives" guard).
+export function clampStep(base: number, delta: number, opts: { min?: number; max?: number } = {}): number {
+ const { min = 0, max = Infinity } = opts
+ const b = Number.isFinite(base) ? base : 0
+ return Math.min(max, Math.max(min, +(b + delta).toFixed(1)))
+}
+
+// Clamp a freely-typed numeric string to a lower bound (validation for inputs that
+// commit on every keystroke). Returns a finite number ≥ min.
+export function clampValue(raw: string | number, min = 0): number {
+ const n = typeof raw === 'number' ? raw : Number(raw)
+ return Number.isFinite(n) ? Math.max(min, n) : min
+}
diff --git a/mobile/src/utils/workoutSets.test.ts b/mobile/src/utils/workoutSets.test.ts
new file mode 100644
index 0000000..80f074f
--- /dev/null
+++ b/mobile/src/utils/workoutSets.test.ts
@@ -0,0 +1,25 @@
+import { fmtClock, nextIncompleteSet } from './workoutSets'
+
+describe('fmtClock', () => {
+ it('formats seconds as m:ss with zero-padding', () => {
+ expect(fmtClock(90)).toBe('1:30')
+ expect(fmtClock(5)).toBe('0:05')
+ expect(fmtClock(600)).toBe('10:00')
+ expect(fmtClock(0)).toBe('0:00')
+ })
+})
+
+describe('nextIncompleteSet', () => {
+ it('returns the first not-completed set after the given index', () => {
+ const sets = [{ completed: true }, { completed: false }, { completed: false }]
+ expect(nextIncompleteSet(sets, 0)).toBe(1)
+ })
+
+ it('returns -1 when every set after the index is completed', () => {
+ expect(nextIncompleteSet([{ completed: false }, { completed: true }], 0)).toBe(-1)
+ })
+
+ it('returns -1 for an empty list', () => {
+ expect(nextIncompleteSet([], 0)).toBe(-1)
+ })
+})
diff --git a/mobile/src/utils/workoutSets.ts b/mobile/src/utils/workoutSets.ts
new file mode 100644
index 0000000..e6352ef
--- /dev/null
+++ b/mobile/src/utils/workoutSets.ts
@@ -0,0 +1,15 @@
+// Port of web/src/utils/workoutSets.ts — keep in sync.
+
+// Format whole seconds as m:ss (e.g. 90 → "1:30"). Shared by the rest banner and
+// the minimized session-pill chip.
+export function fmtClock(totalSeconds: number): string {
+ const m = Math.floor(totalSeconds / 60)
+ return `${m}:${String(totalSeconds % 60).padStart(2, '0')}`
+}
+
+// Index of the first not-completed set after `afterIdx`, or -1 if none. Shared by
+// gym-mode auto-advance (which set to focus after completing one) and the rest
+// banner's "set N next" label so the two can never drift out of sync.
+export function nextIncompleteSet(sets: { completed?: boolean }[], afterIdx: number): number {
+ return sets.findIndex((s, i) => i > afterIdx && !s.completed)
+}
diff --git a/mobile/tailwind.config.js b/mobile/tailwind.config.js
new file mode 100644
index 0000000..a5ac6a5
--- /dev/null
+++ b/mobile/tailwind.config.js
@@ -0,0 +1,63 @@
+/** NativeWind (Tailwind for RN). Tokens ported from web/tailwind.config.ts +
+ * index.css. Surface/text tokens resolve from CSS variables (see global.css) so
+ * they flip between light + dark exactly like the web app; brand colors are
+ * theme-independent literals. */
+module.exports = {
+ // Class strategy: the .dark class is toggled by NativeWind's colorScheme,
+ // driven from useThemeStore in app/_layout.tsx (mirrors web's `.dark` toggle).
+ darkMode: 'class',
+ content: ['./app/**/*.{js,ts,jsx,tsx}', './src/**/*.{js,ts,jsx,tsx}'],
+ presets: [require('nativewind/preset')],
+ theme: {
+ extend: {
+ // Brand fonts (loaded in app/_layout.tsx via @expo-google-fonts). Each WEIGHT is
+ // its own family name in Expo, so Tailwind's `font-bold` (fontWeight) does
+ // nothing useful with them — weight is picked by choosing the family. These
+ // classes exist for the Typography primitives in src/components/ui/Typography.tsx;
+ // screens should use those primitives rather than these classes directly.
+ fontFamily: {
+ display: 'Outfit_700Bold',
+ 'display-heavy': 'Outfit_800ExtraBold',
+ sans: 'PlusJakartaSans_500Medium',
+ 'sans-semibold': 'PlusJakartaSans_600SemiBold',
+ 'sans-bold': 'PlusJakartaSans_700Bold',
+ 'sans-heavy': 'PlusJakartaSans_800ExtraBold',
+ },
+ colors: {
+ // Surfaces + text resolve from CSS vars (global.css) → theme-aware.
+ surface: {
+ base: 'rgb(var(--surface-base) / <alpha-value>)',
+ raised: 'rgb(var(--surface-raised) / <alpha-value>)',
+ overlay: 'rgb(var(--surface-overlay) / <alpha-value>)',
+ border: 'rgb(var(--surface-border) / <alpha-value>)',
+ muted: 'rgb(var(--surface-muted) / <alpha-value>)',
+ },
+ tx: {
+ primary: 'rgb(var(--tx-primary) / <alpha-value>)',
+ secondary: 'rgb(var(--tx-secondary) / <alpha-value>)',
+ muted: 'rgb(var(--tx-muted) / <alpha-value>)',
+ inverse: 'rgb(var(--tx-inverse) / <alpha-value>)',
+ },
+ // Brand — electric cyan (from web tailwind.config)
+ brand: {
+ 50: '#e0f9ff',
+ 100: '#b0f1fe',
+ 200: '#7ae7fd',
+ 300: '#38d8fb',
+ 400: '#0ecef7',
+ 500: '#00b8d9',
+ 600: '#0099b8',
+ 700: '#007a96',
+ 800: '#005c72',
+ 900: '#003d4d',
+ DEFAULT: '#00b8d9',
+ },
+ violet: { 400: '#a78bfa', 500: '#8b5cf6', 600: '#7c3aed', DEFAULT: '#8b5cf6' },
+ success: { 400: '#4ade80', 500: '#22c55e', DEFAULT: '#22c55e' },
+ warning: { 400: '#facc15', 500: '#eab308', DEFAULT: '#eab308' },
+ error: { 400: '#f87171', 500: '#ef4444', 600: '#dc2626', 700: '#b91c1c', DEFAULT: '#ef4444' },
+ },
+ },
+ },
+ plugins: [],
+}
diff --git a/mobile/tsconfig.json b/mobile/tsconfig.json
new file mode 100644
index 0000000..98cc304
--- /dev/null
+++ b/mobile/tsconfig.json
@@ -0,0 +1,16 @@
+{
+ "extends": "expo/tsconfig.base",
+ "compilerOptions": {
+ "strict": true,
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ },
+ "include": [
+ "**/*.ts",
+ "**/*.tsx",
+ ".expo/types/**/*.ts",
+ "expo-env.d.ts",
+ "nativewind-env.d.ts"
+ ]
+}
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..d62454c
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,17384 @@
+{
+ "name": "lyftr-monorepo",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "lyftr-monorepo",
+ "version": "0.0.0",
+ "workspaces": [
+ "packages/*",
+ "mobile"
+ ]
+ },
+ "mobile": {
+ "name": "@lyftr/mobile",
+ "version": "0.1.0",
+ "dependencies": {
+ "@expo-google-fonts/outfit": "^0.4.3",
+ "@expo-google-fonts/plus-jakarta-sans": "^0.4.2",
+ "@expo/metro-runtime": "~6.1.2",
+ "@expo/ngrok": "^4.1.3",
+ "@lyftr/shared": "*",
+ "@react-native-async-storage/async-storage": "2.2.0",
+ "@react-native-community/datetimepicker": "8.4.4",
+ "axios": "^1.6.2",
+ "date-fns": "^3.0.0",
+ "eslint-config-expo": "~10.0.0",
+ "expo": "^54.0.0",
+ "expo-camera": "~17.0.10",
+ "expo-constants": "~18.0.13",
+ "expo-font": "~14.0.12",
+ "expo-haptics": "~15.0.8",
+ "expo-keep-awake": "~15.0.8",
+ "expo-linear-gradient": "~15.0.8",
+ "expo-linking": "~8.0.12",
+ "expo-router": "~6.0.24",
+ "expo-secure-store": "~15.0.8",
+ "expo-splash-screen": "~31.0.13",
+ "expo-status-bar": "~3.0.9",
+ "jest-expo": "~54.0.17",
+ "lucide-react-native": "^0.460.0",
+ "nativewind": "^4.1.23",
+ "react": "19.1.0",
+ "react-dom": "19.1.0",
+ "react-native": "0.81.5",
+ "react-native-body-highlighter": "^3.2.0",
+ "react-native-gesture-handler": "~2.28.0",
+ "react-native-reanimated": "~4.1.1",
+ "react-native-safe-area-context": "~5.6.0",
+ "react-native-screens": "~4.16.0",
+ "react-native-svg": "15.12.1",
+ "react-native-url-polyfill": "^2.0.0",
+ "react-native-web": "^0.21.0",
+ "react-native-worklets": "0.5.1",
+ "zustand": "^4.4.6"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.25.0",
+ "@testing-library/react-native": "^13.3.3",
+ "@types/react": "~19.1.10",
+ "@types/react-test-renderer": "~19.1.0",
+ "babel-plugin-transform-import-meta": "^3.0.0",
+ "eslint": "^9.39.4",
+ "eslint-config-expo": "^57.0.0",
+ "jest": "^29.7.0",
+ "react-test-renderer": "19.1.0",
+ "tailwindcss": "^3.4.1",
+ "typescript": "^5.2.2"
+ }
+ },
+ "node_modules/@0no-co/graphql.web": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.3.2.tgz",
+ "integrity": "sha512-Q1+pRlLhE31GOY/2c9BAEnFTNxO7Awtc6fhhEDlxyCBQ2N0IhD32cPVvPChrK9mwBNSgRdW/sF1kd2e0ojHj1Q==",
+ "license": "MIT",
+ "peerDependencies": {
+ "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
+ },
+ "peerDependenciesMeta": {
+ "graphql": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@alloc/quick-lru": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
+ "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
+ "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
+ "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-module-transforms": "^7.29.7",
+ "@babel/helpers": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz",
+ "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-annotate-as-pure": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz",
+ "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
+ "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-create-class-features-plugin": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.7.tgz",
+ "integrity": "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-member-expression-to-functions": "^7.29.7",
+ "@babel/helper-optimise-call-expression": "^7.29.7",
+ "@babel/helper-replace-supers": "^7.29.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-create-regexp-features-plugin": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.29.7.tgz",
+ "integrity": "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "regexpu-core": "^6.3.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-define-polyfill-provider": {
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.8.tgz",
+ "integrity": "sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-plugin-utils": "^7.28.6",
+ "debug": "^4.4.3",
+ "lodash.debounce": "^4.0.8",
+ "resolve": "^1.22.11"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
+ "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.29.7.tgz",
+ "integrity": "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
+ "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
+ "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.29.7.tgz",
+ "integrity": "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz",
+ "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-remap-async-to-generator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.29.7.tgz",
+ "integrity": "sha512-16AMiW26DbXWBbr3B8wNozKM0ydMLB892vaOaJW/fPJdnT8vJk5sdkQcU/isqUxyCE0cEoa8wZOcbgDuC4b6Og==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-wrap-function": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.29.7.tgz",
+ "integrity": "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": "^7.29.7",
+ "@babel/helper-optimise-call-expression": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.29.7.tgz",
+ "integrity": "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
+ "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-wrap-function": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.7.tgz",
+ "integrity": "sha512-iES0Skag9ERIF68aXadpO6dbXa03mNWK3sEqJaMnLNs/eC3l0lkImdfoy6Y09/SfkpawdAB4RjQ7PVA7TcVGdw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",
+ "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight": {
+ "version": "7.25.9",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz",
+ "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.25.9",
+ "chalk": "^2.4.2",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "license": "MIT"
+ },
+ "node_modules/@babel/highlight/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz",
+ "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.7"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-proposal-decorators": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.29.7.tgz",
+ "integrity": "sha512-EtU0Hi3GvrTqD56xKmZvV/uCXK2ZbwVNPNLAquVItcAZpUhkXwWlo3Fmj0c2LxgSf2I8IDULeAepwNP1OefLXg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/plugin-syntax-decorators": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-proposal-export-default-from": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.29.7.tgz",
+ "integrity": "sha512-p+G5BNXDcy3bOXplhY4HybQ1GxH3i2Tppmdm/3epyRu2VgJJZuUlZ61MqRTg582Q7ZLBdP7fePYvsumSEkMxcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-async-generators": {
+ "version": "7.8.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
+ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-bigint": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
+ "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-class-static-block": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
+ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-decorators": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.29.7.tgz",
+ "integrity": "sha512-9MTTLbF39X6sqM92JPEsoI7++26hjZvzkxKZy64aMhWLH2mPkJ/Q3AV4QLmls3R14FpSpkOwQQfUh962JGQxxg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-dynamic-import": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz",
+ "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-export-default-from": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.29.7.tgz",
+ "integrity": "sha512-foag0BB37ROhdeIX9O8G0jX7hw0UekJc04cHMrYLOnrErsnBKqJGHJ8eDRpoCFZBvEPPygmmtw4qyU97qa4oOw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-flow": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.29.7.tgz",
+ "integrity": "sha512-ajMX6QPcyomotqwpzhkYGxcK2i/us0rs1Qo9QvUpa+Fca0FTmqrzKrctoIYLMxcOhGZldGT/BAVkRGTWBiR8gQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.7.tgz",
+ "integrity": "sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-meta": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
+ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-json-strings": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
+ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz",
+ "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
+ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
+ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-numeric-separator": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
+ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
+ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-optional-chaining": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
+ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-private-property-in-object": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
+ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-top-level-await": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
+ "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz",
+ "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-arrow-functions": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.29.7.tgz",
+ "integrity": "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-async-generator-functions": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.29.7.tgz",
+ "integrity": "sha512-d98gXZkgswvkyohMBABkhm3GeXhYj8psWfwQ2C7gtfrKGTykQa/iOIi+JJhwMjPlZ6Vm2XN+DCf3Es1EoG4ZLA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-remap-async-to-generator": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-async-to-generator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.29.7.tgz",
+ "integrity": "sha512-pcUb2SS+RMo9TWVBwKGI5ShtoG7R+zBsFmCKDa6fe8c+hPr3XJlZgoE5j6i8W7gDjhyvy+85vmYexanvXh3d1w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-remap-async-to-generator": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-block-scoping": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.7.tgz",
+ "integrity": "sha512-ONyr4+AZhKh8yKWInVxU9AXA9EbsyeLcL6V0dJy6M2/62vuvpGm29zzuymbTpdc451GEpDIdAyPLP3r+P61yKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-class-properties": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.29.7.tgz",
+ "integrity": "sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-class-static-block": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.7.tgz",
+ "integrity": "sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.12.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-classes": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.29.7.tgz",
+ "integrity": "sha512-qV0OGGBVacduzQHE649JyCneOFI/maT+YKsO+K4Yi3xv2wTPNjM/W2o2gdzMwEAZz7fXNTHAe0NcSg30bIN69g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-replace-supers": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-computed-properties": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.29.7.tgz",
+ "integrity": "sha512-RK7/IyU5phpuCdBAuig5VkzG/EnbDaui5SQGdU9BFrHdV+mV4cUjLMQ9lJDjLNtWHsqtiefpGZUXQP2BiTYMsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/template": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-destructuring": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.29.7.tgz",
+ "integrity": "sha512-iPX8aD6H9zV5s7ZsqTdNocPN/MGQ5sSMnElKrktxjJRMnB2jN/1p2+R7GkfD6CAYoVFqy5A4XnSIUeGgJzIWpg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-export-namespace-from": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.7.tgz",
+ "integrity": "sha512-24B2nOy2TeJSMheqwPD4DDQOV/elLSIlKxjZt4i05H5AgdPdWR3n18HnNrcJ+j76WJd9gbwb9jPjNYUy6RautA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-flow-strip-types": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.29.7.tgz",
+ "integrity": "sha512-wRHeUjUjCZnMHmiO5bRgjFLcoEh7JyTdByOW11ahhwNa4V0bmeGEaIvt51yq0zQp2yWIpqfxXXPyUP6GFJZHOQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/plugin-syntax-flow": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-for-of": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.7.tgz",
+ "integrity": "sha512-zeSIHh0+E1Um1WJRXCFlHQYu2ieJNdivLLjlBEp+dIBu3S51n+SZZmIXjxnItw6pz56Cn+KvK68BIBVsxq2JiQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-function-name": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.29.7.tgz",
+ "integrity": "sha512-otRWaHXE6fbAGkePvaj/kvs3HsqXfPhlnzwSOlnFgbqCPMd975dW+4wZ00WFBt+/YlBGcJwNrARQTOJOb4ZrIg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-literals": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.29.7.tgz",
+ "integrity": "sha512-DZ/oLP21ZuWx1vKqnoNv6/tvEK48AQOBRai40CX9dTjGluvT/YZCyY3rryDtyUqCEoyNroy5KKPwX2iQCiRvyw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-logical-assignment-operators": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.29.7.tgz",
+ "integrity": "sha512-A0H91hh6W8MFRkp5TqJmMr39jzGD1A1E1Ysiv2O06Sfbhkapm+XyIzxWCEh5kqwOZ1/8QZ0dY3SeQ7XBqfJd5Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-commonjs": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.29.7.tgz",
+ "integrity": "sha512-j0vCldybPC5b5dwCQOJ21uKtHzt7hxLygJTg9eF1ScfaikEDNfzn94XoW5Fi+seBR0nCyL23xaBFFkq7dTM8XQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.7.tgz",
+ "integrity": "sha512-vuFoLwr4qnv2xbZ16SQd6uPcH5FNrLHhk/Jzo++0XJFcaDsr4gjJVg6j398oMHiC+83k/GiBzviwF5KBJkPUtQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.29.7.tgz",
+ "integrity": "sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-numeric-separator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.29.7.tgz",
+ "integrity": "sha512-zR7fv/z14OjgHl4AgRtkDBvBMhIzCxqV/qN/2BCRC7LjFwvuzjYe7gDWxC4Wl/SNsLM6SE1IWvRPYMgSJaUvNw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-object-rest-spread": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.29.7.tgz",
+ "integrity": "sha512-Ld98jn4c0smUywL57m7SgsHq3OpThOa6LqZJif3G6jYOovPleoFhVrBJ1WegRApSFB2wu4+RelAj9AC9G08Z4A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/plugin-transform-destructuring": "^7.29.7",
+ "@babel/plugin-transform-parameters": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-optional-catch-binding": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.29.7.tgz",
+ "integrity": "sha512-sLsyndxK2VwX6yNUOakMb7Sh553ZTe/vVM1XJ+9Z5aW1ytsc8xOIwmyk05NNjN60vkc5/KqoTH6hB4V41LJhng==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-optional-chaining": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.29.7.tgz",
+ "integrity": "sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-parameters": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.29.7.tgz",
+ "integrity": "sha512-ZDOBqV/qLYJI0YElr8DcENEyARsFQeESqWXH6gZlghYXuPPjvweuDhP4VyEi4BlUBlLRFZVjxoZDMjxhLW766g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-private-methods": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.29.7.tgz",
+ "integrity": "sha512-/6Rz4DK1ETDEM/bWHsPHcaEe7ZaT1EqSXjtSP/L0DijOYuaUhiRiOKcwpZ8P7zR4xXEHc2ITdiCgBm9Tpyv9ug==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-private-property-in-object": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.29.7.tgz",
+ "integrity": "sha512-+BNo06dnrzdNNqCm1X6YUaVv0DKk8Q+JYcoZfOkLhYWNCXzlwTSRq8zGWayT1csjcpNXV9CQTBRRbmTLZac5cA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-display-name": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.29.7.tgz",
+ "integrity": "sha512-+1wdDMGNb4UPeY3Q4L5yLiYe6TXPXubs4NjrgRFw13hPRLJfEMw2Q5OXkee6/IfdqePIeW4Jjwe3aBh7SdKz4Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.29.7.tgz",
+ "integrity": "sha512-WsZulLVBUHXVj2cUcPVx6UE21TpalB6bHbSFErKT0Ib++ax24jjXe73FqlWvdylFOjiuPHYi6VCcgRad1ItN+A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/plugin-syntax-jsx": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-development": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.29.7.tgz",
+ "integrity": "sha512-Xfy3UVMF04+ypnFbkhvfqtmvwfe92qwQdbGZVonhE+6v35GzlofmOnA1szaZqzb9xYWr0nl1e5EMmzi0DNON1g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/plugin-transform-react-jsx": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.29.7.tgz",
+ "integrity": "sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.29.7.tgz",
+ "integrity": "sha512-06IyK09H3wi4cGbhDBwp5gUGo0IKtnYa8tyTiephirPCK6fbobVGiXMMI5zLQ4aKEYP3wZ3ArU44o+8KMrSG/Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-pure-annotations": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.29.7.tgz",
+ "integrity": "sha512-H5E+HBgDpr6Q5t+Aj11tL7XkIui1jhbIoArVQnqjgXo5/3YxkN7ZEBcWF4RQlB0T4rrxJQbXS6kiFV6B7XTqUA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-regenerator": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.7.tgz",
+ "integrity": "sha512-rNNFV0DBAJp988xW2DOntfDoYn1eR8GGF5AT5vYc+rjyfaQkM242c9tZUHHPe7KYaiJizXPWhQTzzdbXySyhBw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-runtime": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.29.7.tgz",
+ "integrity": "sha512-xmAscdE/AsqRW7vutbPNoUmu/nF5SrLKPs7aoJgEjo35lLKA/Bc0i2rMv/hr1+Y0o1bQCiVtith3u2vdgRL39Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "babel-plugin-polyfill-corejs2": "^0.4.14",
+ "babel-plugin-polyfill-corejs3": "^0.13.0",
+ "babel-plugin-polyfill-regenerator": "^0.6.5",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-shorthand-properties": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.29.7.tgz",
+ "integrity": "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-spread": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.29.7.tgz",
+ "integrity": "sha512-/u5K1QWada7tbYNqTjMh96718g9NTwh9tfPJMsSmVsQwGT447FskV+KcfeXkXq2GWki4EM/MuTdmBec+hOuVTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-sticky-regex": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.29.7.tgz",
+ "integrity": "sha512-BCHzNYJGe9l7EpwwDBN/ztlL2NYFFq8hp9ddjtUEM9f2O7S7kKV/lL6Fwo7IF7NSkYhPK2vO+86nIGltA90MsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-template-literals": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.29.7.tgz",
+ "integrity": "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.29.7.tgz",
+ "integrity": "sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.29.7",
+ "@babel/helper-create-class-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7",
+ "@babel/plugin-syntax-typescript": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-unicode-regex": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.29.7.tgz",
+ "integrity": "sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.29.7",
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/preset-react": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.29.7.tgz",
+ "integrity": "sha512-C+PV1TFUPTmBQGoPBL8j2QmLpZ117YTCwxIZeJOM96GbYMFSc7/pOXU5lVykwnZxyTqQxRsvoRk6f2FktZgGHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "@babel/plugin-transform-react-display-name": "^7.29.7",
+ "@babel/plugin-transform-react-jsx": "^7.29.7",
+ "@babel/plugin-transform-react-jsx-development": "^7.29.7",
+ "@babel/plugin-transform-react-pure-annotations": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/preset-typescript": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.29.7.tgz",
+ "integrity": "sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "@babel/plugin-syntax-jsx": "^7.29.7",
+ "@babel/plugin-transform-modules-commonjs": "^7.29.7",
+ "@babel/plugin-transform-typescript": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz",
+ "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
+ "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz",
+ "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse--for-generate-function-map": {
+ "name": "@babel/traverse",
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz",
+ "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz",
+ "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@bcoe/v8-coverage": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
+ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
+ "license": "MIT"
+ },
+ "node_modules/@egjs/hammerjs": {
+ "version": "2.0.17",
+ "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz",
+ "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hammerjs": "^2.0.36"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
+ "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.2.1",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
+ "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
+ "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
+ "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
+ "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.7",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-array/node_modules/brace-expansion": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@eslint/config-array/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
+ "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.14.0",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.1",
+ "minimatch": "^3.1.5",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
+ "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@expo-google-fonts/outfit": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@expo-google-fonts/outfit/-/outfit-0.4.3.tgz",
+ "integrity": "sha512-2uQmDVJencWLllxds6SG92E+SjxyZfvg7eZKZ5XLHggmm5AuUyQK7lzMAFOUzT6kheq2kJ7BAiubMdjKT32fJg==",
+ "license": "MIT AND OFL-1.1"
+ },
+ "node_modules/@expo-google-fonts/plus-jakarta-sans": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@expo-google-fonts/plus-jakarta-sans/-/plus-jakarta-sans-0.4.2.tgz",
+ "integrity": "sha512-6LYVmVGwjQvH+uzzWlVc9+oMj4lkNQ41aymVDjO+x8aFk8kCye20wOyLomYMZaMezA++Uf1mZRCw3W3Fy/hxEA==",
+ "license": "MIT AND OFL-1.1"
+ },
+ "node_modules/@expo/cli": {
+ "version": "54.0.25",
+ "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-54.0.25.tgz",
+ "integrity": "sha512-WnUqIb8oMBhtwSfIqdCHCzcaDIpLNXItRVd5miuvWi4GO0SGo89PSsAkbVJ+LJgcaY+v5rbgMELJS9I/CqOulA==",
+ "license": "MIT",
+ "dependencies": {
+ "@0no-co/graphql.web": "^1.0.8",
+ "@expo/code-signing-certificates": "^0.0.6",
+ "@expo/config": "~12.0.13",
+ "@expo/config-plugins": "~54.0.4",
+ "@expo/devcert": "^1.2.1",
+ "@expo/env": "~2.0.8",
+ "@expo/image-utils": "^0.8.8",
+ "@expo/json-file": "^10.0.16",
+ "@expo/metro": "~54.2.0",
+ "@expo/metro-config": "~54.0.16",
+ "@expo/osascript": "^2.3.8",
+ "@expo/package-manager": "^1.9.10",
+ "@expo/plist": "^0.4.9",
+ "@expo/prebuild-config": "^54.0.8",
+ "@expo/schema-utils": "^0.1.8",
+ "@expo/spawn-async": "^1.7.2",
+ "@expo/ws-tunnel": "^1.0.1",
+ "@expo/xcpretty": "^4.3.0",
+ "@react-native/dev-middleware": "0.81.5",
+ "@urql/core": "^5.0.6",
+ "@urql/exchange-retry": "^1.3.0",
+ "accepts": "^1.3.8",
+ "arg": "^5.0.2",
+ "better-opn": "~3.0.2",
+ "bplist-creator": "0.1.0",
+ "bplist-parser": "^0.3.1",
+ "chalk": "^4.0.0",
+ "ci-info": "^3.3.0",
+ "compression": "^1.7.4",
+ "connect": "^3.7.0",
+ "debug": "^4.3.4",
+ "env-editor": "^0.4.1",
+ "expo-server": "^1.0.7",
+ "freeport-async": "^2.0.0",
+ "getenv": "^2.0.0",
+ "glob": "^13.0.0",
+ "lan-network": "^0.2.1",
+ "minimatch": "^9.0.0",
+ "node-forge": "^1.3.3",
+ "npm-package-arg": "^11.0.0",
+ "ora": "^3.4.0",
+ "picomatch": "^4.0.3",
+ "pretty-bytes": "^5.6.0",
+ "pretty-format": "^29.7.0",
+ "progress": "^2.0.3",
+ "prompts": "^2.3.2",
+ "qrcode-terminal": "0.11.0",
+ "require-from-string": "^2.0.2",
+ "requireg": "^0.2.2",
+ "resolve": "^1.22.2",
+ "resolve-from": "^5.0.0",
+ "resolve.exports": "^2.0.3",
+ "semver": "^7.6.0",
+ "send": "^0.19.0",
+ "slugify": "^1.3.4",
+ "source-map-support": "~0.5.21",
+ "stacktrace-parser": "^0.1.10",
+ "structured-headers": "^0.4.1",
+ "tar": "^7.5.2",
+ "terminal-link": "^2.1.1",
+ "undici": "^6.18.2",
+ "wrap-ansi": "^7.0.0",
+ "ws": "^8.12.1"
+ },
+ "bin": {
+ "expo-internal": "build/bin/cli"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "expo-router": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "expo-router": {
+ "optional": true
+ },
+ "react-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@expo/cli/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/code-signing-certificates": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/@expo/code-signing-certificates/-/code-signing-certificates-0.0.6.tgz",
+ "integrity": "sha512-iNe0puxwBNEcuua9gmTGzq+SuMDa0iATai1FlFTMHJ/vUmKvN/V//drXoLJkVb5i5H3iE/n/qIJxyoBnXouD0w==",
+ "license": "MIT",
+ "dependencies": {
+ "node-forge": "^1.3.3"
+ }
+ },
+ "node_modules/@expo/config": {
+ "version": "12.0.13",
+ "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz",
+ "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "~7.10.4",
+ "@expo/config-plugins": "~54.0.4",
+ "@expo/config-types": "^54.0.10",
+ "@expo/json-file": "^10.0.8",
+ "deepmerge": "^4.3.1",
+ "getenv": "^2.0.0",
+ "glob": "^13.0.0",
+ "require-from-string": "^2.0.2",
+ "resolve-from": "^5.0.0",
+ "resolve-workspace-root": "^2.0.0",
+ "semver": "^7.6.0",
+ "slugify": "^1.3.4",
+ "sucrase": "~3.35.1"
+ }
+ },
+ "node_modules/@expo/config-plugins": {
+ "version": "54.0.4",
+ "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz",
+ "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/config-types": "^54.0.10",
+ "@expo/json-file": "~10.0.8",
+ "@expo/plist": "^0.4.8",
+ "@expo/sdk-runtime-versions": "^1.0.0",
+ "chalk": "^4.1.2",
+ "debug": "^4.3.5",
+ "getenv": "^2.0.0",
+ "glob": "^13.0.0",
+ "resolve-from": "^5.0.0",
+ "semver": "^7.5.4",
+ "slash": "^3.0.0",
+ "slugify": "^1.6.6",
+ "xcode": "^3.0.1",
+ "xml2js": "0.6.0"
+ }
+ },
+ "node_modules/@expo/config-plugins/node_modules/@babel/code-frame": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/highlight": "^7.10.4"
+ }
+ },
+ "node_modules/@expo/config-plugins/node_modules/@expo/json-file": {
+ "version": "10.0.16",
+ "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.16.tgz",
+ "integrity": "sha512-fcVkWEj+hLuP2yt5W0aw6LmDRqSPWDLUSxOMcmFeV+algmIF59sQVKCwB9btjQLd4V6x9N0pISkQEkBubUHrCw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "~7.10.4",
+ "json5": "^2.2.3"
+ }
+ },
+ "node_modules/@expo/config-plugins/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/config-types": {
+ "version": "54.0.10",
+ "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz",
+ "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==",
+ "license": "MIT"
+ },
+ "node_modules/@expo/config/node_modules/@babel/code-frame": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/highlight": "^7.10.4"
+ }
+ },
+ "node_modules/@expo/config/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/devcert": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@expo/devcert/-/devcert-1.2.1.tgz",
+ "integrity": "sha512-qC4eaxmKMTmJC2ahwyui6ud8f3W60Ss7pMkpBq40Hu3zyiAaugPXnZ24145U7K36qO9UHdZUVxsCvIpz2RYYCA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/sudo-prompt": "^9.3.1",
+ "debug": "^3.1.0"
+ }
+ },
+ "node_modules/@expo/devcert/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/@expo/devtools": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/@expo/devtools/-/devtools-0.1.8.tgz",
+ "integrity": "sha512-SVLxbuanDjJPgc0sy3EfXUMLb/tXzp6XIHkhtPVmTWJAp+FOr6+5SeiCfJrCzZFet0Ifyke2vX3sFcKwEvCXwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.2"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ },
+ "react-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@expo/env": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.0.11.tgz",
+ "integrity": "sha512-xV+ps6YCW7XIPVUwFVCRN2nox09dnRwy8uIjwHWTODu0zFw4kp4omnVkl0OOjuu2XOe7tdgAHxikrkJt9xB/7Q==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "debug": "^4.3.4",
+ "dotenv": "~16.4.5",
+ "dotenv-expand": "~11.0.6",
+ "getenv": "^2.0.0"
+ }
+ },
+ "node_modules/@expo/fingerprint": {
+ "version": "0.15.5",
+ "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.15.5.tgz",
+ "integrity": "sha512-mdVoAMcux1WlM6kd1RoWiHRNqKqS+J6mKmWQ/BKgeh937S/fcW58EE68O6nc4KDXtWi3PBeNHskOFcgyIuD4hw==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/spawn-async": "^1.7.2",
+ "arg": "^5.0.2",
+ "chalk": "^4.1.2",
+ "debug": "^4.3.4",
+ "getenv": "^2.0.0",
+ "glob": "^13.0.0",
+ "ignore": "^5.3.1",
+ "minimatch": "^10.2.2",
+ "p-limit": "^3.1.0",
+ "resolve-from": "^5.0.0",
+ "semver": "^7.6.0"
+ },
+ "bin": {
+ "fingerprint": "bin/cli.js"
+ }
+ },
+ "node_modules/@expo/fingerprint/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@expo/fingerprint/node_modules/brace-expansion": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
+ "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@expo/fingerprint/node_modules/minimatch": {
+ "version": "10.2.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.5"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@expo/fingerprint/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/image-utils": {
+ "version": "0.8.14",
+ "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.8.14.tgz",
+ "integrity": "sha512-5Sn+jG4Cw+shC2wDMXoqSAJnvERbiwzHn05FpWtD5IBflfTIs5gUmjzwiGVyjOdlMSQhgRrw/AymPbmO9h9mpQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/require-utils": "^55.0.5",
+ "@expo/spawn-async": "^1.7.2",
+ "chalk": "^4.0.0",
+ "getenv": "^2.0.0",
+ "jimp-compact": "0.16.1",
+ "parse-png": "^2.1.0",
+ "semver": "^7.6.0"
+ }
+ },
+ "node_modules/@expo/image-utils/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/json-file": {
+ "version": "10.2.0",
+ "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.2.0.tgz",
+ "integrity": "sha512-S6XzKe3R9GQeHiUPXc3xJjOv2VJhOEwFYf7xdC2z2cUqt3kZJ9mSO877sNQloVdnW/SUCtPY3bexlM7nwq+CAQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.20.0",
+ "json5": "^2.2.3"
+ }
+ },
+ "node_modules/@expo/metro": {
+ "version": "54.2.0",
+ "resolved": "https://registry.npmjs.org/@expo/metro/-/metro-54.2.0.tgz",
+ "integrity": "sha512-h68TNZPGsk6swMmLm9nRSnE2UXm48rWwgcbtAHVMikXvbxdS41NDHHeqg1rcQ9AbznDRp6SQVC2MVpDnsRKU1w==",
+ "license": "MIT",
+ "dependencies": {
+ "metro": "0.83.3",
+ "metro-babel-transformer": "0.83.3",
+ "metro-cache": "0.83.3",
+ "metro-cache-key": "0.83.3",
+ "metro-config": "0.83.3",
+ "metro-core": "0.83.3",
+ "metro-file-map": "0.83.3",
+ "metro-minify-terser": "0.83.3",
+ "metro-resolver": "0.83.3",
+ "metro-runtime": "0.83.3",
+ "metro-source-map": "0.83.3",
+ "metro-symbolicate": "0.83.3",
+ "metro-transform-plugins": "0.83.3",
+ "metro-transform-worker": "0.83.3"
+ }
+ },
+ "node_modules/@expo/metro-config": {
+ "version": "54.0.16",
+ "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-54.0.16.tgz",
+ "integrity": "sha512-3LLb9ZQl0VlqSlsalJ7+CYjfz60PBoSDHvpE1UF71aTM1Nx0Vb4LhXo7bCCC+PYP9q/GPB58LLbIROQ8PjKX2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.20.0",
+ "@babel/core": "^7.20.0",
+ "@babel/generator": "^7.20.5",
+ "@expo/config": "~12.0.13",
+ "@expo/env": "~2.0.8",
+ "@expo/json-file": "~10.0.16",
+ "@expo/metro": "~54.2.0",
+ "@expo/spawn-async": "^1.7.2",
+ "browserslist": "^4.25.0",
+ "chalk": "^4.1.0",
+ "debug": "^4.3.2",
+ "dotenv": "~16.4.5",
+ "dotenv-expand": "~11.0.6",
+ "getenv": "^2.0.0",
+ "glob": "^13.0.0",
+ "hermes-parser": "^0.29.1",
+ "jsc-safe-url": "^0.2.4",
+ "lightningcss": "^1.30.1",
+ "picomatch": "^4.0.3",
+ "postcss": "~8.4.32",
+ "resolve-from": "^5.0.0"
+ },
+ "peerDependencies": {
+ "expo": "*"
+ },
+ "peerDependenciesMeta": {
+ "expo": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@expo/metro-config/node_modules/@expo/json-file": {
+ "version": "10.0.16",
+ "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.16.tgz",
+ "integrity": "sha512-fcVkWEj+hLuP2yt5W0aw6LmDRqSPWDLUSxOMcmFeV+algmIF59sQVKCwB9btjQLd4V6x9N0pISkQEkBubUHrCw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "~7.10.4",
+ "json5": "^2.2.3"
+ }
+ },
+ "node_modules/@expo/metro-config/node_modules/@expo/json-file/node_modules/@babel/code-frame": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/highlight": "^7.10.4"
+ }
+ },
+ "node_modules/@expo/metro-runtime": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@expo/metro-runtime/-/metro-runtime-6.1.2.tgz",
+ "integrity": "sha512-nvM+Qv45QH7pmYvP8JB1G8JpScrWND3KrMA6ZKe62cwwNiX/BjHU28Ear0v/4bQWXlOY0mv6B8CDIm8JxXde9g==",
+ "license": "MIT",
+ "dependencies": {
+ "anser": "^1.4.9",
+ "pretty-format": "^29.7.0",
+ "stacktrace-parser": "^0.1.10",
+ "whatwg-fetch": "^3.0.0"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*",
+ "react-dom": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@expo/ngrok": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok/-/ngrok-4.1.3.tgz",
+ "integrity": "sha512-AESYaROGIGKWwWmUyQoUXcbvaUZjmpecC5buArXxYou+RID813F8T0Y5jQ2HUY49mZpYfJiy9oh4VSN37GgrXA==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "@expo/ngrok-bin": "2.3.42",
+ "got": "^11.5.1",
+ "uuid": "^3.3.2",
+ "yaml": "^1.10.0"
+ },
+ "engines": {
+ "node": ">=10.19.0"
+ }
+ },
+ "node_modules/@expo/ngrok-bin": {
+ "version": "2.3.42",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin/-/ngrok-bin-2.3.42.tgz",
+ "integrity": "sha512-kyhORGwv9XpbPeNIrX6QZ9wDVCDOScyTwxeS+ScNmUqYoZqD9LRmEqF7bpDh5VonTsrXgWrGl7wD2++oSHcaTQ==",
+ "bin": {
+ "ngrok": "bin/ngrok.js"
+ },
+ "optionalDependencies": {
+ "@expo/ngrok-bin-darwin-arm64": "2.3.41",
+ "@expo/ngrok-bin-darwin-x64": "2.3.41",
+ "@expo/ngrok-bin-freebsd-ia32": "2.3.41",
+ "@expo/ngrok-bin-freebsd-x64": "2.3.41",
+ "@expo/ngrok-bin-linux-arm": "2.3.41",
+ "@expo/ngrok-bin-linux-arm64": "2.3.41",
+ "@expo/ngrok-bin-linux-ia32": "2.3.41",
+ "@expo/ngrok-bin-linux-x64": "2.3.41",
+ "@expo/ngrok-bin-sunos-x64": "2.3.41",
+ "@expo/ngrok-bin-win32-ia32": "2.3.41",
+ "@expo/ngrok-bin-win32-x64": "2.3.41"
+ }
+ },
+ "node_modules/@expo/ngrok-bin-darwin-arm64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-darwin-arm64/-/ngrok-bin-darwin-arm64-2.3.41.tgz",
+ "integrity": "sha512-TPf95xp6SkvbRONZjltTOFcCJbmzAH7lrQ36Dv+djrOckWGPVq4HCur48YAeiGDqspmFEmqZ7ykD5c/bDfRFOA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-darwin-x64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-darwin-x64/-/ngrok-bin-darwin-x64-2.3.41.tgz",
+ "integrity": "sha512-29QZHfX4Ec0p0pQF5UrqiP2/Qe7t2rI96o+5b8045VCEl9AEAKHceGuyo+jfUDR4FSQBGFLSDb06xy8ghL3ZYA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-freebsd-ia32": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-freebsd-ia32/-/ngrok-bin-freebsd-ia32-2.3.41.tgz",
+ "integrity": "sha512-YYXgwNZ+p0aIrwgb+1/RxJbsWhGEzBDBhZulKg1VB7tKDAd2C8uGnbK1rOCuZy013iOUsJDXaj9U5QKc13iIXw==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-freebsd-x64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-freebsd-x64/-/ngrok-bin-freebsd-x64-2.3.41.tgz",
+ "integrity": "sha512-1Ei6K8BB+3etmmBT0tXYC4dyVkJMigT4ELbRTF5jKfw1pblqeXM9Qpf3p8851PTlH142S3bockCeO39rSkOnkg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-linux-arm": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-linux-arm/-/ngrok-bin-linux-arm-2.3.41.tgz",
+ "integrity": "sha512-B6+rW/+tEi7ZrKWQGkRzlwmKo7c1WJhNODFBSgkF/Sj9PmmNhBz67mer91S2+6nNt5pfcwLLd61CjtWfR1LUHQ==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-linux-arm64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-linux-arm64/-/ngrok-bin-linux-arm64-2.3.41.tgz",
+ "integrity": "sha512-eC8GA/xPcmQJy4h+g2FlkuQB3lf5DjITy8Y6GyydmPYMByjUYAGEXe0brOcP893aalAzRqbNOAjSuAw1lcCLSQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-linux-ia32": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-linux-ia32/-/ngrok-bin-linux-ia32-2.3.41.tgz",
+ "integrity": "sha512-w5Cy31wSz4jYnygEHS7eRizR1yt8s9TX6kHlkjzayIiRTFRb2E1qD2l0/4T2w0LJpBjM5ZFPaaKqsNWgCUIEow==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-linux-x64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-linux-x64/-/ngrok-bin-linux-x64-2.3.41.tgz",
+ "integrity": "sha512-LcU3MbYHv7Sn2eFz8Yzo2rXduufOvX1/hILSirwCkH+9G8PYzpwp2TeGqVWuO+EmvtBe6NEYwgdQjJjN6I4L1A==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-sunos-x64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-sunos-x64/-/ngrok-bin-sunos-x64-2.3.41.tgz",
+ "integrity": "sha512-bcOj45BLhiV2PayNmLmEVZlFMhEiiGpOr36BXC0XSL+cHUZHd6uNaS28AaZdz95lrRzGpeb0hAF8cuJjo6nq4g==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "sunos"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-win32-ia32": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-win32-ia32/-/ngrok-bin-win32-ia32-2.3.41.tgz",
+ "integrity": "sha512-0+vPbKvUA+a9ERgiAknmZCiWA3AnM5c6beI+51LqmjKEM4iAAlDmfXNJ89aAbvZMUtBNwEPHzJHnaM4s2SeBhA==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@expo/ngrok-bin-win32-x64": {
+ "version": "2.3.41",
+ "resolved": "https://registry.npmjs.org/@expo/ngrok-bin-win32-x64/-/ngrok-bin-win32-x64-2.3.41.tgz",
+ "integrity": "sha512-mncsPRaG462LiYrM8mQT8OYe3/i44m3N/NzUeieYpGi8+pCOo8TIC23kR9P93CVkbM9mmXsy3X6hq91a8FWBdA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@expo/ngrok/node_modules/uuid": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
+ "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",
+ "license": "MIT",
+ "bin": {
+ "uuid": "bin/uuid"
+ }
+ },
+ "node_modules/@expo/ngrok/node_modules/yaml": {
+ "version": "1.10.3",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.3.tgz",
+ "integrity": "sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@expo/osascript": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/@expo/osascript/-/osascript-2.7.0.tgz",
+ "integrity": "sha512-wKIXL8UtbuX4KwavPasIW3CUcgTbYfjzLcgUhjyKUAYDEqMaf6gmU1bqz3ffBPTokmX+G8/vFG1ZuI9etQWukA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/spawn-async": "^1.8.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@expo/package-manager": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/@expo/package-manager/-/package-manager-1.13.0.tgz",
+ "integrity": "sha512-s3W3eZafJDEyVL7W/jxj2Nz3eONKxSCU604S5xj8ijrVaRz83x0DnZznLf/UXQEI1w+FyibH68nHeQyk767b1A==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/json-file": "^11.0.0",
+ "@expo/spawn-async": "^1.8.0",
+ "chalk": "^4.0.0",
+ "npm-package-arg": "^11.0.0",
+ "ora": "^3.4.0",
+ "resolve-workspace-root": "^2.0.0"
+ }
+ },
+ "node_modules/@expo/package-manager/node_modules/@expo/json-file": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-11.0.0.tgz",
+ "integrity": "sha512-pHJCETqFL5x5BzNV6cEPwjwuECgGmnl0bNmfHIJ6LM1tlh2eVXi5HEdit3zby/JO/B8Otk5cgcqtJXgvvUat3A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.20.0",
+ "json5": "^2.2.3"
+ }
+ },
+ "node_modules/@expo/plist": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.9.tgz",
+ "integrity": "sha512-MPVpmKGfnQEnrCzgxuXcmPP/y/t6AVm+DcSb2Myp21LKWv1N3l8uFxMggesfF4ixAxkRlGmMMx9GyDC9M+XklQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@xmldom/xmldom": "^0.8.8",
+ "base64-js": "^1.2.3",
+ "xmlbuilder": "^15.1.1"
+ }
+ },
+ "node_modules/@expo/prebuild-config": {
+ "version": "54.0.8",
+ "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-54.0.8.tgz",
+ "integrity": "sha512-EA7N4dloty2t5Rde+HP0IEE+nkAQiu4A/+QGZGT9mFnZ5KKjPPkqSyYcRvP5bhQE10D+tvz6X0ngZpulbMdbsg==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/config": "~12.0.13",
+ "@expo/config-plugins": "~54.0.4",
+ "@expo/config-types": "^54.0.10",
+ "@expo/image-utils": "^0.8.8",
+ "@expo/json-file": "^10.0.8",
+ "@react-native/normalize-colors": "0.81.5",
+ "debug": "^4.3.1",
+ "resolve-from": "^5.0.0",
+ "semver": "^7.6.0",
+ "xml2js": "0.6.0"
+ },
+ "peerDependencies": {
+ "expo": "*"
+ }
+ },
+ "node_modules/@expo/prebuild-config/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@expo/require-utils": {
+ "version": "55.0.5",
+ "resolved": "https://registry.npmjs.org/@expo/require-utils/-/require-utils-55.0.5.tgz",
+ "integrity": "sha512-U4K/CQ2VpXuwfNGsN+daKmYOt15hCP8v/pXaYH6eut7kdYZo6SfJ1yr67BIcJ+1Gzzs+QzTxswAZChKpXmceyw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.20.0",
+ "@babel/core": "^7.25.2",
+ "@babel/plugin-transform-modules-commonjs": "^7.24.8"
+ },
+ "peerDependencies": {
+ "typescript": "^5.0.0 || ^5.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@expo/schema-utils": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/@expo/schema-utils/-/schema-utils-0.1.8.tgz",
+ "integrity": "sha512-9I6ZqvnAvKKDiO+ZF8BpQQFYWXOJvTAL5L/227RUbWG1OVZDInFifzCBiqAZ3b67NRfeAgpgvbA7rejsqhY62A==",
+ "license": "MIT"
+ },
+ "node_modules/@expo/sdk-runtime-versions": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz",
+ "integrity": "sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==",
+ "license": "MIT"
+ },
+ "node_modules/@expo/spawn-async": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@expo/spawn-async/-/spawn-async-1.8.0.tgz",
+ "integrity": "sha512-eb9xxd/LbuEGSdua4NumCu/McVB9EM+F/JxB9pWgnERw4HQ9XyTNH1KapG6oqLWR8TuRK2LQfzJlmNi94CVobw==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.6"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@expo/sudo-prompt": {
+ "version": "9.3.2",
+ "resolved": "https://registry.npmjs.org/@expo/sudo-prompt/-/sudo-prompt-9.3.2.tgz",
+ "integrity": "sha512-HHQigo3rQWKMDzYDLkubN5WQOYXJJE2eNqIQC2axC2iO3mHdwnIR7FgZVvHWtBwAdzBgAP0ECp8KqS8TiMKvgw==",
+ "license": "MIT"
+ },
+ "node_modules/@expo/vector-icons": {
+ "version": "15.1.1",
+ "resolved": "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-15.1.1.tgz",
+ "integrity": "sha512-Iu2VkcoI5vygbtYngm7jb4ifxElNVXQYdDrYkT7UCEIiKLeWnQY0wf2ZhHZ+Wro6Sc5TaumpKUOqDRpLi5rkvw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo-font": ">=14.0.4",
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/@expo/ws-tunnel": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@expo/ws-tunnel/-/ws-tunnel-1.0.6.tgz",
+ "integrity": "sha512-nDRbLmSrJar7abvUjp3smDwH8HcbZcoOEa5jVPUv9/9CajgmWw20JNRwTuBRzWIWIkEJDkz20GoNA+tSwUqk0Q==",
+ "license": "MIT"
+ },
+ "node_modules/@expo/xcpretty": {
+ "version": "4.4.4",
+ "resolved": "https://registry.npmjs.org/@expo/xcpretty/-/xcpretty-4.4.4.tgz",
+ "integrity": "sha512-4aQzz9vgxcNXFfo/iyNgDDYfsU5XGKKxWxZopw0cVotHiW+U8IJbIxMaxsINs6bHhtkG3StKNPcOrn3eBuxKPw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/code-frame": "^7.20.0",
+ "chalk": "^4.1.0",
+ "js-yaml": "^4.1.0"
+ },
+ "bin": {
+ "excpretty": "build/cli.js"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz",
+ "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/types": "^0.15.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.8",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz",
+ "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.2",
+ "@humanfs/types": "^0.15.0",
+ "@humanwhocodes/retry": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/types": {
+ "version": "0.15.0",
+ "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz",
+ "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@isaacs/fs-minipass": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
+ "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "license": "ISC",
+ "dependencies": {
+ "minipass": "^7.0.4"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/@isaacs/ttlcache": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/ttlcache/-/ttlcache-1.4.1.tgz",
+ "integrity": "sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@istanbuljs/load-nyc-config": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
+ "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
+ "license": "ISC",
+ "dependencies": {
+ "camelcase": "^5.3.1",
+ "find-up": "^4.1.0",
+ "get-package-type": "^0.1.0",
+ "js-yaml": "^3.13.1",
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "license": "MIT",
+ "dependencies": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.0.tgz",
+ "integrity": "sha512-ttBQIIQPDeLjpPOohtUdXuXUVoA2uIB6fEH9HyJ7234s5mBJ5wTx20njxplLZQgLaOfpmPQA7X2t5AX6tIPbog==",
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/@istanbuljs/schema": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz",
+ "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@jest/console": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz",
+ "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "jest-message-util": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/core": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz",
+ "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/console": "^29.7.0",
+ "@jest/reporters": "^29.7.0",
+ "@jest/test-result": "^29.7.0",
+ "@jest/transform": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "ansi-escapes": "^4.2.1",
+ "chalk": "^4.0.0",
+ "ci-info": "^3.2.0",
+ "exit": "^0.1.2",
+ "graceful-fs": "^4.2.9",
+ "jest-changed-files": "^29.7.0",
+ "jest-config": "^29.7.0",
+ "jest-haste-map": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-regex-util": "^29.6.3",
+ "jest-resolve": "^29.7.0",
+ "jest-resolve-dependencies": "^29.7.0",
+ "jest-runner": "^29.7.0",
+ "jest-runtime": "^29.7.0",
+ "jest-snapshot": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jest-validate": "^29.7.0",
+ "jest-watcher": "^29.7.0",
+ "micromatch": "^4.0.4",
+ "pretty-format": "^29.7.0",
+ "slash": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@jest/create-cache-key-function": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/create-cache-key-function/-/create-cache-key-function-29.7.0.tgz",
+ "integrity": "sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/diff-sequences": {
+ "version": "30.4.0",
+ "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.4.0.tgz",
+ "integrity": "sha512-zOpzlfUs45l6u7jm39qr87JCHUDsaeCtvL+kQe/Vn9jSnRB4/5IPXISm0h9I1vZW/o00Kn4UTJ2MOlhnUGwv3g==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@jest/environment": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz",
+ "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/fake-timers": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "jest-mock": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/expect": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz",
+ "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==",
+ "license": "MIT",
+ "dependencies": {
+ "expect": "^29.7.0",
+ "jest-snapshot": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/expect-utils": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz",
+ "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==",
+ "license": "MIT",
+ "dependencies": {
+ "jest-get-type": "^29.6.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/fake-timers": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz",
+ "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@sinonjs/fake-timers": "^10.0.2",
+ "@types/node": "*",
+ "jest-message-util": "^29.7.0",
+ "jest-mock": "^29.7.0",
+ "jest-util": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/get-type": {
+ "version": "30.1.0",
+ "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.1.0.tgz",
+ "integrity": "sha512-eMbZE2hUnx1WV0pmURZY9XoXPkUYjpc55mb0CrhtdWLtzMQPFvu/rZkTLZFTsdaVQa+Tr4eWAteqcUzoawq/uA==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@jest/globals": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz",
+ "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "^29.7.0",
+ "@jest/expect": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "jest-mock": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/reporters": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz",
+ "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==",
+ "license": "MIT",
+ "dependencies": {
+ "@bcoe/v8-coverage": "^0.2.3",
+ "@jest/console": "^29.7.0",
+ "@jest/test-result": "^29.7.0",
+ "@jest/transform": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@jridgewell/trace-mapping": "^0.3.18",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "collect-v8-coverage": "^1.0.0",
+ "exit": "^0.1.2",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.2.9",
+ "istanbul-lib-coverage": "^3.0.0",
+ "istanbul-lib-instrument": "^6.0.0",
+ "istanbul-lib-report": "^3.0.0",
+ "istanbul-lib-source-maps": "^4.0.0",
+ "istanbul-reports": "^3.1.3",
+ "jest-message-util": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jest-worker": "^29.7.0",
+ "slash": "^3.0.0",
+ "string-length": "^4.0.1",
+ "strip-ansi": "^6.0.0",
+ "v8-to-istanbul": "^9.0.1"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@jest/reporters/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@jest/reporters/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@jest/reporters/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@jest/schemas": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",
+ "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",
+ "license": "MIT",
+ "dependencies": {
+ "@sinclair/typebox": "^0.27.8"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/source-map": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz",
+ "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.18",
+ "callsites": "^3.0.0",
+ "graceful-fs": "^4.2.9"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/test-result": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz",
+ "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/console": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/istanbul-lib-coverage": "^2.0.0",
+ "collect-v8-coverage": "^1.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/test-sequencer": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz",
+ "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/test-result": "^29.7.0",
+ "graceful-fs": "^4.2.9",
+ "jest-haste-map": "^29.7.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/transform": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz",
+ "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.11.6",
+ "@jest/types": "^29.6.3",
+ "@jridgewell/trace-mapping": "^0.3.18",
+ "babel-plugin-istanbul": "^6.1.1",
+ "chalk": "^4.0.0",
+ "convert-source-map": "^2.0.0",
+ "fast-json-stable-stringify": "^2.1.0",
+ "graceful-fs": "^4.2.9",
+ "jest-haste-map": "^29.7.0",
+ "jest-regex-util": "^29.6.3",
+ "jest-util": "^29.7.0",
+ "micromatch": "^4.0.4",
+ "pirates": "^4.0.4",
+ "slash": "^3.0.0",
+ "write-file-atomic": "^4.0.2"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/types": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz",
+ "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "@types/istanbul-lib-coverage": "^2.0.0",
+ "@types/istanbul-reports": "^3.0.0",
+ "@types/node": "*",
+ "@types/yargs": "^17.0.8",
+ "chalk": "^4.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.11",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz",
+ "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@lyftr/mobile": {
+ "resolved": "mobile",
+ "link": true
+ },
+ "node_modules/@lyftr/shared": {
+ "resolved": "packages/shared",
+ "link": true
+ },
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.6.tgz",
+ "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@tybys/wasm-util": "^0.10.3"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ },
+ "peerDependencies": {
+ "@emnapi/core": "^1.7.1",
+ "@emnapi/runtime": "^1.7.1"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nolyfill/is-core-module": {
+ "version": "1.0.39",
+ "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",
+ "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.4.0"
+ }
+ },
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.4.tgz",
+ "integrity": "sha512-7AdCK9PQyiljKoBDbN8OuctCbd/esdwZPQ8RtOE3SsyQtUpiPb+ND75q0jEhC1m1ecBI0MFNeLJvwIh9iKHRcQ==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-collection": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.11.tgz",
+ "integrity": "sha512-djW9+zeg137KQdlPtmE8xnaD+K2rcXXMWFrSg0hsmYZ6HRbdTA7tDHFgpaW9+huWVEu0RCabL+985T4TA0BE7g==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.3.0.tgz",
+ "integrity": "sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.4.tgz",
+ "integrity": "sha512-QwH4PO5urrbO+FaGd5Aglg+YJgWTyyuZ3g/6mKvsqraLkglDdckw9JafgL5McL5VEJ6EPNduPaT3ZE9BttDAqg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog": {
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.18.tgz",
+ "integrity": "sha512-apa28mldjMgORmE6g/w3sCcA0Y9UAVeeDVoozN4i7kOw12mLl9RBchfzK3Nn6qxOWjrZhK1Lfy7f07kyzxtnBw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.3.0.tgz",
+ "integrity": "sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-direction": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.2.tgz",
+ "integrity": "sha512-C3vFhbyi4SW3PmbAi6Awpu4OzJtd0MxGurvSsYtr7p7nM8RNB3VAF3CUmnp2j50knpkrRcB7+ycVXzgLgF6yNA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.14.tgz",
+ "integrity": "sha512-4lUhWTWAjbDIqFrAPWJ3WqBOpO5YchVZ88X3nh6H9Lu5AFi5nCUeTPj3D8FSDmabmFeRe9ME0BDA4MwKTha5GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-effect-event": "0.0.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.4.tgz",
+ "integrity": "sha512-cot/aB/mOm0IYVYTTmQcEEK1M48lZWi8FlYe5nDPQQ8NYZUlXEFgncJ9p2Kzer3RKSrY7cTTpEMLZKNo9QoP5Q==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.11.tgz",
+ "integrity": "sha512-Mn88Vg2whaRocGJNOH+DKFqYm6ySFPQaiwHNxZPyjn99B52KAEJWWY9NP83+nWdk2HM3rdov+STu9AG471Rt9w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-id": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.2.tgz",
+ "integrity": "sha512-orBC88futVpqCmhX1p4cvquNHsELQ+w+vBJnuj3ftETI5bJb0bZn3Tqu3SWN2IOcPycTnMGnhwoermvISt72sA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.13.tgz",
+ "integrity": "sha512-z3oXfmaHLJTF1wktbjgD6cn9jiEbq3WSondB10LIuIt2m2Ym4iJlrW04/euMwENDdWDdE7z+OuY7Qyp1YpRSwA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.6.tgz",
+ "integrity": "sha512-zdTk4PlUO0E18HnZ3wYbW0KkJJxWCdiNYp6g6X1PtONFhxVkg01vliTJAmwIszU6mHiyBOoW9P0rAugl5/hULQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.7.tgz",
+ "integrity": "sha512-bC3NiwsprbxKjuon9l7X6BUTw7FPVzEYaL92MPEY5SCd/9hUTPXVFtVwRix7778wtRsVao+zE062gL79FZleeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.3.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.3.0.tgz",
+ "integrity": "sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.14.tgz",
+ "integrity": "sha512-8Qcnx9447tx/aCBgw6Jenfqg4Skq+vqab9mCBmuGNipIS5YXvL275wbKEu7+ICYHIlAPgCduUMJH1XOYewKF6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.0.tgz",
+ "integrity": "sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tabs": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.16.tgz",
+ "integrity": "sha512-v3Ab2l7z6U7tRB4xA0IyKdq0OsqaO1o9ZjsIEoKKnSZ/l96mZz8aCTX0NCXw+YVHJXr8Km4d+Mn6/Q8YjXa+gw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.2.tgz",
+ "integrity": "sha512-xCso9j1/u8sEgP1RNHjFrXJLApL8LiqOkI1R4ywuN00rxWdYg4oQXuwKLS3i0j5NWLromUD27/4nlxj2UFVvIw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.3.tgz",
+ "integrity": "sha512-PLzC90MS+ReootmjC597dvopoelpZ8Q61HJkDXZSExitIq7PL55vHNnesAHwguHK0aPfBnpdNzQtv1uliaqQrA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-effect-event": "0.0.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.3.tgz",
+ "integrity": "sha512-6c8ZqvPTWILEKnyVkP53EGRCcpnJiKTC21sS/6R1GF5xKyHJJWQEPfkqlcgUkdRQivd6tb23abUwe4ngWmY0JA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.2.tgz",
+ "integrity": "sha512-jrBWOxZITuGcnjRCM2t2U5ZPkCLxD+Ym6DjfssS5haTj2iiak/DOb64JeN6OdLfLgptb6/e2kKR+ZuTrGoZTPA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-native-async-storage/async-storage": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-2.2.0.tgz",
+ "integrity": "sha512-gvRvjR5JAaUZF8tv2Kcq/Gbt3JHwbKFYfmb445rhOj6NUMx3qPLixmDx5pZAyb9at1bYvJ4/eTUipU5aki45xw==",
+ "license": "MIT",
+ "dependencies": {
+ "merge-options": "^3.0.4"
+ },
+ "peerDependencies": {
+ "react-native": "^0.0.0-0 || >=0.65 <1.0"
+ }
+ },
+ "node_modules/@react-native-community/datetimepicker": {
+ "version": "8.4.4",
+ "resolved": "https://registry.npmjs.org/@react-native-community/datetimepicker/-/datetimepicker-8.4.4.tgz",
+ "integrity": "sha512-bc4ZixEHxZC9/qf5gbdYvIJiLZ5CLmEsC3j+Yhe1D1KC/3QhaIfGDVdUcid0PdlSoGOSEq4VlB93AWyetEyBSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "invariant": "^2.2.4"
+ },
+ "peerDependencies": {
+ "expo": ">=52.0.0",
+ "react": "*",
+ "react-native": "*",
+ "react-native-windows": "*"
+ },
+ "peerDependenciesMeta": {
+ "expo": {
+ "optional": true
+ },
+ "react-native-windows": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-native/assets-registry": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.81.5.tgz",
+ "integrity": "sha512-705B6x/5Kxm1RKRvSv0ADYWm5JOnoiQ1ufW7h8uu2E6G9Of/eE6hP/Ivw3U5jI16ERqZxiKQwk34VJbB0niX9w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/babel-plugin-codegen": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.81.5.tgz",
+ "integrity": "sha512-oF71cIH6je3fSLi6VPjjC3Sgyyn57JLHXs+mHWc9MoCiJJcM4nqsS5J38zv1XQ8d3zOW2JtHro+LF0tagj2bfQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.25.3",
+ "@react-native/codegen": "0.81.5"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/babel-preset": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.81.5.tgz",
+ "integrity": "sha512-UoI/x/5tCmi+pZ3c1+Ypr1DaRMDLI3y+Q70pVLLVgrnC3DHsHRIbHcCHIeG/IJvoeFqFM2sTdhSOLJrf8lOPrA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/plugin-proposal-export-default-from": "^7.24.7",
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
+ "@babel/plugin-syntax-export-default-from": "^7.24.7",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3",
+ "@babel/plugin-transform-arrow-functions": "^7.24.7",
+ "@babel/plugin-transform-async-generator-functions": "^7.25.4",
+ "@babel/plugin-transform-async-to-generator": "^7.24.7",
+ "@babel/plugin-transform-block-scoping": "^7.25.0",
+ "@babel/plugin-transform-class-properties": "^7.25.4",
+ "@babel/plugin-transform-classes": "^7.25.4",
+ "@babel/plugin-transform-computed-properties": "^7.24.7",
+ "@babel/plugin-transform-destructuring": "^7.24.8",
+ "@babel/plugin-transform-flow-strip-types": "^7.25.2",
+ "@babel/plugin-transform-for-of": "^7.24.7",
+ "@babel/plugin-transform-function-name": "^7.25.1",
+ "@babel/plugin-transform-literals": "^7.25.2",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
+ "@babel/plugin-transform-modules-commonjs": "^7.24.8",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
+ "@babel/plugin-transform-numeric-separator": "^7.24.7",
+ "@babel/plugin-transform-object-rest-spread": "^7.24.7",
+ "@babel/plugin-transform-optional-catch-binding": "^7.24.7",
+ "@babel/plugin-transform-optional-chaining": "^7.24.8",
+ "@babel/plugin-transform-parameters": "^7.24.7",
+ "@babel/plugin-transform-private-methods": "^7.24.7",
+ "@babel/plugin-transform-private-property-in-object": "^7.24.7",
+ "@babel/plugin-transform-react-display-name": "^7.24.7",
+ "@babel/plugin-transform-react-jsx": "^7.25.2",
+ "@babel/plugin-transform-react-jsx-self": "^7.24.7",
+ "@babel/plugin-transform-react-jsx-source": "^7.24.7",
+ "@babel/plugin-transform-regenerator": "^7.24.7",
+ "@babel/plugin-transform-runtime": "^7.24.7",
+ "@babel/plugin-transform-shorthand-properties": "^7.24.7",
+ "@babel/plugin-transform-spread": "^7.24.7",
+ "@babel/plugin-transform-sticky-regex": "^7.24.7",
+ "@babel/plugin-transform-typescript": "^7.25.2",
+ "@babel/plugin-transform-unicode-regex": "^7.24.7",
+ "@babel/template": "^7.25.0",
+ "@react-native/babel-plugin-codegen": "0.81.5",
+ "babel-plugin-syntax-hermes-parser": "0.29.1",
+ "babel-plugin-transform-flow-enums": "^0.0.2",
+ "react-refresh": "^0.14.0"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "*"
+ }
+ },
+ "node_modules/@react-native/codegen": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.81.5.tgz",
+ "integrity": "sha512-a2TDA03Up8lpSa9sh5VRGCQDXgCTOyDOFH+aqyinxp1HChG8uk89/G+nkJ9FPd0rqgi25eCTR16TWdS3b+fA6g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/parser": "^7.25.3",
+ "glob": "^7.1.1",
+ "hermes-parser": "0.29.1",
+ "invariant": "^2.2.4",
+ "nullthrows": "^1.1.1",
+ "yargs": "^17.6.2"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "*"
+ }
+ },
+ "node_modules/@react-native/codegen/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@react-native/codegen/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@react-native/codegen/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@react-native/community-cli-plugin": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.81.5.tgz",
+ "integrity": "sha512-yWRlmEOtcyvSZ4+OvqPabt+NS36vg0K/WADTQLhrYrm9qdZSuXmq8PmdJWz/68wAqKQ+4KTILiq2kjRQwnyhQw==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-native/dev-middleware": "0.81.5",
+ "debug": "^4.4.0",
+ "invariant": "^2.2.4",
+ "metro": "^0.83.1",
+ "metro-config": "^0.83.1",
+ "metro-core": "^0.83.1",
+ "semver": "^7.1.3"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@react-native-community/cli": "*",
+ "@react-native/metro-config": "*"
+ },
+ "peerDependenciesMeta": {
+ "@react-native-community/cli": {
+ "optional": true
+ },
+ "@react-native/metro-config": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-native/community-cli-plugin/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@react-native/debugger-frontend": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.81.5.tgz",
+ "integrity": "sha512-bnd9FSdWKx2ncklOetCgrlwqSGhMHP2zOxObJbOWXoj7GHEmih4MKarBo5/a8gX8EfA1EwRATdfNBQ81DY+h+w==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/dev-middleware": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/dev-middleware/-/dev-middleware-0.81.5.tgz",
+ "integrity": "sha512-WfPfZzboYgo/TUtysuD5xyANzzfka8Ebni6RIb2wDxhb56ERi7qDrE4xGhtPsjCL4pQBXSVxyIlCy0d8I6EgGA==",
+ "license": "MIT",
+ "dependencies": {
+ "@isaacs/ttlcache": "^1.4.1",
+ "@react-native/debugger-frontend": "0.81.5",
+ "chrome-launcher": "^0.15.2",
+ "chromium-edge-launcher": "^0.2.0",
+ "connect": "^3.6.5",
+ "debug": "^4.4.0",
+ "invariant": "^2.2.4",
+ "nullthrows": "^1.1.1",
+ "open": "^7.0.3",
+ "serve-static": "^1.16.2",
+ "ws": "^6.2.3"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/dev-middleware/node_modules/ws": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.4.tgz",
+ "integrity": "sha512-PNIUUyLI5YpkJZj60YBzX1o0ByQ4ovvfmq9N/Kig/PAYbVlGyz4R6G0SEWrD0O9acc0sT2+IdMBVLFv8FSi0Nw==",
+ "license": "MIT",
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "node_modules/@react-native/gradle-plugin": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.81.5.tgz",
+ "integrity": "sha512-hORRlNBj+ReNMLo9jme3yQ6JQf4GZpVEBLxmTXGGlIL78MAezDZr5/uq9dwElSbcGmLEgeiax6e174Fie6qPLg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/js-polyfills": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.81.5.tgz",
+ "integrity": "sha512-fB7M1CMOCIUudTRuj7kzxIBTVw2KXnsgbQ6+4cbqSxo8NmRRhA0Ul4ZUzZj3rFd3VznTL4Brmocv1oiN0bWZ8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/normalize-colors": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.81.5.tgz",
+ "integrity": "sha512-0HuJ8YtqlTVRXGZuGeBejLE04wSQsibpTI+RGOyVqxZvgtlLLC/Ssw0UmbHhT4lYMp2fhdtvKZSs5emWB1zR/g==",
+ "license": "MIT"
+ },
+ "node_modules/@react-native/virtualized-lists": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.81.5.tgz",
+ "integrity": "sha512-UVXgV/db25OPIvwZySeToXD/9sKKhOdkcWmmf4Jh8iBZuyfML+/5CasaZ1E7Lqg6g3uqVQq75NqIwkYmORJMPw==",
+ "license": "MIT",
+ "dependencies": {
+ "invariant": "^2.2.4",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@types/react": "^19.1.0",
+ "react": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-navigation/bottom-tabs": {
+ "version": "7.18.5",
+ "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.18.5.tgz",
+ "integrity": "sha512-BiXkpEprKwE++p64qjfUOhsK+e0VW8r5FsLbDOp8Mcr/vhoT9aqX3a4pHCVQ8ug5YQW+QrgF4/XIXI99CZxMnQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/elements": "^2.9.27",
+ "color": "^4.2.3",
+ "sf-symbols-typescript": "^2.1.0"
+ },
+ "peerDependencies": {
+ "@react-navigation/native": "^7.3.5",
+ "react": ">= 18.2.0",
+ "react-native": "*",
+ "react-native-safe-area-context": ">= 4.0.0",
+ "react-native-screens": ">= 4.0.0"
+ }
+ },
+ "node_modules/@react-navigation/core": {
+ "version": "7.21.3",
+ "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.21.3.tgz",
+ "integrity": "sha512-HUoGmT9IdpKpbAl9AZJmXFbid+jQWQWjzww9vV9uBSd+8fa1hTwM3UBsZBHrpMru0s1ikwknoAIwV827fqGlhA==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/routers": "^7.6.0",
+ "escape-string-regexp": "^4.0.0",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^3.3.11",
+ "query-string": "^7.1.3",
+ "react-is": "^19.1.0",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
+ },
+ "peerDependencies": {
+ "react": ">= 18.2.0"
+ }
+ },
+ "node_modules/@react-navigation/elements": {
+ "version": "2.9.27",
+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.27.tgz",
+ "integrity": "sha512-6bka/gWvP3+5Dw9Gf2ac83y/F0XEl2ktezc6Yp3gJBs22Rm9dluGKphe1B2Hj33XoCMRofxL8w3z3kmtlJiC0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "color": "^4.2.3",
+ "use-latest-callback": "^0.2.4",
+ "use-sync-external-store": "^1.5.0"
+ },
+ "peerDependencies": {
+ "@react-native-masked-view/masked-view": ">= 0.2.0",
+ "@react-navigation/native": "^7.3.5",
+ "react": ">= 18.2.0",
+ "react-native": "*",
+ "react-native-safe-area-context": ">= 4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@react-native-masked-view/masked-view": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-navigation/native": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.3.5.tgz",
+ "integrity": "sha512-lzcRpMoLCIypXXKm8KhpyZ81XpQBO/i8Oy1due4kUR97kG8kBlJxKUeP8yNnT5Fcl85rNdLXWbpwEr+9HPu4Ig==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/core": "^7.21.3",
+ "escape-string-regexp": "^4.0.0",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^3.3.11",
+ "standard-navigation": "^0.0.7",
+ "use-latest-callback": "^0.2.4"
+ },
+ "peerDependencies": {
+ "react": ">= 18.2.0",
+ "react-native": "*"
+ }
+ },
+ "node_modules/@react-navigation/native-stack": {
+ "version": "7.17.7",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.17.7.tgz",
+ "integrity": "sha512-kNM39MJu8qRiaSJdszJqQfvcBhbGHi4dXTvKiEmZe97EDUcDb3SyajG6T+08IZ6l5CFdlmCcM03VY3u/nCvWcw==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/elements": "^2.9.27",
+ "color": "^4.2.3",
+ "sf-symbols-typescript": "^2.1.0",
+ "warn-once": "^0.1.1"
+ },
+ "peerDependencies": {
+ "@react-navigation/native": "^7.3.5",
+ "react": ">= 18.2.0",
+ "react-native": "*",
+ "react-native-safe-area-context": ">= 4.0.0",
+ "react-native-screens": ">= 4.0.0"
+ }
+ },
+ "node_modules/@react-navigation/routers": {
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.6.0.tgz",
+ "integrity": "sha512-lblhDXfS75jLc7G2K7BZGM+7cjqQXk13X/MA4fq/12r62zM+fBhhreLzYflSitrDDXFRJpSvJXy0ziiGU04Xow==",
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11"
+ }
+ },
+ "node_modules/@rtsao/scc": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
+ "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@sinclair/typebox": {
+ "version": "0.27.10",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.10.tgz",
+ "integrity": "sha512-MTBk/3jGLNB2tVxv6uLlFh1iu64iYOQ2PbdOSK3NW8JZsmlaOh2q6sdtKowBhfw8QFLmYNzTW4/oK4uATIi6ZA==",
+ "license": "MIT"
+ },
+ "node_modules/@sindresorhus/is": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
+ "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/is?sponsor=1"
+ }
+ },
+ "node_modules/@sinonjs/commons": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",
+ "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "type-detect": "4.0.8"
+ }
+ },
+ "node_modules/@sinonjs/fake-timers": {
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz",
+ "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@sinonjs/commons": "^3.0.0"
+ }
+ },
+ "node_modules/@szmarczak/http-timer": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",
+ "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",
+ "license": "MIT",
+ "dependencies": {
+ "defer-to-connect": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@testing-library/react-native": {
+ "version": "13.3.3",
+ "resolved": "https://registry.npmjs.org/@testing-library/react-native/-/react-native-13.3.3.tgz",
+ "integrity": "sha512-k6Mjsd9dbZgvY4Bl7P1NIpePQNi+dfYtlJ5voi9KQlynxSyQkfOgJmYGCYmw/aSgH/rUcFvG8u5gd4npzgRDyg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "jest-matcher-utils": "^30.0.5",
+ "picocolors": "^1.1.1",
+ "pretty-format": "^30.0.5",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "jest": ">=29.0.0",
+ "react": ">=18.2.0",
+ "react-native": ">=0.71",
+ "react-test-renderer": ">=18.2.0"
+ },
+ "peerDependenciesMeta": {
+ "jest": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@testing-library/react-native/node_modules/@jest/schemas": {
+ "version": "30.4.1",
+ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.4.1.tgz",
+ "integrity": "sha512-i6b4qw5qnP8c5FEeBJg/uZQ4ddrkN6Ca8qISJh0pr7a5hfn3h3v5x60BEbOC7OYAGZNMs1LfFLwnW2CuK8F57Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@sinclair/typebox": "^0.34.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@testing-library/react-native/node_modules/@sinclair/typebox": {
+ "version": "0.34.49",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.49.tgz",
+ "integrity": "sha512-brySQQs7Jtn0joV8Xh9ZV/hZb9Ozb0pmazDIASBkYKCjXrXU3mpcFahmK/z4YDhGkQvP9mWJbVyahdtU5wQA+A==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/@testing-library/react-native/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@testing-library/react-native/node_modules/jest-diff": {
+ "version": "30.4.1",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.4.1.tgz",
+ "integrity": "sha512-CRpFK0RtLriVDGcPPAnR6HMVI8bSR2jnUIgralhauzYQZIb4RH9AtEInTuQr65LmmGggGcRT6HIASxwqsVsmlA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/diff-sequences": "30.4.0",
+ "@jest/get-type": "30.1.0",
+ "chalk": "^4.1.2",
+ "pretty-format": "30.4.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@testing-library/react-native/node_modules/jest-matcher-utils": {
+ "version": "30.4.1",
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.4.1.tgz",
+ "integrity": "sha512-zvYfX5CaeEkFrrLS9suWe9rvJrm9J1Iv3ua8kIBv9GEPzcnsfBf0bob37la7s67fs0nlBC3EuvkOLnXQKxtx4A==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/get-type": "30.1.0",
+ "chalk": "^4.1.2",
+ "jest-diff": "30.4.1",
+ "pretty-format": "30.4.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@testing-library/react-native/node_modules/pretty-format": {
+ "version": "30.4.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.4.1.tgz",
+ "integrity": "sha512-K6KiKMHTL4jjX4u3Kir2EW07nRfcqVTXIImx50wbjHQTcZPgg+gjVeNTIT3l3L1Rd4UefxfogquC9J37SoFyyw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "30.4.1",
+ "ansi-styles": "^5.2.0",
+ "react-is-18": "npm:react-is@^18.3.1",
+ "react-is-19": "npm:react-is@^19.2.5"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@tootallnate/once": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.1.tgz",
+ "integrity": "sha512-HqmEUIGRJ5fSXchkVgR5F7qn48bDBzv0kWj/Kfu5e6uci4UlEeng4331LnBkWffb++Ei3FOVLxo8JJWMFBDMeQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.3",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",
+ "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.27.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
+ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.2"
+ }
+ },
+ "node_modules/@types/cacheable-request": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",
+ "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/http-cache-semantics": "*",
+ "@types/keyv": "^3.1.4",
+ "@types/node": "*",
+ "@types/responselike": "^1.0.0"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/graceful-fs": {
+ "version": "4.1.9",
+ "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
+ "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/hammerjs": {
+ "version": "2.0.46",
+ "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.46.tgz",
+ "integrity": "sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/http-cache-semantics": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",
+ "integrity": "sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==",
+ "license": "MIT"
+ },
+ "node_modules/@types/istanbul-lib-coverage": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
+ "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/istanbul-lib-report": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
+ "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/istanbul-lib-coverage": "*"
+ }
+ },
+ "node_modules/@types/istanbul-reports": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
+ "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/istanbul-lib-report": "*"
+ }
+ },
+ "node_modules/@types/jest": {
+ "version": "29.5.14",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz",
+ "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "expect": "^29.0.0",
+ "pretty-format": "^29.0.0"
+ }
+ },
+ "node_modules/@types/jsdom": {
+ "version": "20.0.1",
+ "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-20.0.1.tgz",
+ "integrity": "sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "@types/tough-cookie": "*",
+ "parse5": "^7.0.0"
+ }
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/keyv": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz",
+ "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "26.1.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.0.tgz",
+ "integrity": "sha512-O0A1G3xPGy4w7AgQdAQYUlQ+BKk2Oovw8eRpofyp5KdBZULnbe+WqaOVNrm705SHphCiG4XHsACrSmPu1f+Kgw==",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~8.3.0"
+ }
+ },
+ "node_modules/@types/react": {
+ "version": "19.1.17",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.17.tgz",
+ "integrity": "sha512-Qec1E3mhALmaspIrhWt9jkQMNdw6bReVu64mjvhbhq2NFPftLPVr+l1SZgmw/66WwBNpDh7ao5AT6gF5v41PFA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-test-renderer": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-19.1.0.tgz",
+ "integrity": "sha512-XD0WZrHqjNrxA/MaR9O22w/RNidWR9YZmBdRGI7wcnWGrv/3dA8wKCJ8m63Sn+tLJhcjmuhOi629N66W6kgWzQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/responselike": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz",
+ "integrity": "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/stack-utils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
+ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/tough-cookie": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
+ "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/yargs": {
+ "version": "17.0.35",
+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz",
+ "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/yargs-parser": "*"
+ }
+ },
+ "node_modules/@types/yargs-parser": {
+ "version": "21.0.3",
+ "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
+ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
+ "license": "MIT"
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.63.0.tgz",
+ "integrity": "sha512-rvwSgqT+DHpWdzfSzPatRLm02a0GlESt++9iy3hLCDY4BgkaLcl8LBi9Yh7XGFBpwcBE/K3024QuXWTpbz4FfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.12.2",
+ "@typescript-eslint/scope-manager": "8.63.0",
+ "@typescript-eslint/type-utils": "8.63.0",
+ "@typescript-eslint/utils": "8.63.0",
+ "@typescript-eslint/visitor-keys": "8.63.0",
+ "ignore": "^7.0.5",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.63.0",
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.63.0.tgz",
+ "integrity": "sha512-gwh4gvvlaVDKKxyfxMG+Gnu1u9X0OQBwyGLkbwB65dIzBKnxeRiJlNFqlI3zwVhNXJIs6qV7mlFCn/BIajlVig==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.63.0",
+ "@typescript-eslint/types": "8.63.0",
+ "@typescript-eslint/typescript-estree": "8.63.0",
+ "@typescript-eslint/visitor-keys": "8.63.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.63.0.tgz",
+ "integrity": "sha512-e5dh0/UI0ok53AlZ5wRkXCB32z/f2jUZqPR/ygAw5WYaSw8j9EoJWlS7wQjr/dmOaqWjnPIn2m+HhVPCMWGZVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.63.0",
+ "@typescript-eslint/types": "^8.63.0",
+ "debug": "^4.4.3"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.63.0.tgz",
+ "integrity": "sha512-uUyfMWCnDSN8bCpcrY8nGP2BLkQ9Xn0GsipcONcpIDWhwhO4ZSyHvyS14U3X75mzxWxL3I2UZIrenTzdzcJO8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.63.0",
+ "@typescript-eslint/visitor-keys": "8.63.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.63.0.tgz",
+ "integrity": "sha512-sUAbkulqBAsncKnbRP3+7CtQFRKicexnj7ZwNC6ddCR7EmrXvjvdCYMJbUIqMd6lwoEriZjwLo08aS5tSjVMHg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.63.0.tgz",
+ "integrity": "sha512-Nzzh/OGxVCOjObjaj1CQF2RUasyYy2Jfuh+zZ3PjLzG2fYRriAiZLib9UKtO+CpQAS3YHiAS+ckZDclwqI1TPA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.63.0",
+ "@typescript-eslint/typescript-estree": "8.63.0",
+ "@typescript-eslint/utils": "8.63.0",
+ "debug": "^4.4.3",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.63.0.tgz",
+ "integrity": "sha512-xyLtl9DUBBFrcJS4x2pIqGLH68/tC2uOa4Z7pUteW09D3bXnnXUom4dyPikzWgB7llmIc1zoeI3aoUdC4rPK/Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.63.0.tgz",
+ "integrity": "sha512-ygBkU+B7ex5UI/gKhaqexWev79uISfIv7XQCRNYO/jmD8rGLPyWLAb3KMRT6nd8Gt9bmUBi9+iX6tBdYfOY81Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.63.0",
+ "@typescript-eslint/tsconfig-utils": "8.63.0",
+ "@typescript-eslint/types": "8.63.0",
+ "@typescript-eslint/visitor-keys": "8.63.0",
+ "debug": "^4.4.3",
+ "minimatch": "^10.2.2",
+ "semver": "^7.7.3",
+ "tinyglobby": "^0.2.15",
+ "ts-api-utils": "^2.5.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
+ "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "10.2.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.5"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.63.0.tgz",
+ "integrity": "sha512-fUKaeAvrTuQg/Tgt3nliAUSZHJM6DlCcfyEmxCvlX8kieWSStBX+5O5Fnidtc3i2JrH+9c/GL4RY2iasd/GPTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.9.1",
+ "@typescript-eslint/scope-manager": "8.63.0",
+ "@typescript-eslint/types": "8.63.0",
+ "@typescript-eslint/typescript-estree": "8.63.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.63.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.63.0.tgz",
+ "integrity": "sha512-UexrHGnGTpbuQHct2ExOc2ZcFbGUS9FOesCxxqdBGcpI1BxYu/LZ6U8Aq6/72XtF/qRBk9nhuGHFJIXXMhPMdw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.63.0",
+ "eslint-visitor-keys": "^5.0.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^20.19.0 || ^22.13.0 || >=24"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.2.tgz",
+ "integrity": "sha512-5jsZFwgR5rTdKwidH9Qmat75RKwqfpKlWWB1frDkljN127mwqBu8K0PYo7/hFpF03IEJpfVPpCQDY/eDx3iHvA==",
+ "license": "ISC"
+ },
+ "node_modules/@unrs/resolver-binding-android-arm-eabi": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz",
+ "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-android-arm64": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz",
+ "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-arm64": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz",
+ "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-x64": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz",
+ "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-freebsd-x64": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz",
+ "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz",
+ "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz",
+ "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz",
+ "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-musl": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz",
+ "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-loong64-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz",
+ "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-loong64-musl": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz",
+ "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz",
+ "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz",
+ "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz",
+ "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz",
+ "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-gnu": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz",
+ "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-musl": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz",
+ "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-openharmony-arm64": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz",
+ "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-wasm32-wasi": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz",
+ "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "1.10.0",
+ "@emnapi/runtime": "1.10.0",
+ "@napi-rs/wasm-runtime": "^1.1.4"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz",
+ "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz",
+ "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-x64-msvc": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz",
+ "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@urql/core": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@urql/core/-/core-5.2.0.tgz",
+ "integrity": "sha512-/n0ieD0mvvDnVAXEQgX/7qJiVcvYvNkOHeBvkwtylfjydar123caCXcl58PXFY11oU1oquJocVXHxLAbtv4x1A==",
+ "license": "MIT",
+ "dependencies": {
+ "@0no-co/graphql.web": "^1.0.13",
+ "wonka": "^6.3.2"
+ }
+ },
+ "node_modules/@urql/exchange-retry": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@urql/exchange-retry/-/exchange-retry-1.3.2.tgz",
+ "integrity": "sha512-TQMCz2pFJMfpNxmSfX1VSfTjwUIFx/mL+p1bnfM1xjjdla7Z+KnGMW/EhFbpckp3LyWAH4PgOsMwOMnIN+MBFg==",
+ "license": "MIT",
+ "dependencies": {
+ "@urql/core": "^5.1.2",
+ "wonka": "^6.3.2"
+ },
+ "peerDependencies": {
+ "@urql/core": "^5.0.0"
+ }
+ },
+ "node_modules/@xmldom/xmldom": {
+ "version": "0.8.13",
+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",
+ "integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/abab": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
+ "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
+ "deprecated": "Use your platform's native atob() and btoa() methods instead",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
+ "license": "MIT",
+ "dependencies": {
+ "event-target-shim": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=6.5"
+ }
+ },
+ "node_modules/accepts": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-globals": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz",
+ "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.1.0",
+ "acorn-walk": "^8.0.2"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/acorn-walk": {
+ "version": "8.3.5",
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz",
+ "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==",
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.11.0"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/agent-base": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",
+ "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/anser": {
+ "version": "1.4.10",
+ "resolved": "https://registry.npmjs.org/anser/-/anser-1.4.10.tgz",
+ "integrity": "sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==",
+ "license": "MIT"
+ },
+ "node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "license": "MIT",
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "license": "MIT"
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/anymatch/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
+ "license": "MIT"
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "license": "Python-2.0"
+ },
+ "node_modules/aria-hidden": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",
+ "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "is-array-buffer": "^3.0.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-includes": {
+ "version": "3.1.9",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz",
+ "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.24.0",
+ "es-object-atoms": "^1.1.1",
+ "get-intrinsic": "^1.3.0",
+ "is-string": "^1.1.1",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-timsort": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz",
+ "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==",
+ "license": "MIT"
+ },
+ "node_modules/array.prototype.findlast": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
+ "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",
+ "integrity": "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.9",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "es-shim-unscopables": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",
+ "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
+ "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.tosorted": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz",
+ "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "is-array-buffer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/asap": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
+ "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==",
+ "license": "MIT"
+ },
+ "node_modules/async-function": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz",
+ "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/async-limiter": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
+ "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==",
+ "license": "MIT"
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "license": "MIT"
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "possible-typed-array-names": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/axios": {
+ "version": "1.18.1",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz",
+ "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==",
+ "license": "MIT",
+ "dependencies": {
+ "follow-redirects": "^1.16.0",
+ "form-data": "^4.0.5",
+ "https-proxy-agent": "^5.0.1",
+ "proxy-from-env": "^2.1.0"
+ }
+ },
+ "node_modules/babel-jest": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",
+ "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/transform": "^29.7.0",
+ "@types/babel__core": "^7.1.14",
+ "babel-plugin-istanbul": "^6.1.1",
+ "babel-preset-jest": "^29.6.3",
+ "chalk": "^4.0.0",
+ "graceful-fs": "^4.2.9",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.8.0"
+ }
+ },
+ "node_modules/babel-plugin-istanbul": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
+ "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@istanbuljs/load-nyc-config": "^1.0.0",
+ "@istanbuljs/schema": "^0.1.2",
+ "istanbul-lib-instrument": "^5.0.4",
+ "test-exclude": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
+ "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/core": "^7.12.3",
+ "@babel/parser": "^7.14.7",
+ "@istanbuljs/schema": "^0.1.2",
+ "istanbul-lib-coverage": "^3.2.0",
+ "semver": "^6.3.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/babel-plugin-jest-hoist": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz",
+ "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.3.3",
+ "@babel/types": "^7.3.3",
+ "@types/babel__core": "^7.1.14",
+ "@types/babel__traverse": "^7.0.6"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-corejs2": {
+ "version": "0.4.17",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz",
+ "integrity": "sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-define-polyfill-provider": "^0.6.8",
+ "semver": "^6.3.1"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-corejs3": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz",
+ "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-define-polyfill-provider": "^0.6.5",
+ "core-js-compat": "^3.43.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-regenerator": {
+ "version": "0.6.8",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.8.tgz",
+ "integrity": "sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-define-polyfill-provider": "^0.6.8"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-react-compiler": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-1.0.0.tgz",
+ "integrity": "sha512-Ixm8tFfoKKIPYdCCKYTsqv+Fd4IJ0DQqMyEimo+pxUOMUR9cVPlwTrFt9Avu+3cb6Zp3mAzl+t1MrG2fxxKsxw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.26.0"
+ }
+ },
+ "node_modules/babel-plugin-react-native-web": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.21.2.tgz",
+ "integrity": "sha512-SPD0J6qjJn8231i0HZhlAGH6NORe+QvRSQM2mwQEzJ2Fb3E4ruWTiiicPlHjmeWShDXLcvoorOCXjeR7k/lyWA==",
+ "license": "MIT"
+ },
+ "node_modules/babel-plugin-syntax-hermes-parser": {
+ "version": "0.29.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.29.1.tgz",
+ "integrity": "sha512-2WFYnoWGdmih1I1J5eIqxATOeycOqRwYxAQBu3cUu/rhwInwHUg7k60AFNbuGjSDL8tje5GDrAnxzRLcu2pYcA==",
+ "license": "MIT",
+ "dependencies": {
+ "hermes-parser": "0.29.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-flow-enums": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-enums/-/babel-plugin-transform-flow-enums-0.0.2.tgz",
+ "integrity": "sha512-g4aaCrDDOsWjbm0PUUeVnkcVd6AKJsVc/MbnPhEotEpkeJQP6b8nzewohQi7+QS8UyPehOhGWn0nOwjvWpmMvQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/plugin-syntax-flow": "^7.12.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-import-meta/-/babel-plugin-transform-import-meta-3.0.0.tgz",
+ "integrity": "sha512-zFtfF6Fx8QMDlPrmuIvgxXGSPG5h+M/T6NUUy4lbnrKptoK+PH0zTEa2PgaGseLTJpBmZ+iLOys7c7NidYmvPQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/template": "^8.0.0",
+ "tslib": "^2.8.1"
+ },
+ "peerDependencies": {
+ "@babel/core": "^8.0.1"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/code-frame": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.0.tgz",
+ "integrity": "sha512-dYYg153EyN2Ekbqw2zAsbd6/JR+9N2SEoC7YV2GyyqMM7x9bLDTjBD6XBhSMLH0wtIVyJj03jWNriQhaN+eoCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^8.0.0",
+ "js-tokens": "^10.0.0"
+ },
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/helper-string-parser": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.0.tgz",
+ "integrity": "sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/helper-validator-identifier": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.2.tgz",
+ "integrity": "sha512-9Fr9QeyCAyi1BR1jKZ6uYQ24EIhQUx5ReHfQU7drOE+TPOb+w11/dsqLkMOT2U29OdCT71XajrOT8xDc1C7orA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/parser": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.0.tgz",
+ "integrity": "sha512-aLxAE+imI9bCcyaPrUDjBv3uSkWieifjLe0kuFOZF0zli0L6GCsTmsePnTr55adbIAgYz2zhN1vnFimCBUYcRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^8.0.0"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/template": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz",
+ "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^8.0.0",
+ "@babel/parser": "^8.0.0",
+ "@babel/types": "^8.0.0"
+ },
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/@babel/types": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.0.tgz",
+ "integrity": "sha512-K8ponJDxBwDHigkeFqaqT5wLGl4bTlwMafR8k7b5CPxr6Ww+UG9ls8Yx6Tcpboxu97eeGVEEyKcHmEyOwN1vSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^8.0.0",
+ "@babel/helper-validator-identifier": "^8.0.0"
+ },
+ "engines": {
+ "node": "^22.18.0 || >=24.11.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-import-meta/node_modules/js-tokens": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz",
+ "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/babel-preset-current-node-syntax": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz",
+ "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/plugin-syntax-bigint": "^7.8.3",
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
+ "@babel/plugin-syntax-class-static-block": "^7.14.5",
+ "@babel/plugin-syntax-import-attributes": "^7.24.7",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
+ "@babel/plugin-syntax-json-strings": "^7.8.3",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3",
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
+ "@babel/plugin-syntax-top-level-await": "^7.14.5"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0 || ^8.0.0-0"
+ }
+ },
+ "node_modules/babel-preset-expo": {
+ "version": "54.0.11",
+ "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-54.0.11.tgz",
+ "integrity": "sha512-dEpeFDtYEFzmWtWVwvt7sUCZH0fxXPfbJlgXd7XNZSQDa/Ki/hTOj9exMTzqR2oyPHDNcE9VxYCJ4oS6xw4Pjg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.25.9",
+ "@babel/plugin-proposal-decorators": "^7.12.9",
+ "@babel/plugin-proposal-export-default-from": "^7.24.7",
+ "@babel/plugin-syntax-export-default-from": "^7.24.7",
+ "@babel/plugin-transform-class-static-block": "^7.27.1",
+ "@babel/plugin-transform-export-namespace-from": "^7.25.9",
+ "@babel/plugin-transform-flow-strip-types": "^7.25.2",
+ "@babel/plugin-transform-modules-commonjs": "^7.24.8",
+ "@babel/plugin-transform-object-rest-spread": "^7.24.7",
+ "@babel/plugin-transform-parameters": "^7.24.7",
+ "@babel/plugin-transform-private-methods": "^7.24.7",
+ "@babel/plugin-transform-private-property-in-object": "^7.24.7",
+ "@babel/plugin-transform-runtime": "^7.24.7",
+ "@babel/preset-react": "^7.22.15",
+ "@babel/preset-typescript": "^7.23.0",
+ "@react-native/babel-preset": "0.81.5",
+ "babel-plugin-react-compiler": "^1.0.0",
+ "babel-plugin-react-native-web": "~0.21.0",
+ "babel-plugin-syntax-hermes-parser": "^0.29.1",
+ "babel-plugin-transform-flow-enums": "^0.0.2",
+ "debug": "^4.3.4",
+ "resolve-from": "^5.0.0"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "^7.20.0",
+ "expo": "*",
+ "react-refresh": ">=0.14.0 <1.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@babel/runtime": {
+ "optional": true
+ },
+ "expo": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/babel-preset-jest": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz",
+ "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==",
+ "license": "MIT",
+ "dependencies": {
+ "babel-plugin-jest-hoist": "^29.6.3",
+ "babel-preset-current-node-syntax": "^1.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "license": "MIT"
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.10.41",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.41.tgz",
+ "integrity": "sha512-WwS7MHhqGHHlaVsqRZnhvCEMS0owDX+SxRlve7JkuH7My1Ara3ZriTmCQupPfYjxMZ8I/tgxtJYr2t7taHaH4A==",
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/better-opn": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz",
+ "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==",
+ "license": "MIT",
+ "dependencies": {
+ "open": "^8.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/better-opn/node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/big-integer": {
+ "version": "1.6.52",
+ "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz",
+ "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==",
+ "license": "Unlicense",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
+ "license": "ISC"
+ },
+ "node_modules/bplist-creator": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz",
+ "integrity": "sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==",
+ "license": "MIT",
+ "dependencies": {
+ "stream-buffers": "2.2.x"
+ }
+ },
+ "node_modules/bplist-parser": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz",
+ "integrity": "sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==",
+ "license": "MIT",
+ "dependencies": {
+ "big-integer": "1.6.x"
+ },
+ "engines": {
+ "node": ">= 5.10.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.1.tgz",
+ "integrity": "sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.28.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.4.tgz",
+ "integrity": "sha512-MTc8i/x9jBQd1iMw2CFGS+rwMa07eYjLR0CCTLDACl9xhxy+nIs3KeML/biicXtk9JrZ6dnnTatmc7ErPXIxqw==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.10.38",
+ "caniuse-lite": "^1.0.30001799",
+ "electron-to-chromium": "^1.5.376",
+ "node-releases": "^2.0.48",
+ "update-browserslist-db": "^1.2.3"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/bs-logger": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz",
+ "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-json-stable-stringify": "2.x"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/bser": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
+ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "node-int64": "^0.4.0"
+ }
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
+ "license": "MIT"
+ },
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/cacheable-lookup": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",
+ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.6.0"
+ }
+ },
+ "node_modules/cacheable-request": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",
+ "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",
+ "license": "MIT",
+ "dependencies": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^4.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^6.0.1",
+ "responselike": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cacheable-request/node_modules/get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "license": "MIT",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz",
+ "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "get-intrinsic": "^1.3.0",
+ "set-function-length": "^1.2.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001800",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001800.tgz",
+ "integrity": "sha512-MMHtuAz9Ys840zAY5F4k6fV5GaivZ9sPk+nz0mY+GYVzRBnYkN0mpqkSR92oWRQ19yQWo4HvBV/FnC16AJX8MA==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/char-regex": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
+ "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "license": "MIT",
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/chrome-launcher": {
+ "version": "0.15.2",
+ "resolved": "https://registry.npmjs.org/chrome-launcher/-/chrome-launcher-0.15.2.tgz",
+ "integrity": "sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/node": "*",
+ "escape-string-regexp": "^4.0.0",
+ "is-wsl": "^2.2.0",
+ "lighthouse-logger": "^1.0.0"
+ },
+ "bin": {
+ "print-chrome-path": "bin/print-chrome-path.js"
+ },
+ "engines": {
+ "node": ">=12.13.0"
+ }
+ },
+ "node_modules/chromium-edge-launcher": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/chromium-edge-launcher/-/chromium-edge-launcher-0.2.0.tgz",
+ "integrity": "sha512-JfJjUnq25y9yg4FABRRVPmBGWPZZi+AQXT4mxupb67766/0UlhG8PAZCz6xzEMXTbW3CsSoE8PcCWA49n35mKg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/node": "*",
+ "escape-string-regexp": "^4.0.0",
+ "is-wsl": "^2.2.0",
+ "lighthouse-logger": "^1.0.0",
+ "mkdirp": "^1.0.4",
+ "rimraf": "^3.0.2"
+ }
+ },
+ "node_modules/ci-info": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
+ "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cjs-module-lexer": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz",
+ "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==",
+ "license": "MIT"
+ },
+ "node_modules/cli-cursor": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
+ "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==",
+ "license": "MIT",
+ "dependencies": {
+ "restore-cursor": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cli-spinners": {
+ "version": "2.9.2",
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
+ "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/client-only": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
+ "license": "MIT"
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/clone-response": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz",
+ "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-response": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/co": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
+ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
+ "license": "MIT",
+ "engines": {
+ "iojs": ">= 1.0.0",
+ "node": ">= 0.12.0"
+ }
+ },
+ "node_modules/collect-v8-coverage": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz",
+ "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==",
+ "license": "MIT"
+ },
+ "node_modules/color": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1",
+ "color-string": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=12.5.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "license": "MIT"
+ },
+ "node_modules/color-string": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "^1.0.0",
+ "simple-swizzle": "^0.2.2"
+ }
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "license": "MIT",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/commander": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/comment-json": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.6.2.tgz",
+ "integrity": "sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==",
+ "license": "MIT",
+ "dependencies": {
+ "array-timsort": "^1.0.3",
+ "esprima": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/compressible": {
+ "version": "2.0.18",
+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
+ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": ">= 1.43.0 < 2"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/compression": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.1.tgz",
+ "integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "3.1.2",
+ "compressible": "~2.0.18",
+ "debug": "2.6.9",
+ "negotiator": "~0.6.4",
+ "on-headers": "~1.1.0",
+ "safe-buffer": "5.2.1",
+ "vary": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/compression/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/compression/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/compression/node_modules/negotiator": {
+ "version": "0.6.4",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz",
+ "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "license": "MIT"
+ },
+ "node_modules/connect": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz",
+ "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "finalhandler": "1.1.2",
+ "parseurl": "~1.3.3",
+ "utils-merge": "1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/connect/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/connect/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "license": "MIT"
+ },
+ "node_modules/core-js-compat": {
+ "version": "3.49.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.49.0.tgz",
+ "integrity": "sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==",
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.28.1"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/create-jest": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz",
+ "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "chalk": "^4.0.0",
+ "exit": "^0.1.2",
+ "graceful-fs": "^4.2.9",
+ "jest-config": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "prompts": "^2.0.1"
+ },
+ "bin": {
+ "create-jest": "bin/create-jest.js"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/cross-fetch": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz",
+ "integrity": "sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "node-fetch": "^2.7.0"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/css-in-js-utils": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-3.1.0.tgz",
+ "integrity": "sha512-fJAcud6B3rRu+KHYk+Bwf+WFL2MDCJJ1XG9x137tJQ0xYxor7XziQtuGFbWNdqrvF4Tk26O3H73nfVqXt/fW1A==",
+ "license": "MIT",
+ "dependencies": {
+ "hyphenate-style-name": "^1.0.3"
+ }
+ },
+ "node_modules/css-select": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz",
+ "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "boolbase": "^1.0.0",
+ "css-what": "^6.1.0",
+ "domhandler": "^5.0.2",
+ "domutils": "^3.0.1",
+ "nth-check": "^2.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
+ }
+ },
+ "node_modules/css-tree": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
+ "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
+ "license": "MIT",
+ "dependencies": {
+ "mdn-data": "2.0.14",
+ "source-map": "^0.6.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/css-what": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz",
+ "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">= 6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cssom": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz",
+ "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==",
+ "license": "MIT"
+ },
+ "node_modules/cssstyle": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
+ "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
+ "license": "MIT",
+ "dependencies": {
+ "cssom": "~0.3.6"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cssstyle/node_modules/cssom": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
+ "license": "MIT"
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/data-urls": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz",
+ "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==",
+ "license": "MIT",
+ "dependencies": {
+ "abab": "^2.0.6",
+ "whatwg-mimetype": "^3.0.0",
+ "whatwg-url": "^11.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/data-urls/node_modules/tr46": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz",
+ "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==",
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/data-urls/node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/data-urls/node_modules/whatwg-url": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz",
+ "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "^3.0.0",
+ "webidl-conversions": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/data-view-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",
+ "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/data-view-byte-length": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz",
+ "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/inspect-js"
+ }
+ },
+ "node_modules/data-view-byte-offset": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz",
+ "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/date-fns": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
+ "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/kossnocorp"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decimal.js": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
+ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",
+ "license": "MIT"
+ },
+ "node_modules/decode-uri-component": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
+ "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/decompress-response": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-response": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/decompress-response/node_modules/mimic-response": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/dedent": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz",
+ "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "babel-plugin-macros": "^3.1.0"
+ },
+ "peerDependenciesMeta": {
+ "babel-plugin-macros": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/defaults": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz",
+ "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==",
+ "license": "MIT",
+ "dependencies": {
+ "clone": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/defer-to-connect": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",
+ "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/destroy": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/detect-newline": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
+ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",
+ "license": "MIT"
+ },
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/diff-sequences": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
+ "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
+ "license": "MIT"
+ },
+ "node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/dom-serializer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
+ "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.2",
+ "entities": "^4.2.0"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
+ }
+ },
+ "node_modules/domelementtype": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
+ "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ],
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/domexception": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz",
+ "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==",
+ "deprecated": "Use your platform's native DOMException instead",
+ "license": "MIT",
+ "dependencies": {
+ "webidl-conversions": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/domexception/node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/domhandler": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
+ "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "domelementtype": "^2.3.0"
+ },
+ "engines": {
+ "node": ">= 4"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domhandler?sponsor=1"
+ }
+ },
+ "node_modules/domutils": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",
+ "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "dom-serializer": "^2.0.0",
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domutils?sponsor=1"
+ }
+ },
+ "node_modules/dotenv": {
+ "version": "16.4.7",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
+ "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/dotenv-expand": {
+ "version": "11.0.7",
+ "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.7.tgz",
+ "integrity": "sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "dotenv": "^16.4.5"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.384",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.384.tgz",
+ "integrity": "sha512-g6KAKY1vkYsADvSPWvdJsuYT0ixdcu6lUtD9P/wJKGBEDlZVXh2AX42j1mPqqaQPDluWjara9ziQ7xqAeXCt5A==",
+ "license": "ISC"
+ },
+ "node_modules/emittery": {
+ "version": "0.13.1",
+ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz",
+ "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/emittery?sponsor=1"
+ }
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "license": "MIT"
+ },
+ "node_modules/encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
+ "license": "MIT",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/env-editor": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz",
+ "integrity": "sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
+ "license": "MIT",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/error-stack-parser": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz",
+ "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==",
+ "license": "MIT",
+ "dependencies": {
+ "stackframe": "^1.3.4"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.24.2",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz",
+ "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.2",
+ "arraybuffer.prototype.slice": "^1.0.4",
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "data-view-buffer": "^1.0.2",
+ "data-view-byte-length": "^1.0.2",
+ "data-view-byte-offset": "^1.0.1",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "es-set-tostringtag": "^2.1.0",
+ "es-to-primitive": "^1.3.0",
+ "function.prototype.name": "^1.1.8",
+ "get-intrinsic": "^1.3.0",
+ "get-proto": "^1.0.1",
+ "get-symbol-description": "^1.1.0",
+ "globalthis": "^1.0.4",
+ "gopd": "^1.2.0",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "internal-slot": "^1.1.0",
+ "is-array-buffer": "^3.0.5",
+ "is-callable": "^1.2.7",
+ "is-data-view": "^1.0.2",
+ "is-negative-zero": "^2.0.3",
+ "is-regex": "^1.2.1",
+ "is-set": "^2.0.3",
+ "is-shared-array-buffer": "^1.0.4",
+ "is-string": "^1.1.1",
+ "is-typed-array": "^1.1.15",
+ "is-weakref": "^1.1.1",
+ "math-intrinsics": "^1.1.0",
+ "object-inspect": "^1.13.4",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.7",
+ "own-keys": "^1.0.1",
+ "regexp.prototype.flags": "^1.5.4",
+ "safe-array-concat": "^1.1.3",
+ "safe-push-apply": "^1.0.0",
+ "safe-regex-test": "^1.1.0",
+ "set-proto": "^1.0.0",
+ "stop-iteration-iterator": "^1.1.0",
+ "string.prototype.trim": "^1.2.10",
+ "string.prototype.trimend": "^1.0.9",
+ "string.prototype.trimstart": "^1.0.8",
+ "typed-array-buffer": "^1.0.3",
+ "typed-array-byte-length": "^1.0.3",
+ "typed-array-byte-offset": "^1.0.4",
+ "typed-array-length": "^1.0.7",
+ "unbox-primitive": "^1.1.0",
+ "which-typed-array": "^1.1.19"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-abstract-get": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz",
+ "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.2",
+ "is-callable": "^1.2.7",
+ "object-inspect": "^1.13.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-iterator-helpers": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.3.3.tgz",
+ "integrity": "sha512-0PuBxFi+4uPanB97iDxCLWuHeYud2FALrw5HFZGtAF38UpJDbDC8frwp2cnDyae692CQ0dou60UwWfhgsa4U/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.24.2",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.1.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.3.0",
+ "globalthis": "^1.0.4",
+ "gopd": "^1.2.0",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "internal-slot": "^1.1.0",
+ "iterator.prototype": "^1.1.5",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
+ "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-shim-unscopables": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz",
+ "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz",
+ "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-abstract-get": "^1.0.0",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "is-callable": "^1.2.7",
+ "is-date-object": "^1.1.0",
+ "is-symbol": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "license": "MIT"
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/escodegen": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esprima": "^4.0.1",
+ "estraverse": "^5.2.0",
+ "esutils": "^2.0.2"
+ },
+ "bin": {
+ "escodegen": "bin/escodegen.js",
+ "esgenerate": "bin/esgenerate.js"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "optionalDependencies": {
+ "source-map": "~0.6.1"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
+ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.8.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.21.2",
+ "@eslint/config-helpers": "^0.4.2",
+ "@eslint/core": "^0.17.0",
+ "@eslint/eslintrc": "^3.3.5",
+ "@eslint/js": "9.39.4",
+ "@eslint/plugin-kit": "^0.4.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "ajv": "^6.14.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.5",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-config-expo": {
+ "version": "57.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-expo/-/eslint-config-expo-57.0.0.tgz",
+ "integrity": "sha512-T7OTN9xrSZYjLw4qTkL1Mn2WfAUVmMGY38+OYAcraI1uiTFVH6jfkSkv84WLTqnneblLcb6AsMDV+SHcUj3hGw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "^8.59.0",
+ "@typescript-eslint/parser": "^8.59.0",
+ "eslint-import-resolver-typescript": "^3.6.3",
+ "eslint-plugin-expo": "^1.1.0",
+ "eslint-plugin-import": "^2.30.0",
+ "eslint-plugin-react": "^7.37.3",
+ "eslint-plugin-react-hooks": "^7.0.0",
+ "globals": "^16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": ">=8.10"
+ }
+ },
+ "node_modules/eslint-config-expo/node_modules/globals": {
+ "version": "16.5.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz",
+ "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.10",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.10.tgz",
+ "integrity": "sha512-tRrKqFyCaKict5hOd244sL6EQFNycnMQnBe+j8uqGNXYzsImGbGUU4ibtoaBmv5FLwJwcFJNeg1GeVjQfbMrDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^3.2.7",
+ "is-core-module": "^2.16.1",
+ "resolve": "^2.0.0-next.6"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/resolve": {
+ "version": "2.0.0-next.7",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.7.tgz",
+ "integrity": "sha512-tqt+NBWwyaMgw3zDsnygx4CByWjQEJHOPMdslYhppaQSJUtL/D4JO9CcBBlhPoI8lz9oJIDXkwXfhF4aWqP8xQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.2",
+ "node-exports-info": "^1.6.0",
+ "object-keys": "^1.1.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/eslint-import-resolver-typescript": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",
+ "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@nolyfill/is-core-module": "1.0.39",
+ "debug": "^4.4.0",
+ "get-tsconfig": "^4.10.0",
+ "is-bun-module": "^2.0.0",
+ "stable-hash": "^0.0.5",
+ "tinyglobby": "^0.2.13",
+ "unrs-resolver": "^1.6.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint-import-resolver-typescript"
+ },
+ "peerDependencies": {
+ "eslint": "*",
+ "eslint-plugin-import": "*",
+ "eslint-plugin-import-x": "*"
+ },
+ "peerDependenciesMeta": {
+ "eslint-plugin-import": {
+ "optional": true
+ },
+ "eslint-plugin-import-x": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.14.0.tgz",
+ "integrity": "sha512-W2WCRZ9Dqntd+2u8jJcVMV2PKulc6RdLgUUoh/yQr3uB6lo/ZOeGx11sv60/8S4QFFKNslAlWhr9u0Ef7ZW6Ig==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^3.2.7"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-expo": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-expo/-/eslint-plugin-expo-1.1.0.tgz",
+ "integrity": "sha512-vPP0EPx7IA7ZfP49dY4rq9RV5jqkFWG+Pih3/oGjzIRjMI+ogcOE8i6isYkLXAdw/yvFV2BRZkTaQaiOGQqn6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "^8.59.0",
+ "@typescript-eslint/utils": "^8.59.0",
+ "eslint": "^9.24.0"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "eslint": ">=8.10"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.32.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz",
+ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rtsao/scc": "^1.1.0",
+ "array-includes": "^3.1.9",
+ "array.prototype.findlastindex": "^1.2.6",
+ "array.prototype.flat": "^1.3.3",
+ "array.prototype.flatmap": "^1.3.3",
+ "debug": "^3.2.7",
+ "doctrine": "^2.1.0",
+ "eslint-import-resolver-node": "^0.3.9",
+ "eslint-module-utils": "^2.12.1",
+ "hasown": "^2.0.2",
+ "is-core-module": "^2.16.1",
+ "is-glob": "^4.0.3",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.8",
+ "object.groupby": "^1.0.3",
+ "object.values": "^1.2.1",
+ "semver": "^6.3.1",
+ "string.prototype.trimend": "^1.0.9",
+ "tsconfig-paths": "^3.15.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/brace-expansion": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/eslint-plugin-react": {
+ "version": "7.37.5",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",
+ "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-includes": "^3.1.8",
+ "array.prototype.findlast": "^1.2.5",
+ "array.prototype.flatmap": "^1.3.3",
+ "array.prototype.tosorted": "^1.1.4",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.2.1",
+ "estraverse": "^5.3.0",
+ "hasown": "^2.0.2",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.9",
+ "object.fromentries": "^2.0.8",
+ "object.values": "^1.2.1",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.5",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.12",
+ "string.prototype.repeat": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz",
+ "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.24.4",
+ "@babel/parser": "^7.24.4",
+ "hermes-parser": "^0.25.1",
+ "zod": "^3.25.0 || ^4.0.0",
+ "zod-validation-error": "^3.5.0 || ^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks/node_modules/hermes-estree": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",
+ "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/eslint-plugin-react-hooks/node_modules/hermes-parser": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",
+ "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.25.1"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/brace-expansion": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/resolve": {
+ "version": "2.0.0-next.7",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.7.tgz",
+ "integrity": "sha512-tqt+NBWwyaMgw3zDsnygx4CByWjQEJHOPMdslYhppaQSJUtL/D4JO9CcBBlhPoI8lz9oJIDXkwXfhF4aWqP8xQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.2",
+ "node-exports-info": "^1.6.0",
+ "object-keys": "^1.1.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint/node_modules/brace-expansion": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/eslint/node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint/node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/eslint/node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "license": "BSD-2-Clause",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
+ "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/exit": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
+ "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/expect": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",
+ "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/expect-utils": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "jest-matcher-utils": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-util": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/expo": {
+ "version": "54.0.35",
+ "resolved": "https://registry.npmjs.org/expo/-/expo-54.0.35.tgz",
+ "integrity": "sha512-E+tXpQwjGm5fK/uwa55p0Xx/kuo5dXDKfVJ95IargTNa5KiFt26lSTXXa9KnHbI4EDLwFD38/xTKZvzPTlGTdg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.20.0",
+ "@expo/cli": "54.0.25",
+ "@expo/config": "~12.0.13",
+ "@expo/config-plugins": "~54.0.4",
+ "@expo/devtools": "0.1.8",
+ "@expo/fingerprint": "0.15.5",
+ "@expo/metro": "~54.2.0",
+ "@expo/metro-config": "54.0.16",
+ "@expo/vector-icons": "^15.0.3",
+ "@ungap/structured-clone": "^1.3.0",
+ "babel-preset-expo": "~54.0.11",
+ "expo-asset": "~12.0.13",
+ "expo-constants": "~18.0.13",
+ "expo-file-system": "~19.0.23",
+ "expo-font": "~14.0.12",
+ "expo-keep-awake": "~15.0.8",
+ "expo-modules-autolinking": "3.0.26",
+ "expo-modules-core": "3.0.30",
+ "pretty-format": "^29.7.0",
+ "react-refresh": "^0.14.2",
+ "whatwg-url-without-unicode": "8.0.0-3"
+ },
+ "bin": {
+ "expo": "bin/cli",
+ "expo-modules-autolinking": "bin/autolinking",
+ "fingerprint": "bin/fingerprint"
+ },
+ "peerDependencies": {
+ "@expo/dom-webview": "*",
+ "@expo/metro-runtime": "*",
+ "react": "*",
+ "react-native": "*",
+ "react-native-webview": "*"
+ },
+ "peerDependenciesMeta": {
+ "@expo/dom-webview": {
+ "optional": true
+ },
+ "@expo/metro-runtime": {
+ "optional": true
+ },
+ "react-native-webview": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/expo-asset": {
+ "version": "12.0.13",
+ "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-12.0.13.tgz",
+ "integrity": "sha512-x/p7WvQUnkn6K43b9eL6SPeq5Vnf1E8BDe9bDrWrvMqzyUvJnUFvl+ctg3034s/+UHe7Ne2pAmc0+yzbl8CrDQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/image-utils": "^0.8.8",
+ "expo-constants": "~18.0.13"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-camera": {
+ "version": "17.0.10",
+ "resolved": "https://registry.npmjs.org/expo-camera/-/expo-camera-17.0.10.tgz",
+ "integrity": "sha512-w1RBw83mAGVk4BPPwNrCZyFop0VLiVSRE3c2V9onWbdFwonpRhzmB4drygG8YOUTl1H3wQvALJHyMPTbgsK1Jg==",
+ "license": "MIT",
+ "dependencies": {
+ "invariant": "^2.2.4"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*",
+ "react-native": "*",
+ "react-native-web": "*"
+ },
+ "peerDependenciesMeta": {
+ "react-native-web": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/expo-constants": {
+ "version": "18.0.13",
+ "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.13.tgz",
+ "integrity": "sha512-FnZn12E1dRYKDHlAdIyNFhBurKTS3F9CrfrBDJI5m3D7U17KBHMQ6JEfYlSj7LG7t+Ulr+IKaj58L1k5gBwTcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/config": "~12.0.13",
+ "@expo/env": "~2.0.8"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-file-system": {
+ "version": "19.0.23",
+ "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-19.0.23.tgz",
+ "integrity": "sha512-MeGkid9OeNILfT/qonaXHp4f2c15xaB28U/bcN7pqZej0Kx0+6+V7e9ZIXpPHm07zVatxA+QkMTPQEGfmvVOxA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-font": {
+ "version": "14.0.12",
+ "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-14.0.12.tgz",
+ "integrity": "sha512-QQzunE2Mxk45AsCWm3tK7OpVljbtVnKD58q4/qliev+cbye1IOduUnRIdD+P7DyButw17G9MTX795kgaQiz5hQ==",
+ "license": "MIT",
+ "dependencies": {
+ "fontfaceobserver": "^2.1.0"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-haptics": {
+ "version": "15.0.8",
+ "resolved": "https://registry.npmjs.org/expo-haptics/-/expo-haptics-15.0.8.tgz",
+ "integrity": "sha512-lftutojy8Qs8zaDzzjwM3gKHFZ8bOOEZDCkmh2Ddpe95Ra6kt2izeOfOfKuP/QEh0MZ1j9TfqippyHdRd1ZM9g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo": "*"
+ }
+ },
+ "node_modules/expo-keep-awake": {
+ "version": "15.0.8",
+ "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-15.0.8.tgz",
+ "integrity": "sha512-YK9M1VrnoH1vLJiQzChZgzDvVimVoriibiDIFLbQMpjYBnvyfUeHJcin/Gx1a+XgupNXy92EQJLgI/9ZuXajYQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*"
+ }
+ },
+ "node_modules/expo-linear-gradient": {
+ "version": "15.0.8",
+ "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-15.0.8.tgz",
+ "integrity": "sha512-V2d8Wjn0VzhPHO+rrSBtcl+Fo+jUUccdlmQ6OoL9/XQB7Qk3d9lYrqKDJyccwDxmQT10JdST3Tmf2K52NLc3kw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo": "*",
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-linking": {
+ "version": "8.0.12",
+ "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-8.0.12.tgz",
+ "integrity": "sha512-FpXeIpFgZuxihwT9lBo86YD3y6LphBuAhN680MMxm/Y7fmsc57vimn2d3vFu68VI0+Z9w457t494mu2wvlgWTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "expo-constants": "~18.0.13",
+ "invariant": "^2.2.4"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-modules-autolinking": {
+ "version": "3.0.26",
+ "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-3.0.26.tgz",
+ "integrity": "sha512-WOaud6UKg16ciCOj8raKcMOoKFMHLXKI29U29yhgu1lf+Y7VxJyCktUcYo6AM+ccZ7zLD1uWZdMtgnpf+95OXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/spawn-async": "^1.7.2",
+ "chalk": "^4.1.0",
+ "commander": "^7.2.0",
+ "require-from-string": "^2.0.2",
+ "resolve-from": "^5.0.0"
+ },
+ "bin": {
+ "expo-modules-autolinking": "bin/expo-modules-autolinking.js"
+ }
+ },
+ "node_modules/expo-modules-core": {
+ "version": "3.0.30",
+ "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-3.0.30.tgz",
+ "integrity": "sha512-a6IrpAn/Jbmwxi9L+hMmXKpNqnkUpoF7WHOpn02rVLyax2J0gB1vvCVE5rNydplEnt41Q6WxQwvcOjZaIkcSUg==",
+ "license": "MIT",
+ "dependencies": {
+ "invariant": "^2.2.4"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/expo-router": {
+ "version": "6.0.24",
+ "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-6.0.24.tgz",
+ "integrity": "sha512-KIssKXnwjrdCxPWC8GsMTfKTwng40VrCsO16O9x6fKlfUwBW8itxY9PpCGyQeMJkiEADa+DUhtrDgl+uHg4/DA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/metro-runtime": "^6.1.2",
+ "@expo/schema-utils": "^0.1.8",
+ "@radix-ui/react-slot": "1.2.0",
+ "@radix-ui/react-tabs": "^1.1.12",
+ "@react-navigation/bottom-tabs": "^7.4.0",
+ "@react-navigation/native": "^7.1.8",
+ "@react-navigation/native-stack": "^7.3.16",
+ "client-only": "^0.0.1",
+ "debug": "^4.3.4",
+ "escape-string-regexp": "^4.0.0",
+ "expo-server": "^1.0.7",
+ "fast-deep-equal": "^3.1.3",
+ "invariant": "^2.2.4",
+ "nanoid": "^3.3.8",
+ "query-string": "^7.1.3",
+ "react-fast-compare": "^3.2.2",
+ "react-native-is-edge-to-edge": "^1.1.6",
+ "semver": "~7.6.3",
+ "server-only": "^0.0.1",
+ "sf-symbols-typescript": "^2.1.0",
+ "shallowequal": "^1.1.0",
+ "use-latest-callback": "^0.2.1",
+ "vaul": "^1.1.2"
+ },
+ "peerDependencies": {
+ "@expo/metro-runtime": "^6.1.2",
+ "@react-navigation/drawer": "^7.5.0",
+ "@testing-library/react-native": ">= 12.0.0",
+ "expo": "*",
+ "expo-constants": "^18.0.13",
+ "expo-linking": "^8.0.12",
+ "react": "*",
+ "react-dom": "*",
+ "react-native": "*",
+ "react-native-gesture-handler": "*",
+ "react-native-reanimated": "*",
+ "react-native-safe-area-context": ">= 5.4.0",
+ "react-native-screens": "*",
+ "react-native-web": "*",
+ "react-server-dom-webpack": "~19.0.4 || ~19.1.5 || ~19.2.4"
+ },
+ "peerDependenciesMeta": {
+ "@react-navigation/drawer": {
+ "optional": true
+ },
+ "@testing-library/react-native": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ },
+ "react-native-gesture-handler": {
+ "optional": true
+ },
+ "react-native-reanimated": {
+ "optional": true
+ },
+ "react-native-web": {
+ "optional": true
+ },
+ "react-server-dom-webpack": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/expo-router/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/expo-secure-store": {
+ "version": "15.0.8",
+ "resolved": "https://registry.npmjs.org/expo-secure-store/-/expo-secure-store-15.0.8.tgz",
+ "integrity": "sha512-lHnzvRajBu4u+P99+0GEMijQMFCOYpWRO4dWsXSuMt77+THPIGjzNvVKrGSl6mMrLsfVaKL8BpwYZLGlgA+zAw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "expo": "*"
+ }
+ },
+ "node_modules/expo-server": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-1.0.7.tgz",
+ "integrity": "sha512-mcmyML3oXcqFUXUxtdtCL1O00ztNI2v76d+MdniXRUgHNxIcHZ05zo+DqBaOOT6LQnPk4vA4YHqQl7iGUfRb3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.16.0"
+ }
+ },
+ "node_modules/expo-splash-screen": {
+ "version": "31.0.13",
+ "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-31.0.13.tgz",
+ "integrity": "sha512-1epJLC1cDlwwj089R2h8cxaU5uk4ONVAC+vzGiTZH4YARQhL4Stlz1MbR6yAS173GMosvkE6CAeihR7oIbCkDA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/prebuild-config": "^54.0.8"
+ },
+ "peerDependencies": {
+ "expo": "*"
+ }
+ },
+ "node_modules/expo-status-bar": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-3.0.9.tgz",
+ "integrity": "sha512-xyYyVg6V1/SSOZWh4Ni3U129XHCnFHBTcUo0dhWtFDrZbNp/duw5AGsQfb2sVeU0gxWHXSY1+5F0jnKYC7WuOw==",
+ "license": "MIT",
+ "dependencies": {
+ "react-native-is-edge-to-edge": "^1.2.1"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/exponential-backoff": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz",
+ "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fastq": {
+ "version": "1.20.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
+ "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fb-watchman": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
+ "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "bser": "2.1.1"
+ }
+ },
+ "node_modules/fbjs": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.5.tgz",
+ "integrity": "sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-fetch": "^3.1.5",
+ "fbjs-css-vars": "^1.0.0",
+ "loose-envify": "^1.0.0",
+ "object-assign": "^4.1.0",
+ "promise": "^7.1.1",
+ "setimmediate": "^1.0.5",
+ "ua-parser-js": "^1.0.35"
+ }
+ },
+ "node_modules/fbjs-css-vars": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz",
+ "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==",
+ "license": "MIT"
+ },
+ "node_modules/fbjs/node_modules/promise": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
+ "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
+ "license": "MIT",
+ "dependencies": {
+ "asap": "~2.0.3"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/filter-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
+ "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/finalhandler": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/finalhandler/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/finalhandler/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
+ "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/flow-enums-runtime": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz",
+ "integrity": "sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==",
+ "license": "MIT"
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",
+ "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fontfaceobserver": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/fontfaceobserver/-/fontfaceobserver-2.3.0.tgz",
+ "integrity": "sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/for-each": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",
+ "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-callable": "^1.2.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/form-data": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz",
+ "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==",
+ "license": "MIT",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "es-set-tostringtag": "^2.1.0",
+ "hasown": "^2.0.4",
+ "mime-types": "^2.1.35"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/freeport-async": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/freeport-async/-/freeport-async-2.0.0.tgz",
+ "integrity": "sha512-K7od3Uw45AJg00XUmy15+Hae2hOcgKcmN3/EF6Y7i01O0gaqiRx8sUSpsb9+BRNL8RPBrhzPsVfy8q9ADlJuWQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "license": "ISC"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz",
+ "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.2",
+ "hasown": "^2.0.4",
+ "is-callable": "^1.2.7",
+ "is-document.all": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/generator-function": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz",
+ "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/get-package-type": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
+ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/get-symbol-description": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",
+ "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-tsconfig": {
+ "version": "4.14.0",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.0.tgz",
+ "integrity": "sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "resolve-pkg-maps": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
+ }
+ },
+ "node_modules/getenv": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/getenv/-/getenv-2.0.0.tgz",
+ "integrity": "sha512-VilgtJj/ALgGY77fiLam5iD336eSWi96Q15JSAG1zi8NRBysm3LXKdGnHb4m5cuyxvOLQQKWpBZAT6ni4FI2iQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/glob": {
+ "version": "13.0.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz",
+ "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "minimatch": "^10.2.2",
+ "minipass": "^7.1.3",
+ "path-scurry": "^2.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/glob/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/glob/node_modules/brace-expansion": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
+ "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "10.2.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.5"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
+ "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-properties": "^1.2.1",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/got": {
+ "version": "11.8.6",
+ "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz",
+ "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==",
+ "license": "MIT",
+ "dependencies": {
+ "@sindresorhus/is": "^4.0.0",
+ "@szmarczak/http-timer": "^4.0.5",
+ "@types/cacheable-request": "^6.0.1",
+ "@types/responselike": "^1.0.0",
+ "cacheable-lookup": "^5.0.3",
+ "cacheable-request": "^7.0.2",
+ "decompress-response": "^6.0.0",
+ "http2-wrapper": "^1.0.0-beta.5.2",
+ "lowercase-keys": "^2.0.0",
+ "p-cancelable": "^2.0.0",
+ "responselike": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10.19.0"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/got?sponsor=1"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "license": "ISC"
+ },
+ "node_modules/handlebars": {
+ "version": "4.7.9",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz",
+ "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.5",
+ "neo-async": "^2.6.2",
+ "source-map": "^0.6.1",
+ "wordwrap": "^1.0.0"
+ },
+ "bin": {
+ "handlebars": "bin/handlebars"
+ },
+ "engines": {
+ "node": ">=0.4.7"
+ },
+ "optionalDependencies": {
+ "uglify-js": "^3.1.4"
+ }
+ },
+ "node_modules/has-bigints": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",
+ "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz",
+ "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
+ "license": "MIT",
+ "dependencies": {
+ "has-symbols": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hermes-estree": {
+ "version": "0.29.1",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz",
+ "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==",
+ "license": "MIT"
+ },
+ "node_modules/hermes-parser": {
+ "version": "0.29.1",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz",
+ "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==",
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.29.1"
+ }
+ },
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "react-is": "^16.7.0"
+ }
+ },
+ "node_modules/hoist-non-react-statics/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "license": "MIT"
+ },
+ "node_modules/hosted-git-info": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz",
+ "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==",
+ "license": "ISC",
+ "dependencies": {
+ "lru-cache": "^10.0.1"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/hosted-git-info/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "license": "ISC"
+ },
+ "node_modules/html-encoding-sniffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz",
+ "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==",
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-encoding": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/html-escaper": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
+ "license": "MIT"
+ },
+ "node_modules/http-cache-semantics": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",
+ "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "depd": "~2.0.0",
+ "inherits": "~2.0.4",
+ "setprototypeof": "~1.2.0",
+ "statuses": "~2.0.2",
+ "toidentifier": "~1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/http-errors/node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/http-proxy-agent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
+ "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
+ "license": "MIT",
+ "dependencies": {
+ "@tootallnate/once": "2",
+ "agent-base": "6",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/http2-wrapper": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",
+ "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",
+ "license": "MIT",
+ "dependencies": {
+ "quick-lru": "^5.1.1",
+ "resolve-alpn": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=10.19.0"
+ }
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "6",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/hyphenate-style-name": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz",
+ "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/image-size": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.1.tgz",
+ "integrity": "sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==",
+ "license": "MIT",
+ "dependencies": {
+ "queue": "6.0.2"
+ },
+ "bin": {
+ "image-size": "bin/image-size.js"
+ },
+ "engines": {
+ "node": ">=16.x"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/import-fresh/node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/import-local": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
+ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
+ "license": "MIT",
+ "dependencies": {
+ "pkg-dir": "^4.2.0",
+ "resolve-cwd": "^3.0.0"
+ },
+ "bin": {
+ "import-local-fixture": "fixtures/cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
+ "license": "ISC",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "license": "ISC"
+ },
+ "node_modules/inline-style-prefixer": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz",
+ "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==",
+ "license": "MIT",
+ "dependencies": {
+ "css-in-js-utils": "^3.1.0"
+ }
+ },
+ "node_modules/internal-slot": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
+ "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "hasown": "^2.0.2",
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/invariant": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "node_modules/is-array-buffer": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz",
+ "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "license": "MIT"
+ },
+ "node_modules/is-async-function": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz",
+ "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "async-function": "^1.0.0",
+ "call-bound": "^1.0.3",
+ "get-proto": "^1.0.1",
+ "has-tostringtag": "^1.0.2",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bigint": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz",
+ "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-bigints": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "license": "MIT",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-boolean-object": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",
+ "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bun-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz",
+ "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.7.1"
+ }
+ },
+ "node_modules/is-bun-module/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.2",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",
+ "integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==",
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-data-view": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz",
+ "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "get-intrinsic": "^1.2.6",
+ "is-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",
+ "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-document.all": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz",
+ "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-finalizationregistry": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz",
+ "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-generator-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
+ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/is-generator-function": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz",
+ "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.4",
+ "generator-function": "^2.0.0",
+ "get-proto": "^1.0.1",
+ "has-tostringtag": "^1.0.2",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-map": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
+ "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-number-object": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz",
+ "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
+ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-potential-custom-element-name": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "license": "MIT"
+ },
+ "node_modules/is-regex": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",
+ "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "gopd": "^1.2.0",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-set": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
+ "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz",
+ "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-string": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz",
+ "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz",
+ "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "has-symbols": "^1.1.0",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typed-array": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",
+ "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "which-typed-array": "^1.1.16"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakmap": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
+ "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakref": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz",
+ "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakset": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz",
+ "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "get-intrinsic": "^1.2.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "license": "ISC"
+ },
+ "node_modules/istanbul-lib-coverage": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/istanbul-lib-instrument": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz",
+ "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/core": "^7.23.9",
+ "@babel/parser": "^7.23.9",
+ "@istanbuljs/schema": "^0.1.3",
+ "istanbul-lib-coverage": "^3.2.0",
+ "semver": "^7.5.4"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-lib-instrument/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-lib-report": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "istanbul-lib-coverage": "^3.0.0",
+ "make-dir": "^4.0.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-lib-source-maps": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
+ "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "istanbul-lib-coverage": "^3.0.0",
+ "source-map": "^0.6.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-reports": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",
+ "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "html-escaper": "^2.0.0",
+ "istanbul-lib-report": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/iterator.prototype": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz",
+ "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.6",
+ "get-proto": "^1.0.0",
+ "has-symbols": "^1.1.0",
+ "set-function-name": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/jest": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
+ "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/core": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "import-local": "^3.0.2",
+ "jest-cli": "^29.7.0"
+ },
+ "bin": {
+ "jest": "bin/jest.js"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-changed-files": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz",
+ "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==",
+ "license": "MIT",
+ "dependencies": {
+ "execa": "^5.0.0",
+ "jest-util": "^29.7.0",
+ "p-limit": "^3.1.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-circus": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz",
+ "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "^29.7.0",
+ "@jest/expect": "^29.7.0",
+ "@jest/test-result": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "co": "^4.6.0",
+ "dedent": "^1.0.0",
+ "is-generator-fn": "^2.0.0",
+ "jest-each": "^29.7.0",
+ "jest-matcher-utils": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-runtime": "^29.7.0",
+ "jest-snapshot": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "p-limit": "^3.1.0",
+ "pretty-format": "^29.7.0",
+ "pure-rand": "^6.0.0",
+ "slash": "^3.0.0",
+ "stack-utils": "^2.0.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-cli": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz",
+ "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/core": "^29.7.0",
+ "@jest/test-result": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "chalk": "^4.0.0",
+ "create-jest": "^29.7.0",
+ "exit": "^0.1.2",
+ "import-local": "^3.0.2",
+ "jest-config": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jest-validate": "^29.7.0",
+ "yargs": "^17.3.1"
+ },
+ "bin": {
+ "jest": "bin/jest.js"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-config": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz",
+ "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.11.6",
+ "@jest/test-sequencer": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "babel-jest": "^29.7.0",
+ "chalk": "^4.0.0",
+ "ci-info": "^3.2.0",
+ "deepmerge": "^4.2.2",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.2.9",
+ "jest-circus": "^29.7.0",
+ "jest-environment-node": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "jest-regex-util": "^29.6.3",
+ "jest-resolve": "^29.7.0",
+ "jest-runner": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jest-validate": "^29.7.0",
+ "micromatch": "^4.0.4",
+ "parse-json": "^5.2.0",
+ "pretty-format": "^29.7.0",
+ "slash": "^3.0.0",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "@types/node": "*",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "ts-node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-config/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/jest-config/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/jest-config/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/jest-diff": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",
+ "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "diff-sequences": "^29.6.3",
+ "jest-get-type": "^29.6.3",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-docblock": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz",
+ "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==",
+ "license": "MIT",
+ "dependencies": {
+ "detect-newline": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-each": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz",
+ "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "chalk": "^4.0.0",
+ "jest-get-type": "^29.6.3",
+ "jest-util": "^29.7.0",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-environment-jsdom": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz",
+ "integrity": "sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "^29.7.0",
+ "@jest/fake-timers": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/jsdom": "^20.0.0",
+ "@types/node": "*",
+ "jest-mock": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jsdom": "^20.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "canvas": "^2.5.0"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-environment-node": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz",
+ "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "^29.7.0",
+ "@jest/fake-timers": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "jest-mock": "^29.7.0",
+ "jest-util": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-expo": {
+ "version": "54.0.17",
+ "resolved": "https://registry.npmjs.org/jest-expo/-/jest-expo-54.0.17.tgz",
+ "integrity": "sha512-LyIhrsP4xvHEEcR1R024u/LBj3uPpAgB+UljgV+YXWkEHjprnr0KpE4tROsMNYCVTM1pPlAnPuoBmn5gnAN9KA==",
+ "license": "MIT",
+ "dependencies": {
+ "@expo/config": "~12.0.13",
+ "@expo/json-file": "^10.0.8",
+ "@jest/create-cache-key-function": "^29.2.1",
+ "@jest/globals": "^29.2.1",
+ "babel-jest": "^29.2.1",
+ "jest-environment-jsdom": "^29.2.1",
+ "jest-snapshot": "^29.2.1",
+ "jest-watch-select-projects": "^2.0.0",
+ "jest-watch-typeahead": "2.2.1",
+ "json5": "^2.2.3",
+ "lodash": "^4.17.19",
+ "react-test-renderer": "19.1.0",
+ "server-only": "^0.0.1",
+ "stacktrace-js": "^2.0.2"
+ },
+ "bin": {
+ "jest": "bin/jest.js"
+ },
+ "peerDependencies": {
+ "expo": "*",
+ "react-native": "*",
+ "react-server-dom-webpack": "~19.0.4 || ~19.1.5 || ~19.2.4"
+ },
+ "peerDependenciesMeta": {
+ "react-server-dom-webpack": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-get-type": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz",
+ "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-haste-map": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz",
+ "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@types/graceful-fs": "^4.1.3",
+ "@types/node": "*",
+ "anymatch": "^3.0.3",
+ "fb-watchman": "^2.0.0",
+ "graceful-fs": "^4.2.9",
+ "jest-regex-util": "^29.6.3",
+ "jest-util": "^29.7.0",
+ "jest-worker": "^29.7.0",
+ "micromatch": "^4.0.4",
+ "walker": "^1.0.8"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "^2.3.2"
+ }
+ },
+ "node_modules/jest-leak-detector": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz",
+ "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==",
+ "license": "MIT",
+ "dependencies": {
+ "jest-get-type": "^29.6.3",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-matcher-utils": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz",
+ "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "jest-diff": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-message-util": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz",
+ "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@jest/types": "^29.6.3",
+ "@types/stack-utils": "^2.0.0",
+ "chalk": "^4.0.0",
+ "graceful-fs": "^4.2.9",
+ "micromatch": "^4.0.4",
+ "pretty-format": "^29.7.0",
+ "slash": "^3.0.0",
+ "stack-utils": "^2.0.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-mock": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz",
+ "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "jest-util": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-pnp-resolver": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
+ "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "jest-resolve": "*"
+ },
+ "peerDependenciesMeta": {
+ "jest-resolve": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jest-regex-util": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz",
+ "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-resolve": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz",
+ "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "graceful-fs": "^4.2.9",
+ "jest-haste-map": "^29.7.0",
+ "jest-pnp-resolver": "^1.2.2",
+ "jest-util": "^29.7.0",
+ "jest-validate": "^29.7.0",
+ "resolve": "^1.20.0",
+ "resolve.exports": "^2.0.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-resolve-dependencies": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz",
+ "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==",
+ "license": "MIT",
+ "dependencies": {
+ "jest-regex-util": "^29.6.3",
+ "jest-snapshot": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-runner": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz",
+ "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/console": "^29.7.0",
+ "@jest/environment": "^29.7.0",
+ "@jest/test-result": "^29.7.0",
+ "@jest/transform": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "emittery": "^0.13.1",
+ "graceful-fs": "^4.2.9",
+ "jest-docblock": "^29.7.0",
+ "jest-environment-node": "^29.7.0",
+ "jest-haste-map": "^29.7.0",
+ "jest-leak-detector": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-resolve": "^29.7.0",
+ "jest-runtime": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "jest-watcher": "^29.7.0",
+ "jest-worker": "^29.7.0",
+ "p-limit": "^3.1.0",
+ "source-map-support": "0.5.13"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-runner/node_modules/source-map-support": {
+ "version": "0.5.13",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",
+ "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/jest-runtime": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz",
+ "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "^29.7.0",
+ "@jest/fake-timers": "^29.7.0",
+ "@jest/globals": "^29.7.0",
+ "@jest/source-map": "^29.6.3",
+ "@jest/test-result": "^29.7.0",
+ "@jest/transform": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "cjs-module-lexer": "^1.0.0",
+ "collect-v8-coverage": "^1.0.0",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.2.9",
+ "jest-haste-map": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-mock": "^29.7.0",
+ "jest-regex-util": "^29.6.3",
+ "jest-resolve": "^29.7.0",
+ "jest-snapshot": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "slash": "^3.0.0",
+ "strip-bom": "^4.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/jest-snapshot": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz",
+ "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.11.6",
+ "@babel/generator": "^7.7.2",
+ "@babel/plugin-syntax-jsx": "^7.7.2",
+ "@babel/plugin-syntax-typescript": "^7.7.2",
+ "@babel/types": "^7.3.3",
+ "@jest/expect-utils": "^29.7.0",
+ "@jest/transform": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "babel-preset-current-node-syntax": "^1.0.0",
+ "chalk": "^4.0.0",
+ "expect": "^29.7.0",
+ "graceful-fs": "^4.2.9",
+ "jest-diff": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "jest-matcher-utils": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-util": "^29.7.0",
+ "natural-compare": "^1.4.0",
+ "pretty-format": "^29.7.0",
+ "semver": "^7.5.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-snapshot/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/jest-util": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz",
+ "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "ci-info": "^3.2.0",
+ "graceful-fs": "^4.2.9",
+ "picomatch": "^2.2.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-util/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/jest-validate": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz",
+ "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "camelcase": "^6.2.0",
+ "chalk": "^4.0.0",
+ "jest-get-type": "^29.6.3",
+ "leven": "^3.1.0",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-validate/node_modules/camelcase": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-watch-select-projects": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/jest-watch-select-projects/-/jest-watch-select-projects-2.0.0.tgz",
+ "integrity": "sha512-j00nW4dXc2NiCW6znXgFLF9g8PJ0zP25cpQ1xRro/HU2GBfZQFZD0SoXnAlaoKkIY4MlfTMkKGbNXFpvCdjl1w==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-escapes": "^4.3.0",
+ "chalk": "^3.0.0",
+ "prompts": "^2.2.1"
+ }
+ },
+ "node_modules/jest-watch-select-projects/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/jest-watch-typeahead": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/jest-watch-typeahead/-/jest-watch-typeahead-2.2.1.tgz",
+ "integrity": "sha512-jYpYmUnTzysmVnwq49TAxlmtOAwp8QIqvZyoofQFn8fiWhEDZj33ZXzg3JA4nGnzWFm1hbWf3ADpteUokvXgFA==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-escapes": "^6.0.0",
+ "chalk": "^4.0.0",
+ "jest-regex-util": "^29.0.0",
+ "jest-watcher": "^29.0.0",
+ "slash": "^5.0.0",
+ "string-length": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.10.0 || >=18.0.0"
+ },
+ "peerDependencies": {
+ "jest": "^27.0.0 || ^28.0.0 || ^29.0.0"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/ansi-escapes": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz",
+ "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/char-regex": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.2.tgz",
+ "integrity": "sha512-cbGOjAptfM2LVmWhwRFHEKTPkLwNddVmuqYZQt895yXwAsWsXObCG+YN4DGQ/JBtT4GP1a1lPPdio2z413LmTg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.20"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/slash": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz",
+ "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/string-length": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz",
+ "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==",
+ "license": "MIT",
+ "dependencies": {
+ "char-regex": "^2.0.0",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12.20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-watch-typeahead/node_modules/strip-ansi": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.2.2"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/jest-watcher": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz",
+ "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/test-result": "^29.7.0",
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "ansi-escapes": "^4.2.1",
+ "chalk": "^4.0.0",
+ "emittery": "^0.13.1",
+ "jest-util": "^29.7.0",
+ "string-length": "^4.0.1"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-worker": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz",
+ "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "jest-util": "^29.7.0",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^8.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-worker/node_modules/supports-color": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/jimp-compact": {
+ "version": "0.16.1",
+ "resolved": "https://registry.npmjs.org/jimp-compact/-/jimp-compact-0.16.1.tgz",
+ "integrity": "sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==",
+ "license": "MIT"
+ },
+ "node_modules/jiti": {
+ "version": "1.21.7",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
+ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
+ "license": "MIT",
+ "bin": {
+ "jiti": "bin/jiti.js"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz",
+ "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsc-safe-url": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/jsc-safe-url/-/jsc-safe-url-0.2.4.tgz",
+ "integrity": "sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q==",
+ "license": "0BSD"
+ },
+ "node_modules/jsdom": {
+ "version": "20.0.3",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz",
+ "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==",
+ "license": "MIT",
+ "dependencies": {
+ "abab": "^2.0.6",
+ "acorn": "^8.8.1",
+ "acorn-globals": "^7.0.0",
+ "cssom": "^0.5.0",
+ "cssstyle": "^2.3.0",
+ "data-urls": "^3.0.2",
+ "decimal.js": "^10.4.2",
+ "domexception": "^4.0.0",
+ "escodegen": "^2.0.0",
+ "form-data": "^4.0.0",
+ "html-encoding-sniffer": "^3.0.0",
+ "http-proxy-agent": "^5.0.0",
+ "https-proxy-agent": "^5.0.1",
+ "is-potential-custom-element-name": "^1.0.1",
+ "nwsapi": "^2.2.2",
+ "parse5": "^7.1.1",
+ "saxes": "^6.0.0",
+ "symbol-tree": "^3.2.4",
+ "tough-cookie": "^4.1.2",
+ "w3c-xmlserializer": "^4.0.0",
+ "webidl-conversions": "^7.0.0",
+ "whatwg-encoding": "^2.0.0",
+ "whatwg-mimetype": "^3.0.0",
+ "whatwg-url": "^11.0.0",
+ "ws": "^8.11.0",
+ "xml-name-validator": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "canvas": "^2.5.0"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jsdom/node_modules/tr46": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz",
+ "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==",
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/jsdom/node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/jsdom/node_modules/whatwg-url": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz",
+ "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "^3.0.0",
+ "webidl-conversions": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "license": "MIT"
+ },
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jsx-ast-utils": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",
+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array-includes": "^3.1.6",
+ "array.prototype.flat": "^1.3.1",
+ "object.assign": "^4.1.4",
+ "object.values": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/lan-network": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/lan-network/-/lan-network-0.2.1.tgz",
+ "integrity": "sha512-ONPnazC96VKDntab9j9JKwIWhZ4ZUceB4A9Epu4Ssg0hYFmtHZSeQ+n15nIwTFmcBUKtExOer8WTJ4GF9MO64A==",
+ "license": "MIT",
+ "bin": {
+ "lan-network": "dist/lan-network-cli.js"
+ }
+ },
+ "node_modules/leven": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
+ "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lighthouse-logger": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.4.2.tgz",
+ "integrity": "sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "debug": "^2.6.9",
+ "marky": "^1.2.2"
+ }
+ },
+ "node_modules/lighthouse-logger/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/lighthouse-logger/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/lightningcss": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.32.0",
+ "lightningcss-darwin-arm64": "1.32.0",
+ "lightningcss-darwin-x64": "1.32.0",
+ "lightningcss-freebsd-x64": "1.32.0",
+ "lightningcss-linux-arm-gnueabihf": "1.32.0",
+ "lightningcss-linux-arm64-gnu": "1.32.0",
+ "lightningcss-linux-arm64-musl": "1.32.0",
+ "lightningcss-linux-x64-gnu": "1.32.0",
+ "lightningcss-linux-x64-musl": "1.32.0",
+ "lightningcss-win32-arm64-msvc": "1.32.0",
+ "lightningcss-win32-x64-msvc": "1.32.0"
+ }
+ },
+ "node_modules/lightningcss-android-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-freebsd-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "license": "MIT"
+ },
+ "node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.18.1",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
+ "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
+ "license": "MIT"
+ },
+ "node_modules/lodash.debounce": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
+ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
+ "license": "MIT"
+ },
+ "node_modules/lodash.memoize": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
+ "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.throttle": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
+ "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==",
+ "license": "MIT"
+ },
+ "node_modules/log-symbols": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
+ "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/log-symbols/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/log-symbols/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/log-symbols/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/log-symbols/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "license": "MIT"
+ },
+ "node_modules/log-symbols/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/log-symbols/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/log-symbols/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lucide-react-native": {
+ "version": "0.460.0",
+ "resolved": "https://registry.npmjs.org/lucide-react-native/-/lucide-react-native-0.460.0.tgz",
+ "integrity": "sha512-Z43BbteT398BMNcqkZWGc+lKUgERPo5oVV+2NYlGUF+vP2xtckO4tJKcuF+jR+wrLyxrAFfTHetfz80aNryWMw==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0",
+ "react-native": "*",
+ "react-native-svg": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0"
+ }
+ },
+ "node_modules/make-dir": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.5.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/make-dir/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/make-error": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/makeerror": {
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
+ "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tmpl": "1.0.5"
+ }
+ },
+ "node_modules/marky": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/marky/-/marky-1.3.0.tgz",
+ "integrity": "sha512-ocnPZQLNpvbedwTy9kNrQEsknEfgvcLMvOtz3sFeWApDq1MXH1TqkCIx58xlpESsfwQOnuBO9beyQuNGzVvuhQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/mdn-data": {
+ "version": "2.0.14",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
+ "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==",
+ "license": "CC0-1.0"
+ },
+ "node_modules/memoize-one": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz",
+ "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==",
+ "license": "MIT"
+ },
+ "node_modules/merge-options": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz",
+ "integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "is-plain-obj": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "license": "MIT"
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/metro": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro/-/metro-0.83.3.tgz",
+ "integrity": "sha512-+rP+/GieOzkt97hSJ0MrPOuAH/jpaS21ZDvL9DJ35QYRDlQcwzcvUlGUf79AnQxq/2NPiS/AULhhM4TKutIt8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.24.7",
+ "@babel/core": "^7.25.2",
+ "@babel/generator": "^7.25.0",
+ "@babel/parser": "^7.25.3",
+ "@babel/template": "^7.25.0",
+ "@babel/traverse": "^7.25.3",
+ "@babel/types": "^7.25.2",
+ "accepts": "^1.3.7",
+ "chalk": "^4.0.0",
+ "ci-info": "^2.0.0",
+ "connect": "^3.6.5",
+ "debug": "^4.4.0",
+ "error-stack-parser": "^2.0.6",
+ "flow-enums-runtime": "^0.0.6",
+ "graceful-fs": "^4.2.4",
+ "hermes-parser": "0.32.0",
+ "image-size": "^1.0.2",
+ "invariant": "^2.2.4",
+ "jest-worker": "^29.7.0",
+ "jsc-safe-url": "^0.2.2",
+ "lodash.throttle": "^4.1.1",
+ "metro-babel-transformer": "0.83.3",
+ "metro-cache": "0.83.3",
+ "metro-cache-key": "0.83.3",
+ "metro-config": "0.83.3",
+ "metro-core": "0.83.3",
+ "metro-file-map": "0.83.3",
+ "metro-resolver": "0.83.3",
+ "metro-runtime": "0.83.3",
+ "metro-source-map": "0.83.3",
+ "metro-symbolicate": "0.83.3",
+ "metro-transform-plugins": "0.83.3",
+ "metro-transform-worker": "0.83.3",
+ "mime-types": "^2.1.27",
+ "nullthrows": "^1.1.1",
+ "serialize-error": "^2.1.0",
+ "source-map": "^0.5.6",
+ "throat": "^5.0.0",
+ "ws": "^7.5.10",
+ "yargs": "^17.6.2"
+ },
+ "bin": {
+ "metro": "src/cli.js"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-babel-transformer": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-babel-transformer/-/metro-babel-transformer-0.83.3.tgz",
+ "integrity": "sha512-1vxlvj2yY24ES1O5RsSIvg4a4WeL7PFXgKOHvXTXiW0deLvQr28ExXj6LjwCCDZ4YZLhq6HddLpZnX4dEdSq5g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "flow-enums-runtime": "^0.0.6",
+ "hermes-parser": "0.32.0",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-babel-transformer/node_modules/hermes-estree": {
+ "version": "0.32.0",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz",
+ "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==",
+ "license": "MIT"
+ },
+ "node_modules/metro-babel-transformer/node_modules/hermes-parser": {
+ "version": "0.32.0",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz",
+ "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==",
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.32.0"
+ }
+ },
+ "node_modules/metro-cache": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-cache/-/metro-cache-0.83.3.tgz",
+ "integrity": "sha512-3jo65X515mQJvKqK3vWRblxDEcgY55Sk3w4xa6LlfEXgQ9g1WgMh9m4qVZVwgcHoLy0a2HENTPCCX4Pk6s8c8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "exponential-backoff": "^3.1.1",
+ "flow-enums-runtime": "^0.0.6",
+ "https-proxy-agent": "^7.0.5",
+ "metro-core": "0.83.3"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-cache-key": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-cache-key/-/metro-cache-key-0.83.3.tgz",
+ "integrity": "sha512-59ZO049jKzSmvBmG/B5bZ6/dztP0ilp0o988nc6dpaDsU05Cl1c/lRf+yx8m9WW/JVgbmfO5MziBU559XjI5Zw==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-cache/node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/metro-cache/node_modules/https-proxy-agent": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "^7.1.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/metro-config": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-config/-/metro-config-0.83.3.tgz",
+ "integrity": "sha512-mTel7ipT0yNjKILIan04bkJkuCzUUkm2SeEaTads8VfEecCh+ltXchdq6DovXJqzQAXuR2P9cxZB47Lg4klriA==",
+ "license": "MIT",
+ "dependencies": {
+ "connect": "^3.6.5",
+ "flow-enums-runtime": "^0.0.6",
+ "jest-validate": "^29.7.0",
+ "metro": "0.83.3",
+ "metro-cache": "0.83.3",
+ "metro-core": "0.83.3",
+ "metro-runtime": "0.83.3",
+ "yaml": "^2.6.1"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-core": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-core/-/metro-core-0.83.3.tgz",
+ "integrity": "sha512-M+X59lm7oBmJZamc96usuF1kusd5YimqG/q97g4Ac7slnJ3YiGglW5CsOlicTR5EWf8MQFxxjDoB6ytTqRe8Hw==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6",
+ "lodash.throttle": "^4.1.1",
+ "metro-resolver": "0.83.3"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-file-map": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-file-map/-/metro-file-map-0.83.3.tgz",
+ "integrity": "sha512-jg5AcyE0Q9Xbbu/4NAwwZkmQn7doJCKGW0SLeSJmzNB9Z24jBe0AL2PHNMy4eu0JiKtNWHz9IiONGZWq7hjVTA==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "fb-watchman": "^2.0.0",
+ "flow-enums-runtime": "^0.0.6",
+ "graceful-fs": "^4.2.4",
+ "invariant": "^2.2.4",
+ "jest-worker": "^29.7.0",
+ "micromatch": "^4.0.4",
+ "nullthrows": "^1.1.1",
+ "walker": "^1.0.7"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-minify-terser": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-minify-terser/-/metro-minify-terser-0.83.3.tgz",
+ "integrity": "sha512-O2BmfWj6FSfzBLrNCXt/rr2VYZdX5i6444QJU0fFoc7Ljg+Q+iqebwE3K0eTvkI6TRjELsXk1cjU+fXwAR4OjQ==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6",
+ "terser": "^5.15.0"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-resolver": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.83.3.tgz",
+ "integrity": "sha512-0js+zwI5flFxb1ktmR///bxHYg7OLpRpWZlBBruYG8OKYxeMP7SV0xQ/o/hUelrEMdK4LJzqVtHAhBm25LVfAQ==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-runtime": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.83.3.tgz",
+ "integrity": "sha512-JHCJb9ebr9rfJ+LcssFYA2x1qPYuSD/bbePupIGhpMrsla7RCwC/VL3yJ9cSU+nUhU4c9Ixxy8tBta+JbDeZWw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.25.0",
+ "flow-enums-runtime": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-source-map": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.83.3.tgz",
+ "integrity": "sha512-xkC3qwUBh2psVZgVavo8+r2C9Igkk3DibiOXSAht1aYRRcztEZNFtAMtfSB7sdO2iFMx2Mlyu++cBxz/fhdzQg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.25.3",
+ "@babel/traverse--for-generate-function-map": "npm:@babel/traverse@^7.25.3",
+ "@babel/types": "^7.25.2",
+ "flow-enums-runtime": "^0.0.6",
+ "invariant": "^2.2.4",
+ "metro-symbolicate": "0.83.3",
+ "nullthrows": "^1.1.1",
+ "ob1": "0.83.3",
+ "source-map": "^0.5.6",
+ "vlq": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-source-map/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/metro-symbolicate": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-symbolicate/-/metro-symbolicate-0.83.3.tgz",
+ "integrity": "sha512-F/YChgKd6KbFK3eUR5HdUsfBqVsanf5lNTwFd4Ca7uuxnHgBC3kR/Hba/RGkenR3pZaGNp5Bu9ZqqP52Wyhomw==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6",
+ "invariant": "^2.2.4",
+ "metro-source-map": "0.83.3",
+ "nullthrows": "^1.1.1",
+ "source-map": "^0.5.6",
+ "vlq": "^1.0.0"
+ },
+ "bin": {
+ "metro-symbolicate": "src/index.js"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-symbolicate/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/metro-transform-plugins": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-transform-plugins/-/metro-transform-plugins-0.83.3.tgz",
+ "integrity": "sha512-eRGoKJU6jmqOakBMH5kUB7VitEWiNrDzBHpYbkBXW7C5fUGeOd2CyqrosEzbMK5VMiZYyOcNFEphvxk3OXey2A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/generator": "^7.25.0",
+ "@babel/template": "^7.25.0",
+ "@babel/traverse": "^7.25.3",
+ "flow-enums-runtime": "^0.0.6",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro-transform-worker": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/metro-transform-worker/-/metro-transform-worker-0.83.3.tgz",
+ "integrity": "sha512-Ztekew9t/gOIMZX1tvJOgX7KlSLL5kWykl0Iwu2cL2vKMKVALRl1hysyhUw0vjpAvLFx+Kfq9VLjnHIkW32fPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/generator": "^7.25.0",
+ "@babel/parser": "^7.25.3",
+ "@babel/types": "^7.25.2",
+ "flow-enums-runtime": "^0.0.6",
+ "metro": "0.83.3",
+ "metro-babel-transformer": "0.83.3",
+ "metro-cache": "0.83.3",
+ "metro-cache-key": "0.83.3",
+ "metro-minify-terser": "0.83.3",
+ "metro-source-map": "0.83.3",
+ "metro-transform-plugins": "0.83.3",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/metro/node_modules/ci-info": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",
+ "license": "MIT"
+ },
+ "node_modules/metro/node_modules/hermes-estree": {
+ "version": "0.32.0",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz",
+ "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==",
+ "license": "MIT"
+ },
+ "node_modules/metro/node_modules/hermes-parser": {
+ "version": "0.32.0",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz",
+ "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==",
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.32.0"
+ }
+ },
+ "node_modules/metro/node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/metro/node_modules/ws": {
+ "version": "7.5.11",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.11.tgz",
+ "integrity": "sha512-zS54Oen9bITtp7kp2XM3AydrCIq1D+HwJOuH+c+e4LfpL/lotP5osijd+UoMnxwAam1GN8R4KtLAyIrIcBNpiA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/micromatch/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "license": "MIT",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/mimic-response": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "9.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
+ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/minipass": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
+ "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/minizlib": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz",
+ "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==",
+ "license": "MIT",
+ "dependencies": {
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "license": "MIT",
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.15",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.15.tgz",
+ "integrity": "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/napi-postinstall": {
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz",
+ "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "napi-postinstall": "lib/cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/napi-postinstall"
+ }
+ },
+ "node_modules/nativewind": {
+ "version": "4.2.6",
+ "resolved": "https://registry.npmjs.org/nativewind/-/nativewind-4.2.6.tgz",
+ "integrity": "sha512-kLPRH3Yh/hhIFufXzUZDe39fuK471GwaPBCqYNgcRygILr+obV+wFfDmG+zaJnniVUFFQzYOTCEldem6XktZ+A==",
+ "license": "MIT",
+ "dependencies": {
+ "comment-json": "^4.2.5",
+ "debug": "^4.3.7",
+ "react-native-css-interop": "0.2.6"
+ },
+ "engines": {
+ "node": ">=16"
+ },
+ "peerDependencies": {
+ "tailwindcss": ">3.3.0"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "license": "MIT"
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/neo-async": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/nested-error-stacks": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz",
+ "integrity": "sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A==",
+ "license": "MIT"
+ },
+ "node_modules/node-exports-info": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/node-exports-info/-/node-exports-info-1.6.2.tgz",
+ "integrity": "sha512-kXs9Go0cah0qHVV2v389IXQLdLCeE1xfFtjOAF+iobu0OIoG1pje8At2vMHyaPMiPMnG/LWP50twML21eMcAag==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "array.prototype.flatmap": "^1.3.3",
+ "es-errors": "^1.3.0",
+ "object.entries": "^1.1.9",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/node-fetch": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ },
+ "peerDependencies": {
+ "encoding": "^0.1.0"
+ },
+ "peerDependenciesMeta": {
+ "encoding": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/node-forge": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.0.tgz",
+ "integrity": "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==",
+ "license": "(BSD-3-Clause OR GPL-2.0)",
+ "engines": {
+ "node": ">= 6.13.0"
+ }
+ },
+ "node_modules/node-int64": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
+ "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
+ "license": "MIT"
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.50",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.50.tgz",
+ "integrity": "sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/normalize-url": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",
+ "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/npm-package-arg": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz",
+ "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==",
+ "license": "ISC",
+ "dependencies": {
+ "hosted-git-info": "^7.0.0",
+ "proc-log": "^4.0.0",
+ "semver": "^7.3.5",
+ "validate-npm-package-name": "^5.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-package-arg/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/nth-check": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
+ "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "boolbase": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/nth-check?sponsor=1"
+ }
+ },
+ "node_modules/nullthrows": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
+ "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==",
+ "license": "MIT"
+ },
+ "node_modules/nwsapi": {
+ "version": "2.2.24",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.24.tgz",
+ "integrity": "sha512-7YRhZ3jS45LwmSCT4b2sVFHt/WuovaktDU07QrtOBY2PXskss5a9jfmR9jptyumwXST+rFjrmppMY1KT/yn35A==",
+ "license": "MIT"
+ },
+ "node_modules/ob1": {
+ "version": "0.83.3",
+ "resolved": "https://registry.npmjs.org/ob1/-/ob1-0.83.3.tgz",
+ "integrity": "sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA==",
+ "license": "MIT",
+ "dependencies": {
+ "flow-enums-runtime": "^0.0.6"
+ },
+ "engines": {
+ "node": ">=20.19.4"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-hash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.4",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.7",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",
+ "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0",
+ "has-symbols": "^1.1.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.entries": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",
+ "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.fromentries": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",
+ "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",
+ "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz",
+ "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/on-finished": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
+ "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==",
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/on-headers": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz",
+ "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/open": {
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
+ "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0",
+ "is-wsl": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/ora": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz",
+ "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==",
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^2.4.2",
+ "cli-cursor": "^2.1.0",
+ "cli-spinners": "^2.0.0",
+ "log-symbols": "^2.2.0",
+ "strip-ansi": "^5.2.0",
+ "wcwidth": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ora/node_modules/ansi-regex": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",
+ "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ora/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ora/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ora/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/ora/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "license": "MIT"
+ },
+ "node_modules/ora/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/ora/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ora/node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ora/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/own-keys": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz",
+ "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "get-intrinsic": "^1.2.6",
+ "object-keys": "^1.1.1",
+ "safe-push-apply": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/p-cancelable": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",
+ "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/p-locate/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parse-png": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/parse-png/-/parse-png-2.1.0.tgz",
+ "integrity": "sha512-Nt/a5SfCLiTnQAjx3fHlqp8hRgTL3z7kTQZzvIMS9uCAepnCyjpdEc6M/sz69WqMBdaDBw9sF1F1UaHROYzGkQ==",
+ "license": "MIT",
+ "dependencies": {
+ "pngjs": "^3.3.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/parse5/node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "license": "MIT"
+ },
+ "node_modules/path-scurry": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
+ "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "lru-cache": "^11.0.0",
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "11.5.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",
+ "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": "20 || >=22"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-dir": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "find-up": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/plist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/plist/-/plist-3.1.1.tgz",
+ "integrity": "sha512-ZIfcLJC+7E7FBFnDxm9MPmt7D+DidyQ26lewieO75AdhA2ayMtsJSES0iWzqJQbcVRSrTufQoy0DR94xHue0oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@xmldom/xmldom": "^0.9.10",
+ "base64-js": "^1.5.1",
+ "xmlbuilder": "^15.1.1"
+ },
+ "engines": {
+ "node": ">=10.4.0"
+ }
+ },
+ "node_modules/plist/node_modules/@xmldom/xmldom": {
+ "version": "0.9.10",
+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.10.tgz",
+ "integrity": "sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.6"
+ }
+ },
+ "node_modules/pngjs": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz",
+ "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/possible-typed-array-names": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
+ "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.4.49",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz",
+ "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.7",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-import": {
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
+ "license": "MIT",
+ "dependencies": {
+ "postcss-value-parser": "^4.0.0",
+ "read-cache": "^1.0.0",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.0"
+ }
+ },
+ "node_modules/postcss-js": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
+ "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "camelcase-css": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12 || ^14 || >= 16"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.21"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/postcss-nested": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
+ "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^6.1.1"
+ },
+ "engines": {
+ "node": ">=12.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.14"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.1.4",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz",
+ "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==",
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "license": "MIT"
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/pretty-bytes": {
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz",
+ "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/pretty-format": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^18.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/pretty-format/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/pretty-format/node_modules/react-is": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
+ "license": "MIT"
+ },
+ "node_modules/proc-log": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz",
+ "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==",
+ "license": "ISC",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/progress": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/promise": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz",
+ "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==",
+ "license": "MIT",
+ "dependencies": {
+ "asap": "~2.0.6"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/prop-types": {
+ "version": "15.8.1",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
+ }
+ },
+ "node_modules/prop-types/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/proxy-from-env": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",
+ "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/psl": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",
+ "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.3.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/lupomontero"
+ }
+ },
+ "node_modules/pump": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
+ "license": "MIT",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pure-rand": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",
+ "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/qrcode-terminal": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz",
+ "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==",
+ "bin": {
+ "qrcode-terminal": "bin/qrcode-terminal.js"
+ }
+ },
+ "node_modules/query-string": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz",
+ "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==",
+ "license": "MIT",
+ "dependencies": {
+ "decode-uri-component": "^0.2.2",
+ "filter-obj": "^1.1.0",
+ "split-on-first": "^1.0.0",
+ "strict-uri-encode": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/querystringify": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "license": "MIT"
+ },
+ "node_modules/queue": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",
+ "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "~2.0.3"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/quick-lru": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/rc/node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
+ "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-devtools-core": {
+ "version": "6.1.5",
+ "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-6.1.5.tgz",
+ "integrity": "sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA==",
+ "license": "MIT",
+ "dependencies": {
+ "shell-quote": "^1.6.1",
+ "ws": "^7"
+ }
+ },
+ "node_modules/react-devtools-core/node_modules/ws": {
+ "version": "7.5.11",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.11.tgz",
+ "integrity": "sha512-zS54Oen9bITtp7kp2XM3AydrCIq1D+HwJOuH+c+e4LfpL/lotP5osijd+UoMnxwAam1GN8R4KtLAyIrIcBNpiA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz",
+ "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
+ "license": "MIT",
+ "dependencies": {
+ "scheduler": "^0.26.0"
+ },
+ "peerDependencies": {
+ "react": "^19.1.0"
+ }
+ },
+ "node_modules/react-fast-compare": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz",
+ "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==",
+ "license": "MIT"
+ },
+ "node_modules/react-freeze": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/react-freeze/-/react-freeze-1.0.4.tgz",
+ "integrity": "sha512-r4F0Sec0BLxWicc7HEyo2x3/2icUTrRmDjaaRyzzn+7aDyFZliszMDOgLVwSnQnYENOlL1o569Ze2HZefk8clA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "react": ">=17.0.0"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "19.2.7",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.7.tgz",
+ "integrity": "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A==",
+ "license": "MIT"
+ },
+ "node_modules/react-is-18": {
+ "name": "react-is",
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/react-is-19": {
+ "name": "react-is",
+ "version": "19.2.7",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.7.tgz",
+ "integrity": "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/react-native": {
+ "version": "0.81.5",
+ "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.81.5.tgz",
+ "integrity": "sha512-1w+/oSjEXZjMqsIvmkCRsOc8UBYv163bTWKTI8+1mxztvQPhCRYGTvZ/PL1w16xXHneIj/SLGfxWg2GWN2uexw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jest/create-cache-key-function": "^29.7.0",
+ "@react-native/assets-registry": "0.81.5",
+ "@react-native/codegen": "0.81.5",
+ "@react-native/community-cli-plugin": "0.81.5",
+ "@react-native/gradle-plugin": "0.81.5",
+ "@react-native/js-polyfills": "0.81.5",
+ "@react-native/normalize-colors": "0.81.5",
+ "@react-native/virtualized-lists": "0.81.5",
+ "abort-controller": "^3.0.0",
+ "anser": "^1.4.9",
+ "ansi-regex": "^5.0.0",
+ "babel-jest": "^29.7.0",
+ "babel-plugin-syntax-hermes-parser": "0.29.1",
+ "base64-js": "^1.5.1",
+ "commander": "^12.0.0",
+ "flow-enums-runtime": "^0.0.6",
+ "glob": "^7.1.1",
+ "invariant": "^2.2.4",
+ "jest-environment-node": "^29.7.0",
+ "memoize-one": "^5.0.0",
+ "metro-runtime": "^0.83.1",
+ "metro-source-map": "^0.83.1",
+ "nullthrows": "^1.1.1",
+ "pretty-format": "^29.7.0",
+ "promise": "^8.3.0",
+ "react-devtools-core": "^6.1.5",
+ "react-refresh": "^0.14.0",
+ "regenerator-runtime": "^0.13.2",
+ "scheduler": "0.26.0",
+ "semver": "^7.1.3",
+ "stacktrace-parser": "^0.1.10",
+ "whatwg-fetch": "^3.0.0",
+ "ws": "^6.2.3",
+ "yargs": "^17.6.2"
+ },
+ "bin": {
+ "react-native": "cli.js"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@types/react": "^19.1.0",
+ "react": "^19.1.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-native-body-highlighter": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/react-native-body-highlighter/-/react-native-body-highlighter-3.2.0.tgz",
+ "integrity": "sha512-BxWwcX8PtbKr3X0bW0n4OyPT6b+2R9IUqDyMgq8PP6IhJouSt9ik10a3c7PRYOlA2DdrBjLFiwamqhsMS2BfeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "react-native-svg": "^15.9.0"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-css-interop": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/react-native-css-interop/-/react-native-css-interop-0.2.6.tgz",
+ "integrity": "sha512-uXad6EWqufupnRjrba2De30tiAx26kLEcwSV3eSLVBwpfYeOnrpDc9k6kHk6SBNbmHHlE5sc9vsfKdVRS9msYg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.22.15",
+ "@babel/traverse": "^7.23.0",
+ "@babel/types": "^7.23.0",
+ "debug": "^4.3.7",
+ "lightningcss": "~1.27.0",
+ "semver": "^7.6.3"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "react-native": "*",
+ "react-native-reanimated": ">=3.6.2",
+ "tailwindcss": "~3"
+ },
+ "peerDependenciesMeta": {
+ "react-native-safe-area-context": {
+ "optional": true
+ },
+ "react-native-svg": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/detect-libc": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
+ "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
+ "license": "Apache-2.0",
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.27.0.tgz",
+ "integrity": "sha512-8f7aNmS1+etYSLHht0fQApPc2kNO8qGRutifN5rVIc6Xo6ABsEbqOr758UwI7ALVbTt4x1fllKt0PYgzD9S3yQ==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-darwin-arm64": "1.27.0",
+ "lightningcss-darwin-x64": "1.27.0",
+ "lightningcss-freebsd-x64": "1.27.0",
+ "lightningcss-linux-arm-gnueabihf": "1.27.0",
+ "lightningcss-linux-arm64-gnu": "1.27.0",
+ "lightningcss-linux-arm64-musl": "1.27.0",
+ "lightningcss-linux-x64-gnu": "1.27.0",
+ "lightningcss-linux-x64-musl": "1.27.0",
+ "lightningcss-win32-arm64-msvc": "1.27.0",
+ "lightningcss-win32-x64-msvc": "1.27.0"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-darwin-arm64": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.27.0.tgz",
+ "integrity": "sha512-Gl/lqIXY+d+ySmMbgDf0pgaWSqrWYxVHoc88q+Vhf2YNzZ8DwoRzGt5NZDVqqIW5ScpSnmmjcgXP87Dn2ylSSQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-darwin-x64": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.27.0.tgz",
+ "integrity": "sha512-0+mZa54IlcNAoQS9E0+niovhyjjQWEMrwW0p2sSdLRhLDc8LMQ/b67z7+B5q4VmjYCMSfnFi3djAAQFIDuj/Tg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-freebsd-x64": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.27.0.tgz",
+ "integrity": "sha512-n1sEf85fePoU2aDN2PzYjoI8gbBqnmLGEhKq7q0DKLj0UTVmOTwDC7PtLcy/zFxzASTSBlVQYJUhwIStQMIpRA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.27.0.tgz",
+ "integrity": "sha512-MUMRmtdRkOkd5z3h986HOuNBD1c2lq2BSQA1Jg88d9I7bmPGx08bwGcnB75dvr17CwxjxD6XPi3Qh8ArmKFqCA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.27.0.tgz",
+ "integrity": "sha512-cPsxo1QEWq2sfKkSq2Bq5feQDHdUEwgtA9KaB27J5AX22+l4l0ptgjMZZtYtUnteBofjee+0oW1wQ1guv04a7A==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.27.0.tgz",
+ "integrity": "sha512-rCGBm2ax7kQ9pBSeITfCW9XSVF69VX+fm5DIpvDZQl4NnQoMQyRwhZQm9pd59m8leZ1IesRqWk2v/DntMo26lg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.27.0.tgz",
+ "integrity": "sha512-Dk/jovSI7qqhJDiUibvaikNKI2x6kWPN79AQiD/E/KeQWMjdGe9kw51RAgoWFDi0coP4jinaH14Nrt/J8z3U4A==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.27.0.tgz",
+ "integrity": "sha512-QKjTxXm8A9s6v9Tg3Fk0gscCQA1t/HMoF7Woy1u68wCk5kS4fR+q3vXa1p3++REW784cRAtkYKrPy6JKibrEZA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.27.0.tgz",
+ "integrity": "sha512-/wXegPS1hnhkeG4OXQKEMQeJd48RDC3qdh+OA8pCuOPCyvnm/yEayrJdJVqzBsqpy1aJklRCVxscpFur80o6iQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.27.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.27.0.tgz",
+ "integrity": "sha512-/OJLj94Zm/waZShL8nB5jsNj3CfNATLCTyFxZyouilfTmSoLDX7VlVAmhPHoZWVFp4vdmoiEbPEYC8HID3m6yw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/react-native-css-interop/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/react-native-gesture-handler": {
+ "version": "2.28.0",
+ "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.28.0.tgz",
+ "integrity": "sha512-0msfJ1vRxXKVgTgvL+1ZOoYw3/0z1R+Ked0+udoJhyplC2jbVKIJ8Z1bzWdpQRCV3QcQ87Op0zJVE5DhKK2A0A==",
+ "license": "MIT",
+ "dependencies": {
+ "@egjs/hammerjs": "^2.0.17",
+ "hoist-non-react-statics": "^3.3.0",
+ "invariant": "^2.2.4"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-is-edge-to-edge": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.3.1.tgz",
+ "integrity": "sha512-NIXU/iT5+ORyCc7p0z2nnlkouYKX425vuU1OEm6bMMtWWR9yvb+Xg5AZmImTKoF9abxCPqrKC3rOZsKzUYgYZA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-reanimated": {
+ "version": "4.1.7",
+ "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-4.1.7.tgz",
+ "integrity": "sha512-Q4H6xA3Tn7QL0/E/KjI86I1KK4tcf+ErRE04LH34Etka2oVQhW6oXQ+Q8ZcDCVxiWp5vgbBH6XcH8BOo4w/Rhg==",
+ "license": "MIT",
+ "dependencies": {
+ "react-native-is-edge-to-edge": "^1.2.1",
+ "semver": "^7.7.2"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "0.78 - 0.82",
+ "react-native-worklets": "0.5 - 0.8"
+ }
+ },
+ "node_modules/react-native-reanimated/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/react-native-safe-area-context": {
+ "version": "5.6.2",
+ "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.6.2.tgz",
+ "integrity": "sha512-4XGqMNj5qjUTYywJqpdWZ9IG8jgkS3h06sfVjfw5yZQZfWnRFXczi0GnYyFyCc2EBps/qFmoCH8fez//WumdVg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-screens": {
+ "version": "4.16.0",
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.16.0.tgz",
+ "integrity": "sha512-yIAyh7F/9uWkOzCi1/2FqvNvK6Wb9Y1+Kzn16SuGfN9YFJDTbwlzGRvePCNTOX0recpLQF3kc2FmvMUhyTCH1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-freeze": "^1.0.0",
+ "react-native-is-edge-to-edge": "^1.2.1",
+ "warn-once": "^0.1.0"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-svg": {
+ "version": "15.12.1",
+ "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.12.1.tgz",
+ "integrity": "sha512-vCuZJDf8a5aNC2dlMovEv4Z0jjEUET53lm/iILFnFewa15b4atjVxU6Wirm6O9y6dEsdjDZVD7Q3QM4T1wlI8g==",
+ "license": "MIT",
+ "dependencies": {
+ "css-select": "^5.1.0",
+ "css-tree": "^1.1.3",
+ "warn-once": "0.1.1"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-url-polyfill": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz",
+ "integrity": "sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA==",
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-url-without-unicode": "8.0.0-3"
+ },
+ "peerDependencies": {
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-web": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/react-native-web/-/react-native-web-0.21.2.tgz",
+ "integrity": "sha512-SO2t9/17zM4iEnFvlu2DA9jqNbzNhoUP+AItkoCOyFmDMOhUnBBznBDCYN92fGdfAkfQlWzPoez6+zLxFNsZEg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.6",
+ "@react-native/normalize-colors": "^0.74.1",
+ "fbjs": "^3.0.4",
+ "inline-style-prefixer": "^7.0.1",
+ "memoize-one": "^6.0.0",
+ "nullthrows": "^1.1.1",
+ "postcss-value-parser": "^4.2.0",
+ "styleq": "^0.1.3"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/react-native-web/node_modules/@react-native/normalize-colors": {
+ "version": "0.74.89",
+ "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.89.tgz",
+ "integrity": "sha512-qoMMXddVKVhZ8PA1AbUCk83trpd6N+1nF2A6k1i6LsQObyS92fELuk8kU/lQs6M7BsMHwqyLCpQJ1uFgNvIQXg==",
+ "license": "MIT"
+ },
+ "node_modules/react-native-web/node_modules/memoize-one": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz",
+ "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==",
+ "license": "MIT"
+ },
+ "node_modules/react-native-worklets": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/react-native-worklets/-/react-native-worklets-0.5.1.tgz",
+ "integrity": "sha512-lJG6Uk9YuojjEX/tQrCbcbmpdLCSFxDK1rJlkDhgqkVi1KZzG7cdcBFQRqyNOOzR9Y0CXNuldmtWTGOyM0k0+w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/plugin-transform-arrow-functions": "^7.0.0-0",
+ "@babel/plugin-transform-class-properties": "^7.0.0-0",
+ "@babel/plugin-transform-classes": "^7.0.0-0",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0",
+ "@babel/plugin-transform-optional-chaining": "^7.0.0-0",
+ "@babel/plugin-transform-shorthand-properties": "^7.0.0-0",
+ "@babel/plugin-transform-template-literals": "^7.0.0-0",
+ "@babel/plugin-transform-unicode-regex": "^7.0.0-0",
+ "@babel/preset-typescript": "^7.16.7",
+ "convert-source-map": "^2.0.0",
+ "semver": "7.7.2"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0",
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-worklets/node_modules/semver": {
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/react-native/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/react-native/node_modules/commander": {
+ "version": "12.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
+ "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/react-native/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/react-native/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/react-native/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/react-native/node_modules/ws": {
+ "version": "6.2.4",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.4.tgz",
+ "integrity": "sha512-PNIUUyLI5YpkJZj60YBzX1o0ByQ4ovvfmq9N/Kig/PAYbVlGyz4R6G0SEWrD0O9acc0sT2+IdMBVLFv8FSi0Nw==",
+ "license": "MIT",
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.14.2",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz",
+ "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-remove-scroll": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",
+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-remove-scroll-bar": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",
+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-style-singleton": "^2.2.2",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-style-singleton": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",
+ "license": "MIT",
+ "dependencies": {
+ "get-nonce": "^1.0.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-test-renderer": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-19.1.0.tgz",
+ "integrity": "sha512-jXkSl3CpvPYEF+p/eGDLB4sPoDX8pKkYvRl9+rR8HxLY0X04vW7hCm1/0zHoUSjPZ3bDa+wXWNTDVIw/R8aDVw==",
+ "license": "MIT",
+ "dependencies": {
+ "react-is": "^19.1.0",
+ "scheduler": "^0.26.0"
+ },
+ "peerDependencies": {
+ "react": "^19.1.0"
+ }
+ },
+ "node_modules/read-cache": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
+ "license": "MIT",
+ "dependencies": {
+ "pify": "^2.3.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/readdirp/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/redent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "indent-string": "^4.0.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/reflect.getprototypeof": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",
+ "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.9",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.7",
+ "get-proto": "^1.0.1",
+ "which-builtin-type": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/regenerate": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
+ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==",
+ "license": "MIT"
+ },
+ "node_modules/regenerate-unicode-properties": {
+ "version": "10.2.2",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz",
+ "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==",
+ "license": "MIT",
+ "dependencies": {
+ "regenerate": "^1.4.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.13.11",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+ "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "license": "MIT"
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz",
+ "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "define-properties": "^1.2.1",
+ "es-errors": "^1.3.0",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "set-function-name": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/regexpu-core": {
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz",
+ "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==",
+ "license": "MIT",
+ "dependencies": {
+ "regenerate": "^1.4.2",
+ "regenerate-unicode-properties": "^10.2.2",
+ "regjsgen": "^0.8.0",
+ "regjsparser": "^0.13.0",
+ "unicode-match-property-ecmascript": "^2.0.0",
+ "unicode-match-property-value-ecmascript": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/regjsgen": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz",
+ "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==",
+ "license": "MIT"
+ },
+ "node_modules/regjsparser": {
+ "version": "0.13.2",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.2.tgz",
+ "integrity": "sha512-NgRBy2Nx/bE+9F27nVHnqcN5HjyLmecqsqx2PJHu3/IEtADD4WuxuXIVExD5PoSDFVrl78dOonfcOe5O+5nbzQ==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "jsesc": "~3.1.0"
+ },
+ "bin": {
+ "regjsparser": "bin/parser"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/requireg": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/requireg/-/requireg-0.2.2.tgz",
+ "integrity": "sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==",
+ "dependencies": {
+ "nested-error-stacks": "~2.0.1",
+ "rc": "~1.2.7",
+ "resolve": "~1.7.1"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/requireg/node_modules/resolve": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz",
+ "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==",
+ "license": "MIT",
+ "dependencies": {
+ "path-parse": "^1.0.5"
+ }
+ },
+ "node_modules/requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
+ "license": "MIT"
+ },
+ "node_modules/resolve": {
+ "version": "1.22.12",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
+ "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-alpn": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",
+ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==",
+ "license": "MIT"
+ },
+ "node_modules/resolve-cwd": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
+ "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
+ "license": "MIT",
+ "dependencies": {
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/resolve-pkg-maps": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
+ }
+ },
+ "node_modules/resolve-workspace-root": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-workspace-root/-/resolve-workspace-root-2.0.1.tgz",
+ "integrity": "sha512-nR23LHAvaI6aHtMg6RWoaHpdR4D881Nydkzi2CixINyg9T00KgaJdJI6Vwty+Ps8WLxZHuxsS0BseWjxSA4C+w==",
+ "license": "MIT"
+ },
+ "node_modules/resolve.exports": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz",
+ "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/responselike": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz",
+ "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==",
+ "license": "MIT",
+ "dependencies": {
+ "lowercase-keys": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/restore-cursor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
+ "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "onetime": "^2.0.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/restore-cursor/node_modules/mimic-fn": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
+ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/restore-cursor/node_modules/onetime": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
+ "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "deprecated": "Rimraf versions prior to v4 are no longer supported",
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rimraf/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/rimraf/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rimraf/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-array-concat": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz",
+ "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "get-intrinsic": "^1.3.0",
+ "has-symbols": "^1.1.0",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">=0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safe-push-apply": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",
+ "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-regex-test": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz",
+ "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "is-regex": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "license": "MIT"
+ },
+ "node_modules/sax": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz",
+ "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=11.0.0"
+ }
+ },
+ "node_modules/saxes": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
+ "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",
+ "license": "ISC",
+ "dependencies": {
+ "xmlchars": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=v12.22.7"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.26.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz",
+ "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/send": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz",
+ "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.1",
+ "mime": "1.6.0",
+ "ms": "2.1.3",
+ "on-finished": "~2.4.1",
+ "range-parser": "~1.2.1",
+ "statuses": "~2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/send/node_modules/debug/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/send/node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/send/node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/send/node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/serialize-error": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz",
+ "integrity": "sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/serve-static": {
+ "version": "1.16.3",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz",
+ "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "~0.19.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/serve-static/node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/server-only": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz",
+ "integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==",
+ "license": "MIT"
+ },
+ "node_modules/set-function-length": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-function-name": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
+ "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-proto": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz",
+ "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/setimmediate": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
+ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",
+ "license": "MIT"
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "license": "ISC"
+ },
+ "node_modules/sf-symbols-typescript": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.2.0.tgz",
+ "integrity": "sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/shallowequal": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==",
+ "license": "MIT"
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shell-quote": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.9.0.tgz",
+ "integrity": "sha512-Iov+JwFv/2HcTpcwNMKd8+IWNb8tboQJNQTkAY/LLVK7gGH9jy+LGkVqPxfekHl+yMmiqXszdGWXgkfml7hjqA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4",
+ "side-channel-list": "^1.0.1",
+ "side-channel-map": "^1.0.1",
+ "side-channel-weakmap": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-list": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-weakmap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3",
+ "side-channel-map": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "license": "ISC"
+ },
+ "node_modules/simple-plist": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz",
+ "integrity": "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==",
+ "license": "MIT",
+ "dependencies": {
+ "bplist-creator": "0.1.0",
+ "bplist-parser": "0.3.1",
+ "plist": "^3.0.5"
+ }
+ },
+ "node_modules/simple-plist/node_modules/bplist-parser": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.1.tgz",
+ "integrity": "sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==",
+ "license": "MIT",
+ "dependencies": {
+ "big-integer": "1.6.x"
+ },
+ "engines": {
+ "node": ">= 5.10.0"
+ }
+ },
+ "node_modules/simple-swizzle": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz",
+ "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-arrayish": "^0.3.1"
+ }
+ },
+ "node_modules/simple-swizzle/node_modules/is-arrayish": {
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz",
+ "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==",
+ "license": "MIT"
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+ "license": "MIT"
+ },
+ "node_modules/slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/slugify": {
+ "version": "1.6.9",
+ "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.6.9.tgz",
+ "integrity": "sha512-vZ7rfeehZui7wQs438JXBckYLkIIdfHOXsaVEUMyS5fHo1483l1bMdo0EDSWYclY0yZKFOipDy4KHuKs6ssvdg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/split-on-first": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz",
+ "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/stable-hash": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz",
+ "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/stack-generator": {
+ "version": "2.0.10",
+ "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz",
+ "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==",
+ "license": "MIT",
+ "dependencies": {
+ "stackframe": "^1.3.4"
+ }
+ },
+ "node_modules/stack-utils": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
+ "license": "MIT",
+ "dependencies": {
+ "escape-string-regexp": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/stack-utils/node_modules/escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/stackframe": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz",
+ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==",
+ "license": "MIT"
+ },
+ "node_modules/stacktrace-gps": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz",
+ "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==",
+ "license": "MIT",
+ "dependencies": {
+ "source-map": "0.5.6",
+ "stackframe": "^1.3.4"
+ }
+ },
+ "node_modules/stacktrace-gps/node_modules/source-map": {
+ "version": "0.5.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz",
+ "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stacktrace-js": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz",
+ "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==",
+ "license": "MIT",
+ "dependencies": {
+ "error-stack-parser": "^2.0.6",
+ "stack-generator": "^2.0.5",
+ "stacktrace-gps": "^3.0.4"
+ }
+ },
+ "node_modules/stacktrace-parser": {
+ "version": "0.1.11",
+ "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.11.tgz",
+ "integrity": "sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==",
+ "license": "MIT",
+ "dependencies": {
+ "type-fest": "^0.7.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/stacktrace-parser/node_modules/type-fest": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz",
+ "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==",
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/standard-navigation": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/standard-navigation/-/standard-navigation-0.0.7.tgz",
+ "integrity": "sha512-NCGLCNyuXrFOkGHxdNZFnpsehGtiq1oXbPhKl7ZuxFO5J//H2evqqOchmD4YwEUJnkjO4kH9Xp4hQX6hdAYCKQ==",
+ "license": "MIT"
+ },
+ "node_modules/statuses": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/stop-iteration-iterator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",
+ "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "internal-slot": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/stream-buffers": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz",
+ "integrity": "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==",
+ "license": "Unlicense",
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/strict-uri-encode": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
+ "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/string-length": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
+ "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
+ "license": "MIT",
+ "dependencies": {
+ "char-regex": "^1.0.2",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string.prototype.matchall": {
+ "version": "4.0.12",
+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz",
+ "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.6",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.6",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "internal-slot": "^1.1.0",
+ "regexp.prototype.flags": "^1.5.3",
+ "set-function-name": "^2.0.2",
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.repeat": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
+ "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz",
+ "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "define-data-property": "^1.1.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.24.2",
+ "es-object-atoms": "^1.1.2",
+ "has-property-descriptors": "^1.0.2",
+ "safe-regex-test": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz",
+ "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",
+ "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
+ "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/strip-indent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/structured-headers": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/structured-headers/-/structured-headers-0.4.1.tgz",
+ "integrity": "sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==",
+ "license": "MIT"
+ },
+ "node_modules/styleq": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/styleq/-/styleq-0.1.3.tgz",
+ "integrity": "sha512-3ZUifmCDCQanjeej1f6kyl/BeP/Vae5EYkQ9iJfUm/QwZvlgnZzyflqAsAWYURdtea8Vkvswu2GrC57h3qffcA==",
+ "license": "MIT"
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/sucrase/node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-hyperlinks": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz",
+ "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0",
+ "supports-color": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/symbol-tree": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "license": "MIT"
+ },
+ "node_modules/tailwindcss": {
+ "version": "3.4.19",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
+ "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "arg": "^5.0.2",
+ "chokidar": "^3.6.0",
+ "didyoumean": "^1.2.2",
+ "dlv": "^1.1.3",
+ "fast-glob": "^3.3.2",
+ "glob-parent": "^6.0.2",
+ "is-glob": "^4.0.3",
+ "jiti": "^1.21.7",
+ "lilconfig": "^3.1.3",
+ "micromatch": "^4.0.8",
+ "normalize-path": "^3.0.0",
+ "object-hash": "^3.0.0",
+ "picocolors": "^1.1.1",
+ "postcss": "^8.4.47",
+ "postcss-import": "^15.1.0",
+ "postcss-js": "^4.0.1",
+ "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
+ "postcss-nested": "^6.2.0",
+ "postcss-selector-parser": "^6.1.2",
+ "resolve": "^1.22.8",
+ "sucrase": "^3.35.0"
+ },
+ "bin": {
+ "tailwind": "lib/cli.js",
+ "tailwindcss": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tar": {
+ "version": "7.5.19",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.19.tgz",
+ "integrity": "sha512-4LeEWl96twnS2Q7Bz4MGqgazLqO+hJN63GZxXoIqh1T3VweYD997gbU1ItNsQafqqXTXd5WFyFdReLtwvRBNiw==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "@isaacs/fs-minipass": "^4.0.0",
+ "chownr": "^3.0.0",
+ "minipass": "^7.1.2",
+ "minizlib": "^3.1.0",
+ "yallist": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz",
+ "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/terminal-link": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz",
+ "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-escapes": "^4.2.1",
+ "supports-hyperlinks": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/terser": {
+ "version": "5.48.0",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.48.0.tgz",
+ "integrity": "sha512-J/9An6vs9Us6wKRriSFXBWdRZapREHqFzdNUKk0pmu804EMR6dr6winwo7e5JDxN4xahxQsuysyYFwlwj4XN/Q==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "@jridgewell/source-map": "^0.3.3",
+ "acorn": "^8.15.0",
+ "commander": "^2.20.0",
+ "source-map-support": "~0.5.20"
+ },
+ "bin": {
+ "terser": "bin/terser"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/terser/node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "license": "MIT"
+ },
+ "node_modules/test-exclude": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
+ "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
+ "license": "ISC",
+ "dependencies": {
+ "@istanbuljs/schema": "^0.1.2",
+ "glob": "^7.1.4",
+ "minimatch": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/test-exclude/node_modules/brace-expansion": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
+ "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/test-exclude/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/test-exclude/node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/throat": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz",
+ "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tmpl": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
+ "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/tough-cookie": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
+ "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "psl": "^1.1.33",
+ "punycode": "^2.1.1",
+ "universalify": "^0.2.0",
+ "url-parse": "^1.5.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
+ "license": "MIT"
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
+ "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/ts-jest": {
+ "version": "29.4.11",
+ "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.11.tgz",
+ "integrity": "sha512-IrFl7l9AuB/qrNw5quqvAv/hmKMb8dhWOH4jQOGo0Oq8tCeo1O86/iTFG1FaRimgUkF13l4PcepO8ATFT6Ns4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bs-logger": "^0.2.6",
+ "fast-json-stable-stringify": "^2.1.0",
+ "handlebars": "^4.7.9",
+ "json5": "^2.2.3",
+ "lodash.memoize": "^4.1.2",
+ "make-error": "^1.3.6",
+ "semver": "^7.8.0",
+ "type-fest": "^4.41.0",
+ "yargs-parser": "^21.1.1"
+ },
+ "bin": {
+ "ts-jest": "cli.js"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": ">=7.0.0-beta.0 <8",
+ "@jest/transform": "^29.0.0 || ^30.0.0",
+ "@jest/types": "^29.0.0 || ^30.0.0",
+ "babel-jest": "^29.0.0 || ^30.0.0",
+ "jest": "^29.0.0 || ^30.0.0",
+ "jest-util": "^29.0.0 || ^30.0.0",
+ "typescript": ">=4.3 <7"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "@jest/transform": {
+ "optional": true
+ },
+ "@jest/types": {
+ "optional": true
+ },
+ "babel-jest": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "jest-util": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ts-jest/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ts-jest/node_modules/type-fest": {
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/tsconfig-paths": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
+ "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/json5": "^0.0.29",
+ "json5": "^1.0.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "node_modules/tsconfig-paths/node_modules/json5": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
+ "node_modules/tsconfig-paths/node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
+ "license": "0BSD"
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-detect": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
+ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-typed-array": "^1.1.14"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-array-byte-length": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz",
+ "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "for-each": "^0.3.3",
+ "gopd": "^1.2.0",
+ "has-proto": "^1.2.0",
+ "is-typed-array": "^1.1.14"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-byte-offset": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz",
+ "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "for-each": "^0.3.3",
+ "gopd": "^1.2.0",
+ "has-proto": "^1.2.0",
+ "is-typed-array": "^1.1.15",
+ "reflect.getprototypeof": "^1.0.9"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-length": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz",
+ "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.9",
+ "for-each": "^0.3.5",
+ "gopd": "^1.2.0",
+ "is-typed-array": "^1.1.15",
+ "possible-typed-array-names": "^1.1.0",
+ "reflect.getprototypeof": "^1.0.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ua-parser-js": {
+ "version": "1.0.41",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.41.tgz",
+ "integrity": "sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/ua-parser-js"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/faisalman"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/faisalman"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "ua-parser-js": "script/cli.js"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/uglify-js": {
+ "version": "3.19.3",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz",
+ "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "optional": true,
+ "bin": {
+ "uglifyjs": "bin/uglifyjs"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/unbox-primitive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz",
+ "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "has-bigints": "^1.0.2",
+ "has-symbols": "^1.1.0",
+ "which-boxed-primitive": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/undici": {
+ "version": "6.27.0",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-6.27.0.tgz",
+ "integrity": "sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.17"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz",
+ "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==",
+ "license": "MIT"
+ },
+ "node_modules/unicode-canonical-property-names-ecmascript": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz",
+ "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-match-property-ecmascript": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz",
+ "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==",
+ "license": "MIT",
+ "dependencies": {
+ "unicode-canonical-property-names-ecmascript": "^2.0.0",
+ "unicode-property-aliases-ecmascript": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-match-property-value-ecmascript": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz",
+ "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-property-aliases-ecmascript": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz",
+ "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
+ "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/unrs-resolver": {
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz",
+ "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "napi-postinstall": "^0.3.4"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unrs-resolver"
+ },
+ "optionalDependencies": {
+ "@unrs/resolver-binding-android-arm-eabi": "1.12.2",
+ "@unrs/resolver-binding-android-arm64": "1.12.2",
+ "@unrs/resolver-binding-darwin-arm64": "1.12.2",
+ "@unrs/resolver-binding-darwin-x64": "1.12.2",
+ "@unrs/resolver-binding-freebsd-x64": "1.12.2",
+ "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2",
+ "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2",
+ "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-arm64-musl": "1.12.2",
+ "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-loong64-musl": "1.12.2",
+ "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2",
+ "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-x64-gnu": "1.12.2",
+ "@unrs/resolver-binding-linux-x64-musl": "1.12.2",
+ "@unrs/resolver-binding-openharmony-arm64": "1.12.2",
+ "@unrs/resolver-binding-wasm32-wasi": "1.12.2",
+ "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2",
+ "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2",
+ "@unrs/resolver-binding-win32-x64-msvc": "1.12.2"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/url-parse": {
+ "version": "1.5.10",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
+ "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+ "license": "MIT",
+ "dependencies": {
+ "querystringify": "^2.1.1",
+ "requires-port": "^1.0.0"
+ }
+ },
+ "node_modules/use-callback-ref": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-latest-callback": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz",
+ "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=16.8"
+ }
+ },
+ "node_modules/use-sidecar": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",
+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "detect-node-es": "^1.1.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-sync-external-store": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "license": "MIT"
+ },
+ "node_modules/utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/uuid": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
+ "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",
+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/v8-to-istanbul": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz",
+ "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==",
+ "license": "ISC",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.12",
+ "@types/istanbul-lib-coverage": "^2.0.1",
+ "convert-source-map": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10.12.0"
+ }
+ },
+ "node_modules/validate-npm-package-name": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz",
+ "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==",
+ "license": "ISC",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/vaul": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vaul/-/vaul-1.1.2.tgz",
+ "integrity": "sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-dialog": "^1.1.1"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/vlq": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/vlq/-/vlq-1.0.1.tgz",
+ "integrity": "sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==",
+ "license": "MIT"
+ },
+ "node_modules/w3c-xmlserializer": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz",
+ "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==",
+ "license": "MIT",
+ "dependencies": {
+ "xml-name-validator": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/walker": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
+ "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "makeerror": "1.0.12"
+ }
+ },
+ "node_modules/warn-once": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz",
+ "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==",
+ "license": "MIT"
+ },
+ "node_modules/wcwidth": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
+ "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==",
+ "license": "MIT",
+ "dependencies": {
+ "defaults": "^1.0.3"
+ }
+ },
+ "node_modules/webidl-conversions": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
+ "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/whatwg-encoding": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz",
+ "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==",
+ "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "0.6.3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/whatwg-fetch": {
+ "version": "3.6.20",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz",
+ "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==",
+ "license": "MIT"
+ },
+ "node_modules/whatwg-mimetype": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz",
+ "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
+ "node_modules/whatwg-url-without-unicode": {
+ "version": "8.0.0-3",
+ "resolved": "https://registry.npmjs.org/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz",
+ "integrity": "sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.4.3",
+ "punycode": "^2.1.1",
+ "webidl-conversions": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/whatwg-url/node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/which-boxed-primitive": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",
+ "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-bigint": "^1.1.0",
+ "is-boolean-object": "^1.2.1",
+ "is-number-object": "^1.1.1",
+ "is-string": "^1.1.1",
+ "is-symbol": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-builtin-type": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz",
+ "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "function.prototype.name": "^1.1.6",
+ "has-tostringtag": "^1.0.2",
+ "is-async-function": "^2.0.0",
+ "is-date-object": "^1.1.0",
+ "is-finalizationregistry": "^1.1.0",
+ "is-generator-function": "^1.0.10",
+ "is-regex": "^1.2.1",
+ "is-weakref": "^1.0.2",
+ "isarray": "^2.0.5",
+ "which-boxed-primitive": "^1.1.0",
+ "which-collection": "^1.0.2",
+ "which-typed-array": "^1.1.16"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-collection": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
+ "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-map": "^2.0.3",
+ "is-set": "^2.0.3",
+ "is-weakmap": "^2.0.2",
+ "is-weakset": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.22",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.22.tgz",
+ "integrity": "sha512-fvO4ExWMFsqyhG3AiPAObMuY1lxaqgYcxbc49CNdWDDECOJNgQyvsOWVwbZc+qf3rzRtxojBK+CMEv0Ld5CYpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.9",
+ "call-bound": "^1.0.4",
+ "for-each": "^0.3.5",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/wonka": {
+ "version": "6.3.6",
+ "resolved": "https://registry.npmjs.org/wonka/-/wonka-6.3.6.tgz",
+ "integrity": "sha512-MXH+6mDHAZ2GuMpgKS055FR6v0xVP3XwquxIMYXgiW+FejHQlMGlvVRZT4qMCxR+bEo/FCtIdKxwej9WV3YQag==",
+ "license": "MIT"
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/wordwrap": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
+ "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "license": "ISC"
+ },
+ "node_modules/write-file-atomic": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz",
+ "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==",
+ "license": "ISC",
+ "dependencies": {
+ "imurmurhash": "^0.1.4",
+ "signal-exit": "^3.0.7"
+ },
+ "engines": {
+ "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xcode": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz",
+ "integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "simple-plist": "^1.1.0",
+ "uuid": "^7.0.3"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/xml-name-validator": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz",
+ "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/xml2js": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.0.tgz",
+ "integrity": "sha512-eLTh0kA8uHceqesPqSE+VvO1CDDJWMwlQfB6LuN6T8w6MaDJ8Txm8P7s5cHD0miF0V+GGTZrDQfxPZQVsur33w==",
+ "license": "MIT",
+ "dependencies": {
+ "sax": ">=0.6.0",
+ "xmlbuilder": "~11.0.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/xml2js/node_modules/xmlbuilder": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
+ "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/xmlbuilder": {
+ "version": "15.1.1",
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz",
+ "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/xmlchars": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "license": "MIT"
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "license": "ISC"
+ },
+ "node_modules/yaml": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
+ "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/eemeli"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "17.7.3",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz",
+ "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==",
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
+ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-validation-error": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.0 || ^4.0.0"
+ }
+ },
+ "node_modules/zustand": {
+ "version": "4.5.7",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
+ "license": "MIT",
+ "dependencies": {
+ "use-sync-external-store": "^1.2.2"
+ },
+ "engines": {
+ "node": ">=12.7.0"
+ },
+ "peerDependencies": {
+ "@types/react": ">=16.8",
+ "immer": ">=9.0.6",
+ "react": ">=16.8"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "immer": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ }
+ }
+ },
+ "packages/shared": {
+ "name": "@lyftr/shared",
+ "version": "0.0.0",
+ "dependencies": {
+ "axios": "^1.6.2"
+ },
+ "devDependencies": {
+ "@types/jest": "^29.5.12",
+ "jest": "^29.7.0",
+ "react": "19.1.0",
+ "ts-jest": "^29.1.2",
+ "typescript": "^5.2.2",
+ "zustand": "^4.4.6"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "zustand": "^4.4.6"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..38baf77
--- /dev/null
+++ b/package.json
@@ -0,0 +1,19 @@
+{
+ "name": "lyftr-monorepo",
+ "private": true,
+ "version": "0.0.0",
+ "//": "npm workspaces root. `web` is deliberately NOT a workspace member yet — it keeps its own independent install + CI (cd web && npm ci). It migrates to @lyftr/shared in a later PR. See .claude/plans mobile-app plan.",
+ "workspaces": [
+ "packages/*",
+ "mobile"
+ ],
+ "//overrides": "Force a single React across the workspace — RN 0.81's Fabric renderer crashes if the app and @lyftr/shared resolve different React copies (even different 19.x minors). react-test-renderer is pinned to the same version because @testing-library/react-native renders through it and npm's `react` override does NOT cascade to react-test-renderer — a mismatched minor throws the 'multiple copies of React' hook error under jest.",
+ "overrides": {
+ "react": "19.1.0",
+ "react-test-renderer": "19.1.0"
+ },
+ "scripts": {
+ "shared:type-check": "npm run type-check -w @lyftr/shared",
+ "shared:test": "npm run test -w @lyftr/shared"
+ }
+}
diff --git a/packages/shared/jest.config.js b/packages/shared/jest.config.js
new file mode 100644
index 0000000..67b4ad8
--- /dev/null
+++ b/packages/shared/jest.config.js
@@ -0,0 +1,6 @@
+/** Jest config for the platform-agnostic shared core. Runs on Linux/node. */
+module.exports = {
+ preset: 'ts-jest',
+ testEnvironment: 'node',
+ testMatch: ['**/*.test.ts'],
+}
diff --git a/packages/shared/package.json b/packages/shared/package.json
new file mode 100644
index 0000000..28c3ce9
--- /dev/null
+++ b/packages/shared/package.json
@@ -0,0 +1,27 @@
+{
+ "name": "@lyftr/shared",
+ "version": "0.0.0",
+ "private": true,
+ "//": "Platform-agnostic core shared by web + mobile: types, API client, Zustand store logic, pure utils. NO UI, NO platform APIs — storage is injected via StorageAdapter. Consumed as TS source (Metro/Vite/tsc transpile); not pre-built.",
+ "main": "src/index.ts",
+ "types": "src/index.ts",
+ "scripts": {
+ "type-check": "tsc --noEmit",
+ "test": "jest"
+ },
+ "dependencies": {
+ "axios": "^1.6.2"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "zustand": "^4.4.6"
+ },
+ "devDependencies": {
+ "@types/jest": "^29.5.12",
+ "jest": "^29.7.0",
+ "react": "19.1.0",
+ "ts-jest": "^29.1.2",
+ "typescript": "^5.2.2",
+ "zustand": "^4.4.6"
+ }
+}
diff --git a/packages/shared/src/client.ts b/packages/shared/src/client.ts
new file mode 100644
index 0000000..f692239
--- /dev/null
+++ b/packages/shared/src/client.ts
@@ -0,0 +1,210 @@
+import axios, { AxiosInstance } from 'axios'
+import * as types from './types'
+import { StorageAdapter, STORAGE_KEYS } from './storage'
+import { normalizeServerUrl } from './utils/serverUrl'
+
+// Every API call lives under this versioned path. `origin` is an absolute server
+// origin for a cross-origin backend, or '' for the same-origin reverse proxy (web).
+const API_BASE_PATH = '/api/v1'
+export const apiUrl = (origin = '') => `${origin}${API_BASE_PATH}`
+
+export interface ServerInfo {
+ name: string
+ version: string
+}
+
+export interface ClientOptions {
+ // Called after a token refresh fails — the session is dead. Web passes a
+ // `location.href = '/login'`; mobile passes `router.replace('/login')`.
+ onAuthFailure?: () => void
+ // Optional hard override of the base URL (web passes import.meta.env.VITE_API_URL).
+ // When set, the stored server_url is ignored.
+ baseUrlOverride?: string
+}
+
+// Turn an axios error into an actionable message. Network/CORS/connection failures
+// (no response) and proxy misconfig (404/405) are distinguished from real auth and
+// server errors, so connectivity problems don't masquerade as "Registration failed."
+export const apiErrorMessage = (err: any, fallback: string): string => {
+ if (err?.response) {
+ const serverError = err.response.data?.error
+ if (serverError) return serverError
+ const status = err.response.status
+ if (status === 404 || status === 405) {
+ return "Server URL looks misconfigured — the API endpoint wasn't found. Check Server settings."
+ }
+ if (status >= 500) return 'Server error. Please try again shortly.'
+ return fallback
+ }
+ return "Can't reach the server. Check the URL, that the backend is running, and that it allows this app's origin (CORS)."
+}
+
+// Probe a server's public /info endpoint to confirm it's reachable and is a Lyftr
+// backend. Pass '' for the default/reverse-proxy origin.
+export const testServerConnection = async (
+ base: string,
+): Promise<{ ok: true; info: ServerInfo } | { ok: false; message: string }> => {
+ try {
+ const res = await axios.get<{ data: ServerInfo }>(`${apiUrl(base)}/info`, { timeout: 8000 })
+ const info = res.data?.data
+ if (!info?.name) {
+ return { ok: false, message: "That responded, but it doesn't look like a Lyftr server." }
+ }
+ return { ok: true, info }
+ } catch (err) {
+ return { ok: false, message: apiErrorMessage(err, "Couldn't reach the server.") }
+ }
+}
+
+const unwrap = <T>(res: { data: { data: T } }) => res.data.data
+
+// Build a fully-wired API client bound to a platform storage adapter. All token
+// reads/writes and the base-URL resolution go through `storage`, so the same code
+// runs on web (localStorage) and mobile (SecureStore/AsyncStorage).
+export function createClient(storage: StorageAdapter, opts: ClientOptions = {}) {
+ // Resolved per-request so a "Server settings" change takes effect immediately.
+ const resolveAPIBase = async (): Promise<string> => {
+ if (opts.baseUrlOverride) return opts.baseUrlOverride
+ const stored = await storage.get(STORAGE_KEYS.serverUrl)
+ const base = stored ? normalizeServerUrl(stored) : ''
+ return apiUrl(base)
+ }
+
+ const api: AxiosInstance = axios.create({
+ headers: { 'Content-Type': 'application/json' },
+ })
+
+ api.interceptors.request.use(async (config) => {
+ config.baseURL = await resolveAPIBase()
+ const token = await storage.get(STORAGE_KEYS.access)
+ if (token) config.headers.Authorization = `Bearer ${token}`
+ return config
+ })
+
+ api.interceptors.response.use(
+ (response) => response,
+ async (error) => {
+ const original = error.config
+ // A 401 from the auth endpoints themselves is a credential error, not an
+ // expired session — let the page show it instead of refreshing/redirecting.
+ const isAuthRequest = (original?.url || '').includes('/auth/')
+ if (error.response?.status === 401 && !original._retry && !isAuthRequest) {
+ original._retry = true
+ try {
+ const refreshToken = await storage.get(STORAGE_KEYS.refresh)
+ const base = await resolveAPIBase()
+ const res = await axios.post(`${base}/auth/refresh`, { refresh_token: refreshToken })
+ const newToken = res.data.data.token
+ await storage.set(STORAGE_KEYS.access, newToken)
+ original.headers.Authorization = `Bearer ${newToken}`
+ if (res.data.data.refresh_token) {
+ await storage.set(STORAGE_KEYS.refresh, res.data.data.refresh_token)
+ }
+ return api(original)
+ } catch {
+ await storage.remove(STORAGE_KEYS.access)
+ await storage.remove(STORAGE_KEYS.refresh)
+ await storage.remove(STORAGE_KEYS.user)
+ opts.onAuthFailure?.()
+ }
+ }
+ return Promise.reject(error)
+ },
+ )
+
+ const authAPI = {
+ login: (data: types.LoginRequest) => api.post<{ data: types.AuthResponse }>('/auth/login', data).then(unwrap),
+ register: (data: types.RegisterRequest) => api.post<{ data: types.AuthResponse }>('/auth/register', data).then(unwrap),
+ }
+
+ const userAPI = {
+ me: () => api.get<{ data: types.User }>('/me').then(unwrap),
+ getSettings: () => api.get<{ data: types.UserSettings }>('/settings').then(unwrap),
+ updateSettings: (data: Partial<types.UserSettings>) => api.put<{ data: types.UserSettings }>('/settings', data).then(unwrap),
+ deleteAccount: () => api.delete('/me'),
+ }
+
+ const workoutAPI = {
+ list: (params?: { limit?: number; offset?: number; q?: string }) =>
+ api.get<{ data: types.Workout[] }>('/workouts', { params }).then(unwrap),
+ get: (id: number) => api.get<{ data: types.Workout }>(`/workouts/${id}`).then(unwrap),
+ create: (data: any) => api.post<{ data: types.Workout }>('/workouts', data).then(unwrap),
+ update: (id: number, data: any) => api.put<{ data: types.Workout }>(`/workouts/${id}`, data).then(unwrap),
+ delete: (id: number) => api.delete(`/workouts/${id}`),
+ }
+
+ let exerciseCache: types.Exercise[] | null = null
+ let exerciseCachePromise: Promise<types.Exercise[]> | null = null
+ const exerciseAPI = {
+ list: (params?: { q?: string; muscle_group?: string; category?: string; equipment?: string }) => {
+ if (params?.q || params?.muscle_group || params?.category || params?.equipment) {
+ return api.get<{ data: types.Exercise[] }>('/exercises', { params }).then(unwrap)
+ }
+ if (exerciseCache) return Promise.resolve(exerciseCache)
+ if (exerciseCachePromise) return exerciseCachePromise
+ exerciseCachePromise = api.get<{ data: types.Exercise[] }>('/exercises', { params: { limit: 1000 } })
+ .then((res) => {
+ exerciseCache = unwrap(res)
+ exerciseCachePromise = null
+ return exerciseCache
+ })
+ return exerciseCachePromise
+ },
+ get: (id: number) => api.get<{ data: types.Exercise }>(`/exercises/${id}`).then(unwrap),
+ getPRs: (id: number) => api.get<{ data: types.PersonalRecord }>(`/exercises/${id}/prs`).then(unwrap),
+ getHistory: (id: number, limit = 20) => api.get<{ data: types.ExerciseHistoryPoint[] }>(`/exercises/${id}/history`, { params: { limit } }).then(unwrap),
+ clearCache: () => { exerciseCache = null; exerciseCachePromise = null },
+ }
+
+ const programAPI = {
+ list: (params?: { limit?: number; offset?: number; q?: string }) => api.get<{ data: types.Program[] }>('/programs', { params }).then(unwrap),
+ get: (id: number) => api.get<{ data: types.Program }>(`/programs/${id}`).then(unwrap),
+ create: (data: any) => api.post<{ data: types.Program }>('/programs', data).then(unwrap),
+ update: (id: number, data: any) => api.put<{ data: types.Program }>(`/programs/${id}`, data).then(unwrap),
+ delete: (id: number) => api.delete(`/programs/${id}`),
+ }
+
+ const weightAPI = {
+ list: (params?: { limit?: number; offset?: number; from?: string; to?: string }) =>
+ api.get<{ data: types.WeightLog[] }>('/weight', { params }).then(unwrap),
+ get: (id: number) => api.get<{ data: types.WeightLog }>(`/weight/${id}`).then(unwrap),
+ log: (data: { weight: number; notes?: string; logged_at?: string }) =>
+ api.post<{ data: types.WeightLog }>('/weight', data).then(unwrap),
+ update: (id: number, data: { weight: number; notes?: string; logged_at?: string }) =>
+ api.patch<{ data: types.WeightLog }>(`/weight/${id}`, data).then(unwrap),
+ delete: (id: number) => api.delete(`/weight/${id}`),
+ stats: () => api.get<{ data: types.WeightStats }>('/weight/stats').then(unwrap),
+ }
+
+ const foodAPI = {
+ list: (date?: string) => api.get<{ data: types.FoodLog[] }>('/food', { params: { date } }).then(unwrap),
+ log: (data: any) => api.post<{ data: types.FoodLog }>('/food', data).then(unwrap),
+ get: (id: number) => api.get<{ data: types.FoodLog }>(`/food/${id}`).then(unwrap),
+ update: (id: number, data: any) => api.patch<{ data: types.FoodLog }>(`/food/${id}`, data).then(unwrap),
+ delete: (id: number) => api.delete(`/food/${id}`),
+ stats: (date?: string) => api.get<{ data: types.DailyStats }>('/food/stats', { params: { date } }).then(unwrap),
+ history: (days = 30) => api.get<{ data: types.FoodHistoryPoint[] }>('/food/history', { params: { days } }).then(unwrap),
+ search: (q: string, limit = 20) => api.get<{ data: types.FoodSearchResult[] }>('/food/search', { params: { q, limit } }).then(unwrap),
+ barcode: (code: string) => api.get<{ data: types.FoodSearchResult }>(`/food/barcode/${code}`).then(unwrap),
+ }
+
+ const savedFoodsAPI = {
+ list: () => api.get<{ data: types.SavedFood[] }>('/food/saved').then(unwrap),
+ create: (data: any) => api.post<{ data: types.SavedFood }>('/food/saved', data).then(unwrap),
+ delete: (id: number) => api.delete(`/food/saved/${id}`),
+ }
+
+ return {
+ api,
+ authAPI,
+ userAPI,
+ workoutAPI,
+ exerciseAPI,
+ programAPI,
+ weightAPI,
+ foodAPI,
+ savedFoodsAPI,
+ }
+}
+
+export type LyftrClient = ReturnType<typeof createClient>
diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts
new file mode 100644
index 0000000..1e927f3
--- /dev/null
+++ b/packages/shared/src/index.ts
@@ -0,0 +1,15 @@
+// @lyftr/shared — platform-agnostic core shared by the web and mobile apps.
+// Contains: domain types, the storage-injected API client, Zustand store factories,
+// and pure utilities. NO UI and NO platform APIs (storage is injected).
+
+export * from './types'
+export * from './storage'
+export * from './client'
+export * from './utils/serverUrl'
+export * from './utils/weight'
+export * from './utils/dateUtils'
+export * from './stores/auth'
+export * from './stores/server'
+export * from './stores/settings'
+export * from './stores/theme'
+export * from './stores/workoutSession'
diff --git a/packages/shared/src/storage.ts b/packages/shared/src/storage.ts
new file mode 100644
index 0000000..14bf2eb
--- /dev/null
+++ b/packages/shared/src/storage.ts
@@ -0,0 +1,18 @@
+// Injected storage abstraction — the one seam that lets the API client and stores
+// be platform-agnostic. Web implements this over localStorage; mobile implements it
+// over expo-secure-store (tokens) + AsyncStorage (prefs). All async so a secure,
+// Keychain-backed implementation is possible.
+export interface StorageAdapter {
+ get(key: string): Promise<string | null>
+ set(key: string, value: string): Promise<void>
+ remove(key: string): Promise<void>
+}
+
+// Canonical storage keys — kept identical to the web app's localStorage keys so a
+// future web migration to @lyftr/shared is a drop-in.
+export const STORAGE_KEYS = {
+ access: 'access_token',
+ refresh: 'refresh_token',
+ user: 'user',
+ serverUrl: 'server_url',
+} as const
diff --git a/packages/shared/src/stores/auth.test.ts b/packages/shared/src/stores/auth.test.ts
new file mode 100644
index 0000000..0becc8d
--- /dev/null
+++ b/packages/shared/src/stores/auth.test.ts
@@ -0,0 +1,79 @@
+import { createAuthStore } from './auth'
+import { createMemoryStorage } from '../testing/memoryStorage'
+import { STORAGE_KEYS } from '../storage'
+import type { LyftrClient } from '../client'
+import type { AuthResponse } from '../types'
+
+const fakeAuthResponse: AuthResponse = {
+ token: 'access-123',
+ refresh_token: 'refresh-456',
+ user: { id: 1, email: '[email protected]', created_at: '2026-01-01T00:00:00Z' },
+}
+
+// Minimal fake client — only the auth endpoints the store touches.
+function fakeClient(overrides: Partial<AuthResponse> = {}, shouldFail = false): LyftrClient {
+ const impl = async () => {
+ if (shouldFail) {
+ const err: any = new Error('bad creds')
+ err.response = { data: { error: 'Invalid email or password' } }
+ throw err
+ }
+ return { ...fakeAuthResponse, ...overrides }
+ }
+ return { authAPI: { login: impl, register: impl } } as unknown as LyftrClient
+}
+
+describe('auth store (storage-adapter DI)', () => {
+ it('login persists tokens+user to storage and flips auth state', async () => {
+ const storage = createMemoryStorage()
+ const useAuth = createAuthStore(fakeClient(), storage)
+
+ await useAuth.getState().login('[email protected]', 'password123')
+
+ const state = useAuth.getState()
+ expect(state.isAuthenticated).toBe(true)
+ expect(state.user?.email).toBe('[email protected]')
+ expect(await storage.get(STORAGE_KEYS.access)).toBe('access-123')
+ expect(await storage.get(STORAGE_KEYS.refresh)).toBe('refresh-456')
+ expect(JSON.parse((await storage.get(STORAGE_KEYS.user))!).id).toBe(1)
+ })
+
+ it('failed login surfaces the server error and stays logged out', async () => {
+ const storage = createMemoryStorage()
+ const useAuth = createAuthStore(fakeClient({}, true), storage)
+
+ await expect(useAuth.getState().login('[email protected]', 'nope')).rejects.toBeTruthy()
+ const state = useAuth.getState()
+ expect(state.isAuthenticated).toBe(false)
+ expect(state.error).toBe('Invalid email or password')
+ expect(await storage.get(STORAGE_KEYS.access)).toBeNull()
+ })
+
+ it('logout clears storage and state', async () => {
+ const storage = createMemoryStorage()
+ const useAuth = createAuthStore(fakeClient(), storage)
+ await useAuth.getState().login('[email protected]', 'password123')
+
+ await useAuth.getState().logout()
+
+ expect(useAuth.getState().isAuthenticated).toBe(false)
+ expect(await storage.get(STORAGE_KEYS.access)).toBeNull()
+ expect(await storage.get(STORAGE_KEYS.user)).toBeNull()
+ })
+
+ it('hydrate restores auth state from seeded storage', async () => {
+ const storage = createMemoryStorage({
+ [STORAGE_KEYS.access]: 'seeded-token',
+ [STORAGE_KEYS.user]: JSON.stringify(fakeAuthResponse.user),
+ })
+ const useAuth = createAuthStore(fakeClient(), storage)
+
+ expect(useAuth.getState().isHydrated).toBe(false)
+ await useAuth.getState().hydrate()
+
+ const state = useAuth.getState()
+ expect(state.isHydrated).toBe(true)
+ expect(state.isAuthenticated).toBe(true)
+ expect(state.user?.email).toBe('[email protected]')
+ })
+})
diff --git a/packages/shared/src/stores/auth.ts b/packages/shared/src/stores/auth.ts
new file mode 100644
index 0000000..3ab909c
--- /dev/null
+++ b/packages/shared/src/stores/auth.ts
@@ -0,0 +1,78 @@
+import { create } from 'zustand'
+import * as types from '../types'
+import { StorageAdapter, STORAGE_KEYS } from '../storage'
+import { LyftrClient, apiErrorMessage } from '../client'
+
+export interface AuthStore {
+ user: types.User | null
+ isAuthenticated: boolean
+ isHydrated: boolean // true once initial storage read completes
+ isLoading: boolean
+ error: string | null
+ hydrate: () => Promise<void>
+ login: (email: string, password: string) => Promise<void>
+ register: (email: string, password: string) => Promise<void>
+ logout: () => Promise<void>
+ clearError: () => void
+}
+
+// Factory — bind the store to a platform client + storage adapter. Unlike the web
+// store (synchronous localStorage read at module init), initial auth state is loaded
+// asynchronously via `hydrate()`, called once at app startup.
+export function createAuthStore(client: LyftrClient, storage: StorageAdapter) {
+ return create<AuthStore>((set) => ({
+ user: null,
+ isAuthenticated: false,
+ isHydrated: false,
+ isLoading: false,
+ error: null,
+
+ hydrate: async () => {
+ const [token, userStr] = await Promise.all([
+ storage.get(STORAGE_KEYS.access),
+ storage.get(STORAGE_KEYS.user),
+ ])
+ const user = userStr ? (JSON.parse(userStr) as types.User) : null
+ set({ user, isAuthenticated: !!token && !!user, isHydrated: true })
+ },
+
+ login: async (email, password) => {
+ set({ isLoading: true, error: null })
+ try {
+ const data = await client.authAPI.login({ email, password })
+ await storage.set(STORAGE_KEYS.access, data.token)
+ await storage.set(STORAGE_KEYS.refresh, data.refresh_token)
+ await storage.set(STORAGE_KEYS.user, JSON.stringify(data.user))
+ set({ user: data.user, isAuthenticated: true, isLoading: false })
+ } catch (err: any) {
+ // Same message logic as the web login page: server-provided error if present,
+ // else a status-aware hint (network/CORS, 5xx, misconfigured URL) via apiErrorMessage.
+ set({ error: apiErrorMessage(err, 'Invalid email or password.'), isLoading: false })
+ throw err
+ }
+ },
+
+ register: async (email, password) => {
+ set({ isLoading: true, error: null })
+ try {
+ const data = await client.authAPI.register({ email, password })
+ await storage.set(STORAGE_KEYS.access, data.token)
+ await storage.set(STORAGE_KEYS.refresh, data.refresh_token)
+ await storage.set(STORAGE_KEYS.user, JSON.stringify(data.user))
+ set({ user: data.user, isAuthenticated: true, isLoading: false })
+ } catch (err: any) {
+ set({ error: apiErrorMessage(err, 'Registration failed.'), isLoading: false })
+ throw err
+ }
+ },
+
+ logout: async () => {
+ await storage.remove(STORAGE_KEYS.access)
+ await storage.remove(STORAGE_KEYS.refresh)
+ await storage.remove(STORAGE_KEYS.user)
+ set({ user: null, isAuthenticated: false, error: null })
+ },
+
+ clearError: () => set({ error: null }),
+ }))
+}
diff --git a/packages/shared/src/stores/server.ts b/packages/shared/src/stores/server.ts
new file mode 100644
index 0000000..31af4d0
--- /dev/null
+++ b/packages/shared/src/stores/server.ts
@@ -0,0 +1,32 @@
+import { create } from 'zustand'
+import { StorageAdapter, STORAGE_KEYS } from '../storage'
+import { normalizeServerUrl } from '../utils/serverUrl'
+
+export interface ServerStore {
+ serverUrl: string // '' = default backend
+ isHydrated: boolean
+ hydrate: () => Promise<void>
+ setServerUrl: (url: string) => Promise<void>
+}
+
+// Factory — bind to a platform storage adapter. `serverUrl` is loaded via hydrate()
+// at startup and persisted on change. normalizeServerUrl rejects scheme-less/garbage
+// input by returning '' (the caller surfaces the error).
+export function createServerStore(storage: StorageAdapter) {
+ return create<ServerStore>((set) => ({
+ serverUrl: '',
+ isHydrated: false,
+
+ hydrate: async () => {
+ const stored = await storage.get(STORAGE_KEYS.serverUrl)
+ set({ serverUrl: stored || '', isHydrated: true })
+ },
+
+ setServerUrl: async (url: string) => {
+ const normalized = normalizeServerUrl(url)
+ if (normalized) await storage.set(STORAGE_KEYS.serverUrl, normalized)
+ else await storage.remove(STORAGE_KEYS.serverUrl)
+ set({ serverUrl: normalized })
+ },
+ }))
+}
diff --git a/packages/shared/src/stores/settings.ts b/packages/shared/src/stores/settings.ts
new file mode 100644
index 0000000..856adc0
--- /dev/null
+++ b/packages/shared/src/stores/settings.ts
@@ -0,0 +1,91 @@
+import { create } from 'zustand'
+import * as types from '../types'
+import { StorageAdapter } from '../storage'
+import { LyftrClient } from '../client'
+
+// Client-only pref keys (device storage, not server-side).
+const LAYOUT_KEY = 'lyftr_workout_layout'
+const REST_ON_KEY = 'lyftr_rest_enabled'
+const REST_SEC_KEY = 'lyftr_rest_seconds'
+
+type ClientPrefs = Pick<types.UserSettings, 'workout_layout' | 'rest_enabled' | 'rest_seconds_default'>
+
+// Client-only prefs — re-applied over any backend fetch so a settings GET/PUT never
+// clobbers them.
+async function clientPrefs(storage: StorageAdapter): Promise<ClientPrefs> {
+ const [layout, restOn, restSec] = await Promise.all([
+ storage.get(LAYOUT_KEY),
+ storage.get(REST_ON_KEY),
+ storage.get(REST_SEC_KEY),
+ ])
+ return {
+ workout_layout: (layout as 'list' | 'gym') ?? 'list',
+ rest_enabled: restOn !== 'false', // default on
+ rest_seconds_default: Number(restSec) || 90,
+ }
+}
+
+const BASE_DEFAULTS: types.UserSettings = {
+ user_id: 0,
+ weight_unit: 'lbs',
+ calorie_target: 2000,
+ protein_target: 150,
+ carb_target: 250,
+ fat_target: 65,
+ workout_layout: 'list',
+ rest_enabled: true,
+ rest_seconds_default: 90,
+}
+
+export interface SettingsStore {
+ settings: types.UserSettings
+ loaded: boolean
+ fetch: () => Promise<void>
+ update: (patch: Partial<types.UserSettings>) => Promise<void>
+ setWorkoutLayout: (layout: 'list' | 'gym') => Promise<void>
+ setRestEnabled: (on: boolean) => Promise<void>
+ setRestSeconds: (secs: number) => Promise<void>
+ reset: () => void
+}
+
+export function createSettingsStore(client: LyftrClient, storage: StorageAdapter) {
+ return create<SettingsStore>((set, get) => ({
+ settings: BASE_DEFAULTS,
+ loaded: false,
+
+ fetch: async () => {
+ if (get().loaded) return
+ const prefs = await clientPrefs(storage)
+ try {
+ const s = await client.userAPI.getSettings()
+ set({ settings: { ...s, ...prefs }, loaded: true })
+ } catch {
+ set({ settings: { ...get().settings, ...prefs }, loaded: true })
+ }
+ },
+
+ update: async (patch) => {
+ set((state) => ({ settings: { ...state.settings, ...patch } }))
+ const updated = await client.userAPI.updateSettings(patch)
+ const prefs = await clientPrefs(storage)
+ set({ settings: { ...updated, ...prefs } })
+ },
+
+ setWorkoutLayout: async (layout) => {
+ await storage.set(LAYOUT_KEY, layout)
+ set((state) => ({ settings: { ...state.settings, workout_layout: layout } }))
+ },
+
+ setRestEnabled: async (on) => {
+ await storage.set(REST_ON_KEY, String(on))
+ set((state) => ({ settings: { ...state.settings, rest_enabled: on } }))
+ },
+
+ setRestSeconds: async (secs) => {
+ await storage.set(REST_SEC_KEY, String(secs))
+ set((state) => ({ settings: { ...state.settings, rest_seconds_default: secs } }))
+ },
+
+ reset: () => set({ settings: BASE_DEFAULTS, loaded: false }),
+ }))
+}
diff --git a/packages/shared/src/stores/theme.ts b/packages/shared/src/stores/theme.ts
new file mode 100644
index 0000000..0771cc9
--- /dev/null
+++ b/packages/shared/src/stores/theme.ts
@@ -0,0 +1,39 @@
+import { create } from 'zustand'
+import { StorageAdapter } from '../storage'
+
+// Mirrors web/src/hooks/useTheme.ts: theme is 'light' | 'dark', persisted under the
+// 'theme' key, with a toggle. The default is a parameter so web (dark-first) and mobile
+// (light-first, per product) can share this logic while choosing their own default.
+export type ThemeMode = 'light' | 'dark'
+const THEME_KEY = 'theme'
+
+export interface ThemeStore {
+ mode: ThemeMode
+ isHydrated: boolean
+ hydrate: () => Promise<void>
+ setMode: (m: ThemeMode) => Promise<void>
+ toggle: () => Promise<void>
+}
+
+export function createThemeStore(storage: StorageAdapter, defaultMode: ThemeMode = 'light') {
+ const persist = async (m: ThemeMode) => {
+ await storage.set(THEME_KEY, m)
+ }
+ return create<ThemeStore>((set, get) => ({
+ mode: defaultMode,
+ isHydrated: false,
+ hydrate: async () => {
+ const stored = await storage.get(THEME_KEY)
+ set({ mode: stored === 'light' || stored === 'dark' ? stored : defaultMode, isHydrated: true })
+ },
+ setMode: async (m) => {
+ await persist(m)
+ set({ mode: m })
+ },
+ toggle: async () => {
+ const next: ThemeMode = get().mode === 'dark' ? 'light' : 'dark'
+ await persist(next)
+ set({ mode: next })
+ },
+ }))
+}
diff --git a/packages/shared/src/stores/workoutSession.test.ts b/packages/shared/src/stores/workoutSession.test.ts
new file mode 100644
index 0000000..3e6d93b
--- /dev/null
+++ b/packages/shared/src/stores/workoutSession.test.ts
@@ -0,0 +1,228 @@
+import { createWorkoutSession, WORKOUT_SESSION_KEY, GYM_UI_KEY } from './workoutSession'
+import { createMemoryStorage } from '../testing/memoryStorage'
+
+// Fresh store + storage per test — replaces the web test's localStorage.clear() +
+// cancelSession() reset (a new factory instance starts empty by construction).
+function setup(seed: Record<string, string> = {}) {
+ const storage = createMemoryStorage(seed)
+ const useStore = createWorkoutSession(storage)
+ return { storage, useStore, store: () => useStore.getState() }
+}
+
+describe('workoutSession rest timer (ephemeral)', () => {
+ it('startRest sets an absolute end timestamp + context', () => {
+ const { store } = setup()
+ const before = Date.now()
+ store().startRest(90, 1, 2)
+ const s = store()
+ expect(s.restEndsAt!).toBeGreaterThanOrEqual(before + 90000 - 100)
+ expect(s.restDurationSec).toBe(90)
+ expect(s.restExIdx).toBe(1)
+ expect(s.restSetIdx).toBe(2)
+ })
+
+ it('adjustRest extends, and clamps so it never goes below now', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ const end1 = store().restEndsAt!
+ store().adjustRest(15)
+ expect(store().restEndsAt!).toBeGreaterThan(end1)
+ store().adjustRest(-9999)
+ expect(store().restEndsAt!).toBeGreaterThanOrEqual(Date.now() - 100)
+ })
+
+ it('clearRest + cancelSession null all rest fields', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ store().clearRest()
+ expect(store().restEndsAt).toBeNull()
+ expect(store().restDurationSec).toBeNull()
+ store().startRest(60, 0, 0)
+ store().cancelSession()
+ expect(store().restEndsAt).toBeNull()
+ })
+
+ it('pauseRest parks the remaining time and stops the live countdown', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ store().pauseRest()
+ const s = store()
+ expect(s.restEndsAt).toBeNull() // live countdown frozen
+ expect(s.restPausedRemainingMs!).toBeGreaterThan(59000)
+ expect(s.restPausedRemainingMs!).toBeLessThanOrEqual(60000)
+ })
+
+ it('resumeRest restores a live end stamp from the parked time', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ store().pauseRest()
+ const parked = store().restPausedRemainingMs!
+ store().resumeRest()
+ const s = store()
+ expect(s.restPausedRemainingMs).toBeNull()
+ expect(s.restEndsAt!).toBeGreaterThanOrEqual(Date.now() + parked - 100)
+ })
+
+ it('adjustRest shifts the parked time while paused', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ store().pauseRest()
+ const parked = store().restPausedRemainingMs!
+ store().adjustRest(15)
+ expect(store().restPausedRemainingMs!).toBeGreaterThanOrEqual(parked + 15000 - 50)
+ expect(store().restDurationSec).toBe(75)
+ })
+
+ it('startRest clears any prior paused state', () => {
+ const { store } = setup()
+ store().startRest(60, 0, 0)
+ store().pauseRest()
+ store().startRest(90, 1, 1)
+ expect(store().restPausedRemainingMs).toBeNull()
+ expect(store().restEndsAt).not.toBeNull()
+ })
+
+ it('adjustRest to 0 while paused finishes the rest (no stuck 0:00 · paused)', () => {
+ const { store } = setup()
+ store().startRest(10, 0, 0)
+ store().pauseRest()
+ store().adjustRest(-15) // parked 10s − 15s ≤ 0
+ const s = store()
+ expect(s.restPausedRemainingMs).toBeNull() // unpaused
+ expect(s.restEndsAt!).toBeLessThanOrEqual(Date.now() + 1) // countdown reads 0 → done
+ })
+
+ it('removeExercise clears the rest so a stale positional restExIdx cannot mislead', () => {
+ const { store } = setup()
+ store().startSession('T', [
+ { exercise_id: 1, exercise: { id: 1, name: 'A' }, notes: '', sets: [{ set_number: 1 }] },
+ { exercise_id: 2, exercise: { id: 2, name: 'B' }, notes: '', sets: [{ set_number: 1 }] },
+ ] as any)
+ store().startRest(60, 0, 0)
+ store().removeExercise(1)
+ expect(store().restEndsAt).toBeNull()
+ expect(store().restExIdx).toBeNull()
+ })
+
+ it('removeSet clears the rest (set indices shift)', () => {
+ const { store } = setup()
+ store().startSession('T', [
+ { exercise_id: 1, exercise: { id: 1, name: 'A' }, notes: '', sets: [{ set_number: 1 }, { set_number: 2 }] },
+ ] as any)
+ store().startRest(60, 0, 1)
+ store().removeSet(0, 0)
+ expect(store().restEndsAt).toBeNull()
+ expect(store().restSetIdx).toBeNull()
+ })
+
+ it('rest state is never written to storage (ephemeral)', async () => {
+ const { store, storage } = setup()
+ store().startSession('T', [])
+ store().startRest(90, 0, 0)
+ const raw = (await storage.get(WORKOUT_SESSION_KEY))!
+ expect(raw).not.toContain('restEndsAt')
+ expect(raw).not.toContain('restDurationSec')
+ })
+})
+
+describe('workoutSession buildPayload — auto-progression (#40)', () => {
+ it('carries program_id and per-set program_set_id for a routine-sourced session', () => {
+ const { store } = setup()
+ store().startSession('Push A', [
+ {
+ exercise_id: 1, exercise: { id: 1, name: 'Bench' }, notes: '',
+ sets: [
+ { set_number: 1, target_reps: 5, target_weight: 100, actual_reps: 5, actual_weight: 105, completed: true, program_set_id: 11 },
+ { set_number: 2, target_reps: 5, target_weight: 100, actual_reps: 6, actual_weight: 100, completed: true, program_set_id: 12 },
+ ],
+ },
+ ] as any, 7)
+ const payload = store().buildPayload()
+ expect(payload.program_id).toBe(7)
+ expect(payload.exercises[0].sets[0].program_set_id).toBe(11)
+ expect(payload.exercises[0].sets[1].program_set_id).toBe(12)
+ // logged actuals are what the backend compares against the target
+ expect(payload.exercises[0].sets[0].weight).toBe(105)
+ expect(payload.exercises[0].sets[1].reps).toBe(6)
+ })
+
+ it('freestyle session sends null program_id and null program_set_id (no progression)', () => {
+ const { store } = setup()
+ store().startSession('Freestyle', [
+ { exercise_id: 1, exercise: { id: 1, name: 'Bench' }, notes: '',
+ sets: [{ set_number: 1, target_reps: 5, target_weight: 100, actual_reps: 0, actual_weight: 0, completed: true }] },
+ ] as any)
+ const payload = store().buildPayload()
+ expect(payload.program_id).toBeNull()
+ expect(payload.exercises[0].sets[0].program_set_id).toBeNull()
+ })
+
+ it('blank actuals fall back to target so logged == target → no false progression', () => {
+ const { store } = setup()
+ store().startSession('Push A', [
+ { exercise_id: 1, exercise: { id: 1, name: 'Bench' }, notes: '',
+ sets: [{ set_number: 1, target_reps: 5, target_weight: 100, actual_reps: 0, actual_weight: 0, completed: true, program_set_id: 11 }] },
+ ] as any, 7)
+ const payload = store().buildPayload()
+ expect(payload.exercises[0].sets[0].reps).toBe(5)
+ expect(payload.exercises[0].sets[0].weight).toBe(100)
+ })
+})
+
+// NEW (mobile-only): the async-hydrate adaptation has its own behavior to pin.
+describe('workoutSession hydrate (async storage adaptation)', () => {
+ it('starts empty and un-hydrated; hydrate() restores seeded session + gym UI', async () => {
+ const session = { name: 'Push A', started_at: '2026-07-01T10:00:00Z', exercises: [], program_id: 7 }
+ const { store } = setup({
+ [WORKOUT_SESSION_KEY]: JSON.stringify(session),
+ [GYM_UI_KEY]: JSON.stringify({ phase: 'exercise', exIdx: 2, setIdx: 1 }),
+ })
+ expect(store().isHydrated).toBe(false)
+ expect(store().session).toBeNull()
+ await store().hydrate()
+ const s = store()
+ expect(s.isHydrated).toBe(true)
+ expect(s.session?.name).toBe('Push A')
+ expect(s.session?.program_id).toBe(7)
+ expect(s.gymPhase).toBe('exercise')
+ expect(s.gymExIdx).toBe(2)
+ expect(s.gymSetIdx).toBe(1)
+ // gymOpen is per-launch UI, never restored
+ expect(s.gymOpen).toBe(false)
+ })
+
+ it('hydrate() with empty/corrupt storage falls back to defaults', async () => {
+ const { store } = setup({ [WORKOUT_SESSION_KEY]: 'not-json{', [GYM_UI_KEY]: 'also-bad{' })
+ await store().hydrate()
+ const s = store()
+ expect(s.isHydrated).toBe(true)
+ expect(s.session).toBeNull()
+ expect(s.gymPhase).toBe('overview')
+ })
+
+ it('hydrate() never resurrects rest-timer state', async () => {
+ const { store } = setup({
+ // Even if a rogue writer stuffed rest fields into the session blob, they are
+ // not store fields — rest state must stay cleared after hydration.
+ [WORKOUT_SESSION_KEY]: JSON.stringify({ name: 'T', started_at: '2026-07-01T10:00:00Z', exercises: [] }),
+ })
+ await store().hydrate()
+ expect(store().restEndsAt).toBeNull()
+ expect(store().restPausedRemainingMs).toBeNull()
+ expect(store().restExIdx).toBeNull()
+ })
+
+ it('mutating actions persist through the adapter without awaiting', async () => {
+ const { store, storage } = setup()
+ store().startSession('T', [
+ { exercise_id: 1, exercise: { id: 1, name: 'A' }, notes: '',
+ sets: [{ set_number: 1, target_reps: 5, target_weight: 100, actual_reps: 0, actual_weight: 0, completed: false }] },
+ ] as any)
+ store().updateSet(0, 0, 'actual_reps', 8)
+ const persisted = JSON.parse((await storage.get(WORKOUT_SESSION_KEY))!)
+ expect(persisted.exercises[0].sets[0].actual_reps).toBe(8)
+ store().cancelSession()
+ expect(await storage.get(WORKOUT_SESSION_KEY)).toBeNull()
+ expect(await storage.get(GYM_UI_KEY)).toBeNull()
+ })
+})
diff --git a/packages/shared/src/stores/workoutSession.ts b/packages/shared/src/stores/workoutSession.ts
new file mode 100644
index 0000000..715d483
--- /dev/null
+++ b/packages/shared/src/stores/workoutSession.ts
@@ -0,0 +1,304 @@
+import { create } from 'zustand'
+import * as types from '../types'
+import { StorageAdapter } from '../storage'
+
+// Same keys as the web app's localStorage — a future web migration to @lyftr/shared
+// is a drop-in. Exported so tests (and hydration seeding) can reference them.
+export const WORKOUT_SESSION_KEY = 'lyftr_active_session'
+export const GYM_UI_KEY = 'lyftr_gym_ui'
+
+export type GymPhase = 'overview' | 'exercise-info' | 'exercise'
+
+type GymUiState = { phase: GymPhase; exIdx: number; setIdx: number }
+
+const DEFAULT_GYM_UI: GymUiState = { phase: 'overview', exIdx: 0, setIdx: 0 }
+
+export interface WorkoutSessionStore {
+ session: types.ActiveSession | null
+ gymOpen: boolean
+ gymPhase: GymPhase
+ gymExIdx: number
+ gymSetIdx: number
+ // Async-storage adaptation (web reads localStorage synchronously at module load;
+ // the mobile StorageAdapter can't) — state starts empty and hydrate() restores the
+ // persisted session + gym UI once at app startup. Rest-timer fields are never
+ // hydrated: they are ephemeral by design.
+ isHydrated: boolean
+ hydrate: () => Promise<void>
+ startSession: (name: string, exercises: types.ActiveSessionExercise[], programId?: number) => void
+ restoreSession: (session: types.ActiveSession) => void
+ updateSet: (exIdx: number, setIdx: number, field: 'actual_reps' | 'actual_weight', val: number) => void
+ completeSet: (exIdx: number, setIdx: number) => void
+ updateExerciseNotes: (exIdx: number, notes: string) => void
+ addSet: (exIdx: number) => void
+ removeSet: (exIdx: number, setIdx: number) => void
+ addExercise: (ex: types.ActiveSessionExercise) => void
+ removeExercise: (exIdx: number) => void
+ buildPayload: () => any
+ cancelSession: () => void
+ openGym: () => void
+ minimizeGym: () => void
+ setGymState: (phase: GymPhase, exIdx: number, setIdx: number) => void
+ setExerciseRest: (exIdx: number, secs: number) => void
+ // Rest timer — ephemeral (never persisted). Survives minimize/restore via the
+ // store singleton; evaporates on app relaunch by design (an absolute timestamp
+ // must not outlive the session moment).
+ restEndsAt: number | null
+ restDurationSec: number | null
+ restExIdx: number | null
+ restSetIdx: number | null
+ // When paused, restEndsAt is nulled and the frozen remaining time is parked here
+ // (ms). This is the single "paused" flag: paused iff restPausedRemainingMs != null.
+ restPausedRemainingMs: number | null
+ startRest: (durationSec: number, exIdx: number, setIdx: number) => void
+ adjustRest: (deltaSec: number) => void
+ pauseRest: () => void
+ resumeRest: () => void
+ clearRest: () => void
+}
+
+// All rest-timer fields nulled — the single "no active rest" state, reused wherever
+// rest is cleared (clearRest, cancelSession, and structural edits that invalidate the
+// positional restExIdx/restSetIdx).
+const CLEARED_REST = {
+ restEndsAt: null, restDurationSec: null, restExIdx: null, restSetIdx: null, restPausedRemainingMs: null,
+} as const
+
+// Factory — bind the store to a platform storage adapter (no API client: the store
+// only builds the finish payload; the caller posts it). Mirrors createThemeStore.
+export function createWorkoutSession(storage: StorageAdapter) {
+ // Fire-and-forget persistence: actions keep the web's synchronous signatures, and
+ // Zustand state is the read model — storage is only the crash/relaunch backup.
+ const saveLocal = (session: types.ActiveSession | null) => {
+ if (session) void storage.set(WORKOUT_SESSION_KEY, JSON.stringify(session))
+ else void storage.remove(WORKOUT_SESSION_KEY)
+ }
+ const saveGymUi = (s: GymUiState) => {
+ void storage.set(GYM_UI_KEY, JSON.stringify(s))
+ }
+
+ return create<WorkoutSessionStore>((set, get) => ({
+ session: null,
+ gymOpen: false,
+ gymPhase: DEFAULT_GYM_UI.phase,
+ gymExIdx: DEFAULT_GYM_UI.exIdx,
+ gymSetIdx: DEFAULT_GYM_UI.setIdx,
+ isHydrated: false,
+ ...CLEARED_REST,
+
+ hydrate: async () => {
+ const [sessionRaw, gymRaw] = await Promise.all([
+ storage.get(WORKOUT_SESSION_KEY),
+ storage.get(GYM_UI_KEY),
+ ])
+ let session: types.ActiveSession | null = null
+ try {
+ session = sessionRaw ? JSON.parse(sessionRaw) : null
+ } catch {
+ session = null
+ }
+ let gym = DEFAULT_GYM_UI
+ try {
+ gym = gymRaw ? JSON.parse(gymRaw) : DEFAULT_GYM_UI
+ } catch {
+ gym = DEFAULT_GYM_UI
+ }
+ // Deliberately does NOT touch rest-timer fields (ephemeral) or gymOpen (the
+ // user decides per-launch whether the gym sheet is expanded).
+ set({ session, gymPhase: gym.phase, gymExIdx: gym.exIdx, gymSetIdx: gym.setIdx, isHydrated: true })
+ },
+
+ startRest: (durationSec, exIdx, setIdx) =>
+ set({ restEndsAt: Date.now() + durationSec * 1000, restDurationSec: durationSec, restExIdx: exIdx, restSetIdx: setIdx, restPausedRemainingMs: null }),
+ adjustRest: (deltaSec) => set(state => {
+ const nextDuration = Math.max(1, (state.restDurationSec ?? 0) + deltaSec)
+ // Adjusting while paused shifts the parked remaining time, not a live end stamp.
+ if (state.restPausedRemainingMs != null) {
+ const nextMs = state.restPausedRemainingMs + deltaSec * 1000
+ // Adjusted to zero while paused → finish it: unpause into the completed
+ // state (restEndsAt = now → countdown reads 0 → done → auto-dismiss), so it
+ // never sticks at "0:00 · paused" with no completion path.
+ if (nextMs <= 0) return { restPausedRemainingMs: null, restEndsAt: Date.now(), restDurationSec: nextDuration }
+ return { restPausedRemainingMs: nextMs, restDurationSec: nextDuration }
+ }
+ if (state.restEndsAt == null) return {}
+ return {
+ restEndsAt: Math.max(Date.now(), state.restEndsAt + deltaSec * 1000),
+ restDurationSec: nextDuration,
+ }
+ }),
+ // Freeze the countdown: park the remaining time and null the live end stamp so
+ // the countdown hook (wherever mounted) stops ticking.
+ pauseRest: () => set(state => {
+ if (state.restEndsAt == null || state.restPausedRemainingMs != null) return {}
+ return { restPausedRemainingMs: Math.max(0, state.restEndsAt - Date.now()), restEndsAt: null }
+ }),
+ resumeRest: () => set(state => {
+ if (state.restPausedRemainingMs == null) return {}
+ return { restEndsAt: Date.now() + state.restPausedRemainingMs, restPausedRemainingMs: null }
+ }),
+ clearRest: () => set({ ...CLEARED_REST }),
+
+ openGym: () => set({ gymOpen: true }),
+ minimizeGym: () => set({ gymOpen: false }),
+ setGymState: (gymPhase, gymExIdx, gymSetIdx) => {
+ saveGymUi({ phase: gymPhase, exIdx: gymExIdx, setIdx: gymSetIdx })
+ set({ gymPhase, gymExIdx, gymSetIdx })
+ },
+
+ startSession: (name, exercises, programId) => {
+ const session: types.ActiveSession = {
+ name,
+ started_at: new Date().toISOString(),
+ exercises,
+ program_id: programId,
+ }
+ saveLocal(session)
+ set({ session })
+ },
+
+ // Put a previously-captured session back verbatim (preserves started_at + logged
+ // sets) — powers "Undo" after a discard. Unlike startSession it starts nothing new.
+ restoreSession: (session) => {
+ saveLocal(session)
+ set({ session })
+ },
+
+ updateSet: (exIdx, setIdx, field, val) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) =>
+ i !== exIdx ? ex : {
+ ...ex,
+ sets: ex.sets.map((s, j) => j === setIdx ? { ...s, [field]: val } : s),
+ }
+ )
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ completeSet: (exIdx, setIdx) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) =>
+ i !== exIdx ? ex : {
+ ...ex,
+ sets: ex.sets.map((s, j) => j === setIdx ? { ...s, completed: !s.completed } : s),
+ }
+ )
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ updateExerciseNotes: (exIdx, notes) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) => i !== exIdx ? ex : { ...ex, notes })
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ setExerciseRest: (exIdx, secs) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) => i !== exIdx ? ex : { ...ex, rest_seconds: secs })
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ addSet: (exIdx) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) => {
+ if (i !== exIdx) return ex
+ const last = ex.sets[ex.sets.length - 1]
+ return {
+ ...ex,
+ sets: [...ex.sets, {
+ set_number: ex.sets.length + 1,
+ target_reps: last?.target_reps ?? 0,
+ target_weight: last?.target_weight ?? 0,
+ actual_reps: last?.actual_reps ?? 0,
+ actual_weight: last?.actual_weight ?? 0,
+ completed: false,
+ }],
+ }
+ })
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ removeSet: (exIdx, setIdx) => {
+ const session = get().session
+ if (!session) return
+ const exercises = session.exercises.map((ex, i) => {
+ if (i !== exIdx) return ex
+ const newSets = ex.sets
+ .filter((_, j) => j !== setIdx)
+ .map((s, j) => ({ ...s, set_number: j + 1 }))
+ return { ...ex, sets: newSets }
+ })
+ const updated = { ...session, exercises }
+ saveLocal(updated)
+ // Removing a set shifts set indices, invalidating the positional restSetIdx — cancel
+ // the (ephemeral) rest rather than let it point at the wrong set.
+ set({ session: updated, ...CLEARED_REST })
+ },
+
+ addExercise: (ex) => {
+ const session = get().session
+ if (!session) return
+ const updated = { ...session, exercises: [...session.exercises, ex] }
+ saveLocal(updated)
+ set({ session: updated })
+ },
+
+ removeExercise: (exIdx) => {
+ const session = get().session
+ if (!session) return
+ const updated = { ...session, exercises: session.exercises.filter((_, i) => i !== exIdx) }
+ saveLocal(updated)
+ // filter() shifts exercise indices, invalidating the positional restExIdx — cancel
+ // the (ephemeral) rest so it can't collapse controls on the wrong exercise.
+ set({ session: updated, ...CLEARED_REST })
+ },
+
+ buildPayload: () => {
+ const session = get().session
+ if (!session) return null
+ const durationSec = Math.round((Date.now() - new Date(session.started_at).getTime()) / 1000)
+ return {
+ name: session.name,
+ notes: '',
+ duration: durationSec,
+ started_at: session.started_at,
+ program_id: session.program_id ?? null, // lets the backend auto-progress the routine (#40)
+ exercises: session.exercises.map(ex => ({
+ exercise_id: ex.exercise_id,
+ notes: ex.notes,
+ rest_seconds: ex.rest_seconds,
+ sets: ex.sets.map((s, i) => ({
+ set_number: i + 1,
+ reps: s.actual_reps || s.target_reps,
+ weight: s.actual_weight || s.target_weight,
+ program_set_id: s.program_set_id ?? null, // which routine target this set can progress (#40)
+ })),
+ })),
+ }
+ },
+
+ cancelSession: () => {
+ saveLocal(null)
+ void storage.remove(GYM_UI_KEY)
+ set({
+ session: null, gymOpen: false, gymPhase: 'overview', gymExIdx: 0, gymSetIdx: 0,
+ ...CLEARED_REST,
+ })
+ },
+ }))
+}
diff --git a/packages/shared/src/testing/memoryStorage.ts b/packages/shared/src/testing/memoryStorage.ts
new file mode 100644
index 0000000..933c9a3
--- /dev/null
+++ b/packages/shared/src/testing/memoryStorage.ts
@@ -0,0 +1,15 @@
+import { StorageAdapter } from '../storage'
+
+// In-memory StorageAdapter for tests (and could back a web fallback). Mirrors the
+// async contract so tests exercise the same code path as SecureStore/AsyncStorage.
+export function createMemoryStorage(seed: Record<string, string> = {}): StorageAdapter & {
+ dump: () => Record<string, string>
+} {
+ const store = new Map<string, string>(Object.entries(seed))
+ return {
+ get: async (key) => (store.has(key) ? store.get(key)! : null),
+ set: async (key, value) => { store.set(key, value) },
+ remove: async (key) => { store.delete(key) },
+ dump: () => Object.fromEntries(store),
+ }
+}
diff --git a/packages/shared/src/types.ts b/packages/shared/src/types.ts
new file mode 100644
index 0000000..2b3cdf8
--- /dev/null
+++ b/packages/shared/src/types.ts
@@ -0,0 +1,231 @@
+// Domain types — ported verbatim from web/src/types.ts. Shared by web + mobile.
+export interface User {
+ id: number
+ email: string
+ created_at: string
+ updated_at?: string
+}
+
+export interface UserSettings {
+ user_id: number
+ weight_unit: 'lbs' | 'kg'
+ calorie_target: number
+ protein_target: number
+ carb_target: number
+ fat_target: number
+ workout_layout?: 'list' | 'gym'
+ // Client-only (device storage, not persisted server-side):
+ rest_enabled?: boolean // master rest-timer on/off
+ rest_seconds_default?: number // default rest seconds, seeds new exercises
+}
+
+export interface Exercise {
+ id: number
+ name: string
+ muscle_group: string
+ secondary_muscles: string[]
+ category: string
+ equipment: string
+ description: string
+ image_url?: string
+ video_url?: string
+}
+
+export interface Set {
+ id?: number
+ set_number: number
+ reps: number
+ weight: number
+ duration?: number
+ distance?: number
+ rpe?: number
+ is_warmup?: boolean
+}
+
+export interface WorkoutExercise {
+ id?: number
+ workout_id?: number
+ exercise_id: number
+ order_index?: number
+ notes?: string
+ exercise: Exercise
+ rest_seconds?: number
+ sets: Set[]
+}
+
+export interface Workout {
+ id: number
+ user_id?: number
+ name: string
+ notes?: string
+ duration: number
+ started_at: string
+ created_at: string
+ exercises: WorkoutExercise[]
+}
+
+export interface WeightLog {
+ id: number
+ user_id?: number
+ weight: number
+ notes?: string
+ logged_at: string
+ created_at?: string
+}
+
+export interface FoodLog {
+ id: number
+ user_id?: number
+ name: string
+ meal: 'breakfast' | 'lunch' | 'dinner' | 'snacks'
+ calories: number
+ protein: number
+ carbs: number
+ fat: number
+ fiber?: number
+ servings: number
+ serving_size?: string
+ barcode?: string
+ image_url?: string
+ logged_at: string
+ created_at?: string
+}
+
+export interface DailyStats {
+ date: string
+ total_calories: number
+ total_protein: number
+ total_carbs: number
+ total_fat: number
+ total_fiber: number
+ workout_count: number
+}
+
+export interface FoodSearchResult {
+ name: string
+ brand?: string
+ calories: number
+ protein: number
+ carbs: number
+ fat: number
+ fiber: number
+ serving_size: string
+ image_url?: string
+ source: 'off' | 'saved' | 'manual'
+}
+
+export interface SavedFood {
+ id: number
+ name: string
+ brand?: string
+ calories: number
+ protein: number
+ carbs: number
+ fat: number
+ fiber: number
+ serving_size: string
+ barcode?: string
+}
+
+export interface FoodHistoryPoint {
+ date: string
+ calories: number
+ protein: number
+ carbs: number
+ fat: number
+}
+
+export interface WeightStats {
+ latest: number
+ starting: number
+ min: number
+ max: number
+ avg: number
+ total_entries: number
+ change_7d: number
+ change_30d: number
+}
+
+export interface ProgramSet {
+ id?: number
+ set_number: number
+ target_reps: number
+ target_weight: number
+}
+
+export interface ProgramExercise {
+ id?: number
+ exercise_id: number
+ order_index?: number
+ notes?: string
+ exercise: Exercise
+ rest_seconds?: number
+ sets: ProgramSet[]
+}
+
+export interface Program {
+ id: number
+ name: string
+ notes?: string
+ created_at: string
+ exercises: ProgramExercise[]
+}
+
+export interface ActiveSessionSet {
+ set_number: number
+ target_reps: number
+ target_weight: number
+ actual_reps: number
+ actual_weight: number
+ completed: boolean
+ // Links back to the routine's ProgramSet so finishing can auto-progress that
+ // target (issue #40). Absent for freestyle sessions and ad-hoc added sets.
+ program_set_id?: number
+}
+
+export interface ActiveSessionExercise {
+ exercise_id: number
+ exercise: Exercise
+ notes: string
+ rest_seconds?: number
+ sets: ActiveSessionSet[]
+}
+
+export interface ActiveSession {
+ program_id?: number
+ name: string
+ started_at: string
+ exercises: ActiveSessionExercise[]
+ device_id?: string
+}
+
+export interface AuthResponse {
+ token: string
+ refresh_token: string
+ user: User
+}
+
+export interface PersonalRecord {
+ weight: number
+ reps: number
+ estimated_1rm: number
+ date: string
+ workout_id: number
+}
+
+export interface ExerciseHistoryPoint {
+ date: string
+ max_weight: number
+ total_volume: number
+ sets_count: number
+}
+
+export interface LoginRequest {
+ email: string
+ password: string
+}
+
+export interface RegisterRequest {
+ email: string
+ password: string
+}
diff --git a/packages/shared/src/utils/dateUtils.ts b/packages/shared/src/utils/dateUtils.ts
new file mode 100644
index 0000000..6a13c20
--- /dev/null
+++ b/packages/shared/src/utils/dateUtils.ts
@@ -0,0 +1,40 @@
+// Date helpers for the local-time write / UTC-store pattern used by the weight
+// feature. Ported verbatim from web/src/utils/dateUtils.ts so web and mobile share
+// one implementation.
+//
+// Storage convention: timestamps are persisted as UTC ISO strings.
+// Display convention: rendered in the device's local timezone.
+// Date-only fields ("the date this entry is *for*"): anchored at local noon so the
+// entry's calendar day is robust across all plausible timezone offsets (±12h).
+
+/** Today's calendar date as YYYY-MM-DD in the device's local timezone. */
+export const todayStr = (): string => {
+ const d = new Date()
+ const pad = (n: number) => String(n).padStart(2, '0')
+ return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`
+}
+
+/**
+ * Convert a YYYY-MM-DD calendar date to an ISO timestamp anchored at the user's
+ * local noon, then expressed in UTC. Noon-anchoring keeps the entry on the intended
+ * calendar day for every timezone within ±12h.
+ *
+ * Built without `new Date('YYYY-MM-DDTHH:MM:SS')` because old mobile Safari
+ * (pre-iOS 14.5) parsed that as UTC instead of local; the explicit-component
+ * constructor is locale-safe everywhere.
+ */
+export const dayToIsoNoon = (yyyyMmDd: string): string => {
+ const [y, m, d] = yyyyMmDd.split('-').map(Number)
+ return new Date(y, m - 1, d, 12, 0, 0, 0).toISOString()
+}
+
+/**
+ * Extract a YYYY-MM-DD string in the device's local timezone from any ISO
+ * timestamp. Use this to populate date fields when editing an existing entry so the
+ * displayed date matches what the user originally picked.
+ */
+export const isoToDayInput = (iso: string): string => {
+ const d = new Date(iso)
+ const pad = (n: number) => String(n).padStart(2, '0')
+ return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`
+}
diff --git a/packages/shared/src/utils/serverUrl.test.ts b/packages/shared/src/utils/serverUrl.test.ts
new file mode 100644
index 0000000..2bdbd1b
--- /dev/null
+++ b/packages/shared/src/utils/serverUrl.test.ts
@@ -0,0 +1,19 @@
+import { normalizeServerUrl } from './serverUrl'
+
+describe('normalizeServerUrl', () => {
+ it('empty input -> empty (default backend)', () => {
+ expect(normalizeServerUrl('')).toBe('')
+ expect(normalizeServerUrl(' ')).toBe('')
+ })
+
+ it('keeps a valid absolute origin and strips the path', () => {
+ expect(normalizeServerUrl('http://192.168.1.10:3000')).toBe('http://192.168.1.10:3000')
+ expect(normalizeServerUrl('https://lyftr.example.com/api/v1')).toBe('https://lyftr.example.com')
+ })
+
+ it('rejects scheme-less / whitespace / garbage', () => {
+ expect(normalizeServerUrl('192.168.1.10:3000')).toBe('') // no scheme
+ expect(normalizeServerUrl('ftp://x')).toBe('') // wrong scheme
+ expect(normalizeServerUrl('has space')).toBe('')
+ })
+})
diff --git a/packages/shared/src/utils/serverUrl.ts b/packages/shared/src/utils/serverUrl.ts
new file mode 100644
index 0000000..7a1bd6b
--- /dev/null
+++ b/packages/shared/src/utils/serverUrl.ts
@@ -0,0 +1,21 @@
+// Normalize a user-entered server URL to an absolute origin (scheme + host[:port]).
+// Empty input returns '' — "use the default backend". A non-empty value MUST include
+// an explicit http:// or https:// scheme; a bare host, wrong scheme, or garbage
+// returns '' so the caller can reject it. We deliberately do NOT guess a scheme:
+// silently prepending one hides typos and can pick the wrong protocol.
+//
+// NOTE: uses the global `URL`. In React Native, import 'react-native-url-polyfill/auto'
+// once at app entry so `new URL()` is available (Hermes lacks a complete URL by default).
+export const normalizeServerUrl = (raw: string): string => {
+ const trimmed = raw.trim()
+ if (!trimmed) return ''
+ if (/\s/.test(trimmed)) return '' // a server URL never contains whitespace
+ if (!/^https?:\/\//i.test(trimmed)) return '' // require an explicit http:// or https://
+ try {
+ const u = new URL(trimmed)
+ if (!u.hostname) return ''
+ return `${u.protocol}//${u.host}`
+ } catch {
+ return ''
+ }
+}
diff --git a/packages/shared/src/utils/weight.test.ts b/packages/shared/src/utils/weight.test.ts
new file mode 100644
index 0000000..680f008
--- /dev/null
+++ b/packages/shared/src/utils/weight.test.ts
@@ -0,0 +1,32 @@
+import {
+ displayWeight, displayToLbs, round1, weightError, isValidWeight, resolveWeightLbs, weightShort,
+} from './weight'
+
+describe('weight helpers', () => {
+ it('shows lbs unchanged and converts kg', () => {
+ expect(displayWeight(180, 'lbs')).toBe(180)
+ expect(displayWeight(180, 'kg')).toBe(round1(180 / 2.20462)) // 81.6
+ })
+
+ it('round-trips display->lbs for kg approximately', () => {
+ const kg = displayWeight(180, 'kg')
+ expect(displayToLbs(kg, 'kg')).toBeCloseTo(180, 0)
+ })
+
+ it('validates bounds', () => {
+ expect(weightError(0, 'lbs')).toBe('Enter a valid weight')
+ expect(weightError(-5, 'lbs')).toBe('Enter a valid weight')
+ expect(weightError(185, 'lbs')).toBeNull()
+ expect(isValidWeight(185, 'lbs')).toBe(true)
+ expect(weightError(3000, 'lbs')).toContain(weightShort('lbs'))
+ expect(isValidWeight(3000, 'lbs')).toBe(false)
+ })
+
+ it('resolveWeightLbs keeps original lbs when the shown value is unchanged (no kg drift)', () => {
+ const originalLbs = 180
+ const shown = String(displayWeight(originalLbs, 'kg')) // "81.6"
+ expect(resolveWeightLbs(shown, originalLbs, 'kg')).toBe(originalLbs)
+ // but a real edit converts
+ expect(resolveWeightLbs('82', originalLbs, 'kg')).toBeCloseTo(82 * 2.20462, 5)
+ })
+})
diff --git a/packages/shared/src/utils/weight.ts b/packages/shared/src/utils/weight.ts
new file mode 100644
index 0000000..7bcc966
--- /dev/null
+++ b/packages/shared/src/utils/weight.ts
@@ -0,0 +1,51 @@
+// Pure weight helpers — ported verbatim from web/src/stores/settings.ts. Backend
+// always stores lbs; use these everywhere weight values are read/written/shown.
+
+export const weightLabel = (unit: string) => (unit === 'kg' ? 'kg' : 'lbs')
+export const weightShort = (unit: string) => (unit === 'kg' ? 'kg' : 'lb')
+
+export const lbsToDisplay = (lbs: number, unit: string): number =>
+ unit === 'kg' ? lbs / 2.20462 : lbs
+
+export const displayToLbs = (val: number, unit: string): number =>
+ unit === 'kg' ? val * 2.20462 : val
+
+// Round to 0.1 — enough precision to log exact weights without floating-point noise
+// from the kg conversion.
+export const round1 = (n: number): number => Math.round(n * 10) / 10
+
+// Weight in the user's unit, rounded to 0.1 — use wherever a weight is shown or
+// pre-filled into an input.
+export const displayWeight = (lbs: number, unit: string): number => round1(lbsToDisplay(lbs, unit))
+
+// Volume/aggregate (sum of reps×weight) in the user's unit, as a whole number.
+export const displayVolume = (lbs: number, unit: string): number => Math.round(lbsToDisplay(lbs, unit))
+
+// Bodyweight bounds — mirror the backend (LogWeightRequest: gt=0, lte=2000 lbs) so
+// the user gets instant feedback instead of a round-trip 400.
+export const MAX_WEIGHT_LBS = 2000
+
+// The max in the user's display unit (2000 lb ≈ 907 kg).
+export const maxWeight = (unit: string): number => round1(lbsToDisplay(MAX_WEIGHT_LBS, unit))
+
+// `value` is in the user's display unit. Returns an error message, or null if valid.
+export const weightError = (value: number, unit: string): string | null => {
+ if (!Number.isFinite(value) || value <= 0) return 'Enter a valid weight'
+ if (displayToLbs(value, unit) > MAX_WEIGHT_LBS) {
+ return `Weight must be under ${Math.round(maxWeight(unit))} ${weightShort(unit)}`
+ }
+ return null
+}
+
+export const isValidWeight = (value: number, unit: string): boolean =>
+ weightError(value, unit) === null
+
+// Resolve the lbs value to store when saving an edited weight. Weights are shown
+// rounded to 0.1 in the display unit, so re-converting the shown value back to lbs
+// drifts; if the shown value is unchanged from the original's rounded display, keep
+// the original lbs exactly, and only convert when the user actually changed it.
+export const resolveWeightLbs = (displayValue: string, originalLbs: number, unit: string): number => {
+ const shown = parseFloat(displayValue)
+ if (Number.isFinite(shown) && shown === displayWeight(originalLbs, unit)) return originalLbs
+ return displayToLbs(shown, unit)
+}
diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json
new file mode 100644
index 0000000..7de6002
--- /dev/null
+++ b/packages/shared/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "module": "commonjs",
+ "moduleResolution": "node",
+ "lib": ["ES2020", "DOM"],
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
+ "declaration": false,
+ "noEmit": true,
+ "types": ["jest", "node"]
+ },
+ "include": ["src", "src/**/*.test.ts"]
+}