diff --git a/Shortcuts/README.md b/Shortcuts/README.md
index ac85db5..c9a44e4 100644
--- a/Shortcuts/README.md
+++ b/Shortcuts/README.md
@@ -1,19 +1,15 @@
-# StadiaIcons Shortcuts BETA
+# StadiaIcons Shortcuts
+
## What is it?
StadiaIcons Shortcuts is a system that leverages the power of Progressive Web Apps and some popup trickery to allow you to easily add individual Stadia game shortcuts to your computer in just a few clicks. And the best part is that each icon will automatically use StadiaIcons images!
-As part of the Beta, you can access StadiaIcons Shortcuts through [temporary standalone page](https://stadiaicons.000webhostapp.com/) that will allow you to access each game's installation page directly. The end-goal is to eventually build this directly into Stadia using systems similar to [Stadia+](https://chrome.google.com/webstore/detail/stadia%20-extension/bbhmnnecicphphjamhdefpagipoegijd) or [Stadia Enhanced](https://chrome.google.com/webstore/detail/stadia-enhanced/ldeakaihfnkjmelifgmbmjlphdfncbfg).
-
-### BETA WARNING
-This system is in **BETA**, and as such it is almost certainly *temporary*. It will eventually move it to a more stable platform or simply be integrated into existing extensions/userscripts by other developers.
-
-***Note:** If/when the service goes down, your shortcuts will open a window pointing you to whatever has replaced it instead of launching the game. At that point you'll simply have to uninstall each shortcut (I will include some basic instructions) and reinstall them using the new system(s).*
+Currently, you can access StadiaIcons Shortcuts through a [temporary standalone page](https://stadiaicons.000webhostapp.com/) that will allow you to access each game's installation page directly. The end-goal is to build this directly into Stadia using systems similar to [Stadia+](https://chrome.google.com/webstore/detail/stadia%20-extension/bbhmnnecicphphjamhdefpagipoegijd) or [Stadia Enhanced](https://chrome.google.com/webstore/detail/stadia-enhanced/ldeakaihfnkjmelifgmbmjlphdfncbfg).
## How it Works
StadiaIcons works by dynamically creating a unique webpage for each Stadia game with a StadiaIcons icon and letting you "install" this site as a Progressive Web App. This allows your device to launch the site directly from a custom shortcut; once launched, this site acts as a pass-through, opening a link to your game in a new tab and closing itself down right away.
### Requirements
-StadiaIcons Shortcuts has currently only been tested on Windows 10 using the Chrome and Chromium Edge browsers. It may verry well function with other operating systems and/or browsers, but I have no means of testing this myself.
+StadiaIcons Shortcuts has currently only been tested on Windows 10 using the Chrome and Chromium Edge browsers. Users have also reported that it works well on ChromeOS, though I do not have the means of testing it myself.
***Important:* In order to be able to open your game "transparently" when you use the shortcut, the system requires that you authorize the website site to display popups. There doesn't seem to be any way around this at this time.**
@@ -28,60 +24,32 @@ Here are the steps to follow in order to "uninstall" a StadiaIcons Shortcut:
The StadiaIcons Shortcuts system does not gather, track or store any of your information, it simply takes a game's unique ID and name and uses them to create a progressive web app that immediately redirects you to the game's Stadia link.
# For Developers
-The StadiaIcons Shortcuts Beta is more of a *proof of concept*, and my main objective is to make it available for other developers to use in their own projects.
-
-Of course, if you make use of this project, it would be cool if you can include a mention or maybe even a link to this GitHub project :wink:.
-
-In this folder, you will find all the code that is used to run the Beta site. Below, I will briefly explain what each file is used for, and how the system works.
-## Basic Concept
+## Using Links
-The basic idea is that a single web page will be able to dynamically generate a functional Progressive Web App (PWA) using a specific URL structure:
+This is the simplest way to use StadiaIcons Shortcuts: simply set up a link within your app/plugin/project that follows this structure:
-https:// yourdomain .com/`{uid}`/?fullName=`{title}`&uid=`{uid}`&shortName=`{short tite}`&alt=`{alt marker}`&variant=`{variant id}`
+https:// stadiaicons .web .app/`{uid}`/?fullName=`{title}`&shortName=`{short tite}`&alt=`{alt marker}`&variant=`{variant id}`&lang=`{language}`
***Parameters:***
* `{uid}`: The game's unique uid, which is found in the game's Stadia launch url and is used to identify it in the StadiaIcons [refs.json](/refs.json) reference sheet.
-* `{title}`: The game's title.
-* `{short tite}`: *(optional)* A shorter version of the title that will be used as the shortcut name in some cases (this can be useful with games that have huge titles that couldn't be displayed in most UIs).
-* `{alt marker}`: *(optional)* If set to the `altSuffix` value found in the StadiaIcons [refs.json](/refs.json) reference sheet (`_alt` by default), the icon used for the PWA will not have the red filter.
-* `{variant id}`: *(optional)* In the case where a game has multiple icon variants, this `int` value will be used to determine which version to use (defaults to `0`à.
-
-## Contents
-### [index.php](index.php)
-This is the main file that renders the PWA contents.
-
-Without going into too many details, there are 2 elements worth mentioning:
-1. A lot of stuff is happening inside the `
` tag; most of this boills down to gathering data based on the URL parameters and setting things up to form a valid PWA-enabled HTML file.
-2. All the content that will be displayed to the end-user is found inside the various `` tags and the lone `` tag. Nothing user-facing should be present within other files.
-
-### [.htaccess](.htaccess)
-In order to create an individual PWA for each game, a bit of redirection trickery is going on in the [.htaccess](.htaccess) file:
-
-* All subfolders redirect straight to the root's [index.php](index.php) file, effectively making them all run the same code. This way, we can use each game's `uid` as a virtual subfolder in order to ensure each PWA can be installed separately.
-* The `.webmanifest` extension is set to run PHP code, which allows us to build the PWA's parameters dynamically
-
-### [inc/get.php](inc/get.php)
-This file's sole purpose is to parse the url parameters (as described above) and fetch the StadiaIcons [refs.json](/refs.json) reference sheet (stored as the `$data` variable).
+* `{title}`: The game's title*.
+* `{short tite}`: *(optional)* A shorter version of the title that will be used as the shortcut name in some cases (this can be useful with games that have huge titles that couldn't be displayed in most UIs)*.
+* `{alt marker}`: *(optional)* If set to the `1` or `true`, the icon used for the PWA will not have the default red filter.
+* `{variant id}`: *(optional)* In the case where a game has multiple icon variants, this `int` value will be used to determine which version to use (defaults to `0`).
+* `{language}`: *(optional)* By default, the language will be set based on the user's browser settings. You can override this by passing a language code in this parameter following one of two structures: `en` or `en_US`.
-***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+**For both title attributes, you will need to escape `&` characters in the name by replacing them with `%26`; here is an example: [stadiaicons.web.app/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just Shapes %26 Beats](https://stadiaicons.web.app/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just%20Shapes%20%26%20Beats)*
-### [pupteest.php](pupteest.php)
-This minimalist page is called up as a popup in order to test if the browser is blocking popups.
+## Deploying it Yourself
-### [stadia.webmanifest](stadia.webmanifest)
-This file runs PHP code and outputs a valid PWA manifest in JSON based on URL parameters following the same structure as what is described above.
+If you wish to deploy your own version of StadiaIcons Shortcuts, or use the code in your own projects, there are 2 versions of the code available:
-### [sw.js](sw.js)
-This is called as a service worker. Though I am new to using these, as far as I can tell, it is used to cache all relevant content so that the PWA can be launched even when offline.
+1. The [Firebase](firebase) version designed to be deployed on Google's [Firebase](https://firebase.google.com) which uses *Firebase Hosting* and *Firebase Functions*. This version is the one being currently used at [stadiaicons.web.apps](https://stadiaicons.web.apps).
+2. The [PHP](php) version designed to be deployed on a typical web hosting server. This version is no longer actively maintained but should still be fully functional. A demo is available at [stadiaicons.000webhostapp.com](https://stadiaicons.000webhostapp.com).
-***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+You will find details about each version in the respective folders.
-###[scripts.js](scripts.js)
-Here is where a lot of the magic happens.
+## License
-To keep things short, here are a few things that it does (not in any specific order):
-1. Determine whether the page is being opened as a PWA (open the game popup and close itself) or inside a normal browser window (display the installation process).
-2. Display the correct `` of the [index.php](index.php) depending on the situation
-3. Ensure that the browser allows popups by opening [puptest.php](puptest.php) as a popup.
-4. Request PWA installation when the users clicks the relevant button (and react to the outcome).
+This project is under AGPL 3.0 license so you may use it freely; of course, it is always cool if you can include a mention or maybe even a link to this GitHub project :wink:.
\ No newline at end of file
diff --git a/Shortcuts/firebase/README.md b/Shortcuts/firebase/README.md
new file mode 100644
index 0000000..3b2391f
--- /dev/null
+++ b/Shortcuts/firebase/README.md
@@ -0,0 +1,96 @@
+# StadiaIcons Shortcuts Firebase version
+
+This version is designed to be deployed using google's [Firebase](https://firebase.google.com) platform.
+
+In order to deploy this project, you will need to set up [Firebase Hosting](https://firebase.google.com/docs/hosting/) and [Firebase Cloud Functions](https://firebase.google.com/docs/functions) in your [Firebase Project](https://firebase.google.com/docs/projects/learn-more).
+
+***Note:** The reasons for using *Cloud Functions* is that in order for a Progressive Web App's manifest file to be properly recognized by many applications, it must be delivered to the client app as a properly formatted `JSON` file, which prevents us from generating it locally on the client application.*
+
+## Usage
+
+In order to call a StadiaIcons Shortcut for a given Stadia title, the following link structure will be able to dynamically generate a functional Progressive Web App (PWA):
+
+https:// yourapp .web .app/`{uid}`/?fullName=`{title}`&shortName=`{short tite}`&alt=`{alt marker}`&variant=`{variant id}`&lang=`{language}`
+
+***Parameters:***
+* `{uid}`: The game's unique uid, which is found in the game's Stadia launch url and is used to identify it in the StadiaIcons [refs.json](/refs.json) reference sheet.
+* `{title}`: The game's title*.
+* `{short tite}`: *(optional)* A shorter version of the title that will be used as the shortcut name in some cases (this can be useful with games that have huge titles that couldn't be displayed in most UIs)*.
+* `{alt marker}`: *(optional)* If set to the `1` or `true`, the icon used for the PWA will not have the default red filter.
+* `{variant id}`: *(optional)* In the case where a game has multiple icon variants, this `int` value will be used to determine which version to use (defaults to `0`).
+* `{language}`: *(optional)* By default, the language will be set based on the user's browser settings. You can override this by passing a language code in this parameter following one of two structures: `en` or `en_US`.
+
+**For both title attributes, you will need to escape `&` characters in the name by replacing them with `%26`; here is an example: [stadiaicons.web.app/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just Shapes %26 Beats](https://stadiaicons.web.app/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just%20Shapes%20%26%20Beats)*
+
+## Contents
+
+### [functions/index.js](functions/index.js)
+This file registers 3 *Cloud Functions*, two of which are described in the next section.
+
+All of these functions are based around a similar structure:
+
+1. Gather data from URL parameters and JSON files.
+2. Sanitize and parse this data to organize it into properly formatted objects. Here is an example of the resulting data structure: [stadiaicons.web.app/info/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just Shapes %26 Beats](https://stadiaicons.web.app/info/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just%20Shapes%20%26%20Beats)
+3. Generate a `HTML` or `JSON` file and send it the client application.
+
+All 3 functions `require`(call upon) some base scripts to do these actions:
+
+#### [functions/inc/get/uid.js](functions/inc/get/uid.js)
+
+This file is used to retrieve and sanitize the game uid from the called url and make sure it is properly formatted.
+
+#### [functions/inc/get/params.js](functions/inc/get/params.js)
+
+This file is used to retrieve and sanitize all the other url parameters described above and to transform them into usable variables based on their uses.
+
+#### [functions/inc/get/refs.js](functions/inc/get/refs.js)
+
+This file is used to retrieve the StadiaIcons [refs.json](/refs.json) file structure.
+
+#### [functions/inc/gather.js](functions/inc/gather.js)
+
+This file gathers all the previously retrieved information and generates a single, properly formatted data structure which you can see an example of here: [stadiaicons.web.app/info/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just Shapes %26 Beats](https://stadiaicons.web.app/info/6b43cecd79734ba28cef5894985c65f1rcp1/?fullName=Just%20Shapes%20%26%20Beats)
+
+This is also where the verification to see if the game uid is present within the StadiaIcons images list. if not, the default Stadia logo is used as a fallback.
+
+### [firebase.json](firebase.json)
+In order to create an individual PWA for each game, a bit of redirection trickery is going on in this file:
+
+* All subfolders which follow a typical Stadia uid format call the `shortcut` *Cloud Function* and display the main shortcut page.
+* All `stadia.webmanifest` files within these same subfolders call the `webmanifest` *Cloud Function* and return a properly formatted PWA manifest.
+
+### [functions/inc/shortcut.js](functions/inc/shortcut.js)
+This file is the endpoint of the `shortcut` function. It contains the main HTML code that is to be sent to the client application.
+
+Without going into too many details, there are 2 elements worth mentioning:
+1. A lot of stuff is happening inside the `` tag; most of this boils down to using the previously gathered data and setting things up to form a valid PWA-enabled HTML file.
+2. All the content that will be displayed to the end-user is found inside the various `` tags and the lone `` tag. Nothing user-facing should be present within other files.
+
+***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+
+### [functions/inc/webmanifest.js](functions/inc/webmanifest.js)
+This file is the endpoint of the `webmanifest` function and outputs a valid PWA manifest in JSON based on the previously gathered data.
+
+### [public/pupteest.html](public/pupteest.html)
+This minimalist page is called up as a popup in order to test if the browser is blocking popups.
+
+### [public/scripts/sw.js](public/scripts/sw.js)
+This is called as a service worker. Though I am new to using these, as far as I can tell, it is used to cache all relevant content so that the PWA can be launched even when offline.
+
+***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+
+### [public/scripts/scripts.js](public/scripts/scripts.js)
+Here is where a lot of the magic happens.
+
+To keep things short, here are a few things that it does (not in any specific order):
+1. Determine whether the page is being opened as a PWA (open the game popup and close itself) or inside a normal browser window (display the installation process).
+2. Display the correct `` of the [index.php](index.php) depending on the situation
+3. Ensure that the browser allows popups by opening [puptest.php](puptest.php) as a popup.
+4. Request PWA installation when the users clicks the relevant button (and react to the outcome).
+
+### [public/scripts/lang.js](public/scripts/lang.js)
+You might have noticed quite a few HTML elements with `class="lang"` and `data-lang="X"` properties throughout various pages. This is part of a custom translation system which is defined in this file.
+
+The language can be overridden by passing a language code via the `&lang=` url parameter. Language codes should follow one of the following structures: `en` or `en_US`.
+
+By default, the system uses the preferred language as defined by the browser to translate each page's contents based on the individual JSON files in the [public/lang](public/lang) folder.
\ No newline at end of file
diff --git a/Shortcuts/firebase/firebase.json b/Shortcuts/firebase/firebase.json
new file mode 100644
index 0000000..89a2c3b
--- /dev/null
+++ b/Shortcuts/firebase/firebase.json
@@ -0,0 +1,39 @@
+{
+ "hosting": {
+ "public": "public",
+ "ignore": [
+ "firebase.json",
+ "**/.*",
+ "**/node_modules/**"
+ ],
+ "redirects": [
+ {
+ "source": "/",
+ "destination": "https://github.com/ELowry/StadiaIcons/",
+ "type": 301
+ }
+ ],
+ "rewrites": [
+ {
+ "source": "/info/*",
+ "function": "verify"
+ },
+ {
+ "source": "/*rcp1/stadia.webmanifest",
+ "function": "webmanifest"
+ },
+ {
+ "source": "/*rcp1/sw.js",
+ "destination": "/scripts/sw.js"
+ },
+ {
+ "source": "/*rcp1/shortcuts.js",
+ "destination": "/scripts/shortcuts.js"
+ },
+ {
+ "source": "/*rcp1/",
+ "function": "shortcut"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/gather.js b/Shortcuts/firebase/functions/inc/gather.js
new file mode 100644
index 0000000..d24d775
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/gather.js
@@ -0,0 +1,74 @@
+const functions = require('firebase-functions');
+const validator = require('validator');
+
+module.exports = function(request, hasGet, uid, params, refs)
+{
+ var data = {
+ isValid: true,
+ variantFound: false,
+ shortcutUrl: null,
+ webmanifestUrl: null,
+ fullName: '',
+ shortName: '',
+ alt: '',
+ };
+
+ // Alt fallback
+
+ if (params.alt)
+ {
+ data.alt = refs.other.altSuffix;
+ }
+
+ // Uid fallback & storage
+
+ if (!refs.uids.hasOwnProperty(uid))
+ {
+ uid = Object.keys(refs.uids)[0];
+ data.isValid = false;
+ }
+
+ data.uid = uid;
+
+ if (hasGet)
+ {
+ data.fullName = params.fullName;
+ data.shortName = params.shortName;
+
+ data.shortcutUrl = request.protocol + '://' + request.headers['x-forwarded-host'] +'/' + uid + '/?fullName=' + encodeURI(params.fullName).replace('&', '%26') + '&shortName=' + encodeURI(params.shortName).replace('&', '%26');
+ data.webmanifestUrl = '/' + uid + '/stadia.webmanifest?fullName=' + encodeURI(params.fullName).replace('&', '%26') + '&shortName=' + encodeURI(params.shortName).replace('&', '%26');
+
+ if (params.variant == 0)
+ {
+ data.variantFound = true;
+ }
+ else if (
+ params.variant
+ &&
+ validator.isInt(validator.toInt(params.variant)) && refs.uids.uid.hasOwnProperty(params.variant)
+ )
+ {
+ data.shortcutUrl += '&variant=' + params.variant;
+ data.webmanifestUrl += '&variant=' + params.variant;
+ data.variantFound = true;
+ }
+
+ if (params.alt)
+ {
+ data.shortcutUrl += '&alt=' + data.alt;
+ data.webmanifestUrl += '&alt=' + data.alt;
+ }
+ }
+
+
+ data.images = {
+ icon: refs.datasets.icons.uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets.icons.extension,
+ image128: refs.datasets['images-128'].uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets['images-128'].extension,
+ image192: refs.datasets['images-192'].uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets['images-192'].extension,
+ image512: refs.datasets['images-512'].uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets['images-512'].extension,
+ image: refs.datasets.images.uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets.images.extension,
+ webp: refs.datasets.webp.uri + encodeURI(refs.uids[uid][params.variant]) + data.alt + refs.datasets.webp.extension
+ }
+
+ return data;
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/get/params.js b/Shortcuts/firebase/functions/inc/get/params.js
new file mode 100644
index 0000000..b1b0ae7
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/get/params.js
@@ -0,0 +1,102 @@
+const functions = require('firebase-functions');
+const validator = require('validator');
+
+module.exports = function(query)
+{
+
+ // PREPARE PARAMETERS
+
+ var params = query,
+ fullName = null,
+ shortName = null,
+ variant = 0,
+ alt = false,
+ output = {};
+
+ // FILTER PARAMETERS
+
+ for (k in params)
+ {
+ params[k] = validator.escape(params[k]);
+ }
+
+ // Full Name
+ if (!params.hasOwnProperty('fullName'))
+ {
+ output.errors = require('../logs.js')({
+ message: 'The fullName parameter is missing.',
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else
+ {
+ fullName = validator.trim(params['fullName'].replace('&', '&'));
+ output.fullName = fullName;
+ }
+
+ // Short Name
+ if (!params.hasOwnProperty('shortName'))
+ {
+ shortName = fullName;
+ }
+ else
+ {
+ shortName = validator.trim(params['shortName']);
+ }
+ if (!shortName)
+ {
+ output.errors = require('../logs.js')({
+ message: 'The shortName parameter is missing.',
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else
+ {
+ output.shortName = shortName;
+ }
+
+ // Variant
+ if (params.hasOwnProperty('variant'))
+ {
+ params['variant'] = validator.toInt(params['variant']);
+ if (validator.isInt(params['variant'], { min: 0 }))
+ {
+ vatiant = params['variant'];
+ }
+ }
+ if (!variant && variant !== 0)
+ {
+ output.errors = require('../logs.js')({
+ message: 'The variant parameter is missing.',
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else
+ {
+ output.variant = variant;
+ }
+
+ // Alt
+ if (params.hasOwnProperty('alt'))
+ {
+ alt = validator.toBoolean(params['alt'], true);
+ }
+ if (!alt && alt !== false)
+ {
+ output.errors = require('../logs.js')({
+ message: 'The alt parameter is missing.',
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else
+ {
+ output.alt = alt;
+ }
+
+ return output;
+
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/get/refs.js b/Shortcuts/firebase/functions/inc/get/refs.js
new file mode 100644
index 0000000..f8f72b8
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/get/refs.js
@@ -0,0 +1,182 @@
+const functions = require('firebase-functions');
+const validator = require('validator');
+
+module.exports = function(refs)
+{
+ var output = {
+ data: null,
+ valid: true,
+ }
+
+ // CHECKING CONTENTS
+
+ // Datasets
+ if (refs.hasOwnProperty('datasets'))
+ {
+ for (key in refs.datasets)
+ {
+ // extension
+ if (refs.datasets[key].hasOwnProperty('extension'))
+ {
+ refs.datasets[key].extension = validator.escape(refs.datasets[key].extension);
+ if (
+ refs.datasets[key].extension.charAt(0) !== '.'
+ || refs.datasets[key].extension.length > 6
+ || !validator.isAlphanumeric(validator.ltrim(refs.datasets[key].extension, '.'))
+ )
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s ' + key + ' dataset\\\'s extension value is not valid.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ else
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs data structure\\\'s ' + key + ' dataset is missing the extension value.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ // uri
+ if (refs.datasets[key].hasOwnProperty('uri'))
+ {
+ refs.datasets[key].uri = validator.blacklist(refs.datasets[key].uri, '<>\'"\\\$');
+ if (!validator.isURL(refs.datasets[key].uri, {
+ protocols: ['https'],
+ host_whitelist: ['raw.githubusercontent.com']
+ }))
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s ' + key + ' dataset\\\'s uri value is not valid.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ else
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs data structure\\\'s ' + key + ' dataset is missing the uri value.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ }
+ else{
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure is missing the datasets object.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+
+ // Other
+ if (refs.hasOwnProperty('other'))
+ {
+ if (refs.other.hasOwnProperty('altSuffix'))
+ {
+ refs.other.altSuffix = validator.whitelist(refs.other.altSuffix, '_a-zA-Z');
+ if (
+ refs.other.altSuffix.charAt(0) !== '_'
+ || refs.other.altSuffix.length > 4
+ )
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s other object value\\\'s altSuffix is not valid.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ else
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s other object is missing the altSuffix value.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ else{
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure is missing the others object.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+
+ // uid names
+ if (refs.hasOwnProperty('uids'))
+ {
+ for (key in refs.uids)
+ {
+ key = validator.whitelist(key, 'a-zA-Z0-9');
+ if (
+ !refs.uids.hasOwnProperty(key)
+ || !(key === 'defaultIcon' || validator.matches(key, /^[A-z0-9]{32}rcp1$/))
+ )
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s ' + key + ' uid is not a valid game uid.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ else if (Object.keys(refs.uids[key]).length <= 0)
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s ' + key + ' uid does not have children.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ else
+ {
+ for (subkey in refs.uids[key])
+ {
+ refs.uids[key][subkey] = validator.blacklist(refs.uids[key][subkey], '\/\\\(\)\[\]"');
+ if (!refs.uids[key][subkey])
+ {
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure\\\'s ' + key + ' uid\\\'s ' + subkey + ' value is not valid.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+ }
+ }
+ }
+ }
+ else{
+ output.error = require('../logs.js')({
+ message: 'The refs.json data structure is missing the uids object.',
+ type: 'error',
+ array: output.error
+ });
+ output.valid = false;
+ }
+
+ // OUTPUT RESULT TO CALLBACK
+
+ if (output.valid)
+ {
+ output.data = refs;
+ }
+
+ return output;
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/get/uid.js b/Shortcuts/firebase/functions/inc/get/uid.js
new file mode 100644
index 0000000..bb5c0bb
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/get/uid.js
@@ -0,0 +1,50 @@
+const functions = require('firebase-functions');
+const validator = require('validator');
+
+module.exports = function(path)
+{
+
+ // GRAB UID FROM FILE PATH
+
+ var output = {
+ uid: validator.rtrim(validator.ltrim(validator.trim(validator.whitelist(path, 'a-zA-Z0-9'), '/'), 'info/'), '/stadia.webmanifest')
+ };
+
+ // GET UID
+
+ if (!output.hasOwnProperty('uid') || !output.uid)
+ {
+ output.errors = require('../logs.js')({
+ message: 'The uid is missing.',
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else if (!validator.isAlphanumeric(output.uid))
+ {
+ output.errors = require('../logs.js')({
+ message: 'The uid is not alphanumeric.',
+ object: output.uid,
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else if (!(output.uid === 'defaultIcon' || validator.matches(output.uid, /^[A-z0-9]{32}rcp1$/)))
+ {
+ output.errors = require('../logs.js')({
+ message: 'The uid does not follow the proper format.',
+ object: output.uid,
+ type: 'error',
+ array: output.errors
+ });
+ }
+ else
+ {
+ return output;
+ }
+
+ output.uid = false;
+
+ return output;
+
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/license.js b/Shortcuts/firebase/functions/inc/license.js
new file mode 100644
index 0000000..7f85061
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/license.js
@@ -0,0 +1,20 @@
+const functions = require('firebase-functions');
+
+module.exports = ``;
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/logs.js b/Shortcuts/firebase/functions/inc/logs.js
new file mode 100644
index 0000000..9a050c0
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/logs.js
@@ -0,0 +1,57 @@
+const functions = require('firebase-functions');
+const validator = require('validator');
+
+module.exports = function(log)
+{
+ var logging = false,
+ toPush = {};
+
+ // LOG MESSAGE
+
+ if (log.hasOwnProperty('message') || log.hasOwnProperty('object'))
+ {
+ if (!log.hasOwnProperty('type') && !(log.type === 'log' || log.type === 'info' || log.type === 'warn' || log.type === 'error'))
+ {
+ log.type = 'info';
+ }
+
+ if (!log.hasOwnProperty('message'))
+ {
+ if (logging)
+ {
+ functions.logger[log.type](log.message);
+ }
+ toPush.message = log.message;
+ }
+ else if (!log.hasOwnProperty('object'))
+ {
+ if (logging)
+ {
+ functions.logger[log.type](log.message);
+ }
+ toPush.object = log.object;
+ }
+ else
+ {
+ if (logging)
+ {
+ functions.logger[log.type](log.message, log.object);
+ }
+ toPush.message = log.message;
+ toPush.object = log.object;
+ }
+
+ if (log.hasOwnProperty('array'))
+ {
+ if (typeof log.array === 'undefined' || !Array.isArray(log.array))
+ {
+ return [toPush];
+ }
+ log.array.push(toPush);
+ return log.array;
+ }
+ }
+
+ return null;
+
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/shortcut.js b/Shortcuts/firebase/functions/inc/shortcut.js
new file mode 100644
index 0000000..ac81ea0
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/shortcut.js
@@ -0,0 +1,269 @@
+const functions = require('firebase-functions');
+
+module.exports = function(info, errors)
+{
+ var output = require('./license.js');
+ if (Object.keys(errors).length === 0 && info.isValid)
+ {
+ output += `
+
+
+
+ StadiaIcons – ` + info.fullName + ` – Shortcut
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Installation Successful
+
You should now be able to open ` + info.fullName + ` directly from your Desktop or Start Menu.
+
Launch ` + info.fullName + ` Now
+
+
+
+
+
+
+
StadiaIcons Shortcut Stopped
+
You pressed the Ctrl key while the shortcut was launching.
+
You may be trying to uninstall this shortcut. If that is the case, you should find an uninstall button in this window's settings. This menu is typically located in the top right.
+
If not, you can simply press this button to start your game:
+
Launch ` + info.fullName + `
+
+
+
+
+
StadiaIcons Shortcuts – Error
+
The shortcut may already be installed OR your browser may not be supported
+
If you have already installed the ` + info.fullName + ` StadiaIcons shortcut, you no longer need to access this link; simply use the installed shortcut to play your game!
+
Otherwise, we strongly recommend using Chrome or Chromium Edge .
+
+
+
+ IMPORTANT
+ To uninstall this shortcut, please press the Ctrl key as the shortcut launches.
+ ×
+
+
+
+
+`;
+ }
+ else
+ {
+ output += `
+
+
+
+ StadiaIcons – Error
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
There was an error processing your StadiaIcons request.
+
Please close this page and try again. If the problem persists, please contact us on Reddit at u/EricLowry or on GitHub .
+
+
+
+
+
+`;
+ }
+
+ return output;
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/inc/webmanifest.js b/Shortcuts/firebase/functions/inc/webmanifest.js
new file mode 100644
index 0000000..4394ad3
--- /dev/null
+++ b/Shortcuts/firebase/functions/inc/webmanifest.js
@@ -0,0 +1,103 @@
+const functions = require('firebase-functions');
+
+module.exports = function(info, errors)
+{
+ if (Object.keys(errors).length === 0 && info.isValid)
+ {
+ return `{
+ "name": "` + info.fullName + `",
+ "short_name": "` + info.shortName + `",
+ "lang": "en-US",
+ "start_url": "` + info.shortcutUrl + `",
+ "scope": "/` + info.uid + `/",
+ "display": "standalone",
+ "theme_color": "#202124",
+ "icons": [
+ {
+ "src": "` + info.images.image128 + `",
+ "type": "image/png",
+ "sizes": "128x128",
+ "purpose": "any maskable"
+ },
+ {
+ "src": "` + info.images.image192 + `",
+ "type": "image/png",
+ "sizes": "192x192",
+ "purpose": "any"
+ },
+ {
+ "src": "` + info.images.image512 + `",
+ "type": "image/png",
+ "sizes": "512x512",
+ "purpose": "any"
+ },
+ {
+ "src": "` + info.images.image + `",
+ "type": "image/png",
+ "sizes": "1024x1024",
+ "purpose": "any"
+ },
+ {
+ "src": "` + info.images.webp + `",
+ "type": "image/webp",
+ "sizes": "1024x1024",
+ "purpose": "any"
+ },
+ {
+ "src": "` + info.images.icon + `",
+ "type": "image/x-icon",
+ "sizes": "256x256 128x128 64x64 48x48 32x32 16x16"
+ }
+ ],
+ "background_color": "#202124",
+ "related_applications": [
+ {
+ "platform": "play",
+ "id": "com.google.stadia.android",
+ "url": "https://play.google.com/store/apps/details?id=com.google.stadia.android"
+ }
+ ],
+ "prefer_related_applications": false
+}`;
+ }
+
+ var output = require('./license.js') + `
+
+
+
+ StadiaIcons – Error 404 ?>
+
+
+
+
+
+
+
+
+
+
+
+
Error 404: Page Not Found
+
Click Here to return to the home page.
+
+
+
+
+
+`;
+
+ return output;
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/index.js b/Shortcuts/firebase/functions/index.js
new file mode 100644
index 0000000..0b9ad4e
--- /dev/null
+++ b/Shortcuts/firebase/functions/index.js
@@ -0,0 +1,94 @@
+const functions = require('firebase-functions');
+
+exports.shortcut = functions.https.onRequest((request, response) => {
+
+ var errors = {};
+
+ var uid = require('./inc/get/uid.js')(request.path);
+ if (uid.hasOwnProperty('errors'))
+ {
+ errors.uid = uid.errors;
+ }
+
+
+ var params = require('./inc/get/params.js')(request.query);
+ if (params.hasOwnProperty('errors'))
+ {
+ errors.params = params.errors;
+ }
+
+
+ var refs = require('./inc/get/refs.js')(require('./refs.json'));
+ if (refs.hasOwnProperty('errors'))
+ {
+ errors.refs = refs.errors;
+ }
+
+ var info = require('./inc/gather.js')(request, true, uid.uid, params, refs.data);
+ if (info.hasOwnProperty('errors'))
+ {
+ errors = errors.concat(info.errors);
+ }
+
+ response.send(require('./inc/shortcut.js')(info, errors));
+
+});
+
+exports.webmanifest = functions.https.onRequest((request, response) => {
+
+ var errors = {};
+
+ var uid = require('./inc/get/uid.js')(request.path);
+ if (uid.hasOwnProperty('errors'))
+ {
+ errors.uid = uid.errors;
+ }
+
+
+ var params = require('./inc/get/params.js')(request.query);
+ if (params.hasOwnProperty('errors'))
+ {
+ errors.params = params.errors;
+ }
+
+
+ var refs = require('./inc/get/refs.js')(require('./refs.json'));
+ if (refs.hasOwnProperty('errors'))
+ {
+ errors.refs = refs.errors;
+ }
+
+ var info = require('./inc/gather.js')(request, true, uid.uid, params, refs.data);
+
+ response.send(require('./inc/webmanifest.js')(info, errors));
+
+});
+
+exports.verify = functions.https.onRequest((request, response) => {
+
+
+ var errors = {};
+
+ var uid = require('./inc/get/uid.js')(request.path);
+ if (uid.hasOwnProperty('errors'))
+ {
+ errors.uid = uid.errors;
+ }
+
+
+ var params = require('./inc/get/params.js')(request.query);
+ if (params.hasOwnProperty('errors'))
+ {
+ errors.params = params.errors;
+ }
+
+
+ var refs = require('./inc/get/refs.js')(require('./refs.json'));
+ if (refs.hasOwnProperty('errors'))
+ {
+ errors.refs = refs.errors;
+ }
+
+ response.send(require('./inc/gather.js')(request, true, uid.uid, params, refs.data));
+
+});
\ No newline at end of file
diff --git a/Shortcuts/firebase/functions/package-lock.json b/Shortcuts/firebase/functions/package-lock.json
new file mode 100644
index 0000000..a1fc2de
--- /dev/null
+++ b/Shortcuts/firebase/functions/package-lock.json
@@ -0,0 +1,1934 @@
+{
+ "name": "functions",
+ "requires": true,
+ "lockfileVersion": 1,
+ "dependencies": {
+ "@firebase/app-types": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.6.1.tgz",
+ "integrity": "sha512-L/ZnJRAq7F++utfuoTKX4CLBG5YR7tFO3PLzG1/oXXKEezJ0kRL3CMRoueBEmTCzVb/6SIs2Qlaw++uDgi5Xyg=="
+ },
+ "@firebase/auth-interop-types": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.5.tgz",
+ "integrity": "sha512-88h74TMQ6wXChPA6h9Q3E1Jg6TkTHep2+k63OWg3s0ozyGVMeY+TTOti7PFPzq5RhszQPQOoCi59es4MaRvgCw=="
+ },
+ "@firebase/component": {
+ "version": "0.1.19",
+ "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.19.tgz",
+ "integrity": "sha512-L0S3g8eqaerg8y0zox3oOHSTwn/FE8RbcRHiurnbESvDViZtP5S5WnhuAPd7FnFxa8ElWK0z1Tr3ikzWDv1xdQ==",
+ "requires": {
+ "@firebase/util": "0.3.2",
+ "tslib": "^1.11.1"
+ }
+ },
+ "@firebase/database": {
+ "version": "0.6.13",
+ "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.6.13.tgz",
+ "integrity": "sha512-NommVkAPzU7CKd1gyehmi3lz0K78q0KOfiex7Nfy7MBMwknLm7oNqKovXSgQV1PCLvKXvvAplDSFhDhzIf9obA==",
+ "requires": {
+ "@firebase/auth-interop-types": "0.1.5",
+ "@firebase/component": "0.1.19",
+ "@firebase/database-types": "0.5.2",
+ "@firebase/logger": "0.2.6",
+ "@firebase/util": "0.3.2",
+ "faye-websocket": "0.11.3",
+ "tslib": "^1.11.1"
+ }
+ },
+ "@firebase/database-types": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.5.2.tgz",
+ "integrity": "sha512-ap2WQOS3LKmGuVFKUghFft7RxXTyZTDr0Xd8y2aqmWsbJVjgozi0huL/EUMgTjGFrATAjcf2A7aNs8AKKZ2a8g==",
+ "requires": {
+ "@firebase/app-types": "0.6.1"
+ }
+ },
+ "@firebase/logger": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.2.6.tgz",
+ "integrity": "sha512-KIxcUvW/cRGWlzK9Vd2KB864HlUnCfdTH0taHE0sXW5Xl7+W68suaeau1oKNEqmc3l45azkd4NzXTCWZRZdXrw=="
+ },
+ "@firebase/util": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.3.2.tgz",
+ "integrity": "sha512-Dqs00++c8rwKky6KCKLLY2T1qYO4Q+X5t+lF7DInXDNF4ae1Oau35bkD+OpJ9u7l1pEv7KHowP6CUKuySCOc8g==",
+ "requires": {
+ "tslib": "^1.11.1"
+ }
+ },
+ "@google-cloud/common": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-3.4.0.tgz",
+ "integrity": "sha512-bVMQlK4aZEeopo2oJwDUJiBhPVjRRQHfFCCv9JowmKS3L//PBHNDJzC/LxJixGZEU3fh3YXkUwm67JZ5TBCCNQ==",
+ "optional": true,
+ "requires": {
+ "@google-cloud/projectify": "^2.0.0",
+ "@google-cloud/promisify": "^2.0.0",
+ "arrify": "^2.0.1",
+ "duplexify": "^4.1.1",
+ "ent": "^2.2.0",
+ "extend": "^3.0.2",
+ "google-auth-library": "^6.0.0",
+ "retry-request": "^4.1.1",
+ "teeny-request": "^7.0.0"
+ },
+ "dependencies": {
+ "duplexify": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz",
+ "integrity": "sha512-DY3xVEmVHTv1wSzKNbwoU6nVjzI369Y6sPoqfYr0/xlx3IdX2n94xIszTcjPO8W8ZIv0Wb0PXNcjuZyT4wiICA==",
+ "optional": true,
+ "requires": {
+ "end-of-stream": "^1.4.1",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "@google-cloud/firestore": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/@google-cloud/firestore/-/firestore-4.2.0.tgz",
+ "integrity": "sha512-YCiKaTYCbXSoEvZ8cTmpgg4ebAvmFUOu3hj/aX+lHiOK7LsoFVi4jgNknogSqIiv04bxAysTBodpgn8XoZ4l5g==",
+ "optional": true,
+ "requires": {
+ "fast-deep-equal": "^3.1.1",
+ "functional-red-black-tree": "^1.0.1",
+ "google-gax": "^2.2.0"
+ }
+ },
+ "@google-cloud/paginator": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@google-cloud/paginator/-/paginator-3.0.5.tgz",
+ "integrity": "sha512-N4Uk4BT1YuskfRhKXBs0n9Lg2YTROZc6IMpkO/8DIHODtm5s3xY8K5vVBo23v/2XulY3azwITQlYWgT4GdLsUw==",
+ "optional": true,
+ "requires": {
+ "arrify": "^2.0.0",
+ "extend": "^3.0.2"
+ }
+ },
+ "@google-cloud/projectify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-2.0.1.tgz",
+ "integrity": "sha512-ZDG38U/Yy6Zr21LaR3BTiiLtpJl6RkPS/JwoRT453G+6Q1DhlV0waNf8Lfu+YVYGIIxgKnLayJRfYlFJfiI8iQ==",
+ "optional": true
+ },
+ "@google-cloud/promisify": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-2.0.3.tgz",
+ "integrity": "sha512-d4VSA86eL/AFTe5xtyZX+ePUjE8dIFu2T8zmdeNBSa5/kNgXPCx/o/wbFNHAGLJdGnk1vddRuMESD9HbOC8irw==",
+ "optional": true
+ },
+ "@google-cloud/storage": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@google-cloud/storage/-/storage-5.3.0.tgz",
+ "integrity": "sha512-3t5UF3SZ14Bw2kcBHubCai6EIugU2GnQOstYWVSFuoO8IJ94RAaIOPq/dtexvQbUTpBTAGpd5smVR9WPL1mJVw==",
+ "optional": true,
+ "requires": {
+ "@google-cloud/common": "^3.3.0",
+ "@google-cloud/paginator": "^3.0.0",
+ "@google-cloud/promisify": "^2.0.0",
+ "arrify": "^2.0.0",
+ "compressible": "^2.0.12",
+ "concat-stream": "^2.0.0",
+ "date-and-time": "^0.14.0",
+ "duplexify": "^3.5.0",
+ "extend": "^3.0.2",
+ "gaxios": "^3.0.0",
+ "gcs-resumable-upload": "^3.1.0",
+ "hash-stream-validation": "^0.2.2",
+ "mime": "^2.2.0",
+ "mime-types": "^2.0.8",
+ "onetime": "^5.1.0",
+ "p-limit": "^3.0.1",
+ "pumpify": "^2.0.0",
+ "snakeize": "^0.1.0",
+ "stream-events": "^1.0.1",
+ "xdg-basedir": "^4.0.0"
+ },
+ "dependencies": {
+ "p-limit": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.0.2.tgz",
+ "integrity": "sha512-iwqZSOoWIW+Ew4kAGUlN16J4M7OB3ysMLSZtnhmqx7njIHFPlxWBX8xo3lVTyFVq6mI/lL9qt2IsN1sHwaxJkg==",
+ "optional": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@grpc/grpc-js": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.1.7.tgz",
+ "integrity": "sha512-EuxMstI0u778dp0nk6Fe3gHXYPeV6FYsWOe0/QFwxv1NQ6bc5Wl/0Yxa4xl9uBlKElL6AIxuASmSfu7KEJhqiw==",
+ "optional": true,
+ "requires": {
+ "@grpc/proto-loader": "^0.6.0-pre14",
+ "@types/node": "^12.12.47",
+ "google-auth-library": "^6.0.0",
+ "semver": "^6.2.0"
+ },
+ "dependencies": {
+ "@grpc/proto-loader": {
+ "version": "0.6.0-pre9",
+ "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.0-pre9.tgz",
+ "integrity": "sha512-oM+LjpEjNzW5pNJjt4/hq1HYayNeQT+eGrOPABJnYHv7TyNPDNzkQ76rDYZF86X5swJOa4EujEMzQ9iiTdPgww==",
+ "optional": true,
+ "requires": {
+ "@types/long": "^4.0.1",
+ "lodash.camelcase": "^4.3.0",
+ "long": "^4.0.0",
+ "protobufjs": "^6.9.0",
+ "yargs": "^15.3.1"
+ }
+ },
+ "@types/node": {
+ "version": "12.12.62",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.62.tgz",
+ "integrity": "sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==",
+ "optional": true
+ }
+ }
+ },
+ "@grpc/proto-loader": {
+ "version": "0.5.5",
+ "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.5.tgz",
+ "integrity": "sha512-WwN9jVNdHRQoOBo9FDH7qU+mgfjPc8GygPYms3M+y3fbQLfnCe/Kv/E01t7JRgnrsOHH8euvSbed3mIalXhwqQ==",
+ "optional": true,
+ "requires": {
+ "lodash.camelcase": "^4.3.0",
+ "protobufjs": "^6.8.6"
+ }
+ },
+ "@protobufjs/aspromise": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
+ "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=",
+ "optional": true
+ },
+ "@protobufjs/base64": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
+ "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
+ "optional": true
+ },
+ "@protobufjs/codegen": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
+ "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==",
+ "optional": true
+ },
+ "@protobufjs/eventemitter": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
+ "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=",
+ "optional": true
+ },
+ "@protobufjs/fetch": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
+ "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
+ "optional": true,
+ "requires": {
+ "@protobufjs/aspromise": "^1.1.1",
+ "@protobufjs/inquire": "^1.1.0"
+ }
+ },
+ "@protobufjs/float": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
+ "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=",
+ "optional": true
+ },
+ "@protobufjs/inquire": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
+ "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=",
+ "optional": true
+ },
+ "@protobufjs/path": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
+ "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=",
+ "optional": true
+ },
+ "@protobufjs/pool": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
+ "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=",
+ "optional": true
+ },
+ "@protobufjs/utf8": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
+ "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=",
+ "optional": true
+ },
+ "@tootallnate/once": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
+ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
+ "optional": true
+ },
+ "@types/body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==",
+ "requires": {
+ "@types/connect": "*",
+ "@types/node": "*"
+ }
+ },
+ "@types/color-name": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
+ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
+ "optional": true
+ },
+ "@types/connect": {
+ "version": "3.4.33",
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz",
+ "integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/express": {
+ "version": "4.17.3",
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.3.tgz",
+ "integrity": "sha512-I8cGRJj3pyOLs/HndoP+25vOqhqWkAZsWMEmq1qXy/b/M3ppufecUwaK2/TVDVxcV61/iSdhykUjQQ2DLSrTdg==",
+ "requires": {
+ "@types/body-parser": "*",
+ "@types/express-serve-static-core": "*",
+ "@types/serve-static": "*"
+ }
+ },
+ "@types/express-serve-static-core": {
+ "version": "4.17.12",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.12.tgz",
+ "integrity": "sha512-EaEdY+Dty1jEU7U6J4CUWwxL+hyEGMkO5jan5gplfegUgCUsIUWqXxqw47uGjimeT4Qgkz/XUfwoau08+fgvKA==",
+ "requires": {
+ "@types/node": "*",
+ "@types/qs": "*",
+ "@types/range-parser": "*"
+ }
+ },
+ "@types/lodash": {
+ "version": "4.14.161",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.161.tgz",
+ "integrity": "sha512-EP6O3Jkr7bXvZZSZYlsgt5DIjiGr0dXP1/jVEwVLTFgg0d+3lWVQkRavYVQszV7dYUwvg0B8R0MBDpcmXg7XIA==",
+ "dev": true
+ },
+ "@types/long": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz",
+ "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==",
+ "optional": true
+ },
+ "@types/mime": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.3.tgz",
+ "integrity": "sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q=="
+ },
+ "@types/node": {
+ "version": "10.17.35",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.35.tgz",
+ "integrity": "sha512-gXx7jAWpMddu0f7a+L+txMplp3FnHl53OhQIF9puXKq3hDGY/GjH+MF04oWnV/adPSCrbtHumDCFwzq2VhltWA=="
+ },
+ "@types/qs": {
+ "version": "6.9.5",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.5.tgz",
+ "integrity": "sha512-/JHkVHtx/REVG0VVToGRGH2+23hsYLHdyG+GrvoUGlGAd0ErauXDyvHtRI/7H7mzLm+tBCKA7pfcpkQ1lf58iQ=="
+ },
+ "@types/range-parser": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
+ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA=="
+ },
+ "@types/serve-static": {
+ "version": "1.13.5",
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.5.tgz",
+ "integrity": "sha512-6M64P58N+OXjU432WoLLBQxbA0LRGBCRm7aAGQJ+SMC1IMl0dgRVi9EFfoDcS2a7Xogygk/eGN94CfwU9UF7UQ==",
+ "requires": {
+ "@types/express-serve-static-core": "*",
+ "@types/mime": "*"
+ }
+ },
+ "abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
+ "optional": true,
+ "requires": {
+ "event-target-shim": "^5.0.0"
+ }
+ },
+ "accepts": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
+ "requires": {
+ "mime-types": "~2.1.24",
+ "negotiator": "0.6.2"
+ }
+ },
+ "agent-base": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.1.tgz",
+ "integrity": "sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg==",
+ "optional": true,
+ "requires": {
+ "debug": "4"
+ }
+ },
+ "ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "optional": true
+ },
+ "ansi-styles": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
+ "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "optional": true,
+ "requires": {
+ "@types/color-name": "^1.1.1",
+ "color-convert": "^2.0.1"
+ }
+ },
+ "array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
+ },
+ "arrify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz",
+ "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==",
+ "optional": true
+ },
+ "base64-js": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",
+ "optional": true
+ },
+ "bignumber.js": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
+ "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==",
+ "optional": true
+ },
+ "body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
+ "requires": {
+ "bytes": "3.1.0",
+ "content-type": "~1.0.4",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "on-finished": "~2.3.0",
+ "qs": "6.7.0",
+ "raw-body": "2.4.0",
+ "type-is": "~1.6.17"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "buffer-equal-constant-time": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
+ "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
+ },
+ "buffer-from": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
+ "optional": true
+ },
+ "bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
+ },
+ "camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "optional": true
+ },
+ "cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "optional": true,
+ "requires": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "optional": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "optional": true
+ },
+ "compressible": {
+ "version": "2.0.18",
+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
+ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
+ "optional": true,
+ "requires": {
+ "mime-db": ">= 1.43.0 < 2"
+ }
+ },
+ "concat-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz",
+ "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",
+ "optional": true,
+ "requires": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.0.2",
+ "typedarray": "^0.0.6"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "configstore": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",
+ "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==",
+ "optional": true,
+ "requires": {
+ "dot-prop": "^5.2.0",
+ "graceful-fs": "^4.1.2",
+ "make-dir": "^3.0.0",
+ "unique-string": "^2.0.0",
+ "write-file-atomic": "^3.0.0",
+ "xdg-basedir": "^4.0.0"
+ }
+ },
+ "content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
+ "requires": {
+ "safe-buffer": "5.1.2"
+ },
+ "dependencies": {
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ }
+ }
+ },
+ "content-type": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
+ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
+ },
+ "cookie": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
+ "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
+ },
+ "cookie-signature": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
+ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
+ },
+ "core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
+ "optional": true
+ },
+ "cors": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
+ "requires": {
+ "object-assign": "^4",
+ "vary": "^1"
+ }
+ },
+ "crypto-random-string": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",
+ "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==",
+ "optional": true
+ },
+ "date-and-time": {
+ "version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.14.1.tgz",
+ "integrity": "sha512-M4RggEH5OF2ZuCOxgOU67R6Z9ohjKbxGvAQz48vj53wLmL0bAgumkBvycR32f30pK+Og9pIR+RFDyChbaE4oLA==",
+ "optional": true
+ },
+ "debug": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
+ "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
+ "optional": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
+ "optional": true
+ },
+ "depd": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
+ "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
+ },
+ "destroy": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
+ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
+ },
+ "dicer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz",
+ "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==",
+ "requires": {
+ "streamsearch": "0.1.2"
+ }
+ },
+ "dot-prop": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
+ "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
+ "optional": true,
+ "requires": {
+ "is-obj": "^2.0.0"
+ }
+ },
+ "duplexify": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
+ "optional": true,
+ "requires": {
+ "end-of-stream": "^1.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "ecdsa-sig-formatter": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
+ "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
+ "requires": {
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "optional": true
+ },
+ "encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
+ },
+ "end-of-stream": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
+ "optional": true,
+ "requires": {
+ "once": "^1.4.0"
+ }
+ },
+ "ent": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz",
+ "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=",
+ "optional": true
+ },
+ "escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
+ },
+ "etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
+ },
+ "event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
+ "optional": true
+ },
+ "express": {
+ "version": "4.17.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
+ "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
+ "requires": {
+ "accepts": "~1.3.7",
+ "array-flatten": "1.1.1",
+ "body-parser": "1.19.0",
+ "content-disposition": "0.5.3",
+ "content-type": "~1.0.4",
+ "cookie": "0.4.0",
+ "cookie-signature": "1.0.6",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.1.2",
+ "fresh": "0.5.2",
+ "merge-descriptors": "1.0.1",
+ "methods": "~1.1.2",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "0.1.7",
+ "proxy-addr": "~2.0.5",
+ "qs": "6.7.0",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.1.2",
+ "send": "0.17.1",
+ "serve-static": "1.14.1",
+ "setprototypeof": "1.1.1",
+ "statuses": "~1.5.0",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ }
+ }
+ },
+ "extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "optional": true
+ },
+ "fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "optional": true
+ },
+ "fast-text-encoding": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz",
+ "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==",
+ "optional": true
+ },
+ "faye-websocket": {
+ "version": "0.11.3",
+ "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",
+ "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",
+ "requires": {
+ "websocket-driver": ">=0.5.1"
+ }
+ },
+ "finalhandler": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
+ "requires": {
+ "debug": "2.6.9",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
+ "unpipe": "~1.0.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "optional": true,
+ "requires": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ }
+ },
+ "firebase-admin": {
+ "version": "9.2.0",
+ "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-9.2.0.tgz",
+ "integrity": "sha512-LhnMYl71B4gP1FlTLfwaYlOWhBCAcNF+byb2CPTfaW/T4hkp4qlXOgo2bws/zbAv5X9GTFqGir3KexMslVGsIA==",
+ "requires": {
+ "@firebase/database": "^0.6.10",
+ "@firebase/database-types": "^0.5.2",
+ "@google-cloud/firestore": "^4.0.0",
+ "@google-cloud/storage": "^5.3.0",
+ "@types/node": "^10.10.0",
+ "dicer": "^0.3.0",
+ "jsonwebtoken": "^8.5.1",
+ "node-forge": "^0.10.0"
+ }
+ },
+ "firebase-functions": {
+ "version": "3.11.0",
+ "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-3.11.0.tgz",
+ "integrity": "sha512-i1uMhZ/M6i5SCI3ulKo7EWX0/LD+I5o6N+sk0HbOWfzyWfOl0iJTvQkR3BVDcjrlhPVC4xG1bDTLxd+DTkLqaw==",
+ "requires": {
+ "@types/express": "4.17.3",
+ "cors": "^2.8.5",
+ "express": "^4.17.1",
+ "lodash": "^4.17.14"
+ }
+ },
+ "firebase-functions-test": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/firebase-functions-test/-/firebase-functions-test-0.2.2.tgz",
+ "integrity": "sha512-SlHLnpKRn5nMsg4Y0CUTGs/R8NatghJCYZGw3fHzaS/5xDqwWPWuxmdHHc+MSuxrSrUROEwOrDTwrbjmRaSNjw==",
+ "dev": true,
+ "requires": {
+ "@types/lodash": "^4.14.104",
+ "lodash": "^4.17.5"
+ }
+ },
+ "forwarded": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
+ "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
+ },
+ "fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
+ },
+ "functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
+ "optional": true
+ },
+ "gaxios": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-3.2.0.tgz",
+ "integrity": "sha512-+6WPeVzPvOshftpxJwRi2Ozez80tn/hdtOUag7+gajDHRJvAblKxTFSSMPtr2hmnLy7p0mvYz0rMXLBl8pSO7Q==",
+ "optional": true,
+ "requires": {
+ "abort-controller": "^3.0.0",
+ "extend": "^3.0.2",
+ "https-proxy-agent": "^5.0.0",
+ "is-stream": "^2.0.0",
+ "node-fetch": "^2.3.0"
+ }
+ },
+ "gcp-metadata": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.2.0.tgz",
+ "integrity": "sha512-vQZD57cQkqIA6YPGXM/zc+PIZfNRFdukWGsGZ5+LcJzesi5xp6Gn7a02wRJi4eXPyArNMIYpPET4QMxGqtlk6Q==",
+ "optional": true,
+ "requires": {
+ "gaxios": "^3.0.0",
+ "json-bigint": "^1.0.0"
+ }
+ },
+ "gcs-resumable-upload": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/gcs-resumable-upload/-/gcs-resumable-upload-3.1.1.tgz",
+ "integrity": "sha512-RS1osvAicj9+MjCc6jAcVL1Pt3tg7NK2C2gXM5nqD1Gs0klF2kj5nnAFSBy97JrtslMIQzpb7iSuxaG8rFWd2A==",
+ "optional": true,
+ "requires": {
+ "abort-controller": "^3.0.0",
+ "configstore": "^5.0.0",
+ "extend": "^3.0.2",
+ "gaxios": "^3.0.0",
+ "google-auth-library": "^6.0.0",
+ "pumpify": "^2.0.0",
+ "stream-events": "^1.0.4"
+ }
+ },
+ "get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "optional": true
+ },
+ "google-auth-library": {
+ "version": "6.0.6",
+ "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-6.0.6.tgz",
+ "integrity": "sha512-fWYdRdg55HSJoRq9k568jJA1lrhg9i2xgfhVIMJbskUmbDpJGHsbv9l41DGhCDXM21F9Kn4kUwdysgxSYBYJUw==",
+ "optional": true,
+ "requires": {
+ "arrify": "^2.0.0",
+ "base64-js": "^1.3.0",
+ "ecdsa-sig-formatter": "^1.0.11",
+ "fast-text-encoding": "^1.0.0",
+ "gaxios": "^3.0.0",
+ "gcp-metadata": "^4.1.0",
+ "gtoken": "^5.0.0",
+ "jws": "^4.0.0",
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "google-gax": {
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-2.8.0.tgz",
+ "integrity": "sha512-MPaADY/FHittX5xfOUU2EVqIoE850e+OZ1ys8aO2GnUMaP4U0Bde2wop6kw5sp4fIOjKNlan4GATKAURsYbxSw==",
+ "optional": true,
+ "requires": {
+ "@grpc/grpc-js": "~1.1.1",
+ "@grpc/proto-loader": "^0.5.1",
+ "@types/long": "^4.0.0",
+ "abort-controller": "^3.0.0",
+ "duplexify": "^3.6.0",
+ "google-auth-library": "^6.0.0",
+ "is-stream-ended": "^0.1.4",
+ "lodash.at": "^4.6.0",
+ "lodash.has": "^4.5.2",
+ "node-fetch": "^2.6.0",
+ "protobufjs": "^6.9.0",
+ "retry-request": "^4.0.0",
+ "semver": "^6.0.0",
+ "walkdir": "^0.4.0"
+ }
+ },
+ "google-p12-pem": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.0.3.tgz",
+ "integrity": "sha512-wS0ek4ZtFx/ACKYF3JhyGe5kzH7pgiQ7J5otlumqR9psmWMYc+U9cErKlCYVYHoUaidXHdZ2xbo34kB+S+24hA==",
+ "optional": true,
+ "requires": {
+ "node-forge": "^0.10.0"
+ }
+ },
+ "graceful-fs": {
+ "version": "4.2.4",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
+ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
+ "optional": true
+ },
+ "gtoken": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.0.3.tgz",
+ "integrity": "sha512-Nyd1wZCMRc2dj/mAD0LlfQLcAO06uKdpKJXvK85SGrF5+5+Bpfil9u/2aw35ltvEHjvl0h5FMKN5knEU+9JrOg==",
+ "optional": true,
+ "requires": {
+ "gaxios": "^3.0.0",
+ "google-p12-pem": "^3.0.0",
+ "jws": "^4.0.0",
+ "mime": "^2.2.0"
+ }
+ },
+ "hash-stream-validation": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/hash-stream-validation/-/hash-stream-validation-0.2.4.tgz",
+ "integrity": "sha512-Gjzu0Xn7IagXVkSu9cSFuK1fqzwtLwFhNhVL8IFJijRNMgUttFbBSIAzKuSIrsFMO1+g1RlsoN49zPIbwPDMGQ==",
+ "optional": true
+ },
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
+ }
+ }
+ },
+ "http-parser-js": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.2.tgz",
+ "integrity": "sha512-opCO9ASqg5Wy2FNo7A0sxy71yGbbkJJXLdgMK04Tcypw9jr2MgWbyubb0+WdmDmGnFflO7fRbqbaihh/ENDlRQ=="
+ },
+ "http-proxy-agent": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
+ "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
+ "optional": true,
+ "requires": {
+ "@tootallnate/once": "1",
+ "agent-base": "6",
+ "debug": "4"
+ }
+ },
+ "https-proxy-agent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz",
+ "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==",
+ "optional": true,
+ "requires": {
+ "agent-base": "6",
+ "debug": "4"
+ }
+ },
+ "iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "requires": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ }
+ },
+ "imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
+ "optional": true
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "optional": true
+ },
+ "ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "optional": true
+ },
+ "is-obj": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
+ "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",
+ "optional": true
+ },
+ "is-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==",
+ "optional": true
+ },
+ "is-stream-ended": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz",
+ "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==",
+ "optional": true
+ },
+ "is-typedarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
+ "optional": true
+ },
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
+ "optional": true
+ },
+ "json-bigint": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz",
+ "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==",
+ "optional": true,
+ "requires": {
+ "bignumber.js": "^9.0.0"
+ }
+ },
+ "jsonwebtoken": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz",
+ "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==",
+ "requires": {
+ "jws": "^3.2.2",
+ "lodash.includes": "^4.3.0",
+ "lodash.isboolean": "^3.0.3",
+ "lodash.isinteger": "^4.0.4",
+ "lodash.isnumber": "^3.0.3",
+ "lodash.isplainobject": "^4.0.6",
+ "lodash.isstring": "^4.0.1",
+ "lodash.once": "^4.0.0",
+ "ms": "^2.1.1",
+ "semver": "^5.6.0"
+ },
+ "dependencies": {
+ "jwa": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
+ "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
+ "requires": {
+ "buffer-equal-constant-time": "1.0.1",
+ "ecdsa-sig-formatter": "1.0.11",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "jws": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
+ "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
+ "requires": {
+ "jwa": "^1.4.1",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ }
+ }
+ },
+ "jwa": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz",
+ "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==",
+ "optional": true,
+ "requires": {
+ "buffer-equal-constant-time": "1.0.1",
+ "ecdsa-sig-formatter": "1.0.11",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "jws": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz",
+ "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==",
+ "optional": true,
+ "requires": {
+ "jwa": "^2.0.0",
+ "safe-buffer": "^5.0.1"
+ }
+ },
+ "locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "optional": true,
+ "requires": {
+ "p-locate": "^4.1.0"
+ }
+ },
+ "lodash": {
+ "version": "4.17.20",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
+ "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
+ },
+ "lodash.at": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/lodash.at/-/lodash.at-4.6.0.tgz",
+ "integrity": "sha1-k83OZk8KGZTqM9181A4jr9EbD/g=",
+ "optional": true
+ },
+ "lodash.camelcase": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
+ "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=",
+ "optional": true
+ },
+ "lodash.has": {
+ "version": "4.5.2",
+ "resolved": "https://registry.npmjs.org/lodash.has/-/lodash.has-4.5.2.tgz",
+ "integrity": "sha1-0Z9NwQlQWMzL4rDN9O4P5Ko3yGI=",
+ "optional": true
+ },
+ "lodash.includes": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
+ "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8="
+ },
+ "lodash.isboolean": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
+ "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY="
+ },
+ "lodash.isinteger": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
+ "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M="
+ },
+ "lodash.isnumber": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
+ "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w="
+ },
+ "lodash.isplainobject": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
+ "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs="
+ },
+ "lodash.isstring": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
+ "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE="
+ },
+ "lodash.once": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
+ "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w="
+ },
+ "long": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
+ "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==",
+ "optional": true
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "optional": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "make-dir": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
+ "optional": true,
+ "requires": {
+ "semver": "^6.0.0"
+ }
+ },
+ "media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
+ },
+ "merge-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
+ "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
+ },
+ "methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
+ },
+ "mime": {
+ "version": "2.4.6",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==",
+ "optional": true
+ },
+ "mime-db": {
+ "version": "1.44.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
+ "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
+ },
+ "mime-types": {
+ "version": "2.1.27",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
+ "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
+ "requires": {
+ "mime-db": "1.44.0"
+ }
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "optional": true
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "negotiator": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
+ },
+ "node-forge": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz",
+ "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA=="
+ },
+ "object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
+ },
+ "on-finished": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
+ "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
+ "requires": {
+ "ee-first": "1.1.1"
+ }
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "optional": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "optional": true,
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "optional": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "optional": true,
+ "requires": {
+ "p-limit": "^2.2.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "optional": true
+ },
+ "parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
+ },
+ "path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "optional": true
+ },
+ "path-to-regexp": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
+ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
+ },
+ "process-nextick-args": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
+ "optional": true
+ },
+ "protobufjs": {
+ "version": "6.10.1",
+ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.1.tgz",
+ "integrity": "sha512-pb8kTchL+1Ceg4lFd5XUpK8PdWacbvV5SK2ULH2ebrYtl4GjJmS24m6CKME67jzV53tbJxHlnNOSqQHbTsR9JQ==",
+ "optional": true,
+ "requires": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/long": "^4.0.1",
+ "@types/node": "^13.7.0",
+ "long": "^4.0.0"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "13.13.21",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.21.tgz",
+ "integrity": "sha512-tlFWakSzBITITJSxHV4hg4KvrhR/7h3xbJdSFbYJBVzKubrASbnnIFuSgolUh7qKGo/ZeJPKUfbZ0WS6Jp14DQ==",
+ "optional": true
+ }
+ }
+ },
+ "proxy-addr": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
+ "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
+ "requires": {
+ "forwarded": "~0.1.2",
+ "ipaddr.js": "1.9.1"
+ }
+ },
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "optional": true,
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "pumpify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.1.tgz",
+ "integrity": "sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==",
+ "optional": true,
+ "requires": {
+ "duplexify": "^4.1.1",
+ "inherits": "^2.0.3",
+ "pump": "^3.0.0"
+ },
+ "dependencies": {
+ "duplexify": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz",
+ "integrity": "sha512-DY3xVEmVHTv1wSzKNbwoU6nVjzI369Y6sPoqfYr0/xlx3IdX2n94xIszTcjPO8W8ZIv0Wb0PXNcjuZyT4wiICA==",
+ "optional": true,
+ "requires": {
+ "end-of-stream": "^1.4.1",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1",
+ "stream-shift": "^1.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "optional": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
+ },
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
+ },
+ "raw-body": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
+ "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
+ "requires": {
+ "bytes": "3.1.0",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "unpipe": "1.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "2.3.7",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ },
+ "dependencies": {
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "optional": true
+ }
+ }
+ },
+ "require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "optional": true
+ },
+ "require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "optional": true
+ },
+ "retry-request": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.1.3.tgz",
+ "integrity": "sha512-QnRZUpuPNgX0+D1xVxul6DbJ9slvo4Rm6iV/dn63e048MvGbUZiKySVt6Tenp04JqmchxjiLltGerOJys7kJYQ==",
+ "optional": true,
+ "requires": {
+ "debug": "^4.1.1"
+ }
+ },
+ "safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
+ },
+ "safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "optional": true
+ },
+ "send": {
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
+ "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
+ "requires": {
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "destroy": "~1.0.4",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "0.5.2",
+ "http-errors": "~1.7.2",
+ "mime": "1.6.0",
+ "ms": "2.1.1",
+ "on-finished": "~2.3.0",
+ "range-parser": "~1.2.1",
+ "statuses": "~1.5.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ },
+ "dependencies": {
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
+ }
+ }
+ },
+ "serve-static": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
+ "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
+ "requires": {
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "0.17.1"
+ }
+ },
+ "set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
+ "optional": true
+ },
+ "setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
+ },
+ "signal-exit": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",
+ "optional": true
+ },
+ "snakeize": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/snakeize/-/snakeize-0.1.0.tgz",
+ "integrity": "sha1-EMCI2LWOsHazIpu1oE4jLOEmQi0=",
+ "optional": true
+ },
+ "statuses": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
+ },
+ "stream-events": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz",
+ "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==",
+ "optional": true,
+ "requires": {
+ "stubs": "^3.0.0"
+ }
+ },
+ "stream-shift": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz",
+ "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
+ "optional": true
+ },
+ "streamsearch": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
+ "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo="
+ },
+ "string-width": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "optional": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ }
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "optional": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ },
+ "dependencies": {
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "optional": true
+ }
+ }
+ },
+ "strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "optional": true,
+ "requires": {
+ "ansi-regex": "^5.0.0"
+ }
+ },
+ "stubs": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz",
+ "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=",
+ "optional": true
+ },
+ "teeny-request": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-7.0.0.tgz",
+ "integrity": "sha512-kWD3sdGmIix6w7c8ZdVKxWq+3YwVPGWz+Mq0wRZXayEKY/YHb63b8uphfBzcFDmyq8frD9+UTc3wLyOhltRbtg==",
+ "optional": true,
+ "requires": {
+ "http-proxy-agent": "^4.0.0",
+ "https-proxy-agent": "^5.0.0",
+ "node-fetch": "^2.2.0",
+ "stream-events": "^1.0.5",
+ "uuid": "^8.0.0"
+ }
+ },
+ "toidentifier": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
+ },
+ "tslib": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
+ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
+ },
+ "type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "requires": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ }
+ },
+ "typedarray": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
+ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
+ "optional": true
+ },
+ "typedarray-to-buffer": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
+ "optional": true,
+ "requires": {
+ "is-typedarray": "^1.0.0"
+ }
+ },
+ "unique-string": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",
+ "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==",
+ "optional": true,
+ "requires": {
+ "crypto-random-string": "^2.0.0"
+ }
+ },
+ "unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
+ },
+ "util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
+ "optional": true
+ },
+ "utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
+ },
+ "uuid": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz",
+ "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==",
+ "optional": true
+ },
+ "validator": {
+ "version": "13.1.17",
+ "resolved": "https://registry.npmjs.org/validator/-/validator-13.1.17.tgz",
+ "integrity": "sha512-zL5QBoemJ3jYFb2/j38y7ljhwYGXVLUp8H6W1nVxadnAOvUOytec+L7BHh1oBQ82/TzWXHd+GSaxUWp4lROkLg=="
+ },
+ "vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
+ },
+ "walkdir": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz",
+ "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==",
+ "optional": true
+ },
+ "websocket-driver": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz",
+ "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==",
+ "requires": {
+ "http-parser-js": ">=0.5.1",
+ "safe-buffer": ">=5.1.0",
+ "websocket-extensions": ">=0.1.1"
+ }
+ },
+ "websocket-extensions": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz",
+ "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="
+ },
+ "which-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "optional": true
+ },
+ "wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ }
+ },
+ "wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "optional": true
+ },
+ "write-file-atomic": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
+ "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
+ "optional": true,
+ "requires": {
+ "imurmurhash": "^0.1.4",
+ "is-typedarray": "^1.0.0",
+ "signal-exit": "^3.0.2",
+ "typedarray-to-buffer": "^3.1.5"
+ }
+ },
+ "xdg-basedir": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz",
+ "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==",
+ "optional": true
+ },
+ "y18n": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
+ "optional": true
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "optional": true
+ },
+ "yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "optional": true,
+ "requires": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ }
+ },
+ "yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "optional": true,
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
+ }
+}
diff --git a/Shortcuts/firebase/functions/package.json b/Shortcuts/firebase/functions/package.json
new file mode 100644
index 0000000..e164db8
--- /dev/null
+++ b/Shortcuts/firebase/functions/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "functions",
+ "description": "Cloud Functions for Firebase",
+ "scripts": {
+ "serve": "firebase emulators:start --only functions",
+ "shell": "firebase functions:shell",
+ "start": "npm run shell",
+ "deploy": "firebase deploy --only functions",
+ "logs": "firebase functions:log"
+ },
+ "engines": {
+ "node": "8"
+ },
+ "main": "index.js",
+ "dependencies": {
+ "firebase-admin": "^9.2.0",
+ "firebase-functions": "^3.11.0",
+ "node-fetch": "^2.6.1",
+ "validator": "^13.1.17"
+ },
+ "devDependencies": {
+ "firebase-functions-test": "^0.2.0"
+ },
+ "private": true
+}
diff --git a/Shortcuts/firebase/functions/refs.json b/Shortcuts/firebase/functions/refs.json
new file mode 100644
index 0000000..71366f7
--- /dev/null
+++ b/Shortcuts/firebase/functions/refs.json
@@ -0,0 +1,289 @@
+{
+ "datasets":{
+ "icons":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/Icons/",
+ "extension":".ico"
+ },
+ "images":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/Images/",
+ "extension":".png"
+ },
+ "images-512":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/Images/512/",
+ "extension":".png"
+ },
+ "images-192":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/Images/192/",
+ "extension":".png"
+ },
+ "images-128":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/Images/128/",
+ "extension":".png"
+ },
+ "webp":{
+ "uri":"https://raw.githubusercontent.com/ELowry/StadiaIcons/master/WebP/",
+ "extension":".webp"
+ }
+ },
+ "other":{
+ "altSuffix":"_alt"
+ },
+ "uids":{
+ "defaultIcon":{
+ "0":"Stadia"
+ },
+ "8b7e7f7036e5483eaa8745d46248536crcp1":{
+ "0":"Assassin's Creed – Odyssey",
+ "1":"Assassin's Creed – Odyssey-2"
+ },
+ "a38d988fb142400c947bf0a7b37fd404rcp1":{
+ "0":"Attack on Titan 2 – Final Battle"
+ },
+ "be080ad40b434ca289166031d3e88623rcp1":{
+ "0":"Borderlands 3"
+ },
+ "c911998e4f8d4c6ea6712c5ad33e4a54rcp1":{
+ "0":"Celeste"
+ },
+ "05f66a46027747a08b930ea70374ac7frcp1":{
+ "0":"Crayta"
+ },
+ "f39390395ed5444d8e9b23460c8f9152rcp1":{
+ "0":"Darksiders – Genesis"
+ },
+ "20e792017ab34ad89b70dc17a5c72d68rcp1":{
+ "0":"Destiny 2"
+ },
+ "5a0e892c933c4f56b4d87976cb655ecfrcp1":{
+ "0":"Doom 64"
+ },
+ "632522c846a041ce801e47b96ba2e265rcp1":{
+ "0":"Doom Eternal"
+ },
+ "80a70c13987841b3a2aedbcac54784abrcp1":{
+ "0":"Dragon Ball Xenoverse 2"
+ },
+ "d599576cddfc400f804b889460e84cb3rcp1":{
+ "0":"Ember"
+ },
+ "f3519f3dc3d74fbb8086520577b832e0rcp1":{
+ "0":"F1 2020"
+ },
+ "ebf235012b054269af70eee901bc85cfrcp1":{
+ "0":"Farming Simulator 19"
+ },
+ "a447622dbe084c3e9ace4f913a939afarcp1":{
+ "0":"Final Fantasy XV"
+ },
+ "8a3cc52ad2334b1e91ded77bc43644e0rcp1":{
+ "0":"Football Manager 2020"
+ },
+ "73182869b2a644bdbef46984b96e1721rcp1":{
+ "0":"Get Packed"
+ },
+ "11c9ece5b3a045908d77cf2b66adb010rcp1":{
+ "0":"Ghost Recon – Breakpoint"
+ },
+ "ca805d3d37404654a91d2ea62fad7bd4rcp1":{
+ "0":"GRID"
+ },
+ "16330bd770134d85b5bef3cc6b1407ffrcp1":{
+ "0":"Gunsport"
+ },
+ "18a3cc2bb111419c8ac873086d04dfaarcp1":{
+ "0":"Gylt"
+ },
+ "9dc548a191914b419cc80802ca64788frcp1":{
+ "0":"Hello Neighbor"
+ },
+ "990ec302c2cd4ba7817cedcf633ab20frcp1":{
+ "0":"Hitman",
+ "1":"Hitman 2",
+ "2":"Hitman 3"
+ },
+ "161f276db10947a199cd0260ed4dc248rcp1":{
+ "0":"Immortals Fenyx Rising"
+ },
+ "5f54e869de4441f8998e80d2c54fa74brcp1":{
+ "0":"Hotline Miami"
+ },
+ "68add0d67fe3491f94cb439664b1ffc7rcp1":{
+ "0":"Hotline Miami 2 – Wrong Number"
+ },
+ "c727a9083ce649e5b1cc6999c4fa2e5frcp1":{
+ "0":"Jotun"
+ },
+ "4b7f307c37364d659118bf7d435733c7rcp1":{
+ "0":"Just Dance 2020"
+ },
+ "6b43cecd79734ba28cef5894985c65f1rcp1":{
+ "0":"Just Shapes & Beats"
+ },
+ "da94f3aa88b24eb6ae6fdff798f73355rcp1":{
+ "0":"Kine"
+ },
+ "f5f9708a422a44cc876c240cfa07221drcp1":{
+ "0":"Kona"
+ },
+ "6d0d865669774338b3ce888a84da6cdercp1":{
+ "0":"Lara Croft and the Temple of Osiris"
+ },
+ "3aed855f10b34f618e5f6c6f5467bcf9rcp1":{
+ "0":"Little Nightmares"
+ },
+ "d334bea27ee64ef5a3a9bb14b1d6a88ercp1":{
+ "0":"Lost Words – Beyond the Page"
+ },
+ "232ff8abc7f74421a477e9e09dbf487drcp1":{
+ "0":"Marvel's Avengers"
+ },
+ "9b3ea6519cac48d68ca821f07b1a6a3drcp1":{
+ "0":"Metro 2033 Redux"
+ },
+ "879d82512f5441829250ead1aa678a70rcp1":{
+ "0":"Metro Exodus"
+ },
+ "b65c1c4dcdf24446bcecda190c6a2fe7rcp1":{
+ "0":"Metro Last Light"
+ },
+ "10b8a9cc8ec746f29afc1fc3c3ded28brcp1":{
+ "0":"Monopoly"
+ },
+ "ef14fb2f692c4b42b4b092d3e7864cd8rcp1":{
+ "0":"Monster Boy and the Cursed Kingdom"
+ },
+ "d50e1c1b61224bceb65da9406f3f4e8frcp1":{
+ "0":"Monster Energy Supercross 3"
+ },
+ "7bfbcba307114ab88ae4231da2ec85d3rcp1":{
+ "0":"Mortal Kombat 11"
+ },
+ "e465c4086aff4884990933d9f119f5f5rcp1":{
+ "0":"MotoGP 20"
+ },
+ "2afad3696b394f669b49e4c0b6016958rcp1":{
+ "0":"NBA 2K20"
+ },
+ "b0a2ab7cdc194582bc4d111c07c2e30drcp1":{
+ "0":"NBA 2K21"
+ },
+ "48ead86182b14fe0afcc5f2927dbed51rcp1":{
+ "0":"Octopath Traveler"
+ },
+ "76309b9f2f294b07b410e8b6aa879273rcp1":{
+ "0":"One Hand Clapping"
+ },
+ "c1928530515748da9f55afc7243fd3e1rcp1":{
+ "0":"Orcs Must Die 3"
+ },
+ "ffda0b7e397243f8956f92f89b6902c4rcp1":{
+ "0":"Panzer Dragoon – Remake"
+ },
+ "6a2ac2fc8e684c41b5c14981dcb454fdrcp1":{
+ "0":"PGA Tour 2K21"
+ },
+ "a4c5eb3f4e614b7fadbba64cba68f849rcp1":{
+ "0":"Playerunknown's Battlegrounds"
+ },
+ "bbb1a143aa3449a5a1f236a05c305c9frcp1":{
+ "0":"Power Rangers – Battle for the Grid"
+ },
+ "8615c857d7d54efebd94fe17e3f2896crcp1":{
+ "0":"Rage 2"
+ },
+ "2152a1e96d5b47b18a5df7ca9bb0751frcp1":{
+ "0":"Red Dead Redemption 2"
+ },
+ "ed05d9df2ec4452594b07336e360a1aarcp1":{
+ "0":"Relicta"
+ },
+ "65864a95f9e74129845bda0467486413rcp1":{
+ "0":"République"
+ },
+ "e5c6ec7bf437491ea4ac0917df8f9640rcp1":{
+ "0":"Rise of the Tomb Raider"
+ },
+ "d3d8e467203d401387857d5b6cc27263rcp1":{
+ "0":"Rock of Ages 3 – Make & Break"
+ },
+ "120348c2707740b99b509fad49a2f45drcp1":{
+ "0":"Samurai Shodown"
+ },
+ "cabec52b78264dafac69011aeacd5753rcp1":{
+ "0":"Serious Sam – Collection"
+ },
+ "efa3b6108d3e41689b2223ba9d48f5c8rcp1":{
+ "0":"Shadow of the Tomb Raider"
+ },
+ "921e9afe46aa478fb4aa929a7b1a6bd5rcp1":{
+ "0":"Spitlings"
+ },
+ "15a067411b8d4429b0954434d8f05d48rcp1":{
+ "0":"Stacks On Stacks – On Stacks"
+ },
+ "c4898519ff254b969ede8bafdff927e8rcp1":{
+ "0":"SteamWorld Dig"
+ },
+ "b832835182124d4d83cb76a74a76a33frcp1":{
+ "0":"SteamWorld Dig 2"
+ },
+ "819cdf4b7ff94947941106571ccf41e5rcp1":{
+ "0":"SteamWorld Heist"
+ },
+ "b845605f8eb447008f3f0d2295265ffdrcp1":{
+ "0":"SteamWorld Quest – Hand of Gilgamech"
+ },
+ "8e77c7a4368944589b4c9d8179d2eb4crcp1":{
+ "0":"Strange Brigade"
+ },
+ "f7afcff709e74227a5648aacadf03815rcp1":{
+ "0":"Superhot"
+ },
+ "cc97434908874852a6705d255a605dc8rcp1":{
+ "0":"The Crew 2"
+ },
+ "d43cd46c81734ca48e1a615310d0237crcp1":{
+ "0":"The Division 2"
+ },
+ "b17f16d4a4f94c0a85e07f54dbdedbb6rcp1":{
+ "0":"The Elder Scrolls – Online",
+ "1":"The Elder Scrolls – Online-Morrowind",
+ "2":"The Elder Scrolls – Online-Summerset",
+ "3":"The Elder Scrolls – Online-Elsweyr",
+ "4":"The Elder Scrolls – Online-Greymoor"
+ },
+ "cfd2977e1b9f412387ca2f44848400acrcp1":{
+ "0":"The Turing Test"
+ },
+ "c121d8b3fa744b52b71bf3599cb3da7frcp1":{
+ "0":"Thumper"
+ },
+ "42503ac2cfcf40018c15c86b86a5508drcp1":{
+ "0":"Tomb Raider"
+ },
+ "a031419410cc48469ff8954ea0732640rcp1":{
+ "0":"Trials Rising"
+ },
+ "1694aaa3968344228424092f180a3e0ercp1":{
+ "0":"Uno"
+ },
+ "3e7b24085e704c10ab03f93a19947c14rcp1":{
+ "0":"Wave Break"
+ },
+ "0a60fff637b445a797623d0c69433a9crcp1":{
+ "0":"West of Loathing"
+ },
+ "657210fe20ad402b85bda8f816b80d98rcp1":{
+ "0":"Windbound"
+ },
+ "4884bd9bd7864cf28deef05ef4b69e70rcp1":{
+ "0":"Wolfenstein – Youngblood"
+ },
+ "f28e66bbd0984c77ac6a54e8cc3007bdrcp1":{
+ "0":"WWE 2K – Battlegrounds"
+ },
+ "cba537cccfe3470b8784f88660ea5f09rcp1":{
+ "0":"Zombie Army 4"
+ }
+ }
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/404.html b/Shortcuts/firebase/public/404.html
new file mode 100644
index 0000000..29553fc
--- /dev/null
+++ b/Shortcuts/firebase/public/404.html
@@ -0,0 +1,60 @@
+
+
+
+
+ StadiaIcons – Error 404
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Error 404: Page Not Found
+
Click Here to return to the home page.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Shortcuts/LICENSE.txt b/Shortcuts/firebase/public/LICENSE.txt
similarity index 100%
rename from Shortcuts/LICENSE.txt
rename to Shortcuts/firebase/public/LICENSE.txt
diff --git a/Shortcuts/firebase/public/lang/en_US.json b/Shortcuts/firebase/public/lang/en_US.json
new file mode 100644
index 0000000..159e0d1
--- /dev/null
+++ b/Shortcuts/firebase/public/lang/en_US.json
@@ -0,0 +1,90 @@
+{
+ "generic":
+ {
+ "error": "Error",
+ "important": "IMPORTANT"
+ },
+ "meta":
+ {
+ "title": "StadiaIcons – {0} – Shortcut",
+ "simpleTitle": "{0} shortcut",
+ "description": "This page will allow you to install {0} as a Progressive Web App with its corresponding StadiaIcon.",
+ "keywords": "Stadia, Icons, Design, Gaming, Game, Shortcut{0}"
+ },
+ "main":
+ {
+ "installed":
+ {
+ "title": "Installation Successful",
+ "info": "You should now be able to open {0} directly from your Desktop or Start Menu.",
+ "button": "Launch {0} Now"
+ },
+ "installPrompt":
+ {
+ "prompt": "Create a shortcut on your device."
+ },
+ "popupPrompt":
+ {
+ "title": "First Installation",
+ "inset1": "This is the first time you are installing a StadiaIcon shortcut.",
+ "inset2": "In order to create shortcuts, you must authorize this website to display popup windows*.",
+ "inset3": "Depending on your browser, you should see a message requesting this authorization. It is typically to the right of the address bar.",
+ "request": "If you do not see this message or once you have given authorization, please press this button:",
+ "button": "TestPopup Access",
+ "footnote": "* StadiaIcon shortcuts use Progressive Web Apps, and in order to open your game without the address bar at the top, the app instead opens the game in a regular browser tab using a popup and immediately closes in the background."
+ },
+ "uninstall":
+ {
+ "stopped": "Stopped",
+ "info": "You pressed the {0} key while the shortcut was launching.",
+ "uninstall": "You may be trying to uninstall this shortcut. If that is the case, you should find an uninstall button in this window's settings. This menu is typically located in the top right.",
+ "restart": "If not, you can simply press this button to start your game:",
+ "button": "Launch {0}"
+ },
+ "unavailable":
+ {
+ "status": "The shortcut may already be installed OR your browser may not be supported",
+ "info": "If you have already installed the {0} {1} shortcut, you no longer need to access this link; simply use the installed shortcut to play your game!",
+ "browsers": "Otherwise, we strongly recommend using {0}Download Chrome{1} or {2}Download Edge{3}."
+ },
+ "alert":
+ {
+ "info": "To uninstall this shortcut, please press the {0} key as the shortcut launches."
+ }
+ },
+ "error":
+ {
+ "head":
+ {
+ "title": "StadiaIcons – Error {0}",
+ "simpleTitle": "StadiaIcons – Error",
+ "description": "There was an error loading this page: Error {0}, {1}"
+ },
+ "description": "There was an error processing your {0} request.",
+ "instructions": "Please close this page and try again. If the problem persists, please contact us on Reddit at {0} or on {1}.",
+ "title": "Error {0}:",
+ "codes":
+ {
+ "400": "Bad Request",
+ "401": "Unauthorized",
+ "403": "Forbidden",
+ "404": "Page Not Found"
+ },
+ "cta": "{0}Click Here{1} to return to the home page."
+ },
+ "popupTest":
+ {
+ "head":
+ {
+ "title": "Popup Test",
+ "description": "This page is used to test for popup authorization."
+ },
+ "warning": "This window should close shortly.",
+ "request": "Please do not close it yourself."
+ },
+ "footer":
+ {
+ "copyright": "Copyright © {0} Eric Lowry. Licensed under {1}.",
+ "links": "Follow {0}StadiaIcons on GitHub{1}"
+ }
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/lang/fr_FR.json b/Shortcuts/firebase/public/lang/fr_FR.json
new file mode 100644
index 0000000..2237024
--- /dev/null
+++ b/Shortcuts/firebase/public/lang/fr_FR.json
@@ -0,0 +1,90 @@
+{
+ "generic":
+ {
+ "error": "Erreur",
+ "important": "IMPORTANT"
+ },
+ "meta":
+ {
+ "title": "StadiaIcons – {0} – Rarcourci",
+ "simpleTitle": "{0} raccourci",
+ "description": "Cette page vous permettra d'installer {0} sous forme de Progressive Web App avec une icône StadiaIcon.",
+ "keywords": "Stadia, Icône, Design, Jeu, Jeu Vidéo, Rarcourci{0}"
+ },
+ "main":
+ {
+ "installed":
+ {
+ "title": "Installation réussie",
+ "info": "Vous devriez maintenant pouvoir ouvrir {0} directement depuis votre bureau ou depuis le menu Démarrer.",
+ "button": "Démarrez {0} maintenant"
+ },
+ "installPrompt":
+ {
+ "prompt": "Créez un raccourci sur votre appareil."
+ },
+ "popupPrompt":
+ {
+ "title": "Première installation",
+ "inset1": "C'est la première fois que vous installez un raccourci StadiaIcons.",
+ "inset2": "Afin de créer des raccourcis, vous devez autoriser ce site Web à afficher des popups *.",
+ "inset3": "Si votre navigateur le permet, vous devriez voir un message demandant cette autorisation. Il se trouve généralement à droite de la barre d'adresse.",
+ "request": "Si vous ne voyez pas ce message ou si vous venez d'octroyer l'autorisation au site, veuillez simplement appuyer sur ce bouton :",
+ "button": "Vérifier l'accès aux popups ",
+ "footnote": "* Les raccourcis StadiaIcon Shortcuts fonction grâce aux Progressive Web Apps ; ainsi, afin de lancer vos jeux en plein-écran, l'application doit donc ouvrir le jeu dans une fenâtre classique de navigateur à l'aide d'une en l'ouvrant dans une popup et referme alors immédiatement la page d'origine en arrière-plan."
+ },
+ "uninstall":
+ {
+ "stopped": "a été interrompu",
+ "info": "Vous avez appuyé sur la touche {0} pendant le lancement de l'application.",
+ "uninstall": "Vous essayez peut-être de désinstaller ce raccourci ? Dans ce cas, vous devriez trouver un bouton désinstaller dans le menu de réglages de cette page, lequel se situe généralement en haut à droite de la fenâtre.",
+ "restart": "Au cas contraire, vous pouvez simplement appuyer sur ce bouton pour démarrer votre jeu :",
+ "button": "Jouer à {0}"
+ },
+ "unavailable":
+ {
+ "status": "Soit le raccourci est peut-être déjà installé OU votre navigateur n'est peut-être pas pris en charge",
+ "info": "Si vous avez déjà installé le raccourci {1} de {0}, vous n'avez plus besoin d'utiliser ce lien ; utilisez simplement le raccourci en question pour jouer à votre jeu !",
+ "browsers": "Au cas contraire, nous vous recommandons vivement d'utiliser {0}Télécharger Chrome{1} ou {2}Télécharger Edge{3}."
+ },
+ "alert":
+ {
+ "info": "Pour désinstaller ce raccourci, appuyez sur la touche {0} pendant le lancement du raccourci."
+ }
+ },
+ "error":
+ {
+ "head":
+ {
+ "title": "StadiaIcons – Erreur {0}",
+ "simpleTitle": "StadiaIcons – Erreur",
+ "description": "Une erreur s'est produite lors du chargement de cette page : Erreur {0}, {1}"
+ },
+ "description": "Une erreur s'est produite lors du traitement de votre demande {0}.",
+ "instructions": "Veuillez fermer cette page et réessayer. Si le problème persiste, veuillez me contacter sur Reddit {0} ou sur {1}.",
+ "title": "Erreur {0}:",
+ "codes":
+ {
+ "400": "Mauvaise requête",
+ "401": "Vous n'êtes aps autorisés à visiter cette page",
+ "403": "Accès interdit",
+ "404": "Page non trouvée"
+ },
+ "cta": "{0}Cliquez ici{1} pour retourner à la page d'accueil"
+ },
+ "popupTest":
+ {
+ "head":
+ {
+ "title": "Test de popup",
+ "description": "Cette page est utilisée pour tester l'autorisation à afficher des popups ."
+ },
+ "warning": "Cette fenêtre devrait bientpot se refermer toute seule.",
+ "request": "Veuillez ne pas la refermer vous-même."
+ },
+ "footer":
+ {
+ "copyright": "Copyright © {0} Eric Lowry. Sous license {1}.",
+ "links": "Suivez {0}StadiaIcons sur GitHub{1}"
+ }
+}
\ No newline at end of file
diff --git a/Shortcuts/lang/langs.json b/Shortcuts/firebase/public/lang/langs.json
similarity index 100%
rename from Shortcuts/lang/langs.json
rename to Shortcuts/firebase/public/lang/langs.json
diff --git a/Shortcuts/firebase/public/puptest.html b/Shortcuts/firebase/public/puptest.html
new file mode 100644
index 0000000..183e8b0
--- /dev/null
+++ b/Shortcuts/firebase/public/puptest.html
@@ -0,0 +1,75 @@
+
+
+
+
+ StadiaIcons – Popup Test
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This window should close shortly.
+
Please do not close it yourself.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/scripts/lang.js b/Shortcuts/firebase/public/scripts/lang.js
new file mode 100644
index 0000000..03aecae
--- /dev/null
+++ b/Shortcuts/firebase/public/scripts/lang.js
@@ -0,0 +1,288 @@
+ /* LICENSED UNDER AGPL 3.0
+ This file is part of StadiaIcons.
+
+ StadiaIcons is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ StadiaIcons is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with StadiaIcons. If not, see .
+ */
+
+window.addEventListener( 'load', function ()
+{
+
+ // LANGUAGE DETECTION
+
+ var langs = navigator.languages;
+ if (!langs || !Array.isArray(langs) || langs.length <= 0)
+ {
+ if (navigator.language)
+ {
+ langs = [navigator.language]
+ }
+ else if (navigator.userLanguage)
+ {
+ langs = [navigator.userLanguage];
+ }
+ else
+ {
+ langs = [en_us];
+ }
+ }
+
+
+ // CLEAN UP
+
+ langs = langs.map((x) => {
+ var y = x.split(/[-_]/);
+ if (y.length <= 1)
+ {
+ return y[0].toLowerCase();
+ }
+ return y[0].toLowerCase() + '_' + y[1].toUpperCase();
+ });
+
+
+
+ // FIND EXISTING & POSSIBLES
+
+ fetch ('../lang/langs.json').then (
+ response => response.json()
+ ).then (
+ (json) => {
+
+ var lang = null,
+ possibles = [],
+ langGet = window.location.search.match(/[\?&]lang=([a-zA-Z]{2}(?:[- _][a-zA-Z]{1,2})?)/);
+
+ if (langGet && langGet.length > 0)
+ {
+ lang = langGet[1];
+ }
+
+ if(lang)
+ {
+ lang = verifyLang(lang, json, possibles);
+ }
+
+ if (lang === null)
+ {
+ for (code in langs)
+ {
+ var result = verifyLang(langs[code], json, possibles);
+ if(result)
+ {
+ lang = result;
+ break;
+ }
+ }
+ }
+
+ if (!lang)
+ {
+ if (possibles.length > 0)
+ {
+ lang = json[possibles][0];
+ }
+ else
+ {
+ lang = 'en_us';
+ }
+ }
+
+ GrabLanguage(lang, lang.split('_')[0]);
+
+ }
+ ).catch ((err) => {
+ console.log(err);
+ });
+
+});
+
+
+// FETCH THE LANGUAGE FILE
+
+function GrabLanguage(lang, prefix)
+{
+ fetch ('../lang/' + lang + '.json').then (
+ response => response.json()
+ ).then (
+ (json) => {
+
+ document.documentElement.lang = prefix;
+
+ TranslateMeta(json);
+
+ TranslateHtml(json);
+
+ document.body.classList.add('translated');
+
+ }
+ ).catch ((err) => {
+ console.log(err);
+ });
+}
+
+
+// TRANSLATION
+
+// Translating Meta Tags
+
+function TranslateMeta(data)
+{
+ if (typeof metaLang !== 'undefined' && metaLang)
+ {
+ for (m in metaLang)
+ {
+ var elems = document.getElementsByTagName(metaLang[m].tag);
+
+ for (e in elems)
+ {
+ if (!isNaN(e) && elems[e].hasAttribute(metaLang[m].attr))
+ {
+ if (elems[e].getAttribute(metaLang[m].attr) === metaLang[m].attrVal)
+ {
+ var target = GetLangString(metaLang[m].path, data);
+
+ if (target)
+ {
+ if (metaLang[m].hasOwnProperty('props'))
+ {
+ var props = [];
+ for (p in metaLang[m].props)
+ {
+ if (typeof metaLang[m].props[p] === 'object')
+ {
+ props.push(GetLangString(metaLang[m].props[p].path, data));
+ }
+ else
+ {
+ props.push(metaLang[m].props[p]);
+ }
+ }
+
+ elems[e].setAttribute(metaLang[m].targetAttr, target.format(props));
+ }
+ else
+ {
+ elems[e].setAttribute(metaLang[m].targetAttr, target);
+ }
+ }
+ else
+ {
+ console.log('Translation Error: target not found for ', metaLang[m]);
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+
+// Treanslating HTML Contents
+
+function TranslateHtml(data)
+{
+ var objs = document.getElementsByClassName('lang');
+
+ for (var i = 0; i < objs.length; i++)
+ {
+ var elems = objs[i].innerHTML.match(/\u200B([^\u200B]+)\u200B/g),
+ target = GetLangString(objs[i].dataset.lang, data);
+
+ if (target)
+ {
+ if (elems && elems.length > 0)
+ {
+ //console.log('Translating {', objs[i].innerHTML, '} into {', target.format(elems), '} using these elements: ', elems);
+ objs[i].innerHTML = target.format(elems);
+ }
+ else
+ {
+ //console.log('Translating {', objs[i].innerHTML, '} into {', target, '}.');
+ objs[i].innerHTML = target;
+ }
+ }
+ else
+ {
+ console.log('Translation Error: target not found for ', objs[i]);
+ }
+ }
+}
+
+
+// TOOLS
+
+function verifyLang(verif, langs, possibles)
+{
+ var verif = verif.split(/[-_]/),
+ prefix = verif[0].toLowerCase();
+
+ if (verif.length <= 1)
+ {
+ if (langs.hasOwnProperty(prefix))
+ {
+ possibles.push(prefix);
+ }
+ return false;
+ }
+
+ var suffix = verif[1].toUpperCase();
+
+ verif = prefix + '_' + suffix;
+
+ if (!langs[prefix].includes(verif))
+ {
+ return null;
+ }
+ for (code in langs[prefix])
+ {
+ if (langs[prefix][code] === verif)
+ {
+ return verif;
+ }
+ }
+
+ possibles.push(prefix);
+
+ return false;
+}
+
+function GetLangString(pathString, data)
+{
+ var path = pathString.split('.'),
+ target = data;
+
+ for (p in path)
+ {
+ target = target[path[p]];
+ }
+ return target;
+}
+
+
+// EXTENSIONS
+
+if (!String.prototype.format)
+{
+ String.prototype.format = function(format)
+ {
+ var args = arguments;
+ if (Array.isArray(args[0]))
+ {
+ args = args[0];
+ }
+ return this.replace(/{(\d+)}/g, function(match, number)
+ {
+ return typeof args[number] != 'undefined' ? args[number] : match;
+ });
+ }
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/scripts/shortcuts.js b/Shortcuts/firebase/public/scripts/shortcuts.js
new file mode 100644
index 0000000..1265908
--- /dev/null
+++ b/Shortcuts/firebase/public/scripts/shortcuts.js
@@ -0,0 +1,272 @@
+ /* LICENSED UNDER AGPL 3.0
+ This file is part of StadiaIcons.
+
+ StadiaIcons is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ StadiaIcons is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with StadiaIcons. If not, see .
+ */
+
+var inPWA = ( window.matchMedia( '(display-mode: standalone)' ).matches || window.matchMedia( '(display-mode: fullscreen)' ).matches || window.navigator.standalone === true ),
+ isChrome = /Chrome/.test( navigator.userAgent ) && /Google Inc/.test( navigator.vendor );
+
+
+
+// SET UP THE SERVICE WORKER
+
+if ( "serviceWorker" in navigator )
+{
+ window.addEventListener( "load", () =>
+ {
+ navigator.serviceWorker.register( '/' + uid + "/sw.js?uid=" + uid ).then( ( reg ) =>
+ {
+ console.log( 'ServiceWorker registration successful with scope: ', reg.scope );
+ } ).catch( ( err ) =>
+ {
+ console.error( 'Service Worker Error', err );
+ } );
+ } );
+}
+
+
+window.addEventListener( 'load', function ()
+{
+
+ // POPUP ACCESS
+ document.getElementById( 'TestAccess' ).addEventListener( 'click', ( e ) =>
+ {
+ location.reload( false );
+ return false;
+ } );
+
+ // INSTALL PROMPT
+ if ( inPWA )
+ {
+ document.getElementById( 'Alert' ).style.display = 'flex';
+
+ var loadDelay = window.setTimeout( function ()
+ {
+ launchPup();
+ }, 800 );
+
+ document.addEventListener( 'keydown', ( e ) =>
+ {
+ if ( e.keyCode = 17 && loadDelay != null )
+ {
+ window.clearTimeout( loadDelay );
+ loadDelay = null;
+ ShowUninstall();
+ }
+ } );
+ }
+ else
+ {
+ var incompatibleDelay = window.setTimeout( function ()
+ {
+ ShowIncompatible();
+ }, 1200 ),
+ hasInstalled = false;
+
+ let deferredPrompt;
+
+ window.addEventListener( 'beforeinstallprompt', ( e ) =>
+ {
+ // Prevent the mini-infobar from appearing on mobile
+ e.preventDefault();
+ // Stash the event so it can be triggered later.
+ deferredPrompt = e;
+ // Update UI notify the user they can install the PWA
+ ShowInstallPrompt();
+
+ clearTimeout( incompatibleDelay );
+ } );
+
+ document.getElementById( 'InstallButton' ).addEventListener( 'click', ( e ) =>
+ {
+ e.preventDefault();
+
+ // Hide the app provided install promotion
+ ShowLoading();
+
+ clearTimeout( incompatibleDelay );
+
+ // Show the install prompt
+ deferredPrompt.prompt();
+
+ // Wait for the user to respond to the prompt
+ deferredPrompt.userChoice.then( ( choiceResult ) =>
+ {
+ if ( choiceResult.outcome === 'accepted' )
+ {
+ if ( !hasInstalled )
+ {
+ hasInstalled = true;
+ ShowInstalled();
+ }
+ }
+ else
+ {
+ if ( !hasInstalled )
+ {
+ hasInstalled = false;
+ ShowInstallPrompt();
+ }
+ }
+ } );
+ } );
+
+ window.addEventListener( 'appinstalled', ( e ) =>
+ {
+ // Has installed
+ if ( !hasInstalled )
+ {
+ hasInstalled = true;
+ ShowInstalled();
+ }
+ } );
+ }
+
+ // LAUNCH Button
+
+ var launchButtons = document.getElementsByClassName( 'LaunchGame' );
+ for ( var i = 0; i < launchButtons.length; i++ )
+ {
+ launchButtons[i].addEventListener( 'click', ( e ) =>
+ {
+ launchPup();
+ } );
+ }
+
+ // CLOSE ASIDE
+ var launchButtons = document.getElementsByClassName( 'closeAside' );
+ for ( var i = 0; i < launchButtons.length; i++ )
+ {
+ launchButtons[i].addEventListener( 'click', ( e ) =>
+ {
+ document.getElementById( 'Alert' ).style.display = 'none';
+ } );
+ }
+
+} );
+
+// POPUP LaunchGame
+
+function launchPup()
+{
+ var gameWindow = window.open( 'https://stadia.google.com/player/' + uid, '_blank' );
+
+ window.setTimeout( function ()
+ {
+ var hasRunCheck = false;
+ try
+ {
+ if ( ( !gameWindow || gameWindow.closed || typeof gameWindow.closed == 'undefined' ) || ( isChrome && !gameWindow || gameWindow.outerHeight === 0 ) )
+ {
+ // Failure
+ console.warn( 'The popup was blocked!' );
+
+ ShowInstallPrompt(); // TODO: Make this a specific version for recurring blocked popups.
+
+ hasRunCheck = true;
+ } else
+ {
+ // Success
+ window.close();
+
+ hasRunCheck = true;
+ }
+ }
+ catch ( err )
+ {
+ console.warn( err );
+
+ if ( !gameWindow || gameWindow.closed || typeof gameWindow.closed == 'undefined' )
+ {
+ // Failure
+ if ( !hasRunCheck )
+ {
+ console.warn( 'The popup was blocked!' );
+
+ ShowInstallPrompt(); // TODO: Make this a specific version for recurring blocked popups.
+ }
+ } else
+ {
+ // Success
+ if ( !hasRunCheck )
+ {
+ window.close();
+ }
+ }
+ }
+ }, 600 );
+}
+
+// POPUP TEST
+function TestPopup()
+{
+ var popupTest = window.setTimeout( function ()
+ {
+ console.warn( "Popup Test Failed" );
+ document.getElementById( 'PopupPrompt' ).style.display = 'flex';
+ document.getElementById( 'Loading' ).className = '';
+ }, 500 );
+
+ window.addEventListener( "message", function ( e )
+ {
+ if ( e.origin == document.location.origin )
+ {
+ if ( e.data.loaded )
+ {
+ console.log( "Popup Test Successful" );
+ clearTimeout( popupTest );
+ document.getElementById( 'InstallPrompt' ).style.display = 'flex';
+ document.getElementById( 'Loading' ).className = '';
+ }
+ }
+ } );
+
+ window.open( '/puptest.html', '_blank' );
+}
+
+// SECTION HANDLING
+
+function ShowInstallPrompt()
+{
+ document.getElementById( 'InstallPrompt' ).style.display = 'none';
+ document.getElementById( 'Unavailable' ).style.display = 'none';
+ document.body.classList.add( 'loaded' );
+
+ TestPopup();
+}
+function ShowLoading()
+{
+ document.body.classList.remove( 'loaded' );
+ document.getElementById( 'InstallPrompt' ).style.display = 'none';
+ document.getElementById( 'Unavailable' ).style.display = 'none';
+}
+function ShowIncompatible()
+{
+ document.getElementById( 'Unavailable' ).style.display = 'flex';
+ document.body.classList.add( 'loaded' );
+}
+function ShowInstalled()
+{
+ document.getElementById( 'InstallPrompt' ).style.display = 'none';
+ document.getElementById( 'Installed' ).style.display = 'flex';
+ document.getElementById( 'Alert' ).style.display = 'flex';
+ document.body.classList.add( 'loaded' );
+}
+function ShowUninstall()
+{
+ document.getElementById( 'Uninstall' ).style.display = 'flex';
+ document.getElementById( 'Alert' ).style.display = 'none';
+ document.body.classList.add( 'loaded' );
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/scripts/sw.js b/Shortcuts/firebase/public/scripts/sw.js
new file mode 100644
index 0000000..0ab472b
--- /dev/null
+++ b/Shortcuts/firebase/public/scripts/sw.js
@@ -0,0 +1,81 @@
+ /* LICENSED UNDER AGPL 3.0
+ This file is part of StadiaIcons.
+
+ StadiaIcons is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ StadiaIcons is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with StadiaIcons. If not, see .
+ */
+
+importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js');
+
+var uid = new URL(self.location).searchParams.get('uid');
+
+if ( uid == 'defaultIcon' || /^[A-z0-9]{32}rcp1$/.test( uid ) )
+{
+
+ workbox.routing.registerRoute(
+ new RegExp( '\/' + uid + '\/\?.*' ),
+ new workbox.strategies.StaleWhileRevalidate( {
+ "cacheName": "root",
+ plugins: [
+ new workbox.expiration.ExpirationPlugin( {
+ maxEntries: 1000,
+ maxAgeSeconds: 31536000
+ } )
+ ]
+ } )
+ );
+
+ workbox.routing.registerRoute(
+ /\.(?:css|js)$/,
+ new workbox.strategies.StaleWhileRevalidate( {
+ "cacheName": "assets",
+ plugins: [
+ new workbox.expiration.ExpirationPlugin( {
+ maxEntries: 1000,
+ maxAgeSeconds: 31536000
+ } )
+ ]
+ } )
+ );
+
+ workbox.routing.registerRoute(
+ /\.(?:png|jpg|jpeg|gif|bmp|webp|svg|ico)$/,
+ new workbox.strategies.CacheFirst( {
+ "cacheName": "images",
+ plugins: [
+ new workbox.expiration.ExpirationPlugin( {
+ maxEntries: 1000,
+ maxAgeSeconds: 31536000
+ } )
+ ]
+ } )
+ );
+
+ workbox.routing.registerRoute(
+ /\.(?:webmanifest)(?:\?.*)?$/,
+ new workbox.strategies.StaleWhileRevalidate( {
+ "cacheName": "manifest",
+ plugins: [
+ new workbox.expiration.ExpirationPlugin( {
+ maxEntries: 1000,
+ maxAgeSeconds: 31536000
+ } )
+ ]
+ } )
+ );
+
+}
+else
+{
+ console.error( 'The uid parameter is not valid' );
+}
\ No newline at end of file
diff --git a/Shortcuts/firebase/public/style.css b/Shortcuts/firebase/public/style.css
new file mode 100644
index 0000000..9e7b330
--- /dev/null
+++ b/Shortcuts/firebase/public/style.css
@@ -0,0 +1,332 @@
+ /* LICENSED UNDER AGPL 3.0
+ This file is part of StadiaIcons.
+
+ StadiaIcons is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ StadiaIcons is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with StadiaIcons. If not, see .
+ */
+
+@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');
+
+*
+{
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+body
+{
+ min-height: 100%;
+ font-family: 'Roboto',sans-serif;
+ color: white;
+ padding: 0;
+ margin: 0;
+ overflow-x: hidden;
+ background-color: #202124;
+ min-height: 100vh;
+}
+
+h1,
+h2,
+h3
+{
+ font-family: 'Google Sans','Product Sans','Roboto',sans-serif;
+}
+h1
+{
+ font-size: 2em;
+}
+
+a
+{
+ text-decoration: none;
+ color: #ff773d;
+ transition: color 0.24s cubic-bezier(0.35,0,0.15,1);
+}
+ a:hover
+ {
+ color: #d1293d;
+ }
+
+
+/* Sections */
+
+main
+{
+ position: relative;
+ box-shadow: 0 0.125em 0.75em rgba(0,0,0,0.22), 0 0.0625em 0.375em rgba(0,0,0,0.14);
+}
+
+section,
+aside
+{
+ display: none;
+ text-align: center;
+ align-items: center;
+}
+section
+{
+ justify-content: space-evenly;
+ flex-wrap: wrap;
+ min-height: 100vh;
+}
+ section.forced
+ {
+ display: flex !important;
+ }
+ section:not(#Loading) > div:not(.footnote)
+ {
+ padding: 5vw;
+ max-width: 800px;
+ }
+ section > div.footnote
+ {
+ padding: 0.76em 5vw;
+ align-self: flex-end;
+ max-width: 100vw;
+ width: 100%;
+ background-color: rgba(255,255,255,0.03);
+ font-size: 0.84em;
+ box-shadow: 0 0.125em 0.9em rgba(0,0,0,0.32), 0 0.0625em 0.4em rgba(0,0,0,0.18);
+ }
+
+
+/* Alert */
+
+aside
+{
+ position: fixed;
+ bottom: 0;
+ width: 100vw;
+ justify-content: center;
+ padding: 0.76em 5vw;
+ background-image: linear-gradient(107deg,#ff4c1d,#9b0063);
+ box-shadow: 0 0.125em 0.75em rgba(0,0,0,0.32), 0 0.0625em 0.375em rgba(0,0,0,0.18);
+ z-index: 99;
+}
+ aside > *
+ {
+ padding-left: 0.6vw;
+ padding-right: 0.6vw;
+ }
+ aside > *:first-child
+ {
+ padding-left: 0;
+ }
+ aside > *:last-child
+ {
+ padding-right: 0;
+ }
+ aside > h1,
+ aside > h2,
+ aside > h3,
+ aside > p
+ {
+ margin-top: 0.2vw;
+ margin-bottom: 0.2vw;
+ }
+ aside > span.close
+ {
+ position: absolute;
+ right: 0;
+ cursor: pointer;
+ padding: 0.3em 2vw;
+ font-size: 1.4em;
+ line-height: 0;
+ vertical-align: middle;
+ color: #fff;
+ }
+
+
+/* Footer */
+
+footer
+{
+ padding: 1em 5vw;
+ padding: calc(0.5em + 1.2vw) 5vw;
+ max-width: 100vw;
+ width: 100%;
+ background-color: rgba(255,255,255,0.03);
+ text-align: center;
+ color: rgba(255,255,255,0.6);
+}
+
+
+/* Areas */
+
+div.inset
+{
+ width: 80%;
+ max-width: 600px;
+ margin: 2vw auto;
+ text-align: left;
+}
+
+
+/* Buttons */
+
+button
+{
+ position: relative;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ box-sizing: border-box;
+ height: 3em;
+ padding: 0.625em 1.5em;
+ border-radius: 0.25rem;
+ box-shadow: 0 0.125em 0.75em rgba(0,0,0,0.32), 0 0.0625em 0.375em rgba(0,0,0,0.18);
+ font-family: 'Google Sans','Product Sans','Roboto',sans-serif;
+ font-size: 1rem;
+ line-height: 1.5em;
+ font-weight: 600;
+ color: #fff;
+ background: transparent;
+ border: none;
+ cursor: pointer;
+ transition: box-shadow 0.3s cubic-bezier(0.35,0,0.15,1);
+}
+ button:hover,
+ a:hover button
+ {
+ box-shadow: 0 0.1em 0.15em rgba(0,0,0,0.2), 0 0.04em 0.1em rgba(0,0,0,0.1);
+ }
+ button > span
+ {
+ display: inline-block;
+ z-index: 1;
+ }
+ button:before,
+ button:after
+ {
+ content: "";
+ position: absolute;
+ display: block;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ border-radius: 0.25rem;
+ z-index: 0;
+ }
+ button:before
+ {
+ background-color: #ff4c1d;
+ background-image: linear-gradient(107deg,#ff4c1d,#9b0063);
+ }
+ button:after
+ {
+ opacity: 0;
+ filter: alpha(opacity=0);
+ background-image: linear-gradient(-107deg,#ff4c1d,#9b0063);
+ transition: opacity 0.4s cubic-bezier(0.35,0,0.15,1), filter 0.4s cubic-bezier(0.35,0,0.15,1);
+ }
+ button:hover:after,
+ a:hover button:after
+ {
+ opacity: 1;
+ filter: alpha(opacity=100);
+ }
+
+
+/* Loader */
+
+#Loading
+{
+ display: flex;
+ width: 100vw;
+ height: 100vh;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #202124;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ pointer-events: none;
+ transition: opacity 0.8s cubic-bezier(0.35,0,0.15,1), filter 0.8s cubic-bezier(0.35,0,0.15,1);
+ z-index: 90;
+}
+ body.translatable:not(.translated) #Loading,
+ body.loadable:not(.loaded) #Loading
+ {
+ opacity: 1;
+ filter: alpha(opacity=100);
+ pointer-events: auto;
+ }
+.loader
+{
+ display: inline-block;
+ position: relative;
+ width: 80px;
+ height: 80px;
+}
+ .loader div
+ {
+ box-sizing: border-box;
+ display: block;
+ position: absolute;
+ width: 64px;
+ height: 64px;
+ margin: 8px;
+ border: 8px solid #fff;
+ border-radius: 50%;
+ animation: loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
+ border-color: #fff transparent transparent transparent;
+ }
+ .loader div:nth-child(1)
+ {
+ animation-delay: -0.45s;
+ }
+ .loader div:nth-child(2)
+ {
+ animation-delay: -0.3s;
+ }
+ .loader div:nth-child(3)
+ {
+ animation-delay: -0.15s;
+ }
+@keyframes loader
+{
+ 0%
+ {
+ transform: rotate(0deg);
+ }
+
+ 100%
+ {
+ transform: rotate(360deg);
+ }
+}
+
+
+/* Other */
+
+span.hilight
+{
+ border-radius: 0.34em;
+ border: 2px solid rgba(255,255,255,0.4);
+ padding: 0.18em 0.34em;
+ margin: -0.18em 0;
+}
+
+span.gradient
+{
+ font-weight: 900;
+ background: -webkit-linear-gradient(107deg,#ff4c1d,#9b0063);
+ background: linear-gradient(107deg,#ff4c1d,#9b0063);
+ -webkit-background-clip: text;
+ background-clip: text;
+ -webkit-text-fill-color: transparent;
+ text-fill-color: transparent;
+}
\ No newline at end of file
diff --git a/Shortcuts/.htaccess b/Shortcuts/php/.htaccess
similarity index 100%
rename from Shortcuts/.htaccess
rename to Shortcuts/php/.htaccess
diff --git a/Shortcuts/php/LICENSE.txt b/Shortcuts/php/LICENSE.txt
new file mode 100644
index 0000000..bae94e1
--- /dev/null
+++ b/Shortcuts/php/LICENSE.txt
@@ -0,0 +1,661 @@
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU Affero General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+ .
\ No newline at end of file
diff --git a/Shortcuts/php/README.md b/Shortcuts/php/README.md
new file mode 100644
index 0000000..adf966d
--- /dev/null
+++ b/Shortcuts/php/README.md
@@ -0,0 +1,68 @@
+# StadiaIcons Shortcuts PHP version
+
+This version is designed to be deployed on the web using PHP server-side and the typical HTML/JavaScript/CSS combo client-side.
+
+## WARNING
+
+***This version is still functional, but no longer actively maintained. I strongly suggest checking all the code for errors or vulnerabilities before deploying it yourself just in case.***
+
+## Usage
+
+In order to call a StadiaIcons Shortcut for a given Stadia title, the following link structure will be able to dynamically generate a functional Progressive Web App (PWA):
+
+https:// yourdomain .com/`{uid}`/?fullName=`{title}`&uid=`{uid}`&shortName=`{short tite}`&alt=`{alt marker}`&variant=`{variant id}`&lang=`{language}`
+
+***Parameters:***
+* `{uid}`: The game's unique uid, which is found in the game's Stadia launch url and is used to identify it in the StadiaIcons [refs.json](/refs.json) reference sheet.
+* `{title}`: The game's title.
+* `{short tite}`: *(optional)* A shorter version of the title that will be used as the shortcut name in some cases (this can be useful with games that have huge titles that couldn't be displayed in most UIs).
+* `{alt marker}`: *(optional)* If set to the `altSuffix` value found in the StadiaIcons [refs.json](/refs.json) reference sheet (`_alt` by default), the icon used for the PWA will not have the red filter.
+* `{variant id}`: *(optional)* In the case where a game has multiple icon variants, this `int` value will be used to determine which version to use (defaults to `0`).
+* `{language}`: *(optional)* By default, the language will be set based on the user's browser settings. You can override this by passing a language code in this parameter following one of two structures: `en` or `en_US`.
+
+## Contents
+
+### [index.php](index.php)
+This is the main file that renders the PWA contents.
+
+Without going into too many details, there are 2 elements worth mentioning:
+1. A lot of stuff is happening inside the `` tag; most of this boils down to gathering data based on the URL parameters and setting things up to form a valid PWA-enabled HTML file.
+2. All the content that will be displayed to the end-user is found inside the various `` tags and the lone `` tag. Nothing user-facing should be present within other files.
+
+### [.htaccess](.htaccess)
+In order to create an individual PWA for each game, a bit of redirection trickery is going on in the [.htaccess](.htaccess) file:
+
+* All subfolders redirect straight to the root's [index.php](index.php) file, effectively making them all run the same code. This way, we can use each game's `uid` as a virtual subfolder in order to ensure each PWA can be installed separately.
+* The `.webmanifest` extension is set to run PHP code, which allows us to build the PWA's parameters dynamically
+
+### [inc/get.php](inc/get.php)
+This file's sole purpose is to parse the url parameters (as described above) and fetch the StadiaIcons [refs.json](/refs.json) reference sheet (stored as the `$data` variable).
+
+***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+
+### [pupteest.php](pupteest.php)
+This minimalist page is called up as a popup in order to test if the browser is blocking popups.
+
+### [stadia.webmanifest](stadia.webmanifest)
+This file runs PHP code and outputs a valid PWA manifest in JSON based on URL parameters following the same structure as what is described above.
+
+### [sw.js](sw.js)
+This is called as a service worker. Though I am new to using these, as far as I can tell, it is used to cache all relevant content so that the PWA can be launched even when offline.
+
+***Note:** This document contains a direct reference to the website's full URL, you will need to modify this manually.*
+
+### [scripts.js](scripts.js)
+Here is where a lot of the magic happens.
+
+To keep things short, here are a few things that it does (not in any specific order):
+1. Determine whether the page is being opened as a PWA (open the game popup and close itself) or inside a normal browser window (display the installation process).
+2. Display the correct `` of the [index.php](index.php) depending on the situation
+3. Ensure that the browser allows popups by opening [puptest.php](puptest.php) as a popup.
+4. Request PWA installation when the users clicks the relevant button (and react to the outcome).
+
+### [inc/lang.php](inc/lang.php)
+You might have noticed quite a few `__()` and `_e()` PHP functions being used throughout various pages. This is part of a custom translation system which is defined in this file.
+
+The language can be overridden by passing a language code via the `&lang=` url parameter. Language codes should follow one of the following structures: `en` or `en_US`.
+
+By default, the system uses the preferred language as defined by the browser to translate each page's contents based on the individual JSON files in the [lang folder](lang).
\ No newline at end of file
diff --git a/Shortcuts/games.php b/Shortcuts/php/games.php
similarity index 100%
rename from Shortcuts/games.php
rename to Shortcuts/php/games.php
diff --git a/Shortcuts/inc/.htaccess b/Shortcuts/php/inc/.htaccess
similarity index 100%
rename from Shortcuts/inc/.htaccess
rename to Shortcuts/php/inc/.htaccess
diff --git a/Shortcuts/inc/error.php b/Shortcuts/php/inc/error.php
similarity index 100%
rename from Shortcuts/inc/error.php
rename to Shortcuts/php/inc/error.php
diff --git a/Shortcuts/inc/footer.php b/Shortcuts/php/inc/footer.php
similarity index 100%
rename from Shortcuts/inc/footer.php
rename to Shortcuts/php/inc/footer.php
diff --git a/Shortcuts/inc/get.php b/Shortcuts/php/inc/get.php
similarity index 100%
rename from Shortcuts/inc/get.php
rename to Shortcuts/php/inc/get.php
diff --git a/Shortcuts/inc/lang.php b/Shortcuts/php/inc/lang.php
similarity index 100%
rename from Shortcuts/inc/lang.php
rename to Shortcuts/php/inc/lang.php
diff --git a/Shortcuts/index.php b/Shortcuts/php/index.php
similarity index 100%
rename from Shortcuts/index.php
rename to Shortcuts/php/index.php
diff --git a/Shortcuts/info.json b/Shortcuts/php/info.json
similarity index 100%
rename from Shortcuts/info.json
rename to Shortcuts/php/info.json
diff --git a/Shortcuts/lang/.htaccess b/Shortcuts/php/lang/.htaccess
similarity index 100%
rename from Shortcuts/lang/.htaccess
rename to Shortcuts/php/lang/.htaccess
diff --git a/Shortcuts/lang/en_US.json b/Shortcuts/php/lang/en_US.json
similarity index 100%
rename from Shortcuts/lang/en_US.json
rename to Shortcuts/php/lang/en_US.json
diff --git a/Shortcuts/lang/fr_FR.json b/Shortcuts/php/lang/fr_FR.json
similarity index 100%
rename from Shortcuts/lang/fr_FR.json
rename to Shortcuts/php/lang/fr_FR.json
diff --git a/Shortcuts/php/lang/langs.json b/Shortcuts/php/lang/langs.json
new file mode 100644
index 0000000..f6b5bf4
--- /dev/null
+++ b/Shortcuts/php/lang/langs.json
@@ -0,0 +1,10 @@
+{
+ "en":
+ [
+ "en_US"
+ ],
+ "fr":
+ [
+ "fr_FR"
+ ]
+}
\ No newline at end of file
diff --git a/Shortcuts/puptest.php b/Shortcuts/php/puptest.php
similarity index 100%
rename from Shortcuts/puptest.php
rename to Shortcuts/php/puptest.php
diff --git a/Shortcuts/scripts.js b/Shortcuts/php/scripts.js
similarity index 100%
rename from Shortcuts/scripts.js
rename to Shortcuts/php/scripts.js
diff --git a/Shortcuts/stadia.webmanifest b/Shortcuts/php/stadia.webmanifest
similarity index 100%
rename from Shortcuts/stadia.webmanifest
rename to Shortcuts/php/stadia.webmanifest
diff --git a/Shortcuts/style.css b/Shortcuts/php/style.css
similarity index 100%
rename from Shortcuts/style.css
rename to Shortcuts/php/style.css
diff --git a/Shortcuts/sw.js b/Shortcuts/php/sw.js
similarity index 100%
rename from Shortcuts/sw.js
rename to Shortcuts/php/sw.js