commit 8ef288f145424af2d34dc75f2ecafad9c6ec6ac5 Author: AppCakes Date: Tue Jun 9 20:54:25 2026 +0000 build: d805a69a-e437-4a58-a083-30e34be74fcd diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz new file mode 100644 index 0000000..68b447b Binary files /dev/null and b/.yarn/install-state.gz differ diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/android/.gitignore b/android/.gitignore new file mode 100644 index 0000000..48354a3 --- /dev/null +++ b/android/.gitignore @@ -0,0 +1,101 @@ +# Using Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore + +# Built application files +*.apk +*.aar +*.ap_ +*.aab + +# Files for the ART/Dalvik VM +*.dex + +# Java class files +*.class + +# Generated files +bin/ +gen/ +out/ +# Uncomment the following line in case you need and you don't have the release build type files in your app +# release/ + +# Gradle files +.gradle/ +build/ + +# Local configuration file (sdk path, etc) +local.properties + +# Proguard folder generated by Eclipse +proguard/ + +# Log Files +*.log + +# Android Studio Navigation editor temp files +.navigation/ + +# Android Studio captures folder +captures/ + +# IntelliJ +*.iml +.idea/workspace.xml +.idea/tasks.xml +.idea/gradle.xml +.idea/assetWizardSettings.xml +.idea/dictionaries +.idea/libraries +# Android Studio 3 in .gitignore file. +.idea/caches +.idea/modules.xml +# Comment next line if keeping position of elements in Navigation Editor is relevant for you +.idea/navEditor.xml + +# Keystore files +# Uncomment the following lines if you do not want to check your keystore files in. +#*.jks +#*.keystore + +# External native build folder generated in Android Studio 2.2 and later +.externalNativeBuild +.cxx/ + +# Google Services (e.g. APIs or Firebase) +# google-services.json + +# Freeline +freeline.py +freeline/ +freeline_project_description.json + +# fastlane +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots +fastlane/test_output +fastlane/readme.md + +# Version control +vcs.xml + +# lint +lint/intermediates/ +lint/generated/ +lint/outputs/ +lint/tmp/ +# lint/reports/ + +# Android Profiling +*.hprof + +# Cordova plugins for Capacitor +capacitor-cordova-android-plugins + +# Copied web assets +app/src/main/assets/public + +# Generated Config files +app/src/main/assets/capacitor.config.json +app/src/main/assets/capacitor.plugins.json +app/src/main/res/xml/config.xml diff --git a/android/app/.gitignore b/android/app/.gitignore new file mode 100644 index 0000000..043df80 --- /dev/null +++ b/android/app/.gitignore @@ -0,0 +1,2 @@ +/build/* +!/build/.npmkeep diff --git a/android/app/build.gradle b/android/app/build.gradle new file mode 100644 index 0000000..f495600 --- /dev/null +++ b/android/app/build.gradle @@ -0,0 +1,55 @@ +apply plugin: 'com.android.application' + +android { + namespace = "io.ionic.starter" + compileSdk = rootProject.ext.compileSdkVersion + defaultConfig { + applicationId "io.ionic.starter" + minSdkVersion rootProject.ext.minSdkVersion + targetSdkVersion rootProject.ext.targetSdkVersion + versionCode 1 + versionName "1.0" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + manifestPlaceholders = [googleMapsApiKey: System.getenv("VITE_GOOGLE_MAPS_KEY") ?: ""] + aaptOptions { + // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. + // Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61 + ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~' + } + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +repositories { + flatDir{ + dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs' + } +} + +dependencies { + implementation fileTree(include: ['*.jar'], dir: 'libs') + implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" + implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion" + implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion" + implementation project(':capacitor-android') + testImplementation "junit:junit:$junitVersion" + androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion" + androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion" + implementation project(':capacitor-cordova-android-plugins') +} + +apply from: 'capacitor.build.gradle' + +try { + def servicesJSON = file('google-services.json') + if (servicesJSON.text) { + apply plugin: 'com.google.gms.google-services' + } +} catch(Exception e) { + logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work") +} diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro new file mode 100644 index 0000000..f1b4245 --- /dev/null +++ b/android/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java b/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java new file mode 100644 index 0000000..f2c2217 --- /dev/null +++ b/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.getcapacitor.myapp; + +import static org.junit.Assert.*; + +import android.content.Context; +import androidx.test.ext.junit.runners.AndroidJUnit4; +import androidx.test.platform.app.InstrumentationRegistry; +import org.junit.Test; +import org.junit.runner.RunWith; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + + @Test + public void useAppContext() throws Exception { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + + assertEquals("com.getcapacitor.app", appContext.getPackageName()); + } +} diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..2dc8091 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/java/io/ionic/starter/MainActivity.java b/android/app/src/main/java/io/ionic/starter/MainActivity.java new file mode 100644 index 0000000..73e3a98 --- /dev/null +++ b/android/app/src/main/java/io/ionic/starter/MainActivity.java @@ -0,0 +1,5 @@ +package io.ionic.starter; + +import com.getcapacitor.BridgeActivity; + +public class MainActivity extends BridgeActivity {} diff --git a/android/app/src/main/res/drawable-land-hdpi/splash.png b/android/app/src/main/res/drawable-land-hdpi/splash.png new file mode 100644 index 0000000..e31573b Binary files /dev/null and b/android/app/src/main/res/drawable-land-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-mdpi/splash.png b/android/app/src/main/res/drawable-land-mdpi/splash.png new file mode 100644 index 0000000..f7a6492 Binary files /dev/null and b/android/app/src/main/res/drawable-land-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xhdpi/splash.png b/android/app/src/main/res/drawable-land-xhdpi/splash.png new file mode 100644 index 0000000..8077255 Binary files /dev/null and b/android/app/src/main/res/drawable-land-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxhdpi/splash.png new file mode 100644 index 0000000..14c6c8f Binary files /dev/null and b/android/app/src/main/res/drawable-land-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xxxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxxhdpi/splash.png new file mode 100644 index 0000000..244ca25 Binary files /dev/null and b/android/app/src/main/res/drawable-land-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-hdpi/splash.png b/android/app/src/main/res/drawable-port-hdpi/splash.png new file mode 100644 index 0000000..74faaa5 Binary files /dev/null and b/android/app/src/main/res/drawable-port-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-mdpi/splash.png b/android/app/src/main/res/drawable-port-mdpi/splash.png new file mode 100644 index 0000000..e944f4a Binary files /dev/null and b/android/app/src/main/res/drawable-port-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xhdpi/splash.png b/android/app/src/main/res/drawable-port-xhdpi/splash.png new file mode 100644 index 0000000..564a82f Binary files /dev/null and b/android/app/src/main/res/drawable-port-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxhdpi/splash.png new file mode 100644 index 0000000..bfabe68 Binary files /dev/null and b/android/app/src/main/res/drawable-port-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xxxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxxhdpi/splash.png new file mode 100644 index 0000000..6929071 Binary files /dev/null and b/android/app/src/main/res/drawable-port-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..c7bd21d --- /dev/null +++ b/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + diff --git a/android/app/src/main/res/drawable/ic_launcher_background.xml b/android/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..d5fccc5 --- /dev/null +++ b/android/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/res/drawable/splash.png b/android/app/src/main/res/drawable/splash.png new file mode 100644 index 0000000..f7a6492 Binary files /dev/null and b/android/app/src/main/res/drawable/splash.png differ diff --git a/android/app/src/main/res/layout/activity_main.xml b/android/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..b5ad138 --- /dev/null +++ b/android/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,12 @@ + + + + + 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 0000000..036d09b --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ 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 0000000..036d09b --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ 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 0000000..c023e50 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 0000000..2127973 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 0000000..b441f37 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-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..72905b8 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 0000000..8ed0605 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 0000000..9502e47 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 0000000..4d1e077 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 0000000..df0f158 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 0000000..853db04 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 0000000..6cdf97c 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 0000000..2960cbb 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 0000000..8e3093a 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 0000000..46de6e2 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 0000000..d2ea9ab 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 0000000..a40d73e 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/values/ic_launcher_background.xml b/android/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 0000000..c5d5899 --- /dev/null +++ b/android/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ 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 0000000..5418e89 --- /dev/null +++ b/android/app/src/main/res/values/strings.xml @@ -0,0 +1,7 @@ + + + bringg + bringg + io.ionic.starter + io.ionic.starter + 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 0000000..be874e5 --- /dev/null +++ b/android/app/src/main/res/values/styles.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/android/app/src/main/res/xml/file_paths.xml b/android/app/src/main/res/xml/file_paths.xml new file mode 100644 index 0000000..bd0c4d8 --- /dev/null +++ b/android/app/src/main/res/xml/file_paths.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java b/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java new file mode 100644 index 0000000..0297327 --- /dev/null +++ b/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java @@ -0,0 +1,18 @@ +package com.getcapacitor.myapp; + +import static org.junit.Assert.*; + +import org.junit.Test; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + + @Test + public void addition_isCorrect() throws Exception { + assertEquals(4, 2 + 2); + } +} diff --git a/android/build.gradle b/android/build.gradle new file mode 100644 index 0000000..f8f0e43 --- /dev/null +++ b/android/build.gradle @@ -0,0 +1,29 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + + repositories { + google() + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:8.13.0' + classpath 'com.google.gms:google-services:4.4.4' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +apply from: "variables.gradle" + +allprojects { + repositories { + google() + mavenCentral() + } +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 0000000..2e87c52 --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,22 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx1536m + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..1b33c55 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 0000000..7705927 --- /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-8.14.3-all.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/android/gradlew b/android/gradlew new file mode 100755 index 0000000..23d15a9 --- /dev/null +++ b/android/gradlew @@ -0,0 +1,251 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 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 0000000..5eed7ee --- /dev/null +++ b/android/gradlew.bat @@ -0,0 +1,94 @@ +@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 0000000..3b4431d --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,5 @@ +include ':app' +include ':capacitor-cordova-android-plugins' +project(':capacitor-cordova-android-plugins').projectDir = new File('./capacitor-cordova-android-plugins/') + +apply from: 'capacitor.settings.gradle' \ No newline at end of file diff --git a/android/variables.gradle b/android/variables.gradle new file mode 100644 index 0000000..920c6cc --- /dev/null +++ b/android/variables.gradle @@ -0,0 +1,19 @@ +ext { + minSdkVersion = 24 + compileSdkVersion = 36 + targetSdkVersion = 36 + androidxActivityVersion = '1.11.0' + androidxAppCompatVersion = '1.7.1' + androidxCoordinatorLayoutVersion = '1.3.0' + androidxCoreVersion = '1.17.0' + androidxFragmentVersion = '1.8.9' + coreSplashScreenVersion = '1.2.0' + androidxWebkitVersion = '1.14.0' + junitVersion = '4.13.2' + androidxJunitVersion = '1.3.0' + androidxEspressoCoreVersion = '3.7.0' + cordovaAndroidVersion = '14.0.1' + rgcfaIncludeGoogle = true + androidxCredentialsVersion = '1.3.0' + javaVersion = JavaVersion.VERSION_17 +} \ No newline at end of file diff --git a/capacitor.config.ts b/capacitor.config.ts new file mode 100644 index 0000000..7b7cd48 --- /dev/null +++ b/capacitor.config.ts @@ -0,0 +1,15 @@ +import type { CapacitorConfig } from '@capacitor/cli'; + +const config: CapacitorConfig = { + appId: 'com.bringg.app', + appName: 'bringg', + webDir: 'dist', + plugins: { + FirebaseAuthentication: { + skipNativeAuth: false, + providers: [], + }, + }, +}; + +export default config; diff --git a/codemagic.yaml b/codemagic.yaml new file mode 100644 index 0000000..96bfc2b --- /dev/null +++ b/codemagic.yaml @@ -0,0 +1,380 @@ +workflows: + android-debug: + name: Android – Debug APK + max_build_duration: 45 + instance_type: mac_mini_m2 + environment: + node: 22 + java: 21 + cache: + cache_paths: + - $HOME/.gradle/caches + - $HOME/.gradle/wrapper + scripts: + # Template ships with optional native plugins (maps, push, firebase auth) that most apps + # won't use. Keeping unused plugins in package.json adds SPM/Gradle deps and bloats the + # build. Strip any that have no import in src/ so only actually-used plugins are compiled. + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + # Delete package-lock.json (generated if user ever ran npm locally) so it doesn't + # conflict with yarn.lock. --legacy-peer-deps silences peer dep warnings from older + # Ionic/React packages that haven't updated their peerDependencies for React 18/19. + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + # Firebase config files are injected as base64 env vars by the Appcakes backend at + # build time. Decode them here so cap sync and Gradle can pick them up. Optional — + # builds without Firebase still succeed; native Firebase SDK just won't initialise. + - name: Write Firebase config + script: | + if [ -n "$GOOGLE_SERVICES_JSON" ]; then + echo "$GOOGLE_SERVICES_JSON" | base64 --decode > android/app/google-services.json + echo "Wrote google-services.json ($(wc -c < android/app/google-services.json) bytes)" + else + echo "GOOGLE_SERVICES_JSON is empty — skipping" + fi + if [ -n "$GOOGLE_SERVICE_INFO_PLIST" ]; then + echo "$GOOGLE_SERVICE_INFO_PLIST" | base64 --decode > ios/App/App/GoogleService-Info.plist + echo "Wrote GoogleService-Info.plist ($(wc -c < ios/App/App/GoogleService-Info.plist) bytes)" + fi + # cap sync copies the built web assets (dist/) into android/app/src/main/assets/public/ + # and updates Capacitor plugin registrations in MainActivity. Must run after npm build. + - name: Capacitor sync + script: npx cap sync android + - name: Set up debug keystore + script: | + if [ -n "$CM_DEBUG_KEYSTORE" ]; then + echo "$CM_DEBUG_KEYSTORE" | base64 --decode > /tmp/debug-keystore.p12 + fi + - name: Build debug APK + script: | + cd android + if [ -n "$CM_DEBUG_KEYSTORE" ]; then + ./gradlew assembleDebug \ + -Pandroid.injected.signing.store.file=/tmp/debug-keystore.p12 \ + -Pandroid.injected.signing.store.password=$CM_DEBUG_KEYSTORE_PASSWORD \ + -Pandroid.injected.signing.key.alias=debug \ + -Pandroid.injected.signing.key.password=$CM_DEBUG_KEYSTORE_PASSWORD \ + --no-daemon + else + ./gradlew assembleDebug --no-daemon + fi + artifacts: + - android/app/build/outputs/apk/debug/app-debug.apk + + android-release-apk: + name: Android – Release APK + max_build_duration: 45 + instance_type: mac_mini_m2 + environment: + node: 22 + java: 21 + cache: + cache_paths: + - $HOME/.gradle/caches + - $HOME/.gradle/wrapper + scripts: + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + - name: Write Firebase config + script: | + if [ -n "$GOOGLE_SERVICES_JSON" ]; then + echo "$GOOGLE_SERVICES_JSON" | base64 --decode > android/app/google-services.json + fi + - name: Capacitor sync + script: npx cap sync android + - name: Set up keystore + script: echo "$CM_KEYSTORE" | base64 --decode > /tmp/keystore.jks + - name: Build Release APK + script: | + cd android + ./gradlew assembleRelease \ + -Pandroid.injected.signing.store.file=/tmp/keystore.jks \ + -Pandroid.injected.signing.store.password=$CM_KEYSTORE_PASSWORD \ + -Pandroid.injected.signing.key.alias=$CM_KEY_ALIAS \ + -Pandroid.injected.signing.key.password=$CM_KEY_PASSWORD \ + --no-daemon + artifacts: + - android/app/build/outputs/apk/release/app-release.apk + + android-release-aab: + name: Android – Release AAB + max_build_duration: 45 + instance_type: mac_mini_m2 + environment: + node: 22 + java: 21 + cache: + cache_paths: + - $HOME/.gradle/caches + - $HOME/.gradle/wrapper + scripts: + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + - name: Write Firebase config + script: | + if [ -n "$GOOGLE_SERVICES_JSON" ]; then + echo "$GOOGLE_SERVICES_JSON" | base64 --decode > android/app/google-services.json + fi + - name: Capacitor sync + script: npx cap sync android + - name: Set up keystore + script: echo "$CM_KEYSTORE" | base64 --decode > /tmp/keystore.jks + - name: Build Release AAB + script: | + cd android + ./gradlew bundleRelease \ + -Pandroid.injected.signing.store.file=/tmp/keystore.jks \ + -Pandroid.injected.signing.store.password=$CM_KEYSTORE_PASSWORD \ + -Pandroid.injected.signing.key.alias=$CM_KEY_ALIAS \ + -Pandroid.injected.signing.key.password=$CM_KEY_PASSWORD \ + --no-daemon + artifacts: + - android/app/build/outputs/bundle/release/app-release.aab + + android-release: + name: Android – Publish to Google Play + max_build_duration: 60 + instance_type: mac_mini_m2 + environment: + node: 22 + java: 21 + cache: + cache_paths: + - $HOME/.gradle/caches + - $HOME/.gradle/wrapper + scripts: + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + - name: Write Firebase config + script: | + if [ -n "$GOOGLE_SERVICES_JSON" ]; then + echo "$GOOGLE_SERVICES_JSON" | base64 --decode > android/app/google-services.json + fi + - name: Capacitor sync + script: npx cap sync android + - name: Set up keystore + script: echo "$CM_KEYSTORE" | base64 --decode > /tmp/keystore.jks + - name: Build Release AAB + script: | + cd android + ./gradlew bundleRelease \ + -Pandroid.injected.signing.store.file=/tmp/keystore.jks \ + -Pandroid.injected.signing.store.password=$CM_KEYSTORE_PASSWORD \ + -Pandroid.injected.signing.key.alias=$CM_KEY_ALIAS \ + -Pandroid.injected.signing.key.password=$CM_KEY_PASSWORD \ + --no-daemon + publishing: + google_play: + credentials: $GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS + track: $GOOGLE_PLAY_TRACK + submit_as_draft: false + artifacts: + - android/app/build/outputs/bundle/release/app-release.aab + + ios-debug: + name: iOS – Debug IPA + max_build_duration: 60 + instance_type: mac_mini_m2 + environment: + node: 22 + xcode: latest + scripts: + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + # First sync: regenerates CapApp-SPM/Package.swift with the correct plugin list. + # Note: this project uses Capacitor SPM (no CocoaPods/Podfile), so cap sync replaces + # pod install — it regenerates CapApp-SPM/Package.swift and copies web assets. + - name: Capacitor sync + script: npx cap sync ios + # Decode Firebase plist to disk so it is present during the second sync. + - name: Write Firebase config + script: | + if [ -n "$GOOGLE_SERVICE_INFO_PLIST" ]; then + echo "$GOOGLE_SERVICE_INFO_PLIST" | base64 --decode > ios/App/App/GoogleService-Info.plist + fi + # Second sync ensures CapApp-SPM/Package.swift is consistent after the plist write. + - name: Capacitor sync + script: npx cap sync ios + # Run configure_xcode.rb after both syncs so its xcodeproj changes (plist file + # reference + SPM product linking) are not overwritten by a subsequent cap sync. + # configure_xcode.rb is stamped fresh from template on every build push. + - name: Configure Xcode project + script: ruby configure_xcode.rb + - name: Set up signing + script: | + keychain initialize + if [ -n "$APP_STORE_CONNECT_PRIVATE_KEY" ]; then + app-store-connect fetch-signing-files \ + $(xcode-project detect-bundle-id) \ + --type IOS_APP_DEVELOPMENT \ + --certificate-key=@env:APP_STORE_CONNECT_PRIVATE_KEY \ + --issuer-id=$APP_STORE_CONNECT_ISSUER_ID \ + --key-id=$APP_STORE_CONNECT_KEY_IDENTIFIER \ + --create + xcode-project use-profiles + elif [ -n "$CM_CERTIFICATE" ]; then + echo "$CM_CERTIFICATE" | base64 --decode > /tmp/cert.p12 + keychain add-certificates \ + --certificate /tmp/cert.p12 \ + --certificate-password "$CM_CERTIFICATE_PASSWORD" + mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles" + echo "$CM_PROVISIONING_PROFILE" | base64 --decode > "$HOME/Library/MobileDevice/Provisioning Profiles/profile.mobileprovision" + xcode-project use-profiles + else + echo "No signing credentials configured — build will fail at signing" + exit 1 + fi + # --workspace: Capacitor SPM projects require workspace context for Xcode to resolve + # the CapApp-SPM local package. Using --project causes xcodebuild to fail on + # Xcode 26+ because SPM resolution requires workspace scope. App.xcworkspace is a + # static file committed to the template (not generated by cap sync) that wraps + # App.xcodeproj for this purpose. + # --no-show-build-settings: xcode-project runs xcodebuild -showBuildSettings as a + # pre-build diagnostic. Xcode 26 fails this step for SPM projects even with + # --workspace, so we skip it. The actual archive step still surfaces real errors. + # --disable-xcpretty: xcpretty reformats and filters xcodebuild output, swallowing + # the actual error lines when a build fails. Raw output makes failures debuggable. + - name: Build IPA + script: | + xcode-project build-ipa \ + --workspace ios/App/App.xcworkspace \ + --scheme App \ + --no-show-build-settings \ + --disable-xcpretty + artifacts: + - build/ios/ipa/*.ipa + + ios-release: + name: iOS – Release IPA + max_build_duration: 90 + instance_type: mac_mini_m2 + environment: + node: 22 + xcode: latest + scripts: + - name: Strip unused scaffold packages + script: | + for pkg in "@capacitor/google-maps" "@capacitor/push-notifications" "@capacitor-firebase/authentication"; do + if ! grep -rq "$pkg" src/; then + node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.dependencies['${pkg}'];fs.writeFileSync('package.json',JSON.stringify(p,null,2));" + echo "Stripped $pkg (not used in src/)" + else + echo "Keeping $pkg (used in src/)" + fi + done + - name: Install dependencies + script: rm -f package-lock.json && npm install --legacy-peer-deps + - name: Build web assets + script: npm run build + - name: Capacitor sync + script: npx cap sync ios + - name: Configure Xcode project + script: | + if [ -n "$GOOGLE_SERVICE_INFO_PLIST" ]; then + echo "$GOOGLE_SERVICE_INFO_PLIST" | base64 --decode > ios/App/App/GoogleService-Info.plist + fi + - name: Capacitor sync + script: npx cap sync ios + - name: Configure Xcode project + script: ruby configure_xcode.rb + - name: Set up signing + script: | + keychain initialize + if [ -n "$APP_STORE_CONNECT_PRIVATE_KEY" ]; then + app-store-connect fetch-signing-files \ + $(xcode-project detect-bundle-id) \ + --type IOS_APP_STORE \ + --certificate-key=@env:APP_STORE_CONNECT_PRIVATE_KEY \ + --issuer-id=$APP_STORE_CONNECT_ISSUER_ID \ + --key-id=$APP_STORE_CONNECT_KEY_IDENTIFIER \ + --create + xcode-project use-profiles + else + echo "$CM_CERTIFICATE" | base64 --decode > /tmp/cert.p12 + keychain add-certificates \ + --certificate /tmp/cert.p12 \ + --certificate-password "$CM_CERTIFICATE_PASSWORD" + mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles" + echo "$CM_PROVISIONING_PROFILE" | base64 --decode > "$HOME/Library/MobileDevice/Provisioning Profiles/profile.mobileprovision" + xcode-project use-profiles + fi + # See ios-debug Build IPA comments for --workspace, --no-show-build-settings, + # and --disable-xcpretty rationale — same reasons apply here. + - name: Build IPA + script: | + xcode-project build-ipa \ + --workspace ios/App/App.xcworkspace \ + --scheme App \ + --config Release \ + --no-show-build-settings \ + --disable-xcpretty + - name: Publish + script: | + if [ "$SUBMIT_TO_TESTFLIGHT" = "true" ] || [ "$SUBMIT_TO_APP_STORE" = "true" ]; then + app-store-connect publish \ + --certificate-key=@env:APP_STORE_CONNECT_PRIVATE_KEY \ + --issuer-id=$APP_STORE_CONNECT_ISSUER_ID \ + --key-id=$APP_STORE_CONNECT_KEY_IDENTIFIER \ + --submit-to-testflight=$SUBMIT_TO_TESTFLIGHT \ + --submit-to-app-store=$SUBMIT_TO_APP_STORE + fi + artifacts: + - build/ios/ipa/*.ipa diff --git a/configure_xcode.rb b/configure_xcode.rb new file mode 100644 index 0000000..85e1e40 --- /dev/null +++ b/configure_xcode.rb @@ -0,0 +1,118 @@ +#!/usr/bin/env ruby +# configure_xcode.rb — stamped fresh from template on every build (see gitea.service.ts) +# +# 1. Adds GoogleService-Info.plist to the Xcode target if present (xcodeproj gem) +# 2. Scans Swift sources for Firebase imports and injects matching products into +# CapApp-SPM/Package.swift — the correct approach for Capacitor SPM projects +# where all native linking goes through CapApp-SPM, not App.xcodeproj directly. + +require 'xcodeproj' + +PROJECT_PATH = 'ios/App/App.xcodeproj' +TARGET_NAME = 'App' +PLIST_SRC = 'ios/App/App/GoogleService-Info.plist' +CAP_APP_SPM = 'ios/App/CapApp-SPM/Package.swift' + +# ── 1. GoogleService-Info.plist ─────────────────────────────────────────────── +if File.exist?(PLIST_SRC) + project = Xcodeproj::Project.open(PROJECT_PATH) + target = project.targets.find { |t| t.name == TARGET_NAME } + if target + app_group = project.main_group['App'] + unless app_group&.files&.find { |f| f.path == 'GoogleService-Info.plist' } + file_ref = app_group.new_reference('GoogleService-Info.plist') + target.resources_build_phase.add_file_reference(file_ref) + project.save + puts "Added GoogleService-Info.plist to target" + end + end +end + +# ── 2. Scan Swift sources for Firebase imports ──────────────────────────────── +swift_files = Dir['ios/App/App/**/*.swift'] +firebase_imports = swift_files + .flat_map { |f| File.readlines(f) rescue [] } + .grep(/^\s*import\s+Firebase\w+/) + .map { |l| l.strip.split(/\s+/).last } + .uniq + .sort + +if firebase_imports.empty? + puts "No Firebase imports found — skipping CapApp-SPM update" + exit 0 +end + +puts "Firebase imports detected: #{firebase_imports.join(', ')}" + +unless File.exist?(CAP_APP_SPM) + warn "WARNING: #{CAP_APP_SPM} not found — was cap sync run?" + exit 0 +end + +# ── 3. Detect firebase-ios-sdk URL and version from node_modules ────────────── +# Read from the ACTUAL node_modules on this build machine (populated by npm install) +# so the version we inject matches what @capacitor-firebase/* already resolved. +firebase_url = nil +firebase_version = nil + +Dir['node_modules/@capacitor-firebase/**/Package.swift', + 'node_modules/@capacitor/push-notifications/**/Package.swift'].each do |f| + content = File.read(f) rescue next + url_m = content.match(/\.package\(url:\s*"(https:\/\/github\.com\/firebase\/firebase-ios-sdk[^"]*)"/) + ver_m = content.match(/firebase-ios-sdk[^)]+from:\s*"(\d+)\.(\d+)\.(\d+)"/) + next unless url_m && ver_m + + firebase_url = url_m[1] + major = ver_m[1].to_i + firebase_version = "#{major}.0.0" + puts "Detected firebase-ios-sdk from #{f}: url=#{firebase_url} → using from: \"#{firebase_version}\"" + break +end + +# Fallback — should rarely be needed +unless firebase_url + firebase_url = 'https://github.com/firebase/firebase-ios-sdk.git' + firebase_version = '11.0.0' + puts "Could not detect firebase-ios-sdk version from node_modules — using fallback #{firebase_version}" +end + +firebase_pkg = 'firebase-ios-sdk' + +lines = File.read(CAP_APP_SPM).split("\n") + +# ── 4. Inject firebase-ios-sdk as a direct package dependency if missing ────── +# Normalise URL check to handle both with and without .git suffix +firebase_url_base = firebase_url.sub(/\.git$/, '') +unless lines.any? { |l| l.include?(firebase_url_base) } + last_pkg_idx = lines.rindex { |l| l.include?('.package(') } + if last_pkg_idx + lines[last_pkg_idx] = lines[last_pkg_idx].rstrip + lines[last_pkg_idx] += ',' unless lines[last_pkg_idx].end_with?(',') + lines.insert(last_pkg_idx + 1, + " .package(url: \"#{firebase_url}\", from: \"#{firebase_version}\")") + puts "Added #{firebase_pkg} to CapApp-SPM package dependencies" + else + warn "WARNING: no .package( line found in #{CAP_APP_SPM} — cannot inject dependency" + end +end + +# ── 5. Inject each detected product into the target dependencies if missing ─── +firebase_imports.each do |product| + next if product == 'Firebase' # umbrella import — not a linkable SPM product + + product_str = ".product(name: \"#{product}\", package: \"#{firebase_pkg}\")" + next if lines.any? { |l| l.include?(product_str) } + + last_prod_idx = lines.rindex { |l| l.include?('.product(') } + if last_prod_idx + lines[last_prod_idx] = lines[last_prod_idx].rstrip + lines[last_prod_idx] += ',' unless lines[last_prod_idx].end_with?(',') + lines.insert(last_prod_idx + 1, " #{product_str}") + puts "Added #{product} to CapApp-SPM target dependencies" + else + warn "WARNING: no .product( line found in #{CAP_APP_SPM} — cannot inject #{product}" + end +end + +File.write(CAP_APP_SPM, lines.join("\n")) +puts "CapApp-SPM/Package.swift updated" diff --git a/index.html b/index.html new file mode 100644 index 0000000..e19807b --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + + + + Ionic App + + + + + + + + + + + + + + + + +
+ + + diff --git a/ionic.config.json b/ionic.config.json new file mode 100644 index 0000000..a1d1b22 --- /dev/null +++ b/ionic.config.json @@ -0,0 +1,5 @@ +{ + "name": "app", + "integrations": {}, + "type": "react-vite" +} diff --git a/ios/.gitignore b/ios/.gitignore new file mode 100644 index 0000000..f470299 --- /dev/null +++ b/ios/.gitignore @@ -0,0 +1,13 @@ +App/build +App/Pods +App/output +App/App/public +DerivedData +xcuserdata + +# Cordova plugins for Capacitor +capacitor-cordova-ios-plugins + +# Generated Config files +App/App/capacitor.config.json +App/App/config.xml diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5e550e6 --- /dev/null +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -0,0 +1,376 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 60; + objects = { + +/* Begin PBXBuildFile section */ + 2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; }; + 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */ = {isa = PBXBuildFile; productRef = 4D22ABE82AF431CB00220026 /* CapApp-SPM */; }; + 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; }; + 504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; }; + 504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; }; + 504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; }; + 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; }; + 50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = ""; }; + 50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = ""; }; + 504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 504EC30C1FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = ""; }; + 958DCC722DB07C7200EA8C5F /* debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = debug.xcconfig; path = ../debug.xcconfig; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 504EC3011FED79650016851F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 504EC2FB1FED79650016851F = { + isa = PBXGroup; + children = ( + 958DCC722DB07C7200EA8C5F /* debug.xcconfig */, + 504EC3061FED79650016851F /* App */, + 504EC3051FED79650016851F /* Products */, + ); + sourceTree = ""; + }; + 504EC3051FED79650016851F /* Products */ = { + isa = PBXGroup; + children = ( + 504EC3041FED79650016851F /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 504EC3061FED79650016851F /* App */ = { + isa = PBXGroup; + children = ( + 50379B222058CBB4000EE86E /* capacitor.config.json */, + 504EC3071FED79650016851F /* AppDelegate.swift */, + 504EC30B1FED79650016851F /* Main.storyboard */, + 504EC30E1FED79650016851F /* Assets.xcassets */, + 504EC3101FED79650016851F /* LaunchScreen.storyboard */, + 504EC3131FED79650016851F /* Info.plist */, + 2FAD9762203C412B000D30F8 /* config.xml */, + 50B271D01FEDC1A000F3C39B /* public */, + ); + path = App; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 504EC3031FED79650016851F /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 504EC3001FED79650016851F /* Sources */, + 504EC3011FED79650016851F /* Frameworks */, + 504EC3021FED79650016851F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + packageProductDependencies = ( + 4D22ABE82AF431CB00220026 /* CapApp-SPM */, + ); + productName = App; + productReference = 504EC3041FED79650016851F /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 504EC2FC1FED79650016851F /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 0920; + TargetAttributes = { + 504EC3031FED79650016851F = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1100; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 504EC2FB1FED79650016851F; + packageReferences = ( + D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */, + ); + productRefGroup = 504EC3051FED79650016851F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 504EC3031FED79650016851F /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 504EC3021FED79650016851F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */, + 50B271D11FEDC1A000F3C39B /* public in Resources */, + 504EC30F1FED79650016851F /* Assets.xcassets in Resources */, + 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */, + 504EC30D1FED79650016851F /* Main.storyboard in Resources */, + 2FAD9763203C412B000D30F8 /* config.xml in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 504EC3001FED79650016851F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 504EC3081FED79650016851F /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 504EC30B1FED79650016851F /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 504EC30C1FED79650016851F /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 504EC3101FED79650016851F /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 504EC3111FED79650016851F /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 504EC3141FED79650016851F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 958DCC722DB07C7200EA8C5F /* debug.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 504EC3151FED79650016851F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 504EC3171FED79650016851F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 958DCC722DB07C7200EA8C5F /* debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = App/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; + PRODUCT_BUNDLE_IDENTIFIER = com.bringg.app; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 504EC3181FED79650016851F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = App/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.bringg.app; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 504EC3141FED79650016851F /* Debug */, + 504EC3151FED79650016851F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 504EC3171FED79650016851F /* Debug */, + 504EC3181FED79650016851F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = "CapApp-SPM"; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 4D22ABE82AF431CB00220026 /* CapApp-SPM */ = { + isa = XCSwiftPackageProductDependency; + package = D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */; + productName = "CapApp-SPM"; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 504EC2FC1FED79650016851F /* Project object */; +} diff --git a/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/App/App.xcworkspace/contents.xcworkspacedata b/ios/App/App.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b3795ee --- /dev/null +++ b/ios/App/App.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/App/App/App.entitlements b/ios/App/App/App.entitlements new file mode 100644 index 0000000..6631ffa --- /dev/null +++ b/ios/App/App/App.entitlements @@ -0,0 +1,6 @@ + + + + + + diff --git a/ios/App/App/AppDelegate.swift b/ios/App/App/AppDelegate.swift new file mode 100644 index 0000000..c3cd83b --- /dev/null +++ b/ios/App/App/AppDelegate.swift @@ -0,0 +1,49 @@ +import UIKit +import Capacitor + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool { + // Called when the app was launched with a url. Feel free to add additional processing here, + // but if you want the App API to support tracking app url opens, make sure to keep this call + return ApplicationDelegateProxy.shared.application(app, open: url, options: options) + } + + func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { + // Called when the app was launched with an activity, including Universal Links. + // Feel free to add additional processing here, but if you want the App API to support + // tracking app url opens, make sure to keep this call + return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler) + } + +} diff --git a/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png new file mode 100644 index 0000000..adf6ba0 Binary files /dev/null and b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png differ diff --git a/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9b7d382 --- /dev/null +++ b/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,14 @@ +{ + "images" : [ + { + "filename" : "AppIcon-512@2x.png", + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/App/App/Assets.xcassets/Contents.json b/ios/App/App/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/ios/App/App/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json b/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json new file mode 100644 index 0000000..d7d96a6 --- /dev/null +++ b/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "splash-2732x2732-2.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "splash-2732x2732-1.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "splash-2732x2732.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png differ diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png differ diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png differ diff --git a/ios/App/App/Base.lproj/LaunchScreen.storyboard b/ios/App/App/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..e7ae5d7 --- /dev/null +++ b/ios/App/App/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/App/App/Base.lproj/Main.storyboard b/ios/App/App/Base.lproj/Main.storyboard new file mode 100644 index 0000000..b44df7b --- /dev/null +++ b/ios/App/App/Base.lproj/Main.storyboard @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/ios/App/App/Info.plist b/ios/App/App/Info.plist new file mode 100644 index 0000000..10eb1ab --- /dev/null +++ b/ios/App/App/Info.plist @@ -0,0 +1,62 @@ + + + + + CAPACITOR_DEBUG + $(CAPACITOR_DEBUG) + CFBundleDevelopmentRegion + en + CFBundleDisplayName + bringg + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + CFBundleURLTypes + + + CFBundleURLName + com.bringg.app + CFBundleURLSchemes + + com.bringg.app + + + + + diff --git a/ios/App/CapApp-SPM/.gitignore b/ios/App/CapApp-SPM/.gitignore new file mode 100644 index 0000000..3b29812 --- /dev/null +++ b/ios/App/CapApp-SPM/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +xcuserdata/ +DerivedData/ +.swiftpm/config/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/ios/App/CapApp-SPM/Package.swift b/ios/App/CapApp-SPM/Package.swift new file mode 100644 index 0000000..5cde8b6 --- /dev/null +++ b/ios/App/CapApp-SPM/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version: 5.9 +import PackageDescription + +// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands +let package = Package( + name: "CapApp-SPM", + platforms: [.iOS(.v15)], + products: [ + .library( + name: "CapApp-SPM", + targets: ["CapApp-SPM"]) + ], + dependencies: [ + .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0") + ], + targets: [ + .target( + name: "CapApp-SPM", + dependencies: [ + .product(name: "Capacitor", package: "capacitor-swift-pm"), + .product(name: "Cordova", package: "capacitor-swift-pm") + ] + ) + ] +) diff --git a/ios/App/CapApp-SPM/README.md b/ios/App/CapApp-SPM/README.md new file mode 100644 index 0000000..03964db --- /dev/null +++ b/ios/App/CapApp-SPM/README.md @@ -0,0 +1,5 @@ +# CapApp-SPM + +This package is used to host SPM dependencies for your Capacitor project + +Do not modify the contents of it or there may be unintended consequences. diff --git a/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift b/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift new file mode 100644 index 0000000..945afec --- /dev/null +++ b/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift @@ -0,0 +1 @@ +public let isCapacitorApp = true diff --git a/ios/debug.xcconfig b/ios/debug.xcconfig new file mode 100644 index 0000000..53ce18d --- /dev/null +++ b/ios/debug.xcconfig @@ -0,0 +1 @@ +CAPACITOR_DEBUG = true diff --git a/package.json b/package.json new file mode 100644 index 0000000..dad1c6f --- /dev/null +++ b/package.json @@ -0,0 +1,52 @@ +{ + "name": "app", + "private": true, + "version": "0.0.1", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview", + "lint": "eslint" + }, + "dependencies": { + "@capacitor-firebase/authentication": "^8.0.0", + "@capacitor/android": "8.3.4", + "@capacitor/app": "8.1.0", + "@capacitor/core": "8.3.4", + "@capacitor/google-maps": "^8.0.0", + "@capacitor/haptics": "8.0.2", + "@capacitor/ios": "8.3.4", + "@capacitor/keyboard": "8.0.3", + "@capacitor/push-notifications": "^8.1.1", + "@capacitor/status-bar": "8.0.2", + "@ionic/pwa-elements": "^3.0.0", + "@ionic/react": "^8.5.0", + "@ionic/react-router": "^8.5.0", + "@supabase/supabase-js": "^2.0.0", + "firebase": "^11.0.0", + "ionicons": "^7.4.0", + "katex": "^0.16.0", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-hook-form": "^7.54.0", + "react-katex": "^3.0.1", + "react-router": "^5.3.4", + "react-router-dom": "^5.3.4", + "zod": "^3.24.0", + "zustand": "^5.0.0" + }, + "devDependencies": { + "@capacitor/cli": "8.3.4", + "@types/katex": "^0.16.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "@types/react-router": "^5.1.20", + "@types/react-router-dom": "^5.3.3", + "@vitejs/plugin-react": "^4.0.1", + "terser": "^5.4.0", + "typescript": "~5.9.0", + "vite": "^5.0.0" + }, + "description": "An Ionic project" +} diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..2ce8c03 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "Ionic App", + "name": "My Ionic App", + "icons": [ + { + "src": "assets/icon/favicon.png", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#ffffff", + "background_color": "#ffffff" +} diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..0eab2b2 --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,73 @@ +import React from 'react'; +import { Redirect, Route } from 'react-router-dom'; +import { IonApp, IonRouterOutlet } from '@ionic/react'; +import { IonReactRouter } from '@ionic/react-router'; + +import '@ionic/react/css/core.css'; +import '@ionic/react/css/normalize.css'; +import '@ionic/react/css/structure.css'; +import '@ionic/react/css/typography.css'; +import '@ionic/react/css/padding.css'; +import '@ionic/react/css/float-elements.css'; +import '@ionic/react/css/text-alignment.css'; +import '@ionic/react/css/text-transformation.css'; +import '@ionic/react/css/flex-utils.css'; +import '@ionic/react/css/display.css'; + +import './theme/variables.css'; + +import Home from './pages/Home'; +import ProductDetail from './pages/ProductDetail'; +import Cart from './pages/Cart'; +import OrderConfirmation from './pages/OrderConfirmation'; +import MyOrders from './pages/MyOrders'; +import OrderDetail from './pages/OrderDetail'; +import Auth from './pages/Auth'; +import Profile from './pages/Profile'; +import Addresses from './pages/Addresses'; +import Wallet from './pages/Wallet'; +import PaymentMethods from './pages/PaymentMethods'; +import AddPaymentMethod from './pages/AddPaymentMethod'; +import AdminOrders from './pages/AdminOrders'; +import AdminOrderDetail from './pages/AdminOrderDetail'; +import { AuthProvider } from './context/AuthContext'; + +const App: React.FC = () => ( + + + + + + + + + + + + + + + + + + + + + + + +); + +export default App; diff --git a/src/assets/Untitled (Presentation).png b/src/assets/Untitled (Presentation).png new file mode 100644 index 0000000..a9e3558 Binary files /dev/null and b/src/assets/Untitled (Presentation).png differ diff --git a/src/assets/artisan-sourdough-bread.png b/src/assets/artisan-sourdough-bread.png new file mode 100644 index 0000000..ef8501b Binary files /dev/null and b/src/assets/artisan-sourdough-bread.png differ diff --git a/src/assets/bananas-bunch.png b/src/assets/bananas-bunch.png new file mode 100644 index 0000000..1700966 Binary files /dev/null and b/src/assets/bananas-bunch.png differ diff --git a/src/assets/brown-rice-bag.png b/src/assets/brown-rice-bag.png new file mode 100644 index 0000000..eacce04 Binary files /dev/null and b/src/assets/brown-rice-bag.png differ diff --git a/src/assets/carrots-bag.png b/src/assets/carrots-bag.png new file mode 100644 index 0000000..53ca4b3 Binary files /dev/null and b/src/assets/carrots-bag.png differ diff --git a/src/assets/cheddar-cheese-block.png b/src/assets/cheddar-cheese-block.png new file mode 100644 index 0000000..d06c00e Binary files /dev/null and b/src/assets/cheddar-cheese-block.png differ diff --git a/src/assets/chicken-breast-pack.png b/src/assets/chicken-breast-pack.png new file mode 100644 index 0000000..72e4425 Binary files /dev/null and b/src/assets/chicken-breast-pack.png differ diff --git a/src/assets/coffee-beans-bag.png b/src/assets/coffee-beans-bag.png new file mode 100644 index 0000000..b474645 Binary files /dev/null and b/src/assets/coffee-beans-bag.png differ diff --git a/src/assets/farm-eggs-carton.png b/src/assets/farm-eggs-carton.png new file mode 100644 index 0000000..c169902 Binary files /dev/null and b/src/assets/farm-eggs-carton.png differ diff --git a/src/assets/fresh-strawberries-pack.png b/src/assets/fresh-strawberries-pack.png new file mode 100644 index 0000000..2297b4d Binary files /dev/null and b/src/assets/fresh-strawberries-pack.png differ diff --git a/src/assets/greek-yogurt-cup.png b/src/assets/greek-yogurt-cup.png new file mode 100644 index 0000000..4afb631 Binary files /dev/null and b/src/assets/greek-yogurt-cup.png differ diff --git a/src/assets/green-tea-box.png b/src/assets/green-tea-box.png new file mode 100644 index 0000000..a1afbf7 Binary files /dev/null and b/src/assets/green-tea-box.png differ diff --git a/src/assets/lettuce-head.png b/src/assets/lettuce-head.png new file mode 100644 index 0000000..10fa228 Binary files /dev/null and b/src/assets/lettuce-head.png differ diff --git a/src/assets/olive-oil-bottle.png b/src/assets/olive-oil-bottle.png new file mode 100644 index 0000000..7d5dd17 Binary files /dev/null and b/src/assets/olive-oil-bottle.png differ diff --git a/src/assets/onions-net-bag.png b/src/assets/onions-net-bag.png new file mode 100644 index 0000000..8266d41 Binary files /dev/null and b/src/assets/onions-net-bag.png differ diff --git a/src/assets/orange-juice-bottle.png b/src/assets/orange-juice-bottle.png new file mode 100644 index 0000000..8369860 Binary files /dev/null and b/src/assets/orange-juice-bottle.png differ diff --git a/src/assets/organic-avocado-oil.png b/src/assets/organic-avocado-oil.png new file mode 100644 index 0000000..ec52b30 Binary files /dev/null and b/src/assets/organic-avocado-oil.png differ diff --git a/src/assets/pasta-spaghetti-pack.png b/src/assets/pasta-spaghetti-pack.png new file mode 100644 index 0000000..732a041 Binary files /dev/null and b/src/assets/pasta-spaghetti-pack.png differ diff --git a/src/assets/peanut-butter-jar.png b/src/assets/peanut-butter-jar.png new file mode 100644 index 0000000..da6d3ad Binary files /dev/null and b/src/assets/peanut-butter-jar.png differ diff --git a/src/assets/potatoes-bag.png b/src/assets/potatoes-bag.png new file mode 100644 index 0000000..4bc6977 Binary files /dev/null and b/src/assets/potatoes-bag.png differ diff --git a/src/assets/rolled-oats-pack.png b/src/assets/rolled-oats-pack.png new file mode 100644 index 0000000..b5e439b Binary files /dev/null and b/src/assets/rolled-oats-pack.png differ diff --git a/src/assets/salmon-fillet-pack.png b/src/assets/salmon-fillet-pack.png new file mode 100644 index 0000000..88a6f7f Binary files /dev/null and b/src/assets/salmon-fillet-pack.png differ diff --git a/src/assets/sparkling-water-pack.png b/src/assets/sparkling-water-pack.png new file mode 100644 index 0000000..6d4b326 Binary files /dev/null and b/src/assets/sparkling-water-pack.png differ diff --git a/src/assets/tomato-sauce-jar.png b/src/assets/tomato-sauce-jar.png new file mode 100644 index 0000000..704f7d2 Binary files /dev/null and b/src/assets/tomato-sauce-jar.png differ diff --git a/src/assets/whole-milk-carton.png b/src/assets/whole-milk-carton.png new file mode 100644 index 0000000..1d1d105 Binary files /dev/null and b/src/assets/whole-milk-carton.png differ diff --git a/src/components/AdminRoute.tsx b/src/components/AdminRoute.tsx new file mode 100644 index 0000000..a7c14f5 --- /dev/null +++ b/src/components/AdminRoute.tsx @@ -0,0 +1,36 @@ +import React from 'react'; +import { Redirect, Route, RouteProps } from 'react-router-dom'; +import { IonLoading } from '@ionic/react'; +import { useAuth } from '../context/AuthContext'; + +type Props = RouteProps; + +const AdminRoute: React.FC = ({ component: Component, ...rest }) => { + const { user, profile, isLoading } = useAuth(); + + if (!Component) return null; + + return ( + { + if (isLoading) { + return ; + } + + if (!user) { + return ; + } + + if (!profile?.is_admin) { + return ; + } + + const RouteComponent = Component as React.ComponentType; + return ; + }} + /> + ); +}; + +export default AdminRoute; diff --git a/src/components/ProductFilters.tsx b/src/components/ProductFilters.tsx new file mode 100644 index 0000000..ae10d74 --- /dev/null +++ b/src/components/ProductFilters.tsx @@ -0,0 +1,101 @@ +import React from 'react'; +import { + IonButton, + IonIcon, + IonLabel, + IonModal, + IonRadio, + IonRadioGroup, + IonItem, + IonList, +} from '@ionic/react'; +import { funnelOutline } from 'ionicons/icons'; + +export type SortOption = 'popular' | 'price-asc' | 'price-desc' | 'name-asc'; + +type Props = { + categories: string[]; + selectedCategory: string; + setSelectedCategory: (value: string) => void; + sortOption: SortOption; + setSortOption: (value: SortOption) => void; + isOpen: boolean; + onClose: () => void; +}; + +const ProductFilters: React.FC = ({ + categories, + selectedCategory, + setSelectedCategory, + sortOption, + setSortOption, + isOpen, + onClose, +}) => ( + <> +
+
+ setSelectedCategory('All')} + > + All + + {categories.map((category) => ( + setSelectedCategory(category)} + > + {category} + + ))} +
+ + + Filters + +
+ + +
+

Sort products

+ setSortOption(e.detail.value)} + > + + + Most popular + + + + Price: low to high + + + + Price: high to low + + + + Name: A to Z + + + + + + Done + +
+
+ +); + +export default ProductFilters; diff --git a/src/components/ProtectedRoute.tsx b/src/components/ProtectedRoute.tsx new file mode 100644 index 0000000..a7c49ee --- /dev/null +++ b/src/components/ProtectedRoute.tsx @@ -0,0 +1,32 @@ +import React from 'react'; +import { Redirect, Route, RouteProps } from 'react-router-dom'; +import { IonLoading } from '@ionic/react'; +import { useAuth } from '../context/AuthContext'; + +type Props = RouteProps; + +const ProtectedRoute: React.FC = ({ component: Component, ...rest }) => { + const { user, isLoading } = useAuth(); + + if (!Component) return null; + + return ( + { + if (isLoading) { + return ; + } + + if (!user) { + return ; + } + + const RouteComponent = Component as React.ComponentType; + return ; + }} + /> + ); +}; + +export default ProtectedRoute; diff --git a/src/context/AuthContext.tsx b/src/context/AuthContext.tsx new file mode 100644 index 0000000..ecdbffe --- /dev/null +++ b/src/context/AuthContext.tsx @@ -0,0 +1,97 @@ +import React, { + createContext, + useContext, + useEffect, + useMemo, + useState, +} from 'react'; +import type { Session, User } from '@supabase/supabase-js'; +import { supabase } from '../supabase'; +import type { Tables } from '../database.types'; + +type Profile = Tables<'profiles'>; + +type AuthContextValue = { + session: Session | null; + user: User | null; + profile: Profile | null; + isLoading: boolean; + refreshProfile: () => Promise; + signOut: () => Promise; +}; + +const AuthContext = createContext(undefined); + +export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ + children, +}) => { + const [session, setSession] = useState(null); + const [user, setUser] = useState(null); + const [profile, setProfile] = useState(null); + const [isLoading, setIsLoading] = useState(true); + + const loadProfile = async (userId: string | null) => { + if (!userId) { + setProfile(null); + return; + } + + const { data } = await supabase + .from('profiles') + .select('*') + .eq('id', userId) + .maybeSingle(); + setProfile(data ?? null); + }; + + useEffect(() => { + let isMounted = true; + + supabase.auth.getSession().then(async ({ data }) => { + if (!isMounted) return; + const nextSession = data.session ?? null; + setSession(nextSession); + setUser(nextSession?.user ?? null); + await loadProfile(nextSession?.user?.id ?? null); + if (isMounted) setIsLoading(false); + }); + + const { + data: { subscription }, + } = supabase.auth.onAuthStateChange(async (_event, nextSession) => { + setSession(nextSession); + setUser(nextSession?.user ?? null); + await loadProfile(nextSession?.user?.id ?? null); + setIsLoading(false); + }); + + return () => { + isMounted = false; + subscription.unsubscribe(); + }; + }, []); + + const value = useMemo( + () => ({ + session, + user, + profile, + isLoading, + refreshProfile: async () => loadProfile(user?.id ?? null), + signOut: async () => { + await supabase.auth.signOut(); + }, + }), + [session, user, profile, isLoading] + ); + + return {children}; +}; + +export const useAuth = () => { + const context = useContext(AuthContext); + if (!context) { + throw new Error('useAuth must be used within AuthProvider'); + } + return context; +}; diff --git a/src/database.types.ts b/src/database.types.ts new file mode 100644 index 0000000..e386291 --- /dev/null +++ b/src/database.types.ts @@ -0,0 +1,425 @@ +export type Json = + | string + | number + | boolean + | null + | { [key: string]: Json | undefined } + | Json[] + +export type Database = { + // Allows to automatically instantiate createClient with right options + // instead of createClient(URL, KEY) + __InternalSupabase: { + PostgrestVersion: "14.5" + } + public: { + Tables: { + addresses: { + Row: { + address_line: string + created_at: string + id: string + is_default: boolean + label: string + notes: string | null + phone: string + recipient_name: string + user_id: string + } + Insert: { + address_line: string + created_at?: string + id?: string + is_default?: boolean + label: string + notes?: string | null + phone: string + recipient_name: string + user_id: string + } + Update: { + address_line?: string + created_at?: string + id?: string + is_default?: boolean + label?: string + notes?: string | null + phone?: string + recipient_name?: string + user_id?: string + } + Relationships: [] + } + order_items: { + Row: { + created_at: string + id: string + order_id: string + product_id: string + product_name: string + quantity: number + unit_price: number + } + Insert: { + created_at?: string + id?: string + order_id: string + product_id: string + product_name: string + quantity: number + unit_price: number + } + Update: { + created_at?: string + id?: string + order_id?: string + product_id?: string + product_name?: string + quantity?: number + unit_price?: number + } + Relationships: [ + { + foreignKeyName: "order_items_order_id_fkey" + columns: ["order_id"] + isOneToOne: false + referencedRelation: "orders" + referencedColumns: ["id"] + }, + ] + } + orders: { + Row: { + address_id: string | null + created_at: string + customer_name: string | null + customer_phone: string | null + delivery_address: string | null + delivery_fee: number + delivery_notes: string | null + id: string + item_count: number + order_number: string + status: string + subtotal: number + total: number + user_id: string | null + } + Insert: { + address_id?: string | null + created_at?: string + customer_name?: string | null + customer_phone?: string | null + delivery_address?: string | null + delivery_fee?: number + delivery_notes?: string | null + id?: string + item_count?: number + order_number: string + status?: string + subtotal?: number + total?: number + user_id?: string | null + } + Update: { + address_id?: string | null + created_at?: string + customer_name?: string | null + customer_phone?: string | null + delivery_address?: string | null + delivery_fee?: number + delivery_notes?: string | null + id?: string + item_count?: number + order_number?: string + status?: string + subtotal?: number + total?: number + user_id?: string | null + } + Relationships: [ + { + foreignKeyName: "orders_address_id_fkey" + columns: ["address_id"] + isOneToOne: false + referencedRelation: "addresses" + referencedColumns: ["id"] + }, + ] + } + payment_methods: { + Row: { + brand: string + cardholder_name: string | null + created_at: string + expiry_month: number + expiry_year: number + id: string + is_default: boolean + last4: string + user_id: string + } + Insert: { + brand: string + cardholder_name?: string | null + created_at?: string + expiry_month: number + expiry_year: number + id?: string + is_default?: boolean + last4: string + user_id: string + } + Update: { + brand?: string + cardholder_name?: string | null + created_at?: string + expiry_month?: number + expiry_year?: number + id?: string + is_default?: boolean + last4?: string + user_id?: string + } + Relationships: [] + } + profiles: { + Row: { + created_at: string + full_name: string | null + id: string + is_admin: boolean + phone: string | null + updated_at: string + } + Insert: { + created_at?: string + full_name?: string | null + id: string + is_admin?: boolean + phone?: string | null + updated_at?: string + } + Update: { + created_at?: string + full_name?: string | null + id?: string + is_admin?: boolean + phone?: string | null + updated_at?: string + } + Relationships: [] + } + wallet_transactions: { + Row: { + amount: number + created_at: string + description: string | null + id: string + order_id: string | null + title: string + type: string + wallet_id: string + } + Insert: { + amount: number + created_at?: string + description?: string | null + id?: string + order_id?: string | null + title: string + type: string + wallet_id: string + } + Update: { + amount?: number + created_at?: string + description?: string | null + id?: string + order_id?: string | null + title?: string + type?: string + wallet_id?: string + } + Relationships: [ + { + foreignKeyName: "wallet_transactions_order_id_fkey" + columns: ["order_id"] + isOneToOne: false + referencedRelation: "orders" + referencedColumns: ["id"] + }, + { + foreignKeyName: "wallet_transactions_wallet_id_fkey" + columns: ["wallet_id"] + isOneToOne: false + referencedRelation: "wallets" + referencedColumns: ["id"] + }, + ] + } + wallets: { + Row: { + balance: number + created_at: string + currency: string + id: string + updated_at: string + user_id: string + } + Insert: { + balance?: number + created_at?: string + currency?: string + id?: string + updated_at?: string + user_id: string + } + Update: { + balance?: number + created_at?: string + currency?: string + id?: string + updated_at?: string + user_id?: string + } + Relationships: [] + } + } + Views: { + [_ in never]: never + } + Functions: { + [_ in never]: never + } + Enums: { + [_ in never]: never + } + CompositeTypes: { + [_ in never]: never + } + } +} + +type DatabaseWithoutInternals = Omit + +type DefaultSchema = DatabaseWithoutInternals[Extract] + +export type Tables< + DefaultSchemaTableNameOrOptions extends + | keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) + | { schema: keyof DatabaseWithoutInternals }, + TableName extends DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals + } + ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & + DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) + : never = never, +> = DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals +} + ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & + DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends { + Row: infer R + } + ? R + : never + : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & + DefaultSchema["Views"]) + ? (DefaultSchema["Tables"] & + DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends { + Row: infer R + } + ? R + : never + : never + +export type TablesInsert< + DefaultSchemaTableNameOrOptions extends + | keyof DefaultSchema["Tables"] + | { schema: keyof DatabaseWithoutInternals }, + TableName extends DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals + } + ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] + : never = never, +> = DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals +} + ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends { + Insert: infer I + } + ? I + : never + : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] + ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends { + Insert: infer I + } + ? I + : never + : never + +export type TablesUpdate< + DefaultSchemaTableNameOrOptions extends + | keyof DefaultSchema["Tables"] + | { schema: keyof DatabaseWithoutInternals }, + TableName extends DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals + } + ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] + : never = never, +> = DefaultSchemaTableNameOrOptions extends { + schema: keyof DatabaseWithoutInternals +} + ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends { + Update: infer U + } + ? U + : never + : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] + ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends { + Update: infer U + } + ? U + : never + : never + +export type Enums< + DefaultSchemaEnumNameOrOptions extends + | keyof DefaultSchema["Enums"] + | { schema: keyof DatabaseWithoutInternals }, + EnumName extends DefaultSchemaEnumNameOrOptions extends { + schema: keyof DatabaseWithoutInternals + } + ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] + : never = never, +> = DefaultSchemaEnumNameOrOptions extends { + schema: keyof DatabaseWithoutInternals +} + ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] + : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] + ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] + : never + +export type CompositeTypes< + PublicCompositeTypeNameOrOptions extends + | keyof DefaultSchema["CompositeTypes"] + | { schema: keyof DatabaseWithoutInternals }, + CompositeTypeName extends PublicCompositeTypeNameOrOptions extends { + schema: keyof DatabaseWithoutInternals + } + ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] + : never = never, +> = PublicCompositeTypeNameOrOptions extends { + schema: keyof DatabaseWithoutInternals +} + ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] + : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] + ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] + : never + +export const Constants = { + public: { + Enums: {}, + }, +} as const diff --git a/src/main.tsx b/src/main.tsx new file mode 100644 index 0000000..7cac7e7 --- /dev/null +++ b/src/main.tsx @@ -0,0 +1,106 @@ +import React from 'react'; +import { createRoot } from 'react-dom/client'; +import { setupIonicReact } from '@ionic/react'; +import { Capacitor } from '@capacitor/core'; +import App from './App'; + +// ── Ionic initialisation ────────────────────────────────────────────────────── +// ?mode=md|ios overrides (used by AppSuite preview); otherwise follow the platform. +const _urlMode = new URLSearchParams(window.location.search).get('mode'); +const _platform = Capacitor.getPlatform(); // 'ios' | 'android' | 'web' +setupIonicReact({ + mode: (_urlMode === 'md' ? 'md' : _urlMode === 'ios' ? 'ios' : _platform === 'android' ? 'md' : 'ios'), +}); + +// Derive the studio parent origin dynamically so this works in both dev +// (parent at localhost:3000) and production (parent at appcakes.qqura.com). +const studioOrigin = (() => { + try { + if (document.referrer) return new URL(document.referrer).origin; + } catch {} + return 'http://localhost:3000'; +})(); + +// ── Safe area bridge ────────────────────────────────────────────────────────── +// Priority: URL params (first load) → sessionStorage (HMR full-reloads) → postMessage. +// Capacitor sets env() natively in compiled apps; these paths cover the browser preview. +function _applyInsets(sat: string | null, sab: string | null) { + if (sat) { document.documentElement.style.setProperty('--ion-safe-area-top', `${sat}px`); sessionStorage.setItem('__apsuite_sat', sat); } + if (sab) { document.documentElement.style.setProperty('--ion-safe-area-bottom', `${sab}px`); sessionStorage.setItem('__apsuite_sab', sab); } +} + +const _sp = new URLSearchParams(window.location.search); +_applyInsets( + _sp.get('sat') ?? sessionStorage.getItem('__apsuite_sat'), + _sp.get('sab') ?? sessionStorage.getItem('__apsuite_sab'), +); + +window.addEventListener('message', (e) => { + if (e.data?.type !== '__apsuite_insets') return; + const { sat, sab } = e.data as { sat?: number; sab?: number }; + _applyInsets(sat != null ? String(sat) : null, sab != null ? String(sab) : null); +}); + +// Re-apply after React Fast Refresh so insets survive soft HMR cycles. +if (import.meta.hot) { + import.meta.hot.on('vite:afterUpdate', () => { + _applyInsets(sessionStorage.getItem('__apsuite_sat'), sessionStorage.getItem('__apsuite_sab')); + }); +} + +// ── Session bridge ──────────────────────────────────────────────────────────── +// Post auth session to the AppSuite parent frame so the AI can test auth-protected +// Edge Functions. Uses import.meta.glob so Vite never errors if supabase.ts is absent. +(async () => { + const mods = import.meta.glob('./supabase.ts', { eager: false }); + if ('./supabase.ts' in mods) { + try { + const { supabase } = await mods['./supabase.ts']() as { supabase: any }; + supabase.auth.onAuthStateChange((_event: unknown, session: any) => { + window.parent.postMessage( + { + type: '__apsuite_session', + access_token: session?.access_token ?? null, + email: session?.user?.email ?? null, + }, + studioOrigin, + ); + }); + } catch { + // supabase client failed to initialise — session bridge unavailable + } + } +})(); + +// ── Runtime error reporting ─────────────────────────────────────────────────── +// Forward uncaught errors to the AppSuite dev server so the AI can read them. +function reportError(message: string, stack?: string) { + fetch(`${studioOrigin}/api/agent/runtime-error`, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ message, stack }), + }).catch(() => {}); +} + +window.onerror = (_msg, _src, _line, _col, err) => { + reportError(String(_msg), err?.stack); + return false; +}; + +window.addEventListener('unhandledrejection', (e) => { + const err = e.reason as Error | undefined; + reportError(err?.message ?? String(e.reason), err?.stack); +}); + +// ── PWA Elements (Action Sheet, Camera, Toast etc. in browser preview) ──────── +import { defineCustomElements } from '@ionic/pwa-elements/loader'; +defineCustomElements(window); + +// ── App bootstrap ───────────────────────────────────────────────────────────── +const container = document.getElementById('root'); +const root = createRoot(container!); +root.render( + + + , +); diff --git a/src/pages/AddPaymentMethod.tsx b/src/pages/AddPaymentMethod.tsx new file mode 100644 index 0000000..15e758d --- /dev/null +++ b/src/pages/AddPaymentMethod.tsx @@ -0,0 +1,308 @@ +import React, { useMemo, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonInput, + IonItem, + IonLabel, + IonPage, + IonText, + IonToggle, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { cardOutline, chevronBackOutline } from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { useAuth } from '../context/AuthContext'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +const sanitizeCardNumber = (value: string) => + value.replace(/\D/g, '').slice(0, 19); +const sanitizeExpiry = (value: string) => { + const digits = value.replace(/\D/g, '').slice(0, 4); + if (digits.length <= 2) return digits; + return `${digits.slice(0, 2)}/${digits.slice(2)}`; +}; +const sanitizeCvv = (value: string) => value.replace(/\D/g, '').slice(0, 4); + +const detectBrand = (cardNumber: string) => { + if (/^4/.test(cardNumber)) return 'Visa'; + if (/^(5[1-5]|2[2-7])/.test(cardNumber)) return 'Mastercard'; + if (/^3[47]/.test(cardNumber)) return 'Amex'; + return 'Card'; +}; + +const AddPaymentMethod: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [cardholderName, setCardholderName] = useState(''); + const [cardNumber, setCardNumber] = useState(''); + const [expiry, setExpiry] = useState(''); + const [cvv, setCvv] = useState(''); + const [setAsDefault, setSetAsDefault] = useState(true); + const [isPreviewBack, setIsPreviewBack] = useState(false); + const [isSubmitting, setIsSubmitting] = useState(false); + const [message, setMessage] = useState(''); + const [error, setError] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Light); + }); + + const showError = (text: string) => { + setError(text); + window.setTimeout(() => setError(''), 4000); + }; + + const formattedCardNumber = useMemo(() => { + return sanitizeCardNumber(cardNumber) + .replace(/(.{4})/g, '$1 ') + .trim(); + }, [cardNumber]); + + const cardBrand = detectBrand(sanitizeCardNumber(cardNumber)); + const previewNumber = formattedCardNumber || '1234 5678 9010 0010'; + const previewName = cardholderName.trim() || 'Andrew Johnson'; + const previewExpiry = expiry || '10/22'; + const previewCvv = cvv || '123'; + + const handleSave = async () => { + if (!user) { + history.replace('/auth'); + return; + } + + const cleanCardNumber = sanitizeCardNumber(cardNumber); + const cleanExpiry = sanitizeExpiry(expiry); + const [monthRaw, yearRaw] = cleanExpiry.split('/'); + const month = Number(monthRaw); + const year = Number(yearRaw); + + if (!cardholderName.trim()) return showError('Enter the name on card.'); + if (cleanCardNumber.length < 12) + return showError('Enter a valid card number.'); + if ( + !month || + month < 1 || + month > 12 || + String(yearRaw ?? '').length !== 2 + ) { + return showError('Enter a valid expiry date.'); + } + if (sanitizeCvv(cvv).length < 3) return showError('Enter a valid CVV.'); + + setIsSubmitting(true); + setError(''); + + if (setAsDefault) { + await supabase + .from('payment_methods') + .update({ is_default: false }) + .eq('user_id', user.id); + } + + const { error: insertError } = await supabase + .from('payment_methods') + .insert({ + user_id: user.id, + brand: detectBrand(cleanCardNumber), + last4: cleanCardNumber.slice(-4), + expiry_month: month, + expiry_year: 2000 + year, + cardholder_name: cardholderName.trim(), + is_default: setAsDefault, + }); + + setIsSubmitting(false); + + if (insertError) { + showError('Could not save this payment method.'); + return; + } + + setMessage('Payment method saved.'); + window.setTimeout(() => history.replace('/wallet/payment-methods'), 700); + }; + + return ( + + + +
+ history.replace('/wallet/payment-methods')} + > + + +
+ Wallet + Add card +
+ +
+
+
+ +
+

Add Credit Card

+

+ Save a card for faster checkout. Only masked card metadata is stored + in this phase. +

+
+ +
+
+ setIsPreviewBack((value) => !value)} + > + Show {isPreviewBack ? 'front' : 'back'} preview + +
+ +
+
+
+
+ {cardBrand} +
+
{previewNumber}
+
+
+ Cardholder Name + {previewName} +
+
+ Valid Thru + {previewExpiry} +
+
+
+ +
+
+
+ Security Code + {previewCvv} +
+
+
+
+ +
+ {message && ( + +

{message}

+
+ )} + {error && ( + +

{error}

+
+ )} + +
+
+ Card Number + + + setIsPreviewBack(false)} + onIonInput={(e) => setCardNumber(e.detail.value ?? '')} + /> + +
+ +
+ Cardholder Name + + setIsPreviewBack(false)} + onIonInput={(e) => setCardholderName(e.detail.value ?? '')} + /> + +
+ +
+ Valid Thru + + setIsPreviewBack(false)} + onIonInput={(e) => + setExpiry(sanitizeExpiry(e.detail.value ?? '')) + } + /> + +
+ +
+ Security Code (CVV) + + setIsPreviewBack(true)} + onIonInput={(e) => setCvv(sanitizeCvv(e.detail.value ?? ''))} + /> + +
+
+ +
+
+ Set as default +

Use this card first the next time you checkout.

+
+ setSetAsDefault(e.detail.checked)} + /> +
+ + + {isSubmitting ? 'Save Card' : 'Save Card'} + +
+ + + ); +}; + +export default AddPaymentMethod; diff --git a/src/pages/Addresses.tsx b/src/pages/Addresses.tsx new file mode 100644 index 0000000..3df7bec --- /dev/null +++ b/src/pages/Addresses.tsx @@ -0,0 +1,262 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonInput, + IonItem, + IonLabel, + IonList, + IonPage, + IonText, + IonTextarea, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { chevronBackOutline, trashOutline } from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { useAuth } from '../context/AuthContext'; +import type { Tables } from '../database.types'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Address = Tables<'addresses'>; + +const Addresses: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [addresses, setAddresses] = useState([]); + const [label, setLabel] = useState('Home'); + const [recipientName, setRecipientName] = useState(''); + const [phone, setPhone] = useState(''); + const [addressLine, setAddressLine] = useState(''); + const [notes, setNotes] = useState(''); + const [message, setMessage] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + }); + + const showMessage = (msg: string) => { + setMessage(msg); + window.setTimeout(() => setMessage(''), 4000); + }; + + const loadAddresses = async () => { + if (!user) return; + const { data } = await supabase + .from('addresses') + .select('*') + .eq('user_id', user.id) + .order('is_default', { ascending: false }) + .order('created_at', { ascending: false }); + setAddresses(data ?? []); + }; + + useEffect(() => { + loadAddresses(); + }, [user?.id]); + + const saveAddress = async () => { + if ( + !user || + !recipientName.trim() || + !phone.trim() || + !addressLine.trim() + ) { + showMessage('Complete the required address details.'); + return; + } + + const makeDefault = addresses.length === 0; + + if (makeDefault) { + await supabase + .from('addresses') + .update({ is_default: false }) + .eq('user_id', user.id); + } + + const { error } = await supabase.from('addresses').insert({ + user_id: user.id, + label: label.trim() || 'Address', + recipient_name: recipientName.trim(), + phone: phone.trim(), + address_line: addressLine.trim(), + notes: notes.trim() || null, + is_default: makeDefault, + }); + + if (!error) { + setLabel('Home'); + setRecipientName(''); + setPhone(''); + setAddressLine(''); + setNotes(''); + showMessage('Address saved.'); + loadAddresses(); + } + }; + + const setDefaultAddress = async (addressId: string) => { + if (!user) return; + await supabase + .from('addresses') + .update({ is_default: false }) + .eq('user_id', user.id); + await supabase + .from('addresses') + .update({ is_default: true }) + .eq('id', addressId); + loadAddresses(); + }; + + const deleteAddress = async (addressId: string) => { + await supabase.from('addresses').delete().eq('id', addressId); + loadAddresses(); + }; + + return ( + + + +
+ history.replace('/profile')} + > + + +
+ Profile + Addresses +
+ +
+
+
+ + {message && ( + +

{message}

+
+ )} +
+
+

Add address

+
+
+
+ Label + setLabel(e.detail.value ?? '')} + className="checkout-input" + /> +
+
+ Recipient + setRecipientName(e.detail.value ?? '')} + className="checkout-input" + /> +
+
+ Phone + setPhone(e.detail.value ?? '')} + className="checkout-input" + /> +
+
+ Address + setAddressLine(e.detail.value ?? '')} + className="checkout-input checkout-textarea" + autoGrow + rows={3} + /> +
+
+ Notes + setNotes(e.detail.value ?? '')} + className="checkout-input checkout-textarea" + autoGrow + rows={3} + /> +
+
+ + Save address + +
+ + {addresses.length === 0 ? ( +
+

No saved addresses

+

+ Save your first address for faster checkout. +

+
+ ) : ( + + {addresses.map((address) => ( +
+
+
+ {address.label} +

{address.recipient_name}

+
+ {address.is_default ? ( + Default + ) : ( + setDefaultAddress(address.id)} + > + Make default + + )} +
+
+ Phone + {address.phone} +
+
+ Address + {address.address_line} +
+ {address.notes && ( +
+ Notes + {address.notes} +
+ )} + deleteAddress(address.id)} + > + + Delete + +
+ ))} +
+ )} +
+
+ ); +}; + +export default Addresses; diff --git a/src/pages/AdminOrderDetail.tsx b/src/pages/AdminOrderDetail.tsx new file mode 100644 index 0000000..da76c3a --- /dev/null +++ b/src/pages/AdminOrderDetail.tsx @@ -0,0 +1,123 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonIcon, + IonItem, + IonLabel, + IonList, + IonPage, + IonSelect, + IonSelectOption, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { chevronBackOutline } from 'ionicons/icons'; +import { RouteComponentProps, useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import type { Tables } from '../database.types'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Props = RouteComponentProps<{ id: string }>; +type Order = Tables<'orders'>; +type OrderItem = Tables<'order_items'>; +const statuses = ['confirmed', 'packed', 'out_for_delivery', 'delivered']; + +const AdminOrderDetail: React.FC = ({ match }) => { + const history = useHistory(); + const [order, setOrder] = useState(null); + const [items, setItems] = useState([]); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + }); + + const loadOrder = async () => { + const [{ data: orderData }, { data: itemData }] = await Promise.all([ + supabase.from('orders').select('*').eq('id', match.params.id).single(), + supabase.from('order_items').select('*').eq('order_id', match.params.id), + ]); + setOrder(orderData ?? null); + setItems(itemData ?? []); + }; + + useEffect(() => { + loadOrder(); + }, [match.params.id]); + + const updateStatus = async (status: string) => { + await supabase.from('orders').update({ status }).eq('id', match.params.id); + loadOrder(); + }; + + if (!order) + return ( + + + + ); + + return ( + + + +
+ history.replace('/admin/orders')} + > + + +
+ Admin order + {order.order_number} +
+ +
+
+
+ +
+
+ Customer + {order.customer_name || '—'} +
+
+ Phone + {order.customer_phone || '—'} +
+
+ Address + {order.delivery_address || '—'} +
+ updateStatus(e.detail.value)} + > + {statuses.map((status) => ( + + {status.replace(/_/g, ' ')} + + ))} + +
+ + {items.map((item) => ( + + +

{item.product_name}

+

Qty {item.quantity}

+
+
+ ))} +
+
+
+ ); +}; + +export default AdminOrderDetail; diff --git a/src/pages/AdminOrders.tsx b/src/pages/AdminOrders.tsx new file mode 100644 index 0000000..7d17a67 --- /dev/null +++ b/src/pages/AdminOrders.tsx @@ -0,0 +1,109 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonIcon, + IonItem, + IonLabel, + IonList, + IonPage, + IonSelect, + IonSelectOption, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { chevronBackOutline } from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import type { Tables } from '../database.types'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Order = Tables<'orders'>; +const statuses = ['confirmed', 'packed', 'out_for_delivery', 'delivered']; + +const AdminOrders: React.FC = () => { + const history = useHistory(); + const [orders, setOrders] = useState([]); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + }); + + const loadOrders = async () => { + const { data } = await supabase + .from('orders') + .select('*') + .order('created_at', { ascending: false }); + setOrders(data ?? []); + }; + + useEffect(() => { + loadOrders(); + }, []); + + const updateStatus = async (orderId: string, status: string) => { + await supabase.from('orders').update({ status }).eq('id', orderId); + loadOrders(); + }; + + return ( + + + +
+ history.replace('/profile')} + > + + +
+ Admin + Orders +
+ +
+
+
+ + + {orders.map((order) => ( + history.push(`/admin/orders/${order.id}`)} + > + +

{order.order_number}

+

+ {order.customer_name || 'Customer'} · $ + {Number(order.total).toFixed(2)} +

+
+ { + e.stopPropagation(); + updateStatus(order.id, e.detail.value); + }} + > + {statuses.map((status) => ( + + {status.replace(/_/g, ' ')} + + ))} + +
+ ))} +
+
+
+ ); +}; + +export default AdminOrders; diff --git a/src/pages/Auth.tsx b/src/pages/Auth.tsx new file mode 100644 index 0000000..5b3e365 --- /dev/null +++ b/src/pages/Auth.tsx @@ -0,0 +1,225 @@ +import React, { useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonInput, + IonItem, + IonLabel, + IonPage, + IonText, + IonTitle, + IonToolbar, + IonToggle, + useIonViewWillEnter, +} from '@ionic/react'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +const Auth: React.FC = () => { + const history = useHistory(); + const [mode, setMode] = useState<'login' | 'signup'>('login'); + const [email, setEmail] = useState(''); + const [password, setPassword] = useState(''); + const [message, setMessage] = useState(''); + const [errorMessage, setErrorMessage] = useState(''); + const [isSubmitting, setIsSubmitting] = useState(false); + const [demoMode, setDemoMode] = useState(true); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Light); + }); + + const showError = (msg: string) => { + setErrorMessage(msg); + window.setTimeout(() => setErrorMessage(''), 4000); + }; + + const showMessage = (msg: string) => { + setMessage(msg); + window.setTimeout(() => setMessage(''), 4000); + }; + + const normaliseAuthError = (msg: string) => { + const lowered = msg.toLowerCase(); + + if (lowered.includes('email not confirmed')) { + return 'Please confirm your email before signing in. Check your inbox for the verification email.'; + } + + if (lowered.includes('invalid login credentials')) { + return 'Incorrect email or password. Please try again.'; + } + + if (lowered.includes('user already registered')) { + return 'An account with this email already exists. Please sign in instead.'; + } + + return msg; + }; + + const handleResendConfirmation = async () => { + if (!email.trim()) { + showError( + 'Enter your email address first so we can resend the confirmation email.' + ); + return; + } + + setIsSubmitting(true); + const { error } = await supabase.auth.resend({ + type: 'signup', + email: email.trim(), + }); + setIsSubmitting(false); + + if (error) { + showError(normaliseAuthError(error.message)); + return; + } + + showMessage('Confirmation email sent. Please check your inbox.'); + }; + + const handleSubmit = async () => { + if (demoMode && mode === 'login') { + history.replace('/wallet'); + return; + } + + if (!email.trim() || password.trim().length < 6) { + showError('Enter a valid email and password with at least 6 characters.'); + return; + } + + setIsSubmitting(true); + if (mode === 'login') { + const { error } = await supabase.auth.signInWithPassword({ + email: email.trim(), + password, + }); + setIsSubmitting(false); + if (error) { + showError(normaliseAuthError(error.message)); + return; + } + history.replace('/home'); + return; + } + + const { data, error } = await supabase.auth.signUp({ + email: email.trim(), + password, + }); + setIsSubmitting(false); + if (error) { + showError(normaliseAuthError(error.message)); + return; + } + + if (data.session) { + history.replace('/home'); + return; + } + + showMessage('Account created! Check your email for a verification link.'); + }; + + return ( + + + + + {mode === 'login' ? 'Welcome back' : 'Create account'} + + + + +
+

+ {mode === 'login' + ? 'Sign in to continue' + : 'Create your shopping account'} +

+

+ Save your orders, addresses, and track deliveries securely. +

+ + {errorMessage && ( + +

{errorMessage}

+
+ )} + {message && ( + +

{message}

+
+ )} + +
+ + Demo quick access + setDemoMode(e.detail.checked)} + /> + + +

+ When enabled, Sign in opens the app immediately so you can + review the full experience without authentication. +

+
+ + Email + setEmail(e.detail.value ?? '')} + /> + + + Password + setPassword(e.detail.value ?? '')} + /> + + + {mode === 'login' ? 'Sign in' : 'Create account'} + + {mode === 'login' && ( + + Resend confirmation email + + )} + setMode(mode === 'login' ? 'signup' : 'login')} + > + {mode === 'login' + ? 'Need an account? Sign up' + : 'Already have an account? Sign in'} + +
+
+
+
+ ); +}; + +export default Auth; diff --git a/src/pages/Cart.tsx b/src/pages/Cart.tsx new file mode 100644 index 0000000..85609ae --- /dev/null +++ b/src/pages/Cart.tsx @@ -0,0 +1,529 @@ +import React, { useEffect, useMemo, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonInput, + IonItem, + IonLabel, + IonList, + IonLoading, + IonPage, + IonSelect, + IonSelectOption, + IonTextarea, + IonText, + IonTitle, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { + addOutline, + bagHandleOutline, + chevronBackOutline, + removeOutline, + timeOutline, + trashOutline, +} from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import type { Tables, TablesInsert } from '../database.types'; +import { useAuth } from '../context/AuthContext'; +import { CartItem, LAST_ORDER_STORAGE_KEY, readCart, writeCart } from './Home'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Address = Tables<'addresses'>; +type CheckoutForm = { + customerName: string; + customerPhone: string; + deliveryAddress: string; + deliveryNotes: string; + addressId: string; +}; + +type FormErrors = Partial>; + +type SavedOrderInfo = { + id: string; + orderNumber: string; + total: number; + itemCount: number; + status: string; + customerName: string; + customerPhone: string; + deliveryAddress: string; + deliveryNotes: string; +}; + +const initialForm: CheckoutForm = { + customerName: '', + customerPhone: '', + deliveryAddress: '', + deliveryNotes: '', + addressId: '', +}; + +const Cart: React.FC = () => { + const history = useHistory(); + const { user, profile } = useAuth(); + const [cart, setCart] = useState([]); + const [addresses, setAddresses] = useState([]); + const [isSubmitting, setIsSubmitting] = useState(false); + const [errorMessage, setErrorMessage] = useState(''); + const [form, setForm] = useState(initialForm); + const [formErrors, setFormErrors] = useState({}); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + }); + + useEffect(() => { + setCart(readCart()); + }, []); + + useEffect(() => { + const syncCartFromStorage = () => setCart(readCart()); + window.addEventListener('storage', syncCartFromStorage); + window.addEventListener( + 'cart:updated', + syncCartFromStorage as EventListener + ); + return () => { + window.removeEventListener('storage', syncCartFromStorage); + window.removeEventListener( + 'cart:updated', + syncCartFromStorage as EventListener + ); + }; + }, []); + + useEffect(() => { + const loadAddresses = async () => { + if (!user) { + setAddresses([]); + setForm((current) => ({ + ...current, + customerName: current.customerName || profile?.full_name || '', + customerPhone: current.customerPhone || profile?.phone || '', + addressId: '', + })); + return; + } + + const { data } = await supabase + .from('addresses') + .select('*') + .eq('user_id', user.id) + .order('is_default', { ascending: false }); + + const nextAddresses = data ?? []; + setAddresses(nextAddresses); + const defaultAddress = + nextAddresses.find((address) => address.is_default) ?? nextAddresses[0]; + + setForm((current) => ({ + ...current, + customerName: + current.customerName || + profile?.full_name || + defaultAddress?.recipient_name || + '', + customerPhone: + current.customerPhone || + profile?.phone || + defaultAddress?.phone || + '', + deliveryAddress: + current.deliveryAddress || defaultAddress?.address_line || '', + deliveryNotes: current.deliveryNotes || defaultAddress?.notes || '', + addressId: defaultAddress?.id || '', + })); + }; + + void loadAddresses(); + }, [user?.id, profile?.full_name, profile?.phone]); + + const syncCart = (nextCart: CartItem[]) => { + setCart(nextCart); + writeCart(nextCart); + }; + + const showError = (message: string) => { + setErrorMessage(message); + window.setTimeout(() => setErrorMessage(''), 4000); + }; + + const handleFieldChange = (field: keyof CheckoutForm, value: string) => { + setForm((current) => ({ ...current, [field]: value })); + if (formErrors[field]) { + setFormErrors((current) => ({ ...current, [field]: undefined })); + } + }; + + const handleAddressSelect = (addressId: string) => { + const selected = addresses.find((address) => address.id === addressId); + if (!selected) return; + setForm((current) => ({ + ...current, + addressId, + customerName: selected.recipient_name, + customerPhone: selected.phone, + deliveryAddress: selected.address_line, + deliveryNotes: selected.notes || '', + })); + }; + + const validateForm = () => { + const nextErrors: FormErrors = {}; + if (!form.customerName.trim()) { + nextErrors.customerName = 'Please enter the customer name.'; + } + if (form.customerPhone.trim().replace(/\D/g, '').length < 7) { + nextErrors.customerPhone = 'Please enter a valid phone number.'; + } + if (form.deliveryAddress.trim().length < 10) { + nextErrors.deliveryAddress = + 'Please add a more complete delivery address.'; + } + setFormErrors(nextErrors); + return Object.keys(nextErrors).length === 0; + }; + + const itemCount = useMemo( + () => cart.reduce((sum, item) => sum + item.quantity, 0), + [cart] + ); + const subtotal = useMemo( + () => cart.reduce((sum, item) => sum + item.price * item.quantity, 0), + [cart] + ); + const deliveryFee = cart.length > 0 ? 2.99 : 0; + const total = subtotal + deliveryFee; + + const updateQuantity = (id: string, delta: number) => + syncCart( + cart + .map((item) => + item.id === id ? { ...item, quantity: item.quantity + delta } : item + ) + .filter((item) => item.quantity > 0) + ); + + const removeItem = (id: string) => + syncCart(cart.filter((item) => item.id !== id)); + + const placeOrder = async () => { + if (cart.length === 0 || isSubmitting) return; + if (!validateForm()) { + showError('Please complete the checkout form before placing the order.'); + return; + } + + setIsSubmitting(true); + const orderNumber = `QC-${Date.now().toString().slice(-6)}`; + const orderPayload: TablesInsert<'orders'> = { + order_number: orderNumber, + subtotal, + delivery_fee: deliveryFee, + total, + item_count: itemCount, + status: 'confirmed', + customer_name: form.customerName.trim(), + customer_phone: form.customerPhone.trim(), + delivery_address: form.deliveryAddress.trim(), + delivery_notes: form.deliveryNotes.trim() || null, + user_id: user?.id ?? null, + address_id: user ? form.addressId || null : null, + }; + + const { data: order, error: orderError } = await supabase + .from('orders') + .insert(orderPayload) + .select() + .single(); + + if (orderError || !order) { + setIsSubmitting(false); + showError('We could not place your order. Please try again.'); + return; + } + + const itemsPayload: TablesInsert<'order_items'>[] = cart.map((item) => ({ + order_id: order.id, + product_id: item.id, + product_name: item.name, + unit_price: item.price, + quantity: item.quantity, + })); + + const { error: itemsError } = await supabase + .from('order_items') + .insert(itemsPayload); + + if (itemsError) { + await supabase.from('orders').delete().eq('id', order.id); + setIsSubmitting(false); + showError('We could not save your order items. Please try again.'); + return; + } + + const savedOrder: SavedOrderInfo = { + id: order.id, + orderNumber: order.order_number, + total: Number(order.total), + itemCount: order.item_count, + status: order.status, + customerName: order.customer_name ?? '', + customerPhone: order.customer_phone ?? '', + deliveryAddress: order.delivery_address ?? '', + deliveryNotes: order.delivery_notes ?? '', + }; + + localStorage.setItem(LAST_ORDER_STORAGE_KEY, JSON.stringify(savedOrder)); + writeCart([]); + setCart([]); + setIsSubmitting(false); + history.replace('/order-confirmation'); + }; + + return ( + + + +
+ history.replace('/home')} + > + + +
+ Checkout + Basket +
+ +
+
+
+ + + + + {errorMessage && ( + +

{errorMessage}

+
+ )} + + {cart.length === 0 ? ( +
+ +

Your basket is empty

+

+ Add your first product to place an order. +

+ history.push('/home')}> + Browse products + +
+ ) : ( +
+
+
+

Items in basket

+

+ {itemCount} item{itemCount === 1 ? '' : 's'} +

+
+
+ + Arrives in 60 min +
+
+ + + {cart.map((item) => ( + + +

{item.name}

+

${item.price.toFixed(2)} each

+ ${(item.price * item.quantity).toFixed(2)} +
+
+ updateQuantity(item.id, -1)} + > + + + {item.quantity} + updateQuantity(item.id, 1)} + > + + + removeItem(item.id)} + > + + +
+
+ ))} +
+ +
+
+
+

Delivery details

+ +

Complete this to confirm your order

+
+
+
+ + {user && addresses.length > 0 && ( +
+ Saved address + handleAddressSelect(e.detail.value)} + > + {addresses.map((address) => ( + + {address.label} · {address.address_line} + + ))} + +
+ )} + +
+
+ Customer name + + handleFieldChange('customerName', e.detail.value ?? '') + } + /> + {formErrors.customerName && ( + +

{formErrors.customerName}

+
+ )} +
+ +
+ Phone number + + handleFieldChange('customerPhone', e.detail.value ?? '') + } + /> + {formErrors.customerPhone && ( + +

{formErrors.customerPhone}

+
+ )} +
+ +
+ Delivery address + + handleFieldChange('deliveryAddress', e.detail.value ?? '') + } + /> + {formErrors.deliveryAddress && ( + +

{formErrors.deliveryAddress}

+
+ )} +
+ +
+ Delivery notes + + handleFieldChange('deliveryNotes', e.detail.value ?? '') + } + /> +
+
+ + {user && ( + history.push('/addresses')} + > + Manage saved addresses + + )} +
+ +
+
+ Items + {itemCount} +
+
+ Subtotal + ${subtotal.toFixed(2)} +
+
+ Delivery + ${deliveryFee.toFixed(2)} +
+
+ Total + ${total.toFixed(2)} +
+ + Place order + +
+
+ )} +
+
+ ); +}; + +export default Cart; diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx new file mode 100644 index 0000000..9911f4d --- /dev/null +++ b/src/pages/Home.tsx @@ -0,0 +1,842 @@ +import React, { useEffect, useMemo, useState } from 'react'; +import { + IonButton, + IonChip, + IonContent, + IonHeader, + IonIcon, + IonPage, + IonSearchbar, + IonText, + IonTitle, + IonToolbar, + IonToast, + useIonViewWillEnter, +} from '@ionic/react'; +import { + bagHandleOutline, + cartOutline, + chevronForwardOutline, + homeOutline, + locationOutline, + micOutline, + personCircleOutline, + receiptOutline, + searchOutline, + storefrontOutline, + timeOutline, +} from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import ProductFilters, { SortOption } from '../components/ProductFilters'; +import { useAuth } from '../context/AuthContext'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; +import avocadoOilImage from '../assets/organic-avocado-oil.png'; +import sourdoughBreadImage from '../assets/artisan-sourdough-bread.png'; +import strawberriesPackImage from '../assets/fresh-strawberries-pack.png'; +import farmEggsImage from '../assets/farm-eggs-carton.png'; +import bananasImage from '../assets/bananas-bunch.png'; +import wholeMilkImage from '../assets/whole-milk-carton.png'; +import brownRiceImage from '../assets/brown-rice-bag.png'; +import chickenBreastImage from '../assets/chicken-breast-pack.png'; +import orangeJuiceImage from '../assets/orange-juice-bottle.png'; +import rolledOatsImage from '../assets/rolled-oats-pack.png'; +import greekYogurtImage from '../assets/greek-yogurt-cup.png'; +import peanutButterImage from '../assets/peanut-butter-jar.png'; +import spaghettiImage from '../assets/pasta-spaghetti-pack.png'; +import tomatoSauceImage from '../assets/tomato-sauce-jar.png'; +import cheddarCheeseImage from '../assets/cheddar-cheese-block.png'; +import lettuceImage from '../assets/lettuce-head.png'; +import carrotsImage from '../assets/carrots-bag.png'; +import potatoesImage from '../assets/potatoes-bag.png'; +import onionsImage from '../assets/onions-net-bag.png'; +import salmonImage from '../assets/salmon-fillet-pack.png'; +import sparklingWaterImage from '../assets/sparkling-water-pack.png'; +import coffeeBeansImage from '../assets/coffee-beans-bag.png'; +import greenTeaImage from '../assets/green-tea-box.png'; +import oliveOilImage from '../assets/olive-oil-bottle.png'; + +export type Product = { + id: string; + name: string; + category: string; + description: string; + price: number; + rating: number; + prepTime: string; + image: string; + imageAlt: string; +}; + +export type CartItem = { + id: string; + name: string; + price: number; + quantity: number; +}; + +export const CART_STORAGE_KEY = 'simple-shop-cart'; +export const LAST_ORDER_STORAGE_KEY = 'simple-shop-last-order'; + +export const products: Product[] = [ + { + id: '1', + name: 'Organic Avocado Oil', + category: 'Pantry', + description: + 'Cold-pressed avocado oil for cooking, roasting, and healthy everyday meals.', + price: 8.99, + rating: 4.8, + prepTime: '60 MIN', + image: avocadoOilImage, + imageAlt: 'Bottle of organic avocado oil with fresh avocados', + }, + { + id: '2', + name: 'Artisan Sourdough Bread', + category: 'Bakery', + description: + 'Freshly baked sourdough loaf with a crisp crust and soft, airy center.', + price: 7.49, + rating: 4.6, + prepTime: '45 MIN', + image: sourdoughBreadImage, + imageAlt: 'Fresh artisan sourdough bread loaf on a wooden board', + }, + { + id: '3', + name: 'Fresh Strawberries Pack', + category: 'Fruit', + description: + 'Sweet, bright strawberries packed fresh for snacks, desserts, and smoothies.', + price: 9.25, + rating: 4.9, + prepTime: '35 MIN', + image: strawberriesPackImage, + imageAlt: 'Pack of fresh strawberries with berries beside it', + }, + { + id: '4', + name: 'Free Range Farm Eggs', + category: 'Dairy & Eggs', + description: + 'Farm-fresh eggs with rich yolks, ideal for breakfast, baking, and meal prep.', + price: 4.5, + rating: 4.7, + prepTime: '55 MIN', + image: farmEggsImage, + imageAlt: 'Carton of free range farm eggs on a clean background', + }, + { + id: '5', + name: 'Bananas Bunch', + category: 'Fruit', + description: + 'Naturally sweet ripe bananas for breakfast bowls, snacks, and smoothies.', + price: 3.2, + rating: 4.7, + prepTime: '40 MIN', + image: bananasImage, + imageAlt: 'Fresh bunch of ripe yellow bananas', + }, + { + id: '6', + name: 'Whole Milk Carton', + category: 'Dairy & Eggs', + description: + 'Creamy whole milk for cereal, coffee, cooking, and family breakfasts.', + price: 3.99, + rating: 4.5, + prepTime: '30 MIN', + image: wholeMilkImage, + imageAlt: 'Carton of whole milk standing upright', + }, + { + id: '7', + name: 'Brown Rice Bag', + category: 'Pantry', + description: + 'Nutty wholegrain brown rice for bowls, sides, and meal prep dinners.', + price: 5.75, + rating: 4.6, + prepTime: '50 MIN', + image: brownRiceImage, + imageAlt: 'Sealed bag of brown rice on a white background', + }, + { + id: '8', + name: 'Chicken Breast Pack', + category: 'Meat & Seafood', + description: + 'Lean chicken breast fillets for grilling, roasting, and protein-packed meals.', + price: 11.9, + rating: 4.8, + prepTime: '70 MIN', + image: chickenBreastImage, + imageAlt: 'Pack of fresh chicken breast fillets', + }, + { + id: '9', + name: 'Orange Juice Bottle', + category: 'Beverages', + description: + 'Bright citrus orange juice for a refreshing breakfast or midday boost.', + price: 4.8, + rating: 4.6, + prepTime: '25 MIN', + image: orangeJuiceImage, + imageAlt: 'Bottle of orange juice on a clean background', + }, + { + id: '10', + name: 'Rolled Oats Pack', + category: 'Breakfast', + description: + 'Hearty rolled oats for porridge, overnight oats, and healthy baking.', + price: 4.25, + rating: 4.7, + prepTime: '35 MIN', + image: rolledOatsImage, + imageAlt: 'Pack of rolled oats on a white background', + }, + { + id: '11', + name: 'Greek Yogurt Cup', + category: 'Dairy & Eggs', + description: + 'Thick plain Greek yogurt with a rich texture for breakfast and snacks.', + price: 2.65, + rating: 4.5, + prepTime: '20 MIN', + image: greekYogurtImage, + imageAlt: 'Single cup of plain Greek yogurt', + }, + { + id: '12', + name: 'Peanut Butter Jar', + category: 'Pantry', + description: + 'Smooth peanut butter for toast, sandwiches, smoothies, and baking.', + price: 5.2, + rating: 4.8, + prepTime: '45 MIN', + image: peanutButterImage, + imageAlt: 'Jar of peanut butter on a white background', + }, + { + id: '13', + name: 'Spaghetti Pasta Pack', + category: 'Pantry', + description: + 'Classic spaghetti pasta for quick weeknight dinners and family meals.', + price: 3.45, + rating: 4.6, + prepTime: '50 MIN', + image: spaghettiImage, + imageAlt: 'Pack of spaghetti pasta on a clean background', + }, + { + id: '14', + name: 'Tomato Sauce Jar', + category: 'Pantry', + description: + 'Rich tomato sauce for pasta, pizza bases, and simmered home cooking.', + price: 3.95, + rating: 4.7, + prepTime: '55 MIN', + image: tomatoSauceImage, + imageAlt: 'Glass jar of tomato sauce', + }, + { + id: '15', + name: 'Cheddar Cheese Block', + category: 'Dairy & Eggs', + description: + 'Sharp cheddar cheese block for sandwiches, snacks, sauces, and grating.', + price: 6.15, + rating: 4.7, + prepTime: '35 MIN', + image: cheddarCheeseImage, + imageAlt: 'Block of cheddar cheese on a white background', + }, + { + id: '16', + name: 'Fresh Lettuce Head', + category: 'Vegetables', + description: + 'Crisp green lettuce for salads, wraps, burgers, and light lunches.', + price: 2.8, + rating: 4.4, + prepTime: '30 MIN', + image: lettuceImage, + imageAlt: 'Fresh green head of lettuce', + }, + { + id: '17', + name: 'Carrots Bag', + category: 'Vegetables', + description: + 'Sweet crunchy carrots for roasting, soups, stir-fries, and lunch boxes.', + price: 3.1, + rating: 4.5, + prepTime: '45 MIN', + image: carrotsImage, + imageAlt: 'Bag of fresh carrots on a clean background', + }, + { + id: '18', + name: 'Potatoes Bag', + category: 'Vegetables', + description: + 'Versatile potatoes for frying, mashing, baking, and hearty dinners.', + price: 4.75, + rating: 4.6, + prepTime: '55 MIN', + image: potatoesImage, + imageAlt: 'Mesh bag of potatoes', + }, + { + id: '19', + name: 'Onions Net Bag', + category: 'Vegetables', + description: + 'Flavorful onions for stews, sauces, sautés, and everyday cooking.', + price: 3.35, + rating: 4.4, + prepTime: '50 MIN', + image: onionsImage, + imageAlt: 'Net bag of onions on a white background', + }, + { + id: '20', + name: 'Salmon Fillet Pack', + category: 'Meat & Seafood', + description: + 'Fresh salmon fillet packed for quick oven dinners and healthy lunches.', + price: 13.99, + rating: 4.8, + prepTime: '70 MIN', + image: salmonImage, + imageAlt: 'Packaged salmon fillet on a clean background', + }, + { + id: '21', + name: 'Sparkling Water Pack', + category: 'Beverages', + description: + 'Refreshing sparkling water multipack for hydration and light entertaining.', + price: 6.8, + rating: 4.5, + prepTime: '25 MIN', + image: sparklingWaterImage, + imageAlt: 'Multipack of sparkling water cans', + }, + { + id: '22', + name: 'Coffee Beans Bag', + category: 'Beverages', + description: + 'Roasted coffee beans with a rich aroma for espresso and filter brews.', + price: 9.6, + rating: 4.8, + prepTime: '40 MIN', + image: coffeeBeansImage, + imageAlt: 'Bag of roasted coffee beans on a white background', + }, + { + id: '23', + name: 'Green Tea Box', + category: 'Beverages', + description: + 'Soothing green tea for a light daily ritual and calming warm drink.', + price: 4.4, + rating: 4.5, + prepTime: '30 MIN', + image: greenTeaImage, + imageAlt: 'Box of green tea on a clean background', + }, + { + id: '24', + name: 'Extra Virgin Olive Oil', + category: 'Pantry', + description: + 'Fragrant olive oil for salads, drizzling, roasting, and Mediterranean meals.', + price: 10.5, + rating: 4.9, + prepTime: '60 MIN', + image: oliveOilImage, + imageAlt: 'Bottle of extra virgin olive oil on a white background', + }, +]; + +export const readCart = (): CartItem[] => { + if (typeof window === 'undefined') return []; + try { + const savedCart = window.localStorage.getItem(CART_STORAGE_KEY); + if (!savedCart) return []; + const parsed = JSON.parse(savedCart) as CartItem[]; + return Array.isArray(parsed) ? parsed : []; + } catch { + return []; + } +}; + +export const writeCart = (cart: CartItem[]) => { + if (typeof window === 'undefined') return; + window.localStorage.setItem(CART_STORAGE_KEY, JSON.stringify(cart)); + window.dispatchEvent(new CustomEvent('cart:updated')); +}; + +const featuredSectionIds = ['12', '11', '23', '1', '24']; +const homeLifestyleSectionIds = ['6', '9', '21', '22', '10']; +const STORE_OPEN_HOUR = 8; +const STORE_CLOSE_HOUR = 20; + +const formatPlacedTime = (date: Date) => + date.toLocaleTimeString([], { + hour: '2-digit', + minute: '2-digit', + hour12: false, + }); + +const formatHourSlot = (hour24: number) => { + const normalized = ((hour24 % 24) + 24) % 24; + const hour12 = normalized % 12 === 0 ? 12 : normalized % 12; + const suffix = normalized >= 12 ? 'PM' : 'AM'; + return `${hour12} ${suffix}`; +}; + +const formatDeliveryWindow = (startHour24: number, endHour24: number) => + `${formatHourSlot(startHour24)}-${formatHourSlot(endHour24)}`; + +const getDeliveryTiming = (now: Date) => { + const currentHour = now.getHours(); + + let slotStart = STORE_OPEN_HOUR; + let slotEnd = STORE_OPEN_HOUR + 1; + + if (currentHour < STORE_OPEN_HOUR) { + slotStart = STORE_OPEN_HOUR; + slotEnd = STORE_OPEN_HOUR + 1; + } else if (currentHour >= STORE_CLOSE_HOUR - 1) { + slotStart = STORE_OPEN_HOUR; + slotEnd = STORE_OPEN_HOUR + 1; + } else { + slotStart = currentHour + 1; + slotEnd = Math.min(slotStart + 1, STORE_CLOSE_HOUR); + } + + const etaHour = slotStart; + const etaMinute = now.getMinutes() < 30 ? 15 : 45; + const etaDate = new Date(now); + etaDate.setHours(etaHour, etaMinute, 0, 0); + + if (currentHour >= STORE_CLOSE_HOUR - 1) { + etaDate.setDate(etaDate.getDate() + 1); + } + + return { + placedLabel: formatPlacedTime(now), + windowLabel: formatDeliveryWindow(slotStart, slotEnd), + etaLabel: etaDate.toLocaleTimeString([], { + hour: 'numeric', + minute: '2-digit', + hour12: true, + }), + }; +}; + +const ProductShelf: React.FC<{ + title: string; + products: Product[]; + onOpenProduct: (id: string) => void; + onQuickAdd?: (product: Product) => void; +}> = ({ title, products: shelfProducts, onOpenProduct, onQuickAdd }) => ( +
+
+

{title}

+ + View All + +
+
+ {shelfProducts.map((product) => ( + +
+
+ {product.category} +

{product.name}

+
+ ${product.price.toFixed(2)} +
+

{product.description}

+
+ + {product.prepTime} +
+
+ + ))} +
+ +); + +const Home: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [query, setQuery] = useState(''); + const [now, setNow] = useState(() => new Date()); + const [cartCount, setCartCount] = useState(0); + const [selectedCategory, setSelectedCategory] = useState('All'); + const [sortOption, setSortOption] = useState('popular'); + const [isFilterOpen, setIsFilterOpen] = useState(false); + const [toastMessage, setToastMessage] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + const count = readCart().reduce((sum, item) => sum + item.quantity, 0); + setCartCount(count); + }); + + useEffect(() => { + const syncCount = () => + setCartCount(readCart().reduce((sum, item) => sum + item.quantity, 0)); + syncCount(); + window.addEventListener('storage', syncCount); + window.addEventListener('cart:updated', syncCount as EventListener); + return () => { + window.removeEventListener('storage', syncCount); + window.removeEventListener('cart:updated', syncCount as EventListener); + }; + }, []); + + useEffect(() => { + const interval = window.setInterval(() => { + setNow(new Date()); + }, 60000); + + return () => window.clearInterval(interval); + }, []); + + const categories = useMemo( + () => Array.from(new Set(products.map((product) => product.category))), + [] + ); + + const filteredProducts = useMemo(() => { + const term = query.toLowerCase().trim(); + const nextProducts = products.filter((product) => { + const matchesCategory = + selectedCategory === 'All' || product.category === selectedCategory; + const matchesQuery = + !term || + [product.name, product.category, product.description] + .join(' ') + .toLowerCase() + .includes(term); + return matchesCategory && matchesQuery; + }); + + const sorted = [...nextProducts]; + if (sortOption === 'price-asc') sorted.sort((a, b) => a.price - b.price); + if (sortOption === 'price-desc') sorted.sort((a, b) => b.price - a.price); + if (sortOption === 'name-asc') { + sorted.sort((a, b) => a.name.localeCompare(b.name)); + } + if (sortOption === 'popular') sorted.sort((a, b) => b.rating - a.rating); + return sorted; + }, [query, selectedCategory, sortOption]); + + const featuredProducts = useMemo( + () => products.filter((product) => featuredSectionIds.includes(product.id)), + [] + ); + const lifestyleProducts = useMemo( + () => + products.filter((product) => + homeLifestyleSectionIds.includes(product.id) + ), + [] + ); + + const addressLabel = '22 Acacia St'; + const { placedLabel, windowLabel, etaLabel } = getDeliveryTiming(now); + + const handleQuickAdd = (product: Product) => { + const cart = readCart(); + const existingItem = cart.find((item) => item.id === product.id); + + const nextCart = existingItem + ? cart.map((item) => + item.id === product.id + ? { ...item, quantity: item.quantity + 1 } + : item + ) + : [ + ...cart, + { + id: product.id, + name: product.name, + price: product.price, + quantity: 1, + }, + ]; + + writeCart(nextCart); + setCartCount(nextCart.reduce((sum, item) => sum + item.quantity, 0)); + setToastMessage(`${product.name} added to basket`); + }; + + return ( + + + +
+
+ Deliver to + +
+ +
+
Open
+ +
+
+
+
+ + +
+
+ Fresh groceries, fast +

Shop today's picks

+

Curated essentials delivered in your next available slot.

+
+ +
+
+ +
+ Placed + {placedLabel} +
+
+
+ +
+ Delivery + {windowLabel} +
+
+
+ +
+ setQuery(event.detail.value ?? '')} + placeholder="Search products and brands" + searchIcon={searchOutline} + /> +
+ + +
+
+ + +
+ +
+ history.push(`/product/${id}`)} + onQuickAdd={handleQuickAdd} + /> + + history.push(`/product/${id}`)} + onQuickAdd={handleQuickAdd} + /> + +
+
+
+

Browse everything

+ +

{filteredProducts.length} products available

+
+
+
+ setIsFilterOpen((value) => !value)} + /> + {filteredProducts.length === 0 ? ( +
+ +

No products found

+

Try a different search term or category.

+ { + setQuery(''); + setSelectedCategory('All'); + }} + > + Clear filters + +
+ ) : ( +
+ {filteredProducts.map((product) => ( + +
+
+ + {product.category} + +

{product.name}

+
+ ${product.price.toFixed(2)} +
+ + {product.prepTime} +
+
+

{product.description}

+
+ + ))} +
+ )} +
+
+ +
+ setToastMessage('')} + /> + +
+ + + + + +
+ + + ); +}; + +export default Home; diff --git a/src/pages/MyOrders.tsx b/src/pages/MyOrders.tsx new file mode 100644 index 0000000..6eb4865 --- /dev/null +++ b/src/pages/MyOrders.tsx @@ -0,0 +1,197 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonList, + IonPage, + IonRefresher, + IonRefresherContent, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { + chevronBackOutline, + chevronForwardOutline, + receiptOutline, +} from 'ionicons/icons'; +import { RefresherEventDetail } from '@ionic/core'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import type { Tables } from '../database.types'; +import { useAuth } from '../context/AuthContext'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Order = Tables<'orders'>; +const statusCopy: Record = { + confirmed: 'Confirmed', + packed: 'Packed', + out_for_delivery: 'Out for delivery', + delivered: 'Delivered', +}; + +const MyOrders: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [orders, setOrders] = useState([]); + const [isLoading, setIsLoading] = useState(true); + const [errorMessage, setErrorMessage] = useState(''); + + useIonViewWillEnter(() => { + void setStatusBarStyle(Style.Dark); + }); + + const loadOrders = async () => { + if (!user) { + setOrders([]); + setErrorMessage(''); + setIsLoading(false); + return; + } + + try { + setErrorMessage(''); + + const { data, error } = await supabase + .from('orders') + .select('*') + .eq('user_id', user.id) + .order('created_at', { ascending: false }); + + if (error) { + throw error; + } + + setOrders(data ?? []); + } catch (error) { + console.error('Failed to load orders', error); + setOrders([]); + setErrorMessage('We could not load your orders right now.'); + window.setTimeout(() => setErrorMessage(''), 4000); + } finally { + setIsLoading(false); + } + }; + + useEffect(() => { + if (!user) { + setOrders([]); + setErrorMessage(''); + setIsLoading(false); + return; + } + + setIsLoading(true); + void loadOrders(); + }, [user?.id]); + + const handleRefresh = async (event: CustomEvent) => { + await loadOrders(); + event.detail.complete(); + }; + + return ( + + + +
+ history.replace('/home')} + > + + +
+ Tracking + My Orders +
+ +
+
+
+ + + + + {errorMessage && ( + +

{errorMessage}

+
+ )} + {!user ? ( +
+ +

No tracked orders yet

+

+ Sign in later to sync orders, or place an order now and track it + from the confirmation screen. +

+ history.push('/home')}> + Continue shopping + +
+ ) : isLoading ? ( +
+ +

Loading your orders…

+

+ We are fetching your latest order updates. +

+
+ ) : orders.length === 0 ? ( +
+ +

No orders yet

+

+ Your placed orders will appear here so you can track their status. +

+ history.push('/home')}> + Start shopping + +
+ ) : ( + + {orders.map((order) => ( + + ))} + + )} +
+
+ ); +}; + +export default MyOrders; diff --git a/src/pages/OrderConfirmation.tsx b/src/pages/OrderConfirmation.tsx new file mode 100644 index 0000000..68bb8d6 --- /dev/null +++ b/src/pages/OrderConfirmation.tsx @@ -0,0 +1,163 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonPage, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { checkmarkCircle, chevronBackOutline } from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { LAST_ORDER_STORAGE_KEY } from './Home'; +import { + setStatusBarBackground, + setStatusBarStyle, + Style, +} from '../utils/statusBar'; + +type OrderInfo = { + id: string; + orderNumber: string; + total: number; + itemCount: number; + status: string; + customerName: string; + customerPhone: string; + deliveryAddress: string; + deliveryNotes: string; +}; + +const OrderConfirmation: React.FC = () => { + const history = useHistory(); + const [order, setOrder] = useState(null); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + setStatusBarBackground('#ffffff'); + }); + + useEffect(() => { + try { + const savedOrder = localStorage.getItem(LAST_ORDER_STORAGE_KEY); + if (!savedOrder) { + setOrder(null); + return; + } + + setOrder(JSON.parse(savedOrder) as OrderInfo); + } catch { + setOrder(null); + } + }, []); + + return ( + + + +
+ history.replace('/home')} + > + + +
+ Success + Order placed +
+ +
+
+
+ +
+ +

Thanks for your order!

+

+ Your order has been placed successfully and is now being prepared. +

+ + {order ? ( + <> +
+
+ Order number + {order.orderNumber} +
+
+ Status + {order.status.replaceAll('_', ' ')} +
+
+ Items + {order.itemCount} +
+
+ Total paid + ${order.total.toFixed(2)} +
+
+ +
+

Delivery information

+
+ Customer + {order.customerName} +
+
+ Phone + {order.customerPhone} +
+
+ Address + {order.deliveryAddress} +
+ {order.deliveryNotes && ( +
+ Notes + {order.deliveryNotes} +
+ )} +
+ + ) : ( +

+ We could not load the order summary, but your next browse session + is ready. +

+ )} + + {order && ( + history.replace(`/orders/${order.id}`)} + > + Track this order + + )} + history.replace('/orders')} + > + View all orders + + history.replace('/home')} + > + Continue shopping + +
+
+
+ ); +}; + +export default OrderConfirmation; diff --git a/src/pages/OrderDetail.tsx b/src/pages/OrderDetail.tsx new file mode 100644 index 0000000..30a8682 --- /dev/null +++ b/src/pages/OrderDetail.tsx @@ -0,0 +1,246 @@ +import React, { useEffect, useMemo, useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonIcon, + IonItem, + IonLabel, + IonList, + IonLoading, + IonPage, + IonRefresher, + IonRefresherContent, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { RefresherEventDetail } from '@ionic/core'; +import { chevronBackOutline } from 'ionicons/icons'; +import { RouteComponentProps, useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import type { Tables } from '../database.types'; +import { useAuth } from '../context/AuthContext'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Props = RouteComponentProps<{ id: string }>; +type Order = Tables<'orders'>; +type OrderItem = Tables<'order_items'>; +const statusSteps = [ + 'confirmed', + 'packed', + 'out_for_delivery', + 'delivered', +] as const; +const statusTitles: Record<(typeof statusSteps)[number], string> = { + confirmed: 'Confirmed', + packed: 'Packed', + out_for_delivery: 'Out for delivery', + delivered: 'Delivered', +}; + +const OrderDetail: React.FC = ({ match }) => { + const history = useHistory(); + const { user } = useAuth(); + const [order, setOrder] = useState(null); + const [items, setItems] = useState([]); + const [isLoading, setIsLoading] = useState(true); + const [errorMessage, setErrorMessage] = useState(''); + + useIonViewWillEnter(() => { + void setStatusBarStyle(Style.Dark); + }); + + const loadOrder = async () => { + if (!user) { + setIsLoading(false); + return; + } + setIsLoading(true); + const [ + { data: orderData, error: orderError }, + { data: itemData, error: itemError }, + ] = await Promise.all([ + supabase + .from('orders') + .select('*') + .eq('id', match.params.id) + .eq('user_id', user.id) + .single(), + supabase + .from('order_items') + .select('*') + .eq('order_id', match.params.id) + .order('created_at', { ascending: true }), + ]); + if (orderError || itemError || !orderData) { + setErrorMessage('We could not load this order.'); + window.setTimeout(() => setErrorMessage(''), 4000); + setOrder(null); + setItems([]); + setIsLoading(false); + return; + } + setOrder(orderData); + setItems(itemData ?? []); + setIsLoading(false); + }; + + useEffect(() => { + void loadOrder(); + }, [match.params.id, user?.id]); + const activeStepIndex = useMemo( + () => + order + ? Math.max( + statusSteps.indexOf(order.status as (typeof statusSteps)[number]), + 0 + ) + : 0, + [order] + ); + const handleRefresh = async (event: CustomEvent) => { + await loadOrder(); + event.detail.complete(); + }; + + return ( + + + +
+ history.replace('/orders')} + > + + +
+ Tracking + Order details +
+ +
+
+
+ + + + + + {errorMessage && ( + +

{errorMessage}

+
+ )} + {!user ? ( +
+

Sign in to view order details

+ history.replace('/auth')}> + Sign in + +
+ ) : !isLoading && !order ? ( +
+

Order not found

+

+ We could not find that order. Try returning to your order list. +

+ history.replace('/orders')}> + Back to orders + +
+ ) : ( + order && ( + <> +
+ Order number +

{order.order_number}

+

+ Placed on {new Date(order.created_at).toLocaleString()} +

+
+ Current status + + {statusTitles[ + order.status as (typeof statusSteps)[number] + ] ?? order.status} + +
+
+ Total + ${Number(order.total).toFixed(2)} +
+
+
+

Delivery progress

+
+ {statusSteps.map((step, index) => ( +
+
+
+ {statusTitles[step]} +

+ {index < activeStepIndex + ? 'Completed' + : index === activeStepIndex + ? 'Current step' + : 'Up next'} +

+
+
+ ))} +
+
+
+

Delivery details

+
+ Customer + {order.customer_name || '—'} +
+
+ Phone + {order.customer_phone || '—'} +
+
+ Address + {order.delivery_address || '—'} +
+ {order.delivery_notes && ( +
+ Notes + {order.delivery_notes} +
+ )} +
+
+

Items in this order

+ + {items.map((item) => ( + + +

{item.product_name}

+

${Number(item.unit_price).toFixed(2)} each

+ + Qty {item.quantity} · $ + {(Number(item.unit_price) * item.quantity).toFixed(2)} + +
+
+ ))} +
+
+ + ) + )} + + + ); +}; + +export default OrderDetail; diff --git a/src/pages/PaymentMethods.tsx b/src/pages/PaymentMethods.tsx new file mode 100644 index 0000000..bdde9fb --- /dev/null +++ b/src/pages/PaymentMethods.tsx @@ -0,0 +1,352 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonLoading, + IonPage, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { + addOutline, + cardOutline, + checkmarkCircleOutline, + chevronBackOutline, + trashOutline, +} from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { useAuth } from '../context/AuthContext'; +import type { Tables } from '../database.types'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type PaymentMethodRow = Tables<'payment_methods'>; +type DisplayPaymentMethod = Pick< + PaymentMethodRow, + | 'id' + | 'brand' + | 'last4' + | 'expiry_month' + | 'expiry_year' + | 'is_default' + | 'cardholder_name' +>; + +const formatExpiry = (month: number, year: number) => + `${String(month).padStart(2, '0')}/${String(year).slice(-2)}`; + +const PaymentMethods: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [methods, setMethods] = useState([]); + const [isLoading, setIsLoading] = useState(true); + const [message, setMessage] = useState(''); + const [error, setError] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Light); + }); + + const showMessage = (text: string) => { + setMessage(text); + window.setTimeout(() => setMessage(''), 4000); + }; + + const loadMethods = async () => { + if (!user) { + setMethods([]); + setIsLoading(false); + return; + } + + setIsLoading(true); + setError(''); + + const { data, error: loadError } = await supabase + .from('payment_methods') + .select('*') + .eq('user_id', user.id) + .order('is_default', { ascending: false }) + .order('created_at', { ascending: false }); + + if (loadError) { + setError('Unable to load your payment methods.'); + } + + setMethods(data ?? []); + setIsLoading(false); + }; + + useEffect(() => { + void loadMethods(); + }, [user]); + + const setDefaultMethod = async (methodId: string) => { + if (!user) return; + + await supabase + .from('payment_methods') + .update({ is_default: false }) + .eq('user_id', user.id); + const { error: updateError } = await supabase + .from('payment_methods') + .update({ is_default: true }) + .eq('id', methodId) + .eq('user_id', user.id); + + if (updateError) { + setError('Could not update your default payment method.'); + return; + } + + showMessage('Default payment method updated.'); + void loadMethods(); + }; + + const renderCardVisual = (method: DisplayPaymentMethod) => ( +
+
+
+ {method.brand.toUpperCase()} +
+
•••• •••• •••• {method.last4}
+
+
+ Cardholder + {method.cardholder_name || 'Saved Card'} +
+
+ Valid Thru + + {formatExpiry(method.expiry_month, method.expiry_year)} + +
+
+
+ ); + + const removeMethod = async (method: PaymentMethodRow) => { + const { error: deleteError } = await supabase + .from('payment_methods') + .delete() + .eq('id', method.id) + .eq('user_id', method.user_id); + + if (deleteError) { + setError('Could not remove that payment method.'); + return; + } + + if (method.is_default && user) { + const { data: remaining } = await supabase + .from('payment_methods') + .select('id') + .eq('user_id', user.id) + .order('created_at', { ascending: false }) + .limit(1); + + const nextId = remaining?.[0]?.id; + if (nextId) { + await supabase + .from('payment_methods') + .update({ is_default: true }) + .eq('id', nextId) + .eq('user_id', user.id); + } + } + + showMessage('Payment method removed.'); + void loadMethods(); + }; + + return ( + + + +
+ history.replace('/wallet')} + > + + +
+ Wallet + Payment methods +
+ history.push('/wallet/payment-methods/add')} + > + + +
+
+
+ + + + {!user ? ( + <> +
+ Cards & checkout +

Payment methods

+

+ Review saved cards, choose the checkout default, and keep wallet + payments ready for faster ordering. +

+
+ +
+ {[ + { + id: 'demo-visa', + brand: 'visa', + last4: '4242', + expiry_month: 8, + expiry_year: 2028, + is_default: true, + cardholder_name: 'Demo User', + }, + { + id: 'demo-mastercard', + brand: 'mastercard', + last4: '1881', + expiry_month: 11, + expiry_year: 2027, + is_default: false, + cardholder_name: 'Demo User', + }, + ].map((method) => ( +
+ {renderCardVisual(method)} +
+
+ {method.is_default ? ( + + + Checkout card + + ) : ( + Backup card + )} +
+
+ {!method.is_default && ( + + Set default + + )} + + + +
+
+
+ ))} +
+ + ) : ( + <> +
+ Cards & checkout +

Payment methods

+

+ Store masked card details so checkout is quicker next time. You + can choose one card as your checkout default. +

+
+ + {message && ( + +

{message}

+
+ )} + {error && ( + +

{error}

+
+ )} + + {methods.length === 0 ? ( +
+ +
+

No payment methods yet

+

Add your first card to make repeat ordering faster.

+
+ history.push('/wallet/payment-methods/add')} + > + + Add your first card + +
+ ) : ( +
+ {methods.map((method) => ( +
+ {renderCardVisual(method)} +
+
+ {method.is_default ? ( + + + Checkout card + + ) : ( + + Backup card + + )} +
+
+ {!method.is_default && ( + setDefaultMethod(method.id)} + > + Set default + + )} + removeMethod(method)} + > + + +
+
+
+ ))} +
+ )} + + )} +
+
+ ); +}; + +export default PaymentMethods; diff --git a/src/pages/ProductDetail.tsx b/src/pages/ProductDetail.tsx new file mode 100644 index 0000000..917453c --- /dev/null +++ b/src/pages/ProductDetail.tsx @@ -0,0 +1,205 @@ +import React, { useEffect, useMemo, useState } from 'react'; +import { + IonButton, + IonButtons, + IonContent, + IonHeader, + IonIcon, + IonPage, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { cartOutline, chevronBackOutline } from 'ionicons/icons'; +import { RouteComponentProps, useHistory } from 'react-router-dom'; +import { CartItem, products, readCart, writeCart } from './Home'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type Props = RouteComponentProps<{ id: string }>; + +const ProductDetail: React.FC = ({ match }) => { + const history = useHistory(); + const [quantity, setQuantity] = useState(1); + const [message, setMessage] = useState(''); + const [cartCount, setCartCount] = useState(0); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Light); + const count = readCart().reduce((sum, item) => sum + item.quantity, 0); + setCartCount(count); + }); + + useEffect(() => { + const syncCount = () => { + const count = readCart().reduce((sum, item) => sum + item.quantity, 0); + setCartCount(count); + }; + + syncCount(); + window.addEventListener('storage', syncCount); + window.addEventListener('cart:updated', syncCount as EventListener); + + return () => { + window.removeEventListener('storage', syncCount); + window.removeEventListener('cart:updated', syncCount as EventListener); + }; + }, []); + + const product = useMemo( + () => products.find((item) => item.id === match.params.id), + [match.params.id] + ); + + const showMessage = (text: string) => { + setMessage(text); + window.setTimeout(() => setMessage(''), 4000); + }; + + const addToCart = () => { + if (!product) return; + + const cart: CartItem[] = readCart(); + const existing = cart.find((item) => item.id === product.id); + + const nextCart = existing + ? cart.map((item) => + item.id === product.id + ? { ...item, quantity: item.quantity + quantity } + : item + ) + : [ + ...cart, + { + id: product.id, + name: product.name, + price: product.price, + quantity, + }, + ]; + + writeCart(nextCart); + showMessage('Added to basket'); + }; + + if (!product) { + return ( + + + + + history.replace('/home')}> + + + + + + +
+

Product not found

+

This product is no longer available.

+ history.replace('/home')}> + Browse products + +
+
+
+ ); + } + + return ( + + +
+
+ + + +
+ +
+

{product.name}

+
+ {product.category} + High quality + In stock +
+
+ +
+ {product.imageAlt} +
+ +
+
+

Details

+
+

{product.description}

+ +
+
+ ${product.price.toFixed(2)} + each +
+ +
+ setQuantity((value) => Math.max(1, value - 1))} + > + + + {quantity} + setQuantity((value) => value + 1)} + > + + +
+
+
+ + {message && ( + +

{message}

+
+ )} +
+ +
+
+ Total + ${(product.price * quantity).toFixed(2)} +
+ Add to basket +
+
+
+ ); +}; + +export default ProductDetail; diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx new file mode 100644 index 0000000..05c2d21 --- /dev/null +++ b/src/pages/Profile.tsx @@ -0,0 +1,147 @@ +import React, { useEffect, useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonIcon, + IonInput, + IonItem, + IonLabel, + IonPage, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { chevronBackOutline } from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { useAuth } from '../context/AuthContext'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +const Profile: React.FC = () => { + const history = useHistory(); + const { user, profile, refreshProfile, signOut } = useAuth(); + const [fullName, setFullName] = useState(''); + const [phone, setPhone] = useState(''); + const [message, setMessage] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Dark); + }); + + useEffect(() => { + setFullName(profile?.full_name ?? ''); + setPhone(profile?.phone ?? ''); + }, [profile]); + + const showMessage = (msg: string) => { + setMessage(msg); + window.setTimeout(() => setMessage(''), 4000); + }; + + const saveProfile = async () => { + if (!user) return; + const { error } = await supabase.from('profiles').upsert({ + id: user.id, + full_name: fullName.trim() || null, + phone: phone.trim() || null, + updated_at: new Date().toISOString(), + }); + + if (!error) { + await refreshProfile(); + showMessage('Profile saved.'); + } + }; + + return ( + + + +
+ history.replace('/home')} + > + + +
+ Account + Profile +
+ +
+
+
+ +
+

Your account

+

Signed in as {user?.email}

+ {message && ( + +

{message}

+
+ )} +
+ + Full name + setFullName(e.detail.value ?? '')} + /> + + + Phone + setPhone(e.detail.value ?? '')} + /> + + + Save profile + + history.push('/addresses')} + > + Saved addresses + + history.push('/wallet')} + > + Wallet & payment methods + + {profile?.is_admin && ( + history.push('/admin/orders')} + > + Admin workflow + + )} + { + await signOut(); + history.replace('/auth'); + }} + > + Sign out + +
+
+
+
+ ); +}; + +export default Profile; diff --git a/src/pages/Wallet.tsx b/src/pages/Wallet.tsx new file mode 100644 index 0000000..a64fd1d --- /dev/null +++ b/src/pages/Wallet.tsx @@ -0,0 +1,458 @@ +import React, { useEffect, useMemo, useState } from 'react'; +import { + IonButton, + IonContent, + IonHeader, + IonIcon, + IonLoading, + IonPage, + IonText, + IonToolbar, + useIonViewWillEnter, +} from '@ionic/react'; +import { + addOutline, + arrowDownCircleOutline, + cardOutline, + chevronBackOutline, + chevronForwardOutline, + walletOutline, +} from 'ionicons/icons'; +import { useHistory } from 'react-router-dom'; +import { supabase } from '../supabase'; +import { useAuth } from '../context/AuthContext'; +import type { Tables } from '../database.types'; +import { setStatusBarStyle, Style } from '../utils/statusBar'; + +type WalletRow = Tables<'wallets'>; +type PaymentMethodRow = Tables<'payment_methods'>; +type WalletTransactionRow = Tables<'wallet_transactions'>; + +const formatMoney = (amount: number, currency: string) => + new Intl.NumberFormat('en-US', { + style: 'currency', + currency, + minimumFractionDigits: 2, + }).format(amount); + +const Wallet: React.FC = () => { + const history = useHistory(); + const { user } = useAuth(); + const [wallet, setWallet] = useState(null); + const [methods, setMethods] = useState([]); + const [transactions, setTransactions] = useState([]); + const [isLoading, setIsLoading] = useState(true); + const [error, setError] = useState(''); + + useIonViewWillEnter(() => { + setStatusBarStyle(Style.Light); + }); + + useEffect(() => { + const loadWallet = async () => { + if (!user) { + setWallet(null); + setMethods([]); + setTransactions([]); + setIsLoading(false); + return; + } + + setIsLoading(true); + setError(''); + + const { data: walletData, error: walletError } = await supabase + .from('wallets') + .select('*') + .eq('user_id', user.id) + .maybeSingle(); + + if (walletError) { + setError('Unable to load your wallet right now.'); + setIsLoading(false); + return; + } + + setWallet(walletData ?? null); + + const [ + { data: methodData, error: methodError }, + { data: txData, error: txError }, + ] = await Promise.all([ + supabase + .from('payment_methods') + .select('*') + .eq('user_id', user.id) + .order('is_default', { ascending: false }) + .order('created_at', { ascending: false }) + .limit(3), + walletData + ? supabase + .from('wallet_transactions') + .select('*') + .eq('wallet_id', walletData.id) + .order('created_at', { ascending: false }) + .limit(5) + : Promise.resolve({ data: [], error: null }), + ]); + + if (methodError || txError) { + setError('Some wallet details could not be loaded.'); + } + + setMethods(methodData ?? []); + setTransactions(txData ?? []); + setIsLoading(false); + }; + + void loadWallet(); + }, [user]); + + const balanceLabel = useMemo(() => { + if (!wallet) return '$0.00'; + return formatMoney(wallet.balance, wallet.currency); + }, [wallet]); + + return ( + + + +
+ history.replace('/profile')} + > + + +
+ Payments + Wallet +
+ history.push('/wallet/payment-methods/add')} + > + + +
+
+
+ + + + {!user ? ( + <> +
+
+ Available balance +

$48.50

+

Refund credits ready for your next basket.

+
+ Refund wallet + Instant checkout +
+
+
+ +
+
+ +
+
+ Refunds + Instant +
+
+ Checkout + Faster +
+
+ Security + Masked +
+
+ +
+

Saved payment methods

+ history.push('/wallet/payment-methods')} + > + See all + +
+ +
+ {[ + { + id: 'demo-visa', + brand: 'visa', + last4: '4242', + expiry_month: 8, + expiry_year: 2028, + is_default: true, + cardholder_name: 'Demo User', + }, + ].map((method) => ( + + ))} +
+ +
+

Recent wallet activity

+
+ +
+ {[ + { + id: 'txn-1', + title: 'Refund from cancelled order', + description: 'Order QC-481920 refund credited to wallet', + amount: 18.5, + created_at: new Date().toISOString(), + }, + { + id: 'txn-2', + title: 'Promotional wallet credit', + description: 'Welcome bonus added to your balance', + amount: 30, + created_at: new Date(Date.now() - 86400000).toISOString(), + }, + ].map((transaction) => ( +
+
+ {transaction.title} +

{transaction.description}

+
+
+ + {formatMoney(transaction.amount, 'USD')} + + + {new Date(transaction.created_at).toLocaleDateString()} + +
+
+ ))} +
+ +
+

How refunds work

+

+ In demo mode, this wallet preview shows how refund credits and + saved payment methods will appear for signed-in users. +

+
+ + ) : ( + <> +
+
+ Available balance +

{balanceLabel}

+

Refunds and credits ready for your next basket.

+
+ Refund wallet + Instant checkout +
+
+
+ +
+
+ + {error && ( + +

{error}

+
+ )} + +
+
+ Refunds + Instant +
+
+ Checkout + Faster +
+
+ Security + Masked +
+
+ +
+

Saved payment methods

+ history.push('/wallet/payment-methods')} + > + See all + +
+ + {methods.length === 0 ? ( +
+ +
+

No saved payment methods

+

Add a card once so future checkouts feel faster.

+
+ history.push('/wallet/payment-methods/add')} + > + + Add payment method + +
+ ) : ( +
+ {(() => { + const method = + methods.find((entry) => entry.is_default) ?? methods[0]; + if (!method) return null; + + return ( + + ); + })()} +
+ )} + +
+

Recent wallet activity

+
+ + {transactions.length === 0 ? ( +
+ +
+

No wallet activity yet

+

+ Refund credits and manual wallet adjustments will appear + here. +

+
+
+ ) : ( +
+ {transactions.map((transaction) => ( +
+
+ {transaction.title} +

{transaction.description || 'Wallet transaction'}

+
+
+ = 0 + ? 'wallet-positive' + : 'wallet-negative' + } + > + {formatMoney( + transaction.amount, + wallet?.currency || 'USD' + )} + + + {new Date(transaction.created_at).toLocaleDateString()} + +
+
+ ))} +
+ )} + +
+

How refunds work

+

+ When a refund is approved, the credited amount will appear in + your wallet balance and in the activity list above. +

+
+ + )} +
+
+ ); +}; + +export default Wallet; diff --git a/src/supabase.ts b/src/supabase.ts new file mode 100644 index 0000000..696a95a --- /dev/null +++ b/src/supabase.ts @@ -0,0 +1,7 @@ +import { createClient } from '@supabase/supabase-js'; +import type { Database } from './database.types'; + +export const supabase = createClient( + 'https://ztrqscwsjnfvcuaakqus.supabase.co', + 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp0cnFzY3dzam5mdmN1YWFrcXVzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Nzk4ODk5MzEsImV4cCI6MjA5NTQ2NTkzMX0.htIOqPM90Uk0dYIdD8X8_tLfq5URcSvmCArfVRF4jeQ', +); diff --git a/src/theme/variables.css b/src/theme/variables.css new file mode 100644 index 0000000..94a96f1 --- /dev/null +++ b/src/theme/variables.css @@ -0,0 +1,3997 @@ +/* Ionic CSS Variables — customise to match your app's brand */ +:root { + --ion-color-primary: #ff6a2f; + --ion-color-primary-rgb: 255, 106, 47; + --ion-color-primary-contrast: #ffffff; + --ion-color-primary-contrast-rgb: 255, 255, 255; + --ion-color-primary-shade: #e05d29; + --ion-color-primary-tint: #ff7a45; + + --ion-color-secondary: #3db8b4; + --ion-color-secondary-rgb: 61, 184, 180; + --ion-color-secondary-contrast: #ffffff; + --ion-color-secondary-contrast-rgb: 255, 255, 255; + --ion-color-secondary-shade: #35a29f; + --ion-color-secondary-tint: #50c0bd; + + --ion-color-tertiary: #16344b; + --ion-color-tertiary-rgb: 22, 52, 75; + --ion-color-tertiary-contrast: #ffffff; + --ion-color-tertiary-contrast-rgb: 255, 255, 255; + --ion-color-tertiary-shade: #132e42; + --ion-color-tertiary-tint: #2d485d; + + --ion-color-success: #2fb36d; + --ion-color-success-rgb: 47, 179, 109; + --ion-color-success-contrast: #ffffff; + --ion-color-success-contrast-rgb: 255, 255, 255; + --ion-color-success-shade: #299d60; + --ion-color-success-tint: #44bb7c; + + --ion-color-warning: #f4b400; + --ion-color-warning-rgb: 244, 180, 0; + --ion-color-warning-contrast: #000000; + --ion-color-warning-contrast-rgb: 0, 0, 0; + --ion-color-warning-shade: #d79e00; + --ion-color-warning-tint: #f5bc1a; + + --ion-color-danger: #d64550; + --ion-color-danger-rgb: 214, 69, 80; + --ion-color-danger-contrast: #ffffff; + --ion-color-danger-contrast-rgb: 255, 255, 255; + --ion-color-danger-shade: #bc3d46; + --ion-color-danger-tint: #da5862; + + --ion-color-dark: #182a3b; + --ion-color-dark-rgb: 24, 42, 59; + --ion-color-dark-contrast: #ffffff; + --ion-color-dark-contrast-rgb: 255, 255, 255; + --ion-color-dark-shade: #152536; + --ion-color-dark-tint: #2f4050; + + --ion-color-medium: #7d8996; + --ion-color-medium-rgb: 125, 137, 150; + --ion-color-medium-contrast: #ffffff; + --ion-color-medium-contrast-rgb: 255, 255, 255; + --ion-color-medium-shade: #6e7884; + --ion-color-medium-tint: #8a95a0; + + --ion-color-light: #f1f3f6; + --ion-color-light-rgb: 241, 243, 246; + --ion-color-light-contrast: #182a3b; + --ion-color-light-contrast-rgb: 24, 42, 59; + --ion-color-light-shade: #d4d6d9; + --ion-color-light-tint: #f2f4f7; + + --ion-background-color: #eff1f5; + --ion-text-color: #182a3b; +} + +body { + background: var(--ion-background-color); + color: var(--ion-text-color); +} + +.home-premium-header ion-toolbar { + --background: rgba(255, 247, 240, 0.88); + --border-color: transparent; + --min-height: 72px; + --padding-start: 0; + --padding-end: 0; + --padding-top: calc(8px + env(safe-area-inset-top)); + --padding-bottom: 8px; + backdrop-filter: blur(18px) saturate(1.12); + -webkit-backdrop-filter: blur(18px) saturate(1.12); +} + +.home-premium-toolbar { + display: flex; + align-items: center; + justify-content: space-between; + gap: 14px; + padding: 0 20px; +} + +.home-premium-location-block { + display: grid; + gap: 4px; + min-width: 0; +} + +.home-premium-location-block > span { + color: rgba(24, 38, 58, 0.48); + font-size: 0.72rem; + font-weight: 800; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.home-premium-location-button { + border: 0; + background: transparent; + color: #18263a; + display: inline-flex; + align-items: center; + gap: 7px; + padding: 0; + min-width: 0; + font-size: 0.98rem; +} + +.home-premium-location-button strong { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 190px; +} + +.home-premium-location-button ion-icon:first-child { + color: var(--ion-color-secondary); + flex-shrink: 0; +} + +.home-premium-location-button ion-icon:last-child { + width: 12px; + transform: rotate(90deg); + opacity: 0.54; + flex-shrink: 0; +} + +.home-premium-header-actions { + display: flex; + align-items: center; + gap: 10px; + flex-shrink: 0; +} + +.home-open-pill { + min-height: 34px; + display: inline-flex; + align-items: center; + padding: 0 12px; + border-radius: 999px; + background: rgba(47, 179, 109, 0.12); + color: #218052; + font-size: 0.78rem; + font-weight: 850; +} + +.home-premium-cart-button { + position: relative; + width: 48px; + height: 42px; + border: 0; + border-radius: 14px; + display: grid; + place-items: center; + background: linear-gradient( + 135deg, + var(--ion-color-primary), + var(--ion-color-primary-tint) + ); + color: #ffffff; + box-shadow: 0 12px 24px rgba(var(--ion-color-primary-rgb), 0.22); +} + +.home-premium-cart-button ion-icon { + font-size: 1.28rem; +} + +.home-premium-cart-button span { + position: absolute; + top: -7px; + right: -7px; + min-width: 22px; + height: 22px; + padding: 0 6px; + border-radius: 999px; + display: grid; + place-items: center; + background: #36a9e1; + color: #ffffff; + border: 2px solid #fff7f0; + font-size: 0.76rem; + font-weight: 900; +} + +.home-premium-hero { + position: relative; + margin: 8px 16px 0; + padding: 16px 14px 18px; + border-radius: 24px; + overflow: hidden; + background: + radial-gradient( + circle at 88% 8%, + rgba(61, 184, 180, 0.22) 0, + transparent 30% + ), + radial-gradient( + circle at 14% 98%, + rgba(255, 106, 47, 0.18) 0, + transparent 32% + ), + linear-gradient(135deg, #182a3b 0%, #17354d 48%, #0e6865 100%); + color: #ffffff; + box-shadow: 0 18px 36px rgba(24, 42, 59, 0.14); +} + +.home-premium-hero-copy span { + color: rgba(255, 255, 255, 0.68); + font-size: 0.68rem; + font-weight: 850; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.home-premium-hero-copy h1 { + margin: 5px 0 4px; + font-size: 1.42rem; + line-height: 1.03; + letter-spacing: -0.04em; + font-weight: 900; +} + +.home-premium-hero-copy p { + margin: 0; + max-width: 245px; + color: rgba(255, 255, 255, 0.72); + font-size: 0.8rem; + line-height: 1.34; +} + +.home-premium-chip-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 8px; + margin-top: 14px; +} + +.home-premium-chip { + display: flex; + align-items: center; + gap: 8px; + min-width: 0; + padding: 8px; + border-radius: 16px; + background: rgba(255, 255, 255, 0.11); + border: 1px solid rgba(255, 255, 255, 0.12); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); +} + +.home-premium-chip ion-icon { + width: 28px; + height: 28px; + padding: 7px; + border-radius: 999px; + background: rgba(61, 184, 180, 0.18); + color: #8af3ed; + flex-shrink: 0; +} + +.home-premium-chip span, +.home-premium-tracking-copy span { + display: block; + color: rgba(255, 255, 255, 0.62); + font-size: 0.66rem; + font-weight: 850; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.home-premium-chip strong { + display: block; + margin-top: 2px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 0.8rem; +} + +.home-premium-search-card { + position: relative; + margin-top: 12px; + border-radius: 16px; + background: rgba(255, 255, 255, 0.96); + box-shadow: 0 12px 24px rgba(10, 20, 30, 0.12); +} + +.home-premium-search-card ion-searchbar { + --background: transparent; + --border-radius: 18px; + --box-shadow: none; + --icon-color: #7d8996; + --placeholder-color: #8b96a2; + --color: #182a3b; + padding: 0; +} + +.home-premium-search-card ion-searchbar .searchbar-input-container { + min-height: 42px; + padding-right: 70px; +} + +.home-premium-search-actions { + position: absolute; + top: 50%; + right: 16px; + transform: translateY(-50%); + display: flex; + align-items: center; + gap: 13px; + color: #1b2734; + z-index: 2; + pointer-events: none; +} + +.home-premium-tracking-card { + width: 100%; + margin-top: 12px; + border: 0; + border-radius: 18px; + padding: 10px; + display: flex; + align-items: center; + gap: 10px; + background: rgba(255, 255, 255, 0.92); + color: #18263a; + text-align: left; +} + +.home-premium-tracking-icon { + width: 36px; + height: 36px; + border-radius: 14px; + display: grid; + place-items: center; + background: rgba(61, 184, 180, 0.14); + color: var(--ion-color-secondary); + flex-shrink: 0; +} + +.home-premium-tracking-copy { + flex: 1; + min-width: 0; +} + +.home-premium-tracking-copy span { + color: rgba(24, 38, 58, 0.5); +} + +.home-premium-tracking-copy strong { + display: block; + margin-top: 2px; + font-size: 0.98rem; + font-weight: 900; +} + +.home-premium-tracking-copy p { + margin: 2px 0 0; + color: rgba(24, 38, 58, 0.58); + font-size: 0.84rem; +} + +.reference-header ion-toolbar, +.shop-header ion-toolbar { + --background: #182a3b; + --border-color: transparent; + --min-height: 72px; + --padding-start: 0; + --padding-end: 0; + --padding-top: calc(8px + env(safe-area-inset-top)); + --padding-bottom: 12px; +} + +.hybrid-subpage-header ion-toolbar, +.hybrid-subpage-toolbar { + --background: #fff8f2; + --color: #2d2520; + --border-color: transparent; +} + +.reference-header-inner { + padding: 0 16px 12px; + color: #ffffff; +} + +.reference-status-row { + display: flex; + align-items: center; + justify-content: flex-start; + margin-bottom: 18px; +} + +.reference-time { + font-size: 1.95rem; + font-weight: 800; + letter-spacing: -0.04em; + line-height: 1; +} + +.reference-location-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 10px; +} + +.reference-location-pill { + display: inline-flex; + align-items: center; + gap: 6px; + min-width: 0; + flex: 1; + color: rgba(255, 255, 255, 0.88); + font-size: 0.92rem; + font-weight: 500; +} + +.reference-location-pill span { + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.reference-location-pill ion-icon:first-child { + font-size: 1rem; + color: rgba(var(--ion-color-secondary-rgb), 0.95); +} + +.reference-address-chevron { + font-size: 0.72rem; + opacity: 0.72; + flex-shrink: 0; + transform: rotate(90deg); +} + +.reference-chip-row { + display: flex; + align-items: center; + gap: 8px; + flex-shrink: 0; +} + +.reference-delivery-chip { + display: inline-flex; + align-items: center; + gap: 8px; + min-height: 36px; + padding: 0 12px; + border-radius: 999px; + background: rgba(255, 255, 255, 0.03); + border: 1.5px solid rgba(var(--ion-color-secondary-rgb), 0.72); + color: #f3ffff; + white-space: nowrap; + font-size: 0.82rem; + font-weight: 800; +} + +.reference-delivery-chip ion-icon { + font-size: 0.96rem; +} + +.reference-delivery-chip.active { + background: rgba(var(--ion-color-secondary-rgb), 0.12); +} + +.reference-search-shell { + margin-top: 16px; +} + +.reference-searchbar-wrap { + position: relative; +} + +.reference-search-shell ion-searchbar { + --background: #ffffff; + --border-radius: 14px; + --box-shadow: none; + --icon-color: #8b96a2; + --placeholder-color: #8b96a2; + --color: #182a3b; + padding: 0; +} + +.reference-search-shell ion-searchbar .searchbar-input-container { + min-height: 48px; + padding-right: 78px; +} + +.reference-search-shell ion-searchbar input { + font-size: 0.94rem; +} + +.reference-search-actions { + position: absolute; + top: 50%; + right: 16px; + transform: translateY(-50%); + display: flex; + align-items: center; + gap: 14px; + color: #1b2734; + z-index: 2; + pointer-events: none; +} + +.reference-search-actions ion-icon { + font-size: 1.18rem; +} + +.hybrid-header-inner { + padding: 0 18px 10px; + color: #ffffff; +} + +.home-brand-block { + min-width: 0; + flex: 1; + padding-right: 10px; +} + +.address-row, +.header-title-row, +.home-header-actions, +.delivery-chip-row, +.reference-detail-price-row, +.reference-qty-header, +.summary-time-pill, +.reference-cart-summary-strip, +.reference-total-card, +.reference-cart-actions, +.summary-row, +.delivery-detail-row, +.order-card-top, +.order-card-row, +.filter-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; +} + +.address-row { + align-items: flex-start; +} + +.compact-address-row { + align-items: center; +} + +.address-pill { + display: inline-flex; + align-items: center; + gap: 8px; + color: rgba(255, 255, 255, 0.9); + font-size: 0.95rem; +} + +.light-address-pill { + color: rgba(255, 255, 255, 0.9); + font-weight: 600; + max-width: calc(100vw - 92px); +} + +.light-address-pill span { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.reference-title, +.detail-toolbar-title { + padding: 0; + margin: 0; + text-align: left; + color: #ffffff; + font-size: 1.55rem; + font-weight: 800; + letter-spacing: -0.02em; +} + +.detail-toolbar-title-left { + position: static; + transform: none; + width: auto; + max-width: calc(100% - 136px); + margin-left: 6px; + margin-right: auto; + text-align: left; +} + +.detail-toolbar-title-left .toolbar-title { + text-align: left; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + line-height: 1.2; + font-size: 1rem; + font-weight: 800; +} + +.hybrid-title, +.home-title { + color: #ffffff; +} + +.home-title { + padding: 0; + margin: 0; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.hybrid-subtitle { + margin: 8px 0 0; + color: rgba(255, 255, 255, 0.72); + font-size: 0.94rem; + line-height: 1.4; + max-width: 240px; +} + +.hybrid-header-main-row { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; + margin-top: 14px; +} + +.compact-address-row { + justify-content: space-between; + gap: 12px; +} + +.header-title-row { + margin-top: 14px; + align-items: center; +} + +.profile-icon-button, +.detail-nav-button { + --color: #ffffff; + --background: rgba(255, 255, 255, 0.08); + --background-hover: rgba(255, 255, 255, 0.12); + --background-activated: rgba(255, 255, 255, 0.16); + --border-radius: 18px; + min-width: 46px; + min-height: 46px; +} + +.soft-profile-button, +.hybrid-subpage-toolbar .detail-nav-button { + --color: #182a3b; + --background: #ffffff; + --background-hover: #f4f7fb; + --background-activated: #edf2f7; + box-shadow: none; +} + +.profile-icon-button ion-icon, +.detail-nav-button ion-icon { + font-size: 1.4rem; +} + +.home-header-actions { + gap: 10px; +} + +.compact-header-actions { + gap: 8px; + flex-shrink: 0; + align-items: center; +} + +.header-chip-button { + --background: rgba(var(--ion-color-secondary-rgb), 0.12); + --background-hover: rgba(var(--ion-color-secondary-rgb), 0.18); + --background-activated: rgba(var(--ion-color-secondary-rgb), 0.22); + --border-width: 1.5px; + --border-style: solid; + --border-color: rgba(var(--ion-color-secondary-rgb), 0.55); + --border-radius: 999px; + --color: #eaffff; + --padding-start: 12px; + --padding-end: 12px; + min-height: 42px; + font-weight: 800; + text-transform: none; + margin: 0; +} + +.soft-header-chip { + --background: rgba(var(--ion-color-secondary-rgb), 0.14); + --background-hover: rgba(var(--ion-color-secondary-rgb), 0.2); + --background-activated: rgba(var(--ion-color-secondary-rgb), 0.24); + --border-color: rgba(var(--ion-color-secondary-rgb), 0.55); + --color: #eaffff; +} + +.soft-cart-chip { + --background: rgba(var(--ion-color-secondary-rgb), 0.18); + --border-color: rgba(var(--ion-color-secondary-rgb), 0.62); + --color: #eaffff; +} + +.header-chip-button ion-icon { + font-size: 1.1rem; +} + +.cart-chip-button { + min-width: 68px; +} + +.delivery-chip-row { + justify-content: flex-start; + margin-top: 16px; + flex-wrap: wrap; +} + +.hybrid-chip-row { + margin-top: 14px; +} + +.delivery-chip { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 10px 14px; + border-radius: 999px; + border: 1.5px solid rgba(61, 184, 180, 0.4); + color: #c7f7f4; + font-weight: 700; + font-size: 0.92rem; +} + +.light-delivery-chip { + border-color: rgba(var(--ion-color-secondary-rgb), 0.45); + color: #d6ffff; + background: rgba(255, 255, 255, 0.06); +} + +.light-delivery-chip.active { + background: rgba(var(--ion-color-secondary-rgb), 0.14); +} + +.delivery-chip.active { + background: rgba(61, 184, 180, 0.14); +} + +.search-shell { + margin-top: 18px; +} + +.hybrid-search-shell { + margin-top: 16px; +} + +.search-shell ion-searchbar { + --background: #f7f7fa; + --border-radius: 16px; + --box-shadow: none; + --icon-color: #7d8996; + --placeholder-color: #7d8996; + --color: #182a3b; + padding: 0; +} + +.hybrid-search-shell ion-searchbar { + --background: #ffffff; + --border-radius: 18px; + --box-shadow: none; +} + +.reference-home-content, +.reference-surface, +.shop-content { + --background: linear-gradient( + 180deg, + #182a3b 0, + #182a3b 260px, + #eff1f5 260px, + #eff1f5 100% + ); +} + +.hybrid-home-content, +.hybrid-page-surface { + --background: linear-gradient( + 180deg, + #182a3b 0, + #182a3b 236px, + #eff1f5 236px, + #eff1f5 100% + ); +} + +.premium-home-content { + --background: linear-gradient(180deg, #fff7f0 0%, #f4f6f8 44%, #eef2f5 100%); +} + +.tracking-section { + padding: 18px 16px 0; + padding-top: 10px; +} + +.section-label { + margin: 0 0 10px; + font-size: 0.82rem; + font-weight: 800; + letter-spacing: 0.04em; + color: #ffffff; +} + +.light-section-label { + color: #ffffff; +} + +.tracking-card { + width: 100%; + border: 0; + border-radius: 18px; + padding: 16px; + background: #ffffff; + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + color: #182a3b; +} + +.hybrid-tracking-card { + box-shadow: 0 12px 26px rgba(71, 52, 35, 0.08); +} + +.tracking-card-left, +.tracking-card-right, +.tracking-icon-bubble, +.shelf-meta-pill, +.bottom-nav-item, +.reference-detail-meta, +.rating-pill, +.product-card-top, +.product-card-footer, +.quantity-row, +.order-box, +.detail-meta, +.cart-actions, +.confirmation-details { + display: flex; + align-items: center; + gap: 10px; +} + +.tracking-card-left { + flex: 1; +} + +.tracking-card-left strong, +.tracking-card-right span { + font-size: 1rem; + font-weight: 800; +} + +.tracking-card-left p { + margin: 4px 0 0; + color: #7d8996; + font-size: 0.9rem; +} + +.tracking-icon-bubble { + width: 42px; + height: 42px; + justify-content: center; + border-radius: 14px; + background: rgba(61, 184, 180, 0.14); + color: var(--ion-color-secondary); + flex-shrink: 0; +} + +.hybrid-tracking-icon { + background: rgba(var(--ion-color-secondary-rgb), 0.12); +} + +.tracking-progress-card { + margin-top: 16px; + padding: 14px 16px; + border-radius: 22px 22px 0 0; + background: #f1f3f6; +} + +.hybrid-progress-card { + border-radius: 22px 22px 0 0; + background: #e9edf2; + box-shadow: none; +} + +.tracking-progress-bar { + height: 10px; + width: 100%; + border-radius: 999px; + background: linear-gradient( + 90deg, + #48c1bf 0%, + #48c1bf 82%, + #d9edf0 82%, + #d9edf0 100% + ); +} + +.home-shelves-area { + background: #eff1f5; + border-radius: 26px 26px 0 0; + padding: 18px 0 120px; +} + +.premium-shelves-area { + margin-top: -12px; + background: transparent; + border-radius: 0; + padding-top: 4px; +} + +.hybrid-shelves-area { + background: #eff1f5; + border-radius: 28px 28px 0 0; + padding-top: 10px; +} + +.shelf-section, +.browse-section { + margin-top: 12px; +} + +.shelf-section-header, +.reference-section-heading { + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 18px; + margin-bottom: 12px; +} + +.shelf-section-header h2, +.reference-section-heading h2, +.checkout-heading h2, +.reference-qty-header h2, +.timeline-card h2, +.detail-panel h2, +.section-heading h2 { + margin: 0; + font-size: 1.02rem; + font-weight: 900; + letter-spacing: -0.01em; +} + +.view-all-button { + --color: var(--ion-color-secondary); + font-weight: 800; + text-transform: none; +} + +.shelf-scroll { + display: grid; + grid-auto-flow: column; + grid-auto-columns: minmax(220px, 220px); + gap: 14px; + overflow-x: auto; + padding: 0 18px 6px; + scroll-snap-type: x proximity; + -ms-overflow-style: none; + scrollbar-width: none; +} + +.shelf-scroll::-webkit-scrollbar { + display: none; +} + +.shelf-product-card, +.browse-product-card { + border: 0; + border-radius: 20px; + background: rgba(255, 255, 255, 0.94); + box-shadow: 0 14px 32px rgba(24, 38, 58, 0.07); + text-align: left; + padding: 12px; + color: #182a3b; +} + +.shelf-product-card { + min-height: 330px; + display: flex; + flex-direction: column; + padding: 14px; + border-radius: 24px; + box-shadow: none; + scroll-snap-align: start; +} + +.shelf-image-wrap { + position: relative; + border-radius: 18px; + background: linear-gradient(180deg, #fbfaf7 0%, #f1f4f6 100%); + padding: 12px; + min-height: 156px; +} + +.shelf-product-image, +.browse-product-card img { + width: 100%; + height: 132px; + object-fit: contain; + display: block; +} + +.shelf-add-badge { + position: absolute; + top: 8px; + right: 8px; + width: 36px; + height: 36px; + border-radius: 999px; + background: rgba(61, 184, 180, 0.12); + color: var(--ion-color-secondary); + font-size: 1.9rem; + line-height: 36px; + text-align: center; + font-weight: 300; +} + +.shelf-card-copy { + display: flex; + flex: 1; + flex-direction: column; + padding-top: 14px; +} + +.shelf-price-block { + margin-top: 4px; + margin-bottom: 6px; +} + +.shelf-price { + font-size: 1.3rem; + font-weight: 900; + color: #f15a24; +} + +.shelf-product-card h3, +.browse-product-card h3, +.product-card h3, +.order-card h3, +.tracking-summary-card h1, +.timeline-card h2 { + margin: 8px 0 6px; + font-size: 1rem; + font-weight: 800; +} + +.shelf-product-title { + margin: 8px 0 2px !important; + min-height: 2.45em; + line-height: 1.22; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.shelf-product-card p, +.product-card p, +.cart-item p, +.muted-text, +.browse-product-copy p { + margin: 0; + color: #6c7884; + line-height: 1.45; +} + +.shelf-product-description { + min-height: 0; + margin-top: 8px; + font-size: 0.94rem; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.shelf-meta-pill, +.summary-time-pill { + justify-content: center; + margin-top: auto; + padding: 8px 12px; + border-radius: 999px; + border: 1.5px solid rgba(61, 184, 180, 0.45); + color: var(--ion-color-secondary); + font-weight: 800; + font-size: 0.82rem; +} + +.shelf-product-description + .shelf-meta-pill { + margin-top: 12px; +} + +.browse-section { + padding: 0 18px; +} + +.browse-product-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 14px; + align-items: start; +} + +.browse-product-card { + position: relative; + padding: 12px; + display: flex; + flex-direction: column; + min-height: 292px; + box-shadow: none; +} + +.browse-product-image-wrap { + position: relative; + border-radius: 18px; + background: linear-gradient(180deg, #fbfaf7 0%, #f1f4f6 100%); + padding: 10px; + min-height: 132px; +} + +.browse-product-card img { + height: 112px; + width: 100%; + object-fit: contain; + display: block; +} + +.browse-add-badge { + position: absolute; + top: 8px; + right: 8px; + width: 34px; + height: 34px; + border: 0; + border-radius: 999px; + background: rgba(61, 184, 180, 0.12); + color: var(--ion-color-secondary); + font-size: 1.7rem; + line-height: 34px; + text-align: center; + font-weight: 300; +} + +.browse-product-copy { + display: flex; + flex: 1; + flex-direction: column; + padding: 12px 2px 2px; +} + +.browse-price-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + margin-top: 2px; +} + +.browse-meta-pill { + display: inline-flex; + align-items: center; + gap: 6px; + padding: 6px 10px; + border-radius: 999px; + border: 1.5px solid rgba(61, 184, 180, 0.35); + color: var(--ion-color-secondary); + font-weight: 800; + font-size: 0.72rem; + white-space: nowrap; +} + +.browse-product-copy p { + margin-top: 10px; + font-size: 0.9rem; + line-height: 1.42; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.browse-product-category, +.order-label, +.overview-label { + color: #7d8996; + font-size: 0.77rem; + font-weight: 800; + letter-spacing: 0.05em; + text-transform: uppercase; +} + +.browse-product-copy h3 { + margin: 8px 0 4px; + min-height: 2.45em; + line-height: 1.22; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.browse-product-copy strong { + font-size: 1.1rem; + font-weight: 900; + color: var(--ion-color-primary); +} + +.bottom-nav-spacer { + height: 92px; +} + +.reference-bottom-nav { + position: fixed; + left: 14px; + right: 14px; + bottom: 10px; + z-index: 20; + display: grid; + grid-template-columns: repeat(5, 1fr); + gap: 6px; + padding: 9px 8px calc(9px + env(safe-area-inset-bottom)); + border-radius: 24px; + background: rgba(255, 255, 255, 0.96); + border: 1px solid rgba(255, 255, 255, 0.86); + backdrop-filter: blur(28px) saturate(1.2); + -webkit-backdrop-filter: blur(28px) saturate(1.2); + box-shadow: 0 18px 42px rgba(24, 38, 58, 0.14); +} + +.hybrid-home-content .reference-bottom-nav { + background: rgba(248, 249, 252, 0.97); + border: 1px solid rgba(214, 220, 228, 0.9); + backdrop-filter: blur(34px) saturate(1.15); + -webkit-backdrop-filter: blur(34px) saturate(1.15); + box-shadow: 0 14px 32px rgba(17, 34, 51, 0.12); +} + +.bottom-nav-item { + flex-direction: column; + justify-content: center; + border: 0; + background: transparent; + color: #1f2933; + font-size: 0.74rem; + font-weight: 700; + gap: 6px; + padding: 6px 2px; +} + +.bottom-nav-item ion-icon { + font-size: 1.3rem; +} + +.bottom-nav-item.active { + color: var(--ion-color-primary); +} + +.bottom-nav-item.active ion-icon { + padding: 6px; + border-radius: 999px; + background: rgba(var(--ion-color-primary-rgb), 0.12); +} + +.reference-detail-shell { + padding: 18px 18px 28px; +} + +.product-detail-page-surface { + --background: #f8f8f6; +} + +.food-detail-shell-modern { + padding-top: calc(var(--ion-safe-area-top, 0px) + 14px); +} + +.food-detail-top-actions { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 10px; +} + +.product-detail-modern-button, +.product-detail-modern-cart { + margin: 0; + min-height: 44px; + backdrop-filter: blur(18px); + -webkit-backdrop-filter: blur(18px); +} + +.product-detail-modern-button { + --background: rgba(255, 255, 255, 0.78); + --background-hover: rgba(255, 255, 255, 0.9); + --background-activated: rgba(255, 255, 255, 0.96); + --color: #18263a; + --border-radius: 14px; + width: 44px; + height: 44px; + box-shadow: 0 12px 30px rgba(24, 38, 58, 0.08); +} + +.product-detail-modern-button ion-icon { + font-size: 1.05rem; +} + +.product-detail-modern-cart { + --background: rgba(21, 184, 176, 0.14); + --background-hover: rgba(21, 184, 176, 0.2); + --background-activated: rgba(21, 184, 176, 0.24); + --color: #117f79; + --border-radius: 14px; + --padding-start: 12px; + --padding-end: 12px; + border: 1px solid rgba(21, 184, 176, 0.22); + box-shadow: 0 12px 28px rgba(24, 38, 58, 0.08); + font-weight: 800; +} + +.product-detail-modern-cart ion-icon { + font-size: 1.02rem; +} + +.hybrid-detail-shell { + padding-top: 10px; +} + +.product-detail-topbar ion-toolbar, +.product-detail-topbar-toolbar { + --background: transparent; + --border-color: transparent; + --padding-top: calc(6px + env(safe-area-inset-top)); + --padding-bottom: 0; + --min-height: 0; +} + +.product-detail-topbar-inner { + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 20px; +} + +.product-detail-float-button { + --background: rgba(255, 255, 255, 0.72); + --background-hover: rgba(255, 255, 255, 0.84); + --background-activated: rgba(255, 255, 255, 0.9); + --color: #18263a; + --border-radius: 999px; + width: 44px; + height: 44px; + margin: 0; + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); + box-shadow: 0 10px 24px rgba(24, 38, 58, 0.08); +} + +.product-detail-float-button-solid { + --background: rgba(35, 47, 61, 0.92); + --background-hover: rgba(35, 47, 61, 0.96); + --background-activated: rgba(35, 47, 61, 1); + --color: #ffffff; + box-shadow: 0 14px 28px rgba(17, 34, 51, 0.18); +} + +.product-detail-float-button ion-icon { + font-size: 1.12rem; +} + +.product-detail-cart-pill { + --background: rgba(255, 255, 255, 0.72); + --background-hover: rgba(255, 255, 255, 0.84); + --background-activated: rgba(255, 255, 255, 0.9); + --color: #18263a; + --border-radius: 999px; + --padding-start: 13px; + --padding-end: 13px; + min-height: 44px; + margin: 0; + font-weight: 800; + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); + box-shadow: 0 10px 24px rgba(24, 38, 58, 0.08); +} + +.product-detail-cart-pill-floating { + --background: rgba(255, 255, 255, 0.8); + --background-hover: rgba(255, 255, 255, 0.9); + --background-activated: rgba(255, 255, 255, 0.96); + border: 1px solid rgba(61, 184, 180, 0.32); + box-shadow: 0 14px 28px rgba(17, 34, 51, 0.12); +} + +.product-detail-cart-pill ion-icon { + font-size: 1.08rem; +} + +.food-detail-subrow { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + margin-top: 10px; +} + +.food-detail-subrow-compact { + margin-top: 8px; +} + +.food-detail-branding { + display: flex; + align-items: center; + gap: 10px; + min-width: 0; + flex: 1; +} + +.food-detail-brand-icon { + width: 32px; + height: 32px; + border-radius: 10px; + background: rgba(255, 106, 47, 0.12); + color: var(--ion-color-primary); + display: grid; + place-items: center; + flex-shrink: 0; +} + +.food-detail-branding strong { + display: block; + font-size: 0.95rem; + color: #182a3b; +} + +.food-detail-branding span { + display: block; + margin-top: 1px; + font-size: 0.8rem; + color: rgba(24, 42, 59, 0.58); +} + +.food-detail-rating-button { + border: 0; + background: transparent; + padding: 0; + display: inline-flex; + align-items: center; + gap: 4px; + color: #182a3b; + flex-shrink: 0; +} + +.food-detail-rating-button ion-icon { + color: #f4b400; + font-size: 1rem; +} + +.food-detail-rating-button span { + font-weight: 800; + font-size: 0.95rem; +} + +.food-detail-rating-button small { + color: rgba(24, 42, 59, 0.58); + font-size: 0.82rem; +} + +.food-detail-image-card { + margin-top: 10px; + padding: 0; + overflow: hidden; + border-radius: 28px; +} + +.food-detail-image-card-compact { + margin-top: 8px; +} + +.food-detail-image { + width: 100%; + height: 246px; + object-fit: cover; + display: block; + background: #eef1f5; +} + +.food-detail-image-compact { + height: 228px; +} + +.food-detail-info-card { + margin-top: 12px; + padding: 16px; +} + +.food-detail-info-card-compact { + margin-top: 10px; + padding: 15px; +} + +.food-detail-section-head { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; +} + +.food-detail-section-head h2 { + margin: 0; + font-size: 1.05rem; + font-weight: 900; + color: #182a3b; +} + +.food-detail-time-pill { + display: inline-flex; + align-items: center; + gap: 6px; + color: #182a3b; + font-weight: 700; + font-size: 0.92rem; +} + +.food-detail-description { + margin: 10px 0 0; + color: rgba(24, 42, 59, 0.72); + font-size: 0.96rem; + line-height: 1.55; +} + +.food-detail-description-compact { + margin-top: 8px; +} + +.food-detail-price-row { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 14px; + margin-top: 14px; +} + +.food-detail-price-row-compact { + margin-top: 12px; +} + +.food-detail-price-label { + display: block; + margin-bottom: 4px; + color: rgba(24, 42, 59, 0.48); + font-size: 0.72rem; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.04em; +} + +.food-detail-price-row strong { + font-size: 1.45rem; + color: var(--ion-color-primary); + font-weight: 900; +} + +.food-detail-quantity-card { + padding: 10px 12px; + border-radius: 18px; + background: #f4f6f9; + min-width: 136px; +} + +.food-detail-quantity-card-compact { + padding: 8px 10px; + min-width: 128px; +} + +.food-detail-quantity-card > span { + display: block; + margin-bottom: 6px; + font-size: 0.72rem; + font-weight: 700; + letter-spacing: 0.04em; + text-transform: uppercase; + color: rgba(24, 42, 59, 0.52); +} + +.food-detail-quantity-stepper { + display: flex; + align-items: center; + justify-content: space-between; + gap: 6px; +} + +.food-detail-quantity-stepper ion-button { + --background: #ffffff; + --color: #182a3b; + --border-radius: 999px; + min-width: 32px; + min-height: 32px; + margin: 0; +} + +.food-detail-quantity-stepper strong { + font-size: 1rem; + color: #182a3b; +} + +.food-detail-bottom-bar { + position: fixed; + left: 0; + right: 0; + bottom: 0; + display: flex; + align-items: center; + gap: 12px; + padding: 12px 18px calc(12px + var(--ion-safe-area-bottom, 0px)); + background: rgba(255, 255, 255, 0.98); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); + box-shadow: 0 -8px 24px rgba(17, 34, 51, 0.06); +} + +.food-detail-bottom-bar-compact { + gap: 10px; +} + +.food-detail-total-block { + min-width: 98px; +} + +.food-detail-total-block span { + display: block; + margin-bottom: 3px; + color: rgba(24, 42, 59, 0.48); + font-size: 0.74rem; + font-weight: 700; +} + +.food-detail-total-block strong { + font-size: 1.08rem; + color: #182a3b; + font-weight: 900; +} + +.food-detail-add-button { + flex: 1; + --border-radius: 999px; + min-height: 48px; + font-weight: 800; +} + +.food-detail-message { + margin-top: 10px; +} + +.reference-detail-hero, +.reference-detail-panel, +.reference-cart-summary-strip, +.reference-checkout-card, +.reference-order-total-card, +.tracking-summary-card, +.timeline-card, +.delivery-details-card, +.auth-card, +.order-card, +.checkout-card, +.summary-card, +.confirmation-card, +.cart-item { + background: #ffffff; + border-radius: 24px; + box-shadow: 0 12px 28px rgba(17, 34, 51, 0.08); +} + +.hybrid-page-surface .reference-detail-hero, +.hybrid-page-surface .reference-detail-panel, +.hybrid-page-surface .reference-cart-summary-strip, +.hybrid-page-surface .reference-checkout-card, +.hybrid-page-surface .reference-order-total-card, +.hybrid-home-content .tracking-card, +.hybrid-home-content .tracking-progress-card, +.hybrid-home-content .shelf-product-card, +.hybrid-home-content .browse-product-card { + box-shadow: 0 12px 28px rgba(71, 52, 35, 0.08); +} + +.reference-detail-hero, +.reference-detail-panel { + padding: 16px; +} + +.reference-detail-image-wrap { + border-radius: 22px; + background: #f8f9fb; + padding: 14px; +} + +.reference-detail-image { + width: 100%; + height: 250px; + object-fit: contain; + display: block; +} + +.reference-detail-copy { + padding: 16px 4px 4px; +} + +.reference-category-chip { + --background: rgba(61, 184, 180, 0.14); + --color: var(--ion-color-secondary); + font-weight: 800; +} + +.reference-detail-copy h1, +.hero-card h1, +.detail-hero h1, +.confirmation-card h1 { + margin: 14px 0 10px; + font-size: 1.9rem; + line-height: 1.08; +} + +.reference-detail-product-title { + margin: 14px 0 10px; + font-size: 1.5rem; + line-height: 1.16; + letter-spacing: -0.02em; + color: #182a3b; +} + +.reference-detail-copy p, +.hero-card p { + color: #6c7884; +} + +.reference-detail-meta { + margin: 14px 0; + flex-wrap: wrap; +} + +.reference-detail-meta ion-badge, +.detail-meta ion-badge { + display: inline-flex; + align-items: center; + gap: 6px; + padding: 8px 12px; + border-radius: 999px; +} + +.reference-detail-price-row { + margin-top: 16px; + align-items: flex-end; +} + +.reference-detail-price-row strong, +.detail-price { + font-size: 2rem; + color: var(--ion-color-primary); +} + +.reference-detail-price-row span { + color: #7d8996; + font-size: 0.9rem; +} + +.reference-detail-panel { + margin-top: 16px; +} + +.reference-quantity-stepper { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 4px; + border-radius: 999px; + background: #f4f6f8; +} + +.reference-quantity-stepper ion-button { + --color: #182a3b; + --background: #ffffff; + --border-radius: 999px; + min-width: 38px; + min-height: 38px; +} + +.reference-quantity-stepper span, +.cart-actions span, +.quantity-row span { + min-width: 24px; + text-align: center; + font-weight: 800; +} + +.reference-total-card { + margin-top: 20px; + padding: 18px; + border-radius: 20px; + background: #f4f6f8; +} + +.reference-total-card strong, +.summary-row strong, +.confirmation-details strong { + font-size: 1.2rem; +} + +.detail-secondary-button { + --color: #182a3b; + font-weight: 700; + text-transform: none; +} + +.detail-success-message p { + margin: 14px 0 0; +} + +.reference-cart-layout { + display: grid; + gap: 16px; +} + +.reference-cart-summary-strip { + padding: 18px; +} + +.reference-cart-summary-strip h2 { + margin: 4px 0 0; + font-size: 1.55rem; +} + +.reference-cart-list, +.cart-list, +.orders-list { + background: transparent; +} + +.reference-cart-item, +.cart-item { + --background: #ffffff; + --padding-start: 16px; + --inner-padding-end: 16px; + margin-bottom: 12px; +} + +.reference-cart-actions ion-button, +.cart-actions ion-button { + --background: #f4f6f8; + --border-radius: 999px; + min-width: 38px; + min-height: 38px; +} + +.reference-checkout-card, +.checkout-card, +.summary-card, +.confirmation-card, +.order-card, +.tracking-summary-card, +.timeline-card, +.delivery-details-card, +.auth-card { + padding: 20px; +} + +.checkout-heading, +.section-heading { + margin: 0 0 16px; +} + +.checkout-form-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 16px; +} + +.form-field { + display: grid; + gap: 8px; +} + +.form-field.full-width { + grid-column: 1 / -1; +} + +.form-field ion-label { + font-size: 0.95rem; + font-weight: 700; + color: #304252; +} + +.checkout-input, +.auth-input-item { + --background: #f7f8fb; + --padding-start: 14px; + --padding-end: 14px; + --padding-top: 14px; + --padding-bottom: 14px; + border-radius: 16px; + border: 1px solid #e2e6eb; +} + +.checkout-textarea { + min-height: 112px; +} + +.field-error p { + margin: 0; + font-size: 0.88rem; +} + +.total-row { + margin: 14px 0 20px; + padding-top: 14px; + border-top: 1px solid #e7ebef; + font-size: 1.05rem; +} + +.reference-place-order-button { + --border-radius: 16px; + min-height: 52px; + font-weight: 800; +} + +.empty-state { + padding: 48px 24px; + text-align: center; + display: grid; + gap: 12px; + justify-items: center; +} + +.reference-empty-state { + background: #ffffff; + border-radius: 24px; + box-shadow: 0 12px 28px rgba(17, 34, 51, 0.08); +} + +.empty-state ion-icon, +.confirmation-card ion-icon { + font-size: 3rem; + color: var(--ion-color-secondary); +} + +.cart-empty { + min-height: 70vh; + align-content: center; +} + +.confirmation-card { + margin-top: 8vh; + text-align: center; +} + +.confirmation-details { + margin: 24px 0 16px; + padding: 16px; + border-radius: 18px; + background: #f7f8fb; + text-align: left; + display: grid; +} + +.confirmation-details span { + display: block; + margin-bottom: 4px; + color: #7d8996; + font-size: 0.92rem; +} + +.delivery-details-card { + margin: 0 0 24px; + text-align: left; +} + +.delivery-detail-row { + align-items: flex-start; + padding: 10px 0; + border-bottom: 1px solid #edf0f3; +} + +.delivery-detail-row:last-child { + border-bottom: 0; +} + +.delivery-detail-row span { + color: #7d8996; + font-size: 0.92rem; +} + +.delivery-detail-row strong { + color: #182a3b; + text-align: right; + max-width: 65%; +} + +.delivery-detail-block { + display: grid; +} + +.delivery-detail-block strong { + max-width: none; + text-align: left; +} + +.order-card { + width: 100%; + border: 0; + text-align: left; +} + +.order-card-date { + margin-top: 16px; + color: #7d8996; + font-size: 0.9rem; +} + +.tracking-summary-card { + background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%); + margin-bottom: 16px; +} + +.timeline-card { + margin-bottom: 16px; +} + +.tracking-timeline { + display: grid; + gap: 16px; + margin-top: 16px; +} + +.timeline-step { + display: grid; + grid-template-columns: 18px 1fr; + gap: 12px; + align-items: start; + opacity: 0.55; +} + +.timeline-step.active { + opacity: 1; +} + +.timeline-dot { + width: 14px; + height: 14px; + border-radius: 999px; + margin-top: 4px; + background: #d8dde3; + box-shadow: 0 0 0 6px #eef2f5; +} + +.timeline-step.active .timeline-dot { + background: var(--ion-color-secondary); +} + +.auth-page { + --background: linear-gradient( + 180deg, + #182a3b 0%, + #182a3b 240px, + #eff1f5 240px, + #eff1f5 100% + ); +} + +.auth-card { + max-width: 640px; + margin: 0 auto; +} + +.auth-card h1 { + margin: 0 0 8px; +} + +.auth-form { + display: grid; + gap: 14px; + margin-top: 20px; +} + +.filter-row { + gap: 12px; + margin: 8px 0 18px; +} + +.filter-chip-row { + display: flex; + gap: 8px; + overflow-x: auto; + padding-bottom: 4px; +} + +.filter-button { + flex-shrink: 0; +} + +.filter-modal h2 { + margin: 4px 0 16px; +} + +.default-pill { + display: inline-flex; + align-items: center; + padding: 6px 10px; + border-radius: 999px; + background: rgba(var(--ion-color-secondary-rgb), 0.12); + color: var(--ion-color-secondary); + font-weight: 700; + font-size: 0.85rem; +} + +.admin-order-item ion-select { + min-width: 150px; +} + +.wallet-header ion-toolbar { + --background: #f6f7fb; + --color: #18263a; + --border-color: transparent; +} + +.wallet-header-modern ion-toolbar { + --background: rgba(255, 250, 245, 0.86); + --border-color: transparent; + --min-height: 76px; + --padding-start: 0; + --padding-end: 0; + --padding-top: calc(8px + env(safe-area-inset-top)); + --padding-bottom: 8px; + backdrop-filter: blur(18px) saturate(1.12); + -webkit-backdrop-filter: blur(18px) saturate(1.12); +} + +.wallet-toolbar-inner { + display: grid; + grid-template-columns: 44px 1fr 44px; + align-items: center; + gap: 10px; + padding: 0 20px; +} + +.wallet-back-button-modern, +.wallet-header-add-button { + --color: #18263a; + --border-radius: 999px; + --padding-start: 0; + --padding-end: 0; + width: 42px; + height: 42px; + min-width: 42px; + min-height: 42px; + margin: 0; + border-radius: 999px; + overflow: hidden; +} + +.wallet-back-button-modern::part(native), +.wallet-header-add-button::part(native) { + width: 42px; + height: 42px; + min-width: 42px; + min-height: 42px; + padding: 0; + border-radius: 999px; + box-shadow: none; +} + +.wallet-back-button-modern { + --background: rgba(255, 255, 255, 0.94); + --background-hover: rgba(255, 255, 255, 0.98); + --background-activated: #ffffff; + box-shadow: 0 10px 26px rgba(23, 23, 23, 0.08); +} + +.wallet-back-button-modern ion-icon { + font-size: 1.32rem; +} + +.wallet-header-add-button ion-icon { + font-size: 1.08rem; +} + +.wallet-header-add-button { + --background: rgba(var(--ion-color-primary-rgb), 0.14); + --background-hover: rgba(var(--ion-color-primary-rgb), 0.2); + --background-activated: rgba(var(--ion-color-primary-rgb), 0.24); + --color: var(--ion-color-primary); + box-shadow: none; +} + +.wallet-toolbar-title-block { + display: grid; + justify-items: center; + gap: 2px; + min-width: 0; +} + +.wallet-toolbar-title-block span { + color: rgba(24, 38, 58, 0.48); + font-size: 0.72rem; + font-weight: 800; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.wallet-toolbar-title-block strong { + color: #18263a; + font-size: 1.14rem; + font-weight: 900; + letter-spacing: -0.02em; +} + +.wallet-page { + --background: #f6f7fb; +} + +.wallet-page-vibrant { + --background: + radial-gradient( + circle at 12% -6%, + rgba(255, 106, 47, 0.16) 0, + transparent 34% + ), + radial-gradient( + circle at 96% 8%, + rgba(61, 184, 180, 0.18) 0, + transparent 34% + ), + linear-gradient(180deg, #fffaf5 0%, #f7f8fb 44%, #f2f5f8 100%); +} + +.wallet-back-button { + --color: #18263a; +} + +.wallet-balance-card, +.wallet-surface-card, +.wallet-intro-card, +.wallet-form-card, +.wallet-refund-card, +.wallet-activity-card, +.wallet-method-detail-card, +.wallet-method-card, +.wallet-empty-card { + background: #ffffff; + border-radius: 24px; + box-shadow: none; +} + +.wallet-balance-card { + background: #182a3b; + color: #ffffff; + padding: 22px; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; +} + +.wallet-balance-card-vibrant { + position: relative; + overflow: hidden; + min-height: 136px; + padding: 18px; + background: + radial-gradient( + circle at 92% 18%, + rgba(255, 255, 255, 0.2) 0, + transparent 24% + ), + radial-gradient( + circle at 80% 118%, + rgba(var(--ion-color-primary-rgb), 0.34) 0, + transparent 32% + ), + linear-gradient(135deg, #16283a 0%, #14384d 48%, #0d7770 100%); + box-shadow: 0 16px 34px rgba(24, 42, 59, 0.14); +} + +.wallet-balance-card-vibrant::before { + content: ''; + position: absolute; + width: 132px; + height: 132px; + right: -48px; + bottom: -66px; + border-radius: 999px; + background: rgba(255, 106, 47, 0.28); +} + +.wallet-balance-card-vibrant::after { + content: ''; + position: absolute; + width: 74px; + height: 74px; + right: 74px; + top: -38px; + border-radius: 999px; + background: rgba(61, 184, 180, 0.26); +} + +.wallet-balance-card-vibrant > * { + position: relative; + z-index: 1; +} + +.wallet-balance-card h1 { + margin: 8px 0 6px; + font-size: 2rem; + color: #ffffff; +} + +.wallet-balance-card-vibrant h1 { + margin: 6px 0 6px; + font-size: 1.43rem; + line-height: 1; + letter-spacing: -0.045em; + font-weight: 680; +} + +.wallet-balance-card p, +.wallet-balance-label { + margin: 0; + color: rgba(255, 255, 255, 0.76); +} + +.wallet-balance-card p { + max-width: 210px; + font-size: 0.88rem; + line-height: 1.32; +} + +.wallet-balance-label { + font-size: 0.74rem; + font-weight: 700; + letter-spacing: 0.04em; + text-transform: uppercase; +} + +.wallet-balance-icon { + width: 56px; + height: 56px; + border-radius: 18px; + display: grid; + place-items: center; + background: rgba(61, 184, 180, 0.16); + color: #7ff2ec; + font-size: 1.6rem; + flex-shrink: 0; +} + +.wallet-balance-card-vibrant .wallet-balance-icon { + width: 88px; + height: 88px; + border-radius: 28px; + background: rgba(255, 255, 255, 0.16); + color: #ffffff; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); + backdrop-filter: blur(18px); + -webkit-backdrop-filter: blur(18px); +} + +.wallet-balance-card-vibrant .wallet-balance-icon ion-icon { + font-size: 2.8rem; +} + +.wallet-balance-actions { + display: flex; + align-items: center; + gap: 7px; + flex-wrap: wrap; + margin-top: 10px; +} + +.wallet-balance-actions span { + display: inline-flex; + align-items: center; + min-height: 24px; + padding: 0 9px; + border-radius: 999px; + background: rgba(255, 255, 255, 0.13); + color: rgba(255, 255, 255, 0.9); + font-size: 0.68rem; + font-weight: 750; +} + +.wallet-inline-message { + margin: 14px 0 0; +} + +.wallet-insight-strip { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 10px; + margin-top: 14px; +} + +.wallet-insight-strip div { + min-width: 0; + padding: 12px 10px; + border-radius: 18px; + background: rgba(255, 255, 255, 0.74); + box-shadow: 0 12px 28px rgba(24, 38, 58, 0.05); +} + +.wallet-insight-strip span, +.wallet-insight-strip strong { + display: block; +} + +.wallet-insight-strip span { + color: rgba(24, 38, 58, 0.5); + font-size: 0.7rem; + font-weight: 750; + letter-spacing: 0.04em; + text-transform: uppercase; +} + +.wallet-insight-strip strong { + margin-top: 4px; + color: #18263a; + font-size: 0.9rem; + font-weight: 850; +} + +.wallet-section-heading { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 24px; +} + +.wallet-section-heading h2, +.wallet-intro-card h1, +.wallet-refund-card h3, +.wallet-empty-block h3 { + margin: 0; + font-size: 1.08rem; + font-weight: 900; +} + +.wallet-section-spacing { + margin-top: 28px; +} + +.wallet-intro-card, +.wallet-form-card, +.wallet-refund-card, +.wallet-surface-card, +.wallet-empty-card { + padding: 20px; +} + +.wallet-intro-card { + margin-bottom: 16px; +} + +.wallet-intro-card p, +.wallet-refund-card p, +.wallet-empty-block p, +.wallet-method-main span, +.wallet-method-main small, +.wallet-activity-card p { + margin: 8px 0 0; + color: rgba(24, 38, 58, 0.58); + line-height: 1.45; +} + +.wallet-method-stack, +.wallet-method-list, +.wallet-activity-list { + display: grid; + gap: 12px; +} + +.wallet-method-card, +.wallet-method-detail-card, +.wallet-activity-card { + width: 100%; + border: 0; + padding: 18px; + text-align: left; +} + +.wallet-method-preview-card { + padding: 12px; + background: rgba(255, 255, 255, 0.86); + box-shadow: 0 18px 40px rgba(24, 38, 58, 0.08); +} + +.wallet-method-preview-card .wallet-card-visual { + min-height: auto; +} + +.wallet-card-visual, +.card-preview { + width: 100%; + aspect-ratio: 1.586 / 1; + border-radius: 24px; + background: + radial-gradient( + circle at 16% 14%, + rgba(255, 255, 255, 0.24) 0, + transparent 24% + ), + radial-gradient( + circle at 92% 118%, + rgba(61, 184, 180, 0.24) 0, + transparent 32% + ), + linear-gradient(135deg, #3540b8 0%, #4c3bd0 50%, #27328d 100%); + color: #ffffff; + padding: 22px 20px; + box-shadow: 0 18px 36px rgba(57, 68, 186, 0.22); +} + +.wallet-card-visual-demo { + background: linear-gradient(180deg, #3944ba 0%, #2f39a3 100%); +} + +.wallet-card-top-row { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; +} + +.wallet-card-chip { + width: 40px; + height: 30px; + border-radius: 10px; + background: linear-gradient(180deg, #f8fbff 0%, #d7ddef 100%); + position: relative; +} + +.wallet-card-chip::before, +.wallet-card-chip::after { + content: ''; + position: absolute; + top: 4px; + bottom: 4px; + width: 2px; + background: rgba(57, 68, 186, 0.18); +} + +.wallet-card-chip::before { + left: 12px; +} + +.wallet-card-chip::after { + right: 12px; +} + +.wallet-card-brand { + display: inline-flex; + align-items: center; + justify-content: center; + min-height: 28px; + padding: 0 12px; + border-radius: 999px; + background: rgba(255, 255, 255, 0.14); + font-size: 0.76rem; + font-weight: 800; + letter-spacing: 0.04em; +} + +.wallet-card-number { + margin-top: 24px; + font-size: 1.18rem; + font-weight: 820; + letter-spacing: 0.075em; + font-variant-numeric: tabular-nums; +} + +.wallet-card-meta-row { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 16px; + margin-top: 22px; +} + +.wallet-card-meta-row span { + display: block; + margin-bottom: 6px; + color: rgba(255, 255, 255, 0.74); + font-size: 0.7rem; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; +} + +.wallet-card-meta-row strong { + display: block; + color: #ffffff; + font-size: 0.95rem; + font-weight: 700; +} + +.wallet-card-meta-right { + text-align: right; +} + +.wallet-method-preview-footer { + position: absolute; + top: 50%; + right: 10px; + transform: translateY(-50%); + width: 30px; + height: 30px; + border-radius: 999px; + display: grid; + place-items: center; + color: rgba(24, 38, 58, 0.48); + background: rgba(255, 255, 255, 0.72); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); +} + +.wallet-method-preview-footer-end { + justify-content: center; +} + +.wallet-method-card { + position: relative; + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; +} + +.wallet-method-main { + display: flex; + align-items: center; + gap: 12px; +} + +.wallet-method-main strong, +.wallet-activity-card strong, +.wallet-toggle-row strong { + display: block; + color: #18263a; + font-size: 1rem; +} + +.wallet-method-badge { + min-width: 64px; + padding: 8px 10px; + border-radius: 999px; + background: rgba(21, 184, 176, 0.12); + color: #15b8b0; + text-align: center; + font-size: 0.78rem; + font-weight: 800; + letter-spacing: 0.04em; +} + +.wallet-method-right { + display: flex; + align-items: center; + gap: 10px; + color: rgba(24, 38, 58, 0.48); +} + +.wallet-method-actions { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + margin-top: 16px; + flex-wrap: wrap; +} + +.wallet-empty-block, +.compact-empty-block, +.wallet-empty-card { + display: grid; + gap: 12px; + justify-items: flex-start; +} + +.wallet-empty-block ion-icon, +.wallet-empty-card ion-icon { + font-size: 2.2rem; + color: #15b8b0; +} + +.wallet-activity-card { + display: flex; + align-items: center; + justify-content: space-between; + gap: 14px; + background: rgba(255, 255, 255, 0.88); + box-shadow: 0 12px 30px rgba(24, 38, 58, 0.055); +} + +.wallet-activity-right { + text-align: right; +} + +.wallet-activity-right small { + display: block; + margin-top: 6px; + color: rgba(24, 38, 58, 0.48); +} + +.wallet-positive { + color: #15b86e; + font-weight: 800; +} + +.wallet-negative { + color: #d64550; + font-weight: 800; +} + +.wallet-toggle-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 14px; + margin: 18px 0 22px; + padding: 16px; + border-radius: 18px; + background: #f1f4f8; +} + +.payment-methods-page { + --padding-top: 18px; +} + +.payment-methods-hero-card { + position: relative; + overflow: hidden; + margin-bottom: 16px; + padding: 18px; + border-radius: 24px; + background: + radial-gradient( + circle at 92% 6%, + rgba(61, 184, 180, 0.18), + transparent 34% + ), + linear-gradient( + 135deg, + rgba(255, 255, 255, 0.92), + rgba(255, 248, 242, 0.86) + ); + box-shadow: 0 16px 34px rgba(24, 38, 58, 0.07); +} + +.payment-methods-hero-card span { + display: block; + color: rgba(24, 38, 58, 0.5); + font-size: 0.72rem; + font-weight: 850; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.payment-methods-hero-card h1 { + margin: 6px 0 6px; + color: #18263a; + font-size: 1.42rem; + line-height: 1.05; + letter-spacing: -0.04em; + font-weight: 900; +} + +.payment-methods-hero-card p { + margin: 0; + max-width: 310px; + color: rgba(24, 38, 58, 0.62); + font-size: 0.9rem; + line-height: 1.42; +} + +.payment-method-grid { + display: grid; + gap: 16px; +} + +.payment-method-detail-card-modern { + padding: 12px; + border-radius: 26px; + background: rgba(255, 255, 255, 0.9); + box-shadow: 0 18px 42px rgba(24, 38, 58, 0.08); +} + +.payment-method-visual-card { + width: 100%; + aspect-ratio: 1.586 / 1; + border-radius: 22px; + padding: 20px; + color: #ffffff; + background: + radial-gradient( + circle at 15% 12%, + rgba(255, 255, 255, 0.24), + transparent 24% + ), + radial-gradient( + circle at 88% 105%, + rgba(61, 184, 180, 0.2), + transparent 34% + ), + linear-gradient(135deg, #3540b8 0%, #4a3bcf 54%, #26308d 100%); + box-shadow: 0 16px 34px rgba(57, 68, 186, 0.18); +} + +.payment-method-card-footer { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + padding: 12px 4px 0; +} + +.payment-status-pill { + min-height: 30px; + display: inline-flex; + align-items: center; + gap: 7px; + padding: 0 11px; + border-radius: 999px; + background: rgba(24, 38, 58, 0.06); + color: rgba(24, 38, 58, 0.58); + font-size: 0.78rem; + font-weight: 800; +} + +.payment-status-pill.active { + background: rgba(61, 184, 180, 0.13); + color: #148c86; +} + +.payment-status-pill ion-icon { + font-size: 0.98rem; +} + +.payment-method-modern-actions { + display: flex; + align-items: center; + gap: 6px; +} + +.payment-method-modern-actions ion-button { + margin: 0; + --border-radius: 999px; + text-transform: none; + font-weight: 800; +} + +.add-card-page { + --background: #dbe8fb; +} + +.add-card-intro-card { + background: transparent; + padding: 8px 4px 18px; + box-shadow: none; +} + +.add-card-preview-shell { + display: grid; + gap: 14px; + margin-bottom: 20px; +} + +.preview-toggle-wrap { + display: flex; + justify-content: center; +} + +.card-preview-toggle-button { + --color: #3944ba; + font-weight: 700; + text-transform: none; +} + +.card-preview-stage { + position: relative; + width: 100%; + aspect-ratio: 1.586 / 1; +} + +.card-preview { + position: absolute; + inset: 0; + border-radius: 26px; + padding: 20px; + box-shadow: 0 16px 36px rgba(57, 68, 186, 0.22); + transition: + opacity 180ms ease, + transform 180ms ease; +} + +.card-preview.is-visible { + opacity: 1; + pointer-events: auto; + transform: scale(1); +} + +.card-preview.is-hidden { + opacity: 0; + pointer-events: none; + transform: scale(0.98); +} + +.card-preview-front { + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.card-preview-top-row { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; +} + +.card-chip-visual { + width: 42px; + height: 32px; + border-radius: 10px; + background: linear-gradient(180deg, #f8fbff 0%, #d7ddef 100%); + position: relative; +} + +.card-chip-visual::before, +.card-chip-visual::after { + content: ''; + position: absolute; + top: 4px; + bottom: 4px; + width: 2px; + background: rgba(57, 68, 186, 0.18); +} + +.card-chip-visual::before { + left: 13px; +} + +.card-chip-visual::after { + right: 13px; +} + +.card-brand-pill { + display: inline-flex; + align-items: center; + justify-content: center; + min-height: 30px; + padding: 0 12px; + border-radius: 999px; + background: rgba(255, 255, 255, 0.14); + font-size: 0.8rem; + font-weight: 800; + letter-spacing: 0.04em; +} + +.card-preview-number { + margin-top: 22px; + font-size: 1.7rem; + font-weight: 800; + letter-spacing: 0.08em; + font-variant-numeric: tabular-nums; +} + +.card-preview-meta-row { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 18px; +} + +.card-preview-meta-row span, +.card-preview-cvv-block span { + display: block; + margin-bottom: 6px; + color: rgba(255, 255, 255, 0.74); + font-size: 0.72rem; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; +} + +.card-preview-meta-row strong, +.card-preview-cvv-block strong { + display: block; + font-size: 1.05rem; + font-weight: 700; +} + +.card-preview-meta-right { + text-align: right; +} + +.card-preview-back { + min-height: 192px; + display: grid; + align-content: start; + gap: 26px; +} + +.card-preview-strip { + height: 46px; + margin: 8px -20px 0; + background: rgba(21, 25, 88, 0.45); +} + +.card-preview-cvv-block { + justify-self: end; + min-width: 120px; + padding: 14px 16px; + border-radius: 16px; + background: rgba(255, 255, 255, 0.12); + text-align: right; +} + +.add-card-form-card { + background: #ffffff; + padding: 22px; +} + +.add-card-form-grid { + gap: 14px; +} + +.add-card-input { + --background: #ffffff; + border: 1px solid #dfe5ee; +} + +.add-card-input ion-icon { + color: #6e7a89; + font-size: 1.05rem; +} + +.add-card-security-block { + margin-top: 2px; +} + +.add-card-cvv-input { + max-width: 180px; +} + +.add-card-toggle-row { + margin-top: 20px; + background: #f5f7fb; +} + +.add-card-save-button { + --border-radius: 999px; + min-height: 56px; +} + +.food-detail-copy-card, +.food-detail-image-card, +.food-detail-info-card { + background: #ffffff; + border-radius: 24px; + box-shadow: none; +} + +.food-detail-copy-card { + padding: 4px 2px 0; + background: transparent; +} + +.food-detail-copy-card-compact { + margin-bottom: 4px; +} + +.food-detail-copy-card-modern { + display: grid; + gap: 4px; +} + +.food-detail-eyebrow { + margin: 0; + color: rgba(23, 23, 23, 0.42); + font-size: 0.78rem; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.food-detail-title { + margin: 0; + max-width: 100%; + font-size: 1.52rem; + line-height: 1.08; + letter-spacing: -0.03em; + color: #171717; + font-weight: 700; +} + +.food-detail-subtitle { + margin: 0; + color: rgba(23, 23, 23, 0.56); + font-size: 0.9rem; + line-height: 1.32; +} + +.food-detail-image-glow { + position: absolute; + left: 18px; + right: 18px; + bottom: 16px; + height: 72px; + border-radius: 999px; + background: radial-gradient( + circle, + rgba(24, 38, 58, 0.12) 0%, + rgba(24, 38, 58, 0.02) 66%, + transparent 100% + ); + filter: blur(18px); +} + +.food-detail-hero-stage { + position: relative; + margin-top: 10px; +} + +.food-detail-hero-stage-modern { + margin-top: 12px; +} + +.food-detail-image-card { + margin-top: 0; + padding: 0; + overflow: visible; + border-radius: 30px; +} + +.food-detail-image-card-premium { + position: relative; + min-height: 284px; + background: linear-gradient(180deg, #f7f3eb 0%, #f1eee8 100%); +} + +.food-detail-image { + width: 100%; + height: 248px; + object-fit: contain; + display: block; + background: transparent; +} + +.food-detail-image-compact, +.food-detail-image-premium { + height: 252px; + transform: scale(1.04); + transform-origin: center bottom; +} + +.food-detail-info-card { + margin-top: -18px; + padding: 16px 16px 14px; + position: relative; + z-index: 1; +} + +.food-detail-info-card-floating { + box-shadow: 0 24px 40px rgba(24, 38, 58, 0.07); +} + +.food-detail-meta-line { + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; + color: rgba(23, 23, 23, 0.58); + font-size: 0.92rem; + font-weight: 500; +} + +.food-detail-description { + margin: 12px 0 0; + color: rgba(23, 23, 23, 0.68); + font-size: 0.96rem; + line-height: 1.55; +} + +.food-detail-description-compact { + margin-top: 10px; +} + +.food-detail-price-row { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 14px; + margin-top: 16px; +} + +.food-detail-price-row-modern { + align-items: center; +} + +.food-detail-price-block strong { + display: block; + font-size: 2rem; + line-height: 1; + color: #171717; + font-weight: 700; +} + +.food-detail-price-unit { + display: block; + margin-top: 6px; + color: rgba(23, 23, 23, 0.5); + font-size: 0.92rem; +} + +.food-detail-quantity-pill-wrap { + display: flex; + flex-direction: column; + align-items: flex-end; + gap: 6px; +} + +.food-detail-qty-label { + color: rgba(23, 23, 23, 0.5); + font-size: 0.82rem; + font-weight: 600; +} + +.food-detail-quantity-card { + padding: 0; + border-radius: 999px; + background: #f1f2f4; + min-width: 126px; +} + +.food-detail-quantity-card-compact { + padding: 0; + min-width: 126px; +} + +.food-detail-quantity-card > span { + display: none; +} + +.food-detail-quantity-stepper { + display: flex; + align-items: center; + justify-content: space-between; + gap: 4px; + padding: 4px; +} + +.food-detail-quantity-stepper ion-button { + --background: #ffffff; + --color: #171717; + --border-radius: 999px; + min-width: 32px; + min-height: 32px; + margin: 0; +} + +.food-detail-quantity-stepper strong { + min-width: 22px; + text-align: center; + font-size: 1rem; + color: #171717; +} + +.food-detail-bottom-bar { + position: fixed; + left: 12px; + right: 12px; + bottom: 10px; + display: flex; + align-items: center; + gap: 12px; + padding: 12px 14px calc(12px + var(--ion-safe-area-bottom, 0px)); + background: rgba(255, 255, 255, 0.72); + backdrop-filter: blur(22px); + -webkit-backdrop-filter: blur(22px); + border: 1px solid rgba(255, 255, 255, 0.7); + border-radius: 24px; + box-shadow: 0 18px 44px rgba(24, 38, 58, 0.12); +} + +.food-detail-bottom-bar-glass { + background: rgba(255, 255, 255, 0.76); +} + +.food-detail-total-block { + min-width: 94px; +} + +.food-detail-total-block span { + display: block; + margin-bottom: 4px; + color: rgba(23, 23, 23, 0.48); + font-size: 0.74rem; + font-weight: 700; +} + +.food-detail-total-block strong { + font-size: 1.08rem; + color: #171717; + font-weight: 800; +} + +.food-detail-add-button { + flex: 1; + --border-radius: 999px; + min-height: 50px; + font-weight: 800; +} + +.product-grid { + display: grid; + gap: 16px; +} + +.product-card { + margin: 0; + overflow: hidden; + border-radius: 22px; + box-shadow: 0 16px 34px rgba(17, 34, 51, 0.08); +} + +.product-card-image { + width: 100%; + height: 220px; + object-fit: cover; + display: block; + background: #f8f9fb; +} + +.product-card ion-card-content, +.detail-panel { + background: #ffffff; + border-radius: 22px; +} + +.rating-pill { + color: #f4b400; + font-weight: 700; +} + +.hero-card { + margin: 16px; + padding: 24px; + border-radius: 24px; + background: linear-gradient(135deg, #182a3b, #23425c); + color: #ffffff; + box-shadow: 0 20px 45px rgba(17, 34, 51, 0.18); +} + +.catalog-section { + padding-top: 8px; +} + +.food-detail-shell .food-detail-copy-card, +.food-detail-shell .food-detail-image-card, +.food-detail-shell .food-detail-info-card { + box-shadow: none; +} + +.food-detail-shell .food-detail-copy-card { + margin-top: 4px; +} + +.premium-product-surface { + --background: #f8f8f6; +} + +.premium-product-shell { + min-height: 100%; + padding: calc(var(--ion-safe-area-top, 0px) + 24px) 20px 104px; + color: #171717; +} + +.premium-product-actions { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 18px; +} + +.premium-back-circle, +.premium-cart-tile { + border: 0; + flex-shrink: 0; +} + +.premium-back-circle { + width: 46px; + height: 46px; + border-radius: 999px; + display: grid; + place-items: center; + background: rgba(255, 255, 255, 0.92); + color: #171717; + box-shadow: 0 10px 26px rgba(23, 23, 23, 0.08); +} + +.premium-back-circle ion-icon { + font-size: 1.28rem; +} + +.premium-cart-tile { + position: relative; + width: 60px; + height: 48px; + border-radius: 15px; + display: grid; + place-items: center; + background: linear-gradient( + 135deg, + var(--ion-color-primary) 0%, + var(--ion-color-primary-tint) 100% + ); + color: #ffffff; + box-shadow: 0 12px 26px rgba(var(--ion-color-primary-rgb), 0.22); +} + +.premium-cart-tile-inner { + width: 32px; + height: 32px; + border-radius: 999px; + display: grid; + place-items: center; + background: rgba(255, 255, 255, 0.92); + color: var(--ion-color-primary); +} + +.premium-cart-tile-inner ion-icon { + font-size: 1.12rem; +} + +.premium-cart-count-bubble { + position: absolute; + top: -8px; + right: -7px; + min-width: 24px; + height: 24px; + padding: 0 6px; + border-radius: 999px; + display: inline-grid; + place-items: center; + background: #36a9e1; + color: #ffffff; + border: 2px solid #f8f8f6; + font-size: 0.82rem; + font-weight: 850; + box-shadow: 0 6px 14px rgba(54, 169, 225, 0.22); +} + +.premium-product-intro { + margin-bottom: 18px; +} + +.premium-product-intro h1 { + margin: 0; + font-size: clamp(1.45rem, 6vw, 1.9rem); + line-height: 1.08; + letter-spacing: -0.04em; + font-weight: 800; +} + +.premium-product-meta-row { + display: flex; + align-items: center; + gap: 9px; + flex-wrap: wrap; + margin-top: 14px; + color: rgba(23, 23, 23, 0.56); + font-size: 0.92rem; + font-weight: 650; +} + +.premium-product-meta-row span:not(:first-child)::before { + content: '•'; + margin-right: 9px; + color: rgba(23, 23, 23, 0.28); +} + +.premium-product-badge { + color: #171717; + font-weight: 800; +} + +.premium-product-image-panel { + position: relative; + overflow: hidden; + border-radius: 30px; + height: min(42vh, 330px); + min-height: 270px; + background: radial-gradient( + circle at 50% 25%, + #ffffff 0%, + #f2eee7 52%, + #ebe8e2 100% + ); +} + +.premium-product-image-panel::after { + content: ''; + position: absolute; + left: 18%; + right: 18%; + bottom: 22px; + height: 34px; + border-radius: 999px; + background: rgba(23, 23, 23, 0.12); + filter: blur(22px); +} + +.premium-product-image-panel img { + position: relative; + z-index: 1; + width: 100%; + height: 100%; + object-fit: contain; + transform: scale(1.08); + display: block; +} + +.premium-product-details-card { + position: relative; + z-index: 2; + margin-top: -26px; + padding: 20px; + border-radius: 28px; + background: rgba(255, 255, 255, 0.96); + box-shadow: 0 18px 40px rgba(23, 23, 23, 0.08); +} + +.premium-details-header, +.premium-buy-row, +.premium-quantity-control { + display: flex; + align-items: center; +} + +.premium-details-header, +.premium-buy-row { + justify-content: space-between; + gap: 14px; +} + +.premium-details-header h2 { + margin: 0; + font-size: 1.18rem; + line-height: 1; + letter-spacing: -0.02em; + font-weight: 800; +} + +.premium-details-header span { + color: rgba(23, 23, 23, 0.7); + font-size: 0.92rem; + font-weight: 700; +} + +.premium-product-details-card p { + margin: 14px 0 0; + color: rgba(23, 23, 23, 0.64); + font-size: 0.98rem; + line-height: 1.55; +} + +.premium-buy-row { + margin-top: 18px; +} + +.premium-price-block strong { + display: block; + font-size: 1.35rem; + line-height: 1; + color: #171717; + font-weight: 850; +} + +.premium-price-block span { + display: block; + margin-top: 5px; + color: rgba(23, 23, 23, 0.5); + font-weight: 650; +} + +.premium-quantity-control { + gap: 8px; + padding: 5px; + border-radius: 999px; + background: #f0f1f3; +} + +.premium-quantity-control ion-button { + --background: #ffffff; + --background-activated: #f8f8f8; + --color: #171717; + --border-radius: 999px; + width: 34px; + height: 34px; + min-height: 34px; + margin: 0; + font-size: 1.2rem; + font-weight: 800; +} + +.premium-quantity-control ion-button span { + display: block; + line-height: 1; + transform: translateY(-1px); +} + +.premium-quantity-control strong { + min-width: 24px; + text-align: center; + font-size: 1rem; + font-weight: 800; +} + +.premium-product-message p { + margin: 12px 0 0; + text-align: center; + font-weight: 700; +} + +.premium-product-cta { + position: fixed; + left: 20px; + right: 20px; + bottom: calc(12px + var(--ion-safe-area-bottom, 0px)); + z-index: 20; + display: flex; + align-items: center; + gap: 14px; + padding: 12px; + border-radius: 999px; + background: rgba(255, 255, 255, 0.82); + border: 1px solid rgba(255, 255, 255, 0.8); + box-shadow: 0 18px 42px rgba(23, 23, 23, 0.14); + backdrop-filter: blur(24px) saturate(1.15); + -webkit-backdrop-filter: blur(24px) saturate(1.15); +} + +.premium-product-cta > div { + min-width: 92px; + padding-left: 6px; +} + +.premium-product-cta span { + display: block; + margin-bottom: 2px; + color: rgba(23, 23, 23, 0.52); + font-size: 0.74rem; + font-weight: 700; +} + +.premium-product-cta strong { + display: block; + color: #171717; + font-size: 1.1rem; + font-weight: 850; +} + +.premium-product-cta ion-button { + flex: 1; + min-height: 50px; + margin: 0; + --border-radius: 999px; + font-weight: 850; + text-transform: none; +} + +@media (max-width: 380px), (max-height: 720px) { + .premium-product-shell { + padding: calc(var(--ion-safe-area-top, 0px) + 16px) 18px 94px; + } + + .premium-product-actions { + margin-bottom: 12px; + } + + .premium-back-circle { + width: 42px; + height: 42px; + } + + .premium-cart-tile { + width: 56px; + height: 45px; + border-radius: 14px; + } + + .premium-cart-tile-inner { + width: 30px; + height: 30px; + } + + .premium-cart-count-bubble { + min-width: 22px; + height: 22px; + font-size: 0.78rem; + } + + .premium-product-intro { + margin-bottom: 12px; + } + + .premium-product-intro h1 { + font-size: 1.34rem; + } + + .premium-product-meta-row { + margin-top: 9px; + font-size: 0.82rem; + } + + .premium-product-image-panel { + height: 236px; + min-height: 236px; + border-radius: 26px; + } + + .premium-product-details-card { + margin-top: -22px; + padding: 16px; + border-radius: 24px; + } + + .premium-product-details-card p { + margin-top: 10px; + font-size: 0.9rem; + line-height: 1.42; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + } + + .premium-buy-row { + margin-top: 12px; + } + + .premium-price-block strong { + font-size: 1.18rem; + } + + .premium-product-cta { + left: 16px; + right: 16px; + padding: 10px; + } + + .premium-product-cta ion-button { + min-height: 44px; + } +} + +@media (max-width: 640px) { + .checkout-form-grid { + grid-template-columns: 1fr; + } + + .shelf-scroll { + grid-auto-columns: minmax(196px, 196px); + } + + .delivery-detail-row, + .reference-cart-summary-strip, + .reference-total-card, + .reference-detail-price-row, + .header-title-row, + .tracking-card, + .food-detail-subrow, + .food-detail-price-row { + flex-direction: column; + align-items: flex-start; + } + + .reference-location-row { + align-items: flex-start; + flex-direction: column; + gap: 12px; + } + + .reference-location-pill { + width: 100%; + } + + .reference-chip-row { + width: 100%; + overflow-x: auto; + padding-bottom: 2px; + } + + .delivery-detail-row strong { + max-width: none; + text-align: left; + } + + .filter-row { + flex-direction: column; + align-items: stretch; + } + + .reference-bottom-nav { + left: 8px; + right: 8px; + gap: 2px; + } + + .bottom-nav-item { + font-size: 0.68rem; + } + + .food-detail-shell { + padding: 0 16px 96px; + } + + .food-detail-shell-compact { + padding-top: 0; + } + + .food-detail-shell-modern { + padding-top: calc(var(--ion-safe-area-top, 0px) + 8px); + } + + .food-detail-hero-stage-tight { + margin-top: 2px; + } + + .food-detail-copy-card { + padding: 2px 2px 0; + } + + .food-detail-copy-card-compact { + margin-bottom: 2px; + } + + .food-detail-title { + max-width: 100%; + font-size: 1.42rem; + line-height: 1.08; + letter-spacing: -0.03em; + } + + .food-detail-subtitle { + margin-top: 0; + font-size: 0.84rem; + } + + .food-detail-image-card-premium { + min-height: 220px; + border-radius: 26px; + } + + .food-detail-image-glow { + left: 24px; + right: 24px; + bottom: 10px; + height: 42px; + filter: blur(14px); + } + + .food-detail-image, + .food-detail-image-compact, + .food-detail-image-premium { + height: 184px; + transform: scale(1.02); + } + + .food-detail-info-card { + margin-top: -14px; + padding: 13px 13px 12px; + border-radius: 22px; + } + + .food-detail-description { + margin-top: 8px; + font-size: 0.9rem; + line-height: 1.42; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + } + + .food-detail-price-row { + margin-top: 12px; + gap: 10px; + } + + .food-detail-price-block strong { + font-size: 1.56rem; + } + + .food-detail-price-unit { + margin-top: 4px; + font-size: 0.82rem; + } + + .food-detail-quantity-pill-wrap { + gap: 4px; + } + + .food-detail-qty-label { + font-size: 0.74rem; + } + + .food-detail-quantity-card, + .food-detail-quantity-card-compact { + min-width: 108px; + } + + .food-detail-quantity-stepper { + padding: 3px; + } + + .food-detail-quantity-stepper ion-button { + min-width: 28px; + min-height: 28px; + } + + .food-detail-bottom-bar { + left: auto; + right: 16px; + bottom: calc(22px + var(--ion-safe-area-bottom, 0px)); + width: min(260px, calc(100vw - 32px)); + padding: 10px 10px 10px 12px; + gap: 10px; + border-radius: 22px; + background: rgba(255, 255, 255, 0.78); + box-shadow: 0 18px 38px rgba(24, 38, 58, 0.14); + } + + .food-detail-bottom-bar-glass { + backdrop-filter: blur(24px); + -webkit-backdrop-filter: blur(24px); + } + + .food-detail-total-block { + min-width: 64px; + } + + .food-detail-total-block span { + margin-bottom: 2px; + font-size: 0.68rem; + } + + .food-detail-total-block strong { + font-size: 0.98rem; + } + + .food-detail-add-button { + min-height: 44px; + font-size: 0.92rem; + } + + .food-detail-title { + font-size: 1.72rem; + } + + .food-detail-image { + height: 312px; + } + + .food-detail-quantity-card { + width: 100%; + } +} diff --git a/src/utils/statusBar.ts b/src/utils/statusBar.ts new file mode 100644 index 0000000..6e2db3f --- /dev/null +++ b/src/utils/statusBar.ts @@ -0,0 +1,32 @@ +import { StatusBar, Style } from '@capacitor/status-bar'; +export { Style }; + +const _origin = (() => { + try { + if (document.referrer) return new URL(document.referrer).origin; + } catch {} + return window.location.origin; +})(); + +/** Set status bar icon/text colour. Use instead of StatusBar.setStyle directly. */ +export async function setStatusBarStyle(style: Style): Promise { + try { + await StatusBar.setStyle({ style }); + } catch {} + if (window.parent !== window) { + window.parent.postMessage({ type: '__apsuite_statusbar', style }, _origin); + } +} + +/** Set status bar background colour (Android). Use instead of StatusBar.setBackgroundColor directly. */ +export async function setStatusBarBackground(color: string): Promise { + try { + await (StatusBar as any).setBackgroundColor({ color }); + } catch {} + if (window.parent !== window) { + window.parent.postMessage( + { type: '__apsuite_statusbar_bg', color }, + _origin + ); + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..29e1016 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + "types": ["vite/client"] + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/tsconfig.node.json b/tsconfig.node.json new file mode 100644 index 0000000..9d31e2a --- /dev/null +++ b/tsconfig.node.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "composite": true, + "module": "ESNext", + "moduleResolution": "Node", + "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..611cfc5 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,28 @@ +import { defineConfig, type Plugin } from 'vite'; +import react from '@vitejs/plugin-react'; + +const injectRouterBasename: Plugin = { + name: 'inject-router-basename', + enforce: 'pre', + transform(code, id) { + if (!/\.[jt]sx$/.test(id)) return null; + const next = code.replace( + /]*basename)([^>]*)>/g, + '', + ); + return next === code ? null : next; + }, +}; + +export default defineConfig({ + plugins: [injectRouterBasename, react()], + server: { + host: '0.0.0.0', + port: 8100, + allowedHosts: true, + hmr: { + clientPort: process.env.HMR_CLIENT_PORT ? parseInt(process.env.HMR_CLIENT_PORT) : undefined, + }, + }, + css: { devSourcemap: false }, +}); diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..6a40b4d --- /dev/null +++ b/yarn.lock @@ -0,0 +1,3749 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 8 + cacheKey: 10c0 + +"@babel/code-frame@npm:^7.28.6, @babel/code-frame@npm:^7.29.0": + version: 7.29.0 + resolution: "@babel/code-frame@npm:7.29.0" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.28.5" + js-tokens: "npm:^4.0.0" + picocolors: "npm:^1.1.1" + checksum: 10c0/d34cc504e7765dfb576a663d97067afb614525806b5cad1a5cc1a7183b916fec8ff57fa233585e3926fd5a9e6b31aae6df91aa81ae9775fb7a28f658d3346f0d + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.28.6": + version: 7.29.3 + resolution: "@babel/compat-data@npm:7.29.3" + checksum: 10c0/81bddd53ce1b1395576fbb7cb739631a976f6b421cd260e6cf2715a9691b9a0ec12ca5c4e1bb88088e60dc87875f6e4ef7fa8674f1dc96ae1bd7c357416605a7 + languageName: node + linkType: hard + +"@babel/core@npm:^7.28.0": + version: 7.29.0 + resolution: "@babel/core@npm:7.29.0" + dependencies: + "@babel/code-frame": "npm:^7.29.0" + "@babel/generator": "npm:^7.29.0" + "@babel/helper-compilation-targets": "npm:^7.28.6" + "@babel/helper-module-transforms": "npm:^7.28.6" + "@babel/helpers": "npm:^7.28.6" + "@babel/parser": "npm:^7.29.0" + "@babel/template": "npm:^7.28.6" + "@babel/traverse": "npm:^7.29.0" + "@babel/types": "npm:^7.29.0" + "@jridgewell/remapping": "npm:^2.3.5" + convert-source-map: "npm:^2.0.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.3" + semver: "npm:^6.3.1" + checksum: 10c0/5127d2e8e842ae409e11bcbb5c2dff9874abf5415e8026925af7308e903f4f43397341467a130490d1a39884f461bc2b67f3063bce0be44340db89687fd852aa + languageName: node + linkType: hard + +"@babel/generator@npm:^7.29.0": + version: 7.29.1 + resolution: "@babel/generator@npm:7.29.1" + dependencies: + "@babel/parser": "npm:^7.29.0" + "@babel/types": "npm:^7.29.0" + "@jridgewell/gen-mapping": "npm:^0.3.12" + "@jridgewell/trace-mapping": "npm:^0.3.28" + jsesc: "npm:^3.0.2" + checksum: 10c0/349086e6876258ef3fb2823030fee0f6c0eb9c3ebe35fc572e16997f8c030d765f636ddc6299edae63e760ea6658f8ee9a2edfa6d6b24c9a80c917916b973551 + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.28.6": + version: 7.28.6 + resolution: "@babel/helper-compilation-targets@npm:7.28.6" + dependencies: + "@babel/compat-data": "npm:^7.28.6" + "@babel/helper-validator-option": "npm:^7.27.1" + browserslist: "npm:^4.24.0" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.1" + checksum: 10c0/3fcdf3b1b857a1578e99d20508859dbd3f22f3c87b8a0f3dc540627b4be539bae7f6e61e49d931542fe5b557545347272bbdacd7f58a5c77025a18b745593a50 + languageName: node + linkType: hard + +"@babel/helper-globals@npm:^7.28.0": + version: 7.28.0 + resolution: "@babel/helper-globals@npm:7.28.0" + checksum: 10c0/5a0cd0c0e8c764b5f27f2095e4243e8af6fa145daea2b41b53c0c1414fe6ff139e3640f4e2207ae2b3d2153a1abd346f901c26c290ee7cb3881dd922d4ee9232 + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.28.6": + version: 7.28.6 + resolution: "@babel/helper-module-imports@npm:7.28.6" + dependencies: + "@babel/traverse": "npm:^7.28.6" + "@babel/types": "npm:^7.28.6" + checksum: 10c0/b49d8d8f204d9dbfd5ac70c54e533e5269afb3cea966a9d976722b13e9922cc773a653405f53c89acb247d5aebdae4681d631a3ae3df77ec046b58da76eda2ac + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.28.6": + version: 7.28.6 + resolution: "@babel/helper-module-transforms@npm:7.28.6" + dependencies: + "@babel/helper-module-imports": "npm:^7.28.6" + "@babel/helper-validator-identifier": "npm:^7.28.5" + "@babel/traverse": "npm:^7.28.6" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10c0/6f03e14fc30b287ce0b839474b5f271e72837d0cafe6b172d759184d998fbee3903a035e81e07c2c596449e504f453463d58baa65b6f40a37ded5bec74620b2b + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.27.1": + version: 7.28.6 + resolution: "@babel/helper-plugin-utils@npm:7.28.6" + checksum: 10c0/3f5f8acc152fdbb69a84b8624145ff4f9b9f6e776cb989f9f968f8606eb7185c5c3cfcf3ba08534e37e1e0e1c118ac67080610333f56baa4f7376c99b5f1143d + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.27.1": + version: 7.27.1 + resolution: "@babel/helper-string-parser@npm:7.27.1" + checksum: 10c0/8bda3448e07b5583727c103560bcf9c4c24b3c1051a4c516d4050ef69df37bb9a4734a585fe12725b8c2763de0a265aa1e909b485a4e3270b7cfd3e4dbe4b602 + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.28.5": + version: 7.28.5 + resolution: "@babel/helper-validator-identifier@npm:7.28.5" + checksum: 10c0/42aaebed91f739a41f3d80b72752d1f95fd7c72394e8e4bd7cdd88817e0774d80a432451bcba17c2c642c257c483bf1d409dd4548883429ea9493a3bc4ab0847 + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.27.1": + version: 7.27.1 + resolution: "@babel/helper-validator-option@npm:7.27.1" + checksum: 10c0/6fec5f006eba40001a20f26b1ef5dbbda377b7b68c8ad518c05baa9af3f396e780bdfded24c4eef95d14bb7b8fd56192a6ed38d5d439b97d10efc5f1a191d148 + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.28.6": + version: 7.29.2 + resolution: "@babel/helpers@npm:7.29.2" + dependencies: + "@babel/template": "npm:^7.28.6" + "@babel/types": "npm:^7.29.0" + checksum: 10c0/dab0e65b9318b2502a62c58bc0913572318595eec0482c31f0ad416b72636e6698a1d7c57cd2791d4528eb8c548bca88d338dc4d2a55a108dc1f6702f9bc5512 + languageName: node + linkType: hard + +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.28.6, @babel/parser@npm:^7.29.0": + version: 7.29.3 + resolution: "@babel/parser@npm:7.29.3" + dependencies: + "@babel/types": "npm:^7.29.0" + bin: + parser: ./bin/babel-parser.js + checksum: 10c0/f06920c819550c0db689e4c5b626bf55ba3cebf80ebe9ccfa434e134036cf3de50951fe759f74abb2dae381989239860bde46d4600328578ad1f7114c3711a6d + languageName: node + linkType: hard + +"@babel/plugin-transform-react-jsx-self@npm:^7.27.1": + version: 7.27.1 + resolution: "@babel/plugin-transform-react-jsx-self@npm:7.27.1" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.27.1" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10c0/00a4f917b70a608f9aca2fb39aabe04a60aa33165a7e0105fd44b3a8531630eb85bf5572e9f242f51e6ad2fa38c2e7e780902176c863556c58b5ba6f6e164031 + languageName: node + linkType: hard + +"@babel/plugin-transform-react-jsx-source@npm:^7.27.1": + version: 7.27.1 + resolution: "@babel/plugin-transform-react-jsx-source@npm:7.27.1" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.27.1" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10c0/5e67b56c39c4d03e59e03ba80692b24c5a921472079b63af711b1d250fc37c1733a17069b63537f750f3e937ec44a42b1ee6a46cd23b1a0df5163b17f741f7f2 + languageName: node + linkType: hard + +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.12.13": + version: 7.29.2 + resolution: "@babel/runtime@npm:7.29.2" + checksum: 10c0/30b80a0140d16467792e1bbeb06f655b0dab70407da38dfac7fedae9c859f9ae9d846ef14ad77bd3814c064295fe9b1bc551f1541ea14646ae9f22b71a8bc17a + languageName: node + linkType: hard + +"@babel/template@npm:^7.28.6": + version: 7.28.6 + resolution: "@babel/template@npm:7.28.6" + dependencies: + "@babel/code-frame": "npm:^7.28.6" + "@babel/parser": "npm:^7.28.6" + "@babel/types": "npm:^7.28.6" + checksum: 10c0/66d87225ed0bc77f888181ae2d97845021838c619944877f7c4398c6748bcf611f216dfd6be74d39016af502bca876e6ce6873db3c49e4ac354c56d34d57e9f5 + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.28.6, @babel/traverse@npm:^7.29.0": + version: 7.29.0 + resolution: "@babel/traverse@npm:7.29.0" + dependencies: + "@babel/code-frame": "npm:^7.29.0" + "@babel/generator": "npm:^7.29.0" + "@babel/helper-globals": "npm:^7.28.0" + "@babel/parser": "npm:^7.29.0" + "@babel/template": "npm:^7.28.6" + "@babel/types": "npm:^7.29.0" + debug: "npm:^4.3.1" + checksum: 10c0/f63ef6e58d02a9fbf3c0e2e5f1c877da3e0bc57f91a19d2223d53e356a76859cbaf51171c9211c71816d94a0e69efa2732fd27ffc0e1bbc84b636e60932333eb + languageName: node + linkType: hard + +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.6, @babel/types@npm:^7.29.0": + version: 7.29.0 + resolution: "@babel/types@npm:7.29.0" + dependencies: + "@babel/helper-string-parser": "npm:^7.27.1" + "@babel/helper-validator-identifier": "npm:^7.28.5" + checksum: 10c0/23cc3466e83bcbfab8b9bd0edaafdb5d4efdb88b82b3be6728bbade5ba2f0996f84f63b1c5f7a8c0d67efded28300898a5f930b171bb40b311bca2029c4e9b4f + languageName: node + linkType: hard + +"@capacitor-firebase/authentication@npm:^8.0.0": + version: 8.3.0 + resolution: "@capacitor-firebase/authentication@npm:8.3.0" + peerDependencies: + "@capacitor/core": ">=8.0.0" + firebase: ^12.6.0 + peerDependenciesMeta: + firebase: + optional: true + checksum: 10c0/a52f6ec85d18438ed616c78f29a8cea4a64621d13208a4d79d914344090630ce549f4e2d5d75da94b012e8799b4794e0af8d0e736edd97973b57205b62258ed9 + languageName: node + linkType: hard + +"@capacitor/android@npm:8.3.4": + version: 8.3.4 + resolution: "@capacitor/android@npm:8.3.4" + peerDependencies: + "@capacitor/core": ^8.3.0 + checksum: 10c0/c24c0ad18df8de1ef63bc22392cc8e3934acbff72a7cbd97eb1710f38617cc42728c410cd9e2f74c62d93da09d678ce2dac96a819005343c1c0a8ad8ee629cb1 + languageName: node + linkType: hard + +"@capacitor/app@npm:8.1.0": + version: 8.1.0 + resolution: "@capacitor/app@npm:8.1.0" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/670a5bc3f0c1706f9d09ad03873836ac9b56e1ca6c9853e283d43b4ff04c7295b30801d49f563206aadcf882245025be1ecdc12c22c7d479c636b34123e9a0d3 + languageName: node + linkType: hard + +"@capacitor/cli@npm:8.3.4": + version: 8.3.4 + resolution: "@capacitor/cli@npm:8.3.4" + dependencies: + "@ionic/cli-framework-output": "npm:^2.2.8" + "@ionic/utils-subprocess": "npm:^3.0.1" + "@ionic/utils-terminal": "npm:^2.3.5" + commander: "npm:^12.1.0" + debug: "npm:^4.4.0" + env-paths: "npm:^2.2.0" + fs-extra: "npm:^11.2.0" + kleur: "npm:^4.1.5" + native-run: "npm:^2.0.3" + open: "npm:^8.4.0" + plist: "npm:^3.1.0" + prompts: "npm:^2.4.2" + rimraf: "npm:^6.0.1" + semver: "npm:^7.6.3" + tar: "npm:^7.5.3" + tslib: "npm:^2.8.1" + xml2js: "npm:^0.6.2" + bin: + cap: bin/capacitor + capacitor: bin/capacitor + checksum: 10c0/e9f8f4bbd10f1eb4cd80b450cab75c12a78490fed2caa540f5fc7b7ba9cb61e309e0d214bc4b30085f686eda1de4da72ed0ea84902a9129d257deffff65797c7 + languageName: node + linkType: hard + +"@capacitor/core@npm:8.3.4": + version: 8.3.4 + resolution: "@capacitor/core@npm:8.3.4" + dependencies: + tslib: "npm:^2.1.0" + checksum: 10c0/12341743e5d4c532cdfe1f3a145ac0f278f9006a46cd9a31f79c9169cfce6d86b77c60082230975bf265882a84e7dce7a4d5b137a5841a5b86d1b9d230f67995 + languageName: node + linkType: hard + +"@capacitor/google-maps@npm:^8.0.0": + version: 8.0.1 + resolution: "@capacitor/google-maps@npm:8.0.1" + dependencies: + "@googlemaps/js-api-loader": "npm:^2.0.2" + "@googlemaps/markerclusterer": "npm:^2.6.2" + "@types/google.maps": "npm:^3.58.1" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/3b947ef116ac2efcc6611cd2b713adc3466e1dca8ea3cdd9e8e73c8d20265d216dc3c2ee62c273305c68f04eecf1190e54016449f9adbf16ce5b48f4519473f1 + languageName: node + linkType: hard + +"@capacitor/haptics@npm:8.0.2": + version: 8.0.2 + resolution: "@capacitor/haptics@npm:8.0.2" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/cf6c9c0c6035dc66cf6e483aa513d69a147cafde70d9c3bf8792704322478eb0cc7cee6a4179ebea7c5b6effce85a4753ab10a7f0007375527676bf4e2827c6b + languageName: node + linkType: hard + +"@capacitor/ios@npm:8.3.4": + version: 8.3.4 + resolution: "@capacitor/ios@npm:8.3.4" + peerDependencies: + "@capacitor/core": ^8.3.0 + checksum: 10c0/1725f5d38ef762c0bba6368fcf13be62758e0159041d83e7570b0163e99db6e6be4fab5f2863c32c2bd4d05e1dbea70bbe55def635a07862e850fae35ae83563 + languageName: node + linkType: hard + +"@capacitor/keyboard@npm:8.0.3": + version: 8.0.3 + resolution: "@capacitor/keyboard@npm:8.0.3" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/502c7ff5b88367df92ab4c0a51f04d70a6bd2b7ce03ead881035e63286282bc4abfb35d9fe55c8ebed538fe8b665e632050810e89ac6014a70fc98afaf8bbf23 + languageName: node + linkType: hard + +"@capacitor/push-notifications@npm:^8.1.1": + version: 8.1.1 + resolution: "@capacitor/push-notifications@npm:8.1.1" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/4641fd997e03385676c12848c9ba3bb36a180450926614efb1769d8e6579c60641365e1018f8d846979c5c411f9152b50be4bac7c2e4d06dbf7c1954c07e181c + languageName: node + linkType: hard + +"@capacitor/status-bar@npm:8.0.2": + version: 8.0.2 + resolution: "@capacitor/status-bar@npm:8.0.2" + peerDependencies: + "@capacitor/core": ">=8.0.0" + checksum: 10c0/2e27cf6629666b9e3078ac26e68a13d211a442b24ce64e40510ca9741666abe72c64c0be05b2645ebfcd297413a2f5238812218649e74b906d11893378a15231 + languageName: node + linkType: hard + +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@firebase/ai@npm:1.4.1": + version: 1.4.1 + resolution: "@firebase/ai@npm:1.4.1" + dependencies: + "@firebase/app-check-interop-types": "npm:0.3.3" + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + "@firebase/app-types": 0.x + checksum: 10c0/81b0913877438c080e7c22ef2aef207ce4aec921d34a82c0bb58b2cd829612ca2acc726fab389484489374af7b1e0270b7c9d9f98b9dc5c32f658e90b69af6c2 + languageName: node + linkType: hard + +"@firebase/analytics-compat@npm:0.2.23": + version: 0.2.23 + resolution: "@firebase/analytics-compat@npm:0.2.23" + dependencies: + "@firebase/analytics": "npm:0.10.17" + "@firebase/analytics-types": "npm:0.8.3" + "@firebase/component": "npm:0.6.18" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/61ca904bcd8eafe91f2db09c592ff0da911ae1f50f6ec95cc2eefbbe1dd5b537cc8838d3b03ab8dca9e06c42c4092a447dc69c61a1b8a1ffcd0fac1047eac71d + languageName: node + linkType: hard + +"@firebase/analytics-types@npm:0.8.3": + version: 0.8.3 + resolution: "@firebase/analytics-types@npm:0.8.3" + checksum: 10c0/2cbc5fe8425bc01c7ba03579cdc5ca6b23de51b08edb62927be610a33bbc961bae97aa48ee12dcdb039b752c158d095f234ed20f1f4d2bd7a5c39f44d82cdf22 + languageName: node + linkType: hard + +"@firebase/analytics@npm:0.10.17": + version: 0.10.17 + resolution: "@firebase/analytics@npm:0.10.17" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/installations": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/c6669c3d090a52c1e8fa0071f541237b811dbbbf5a4dd497e3ee4175fd2c25e55da272dec5e73801d7ac4688862e1719b391daa445bf1e2dfadc8c2b153ef73b + languageName: node + linkType: hard + +"@firebase/app-check-compat@npm:0.3.26": + version: 0.3.26 + resolution: "@firebase/app-check-compat@npm:0.3.26" + dependencies: + "@firebase/app-check": "npm:0.10.1" + "@firebase/app-check-types": "npm:0.5.3" + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/1ef896356eb6656a836f68bb860dcac0b9af2021a3651e26064d9d936180b3e6d0b8b2adbc834a0353b68cca249ed707e01519a14f9514e1b38fa9c911260c01 + languageName: node + linkType: hard + +"@firebase/app-check-interop-types@npm:0.3.3": + version: 0.3.3 + resolution: "@firebase/app-check-interop-types@npm:0.3.3" + checksum: 10c0/4a887ef5e30ee1a407b569603c433a9f21244d50a19d97a5f1f17d8f5caea83096852b39e67d599f3238f1f7e2a369b02d184a184986a649ed1f8fed12fbd6be + languageName: node + linkType: hard + +"@firebase/app-check-types@npm:0.5.3": + version: 0.5.3 + resolution: "@firebase/app-check-types@npm:0.5.3" + checksum: 10c0/59af0ae698ff2172e84f504e3b5e778c2cc78fefdcceb917eb899a204ad130ad5497011ab94459f6f9dd0a9062a0455bbd745ad3e488b39dae4625c3fb0d0145 + languageName: node + linkType: hard + +"@firebase/app-check@npm:0.10.1": + version: 0.10.1 + resolution: "@firebase/app-check@npm:0.10.1" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/95504658f10b957b6c0080b7d48a7e3352dd23b342c81868bc17242f0812b315ed9db9a022a50f26a1ffd44d6760de5114cd3bf1f5176319a40706cfb2b0b5c9 + languageName: node + linkType: hard + +"@firebase/app-compat@npm:0.4.2": + version: 0.4.2 + resolution: "@firebase/app-compat@npm:0.4.2" + dependencies: + "@firebase/app": "npm:0.13.2" + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + checksum: 10c0/265b9b6a2284feb3a768a4a7506e336521549894f557016a77e05867a0d37daa9a496f275844cc007047b4248c930743cf0e89c874387a8c7888ca6a4aa1ff84 + languageName: node + linkType: hard + +"@firebase/app-types@npm:0.9.3": + version: 0.9.3 + resolution: "@firebase/app-types@npm:0.9.3" + checksum: 10c0/02ec9a26c10b9bbb2a1e5b9ae0552b5325b40066e3c23be089ceae53414a1505f2ab716ae1098652a0a0c9992ba322c05371a9b2a837cccfae309788372a72e0 + languageName: node + linkType: hard + +"@firebase/app@npm:0.13.2": + version: 0.13.2 + resolution: "@firebase/app@npm:0.13.2" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + idb: "npm:7.1.1" + tslib: "npm:^2.1.0" + checksum: 10c0/e6c315aceb8c5c415d536d4468fb8fab468a4e75ab292259256e3a1007293254f7394816637398ebef0c8e9cb192c60392b18d1367219f49bbac8048e34d789d + languageName: node + linkType: hard + +"@firebase/auth-compat@npm:0.5.28": + version: 0.5.28 + resolution: "@firebase/auth-compat@npm:0.5.28" + dependencies: + "@firebase/auth": "npm:1.10.8" + "@firebase/auth-types": "npm:0.13.0" + "@firebase/component": "npm:0.6.18" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/2e22d37054ee5dd2861ec2dea32fe39e7628c49bfd74cdf06f6959b24e94eeb4f7150f26bc35da2b6166f25772c90f241cd403d7ef8ed4ebad4b8c858ef260dd + languageName: node + linkType: hard + +"@firebase/auth-interop-types@npm:0.2.4": + version: 0.2.4 + resolution: "@firebase/auth-interop-types@npm:0.2.4" + checksum: 10c0/ff833bcbb472992c6061847309e338dac736c616522c5fd808526d6dc13b9788458a8c9677d91c33c1288ee38f42896c2b4b8fe10ee74f1569d11f3f3c4f53b5 + languageName: node + linkType: hard + +"@firebase/auth-types@npm:0.13.0": + version: 0.13.0 + resolution: "@firebase/auth-types@npm:0.13.0" + peerDependencies: + "@firebase/app-types": 0.x + "@firebase/util": 1.x + checksum: 10c0/a844c4a083ade9ae946337ec7d7fca8b0a384439be455d6d60d1ba01671c34b2b5162b7b8c1341a699fa70f78948c145c3bbe4723ca444f3b2f17cace40a4fd9 + languageName: node + linkType: hard + +"@firebase/auth@npm:1.10.8": + version: 1.10.8 + resolution: "@firebase/auth@npm:1.10.8" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + "@react-native-async-storage/async-storage": ^1.18.1 + peerDependenciesMeta: + "@react-native-async-storage/async-storage": + optional: true + checksum: 10c0/91cb05a743d61647d4f78a8bc8b31d1ee948d24f049f6a4d76012eb6f004ac1b8754ae85e79f9e0183fa8b8e75a246d3aca6f25d76f106a44b4e5d0983b67f6d + languageName: node + linkType: hard + +"@firebase/component@npm:0.6.18": + version: 0.6.18 + resolution: "@firebase/component@npm:0.6.18" + dependencies: + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + checksum: 10c0/8132696aed9092b9c9274a1191db0f4c93779a23a416427cf2c8bdfb13ce6ccea8f86a4b4e55638f54ee17aab9d8ad7b4068ffc866efb67ff9510da1de179b6b + languageName: node + linkType: hard + +"@firebase/data-connect@npm:0.3.10": + version: 0.3.10 + resolution: "@firebase/data-connect@npm:0.3.10" + dependencies: + "@firebase/auth-interop-types": "npm:0.2.4" + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/fb04aca45fc837daafb9dbe3d573dd86b208e57fed6cfbe8bdc0a41c56dca094ed2e1572bf69641d89a17cb785b945d412b635337170b7d05bee670f77d2b4bf + languageName: node + linkType: hard + +"@firebase/database-compat@npm:2.0.11": + version: 2.0.11 + resolution: "@firebase/database-compat@npm:2.0.11" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/database": "npm:1.0.20" + "@firebase/database-types": "npm:1.0.15" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + checksum: 10c0/908f6f0295505e1b4e112cbf898a518ef74d09a2511f8c451b49c93c7bab58ad707d1ff3e9db2b28a44d87ba06f8137f23f398c7302b89856ab56685d249e6f1 + languageName: node + linkType: hard + +"@firebase/database-types@npm:1.0.15": + version: 1.0.15 + resolution: "@firebase/database-types@npm:1.0.15" + dependencies: + "@firebase/app-types": "npm:0.9.3" + "@firebase/util": "npm:1.12.1" + checksum: 10c0/379e61eb1b7d949c499ea36b5937b496b59b56adb51f3967471bb96f93f29ca870df1bae006a68c59e94cfadc47e19db5a49a52f50338db71a445db9c44e3c78 + languageName: node + linkType: hard + +"@firebase/database@npm:1.0.20": + version: 1.0.20 + resolution: "@firebase/database@npm:1.0.20" + dependencies: + "@firebase/app-check-interop-types": "npm:0.3.3" + "@firebase/auth-interop-types": "npm:0.2.4" + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + faye-websocket: "npm:0.11.4" + tslib: "npm:^2.1.0" + checksum: 10c0/40ef1037b00baae94c6d32c48ca4eb2812c36bfb23cd15fd240cba9450860e73c216420989aef5886f0f0e5facd34a1bd7d2c0dc751a527f2f0a0c6f369d397c + languageName: node + linkType: hard + +"@firebase/firestore-compat@npm:0.3.53": + version: 0.3.53 + resolution: "@firebase/firestore-compat@npm:0.3.53" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/firestore": "npm:4.8.0" + "@firebase/firestore-types": "npm:3.0.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/a588fbd28c579a6c1d59225e3fbd6f6ec748a65b2bda4766e12d2b2cb843338568a883e5a170fe23333a7710060a1b714304a69a63b8282514be6fc72bb1c6e1 + languageName: node + linkType: hard + +"@firebase/firestore-types@npm:3.0.3": + version: 3.0.3 + resolution: "@firebase/firestore-types@npm:3.0.3" + peerDependencies: + "@firebase/app-types": 0.x + "@firebase/util": 1.x + checksum: 10c0/8196168a2de68bd60e0a9053a670d14d2917bf8e30829a4a2f8435fa2aceaaf97ce7438cd9525786a9bf8c5d6104ced3086acd792439371fea7b35497a53bdfa + languageName: node + linkType: hard + +"@firebase/firestore@npm:4.8.0": + version: 4.8.0 + resolution: "@firebase/firestore@npm:4.8.0" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + "@firebase/webchannel-wrapper": "npm:1.0.3" + "@grpc/grpc-js": "npm:~1.9.0" + "@grpc/proto-loader": "npm:^0.7.8" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/87e2a16fd432a1e6eeab537bf24ca8f3a5b01268d5ef0a7b4bae72032bdcb009159a6739383ff786087937c773493e67e8614f5835044d264dfc7954b1a6c209 + languageName: node + linkType: hard + +"@firebase/functions-compat@npm:0.3.26": + version: 0.3.26 + resolution: "@firebase/functions-compat@npm:0.3.26" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/functions": "npm:0.12.9" + "@firebase/functions-types": "npm:0.6.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/815e657273c4333177163b1e9fd1cc607189dd5be7b0766269d3c796baef800f3c65f61469d60c0214e36c1cc6b3ccfbf5294fca1d95c809f43ac7dea2b26ddf + languageName: node + linkType: hard + +"@firebase/functions-types@npm:0.6.3": + version: 0.6.3 + resolution: "@firebase/functions-types@npm:0.6.3" + checksum: 10c0/aabd7bdd8c479323a419bba9ad275d96cd44229bd2213c87be08a9978af5ff0c1306279229a358c77280ce54fa6f42c91a6fd6c947808b1103174db0261b86e1 + languageName: node + linkType: hard + +"@firebase/functions@npm:0.12.9": + version: 0.12.9 + resolution: "@firebase/functions@npm:0.12.9" + dependencies: + "@firebase/app-check-interop-types": "npm:0.3.3" + "@firebase/auth-interop-types": "npm:0.2.4" + "@firebase/component": "npm:0.6.18" + "@firebase/messaging-interop-types": "npm:0.2.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/99666f7500004b4073b8b617edbafe4efec758816f7ae980b9fdd149bf767edb65353c41534ef1e2bb988cd72c08d46e4f64a98b6d1cf961a81009ec81a7e7cd + languageName: node + linkType: hard + +"@firebase/installations-compat@npm:0.2.18": + version: 0.2.18 + resolution: "@firebase/installations-compat@npm:0.2.18" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/installations": "npm:0.6.18" + "@firebase/installations-types": "npm:0.5.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/22e1bc4b4da0bdee9881d8bb4c43794f8f5743b87f071afa6d4c30bbe6a2f99786c1864b9054429c8fdc35f68b5f9dbae825164e1c5c3272c2564c7e877836a2 + languageName: node + linkType: hard + +"@firebase/installations-types@npm:0.5.3": + version: 0.5.3 + resolution: "@firebase/installations-types@npm:0.5.3" + peerDependencies: + "@firebase/app-types": 0.x + checksum: 10c0/f8af07a17e9c0cd1738009b880579b57d112f991ac99e4a17f327d89ad9f8f633fd50757bfd97f470edcc62045526dc59432fb7fcb1f76daa3c72c975519af62 + languageName: node + linkType: hard + +"@firebase/installations@npm:0.6.18": + version: 0.6.18 + resolution: "@firebase/installations@npm:0.6.18" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/util": "npm:1.12.1" + idb: "npm:7.1.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/d7fbd65b89f59c57b05e82c3748b17c4fa973661809c0d97f0b57193609da4b0f4926b1bf63d03346330c5d194487c7c5e06433f4bf4987bad2e2ba884799304 + languageName: node + linkType: hard + +"@firebase/logger@npm:0.4.4": + version: 0.4.4 + resolution: "@firebase/logger@npm:0.4.4" + dependencies: + tslib: "npm:^2.1.0" + checksum: 10c0/0493468960c1243bad71ff932fbf89c17870b07cd3cb25b9565661689e52e93948e43cbd423f9903bdd80c40b98c28e4b2d85698e9ef09d4c59e23beb9140bda + languageName: node + linkType: hard + +"@firebase/messaging-compat@npm:0.2.22": + version: 0.2.22 + resolution: "@firebase/messaging-compat@npm:0.2.22" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/messaging": "npm:0.12.22" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/b91cd3faa6c3e8787143e5977821cb8e36e29311bfc8b84c099ecd4f32a70c5d9c6c4a2bec5ea07a8613ddc295facf1976a8bf8be0c886dd8fc1ae33dbb46216 + languageName: node + linkType: hard + +"@firebase/messaging-interop-types@npm:0.2.3": + version: 0.2.3 + resolution: "@firebase/messaging-interop-types@npm:0.2.3" + checksum: 10c0/a6fb8f02db6a93f277cb5bd530934509e49465f775f2b5ed159116d9ce30b6255213781639b98984ff8b424a8fc36a8e5779e0cc3f0cf5e1bdbd41ae938d6c39 + languageName: node + linkType: hard + +"@firebase/messaging@npm:0.12.22": + version: 0.12.22 + resolution: "@firebase/messaging@npm:0.12.22" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/installations": "npm:0.6.18" + "@firebase/messaging-interop-types": "npm:0.2.3" + "@firebase/util": "npm:1.12.1" + idb: "npm:7.1.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/8c9d9c9c6a5cf9c08ca790e3d60e54199e47c957312a9208c70c9b391e02cafef1588635327990f18269a8556fec0d48db6744e0c754ce2622e4f0a55453cd11 + languageName: node + linkType: hard + +"@firebase/performance-compat@npm:0.2.20": + version: 0.2.20 + resolution: "@firebase/performance-compat@npm:0.2.20" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/performance": "npm:0.7.7" + "@firebase/performance-types": "npm:0.2.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/bb85d8dfcaee63f30ecd188f8ed04a83c9f0ef0be61479e746dd82c3ef6b8b5f588e492c3022238e19817bb3186aab411b0b941202987213841c9551cf22b5a7 + languageName: node + linkType: hard + +"@firebase/performance-types@npm:0.2.3": + version: 0.2.3 + resolution: "@firebase/performance-types@npm:0.2.3" + checksum: 10c0/971d6bff448481dd5e8ff9d643e14b364ed4d619aca1d8d64105555c7f4566c9c05bca3cd0c027b3f879cccf8c7bc0e31579f7f0d7b8b1de182af804572b2374 + languageName: node + linkType: hard + +"@firebase/performance@npm:0.7.7": + version: 0.7.7 + resolution: "@firebase/performance@npm:0.7.7" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/installations": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + web-vitals: "npm:^4.2.4" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/4c9cf7607ebcbcc2a2a48b2a548bfe1738d1839c75fda37622aff9007e86618a20cde41ca1b81e39414e18fa409ff4c8695854306bb2ec5ba9f52c21bc95acf4 + languageName: node + linkType: hard + +"@firebase/remote-config-compat@npm:0.2.18": + version: 0.2.18 + resolution: "@firebase/remote-config-compat@npm:0.2.18" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/remote-config": "npm:0.6.5" + "@firebase/remote-config-types": "npm:0.4.0" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/e14035320c9ada6f0130440bdfffaf671614452c3743599800f89b5790de30407c88ef10e0b8ae9f38e05738553595d7c80bf792de96427a3f2589f7cd93df8b + languageName: node + linkType: hard + +"@firebase/remote-config-types@npm:0.4.0": + version: 0.4.0 + resolution: "@firebase/remote-config-types@npm:0.4.0" + checksum: 10c0/2b80a82559f8025ec2e16e98b2fc0bebc1aba6ad461895cd5544c7af964bba9faf6e351aeb356dcb28cd7fe75bc9f120f02ccacffa70f44b160a1b27fd00a5d2 + languageName: node + linkType: hard + +"@firebase/remote-config@npm:0.6.5": + version: 0.6.5 + resolution: "@firebase/remote-config@npm:0.6.5" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/installations": "npm:0.6.18" + "@firebase/logger": "npm:0.4.4" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/8f33384205c43ab65d0c725fd5be3fd949970eb755583baba11331192ed95d881928598d2dbc771aecf80f843617367bb4f6b3083107260a213344f1c043714e + languageName: node + linkType: hard + +"@firebase/storage-compat@npm:0.3.24": + version: 0.3.24 + resolution: "@firebase/storage-compat@npm:0.3.24" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/storage": "npm:0.13.14" + "@firebase/storage-types": "npm:0.8.3" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app-compat": 0.x + checksum: 10c0/cfe0ec9ef4bccc96675334e5e89dcf7b150730834e5d188cb06c60d0e91241d5673e32c9779edd2e3f48bb23dc4f7d4bf3e6bbe3f4ec30a09fecabd866afd493 + languageName: node + linkType: hard + +"@firebase/storage-types@npm:0.8.3": + version: 0.8.3 + resolution: "@firebase/storage-types@npm:0.8.3" + peerDependencies: + "@firebase/app-types": 0.x + "@firebase/util": 1.x + checksum: 10c0/4b34edca4fcbf75ba6575b02d823f5f5b0680977488a2e8101116313903d75973623cf4440f1e0f8048158e0804d0f5a7730f15bbe5af4ceb35fae6ff532a696 + languageName: node + linkType: hard + +"@firebase/storage@npm:0.13.14": + version: 0.13.14 + resolution: "@firebase/storage@npm:0.13.14" + dependencies: + "@firebase/component": "npm:0.6.18" + "@firebase/util": "npm:1.12.1" + tslib: "npm:^2.1.0" + peerDependencies: + "@firebase/app": 0.x + checksum: 10c0/e6b40c7057783a390b89e6e52e9994763246777cd74ac1d25be98478a50639feedbac8097683aa288b90eda1cc4f9345dc682b8f416f13cbcf7f7394721194ad + languageName: node + linkType: hard + +"@firebase/util@npm:1.12.1": + version: 1.12.1 + resolution: "@firebase/util@npm:1.12.1" + dependencies: + tslib: "npm:^2.1.0" + checksum: 10c0/1ba735478eb06f718b971a39fc9b91dc1bab8a76e9a63f199be56c31fc0a46a9e062fc86d63c7be65dff791927ab964f0264ef0fb9bf01a4650890c6c6a08c59 + languageName: node + linkType: hard + +"@firebase/webchannel-wrapper@npm:1.0.3": + version: 1.0.3 + resolution: "@firebase/webchannel-wrapper@npm:1.0.3" + checksum: 10c0/faa1e53ea82ab6bda0b9dcc5f525101a301c74d1cffb924269de947a46511a633662dd6ee8ca571470e06642b35a596625228c766f37cc2d657321edfc560d28 + languageName: node + linkType: hard + +"@googlemaps/js-api-loader@npm:^2.0.2": + version: 2.1.0 + resolution: "@googlemaps/js-api-loader@npm:2.1.0" + dependencies: + "@types/google.maps": "npm:^3.53.1" + checksum: 10c0/dc9593252f59af6c8af0056d1045bc6ce8335962fde51b4e294b864f47d3c640c4259c3afedfb9c0f60b62f76d9c8786062888c6f22518ce88f2e0d95dc6b510 + languageName: node + linkType: hard + +"@googlemaps/markerclusterer@npm:^2.6.2": + version: 2.6.2 + resolution: "@googlemaps/markerclusterer@npm:2.6.2" + dependencies: + "@types/supercluster": "npm:^7.1.3" + fast-equals: "npm:^5.2.2" + supercluster: "npm:^8.0.1" + checksum: 10c0/bfe4ffef9dc9f635fca93968d71b2019c936b46480e38dbfb885c3bed1589c9a353e428880a018f8fbc50c2cb16257c4822742d2e49f963dd9ff5d7ffe12f9cb + languageName: node + linkType: hard + +"@grpc/grpc-js@npm:~1.9.0": + version: 1.9.16 + resolution: "@grpc/grpc-js@npm:1.9.16" + dependencies: + "@grpc/proto-loader": "npm:^0.7.8" + "@types/node": "npm:>=12.12.47" + checksum: 10c0/dfe2b1a670d650489fe82bb7afc1c0336313b0cde4a102623a1331267cbdeb1bde9409143fb1432db074bc1845b38d96b82a4277bdd99929aa8322cf97d305aa + languageName: node + linkType: hard + +"@grpc/proto-loader@npm:^0.7.8": + version: 0.7.15 + resolution: "@grpc/proto-loader@npm:0.7.15" + dependencies: + lodash.camelcase: "npm:^4.3.0" + long: "npm:^5.0.0" + protobufjs: "npm:^7.2.5" + yargs: "npm:^17.7.2" + bin: + proto-loader-gen-types: build/bin/proto-loader-gen-types.js + checksum: 10c0/514a134a724b56d73d0a202b7e02c84479da21e364547bacb2f4995ebc0d52412a1a21653add9f004ebd146c1e6eb4bcb0b8846fdfe1bfa8a98ed8f3d203da4a + languageName: node + linkType: hard + +"@ionic/cli-framework-output@npm:^2.2.8": + version: 2.2.8 + resolution: "@ionic/cli-framework-output@npm:2.2.8" + dependencies: + "@ionic/utils-terminal": "npm:2.3.5" + debug: "npm:^4.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/a7bf9379201225f20dc3fe1ff93d8b811ef6f9437762785ca80d0c26bcb5aa6fe1661e9d8e1a41d6b193036d7c09a97215d6ec36f4692fa6ea860c1aebd5a97f + languageName: node + linkType: hard + +"@ionic/core@npm:8.8.7": + version: 8.8.7 + resolution: "@ionic/core@npm:8.8.7" + dependencies: + "@stencil/core": "npm:4.43.0" + ionicons: "npm:^8.0.13" + tslib: "npm:^2.1.0" + checksum: 10c0/46d442018b1c70ec6182e3b449dddc77c192df1f4da87078ab20f4740ce7eca852929d4987004a60bf5416fadb232a9cf5e492160179092c80b0fb7a252d62bf + languageName: node + linkType: hard + +"@ionic/core@npm:8.8.8": + version: 8.8.8 + resolution: "@ionic/core@npm:8.8.8" + dependencies: + "@stencil/core": "npm:4.43.0" + ionicons: "npm:^8.0.13" + tslib: "npm:^2.1.0" + checksum: 10c0/fea32925aaebec558c1c3bb9c30f8c0806d3480a67936e63cdcce8846138688d9b6b5b853ebe771132f0f79efef16568b17d11495f7997ea325a265a7e7d7af3 + languageName: node + linkType: hard + +"@ionic/pwa-elements@npm:^3.0.0": + version: 3.4.0 + resolution: "@ionic/pwa-elements@npm:3.4.0" + checksum: 10c0/4c4f9251d30e7f4551faeefcaa40846618e9567a5c091175b8502e9da931d0411ac8575a8128d9f3edac575d70f36514a29a8a733d7cf0189b91dc646e6e37ba + languageName: node + linkType: hard + +"@ionic/react-router@npm:^8.5.0": + version: 8.8.8 + resolution: "@ionic/react-router@npm:8.8.8" + dependencies: + "@ionic/react": "npm:8.8.8" + tslib: "npm:*" + peerDependencies: + react: ">=16.8.6" + react-dom: ">=16.8.6" + react-router: ^5.0.1 + react-router-dom: ^5.0.1 + checksum: 10c0/be9555ec4dbfd0565cada39d42236eb0b9e2283a13f500b42d5c0c06d6198c17a7be385cfb2ce4f9e89236c71992c30169328b861943a3fe7344c672ad94ae0c + languageName: node + linkType: hard + +"@ionic/react@npm:8.8.8": + version: 8.8.8 + resolution: "@ionic/react@npm:8.8.8" + dependencies: + "@ionic/core": "npm:8.8.8" + ionicons: "npm:^8.0.13" + tslib: "npm:*" + peerDependencies: + react: ">=16.8.6" + react-dom: ">=16.8.6" + checksum: 10c0/b1b8888f487dc564735adde57ef3cd054e6c9bc38601f133823e69cb98d8e51c99c8902fe48fdd11ee5521ae58b322f110a1fbc8b8fd9bc62e27fc0b806bddd0 + languageName: node + linkType: hard + +"@ionic/react@npm:^8.5.0": + version: 8.8.7 + resolution: "@ionic/react@npm:8.8.7" + dependencies: + "@ionic/core": "npm:8.8.7" + ionicons: "npm:^8.0.13" + tslib: "npm:*" + peerDependencies: + react: ">=16.8.6" + react-dom: ">=16.8.6" + checksum: 10c0/f5b19ca029a56dcf218ae735b53dcafca3325f9faa62e0bf8aa80095fe3e28053b5884fda5eedfd1392b8ab2cec1f4b29baa28b321e1e421f0b5cd42438a2837 + languageName: node + linkType: hard + +"@ionic/utils-array@npm:2.1.6": + version: 2.1.6 + resolution: "@ionic/utils-array@npm:2.1.6" + dependencies: + debug: "npm:^4.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/07b9a1c77b34e0c4d0e3bd1f638d7f7ede9481e8903328f4d1ecce20a96e92d71faed7f1c7572bcc7099d14f5c26d815c38b15a7c0679d71ee0ab40c3fde3d20 + languageName: node + linkType: hard + +"@ionic/utils-fs@npm:3.1.7, @ionic/utils-fs@npm:^3.1.7": + version: 3.1.7 + resolution: "@ionic/utils-fs@npm:3.1.7" + dependencies: + "@types/fs-extra": "npm:^8.0.0" + debug: "npm:^4.0.0" + fs-extra: "npm:^9.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/e6d71395530ad7d60ee2a698ed5f3c1fc4df85083808a7847a639fc5dfd3cb701563e1652e7cc80b7915b19a62071138a8a40e47537dc750d1a262bdb43daf6e + languageName: node + linkType: hard + +"@ionic/utils-object@npm:2.1.6": + version: 2.1.6 + resolution: "@ionic/utils-object@npm:2.1.6" + dependencies: + debug: "npm:^4.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/17b55abb65008d6be72db8cd4d3fffd2fdf103de11b38f48b65c9f6f8fe0501ff19bb7dd972014852b19dce79cf4029d0a905628e041894be10f4d2fd19f601f + languageName: node + linkType: hard + +"@ionic/utils-process@npm:2.1.12": + version: 2.1.12 + resolution: "@ionic/utils-process@npm:2.1.12" + dependencies: + "@ionic/utils-object": "npm:2.1.6" + "@ionic/utils-terminal": "npm:2.3.5" + debug: "npm:^4.0.0" + signal-exit: "npm:^3.0.3" + tree-kill: "npm:^1.2.2" + tslib: "npm:^2.0.1" + checksum: 10c0/0ee9c9810080fcf77dd7bed457f65dd074009d799b7c4efa147f3c53049993d08c73409653bc402fa9c7bf67b691d3c8cce7cd6836db4fdb75334e179ae325fa + languageName: node + linkType: hard + +"@ionic/utils-stream@npm:3.1.7": + version: 3.1.7 + resolution: "@ionic/utils-stream@npm:3.1.7" + dependencies: + debug: "npm:^4.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/738715334237cbafe4c43f3620ffd6ccbef3a6148958d6d4642dba784acb55223c4c059d7593edddcc72fcab7b5fe7c5c51b74cfd54521dd91ff1a9de7d5d121 + languageName: node + linkType: hard + +"@ionic/utils-subprocess@npm:^3.0.1": + version: 3.0.1 + resolution: "@ionic/utils-subprocess@npm:3.0.1" + dependencies: + "@ionic/utils-array": "npm:2.1.6" + "@ionic/utils-fs": "npm:3.1.7" + "@ionic/utils-process": "npm:2.1.12" + "@ionic/utils-stream": "npm:3.1.7" + "@ionic/utils-terminal": "npm:2.3.5" + cross-spawn: "npm:^7.0.3" + debug: "npm:^4.0.0" + tslib: "npm:^2.0.1" + checksum: 10c0/b4f4b02c3ebd7dcc587c5db077ddade5d938f7693fc7aaba7e5356404f272dac8c9e032adfb496115ab3ca5ec7ec37949ce7925394f4a7574db81f30e3b27eed + languageName: node + linkType: hard + +"@ionic/utils-terminal@npm:2.3.5, @ionic/utils-terminal@npm:^2.3.4, @ionic/utils-terminal@npm:^2.3.5": + version: 2.3.5 + resolution: "@ionic/utils-terminal@npm:2.3.5" + dependencies: + "@types/slice-ansi": "npm:^4.0.0" + debug: "npm:^4.0.0" + signal-exit: "npm:^3.0.3" + slice-ansi: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + tslib: "npm:^2.0.1" + untildify: "npm:^4.0.0" + wrap-ansi: "npm:^7.0.0" + checksum: 10c0/a3fdd68f6913250f49a302e03f4c93c2abafed3064f982c10b69a2e05439df208d09cc25dfec062cbfd741d22ebf5473f72831aeba96e246f8e3d82d6caaa03a + languageName: node + linkType: hard + +"@isaacs/fs-minipass@npm:^4.0.0": + version: 4.0.1 + resolution: "@isaacs/fs-minipass@npm:4.0.1" + dependencies: + minipass: "npm:^7.0.4" + checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2 + languageName: node + linkType: hard + +"@jridgewell/gen-mapping@npm:^0.3.12, @jridgewell/gen-mapping@npm:^0.3.5": + version: 0.3.13 + resolution: "@jridgewell/gen-mapping@npm:0.3.13" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.5.0" + "@jridgewell/trace-mapping": "npm:^0.3.24" + checksum: 10c0/9a7d65fb13bd9aec1fbab74cda08496839b7e2ceb31f5ab922b323e94d7c481ce0fc4fd7e12e2610915ed8af51178bdc61e168e92a8c8b8303b030b03489b13b + languageName: node + linkType: hard + +"@jridgewell/remapping@npm:^2.3.5": + version: 2.3.5 + resolution: "@jridgewell/remapping@npm:2.3.5" + dependencies: + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.24" + checksum: 10c0/3de494219ffeb2c5c38711d0d7bb128097edf91893090a2dbc8ee0b55d092bb7347b1fd0f478486c5eab010e855c73927b1666f2107516d472d24a73017d1194 + languageName: node + linkType: hard + +"@jridgewell/resolve-uri@npm:^3.1.0": + version: 3.1.2 + resolution: "@jridgewell/resolve-uri@npm:3.1.2" + checksum: 10c0/d502e6fb516b35032331406d4e962c21fe77cdf1cbdb49c6142bcbd9e30507094b18972778a6e27cbad756209cfe34b1a27729e6fa08a2eb92b33943f680cf1e + languageName: node + linkType: hard + +"@jridgewell/source-map@npm:^0.3.3": + version: 0.3.11 + resolution: "@jridgewell/source-map@npm:0.3.11" + dependencies: + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" + checksum: 10c0/50a4fdafe0b8f655cb2877e59fe81320272eaa4ccdbe6b9b87f10614b2220399ae3e05c16137a59db1f189523b42c7f88bd097ee991dbd7bc0e01113c583e844 + languageName: node + linkType: hard + +"@jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0": + version: 1.5.5 + resolution: "@jridgewell/sourcemap-codec@npm:1.5.5" + checksum: 10c0/f9e538f302b63c0ebc06eecb1dd9918dd4289ed36147a0ddce35d6ea4d7ebbda243cda7b2213b6a5e1d8087a298d5cf630fb2bd39329cdecb82017023f6081a0 + languageName: node + linkType: hard + +"@jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25, @jridgewell/trace-mapping@npm:^0.3.28": + version: 0.3.31 + resolution: "@jridgewell/trace-mapping@npm:0.3.31" + dependencies: + "@jridgewell/resolve-uri": "npm:^3.1.0" + "@jridgewell/sourcemap-codec": "npm:^1.4.14" + checksum: 10c0/4b30ec8cd56c5fd9a661f088230af01e0c1a3888d11ffb6b47639700f71225be21d1f7e168048d6d4f9449207b978a235c07c8f15c07705685d16dc06280e9d9 + languageName: node + linkType: hard + +"@protobufjs/aspromise@npm:^1.1.1, @protobufjs/aspromise@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/aspromise@npm:1.1.2" + checksum: 10c0/a83343a468ff5b5ec6bff36fd788a64c839e48a07ff9f4f813564f58caf44d011cd6504ed2147bf34835bd7a7dd2107052af755961c6b098fd8902b4f6500d0f + languageName: node + linkType: hard + +"@protobufjs/base64@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/base64@npm:1.1.2" + checksum: 10c0/eec925e681081af190b8ee231f9bad3101e189abbc182ff279da6b531e7dbd2a56f1f306f37a80b1be9e00aa2d271690d08dcc5f326f71c9eed8546675c8caf6 + languageName: node + linkType: hard + +"@protobufjs/codegen@npm:^2.0.5": + version: 2.0.5 + resolution: "@protobufjs/codegen@npm:2.0.5" + checksum: 10c0/1b8a2ae56ee60a56e9d205cd4b6072a1503c5069b8ebb905710f974ff0098a0d0700641c137e0a8d98dedf14423156a106a9433695cbf52574810f55000fdcab + languageName: node + linkType: hard + +"@protobufjs/eventemitter@npm:^1.1.1": + version: 1.1.1 + resolution: "@protobufjs/eventemitter@npm:1.1.1" + checksum: 10c0/8e06193d4629c5e7c09d4f8c2ddba8fc4dfa739f0149f33a1d901568d35bb7b8b5277a4e8452baf3bdd0b302fd599cf255d193267aa93a0a4747e23cd073c4ac + languageName: node + linkType: hard + +"@protobufjs/fetch@npm:^1.1.1": + version: 1.1.1 + resolution: "@protobufjs/fetch@npm:1.1.1" + dependencies: + "@protobufjs/aspromise": "npm:^1.1.1" + checksum: 10c0/a497ff5433854e8577f0427983ea39b9113b49a8120f94515291d763327061d2c3013e60e24ea436d091dafae01a0f6eb1867e3b1616045d96a31d8b3c646ed4 + languageName: node + linkType: hard + +"@protobufjs/float@npm:^1.0.2": + version: 1.0.2 + resolution: "@protobufjs/float@npm:1.0.2" + checksum: 10c0/18f2bdede76ffcf0170708af15c9c9db6259b771e6b84c51b06df34a9c339dbbeec267d14ce0bddd20acc142b1d980d983d31434398df7f98eb0c94a0eb79069 + languageName: node + linkType: hard + +"@protobufjs/inquire@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/inquire@npm:1.1.2" + checksum: 10c0/af69597818a14cac6a00a74cd5b3fb85aa96658b9dbbae73e6d907cb154ebf470953a8c537b3e6095a43de565ec4e6c5b40227c72f4a7d762d34fbec7ac179e7 + languageName: node + linkType: hard + +"@protobufjs/path@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/path@npm:1.1.2" + checksum: 10c0/cece0a938e7f5dfd2fa03f8c14f2f1cf8b0d6e13ac7326ff4c96ea311effd5fb7ae0bba754fbf505312af2e38500250c90e68506b97c02360a43793d88a0d8b4 + languageName: node + linkType: hard + +"@protobufjs/pool@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/pool@npm:1.1.0" + checksum: 10c0/eda2718b7f222ac6e6ad36f758a92ef90d26526026a19f4f17f668f45e0306a5bd734def3f48f51f8134ae0978b6262a5c517c08b115a551756d1a3aadfcf038 + languageName: node + linkType: hard + +"@protobufjs/utf8@npm:^1.1.1": + version: 1.1.1 + resolution: "@protobufjs/utf8@npm:1.1.1" + checksum: 10c0/641fc145f00626405e8984b6e90b9edcbcc072ffc82d0647ca3176e09c730b2d022f988e65f011a7a17e2e4d77cde7733643aa10d8ac2bfa30f134dbcad553fd + languageName: node + linkType: hard + +"@rolldown/pluginutils@npm:1.0.0-beta.27": + version: 1.0.0-beta.27 + resolution: "@rolldown/pluginutils@npm:1.0.0-beta.27" + checksum: 10c0/9658f235b345201d4f6bfb1f32da9754ca164f892d1cb68154fe5f53c1df42bd675ecd409836dff46884a7847d6c00bdc38af870f7c81e05bba5c2645eb4ab9c + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.60.4" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-android-arm64@npm:4.60.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-darwin-arm64@npm:4.34.9" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.44.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-darwin-arm64@npm:4.60.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-darwin-x64@npm:4.34.9" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.44.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-darwin-x64@npm:4.60.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-arm64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.60.4" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-x64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-freebsd-x64@npm:4.60.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.60.4" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.60.4" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.9" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.44.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.60.4" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.34.9" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.44.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.60.4" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-loong64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-loong64-gnu@npm:4.60.4" + conditions: os=linux & cpu=loong64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-loong64-musl@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-loong64-musl@npm:4.60.4" + conditions: os=linux & cpu=loong64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-ppc64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.60.4" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-ppc64-musl@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-ppc64-musl@npm:4.60.4" + conditions: os=linux & cpu=ppc64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.60.4" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-musl@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.60.4" + conditions: os=linux & cpu=riscv64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-s390x-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.60.4" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.9" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.44.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.60.4" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.34.9" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.44.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.60.4" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-openbsd-x64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-openbsd-x64@npm:4.60.4" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-openharmony-arm64@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-openharmony-arm64@npm:4.60.4" + conditions: os=openharmony & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.34.9" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.44.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.60.4" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.60.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-gnu@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-win32-x64-gnu@npm:4.60.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.34.9": + version: 4.34.9 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.34.9" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.44.0": + version: 4.44.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.44.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.60.4": + version: 4.60.4 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.60.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@stencil/core@npm:4.43.0": + version: 4.43.0 + resolution: "@stencil/core@npm:4.43.0" + dependencies: + "@rollup/rollup-darwin-arm64": "npm:4.34.9" + "@rollup/rollup-darwin-x64": "npm:4.34.9" + "@rollup/rollup-linux-arm64-gnu": "npm:4.34.9" + "@rollup/rollup-linux-arm64-musl": "npm:4.34.9" + "@rollup/rollup-linux-x64-gnu": "npm:4.34.9" + "@rollup/rollup-linux-x64-musl": "npm:4.34.9" + "@rollup/rollup-win32-arm64-msvc": "npm:4.34.9" + "@rollup/rollup-win32-x64-msvc": "npm:4.34.9" + dependenciesMeta: + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + bin: + stencil: bin/stencil + checksum: 10c0/e267b68a12f992ea4f0c9ca69499551d93f31ed9aa9f49a5c421618cc2e104edf56a50c63cf25f1fa2690d30c3c5f699957ee4e7abdf22abf06f5edbc6102641 + languageName: node + linkType: hard + +"@stencil/core@npm:^4.0.3, @stencil/core@npm:^4.35.3": + version: 4.43.4 + resolution: "@stencil/core@npm:4.43.4" + dependencies: + "@rollup/rollup-darwin-arm64": "npm:4.44.0" + "@rollup/rollup-darwin-x64": "npm:4.44.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.44.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.44.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.44.0" + "@rollup/rollup-linux-x64-musl": "npm:4.44.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.44.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.44.0" + dependenciesMeta: + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + bin: + stencil: bin/stencil + checksum: 10c0/02a4ae50986a83110dcf4c5bdfca6013e6952df2678cbc905a9c0eef915a98f6c3e8f2295c3bb72ee2e1bd167ad8f599405296665b15a59516b44b310138c474 + languageName: node + linkType: hard + +"@supabase/auth-js@npm:2.106.2": + version: 2.106.2 + resolution: "@supabase/auth-js@npm:2.106.2" + dependencies: + tslib: "npm:2.8.1" + checksum: 10c0/dc82807064bcf751c5378a9cc08a77d3732505434847af8c323355b63d417bfbfaa0e807c17eea7d0b7e022c8dadd7c9aa4c886554d60c599298e928d1035a98 + languageName: node + linkType: hard + +"@supabase/functions-js@npm:2.106.2": + version: 2.106.2 + resolution: "@supabase/functions-js@npm:2.106.2" + dependencies: + tslib: "npm:2.8.1" + checksum: 10c0/256ca5134b22b90edab4c7c1f3c5db3ba8e80adbb15c3725e5ed2456a39fe21af5b7cacb2966590f6fbd17812761d2086fcad5db09eba90490911d2a66f880f1 + languageName: node + linkType: hard + +"@supabase/phoenix@npm:^0.4.2": + version: 0.4.2 + resolution: "@supabase/phoenix@npm:0.4.2" + checksum: 10c0/7d426ea70715539d76ef09a5d2364b335f848ffc32cefdc07b67707a9415c654d3f82ebf611851fceb987bdde31f1f77c088a05c40e372b65221801ca502945c + languageName: node + linkType: hard + +"@supabase/postgrest-js@npm:2.106.2": + version: 2.106.2 + resolution: "@supabase/postgrest-js@npm:2.106.2" + dependencies: + tslib: "npm:2.8.1" + checksum: 10c0/57c1a78428d59dfa7a89ef7901f28f756068ce9dd27ff97bf133be6ba77a4a1f13dab38bfa1a2e40cf5fab5c9d84bea394aff73514da0d6062b5b10732631127 + languageName: node + linkType: hard + +"@supabase/realtime-js@npm:2.106.2": + version: 2.106.2 + resolution: "@supabase/realtime-js@npm:2.106.2" + dependencies: + "@supabase/phoenix": "npm:^0.4.2" + tslib: "npm:2.8.1" + checksum: 10c0/18cb4015e26e6eb10c45b8546c02eefdae0461123f05ff614d49107f97560b12c6e87a7cb810bc1a5e4618ad5286cc9cc5283800285e94356ea8e38a69910c10 + languageName: node + linkType: hard + +"@supabase/storage-js@npm:2.106.2": + version: 2.106.2 + resolution: "@supabase/storage-js@npm:2.106.2" + dependencies: + iceberg-js: "npm:^0.8.1" + tslib: "npm:2.8.1" + checksum: 10c0/efb0904f1311d568c6b75336771933eb9f4bea93a1cb0f90fe54422d00162d5793e404974eefc509c93dba3f337d9d6897d6ed228657590150a1346eae8f01f7 + languageName: node + linkType: hard + +"@supabase/supabase-js@npm:^2.0.0": + version: 2.106.2 + resolution: "@supabase/supabase-js@npm:2.106.2" + dependencies: + "@supabase/auth-js": "npm:2.106.2" + "@supabase/functions-js": "npm:2.106.2" + "@supabase/postgrest-js": "npm:2.106.2" + "@supabase/realtime-js": "npm:2.106.2" + "@supabase/storage-js": "npm:2.106.2" + checksum: 10c0/3d9418360b43cdf950c4d7496b368dd1c526cfc717dd3016ac032b904367476f31495c75c6ae905ef49e8b5b375416cb5cc354fb888d1e2fc596611824df2e97 + languageName: node + linkType: hard + +"@types/babel__core@npm:^7.20.5": + version: 7.20.5 + resolution: "@types/babel__core@npm:7.20.5" + dependencies: + "@babel/parser": "npm:^7.20.7" + "@babel/types": "npm:^7.20.7" + "@types/babel__generator": "npm:*" + "@types/babel__template": "npm:*" + "@types/babel__traverse": "npm:*" + checksum: 10c0/bdee3bb69951e833a4b811b8ee9356b69a61ed5b7a23e1a081ec9249769117fa83aaaf023bb06562a038eb5845155ff663e2d5c75dd95c1d5ccc91db012868ff + languageName: node + linkType: hard + +"@types/babel__generator@npm:*": + version: 7.27.0 + resolution: "@types/babel__generator@npm:7.27.0" + dependencies: + "@babel/types": "npm:^7.0.0" + checksum: 10c0/9f9e959a8792df208a9d048092fda7e1858bddc95c6314857a8211a99e20e6830bdeb572e3587ae8be5429e37f2a96fcf222a9f53ad232f5537764c9e13a2bbd + languageName: node + linkType: hard + +"@types/babel__template@npm:*": + version: 7.4.4 + resolution: "@types/babel__template@npm:7.4.4" + dependencies: + "@babel/parser": "npm:^7.1.0" + "@babel/types": "npm:^7.0.0" + checksum: 10c0/cc84f6c6ab1eab1427e90dd2b76ccee65ce940b778a9a67be2c8c39e1994e6f5bbc8efa309f6cea8dc6754994524cd4d2896558df76d92e7a1f46ecffee7112b + languageName: node + linkType: hard + +"@types/babel__traverse@npm:*": + version: 7.28.0 + resolution: "@types/babel__traverse@npm:7.28.0" + dependencies: + "@babel/types": "npm:^7.28.2" + checksum: 10c0/b52d7d4e8fc6a9018fe7361c4062c1c190f5778cf2466817cb9ed19d69fbbb54f9a85ffedeb748ed8062d2cf7d4cc088ee739848f47c57740de1c48cbf0d0994 + languageName: node + linkType: hard + +"@types/estree@npm:1.0.8": + version: 1.0.8 + resolution: "@types/estree@npm:1.0.8" + checksum: 10c0/39d34d1afaa338ab9763f37ad6066e3f349444f9052b9676a7cc0252ef9485a41c6d81c9c4e0d26e9077993354edf25efc853f3224dd4b447175ef62bdcc86a5 + languageName: node + linkType: hard + +"@types/fs-extra@npm:^8.0.0": + version: 8.1.5 + resolution: "@types/fs-extra@npm:8.1.5" + dependencies: + "@types/node": "npm:*" + checksum: 10c0/c9f7965bc499a6cc1cadb37a4e9002c0f33810867a0a47a132c4165cbe3b49c6ea52e26c3c38f07720540dd5c470619254c0ef00a2e14a8bf4971ec5d478ba69 + languageName: node + linkType: hard + +"@types/geojson@npm:*": + version: 7946.0.16 + resolution: "@types/geojson@npm:7946.0.16" + checksum: 10c0/1ff24a288bd5860b766b073ead337d31d73bdc715e5b50a2cee5cb0af57a1ed02cc04ef295f5fa68dc40fe3e4f104dd31282b2b818a5ba3231bc1001ba084e3c + languageName: node + linkType: hard + +"@types/google.maps@npm:^3.53.1, @types/google.maps@npm:^3.58.1": + version: 3.65.0 + resolution: "@types/google.maps@npm:3.65.0" + checksum: 10c0/d41bc1ed2c63f297a8956b097953515e87aa21d25ef918102067efa97113ea558bb42be521337af93698b36d4c6283439b3e087b4b57c7033f59128cdc7159cb + languageName: node + linkType: hard + +"@types/history@npm:^4.7.11": + version: 4.7.11 + resolution: "@types/history@npm:4.7.11" + checksum: 10c0/3facf37c2493d1f92b2e93a22cac7ea70b06351c2ab9aaceaa3c56aa6099fb63516f6c4ec1616deb5c56b4093c026a043ea2d3373e6c0644d55710364d02c934 + languageName: node + linkType: hard + +"@types/katex@npm:^0.16.0": + version: 0.16.8 + resolution: "@types/katex@npm:0.16.8" + checksum: 10c0/0661609353f4f5e62bd2dc78da99e842761c6474b19f2268b195bbe9dbf20e6f766a31155d79eec2e7c3eff4e7eba4b30f4f519e9c6a11c75bb45e257a2ddb69 + languageName: node + linkType: hard + +"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0": + version: 25.9.1 + resolution: "@types/node@npm:25.9.1" + dependencies: + undici-types: "npm:>=7.24.0 <7.24.7" + checksum: 10c0/9a04682842bebbcf21a1779dfeab9aa733d7bd7bbc0a0edb641ab3a9a3d43eac543225acf669c334f458f1956443ebc072bc3c72840c543b8b356cab5c82d456 + languageName: node + linkType: hard + +"@types/react-dom@npm:^19.0.0": + version: 19.2.3 + resolution: "@types/react-dom@npm:19.2.3" + peerDependencies: + "@types/react": ^19.2.0 + checksum: 10c0/b486ebe0f4e2fb35e2e108df1d8fc0927ca5d6002d5771e8a739de11239fe62d0e207c50886185253c99eb9dedfeeb956ea7429e5ba17f6693c7acb4c02f8cd1 + languageName: node + linkType: hard + +"@types/react-router-dom@npm:^5.3.3": + version: 5.3.3 + resolution: "@types/react-router-dom@npm:5.3.3" + dependencies: + "@types/history": "npm:^4.7.11" + "@types/react": "npm:*" + "@types/react-router": "npm:*" + checksum: 10c0/a9231a16afb9ed5142678147eafec9d48582809295754fb60946e29fcd3757a4c7a3180fa94b45763e4c7f6e3f02379e2fcb8dd986db479dcab40eff5fc62a91 + languageName: node + linkType: hard + +"@types/react-router@npm:*, @types/react-router@npm:^5.1.20": + version: 5.1.20 + resolution: "@types/react-router@npm:5.1.20" + dependencies: + "@types/history": "npm:^4.7.11" + "@types/react": "npm:*" + checksum: 10c0/1f7eee61981d2f807fa01a34a0ef98ebc0774023832b6611a69c7f28fdff01de5a38cabf399f32e376bf8099dcb7afaf724775bea9d38870224492bea4cb5737 + languageName: node + linkType: hard + +"@types/react@npm:*, @types/react@npm:^19.0.0": + version: 19.2.15 + resolution: "@types/react@npm:19.2.15" + dependencies: + csstype: "npm:^3.2.2" + checksum: 10c0/b554eab715bb14e581f0ae60e5cefe91e1a5e06c31022b543a9806cf224aa056f21e4fb46208e46eb934d86ca0b247ebc82377192a0dead303cb28b8764c6e67 + languageName: node + linkType: hard + +"@types/slice-ansi@npm:^4.0.0": + version: 4.0.0 + resolution: "@types/slice-ansi@npm:4.0.0" + checksum: 10c0/5ea517c6739652029ac13810fe8b3b360e7cca4b2fcf99fc879964c2a4f12f8e6b559dacda5b9f016415f0c14017fd9e2b614ecfe0eb056d68e16b3a04cc48bf + languageName: node + linkType: hard + +"@types/supercluster@npm:^7.1.3": + version: 7.1.3 + resolution: "@types/supercluster@npm:7.1.3" + dependencies: + "@types/geojson": "npm:*" + checksum: 10c0/0d55dad98df0990fc38a7bb64dc23dda46014187c0d7638e6f2b6717ba8931b13e5b1d394789833a2ac822014c977ef64623dffd81a0bbf39e52c53c8183741f + languageName: node + linkType: hard + +"@vitejs/plugin-react@npm:^4.0.1": + version: 4.7.0 + resolution: "@vitejs/plugin-react@npm:4.7.0" + dependencies: + "@babel/core": "npm:^7.28.0" + "@babel/plugin-transform-react-jsx-self": "npm:^7.27.1" + "@babel/plugin-transform-react-jsx-source": "npm:^7.27.1" + "@rolldown/pluginutils": "npm:1.0.0-beta.27" + "@types/babel__core": "npm:^7.20.5" + react-refresh: "npm:^0.17.0" + peerDependencies: + vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 + checksum: 10c0/692f23960972879485d647713663ec299c478222c96567d60285acf7c7dc5c178e71abfe9d2eefddef1eeb01514dacbc2ed68aad84628debf9c7116134734253 + languageName: node + linkType: hard + +"@xmldom/xmldom@npm:^0.9.10": + version: 0.9.10 + resolution: "@xmldom/xmldom@npm:0.9.10" + checksum: 10c0/38a9c9b95450d7fccebc61371c8e0b90ceaae992886484108333d29ccbd2640e3555b6af012f15ce1beb5067aeb40486659b6183fad38af179e82d28028bfc5d + languageName: node + linkType: hard + +"abbrev@npm:^4.0.0": + version: 4.0.0 + resolution: "abbrev@npm:4.0.0" + checksum: 10c0/b4cc16935235e80702fc90192e349e32f8ef0ed151ef506aa78c81a7c455ec18375c4125414b99f84b2e055199d66383e787675f0bcd87da7a4dbd59f9eac1d5 + languageName: node + linkType: hard + +"acorn@npm:^8.15.0": + version: 8.16.0 + resolution: "acorn@npm:8.16.0" + bin: + acorn: bin/acorn + checksum: 10c0/c9c52697227661b68d0debaf972222d4f622aa06b185824164e153438afa7b08273432ca43ea792cadb24dada1d46f6f6bb1ef8de9956979288cc1b96bf9914e + languageName: node + linkType: hard + +"ansi-regex@npm:^5.0.1": + version: 5.0.1 + resolution: "ansi-regex@npm:5.0.1" + checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 + languageName: node + linkType: hard + +"ansi-styles@npm:^4.0.0": + version: 4.3.0 + resolution: "ansi-styles@npm:4.3.0" + dependencies: + color-convert: "npm:^2.0.1" + checksum: 10c0/895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 + languageName: node + linkType: hard + +"app@workspace:.": + version: 0.0.0-use.local + resolution: "app@workspace:." + dependencies: + "@capacitor-firebase/authentication": "npm:^8.0.0" + "@capacitor/android": "npm:8.3.4" + "@capacitor/app": "npm:8.1.0" + "@capacitor/cli": "npm:8.3.4" + "@capacitor/core": "npm:8.3.4" + "@capacitor/google-maps": "npm:^8.0.0" + "@capacitor/haptics": "npm:8.0.2" + "@capacitor/ios": "npm:8.3.4" + "@capacitor/keyboard": "npm:8.0.3" + "@capacitor/push-notifications": "npm:^8.1.1" + "@capacitor/status-bar": "npm:8.0.2" + "@ionic/pwa-elements": "npm:^3.0.0" + "@ionic/react": "npm:^8.5.0" + "@ionic/react-router": "npm:^8.5.0" + "@supabase/supabase-js": "npm:^2.0.0" + "@types/katex": "npm:^0.16.0" + "@types/react": "npm:^19.0.0" + "@types/react-dom": "npm:^19.0.0" + "@types/react-router": "npm:^5.1.20" + "@types/react-router-dom": "npm:^5.3.3" + "@vitejs/plugin-react": "npm:^4.0.1" + firebase: "npm:^11.0.0" + ionicons: "npm:^7.4.0" + katex: "npm:^0.16.0" + react: "npm:18.2.0" + react-dom: "npm:18.2.0" + react-hook-form: "npm:^7.54.0" + react-katex: "npm:^3.0.1" + react-router: "npm:^5.3.4" + react-router-dom: "npm:^5.3.4" + terser: "npm:^5.4.0" + typescript: "npm:~5.9.0" + vite: "npm:^5.0.0" + zod: "npm:^3.24.0" + zustand: "npm:^5.0.0" + languageName: unknown + linkType: soft + +"astral-regex@npm:^2.0.0": + version: 2.0.0 + resolution: "astral-regex@npm:2.0.0" + checksum: 10c0/f63d439cc383db1b9c5c6080d1e240bd14dae745f15d11ec5da863e182bbeca70df6c8191cffef5deba0b566ef98834610a68be79ac6379c95eeb26e1b310e25 + languageName: node + linkType: hard + +"at-least-node@npm:^1.0.0": + version: 1.0.0 + resolution: "at-least-node@npm:1.0.0" + checksum: 10c0/4c058baf6df1bc5a1697cf182e2029c58cd99975288a13f9e70068ef5d6f4e1f1fd7c4d2c3c4912eae44797d1725be9700995736deca441b39f3e66d8dee97ef + languageName: node + linkType: hard + +"balanced-match@npm:^4.0.2": + version: 4.0.4 + resolution: "balanced-match@npm:4.0.4" + checksum: 10c0/07e86102a3eb2ee2a6a1a89164f29d0dbaebd28f2ca3f5ca786f36b8b23d9e417eb3be45a4acf754f837be5ac0a2317de90d3fcb7f4f4dc95720a1f36b26a17b + languageName: node + linkType: hard + +"base64-js@npm:^1.5.1": + version: 1.5.1 + resolution: "base64-js@npm:1.5.1" + checksum: 10c0/f23823513b63173a001030fae4f2dabe283b99a9d324ade3ad3d148e218134676f1ee8568c877cd79ec1c53158dcf2d2ba527a97c606618928ba99dd930102bf + languageName: node + linkType: hard + +"baseline-browser-mapping@npm:^2.10.12": + version: 2.10.31 + resolution: "baseline-browser-mapping@npm:2.10.31" + bin: + baseline-browser-mapping: dist/cli.cjs + checksum: 10c0/ecb6a10b4bb62d8660e3a4c525acdae2b1c7f68e4ec1e03f473b2050781b7131fbd562a200489ae987d11eb8ae85ec95d3ac77d9d84b4afe6548dfdfdceb6734 + languageName: node + linkType: hard + +"big-integer@npm:1.6.x": + version: 1.6.52 + resolution: "big-integer@npm:1.6.52" + checksum: 10c0/9604224b4c2ab3c43c075d92da15863077a9f59e5d4205f4e7e76acd0cd47e8d469ec5e5dba8d9b32aa233951893b29329ca56ac80c20ce094b4a647a66abae0 + languageName: node + linkType: hard + +"bplist-parser@npm:^0.3.2": + version: 0.3.2 + resolution: "bplist-parser@npm:0.3.2" + dependencies: + big-integer: "npm:1.6.x" + checksum: 10c0/4dc307c11d2511a01255e87e370d4ab6f1962b35fdc27605fd4ce9a557a259c2dc9f87822617ddb1f7aa062a71e30ef20d6103329ac7ce235628f637fb0ed763 + languageName: node + linkType: hard + +"brace-expansion@npm:^5.0.5": + version: 5.0.6 + resolution: "brace-expansion@npm:5.0.6" + dependencies: + balanced-match: "npm:^4.0.2" + checksum: 10c0/8c919869b90f61d533b341d3340be5ee4413232ea89b8246cbc2f38eb014f1d8182785c98a006eaf6111d02dc9eeffefdc240d5ac158625b2ed084dccd4bbf9b + languageName: node + linkType: hard + +"browserslist@npm:^4.24.0": + version: 4.28.2 + resolution: "browserslist@npm:4.28.2" + dependencies: + baseline-browser-mapping: "npm:^2.10.12" + caniuse-lite: "npm:^1.0.30001782" + electron-to-chromium: "npm:^1.5.328" + node-releases: "npm:^2.0.36" + update-browserslist-db: "npm:^1.2.3" + bin: + browserslist: cli.js + checksum: 10c0/c0228b6330f785b7fa59d2d360124ec6d9322f96ed9f3ee1f873e33ecc9503a6f0ffc3b71191a28c4ff6e930b753b30043da1c33844a9548f3018d491f09ce60 + languageName: node + linkType: hard + +"buffer-crc32@npm:~0.2.3": + version: 0.2.13 + resolution: "buffer-crc32@npm:0.2.13" + checksum: 10c0/cb0a8ddf5cf4f766466db63279e47761eb825693eeba6a5a95ee4ec8cb8f81ede70aa7f9d8aeec083e781d47154290eb5d4d26b3f7a465ec57fb9e7d59c47150 + languageName: node + linkType: hard + +"buffer-from@npm:^1.0.0": + version: 1.1.2 + resolution: "buffer-from@npm:1.1.2" + checksum: 10c0/124fff9d66d691a86d3b062eff4663fe437a9d9ee4b47b1b9e97f5a5d14f6d5399345db80f796827be7c95e70a8e765dd404b7c3ff3b3324f98e9b0c8826cc34 + languageName: node + linkType: hard + +"caniuse-lite@npm:^1.0.30001782": + version: 1.0.30001793 + resolution: "caniuse-lite@npm:1.0.30001793" + checksum: 10c0/bee8f8b55d1ccdb2076b7355c06fd01916952eadd76b828e4d5fb9ac62d17ec7db0e2b7c326b923478b93526ad1ff74f189cf40c06de0e4a5edbc677009b97fe + languageName: node + linkType: hard + +"chownr@npm:^3.0.0": + version: 3.0.0 + resolution: "chownr@npm:3.0.0" + checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10 + languageName: node + linkType: hard + +"cliui@npm:^8.0.1": + version: 8.0.1 + resolution: "cliui@npm:8.0.1" + dependencies: + string-width: "npm:^4.2.0" + strip-ansi: "npm:^6.0.1" + wrap-ansi: "npm:^7.0.0" + checksum: 10c0/4bda0f09c340cbb6dfdc1ed508b3ca080f12992c18d68c6be4d9cf51756033d5266e61ec57529e610dacbf4da1c634423b0c1b11037709cc6b09045cbd815df5 + languageName: node + linkType: hard + +"color-convert@npm:^2.0.1": + version: 2.0.1 + resolution: "color-convert@npm:2.0.1" + dependencies: + color-name: "npm:~1.1.4" + checksum: 10c0/37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 + languageName: node + linkType: hard + +"color-name@npm:~1.1.4": + version: 1.1.4 + resolution: "color-name@npm:1.1.4" + checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 + languageName: node + linkType: hard + +"commander@npm:^12.1.0": + version: 12.1.0 + resolution: "commander@npm:12.1.0" + checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9 + languageName: node + linkType: hard + +"commander@npm:^2.20.0": + version: 2.20.3 + resolution: "commander@npm:2.20.3" + checksum: 10c0/74c781a5248c2402a0a3e966a0a2bba3c054aad144f5c023364be83265e796b20565aa9feff624132ff629aa64e16999fa40a743c10c12f7c61e96a794b99288 + languageName: node + linkType: hard + +"commander@npm:^8.3.0": + version: 8.3.0 + resolution: "commander@npm:8.3.0" + checksum: 10c0/8b043bb8322ea1c39664a1598a95e0495bfe4ca2fad0d84a92d7d1d8d213e2a155b441d2470c8e08de7c4a28cf2bc6e169211c49e1b21d9f7edc6ae4d9356060 + languageName: node + linkType: hard + +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 10c0/8f2f7a27a1a011cc6cc88cc4da2d7d0cfa5ee0369508baae3d98c260bb3ac520691464e5bbe4ae7cdf09860c1d69ecc6f70c63c6e7c7f7e3f18ec08484dc7d9b + languageName: node + linkType: hard + +"cross-spawn@npm:^7.0.3": + version: 7.0.6 + resolution: "cross-spawn@npm:7.0.6" + dependencies: + path-key: "npm:^3.1.0" + shebang-command: "npm:^2.0.0" + which: "npm:^2.0.1" + checksum: 10c0/053ea8b2135caff68a9e81470e845613e374e7309a47731e81639de3eaeb90c3d01af0e0b44d2ab9d50b43467223b88567dfeb3262db942dc063b9976718ffc1 + languageName: node + linkType: hard + +"csstype@npm:^3.2.2": + version: 3.2.3 + resolution: "csstype@npm:3.2.3" + checksum: 10c0/cd29c51e70fa822f1cecd8641a1445bed7063697469d35633b516e60fe8c1bde04b08f6c5b6022136bb669b64c63d4173af54864510fbb4ee23281801841a3ce + languageName: node + linkType: hard + +"debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.4.0": + version: 4.4.3 + resolution: "debug@npm:4.4.3" + dependencies: + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10c0/d79136ec6c83ecbefd0f6a5593da6a9c91ec4d7ddc4b54c883d6e71ec9accb5f67a1a5e96d00a328196b5b5c86d365e98d8a3a70856aaf16b4e7b1985e67f5a6 + languageName: node + linkType: hard + +"define-lazy-prop@npm:^2.0.0": + version: 2.0.0 + resolution: "define-lazy-prop@npm:2.0.0" + checksum: 10c0/db6c63864a9d3b7dc9def55d52764968a5af296de87c1b2cc71d8be8142e445208071953649e0386a8cc37cfcf9a2067a47207f1eb9ff250c2a269658fdae422 + languageName: node + linkType: hard + +"electron-to-chromium@npm:^1.5.328": + version: 1.5.360 + resolution: "electron-to-chromium@npm:1.5.360" + checksum: 10c0/2f5936e5f3c1483c7fb2f741b109ef7eb4e1761b0fc944bf2898b0835aae235c7b257790edde4679ad780fbcb8be8734caa720a4644526110c77f7216b678233 + languageName: node + linkType: hard + +"elementtree@npm:^0.1.7": + version: 0.1.7 + resolution: "elementtree@npm:0.1.7" + dependencies: + sax: "npm:1.1.4" + checksum: 10c0/669e56d5092382ceaaa2022f3c391b0f6702e47876095b0e00a790181b7f6b5f49fe6e67ebe8339fd6b1b1b66ffe53c87dd47f1e550661ea55722279bf24cad3 + languageName: node + linkType: hard + +"emoji-regex@npm:^8.0.0": + version: 8.0.0 + resolution: "emoji-regex@npm:8.0.0" + checksum: 10c0/b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 + languageName: node + linkType: hard + +"env-paths@npm:^2.2.0": + version: 2.2.1 + resolution: "env-paths@npm:2.2.1" + checksum: 10c0/285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 + languageName: node + linkType: hard + +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 10c0/fa08508adf683c3f399e8a014a6382a6b65542213431e26206c0720e536b31c09b50798747c2a105a4bbba1d9767b8d3615a74c2f7bf1ddf6d836cd11eb672de + languageName: node + linkType: hard + +"escalade@npm:^3.1.1, escalade@npm:^3.2.0": + version: 3.2.0 + resolution: "escalade@npm:3.2.0" + checksum: 10c0/ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 + languageName: node + linkType: hard + +"exponential-backoff@npm:^3.1.1": + version: 3.1.3 + resolution: "exponential-backoff@npm:3.1.3" + checksum: 10c0/77e3ae682b7b1f4972f563c6dbcd2b0d54ac679e62d5d32f3e5085feba20483cf28bd505543f520e287a56d4d55a28d7874299941faf637e779a1aa5994d1267 + languageName: node + linkType: hard + +"fast-equals@npm:^5.2.2": + version: 5.4.0 + resolution: "fast-equals@npm:5.4.0" + checksum: 10c0/4fdce3a8f814e78af7296ca4ebe82f4765074a6dfe557ee98c18f5d2958c3de59025fbff7556d65f250165ccef424d37f9952ee159400f8ebe5f2edb704ec80e + languageName: node + linkType: hard + +"faye-websocket@npm:0.11.4": + version: 0.11.4 + resolution: "faye-websocket@npm:0.11.4" + dependencies: + websocket-driver: "npm:>=0.5.1" + checksum: 10c0/c6052a0bb322778ce9f89af92890f6f4ce00d5ec92418a35e5f4c6864a4fe736fec0bcebd47eac7c0f0e979b01530746b1c85c83cb04bae789271abf19737420 + languageName: node + linkType: hard + +"fd-slicer@npm:~1.1.0": + version: 1.1.0 + resolution: "fd-slicer@npm:1.1.0" + dependencies: + pend: "npm:~1.2.0" + checksum: 10c0/304dd70270298e3ffe3bcc05e6f7ade2511acc278bc52d025f8918b48b6aa3b77f10361bddfadfe2a28163f7af7adbdce96f4d22c31b2f648ba2901f0c5fc20e + languageName: node + linkType: hard + +"fdir@npm:^6.5.0": + version: 6.5.0 + resolution: "fdir@npm:6.5.0" + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + checksum: 10c0/e345083c4306b3aed6cb8ec551e26c36bab5c511e99ea4576a16750ddc8d3240e63826cc624f5ae17ad4dc82e68a253213b60d556c11bfad064b7607847ed07f + languageName: node + linkType: hard + +"firebase@npm:^11.0.0": + version: 11.10.0 + resolution: "firebase@npm:11.10.0" + dependencies: + "@firebase/ai": "npm:1.4.1" + "@firebase/analytics": "npm:0.10.17" + "@firebase/analytics-compat": "npm:0.2.23" + "@firebase/app": "npm:0.13.2" + "@firebase/app-check": "npm:0.10.1" + "@firebase/app-check-compat": "npm:0.3.26" + "@firebase/app-compat": "npm:0.4.2" + "@firebase/app-types": "npm:0.9.3" + "@firebase/auth": "npm:1.10.8" + "@firebase/auth-compat": "npm:0.5.28" + "@firebase/data-connect": "npm:0.3.10" + "@firebase/database": "npm:1.0.20" + "@firebase/database-compat": "npm:2.0.11" + "@firebase/firestore": "npm:4.8.0" + "@firebase/firestore-compat": "npm:0.3.53" + "@firebase/functions": "npm:0.12.9" + "@firebase/functions-compat": "npm:0.3.26" + "@firebase/installations": "npm:0.6.18" + "@firebase/installations-compat": "npm:0.2.18" + "@firebase/messaging": "npm:0.12.22" + "@firebase/messaging-compat": "npm:0.2.22" + "@firebase/performance": "npm:0.7.7" + "@firebase/performance-compat": "npm:0.2.20" + "@firebase/remote-config": "npm:0.6.5" + "@firebase/remote-config-compat": "npm:0.2.18" + "@firebase/storage": "npm:0.13.14" + "@firebase/storage-compat": "npm:0.3.24" + "@firebase/util": "npm:1.12.1" + checksum: 10c0/4a24f5e6e3b557aa0ded1ca208135ef8e733adef7df2c69f9be264203f82a1260e05fe7b9ff508852a9c50c1069b560004dd59dd375f30ae5e41035403777675 + languageName: node + linkType: hard + +"fs-extra@npm:^11.2.0": + version: 11.3.5 + resolution: "fs-extra@npm:11.3.5" + dependencies: + graceful-fs: "npm:^4.2.0" + jsonfile: "npm:^6.0.1" + universalify: "npm:^2.0.0" + checksum: 10c0/33e80bad6b5d17308faa197e5ede99ecba4b6f6cb4aa4645d52745476c75afc57665bdf39ec75b2ebb38b97b7110f634a8dcc0a546e248eb4de059275cf5ac90 + languageName: node + linkType: hard + +"fs-extra@npm:^9.0.0": + version: 9.1.0 + resolution: "fs-extra@npm:9.1.0" + dependencies: + at-least-node: "npm:^1.0.0" + graceful-fs: "npm:^4.2.0" + jsonfile: "npm:^6.0.1" + universalify: "npm:^2.0.0" + checksum: 10c0/9b808bd884beff5cb940773018179a6b94a966381d005479f00adda6b44e5e3d4abf765135773d849cc27efe68c349e4a7b86acd7d3306d5932c14f3a4b17a92 + languageName: node + linkType: hard + +"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" + dependencies: + node-gyp: "npm:latest" + checksum: 10c0/a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60 + conditions: os=darwin + languageName: node + linkType: hard + +"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + dependencies: + node-gyp: "npm:latest" + conditions: os=darwin + languageName: node + linkType: hard + +"gensync@npm:^1.0.0-beta.2": + version: 1.0.0-beta.2 + resolution: "gensync@npm:1.0.0-beta.2" + checksum: 10c0/782aba6cba65b1bb5af3b095d96249d20edbe8df32dbf4696fd49be2583faf676173bf4809386588828e4dd76a3354fcbeb577bab1c833ccd9fc4577f26103f8 + languageName: node + linkType: hard + +"get-caller-file@npm:^2.0.5": + version: 2.0.5 + resolution: "get-caller-file@npm:2.0.5" + checksum: 10c0/c6c7b60271931fa752aeb92f2b47e355eac1af3a2673f47c9589e8f8a41adc74d45551c1bc57b5e66a80609f10ffb72b6f575e4370d61cc3f7f3aaff01757cde + languageName: node + linkType: hard + +"glob@npm:^13.0.3": + version: 13.0.6 + resolution: "glob@npm:13.0.6" + dependencies: + minimatch: "npm:^10.2.2" + minipass: "npm:^7.1.3" + path-scurry: "npm:^2.0.2" + checksum: 10c0/269c236f11a9b50357fe7a8c6aadac667e01deb5242b19c84975628f05f4438d8ee1354bb62c5d6c10f37fd59911b54d7799730633a2786660d8c69f1d18120a + languageName: node + linkType: hard + +"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.6": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 + languageName: node + linkType: hard + +"history@npm:^4.9.0": + version: 4.10.1 + resolution: "history@npm:4.10.1" + dependencies: + "@babel/runtime": "npm:^7.1.2" + loose-envify: "npm:^1.2.0" + resolve-pathname: "npm:^3.0.0" + tiny-invariant: "npm:^1.0.2" + tiny-warning: "npm:^1.0.0" + value-equal: "npm:^1.0.1" + checksum: 10c0/35377694e4f10f2cf056a9cb1a8ee083e04e4b4717a63baeee4afd565658a62c7e73700bf9e82aa53dbe1ec94e0a25a83c080d63bad8ee6b274a98d2fbc5ed4c + languageName: node + linkType: hard + +"hoist-non-react-statics@npm:^3.1.0": + version: 3.3.2 + resolution: "hoist-non-react-statics@npm:3.3.2" + dependencies: + react-is: "npm:^16.7.0" + checksum: 10c0/fe0889169e845d738b59b64badf5e55fa3cf20454f9203d1eb088df322d49d4318df774828e789898dcb280e8a5521bb59b3203385662ca5e9218a6ca5820e74 + languageName: node + linkType: hard + +"http-parser-js@npm:>=0.5.1": + version: 0.5.10 + resolution: "http-parser-js@npm:0.5.10" + checksum: 10c0/8bbcf1832a8d70b2bd515270112116333add88738a2cc05bfb94ba6bde3be4b33efee5611584113818d2bcf654fdc335b652503be5a6b4c0b95e46f214187d93 + languageName: node + linkType: hard + +"iceberg-js@npm:^0.8.1": + version: 0.8.1 + resolution: "iceberg-js@npm:0.8.1" + checksum: 10c0/e504da64cc26e8ad7c5344353a7203c671a740c14eb6086f20505f5e9739cab774493e616032530c962df97f2a855115cc2e89a47dd81581df5917b21a69ec48 + languageName: node + linkType: hard + +"idb@npm:7.1.1": + version: 7.1.1 + resolution: "idb@npm:7.1.1" + checksum: 10c0/72418e4397638797ee2089f97b45fc29f937b830bc0eb4126f4a9889ecf10320ceacf3a177fe5d7ffaf6b4fe38b20bbd210151549bfdc881db8081eed41c870d + languageName: node + linkType: hard + +"inherits@npm:^2.0.3": + version: 2.0.4 + resolution: "inherits@npm:2.0.4" + checksum: 10c0/4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 + languageName: node + linkType: hard + +"ini@npm:^4.1.1": + version: 4.1.3 + resolution: "ini@npm:4.1.3" + checksum: 10c0/0d27eff094d5f3899dd7c00d0c04ea733ca03a8eb6f9406ce15daac1a81de022cb417d6eaff7e4342451ffa663389c565ffc68d6825eaf686bf003280b945764 + languageName: node + linkType: hard + +"ionicons@npm:^7.4.0": + version: 7.4.0 + resolution: "ionicons@npm:7.4.0" + dependencies: + "@stencil/core": "npm:^4.0.3" + checksum: 10c0/0f0e9b5a390514e864f098fbc6b69823fa2cde1758d0e43ca6a9a3b19d3a15b595c913e5a4445945bbbf779454c710fd101edb00f5f1a658dafd9073cc10b0b6 + languageName: node + linkType: hard + +"ionicons@npm:^8.0.13": + version: 8.0.13 + resolution: "ionicons@npm:8.0.13" + dependencies: + "@stencil/core": "npm:^4.35.3" + checksum: 10c0/4f12586359ed5d68dafff0440ff7ca4c195bdea5fff1f9fa4626add1e4fcea78a862db87c20930199f93817737695425b319aede65ef2111cf0191cdc346ce80 + languageName: node + linkType: hard + +"is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": + version: 2.2.1 + resolution: "is-docker@npm:2.2.1" + bin: + is-docker: cli.js + checksum: 10c0/e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc + languageName: node + linkType: hard + +"is-fullwidth-code-point@npm:^3.0.0": + version: 3.0.0 + resolution: "is-fullwidth-code-point@npm:3.0.0" + checksum: 10c0/bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc + languageName: node + linkType: hard + +"is-wsl@npm:^2.2.0": + version: 2.2.0 + resolution: "is-wsl@npm:2.2.0" + dependencies: + is-docker: "npm:^2.0.0" + checksum: 10c0/a6fa2d370d21be487c0165c7a440d567274fbba1a817f2f0bfa41cc5e3af25041d84267baa22df66696956038a43973e72fca117918c91431920bdef490fa25e + languageName: node + linkType: hard + +"isarray@npm:0.0.1": + version: 0.0.1 + resolution: "isarray@npm:0.0.1" + checksum: 10c0/ed1e62da617f71fe348907c71743b5ed550448b455f8d269f89a7c7ddb8ae6e962de3dab6a74a237b06f5eb7f6ece7a45ada8ce96d87fe972926530f91ae3311 + languageName: node + linkType: hard + +"isexe@npm:^2.0.0": + version: 2.0.0 + resolution: "isexe@npm:2.0.0" + checksum: 10c0/228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d + languageName: node + linkType: hard + +"isexe@npm:^4.0.0": + version: 4.0.0 + resolution: "isexe@npm:4.0.0" + checksum: 10c0/5884815115bceac452877659a9c7726382531592f43dc29e5d48b7c4100661aed54018cb90bd36cb2eaeba521092570769167acbb95c18d39afdccbcca06c5ce + languageName: node + linkType: hard + +"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": + version: 4.0.0 + resolution: "js-tokens@npm:4.0.0" + checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed + languageName: node + linkType: hard + +"jsesc@npm:^3.0.2": + version: 3.1.0 + resolution: "jsesc@npm:3.1.0" + bin: + jsesc: bin/jsesc + checksum: 10c0/531779df5ec94f47e462da26b4cbf05eb88a83d9f08aac2ba04206508fc598527a153d08bd462bae82fc78b3eaa1a908e1a4a79f886e9238641c4cdefaf118b1 + languageName: node + linkType: hard + +"json5@npm:^2.2.3": + version: 2.2.3 + resolution: "json5@npm:2.2.3" + bin: + json5: lib/cli.js + checksum: 10c0/5a04eed94810fa55c5ea138b2f7a5c12b97c3750bc63d11e511dcecbfef758003861522a070c2272764ee0f4e3e323862f386945aeb5b85b87ee43f084ba586c + languageName: node + linkType: hard + +"jsonfile@npm:^6.0.1": + version: 6.2.1 + resolution: "jsonfile@npm:6.2.1" + dependencies: + graceful-fs: "npm:^4.1.6" + universalify: "npm:^2.0.0" + dependenciesMeta: + graceful-fs: + optional: true + checksum: 10c0/e1abf000ecee9942d4d028a8e02dc752617face227d72afd1cfb2187e2433079e625bf82b807a313689db71b6472c6b2b389a2340d2798737b1199a39631c28a + languageName: node + linkType: hard + +"katex@npm:^0.16.0": + version: 0.16.47 + resolution: "katex@npm:0.16.47" + dependencies: + commander: "npm:^8.3.0" + bin: + katex: cli.js + checksum: 10c0/b10f4d0651c60771a48444879e4227255e26e2b2ec061b1ee4b08934863ad2324ba8dbb772455f7768aeb14dfcc13bcd309174a0ddd5ef954a607f644a197710 + languageName: node + linkType: hard + +"kdbush@npm:^4.0.2": + version: 4.1.0 + resolution: "kdbush@npm:4.1.0" + checksum: 10c0/b47c8a27de438df1e60080f73e3793217b4542a62bed7f07c8c29b0bf53359bbdba1e97305e396f7f4d28f98e31ce3fd21500dc3de03a44d8cda71a3d70ff7bb + languageName: node + linkType: hard + +"kleur@npm:^3.0.3": + version: 3.0.3 + resolution: "kleur@npm:3.0.3" + checksum: 10c0/cd3a0b8878e7d6d3799e54340efe3591ca787d9f95f109f28129bdd2915e37807bf8918bb295ab86afb8c82196beec5a1adcaf29042ce3f2bd932b038fe3aa4b + languageName: node + linkType: hard + +"kleur@npm:^4.1.5": + version: 4.1.5 + resolution: "kleur@npm:4.1.5" + checksum: 10c0/e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a + languageName: node + linkType: hard + +"lodash.camelcase@npm:^4.3.0": + version: 4.3.0 + resolution: "lodash.camelcase@npm:4.3.0" + checksum: 10c0/fcba15d21a458076dd309fce6b1b4bf611d84a0ec252cb92447c948c533ac250b95d2e00955801ebc367e5af5ed288b996d75d37d2035260a937008e14eaf432 + languageName: node + linkType: hard + +"long@npm:^5.0.0, long@npm:^5.3.2": + version: 5.3.2 + resolution: "long@npm:5.3.2" + checksum: 10c0/7130fe1cbce2dca06734b35b70d380ca3f70271c7f8852c922a7c62c86c4e35f0c39290565eca7133c625908d40e126ac57c02b1b1a4636b9457d77e1e60b981 + languageName: node + linkType: hard + +"loose-envify@npm:^1.1.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": + version: 1.4.0 + resolution: "loose-envify@npm:1.4.0" + dependencies: + js-tokens: "npm:^3.0.0 || ^4.0.0" + bin: + loose-envify: cli.js + checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e + languageName: node + linkType: hard + +"lru-cache@npm:^11.0.0": + version: 11.5.0 + resolution: "lru-cache@npm:11.5.0" + checksum: 10c0/b92c2a7518128dec6b244bf3eb9fd79964d316cdeb12865ebfc2cebb4dfe9b24e3767a3923d71e6eb735f56b557fc55f08f150a53097d7805afb628c90158df4 + languageName: node + linkType: hard + +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: "npm:^3.0.2" + checksum: 10c0/89b2ef2ef45f543011e38737b8a8622a2f8998cddf0e5437174ef8f1f70a8b9d14a918ab3e232cb3ba343b7abddffa667f0b59075b2b80e6b4d63c3de6127482 + languageName: node + linkType: hard + +"minimatch@npm:^10.2.2": + version: 10.2.5 + resolution: "minimatch@npm:10.2.5" + dependencies: + brace-expansion: "npm:^5.0.5" + checksum: 10c0/6bb058bd6324104b9ec2f763476a35386d05079c1f5fe4fbf1f324a25237cd4534d6813ecd71f48208f4e635c1221899bef94c3c89f7df55698fe373aaae20fd + languageName: node + linkType: hard + +"minipass@npm:^7.0.4, minipass@npm:^7.1.2, minipass@npm:^7.1.3": + version: 7.1.3 + resolution: "minipass@npm:7.1.3" + checksum: 10c0/539da88daca16533211ea5a9ee98dc62ff5742f531f54640dd34429e621955e91cc280a91a776026264b7f9f6735947629f920944e9c1558369e8bf22eb33fbb + languageName: node + linkType: hard + +"minizlib@npm:^3.1.0": + version: 3.1.0 + resolution: "minizlib@npm:3.1.0" + dependencies: + minipass: "npm:^7.1.2" + checksum: 10c0/5aad75ab0090b8266069c9aabe582c021ae53eb33c6c691054a13a45db3b4f91a7fb1bd79151e6b4e9e9a86727b522527c0a06ec7d45206b745d54cd3097bcec + languageName: node + linkType: hard + +"ms@npm:^2.1.3": + version: 2.1.3 + resolution: "ms@npm:2.1.3" + checksum: 10c0/d924b57e7312b3b63ad21fc5b3dc0af5e78d61a1fc7cfb5457edaf26326bf62be5307cc87ffb6862ef1c2b33b0233cdb5d4f01c4c958cc0d660948b65a287a48 + languageName: node + linkType: hard + +"nanoid@npm:^3.3.12": + version: 3.3.12 + resolution: "nanoid@npm:3.3.12" + bin: + nanoid: bin/nanoid.cjs + checksum: 10c0/ba142b7b39e11e80c16dd74b0365d407880c87c1cf7e1480956981ae940ee36060fa5b6f092cd1e315184dd19244c657bd017d03327bd3c62247d691c5e8edfb + languageName: node + linkType: hard + +"native-run@npm:^2.0.3": + version: 2.0.3 + resolution: "native-run@npm:2.0.3" + dependencies: + "@ionic/utils-fs": "npm:^3.1.7" + "@ionic/utils-terminal": "npm:^2.3.4" + bplist-parser: "npm:^0.3.2" + debug: "npm:^4.3.4" + elementtree: "npm:^0.1.7" + ini: "npm:^4.1.1" + plist: "npm:^3.1.0" + split2: "npm:^4.2.0" + through2: "npm:^4.0.2" + tslib: "npm:^2.6.2" + yauzl: "npm:^2.10.0" + bin: + native-run: bin/native-run + checksum: 10c0/ce7e4fccca1f3dce3a4c5c8ceca5ad84dde66eda5c912311990c7c4cf8bfade607d8ea4707349cbe309bba151e779dc1a1f8428b7ebbc114ada4e8f08d717d6b + languageName: node + linkType: hard + +"node-gyp@npm:latest": + version: 12.3.0 + resolution: "node-gyp@npm:12.3.0" + dependencies: + env-paths: "npm:^2.2.0" + exponential-backoff: "npm:^3.1.1" + graceful-fs: "npm:^4.2.6" + nopt: "npm:^9.0.0" + proc-log: "npm:^6.0.0" + semver: "npm:^7.3.5" + tar: "npm:^7.5.4" + tinyglobby: "npm:^0.2.12" + undici: "npm:^6.25.0" + which: "npm:^6.0.0" + bin: + node-gyp: bin/node-gyp.js + checksum: 10c0/9d9032b405cbe42f72a105259d9eb679376470c102df4a2dbaa51e07d59bf741dcffb85897087ea9d8318b9cabb824a8978af51508ae142f0239ae1e6a3c2329 + languageName: node + linkType: hard + +"node-releases@npm:^2.0.36": + version: 2.0.44 + resolution: "node-releases@npm:2.0.44" + checksum: 10c0/004337ee9c0c455e81fdfc85cc8a585e89932d28338cd35a4ddba21ef2b68ff20cf06097544e7859c1868579d8529ed230802b127be5357c153e267079e8d851 + languageName: node + linkType: hard + +"nopt@npm:^9.0.0": + version: 9.0.0 + resolution: "nopt@npm:9.0.0" + dependencies: + abbrev: "npm:^4.0.0" + bin: + nopt: bin/nopt.js + checksum: 10c0/1822eb6f9b020ef6f7a7516d7b64a8036e09666ea55ac40416c36e4b2b343122c3cff0e2f085675f53de1d2db99a2a89a60ccea1d120bcd6a5347bf6ceb4a7fd + languageName: node + linkType: hard + +"object-assign@npm:^4.1.1": + version: 4.1.1 + resolution: "object-assign@npm:4.1.1" + checksum: 10c0/1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414 + languageName: node + linkType: hard + +"open@npm:^8.4.0": + version: 8.4.2 + resolution: "open@npm:8.4.2" + dependencies: + define-lazy-prop: "npm:^2.0.0" + is-docker: "npm:^2.1.1" + is-wsl: "npm:^2.2.0" + checksum: 10c0/bb6b3a58401dacdb0aad14360626faf3fb7fba4b77816b373495988b724fb48941cad80c1b65d62bb31a17609b2cd91c41a181602caea597ca80dfbcc27e84c9 + languageName: node + linkType: hard + +"package-json-from-dist@npm:^1.0.1": + version: 1.0.1 + resolution: "package-json-from-dist@npm:1.0.1" + checksum: 10c0/62ba2785eb655fec084a257af34dbe24292ab74516d6aecef97ef72d4897310bc6898f6c85b5cd22770eaa1ce60d55a0230e150fb6a966e3ecd6c511e23d164b + languageName: node + linkType: hard + +"path-key@npm:^3.1.0": + version: 3.1.1 + resolution: "path-key@npm:3.1.1" + checksum: 10c0/748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c + languageName: node + linkType: hard + +"path-scurry@npm:^2.0.2": + version: 2.0.2 + resolution: "path-scurry@npm:2.0.2" + dependencies: + lru-cache: "npm:^11.0.0" + minipass: "npm:^7.1.2" + checksum: 10c0/b35ad37cf6557a87fd057121ce2be7695380c9138d93e87ae928609da259ea0a170fac6f3ef1eb3ece8a068e8b7f2f3adf5bb2374cf4d4a57fe484954fcc9482 + languageName: node + linkType: hard + +"path-to-regexp@npm:^1.7.0": + version: 1.9.0 + resolution: "path-to-regexp@npm:1.9.0" + dependencies: + isarray: "npm:0.0.1" + checksum: 10c0/de9ddb01b84d9c2c8e2bed18630d8d039e2d6f60a6538595750fa08c7a6482512257464c8da50616f266ab2cdd2428387e85f3b089e4c3f25d0c537e898a0751 + languageName: node + linkType: hard + +"pend@npm:~1.2.0": + version: 1.2.0 + resolution: "pend@npm:1.2.0" + checksum: 10c0/8a87e63f7a4afcfb0f9f77b39bb92374afc723418b9cb716ee4257689224171002e07768eeade4ecd0e86f1fa3d8f022994219fb45634f2dbd78c6803e452458 + languageName: node + linkType: hard + +"picocolors@npm:^1.1.1": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 + languageName: node + linkType: hard + +"picomatch@npm:^4.0.4": + version: 4.0.4 + resolution: "picomatch@npm:4.0.4" + checksum: 10c0/e2c6023372cc7b5764719a5ffb9da0f8e781212fa7ca4bd0562db929df8e117460f00dff3cb7509dacfc06b86de924b247f504d0ce1806a37fac4633081466b0 + languageName: node + linkType: hard + +"plist@npm:^3.1.0": + version: 3.1.1 + resolution: "plist@npm:3.1.1" + dependencies: + "@xmldom/xmldom": "npm:^0.9.10" + base64-js: "npm:^1.5.1" + xmlbuilder: "npm:^15.1.1" + checksum: 10c0/af681277c2e541c6aab0ddee57f59459c43beeea1ee7aa2d4218aa39595fb41c068e2d2be3e4abb17e3252eaf2c1b806ecfb1d402fa5a3f4a6e1a7a32c880c9a + languageName: node + linkType: hard + +"postcss@npm:^8.4.43": + version: 8.5.15 + resolution: "postcss@npm:8.5.15" + dependencies: + nanoid: "npm:^3.3.12" + picocolors: "npm:^1.1.1" + source-map-js: "npm:^1.2.1" + checksum: 10c0/7f2e63ae22fbe43aace1bf652bd99da4e90737c64194d49e51ddc9cd0f9e51ff2861a7d734379b494deffa03a880a5c65eec70bc29ee9ebaa7136dde3eee8f31 + languageName: node + linkType: hard + +"proc-log@npm:^6.0.0": + version: 6.1.0 + resolution: "proc-log@npm:6.1.0" + checksum: 10c0/4f178d4062733ead9d71a9b1ab24ebcecdfe2250916a5b1555f04fe2eda972a0ec76fbaa8df1ad9c02707add6749219d118a4fc46dc56bdfe4dde4b47d80bb82 + languageName: node + linkType: hard + +"prompts@npm:^2.4.2": + version: 2.4.2 + resolution: "prompts@npm:2.4.2" + dependencies: + kleur: "npm:^3.0.3" + sisteransi: "npm:^1.0.5" + checksum: 10c0/16f1ac2977b19fe2cf53f8411cc98db7a3c8b115c479b2ca5c82b5527cd937aa405fa04f9a5960abeb9daef53191b53b4d13e35c1f5d50e8718c76917c5f1ea4 + languageName: node + linkType: hard + +"prop-types@npm:^15.6.2": + version: 15.8.1 + resolution: "prop-types@npm:15.8.1" + dependencies: + loose-envify: "npm:^1.4.0" + object-assign: "npm:^4.1.1" + react-is: "npm:^16.13.1" + checksum: 10c0/59ece7ca2fb9838031d73a48d4becb9a7cc1ed10e610517c7d8f19a1e02fa47f7c27d557d8a5702bec3cfeccddc853579832b43f449e54635803f277b1c78077 + languageName: node + linkType: hard + +"protobufjs@npm:^7.2.5": + version: 7.6.1 + resolution: "protobufjs@npm:7.6.1" + dependencies: + "@protobufjs/aspromise": "npm:^1.1.2" + "@protobufjs/base64": "npm:^1.1.2" + "@protobufjs/codegen": "npm:^2.0.5" + "@protobufjs/eventemitter": "npm:^1.1.1" + "@protobufjs/fetch": "npm:^1.1.1" + "@protobufjs/float": "npm:^1.0.2" + "@protobufjs/inquire": "npm:^1.1.2" + "@protobufjs/path": "npm:^1.1.2" + "@protobufjs/pool": "npm:^1.1.0" + "@protobufjs/utf8": "npm:^1.1.1" + "@types/node": "npm:>=13.7.0" + long: "npm:^5.3.2" + checksum: 10c0/364c6914facac19ace915e353f71c5d5996bfa8177a3a68c09bd2513a3ecf780538aca06cb3439237f50489db2fae321c4a4db60fd7f9ec65315b7ad66bea029 + languageName: node + linkType: hard + +"react-dom@npm:18.2.0": + version: 18.2.0 + resolution: "react-dom@npm:18.2.0" + dependencies: + loose-envify: "npm:^1.1.0" + scheduler: "npm:^0.23.0" + peerDependencies: + react: ^18.2.0 + checksum: 10c0/66dfc5f93e13d0674e78ef41f92ed21dfb80f9c4ac4ac25a4b51046d41d4d2186abc915b897f69d3d0ebbffe6184e7c5876f2af26bfa956f179225d921be713a + languageName: node + linkType: hard + +"react-hook-form@npm:^7.54.0": + version: 7.76.1 + resolution: "react-hook-form@npm:7.76.1" + peerDependencies: + react: ^16.8.0 || ^17 || ^18 || ^19 + checksum: 10c0/77b502ffc76a99527093cc67205baf3462ac4b4d8699ba3f45f2efa53f0678dfe8c19aea284a6bdb25f4c598464615e6b9567fc8c194e220313aa9f3e48c6da7 + languageName: node + linkType: hard + +"react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0": + version: 16.13.1 + resolution: "react-is@npm:16.13.1" + checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1 + languageName: node + linkType: hard + +"react-katex@npm:^3.0.1": + version: 3.1.0 + resolution: "react-katex@npm:3.1.0" + dependencies: + katex: "npm:^0.16.0" + peerDependencies: + prop-types: ^15.8.1 + react: ">=15.3.2 <20" + checksum: 10c0/a61eb2c19a2dc384ad5864a27af66f40c504643f984150f4e270373df88293c2586779b53b2ee7ee4e75076f3c5284b36f425bbc1021d164ccb2997d11d8678f + languageName: node + linkType: hard + +"react-refresh@npm:^0.17.0": + version: 0.17.0 + resolution: "react-refresh@npm:0.17.0" + checksum: 10c0/002cba940384c9930008c0bce26cac97a9d5682bc623112c2268ba0c155127d9c178a9a5cc2212d560088d60dfd503edd808669a25f9b377f316a32361d0b23c + languageName: node + linkType: hard + +"react-router-dom@npm:^5.3.4": + version: 5.3.4 + resolution: "react-router-dom@npm:5.3.4" + dependencies: + "@babel/runtime": "npm:^7.12.13" + history: "npm:^4.9.0" + loose-envify: "npm:^1.3.1" + prop-types: "npm:^15.6.2" + react-router: "npm:5.3.4" + tiny-invariant: "npm:^1.0.2" + tiny-warning: "npm:^1.0.0" + peerDependencies: + react: ">=15" + checksum: 10c0/f04f727e2ed2e9d1d3830af02cc61690ff67b1524c0d18690582bfba0f4d14142ccc88fb6da6befad644fddf086f5ae4c2eb7048c67da8a0b0929c19426421b0 + languageName: node + linkType: hard + +"react-router@npm:5.3.4, react-router@npm:^5.3.4": + version: 5.3.4 + resolution: "react-router@npm:5.3.4" + dependencies: + "@babel/runtime": "npm:^7.12.13" + history: "npm:^4.9.0" + hoist-non-react-statics: "npm:^3.1.0" + loose-envify: "npm:^1.3.1" + path-to-regexp: "npm:^1.7.0" + prop-types: "npm:^15.6.2" + react-is: "npm:^16.6.0" + tiny-invariant: "npm:^1.0.2" + tiny-warning: "npm:^1.0.0" + peerDependencies: + react: ">=15" + checksum: 10c0/e15c00dfef199249b4c6e6d98e5e76cc352ce66f3270f13df37cc069ddf7c05e43281e8c308fc407e4435d72924373baef1d2890e0f6b0b1eb423cf47315a053 + languageName: node + linkType: hard + +"react@npm:18.2.0": + version: 18.2.0 + resolution: "react@npm:18.2.0" + dependencies: + loose-envify: "npm:^1.1.0" + checksum: 10c0/b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8 + languageName: node + linkType: hard + +"readable-stream@npm:3": + version: 3.6.2 + resolution: "readable-stream@npm:3.6.2" + dependencies: + inherits: "npm:^2.0.3" + string_decoder: "npm:^1.1.1" + util-deprecate: "npm:^1.0.1" + checksum: 10c0/e37be5c79c376fdd088a45fa31ea2e423e5d48854be7a22a58869b4e84d25047b193f6acb54f1012331e1bcd667ffb569c01b99d36b0bd59658fb33f513511b7 + languageName: node + linkType: hard + +"require-directory@npm:^2.1.1": + version: 2.1.1 + resolution: "require-directory@npm:2.1.1" + checksum: 10c0/83aa76a7bc1531f68d92c75a2ca2f54f1b01463cb566cf3fbc787d0de8be30c9dbc211d1d46be3497dac5785fe296f2dd11d531945ac29730643357978966e99 + languageName: node + linkType: hard + +"resolve-pathname@npm:^3.0.0": + version: 3.0.0 + resolution: "resolve-pathname@npm:3.0.0" + checksum: 10c0/c6ec49b670dc35b9a303c47fa83ba9348a71e92d64a4c4bb85e1b659a29b407aa1ac1cb14a9b5b502982132ca77482bd80534bca147439d66880d35a137fe723 + languageName: node + linkType: hard + +"rimraf@npm:^6.0.1": + version: 6.1.3 + resolution: "rimraf@npm:6.1.3" + dependencies: + glob: "npm:^13.0.3" + package-json-from-dist: "npm:^1.0.1" + bin: + rimraf: dist/esm/bin.mjs + checksum: 10c0/4a56537850102e20ba5d5eb49f366b4b7b2435389734b4b8480cf0e0eb0f6f5d0c44120a171aeb0d8f9ab40312a10d2262f3f50acbad803e32caef61b6cf86fc + languageName: node + linkType: hard + +"rollup@npm:^4.20.0": + version: 4.60.4 + resolution: "rollup@npm:4.60.4" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.60.4" + "@rollup/rollup-android-arm64": "npm:4.60.4" + "@rollup/rollup-darwin-arm64": "npm:4.60.4" + "@rollup/rollup-darwin-x64": "npm:4.60.4" + "@rollup/rollup-freebsd-arm64": "npm:4.60.4" + "@rollup/rollup-freebsd-x64": "npm:4.60.4" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.60.4" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.60.4" + "@rollup/rollup-linux-arm64-gnu": "npm:4.60.4" + "@rollup/rollup-linux-arm64-musl": "npm:4.60.4" + "@rollup/rollup-linux-loong64-gnu": "npm:4.60.4" + "@rollup/rollup-linux-loong64-musl": "npm:4.60.4" + "@rollup/rollup-linux-ppc64-gnu": "npm:4.60.4" + "@rollup/rollup-linux-ppc64-musl": "npm:4.60.4" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.60.4" + "@rollup/rollup-linux-riscv64-musl": "npm:4.60.4" + "@rollup/rollup-linux-s390x-gnu": "npm:4.60.4" + "@rollup/rollup-linux-x64-gnu": "npm:4.60.4" + "@rollup/rollup-linux-x64-musl": "npm:4.60.4" + "@rollup/rollup-openbsd-x64": "npm:4.60.4" + "@rollup/rollup-openharmony-arm64": "npm:4.60.4" + "@rollup/rollup-win32-arm64-msvc": "npm:4.60.4" + "@rollup/rollup-win32-ia32-msvc": "npm:4.60.4" + "@rollup/rollup-win32-x64-gnu": "npm:4.60.4" + "@rollup/rollup-win32-x64-msvc": "npm:4.60.4" + "@types/estree": "npm:1.0.8" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-loong64-gnu": + optional: true + "@rollup/rollup-linux-loong64-musl": + optional: true + "@rollup/rollup-linux-ppc64-gnu": + optional: true + "@rollup/rollup-linux-ppc64-musl": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-riscv64-musl": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-openbsd-x64": + optional: true + "@rollup/rollup-openharmony-arm64": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-gnu": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 10c0/2734511579da220408eefb877b51281767d790652cee25da8fcd4936c947e3db14882b5edb1d0d5d5bf60f2a71a58ae7d5f7f46c11e3fdf33182538953886243 + languageName: node + linkType: hard + +"safe-buffer@npm:>=5.1.0, safe-buffer@npm:~5.2.0": + version: 5.2.1 + resolution: "safe-buffer@npm:5.2.1" + checksum: 10c0/6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3 + languageName: node + linkType: hard + +"sax@npm:1.1.4": + version: 1.1.4 + resolution: "sax@npm:1.1.4" + checksum: 10c0/805371d5c326f48e6b180e059315d9e97be8e38620538bc7d5debb05c1b2f6ffc14c5f26a50688d5e61a79949e2c8ff2781410de6718d3323137ae7e7a32cbe5 + languageName: node + linkType: hard + +"sax@npm:>=0.6.0": + version: 1.6.0 + resolution: "sax@npm:1.6.0" + checksum: 10c0/e5593f4a91eb25761a688c4d96902e4e95a0dd6017bc65146b6f21236e3d715cf893333b76bc758923c9574c2fb5a7a76c3a81e96ea15432f2624f906c027c1e + languageName: node + linkType: hard + +"scheduler@npm:^0.23.0": + version: 0.23.2 + resolution: "scheduler@npm:0.23.2" + dependencies: + loose-envify: "npm:^1.1.0" + checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 + languageName: node + linkType: hard + +"semver@npm:^6.3.1": + version: 6.3.1 + resolution: "semver@npm:6.3.1" + bin: + semver: bin/semver.js + checksum: 10c0/e3d79b609071caa78bcb6ce2ad81c7966a46a7431d9d58b8800cfa9cb6a63699b3899a0e4bcce36167a284578212d9ae6942b6929ba4aa5015c079a67751d42d + languageName: node + linkType: hard + +"semver@npm:^7.3.5, semver@npm:^7.6.3": + version: 7.8.0 + resolution: "semver@npm:7.8.0" + bin: + semver: bin/semver.js + checksum: 10c0/8f096ca9b80ffd47b308d03f9ce8c873e27e2983f36023c559cdc92c51e8433fc23ebbfe57ec9623fc155636a6961ee989501099841ae4bb1babc8d2b3f048cd + languageName: node + linkType: hard + +"shebang-command@npm:^2.0.0": + version: 2.0.0 + resolution: "shebang-command@npm:2.0.0" + dependencies: + shebang-regex: "npm:^3.0.0" + checksum: 10c0/a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e + languageName: node + linkType: hard + +"shebang-regex@npm:^3.0.0": + version: 3.0.0 + resolution: "shebang-regex@npm:3.0.0" + checksum: 10c0/1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 + languageName: node + linkType: hard + +"signal-exit@npm:^3.0.3": + version: 3.0.7 + resolution: "signal-exit@npm:3.0.7" + checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 + languageName: node + linkType: hard + +"sisteransi@npm:^1.0.5": + version: 1.0.5 + resolution: "sisteransi@npm:1.0.5" + checksum: 10c0/230ac975cca485b7f6fe2b96a711aa62a6a26ead3e6fb8ba17c5a00d61b8bed0d7adc21f5626b70d7c33c62ff4e63933017a6462942c719d1980bb0b1207ad46 + languageName: node + linkType: hard + +"slice-ansi@npm:^4.0.0": + version: 4.0.0 + resolution: "slice-ansi@npm:4.0.0" + dependencies: + ansi-styles: "npm:^4.0.0" + astral-regex: "npm:^2.0.0" + is-fullwidth-code-point: "npm:^3.0.0" + checksum: 10c0/6c25678db1270d4793e0327620f1e0f9f5bea4630123f51e9e399191bc52c87d6e6de53ed33538609e5eacbd1fab769fae00f3705d08d029f02102a540648918 + languageName: node + linkType: hard + +"source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf + languageName: node + linkType: hard + +"source-map-support@npm:~0.5.20": + version: 0.5.21 + resolution: "source-map-support@npm:0.5.21" + dependencies: + buffer-from: "npm:^1.0.0" + source-map: "npm:^0.6.0" + checksum: 10c0/9ee09942f415e0f721d6daad3917ec1516af746a8120bba7bb56278707a37f1eb8642bde456e98454b8a885023af81a16e646869975f06afc1a711fb90484e7d + languageName: node + linkType: hard + +"source-map@npm:^0.6.0": + version: 0.6.1 + resolution: "source-map@npm:0.6.1" + checksum: 10c0/ab55398007c5e5532957cb0beee2368529618ac0ab372d789806f5718123cc4367d57de3904b4e6a4170eb5a0b0f41373066d02ca0735a0c4d75c7d328d3e011 + languageName: node + linkType: hard + +"split2@npm:^4.2.0": + version: 4.2.0 + resolution: "split2@npm:4.2.0" + checksum: 10c0/b292beb8ce9215f8c642bb68be6249c5a4c7f332fc8ecadae7be5cbdf1ea95addc95f0459ef2e7ad9d45fd1064698a097e4eb211c83e772b49bc0ee423e91534 + languageName: node + linkType: hard + +"string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": + version: 4.2.3 + resolution: "string-width@npm:4.2.3" + dependencies: + emoji-regex: "npm:^8.0.0" + is-fullwidth-code-point: "npm:^3.0.0" + strip-ansi: "npm:^6.0.1" + checksum: 10c0/1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b + languageName: node + linkType: hard + +"string_decoder@npm:^1.1.1": + version: 1.3.0 + resolution: "string_decoder@npm:1.3.0" + dependencies: + safe-buffer: "npm:~5.2.0" + checksum: 10c0/810614ddb030e271cd591935dcd5956b2410dd079d64ff92a1844d6b7588bf992b3e1b69b0f4d34a3e06e0bd73046ac646b5264c1987b20d0601f81ef35d731d + languageName: node + linkType: hard + +"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: "npm:^5.0.1" + checksum: 10c0/1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 + languageName: node + linkType: hard + +"supercluster@npm:^8.0.1": + version: 8.0.1 + resolution: "supercluster@npm:8.0.1" + dependencies: + kdbush: "npm:^4.0.2" + checksum: 10c0/79121e6dbff67b3036ea6651f3baddb942478830ba3ecbc27455715ab5bd269de8381dc04618c0c15963346ea2ed0f81cd5f767c2978a63e2841807c73445d57 + languageName: node + linkType: hard + +"tar@npm:^7.5.3, tar@npm:^7.5.4": + version: 7.5.15 + resolution: "tar@npm:7.5.15" + dependencies: + "@isaacs/fs-minipass": "npm:^4.0.0" + chownr: "npm:^3.0.0" + minipass: "npm:^7.1.2" + minizlib: "npm:^3.1.0" + yallist: "npm:^5.0.0" + checksum: 10c0/8f039edb1d12fdd7df6c6f9877d125afe9f3da3f5f9317df326fdd090d48793d6998cede1506a1471f3e3a250db270a89dace28005eb5e99c5a9132d704ac956 + languageName: node + linkType: hard + +"terser@npm:^5.4.0": + version: 5.47.1 + resolution: "terser@npm:5.47.1" + dependencies: + "@jridgewell/source-map": "npm:^0.3.3" + acorn: "npm:^8.15.0" + commander: "npm:^2.20.0" + source-map-support: "npm:~0.5.20" + bin: + terser: bin/terser + checksum: 10c0/e7017001aff657b8eb444edb4c4ad2425b90c141c5329f06b1939161f38884622972ec7b12d197207229c8079d24d20bf44be93852f735fe3bb4b32d80775775 + languageName: node + linkType: hard + +"through2@npm:^4.0.2": + version: 4.0.2 + resolution: "through2@npm:4.0.2" + dependencies: + readable-stream: "npm:3" + checksum: 10c0/3741564ae99990a4a79097fe7a4152c22348adc4faf2df9199a07a66c81ed2011da39f631e479fdc56483996a9d34a037ad64e76d79f18c782ab178ea9b6778c + languageName: node + linkType: hard + +"tiny-invariant@npm:^1.0.2": + version: 1.3.3 + resolution: "tiny-invariant@npm:1.3.3" + checksum: 10c0/65af4a07324b591a059b35269cd696aba21bef2107f29b9f5894d83cc143159a204b299553435b03874ebb5b94d019afa8b8eff241c8a4cfee95872c2e1c1c4a + languageName: node + linkType: hard + +"tiny-warning@npm:^1.0.0": + version: 1.0.3 + resolution: "tiny-warning@npm:1.0.3" + checksum: 10c0/ef8531f581b30342f29670cb41ca248001c6fd7975ce22122bd59b8d62b4fc84ad4207ee7faa95cde982fa3357cd8f4be650142abc22805538c3b1392d7084fa + languageName: node + linkType: hard + +"tinyglobby@npm:^0.2.12": + version: 0.2.16 + resolution: "tinyglobby@npm:0.2.16" + dependencies: + fdir: "npm:^6.5.0" + picomatch: "npm:^4.0.4" + checksum: 10c0/f2e09fd93dd95c41e522113b686ff6f7c13020962f8698a864a257f3d7737599afc47722b7ab726e12f8a813f779906187911ff8ee6701ede65072671a7e934b + languageName: node + linkType: hard + +"tree-kill@npm:^1.2.2": + version: 1.2.2 + resolution: "tree-kill@npm:1.2.2" + bin: + tree-kill: cli.js + checksum: 10c0/7b1b7c7f17608a8f8d20a162e7957ac1ef6cd1636db1aba92f4e072dc31818c2ff0efac1e3d91064ede67ed5dc57c565420531a8134090a12ac10cf792ab14d2 + languageName: node + linkType: hard + +"tslib@npm:*, tslib@npm:2.8.1, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.6.2, tslib@npm:^2.8.1": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 + languageName: node + linkType: hard + +"typescript@npm:~5.9.0": + version: 5.9.3 + resolution: "typescript@npm:5.9.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/6bd7552ce39f97e711db5aa048f6f9995b53f1c52f7d8667c1abdc1700c68a76a308f579cd309ce6b53646deb4e9a1be7c813a93baaf0a28ccd536a30270e1c5 + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A~5.9.0#optional!builtin": + version: 5.9.3 + resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/ad09fdf7a756814dce65bc60c1657b40d44451346858eea230e10f2e95a289d9183b6e32e5c11e95acc0ccc214b4f36289dcad4bf1886b0adb84d711d336a430 + languageName: node + linkType: hard + +"undici-types@npm:>=7.24.0 <7.24.7": + version: 7.24.6 + resolution: "undici-types@npm:7.24.6" + checksum: 10c0/d9cd8befb643ac904615c280a095ba4240531f6bb4a5e75a22a7483630ca8d3f1016d2ab6ace6ceda1f63b3a2db2fe037fafe121d6917a0187573aa548ff78ca + languageName: node + linkType: hard + +"undici@npm:^6.25.0": + version: 6.25.0 + resolution: "undici@npm:6.25.0" + checksum: 10c0/2597cc6689bdb02c210c557b1f85febbfda65becae6e6fc1061508e2f33734d25207f81cd8af56ada9956329eb3a7bd7431e87dcfeceba20ee87059b57dcf985 + languageName: node + linkType: hard + +"universalify@npm:^2.0.0": + version: 2.0.1 + resolution: "universalify@npm:2.0.1" + checksum: 10c0/73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a + languageName: node + linkType: hard + +"untildify@npm:^4.0.0": + version: 4.0.0 + resolution: "untildify@npm:4.0.0" + checksum: 10c0/d758e624c707d49f76f7511d75d09a8eda7f2020d231ec52b67ff4896bcf7013be3f9522d8375f57e586e9a2e827f5641c7e06ee46ab9c435fc2b2b2e9de517a + languageName: node + linkType: hard + +"update-browserslist-db@npm:^1.2.3": + version: 1.2.3 + resolution: "update-browserslist-db@npm:1.2.3" + dependencies: + escalade: "npm:^3.2.0" + picocolors: "npm:^1.1.1" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 10c0/13a00355ea822388f68af57410ce3255941d5fb9b7c49342c4709a07c9f230bbef7f7499ae0ca7e0de532e79a82cc0c4edbd125f1a323a1845bf914efddf8bec + languageName: node + linkType: hard + +"util-deprecate@npm:^1.0.1": + version: 1.0.2 + resolution: "util-deprecate@npm:1.0.2" + checksum: 10c0/41a5bdd214df2f6c3ecf8622745e4a366c4adced864bc3c833739791aeeeb1838119af7daed4ba36428114b5c67dcda034a79c882e97e43c03e66a4dd7389942 + languageName: node + linkType: hard + +"value-equal@npm:^1.0.1": + version: 1.0.1 + resolution: "value-equal@npm:1.0.1" + checksum: 10c0/79068098355483ef29f4d3753999ad880875b87625d7e9055cad9346ea4b7662aad3a66f87976801b0dd7a6f828ba973d28b1669ebcd37eaf88cc5f687c1a691 + languageName: node + linkType: hard + +"vite@npm:^5.0.0": + version: 5.4.21 + resolution: "vite@npm:5.4.21" + dependencies: + esbuild: "npm:^0.21.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + sass-embedded: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 10c0/468336a1409f728b464160cbf02672e72271fb688d0e605e776b74a89d27e1029509eef3a3a6c755928d8011e474dbf234824d054d07960be5f23cd176bc72de + languageName: node + linkType: hard + +"web-vitals@npm:^4.2.4": + version: 4.2.4 + resolution: "web-vitals@npm:4.2.4" + checksum: 10c0/383c9281d5b556bcd190fde3c823aeb005bb8cf82e62c75b47beb411014a4ed13fa5c5e0489ed0f1b8d501cd66b0bebcb8624c1a75750bd5df13e2a3b1b2d194 + languageName: node + linkType: hard + +"websocket-driver@npm:>=0.5.1": + version: 0.7.4 + resolution: "websocket-driver@npm:0.7.4" + dependencies: + http-parser-js: "npm:>=0.5.1" + safe-buffer: "npm:>=5.1.0" + websocket-extensions: "npm:>=0.1.1" + checksum: 10c0/5f09547912b27bdc57bac17b7b6527d8993aa4ac8a2d10588bb74aebaf785fdcf64fea034aae0c359b7adff2044dd66f3d03866e4685571f81b13e548f9021f1 + languageName: node + linkType: hard + +"websocket-extensions@npm:>=0.1.1": + version: 0.1.4 + resolution: "websocket-extensions@npm:0.1.4" + checksum: 10c0/bbc8c233388a0eb8a40786ee2e30d35935cacbfe26ab188b3e020987e85d519c2009fe07cfc37b7f718b85afdba7e54654c9153e6697301f72561bfe429177e0 + languageName: node + linkType: hard + +"which@npm:^2.0.1": + version: 2.0.2 + resolution: "which@npm:2.0.2" + dependencies: + isexe: "npm:^2.0.0" + bin: + node-which: ./bin/node-which + checksum: 10c0/66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f + languageName: node + linkType: hard + +"which@npm:^6.0.0": + version: 6.0.1 + resolution: "which@npm:6.0.1" + dependencies: + isexe: "npm:^4.0.0" + bin: + node-which: bin/which.js + checksum: 10c0/7e710e54ea36d2d6183bee2f9caa27a3b47b9baf8dee55a199b736fcf85eab3b9df7556fca3d02b50af7f3dfba5ea3a45644189836df06267df457e354da66d5 + languageName: node + linkType: hard + +"wrap-ansi@npm:^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" + dependencies: + ansi-styles: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + checksum: 10c0/d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da + languageName: node + linkType: hard + +"xml2js@npm:^0.6.2": + version: 0.6.2 + resolution: "xml2js@npm:0.6.2" + dependencies: + sax: "npm:>=0.6.0" + xmlbuilder: "npm:~11.0.0" + checksum: 10c0/e98a84e9c172c556ee2c5afa0fc7161b46919e8b53ab20de140eedea19903ed82f7cd5b1576fb345c84f0a18da1982ddf65908129b58fc3d7cbc658ae232108f + languageName: node + linkType: hard + +"xmlbuilder@npm:^15.1.1": + version: 15.1.1 + resolution: "xmlbuilder@npm:15.1.1" + checksum: 10c0/665266a8916498ff8d82b3d46d3993913477a254b98149ff7cff060d9b7cc0db7cf5a3dae99aed92355254a808c0e2e3ec74ad1b04aa1061bdb8dfbea26c18b8 + languageName: node + linkType: hard + +"xmlbuilder@npm:~11.0.0": + version: 11.0.1 + resolution: "xmlbuilder@npm:11.0.1" + checksum: 10c0/74b979f89a0a129926bc786b913459bdbcefa809afaa551c5ab83f89b1915bdaea14c11c759284bb9b931e3b53004dbc2181e21d3ca9553eeb0b2a7b4e40c35b + languageName: node + linkType: hard + +"y18n@npm:^5.0.5": + version: 5.0.8 + resolution: "y18n@npm:5.0.8" + checksum: 10c0/4df2842c36e468590c3691c894bc9cdbac41f520566e76e24f59401ba7d8b4811eb1e34524d57e54bc6d864bcb66baab7ffd9ca42bf1eda596618f9162b91249 + languageName: node + linkType: hard + +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: 10c0/c66a5c46bc89af1625476f7f0f2ec3653c1a1791d2f9407cfb4c2ba812a1e1c9941416d71ba9719876530e3340a99925f697142989371b72d93b9ee628afd8c1 + languageName: node + linkType: hard + +"yallist@npm:^5.0.0": + version: 5.0.0 + resolution: "yallist@npm:5.0.0" + checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416 + languageName: node + linkType: hard + +"yargs-parser@npm:^21.1.1": + version: 21.1.1 + resolution: "yargs-parser@npm:21.1.1" + checksum: 10c0/f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2 + languageName: node + linkType: hard + +"yargs@npm:^17.7.2": + version: 17.7.2 + resolution: "yargs@npm:17.7.2" + dependencies: + cliui: "npm:^8.0.1" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.3" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^21.1.1" + checksum: 10c0/ccd7e723e61ad5965fffbb791366db689572b80cca80e0f96aad968dfff4156cd7cd1ad18607afe1046d8241e6fb2d6c08bf7fa7bfb5eaec818735d8feac8f05 + languageName: node + linkType: hard + +"yauzl@npm:^2.10.0": + version: 2.10.0 + resolution: "yauzl@npm:2.10.0" + dependencies: + buffer-crc32: "npm:~0.2.3" + fd-slicer: "npm:~1.1.0" + checksum: 10c0/f265002af7541b9ec3589a27f5fb8f11cf348b53cc15e2751272e3c062cd73f3e715bc72d43257de71bbaecae446c3f1b14af7559e8ab0261625375541816422 + languageName: node + linkType: hard + +"zod@npm:^3.24.0": + version: 3.25.76 + resolution: "zod@npm:3.25.76" + checksum: 10c0/5718ec35e3c40b600316c5b4c5e4976f7fee68151bc8f8d90ec18a469be9571f072e1bbaace10f1e85cf8892ea12d90821b200e980ab46916a6166a4260a983c + languageName: node + linkType: hard + +"zustand@npm:^5.0.0": + version: 5.0.13 + resolution: "zustand@npm:5.0.13" + peerDependencies: + "@types/react": ">=18.0.0" + immer: ">=9.0.6" + react: ">=18.0.0" + use-sync-external-store: ">=1.2.0" + peerDependenciesMeta: + "@types/react": + optional: true + immer: + optional: true + react: + optional: true + use-sync-external-store: + optional: true + checksum: 10c0/e4e76af1c324c797e3cc6ef094cb15c5884ca6713697140c2be292b2c612f5445fa21d222671b97797a4376154cac14a140f05728f0ac17b4b9e10f45e0ff29e + languageName: node + linkType: hard