From fa1107347a9aed30d1e8c4547693d64fdec05184 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 4 Sep 2025 09:11:48 +0000
Subject: [PATCH 1/2] Initial plan
From ab36acb6a692f373734a08fdcf91a5bed6103f9b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 4 Sep 2025 09:35:56 +0000
Subject: [PATCH 2/2] Complete modernization: Add React TypeScript components
with Styleguidist, tests, and CI/CD
Co-authored-by: abrahammartin <1429691+abrahammartin@users.noreply.github.com>
---
.editorconfig | 12 +
.eslintrc.cjs | 20 +
.github/workflows/deploy.yml | 67 +
.gitignore | 44 +
.prettierrc | 8 +
README.md | 181 +
asset-manifest.json | 16 -
build/2.0852d5cf.js | 2 -
build/2.0852d5cf.js.LICENSE.txt | 1 -
build/bundle.b1e58a59.js | 1 -
build/main.b17af953.js | 1 -
index.html | 15 -
package-lock.json | 13362 ++++++++++++++++
package.json | 72 +
...nifest.a2d939950c3959a6f2dafa57c4091245.js | 22 -
service-worker.js | 39 -
src/components/AppBar/AppBar.md | 17 +
src/components/AppBar/AppBar.test.tsx | 40 +
src/components/AppBar/AppBar.tsx | 57 +
src/components/AppBar/index.ts | 1 +
.../ChooseColumnsDialog.md | 50 +
.../ChooseColumnsDialog.tsx | 255 +
src/components/ChooseColumnsDialog/index.ts | 4 +
.../NavigationPanel/NavigationPanel.md | 52 +
.../NavigationPanel/NavigationPanel.tsx | 22 +
.../NavigationPanel/NavigationPanelAvatar.tsx | 49 +
.../NavigationPanel/NavigationPanelFooter.tsx | 50 +
.../NavigationPanelFooterLink.tsx | 26 +
.../NavigationPanel/NavigationPanelLogo.tsx | 62 +
.../NavigationPanelSection.tsx | 26 +
.../NavigationPanelSectionAnchor.tsx | 29 +
.../NavigationPanelSectionLink.tsx | 42 +
src/components/NavigationPanel/index.ts | 29 +
src/components/index.ts | 7 +
src/test/setup.ts | 1 +
src/types/index.ts | 23 +
styleguide.config.cjs | 68 +
tsconfig.json | 32 +
tsconfig.node.json | 10 +
tsconfig.styleguidist.json | 30 +
vite.config.ts | 24 +
41 files changed, 14772 insertions(+), 97 deletions(-)
create mode 100644 .editorconfig
create mode 100644 .eslintrc.cjs
create mode 100644 .github/workflows/deploy.yml
create mode 100644 .gitignore
create mode 100644 .prettierrc
create mode 100644 README.md
delete mode 100644 asset-manifest.json
delete mode 100644 build/2.0852d5cf.js
delete mode 100644 build/2.0852d5cf.js.LICENSE.txt
delete mode 100644 build/bundle.b1e58a59.js
delete mode 100644 build/main.b17af953.js
delete mode 100644 index.html
create mode 100644 package-lock.json
create mode 100644 package.json
delete mode 100644 precache-manifest.a2d939950c3959a6f2dafa57c4091245.js
delete mode 100644 service-worker.js
create mode 100644 src/components/AppBar/AppBar.md
create mode 100644 src/components/AppBar/AppBar.test.tsx
create mode 100644 src/components/AppBar/AppBar.tsx
create mode 100644 src/components/AppBar/index.ts
create mode 100644 src/components/ChooseColumnsDialog/ChooseColumnsDialog.md
create mode 100644 src/components/ChooseColumnsDialog/ChooseColumnsDialog.tsx
create mode 100644 src/components/ChooseColumnsDialog/index.ts
create mode 100644 src/components/NavigationPanel/NavigationPanel.md
create mode 100644 src/components/NavigationPanel/NavigationPanel.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelAvatar.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelFooter.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelFooterLink.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelLogo.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelSection.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelSectionAnchor.tsx
create mode 100644 src/components/NavigationPanel/NavigationPanelSectionLink.tsx
create mode 100644 src/components/NavigationPanel/index.ts
create mode 100644 src/components/index.ts
create mode 100644 src/test/setup.ts
create mode 100644 src/types/index.ts
create mode 100644 styleguide.config.cjs
create mode 100644 tsconfig.json
create mode 100644 tsconfig.node.json
create mode 100644 tsconfig.styleguidist.json
create mode 100644 vite.config.ts
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..8f1d938
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
\ No newline at end of file
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
new file mode 100644
index 0000000..f9f109f
--- /dev/null
+++ b/.eslintrc.cjs
@@ -0,0 +1,20 @@
+module.exports = {
+ root: true,
+ env: { browser: true, es2020: true, node: true },
+ extends: [
+ 'eslint:recommended',
+ 'plugin:react-hooks/recommended',
+ ],
+ ignorePatterns: ['dist', 'build', '.eslintrc.cjs', '**/*.test.tsx', '**/*.test.ts'],
+ parser: '@typescript-eslint/parser',
+ plugins: ['react-refresh', '@typescript-eslint'],
+ rules: {
+ 'react-refresh/only-export-components': [
+ 'warn',
+ { allowConstantExport: true },
+ ],
+ '@typescript-eslint/no-explicit-any': 'warn',
+ '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
+ 'no-unused-vars': 'off',
+ },
+}
\ No newline at end of file
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..0a3e3a9
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,67 @@
+name: Build and Deploy
+
+on:
+ push:
+ branches: [ main, master ]
+ pull_request:
+ branches: [ main, master ]
+
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+concurrency:
+ group: "pages"
+ cancel-in-progress: false
+
+jobs:
+ build-and-test:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '18'
+ cache: 'npm'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Run linter
+ run: npm run lint
+
+ - name: Run type check
+ run: npx tsc --noEmit
+
+ - name: Run tests
+ run: npm run test -- --run
+
+ - name: Build React Styleguidist documentation
+ run: npm run styleguidist:build
+
+ - name: Setup Pages
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
+ uses: actions/configure-pages@v4
+
+ - name: Upload artifact
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
+ uses: actions/upload-pages-artifact@v2
+ with:
+ path: ./build
+
+ deploy:
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-latest
+ needs: build-and-test
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v3
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4b2a793
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,44 @@
+# Dependencies
+node_modules/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Production builds
+dist/
+build/
+
+# Development
+.env
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+# IDE
+.vscode/
+.idea/
+*.swp
+*.swo
+
+# OS
+.DS_Store
+Thumbs.db
+
+# Testing
+coverage/
+.nyc_output/
+
+# Logs
+logs/
+*.log
+
+# Runtime data
+pids/
+*.pid
+*.seed
+*.pid.lock
+
+# Temporary folders
+tmp/
+temp/
\ No newline at end of file
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..bffbaaf
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,8 @@
+{
+ "semi": false,
+ "singleQuote": true,
+ "trailingComma": "es5",
+ "tabWidth": 2,
+ "printWidth": 80,
+ "endOfLine": "lf"
+}
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b8f5121
--- /dev/null
+++ b/README.md
@@ -0,0 +1,181 @@
+# UIS Automation Components
+
+A modern React component library for the University of Cambridge UIS Automation team, built with TypeScript, Material-UI (MUI), and React Styleguidist.
+
+## ๐ Features
+
+- **Modern React 18** with TypeScript support
+- **Material-UI (MUI) v5** for consistent design system
+- **Component Documentation** with React Styleguidist
+- **Automated Testing** with Vitest and Testing Library
+- **GitHub Actions CI/CD** for automated building and deployment
+- **ESLint & Prettier** for code quality and formatting
+- **Comprehensive Type Definitions** for all components
+
+## ๐ฆ Components
+
+### AppBar
+An application bar which shows the current document's title with responsive hamburger menu for small screens.
+
+### NavigationPanel
+A comprehensive navigation drawer system including:
+- **NavigationPanel**: Main container component
+- **NavigationPanelLogo**: University branding with project status badge
+- **NavigationPanelAvatar**: User profile display
+- **NavigationPanelSection**: Navigation link grouping
+- **NavigationPanelSectionAnchor**: External navigation links
+- **NavigationPanelSectionLink**: Internal router navigation
+- **NavigationPanelFooter**: Footer with UIS DevOps attribution
+- **NavigationPanelFooterLink**: Footer link components
+
+### ChooseColumnsDialog
+An interactive dialog for customizing table column selection and ordering with drag-and-drop support.
+
+## ๐ ๏ธ Development
+
+### Prerequisites
+
+- Node.js 18 or higher
+- npm 8 or higher
+
+### Installation
+
+```bash
+npm install
+```
+
+### Development Scripts
+
+```bash
+# Start development server for components
+npm run styleguidist
+
+# Build production documentation
+npm run styleguidist:build
+
+# Run tests
+npm run test
+
+# Run tests with UI
+npm run test:ui
+
+# Run tests with coverage
+npm run test:coverage
+
+# Lint code
+npm run lint
+
+# Fix linting issues
+npm run lint:fix
+
+# Type check
+npx tsc --noEmit
+```
+
+### Building
+
+```bash
+# Build the documentation site
+npm run styleguidist:build
+```
+
+The build output will be in the `build/` directory, ready for deployment to GitHub Pages.
+
+## ๐งช Testing
+
+The project uses Vitest with React Testing Library for comprehensive testing:
+
+```bash
+# Run all tests
+npm run test
+
+# Run tests in watch mode (development)
+npm run test -- --watch
+
+# Run tests with coverage
+npm run test:coverage
+
+# Run tests with UI
+npm run test:ui
+```
+
+## ๐ Component Documentation
+
+The components are documented using React Styleguidist. Visit the live documentation at [https://uisautomation.github.io](https://uisautomation.github.io) or run locally:
+
+```bash
+npm run styleguidist
+```
+
+This will start a development server with hot reloading for the component documentation.
+
+## ๐ Deployment
+
+The project is automatically deployed to GitHub Pages using GitHub Actions when changes are pushed to the main branch.
+
+### Manual Deployment
+
+```bash
+# Build the documentation
+npm run styleguidist:build
+
+# The build/ directory can then be deployed to any static hosting service
+```
+
+## ๐ง Configuration
+
+### TypeScript
+
+- `tsconfig.json`: Main TypeScript configuration
+- `tsconfig.styleguidist.json`: Specific configuration for React Styleguidist
+- `tsconfig.node.json`: Configuration for build tools
+
+### Styling
+
+The components use Material-UI (MUI) v5 with the styled-components API for custom styling.
+
+### Linting
+
+ESLint is configured with TypeScript and React rules. Prettier is used for code formatting.
+
+## ๐ Project Structure
+
+```
+โโโ .github/workflows/ # GitHub Actions CI/CD
+โโโ src/
+โ โโโ components/ # React components
+โ โ โโโ AppBar/ # AppBar component
+โ โ โโโ NavigationPanel/ # Navigation components
+โ โ โโโ ChooseColumnsDialog/ # Dialog components
+โ โโโ types/ # TypeScript type definitions
+โ โโโ test/ # Test configuration
+โโโ build/ # Built documentation (auto-generated)
+โโโ styleguide.config.cjs # React Styleguidist configuration
+```
+
+## ๐ค Contributing
+
+1. Fork the repository
+2. Create a feature branch: `git checkout -b feature/amazing-feature`
+3. Make your changes and add tests
+4. Run the test suite: `npm run test`
+5. Lint your code: `npm run lint`
+6. Commit your changes: `git commit -m 'Add amazing feature'`
+7. Push to the branch: `git push origin feature/amazing-feature`
+8. Open a Pull Request
+
+## ๐ License
+
+This project is part of the University of Cambridge UIS Automation infrastructure.
+
+## ๐ Links
+
+- [Live Documentation](https://uisautomation.github.io)
+- [UIS DevOps Documentation](https://guidebook.devops.uis.cam.ac.uk/en/latest/)
+- [React Styleguidist](https://react-styleguidist.js.org/)
+- [Material-UI (MUI)](https://mui.com/)
+
+---
+
+Made with โค๏ธ by [UIS DevOps](https://guidebook.devops.uis.cam.ac.uk/en/latest/)
+ยฉ 2024 University of Cambridge
\ No newline at end of file
diff --git a/asset-manifest.json b/asset-manifest.json
deleted file mode 100644
index 93aeb2c..0000000
--- a/asset-manifest.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "files": {
- "main.js": "/build/main.b17af953.js",
- "runtime-main.js": "/build/bundle.b1e58a59.js",
- "build/2.0852d5cf.js": "/build/2.0852d5cf.js",
- "build/2.0852d5cf.js.LICENSE.txt": "/build/2.0852d5cf.js.LICENSE.txt",
- "index.html": "/index.html",
- "precache-manifest.a2d939950c3959a6f2dafa57c4091245.js": "/precache-manifest.a2d939950c3959a6f2dafa57c4091245.js",
- "service-worker.js": "/service-worker.js"
- },
- "entrypoints": [
- "build/bundle.b1e58a59.js",
- "build/2.0852d5cf.js",
- "build/main.b17af953.js"
- ]
-}
\ No newline at end of file
diff --git a/build/2.0852d5cf.js b/build/2.0852d5cf.js
deleted file mode 100644
index 212940e..0000000
--- a/build/2.0852d5cf.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see 2.0852d5cf.js.LICENSE.txt */
-(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(312)},function(e,t,n){e.exports=n(325)()},function(e,t,n){(function(e,a){var r;!function(i){var o=(e&&e.exports,"object"==typeof a&&a);o.global!==o&&o.window;var d="A range\u2019s `stop` value must be greater than or equal to the `start` value.",s="Invalid code point value. Code points range from U+000000 to U+10FFFF.",u=/\\x00([^0123456789]|$)/g,c={},l=c.hasOwnProperty,g=function(e,t){for(var n=-1,a=e.length;++n=n&&tn)return e;if(t<=a&&n>=r)e.splice(i,2);else{if(t>=a&&n=a&&t<=r)e[i+1]=t;else if(n>=a&&n<=r)return e[i]=n+1,e;i+=2}}return e},x=function(e,t){var n,a,r=0,i=null,o=e.length;if(t<0||t>1114111)throw RangeError(s);for(;r=n&&tt)return e.splice(null!=i?i+2:0,0,t,t+1),e;if(t==a)return t+1==e[r+2]?(e.splice(r,4,n,e[r+3]),e):(e[r+1]=t+1,e);i=r,r+=2}return e.push(t,t+1),e},_=function(e,t){for(var n,a,r=0,i=e.slice(),o=t.length;r1114111||n<0||n>1114111)throw RangeError(s);for(var a,r,i=0,o=!1,u=e.length;in)return e;a>=t&&a<=n&&(r>t&&r-1<=n?(e.splice(i,2),i-=2):(e.splice(i-1,2),i-=2))}else{if(a==n+1)return e[i]=t,e;if(a>n)return e.splice(i,0,t,n+1),e;if(t>=a&&t=a&&t=r&&(e[i]=t,e[i+1]=n+1,o=!0)}i+=2}return o||e.push(t,n+1),e},E=function(e,t){var n=0,a=e.length,r=e[n],i=e[a-1];if(a>=2&&(ti))return!1;for(;n=r&&t=40&&e<=43||46==e||47==e||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+D(e):e>=32&&e<=126?D(e):e<=255?"\\x"+R(m(e),2):"\\u"+R(m(e),4)},I=function(e){return e<=65535?j(e):"\\u{"+e.toString(16).toUpperCase()+"}"},N=function(e){var t=e.length,n=e.charCodeAt(0);return n>=55296&&n<=56319&&t>1?1024*(n-55296)+e.charCodeAt(1)-56320+65536:n},L=function(e){var t,n,a="",r=0,i=e.length;if(C(e))return j(e[0]);for(;r1&&(t=v.call(arguments)),this instanceof e?(this.data=[],t?this.add(t):this):(new e).add(t)};B.version="1.3.3";var F=B.prototype;!function(e,t){var n;for(n in t)l.call(t,n)&&(e[n]=t[n])}(F,{add:function(e){var t=this;return null==e?t:e instanceof B?(t.data=_(t.data,e.data),t):(arguments.length>1&&(e=v.call(arguments)),h(e)?(g(e,(function(e){t.add(e)})),t):(t.data=x(t.data,f(e)?e:N(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof B?(t.data=w(t.data,e.data),t):(arguments.length>1&&(e=v.call(arguments)),h(e)?(g(e,(function(e){t.remove(e)})),t):(t.data=y(t.data,f(e)?e:N(e)),t))},addRange:function(e,t){return this.data=S(this.data,f(e)?e:N(e),f(t)?t:N(t)),this},removeRange:function(e,t){var n=f(e)?e:N(e),a=f(t)?t:N(t);return this.data=b(this.data,n,a),this},intersection:function(e){var t=e instanceof B?A(e.data):e;return this.data=function(e,t){for(var n,a=0,r=t.length,i=[];a=55296&&n<=56319&&(i.push(t,55296),a.push(55296,n+1)),n>=56320&&n<=57343&&(i.push(t,55296),a.push(55296,56320),r.push(56320,n+1)),n>57343&&(i.push(t,55296),a.push(55296,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),o.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&a.push(t,n+1),n>=56320&&n<=57343&&(a.push(t,56320),r.push(56320,n+1)),n>57343&&(a.push(t,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),o.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&r.push(t,n+1),n>57343&&(r.push(t,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),o.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?i.push(t,n+1):(i.push(t,65536),o.push(65536,n+1)):o.push(t,n+1),d+=2;return{loneHighSurrogates:a,loneLowSurrogates:r,bmp:i,astral:o}}(e),i=r.loneHighSurrogates,o=r.loneLowSurrogates,d=r.bmp,s=r.astral,u=!k(i),c=!k(o),l=M(s);return t&&(d=_(d,i),u=!1,d=_(d,o),c=!1),k(d)||a.push(L(d)),l.length&&a.push(function(e){var t=[];return g(e,(function(e){var n=e[0],a=e[1];t.push(L(n)+L(a))})),t.join("|")}(l)),u&&a.push(L(i)+"(?![\\uDC00-\\uDFFF])"),c&&a.push("(?:[^\\uD800-\\uDBFF]|^)"+L(o)),a.join("|")}(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(u,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&-1!=e.indexOf("u")?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return A(this.data)}}),F.toArray=F.valueOf,void 0===(r=function(){return B}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(86)(e),n(47))},function(e,t,n){"use strict";function a(){return(a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n(11),n(14),n(48),n(35),n(49),n(30),n(27),n(64);var a=n(0),r=n.n(a),i=n(20),o=n(196),d=n.n(o),s=n(193),u=n.n(s),c=n(102),l=n(141),g=u()((function(e,t,n,a){var r=d()({},l,t.theme),i="function"==typeof t.styles?t.styles(r):t.styles,o=d()({},e(r),i&&i[n]);return c.a.createStyleSheet(o,{meta:n,link:!0})}),(function(e,t,n,a){return n+"_"+a}));function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return function(t){var n,o,d=t.name.replace(/Renderer$/,"");return o=n=function(n){function a(t,a){var r;return h(p(r=n.call(this,t,a)||this),"sheet",void 0),r.sheet=g(e,a.config||{},d,a.cssRevision),r.sheet.update(t).attach(),r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(a,n);var i=a.prototype;return i.componentDidUpdate=function(e){this.sheet.update(e)},i.render=function(){return r.a.createElement(t,Object.assign({},this.props,{classes:this.sheet.classes}))},a}(a.Component),h(n,"displayName","Styled("+d+")"),h(n,"contextType",i.a),o}}},function(e,t,n){"use strict";var a=n(3),r=n(5),i=n(0),o=n.n(i),d=(n(1),n(68)),s=n.n(d),u=n(920),c=n(958),l=n(925),g=n(70);t.a=function(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.defaultTheme,d=t.withTheme,g=void 0!==d&&d,p=t.name,h=Object(r.a)(t,["defaultTheme","withTheme","name"]),f=p,R=Object(u.a)(e,Object(a.a)({defaultTheme:i,Component:n,name:p||n.displayName,classNamePrefix:f},h)),m=o.a.forwardRef((function(e,t){e.classes;var d,s=e.innerRef,u=Object(r.a)(e,["classes","innerRef"]),h=R(Object(a.a)({},n.defaultProps,e)),f=u;return("string"==typeof p||g)&&(d=Object(l.a)()||i,p&&(f=Object(c.a)({theme:d,name:p,props:u})),g&&!f.theme&&(f.theme=d)),o.a.createElement(n,Object(a.a)({ref:s||t,classes:h},f))}));return s()(m,n),m}}(e,Object(a.a)({defaultTheme:g.a},t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(282);function r(e){if("string"!=typeof e)throw new Error(Object(a.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=n(53);function i(e,t){return a.useMemo((function(){return null==e&&null==t?null:function(n){Object(r.a)(e,n),Object(r.a)(t,n)}}),[e,t])}},,function(e,t,n){var a=n(37),r=n(38).f,i=Function.prototype,o=i.toString,d=/^\s*function ([^ (]*)/;a&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return o.call(this).match(d)[1]}catch(e){return""}}})},function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return g}));var a=n(282);function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(a.a)(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function o(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function d(e,t){var n=s(e),a=s(t);return(Math.max(n,a)+.05)/(Math.min(n,a)+.05)}function s(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],a=t[1]/100,r=t[2]/100,d=a*Math.min(r,1-r),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-d*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),o({type:u,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?l(e,t):g(e,t)}function c(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,o(e)}function l(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function g(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),e.exports=n(311)},function(e,t,n){var a=n(21),r=n(310);a({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return d}));var a=n(0),r=n.n(a),i=r.a.createContext({codeRevision:0,cssRevision:"0",config:{},slots:{},displayMode:"collapse"}),o=i;function d(){return r.a.useContext(i)}},function(e,t,n){var a=n(25),r=n(154).f,i=n(75),o=n(82),d=n(156),s=n(216),u=n(220);e.exports=function(e,t){var n,c,l,g,p,h=e.target,f=e.global,R=e.stat;if(n=f?a:R?a[h]||d(h,{}):(a[h]||{}).prototype)for(c in t){if(g=t[c],l=e.noTargetGet?(p=r(n,c))&&p.value:n[c],!u(f?c:h+(R?".":"#")+c,e.forced)&&void 0!==l){if(typeof g==typeof l)continue;s(g,l)}(e.sham||l&&l.sham)&&i(g,"sham",!0),o(n,c,g,e)}}},function(e,t,n){"use strict";var a=n(21),r=n(97).map,i=n(164),o=n(98),d=i("map"),s=o("map");a({target:"Array",proto:!0,forced:!d||!s},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";function a(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function a(e,t){for(var n=0;n=51||!r((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),R=l("concat"),m=function(e){if(!o(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};a({target:"Array",proto:!0,forced:!f||!R},{concat:function(e){var t,n,a,r,i,o=d(this),l=c(o,0),g=0;for(t=-1,a=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(l,g++,i)}return l.length=g,l}})},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var a=n(21),r=n(219).indexOf,i=n(131),o=n(98),d=[].indexOf,s=!!d&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),c=o("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:s||!u||!c},{indexOf:function(e){return s?d.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n(44),n(14),n(59),n(39);var a=n(0),r=n.n(a),i=n(1),o=n.n(i),d=n(4),s=n(6);function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,["classes","semantic","size","color","underlined","children"]),g=a||"span",p=Object(d.a)(n.text,n[i+"Size"],n[o+"Color"],((t={})[n[g]]=!!a,t[n.isUnderlined]=s,t));return r.a.createElement(g,u({},l,{className:p}),c)};c.propTypes={classes:o.a.objectOf(o.a.string.isRequired).isRequired,semantic:o.a.oneOf(["em","strong"]),size:o.a.oneOf(["inherit","small","base","text"]),color:o.a.oneOf(["base","light"]),underlined:o.a.bool,children:o.a.node.isRequired},c.defaultProps={size:"inherit",color:"base",underlined:!1};var l=Object(s.a)((function(e){var t=e.fontFamily,n=e.fontSize,a=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:a.base},lightColor:{color:a.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",a.lightest]]}}}))(c)},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(3),r=n(5),i=["xs","sm","md","lg","xl"];function o(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,d=void 0===o?"px":o,s=e.step,u=void 0===s?5:s,c=Object(r.a)(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(d,")")}function g(e,t){var a=i.indexOf(t);return a===i.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(d,") and ")+"(max-width:".concat((-1!==a&&"number"==typeof n[i[a+1]]?n[i[a+1]]:t)-u/100).concat(d,")")}return Object(a.a)({keys:i,values:n,up:l,down:function(e){var t=i.indexOf(e)+1,a=n[i[t]];return t===i.length?l("xs"):"@media (max-width:".concat(("number"==typeof a&&t>0?a:e)-u/100).concat(d,")")},between:g,only:function(e){return g(e,e)},width:function(e){return n[e]}},c)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var a=n(21),r=n(16),i=n(63),o=n(319),d=n(227);a({target:"Object",stat:!0,forced:r((function(){o(1)})),sham:!d},{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var a=n(21),r=n(83),i=n(120),o=n(29),d=n(26),s=n(228),u=n(324),c=n(16),l=r("Reflect","construct"),g=c((function(){function e(){}return!(l((function(){}),[],e)instanceof e)})),p=!c((function(){l((function(){}))})),h=g||p;a({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!g)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var a=[null];return a.push.apply(a,t),new(u.apply(e,a))}var r=n.prototype,c=s(d(r)?r:Object.prototype),h=Function.apply.call(e,c,t);return d(h)?h:c}})},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";function a(e,t){if(!(t in e))throw new Error("import or require() statements can be added only by editing a Markdown example file: "+t);return e[t]}n.r(t),n.d(t,"default",(function(){return a}))},function(e,t,n){"use strict";function a(e,t,n){return new Function("require","state","setState",e+"\n{"+n+"}").bind(null,t)}n.r(t),n.d(t,"default",(function(){return a}))},function(e,t,n){"use strict";function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(104),r=n(144);function i(e){return function(e){if(Array.isArray(e))return Object(a.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var a=n(0).createContext({});t.a=a},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var a=n(21),r=n(25),i=n(83),o=n(215),d=n(37),s=n(162),u=n(224),c=n(16),l=n(33),g=n(163),p=n(26),h=n(29),f=n(63),R=n(81),m=n(111),v=n(109),y=n(228),b=n(116),x=n(114),_=n(391),w=n(160),S=n(154),E=n(38),k=n(155),C=n(75),A=n(82),O=n(158),P=n(112),T=n(95),D=n(113),j=n(34),I=n(240),N=n(392),L=n(393),M=n(157),B=n(97).forEach,F=P("hidden"),V=j("toPrimitive"),z=M.set,U=M.getterFor("Symbol"),W=Object.prototype,H=r.Symbol,q=i("JSON","stringify"),G=S.f,K=E.f,$=_.f,X=k.f,Q=O("symbols"),Y=O("op-symbols"),J=O("string-to-symbol-registry"),Z=O("symbol-to-string-registry"),ee=O("wks"),te=r.QObject,ne=!te||!te.prototype||!te.prototype.findChild,ae=d&&c((function(){return 7!=y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var a=G(W,t);a&&delete W[t],K(e,t,n),a&&e!==W&&K(W,t,a)}:K,re=function(e,t){var n=Q[e]=y(H.prototype);return z(n,{type:"Symbol",tag:e,description:t}),d||(n.description=t),n},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},oe=function(e,t,n){e===W&&oe(Y,t,n),h(e);var a=m(t,!0);return h(n),l(Q,a)?(n.enumerable?(l(e,F)&&e[F][a]&&(e[F][a]=!1),n=y(n,{enumerable:v(0,!1)})):(l(e,F)||K(e,F,v(1,{})),e[F][a]=!0),ae(e,a,n)):K(e,a,n)},de=function(e,t){h(e);var n=R(t),a=b(n).concat(le(n));return B(a,(function(t){d&&!se.call(n,t)||oe(e,t,n[t])})),e},se=function(e){var t=m(e,!0),n=X.call(this,t);return!(this===W&&l(Q,t)&&!l(Y,t))&&(!(n||!l(this,t)||!l(Q,t)||l(this,F)&&this[F][t])||n)},ue=function(e,t){var n=R(e),a=m(t,!0);if(n!==W||!l(Q,a)||l(Y,a)){var r=G(n,a);return!r||!l(Q,a)||l(n,F)&&n[F][a]||(r.enumerable=!0),r}},ce=function(e){var t=$(R(e)),n=[];return B(t,(function(e){l(Q,e)||l(T,e)||n.push(e)})),n},le=function(e){var t=e===W,n=$(t?Y:R(e)),a=[];return B(n,(function(e){!l(Q,e)||t&&!l(W,e)||a.push(Q[e])})),a};s||(A((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=D(e),n=function e(n){this===W&&e.call(Y,n),l(this,F)&&l(this[F],t)&&(this[F][t]=!1),ae(this,t,v(1,n))};return d&&ne&&ae(W,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return U(this).tag})),A(H,"withoutSetter",(function(e){return re(D(e),e)})),k.f=se,E.f=oe,S.f=ue,x.f=_.f=ce,w.f=le,I.f=function(e){return re(j(e),e)},d&&(K(H.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),o||A(W,"propertyIsEnumerable",se,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:H}),B(b(ee),(function(e){N(e)})),a({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=String(e);if(l(J,t))return J[t];var n=H(t);return J[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(l(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),a({target:"Object",stat:!0,forced:!s,sham:!d},{create:function(e,t){return void 0===t?y(e):de(y(e),t)},defineProperty:oe,defineProperties:de,getOwnPropertyDescriptor:ue}),a({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ce,getOwnPropertySymbols:le}),a({target:"Object",stat:!0,forced:c((function(){w.f(1)}))},{getOwnPropertySymbols:function(e){return w.f(f(e))}}),q&&a({target:"JSON",stat:!0,forced:!s||c((function(){var e=H();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,n){for(var a,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(a=t,(p(t)||void 0!==e)&&!ie(e))return g(t)||(t=function(e,t){if("function"==typeof a&&(t=a.call(this,e,t)),!ie(t))return t}),r[1]=t,q.apply(null,r)}}),H.prototype[V]||C(H.prototype,V,H.prototype.valueOf),L(H,"Symbol"),T[F]=!0},function(e,t,n){"use strict";var a=n(21),r=n(37),i=n(25),o=n(33),d=n(26),s=n(38).f,u=n(216),c=i.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var l={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof g?new c(e):void 0===e?c():c(e);return""===e&&(l[t]=!0),t};u(g,c);var p=g.prototype=c.prototype;p.constructor=g;var h=p.toString,f="Symbol(test)"==String(c("test")),R=/^Symbol\((.*)\)[^)]+$/;s(p,"description",{configurable:!0,get:function(){var e=d(this)?this.valueOf():this,t=h.call(e);if(o(l,e))return"";var n=f?t.slice(7,-1):t.replace(R,"$1");return""===n?void 0:n}}),a({global:!0,forced:!0},{Symbol:g})}},function(e,t,n){var a=n(21),r=n(63),i=n(116);a({target:"Object",stat:!0,forced:n(16)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var a=n(21),r=n(97).filter,i=n(164),o=n(98),d=i("filter"),s=o("filter");a({target:"Array",proto:!0,forced:!d||!s},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";function a(e){return e&&e.replace(/^['"]|['"]$/g,"")}function r(e){return e.flowType?"union"===e.flowType.name&&e.flowType.elements.every((function(e){return"literal"===e.name}))?Object.assign({},e.flowType,{name:"enum",value:e.flowType.elements}):e.flowType:e.tsType?e.tsType:e.type}function i(e){return e&&e.replace(/^\s|\s$/g,"\u2423")}n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n(433),n(11),n(14),n(30),n(64)},,function(e,t,n){var a=n(56);e.exports=function(e){return Object(a(e))}},function(e,t,n){"use strict";var a=n(118),r=n(29),i=n(63),o=n(84),d=n(115),s=n(56),u=n(168),c=n(119),l=Math.max,g=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,f=/\$([$&'`]|\d\d?)/g,R=function(e){return void 0===e?e:String(e)};a("replace",2,(function(e,t,n,a){var m=a.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=a.REPLACE_KEEPS_$0,y=m?"$":"$0";return[function(n,a){var r=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r,a):t.call(String(r),n,a)},function(e,a){if(!m&&v||"string"==typeof a&&-1===a.indexOf(y)){var i=n(t,e,this,a);if(i.done)return i.value}var s=r(e),p=String(this),h="function"==typeof a;h||(a=String(a));var f=s.global;if(f){var x=s.unicode;s.lastIndex=0}for(var _=[];;){var w=c(s,p);if(null===w)break;if(_.push(w),!f)break;""===String(w[0])&&(s.lastIndex=u(p,o(s.lastIndex),x))}for(var S="",E=0,k=0;k<_.length;k++){w=_[k];for(var C=String(w[0]),A=l(g(d(w.index),p.length),0),O=[],P=1;P=E&&(S+=p.slice(E,A)+j,E=A+C.length)}return S+p.slice(E)}];function b(e,n,a,r,o,d){var s=a+e.length,u=r.length,c=f;return void 0!==o&&(o=i(o),c=h),t.call(d,c,(function(t,i){var d;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,a);case"'":return n.slice(s);case"<":d=o[i.slice(1,-1)];break;default:var c=+i;if(0===c)return t;if(c>u){var l=p(c/10);return 0===l?t:l<=u?void 0===r[l-1]?i.charAt(1):r[l-1]+i.charAt(1):t}d=r[c-1]}return void 0===d?"":d}))}}))},function(e,t,n){var a=n(171),r=n(174);e.exports=function(e){return null!=e&&r(e.length)&&!a(e)}},function(e,t,n){"use strict";n.r(t);var a=n(28);n.d(t,"default",(function(){return a.a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(3),r=n(0),i=n.n(r),o=n(5),d=(n(1),n(4)),s=n(7),u=n(8),c=r.forwardRef((function(e,t){var n=e.children,i=e.classes,s=e.className,c=e.color,l=void 0===c?"inherit":c,g=e.component,p=void 0===g?"svg":g,h=e.fontSize,f=void 0===h?"default":h,R=e.htmlColor,m=e.titleAccess,v=e.viewBox,y=void 0===v?"0 0 24 24":v,b=Object(o.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return r.createElement(p,Object(a.a)({className:Object(d.a)(i.root,s,"inherit"!==l&&i["color".concat(Object(u.a)(l))],"default"!==f&&i["fontSize".concat(Object(u.a)(f))]),focusable:"false",viewBox:y,color:R,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},b),n,m?r.createElement("title",null,m):null)}));c.muiName="SvgIcon";var l=Object(s.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c);function g(e,t){var n=function(t,n){return i.a.createElement(l,Object(a.a)({ref:n},t),e)};return n.muiName=l.muiName,i.a.memo(i.a.forwardRef(n))}},function(e,t,n){"use strict";var a=n(100),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};function s(e){return a.isMemo(e)?o:d[e.$$typeof]||r}d[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d[a.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,a){if("string"!=typeof n){if(h){var r=p(n);r&&r!==h&&e(t,r,a)}var o=c(n);l&&(o=o.concat(l(n)));for(var d=s(t),f=s(n),R=0;R0&&void 0!==arguments[0]?arguments[0]:{};return Object(d.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(a.a)({},e.up("sm"),Object(d.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Object(a.a)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(a.a)(r,e.up("sm"),{minHeight:64}),r)},n)}var u=n(282),c={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},g="#7986cb",p="#3f51b5",h="#303f9f",f="#ff4081",R="#f50057",m="#c51162",v="#e57373",y="#f44336",b="#d32f2f",x="#ffb74d",_="#ff9800",w="#f57c00",S="#64b5f6",E="#2196f3",k="#1976d2",C="#81c784",A="#4caf50",O="#388e3c",P=n(12),T={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:l[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},D={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:l[800],default:"#303030"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function j(e,t,n,a){var r=a.light||a,i=a.dark||1.5*a;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(P.e)(e.main,r):"dark"===t&&(e.dark=Object(P.a)(e.main,i)))}function I(e){var t=e.primary,n=void 0===t?{light:g,main:p,dark:h}:t,a=e.secondary,o=void 0===a?{light:f,main:R,dark:m}:a,s=e.error,I=void 0===s?{light:v,main:y,dark:b}:s,N=e.warning,L=void 0===N?{light:x,main:_,dark:w}:N,M=e.info,B=void 0===M?{light:S,main:E,dark:k}:M,F=e.success,V=void 0===F?{light:C,main:A,dark:O}:F,z=e.type,U=void 0===z?"light":z,W=e.contrastThreshold,H=void 0===W?3:W,q=e.tonalOffset,G=void 0===q?.2:q,K=Object(r.a)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function $(e){return Object(P.d)(e,D.text.primary)>=H?D.text.primary:T.text.primary}var X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(d.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(u.a)(4,t));if("string"!=typeof e.main)throw new Error(Object(u.a)(5,JSON.stringify(e.main)));return j(e,"light",n,G),j(e,"dark",a,G),e.contrastText||(e.contrastText=$(e.main)),e},Q={dark:D,light:T};return Object(i.a)(Object(d.a)({common:c,type:U,primary:X(n),secondary:X(o,"A400","A200","A700"),error:X(I),warning:X(L),info:X(B),success:X(V),grey:l,contrastThreshold:H,getContrastText:$,augmentColor:X,tonalOffset:G},Q[U]),K)}function N(e){return Math.round(1e5*e)/1e5}var L={textTransform:"uppercase"};function M(e,t){var n="function"==typeof t?t(e):t,a=n.fontFamily,o=void 0===a?'"Roboto", "Helvetica", "Arial", sans-serif':a,s=n.fontSize,u=void 0===s?14:s,c=n.fontWeightLight,l=void 0===c?300:c,g=n.fontWeightRegular,p=void 0===g?400:g,h=n.fontWeightMedium,f=void 0===h?500:h,R=n.fontWeightBold,m=void 0===R?700:R,v=n.htmlFontSize,y=void 0===v?16:v,b=n.allVariants,x=n.pxToRem,_=Object(r.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),w=u/14,S=x||function(e){return"".concat(e/y*w,"rem")},E=function(e,t,n,a,r){return Object(d.a)({fontFamily:o,fontWeight:e,fontSize:S(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===o?{letterSpacing:"".concat(N(a/t),"em")}:{},r,b)},k={h1:E(l,96,1.167,-1.5),h2:E(l,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(f,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(f,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(f,14,1.75,.4,L),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,L)};return Object(i.a)(Object(d.a)({htmlFontSize:y,pxToRem:S,round:N,fontFamily:o,fontSize:u,fontWeightLight:l,fontWeightRegular:p,fontWeightMedium:f,fontWeightBold:m},k),_,{clone:!1})}function B(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var F=["none",B(0,2,1,-1,0,1,1,0,0,1,3,0),B(0,3,1,-2,0,2,2,0,0,1,5,0),B(0,3,3,-2,0,3,4,0,0,1,8,0),B(0,2,4,-1,0,4,5,0,0,1,10,0),B(0,3,5,-1,0,5,8,0,0,1,14,0),B(0,3,5,-1,0,6,10,0,0,1,18,0),B(0,4,5,-2,0,7,10,1,0,2,16,1),B(0,5,5,-3,0,8,10,1,0,3,14,2),B(0,5,6,-3,0,9,12,1,0,3,16,2),B(0,6,6,-3,0,10,14,1,0,4,18,3),B(0,6,7,-4,0,11,15,1,0,4,20,3),B(0,7,8,-4,0,12,17,2,0,5,22,4),B(0,7,8,-4,0,13,19,2,0,5,24,4),B(0,7,9,-4,0,14,21,2,0,5,26,4),B(0,8,9,-5,0,15,22,2,0,6,28,5),B(0,8,10,-5,0,16,24,2,0,6,30,5),B(0,8,11,-5,0,17,26,2,0,6,32,5),B(0,9,11,-5,0,18,28,2,0,7,34,6),B(0,9,12,-6,0,19,29,2,0,7,36,6),B(0,10,13,-6,0,20,31,3,0,8,38,7),B(0,10,13,-6,0,21,33,3,0,8,40,7),B(0,10,14,-6,0,22,35,3,0,8,42,7),B(0,11,14,-7,0,23,36,3,0,9,44,8),B(0,11,15,-7,0,24,38,3,0,9,46,8)],V={borderRadius:4},z=n(960);function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(z.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.mixins,d=void 0===a?{}:a,u=e.palette,c=void 0===u?{}:u,l=e.spacing,g=e.typography,p=void 0===g?{}:g,h=Object(r.a)(e,["breakpoints","mixins","palette","spacing","typography"]),f=I(c),R=Object(o.a)(n),m=U(l),v=Object(i.a)({breakpoints:R,direction:"ltr",mixins:s(R,m,d),overrides:{},palette:f,props:{},shadows:F,typography:M(f,p),spacing:m,shape:V,transitions:W.a,zIndex:H.a},h),y=arguments.length,b=new Array(y>1?y-1:0),x=1;x0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,d=void 0===n?i.standard:n,s=t.easing,u=void 0===s?r.easeInOut:s,c=t.delay,l=void 0===c?0:c;return Object(a.a)(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof d?d:o(d)," ").concat(u," ").concat("string"==typeof l?l:o(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a=function(e){return e.scrollTop};function r(e,t){var n=e.timeout,a=e.style,r=void 0===a?{}:a;return{duration:r.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:r.transitionDelay}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(105),r=n(147);function i(e){return function(e){if(Array.isArray(e))return Object(a.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){var a=n(37),r=n(38),i=n(109);e.exports=a?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var a=n(339),r=n(344);e.exports=function(e,t){var n=r(e,t);return a(n)?n:void 0}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function a(){for(var e=arguments.length,t=new Array(e),n=0;n0?r(a(e),9007199254740991):0}},function(e,t,n){var a=n(124),r=n(340),i=n(341),o=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(0),r=n(13),i=!0,o=!1,d=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function l(){"hidden"===this.visibilityState&&o&&(i=!0)}function g(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){o=!0,window.clearTimeout(d),d=window.setTimeout((function(){o=!1}),100)}function h(){return{isFocusVisible:g,onBlurVisible:p,ref:a.useCallback((function(e){var t=r.findDOMNode(e);null!=t&&function(e){e.addEventListener("keydown",u,!0),e.addEventListener("mousedown",c,!0),e.addEventListener("pointerdown",c,!0),e.addEventListener("touchstart",c,!0),e.addEventListener("visibilitychange",l,!0)}(t.ownerDocument)}),[])}}},function(e,t,n){"use strict";function a(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function a(){for(var a=arguments.length,r=new Array(a),i=0;iw;w++)if((g||w in b)&&(v=x(m=b[w],w,y),e))if(t)E[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:s.call(E,m)}else if(c)return!1;return l?-1:u||c?c:E}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){var a=n(37),r=n(16),i=n(33),o=Object.defineProperty,d={},s=function(e){throw e};e.exports=function(e,t){if(i(d,e))return d[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,c=i(t,0)?t[0]:s,l=i(t,1)?t[1]:void 0;return d[e]=!!n&&!r((function(){if(u&&!a)return!0;var e={length:-1};u?o(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,c,l)}))}},function(e,t,n){"use strict";var a=n(21),r=n(110),i=n(81),o=n(131),d=[].join,s=r!=Object,u=o("join",",");a({target:"Array",proto:!0,forced:s||!u},{join:function(e){return d.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";e.exports=n(886)},function(e,t,n){"use strict";n.d(t,"b",(function(){return B}));var a=n(54),r=n(3),i=(n(1),n(69)),o=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=a.name,o=Object(O.a)(a,["name"]),d=i,s="function"==typeof t?function(e){return{root:function(n){return t(Object(r.a)({theme:e},n))}}}:{root:t},u=Object(N.a)(s,Object(r.a)({Component:e,name:i||e.displayName,classNamePrefix:d},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=T.a.forwardRef((function(t,a){var i=t.children,o=t.className,d=t.clone,s=t.component,c=Object(O.a)(t,["children","className","clone","component"]),l=u(t),g=Object(D.a)(l.root,o),p=c;if(n&&(p=L(p,n)),d)return T.a.cloneElement(i,Object(r.a)({className:Object(D.a)(i.props.className,g)},p));if("function"==typeof i)return i(Object(r.a)({className:g},p));var h=s||e;return T.a.createElement(h,Object(r.a)({ref:a,className:g},p),i)}));return I()(c,e),c}}(e);return function(e,n){return t(e,Object(r.a)({defaultTheme:M.a},n))}}("div")(B,{name:"MuiBox"});t.a=F},function(e,t,n){"use strict";n(14);var a=n(3),r=n(36),i=(n(19),n(24)),o=n(15),d=n(32),s=n(18),u={}.constructor;function c(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var n in e)t[n]=c(e[n]);return t}function l(e,t,n){void 0===e&&(e="unnamed");var a=n.jss,r=c(t);return a.plugins.onCreateRule(e,r,n)||(e[0],null)}var g=function(e,t){for(var n="",a=0;a<+~=|^:(),"'`\s])/g,m="undefined"!=typeof CSS&&CSS.escape,v=function(e){return m?m(e):e.replace(R,"\\$1")},y=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var a=n.sheet,r=n.Renderer;this.key=e,this.options=n,this.style=t,a?this.renderer=a.renderer:r&&(this.renderer=new r)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var a=!!n&&n.force;if(!a&&this.style[e]===t)return this;var r=t;n&&!1===n.process||(r=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==r||!1===r,o=e in this.style;if(i&&!o&&!a)return this;var d=i&&o;if(d?delete this.style[e]:this.style[e]=r,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,r),this;var s=this.options.sheet;return s&&s.attached,this},e}(),b=function(e){function t(t,n,a){var r;(r=e.call(this,t,n,a)||this).selectorText=void 0,r.id=void 0,r.renderable=void 0;var i=a.selector,o=a.scoped,s=a.sheet,u=a.generateId;return i?r.selectorText=i:!1!==o&&(r.id=u(Object(d.a)(Object(d.a)(r)),s),r.selectorText="."+v(r.id)),r}Object(o.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var a in n)t.setProperty(e,a,n[a])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?Object(a.a)({},e,{allowEmpty:!0}):e;return f(this.selectorText,this.style,n)},Object(i.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;n&&t&&(t.setSelector(n,e)||t.replaceRule(n,this))}},get:function(){return this.selectorText}}]),t}(y),x={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new b(e,t,n)}},_={indent:1,children:!0},w=/@([\w-]+)/,S=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=n.name;var r=e.match(w);for(var i in this.at=r?r[1]:"unknown",this.options=n,this.rules=new K(Object(a.a)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var a=this.rules.add(e,t,n);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.toString=function(e){if(void 0===e&&(e=_),null==e.indent&&(e.indent=_.indent),null==e.children&&(e.children=_.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),E=/@media|@supports\s+/,k={onCreateRule:function(e,t,n){return E.test(e)?new S(e,t,n):null}},C={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,O=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(A);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,d=n.generateId;for(var s in this.id=!1===i?this.name:v(d(this,o)),this.rules=new K(Object(a.a)({},n,{parent:this})),t)this.rules.add(s,t[s],Object(a.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=C),null==e.indent&&(e.indent=C.indent),null==e.children&&(e.children=C.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),P=/@keyframes\s+/,T=/\$([\w-]+)/g,D=function(e,t){return"string"==typeof e?e.replace(T,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var a=e[t],r=D(a,n);r!==a&&(e[t]=r)},I={onCreateRule:function(e,t,n){return"string"==typeof e&&P.test(e)?new O(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var a=n.options.sheet;if(!a)return e;switch(t){case"animation":case"animation-name":return D(e,a.keyframes);default:return e}}},N=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r=this.index)t.push(e);else for(var a=0;an)return void t.splice(a,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,a=Object(s.a)(t,["attached"]),r="",i=0;ia)&&(n=a);try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},ue=function(){function e(e){this.getPropertyValue=ne,this.setProperty=ae,this.removeProperty=re,this.setSelector=ie,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&Q.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,a=t.meta,r=t.element;this.element=r||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),a&&this.element.setAttribute("data-meta",a);var i=de();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,a=function(e){var t=Q.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&a.options.insertionPoint===t.insertionPoint)return a}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var a=e[n];if(a.attached&&a.options.insertionPoint===t.insertionPoint)return a}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var a=e.insertionPoint;if(a&&"string"==typeof a){var r=function(e){for(var t=oe(),n=0;n-1)return e(t,n.split(" "));var r=t.options.parent;if("$"===n[0]){var i=r.getRule(n.substr(1));return!!i&&i!==t&&(r.classes[t.key]+=" "+r.classes[i.key],!0)}return r.classes[t.key]+=" "+n,!0}(t,e.composes),delete e.composes,e):e}}]});t.a=je},function(e,t,n){var a=n(0),r=n(1);function i(e){var t=a.Children.toArray(e.children).filter(Boolean);if(1===t.length)return t;var n=e.separator,r=a.isValidElement(n),i=[t.shift()];return t.forEach((function(e,t){if(r){var o="separator-"+(e.key||t);n=a.cloneElement(n,{key:o})}i.push(n,e)})),i}i.propTypes={children:r.node,separator:r.node},i.defaultProps={separator:" "},e.exports=i},function(e,t,n){"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);ne.length)&&(t=e.length);for(var n=0,a=new Array(t);n0?a:n)(e)}},function(e,t,n){var a=n(218),r=n(159);e.exports=Object.keys||function(e){return a(e,r)}},function(e,t,n){"use strict";var a,r,i=n(161),o=n(222),d=RegExp.prototype.exec,s=String.prototype.replace,u=d,c=(a=/a/,r=/b*/g,d.call(a,"a"),d.call(r,"a"),0!==a.lastIndex||0!==r.lastIndex),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,g=void 0!==/()??/.exec("")[1];(c||g||l)&&(u=function(e){var t,n,a,r,o=this,u=l&&o.sticky,p=i.call(o),h=o.source,f=0,R=e;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),R=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(h="(?: "+h+")",R=" "+R,f++),n=new RegExp("^(?:"+h+")",p)),g&&(n=new RegExp("^"+h+"$(?!\\s)",p)),c&&(t=o.lastIndex),a=d.call(u?n:o,R),u?a?(a.input=a.input.slice(f),a[0]=a[0].slice(f),a.index=o.lastIndex,o.lastIndex+=a[0].length):o.lastIndex=0:c&&a&&(o.lastIndex=o.global?a.index+a[0].length:t),g&&a&&a.length>1&&s.call(a[0],n,(function(){for(r=1;r")})),c="$0"==="a".replace(/./,"$0"),l=i("replace"),g=!!/./[l]&&""===/./[l]("a","$0"),p=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,l){var h=i(e),f=!r((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),R=f&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!f||!R||"replace"===e&&(!u||!c||g)||"split"===e&&!p){var m=/./[h],v=n(h,""[e],(function(e,t,n,a,r){return t.exec===o?f&&!r?{done:!0,value:m.call(t,n,a)}:{done:!0,value:e.call(n,t,a)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),y=v[0],b=v[1];a(String.prototype,e,y),a(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}l&&d(RegExp.prototype[h],"sham",!0)}},function(e,t,n){var a=n(94),r=n(117);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==a(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";var a=n(21),r=n(166);a({target:"String",proto:!0,forced:n(167)("link")},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){var a=n(329),r=n(330),i=n(331),o=n(332),d=n(333);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1)return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_4__.a,null,defaultValueString);if("func"===propName||"function"===propName)return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_3__.a,{size:"small",color:"light",underlined:!0,title:defaultValueString},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_3__.a,{size:"small",color:"light",underlined:!0,title:JSON.stringify(object,null,2)},"Shape")}catch(o){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_3__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_4__.a,null,defaultValueString)}return prop.required?react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_3__.a,{size:"small",color:"light"},"Required"):""}},function(e,t,n){var a=n(878)(n(879));e.exports=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(104);function r(e,t){if(e){if("string"==typeof e)return Object(a.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(a.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n(54),n(3);var a=n(78),r=(n(1),n(69),{xs:0,sm:600,md:960,lg:1280,xl:1920}),i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function o(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||i;return t.reduce((function(e,a,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===Object(a.a)(t)){var o=e.theme.breakpoints||i;return Object.keys(t).reduce((function(e,a){return e[o.up(a)]=n(t[a]),e}),{})}return n(t)}},function(e,t,n){"use strict";t.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(105);function r(e,t){if(e){if("string"==typeof e)return Object(a.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(a.a)(e,t):void 0}}},function(e,t,n){"use strict";function a(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(5),r=n(3),i=n(0),o=(n(1),n(4)),d=n(7),s=n(12),u=n(205),c=n(8),l=i.forwardRef((function(e,t){var n=e.children,d=e.classes,s=e.className,l=e.color,g=void 0===l?"default":l,p=e.component,h=void 0===p?"button":p,f=e.disabled,R=void 0!==f&&f,m=e.disableElevation,v=void 0!==m&&m,y=e.disableFocusRipple,b=void 0!==y&&y,x=e.endIcon,_=e.focusVisibleClassName,w=e.fullWidth,S=void 0!==w&&w,E=e.size,k=void 0===E?"medium":E,C=e.startIcon,A=e.type,O=void 0===A?"button":A,P=e.variant,T=void 0===P?"text":P,D=Object(a.a)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),j=C&&i.createElement("span",{className:Object(o.a)(d.startIcon,d["iconSize".concat(Object(c.a)(k))])},C),I=x&&i.createElement("span",{className:Object(o.a)(d.endIcon,d["iconSize".concat(Object(c.a)(k))])},x);return i.createElement(u.a,Object(r.a)({className:Object(o.a)(d.root,d[T],s,"inherit"===g?d.colorInherit:"default"!==g&&d["".concat(T).concat(Object(c.a)(g))],"medium"!==k&&[d["".concat(T,"Size").concat(Object(c.a)(k))],d["size".concat(Object(c.a)(k))]],v&&d.disableElevation,R&&d.disabled,S&&d.fullWidth),component:h,disabled:R,focusRipple:!b,focusVisibleClassName:Object(o.a)(d.focusVisible,_),ref:t,type:O},D),i.createElement("span",{className:d.label},j,n,I))}));t.a=Object(d.a)((function(e){return{root:Object(r.a)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(s.c)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(s.c)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(s.c)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Object(s.c)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Object(s.c)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Object(s.c)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Object(s.c)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(l)},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(3),r=n(5),i=n(0),o=(n(1),n(4)),d=n(7),s=n(28),u=n(55),c=i.forwardRef((function(e,t){var n=e.children,d=e.classes,c=e.className,l=e.disableTypography,g=void 0!==l&&l,p=e.inset,h=void 0!==p&&p,f=e.primary,R=e.primaryTypographyProps,m=e.secondary,v=e.secondaryTypographyProps,y=Object(r.a)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),b=i.useContext(u.a).dense,x=null!=f?f:n;null==x||x.type===s.a||g||(x=i.createElement(s.a,Object(a.a)({variant:b?"body2":"body1",className:d.primary,component:"span",display:"block"},R),x));var _=m;return null==_||_.type===s.a||g||(_=i.createElement(s.a,Object(a.a)({variant:"body2",className:d.secondary,color:"textSecondary",display:"block"},v),_)),i.createElement("div",Object(a.a)({className:Object(o.a)(d.root,c,b&&d.dense,h&&d.inset,x&&_&&d.multiline),ref:t},y),x,_)}));t.a=Object(d.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(c)},,,function(e,t,n){var a=n(37),r=n(155),i=n(109),o=n(81),d=n(111),s=n(33),u=n(211),c=Object.getOwnPropertyDescriptor;t.f=a?c:function(e,t){if(e=o(e),t=d(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!a.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:a},function(e,t,n){var a=n(25),r=n(75);e.exports=function(e,t){try{r(a,e,t)}catch(n){a[e]=t}return t}},function(e,t,n){var a,r,i,o=n(307),d=n(25),s=n(26),u=n(75),c=n(33),l=n(112),g=n(95),p=d.WeakMap;if(o){var h=new p,f=h.get,R=h.has,m=h.set;a=function(e,t){return m.call(h,e,t),t},r=function(e){return f.call(h,e)||{}},i=function(e){return R.call(h,e)}}else{var v=l("state");g[v]=!0,a=function(e,t){return u(e,v,t),t},r=function(e){return c(e,v)?e[v]:{}},i=function(e){return c(e,v)}}e.exports={set:a,get:r,has:i,enforce:function(e){return i(e)?r(e):a(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var a=n(215),r=n(214);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var a=n(29);e.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var a=n(16);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())}))},function(e,t,n){var a=n(94);e.exports=Array.isArray||function(e){return"Array"==a(e)}},function(e,t,n){var a=n(16),r=n(34),i=n(226),o=r("species");e.exports=function(e){return i>=51||!a((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var a={};a[n(34)("toStringTag")]="z",e.exports="[object z]"===String(a)},function(e,t,n){var a=n(56),r=/"/g;e.exports=function(e,t,n,i){var o=String(a(e)),d="<"+t;return""!==n&&(d+=" "+n+'="'+String(i).replace(r,""")+'"'),d+">"+o+""+t+">"}},function(e,t,n){var a=n(16);e.exports=function(e){return a((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";var a=n(327).charAt;e.exports=function(e,t,n){return t+(n?a(e,t).length:1)}},function(e,t,n){var a=n(122),r=n(334),i=n(335),o=n(336),d=n(337),s=n(338);function u(e){var t=this.__data__=new a(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=d,u.prototype.set=s,e.exports=u},function(e,t,n){var a=n(76)(n(40),"Map");e.exports=a},function(e,t,n){var a=n(85),r=n(50);e.exports=function(e){if(!r(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var a=n(345),r=n(352),i=n(354),o=n(355),d=n(356);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var a=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==a||"symbol"!=a&&n.test(e))&&e>-1&&e%1==0&&e1||"".split(/.?/).length?function(e,n){var a=String(o(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[a];if(!r(e))return t.call(a,e,i);for(var d,s,u,c=[],g=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,f=new RegExp(e.source,g+"g");(d=l.call(f,a))&&!((s=f.lastIndex)>h&&(c.push(a.slice(h,d.index)),d.length>1&&d.index=i));)f.lastIndex===d.index&&f.lastIndex++;return h===a.length?!u&&f.test("")||c.push(""):c.push(a.slice(h)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):a.call(String(r),t,n)},function(e,r){var o=n(a,e,this,r,a!==t);if(o.done)return o.value;var l=i(e),g=String(this),p=d(l,RegExp),R=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(f?"y":"g"),v=new p(f?l:"^(?:"+l.source+")",m),y=void 0===r?4294967295:r>>>0;if(0===y)return[];if(0===g.length)return null===c(v,g)?[g]:[];for(var b=0,x=0,_=[];xe)return!1;if((n+=t[a+1])>=e)return!0}}function h(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&p(e,l)))}function f(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,l)||p(e,g)))))}var R=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function m(e,t){return new R(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},y={startsExpr:!0},b={};function x(e,t){return void 0===t&&(t={}),t.keyword=e,b[e]=new R(e,t)}var _={num:new R("num",y),regexp:new R("regexp",y),string:new R("string",y),name:new R("name",y),eof:new R("eof"),bracketL:new R("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new R("]"),braceL:new R("{",{beforeExpr:!0,startsExpr:!0}),braceR:new R("}"),parenL:new R("(",{beforeExpr:!0,startsExpr:!0}),parenR:new R(")"),comma:new R(",",v),semi:new R(";",v),colon:new R(":",v),dot:new R("."),question:new R("?",v),arrow:new R("=>",v),template:new R("template"),invalidTemplate:new R("invalidTemplate"),ellipsis:new R("...",v),backQuote:new R("`",y),dollarBraceL:new R("${",{beforeExpr:!0,startsExpr:!0}),eq:new R("=",{beforeExpr:!0,isAssign:!0}),assign:new R("_=",{beforeExpr:!0,isAssign:!0}),incDec:new R("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new R("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m(">/<=/>=",7),bitShift:m("<>>/>>>",8),plusMin:new R("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new R("**",{beforeExpr:!0}),coalesce:m("??",1),_break:x("break"),_case:x("case",v),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",v),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",v),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",y),_if:x("if"),_return:x("return",v),_switch:x("switch"),_throw:x("throw",v),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",y),_super:x("super",y),_class:x("class",y),_extends:x("extends",v),_export:x("export"),_import:x("import",y),_null:x("null",y),_true:x("true",y),_false:x("false",y),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(w.source,"g");function E(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var k=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,O=A.hasOwnProperty,P=A.toString;function T(e,t){return O.call(e,t)}var D=Array.isArray||function(e){return"[object Array]"===P.call(e)};function j(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var I=function(e,t){this.line=e,this.column=t};I.prototype.offset=function(e){return new I(this.line,this.column+e)};var N=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function L(e,t){for(var n=1,a=0;;){S.lastIndex=a;var r=S.exec(e);if(!(r&&r.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),D(t.onToken)){var a=t.onToken;t.onToken=function(e){return a.push(e)}}return D(t.onComment)&&(t.onComment=function(e,t){return function(n,a,r,i,o,d){var s={type:n?"Block":"Line",value:a,start:r,end:i};e.locations&&(s.loc=new N(this,o,d)),e.ranges&&(s.range=[r,i]),t.push(s)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=j(i[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var r="";if(!0!==e.allowReserved){for(var o=e.ecmaVersion;!(r=a[o]);o--);"module"===e.sourceType&&(r+=" await")}this.reservedWords=j(r);var d=(r?r+" ":"")+a.strict;this.reservedWordsStrict=j(d),this.reservedWordsStrictBind=j(d+" "+a.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},V={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};F.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},V.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},V.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},V.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},V.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},V.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},V.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},F.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},F.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,a=0;a=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(a+1))}e+=t[0].length,C.lastIndex=e,e+=C.exec(this.input)[0].length,";"===this.input[e]&&e++}},z.eat=function(e){return this.type===e&&(this.next(),!0)},z.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},z.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},z.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},z.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},z.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},z.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},z.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},z.expect=function(e){this.eat(e)||this.unexpected()},z.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},z.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},z.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,a=e.doubleProto;if(!t)return n>=0||a>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),a>=0&&this.raiseRecoverable(a,"Redefinition of __proto__ property")},z.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case _._class:return e&&this.unexpected(),this.parseClass(i,!0);case _._if:return this.parseIfStatement(i);case _._return:return this.parseReturnStatement(i);case _._switch:return this.parseSwitchStatement(i);case _._throw:return this.parseThrowStatement(i);case _._try:return this.parseTryStatement(i);case _._const:case _._var:return a=a||this.value,e&&"var"!==a&&this.unexpected(),this.parseVarStatement(i,a);case _._while:return this.parseWhileStatement(i);case _._with:return this.parseWithStatement(i);case _.braceL:return this.parseBlock(!0,i);case _.semi:return this.parseEmptyStatement(i);case _._export:case _._import:if(this.options.ecmaVersion>10&&r===_._import){C.lastIndex=this.pos;var o=C.exec(this.input),d=this.pos+o[0].length,s=this.input.charCodeAt(d);if(40===s||46===s)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===_._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var u=this.value,c=this.parseExpression();return r===_.name&&"Identifier"===c.type&&this.eat(_.colon)?this.parseLabeledStatement(i,u,c,e):this.parseExpressionStatement(i,c)}},H.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var a=0;a=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},H.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(q),this.enterScope(0),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var a=this.startNode(),r=n?"let":this.value;return this.next(),this.parseVar(a,!0,r),this.finishNode(a,"VariableDeclaration"),(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===a.declarations.length?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,a)):(t>-1&&this.unexpected(t),this.parseFor(e,a))}var i=new W,o=this.parseExpression(!0,i);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,i),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(i,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},H.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,$|(n?0:X),!1,t)},H.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(_._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},H.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},H.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterScope(0);for(var n=!1;this.type!==_.braceR;)if(this.type===_._case||this.type===_._default){var a=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),a?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},H.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];H.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();if(this.next(),this.eat(_.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLVal(t.param,n?4:2),this.expect(_.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},H.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},H.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},H.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},H.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},H.parseLabeledStatement=function(e,t,n,a){for(var r=0,i=this.labels;r=0;d--){var s=this.labels[d];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(a?-1===a.indexOf("label")?a+"label":a:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},H.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},H.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(_.braceL),e&&this.enterScope(0);this.type!==_.braceR;){var a=this.parseStatement(null);t.body.push(a)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},H.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},H.parseForIn=function(e,t){var n=this.type===_._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},H.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var a=this.startNode();if(this.parseVarId(a,n),this.eat(_.eq)?a.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===a.id.type||t&&(this.type===_._in||this.isContextual("of"))?a.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(_.comma))break}return e},H.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var $=1,X=2;H.parseFunction=function(e,t,n,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!a)&&(this.type===_.star&&t&X&&this.unexpected(),e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!a),t&$&&(e.id=4&t&&this.type!==_.name?null:this.parseIdent(),!e.id||t&X||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(B(e.async,e.generator)),t&$||(e.id=this.type===_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,t&$?"FunctionDeclaration":"FunctionExpression")},H.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},H.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var a=this.startNode(),r=!1;for(a.body=[],this.expect(_.braceL);this.type!==_.braceR;){var i=this.parseClassElement(null!==e.superClass);i&&(a.body.push(i),"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0))}return this.strict=n,this.next(),e.body=this.finishNode(a,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},H.parseClassElement=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),a=function(e,a){void 0===a&&(a=!1);var r=t.start,i=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||a&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(r,i),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=a("static");var r=this.eat(_.star),i=!1;r||(this.options.ecmaVersion>=8&&a("async",!0)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(_.star)):a("get")?n.kind="get":a("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key,d=!1;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),r&&this.raise(o.start,"Constructor can't be a generator"),i&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor",d=e),this.parseClassMethod(n,r,i,d),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},H.parseClassMethod=function(e,t,n,a){return e.value=this.parseMethod(t,n,a),this.finishNode(e,"MethodDefinition")},H.parseClassId=function(e,t){this.type===_.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},H.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},H.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var a=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(a,4|$,!1,n)}else if(this.type===_._class){var r=this.startNode();e.declaration=this.parseClass(r,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,o=e.specifiers;i=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var a=0,r=e.properties;a=6)switch(this.type){case _.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(_.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case _.braceL:return this.parseObj(!0)}return this.parseIdent()},Q.parseBindingList=function(e,t,n){for(var a=[],r=!0;!this.eat(e);)if(r?r=!1:this.expect(_.comma),t&&this.type===_.comma)a.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===_.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),a.push(i),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),a.push(o)}return a},Q.parseBindingListItem=function(e){return e},Q.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(_.eq))return n;var a=this.startNodeAt(e,t);return a.left=n,a.right=this.parseMaybeAssign(),this.finishNode(a,"AssignmentPattern")},Q.checkLVal=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"Identifier":2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(T(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),0!==t&&5!==t&&this.declareName(e.name,t,e.start);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var a=0,r=e.properties;a=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var a,r=e.key;switch(r.type){case"Identifier":a=r.name;break;case"Literal":a=String(r.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===a&&"init"===i&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[a="$"+a];o?("init"===i?this.strict&&o.init||o.get||o.set:o.init||o[i])&&this.raiseRecoverable(r.start,"Redefinition of property"):o=t[a]={init:!1,get:!1,set:!1},o[i]=!0}}},Y.parseExpression=function(e,t){var n=this.start,a=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===_.comma){var i=this.startNodeAt(n,a);for(i.expressions=[r];this.eat(_.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return r},Y.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var a=!1,r=-1,i=-1;t?(r=t.parenthesizedAssign,i=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new W,a=!0);var o=this.start,d=this.startLoc;this.type!==_.parenL&&this.type!==_.name||(this.potentialArrowAt=this.start);var s=this.parseMaybeConditional(e,t);if(n&&(s=n.call(this,s,o,d)),this.type.isAssign){var u=this.startNodeAt(o,d);return u.operator=this.value,u.left=this.type===_.eq?this.toAssignable(s,!1,t):s,a||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=u.left.start&&(t.shorthandAssign=-1),this.checkLVal(s),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return a&&this.checkExpressionErrors(t,!0),r>-1&&(t.parenthesizedAssign=r),i>-1&&(t.trailingComma=i),s},Y.parseMaybeConditional=function(e,t){var n=this.start,a=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(_.question)){var i=this.startNodeAt(n,a);return i.test=r,i.consequent=this.parseMaybeAssign(),this.expect(_.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return r},Y.parseExprOps=function(e,t){var n=this.start,a=this.startLoc,r=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||r.start===n&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,n,a,-1,e)},Y.parseExprOp=function(e,t,n,a,r){var i=this.type.binop;if(null!=i&&(!r||this.type!==_._in)&&i>a){var o=this.type===_.logicalOR||this.type===_.logicalAND,d=this.type===_.coalesce;d&&(i=_.logicalAND.binop);var s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,i,r),g=this.buildBinary(t,n,e,l,s,o||d);return(o&&this.type===_.coalesce||d&&(this.type===_.logicalOR||this.type===_.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(g,t,n,a,r)}return e},Y.buildBinary=function(e,t,n,a,r,i){var o=this.startNodeAt(e,t);return o.left=n,o.operator=r,o.right=a,this.finishNode(o,i?"LogicalExpression":"BinaryExpression")},Y.parseMaybeUnary=function(e,t){var n,a=this.start,r=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var i=this.startNode(),o=this.type===_.incDec;i.operator=this.value,i.prefix=!0,this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(i.argument):this.strict&&"delete"===i.operator&&"Identifier"===i.argument.type?this.raiseRecoverable(i.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(i,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var d=this.startNodeAt(a,r);d.operator=this.value,d.prefix=!1,d.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(d,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(a,r,n,this.parseMaybeUnary(null,!1),"**",!1):n},Y.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,a=this.parseExprAtom(e);if("ArrowFunctionExpression"===a.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return a;var r=this.parseSubscripts(a,t,n);return e&&"MemberExpression"===r.type&&(e.parenthesizedAssign>=r.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=r.start&&(e.parenthesizedBind=-1)),r},Y.parseSubscripts=function(e,t,n,a){for(var r=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start;;){var i=this.parseSubscript(e,t,n,a,r);if(i===e||"ArrowFunctionExpression"===i.type)return i;e=i}},Y.parseSubscript=function(e,t,n,a,r){var i=this.eat(_.bracketL);if(i||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=i?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),o.computed=!!i,i&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!a&&this.eat(_.parenL)){var d=new W,s=this.yieldPos,u=this.awaitPos,c=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var l=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,d);if(r&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=s,this.awaitPos=u,this.awaitIdentPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(d,!0),this.yieldPos=s||this.yieldPos,this.awaitPos=u||this.awaitPos,this.awaitIdentPos=c||this.awaitIdentPos;var g=this.startNodeAt(t,n);g.callee=e,g.arguments=l,e=this.finishNode(g,"CallExpression")}else if(this.type===_.backQuote){var p=this.startNodeAt(t,n);p.tag=e,p.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(p,"TaggedTemplateExpression")}return e},Y.parseExprAtom=function(e){this.type===_.slash&&this.readRegexp();var t,n=this.potentialArrowAt===this.start;switch(this.type){case _._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type!==_.parenL||this.allowDirectSuper||this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var a=this.start,r=this.startLoc,i=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!i&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(a,r),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(a,r),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!i)return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,r),[o],!0)}return o;case _.regexp:var d=this.value;return(t=this.parseLiteral(d.value)).regex={pattern:d.pattern,flags:d.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var s=this.start,u=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=s),e.parenthesizedBind<0&&(e.parenthesizedBind=s)),u;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Y.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Y.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(_.parenR)){var t=this.start;this.eat(_.comma)&&this.eat(_.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Y.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Y.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1)),this.next(),this.finishNode(t,"Literal")},Y.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},Y.parseParenAndDistinguishExpression=function(e){var t,n=this.start,a=this.startLoc,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var i,o=this.start,d=this.startLoc,s=[],u=!0,c=!1,l=new W,g=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(u?u=!1:this.expect(_.comma),r&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){i=this.start,s.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}s.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var h=this.start,f=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=g,this.awaitPos=p,this.parseParenArrowList(n,a,s);s.length&&!c||this.unexpected(this.lastTokStart),i&&this.unexpected(i),this.checkExpressionErrors(l,!0),this.yieldPos=g||this.yieldPos,this.awaitPos=p||this.awaitPos,s.length>1?((t=this.startNodeAt(o,d)).expressions=s,this.finishNodeAt(t,"SequenceExpression",h,f)):t=s[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var R=this.startNodeAt(n,a);return R.expression=t,this.finishNode(R,"ParenthesizedExpression")}return t},Y.parseParenItem=function(e){return e},Y.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var J=[];Y.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var a=this.start,r=this.startLoc,i=this.type===_._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),a,r,!0),i&&"ImportExpression"===e.callee.type&&this.raise(a,"Cannot use new with import()"),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=J,this.finishNode(e,"NewExpression")},Y.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},Y.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var a=this.parseTemplateElement({isTagged:t});for(n.quasis=[a];!a.tail;)this.type===_.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(a=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Y.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Y.parseObj=function(e,t){var n=this.startNode(),a=!0,r={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(a)a=!1;else if(this.expect(_.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,r,t),n.properties.push(i)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Y.parseProperty=function(e,t){var n,a,r,i,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(r=this.start,i=this.startLoc),e||(n=this.eat(_.star)));var d=this.containsEsc;return this.parsePropertyName(o),!e&&!d&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):a=!1,this.parsePropertyValue(o,e,n,a,r,i,t,d),this.finishNode(o,"Property")},Y.parsePropertyValue=function(e,t,n,a,r,i,o,d){if((n||a)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,a);else if(t||d||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===_.comma||this.type===_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||a)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=r),e.kind="init",t?e.value=this.parseMaybeDefault(r,i,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,i,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||a)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var s="get"===e.kind?0:1;if(e.value.params.length!==s){var u=e.value.start;"get"===e.kind?this.raiseRecoverable(u,"getter should have no params"):this.raiseRecoverable(u,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Y.parseMethod=function(e,t,n){var a=this.startNode(),r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(a),this.options.ecmaVersion>=6&&(a.generator=e),this.options.ecmaVersion>=8&&(a.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|B(t,a.generator)|(n?128:0)),this.expect(_.parenL),a.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(a,!1,!0),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(a,"FunctionExpression")},Y.parseArrowExpression=function(e,t,n){var a=this.yieldPos,r=this.awaitPos,i=this.awaitIdentPos;return this.enterScope(16|B(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=a,this.awaitPos=r,this.awaitIdentPos=i,this.finishNode(e,"ArrowFunctionExpression")},Y.parseFunctionBody=function(e,t,n){var a=t&&this.type!==_.braceL,r=this.strict,i=!1;if(a)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!o||(i=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var d=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,5),e.body=this.parseBlock(!1,void 0,i&&!r),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=d}this.exitScope()},Y.isSimpleParamList=function(e){for(var t=0,n=e;t-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1,r.lexical.push(e),this.inModule&&1&r.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var i=this.currentScope();a=this.treatFunctionsAsVar?i.lexical.indexOf(e)>-1:i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var d=this.scopeStack[o];if(d.lexical.indexOf(e)>-1&&!(32&d.flags&&d.lexical[0]===e)||!this.treatFunctionsAsVarInScope(d)&&d.functions.indexOf(e)>-1){a=!0;break}if(d.var.push(e),this.inModule&&1&d.flags&&delete this.undefinedExports[e],3&d.flags)break}a&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var ne=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new N(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ae=F.prototype;function re(e,t,n,a){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=a),this.options.ranges&&(e.range[1]=n),e}ae.startNode=function(){return new ne(this,this.start,this.startLoc)},ae.startNodeAt=function(e,t){return new ne(this,e,t)},ae.finishNode=function(e,t){return re.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ae.finishNodeAt=function(e,t,n,a){return re.call(this,e,t,n,a)};var ie=function(e,t,n,a,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=a,this.generator=!!r},oe={b_stat:new ie("{",!1),b_expr:new ie("{",!0),b_tmpl:new ie("${",!1),p_stat:new ie("(",!1),p_expr:new ie("(",!0),q_tmpl:new ie("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ie("function",!1),f_expr:new ie("function",!0),f_expr_gen:new ie("function",!0,!1,null,!0),f_gen:new ie("function",!1,!1,null,!0)},de=F.prototype;de.initialContext=function(){return[oe.b_stat]},de.braceIsBlock=function(e){var t=this.curContext();return t===oe.f_expr||t===oe.f_stat||(e!==_.colon||t!==oe.b_stat&&t!==oe.b_expr?e===_._return||e===_.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow||(e===_.braceL?t===oe.b_stat:e!==_._var&&e!==_._const&&e!==_.name&&!this.exprAllowed):!t.isExpr)},de.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},de.updateContext=function(e){var t,n=this.type;n.keyword&&e===_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===oe.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?oe.b_stat:oe.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(oe.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?oe.p_stat:oe.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){!e.beforeExpr||e===_.semi||e===_._else||e===_._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===_.colon||e===_.braceL)&&this.curContext()===oe.b_stat?this.context.push(oe.f_stat):this.context.push(oe.f_expr),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===oe.q_tmpl?this.context.pop():this.context.push(oe.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;this.context[t]===oe.f_expr?this.context[t]=oe.f_expr_gen:this.context[t]=oe.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==_.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var se="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ue={9:se,10:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},ce="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",le="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ge={9:le,10:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},pe={};function he(e){var t=pe[e]={binary:j(ue[e]+" "+ce),nonBinary:{General_Category:j(ce),Script:j(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}he(9),he(10),he(11);var fe=F.prototype,Re=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=pe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function me(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ve(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ye(e){return e>=65&&e<=90||e>=97&&e<=122}function be(e){return ye(e)||95===e}function xe(e){return be(e)||_e(e)}function _e(e){return e>=48&&e<=57}function we(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Se(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ee(e){return e>=48&&e<=55}Re.prototype.reset=function(e,t,n){var a=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchN=a&&this.parser.options.ecmaVersion>=9},Re.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Re.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,a=n.length;if(e>=a)return-1;var r=n.charCodeAt(e);if(!t&&!this.switchU||r<=55295||r>=57344||e+1>=a)return r;var i=n.charCodeAt(e+1);return i>=56320&&i<=57343?(r<<10)+i-56613888:r},Re.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,a=n.length;if(e>=a)return a;var r,i=n.charCodeAt(e);return!t&&!this.switchU||i<=55295||i>=57344||e+1>=a||(r=n.charCodeAt(e+1))<56320||r>57343?e+1:e+2},Re.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},Re.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Re.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Re.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},fe.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,a=0;a-1&&this.raise(e.start,"Duplicate regular expression flag")}},fe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},fe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},fe.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},fe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},fe.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var a=0,r=-1;if(this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue),e.eat(125)))return-1!==r&&r=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},fe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},fe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},fe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ve(t)&&(e.lastIntValue=t,e.advance(),!0)},fe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!ve(n);)e.advance();return e.pos!==t},fe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},fe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},fe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},fe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=me(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=me(e.lastIntValue);return!0}return!1},fe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,a=e.current(n);return e.advance(n),92===a&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(a=e.lastIntValue),function(e){return h(e,!0)||36===e||95===e}(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)},fe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,a=e.current(n);return e.advance(n),92===a&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(a=e.lastIntValue),function(e){return f(e,!0)||36===e||95===e||8204===e||8205===e}(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)},fe.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},fe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},fe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},fe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},fe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},fe.regexp_eatZero=function(e){return 48===e.current()&&!_e(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},fe.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},fe.regexp_eatControlLetter=function(e){var t=e.current();return!!ye(t)&&(e.lastIntValue=t%32,e.advance(),!0)},fe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n=e.pos,a=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(a&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=1024*(r-55296)+(o-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(a&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&function(e){return e>=0&&e<=1114111}(e.lastIntValue))return!0;a&&e.raise("Invalid unicode escape"),e.pos=n}return!1},fe.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},fe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},fe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},fe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,a),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,r),!0}return!1},fe.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){T(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},fe.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},fe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";be(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},fe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xe(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},fe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},fe.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},fe.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},fe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Ee(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var a=e.current();return 93!==a&&(e.lastIntValue=a,e.advance(),!0)},fe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},fe.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!_e(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},fe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},fe.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;_e(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},fe.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;we(n=e.current());)e.lastIntValue=16*e.lastIntValue+Se(n),e.advance();return e.pos!==t},fe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},fe.regexp_eatOctalDigit=function(e){var t=e.current();return Ee(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},fe.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var a=0;a>10),56320+(1023&e)))}Ce.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ke(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ce.getToken=function(){return this.next(),new ke(this)},"undefined"!=typeof Symbol&&(Ce[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),Ce.curContext=function(){return this.context[this.context.length-1]},Ce.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ce.readToken=function(e){return h(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ce.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ce.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,a=this.input.indexOf("*/",this.pos+=2);if(-1===a&&this.raise(this.pos-2,"Unterminated comment"),this.pos=a+2,this.options.locations)for(S.lastIndex=n;(e=S.exec(this.input))&&e.index8&&e<14||e>=5760&&k.test(String.fromCharCode(e))))break e;++this.pos}}},Ce.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Ce.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},Ce.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},Ce.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,a=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,a=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(a,n)},Ce.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},Ce.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},Ce.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},Ce.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ce.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},Ce.readToken_question=function(){return this.options.ecmaVersion>=11&&63===this.input.charCodeAt(this.pos+1)?this.finishOp(_.coalesce,2):this.finishOp(_.question,1)},Ce.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ae(e)+"'")},Ce.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Ce.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var a=this.input.charAt(this.pos);if(w.test(a)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===a)t=!0;else if("]"===a&&t)t=!1;else if("/"===a&&!t)break;e="\\"===a}++this.pos}var r=this.input.slice(n,this.pos);++this.pos;var i=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(i);var d=this.regexpState||(this.regexpState=new Re(this));d.reset(n,r,o),this.validateRegExpFlags(d),this.validateRegExpPattern(d);var s=null;try{s=new RegExp(r,o)}catch(e){}return this.finishToken(_.regexp,{pattern:r,flags:o,value:s})},Ce.readInt=function(e,t){for(var n=this.pos,a=0,r=0,i=null==t?1/0:t;r=97?d-97+10:d>=65?d-65+10:d>=48&&d<=57?d-48:1/0)>=e)break;++this.pos,a=a*e+o}return this.pos===n||null!=t&&this.pos-n!==t?null:a},Ce.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n="undefined"!=typeof BigInt?BigInt(this.input.slice(t,this.pos)):null,++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,n)},Ce.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var a=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===a){var r=this.input.slice(t,this.pos),i="undefined"!=typeof BigInt?BigInt(r):null;return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==a||n||(++this.pos,this.readInt(10),a=this.input.charCodeAt(this.pos)),69!==a&&101!==a||n||(43!==(a=this.input.charCodeAt(++this.pos))&&45!==a||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=this.input.slice(t,this.pos),d=n?parseInt(o,8):parseFloat(o);return this.finishToken(_.num,d)},Ce.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ce.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===e)break;92===a?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(E(a,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var Oe={};Ce.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Oe)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ce.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Oe;this.raise(e,t)},Ce.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ce.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var a=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(a,8);return r>255&&(a=a.slice(0,-1),r=parseInt(a,8)),this.pos+=a.length-1,t=this.input.charCodeAt(this.pos),"0"===a&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-a.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return E(t)?"":String.fromCharCode(t)}},Ce.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Ce.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,a=this.options.ecmaVersion>=6;this.pos=0;g--){var p=r[g];"."===p?s(r,g):".."===p?(s(r,g),l++):l&&(s(r,g),l--)}if(!u)for(;l--;l)r.unshift("..");!u||""===r[0]||r[0]&&d(r[0])||r.unshift("");var h=r.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}(r.pathname,a.pathname)):r.pathname=a.pathname:r.pathname||(r.pathname="/"),r}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,a,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof a?a(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function a(){n&&e.apply(void 0,arguments)}return t.push(a),function(){n=!1,t=t.filter((function(e){return e!==a}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),a=0;at?n.splice(t,n.length-t,a):n.push(a),l({action:"PUSH",location:a,index:t,entries:n})}}))},replace:function(e,t){var a=R(e,t,g(),b.location);c.confirmTransitionTo(a,"REPLACE",n,(function(e){e&&(b.entries[b.index]=a,l({action:"REPLACE",location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&tt.length)return;if(!(S instanceof r)){var E=1;if(v&&_!=n.tail.prev){if(f.lastIndex=w,!(P=f.exec(t)))break;var k=P.index+(m&&P[1]?P[1].length:0),C=P.index+P[0].length,A=w;for(A+=_.value.length;k>=A;)A+=(_=_.next).value.length;if(w=A-=_.value.length,_.value instanceof r)continue;for(var O=_;O!==n.tail&&(A1&&e(t,n,i,_.prev,w,!0,g+","+h),c)break}else if(c)break}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:r};function r(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function o(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}function d(e,t,n){for(var a=t.next,r=0;r"+i.content+""+i.tag+">"},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()}),!1),a):a;var s=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(s&&(a.filename=s.src,s.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var c=document.readyState;"loading"===c||"interactive"===c&&s&&s.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),void 0!==t&&(t.Prism=n),n.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:(?!)*\]\s*)?>/i,greedy:!0},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var a={};a["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[t]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},n.languages.insertBefore("markup","cdata",i)}}),n.languages.xml=n.languages.extend("markup",{}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"}}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?[.?]?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*[\s\S]*?\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&n.languages.markup.tag.addInlined("script","javascript"),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(e){e=e||document;var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(e.querySelectorAll("pre[data-src]")).forEach((function(e){if(!e.hasAttribute("data-src-loaded")){for(var a,r=e.getAttribute("data-src"),i=e,o=/\blang(?:uage)?-([\w-]+)\b/i;i&&!o.test(i.className);)i=i.parentNode;if(i&&(a=(e.className.match(o)||[,""])[1]),!a){var d=(r.match(/\.(\w+)$/)||[,""])[1];a=t[d]||d}var s=document.createElement("code");s.className="language-"+a,e.textContent="",s.textContent="Loading\u2026",e.appendChild(s);var u=new XMLHttpRequest;u.open("GET",r,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(s.textContent=u.responseText,n.highlightElement(s),e.setAttribute("data-src-loaded","")):u.status>=400?s.textContent="\u2716 Error "+u.status+" while fetching file: "+u.statusText:s.textContent="\u2716 Error: File does not exist or is empty")},u.send(null)}}))},document.addEventListener("DOMContentLoaded",(function(){self.Prism.fileHighlight()})))}).call(this,n(47))},function(e,t,n){!function(e,t,n,a){"use strict";var r="default"in t?t.default:t;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return Object(r.a)(e,Object(a.a)({defaultTheme:i.a},t))}},function(e,t,n){"use strict";var a=n(3),r=n(5),i=n(0),o=n.n(i),d=(n(1),n(13)),s=n(4),u=n(9),c=n(41),l=n(7),g=n(87),p=n(54),h=n(18),f=n(32),R=n(15),m=n(93);function v(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(i.isValidElement)(e)?t(e):e}(e)})),n}function y(e,t,n){return null!=n[t]?n[t]:e.props[t]}function b(e,t,n){var a=v(e.children),r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a,r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var d={};for(var s in t){if(r[s])for(a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=t.pulsate,r=void 0!==a&&a,i=t.center,d=void 0===i?o||t.pulsate:i,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&m.current)m.current=!1;else{"touchstart"===e.type&&(m.current=!0);var c,l,g,p=u?null:b.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(d||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),l=Math.round(h.height/2);else{var f=e.touches?e.touches[0]:e,R=f.clientX,_=f.clientY;c=Math.round(R-h.left),l=Math.round(_-h.top)}if(d)(g=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2==0&&(g+=1);else{var w=2*Math.max(Math.abs((p?p.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((p?p.clientHeight:0)-l),l)+2;g=Math.sqrt(Math.pow(w,2)+Math.pow(S,2))}e.touches?null===y.current&&(y.current=function(){x({pulsate:r,rippleX:c,rippleY:l,rippleSize:g,cb:n})},v.current=setTimeout((function(){y.current&&(y.current(),y.current=null)}),80)):x({pulsate:r,rippleX:c,rippleY:l,rippleSize:g,cb:n})}}),[o,x]),S=i.useCallback((function(){_({},{pulsate:!0})}),[_]),k=i.useCallback((function(e,t){if(clearTimeout(v.current),"touchend"===e.type&&y.current)return e.persist(),y.current(),y.current=null,void(v.current=setTimeout((function(){k(e,t)})));y.current=null,h((function(e){return e.length>0?e.slice(1):e})),R.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:S,start:_,stop:k}}),[S,_,k]),i.createElement("span",Object(a.a)({className:Object(s.a)(d.root,u),ref:b},c),i.createElement(w,{component:null,exit:!0},g))})),C=Object(l.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(i.memo(k)),A=i.forwardRef((function(e,t){var n=e.action,o=e.buttonRef,l=e.centerRipple,p=void 0!==l&&l,h=e.children,f=e.classes,R=e.className,m=e.component,v=void 0===m?"button":m,y=e.disabled,b=void 0!==y&&y,x=e.disableRipple,_=void 0!==x&&x,w=e.disableTouchRipple,S=void 0!==w&&w,E=e.focusRipple,k=void 0!==E&&E,A=e.focusVisibleClassName,O=e.onBlur,P=e.onClick,T=e.onFocus,D=e.onFocusVisible,j=e.onKeyDown,I=e.onKeyUp,N=e.onMouseDown,L=e.onMouseLeave,M=e.onMouseUp,B=e.onTouchEnd,F=e.onTouchMove,V=e.onTouchStart,z=e.onDragLeave,U=e.tabIndex,W=void 0===U?0:U,H=e.TouchRippleProps,q=e.type,G=void 0===q?"button":q,K=Object(r.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),$=i.useRef(null),X=i.useRef(null),Q=i.useState(!1),Y=Q[0],J=Q[1];b&&Y&&J(!1);var Z=Object(g.a)(),ee=Z.isFocusVisible,te=Z.onBlurVisible,ne=Z.ref;function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;return Object(c.a)((function(a){return t&&t(a),!n&&X.current&&X.current[e](a),!0}))}i.useImperativeHandle(n,(function(){return{focusVisible:function(){J(!0),$.current.focus()}}}),[]),i.useEffect((function(){Y&&k&&!_&&X.current.pulsate()}),[_,k,Y]);var re=ae("start",N),ie=ae("stop",z),oe=ae("stop",M),de=ae("stop",(function(e){Y&&e.preventDefault(),L&&L(e)})),se=ae("start",V),ue=ae("stop",B),ce=ae("stop",F),le=ae("stop",(function(e){Y&&(te(e),J(!1)),O&&O(e)}),!1),ge=Object(c.a)((function(e){$.current||($.current=e.currentTarget),ee(e)&&(J(!0),D&&D(e)),T&&T(e)})),pe=function(){var e=d.findDOMNode($.current);return v&&"button"!==v&&!("A"===e.tagName&&e.href)},he=i.useRef(!1),fe=Object(c.a)((function(e){k&&!he.current&&Y&&X.current&&" "===e.key&&(he.current=!0,e.persist(),X.current.stop(e,(function(){X.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),j&&j(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!b&&(e.preventDefault(),P&&P(e))})),Re=Object(c.a)((function(e){k&&" "===e.key&&X.current&&Y&&!e.defaultPrevented&&(he.current=!1,e.persist(),X.current.stop(e,(function(){X.current.pulsate(e)}))),I&&I(e),P&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&P(e)})),me=v;"button"===me&&K.href&&(me="a");var ve={};"button"===me?(ve.type=G,ve.disabled=b):("a"===me&&K.href||(ve.role="button"),ve["aria-disabled"]=b);var ye=Object(u.a)(o,t),be=Object(u.a)(ne,$),xe=Object(u.a)(ye,be),_e=i.useState(!1),we=_e[0],Se=_e[1];i.useEffect((function(){Se(!0)}),[]);var Ee=we&&!_&&!b;return i.createElement(me,Object(a.a)({className:Object(s.a)(f.root,R,Y&&[f.focusVisible,A],b&&f.disabled),onBlur:le,onClick:P,onFocus:ge,onKeyDown:fe,onKeyUp:Re,onMouseDown:re,onMouseLeave:de,onMouseUp:oe,onDragLeave:ie,onTouchEnd:ue,onTouchMove:ce,onTouchStart:se,ref:xe,tabIndex:b?-1:W},ve,K),h,Ee?i.createElement(C,Object(a.a)({ref:X,center:p},H)):null)}));t.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(A)},,,,,,function(e,t,n){var a=n(37),r=n(16),i=n(212);e.exports=!a&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var a=n(25),r=n(26),i=a.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var a=n(214),r=Function.toString;"function"!=typeof a.inspectSource&&(a.inspectSource=function(e){return r.call(e)}),e.exports=a.inspectSource},function(e,t,n){var a=n(25),r=n(156),i=a["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t){e.exports=!1},function(e,t,n){var a=n(33),r=n(308),i=n(154),o=n(38);e.exports=function(e,t){for(var n=r(t),d=o.f,s=i.f,u=0;us;)a(d,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var a=n(81),r=n(84),i=n(309),o=function(e){return function(t,n,o){var d,s=a(t),u=r(s.length),c=i(o,u);if(e&&n!=n){for(;u>c;)if((d=s[c++])!=d)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},function(e,t,n){var a=n(16),r=/#|\.prototype\./,i=function(e,t){var n=d[o(e)];return n==u||n!=s&&("function"==typeof t?a(t):!!t)},o=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},d=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,d,s=o(e),u=1;u=74)&&(a=o.match(/Chrome\/(\d+)/))&&(r=a[1]),e.exports=r&&+r},function(e,t,n){var a=n(16);e.exports=!a((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var a,r=n(29),i=n(322),o=n(159),d=n(95),s=n(323),u=n(212),c=n(112)("IE_PROTO"),l=function(){},g=function(e){return"
-
-
-