Skip to content

Colota - Android GPS Location tracker

first commit

Max Dietrich550565c762af
diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 00000000..848943bb
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,2 @@
+BUNDLE_PATH: "vendor/bundle"
+BUNDLE_FORCE_RUBY_PLATFORM: 1
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..0ef09a42
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,4 @@
+module.exports = {
+ root: true,
+ extends: "@react-native",
+};
diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml
new file mode 100644
index 00000000..88862703
--- /dev/null
+++ b/.github/workflows/android-build.yml
@@ -0,0 +1,160 @@
+name: Android Build and Test
+
+on:
+ push:
+ branches: [ main, develop ]
+ pull_request:
+ branches: [ main, develop ]
+ workflow_dispatch:
+
+jobs:
+ lint-and-test:
+ name: Lint & Test
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run ESLint
+ run: npm run lint
+
+ - name: Run TypeScript check
+ run: npx tsc --noEmit
+
+ - name: Run tests
+ run: npm test -- --coverage
+
+ - name: Upload coverage
+ uses: codecov/codecov-action@v3
+ with:
+ files: ./coverage/lcov.info
+ flags: unittests
+ name: codecov-umbrella
+
+ build-android:
+ name: Build Android APK
+ runs-on: ubuntu-latest
+ needs: lint-and-test
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ cache: 'gradle'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Cache Gradle
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.gradle/caches
+ ~/.gradle/wrapper
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
+ restore-keys: |
+ ${{ runner.os }}-gradle-
+
+ - name: Make gradlew executable
+ run: chmod +x android/gradlew
+
+ - name: Build debug APK
+ run: |
+ cd android
+ ./gradlew assembleDebug --no-daemon
+
+ - name: Upload debug APK
+ uses: actions/upload-artifact@v3
+ with:
+ name: app-debug
+ path: android/app/build/outputs/apk/debug/app-debug.apk
+ retention-days: 7
+
+ build-android-release:
+ name: Build Android Release
+ runs-on: ubuntu-latest
+ needs: lint-and-test
+ if: github.ref == 'refs/heads/main'
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ cache: 'gradle'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Decode keystore
+ env:
+ KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
+ run: |
+ echo $KEYSTORE_BASE64 | base64 -d > android/app/release.keystore
+
+ - name: Build release APK
+ env:
+ KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
+ KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
+ KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
+ run: |
+ cd android
+ ./gradlew assembleRelease --no-daemon
+
+ - name: Upload release APK
+ uses: actions/upload-artifact@v3
+ with:
+ name: app-release
+ path: android/app/build/outputs/apk/release/app-release.apk
+ retention-days: 30
+
+ - name: Build release AAB
+ env:
+ KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
+ KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
+ KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
+ run: |
+ cd android
+ ./gradlew bundleRelease --no-daemon
+
+ - name: Upload release AAB
+ uses: actions/upload-artifact@v3
+ with:
+ name: app-release-bundle
+ path: android/app/build/outputs/bundle/release/app-release.aab
+ retention-days: 30
+
+ - name: Clean up keystore
+ if: always()
+ run: rm -f android/app/release.keystore
\ No newline at end of file
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml
new file mode 100644
index 00000000..ae2cc2d2
--- /dev/null
+++ b/.github/workflows/dependency-updates.yml
@@ -0,0 +1,189 @@
+name: Dependency Updates
+
+on:
+ schedule:
+ # Run every Monday at 9 AM UTC
+ - cron: '0 9 * * 1'
+ workflow_dispatch:
+
+jobs:
+ update-dependencies:
+ name: Check for Dependency Updates
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ ref: develop
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Install npm-check-updates
+ run: npm install -g npm-check-updates
+
+ - name: Check for updates
+ run: |
+ ncu > updates.txt
+ cat updates.txt
+
+ - name: Create issue if updates available
+ uses: actions/github-script@v7
+ with:
+ script: |
+ const fs = require('fs');
+ const updates = fs.readFileSync('updates.txt', 'utf8');
+
+ if (updates.includes('β†’')) {
+ const issueBody = `## πŸ“¦ Dependency Updates Available
+
+ The following packages have updates available:
+
+ \`\`\`
+ ${updates}
+ \`\`\`
+
+ ### How to update:
+
+ \`\`\`bash
+ # Update all packages
+ ncu -u
+ npm install
+
+ # Or update specific packages
+ npm update package-name
+ \`\`\`
+
+ **Note**: Test thoroughly after updating, especially major version changes.
+
+ ---
+ *Automatically generated by dependency-update workflow*`;
+
+ const issues = await github.rest.issues.listForRepo({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ state: 'open',
+ labels: 'dependencies'
+ });
+
+ const existingIssue = issues.data.find(issue =>
+ issue.title === 'πŸ“¦ Dependency Updates Available'
+ );
+
+ if (existingIssue) {
+ // Update existing issue
+ await github.rest.issues.update({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: existingIssue.number,
+ body: issueBody
+ });
+ console.log('Updated existing issue');
+ } else {
+ // Create new issue
+ await github.rest.issues.create({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ title: 'πŸ“¦ Dependency Updates Available',
+ body: issueBody,
+ labels: ['dependencies', 'maintenance']
+ });
+ console.log('Created new issue');
+ }
+ } else {
+ console.log('No updates available');
+ }
+
+ security-audit:
+ name: Security Audit
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run npm audit
+ id: audit
+ run: npm audit --audit-level=moderate --json > audit.json
+ continue-on-error: true
+
+ - name: Create security issue if vulnerabilities found
+ uses: actions/github-script@v7
+ with:
+ script: |
+ const fs = require('fs');
+ let auditData;
+
+ try {
+ auditData = JSON.parse(fs.readFileSync('audit.json', 'utf8'));
+ } catch (e) {
+ console.log('No audit data found');
+ return;
+ }
+
+ if (auditData.metadata && auditData.metadata.vulnerabilities) {
+ const vulns = auditData.metadata.vulnerabilities;
+ const total = vulns.moderate + vulns.high + vulns.critical;
+
+ if (total > 0) {
+ const issueBody = `## 🚨 Security Vulnerabilities Detected
+
+ **Severity Breakdown:**
+ - Critical: ${vulns.critical}
+ - High: ${vulns.high}
+ - Moderate: ${vulns.moderate}
+
+ ### Action Required:
+
+ \`\`\`bash
+ # Review vulnerabilities
+ npm audit
+
+ # Fix automatically (if possible)
+ npm audit fix
+
+ # Force fix (use with caution)
+ npm audit fix --force
+ \`\`\`
+
+ **⚠️ Important**: Review changes carefully before committing, especially with \`--force\` flag.
+
+ ---
+ *Automatically generated by security-audit workflow*`;
+
+ const issues = await github.rest.issues.listForRepo({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ state: 'open',
+ labels: 'security'
+ });
+
+ const existingIssue = issues.data.find(issue =>
+ issue.title.includes('Security Vulnerabilities Detected')
+ );
+
+ if (!existingIssue) {
+ await github.rest.issues.create({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ title: `🚨 Security Vulnerabilities Detected (${total} found)`,
+ body: issueBody,
+ labels: ['security', 'critical']
+ });
+ console.log('Created security issue');
+ }
+ }
+ }
\ No newline at end of file
diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml
new file mode 100644
index 00000000..b45193c2
--- /dev/null
+++ b/.github/workflows/pr-checks.yml
@@ -0,0 +1,102 @@
+name: Pull Request Checks
+
+on:
+ pull_request:
+ branches: [ main, develop ]
+
+jobs:
+ pr-checks:
+ name: PR Quality Checks
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Check code formatting
+ run: |
+ npm run format:check || echo "::warning::Code formatting issues found. Run 'npm run format' locally."
+
+ - name: Run linter
+ run: npm run lint
+
+ - name: Check TypeScript
+ run: npx tsc --noEmit
+
+ - name: Run tests with coverage
+ run: npm test -- --coverage --watchAll=false
+
+ - name: Check test coverage
+ run: |
+ COVERAGE=$(cat coverage/coverage-summary.json | jq '.total.lines.pct')
+ echo "Test coverage: $COVERAGE%"
+ if (( $(echo "$COVERAGE < 70" | bc -l) )); then
+ echo "::warning::Test coverage is below 70%"
+ fi
+
+ - name: Size analysis
+ run: |
+ npm run build || echo "Build command not found, skipping"
+ du -sh node_modules/ || true
+
+ - name: Comment PR with build info
+ uses: actions/github-script@v7
+ with:
+ script: |
+ const fs = require('fs');
+ let coverage = 'N/A';
+ try {
+ const coverageData = JSON.parse(fs.readFileSync('coverage/coverage-summary.json', 'utf8'));
+ coverage = `${coverageData.total.lines.pct.toFixed(2)}%`;
+ } catch (e) {}
+
+ const comment = `## Build Status βœ…
+
+ - **Linting**: Passed
+ - **TypeScript**: Passed
+ - **Tests**: Passed
+ - **Coverage**: ${coverage}
+
+ Ready for review!`;
+
+ github.rest.issues.createComment({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: comment
+ });
+
+ security-check:
+ name: Security Audit
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Run npm audit
+ run: npm audit --audit-level=moderate
+ continue-on-error: true
+
+ - name: Check for vulnerable dependencies
+ run: |
+ npm install -g npm-audit-resolver
+ npm audit --json | npm-audit-resolver --audit-level=moderate
+ continue-on-error: true
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..8f5ce732
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,80 @@
+name: Release
+
+on:
+ push:
+ tags:
+ - 'v*.*.*'
+
+jobs:
+ build-release:
+ name: Build Release APK & AAB
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ cache: 'npm'
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ cache: 'gradle'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Decode keystore
+ env:
+ KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
+ run: |
+ echo $KEYSTORE_BASE64 | base64 -d > android/app/release.keystore
+
+ - name: Build release APK
+ env:
+ KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
+ KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
+ KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
+ run: |
+ cd android
+ ./gradlew assembleRelease --no-daemon
+
+ - name: Build release AAB
+ env:
+ KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
+ KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
+ KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
+ run: |
+ cd android
+ ./gradlew bundleRelease --no-daemon
+
+ - name: Get version from tag
+ id: version
+ run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
+
+ - name: Rename APK
+ run: |
+ mv android/app/build/outputs/apk/release/app-release.apk \
+ android/app/build/outputs/apk/release/colota-${{ steps.version.outputs.VERSION }}.apk
+
+ - name: Create GitHub Release
+ uses: softprops/action-gh-release@v1
+ with:
+ files: |
+ android/app/build/outputs/apk/release/colota-${{ steps.version.outputs.VERSION }}.apk
+ android/app/build/outputs/bundle/release/app-release.aab
+ draft: false
+ prerelease: false
+ generate_release_notes: true
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Clean up keystore
+ if: always()
+ run: rm -f android/app/release.keystore
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..a80bb3ef
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,91 @@
+# OSX
+#
+.DS_Store
+
+# Xcode
+#
+build/
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+xcuserdata
+*.xccheckout
+*.moved-aside
+DerivedData
+*.hmap
+*.ipa
+*.xcuserstate
+**/.xcode.env.local
+
+# Android/IntelliJ
+#
+build/
+.idea
+.gradle
+local.properties
+*.iml
+*.hprof
+.cxx/
+android/gradle.properties
+android/local.properties
+!debug.keystore
+.kotlin/
+
+# Android Keystores
+*.keystore
+*.jks
+keystore.properties
+key.properties
+
+# Debug keystore
+debug.keystore
+
+# Release keystore location
+/android/app/release.keystore
+/android/keystores/
+
+# node.js
+#
+node_modules/
+npm-debug.log
+yarn-error.log
+# fastlane
+#
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
+# screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://docs.fastlane.tools/best-practices/source-control/
+
+**/fastlane/report.xml
+**/fastlane/Preview.html
+**/fastlane/screenshots
+**/fastlane/test_output
+
+# Bundle artifact
+*.jsbundle
+
+# Ruby / CocoaPods
+**/Pods/
+/vendor/bundle/
+
+# Temporary files created by Metro to check the health of the file watcher
+.metro-health-check*
+
+# testing
+/coverage
+
+# Yarn
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/sdks
+!.yarn/versions
+
+
+testers
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..515bcd4f
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,2 @@
+package.json
+package-lock.json
\ No newline at end of file
diff --git a/.watchmanconfig b/.watchmanconfig
new file mode 100644
index 00000000..0967ef42
--- /dev/null
+++ b/.watchmanconfig
@@ -0,0 +1 @@
+{}
diff --git a/App.tsx b/App.tsx
new file mode 100644
index 00000000..66c1ec67
--- /dev/null
+++ b/App.tsx
@@ -0,0 +1,135 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useMemo } from "react";
+import { NavigationContainer } from "@react-navigation/native";
+import { createNativeStackNavigator } from "@react-navigation/native-stack";
+import { SafeAreaProvider } from "react-native-safe-area-context";
+import { StatusBar, Platform } from "react-native";
+import { ThemeProvider, useTheme } from "./src/hooks/useTheme";
+import { TrackingProvider } from "./src/contexts/TrackingProvider";
+import {
+ DashboardScreen,
+ SettingsScreen,
+ ApiSettingsScreen,
+ GeofenceScreen,
+ DataManagementScreen,
+ LocationInspectorScreen,
+ ExportDataScreen,
+ AboutScreen,
+} from "./src/screens/";
+
+const Stack = createNativeStackNavigator();
+
+const SCREEN_CONFIG = [
+ {
+ name: "Dashboard",
+ component: DashboardScreen,
+ title: "Dashboard",
+ },
+ {
+ name: "Settings",
+ component: SettingsScreen,
+ title: "Settings",
+ },
+ {
+ name: "API Config",
+ component: ApiSettingsScreen,
+ title: "API Config",
+ },
+ {
+ name: "Geofences",
+ component: GeofenceScreen,
+ title: "Geofences",
+ },
+ {
+ name: "Locations Inspector",
+ component: LocationInspectorScreen,
+ title: "Locations Inspector",
+ },
+ {
+ name: "Export Data",
+ component: ExportDataScreen,
+ title: "Export Data",
+ },
+ {
+ name: "Data Management",
+ component: DataManagementScreen,
+ title: "Data Management",
+ },
+ {
+ name: "About Colota",
+ component: AboutScreen,
+ title: "About Colota",
+ },
+] as const;
+
+function AppNavigator() {
+ const { colors, isDark } = useTheme();
+
+ const screenOptions = useMemo(
+ () => ({
+ headerStyle: {
+ backgroundColor: colors.background,
+ elevation: 0,
+ shadowOpacity: 0,
+ },
+ headerTintColor: colors.text,
+ headerTitleStyle: {
+ fontWeight: "bold" as const,
+ fontSize: 18,
+ color: colors.text,
+ },
+ headerTitleAlign: "left" as const,
+ headerBackTitleVisible: false,
+ ...(Platform.OS === "android" && {
+ animation: "slide_from_right" as const,
+ }),
+ }),
+ [colors]
+ );
+
+ const statusBarConfig = useMemo(
+ () => ({
+ // Dark mode: white icons, Light mode: dark icons
+ barStyle: isDark ? ("light-content" as const) : ("dark-content" as const),
+ backgroundColor: colors.background,
+ translucent: false,
+ animated: true,
+ }),
+ [colors.background, isDark]
+ );
+
+ return (
+ <SafeAreaProvider>
+ <StatusBar {...statusBarConfig} />
+ <NavigationContainer>
+ <Stack.Navigator
+ initialRouteName="Dashboard"
+ screenOptions={screenOptions}
+ >
+ {SCREEN_CONFIG.map((screen) => (
+ <Stack.Screen
+ key={screen.name}
+ name={screen.name}
+ component={screen.component}
+ options={{ headerTitle: screen.title }}
+ />
+ ))}
+ </Stack.Navigator>
+ </NavigationContainer>
+ </SafeAreaProvider>
+ );
+}
+
+export default function App() {
+ return (
+ <ThemeProvider>
+ <TrackingProvider>
+ <AppNavigator />
+ </TrackingProvider>
+ </ThemeProvider>
+ );
+}
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 00000000..6a4c5f17
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,16 @@
+source 'https://rubygems.org'
+
+# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
+ruby ">= 2.6.10"
+
+# Exclude problematic versions of cocoapods and activesupport that causes build failures.
+gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
+gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
+gem 'xcodeproj', '< 1.26.0'
+gem 'concurrent-ruby', '< 1.3.4'
+
+# Ruby 3.4.0 has removed some libraries from the standard library.
+gem 'bigdecimal'
+gem 'logger'
+gem 'benchmark'
+gem 'mutex_m'
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..be3f7b28
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,661 @@
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU Affero General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<https://www.gnu.org/licenses/>.
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..4aa2a6ea
--- /dev/null
+++ b/README.md
@@ -0,0 +1,925 @@
+# Colota
+
+[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
+[![Android](https://img.shields.io/badge/Platform-Android-green.svg)](https://developer.android.com)
+[![Kotlin](https://img.shields.io/badge/Language-Kotlin-purple.svg)](https://kotlinlang.org)
+![Android Build](https://github.com/dietrichmax/colota/workflows/Android%20Build%20and%20Test/badge.svg)
+![Release](https://github.com/dietrichmax/colota/workflows/Release/badge.svg)
+
+**Self-hosted GPS tracking app for Android**
+
+Colota is an open-source GPS tracker designed for users who run their own server infrastructure. Track your location with complete privacy and controlβ€”no cloud dependency, no third-party services, no data sharing.
+
+[Download on Google Play](#) | [View Screenshots](#screenshots) | [Documentation](#documentation)
+
+---
+
+## Features
+
+### 🏠 Self-Hosted
+
+- **Optional REST API connection** to your own server
+- **Works completely offline** without any server
+- **HTTPS-encrypted** data transmission (HTTP allowed for localhost development)
+- Compatible with **Dawarich**, **OwnTracks**, **Home Assistant**, **Traccar**, **NodeRED**
+- Free choice of backend system
+
+### πŸ“ GPS Tracking
+
+- **High-precision positioning** (HIGH_ACCURACY mode)
+- **Configurable intervals** (1 second to hours)
+- Records: coordinates, accuracy, altitude, speed, bearing, battery status
+- **Accuracy filter** for invalid GPS fixes
+- **Movement threshold** - only record if moved X meters
+- **Foreground service** for reliable 24/7 background tracking
+- **Smart retry logic** with exponential backoff
+
+### πŸ›‘οΈ Geofencing
+
+- **Unlimited geofence zones** (silent zones)
+- **Automatic tracking pause** in defined areas
+- Freely adjustable radius
+- Event notifications on zone entry/exit
+- **Battery optimization** through GPS pause in zones
+- **Instant zone detection** with Haversine distance calculation
+
+### πŸ“‘ Sync Modes
+
+- **Instant Mode**: Send each position immediately (0s)
+- **Batch Mode**: Batch transmission (1/5/15 minutes)
+- **Manual Mode**: Synchronize only on demand
+- **Offline Mode**: Pure local storage without network
+- **Intelligent retry**: Failed uploads retry with backoff (30s β†’ 60s β†’ 5min β†’ 15min)
+- **Network-aware**: Auto-sync when network becomes available
+- **Queue management**: Automatic cleanup of permanently failed items
+
+### πŸ”‹ Battery Optimized
+
+- **Up to 12 hours continuous runtime** in high-accuracy mode
+- **85% fewer database queries** through intelligent caching
+- **Notification throttling** (max 1 update per 5 seconds)
+- **Battery status caching** (checked every 30s instead of per location)
+- **Memory leak fixes** with proper coroutine lifecycle management
+- **Automatic stop at critical battery** (<5% unplugged)
+- **Batch processing** (50 items per sync, 10 parallel requests)
+
+### πŸ” Privacy & Security
+
+- **100% Open Source** (AGPL-3.0)
+- **No telemetry or analytics**
+- **No third-party tracking SDKs**
+- **HTTPS-only** server communication (except localhost)
+- **Data stays on your device** or your server
+- **No cloud services** - fully self-contained
+
+---
+
+## Screenshots
+
+<table>
+ <tr>
+ <td><img src="https://github.com/dietrichmax/colota/blob/main/screenshots/mobile/original/Dashboard.png" alt="Dashboard" width="200"/></td>
+ <td><img src="https://github.com/dietrichmax/colota/blob/main/screenshots/mobile/original/Geofences.png" alt="Geofences" width="200"/></td>
+ <td><img src="https://github.com/dietrichmax/colota/blob/main/screenshots/mobile/original/Settings.png" alt="Settings" width="200"/></td>
+ <td><img src="https://github.com/dietrichmax/colota/blob/main/screenshots/mobile/original/DataManagement.png" alt="Database" width="200"/></td>
+ </tr>
+ <tr>
+ <td align="center">Dashboard</td>
+ <td align="center">Geofences</td>
+ <td align="center">Settings</td>
+ <td align="center">Database</td>
+ </tr>
+</table>
+
+---
+
+## Installation
+
+### From Google Play
+
+[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="Get it on Google Play" height="80">](#)
+
+### From Releases
+
+1. Download the latest APK from [Releases](https://github.com/dietrichmax/colota/releases)
+2. Enable "Install from Unknown Sources" in Android settings
+3. Install the APK
+
+### Build from Source
+
+```bash
+git clone https://github.com/dietrichmax/colota.git
+cd colota
+npm install
+./gradlew assembleRelease
+```
+
+APK will be in `android/app/build/outputs/apk/release/`
+
+---
+
+## Quick Start
+
+### 1. Basic Setup (Offline Mode)
+
+1. Install the app
+2. Grant location permissions (**precise location**)
+3. Disable battery optimization for Colota
+4. Press "β–Ά Start Tracking"
+5. View live coordinates on dashboard
+
+**That's it!** The app works completely offline.
+
+### 2. Server Integration
+
+#### Option A: Dawarich
+
+```bash
+# In Colota settings:
+Endpoint: https://dawarich.yourdomain.com/api/v1/owntracks/points?api_key=YOUR_KEY
+Sync Mode: Instant or Batch (5 minutes recommended)
+```
+
+#### Option B: Home Assistant
+
+```yaml
+# configuration.yaml
+rest_command:
+ colota_location:
+ url: "https://homeassistant.local/api/webhook/colota"
+ method: POST
+ content_type: "application/json"
+```
+
+#### Option C: Custom Server
+
+Create a simple endpoint that accepts POST requests:
+
+```javascript
+// Node.js example
+app.post("/api/location", (req, res) => {
+ const { lat, lon, acc, alt, vel, batt, bs, tst, bear } = req.body;
+
+ // Validate required fields
+ if (!lat || !lon) {
+ return res.status(400).send("Missing coordinates");
+ }
+
+ // Save to database
+ saveLocation({ lat, lon, acc, alt, vel, batt, bs, tst, bear });
+
+ res.status(200).send("OK");
+});
+```
+
+```bash
+# In Colota settings:
+Endpoint: https://yourserver.com/api/location
+Sync Mode: Batch (5 minutes)
+Max Retries: 5
+```
+
+---
+
+## Server Setup
+
+### Dawarich Integration
+
+1. **Install Dawarich** (see [Dawarich docs](https://github.com/Freika/dawarich))
+
+2. **Get API Key** from Dawarich settings
+
+3. **Configure Colota**:
+ ```
+ Endpoint: https://dawarich.yourdomain.com/api/v1/owntracks/points?api_key=YOUR_API_KEY
+ Field Mapping: Default (OwnTracks compatible)
+ Sync Mode: Batch (5 minutes)
+ ```
+
+### OwnTracks Integration
+
+```bash
+# Colota endpoint:
+https://owntracks.yourdomain.com/pub
+
+# Compatible with OwnTracks Recorder
+# Uses OwnTracks-compatible JSON format
+```
+
+### Traccar Integration
+
+```bash
+# Colota endpoint:
+https://traccar.yourdomain.com/api/positions
+
+# Use Traccar's REST API
+# May require custom field mapping
+```
+
+### Custom Backend
+
+**Minimum server requirements:**
+
+- Accepts HTTPS POST requests (HTTP allowed for localhost: 127.0.0.1, 192.168.x.x, 10.x.x.x)
+- Parses JSON payload
+- Returns 200-299 status code on success
+- Optional: Authentication via headers or query params
+
+**Example payload:**
+
+```json
+{
+ "lat": 51.495065,
+ "lon": -0.043945,
+ "acc": 12,
+ "alt": 519,
+ "vel": 0,
+ "batt": 85,
+ "bs": 2,
+ "tst": 1704067200,
+ "bear": 0.0
+}
+```
+
+**Field mapping** (fully customizable in app):
+
+- `lat` - Latitude (required)
+- `lon` - Longitude (required)
+- `acc` - Accuracy in meters
+- `alt` - Altitude in meters (optional)
+- `vel` - Velocity/Speed in m/s (optional, only if moving)
+- `batt` - Battery level 0-100
+- `bs` - Battery status: 0=unknown, 1=unplugged, 2=charging, 3=full
+- `tst` - Timestamp in Unix seconds
+- `bear` - Bearing/Direction in degrees (optional)
+
+---
+
+## Configuration
+
+### Sync Presets
+
+Choose from optimized presets or create custom settings:
+
+| Preset | Interval | Distance | Sync Interval | Best For |
+| --------------- | -------- | -------- | ------------- | --------------- |
+| **Instant** | 2s | 5m | Instant | City navigation |
+| **Balanced** | 5s | 10m | 5 minutes | Daily commute |
+| **Power Saver** | 30s | 50m | 15 minutes | Long trips |
+| **Custom** | 1s-∞ | 0m-∞ | 0s-∞ | Advanced users |
+
+### GPS Settings
+
+| Setting | Description | Default | Range |
+| ------------------ | ------------------------------------ | --------- | ---------- |
+| Tracking Interval | Time between GPS fixes | 5 seconds | 1s - hours |
+| Movement Threshold | Minimum movement to trigger update | 0 meters | 0m - 1000m |
+| Accuracy Threshold | Filter out fixes above this accuracy | 50 meters | 0m - 1000m |
+| Filter Inaccurate | Enable/disable accuracy filtering | Enabled | On/Off |
+
+### Server Settings
+
+| Setting | Description | Default | Range |
+| -------------- | ----------------------------------- | --------------- | ----------- |
+| Endpoint | HTTPS URL of your server | Empty (offline) | - |
+| Sync Interval | Batch mode interval | Instant (0) | 0s - 60min |
+| Retry Interval | Time between retry attempts | 30 seconds | 30s - 15min |
+| Max Retries | Maximum retry attempts per location | 5 | 3, 5, 10, ∞ |
+| Offline Mode | Disable all network activity | Disabled | On/Off |
+
+### Advanced Settings
+
+- **Custom field mapping** for any JSON structure
+- **Retry strategy**: Exponential backoff with configurable intervals
+- **Queue management**: Automatic cleanup of failed items after max retries
+- **Network detection**: Auto-sync when connection becomes available
+
+### Field Mapping
+
+Customize JSON field names to match your server's API:
+
+```json
+// Default mapping
+{
+ "lat": 48.1351,
+ "lon": 11.5820,
+ "acc": 12
+}
+
+// Custom mapping (e.g., for specific backend)
+{
+ "latitude": 48.1351,
+ "longitude": 11.5820,
+ "accuracy_m": 12,
+ "timestamp_unix": 1704067200
+}
+```
+
+---
+
+## Geofencing (Silent Zones)
+
+Create zones where tracking automatically pauses:
+
+### Use Cases
+
+- **Home**: Don't track when at home (privacy)
+- **Work**: Pause tracking during work hours
+- **Friends/Family**: Respect privacy when visiting others
+- **Battery saving**: Stop GPS in areas you visit frequently
+
+### Setup
+
+1. Go to "Geofences" tab
+2. Tap "Add Geofence"
+3. Set name, coordinates, radius
+4. Enable "Pause Tracking"
+5. Save
+
+### How it Works
+
+- **Zone detection** uses Haversine formula (1-2ms per check)
+- When entering a silent zone, GPS stops updating
+- Notification shows "Paused: [Zone Name]"
+- When exiting, tracking **automatically resumes** with notification update
+- Saves battery by stopping GPS in defined areas
+- Zone checks happen every location update (minimal overhead)
+
+### Performance
+
+- **Fast**: Geofence checks cached for 1 minute (optional optimization)
+- **Accurate**: Uses great-circle distance calculation
+- **Battery efficient**: No unnecessary GPS updates in zones
+- **Instant**: Zone entry/exit detected within 1 GPS interval
+
+---
+
+## API Documentation
+
+### REST Endpoint Requirements
+
+**Method:** `POST`
+
+**Headers:**
+
+```
+Content-Type: application/json
+Accept: application/json (optional)
+```
+
+**Body:**
+
+```json
+{
+ "lat": 48.135124,
+ "lon": 11.581981,
+ "acc": 12,
+ "alt": 519,
+ "vel": 0,
+ "batt": 85,
+ "bs": 2,
+ "tst": 1704067200,
+ "bear": 180.5
+}
+```
+
+**Success Response:**
+
+```
+Status: 200-299
+Body: Any (ignored)
+```
+
+**Error Handling:**
+
+- **4xx errors**: Logged, retried according to settings
+- **5xx errors**: Exponential backoff applied
+- **Network timeout**: Retried with backoff (15s connection, 15s read)
+- **Max retries exceeded**: Item removed from queue and logged
+
+**Retry Strategy:**
+
+```
+Attempt 1: Immediate
+Attempt 2: +30s delay
+Attempt 3: +60s delay (1 minute)
+Attempt 4: +300s delay (5 minutes)
+Attempt 5+: +900s delay (15 minutes)
+```
+
+After **max retries** (default: 5), failed items are automatically removed from the queue to prevent accumulation.
+
+---
+
+## Architecture
+
+### Tech Stack
+
+- **Language**: Kotlin 1.9+
+- **Min SDK**: 26 (Android 8.0)
+- **Target SDK**: 35 (Android 15)
+- **Architecture**: MVVM with Kotlin Coroutines
+- **Database**: SQLite with Write-Ahead Logging (WAL)
+- **Location**: Google Play Services (FusedLocationProvider)
+- **Network**: HttpURLConnection + Kotlin Coroutines
+- **UI**: React Native with TypeScript
+
+### Project Structure
+
+```
+app/src/main/java/com/colota/
+β”œβ”€β”€ MainActivity.kt # Entry point
+β”œβ”€β”€ LocationForegroundService.kt # Background tracking service
+β”œβ”€β”€ LocationServiceModule.kt # React Native bridge
+β”œβ”€β”€ LocationDatabaseHelper.kt # SQLite database
+β”œβ”€β”€ LocationUtils.kt # Utilities (network, battery, geo)
+β”œβ”€β”€ LocationBootReceiver.kt # Auto-start after reboot
+└── contexts/
+ └── TrackingProvider.tsx # React Native state management
+```
+
+### Key Components
+
+**LocationForegroundService**
+
+- Manages GPS tracking lifecycle with coroutine scopes
+- Handles geofence detection with Haversine calculations
+- Queues and syncs data to server with retry logic
+- **Battery optimizations**:
+ - Notification throttling (5s max)
+ - Database query caching (3s cache)
+ - Battery status caching (30s cache)
+ - Batch processing (50 items, 10 parallel)
+
+**LocationDatabaseHelper**
+
+- SQLite database with WAL mode enabled
+- **Optimized indexes** on frequently queried columns
+- **Prepared statements** for retry count increments
+- Queue management with automatic cleanup
+- **Combined stats query** (1 query instead of 5)
+- Settings persistence with CONFLICT_REPLACE
+
+**LocationUtils**
+
+- Network communication with proper HTTP/HTTPS handling
+- **Battery status monitoring** with caching
+- **Geofence calculations** (Haversine formula)
+- JSON payload building with custom field mapping
+- **Connection pooling** via cached ConnectivityManager
+
+### Performance Optimizations
+
+1. **Database**:
+
+ - Strategic indexes on queue, locations, geofences
+ - Combined queries reduce round trips by 80%
+ - Prepared statements for hot paths
+ - WAL mode enables concurrent reads/writes
+
+2. **Caching**:
+
+ - Queue count: 3s cache β†’ 85% fewer queries
+ - Battery status: 30s cache
+ - Notification: Text-based deduplication
+
+3. **Network**:
+
+ - Batch sync: 10 parallel requests via async/await
+ - Connection reuse via lazy initialization
+ - Smart retry with exponential backoff
+
+4. **Memory**:
+ - Proper coroutine scopes with SupervisorJob
+ - No memory leaks (scope.cancel() in onDestroy)
+ - Efficient data structures (Triple instead of Map)
+
+---
+
+## Battery Optimization
+
+Colota is heavily optimized for long-running background tracking:
+
+### Optimizations Applied
+
+- **Notification throttling**: Max 1 update per 5 seconds (was unlimited)
+- **DB query caching**: 85% reduction in database queries
+- **Battery status caching**: Checked every 30s instead of per location
+- **Batch processing**: 50 items per batch, 10 concurrent network requests
+- **Memory leak fixes**: Proper coroutine lifecycle management
+- **Smart sync**: Only syncs when queue has items and network available
+- **Geofence caching**: Optional 1-minute cache for zone calculations
+
+### Battery Life Estimates
+
+| Mode | Estimated Runtime | GPS Interval | Notes |
+| ------------------ | ----------------- | ------------ | ------------------------ |
+| **High Accuracy** | 10-12 hours | 2-5 seconds | Full precision tracking |
+| **Balanced** | 18-24 hours | 30 seconds | Good balance |
+| **Eco Mode** | 36-48 hours | 5 minutes | Periodic position checks |
+| **With Geofences** | +20-40% | Any | GPS off in zones |
+
+_Based on typical Android device with 4000mAh battery_
+
+### Tips for Better Battery Life
+
+1. **Increase GPS interval** (5s β†’ 30s or higher)
+2. **Enable accuracy filtering** (reject poor GPS fixes)
+3. **Use batch sync** instead of instant (reduces network usage)
+4. **Create geofences** for home/work (GPS stops in zones)
+5. **Enable movement threshold** (10-50m, only record significant movement)
+6. **Disable battery optimization** for Colota (prevents Android from killing service)
+
+---
+
+## Privacy
+
+### Data Collection
+
+**Colota collects ZERO data about you.**
+
+- ❌ No analytics
+- ❌ No crash reporting (unless you opt-in via system)
+- ❌ No telemetry
+- ❌ No advertising IDs
+- ❌ No user accounts
+- ❌ No cloud services
+- βœ… 100% local or self-hosted
+
+### Data Storage
+
+- All location data stored locally in SQLite
+- Database location: `/data/data/com.Colota/databases/Colota.db`
+- Only sent to **YOUR** server if configured
+- Can operate **100% offline** forever
+- No automatic uploads to third parties
+
+### Network Communication
+
+- **HTTPS required** for non-localhost endpoints
+- **HTTP allowed** for local development (127.0.0.1, 192.168.x.x, 10.x.x.x)
+- No telemetry or analytics endpoints
+- Only communicates with **your configured server**
+- Network can be completely disabled (offline mode)
+
+### Permissions Required
+
+| Permission | Required | Purpose |
+| -------------------- | -------- | ---------------------------------------- |
+| Location (Precise) | Yes | GPS tracking (app purpose) |
+| Foreground Service | Yes | Background tracking with notification |
+| Boot Completed | Optional | Auto-start after device reboot |
+| Internet | Optional | Server sync (not needed for offline use) |
+| Battery Optimization | Exempt | Prevent Android from killing service |
+
+---
+
+## Contributing
+
+Contributions are welcome! Please follow these guidelines:
+
+### Reporting Issues
+
+1. Check if issue already exists in [Issues](https://github.com/dietrichmax/colota/issues)
+2. Provide device info (model, Android version, Colota version)
+3. Include logs if possible (`adb logcat | grep Colota`)
+4. Describe steps to reproduce
+5. Attach screenshots if relevant
+
+### Pull Requests
+
+1. Fork the repository
+2. Create feature branch (`git checkout -b feature/amazing-feature`)
+3. Make your changes with clear commit messages
+4. Test thoroughly on real device
+5. Update documentation if needed
+6. Push to branch (`git push origin feature/amazing-feature`)
+7. Open Pull Request with detailed description
+
+### Code Style
+
+- Follow Kotlin conventions and best practices
+- Use meaningful variable names
+- Comment complex logic and algorithms
+- Add unit tests for new features
+- Ensure no memory leaks (proper coroutine lifecycle)
+- Update README if adding user-facing features
+
+### Areas Needing Help
+
+- [ ] iOS version (Swift/SwiftUI)
+- [ ] Wear OS companion app
+- [ ] Alternative location providers (non-Google)
+- [ ] Advanced analytics/visualization
+- [ ] Additional backend integrations
+- [ ] Internationalization (i18n)
+
+---
+
+## Development
+
+### Prerequisites
+
+- Android Studio Iguana (2023.2.1) or newer
+- JDK 17
+- Android SDK (API 26-35)
+- Node.js 18+ (for React Native)
+- npm or yarn
+
+### Setup Development Environment
+
+```bash
+# Clone repository
+git clone https://github.com/dietrichmax/colota.git
+cd colota
+
+# Install dependencies
+npm install
+
+# Start Metro bundler
+npm start
+
+# In another terminal, run on Android
+npm run android
+
+# View logs
+npx react-native log-android
+```
+
+### Build APK
+
+```bash
+# Debug build
+cd android
+./gradlew assembleDebug
+
+# Release build (requires keystore)
+./gradlew assembleRelease
+
+# APK location:
+# Debug: android/app/build/outputs/apk/debug/app-debug.apk
+# Release: android/app/build/outputs/apk/release/app-release.apk
+```
+
+### Run Tests
+
+```bash
+# Kotlin unit tests
+cd android
+./gradlew test
+
+# Instrumented tests (requires connected device/emulator)
+./gradlew connectedAndroidTest
+
+# React Native tests
+npm test
+```
+
+### Debugging
+
+```bash
+# View Android logs
+adb logcat | grep -E "Colota|LocationService|LocationDB"
+
+# View all app logs
+adb logcat --pid=$(adb shell pidof -s com.Colota)
+
+# Clear app data
+adb shell pm clear com.Colota
+
+# View database
+adb pull /data/data/com.Colota/databases/Colota.db
+sqlite3 Colota.db
+```
+
+---
+
+## Troubleshooting
+
+### App doesn't track in background
+
+**Solution:**
+
+- Go to Settings β†’ Apps β†’ Colota β†’ Battery
+- Select "Unrestricted" or "Don't optimize"
+- Verify location permissions are "Allow all the time"
+- Ensure foreground notification is visible
+- Check if service is running: `adb shell dumpsys activity services | grep Colota`
+
+### GPS accuracy is poor
+
+**Solution:**
+
+- Wait for GPS lock (can take 30-60 seconds initially)
+- Move to open area (away from buildings, trees)
+- Check if "High Accuracy" is enabled in device location settings
+- Verify accuracy threshold in app (try 50-100m)
+- Ensure "Filter Inaccurate Locations" is enabled
+- Check if device has good GPS hardware (some cheap phones struggle)
+
+### Server sync not working
+
+**Diagnosis:**
+
+1. Check endpoint URL format (must be `https://` or `http://localhost`)
+2. Use "Test Connection" button in settings
+3. Check server logs for incoming requests
+4. Verify network connectivity
+5. Check queue count in database stats
+6. Try manual flush to isolate issue
+
+**Common Issues:**
+
+- **HTTPS required**: Non-localhost endpoints must use HTTPS
+- **Wrong endpoint**: Verify URL is correct
+- **Server not reachable**: Check firewall, DNS, SSL certificate
+- **Authentication**: Ensure API key/token is correct
+- **Field mapping**: Server may expect different JSON structure
+
+### Battery draining too fast
+
+**Solutions:**
+
+- Increase GPS interval: 5s β†’ 30s (600% battery improvement)
+- Enable geofences for home/work (20-40% savings when in zones)
+- Use batch sync instead of instant (reduces network overhead)
+- Enable movement threshold: 10-50m (skip stationary updates)
+- Enable accuracy filtering (reject poor GPS fixes that drain battery)
+- Check for other battery-draining apps
+- Review app battery usage in Android settings
+- Ensure latest version of Colota (performance improvements)
+
+### Database growing too large
+
+**Solutions:**
+
+- Use "Clear Sent History" to remove synced locations
+- Use "Delete Older Than X Days" for automatic cleanup
+- Export data first if you want to keep it
+- Use "Vacuum Database" to reclaim space
+- Consider lower tracking frequency if you don't need high precision
+
+**Database size estimates:**
+
+- 1 location β‰ˆ 200 bytes
+- 10,000 locations β‰ˆ 2 MB
+- 100,000 locations β‰ˆ 20 MB
+
+### Queue not syncing
+
+**Diagnosis:**
+
+```
+1. Check Stats:
+ - Queued: Shows items waiting to sync
+ - Sent: Shows successfully synced items
+ - Total: All locations captured
+
+2. If Queued > 0 but not decreasing:
+ - Check offline mode (Settings β†’ Connection)
+ - Verify endpoint is configured
+ - Check network connectivity
+ - Review server logs
+ - Try manual flush
+ - Check max retries setting
+
+3. If Queue growing indefinitely:
+ - Server may be rejecting requests
+ - Check retry count in Data Management
+ - Items exceeding max retries are auto-removed
+```
+
+### App crashes on startup
+
+**Solution:**
+
+- Clear app data: Settings β†’ Apps β†’ Colota β†’ Storage β†’ Clear Data
+- Reinstall app
+- Check Android version compatibility (requires Android 8.0+)
+- Report issue with crash logs: `adb logcat -d > crash.log`
+
+---
+
+## FAQ
+
+**Q: Does this app track me without my knowledge?**
+A: No. Tracking only happens when you explicitly press "Start Tracking". You have full control. The app shows a persistent notification when tracking is active.
+
+**Q: Do I need a server to use this app?**
+A: No. The app works completely offline and can store unlimited location history locally. Server integration is optional for backup/analysis.
+
+**Q: What data does the app send to the internet?**
+A: Only GPS data to **YOUR** server, and only if you configure an endpoint. No analytics, no telemetry, no third-party services. You can verify this in the source code.
+
+**Q: Is this compatible with Google Timeline?**
+A: No, but you can use Dawarich or a custom backend to create similar functionality with full control over your data.
+
+**Q: Can I use this for fleet management?**
+A: Yes, if you set up your own backend to handle multiple devices. Each device would need Colota installed and configured to your server.
+
+**Q: Does this work without Google Play Services?**
+A: Currently no, it requires Play Services for FusedLocationProvider. A future version may support alternative location providers.
+
+**Q: Why AGPL-3.0 license?**
+A: To ensure that any modifications remain open source, especially for server-side components. If you modify Colota and run it as a service, you must share your changes.
+
+**Q: How accurate is the tracking?**
+A: In ideal conditions (open sky, good GPS signal): 3-10 meters. In urban areas or buildings: 10-50 meters. Accuracy filtering helps remove poor GPS fixes.
+
+**Q: Can I export my location history?**
+A: Yes, through Data Management you can view raw database data. Future versions may include GPX/KML export.
+
+**Q: Does this drain battery like other tracking apps?**
+A: Colota is optimized for efficiency with caching and batching. Expect 10-12 hours of high-accuracy tracking, better with optimized settings.
+
+**Q: What's the difference between "Sent" and "Total" in stats?**
+A: **Total** = all locations captured. **Sent** = successfully synced to server. **Queued** = waiting to sync. Total = Sent + Queued.
+
+---
+
+## Roadmap
+
+### Planned Features
+
+- [ ] **GPX/KML export** for location history
+- [ ] **iOS version** (Swift/SwiftUI)
+- [ ] **Wear OS companion app** for quick start/stop
+- [ ] **Advanced statistics** (distance traveled, time spent in zones)
+- [ ] **Automation rules** (e.g., start tracking when leaving home)
+- [ ] **Multiple profiles** (work, personal, travel)
+- [ ] **Bluetooth beacon support** for indoor tracking
+- [ ] **Alternative location providers** (non-Google)
+- [ ] **Dark/Light theme customization**
+- [ ] **Widgets** for quick access
+- [ ] **Internationalization** (multi-language support)
+
+### Under Consideration
+
+- Tile/OSM map provider option
+- Activity recognition (driving, walking, biking)
+- OBD-II integration for vehicle tracking
+- NFC tag triggers for automation
+- Web dashboard for visualization
+
+---
+
+## License
+
+```
+Colota - Self-Hosted GPS Tracking App
+Copyright (C) 2026 Max Dietrich
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published
+by the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+```
+
+See [LICENSE](LICENSE) file for full text.
+
+---
+
+## Acknowledgments
+
+- [React Native](https://reactnative.dev/) - Cross-platform mobile framework
+- [Google Play Services](https://developers.google.com/android/guides/overview) - Location APIs
+- [Dawarich](https://github.com/Freika/dawarich) - Self-hosted location history service
+- [OwnTracks](https://owntracks.org/) - Inspiration for self-hosted tracking
+- [Kotlin Coroutines](https://kotlinlang.org/docs/coroutines-overview.html) - Async programming
+- All contributors and testers who helped improve Colota
+
+---
+
+## Support
+
+- **Issues**: [GitHub Issues](https://github.com/dietrichmax/colota/issues)
+- **Discussions**: [GitHub Discussions](https://github.com/dietrichmax/colota/discussions)
+- **Email**: [email protected]
+- **Documentation**: [Wiki](https://github.com/dietrichmax/colota/wiki)
+
+---
+
+## Donate
+
+If you find this app useful, consider supporting development:
+
+- **GitHub Sponsors**: [Sponsor @dietrichmax](https://github.com/sponsors/dietrichmax)
+- **Ko-fi**: [Buy me a coffee](https://ko-fi.com/maxdietrich)
+
+Your support helps maintain and improve Colota for the entire self-hosting community!
+
+---
+
+**Made with ❀️ for the self-hosting community**
+
+_Privacy-focused β€’ Self-hosted β€’ Open Source_
+
+[⬆ Back to top](#colota)
diff --git a/__tests__/App.test.tsx b/__tests__/App.test.tsx
new file mode 100644
index 00000000..2012a669
--- /dev/null
+++ b/__tests__/App.test.tsx
@@ -0,0 +1,13 @@
+/**
+ * @format
+ */
+
+import React from "react";
+import ReactTestRenderer from "react-test-renderer";
+import App from "../App";
+
+test("renders correctly", async () => {
+ await ReactTestRenderer.act(() => {
+ ReactTestRenderer.create(<App />);
+ });
+});
diff --git a/android/app/build copy.backup b/android/app/build copy.backup
new file mode 100644
index 00000000..225f1ae3
--- /dev/null
+++ b/android/app/build copy.backup
@@ -0,0 +1,143 @@
+apply plugin: "com.android.application"
+apply plugin: "org.jetbrains.kotlin.android"
+apply plugin: "com.facebook.react"
+
+/**
+ * This is the configuration block to customize your React Native Android app.
+ * By default you don't need to apply any configuration, just uncomment the lines you need.
+ */
+react {
+ /* Folders */
+ // The root of your project, i.e. where "package.json" lives. Default is '../..'
+ // root = file("../../")
+ // The folder where the react-native NPM package is. Default is ../../node_modules/react-native
+ // reactNativeDir = file("../../node_modules/react-native")
+ // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
+ // codegenDir = file("../../node_modules/@react-native/codegen")
+ // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
+ // cliFile = file("../../node_modules/react-native/cli.js")
+
+ /* Variants */
+ // The list of variants to that are debuggable. For those we're going to
+ // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
+ // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
+ // debuggableVariants = ["liteDebug", "prodDebug"]
+
+ /* Bundling */
+ // A list containing the node command and its flags. Default is just 'node'.
+ // nodeExecutableAndArgs = ["node"]
+ //
+ // The command to run when bundling. By default is 'bundle'
+ // bundleCommand = "ram-bundle"
+ //
+ // The path to the CLI configuration file. Default is empty.
+ // bundleConfig = file(../rn-cli.config.js)
+ //
+ // The name of the generated asset file containing your JS bundle
+ // bundleAssetName = "MyApplication.android.bundle"
+ //
+ // The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
+ // entryFile = file("../js/MyApplication.android.js")
+ //
+ // A list of extra flags to pass to the 'bundle' commands.
+ // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
+ // extraPackagerArgs = []
+
+ /* Hermes Commands */
+ // The hermes compiler command to run. By default it is 'hermesc'
+ // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
+ //
+ // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
+ // hermesFlags = ["-O", "-output-source-map"]
+
+ /* Autolinking */
+ autolinkLibrariesWithApp()
+}
+
+/**
+ * Set this to true to run Proguard on Release builds.
+ * It minifies bytecode, reduces app size, and makes reverse-engineering harder.
+ */
+def enableProguardInReleaseBuilds = true
+
+/**
+ * The preferred build flavor of JavaScriptCore (JSC)
+ *
+ * For example, to use the international variant, you can use:
+ * `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
+ *
+ * The international variant includes ICU i18n library and necessary data
+ * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
+ * give correct results when using with locales other than en-US. Note that
+ * this variant is about 6MiB larger per architecture than default.
+ */
+def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
+
+android {
+ ndkVersion rootProject.ext.ndkVersion
+ buildToolsVersion rootProject.ext.buildToolsVersion
+ compileSdk rootProject.ext.compileSdkVersion
+
+ namespace "com.Colota"
+ defaultConfig {
+ applicationId "com.Colota"
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
+ versionCode 3
+ versionName "1.0.2"
+
+ // Expose build config to the module
+ buildConfigField "int", "MIN_SDK_VERSION", "${rootProject.ext.minSdkVersion}"
+ buildConfigField "int", "TARGET_SDK_VERSION", "${rootProject.ext.targetSdkVersion}"
+ buildConfigField "int", "COMPILE_SDK_VERSION", "${rootProject.ext.compileSdkVersion}"
+ buildConfigField "String", "BUILD_TOOLS_VERSION", "\"${rootProject.ext.buildToolsVersion}\""
+ buildConfigField "String", "KOTLIN_VERSION", "\"${rootProject.ext.kotlinVersion}\""
+ buildConfigField "String", "NDK_VERSION", "\"${rootProject.ext.ndkVersion}\""
+ }
+ signingConfigs {
+ debug {
+ storeFile file('debug.keystore')
+ storePassword 'android'
+ keyAlias 'androiddebugkey'
+ keyPassword 'android'
+ }
+ /**
+ * Release signing configuration.
+ * Credentials should be stored in gradle.properties for security.
+ */
+ release {
+ if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
+ // file() sucht relativ zum Verzeichnis dieser build.gradle (also im app-Ordner)
+ storeFile file(MYAPP_UPLOAD_STORE_FILE)
+ storePassword MYAPP_UPLOAD_STORE_PASSWORD
+ keyAlias MYAPP_UPLOAD_KEY_ALIAS
+ keyPassword MYAPP_UPLOAD_KEY_PASSWORD
+ }
+ }
+ }
+ buildTypes {
+ debug {
+ signingConfig signingConfigs.debug
+ }
+ release {
+ // Caution! In production, you need to generate your own keystore file.
+ // see https://reactnative.dev/docs/signed-apk-android.
+ signingConfig signingConfigs.release
+ minifyEnabled enableProguardInReleaseBuilds
+ proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
+ }
+ }
+}
+
+dependencies {
+ // The version of react-native is set by the React Native Gradle Plugin
+ implementation("com.facebook.react:react-android")
+ implementation 'com.google.android.gms:play-services-location:21.0.1'
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
+
+ if (hermesEnabled.toBoolean()) {
+ implementation("com.facebook.react:hermes-android")
+ } else {
+ implementation jscFlavor
+ }
+}
\ No newline at end of file
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 00000000..6dad0ed5
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,154 @@
+apply plugin: "com.android.application"
+apply plugin: "org.jetbrains.kotlin.android"
+apply plugin: "com.facebook.react"
+
+/**
+ * This is the configuration block to customize your React Native Android app.
+ * By default you don't need to apply any configuration, just uncomment the lines you need.
+ */
+react {
+ /* Folders */
+ // The root of your project, i.e. where "package.json" lives. Default is '../..'
+ // root = file("../../")
+ // The folder where the react-native NPM package is. Default is ../../node_modules/react-native
+ // reactNativeDir = file("../../node_modules/react-native")
+ // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
+ // codegenDir = file("../../node_modules/@react-native/codegen")
+ // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
+ // cliFile = file("../../node_modules/react-native/cli.js")
+
+ /* Variants */
+ // The list of variants to that are debuggable. For those we're going to
+ // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
+ // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
+ // debuggableVariants = ["liteDebug", "prodDebug"]
+
+ /* Bundling */
+ // A list containing the node command and its flags. Default is just 'node'.
+ // nodeExecutableAndArgs = ["node"]
+ //
+ // The command to run when bundling. By default is 'bundle'
+ // bundleCommand = "ram-bundle"
+ //
+ // The path to the CLI configuration file. Default is empty.
+ // bundleConfig = file(../rn-cli.config.js)
+ //
+ // The name of the generated asset file containing your JS bundle
+ // bundleAssetName = "MyApplication.android.bundle"
+ //
+ // The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
+ // entryFile = file("../js/MyApplication.android.js")
+ //
+ // A list of extra flags to pass to the 'bundle' commands.
+ // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
+ // extraPackagerArgs = []
+
+ /* Hermes Commands */
+ // The hermes compiler command to run. By default it is 'hermesc'
+ // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
+ //
+ // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
+ // hermesFlags = ["-O", "-output-source-map"]
+
+ /* Autolinking */
+ autolinkLibrariesWithApp()
+}
+
+/**
+ * Set this to true to run Proguard on Release builds.
+ * It minifies bytecode, reduces app size, and makes reverse-engineering harder.
+ */
+def enableProguardInReleaseBuilds = true
+
+/**
+ * The preferred build flavor of JavaScriptCore (JSC)
+ *
+ * For example, to use the international variant, you can use:
+ * `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
+ *
+ * The international variant includes ICU i18n library and necessary data
+ * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
+ * give correct results when using with locales other than en-US. Note that
+ * this variant is about 6MiB larger per architecture than default.
+ */
+def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
+
+android {
+ ndkVersion rootProject.ext.ndkVersion
+ buildToolsVersion rootProject.ext.buildToolsVersion
+ compileSdk rootProject.ext.compileSdkVersion
+
+ namespace "com.Colota"
+ defaultConfig {
+ applicationId "com.Colota"
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
+ versionCode 3
+ versionName "1.0.2"
+
+ // Expose build config to the module
+ buildConfigField "int", "MIN_SDK_VERSION", "${rootProject.ext.minSdkVersion}"
+ buildConfigField "int", "TARGET_SDK_VERSION", "${rootProject.ext.targetSdkVersion}"
+ buildConfigField "int", "COMPILE_SDK_VERSION", "${rootProject.ext.compileSdkVersion}"
+ buildConfigField "String", "BUILD_TOOLS_VERSION", "\"${rootProject.ext.buildToolsVersion}\""
+ buildConfigField "String", "KOTLIN_VERSION", "\"${rootProject.ext.kotlinVersion}\""
+ buildConfigField "String", "NDK_VERSION", "\"${rootProject.ext.ndkVersion}\""
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('debug.keystore')
+ storePassword 'android'
+ keyAlias 'androiddebugkey'
+ keyPassword 'android'
+ }
+
+ release {
+ if (System.getenv("CI")) {
+ // GitHub Actions environment
+ storeFile file("release.keystore")
+ storePassword System.getenv("KEYSTORE_PASSWORD")
+ keyAlias System.getenv("KEY_ALIAS")
+ keyPassword System.getenv("KEY_PASSWORD")
+ } else if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
+ // Local development with gradle.properties
+ storeFile file(MYAPP_UPLOAD_STORE_FILE)
+ storePassword MYAPP_UPLOAD_STORE_PASSWORD
+ keyAlias MYAPP_UPLOAD_KEY_ALIAS
+ keyPassword MYAPP_UPLOAD_KEY_PASSWORD
+ } else {
+ // Fallback: No signing config available
+ // This will cause release builds to fail, which is expected
+ println "⚠️ WARNING: No release signing configuration found!"
+ println " For local builds: Set up gradle.properties"
+ println " For CI builds: Set GitHub Secrets"
+ }
+ }
+ }
+
+ buildTypes {
+ debug {
+ signingConfig signingConfigs.debug
+ }
+ release {
+ // Caution! In production, you need to generate your own keystore file.
+ // see https://reactnative.dev/docs/signed-apk-android.
+ signingConfig signingConfigs.release
+ minifyEnabled enableProguardInReleaseBuilds
+ proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
+ }
+ }
+}
+
+dependencies {
+ // The version of react-native is set by the React Native Gradle Plugin
+ implementation("com.facebook.react:react-android")
+ implementation 'com.google.android.gms:play-services-location:21.0.1'
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
+
+ if (hermesEnabled.toBoolean()) {
+ implementation("com.facebook.react:hermes-android")
+ } else {
+ implementation jscFlavor
+ }
+}
\ No newline at end of file
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro
new file mode 100644
index 00000000..d469b858
--- /dev/null
+++ b/android/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# React Native basic rules
+-keep class com.facebook.react.bridge.** { *; }
+-keep class com.facebook.react.modules.core.DeviceEventManagerModule$RCTDeviceEventEmitter { *; }
+
+-keep class com.Colota.** { *; }
+
+# Keep Google Play Services Location
+-keep class com.google.android.gms.location.** { *; }
+
+# Standard optimization settings
+-dontwarn com.facebook.react.**
+-keepattributes Signature
\ No newline at end of file
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..2bad1557
--- /dev/null
+++ b/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,84 @@
+<!--
+ Copyright (C) 2026 Max Dietrich
+ Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+-->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Permissions -->
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <!-- Basic location permissions -->
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+
+ <!-- Background location (Android 10+) -->
+ <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
+
+ <!-- Foreground service permission (Android 9+) -->
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+
+ <!-- Foreground service type (Android 10+) -->
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
+
+ <!-- Notification permission (Android 13+) -->
+ <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
+
+ <!-- Network permission -->
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+
+ <!-- Boot Receiver -->
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+
+ <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
+
+ <application
+ android:name=".MainApplication"
+ android:label="@string/app_name"
+ android:icon="@mipmap/ic_launcher"
+ android:roundIcon="@mipmap/ic_launcher"
+ android:allowBackup="false"
+ android:theme="@style/AppTheme"
+ android:supportsRtl="true"
+ android:networkSecurityConfig="@xml/network_security_config"
+ android:usesCleartextTraffic="false">
+
+ <activity
+ android:name=".MainActivity"
+ android:label="@string/app_name"
+ android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
+ android:launchMode="singleTask"
+ android:windowSoftInputMode="adjustPan"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ <!-- Foreground location service -->
+ <service
+ android:name=".LocationForegroundService"
+ android:enabled="true"
+ android:exported="false"
+ android:foregroundServiceType="location"
+ >
+ <intent-filter>
+ <action android:name="com.Colota.RECHECK_SILENT_ZONE" />
+ <action android:name="com.Colota.ACTION_MANUAL_FLUSH" />
+ </intent-filter>
+ </service>
+
+ <!-- Boot Receiver -->
+ <receiver
+ android:name=".LocationBootReceiver"
+ android:enabled="true"
+ android:exported="false">
+ <intent-filter>
+ <action android:name="android.intent.ACTION_BOOT_COMPLETED" />
+ <category android:name="android.intent.CATEGORY_DEFAULT" />
+ </intent-filter>
+ </receiver>
+
+ </application>
+</manifest>
diff --git a/android/app/src/main/java/com/locata/BuildConfigModule.kt b/android/app/src/main/java/com/locata/BuildConfigModule.kt
new file mode 100644
index 00000000..d8050889
--- /dev/null
+++ b/android/app/src/main/java/com/locata/BuildConfigModule.kt
@@ -0,0 +1,30 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+ package com.Colota
+
+import com.facebook.react.bridge.ReactApplicationContext
+import com.facebook.react.bridge.ReactContextBaseJavaModule
+import com.facebook.react.bridge.ReactMethod
+import com.facebook.react.bridge.Promise
+import android.os.Build
+
+class BuildConfigModule(reactContext: ReactApplicationContext) :
+ ReactContextBaseJavaModule(reactContext) {
+
+ override fun getName(): String = "BuildConfigModule"
+
+ override fun getConstants(): Map<String, Any> {
+ return mapOf(
+ "MIN_SDK_VERSION" to BuildConfig.MIN_SDK_VERSION,
+ "TARGET_SDK_VERSION" to BuildConfig.TARGET_SDK_VERSION,
+ "BUILD_TOOLS_VERSION" to BuildConfig.BUILD_TOOLS_VERSION,
+ "COMPILE_SDK_VERSION" to BuildConfig.COMPILE_SDK_VERSION,
+ "KOTLIN_VERSION" to BuildConfig.KOTLIN_VERSION,
+ "NDK_VERSION" to BuildConfig.NDK_VERSION,
+ "VERSION_NAME" to BuildConfig.VERSION_NAME,
+ "VERSION_CODE" to BuildConfig.VERSION_CODE
+ )
+ }
+}
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationBootReceiver.kt b/android/app/src/main/java/com/locata/LocationBootReceiver.kt
new file mode 100644
index 00000000..148553ab
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationBootReceiver.kt
@@ -0,0 +1,124 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.content.BroadcastReceiver
+import android.content.Context
+import android.content.Intent
+import android.os.Build
+import android.util.Log
+import kotlinx.coroutines.CoroutineScope
+import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.launch
+
+/**
+ * Receiver responsible for restarting the location tracking service after device reboot.
+ *
+ * Optimized for:
+ * - Fast execution (doesn't block boot process)
+ * - Proper async database access
+ * - Multiple boot action support
+ * - Better error handling
+ */
+class LocationBootReceiver : BroadcastReceiver() {
+
+ companion object {
+ private const val TAG = "BootReceiver"
+
+ // Supported boot actions for better device compatibility
+ private val BOOT_ACTIONS = setOf(
+ Intent.ACTION_BOOT_COMPLETED,
+ Intent.ACTION_LOCKED_BOOT_COMPLETED,
+ "android.intent.action.QUICKBOOT_POWERON"
+ )
+ }
+
+ override fun onReceive(context: Context, intent: Intent) {
+ val action = intent.action ?: return
+
+ // Check if this is a boot-related action
+ if (action !in BOOT_ACTIONS) return
+
+ // Use goAsync() to prevent ANR during database access
+ val pendingResult = goAsync()
+
+ // Run database check on background thread
+ CoroutineScope(Dispatchers.IO).launch {
+ try {
+ handleBootCompleted(context, action)
+ } catch (e: Exception) {
+ Log.e(TAG, "Error handling boot", e)
+ } finally {
+ // Must call finish() when done
+ pendingResult.finish()
+ }
+ }
+ }
+
+ private fun handleBootCompleted(context: Context, action: String) {
+ try {
+ val dbHelper = LocationDatabaseHelper.getInstance(context.applicationContext)
+ val isEnabled = dbHelper.getSetting("tracking_enabled", "false") == "true"
+
+ if (isEnabled) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Boot detected ($action). Restarting service...")
+ }
+
+ val serviceIntent = Intent(context, LocationForegroundService::class.java).apply {
+ // Pass all settings to service
+ val settings = dbHelper.getAllSettings()
+
+ settings["interval"]?.toLongOrNull()?.let {
+ putExtra("interval", it)
+ }
+ settings["minUpdateDistance"]?.toFloatOrNull()?.let {
+ putExtra("minUpdateDistance", it)
+ }
+ settings["endpoint"]?.let {
+ putExtra("endpoint", it)
+ }
+ settings["syncInterval"]?.toIntOrNull()?.let {
+ putExtra("syncInterval", it)
+ }
+ settings["accuracyThreshold"]?.toFloatOrNull()?.let {
+ putExtra("accuracyThreshold", it)
+ }
+ settings["filterInaccurateLocations"]?.toBooleanStrictOrNull()?.let {
+ putExtra("filterInaccurateLocations", it)
+ }
+ settings["maxRetries"]?.toIntOrNull()?.let {
+ putExtra("maxRetries", it)
+ }
+ settings["retryInterval"]?.toIntOrNull()?.let {
+ putExtra("retryInterval", it)
+ }
+ settings["isOfflineMode"]?.toBooleanStrictOrNull()?.let {
+ putExtra("isOfflineMode", it)
+ }
+ settings["fieldMap"]?.let {
+ putExtra("fieldMap", it)
+ }
+ }
+
+ // Start service based on Android version
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ context.startForegroundService(serviceIntent)
+ } else {
+ context.startService(serviceIntent)
+ }
+ } else {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Boot detected but tracking disabled")
+ }
+ }
+ } catch (e: SecurityException) {
+ Log.e(TAG, "Permission denied when starting service", e)
+ } catch (e: Exception) {
+ Log.e(TAG, "Error restarting service on boot", e)
+ }
+ }
+}
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationDatabaseHelper.kt b/android/app/src/main/java/com/locata/LocationDatabaseHelper.kt
new file mode 100644
index 00000000..5a126dce
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationDatabaseHelper.kt
@@ -0,0 +1,593 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.content.ContentValues
+import android.content.Context
+import android.database.sqlite.SQLiteDatabase
+import android.database.sqlite.SQLiteOpenHelper
+import android.database.sqlite.SQLiteStatement
+import android.util.Log
+import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.withContext
+import java.util.*
+import org.json.JSONObject
+
+/**
+ * SQLite database helper for Colota location tracking.
+ *
+ * Optimized for:
+ * - No cursor leaks (proper resource management)
+ * - Efficient batch operations
+ * - Prepared statements for security & speed
+ * - Strategic indexing for query performance
+ * - Async VACUUM to prevent UI blocking
+ *
+ * @param context The Android [Context] used to open or create the database.
+ */
+class LocationDatabaseHelper private constructor(context: Context) :
+ SQLiteOpenHelper(context, DATABASE_NAME, null, DATABASE_VERSION) {
+
+ companion object {
+ private const val DATABASE_NAME = "Colota.db"
+ private const val DATABASE_VERSION = 1
+
+ const val TABLE_LOCATIONS = "locations"
+ const val TABLE_QUEUE = "queue"
+ const val TABLE_SETTINGS = "settings"
+ const val TABLE_GEOFENCES = "geofences"
+
+ private val DEFAULT_FIELD_MAP = mapOf(
+ "lat" to "lat", "lon" to "lon", "acc" to "acc",
+ "alt" to "alt", "vel" to "vel", "batt" to "batt",
+ "bs" to "bs", "tst" to "tst", "bear" to "bear"
+ )
+
+ private const val TAG = "LocationDB"
+
+ @Volatile
+ private var INSTANCE: LocationDatabaseHelper? = null
+
+ /**
+ * Returns the singleton instance of the [LocationDatabaseHelper].
+ * Using the Application Context prevents memory leaks.
+ */
+ @JvmStatic
+ fun getInstance(context: Context): LocationDatabaseHelper {
+ return INSTANCE ?: synchronized(this) {
+ INSTANCE ?: LocationDatabaseHelper(context.applicationContext).also {
+ INSTANCE = it
+ }
+ }
+ }
+ }
+
+ // Cached prepared statements for better performance
+ private var incrementRetryStmt: SQLiteStatement? = null
+
+ /**
+ * Called when the database is created for the first time.
+ * Creates schema with optimized indexes.
+ */
+ override fun onCreate(db: SQLiteDatabase) {
+ // Create Locations Table
+ db.execSQL("""
+ CREATE TABLE $TABLE_LOCATIONS (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ latitude REAL NOT NULL,
+ longitude REAL NOT NULL,
+ accuracy INTEGER,
+ altitude INTEGER,
+ speed INTEGER,
+ bearing REAL,
+ battery INTEGER,
+ battery_status INTEGER,
+ timestamp INTEGER NOT NULL,
+ endpoint TEXT,
+ created_at INTEGER NOT NULL
+ )
+ """)
+
+ // Create Queue Table with Foreign Key
+ db.execSQL("""
+ CREATE TABLE $TABLE_QUEUE (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ location_id INTEGER NOT NULL,
+ payload TEXT NOT NULL,
+ retry_count INTEGER DEFAULT 0,
+ last_error TEXT,
+ created_at INTEGER NOT NULL,
+ FOREIGN KEY (location_id) REFERENCES $TABLE_LOCATIONS(id) ON DELETE CASCADE
+ )
+ """)
+
+ // Create Settings Table
+ db.execSQL("""
+ CREATE TABLE $TABLE_SETTINGS (
+ key TEXT PRIMARY KEY,
+ value TEXT NOT NULL
+ )
+ """)
+
+ // Create Geofences Table
+ db.execSQL("""
+ CREATE TABLE $TABLE_GEOFENCES (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ name TEXT NOT NULL,
+ latitude REAL NOT NULL,
+ longitude REAL NOT NULL,
+ radius REAL NOT NULL,
+ enabled INTEGER DEFAULT 1,
+ pause_tracking INTEGER DEFAULT 1,
+ notify_enter INTEGER DEFAULT 0,
+ notify_exit INTEGER DEFAULT 0,
+ created_at INTEGER NOT NULL
+ )
+ """)
+
+ // Optimized indexes
+ db.execSQL("CREATE INDEX idx_queue_created ON $TABLE_QUEUE(created_at)")
+ db.execSQL("CREATE INDEX idx_queue_location ON $TABLE_QUEUE(location_id)")
+ db.execSQL("CREATE INDEX idx_locations_timestamp ON $TABLE_LOCATIONS(timestamp DESC)")
+ db.execSQL("CREATE INDEX idx_locations_created ON $TABLE_LOCATIONS(created_at DESC)")
+ db.execSQL("CREATE INDEX idx_geofences_enabled ON $TABLE_GEOFENCES(enabled, pause_tracking)")
+ db.execSQL("CREATE INDEX idx_queue_retry ON $TABLE_QUEUE(retry_count)")
+
+ prepopulateSettings(db)
+ }
+
+ /**
+ * Seeds settings with default values.
+ */
+ private fun prepopulateSettings(db: SQLiteDatabase) {
+ val fieldMapJson = JSONObject(DEFAULT_FIELD_MAP).toString()
+ val defaults = mapOf(
+ "interval" to "5000",
+ "endpoint" to "",
+ "minUpdateDistance" to "0",
+ "fieldMap" to fieldMapJson,
+ "syncInterval" to "0",
+ "accuracyThreshold" to "50.0",
+ "filterInaccurateLocations" to "false",
+ "maxRetries" to "5",
+ "retryInterval" to "30",
+ "isOfflineMode" to "false"
+ )
+
+ db.beginTransaction()
+ try {
+ defaults.forEach { (key, value) ->
+ val values = ContentValues().apply {
+ put("key", key)
+ put("value", value)
+ }
+ db.insertWithOnConflict(TABLE_SETTINGS, null, values, SQLiteDatabase.CONFLICT_IGNORE)
+ }
+ db.setTransactionSuccessful()
+ } catch (e: Exception) {
+ Log.e(TAG, "Error prepopulating settings", e)
+ } finally {
+ db.endTransaction()
+ }
+ }
+
+ /**
+ * Configures database connection.
+ */
+ override fun onConfigure(db: SQLiteDatabase) {
+ super.onConfigure(db)
+ db.enableWriteAheadLogging()
+
+ // Close cursor after PRAGMA query
+ db.rawQuery("PRAGMA busy_timeout = 5000", null).use { it.moveToFirst() }
+ }
+
+ override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {
+ db.execSQL("DROP TABLE IF EXISTS $TABLE_QUEUE")
+ db.execSQL("DROP TABLE IF EXISTS $TABLE_LOCATIONS")
+ db.execSQL("DROP TABLE IF EXISTS $TABLE_SETTINGS")
+ db.execSQL("DROP TABLE IF EXISTS $TABLE_GEOFENCES")
+ onCreate(db)
+ }
+
+ /**
+ * Finalizes database settings after opening.
+ */
+ override fun onOpen(db: SQLiteDatabase) {
+ super.onOpen(db)
+ if (!db.isReadOnly) {
+ db.execSQL("PRAGMA synchronous = NORMAL")
+ db.execSQL("PRAGMA foreign_keys = ON")
+ }
+
+ // Prepare cached statements
+ incrementRetryStmt = db.compileStatement(
+ "UPDATE $TABLE_QUEUE SET retry_count = retry_count + 1, last_error = ? WHERE id = ?"
+ )
+ }
+
+ override fun close() {
+ incrementRetryStmt?.close()
+ incrementRetryStmt = null
+ super.close()
+ }
+
+ // ========================== LOCATION OPERATIONS ==========================
+
+ /**
+ * Persists a new location coordinate and metadata.
+ */
+ fun saveLocation(
+ latitude: Double,
+ longitude: Double,
+ accuracy: Double? = null,
+ altitude: Int? = null,
+ speed: Double? = null,
+ bearing: Double? = null,
+ battery: Int? = null,
+ battery_status: Int? = null,
+ timestamp: Long,
+ endpoint: String? = null
+ ): Long {
+ val values = ContentValues().apply {
+ put("latitude", latitude)
+ put("longitude", longitude)
+ put("accuracy", accuracy)
+ put("altitude", altitude)
+ put("speed", speed)
+ put("bearing", bearing)
+ put("battery", battery)
+ put("battery_status", battery_status)
+ put("timestamp", timestamp)
+ put("endpoint", endpoint)
+ put("created_at", System.currentTimeMillis())
+ }
+ return writableDatabase.insert(TABLE_LOCATIONS, null, values)
+ }
+
+ /**
+ * Retrieves the most recent location.
+ */
+ fun getRawMostRecentLocation(): Map<String, Any?>? {
+ val query = """
+ SELECT latitude, longitude, accuracy, timestamp
+ FROM (
+ SELECT latitude, longitude, accuracy, timestamp FROM $TABLE_LOCATIONS
+ UNION ALL
+ SELECT l.latitude, l.longitude, l.accuracy, l.timestamp
+ FROM $TABLE_QUEUE q
+ JOIN $TABLE_LOCATIONS l ON q.location_id = l.id
+ ) ORDER BY timestamp DESC LIMIT 1
+ """.trimIndent()
+
+ return try {
+ readableDatabase.rawQuery(query, null).use { cursor ->
+ if (cursor.moveToFirst()) {
+ mapOf(
+ "latitude" to cursor.getDouble(0),
+ "longitude" to cursor.getDouble(1),
+ "accuracy" to cursor.getDouble(2),
+ "timestamp" to cursor.getLong(3)
+ )
+ } else {
+ null
+ }
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Query failed", e)
+ null
+ }
+ }
+
+ /**
+ * Universal table data getter for debugging.
+ */
+ fun getTableData(tableName: String, limit: Int, offset: Int): List<Map<String, Any?>> {
+ val data = mutableListOf<Map<String, Any?>>()
+
+ val orderBy = when(tableName) {
+ TABLE_LOCATIONS -> "timestamp DESC"
+ TABLE_QUEUE -> "created_at DESC"
+ TABLE_GEOFENCES -> "created_at DESC"
+ else -> "ROWID DESC"
+ }
+
+ try {
+ readableDatabase.query(
+ tableName,
+ null,
+ null, null, null, null,
+ orderBy,
+ "$limit OFFSET $offset"
+ ).use { cursor ->
+ val columnNames = cursor.columnNames
+
+ while (cursor.moveToNext()) {
+ val row = mutableMapOf<String, Any?>()
+
+ for (column in columnNames) {
+ val idx = cursor.getColumnIndex(column)
+ if (idx != -1) {
+ row[column] = when (cursor.getType(idx)) {
+ android.database.Cursor.FIELD_TYPE_INTEGER -> cursor.getLong(idx)
+ android.database.Cursor.FIELD_TYPE_FLOAT -> cursor.getDouble(idx)
+ android.database.Cursor.FIELD_TYPE_STRING -> cursor.getString(idx)
+ else -> null
+ }
+ }
+ }
+ data.add(row)
+ }
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Error reading table $tableName", e)
+ }
+
+ return data
+ }
+
+ // ========================== QUEUE OPERATIONS ==========================
+
+ /**
+ * Adds location to transmission queue.
+ * @return The queue ID of the inserted row
+ */
+ fun addToQueue(locationId: Long, payload: String): Long {
+ val values = ContentValues().apply {
+ put("location_id", locationId)
+ put("payload", payload)
+ put("retry_count", 0)
+ put("created_at", System.currentTimeMillis())
+ }
+ return writableDatabase.insert(TABLE_QUEUE, null, values)
+ }
+
+ /**
+ * Retrieves queued locations for batch sync.
+ */
+ fun getQueuedLocations(limit: Int = 10): List<QueuedLocation> {
+ val locations = mutableListOf<QueuedLocation>()
+
+ readableDatabase.query(
+ TABLE_QUEUE,
+ arrayOf("id", "location_id", "payload", "retry_count"),
+ null, null, null, null,
+ "created_at ASC",
+ limit.toString()
+ ).use { cursor ->
+ while (cursor.moveToNext()) {
+ locations.add(
+ QueuedLocation(
+ queueId = cursor.getLong(0),
+ locationId = cursor.getLong(1),
+ payload = cursor.getString(2),
+ retryCount = cursor.getInt(3)
+ )
+ )
+ }
+ }
+
+ return locations
+ }
+
+ /**
+ * Removes queue entry by location ID.
+ */
+ fun removeFromQueueByLocationId(locationId: Long): Int {
+ return writableDatabase.delete(
+ TABLE_QUEUE,
+ "location_id = ?",
+ arrayOf(locationId.toString())
+ )
+ }
+
+ /**
+ * Batch delete using single query with IN clause.
+ */
+ fun removeBatchFromQueue(queueIds: List<Long>) {
+ if (queueIds.isEmpty()) return
+
+ val placeholders = queueIds.joinToString(",") { "?" }
+ val args = queueIds.map { it.toString() }.toTypedArray()
+
+ val deleted = writableDatabase.delete(
+ TABLE_QUEUE,
+ "id IN ($placeholders)",
+ args
+ )
+
+ if (BuildConfig.DEBUG && deleted > 0) {
+ Log.d(TAG, "Batch deleted $deleted queue items")
+ }
+ }
+
+ /**
+ * Uses prepared statement for better performance.
+ * Thread-safe with synchronized access.
+ */
+ @Synchronized
+ fun incrementRetryCount(queueId: Long, error: String? = null) {
+ incrementRetryStmt?.let { stmt ->
+ stmt.clearBindings()
+ stmt.bindString(1, error ?: "")
+ stmt.bindLong(2, queueId)
+ stmt.executeUpdateDelete()
+ }
+ }
+
+ // ========================== STATS OPERATIONS ==========================
+
+ /**
+ * Combined stats query
+ */
+ fun getStats(): Triple<Int, Int, Int> {
+ val query = """
+ SELECT
+ (SELECT COUNT(*) FROM $TABLE_QUEUE) as queued,
+ (SELECT COUNT(*) FROM $TABLE_LOCATIONS) as total,
+ (SELECT COUNT(*) FROM $TABLE_LOCATIONS WHERE timestamp >= ?) as today
+ """.trimIndent()
+
+ val todayStart = getTodayStartTimestamp()
+
+ return readableDatabase.rawQuery(query, arrayOf(todayStart.toString())).use { cursor ->
+ if (cursor.moveToFirst()) {
+ Triple(
+ cursor.getInt(0), // queued
+ cursor.getInt(1), // total
+ cursor.getInt(2) // today
+ )
+ } else {
+ Triple(0, 0, 0)
+ }
+ }
+ }
+
+ /** Individual stat methods for backward compatibility */
+ fun getQueuedCount(): Int {
+ return readableDatabase.rawQuery("SELECT COUNT(*) FROM $TABLE_QUEUE", null).use {
+ if (it.moveToFirst()) it.getInt(0) else 0
+ }
+ }
+
+ fun getSentCount(): Int = getTotalCount() - getQueuedCount()
+
+ fun getTotalCount(): Int {
+ return readableDatabase.rawQuery("SELECT COUNT(*) FROM $TABLE_LOCATIONS", null).use {
+ if (it.moveToFirst()) it.getInt(0) else 0
+ }
+ }
+
+ fun getTodayCount(): Int {
+ val todayStart = getTodayStartTimestamp()
+ return readableDatabase.rawQuery(
+ "SELECT COUNT(*) FROM $TABLE_LOCATIONS WHERE timestamp >= ?",
+ arrayOf(todayStart.toString())
+ ).use {
+ if (it.moveToFirst()) it.getInt(0) else 0
+ }
+ }
+
+ fun getDatabaseSizeMB(): Double {
+ val dbPath = readableDatabase.path ?: return 0.0
+ return java.io.File(dbPath).length() / (1024.0 * 1024.0)
+ }
+
+ // ========================== CLEANUP OPERATIONS ==========================
+
+ /**
+ * Purges synchronized history records.
+ */
+ fun clearSentHistory(): Int {
+ return writableDatabase.delete(
+ TABLE_LOCATIONS,
+ "id NOT IN (SELECT location_id FROM $TABLE_QUEUE)",
+ null
+ )
+ }
+
+ fun clearQueue(): Int {
+ return writableDatabase.delete(TABLE_QUEUE, null, null)
+ }
+
+ fun clearAllLocations(): Int {
+ writableDatabase.delete(TABLE_QUEUE, null, null)
+ return writableDatabase.delete(TABLE_LOCATIONS, null, null)
+ }
+
+ fun deleteOlderThan(days: Int): Int {
+ val cutoff = System.currentTimeMillis() - days * 24 * 60 * 60 * 1000L
+ return writableDatabase.delete(
+ TABLE_LOCATIONS,
+ "timestamp < ?",
+ arrayOf(cutoff.toString())
+ )
+ }
+
+ /**
+ * Synchronous vacuum for backward compatibility.
+ * Can block UI for seconds. Use vacuumAsync() instead.
+ */
+ fun vacuum() {
+ writableDatabase.execSQL("VACUUM")
+ writableDatabase.execSQL("ANALYZE")
+ }
+
+ // ========================== SETTINGS OPERATIONS ==========================
+
+ fun saveSetting(key: String, value: String) {
+ val values = ContentValues().apply {
+ put("key", key)
+ put("value", value)
+ }
+ writableDatabase.insertWithOnConflict(
+ TABLE_SETTINGS,
+ null,
+ values,
+ SQLiteDatabase.CONFLICT_REPLACE
+ )
+ }
+
+ fun getSetting(key: String, defaultValue: String? = null): String? {
+ return readableDatabase.query(
+ TABLE_SETTINGS,
+ arrayOf("value"),
+ "key = ?",
+ arrayOf(key),
+ null, null, null
+ ).use {
+ if (it.moveToFirst()) it.getString(0)?.trim() else defaultValue
+ }
+ }
+
+ fun getAllSettings(): Map<String, String> {
+ val settings = mutableMapOf<String, String>()
+
+ try {
+ readableDatabase.query(
+ TABLE_SETTINGS,
+ arrayOf("key", "value"),
+ null, null, null, null, null
+ ).use { cursor ->
+ val keyIdx = cursor.getColumnIndexOrThrow("key")
+ val valIdx = cursor.getColumnIndexOrThrow("value")
+
+ while (cursor.moveToNext()) {
+ val key = cursor.getString(keyIdx)
+ val value = cursor.getString(valIdx)
+ if (key != null && value != null) {
+ settings[key] = value
+ }
+ }
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Error loading settings", e)
+ }
+
+ return settings
+ }
+
+ // ========================== HELPER METHODS ==========================
+
+ private fun getTodayStartTimestamp(): Long {
+ return Calendar.getInstance().apply {
+ set(Calendar.HOUR_OF_DAY, 0)
+ set(Calendar.MINUTE, 0)
+ set(Calendar.SECOND, 0)
+ set(Calendar.MILLISECOND, 0)
+ }.timeInMillis
+ }
+}
+
+/**
+ * Data container for queued location records.
+ */
+data class QueuedLocation(
+ val queueId: Long,
+ val locationId: Long,
+ val payload: String,
+ val retryCount: Int
+)
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationForegroundService.kt b/android/app/src/main/java/com/locata/LocationForegroundService.kt
new file mode 100644
index 00000000..2c730097
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationForegroundService.kt
@@ -0,0 +1,837 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.app.*
+import android.content.Intent
+import android.os.*
+import android.util.Log
+import androidx.core.app.NotificationCompat
+import com.google.android.gms.location.*
+import kotlinx.coroutines.*
+import org.json.JSONObject
+
+/**
+ * Foreground Service for continuous background location tracking.
+ */
+class LocationForegroundService : Service() {
+
+ // --- Core Components ---
+ private lateinit var fusedLocationClient: FusedLocationProviderClient
+ private lateinit var notificationManager: NotificationManager
+ private lateinit var dbHelper: LocationDatabaseHelper
+ private lateinit var locationUtils: LocationUtils
+
+ // Properly manage scope lifecycle to prevent memory leak
+ private var serviceScope: CoroutineScope? = null
+
+ // --- State & Jobs ---
+ private var locationCallback: LocationCallback? = null
+ private var syncJob: Job? = null
+ private var lastSyncTime: Long = 0
+ private var syncInitialized = false
+ private var insideSilentZone = false
+ private var currentZoneName: String? = null
+ private var lastNotificationText: String? = null
+
+ // Notification throttling
+ private var lastNotificationTime: Long = 0
+ private val NOTIFICATION_THROTTLE_MS = 5000L // Max 1 per 5 seconds
+
+ // DB query caching
+ private var cachedQueuedCount: Int = 0
+ private var lastQueueCountCheck: Long = 0
+ private val QUEUE_COUNT_CACHE_MS = 3000L
+
+ // Location caching
+ private var lastKnownLocation: android.location.Location? = null
+
+ // Battery check throttling
+ private var cachedBatteryLevel: Int = 100
+ private var cachedBatteryStatus: Int = 0
+ private var lastBatteryCheck: Long = 0
+ private val BATTERY_CHECK_INTERVAL_MS = 30000L
+
+ // --- Configuration (GPS settings) ---
+ private var interval: Long = 0L
+ private var minUpdateDistance: Float = 0f
+ private var endpoint: String = ""
+ private var fieldMap: Map<String, String>? = null
+ private var maxRetries: Int = 0
+ private var consecutiveFailures = 0
+ private var syncIntervalSeconds: Int = -1
+ private var retryIntervalSeconds: Int = 0
+ private var filterInaccurateLocations: Boolean = false
+ private var accuracyThreshold: Float = 0f
+ private var isOfflineMode: Boolean = false
+
+ private val CHANNEL_ID = "location_service_channel"
+ private val NOTIFICATION_ID = 1
+
+ companion object {
+ private const val TAG = "LocationService"
+ const val ACTION_MANUAL_FLUSH = "com.Colota.ACTION_MANUAL_FLUSH"
+ const val ACTION_RECHECK_ZONE = "com.Colota.RECHECK_SILENT_ZONE"
+ const val ACTION_FORCE_EXIT_ZONE = "com.Colota.FORCE_EXIT_ZONE"
+ }
+
+ data class GeofenceInfo(val id: Int, val name: String)
+
+ // ========================================
+ // SERVICE LIFECYCLE
+ // ========================================
+
+ override fun onCreate() {
+ super.onCreate()
+
+ // Create scope once in onCreate
+ serviceScope = CoroutineScope(Dispatchers.IO + SupervisorJob())
+
+ fusedLocationClient = LocationServices.getFusedLocationProviderClient(this)
+ notificationManager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager
+ dbHelper = LocationDatabaseHelper.getInstance(this)
+ locationUtils = LocationUtils(this)
+
+ createNotificationChannel()
+ }
+
+ override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
+ if (!::dbHelper.isInitialized) {
+ dbHelper = LocationDatabaseHelper.getInstance(this)
+ }
+
+ val savedSettings = dbHelper.getAllSettings()
+ val shouldBeTracking = savedSettings["tracking_enabled"]?.toBoolean() ?: false
+
+ if (intent == null && !shouldBeTracking) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "System restart prevented")
+ }
+ stopSelf()
+ return START_NOT_STICKY
+ }
+
+ loadConfigFromIntent(intent)
+ startForegroundServiceWithNotification()
+
+ val action = intent?.action
+
+ if (action != ACTION_RECHECK_ZONE && action != ACTION_MANUAL_FLUSH && action != ACTION_FORCE_EXIT_ZONE) {
+ dbHelper.saveSetting("tracking_enabled", "true")
+ }
+
+ when (action) {
+ ACTION_FORCE_EXIT_ZONE -> {
+ if (insideSilentZone) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Force exit from zone: $currentZoneName")
+ }
+ exitSilentZone()
+
+ // Immediately recheck with current location
+ lastKnownLocation?.let { recheckZoneWithLocation(it) }
+ }
+ return START_STICKY
+ }
+ ACTION_RECHECK_ZONE -> {
+ handleZoneRecheckAction()
+ return START_STICKY
+ }
+ ACTION_MANUAL_FLUSH -> {
+ if (endpoint.isNotBlank()) {
+ serviceScope?.launch {
+ syncQueue(endpoint)
+ }
+ }
+ return START_STICKY
+ }
+ else -> {
+ serviceScope?.launch {
+ withContext(Dispatchers.Main) {
+ stopLocationUpdates()
+ stopSyncJob()
+
+ syncInitialized = false
+ setupLocationUpdates()
+
+ if (syncIntervalSeconds > 0) {
+ startSyncJob()
+ }
+ }
+
+ if (syncIntervalSeconds == 0 && endpoint.isNotBlank()) {
+ syncQueue(endpoint)
+ }
+ }
+ }
+ }
+
+ return START_STICKY
+ }
+
+ override fun onDestroy() {
+ stopLocationUpdates()
+ stopSyncJob()
+
+ // Properly cancel scope to prevent memory leak
+ serviceScope?.cancel()
+ serviceScope = null
+
+ notificationManager.cancel(NOTIFICATION_ID)
+ super.onDestroy()
+ }
+
+ override fun onBind(intent: Intent?): IBinder? = null
+
+ // ========================================
+ // LOCATION UPDATES (GPS QUALITY)
+ // ========================================
+
+ private fun setupLocationUpdates() {
+ locationCallback = object : LocationCallback() {
+ override fun onLocationResult(result: LocationResult) {
+ result.locations.forEach { handleLocationUpdate(it) }
+ }
+ }
+
+ // Use cached battery status
+ val (batteryLevel, batteryStatus) = getCachedBatteryStatus()
+
+ // Priority logic
+ val priority = when {
+ batteryLevel < 5 && batteryStatus == 1 -> {
+ stopForegroundServiceWithReason("Battery critical")
+ return
+ }
+ else -> Priority.PRIORITY_HIGH_ACCURACY
+ }
+
+ // Request parameters
+ val locationRequest = LocationRequest.Builder(priority, interval * 2)
+ .setMinUpdateIntervalMillis(interval)
+ .setMinUpdateDistanceMeters(minUpdateDistance)
+ .setMaxUpdateDelayMillis(interval * 2)
+ .build()
+
+ try {
+ fusedLocationClient.requestLocationUpdates(
+ locationRequest,
+ locationCallback!!,
+ Looper.getMainLooper()
+ )
+
+ fusedLocationClient.lastLocation.addOnSuccessListener { location ->
+ location?.let {
+ lastKnownLocation = it
+ locationUtils.getSilentZone(it)?.let { zoneName ->
+ enterSilentZone(GeofenceInfo(-1, zoneName))
+ }
+ }
+ }
+ } catch (e: SecurityException) {
+ Log.e(TAG, "Location permission missing", e)
+ stopSelf()
+ }
+ }
+
+ private fun stopLocationUpdates() {
+ locationCallback?.let { fusedLocationClient.removeLocationUpdates(it) }
+ locationCallback = null
+ }
+
+ private fun handleZoneRecheckAction() {
+ val cachedLoc = lastKnownLocation
+ val now = System.currentTimeMillis()
+
+ if (cachedLoc != null && (now - cachedLoc.time) < 60000) {
+ recheckZoneWithLocation(cachedLoc)
+ } else {
+ fusedLocationClient.lastLocation.addOnSuccessListener { location ->
+ location?.let {
+ lastKnownLocation = it
+ recheckZoneWithLocation(it)
+ } ?: run {
+ // No location available - if in zone, exit it
+ if (insideSilentZone) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "No location for recheck, forcing exit from zone")
+ }
+ exitSilentZone()
+ }
+ }
+ }.addOnFailureListener { e ->
+ Log.e(TAG, "Recheck error", e)
+ // On error, also exit zone if in one
+ if (insideSilentZone) {
+ exitSilentZone()
+ }
+ }
+ }
+ }
+
+
+ private fun recheckZoneWithLocation(location: android.location.Location) {
+ val zoneName = locationUtils.getSilentZone(location)
+
+ when {
+ // Just entered a new zone or changed zones
+ zoneName != null && (!insideSilentZone || zoneName != currentZoneName) -> {
+ enterSilentZone(GeofenceInfo(-1, zoneName))
+ }
+
+ // Just exited (zone was deleted or moved out)
+ zoneName == null && insideSilentZone -> {
+ exitSilentZone()
+ updateNotification(location.latitude, location.longitude)
+ }
+
+ // Still in the same zone
+ zoneName != null && insideSilentZone && zoneName == currentZoneName -> {
+ // Don't change state, just ensure notification shows current coords
+ updateNotification(lat = location.latitude, lon = location.longitude)
+ }
+
+ // Standard movement (No zone) - make sure we show coords
+ else -> {
+ updateNotification(location.latitude, location.longitude)
+ }
+ }
+ }
+
+ // ========================================
+ // DATA PROCESSING (GPS QUALITY)
+ // ========================================
+
+ private fun handleLocationUpdate(location: android.location.Location) {
+ // Early returns for filtering
+ if (filterInaccurateLocations && location.accuracy > accuracyThreshold) {
+ return
+ }
+
+ // Cache location
+ lastKnownLocation = location
+
+ // Silent Zone Logic
+ val zoneName = locationUtils.getSilentZone(location)
+ when {
+ zoneName != null && !insideSilentZone -> enterSilentZone(GeofenceInfo(-1, zoneName))
+ zoneName == null && insideSilentZone -> exitSilentZone()
+ zoneName != null && insideSilentZone -> return // Still in zone, skip
+ }
+
+ // Use cached battery
+ val (battery, batteryStatus) = getCachedBatteryStatus()
+ val timestampSec = location.time / 1000
+
+ // Save to database
+ val locationId = dbHelper.saveLocation(
+ latitude = location.latitude,
+ longitude = location.longitude,
+ accuracy = location.accuracy.toDouble(),
+ altitude = if (location.hasAltitude()) location.altitude.toInt() else null,
+ speed = location.speed.toDouble(),
+ bearing = if (location.hasBearing()) location.bearing.toDouble() else 0.0,
+ battery = battery,
+ battery_status = batteryStatus,
+ timestamp = timestampSec,
+ endpoint = endpoint
+ )
+
+ // Send to React Native
+ LocationServiceModule.sendLocationEvent(location)
+
+ // Build payload once
+ val currentFieldMap = fieldMap ?: emptyMap()
+ val payload = locationUtils.buildPayload(
+ location,
+ battery,
+ batteryStatus,
+ currentFieldMap,
+ timestampSec
+ )
+
+ // Queue and optionally send (don't launch new coroutine if already in one)
+ serviceScope?.launch {
+ queueAndSend(locationId, payload, endpoint)
+ }
+
+ // Update notification (throttled)
+ updateNotificationThrottled(location.latitude, location.longitude)
+ }
+
+ private fun enterSilentZone(zone: GeofenceInfo) {
+ insideSilentZone = true
+ currentZoneName = zone.name
+
+ // Use last known location if available
+ lastKnownLocation?.let { loc ->
+ updateNotification(
+ lat = loc.latitude,
+ lon = loc.longitude,
+ pausedInZone = true,
+ zoneName = zone.name
+ )
+ } ?: run {
+ // No location yet, show paused status only
+ updateNotification(pausedInZone = true, zoneName = zone.name)
+ }
+
+ LocationServiceModule.sendSilentZoneEvent(true, zone.name)
+ }
+
+
+ private fun exitSilentZone() {
+ insideSilentZone = false
+ val exited = currentZoneName
+ currentZoneName = null
+
+ // Use last known location if available, otherwise show "Searching GPS"
+ lastKnownLocation?.let { loc ->
+ updateNotification(loc.latitude, loc.longitude)
+ } ?: run {
+ // If no location, show "Searching GPS..." instead of staying paused
+ updateNotification()
+ }
+
+ LocationServiceModule.sendSilentZoneEvent(false, exited)
+ if (BuildConfig.DEBUG) Log.d(TAG, "Exited zone: $exited")
+ }
+
+ // ========================================
+ // BATTERY OPTIMIZATIONS (New Methods)
+ // ========================================
+
+ /**
+ * Cached battery status.
+ */
+ private fun getCachedBatteryStatus(): Pair<Int, Int> {
+ val now = System.currentTimeMillis()
+
+ if (now - lastBatteryCheck > BATTERY_CHECK_INTERVAL_MS) {
+ val (level, batteryStatus) = locationUtils.getBatteryStatus()
+ cachedBatteryLevel = level
+ cachedBatteryStatus = batteryStatus // Now stores Int instead of Boolean
+ lastBatteryCheck = now
+ }
+
+ return Pair(cachedBatteryLevel, cachedBatteryStatus)
+ }
+
+ /**
+ * Cached queue count.
+ */
+ private fun getCachedQueuedCount(): Int {
+ val now = System.currentTimeMillis()
+
+ if (now - lastQueueCountCheck > QUEUE_COUNT_CACHE_MS) {
+ cachedQueuedCount = dbHelper.getQueuedCount()
+ lastQueueCountCheck = now
+ }
+
+ return cachedQueuedCount
+ }
+
+ /**
+ * Notification updates.
+ */
+ private fun updateNotificationThrottled(
+ lat: Double? = null,
+ lon: Double? = null,
+ pausedInZone: Boolean = false,
+ zoneName: String? = null
+ ) {
+ val now = System.currentTimeMillis()
+
+ // Always update immediately for zone changes
+ val isZoneChange = pausedInZone != insideSilentZone || zoneName != currentZoneName
+
+ if (!isZoneChange && (now - lastNotificationTime) < NOTIFICATION_THROTTLE_MS) {
+ return
+ }
+
+ lastNotificationTime = now
+ updateNotification(lat, lon, pausedInZone, zoneName)
+ }
+
+ // ========================================
+ // SYNCING & NETWORKING
+ // ========================================
+
+ private fun startSyncJob() {
+ syncJob = serviceScope?.launch {
+ while (isActive) {
+ val baseDelay = calculateNextSyncDelay()
+ delay(baseDelay * 1000L)
+
+ if (isOfflineMode || !locationUtils.isNetworkAvailable()) {
+ continue
+ }
+
+ // Use cached queue count
+ if (endpoint.isNotBlank() && getCachedQueuedCount() > 0) {
+ try {
+ val success = performSyncAndCheckSuccess(endpoint)
+
+ if (success) {
+ if (consecutiveFailures > 0 && BuildConfig.DEBUG) {
+ Log.i(TAG, "Sync restored")
+ }
+ consecutiveFailures = 0
+ } else {
+ consecutiveFailures++
+ applyBackoffDelay()
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Sync error", e)
+ consecutiveFailures++
+ delay(30000)
+ }
+ }
+ }
+ }
+ }
+
+ private suspend fun performSyncAndCheckSuccess(endpoint: String): Boolean {
+ val countBefore = dbHelper.getQueuedCount()
+ syncQueue(endpoint)
+ val countAfter = dbHelper.getQueuedCount()
+
+ // Invalidate cache after sync
+ lastQueueCountCheck = 0
+
+ return countAfter < countBefore || countAfter == 0
+ }
+
+ private suspend fun applyBackoffDelay() {
+ val backoffSeconds = when (consecutiveFailures) {
+ 1 -> 30L
+ 2 -> 60L
+ 3 -> 300L
+ else -> 900L
+ }
+
+ if (BuildConfig.DEBUG) {
+ Log.w(TAG, "Backoff: ${backoffSeconds}s")
+ }
+
+ delay(backoffSeconds * 1000L)
+ }
+
+ private fun stopSyncJob() {
+ syncJob?.cancel()
+ syncJob = null
+ }
+
+ /**
+ * Batch fetching - processes ALL queued items until empty.
+ */
+ private suspend fun syncQueue(endpoint: String) = coroutineScope {
+ var totalProcessed = 0
+ var batchNumber = 1
+
+ while (isActive) {
+ val queued = dbHelper.getQueuedLocations(50)
+ if (queued.isEmpty()) {
+ if (BuildConfig.DEBUG && totalProcessed > 0) {
+ Log.d(TAG, "Sync complete: $totalProcessed items processed in $batchNumber batches")
+ }
+ break
+ }
+
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Processing batch $batchNumber: ${queued.size} items")
+ }
+
+ for (chunk in queued.chunked(10)) {
+ val successfulIds = mutableListOf<Long>()
+ val permanentlyFailedIds = mutableListOf<Long>()
+
+ // Separate retriable from permanently failed
+ val (retriable, exceeded) = chunk.partition { it.retryCount < maxRetries }
+
+ // Mark exceeded items for removal
+ permanentlyFailedIds.addAll(exceeded.map { it.queueId })
+ if (BuildConfig.DEBUG && exceeded.isNotEmpty()) {
+ Log.w(TAG, "Removing ${exceeded.size} items that exceeded $maxRetries retries")
+ }
+
+ // Attempt only retriable items
+ val results = retriable.map { item ->
+ async {
+ val success = locationUtils.sendToEndpoint(
+ JSONObject(item.payload),
+ endpoint
+ )
+ item.queueId to success
+ }
+ }.awaitAll()
+
+ // Process results
+ results.forEach { (queueId, success) ->
+ if (success) {
+ successfulIds.add(queueId)
+ } else {
+ val item = retriable.first { it.queueId == queueId }
+ dbHelper.incrementRetryCount(queueId, "Send failed")
+
+ // Check if this increment pushed it over the limit
+ if (item.retryCount + 1 >= maxRetries) {
+ permanentlyFailedIds.add(queueId)
+ if (BuildConfig.DEBUG) {
+ Log.w(TAG, "Item $queueId reached max retries after this attempt")
+ }
+ }
+ }
+ }
+
+ // Remove successful and permanently failed items
+ val toRemove = successfulIds + permanentlyFailedIds
+ if (toRemove.isNotEmpty()) {
+ dbHelper.removeBatchFromQueue(toRemove)
+ totalProcessed += toRemove.size
+ }
+
+ yield()
+ }
+
+ batchNumber++
+
+ // Safety check: prevent infinite loops
+ if (batchNumber > 100) {
+ Log.e(TAG, "Sync aborted: exceeded 100 batches (potential infinite loop)")
+ break
+ }
+ }
+
+ // Invalidate cache after all syncing is done
+ lastQueueCountCheck = 0
+ }
+
+ private suspend fun queueAndSend(
+ locationId: Long,
+ payload: JSONObject,
+ endpoint: String
+ ) {
+ // Add to queue and get the queue ID back
+ val queueId = dbHelper.addToQueue(locationId, payload.toString())
+
+ // Invalidate cache
+ lastQueueCountCheck = 0
+
+ // Skip sending if offline mode or no endpoint
+ if (endpoint.isBlank() || isOfflineMode) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Queued location $locationId - ${if (isOfflineMode) "offline mode" else "no endpoint"}")
+ }
+ return // Item stays in queue with retry_count = 0
+ }
+
+ // Immediate send mode (syncInterval = 0)
+ if (syncIntervalSeconds == 0) {
+ val success = locationUtils.sendToEndpoint(payload, endpoint)
+
+ if (success) {
+ dbHelper.removeFromQueueByLocationId(locationId)
+ lastQueueCountCheck = 0
+ } else {
+ // Increment retry count using the queue ID we got from insert
+ dbHelper.incrementRetryCount(queueId, "Send failed")
+ }
+ }
+ // If syncInterval > 0, the periodic sync job will handle it
+ }
+
+ private fun calculateNextSyncDelay(): Long {
+ if (syncIntervalSeconds <= 0) {
+ return if (getCachedQueuedCount() > 0) {
+ retryIntervalSeconds.toLong()
+ } else {
+ 30L
+ }
+ }
+
+ val now = System.currentTimeMillis()
+ if (!syncInitialized) {
+ lastSyncTime = now
+ syncInitialized = true
+ return syncIntervalSeconds.toLong()
+ }
+
+ val elapsedSeconds = (now - lastSyncTime) / 1000
+ val remaining = syncIntervalSeconds - elapsedSeconds
+
+ return if (remaining <= 0) {
+ lastSyncTime = now
+ syncIntervalSeconds.toLong()
+ } else {
+ remaining
+ }
+ }
+
+ // ========================================
+ // UI & NOTIFICATIONS
+ // ========================================
+
+ private fun createNotificationChannel() {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ val channel = NotificationChannel(
+ CHANNEL_ID,
+ "Location Tracking",
+ NotificationManager.IMPORTANCE_LOW
+ ).apply {
+ description = "Shows active tracking status and sync queue"
+ setShowBadge(false)
+ }
+ notificationManager.createNotificationChannel(channel)
+ }
+ }
+
+ private fun buildNotification(statusText: String): Notification {
+ val pendingIntent = PendingIntent.getActivity(
+ this,
+ 0,
+ Intent(this, MainActivity::class.java),
+ PendingIntent.FLAG_IMMUTABLE
+ )
+
+ return NotificationCompat.Builder(this, CHANNEL_ID)
+ .setContentTitle("Colota Tracking")
+ .setContentText(statusText)
+ .setSmallIcon(android.R.drawable.ic_menu_mylocation)
+ .setOngoing(true)
+ .setSilent(true)
+ .setContentIntent(pendingIntent)
+ .setPriority(NotificationCompat.PRIORITY_LOW)
+ .build()
+ }
+
+ private fun updateNotification(
+ lat: Double? = null,
+ lon: Double? = null,
+ pausedInZone: Boolean = false,
+ zoneName: String? = null
+ ) {
+ // Use cached queue count
+ val queuedCount = getCachedQueuedCount()
+
+ val isCurrentlyPaused = pausedInZone || insideSilentZone
+ val activeZone = zoneName ?: currentZoneName
+
+ val statusText = when {
+ isCurrentlyPaused -> "Paused: ${activeZone ?: "Unknown"}"
+ lat != null && lon != null -> {
+ val coords = "%.5f, %.5f".format(lat, lon)
+ if (queuedCount > 0) "$coords ($queuedCount pending)" else "$coords (Synced)"
+ }
+ else -> "Searching GPS..."
+ }
+
+ // Only update if changed
+ val cacheKey = "$statusText-$queuedCount"
+ if (cacheKey != lastNotificationText) {
+ lastNotificationText = cacheKey
+ notificationManager.notify(NOTIFICATION_ID, buildNotification(statusText))
+ }
+ }
+
+ private fun startForegroundServiceWithNotification() {
+ val initialStatus = if (insideSilentZone) {
+ "Paused: ${currentZoneName ?: "Unknown"}"
+ } else {
+ "Initializing..."
+ }
+
+ val notification = buildNotification(initialStatus)
+ startForeground(NOTIFICATION_ID, notification)
+
+ updateNotification()
+ }
+
+ private fun stopForegroundServiceWithReason(reason: String) {
+ if (BuildConfig.DEBUG) {
+ Log.i(TAG, "Stopping: $reason")
+ }
+
+ dbHelper.saveSetting("tracking_enabled", "false")
+
+ val finalNotification = NotificationCompat.Builder(this, CHANNEL_ID)
+ .setContentTitle("Colota: Stopped")
+ .setContentText(reason)
+ .setSmallIcon(android.R.drawable.ic_lock_power_off)
+ .setOngoing(false)
+ .setAutoCancel(true)
+ .build()
+
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
+ stopForeground(Service.STOP_FOREGROUND_DETACH)
+ } else {
+ @Suppress("DEPRECATION")
+ stopForeground(false)
+ }
+
+ notificationManager.notify(NOTIFICATION_ID, finalNotification)
+
+ locationCallback?.let { fusedLocationClient.removeLocationUpdates(it) }
+ stopSelf()
+ }
+
+ // ========================================
+ // CONFIGURATION HANDLING
+ // ========================================
+
+ private fun loadConfigFromIntent(intent: Intent?) {
+ intent?.let {
+ val extras = it.extras ?: Bundle()
+
+ val keys = listOf(
+ "endpoint", "interval", "minUpdateDistance", "syncInterval",
+ "maxRetries", "accuracyThreshold", "filterInaccurateLocations",
+ "retryInterval", "isOfflineMode"
+ )
+
+ for (key in keys) {
+ if (intent.hasExtra(key)) {
+ val rawValue = extras.get(key)
+ val value = rawValue?.toString()?.removeSuffix(".0")
+
+ if (value != null) {
+ dbHelper.saveSetting(key, value)
+ }
+ }
+ }
+
+ if (it.hasExtra("fieldMap")) {
+ val mapStr = it.getStringExtra("fieldMap")
+ if (!mapStr.isNullOrBlank()) {
+ dbHelper.saveSetting("fieldMap", mapStr)
+ }
+ }
+ }
+
+ val saved = dbHelper.getAllSettings()
+
+ endpoint = saved["endpoint"] ?: ""
+ interval = saved["interval"]?.toLongOrNull() ?: 1000L
+ minUpdateDistance = saved["minUpdateDistance"]?.toFloatOrNull() ?: 0f
+ syncIntervalSeconds = saved["syncInterval"]?.toIntOrNull() ?: 0
+ maxRetries = saved["maxRetries"]?.toIntOrNull() ?: 5
+ accuracyThreshold = saved["accuracyThreshold"]?.toFloatOrNull() ?: 50.0f
+ filterInaccurateLocations = saved["filterInaccurateLocations"]?.toBoolean() ?: true
+ retryIntervalSeconds = saved["retryInterval"]?.toIntOrNull() ?: 300
+ isOfflineMode = saved["isOfflineMode"]?.toBoolean() ?: false
+
+ saved["fieldMap"]?.let {
+ if (it.isNotBlank()) fieldMap = locationUtils.parseFieldMap(it)
+ }
+
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, """
+ Config: interval=${interval/1000}s, sync=${syncIntervalSeconds}s,
+ endpoint=${if(endpoint.isBlank()) "none" else "set"}
+ """.trimIndent())
+ }
+ }
+}
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationServiceModule.kt b/android/app/src/main/java/com/locata/LocationServiceModule.kt
new file mode 100644
index 00000000..f1988fd1
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationServiceModule.kt
@@ -0,0 +1,596 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.content.Context
+import android.os.PowerManager
+import android.provider.Settings
+import android.net.Uri
+import android.content.Intent
+import android.net.Network
+import android.net.ConnectivityManager.NetworkCallback
+import android.os.Build
+import android.util.Log
+import com.facebook.react.bridge.*
+import com.facebook.react.modules.core.DeviceEventManagerModule
+import com.google.android.gms.location.LocationServices
+import java.util.concurrent.ExecutorService
+import java.util.concurrent.Executors
+import org.json.JSONObject
+import kotlinx.coroutines.*
+
+/**
+ * React Native bridge module for managing the Location Service.
+ * Acts as the middleware between the JS UI and the Native Foreground Service/Database.
+ */
+class LocationServiceModule(reactContext: ReactApplicationContext) :
+ ReactContextBaseJavaModule(reactContext),
+ LifecycleEventListener {
+
+ private val locationUtils = LocationUtils(reactContext)
+ private val dbHelper = LocationDatabaseHelper.getInstance(reactContext)
+
+ // Use a fixed thread pool instead of unlimited threads
+ private val dbExecutor: ExecutorService = Executors.newFixedThreadPool(2)
+
+ // Cache connectivity manager
+ private val connectivityManager by lazy {
+ reactContext.getSystemService(Context.CONNECTIVITY_SERVICE) as android.net.ConnectivityManager
+ }
+
+ // Network state listener to avoid polling
+ private val networkCallback = object : NetworkCallback() {
+ override fun onAvailable(network: Network) {
+ // Network just became available
+ dbExecutor.execute {
+ val queuedCount = dbHelper.getQueuedCount()
+ if (queuedCount > 0) {
+ val syncInterval = dbHelper.getSetting("syncInterval", "0")?.toIntOrNull() ?: 0
+
+ if (syncInterval == 0) {
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Network available, triggering manual flush for $queuedCount items")
+ }
+ val intent = Intent(
+ reactApplicationContext,
+ LocationForegroundService::class.java
+ ).apply {
+ action = "com.Colota.ACTION_MANUAL_FLUSH"
+ }
+ try {
+ reactApplicationContext.startService(intent)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to trigger manual flush", e)
+ }
+ } else if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Network available, $queuedCount items queued for next sync interval")
+ }
+ }
+ }
+ }
+ }
+
+ // Coroutine scope for async operations
+ private val moduleScope = CoroutineScope(Dispatchers.IO + SupervisorJob())
+
+ init {
+ reactContextStatic = reactContext
+ reactContext.addLifecycleEventListener(this)
+
+ // Register network callback
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
+ try {
+ connectivityManager.registerDefaultNetworkCallback(networkCallback)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to register network callback", e)
+ }
+ }
+ }
+
+ companion object {
+ private const val TAG = "LocationServiceModule"
+ private var reactContextStatic: ReactApplicationContext? = null
+
+ @Volatile
+ private var isAppInForeground: Boolean = true
+
+ /**
+ * Emits location updates to the React Native 'onLocationUpdate' listener.
+ */
+ @JvmStatic
+ fun sendLocationEvent(location: android.location.Location): Boolean {
+ // Check foreground state first (cheapest check)
+ if (!isAppInForeground) return false
+
+ val context = reactContextStatic ?: return false
+ if (!context.hasActiveCatalystInstance()) return false
+
+ return try {
+ val params = Arguments.createMap().apply {
+ putDouble("latitude", location.latitude)
+ putDouble("longitude", location.longitude)
+ putDouble("accuracy", location.accuracy.toDouble())
+
+ if (location.hasAltitude()) {
+ putDouble("altitude", location.altitude)
+ } else {
+ putNull("altitude")
+ }
+
+ putDouble("speed", location.speed.toDouble())
+ putDouble("bearing", if (location.hasBearing()) location.bearing.toDouble() else 0.0)
+ putDouble("timestamp", location.time.toDouble())
+ }
+
+ context
+ .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
+ .emit("onLocationUpdate", params)
+ true
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to send location event", e)
+ false
+ }
+ }
+
+ /**
+ * Emits silent zone entry/exit events to the React Native 'onSilentZoneChange' listener.
+ */
+ @JvmStatic
+ fun sendSilentZoneEvent(entered: Boolean, zoneName: String?): Boolean {
+ val context = reactContextStatic ?: return false
+ if (!context.hasActiveCatalystInstance()) return false
+
+ return try {
+ val params = Arguments.createMap().apply {
+ putBoolean("entered", entered)
+ putString("zoneName", zoneName)
+ }
+ context
+ .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
+ .emit("onSilentZoneChange", params)
+ true
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to send silent zone event", e)
+ false
+ }
+ }
+ }
+
+ override fun getName(): String = "LocationServiceModule"
+
+ // Lifecycle
+ override fun onHostResume() {
+ isAppInForeground = true
+ }
+
+ override fun onHostPause() {
+ isAppInForeground = false
+ }
+
+ override fun onHostDestroy() {
+ isAppInForeground = false
+
+ // Cleanup network callback
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
+ try {
+ connectivityManager.unregisterNetworkCallback(networkCallback)
+ } catch (e: Exception) {
+ // Already unregistered or never registered
+ if (BuildConfig.DEBUG) {
+ Log.d(TAG, "Network callback cleanup: ${e.message}")
+ }
+ }
+ }
+
+ moduleScope.cancel()
+ }
+
+ // ==============================================================
+ // HELPERS
+ // ==============================================================
+
+ /**
+ * Standardized wrapper to resolve or reject a Promise.
+ * Runs operation on database executor to avoid blocking main thread.
+ */
+ private fun executeAsync(promise: Promise, operation: () -> Any?) {
+ dbExecutor.execute {
+ try {
+ val result = operation()
+ promise.resolve(result)
+ } catch (e: Exception) {
+ Log.e(TAG, "Database operation failed", e)
+ promise.reject("DB_ERROR", e.message, e)
+ }
+ }
+ }
+
+ // ==============================================================
+ // SERVICE CONTROL
+ // ==============================================================
+
+ /**
+ * Starts the Foreground Tracking Service with the provided configuration.
+ */
+ @ReactMethod
+ fun startService(config: ReadableMap) {
+ Log.d(TAG, "Starting Service with config")
+
+ // Don't block on DB write - do it async
+ dbExecutor.execute {
+ dbHelper.saveSetting("tracking_enabled", "true")
+ }
+
+ val serviceIntent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ config.getDoubleOrNull("interval")?.let { putExtra("interval", it.toLong()) }
+ config.getDoubleOrNull("minUpdateDistance")?.let { putExtra("minUpdateDistance", it.toFloat()) }
+ config.getStringOrNull("endpoint")?.let { putExtra("endpoint", it) }
+ config.getIntOrNull("syncInterval")?.let { putExtra("syncInterval", it) }
+ config.getDoubleOrNull("accuracyThreshold")?.let { putExtra("accuracyThreshold", it.toFloat()) }
+ config.getBooleanOrNull("filterInaccurateLocations")?.let { putExtra("filterInaccurateLocations", it) }
+ config.getIntOrNull("maxRetries")?.let { putExtra("maxRetries", it) }
+ config.getIntOrNull("retryInterval")?.let { putExtra("retryInterval", it) }
+ config.getBooleanOrNull("isOfflineMode")?.let { putExtra("isOfflineMode", it) }
+
+ config.getMap("fieldMap")?.let { map ->
+ val jsonString = locationUtils.convertFieldMapToJson(map)
+ putExtra("fieldMap", jsonString)
+ }
+ }
+
+ try {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ reactApplicationContext.startForegroundService(serviceIntent)
+ } else {
+ reactApplicationContext.startService(serviceIntent)
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to start service", e)
+ }
+ }
+
+ /**
+ * Stops the background service and persists the disabled state.
+ */
+ @ReactMethod
+ fun stopService() {
+ Log.d(TAG, "Stopping Service via UI")
+
+ // Stop service first (immediate), then save to DB
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java)
+ reactApplicationContext.stopService(intent)
+
+ // Save disabled state async (don't block)
+ dbExecutor.execute {
+ dbHelper.saveSetting("tracking_enabled", "false")
+ }
+ }
+
+ // ==============================================================
+ // STATS & DATA RETRIEVAL
+ // ==============================================================
+
+ @ReactMethod
+ fun getQueuedLocationsCount(promise: Promise) =
+ executeAsync(promise) { dbHelper.getQueuedCount() }
+
+ @ReactMethod
+ fun getSentCount(promise: Promise) =
+ executeAsync(promise) { dbHelper.getSentCount() }
+
+ @ReactMethod
+ fun getTotalCount(promise: Promise) =
+ executeAsync(promise) { dbHelper.getTotalCount() }
+
+ @ReactMethod
+ fun getTodayCount(promise: Promise) =
+ executeAsync(promise) { dbHelper.getTodayCount() }
+
+ @ReactMethod
+ fun getDatabaseSize(promise: Promise) =
+ executeAsync(promise) { dbHelper.getDatabaseSizeMB() }
+
+ // Combined stats query for better performance
+ @ReactMethod
+ fun getStats(promise: Promise) = executeAsync(promise) {
+ val (queued, total, today) = dbHelper.getStats()
+
+ Arguments.createMap().apply {
+ putInt("queued", queued)
+ putInt("sent", total - queued)
+ putInt("total", total)
+ putInt("today", today)
+ putDouble("databaseSizeMB", dbHelper.getDatabaseSizeMB())
+ }
+ }
+
+ @ReactMethod
+ fun getTableData(tableName: String, limit: Int, offset: Int, promise: Promise) =
+ executeAsync(promise) {
+ val rawData = dbHelper.getTableData(tableName, limit, offset)
+ Arguments.createArray().apply {
+ rawData.forEach { row -> pushMap(Arguments.makeNativeMap(row)) }
+ }
+ }
+
+ // ==============================================================
+ // DATABASE MANAGEMENT
+ // ==============================================================
+
+ @ReactMethod
+ fun manualFlush(promise: Promise) {
+ try {
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ action = "com.Colota.ACTION_MANUAL_FLUSH"
+ }
+ reactApplicationContext.startService(intent)
+ promise.resolve(true)
+ } catch (e: Exception) {
+ Log.e(TAG, "Manual flush failed", e)
+ promise.reject("FLUSH_ERROR", e.message, e)
+ }
+ }
+
+ @ReactMethod
+ fun clearSentHistory(promise: Promise) = executeAsync(promise) {
+ val deleted = dbHelper.clearSentHistory()
+ dbExecutor.execute { dbHelper.vacuum() }
+ deleted
+ }
+
+ @ReactMethod
+ fun clearQueue(promise: Promise) = executeAsync(promise) {
+ val deleted = dbHelper.clearQueue()
+ dbExecutor.execute { dbHelper.vacuum() }
+ deleted
+ }
+
+ @ReactMethod
+ fun clearAllLocations(promise: Promise) = executeAsync(promise) {
+ val deleted = dbHelper.clearAllLocations()
+ dbExecutor.execute { dbHelper.vacuum() }
+ deleted
+ }
+
+ @ReactMethod
+ fun deleteOlderThan(days: Int, promise: Promise) = executeAsync(promise) {
+ val deleted = dbHelper.deleteOlderThan(days)
+ dbExecutor.execute { dbHelper.vacuum() }
+ deleted
+ }
+
+ @ReactMethod
+ fun vacuumDatabase(promise: Promise) = executeAsync(promise) {
+ dbHelper.vacuum()
+ true
+ }
+
+ // ==============================================================
+ // GEOFENCE OPERATIONS
+ // ==============================================================
+
+ @ReactMethod
+ fun createGeofence(
+ name: String,
+ lat: Double,
+ lon: Double,
+ radius: Double,
+ pause: Boolean,
+ promise: Promise
+ ) = executeAsync(promise) {
+ val result = locationUtils.insertGeofence(name, lat, lon, radius, pause)
+
+ // OPTIMIZATION 8: Trigger zone recheck after creating geofence
+ if (result > 0) {
+ try {
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ action = "com.Colota.RECHECK_SILENT_ZONE"
+ }
+ reactApplicationContext.startService(intent)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to trigger zone recheck", e)
+ }
+ }
+
+ result
+ }
+
+ @ReactMethod
+ fun getGeofences(promise: Promise) = executeAsync(promise) {
+ locationUtils.getGeofencesAsArray()
+ }
+
+ @ReactMethod
+ fun updateGeofence(
+ id: Int,
+ name: String?,
+ lat: Double?,
+ lon: Double?,
+ radius: Double?,
+ enabled: Boolean?,
+ pause: Boolean?,
+ promise: Promise
+ ) = executeAsync(promise) {
+ val result = locationUtils.updateGeofence(id, name, lat, lon, radius, enabled, pause)
+
+ // Trigger zone recheck after updating geofence
+ if (result) {
+ try {
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ action = "com.Colota.RECHECK_SILENT_ZONE"
+ }
+ reactApplicationContext.startService(intent)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to trigger zone recheck", e)
+ }
+ }
+
+ result
+ }
+
+ @ReactMethod
+ fun deleteGeofence(id: Int, promise: Promise) = executeAsync(promise) {
+ val result = locationUtils.deleteGeofence(id)
+
+ // Trigger zone recheck after deleting geofence
+ if (result) {
+ try {
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ action = "com.Colota.RECHECK_SILENT_ZONE"
+ }
+ reactApplicationContext.startService(intent)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to trigger zone recheck", e)
+ }
+ }
+
+ result
+ }
+
+ // ==============================================================
+ // SILENT ZONE LOGIC
+ // ==============================================================
+
+ @ReactMethod
+ fun checkCurrentSilentZone(promise: Promise) {
+ val fusedClient = LocationServices.getFusedLocationProviderClient(reactApplicationContext)
+
+ try {
+ fusedClient.lastLocation.addOnSuccessListener { loc ->
+ if (loc == null) {
+ promise.resolve(null)
+ } else {
+ // Run on executor to avoid blocking
+ dbExecutor.execute {
+ try {
+ promise.resolve(locationUtils.getSilentZone(loc))
+ } catch (e: Exception) {
+ promise.reject("ERROR", e.message, e)
+ }
+ }
+ }
+ }.addOnFailureListener { e ->
+ Log.e(TAG, "Failed to get location for silent zone check", e)
+ promise.resolve(null)
+ }
+ } catch (e: SecurityException) {
+ Log.e(TAG, "Location permission not granted", e)
+ promise.resolve(null)
+ }
+ }
+
+ @ReactMethod
+ fun forceExitZone(promise: Promise) {
+ try {
+ val intent = Intent(reactApplicationContext, LocationForegroundService::class.java).apply {
+ action = LocationForegroundService.ACTION_FORCE_EXIT_ZONE
+ }
+
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ reactApplicationContext.startForegroundService(intent)
+ } else {
+ reactApplicationContext.startService(intent)
+ }
+
+ promise.resolve(true)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to force exit zone", e)
+ promise.reject("FORCE_EXIT_ERROR", e.message, e)
+ }
+ }
+
+ // ==============================================================
+ // SETTINGS PERSISTENCE
+ // ==============================================================
+
+ @ReactMethod
+ fun saveSetting(key: String, value: String, promise: Promise) =
+ executeAsync(promise) {
+ dbHelper.saveSetting(key, value)
+ true
+ }
+
+ @ReactMethod
+ fun getSetting(key: String, default: String?, promise: Promise) =
+ executeAsync(promise) {
+ dbHelper.getSetting(key, default)
+ }
+
+ @ReactMethod
+ fun getAllSettings(promise: Promise) = executeAsync(promise) {
+ val settingsMap = dbHelper.getAllSettings()
+ Arguments.createMap().apply {
+ settingsMap.forEach { (k, v) -> putString(k, v) }
+ }
+ }
+
+ // ==============================================================
+ // UTILITY
+ // ==============================================================
+
+ @ReactMethod
+ fun getMostRecentLocation(promise: Promise) = executeAsync(promise) {
+ dbHelper.getRawMostRecentLocation()?.let { data ->
+ Arguments.makeNativeMap(data)
+ }
+ }
+
+ // Cache power manager
+ private val powerManager by lazy {
+ reactApplicationContext.getSystemService(Context.POWER_SERVICE) as PowerManager
+ }
+
+ @ReactMethod
+ fun isIgnoringBatteryOptimizations(promise: Promise) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
+ promise.resolve(powerManager.isIgnoringBatteryOptimizations(reactApplicationContext.packageName))
+ } else {
+ promise.resolve(true)
+ }
+ }
+
+ @ReactMethod
+ fun requestIgnoreBatteryOptimizations(promise: Promise) {
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
+ promise.resolve(true)
+ return
+ }
+
+ try {
+ val intent = Intent(Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS).apply {
+ data = Uri.parse("package:${reactApplicationContext.packageName}")
+ flags = Intent.FLAG_ACTIVITY_NEW_TASK
+ }
+ reactApplicationContext.startActivity(intent)
+ promise.resolve(true)
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to open battery optimization settings", e)
+ // Fallback to general settings
+ try {
+ val fallbackIntent = Intent(Settings.ACTION_SETTINGS).apply {
+ flags = Intent.FLAG_ACTIVITY_NEW_TASK
+ }
+ reactApplicationContext.startActivity(fallbackIntent)
+ promise.resolve(false)
+ } catch (e2: Exception) {
+ promise.reject("ERROR", e2.message, e2)
+ }
+ }
+ }
+}
+
+// Extension functions for safer ReadableMap access
+private fun ReadableMap.getDoubleOrNull(key: String): Double? =
+ if (hasKey(key)) getDouble(key) else null
+
+private fun ReadableMap.getIntOrNull(key: String): Int? =
+ if (hasKey(key)) getInt(key) else null
+
+private fun ReadableMap.getStringOrNull(key: String): String? =
+ if (hasKey(key)) getString(key) else null
+
+private fun ReadableMap.getBooleanOrNull(key: String): Boolean? =
+ if (hasKey(key)) getBoolean(key) else null
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationServicePackage.kt b/android/app/src/main/java/com/locata/LocationServicePackage.kt
new file mode 100644
index 00000000..ccd438a6
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationServicePackage.kt
@@ -0,0 +1,37 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import com.facebook.react.ReactPackage
+import com.facebook.react.bridge.NativeModule
+import com.facebook.react.bridge.ReactApplicationContext
+import com.facebook.react.uimanager.ViewManager
+import java.util.Collections
+
+/**
+ * Exposes the [LocationServiceModule] to the React Native JS bridge.
+ * Optimized for minimal overhead during app initialization.
+ */
+class LocationServicePackage : ReactPackage {
+
+ /**
+ * Registers the Native Modules provided by this package.
+ */
+ override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
+ return listOf(
+ LocationServiceModule(reactContext),
+ BuildConfigModule(reactContext)
+ )
+ }
+
+ /**
+ * Registers any Custom View Managers (UI components).
+ * Since this is a background service package, we return an empty list.
+ */
+ override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
+ return emptyList()
+ }
+}
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/LocationsUtils.kt b/android/app/src/main/java/com/locata/LocationsUtils.kt
new file mode 100644
index 00000000..a4801ec5
--- /dev/null
+++ b/android/app/src/main/java/com/locata/LocationsUtils.kt
@@ -0,0 +1,415 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.content.ContentValues
+import android.content.Context
+import android.content.Intent
+import android.content.IntentFilter
+import android.location.Location
+import android.net.ConnectivityManager
+import android.net.NetworkCapabilities
+import android.os.BatteryManager
+import android.util.Log
+import com.facebook.react.bridge.Arguments
+import com.facebook.react.bridge.ReadableMap
+import com.facebook.react.bridge.WritableArray
+import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.withContext
+import org.json.JSONObject
+import java.net.URL
+import javax.net.ssl.HttpsURLConnection
+import kotlin.math.*
+
+/**
+ * Utility class providing specialized logic for the Colota tracking engine.
+ * Maintains a reference to [Context] to handle system-level queries like battery and network.
+ */
+class LocationUtils(private val context: Context) {
+
+ companion object {
+ private const val TAG = "LocationUtils"
+ private const val EARTH_RADIUS_METERS = 6371000.0
+ private const val CONNECTION_TIMEOUT = 15000
+ private const val READ_TIMEOUT = 15000
+ }
+
+ // Lazy initialization - only created when first accessed
+ private val dbHelper by lazy { LocationDatabaseHelper.getInstance(context) }
+
+ // Cache connectivity manager to avoid repeated getSystemService calls
+ private val connectivityManager by lazy {
+ context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager
+ }
+
+ // ========================================
+ // NETWORK & SYNC
+ // ========================================
+
+ /**
+ * Executes an asynchronous POST request to the server.
+ * Handles both HTTP (for localhost) and HTTPS connections.
+ */
+ suspend fun sendToEndpoint(
+ payload: JSONObject,
+ endpoint: String
+ ): Boolean = withContext(Dispatchers.IO) {
+ // Validate endpoint
+ if (endpoint.isBlank()) {
+ Log.w(TAG, "Empty endpoint provided")
+ return@withContext false
+ }
+
+ // Determine if localhost/local network
+ val isLocalhost = endpoint.contains("localhost") ||
+ endpoint.contains("127.0.0.1") ||
+ endpoint.contains("192.168.") ||
+ endpoint.contains("10.0.")
+
+ // Single validation check
+ val isValid = when {
+ endpoint.startsWith("https://", ignoreCase = true) -> true
+ endpoint.startsWith("http://", ignoreCase = true) && isLocalhost -> true
+ endpoint.startsWith("http://", ignoreCase = true) -> {
+ Log.e(TAG, "Insecure endpoint blocked: $endpoint (use HTTPS for non-localhost)")
+ false
+ }
+ else -> {
+ Log.e(TAG, "Invalid protocol: $endpoint (must start with http:// or https://)")
+ false
+ }
+ }
+
+ if (!isValid) return@withContext false
+
+ // Check network availability
+ if (!isNetworkAvailable()) {
+ Log.d(TAG, "Sync skipped: No internet")
+ return@withContext false
+ }
+
+ var connection: java.net.HttpURLConnection? = null
+
+ try {
+ val url = URL(endpoint)
+ connection = url.openConnection() as java.net.HttpURLConnection
+
+ connection.apply {
+ requestMethod = "POST"
+ setRequestProperty("Content-Type", "application/json; charset=UTF-8")
+ setRequestProperty("Accept", "application/json")
+ doOutput = true
+ connectTimeout = CONNECTION_TIMEOUT
+ readTimeout = READ_TIMEOUT
+ useCaches = false
+ }
+
+ // Write payload
+ val bodyBytes = payload.toString().toByteArray(Charsets.UTF_8)
+ connection.setFixedLengthStreamingMode(bodyBytes.size)
+
+ connection.outputStream.use { outputStream ->
+ outputStream.write(bodyBytes)
+ }
+
+ // Read response
+ val responseCode = connection.responseCode
+
+ if (responseCode in 200..299) {
+ // Success - optionally read response body
+ // connection.inputStream.use { it.bufferedReader().readText() }
+ true
+ } else {
+ // Read error body for debugging
+ val errorBody = try {
+ connection.errorStream?.bufferedReader()?.use { it.readText() } ?: "No error body"
+ } catch (e: Exception) {
+ "Could not read error body"
+ }
+
+ Log.e(TAG, "POST failed: $responseCode - $errorBody")
+ false
+ }
+ } catch (e: Exception) {
+ Log.e(TAG, "Network error: ${e.message}", e)
+ false
+ } finally {
+ // Manual cleanup since we can't use .use{}
+ connection?.disconnect()
+ }
+ }
+
+ /**
+ * Checks for an active, validated internet connection.
+ * Uses cached ConnectivityManager for better performance.
+ */
+ fun isNetworkAvailable(): Boolean {
+ return try {
+ val activeNetwork = connectivityManager.activeNetwork ?: return false
+ val capabilities = connectivityManager.getNetworkCapabilities(activeNetwork)
+ ?: return false
+
+ capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) &&
+ capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
+ } catch (e: SecurityException) {
+ Log.e(TAG, "Missing network permission", e)
+ false
+ }
+ }
+
+ // ========================================
+ // GEOMETRY
+ // ========================================
+
+ /**
+ * Calculates the great-circle distance using Haversine formula.
+ * Optimized with cached radians conversion.
+ */
+ fun calculateDistance(lat1: Double, lon1: Double, lat2: Double, lon2: Double): Double {
+ val dLat = Math.toRadians(lat2 - lat1)
+ val dLon = Math.toRadians(lon2 - lon1)
+ val lat1Rad = Math.toRadians(lat1)
+ val lat2Rad = Math.toRadians(lat2)
+
+ val a = sin(dLat / 2).pow(2) +
+ cos(lat1Rad) * cos(lat2Rad) * sin(dLon / 2).pow(2)
+
+ return EARTH_RADIUS_METERS * 2 * atan2(sqrt(a), sqrt(1 - a))
+ }
+
+ // ========================================
+ // DATA CONVERSION
+ // ========================================
+
+ /**
+ * Maps native location data into JSONObject with dynamic field mapping.
+ */
+ fun buildPayload(
+ location: Location,
+ batteryLevel: Int,
+ batteryStatus: Int,
+ fieldMap: Map<String, String>,
+ timestamp: Long
+ ): JSONObject {
+ return JSONObject().apply {
+ put(fieldMap["lat"] ?: "lat", location.latitude)
+ put(fieldMap["lon"] ?: "lon", location.longitude)
+ put(fieldMap["acc"] ?: "acc", location.accuracy.roundToInt())
+
+ if (location.hasAltitude()) {
+ put(fieldMap["alt"] ?: "alt", location.altitude.roundToInt())
+ }
+
+ put(fieldMap["vel"] ?: "vel", location.speed.roundToInt())
+ put(fieldMap["batt"] ?: "batt", batteryLevel)
+ put(fieldMap["bs"] ?: "bs", batteryStatus)
+ put(fieldMap["tst"] ?: "tst", timestamp)
+
+ if (location.hasBearing()) {
+ put(fieldMap["bear"] ?: "bear", location.bearing.toDouble())
+ }
+ }
+ }
+
+ /**
+ * Parses JSON string to Map with error handling.
+ */
+ fun parseFieldMap(jsonString: String?): Map<String, String>? {
+ if (jsonString.isNullOrBlank()) return null
+
+ return try {
+ val json = JSONObject(jsonString)
+ json.keys().asSequence().associateWith { json.getString(it) }
+ } catch (e: Exception) {
+ Log.e(TAG, "Failed to parse field map", e)
+ null
+ }
+ }
+
+ /**
+ * Converts ReadableMap to JSON string with null safety.
+ */
+ fun convertFieldMapToJson(fieldMap: ReadableMap): String {
+ val json = JSONObject()
+ val iterator = fieldMap.keySetIterator()
+
+ while (iterator.hasNextKey()) {
+ val key = iterator.nextKey()
+ fieldMap.getString(key)?.let { value ->
+ json.put(key, value)
+ }
+ }
+
+ return json.toString()
+ }
+
+ // ========================================
+ // DEVICE STATUS
+ // ========================================
+
+ /**
+ * Reads battery level and charging status.
+ */
+ fun getBatteryStatus(): Pair<Int, Int> {
+ val intent = context.registerReceiver(null, IntentFilter(Intent.ACTION_BATTERY_CHANGED))
+ ?: return Pair(0, 0) // unknown
+
+ val level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1)
+ val scale = intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1)
+
+ val percentage = if (scale > 0) {
+ (level * 100 / scale.toFloat()).toInt()
+ } else {
+ 0
+ }
+
+ val status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1)
+
+ // Convert to 0-3 status code
+ val batteryStatus = when (status) {
+ BatteryManager.BATTERY_STATUS_CHARGING -> 2 // charging
+ BatteryManager.BATTERY_STATUS_FULL -> 3 // full
+ BatteryManager.BATTERY_STATUS_DISCHARGING,
+ BatteryManager.BATTERY_STATUS_NOT_CHARGING -> 1 // unplugged
+ else -> 0 // unknown
+ }
+
+ return Pair(percentage, batteryStatus)
+ }
+
+ // ========================================
+ // GEOFENCING
+ // ========================================
+
+ /**
+ * Checks if location is within any active silent zone.
+ * Returns immediately on first match for better performance.
+ */
+ fun getSilentZone(location: Location): String? {
+ dbHelper.readableDatabase.query(
+ LocationDatabaseHelper.TABLE_GEOFENCES,
+ arrayOf("name", "latitude", "longitude", "radius"),
+ "enabled = 1 AND pause_tracking = 1",
+ null, null, null, null
+ ).use { cursor ->
+ while (cursor.moveToNext()) {
+ val fenceLat = cursor.getDouble(1)
+ val fenceLon = cursor.getDouble(2)
+ val radius = cursor.getDouble(3)
+
+ if (calculateDistance(location.latitude, location.longitude, fenceLat, fenceLon) <= radius) {
+ return cursor.getString(0)
+ }
+ }
+ }
+ return null
+ }
+
+ /**
+ * Fetches all geofences with optimized column index caching.
+ */
+ fun getGeofencesAsArray(): WritableArray {
+ val array = Arguments.createArray()
+
+ dbHelper.readableDatabase.query(
+ LocationDatabaseHelper.TABLE_GEOFENCES,
+ null, null, null, null, null,
+ "created_at DESC"
+ ).use { cursor ->
+ // Cache column indices (faster than repeated getColumnIndexOrThrow calls)
+ val idIdx = cursor.getColumnIndexOrThrow("id")
+ val nameIdx = cursor.getColumnIndexOrThrow("name")
+ val latIdx = cursor.getColumnIndexOrThrow("latitude")
+ val lonIdx = cursor.getColumnIndexOrThrow("longitude")
+ val radiusIdx = cursor.getColumnIndexOrThrow("radius")
+ val enabledIdx = cursor.getColumnIndexOrThrow("enabled")
+ val pauseIdx = cursor.getColumnIndexOrThrow("pause_tracking")
+ val createdIdx = cursor.getColumnIndexOrThrow("created_at")
+
+ while (cursor.moveToNext()) {
+ array.pushMap(Arguments.createMap().apply {
+ putInt("id", cursor.getInt(idIdx))
+ putString("name", cursor.getString(nameIdx))
+ putDouble("lat", cursor.getDouble(latIdx))
+ putDouble("lon", cursor.getDouble(lonIdx))
+ putDouble("radius", cursor.getDouble(radiusIdx))
+ putBoolean("enabled", cursor.getInt(enabledIdx) == 1)
+ putBoolean("pauseTracking", cursor.getInt(pauseIdx) == 1)
+ putDouble("createdAt", cursor.getLong(createdIdx).toDouble())
+ })
+ }
+ }
+
+ return array
+ }
+
+ /**
+ * Inserts a new geofence into the database.
+ */
+ fun insertGeofence(
+ name: String,
+ lat: Double,
+ lon: Double,
+ rad: Double,
+ pause: Boolean
+ ): Int {
+ val values = ContentValues().apply {
+ put("name", name)
+ put("latitude", lat)
+ put("longitude", lon)
+ put("radius", rad)
+ put("enabled", 1)
+ put("pause_tracking", if (pause) 1 else 0)
+ put("created_at", System.currentTimeMillis())
+ }
+
+ return dbHelper.writableDatabase
+ .insert(LocationDatabaseHelper.TABLE_GEOFENCES, null, values)
+ .toInt()
+ }
+
+ /**
+ * Updates geofence with only provided fields.
+ */
+ fun updateGeofence(
+ id: Int,
+ name: String?,
+ lat: Double?,
+ lon: Double?,
+ rad: Double?,
+ en: Boolean?,
+ pause: Boolean?
+ ): Boolean {
+ val values = ContentValues().apply {
+ name?.let { put("name", it) }
+ lat?.let { put("latitude", it) }
+ lon?.let { put("longitude", it) }
+ rad?.let { put("radius", it) }
+ en?.let { put("enabled", if (it) 1 else 0) }
+ pause?.let { put("pause_tracking", if (it) 1 else 0) }
+ }
+
+ if (values.size() == 0) return false
+
+ return dbHelper.writableDatabase.update(
+ LocationDatabaseHelper.TABLE_GEOFENCES,
+ values,
+ "id = ?",
+ arrayOf(id.toString())
+ ) > 0
+ }
+
+ /**
+ * Deletes a geofence by ID.
+ */
+ fun deleteGeofence(id: Int): Boolean {
+ return dbHelper.writableDatabase.delete(
+ LocationDatabaseHelper.TABLE_GEOFENCES,
+ "id = ?",
+ arrayOf(id.toString())
+ ) > 0
+ }
+}
\ No newline at end of file
diff --git a/android/app/src/main/java/com/locata/MainActivity.kt b/android/app/src/main/java/com/locata/MainActivity.kt
new file mode 100644
index 00000000..20df28ba
--- /dev/null
+++ b/android/app/src/main/java/com/locata/MainActivity.kt
@@ -0,0 +1,27 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import com.facebook.react.ReactActivity
+import com.facebook.react.ReactActivityDelegate
+import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
+import com.facebook.react.defaults.DefaultReactActivityDelegate
+
+class MainActivity : ReactActivity() {
+
+ /**
+ * Returns the name of the main component registered from JavaScript. This is used to schedule
+ * rendering of the component.
+ */
+ override fun getMainComponentName(): String = "Colota"
+
+ /**
+ * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]
+ * which allows you to enable New Architecture with a single boolean flags [fabricEnabled]
+ */
+ override fun createReactActivityDelegate(): ReactActivityDelegate =
+ DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
+}
diff --git a/android/app/src/main/java/com/locata/MainApplication.kt b/android/app/src/main/java/com/locata/MainApplication.kt
new file mode 100644
index 00000000..3d654ebb
--- /dev/null
+++ b/android/app/src/main/java/com/locata/MainApplication.kt
@@ -0,0 +1,29 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+package com.Colota
+
+import android.app.Application
+import com.facebook.react.PackageList
+import com.facebook.react.ReactApplication
+import com.facebook.react.ReactHost
+import com.facebook.react.ReactPackage
+import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
+import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
+
+class MainApplication : Application(), ReactApplication {
+
+ override val reactHost: ReactHost by lazy {
+ getDefaultReactHost(
+ context = applicationContext,
+ packageList = PackageList(this).packages + listOf(LocationServicePackage())
+ )
+ }
+
+ override fun onCreate() {
+ super.onCreate()
+ loadReactNative(this)
+ }
+}
diff --git a/android/app/src/main/res/drawable/ic_notification.png b/android/app/src/main/res/drawable/ic_notification.png
new file mode 100644
index 00000000..62d80fe1
Binary files /dev/null and b/android/app/src/main/res/drawable/ic_notification.png differ
diff --git a/android/app/src/main/res/drawable/rn_edit_text_material.xml b/android/app/src/main/res/drawable/rn_edit_text_material.xml
new file mode 100644
index 00000000..5c25e728
--- /dev/null
+++ b/android/app/src/main/res/drawable/rn_edit_text_material.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+ android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
+ android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
+ android:insetTop="@dimen/abc_edit_text_inset_top_material"
+ android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
+ >
+
+ <selector>
+ <!--
+ This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
+ The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
+ NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
+
+ <item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
+
+ For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
+ -->
+ <item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
+ <item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
+ </selector>
+
+</inset>
diff --git a/android/app/src/main/res/ic_launcher-web.png b/android/app/src/main/res/ic_launcher-web.png
new file mode 100644
index 00000000..100a19d4
Binary files /dev/null and b/android/app/src/main/res/ic_launcher-web.png differ
diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..79d695e1
--- /dev/null
+++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,4 @@
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..79d695e1
--- /dev/null
+++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,4 @@
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..1a153e28
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..41c0ad3f
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b23d3aed
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher.png
new file mode 100644
index 00000000..eab3c092
Binary files /dev/null and b/android/app/src/main/res/mipmap-ldpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png
new file mode 100644
index 00000000..a097f0a8
Binary files /dev/null and b/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..a89c9ffa
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..0ff1ce4f
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..c4e0751c
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..87b20c21
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..39201d2f
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..3cb56b4d
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..d2b35822
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..6a3c9e85
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..d0eae05f
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..4778902d
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..64343115
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..60bda4e2
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/playstore-icon-1024-500.png b/android/app/src/main/res/playstore-icon-1024-500.png
new file mode 100644
index 00000000..5b16fd8e
Binary files /dev/null and b/android/app/src/main/res/playstore-icon-1024-500.png differ
diff --git a/android/app/src/main/res/playstore-icon.png b/android/app/src/main/res/playstore-icon.png
new file mode 100644
index 00000000..229ac0ab
Binary files /dev/null and b/android/app/src/main/res/playstore-icon.png differ
diff --git a/android/app/src/main/res/values/ic_launcher_background.xml b/android/app/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 00000000..7e7cb1fc
--- /dev/null
+++ b/android/app/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,3 @@
+<resources>
+ <color name="ic_launcher_background">#ffffff</color>
+</resources>
\ No newline at end of file
diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..c461df68
--- /dev/null
+++ b/android/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="app_name">Colota</string>
+</resources>
diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..7ba83a2a
--- /dev/null
+++ b/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,9 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
+ <!-- Customize your theme here. -->
+ <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
+ </style>
+
+</resources>
diff --git a/android/app/src/main/res/xml/network_security_config.xml b/android/app/src/main/res/xml/network_security_config.xml
new file mode 100644
index 00000000..1c085be6
--- /dev/null
+++ b/android/app/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<network-security-config>
+ <domain-config cleartextTrafficPermitted="true">
+ <domain includeSubdomains="true">localhost</domain>
+ <domain includeSubdomains="true">10.0.2.2</domain> <domain includeSubdomains="true">127.0.0.1</domain>
+ </domain-config>
+
+ <base-config cleartextTrafficPermitted="false">
+ <trust-anchors>
+ <certificates src="system" />
+ </trust-anchors>
+ </base-config>
+</network-security-config>
\ No newline at end of file
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 00000000..4586beb8
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,21 @@
+buildscript {
+ ext {
+ buildToolsVersion = "36.0.0"
+ minSdkVersion = 24
+ compileSdkVersion = 36
+ targetSdkVersion = 36
+ ndkVersion = "29.0.14206865"
+ kotlinVersion = "2.3.0"
+ }
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ classpath("com.android.tools.build:gradle")
+ classpath("com.facebook.react:react-native-gradle-plugin")
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
+ }
+}
+
+apply plugin: "com.facebook.react.rootproject"
\ No newline at end of file
diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 00000000..8bdaf60c
Binary files /dev/null and b/android/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..2a84e188
--- /dev/null
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,7 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
+networkTimeout=10000
+validateDistributionUrl=true
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/android/gradlew b/android/gradlew
new file mode 100644
index 00000000..ef07e016
--- /dev/null
+++ b/android/gradlew
@@ -0,0 +1,251 @@
+#!/bin/sh
+
+#
+# Copyright Β© 2015 the original authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+##############################################################################
+#
+# Gradle start up script for POSIX generated by Gradle.
+#
+# Important for running:
+#
+# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
+# noncompliant, but you have some other compliant shell such as ksh or
+# bash, then to run this script, type that shell name before the whole
+# command line, like:
+#
+# ksh Gradle
+#
+# Busybox and similar reduced shells will NOT work, because this script
+# requires all of these POSIX shell features:
+# * functions;
+# * expansions Β«$varΒ», Β«${var}Β», Β«${var:-default}Β», Β«${var+SET}Β»,
+# Β«${var#prefix}Β», Β«${var%suffix}Β», and Β«$( cmd )Β»;
+# * compound commands having a testable exit status, especially Β«caseΒ»;
+# * various built-in commands including Β«commandΒ», Β«setΒ», and Β«ulimitΒ».
+#
+# Important for patching:
+#
+# (2) This script targets any POSIX shell, so it avoids extensions provided
+# by Bash, Ksh, etc; in particular arrays are avoided.
+#
+# The "traditional" practice of packing multiple parameters into a
+# space-separated string is a well documented source of bugs and security
+# problems, so this is (mostly) avoided, by progressively accumulating
+# options in "$@", and eventually passing that to Java.
+#
+# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
+# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
+# see the in-line comments for details.
+#
+# There are tweaks for specific operating systems such as AIX, CygWin,
+# Darwin, MinGW, and NonStop.
+#
+# (3) This script is generated from the Groovy template
+# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+# within the Gradle project.
+#
+# You can find Gradle at https://github.com/gradle/gradle/.
+#
+##############################################################################
+
+# Attempt to set APP_HOME
+
+# Resolve links: $0 may be a link
+app_path=$0
+
+# Need this for daisy-chained symlinks.
+while
+ APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
+ [ -h "$app_path" ]
+do
+ ls=$( ls -ld "$app_path" )
+ link=${ls#*' -> '}
+ case $link in #(
+ /*) app_path=$link ;; #(
+ *) app_path=$APP_HOME$link ;;
+ esac
+done
+
+# This is normally unused
+# shellcheck disable=SC2034
+APP_BASE_NAME=${0##*/}
+# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
+APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD=maximum
+
+warn () {
+ echo "$*"
+} >&2
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+} >&2
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "$( uname )" in #(
+ CYGWIN* ) cygwin=true ;; #(
+ Darwin* ) darwin=true ;; #(
+ MSYS* | MINGW* ) msys=true ;; #(
+ NONSTOP* ) nonstop=true ;;
+esac
+
+CLASSPATH="\\\"\\\""
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD=$JAVA_HOME/jre/sh/java
+ else
+ JAVACMD=$JAVA_HOME/bin/java
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD=java
+ if ! command -v java >/dev/null 2>&1
+ then
+ die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+fi
+
+# Increase the maximum file descriptors if we can.
+if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
+ case $MAX_FD in #(
+ max*)
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
+ # shellcheck disable=SC2039,SC3045
+ MAX_FD=$( ulimit -H -n ) ||
+ warn "Could not query maximum file descriptor limit"
+ esac
+ case $MAX_FD in #(
+ '' | soft) :;; #(
+ *)
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
+ # shellcheck disable=SC2039,SC3045
+ ulimit -n "$MAX_FD" ||
+ warn "Could not set maximum file descriptor limit to $MAX_FD"
+ esac
+fi
+
+# Collect all arguments for the java command, stacking in reverse order:
+# * args from the command line
+# * the main class name
+# * -classpath
+# * -D...appname settings
+# * --module-path (only if needed)
+# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if "$cygwin" || "$msys" ; then
+ APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
+ CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
+
+ JAVACMD=$( cygpath --unix "$JAVACMD" )
+
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ for arg do
+ if
+ case $arg in #(
+ -*) false ;; # don't mess with options #(
+ /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
+ [ -e "$t" ] ;; #(
+ *) false ;;
+ esac
+ then
+ arg=$( cygpath --path --ignore --mixed "$arg" )
+ fi
+ # Roll the args list around exactly as many times as the number of
+ # args, so each arg winds up back in the position where it started, but
+ # possibly modified.
+ #
+ # NB: a `for` loop captures its iteration list before it begins, so
+ # changing the positional parameters here affects neither the number of
+ # iterations, nor the values presented in `arg`.
+ shift # remove old arg
+ set -- "$@" "$arg" # push replacement arg
+ done
+fi
+
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Collect all arguments for the java command:
+# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
+# and any embedded shellness will be escaped.
+# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
+# treated as '${Hostname}' itself on the command line.
+
+set -- \
+ "-Dorg.gradle.appname=$APP_BASE_NAME" \
+ -classpath "$CLASSPATH" \
+ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
+ "$@"
+
+# Stop when "xargs" is not available.
+if ! command -v xargs >/dev/null 2>&1
+then
+ die "xargs is not available"
+fi
+
+# Use "xargs" to parse quoted args.
+#
+# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
+#
+# In Bash we could simply go:
+#
+# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
+# set -- "${ARGS[@]}" "$@"
+#
+# but POSIX shell has neither arrays nor command substitution, so instead we
+# post-process each arg (as a line of input to sed) to backslash-escape any
+# character that might be a shell metacharacter, then use eval to reverse
+# that process (while maintaining the separation between arguments), and wrap
+# the whole thing up as a single "set" statement.
+#
+# This will of course break if any of these variables contains a newline or
+# an unmatched quote.
+#
+
+eval "set -- $(
+ printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
+ xargs -n1 |
+ sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
+ tr '\n' ' '
+ )" '"$@"'
+
+exec "$JAVACMD" "$@"
diff --git a/android/gradlew.bat b/android/gradlew.bat
new file mode 100644
index 00000000..dd2b8eed
--- /dev/null
+++ b/android/gradlew.bat
@@ -0,0 +1,99 @@
+@REM Copyright (c) Meta Platforms, Inc. and affiliates.
+@REM
+@REM This source code is licensed under the MIT license found in the
+@REM LICENSE file in the root directory of this source tree.
+
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+@rem SPDX-License-Identifier: Apache-2.0
+@rem
+
+@if "%DEBUG%"=="" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%"=="" set DIRNAME=.
+@rem This is normally unused
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if %ERRORLEVEL% equ 0 goto execute
+
+echo. 1>&2
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo. 1>&2
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
+echo. 1>&2
+echo Please set the JAVA_HOME variable in your environment to match the 1>&2
+echo location of your Java installation. 1>&2
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if %ERRORLEVEL% equ 0 goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+set EXIT_CODE=%ERRORLEVEL%
+if %EXIT_CODE% equ 0 set EXIT_CODE=1
+if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
+exit /b %EXIT_CODE%
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 00000000..0456e8fd
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,6 @@
+pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
+plugins { id("com.facebook.react.settings") }
+extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
+rootProject.name = 'Colota'
+include ':app'
+includeBuild('../node_modules/@react-native/gradle-plugin')
diff --git a/app.json b/app.json
new file mode 100644
index 00000000..976ef20c
--- /dev/null
+++ b/app.json
@@ -0,0 +1,5 @@
+{
+ "name": "Colota",
+ "displayName": "Colota",
+ "softwareKeyboardLayoutMode": "resize"
+}
diff --git a/assets/icon.png b/assets/icon.png
new file mode 100644
index 00000000..3cb56b4d
Binary files /dev/null and b/assets/icon.png differ
diff --git a/babel.config.js b/babel.config.js
new file mode 100644
index 00000000..3c25e5d9
--- /dev/null
+++ b/babel.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ presets: ["module:@react-native/babel-preset"],
+};
diff --git a/index.js b/index.js
new file mode 100644
index 00000000..70c068d5
--- /dev/null
+++ b/index.js
@@ -0,0 +1,60 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+/**
+ * @format
+ * React Native Entry Point - Production Ready
+ *
+ * Enhanced entry point with error handling, performance monitoring,
+ * and development tools.
+ */
+import { AppRegistry, LogBox, Platform } from "react-native";
+import App from "./App";
+import { name as appName } from "./app.json";
+
+/**
+ * Development-only configuration
+ */
+if (__DEV__) {
+ // Configure LogBox to ignore specific known warnings
+ LogBox.ignoreLogs([
+ "Non-serializable values were found in the navigation state",
+ "Require cycle:", // Common in large React Native projects
+ // Add other warnings to ignore
+ ]);
+
+ // Enable React Native performance monitoring
+ if (Platform.OS === "android") {
+ // Android-specific dev tools
+ console.log("[Dev] Android development mode enabled");
+ } else if (Platform.OS === "ios") {
+ // iOS-specific dev tools
+ console.log("[Dev] iOS development mode enabled");
+ }
+}
+
+/**
+ * Global error handler for uncaught errors
+ * Logs errors and prevents app crashes in production
+ */
+const errorHandler = (error, isFatal) => {
+ if (isFatal) {
+ console.error("[Fatal Error]", error);
+ // In production, you might want to:
+ // - Send error to crash reporting service (Sentry, Crashlytics)
+ // - Show user-friendly error screen
+ // - Log to analytics
+ } else {
+ console.warn("[Error]", error);
+ }
+};
+
+// Set global error handler (only in production)
+if (!__DEV__) {
+ ErrorUtils.setGlobalHandler(errorHandler);
+}
+
+// Register the main application component
+AppRegistry.registerComponent(appName, () => App);
diff --git a/ios/.xcode.env b/ios/.xcode.env
new file mode 100644
index 00000000..3d5782c7
--- /dev/null
+++ b/ios/.xcode.env
@@ -0,0 +1,11 @@
+# This `.xcode.env` file is versioned and is used to source the environment
+# used when running script phases inside Xcode.
+# To customize your local environment, you can create an `.xcode.env.local`
+# file that is not versioned.
+
+# NODE_BINARY variable contains the PATH to the node executable.
+#
+# Customize the NODE_BINARY variable here.
+# For example, to use nvm with brew, add the following line
+# . "$(brew --prefix nvm)/nvm.sh" --no-use
+export NODE_BINARY=$(command -v node)
diff --git a/ios/Locata.xcodeproj/project.pbxproj b/ios/Locata.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..da528195
--- /dev/null
+++ b/ios/Locata.xcodeproj/project.pbxproj
@@ -0,0 +1,471 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 0C80B921A6F3F58F76C31292 /* libPods-Colota.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-Colota.a */; };
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 13B07F961A680F5B00A75B9A /* Colota.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Colota.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Colota/Images.xcassets; sourceTree = "<group>"; };
+ 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Colota/Info.plist; sourceTree = "<group>"; };
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = Colota/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
+ 3B4392A12AC88292D35C810B /* Pods-Colota.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colota.debug.xcconfig"; path = "Target Support Files/Pods-Colota/Pods-Colota.debug.xcconfig"; sourceTree = "<group>"; };
+ 5709B34CF0A7D63546082F79 /* Pods-Colota.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Colota.release.xcconfig"; path = "Target Support Files/Pods-Colota/Pods-Colota.release.xcconfig"; sourceTree = "<group>"; };
+ 5DCACB8F33CDC322A6C60F78 /* libPods-Colota.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Colota.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Colota/AppDelegate.swift; sourceTree = "<group>"; };
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Colota/LaunchScreen.storyboard; sourceTree = "<group>"; };
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 0C80B921A6F3F58F76C31292 /* libPods-Colota.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 13B07FAE1A68108700A75B9A /* Colota */ = {
+ isa = PBXGroup;
+ children = (
+ 13B07FB51A68108700A75B9A /* Images.xcassets */,
+ 761780EC2CA45674006654EE /* AppDelegate.swift */,
+ 13B07FB61A68108700A75B9A /* Info.plist */,
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
+ );
+ name = Colota;
+ sourceTree = "<group>";
+ };
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
+ 5DCACB8F33CDC322A6C60F78 /* libPods-Colota.a */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Libraries;
+ sourceTree = "<group>";
+ };
+ 83CBB9F61A601CBA00E9B192 = {
+ isa = PBXGroup;
+ children = (
+ 13B07FAE1A68108700A75B9A /* Colota */,
+ 832341AE1AAA6A7D00B99B32 /* Libraries */,
+ 83CBBA001A601CBA00E9B192 /* Products */,
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */,
+ BBD78D7AC51CEA395F1C20DB /* Pods */,
+ );
+ indentWidth = 2;
+ sourceTree = "<group>";
+ tabWidth = 2;
+ usesTabs = 0;
+ };
+ 83CBBA001A601CBA00E9B192 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 13B07F961A680F5B00A75B9A /* Colota.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ BBD78D7AC51CEA395F1C20DB /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 3B4392A12AC88292D35C810B /* Pods-Colota.debug.xcconfig */,
+ 5709B34CF0A7D63546082F79 /* Pods-Colota.release.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 13B07F861A680F5B00A75B9A /* Colota */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Colota" */;
+ buildPhases = (
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
+ 13B07F871A680F5B00A75B9A /* Sources */,
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */,
+ 13B07F8E1A680F5B00A75B9A /* Resources */,
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Colota;
+ productName = Colota;
+ productReference = 13B07F961A680F5B00A75B9A /* Colota.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 83CBB9F71A601CBA00E9B192 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1210;
+ TargetAttributes = {
+ 13B07F861A680F5B00A75B9A = {
+ LastSwiftMigration = 1120;
+ };
+ };
+ };
+ buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Colota" */;
+ compatibilityVersion = "Xcode 12.0";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 83CBB9F61A601CBA00E9B192;
+ productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 13B07F861A680F5B00A75B9A /* Colota */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 13B07F8E1A680F5B00A75B9A /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "$(SRCROOT)/.xcode.env.local",
+ "$(SRCROOT)/.xcode.env",
+ );
+ name = "Bundle React Native code and images";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"\\\"$WITH_ENVIRONMENT\\\" \\\"$REACT_NATIVE_XCODE\\\"\"\n";
+ };
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Colota-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-resources-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Copy Pods Resources";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-resources-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Colota/Pods-Colota-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 13B07F871A680F5B00A75B9A /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 13B07F941A680F5B00A75B9A /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-Colota.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = 1;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Colota/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ MARKETING_VERSION = 1.0;
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-ObjC",
+ "-lc++",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
+ PRODUCT_NAME = Colota;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 13B07F951A680F5B00A75B9A /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-Colota.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = 1;
+ INFOPLIST_FILE = Colota/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ MARKETING_VERSION = 1.0;
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-ObjC",
+ "-lc++",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
+ PRODUCT_NAME = Colota;
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+ 83CBBA201A601CBA00E9B192 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
+ LD_RUNPATH_SEARCH_PATHS = (
+ /usr/lib/swift,
+ "$(inherited)",
+ );
+ LIBRARY_SEARCH_PATHS = (
+ "\"$(SDKROOT)/usr/lib/swift\"",
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
+ "\"$(inherited)\"",
+ );
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ OTHER_CPLUSPLUSFLAGS = (
+ "$(OTHER_CFLAGS)",
+ "-DFOLLY_NO_CONFIG",
+ "-DFOLLY_MOBILE=1",
+ "-DFOLLY_USE_LIBCPP=1",
+ "-DFOLLY_CFG_NO_COROUTINES=1",
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
+ );
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 83CBBA211A601CBA00E9B192 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
+ LD_RUNPATH_SEARCH_PATHS = (
+ /usr/lib/swift,
+ "$(inherited)",
+ );
+ LIBRARY_SEARCH_PATHS = (
+ "\"$(SDKROOT)/usr/lib/swift\"",
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
+ "\"$(inherited)\"",
+ );
+ MTL_ENABLE_DEBUG_INFO = NO;
+ OTHER_CPLUSPLUSFLAGS = (
+ "$(OTHER_CFLAGS)",
+ "-DFOLLY_NO_CONFIG",
+ "-DFOLLY_MOBILE=1",
+ "-DFOLLY_USE_LIBCPP=1",
+ "-DFOLLY_CFG_NO_COROUTINES=1",
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
+ );
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Colota" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 13B07F941A680F5B00A75B9A /* Debug */,
+ 13B07F951A680F5B00A75B9A /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Colota" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 83CBBA201A601CBA00E9B192 /* Debug */,
+ 83CBBA211A601CBA00E9B192 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
+}
diff --git a/ios/Locata.xcodeproj/xcshareddata/xcschemes/Locata.xcscheme b/ios/Locata.xcodeproj/xcshareddata/xcschemes/Locata.xcscheme
new file mode 100644
index 00000000..fbc2a03a
--- /dev/null
+++ b/ios/Locata.xcodeproj/xcshareddata/xcschemes/Locata.xcscheme
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "1210"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
+ BuildableName = "Colota.app"
+ BlueprintName = "Colota"
+ ReferencedContainer = "container:Colota.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES">
+ <Testables>
+ <TestableReference
+ skipped = "NO">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "00E356ED1AD99517003FC87E"
+ BuildableName = "ColotaTests.xctest"
+ BlueprintName = "ColotaTests"
+ ReferencedContainer = "container:Colota.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
+ </Testables>
+ </TestAction>
+ <LaunchAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ debugServiceExtension = "internal"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
+ BuildableName = "Colota.app"
+ BlueprintName = "Colota"
+ ReferencedContainer = "container:Colota.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
+ BuildableName = "Colota.app"
+ BlueprintName = "Colota"
+ ReferencedContainer = "container:Colota.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/ios/Locata/AppDelegate.swift b/ios/Locata/AppDelegate.swift
new file mode 100644
index 00000000..b19d33d4
--- /dev/null
+++ b/ios/Locata/AppDelegate.swift
@@ -0,0 +1,48 @@
+import UIKit
+import React
+import React_RCTAppDelegate
+import ReactAppDependencyProvider
+
+@main
+class AppDelegate: UIResponder, UIApplicationDelegate {
+ var window: UIWindow?
+
+ var reactNativeDelegate: ReactNativeDelegate?
+ var reactNativeFactory: RCTReactNativeFactory?
+
+ func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
+ ) -> Bool {
+ let delegate = ReactNativeDelegate()
+ let factory = RCTReactNativeFactory(delegate: delegate)
+ delegate.dependencyProvider = RCTAppDependencyProvider()
+
+ reactNativeDelegate = delegate
+ reactNativeFactory = factory
+
+ window = UIWindow(frame: UIScreen.main.bounds)
+
+ factory.startReactNative(
+ withModuleName: "Colota",
+ in: window,
+ launchOptions: launchOptions
+ )
+
+ return true
+ }
+}
+
+class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
+ override func sourceURL(for bridge: RCTBridge) -> URL? {
+ self.bundleURL()
+ }
+
+ override func bundleURL() -> URL? {
+#if DEBUG
+ RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
+#else
+ Bundle.main.url(forResource: "main", withExtension: "jsbundle")
+#endif
+ }
+}
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/100.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/100.png
new file mode 100644
index 00000000..d6ed0d82
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/100.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/102.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/102.png
new file mode 100644
index 00000000..ad407fbd
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/102.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/1024.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/1024.png
new file mode 100644
index 00000000..38b93496
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/1024.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/108.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/108.png
new file mode 100644
index 00000000..63b56993
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/108.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/114.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/114.png
new file mode 100644
index 00000000..8d21299c
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/114.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/120.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/120.png
new file mode 100644
index 00000000..d4a22926
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/120.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/128.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/128.png
new file mode 100644
index 00000000..9a8b913e
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/128.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/144.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/144.png
new file mode 100644
index 00000000..a0dfe417
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/144.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/152.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/152.png
new file mode 100644
index 00000000..c5913d58
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/152.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/16.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/16.png
new file mode 100644
index 00000000..74a045ce
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/16.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/167.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/167.png
new file mode 100644
index 00000000..d03f2b30
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/167.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/172.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/172.png
new file mode 100644
index 00000000..7d0535a1
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/172.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/180.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/180.png
new file mode 100644
index 00000000..e2eff37c
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/180.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/196.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/196.png
new file mode 100644
index 00000000..9f658b47
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/196.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/20.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/20.png
new file mode 100644
index 00000000..ae14180b
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/20.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/216.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/216.png
new file mode 100644
index 00000000..d2271ea1
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/216.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/234.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/234.png
new file mode 100644
index 00000000..ef3dfcb0
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/234.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/256.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/256.png
new file mode 100644
index 00000000..f845dc9e
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/256.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/258.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/258.png
new file mode 100644
index 00000000..080c72d7
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/258.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/29.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/29.png
new file mode 100644
index 00000000..2701c1a2
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/29.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/32.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/32.png
new file mode 100644
index 00000000..d54472c8
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/32.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/40.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/40.png
new file mode 100644
index 00000000..d358fb60
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/40.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/48.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/48.png
new file mode 100644
index 00000000..e5f92b3c
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/48.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/50.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/50.png
new file mode 100644
index 00000000..c46cc88a
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/50.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/512.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/512.png
new file mode 100644
index 00000000..0c16f92c
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/512.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/55.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/55.png
new file mode 100644
index 00000000..ff7eccc2
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/55.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/57.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/57.png
new file mode 100644
index 00000000..1409ea20
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/57.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/58.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/58.png
new file mode 100644
index 00000000..f9600a59
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/58.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/60.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/60.png
new file mode 100644
index 00000000..ee3a26d7
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/60.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/64.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/64.png
new file mode 100644
index 00000000..5ebd0c6f
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/64.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/66.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/66.png
new file mode 100644
index 00000000..1205d44d
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/66.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/72.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/72.png
new file mode 100644
index 00000000..521e88f9
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/72.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/76.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/76.png
new file mode 100644
index 00000000..cb8dd785
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/76.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/80.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/80.png
new file mode 100644
index 00000000..ebd16aab
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/80.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/87.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/87.png
new file mode 100644
index 00000000..92cba995
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/87.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/88.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/88.png
new file mode 100644
index 00000000..324588b7
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/88.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/92.png b/ios/Locata/Images.xcassets/AppIcon.appiconset/92.png
new file mode 100644
index 00000000..87b81c4d
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/92.png differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/Contents.json b/ios/Locata/Images.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..ebd0af41
--- /dev/null
+++ b/ios/Locata/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,128 @@
+{
+ "images": [
+ {
+ "idiom": "iphone",
+ "size": "20x20",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "20x20",
+ "scale": "3x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "29x29",
+ "scale": "1x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "29x29",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "29x29",
+ "scale": "3x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "40x40",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "40x40",
+ "scale": "3x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "60x60",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "60x60",
+ "scale": "3x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "iphone",
+ "size": "76x76",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "20x20",
+ "scale": "1x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "20x20",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "29x29",
+ "scale": "1x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "29x29",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "40x40",
+ "scale": "1x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "40x40",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "76x76",
+ "scale": "1x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "76x76",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "idiom": "ipad",
+ "size": "83.5x83.5",
+ "scale": "2x",
+ "filename": "[email protected]"
+ },
+ {
+ "size": "1024x1024",
+ "idiom": "ios-marketing",
+ "scale": "1x",
+ "filename": "[email protected]"
+ }
+ ],
+ "info": {
+ "version": 1,
+ "author": "easyappicon"
+ }
+}
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..a91eecf0
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..15c8ff86
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..e0200ce3
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..410ecbee
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..c945dd9e
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..297589f5
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..15c8ff86
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..ef9e7c85
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..ba832800
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..ba832800
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..3df7d6a7
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..ed024872
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..87852c9d
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..05b67813
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..a3f68f9d
Binary files /dev/null and b/ios/Locata/Images.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/Contents.json b/ios/Locata/Images.xcassets/Contents.json
new file mode 100644
index 00000000..97a8662e
--- /dev/null
+++ b/ios/Locata/Images.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info": {
+ "version": 1,
+ "author": "xcode"
+ }
+}
diff --git a/ios/Locata/Images.xcassets/[email protected] b/ios/Locata/Images.xcassets/[email protected]
new file mode 100644
index 00000000..229ac0ab
Binary files /dev/null and b/ios/Locata/Images.xcassets/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/[email protected] b/ios/Locata/Images.xcassets/[email protected]
new file mode 100644
index 00000000..a3f68f9d
Binary files /dev/null and b/ios/Locata/Images.xcassets/[email protected] differ
diff --git a/ios/Locata/Images.xcassets/[email protected] b/ios/Locata/Images.xcassets/[email protected]
new file mode 100644
index 00000000..c45028b7
Binary files /dev/null and b/ios/Locata/Images.xcassets/[email protected] differ
diff --git a/ios/Locata/Info.plist b/ios/Locata/Info.plist
new file mode 100644
index 00000000..2947dbce
--- /dev/null
+++ b/ios/Locata/Info.plist
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CADisableMinimumFrameDurationOnPhone</key>
+ <true/>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>Colota</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(MARKETING_VERSION)</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>$(CURRENT_PROJECT_VERSION)</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSAppTransportSecurity</key>
+ <dict>
+ <!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
+ <key>NSAllowsArbitraryLoads</key>
+ <false/>
+ <key>NSAllowsLocalNetworking</key>
+ <true/>
+ </dict>
+ <key>NSLocationWhenInUseUsageDescription</key>
+ <string>We need your location to send it to your specified endpoint.</string>
+ <key>NSLocationAlwaysUsageDescription</key>
+ <string>We need your location to send it always to your specified endpoint..</string>
+ <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
+ <string>We need your location to send it to your specified endpoint in the background and foreground.</string>
+ <string></string>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>arm64</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UIViewControllerBasedStatusBarAppearance</key>
+ <false/>
+</dict>
+</plist>
diff --git a/ios/Locata/LaunchScreen.storyboard b/ios/Locata/LaunchScreen.storyboard
new file mode 100644
index 00000000..8410afda
--- /dev/null
+++ b/ios/Locata/LaunchScreen.storyboard
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
+ <dependencies>
+ <deployment identifier="iOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="EHf-IW-A2E">
+ <objects>
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Colota" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
+ <rect key="frame" x="0.0" y="202" width="375" height="43"/>
+ <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
+ <rect key="frame" x="0.0" y="626" width="375" height="21"/>
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
+ <nil key="highlightedColor"/>
+ </label>
+ </subviews>
+ <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
+ <constraints>
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
+ </constraints>
+ <viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="52.173913043478265" y="375"/>
+ </scene>
+ </scenes>
+</document>
diff --git a/ios/Locata/PrivacyInfo.xcprivacy b/ios/Locata/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..41b8317f
--- /dev/null
+++ b/ios/Locata/PrivacyInfo.xcprivacy
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSPrivacyAccessedAPITypes</key>
+ <array>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>C617.1</string>
+ </array>
+ </dict>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>CA92.1</string>
+ </array>
+ </dict>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>35F9.1</string>
+ </array>
+ </dict>
+ </array>
+ <key>NSPrivacyCollectedDataTypes</key>
+ <array/>
+ <key>NSPrivacyTracking</key>
+ <false/>
+</dict>
+</plist>
diff --git a/ios/Podfile b/ios/Podfile
new file mode 100644
index 00000000..f07f59b8
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,34 @@
+# Resolve react_native_pods.rb with node to allow for hoisting
+require Pod::Executable.execute_command('node', ['-p',
+ 'require.resolve(
+ "react-native/scripts/react_native_pods.rb",
+ {paths: [process.argv[1]]},
+ )', __dir__]).strip
+
+platform :ios, min_ios_version_supported
+prepare_react_native_project!
+
+linkage = ENV['USE_FRAMEWORKS']
+if linkage != nil
+ Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
+ use_frameworks! :linkage => linkage.to_sym
+end
+
+target 'Colota' do
+ config = use_native_modules!
+
+ use_react_native!(
+ :path => config[:reactNativePath],
+ # An absolute path to your application root.
+ :app_path => "#{Pod::Config.instance.installation_root}/.."
+ )
+
+ post_install do |installer|
+ react_native_post_install(
+ installer,
+ config[:reactNativePath],
+ :mac_catalyst_enabled => false,
+ # :ccache_enabled => true
+ )
+ end
+end
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 00000000..edf19461
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ preset: "react-native",
+};
diff --git a/metro.config.js b/metro.config.js
new file mode 100644
index 00000000..fc2f460a
--- /dev/null
+++ b/metro.config.js
@@ -0,0 +1,11 @@
+const { getDefaultConfig, mergeConfig } = require("@react-native/metro-config");
+
+/**
+ * Metro configuration
+ * https://reactnative.dev/docs/metro
+ *
+ * @type {import('@react-native/metro-config').MetroConfig}
+ */
+const config = {};
+
+module.exports = mergeConfig(getDefaultConfig(__dirname), config);
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 00000000..5bc7b360
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,12356 @@
+{
+ "name": "Colota",
+ "version": "1.0.1",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "Colota",
+ "version": "1.0.1",
+ "dependencies": {
+ "@react-native/new-app-screen": "0.83.1",
+ "@react-navigation/native": "^7.1.26",
+ "@react-navigation/native-stack": "^7.9.0",
+ "@types/react-native-sqlite-storage": "^6.0.5",
+ "react": "19.2.0",
+ "react-native": "0.83.1",
+ "react-native-device-info": "^15.0.1",
+ "react-native-fs": "^2.20.0",
+ "react-native-permissions": "^5.4.4",
+ "react-native-safe-area-context": "^5.6.2",
+ "react-native-screens": "^4.19.0",
+ "react-native-share": "^12.2.2",
+ "react-native-sqlite-storage": "^6.0.1",
+ "react-native-svg": "^15.15.1",
+ "react-native-webview": "^13.16.0"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/preset-env": "^7.25.3",
+ "@babel/runtime": "^7.25.0",
+ "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
+ "@react-native-community/cli": "20.0.0",
+ "@react-native-community/cli-platform-android": "20.0.0",
+ "@react-native-community/cli-platform-ios": "20.0.0",
+ "@react-native/babel-preset": "0.83.1",
+ "@react-native/eslint-config": "0.83.1",
+ "@react-native/metro-config": "0.83.1",
+ "@react-native/typescript-config": "0.83.1",
+ "@types/jest": "^29.5.13",
+ "@types/react": "^19.2.0",
+ "@types/react-test-renderer": "^19.1.0",
+ "eslint": "^8.19.0",
+ "jest": "^29.6.3",
+ "prettier": "^2.8.8",
+ "react-test-renderer": "19.2.0",
+ "typescript": "^5.8.3"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
+ "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.27.1",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz",
+ "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz",
+ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.28.5",
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-module-transforms": "^7.28.3",
+ "@babel/helpers": "^7.28.4",
+ "@babel/parser": "^7.28.5",
+ "@babel/template": "^7.27.2",
+ "@babel/traverse": "^7.28.5",
+ "@babel/types": "^7.28.5",
+ "@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/eslint-parser": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.28.5.tgz",
+ "integrity": "sha512-fcdRcWahONYo+JRnJg1/AekOacGvKx12Gu0qXJXFi2WBqQA1i7+O5PaxRB7kxE/Op94dExnCiiar6T09pvdHpA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
+ "eslint-visitor-keys": "^2.1.0",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || >=14.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.11.0",
+ "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
+ "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.28.5",
+ "@babel/types": "^7.28.5",
+ "@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.27.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz",
+ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.27.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
+ "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.27.2",
+ "@babel/helper-validator-option": "^7.27.1",
+ "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.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz",
+ "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-member-expression-to-functions": "^7.28.5",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/traverse": "^7.28.5",
+ "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.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz",
+ "integrity": "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "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.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz",
+ "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "debug": "^4.4.1",
+ "lodash.debounce": "^4.0.8",
+ "resolve": "^1.22.10"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz",
+ "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.28.5",
+ "@babel/types": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
+ "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.28.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz",
+ "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/traverse": "^7.28.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz",
+ "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
+ "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-remap-async-to-generator": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz",
+ "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.1",
+ "@babel/helper-wrap-function": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz",
+ "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz",
+ "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-wrap-function": {
+ "version": "7.28.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.3.tgz",
+ "integrity": "sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.27.2",
+ "@babel/traverse": "^7.28.3",
+ "@babel/types": "^7.28.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.28.4",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
+ "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.27.2",
+ "@babel/types": "^7.28.4"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
+ "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.5"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.28.5.tgz",
+ "integrity": "sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/traverse": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.27.1.tgz",
+ "integrity": "sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.27.1.tgz",
+ "integrity": "sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.27.1.tgz",
+ "integrity": "sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-transform-optional-chaining": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.13.0"
+ }
+ },
+ "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
+ "version": "7.28.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.3.tgz",
+ "integrity": "sha512-b6YTX108evsvE4YgWyQ921ZAFFQm3Bn+CA3+ZXlNVnPhx+UfsVURoPjfGAPCjBgrqo30yX/C2nZGX96DxvR9Iw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/traverse": "^7.28.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-proposal-export-default-from": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.27.1.tgz",
+ "integrity": "sha512-hjlsMBl1aJc5lp8MoCDEZCiYzlgdRAShOjAfRw6X+GlpLpUPU7c3XNLsKFZbQk/1cRzBlJ7CXg3xJAJMrFa1Uw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-proposal-private-property-in-object": {
+ "version": "7.21.0-placeholder-for-preset-env.2",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
+ "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==",
+ "dev": true,
+ "license": "MIT",
+ "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-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==",
+ "devOptional": true,
+ "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.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.27.1.tgz",
+ "integrity": "sha512-eBC/3KSekshx19+N40MzjWqJd7KTEdOoLesAfa4IDFI8eRz5a47i5Oszus6zG/cwIXN63YhgLOMSSNJx49sENg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-flow": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.27.1.tgz",
+ "integrity": "sha512-p9OkPbZ5G7UT1MofwYFigGebnrzGJacoBSQM0/6bi/PUMVE+qlWDD/OalvQKbwgQzU6dl0xAv6r4X7Jme0RYxA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-assertions": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz",
+ "integrity": "sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz",
+ "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "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.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz",
+ "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "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.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz",
+ "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-unicode-sets-regex": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz",
+ "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.18.6",
+ "@babel/helper-plugin-utils": "^7.18.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-arrow-functions": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz",
+ "integrity": "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-async-generator-functions": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.0.tgz",
+ "integrity": "sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-remap-async-to-generator": "^7.27.1",
+ "@babel/traverse": "^7.28.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-async-to-generator": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz",
+ "integrity": "sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-remap-async-to-generator": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.27.1.tgz",
+ "integrity": "sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-block-scoping": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.5.tgz",
+ "integrity": "sha512-45DmULpySVvmq9Pj3X9B+62Xe+DJGov27QravQJU1LLcapR6/10i+gYVAucGGJpHBp5mYxIMK4nDAT/QDLr47g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-class-properties": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz",
+ "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-class-static-block": {
+ "version": "7.28.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.3.tgz",
+ "integrity": "sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.28.3",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.12.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-classes": {
+ "version": "7.28.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.4.tgz",
+ "integrity": "sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/traverse": "^7.28.4"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-computed-properties": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz",
+ "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/template": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-destructuring": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz",
+ "integrity": "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/traverse": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-dotall-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.27.1.tgz",
+ "integrity": "sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-duplicate-keys": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.27.1.tgz",
+ "integrity": "sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.27.1.tgz",
+ "integrity": "sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-dynamic-import": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.27.1.tgz",
+ "integrity": "sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-explicit-resource-management": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.0.tgz",
+ "integrity": "sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/plugin-transform-destructuring": "^7.28.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-exponentiation-operator": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.5.tgz",
+ "integrity": "sha512-D4WIMaFtwa2NizOp+dnoFjRez/ClKiC2BqqImwKd1X28nqBtZEyCYJ2ozQrrzlxAFrcrjxo39S6khe9RNDlGzw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-export-namespace-from": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz",
+ "integrity": "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-flow-strip-types": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.27.1.tgz",
+ "integrity": "sha512-G5eDKsu50udECw7DL2AcsysXiQyB7Nfg521t2OAJ4tbfTJ27doHLeF/vlI1NZGlLdbb/v+ibvtL1YBQqYOwJGg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/plugin-syntax-flow": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-for-of": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz",
+ "integrity": "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-function-name": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz",
+ "integrity": "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-json-strings": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.27.1.tgz",
+ "integrity": "sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-literals": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz",
+ "integrity": "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-logical-assignment-operators": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.5.tgz",
+ "integrity": "sha512-axUuqnUTBuXyHGcJEVVh9pORaN6wC5bYfE7FGzPiaWa3syib9m7g+/IT/4VgCOe2Upef43PHzeAvcrVek6QuuA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-member-expression-literals": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.27.1.tgz",
+ "integrity": "sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-amd": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.27.1.tgz",
+ "integrity": "sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-commonjs": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz",
+ "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-systemjs": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz",
+ "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.28.3",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-umd": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.27.1.tgz",
+ "integrity": "sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz",
+ "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-new-target": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.27.1.tgz",
+ "integrity": "sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz",
+ "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-numeric-separator": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz",
+ "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-object-rest-spread": {
+ "version": "7.28.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.4.tgz",
+ "integrity": "sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/plugin-transform-destructuring": "^7.28.0",
+ "@babel/plugin-transform-parameters": "^7.27.7",
+ "@babel/traverse": "^7.28.4"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-object-super": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.27.1.tgz",
+ "integrity": "sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-optional-catch-binding": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz",
+ "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-optional-chaining": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.5.tgz",
+ "integrity": "sha512-N6fut9IZlPnjPwgiQkXNhb+cT8wQKFlJNqcZkWlcTqkcqx6/kU4ynGmLFoa4LViBSirn05YAwk+sQBbPfxtYzQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-parameters": {
+ "version": "7.27.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz",
+ "integrity": "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-private-methods": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz",
+ "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-private-property-in-object": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz",
+ "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.1",
+ "@babel/helper-create-class-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-property-literals": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.27.1.tgz",
+ "integrity": "sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-display-name": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.28.0.tgz",
+ "integrity": "sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.27.1.tgz",
+ "integrity": "sha512-2KH4LWGSrJIkVf5tSiBFYuXDAoWRq2MMwgivCf+93dd0GQi8RXLjKA/0EvRnVV5G0hrHczsquXuD01L8s6dmBw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.1",
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/plugin-syntax-jsx": "^7.27.1",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
+ "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",
+ "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-regenerator": {
+ "version": "7.28.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.4.tgz",
+ "integrity": "sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-regexp-modifiers": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.27.1.tgz",
+ "integrity": "sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-reserved-words": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.27.1.tgz",
+ "integrity": "sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-runtime": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.28.5.tgz",
+ "integrity": "sha512-20NUVgOrinudkIBzQ2bNxP08YpKprUkRTiRSd2/Z5GOdPImJGkoN4Z7IQe1T5AdyKI1i5L6RBmluqdSzvaq9/w==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "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.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz",
+ "integrity": "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-spread": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz",
+ "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-sticky-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz",
+ "integrity": "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-template-literals": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz",
+ "integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-typeof-symbol": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.27.1.tgz",
+ "integrity": "sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.5.tgz",
+ "integrity": "sha512-x2Qa+v/CuEoX7Dr31iAfr0IhInrVOWZU/2vJMJ00FOR/2nM0BcBEclpaf9sWCDc+v5e9dMrhSH8/atq/kX7+bA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-unicode-escapes": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz",
+ "integrity": "sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-unicode-property-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.27.1.tgz",
+ "integrity": "sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-unicode-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz",
+ "integrity": "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-unicode-sets-regex": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.27.1.tgz",
+ "integrity": "sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/preset-env": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.5.tgz",
+ "integrity": "sha512-S36mOoi1Sb6Fz98fBfE+UZSpYw5mJm0NUHtIKrOuNcqeFauy1J6dIvXm2KRVKobOSaGq4t/hBXdN4HGU3wL9Wg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.28.5",
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-validator-option": "^7.27.1",
+ "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5",
+ "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1",
+ "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1",
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1",
+ "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.3",
+ "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2",
+ "@babel/plugin-syntax-import-assertions": "^7.27.1",
+ "@babel/plugin-syntax-import-attributes": "^7.27.1",
+ "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
+ "@babel/plugin-transform-arrow-functions": "^7.27.1",
+ "@babel/plugin-transform-async-generator-functions": "^7.28.0",
+ "@babel/plugin-transform-async-to-generator": "^7.27.1",
+ "@babel/plugin-transform-block-scoped-functions": "^7.27.1",
+ "@babel/plugin-transform-block-scoping": "^7.28.5",
+ "@babel/plugin-transform-class-properties": "^7.27.1",
+ "@babel/plugin-transform-class-static-block": "^7.28.3",
+ "@babel/plugin-transform-classes": "^7.28.4",
+ "@babel/plugin-transform-computed-properties": "^7.27.1",
+ "@babel/plugin-transform-destructuring": "^7.28.5",
+ "@babel/plugin-transform-dotall-regex": "^7.27.1",
+ "@babel/plugin-transform-duplicate-keys": "^7.27.1",
+ "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-dynamic-import": "^7.27.1",
+ "@babel/plugin-transform-explicit-resource-management": "^7.28.0",
+ "@babel/plugin-transform-exponentiation-operator": "^7.28.5",
+ "@babel/plugin-transform-export-namespace-from": "^7.27.1",
+ "@babel/plugin-transform-for-of": "^7.27.1",
+ "@babel/plugin-transform-function-name": "^7.27.1",
+ "@babel/plugin-transform-json-strings": "^7.27.1",
+ "@babel/plugin-transform-literals": "^7.27.1",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
+ "@babel/plugin-transform-member-expression-literals": "^7.27.1",
+ "@babel/plugin-transform-modules-amd": "^7.27.1",
+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",
+ "@babel/plugin-transform-modules-systemjs": "^7.28.5",
+ "@babel/plugin-transform-modules-umd": "^7.27.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1",
+ "@babel/plugin-transform-new-target": "^7.27.1",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
+ "@babel/plugin-transform-numeric-separator": "^7.27.1",
+ "@babel/plugin-transform-object-rest-spread": "^7.28.4",
+ "@babel/plugin-transform-object-super": "^7.27.1",
+ "@babel/plugin-transform-optional-catch-binding": "^7.27.1",
+ "@babel/plugin-transform-optional-chaining": "^7.28.5",
+ "@babel/plugin-transform-parameters": "^7.27.7",
+ "@babel/plugin-transform-private-methods": "^7.27.1",
+ "@babel/plugin-transform-private-property-in-object": "^7.27.1",
+ "@babel/plugin-transform-property-literals": "^7.27.1",
+ "@babel/plugin-transform-regenerator": "^7.28.4",
+ "@babel/plugin-transform-regexp-modifiers": "^7.27.1",
+ "@babel/plugin-transform-reserved-words": "^7.27.1",
+ "@babel/plugin-transform-shorthand-properties": "^7.27.1",
+ "@babel/plugin-transform-spread": "^7.27.1",
+ "@babel/plugin-transform-sticky-regex": "^7.27.1",
+ "@babel/plugin-transform-template-literals": "^7.27.1",
+ "@babel/plugin-transform-typeof-symbol": "^7.27.1",
+ "@babel/plugin-transform-unicode-escapes": "^7.27.1",
+ "@babel/plugin-transform-unicode-property-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-regex": "^7.27.1",
+ "@babel/plugin-transform-unicode-sets-regex": "^7.27.1",
+ "@babel/preset-modules": "0.1.6-no-external-plugins",
+ "babel-plugin-polyfill-corejs2": "^0.4.14",
+ "babel-plugin-polyfill-corejs3": "^0.13.0",
+ "babel-plugin-polyfill-regenerator": "^0.6.5",
+ "core-js-compat": "^3.43.0",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/preset-modules": {
+ "version": "0.1.6-no-external-plugins",
+ "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz",
+ "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/types": "^7.4.4",
+ "esutils": "^2.0.2"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.28.4",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz",
+ "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
+ "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/parser": "^7.27.2",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
+ "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.28.5",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.28.5",
+ "@babel/template": "^7.27.2",
+ "@babel/types": "^7.28.5",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse--for-generate-function-map": {
+ "name": "@babel/traverse",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
+ "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.28.5",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.28.5",
+ "@babel/template": "^7.27.2",
+ "@babel/types": "^7.28.5",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
+ "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5"
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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/eslintrc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
+ "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
+ "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@hapi/hoek": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
+ "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==",
+ "devOptional": true,
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@hapi/topo": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz",
+ "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==",
+ "devOptional": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@hapi/hoek": "^9.0.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
+ "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
+ "deprecated": "Use @eslint/config-array instead",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.3",
+ "debug": "^4.3.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "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/object-schema": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
+ "deprecated": "Use @eslint/object-schema instead",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
+ "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/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/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
+ "version": "3.14.2",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
+ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/@istanbuljs/load-nyc-config/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/@istanbuljs/load-nyc-config/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/@istanbuljs/load-nyc-config/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/@istanbuljs/load-nyc-config/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/@istanbuljs/schema": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
+ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/globals": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz",
+ "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/@nicolo-ribaudo/eslint-scope-5-internals": {
+ "version": "5.1.1-v1",
+ "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz",
+ "integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-scope": "5.1.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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@react-icons/all-files": {
+ "version": "5.5.0",
+ "resolved": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
+ "integrity": "sha512-SFs2VrQaybncj7qsOjGch23QQc3nJvWtiZXzXGDqPZk2Vw06tw0aRbLuppg74MMYgmLnzkbIgZZYPkoFYP/DZw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*"
+ }
+ },
+ "node_modules/@react-native-community/cli": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli/-/cli-20.0.0.tgz",
+ "integrity": "sha512-/cMnGl5V1rqnbElY1Fvga1vfw0d3bnqiJLx2+2oh7l9ulnXfVRWb5tU2kgBqiMxuDOKA+DQoifC9q/tvkj5K2w==",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@react-native-community/cli-clean": "20.0.0",
+ "@react-native-community/cli-config": "20.0.0",
+ "@react-native-community/cli-doctor": "20.0.0",
+ "@react-native-community/cli-server-api": "20.0.0",
+ "@react-native-community/cli-tools": "20.0.0",
+ "@react-native-community/cli-types": "20.0.0",
+ "chalk": "^4.1.2",
+ "commander": "^9.4.1",
+ "deepmerge": "^4.3.0",
+ "execa": "^5.0.0",
+ "find-up": "^5.0.0",
+ "fs-extra": "^8.1.0",
+ "graceful-fs": "^4.1.3",
+ "prompts": "^2.4.2",
+ "semver": "^7.5.2"
+ },
+ "bin": {
+ "rnc-cli": "build/bin.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@react-native-community/cli-clean": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-clean/-/cli-clean-20.0.0.tgz",
+ "integrity": "sha512-YmdNRcT+Dp8lC7CfxSDIfPMbVPEXVFzBH62VZNbYGxjyakqAvoQUFTYPgM2AyFusAr4wDFbDOsEv88gCDwR3ig==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "execa": "^5.0.0",
+ "fast-glob": "^3.3.2"
+ }
+ },
+ "node_modules/@react-native-community/cli-config": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-config/-/cli-config-20.0.0.tgz",
+ "integrity": "sha512-5Ky9ceYuDqG62VIIpbOmkg8Lybj2fUjf/5wK4UO107uRqejBgNgKsbGnIZgEhREcaSEOkujWrroJ9gweueLfBg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "cosmiconfig": "^9.0.0",
+ "deepmerge": "^4.3.0",
+ "fast-glob": "^3.3.2",
+ "joi": "^17.2.1"
+ }
+ },
+ "node_modules/@react-native-community/cli-config-android": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-config-android/-/cli-config-android-20.0.0.tgz",
+ "integrity": "sha512-asv60qYCnL1v0QFWcG9r1zckeFlKG+14GGNyPXY72Eea7RX5Cxdx8Pb6fIPKroWH1HEWjYH9KKHksMSnf9FMKw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "fast-glob": "^3.3.2",
+ "fast-xml-parser": "^4.4.1"
+ }
+ },
+ "node_modules/@react-native-community/cli-config-apple": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-config-apple/-/cli-config-apple-20.0.0.tgz",
+ "integrity": "sha512-PS1gNOdpeQ6w7dVu1zi++E+ix2D0ZkGC2SQP6Y/Qp002wG4se56esLXItYiiLrJkhH21P28fXdmYvTEkjSm9/Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "execa": "^5.0.0",
+ "fast-glob": "^3.3.2"
+ }
+ },
+ "node_modules/@react-native-community/cli-doctor": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-doctor/-/cli-doctor-20.0.0.tgz",
+ "integrity": "sha512-cPHspi59+Fy41FDVxt62ZWoicCZ1o34k8LAl64NVSY0lwPl+CEi78jipXJhtfkVqSTetloA8zexa/vSAcJy57Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-config": "20.0.0",
+ "@react-native-community/cli-platform-android": "20.0.0",
+ "@react-native-community/cli-platform-apple": "20.0.0",
+ "@react-native-community/cli-platform-ios": "20.0.0",
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "command-exists": "^1.2.8",
+ "deepmerge": "^4.3.0",
+ "envinfo": "^7.13.0",
+ "execa": "^5.0.0",
+ "node-stream-zip": "^1.9.1",
+ "ora": "^5.4.1",
+ "semver": "^7.5.2",
+ "wcwidth": "^1.0.1",
+ "yaml": "^2.2.1"
+ }
+ },
+ "node_modules/@react-native-community/cli-doctor/node_modules/semver": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "devOptional": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@react-native-community/cli-platform-android": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-platform-android/-/cli-platform-android-20.0.0.tgz",
+ "integrity": "sha512-th3ji1GRcV6ACelgC0wJtt9daDZ+63/52KTwL39xXGoqczFjml4qERK90/ppcXU0Ilgq55ANF8Pr+UotQ2AB/A==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-config-android": "20.0.0",
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "execa": "^5.0.0",
+ "logkitty": "^0.7.1"
+ }
+ },
+ "node_modules/@react-native-community/cli-platform-apple": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-platform-apple/-/cli-platform-apple-20.0.0.tgz",
+ "integrity": "sha512-rZZCnAjUHN1XBgiWTAMwEKpbVTO4IHBSecdd1VxJFeTZ7WjmstqA6L/HXcnueBgxrzTCRqvkRIyEQXxC1OfhGw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-config-apple": "20.0.0",
+ "@react-native-community/cli-tools": "20.0.0",
+ "chalk": "^4.1.2",
+ "execa": "^5.0.0",
+ "fast-xml-parser": "^4.4.1"
+ }
+ },
+ "node_modules/@react-native-community/cli-platform-ios": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-platform-ios/-/cli-platform-ios-20.0.0.tgz",
+ "integrity": "sha512-Z35M+4gUJgtS4WqgpKU9/XYur70nmj3Q65c9USyTq6v/7YJ4VmBkmhC9BticPs6wuQ9Jcv0NyVCY0Wmh6kMMYw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-platform-apple": "20.0.0"
+ }
+ },
+ "node_modules/@react-native-community/cli-server-api": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-server-api/-/cli-server-api-20.0.0.tgz",
+ "integrity": "sha512-Ves21bXtjUK3tQbtqw/NdzpMW1vR2HvYCkUQ/MXKrJcPjgJnXQpSnTqHXz6ZdBlMbbwLJXOhSPiYzxb5/v4CDg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@react-native-community/cli-tools": "20.0.0",
+ "body-parser": "^1.20.3",
+ "compression": "^1.7.1",
+ "connect": "^3.6.5",
+ "errorhandler": "^1.5.1",
+ "nocache": "^3.0.1",
+ "open": "^6.2.0",
+ "pretty-format": "^29.7.0",
+ "serve-static": "^1.13.1",
+ "ws": "^6.2.3"
+ }
+ },
+ "node_modules/@react-native-community/cli-tools": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-tools/-/cli-tools-20.0.0.tgz",
+ "integrity": "sha512-akSZGxr1IajJ8n0YCwQoA3DI0HttJ0WB7M3nVpb0lOM+rJpsBN7WG5Ft+8ozb6HyIPX+O+lLeYazxn5VNG/Xhw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vscode/sudo-prompt": "^9.0.0",
+ "appdirsjs": "^1.2.4",
+ "chalk": "^4.1.2",
+ "execa": "^5.0.0",
+ "find-up": "^5.0.0",
+ "launch-editor": "^2.9.1",
+ "mime": "^2.4.1",
+ "ora": "^5.4.1",
+ "prompts": "^2.4.2",
+ "semver": "^7.5.2"
+ }
+ },
+ "node_modules/@react-native-community/cli-tools/node_modules/semver": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "devOptional": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@react-native-community/cli-types": {
+ "version": "20.0.0",
+ "resolved": "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-20.0.0.tgz",
+ "integrity": "sha512-7J4hzGWOPTBV1d30Pf2NidV+bfCWpjfCOiGO3HUhz1fH4MvBM0FbbBmE9LE5NnMz7M8XSRSi68ZGYQXgLBB2Qw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "joi": "^17.2.1"
+ }
+ },
+ "node_modules/@react-native-community/cli/node_modules/semver": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "devOptional": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@react-native/assets-registry": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.83.1.tgz",
+ "integrity": "sha512-AT7/T6UwQqO39bt/4UL5EXvidmrddXrt0yJa7ENXndAv+8yBzMsZn6fyiax6+ERMt9GLzAECikv3lj22cn2wJA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/babel-plugin-codegen": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.83.1.tgz",
+ "integrity": "sha512-VPj8O3pG1ESjZho9WVKxqiuryrotAECPHGF5mx46zLUYNTWR5u9OMUXYk7LeLy+JLWdGEZ2Gn3KoXeFZbuqE+g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.25.3",
+ "@react-native/codegen": "0.83.1"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/babel-preset": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.83.1.tgz",
+ "integrity": "sha512-xI+tbsD4fXcI6PVU4sauRCh0a5fuLQC849SINmU2J5wP8kzKu4Ye0YkGjUW3mfGrjaZcjkWmF6s33jpyd3gdTw==",
+ "devOptional": true,
+ "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.83.1",
+ "babel-plugin-syntax-hermes-parser": "0.32.0",
+ "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.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.83.1.tgz",
+ "integrity": "sha512-FpRxenonwH+c2a5X5DZMKUD7sCudHxB3eSQPgV9R+uxd28QWslyAWrpnJM/Az96AEksHnymDzEmzq2HLX5nb+g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/parser": "^7.25.3",
+ "glob": "^7.1.1",
+ "hermes-parser": "0.32.0",
+ "invariant": "^2.2.4",
+ "nullthrows": "^1.1.1",
+ "yargs": "^17.6.2"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "*"
+ }
+ },
+ "node_modules/@react-native/community-cli-plugin": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.83.1.tgz",
+ "integrity": "sha512-FqR1ftydr08PYlRbrDF06eRiiiGOK/hNmz5husv19sK6iN5nHj1SMaCIVjkH/a5vryxEddyFhU6PzO/uf4kOHg==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-native/dev-middleware": "0.83.1",
+ "debug": "^4.4.0",
+ "invariant": "^2.2.4",
+ "metro": "^0.83.3",
+ "metro-config": "^0.83.3",
+ "metro-core": "^0.83.3",
+ "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.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@react-native/debugger-frontend": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.83.1.tgz",
+ "integrity": "sha512-01Rn3goubFvPjHXONooLmsW0FLxJDKIUJNOlOS0cPtmmTIx9YIjxhe/DxwHXGk7OnULd7yl3aYy7WlBsEd5Xmg==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/debugger-shell": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/debugger-shell/-/debugger-shell-0.83.1.tgz",
+ "integrity": "sha512-d+0w446Hxth5OP/cBHSSxOEpbj13p2zToUy6e5e3tTERNJ8ueGlW7iGwGTrSymNDgXXFjErX+dY4P4/3WokPIQ==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "fb-dotslash": "0.5.8"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/dev-middleware": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/dev-middleware/-/dev-middleware-0.83.1.tgz",
+ "integrity": "sha512-QJaSfNRzj3Lp7MmlCRgSBlt1XZ38xaBNXypXAp/3H3OdFifnTZOeYOpFmcpjcXYnDqkxetuwZg8VL65SQhB8dg==",
+ "license": "MIT",
+ "dependencies": {
+ "@isaacs/ttlcache": "^1.4.1",
+ "@react-native/debugger-frontend": "0.83.1",
+ "@react-native/debugger-shell": "0.83.1",
+ "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": "^7.5.10"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/dev-middleware/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/@react-native/dev-middleware/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/@react-native/dev-middleware/node_modules/ws": {
+ "version": "7.5.10",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
+ "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-native/eslint-config": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/eslint-config/-/eslint-config-0.83.1.tgz",
+ "integrity": "sha512-fo3DmFywzkpVZgIji9vR93kN7sSAY122ZIB7VcudgKlmD/YFxJ5Yi+ZNiWYl6aprLexxOWjROgHXNP0B0XaAng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/eslint-parser": "^7.25.1",
+ "@react-native/eslint-plugin": "0.83.1",
+ "@typescript-eslint/eslint-plugin": "^8.36.0",
+ "@typescript-eslint/parser": "^8.36.0",
+ "eslint-config-prettier": "^8.5.0",
+ "eslint-plugin-eslint-comments": "^3.2.0",
+ "eslint-plugin-ft-flow": "^2.0.1",
+ "eslint-plugin-jest": "^29.0.1",
+ "eslint-plugin-react": "^7.30.1",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-native": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "eslint": ">=8",
+ "prettier": ">=2"
+ }
+ },
+ "node_modules/@react-native/eslint-plugin": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/eslint-plugin/-/eslint-plugin-0.83.1.tgz",
+ "integrity": "sha512-nKd/FONY8aIIjtjEqI2ScvgJYeblBgdnwseRHlIC+Nm3f3tuOifUrHFtWBJznlrKFJcme31Tl7qiryE2SruLYw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/gradle-plugin": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.83.1.tgz",
+ "integrity": "sha512-6ESDnwevp1CdvvxHNgXluil5OkqbjkJAkVy7SlpFsMGmVhrSxNAgD09SSRxMNdKsnLtzIvMsFCzyHLsU/S4PtQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/js-polyfills": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.83.1.tgz",
+ "integrity": "sha512-qgPpdWn/c5laA+3WoJ6Fak8uOm7CG50nBsLlPsF8kbT7rUHIVB9WaP6+GPsoKV/H15koW7jKuLRoNVT7c3Ht3w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/metro-babel-transformer": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.83.1.tgz",
+ "integrity": "sha512-fqt6DHWX1GBGDKa5WJOjDtPPy2M9lkYVLn59fBeFQ0GXhBRzNbUh8JzWWI/Q2CLDZ2tgKCcwaiXJ1OHWVd2BCQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.25.2",
+ "@react-native/babel-preset": "0.83.1",
+ "hermes-parser": "0.32.0",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "*"
+ }
+ },
+ "node_modules/@react-native/metro-config": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/metro-config/-/metro-config-0.83.1.tgz",
+ "integrity": "sha512-1rjYZf62fCm6QAinHmRAKnJxIypX0VF/zBPd0qWvWABMZugrS0eACuIbk9Wk0StBod4yL8KnwEJyg77ak8xYzQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@react-native/js-polyfills": "0.83.1",
+ "@react-native/metro-babel-transformer": "0.83.1",
+ "metro-config": "^0.83.3",
+ "metro-runtime": "^0.83.3"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ }
+ },
+ "node_modules/@react-native/new-app-screen": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/new-app-screen/-/new-app-screen-0.83.1.tgz",
+ "integrity": "sha512-xnozxb1NjjpbTYZWHPVHHFVHdmUQ3yQfO9wK29e0JKNg/uIUq4rJ7oXYwIWPsUFFxMlKsesu2lG2+VagbGwQsg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@types/react": "^19.1.0",
+ "react": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-native/normalize-colors": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.83.1.tgz",
+ "integrity": "sha512-84feABbmeWo1kg81726UOlMKAhcQyFXYz2SjRKYkS78QmfhVDhJ2o/ps1VjhFfBz0i/scDwT1XNv9GwmRIghkg==",
+ "license": "MIT"
+ },
+ "node_modules/@react-native/typescript-config": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/typescript-config/-/typescript-config-0.83.1.tgz",
+ "integrity": "sha512-y83qd7fmlZG+EJoOyKEmAXifdjN1csNhcfpyxDvgaIUNO/pw2ws3MV/wp+ERQ8F6JIuAu1zcfyCy1/pEA7tC9g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@react-native/virtualized-lists": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.83.1.tgz",
+ "integrity": "sha512-MdmoAbQUTOdicCocm5XAFDJWsswxk7hxa6ALnm6Y88p01HFML0W593hAn6qOt9q6IM1KbAcebtH6oOd4gcQy8w==",
+ "license": "MIT",
+ "dependencies": {
+ "invariant": "^2.2.4",
+ "nullthrows": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@types/react": "^19.2.0",
+ "react": "*",
+ "react-native": "*"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-navigation/core": {
+ "version": "7.13.7",
+ "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.13.7.tgz",
+ "integrity": "sha512-k2ABo3250vq1ovOh/iVwXS6Hwr5PVRGXoPh/ewVFOOuEKTvOx9i//OBzt8EF+HokBxS2HBRlR2b+aCOmscRqBw==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/routers": "^7.5.3",
+ "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/core/node_modules/react-is": {
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.3.tgz",
+ "integrity": "sha512-qJNJfu81ByyabuG7hPFEbXqNcWSU3+eVus+KJs+0ncpGfMyYdvSmxiJxbWR65lYi1I+/0HBcliO029gc4F+PnA==",
+ "license": "MIT"
+ },
+ "node_modules/@react-navigation/elements": {
+ "version": "2.9.3",
+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.3.tgz",
+ "integrity": "sha512-3+eyvWiVPIEf6tN9UdduhOEHcTuNe3R5WovgiVkfH9+jApHMTZDc2loePTpY/i2HDJhObhhChpJzO6BVjrpdYQ==",
+ "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.1.26",
+ "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.1.26",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.1.26.tgz",
+ "integrity": "sha512-RhKmeD0E2ejzKS6z8elAfdfwShpcdkYY8zJzvHYLq+wv183BBcElTeyMLcIX6wIn7QutXeI92Yi21t7aUWfqNQ==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@react-navigation/core": "^7.13.7",
+ "escape-string-regexp": "^4.0.0",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^3.3.11",
+ "use-latest-callback": "^0.2.4"
+ },
+ "peerDependencies": {
+ "react": ">= 18.2.0",
+ "react-native": "*"
+ }
+ },
+ "node_modules/@react-navigation/native-stack": {
+ "version": "7.9.0",
+ "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.9.0.tgz",
+ "integrity": "sha512-C/mNPhI0Pnerl7C2cB+6fAkdgSmfKECMERrbyfjx3P6JmEuTC54o+GV1c62FUmlRaRUassVHbtw4EeaY2uLh0g==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-navigation/elements": "^2.9.3",
+ "color": "^4.2.3",
+ "sf-symbols-typescript": "^2.1.0",
+ "warn-once": "^0.1.1"
+ },
+ "peerDependencies": {
+ "@react-navigation/native": "^7.1.26",
+ "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.5.3",
+ "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.5.3.tgz",
+ "integrity": "sha512-1tJHg4KKRJuQ1/EvJxatrMef3NZXEPzwUIUZ3n1yJ2t7Q97siwRtbynRpQG9/69ebbtiZ8W3ScOZF/OmhvM4Rg==",
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11"
+ }
+ },
+ "node_modules/@sideway/address": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz",
+ "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==",
+ "devOptional": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@hapi/hoek": "^9.0.0"
+ }
+ },
+ "node_modules/@sideway/formula": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz",
+ "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==",
+ "devOptional": true,
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@sideway/pinpoint": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",
+ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==",
+ "devOptional": true,
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@sinclair/typebox": {
+ "version": "0.27.8",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
+ "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
+ "license": "MIT"
+ },
+ "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/@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/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/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/node": {
+ "version": "25.0.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz",
+ "integrity": "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.16.0"
+ }
+ },
+ "node_modules/@types/react": {
+ "version": "19.2.7",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.7.tgz",
+ "integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-native-sqlite-storage": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/@types/react-native-sqlite-storage/-/react-native-sqlite-storage-6.0.5.tgz",
+ "integrity": "sha512-1gPwgYil6pHV/EDF816M8KmVsQC5nGMTAm8OMC25GbyuBaXFn7sdguMq6A2owtXB8c4qsH2tOEIQNetbOquawA==",
+ "license": "MIT"
+ },
+ "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/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/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.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.52.0.tgz",
+ "integrity": "sha512-okqtOgqu2qmZJ5iN4TWlgfF171dZmx2FzdOv2K/ixL2LZWDStL8+JgQerI2sa8eAEfoydG9+0V96m7V+P8yE1Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.12.2",
+ "@typescript-eslint/scope-manager": "8.52.0",
+ "@typescript-eslint/type-utils": "8.52.0",
+ "@typescript-eslint/utils": "8.52.0",
+ "@typescript-eslint/visitor-keys": "8.52.0",
+ "ignore": "^7.0.5",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.4.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.52.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.52.0.tgz",
+ "integrity": "sha512-iIACsx8pxRnguSYhHiMn2PvhvfpopO9FXHyn1mG5txZIsAaB6F0KwbFnUQN3KCiG3Jcuad/Cao2FAs1Wp7vAyg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.52.0",
+ "@typescript-eslint/types": "8.52.0",
+ "@typescript-eslint/typescript-estree": "8.52.0",
+ "@typescript-eslint/visitor-keys": "8.52.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",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.52.0.tgz",
+ "integrity": "sha512-xD0MfdSdEmeFa3OmVqonHi+Cciab96ls1UhIF/qX/O/gPu5KXD0bY9lu33jj04fjzrXHcuvjBcBC+D3SNSadaw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.52.0",
+ "@typescript-eslint/types": "^8.52.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.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.52.0.tgz",
+ "integrity": "sha512-ixxqmmCcc1Nf8S0mS0TkJ/3LKcC8mruYJPOU6Ia2F/zUUR4pApW7LzrpU3JmtePbRUTes9bEqRc1Gg4iyRnDzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.52.0",
+ "@typescript-eslint/visitor-keys": "8.52.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.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.52.0.tgz",
+ "integrity": "sha512-jl+8fzr/SdzdxWJznq5nvoI7qn2tNYV/ZBAEcaFMVXf+K6jmXvAFrgo/+5rxgnL152f//pDEAYAhhBAZGrVfwg==",
+ "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.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.52.0.tgz",
+ "integrity": "sha512-JD3wKBRWglYRQkAtsyGz1AewDu3mTc7NtRjR/ceTyGoPqmdS5oCdx/oZMWD5Zuqmo6/MpsYs0wp6axNt88/2EQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.52.0",
+ "@typescript-eslint/typescript-estree": "8.52.0",
+ "@typescript-eslint/utils": "8.52.0",
+ "debug": "^4.4.3",
+ "ts-api-utils": "^2.4.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",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.52.0.tgz",
+ "integrity": "sha512-LWQV1V4q9V4cT4H5JCIx3481iIFxH1UkVk+ZkGGAV1ZGcjGI9IoFOfg3O6ywz8QqCDEp7Inlg6kovMofsNRaGg==",
+ "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.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.52.0.tgz",
+ "integrity": "sha512-XP3LClsCc0FsTK5/frGjolyADTh3QmsLp6nKd476xNI9CsSsLnmn4f0jrzNoAulmxlmNIpeXuHYeEQv61Q6qeQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.52.0",
+ "@typescript-eslint/tsconfig-utils": "8.52.0",
+ "@typescript-eslint/types": "8.52.0",
+ "@typescript-eslint/visitor-keys": "8.52.0",
+ "debug": "^4.4.3",
+ "minimatch": "^9.0.5",
+ "semver": "^7.7.3",
+ "tinyglobby": "^0.2.15",
+ "ts-api-utils": "^2.4.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.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.52.0.tgz",
+ "integrity": "sha512-wYndVMWkweqHpEpwPhwqE2lnD2DxC6WVLupU/DOt/0/v+/+iQbbzO3jOHjmBMnhu0DgLULvOaU4h4pwHYi2oRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.9.1",
+ "@typescript-eslint/scope-manager": "8.52.0",
+ "@typescript-eslint/types": "8.52.0",
+ "@typescript-eslint/typescript-estree": "8.52.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",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.52.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.52.0.tgz",
+ "integrity": "sha512-ink3/Zofus34nmBsPjow63FP5M7IGff0RKAgqR6+CFpdk22M7aLwC9gOcLGYqr7MczLPzZVERW9hRog3O4n1sQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.52.0",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "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": "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/@ungap/structured-clone": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
+ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/@vscode/sudo-prompt": {
+ "version": "9.3.2",
+ "resolved": "https://registry.npmjs.org/@vscode/sudo-prompt/-/sudo-prompt-9.3.2.tgz",
+ "integrity": "sha512-gcXoCN00METUNFeQOFJ+C9xUI0DKB+0EGMVg7wbVYRHBw2Eq3fKisDZOkRdOz3kqXRKOENMfShPOmypw1/8nOw==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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/accepts/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/acorn": {
+ "version": "8.15.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
+ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "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/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/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-escapes/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==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-fragments": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-fragments/-/ansi-fragments-0.2.1.tgz",
+ "integrity": "sha512-DykbNHxuXQwUDRv5ibc2b0x7uw7wmwOGLBUd5RmaQ5z8Lhx19vwvKV+FAsM5rEA6dEcHxX+/Ad5s9eF2k2bB+w==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "colorette": "^1.0.7",
+ "slice-ansi": "^2.0.0",
+ "strip-ansi": "^5.0.0"
+ }
+ },
+ "node_modules/ansi-fragments/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-fragments/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "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/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/appdirsjs": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/appdirsjs/-/appdirsjs-1.2.7.tgz",
+ "integrity": "sha512-Quji6+8kLBC3NnBeo14nPDq0+2jUs5s3/xEye+udFHumHhRk4M7aAMXp/PBJqkKYGuuyR9M/6Dq7d2AViiGmhw==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "Python-2.0"
+ },
+ "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.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.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/astral-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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/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.14",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz",
+ "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.27.7",
+ "@babel/helper-define-polyfill-provider": "^0.6.5",
+ "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==",
+ "devOptional": true,
+ "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.5",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz",
+ "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-define-polyfill-provider": "^0.6.5"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-syntax-hermes-parser": {
+ "version": "0.32.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.32.0.tgz",
+ "integrity": "sha512-m5HthL++AbyeEA2FcdwOLfVFvWYECOBObLHNqdR8ceY4TsEdn4LdX2oTvbB2QJSSElE2AWA/b2MXZ/PF/CqLZg==",
+ "license": "MIT",
+ "dependencies": {
+ "hermes-parser": "0.32.0"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/plugin-syntax-flow": "^7.12.1"
+ }
+ },
+ "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-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/base-64": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/base-64/-/base-64-0.1.0.tgz",
+ "integrity": "sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA=="
+ },
+ "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.9.13",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.13.tgz",
+ "integrity": "sha512-WhtvB2NG2wjr04+h77sg3klAIwrgOqnjS49GGudnUPGFFgg7G17y7Qecqp+2Dr5kUDxNRBca0SK7cG8JwzkWDQ==",
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.js"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/body-parser": {
+ "version": "1.20.4",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz",
+ "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "content-type": "~1.0.5",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "~1.2.0",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "on-finished": "~2.4.1",
+ "qs": "~6.14.0",
+ "raw-body": "~2.5.3",
+ "type-is": "~1.6.18",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/body-parser/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/body-parser/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "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.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
+ "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "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",
+ "peer": true,
+ "dependencies": {
+ "baseline-browser-mapping": "^2.9.0",
+ "caniuse-lite": "^1.0.30001759",
+ "electron-to-chromium": "^1.5.263",
+ "node-releases": "^2.0.27",
+ "update-browserslist-db": "^1.2.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
+ "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.0",
+ "es-define-property": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": 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==",
+ "devOptional": true,
+ "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/caniuse-lite": {
+ "version": "1.0.30001763",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001763.tgz",
+ "integrity": "sha512-mh/dGtq56uN98LlNX9qdbKnzINhX0QzhiWBFEkFfsFO4QyCvL8YegrJAazCwXIeqkIob8BlZPGM3xdnY+sgmvQ==",
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "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/chrome-launcher/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/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/chromium-edge-launcher/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/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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "restore-cursor": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/co": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
+ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/colorette": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",
+ "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/command-exists": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz",
+ "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/commander": {
+ "version": "9.5.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",
+ "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || >=14"
+ }
+ },
+ "node_modules/compressible": {
+ "version": "2.0.18",
+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
+ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "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.47.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz",
+ "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.28.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/cosmiconfig": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
+ "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "env-paths": "^2.2.1",
+ "import-fresh": "^3.3.0",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/d-fischer"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.9.5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "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==",
+ "dev": true,
+ "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-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-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/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-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/dayjs": {
+ "version": "1.11.19",
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz",
+ "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "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/dedent": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz",
+ "integrity": "sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "babel-plugin-macros": "^3.1.0"
+ },
+ "peerDependenciesMeta": {
+ "babel-plugin-macros": {
+ "optional": true
+ }
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "clone": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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-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/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-newline": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
+ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/diff-sequences": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
+ "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.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/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/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "devOptional": true,
+ "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.267",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz",
+ "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==",
+ "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==",
+ "dev": true,
+ "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/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-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/envinfo": {
+ "version": "7.21.0",
+ "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.21.0.tgz",
+ "integrity": "sha512-Lw7I8Zp5YKHFCXL7+Dz95g4CcbMEpgvqZNNq3AmlT5XAV6CgAAk6gyAMqn2zjw08K9BHfcNuKrMiCPLByGafow==",
+ "devOptional": true,
+ "license": "MIT",
+ "bin": {
+ "envinfo": "dist/cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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/errorhandler": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/errorhandler/-/errorhandler-1.5.2.tgz",
+ "integrity": "sha512-kNAL7hESndBCrWwS72QyV3IVOTrVmj9D062FV5BQswNL5zEdeRmz/WJFyh6Aj/plvvSOrzddkxW57HgkZcR9Fw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "~1.3.8",
+ "escape-html": "~1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.24.1",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.1.tgz",
+ "integrity": "sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw==",
+ "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-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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-iterator-helpers": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.2.tgz",
+ "integrity": "sha512-BrUQ0cPTB/IwXj23HtwHjS9n7O4h9FX94b4xc5zlTHxeLgTAdzYUDyy6KdExAl9lbN5rtfe44xpjpmj9grxs5w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.24.1",
+ "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",
+ "safe-array-concat": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
+ "devOptional": true,
+ "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==",
+ "dev": true,
+ "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.0",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz",
+ "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-callable": "^1.2.7",
+ "is-date-object": "^1.0.5",
+ "is-symbol": "^1.0.4"
+ },
+ "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/eslint": {
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
+ "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
+ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.4",
+ "@eslint/js": "8.57.1",
+ "@humanwhocodes/config-array": "^0.13.0",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-config-prettier": {
+ "version": "8.10.2",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.2.tgz",
+ "integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "eslint-config-prettier": "bin/cli.js"
+ },
+ "peerDependencies": {
+ "eslint": ">=7.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-eslint-comments": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz",
+ "integrity": "sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "escape-string-regexp": "^1.0.5",
+ "ignore": "^5.0.5"
+ },
+ "engines": {
+ "node": ">=6.5.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/mysticatea"
+ },
+ "peerDependencies": {
+ "eslint": ">=4.19.1"
+ }
+ },
+ "node_modules/eslint-plugin-eslint-comments/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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/eslint-plugin-eslint-comments/node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/eslint-plugin-ft-flow": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-ft-flow/-/eslint-plugin-ft-flow-2.0.3.tgz",
+ "integrity": "sha512-Vbsd/b+LYA99jUbsL6viEUWShFaYQt2YQs3QN3f+aeszOhh2sgdcU0mjzDyD4yyBvMc8qy2uwvBBWfMzEX06tg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "lodash": "^4.17.21",
+ "string-natural-compare": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=12.22.0"
+ },
+ "peerDependencies": {
+ "@babel/eslint-parser": "^7.12.0",
+ "eslint": "^8.1.0"
+ }
+ },
+ "node_modules/eslint-plugin-jest": {
+ "version": "29.12.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-29.12.1.tgz",
+ "integrity": "sha512-Rxo7r4jSANMBkXLICJKS0gjacgyopfNAsoS0e3R9AHnjoKuQOaaPfmsDJPi8UWwygI099OV/K/JhpYRVkxD4AA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/utils": "^8.0.0"
+ },
+ "engines": {
+ "node": "^20.12.0 || ^22.0.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "jest": "*"
+ },
+ "peerDependenciesMeta": {
+ "@typescript-eslint/eslint-plugin": {
+ "optional": true
+ },
+ "jest": {
+ "optional": true
+ }
+ }
+ },
+ "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.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz",
+ "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==",
+ "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"
+ }
+ },
+ "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-native": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-native/-/eslint-plugin-react-native-4.1.0.tgz",
+ "integrity": "sha512-QLo7rzTBOl43FvVqDdq5Ql9IoElIuTdjrz9SKAXCvULvBoRZ44JGSkx9z4999ZusCsb4rK3gjS8gOGyeYqZv2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-plugin-react-native-globals": "^0.1.1"
+ },
+ "peerDependencies": {
+ "eslint": "^3.17.0 || ^4 || ^5 || ^6 || ^7 || ^8"
+ }
+ },
+ "node_modules/eslint-plugin-react-native-globals": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz",
+ "integrity": "sha512-9aEPf1JEpiTjcFAmmyw8eiIXmcNZOqaZyHO77wgm0/dWfT/oxC1SrIq8ET38pMxHYrcB6Uew+TzUVsBeczF88g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/eslint-plugin-react/node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/eslint-plugin-react/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/eslint-plugin-react/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "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.5",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
+ "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/eslint-scope/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",
+ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/eslint/node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/eslint/node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint/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/node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/eslint/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree/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/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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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/fast-xml-parser": {
+ "version": "4.5.3",
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.3.tgz",
+ "integrity": "sha512-RKihhV+SHsIUGXObeVy9AXiBbFwkVk7Syp8XgwN5U3JV416+Gwp/GO9i0JYKmikykgz/UHRrrV4ROuZEo/T0ig==",
+ "devOptional": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/NaturalIntelligence"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "strnum": "^1.1.1"
+ },
+ "bin": {
+ "fxparser": "src/cli/cli.js"
+ }
+ },
+ "node_modules/fastq": {
+ "version": "1.20.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
+ "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
+ "devOptional": true,
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fb-dotslash": {
+ "version": "0.5.8",
+ "resolved": "https://registry.npmjs.org/fb-dotslash/-/fb-dotslash-0.5.8.tgz",
+ "integrity": "sha512-XHYLKk9J4BupDxi9bSEhkfss0m+Vr9ChTrjhf9l2iw3jB5C7BnY4GVPoMcqbrTutsKJso6yj2nAB6BI/F2oZaA==",
+ "license": "(MIT OR Apache-2.0)",
+ "bin": {
+ "dotslash": "bin/dotslash"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "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/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^3.0.4"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.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/finalhandler/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/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==",
+ "devOptional": 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/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
+ "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "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/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/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-extra": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
+ "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=6 <7 || >=8"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz",
+ "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.3",
+ "define-properties": "^1.2.1",
+ "functions-have-names": "^1.2.3",
+ "hasown": "^2.0.2",
+ "is-callable": "^1.2.7"
+ },
+ "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==",
+ "devOptional": true,
+ "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-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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "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/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==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/glob/node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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==",
+ "devOptional": true,
+ "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==",
+ "dev": true,
+ "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.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hermes-compiler": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/hermes-compiler/-/hermes-compiler-0.14.0.tgz",
+ "integrity": "sha512-clxa193o+GYYwykWVFfpHduCATz8fR5jvU7ngXpfKHj+E9hr9vjLNtdLSEe8MUbObvVexV3wcyxQ00xTPIrB1Q==",
+ "license": "MIT"
+ },
+ "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/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/html-escaper": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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/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/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==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "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==",
+ "devOptional": true,
+ "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": "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/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==",
+ "devOptional": 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-local": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
+ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
+ "dev": true,
+ "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/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/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==",
+ "devOptional": true,
+ "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-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-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.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
+ "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "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-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "devOptional": true,
+ "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": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-interactive": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz",
+ "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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-unicode-supported": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
+ "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz",
+ "integrity": "sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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-diff": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",
+ "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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-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-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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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-runtime": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz",
+ "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==",
+ "dev": true,
+ "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-snapshot": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz",
+ "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==",
+ "dev": true,
+ "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.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "dev": true,
+ "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-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-watcher": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz",
+ "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==",
+ "dev": true,
+ "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/joi": {
+ "version": "17.13.3",
+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz",
+ "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==",
+ "devOptional": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@hapi/hoek": "^9.3.0",
+ "@hapi/topo": "^5.1.0",
+ "@sideway/address": "^4.1.5",
+ "@sideway/formula": "^3.0.1",
+ "@sideway/pinpoint": "^2.0.0"
+ }
+ },
+ "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.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "devOptional": true,
+ "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/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==",
+ "dev": true,
+ "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==",
+ "devOptional": true,
+ "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/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",
+ "devOptional": true,
+ "license": "MIT",
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.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==",
+ "dev": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/launch-editor": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.12.0.tgz",
+ "integrity": "sha512-giOHXoOtifjdHqUamwKq6c49GzBdLjvxrd2D+Q4V6uOHopJv7p9VJxikDsQ/CBXZbEITgUqSVHXLTG3VhPP1Dg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "picocolors": "^1.1.1",
+ "shell-quote": "^1.8.3"
+ }
+ },
+ "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/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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "dev": true,
+ "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==",
+ "devOptional": 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": "4.1.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
+ "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.0",
+ "is-unicode-supported": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/logkitty": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/logkitty/-/logkitty-0.7.1.tgz",
+ "integrity": "sha512-/3ER20CTTbahrCrpYfPn7Xavv9diBROZpoXGVZDWMw4b/X4uuUwAC0ki85tgsdMRONURyIJbcOvS94QsUBYPbQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-fragments": "^0.2.1",
+ "dayjs": "^1.8.15",
+ "yargs": "^15.1.0"
+ },
+ "bin": {
+ "logkitty": "bin/logkitty.js"
+ }
+ },
+ "node_modules/logkitty/node_modules/cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "devOptional": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "node_modules/logkitty/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/logkitty/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/logkitty/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/logkitty/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/logkitty/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/logkitty/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
+ "devOptional": true,
+ "license": "ISC"
+ },
+ "node_modules/logkitty/node_modules/yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/logkitty/node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "devOptional": true,
+ "license": "ISC",
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "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/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/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==",
+ "dev": true,
+ "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.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "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-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==",
+ "devOptional": true,
+ "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-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-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/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.10",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
+ "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/mime": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",
+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",
+ "devOptional": true,
+ "license": "MIT",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "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/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.4",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz",
+ "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/nocache": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/nocache/-/nocache-3.0.4.tgz",
+ "integrity": "sha512-WDD0bdg9mbq6F4mRxEYcPWwfA1vxd0mrvKOyxI7Xj/atfRHVeutzuWByG//jfm4uPzp0y4Kj051EORCBSQMycw==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.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.27",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
+ "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
+ "license": "MIT"
+ },
+ "node_modules/node-stream-zip": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/node-stream-zip/-/node-stream-zip-1.15.0.tgz",
+ "integrity": "sha512-LN4fydt9TqhZhThkZIVQnF9cwjU3qmUH9h78Mx/K7d3VvfRqqwthLwJEUOEL0QPZ0XQmNN7be5Ggit5+4dq3Bw==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/antelle"
+ }
+ },
+ "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/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==",
+ "devOptional": true,
+ "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/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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "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==",
+ "devOptional": 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.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.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/on-headers": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz",
+ "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/open": {
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz",
+ "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-wsl": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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": "5.4.1",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz",
+ "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "bl": "^4.1.0",
+ "chalk": "^4.1.0",
+ "cli-cursor": "^3.1.0",
+ "cli-spinners": "^2.5.0",
+ "is-interactive": "^1.0.0",
+ "is-unicode-supported": "^0.1.0",
+ "log-symbols": "^4.1.0",
+ "strip-ansi": "^6.0.0",
+ "wcwidth": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "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==",
+ "devOptional": 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==",
+ "devOptional": true,
+ "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/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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "find-up": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/pkg-dir/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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/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/prettier": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "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/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==",
+ "devOptional": true,
+ "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/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/qs": {
+ "version": "6.14.1",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
+ "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
+ "devOptional": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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/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==",
+ "devOptional": true,
+ "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/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/raw-body": {
+ "version": "2.5.3",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
+ "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/react": {
+ "version": "19.2.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz",
+ "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==",
+ "license": "MIT",
+ "peer": true,
+ "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.10",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
+ "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-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": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
+ "license": "MIT"
+ },
+ "node_modules/react-native": {
+ "version": "0.83.1",
+ "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.83.1.tgz",
+ "integrity": "sha512-mL1q5HPq5cWseVhWRLl+Fwvi5z1UO+3vGOpjr+sHFwcUletPRZ5Kv+d0tUfqHmvi73/53NjlQqX1Pyn4GguUfA==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@jest/create-cache-key-function": "^29.7.0",
+ "@react-native/assets-registry": "0.83.1",
+ "@react-native/codegen": "0.83.1",
+ "@react-native/community-cli-plugin": "0.83.1",
+ "@react-native/gradle-plugin": "0.83.1",
+ "@react-native/js-polyfills": "0.83.1",
+ "@react-native/normalize-colors": "0.83.1",
+ "@react-native/virtualized-lists": "0.83.1",
+ "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.32.0",
+ "base64-js": "^1.5.1",
+ "commander": "^12.0.0",
+ "flow-enums-runtime": "^0.0.6",
+ "glob": "^7.1.1",
+ "hermes-compiler": "0.14.0",
+ "invariant": "^2.2.4",
+ "jest-environment-node": "^29.7.0",
+ "memoize-one": "^5.0.0",
+ "metro-runtime": "^0.83.3",
+ "metro-source-map": "^0.83.3",
+ "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.27.0",
+ "semver": "^7.1.3",
+ "stacktrace-parser": "^0.1.10",
+ "whatwg-fetch": "^3.0.0",
+ "ws": "^7.5.10",
+ "yargs": "^17.6.2"
+ },
+ "bin": {
+ "react-native": "cli.js"
+ },
+ "engines": {
+ "node": ">= 20.19.4"
+ },
+ "peerDependencies": {
+ "@types/react": "^19.1.1",
+ "react": "^19.2.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-native-device-info": {
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-15.0.1.tgz",
+ "integrity": "sha512-U5waZRXtT3l1SgZpZMlIvMKPTkFZPH8W7Ks6GrJhdH723aUIPxjVer7cRSij1mvQdOAAYFJV/9BDzlC8apG89A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-fs": {
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.20.0.tgz",
+ "integrity": "sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ==",
+ "license": "MIT",
+ "dependencies": {
+ "base-64": "^0.1.0",
+ "utf8": "^3.0.0"
+ },
+ "peerDependencies": {
+ "react-native": "*",
+ "react-native-windows": "*"
+ },
+ "peerDependenciesMeta": {
+ "react-native-windows": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-native-permissions": {
+ "version": "5.4.4",
+ "resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-5.4.4.tgz",
+ "integrity": "sha512-WB5lRCBGXETfuaUhem2vgOceb9+URCeyfKpLGFSwoOffLuyJCA6+NTR3l1KLkrK4Ykxsig37z16/shUVufmt7A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=18.1.0",
+ "react-native": ">=0.70.0",
+ "react-native-windows": ">=0.70.0"
+ },
+ "peerDependenciesMeta": {
+ "react-native-windows": {
+ "optional": true
+ }
+ }
+ },
+ "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",
+ "peer": true,
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-screens": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.19.0.tgz",
+ "integrity": "sha512-qSDAO3AL5bti0Ri7KZRSVmWlhDr8MV86N5GruiKVQfEL7Zx2nUi3Dl62lqHUAD/LnDvOPuDDsMHCfIpYSv3hPQ==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "react-freeze": "^1.0.0",
+ "warn-once": "^0.1.0"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "node_modules/react-native-share": {
+ "version": "12.2.2",
+ "resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-12.2.2.tgz",
+ "integrity": "sha512-YlGx4uILBXcBsOAwZ7ilK1QXzaA5H1LNgEKZIiwpWdw3Fz02s4yCel1mQJmjbPbwg5uHn+0uiWrSPBrNjDs/+A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/react-native-sqlite-storage": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/react-native-sqlite-storage/-/react-native-sqlite-storage-6.0.1.tgz",
+ "integrity": "sha512-1tDFjrint6X6qSYKf3gDyz+XB+X79jfiL6xTugKHPRtF0WvqMtVgdLuNqZunIXjNEvNtNVEbXaeZ6MsguFu00A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react-native": ">=0.14.0"
+ }
+ },
+ "node_modules/react-native-svg": {
+ "version": "15.15.1",
+ "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.15.1.tgz",
+ "integrity": "sha512-ZUD1xwc3Hwo4cOmOLumjJVoc7lEf9oQFlHnLmgccLC19fNm6LVEdtB+Cnip6gEi0PG3wfvVzskViEtrySQP8Fw==",
+ "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-webview": {
+ "version": "13.16.0",
+ "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-13.16.0.tgz",
+ "integrity": "sha512-Nh13xKZWW35C0dbOskD7OX01nQQavOzHbCw9XoZmar4eXCo7AvrYJ0jlUfRVVIJzqINxHlpECYLdmAdFsl9xDA==",
+ "license": "MIT",
+ "dependencies": {
+ "escape-string-regexp": "^4.0.0",
+ "invariant": "2.2.4"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
+ "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/semver": {
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/react-native/node_modules/ws": {
+ "version": "7.5.10",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
+ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
+ "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-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-test-renderer": {
+ "version": "19.2.0",
+ "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-19.2.0.tgz",
+ "integrity": "sha512-zLCFMHFE9vy/w3AxO0zNxy6aAupnCuLSVOJYDe/Tp+ayGI1f2PLQsFVPANSD42gdSbmYx5oN+1VWDhcXtq7hAQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "react-is": "^19.2.0",
+ "scheduler": "^0.27.0"
+ },
+ "peerDependencies": {
+ "react": "^19.2.0"
+ }
+ },
+ "node_modules/react-test-renderer/node_modules/react-is": {
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.3.tgz",
+ "integrity": "sha512-qJNJfu81ByyabuG7hPFEbXqNcWSU3+eVus+KJs+0ncpGfMyYdvSmxiJxbWR65lYi1I+/0HBcliO029gc4F+PnA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/regjsparser": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz",
+ "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==",
+ "devOptional": true,
+ "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-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "devOptional": true,
+ "license": "ISC"
+ },
+ "node_modules/resolve": {
+ "version": "1.22.11",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz",
+ "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "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-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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/resolve-cwd/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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "devOptional": true,
+ "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/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==",
+ "devOptional": true,
+ "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.3",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz",
+ "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "get-intrinsic": "^1.2.6",
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/scheduler": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
+ "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "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/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/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/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
+ "devOptional": true,
+ "license": "ISC"
+ },
+ "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/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/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.8.3",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz",
+ "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
+ "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.3",
+ "side-channel-list": "^1.0.0",
+ "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.0",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
+ "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.3"
+ },
+ "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==",
+ "devOptional": 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==",
+ "devOptional": 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-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==",
+ "devOptional": true,
+ "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/slice-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
+ "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^3.2.0",
+ "astral-regex": "^1.0.0",
+ "is-fullwidth-code-point": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/slice-ansi/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/slice-ansi/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/slice-ansi/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==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "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-support": {
+ "version": "0.5.13",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",
+ "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",
+ "dev": true,
+ "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/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-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/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/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_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "char-regex": "^1.0.2",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/string-natural-compare": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/string-natural-compare/-/string-natural-compare-3.0.1.tgz",
+ "integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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-width/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/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.10",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz",
+ "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "define-data-property": "^1.1.4",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.5",
+ "es-object-atoms": "^1.0.0",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz",
+ "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.2",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strnum": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.1.2.tgz",
+ "integrity": "sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==",
+ "devOptional": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/NaturalIntelligence"
+ }
+ ],
+ "license": "MIT"
+ },
+ "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-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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/terser": {
+ "version": "5.44.1",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.1.tgz",
+ "integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==",
+ "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/terser/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/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.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/test-exclude/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "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/ts-api-utils": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.4.0.tgz",
+ "integrity": "sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "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.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "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.7",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz",
+ "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "is-typed-array": "^1.1.13",
+ "possible-typed-array-names": "^1.0.0",
+ "reflect.getprototypeof": "^1.0.6"
+ },
+ "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==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "peer": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "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-types": {
+ "version": "7.16.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
+ "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "devOptional": true,
+ "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/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/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-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/utf8": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz",
+ "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==",
+ "license": "MIT"
+ },
+ "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==",
+ "devOptional": true,
+ "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/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==",
+ "dev": true,
+ "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/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "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/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==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "defaults": "^1.0.3"
+ }
+ },
+ "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/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-module": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
+ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
+ "devOptional": true,
+ "license": "ISC"
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.19",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz",
+ "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "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/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/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": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz",
+ "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "async-limiter": "~1.0.0"
+ }
+ },
+ "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.8.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz",
+ "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/eemeli"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "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==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz",
+ "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "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"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..03362090
--- /dev/null
+++ b/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "Colota",
+ "version": "1.0.2",
+ "private": true,
+ "scripts": {
+ "android": "react-native run-android",
+ "ios": "react-native run-ios",
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
+ "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
+ "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
+ "test": "jest",
+ "test:coverage": "jest --coverage",
+ "clean": "cd android && gradlew clean && cd ..",
+ "dev-android": "npx react-native run-android",
+ "start": "react-native start",
+ "android:debug": "cd android && gradlew assembleDebug || gradlew assembleDebug && cd ..",
+ "android:release": "cd android && gradlew assembleRelease || ./gradlew assembleRelease && cd ..",
+ "android:bundle": "cd android && gradlew bundleRelease || ./gradlew assembleRelease && cd ..",
+ "deploy-release": "adb install android/app/build/outputs/apk/release/app-release.apk",
+ "deploy-bundle": "adb install android/app/build/outputs/apk/bundle/app-release.aab"
+ },
+ "dependencies": {
+ "@react-native/new-app-screen": "0.83.1",
+ "@react-navigation/native": "^7.1.26",
+ "@react-navigation/native-stack": "^7.9.0",
+ "@types/react-native-sqlite-storage": "^6.0.5",
+ "react": "19.2.0",
+ "react-native": "0.83.1",
+ "react-native-device-info": "^15.0.1",
+ "react-native-fs": "^2.20.0",
+ "react-native-permissions": "^5.4.4",
+ "react-native-safe-area-context": "^5.6.2",
+ "react-native-screens": "^4.19.0",
+ "react-native-share": "^12.2.2",
+ "react-native-sqlite-storage": "^6.0.1",
+ "react-native-svg": "^15.15.1",
+ "react-native-webview": "^13.16.0"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.25.2",
+ "@babel/preset-env": "^7.25.3",
+ "@babel/runtime": "^7.25.0",
+ "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
+ "@react-native-community/cli": "20.0.0",
+ "@react-native-community/cli-platform-android": "20.0.0",
+ "@react-native-community/cli-platform-ios": "20.0.0",
+ "@react-native/babel-preset": "0.83.1",
+ "@react-native/eslint-config": "0.83.1",
+ "@react-native/metro-config": "0.83.1",
+ "@react-native/typescript-config": "0.83.1",
+ "@types/jest": "^29.5.13",
+ "@types/react": "^19.2.0",
+ "@types/react-test-renderer": "^19.1.0",
+ "eslint": "^8.19.0",
+ "jest": "^29.6.3",
+ "prettier": "^2.8.8",
+ "react-test-renderer": "19.2.0",
+ "typescript": "^5.8.3"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+}
diff --git a/prettierrc.json b/prettierrc.json
new file mode 100644
index 00000000..bde77aba
--- /dev/null
+++ b/prettierrc.json
@@ -0,0 +1,12 @@
+{
+ "bracketSpacing": true,
+ "proseWrap": "never",
+ "endOfLine": "lf",
+ "semi": false,
+ "singleQuote": false,
+ "jsxSingleQuote": false,
+ "printWidth": 120,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "quoteProps": "consistent"
+}
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 1.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 1.png
new file mode 100644
index 00000000..915aab1e
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 1.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 2.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 2.png
new file mode 100644
index 00000000..46a68afb
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 2.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 3.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 3.png
new file mode 100644
index 00000000..6088881f
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 3.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 4.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 4.png
new file mode 100644
index 00000000..acc388f2
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 4.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 5.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 5.png
new file mode 100644
index 00000000..c23b099f
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 5.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 6.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 6.png
new file mode 100644
index 00000000..ab55dcec
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 6.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 7.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 7.png
new file mode 100644
index 00000000..b8552333
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 7.png differ
diff --git a/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 8.png b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 8.png
new file mode 100644
index 00000000..970d3ca9
Binary files /dev/null and b/screenshots/mobile/Samsung Galaxy S21 Ultra Screenshot 8.png differ
diff --git a/screenshots/mobile/original/ApiFieldMapping.png b/screenshots/mobile/original/ApiFieldMapping.png
new file mode 100644
index 00000000..dddf56e5
Binary files /dev/null and b/screenshots/mobile/original/ApiFieldMapping.png differ
diff --git a/screenshots/mobile/original/DarkMode.png b/screenshots/mobile/original/DarkMode.png
new file mode 100644
index 00000000..2d182062
Binary files /dev/null and b/screenshots/mobile/original/DarkMode.png differ
diff --git a/screenshots/mobile/original/Dashboard.png b/screenshots/mobile/original/Dashboard.png
new file mode 100644
index 00000000..5468ba2c
Binary files /dev/null and b/screenshots/mobile/original/Dashboard.png differ
diff --git a/screenshots/mobile/original/DataManagement.png b/screenshots/mobile/original/DataManagement.png
new file mode 100644
index 00000000..9b818240
Binary files /dev/null and b/screenshots/mobile/original/DataManagement.png differ
diff --git a/screenshots/mobile/original/ExportData.png b/screenshots/mobile/original/ExportData.png
new file mode 100644
index 00000000..b8485f69
Binary files /dev/null and b/screenshots/mobile/original/ExportData.png differ
diff --git a/screenshots/mobile/original/Geofences.png b/screenshots/mobile/original/Geofences.png
new file mode 100644
index 00000000..b2b8c6be
Binary files /dev/null and b/screenshots/mobile/original/Geofences.png differ
diff --git a/screenshots/mobile/original/LocationInspector.png b/screenshots/mobile/original/LocationInspector.png
new file mode 100644
index 00000000..5be45d22
Binary files /dev/null and b/screenshots/mobile/original/LocationInspector.png differ
diff --git a/screenshots/mobile/original/Settings.png b/screenshots/mobile/original/Settings.png
new file mode 100644
index 00000000..6fd25e6c
Binary files /dev/null and b/screenshots/mobile/original/Settings.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 1.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 1.png
new file mode 100644
index 00000000..4817c6d3
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 1.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 2.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 2.png
new file mode 100644
index 00000000..5e3b73e6
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 2.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 3.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 3.png
new file mode 100644
index 00000000..c7ea9818
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 3.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 4.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 4.png
new file mode 100644
index 00000000..40b6a64f
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 4.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 5.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 5.png
new file mode 100644
index 00000000..bb76130f
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 5.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 6.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 6.png
new file mode 100644
index 00000000..79e4a194
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 6.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 7.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 7.png
new file mode 100644
index 00000000..feef3ca2
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 7.png differ
diff --git a/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 8.png b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 8.png
new file mode 100644
index 00000000..241d715e
Binary files /dev/null and b/screenshots/tablet/10/Samsung Galaxy Tab S7 Screenshot 8.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 1.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 1.png
new file mode 100644
index 00000000..85051503
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 1.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 2.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 2.png
new file mode 100644
index 00000000..e83eb02f
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 2.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 3.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 3.png
new file mode 100644
index 00000000..7ea2a4db
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 3.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 4.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 4.png
new file mode 100644
index 00000000..91943a7a
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 4.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 5.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 5.png
new file mode 100644
index 00000000..6e1ca632
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 5.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 6.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 6.png
new file mode 100644
index 00000000..a79c9e56
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 6.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 7.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 7.png
new file mode 100644
index 00000000..d416b630
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 7.png differ
diff --git a/screenshots/tablet/7/Apple iPad Mini Screenshot 8.png b/screenshots/tablet/7/Apple iPad Mini Screenshot 8.png
new file mode 100644
index 00000000..c8751243
Binary files /dev/null and b/screenshots/tablet/7/Apple iPad Mini Screenshot 8.png differ
diff --git a/src/components/features/dashboard/ComingSoonRibbon.tsx b/src/components/features/dashboard/ComingSoonRibbon.tsx
new file mode 100644
index 00000000..a602b34a
--- /dev/null
+++ b/src/components/features/dashboard/ComingSoonRibbon.tsx
@@ -0,0 +1,49 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, StyleSheet, ViewStyle, StyleProp, Text } from "react-native";
+import { useTheme } from "../../../hooks/useTheme";
+
+type ComingSoonRibbonProps = {
+ style?: StyleProp<ViewStyle>;
+};
+
+export function ComingSoonRibbon({}: ComingSoonRibbonProps) {
+ const { colors } = useTheme();
+
+ return (
+ <View
+ style={[
+ styles.comingSoonRibbon,
+ { backgroundColor: colors.warning, shadowColor: colors.shadow },
+ ]}
+ >
+ <Text style={styles.comingSoonRibbonText}>Coming Soon</Text>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ comingSoonRibbon: {
+ position: "absolute",
+ top: 8,
+ right: -10, // push it a bit outside for the angled effect
+ paddingVertical: 2,
+ paddingHorizontal: 14,
+ transform: [{ rotate: "45deg" }],
+ zIndex: 10,
+ elevation: 10, // Android shadow
+ shadowOffset: { width: 0, height: 1 },
+ shadowOpacity: 0.3,
+ shadowRadius: 2,
+ },
+ comingSoonRibbonText: {
+ fontSize: 9,
+ fontWeight: "700",
+ textAlign: "center",
+ letterSpacing: 0.5,
+ },
+});
diff --git a/src/components/features/dashboard/CoordinateDisplay.tsx b/src/components/features/dashboard/CoordinateDisplay.tsx
new file mode 100644
index 00000000..9933290a
--- /dev/null
+++ b/src/components/features/dashboard/CoordinateDisplay.tsx
@@ -0,0 +1,136 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, Text, StyleSheet } from "react-native";
+import { LocationCoords } from "../../../types/global";
+import { useTheme } from "../../../hooks/useTheme";
+import { SectionTitle } from "../../ui/SectionTitle";
+import { Card } from "../../ui/Card";
+
+/**
+ * Props for the CoordinateDisplay component
+ */
+type Props = {
+ /** Location coordinates object containing latitude, longitude, altitude, accuracy, speed, and bearing */
+ coords: LocationCoords;
+};
+
+/**
+ * Displays location data in a responsive grid layout with six metric cards.
+ *
+ * Shows:
+ * - Latitude/Longitude (6 decimal places)
+ * - Altitude (rounded meters)
+ * - Accuracy (1 decimal place, with Β± prefix)
+ * - Speed (1 decimal place, m/s)
+ * - Bearing (degrees)
+ *
+ * All values include fallbacks for missing data and adapt to the current theme.
+ *
+ * @example
+ * ```tsx
+ * <CoordinateDisplay
+ * coords={{
+ * latitude: 37.7749,
+ * longitude: -122.4194,
+ * altitude: 52,
+ * accuracy: 10.5,
+ * speed: 1.2,
+ * bearing: 180
+ * }}
+ * />
+ * ```
+ */
+export function CoordinateDisplay({ coords }: Props) {
+ const { colors } = useTheme();
+
+ // Format values with appropriate precision and fallbacks
+ const latitude = coords.latitude?.toFixed(6) ?? "0.000000";
+ const longitude = coords.longitude?.toFixed(6) ?? "0.000000";
+ const altitude = Math.round(coords.altitude ?? 0);
+ const accuracy = coords.accuracy?.toFixed(1) ?? "0.0";
+ const speed = coords.speed?.toFixed(1) ?? "0.0";
+ const bearing = coords.bearing?.toFixed(0) ?? "0";
+
+ /**
+ * Renders a single coordinate metric card
+ */
+ const renderCard = (label: string, value: string, unit: string) => (
+ <Card style={[{ backgroundColor: colors.backgroundElevated }]}>
+ <Text style={[styles.coordLabel, { color: colors.textSecondary }]}>
+ {label}
+ </Text>
+ <Text style={[styles.coordValue, { color: colors.text }]}>
+ {value}
+ <Text style={styles.coordUnit}> {unit}</Text>
+ </Text>
+ </Card>
+ );
+
+ return (
+ <>
+ <SectionTitle>CURRENT LOCATION DATA</SectionTitle>
+ <View style={styles.container}>
+ {/* First Row: Latitude and Longitude */}
+ <View style={styles.row}>
+ {renderCard("Latitude", latitude, "Β°")}
+ {renderCard("Longitude", longitude, "Β°")}
+ </View>
+
+ {/* Second Row: Altitude and Accuracy */}
+ <View style={styles.row}>
+ {renderCard("Altitude", altitude.toLocaleString(), "m")}
+ {renderCard("Accuracy", `Β±${accuracy}`, "m")}
+ </View>
+
+ {/* Third Row: Speed and Bearing */}
+ <View style={styles.row}>
+ {renderCard("Speed", speed, "m/s")}
+ {renderCard("Bearing", bearing, "Β°")}
+ </View>
+ </View>
+ </>
+ );
+}
+
+const styles = StyleSheet.create({
+ /** Main container with vertical spacing between rows */
+ container: {
+ gap: 10,
+ },
+ /** Horizontal row container for coordinate cards */
+ row: {
+ flexDirection: "row",
+ gap: 10,
+ },
+ /** Individual coordinate card styling */
+ coordCard: {
+ flex: 1,
+ padding: 12,
+ borderRadius: 8,
+ borderWidth: 1,
+ },
+ /** Label text style (uppercase, small, secondary color) */
+ coordLabel: {
+ fontSize: 10,
+ fontWeight: "600",
+ marginBottom: 4,
+ letterSpacing: 0.5,
+ textTransform: "uppercase",
+ },
+ /** Main coordinate value text style */
+ coordValue: {
+ fontSize: 15,
+ fontWeight: "700",
+ letterSpacing: -0.3,
+ },
+ /** Unit text style (smaller, semi-transparent) */
+ coordUnit: {
+ fontSize: 12,
+ fontWeight: "500",
+ opacity: 0.6,
+ },
+});
diff --git a/src/components/features/dashboard/DashboardMap.tsx b/src/components/features/dashboard/DashboardMap.tsx
new file mode 100644
index 00000000..ad729509
--- /dev/null
+++ b/src/components/features/dashboard/DashboardMap.tsx
@@ -0,0 +1,556 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useRef, useEffect, useMemo, useState } from "react";
+import { useIsFocused } from "@react-navigation/native";
+import {
+ View,
+ StyleSheet,
+ Text,
+ ActivityIndicator,
+ TouchableOpacity,
+} from "react-native";
+import { WebView } from "react-native-webview";
+import { LocationCoords } from "../../../types/global";
+import { useTheme } from "../../../hooks/useTheme";
+import NativeLocationService from "../../../services/NativeLocationService";
+import { SvgXml } from "react-native-svg";
+
+type Props = {
+ coords: LocationCoords | null;
+ tracking: boolean;
+ isPaused: boolean;
+ activeZoneName: string | null;
+};
+
+export function DashboardMap({
+ coords,
+ tracking,
+ isPaused,
+ activeZoneName,
+}: Props) {
+ const webviewRef = useRef<WebView>(null);
+ const { colors, mode } = useTheme();
+ const isDark = mode === "dark";
+ const [geofences, setGeofences] = useState<any[]>([]);
+ const isFocused = useIsFocused();
+ const [isCentered, setIsCentered] = useState(true);
+ const initialCoords = useRef<LocationCoords | null>(null);
+ const [mapReady, setMapReady] = useState(false);
+
+ const isValidCoords = (c: LocationCoords | null): c is LocationCoords => {
+ return c !== null && c.latitude !== 0 && c.longitude !== 0;
+ };
+
+ useEffect(() => {
+ if (!initialCoords.current && isValidCoords(coords)) {
+ initialCoords.current = coords;
+ setMapReady(true);
+ }
+ }, [coords]);
+
+ const centerIconXml = `
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72">
+ <g transform="translate(0,72) scale(0.1,-0.1)" fill="${colors.text}">
+ <path d="M340 622 c0 -25 -5 -29 -47 -40 -64 -18 -137 -91 -155 -155 -11 -42 -15 -47 -40 -47 -21 0 -28 -5 -28 -20 0 -15 7 -20 28 -20 25 0 29 -5 40 -47 18 -64 91 -137 155 -155 42 -11 47 -15 47 -40 0 -21 5 -28 20 -28 15 0 20 7 20 28 0 25 5 29 47 40 64 18 137 91 155 155 11 42 15 47 40 47 21 0 28 5 28 20 0 15 -7 20 -28 20 -25 0 -29 5 -40 47 -18 65 -91 137 -155 154 -42 10 -47 14 -47 40 0 22 -5 29 -20 29 -15 0 -20 -7 -20 -28z m88 -87 c77 -33 115 -90 116 -177 1 -47 -4 -64 -29 -100 -34 -49 -102 -87 -155 -88 -52 0 -120 38 -155 88 -50 72 -38 179 27 239 54 50 130 65 196 38z"/>
+ </g>
+ </svg>
+ `;
+
+ useEffect(() => {
+ const fetchZones = async () => {
+ try {
+ const zones = await NativeLocationService.getGeofences();
+ setGeofences(zones);
+ } catch (error) {
+ console.error("Failed to fetch geofences:", error);
+ }
+ };
+
+ if (isFocused) {
+ fetchZones();
+ }
+ }, [isFocused]);
+
+ useEffect(() => {
+ if (!webviewRef.current || !isValidCoords(coords)) return;
+
+ const message = JSON.stringify({
+ type: "UPDATE_LOCATION",
+ latitude: coords.latitude,
+ longitude: coords.longitude,
+ tracking: tracking,
+ isPaused: isPaused,
+ activeZoneName: activeZoneName,
+ colors: {
+ primary: colors.primary,
+ textDisabled: colors.textDisabled,
+ },
+ });
+
+ webviewRef.current.postMessage(message);
+ }, [coords, tracking, isPaused, activeZoneName, colors]);
+
+ const handleCenterMe = () => {
+ if (webviewRef.current && isValidCoords(coords)) {
+ const payload = JSON.stringify({
+ type: "CENTER_MAP",
+ latitude: coords.latitude,
+ longitude: coords.longitude,
+ });
+ webviewRef.current.postMessage(payload);
+ }
+ };
+
+ const html = useMemo(() => {
+ if (!initialCoords.current || !mapReady) {
+ return "";
+ }
+
+ const startLon = initialCoords.current.longitude;
+ const startLat = initialCoords.current.latitude;
+
+ return `
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css">
+ <style>
+ html, body, #map {
+ margin: 0;
+ padding: 0;
+ height: 100%;
+ width: 100%;
+ overflow: hidden;
+ background: ${colors.background};
+ }
+
+ .ol-zoom {
+ right: auto !important;
+ left: 10px;
+ top: 10px;
+ background: transparent !important;
+ padding: 0 !important;
+ z-index: 100 !important;
+ }
+
+ .ol-zoom button {
+ width: 44px !important;
+ height: 44px !important;
+ background: ${colors.card} !important;
+ color: ${colors.text} !important;
+ border-radius: ${colors.borderRadius}px !important;
+ margin: 4px 0 !important;
+ font-size: 20px !important;
+ font-weight: bold !important;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
+ -webkit-tap-highlight-color: transparent !important;
+ touch-action: manipulation !important;
+ }
+
+ .ol-zoom button:active {
+ background: ${colors.primary} !important;
+ color: white !important;
+ transform: scale(0.92) !important;
+ }
+
+ .ol-zoom button:focus {
+ outline: none !important;
+ }
+
+ .ol-zoom button:disabled {
+ opacity: 0.5 !important;
+ pointer-events: none !important;
+ }
+
+ .marker-icon {
+ width: 24px;
+ height: 24px;
+ background: ${colors.primary};
+ border: 3px solid white;
+ border-radius: 50%;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.3);
+ position: relative;
+ z-index: 2;
+ }
+
+ .marker-pulse {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ width: 20px;
+ height: 20px;
+ border: 3px solid ${colors.primary};
+ border-radius: 50%;
+ animation: pulse 2s infinite;
+ pointer-events: none;
+ z-index: 1;
+ transform-origin: center center;
+ }
+
+ @keyframes pulse {
+ 0% {
+ transform: translate(-50%, -50%) scale(1);
+ opacity: 0.8;
+ }
+ 100% {
+ transform: translate(-50%, -50%) scale(4);
+ opacity: 0;
+ }
+ }
+
+ .ol-attribution {
+ background: ${
+ isDark ? "rgba(0,0,0,0.85)" : "rgba(255,255,255,0.95)"
+ } !important;
+ border-radius: 6px !important;
+ padding: 4px 8px !important;
+ font-size: 11px !important;
+ -webkit-font-smoothing: antialiased !important;
+ -moz-osx-font-smoothing: grayscale !important;
+ }
+
+ .ol-attribution ul {
+ color: ${colors.textSecondary} !important;
+ text-shadow: none !important;
+ }
+
+ .ol-attribution a {
+ color: ${colors.primary} !important;
+ text-decoration: none !important;
+ }
+
+ ${
+ isDark
+ ? ".ol-layer canvas { filter: brightness(0.6) contrast(1.2) saturate(0.8); }"
+ : ""
+ }
+ </style>
+ </head>
+ <body>
+ <div id="map"></div>
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
+ <script>
+ let userCoords = [${startLon}, ${startLat}];
+ const initialPos = ol.proj.fromLonLat(userCoords);
+
+ const vectorSource = new ol.source.Vector();
+ const vectorLayer = new ol.layer.Vector({ source: vectorSource });
+
+ const map = new ol.Map({
+ target: 'map',
+ layers: [
+ new ol.layer.Tile({ source: new ol.source.OSM() }),
+ vectorLayer
+ ],
+ view: new ol.View({
+ center: initialPos,
+ zoom: 17,
+ maxZoom: 19,
+ minZoom: 10
+ })
+ });
+
+ const markerEl = document.createElement('div');
+ markerEl.innerHTML = \`
+ <div class="marker-pulse" style="display: none"></div>
+ <div class="marker-icon"></div>
+ \`;
+
+ const markerOverlay = new ol.Overlay({
+ element: markerEl,
+ positioning: 'center-center',
+ stopEvent: false
+ });
+
+ map.addOverlay(markerOverlay);
+ markerOverlay.setPosition(ol.proj.fromLonLat(userCoords));
+
+ let shouldAutoFollow = true;
+
+ map.on('pointerdrag', () => {
+ shouldAutoFollow = false;
+ });
+
+ function isMapCentered() {
+ const center = map.getView().getCenter();
+ const marker = markerOverlay.getPosition();
+ if (!center || !marker) return true;
+ const dx = center[0] - marker[0];
+ const dy = center[1] - marker[1];
+ return Math.sqrt(dx * dx + dy * dy) < 20;
+ }
+
+ const geofences = ${JSON.stringify(geofences)};
+
+ function drawGeofences() {
+ vectorSource.clear();
+
+ geofences.forEach(zone => {
+ if (!zone.lon || !zone.lat) return;
+
+ const center = ol.proj.fromLonLat([zone.lon, zone.lat]);
+ const circle = new ol.geom.Circle(center, zone.radius);
+ const feature = new ol.Feature(circle);
+
+ const labelFeature = new ol.Feature(new ol.geom.Point(center));
+
+ feature.setStyle(new ol.style.Style({
+ fill: new ol.style.Fill({
+ color: zone.pauseTracking ? 'rgba(255, 165, 0, 0.3)' : 'rgba(0, 122, 255, 0.1)'
+ }),
+ stroke: new ol.style.Stroke({
+ color: zone.pauseTracking ? "${colors.warning}" : "${colors.info}",
+ width: 2,
+ lineDash: zone.pauseTracking ? null : [5, 5]
+ })
+ }));
+
+ labelFeature.setStyle(new ol.style.Style({
+ text: new ol.style.Text({
+ text: zone.name,
+ font: 'bold 12px sans-serif',
+ fill: new ol.style.Fill({
+ color: zone.pauseTracking ? "${colors.warning}" : "${colors.info}"
+ }),
+ stroke: new ol.style.Stroke({ color: '#fff', width: 3 }),
+ offsetY: -15
+ })
+ }));
+
+ vectorSource.addFeatures([feature, labelFeature]);
+ });
+ }
+
+ drawGeofences();
+
+ function handleMessage(e) {
+ try {
+ const data = JSON.parse(e.data);
+
+ if (data.type === 'CENTER_MAP') {
+ shouldAutoFollow = true;
+ const pos = ol.proj.fromLonLat([data.longitude, data.latitude]);
+ map.getView().animate({ center: pos, duration: 400 });
+ }
+
+ if (data.type === 'UPDATE_LOCATION') {
+ const newPos = ol.proj.fromLonLat([data.longitude, data.latitude]);
+ markerOverlay.setPosition(newPos);
+
+ if (shouldAutoFollow) {
+ map.getView().animate({ center: newPos, duration: 500 });
+ }
+
+ const icon = markerEl.querySelector('.marker-icon');
+ const pulse = markerEl.querySelector('.marker-pulse');
+
+ if (icon && pulse) {
+ const isActive = data.tracking && !data.isPaused;
+ const markerColor = isActive ? data.colors.primary : data.colors.textDisabled;
+
+ icon.style.background = markerColor;
+ pulse.style.borderColor = markerColor;
+ pulse.style.display = isActive ? 'block' : 'none';
+ }
+ }
+ } catch (err) {
+ console.error('Map message error:', err);
+ }
+ }
+
+ document.addEventListener('message', handleMessage);
+ window.addEventListener('message', handleMessage);
+
+ map.on('moveend', () => {
+ const centered = isMapCentered();
+ window.ReactNativeWebView?.postMessage(
+ JSON.stringify({ type: 'CENTERED', value: centered && shouldAutoFollow })
+ );
+ });
+ </script>
+ </body>
+</html>
+`;
+ }, [tracking, isPaused, isDark, colors, geofences, mapReady]);
+
+ if (!tracking) {
+ return (
+ <View
+ style={[
+ styles.stateContainer,
+ { backgroundColor: colors.card, borderRadius: colors.borderRadius },
+ ]}
+ >
+ <View style={[styles.iconCircle, { backgroundColor: colors.border }]}>
+ <SvgXml
+ xml={centerIconXml}
+ width="52"
+ height="52"
+ color={colors.primary}
+ fill={colors.primary}
+ />
+ </View>
+ <Text style={[styles.stateTitle, { color: colors.text }]}>
+ Tracking Disabled
+ </Text>
+ <Text style={[styles.stateSubtext, { color: colors.textSecondary }]}>
+ Start tracking to see your position and zones.
+ </Text>
+ </View>
+ );
+ }
+
+ if (!isValidCoords(coords)) {
+ return (
+ <View
+ style={[
+ styles.stateContainer,
+ { backgroundColor: colors.card, borderRadius: colors.borderRadius },
+ ]}
+ >
+ <ActivityIndicator size="large" color={colors.primary} />
+ <Text
+ style={[styles.stateTitle, { color: colors.text, marginTop: 20 }]}
+ >
+ Searching GPS...
+ </Text>
+ <Text style={[styles.stateSubtext, { color: colors.textSecondary }]}>
+ Waiting for valid location signal.
+ </Text>
+ </View>
+ );
+ }
+
+ return (
+ <View style={[styles.container, { borderRadius: colors.borderRadius }]}>
+ {html ? (
+ <WebView
+ ref={webviewRef}
+ originWhitelist={["*"]}
+ source={{ html: html }}
+ style={styles.webview}
+ scrollEnabled={false}
+ startInLoadingState={false}
+ onMessage={(event) => {
+ try {
+ const data = JSON.parse(event.nativeEvent.data);
+ if (data.type === "CENTERED") {
+ setIsCentered(data.value);
+ }
+ } catch (err) {
+ console.error("WebView message error:", err);
+ }
+ }}
+ />
+ ) : (
+ <View style={[styles.stateContainer, { backgroundColor: colors.card }]}>
+ <ActivityIndicator size="large" color={colors.primary} />
+ <Text
+ style={[styles.stateTitle, { color: colors.text, marginTop: 20 }]}
+ >
+ Loading Map...
+ </Text>
+ </View>
+ )}
+
+ {!isCentered && (
+ <TouchableOpacity
+ style={[
+ styles.centerButton,
+ { backgroundColor: colors.card, borderColor: colors.border },
+ ]}
+ onPress={handleCenterMe}
+ >
+ <SvgXml xml={centerIconXml} width="28" height="28" />
+ </TouchableOpacity>
+ )}
+
+ {activeZoneName && (
+ <View
+ style={[
+ styles.topInfoCard,
+ {
+ backgroundColor: colors.card,
+ borderLeftColor: colors.warning,
+ },
+ ]}
+ >
+ <Text style={[styles.infoTitle, { color: colors.text }]}>
+ Paused in {activeZoneName}
+ </Text>
+ <Text style={[styles.infoSub, { color: colors.textSecondary }]}>
+ Location not being recorded
+ </Text>
+ </View>
+ )}
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: { flex: 1, width: "100%", overflow: "hidden" },
+ webview: { flex: 1 },
+ stateContainer: {
+ flex: 1,
+ justifyContent: "center",
+ alignItems: "center",
+ padding: 24,
+ },
+ iconCircle: {
+ width: 80,
+ height: 80,
+ borderRadius: 40,
+ justifyContent: "center",
+ alignItems: "center",
+ marginBottom: 16,
+ },
+ stateTitle: { fontSize: 18, fontWeight: "bold", textAlign: "center" },
+ stateSubtext: {
+ fontSize: 14,
+ textAlign: "center",
+ marginTop: 8,
+ lineHeight: 20,
+ },
+ centerButton: {
+ position: "absolute",
+ bottom: 30,
+ right: 10,
+ width: 50,
+ height: 50,
+ borderRadius: 25,
+ justifyContent: "center",
+ alignItems: "center",
+ elevation: 5,
+ shadowColor: "#000",
+ shadowOffset: { width: 0, height: 2 },
+ shadowOpacity: 0.25,
+ shadowRadius: 3.84,
+ borderWidth: 1,
+ },
+ topInfoCard: {
+ position: "absolute",
+ top: 20,
+ left: 80,
+ right: 20,
+ padding: 16,
+ borderRadius: 16,
+ elevation: 8,
+ shadowOffset: { width: 0, height: 3 },
+ shadowOpacity: 0.2,
+ shadowRadius: 4,
+ borderLeftWidth: 5,
+ zIndex: 5,
+ },
+ infoTitle: {
+ fontSize: 16,
+ fontWeight: "bold",
+ marginBottom: 2,
+ },
+ infoSub: {
+ fontSize: 13,
+ },
+});
\ No newline at end of file
diff --git a/src/components/features/dashboard/QuickAccess.tsx b/src/components/features/dashboard/QuickAccess.tsx
new file mode 100644
index 00000000..be4b7cd2
--- /dev/null
+++ b/src/components/features/dashboard/QuickAccess.tsx
@@ -0,0 +1,182 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+import React from "react";
+import {
+ View,
+ StyleSheet,
+ Text,
+ TouchableOpacity,
+ Linking,
+} from "react-native";
+import { useTheme } from "../../../hooks/useTheme";
+import { SectionTitle } from "../../ui/SectionTitle";
+import { ComingSoonRibbon } from "./ComingSoonRibbon";
+
+interface NavItem {
+ name: string;
+ icon: string;
+ color: string;
+ onPress?: () => void;
+ comingSoon?: boolean;
+ subtitle?: string; // NEW: Add subtitle for context
+}
+
+interface QuickAccessProps {
+ navigation: any;
+}
+
+export function QuickAccess({ navigation }: QuickAccessProps) {
+ const { colors } = useTheme();
+
+ const navItems: NavItem[] = [
+ {
+ name: "Settings",
+ icon: "βš™οΈ",
+ color: colors.primary,
+ subtitle: "Configure tracking",
+ onPress: () => navigation.navigate("Settings"),
+ },
+ {
+ name: "Geofences",
+ icon: "🏑",
+ color: colors.success,
+ subtitle: "Manage zones",
+ onPress: () => navigation.navigate("Geofences"),
+ },
+ {
+ name: "Inspector",
+ icon: "πŸ”",
+ color: colors.info,
+ subtitle: "View locations",
+ onPress: () => navigation.navigate("Locations Inspector"),
+ },
+ {
+ name: "Export",
+ icon: "πŸ“€",
+ color: colors.warning,
+ subtitle: "Download data",
+ onPress: () => navigation.navigate("Export Data"),
+ },
+ {
+ name: "About",
+ icon: "ℹ️",
+ color: colors.info,
+ subtitle: "App info",
+ onPress: () => navigation.navigate("About Colota"),
+ },
+ {
+ name: "Support",
+ icon: "πŸ’–",
+ color: colors.error,
+ subtitle: "Help us grow",
+ onPress: () => Linking.openURL("https://mxd.codes/colota/support"),
+ },
+ ];
+
+ return (
+ <View style={styles.container}>
+ <SectionTitle>QUICK ACCESS</SectionTitle>
+ <View style={styles.navGrid}>
+ {navItems.map((item) => (
+ <TouchableOpacity
+ key={item.name}
+ activeOpacity={0.7}
+ style={[
+ styles.navItem,
+ {
+ backgroundColor: colors.card,
+ borderColor: colors.border,
+ },
+ ]}
+ onPress={item.onPress}
+ >
+ {/* Icon with gradient background */}
+ <View
+ style={[
+ styles.navIconBox,
+ {
+ backgroundColor: item.color + "15",
+ borderColor: item.color + "30",
+ },
+ ]}
+ >
+ <Text style={styles.navIcon}>{item.icon}</Text>
+ </View>
+
+ {/* Title */}
+ <Text
+ style={[styles.navLabel, { color: colors.text }]}
+ numberOfLines={1}
+ >
+ {item.name}
+ </Text>
+
+ {/* Subtitle */}
+ {item.subtitle && (
+ <Text
+ style={[styles.navSubtitle, { color: colors.textSecondary }]}
+ numberOfLines={1}
+ >
+ {item.subtitle}
+ </Text>
+ )}
+
+ {item.comingSoon && <ComingSoonRibbon />}
+ </TouchableOpacity>
+ ))}
+ </View>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: {
+ marginBottom: 16,
+ },
+ navGrid: {
+ flexDirection: "row",
+ flexWrap: "wrap",
+ gap: 12, // Increased gap
+ },
+ navItem: {
+ width: "31%",
+ aspectRatio: 1, // Square cards
+ padding: 12,
+ borderRadius: 16, // More rounded
+ borderWidth: 1,
+ alignItems: "center",
+ justifyContent: "center",
+ // Add subtle shadow
+ shadowColor: "#000",
+ shadowOffset: { width: 0, height: 2 },
+ shadowOpacity: 0.05,
+ shadowRadius: 4,
+ elevation: 2,
+ },
+ navIconBox: {
+ width: 48,
+ height: 48,
+ borderRadius: 14,
+ justifyContent: "center",
+ alignItems: "center",
+ marginBottom: 8,
+ borderWidth: 1,
+ },
+ navIcon: {
+ fontSize: 24, // Slightly larger
+ },
+ navLabel: {
+ fontSize: 12,
+ fontWeight: "700",
+ textAlign: "center",
+ letterSpacing: 0.3,
+ marginBottom: 2,
+ },
+ navSubtitle: {
+ fontSize: 10,
+ textAlign: "center",
+ opacity: 0.7,
+ },
+});
diff --git a/src/components/features/databases/DatabaseStatistics.tsx b/src/components/features/databases/DatabaseStatistics.tsx
new file mode 100644
index 00000000..25e93d4d
--- /dev/null
+++ b/src/components/features/databases/DatabaseStatistics.tsx
@@ -0,0 +1,126 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { Text, StyleSheet, View } from "react-native";
+import { SectionTitle, Card } from "../..";
+import { useTheme } from "../../../hooks/useTheme";
+import { getQueueColor } from "../../../helpers/queueStatus";
+
+type DatabaseStatisticsProps = {
+ stats: any;
+};
+
+export function DatabaseStatistics({ stats }: DatabaseStatisticsProps) {
+ const { colors } = useTheme();
+
+ const queuedColor = getQueueColor(stats.queued, colors);
+
+ return (
+ <>
+ {/* Database Statistics */}
+ <View style={styles.metricsSection}>
+ <SectionTitle>DATABASE STATISTICS</SectionTitle>
+ <View style={styles.statsGrid}>
+ <Card
+ style={[
+ {
+ backgroundColor: colors.backgroundElevated,
+ alignItems: "center",
+ },
+ ]}
+ >
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Queued
+ </Text>
+ <Text style={[styles.statValue, { color: queuedColor }]}>
+ {stats.queued.toLocaleString()}
+ </Text>
+ <Text style={[styles.statUnit, { color: colors.textLight }]}>
+ pending
+ </Text>
+ </Card>
+ <Card
+ style={[
+ {
+ backgroundColor: colors.backgroundElevated,
+ alignItems: "center",
+ },
+ ]}
+ >
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Sent
+ </Text>
+ <Text style={[styles.statValue, { color: colors.success }]}>
+ {stats.sent.toLocaleString()}
+ </Text>
+ <Text style={[styles.statUnit, { color: colors.textLight }]}>
+ synced
+ </Text>
+ </Card>
+ </View>
+
+ <View style={[styles.statsGrid, { marginTop: 12 }]}>
+ <Card
+ style={[
+ {
+ backgroundColor: colors.backgroundElevated,
+ alignItems: "center",
+ },
+ ]}
+ >
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Today
+ </Text>
+ <Text style={[styles.statValue, { color: colors.info }]}>
+ {stats.today.toLocaleString()}
+ </Text>
+ <Text style={[styles.statUnit, { color: colors.textLight }]}>
+ tracked
+ </Text>
+ </Card>
+ <Card
+ style={[
+ {
+ backgroundColor: colors.backgroundElevated,
+ alignItems: "center",
+ },
+ ]}
+ >
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Storage
+ </Text>
+ <Text style={[styles.statValue, { color: colors.primary }]}>
+ {stats.databaseSizeMB.toFixed(1)}
+ </Text>
+ <Text style={[styles.statUnit, { color: colors.textLight }]}>
+ MB
+ </Text>
+ </Card>
+ </View>
+ </View>
+ </>
+ );
+}
+
+// --- Styles ---
+const styles = StyleSheet.create({
+ metricsSection: { marginBottom: 24 },
+ statsGrid: { flexDirection: "row", gap: 12 },
+ statUnit: { fontSize: 11, fontWeight: "500" },
+ statLabel: {
+ fontSize: 10,
+ fontWeight: "600",
+ marginBottom: 6,
+ letterSpacing: 0.5,
+ textTransform: "uppercase",
+ },
+ statValue: {
+ fontSize: 24,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ marginBottom: 2,
+ },
+});
diff --git a/src/components/features/settings/PermissionsDashboard.tsx b/src/components/features/settings/PermissionsDashboard.tsx
new file mode 100644
index 00000000..69d7fb07
--- /dev/null
+++ b/src/components/features/settings/PermissionsDashboard.tsx
@@ -0,0 +1,119 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useEffect, useState, useCallback } from "react";
+import { View, Text, StyleSheet, ActivityIndicator } from "react-native";
+import {
+ checkPermissions,
+ PermissionStatus,
+ ensurePermissions,
+} from "../../../services/LocationServicePermission";
+import { useTheme } from "../../../hooks/useTheme";
+import { Container, Button } from "../..";
+
+// βœ… FIXED: Moved outside to avoid "unstable-nested-components"
+// Passed colors as a prop to keep it functional and clean
+type RowProps = {
+ label: string;
+ isGranted: boolean;
+ colors: any;
+};
+
+const PermissionRow = ({ label, isGranted, colors }: RowProps) => (
+ <View style={[styles.row, { borderBottomColor: colors.border }]}>
+ <Text style={[styles.label, { color: colors.textSecondary }]}>{label}</Text>
+ <Text
+ style={[
+ styles.status,
+ { color: isGranted ? colors.success : colors.error },
+ ]}
+ >
+ {isGranted ? "βœ… Active" : "❌ Missing"}
+ </Text>
+ </View>
+);
+
+export const PermissionDashboard = () => {
+ const [status, setStatus] = useState<PermissionStatus | null>(null);
+ const [loading, setLoading] = useState(true);
+
+ const { colors } = useTheme();
+
+ const refreshStatus = useCallback(async () => {
+ setLoading(true);
+ const currentStatus = await checkPermissions();
+ setStatus(currentStatus);
+ setLoading(false);
+ }, []);
+
+ useEffect(() => {
+ refreshStatus();
+ }, [refreshStatus]);
+
+ const handleFix = async () => {
+ const success = await ensurePermissions();
+ if (success) refreshStatus();
+ };
+
+ if (loading && !status) {
+ return (
+ <View style={styles.loader}>
+ <ActivityIndicator size="large" color={colors.primary} />
+ </View>
+ );
+ }
+
+ return (
+ <Container>
+ <Text style={[styles.title, { color: colors.text }]}>Tracking-Status</Text>
+
+ <PermissionRow
+ label="Standort (PrΓ€zise)"
+ isGranted={status?.location ?? false}
+ colors={colors}
+ />
+ <PermissionRow
+ label="Hintergrund-Zugriff"
+ isGranted={status?.background ?? false}
+ colors={colors}
+ />
+ <PermissionRow
+ label="Benachrichtigungen"
+ isGranted={status?.notifications ?? false}
+ colors={colors}
+ />
+ <PermissionRow
+ label="Akku-Optimierung aus"
+ isGranted={status?.batteryOptimized ?? false}
+ colors={colors}
+ />
+
+ {(!status?.location ||
+ !status?.background ||
+ !status?.notifications ||
+ !status?.batteryOptimized) && (
+ <View style={styles.buttonContainer}>
+ <Button onPress={handleFix} title="Request missing permissions" />
+ </View>
+ )}
+ </Container>
+ );
+};
+
+const styles = StyleSheet.create({
+ loader: { flex: 1, justifyContent: "center", alignItems: "center" },
+ title: { fontSize: 18, fontWeight: "bold", marginBottom: 12 },
+ row: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ paddingVertical: 12, // Increased for better tap target
+ borderBottomWidth: StyleSheet.hairlineWidth,
+ },
+ label: { fontSize: 14 },
+ status: { fontSize: 14, fontWeight: "600" },
+ buttonContainer: {
+ marginTop: 24,
+ },
+});
\ No newline at end of file
diff --git a/src/components/features/settings/PresetOption.tsx b/src/components/features/settings/PresetOption.tsx
new file mode 100644
index 00000000..1b7765e5
--- /dev/null
+++ b/src/components/features/settings/PresetOption.tsx
@@ -0,0 +1,201 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+import React from "react";
+import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
+import {
+ ThemeColors,
+ SelectablePreset,
+ TRACKING_PRESETS,
+} from "../../../types/global";
+
+interface PresetOptionProps {
+ preset: SelectablePreset;
+ isSelected: boolean;
+ onSelect: (preset: SelectablePreset) => void;
+ colors: ThemeColors;
+}
+
+/**
+ * PresetOption Component - Improved Design
+ *
+ * Enhanced with:
+ * - Better visual hierarchy
+ * - Cleaner badge placement
+ * - Improved selection states
+ * - More accessible touch targets
+ */
+export function PresetOption({
+ preset,
+ isSelected,
+ onSelect,
+ colors,
+}: PresetOptionProps) {
+ const config = TRACKING_PRESETS[preset];
+ const showRecommendedBadge = preset === "balanced";
+ const showWarningBadge = config.batteryImpact === "High";
+
+ return (
+ <TouchableOpacity
+ style={[
+ styles.container,
+ {
+ backgroundColor: isSelected
+ ? colors.primary + "12"
+ : colors.background,
+ },
+ ]}
+ onPress={() => onSelect(preset)}
+ activeOpacity={0.7}
+ >
+ {/* Selection indicator bar */}
+ {isSelected && (
+ <View
+ style={[styles.selectionBar, { backgroundColor: colors.primary }]}
+ />
+ )}
+
+ <View style={styles.content}>
+ {/* Left side - Icon and text */}
+ <View style={styles.leftContent}>
+ <Text style={styles.emoji}>{config.emoji}</Text>
+ <View style={styles.textContent}>
+ <View style={styles.titleRow}>
+ <Text style={[styles.label, { color: colors.text }]}>
+ {config.label}
+ </Text>
+ {showRecommendedBadge && (
+ <View
+ style={[
+ styles.badge,
+ {
+ backgroundColor: colors.success + "20",
+ borderColor: colors.success + "40",
+ },
+ ]}
+ >
+ <Text style={[styles.badgeText, { color: colors.success }]}>
+ βœ“ Recommended
+ </Text>
+ </View>
+ )}
+ {showWarningBadge && (
+ <View
+ style={[
+ styles.badge,
+ {
+ backgroundColor: colors.warning + "20",
+ borderColor: colors.warning + "40",
+ },
+ ]}
+ >
+ <Text style={[styles.badgeText, { color: colors.warning }]}>
+ ⚑ High Battery
+ </Text>
+ </View>
+ )}
+ </View>
+ <Text style={[styles.description, { color: colors.textSecondary }]}>
+ {config.description}
+ </Text>
+ </View>
+ </View>
+
+ {/* Right side - Radio button */}
+ <View
+ style={[
+ styles.radio,
+ {
+ borderColor: isSelected ? colors.primary : colors.border,
+ backgroundColor: isSelected
+ ? colors.primary + "20"
+ : "transparent",
+ },
+ ]}
+ >
+ {isSelected && (
+ <View
+ style={[styles.radioInner, { backgroundColor: colors.primary }]}
+ />
+ )}
+ </View>
+ </View>
+ </TouchableOpacity>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: {
+ borderRadius: 14,
+ overflow: "hidden",
+ position: "relative",
+ marginBottom: 8,
+ },
+ selectionBar: {
+ position: "absolute",
+ left: 0,
+ top: 0,
+ bottom: 0,
+ width: 4,
+ },
+ content: {
+ flexDirection: "row",
+ alignItems: "center",
+ padding: 16,
+ paddingLeft: 20,
+ },
+ leftContent: {
+ flex: 1,
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 14,
+ },
+ emoji: {
+ fontSize: 28,
+ },
+ textContent: {
+ flex: 1,
+ },
+ titleRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ flexWrap: "wrap",
+ gap: 8,
+ marginBottom: 4,
+ },
+ label: {
+ fontSize: 16,
+ fontWeight: "600",
+ letterSpacing: -0.2,
+ },
+ badge: {
+ paddingHorizontal: 8,
+ paddingVertical: 3,
+ borderRadius: 6,
+ borderWidth: 1,
+ },
+ badgeText: {
+ fontSize: 10,
+ fontWeight: "700",
+ letterSpacing: 0.3,
+ },
+ description: {
+ fontSize: 13,
+ lineHeight: 18,
+ },
+ radio: {
+ width: 24,
+ height: 24,
+ borderRadius: 12,
+ borderWidth: 2,
+ justifyContent: "center",
+ alignItems: "center",
+ marginLeft: 12,
+ },
+ radioInner: {
+ width: 12,
+ height: 12,
+ borderRadius: 6,
+ },
+});
diff --git a/src/components/features/settings/ServerConnection.tsx b/src/components/features/settings/ServerConnection.tsx
new file mode 100644
index 00000000..b5581b95
--- /dev/null
+++ b/src/components/features/settings/ServerConnection.tsx
@@ -0,0 +1,208 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useCallback, useMemo, useRef } from "react";
+import { StyleSheet, View, Text, TouchableOpacity } from "react-native";
+import { useFocusEffect } from "@react-navigation/native";
+import { useTheme } from "../../../hooks/useTheme";
+import { useTracking } from "../../../contexts/TrackingProvider";
+import { ServerStatus, ServerConnectionProps } from "../../../types/global";
+
+const SERVER_TIMEOUT = 5000;
+const SERVER_CHECK_INTERVAL = 5 * 60 * 1000;
+
+export function ServerConnection({
+ endpoint,
+ navigation,
+}: ServerConnectionProps) {
+ const { colors } = useTheme();
+ const { settings } = useTracking();
+ const isOffline = settings.isOfflineMode;
+
+ const [serverStatus, setServerStatus] = useState<
+ ServerStatus | "offline" | null
+ >(null);
+
+ // Track if we've done the initial check
+ const hasChecked = useRef(false);
+
+ /** Checks server connection status */
+ const checkServer = useCallback(async () => {
+ if (isOffline) {
+ setServerStatus("offline");
+ hasChecked.current = true;
+ return;
+ }
+
+ if (!endpoint) {
+ setServerStatus("notConfigured");
+ hasChecked.current = true;
+ return;
+ }
+
+ const controller = new AbortController();
+ const timeoutId = setTimeout(() => controller.abort(), SERVER_TIMEOUT);
+
+ try {
+ // Strategy 1: Try dedicated health endpoint
+ const healthUrl = endpoint.replace(/\/api\/locations$/, "/health");
+
+ let response = await fetch(healthUrl, {
+ method: "HEAD",
+ signal: controller.signal,
+ });
+
+ // Strategy 2: If health endpoint doesn't exist, try HEAD on main endpoint
+ if (response.status === 404 || response.status === 405) {
+ response = await fetch(endpoint, {
+ method: "HEAD",
+ signal: controller.signal,
+ });
+ }
+
+ // Strategy 3: If endpoint still fails, try root domain
+ if (!response.ok) {
+ const match = endpoint.match(/^(https?:\/\/[^\/]+)/);
+ if (match) {
+ const rootUrl = match[1];
+ response = await fetch(rootUrl, {
+ method: "GET",
+ signal: controller.signal,
+ });
+ }
+ }
+
+ setServerStatus(response.ok ? "connected" : "error");
+ hasChecked.current = true;
+ } catch (err: any) {
+ setServerStatus("error");
+ hasChecked.current = true;
+ } finally {
+ clearTimeout(timeoutId);
+ }
+ }, [endpoint, isOffline]);
+
+ // Re-run check when focus returns or offline mode toggles
+ useFocusEffect(
+ useCallback(() => {
+ // Only reset if settings changed
+ if (!hasChecked.current) {
+ checkServer();
+ } else {
+ // Silently recheck in background without resetting state
+ checkServer();
+ }
+
+ const timer = setInterval(checkServer, SERVER_CHECK_INTERVAL);
+ return () => clearInterval(timer);
+ }, [checkServer])
+ );
+
+ const displayUrl = endpoint
+ ? endpoint.replace(/^https?:\/\//, "").split("/")[0]
+ : "";
+
+ /** Dynamic UI configuration based on status */
+ const config = useMemo(() => {
+ const statusMap = {
+ connected: {
+ color: colors.success,
+ label: "Connected",
+ description: `Location data is being sent to ${displayUrl}.`,
+ },
+ error: {
+ color: colors.error,
+ label: "Error",
+ description: "Cannot reach the server. Check your endpoint or network.",
+ },
+ notConfigured: {
+ color: colors.warning,
+ label: "Not configured",
+ description: "Configure an endpoint in settings to start syncing data.",
+ },
+ offline: {
+ color: colors.textSecondary, // Neutralere Farbe fΓΌr Offline
+ label: "Offline Mode",
+ description: "Syncing is paused. Data is only collected locally.",
+ },
+ loading: {
+ color: colors.textLight,
+ label: "Checking...",
+ description: "Verifying connection to the server...",
+ },
+ };
+
+ // Show loading state until first check completes
+ if (serverStatus === null) {
+ return statusMap.loading;
+ }
+
+ return isOffline
+ ? statusMap.offline
+ : statusMap[serverStatus as ServerStatus] || statusMap.error;
+ }, [serverStatus, colors, isOffline, displayUrl]);
+
+ return (
+ <TouchableOpacity
+ activeOpacity={0.7}
+ onPress={() => navigation.navigate("Settings")}
+ style={[
+ styles.serverCard,
+ {
+ backgroundColor: colors.card,
+ borderLeftColor: config.color,
+ borderColor: colors.border,
+ borderWidth: 1, // Optional fΓΌr bessere Sichtbarkeit
+ },
+ ]}
+ >
+ <View style={styles.serverHeader}>
+ <Text style={[styles.serverLabel, { color: colors.text }]}>
+ SERVER CONNECTION
+ </Text>
+ <View
+ style={[
+ styles.serverIndicator,
+ {
+ backgroundColor: config.color + "20",
+ borderColor: config.color,
+ },
+ ]}
+ >
+ <Text style={[styles.serverIndicatorText, { color: config.color }]}>
+ {config.label}
+ </Text>
+ </View>
+ </View>
+ <Text style={[styles.serverDescription, { color: colors.textLight }]}>
+ {config.description}
+ </Text>
+ </TouchableOpacity>
+ );
+}
+
+const styles = StyleSheet.create({
+ serverCard: {
+ borderLeftWidth: 3,
+ borderRadius: 10,
+ padding: 16,
+ marginBottom: 24,
+ },
+ serverHeader: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ marginBottom: 8,
+ },
+ serverLabel: { fontSize: 11, fontWeight: "700", letterSpacing: 1.2 },
+ serverIndicator: {
+ paddingHorizontal: 10,
+ paddingVertical: 4,
+ borderRadius: 12,
+ borderWidth: 1,
+ },
+ serverIndicatorText: { fontSize: 11, fontWeight: "600", letterSpacing: 0.3 },
+ serverDescription: { fontSize: 13, lineHeight: 18 },
+});
diff --git a/src/components/features/settings/StatsCard.tsx b/src/components/features/settings/StatsCard.tsx
new file mode 100644
index 00000000..2341d462
--- /dev/null
+++ b/src/components/features/settings/StatsCard.tsx
@@ -0,0 +1,295 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+import React from "react";
+import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
+import { ThemeColors } from "../../../types/global";
+import { Divider } from "../../ui/Divider";
+import { getQueueColor } from "../../../helpers/queueStatus";
+
+interface StatsCardProps {
+ queueCount: number;
+ sentCount: number;
+ interval: string;
+ isOfflineMode: boolean;
+ onManageClick?: () => void;
+ colors: ThemeColors;
+}
+
+type WarningLevel = "normal" | "warning" | "critical";
+
+const HIGH_QUEUE_THRESHOLD = 50;
+const CRITICAL_QUEUE_THRESHOLD = 100;
+
+/**
+ * StatsCard Component - Improved Design
+ *
+ * Enhanced visual hierarchy with:
+ * - Cleaner stat presentation
+ * - Better color coding
+ * - Improved warning states
+ * - More prominent CTA when needed
+ */
+export function StatsCard({
+ queueCount,
+ sentCount,
+ interval,
+ isOfflineMode,
+ onManageClick,
+ colors,
+}: StatsCardProps) {
+ const getWarningLevel = (): WarningLevel => {
+ if (queueCount > CRITICAL_QUEUE_THRESHOLD) return "critical";
+ if (queueCount > HIGH_QUEUE_THRESHOLD) return "warning";
+ return "normal";
+ };
+
+ const queuedColor = getQueueColor(queueCount, colors);
+ const warningLevel = getWarningLevel();
+ const showWarning = queueCount > HIGH_QUEUE_THRESHOLD;
+
+ const getBorderColor = () => {
+ switch (warningLevel) {
+ case "critical":
+ return colors.error;
+ case "warning":
+ return colors.warning;
+ default:
+ return colors.border;
+ }
+ };
+
+ const getBackgroundGradient = () => {
+ switch (warningLevel) {
+ case "critical":
+ return colors.error + "08";
+ case "warning":
+ return colors.warning + "08";
+ default:
+ return "transparent";
+ }
+ };
+
+ return (
+ <View
+ style={[
+ styles.container,
+ {
+ backgroundColor: colors.card,
+ borderColor: getBorderColor(),
+ },
+ ]}
+ >
+ {/* Gradient overlay for warning states */}
+ {warningLevel !== "normal" && (
+ <View
+ style={[
+ styles.gradientOverlay,
+ { backgroundColor: getBackgroundGradient() },
+ ]}
+ />
+ )}
+
+ {/* Stats Grid */}
+ <View style={styles.statsGrid}>
+ {/* Queued */}
+ <View style={styles.statItem}>
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Queued
+ </Text>
+ <Text style={[styles.statValue, { color: queuedColor }]}>
+ {queueCount.toLocaleString()}
+ </Text>
+ </View>
+
+ <View style={[styles.divider, { backgroundColor: colors.border }]} />
+
+ {/* Sent */}
+ <View style={styles.statItem}>
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Sent
+ </Text>
+ <Text
+ style={[
+ styles.statValue,
+ {
+ color: isOfflineMode ? colors.textLight : colors.success,
+ },
+ ]}
+ >
+ {isOfflineMode ? "β€”" : sentCount.toLocaleString()}
+ </Text>
+ {isOfflineMode && (
+ <Text style={[styles.disabledHint, { color: colors.textLight }]}>
+ Offline
+ </Text>
+ )}
+ </View>
+
+ <View style={[styles.divider, { backgroundColor: colors.border }]} />
+
+ {/* Interval */}
+ <View style={styles.statItem}>
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Interval
+ </Text>
+ <Text style={[styles.statValue, { color: colors.info }]}>
+ {interval}
+ <Text style={[styles.unit, { color: colors.textSecondary }]}>
+ s
+ </Text>
+ </Text>
+ </View>
+ </View>
+
+ {/* Warning Banner */}
+ {showWarning && onManageClick && (
+ <TouchableOpacity
+ style={[
+ styles.warningBanner,
+ {
+ backgroundColor:
+ warningLevel === "critical"
+ ? colors.error + "15"
+ : colors.warning + "15",
+ borderTopColor: colors.border,
+ },
+ ]}
+ onPress={onManageClick}
+ activeOpacity={0.7}
+ >
+ <View style={styles.warningContent}>
+ <Text
+ style={[
+ styles.warningIcon,
+ {
+ color:
+ warningLevel === "critical" ? colors.error : colors.warning,
+ },
+ ]}
+ >
+ {warningLevel === "critical" ? "⚠️" : "⚠️"}
+ </Text>
+ <View style={styles.warningText}>
+ <Text
+ style={[
+ styles.warningTitle,
+ {
+ color:
+ warningLevel === "critical"
+ ? colors.error
+ : colors.warning,
+ },
+ ]}
+ >
+ {warningLevel === "critical"
+ ? "Critical Queue Size"
+ : "High Queue Size"}
+ </Text>
+ <Text
+ style={[styles.warningHint, { color: colors.textSecondary }]}
+ >
+ Tap to manage data
+ </Text>
+ </View>
+ </View>
+ <Text
+ style={[
+ styles.arrow,
+ {
+ color:
+ warningLevel === "critical" ? colors.error : colors.warning,
+ },
+ ]}
+ >
+ β€Ί
+ </Text>
+ </TouchableOpacity>
+ )}
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: {
+ borderRadius: 16,
+ borderWidth: 2,
+ marginBottom: 24,
+ overflow: "hidden",
+ },
+ gradientOverlay: {
+ position: "absolute",
+ top: 0,
+ left: 0,
+ right: 0,
+ bottom: 0,
+ },
+ statsGrid: {
+ flexDirection: "row",
+ padding: 20,
+ },
+ statItem: {
+ flex: 1,
+ alignItems: "center",
+ },
+ statLabel: {
+ fontSize: 12,
+ fontWeight: "600",
+ textTransform: "uppercase",
+ letterSpacing: 0.8,
+ marginBottom: 8,
+ },
+ statValue: {
+ fontSize: 26,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ },
+ unit: {
+ fontSize: 16,
+ fontWeight: "500",
+ },
+ disabledHint: {
+ fontSize: 11,
+ marginTop: 2,
+ fontStyle: "italic",
+ },
+ divider: {
+ width: 1,
+ marginHorizontal: 12,
+ opacity: 0.3,
+ },
+ warningBanner: {
+ flexDirection: "row",
+ alignItems: "center",
+ justifyContent: "space-between",
+ paddingHorizontal: 20,
+ paddingVertical: 14,
+ borderTopWidth: 1,
+ },
+ warningContent: {
+ flexDirection: "row",
+ alignItems: "center",
+ flex: 1,
+ },
+ warningIcon: {
+ fontSize: 20,
+ marginRight: 12,
+ },
+ warningText: {
+ flex: 1,
+ },
+ warningTitle: {
+ fontSize: 14,
+ fontWeight: "600",
+ marginBottom: 2,
+ },
+ warningHint: {
+ fontSize: 12,
+ },
+ arrow: {
+ fontSize: 24,
+ fontWeight: "300",
+ marginLeft: 8,
+ },
+});
diff --git a/src/components/index.ts b/src/components/index.ts
new file mode 100644
index 00000000..5e0d213d
--- /dev/null
+++ b/src/components/index.ts
@@ -0,0 +1,45 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+/**
+ * Component Exports
+ *
+ * Organized by category for better maintainability and discoverability.
+ * Uses named exports for better tree-shaking and IDE autocomplete.
+ */
+
+// ============================================================================
+// UI Components (Core)
+// ============================================================================
+export { Container } from "./ui/Container";
+export { Card } from "./ui/Card";
+export { Button } from "./ui/Button";
+export { Section } from "./ui/Section";
+export { SectionTitle } from "./ui/SectionTitle";
+export { Divider } from "./ui/Divider";
+export { CollapsibleSection } from "./ui/CollapsibleSection";
+export { NumericInput } from "./ui/NumericInput";
+export { FloatingSaveIndicator } from "./ui/FloatingSaveIndicator";
+export { Footer } from "./ui/Footer";
+
+// ============================================================================
+// Feature Components - Dashboard
+// ============================================================================
+export { DashboardMap } from "./features/dashboard/DashboardMap";
+export { CoordinateDisplay } from "./features/dashboard/CoordinateDisplay";
+export { ComingSoonRibbon } from "./features/dashboard/ComingSoonRibbon";
+export { QuickAccess } from "./features/dashboard/QuickAccess";
+
+// ============================================================================
+// Feature Components - Database
+// ============================================================================
+export { DatabaseStatistics } from "./features/databases/DatabaseStatistics";
+
+// ============================================================================
+// Feature Components - Settings
+// ============================================================================
+export { ServerConnection } from "./features/settings/ServerConnection";
+export { StatsCard } from "./features/settings/StatsCard";
+export { PresetOption } from "./features/settings/PresetOption";
diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx
new file mode 100644
index 00000000..c50b719b
--- /dev/null
+++ b/src/components/ui/Button.tsx
@@ -0,0 +1,93 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import {
+ TouchableOpacity,
+ Text,
+ StyleSheet,
+ GestureResponderEvent,
+ StyleProp,
+ ViewStyle,
+} from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+/**
+ * Props for the Button component
+ */
+type Props = {
+ /** Text to display inside the button */
+ title: string;
+ /** Function to call when button is pressed */
+ onPress: (event: GestureResponderEvent) => void;
+ /** Disable button interaction (default: false) */
+ disabled?: boolean;
+ /** Additional styles for the button container */
+ style?: StyleProp<ViewStyle>;
+ activeOpacity?: number;
+ color?: string;
+};
+
+/**
+ * Custom button component with theme support and disabled state.
+ *
+ * Features:
+ * - Automatic theme color application
+ * - Disabled state with visual feedback
+ * - Customizable styling
+ * - Touch feedback with opacity
+ *
+ * @example
+ * ```tsx
+ * <Button
+ * title="Submit"
+ * onPress={handleSubmit}
+ * disabled={isLoading}
+ * />
+ * ```
+ */
+export function Button({
+ title,
+ onPress,
+ disabled = false,
+ style,
+ activeOpacity,
+ color,
+}: Props) {
+ const { colors } = useTheme();
+
+ return (
+ <TouchableOpacity
+ style={[
+ styles.button,
+ {
+ backgroundColor: disabled ? colors.textDisabled : colors.primary,
+ borderRadius: colors.borderRadius,
+ },
+ style,
+ ]}
+ onPress={onPress}
+ disabled={disabled}
+ activeOpacity={activeOpacity ? activeOpacity : 0.7}
+ >
+ <Text style={[styles.text, { color: color }]}>{title}</Text>
+ </TouchableOpacity>
+ );
+}
+
+const styles = StyleSheet.create({
+ /** Button container base styles */
+ button: {
+ paddingVertical: 12,
+ paddingHorizontal: 24,
+ alignItems: "center",
+ marginVertical: 8,
+ },
+ /** Button text styles */
+ text: {
+ fontSize: 16,
+ fontWeight: "600",
+ },
+});
diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx
new file mode 100644
index 00000000..5dbcfb57
--- /dev/null
+++ b/src/components/ui/Card.tsx
@@ -0,0 +1,44 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, StyleSheet, ViewStyle, StyleProp } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+type CardProps = {
+ children: React.ReactNode;
+ style?: StyleProp<ViewStyle>;
+ danger?: boolean;
+};
+
+export function Card({ children, style, danger = false }: CardProps) {
+ const { colors } = useTheme();
+
+ return (
+ <View
+ style={[
+ styles.card,
+ {
+ backgroundColor: danger ? colors.error + "10" : colors.card,
+ borderColor: danger ? colors.error : colors.border,
+ borderWidth: danger ? 2 : 1,
+ },
+ style,
+ ]}
+ >
+ {children}
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ card: {
+ flex: 1,
+ padding: 16,
+ borderRadius: 12,
+ borderWidth: 1,
+ width: "100%",
+ },
+});
diff --git a/src/components/ui/CollapsibleSection.tsx b/src/components/ui/CollapsibleSection.tsx
new file mode 100644
index 00000000..d0f25e2b
--- /dev/null
+++ b/src/components/ui/CollapsibleSection.tsx
@@ -0,0 +1,85 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState } from "react";
+import {
+ View,
+ Text,
+ TouchableOpacity,
+ StyleSheet,
+ LayoutAnimation,
+ Platform,
+ UIManager,
+} from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+// Enable LayoutAnimation for Android
+if (
+ Platform.OS === "android" &&
+ UIManager.setLayoutAnimationEnabledExperimental
+) {
+ UIManager.setLayoutAnimationEnabledExperimental(true);
+}
+
+interface CollapsibleSectionProps {
+ title: string;
+ children: React.ReactNode;
+ defaultOpen?: boolean;
+}
+
+export function CollapsibleSection({
+ title,
+ children,
+ defaultOpen = false,
+}: CollapsibleSectionProps) {
+ const [isOpen, setIsOpen] = useState(defaultOpen);
+ const { colors } = useTheme();
+
+ const toggle = () => {
+ // This creates the smooth "slide" effect when opening
+ LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
+ setIsOpen(!isOpen);
+ };
+
+ return (
+ <View style={styles.container}>
+ <TouchableOpacity
+ onPress={toggle}
+ activeOpacity={0.7}
+ style={styles.header}
+ >
+ <Text style={[styles.title, { color: colors.text }]}>{title}</Text>
+ <Text style={{ color: colors.primary, fontSize: 12 }}>
+ {isOpen ? "β–² Hide" : "β–Ό Show details"}
+ </Text>
+ </TouchableOpacity>
+
+ {isOpen && <View style={styles.content}>{children}</View>}
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: {
+ marginBottom: 16,
+ borderRadius: 8,
+ overflow: "hidden",
+ },
+ header: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 8,
+ },
+ title: {
+ fontSize: 11,
+ fontWeight: "700",
+ letterSpacing: 1.2,
+ textTransform: "uppercase",
+ },
+ content: {
+ marginTop: 8,
+ },
+});
diff --git a/src/components/ui/Container.tsx b/src/components/ui/Container.tsx
new file mode 100644
index 00000000..b6f35cd9
--- /dev/null
+++ b/src/components/ui/Container.tsx
@@ -0,0 +1,32 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, StyleSheet, ViewStyle, StyleProp } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+type ContainerProps = {
+ children: React.ReactNode;
+ style?: StyleProp<ViewStyle>;
+ useKeyboardAvoid?: boolean;
+};
+
+export function Container({ children, style }: ContainerProps) {
+ const { colors } = useTheme();
+
+ return (
+ <View style={[styles.root, { backgroundColor: colors.background }]}>
+ <View style={[styles.container, style]}>{children}</View>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ root: { flex: 1 },
+ container: {
+ flex: 1,
+ marginBottom: 24,
+ },
+});
diff --git a/src/components/ui/Divider.tsx b/src/components/ui/Divider.tsx
new file mode 100644
index 00000000..d3caf37a
--- /dev/null
+++ b/src/components/ui/Divider.tsx
@@ -0,0 +1,21 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { View, StyleSheet } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+export const Divider = () => {
+ // Hook must be called inside the function body
+ const { colors } = useTheme();
+
+ return <View style={[styles.divider, { backgroundColor: colors.divider }]} />;
+};
+
+const styles = StyleSheet.create({
+ divider: {
+ height: 1,
+ marginVertical: 16,
+ },
+});
diff --git a/src/components/ui/FloatingSaveIndicator.tsx b/src/components/ui/FloatingSaveIndicator.tsx
new file mode 100644
index 00000000..9b89d0c4
--- /dev/null
+++ b/src/components/ui/FloatingSaveIndicator.tsx
@@ -0,0 +1,65 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, Text, StyleSheet } from "react-native";
+
+interface Props {
+ saving: boolean;
+ success: boolean;
+ colors: {
+ info: string;
+ success: string;
+ text: string;
+ };
+}
+
+export const FloatingSaveIndicator: React.FC<Props> = ({
+ saving,
+ success,
+ colors,
+}) => {
+ if (!saving && !success) return null;
+
+ return (
+ <View style={styles.container}>
+ <View
+ style={[
+ styles.badge,
+ {
+ backgroundColor: saving ? colors.info : colors.success,
+ shadowColor: saving ? colors.info : colors.success,
+ },
+ ]}
+ >
+ <Text style={[styles.text, { color: colors.text }]}>
+ {saving ? "⏳ Saving & restarting..." : "βœ“ Saved"}
+ </Text>
+ </View>
+ </View>
+ );
+};
+
+const styles = StyleSheet.create({
+ container: {
+ position: "absolute",
+ bottom: 20,
+ left: 0,
+ right: 0,
+ alignItems: "center",
+ zIndex: 1000,
+ pointerEvents: "none",
+ },
+ badge: {
+ paddingHorizontal: 20,
+ paddingVertical: 12,
+ borderRadius: 24,
+ shadowOffset: { width: 0, height: 4 },
+ shadowOpacity: 0.3,
+ shadowRadius: 8,
+ elevation: 8,
+ },
+ text: { fontSize: 14, fontWeight: "600", color: "#fff" },
+});
diff --git a/src/components/ui/Footer.tsx b/src/components/ui/Footer.tsx
new file mode 100644
index 00000000..8d041e4c
--- /dev/null
+++ b/src/components/ui/Footer.tsx
@@ -0,0 +1,58 @@
+// src/components/Footer.tsx
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, Text, StyleSheet } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+export function Footer() {
+ const { colors } = useTheme();
+
+ return (
+ <View style={styles.footer}>
+ <Text style={[styles.privacyText, { color: colors.textSecondary }]}>
+ πŸ”’ All data stays on your device and server
+ </Text>
+ <Text style={[styles.taglineText, { color: colors.textLight }]}>
+ Open source Β· Self-hosted Β· Privacy-first
+ </Text>
+ <View style={styles.divider} />
+ <Text style={[styles.copyright, { color: colors.textLight }]}>
+ Β© 2026 Max Dietrich
+ </Text>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ footer: {
+ marginTop: 32,
+ marginBottom: 16,
+ alignItems: "center",
+ gap: 8,
+ },
+ privacyText: {
+ fontSize: 14,
+ textAlign: "center",
+ fontWeight: "500",
+ },
+ taglineText: {
+ fontSize: 12,
+ textAlign: "center",
+ letterSpacing: 0.5,
+ },
+ divider: {
+ width: 40,
+ height: 1,
+ backgroundColor: "#666",
+ opacity: 0.3,
+ marginVertical: 4,
+ },
+ copyright: {
+ fontSize: 11,
+ opacity: 0.7,
+ },
+});
diff --git a/src/components/ui/NumericInput.tsx b/src/components/ui/NumericInput.tsx
new file mode 100644
index 00000000..095a7374
--- /dev/null
+++ b/src/components/ui/NumericInput.tsx
@@ -0,0 +1,111 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, Text, StyleSheet, TextInput } from "react-native";
+import { ThemeColors } from "../../types/global";
+
+interface NumericInputProps {
+ label: string;
+ value: string;
+ onChange: (value: string) => void;
+ onBlur: () => void;
+ unit: string;
+ placeholder?: string;
+ min?: number;
+ colors: ThemeColors;
+ hint?: string;
+}
+
+/**
+ * NumericInput Component
+ *
+ * A validated numeric input field with:
+ * - Label and optional hint text
+ * - Unit display (e.g., "seconds", "meters")
+ * - Numeric keyboard
+ * - Change and blur handlers for validation
+ * - Themed styling
+ *
+ * Used for interval, distance, and threshold inputs.
+ */
+export function NumericInput({
+ label,
+ value,
+ onChange,
+ onBlur,
+ unit,
+ placeholder = "0",
+ colors,
+ hint,
+}: NumericInputProps) {
+ return (
+ <View style={styles.container}>
+ {/* Label */}
+ <Text style={[styles.label, { color: colors.text }]}>{label}</Text>
+
+ {/* Hint (optional) */}
+ {hint && (
+ <Text style={[styles.hint, { color: colors.textLight }]}>{hint}</Text>
+ )}
+
+ {/* Input Row */}
+ <View style={styles.inputRow}>
+ <TextInput
+ style={[
+ styles.input,
+ {
+ borderColor: colors.border,
+ color: colors.text,
+ backgroundColor: colors.backgroundElevated,
+ },
+ ]}
+ keyboardType="numeric"
+ value={value}
+ onChangeText={onChange}
+ onBlur={onBlur}
+ placeholder={placeholder}
+ placeholderTextColor={colors.placeholder}
+ />
+ <Text style={[styles.unit, { color: colors.textSecondary }]}>
+ {unit}
+ </Text>
+ </View>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ container: {
+ marginBottom: 16,
+ },
+ label: {
+ fontSize: 14,
+ fontWeight: "600",
+ marginBottom: 8,
+ },
+ hint: {
+ fontSize: 12,
+ fontStyle: "italic",
+ marginBottom: 12,
+ },
+ inputRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 12,
+ },
+ input: {
+ flex: 1,
+ borderWidth: 1,
+ padding: 14,
+ borderRadius: 12,
+ fontSize: 15,
+ textAlign: "center",
+ },
+ unit: {
+ fontSize: 15,
+ fontWeight: "500",
+ },
+});
diff --git a/src/components/ui/Section.tsx b/src/components/ui/Section.tsx
new file mode 100644
index 00000000..b37fdfdd
--- /dev/null
+++ b/src/components/ui/Section.tsx
@@ -0,0 +1,38 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, StyleSheet, ViewStyle, StyleProp, Text } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+type SectionProps = {
+ children: React.ReactNode;
+ style?: StyleProp<ViewStyle>;
+};
+
+export function Section({ children, style }: SectionProps) {
+ const { colors } = useTheme();
+
+ return (
+ <View style={[styles.section, style]}>
+ <Text style={[styles.sectionLabel, { color: colors.textSecondary }]}>
+ {children}
+ </Text>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ section: {
+ flex: 1,
+ marginBottom: 24,
+ },
+ sectionLabel: {
+ fontSize: 11,
+ fontWeight: "700",
+ letterSpacing: 1.2,
+ marginBottom: 36,
+ },
+});
diff --git a/src/components/ui/SectionTitle.tsx b/src/components/ui/SectionTitle.tsx
new file mode 100644
index 00000000..8db9bba9
--- /dev/null
+++ b/src/components/ui/SectionTitle.tsx
@@ -0,0 +1,39 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React from "react";
+import { View, StyleSheet, ViewStyle, StyleProp, Text } from "react-native";
+import { useTheme } from "../../hooks/useTheme";
+
+type SectionTitleProps = {
+ children: React.ReactNode;
+ style?: StyleProp<ViewStyle>;
+ color?: string;
+};
+
+export function SectionTitle({ children, style, color }: SectionTitleProps) {
+ const { colors } = useTheme();
+
+ return (
+ <View style={style}>
+ <Text
+ style={[styles.sectionTitle, { color: color ? color : colors.text }]}
+ >
+ {children}
+ </Text>
+ </View>
+ );
+}
+
+const styles = StyleSheet.create({
+ sectionTitle: {
+ fontSize: 11,
+ textTransform: "uppercase",
+ fontWeight: "700",
+ letterSpacing: 1.2,
+ marginBottom: 12,
+ paddingHorizontal: 4,
+ },
+});
diff --git a/src/contexts/TrackingProvider.tsx b/src/contexts/TrackingProvider.tsx
new file mode 100644
index 00000000..fe00ccc8
--- /dev/null
+++ b/src/contexts/TrackingProvider.tsx
@@ -0,0 +1,283 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, {
+ createContext,
+ useContext,
+ useState,
+ useEffect,
+ useMemo,
+ useCallback,
+ useRef,
+} from "react";
+import { Settings, DEFAULT_SETTINGS, LocationCoords } from "../types/global";
+import { useLocationTracking } from "../hooks/useLocationTracking";
+import NativeLocationService from "../services/NativeLocationService";
+import SettingsService from "../services/SettingsService";
+
+type TrackingContextType = {
+ settings: Settings;
+ setSettings: (s: Settings) => Promise<void>;
+ coords: LocationCoords | null;
+ tracking: boolean;
+ isLoading: boolean;
+ error: Error | null;
+ startTracking: () => Promise<void>;
+ stopTracking: () => void;
+ restartTracking: (newSettings?: Settings) => Promise<void>;
+};
+
+const TrackingContext = createContext<TrackingContextType | null>(null);
+
+/**
+ * Parses raw SQLite settings (all strings) into typed Settings object
+ */
+function parseRawSettings(allRaw: Record<string, string>): Settings {
+ return {
+ ...DEFAULT_SETTINGS,
+ // Convert Android milliseconds back to JS-friendly seconds
+ interval: allRaw.interval
+ ? parseInt(allRaw.interval, 10) / 1000
+ : DEFAULT_SETTINGS.interval,
+
+ distance: allRaw.minUpdateDistance
+ ? parseFloat(allRaw.minUpdateDistance)
+ : DEFAULT_SETTINGS.distance,
+
+ syncInterval: allRaw.syncInterval
+ ? parseInt(allRaw.syncInterval, 10)
+ : DEFAULT_SETTINGS.syncInterval,
+
+ retryInterval: allRaw.retryInterval
+ ? parseInt(allRaw.retryInterval, 10)
+ : DEFAULT_SETTINGS.retryInterval,
+
+ maxRetries: allRaw.maxRetries
+ ? parseInt(allRaw.maxRetries, 10)
+ : DEFAULT_SETTINGS.maxRetries,
+
+ accuracyThreshold: allRaw.accuracyThreshold
+ ? parseFloat(allRaw.accuracyThreshold)
+ : DEFAULT_SETTINGS.accuracyThreshold,
+
+ isOfflineMode: allRaw.isOfflineMode === "true",
+ endpoint: allRaw.endpoint ?? DEFAULT_SETTINGS.endpoint,
+ syncPreset: (allRaw.syncPreset as any) ?? DEFAULT_SETTINGS.syncPreset,
+ filterInaccurateLocations: allRaw.filterInaccurateLocations === "true",
+
+ fieldMap: allRaw.fieldMap
+ ? JSON.parse(allRaw.fieldMap)
+ : DEFAULT_SETTINGS.fieldMap,
+ };
+}
+
+/**
+ * Global state management for location tracking, device coordinates, and application settings.
+ *
+ * This context serves as the "Single Source of Truth" for the entire Colota application,
+ * bridging the gap between the persistent SQLite storage on Android and the React Native UI.
+ *
+ * **Core Responsibilities:**
+ * 1. **Hydration:** On mount, it fetches raw settings from Native storage and transforms
+ * them into a typed {@link Settings} object.
+ * 2. **Persistence:** Synchronizes state changes back to the Native {@link SettingsService}
+ * to ensure tracking behavior survives app restarts.
+ * 3. **Tracking Control:** Provides unified methods to start, stop, and restart the
+ * underlying GPS foreground service.
+ */
+export function TrackingProvider({ children }: { children: React.ReactNode }) {
+ const [settings, setSettingsState] = useState<Settings>(DEFAULT_SETTINGS);
+ const [isLoading, setIsLoading] = useState(true);
+ const [error, setError] = useState<Error | null>(null);
+
+ // Ref to track if component is mounted (prevents state updates after unmount)
+ const isMountedRef = useRef(true);
+
+ /**
+ * Initial Hydration Effect.
+ * Performs a "Type Conversion Bridge" where SQLite results (which are always strings)
+ * are parsed into their respective JS types (Numbers, Booleans, and JSON objects).
+ */
+ useEffect(() => {
+ const init = async () => {
+ try {
+ console.log("[TrackingContext] πŸ“‚ Hydrating settings and state...");
+ const allRaw = await NativeLocationService.getAllSettings();
+
+ if (!isMountedRef.current) return;
+
+ // Initialize DB with defaults if empty
+ if (Object.keys(allRaw).length === 0) {
+ console.log("[TrackingContext] πŸ†• Initializing DB with defaults");
+ await setSettings(DEFAULT_SETTINGS);
+ return;
+ }
+
+ // Parse settings from raw SQLite data
+ const mergedSettings = parseRawSettings(allRaw);
+
+ if (!isMountedRef.current) return;
+ setSettingsState(mergedSettings);
+
+ // Auto-reconnect UI if tracking was active
+ const isTrackingActive = allRaw.tracking_enabled === "true";
+ if (isTrackingActive) {
+ console.log(
+ "[TrackingContext] πŸ”„ Re-syncing UI with active background service"
+ );
+ internalStart(mergedSettings);
+ }
+ } catch (err) {
+ console.error("[TrackingContext] Hydration failed:", err);
+ if (isMountedRef.current) {
+ setError(err instanceof Error ? err : new Error(String(err)));
+ }
+ } finally {
+ if (isMountedRef.current) {
+ setIsLoading(false);
+ }
+ }
+ };
+
+ init();
+
+ // Cleanup function
+ return () => {
+ isMountedRef.current = false;
+ };
+ }, []); // Empty dependency array - run once on mount
+
+ /**
+ * Batch updates settings across both UI state and Native storage.
+ * Wrapped in useCallback to maintain referential equality.
+ */
+ const setSettings = useCallback(async (newSettings: Settings) => {
+ try {
+ console.log("[TrackingContext] πŸ’Ύ Batch syncing to Native storage...");
+ // SettingsService handles unit conversion (seconds -> ms)
+ await SettingsService.updateMultiple(newSettings);
+
+ if (isMountedRef.current) {
+ setSettingsState(newSettings);
+ setError(null); // Clear any previous errors
+ }
+ } catch (err) {
+ console.error("[TrackingContext] Persistence failed:", err);
+ if (isMountedRef.current) {
+ setError(err instanceof Error ? err : new Error(String(err)));
+ }
+ throw err; // Re-throw to allow caller to handle
+ }
+ }, []);
+
+ const {
+ coords,
+ tracking,
+ startTracking: internalStart,
+ stopTracking: internalStop,
+ restartTracking: internalRestart,
+ } = useLocationTracking(settings);
+
+ /**
+ * Wrapped tracking controls with useCallback for stable references
+ */
+ const startTracking = useCallback(async () => {
+ try {
+ await internalStart(settings);
+ if (isMountedRef.current) {
+ setError(null);
+ }
+ } catch (err) {
+ console.error("[TrackingContext] Failed to start tracking:", err);
+ if (isMountedRef.current) {
+ setError(err instanceof Error ? err : new Error(String(err)));
+ }
+ throw err;
+ }
+ }, [settings, internalStart]);
+
+ const stopTracking = useCallback(() => {
+ try {
+ internalStop();
+ if (isMountedRef.current) {
+ setError(null);
+ }
+ } catch (err) {
+ console.error("[TrackingContext] Failed to stop tracking:", err);
+ if (isMountedRef.current) {
+ setError(err instanceof Error ? err : new Error(String(err)));
+ }
+ }
+ }, [internalStop]);
+
+ const restartTracking = useCallback(
+ async (newSettings?: Settings) => {
+ try {
+ await internalRestart(newSettings || settings);
+ if (isMountedRef.current) {
+ setError(null);
+ }
+ } catch (err) {
+ console.error("[TrackingContext] Failed to restart tracking:", err);
+ if (isMountedRef.current) {
+ setError(err instanceof Error ? err : new Error(String(err)));
+ }
+ throw err;
+ }
+ },
+ [settings, internalRestart]
+ );
+
+ /**
+ * Memoized context value to prevent unnecessary re-renders of consuming components.
+ * Only updates when the actual values change.
+ */
+ const value = useMemo(
+ () => ({
+ settings,
+ setSettings,
+ coords,
+ tracking,
+ isLoading,
+ error,
+ startTracking,
+ stopTracking,
+ restartTracking,
+ }),
+ [
+ settings,
+ coords,
+ tracking,
+ isLoading,
+ error,
+ setSettings,
+ startTracking,
+ stopTracking,
+ restartTracking,
+ ]
+ );
+
+ // Show loading state or error state as needed
+ if (isLoading) return null;
+
+ return (
+ <TrackingContext.Provider value={value}>
+ {children}
+ </TrackingContext.Provider>
+ );
+}
+
+/**
+ * Custom hook to access tracking state and controls.
+ * @throws {Error} If used outside of a {@link TrackingProvider}.
+ * @returns {TrackingContextType} Current tracking state and controller functions.
+ */
+export function useTracking(): TrackingContextType {
+ const context = useContext(TrackingContext);
+ if (!context) {
+ throw new Error("useTracking must be used within TrackingProvider");
+ }
+ return context;
+}
diff --git a/src/helpers/queueStatus.ts b/src/helpers/queueStatus.ts
new file mode 100644
index 00000000..42d9bf0d
--- /dev/null
+++ b/src/helpers/queueStatus.ts
@@ -0,0 +1,18 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { ThemeColors } from "../types/global";
+
+const HIGH_QUEUE_THRESHOLD = 50;
+const CRITICAL_QUEUE_THRESHOLD = 100;
+
+/**
+ * Returns the appropriate color for the queue count based on severity
+ */
+export const getQueueColor = (count: number, colors: ThemeColors) => {
+ if (count > CRITICAL_QUEUE_THRESHOLD) return colors.error;
+ if (count > HIGH_QUEUE_THRESHOLD) return colors.warning;
+ return colors.text;
+};
diff --git a/src/helpers/sanitizeCoords.ts b/src/helpers/sanitizeCoords.ts
new file mode 100644
index 00000000..b9acebb5
--- /dev/null
+++ b/src/helpers/sanitizeCoords.ts
@@ -0,0 +1,196 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { LocationCoords } from "../types/global";
+
+/**
+ * Sanitized location coordinates with normalized values for API transmission
+ */
+export interface SanitizedCoords {
+ latitude: number;
+ longitude: number;
+ altitude: number;
+ accuracy: number;
+ speed: number;
+ battery?: number;
+ batteryStatus: number;
+}
+
+/** Earth's radius in meters */
+const EARTH_RADIUS_METERS = 6371e3;
+
+/** Valid latitude range */
+const VALID_LATITUDE = { min: -90, max: 90 } as const;
+
+/** Valid longitude range */
+const VALID_LONGITUDE = { min: -180, max: 180 } as const;
+
+/**
+ * Sanitizes and normalizes location coordinates for API transmission.
+ *
+ * - Preserves lat/lon precision
+ * - Rounds altitude, accuracy, speed to integers
+ * - Normalizes battery status to 0 or 1
+ * - Provides safe defaults for missing values
+ *
+ * @param coords Raw location coordinates from device
+ * @returns Sanitized coordinates ready for transmission
+ *
+ * @example
+ * ```ts
+ * const raw = { latitude: 40.712776, longitude: -74.005974, altitude: 10.234 };
+ * const clean = sanitizeCoords(raw);
+ * // { latitude: 40.712776, longitude: -74.005974, altitude: 10, ... }
+ * ```
+ */
+export function sanitizeCoords(coords: LocationCoords): SanitizedCoords {
+ return {
+ latitude: coords.latitude,
+ longitude: coords.longitude,
+ altitude: Math.round(coords.altitude ?? 0),
+ accuracy: Math.round(coords.accuracy ?? 0),
+ speed: Math.round(coords.speed ?? 0),
+ battery:
+ coords.battery !== undefined ? Math.round(coords.battery) : undefined,
+ batteryStatus: coords.batteryStatus ?? 0,
+ };
+}
+
+/**
+ * Validates that coordinates are within valid geographic ranges.
+ *
+ * Checks:
+ * - Latitude: -90 to 90
+ * - Longitude: -180 to 180
+ * - No NaN or Infinity values
+ *
+ * @param coords Coordinates to validate
+ * @returns True if valid, false otherwise
+ *
+ * @example
+ * ```ts
+ * if (isValidCoordinates(coords)) {
+ * await sendToServer(coords);
+ * }
+ * ```
+ */
+export function isValidCoordinates(coords: LocationCoords): boolean {
+ const { latitude, longitude } = coords;
+
+ return (
+ // Check latitude range
+ latitude >= VALID_LATITUDE.min &&
+ latitude <= VALID_LATITUDE.max &&
+ // Check longitude range
+ longitude >= VALID_LONGITUDE.min &&
+ longitude <= VALID_LONGITUDE.max &&
+ // Check for valid numbers
+ Number.isFinite(latitude) &&
+ Number.isFinite(longitude)
+ );
+}
+
+/**
+ * Calculates distance between two points using Haversine formula.
+ *
+ * @param coord1 First coordinate point
+ * @param coord2 Second coordinate point
+ * @returns Distance in meters
+ *
+ * @example
+ * ```ts
+ * const pointA = { latitude: 40.7128, longitude: -74.0060 };
+ * const pointB = { latitude: 40.7589, longitude: -73.9851 };
+ * const distance = calculateDistance(pointA, pointB); // ~5820 meters
+ * ```
+ */
+export function calculateDistance(
+ coord1: LocationCoords,
+ coord2: LocationCoords
+): number {
+ const toRadians = (degrees: number) => (degrees * Math.PI) / 180;
+
+ const Ο†1 = toRadians(coord1.latitude);
+ const Ο†2 = toRadians(coord2.latitude);
+ const Δφ = toRadians(coord2.latitude - coord1.latitude);
+ const Δλ = toRadians(coord2.longitude - coord1.longitude);
+
+ const a =
+ Math.sin(Δφ / 2) * Math.sin(Δφ / 2) +
+ Math.cos(Ο†1) * Math.cos(Ο†2) * Math.sin(Δλ / 2) * Math.sin(Δλ / 2);
+
+ const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
+
+ return EARTH_RADIUS_METERS * c;
+}
+
+/**
+ * Formats coordinates as a human-readable string.
+ *
+ * @param coords Coordinates to format
+ * @param precision Number of decimal places (default: 6)
+ * @returns Formatted coordinate string
+ *
+ * @example
+ * ```ts
+ * formatCoordinates({ latitude: 40.712776, longitude: -74.005974 });
+ * // "40.712776, -74.005974"
+ *
+ * formatCoordinates({ latitude: 40.712776, longitude: -74.005974 }, 3);
+ * // "40.713, -74.006"
+ * ```
+ */
+export function formatCoordinates(
+ coords: LocationCoords,
+ precision: number = 6
+): string {
+ return `${coords.latitude.toFixed(precision)}, ${coords.longitude.toFixed(
+ precision
+ )}`;
+}
+
+/**
+ * Checks if two coordinate points are approximately equal within a threshold.
+ *
+ * @param coord1 First coordinate point
+ * @param coord2 Second coordinate point
+ * @param thresholdMeters Distance threshold in meters (default: 10)
+ * @returns True if coordinates are within threshold
+ *
+ * @example
+ * ```ts
+ * const pointA = { latitude: 40.7128, longitude: -74.0060 };
+ * const pointB = { latitude: 40.7129, longitude: -74.0061 };
+ * const isNear = areCoordinatesNear(pointA, pointB, 20); // true
+ * ```
+ */
+export function areCoordinatesNear(
+ coord1: LocationCoords,
+ coord2: LocationCoords,
+ thresholdMeters: number = 10
+): boolean {
+ const distance = calculateDistance(coord1, coord2);
+ return distance <= thresholdMeters;
+}
+
+/**
+ * Converts degrees to radians
+ *
+ * @param degrees Angle in degrees
+ * @returns Angle in radians
+ */
+export function degreesToRadians(degrees: number): number {
+ return (degrees * Math.PI) / 180;
+}
+
+/**
+ * Converts radians to degrees
+ *
+ * @param radians Angle in radians
+ * @returns Angle in degrees
+ */
+export function radiansToDegrees(radians: number): number {
+ return (radians * 180) / Math.PI;
+}
diff --git a/src/hooks/useLocationTracking.ts b/src/hooks/useLocationTracking.ts
new file mode 100644
index 00000000..d8e151e9
--- /dev/null
+++ b/src/hooks/useLocationTracking.ts
@@ -0,0 +1,247 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { useState, useEffect, useRef, useCallback } from "react";
+import { NativeEventEmitter, NativeModules, Alert } from "react-native";
+import NativeLocationService from "../services/NativeLocationService";
+import {
+ LocationCoords,
+ Settings,
+ LocationTrackingResult,
+} from "../types/global";
+import { ensurePermissions } from "../services/LocationServicePermission";
+
+const { LocationServiceModule } = NativeModules;
+const locationEventEmitter = new NativeEventEmitter(LocationServiceModule);
+
+/**
+ * Hook for managing native location tracking.
+ *
+ * Acts as a bridge between React Native UI and Android Foreground Service.
+ *
+ * Features:
+ * - Permission guards
+ * - Native event subscription
+ * - State hydration from SQLite
+ * - Service restart logic with proper delays
+ *
+ * @param settings Initial tracking configuration
+ * @returns Control interface for location tracking
+ */
+export function useLocationTracking(
+ settings: Settings
+): LocationTrackingResult {
+ // State
+ const [coords, setCoords] = useState<LocationCoords | null>(null);
+ const [tracking, setTracking] = useState(false);
+ const [isRestarting, setIsRestarting] = useState(false);
+
+ // Refs for synchronous checks
+ const settingsRef = useRef<Settings>(settings);
+ const isTrackingRef = useRef(false);
+ const restartingRef = useRef(false);
+ const restartQueuedRef = useRef(false);
+ const listenerRef = useRef<any>(null);
+
+ // Sync refs with state
+ useEffect(() => {
+ settingsRef.current = settings;
+ }, [settings]);
+
+ useEffect(() => {
+ isTrackingRef.current = tracking;
+ }, [tracking]);
+
+ /**
+ * Fetches last known location from SQLite on mount
+ * Prevents UI flicker before first GPS fix
+ */
+ useEffect(() => {
+ const syncInitialLocation = async () => {
+ if (!coords && (tracking || isRestarting)) {
+ try {
+ const latest = await NativeLocationService.getMostRecentLocation();
+ if (latest) {
+ setCoords({
+ latitude: latest.latitude,
+ longitude: latest.longitude,
+ accuracy: latest.accuracy,
+ altitude: latest.altitude ?? 0,
+ speed: latest.speed ?? 0,
+ bearing: latest.bearing ?? 0,
+ timestamp: latest.timestamp ?? Date.now(),
+ battery: latest.battery,
+ battery_status: latest.batteryStatus,
+ });
+ }
+ } catch (err) {
+ console.error(
+ "[useLocationTracking] Failed to fetch initial location:",
+ err
+ );
+ }
+ }
+ };
+
+ syncInitialLocation();
+ }, [tracking, isRestarting, coords]);
+
+ /**
+ * Subscribes to real-time location updates from native service
+ */
+ useEffect(() => {
+ if (tracking && !listenerRef.current) {
+ console.log("[useLocationTracking] πŸ“‘ Attaching native listener");
+
+ listenerRef.current = locationEventEmitter.addListener(
+ "onLocationUpdate",
+ (event: any) => {
+ setCoords({
+ latitude: event.latitude,
+ longitude: event.longitude,
+ accuracy: event.accuracy,
+ altitude: event.altitude,
+ speed: event.speed,
+ bearing: event.bearing,
+ timestamp: event.timestamp,
+ battery: event.battery,
+ battery_status: event.batteryStatus,
+ });
+ }
+ );
+ }
+
+ return () => {
+ if (listenerRef.current) {
+ console.log("[useLocationTracking] πŸ”Œ Detaching native listener");
+ listenerRef.current.remove();
+ listenerRef.current = null;
+ }
+ };
+ }, [tracking]);
+
+ /**
+ * Starts location tracking
+ * @param overrideSettings Optional one-time settings override
+ */
+ const startTracking = useCallback(async (overrideSettings?: Settings) => {
+ if (isTrackingRef.current) {
+ console.log("[useLocationTracking] Already tracking");
+ return;
+ }
+
+ const effectiveSettings: Settings = {
+ ...settingsRef.current,
+ ...overrideSettings,
+ };
+
+ const granted = await ensurePermissions();
+ if (!granted) {
+ Alert.alert(
+ "Permission Required",
+ "Background location permission is required for tracking."
+ );
+ return;
+ }
+
+ setTracking(true);
+
+ try {
+ await NativeLocationService.start(effectiveSettings);
+ console.log(
+ `[useLocationTracking] βœ… Service started (offline: ${effectiveSettings.isOfflineMode})`
+ );
+ } catch (error) {
+ setTracking(false);
+ console.error("[useLocationTracking] ❌ Failed to start:", error);
+ Alert.alert("Error", "Failed to start location tracking.");
+ }
+ }, []);
+
+ /**
+ * Stops location tracking and cleans up
+ */
+ const stopTracking = useCallback(() => {
+ if (!isTrackingRef.current) {
+ console.log("[useLocationTracking] Not tracking");
+ return;
+ }
+
+ console.log("[useLocationTracking] Stopping service");
+
+ if (listenerRef.current) {
+ listenerRef.current.remove();
+ listenerRef.current = null;
+ }
+
+ NativeLocationService.stop();
+ setTracking(false);
+ setCoords(null);
+ }, []);
+
+ /**
+ * Restarts the service with new settings
+ * Includes delay for Android to release foreground service resources
+ * @param newSettings Settings for the new service instance
+ */
+ const restartTracking = useCallback(
+ async (newSettings?: Settings) => {
+ if (restartingRef.current) {
+ console.log(
+ "[useLocationTracking] Restart already in progress, queuing"
+ );
+ restartQueuedRef.current = true;
+ return;
+ }
+
+ console.log("[useLocationTracking] Restarting service");
+ setIsRestarting(true);
+ restartingRef.current = true;
+
+ try {
+ stopTracking();
+
+ // Android requires delay to fully release foreground service
+ await new Promise<void>((resolve) => setTimeout(resolve, 500));
+
+ await startTracking(newSettings ?? settingsRef.current);
+ } finally {
+ restartingRef.current = false;
+ setIsRestarting(false);
+
+ // Process queued restart if any
+ if (restartQueuedRef.current) {
+ restartQueuedRef.current = false;
+ console.log("[useLocationTracking] Processing queued restart");
+ setTimeout(() => restartTracking(newSettings), 100);
+ }
+ }
+ },
+ [startTracking, stopTracking]
+ );
+
+ /**
+ * Cleanup on unmount
+ * NOTE: Does NOT stop tracking - service continues in background
+ */
+ useEffect(() => {
+ return () => {
+ console.log(
+ "[useLocationTracking] 🧹 Component unmounted, service remains active"
+ );
+ restartQueuedRef.current = false;
+ restartingRef.current = false;
+ };
+ }, []);
+
+ return {
+ coords,
+ tracking: tracking || isRestarting,
+ startTracking,
+ stopTracking,
+ restartTracking,
+ settings,
+ };
+}
diff --git a/src/hooks/useTheme.tsx b/src/hooks/useTheme.tsx
new file mode 100644
index 00000000..b2507703
--- /dev/null
+++ b/src/hooks/useTheme.tsx
@@ -0,0 +1,177 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, {
+ useState,
+ useEffect,
+ useContext,
+ createContext,
+ ReactNode,
+ useMemo,
+ useCallback,
+} from "react";
+import { Appearance, ColorSchemeName } from "react-native";
+import { ThemeColors, ThemeMode } from "../types/global";
+import { darkColors, lightColors } from "../styles/colors";
+
+/**
+ * Extended theme context with additional utilities
+ */
+interface ThemeContextType {
+ colors: ThemeColors;
+ mode: ThemeMode;
+ toggleTheme: () => void;
+ resetToSystemTheme: () => void;
+ setTheme: (mode: ThemeMode) => void;
+ isDark: boolean;
+ isLight: boolean;
+ hasManualOverride: boolean;
+}
+
+/**
+ * Normalizes React Native's ColorSchemeName to ThemeMode
+ */
+const normalizeScheme = (
+ scheme: ColorSchemeName | null | undefined
+): ThemeMode => {
+ return scheme === "dark" ? "dark" : "light";
+};
+
+const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
+
+/**
+ * Theme provider managing theme state and system theme synchronization.
+ *
+ * Features:
+ * - Automatically follows system theme unless manually overridden
+ * - Manual theme toggle support
+ * - Memoized values for optimal performance
+ *
+ * @example
+ * ```tsx
+ * <ThemeProvider>
+ * <App />
+ * </ThemeProvider>
+ * ```
+ */
+export const ThemeProvider = ({ children }: { children: ReactNode }) => {
+ const [hasManualOverride, setHasManualOverride] = useState(false);
+ const [mode, setMode] = useState<ThemeMode>(() =>
+ normalizeScheme(Appearance.getColorScheme())
+ );
+
+ // Listen to system theme changes
+ useEffect(() => {
+ const subscription = Appearance.addChangeListener(({ colorScheme }) => {
+ if (!hasManualOverride) {
+ setMode(normalizeScheme(colorScheme));
+ }
+ });
+
+ return () => subscription.remove();
+ }, [hasManualOverride]);
+
+ /**
+ * Toggles between light and dark theme
+ */
+ const toggleTheme = useCallback(() => {
+ setHasManualOverride(true);
+ setMode((prev) => (prev === "light" ? "dark" : "light"));
+ }, []);
+
+ /**
+ * Resets theme to follow system preference
+ */
+ const resetToSystemTheme = useCallback(() => {
+ setHasManualOverride(false);
+ setMode(normalizeScheme(Appearance.getColorScheme()));
+ }, []);
+
+ /**
+ * Sets specific theme mode
+ */
+ const setTheme = useCallback((newMode: ThemeMode) => {
+ setHasManualOverride(true);
+ setMode(newMode);
+ }, []);
+
+ const colors = useMemo(
+ () => (mode === "dark" ? darkColors : lightColors),
+ [mode]
+ );
+
+ const contextValue = useMemo(
+ () => ({
+ colors,
+ mode,
+ toggleTheme,
+ resetToSystemTheme,
+ setTheme,
+ isDark: mode === "dark",
+ isLight: mode === "light",
+ hasManualOverride,
+ }),
+ [colors, mode, hasManualOverride, toggleTheme, resetToSystemTheme, setTheme]
+ );
+
+ return (
+ <ThemeContext.Provider value={contextValue}>
+ {children}
+ </ThemeContext.Provider>
+ );
+};
+
+/**
+ * Hook to access theme context.
+ *
+ * Provides colors, mode, toggleTheme, resetToSystemTheme, setTheme,
+ * isDark, isLight, and hasManualOverride.
+ *
+ * @throws If used outside ThemeProvider
+ *
+ * @example
+ * ```tsx
+ * const { colors, mode, toggleTheme } = useTheme();
+ * <View style={{ backgroundColor: colors.background }}>
+ * <Button onPress={toggleTheme} title="Toggle Theme" />
+ * </View>
+ * ```
+ */
+export const useTheme = (): ThemeContextType => {
+ const context = useContext(ThemeContext);
+ if (!context) {
+ throw new Error("useTheme must be used within a ThemeProvider");
+ }
+ return context;
+};
+
+/**
+ * Gets a specific color from the current theme.
+ *
+ * @example
+ * ```tsx
+ * const primaryColor = useThemeColor('primary');
+ * ```
+ */
+export const useThemeColor = <K extends keyof ThemeColors>(
+ colorKey: K
+): ThemeColors[K] => {
+ const { colors } = useTheme();
+ return colors[colorKey];
+};
+
+/**
+ * Returns different values based on current theme mode.
+ *
+ * @example
+ * ```tsx
+ * const padding = useThemedValue(16, 20);
+ * const icon = useThemedValue('β˜€οΈ', 'πŸŒ™');
+ * ```
+ */
+export const useThemedValue = <T,>(lightValue: T, darkValue: T): T => {
+ const { isDark } = useTheme();
+ return isDark ? darkValue : lightValue;
+};
diff --git a/src/screens/AboutScreen.tsx b/src/screens/AboutScreen.tsx
new file mode 100644
index 00000000..3f558dd8
--- /dev/null
+++ b/src/screens/AboutScreen.tsx
@@ -0,0 +1,484 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useEffect } from "react";
+import {
+ Text,
+ StyleSheet,
+ View,
+ ScrollView,
+ Linking,
+ TouchableOpacity,
+ Image,
+} from "react-native";
+import DeviceInfo from "react-native-device-info";
+import { ScreenProps } from "../types/global";
+import { useTheme } from "../hooks/useTheme";
+import { SectionTitle, Card, Container, Divider, Footer } from "../components";
+import NativeLocationService from "../services/NativeLocationService";
+
+const REPO_URL = "https://github.com/dietrichmax/colota";
+const PRIVACY_POLICY_URL = "https://mxd.codes/colota/privacy-policy";
+
+// Helper function to map SDK to Android version
+function getAndroidVersion(sdkVersion: number): string {
+ const versions: Record<number, string> = {
+ 24: "7.0",
+ 25: "7.1",
+ 26: "8.0",
+ 27: "8.1",
+ 28: "9",
+ 29: "10",
+ 30: "11",
+ 31: "12",
+ 32: "12L",
+ 33: "13",
+ 34: "14",
+ 35: "15",
+ 36: "16",
+ 37: "17",
+ };
+ return versions[sdkVersion] || "Unknown";
+}
+
+export function AboutScreen({}: ScreenProps) {
+ const { colors } = useTheme();
+ const [showDebugInfo, setShowDebugInfo] = useState(false);
+ const [tapCount, setTapCount] = useState(0);
+ const [deviceInfo, setDeviceInfo] = useState({
+ systemVersion: "...",
+ apiLevel: "...",
+ });
+
+ const buildConfig = NativeLocationService.getBuildConfig();
+
+ // Reset tap count after 2 seconds
+ useEffect(() => {
+ if (tapCount > 0) {
+ const timer = setTimeout(() => setTapCount(0), 2000);
+ return () => clearTimeout(timer);
+ }
+ }, [tapCount]);
+
+ const handleVersionTap = () => {
+ const newCount = tapCount + 1;
+ setTapCount(newCount);
+
+ // Enable debug mode after 7 taps (like Android's Developer Options)
+ if (newCount >= 7) {
+ setShowDebugInfo(true);
+ setTapCount(0);
+ }
+ };
+
+ useEffect(() => {
+ const loadDeviceInfo = async () => {
+ const apiLevel = await DeviceInfo.getApiLevel();
+
+ setDeviceInfo({
+ systemVersion: DeviceInfo.getSystemVersion(),
+ apiLevel: apiLevel.toString(),
+ });
+ };
+
+ loadDeviceInfo();
+ }, []);
+
+ const handleOpenURL = (url: string) => {
+ Linking.openURL(url).catch((err) =>
+ console.error("Failed to open URL:", err)
+ );
+ };
+
+ const LinkButton = ({
+ icon,
+ title,
+ subtitle,
+ url,
+ }: {
+ icon: string;
+ title: string;
+ subtitle: string;
+ url: string;
+ }) => (
+ <TouchableOpacity
+ style={[styles.linkButton, { backgroundColor: colors.background }]}
+ onPress={() => handleOpenURL(url)}
+ activeOpacity={0.7}
+ >
+ <View style={styles.linkContent}>
+ <Text style={styles.linkIcon}>{icon}</Text>
+ <View style={styles.linkTextContainer}>
+ <Text style={[styles.linkTitle, { color: colors.text }]}>
+ {title}
+ </Text>
+ <Text style={[styles.linkSubtitle, { color: colors.textSecondary }]}>
+ {subtitle}
+ </Text>
+ </View>
+ <Text style={[styles.chevron, { color: colors.textLight }]}>β€Ί</Text>
+ </View>
+ </TouchableOpacity>
+ );
+
+ const TechRow = ({ label, value }: { label: string; value: string }) => (
+ <>
+ <View style={styles.techRow}>
+ <Text style={[styles.techLabel, { color: colors.textSecondary }]}>
+ {label}
+ </Text>
+ <Text style={[styles.techValue, { color: colors.text }]}>{value}</Text>
+ </View>
+ <Divider />
+ </>
+ );
+
+ // Fallback if buildConfig is not available
+ if (!buildConfig) {
+ return (
+ <Container>
+ <ScrollView contentContainerStyle={styles.scrollContent}>
+ <View style={styles.header}>
+ <Text style={[styles.title, { color: colors.text }]}>Colota</Text>
+ <Text style={[styles.subtitle, { color: colors.textSecondary }]}>
+ Build configuration unavailable
+ </Text>
+ </View>
+ </ScrollView>
+ </Container>
+ );
+ }
+
+ return (
+ <Container>
+ <ScrollView contentContainerStyle={styles.scrollContent}>
+ {/* App Icon & Header */}
+ <View style={styles.header}>
+ <TouchableOpacity
+ style={styles.appIconContainer}
+ onPress={handleVersionTap}
+ activeOpacity={0.8}
+ >
+ <Image
+ source={require("../../assets/icon.png")}
+ style={styles.appIcon}
+ resizeMode="contain"
+ />
+ </TouchableOpacity>
+ <Text style={[styles.title, { color: colors.text }]}>Colota</Text>
+ <TouchableOpacity
+ style={[styles.versionBadge, { backgroundColor: colors.success }]}
+ onPress={handleVersionTap}
+ activeOpacity={0.8}
+ >
+ <Text style={styles.versionText}>
+ v{buildConfig.VERSION_NAME} ({buildConfig.VERSION_CODE})
+ </Text>
+ </TouchableOpacity>
+
+ {/* Tap counter hint */}
+ {tapCount > 0 && tapCount < 7 && (
+ <Text style={[styles.debugHint, { color: colors.textLight }]}>
+ {7 - tapCount} more taps to enable debug mode
+ </Text>
+ )}
+
+ {showDebugInfo && (
+ <TouchableOpacity
+ onPress={() => setShowDebugInfo(false)}
+ style={styles.debugBadge}
+ >
+ <Text style={styles.debugText}>πŸ› Debug Mode (tap to hide)</Text>
+ </TouchableOpacity>
+ )}
+ </View>
+
+ {/* Description Card */}
+ <Card style={styles.descriptionCard}>
+ <Text style={[styles.tagline, { color: colors.primary }]}>
+ Privacy-First Location Tracking
+ </Text>
+ <Text style={[styles.description, { color: colors.text }]}>
+ A self-hosted location tracking client built for Dawarich and
+ GeoPulse. Modern Android{" "}
+ {getAndroidVersion(buildConfig.TARGET_SDK_VERSION)} standards with
+ battery efficiency and data sovereignty at its core.
+ </Text>
+ </Card>
+
+ {/* Quick Links */}
+ <View style={styles.section}>
+ <SectionTitle>QUICK LINKS</SectionTitle>
+ <LinkButton
+ icon="πŸ“„"
+ title="Privacy Policy"
+ subtitle="How your data is handled"
+ url={PRIVACY_POLICY_URL}
+ />
+ <LinkButton
+ icon="πŸ’»"
+ title="View Source Code"
+ subtitle="GitHub Repository"
+ url={REPO_URL}
+ />
+ </View>
+
+ {/* License Section */}
+
+ <TouchableOpacity
+ style={[styles.linkButton, { backgroundColor: colors.background }]}
+ onPress={() =>
+ handleOpenURL(
+ "https://github.com/dietrichmax/colota/blob/main/LICENSE"
+ )
+ }
+ activeOpacity={0.7}
+ >
+ <View style={styles.section}>
+ <SectionTitle>LICENSE</SectionTitle>
+ <Card>
+ <View style={styles.licenseHeader}>
+ <Text style={[styles.licenseBadge, { color: colors.primary }]}>
+ πŸ“œ GNU AGPLv3
+ </Text>
+ </View>
+ <Text
+ style={[styles.licenseText, { color: colors.textSecondary }]}
+ >
+ Free and open-source software. You're free to inspect, modify,
+ and redistribute the code. Network-based modifications must be
+ shared with the community.
+ </Text>
+ </Card>
+ </View>
+ </TouchableOpacity>
+
+ {/* Tech Info - App Version */}
+ <View style={styles.section}>
+ <SectionTitle>APP VERSION</SectionTitle>
+ <Card>
+ <TechRow label="Version" value={`${buildConfig.VERSION_NAME}`} />
+ <TechRow label="Build" value={`${buildConfig.VERSION_CODE}`} />
+ <View style={styles.techRow}>
+ <Text style={[styles.techLabel, { color: colors.textSecondary }]}>
+ Framework
+ </Text>
+ <Text style={[styles.techValue, { color: colors.text }]}>
+ React Native
+ </Text>
+ </View>
+ </Card>
+ </View>
+
+ {/* Debug Info - Only shown when enabled */}
+ {showDebugInfo && (
+ <>
+ <View style={styles.section}>
+ <SectionTitle>πŸ› DEBUG: BUILD CONFIGURATION</SectionTitle>
+ <Card>
+ <TechRow
+ label="Target SDK"
+ value={`${
+ buildConfig.TARGET_SDK_VERSION
+ } (Android ${getAndroidVersion(
+ buildConfig.TARGET_SDK_VERSION
+ )})`}
+ />
+ <TechRow
+ label="Min SDK"
+ value={`${
+ buildConfig.MIN_SDK_VERSION
+ } (Android ${getAndroidVersion(
+ buildConfig.MIN_SDK_VERSION
+ )})`}
+ />
+ <TechRow
+ label="Compile SDK"
+ value={buildConfig.COMPILE_SDK_VERSION.toString()}
+ />
+ <TechRow
+ label="Build Tools"
+ value={buildConfig.BUILD_TOOLS_VERSION}
+ />
+ <TechRow
+ label="Kotlin Version"
+ value={buildConfig.KOTLIN_VERSION}
+ />
+ <View style={styles.techRow}>
+ <Text
+ style={[styles.techLabel, { color: colors.textSecondary }]}
+ >
+ NDK Version
+ </Text>
+ <Text style={[styles.techValue, { color: colors.text }]}>
+ {buildConfig.NDK_VERSION}
+ </Text>
+ </View>
+ </Card>
+ </View>
+
+ <View style={styles.section}>
+ <SectionTitle>πŸ› DEBUG: DEVICE INFORMATION</SectionTitle>
+ <Card>
+ <TechRow
+ label="OS Version"
+ value={`Android ${deviceInfo.systemVersion}`}
+ />
+ <TechRow label="API Level" value={deviceInfo.apiLevel} />
+ <TechRow label="Device Model" value={DeviceInfo.getModel()} />
+ <TechRow label="Device Brand" value={DeviceInfo.getBrand()} />
+ <View style={styles.techRow}>
+ <Text
+ style={[styles.techLabel, { color: colors.textSecondary }]}
+ >
+ Device ID
+ </Text>
+ <Text style={[styles.techValue, { color: colors.text }]}>
+ {DeviceInfo.getDeviceId()}
+ </Text>
+ </View>
+ </Card>
+ </View>
+ </>
+ )}
+
+ {/* Footer */}
+ <Footer />
+ </ScrollView>
+ </Container>
+ );
+}
+
+const styles = StyleSheet.create({
+ scrollContent: {
+ paddingHorizontal: 16,
+ paddingBottom: 40,
+ paddingTop: 8,
+ },
+ header: {
+ marginTop: 20,
+ marginBottom: 28,
+ alignItems: "center",
+ },
+ appIconContainer: {
+ width: 80,
+ height: 80,
+ borderRadius: 20,
+ alignItems: "center",
+ justifyContent: "center",
+ marginBottom: 16,
+ overflow: "hidden",
+ },
+ appIcon: {
+ width: 80,
+ height: 80,
+ },
+ title: {
+ fontSize: 32,
+ fontWeight: "700",
+ marginBottom: 8,
+ },
+ subtitle: {
+ fontSize: 14,
+ fontWeight: "500",
+ },
+ versionBadge: {
+ paddingHorizontal: 12,
+ paddingVertical: 4,
+ borderRadius: 12,
+ },
+ versionText: {
+ color: "#FFFFFF",
+ fontSize: 12,
+ fontWeight: "600",
+ },
+ descriptionCard: {
+ marginBottom: 24,
+ },
+ tagline: {
+ fontSize: 17,
+ fontWeight: "700",
+ marginBottom: 8,
+ },
+ description: {
+ fontSize: 15,
+ lineHeight: 22,
+ },
+ section: {
+ marginBottom: 24,
+ },
+ linkButton: {
+ borderRadius: 12,
+ marginBottom: 8,
+ overflow: "hidden",
+ },
+ linkContent: {
+ flexDirection: "row",
+ alignItems: "center",
+ padding: 16,
+ },
+ linkIcon: {
+ fontSize: 28,
+ marginRight: 16,
+ },
+ linkTextContainer: {
+ flex: 1,
+ },
+ linkTitle: {
+ fontSize: 16,
+ fontWeight: "600",
+ marginBottom: 2,
+ },
+ linkSubtitle: {
+ fontSize: 13,
+ },
+ chevron: {
+ fontSize: 28,
+ fontWeight: "300",
+ marginLeft: 8,
+ },
+ licenseHeader: {
+ marginBottom: 12,
+ },
+ licenseBadge: {
+ fontSize: 16,
+ fontWeight: "700",
+ },
+ licenseText: {
+ fontSize: 14,
+ lineHeight: 20,
+ },
+ techRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 8,
+ },
+ techLabel: {
+ fontSize: 14,
+ fontWeight: "500",
+ },
+ techValue: {
+ fontSize: 14,
+ fontWeight: "600",
+ },
+ debugHint: {
+ fontSize: 11,
+ marginTop: 8,
+ fontStyle: "italic",
+ },
+ debugBadge: {
+ marginTop: 12,
+ paddingHorizontal: 12,
+ paddingVertical: 6,
+ backgroundColor: "rgba(255, 152, 0, 0.2)",
+ borderRadius: 8,
+ },
+ debugText: {
+ fontSize: 12,
+ color: "#FF9800",
+ fontWeight: "600",
+ },
+});
diff --git a/src/screens/ApiSettingsScreen.tsx b/src/screens/ApiSettingsScreen.tsx
new file mode 100644
index 00000000..0559b267
--- /dev/null
+++ b/src/screens/ApiSettingsScreen.tsx
@@ -0,0 +1,442 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useCallback, useEffect, useRef } from "react";
+import { Text, StyleSheet, TextInput, View, ScrollView, TouchableOpacity } from "react-native";
+import { FieldMap, DEFAULT_FIELD_MAP, ScreenProps } from "../types/global";
+import { useTheme } from "../hooks/useTheme";
+import { useTracking } from "../contexts/TrackingProvider";
+import { Button } from "../components";
+import {
+ SectionTitle,
+ FloatingSaveIndicator,
+ Container,
+ Divider,
+} from "../components";
+
+/** Field descriptions for UI display */
+const FIELD_DESCRIPTIONS: Record<keyof FieldMap, string> = {
+ lat: "Latitude coordinate",
+ lon: "Longitude coordinate",
+ acc: "GPS accuracy in meters",
+ alt: "Altitude in meters",
+ vel: "Speed in m/s",
+ batt: "Battery level percentage",
+ bs: "Battery charging status",
+ tst: "Timestamp",
+ bear: "Direction of travel (0-360Β°)",
+};
+
+/**
+ * Screen for configuring API field name mappings.
+ *
+ * UX IMPROVEMENTS:
+ * - Two-column layout (key β†’ value) for better scannability
+ * - Visual indicators for modified fields
+ * - Quick copy default name feature
+ * - Cleaner, more compact design
+ * - Better touch targets
+ */
+export function ApiSettingsScreen({ navigation }: ScreenProps) {
+ const { settings, setSettings, restartTracking } = useTracking();
+ const { colors } = useTheme();
+
+ const [localFieldMap, setLocalFieldMap] = useState<FieldMap>(
+ settings.fieldMap || DEFAULT_FIELD_MAP
+ );
+ const saveTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
+
+ const [saving, setSaving] = useState(false);
+ const [saveSuccess, setSaveSuccess] = useState(false);
+
+ /**
+ * Check if field has been modified from default
+ */
+ const isModified = (key: keyof FieldMap): boolean => {
+ return localFieldMap[key] !== DEFAULT_FIELD_MAP[key];
+ };
+
+ /**
+ * Saves field map and restarts tracking if active
+ */
+ const saveSettings = useCallback(
+ async (newFieldMap: FieldMap) => {
+ // Sanitize: trim all field values
+ const sanitizedMap = Object.fromEntries(
+ Object.entries(newFieldMap).map(([key, value]) => [key, value.trim()])
+ ) as FieldMap;
+
+ // Prevent saving if any field is empty
+ if (Object.values(sanitizedMap).some((v) => v === "")) {
+ return;
+ }
+
+ try {
+ setSaving(true);
+ setSaveSuccess(false);
+
+ const newSettings = { ...settings, fieldMap: sanitizedMap };
+
+ await setSettings(newSettings);
+ await restartTracking(newSettings);
+
+ setSaving(false);
+ setSaveSuccess(true);
+ setTimeout(() => setSaveSuccess(false), 2000);
+ } catch (err) {
+ setSaving(false);
+ console.error("[ApiSettingsScreen] Failed to save field map:", err);
+ }
+ },
+ [settings, setSettings, restartTracking]
+ );
+
+ /**
+ * Debounced save (1.5s delay)
+ */
+ const debouncedSave = useCallback(
+ (newFieldMap: FieldMap) => {
+ if (saveTimeoutRef.current) {
+ clearTimeout(saveTimeoutRef.current);
+ }
+ saveTimeoutRef.current = setTimeout(
+ () => saveSettings(newFieldMap),
+ 1500
+ );
+ },
+ [saveSettings]
+ );
+
+ /**
+ * Handles field value changes with auto-save
+ */
+ const handleFieldChange = useCallback(
+ (key: keyof FieldMap, value: string) => {
+ const newFieldMap = { ...localFieldMap, [key]: value };
+ setLocalFieldMap(newFieldMap);
+ debouncedSave(newFieldMap);
+ },
+ [localFieldMap, debouncedSave]
+ );
+
+ /**
+ * Reset single field to default
+ */
+ const handleResetField = useCallback(
+ (key: keyof FieldMap) => {
+ const newFieldMap = { ...localFieldMap, [key]: DEFAULT_FIELD_MAP[key] };
+ setLocalFieldMap(newFieldMap);
+
+ // Cancel debounce and save immediately
+ if (saveTimeoutRef.current) {
+ clearTimeout(saveTimeoutRef.current);
+ }
+ saveSettings(newFieldMap);
+ },
+ [localFieldMap, saveSettings]
+ );
+
+ /**
+ * Resets all fields to default values
+ */
+ const handleResetAll = useCallback(() => {
+ // Cancel any pending auto-saves
+ if (saveTimeoutRef.current) {
+ clearTimeout(saveTimeoutRef.current);
+ }
+
+ setLocalFieldMap(DEFAULT_FIELD_MAP);
+ saveSettings(DEFAULT_FIELD_MAP);
+ }, [saveSettings]);
+
+ // Cleanup timeout on unmount
+ useEffect(() => {
+ return () => {
+ if (saveTimeoutRef.current) {
+ clearTimeout(saveTimeoutRef.current);
+ }
+ };
+ }, []);
+
+ // Check if any field is modified
+ const hasModifications = (Object.keys(DEFAULT_FIELD_MAP) as Array<keyof FieldMap>).some(
+ (key) => isModified(key)
+ );
+
+ return (
+ <Container>
+ <ScrollView
+ contentContainerStyle={styles.scrollContent}
+ keyboardShouldPersistTaps="handled"
+ >
+ {/* Header */}
+ <View style={styles.header}>
+ <Text style={[styles.title, { color: colors.text }]}>
+ API Field Mapping
+ </Text>
+ <Text style={[styles.subtitle, { color: colors.textSecondary }]}>
+ Customize field names sent to your server
+ </Text>
+ </View>
+
+
+ {/* Field Mapping Section */}
+ <View style={styles.fieldsSection}>
+ <View style={styles.sectionHeader}>
+ <SectionTitle>FIELD MAPPINGS</SectionTitle>
+ {hasModifications && (
+ <TouchableOpacity
+ onPress={handleResetAll}
+ style={styles.resetAllButton}
+ >
+ <Text style={[styles.resetAllText, { color: colors.primary }]}>
+ RESET ALL
+ </Text>
+ </TouchableOpacity>
+ )}
+ </View>
+
+ <View
+ style={[
+ styles.fieldsCard,
+ { backgroundColor: colors.card, borderColor: colors.border },
+ ]}
+ >
+ {(Object.keys(DEFAULT_FIELD_MAP) as Array<keyof FieldMap>).map(
+ (key, index) => (
+ <View key={key}>
+ {/* Two-column layout */}
+ <View style={styles.fieldRow}>
+ {/* Left: Key info */}
+ <View style={styles.keyColumn}>
+ <View style={styles.keyHeader}>
+ <Text style={[styles.fieldLabel, { color: colors.text }]}>
+ {key.toUpperCase()}
+ </Text>
+ {isModified(key) && (
+ <View style={[styles.modifiedBadge, { backgroundColor: colors.primary }]}>
+ <Text style={styles.modifiedText}>Modified</Text>
+ </View>
+ )}
+ </View>
+ <Text
+ style={[
+ styles.fieldDescription,
+ { color: colors.textSecondary },
+ ]}
+ numberOfLines={1}
+ >
+ {FIELD_DESCRIPTIONS[key]}
+ </Text>
+ </View>
+
+ {/* Right: Value input */}
+ <View style={styles.valueColumn}>
+ <View style={styles.inputRow}>
+ <TextInput
+ style={[
+ styles.fieldInput,
+ {
+ borderColor: isModified(key) ? colors.primary : colors.border,
+ color: colors.text,
+ backgroundColor: colors.background,
+ },
+ ]}
+ value={localFieldMap[key]}
+ onChangeText={(text) => handleFieldChange(key, text)}
+ placeholder={DEFAULT_FIELD_MAP[key]}
+ placeholderTextColor={colors.placeholder}
+ autoCapitalize="none"
+ autoCorrect={false}
+ />
+ {isModified(key) && (
+ <TouchableOpacity
+ onPress={() => handleResetField(key)}
+ style={[styles.resetButton, { backgroundColor: colors.border }]}
+ >
+ <Text style={[styles.resetIcon, { color: colors.textSecondary }]}>
+ β†Ί
+ </Text>
+ </TouchableOpacity>
+ )}
+ </View>
+ </View>
+ </View>
+
+ {index < Object.keys(DEFAULT_FIELD_MAP).length - 1 && (
+ <Divider />
+ )}
+ </View>
+ )
+ )}
+ </View>
+ </View>
+
+ {/* Example payload preview */}
+ <View style={styles.exampleSection}>
+ <SectionTitle>EXAMPLE PAYLOAD</SectionTitle>
+ <View
+ style={[
+ styles.exampleCard,
+ { backgroundColor: colors.backgroundElevated, borderColor: colors.border },
+ ]}
+ >
+ <Text style={[styles.exampleCode, { color: colors.textSecondary }]}>
+ {`{\n`}
+ {` "${localFieldMap.lat}": 52.12345,\n`}
+ {` "${localFieldMap.lon}": -2.12345,\n`}
+ {` "${localFieldMap.acc}": 15,\n`}
+ {` "${localFieldMap.batt}": 85,\n`}
+ {` ...\n`}
+ {`}`}
+ </Text>
+ </View>
+ </View>
+
+ {/* Footer */}
+ <View style={styles.footer}>
+ <Text style={[styles.footerText, { color: colors.textLight }]}>
+ Changes apply to new location data immediately
+ </Text>
+ </View>
+ </ScrollView>
+
+ {/* Floating Save Indicator */}
+ <FloatingSaveIndicator
+ saving={saving}
+ success={saveSuccess}
+ colors={colors}
+ />
+ </Container>
+ );
+}
+
+const styles = StyleSheet.create({
+ scrollContent: {
+ paddingHorizontal: 16,
+ paddingBottom: 40,
+ },
+ header: {
+ marginTop: 20,
+ marginBottom: 20,
+ },
+ title: {
+ fontSize: 28,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ marginBottom: 4,
+ },
+ subtitle: {
+ fontSize: 14,
+ lineHeight: 20,
+ },
+ fieldsSection: {
+ marginBottom: 20,
+ },
+ sectionHeader: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ },
+ resetAllButton: {
+ paddingVertical: 4,
+ paddingHorizontal: 8,
+ },
+ resetAllText: {
+ fontSize: 11,
+ fontWeight: "700",
+ letterSpacing: 0.5,
+ },
+ fieldsCard: {
+ padding: 12,
+ borderRadius: 10,
+ borderWidth: 1,
+ },
+ fieldRow: {
+ flexDirection: "row",
+ paddingVertical: 10,
+ gap: 12,
+ },
+ keyColumn: {
+ flex: 1,
+ justifyContent: "center",
+ },
+ keyHeader: {
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 6,
+ marginBottom: 2,
+ },
+ fieldLabel: {
+ fontSize: 13,
+ fontWeight: "700",
+ letterSpacing: 0.5,
+ },
+ modifiedBadge: {
+ paddingHorizontal: 6,
+ paddingVertical: 2,
+ borderRadius: 4,
+ },
+ modifiedText: {
+ fontSize: 9,
+ fontWeight: "700",
+ color: "#FFFFFF",
+ letterSpacing: 0.3,
+ },
+ fieldDescription: {
+ fontSize: 11,
+ lineHeight: 15,
+ },
+ valueColumn: {
+ flex: 1,
+ justifyContent: "center",
+ },
+ inputRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 6,
+ },
+ fieldInput: {
+ flex: 1,
+ borderWidth: 1.5,
+ paddingHorizontal: 10,
+ paddingVertical: 8,
+ borderRadius: 8,
+ fontSize: 14,
+ fontFamily: "monospace",
+ },
+ resetButton: {
+ width: 32,
+ height: 32,
+ borderRadius: 16,
+ justifyContent: "center",
+ alignItems: "center",
+ },
+ resetIcon: {
+ fontSize: 18,
+ fontWeight: "600",
+ },
+ exampleSection: {
+ marginBottom: 20,
+ },
+ exampleCard: {
+ padding: 14,
+ borderRadius: 8,
+ borderWidth: 1,
+ },
+ exampleCode: {
+ fontSize: 12,
+ fontFamily: "monospace",
+ lineHeight: 18,
+ },
+ footer: {
+ paddingVertical: 16,
+ alignItems: "center",
+ },
+ footerText: {
+ fontSize: 11,
+ textAlign: "center",
+ },
+});
\ No newline at end of file
diff --git a/src/screens/DashboardScreen.tsx b/src/screens/DashboardScreen.tsx
new file mode 100644
index 00000000..c6fc56af
--- /dev/null
+++ b/src/screens/DashboardScreen.tsx
@@ -0,0 +1,276 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useEffect, useState, useCallback, useRef } from "react";
+import {
+ StyleSheet,
+ View,
+ ScrollView,
+ DeviceEventEmitter,
+ Animated,
+} from "react-native";
+import { ScreenProps, DatabaseStats } from "../types/global";
+import { useTheme } from "../hooks/useTheme";
+import NativeLocationService from "../services/NativeLocationService";
+import { useTracking } from "../contexts/TrackingProvider";
+import { useFocusEffect } from "@react-navigation/native";
+import {
+ Button,
+ ServerConnection,
+ DashboardMap,
+ CoordinateDisplay,
+ Container,
+ QuickAccess,
+ DatabaseStatistics,
+} from "../components";
+
+/** Stats refresh intervals */
+const STATS_REFRESH_IDLE = 30 * 1000;
+
+export function DashboardScreen({ navigation }: ScreenProps) {
+ const { coords, settings, tracking, startTracking, stopTracking } =
+ useTracking();
+ const { colors } = useTheme();
+
+ const [stats, setStats] = useState<DatabaseStats>({
+ queued: 0,
+ sent: 0,
+ total: 0,
+ today: 0,
+ databaseSizeMB: 0,
+ });
+
+ const prevStats = useRef(stats);
+ const [currentSilentZone, setCurrentSilentZone] = useState<string | null>(
+ null
+ );
+ const [scrollEnabled, setScrollEnabled] = useState(true);
+
+ // Animation for button
+ const buttonScale = useRef(new Animated.Value(1)).current;
+
+ const isInSilentZone = !!currentSilentZone;
+
+ const handleStart = async () => {
+ // Bounce animation
+ Animated.sequence([
+ Animated.spring(buttonScale, {
+ toValue: 0.92,
+ useNativeDriver: true,
+ }),
+ Animated.spring(buttonScale, {
+ toValue: 1,
+ useNativeDriver: true,
+ friction: 3,
+ }),
+ ]).start();
+
+ await startTracking();
+ setTimeout(updateStats, 500);
+ };
+
+ const handleStop = async () => {
+ Animated.sequence([
+ Animated.spring(buttonScale, {
+ toValue: 0.92,
+ useNativeDriver: true,
+ }),
+ Animated.spring(buttonScale, {
+ toValue: 1,
+ useNativeDriver: true,
+ friction: 3,
+ }),
+ ]).start();
+
+ await stopTracking();
+ updateStats();
+ };
+
+ const updateStats = useCallback(async () => {
+ try {
+ const nativeStats = await NativeLocationService.getStats();
+
+ const hasChanged =
+ nativeStats.queued !== prevStats.current.queued ||
+ nativeStats.sent !== prevStats.current.sent ||
+ nativeStats.today !== prevStats.current.today;
+
+ if (hasChanged) {
+ setStats(nativeStats);
+ prevStats.current = nativeStats;
+ }
+ } catch (err) {
+ console.error("[Dashboard] Failed to update stats:", err);
+ }
+ }, []);
+
+ const updateSilentZone = useCallback(async () => {
+ try {
+ const zoneName = await NativeLocationService.checkCurrentSilentZone();
+ setCurrentSilentZone(zoneName);
+ } catch (err) {
+ console.error("[Dashboard] Failed to update silent zone:", err);
+ setCurrentSilentZone(null);
+ }
+ }, []);
+
+ useFocusEffect(
+ useCallback(() => {
+ updateStats();
+ updateSilentZone();
+
+ const interval = tracking
+ ? Math.max(settings.interval * 1000, 2000)
+ : STATS_REFRESH_IDLE;
+
+ const statsTimer = setInterval(updateStats, interval);
+
+ return () => {
+ clearInterval(statsTimer);
+ };
+ }, [tracking, updateStats, updateSilentZone, settings.interval])
+ );
+
+ useEffect(() => {
+ const listener = DeviceEventEmitter.addListener(
+ "geofenceUpdated",
+ updateSilentZone
+ );
+ return () => listener.remove();
+ }, [updateSilentZone]);
+
+ useEffect(() => {
+ const silentZoneListener = DeviceEventEmitter.addListener(
+ "onSilentZoneChange",
+ (data: { entered: boolean; zoneName: string | null }) => {
+ if (data.entered) {
+ setCurrentSilentZone(data.zoneName);
+ } else {
+ setCurrentSilentZone(null);
+ }
+ }
+ );
+
+ return () => silentZoneListener.remove();
+}, []);
+
+ return (
+ <Container>
+ <ScrollView
+ contentContainerStyle={styles.scrollContent}
+ bounces={false}
+ showsVerticalScrollIndicator={false}
+ scrollEnabled={scrollEnabled}
+ >
+ {/* Map Section */}
+ <View style={styles.mapSection}>
+ <View
+ style={styles.mapWrapper}
+ onTouchStart={() => setScrollEnabled(false)}
+ onTouchEnd={() => setScrollEnabled(true)}
+ >
+ <DashboardMap
+ coords={coords}
+ tracking={tracking}
+ isPaused={isInSilentZone}
+ activeZoneName={currentSilentZone}
+ />
+ </View>
+
+ {/* Tracking Control Button */}
+ <Animated.View
+ style={[
+ styles.controlButtonContainer,
+ { transform: [{ scale: buttonScale }] },
+ ]}
+ pointerEvents="box-none"
+ >
+ <Button
+ style={[
+ styles.controlButton,
+ {
+ backgroundColor: tracking ? colors.error : colors.primary,
+ shadowColor: tracking ? colors.error : colors.primary,
+ },
+ ]}
+ color="#f8f7f7"
+ onPress={tracking ? handleStop : handleStart}
+ activeOpacity={0.9}
+ title={tracking ? "β–  Stop Tracking" : "β–Ά Start Tracking"}
+ />
+ </Animated.View>
+ </View>
+
+ {/* Content Section */}
+ <View style={[styles.content, { backgroundColor: colors.background }]}>
+ {/* Coordinates */}
+ {tracking && coords && (
+ <View style={styles.metricsSection}>
+ <CoordinateDisplay coords={coords} />
+ </View>
+ )}
+
+ {/* Stats Cards */}
+ <DatabaseStatistics stats={stats} />
+
+ {/* Server Connection */}
+ <ServerConnection
+ endpoint={settings.endpoint}
+ navigation={navigation}
+ />
+
+ {/* Quick Access */}
+ <QuickAccess navigation={navigation} />
+ </View>
+ </ScrollView>
+ </Container>
+ );
+}
+
+const styles = StyleSheet.create({
+ scrollContent: {
+ flexGrow: 1,
+ },
+ mapSection: {
+ height: 480,
+ position: "relative",
+ },
+ mapWrapper: {
+ position: "absolute",
+ top: 0,
+ left: 0,
+ right: 0,
+ bottom: 0,
+ },
+ controlButtonContainer: {
+ position: "absolute",
+ bottom: 24,
+ left: 0,
+ right: 0,
+ alignItems: "center",
+ },
+ controlButton: {
+ flexDirection: "row",
+ alignItems: "center",
+ justifyContent: "center",
+ paddingHorizontal: 36,
+ paddingVertical: 16,
+ borderRadius: 28,
+ shadowOffset: { width: 0, height: 6 },
+ shadowOpacity: 0.4,
+ shadowRadius: 12,
+ elevation: 12,
+ minWidth: 200,
+ },
+ content: {
+ flex: 1,
+ paddingTop: 20,
+ paddingHorizontal: 16,
+ paddingBottom: 24,
+ },
+ metricsSection: {
+ marginBottom: 20,
+ },
+});
\ No newline at end of file
diff --git a/src/screens/DataManagementScreen.tsx b/src/screens/DataManagementScreen.tsx
new file mode 100644
index 00000000..5ebab514
--- /dev/null
+++ b/src/screens/DataManagementScreen.tsx
@@ -0,0 +1,499 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useCallback, useEffect, useRef } from "react";
+import {
+ Text,
+ StyleSheet,
+ View,
+ ScrollView,
+ TouchableOpacity,
+ TextInput,
+ KeyboardAvoidingView,
+ Platform,
+} from "react-native";
+import { useFocusEffect } from "@react-navigation/native";
+import { ScreenProps, DatabaseStats } from "../types/global";
+import { useTheme } from "../hooks/useTheme";
+import NativeLocationService from "../services/NativeLocationService";
+import { Button, SectionTitle, Card, Container, Divider } from "../components";
+
+export function DataManagementScreen({ }: ScreenProps) {
+ const { colors } = useTheme();
+
+ const [stats, setStats] = useState<DatabaseStats>({
+ queued: 0,
+ sent: 0,
+ total: 0,
+ today: 0,
+ databaseSizeMB: 0,
+ });
+
+ const [daysInput, setDaysInput] = useState("90");
+ const [isProcessing, setIsProcessing] = useState(false);
+ const [feedback, setFeedback] = useState<string | null>(null);
+ const feedbackTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
+
+ // Update stats
+ const updateStats = useCallback(async () => {
+ try {
+ const nativeStats = await NativeLocationService.getStats();
+ setStats(nativeStats);
+ } catch (err) {
+ console.error("[DataManagementScreen] Failed to update stats:", err);
+ }
+ }, []);
+
+ // Auto-refresh stats when screen is focused
+ useFocusEffect(
+ useCallback(() => {
+ updateStats();
+ const interval = setInterval(updateStats, 3000);
+ return () => clearInterval(interval);
+ }, [updateStats])
+ );
+
+ // Cleanup timeout on unmount
+ useEffect(() => {
+ return () => {
+ if (feedbackTimeoutRef.current) {
+ clearTimeout(feedbackTimeoutRef.current);
+ }
+ };
+ }, []);
+
+ // Show feedback message
+ const showFeedback = useCallback((message: string, duration = 2000) => {
+ if (feedbackTimeoutRef.current) {
+ clearTimeout(feedbackTimeoutRef.current);
+ }
+ setFeedback(message);
+ feedbackTimeoutRef.current = setTimeout(() => setFeedback(null), duration);
+ }, []);
+
+ // Manual flush
+ const handleManualFlush = useCallback(async () => {
+ if (isProcessing || stats.queued === 0) return;
+
+ try {
+ setIsProcessing(true);
+ showFeedback("⏳ Syncing locations...", 30000); // Long timeout
+
+ await NativeLocationService.manualFlush();
+
+ // Wait a bit for the sync to start, then update stats
+ setTimeout(async () => {
+ await updateStats();
+ setIsProcessing(false);
+ showFeedback("βœ… Sync initiated successfully!");
+ }, 2000);
+ } catch (err) {
+ console.error("[DataManagementScreen] Manual flush error:", err);
+ setIsProcessing(false);
+ showFeedback("❌ Failed to sync queue");
+ }
+ }, [stats.queued, isProcessing, updateStats, showFeedback]);
+
+ // Generic delete handler
+ const handleDeleteAction = useCallback(
+ async (
+ action: () => Promise<number | void>,
+ successMessage: (count: number) => string
+ ) => {
+ setIsProcessing(true);
+ try {
+ const deleted = await action();
+ await updateStats();
+ if (typeof deleted === "number") {
+ showFeedback(successMessage(deleted));
+ }
+ } catch (err) {
+ console.error("[DataManagementScreen] Delete action failed:", err);
+ showFeedback("❌ Action failed");
+ } finally {
+ setIsProcessing(false);
+ }
+ },
+ [updateStats, showFeedback]
+ );
+
+ const handleClearSentHistory = useCallback(() => {
+ handleDeleteAction(
+ () => NativeLocationService.clearSentHistory().then(() => stats.sent),
+ (count) => `βœ… Cleared ${count} sent location${count !== 1 ? "s" : ""}`
+ );
+ }, [handleDeleteAction, stats.sent]);
+
+ const handleClearQueue = useCallback(() => {
+ handleDeleteAction(
+ () => NativeLocationService.clearQueue(),
+ (count) => `βœ… Cleared ${count} queued location${count !== 1 ? "s" : ""}`
+ );
+ }, [handleDeleteAction]);
+
+ const handleDeleteOlderThan = useCallback(() => {
+ const days = parseInt(daysInput, 10);
+ if (isNaN(days) || days <= 0) {
+ showFeedback("⚠️ Please enter a valid number of days");
+ return;
+ }
+
+ handleDeleteAction(
+ () => NativeLocationService.deleteOlderThan(days),
+ (count) => `βœ… Deleted ${count} old location${count !== 1 ? "s" : ""}`
+ );
+ }, [daysInput, handleDeleteAction, showFeedback]);
+
+ const handleVacuum = useCallback(async () => {
+ setIsProcessing(true);
+ try {
+ await NativeLocationService.vacuumDatabase();
+ await updateStats();
+ showFeedback("βœ… Database optimized");
+ } catch (err) {
+ console.error("[DataManagementScreen] Vacuum failed:", err);
+ showFeedback("❌ Optimization failed");
+ } finally {
+ setIsProcessing(false);
+ }
+ }, [updateStats, showFeedback]);
+
+ return (
+ <Container>
+ <KeyboardAvoidingView
+ style={{ flex: 1 }}
+ behavior={Platform.OS === "ios" ? "padding" : undefined}
+ >
+ <ScrollView contentContainerStyle={styles.scrollContent}>
+ {/* Header */}
+ <View style={styles.header}>
+ <Text style={[styles.title, { color: colors.text }]}>
+ Data Management
+ </Text>
+ <Text style={[styles.subtitle, { color: colors.textSecondary }]}>
+ Manage your local location database
+ </Text>
+ </View>
+
+ {/* Stats */}
+ <View style={styles.section}>
+ <SectionTitle>DATABASE STATISTICS</SectionTitle>
+ <Card>
+ {[
+ ["Total Locations", stats.total.toLocaleString(), colors.text],
+ ["Sent", stats.sent.toLocaleString(), colors.success],
+ ["Queued", stats.queued.toLocaleString(), colors.warning],
+ ["Today", stats.today.toLocaleString(), colors.info],
+ [
+ "Storage",
+ `${stats.databaseSizeMB.toFixed(2)} MB`,
+ colors.primary,
+ ],
+ ].map(([label, value, color], i, arr) => (
+ <React.Fragment key={i}>
+ <View style={styles.statRow}>
+ <Text
+ style={[
+ styles.statLabel,
+ { color: colors.textSecondary },
+ ]}
+ >
+ {label}
+ </Text>
+ <Text style={[styles.statValue, { color }]}>{value}</Text>
+ </View>
+ {i < arr.length - 1 && <Divider />}
+ </React.Fragment>
+ ))}
+ </Card>
+ </View>
+
+ {/* Queue Actions */}
+ <View style={styles.section}>
+ <SectionTitle>QUEUE ACTIONS</SectionTitle>
+ <Card>
+ <Button
+ onPress={handleManualFlush}
+ disabled={isProcessing || stats.queued === 0}
+ title="Sync Now"
+ color="#f8f7f7"
+ />
+ <Text style={[styles.hint, { color: colors.textLight }]}>
+ {stats.queued === 0
+ ? "Queue is empty"
+ : `Trigger immediate sync of ${stats.queued} queued location${
+ stats.queued !== 1 ? "s" : ""
+ }`}
+ </Text>
+ </Card>
+ </View>
+
+ {/* Cleanup Actions */}
+ <View style={styles.section}>
+ <SectionTitle>CLEANUP ACTIONS</SectionTitle>
+ <Card>
+ {/* Clear Sent History */}
+ <ActionRow
+ label="Clear Sent History"
+ hint="Delete all successfully sent locations"
+ color={colors.success}
+ textColor={colors.textLight}
+ value={stats.sent.toLocaleString()}
+ onPress={handleClearSentHistory}
+ disabled={isProcessing || stats.sent === 0}
+ />
+ <Divider />
+
+ {/* Clear Queue */}
+ <ActionRow
+ label="Clear Queue"
+ hint="Delete all pending locations"
+ color={colors.warning}
+ textColor={colors.textLight}
+ value={stats.queued.toLocaleString()}
+ onPress={handleClearQueue}
+ disabled={isProcessing || stats.queued === 0}
+ />
+ <Divider />
+
+ {/* Delete Older Than */}
+ <View style={styles.actionColumn}>
+ <Text style={[styles.actionLabel, { color: colors.text }]}>
+ Delete Old Locations
+ </Text>
+ <Text style={[styles.actionHint, { color: colors.textLight }]}>
+ Remove locations older than specified days
+ </Text>
+ <View style={styles.daysInputRow}>
+ <TextInput
+ style={[
+ styles.daysInput,
+ {
+ borderColor: colors.border,
+ color: colors.text,
+ backgroundColor: colors.backgroundElevated,
+ },
+ ]}
+ keyboardType="numeric"
+ value={daysInput}
+ onChangeText={setDaysInput}
+ placeholder="90"
+ placeholderTextColor={colors.placeholder}
+ />
+ <Text
+ style={[styles.daysLabel, { color: colors.textSecondary }]}
+ >
+ days
+ </Text>
+ <Button
+ style={[
+ { backgroundColor: colors.errorLight },
+ isProcessing && { opacity: 0.5 },
+ ]}
+ onPress={handleDeleteOlderThan}
+ disabled={isProcessing}
+ title="Delete"
+ />
+ </View>
+ </View>
+ <Divider />
+
+ {/* Vacuum */}
+ <TouchableOpacity
+ style={styles.actionColumn}
+ onPress={handleVacuum}
+ disabled={isProcessing}
+ activeOpacity={0.7}
+ >
+ <Text style={[styles.actionLabel, { color: colors.text }]}>
+ Optimize Database
+ </Text>
+ <Text style={[styles.actionHint, { color: colors.textLight }]}>
+ Reclaim unused space and improve performance
+ </Text>
+ <Text style={[styles.actionHint, { color: colors.textLight }]}>
+ πŸ’‘ Run after large deletions to reclaim space
+ </Text>
+ </TouchableOpacity>
+ </Card>
+ </View>
+ </ScrollView>
+
+ {/* Floating Feedback */}
+ {feedback && (
+ <View style={styles.feedbackContainer}>
+ <View
+ style={[
+ styles.feedbackBadge,
+ {
+ backgroundColor: isProcessing ? colors.info : colors.success,
+ },
+ ]}
+ >
+ <Text style={styles.feedbackText}>{feedback}</Text>
+ </View>
+ </View>
+ )}
+ </KeyboardAvoidingView>
+ </Container>
+ );
+}
+
+// --- Reusable ActionRow Component ---
+const ActionRow = ({
+ label,
+ hint,
+ color,
+ textColor,
+ value,
+ onPress,
+ disabled,
+}: {
+ label: string;
+ hint: string;
+ color: string;
+ textColor: string;
+ value: string;
+ onPress: () => void;
+ disabled: boolean;
+}) => (
+ <TouchableOpacity
+ style={styles.actionRow}
+ onPress={onPress}
+ disabled={disabled}
+ activeOpacity={0.7}
+ >
+ <View style={styles.actionInfo}>
+ <Text style={[styles.actionLabel, { color }]}>{label}</Text>
+ <Text style={[styles.actionHint, { color: textColor }]}>{hint}</Text>
+ </View>
+ <View
+ style={[
+ styles.actionBadge,
+ { backgroundColor: color + "20", borderColor: color },
+ ]}
+ >
+ <Text style={[styles.actionBadgeText, { color }]}>{value}</Text>
+ </View>
+ </TouchableOpacity>
+);
+
+// --- Styles ---
+const styles = StyleSheet.create({
+ scrollContent: {
+ paddingHorizontal: 16,
+ paddingBottom: 40,
+ },
+ header: {
+ marginTop: 20,
+ marginBottom: 24,
+ },
+ title: {
+ fontSize: 28,
+ fontWeight: "700",
+ marginBottom: 4,
+ },
+ subtitle: {
+ fontSize: 14,
+ lineHeight: 20,
+ },
+ section: {
+ marginBottom: 24,
+ },
+ statRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 8,
+ },
+ statLabel: {
+ fontSize: 14,
+ fontWeight: "500",
+ },
+ statValue: {
+ fontSize: 16,
+ fontWeight: "700",
+ },
+ hint: {
+ fontSize: 12,
+ textAlign: "center",
+ fontStyle: "italic",
+ lineHeight: 16,
+ marginTop: 8,
+ },
+ actionRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 12,
+ },
+ actionColumn: {
+ paddingVertical: 12,
+ },
+ actionInfo: {
+ flex: 1,
+ },
+ actionLabel: {
+ fontSize: 15,
+ fontWeight: "600",
+ marginBottom: 4,
+ },
+ actionHint: {
+ fontSize: 12,
+ lineHeight: 16,
+ marginTop: 2,
+ },
+ actionBadge: {
+ paddingHorizontal: 12,
+ paddingVertical: 6,
+ borderRadius: 16,
+ borderWidth: 1,
+ },
+ actionBadgeText: {
+ fontSize: 13,
+ fontWeight: "700",
+ },
+ daysInputRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ marginTop: 12,
+ gap: 8,
+ },
+ daysInput: {
+ flex: 1,
+ borderWidth: 1,
+ padding: 10,
+ borderRadius: 8,
+ fontSize: 15,
+ textAlign: "center",
+ },
+ daysLabel: {
+ fontSize: 15,
+ fontWeight: "500",
+ },
+ feedbackContainer: {
+ position: "absolute",
+ bottom: 20,
+ left: 0,
+ right: 0,
+ alignItems: "center",
+ zIndex: 1000,
+ pointerEvents: "none",
+ },
+ feedbackBadge: {
+ paddingHorizontal: 20,
+ paddingVertical: 12,
+ borderRadius: 24,
+ shadowOffset: { width: 0, height: 4 },
+ shadowOpacity: 0.3,
+ shadowRadius: 8,
+ elevation: 8,
+ },
+ feedbackText: {
+ fontSize: 14,
+ fontWeight: "600",
+ color: "#fff",
+ },
+});
diff --git a/src/screens/ExportDataScreen.tsx b/src/screens/ExportDataScreen.tsx
new file mode 100644
index 00000000..7eea2375
--- /dev/null
+++ b/src/screens/ExportDataScreen.tsx
@@ -0,0 +1,765 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useEffect } from "react";
+import {
+ Text,
+ StyleSheet,
+ View,
+ Alert,
+ ActivityIndicator,
+ ScrollView,
+ Platform,
+ TouchableOpacity,
+} from "react-native";
+import { Container, Card, SectionTitle, Divider } from "../components";
+import { useTheme } from "../hooks/useTheme";
+import { ThemeColors } from "../types/global";
+import NativeLocationService from "../services/NativeLocationService";
+import RNFS from "react-native-fs";
+import Share from "react-native-share"; // Use react-native-share instead
+
+interface LocationData {
+ id: number;
+ timestamp: number;
+ latitude: number;
+ longitude: number;
+ accuracy: number;
+ altitude: number;
+ speed: number;
+ battery: number;
+}
+
+type ExportFormat = "csv" | "geojson" | "gpx";
+
+interface ExportStats {
+ totalLocations: number;
+ dateRange: { start: string; end: string } | null;
+ estimatedSize: string;
+}
+
+export function ExportDataScreen() {
+ const { colors } = useTheme();
+ const [exporting, setExporting] = useState(false);
+ const [exportProgress, setExportProgress] = useState<string>("");
+ const [stats, setStats] = useState<ExportStats>({
+ totalLocations: 0,
+ dateRange: null,
+ estimatedSize: "0 KB",
+ });
+ const [selectedFormat, setSelectedFormat] = useState<ExportFormat | null>(
+ null
+ );
+
+ useEffect(() => {
+ loadStats();
+ }, []);
+
+ // Update size estimate when format changes
+ useEffect(() => {
+ if (stats.totalLocations > 0) {
+ updateSizeEstimate();
+ }
+ }, [selectedFormat]);
+
+ const updateSizeEstimate = () => {
+ const formatSizes = {
+ csv: 120,
+ geojson: 250,
+ gpx: 350,
+ };
+
+ const formatBytes = (bytes: number): string => {
+ if (bytes < 1024) return `${bytes} B`;
+ if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
+ return `${(bytes / (1024 * 1024)).toFixed(2)} MB`;
+ };
+
+ const getEstimatedSize = () => {
+ if (selectedFormat) {
+ const bytes = stats.totalLocations * formatSizes[selectedFormat];
+ return formatBytes(bytes);
+ }
+ // Show range when no format selected
+ const minBytes = stats.totalLocations * formatSizes.csv;
+ const maxBytes = stats.totalLocations * formatSizes.gpx;
+ return `${formatBytes(minBytes)} - ${formatBytes(maxBytes)}`;
+ };
+
+ setStats((prev) => ({
+ ...prev,
+ estimatedSize: getEstimatedSize(),
+ }));
+ };
+
+ const loadStats = async () => {
+ try {
+ const data = await NativeLocationService.getExportData();
+
+ if (data && data.length > 0) {
+ const timestamps = data.map((d) => d.timestamp).filter(Boolean);
+ const start = new Date(Math.min(...timestamps));
+ const end = new Date(Math.max(...timestamps));
+
+ // Initial size estimate (range)
+ const formatBytes = (bytes: number): string => {
+ if (bytes < 1024) return `${bytes} B`;
+ if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(0)} KB`;
+ return `${(bytes / (1024 * 1024)).toFixed(0)} MB`;
+ };
+
+ const minBytes = data.length * 120; // CSV
+ const maxBytes = data.length * 350; // GPX
+ const estimatedSize = `${formatBytes(minBytes)} - ${formatBytes(
+ maxBytes
+ )}`;
+
+ setStats({
+ totalLocations: data.length,
+ dateRange: {
+ start: start.toLocaleDateString(),
+ end: end.toLocaleDateString(),
+ },
+ estimatedSize,
+ });
+ }
+ } catch (error) {
+ console.error("[ExportDataScreen] Failed to load stats:", error);
+ }
+ };
+
+ const handleExport = async (format: ExportFormat) => {
+ if (stats.totalLocations === 0) {
+ Alert.alert(
+ "No Data",
+ "There are no locations in the database to export."
+ );
+ return;
+ }
+
+ setExporting(true);
+ setExportProgress("Fetching location data...");
+
+ try {
+ const data: LocationData[] = await NativeLocationService.getExportData();
+
+ setExportProgress(`Converting ${data.length} locations...`);
+
+ let content = "";
+ let fileExtension = "";
+ let mimeType = "";
+
+ switch (format) {
+ case "csv":
+ content = convertToCSV(data);
+ fileExtension = ".csv";
+ mimeType = "text/csv";
+ break;
+ case "geojson":
+ content = convertToGeoJSON(data);
+ fileExtension = ".geojson";
+ mimeType = "application/json";
+ break;
+ case "gpx":
+ content = convertToGPX(data);
+ fileExtension = ".gpx";
+ mimeType = "application/gpx+xml";
+ break;
+ }
+
+ const fileName = `colota_export_${Date.now()}${fileExtension}`;
+
+ setExportProgress("Saving file...");
+
+ const filePath = `${RNFS.CachesDirectoryPath}/${fileName}`;
+ await RNFS.writeFile(filePath, content, "utf8");
+
+ // File is ready, close loading overlay
+ setExporting(false);
+ setExportProgress("");
+
+ // Wait for overlay to close before showing share dialog
+ await new Promise<void>((resolve) => setTimeout(resolve, 300));
+
+ // Now show share dialog using react-native-share
+ const shareOptions = {
+ title: "Export Location Data",
+ message: `Colota location export: ${stats.totalLocations} locations`,
+ url: Platform.OS === "android" ? `file://${filePath}` : filePath,
+ type: mimeType,
+ filename: fileName,
+ subject: fileName, // For email
+ };
+
+ try {
+ await Share.open(shareOptions);
+ } catch (shareError: any) {
+ // User cancelled or share failed
+ if (
+ shareError?.message &&
+ !shareError.message.includes("User did not share")
+ ) {
+ console.warn("[ExportDataScreen] Share error:", shareError);
+ }
+ }
+
+ // Clean up temp file after sharing
+ setTimeout(async () => {
+ try {
+ await RNFS.unlink(filePath);
+ } catch (err) {
+ console.warn("[ExportDataScreen] Failed to cleanup temp file:", err);
+ }
+ }, 1000);
+ } catch (error) {
+ console.error("[ExportDataScreen] Export failed:", error);
+ Alert.alert(
+ "Export Failed",
+ "Unable to export your data. Please try again."
+ );
+ } finally {
+ // Clean up state
+ setExporting(false);
+ setExportProgress("");
+ setSelectedFormat(null);
+ }
+ };
+
+ return (
+ <Container>
+ <ScrollView
+ contentContainerStyle={styles.scrollContent}
+ showsVerticalScrollIndicator={false}
+ >
+ {/* Header */}
+ <View style={styles.header}>
+ <Text style={[styles.title, { color: colors.text }]}>
+ Export Data
+ </Text>
+ </View>
+
+ {/* Stats Card - Matching Stats Card Style */}
+ <View
+ style={[
+ styles.statsContainer,
+ {
+ backgroundColor: colors.card,
+ borderColor: colors.border,
+ },
+ ]}
+ >
+ <View style={styles.statsGrid}>
+ {/* Total Locations */}
+ <View style={styles.statItem}>
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Total
+ </Text>
+ <Text style={[styles.statValue, { color: colors.primary }]}>
+ {stats.totalLocations.toLocaleString()}
+ </Text>
+ </View>
+
+ <View
+ style={[styles.divider, { backgroundColor: colors.border }]}
+ />
+
+ {/* File Size */}
+ <View style={styles.statItem}>
+ <Text style={[styles.statLabel, { color: colors.textSecondary }]}>
+ Est. Size
+ </Text>
+ <Text style={[styles.statValue, { color: colors.success }]}>
+ {stats.estimatedSize}
+ </Text>
+ </View>
+ </View>
+ </View>
+
+ {/* Format Selection */}
+ <View style={styles.section}>
+ <SectionTitle>Select Format</SectionTitle>
+
+ <Card>
+ {/* CSV Option */}
+ <FormatOption
+ icon="πŸ“Š"
+ title="CSV"
+ subtitle="Spreadsheet Format"
+ description="Excel, Google Sheets, data analysis"
+ extension=".csv"
+ selected={selectedFormat === "csv"}
+ onPress={() => setSelectedFormat("csv")}
+ colors={colors}
+ />
+
+ <Divider />
+
+ {/* GeoJSON Option */}
+ <FormatOption
+ icon="πŸ—ΊοΈ"
+ title="GeoJSON"
+ subtitle="Geographic Data"
+ description="Mapbox, Leaflet, QGIS, ArcGIS"
+ extension=".geojson"
+ selected={selectedFormat === "geojson"}
+ onPress={() => setSelectedFormat("geojson")}
+ colors={colors}
+ />
+
+ <Divider />
+
+ {/* GPX Option */}
+ <FormatOption
+ icon="πŸ“"
+ title="GPX"
+ subtitle="GPS Exchange"
+ description="Garmin, Strava, Google Earth"
+ extension=".gpx"
+ selected={selectedFormat === "gpx"}
+ onPress={() => setSelectedFormat("gpx")}
+ colors={colors}
+ />
+ </Card>
+ </View>
+
+ {/* Export Button */}
+ {selectedFormat && (
+ <View style={styles.exportSection}>
+ <TouchableOpacity
+ style={[
+ styles.exportButton,
+ {
+ backgroundColor: colors.primary,
+ },
+ exporting && styles.disabledButton,
+ ]}
+ onPress={() => handleExport(selectedFormat)}
+ disabled={exporting || stats.totalLocations === 0}
+ activeOpacity={0.7}
+ >
+ <View style={styles.exportContent}>
+ <Text style={styles.exportIcon}>πŸ“€</Text>
+ <View style={styles.exportText}>
+ <Text style={styles.exportTitle}>
+ Export {selectedFormat.toUpperCase()}
+ </Text>
+ <Text style={styles.exportSubtitle}>
+ {stats.totalLocations.toLocaleString()} locations β€’{" "}
+ {stats.estimatedSize}
+ </Text>
+ </View>
+ </View>
+ </TouchableOpacity>
+ </View>
+ )}
+ </ScrollView>
+
+ {/* Loading Overlay */}
+ {exporting && (
+ <View style={[styles.loader, { backgroundColor: colors.overlay }]}>
+ <View style={[styles.loaderCard, { backgroundColor: colors.card }]}>
+ <ActivityIndicator size="large" color={colors.primary} />
+ <Text style={[styles.loaderTitle, { color: colors.text }]}>
+ Exporting Data
+ </Text>
+ <Text style={[styles.loaderText, { color: colors.textSecondary }]}>
+ {exportProgress}
+ </Text>
+ </View>
+ </View>
+ )}
+ </Container>
+ );
+}
+
+// --- Format Option Component (Matching PresetOption style) ---
+
+const FormatOption = ({
+ icon,
+ title,
+ subtitle,
+ description,
+ extension,
+ selected,
+ onPress,
+ colors,
+}: {
+ icon: string;
+ title: string;
+ subtitle: string;
+ description: string;
+ extension: string;
+ selected: boolean;
+ onPress: () => void;
+ colors: ThemeColors;
+}) => (
+ <TouchableOpacity
+ style={[
+ styles.formatOption,
+ selected && {
+ backgroundColor: colors.primary + "12",
+ },
+ ]}
+ onPress={onPress}
+ activeOpacity={0.7}
+ >
+ {/* Selection indicator bar */}
+ {selected && (
+ <View
+ style={[styles.selectionBar, { backgroundColor: colors.primary }]}
+ />
+ )}
+
+ <View style={styles.formatContent}>
+ {/* Left side - Icon and text */}
+ <View style={styles.leftContent}>
+ <Text style={styles.formatIcon}>{icon}</Text>
+ <View style={styles.textContent}>
+ <View style={styles.titleRow}>
+ <Text style={[styles.formatTitle, { color: colors.text }]}>
+ {title}
+ </Text>
+ <View
+ style={[
+ styles.extensionBadge,
+ {
+ backgroundColor: selected
+ ? colors.primary + "20"
+ : colors.primary + "15",
+ borderColor: selected
+ ? colors.primary + "60"
+ : colors.primary + "30",
+ },
+ ]}
+ >
+ <Text style={[styles.extensionText, { color: colors.primary }]}>
+ {extension}
+ </Text>
+ </View>
+ </View>
+ <Text
+ style={[styles.formatSubtitle, { color: colors.textSecondary }]}
+ >
+ {subtitle}
+ </Text>
+ <Text style={[styles.formatDescription, { color: colors.textLight }]}>
+ {description}
+ </Text>
+ </View>
+ </View>
+
+ {/* Right side - Radio button */}
+ <View
+ style={[
+ styles.radio,
+ {
+ borderColor: selected ? colors.primary : colors.border,
+ backgroundColor: selected ? colors.primary + "20" : "transparent",
+ },
+ ]}
+ >
+ {selected && (
+ <View
+ style={[styles.radioInner, { backgroundColor: colors.primary }]}
+ />
+ )}
+ </View>
+ </View>
+ </TouchableOpacity>
+);
+
+// --- Format Conversion Functions ---
+
+const convertToCSV = (data: LocationData[]): string => {
+ const headers =
+ "id,timestamp,iso_time,latitude,longitude,accuracy,altitude,speed,battery\n";
+ const rows = data
+ .map((item) => {
+ const isoTime = new Date(item.timestamp).toISOString();
+ return [
+ item.id,
+ item.timestamp,
+ isoTime,
+ item.latitude,
+ item.longitude,
+ item.accuracy,
+ item.altitude ?? 0,
+ item.speed ?? 0,
+ item.battery ?? 0,
+ ].join(",");
+ })
+ .join("\n");
+ return headers + rows;
+};
+
+const convertToGeoJSON = (data: LocationData[]): string => {
+ const features = data.map((item) => {
+ const timestamp = item.timestamp ? new Date(item.timestamp) : new Date();
+ const timeStr = isNaN(timestamp.getTime())
+ ? new Date().toISOString()
+ : timestamp.toISOString();
+
+ return {
+ type: "Feature",
+ geometry: {
+ type: "Point",
+ coordinates: [item.longitude || 0, item.latitude || 0],
+ },
+ properties: {
+ id: item.id,
+ accuracy: item.accuracy,
+ altitude: item.altitude,
+ speed: item.speed,
+ battery: item.battery,
+ time: timeStr,
+ },
+ };
+ });
+
+ return JSON.stringify(
+ {
+ type: "FeatureCollection",
+ features,
+ },
+ null,
+ 2
+ );
+};
+
+const convertToGPX = (data: LocationData[]): string => {
+ let gpx = `<?xml version="1.0" encoding="UTF-8"?>
+<gpx version="1.1" creator="Colota" xmlns="http://www.topografix.com/GPX/1/1">
+ <metadata>
+ <n>Colota Location Export</n>
+ <time>${new Date().toISOString()}</time>
+ </metadata>
+ <trk>
+ <n>Colota Track Export</n>
+ <trkseg>`;
+
+ data.forEach((item) => {
+ const time = new Date(item.timestamp).toISOString();
+ gpx += `
+ <trkpt lat="${item.latitude.toFixed(6)}" lon="${item.longitude.toFixed(
+ 6
+ )}">
+ <ele>${item.altitude || 0}</ele>
+ <time>${time}</time>
+ <extensions>
+ <accuracy>${item.accuracy || 0}</accuracy>
+ <speed>${item.speed || 0}</speed>
+ <battery>${item.battery || 0}</battery>
+ </extensions>
+ </trkpt>`;
+ });
+
+ gpx += `
+ </trkseg>
+ </trk>
+</gpx>`;
+ return gpx;
+};
+
+// --- Styles ---
+const styles = StyleSheet.create({
+ scrollContent: {
+ paddingBottom: 40,
+ },
+
+ // Header
+ header: {
+ marginTop: 20,
+ marginBottom: 20,
+ paddingHorizontal: 20,
+ },
+ title: {
+ fontSize: 28,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ },
+
+ // Stats Container - Matching StatsCard style
+ statsContainer: {
+ borderRadius: 16,
+ borderWidth: 2,
+ marginHorizontal: 20,
+ marginBottom: 24,
+ overflow: "hidden",
+ },
+ statsGrid: {
+ flexDirection: "row",
+ padding: 20,
+ },
+ statItem: {
+ flex: 1,
+ alignItems: "center",
+ },
+ statLabel: {
+ fontSize: 12,
+ fontWeight: "600",
+ textTransform: "uppercase",
+ letterSpacing: 0.8,
+ marginBottom: 8,
+ },
+ statValue: {
+ fontSize: 20,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ textAlign: "center",
+ },
+ divider: {
+ width: 1,
+ marginHorizontal: 12,
+ opacity: 0.3,
+ },
+
+ // Section
+ section: {
+ paddingHorizontal: 20,
+ marginBottom: 24,
+ },
+
+ // Format Option - Matching PresetOption style
+ formatOption: {
+ paddingVertical: 8,
+ paddingHorizontal: 0,
+ position: "relative",
+ },
+ selectionBar: {
+ position: "absolute",
+ left: -20,
+ top: 0,
+ bottom: 0,
+ width: 4,
+ },
+ formatContent: {
+ flexDirection: "row",
+ alignItems: "center",
+ },
+ leftContent: {
+ flex: 1,
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 14,
+ },
+ formatIcon: {
+ fontSize: 28,
+ },
+ textContent: {
+ flex: 1,
+ },
+ titleRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ gap: 8,
+ marginBottom: 2,
+ },
+ formatTitle: {
+ fontSize: 16,
+ fontWeight: "600",
+ letterSpacing: -0.2,
+ },
+ extensionBadge: {
+ paddingHorizontal: 8,
+ paddingVertical: 3,
+ borderRadius: 6,
+ borderWidth: 1,
+ },
+ extensionText: {
+ fontSize: 10,
+ fontWeight: "700",
+ letterSpacing: 0.3,
+ },
+ formatSubtitle: {
+ fontSize: 13,
+ marginBottom: 2,
+ },
+ formatDescription: {
+ fontSize: 12,
+ lineHeight: 16,
+ },
+ radio: {
+ width: 24,
+ height: 24,
+ borderRadius: 12,
+ borderWidth: 2,
+ justifyContent: "center",
+ alignItems: "center",
+ marginLeft: 12,
+ },
+ radioInner: {
+ width: 12,
+ height: 12,
+ borderRadius: 6,
+ },
+
+ // Export Button
+ exportSection: {
+ paddingHorizontal: 20,
+ },
+ exportButton: {
+ borderRadius: 14,
+ padding: 18,
+ shadowOffset: { width: 0, height: 2 },
+ shadowOpacity: 0.1,
+ shadowRadius: 4,
+ elevation: 3,
+ },
+ exportContent: {
+ flexDirection: "row",
+ alignItems: "center",
+ },
+ exportIcon: {
+ fontSize: 28,
+ marginRight: 14,
+ },
+ exportText: {
+ flex: 1,
+ },
+ exportTitle: {
+ fontSize: 17,
+ fontWeight: "600",
+ color: "#fff",
+ marginBottom: 2,
+ },
+ exportSubtitle: {
+ fontSize: 13,
+ color: "#fff",
+ opacity: 0.9,
+ },
+
+ // Disabled State
+ disabledButton: {
+ opacity: 0.5,
+ },
+
+ // Loader
+ loader: {
+ ...StyleSheet.absoluteFillObject,
+ zIndex: 999,
+ justifyContent: "center",
+ alignItems: "center",
+ },
+ loaderCard: {
+ padding: 32,
+ borderRadius: 16,
+ alignItems: "center",
+ shadowOffset: { width: 0, height: 4 },
+ shadowOpacity: 0.3,
+ shadowRadius: 8,
+ elevation: 8,
+ minWidth: 240,
+ },
+ loaderTitle: {
+ fontSize: 16,
+ fontWeight: "600",
+ marginTop: 16,
+ marginBottom: 8,
+ },
+ loaderText: {
+ fontSize: 13,
+ textAlign: "center",
+ },
+});
diff --git a/src/screens/GeofenceScreen.tsx b/src/screens/GeofenceScreen.tsx
new file mode 100644
index 00000000..22369d4b
--- /dev/null
+++ b/src/screens/GeofenceScreen.tsx
@@ -0,0 +1,670 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, {
+ useState,
+ useEffect,
+ useRef,
+ useMemo,
+ useCallback,
+} from "react";
+import {
+ View,
+ Text,
+ StyleSheet,
+ TextInput,
+ TouchableOpacity,
+ FlatList,
+ Alert,
+ Switch,
+ DeviceEventEmitter,
+} from "react-native";
+import { WebView } from "react-native-webview";
+import { SvgXml } from "react-native-svg";
+import { useTheme } from "../hooks/useTheme";
+import NativeLocationService from "../services/NativeLocationService";
+import { Geofence, ScreenProps, LocationCoords } from "../types/global";
+import { useTracking } from "../contexts/TrackingProvider";
+import { Container, SectionTitle, Card, Divider } from "../components";
+
+export function GeofenceScreen({ navigation }: ScreenProps) {
+ const { coords, tracking } = useTracking();
+ const { colors, mode } = useTheme();
+ const isDark = mode === "dark";
+
+ const [geofences, setGeofences] = useState<Geofence[]>([]);
+ const [newName, setNewName] = useState("");
+ const [newRadius, setNewRadius] = useState("50");
+ const [placingGeofence, setPlacingGeofence] = useState(false);
+ const [isCentered, setIsCentered] = useState(true);
+ const [mapReady, setMapReady] = useState(false);
+ const [hasInitialCoords, setHasInitialCoords] = useState(false);
+ const [currentSilentZone, setCurrentSilentZone] = useState<string | null>(null);
+
+ const webviewRef = useRef<WebView>(null);
+ const initialCoords = useRef<LocationCoords | null>(null);
+
+ // Set initial coords
+ useEffect(() => {
+ if (!initialCoords.current && coords) {
+ initialCoords.current = coords;
+ setHasInitialCoords(true);
+ }
+ }, [coords]);
+
+ const centerIconXml = useMemo(() => `
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72">
+ <g transform="translate(0,72) scale(0.1,-0.1)" fill="${colors.text}">
+ <path d="M340 622 c0 -25 -5 -29 -47 -40 -64 -18 -137 -91 -155 -155 -11 -42 -15 -47 -40 -47 -21 0 -28 -5 -28 -20 0 -15 7 -20 28 -20 25 0 29 -5 40 -47 18 -64 91 -137 155 -155 42 -11 47 -15 47 -40 0 -21 5 -28 20 -28 15 0 20 7 20 28 0 25 5 29 47 40 64 18 137 91 155 155 11 42 15 47 40 47 21 0 28 5 28 20 0 15 -7 20 -28 20 -25 0 -29 5 -40 47 -18 65 -91 137 -155 154 -42 10 -47 14 -47 40 0 22 -5 29 -20 29 -15 0 -20 -7 -20 -28z m88 -87 c77 -33 115 -90 116 -177 1 -47 -4 -64 -29 -100 -34 -49 -102 -87 -155 -88 -52 0 -120 38 -155 88 -50 72 -38 179 27 239 54 50 130 65 196 38z"/>
+ </g>
+ </svg>
+ `, [colors.text]);
+
+ // Load geofences
+ const loadGeofences = useCallback(async () => {
+ try {
+ const data = await NativeLocationService.getGeofences();
+ setGeofences(data);
+ } catch (err) {
+ console.error("[GeofenceScreen] Failed to load geofences:", err);
+ }
+ }, []);
+
+ useEffect(() => {
+ loadGeofences();
+ }, [loadGeofences]);
+
+ // Check for silent zone
+ useEffect(() => {
+ const checkSilentZone = async () => {
+ try {
+ const zoneName = await NativeLocationService.checkCurrentSilentZone();
+ setCurrentSilentZone(zoneName);
+ } catch (err) {
+ console.error("[GeofenceScreen] Failed to check silent zone:", err);
+ }
+ };
+
+ checkSilentZone();
+ const listener = DeviceEventEmitter.addListener("geofenceUpdated", checkSilentZone);
+ return () => listener.remove();
+ }, []);
+
+ // Update user position
+ useEffect(() => {
+ if (webviewRef.current && mapReady && coords) {
+ webviewRef.current.postMessage(
+ JSON.stringify({
+ action: "update_user_pos",
+ coords,
+ tracking,
+ isPaused: !!currentSilentZone,
+ })
+ );
+ }
+ }, [coords, mapReady, tracking, currentSilentZone]);
+
+ // Update geofences
+ useEffect(() => {
+ if (webviewRef.current && mapReady) {
+ webviewRef.current.postMessage(
+ JSON.stringify({
+ action: "update_geofences",
+ geofences,
+ })
+ );
+ }
+ }, [geofences, mapReady]);
+
+ const onMessage = useCallback(async (event: any) => {
+ try {
+ const data = JSON.parse(event.nativeEvent.data);
+
+ if (data.type === "MAP_READY") setMapReady(true);
+ if (data.type === "CENTERED") setIsCentered(data.value);
+
+ if (data.action === "map_click") {
+ try {
+ await NativeLocationService.createGeofence({
+ name: newName,
+ lat: data.latitude,
+ lon: data.longitude,
+ radius: Number(newRadius),
+ enabled: true,
+ pauseTracking: true,
+ });
+
+ setNewName("");
+ setNewRadius("50");
+ setPlacingGeofence(false);
+ await loadGeofences();
+ DeviceEventEmitter.emit("geofenceUpdated");
+ } catch (err) {
+ Alert.alert("Error", "Failed to create geofence.");
+ }
+ }
+ } catch (err) {
+ console.error("[GeofenceScreen] Message error:", err);
+ }
+ }, [newName, newRadius, loadGeofences]);
+
+ const startPlacingGeofence = useCallback(() => {
+ if (!newName.trim()) {
+ Alert.alert("Missing Name", "Please enter a name.");
+ return;
+ }
+
+ const radius = Number(newRadius);
+ if (!radius || radius <= 0) {
+ Alert.alert("Invalid Radius", "Please enter a valid radius.");
+ return;
+ }
+
+ setPlacingGeofence(true);
+ webviewRef.current?.postMessage(JSON.stringify({ action: "place_geofence", radius }));
+ }, [newName, newRadius]);
+
+ const handleCenterMe = useCallback(() => {
+ if (coords) {
+ webviewRef.current?.postMessage(JSON.stringify({ action: "center_map", coords }));
+ }
+ }, [coords]);
+
+ const togglePause = useCallback(async (id: number, value: boolean) => {
+ try {
+ await NativeLocationService.updateGeofence({ id, pauseTracking: value });
+ await loadGeofences();
+ DeviceEventEmitter.emit("geofenceUpdated");
+ } catch (err) {
+ Alert.alert("Error", "Failed to update geofence.");
+ }
+ }, [loadGeofences]);
+
+ const handleZoomToGeofence = useCallback((item: Geofence) => {
+ if (!webviewRef.current) return;
+
+ webviewRef.current.postMessage(
+ JSON.stringify({
+ action: "zoom_to_geofence",
+ lat: item.lat,
+ lon: item.lon,
+ radius: item.radius,
+ })
+ );
+ }, []);
+
+ const handleDelete = useCallback((item: Geofence) => {
+ Alert.alert(
+ "Delete Geofence",
+ `Delete "${item.name}"?`,
+ [
+ { text: "Cancel", style: "cancel" },
+ {
+ text: "Delete",
+ style: "destructive",
+ onPress: async () => {
+ try {
+ await NativeLocationService.deleteGeofence(item.id!);
+ await loadGeofences();
+ DeviceEventEmitter.emit("geofenceUpdated");
+ } catch (err) {
+ Alert.alert("Error", "Failed to delete geofence.");
+ }
+ },
+ },
+ ]
+ );
+ }, [loadGeofences]);
+
+ const html = useMemo(() => {
+ if (!hasInitialCoords || !initialCoords.current) return "";
+
+ const lon = initialCoords.current.longitude;
+ const lat = initialCoords.current.latitude;
+
+ return `
+<!DOCTYPE html>
+<html>
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css">
+ <style>
+ html, body, #map {
+ margin: 0;
+ padding: 0;
+ height: 100%;
+ width: 100%;
+ background: ${colors.background};
+ }
+
+ .ol-zoom {
+ right: auto !important;
+ left: 10px;
+ top: 10px;
+ background: transparent !important;
+ padding: 0 !important;
+ z-index: 100 !important;
+ }
+
+ .ol-zoom button {
+ width: 44px !important;
+ height: 44px !important;
+ background: ${colors.card} !important;
+ color: ${colors.text} !important;
+ border-radius: ${colors.borderRadius}px !important;
+ margin: 4px 0 !important;
+ font-size: 20px !important;
+ font-weight: bold !important;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
+ -webkit-tap-highlight-color: transparent !important;
+ touch-action: manipulation !important;
+ }
+
+ .ol-zoom button:active {
+ background: ${colors.primary} !important;
+ color: white !important;
+ transform: scale(0.92) !important;
+ }
+
+ .ol-zoom button:focus {
+ outline: none !important;
+ }
+
+ .marker {
+ width: 24px;
+ height: 24px;
+ background: ${colors.primary};
+ border: 3px solid white;
+ border-radius: 50%;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.3);
+ position: relative;
+ z-index: 2;
+ }
+
+ .marker-pulse {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ width: 20px;
+ height: 20px;
+ border: 3px solid ${colors.primary};
+ border-radius: 50%;
+ animation: pulse 2s infinite;
+ pointer-events: none;
+ z-index: 1;
+ transform-origin: center center;
+ }
+
+ @keyframes pulse {
+ 0% {
+ transform: translate(-50%, -50%) scale(1);
+ opacity: 0.8;
+ }
+ 100% {
+ transform: translate(-50%, -50%) scale(4);
+ opacity: 0;
+ }
+ }
+
+ .ol-attribution {
+ background: ${isDark ? "rgba(0,0,0,0.85)" : "rgba(255,255,255,0.95)"} !important;
+ border-radius: 6px !important;
+ padding: 4px 8px !important;
+ font-size: 11px !important;
+ -webkit-font-smoothing: antialiased !important;
+ -moz-osx-font-smoothing: grayscale !important;
+ }
+
+ .ol-attribution ul {
+ color: ${colors.textSecondary} !important;
+ text-shadow: none !important;
+ }
+
+ .ol-attribution a {
+ color: ${colors.primary} !important;
+ text-decoration: none !important;
+ }
+
+ ${isDark ? ".ol-layer canvas { filter: brightness(0.6) contrast(1.2) saturate(0.8); }" : ""}
+ </style>
+</head>
+<body>
+ <div id="map"></div>
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
+ <script>
+ const vectorSource = new ol.source.Vector();
+
+ const map = new ol.Map({
+ target: "map",
+ layers: [
+ new ol.layer.Tile({ source: new ol.source.OSM() }),
+ new ol.layer.Vector({ source: vectorSource }),
+ ],
+ view: new ol.View({
+ center: ol.proj.fromLonLat([${lon}, ${lat}]),
+ zoom: 17,
+ }),
+ });
+
+ const markerEl = document.createElement("div");
+ markerEl.innerHTML = \`
+ <div class="marker-pulse" style="display:none"></div>
+ <div class="marker"></div>
+ \`;
+
+ const markerOverlay = new ol.Overlay({
+ element: markerEl,
+ positioning: "center-center",
+ stopEvent: false
+ });
+ map.addOverlay(markerOverlay);
+ markerOverlay.setPosition(ol.proj.fromLonLat([${lon}, ${lat}]));
+
+ function isMapCentered() {
+ const center = map.getView().getCenter();
+ const marker = markerOverlay.getPosition();
+ if (!center || !marker) return true;
+ const dx = center[0] - marker[0];
+ const dy = center[1] - marker[1];
+ return Math.sqrt(dx * dx + dy * dy) < 20;
+ }
+
+ function drawGeofences(geofences) {
+ vectorSource.clear();
+ geofences.forEach(zone => {
+ const center = ol.proj.fromLonLat([zone.lon, zone.lat]);
+ const circle = new ol.geom.Circle(center, zone.radius);
+ const feature = new ol.Feature(circle);
+
+ feature.setStyle(
+ new ol.style.Style({
+ stroke: new ol.style.Stroke({
+ color: zone.pauseTracking ? "${colors.warning}" : "${colors.info}",
+ width: 2,
+ lineDash: zone.pauseTracking ? null : [5, 5]
+ }),
+ fill: new ol.style.Fill({
+ color: zone.pauseTracking ? "rgba(255, 165, 0, 0.3)" : "rgba(0, 122, 255, 0.1)"
+ }),
+ })
+ );
+
+ const label = new ol.Feature(new ol.geom.Point(center));
+ label.setStyle(
+ new ol.style.Style({
+ text: new ol.style.Text({
+ text: zone.name,
+ font: "bold 12px sans-serif",
+ fill: new ol.style.Fill({
+ color: zone.pauseTracking ? "${colors.warning}" : "${colors.info}"
+ }),
+ stroke: new ol.style.Stroke({ color: "#fff", width: 3 }),
+ offsetY: -25
+ }),
+ })
+ );
+
+ vectorSource.addFeature(feature);
+ vectorSource.addFeature(label);
+ });
+ }
+
+ let placing = false;
+
+ function handleInternalMessage(e) {
+ let data;
+ try {
+ data = JSON.parse(e.data);
+ } catch(err) {
+ return;
+ }
+
+ if (data.action === "update_user_pos") {
+ const newPos = ol.proj.fromLonLat([data.coords.longitude, data.coords.latitude]);
+ markerOverlay.setPosition(newPos);
+ map.getView().animate({ center: newPos, duration: 500 });
+
+ const markerIcon = markerEl.querySelector(".marker");
+ const markerPulse = markerEl.querySelector(".marker-pulse");
+
+ if (markerIcon && markerPulse) {
+ const isActive = data.tracking && !data.isPaused;
+ const markerColor = data.isPaused ? "${colors.textDisabled}" : "${colors.primary}";
+ markerIcon.style.background = markerColor;
+ markerPulse.style.borderColor = markerColor;
+ markerPulse.style.display = isActive ? "block" : "none";
+ }
+ }
+
+ if (data.action === "center_map") {
+ const pos = ol.proj.fromLonLat([data.coords.longitude, data.coords.latitude]);
+ map.getView().animate({ center: pos, zoom: 16, duration: 400 });
+ }
+
+ if (data.action === "zoom_to_geofence") {
+ const center = ol.proj.fromLonLat([data.lon, data.lat]);
+ const circle = new ol.geom.Circle(center, data.radius);
+ const extent = circle.getExtent();
+ map.getView().fit(extent, {
+ duration: 600,
+ padding: [80, 80, 80, 80],
+ maxZoom: 18
+ });
+ }
+
+ if (data.action === "place_geofence") {
+ placing = true;
+ }
+
+ if (data.action === "update_geofences") {
+ drawGeofences(data.geofences);
+ }
+ }
+
+ window.addEventListener("message", handleInternalMessage);
+ document.addEventListener("message", handleInternalMessage);
+
+ map.on("singleclick", e => {
+ if (!placing) return;
+ placing = false;
+ const ll = ol.proj.toLonLat(e.coordinate);
+ window.ReactNativeWebView.postMessage(
+ JSON.stringify({ action: "map_click", latitude: ll[1], longitude: ll[0] })
+ );
+ });
+
+ map.on("moveend", () => {
+ window.ReactNativeWebView.postMessage(
+ JSON.stringify({ type: "CENTERED", value: isMapCentered() })
+ );
+ });
+
+ window.ReactNativeWebView.postMessage(JSON.stringify({ type: "MAP_READY" }));
+ </script>
+</body>
+</html>
+`;
+ }, [colors, isDark, hasInitialCoords]);
+
+ const renderItem = useCallback(({ item }: { item: Geofence }) => (
+ <Card style={styles.card}>
+ <View style={styles.row}>
+ <TouchableOpacity
+ style={styles.info}
+ onPress={() => handleZoomToGeofence(item)}
+ activeOpacity={0.7}
+ >
+ <Text style={[styles.name, { color: colors.text }]}>{item.name}</Text>
+ <Text style={[styles.radius, { color: colors.textSecondary }]}>
+ {item.radius}m β€’ Tap to view
+ </Text>
+ </TouchableOpacity>
+
+ <View style={styles.actions}>
+ <View style={styles.pauseSwitch}>
+ <Text style={[styles.pauseLabel, { color: colors.textSecondary }]}>
+ Pause
+ </Text>
+ <Switch
+ value={item.pauseTracking}
+ onValueChange={(val) => togglePause(item.id!, val)}
+ trackColor={{ false: colors.border, true: colors.warning + "80" }}
+ thumbColor={item.pauseTracking ? colors.warning : "#f4f3f4"}
+ />
+ </View>
+
+ <TouchableOpacity
+ onPress={() => handleDelete(item)}
+ style={[styles.deleteBtn, { backgroundColor: colors.error + "15" }]}
+ activeOpacity={0.7}
+ >
+ <Text style={[styles.deleteText, { color: colors.error }]}>βœ•</Text>
+ </TouchableOpacity>
+ </View>
+ </View>
+ </Card>
+ ), [colors, handleDelete, togglePause, handleZoomToGeofence]);
+
+ if (!html) {
+ return (
+ <Container>
+ <View style={styles.loading}>
+ <Text style={[styles.loadingText, { color: colors.text }]}>
+ Waiting for location...
+ </Text>
+ </View>
+ </Container>
+ );
+ }
+
+ return (
+ <Container>
+ <View style={[styles.map, { borderRadius: colors.borderRadius }]}>
+ <WebView
+ ref={webviewRef}
+ originWhitelist={["*"]}
+ source={{ html }}
+ style={styles.webview}
+ scrollEnabled={false}
+ onMessage={onMessage}
+ />
+
+ {!isCentered && (
+ <TouchableOpacity
+ style={[styles.centerBtn, { backgroundColor: colors.card, borderColor: colors.border }]}
+ onPress={handleCenterMe}
+ activeOpacity={0.7}
+ >
+ <SvgXml xml={centerIconXml} width="28" height="28" />
+ </TouchableOpacity>
+ )}
+ </View>
+
+ <FlatList
+ data={geofences}
+ keyExtractor={(item) => item.id!.toString()}
+ contentContainerStyle={styles.list}
+ showsVerticalScrollIndicator={false}
+ ListHeaderComponent={
+ <>
+ <View style={styles.section}>
+ <SectionTitle>Create Geofence</SectionTitle>
+ <Card>
+ <Text style={[styles.hint, { color: colors.textSecondary }]}>
+ Enter details, then tap Place and click the map
+ </Text>
+
+ <View style={styles.inputRow}>
+ <View style={[styles.inputGroup, { flex: 2 }]}>
+ <Text style={[styles.label, { color: colors.textSecondary }]}>Name</Text>
+ <TextInput
+ style={[styles.input, { backgroundColor: colors.background, color: colors.text, borderColor: colors.border }]}
+ placeholder="Home, Office..."
+ placeholderTextColor={colors.placeholder}
+ value={newName}
+ onChangeText={setNewName}
+ />
+ </View>
+
+ <View style={[styles.inputGroup, { flex: 0, minWidth: 90 }]}>
+ <Text style={[styles.label, { color: colors.textSecondary }]}>Radius (m)</Text>
+ <TextInput
+ style={[styles.input, { backgroundColor: colors.background, color: colors.text, borderColor: colors.border, textAlign: "center" }]}
+ placeholder="50"
+ placeholderTextColor={colors.placeholder}
+ value={newRadius}
+ keyboardType="numeric"
+ onChangeText={setNewRadius}
+ />
+ </View>
+ </View>
+
+ <TouchableOpacity
+ style={[styles.placeBtn, { backgroundColor: colors.primary }]}
+ onPress={startPlacingGeofence}
+ disabled={placingGeofence}
+ activeOpacity={0.7}
+ >
+ <Text style={styles.placeBtnText}>
+ {placingGeofence ? "Tap Map to Place..." : "Place Geofence"}
+ </Text>
+ </TouchableOpacity>
+ </Card>
+ </View>
+
+ {geofences.length > 0 && (
+ <View style={styles.section}>
+ <SectionTitle>Active Geofences ({geofences.length})</SectionTitle>
+ </View>
+ )}
+ </>
+ }
+ ListEmptyComponent={
+ geofences.length === 0 ? (
+ <View style={styles.empty}>
+ <Text style={[styles.emptyText, { color: colors.textSecondary }]}>
+ No geofences yet
+ </Text>
+ <Text style={[styles.emptyHint, { color: colors.textLight }]}>
+ Create a geofence to pause tracking in specific areas
+ </Text>
+ </View>
+ ) : null
+ }
+ renderItem={renderItem}
+ />
+ </Container>
+ );
+}
+
+const styles = StyleSheet.create({
+ map: { height: 300, overflow: "hidden" },
+ webview: { flex: 1 },
+ centerBtn: { position: "absolute", right: 12, bottom: 12, width: 44, height: 44, borderRadius: 22, alignItems: "center", justifyContent: "center", borderWidth: 1, shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.2, shadowRadius: 3, elevation: 3 },
+ loading: { flex: 1, justifyContent: "center", alignItems: "center" },
+ loadingText: { fontSize: 16, fontWeight: "600" },
+ list: { padding: 20, paddingBottom: 40 },
+ section: { marginBottom: 16 },
+ hint: { fontSize: 13, lineHeight: 18, marginBottom: 16 },
+ inputRow: { flexDirection: "row", gap: 12, marginBottom: 16 },
+ inputGroup: { flex: 1 },
+ label: { fontSize: 12, fontWeight: "600", marginBottom: 6, textTransform: "uppercase", letterSpacing: 0.5 },
+ input: { padding: 14, borderWidth: 1.5, borderRadius: 10, fontSize: 15 },
+ placeBtn: { padding: 16, borderRadius: 12, alignItems: "center" },
+ placeBtnText: { color: "#f8f7f7", fontSize: 15, fontWeight: "600" },
+ card: { marginBottom: 12, padding: 14 },
+ row: { flexDirection: "row", alignItems: "center", justifyContent: "space-between" },
+ info: { flex: 1, marginRight: 12 },
+ name: { fontSize: 15, fontWeight: "600", marginBottom: 2 },
+ radius: { fontSize: 12 },
+ actions: { flexDirection: "row", alignItems: "center", gap: 12 },
+ pauseSwitch: { flexDirection: "row", alignItems: "center", gap: 6 },
+ pauseLabel: { fontSize: 11, fontWeight: "600", textTransform: "uppercase", letterSpacing: 0.3 },
+ deleteBtn: { width: 32, height: 32, borderRadius: 16, alignItems: "center", justifyContent: "center" },
+ deleteText: { fontSize: 18, fontWeight: "600" },
+ empty: { alignItems: "center", paddingVertical: 40 },
+ emptyText: { fontSize: 15, fontWeight: "600", marginBottom: 6 },
+ emptyHint: { fontSize: 13, textAlign: "center", maxWidth: 260, lineHeight: 18 },
+});
\ No newline at end of file
diff --git a/src/screens/LocationInspectorScreen.tsx b/src/screens/LocationInspectorScreen.tsx
new file mode 100644
index 00000000..1d64c2a8
--- /dev/null
+++ b/src/screens/LocationInspectorScreen.tsx
@@ -0,0 +1,543 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useEffect, useRef, useCallback, memo } from "react";
+import {
+ View,
+ Text,
+ FlatList,
+ StyleSheet,
+ TouchableOpacity,
+ Switch,
+} from "react-native";
+import { Container, Card } from "../components";
+import { useTheme } from "../hooks/useTheme";
+import { ThemeColors } from "../types/global";
+import NativeLocationService from "../services/NativeLocationService";
+
+// Types
+interface LocationData {
+ id?: number;
+ location_id?: number;
+ timestamp?: number;
+ created_at?: number;
+ latitude: number;
+ longitude: number;
+ altitude?: number;
+ speed?: number;
+ accuracy?: number;
+ bearing?: number;
+ battery: number;
+ batteryStatus: number;
+ last_error?: string;
+}
+
+interface LocationItemProps {
+ item: LocationData;
+ colors: ThemeColors;
+ isQueue: boolean;
+}
+
+interface MetricProps {
+ label: string;
+ value: string;
+ colors: ThemeColors;
+}
+
+interface TabProps {
+ label: string;
+ active: boolean;
+ onPress: () => void;
+ colors: ThemeColors;
+}
+
+type TableType = "locations" | "queue";
+
+/**
+ * Memoized row component to prevent re-renders during scrolling
+ */
+const LocationItem = memo(({ item, colors, isQueue }: LocationItemProps) => {
+ const getBatteryStatus = (status: number): string => {
+ switch (status) {
+ case 2:
+ return "⚑ Charging";
+ case 3:
+ return "Discharging";
+ case 4:
+ return "Not Charging";
+ case 5:
+ return "Full";
+ default:
+ return "Unknown";
+ }
+ };
+
+ const timestamp = item.timestamp || item.created_at || Date.now();
+
+ return (
+ <Card style={styles.itemCard}>
+ <View style={styles.row}>
+ <Text style={[styles.id, { color: colors.primary }]}>
+ #{item.id || item.location_id}
+ </Text>
+ <Text style={[styles.time, { color: colors.textSecondary }]}>
+ {new Date(timestamp).toLocaleTimeString()}
+ </Text>
+ </View>
+
+ <Text style={[styles.coords, { color: colors.text }]}>
+ {item.latitude?.toFixed(6)}Β°, {item.longitude?.toFixed(6)}Β°
+ </Text>
+
+ <View style={[styles.metricsGrid, { borderTopColor: colors.border }]}>
+ <Metric
+ label="Altitude"
+ value={`${item.altitude?.toFixed(1) ?? 0}m`}
+ colors={colors}
+ />
+ <Metric
+ label="Speed"
+ value={`${item.speed?.toFixed(1) ?? 0}m/s`}
+ colors={colors}
+ />
+ <Metric
+ label="Accuracy"
+ value={`Β±${item.accuracy?.toFixed(1) ?? 0}m`}
+ colors={colors}
+ />
+ <Metric
+ label="Bearing"
+ value={`${item.bearing?.toFixed(0) ?? 0}Β°`}
+ colors={colors}
+ />
+ </View>
+
+ <View
+ style={[
+ styles.metricsGrid,
+ styles.batteryGrid,
+ { borderTopColor: colors.border },
+ ]}
+ >
+ <Metric label="Battery" value={`${item.battery}%`} colors={colors} />
+ <Metric
+ label="Status"
+ value={getBatteryStatus(item.batteryStatus)}
+ colors={colors}
+ />
+ <View style={styles.spacer} />
+ <View style={styles.spacer} />
+ </View>
+
+ {isQueue && item.last_error && (
+ <Text style={[styles.errorText, { color: colors.error }]}>
+ ⚠ {item.last_error}
+ </Text>
+ )}
+ </Card>
+ );
+});
+
+LocationItem.displayName = "LocationItem";
+
+export function LocationInspectorScreen() {
+ const { colors } = useTheme();
+ const [activeTable, setActiveTable] = useState<TableType>("locations");
+ const [data, setData] = useState<LocationData[]>([]);
+ const [limit, setLimit] = useState(50);
+ const [page, setPage] = useState(0);
+ const [autoRefresh, setAutoRefresh] = useState(false);
+ const refreshInterval = useRef<ReturnType<typeof setInterval> | null>(null);
+
+ /** Fetches data based on current pagination and table selection */
+ const fetchData = useCallback(async () => {
+ try {
+ const offset = page * limit;
+ const result = await NativeLocationService.getTableData(
+ activeTable,
+ limit,
+ offset
+ );
+ setData(result || []);
+ } catch (err) {
+ console.error("[LocationInspector] Fetch error:", err);
+ setData([]);
+ }
+ }, [activeTable, limit, page]);
+
+ /** Fetch data when dependencies change */
+ useEffect(() => {
+ fetchData();
+ }, [fetchData]);
+
+ /** Auto-refresh logic */
+ useEffect(() => {
+ if (autoRefresh) {
+ setPage(0); // Always show newest data in live mode
+ refreshInterval.current = setInterval(fetchData, 3000);
+ } else {
+ if (refreshInterval.current) {
+ clearInterval(refreshInterval.current);
+ }
+ }
+ return () => {
+ if (refreshInterval.current) {
+ clearInterval(refreshInterval.current);
+ }
+ };
+ }, [autoRefresh, fetchData]);
+
+ const handleTableChange = (table: TableType) => {
+ setActiveTable(table);
+ setPage(0);
+ };
+
+ const handleLimitChange = (newLimit: number) => {
+ setLimit(newLimit);
+ setPage(0);
+ };
+
+ return (
+ <Container>
+ {/* Header with Live Mode Toggle */}
+ <View style={styles.headerRow}>
+ <Text
+ style={[
+ styles.statusText,
+ { color: autoRefresh ? colors.primary : colors.textSecondary },
+ ]}
+ >
+ {autoRefresh ? "● Live Mode" : "Manual Mode"}
+ </Text>
+
+ <View style={styles.controls}>
+ <View style={styles.toggleContainer}>
+ <Text
+ style={[styles.controlLabel, { color: colors.textSecondary }]}
+ >
+ LIVE
+ </Text>
+ <Switch
+ value={autoRefresh}
+ onValueChange={setAutoRefresh}
+ thumbColor={autoRefresh ? colors.primary : "#f4f3f4"}
+ />
+ </View>
+
+ <TouchableOpacity
+ onPress={fetchData}
+ disabled={autoRefresh}
+ style={[
+ styles.refreshBtn,
+ {
+ backgroundColor: colors.card,
+ borderColor: colors.border,
+ opacity: autoRefresh ? 0.5 : 1,
+ },
+ ]}
+ >
+ <Text style={[styles.btnText, { color: colors.primary }]}>
+ Refresh
+ </Text>
+ </TouchableOpacity>
+ </View>
+ </View>
+
+ {/* Limit Selection and Pagination */}
+ <View style={styles.limitBar}>
+ <View style={styles.limitOptions}>
+ {[10, 50, 100].map((v) => (
+ <TouchableOpacity
+ key={v}
+ onPress={() => handleLimitChange(v)}
+ style={[
+ styles.limitBtn,
+ {
+ backgroundColor: limit === v ? colors.primary : colors.card,
+ borderColor: colors.border,
+ },
+ ]}
+ >
+ <Text
+ style={[
+ styles.limitBtnText,
+ { color: limit === v ? "#FFFFFF" : colors.text },
+ ]}
+ >
+ {v}
+ </Text>
+ </TouchableOpacity>
+ ))}
+ </View>
+
+ {!autoRefresh && (
+ <View style={styles.paginationRow}>
+ <TouchableOpacity
+ onPress={() => setPage((p) => Math.max(0, p - 1))}
+ disabled={page === 0}
+ style={styles.pageBtn}
+ >
+ <Text
+ style={[
+ styles.pageBtnText,
+ {
+ color: page === 0 ? colors.textDisabled : colors.primary,
+ },
+ ]}
+ >
+ β—€
+ </Text>
+ </TouchableOpacity>
+ <Text style={[styles.pageIndicator, { color: colors.text }]}>
+ {page + 1}
+ </Text>
+ <TouchableOpacity
+ onPress={() => setPage((p) => p + 1)}
+ disabled={data.length < limit}
+ style={styles.pageBtn}
+ >
+ <Text
+ style={[
+ styles.pageBtnText,
+ {
+ color:
+ data.length < limit
+ ? colors.textDisabled
+ : colors.primary,
+ },
+ ]}
+ >
+ β–Ά
+ </Text>
+ </TouchableOpacity>
+ </View>
+ )}
+ </View>
+
+ {/* Tab Bar */}
+ <View style={styles.tabBar}>
+ <Tab
+ label="History"
+ active={activeTable === "locations"}
+ onPress={() => handleTableChange("locations")}
+ colors={colors}
+ />
+ <Tab
+ label="Queue"
+ active={activeTable === "queue"}
+ onPress={() => handleTableChange("queue")}
+ colors={colors}
+ />
+ </View>
+
+ {/* Location List */}
+ <FlatList
+ data={data}
+ contentContainerStyle={styles.listContent}
+ keyExtractor={(item, index) => `${activeTable}-${item.id || index}`}
+ ListEmptyComponent={
+ <Text style={[styles.emptyText, { color: colors.textLight }]}>
+ No data available
+ </Text>
+ }
+ renderItem={({ item }) => (
+ <LocationItem
+ item={item}
+ colors={colors}
+ isQueue={activeTable === "queue"}
+ />
+ )}
+ initialNumToRender={10}
+ maxToRenderPerBatch={10}
+ windowSize={5}
+ />
+ </Container>
+ );
+}
+
+// Subcomponents
+const Metric = ({ label, value, colors }: MetricProps) => (
+ <View style={styles.metricItem}>
+ <Text style={[styles.metricLabel, { color: colors.textSecondary }]}>
+ {label}
+ </Text>
+ <Text style={[styles.metricValue, { color: colors.text }]}>{value}</Text>
+ </View>
+);
+
+const Tab = ({ label, active, onPress, colors }: TabProps) => (
+ <TouchableOpacity
+ onPress={onPress}
+ style={[
+ styles.tab,
+ { borderBottomColor: active ? colors.primary : "transparent" },
+ ]}
+ >
+ <Text
+ style={[
+ styles.tabText,
+ {
+ color: active ? colors.primary : colors.textSecondary,
+ fontWeight: active ? "700" : "400",
+ },
+ ]}
+ >
+ {label}
+ </Text>
+ </TouchableOpacity>
+);
+
+const styles = StyleSheet.create({
+ headerRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingHorizontal: 12,
+ paddingTop: 12,
+ },
+ statusText: {
+ fontSize: 11,
+ fontWeight: "600",
+ },
+ controls: {
+ flexDirection: "row",
+ alignItems: "center",
+ },
+ toggleContainer: {
+ flexDirection: "row",
+ alignItems: "center",
+ marginRight: 12,
+ },
+ controlLabel: {
+ fontSize: 10,
+ fontWeight: "700",
+ marginRight: 6,
+ },
+ refreshBtn: {
+ paddingVertical: 6,
+ paddingHorizontal: 12,
+ borderRadius: 6,
+ borderWidth: 1,
+ },
+ btnText: {
+ fontSize: 12,
+ fontWeight: "bold",
+ },
+ limitBar: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingHorizontal: 12,
+ marginTop: 12,
+ marginBottom: 12,
+ },
+ limitOptions: {
+ flexDirection: "row",
+ },
+ limitBtn: {
+ paddingVertical: 6,
+ paddingHorizontal: 12,
+ borderRadius: 6,
+ marginRight: 6,
+ borderWidth: 1,
+ },
+ limitBtnText: {
+ fontSize: 12,
+ fontWeight: "600",
+ },
+ paginationRow: {
+ flexDirection: "row",
+ alignItems: "center",
+ },
+ pageBtn: {
+ padding: 8,
+ },
+ pageBtnText: {
+ fontWeight: "bold",
+ fontSize: 16,
+ },
+ pageIndicator: {
+ fontSize: 14,
+ fontWeight: "bold",
+ marginHorizontal: 8,
+ },
+ tabBar: {
+ flexDirection: "row",
+ marginBottom: 12,
+ },
+ tab: {
+ flex: 1,
+ alignItems: "center",
+ padding: 12,
+ borderBottomWidth: 2,
+ },
+ tabText: {
+ fontSize: 14,
+ },
+ listContent: {
+ paddingHorizontal: 12,
+ paddingBottom: 20,
+ },
+ itemCard: {
+ marginBottom: 10,
+ padding: 12,
+ },
+ row: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ marginBottom: 6,
+ },
+ id: {
+ fontWeight: "bold",
+ fontSize: 12,
+ },
+ time: {
+ fontSize: 11,
+ },
+ coords: {
+ fontFamily: "monospace",
+ fontSize: 15,
+ fontWeight: "600",
+ marginBottom: 8,
+ },
+ metricsGrid: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ borderTopWidth: StyleSheet.hairlineWidth,
+ paddingTop: 8,
+ marginTop: 4,
+ },
+ batteryGrid: {
+ paddingTop: 6,
+ marginTop: 2,
+ },
+ metricItem: {
+ flex: 1,
+ alignItems: "flex-start",
+ },
+ metricLabel: {
+ fontSize: 9,
+ fontWeight: "bold",
+ textTransform: "uppercase",
+ },
+ metricValue: {
+ fontSize: 12,
+ marginTop: 2,
+ },
+ spacer: {
+ flex: 1,
+ },
+ emptyText: {
+ textAlign: "center",
+ marginTop: 40,
+ fontSize: 14,
+ fontStyle: "italic",
+ },
+ errorText: {
+ fontSize: 11,
+ marginTop: 8,
+ fontStyle: "italic",
+ },
+});
diff --git a/src/screens/SettingsScreen.tsx b/src/screens/SettingsScreen.tsx
new file mode 100644
index 00000000..462f74d8
--- /dev/null
+++ b/src/screens/SettingsScreen.tsx
@@ -0,0 +1,1083 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import React, { useState, useCallback, useEffect, useRef } from "react";
+import {
+ Text,
+ StyleSheet,
+ TextInput,
+ Switch,
+ View,
+ ScrollView,
+ TouchableOpacity,
+ Animated,
+} from "react-native";
+import {
+ ScreenProps,
+ TRACKING_PRESETS,
+ SyncPreset,
+ SelectablePreset,
+ Settings,
+} from "../types/global";
+import { useTheme } from "../hooks/useTheme";
+import NativeLocationService from "../services/NativeLocationService";
+import { useTracking } from "../contexts/TrackingProvider";
+import { FloatingSaveIndicator } from "../components/ui/FloatingSaveIndicator";
+import {
+ Button,
+ Section,
+ SectionTitle,
+ Card,
+ Container,
+ Divider,
+ Footer,
+} from "../components";
+import { StatsCard, PresetOption, NumericInput } from "../components";
+
+const AUTOSAVE_DEBOUNCE_MS = 1500;
+
+/**
+ * Settings screen for configuring location tracking.
+ * Features auto-save, presets, and advanced customization.
+ */
+export function SettingsScreen({ navigation }: ScreenProps) {
+ const { settings, setSettings, restartTracking } = useTracking();
+ const { mode, toggleTheme, colors } = useTheme();
+
+ // Stats
+ const [queueCount, setQueueCount] = useState(0);
+ const [sentCount, setSentCount] = useState(0);
+
+ // Inputs
+ const [intervalInput, setIntervalInput] = useState(
+ settings.interval.toString()
+ );
+ const [endpointInput, setEndpointInput] = useState(settings.endpoint || "");
+ const [distanceInput, setDistanceInput] = useState(
+ settings.distance?.toString() || "0"
+ );
+ const [accuracyTresholdInput, setAccuracyTresholdInput] = useState(
+ settings.accuracyThreshold.toString()
+ );
+
+ // UI State
+ const [testing, setTesting] = useState(false);
+ const [testResponse, setTestResponse] = useState<string | null>(null);
+ const [testError, setTestError] = useState(false);
+ const [saving, setSaving] = useState(false);
+ const [saveSuccess, setSaveSuccess] = useState(false);
+ const [showAdvanced, setShowAdvanced] = useState(false);
+
+ const saveTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const advancedHeight = useRef(new Animated.Value(0)).current;
+
+ // Sync inputs with settings changes
+ useEffect(() => {
+ setIntervalInput(settings.interval.toString());
+ setDistanceInput(settings.distance?.toString() || "0");
+ setEndpointInput(settings.endpoint || "");
+ }, [settings.interval, settings.distance, settings.endpoint, settings.accuracyThreshold]);
+
+ // Animate advanced panel
+ useEffect(() => {
+ Animated.spring(advancedHeight, {
+ toValue: showAdvanced ? 1 : 0,
+ useNativeDriver: false,
+ tension: 50,
+ friction: 10,
+ }).start();
+ }, [showAdvanced]);
+
+ /** Update stats */
+ const updateStats = useCallback(async () => {
+ try {
+ const stats = await NativeLocationService.getStats();
+ setQueueCount(stats.queued);
+ setSentCount(stats.sent);
+ } catch (err) {
+ console.error("[SettingsScreen] Failed to get stats:", err);
+ }
+ }, []);
+
+ /** Save settings and restart tracking */
+ const saveSettings = useCallback(
+ async (newSettings: Settings) => {
+ setSaving(true);
+ try {
+ await setSettings(newSettings);
+ await restartTracking(newSettings);
+ setSaveSuccess(true);
+ setTimeout(() => setSaveSuccess(false), 2000);
+ } catch (err) {
+ console.error("[SettingsScreen] Save failed", err);
+ } finally {
+ setSaving(false);
+ }
+ },
+ [setSettings, restartTracking]
+ );
+
+ const debouncedSave = useCallback(
+ (newSettings: Settings) => {
+ if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);
+ saveTimeoutRef.current = setTimeout(
+ () => saveSettings(newSettings),
+ AUTOSAVE_DEBOUNCE_MS
+ );
+ },
+ [saveSettings]
+ );
+
+ const immediateSave = useCallback(
+ (newSettings: Settings) => {
+ if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);
+ saveSettings(newSettings);
+ },
+ [saveSettings]
+ );
+
+ // Poll stats every 5 seconds
+ useEffect(() => {
+ updateStats();
+ const interval = setInterval(updateStats, 5000);
+ return () => clearInterval(interval);
+ }, [updateStats]);
+
+ // Cleanup
+ useEffect(() => {
+ return () => {
+ if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);
+ };
+ }, []);
+
+ /** Generic numeric input handler */
+ const handleNumericChange = useCallback(
+ (key: "interval" | "distance" | "accuracyTreshold", value: string, min: number = 0) => {
+ if (key === "interval") setIntervalInput(value);
+ if (key === "distance") setDistanceInput(value);
+ if (key === "accuracyTreshold") setAccuracyTresholdInput(value);
+
+ const num = Number(value);
+ if (!isNaN(num) && num >= min) {
+ const next = { ...settings, [key]: num, syncPreset: "custom" as const };
+ setSettings(next);
+ debouncedSave(next);
+ }
+ },
+ [settings, setSettings, debouncedSave]
+ );
+
+ /** Ensure valid numbers on blur */
+ const handleNumericBlur = useCallback(
+ (key: "interval" | "distance" | "accuracyTreshold", min: number = 0) => {
+ const currentStr = key === "interval" ? intervalInput : distanceInput;
+ let val = Number(currentStr);
+
+ if (isNaN(val) || val < min) {
+ val = min;
+ if (key === "interval") setIntervalInput(min.toString());
+ if (key === "distance") setDistanceInput(min.toString());
+ if (key === "accuracyTreshold") setAccuracyTresholdInput(min.toString());
+
+ const next = { ...settings, [key]: val };
+ setSettings(next);
+ immediateSave(next);
+ }
+ },
+ [intervalInput, distanceInput, accuracyTresholdInput, settings, setSettings, immediateSave]
+ );
+
+ const handlePresetSelect = useCallback(
+ async (preset: SyncPreset) => {
+ if (preset === "custom") {
+ const next = { ...settings, syncPreset: "custom" as const };
+ setSettings(next);
+ immediateSave(next);
+ return;
+ }
+
+ const config = TRACKING_PRESETS[preset];
+ const next: Settings = {
+ ...settings,
+ syncPreset: preset,
+ interval: config.interval,
+ distance: config.distance,
+ syncInterval: config.syncInterval,
+ retryInterval: config.retryInterval,
+ };
+
+ immediateSave(next);
+ },
+ [settings, setSettings, immediateSave]
+ );
+
+ const handleTestEndpoint = useCallback(async () => {
+ if (!endpointInput) return;
+ setTesting(true);
+ setTestResponse(null);
+ setTestError(false);
+
+ try {
+ const fieldMap = settings.fieldMap;
+ const payload: Record<string, number | boolean> = {
+ [fieldMap.lat]: 1,
+ [fieldMap.lon]: 1,
+ [fieldMap.acc]: 1,
+ };
+
+ if (fieldMap.alt) payload[fieldMap.alt] = 0;
+ if (fieldMap.vel) payload[fieldMap.vel] = 0;
+ if (fieldMap.batt) payload[fieldMap.batt] = 0;
+ if (fieldMap.bs) payload[fieldMap.bs] = 0;
+ if (fieldMap.tst)
+ (payload[fieldMap.tst] = Math.floor(Date.now() / 1000)),
+ console.log(payload);
+ const response = await fetch(endpointInput, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(payload),
+ });
+
+ if (response.ok) {
+ setTestResponse("βœ“ Connection successful");
+ const next = { ...settings, endpoint: endpointInput };
+ immediateSave(next);
+ } else {
+ setTestResponse(`Failed: ${response.status}`);
+ setTestError(true);
+ }
+ } catch (err: any) {
+ setTestResponse(err.message || "Connection failed");
+ setTestError(true);
+ } finally {
+ setTesting(false);
+ setTimeout(() => setTestResponse(null), 3000);
+ }
+ }, [endpointInput, settings, immediateSave]);
+
+ const handleOfflineModeChange = useCallback(
+ (enabled: boolean) => {
+ const next = { ...settings, isOfflineMode: enabled };
+ immediateSave(next);
+ },
+ [settings, immediateSave]
+ );
+
+ return (
+ <Container>
+ <ScrollView
+ contentContainerStyle={styles.scrollContent}
+ keyboardShouldPersistTaps="handled"
+ showsVerticalScrollIndicator={false}
+ >
+ {/* Header - More compact */}
+ <View style={styles.header}>
+ <Text style={[styles.title, { color: colors.text }]}>Settings</Text>
+ </View>
+
+ {/* Stats Card - Enhanced with better spacing */}
+ <StatsCard
+ queueCount={queueCount}
+ sentCount={sentCount}
+ interval={intervalInput}
+ isOfflineMode={settings.isOfflineMode}
+ onManageClick={() => navigation.navigate("Data Management")}
+ colors={colors}
+ />
+
+ {/* Connection - Improved hierarchy */}
+ <Section>
+ <SectionTitle>Connection</SectionTitle>
+ <Card>
+ {/* Offline Mode - Better visual hierarchy */}
+ <View style={styles.settingRow}>
+ <View style={styles.settingContent}>
+ <Text style={[styles.settingLabel, { color: colors.text }]}>
+ Offline Mode
+ </Text>
+ <Text
+ style={[styles.settingHint, { color: colors.textSecondary }]}
+ >
+ Save locally, no network sync
+ </Text>
+ </View>
+ <Switch
+ value={settings.isOfflineMode}
+ onValueChange={handleOfflineModeChange}
+ trackColor={{
+ false: colors.border,
+ true: colors.primary + "80",
+ }}
+ thumbColor={settings.isOfflineMode ? colors.primary : "#f4f3f4"}
+ />
+ </View>
+
+ {!settings.isOfflineMode && (
+ <>
+ <Divider />
+
+ {/* Endpoint - Improved spacing and visual design */}
+ <View style={styles.inputGroup}>
+ <View style={styles.inputHeader}>
+ <Text style={[styles.inputLabel, { color: colors.text }]}>
+ Server Endpoint
+ </Text>
+ {endpointInput && (
+ <View
+ style={[
+ styles.protocolBadge,
+ {
+ backgroundColor: endpointInput.startsWith(
+ "https://"
+ )
+ ? colors.success + "20"
+ : colors.warning + "20",
+ },
+ ]}
+ >
+ <Text
+ style={[
+ styles.protocolText,
+ {
+ color: endpointInput.startsWith("https://")
+ ? colors.success
+ : colors.warning,
+ },
+ ]}
+ >
+ {endpointInput.startsWith("https://")
+ ? "HTTPS"
+ : "⚠️ HTTP"}
+ </Text>
+ </View>
+ )}
+ </View>
+ <TextInput
+ style={[
+ styles.input,
+ {
+ borderColor: colors.border,
+ color: colors.text,
+ backgroundColor: colors.background,
+ },
+ ]}
+ value={endpointInput}
+ onChangeText={setEndpointInput}
+ placeholder="https://your-server.com/api/locations"
+ placeholderTextColor={colors.placeholder}
+ autoCapitalize="none"
+ autoCorrect={false}
+ keyboardType="url"
+ />
+ </View>
+
+ {/* Test button with improved styling */}
+ <Button
+ style={[
+ styles.testButton,
+ { backgroundColor: colors.primary },
+ !endpointInput && styles.disabledButton,
+ ]}
+ onPress={handleTestEndpoint}
+ disabled={!endpointInput || testing}
+ title={testing ? "Testing..." : "Test Connection"}
+ color="#f8f7f7"
+ />
+
+ {/* Test response with animation would be nice */}
+ {testResponse && (
+ <View
+ style={[
+ styles.responseBox,
+ {
+ borderColor: testError ? colors.error : colors.success,
+ backgroundColor:
+ (testError ? colors.error : colors.success) + "15",
+ },
+ ]}
+ >
+ <Text
+ style={[
+ styles.responseText,
+ { color: testError ? colors.error : colors.success },
+ ]}
+ >
+ {testResponse}
+ </Text>
+ </View>
+ )}
+ </>
+ )}
+ </Card>
+ </Section>
+
+ {/* Sync Strategy - Better visual grouping */}
+ <Section>
+ <SectionTitle>Sync Strategy</SectionTitle>
+ <Card>
+ {/* Presets with improved spacing */}
+ <View style={styles.presetsContainer}>
+ {(Object.keys(TRACKING_PRESETS) as SelectablePreset[]).map(
+ (preset, index) => (
+ <View key={preset}>
+ <PresetOption
+ preset={preset}
+ isSelected={settings.syncPreset === preset}
+ onSelect={handlePresetSelect}
+ colors={colors}
+ />
+ {index < Object.keys(TRACKING_PRESETS).length - 1 && (
+ <View style={{ height: 8 }} />
+ )}
+ </View>
+ )
+ )}
+ </View>
+
+ {/* Advanced Toggle - Better button design */}
+ <TouchableOpacity
+ style={[
+ styles.advancedToggle,
+ {
+ backgroundColor: showAdvanced
+ ? colors.primary + "10"
+ : "transparent",
+ borderColor: showAdvanced ? colors.primary : colors.border,
+ },
+ ]}
+ onPress={() => setShowAdvanced(!showAdvanced)}
+ activeOpacity={0.7}
+ >
+ <Text style={[styles.advancedText, { color: colors.primary }]}>
+ {showAdvanced ? "βˆ’ Hide" : "+ Show"} Advanced Settings
+ </Text>
+ </TouchableOpacity>
+
+ {/* Advanced Panel - Collapsible with better organization */}
+ {showAdvanced && (
+ <View style={styles.advancedPanel}>
+ <Divider />
+
+ {settings.syncPreset === "custom" && (
+ <View
+ style={[
+ styles.customBanner,
+ {
+ backgroundColor: colors.info + "15",
+ borderLeftColor: colors.info,
+ },
+ ]}
+ >
+ <Text
+ style={[styles.customBannerText, { color: colors.info }]}
+ >
+ πŸ’‘ Using custom configuration
+ </Text>
+ </View>
+ )}
+
+ {/* Tracking Parameters Group */}
+ <View style={styles.paramGroup}>
+ <Text
+ style={[styles.paramGroupTitle, { color: colors.text }]}
+ >
+ Tracking Parameters
+ </Text>
+
+ <NumericInput
+ label="Tracking Interval"
+ value={intervalInput}
+ onChange={(val) => handleNumericChange("interval", val, 1)}
+ onBlur={() => handleNumericBlur("interval", 1)}
+ unit="seconds"
+ placeholder="1"
+ hint="How often to capture GPS position"
+ colors={colors}
+ />
+
+ <NumericInput
+ label="Movement Threshold"
+ value={distanceInput}
+ onChange={(val) => handleNumericChange("distance", val, 0)}
+ onBlur={() => handleNumericBlur("distance", 0)}
+ unit="meters"
+ placeholder="10"
+ hint="Only record if moved more than this distance"
+ colors={colors}
+ />
+ </View>
+
+ <Divider />
+
+ {/* Network Parameters Group */}
+ <View style={styles.paramGroup}>
+ <Text
+ style={[styles.paramGroupTitle, { color: colors.text }]}
+ >
+ Network Settings
+ </Text>
+
+ {/* Sync Interval */}
+ <View style={styles.settingBlock}>
+ <Text style={[styles.blockLabel, { color: colors.text }]}>
+ Sync Interval
+ </Text>
+ <Text
+ style={[
+ styles.blockHint,
+ { color: colors.textSecondary },
+ ]}
+ >
+ How often to upload data to server
+ </Text>
+
+ <View style={styles.optionsGrid}>
+ {([0, 60, 300, 900] as const).map((sec) => {
+ const labels: Record<number, string> = {
+ 0: "Instant",
+ 60: "1 min",
+ 300: "5 min",
+ 900: "15 min",
+ };
+ const isSelected = settings.syncInterval === sec;
+
+ return (
+ <TouchableOpacity
+ key={sec}
+ style={[
+ styles.gridOption,
+ {
+ borderColor: colors.border,
+ backgroundColor: colors.background,
+ },
+ isSelected && {
+ borderColor: colors.primary,
+ backgroundColor: colors.primary + "20",
+ },
+ ]}
+ onPress={() => {
+ const next = {
+ ...settings,
+ syncInterval: sec,
+ syncPreset: "custom" as const,
+ };
+ setSettings(next);
+ debouncedSave(next);
+ }}
+ activeOpacity={0.7}
+ >
+ <Text
+ style={[
+ styles.gridLabel,
+ {
+ color: isSelected
+ ? colors.primary
+ : colors.text,
+ },
+ ]}
+ >
+ {labels[sec]}
+ </Text>
+ </TouchableOpacity>
+ );
+ })}
+ </View>
+ </View>
+
+ {/* Retry Interval */}
+ <View style={styles.settingBlock}>
+ <Text style={[styles.blockLabel, { color: colors.text }]}>
+ Retry Interval
+ </Text>
+ <Text
+ style={[
+ styles.blockHint,
+ { color: colors.textSecondary },
+ ]}
+ >
+ Wait time before retrying failed uploads
+ </Text>
+
+ <View style={styles.optionsGrid}>
+ {([30, 300, 900] as const).map((sec) => {
+ const labels: Record<number, string> = {
+ 30: "30s",
+ 300: "5m",
+ 900: "15m",
+ };
+ const isSelected = settings.retryInterval === sec;
+
+ return (
+ <TouchableOpacity
+ key={sec}
+ style={[
+ styles.gridOption,
+ {
+ borderColor: colors.border,
+ backgroundColor: colors.background,
+ },
+ isSelected && {
+ borderColor: colors.primary,
+ backgroundColor: colors.primary + "20",
+ },
+ ]}
+ onPress={() => {
+ const next = {
+ ...settings,
+ retryInterval: sec,
+ syncPreset: "custom" as const,
+ };
+ setSettings(next);
+ debouncedSave(next);
+ }}
+ activeOpacity={0.7}
+ >
+ <Text
+ style={[
+ styles.gridLabel,
+ {
+ color: isSelected
+ ? colors.primary
+ : colors.text,
+ },
+ ]}
+ >
+ {labels[sec]}
+ </Text>
+ </TouchableOpacity>
+ );
+ })}
+ </View>
+ </View>
+
+ {/* Max Retries */}
+ <View style={styles.settingBlock}>
+ <Text style={[styles.blockLabel, { color: colors.text }]}>
+ Max Retry Attempts
+ </Text>
+ <View style={styles.retryGrid}>
+ {[3, 5, 10, 0].map((val) => (
+ <TouchableOpacity
+ key={val}
+ style={[
+ styles.retryChip,
+ {
+ borderColor: colors.border,
+ backgroundColor: colors.background,
+ },
+ settings.maxRetries === val && {
+ borderColor: colors.primary,
+ backgroundColor: colors.primary + "20",
+ },
+ ]}
+ onPress={() => {
+ const next = {
+ ...settings,
+ maxRetries: val,
+ syncPreset: "custom" as const,
+ };
+ setSettings(next);
+ debouncedSave(next);
+ }}
+ activeOpacity={0.7}
+ >
+ <Text
+ style={[
+ styles.retryChipText,
+ {
+ color:
+ settings.maxRetries === val
+ ? colors.primary
+ : colors.text,
+ },
+ ]}
+ >
+ {val === 0 ? "∞" : val}
+ </Text>
+ </TouchableOpacity>
+ ))}
+ </View>
+ <Text
+ style={[
+ styles.blockHint,
+ { color: colors.textSecondary, marginTop: 8 },
+ ]}
+ >
+ {settings.maxRetries === 0
+ ? "⚠️ Unlimited retries may cause queue buildup"
+ : `Give up after ${settings.maxRetries} failed attempts`}
+ </Text>
+ </View>
+ </View>
+
+ <Divider />
+
+ {/* Quality Parameters Group */}
+ <View style={styles.paramGroup}>
+ <Text
+ style={[styles.paramGroupTitle, { color: colors.text }]}
+ >
+ Quality Filters
+ </Text>
+
+ {/* Accuracy Filter */}
+ <View style={styles.settingRow}>
+ <View style={styles.settingContent}>
+ <Text
+ style={[styles.settingLabel, { color: colors.text }]}
+ >
+ Filter Inaccurate Locations
+ </Text>
+ <Text
+ style={[
+ styles.settingHint,
+ { color: colors.textSecondary },
+ ]}
+ >
+ Reject low-accuracy GPS readings
+ </Text>
+ </View>
+ <Switch
+ value={settings.filterInaccurateLocations}
+ onValueChange={(value) =>
+ immediateSave({
+ ...settings,
+ filterInaccurateLocations: value,
+ })
+ }
+ trackColor={{
+ false: colors.border,
+ true: colors.primary + "80",
+ }}
+ thumbColor={
+ settings.filterInaccurateLocations
+ ? colors.primary
+ : "#f4f3f4"
+ }
+ />
+ </View>
+
+ {settings.filterInaccurateLocations && (
+ <View style={styles.nestedSetting}>
+ <NumericInput
+ label="Accuracy Threshold"
+ value={accuracyTresholdInput}
+ onChange={(val) => handleNumericChange("accuracyTreshold", val, 50)}
+ onBlur={() => handleNumericBlur("accuracyTreshold", 50)}
+ unit="meters"
+ placeholder="50"
+ hint="Reject readings with accuracy worse than this"
+ colors={colors}
+ />
+ </View>
+ )}
+ </View>
+ </View>
+ )}
+ </Card>
+ </Section>
+
+ {/* Appearance - Simplified */}
+ <Section>
+ <SectionTitle>Appearance</SectionTitle>
+ <Card>
+ <View style={styles.settingRow}>
+ <View style={styles.settingContent}>
+ <Text style={[styles.settingLabel, { color: colors.text }]}>
+ Dark Mode
+ </Text>
+ </View>
+ <Switch
+ value={mode === "dark"}
+ onValueChange={toggleTheme}
+ trackColor={{
+ false: colors.border,
+ true: colors.primary + "80",
+ }}
+ thumbColor={mode === "dark" ? colors.primary : "#f4f3f4"}
+ />
+ </View>
+ </Card>
+ </Section>
+
+ {/* Advanced - Better visual separation */}
+ <Section>
+ <SectionTitle>Advanced</SectionTitle>
+ <Card>
+ <TouchableOpacity
+ style={styles.linkRow}
+ onPress={() => navigation.navigate("Data Management")}
+ activeOpacity={0.6}
+ >
+ <View style={styles.linkContent}>
+ <Text style={[styles.linkLabel, { color: colors.text }]}>
+ Data Management
+ </Text>
+ <Text style={[styles.linkSub, { color: colors.textSecondary }]}>
+ View queu and clear data
+ </Text>
+ </View>
+ <Text style={[styles.linkArrow, { color: colors.textLight }]}>
+ β€Ί
+ </Text>
+ </TouchableOpacity>
+
+ <Divider />
+
+ <TouchableOpacity
+ style={styles.linkRow}
+ onPress={() => navigation.navigate("API Config")}
+ activeOpacity={0.6}
+ >
+ <View style={styles.linkContent}>
+ <Text style={[styles.linkLabel, { color: colors.text }]}>
+ API Field Mapping
+ </Text>
+ <Text style={[styles.linkSub, { color: colors.textSecondary }]}>
+ Customize JSON payload structure
+ </Text>
+ </View>
+ <Text style={[styles.linkArrow, { color: colors.textLight }]}>
+ β€Ί
+ </Text>
+ </TouchableOpacity>
+ </Card>
+ </Section>
+
+ {/* Footer */}
+ <Footer />
+ </ScrollView>
+
+ <FloatingSaveIndicator
+ saving={saving}
+ success={saveSuccess}
+ colors={colors}
+ />
+ </Container>
+ );
+}
+
+const styles = StyleSheet.create({
+ scrollContent: {
+ paddingHorizontal: 20,
+ paddingTop: 16,
+ paddingBottom: 40,
+ },
+
+ // Header
+ header: {
+ marginBottom: 20,
+ },
+ title: {
+ fontSize: 28,
+ fontWeight: "700",
+ letterSpacing: -0.5,
+ },
+
+ // Setting Rows
+ settingRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 4,
+ },
+ settingContent: {
+ flex: 1,
+ marginRight: 16,
+ },
+ settingLabel: {
+ fontSize: 16,
+ fontWeight: "600",
+ marginBottom: 2,
+ },
+ settingHint: {
+ fontSize: 13,
+ lineHeight: 18,
+ },
+
+ // Inputs
+ inputGroup: {
+ marginBottom: 12,
+ },
+ inputHeader: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ marginBottom: 10,
+ },
+ inputLabel: {
+ fontSize: 15,
+ fontWeight: "600",
+ },
+ protocolBadge: {
+ paddingHorizontal: 10,
+ paddingVertical: 4,
+ borderRadius: 12,
+ },
+ protocolText: {
+ fontSize: 11,
+ fontWeight: "700",
+ },
+ input: {
+ borderWidth: 1.5,
+ padding: 16,
+ borderRadius: 12,
+ fontSize: 15,
+ },
+
+ // Buttons
+ testButton: {
+ padding: 16,
+ borderRadius: 12,
+ alignItems: "center",
+ marginTop: 12,
+ },
+ disabledButton: {
+ opacity: 0.5,
+ },
+
+ // Response
+ responseBox: {
+ marginTop: 12,
+ padding: 14,
+ borderWidth: 1.5,
+ borderRadius: 12,
+ alignItems: "center",
+ },
+ responseText: {
+ fontSize: 14,
+ fontWeight: "600",
+ },
+
+ // Presets
+ presetsContainer: {
+ marginBottom: 16,
+ },
+
+ // Advanced Toggle
+ advancedToggle: {
+ paddingVertical: 14,
+ paddingHorizontal: 16,
+ alignItems: "center",
+ borderRadius: 12,
+ borderWidth: 1.5,
+ marginTop: 8,
+ },
+ advancedText: {
+ fontSize: 15,
+ fontWeight: "600",
+ },
+
+ // Advanced Panel
+ advancedPanel: {
+ marginTop: 16,
+ },
+ customBanner: {
+ padding: 14,
+ borderRadius: 10,
+ marginBottom: 20,
+ borderLeftWidth: 4,
+ },
+ customBannerText: {
+ fontSize: 13,
+ fontWeight: "500",
+ },
+
+ // Parameter Groups
+ paramGroup: {
+ marginBottom: 4,
+ },
+ paramGroupTitle: {
+ fontSize: 13,
+ fontWeight: "700",
+ textTransform: "uppercase",
+ letterSpacing: 1,
+ marginBottom: 16,
+ opacity: 0.6,
+ },
+
+ // Setting Blocks
+ settingBlock: {
+ marginBottom: 20,
+ },
+ blockLabel: {
+ fontSize: 15,
+ fontWeight: "600",
+ marginBottom: 4,
+ },
+ blockHint: {
+ fontSize: 13,
+ marginBottom: 12,
+ lineHeight: 18,
+ },
+
+ // Grid Options
+ optionsGrid: {
+ flexDirection: "row",
+ gap: 8,
+ flexWrap: "wrap",
+ },
+ gridOption: {
+ flex: 1,
+ minWidth: "22%",
+ borderWidth: 2,
+ borderRadius: 10,
+ paddingVertical: 14,
+ alignItems: "center",
+ },
+ gridLabel: {
+ fontSize: 14,
+ fontWeight: "600",
+ },
+
+ // Retry Grid
+ retryGrid: {
+ flexDirection: "row",
+ gap: 10,
+ },
+ retryChip: {
+ flex: 1,
+ borderWidth: 2,
+ borderRadius: 10,
+ paddingVertical: 12,
+ alignItems: "center",
+ },
+ retryChipText: {
+ fontSize: 16,
+ fontWeight: "700",
+ },
+
+ // Nested Settings
+ nestedSetting: {
+ marginTop: 12,
+ paddingLeft: 16,
+ borderLeftWidth: 3,
+ borderLeftColor: "rgba(0,0,0,0.1)",
+ },
+
+ // Links
+ linkRow: {
+ flexDirection: "row",
+ justifyContent: "space-between",
+ alignItems: "center",
+ paddingVertical: 12,
+ },
+ linkContent: {
+ flex: 1,
+ },
+ linkLabel: {
+ fontSize: 16,
+ fontWeight: "600",
+ marginBottom: 2,
+ },
+ linkSub: {
+ fontSize: 13,
+ },
+ linkArrow: {
+ fontSize: 28,
+ fontWeight: "300",
+ marginLeft: 12,
+ },
+});
diff --git a/src/screens/index.ts b/src/screens/index.ts
new file mode 100644
index 00000000..888bf5f2
--- /dev/null
+++ b/src/screens/index.ts
@@ -0,0 +1,13 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+export { ApiSettingsScreen } from "./ApiSettingsScreen";
+export { DashboardScreen } from "./DashboardScreen";
+export { DataManagementScreen } from "./DataManagementScreen";
+export { ExportDataScreen } from "./ExportDataScreen";
+export { GeofenceScreen } from "./GeofenceScreen";
+export { LocationInspectorScreen } from "./LocationInspectorScreen";
+export { SettingsScreen } from "./SettingsScreen";
+export { AboutScreen } from "./AboutScreen";
diff --git a/src/services/LocationServicePermission.ts b/src/services/LocationServicePermission.ts
new file mode 100644
index 00000000..a7775725
--- /dev/null
+++ b/src/services/LocationServicePermission.ts
@@ -0,0 +1,303 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { Platform, PermissionsAndroid, Alert } from "react-native";
+import NativeLocationService from "./NativeLocationService";
+
+/**
+ * Permission status for location tracking
+ */
+export interface PermissionStatus {
+ location: boolean;
+ background: boolean;
+ notifications: boolean;
+ batteryOptimized: boolean;
+}
+
+/** Android version for background location (Android 10) */
+const ANDROID_10 = 29;
+
+/** Android version for notifications (Android 13) */
+const ANDROID_13 = 33;
+
+/**
+ * Requests all necessary permissions for location tracking.
+ *
+ * Requests in sequence:
+ * 1. Fine location (always required)
+ * 2. Background location (Android 10+)
+ * 3. Notifications (Android 13+)
+ * 4. Battery optimization exemption
+ *
+ * Shows alerts explaining each permission and returns false if any critical permission is denied.
+ *
+ * @returns True if all required permissions granted
+ *
+ * @example
+ * ```ts
+ * if (await ensurePermissions()) {
+ * startLocationTracking();
+ * }
+ * ```
+ */
+export async function ensurePermissions(): Promise<boolean> {
+ if (Platform.OS !== "android") return true;
+
+ try {
+ // 1. Fine location (required)
+ if (!(await requestFineLocation())) return false;
+
+ // 2. Background location (Android 10+)
+ if (Platform.Version >= ANDROID_10) {
+ if (!(await requestBackgroundLocation())) return false;
+ }
+
+ // 3. Notifications (Android 13+)
+ if (Platform.Version >= ANDROID_13) {
+ if (!(await requestNotificationPermission())) return false;
+ }
+
+ // 4. Battery optimization exemption (optional but recommended)
+ await requestBatteryOptimizationExemption();
+
+ return true;
+ } catch (err) {
+ console.error("[PermissionService] Permission request error:", err);
+ Alert.alert(
+ "Permission Error",
+ "Failed to request permissions. Please try again.",
+ [{ text: "OK" }]
+ );
+ return false;
+ }
+}
+
+/**
+ * Requests fine location permission
+ */
+async function requestFineLocation(): Promise<boolean> {
+ const result = await PermissionsAndroid.request(
+ PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
+ {
+ title: "Location Permission",
+ message: "Colota needs access to your location to track your position.",
+ buttonPositive: "Allow",
+ buttonNegative: "Deny",
+ }
+ );
+
+ if (result !== PermissionsAndroid.RESULTS.GRANTED) {
+ Alert.alert(
+ "Permission Required",
+ "Location permission is required for this app to function.",
+ [{ text: "OK" }]
+ );
+ return false;
+ }
+
+ return true;
+}
+
+/**
+ * Requests background location permission (Android 10+)
+ */
+async function requestBackgroundLocation(): Promise<boolean> {
+ const result = await PermissionsAndroid.request(
+ PermissionsAndroid.PERMISSIONS.ACCESS_BACKGROUND_LOCATION,
+ {
+ title: "Background Location Permission",
+ message:
+ "To track your location continuously, Colota needs permission to access your location in the background, even when you are not actively using it.",
+ buttonPositive: "Allow",
+ buttonNegative: "Deny",
+ }
+ );
+
+ if (result !== PermissionsAndroid.RESULTS.GRANTED) {
+ Alert.alert(
+ "Background Permission Denied",
+ "Background location permission is needed for continuous tracking. The app may stop when closed or in the background.",
+ [{ text: "OK" }]
+ );
+ return false;
+ }
+
+ return true;
+}
+
+/**
+ * Requests notification permission (Android 13+)
+ */
+async function requestNotificationPermission(): Promise<boolean> {
+ const result = await PermissionsAndroid.request(
+ PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS,
+ {
+ title: "Notification Permission",
+ message:
+ "Colota needs permission to show notifications while tracking your location.",
+ buttonPositive: "Allow",
+ buttonNegative: "Deny",
+ }
+ );
+
+ if (result !== PermissionsAndroid.RESULTS.GRANTED) {
+ Alert.alert(
+ "Notification Permission Denied",
+ "Without notification permission, you will not see tracking status updates.",
+ [{ text: "OK" }]
+ );
+ return false;
+ }
+
+ return true;
+}
+
+/**
+ * Requests battery optimization exemption (non-blocking)
+ */
+async function requestBatteryOptimizationExemption(): Promise<void> {
+ try {
+ const isOptimized =
+ await NativeLocationService.isIgnoringBatteryOptimizations();
+ if (!isOptimized) {
+ await NativeLocationService.requestIgnoreBatteryOptimizations();
+ }
+ } catch (err) {
+ console.error(
+ "[PermissionService] Battery optimization request failed:",
+ err
+ );
+ // Non-critical, don't block
+ }
+}
+
+/**
+ * Checks current permission status without requesting.
+ *
+ * Useful for checking before starting tracking or displaying status in settings.
+ *
+ * @example
+ * ```ts
+ * const status = await checkPermissions();
+ * if (!status.location) console.log('Location not granted');
+ * ```
+ */
+export async function checkPermissions(): Promise<PermissionStatus> {
+ if (Platform.OS !== "android") {
+ return {
+ location: true,
+ background: true,
+ notifications: true,
+ batteryOptimized: true,
+ };
+ }
+
+ const [location, background, notifications, batteryOptimized] =
+ await Promise.all([
+ checkFineLocation(),
+ checkBackgroundLocation(),
+ checkNotifications(),
+ checkBatteryOptimization(),
+ ]);
+
+ return {
+ location,
+ background,
+ notifications,
+ batteryOptimized,
+ };
+}
+
+/**
+ * Check fine location permission
+ */
+async function checkFineLocation(): Promise<boolean> {
+ return await PermissionsAndroid.check(
+ PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION
+ );
+}
+
+/**
+ * Gets Android version as a number
+ */
+function getAndroidVersion(): number {
+ if (Platform.OS !== "android") return 0;
+ return typeof Platform.Version === "number"
+ ? Platform.Version
+ : parseInt(Platform.Version, 10) || 0;
+}
+
+/**
+ * Check background location permission (Android 10+)
+ */
+async function checkBackgroundLocation(): Promise<boolean> {
+ if (getAndroidVersion() < ANDROID_10) return true;
+
+ return await PermissionsAndroid.check(
+ PermissionsAndroid.PERMISSIONS.ACCESS_BACKGROUND_LOCATION
+ );
+}
+
+/**
+ * Check notification permission (Android 13+)
+ */
+async function checkNotifications(): Promise<boolean> {
+ if (getAndroidVersion() < ANDROID_13) return true;
+
+ return await PermissionsAndroid.check(
+ PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS
+ );
+}
+
+/**
+ * Check battery optimization status
+ */
+async function checkBatteryOptimization(): Promise<boolean> {
+ try {
+ return await NativeLocationService.isIgnoringBatteryOptimizations();
+ } catch (err) {
+ console.error(
+ "[PermissionService] Battery optimization check failed:",
+ err
+ );
+ return false;
+ }
+}
+
+/**
+ * Checks if all required permissions are granted.
+ */
+export async function hasAllPermissions(): Promise<boolean> {
+ const status = await checkPermissions();
+ return (
+ status.location &&
+ status.background &&
+ status.notifications &&
+ status.batteryOptimized
+ );
+}
+
+/**
+ * Gets list of missing permission names.
+ *
+ * @example
+ * ```ts
+ * const missing = await getMissingPermissions();
+ * if (missing.length > 0) {
+ * console.log(`Missing: ${missing.join(', ')}`);
+ * }
+ * ```
+ */
+export async function getMissingPermissions(): Promise<string[]> {
+ const status = await checkPermissions();
+ const missing: string[] = [];
+
+ if (!status.location) missing.push("Location");
+ if (!status.background) missing.push("Background Location");
+ if (!status.notifications) missing.push("Notifications");
+ if (!status.batteryOptimized) missing.push("Battery Optimization");
+
+ return missing;
+}
diff --git a/src/services/NativeLocationService.ts b/src/services/NativeLocationService.ts
new file mode 100644
index 00000000..3ea296ad
--- /dev/null
+++ b/src/services/NativeLocationService.ts
@@ -0,0 +1,473 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { NativeModules } from "react-native";
+import { DatabaseStats, Geofence, Settings } from "../types/global";
+
+const { LocationServiceModule, BuildConfigModule } = NativeModules;
+
+/**
+ * Native location service bridge.
+ * Provides a TypeScript-safe interface to the native Android location tracking module.
+ *
+ * Handles:
+ * - Data normalization (seconds β†’ milliseconds)
+ * - Bridge safety checks
+ * - SQLite persistence operations
+ */
+class NativeLocationService {
+ /**
+ * Validates that the native module is available
+ * @throws {Error} If LocationServiceModule is undefined
+ */
+ private static ensureModule(): void {
+ if (!LocationServiceModule) {
+ throw new Error(
+ "[NativeLocationService] Module not available. Check native linking."
+ );
+ }
+ }
+
+ /**
+ * Wraps async native calls with error handling
+ */
+ private static async safeExecute<T>(
+ operation: () => Promise<T>,
+ fallback: T,
+ errorPrefix: string
+ ): Promise<T> {
+ try {
+ return await operation();
+ } catch (error) {
+ console.error(`[NativeLocationService] ${errorPrefix}:`, error);
+ return fallback;
+ }
+ }
+
+ // ============================================================================
+ // SERVICE CONTROL
+ // ============================================================================
+
+ /**
+ * Starts the Android foreground location service
+ * @param settings Configuration for GPS polling and data transmission
+ */
+ static async start(settings: Settings): Promise<void> {
+ this.ensureModule();
+
+ const config = {
+ interval: settings.interval * 1000, // s β†’ ms
+ minUpdateDistance: settings.distance,
+ endpoint: settings.endpoint,
+ fieldMap: settings.fieldMap,
+ syncInterval: settings.syncInterval,
+ retryInterval: settings.retryInterval,
+ maxRetries: settings.maxRetries,
+ filterInaccurateLocations: settings.filterInaccurateLocations,
+ accuracyThreshold: settings.accuracyThreshold,
+ isOfflineMode: settings.isOfflineMode,
+ };
+
+ console.log(
+ `[NativeLocationService] Starting service - interval: ${settings.interval}s, distance: ${settings.distance}m, sync: ${settings.syncInterval}s`
+ );
+
+ try {
+ await LocationServiceModule.startService(config);
+ console.log("[NativeLocationService] βœ… Service started");
+ } catch (error) {
+ console.error("[NativeLocationService] ❌ Start failed:", error);
+ throw error;
+ }
+ }
+
+ /**
+ * Stops the foreground service and GPS polling
+ */
+ static stop(): void {
+ if (!LocationServiceModule) {
+ console.warn("[NativeLocationService] Module not available");
+ return;
+ }
+
+ console.log("[NativeLocationService] Stopping service");
+ LocationServiceModule.stopService();
+ }
+
+ /**
+ * Checks if the foreground service is currently running
+ */
+ static async isServiceRunning(): Promise<boolean> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.isServiceRunning(),
+ false,
+ "isServiceRunning failed"
+ );
+ }
+
+ /**
+ * Checks if tracking is enabled (from persistent settings)
+ */
+ static async isTrackingActive(): Promise<boolean> {
+ this.ensureModule();
+ const state = await this.getSetting("tracking_enabled", "false");
+ return state === "true";
+ }
+
+ // ============================================================================
+ // QUEUE OPERATIONS
+ // ============================================================================
+
+ /**
+ * Forces immediate upload of all pending locations
+ * @returns True if flush succeeded
+ */
+ static async manualFlush(): Promise<boolean> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Triggering manual flush");
+ try {
+ const result = await LocationServiceModule.manualFlush();
+ console.log("[NativeLocationService] βœ… Flush completed");
+ return result;
+ } catch (error) {
+ console.error("[NativeLocationService] ❌ Flush failed:", error);
+ throw error;
+ }
+ }
+
+ // ============================================================================
+ // DATABASE QUERIES
+ // ============================================================================
+
+ /**
+ * Fetches raw rows from a database table
+ * @param tableName 'locations', 'queue', or 'geofences'
+ * @param limit Maximum rows to return
+ * @param offset Pagination offset
+ */
+ static async getTableData(
+ tableName: string,
+ limit: number,
+ offset: number = 0
+ ): Promise<any[]> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getTableData(tableName, limit, offset),
+ [],
+ `getTableData(${tableName}) failed`
+ );
+ }
+
+ /**
+ * Returns database health summary
+ */
+ static async getStats(): Promise<DatabaseStats> {
+ this.ensureModule();
+ return LocationServiceModule.getStats();
+ }
+
+ /**
+ * Gets count of locations waiting for transmission
+ */
+ static async getQueuedCount(): Promise<number> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getQueuedLocationsCount(),
+ 0,
+ "getQueuedCount failed"
+ );
+ }
+
+ /**
+ * Gets count of successfully sent locations
+ */
+ static async getSentCount(): Promise<number> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getSentCount(),
+ 0,
+ "getSentCount failed"
+ );
+ }
+
+ /**
+ * Gets count of locations captured today
+ */
+ static async getTodayCount(): Promise<number> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getTodayCount(),
+ 0,
+ "getTodayCount failed"
+ );
+ }
+
+ /**
+ * Gets database file size in bytes
+ */
+ static async getDatabaseSize(): Promise<number> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getDatabaseSize(),
+ 0,
+ "getDatabaseSize failed"
+ );
+ }
+
+ /**
+ * Fetches all locations for export
+ * @param limit Maximum records to export (default: 5000)
+ */
+ static async getExportData(limit: number = 5000): Promise<any[]> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getTableData("locations", limit, 0),
+ [],
+ "getExportData failed"
+ );
+ }
+
+ /**
+ * Gets the most recent location from the database
+ */
+ static async getMostRecentLocation(): Promise<any | null> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getMostRecentLocation(),
+ null,
+ "getMostRecentLocation failed"
+ );
+ }
+
+ // ============================================================================
+ // CLEANUP OPERATIONS
+ // ============================================================================
+
+ /**
+ * Deletes all successfully sent locations
+ */
+ static async clearSentHistory(): Promise<void> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Clearing sent history");
+ await LocationServiceModule.clearSentHistory();
+ }
+
+ /**
+ * Deletes all queued (unsent) locations
+ * @returns Count of deleted records
+ */
+ static async clearQueue(): Promise<number> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Clearing queue");
+ return LocationServiceModule.clearQueue();
+ }
+
+ /**
+ * Deletes all location data (sent + queued)
+ * @returns Count of deleted records
+ */
+ static async clearAllLocations(): Promise<number> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Clearing all locations");
+ return LocationServiceModule.clearAllLocations();
+ }
+
+ /**
+ * Deletes locations older than specified days
+ * @param days Age threshold in days
+ * @returns Count of deleted records
+ */
+ static async deleteOlderThan(days: number): Promise<number> {
+ this.ensureModule();
+ console.log(
+ `[NativeLocationService] Deleting locations older than ${days} days`
+ );
+ return LocationServiceModule.deleteOlderThan(days);
+ }
+
+ /**
+ * Runs SQLite VACUUM to reclaim disk space
+ */
+ static async vacuumDatabase(): Promise<void> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Vacuuming database");
+ await LocationServiceModule.vacuumDatabase();
+ }
+
+ // ============================================================================
+ // GEOFENCE OPERATIONS
+ // ============================================================================
+
+ /**
+ * Fetches all geofences
+ */
+ static async getGeofences(): Promise<Geofence[]> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getGeofences(),
+ [],
+ "getGeofences failed"
+ );
+ }
+
+ /**
+ * Creates a new geofence
+ * @returns Geofence ID
+ */
+ static async createGeofence(
+ geofence: Omit<Geofence, "id" | "createdAt">
+ ): Promise<number> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Creating geofence:", geofence.name);
+ return LocationServiceModule.createGeofence(
+ geofence.name,
+ geofence.lat,
+ geofence.lon,
+ geofence.radius,
+ geofence.pauseTracking
+ );
+ }
+
+ /**
+ * Updates an existing geofence (partial updates supported)
+ */
+ static async updateGeofence(
+ update: Partial<Geofence> & { id: number }
+ ): Promise<boolean> {
+ this.ensureModule();
+
+ if (!update.id) {
+ throw new Error("Geofence ID is required");
+ }
+
+ console.log("[NativeLocationService] Updating geofence:", update.id);
+ return LocationServiceModule.updateGeofence(
+ update.id,
+ update.name ?? null,
+ update.lat ?? null,
+ update.lon ?? null,
+ update.radius ?? null,
+ update.enabled ?? null,
+ update.pauseTracking ?? null
+ );
+ }
+
+ /**
+ * Deletes a geofence
+ */
+ static async deleteGeofence(id: number): Promise<boolean> {
+ this.ensureModule();
+ console.log("[NativeLocationService] Deleting geofence:", id);
+ return LocationServiceModule.deleteGeofence(id);
+ }
+
+ /**
+ * Checks if device is currently inside a silent zone
+ * @returns Silent zone name or null
+ */
+ static async checkCurrentSilentZone(): Promise<string | null> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.checkCurrentSilentZone(),
+ null,
+ "checkCurrentSilentZone failed"
+ );
+ }
+
+ // ============================================================================
+ // SETTINGS OPERATIONS
+ // ============================================================================
+
+ /**
+ * Saves a persistent setting
+ */
+ static async saveSetting(key: string, value: string): Promise<void> {
+ this.ensureModule();
+ await LocationServiceModule.saveSetting(key, value);
+ }
+
+ /**
+ * Retrieves a setting by key
+ */
+ static async getSetting(
+ key: string,
+ defaultValue: string = ""
+ ): Promise<string | null> {
+ this.ensureModule();
+ return LocationServiceModule.getSetting(key, defaultValue || null);
+ }
+
+ /**
+ * Retrieves all settings as key-value pairs
+ */
+ static async getAllSettings(): Promise<Record<string, string>> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.getAllSettings(),
+ {},
+ "getAllSettings failed"
+ );
+ }
+
+ // ============================================================================
+ // BATTERY OPTIMIZATION
+ // ============================================================================
+
+ /**
+ * Checks if app is exempt from battery optimization
+ */
+ static async isIgnoringBatteryOptimizations(): Promise<boolean> {
+ this.ensureModule();
+ return this.safeExecute(
+ () => LocationServiceModule.isIgnoringBatteryOptimizations(),
+ false,
+ "isIgnoringBatteryOptimizations failed"
+ );
+ }
+
+ /**
+ * Requests battery optimization exemption
+ * Opens system dialog for user approval
+ */
+ static async requestIgnoreBatteryOptimizations(): Promise<boolean> {
+ this.ensureModule();
+ console.log(
+ "[NativeLocationService] Requesting battery optimization exemption"
+ );
+ return this.safeExecute(
+ () => LocationServiceModule.requestIgnoreBatteryOptimizations(),
+ false,
+ "requestIgnoreBatteryOptimizations failed"
+ );
+ }
+
+ // ============================================================================
+ // BUILD CONFIGURATION
+ // ============================================================================
+
+ /**
+ * Gets build configuration constants
+ * @returns Build config object with SDK versions, tools versions, etc.
+ */
+ static getBuildConfig(): {
+ MIN_SDK_VERSION: number;
+ TARGET_SDK_VERSION: number;
+ COMPILE_SDK_VERSION: number;
+ BUILD_TOOLS_VERSION: string;
+ KOTLIN_VERSION: string;
+ NDK_VERSION: string;
+ VERSION_NAME: string;
+ VERSION_CODE: number;
+ } | null {
+ if (!BuildConfigModule) {
+ console.warn("[NativeLocationService] BuildConfigModule not available");
+ return null;
+ }
+ return BuildConfigModule;
+ }
+}
+
+export default NativeLocationService;
diff --git a/src/services/SettingsService.ts b/src/services/SettingsService.ts
new file mode 100644
index 00000000..e5ee1150
--- /dev/null
+++ b/src/services/SettingsService.ts
@@ -0,0 +1,86 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import NativeLocationService from "./NativeLocationService";
+import { Settings } from "../types/global";
+
+/**
+ * Bridge between UI state and native SQLite configuration.
+ * Handles type conversion and key mapping for native storage.
+ */
+export const SettingsService = {
+ /**
+ * Saves a single setting to native storage
+ * Handles type conversion and key mapping
+ */
+ updateSetting: async (key: keyof Settings, value: any): Promise<boolean> => {
+ try {
+ let stringValue: string;
+
+ switch (key) {
+ case "interval":
+ // UI: seconds β†’ Native: milliseconds
+ stringValue = (Number(value) * 1000).toString();
+ break;
+
+ case "fieldMap":
+ // Object β†’ JSON string
+ stringValue = JSON.stringify(value);
+ break;
+
+ case "distance":
+ // JS key: 'distance' β†’ Native key: 'minUpdateDistance'
+ await NativeLocationService.saveSetting(
+ "minUpdateDistance",
+ value.toString()
+ );
+ // Also save as 'distance' for JS hydration
+ stringValue = value.toString();
+ break;
+
+ case "syncInterval":
+ case "retryInterval":
+ case "maxRetries":
+ case "accuracyThreshold":
+ // Already in correct format (numbers)
+ stringValue = String(value);
+ break;
+
+ case "filterInaccurateLocations":
+ case "isOfflineMode":
+ // Boolean β†’ "true"/"false"
+ stringValue = String(value);
+ break;
+
+ default:
+ // Handles 'endpoint', 'syncPreset', etc.
+ stringValue = String(value);
+ }
+
+ await NativeLocationService.saveSetting(key, stringValue);
+ return true;
+ } catch (err) {
+ console.error(`[SettingsService] Failed to save ${key}:`, err);
+ return false;
+ }
+ },
+
+ /**
+ * Updates multiple settings in parallel
+ */
+ updateMultiple: async (settingsUpdate: Partial<Settings>): Promise<void> => {
+ const keys = Object.keys(settingsUpdate);
+ console.log(`[SettingsService] Batch updating ${keys.length} settings`);
+
+ const promises = Object.entries(settingsUpdate).map(([key, val]) =>
+ SettingsService.updateSetting(key as keyof Settings, val)
+ );
+
+ await Promise.all(promises);
+ console.log("[SettingsService] βœ… Batch update completed");
+ },
+};
+
+export default SettingsService;
diff --git a/src/styles/colors.ts b/src/styles/colors.ts
new file mode 100644
index 00000000..e64b1b77
--- /dev/null
+++ b/src/styles/colors.ts
@@ -0,0 +1,112 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+import { ThemeColors } from "../types/global";
+
+export const lightColors: ThemeColors = {
+ // Brand (Deep Indigo for trust and uniqueness)
+ primary: "#7986CB",
+ primaryDark: "#1A237E",
+ primaryLight: "#C5CAE9",
+ secondary: "#FF7043", // Warm orange for secondary actions
+ secondaryDark: "#E64A19",
+ secondaryLight: "#FFCCBC",
+
+ // Status (WCAG compliant)
+ success: "#2E7D32",
+ successDark: "#1B5E20",
+ successLight: "#A5D6A7",
+ warning: "#FF9800",
+ warningDark: "#F57C00",
+ warningLight: "#FFE0B2",
+ error: "#D32F2F", // βœ… Fixed: Strong, assertive red
+ errorDark: "#B71C1C",
+ errorLight: "#FFCDD2", // βœ… Fixed: Now actually lighter than base
+ info: "#1976D2",
+ infoDark: "#0D47A1",
+ infoLight: "#BBDEFB",
+
+ // UI (optimized for maps)
+ background: "#FAFAFA",
+ backgroundElevated: "#FFFFFF",
+ card: "#FFFFFF",
+ cardElevated: "#FFFFFF",
+ surface: "#FFFFFF",
+
+ // Text (WCAG AAA)
+ text: "#202124",
+ textSecondary: "#5F6368",
+ textLight: "#9AA0A6",
+ textDisabled: "#9AA0A6",
+
+ // Border & divider
+ border: "#DADCE0",
+ borderLight: "#E0E0E0",
+ divider: "#E0E0E0",
+
+ // Interactive
+ placeholder: "#9AA0A6",
+ link: "#5C6BC0", // βœ… Fixed: Slightly lighter than primary for better hierarchy
+ linkVisited: "#7986CB", // βœ… Fixed: Visited links are now lighter (standard convention)
+ overlay: "rgba(0, 0, 0, 0.5)",
+ shadow: "rgba(0, 0, 0, 0.1)",
+
+ // Special
+ transparent: "transparent",
+ borderRadius: 8,
+};
+
+export const darkColors: ThemeColors = {
+ // Brand
+ primary: "#7986CB",
+ primaryDark: "#303F9F",
+ primaryLight: "#C5CAE9",
+ secondary: "#FF9800",
+ secondaryDark: "#F57C00",
+ secondaryLight: "#FFE0B2",
+
+ // Status
+ success: "#4CAF50",
+ successDark: "#388E3C",
+ successLight: "#C8E6C9",
+ warning: "#FF9800", // βœ… Fixed: Consistent with light mode
+ warningDark: "#F57C00",
+ warningLight: "#FFE0B2",
+ error: "#EF5350", // βœ… Fixed: Brighter red for dark backgrounds
+ errorDark: "#D32F2F",
+ errorLight: "#FFCDD2",
+ info: "#4285F4",
+ infoDark: "#1976D2",
+ infoLight: "#BBDEFB",
+
+ // UI
+ background: "#121212",
+ backgroundElevated: "#1E1E1E",
+ card: "#2D2D2D",
+ cardElevated: "#3D3D3D",
+ surface: "#1E1E1E",
+
+ // Text
+ text: "#E8EAED",
+ textSecondary: "#AAAAAA",
+ textLight: "#888888",
+ textDisabled: "#666666",
+
+ // Border & divider
+ border: "#424242",
+ borderLight: "#333333",
+ divider: "#333333",
+
+ // Interactive
+ placeholder: "#AAAAAA",
+ link: "#9FA8DA", // βœ… Fixed: Lighter indigo for better visibility on dark
+ linkVisited: "#7986CB", // βœ… Fixed: Visited links are now darker (standard convention)
+ overlay: "rgba(0, 0, 0, 0.7)",
+ shadow: "rgba(0, 0, 0, 0.3)",
+
+ // Special
+ transparent: "transparent",
+ borderRadius: 8,
+};
diff --git a/src/types/global.ts b/src/types/global.ts
new file mode 100644
index 00000000..909c6543
--- /dev/null
+++ b/src/types/global.ts
@@ -0,0 +1,295 @@
+/**
+ * Copyright (C) 2026 Max Dietrich
+ * Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
+ */
+
+/**
+ * Core type definitions for Colota location tracking app
+ */
+
+// ============================================================================
+// NAVIGATION & UI
+// ============================================================================
+
+export interface ScreenProps {
+ navigation: any;
+}
+
+export type ThemeMode = "light" | "dark";
+
+export interface ThemeColors {
+ // Primary colors
+ primary: string;
+ primaryDark: string;
+ primaryLight: string;
+
+ // Secondary colors
+ secondary: string;
+ secondaryDark: string;
+ secondaryLight: string;
+
+ // Semantic colors
+ success: string;
+ successDark: string;
+ successLight: string;
+ warning: string;
+ warningDark: string;
+ warningLight: string;
+ error: string;
+ errorDark: string;
+ errorLight: string;
+ info: string;
+ infoDark: string;
+ infoLight: string;
+
+ // Surfaces & backgrounds
+ background: string;
+ backgroundElevated: string;
+ card: string;
+ cardElevated: string;
+ surface: string;
+
+ // Text colors
+ text: string;
+ textSecondary: string;
+ textLight: string;
+ textDisabled: string;
+
+ // Borders & dividers
+ border: string;
+ borderLight: string;
+ divider: string;
+
+ // Interactive elements
+ placeholder: string;
+ link: string;
+ linkVisited: string;
+
+ // Utility
+ overlay: string;
+ shadow: string;
+ transparent: string;
+ borderRadius: number;
+}
+
+// ============================================================================
+// LOCATION DATA
+// ============================================================================
+
+export interface LocationCoords {
+ latitude: number;
+ longitude: number;
+ altitude?: number;
+ accuracy?: number;
+ speed?: number;
+ bearing?: number;
+ battery?: number;
+ battery_status?: number;
+ timestamp?: number;
+}
+
+export interface Geofence {
+ id?: number;
+ name: string;
+ lat: number;
+ lon: number;
+ radius: number;
+ enabled: boolean;
+ pauseTracking: boolean;
+ createdAt?: number;
+}
+
+/**
+ * Result interface for location tracking hook
+ */
+export interface LocationTrackingResult {
+ coords: LocationCoords | null;
+ tracking: boolean;
+ startTracking: (overrideSettings?: Settings) => Promise<void>;
+ stopTracking: () => void;
+ restartTracking: (newSettings?: Settings) => Promise<void>;
+ settings: Settings;
+}
+
+// ============================================================================
+// API CONFIGURATION
+// ============================================================================
+
+export type ServerStatus = "connected" | "error" | "notConfigured";
+
+export interface ServerConnectionProps {
+ endpoint: string | null;
+ navigation: any;
+}
+
+export interface FieldMap {
+ lat: string;
+ lon: string;
+ acc: string;
+ alt?: string;
+ vel?: string;
+ batt?: string;
+ bs?: string;
+ tst?: string;
+ bear?: string;
+}
+
+export const DEFAULT_FIELD_MAP: FieldMap = {
+ lat: "lat",
+ lon: "lon",
+ acc: "acc",
+ alt: "alt",
+ vel: "vel",
+ batt: "batt",
+ bs: "bs",
+ tst: "tst",
+ bear: "bear",
+} as const;
+
+// ============================================================================
+// PRESETS
+// ============================================================================
+
+export type BatteryImpact = "Low" | "Medium" | "High";
+
+export interface TrackingPresetConfig {
+ interval: number;
+ distance: number;
+ syncInterval: number;
+ retryInterval: number;
+ label: string;
+ emoji: string;
+ description: string;
+ batteryImpact: BatteryImpact;
+}
+
+export const TRACKING_PRESETS = {
+ instant: {
+ interval: 5,
+ distance: 0,
+ syncInterval: 0,
+ retryInterval: 30,
+ label: "Instant",
+ emoji: "⚑",
+ description: "Track every 5s β€’ Send instantly",
+ batteryImpact: "High",
+ },
+ balanced: {
+ interval: 30,
+ distance: 1,
+ syncInterval: 300,
+ retryInterval: 300,
+ label: "Balanced",
+ emoji: "βš–οΈ",
+ description: "Track every 30s β€’ Batch 5 min",
+ batteryImpact: "Medium",
+ },
+ powersaver: {
+ interval: 60,
+ distance: 2,
+ syncInterval: 900,
+ retryInterval: 900,
+ label: "Power Saver",
+ emoji: "πŸ”‹",
+ description: "Track every 60s β€’ Batch 15 min",
+ batteryImpact: "Low",
+ },
+} as const satisfies Record<string, TrackingPresetConfig>;
+
+export type SelectablePreset = keyof typeof TRACKING_PRESETS;
+export type SyncPreset = SelectablePreset | "custom";
+
+// ============================================================================
+// SETTINGS
+// ============================================================================
+
+export interface Settings {
+ // Tracking (GPS)
+ interval: number;
+ distance: number;
+ filterInaccurateLocations: boolean;
+ accuracyThreshold: number;
+
+ // Endpoint & Mapping
+ endpoint: string;
+ fieldMap: FieldMap;
+
+ // Sync & Upload
+ syncInterval: number;
+ retryInterval: number;
+ maxRetries: number;
+ isOfflineMode: boolean;
+
+ // UI State
+ syncPreset: SyncPreset;
+}
+
+export const DEFAULT_SETTINGS: Settings = {
+ interval: TRACKING_PRESETS.instant.interval,
+ distance: TRACKING_PRESETS.instant.distance,
+ endpoint: "",
+ fieldMap: DEFAULT_FIELD_MAP,
+ syncInterval: TRACKING_PRESETS.instant.syncInterval,
+ retryInterval: TRACKING_PRESETS.instant.retryInterval,
+ filterInaccurateLocations: false,
+ accuracyThreshold: 50,
+ syncPreset: "instant",
+ maxRetries: 5,
+ isOfflineMode: false,
+} as const;
+
+// ============================================================================
+// DATABASE
+// ============================================================================
+
+export interface DatabaseStats {
+ queued: number;
+ sent: number;
+ total: number;
+ today: number;
+ databaseSizeMB: number;
+}
+
+// ============================================================================
+// TYPE GUARDS
+// ============================================================================
+
+export const isValidCoords = (coords: unknown): coords is LocationCoords => {
+ if (typeof coords !== "object" || coords === null) return false;
+
+ const c = coords as Partial<LocationCoords>;
+ return (
+ typeof c.latitude === "number" &&
+ typeof c.longitude === "number" &&
+ !isNaN(c.latitude) &&
+ !isNaN(c.longitude)
+ );
+};
+
+export const isValidSettings = (settings: unknown): settings is Settings => {
+ if (typeof settings !== "object" || settings === null) return false;
+
+ const s = settings as Partial<Settings>;
+ return (
+ typeof s.interval === "number" &&
+ typeof s.endpoint === "string" &&
+ typeof s.syncInterval === "number" &&
+ typeof s.syncPreset === "string" &&
+ s.interval >= 0 &&
+ s.syncInterval >= 0
+ );
+};
+
+export const isValidFieldMap = (fieldMap: unknown): fieldMap is FieldMap => {
+ if (typeof fieldMap !== "object" || fieldMap === null) return false;
+
+ const f = fieldMap as Partial<FieldMap>;
+ return (
+ typeof f.lat === "string" &&
+ typeof f.lon === "string" &&
+ typeof f.acc === "string" &&
+ f.lat.length > 0 &&
+ f.lon.length > 0 &&
+ f.acc.length > 0
+ );
+};
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 00000000..266ba9ca
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,8 @@
+{
+ "extends": "@react-native/typescript-config",
+ "compilerOptions": {
+ "types": ["jest"]
+ },
+ "include": ["**/*.ts", "**/*.tsx"],
+ "exclude": ["**/node_modules", "**/Pods"]
+}