├── .deepsource.toml
├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── .gitignore
├── .well-known
└── brave-rewards-verification.txt
├── CNAME
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Intro.mdx
├── LICENSE
├── Navigation.mdx
├── README.md
├── SECURITY.md
├── amc-mobile-app
├── android
│ ├── app
│ │ ├── build
│ │ │ └── .npmkeep
│ │ └── src
│ │ │ └── main
│ │ │ └── assets
│ │ │ └── public
│ │ │ ├── assets
│ │ │ ├── icon
│ │ │ │ ├── favicon.png
│ │ │ │ └── icon.png
│ │ │ └── shapes.svg
│ │ │ ├── cordova.js
│ │ │ ├── cordova_plugins.js
│ │ │ ├── css
│ │ │ └── chunk-vendors.88a09e89.css
│ │ │ ├── index.html
│ │ │ └── js
│ │ │ ├── app.fee63365.js
│ │ │ ├── app.fee63365.js.map
│ │ │ ├── chunk-02c995b5.45d315f4.js
│ │ │ ├── chunk-02c995b5.45d315f4.js.map
│ │ │ ├── chunk-09155df3.e3ac211b.js
│ │ │ ├── chunk-09155df3.e3ac211b.js.map
│ │ │ ├── chunk-09162720.102e7a40.js
│ │ │ ├── chunk-09162720.102e7a40.js.map
│ │ │ ├── chunk-097e0872.dbc78691.js
│ │ │ ├── chunk-097e0872.dbc78691.js.map
│ │ │ ├── chunk-0e93a01c.b0a5975b.js
│ │ │ ├── chunk-0e93a01c.b0a5975b.js.map
│ │ │ ├── chunk-106fab1a.fe76aac9.js
│ │ │ ├── chunk-106fab1a.fe76aac9.js.map
│ │ │ ├── chunk-1bff95de.ab2d4148.js
│ │ │ ├── chunk-1bff95de.ab2d4148.js.map
│ │ │ ├── chunk-1dbc15a2.8c41fb29.js
│ │ │ ├── chunk-1dbc15a2.8c41fb29.js.map
│ │ │ ├── chunk-21a76241.5ef9d983.js
│ │ │ ├── chunk-21a76241.5ef9d983.js.map
│ │ │ ├── chunk-25d83ca8.6587c6be.js
│ │ │ ├── chunk-25d83ca8.6587c6be.js.map
│ │ │ ├── chunk-2d0a463b.9e69678c.js
│ │ │ ├── chunk-2d0a463b.9e69678c.js.map
│ │ │ ├── chunk-2d0b33e3.2e69defc.js
│ │ │ ├── chunk-2d0b33e3.2e69defc.js.map
│ │ │ ├── chunk-2d0b9280.58416f48.js
│ │ │ ├── chunk-2d0b9280.58416f48.js.map
│ │ │ ├── chunk-2d0baac9.ecbd8a2b.js
│ │ │ ├── chunk-2d0baac9.ecbd8a2b.js.map
│ │ │ ├── chunk-2d0c073f.017f6960.js
│ │ │ ├── chunk-2d0c073f.017f6960.js.map
│ │ │ ├── chunk-2d0d43da.bc49aedb.js
│ │ │ ├── chunk-2d0d43da.bc49aedb.js.map
│ │ │ ├── chunk-2d0da04a.620f425b.js
│ │ │ ├── chunk-2d0da04a.620f425b.js.map
│ │ │ ├── chunk-2d0e5812.730e6176.js
│ │ │ ├── chunk-2d0e5812.730e6176.js.map
│ │ │ ├── chunk-2d2073d6.9e36930f.js
│ │ │ ├── chunk-2d2073d6.9e36930f.js.map
│ │ │ ├── chunk-2d213189.2b11f265.js
│ │ │ ├── chunk-2d213189.2b11f265.js.map
│ │ │ ├── chunk-2d217e6a.9d5e5387.js
│ │ │ ├── chunk-2d217e6a.9d5e5387.js.map
│ │ │ ├── chunk-2d218068.115cead1.js
│ │ │ ├── chunk-2d218068.115cead1.js.map
│ │ │ ├── chunk-2d21a589.a05685ae.js
│ │ │ ├── chunk-2d21a589.a05685ae.js.map
│ │ │ ├── chunk-2d21da73.56e20878.js
│ │ │ ├── chunk-2d21da73.56e20878.js.map
│ │ │ ├── chunk-2d2297f7.78980670.js
│ │ │ ├── chunk-2d2297f7.78980670.js.map
│ │ │ ├── chunk-2d2304d2.e5c3a3b9.js
│ │ │ ├── chunk-2d2304d2.e5c3a3b9.js.map
│ │ │ ├── chunk-2d2376e6.a05b70ee.js
│ │ │ ├── chunk-2d2376e6.a05b70ee.js.map
│ │ │ ├── chunk-2d237b00.037b5772.js
│ │ │ ├── chunk-2d237b00.037b5772.js.map
│ │ │ ├── chunk-30dd9750.6b7d6eb0.js
│ │ │ ├── chunk-30dd9750.6b7d6eb0.js.map
│ │ │ ├── chunk-37f2300e.cc3c45b7.js
│ │ │ ├── chunk-37f2300e.cc3c45b7.js.map
│ │ │ ├── chunk-3ed29de3.9e68e146.js
│ │ │ ├── chunk-3ed29de3.9e68e146.js.map
│ │ │ ├── chunk-41c0f7a4.e0de4af1.js
│ │ │ ├── chunk-41c0f7a4.e0de4af1.js.map
│ │ │ ├── chunk-462c869e.ae6dddd3.js
│ │ │ ├── chunk-462c869e.ae6dddd3.js.map
│ │ │ ├── chunk-47245a33.b9e6a322.js
│ │ │ ├── chunk-47245a33.b9e6a322.js.map
│ │ │ ├── chunk-4739acd0.18f7dcc3.js
│ │ │ ├── chunk-4739acd0.18f7dcc3.js.map
│ │ │ ├── chunk-485adc83.99ebb2b4.js
│ │ │ ├── chunk-485adc83.99ebb2b4.js.map
│ │ │ ├── chunk-53b1137a.8970691a.js
│ │ │ ├── chunk-53b1137a.8970691a.js.map
│ │ │ ├── chunk-541ea42d.63c37d24.js
│ │ │ ├── chunk-541ea42d.63c37d24.js.map
│ │ │ ├── chunk-54bbd082.dbfcec05.js
│ │ │ ├── chunk-54bbd082.dbfcec05.js.map
│ │ │ ├── chunk-59d4c87c.9a2960ba.js
│ │ │ ├── chunk-59d4c87c.9a2960ba.js.map
│ │ │ ├── chunk-5a8ac886.c89483b8.js
│ │ │ ├── chunk-5a8ac886.c89483b8.js.map
│ │ │ ├── chunk-5ff96a24.515adcdf.js
│ │ │ ├── chunk-5ff96a24.515adcdf.js.map
│ │ │ ├── chunk-69eb8776.60866cb6.js
│ │ │ ├── chunk-69eb8776.60866cb6.js.map
│ │ │ ├── chunk-6d375f34.3c78ca1c.js
│ │ │ ├── chunk-6d375f34.3c78ca1c.js.map
│ │ │ ├── chunk-7548ca2d.18f11e7a.js
│ │ │ ├── chunk-7548ca2d.18f11e7a.js.map
│ │ │ ├── chunk-79f1dac7.454e7c12.js
│ │ │ ├── chunk-79f1dac7.454e7c12.js.map
│ │ │ ├── chunk-858cd918.54b9acef.js
│ │ │ ├── chunk-858cd918.54b9acef.js.map
│ │ │ ├── chunk-8bb7f81e.4465b78a.js
│ │ │ ├── chunk-8bb7f81e.4465b78a.js.map
│ │ │ ├── chunk-a9395c36.8777d2b5.js
│ │ │ ├── chunk-a9395c36.8777d2b5.js.map
│ │ │ ├── chunk-d0e8aa0a.ff130109.js
│ │ │ ├── chunk-d0e8aa0a.ff130109.js.map
│ │ │ ├── chunk-d8413eac.e1c32b8b.js
│ │ │ ├── chunk-d8413eac.e1c32b8b.js.map
│ │ │ ├── chunk-e5275ddc.f61bbd61.js
│ │ │ ├── chunk-e5275ddc.f61bbd61.js.map
│ │ │ ├── chunk-eaa2b130.700c0fb3.js
│ │ │ ├── chunk-eaa2b130.700c0fb3.js.map
│ │ │ ├── chunk-vendors.673d8204.js
│ │ │ ├── chunk-vendors.673d8204.js.map
│ │ │ ├── polyfills-core-js.12be3461.js
│ │ │ ├── polyfills-core-js.12be3461.js.map
│ │ │ ├── polyfills-dom.662760da.js
│ │ │ └── polyfills-dom.662760da.js.map
│ └── capacitor-cordova-android-plugins
│ │ ├── build.gradle
│ │ ├── cordova.variables.gradle
│ │ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── .gitkeep
│ │ └── res
│ │ └── .gitkeep
└── ios
│ ├── App
│ └── App
│ │ └── public
│ │ ├── assets
│ │ ├── icon
│ │ │ ├── favicon.png
│ │ │ └── icon.png
│ │ └── shapes.svg
│ │ ├── cordova.js
│ │ ├── cordova_plugins.js
│ │ ├── css
│ │ └── chunk-vendors.88a09e89.css
│ │ ├── index.html
│ │ └── js
│ │ ├── app.fee63365.js
│ │ ├── app.fee63365.js.map
│ │ ├── chunk-02c995b5.45d315f4.js
│ │ ├── chunk-02c995b5.45d315f4.js.map
│ │ ├── chunk-09155df3.e3ac211b.js
│ │ ├── chunk-09155df3.e3ac211b.js.map
│ │ ├── chunk-09162720.102e7a40.js
│ │ ├── chunk-09162720.102e7a40.js.map
│ │ ├── chunk-097e0872.dbc78691.js
│ │ ├── chunk-097e0872.dbc78691.js.map
│ │ ├── chunk-0e93a01c.b0a5975b.js
│ │ ├── chunk-0e93a01c.b0a5975b.js.map
│ │ ├── chunk-106fab1a.fe76aac9.js
│ │ ├── chunk-106fab1a.fe76aac9.js.map
│ │ ├── chunk-1bff95de.ab2d4148.js
│ │ ├── chunk-1bff95de.ab2d4148.js.map
│ │ ├── chunk-1dbc15a2.8c41fb29.js
│ │ ├── chunk-1dbc15a2.8c41fb29.js.map
│ │ ├── chunk-21a76241.5ef9d983.js
│ │ ├── chunk-21a76241.5ef9d983.js.map
│ │ ├── chunk-25d83ca8.6587c6be.js
│ │ ├── chunk-25d83ca8.6587c6be.js.map
│ │ ├── chunk-2d0a463b.9e69678c.js
│ │ ├── chunk-2d0a463b.9e69678c.js.map
│ │ ├── chunk-2d0b33e3.2e69defc.js
│ │ ├── chunk-2d0b33e3.2e69defc.js.map
│ │ ├── chunk-2d0b9280.58416f48.js
│ │ ├── chunk-2d0b9280.58416f48.js.map
│ │ ├── chunk-2d0baac9.ecbd8a2b.js
│ │ ├── chunk-2d0baac9.ecbd8a2b.js.map
│ │ ├── chunk-2d0c073f.017f6960.js
│ │ ├── chunk-2d0c073f.017f6960.js.map
│ │ ├── chunk-2d0d43da.bc49aedb.js
│ │ ├── chunk-2d0d43da.bc49aedb.js.map
│ │ ├── chunk-2d0da04a.620f425b.js
│ │ ├── chunk-2d0da04a.620f425b.js.map
│ │ ├── chunk-2d0e5812.730e6176.js
│ │ ├── chunk-2d0e5812.730e6176.js.map
│ │ ├── chunk-2d2073d6.9e36930f.js
│ │ ├── chunk-2d2073d6.9e36930f.js.map
│ │ ├── chunk-2d213189.2b11f265.js
│ │ ├── chunk-2d213189.2b11f265.js.map
│ │ ├── chunk-2d217e6a.9d5e5387.js
│ │ ├── chunk-2d217e6a.9d5e5387.js.map
│ │ ├── chunk-2d218068.115cead1.js
│ │ ├── chunk-2d218068.115cead1.js.map
│ │ ├── chunk-2d21a589.a05685ae.js
│ │ ├── chunk-2d21a589.a05685ae.js.map
│ │ ├── chunk-2d21da73.56e20878.js
│ │ ├── chunk-2d21da73.56e20878.js.map
│ │ ├── chunk-2d2297f7.78980670.js
│ │ ├── chunk-2d2297f7.78980670.js.map
│ │ ├── chunk-2d2304d2.e5c3a3b9.js
│ │ ├── chunk-2d2304d2.e5c3a3b9.js.map
│ │ ├── chunk-2d2376e6.a05b70ee.js
│ │ ├── chunk-2d2376e6.a05b70ee.js.map
│ │ ├── chunk-2d237b00.037b5772.js
│ │ ├── chunk-2d237b00.037b5772.js.map
│ │ ├── chunk-30dd9750.6b7d6eb0.js
│ │ ├── chunk-30dd9750.6b7d6eb0.js.map
│ │ ├── chunk-37f2300e.cc3c45b7.js
│ │ ├── chunk-37f2300e.cc3c45b7.js.map
│ │ ├── chunk-3ed29de3.9e68e146.js
│ │ ├── chunk-3ed29de3.9e68e146.js.map
│ │ ├── chunk-41c0f7a4.e0de4af1.js
│ │ ├── chunk-41c0f7a4.e0de4af1.js.map
│ │ ├── chunk-462c869e.ae6dddd3.js
│ │ ├── chunk-462c869e.ae6dddd3.js.map
│ │ ├── chunk-47245a33.b9e6a322.js
│ │ ├── chunk-47245a33.b9e6a322.js.map
│ │ ├── chunk-4739acd0.18f7dcc3.js
│ │ ├── chunk-4739acd0.18f7dcc3.js.map
│ │ ├── chunk-485adc83.99ebb2b4.js
│ │ ├── chunk-485adc83.99ebb2b4.js.map
│ │ ├── chunk-53b1137a.8970691a.js
│ │ ├── chunk-53b1137a.8970691a.js.map
│ │ ├── chunk-541ea42d.63c37d24.js
│ │ ├── chunk-541ea42d.63c37d24.js.map
│ │ ├── chunk-54bbd082.dbfcec05.js
│ │ ├── chunk-54bbd082.dbfcec05.js.map
│ │ ├── chunk-59d4c87c.9a2960ba.js
│ │ ├── chunk-59d4c87c.9a2960ba.js.map
│ │ ├── chunk-5a8ac886.c89483b8.js
│ │ ├── chunk-5a8ac886.c89483b8.js.map
│ │ ├── chunk-5ff96a24.515adcdf.js
│ │ ├── chunk-5ff96a24.515adcdf.js.map
│ │ ├── chunk-69eb8776.60866cb6.js
│ │ ├── chunk-69eb8776.60866cb6.js.map
│ │ ├── chunk-6d375f34.3c78ca1c.js
│ │ ├── chunk-6d375f34.3c78ca1c.js.map
│ │ ├── chunk-7548ca2d.18f11e7a.js
│ │ ├── chunk-7548ca2d.18f11e7a.js.map
│ │ ├── chunk-79f1dac7.454e7c12.js
│ │ ├── chunk-79f1dac7.454e7c12.js.map
│ │ ├── chunk-858cd918.54b9acef.js
│ │ ├── chunk-858cd918.54b9acef.js.map
│ │ ├── chunk-8bb7f81e.4465b78a.js
│ │ ├── chunk-8bb7f81e.4465b78a.js.map
│ │ ├── chunk-a9395c36.8777d2b5.js
│ │ ├── chunk-a9395c36.8777d2b5.js.map
│ │ ├── chunk-d0e8aa0a.ff130109.js
│ │ ├── chunk-d0e8aa0a.ff130109.js.map
│ │ ├── chunk-d8413eac.e1c32b8b.js
│ │ ├── chunk-d8413eac.e1c32b8b.js.map
│ │ ├── chunk-e5275ddc.f61bbd61.js
│ │ ├── chunk-e5275ddc.f61bbd61.js.map
│ │ ├── chunk-eaa2b130.700c0fb3.js
│ │ ├── chunk-eaa2b130.700c0fb3.js.map
│ │ ├── chunk-vendors.673d8204.js
│ │ ├── chunk-vendors.673d8204.js.map
│ │ ├── polyfills-core-js.12be3461.js
│ │ ├── polyfills-core-js.12be3461.js.map
│ │ ├── polyfills-dom.662760da.js
│ │ └── polyfills-dom.662760da.js.map
│ └── capacitor-cordova-ios-plugins
│ ├── CordovaPlugins.podspec
│ ├── CordovaPluginsResources.podspec
│ ├── CordovaPluginsStatic.podspec
│ ├── resources
│ └── .gitkeep
│ └── sources
│ └── .gitkeep
├── amc_flutter
├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
│ ├── .gitignore
│ ├── app
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── amc_flutter
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable-v21
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values-night
│ │ │ │ └── styles.xml
│ │ │ │ └── values
│ │ │ │ └── styles.xml
│ │ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ └── settings.gradle
├── fonts
│ ├── Poppins-Black.ttf
│ ├── Poppins-BlackItalic.ttf
│ ├── Poppins-Bold.ttf
│ ├── Poppins-BoldItalic.ttf
│ ├── Poppins-ExtraBold.ttf
│ ├── Poppins-ExtraBoldItalic.ttf
│ ├── Poppins-ExtraLight.ttf
│ ├── Poppins-ExtraLightItalic.ttf
│ ├── Poppins-Italic.ttf
│ ├── Poppins-Light.ttf
│ ├── Poppins-LightItalic.ttf
│ ├── Poppins-Medium.ttf
│ ├── Poppins-MediumItalic.ttf
│ ├── Poppins-Regular.ttf
│ ├── Poppins-SemiBold.ttf
│ ├── Poppins-SemiBoldItalic.ttf
│ ├── Poppins-Thin.ttf
│ └── Poppins-ThinItalic.ttf
├── ios
│ ├── .gitignore
│ ├── Flutter
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ └── Release.xcconfig
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ │ └── WorkspaceSettings.xcsettings
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ │ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
├── lib
│ └── main.dart
├── linux
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── flutter
│ │ ├── CMakeLists.txt
│ │ ├── generated_plugin_registrant.cc
│ │ ├── generated_plugin_registrant.h
│ │ └── generated_plugins.cmake
│ ├── main.cc
│ ├── my_application.cc
│ └── my_application.h
├── macos
│ ├── .gitignore
│ ├── Flutter
│ │ ├── Flutter-Debug.xcconfig
│ │ ├── Flutter-Release.xcconfig
│ │ └── GeneratedPluginRegistrant.swift
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── app_icon_1024.png
│ │ │ ├── app_icon_128.png
│ │ │ ├── app_icon_16.png
│ │ │ ├── app_icon_256.png
│ │ │ ├── app_icon_32.png
│ │ │ ├── app_icon_512.png
│ │ │ └── app_icon_64.png
│ │ ├── Base.lproj
│ │ └── MainMenu.xib
│ │ ├── Configs
│ │ ├── AppInfo.xcconfig
│ │ ├── Debug.xcconfig
│ │ ├── Release.xcconfig
│ │ └── Warnings.xcconfig
│ │ ├── DebugProfile.entitlements
│ │ ├── Info.plist
│ │ ├── MainFlutterWindow.swift
│ │ └── Release.entitlements
├── pubspec.lock
├── pubspec.yaml
├── web
│ ├── favicon.png
│ ├── icons
│ │ ├── Icon-192.png
│ │ ├── Icon-512.png
│ │ ├── Icon-maskable-192.png
│ │ └── Icon-maskable-512.png
│ ├── index.html
│ └── manifest.json
└── windows
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── flutter
│ ├── CMakeLists.txt
│ ├── generated_plugin_registrant.cc
│ ├── generated_plugin_registrant.h
│ └── generated_plugins.cmake
│ └── runner
│ ├── CMakeLists.txt
│ ├── Runner.rc
│ ├── flutter_window.cpp
│ ├── flutter_window.h
│ ├── main.cpp
│ ├── resource.h
│ ├── resources
│ └── app_icon.ico
│ ├── runner.exe.manifest
│ ├── utils.cpp
│ ├── utils.h
│ ├── win32_window.cpp
│ └── win32_window.h
├── css
└── style.css
├── docs
└── Navigation.mdx
├── img
├── amctrainercard.png
├── arrow-right.svg
├── circle_cursor.ico
├── corner-down-left.svg
├── corner-down-right.svg
├── draw.svg
├── eraser.png
├── eraser.svg
├── fire.png
├── help.svg
├── icon.png
├── info_button.png
├── list.svg
├── logo_black.png
├── logo_blue.png
├── logo_green.png
├── logo_orange.png
├── logo_purple.png
├── logo_red.png
├── logo_white.png
├── logo_yellow.png
├── pencil.svg
├── report.svg
├── report_button.png
├── reset.png
├── settings.svg
└── trash.svg
├── index.html
├── js
├── draw.js
├── script.js
└── tab.js
└── play.html
/.deepsource.toml:
--------------------------------------------------------------------------------
1 | version = 1
2 |
3 | [[analyzers]]
4 | name = "javascript"
5 | enabled = true
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | todo
2 | bg.html
3 | node_modules/
4 |
--------------------------------------------------------------------------------
/.well-known/brave-rewards-verification.txt:
--------------------------------------------------------------------------------
1 | This is a Brave Rewards publisher verification file.
2 |
3 | Domain: amctrainer.com
4 | Token: 2026eeec7384e7a94ed7e0b22a4aa59135c63965a3639386d48b225c8c3f3d92
5 |
--------------------------------------------------------------------------------
/CNAME:
--------------------------------------------------------------------------------
1 | www.amctrainer.com
2 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Code of Conduct
2 |
3 | Don't do anything stupid.
4 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | The current version of the main branch is written sloppily. As we transition to Vue or React, unnoticed bugs may arise. Proofreading the code and contributing would greatly help us out. Thanks!
2 |
--------------------------------------------------------------------------------
/Intro.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | name: Fun Intro 😎
3 | route: /docs
4 | ---
5 |
6 | # Fun Intro 😎
7 |
8 | ## Who?
9 | **THE** math-enthusiast-tech savvy, 4.8-GPA-overachiever-future doctor and entrepreneur 💥 ℼ ∫ 🥇
10 |
11 | ## Why? 💹
12 | We created this **AMAZING** math website to make **YOU** become the star 🌟 of your family and maybe your whole state! 🏆
13 |
14 | If you just simply want to do **BETTER** on the next AMC test, then this is the website for you! 🥇
15 |
16 | ## What? 📈
17 | A **FREE** interactive 👆 trainer which generates math problems for your specific AMC level (such as AMC 8/10/12/AIME).
18 |
19 | ## How? 👨💻
20 | Generates problems from past AMC 8/10/12/AIME exams and caters to your specific level.
21 |
22 | ## What else? 💡
23 | If you have any suggestions/comments please let us know [here](https://artofproblemsolving.com/community/c1967976h2362114).
24 |
25 | **Happy 😎😃 MATHING ➕ 🧮 ➖👨🔬 ℼ ➗ **
26 |
27 | ~ Emojis courtesy of my mom 😜
--------------------------------------------------------------------------------
/Navigation.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | name: Navigation 🗺
3 | route: /docs
4 | ---
5 |
6 | # Navigation
7 |
8 | ## Answer Format
9 | The answer format for AMC 8/10/12 is a single letter from the multiple choice options (A, B, C, D, or E). You may enter the letter as uppercase or lowercase.
10 |
11 | For AIME problems, your answer must be a single 3-digit number. For example, if you find the answer to the problem is 123, please enter 123 as your answer. Also, make sure to include leading zeros for numbers less than 100. For example, if your answer is 67, please enter 067. If your answer is 9, enter 009.
12 |
13 | ## Settings
14 | The AMC trainer also provides several customization options. They are broken down by category below.
15 |
16 | ### Options
17 | In this tab, you are able to customize which math competition to train with. You can choose a single exam version (AMC 8, AMC 10, AMC 12, or AIME) or a combination of all of them with the “All” option. You may also find that some problems in the AMC 10 show up in the AMC 12, or vice versa; this is because the MAA (Mathematical Association of America) specifically overlaps problems between the two tests. Although they may be the same problems, they are not always in the same section of the test. In other words, an AMC 12 # 5 might be placed as an AMC 10 #11 since AMC 12 problems tend to be more difficult than AMC 10 problems.
18 |
19 | ### Colors
20 | In this tab, you can change the color of a variety of components on the webpage. At the top, you may change the text color of the problem and invert the images. This feature is implemented mostly to allow for a seamless experience with a dark color scheme (see below).
21 |
22 | In the colors settings, you can also customize the background and button colors. The first box will set the left color for the background gradient and the second box will set the right color for the background gradient. Also, the buttons are bound to the background gradient colors such that the first box will set the right color for the button gradient and the second box will set the left color for the button gradient. In other words, the background and button gradients are horizontally inversely bound to each other.
23 |
24 | ### Customization
25 | In the final tab, you have the ability to toggle the wiggle of images when you hover over them. This is more for aesthetic purposes than for actually helping in training.
26 |
27 | You can also change the font family of all the text on the screen to your liking. It is important to note that some of the fonts will not render as it depends on the fonts installed on your browser (i.e. Chrome, Firefox, Safari, etc.) and operating system (i.e. Windows, Mac, Linux, etc.).
28 |
29 | ## More Features
30 | You may have also noticed two other icons on the screen: the fire icon and the pencil image.
31 |
32 | ### Streak
33 | The fire icon represents your correct problem streak. If you get a problem correct, your streak will increase by 1. Be careful! If you get a problem incorrect, your streak will reset to 0.
34 |
35 | ### Drawing Tool
36 | When you click on the pencil image, it triggers the on-screen drawing tool. With this drawing tool, you can change the color of your drawing tool, you can clear the screen with the garbage can icon, and you can also erase with the eraser icon.
37 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # AMC Trainer
2 |
3 | [Website](https://amctrainer.com)
4 |
5 | Generate AMC 8/10/12/AIME Problems by topic.
6 |
7 | All constructive criticism/feature requests are welcome. Post it [here](https://github.com/cbracketdash/AMCapp/issues).
8 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 |
4 | ## Reporting a Vulnerability
5 |
6 | If you find a vulnerability in the software, immediately email info.amctrainer@gmail.com. In the meantime, try to patch the vulnerability. Thanks!
7 |
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/build/.npmkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/app/build/.npmkeep
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/assets/icon/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/app/src/main/assets/public/assets/icon/favicon.png
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/assets/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/app/src/main/assets/public/assets/icon/icon.png
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/assets/shapes.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/cordova.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/app/src/main/assets/public/cordova.js
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/cordova_plugins.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/app/src/main/assets/public/cordova_plugins.js
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/index.html:
--------------------------------------------------------------------------------
1 |
Ionic App
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d0b33e3.2e69defc.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b33e3"],{2818:function(n,t,e){"use strict";e.r(t),e.d(t,"startFocusVisible",(function(){return i}));var o="ion-focused",s="ion-focusable",c=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp"],i=function(){var n=[],t=!0,e=document,i=function(t){n.forEach((function(n){return n.classList.remove(o)})),t.forEach((function(n){return n.classList.add(o)})),n=t},r=function(){t=!1,i([])};e.addEventListener("keydown",(function(n){t=c.includes(n.key),t||i([])})),e.addEventListener("focusin",(function(n){if(t&&n.composedPath){var e=n.composedPath().filter((function(n){return!!n.classList&&n.classList.contains(s)}));i(e)}})),e.addEventListener("focusout",(function(){e.activeElement===e.body&&i([])})),e.addEventListener("touchstart",r),e.addEventListener("mousedown",r)}}}]);
2 | //# sourceMappingURL=chunk-2d0b33e3.2e69defc.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d0b33e3.2e69defc.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/focus-visible-f4ad4f1a.js"],"names":["ION_FOCUSED","ION_FOCUSABLE","FOCUS_KEYS","startFocusVisible","t","e","n","document","r","forEach","classList","remove","add","o","addEventListener","includes","key","composedPath","filter","contains","activeElement","body"],"mappings":"gHAAA,6DAAIA,EAAY,cAAkBC,EAAc,gBAAoBC,EAAW,CAAC,MAAM,YAAY,QAAQ,SAAS,IAAI,QAAQ,QAAQ,YAAY,aAAa,WAAeC,EAAkB,WAAW,IAAIC,EAAE,GAAOC,GAAE,EAASC,EAAEC,SAAaC,EAAE,SAASH,GAAGD,EAAEK,SAAQ,SAAUL,GAAG,OAAOA,EAAEM,UAAUC,OAAOX,MAAgBK,EAAEI,SAAQ,SAAUL,GAAG,OAAOA,EAAEM,UAAUE,IAAIZ,MAAgBI,EAAEC,GAAOQ,EAAE,WAAWR,GAAE,EAAMG,EAAE,KAAKF,EAAEQ,iBAAiB,WAAU,SAAUV,GAAGC,EAAEH,EAAWa,SAASX,EAAEY,KAASX,GAAGG,EAAE,OAAQF,EAAEQ,iBAAiB,WAAU,SAAUV,GAAG,GAAGC,GAAGD,EAAEa,aAAa,CAAC,IAAIX,EAAEF,EAAEa,eAAeC,QAAO,SAAUd,GAAG,QAAGA,EAAEM,WAAkBN,EAAEM,UAAUS,SAASlB,MAA+BO,EAAEF,OAAOA,EAAEQ,iBAAiB,YAAW,WAAeR,EAAEc,gBAAgBd,EAAEe,MAAMb,EAAE,OAAQF,EAAEQ,iBAAiB,aAAaD,GAAGP,EAAEQ,iBAAiB,YAAYD","file":"js/chunk-2d0b33e3.2e69defc.js","sourcesContent":["var ION_FOCUSED=\"ion-focused\";var ION_FOCUSABLE=\"ion-focusable\";var FOCUS_KEYS=[\"Tab\",\"ArrowDown\",\"Space\",\"Escape\",\" \",\"Shift\",\"Enter\",\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\"];var startFocusVisible=function(){var t=[];var e=true;var n=document;var r=function(e){t.forEach((function(t){return t.classList.remove(ION_FOCUSED)}));e.forEach((function(t){return t.classList.add(ION_FOCUSED)}));t=e};var o=function(){e=false;r([])};n.addEventListener(\"keydown\",(function(t){e=FOCUS_KEYS.includes(t.key);if(!e){r([])}}));n.addEventListener(\"focusin\",(function(t){if(e&&t.composedPath){var n=t.composedPath().filter((function(t){if(t.classList){return t.classList.contains(ION_FOCUSABLE)}return false}));r(n)}}));n.addEventListener(\"focusout\",(function(){if(n.activeElement===n.body){r([])}}));n.addEventListener(\"touchstart\",o);n.addEventListener(\"mousedown\",o)};export{startFocusVisible};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d0baac9.ecbd8a2b.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0baac9"],{"37e4":function(t,e,n){"use strict";n.r(e),n.d(e,"startTapClick",(function(){return i}));var o=n("61cf"),i=function(t){var e,n,i,v,l=10*-f,p=0,L=t.getBoolean("animated",!0)&&t.getBoolean("rippleEffect",!0),m=new WeakMap,w=function(){return void 0!==e&&null!==e.parentElement},h=function(t){l=Object(o["o"])(t),j(t)},E=function(t){l=Object(o["o"])(t),k(t)},b=function(t){var e=Object(o["o"])(t)-f;l0&&!r(e)){var i=setTimeout((function(){e.classList.remove(s),m.delete(e)}),d);m.set(e,i)}else e.classList.remove(s)}},q=document;q.addEventListener("ionScrollStart",(function(t){e=t.target,T()})),q.addEventListener("ionScrollEnd",(function(){e=void 0})),q.addEventListener("ionGestureCaptured",T),q.addEventListener("touchstart",h,!0),q.addEventListener("touchcancel",E,!0),q.addEventListener("touchend",E,!0),q.addEventListener("mousedown",b,!0),q.addEventListener("mouseup",g,!0)},a=function(t){if(!t.composedPath)return t.target.closest(".ion-activatable");for(var e=t.composedPath(),n=0;n=0&&(i>.2||e.deltaX>u),s=d?1-a:a,f=s*n,w=0;if(f>5){var h=f/Math.abs(i);w=Math.min(h,540)}c(d,a<=0?.01:Object(r["j"])(0,a,.9999),w)};return Object(a["createGesture"])({el:e,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:u,onStart:n,onMove:d,onEnd:s})})}}]);
2 | //# sourceMappingURL=chunk-2d2073d6.9e36930f.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d2073d6.9e36930f.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/swipe-back-fae97365.js"],"names":["createSwipeBackGesture","r","e","t","a","n","o","ownerDocument","defaultView","i","startX","c","deltaX","innerWidth","v","velocityX","s","u","l","d","Math","abs","min","el","gestureName","gesturePriority","threshold","canStart","onStart","onMove","onEnd"],"mappings":"gHAAA,0FAA0IA,GAA1I,UAAiK,SAASC,EAAEC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEL,EAAEM,cAAcC,YAAgBC,EAAE,SAASR,GAAG,OAAOA,EAAES,QAAQ,IAAIR,KAASS,EAAE,SAASV,GAAG,IAAIC,EAAED,EAAEW,OAAWT,EAAED,EAAEI,EAAEO,WAAWT,EAAED,IAAQW,EAAE,SAASb,GAAG,IAAIC,EAAED,EAAEW,OAAWT,EAAEG,EAAEO,WAAeT,EAAEF,EAAEC,EAAMM,EAAER,EAAEc,UAAcJ,EAAER,EAAE,EAAMW,EAAEL,GAAG,IAAIA,EAAE,IAAIR,EAAEW,OAAOD,GAAOK,EAAEF,EAAE,EAAEV,EAAEA,EAAMa,EAAED,EAAEb,EAAMe,EAAE,EAAE,GAAGD,EAAE,EAAE,CAAC,IAAIE,EAAEF,EAAEG,KAAKC,IAAIZ,GAAGS,EAAEE,KAAKE,IAAIH,EAAE,KAAKd,EAAES,EAAEV,GAAG,EAAE,IAAI,eAAM,EAAEA,EAAE,OAAOc,IAAI,OAAO,2BAAc,CAACK,GAAGtB,EAAEuB,YAAY,eAAeC,gBAAgB,GAAGC,UAAU,GAAGC,SAASlB,EAAEmB,QAAQzB,EAAE0B,OAAOlB,EAAEmB,MAAMhB","file":"js/chunk-2d2073d6.9e36930f.js","sourcesContent":["import{j as clamp}from\"./helpers-dd7e4b7b.js\";import{createGesture}from\"./index-34cb2743.js\";import\"./gesture-controller-31cb6bb9.js\";var createSwipeBackGesture=function(r,e,t,a,n){var o=r.ownerDocument.defaultView;var i=function(r){return r.startX<=50&&e()};var c=function(r){var e=r.deltaX;var t=e/o.innerWidth;a(t)};var v=function(r){var e=r.deltaX;var t=o.innerWidth;var a=e/t;var i=r.velocityX;var c=t/2;var v=i>=0&&(i>.2||r.deltaX>c);var s=v?1-a:a;var u=s*t;var l=0;if(u>5){var d=u/Math.abs(i);l=Math.min(d,540)}n(v,a<=0?.01:clamp(0,a,.9999),l)};return createGesture({el:r,gestureName:\"goback-swipe\",gesturePriority:40,threshold:10,canStart:i,onStart:t,onMove:c,onEnd:v})};export{createSwipeBackGesture};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d218068.115cead1.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d218068"],{c8da:function(t,n,i){"use strict";i.r(n),i.d(n,"ion_ripple_effect",(function(){return s}));var e=i("9ab4"),a=i("6d28"),o=i("7d8d"),r=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",s=function(){function t(t){Object(a["o"])(this,t),this.type="bounded"}return t.prototype.addRipple=function(t,n){return Object(e["a"])(this,void 0,void 0,(function(){var i=this;return Object(e["c"])(this,(function(e){return[2,new Promise((function(e){Object(a["h"])((function(){var o=i.el.getBoundingClientRect(),r=o.width,s=o.height,m=Math.sqrt(r*r+s*s),u=Math.max(s,r),d=i.unbounded?u:m+f,p=Math.floor(u*l),b=d/p,w=t-o.left,y=n-o.top;i.unbounded&&(w=.5*r,y=.5*s);var h=w-.5*p,k=y-.5*p,v=.5*r-w,g=.5*s-y;Object(a["f"])((function(){var t=document.createElement("div");t.classList.add("ripple-effect");var n=t.style;n.top=k+"px",n.left=h+"px",n.width=n.height=p+"px",n.setProperty("--final-scale",""+b),n.setProperty("--translate-end",v+"px, "+g+"px");var a=i.el.shadowRoot||i.el;a.appendChild(t),setTimeout((function(){e((function(){c(t)}))}),325)}))}))}))]}))}))},Object.defineProperty(t.prototype,"unbounded",{get:function(){return"unbounded"===this.type},enumerable:!1,configurable:!0}),t.prototype.render=function(){var t,n=Object(o["b"])(this);return Object(a["j"])(a["c"],{role:"presentation",class:(t={},t[n]=!0,t["unbounded"]=this.unbounded,t)})},Object.defineProperty(t.prototype,"el",{get:function(){return Object(a["k"])(this)},enumerable:!1,configurable:!0}),t}(),c=function(t){t.classList.add("fade-out"),setTimeout((function(){t.remove()}),200)},f=10,l=.5;s.style=r}}]);
2 | //# sourceMappingURL=chunk-2d218068.115cead1.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d21a589.a05685ae.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a589"],{bab6:function(n,t,e){"use strict";e.r(t),e.d(t,"startStatusTap",(function(){return i}));var o=e("9ab4"),r=e("6d28"),c=e("61cf"),i=function(){var n=window;n.addEventListener("statusTap",(function(){Object(r["h"])((function(){var t=n.innerWidth,e=n.innerHeight,i=document.elementFromPoint(t/2,e/2);if(i){var s=i.closest("ion-content");s&&new Promise((function(n){return Object(c["c"])(s,n)})).then((function(){Object(r["f"])((function(){return Object(o["a"])(void 0,void 0,void 0,(function(){return Object(o["c"])(this,(function(n){switch(n.label){case 0:return s.style.setProperty("--overflow","hidden"),[4,s.scrollToTop(300)];case 1:return n.sent(),s.style.removeProperty("--overflow"),[2]}}))}))}))}))}}))}))}}}]);
2 | //# sourceMappingURL=chunk-2d21a589.a05685ae.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d21a589.a05685ae.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/status-tap-5c3a5bca.js"],"names":["startStatusTap","t","window","addEventListener","e","innerWidth","r","innerHeight","n","document","elementFromPoint","o","closest","Promise","then","this","label","style","setProperty","scrollToTop","sent","removeProperty"],"mappings":"gHAAA,8FAAoKA,EAAe,WAAW,IAAIC,EAAEC,OAAOD,EAAEE,iBAAiB,aAAY,WAAY,gBAAS,WAAY,IAAIC,EAAEH,EAAEI,WAAeC,EAAEL,EAAEM,YAAgBC,EAAEC,SAASC,iBAAiBN,EAAE,EAAEE,EAAE,GAAG,GAAIE,EAAJ,CAAc,IAAIG,EAAEH,EAAEI,QAAQ,eAAkBD,GAAG,IAAIE,SAAQ,SAAUZ,GAAG,OAAO,eAAiBU,EAAEV,MAAMa,MAAK,WAAY,gBAAU,WAAY,OAAO,oBAAU,OAAO,OAAO,GAAO,WAAY,OAAO,eAAYC,MAAK,SAAUd,GAAG,OAAOA,EAAEe,OAAO,KAAK,EAA6C,OAA3CL,EAAEM,MAAMC,YAAY,aAAa,UAAgB,CAAC,EAAEP,EAAEQ,YAAY,MAAM,KAAK,EAAgD,OAA9ClB,EAAEmB,OAAOT,EAAEM,MAAMI,eAAe,cAAoB,CAAC","file":"js/chunk-2d21a589.a05685ae.js","sourcesContent":["import{__awaiter,__generator}from\"tslib\";import{f as readTask,c as writeTask}from\"./index-7a8b7a1c.js\";import{c as componentOnReady}from\"./helpers-dd7e4b7b.js\";var startStatusTap=function(){var t=window;t.addEventListener(\"statusTap\",(function(){readTask((function(){var e=t.innerWidth;var r=t.innerHeight;var n=document.elementFromPoint(e/2,r/2);if(!n){return}var o=n.closest(\"ion-content\");if(o){new Promise((function(t){return componentOnReady(o,t)})).then((function(){writeTask((function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:o.style.setProperty(\"--overflow\",\"hidden\");return[4,o.scrollToTop(300)];case 1:t.sent();o.style.removeProperty(\"--overflow\");return[2]}}))}))}))}))}}))}))};export{startStatusTap};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-2d2376e6.a05b70ee.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2376e6"],{faa6:function(n,t,e){"use strict";e.r(t),e.d(t,"KEYBOARD_DID_CLOSE",(function(){return o})),e.d(t,"KEYBOARD_DID_OPEN",(function(){return i})),e.d(t,"copyVisualViewport",(function(){return k})),e.d(t,"keyboardDidClose",(function(){return g})),e.d(t,"keyboardDidOpen",(function(){return w})),e.d(t,"keyboardDidResize",(function(){return b})),e.d(t,"resetKeyboardAssist",(function(){return f})),e.d(t,"setKeyboardClose",(function(){return p})),e.d(t,"setKeyboardOpen",(function(){return h})),e.d(t,"startKeyboardAssist",(function(){return s})),e.d(t,"trackViewportChanges",(function(){return D}));var i="ionKeyboardDidShow",o="ionKeyboardDidHide",r=150,u={},d={},a=!1,f=function(){u={},d={},a=!1},s=function(n){c(n),n.visualViewport&&(d=k(n.visualViewport),n.visualViewport.onresize=function(){D(n),w()||b(n)?h(n):g(n)&&p(n)})},c=function(n){n.addEventListener("keyboardDidShow",(function(t){return h(n,t)})),n.addEventListener("keyboardDidHide",(function(){return p(n)}))},h=function(n,t){v(n,t),a=!0},p=function(n){y(n),a=!1},w=function(){var n=(u.height-d.height)*d.scale;return!a&&u.width===d.width&&n>r},b=function(n){return a&&!g(n)},g=function(n){return a&&d.height===n.innerHeight},v=function(n,t){var e=t?t.keyboardHeight:n.innerHeight-d.height,o=new CustomEvent(i,{detail:{keyboardHeight:e}});n.dispatchEvent(o)},y=function(n){var t=new CustomEvent(o);n.dispatchEvent(t)},D=function(n){u=Object.assign({},d),d=k(n.visualViewport)},k=function(n){return{width:Math.round(n.width),height:Math.round(n.height),offsetTop:n.offsetTop,offsetLeft:n.offsetLeft,pageTop:n.pageTop,pageLeft:n.pageLeft,scale:n.scale}}}}]);
2 | //# sourceMappingURL=chunk-2d2376e6.a05b70ee.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-30dd9750.6b7d6eb0.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30dd9750"],{ed3b:function(n,t,r){"use strict";r.r(t),r.d(t,"ion_text",(function(){return i}));var o=r("6d28"),e=r("7d8d"),u=r("feca"),c=":host(.ion-color){color:var(--ion-color-base)}",i=function(){function n(n){Object(o["o"])(this,n)}return n.prototype.render=function(){var n,t=Object(e["b"])(this);return Object(o["j"])(o["c"],{class:Object(u["a"])(this.color,(n={},n[t]=!0,n))},Object(o["j"])("slot",null))},n}();i.style=c},feca:function(n,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return e})),r.d(t,"d",(function(){return a}));var o=r("9ab4"),e=function(n,t){return null!==t.closest(n)},u=function(n,t){var r;return"string"===typeof n&&n.length>0?Object.assign((r={"ion-color":!0},r["ion-color-"+n]=!0,r),t):t},c=function(n){if(void 0!==n){var t=Array.isArray(n)?n:n.split(" ");return t.filter((function(n){return null!=n})).map((function(n){return n.trim()})).filter((function(n){return""!==n}))}return[]},i=function(n){var t={};return c(n).forEach((function(n){return t[n]=!0})),t},f=/^[a-z][a-z0-9+\-.]*:/,a=function(n,t,r,e){return Object(o["a"])(void 0,void 0,void 0,(function(){var u;return Object(o["c"])(this,(function(o){return null!=n&&"#"!==n[0]&&!f.test(n)&&(u=document.querySelector("ion-router"),u)?(null!=t&&t.preventDefault(),[2,u.push(n,r,e)]):[2,!1]}))}))}}}]);
2 | //# sourceMappingURL=chunk-30dd9750.6b7d6eb0.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/android/app/src/main/assets/public/js/chunk-30dd9750.6b7d6eb0.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/ion-text.entry.js","webpack:///./node_modules/@ionic/core/dist/esm-es5/theme-ff3fc52f.js"],"names":["textCss","Text","t","this","prototype","render","o","class","color","style","hostContext","r","closest","createColorClasses","e","length","Object","assign","getClassList","undefined","Array","isArray","split","filter","map","trim","getClassMap","forEach","SCHEME","openURL","n","a","test","document","querySelector","preventDefault","push"],"mappings":"gHAAA,wFAAwLA,EAAQ,iDAAqDC,EAAK,WAAW,SAASC,EAAEA,GAAG,eAAiBC,KAAKD,GAAuJ,OAApJA,EAAEE,UAAUC,OAAO,WAAW,IAAIH,EAAMI,EAAE,eAAWH,MAAM,OAAO,eAAE,OAAK,CAACI,MAAM,eAAmBJ,KAAKK,OAAON,EAAE,GAAGA,EAAEI,IAAG,EAAKJ,KAAK,eAAE,OAAO,QAAeA,EAA7M,GAAkND,EAAKQ,MAAMT,G,kCCAvd,wJAA6CU,EAAY,SAASC,EAAET,GAAG,OAAsB,OAAfA,EAAEU,QAAQD,IAAeE,EAAmB,SAASF,EAAET,GAAG,IAAIY,EAAE,MAAkB,kBAAJH,GAAcA,EAAEI,OAAO,EAAEC,OAAOC,QAAQH,EAAE,CAAC,aAAY,GAAMA,EAAE,aAAaH,IAAG,EAAKG,GAAGZ,GAAGA,GAAOgB,EAAa,SAASP,GAAG,QAAOQ,IAAJR,EAAc,CAAC,IAAIT,EAAEkB,MAAMC,QAAQV,GAAGA,EAAEA,EAAEW,MAAM,KAAK,OAAOpB,EAAEqB,QAAO,SAAUZ,GAAG,OAAU,MAAHA,KAAWa,KAAI,SAAUb,GAAG,OAAOA,EAAEc,UAAUF,QAAO,SAAUZ,GAAG,MAAW,KAAJA,KAAU,MAAM,IAAQe,EAAY,SAASf,GAAG,IAAIT,EAAE,GAA4D,OAAzDgB,EAAaP,GAAGgB,SAAQ,SAAUhB,GAAG,OAAOT,EAAES,IAAG,KAAeT,GAAO0B,EAAO,uBAA2BC,EAAQ,SAASlB,EAAET,EAAEY,EAAEgB,GAAG,OAAO,oBAAU,OAAO,OAAO,GAAO,WAAY,IAAIxB,EAAE,OAAO,eAAYH,MAAK,SAAU4B,GAAG,OAAM,MAAHpB,GAAgB,MAAPA,EAAE,KAAWiB,EAAOI,KAAKrB,KAAIL,EAAE2B,SAASC,cAAc,cAAiB5B,IAAS,MAAHJ,GAASA,EAAEiC,iBAAuB,CAAC,EAAE7B,EAAE8B,KAAKzB,EAAEG,EAAEgB,KAAW,CAAC,GAAE","file":"js/chunk-30dd9750.6b7d6eb0.js","sourcesContent":["import{r as registerInstance,h,H as Host}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{c as createColorClasses}from\"./theme-ff3fc52f.js\";var textCss=\":host(.ion-color){color:var(--ion-color-base)}\";var Text=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;var o=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={},t[o]=true,t))},h(\"slot\",null))};return t}();Text.style=textCss;export{Text as ion_text};","import{__awaiter,__generator}from\"tslib\";var hostContext=function(r,t){return t.closest(r)!==null};var createColorClasses=function(r,t){var e;return typeof r===\"string\"&&r.length>0?Object.assign((e={\"ion-color\":true},e[\"ion-color-\"+r]=true,e),t):t};var getClassList=function(r){if(r!==undefined){var t=Array.isArray(r)?r:r.split(\" \");return t.filter((function(r){return r!=null})).map((function(r){return r.trim()})).filter((function(r){return r!==\"\"}))}return[]};var getClassMap=function(r){var t={};getClassList(r).forEach((function(r){return t[r]=true}));return t};var SCHEME=/^[a-z][a-z0-9+\\-.]*:/;var openURL=function(r,t,e,n){return __awaiter(void 0,void 0,void 0,(function(){var o;return __generator(this,(function(a){if(r!=null&&r[0]!==\"#\"&&!SCHEME.test(r)){o=document.querySelector(\"ion-router\");if(o){if(t!=null){t.preventDefault()}return[2,o.push(r,e,n)]}}return[2,false]}))}))};export{createColorClasses as c,getClassMap as g,hostContext as h,openURL as o};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/android/capacitor-cordova-android-plugins/build.gradle:
--------------------------------------------------------------------------------
1 | ext {
2 | cordovaAndroidVersion = project.hasProperty('cordovaAndroidVersion') ? rootProject.ext.cordovaAndroidVersion : '7.0.0'
3 | }
4 |
5 | buildscript {
6 | repositories {
7 | google()
8 | jcenter()
9 | }
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:4.2.1'
12 | }
13 | }
14 |
15 | apply plugin: 'com.android.library'
16 |
17 | android {
18 | compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30
19 | defaultConfig {
20 | minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
21 | targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
22 | versionCode 1
23 | versionName "1.0"
24 | }
25 | lintOptions {
26 | abortOnError false
27 | }
28 | compileOptions {
29 | sourceCompatibility JavaVersion.VERSION_1_8
30 | targetCompatibility JavaVersion.VERSION_1_8
31 | }
32 | }
33 |
34 | repositories {
35 | google()
36 | jcenter()
37 | mavenCentral()
38 | flatDir{
39 | dirs 'src/main/libs', 'libs'
40 | }
41 | }
42 |
43 | dependencies {
44 | implementation fileTree(dir: 'src/main/libs', include: ['*.jar'])
45 | implementation "org.apache.cordova:framework:$cordovaAndroidVersion"
46 | // SUB-PROJECT DEPENDENCIES START
47 |
48 | // SUB-PROJECT DEPENDENCIES END
49 | }
50 |
51 | // PLUGIN GRADLE EXTENSIONS START
52 | apply from: "cordova.variables.gradle"
53 | // PLUGIN GRADLE EXTENSIONS END
54 |
55 | for (def func : cdvPluginPostBuildExtras) {
56 | func()
57 | }
--------------------------------------------------------------------------------
/amc-mobile-app/android/capacitor-cordova-android-plugins/cordova.variables.gradle:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
2 | ext {
3 | cdvMinSdkVersion = project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
4 | // Plugin gradle extensions can append to this to have code run at the end.
5 | cdvPluginPostBuildExtras = []
6 | cordovaConfig = [:]
7 | }
--------------------------------------------------------------------------------
/amc-mobile-app/android/capacitor-cordova-android-plugins/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc-mobile-app/android/capacitor-cordova-android-plugins/src/main/java/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/android/capacitor-cordova-android-plugins/src/main/java/.gitkeep
--------------------------------------------------------------------------------
/amc-mobile-app/android/capacitor-cordova-android-plugins/src/main/res/.gitkeep:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/assets/icon/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/ios/App/App/public/assets/icon/favicon.png
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/assets/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/ios/App/App/public/assets/icon/icon.png
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/assets/shapes.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/cordova.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/ios/App/App/public/cordova.js
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/cordova_plugins.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc-mobile-app/ios/App/App/public/cordova_plugins.js
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/index.html:
--------------------------------------------------------------------------------
1 | Ionic App
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d0b33e3.2e69defc.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b33e3"],{2818:function(n,t,e){"use strict";e.r(t),e.d(t,"startFocusVisible",(function(){return i}));var o="ion-focused",s="ion-focusable",c=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp"],i=function(){var n=[],t=!0,e=document,i=function(t){n.forEach((function(n){return n.classList.remove(o)})),t.forEach((function(n){return n.classList.add(o)})),n=t},r=function(){t=!1,i([])};e.addEventListener("keydown",(function(n){t=c.includes(n.key),t||i([])})),e.addEventListener("focusin",(function(n){if(t&&n.composedPath){var e=n.composedPath().filter((function(n){return!!n.classList&&n.classList.contains(s)}));i(e)}})),e.addEventListener("focusout",(function(){e.activeElement===e.body&&i([])})),e.addEventListener("touchstart",r),e.addEventListener("mousedown",r)}}}]);
2 | //# sourceMappingURL=chunk-2d0b33e3.2e69defc.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d0b33e3.2e69defc.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/focus-visible-f4ad4f1a.js"],"names":["ION_FOCUSED","ION_FOCUSABLE","FOCUS_KEYS","startFocusVisible","t","e","n","document","r","forEach","classList","remove","add","o","addEventListener","includes","key","composedPath","filter","contains","activeElement","body"],"mappings":"gHAAA,6DAAIA,EAAY,cAAkBC,EAAc,gBAAoBC,EAAW,CAAC,MAAM,YAAY,QAAQ,SAAS,IAAI,QAAQ,QAAQ,YAAY,aAAa,WAAeC,EAAkB,WAAW,IAAIC,EAAE,GAAOC,GAAE,EAASC,EAAEC,SAAaC,EAAE,SAASH,GAAGD,EAAEK,SAAQ,SAAUL,GAAG,OAAOA,EAAEM,UAAUC,OAAOX,MAAgBK,EAAEI,SAAQ,SAAUL,GAAG,OAAOA,EAAEM,UAAUE,IAAIZ,MAAgBI,EAAEC,GAAOQ,EAAE,WAAWR,GAAE,EAAMG,EAAE,KAAKF,EAAEQ,iBAAiB,WAAU,SAAUV,GAAGC,EAAEH,EAAWa,SAASX,EAAEY,KAASX,GAAGG,EAAE,OAAQF,EAAEQ,iBAAiB,WAAU,SAAUV,GAAG,GAAGC,GAAGD,EAAEa,aAAa,CAAC,IAAIX,EAAEF,EAAEa,eAAeC,QAAO,SAAUd,GAAG,QAAGA,EAAEM,WAAkBN,EAAEM,UAAUS,SAASlB,MAA+BO,EAAEF,OAAOA,EAAEQ,iBAAiB,YAAW,WAAeR,EAAEc,gBAAgBd,EAAEe,MAAMb,EAAE,OAAQF,EAAEQ,iBAAiB,aAAaD,GAAGP,EAAEQ,iBAAiB,YAAYD","file":"js/chunk-2d0b33e3.2e69defc.js","sourcesContent":["var ION_FOCUSED=\"ion-focused\";var ION_FOCUSABLE=\"ion-focusable\";var FOCUS_KEYS=[\"Tab\",\"ArrowDown\",\"Space\",\"Escape\",\" \",\"Shift\",\"Enter\",\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\"];var startFocusVisible=function(){var t=[];var e=true;var n=document;var r=function(e){t.forEach((function(t){return t.classList.remove(ION_FOCUSED)}));e.forEach((function(t){return t.classList.add(ION_FOCUSED)}));t=e};var o=function(){e=false;r([])};n.addEventListener(\"keydown\",(function(t){e=FOCUS_KEYS.includes(t.key);if(!e){r([])}}));n.addEventListener(\"focusin\",(function(t){if(e&&t.composedPath){var n=t.composedPath().filter((function(t){if(t.classList){return t.classList.contains(ION_FOCUSABLE)}return false}));r(n)}}));n.addEventListener(\"focusout\",(function(){if(n.activeElement===n.body){r([])}}));n.addEventListener(\"touchstart\",o);n.addEventListener(\"mousedown\",o)};export{startFocusVisible};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d0baac9.ecbd8a2b.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0baac9"],{"37e4":function(t,e,n){"use strict";n.r(e),n.d(e,"startTapClick",(function(){return i}));var o=n("61cf"),i=function(t){var e,n,i,v,l=10*-f,p=0,L=t.getBoolean("animated",!0)&&t.getBoolean("rippleEffect",!0),m=new WeakMap,w=function(){return void 0!==e&&null!==e.parentElement},h=function(t){l=Object(o["o"])(t),j(t)},E=function(t){l=Object(o["o"])(t),k(t)},b=function(t){var e=Object(o["o"])(t)-f;l0&&!r(e)){var i=setTimeout((function(){e.classList.remove(s),m.delete(e)}),d);m.set(e,i)}else e.classList.remove(s)}},q=document;q.addEventListener("ionScrollStart",(function(t){e=t.target,T()})),q.addEventListener("ionScrollEnd",(function(){e=void 0})),q.addEventListener("ionGestureCaptured",T),q.addEventListener("touchstart",h,!0),q.addEventListener("touchcancel",E,!0),q.addEventListener("touchend",E,!0),q.addEventListener("mousedown",b,!0),q.addEventListener("mouseup",g,!0)},a=function(t){if(!t.composedPath)return t.target.closest(".ion-activatable");for(var e=t.composedPath(),n=0;n=0&&(i>.2||e.deltaX>u),s=d?1-a:a,f=s*n,w=0;if(f>5){var h=f/Math.abs(i);w=Math.min(h,540)}c(d,a<=0?.01:Object(r["j"])(0,a,.9999),w)};return Object(a["createGesture"])({el:e,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:u,onStart:n,onMove:d,onEnd:s})})}}]);
2 | //# sourceMappingURL=chunk-2d2073d6.9e36930f.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d2073d6.9e36930f.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/swipe-back-fae97365.js"],"names":["createSwipeBackGesture","r","e","t","a","n","o","ownerDocument","defaultView","i","startX","c","deltaX","innerWidth","v","velocityX","s","u","l","d","Math","abs","min","el","gestureName","gesturePriority","threshold","canStart","onStart","onMove","onEnd"],"mappings":"gHAAA,0FAA0IA,GAA1I,UAAiK,SAASC,EAAEC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEL,EAAEM,cAAcC,YAAgBC,EAAE,SAASR,GAAG,OAAOA,EAAES,QAAQ,IAAIR,KAASS,EAAE,SAASV,GAAG,IAAIC,EAAED,EAAEW,OAAWT,EAAED,EAAEI,EAAEO,WAAWT,EAAED,IAAQW,EAAE,SAASb,GAAG,IAAIC,EAAED,EAAEW,OAAWT,EAAEG,EAAEO,WAAeT,EAAEF,EAAEC,EAAMM,EAAER,EAAEc,UAAcJ,EAAER,EAAE,EAAMW,EAAEL,GAAG,IAAIA,EAAE,IAAIR,EAAEW,OAAOD,GAAOK,EAAEF,EAAE,EAAEV,EAAEA,EAAMa,EAAED,EAAEb,EAAMe,EAAE,EAAE,GAAGD,EAAE,EAAE,CAAC,IAAIE,EAAEF,EAAEG,KAAKC,IAAIZ,GAAGS,EAAEE,KAAKE,IAAIH,EAAE,KAAKd,EAAES,EAAEV,GAAG,EAAE,IAAI,eAAM,EAAEA,EAAE,OAAOc,IAAI,OAAO,2BAAc,CAACK,GAAGtB,EAAEuB,YAAY,eAAeC,gBAAgB,GAAGC,UAAU,GAAGC,SAASlB,EAAEmB,QAAQzB,EAAE0B,OAAOlB,EAAEmB,MAAMhB","file":"js/chunk-2d2073d6.9e36930f.js","sourcesContent":["import{j as clamp}from\"./helpers-dd7e4b7b.js\";import{createGesture}from\"./index-34cb2743.js\";import\"./gesture-controller-31cb6bb9.js\";var createSwipeBackGesture=function(r,e,t,a,n){var o=r.ownerDocument.defaultView;var i=function(r){return r.startX<=50&&e()};var c=function(r){var e=r.deltaX;var t=e/o.innerWidth;a(t)};var v=function(r){var e=r.deltaX;var t=o.innerWidth;var a=e/t;var i=r.velocityX;var c=t/2;var v=i>=0&&(i>.2||r.deltaX>c);var s=v?1-a:a;var u=s*t;var l=0;if(u>5){var d=u/Math.abs(i);l=Math.min(d,540)}n(v,a<=0?.01:clamp(0,a,.9999),l)};return createGesture({el:r,gestureName:\"goback-swipe\",gesturePriority:40,threshold:10,canStart:i,onStart:t,onMove:c,onEnd:v})};export{createSwipeBackGesture};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d218068.115cead1.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d218068"],{c8da:function(t,n,i){"use strict";i.r(n),i.d(n,"ion_ripple_effect",(function(){return s}));var e=i("9ab4"),a=i("6d28"),o=i("7d8d"),r=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",s=function(){function t(t){Object(a["o"])(this,t),this.type="bounded"}return t.prototype.addRipple=function(t,n){return Object(e["a"])(this,void 0,void 0,(function(){var i=this;return Object(e["c"])(this,(function(e){return[2,new Promise((function(e){Object(a["h"])((function(){var o=i.el.getBoundingClientRect(),r=o.width,s=o.height,m=Math.sqrt(r*r+s*s),u=Math.max(s,r),d=i.unbounded?u:m+f,p=Math.floor(u*l),b=d/p,w=t-o.left,y=n-o.top;i.unbounded&&(w=.5*r,y=.5*s);var h=w-.5*p,k=y-.5*p,v=.5*r-w,g=.5*s-y;Object(a["f"])((function(){var t=document.createElement("div");t.classList.add("ripple-effect");var n=t.style;n.top=k+"px",n.left=h+"px",n.width=n.height=p+"px",n.setProperty("--final-scale",""+b),n.setProperty("--translate-end",v+"px, "+g+"px");var a=i.el.shadowRoot||i.el;a.appendChild(t),setTimeout((function(){e((function(){c(t)}))}),325)}))}))}))]}))}))},Object.defineProperty(t.prototype,"unbounded",{get:function(){return"unbounded"===this.type},enumerable:!1,configurable:!0}),t.prototype.render=function(){var t,n=Object(o["b"])(this);return Object(a["j"])(a["c"],{role:"presentation",class:(t={},t[n]=!0,t["unbounded"]=this.unbounded,t)})},Object.defineProperty(t.prototype,"el",{get:function(){return Object(a["k"])(this)},enumerable:!1,configurable:!0}),t}(),c=function(t){t.classList.add("fade-out"),setTimeout((function(){t.remove()}),200)},f=10,l=.5;s.style=r}}]);
2 | //# sourceMappingURL=chunk-2d218068.115cead1.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d21a589.a05685ae.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a589"],{bab6:function(n,t,e){"use strict";e.r(t),e.d(t,"startStatusTap",(function(){return i}));var o=e("9ab4"),r=e("6d28"),c=e("61cf"),i=function(){var n=window;n.addEventListener("statusTap",(function(){Object(r["h"])((function(){var t=n.innerWidth,e=n.innerHeight,i=document.elementFromPoint(t/2,e/2);if(i){var s=i.closest("ion-content");s&&new Promise((function(n){return Object(c["c"])(s,n)})).then((function(){Object(r["f"])((function(){return Object(o["a"])(void 0,void 0,void 0,(function(){return Object(o["c"])(this,(function(n){switch(n.label){case 0:return s.style.setProperty("--overflow","hidden"),[4,s.scrollToTop(300)];case 1:return n.sent(),s.style.removeProperty("--overflow"),[2]}}))}))}))}))}}))}))}}}]);
2 | //# sourceMappingURL=chunk-2d21a589.a05685ae.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d21a589.a05685ae.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/status-tap-5c3a5bca.js"],"names":["startStatusTap","t","window","addEventListener","e","innerWidth","r","innerHeight","n","document","elementFromPoint","o","closest","Promise","then","this","label","style","setProperty","scrollToTop","sent","removeProperty"],"mappings":"gHAAA,8FAAoKA,EAAe,WAAW,IAAIC,EAAEC,OAAOD,EAAEE,iBAAiB,aAAY,WAAY,gBAAS,WAAY,IAAIC,EAAEH,EAAEI,WAAeC,EAAEL,EAAEM,YAAgBC,EAAEC,SAASC,iBAAiBN,EAAE,EAAEE,EAAE,GAAG,GAAIE,EAAJ,CAAc,IAAIG,EAAEH,EAAEI,QAAQ,eAAkBD,GAAG,IAAIE,SAAQ,SAAUZ,GAAG,OAAO,eAAiBU,EAAEV,MAAMa,MAAK,WAAY,gBAAU,WAAY,OAAO,oBAAU,OAAO,OAAO,GAAO,WAAY,OAAO,eAAYC,MAAK,SAAUd,GAAG,OAAOA,EAAEe,OAAO,KAAK,EAA6C,OAA3CL,EAAEM,MAAMC,YAAY,aAAa,UAAgB,CAAC,EAAEP,EAAEQ,YAAY,MAAM,KAAK,EAAgD,OAA9ClB,EAAEmB,OAAOT,EAAEM,MAAMI,eAAe,cAAoB,CAAC","file":"js/chunk-2d21a589.a05685ae.js","sourcesContent":["import{__awaiter,__generator}from\"tslib\";import{f as readTask,c as writeTask}from\"./index-7a8b7a1c.js\";import{c as componentOnReady}from\"./helpers-dd7e4b7b.js\";var startStatusTap=function(){var t=window;t.addEventListener(\"statusTap\",(function(){readTask((function(){var e=t.innerWidth;var r=t.innerHeight;var n=document.elementFromPoint(e/2,r/2);if(!n){return}var o=n.closest(\"ion-content\");if(o){new Promise((function(t){return componentOnReady(o,t)})).then((function(){writeTask((function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:o.style.setProperty(\"--overflow\",\"hidden\");return[4,o.scrollToTop(300)];case 1:t.sent();o.style.removeProperty(\"--overflow\");return[2]}}))}))}))}))}}))}))};export{startStatusTap};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d2376e6.a05b70ee.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2376e6"],{faa6:function(n,t,e){"use strict";e.r(t),e.d(t,"KEYBOARD_DID_CLOSE",(function(){return o})),e.d(t,"KEYBOARD_DID_OPEN",(function(){return i})),e.d(t,"copyVisualViewport",(function(){return k})),e.d(t,"keyboardDidClose",(function(){return g})),e.d(t,"keyboardDidOpen",(function(){return w})),e.d(t,"keyboardDidResize",(function(){return b})),e.d(t,"resetKeyboardAssist",(function(){return f})),e.d(t,"setKeyboardClose",(function(){return p})),e.d(t,"setKeyboardOpen",(function(){return h})),e.d(t,"startKeyboardAssist",(function(){return s})),e.d(t,"trackViewportChanges",(function(){return D}));var i="ionKeyboardDidShow",o="ionKeyboardDidHide",r=150,u={},d={},a=!1,f=function(){u={},d={},a=!1},s=function(n){c(n),n.visualViewport&&(d=k(n.visualViewport),n.visualViewport.onresize=function(){D(n),w()||b(n)?h(n):g(n)&&p(n)})},c=function(n){n.addEventListener("keyboardDidShow",(function(t){return h(n,t)})),n.addEventListener("keyboardDidHide",(function(){return p(n)}))},h=function(n,t){v(n,t),a=!0},p=function(n){y(n),a=!1},w=function(){var n=(u.height-d.height)*d.scale;return!a&&u.width===d.width&&n>r},b=function(n){return a&&!g(n)},g=function(n){return a&&d.height===n.innerHeight},v=function(n,t){var e=t?t.keyboardHeight:n.innerHeight-d.height,o=new CustomEvent(i,{detail:{keyboardHeight:e}});n.dispatchEvent(o)},y=function(n){var t=new CustomEvent(o);n.dispatchEvent(t)},D=function(n){u=Object.assign({},d),d=k(n.visualViewport)},k=function(n){return{width:Math.round(n.width),height:Math.round(n.height),offsetTop:n.offsetTop,offsetLeft:n.offsetLeft,pageTop:n.pageTop,pageLeft:n.pageLeft,scale:n.scale}}}}]);
2 | //# sourceMappingURL=chunk-2d2376e6.a05b70ee.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-2d2376e6.a05b70ee.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/keyboard-5742b5da.js"],"names":["KEYBOARD_DID_OPEN","KEYBOARD_DID_CLOSE","KEYBOARD_THRESHOLD","previousVisualViewport","currentVisualViewport","keyboardOpen","resetKeyboardAssist","startKeyboardAssist","e","startNativeListeners","visualViewport","copyVisualViewport","onresize","trackViewportChanges","keyboardDidOpen","keyboardDidResize","setKeyboardOpen","keyboardDidClose","setKeyboardClose","addEventListener","r","fireKeyboardOpenEvent","fireKeyboardCloseEvent","height","scale","width","innerHeight","t","keyboardHeight","i","CustomEvent","detail","dispatchEvent","Object","assign","Math","round","offsetTop","offsetLeft","pageTop","pageLeft"],"mappings":"gHAAA,ojBAAIA,EAAkB,qBAAyBC,EAAmB,qBAAyBC,EAAmB,IAAQC,EAAuB,GAAOC,EAAsB,GAAOC,GAAa,EAAUC,EAAoB,WAAWH,EAAuB,GAAGC,EAAsB,GAAGC,GAAa,GAAWE,EAAoB,SAASC,GAAGC,EAAqBD,GAAOA,EAAEE,iBAAuBN,EAAsBO,EAAmBH,EAAEE,gBAAgBF,EAAEE,eAAeE,SAAS,WAAWC,EAAqBL,GAAMM,KAAmBC,EAAkBP,GAAIQ,EAAgBR,GAAWS,EAAiBT,IAAIU,EAAiBV,MAAUC,EAAqB,SAASD,GAAGA,EAAEW,iBAAiB,mBAAkB,SAAUC,GAAG,OAAOJ,EAAgBR,EAAEY,MAAMZ,EAAEW,iBAAiB,mBAAkB,WAAY,OAAOD,EAAiBV,OAAWQ,EAAgB,SAASR,EAAEY,GAAGC,EAAsBb,EAAEY,GAAGf,GAAa,GAAUa,EAAiB,SAASV,GAAGc,EAAuBd,GAAGH,GAAa,GAAWS,EAAgB,WAAW,IAAIN,GAAGL,EAAuBoB,OAAOnB,EAAsBmB,QAAQnB,EAAsBoB,MAAM,OAAOnB,GAAcF,EAAuBsB,QAAQrB,EAAsBqB,OAAOjB,EAAEN,GAAwBa,EAAkB,SAASP,GAAG,OAAOH,IAAeY,EAAiBT,IAAQS,EAAiB,SAAST,GAAG,OAAOH,GAAcD,EAAsBmB,SAASf,EAAEkB,aAAiBL,EAAsB,SAASb,EAAEY,GAAG,IAAIO,EAAEP,EAAEA,EAAEQ,eAAepB,EAAEkB,YAAYtB,EAAsBmB,OAAWM,EAAE,IAAIC,YAAY9B,EAAkB,CAAC+B,OAAO,CAACH,eAAeD,KAAKnB,EAAEwB,cAAcH,IAAQP,EAAuB,SAASd,GAAG,IAAIY,EAAE,IAAIU,YAAY7B,GAAoBO,EAAEwB,cAAcZ,IAAQP,EAAqB,SAASL,GAAGL,EAAuB8B,OAAOC,OAAO,GAAG9B,GAAuBA,EAAsBO,EAAmBH,EAAEE,iBAAqBC,EAAmB,SAASH,GAAG,MAAM,CAACiB,MAAMU,KAAKC,MAAM5B,EAAEiB,OAAOF,OAAOY,KAAKC,MAAM5B,EAAEe,QAAQc,UAAU7B,EAAE6B,UAAUC,WAAW9B,EAAE8B,WAAWC,QAAQ/B,EAAE+B,QAAQC,SAAShC,EAAEgC,SAAShB,MAAMhB,EAAEgB","file":"js/chunk-2d2376e6.a05b70ee.js","sourcesContent":["var KEYBOARD_DID_OPEN=\"ionKeyboardDidShow\";var KEYBOARD_DID_CLOSE=\"ionKeyboardDidHide\";var KEYBOARD_THRESHOLD=150;var previousVisualViewport={};var currentVisualViewport={};var keyboardOpen=false;var resetKeyboardAssist=function(){previousVisualViewport={};currentVisualViewport={};keyboardOpen=false};var startKeyboardAssist=function(e){startNativeListeners(e);if(!e.visualViewport){return}currentVisualViewport=copyVisualViewport(e.visualViewport);e.visualViewport.onresize=function(){trackViewportChanges(e);if(keyboardDidOpen()||keyboardDidResize(e)){setKeyboardOpen(e)}else if(keyboardDidClose(e)){setKeyboardClose(e)}}};var startNativeListeners=function(e){e.addEventListener(\"keyboardDidShow\",(function(r){return setKeyboardOpen(e,r)}));e.addEventListener(\"keyboardDidHide\",(function(){return setKeyboardClose(e)}))};var setKeyboardOpen=function(e,r){fireKeyboardOpenEvent(e,r);keyboardOpen=true};var setKeyboardClose=function(e){fireKeyboardCloseEvent(e);keyboardOpen=false};var keyboardDidOpen=function(){var e=(previousVisualViewport.height-currentVisualViewport.height)*currentVisualViewport.scale;return!keyboardOpen&&previousVisualViewport.width===currentVisualViewport.width&&e>KEYBOARD_THRESHOLD};var keyboardDidResize=function(e){return keyboardOpen&&!keyboardDidClose(e)};var keyboardDidClose=function(e){return keyboardOpen&¤tVisualViewport.height===e.innerHeight};var fireKeyboardOpenEvent=function(e,r){var t=r?r.keyboardHeight:e.innerHeight-currentVisualViewport.height;var i=new CustomEvent(KEYBOARD_DID_OPEN,{detail:{keyboardHeight:t}});e.dispatchEvent(i)};var fireKeyboardCloseEvent=function(e){var r=new CustomEvent(KEYBOARD_DID_CLOSE);e.dispatchEvent(r)};var trackViewportChanges=function(e){previousVisualViewport=Object.assign({},currentVisualViewport);currentVisualViewport=copyVisualViewport(e.visualViewport)};var copyVisualViewport=function(e){return{width:Math.round(e.width),height:Math.round(e.height),offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,pageTop:e.pageTop,pageLeft:e.pageLeft,scale:e.scale}};export{KEYBOARD_DID_CLOSE,KEYBOARD_DID_OPEN,copyVisualViewport,keyboardDidClose,keyboardDidOpen,keyboardDidResize,resetKeyboardAssist,setKeyboardClose,setKeyboardOpen,startKeyboardAssist,trackViewportChanges};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-30dd9750.6b7d6eb0.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30dd9750"],{ed3b:function(n,t,r){"use strict";r.r(t),r.d(t,"ion_text",(function(){return i}));var o=r("6d28"),e=r("7d8d"),u=r("feca"),c=":host(.ion-color){color:var(--ion-color-base)}",i=function(){function n(n){Object(o["o"])(this,n)}return n.prototype.render=function(){var n,t=Object(e["b"])(this);return Object(o["j"])(o["c"],{class:Object(u["a"])(this.color,(n={},n[t]=!0,n))},Object(o["j"])("slot",null))},n}();i.style=c},feca:function(n,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return e})),r.d(t,"d",(function(){return a}));var o=r("9ab4"),e=function(n,t){return null!==t.closest(n)},u=function(n,t){var r;return"string"===typeof n&&n.length>0?Object.assign((r={"ion-color":!0},r["ion-color-"+n]=!0,r),t):t},c=function(n){if(void 0!==n){var t=Array.isArray(n)?n:n.split(" ");return t.filter((function(n){return null!=n})).map((function(n){return n.trim()})).filter((function(n){return""!==n}))}return[]},i=function(n){var t={};return c(n).forEach((function(n){return t[n]=!0})),t},f=/^[a-z][a-z0-9+\-.]*:/,a=function(n,t,r,e){return Object(o["a"])(void 0,void 0,void 0,(function(){var u;return Object(o["c"])(this,(function(o){return null!=n&&"#"!==n[0]&&!f.test(n)&&(u=document.querySelector("ion-router"),u)?(null!=t&&t.preventDefault(),[2,u.push(n,r,e)]):[2,!1]}))}))}}}]);
2 | //# sourceMappingURL=chunk-30dd9750.6b7d6eb0.js.map
--------------------------------------------------------------------------------
/amc-mobile-app/ios/App/App/public/js/chunk-30dd9750.6b7d6eb0.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/ion-text.entry.js","webpack:///./node_modules/@ionic/core/dist/esm-es5/theme-ff3fc52f.js"],"names":["textCss","Text","t","this","prototype","render","o","class","color","style","hostContext","r","closest","createColorClasses","e","length","Object","assign","getClassList","undefined","Array","isArray","split","filter","map","trim","getClassMap","forEach","SCHEME","openURL","n","a","test","document","querySelector","preventDefault","push"],"mappings":"gHAAA,wFAAwLA,EAAQ,iDAAqDC,EAAK,WAAW,SAASC,EAAEA,GAAG,eAAiBC,KAAKD,GAAuJ,OAApJA,EAAEE,UAAUC,OAAO,WAAW,IAAIH,EAAMI,EAAE,eAAWH,MAAM,OAAO,eAAE,OAAK,CAACI,MAAM,eAAmBJ,KAAKK,OAAON,EAAE,GAAGA,EAAEI,IAAG,EAAKJ,KAAK,eAAE,OAAO,QAAeA,EAA7M,GAAkND,EAAKQ,MAAMT,G,kCCAvd,wJAA6CU,EAAY,SAASC,EAAET,GAAG,OAAsB,OAAfA,EAAEU,QAAQD,IAAeE,EAAmB,SAASF,EAAET,GAAG,IAAIY,EAAE,MAAkB,kBAAJH,GAAcA,EAAEI,OAAO,EAAEC,OAAOC,QAAQH,EAAE,CAAC,aAAY,GAAMA,EAAE,aAAaH,IAAG,EAAKG,GAAGZ,GAAGA,GAAOgB,EAAa,SAASP,GAAG,QAAOQ,IAAJR,EAAc,CAAC,IAAIT,EAAEkB,MAAMC,QAAQV,GAAGA,EAAEA,EAAEW,MAAM,KAAK,OAAOpB,EAAEqB,QAAO,SAAUZ,GAAG,OAAU,MAAHA,KAAWa,KAAI,SAAUb,GAAG,OAAOA,EAAEc,UAAUF,QAAO,SAAUZ,GAAG,MAAW,KAAJA,KAAU,MAAM,IAAQe,EAAY,SAASf,GAAG,IAAIT,EAAE,GAA4D,OAAzDgB,EAAaP,GAAGgB,SAAQ,SAAUhB,GAAG,OAAOT,EAAES,IAAG,KAAeT,GAAO0B,EAAO,uBAA2BC,EAAQ,SAASlB,EAAET,EAAEY,EAAEgB,GAAG,OAAO,oBAAU,OAAO,OAAO,GAAO,WAAY,IAAIxB,EAAE,OAAO,eAAYH,MAAK,SAAU4B,GAAG,OAAM,MAAHpB,GAAgB,MAAPA,EAAE,KAAWiB,EAAOI,KAAKrB,KAAIL,EAAE2B,SAASC,cAAc,cAAiB5B,IAAS,MAAHJ,GAASA,EAAEiC,iBAAuB,CAAC,EAAE7B,EAAE8B,KAAKzB,EAAEG,EAAEgB,KAAW,CAAC,GAAE","file":"js/chunk-30dd9750.6b7d6eb0.js","sourcesContent":["import{r as registerInstance,h,H as Host}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{c as createColorClasses}from\"./theme-ff3fc52f.js\";var textCss=\":host(.ion-color){color:var(--ion-color-base)}\";var Text=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;var o=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={},t[o]=true,t))},h(\"slot\",null))};return t}();Text.style=textCss;export{Text as ion_text};","import{__awaiter,__generator}from\"tslib\";var hostContext=function(r,t){return t.closest(r)!==null};var createColorClasses=function(r,t){var e;return typeof r===\"string\"&&r.length>0?Object.assign((e={\"ion-color\":true},e[\"ion-color-\"+r]=true,e),t):t};var getClassList=function(r){if(r!==undefined){var t=Array.isArray(r)?r:r.split(\" \");return t.filter((function(r){return r!=null})).map((function(r){return r.trim()})).filter((function(r){return r!==\"\"}))}return[]};var getClassMap=function(r){var t={};getClassList(r).forEach((function(r){return t[r]=true}));return t};var SCHEME=/^[a-z][a-z0-9+\\-.]*:/;var openURL=function(r,t,e,n){return __awaiter(void 0,void 0,void 0,(function(){var o;return __generator(this,(function(a){if(r!=null&&r[0]!==\"#\"&&!SCHEME.test(r)){o=document.querySelector(\"ion-router\");if(o){if(t!=null){t.preventDefault()}return[2,o.push(r,e,n)]}}return[2,false]}))}))};export{createColorClasses as c,getClassMap as g,hostContext as h,openURL as o};"],"sourceRoot":""}
--------------------------------------------------------------------------------
/amc-mobile-app/ios/capacitor-cordova-ios-plugins/CordovaPlugins.podspec:
--------------------------------------------------------------------------------
1 |
2 | Pod::Spec.new do |s|
3 | s.name = 'CordovaPlugins'
4 | s.version = '3.3.1'
5 | s.summary = 'Autogenerated spec'
6 | s.license = 'Unknown'
7 | s.homepage = 'https://example.com'
8 | s.authors = { 'Capacitor Generator' => 'hi@example.com' }
9 | s.source = { :git => 'https://github.com/ionic-team/does-not-exist.git', :tag => '3.3.1' }
10 | s.source_files = 'sources/**/*.{swift,h,m,c,cc,mm,cpp}'
11 | s.ios.deployment_target = '12.0'
12 | s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 WK_WEB_VIEW_ONLY=1' }
13 | s.dependency 'CapacitorCordova'
14 | s.swift_version = '5.1'
15 |
16 | end
--------------------------------------------------------------------------------
/amc-mobile-app/ios/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 | s.name = 'CordovaPluginsResources'
3 | s.version = '0.0.105'
4 | s.summary = 'Resources for Cordova plugins'
5 | s.social_media_url = 'https://twitter.com/capacitorjs'
6 | s.license = 'MIT'
7 | s.homepage = 'https://capacitorjs.com/'
8 | s.authors = { 'Ionic Team' => 'hi@ionicframework.com' }
9 | s.source = { :git => 'https://github.com/ionic-team/capacitor.git', :tag => s.version.to_s }
10 | s.resources = ['resources/*']
11 | end
12 |
--------------------------------------------------------------------------------
/amc-mobile-app/ios/capacitor-cordova-ios-plugins/CordovaPluginsStatic.podspec:
--------------------------------------------------------------------------------
1 |
2 | Pod::Spec.new do |s|
3 | s.name = 'CordovaPluginsStatic'
4 | s.version = '3.3.1'
5 | s.summary = 'Autogenerated spec'
6 | s.license = 'Unknown'
7 | s.homepage = 'https://example.com'
8 | s.authors = { 'Capacitor Generator' => 'hi@example.com' }
9 | s.source = { :git => 'https://github.com/ionic-team/does-not-exist.git', :tag => '3.3.1' }
10 | s.source_files = 'sourcesstatic/**/*.{swift,h,m,c,cc,mm,cpp}'
11 | s.ios.deployment_target = '12.0'
12 | s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 WK_WEB_VIEW_ONLY=1' }
13 | s.dependency 'CapacitorCordova'
14 | s.swift_version = '5.1'
15 | s.static_framework = true
16 | end
--------------------------------------------------------------------------------
/amc-mobile-app/ios/capacitor-cordova-ios-plugins/resources/.gitkeep:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/amc-mobile-app/ios/capacitor-cordova-ios-plugins/sources/.gitkeep:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/amc_flutter/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
--------------------------------------------------------------------------------
/amc_flutter/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled.
5 |
6 | version:
7 | revision: 18a827f3933c19f51862dde3fa472197683249d6
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
17 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
18 | - platform: android
19 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
20 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
21 | - platform: ios
22 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
23 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
24 | - platform: linux
25 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
26 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
27 | - platform: macos
28 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
29 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
30 | - platform: web
31 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
32 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
33 | - platform: windows
34 | create_revision: 18a827f3933c19f51862dde3fa472197683249d6
35 | base_revision: 18a827f3933c19f51862dde3fa472197683249d6
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/amc_flutter/README.md:
--------------------------------------------------------------------------------
1 | # amc_flutter
2 |
3 | A new Flutter project.
4 |
5 | ## Getting Started
6 |
7 | This project is a starting point for a Flutter application.
8 |
9 | A few resources to get you started if this is your first Flutter project:
10 |
11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
13 |
14 | For help getting started with Flutter development, view the
15 | [online documentation](https://docs.flutter.dev/), which offers tutorials,
16 | samples, guidance on mobile development, and a full API reference.
17 |
--------------------------------------------------------------------------------
/amc_flutter/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/amc_flutter/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion flutter.compileSdkVersion
30 | ndkVersion flutter.ndkVersion
31 |
32 | compileOptions {
33 | sourceCompatibility JavaVersion.VERSION_1_8
34 | targetCompatibility JavaVersion.VERSION_1_8
35 | }
36 |
37 | kotlinOptions {
38 | jvmTarget = '1.8'
39 | }
40 |
41 | sourceSets {
42 | main.java.srcDirs += 'src/main/kotlin'
43 | }
44 |
45 | defaultConfig {
46 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
47 | applicationId "com.example.amc_flutter"
48 | // You can update the following values to match your application needs.
49 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
50 | minSdkVersion flutter.minSdkVersion
51 | targetSdkVersion flutter.targetSdkVersion
52 | versionCode flutterVersionCode.toInteger()
53 | versionName flutterVersionName
54 | }
55 |
56 | buildTypes {
57 | release {
58 | // TODO: Add your own signing config for the release build.
59 | // Signing with the debug keys for now, so `flutter run --release` works.
60 | signingConfig signingConfigs.debug
61 | }
62 | }
63 | }
64 |
65 | flutter {
66 | source '../..'
67 | }
68 |
69 | dependencies {
70 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
71 | }
72 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/kotlin/com/example/amc_flutter/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.amc_flutter
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/amc_flutter/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.1.2'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/amc_flutter/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/amc_flutter/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
6 |
--------------------------------------------------------------------------------
/amc_flutter/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Black.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-BlackItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-BlackItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Bold.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-BoldItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-ExtraBold.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-ExtraBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-ExtraBoldItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-ExtraLight.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-ExtraLightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-ExtraLightItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Italic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Light.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-LightItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Medium.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-MediumItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-MediumItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Regular.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-SemiBold.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-SemiBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-SemiBoldItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-Thin.ttf
--------------------------------------------------------------------------------
/amc_flutter/fonts/Poppins-ThinItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/fonts/Poppins-ThinItalic.ttf
--------------------------------------------------------------------------------
/amc_flutter/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 11.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Amc Flutter
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | amc_flutter
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 | UIApplicationSupportsIndirectInputEvents
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/amc_flutter/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/amc_flutter/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | void main() => runApp(const MyApp());
4 |
5 | class MyApp extends StatelessWidget {
6 | const MyApp({super.key});
7 |
8 | static const String _title = 'AMC Trainer';
9 |
10 | @override
11 | Widget build(BuildContext context) {
12 | return MaterialApp(
13 | title: _title,
14 | theme: ThemeData(fontFamily: 'Poppins'),
15 | home: MyStatefulWidget(),
16 | );
17 | }
18 | }
19 |
20 | class MyStatefulWidget extends StatefulWidget {
21 | const MyStatefulWidget({super.key});
22 |
23 | @override
24 | State createState() => _MyStatefulWidgetState();
25 | }
26 |
27 | class _MyStatefulWidgetState extends State {
28 | int _selectedIndex = 0;
29 | static const TextStyle optionStyle =
30 | TextStyle(fontSize: 30, fontWeight: FontWeight.bold);
31 | static const List _widgetOptions = [
32 | Text(
33 | 'Index 0: Train',
34 | style: optionStyle,
35 | ),
36 | Text(
37 | 'Index 1: Profile',
38 | style: optionStyle,
39 | ),
40 | Text(
41 | 'Index 2: Settings',
42 | style: optionStyle,
43 | ),
44 | ];
45 |
46 | void _onItemTapped(int index) {
47 | setState(() {
48 | _selectedIndex = index;
49 | });
50 | }
51 |
52 | @override
53 | Widget build(BuildContext context) {
54 | return Scaffold(
55 | appBar: AppBar(
56 | title: const Text('AMC Trainer'),
57 | ),
58 | body: Center(
59 | child: _widgetOptions.elementAt(_selectedIndex),
60 | ),
61 | bottomNavigationBar: BottomNavigationBar(
62 | items: const [
63 | BottomNavigationBarItem(
64 | icon: Icon(Icons.star),
65 | label: 'Train',
66 | backgroundColor: Colors.orange,
67 | ),
68 | BottomNavigationBarItem(
69 | icon: Icon(Icons.account_circle),
70 | label: 'Profile',
71 | backgroundColor: Colors.purple,
72 | ),
73 | BottomNavigationBarItem(
74 | icon: Icon(Icons.settings),
75 | label: 'Settings',
76 | backgroundColor: Colors.pink,
77 | ),
78 | ],
79 | currentIndex: _selectedIndex,
80 | selectedItemColor: Colors.amber[800],
81 | onTap: _onItemTapped,
82 | ),
83 | );
84 | }
85 | }
86 |
--------------------------------------------------------------------------------
/amc_flutter/linux/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral
2 |
--------------------------------------------------------------------------------
/amc_flutter/linux/flutter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # This file controls Flutter-level build steps. It should not be edited.
2 | cmake_minimum_required(VERSION 3.10)
3 |
4 | set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
5 |
6 | # Configuration provided via flutter tool.
7 | include(${EPHEMERAL_DIR}/generated_config.cmake)
8 |
9 | # TODO: Move the rest of this into files in ephemeral. See
10 | # https://github.com/flutter/flutter/issues/57146.
11 |
12 | # Serves the same purpose as list(TRANSFORM ... PREPEND ...),
13 | # which isn't available in 3.10.
14 | function(list_prepend LIST_NAME PREFIX)
15 | set(NEW_LIST "")
16 | foreach(element ${${LIST_NAME}})
17 | list(APPEND NEW_LIST "${PREFIX}${element}")
18 | endforeach(element)
19 | set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
20 | endfunction()
21 |
22 | # === Flutter Library ===
23 | # System-level dependencies.
24 | find_package(PkgConfig REQUIRED)
25 | pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
26 | pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
27 | pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
28 |
29 | set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
30 |
31 | # Published to parent scope for install step.
32 | set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
33 | set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
34 | set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
35 | set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
36 |
37 | list(APPEND FLUTTER_LIBRARY_HEADERS
38 | "fl_basic_message_channel.h"
39 | "fl_binary_codec.h"
40 | "fl_binary_messenger.h"
41 | "fl_dart_project.h"
42 | "fl_engine.h"
43 | "fl_json_message_codec.h"
44 | "fl_json_method_codec.h"
45 | "fl_message_codec.h"
46 | "fl_method_call.h"
47 | "fl_method_channel.h"
48 | "fl_method_codec.h"
49 | "fl_method_response.h"
50 | "fl_plugin_registrar.h"
51 | "fl_plugin_registry.h"
52 | "fl_standard_message_codec.h"
53 | "fl_standard_method_codec.h"
54 | "fl_string_codec.h"
55 | "fl_value.h"
56 | "fl_view.h"
57 | "flutter_linux.h"
58 | )
59 | list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
60 | add_library(flutter INTERFACE)
61 | target_include_directories(flutter INTERFACE
62 | "${EPHEMERAL_DIR}"
63 | )
64 | target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
65 | target_link_libraries(flutter INTERFACE
66 | PkgConfig::GTK
67 | PkgConfig::GLIB
68 | PkgConfig::GIO
69 | )
70 | add_dependencies(flutter flutter_assemble)
71 |
72 | # === Flutter tool backend ===
73 | # _phony_ is a non-existent file to force this command to run every time,
74 | # since currently there's no way to get a full input/output list from the
75 | # flutter tool.
76 | add_custom_command(
77 | OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
78 | ${CMAKE_CURRENT_BINARY_DIR}/_phony_
79 | COMMAND ${CMAKE_COMMAND} -E env
80 | ${FLUTTER_TOOL_ENVIRONMENT}
81 | "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
82 | ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
83 | VERBATIM
84 | )
85 | add_custom_target(flutter_assemble DEPENDS
86 | "${FLUTTER_LIBRARY}"
87 | ${FLUTTER_LIBRARY_HEADERS}
88 | )
89 |
--------------------------------------------------------------------------------
/amc_flutter/linux/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 |
10 | void fl_register_plugins(FlPluginRegistry* registry) {
11 | }
12 |
--------------------------------------------------------------------------------
/amc_flutter/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/amc_flutter/linux/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | )
7 |
8 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
9 | )
10 |
11 | set(PLUGIN_BUNDLED_LIBRARIES)
12 |
13 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
14 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
15 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
18 | endforeach(plugin)
19 |
20 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
21 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
22 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
23 | endforeach(ffi_plugin)
24 |
--------------------------------------------------------------------------------
/amc_flutter/linux/main.cc:
--------------------------------------------------------------------------------
1 | #include "my_application.h"
2 |
3 | int main(int argc, char** argv) {
4 | g_autoptr(MyApplication) app = my_application_new();
5 | return g_application_run(G_APPLICATION(app), argc, argv);
6 | }
7 |
--------------------------------------------------------------------------------
/amc_flutter/linux/my_application.cc:
--------------------------------------------------------------------------------
1 | #include "my_application.h"
2 |
3 | #include
4 | #ifdef GDK_WINDOWING_X11
5 | #include
6 | #endif
7 |
8 | #include "flutter/generated_plugin_registrant.h"
9 |
10 | struct _MyApplication {
11 | GtkApplication parent_instance;
12 | char** dart_entrypoint_arguments;
13 | };
14 |
15 | G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
16 |
17 | // Implements GApplication::activate.
18 | static void my_application_activate(GApplication* application) {
19 | MyApplication* self = MY_APPLICATION(application);
20 | GtkWindow* window =
21 | GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
22 |
23 | // Use a header bar when running in GNOME as this is the common style used
24 | // by applications and is the setup most users will be using (e.g. Ubuntu
25 | // desktop).
26 | // If running on X and not using GNOME then just use a traditional title bar
27 | // in case the window manager does more exotic layout, e.g. tiling.
28 | // If running on Wayland assume the header bar will work (may need changing
29 | // if future cases occur).
30 | gboolean use_header_bar = TRUE;
31 | #ifdef GDK_WINDOWING_X11
32 | GdkScreen* screen = gtk_window_get_screen(window);
33 | if (GDK_IS_X11_SCREEN(screen)) {
34 | const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
35 | if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
36 | use_header_bar = FALSE;
37 | }
38 | }
39 | #endif
40 | if (use_header_bar) {
41 | GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
42 | gtk_widget_show(GTK_WIDGET(header_bar));
43 | gtk_header_bar_set_title(header_bar, "amc_flutter");
44 | gtk_header_bar_set_show_close_button(header_bar, TRUE);
45 | gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
46 | } else {
47 | gtk_window_set_title(window, "amc_flutter");
48 | }
49 |
50 | gtk_window_set_default_size(window, 1280, 720);
51 | gtk_widget_show(GTK_WIDGET(window));
52 |
53 | g_autoptr(FlDartProject) project = fl_dart_project_new();
54 | fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
55 |
56 | FlView* view = fl_view_new(project);
57 | gtk_widget_show(GTK_WIDGET(view));
58 | gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
59 |
60 | fl_register_plugins(FL_PLUGIN_REGISTRY(view));
61 |
62 | gtk_widget_grab_focus(GTK_WIDGET(view));
63 | }
64 |
65 | // Implements GApplication::local_command_line.
66 | static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
67 | MyApplication* self = MY_APPLICATION(application);
68 | // Strip out the first argument as it is the binary name.
69 | self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
70 |
71 | g_autoptr(GError) error = nullptr;
72 | if (!g_application_register(application, nullptr, &error)) {
73 | g_warning("Failed to register: %s", error->message);
74 | *exit_status = 1;
75 | return TRUE;
76 | }
77 |
78 | g_application_activate(application);
79 | *exit_status = 0;
80 |
81 | return TRUE;
82 | }
83 |
84 | // Implements GObject::dispose.
85 | static void my_application_dispose(GObject* object) {
86 | MyApplication* self = MY_APPLICATION(object);
87 | g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
88 | G_OBJECT_CLASS(my_application_parent_class)->dispose(object);
89 | }
90 |
91 | static void my_application_class_init(MyApplicationClass* klass) {
92 | G_APPLICATION_CLASS(klass)->activate = my_application_activate;
93 | G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line;
94 | G_OBJECT_CLASS(klass)->dispose = my_application_dispose;
95 | }
96 |
97 | static void my_application_init(MyApplication* self) {}
98 |
99 | MyApplication* my_application_new() {
100 | return MY_APPLICATION(g_object_new(my_application_get_type(),
101 | "application-id", APPLICATION_ID,
102 | "flags", G_APPLICATION_NON_UNIQUE,
103 | nullptr));
104 | }
105 |
--------------------------------------------------------------------------------
/amc_flutter/linux/my_application.h:
--------------------------------------------------------------------------------
1 | #ifndef FLUTTER_MY_APPLICATION_H_
2 | #define FLUTTER_MY_APPLICATION_H_
3 |
4 | #include
5 |
6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
7 | GtkApplication)
8 |
9 | /**
10 | * my_application_new:
11 | *
12 | * Creates a new Flutter-based application.
13 | *
14 | * Returns: a new #MyApplication.
15 | */
16 | MyApplication* my_application_new();
17 |
18 | #endif // FLUTTER_MY_APPLICATION_H_
19 |
--------------------------------------------------------------------------------
/amc_flutter/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/dgph
7 | **/xcuserdata/
8 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "ephemeral/Flutter-Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "ephemeral/Flutter-Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Flutter/GeneratedPluginRegistrant.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | import FlutterMacOS
6 | import Foundation
7 |
8 |
9 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
10 | }
11 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @NSApplicationMain
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "16x16",
5 | "idiom" : "mac",
6 | "filename" : "app_icon_16.png",
7 | "scale" : "1x"
8 | },
9 | {
10 | "size" : "16x16",
11 | "idiom" : "mac",
12 | "filename" : "app_icon_32.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "32x32",
17 | "idiom" : "mac",
18 | "filename" : "app_icon_32.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "32x32",
23 | "idiom" : "mac",
24 | "filename" : "app_icon_64.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "128x128",
29 | "idiom" : "mac",
30 | "filename" : "app_icon_128.png",
31 | "scale" : "1x"
32 | },
33 | {
34 | "size" : "128x128",
35 | "idiom" : "mac",
36 | "filename" : "app_icon_256.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "256x256",
41 | "idiom" : "mac",
42 | "filename" : "app_icon_256.png",
43 | "scale" : "1x"
44 | },
45 | {
46 | "size" : "256x256",
47 | "idiom" : "mac",
48 | "filename" : "app_icon_512.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "512x512",
53 | "idiom" : "mac",
54 | "filename" : "app_icon_512.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "512x512",
59 | "idiom" : "mac",
60 | "filename" : "app_icon_1024.png",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Configs/AppInfo.xcconfig:
--------------------------------------------------------------------------------
1 | // Application-level settings for the Runner target.
2 | //
3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
4 | // future. If not, the values below would default to using the project name when this becomes a
5 | // 'flutter create' template.
6 |
7 | // The application's name. By default this is also the title of the Flutter window.
8 | PRODUCT_NAME = amc_flutter
9 |
10 | // The application's bundle identifier
11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.amcFlutter
12 |
13 | // The copyright displayed in application information
14 | PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved.
15 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Configs/Warnings.xcconfig:
--------------------------------------------------------------------------------
1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
2 | GCC_WARN_UNDECLARED_SELECTOR = YES
3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
6 | CLANG_WARN_PRAGMA_PACK = YES
7 | CLANG_WARN_STRICT_PROTOTYPES = YES
8 | CLANG_WARN_COMMA = YES
9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES
10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
12 | GCC_WARN_SHADOW = YES
13 | CLANG_WARN_UNREACHABLE_CODE = YES
14 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | $(PRODUCT_COPYRIGHT)
27 | NSMainNibFile
28 | MainMenu
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/MainFlutterWindow.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | class MainFlutterWindow: NSWindow {
5 | override func awakeFromNib() {
6 | let flutterViewController = FlutterViewController.init()
7 | let windowFrame = self.frame
8 | self.contentViewController = flutterViewController
9 | self.setFrame(windowFrame, display: true)
10 |
11 | RegisterGeneratedPlugins(registry: flutterViewController)
12 |
13 | super.awakeFromNib()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/amc_flutter/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/amc_flutter/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/web/favicon.png
--------------------------------------------------------------------------------
/amc_flutter/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/amc_flutter/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/amc_flutter/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/amc_flutter/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/amc_flutter/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | amc_flutter
33 |
34 |
35 |
39 |
40 |
41 |
42 |
43 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/amc_flutter/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "amc_flutter",
3 | "short_name": "amc_flutter",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | },
22 | {
23 | "src": "icons/Icon-maskable-192.png",
24 | "sizes": "192x192",
25 | "type": "image/png",
26 | "purpose": "maskable"
27 | },
28 | {
29 | "src": "icons/Icon-maskable-512.png",
30 | "sizes": "512x512",
31 | "type": "image/png",
32 | "purpose": "maskable"
33 | }
34 | ]
35 | }
36 |
--------------------------------------------------------------------------------
/amc_flutter/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/amc_flutter/windows/flutter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # This file controls Flutter-level build steps. It should not be edited.
2 | cmake_minimum_required(VERSION 3.14)
3 |
4 | set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
5 |
6 | # Configuration provided via flutter tool.
7 | include(${EPHEMERAL_DIR}/generated_config.cmake)
8 |
9 | # TODO: Move the rest of this into files in ephemeral. See
10 | # https://github.com/flutter/flutter/issues/57146.
11 | set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")
12 |
13 | # === Flutter Library ===
14 | set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
15 |
16 | # Published to parent scope for install step.
17 | set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
18 | set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
19 | set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
20 | set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE)
21 |
22 | list(APPEND FLUTTER_LIBRARY_HEADERS
23 | "flutter_export.h"
24 | "flutter_windows.h"
25 | "flutter_messenger.h"
26 | "flutter_plugin_registrar.h"
27 | "flutter_texture_registrar.h"
28 | )
29 | list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
30 | add_library(flutter INTERFACE)
31 | target_include_directories(flutter INTERFACE
32 | "${EPHEMERAL_DIR}"
33 | )
34 | target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib")
35 | add_dependencies(flutter flutter_assemble)
36 |
37 | # === Wrapper ===
38 | list(APPEND CPP_WRAPPER_SOURCES_CORE
39 | "core_implementations.cc"
40 | "standard_codec.cc"
41 | )
42 | list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/")
43 | list(APPEND CPP_WRAPPER_SOURCES_PLUGIN
44 | "plugin_registrar.cc"
45 | )
46 | list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/")
47 | list(APPEND CPP_WRAPPER_SOURCES_APP
48 | "flutter_engine.cc"
49 | "flutter_view_controller.cc"
50 | )
51 | list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/")
52 |
53 | # Wrapper sources needed for a plugin.
54 | add_library(flutter_wrapper_plugin STATIC
55 | ${CPP_WRAPPER_SOURCES_CORE}
56 | ${CPP_WRAPPER_SOURCES_PLUGIN}
57 | )
58 | apply_standard_settings(flutter_wrapper_plugin)
59 | set_target_properties(flutter_wrapper_plugin PROPERTIES
60 | POSITION_INDEPENDENT_CODE ON)
61 | set_target_properties(flutter_wrapper_plugin PROPERTIES
62 | CXX_VISIBILITY_PRESET hidden)
63 | target_link_libraries(flutter_wrapper_plugin PUBLIC flutter)
64 | target_include_directories(flutter_wrapper_plugin PUBLIC
65 | "${WRAPPER_ROOT}/include"
66 | )
67 | add_dependencies(flutter_wrapper_plugin flutter_assemble)
68 |
69 | # Wrapper sources needed for the runner.
70 | add_library(flutter_wrapper_app STATIC
71 | ${CPP_WRAPPER_SOURCES_CORE}
72 | ${CPP_WRAPPER_SOURCES_APP}
73 | )
74 | apply_standard_settings(flutter_wrapper_app)
75 | target_link_libraries(flutter_wrapper_app PUBLIC flutter)
76 | target_include_directories(flutter_wrapper_app PUBLIC
77 | "${WRAPPER_ROOT}/include"
78 | )
79 | add_dependencies(flutter_wrapper_app flutter_assemble)
80 |
81 | # === Flutter tool backend ===
82 | # _phony_ is a non-existent file to force this command to run every time,
83 | # since currently there's no way to get a full input/output list from the
84 | # flutter tool.
85 | set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_")
86 | set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE)
87 | add_custom_command(
88 | OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
89 | ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN}
90 | ${CPP_WRAPPER_SOURCES_APP}
91 | ${PHONY_OUTPUT}
92 | COMMAND ${CMAKE_COMMAND} -E env
93 | ${FLUTTER_TOOL_ENVIRONMENT}
94 | "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
95 | windows-x64 $
96 | VERBATIM
97 | )
98 | add_custom_target(flutter_assemble DEPENDS
99 | "${FLUTTER_LIBRARY}"
100 | ${FLUTTER_LIBRARY_HEADERS}
101 | ${CPP_WRAPPER_SOURCES_CORE}
102 | ${CPP_WRAPPER_SOURCES_PLUGIN}
103 | ${CPP_WRAPPER_SOURCES_APP}
104 | )
105 |
--------------------------------------------------------------------------------
/amc_flutter/windows/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 |
10 | void RegisterPlugins(flutter::PluginRegistry* registry) {
11 | }
12 |
--------------------------------------------------------------------------------
/amc_flutter/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/amc_flutter/windows/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | )
7 |
8 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
9 | )
10 |
11 | set(PLUGIN_BUNDLED_LIBRARIES)
12 |
13 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
14 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
15 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
18 | endforeach(plugin)
19 |
20 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
21 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
22 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
23 | endforeach(ffi_plugin)
24 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(runner LANGUAGES CXX)
3 |
4 | # Define the application target. To change its name, change BINARY_NAME in the
5 | # top-level CMakeLists.txt, not the value here, or `flutter run` will no longer
6 | # work.
7 | #
8 | # Any new source files that you add to the application should be added here.
9 | add_executable(${BINARY_NAME} WIN32
10 | "flutter_window.cpp"
11 | "main.cpp"
12 | "utils.cpp"
13 | "win32_window.cpp"
14 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
15 | "Runner.rc"
16 | "runner.exe.manifest"
17 | )
18 |
19 | # Apply the standard set of build settings. This can be removed for applications
20 | # that need different build settings.
21 | apply_standard_settings(${BINARY_NAME})
22 |
23 | # Add preprocessor definitions for the build version.
24 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"")
25 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}")
26 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}")
27 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}")
28 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}")
29 |
30 | # Disable Windows macros that collide with C++ standard library functions.
31 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
32 |
33 | # Add dependency libraries and include directories. Add any application-specific
34 | # dependencies here.
35 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
36 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
37 |
38 | # Run the Flutter tool portions of the build. This must not be removed.
39 | add_dependencies(${BINARY_NAME} flutter_assemble)
40 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/Runner.rc:
--------------------------------------------------------------------------------
1 | // Microsoft Visual C++ generated resource script.
2 | //
3 | #pragma code_page(65001)
4 | #include "resource.h"
5 |
6 | #define APSTUDIO_READONLY_SYMBOLS
7 | /////////////////////////////////////////////////////////////////////////////
8 | //
9 | // Generated from the TEXTINCLUDE 2 resource.
10 | //
11 | #include "winres.h"
12 |
13 | /////////////////////////////////////////////////////////////////////////////
14 | #undef APSTUDIO_READONLY_SYMBOLS
15 |
16 | /////////////////////////////////////////////////////////////////////////////
17 | // English (United States) resources
18 |
19 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21 |
22 | #ifdef APSTUDIO_INVOKED
23 | /////////////////////////////////////////////////////////////////////////////
24 | //
25 | // TEXTINCLUDE
26 | //
27 |
28 | 1 TEXTINCLUDE
29 | BEGIN
30 | "resource.h\0"
31 | END
32 |
33 | 2 TEXTINCLUDE
34 | BEGIN
35 | "#include ""winres.h""\r\n"
36 | "\0"
37 | END
38 |
39 | 3 TEXTINCLUDE
40 | BEGIN
41 | "\r\n"
42 | "\0"
43 | END
44 |
45 | #endif // APSTUDIO_INVOKED
46 |
47 |
48 | /////////////////////////////////////////////////////////////////////////////
49 | //
50 | // Icon
51 | //
52 |
53 | // Icon with lowest ID value placed first to ensure application icon
54 | // remains consistent on all systems.
55 | IDI_APP_ICON ICON "resources\\app_icon.ico"
56 |
57 |
58 | /////////////////////////////////////////////////////////////////////////////
59 | //
60 | // Version
61 | //
62 |
63 | #if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
64 | #define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
65 | #else
66 | #define VERSION_AS_NUMBER 1,0,0,0
67 | #endif
68 |
69 | #if defined(FLUTTER_VERSION)
70 | #define VERSION_AS_STRING FLUTTER_VERSION
71 | #else
72 | #define VERSION_AS_STRING "1.0.0"
73 | #endif
74 |
75 | VS_VERSION_INFO VERSIONINFO
76 | FILEVERSION VERSION_AS_NUMBER
77 | PRODUCTVERSION VERSION_AS_NUMBER
78 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
79 | #ifdef _DEBUG
80 | FILEFLAGS VS_FF_DEBUG
81 | #else
82 | FILEFLAGS 0x0L
83 | #endif
84 | FILEOS VOS__WINDOWS32
85 | FILETYPE VFT_APP
86 | FILESUBTYPE 0x0L
87 | BEGIN
88 | BLOCK "StringFileInfo"
89 | BEGIN
90 | BLOCK "040904e4"
91 | BEGIN
92 | VALUE "CompanyName", "com.example" "\0"
93 | VALUE "FileDescription", "amc_flutter" "\0"
94 | VALUE "FileVersion", VERSION_AS_STRING "\0"
95 | VALUE "InternalName", "amc_flutter" "\0"
96 | VALUE "LegalCopyright", "Copyright (C) 2022 com.example. All rights reserved." "\0"
97 | VALUE "OriginalFilename", "amc_flutter.exe" "\0"
98 | VALUE "ProductName", "amc_flutter" "\0"
99 | VALUE "ProductVersion", VERSION_AS_STRING "\0"
100 | END
101 | END
102 | BLOCK "VarFileInfo"
103 | BEGIN
104 | VALUE "Translation", 0x409, 1252
105 | END
106 | END
107 |
108 | #endif // English (United States) resources
109 | /////////////////////////////////////////////////////////////////////////////
110 |
111 |
112 |
113 | #ifndef APSTUDIO_INVOKED
114 | /////////////////////////////////////////////////////////////////////////////
115 | //
116 | // Generated from the TEXTINCLUDE 3 resource.
117 | //
118 |
119 |
120 | /////////////////////////////////////////////////////////////////////////////
121 | #endif // not APSTUDIO_INVOKED
122 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/flutter_window.cpp:
--------------------------------------------------------------------------------
1 | #include "flutter_window.h"
2 |
3 | #include
4 |
5 | #include "flutter/generated_plugin_registrant.h"
6 |
7 | FlutterWindow::FlutterWindow(const flutter::DartProject& project)
8 | : project_(project) {}
9 |
10 | FlutterWindow::~FlutterWindow() {}
11 |
12 | bool FlutterWindow::OnCreate() {
13 | if (!Win32Window::OnCreate()) {
14 | return false;
15 | }
16 |
17 | RECT frame = GetClientArea();
18 |
19 | // The size here must match the window dimensions to avoid unnecessary surface
20 | // creation / destruction in the startup path.
21 | flutter_controller_ = std::make_unique(
22 | frame.right - frame.left, frame.bottom - frame.top, project_);
23 | // Ensure that basic setup of the controller was successful.
24 | if (!flutter_controller_->engine() || !flutter_controller_->view()) {
25 | return false;
26 | }
27 | RegisterPlugins(flutter_controller_->engine());
28 | SetChildContent(flutter_controller_->view()->GetNativeWindow());
29 | return true;
30 | }
31 |
32 | void FlutterWindow::OnDestroy() {
33 | if (flutter_controller_) {
34 | flutter_controller_ = nullptr;
35 | }
36 |
37 | Win32Window::OnDestroy();
38 | }
39 |
40 | LRESULT
41 | FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
42 | WPARAM const wparam,
43 | LPARAM const lparam) noexcept {
44 | // Give Flutter, including plugins, an opportunity to handle window messages.
45 | if (flutter_controller_) {
46 | std::optional result =
47 | flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
48 | lparam);
49 | if (result) {
50 | return *result;
51 | }
52 | }
53 |
54 | switch (message) {
55 | case WM_FONTCHANGE:
56 | flutter_controller_->engine()->ReloadSystemFonts();
57 | break;
58 | }
59 |
60 | return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
61 | }
62 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/flutter_window.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_FLUTTER_WINDOW_H_
2 | #define RUNNER_FLUTTER_WINDOW_H_
3 |
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | #include "win32_window.h"
10 |
11 | // A window that does nothing but host a Flutter view.
12 | class FlutterWindow : public Win32Window {
13 | public:
14 | // Creates a new FlutterWindow hosting a Flutter view running |project|.
15 | explicit FlutterWindow(const flutter::DartProject& project);
16 | virtual ~FlutterWindow();
17 |
18 | protected:
19 | // Win32Window:
20 | bool OnCreate() override;
21 | void OnDestroy() override;
22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
23 | LPARAM const lparam) noexcept override;
24 |
25 | private:
26 | // The project to run.
27 | flutter::DartProject project_;
28 |
29 | // The Flutter instance hosted by this window.
30 | std::unique_ptr flutter_controller_;
31 | };
32 |
33 | #endif // RUNNER_FLUTTER_WINDOW_H_
34 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 | #include "flutter_window.h"
6 | #include "utils.h"
7 |
8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
9 | _In_ wchar_t *command_line, _In_ int show_command) {
10 | // Attach to console when present (e.g., 'flutter run') or create a
11 | // new console when running with a debugger.
12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
13 | CreateAndAttachConsole();
14 | }
15 |
16 | // Initialize COM, so that it is available for use in the library and/or
17 | // plugins.
18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
19 |
20 | flutter::DartProject project(L"data");
21 |
22 | std::vector command_line_arguments =
23 | GetCommandLineArguments();
24 |
25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
26 |
27 | FlutterWindow window(project);
28 | Win32Window::Point origin(10, 10);
29 | Win32Window::Size size(1280, 720);
30 | if (!window.CreateAndShow(L"amc_flutter", origin, size)) {
31 | return EXIT_FAILURE;
32 | }
33 | window.SetQuitOnClose(true);
34 |
35 | ::MSG msg;
36 | while (::GetMessage(&msg, nullptr, 0, 0)) {
37 | ::TranslateMessage(&msg);
38 | ::DispatchMessage(&msg);
39 | }
40 |
41 | ::CoUninitialize();
42 | return EXIT_SUCCESS;
43 | }
44 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by Runner.rc
4 | //
5 | #define IDI_APP_ICON 101
6 |
7 | // Next default values for new objects
8 | //
9 | #ifdef APSTUDIO_INVOKED
10 | #ifndef APSTUDIO_READONLY_SYMBOLS
11 | #define _APS_NEXT_RESOURCE_VALUE 102
12 | #define _APS_NEXT_COMMAND_VALUE 40001
13 | #define _APS_NEXT_CONTROL_VALUE 1001
14 | #define _APS_NEXT_SYMED_VALUE 101
15 | #endif
16 | #endif
17 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/resources/app_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/amc_flutter/windows/runner/resources/app_icon.ico
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/runner.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PerMonitorV2
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/utils.cpp:
--------------------------------------------------------------------------------
1 | #include "utils.h"
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 |
8 | #include
9 |
10 | void CreateAndAttachConsole() {
11 | if (::AllocConsole()) {
12 | FILE *unused;
13 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
14 | _dup2(_fileno(stdout), 1);
15 | }
16 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
17 | _dup2(_fileno(stdout), 2);
18 | }
19 | std::ios::sync_with_stdio();
20 | FlutterDesktopResyncOutputStreams();
21 | }
22 | }
23 |
24 | std::vector GetCommandLineArguments() {
25 | // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
26 | int argc;
27 | wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
28 | if (argv == nullptr) {
29 | return std::vector();
30 | }
31 |
32 | std::vector command_line_arguments;
33 |
34 | // Skip the first argument as it's the binary name.
35 | for (int i = 1; i < argc; i++) {
36 | command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
37 | }
38 |
39 | ::LocalFree(argv);
40 |
41 | return command_line_arguments;
42 | }
43 |
44 | std::string Utf8FromUtf16(const wchar_t* utf16_string) {
45 | if (utf16_string == nullptr) {
46 | return std::string();
47 | }
48 | int target_length = ::WideCharToMultiByte(
49 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
50 | -1, nullptr, 0, nullptr, nullptr);
51 | std::string utf8_string;
52 | if (target_length == 0 || target_length > utf8_string.max_size()) {
53 | return utf8_string;
54 | }
55 | utf8_string.resize(target_length);
56 | int converted_length = ::WideCharToMultiByte(
57 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
58 | -1, utf8_string.data(),
59 | target_length, nullptr, nullptr);
60 | if (converted_length == 0) {
61 | return std::string();
62 | }
63 | return utf8_string;
64 | }
65 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/utils.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_UTILS_H_
2 | #define RUNNER_UTILS_H_
3 |
4 | #include
5 | #include
6 |
7 | // Creates a console for the process, and redirects stdout and stderr to
8 | // it for both the runner and the Flutter library.
9 | void CreateAndAttachConsole();
10 |
11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
12 | // encoded in UTF-8. Returns an empty std::string on failure.
13 | std::string Utf8FromUtf16(const wchar_t* utf16_string);
14 |
15 | // Gets the command line arguments passed in as a std::vector,
16 | // encoded in UTF-8. Returns an empty std::vector on failure.
17 | std::vector GetCommandLineArguments();
18 |
19 | #endif // RUNNER_UTILS_H_
20 |
--------------------------------------------------------------------------------
/amc_flutter/windows/runner/win32_window.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_WIN32_WINDOW_H_
2 | #define RUNNER_WIN32_WINDOW_H_
3 |
4 | #include
5 |
6 | #include
7 | #include
8 | #include
9 |
10 | // A class abstraction for a high DPI-aware Win32 Window. Intended to be
11 | // inherited from by classes that wish to specialize with custom
12 | // rendering and input handling
13 | class Win32Window {
14 | public:
15 | struct Point {
16 | unsigned int x;
17 | unsigned int y;
18 | Point(unsigned int x, unsigned int y) : x(x), y(y) {}
19 | };
20 |
21 | struct Size {
22 | unsigned int width;
23 | unsigned int height;
24 | Size(unsigned int width, unsigned int height)
25 | : width(width), height(height) {}
26 | };
27 |
28 | Win32Window();
29 | virtual ~Win32Window();
30 |
31 | // Creates and shows a win32 window with |title| and position and size using
32 | // |origin| and |size|. New windows are created on the default monitor. Window
33 | // sizes are specified to the OS in physical pixels, hence to ensure a
34 | // consistent size to will treat the width height passed in to this function
35 | // as logical pixels and scale to appropriate for the default monitor. Returns
36 | // true if the window was created successfully.
37 | bool CreateAndShow(const std::wstring& title,
38 | const Point& origin,
39 | const Size& size);
40 |
41 | // Release OS resources associated with window.
42 | void Destroy();
43 |
44 | // Inserts |content| into the window tree.
45 | void SetChildContent(HWND content);
46 |
47 | // Returns the backing Window handle to enable clients to set icon and other
48 | // window properties. Returns nullptr if the window has been destroyed.
49 | HWND GetHandle();
50 |
51 | // If true, closing this window will quit the application.
52 | void SetQuitOnClose(bool quit_on_close);
53 |
54 | // Return a RECT representing the bounds of the current client area.
55 | RECT GetClientArea();
56 |
57 | protected:
58 | // Processes and route salient window messages for mouse handling,
59 | // size change and DPI. Delegates handling of these to member overloads that
60 | // inheriting classes can handle.
61 | virtual LRESULT MessageHandler(HWND window,
62 | UINT const message,
63 | WPARAM const wparam,
64 | LPARAM const lparam) noexcept;
65 |
66 | // Called when CreateAndShow is called, allowing subclass window-related
67 | // setup. Subclasses should return false if setup fails.
68 | virtual bool OnCreate();
69 |
70 | // Called when Destroy is called.
71 | virtual void OnDestroy();
72 |
73 | private:
74 | friend class WindowClassRegistrar;
75 |
76 | // OS callback called by message pump. Handles the WM_NCCREATE message which
77 | // is passed when the non-client area is being created and enables automatic
78 | // non-client DPI scaling so that the non-client area automatically
79 | // responsponds to changes in DPI. All other messages are handled by
80 | // MessageHandler.
81 | static LRESULT CALLBACK WndProc(HWND const window,
82 | UINT const message,
83 | WPARAM const wparam,
84 | LPARAM const lparam) noexcept;
85 |
86 | // Retrieves a class instance pointer for |window|
87 | static Win32Window* GetThisFromHandle(HWND const window) noexcept;
88 |
89 | bool quit_on_close_ = false;
90 |
91 | // window handle for top level window.
92 | HWND window_handle_ = nullptr;
93 |
94 | // window handle for hosted content.
95 | HWND child_content_ = nullptr;
96 | };
97 |
98 | #endif // RUNNER_WIN32_WINDOW_H_
99 |
--------------------------------------------------------------------------------
/docs/Navigation.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | name: Navigation 🗺
3 | route: /docs/Navigation
4 | ---
5 |
6 | # Navigation
7 |
8 | ## Answer Format
9 | The answer format for AMC 8/10/12 is a single letter from the multiple choice options (A, B, C, D, or E). You may enter the letter as uppercase or lowercase.
10 |
11 | For AIME problems, your answer must be a single 3-digit number. For example, if you find the answer to the problem is 123, please enter 123 as your answer. Also, make sure to include leading zeros for numbers less than 100. For example, if your answer is 67, please enter 067. If your answer is 9, enter 009.
12 |
13 | ## Settings
14 | The AMC trainer also provides several customization options. They are broken down by category below.
15 |
16 | ### Options
17 | In this tab, you are able to customize which math competition to train with. You can choose a single exam version (AMC 8, AMC 10, AMC 12, or AIME) or a combination of all of them with the “All” option. You may also find that some problems in the AMC 10 show up in the AMC 12, or vice versa; this is because the MAA (Mathematical Association of America) specifically overlaps problems between the two tests. Although they may be the same problems, they are not always in the same section of the test. In other words, an AMC 12 # 5 might be placed as an AMC 10 #11 since AMC 12 problems tend to be more difficult than AMC 10 problems.
18 |
19 | ### Colors
20 | In this tab, you can change the color of a variety of components on the webpage. At the top, you may change the text color of the problem and invert the images. This feature is implemented mostly to allow for a seamless experience with a dark color scheme (see below).
21 |
22 | In the colors settings, you can also customize the background and button colors. The first box will set the left color for the background gradient and the second box will set the right color for the background gradient. Also, the buttons are bound to the background gradient colors such that the first box will set the right color for the button gradient and the second box will set the left color for the button gradient. In other words, the background and button gradients are horizontally inversely bound to each other.
23 |
24 | ### Customization
25 | In the final tab, you have the ability to toggle the wiggle of images when you hover over them. This is more for aesthetic purposes than for actually helping in training.
26 |
27 | You can also change the font family of all the text on the screen to your liking. It is important to note that some of the fonts will not render as it depends on the fonts installed on your browser (i.e. Chrome, Firefox, Safari, etc.) and operating system (i.e. Windows, Mac, Linux, etc.).
28 |
29 | ## More Features
30 | You may have also noticed two other icons on the screen: the fire icon and the pencil image.
31 |
32 | ### Streak
33 | The fire icon represents your correct problem streak. If you get a problem correct, your streak will increase by 1. Be careful! If you get a problem incorrect, your streak will reset to 0.
34 |
35 | ### Drawing Tool
36 | When you click on the pencil image, it triggers the on-screen drawing tool. With this drawing tool, you can change the color of your drawing tool, you can clear the screen with the garbage can icon, and you can also erase with the eraser icon.
37 |
--------------------------------------------------------------------------------
/img/amctrainercard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/amctrainercard.png
--------------------------------------------------------------------------------
/img/arrow-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/circle_cursor.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/circle_cursor.ico
--------------------------------------------------------------------------------
/img/corner-down-left.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/corner-down-right.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/draw.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/eraser.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/eraser.png
--------------------------------------------------------------------------------
/img/eraser.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/fire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/fire.png
--------------------------------------------------------------------------------
/img/help.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/icon.png
--------------------------------------------------------------------------------
/img/info_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/info_button.png
--------------------------------------------------------------------------------
/img/list.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/logo_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_black.png
--------------------------------------------------------------------------------
/img/logo_blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_blue.png
--------------------------------------------------------------------------------
/img/logo_green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_green.png
--------------------------------------------------------------------------------
/img/logo_orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_orange.png
--------------------------------------------------------------------------------
/img/logo_purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_purple.png
--------------------------------------------------------------------------------
/img/logo_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_red.png
--------------------------------------------------------------------------------
/img/logo_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_white.png
--------------------------------------------------------------------------------
/img/logo_yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/logo_yellow.png
--------------------------------------------------------------------------------
/img/pencil.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/report.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/report_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/report_button.png
--------------------------------------------------------------------------------
/img/reset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrewboldi/AMC-Trainer/4664648dd6ff8f650e09287cc1cd75ce4561c878/img/reset.png
--------------------------------------------------------------------------------
/img/settings.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/img/trash.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/js/tab.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | const modal = document.getElementById("settingsButton");
4 | const info = document.getElementById("infoButton");
5 | const streak = document.getElementById("streakModal");
6 |
7 | document.getElementsByClassName("tabButton")[0].click();
8 |
9 | function changeTab(obj, evt, tabName) { // skipcq: JS-0239
10 | const all = document.querySelectorAll(".tabButton");
11 | for(var i = 0;i < all.length; i++){
12 | all[i].style.background = 'transparent';
13 | all[i].style.color = '#426696';
14 | }
15 | obj.style.backgroundImage = 'linear-gradient(to right top, #63b7dd, #63ddc7)';
16 | obj.style.color = 'white';
17 |
18 | const x = document.getElementsByClassName("tab");
19 | for (let i = 0; i < x.length; i++) {
20 | x[i].style.display = "none";
21 | }
22 | document.getElementById(tabName).style.display = "block";
23 | }
24 | window.onclick = function(event) {
25 | if (event.target === modal) {
26 | modal.style.display = "none";
27 | saveSettings();
28 | } else if (event.target === info) {
29 | info.style.display = "none";
30 | } else if (event.target === streak) {
31 | streak.style.display = "none";
32 | }
33 | }
34 |
--------------------------------------------------------------------------------