mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix home
This commit is contained in:
21
.github/workflows/compile.dashboard.yaml
vendored
Normal file
21
.github/workflows/compile.dashboard.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Compile Dashboard
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'hotfix-*'
|
||||
- 'release'
|
||||
- 'staging-release'
|
||||
|
||||
jobs:
|
||||
compile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
check-latest: true
|
||||
- run: cd Common && npm install
|
||||
- run: cd CommonServer && npm install
|
||||
- run: cd Dashboard && npm install && npm run compile
|
||||
|
||||
104
CommonServer/package-lock.json
generated
104
CommonServer/package-lock.json
generated
@@ -16,6 +16,7 @@
|
||||
"Common": "file:../Common",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.0.0",
|
||||
"ejs": "^3.1.8",
|
||||
"express": "^4.17.3",
|
||||
"gridfs-stream": "^1.1.1",
|
||||
"handlebars": "^4.7.7",
|
||||
@@ -2424,6 +2425,20 @@
|
||||
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
||||
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
|
||||
},
|
||||
"node_modules/ejs": {
|
||||
"version": "3.1.8",
|
||||
"resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz",
|
||||
"integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==",
|
||||
"dependencies": {
|
||||
"jake": "^10.8.5"
|
||||
},
|
||||
"bin": {
|
||||
"ejs": "bin/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.4.129",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.129.tgz",
|
||||
@@ -2744,6 +2759,33 @@
|
||||
"resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz",
|
||||
"integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q=="
|
||||
},
|
||||
"node_modules/filelist": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
|
||||
"integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==",
|
||||
"dependencies": {
|
||||
"minimatch": "^5.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/filelist/node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/filelist/node_modules/minimatch": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
|
||||
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/fill-range": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
||||
@@ -3358,6 +3400,23 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/jake": {
|
||||
"version": "10.8.5",
|
||||
"resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz",
|
||||
"integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==",
|
||||
"dependencies": {
|
||||
"async": "^3.2.3",
|
||||
"chalk": "^4.0.2",
|
||||
"filelist": "^1.0.1",
|
||||
"minimatch": "^3.0.4"
|
||||
},
|
||||
"bin": {
|
||||
"jake": "bin/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/jest": {
|
||||
"version": "27.5.1",
|
||||
"resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz",
|
||||
@@ -8407,6 +8466,14 @@
|
||||
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
||||
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
|
||||
},
|
||||
"ejs": {
|
||||
"version": "3.1.8",
|
||||
"resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz",
|
||||
"integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==",
|
||||
"requires": {
|
||||
"jake": "^10.8.5"
|
||||
}
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.4.129",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.129.tgz",
|
||||
@@ -8656,6 +8723,32 @@
|
||||
"resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.1.tgz",
|
||||
"integrity": "sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q=="
|
||||
},
|
||||
"filelist": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
|
||||
"integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==",
|
||||
"requires": {
|
||||
"minimatch": "^5.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
|
||||
"integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
|
||||
"requires": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"fill-range": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
||||
@@ -9102,6 +9195,17 @@
|
||||
"istanbul-lib-report": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"jake": {
|
||||
"version": "10.8.5",
|
||||
"resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz",
|
||||
"integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==",
|
||||
"requires": {
|
||||
"async": "^3.2.3",
|
||||
"chalk": "^4.0.2",
|
||||
"filelist": "^1.0.1",
|
||||
"minimatch": "^3.0.4"
|
||||
}
|
||||
},
|
||||
"jest": {
|
||||
"version": "27.5.1",
|
||||
"resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"Common": "file:../Common",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.0.0",
|
||||
"ejs": "^3.1.8",
|
||||
"express": "^4.17.3",
|
||||
"gridfs-stream": "^1.1.1",
|
||||
"handlebars": "^4.7.7",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, { FunctionComponent, ReactElement } from 'react';
|
||||
import Icon, { IconProp, SizeProp } from '../Icon/Icon';
|
||||
import { VeryLightGrey } from '../../Utils/BrandColors';
|
||||
|
||||
export interface ComponentProps {
|
||||
onChange: (search: string) => void;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Dashboard Dockerfile
|
||||
# dashboard Dockerfile
|
||||
#
|
||||
|
||||
# Pull base image nodejs image.
|
||||
|
||||
11091
Dashboard/dist/bundle.js
vendored
Normal file
11091
Dashboard/dist/bundle.js
vendored
Normal file
File diff suppressed because one or more lines are too long
30
Dashboard/dist/main.9925299d04f6d4d2bdae.hot-update.js
vendored
Normal file
30
Dashboard/dist/main.9925299d04f6d4d2bdae.hot-update.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
Dashboard/dist/main.9925299d04f6d4d2bdae.hot-update.json
vendored
Normal file
1
Dashboard/dist/main.9925299d04f6d4d2bdae.hot-update.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"c":["main"],"r":[],"m":[]}
|
||||
30
Dashboard/dist/main.c1d30ea69860d7cc5f60.hot-update.js
vendored
Normal file
30
Dashboard/dist/main.c1d30ea69860d7cc5f60.hot-update.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
Dashboard/dist/main.c1d30ea69860d7cc5f60.hot-update.json
vendored
Normal file
1
Dashboard/dist/main.c1d30ea69860d7cc5f60.hot-update.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"c":["main"],"r":[],"m":[]}
|
||||
59799
Dashboard/package-lock.json
generated
59799
Dashboard/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,7 @@
|
||||
"CommonUI": "file:../CommonUI",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"react-icons": "^4.4.0",
|
||||
"react-router": "^6.3.0",
|
||||
"react-router-dom": "^6.3.0",
|
||||
"typescript": "^4.6.4"
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
<meta name="slack-app-id" content="ACVBMTPJQ">
|
||||
<meta name="description" content="This is the login page for OneUptime Dashboard">
|
||||
|
||||
<link rel="manifest" href="/assets/img/favicons/ma">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon.png">
|
||||
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicons/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="194x194" href="/assets/img/favicons/favicon-194x194.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/assets/img/favicons/android-chrome-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicons/favicon-16x16.png">
|
||||
<link rel="mask-icon" href="/assets/img/favicons/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<link rel="manifest" href="/dashboard/assets/img/favicons/ma">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/dashboard/assets/img/favicons/apple-touch-icon.png">
|
||||
<link rel="shortcut icon" href="/dashboard/assets/img/favicons/favicon.ico">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/dashboard/assets/img/favicons/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="194x194" href="/dashboard/assets/img/favicons/favicon-194x194.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/dashboard/assets/img/favicons/android-chrome-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/dashboard/assets/img/favicons/favicon-16x16.png">
|
||||
<link rel="mask-icon" href="/dashboard/assets/img/favicons/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#121212">
|
||||
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
|
||||
<meta name="msapplication-TileImage" content="/dashboard/assets/img/favicons/mstile-144x144.png">
|
||||
<meta name="theme-color" content="#121212">
|
||||
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
|
||||
|
||||
<!-- Preload light, regular, medium and bold, which are fonts that are used on home -->
|
||||
<link rel="preload" href="/assets/fonts/camphor/font1.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/assets/fonts/camphor/font2.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/assets/fonts/camphor/font3.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/assets/fonts/camphor/font4.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/dashboard/assets/fonts/camphor/font1.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/dashboard/assets/fonts/camphor/font2.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/dashboard/assets/fonts/camphor/font3.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="/dashboard/assets/fonts/camphor/font4.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
|
||||
|
||||
<!--
|
||||
@@ -65,6 +65,6 @@
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
<script src="/bundle.js"></script>
|
||||
<script src="/dashboard/dashboard/assets/bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,28 +3,28 @@ import Dictionary from 'Common/Types/Dictionary';
|
||||
import PageMap from './PageMap';
|
||||
|
||||
const RouteMap: Dictionary<Route> = {
|
||||
[PageMap.INIT]: new Route('/'),
|
||||
[PageMap.HOME]: new Route('/:projectSlug/home/'),
|
||||
[PageMap.INCIDENTS]: new Route('/:projectSlug/incidents/'),
|
||||
[PageMap.STATUS_PAGE]: new Route('/:projectSlug/status-pages/'),
|
||||
[PageMap.LOGS]: new Route('/:projectSlug/logs/'),
|
||||
[PageMap.INIT]: new Route('/dashboard'),
|
||||
[PageMap.HOME]: new Route('/dashboard/:projectSlug/home/'),
|
||||
[PageMap.INCIDENTS]: new Route('/dashboard/:projectSlug/incidents/'),
|
||||
[PageMap.STATUS_PAGE]: new Route('/dashboard/:projectSlug/status-pages/'),
|
||||
[PageMap.LOGS]: new Route('/dashboard/:projectSlug/logs/'),
|
||||
|
||||
[PageMap.MONITORS]: new Route('/:projectSlug/monitors/'),
|
||||
[PageMap.MONITORS]: new Route('/dashboard/:projectSlug/monitors/'),
|
||||
[PageMap.AUTOMATION_SCRIPTS]: new Route(
|
||||
'/:projectSlug/automation-scripts/'
|
||||
'/dashboard/:projectSlug/automation-scripts/'
|
||||
),
|
||||
[PageMap.ON_CALL]: new Route('/:projectSlug/on-call/'),
|
||||
[PageMap.REPORTS]: new Route('/:projectSlug/reports/'),
|
||||
[PageMap.ERROR_TRACKER]: new Route('/:projectSlug/error-tracker/'),
|
||||
[PageMap.ON_CALL]: new Route('/dashboard/:projectSlug/on-call/'),
|
||||
[PageMap.REPORTS]: new Route('/dashboard/:projectSlug/reports/'),
|
||||
[PageMap.ERROR_TRACKER]: new Route('/dashboard/:projectSlug/error-tracker/'),
|
||||
|
||||
// Settings Routes
|
||||
[PageMap.SETTINGS]: new Route('/:projectSlug/settings/'),
|
||||
[PageMap.SETTINGS]: new Route('/dashboard/:projectSlug/settings/'),
|
||||
[PageMap.SETTINGS_DANGERZONE]: new Route(
|
||||
'/:projectSlug/settings/danger-zone'
|
||||
'/dashboard/:projectSlug/settings/danger-zone'
|
||||
),
|
||||
[PageMap.SETTINGS_APIKEYS]: new Route('/:projectSlug/settings/api-keys'),
|
||||
[PageMap.SETTINGS_APIKEYS]: new Route('/dashboard/:projectSlug/settings/api-keys'),
|
||||
[PageMap.SETTINGS_CREATE_APIKEY]: new Route(
|
||||
'/:projectSlug/settings/api-keys/create'
|
||||
'/dashboard/:projectSlug/settings/api-keys/create'
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ module.exports = {
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
publicPath: "//assets/",
|
||||
publicPath: "/assets/",
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.js', '.json', '.css', '.scss'],
|
||||
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.css', '.scss'],
|
||||
alias: {
|
||||
react: path.resolve('./node_modules/react'),
|
||||
}
|
||||
@@ -53,15 +53,15 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '/public/images/[name].[ext]'
|
||||
}
|
||||
loader: 'file-loader'
|
||||
}
|
||||
],
|
||||
},
|
||||
devServer: {
|
||||
historyApiFallback: true,
|
||||
devMiddleware: {
|
||||
writeToDisk: true,
|
||||
},
|
||||
},
|
||||
devtool: 'eval-source-map',
|
||||
}
|
||||
@@ -43,8 +43,8 @@ COPY ./Home/package-lock.json /usr/src/app/package-lock.json
|
||||
|
||||
# Install app dependencies
|
||||
RUN npm install
|
||||
|
||||
RUN npm install nodemon -g
|
||||
RUN npm install ejs -g
|
||||
|
||||
# Expose ports.
|
||||
# - 1444: OneUptime Home
|
||||
|
||||
532
Home/package-lock.json
generated
532
Home/package-lock.json
generated
@@ -229,6 +229,12 @@
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/extract-zip/node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/bser": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
|
||||
@@ -304,6 +310,11 @@
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/jake/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
"node_modules/jest-validate/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
@@ -448,6 +459,18 @@
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/exit": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
|
||||
@@ -527,6 +550,12 @@
|
||||
"typescript": ">=2.7"
|
||||
}
|
||||
},
|
||||
"node_modules/cssom": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
|
||||
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/merge-descriptors": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
|
||||
@@ -780,6 +809,12 @@
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-util/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/puppeteer-core/node_modules/debug": {
|
||||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||
@@ -1456,6 +1491,21 @@
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-types": {
|
||||
"version": "2.1.35",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
||||
@@ -2059,6 +2109,12 @@
|
||||
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/start-server-and-test/node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/clean-css": {
|
||||
"version": "4.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/clean-css/-/clean-css-4.2.5.tgz",
|
||||
@@ -2265,6 +2321,21 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/console/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
@@ -2703,6 +2774,12 @@
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/console/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/jest-runtime/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
@@ -2734,7 +2811,8 @@
|
||||
"node_modules/color-name": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@istanbuljs/schema": {
|
||||
"version": "0.1.3",
|
||||
@@ -2895,6 +2973,12 @@
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@jest/types/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/serve-static": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
|
||||
@@ -2984,6 +3068,18 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-resolve/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-binary-path": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
||||
@@ -3014,6 +3110,24 @@
|
||||
"semver": "bin/semver.js"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/console/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/agent-base/node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/ora/node_modules/ansi-regex": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
|
||||
@@ -3129,6 +3243,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/react-is": {
|
||||
"version": "18.2.0",
|
||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
|
||||
"integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/pend": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
|
||||
@@ -3517,6 +3637,21 @@
|
||||
"node": ">=0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-circus/node_modules/jest-diff": {
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.1.tgz",
|
||||
"integrity": "sha512-/MUUxeR2fHbqHoMMiffe/Afm+U8U4olFRJ0hiVG2lZatPJcnGxx292ustVu7bULhjV65IYMxRdploAKLbcrsyg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"chalk": "^4.0.0",
|
||||
"diff-sequences": "^28.1.1",
|
||||
"jest-get-type": "^28.0.2",
|
||||
"pretty-format": "^28.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-colors": {
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
|
||||
@@ -3604,9 +3739,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/jest-circus/node_modules/pretty-format": {
|
||||
"version": "28.1.0",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.0.tgz",
|
||||
"integrity": "sha512-79Z4wWOYCdvQkEoEuSlBhHJqWeZ8D8YRPiPctJFCtvuaClGpiwiQYSCUOE6IEKUbbFukKOTFIUAXE8N4EQTo1Q==",
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.1.tgz",
|
||||
"integrity": "sha512-wwJbVTGFHeucr5Jw2bQ9P+VYHyLdAqedFLEkdQUVaBF/eiidDwH5OpilINq4mEfhbCjLnirt6HTTDhv1HaTIQw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@jest/schemas": "^28.0.2",
|
||||
@@ -3909,6 +4044,15 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/reporters/node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/cjs-module-lexer": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz",
|
||||
@@ -4353,6 +4497,15 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/start-server-and-test/node_modules/debug": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
||||
@@ -4551,6 +4704,21 @@
|
||||
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-resolve/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/through": {
|
||||
"version": "2.3.8",
|
||||
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
|
||||
@@ -4716,6 +4884,21 @@
|
||||
"node": "6.* || 8.* || >= 10.*"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/reporters/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/color-convert": {
|
||||
"version": "1.9.3",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
||||
@@ -5198,6 +5381,12 @@
|
||||
"node": ">=10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/reporters/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@babel/helper-environment-visitor": {
|
||||
"version": "7.16.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
|
||||
@@ -5264,6 +5453,30 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/wrap-ansi/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vary": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
||||
@@ -5711,6 +5924,12 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/puppeteer/node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/babel-preset-jest": {
|
||||
"version": "28.0.2",
|
||||
"resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-28.0.2.tgz",
|
||||
@@ -5863,6 +6082,12 @@
|
||||
"readable-stream": "^3.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/wrap-ansi/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/istanbul-lib-report": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz",
|
||||
@@ -6455,6 +6680,18 @@
|
||||
"integrity": "sha512-zd2/GiSn6U3/jeFVZ0J9CA1LzQ8RfIVvXkb/U0swFHF/zT+dVohTAWjmo2DcIuofmIIIROlwTbd+shSeXmxr0w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@jest/types/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/types": {
|
||||
"version": "6.19.7",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
|
||||
@@ -6649,6 +6886,12 @@
|
||||
"js-yaml": "bin/js-yaml.js"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/core/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/expect/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
@@ -6834,6 +7077,18 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@jest/reporters/node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/cli-table": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/cli-table/-/cli-table-0.3.0.tgz",
|
||||
@@ -7115,6 +7370,24 @@
|
||||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/core/node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@jest/reporters/node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"color-name": "~1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/fs-constants": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
|
||||
@@ -8592,6 +8865,15 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-circus/node_modules/diff-sequences": {
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz",
|
||||
"integrity": "sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-watcher/node_modules/chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
@@ -8791,6 +9073,12 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/jest-resolve/node_modules/color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/restore-cursor": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
|
||||
@@ -8884,6 +9172,12 @@
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"semver": {
|
||||
"version": "6.3.0",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
||||
@@ -9295,6 +9589,15 @@
|
||||
"slash": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
@@ -9305,6 +9608,21 @@
|
||||
"supports-color": "^7.1.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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
@@ -9359,6 +9677,15 @@
|
||||
"strip-ansi": "^6.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
@@ -9369,6 +9696,27 @@
|
||||
"supports-color": "^7.1.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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true
|
||||
},
|
||||
"pretty-format": {
|
||||
"version": "28.1.0",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.0.tgz",
|
||||
@@ -9388,6 +9736,21 @@
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"react-is": {
|
||||
"version": "18.2.0",
|
||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
|
||||
"integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -9487,6 +9850,15 @@
|
||||
"v8-to-istanbul": "^9.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
@@ -9496,6 +9868,36 @@
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -9660,6 +10062,21 @@
|
||||
"supports-color": "^7.1.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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
@@ -10278,6 +10695,12 @@
|
||||
"requires": {
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -10794,7 +11217,8 @@
|
||||
"color-name": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"colors": {
|
||||
"version": "1.0.3",
|
||||
@@ -10945,6 +11369,12 @@
|
||||
"integrity": "sha512-TcB+ZH9wZBG314jAUpKHPl1oYbRJV+nAT2YwZ9y4fmUN0FkEJa8e/hKZoOgzLYp1Z/CJdFhbhhGIGh0XG8W54Q==",
|
||||
"dev": true
|
||||
},
|
||||
"cssom": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
|
||||
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
@@ -11426,6 +11856,12 @@
|
||||
"requires": {
|
||||
"pump": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -12041,6 +12477,11 @@
|
||||
"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=="
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
@@ -12138,12 +12579,30 @@
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true
|
||||
},
|
||||
"diff-sequences": {
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz",
|
||||
"integrity": "sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true
|
||||
},
|
||||
"jest-diff": {
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.1.tgz",
|
||||
"integrity": "sha512-/MUUxeR2fHbqHoMMiffe/Afm+U8U4olFRJ0hiVG2lZatPJcnGxx292ustVu7bULhjV65IYMxRdploAKLbcrsyg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^4.0.0",
|
||||
"diff-sequences": "^28.1.1",
|
||||
"jest-get-type": "^28.0.2",
|
||||
"pretty-format": "^28.1.1"
|
||||
}
|
||||
},
|
||||
"jest-get-type": {
|
||||
"version": "28.0.2",
|
||||
"resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-28.0.2.tgz",
|
||||
@@ -12163,9 +12622,9 @@
|
||||
}
|
||||
},
|
||||
"pretty-format": {
|
||||
"version": "28.1.0",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.0.tgz",
|
||||
"integrity": "sha512-79Z4wWOYCdvQkEoEuSlBhHJqWeZ8D8YRPiPctJFCtvuaClGpiwiQYSCUOE6IEKUbbFukKOTFIUAXE8N4EQTo1Q==",
|
||||
"version": "28.1.1",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.1.tgz",
|
||||
"integrity": "sha512-wwJbVTGFHeucr5Jw2bQ9P+VYHyLdAqedFLEkdQUVaBF/eiidDwH5OpilINq4mEfhbCjLnirt6HTTDhv1HaTIQw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jest/schemas": "^28.0.2",
|
||||
@@ -12844,6 +13303,15 @@
|
||||
"slash": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
@@ -12854,6 +13322,21 @@
|
||||
"supports-color": "^7.1.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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
@@ -13238,6 +13721,12 @@
|
||||
"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==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
@@ -14288,6 +14777,12 @@
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"ws": {
|
||||
"version": "8.5.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz",
|
||||
@@ -14714,6 +15209,12 @@
|
||||
"requires": {
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -15274,6 +15775,21 @@
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"dev": 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==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,48 +1,43 @@
|
||||
(function (e, t) {
|
||||
|
||||
var n = e.amplitude || { _q: [], _iq: {} }; var r = t.createElement("script")
|
||||
; r.type = "text/javascript"
|
||||
; r.integrity = "sha384-vYYnQ3LPdp/RkQjoKBTGSq0X5F73gXU3G2QopHaIfna0Ct1JRWzwrmEz115NzOta"
|
||||
; r.crossOrigin = "anonymous"; r.async = true
|
||||
; r.src = "https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js"
|
||||
; r.onload = function () {
|
||||
|
||||
if (!e.amplitude.runQueuedFunctions) {
|
||||
logger.info("[Amplitude] Error: could not load SDK")
|
||||
console.log("[Amplitude] Error: could not load SDK")
|
||||
}
|
||||
}
|
||||
|
||||
; var i = t.getElementsByTagName("script")[0]; i.parentNode.insertBefore(r, i)
|
||||
; function s(e: $TSFixMe, t: $TSFixMe) {
|
||||
e.prototype[t] = function () {
|
||||
this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this
|
||||
}
|
||||
; function s(e, t) {
|
||||
e.prototype[t] = function () {
|
||||
this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this
|
||||
}
|
||||
var o = function (this: $TSFixMe) { this._q = []; return this }
|
||||
}
|
||||
var o = function () { this._q = []; return this }
|
||||
; var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"]
|
||||
; for (var u = 0; u < a.length; u++) { s(o, a[u]) } n.Identify = o; var c = function (this: $TSFixMe) {
|
||||
this._q = []
|
||||
; return this
|
||||
; for (var u = 0; u < a.length; u++) { s(o, a[u]) } n.Identify = o; var c = function () {
|
||||
this._q = []
|
||||
; return this
|
||||
}
|
||||
; var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"]
|
||||
; for (var p = 0; p < l.length; p++) { s(c, l[p]) } n.Revenue = c
|
||||
; var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"]
|
||||
; function v(e: $TSFixMe) {
|
||||
function t(t: $TSFixMe) {
|
||||
e[t] = function () {
|
||||
e._q.push([t].concat(Array.prototype.slice.call(arguments, 0)))
|
||||
}
|
||||
; function v(e) {
|
||||
function t(t) {
|
||||
e[t] = function () {
|
||||
e._q.push([t].concat(Array.prototype.slice.call(arguments, 0)))
|
||||
}
|
||||
}
|
||||
for (var n = 0; n < d.length; n++) { t(d[n]) }
|
||||
} v(n); n.getInstance = function (e: $TSFixMe) {
|
||||
} v(n); n.getInstance = function (e) {
|
||||
e = (!e || e.length === 0 ? "$default_instance" : e).toLowerCase()
|
||||
; if (!n._iq.hasOwnProperty(e)) { n._iq[e] = { _q: [] }; v(n._iq[e]) } return n._iq[e]
|
||||
}
|
||||
|
||||
; e.amplitude = n
|
||||
})(window, document);
|
||||
|
||||
|
||||
amplitude.getInstance().init("802d95003af23aad17ed068b6cfdeb2b", null, {
|
||||
// include referrer information in amplitude.
|
||||
saveEvents: true,
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
/*eslint-disable*/
|
||||
|
||||
var animate=function(){var h=function(a: $TSFixMe){var b=a.length;return function d(){for(var e=arguments.length,f=Array(e),g=0;g<e;g++)f[g]=arguments[g];return f.length<b?function(){for(var a=arguments.length,b=Array(a),e=0;e<a;e++)b[e]=arguments[e];return d.apply(void 0,f.concat(b))}:a.apply(void 0,f)}},p=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a: $TSFixMe){return b.reduce(function(a,b){return b(a)},a)};},q=function(a: $TSFixMe){return function(){return!a.apply(void 0,arguments)}},
|
||||
E={linear:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return b+a/d*c},easeInQuad:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*(a/=d)*a+b},easeInCubic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*(a/=d)*a*a+b},easeInQuart:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*(a/=d)*a*a*a+b},easeInQuint:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*(a/=d)*a*a*a*a+b},easeInSine:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return-c*Math.cos(a/d*(Math.PI/2))+c+b},easeInExpo:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 0==a?b:c*Math.pow(2,10*(a/d-1))+b},easeInCirc:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return-c*(Math.sqrt(1-(a/=d)*a)-1)+b},easeInElastic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){var e=
|
||||
var animate=function(){var h=function(a){var b=a.length;return function d(){for(var e=arguments.length,f=Array(e),g=0;g<e;g++)f[g]=arguments[g];return f.length<b?function(){for(var a=arguments.length,b=Array(a),e=0;e<a;e++)b[e]=arguments[e];return d.apply(void 0,f.concat(b))}:a.apply(void 0,f)}},p=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a){return b.reduce(function(a,b){return b(a)},a)};},q=function(a){return function(){return!a.apply(void 0,arguments)}},
|
||||
E={linear:function(a,b,c,d){return b+a/d*c},easeInQuad:function(a,b,c,d){return c*(a/=d)*a+b},easeInCubic:function(a,b,c,d){return c*(a/=d)*a*a+b},easeInQuart:function(a,b,c,d){return c*(a/=d)*a*a*a+b},easeInQuint:function(a,b,c,d){return c*(a/=d)*a*a*a*a+b},easeInSine:function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},easeInExpo:function(a,b,c,d){return 0==a?b:c*Math.pow(2,10*(a/d-1))+b},easeInCirc:function(a,b,c,d){return-c*(Math.sqrt(1-(a/=d)*a)-1)+b},easeInElastic:function(a,b,c,d){var e=
|
||||
|
||||
4>=arguments.length||void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(1==(a/=d))return b+c;var e=d*(1-Math.min(e,999)/1E3),f=c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/c);return-(c*Math.pow(2,10*--a)*Math.sin(2*(a*d-f)*Math.PI/e))+b},easeInBack:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*(a/=d)*a*(2.70158*a-1.70158)+b},easeOutQuad:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return-c*(a/=d)*(a-2)+b},easeOutCubic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*((a=a/d-1)*a*a+1)+b},easeOutQuart:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return-c*((a=a/d-1)*a*a*a-1)+b},easeOutQuint:function(a: $TSFixMe,
|
||||
b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*((a=a/d-1)*a*a*a*a+1)+b},easeOutSine:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*Math.sin(a/d*(Math.PI/2))+b},easeOutExpo:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return a==d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},easeOutCirc:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*Math.sqrt(1-(a=a/d-1)*a)+b},easeOutElastic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){var e=4>=arguments.length||void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(1==(a/=d))return b+c;e=d*(1-Math.min(e,999)/1E3);return c*Math.pow(2,-10*a)*Math.sin(2*(a*d-(c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/
|
||||
c)))*Math.PI/e)+c+b},easeOutBack:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return c*((a=a/d-1)*a*(2.70158*a+1.70158)+1)+b},easeOutBounce:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},easeInOutQuad:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 1>(a/=d/2)?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},easeInOutCubic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 1>(a/=d/2)?c/2*a*a*a+b:c/2*((a-=2)*a*a+2)+b},easeInOutQuart:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 1>
|
||||
(a/=d/2)?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b},easeInOutQuint:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 1>(a/=d/2)?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b},easeInOutSine:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},easeInOutExpo:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 0==a?b:a==d?b+c:1>(a/=d/2)?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b},easeInOutCirc:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){return 1>(a/=d/2)?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInOutElastic:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){var e=4>=arguments.length||
|
||||
4>=arguments.length||void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(1==(a/=d))return b+c;var e=d*(1-Math.min(e,999)/1E3),f=c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/c);return-(c*Math.pow(2,10*--a)*Math.sin(2*(a*d-f)*Math.PI/e))+b},easeInBack:function(a,b,c,d){return c*(a/=d)*a*(2.70158*a-1.70158)+b},easeOutQuad:function(a,b,c,d){return-c*(a/=d)*(a-2)+b},easeOutCubic:function(a,b,c,d){return c*((a=a/d-1)*a*a+1)+b},easeOutQuart:function(a,b,c,d){return-c*((a=a/d-1)*a*a*a-1)+b},easeOutQuint:function(a,
|
||||
b,c,d){return c*((a=a/d-1)*a*a*a*a+1)+b},easeOutSine:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},easeOutExpo:function(a,b,c,d){return a==d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},easeOutCirc:function(a,b,c,d){return c*Math.sqrt(1-(a=a/d-1)*a)+b},easeOutElastic:function(a,b,c,d){var e=4>=arguments.length||void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(1==(a/=d))return b+c;e=d*(1-Math.min(e,999)/1E3);return c*Math.pow(2,-10*a)*Math.sin(2*(a*d-(c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/
|
||||
c)))*Math.PI/e)+c+b},easeOutBack:function(a,b,c,d){return c*((a=a/d-1)*a*(2.70158*a+1.70158)+1)+b},easeOutBounce:function(a,b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},easeInOutQuad:function(a,b,c,d){return 1>(a/=d/2)?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},easeInOutCubic:function(a,b,c,d){return 1>(a/=d/2)?c/2*a*a*a+b:c/2*((a-=2)*a*a+2)+b},easeInOutQuart:function(a,b,c,d){return 1>
|
||||
(a/=d/2)?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b},easeInOutQuint:function(a,b,c,d){return 1>(a/=d/2)?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b},easeInOutSine:function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},easeInOutExpo:function(a,b,c,d){return 0==a?b:a==d?b+c:1>(a/=d/2)?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b},easeInOutCirc:function(a,b,c,d){return 1>(a/=d/2)?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInOutElastic:function(a,b,c,d){var e=4>=arguments.length||
|
||||
|
||||
void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(2==(a/=d/2))return b+c;var e=d*(1-Math.min(e,999)/1E3)*1.5,f=c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/c);return 1>a?-.5*c*Math.pow(2,10*--a)*Math.sin(2*(a*d-f)*Math.PI/e)+b:c*Math.pow(2,-10*--a)*Math.sin(2*(a*d-f)*Math.PI/e)*.5+c+b},easeInOutBack:function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe,d: $TSFixMe){var e=1.70158;return 1>(a/=d/2)?c/2*a*a*(((e*=1.525)+1)*a-e)+b:c/2*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)+b}},w=function(a: $TSFixMe){return a[0]},F=function(a: $TSFixMe){return a.reduce(function(a: $TSFixMe,c: $TSFixMe){return a.concat(c)});},
|
||||
void 0===arguments[4]?500:arguments[4];if(0==a)return b;if(2==(a/=d/2))return b+c;var e=d*(1-Math.min(e,999)/1E3)*1.5,f=c<Math.abs(c)?e/4:e/(2*Math.PI)*Math.asin(c/c);return 1>a?-.5*c*Math.pow(2,10*--a)*Math.sin(2*(a*d-f)*Math.PI/e)+b:c*Math.pow(2,-10*--a)*Math.sin(2*(a*d-f)*Math.PI/e)*.5+c+b},easeInOutBack:function(a,b,c,d){var e=1.70158;return 1>(a/=d/2)?c/2*a*a*(((e*=1.525)+1)*a-e)+b:c/2*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)+b}},w=function(a){return a[0]},F=function(a){return a.reduce(function(a,c){return a.concat(c)});},
|
||||
|
||||
m=function(){return Array.prototype.includes?function(a: $TSFixMe,b: $TSFixMe){return a.includes(b)}:function(a: $TSFixMe,b: $TSFixMe){return a.some(function(a: $TSFixMe){return a===b});};}(),x=function(a: $TSFixMe){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=F(c);return a.filter(function(a: $TSFixMe){return q(m)(e,a)});},G=function(){var a=function(a: $TSFixMe){var c=new Map;Object.keys(a).forEach(function(d){return c.set(d,a[d])});return c};return function(b: $TSFixMe){return b instanceof Map?b:a(b)};}(),H=function(a: $TSFixMe){return /^#/.test(a);},y=function(a: $TSFixMe){return /^rgb/.test(a);},
|
||||
m=function(){return Array.prototype.includes?function(a,b){return a.includes(b)}:function(a,b){return a.some(function(a){return a===b});};}(),x=function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=F(c);return a.filter(function(a){return q(m)(e,a)});},G=function(){var a=function(a){var c=new Map;Object.keys(a).forEach(function(d){return c.set(d,a[d])});return c};return function(b){return b instanceof Map?b:a(b)};}(),H=function(a){return /^#/.test(a);},y=function(a){return /^rgb/.test(a);},
|
||||
|
||||
I=function(){var a=function(a: $TSFixMe){return 7>a.length?a.split('').reduce(function(a: $TSFixMe,b: $TSFixMe){return a+b+b}):a;},b=function(a: $TSFixMe){return a.match(/[\d\w]{2}/g).map(function(a: $TSFixMe){return parseInt(a,16)});};return function(c: $TSFixMe){if(y(c))return c;c=p(a,b)(c);return'rgb('+c[0]+', '+c[1]+', '+c[2]+')'};}(),z=function(a: $TSFixMe){return J('string'==typeof a?document.querySelectorAll(a):a)},J=function(){var a=[NodeList,HTMLCollection,Set];return function(b: $TSFixMe){return Array.isArray(b)?b:a.some(function(a){return b instanceof a})?Array.from(b):
|
||||
b.nodeType?[b]:b.get()};}(),l=new Map;'el delay begin complete loop direction'.split(' ').forEach(function(a){return l.set(a,null)});l.set('duration',1E3);l.set('easing','easeOutElastic');var K=function(){var a=Array.from(l.keys()).filter(function(a){return l.get(a)}),b=function(b: $TSFixMe){return a.every(function(a){return b.has(a)})},c=function(b: $TSFixMe){var c=new Map(b);a.forEach(function(a){c.has(a)||c.set(a,l.get(a))});return c};return function(a: $TSFixMe){return b(a)?a:c(a)};}(),L=function(){var a=h(function(a: $TSFixMe,b: $TSFixMe){return Array.isArray(a.get(b))}),
|
||||
I=function(){var a=function(a){return 7>a.length?a.split('').reduce(function(a,b){return a+b+b}):a;},b=function(a){return a.match(/[\d\w]{2}/g).map(function(a){return parseInt(a,16)});};return function(c){if(y(c))return c;c=p(a,b)(c);return'rgb('+c[0]+', '+c[1]+', '+c[2]+')'};}(),z=function(a){return J('string'==typeof a?document.querySelectorAll(a):a)},J=function(){var a=[NodeList,HTMLCollection,Set];return function(b){return Array.isArray(b)?b:a.some(function(a){return b instanceof a})?Array.from(b):
|
||||
b.nodeType?[b]:b.get()};}(),l=new Map;'el delay begin complete loop direction'.split(' ').forEach(function(a){return l.set(a,null)});l.set('duration',1E3);l.set('easing','easeOutElastic');var K=function(){var a=Array.from(l.keys()).filter(function(a){return l.get(a)}),b=function(b){return a.every(function(a){return b.has(a)})},c=function(b){var c=new Map(b);a.forEach(function(a){c.has(a)||c.set(a,l.get(a))});return c};return function(a){return b(a)?a:c(a)};}(),L=function(){var a=h(function(a,b){return Array.isArray(a.get(b))}),
|
||||
|
||||
b=function(b: $TSFixMe){return n(b).every(a(b))},c=function(b: $TSFixMe){return n(b).filter(q(a(b)))};return function(a: $TSFixMe){if(b(a))return a;var e=new Map(a);c(e).forEach(function(a){return e.set(a,[A.get(a),e.get(a)])});return e};}(),M=function(){var a=function(a: $TSFixMe){return /\D$/.test(a);},b=h(function(b: $TSFixMe,c: $TSFixMe){return a(c)||/scale/.test(b)?c:/rotate|skew/.test(b)?c+'deg':c+'px';}),c=function(b: $TSFixMe,c: $TSFixMe){return c.every(function(c: $TSFixMe){return b.get(c).every(a)});};return function(a: $TSFixMe){var e=n(a).filter(r);if(c(a,e))return a;var f=new Map(a);e.forEach(function(c){return f.set(c,
|
||||
b=function(b){return n(b).every(a(b))},c=function(b){return n(b).filter(q(a(b)))};return function(a){if(b(a))return a;var e=new Map(a);c(e).forEach(function(a){return e.set(a,[A.get(a),e.get(a)])});return e};}(),M=function(){var a=function(a){return /\D$/.test(a);},b=h(function(b,c){return a(c)||/scale/.test(b)?c:/rotate|skew/.test(b)?c+'deg':c+'px';}),c=function(b,c){return c.every(function(c){return b.get(c).every(a)});};return function(a){var e=n(a).filter(r);if(c(a,e))return a;var f=new Map(a);e.forEach(function(c){return f.set(c,
|
||||
|
||||
a.get(c).map(b(c)))});return f};}(),N=function(){var a=h(function(a: $TSFixMe,b: $TSFixMe){return a.get(b).some(H)}),b=function(b: $TSFixMe){return!B(b).some(a(b))},c=function(b: $TSFixMe){return B(b).filter(a(b))};return function(a: $TSFixMe){if(b(a))return a;var e=new Map(a);c(a).forEach(function(a: $TSFixMe){return e.set(a,e.get(a).map(I))});return e};}(),C=function(a: $TSFixMe){var b=new Map(a);t(a).forEach(function(a){return b.set(a,b.get(a).slice().reverse())});return b},O=p(G,K,L,M,N,function(a: $TSFixMe){return(new Map(a)).set('el',z(a.get('el')))},function(a: $TSFixMe){return'reverse'==
|
||||
a.get(c).map(b(c)))});return f};}(),N=function(){var a=h(function(a,b){return a.get(b).some(H)}),b=function(b){return!B(b).some(a(b))},c=function(b){return B(b).filter(a(b))};return function(a){if(b(a))return a;var e=new Map(a);c(a).forEach(function(a){return e.set(a,e.get(a).map(I))});return e};}(),C=function(a){var b=new Map(a);t(a).forEach(function(a){return b.set(a,b.get(a).slice().reverse())});return b},O=p(G,K,L,M,N,function(a){return(new Map(a)).set('el',z(a.get('el')))},function(a){return'reverse'==
|
||||
|
||||
a.get('direction')?C(a):a}),t=function(){var a=Array.from(l.keys()),b=function(b: $TSFixMe){return q(m)(a,b)};return function(a: $TSFixMe){return Array.from(a.keys()).filter(b)};}(),Q=function(){var a=p(w,y),b=h(function(b: $TSFixMe,d: $TSFixMe){var e=b.get(d).map(P),f=e[0],g=e[1],e=new Map;e.set('prop',d);e.set('from',f);e.set('to',g);e.set('isTransformFunction',r(d));e.set('isColor',a(b.get(d)));/\d$/.test(b.get('easing'))?(f=b.get('easing').split(' '),g=f[1],e.set('easing',f[0]),e.set('frequency',g)):e.set('easing',b.get('easing'));return e});
|
||||
a.get('direction')?C(a):a}),t=function(){var a=Array.from(l.keys()),b=function(b){return q(m)(a,b)};return function(a){return Array.from(a.keys()).filter(b)};}(),Q=function(){var a=p(w,y),b=h(function(b,d){var e=b.get(d).map(P),f=e[0],g=e[1],e=new Map;e.set('prop',d);e.set('from',f);e.set('to',g);e.set('isTransformFunction',r(d));e.set('isColor',a(b.get(d)));/\d$/.test(b.get('easing'))?(f=b.get('easing').split(' '),g=f[1],e.set('easing',f[0]),e.set('frequency',g)):e.set('easing',b.get('easing'));return e});
|
||||
|
||||
return function(a: $TSFixMe,d: $TSFixMe){return t(a).map(b(a))};}(),n=function(){var a=function(a: $TSFixMe){return m(u,a)};return function(b: $TSFixMe){return Array.from(b.keys()).filter(a)};}(),B=function(a: $TSFixMe){return x(t(a),n(a))},u='opacity translateX translateY scale rotate scaleX scaleY rotateX rotateY perspective skewX skewY translateZ rotateZ scaleZ'.split(' '),A=new Map;(function(){var a=['opacity','scale','scaleX','scaleY'];u.forEach(function(b){return A.set(b,m(a,b)?1:0)})})();var r=function(){var a=u.filter(function(a){return'opacity'!=
|
||||
return function(a,d){return t(a).map(b(a))};}(),n=function(){var a=function(a){return m(u,a)};return function(b){return Array.from(b.keys()).filter(a)};}(),B=function(a){return x(t(a),n(a))},u='opacity translateX translateY scale rotate scaleX scaleY rotateX rotateY perspective skewX skewY translateZ rotateZ scaleZ'.split(' '),A=new Map;(function(){var a=['opacity','scale','scaleX','scaleY'];u.forEach(function(b){return A.set(b,m(a,b)?1:0)})})();var r=function(){var a=u.filter(function(a){return'opacity'!=
|
||||
|
||||
a});return function(b: $TSFixMe){return m(a,b)};}(),R=function(a: $TSFixMe){var b=n(a);if(b.length){var c=[];b.some(r)&&c.push('transform');m(b,'opacity')&&c.push('opacity');var d=c.join();a.get('el').forEach(function(a: $TSFixMe){a.style.willChange||(a.style.willChange=d)})}},S=function(a: $TSFixMe,b: $TSFixMe){return b.reduce(function(b: $TSFixMe,d: $TSFixMe,e: $TSFixMe){return b+a[e-1]+d});},P=function(){var a=/-?\d*\.?\d+/g;return function(b: $TSFixMe){var c=new Map;c.set('digits',('string'==typeof b?b:String(b)).match(a).map(Number));c.set('others',('string'==typeof b?b:String(b)).split(a));
|
||||
a});return function(b){return m(a,b)};}(),R=function(a){var b=n(a);if(b.length){var c=[];b.some(r)&&c.push('transform');m(b,'opacity')&&c.push('opacity');var d=c.join();a.get('el').forEach(function(a){a.style.willChange||(a.style.willChange=d)})}},S=function(a,b){return b.reduce(function(b,d,e){return b+a[e-1]+d});},P=function(){var a=/-?\d*\.?\d+/g;return function(b){var c=new Map;c.set('digits',('string'==typeof b?b:String(b)).match(a).map(Number));c.set('others',('string'==typeof b?b:String(b)).split(a));
|
||||
|
||||
return c};}(),T=h(function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe){var d=c.get('to').get('digits').map(function(d: $TSFixMe,f: $TSFixMe){var g=c.get('from').get('digits')[f];if(g==d)return g;var D=d-g,g=E[c.get('easing')](b,g,D,a.get('duration'),c.get('frequency'));return c.get('isColor')?Math.round(g):g});return S(d,c.get('to').get('others'))}),U=h(function(a: $TSFixMe,b: $TSFixMe){var c=a.get(b.get('prop'));return w(c.slice(-1))}),V=h(function(a: $TSFixMe,b: $TSFixMe,c: $TSFixMe){var d=void 0;a.forEach(function(a: $TSFixMe,f: $TSFixMe){a.get('isTransformFunction')?(d||(d=[]),d.push(a.get('prop')+'('+b[f]+')')):'opacity'==
|
||||
return c};}(),T=h(function(a,b,c){var d=c.get('to').get('digits').map(function(d,f){var g=c.get('from').get('digits')[f];if(g==d)return g;var D=d-g,g=E[c.get('easing')](b,g,D,a.get('duration'),c.get('frequency'));return c.get('isColor')?Math.round(g):g});return S(d,c.get('to').get('others'))}),U=h(function(a,b){var c=a.get(b.get('prop'));return w(c.slice(-1))}),V=h(function(a,b,c){var d=void 0;a.forEach(function(a,f){a.get('isTransformFunction')?(d||(d=[]),d.push(a.get('prop')+'('+b[f]+')')):'opacity'==
|
||||
|
||||
a.get('prop')?c.style.opacity=b[f]:c.setAttribute(a.get('prop'),b[f])});d&&(c.style.transform=d.join(' '))}),W=function(){var a=function(a: $TSFixMe,c: $TSFixMe){c.get('begin')&&c.get('begin')(c.get('el'));requestAnimationFrame(a)};return function(b: $TSFixMe,c: $TSFixMe){return c.get('delay')?setTimeout(function(){return a(b,c)},c.get('delay')):a(b,c)};}(),X=function(a: $TSFixMe){return v(function(){if('alternate'==a.get('direction'))return C(a);if('reverse'==a.get('direction')){var b=new Map(a);b['delete']('direction');return b}return a}())},k=
|
||||
a.get('prop')?c.style.opacity=b[f]:c.setAttribute(a.get('prop'),b[f])});d&&(c.style.transform=d.join(' '))}),W=function(){var a=function(a,c){c.get('begin')&&c.get('begin')(c.get('el'));requestAnimationFrame(a)};return function(b,c){return c.get('delay')?setTimeout(function(){return a(b,c)},c.get('delay')):a(b,c)};}(),X=function(a){return v(function(){if('alternate'==a.get('direction'))return C(a);if('reverse'==a.get('direction')){var b=new Map(a);b['delete']('direction');return b}return a}())},k=
|
||||
|
||||
new Map,Y=function(){var a=0;return function(b: $TSFixMe){var c=a++;k=(new Map(k)).set(c,b);return c};}(),v=function(a: $TSFixMe){var b=O(a),c=Q(b),d=Y(b.get('el')),e=new Map;R(b);W(function g(a: $TSFixMe){if(k.has(d)){e.has('start')||e.set('start',a);e.set('elapsed',a-e.get('start'));a=e.get('elapsed')<b.get('duration');var h=c.map(a?T(b,e.get('elapsed')):U(b));k.get(d).forEach(V(c,h));a?requestAnimationFrame(g):(a=new Map(k),a['delete'](d),k=a,b.get('complete')&&b.get('complete')(b.get('el')),b.get('loop')&&X(b))}},b)};v.stop=
|
||||
new Map,Y=function(){var a=0;return function(b){var c=a++;k=(new Map(k)).set(c,b);return c};}(),v=function(a){var b=O(a),c=Q(b),d=Y(b.get('el')),e=new Map;R(b);W(function g(a){if(k.has(d)){e.has('start')||e.set('start',a);e.set('elapsed',a-e.get('start'));a=e.get('elapsed')<b.get('duration');var h=c.map(a?T(b,e.get('elapsed')):U(b));k.get(d).forEach(V(c,h));a?requestAnimationFrame(g):(a=new Map(k),a['delete'](d),k=a,b.get('complete')&&b.get('complete')(b.get('el')),b.get('loop')&&X(b))}},b)};v.stop=
|
||||
|
||||
function(a: $TSFixMe){var b=z(a),c=new Map(k);c.forEach(function(a,e){var f=x(a,b);f.length?c.set(e,f):c['delete'](e)});k=c};return v}();'undefined'!=typeof module&&module.exports&&(module.exports=animate);
|
||||
function(a){var b=z(a),c=new Map(k);c.forEach(function(a,e){var f=x(a,b);f.length?c.set(e,f):c['delete'](e)});k=c};return v}();'undefined'!=typeof module&&module.exports&&(module.exports=animate);
|
||||
@@ -1,4 +1,4 @@
|
||||
function openTab(evt: $TSFixMe, tabName: $TSFixMe) {
|
||||
function openTab(evt, tabName) {
|
||||
// Declare all variables
|
||||
let i;
|
||||
|
||||
@@ -21,7 +21,7 @@ function openTab(evt: $TSFixMe, tabName: $TSFixMe) {
|
||||
|
||||
setTimeout(() => document.getElementById(tabName + '1').parentNode.click(), 200);
|
||||
}
|
||||
function openTooltip(name: $TSFixMe) {
|
||||
function openTooltip(name) {
|
||||
// Declare all variables
|
||||
let i;
|
||||
const element = document.getElementById(name);
|
||||
@@ -47,7 +47,7 @@ window.onload = function () {
|
||||
const tooltext = document.getElementsByClassName('tooltiptext');
|
||||
for (let i = 0; i < tooltext.length; i++) {
|
||||
|
||||
tooltext[i].onclick = function (e: $TSFixMe) {
|
||||
tooltext[i].onclick = function (e) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
}
|
||||
@@ -64,7 +64,7 @@ window.onload = function () {
|
||||
}
|
||||
|
||||
const animateHTML = function () {
|
||||
let elem: $TSFixMe, windowHeight: $TSFixMe;
|
||||
let elem, windowHeight;
|
||||
const init = function () {
|
||||
elem = document.getElementById('Statuspage');
|
||||
windowHeight = window.innerHeight;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*eslint-disable*/
|
||||
function readConfig(t: $TSFixMe) {
|
||||
function n(t: $TSFixMe) {
|
||||
return String(t).replace(/"/g, '"').replace(/'/g, '\'').replace(///g, 'index.html').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');
|
||||
function readConfig(t) {
|
||||
function n(t) {
|
||||
return String(t).replace(/"/g, '"').replace(/'/g, '\'').replace(///g, 'index.html').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&')
|
||||
}
|
||||
var e = /^[\],:{}\s]*$/,
|
||||
i = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
|
||||
@@ -13,12 +13,12 @@ function readConfig(t: $TSFixMe) {
|
||||
return e.test(s.replace(i, '@').replace(o, ']').replace(r, '')) ? window.JSON && window.JSON.parse ? window.JSON.parse(s) : new Function('return ' + s)() : void 0
|
||||
}
|
||||
|
||||
function globalNavDropdowns(this: $TSFixMe, t: $TSFixMe) {
|
||||
if (!document.querySelector(t)) {
|
||||
function globalNavDropdowns(t) {
|
||||
if(!document.querySelector(t)){
|
||||
return
|
||||
}
|
||||
var n = this;
|
||||
this.container = document.querySelector(t), this.root = this.container.querySelector('.navRoot'), this.primaryNav = this.root.querySelector('.navSection.primary'), this.primaryNavItem = this.root.querySelector('.navSection.primary .rootLink:last-child'), this.secondaryNavItem = this.root.querySelector('.navSection.secondary .rootLink:first-child'), this.checkCollision(), window.addEventListener('load', this.checkCollision.bind(this)), window.addEventListener('resize', this.checkCollision.bind(this)), this.container.classList.add('noDropdownTransition'), this.dropdownBackground = this.container.querySelector('.dropdownBackground'), this.dropdownBackgroundAlt = this.container.querySelector('.alternateBackground'), this.dropdownContainer = this.container.querySelector('.dropdownContainer'), this.dropdownArrow = this.container.querySelector('.dropdownArrow'), this.dropdownRoots = Strut.queryArray('.hasDropdown', this.root), this.dropdownSections = Strut.queryArray('.dropdownSection', this.container).map(function (t) {
|
||||
this.container = document.querySelector(t), this.root = this.container.querySelector('.navRoot'), this.primaryNav = this.root.querySelector('.navSection.primary'), this.primaryNavItem = this.root.querySelector('.navSection.primary .rootLink:last-child'), this.secondaryNavItem = this.root.querySelector('.navSection.secondary .rootLink:first-child'), this.checkCollision(), window.addEventListener('load', this.checkCollision.bind(this)), window.addEventListener('resize', this.checkCollision.bind(this)), this.container.classList.add('noDropdownTransition'), this.dropdownBackground = this.container.querySelector('.dropdownBackground'), this.dropdownBackgroundAlt = this.container.querySelector('.alternateBackground'), this.dropdownContainer = this.container.querySelector('.dropdownContainer'), this.dropdownArrow = this.container.querySelector('.dropdownArrow'), this.dropdownRoots = Strut.queryArray('.hasDropdown', this.root), this.dropdownSections = Strut.queryArray('.dropdownSection', this.container).map(function(t) {
|
||||
return {
|
||||
el: t,
|
||||
name: t.getAttribute('data-dropdown'),
|
||||
@@ -34,40 +34,38 @@ function globalNavDropdowns(this: $TSFixMe, t: $TSFixMe) {
|
||||
enter: 'mouseenter',
|
||||
leave: 'mouseleave'
|
||||
};
|
||||
this.dropdownRoots.forEach(function (t: $TSFixMe) {
|
||||
t.addEventListener(e.end, function (e: $TSFixMe) {
|
||||
this.dropdownRoots.forEach(function(t) {
|
||||
t.addEventListener(e.end, function(e) {
|
||||
e.preventDefault(), e.stopPropagation(), n.toggleDropdown(t)
|
||||
}), t.addEventListener(e.enter, function (e: $TSFixMe) {
|
||||
}), t.addEventListener(e.enter, function(e) {
|
||||
'touch' != e.pointerType && (n.stopCloseTimeout(), n.openDropdown(t))
|
||||
}), t.addEventListener(e.leave, function (t: $TSFixMe) {
|
||||
}), t.addEventListener(e.leave, function(t) {
|
||||
'touch' != t.pointerType && n.startCloseTimeout()
|
||||
})
|
||||
}), this.dropdownContainer.addEventListener(e.end, function (t: $TSFixMe) {
|
||||
}), this.dropdownContainer.addEventListener(e.end, function(t) {
|
||||
t.stopPropagation()
|
||||
}), this.dropdownContainer.addEventListener(e.enter, function (t: $TSFixMe) {
|
||||
}), this.dropdownContainer.addEventListener(e.enter, function(t) {
|
||||
'touch' != t.pointerType && n.stopCloseTimeout()
|
||||
}), this.dropdownContainer.addEventListener(e.leave, function (t: $TSFixMe) {
|
||||
}), this.dropdownContainer.addEventListener(e.leave, function(t) {
|
||||
'touch' != t.pointerType && n.startCloseTimeout()
|
||||
}), document.body.addEventListener(e.end, function () {
|
||||
|
||||
}), document.body.addEventListener(e.end, function() {
|
||||
Strut.touch.isDragging || n.closeDropdown()
|
||||
})
|
||||
}
|
||||
|
||||
function globalNavPopup(this: $TSFixMe, t: $TSFixMe) {
|
||||
|
||||
if (!document.querySelector(t) || !document.querySelector(t).querySelector('.popup')) {
|
||||
function globalNavPopup(t) {
|
||||
|
||||
if(!document.querySelector(t) || !document.querySelector(t).querySelector('.popup')){
|
||||
return
|
||||
}
|
||||
|
||||
var n = this,
|
||||
|
||||
e = Strut.touch.isSupported ? 'touchend' : 'click';
|
||||
this.activeClass = 'globalPopupActive', this.root = document.querySelector(t), this.link = this.root.querySelector('.rootLink'), this.popup = this.root.querySelector('.popup'), this.closeButton = this.root.querySelector('.popupCloseButton'), this.link.addEventListener(e, function (t: $TSFixMe) {
|
||||
this.activeClass = 'globalPopupActive', this.root = document.querySelector(t), this.link = this.root.querySelector('.rootLink'), this.popup = this.root.querySelector('.popup'), this.closeButton = this.root.querySelector('.popupCloseButton'), this.link.addEventListener(e, function(t) {
|
||||
t.stopPropagation(), n.togglePopup()
|
||||
}), this.popup.addEventListener(e, function (t: $TSFixMe) {
|
||||
}), this.popup.addEventListener(e, function(t) {
|
||||
t.stopPropagation()
|
||||
}), this.popup.addEventListener('transitionend', function () {
|
||||
}), this.popup.addEventListener('transitionend', function() {
|
||||
if (n.isOpening) {
|
||||
n.isOpening = !1;
|
||||
var t = n.popup.getBoundingClientRect().top + window.scrollY;
|
||||
@@ -76,14 +74,12 @@ function globalNavPopup(this: $TSFixMe, t: $TSFixMe) {
|
||||
n.popup.style.transform = 'translateY(' + e + 'px)'
|
||||
}
|
||||
}
|
||||
}), this.closeButton && this.closeButton.addEventListener(e, function () {
|
||||
}), this.closeButton && this.closeButton.addEventListener(e, function() {
|
||||
n.closeAllPopups()
|
||||
}), document.body.addEventListener(e, function () {
|
||||
|
||||
}), document.body.addEventListener(e, function() {
|
||||
Strut.touch.isDragging || n.closeAllPopups()
|
||||
}, !1)
|
||||
|
||||
} ! function () {
|
||||
}! function() {
|
||||
function t() {
|
||||
e(), n()
|
||||
}
|
||||
@@ -95,261 +91,233 @@ function globalNavPopup(this: $TSFixMe, t: $TSFixMe) {
|
||||
function e() {
|
||||
var t = new Date,
|
||||
n = a + '=ack';
|
||||
|
||||
t.setYear(t.getFullYear() + 10), n += ';expires=' + t.toGMTString(), n += ';domain=' + document.domain, document.cookie = n
|
||||
}
|
||||
|
||||
function i() {
|
||||
o = document.querySelector('[rel="cookie-notification"]'), (r = document.querySelector('[rel="dismiss-cookie-notification"]')) && r.addEventListener('click', t)
|
||||
}
|
||||
var o: $TSFixMe, r, a = 'cookie_banner_ack';
|
||||
var o, r, a = 'cookie_banner_ack';
|
||||
document.addEventListener('DOMContentLoaded', i)
|
||||
}(),
|
||||
function () {
|
||||
|
||||
window.$ && window.$.ajaxPrefilter && $(function () {
|
||||
var t: $TSFixMe;
|
||||
return t = function () {
|
||||
var t, n;
|
||||
|
||||
return t = $('form input[name=csrf-token]'), t.length > 0 ? t.attr('value') : (n = $('meta[name=csrf-token]'), n.length > 0 ? n.attr('content') : '')
|
||||
|
||||
}, $.ajaxPrefilter(function (n: $TSFixMe, e: $TSFixMe, i: $TSFixMe) {
|
||||
var o;
|
||||
return o = t(), i.setRequestHeader('x-oneuptime-csrf-token', o)
|
||||
});
|
||||
function() {
|
||||
window.$ && window.$.ajaxPrefilter && $(function() {
|
||||
var t;
|
||||
return t = function() {
|
||||
var t, n;
|
||||
return t = $('form input[name=csrf-token]'), t.length > 0 ? t.attr('value') : (n = $('meta[name=csrf-token]'), n.length > 0 ? n.attr('content') : '')
|
||||
}, $.ajaxPrefilter(function(n, e, i) {
|
||||
var o;
|
||||
return o = t(), i.setRequestHeader('x-oneuptime-csrf-token', o)
|
||||
})
|
||||
}.call(this);
|
||||
})
|
||||
}.call(this);
|
||||
var Strut = {
|
||||
random: function (t: $TSFixMe, n: $TSFixMe) {
|
||||
random: function(t, n) {
|
||||
return Math.random() * (n - t) + t
|
||||
},
|
||||
arrayRandom: function (t: $TSFixMe) {
|
||||
arrayRandom: function(t) {
|
||||
return t[Math.floor(Math.random() * t.length)]
|
||||
},
|
||||
interpolate: function (t: $TSFixMe, n: $TSFixMe, e: $TSFixMe) {
|
||||
interpolate: function(t, n, e) {
|
||||
return t * (1 - e) + n * e
|
||||
},
|
||||
rangePosition: function (t: $TSFixMe, n: $TSFixMe, e: $TSFixMe) {
|
||||
rangePosition: function(t, n, e) {
|
||||
return (e - t) / (n - t)
|
||||
},
|
||||
clamp: function (t: $TSFixMe, n: $TSFixMe, e: $TSFixMe) {
|
||||
clamp: function(t, n, e) {
|
||||
return Math.max(Math.min(t, e), n)
|
||||
},
|
||||
queryArray: function (t: $TSFixMe, n: $TSFixMe) {
|
||||
queryArray: function(t, n) {
|
||||
return n || (n = document.body), Array.prototype.slice.call(n.querySelectorAll(t))
|
||||
},
|
||||
ready: function (t: $TSFixMe) {
|
||||
ready: function(t) {
|
||||
'loading' !== document.readyState ? t() : document.addEventListener('DOMContentLoaded', t)
|
||||
}
|
||||
};
|
||||
|
||||
Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670, Strut.isMobileViewport = window.innerWidth < Strut.mobileViewportWidth, window.addEventListener('resize', function () {
|
||||
|
||||
Strut.isMobileViewport = window.innerWidth < Strut.mobileViewportWidth
|
||||
|
||||
}), Strut.touch = {
|
||||
isSupported: 'ontouchstart' in window || navigator.maxTouchPoints,
|
||||
isDragging: !1
|
||||
}, document.addEventListener('DOMContentLoaded', function () {
|
||||
document.body.addEventListener('touchmove', function () {
|
||||
|
||||
Strut.touch.isDragging = !0
|
||||
}), document.body.addEventListener('touchstart', function () {
|
||||
|
||||
Strut.touch.isDragging = !1
|
||||
})
|
||||
|
||||
}), Strut.load = {
|
||||
images: function (t: $TSFixMe, n: $TSFixMe) {
|
||||
'string' == typeof t && (t = [t]);
|
||||
var e = -t.length;
|
||||
t.forEach(function (t: $TSFixMe) {
|
||||
var i = new Image;
|
||||
i.src = t, i.onload = function () {
|
||||
0 === ++e && n && n()
|
||||
}
|
||||
Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670, Strut.isMobileViewport = window.innerWidth < Strut.mobileViewportWidth, window.addEventListener('resize', function() {
|
||||
Strut.isMobileViewport = window.innerWidth < Strut.mobileViewportWidth
|
||||
}), Strut.touch = {
|
||||
isSupported: 'ontouchstart' in window || navigator.maxTouchPoints,
|
||||
isDragging: !1
|
||||
}, document.addEventListener('DOMContentLoaded', function() {
|
||||
document.body.addEventListener('touchmove', function() {
|
||||
Strut.touch.isDragging = !0
|
||||
}), document.body.addEventListener('touchstart', function() {
|
||||
Strut.touch.isDragging = !1
|
||||
})
|
||||
},
|
||||
css: function (t: $TSFixMe, n: $TSFixMe) {
|
||||
var e = document.createElement('link'),
|
||||
i = window.readConfig('strut_files') || {},
|
||||
o = i[t];
|
||||
if (!o) throw new Error('CSS file "' + t + '" not found in strut_files config');
|
||||
e.href = o, e.rel = 'stylesheet', document.head.appendChild(e), n && (e.onload = n)
|
||||
},
|
||||
js: function (t: $TSFixMe, n: $TSFixMe) {
|
||||
var e = document.createElement('script'),
|
||||
i = window.readConfig('strut_files') || {},
|
||||
o = i[t];
|
||||
if (!o) throw new Error('Javascript file "' + t + '" not found in strut_files config');
|
||||
e.src = o, e.async = !1, document.head.appendChild(e), n && (e.onload = n)
|
||||
}
|
||||
|
||||
}, Strut.supports = {
|
||||
es6: function () {
|
||||
try {
|
||||
return new Function('(a = 0) => a'), !0
|
||||
} catch (t) {
|
||||
return !1
|
||||
}), Strut.load = {
|
||||
images: function(t, n) {
|
||||
'string' == typeof t && (t = [t]);
|
||||
var e = -t.length;
|
||||
t.forEach(function(t) {
|
||||
var i = new Image;
|
||||
i.src = t, i.onload = function() {
|
||||
0 === ++e && n && n()
|
||||
}
|
||||
})
|
||||
},
|
||||
css: function(t, n) {
|
||||
var e = document.createElement('link'),
|
||||
i = window.readConfig('strut_files') || {},
|
||||
o = i[t];
|
||||
if (!o) throw new Error('CSS file "' + t + '" not found in strut_files config');
|
||||
e.href = o, e.rel = 'stylesheet', document.head.appendChild(e), n && (e.onload = n)
|
||||
},
|
||||
js: function(t, n) {
|
||||
var e = document.createElement('script'),
|
||||
i = window.readConfig('strut_files') || {},
|
||||
o = i[t];
|
||||
if (!o) throw new Error('Javascript file "' + t + '" not found in strut_files config');
|
||||
e.src = o, e.async = !1, document.head.appendChild(e), n && (e.onload = n)
|
||||
}
|
||||
}(),
|
||||
pointerEvents: function () {
|
||||
var t = document.createElement('a').style;
|
||||
return t.cssText = 'pointer-events:auto', 'auto' === t.pointerEvents
|
||||
}(),
|
||||
positionSticky: Boolean(window.CSS && CSS.supports('(position: -webkit-sticky) or (position: sticky)')),
|
||||
masks: function () {
|
||||
return !/MSIE|Trident|Edge/i.test(navigator.userAgent);
|
||||
}()
|
||||
}, globalNavDropdowns.prototype.checkCollision = function () {
|
||||
var t = this;
|
||||
|
||||
if (!Strut.isMobileViewport)
|
||||
if (1 == t.compact) {
|
||||
var n = document.body.clientWidth,
|
||||
e = t.primaryNav.getBoundingClientRect();
|
||||
e.left + e.width / 2 > n / 2 && (t.container.classList.remove('compact'), t.compact = !1)
|
||||
} else {
|
||||
var i = t.primaryNavItem.getBoundingClientRect(),
|
||||
o = t.secondaryNavItem.getBoundingClientRect();
|
||||
i.right > o.left && (t.container.classList.add('compact'), t.compact = !0)
|
||||
}, Strut.supports = {
|
||||
es6: function() {
|
||||
try {
|
||||
return new Function('(a = 0) => a'), !0
|
||||
} catch (t) {
|
||||
return !1
|
||||
}
|
||||
}(),
|
||||
pointerEvents: function() {
|
||||
var t = document.createElement('a').style;
|
||||
return t.cssText = 'pointer-events:auto', 'auto' === t.pointerEvents
|
||||
}(),
|
||||
positionSticky: Boolean(window.CSS && CSS.supports('(position: -webkit-sticky) or (position: sticky)')),
|
||||
masks: function() {
|
||||
return !/MSIE|Trident|Edge/i.test(navigator.userAgent)
|
||||
}()
|
||||
}, globalNavDropdowns.prototype.checkCollision = function() {
|
||||
var t = this;
|
||||
if (!Strut.isMobileViewport)
|
||||
if (1 == t.compact) {
|
||||
var n = document.body.clientWidth,
|
||||
e = t.primaryNav.getBoundingClientRect();
|
||||
e.left + e.width / 2 > n / 2 && (t.container.classList.remove('compact'), t.compact = !1)
|
||||
} else {
|
||||
var i = t.primaryNavItem.getBoundingClientRect(),
|
||||
o = t.secondaryNavItem.getBoundingClientRect();
|
||||
i.right > o.left && (t.container.classList.add('compact'), t.compact = !0)
|
||||
}
|
||||
}, globalNavDropdowns.prototype.openDropdown = function(t) {
|
||||
var n = this;
|
||||
if (this.activeDropdown !== t) {
|
||||
this.container.classList.add('overlayActive'), this.container.classList.add('dropdownActive'), this.activeDropdown = t, this.dropdownRoots.forEach(function(t) {
|
||||
t.classList.remove('active')
|
||||
}), t.classList.add('active');
|
||||
var e, i, o, r = t.getAttribute('data-dropdown'),
|
||||
a = 'left';
|
||||
this.dropdownSections.forEach(function(t) {
|
||||
t.el.classList.remove('active'), t.el.classList.remove('left'), t.el.classList.remove('right'), t.name == r ? (t.el.classList.add('active'), a = 'right', e = t.content.offsetWidth, i = t.content.offsetHeight, t.content.getAttribute('data-fixed') ? t.content.setAttribute('data-fixed', !0) : (t.content.style.width = e + 'px', t.content.style.height = i + 'px'), o = t.content) : t.el.classList.add(a)
|
||||
});
|
||||
var s = 380,
|
||||
c = 400,
|
||||
d = e / s,
|
||||
l = i / c,
|
||||
u = t.getBoundingClientRect(),
|
||||
p = u.left + u.width / 2 - e / 2;
|
||||
p = Math.round(Math.max(p, 10)), clearTimeout(this.disableTransitionTimeout), this.enableTransitionTimeout = setTimeout(function() {
|
||||
n.container.classList.remove('noDropdownTransition')
|
||||
}, 50), this.dropdownBackground.style.transform = 'translateX(' + p + 'px) scaleX(' + d + ') scaleY(' + l + ')', this.dropdownContainer.style.transform = 'translateX(' + p + 'px)', this.dropdownContainer.style.width = e + 'px', this.dropdownContainer.style.height = i + 'px';
|
||||
var w = Math.round(u.left + u.width / 2);
|
||||
this.dropdownArrow.style.transform = 'translateX(' + w + 'px) rotate(45deg)';
|
||||
var f = o.children[0].offsetHeight / l;
|
||||
this.dropdownBackgroundAlt.style.transform = 'translateY(' + f + 'px)', window.siteAnalytics && window.siteAnalytics.trackGlobalNavDropdownOpen && window.siteAnalytics.trackGlobalNavDropdownOpen(r)
|
||||
}
|
||||
}, globalNavDropdowns.prototype.openDropdown = function (t: $TSFixMe) {
|
||||
var n = this;
|
||||
if (this.activeDropdown !== t) {
|
||||
this.container.classList.add('overlayActive'), this.container.classList.add('dropdownActive'), this.activeDropdown = t, this.dropdownRoots.forEach(function (t: $TSFixMe) {
|
||||
}, globalNavDropdowns.prototype.closeDropdown = function() {
|
||||
var t = this;
|
||||
this.activeDropdown && (this.dropdownRoots.forEach(function(t) {
|
||||
t.classList.remove('active')
|
||||
}), t.classList.add('active');
|
||||
var e, i, o, r = t.getAttribute('data-dropdown'),
|
||||
a = 'left';
|
||||
this.dropdownSections.forEach(function (t: $TSFixMe) {
|
||||
t.el.classList.remove('active'), t.el.classList.remove('left'), t.el.classList.remove('right'), t.name == r ? (t.el.classList.add('active'), a = 'right', e = t.content.offsetWidth, i = t.content.offsetHeight, t.content.getAttribute('data-fixed') ? t.content.setAttribute('data-fixed', !0) : (t.content.style.width = e + 'px', t.content.style.height = i + 'px'), o = t.content) : t.el.classList.add(a)
|
||||
});
|
||||
var s = 380,
|
||||
c = 400,
|
||||
|
||||
d = e / s,
|
||||
|
||||
l = i / c,
|
||||
u = t.getBoundingClientRect(),
|
||||
|
||||
p = u.left + u.width / 2 - e / 2;
|
||||
p = Math.round(Math.max(p, 10)), clearTimeout(this.disableTransitionTimeout), this.enableTransitionTimeout = setTimeout(function () {
|
||||
n.container.classList.remove('noDropdownTransition')
|
||||
}, 50), this.dropdownBackground.style.transform = 'translateX(' + p + 'px) scaleX(' + d + ') scaleY(' + l + ')', this.dropdownContainer.style.transform = 'translateX(' + p + 'px)', this.dropdownContainer.style.width = e + 'px', this.dropdownContainer.style.height = i + 'px';
|
||||
var w = Math.round(u.left + u.width / 2);
|
||||
this.dropdownArrow.style.transform = 'translateX(' + w + 'px) rotate(45deg)';
|
||||
|
||||
var f = o.children[0].offsetHeight / l;
|
||||
|
||||
this.dropdownBackgroundAlt.style.transform = 'translateY(' + f + 'px)', window.siteAnalytics && window.siteAnalytics.trackGlobalNavDropdownOpen && window.siteAnalytics.trackGlobalNavDropdownOpen(r)
|
||||
}
|
||||
}, globalNavDropdowns.prototype.closeDropdown = function () {
|
||||
var t = this;
|
||||
this.activeDropdown && (this.dropdownRoots.forEach(function (t: $TSFixMe) {
|
||||
t.classList.remove('active')
|
||||
}), clearTimeout(this.enableTransitionTimeout), this.disableTransitionTimeout = setTimeout(function () {
|
||||
t.container.classList.add('noDropdownTransition')
|
||||
}, 50), this.container.classList.remove('overlayActive'), this.container.classList.remove('dropdownActive'), this.activeDropdown = undefined)
|
||||
}, globalNavDropdowns.prototype.toggleDropdown = function (t: $TSFixMe) {
|
||||
this.activeDropdown === t ? this.closeDropdown() : this.openDropdown(t)
|
||||
}, globalNavDropdowns.prototype.startCloseTimeout = function () {
|
||||
var t = this;
|
||||
t.closeDropdownTimeout = setTimeout(function () {
|
||||
t.closeDropdown()
|
||||
}, 50)
|
||||
}, globalNavDropdowns.prototype.stopCloseTimeout = function () {
|
||||
var t = this;
|
||||
clearTimeout(t.closeDropdownTimeout)
|
||||
}, globalNavPopup.prototype.togglePopup = function () {
|
||||
var t = this.root.classList.contains(this.activeClass);
|
||||
this.closeAllPopups(!0), t || (this.root.classList.add(this.activeClass), this.isOpening = !0)
|
||||
}, globalNavPopup.prototype.closeAllPopups = function () {
|
||||
|
||||
for (var t = document.getElementsByClassName(this.activeClass), n = 0; n < t.length; n++) t[n].querySelector('.popup').style.transform = null, t[n].classList.remove(this.activeClass)
|
||||
|
||||
}, Strut.supports.pointerEvents || Strut.load.css('v3/shared/navigation_ie10.html'), Strut.ready(function () {
|
||||
|
||||
new globalNavDropdowns('.globalNav'), new globalNavPopup('.globalNav .navSection.mobile'), new globalNavPopup('.globalFooterNav .select.country'), new globalNavPopup('.globalFooterNav .select.language')
|
||||
}),
|
||||
function () {
|
||||
|
||||
}), clearTimeout(this.enableTransitionTimeout), this.disableTransitionTimeout = setTimeout(function() {
|
||||
t.container.classList.add('noDropdownTransition')
|
||||
}, 50), this.container.classList.remove('overlayActive'), this.container.classList.remove('dropdownActive'), this.activeDropdown = undefined)
|
||||
}, globalNavDropdowns.prototype.toggleDropdown = function(t) {
|
||||
this.activeDropdown === t ? this.closeDropdown() : this.openDropdown(t)
|
||||
}, globalNavDropdowns.prototype.startCloseTimeout = function() {
|
||||
var t = this;
|
||||
t.closeDropdownTimeout = setTimeout(function() {
|
||||
t.closeDropdown()
|
||||
}, 50)
|
||||
}, globalNavDropdowns.prototype.stopCloseTimeout = function() {
|
||||
var t = this;
|
||||
clearTimeout(t.closeDropdownTimeout)
|
||||
}, globalNavPopup.prototype.togglePopup = function() {
|
||||
var t = this.root.classList.contains(this.activeClass);
|
||||
this.closeAllPopups(!0), t || (this.root.classList.add(this.activeClass), this.isOpening = !0)
|
||||
}, globalNavPopup.prototype.closeAllPopups = function() {
|
||||
for (var t = document.getElementsByClassName(this.activeClass), n = 0; n < t.length; n++) t[n].querySelector('.popup').style.transform = null, t[n].classList.remove(this.activeClass)
|
||||
}, Strut.supports.pointerEvents || Strut.load.css('v3/shared/navigation_ie10.html'), Strut.ready(function() {
|
||||
new globalNavDropdowns('.globalNav'), new globalNavPopup('.globalNav .navSection.mobile'), new globalNavPopup('.globalFooterNav .select.country'), new globalNavPopup('.globalFooterNav .select.language')
|
||||
}),
|
||||
function() {
|
||||
'use strict';
|
||||
|
||||
function t() {
|
||||
var t = [].slice.call(arguments);
|
||||
o() && logger.info.apply(console, t)
|
||||
o() && console.log.apply(console, t)
|
||||
}
|
||||
|
||||
function n() {
|
||||
var t = {},
|
||||
n = document.getElementById('site-analytics-config');
|
||||
|
||||
return n && (t = JSON.parse(n.textContent)), t
|
||||
}
|
||||
|
||||
function e() {
|
||||
|
||||
return n().generalAnalyticsConfig || {}
|
||||
}
|
||||
|
||||
function i() {
|
||||
|
||||
return n().siteSpecificAnalyticsConfig || {}
|
||||
}
|
||||
|
||||
function o() {
|
||||
|
||||
return !!window[b]
|
||||
}
|
||||
|
||||
function r(t: $TSFixMe, n: $TSFixMe) {
|
||||
function r(t, n) {
|
||||
d('action', t, n)
|
||||
}
|
||||
|
||||
function a(t: $TSFixMe, n: $TSFixMe) {
|
||||
function a(t, n) {
|
||||
d('actionOnce', t, n)
|
||||
}
|
||||
|
||||
function s(t: $TSFixMe, n: $TSFixMe) {
|
||||
function s(t, n) {
|
||||
d('modal', t, n)
|
||||
}
|
||||
|
||||
function c(t: $TSFixMe, n: $TSFixMe) {
|
||||
function c(t, n) {
|
||||
d('viewed', t, n)
|
||||
}
|
||||
|
||||
function d(t: $TSFixMe, n: $TSFixMe, e: $TSFixMe) {
|
||||
function d(t, n, e) {
|
||||
window.Analytics ? l(t, n, e) : p(t, n, e)
|
||||
}
|
||||
|
||||
function l(n: $TSFixMe, e: $TSFixMe, i: $TSFixMe) {
|
||||
function l(n, e, i) {
|
||||
u();
|
||||
var o = f(i);
|
||||
|
||||
window.Analytics[n](e, o), t('emit', n, e, o)
|
||||
}
|
||||
|
||||
function u() {
|
||||
|
||||
A || (window.Analytics.configure(e()), A = !0, t('Sent config data'))
|
||||
}
|
||||
|
||||
function p(n: $TSFixMe, e: $TSFixMe, i: $TSFixMe) {
|
||||
|
||||
function p(n, e, i) {
|
||||
S.push([n, e, i]), g(), t('enqueue', n, e, i)
|
||||
}
|
||||
|
||||
function w() {
|
||||
|
||||
t('Flushing event queue'), u(), S.forEach(function (this: $TSFixMe, t) {
|
||||
t('Flushing event queue'), u(), S.forEach(function(t) {
|
||||
l.apply(this, t)
|
||||
})
|
||||
}
|
||||
|
||||
function f(t: $TSFixMe) {
|
||||
function f(t) {
|
||||
var n = e();
|
||||
return Object.keys(t || {}).forEach(function (e) {
|
||||
return Object.keys(t || {}).forEach(function(e) {
|
||||
n[e] = t[e]
|
||||
}), n
|
||||
}
|
||||
@@ -359,57 +327,48 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
}
|
||||
|
||||
function m() {
|
||||
|
||||
v = null, window.Analytics ? (w(), L = E) : (g(), t('Ready timer waiting ' + L + 'ms'))
|
||||
}
|
||||
|
||||
function y(this: $TSFixMe, t: $TSFixMe) {
|
||||
|
||||
function y(t) {
|
||||
window.ga && window.ga.apply(this, t)
|
||||
}
|
||||
|
||||
function h() {
|
||||
|
||||
window.siteAnalyticsUtil.analyticsConfigData || (g(), window.siteAnalyticsUtil.debugActive = o, window.siteAnalyticsUtil.emitAction = r, window.siteAnalyticsUtil.emitActionOnce = a, window.siteAnalyticsUtil.emitModal = s, window.siteAnalyticsUtil.emitViewed = c, window.siteAnalyticsUtil.siteAnalyticsConfig = i, window.siteAnalyticsUtil.sendToGoogleAnalytics = y, window.siteAnalyticsUtil.generalAnalyticsConfig = e)
|
||||
}
|
||||
|
||||
window.siteAnalytics = window.siteAnalytics || {}, window.siteAnalyticsUtil = window.siteAnalyticsUtil || {};
|
||||
var v: $TSFixMe, A = !1,
|
||||
var v, A = !1,
|
||||
b = 'SITE_ANALYTICS_DEBUG',
|
||||
S: $TSFixMe = [],
|
||||
S = [],
|
||||
E = 250,
|
||||
L = E,
|
||||
k = 1.3;
|
||||
h()
|
||||
}(),
|
||||
function () {
|
||||
function t(t: $TSFixMe) {
|
||||
function() {
|
||||
function t(t) {
|
||||
var e = n(t),
|
||||
i = {};
|
||||
|
||||
return e.getAttribute(r) && (i.action = e.getAttribute(r)), e.getAttribute(s) && (i.modal = e.getAttribute(s)), e.getAttribute(a) && (i.params = {
|
||||
source: e.getAttribute(a)
|
||||
|
||||
}), e.getAttribute(c) && (i.googleAnalyticsParams = JSON.parse(e.getAttribute(c))), i
|
||||
}
|
||||
|
||||
|
||||
function n(t: $TSFixMe) {
|
||||
function n(t) {
|
||||
return t.getAttribute(r) || t.getAttribute(s) ? t : t.parentNode && 'BODY' !== t.tagName ? n(t.parentNode) : null
|
||||
}
|
||||
|
||||
function e(t: $TSFixMe) {
|
||||
function e(t) {
|
||||
return !!n(t)
|
||||
}
|
||||
|
||||
function i(n: $TSFixMe) {
|
||||
function i(n) {
|
||||
var e = t(n);
|
||||
|
||||
e.modal && window.siteAnalyticsUtil.emitModal(e.modal, e.params), e.action && window.siteAnalyticsUtil.emitAction(e.action, e.params), e.googleAnalyticsParams && window.siteAnalyticsUtil.sendToGoogleAnalytics(e.googleAnalyticsParams)
|
||||
}
|
||||
|
||||
function o() {
|
||||
|
||||
window.siteAnalytics.hasAnalyticsAttributes = e, window.siteAnalytics.trackByAttributes = i
|
||||
}
|
||||
var r = 'data-analytics-action',
|
||||
@@ -418,21 +377,19 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
c = 'data-analytics-ga';
|
||||
o()
|
||||
}(),
|
||||
function () {
|
||||
function t(t: $TSFixMe) {
|
||||
function() {
|
||||
function t(t) {
|
||||
return t.matches('form *')
|
||||
}
|
||||
|
||||
function n(n: $TSFixMe) {
|
||||
|
||||
function n(n) {
|
||||
t(n.target) && window.siteAnalyticsUtil.emitAction(o, {
|
||||
name: n.target.getAttribute('name'),
|
||||
value: n.target.value
|
||||
})
|
||||
}
|
||||
|
||||
function e(t: $TSFixMe) {
|
||||
|
||||
function e(t) {
|
||||
'FORM' === t.target.tagName && window.siteAnalyticsUtil.emitAction(r)
|
||||
}
|
||||
|
||||
@@ -443,70 +400,60 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
r = 'form_submit';
|
||||
i()
|
||||
}(),
|
||||
function () {
|
||||
function t(t: $TSFixMe) {
|
||||
|
||||
function() {
|
||||
function t(t) {
|
||||
i[t] || (i[t] = !0, window.siteAnalyticsUtil.emitAction(e, {
|
||||
dropdown: t
|
||||
}))
|
||||
}
|
||||
|
||||
function n() {
|
||||
|
||||
window.siteAnalytics.trackGlobalNavDropdownOpen = t
|
||||
}
|
||||
var e = 'nav_dropdown_open',
|
||||
i = {};
|
||||
n()
|
||||
}(),
|
||||
function () {
|
||||
function() {
|
||||
function t() {
|
||||
|
||||
window.siteAnalyticsUtil.emitActionOnce(c)
|
||||
}
|
||||
|
||||
function n() {
|
||||
|
||||
window.siteAnalyticsUtil.emitActionOnce(d)
|
||||
}
|
||||
|
||||
function e(t: $TSFixMe) {
|
||||
function e(t) {
|
||||
var n = t.innerText.trim().toLowerCase();
|
||||
|
||||
f[n] || (f[n] = !0, window.siteAnalyticsUtil.emitAction(l, {
|
||||
text: n
|
||||
}))
|
||||
}
|
||||
|
||||
function i(t: $TSFixMe) {
|
||||
function i(t) {
|
||||
var n = t.innerText.trim().toLowerCase();
|
||||
|
||||
g[n] || (f[n] = !0, window.siteAnalyticsUtil.emitAction(u, {
|
||||
text: n
|
||||
}))
|
||||
}
|
||||
|
||||
function o(t: $TSFixMe) {
|
||||
|
||||
function o(t) {
|
||||
window.siteAnalyticsUtil.emitAction(p, {
|
||||
category: t
|
||||
})
|
||||
}
|
||||
|
||||
function r(t: $TSFixMe) {
|
||||
|
||||
function r(t) {
|
||||
window.siteAnalyticsUtil.emitAction(p, {
|
||||
query: t
|
||||
})
|
||||
}
|
||||
|
||||
function a() {
|
||||
|
||||
window.siteAnalyticsUtil.emitActionOnce(w)
|
||||
}
|
||||
|
||||
function s() {
|
||||
|
||||
window.siteAnalytics.trackConnectRoutingDiagram = i, window.siteAnalytics.trackHomePageNotebook = e, window.siteAnalytics.trackRadarIcosahedron = t, window.siteAnalytics.trackRadarFraudChart = n, window.siteAnalytics.trackSigmaQueryCategory = o, window.siteAnalytics.trackSigmaQueryExample = r, window.siteAnalytics.trackSigmaPricingSlider = a
|
||||
}
|
||||
var c = 'radar_icosahedron',
|
||||
@@ -519,37 +466,34 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
g = {};
|
||||
s()
|
||||
}(),
|
||||
function () {
|
||||
function t(t: $TSFixMe) {
|
||||
function() {
|
||||
function t(t) {
|
||||
return !!t.getAttribute('href')
|
||||
}
|
||||
|
||||
function n(t: $TSFixMe) {
|
||||
return t.trim().replace(/\s+/g, ' ');
|
||||
function n(t) {
|
||||
return t.trim().replace(/\s+/g, ' ')
|
||||
}
|
||||
|
||||
function e(t: $TSFixMe) {
|
||||
function e(t) {
|
||||
var n = t.className.toLowerCase(),
|
||||
e = t.getAttribute('href');
|
||||
return /\.pdf$|\.pdf#|\.pdf\?/i.test(t.href) ? d : -1 !== n.indexOf('button') || '#' === e ? c : s;
|
||||
return /\.pdf$|\.pdf#|\.pdf\?/i.test(t.href) ? d : -1 !== n.indexOf('button') || '#' === e ? c : s
|
||||
}
|
||||
|
||||
function i(t: $TSFixMe) {
|
||||
function i(t) {
|
||||
var i = e(t),
|
||||
o = {
|
||||
text: n(t.innerText)
|
||||
};
|
||||
|
||||
window.siteAnalyticsUtil.emitAction(i, o)
|
||||
}
|
||||
|
||||
|
||||
function o(t: $TSFixMe) {
|
||||
function o(t) {
|
||||
return 'A' === t.tagName ? t : t.parentNode ? o(t.parentNode) : null
|
||||
}
|
||||
|
||||
function r(n: $TSFixMe) {
|
||||
|
||||
function r(n) {
|
||||
if (window.siteAnalytics.hasAnalyticsAttributes(n.target)) return void window.siteAnalytics.trackByAttributes(n.target);
|
||||
var e = o(n.target);
|
||||
e && t(e) && i(e)
|
||||
@@ -563,71 +507,65 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
d = 'pdf_link';
|
||||
a()
|
||||
}(),
|
||||
function () {
|
||||
function() {
|
||||
function t() {
|
||||
if (n()) {
|
||||
|
||||
var t = window.siteAnalyticsUtil.generalAnalyticsConfig(),
|
||||
e = document.documentElement.id;
|
||||
|
||||
window.siteAnalyticsUtil.emitViewed(e, t)
|
||||
}
|
||||
}
|
||||
|
||||
function n() {
|
||||
|
||||
return !!document.documentElement.id && !!window.siteAnalyticsUtil.siteAnalyticsConfig().trackPageViewed
|
||||
}
|
||||
|
||||
function e() {
|
||||
|
||||
window.siteAnalytics.pageLoadTracking || (window.siteAnalytics.pageLoadTracking = {
|
||||
trackPageView: t
|
||||
}, window.addEventListener('load', t))
|
||||
}
|
||||
e()
|
||||
}(),
|
||||
function () {
|
||||
function t(t: $TSFixMe) {
|
||||
function() {
|
||||
function t(t) {
|
||||
return i(d, t)
|
||||
}
|
||||
|
||||
function n(t: $TSFixMe) {
|
||||
function n(t) {
|
||||
return i(u, t)
|
||||
}
|
||||
|
||||
function e(t: $TSFixMe) {
|
||||
function e(t) {
|
||||
return i(l, t)
|
||||
}
|
||||
|
||||
function i(t: $TSFixMe, n: $TSFixMe) {
|
||||
function i(t, n) {
|
||||
var e = n;
|
||||
|
||||
'string' != typeof n && (e = r(n)), window.siteAnalyticsUtil.emitAction(t, {
|
||||
video: e
|
||||
})
|
||||
}
|
||||
|
||||
function o(t: $TSFixMe) {
|
||||
function o(t) {
|
||||
return t.currentSrc || t.getAttribute('src') || t.querySelector('source').getAttribute('src')
|
||||
}
|
||||
|
||||
function r(t: $TSFixMe) {
|
||||
function r(t) {
|
||||
var n = o(t),
|
||||
e = n.slice(n.lastIndexOf('index.html') + 1);
|
||||
return e.slice(0, e.lastIndexOf('.'))
|
||||
}
|
||||
|
||||
function a(t: $TSFixMe) {
|
||||
function a(t) {
|
||||
'VIDEO' === t.target.tagName && n(t.target)
|
||||
}
|
||||
|
||||
function s(t: $TSFixMe) {
|
||||
function s(t) {
|
||||
'VIDEO' === t.target.tagName && e(t.target)
|
||||
}
|
||||
|
||||
function c() {
|
||||
|
||||
document.addEventListener('play', a, !0), document.addEventListener('ended', s, !0), window.siteAnalytics.trackVideoExpand = t, window.siteAnalytics.trackVideoPlay = n, window.siteAnalytics.trackVideoEnd = e
|
||||
}
|
||||
var d = 'video_expand',
|
||||
@@ -636,3 +574,4 @@ Strut.isRetina = window.devicePixelRatio > 1.3, Strut.mobileViewportWidth = 670,
|
||||
c()
|
||||
}();
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
// This is basicaly meant to get a cookie by name
|
||||
var getCookiebyName = function (name: $TSFixMe) {
|
||||
var getCookiebyName = function (name) {
|
||||
var pair = document.cookie.match(new RegExp(name + '=([^;]+)'));
|
||||
return !!pair ? pair[1] : null;
|
||||
};
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
! function () {
|
||||
function n(n: $TSFixMe, e: $TSFixMe) {
|
||||
function n(n, e) {
|
||||
|
||||
$('.hidden', n)
|
||||
.eq(e)
|
||||
@@ -13,7 +13,7 @@
|
||||
.attr('class', 'shown')
|
||||
}
|
||||
|
||||
function e(n: $TSFixMe, e: $TSFixMe) {
|
||||
function e(n, e) {
|
||||
if (n.hasClass('is-visible')) {
|
||||
|
||||
const a = $('.shown', n)
|
||||
@@ -25,7 +25,7 @@
|
||||
}
|
||||
|
||||
$('.card')
|
||||
.each(function (e: $TSFixMe, a: $TSFixMe) {
|
||||
.each(function (e, a) {
|
||||
if (window.IntersectionObserver) a.observer = new IntersectionObserver(e => {
|
||||
e.forEach(e => {
|
||||
if (e.isIntersecting || e.intersectionRatio > 0) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,9 +1,10 @@
|
||||
|
||||
let accountsUrl = window.location.origin + '/accounts';
|
||||
let backendUrl = window.location.hostname === 'localhost' ? 'http://localhost:3002' : window.location.origin + '/api'
|
||||
let accountsUrl = window.location.origin+'/accounts';
|
||||
let backendUrl = window.location.hostname==='localhost'? 'http://localhost:3002': window.location.origin+'/api'
|
||||
|
||||
|
||||
function loginUrl(extra: string) {
|
||||
//eslint-disable-next-line
|
||||
function loginUrl(extra) {
|
||||
if (extra) {
|
||||
window.location.href = `${accountsUrl}/login${extra}`;
|
||||
}
|
||||
@@ -11,8 +12,8 @@ function loginUrl(extra: string) {
|
||||
window.location.href = `${accountsUrl}/login`;
|
||||
}
|
||||
}
|
||||
|
||||
function registerUrl(params: string) {
|
||||
//eslint-disable-next-line
|
||||
function registerUrl(params) {
|
||||
if (params) {
|
||||
window.location.href = `${accountsUrl}/register${params}`;
|
||||
}
|
||||
@@ -20,7 +21,7 @@ function registerUrl(params: string) {
|
||||
window.location.href = `${accountsUrl}/register`;
|
||||
}
|
||||
}
|
||||
//eslint-disable-next-line
|
||||
function formUrl() {
|
||||
return `${backendUrl}/lead/`;
|
||||
}
|
||||
|
||||
|
||||
@@ -126,17 +126,6 @@
|
||||
fbq('init', '244894116420899');
|
||||
fbq('track', 'PageView');
|
||||
</script>
|
||||
<script type="module">
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('service-worker.js', { scope: '.' })
|
||||
.then(function (registration) {
|
||||
logger.info('Service Worker Registered');
|
||||
})
|
||||
.catch(function (err) {
|
||||
logger.info('Error: Service Worker because Registered: ', err);
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
|
||||
@@ -28,6 +28,7 @@ import Response from 'CommonServer/Utils/Response';
|
||||
import JSONWebToken from 'CommonServer/Utils/JsonWebToken';
|
||||
import OneUptimeDate from 'Common/Types/Date';
|
||||
import PositiveNumber from 'Common/Types/PositiveNumber';
|
||||
import { EncryptionSecret } from 'CommonServer/Config';
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
@@ -80,7 +81,7 @@ router.post(
|
||||
emailVerificationToken &&
|
||||
user &&
|
||||
alreadySavedUser?.id?.toString() ===
|
||||
emailVerificationToken?.userId?.toString()
|
||||
emailVerificationToken?.userId?.toString()
|
||||
) {
|
||||
user.isEmailVerified = true;
|
||||
}
|
||||
@@ -161,4 +162,168 @@ router.post(
|
||||
}
|
||||
);
|
||||
|
||||
router.post(
|
||||
'/request-reset-password',
|
||||
async (
|
||||
req: ExpressRequest,
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): Promise<void> => {
|
||||
try {
|
||||
|
||||
const data: JSONObject = req.body;
|
||||
|
||||
const user: User = User.asPublicCreateable<User>(
|
||||
data as JSONObject,
|
||||
User
|
||||
);
|
||||
|
||||
user.password?.hashValue(EncryptionSecret);
|
||||
|
||||
const alreadySavedUser: User | null = await UserService.findOneBy({
|
||||
query: { email: user.email!, password: user.password! },
|
||||
select: {
|
||||
_id: true,
|
||||
password: true,
|
||||
name: true,
|
||||
email: true,
|
||||
isMasterAdmin: true
|
||||
},
|
||||
});
|
||||
|
||||
if (alreadySavedUser) {
|
||||
const token: string = JSONWebToken.sign(
|
||||
{
|
||||
userId: alreadySavedUser.id!,
|
||||
email: alreadySavedUser.email!,
|
||||
isMasterAdmin: alreadySavedUser.isMasterAdmin!,
|
||||
roles: [],
|
||||
},
|
||||
OneUptimeDate.getSecondsInDays(new PositiveNumber(30))
|
||||
);
|
||||
|
||||
return Response.sendItemResponse(req, res, {
|
||||
token: token,
|
||||
user: alreadySavedUser.toJSON(),
|
||||
});
|
||||
} else {
|
||||
throw new BadDataException("Invalid login: Email or password does not match.")
|
||||
}
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
return next(err);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
router.post(
|
||||
'/reset-password',
|
||||
async (
|
||||
req: ExpressRequest,
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): Promise<void> => {
|
||||
try {
|
||||
|
||||
const data: JSONObject = req.body;
|
||||
|
||||
const user: User = User.asPublicCreateable<User>(
|
||||
data as JSONObject,
|
||||
User
|
||||
);
|
||||
|
||||
user.password?.hashValue(EncryptionSecret);
|
||||
|
||||
const alreadySavedUser: User | null = await UserService.findOneBy({
|
||||
query: { email: user.email!, password: user.password! },
|
||||
select: {
|
||||
_id: true,
|
||||
password: true,
|
||||
name: true,
|
||||
email: true,
|
||||
isMasterAdmin: true
|
||||
},
|
||||
});
|
||||
|
||||
if (alreadySavedUser) {
|
||||
const token: string = JSONWebToken.sign(
|
||||
{
|
||||
userId: alreadySavedUser.id!,
|
||||
email: alreadySavedUser.email!,
|
||||
isMasterAdmin: alreadySavedUser.isMasterAdmin!,
|
||||
roles: [],
|
||||
},
|
||||
OneUptimeDate.getSecondsInDays(new PositiveNumber(30))
|
||||
);
|
||||
|
||||
return Response.sendItemResponse(req, res, {
|
||||
token: token,
|
||||
user: alreadySavedUser.toJSON(),
|
||||
});
|
||||
} else {
|
||||
throw new BadDataException("Invalid login: Email or password does not match.")
|
||||
}
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
return next(err);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
router.post(
|
||||
'/login',
|
||||
async (
|
||||
req: ExpressRequest,
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): Promise<void> => {
|
||||
try {
|
||||
|
||||
const data: JSONObject = req.body;
|
||||
|
||||
const user: User = User.asPublicCreateable<User>(
|
||||
data as JSONObject,
|
||||
User
|
||||
);
|
||||
|
||||
user.password?.hashValue(EncryptionSecret);
|
||||
|
||||
const alreadySavedUser: User | null = await UserService.findOneBy({
|
||||
query: { email: user.email!, password: user.password! },
|
||||
select: {
|
||||
_id: true,
|
||||
password: true,
|
||||
name: true,
|
||||
email: true,
|
||||
isMasterAdmin: true
|
||||
},
|
||||
});
|
||||
|
||||
if (alreadySavedUser) {
|
||||
const token: string = JSONWebToken.sign(
|
||||
{
|
||||
userId: alreadySavedUser.id!,
|
||||
email: alreadySavedUser.email!,
|
||||
isMasterAdmin: alreadySavedUser.isMasterAdmin!,
|
||||
roles: [],
|
||||
},
|
||||
OneUptimeDate.getSecondsInDays(new PositiveNumber(30))
|
||||
);
|
||||
|
||||
return Response.sendItemResponse(req, res, {
|
||||
token: token,
|
||||
user: alreadySavedUser.toJSON(),
|
||||
});
|
||||
} else {
|
||||
throw new BadDataException("Invalid login: Email or password does not match.")
|
||||
}
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
return next(err);
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
||||
@@ -52,7 +52,7 @@ server {
|
||||
ssl_certificate /etc/nginx/certs/nginx.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/nginx.key;
|
||||
|
||||
location /home {
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in New Issue
Block a user